@m3ui-vue/m3ui-vue 1.3.6 → 1.3.8
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 +40 -9
- package/dist/api.json +1 -1
- package/dist/components/MBadge.vue.d.ts +1 -1
- package/dist/components/MFlow.vue.d.ts +13 -0
- package/dist/components/MSlider.vue.d.ts +2 -2
- package/dist/components/MSplitter.vue.d.ts +1 -1
- package/dist/components/MTour.vue.d.ts +52 -2
- package/dist/composables/flowPaths.d.ts +11 -3
- package/dist/composables/useFlow.d.ts +4 -0
- package/dist/flow.d.ts +1 -1
- package/dist/flow.js +525 -433
- 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 +1 -1
- package/dist/m3ui-vue.css +1 -1
- package/dist/m3ui.js +1851 -1660
- package/dist/m3ui.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/__tests__/MFloorPlan.test.ts +92 -0
- package/src/__tests__/MFlow.test.ts +69 -0
- package/src/__tests__/MTour.test.ts +102 -0
- package/src/components/MFloorPlan.vue +215 -36
- package/src/components/MFlow.vue +117 -17
- package/src/components/MTour.vue +145 -27
- package/src/composables/flowPaths.ts +16 -7
- package/src/composables/useFlow.ts +4 -0
- package/src/flow.ts +1 -1
- package/dist/flowPaths-DzW-aiET.js.map +0 -1
package/dist/api.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@m3ui-vue/m3ui-vue","version":"1.3.6","entries":["@m3ui-vue/m3ui-vue/chart","@m3ui-vue/m3ui-vue/code-editor","@m3ui-vue/m3ui-vue/markdown","@m3ui-vue/m3ui-vue/rich-text-editor","@m3ui-vue/m3ui-vue/terminal","@m3ui-vue/m3ui-vue/qrcode","@m3ui-vue/m3ui-vue/barcode","@m3ui-vue/m3ui-vue/map","@m3ui-vue/m3ui-vue/media","@m3ui-vue/m3ui-vue/pdf","@m3ui-vue/m3ui-vue/flow","@m3ui-vue/m3ui-vue/gantt","@m3ui-vue/m3ui-vue/draw","@m3ui-vue/m3ui-vue"],"components":[{"name":"MAbsolute","import":"@m3ui-vue/m3ui-vue","description":"Declarative absolute positioning without Tailwind classes. Supports manual offsets, placement shortcuts, and per-axis control. Pair it with `MRelative` as the positioning parent.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px). Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset. Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":null,"description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Placement","source":"export type Placement =\n | 'top-left' | 'top-center' | 'top-right'\n | 'center-left' | 'center' | 'center-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"}]},{"name":"MAlert","import":"@m3ui-vue/m3ui-vue","description":"An inline banner for contextual status messages — info, success, warning, or error.","props":[{"name":"type","type":"\"info\" | \"success\" | \"warning\" | \"error\"","required":false,"default":"\"info\"","description":"Alert variant and color","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Bold title text","model":false},{"name":"closeable","type":"boolean","required":false,"default":"false","description":"Show close button","model":false},{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Aria label for the close button (falls back to the locale string)","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked. The parent owns visibility — pair with v-if/v-else to actually hide the alert."}],"slots":[{"name":"default","bindings":null,"description":"Alert body content"},{"name":"actions","bindings":null,"description":"Optional row of action buttons rendered below the body"}],"exposed":[],"types":[]},{"name":"MAnimatedNumber","import":"@m3ui-vue/m3ui-vue","description":"A number, time or duration whose digits roll to their new value on a spring when it changes, like an odometer: each digit rolls on its own (up when the value grows, down when it shrinks) and digits that appear or go away open and close. Numbers are formatted with `Intl.NumberFormat` (currency, percent, units, compact), times with `Intl.DateTimeFormat`, both in the app's language; durations as `h:mm:ss`. Tabular figures. Assistive technology reads the formatted value, not the rolling digits. Not an M3 spec component.","props":[{"name":"value","type":"number | Date","required":true,"default":null,"description":"The value: a number, a `Date` for times, or seconds for a duration","model":false},{"name":"type","type":"\"number\" | \"datetime\" | \"duration\"","required":false,"default":null,"description":"`number` (Intl.NumberFormat), `datetime` (Intl.DateTimeFormat; a `Date` or a timestamp) or `duration` (seconds as `h:mm:ss`, hours only when there are some). Defaults to `datetime` for a `Date`, `number` otherwise","model":false},{"name":"format","type":"Intl.NumberFormatOptions | Intl.DateTimeFormatOptions","required":false,"default":null,"description":"Intl options for the type: `{ style: 'currency', currency: 'EUR' }`, `{ style: 'percent' }`, `{ style: 'unit', unit: 'kilometer-per-hour' }`, `{ notation: 'compact' }` for numbers; `{ timeStyle: 'medium' }` (the default), `{ hour: '2-digit', minute: '2-digit' }`, `{ dateStyle: 'short' }` for times. Unused for durations. Dollar-sign currencies show their country (`AR$`, `MX$`, `US$`) in any language; set `currencyDisplay` for Intl's own output (`'symbol'` gives the local peso as a plain `$`)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"BCP-47 language for the format (`es-AR` for Argentine pesos and separators); defaults to the app's locale","model":false},{"name":"spring","type":"SpringSpec","required":false,"default":null,"description":"The rolling spring; Standard SlowSpatial by default (an unhurried landing, no visible bounce)","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Roll to new values; false (or the system's reduced motion) jumps to them","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MAppBar","import":"@m3ui-vue/m3ui-vue","description":"A simple, generic slot-based app bar with leading, default, and trailing areas — a lighter-weight alternative to MTopAppBar for when you don't need its variant/title-row layouts.","props":[{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Add shadow elevation","model":false},{"name":"dense","type":"boolean","required":false,"default":null,"description":"Compact height (48px vs 64px)","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false}],"events":[],"slots":[{"name":"leading","bindings":null,"description":"Leading area (e.g. back button, menu icon)"},{"name":"default","bindings":null,"description":"Main content (title text)"},{"name":"trailing","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MAppBarWithSearch","import":"@m3ui-vue/m3ui-vue","description":"A top app bar whose title is a search bar (a port of Compose's `AppBarWithSearch`, and with `transparent` its `TopSearchBar`): a navigation icon, the search bar and actions in one 64px row. The search bar expands like MSearchBar (full screen by default). It can darken as content scrolls under it, and hide while scrolling down.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"Search query (v-model)","model":true},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Whether the search is expanded (v-model:expanded)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Defaults to the locale's \"Search...\"","model":false},{"name":"searchVariant","type":"\"fullscreen\" | \"fullscreen-contained\" | \"docked\"","required":false,"default":"\"fullscreen\"","description":"How the search expands: full screen (default), full screen keeping the pill input, or a docked panel","model":false},{"name":"leadingIcon","type":"string","required":false,"default":"\"search\"","description":"Icon shown in the collapsed search bar","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in the expanded header instead of the clear button","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear (×) button once there is a query","model":false},{"name":"navigationIcon","type":"string","required":false,"default":null,"description":"Leading icon outside the search bar (e.g. menu, arrow_back)","model":false},{"name":"navigationLabel","type":"string","required":false,"default":null,"description":"Accessible label for the navigation icon button; defaults to the locale's \"Menu\"","model":false},{"name":"transparent","type":"boolean","required":false,"default":"false","description":"No app bar container, only the search bar (Compose's TopSearchBar)","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"enter-always\"","required":false,"default":null,"description":"How the bar reacts to `scrollTarget` scrolling: `pinned` stays and changes color once content is under it; `enter-always` also hides while scrolling down and comes back on any scroll up. With `enter-always` the bar is sticky over the content: put it at the top of the scrolling element (or of the page)","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[{"name":"search","args":"string","description":"Emitted when Enter is pressed in the input, with the current query"},{"name":"update:modelValue","args":"string","description":"Emitted on every input change — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the search expands or collapses — powers v-model:expanded"},{"name":"navigation","args":"","description":"Emitted when the default navigation icon button is clicked"}],"slots":[{"name":"navigation","bindings":null,"description":"Custom leading area (default: an MIconButton built from the navigationIcon prop)"},{"name":"leading","bindings":null,"description":"Overrides the search bar's leading icon"},{"name":"trailing","bindings":null,"description":"Trailing content inside the search bar (e.g. an avatar)"},{"name":"default","bindings":null,"description":"Results/suggestions, shown below the input while the search is expanded"},{"name":"actions","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MAppLayout","import":"@m3ui-vue/m3ui-vue","description":"Full app shell — drawer, header, content, footer, and fab slots.","props":[{"name":"height","type":"string","required":false,"default":null,"description":"Container height (CSS value). Use \"100%\" to fit inside a parent instead of the viewport.","model":false},{"name":"drawerRight","type":"boolean","required":false,"default":null,"description":"Place the drawer slot on the right side of the layout","model":false}],"events":[],"slots":[{"name":"drawer","bindings":null,"description":"Side navigation (e.g. MNavigationDrawer). Use drawerRight prop to place it on the right."},{"name":"header","bindings":null,"description":"Top bar (e.g. MTopAppBar)"},{"name":"default","bindings":null,"description":"Main scrollable content"},{"name":"footer","bindings":null,"description":"Bottom bar or status area"},{"name":"fab","bindings":null,"description":"Floating elements (e.g. MFab) rendered outside the scroll area"}],"exposed":[],"types":[]},{"name":"MAspectRatio","import":"@m3ui-vue/m3ui-vue","description":"Maintains a consistent aspect ratio for media or containers.","props":[{"name":"ratio","type":"string | number","required":false,"default":"\"16/9\"","description":"Aspect ratio (e.g. \"16/9\", \"4/3\", 1) — passed straight through to the CSS aspect-ratio property","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, sized to fill the box."}],"exposed":[],"types":[]},{"name":"MAudioPlayer","import":"@m3ui-vue/m3ui-vue/media","description":"An audio player (not an M3 spec component). `mini` is a port of Media3's Compose Material3 `MiniController` (androidx/media `ui_compose_material3`): artwork, title and artist, previous / play-pause / next and a thin progress line, on an elevated card; a click on it emits `click` (open your full player). `standard` is a full player bar: artwork and text, an `MSeekBar`, shuffle / previous / play / next / repeat, and volume. Plays `src`/`sources` in a hidden `<audio>`, or drives a `player` from `useMediaPlayer()` (keep it outside a page to play on while the app navigates, or give it a clock for generated audio). The queue is yours: the buttons emit `previous`/`next`, and stay in place, disabled, without `hasPrevious`/`hasNext` (as Media3's).","props":[{"name":"variant","type":"\"standard\" | \"mini\"","required":false,"default":"\"standard\"","description":"`mini`: Media3's MiniController (a compact card). `standard`: a full player bar","model":false},{"name":"src","type":"string","required":false,"default":null,"description":"Audio URL","model":false},{"name":"sources","type":"VideoSource[]","required":false,"default":null,"description":"Several formats of the audio; the browser plays the first it can","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Track title (also shown on the lock screen)","model":false},{"name":"artist","type":"string","required":false,"default":null,"description":"Artist (also shown on the lock screen)","model":false},{"name":"album","type":"string","required":false,"default":null,"description":"Album, for the lock screen","model":false},{"name":"artwork","type":"string","required":false,"default":null,"description":"Cover image URL","model":false},{"name":"duration","type":"number","required":false,"default":null,"description":"Length in seconds, for a clock without `src` (with a file it comes from the file)","model":false},{"name":"player","type":"MediaPlayer","required":false,"default":null,"description":"Drive this player instead of one of its own (from `useMediaPlayer()`). Read once","model":false},{"name":"playing","type":"boolean","required":false,"default":null,"description":"Playing (v-model)","model":true},{"name":"currentTime","type":"number","required":false,"default":null,"description":"Position in seconds (v-model)","model":true},{"name":"rate","type":"number","required":false,"default":null,"description":"Playback speed (v-model)","model":true},{"name":"volume","type":"number","required":false,"default":null,"description":"Volume, 0 to 1 (v-model)","model":true},{"name":"muted","type":"boolean","required":false,"default":null,"description":"Muted (v-model)","model":true},{"name":"shuffle","type":"boolean","required":false,"default":null,"description":"Shuffle (v-model); unset hides the button","model":true},{"name":"repeat","type":"\"off\" | \"all\" | \"one\"","required":false,"default":null,"description":"Repeat mode (v-model); unset hides the button","model":true},{"name":"autoplay","type":"boolean","required":false,"default":"false","description":"Starts playing when mounted (browsers block it with sound before a user gesture)","model":false},{"name":"hasPrevious","type":"boolean","required":false,"default":"false","description":"There is a previous track: enables the previous button (emits `previous`)","model":false},{"name":"hasNext","type":"boolean","required":false,"default":"false","description":"There is a next track: enables the next button (emits `next`)","model":false},{"name":"speeds","type":"number[]","required":false,"default":null,"description":"Speeds offered in a speed menu (`standard`); unset hides it","model":false},{"name":"seekBar","type":"\"slider\" | \"line\" | \"wavy\"","required":false,"default":"\"slider\"","description":"The seek bar's look (`standard`)","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Played part and play button: an M3 role or any CSS color","model":false}],"events":[{"name":"error","args":"MediaError | null","description":"The audio failed to load or play, with the media element's error"},{"name":"update:playing","args":"boolean","description":""},{"name":"update:currentTime","args":"number","description":""},{"name":"update:rate","args":"number","description":""},{"name":"update:volume","args":"number","description":""},{"name":"update:muted","args":"boolean","description":""},{"name":"update:shuffle","args":"boolean","description":""},{"name":"update:repeat","args":"\"off\" | \"all\" | \"one\"","description":""},{"name":"previous","args":"","description":"The previous button (or the lock screen's) was pressed"},{"name":"next","args":"","description":"The next button (or the lock screen's) was pressed"},{"name":"ended","args":"","description":"The track reached its end"},{"name":"click","args":"MouseEvent","description":"The mini player was clicked (outside its buttons)"}],"slots":[{"name":"artwork","bindings":"{ player: MediaPlayer; }","description":"Replaces the artwork. Props: `{ player }`"},{"name":"actions","bindings":"{ player: MediaPlayer; }","description":"Extra buttons at the end of the controls (a like, a queue button). Props: `{ player }`"}],"exposed":[],"types":[]},{"name":"MAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Like MSelect but with a text input for filtering. Type to search, arrow keys to navigate, Enter to select.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing @debounced. Selection is always instant","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted on selection — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MAvatar","import":"@m3ui-vue/m3ui-vue","description":"A circular initials avatar. There's no image-source prop — it always renders extracted initials or a fallback string, never a photo.","props":[{"name":"name","type":"string","required":false,"default":null,"description":"Full name — initials are extracted automatically (first + last). Takes priority over fallback","model":false},{"name":"fallback","type":"string","required":false,"default":null,"description":"Custom text shown when name is not provided (e.g. 'AJ'). Falls back to '?' if neither is set","model":false},{"name":"size","type":"number","required":false,"default":"40","description":"Avatar size in px — also scales the font size proportionally (40%)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MBadge","import":"@m3ui-vue/m3ui-vue","description":"A small numeric or dot indicator overlaid on another element, such as an icon button or avatar.","props":[{"name":"count","type":"number","required":false,"default":null,"description":"Numeric badge value","model":false},{"name":"dot","type":"boolean","required":false,"default":null,"description":"Show a small dot instead of a number","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"error\"","description":"Badge color","model":false},{"name":"max","type":"number","required":false,"default":"99","description":"Max value before showing \"N+\"","model":false},{"name":"position","type":"BadgePosition","required":false,"default":"\"top-right\"","description":"Corner where the badge is placed","model":false},{"name":"overlap","type":"BadgeOverlap","required":false,"default":"\"edge\"","description":"How much the badge overlaps the content","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The element the badge sits on."}],"exposed":[],"types":[{"name":"BadgePosition","source":"export type BadgePosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'"},{"name":"BadgeOverlap","source":"export type BadgeOverlap = 'inside' | 'outside' | 'edge'"}]},{"name":"MBar","import":"@m3ui-vue/m3ui-vue","description":"A draggable Electron title bar for frameless windows (`frame: false`). Sets `-webkit-app-region: drag` on itself and carves out `no-drag` around the icon, controls, and slot content, so those stay clickable. It can't touch the real OS window — minimize/maximize/close just emit events for your app to forward over IPC.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Window title text","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol name, or an image src (URL, data URI, or a path with a file extension) — detected automatically.","model":false},{"name":"titleAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centered floats over the whole bar so it stays centered regardless of side content width","model":false},{"name":"controls","type":"boolean","required":false,"default":null,"description":"Show the minimize/maximize/close buttons as a group. Defaults to `true`, except on `platform=\"macos\"` where the OS draws native traffic lights instead.","model":false},{"name":"minimizable","type":"boolean","required":false,"default":null,"description":"Individually hide one control while keeping the others — e.g. a fixed-size window with no maximize button.","model":false},{"name":"maximizable","type":"boolean","required":false,"default":null,"description":"Show the maximize/restore button on its own","model":false},{"name":"closable","type":"boolean","required":false,"default":null,"description":"Show the close button on its own","model":false},{"name":"maximized","type":"boolean","required":false,"default":"false","description":"Reflects the real window state — the bar has no way to know it itself, the host app must read it from its Electron main process and pass it down.","model":false},{"name":"platform","type":"\"windows\" | \"macos\"","required":false,"default":"\"windows\"","description":"'macos' reserves space for the native traffic lights and hides the drawn controls by default","model":false},{"name":"height","type":"number","required":false,"default":"36","description":"Bar height in px.","model":false},{"name":"doubleClickMaximize","type":"boolean","required":false,"default":"true","description":"Double-clicking empty drag space toggles maximize, matching native title bar behavior.","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"minimize","args":"","description":"Emitted when the minimize button is clicked — forward to your Electron IPC call"},{"name":"maximize","args":"","description":"Emitted when the maximize/restore button is clicked, or (with doubleClickMaximize) empty drag space is double-clicked"}],"slots":[{"name":"icon","bindings":null,"description":"Replaces the icon — e.g. an `<img>` logo instead of a Material Symbol"},{"name":"title","bindings":null,"description":"Replaces the title text"},{"name":"default","bindings":null,"description":"Extra content between the title and the trailing area (drag-adjacent, e.g. tabs)"},{"name":"trailing","bindings":null,"description":"Action buttons right before minimize/maximize/close"}],"exposed":[],"types":[]},{"name":"MBarcode","import":"@m3ui-vue/m3ui-vue/barcode","description":"Renders a barcode as inline SVG. Available from the `/barcode` entry point.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"format","type":"string","required":false,"default":"\"CODE128\"","description":"Barcode symbology. Common values: 'CODE128', 'EAN13', 'EAN8', 'UPC', 'CODE39', 'ITF14', 'MSI', 'pharmacode', 'codabar'.","model":false},{"name":"width","type":"number","required":false,"default":"2","description":"Width of the narrowest bar, in px","model":false},{"name":"height","type":"number","required":false,"default":"80","description":"Bar height in px","model":false},{"name":"displayValue","type":"boolean","required":false,"default":"true","description":"Show the encoded text below the bars","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Bar color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Background color","model":false},{"name":"margin","type":"number","required":false,"default":"10","description":"Quiet zone around the barcode, in px","model":false},{"name":"fontSize","type":"number","required":false,"default":"20","description":"Font size for the displayed value","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is invalid for the given format (e.g. a non-numeric EAN13)"}],"exposed":[],"types":[]},{"name":"MBottomAppBar","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"flexible","type":"boolean","required":false,"default":"false","description":"M3 Expressive's FlexibleBottomAppBar: 64px instead of 80px, 16px side padding, no FAB slot","model":false},{"name":"arrangement","type":"\"fixed\" | \"start\" | \"between\" | \"around\" | \"evenly\"","required":false,"default":null,"description":"How the actions are spread: `start` (the standard bar's), `between` (the flexible bar's default), `around`, `evenly`, or `fixed` (centered, 32px apart: FlexibleFixedHorizontalArrangement)","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Container color: surface-container, or a color's container for a vibrant bar","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"exit-always\"","required":false,"default":"\"pinned\"","description":"`pinned` stays put; `exit-always` collapses while the content scrolls down and returns when it scrolls up","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `exit-always` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The actions, usually MIconButtons"},{"name":"fab","bindings":null,"description":"A FAB at the end of the standard bar; an MFab here turns secondary and drops its shadow, as M3's bottom app bar FAB (`bottomAppBarFabColor`, `bottomAppBarFabElevation`)"}],"exposed":[],"types":[]},{"name":"MBottomSheet","import":"@m3ui-vue/m3ui-vue","description":"A sheet that slides up from the bottom of the screen, capped at a 640px max width and rounded top corners. Supports drag-to-dismiss via the handle bar, or tapping the scrim. With `partial`, a sheet taller than that share of the screen opens partially expanded and is dragged (handle or content) up to its full height, after Compose's ModalBottomSheet.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title","model":false},{"name":"maxHeight","type":"string","required":false,"default":null,"description":"Tallest the sheet gets, as a CSS length (`'480px'`, `'70dvh'`); past it the content scrolls. Default 60vh, or the whole screen with `partial`","model":false},{"name":"fullHeight","type":"boolean","required":false,"default":"false","description":"","model":false},{"name":"partial","type":"number | boolean","required":false,"default":"false","description":"Opens a sheet taller than this share of the screen partially expanded (`true` = half, or a ratio like 0.4); dragging the handle or the content up expands it fully","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Fully (true) or partially (false) expanded, with `partial` (v-model:expanded)","model":true},{"name":"squareCornersWhenFull","type":"boolean","required":false,"default":"false","description":"Squares the top corners while the expanded sheet fills the screen, as Android's views sheet does","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss, Escape, or the close button) — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the sheet moves between partially and fully expanded (or closes) — powers v-model:expanded"}],"slots":[{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MBottomSheetScaffold","import":"@m3ui-vue/m3ui-vue","description":"A screen with M3's standard (non-modal) bottom sheet, a port of Compose's `BottomSheetScaffold`: the sheet sits over the bottom of the content without a scrim, peeking out when partially expanded, and the content stays usable. Drag it (or its content, which scrolls once the sheet is fully expanded) between its states, or tap the handle. For a sheet that blocks the screen behind a scrim, use MBottomSheet.","props":[{"name":"modelValue","type":"BottomSheetValue","required":false,"default":"\"partial\"","description":"The sheet's state (v-model): `partial` shows `peekHeight` of it, `expanded` all of it, `hidden` none","model":true},{"name":"peekHeight","type":"number","required":false,"default":"56","description":"Height in px the partially expanded sheet shows (BottomSheetDefaults.SheetPeekHeight)","model":false},{"name":"skipHiddenState","type":"boolean","required":false,"default":"true","description":"Leaves out the hidden state, so the sheet can't be swiped away (Compose's default for this sheet)","model":false},{"name":"swipeEnabled","type":"boolean","required":false,"default":"true","description":"Lets the sheet be dragged; with false it only moves through v-model and the handle","model":false},{"name":"maxWidth","type":"number","required":false,"default":"640","description":"Maximum width in px; the sheet is centered when the screen is wider","model":false}],"events":[{"name":"update:modelValue","args":"BottomSheetValue","description":"Emitted when the sheet settles in another state after a drag or a handle tap — powers v-model"}],"slots":[{"name":"top-bar","bindings":null,"description":"An app bar above the content (the sheet can rise over it)"},{"name":"default","bindings":null,"description":"The screen's content; it gets bottom padding equal to `peekHeight` so nothing hides under the peeking sheet"},{"name":"sheet","bindings":null,"description":"The sheet's content, below the drag handle"}],"exposed":[],"types":[{"name":"BottomSheetValue","source":"export type BottomSheetValue = 'hidden' | 'partial' | 'expanded'"}]},{"name":"MBox","import":"@m3ui-vue/m3ui-vue","description":"Generic surface box with padding, radius, elevation, and border — a building block for ad-hoc layout that doesn't warrant a dedicated component.","props":[{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"container-highest\" | \"primary-container\" | \"secondary-container\" | \"tertiary-container\" | \"inverse\"","required":false,"default":null,"description":"Surface color variant","model":false},{"name":"padding","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Padding size","model":false},{"name":"rounded","type":"\"none\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\"","required":false,"default":"\"none\"","description":"Border radius","model":false},{"name":"elevation","type":"0 | 1 | 2 | 3 | 4 | 5","required":false,"default":"0","description":"Shadow elevation level (M3 levels 0–5)","model":false},{"name":"border","type":"boolean","required":false,"default":"false","description":"Show border","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MBreadcrumbs","import":"@m3ui-vue/m3ui-vue","description":"A navigation trail showing the current page's location within a hierarchy, with icons and custom separators.","props":[{"name":"items","type":"BreadcrumbItem[]","required":true,"default":null,"description":"Breadcrumb items (see `BreadcrumbItem`)","model":false},{"name":"separator","type":"string","required":false,"default":"\"chevron_right\"","description":"Material Symbol separator icon","model":false}],"events":[{"name":"select","args":"BreadcrumbItem, number","description":"Emitted when a non-last, non-disabled item is clicked"}],"slots":[],"exposed":[],"types":[{"name":"BreadcrumbItem","source":"export interface BreadcrumbItem {\n label: string\n icon?: string\n to?: string\n disabled?: boolean\n}"}]},{"name":"MButton","import":"@m3ui-vue/m3ui-vue","description":"The standard M3 button — five variants, five expressive size tiers, and either color.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"filled\"","description":"Visual style of the button","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Named semantic color ('primary' | 'error') OR any CSS color string ('red', '#e91e63', 'oklch(0.6 0.2 0)', …). When a CSS color is passed, --color-primary is overridden for this button.","model":false},{"name":"type","type":"\"button\" | \"submit\" | \"reset\"","required":false,"default":"\"button\"","description":"HTML button type","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner and disables the button","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown next to the label","model":false},{"name":"iconFilled","type":"boolean","required":false,"default":null,"description":"Draw the icon filled (Material Symbols' FILL axis), e.g. a starred star or a play icon","model":false},{"name":"iconPos","type":"\"leading\" | \"trailing\"","required":false,"default":"\"leading\"","description":"Which side of the label the icon renders on","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier expressive button sizing (xs: 32px, sm: 40px, md: 56px, lg: 96px, xl: 136px) — lg/xl are meant for hero-style prominent buttons, not everyday UI","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false},{"name":"contentColor","type":"string","required":false,"default":null,"description":"Label and icon color, over what the variant and `color` give: an M3 role (`on-surface` for a neutral text button, `on-primary-container`…) or any CSS color (`#000` on a white filled button). Disabled buttons keep their own","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The button's label."}],"exposed":[],"types":[]},{"name":"MButtonGroup","import":"@m3ui-vue/m3ui-vue","description":"A set of buttons that share selection state — standard (separated) or connected (joined into one pill), single or multi select, any value type.","props":[{"name":"modelValue","type":"M","required":true,"default":null,"description":"Selected value (null when none), or values with `multiSelect` (v-model) — any type, typed after the options' values","model":true},{"name":"options","type":"ButtonGroupOption<T>[]","required":true,"default":null,"description":"The options to choose from; see `ButtonGroupOption`.","model":false},{"name":"variant","type":"\"standard\" | \"connected\"","required":false,"default":"\"standard\"","description":"Standard (separated) or connected (joined)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"selectionRequired","type":"boolean","required":false,"default":"false","description":"At least one must be selected","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected button color","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"update:modelValue","args":"M","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ButtonGroupOption","source":"export interface ButtonGroupOption<T = unknown> {\n value: T\n label?: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MCalendar","import":"@m3ui-vue/m3ui-vue","description":"A monthly calendar grid with color-coded, clickable events.","props":[{"name":"events","type":"CalendarEvent[]","required":false,"default":"[]","description":"Array of events to render on the grid (see `CalendarEvent`)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/weekday names, via Intl.DateTimeFormat. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label for the Today button — falls back to the locale's own string when unset","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — falls back to the locale's own string when unset","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — falls back to the locale's own string when unset","model":false}],"events":[{"name":"dateClick","args":"string","description":"Emitted when an empty part of a day cell is clicked"},{"name":"eventClick","args":"CalendarEvent","description":"Emitted when an event pill is clicked"}],"slots":[],"exposed":[],"types":[{"name":"CalendarEvent","source":"export interface CalendarEvent {\n id: string | number\n title: string\n date: string\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n icon?: string\n}"}]},{"name":"MCard","import":"@m3ui-vue/m3ui-vue","description":"A flexible surface for grouping related content — three variants following the M3 elevation system, with optional header image, structured title/subtitle, and action buttons.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"elevated\"","description":"Card surface style","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the card an interactive element — hover/press elevation (varies by variant per M3), a focus ring/border on keyboard focus, and reachable/activatable via Tab + Enter/Space, not just mouse","model":false},{"name":"elevated","type":"boolean","required":false,"default":"false","description":"Shortcut that forces the elevated variant regardless of variant — true is equivalent to variant='elevated'","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled visual state (own per-variant color, not just a dimmed one) and, when combined with clickable, blocks interaction entirely","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"src URL for a full-bleed header image","model":false},{"name":"imageAlt","type":"string","required":false,"default":null,"description":"Alt text for the header image","model":false},{"name":"imageHeight","type":"string","required":false,"default":null,"description":"Tailwind height class for the image","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Card title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Supporting text below the title","model":false}],"events":[],"slots":[{"name":"media","bindings":null,"description":"Custom media content (alternative to the image prop)"},{"name":"header","bindings":null,"description":"Custom header content (overrides title/subtitle props)"},{"name":"default","bindings":null,"description":"Main content area (raw, no wrapper)"},{"name":"actions","bindings":null,"description":"Bottom action buttons (flex row, right-aligned)"}],"exposed":[],"types":[]},{"name":"MCarousel","import":"@m3ui-vue/m3ui-vue","description":"The Material 3 carousel, with its four layouts. Items keep one size and are laid out side by side; as you scroll, each one is masked down to the space it has, so items grow as they reach the focal position and shrink as they leave. Drag it (touch or mouse), scroll it with a trackpad or a horizontal wheel, or focus it and use the arrow keys. For fixed-width slides with arrows and autoplay, see MSimpleCarousel.","props":[{"name":"items","type":"T[]","required":true,"default":null,"description":"Items to render, required. CarouselItem by default; any type with an #item slot","model":false},{"name":"modelValue","type":"number","required":false,"default":null,"description":"Index of the current (snapped) item; use with v-model to follow or drive it.","model":true},{"name":"variant","type":"CarouselVariant","required":false,"default":"\"multi-browse\"","description":"Carousel layout","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Scroll axis","model":false},{"name":"itemSize","type":"number","required":false,"default":null,"description":"Size of large items along the scroll axis, in px. Multi-browse and hero treat it as the preferred size (the arrangement that fits best wins); uncontained uses it as is. Hero without it fills the container minus its small items; full-screen ignores it.","model":false},{"name":"itemSpacing","type":"number","required":false,"default":"8","description":"Space between items, in px (M3 uses 8).","model":false},{"name":"contentPadding","type":"number","required":false,"default":"0","description":"Padding at both ends of the scroll axis, in px. Items scroll under it.","model":false},{"name":"minSmallItemSize","type":"number","required":false,"default":"40","description":"Smallest size a small item can take (multi-browse, hero)","model":false},{"name":"maxSmallItemSize","type":"number","required":false,"default":"56","description":"Largest size a small item can take (multi-browse, hero)","model":false},{"name":"flingBehavior","type":"CarouselFlingBehavior","required":false,"default":null,"description":"What a release does. Defaults to 'no-snap' for uncontained, 'single-advance' otherwise.","model":false},{"name":"userScrollEnabled","type":"boolean","required":false,"default":"true","description":"Allow dragging, wheel and keyboard scrolling","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Height of the carousel. Defaults to 205px for a horizontal carousel that isn't full-screen.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the carousel.","model":false}],"events":[{"name":"update:modelValue","args":"index: number","description":"The current item changed"},{"name":"itemClick","args":"item: T, index: number","description":"An item was clicked (not dragged). A partly visible item also scrolls into focus"}],"slots":[{"name":"item","bindings":"{ item: T; index: number; }","description":"Content of each item, filling its full (unmasked) box. Replaces the default image and label"}],"exposed":[],"types":[{"name":"CarouselItem","source":"export interface CarouselItem {\n src: string\n alt?: string\n label?: string\n}"},{"name":"CarouselVariant","source":"export type CarouselVariant = 'multi-browse' | 'uncontained' | 'hero' | 'full-screen'"},{"name":"CarouselFlingBehavior","source":"export type CarouselFlingBehavior = 'single-advance' | 'multi-browse' | 'no-snap'"}]},{"name":"MCenter","import":"@m3ui-vue/m3ui-vue","description":"Centers its children both horizontally and vertically.","props":[{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, centered."}],"exposed":[],"types":[]},{"name":"MChart","import":"@m3ui-vue/m3ui-vue/chart","description":"A thin Chart.js wrapper — line, bar, pie, doughnut, and radar types, with legend/tooltip/axis colors that automatically track the active M3 theme (light/dark, palette, contrast). Datasets without colors of their own get the theme's too, one per series (one per slice in a pie or doughnut). Available from the `/chart` entry point.","props":[{"name":"type","type":"ChartType","required":true,"default":null,"description":"Chart type. Required — there is no default.","model":false},{"name":"data","type":"Record<string, any>","required":true,"default":null,"description":"Chart.js data object with labels and datasets. Required — there is no default.","model":false},{"name":"options","type":"Record<string, any>","required":false,"default":null,"description":"Chart.js options, deep-merged on top of MChart's own M3-themed defaults (legend/tooltip/axis colors that track the active theme automatically)","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Chart height","model":false},{"name":"colors","type":"string[]","required":false,"default":null,"description":"Colors for datasets that don't set their own, in order (one per series; per slice in a pie or doughnut): M3 role names (`primary`, `tertiary-container`…) or any CSS colors. Default primary, tertiary, secondary, success, error, outline","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"ChartType","source":"type ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar'"}]},{"name":"MChatBubble","import":"@m3ui-vue/m3ui-vue","description":"A chat message bubble — sender name, avatar, timestamp, and read status, for left (received) or right (sent) messages.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Message text (or use the default slot for custom content)","model":false},{"name":"sender","type":"string","required":false,"default":null,"description":"Sender name shown above the bubble (left-side only)","model":false},{"name":"time","type":"string","required":false,"default":null,"description":"Timestamp string (e.g. \"10:32\")","model":false},{"name":"side","type":"\"right\" | \"left\"","required":false,"default":"\"left\"","description":"Left = received, right = sent","model":false},{"name":"avatar","type":"string","required":false,"default":null,"description":"Avatar name — shows an MAvatar with these initials (left-side only)","model":false},{"name":"status","type":"\"sent\" | \"delivered\" | \"read\"","required":false,"default":null,"description":"Message status icon next to the timestamp (right-side only)","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bubble color for sent (right-side) messages","model":false},{"name":"tail","type":"boolean","required":false,"default":"true","description":"Show the bubble tail (a sharper corner on the side nearest the sender)","model":false},{"name":"size","type":"\"small\" | \"medium\" | \"large\"","required":false,"default":"\"medium\"","description":"Text size (body-small / body-medium / body-large)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"320px\"","description":"Max bubble width (px, %, or var()) — supports a CSS variable for responsive control","model":false},{"name":"typing","type":"\"text\" | \"audio\"","required":false,"default":null,"description":"Shows a live indicator instead of the content: bouncing dots while the other person types, or a mic with a moving waveform while they record audio.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content inside the bubble, replacing the text prop — images, files, buttons, or any layout"}],"exposed":[],"types":[]},{"name":"MCheckbox","import":"@m3ui-vue/m3ui-vue","description":"A checkbox with checked, indeterminate, and disabled states, and 4 semantic color options.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Checked state (v-model)","model":true},{"name":"indeterminate","type":"boolean","required":false,"default":"false","description":"Indeterminate state","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the checkbox","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text — overridden by the default slot when present","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Checked/indeterminate color","model":false},{"name":"ariaLabel","type":"string","required":false,"default":null,"description":"Accessible name for the input when there's no visible label (e.g. a list row's checkbox).","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new checked state."}],"slots":[{"name":"default","bindings":null,"description":"Custom label content — overrides the label prop when provided"}],"exposed":[],"types":[]},{"name":"MChip","import":"@m3ui-vue/m3ui-vue","description":"Compact elements for filters, input, or actions — named semantic tones or any CSS color, with optional icon, click, selection, and removal support. With `type` it's one of M3's four chips instead (assist, filter, input, suggestion), styled by the spec and always interactive; `tone` then doesn't apply.","props":[{"name":"tone","type":"string","required":false,"default":"\"neutral\"","description":"Color tone or any CSS color string","model":false},{"name":"selected","type":"boolean","required":false,"default":"false","description":"Selected/active state — the chip's shape morphs from a rounded rect to a full pill when selected","model":true},{"name":"removable","type":"boolean","required":false,"default":"false","description":"Show a remove (X) button","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the chip an interactive `<button>` with hover/press/focus feedback (otherwise renders as a plain `<span>`)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false},{"name":"type","type":"\"filter\" | \"assist\" | \"input\" | \"suggestion\"","required":false,"default":null,"description":"One of M3's chips: `assist` (an action), `filter` (on/off, v-model:selected; a check slides in while selected), `input` (a piece of user input, with an optional #avatar and `removable`), `suggestion`. Leave unset for the generic tone-colored chip","model":false},{"name":"elevated","type":"boolean","required":false,"default":"false","description":"Typed assist, filter and suggestion chips: surface-container-low with elevation 1 instead of an outline","model":false},{"name":"trailingIcon","type":"string","required":false,"default":null,"description":"Typed chips: a trailing Material Symbol icon (e.g. arrow_drop_down on a filter chip that opens a menu)","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a clickable (or typed), non-disabled chip is clicked"},{"name":"remove","args":"","description":"Emitted when the remove (X) button is clicked (removable only)"},{"name":"update:selected","args":"boolean","description":"Filter and input chips: emitted on click with the new selected state — powers v-model:selected"}],"slots":[{"name":"avatar","bindings":null,"description":"Input chips only: a 24px round avatar before the label (e.g. an MAvatar or an img)"},{"name":"default","bindings":null,"description":"The chip's label."}],"exposed":[],"types":[]},{"name":"MCircleProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A circular progress indicator — a smooth arc, or the M3 Expressive wavy ring that fades between a circle and a bumpy wave near the extremes.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit when indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Spinning arc — no value needed. Identical for both variants.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":"\"primary\"","description":"Ring color: an M3 role or any CSS color","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Track color: an M3 role or any CSS color. Default the role's container, or the ring color at 24% for a CSS color","model":false},{"name":"variant","type":"\"wavy\" | \"circle\"","required":false,"default":"\"wavy\"","description":"wavy: animated bumpy ring that fades to circle near 0% and 100%; circle: smooth arc","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text below the circle","model":false},{"name":"size","type":"number","required":false,"default":null,"description":"Diameter in px — matches the real M3 WaveSize/Size tokens per variant","model":false},{"name":"thickness","type":"number","required":false,"default":"4","description":"Stroke width of the ring/wave in px, matching the real M3 token","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content centered inside the ring. When provided, the percentage label is hidden."}],"exposed":[],"types":[]},{"name":"MCodeEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A syntax-highlighted code editor built on CodeMirror 6, with a header bar, line numbers, and a copy button.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Editor content (v-model)","model":true},{"name":"language","type":"Language","required":false,"default":"\"javascript\"","description":"Syntax language","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"lineNumbers","type":"boolean","required":false,"default":"true","description":"Show line numbers","model":false},{"name":"theme","type":"\"light\" | \"dark\"","required":false,"default":"\"light\"","description":"Color theme","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum editor height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Maximum editor height","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown via CodeMirror when the editor is empty","model":false},{"name":"wrap","type":"boolean","required":false,"default":"true","description":"Word wrap","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every document change — powers v-model"}],"slots":[{"name":"actions","bindings":null,"description":"Extra controls rendered in the header bar, before the built-in copy button"}],"exposed":[],"types":[{"name":"Language","source":"type Language = 'javascript' | 'typescript' | 'json' | 'html' | 'css' | 'python' | 'vue' | 'c' | 'cpp' | 'rust' | 'asm' | 'plain'"}]},{"name":"MColorPicker","import":"@m3ui-vue/m3ui-vue","description":"An outlined field that opens a color picker in a dropdown: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Updates the value live while picking.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the panel","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the picked color, live while dragging or typing."}],"slots":[],"exposed":[],"types":[]},{"name":"MColorPickerModal","import":"@m3ui-vue/m3ui-vue","description":"A color picker in a dialog: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Built on MDialog; the color is only applied on confirm, and the preview shows it next to the original.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the dialog","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title; defaults to the locale's `selectColor`","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember confirmed colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted when a color is confirmed — powers v-model. Only fires on confirm, not while dragging"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MCommandPalette","import":"@m3ui-vue/m3ui-vue","description":"A searchable, keyboard-driven command palette — grouped commands, fuzzy-free substring search, and a global hotkey (Cmd/Ctrl+K by default).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"items","type":"CommandItem[]","required":true,"default":null,"description":"Commands to search over (see `CommandItem`). Required — there is no default.","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"k\"","description":"Global keyboard shortcut key, combined with Cmd/Ctrl, to toggle the palette","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"selectHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"CommandItem","description":"Emitted when an item is chosen (click, or Enter) — fires before the item's own onSelect callback runs"}],"slots":[],"exposed":[],"types":[{"name":"CommandItem","source":"export interface CommandItem {\n id: string\n label: string\n icon?: string\n shortcut?: string\n group?: string\n disabled?: boolean\n onSelect?: () => void\n}"}]},{"name":"MConfirmDialog","import":"@m3ui-vue/m3ui-vue","description":"A pre-built confirmation dialog on top of MDialog — title, message, cancel/confirm buttons, a danger color mode, and a loading state, so you don't have to hand-roll one for every \"are you sure?\" prompt.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":true,"default":null,"description":"Dialog title","model":false},{"name":"message","type":"string","required":true,"default":null,"description":"Confirmation message body","model":false},{"name":"confirmLabel","type":"string","required":false,"default":null,"description":"Confirm button label — falls back to the locale string when omitted","model":false},{"name":"cancelLabel","type":"string","required":false,"default":null,"description":"Cancel button label — falls back to the locale string when omitted","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Error color on the confirm button, for destructive actions","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner on the confirm button and disables cancel","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Passed straight through to MDialog's `closable` — show/hide the header close (X) button.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"},{"name":"confirm","args":"","description":"Emitted when the confirm button is clicked — the dialog stays open until the caller sets modelValue to false (or clears loading)"}],"slots":[],"exposed":[],"types":[]},{"name":"MContainer","import":"@m3ui-vue/m3ui-vue","description":"Constrains content width with responsive horizontal padding.","props":[{"name":"maxWidth","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | \"2xl\"","required":false,"default":"\"lg\"","description":"Maximum width breakpoint","model":false},{"name":"fluid","type":"boolean","required":false,"default":"false","description":"Full-width (no max constraint)","model":false},{"name":"centered","type":"boolean","required":false,"default":"true","description":"Center horizontally with mx-auto","model":false},{"name":"padding","type":"boolean","required":false,"default":"true","description":"Add responsive horizontal padding","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MContainerTransform","import":"@m3ui-vue/m3ui-vue","description":"Material's container transform: an element (a card, a list item, an image, a FAB…) grows into an expanded view and shrinks back into it, morphing its bounds and shape while its content fades into the new one. The expanded view opens over the page, full screen, as a centered panel, or wherever your classes put it (`custom`), with a scrim (optional), Escape and scroll lock; focus goes to it and back to the element on close. A port of Android's MaterialContainerTransform, played on the compositor. For elements that live apart from the expanded view (a grid of cards, one detail), pass a `useContainerTransform()` controller instead of the default slot.","props":[{"name":"controller","type":"ContainerTransformController<T>","required":false,"default":null,"description":"A `useContainerTransform()` controller, to open it from elements elsewhere (`controller.open($event, item)`)","model":false},{"name":"mode","type":"\"fullscreen\" | \"dialog\" | \"custom\"","required":false,"default":"\"fullscreen\"","description":"Where the expanded view opens: over the whole screen, as a centered panel (wider screens), or `custom`: the classes you give the component place and size it (`bottom-4 right-4 w-80 h-96`, `inset-y-0 right-0 w-96`…), anywhere over the page","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"560px\"","description":"The centered panel's maximum width (`dialog` mode)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the expanded view","model":false},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Dims the page behind it, which makes it modal (scroll lock, `aria-modal`). Without one the page stays usable: a click outside closes it instead (unless `persistent`)","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"A click on the scrim, or outside without one, doesn't close it","model":false},{"name":"closeOnBack","type":"boolean","required":false,"default":"true","description":"Android's back (button or gesture) closes it, like an expanded view in an app, where the browser has the CloseWatcher API (Chrome, Edge); the history and the router are left alone. Default `true`","model":false},{"name":"open","type":"boolean","required":false,"default":"false","description":"Whether the expanded view is open; opening it from here grows it from the default slot's element","model":true}],"events":[{"name":"update:open","args":"value: boolean","description":"The expanded view opened or closed (v-model:open)"}],"slots":[{"name":"default","bindings":"{ open: () => void; isOpen: boolean; }","description":"The element that opens it, with `{ open, isOpen }`: call `open()` from its click"},{"name":"expanded","bindings":"{ close: () => void; item: T | undefined; }","description":"The expanded view, with `{ close, item }` (`item` is what the controller's `open` was given)"}],"exposed":[],"types":[]},{"name":"MContextMenu","import":"@m3ui-vue/m3ui-vue","description":"A right-click context menu composed with MMenuItem — same item/divider/submenu building blocks as MMenu, but positioned at the cursor instead of anchored to a trigger element.","props":[{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":null,"description":"The element(s) that respond to right-click. MContextMenu intercepts contextmenu events automatically and positions the panel at the cursor, clamped to stay on-screen."},{"name":"default","bindings":null,"description":"Menu items — use MMenuItem, MMenuDivider, or any element."}],"exposed":[{"name":"show","type":"(e: MouseEvent) => void","description":""},{"name":"showAt","type":"(x: number, y: number) => Promise<void>","description":""},{"name":"hide","type":"() => void","description":""}],"types":[]},{"name":"MCopyButton","import":"@m3ui-vue/m3ui-vue","description":"Wraps MIconButton and swaps to a checkmark for resetDelay ms after a successful copy.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Text copied to the clipboard on click","model":false},{"name":"icon","type":"string","required":false,"default":"\"content_copy\"","description":"Icon shown in the idle state","model":false},{"name":"copiedIcon","type":"string","required":false,"default":"\"check\"","description":"Icon shown right after a successful copy","model":false},{"name":"label","type":"string","required":false,"default":"\"Copy\"","description":"aria-label in the idle state","model":false},{"name":"copiedLabel","type":"string","required":false,"default":"\"Copied\"","description":"aria-label right after a successful copy","model":false},{"name":"variant","type":"\"standard\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"standard\"","description":"Visual style (same as MIconButton)","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false},{"name":"resetDelay","type":"number","required":false,"default":"2000","description":"Milliseconds before the icon reverts to idle after copying","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if the browser refuses the clipboard write"},{"name":"copied","args":"string","description":"Emitted with the copied value after a successful clipboard write"}],"slots":[],"exposed":[],"types":[]},{"name":"MDataTable","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"columns","type":"DataTableColumn[]","required":true,"default":null,"description":"Column definitions; see `DataTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Enable row expansion (requires the row-expand slot)","model":false},{"name":"striped","type":"boolean","required":false,"default":"false","description":"Alternate row colors","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"stickyHeader","type":"boolean","required":false,"default":"false","description":"Sticky table header","model":false},{"name":"groupBy","type":"string","required":false,"default":null,"description":"Group rows by this column key","model":false},{"name":"columnToggle","type":"boolean","required":false,"default":"false","description":"Allow hiding/showing columns from a menu","model":false},{"name":"exportable","type":"boolean","required":false,"default":"false","description":"Show an export-to-CSV button","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit fetch instead of local filtering. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge (defaults to the locale string)","model":false},{"name":"recordsText","type":"string","required":false,"default":null,"description":"Text for total records count (defaults to the locale string)","model":false},{"name":"expandLabel","type":"string","required":false,"default":null,"description":"Aria label for the expand button (defaults to the locale string)","model":false},{"name":"columnsLabel","type":"string","required":false,"default":null,"description":"Label for the column-toggle button (defaults to the locale string)","model":false},{"name":"exportLabel","type":"string","required":false,"default":null,"description":"Label for the export button (defaults to the locale string)","model":false},{"name":"noGroupText","type":"string","required":false,"default":null,"description":"Text for the ungrouped-rows bucket (defaults to the locale string)","model":false},{"name":"minHeight","type":"string","required":false,"default":null,"description":"Reserves a fixed min-height for the table area (any valid CSS min-height value) so switching between loading/empty/loaded doesn't visibly resize the table. Off by default.","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"DataTableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"},{"name":"row-expand","bindings":"{ row: Record<string, any>; }","description":"Expanded-row detail content, shown when expandable is true and the row is toggled open"}],"exposed":[],"types":[{"name":"DataTableColumn","source":"export interface DataTableColumn {\n key: string\n label: string\n sortable?: boolean\n filterable?: boolean\n resizable?: boolean\n width?: string\n minWidth?: string\n align?: 'left' | 'center' | 'right'\n pinned?: 'left' | 'right'\n hidden?: boolean\n}"},{"name":"DataTableFetchParams","source":"export interface DataTableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"}]},{"name":"MDatePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar date picker with locale support and min/max range clamping.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected date (YYYY-MM-DD, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no date is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked date."}],"slots":[],"exposed":[],"types":[]},{"name":"MDatePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date picker with calendar and keyboard input modes. For a field that opens a dropdown calendar, use MDatePicker.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected date in YYYY-MM-DD format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MDateRangePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar for selecting a start and end date, with range highlighting.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model); see `DateRange`","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no range is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false},{"name":"pickStartText","type":"string","required":false,"default":null,"description":"Header text shown while picking the start date — defaults to the current locale's string","model":false},{"name":"pickEndText","type":"string","required":false,"default":null,"description":"Header text shown while picking the end date — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted with the picked range."}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDateRangePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date range picker with range highlighting — the sibling of MDateRangePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model) — see `DateRange`","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted when the end date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDialog","import":"@m3ui-vue/m3ui-vue","description":"The generic M3 modal shell — Escape, scroll lock, and Teleport are handled internally. Supports a centered card, a full-screen variant, and an optional icon that centers the title per spec.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title (overridable via the #title slot)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"max-w-[560px]\"","description":"A Tailwind class (`max-w-sm`) or a CSS value (`420px`, `min(90vw, 40rem)`).","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"max-h-[90vh]\"","description":"Maximum height: a Tailwind class (`max-h-[60vh]`) or a CSS value (`480px`, `calc(100dvh - 4rem)`). When the content is taller, the body scrolls and a divider appears above the actions.","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Prevent closing by clicking the scrim, pressing Escape, or the X button","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Full-screen variant — slides up from the bottom, covers the entire viewport","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Aria label for the close (X) button — falls back to the locale string when omitted","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show the header close (X) button — a library addition, not part of the M3 AlertDialog spec, so it can be turned off","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Just the dialog's box (surface, shape, elevation), scrim, Escape, scroll lock and animation, with the default slot filling it: no title row, padding, close button or actions. For dialogs that draw everything themselves (the date and time pickers). With `fullscreen`, the slot fills the screen and draws its own top bar. `title` then only names it for assistive technology","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Dialog body content — scrolls independently when taller than maxHeight. With `bare`, the whole dialog: it fills the box (no title, padding, close button or actions row)"},{"name":"icon","bindings":null,"description":"M3 AlertDialog's optional icon (Secondary color, 24dp expected). Its presence also centers the title, per spec."},{"name":"title","bindings":null,"description":"Overrides the title prop with custom markup"},{"name":"actions","bindings":null,"description":"Row of action buttons — wraps to a new line instead of overflowing when labels are long"}],"exposed":[],"types":[]},{"name":"MDivider","import":"@m3ui-vue/m3ui-vue","description":"A thin separator line, horizontal or vertical, with an optional centered label.","props":[{"name":"vertical","type":"boolean","required":false,"default":"false","description":"Render as a vertical divider (fills the height of a flex container)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text label in the middle of the divider (horizontal only)","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Add left margin (ml-16) to align with content that has a leading icon","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MDragDropList","import":"@m3ui-vue/m3ui-vue","description":"A reorderable list: v-model the array and render each row with the #default slot. Works with a mouse, a finger and the keyboard. The dragged row lifts with M3's dragged-item elevation and the rest slide out of its way.","props":[{"name":"modelValue","type":"DragDropItem[]","required":true,"default":null,"description":"Array of items with a unique id (v-model)","model":true},{"name":"handle","type":"boolean","required":false,"default":"false","description":"Drag only from a handle button at the start of each row. Touch drags start right away from the handle; without it, a whole row starts dragging after a long press so swipes still scroll the page","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns reordering off (pointer and keyboard) and dims the list","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Drops the row's own look (padding, min height, hover/dragged state layer, background) so the slot draws the whole row, e.g. one card per item. Dragging, the lift shadow (as a drop-shadow that follows your content's shape) and keyboard support remain. With `handle`, bind the slot's `handleProps` onto your own grip element.","model":false}],"events":[{"name":"update:modelValue","args":"DragDropItem[]","description":"Emitted with the reordered array (v-model)"},{"name":"reorder","args":"{ from: number; to: number; items: DragDropItem[]; }","description":"Emitted alongside update:modelValue with the source and destination indices. Useful for saving the new order to a backend"}],"slots":[{"name":"default","bindings":"{ item: DragDropItem; index: number; dragging: boolean; handleProps: Record<string, unknown>; }","description":"Content of each row (or the whole row with bare). Falls back to item.id. Controls inside it (checkboxes, switches, buttons, links) keep working and never start a drag. dragging is true while the row is lifted; handleProps (with handle) goes on your own grip element via v-bind"}],"exposed":[],"types":[{"name":"DragDropItem","source":"export interface DragDropItem {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MDragHandle","import":"@m3ui-vue/m3ui-vue","description":"M3's drag handle: the capsule users drag to resize or move something, e.g. the divider between two panes. Port of Compose's `VerticalDragHandle`; it only draws the handle and its pressed/dragged look, the dragging itself is up to the parent (MSplitter uses it).","props":[{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"`vertical` is a tall capsule for horizontal drags (between side-by-side panes); `horizontal` is a wide one for vertical drags.","model":false},{"name":"dragging","type":"boolean","required":false,"default":"false","description":"Show the dragged look (the parent is dragging)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MDrawCanvas","import":"@m3ui-vue/m3ui-vue/draw","description":"A drawing surface: pens that follow a stylus' pressure, an eraser that cuts strokes (and the pen's eraser end), lines, arrows, rectangles, ellipses, text, lasso selection to move, scale or delete, layers, undo and redo, pan and pinch zoom. An infinite canvas, or pages of a fixed size. The drawing is plain data (`v-model`, a list of strokes, shapes and texts), exported as SVG or PNG. Put an MDrawToolbar (or your own, with `useDrawing()`) in its default slot. Not an M3 spec component. Gestures: draw with the pen, mouse or a finger; two fingers pan and zoom (and cancel a stroke a finger just started); the wheel pans, Ctrl + wheel zooms; Space + drag or the middle button pans. With `penOnly` (by default once a stylus has been used) fingers only pan and zoom, so a palm on the screen doesn't draw. Keys: Ctrl+Z undo, Ctrl+Shift+Z or Ctrl+Y redo, Delete removes the selection, Escape drops it, Ctrl+A selects everything.","props":[{"name":"mode","type":"\"infinite\" | \"pages\"","required":false,"default":"\"infinite\"","description":"An endless canvas, or pages of `pageSize` stacked one under another","model":false},{"name":"pageSize","type":"{ width: number; height: number; }","required":false,"default":"{ width: 794, height: 1123 }","description":"A page's size in drawing units (A4 at 96 dpi by default)","model":false},{"name":"paper","type":"string","required":false,"default":"\"#ffffff\"","description":"The paper's color (pages, or the whole infinite canvas)","model":false},{"name":"background","type":"\"none\" | \"grid\" | \"dots\" | \"lines\"","required":false,"default":"\"none\"","description":"A ruling drawn on the paper","model":false},{"name":"backgroundSize","type":"number","required":false,"default":"24","description":"The ruling's spacing","model":false},{"name":"backgroundImage","type":"string","required":false,"default":null,"description":"An image under the drawing, to trace or annotate: fills each page, or sits at (0, 0) on an infinite canvas","model":false},{"name":"backgroundImageBox","type":"DrawBox","required":false,"default":null,"description":"Infinite canvas: where the background image goes and its size, in drawing units (fitView takes it in too)","model":false},{"name":"penOnly","type":"boolean | \"auto\"","required":false,"default":"\"auto\"","description":"Fingers only pan and zoom: `true`, `false`, or `'auto'` (once a stylus has touched the canvas)","model":false},{"name":"pressure","type":"boolean","required":false,"default":"true","description":"Use the stylus' pressure (without one, speed thins the line)","model":false},{"name":"smoothing","type":"number","required":false,"default":"0.5","description":"How much strokes are smoothed, 0–1","model":false},{"name":"eraserSize","type":"number","required":false,"default":"12","description":"The eraser's radius in screen pixels","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo","model":false},{"name":"historySize","type":"number","required":false,"default":"100","description":"","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Look only: no drawing, but pan and zoom","model":false},{"name":"minZoom","type":"number","required":false,"default":"0.1","description":"","model":false},{"name":"maxZoom","type":"number","required":false,"default":"8","description":"","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the canvas","model":false},{"name":"modelValue","type":"DrawItem[]","required":false,"default":"[]","description":"The drawing: strokes, shapes and texts","model":true},{"name":"tool","type":"DrawTool","required":false,"default":"\"pen\"","description":"","model":true},{"name":"color","type":"string","required":false,"default":"\"#1d1b20\"","description":"","model":true},{"name":"size","type":"number","required":false,"default":"4","description":"Pen width, shape line width or font size, by tool","model":true},{"name":"fill","type":"boolean","required":false,"default":"false","description":"New rects and ellipses are filled with the color","model":true},{"name":"layers","type":"DrawLayer[]","required":false,"default":"[]","description":"Layers, bottom first (none: one implicit layer)","model":true},{"name":"layer","type":"string","required":false,"default":null,"description":"The layer new items go on (default: the top one)","model":true},{"name":"pages","type":"number","required":false,"default":"1","description":"How many pages, in `mode=\"pages\"`","model":true},{"name":"selection","type":"string[]","required":false,"default":"[]","description":"The selected items' ids","model":true},{"name":"viewport","type":"{ x: number; y: number; zoom: number; }","required":false,"default":"{ x: 0, y: 0, zoom: 1 }","description":"Pan and zoom: screen = drawing × zoom + (x, y)","model":true}],"events":[{"name":"update:modelValue","args":"value: DrawItem[]","description":""},{"name":"update:tool","args":"value: DrawTool","description":""},{"name":"update:color","args":"value: string","description":""},{"name":"update:size","args":"value: number","description":""},{"name":"update:fill","args":"value: boolean","description":""},{"name":"update:layers","args":"value: DrawLayer[]","description":""},{"name":"update:layer","args":"value: string | undefined","description":""},{"name":"update:pages","args":"value: number","description":""},{"name":"update:selection","args":"value: string[]","description":""},{"name":"update:viewport","args":"value: { x: number; y: number; zoom: number; }","description":""},{"name":"change","args":"items: DrawItem[]","description":"Fires after every edit with the new items (the same as `update:modelValue`)"}],"slots":[{"name":"default","bindings":null,"description":"Overlays: a toolbar (MDrawToolbar), a layers panel (MDrawLayers), anything positioned over the canvas"}],"exposed":[{"name":"undo","type":"() => void","description":""},{"name":"redo","type":"() => void","description":""},{"name":"clear","type":"() => void","description":""},{"name":"deleteSelection","type":"() => void","description":""},{"name":"fitView","type":"() => void","description":""},{"name":"zoomIn","type":"() => void","description":""},{"name":"zoomOut","type":"() => void","description":""},{"name":"exportSvg","type":"(opts?: DrawExportOptions) => string","description":""},{"name":"exportPng","type":"(opts?: DrawExportOptions) => Promise<Blob>","description":""},{"name":"toContent","type":"(e: { clientX: number; clientY: number; }) => { x: number; y: number; }","description":""}],"types":[]},{"name":"MDrawLayers","import":"@m3ui-vue/m3ui-vue/draw","description":"The layers of an MDrawCanvas (put it in its default slot, or anywhere inside it): pick the one you draw on, show or hide, lock, rename (double-click), reorder, add and delete. Top layer first, as drawing apps list them. Deleting a layer deletes what's on it. Not an M3 spec component.","props":[],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MDrawToolbar","import":"@m3ui-vue/m3ui-vue/draw","description":"A floating toolbar for an MDrawCanvas (put it in its default slot): select and pan, the pens, the erasers, shapes (with fill), text, colors, sizes, undo and redo. Pens, erasers and shapes are each one button that remembers the last one picked, with a menu for the others. Sits at the bottom center by default (style its root to move it). Not an M3 spec component.","props":[{"name":"tools","type":"DrawTool[]","required":false,"default":"[\"select\", \"pan\", \"pen\", \"brush\", \"marker\", \"highlighter\", \"eraser\", \"stroke-eraser\", \"line\", \"arrow\", \"rect\", \"ellipse\", \"text\"]","description":"The tools offered (in groups: pens, erasers and shapes share a button each)","model":false},{"name":"colors","type":"string[]","required":false,"default":"[\"#1d1b20\", \"#e53935\", \"#fb8c00\", \"#fdd835\", \"#43a047\", \"#1e88e5\", \"#8e24aa\", \"#ffffff\"]","description":"Color swatches","model":false},{"name":"sizes","type":"number[]","required":false,"default":"[2, 4, 8, 16]","description":"Sizes offered (pen width; a shape's line is the same, text is 4× it)","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo","model":false},{"name":"customColor","type":"boolean","required":false,"default":"true","description":"A button that opens a color picker for any color","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"More controls at the start"},{"name":"end","bindings":null,"description":"More controls at the end"}],"exposed":[],"types":[]},{"name":"MEmoji","import":"@m3ui-vue/m3ui-vue","description":"Renders a single emoji character at a fixed pixel size, with optional accessible labeling.","props":[{"name":"emoji","type":"string","required":true,"default":null,"description":"The emoji character to display — required","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Size in pixels (sets font-size, width, and height)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — when set, adds role=\"img\" and aria-label","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiButton","import":"@m3ui-vue/m3ui-vue","description":"A single emoji button that cycles through a random pool on hover (Discord-style) and emits whichever emoji is showing when clicked.","props":[{"name":"emoji","type":"string","required":false,"default":"\"😀\"","description":"Default/current emoji shown before any hover cycling or click","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Emoji font size in pixels (the button itself is size + 12px)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — defaults to 'Emoji {emoji}'","model":false},{"name":"randomOnHover","type":"boolean","required":false,"default":"true","description":"Cycle to a random emoji on hover (Discord-style)","model":false},{"name":"category","type":"string","required":false,"default":null,"description":"Limit random pool to a category id (e.g. 'smileys', 'animals')","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false}],"events":[{"name":"click","args":"emoji: string","description":"Emitted on click with the currently displayed emoji (whatever hover last cycled to)"}],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiSelector","import":"@m3ui-vue/m3ui-vue","description":"An emoji picker in the style of Android's and Gboard's: the full Unicode set (Emoji 15.0) by category, recently used ones first, skin tones, and search by name in the app's language. The names come from Unicode's CLDR and load only when the picker is used, one language at a time.","props":[{"name":"categories","type":"string[]","required":false,"default":null,"description":"Which categories to show (ids). All if empty.","model":false},{"name":"search","type":"boolean","required":false,"default":"true","description":"Show the search field.","model":false},{"name":"columns","type":"number","required":false,"default":null,"description":"Fixed number of columns. By default as many as fit.","model":false},{"name":"emojiSize","type":"number","required":false,"default":"28","description":"Emoji size in px.","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked emoji and show them first (stored in localStorage).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"24","description":"How many recent emoji to keep.","model":false},{"name":"skinTones","type":"boolean","required":false,"default":"true","description":"Offer skin tones (long press, right click or Shift+Enter on an emoji, or the footer button).","model":false},{"name":"preview","type":"boolean","required":false,"default":"true","description":"Show the hovered or focused emoji with its name at the bottom.","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Height of the scrolling grid.","model":false}],"events":[{"name":"select","args":"emoji: string","description":"An emoji was picked, with the skin tone applied"}],"slots":[],"exposed":[{"name":"focus","type":"() => void | undefined","description":""}],"types":[]},{"name":"MEmptyState","import":"@m3ui-vue/m3ui-vue","description":"A placeholder for empty views — icon, title, description, and optional action buttons.","props":[{"name":"icon","type":"string","required":false,"default":"\"inbox\"","description":"Material Symbol icon","model":false},{"name":"title","type":"string","required":true,"default":null,"description":"Title text — required","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Supporting description","model":false},{"name":"compact","type":"boolean","required":false,"default":null,"description":"Smaller variant (24px icon in a 48px circle, less padding)","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons rendered below the description"}],"exposed":[],"types":[]},{"name":"MExpansionPanel","import":"@m3ui-vue/m3ui-vue","description":"A collapsible section with a smooth height animation. Works controlled via v-model, or uncontrolled by simply omitting modelValue.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Panel header text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text in the header, below the title","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon in the header","model":false},{"name":"modelValue","type":"boolean","required":false,"default":null,"description":"Open/closed state (v-model). Omit it entirely to let the panel manage its own open state internally (uncontrolled).","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables toggling","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Visual style of the panel container","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the panel is toggled — only meaningful when modelValue is passed (controlled usage); powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Panel body content, revealed with a height animation when open"}],"exposed":[],"types":[]},{"name":"MExportButton","import":"@m3ui-vue/m3ui-vue","description":"Serializes the data prop and triggers a real browser download — no dependencies.","props":[{"name":"data","type":"Record<string, unknown>[]","required":true,"default":null,"description":"Array of objects to export","model":false},{"name":"format","type":"\"json\" | \"csv\"","required":false,"default":"\"csv\"","description":"Export format","model":false},{"name":"filename","type":"string","required":false,"default":"\"export\"","description":"Filename without extension — the extension is added automatically","model":false},{"name":"label","type":"string","required":false,"default":"\"Export\"","description":"Button label (overridden by the default slot)","model":false},{"name":"icon","type":"string","required":false,"default":"\"download\"","description":"Leading Material Symbol icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"outlined\"","description":"Visual style (same as MButton)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if serialization or the download trigger fails"},{"name":"exported","args":"{ format: string; filename: string; }","description":"Emitted after a successful download is triggered"}],"slots":[{"name":"default","bindings":null,"description":"Replaces the label text prop"}],"exposed":[],"types":[]},{"name":"MFab","import":"@m3ui-vue/m3ui-vue","description":"A Floating Action Button for the primary action of a screen. Supports extended (icon+label), a speed-dial of small items, or a fully custom expanding panel via the `#content` slot.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Extended FAB label text","model":false},{"name":"expanded","type":"boolean","required":false,"default":"true","description":"Extended FAB only: false collapses it to a plain FAB (the label fades out and the width shrinks to a square), e.g. while the content scrolls. Compose's `expanded`","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":null,"description":"Color scheme; defaults to primary, or secondary inside an MBottomAppBar","model":false},{"name":"size","type":"\"small\" | \"medium\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"FAB size. With a `label`, small/medium/large are M3 Expressive's extended FABs (56/80/96px, title-medium, title-large and headline-small labels); regular is the baseline extended FAB","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"items","type":"SpeedDialItem[]","required":false,"default":null,"description":"Speed-dial child items (see `SpeedDialItem`)","model":false},{"name":"direction","type":"\"right\" | \"left\" | \"up\" | \"down\" | \"radial\"","required":false,"default":"\"up\"","description":"Speed-dial expand direction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep speed-dial open after clicking an item or clicking outside","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"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.","model":false},{"name":"scrim","type":"boolean","required":false,"default":"false","description":"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.","model":false},{"name":"contentTransition","type":"\"none\" | \"scale\" | \"fade\"","required":false,"default":"\"scale\"","description":"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.","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the FAB's content color","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the FAB itself is clicked (not a speed-dial item)"}],"slots":[{"name":"content","bindings":"{ close: () => boolean; }","description":"A panel anchored to the FAB that opens when you press it, instead of the `items` speed dial. `close()` closes it."}],"exposed":[],"types":[{"name":"SpeedDialItem","source":"export interface SpeedDialItem {\n icon: string\n label?: string\n to?: string | Record<string, any>\n onClick?: () => void\n}"}]},{"name":"MFabMenu","import":"@m3ui-vue/m3ui-vue","description":"The M3 \"FAB Menu\" — a thin wrapper around `MFab`'s `#content` slot, so opening/closing, the icon's 45° morph, outside-click, and scroll-away are all inherited from `MFab` — this component only supplies the row list. Unlike the small circular buttons of a speed dial (`MFab`'s `items` prop), each row is a full icon+label pill, revealed one at a time starting from the item closest to the FAB.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Trigger FAB's Material Symbol icon — use a symmetric one like 'add', since MFab rotates it 45° on open (turning a + into a ×)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Shows the trigger as an extended FAB (icon + text) instead of icon-only.","model":false},{"name":"items","type":"FabMenuItem[]","required":true,"default":null,"description":"The menu's items; see `FabMenuItem`. An item's own color overrides the menu's color for just that row.","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme applied to both the trigger FAB and every menu item row","model":false},{"name":"size","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"Trigger FAB size — independent from `itemSize` below.","model":false},{"name":"itemSize","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"large\"","description":"Menu item row size — independent from the trigger FAB's own `size`.","model":false},{"name":"direction","type":"\"up\" | \"down\"","required":false,"default":"\"up\"","description":"Which side of the FAB the menu list opens toward","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"end\"","description":"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","model":false},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Dim the rest of the screen while the menu is open","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep the menu open after clicking an item or clicking outside","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the trigger FAB","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"FabMenuItem","source":"export interface FabMenuItem {\n icon: string\n label: string\n to?: string | Record<string, any>\n onClick?: () => void\n disabled?: boolean\n /** Overrides the menu's own `color` for just this row. */\n color?: 'primary' | 'secondary' | 'tertiary' | 'surface'\n}"}]},{"name":"MFileUpload","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop file upload zone with image previews, per-file size formatting, and progress/status display. It only selects files: uploading them is up to you, and each entry's status and progress show how it's going.","props":[{"name":"accept","type":"string","required":false,"default":null,"description":"Accepted file types (e.g. \".png,.jpg\", \"image/*\")","model":false},{"name":"multiple","type":"boolean","required":false,"default":"false","description":"Allow multiple files","model":false},{"name":"maxSize","type":"number","required":false,"default":null,"description":"Max file size in bytes — oversized files are silently filtered out","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the upload area","model":false},{"name":"dropText","type":"string","required":false,"default":null,"description":"Drop zone main text (defaults to the locale string)","model":false},{"name":"selectText","type":"string","required":false,"default":null,"description":"Drop zone select link text (defaults to the locale string)","model":false},{"name":"maxSizePrefix","type":"string","required":false,"default":null,"description":"Prefix shown before the formatted max size (defaults to the locale string)","model":false},{"name":"removeLabel","type":"string","required":false,"default":null,"description":"Aria label for each file row's remove button (defaults to the locale string)","model":false},{"name":"modelValue","type":"UploadFile[]","required":false,"default":null,"description":"Optional v-model. Bind it to own the list: clear it, or update each entry's status/progress. Unbound, the component keeps the list itself.","model":true}],"events":[{"name":"update:modelValue","args":"UploadFile[]","description":"Emitted with the new list whenever files are added, removed or cleared (v-model)"},{"name":"select","args":"UploadFile[]","description":"Emitted with the newly accepted files whenever files are added (drop or picker)"},{"name":"remove","args":"UploadFile","description":"Emitted when a file is removed from the list with its remove button"}],"slots":[{"name":"dropzone","bindings":null,"description":"Replaces the default icon + text content of the drop zone"},{"name":"actions","bindings":"{ files: UploadFile[]; clear: () => void; }","description":"Shown below the list while it has files, e.g. an \"Upload\" button."}],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"files","type":"UploadFile[]","description":""}],"types":[{"name":"UploadFile","source":"export interface UploadFile {\n file: File\n id: string\n progress: number\n status: 'pending' | 'uploading' | 'done' | 'error'\n preview?: string\n}"}]},{"name":"MFixed","import":"@m3ui-vue/m3ui-vue","description":"Same API as MAbsolute but uses `position: fixed`. Positions elements relative to the viewport, not a positioned ancestor.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px)","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MFlex","import":"@m3ui-vue/m3ui-vue","description":"A thin, prop-driven wrapper around CSS flexbox — direction, alignment, justification, gap, and wrap.","props":[{"name":"direction","type":"\"row\" | \"column\" | \"row-reverse\" | \"column-reverse\"","required":false,"default":"\"row\"","description":"Flex direction","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment (align-items)","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"between\" | \"around\" | \"evenly\" | \"end\"","required":false,"default":"\"start\"","description":"Main-axis alignment (justify-content)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Gap between items","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The flex items."}],"exposed":[],"types":[]},{"name":"MFloorPlan","import":"@m3ui-vue/m3ui-vue","description":"A floor plan of tables: to arrange them (`editable`: drag one or several, snapped to a grid, arrows nudge) and to run service (each table colored by its status, with a badge, a click to open it). Merged tables are drawn as one group. Positions are plan units scaled to the component's width, so the same plan fits a phone and a wall screen. Not an M3 spec component. Editing: drag tables (Shift-click picks several), zones (resize by any corner), walls (drag a corner once picked; double-click a wall for a new corner) and decor (resize by its corner); rotate the picked table or decor by the handle above it (15° steps, Shift for free). Arrows nudge, Delete removes what's picked (a wall's picked corner, or the selected tables), Ctrl+D duplicates, Ctrl+Z / Ctrl+Shift+Z undo and redo. `v-model:picked` says which zone, wall or decor is picked, for an inspector of your own.","props":[{"name":"width","type":"number","required":false,"default":"1000","description":"The plan's size in plan units","model":false},{"name":"height","type":"number","required":false,"default":"600","description":"","model":false},{"name":"statuses","type":"Record<string, FloorStatus>","required":false,"default":"{\n free: { label: \"Free\", color: \"surface\" },\n occupied: { label: \"Occupied\", color: \"primary\", icon: \"restaurant\" },\n bill: { label: \"Bill requested\", color: \"tertiary\", icon: \"receipt_long\" },\n reserved: { label: \"Reserved\", color: \"secondary\", icon: \"event\" },\n}","description":"Status keys to their look","model":false},{"name":"editable","type":"boolean","required":false,"default":"false","description":"Drag tables around; otherwise a click opens one","model":false},{"name":"grid","type":"number","required":false,"default":"10","description":"Grid step in plan units (0: no snapping)","model":false},{"name":"showGrid","type":"boolean","required":false,"default":"true","description":"Draw the grid while editing","model":false},{"name":"tableSnap","type":"\"point\" | \"cell\"","required":false,"default":"\"point\"","description":"Where a table's middle snaps: `point` a grid point (default), `cell` the middle of a grid square, so tables sit in the squares between the points while walls, zones and decor snap to the points (a plan of cells)","model":false},{"name":"subgrid","type":"number","required":false,"default":"1","description":"Snapping steps per grid square for walls, zones and decor: 2 puts them on the points and halfway between them (tables keep to the grid). Drawn as smaller dots","model":false},{"name":"chairs","type":"boolean","required":false,"default":"true","description":"Draw chairs from `seats`","model":false},{"name":"measure","type":"FloorMeasure","required":false,"default":null,"description":"Real lengths: while editing, the picked wall's or zone's sides, the wall being drawn, and the picked table's or decor's size are labeled in your unit (the inspector's sizes too)","model":false},{"name":"seatNumbers","type":"boolean","required":false,"default":null,"description":"Number the chairs (1 from the top-left, clockwise); in service a click on one emits `seat-click`","model":false},{"name":"decorKinds","type":"Record<string, FloorDecorKind>","required":false,"default":null,"description":"Decor kinds of yours, or the built-in ones restyled (merged over them by name)","model":false},{"name":"rotatable","type":"boolean | (\"table\" | \"decor\")[]","required":false,"default":"true","description":"What the turning handle turns: everything (`true`), nothing, or only these kinds (`['decor']` when your app keeps no tables' angles)","model":false},{"name":"cellSize","type":"number","required":false,"default":null,"description":"Tables placed by cell: their `x` / `y` are a column and a row (whole numbers from 0), each cell this many plan units wide. A table's middle sits in the middle of its cell and steps a cell at a time, and every table you get back (`update:tables`, `move`, events, slots) is in columns and rows. Zones, walls and decor stay in plan units","model":false},{"name":"zoomable","type":"boolean","required":false,"default":"false","description":"Zoom and pan: Ctrl + wheel or a pinch zooms (from the plan's own size up to `maxZoom`), the wheel, two fingers, a middle-button drag or (outside editing, or with a finger) a drag on empty floor pans, with + / − / fit buttons","model":false},{"name":"maxZoom","type":"number","required":false,"default":"4","description":"","model":false},{"name":"zoomControls","type":"boolean","required":false,"default":"true","description":"The zoom buttons, when zoomable","model":false},{"name":"backgroundImage","type":"string","required":false,"default":null,"description":"An image under everything (a scanned floor plan to trace over), placed in plan units (default: the whole plan)","model":false},{"name":"backgroundBox","type":"{ x: number; y: number; width: number; height: number; }","required":false,"default":null,"description":"","model":false},{"name":"backgroundOpacity","type":"number","required":false,"default":"0.5","description":"Its opacity","model":false},{"name":"tableOrigin","type":"\"center\" | \"corner\"","required":false,"default":"\"center\"","description":"Which point of a table `x` / `y` name: its middle (default) or its top-left corner (unturned), as your data keeps it","model":false},{"name":"overlap","type":"\"warn\" | \"allow\" | \"prevent\"","required":false,"default":"\"warn\"","description":"Tables that overlap while editing: `warn` outlines them (default), `prevent` also undoes a move or a resize that would make one overlap another, `allow` says nothing","model":false},{"name":"resizeSnap","type":"\"grid\" | \"free\" | \"subgrid\"","required":false,"default":"\"free\"","description":"How a resize handle steps (tables and decor): `grid` whole grid squares, `subgrid` the snapping step of walls and zones (`subgrid`), `free` not at all. The change steps, not the size: a table drawn a little smaller than its square keeps that margin and grows by whole squares","model":false},{"name":"resizable","type":"boolean","required":false,"default":"true","description":"The handle that resizes the selected table (off when your tables keep one size)","model":false},{"name":"dragMerged","type":"boolean","required":false,"default":"false","description":"Dragging (or nudging) a merged table moves its whole merge with it","model":false},{"name":"selectable","type":"\"none\" | \"multiple\" | \"single\"","required":false,"default":"\"none\"","description":"What a click on a table selects outside editing: nothing, one, or several (toggling; to merge them). While editing, `multiple` keeps clicks toggling tables in and out of the selection, and a drag moves the table pressed on its own (to bring the ones being merged together)","model":false},{"name":"transferable","type":"boolean","required":false,"default":null,"description":"In service, a table carried onto another one emits `transfer` (to move its party, its bill): a mouse drags it, a finger holds it down first. The table itself doesn't move","model":false},{"name":"canTransfer","type":"((from: FloorTable, to: FloorTable) => string | boolean)","required":false,"default":null,"description":"Whether a table's party may go to another table: `true`, or `false` / a reason (`transfer-refused` carries it)","model":false},{"name":"canMerge","type":"((ids: (string | number)[]) => string | boolean)","required":false,"default":null,"description":"Whether these tables may be merged: `true`, or `false` / a reason to refuse (shown by `merge-refused`)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name","model":false},{"name":"tables","type":"FloorTable[]","required":false,"default":"[]","description":"The tables as you keep them: plan units, or cells (`cellSize`), by their middle or corner (`tableOrigin`)","model":true},{"name":"merges","type":"FloorMerge[]","required":false,"default":"[]","description":"","model":true},{"name":"selection","type":"(string | number)[]","required":false,"default":"[]","description":"","model":true},{"name":"areas","type":"FloorArea[]","required":false,"default":"[]","description":"","model":true},{"name":"walls","type":"FloorWall[]","required":false,"default":"[]","description":"","model":true},{"name":"decor","type":"FloorDecor[]","required":false,"default":"[]","description":"","model":true},{"name":"tool","type":"\"select\" | \"area\" | \"polygon\" | \"wall\"","required":false,"default":"\"select\"","description":"While editing: `select` moves things, `wall` draws a wall (click each corner, double-click or Enter to end), `area` drags out a rectangular zone, `polygon` draws a zone of any shape corner by corner (click the first corner, double-click or Enter to close it)","model":true},{"name":"picked","type":"FloorPick","required":false,"default":"null","description":"While editing: the zone, wall (and corner) or decor item picked, for an inspector of your own","model":true},{"name":"zoom","type":"number","required":false,"default":"1","description":"Zoom (1: the whole plan; up to `maxZoom`), with `zoomable`","model":true}],"events":[{"name":"split","args":"merge: FloorMerge","description":""},{"name":"update:tool","args":"value: \"select\" | \"area\" | \"polygon\" | \"wall\"","description":""},{"name":"update:selection","args":"value: (string | number)[]","description":""},{"name":"update:tables","args":"value: FloorTable[]","description":""},{"name":"update:merges","args":"value: FloorMerge[]","description":""},{"name":"update:areas","args":"value: FloorArea[]","description":""},{"name":"update:walls","args":"value: FloorWall[]","description":""},{"name":"update:decor","args":"value: FloorDecor[]","description":""},{"name":"update:picked","args":"value: FloorPick","description":""},{"name":"update:zoom","args":"value: number","description":""},{"name":"merge","args":"merge: FloorMerge","description":""},{"name":"merge-refused","args":"ids: (string | number)[], reason: string","description":""},{"name":"transfer","args":"from: FloorTable, to: FloorTable","description":""},{"name":"seat-click","args":"table: FloorTable, seat: number, event: MouseEvent","description":""},{"name":"transfer-refused","args":"from: FloorTable, to: FloorTable, reason: string","description":""},{"name":"table-click","args":"table: FloorTable, event: MouseEvent | KeyboardEvent","description":"A table was clicked or opened with Enter (not after a drag)"},{"name":"move","args":"moved: { id: string | number; x: number; y: number; }[]","description":"Tables moved by a drag or the arrows, with their new positions (`{ id, x, y }[]`), to save them"}],"slots":[{"name":"area","bindings":"{ area: FloorArea; picked: boolean; scale: number; }","description":""},{"name":"decor","bindings":"{ item: FloorDecor; kind: FloorDecorKind; picked: boolean; scale: number; }","description":""},{"name":"merge","bindings":"{ merge: FloorMerge; tables: (string | number)[]; }","description":""},{"name":"table","bindings":"{ table: FloorTable; status: FloorStatus | undefined; selected: boolean; }","description":"The inside of a table: `{ table, status, selected }`"},{"name":"overlay","bindings":"{ scale: number; toPx: (v: number) => number; }","description":""}],"exposed":[{"name":"context","type":"FloorPlanContext","description":"Everything above and more, for MFloorPlanToolbar / MFloorPlanInspector outside the plan (`:plan=\"plan\"`)"},{"name":"addTable","type":"(t?: Partial<FloorTable>) => FloorTable","description":""},{"name":"addDecor","type":"(kind: string, d?: Partial<FloorDecor>) => FloorDecor","description":""},{"name":"update","type":"(kind: FloorItemKind, id: string | number, patch: Record<string, unknown>) => void","description":""},{"name":"removeSelected","type":"() => void","description":""},{"name":"merge","type":"(ids?: (string | number)[], label?: string | undefined) => FloorMerge | null","description":"Merge tables (default: the selection) / split a merge (by its id or a table's)"},{"name":"split","type":"(idOrTable: string | number) => void","description":""},{"name":"undo","type":"() => void","description":"Undo / redo the plan's own edits (also Ctrl+Z, Ctrl+Shift+Z or Ctrl+Y)"},{"name":"redo","type":"() => void","description":""},{"name":"canUndo","type":"boolean","description":""},{"name":"canRedo","type":"boolean","description":""},{"name":"duplicate","type":"() => void","description":"Copy the selected tables, or the picked zone or decor (also Ctrl+D)"},{"name":"removeTables","type":"(ids: (string | number)[]) => void","description":"Remove tables, taking them out of their merges (Delete does it for the selection)"},{"name":"zoomTo","type":"(z: number, px?: number | undefined, py?: number | undefined) => void","description":"Zoom (with `zoomable`): to a level, keeping the plan point under (px, py) in place; and centering on a plan point"},{"name":"centerOn","type":"(x: number, y: number, z?: number) => void","description":""},{"name":"toSVG","type":"() => string","description":"The plan as a standalone SVG string, or a PNG Blob (`pixelRatio` px per plan unit)"},{"name":"toPNG","type":"(pixelRatio?: number) => Promise<Blob>","description":""}],"types":[{"name":"FloorTable","source":"/** A table on the plan, in plan units (not pixels) */\nexport interface FloorTable {\n id: string | number\n label: string\n x: number\n y: number\n shape?: 'round' | 'square' | 'rect'\n seats?: number\n /** Size in plan units (default: from the shape and the seats) */\n width?: number\n height?: number\n /** Degrees */\n rotation?: number\n /** A key of `statuses` */\n status?: string\n /** A small badge: minutes seated, the total, a count… */\n badge?: string | number\n /** Seats taken (numbered from 1, clockwise from the top-left), drawn in the status color */\n activeSeats?: number[]\n data?: Record<string, unknown>\n}"},{"name":"FloorMerge","source":"/** Tables joined together (drawn as one group) */\nexport interface FloorMerge {\n id: string | number\n tables: (string | number)[]\n label?: string\n}"},{"name":"FloorStatus","source":"/** How a status looks: an M3 color role ('primary', 'tertiary', 'error'…) or any CSS color, an icon, a name */\nexport interface FloorStatus {\n label: string\n color: string\n icon?: string\n}"},{"name":"FloorArea","source":"/** A zone of the room (terrace, main hall, VIP): a rectangle behind the tables */\nexport interface FloorArea {\n id: string | number\n label?: string\n x: number\n y: number\n width: number\n height: number\n /** An M3 color role or any CSS color */\n color?: string\n /**\n * A zone of any shape (an L-shaped room): its corners. x / y / width / height are then the box around them, kept up\n * to date. Double-click a rectangular zone's edge to give it corners\n */\n points?: [number, number][]\n}"},{"name":"FloorWall","source":"/** A wall: a line through its points */\nexport interface FloorWall {\n id: string | number\n points: [number, number][]\n thickness?: number\n}"},{"name":"FloorDecor","source":"/** Something on the plan that isn't a table: a door, a window, a plant, a column, the register, a text label… */\nexport interface FloorDecor {\n id: string | number\n /** A built-in kind, or one of yours from `decorKinds` */\n kind: FloorDecorBuiltin | (string & {})\n x: number\n y: number\n width?: number\n height?: number\n rotation?: number\n /** Mirrored across its length: a door hinged on the other side */\n flip?: boolean\n /** The text of a label (or a caption under the others) */\n label?: string\n}"},{"name":"FloorPick","source":"/** What's picked on the plan besides tables: a zone, a wall (and one of its corners, as a zone of any shape) or a decor item */\nexport type FloorPick = { kind: 'area' | 'wall' | 'decor'; id: string | number; vertex?: number } | null"},{"name":"FloorDecorKind","source":"/** How a decor kind looks: its default size, an icon, a shape and fill; yours or a built-in one restyled */\nexport interface FloorDecorKind {\n /** Name, for the accessible label */\n label?: string\n icon?: string\n width: number\n height: number\n /**\n * `box` a rounded rectangle, `round` a circle, `bar` a thin slab, `door` an opening with its leaf and swing (as on an\n * architect's plan), `window` a framed pane, `text` the item's label only. A door or window cuts the wall it sits on\n */\n shape?: 'box' | 'round' | 'bar' | 'door' | 'window' | 'text'\n /** Fill: an M3 color role (`surface`, `primary`…) or any CSS color */\n color?: string\n}"},{"name":"FloorDecorBuiltin","source":"export type FloorDecorBuiltin = 'door' | 'window' | 'plant' | 'column' | 'restroom' | 'kitchen' | 'register' | 'stairs' | 'label'"},{"name":"FloorMeasure","source":"/** Real lengths for the plan: `per` plan units make one `unit` (100 and 'm': a plan unit is a centimeter) */\nexport interface FloorMeasure {\n unit: string\n per: number\n /** Decimals shown (default 2) */\n decimals?: number\n}"}]},{"name":"MFloorPlanInspector","import":"@m3ui-vue/m3ui-vue","description":"Edits what's picked on an MFloorPlan: a table (name, seats, shape, angle; split it if merged), several tables (merge them), a zone (name, color), a wall (thickness, delete a corner) or decor (text, size, angle, a door's side); duplicate and delete. A slot per kind adds fields of your own below the built-in ones, with an `update` to change the item (an undo step). Inside the plan's `#overlay` slot it finds the plan by itself; anywhere else, pass the plan's template ref as `plan`. Not an M3 spec component.","props":[{"name":"plan","type":"FloorPlanContext | { context: FloorPlanContext; } | null","required":false,"default":"null","description":"The plan: its template ref (or its `context`). Not needed inside the plan's slots","model":false},{"name":"zoneColors","type":"string[]","required":false,"default":"[\"secondary\", \"tertiary\", \"primary\", \"success\", \"error\"]","description":"Colors offered for zones: M3 color roles or CSS colors","model":false},{"name":"merging","type":"boolean","required":false,"default":"true","description":"Merge and split buttons","model":false}],"events":[],"slots":[{"name":"table","bindings":"{ table: FloorTable; update: (p: Partial<FloorTable>) => void; }","description":"Below a table's fields: `{ table, update }`"},{"name":"tables","bindings":"{ ids: (string | number)[]; }","description":"Below several picked tables: `{ ids }`"},{"name":"area","bindings":"{ area: FloorArea; update: (p: Partial<FloorArea>) => void; }","description":"Below a zone's fields: `{ area, update }`"},{"name":"wall","bindings":"{ wall: FloorWall; update: (p: Partial<FloorWall>) => void; }","description":"Below a wall's fields: `{ wall, update }`"},{"name":"decor","bindings":"{ item: FloorDecor; kind: FloorDecorKind | undefined; update: (p: Partial<FloorDecor>) => void; }","description":"Below a decor item's fields: `{ item, kind, update }`"},{"name":"empty","bindings":null,"description":"When nothing is picked"}],"exposed":[],"types":[]},{"name":"MFloorPlanToolbar","import":"@m3ui-vue/m3ui-vue","description":"A toolbar for editing an MFloorPlan: move / draw a wall / drag out a zone / draw a zone of any shape, add a table (your presets) or decor (any kind, yours too), duplicate, delete, undo and redo. Inside the plan's `#overlay` slot it finds the plan by itself; anywhere else, pass the plan's template ref as `plan`. Not an M3 spec component.","props":[{"name":"plan","type":"FloorPlanContext | { context: FloorPlanContext; } | null","required":false,"default":"null","description":"The plan: its template ref (or its `context`). Not needed inside the plan's slots","model":false},{"name":"tables","type":"FloorTablePreset[]","required":false,"default":"[\n { shape: \"round\", seats: 2 },\n { shape: \"round\", seats: 4 },\n { shape: \"square\", seats: 4 },\n { shape: \"rect\", seats: 6 },\n]","description":"Tables offered by Add a table (name, shape, seats, size…); `[]` hides it, when your app creates tables elsewhere","model":false},{"name":"decor","type":"string[]","required":false,"default":null,"description":"Decor kinds offered (default: every kind the plan knows, yours included)","model":false},{"name":"tools","type":"boolean","required":false,"default":"true","description":"Move / wall / zone","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"More controls at the start"},{"name":"end","bindings":null,"description":"More controls at the end"}],"exposed":[],"types":[{"name":"FloorTablePreset","source":"/** A table offered by the toolbar's Add a table menu */\nexport type FloorTablePreset = Partial<FloorTable> & { name?: string }"}]},{"name":"MFlow","import":"@m3ui-vue/m3ui-vue/flow","description":"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.","props":[{"name":"nodes","type":"FlowNode<any>[]","required":false,"default":"[]","description":"","model":true},{"name":"edges","type":"FlowEdge<any>[]","required":false,"default":"[]","description":"","model":true},{"name":"viewport","type":"FlowViewport","required":false,"default":null,"description":"The view (v-model)","model":true},{"name":"selection","type":"FlowSelection","required":false,"default":null,"description":"Selected node and edge ids (v-model)","model":true},{"name":"locked","type":"boolean","required":false,"default":"false","description":"Switches off moving, connecting, selecting and deleting; the view still pans and zooms (v-model)","model":true},{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Which way edges run by default: where the default node's handles go and the layout's direction","model":false},{"name":"background","type":"\"none\" | \"grid\" | \"dots\"","required":false,"default":"\"dots\"","description":"","model":false},{"name":"gridSize","type":"number","required":false,"default":"20","description":"The background's spacing, and the grid nodes snap to, px","model":false},{"name":"snapToGrid","type":"boolean","required":false,"default":"false","description":"","model":false},{"name":"minZoom","type":"number","required":false,"default":"0.2","description":"","model":false},{"name":"maxZoom","type":"number","required":false,"default":"4","description":"","model":false},{"name":"fitView","type":"boolean","required":false,"default":"false","description":"Fits the nodes in view once they're measured, and again after each automatic `layout`","model":false},{"name":"wheel","type":"\"pan\" | \"zoom\"","required":false,"default":"\"pan\"","description":"What the plain wheel does (Ctrl + wheel always zooms)","model":false},{"name":"zoomOnDoubleClick","type":"boolean","required":false,"default":"true","description":"A double click on the background zooms in","model":false},{"name":"panOnDrag","type":"boolean","required":false,"default":"true","description":"Dragging the background pans; off, it draws a selection box","model":false},{"name":"selectionOnDrag","type":"boolean","required":false,"default":"false","description":"Dragging the background draws a selection box (Shift + drag always does)","model":false},{"name":"nodesDraggable","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"nodesConnectable","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"elementsSelectable","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"edgesReconnectable","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"edgesReroutable","type":"boolean","required":false,"default":"false","description":"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","model":false},{"name":"defaultEdgeOptions","type":"Partial<FlowEdge<any>>","required":false,"default":null,"description":"Merged into edges made by connecting (`type`, `animated`, `markerEnd`…)","model":false},{"name":"autoConnect","type":"boolean","required":false,"default":"true","description":"Adds an edge to `edges` when a connection is made; off, only `connect` fires","model":false},{"name":"isValidConnection","type":"((c: FlowConnection) => boolean)","required":false,"default":null,"description":"Whether a connection may be made (no duplicates or same-node loops are offered either way)","model":false},{"name":"connectionRadius","type":"number","required":false,"default":"24","description":"How close to a handle a connection snaps to it, px","model":false},{"name":"beforeDelete","type":"((items: { nodes: FlowNode<any>[]; edges: FlowEdge<any>[]; }) => boolean | Promise<boolean>)","required":false,"default":null,"description":"Asked before anything is deleted (the keyboard, an edge's ×, an edge dropped on nothing, `remove()`), with what would go: return false to keep it, or a Promise (a confirm dialog) that resolves to whether to delete","model":false},{"name":"deleteKeys","type":"string[] | null","required":false,"default":"[\"Delete\", \"Backspace\"]","description":"Keys that delete the selection; `null` turns deleting off","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo (Ctrl+Z, Ctrl+Shift+Z / Ctrl+Y), over every change to nodes and edges","model":false},{"name":"historySize","type":"number","required":false,"default":"100","description":"","model":false},{"name":"guides","type":"boolean","required":false,"default":"true","description":"Alignment guides while dragging one node","model":false},{"name":"layout","type":"\"tree\" | \"layered\" | FlowLayout | null","required":false,"default":"null","description":"Lays the nodes out when the graph's shape changes (nodes or edges added, removed, hidden)","model":false},{"name":"layoutOptions","type":"FlowLayoutOptions","required":false,"default":null,"description":"","model":false},{"name":"insertOnEdge","type":"boolean","required":false,"default":"true","description":"A node with no connections dropped onto an edge splices into it: A → C becomes A → B → C (the edge lights up while it's over one). Only when both new connections are valid. Without room between A and C, the node moves to sit after A and C moves on (with everything after it) along the flow's `direction`","model":false},{"name":"dropIntoGroups","type":"boolean","required":false,"default":"false","description":"Nodes dropped onto a `group` join it (and leave it when dropped outside)","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Positions spring to their new place when they change from outside","model":false},{"name":"getId","type":"((kind: \"edge\" | \"node\") => string)","required":false,"default":null,"description":"Makes ids for pasted nodes and new edges","model":false},{"name":"edgeBranching","type":"boolean | \"junction\"","required":false,"default":"false","description":"A drag that starts on an edge draws a new edge from the same source, a branch, as in a circuit editor (the preview leaves from where you grabbed it). A click still selects the edge; with a finger, only a selected edge branches, so a swipe across one still pans. `'junction'`: the branch leaves from the very point you grabbed, as in Logisim: nothing is added, `branch` fires with that point on the edge, and you split the edge there with a junction node of your own (or leave a loose end where it was dropped on nothing)","model":false},{"name":"nativeContextMenu","type":"boolean","required":false,"default":"false","description":"Let the browser's own context menu open on the canvas (right click, or a long press on a phone). Off by default: the `*-contextmenu` events still fire, for a menu of your own (MContextMenu's `showAt`). Text fields inside nodes always keep it, for copy and paste","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"The canvas's accessible name","model":false}],"events":[{"name":"delete","args":"{ nodes: FlowNode<any>[]; edges: FlowEdge<any>[]; }","description":"Nodes and edges were deleted: `{ nodes, edges }`"},{"name":"update:selection","args":"FlowSelection","description":""},{"name":"update:viewport","args":"FlowViewport","description":""},{"name":"update:nodes","args":"FlowNode<any>[]","description":""},{"name":"update:edges","args":"FlowEdge<any>[]","description":""},{"name":"update:locked","args":"boolean","description":""},{"name":"connect","args":"FlowConnection","description":"A connection was made (it's also added to `edges` with `autoConnect`)"},{"name":"connect-start","args":"{ nodeId: string; handleId: string | null; type: \"source\" | \"target\"; }","description":"A connection drag started from a handle"},{"name":"branch","args":"{ edge: FlowEdge<any>; connection: FlowConnection | null; position: FlowXY; direction: FlowPosition; end: FlowXY; routes?: { before: number[]; after: number[]; } | undefined; }","description":"A branch was dragged off an edge (edgeBranching) and dropped: `{ edge, connection, position, direction, end }`, the connection null when it was dropped on nothing, `position` the point on the edge where it was grabbed (on the grid along the edge with snapToGrid), `direction` the way the edge runs there toward its target, `end` where it was dropped, and for an edge with its own `route`, `routes` that keep each half's shape. With `'junction'` this is all that happens: split the edge with a node there whose handles are at `position=\"auto\"`, the first half arriving with `targetPosition` opposite to `direction` and the second leaving with `sourcePosition: direction`, so it runs on straight through"},{"name":"connect-end","args":"{ connection: FlowConnection | null; position: FlowXY; from: { nodeId: string; handleId: string | null; type: \"source\" | \"target\"; }; }","description":"A connection drag ended: `{ connection }` when it connected, else the flow `position` it was dropped at and where it came from"},{"name":"reconnect","args":"{ edge: FlowEdge<any>; connection: FlowConnection; }","description":"An edge's end was moved to another handle: `{ edge, connection }`"},{"name":"reroute","args":"edge: FlowEdge<any>","description":"A segment of an edge was dragged (`edgesReroutable`): the edge with its new `route`"},{"name":"insert","args":"{ node: FlowNode<any>; edge: FlowEdge<any>; connections: [FlowConnection, FlowConnection]; }","description":"A lone node was dropped onto an edge and spliced in: `{ node, edge, connections }` (with `autoConnect` the edge is replaced by the two connections, keeping its type and look)"},{"name":"node-click","args":"FlowNode<any>, MouseEvent","description":"/ node-dblclick / node-contextmenu `(node, event)`"},{"name":"node-dblclick","args":"FlowNode<any>, MouseEvent","description":""},{"name":"node-contextmenu","args":"FlowNode<any>, MouseEvent","description":""},{"name":"node-drag-start","args":"FlowNode<any>[], PointerEvent","description":"/ node-drag `(nodes, event)`"},{"name":"node-drag","args":"FlowNode<any>[], PointerEvent","description":""},{"name":"node-drag-stop","args":"{ nodes: FlowNode<any>[]; intersecting: FlowNode<any>[]; event: PointerEvent; }","description":"`{ nodes, intersecting, event }`: `intersecting` are the nodes under the dragged one"},{"name":"edge-click","args":"FlowEdge<any>, MouseEvent","description":"/ edge-dblclick / edge-contextmenu `(edge, event)`"},{"name":"edge-dblclick","args":"FlowEdge<any>, MouseEvent","description":""},{"name":"edge-contextmenu","args":"FlowEdge<any>, MouseEvent","description":""},{"name":"pane-click","args":"FlowXY, MouseEvent","description":"/ pane-dblclick / pane-contextmenu `(position, event)` with the flow position (turn `zoomOnDoubleClick` off to use the double click yourself, e.g. to add a node there)"},{"name":"pane-contextmenu","args":"FlowXY, MouseEvent","description":""},{"name":"pane-dblclick","args":"FlowXY, MouseEvent","description":""},{"name":"init","args":"FlowContext","description":"The canvas measured its nodes (and laid out / fitted them): the flow context"}],"slots":[{"name":"empty","bindings":null,"description":"Shown while there are no nodes"},{"name":"default","bindings":"{ flow: FlowInternals; }","description":"Drawn over the canvas: MFlowControls, MFlowMinimap, panels of yours. Props: `{ flow }`"}],"exposed":[{"name":"size","type":"{ width: number; height: number; }","description":"Canvas size in px"},{"name":"getNode","type":"(id: string) => FlowNode<any> | undefined","description":""},{"name":"getAbsolutePosition","type":"(id: string) => FlowXY","description":"A node's top left corner in flow coordinates, its parents added, where it's drawn right now"},{"name":"getSize","type":"(id: string) => { width: number; height: number; }","description":"A node's measured (or set) size"},{"name":"getIntersectingNodes","type":"(node: string | { x: number; y: number; width: number; height: number; }) => FlowNode<any>[]","description":"Nodes overlapping this one (or a rectangle in flow coordinates), groups and its own family left out"},{"name":"getEdgeAt","type":"(p: FlowXY, opts?: { radius?: number | undefined; ignore?: ((e: FlowEdge<any>) => boolean) | undefined; } | undefined) => FlowEdgeHit | null","description":"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"},{"name":"screenToFlow","type":"(p: { x: number; y: number; }) => FlowXY","description":"Page (client) coordinates → flow coordinates"},{"name":"flowToScreen","type":"(p: FlowXY) => { x: number; y: number; }","description":""},{"name":"setViewport","type":"(v: Partial<FlowViewport>, opts?: { animate?: boolean | undefined; } | undefined) => void","description":""},{"name":"setCenter","type":"(x: number, y: number, opts?: { zoom?: number | undefined; animate?: boolean | undefined; } | undefined) => void","description":"Centers the view on a flow point, at `zoom` or the current zoom"},{"name":"zoomIn","type":"() => void","description":""},{"name":"zoomOut","type":"() => void","description":""},{"name":"zoomTo","type":"(zoom: number, opts?: { animate?: boolean | undefined; } | undefined) => void","description":""},{"name":"addNodes","type":"(nodes: FlowNode<any> | FlowNode<any>[]) => void","description":""},{"name":"addEdges","type":"(edges: FlowEdge<any> | FlowEdge<any>[]) => void","description":""},{"name":"change","type":"(next: { nodes?: FlowNode<any>[] | undefined; edges?: FlowEdge<any>[] | undefined; }) => void","description":"Several changes as one undoable step (nodes and edges added, changed or removed together): each list given replaces the current one"},{"name":"updateNode","type":"(id: string, patch: Partial<FlowNode<any>> | ((n: FlowNode<any>) => FlowNode<any>)) => void","description":""},{"name":"updateEdge","type":"(id: string, patch: Partial<FlowEdge<any>> | ((e: FlowEdge<any>) => FlowEdge<any>)) => void","description":""},{"name":"remove","type":"(ids: { nodes?: string[] | undefined; edges?: string[] | undefined; }) => void","description":"Deletes nodes (with their edges and children) and edges by id"},{"name":"setSelection","type":"(sel: Partial<FlowSelection>) => void","description":""},{"name":"undo","type":"() => void","description":""},{"name":"redo","type":"() => void","description":""},{"name":"canUndo","type":"boolean","description":""},{"name":"canRedo","type":"boolean","description":""},{"name":"copy","type":"() => void","description":""},{"name":"cut","type":"() => void","description":""},{"name":"paste","type":"(at?: FlowXY | undefined) => void","description":"Pastes what was copied, at a flow point (default a step from the originals)"},{"name":"startDrag","type":"(id: string, e: PointerEvent) => void","description":"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)"}],"types":[]},{"name":"MFlowControls","import":"@m3ui-vue/m3ui-vue/flow","description":"Zoom, fit and lock buttons over an MFlow, as an M3 floating toolbar (put it in MFlow's default slot). Undo and redo with `history`; a delete button shows while something deletable is selected (`delete`). Not an M3 spec component.","props":[{"name":"position","type":"FlowPanelPosition","required":false,"default":"\"bottom-left\"","description":"","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"","model":false},{"name":"zoom","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"fit","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"lock","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"history","type":"boolean","required":false,"default":"false","description":"Undo and redo buttons","model":false},{"name":"delete","type":"boolean","required":false,"default":"true","description":"A delete button while something deletable is selected (touch has no Delete key)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"More buttons at the end"}],"exposed":[],"types":[]},{"name":"MFlowHandle","import":"@m3ui-vue/m3ui-vue/flow","description":"A connection point on a node in MFlow: drag from it to another node's handle to connect them. Sits centered on its node's side (`position`); move it with your own classes or style (it's measured where it ends up). Give each an `id` when a node has several of a type. Only inside a node (MFlowNode, or a `#node-<type>` slot).","props":[{"name":"type","type":"\"source\" | \"target\"","required":false,"default":"\"source\"","description":"`source`: edges leave from it; `target`: they arrive","model":false},{"name":"position","type":"\"auto\" | FlowPosition","required":false,"default":null,"description":"Its side; `'auto'` sits in the node's middle (or where you put it) and each edge leaves or arrives on the side facing its other end","model":false},{"name":"id","type":"string","required":false,"default":null,"description":"","model":false},{"name":"connectable","type":"boolean","required":false,"default":"true","description":"","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MFlowMinimap","import":"@m3ui-vue/m3ui-vue/flow","description":"A small overview of an MFlow (put it in MFlow's default slot): every node as a block, the part in view outlined. Drag or click in it to move the view there; the wheel zooms. Not an M3 spec component.","props":[{"name":"position","type":"FlowPanelPosition","required":false,"default":"\"bottom-right\"","description":"","model":false},{"name":"width","type":"number","required":false,"default":"200","description":"","model":false},{"name":"height","type":"number","required":false,"default":"140","description":"","model":false},{"name":"nodeColor","type":"((node: FlowNode<any>) => string)","required":false,"default":null,"description":"A node's fill (any CSS color); default outline-variant, primary when selected","model":false},{"name":"pannable","type":"boolean","required":false,"default":"true","description":"Drag and click move the view","model":false},{"name":"zoomable","type":"boolean","required":false,"default":"true","description":"The wheel zooms","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MFlowNode","import":"@m3ui-vue/m3ui-vue/flow","description":"MFlow's default node, also for `#node-<type>` slots of your own: an M3 card with an icon, a label and a subtitle, and a handle on each side edges run through (target where they arrive, source where they leave; the sides follow MFlow's `direction` or the node's `sourcePosition`/`targetPosition`). Selected it gets a primary outline; lifted while dragged (elevation level 4, like MKanban's cards). Not an M3 spec component.","props":[{"name":"label","type":"string","required":false,"default":null,"description":"","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"neutral\"","required":false,"default":"\"primary\"","description":"The icon container's color role","model":false},{"name":"handles","type":"\"none\" | \"source\" | \"target\" | \"both\"","required":false,"default":"\"both\"","description":"Which handles it draws","model":false},{"name":"sourcePosition","type":"FlowPosition","required":false,"default":null,"description":"","model":false},{"name":"targetPosition","type":"FlowPosition","required":false,"default":null,"description":"","model":false}],"events":[],"slots":[{"name":"icon","bindings":null,"description":"Instead of the `icon`"},{"name":"trailing","bindings":null,"description":"At the end of the header (a status, a menu button). Controls in it don't start a drag"},{"name":"default","bindings":null,"description":"Below the header, inside the card"}],"exposed":[],"types":[]},{"name":"MFooter","import":"@m3ui-vue/m3ui-vue","description":"Page footer with slots for brand, content, social links, and a bottom bar. Responsive padding adapts to screen size.","props":[{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a top border (border-outline-variant)","model":false},{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"inverse\"","required":false,"default":"\"default\"","description":"Background surface color","model":false}],"events":[],"slots":[{"name":"brand","bindings":null,"description":"Logo and tagline area (top)"},{"name":"default","bindings":null,"description":"Main content area (navigation columns, etc.)"},{"name":"social","bindings":null,"description":"Social media icon buttons (flex row with gap)"},{"name":"bottom","bindings":null,"description":"Bottom bar with copyright / legal links (separated by a top border)"}],"exposed":[],"types":[]},{"name":"MFullscreen","import":"@m3ui-vue/m3ui-vue","description":"Fills the entire viewport (or parent when `fixed=false`). Useful for loading screens, splash pages, or modal backdrops.","props":[{"name":"fixed","type":"boolean","required":false,"default":"true","description":"Use position: fixed to fill the viewport instead of the parent element","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that goes full screen."}],"exposed":[],"types":[]},{"name":"MGantt","import":"@m3ui-vue/m3ui-vue/gantt","description":"A Gantt chart: a task list (a tree, with columns) beside a timeline of bars you drag to move, pull at the ends to resize, and join with dependencies. Not an M3 spec component: M3 parts (containers, state layers, motion) on the layout planning tools share (MS Project, GanttProject, Frappe Gantt). Tasks are a `v-model` of plain objects (`GanttTask`): dates as `YYYY-MM-DD` (whole days) or datetimes, `progress`, `parentId` for summaries (their dates roll up), `dependencies` (finish-to-start, start-to-start, finish-to-finish, start-to-finish, with a lag), milestones and a baseline. The zoom runs from hours to years (`v-model:scale`, Ctrl + wheel, a pinch); the timeline scrolls both ways, rows and columns rendered only near the view. Editing: drag a bar to move it (with a mouse, or a short press with a finger), its ends to resize it, the triangle under it to set the progress, the dots at its ends onto another bar to make a dependency (which end you leave and reach picks the type); click or tap a dependency for its × to remove it (or Delete). A summary moves with its tasks; selected bars move together. With `schedule=\"auto\"` the tasks that depend on one follow it. Rows reorder by dragging them in the list (onto the middle of a row to put it inside). Every edit is undoable (Ctrl+Z / Ctrl+Shift+Z). Keyboard (in the list): arrows move and expand/collapse, Alt + ←/→ moves the task a step, Alt + Shift + ←/→ changes its end, Alt + ↑/↓ reorders it, Ctrl + ] / [ indents and outdents it, F2 renames, Enter opens it (`task-dblclick`), Delete deletes.","props":[{"name":"tasks","type":"GanttTask<any>[]","required":false,"default":"[]","description":"","model":true},{"name":"scale","type":"TimeUnit","required":false,"default":"\"day\"","description":"The zoom as a named level; `v-model:scale` follows Ctrl + wheel, pinches and MGanttControls","model":true},{"name":"pxPerDay","type":"number","required":false,"default":null,"description":"The starting zoom in px per day, between the named levels (instead of `scale`'s)","model":false},{"name":"selection","type":"string[]","required":false,"default":null,"description":"Selected task ids (`v-model:selection`)","model":true},{"name":"collapsed","type":"string[]","required":false,"default":null,"description":"Ids of tasks whose children are hidden (`v-model:collapsed`)","model":true},{"name":"columns","type":"GanttColumn[]","required":false,"default":null,"description":"The task list's columns (default name, start and duration); `[]` hides the list","model":false},{"name":"gridWidth","type":"number","required":false,"default":null,"description":"The task list's width, px (`v-model:grid-width`; drag its edge)","model":true},{"name":"rowHeight","type":"number","required":false,"default":"40","description":"","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"No editing: drag, resize, link, reorder, rename and delete off","model":false},{"name":"schedule","type":"\"auto\" | \"manual\"","required":false,"default":"\"manual\"","description":"`'auto'`: tasks that depend on a moved one follow it (`scheduleTasks` in push mode)","model":false},{"name":"calendar","type":"GanttCalendar","required":false,"default":null,"description":"Working days: shaded when they aren't, and counted by `schedule=\"auto\"` (default Monday to Friday, no holidays)","model":false},{"name":"criticalPath","type":"boolean","required":false,"default":"false","description":"Highlights the tasks and dependencies whose delay delays the end","model":false},{"name":"baselines","type":"boolean","required":false,"default":"false","description":"Draws each task's `baselineStart`/`baselineEnd` under it","model":false},{"name":"today","type":"string | null","required":false,"default":null,"description":"Today, for the line across the timeline (default now; `null` hides it)","model":false},{"name":"snap","type":"number","required":false,"default":null,"description":"Minutes a datetime task snaps to (default by zoom); date-only tasks always snap to days","model":false},{"name":"weekStartsOn","type":"0 | 1","required":false,"default":"1","description":"","model":false},{"name":"minPxPerDay","type":"number","required":false,"default":"0.15","description":"Zoom bounds, px per day","model":false},{"name":"maxPxPerDay","type":"number","required":false,"default":"2400","description":"","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for dates (Intl); default the app's","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name","model":false},{"name":"beforeDelete","type":"((tasks: GanttTask<any>[]) => boolean | Promise<boolean>)","required":false,"default":null,"description":"Asked before deleting; return false (or a promise of it) to keep them","model":false}],"events":[{"name":"link","args":"{ from: string; to: string; type: NonNullable<\"FS\" | \"SS\" | \"FF\" | \"SF\" | undefined>; }","description":"A dependency was drawn: `{ from, to, type }` (it's also added to the task)"},{"name":"delete","args":"{ tasks: GanttTask<any>[]; }","description":"Tasks were deleted: `{ tasks }`"},{"name":"update:selection","args":"string[]","description":""},{"name":"change","args":"{ tasks: GanttTask<any>[]; kind: \"progress\" | \"reorder\" | \"move\" | \"resize\" | \"rename\"; }","description":"A drag or a key changed tasks: `{ tasks, kind }` with the changed tasks and `'move' | 'resize' | 'progress' | 'reorder' | 'rename'`"},{"name":"update:tasks","args":"GanttTask<any>[]","description":""},{"name":"update:scale","args":"TimeUnit","description":""},{"name":"update:collapsed","args":"string[]","description":""},{"name":"update:gridWidth","args":"number","description":""},{"name":"task-click","args":"GanttTask<any>, MouseEvent","description":"/ task-dblclick / task-contextmenu `(task, event)`"},{"name":"task-dblclick","args":"GanttTask<any>, MouseEvent | KeyboardEvent","description":""},{"name":"task-contextmenu","args":"GanttTask<any>, MouseEvent","description":""},{"name":"unlink","args":"{ from: string; to: string; }","description":"A dependency was removed: `{ from, to }`"}],"slots":[{"name":"cell-name","bindings":"{ task: GanttTask<any>; value: string; }","description":""},{"name":"default","bindings":"{ gantt: GanttContext; }","description":"Above the chart: MGanttControls, filters of yours. Props: `{ gantt }`"},{"name":"bar","bindings":"{ task: GanttTask<any>; selected: boolean; critical: boolean; }","description":"A bar's content instead of its label. Props: `{ task, selected, critical }`"},{"name":"empty","bindings":null,"description":"Shown while there are no tasks"},{"name":"tooltip","bindings":"{ task: GanttTask<any>; slack: number | undefined; }","description":"The card shown over a hovered or dragged bar. Props: `{ task, slack }`"}],"exposed":[{"name":"canUndo","type":"boolean","description":""},{"name":"canRedo","type":"boolean","description":""},{"name":"undo","type":"() => void","description":""},{"name":"redo","type":"() => void","description":""},{"name":"zoomIn","type":"() => void","description":""},{"name":"zoomOut","type":"() => void","description":""},{"name":"setScale","type":"(scale: TimeUnit) => void","description":""},{"name":"scrollToDate","type":"(date?: string | undefined, opts?: { align?: \"center\" | \"start\" | undefined; animate?: boolean | undefined; } | undefined) => void","description":"Scrolls so a date (default now) sits at the view's `align` (default center)"},{"name":"scrollToTask","type":"(id: string) => void","description":"Scrolls a task into view, its row and its bar"},{"name":"toggle","type":"(id: string, expanded?: boolean | undefined) => void","description":""},{"name":"expandAll","type":"() => void","description":""},{"name":"collapseAll","type":"() => void","description":""},{"name":"setSelection","type":"(ids: string[]) => void","description":""},{"name":"addTasks","type":"(tasks: GanttTask<any> | GanttTask<any>[], opts?: { after?: string | undefined; } | undefined) => void","description":"Adds tasks (after `after`, or at the end); undoable"},{"name":"updateTask","type":"(id: string, patch: Partial<GanttTask<any>> | ((t: GanttTask<any>) => GanttTask<any>)) => void","description":""},{"name":"removeTasks","type":"(ids: string[]) => void","description":"Deletes tasks with their children and the dependencies on them"},{"name":"link","type":"(from: string, to: string, type?: \"FS\" | \"SS\" | \"FF\" | \"SF\" | undefined, lag?: number | undefined) => void","description":"Makes `to` depend on `from`"},{"name":"unlink","type":"(from: string, to: string) => void","description":""},{"name":"dateAt","type":"(clientX: number) => string","description":"The date (snapped) under a page x"}],"types":[]},{"name":"MGanttControls","import":"@m3ui-vue/m3ui-vue/gantt","description":"A toolbar for an MGantt or an MResourceTimeline (put it in their default slot): the zoom as named scales, zoom in and out, today, expand and collapse all, undo and redo. Not an M3 spec component.","props":[{"name":"scales","type":"TimeUnit[]","required":false,"default":"[\"day\", \"week\", \"month\", \"quarter\"]","description":"The scales offered as a segmented button (`[]` hides it)","model":false},{"name":"zoom","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"today","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"fold","type":"boolean","required":false,"default":"true","description":"Expand all / collapse all","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"More controls at the start"},{"name":"end","bindings":null,"description":"More controls at the end"}],"exposed":[],"types":[]},{"name":"MGrid","import":"@m3ui-vue/m3ui-vue","description":"A responsive CSS grid with per-breakpoint column counts.","props":[{"name":"cols","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":"1","description":"Default column count","model":false},{"name":"sm","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at sm breakpoint","model":false},{"name":"md","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at md breakpoint","model":false},{"name":"lg","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at lg breakpoint","model":false},{"name":"xl","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at xl breakpoint","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false},{"name":"alignItems","type":"\"center\" | \"start\" | \"end\" | \"stretch\"","required":false,"default":"\"stretch\"","description":"Vertical alignment","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The grid items."}],"exposed":[],"types":[]},{"name":"MHotkeys","import":"@m3ui-vue/m3ui-vue","description":"Registers global keyboard shortcuts for as long as it's mounted, with an optional on-screen overlay listing them grouped by category.","props":[{"name":"bindings","type":"HotkeyBinding[]","required":true,"default":null,"description":"Array of key combos to register globally; see `HotkeyBinding`","model":false},{"name":"showOverlay","type":"boolean","required":false,"default":"false","description":"Render a visible list of the registered shortcuts (otherwise the component is invisible and only listens)","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"HotkeyBinding","source":"export interface HotkeyBinding {\n keys: string\n label: string\n handler: () => void\n group?: string\n disabled?: boolean\n}"}]},{"name":"MIcon","import":"@m3ui-vue/m3ui-vue","description":"Renders a Material Symbols Outlined glyph by name. Color follows the surrounding text color (set it with a Tailwind text-* class). Decorative by default: hidden from assistive technology, which would otherwise read the glyph's ligature text (its name, e.g. \"arrow_drop_down\"). Give it a `label` when the icon says something on its own.","props":[{"name":"name","type":"string","required":true,"default":null,"description":"Material Symbol name (e.g. \"settings\", \"favorite\")","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Icon size in px","model":false},{"name":"filled","type":"boolean","required":false,"default":"false","description":"Filled glyph (the Material Symbols FILL axis), as M3 draws a selected icon","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"What the icon means, when nothing next to it says so: makes it an image with this name instead of decoration","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MIconButton","import":"@m3ui-vue/m3ui-vue","description":"A button that shows only an icon — four visual styles, the same 5-tier expressive sizing as MButton. Give it `checked` (v-model:checked) and it becomes M3's icon toggle button.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label (its aria-label; no visible tooltip: wrap it in MTooltip for one)","model":false},{"name":"variant","type":"\"standard\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"standard\"","description":"Visual style","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":null,"description":"An M3 role or any CSS color (`#fff` over a photo, `rgb(0 0 0 / 0.3)` for a scrim-like filled button, `currentColor` to follow the surrounding text). Standard and outlined use it for the icon; filled for the container with white (or the role's on-color) on it; tonal for a 20% container with the color on it. Disabled buttons and toggles keep their own colors","model":false},{"name":"contentColor","type":"string","required":false,"default":null,"description":"Icon color over what the variant and `color` give: an M3 role (`on-surface`…) or any CSS color (`#000` on a white filled button). Disabled buttons and toggles keep their own","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier icon button sizing (xs:32, sm:40, md:56, lg:96, xl:136), or a custom pixel value","model":false},{"name":"iconSize","type":"number","required":false,"default":null,"description":"Icon size in px. Default the size tier's (or 55% of a custom pixel `size`)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false},{"name":"checked","type":"boolean","required":false,"default":null,"description":"Makes it a toggle button (v-model:checked): selected colors, a filled icon, and a shape that morphs when pressed and when checked. Leave it unset for a plain icon button","model":true},{"name":"checkedIcon","type":"string","required":false,"default":null,"description":"Icon shown while checked, when it differs from `icon` (e.g. 'pause' for 'play_arrow')","model":false},{"name":"iconFilled","type":"boolean","required":false,"default":null,"description":"Draw the icon filled (Material Symbols' FILL axis) without making it a toggle, e.g. media controls","model":false}],"events":[{"name":"update:checked","args":"boolean","description":"Emitted on click when `checked` is set — powers v-model:checked"}],"slots":[],"exposed":[],"types":[]},{"name":"MImageCropper","import":"@m3ui-vue/m3ui-vue","description":"An image cropper: the picture fitted in its box with a crop frame you drag and resize by its corners and edges (a rule-of-thirds grid while you do), locked to an `aspect` or free, square or round (`shape=\"circle\"` for avatars). Rotate a quarter turn at a time and flip; the frame follows. Not an M3 spec component: M3 parts after Google Photos' crop tool. `v-model:crop` is the frame in the rotated picture's own pixels (`{ x, y, width, height }`), `v-model:rotation` (0, 90, 180, 270, applied after the mirror) and `v-model:flipped` (the picture mirrored left to right before it turns). The template ref's `toCanvas()` / `toBlob()` draw the result, at the crop's size or one you give (`width`, `height`, `maxSize`), round with a transparent outside for `circle`. `src` takes a URL, a `File` or a `Blob` (e.g. from MFileUpload); a picture from another origin must allow it (CORS) to be exported, and gets `crossorigin=\"anonymous\"`. Keyboard (on the frame): arrows move it, Shift + arrows resize it (10 px steps with Alt).","props":[{"name":"src","type":"string | Blob | null","required":false,"default":"null","description":"The picture: a URL, a File or a Blob","model":false},{"name":"crop","type":"CropRect | null","required":false,"default":"null","description":"The frame, in the rotated picture's pixels (`v-model:crop`)","model":true},{"name":"aspect","type":"number | null","required":false,"default":"null","description":"Width over height (1 square, 16 / 9…); null is free","model":true},{"name":"aspects","type":"CropAspect[]","required":false,"default":null,"description":"Aspects offered in the toolbar as chips (`v-model:aspect` follows them)","model":false},{"name":"rotation","type":"0 | 90 | 180 | 270","required":false,"default":"0","description":"Quarter turns clockwise in degrees (`v-model:rotation`)","model":true},{"name":"flipped","type":"boolean","required":false,"default":"false","description":"Mirrored left to right (`v-model:flipped`)","model":true},{"name":"shape","type":"\"circle\" | \"rect\"","required":false,"default":"\"rect\"","description":"","model":false},{"name":"minSize","type":"number","required":false,"default":"24","description":"The frame's smallest side, in the picture's px","model":false},{"name":"guides","type":"\"drag\" | \"always\" | \"never\"","required":false,"default":"\"drag\"","description":"The rule-of-thirds grid: while dragging (default), always or never","model":false},{"name":"controls","type":"boolean","required":false,"default":"true","description":"The toolbar under the picture","model":false},{"name":"alt","type":"string","required":false,"default":"\"\"","description":"Accessible name of the picture","model":false}],"events":[{"name":"error","args":"Event","description":"The picture didn't load"},{"name":"change","args":"CropRect","description":"A drag or a key changed the crop (after `update:crop`): the crop"},{"name":"update:crop","args":"CropRect","description":""},{"name":"update:aspect","args":"number | null","description":""},{"name":"update:rotation","args":"0 | 90 | 180 | 270","description":""},{"name":"update:flipped","args":"boolean","description":""},{"name":"load","args":"{ width: number; height: number; }","description":"The picture loaded: `{ width, height }` (its natural size)"}],"slots":[{"name":"controls","bindings":"{ rotate: (dir: 1 | -1) => void; flip: () => void; reset: () => void; aspect: number | null; setAspect: (a: number | null) => void; }","description":"Instead of the toolbar under the picture. Props: `{ rotate, flip, reset, aspect, setAspect }`"}],"exposed":[{"name":"toCanvas","type":"(options?: CropOutputOptions) => HTMLCanvasElement | null","description":""},{"name":"toBlob","type":"(options?: CropOutputOptions & { type?: string | undefined; quality?: number | undefined; }) => Promise<Blob | null>","description":""},{"name":"rotate","type":"(dir: 1 | -1) => void","description":""},{"name":"flip","type":"() => void","description":""},{"name":"reset","type":"() => void","description":""},{"name":"setAspect","type":"(a: number | null) => void","description":""}],"types":[{"name":"CropRect","source":"export interface CropRect { x: number; y: number; width: number; height: number }"},{"name":"CropAspect","source":"export interface CropAspect { label: string; value: number | null }"},{"name":"CropOutputOptions","source":"export interface CropOutputOptions {\n /** The result's size in px; one alone keeps the crop's proportions (default the crop's own size) */\n width?: number\n height?: number\n /** The longest side at most, px */\n maxSize?: number\n /** Round, transparent outside (default true for `shape=\"circle\"`) */\n circle?: boolean\n}"}]},{"name":"MInfiniteScroll","import":"@m3ui-vue/m3ui-vue","description":"Wraps a scrollable list and emits load when an IntersectionObserver sentinel at the bottom becomes visible — hand it your own fetch-more logic.","props":[{"name":"loading","type":"boolean","required":false,"default":"false","description":"Currently loading more items — shows the loading slot","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disable the load trigger entirely (no observer attached)","model":false},{"name":"threshold","type":"number","required":false,"default":"100","description":"Distance in px from the sentinel before it triggers load","model":false},{"name":"loadingText","type":"string","required":false,"default":null,"description":"Text shown while loading (defaults to the locale string, 'Loading...')","model":false},{"name":"endText","type":"string","required":false,"default":null,"description":"Text shown when ended (defaults to the locale string, 'No more items')","model":false},{"name":"ended","type":"boolean","required":false,"default":"false","description":"No more items to load — shows the end slot and stops observing","model":false}],"events":[{"name":"load","args":"","description":"Emitted when the sentinel scrolls into view and more items should be fetched"}],"slots":[{"name":"default","bindings":null,"description":"The content list itself"},{"name":"loading","bindings":null,"description":"Custom loading indicator, shown when loading is true"},{"name":"end","bindings":null,"description":"Custom end-of-list content, shown when ended is true"},{"name":"idle","bindings":null,"description":"Content shown when neither loading nor ended (empty by default)"}],"exposed":[],"types":[]},{"name":"MJsonEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A JSON-aware editor built on top of MCodeEditor — validates as you type and adds format/minify shortcuts.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"JSON data (v-model, any valid JSON)","model":true},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Min height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Max height","model":false},{"name":"labels","type":"JsonEditorLabels","required":false,"default":null,"description":"Overrides for the valid/invalid badge and format/minify button text (see `JsonEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the parsed value whenever the text is valid JSON — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"JsonEditorLabels","source":"export interface JsonEditorLabels {\n valid?: string\n invalid?: string\n format?: string\n minify?: string\n}"}]},{"name":"MJsonViewer","import":"@m3ui-vue/m3ui-vue","description":"A read-only, recursively expandable tree view for inspecting JSON-compatible data.","props":[{"name":"data","type":"unknown","required":true,"default":null,"description":"Data to display (any JSON-compatible value)","model":false},{"name":"rootName","type":"string","required":false,"default":"\"root\"","description":"Name for the root node","model":false},{"name":"expandDepth","type":"number","required":false,"default":"2","description":"Levels to expand by default","model":false},{"name":"labels","type":"JsonViewerLabels","required":false,"default":null,"description":"Overrides for the collapsed-node summary text (see `JsonViewerLabels`) — defaults come from useLocale()","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"JsonViewerLabels","source":"export interface JsonViewerLabels {\n elements?: string\n fields?: string\n}"}]},{"name":"MKanban","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop board. Cards lift and follow the pointer, the others make room, and a dashed slot shows where the card will land. Works with a mouse, a finger (long-press a card) and the keyboard; the board scrolls sideways on its own when you drag near its edges.","props":[{"name":"modelValue","type":"KanbanColumn[]","required":true,"default":null,"description":"Columns with their cards (v-model). Required","model":true},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown in a column with no cards (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"KanbanColumn[]","description":"Emitted after a card moves, by pointer or keyboard (v-model)"},{"name":"cardMove","args":"{ cardId: string | number; fromColumn: string | number; toColumn: string | number; toIndex: number; }","description":"Emitted alongside update:modelValue with where the card went. Not emitted when a card is dropped back where it was"},{"name":"cardClick","args":"{ card: KanbanCard; columnId: string | number; }","description":"Emitted when a card is clicked or Enter is pressed on it. Not emitted at the end of a drag"}],"slots":[{"name":"card","bindings":"{ card: KanbanCard; column: KanbanColumn; dragging: boolean; }","description":"Content of each card. column is the full KanbanColumn; dragging is true while the card is lifted. Buttons, links and inputs inside keep working: they never start a drag or fire cardClick. Add data-kanban-action to any other element (a badge, a span) to give it the same treatment, so a click there can do something else instead of opening the card"},{"name":"column-header","bindings":"{ column: KanbanColumn; count: number; }","description":"Replaces the default header (color dot, title and count)"},{"name":"column-footer","bindings":"{ column: KanbanColumn; }","description":"Content below each column's cards, e.g. an \"Add card\" button"}],"exposed":[],"types":[{"name":"KanbanColumn","source":"export interface KanbanColumn {\n id: string | number\n title: string\n cards: KanbanCard[]\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n /** Optional WIP limit: the header shows count/limit and turns error-colored when exceeded. */\n limit?: number\n}"},{"name":"KanbanCard","source":"export interface KanbanCard {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MKbd","import":"@m3ui-vue/m3ui-vue","description":"Displays a keyboard shortcut as styled key chips. Purely presentational — pairs well with MHotkeys or MCommandPalette to show the shortcut that triggers an action.","props":[{"name":"keys","type":"string | string[]","required":true,"default":null,"description":"A '+'-delimited string (\"Ctrl+Shift+K\") or an array of keys (['Ctrl', 'Shift', 'K']).","model":false},{"name":"size","type":"\"sm\" | \"md\" | \"lg\"","required":false,"default":"\"md\"","description":"Key chip size","model":false},{"name":"separator","type":"string","required":false,"default":"\"+\"","description":"Separator rendered between keys","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLightbox","import":"@m3ui-vue/m3ui-vue","description":"A full-screen image viewer in the style of Google Photos. Images grow out of the picture you tapped and shrink back into it, you swipe between them with the next one already in view, zoom with a double tap or a pinch, and drag one down to close. Tapping the image hides the bars. Wrap your content and it finds the `<img>` elements by itself, or pass items.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"false","description":"v-model — open/closed state","model":true},{"name":"items","type":"LightboxItem[]","required":false,"default":null,"description":"Explicit gallery. Omit it to auto-detect `<img>` elements rendered in the default slot instead.","model":false},{"name":"index","type":"number","required":false,"default":"0","description":"v-model:index — current image index","model":true},{"name":"loop","type":"boolean","required":false,"default":"true","description":"Wrap around when navigating past the first/last image","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Overrides the close button aria-label (defaults to the active locale)","model":false},{"name":"showThumbnails","type":"boolean","required":false,"default":"false","description":"Show a row of clickable thumbnails at the bottom for jumping directly to an image.","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Round the corners of the opened image.","model":false},{"name":"zoom","type":"boolean","required":false,"default":"true","description":"Allow zooming (double tap / double click, pinch, wheel, + and - keys).","model":false},{"name":"maxZoom","type":"number","required":false,"default":"4","description":"Largest zoom factor.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Fires when the lightbox opens or closes"},{"name":"change","args":"index: number","description":"Fires alongside update:index with the new index"},{"name":"update:index","args":"number","description":"Fires whenever the current index changes (next/prev/goTo/auto-detected image click)"}],"slots":[{"name":"default","bindings":null,"description":"Content to scan for `<img>` elements when items is not given"},{"name":"actions","bindings":"{ item: LightboxItem; index: number; }","description":"Extra buttons in the top bar (download, share, info…)."}],"exposed":[{"name":"open","type":"(i?: number, sourceEl?: HTMLElement | undefined) => void","description":""},{"name":"close","type":"() => void","description":""},{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""}],"types":[{"name":"LightboxItem","source":"export interface LightboxItem {\n src: string\n alt?: string\n caption?: string\n}"}]},{"name":"MList","import":"@m3ui-vue/m3ui-vue","description":"A vertical list container (MList) with rich, flexible rows (MListItem) and optional section headers (MListSubheader) — one-line to three-line items, leading/trailing elements, selection, navigation, segmented, and expandable variants. MListGroup splits a list into groups (separate rounded runs in a segmented list).","props":[{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact vertical padding on child items","model":false},{"name":"dividers","type":"boolean | \"inset\"","required":false,"default":"false","description":"Show separators between items — 'inset' aligns the line past a leading icon/avatar","model":false},{"name":"nav","type":"boolean","required":false,"default":"false","description":"Navigation variant with rounded (pill) active items, ideal for drawers","model":false},{"name":"segmented","type":"boolean","required":false,"default":"false","description":"Segmented style — items each get an individual rounded background instead of a flat list","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable single-item selection — items compare their value prop against selected","model":false},{"name":"selected","type":"string | number | null","required":false,"default":null,"description":"Currently selected item value (v-model:selected)","model":true},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Default line count for child items that don't set their own lines prop","model":false}],"events":[{"name":"update:selected","args":"value: string | number | null","description":"Fires when a selectable item is clicked (via v-model:selected)"}],"slots":[{"name":"default","bindings":null,"description":"MListItem / MListSubheader / MListGroup children"}],"exposed":[],"types":[]},{"name":"MListDetail","import":"@m3ui-vue/m3ui-vue","description":"Material 3's list-detail layout: a list of items and the details of the selected one. When there's room (840px and up, the expanded width class) both panes sit side by side; on smaller screens only one shows, the detail sliding in over the list when you open an item and back out on `back()`. It measures its own width, so it adapts inside a column or a dialog too. Both panes stay mounted, so the list keeps its scroll position. It has no default size: give it a height so each pane scrolls on its own.","props":[{"name":"showDetail","type":"boolean","required":false,"default":"false","description":"Whether the detail is the current destination. One-pane layouts show it instead of the list.","model":true},{"name":"listWidth","type":"string","required":false,"default":null,"description":"List pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:showDetail","args":"boolean","description":"Emitted with false when the detail slot calls back()"}],"slots":[{"name":"list","bindings":"{ twoPane: boolean; }","description":"The list pane. Scrolls on its own and keeps its scroll position while the detail is open"},{"name":"detail","bindings":"{ twoPane: boolean; back: () => void; }","description":"`back()` returns to the list (sets `showDetail` to false)."}],"exposed":[],"types":[]},{"name":"MListGroup","import":"@m3ui-vue/m3ui-vue","description":"A group of items inside an MList, optionally titled. In a segmented list each group is a rounded run of its own (its first and last items take the large outer corners), set apart from the items and groups around it, like the grouped cards of a settings screen. Elsewhere it only groups and titles its items. Assistive technology announces it as a nested list named by its title.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Heading above the group, styled like MListSubheader","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Align the title with items that have a leading icon (adds left padding)","model":false}],"events":[],"slots":[{"name":"title","bindings":null,"description":"Custom title content, replacing the title prop"},{"name":"default","bindings":null,"description":"MListItem children"}],"exposed":[],"types":[]},{"name":"MListItem","import":"@m3ui-vue/m3ui-vue","description":"A row of an MList: headline with optional overline, supporting text, a leading icon, avatar or image, and trailing text, icon, checkbox or switch. It can be a link, be clickable or expand to show nested items.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Primary text (headline)","model":false},{"name":"overline","type":"string","required":false,"default":null,"description":"Small label above the title","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text (line 2)","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Tertiary text (line 3)","model":false},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Number of text lines — auto-detected from which text props/parent MList lines are set when omitted","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false},{"name":"leading","type":"ListItemLeading","required":false,"default":null,"description":"Leading element type — auto-resolves to 'icon'/'avatar'/'image' from icon/avatarName/image when omitted","model":false},{"name":"avatarName","type":"string","required":false,"default":null,"description":"Name for the avatar (when leading='avatar')","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"Image URL (when leading='image')","model":false},{"name":"iconContainerColor","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":null,"description":"Icon container background color (when leading='icon-container')","model":false},{"name":"trailingIcon","type":"string","required":false,"default":null,"description":"Trailing icon name","model":false},{"name":"trailingText","type":"string","required":false,"default":null,"description":"Trailing text label","model":false},{"name":"trailing","type":"ListItemTrailing","required":false,"default":null,"description":"Trailing element type — auto-resolves from trailingIcon/trailingText when omitted","model":false},{"name":"trailingValue","type":"boolean","required":false,"default":null,"description":"Value for a trailing switch/checkbox (v-model:trailingValue)","model":true},{"name":"value","type":"string | number","required":false,"default":null,"description":"Selection value — compared against the parent MList selected prop","model":false},{"name":"active","type":"boolean","required":false,"default":"false","description":"Force the active/highlighted state regardless of parent list selection","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled state (38% opacity, blocks interaction)","model":false},{"name":"clickable","type":"boolean","required":false,"default":null,"description":"Force interactive styling/behavior (auto-true when href, to, @click, selectable, or expandable apply)","model":false},{"name":"href","type":"string","required":false,"default":null,"description":"Link URL — renders the item as an `<a>`","model":false},{"name":"to","type":"string | object","required":false,"default":null,"description":"Vue Router destination — renders the item as a router-link","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Show an expand/collapse chevron revealing the #children slot","model":false},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Control the expanded state (v-model:expanded) — otherwise managed internally","model":true}],"events":[{"name":"update:expanded","args":"value: boolean","description":"Fires when an expandable item is toggled open/closed"},{"name":"click","args":"e: MouseEvent","description":"Fires on any click, including on an expandable item (right before it toggles)"},{"name":"update:trailingValue","args":"value: boolean","description":"Fires when a trailing switch/checkbox is toggled (trailing='switch' | 'checkbox')"}],"slots":[{"name":"leading","bindings":null,"description":"Custom leading element, replacing the icon/avatar/image/icon-container"},{"name":"overline","bindings":null,"description":"Custom overline content, replacing the overline prop"},{"name":"default","bindings":null,"description":"Custom content replacing the title/subtitle/description text block"},{"name":"children","bindings":null,"description":"Nested content revealed when expandable is set and the item is expanded"},{"name":"trailing","bindings":null,"description":"Custom trailing element, replacing the icon/text/switch/checkbox"}],"exposed":[],"types":[{"name":"ListItemLeading","source":"export type ListItemLeading = 'icon' | 'avatar' | 'checkbox' | 'radio' | 'image' | 'icon-container'"},{"name":"ListItemTrailing","source":"export type ListItemTrailing = 'icon' | 'text' | 'switch' | 'checkbox'"}]},{"name":"MListSubheader","import":"@m3ui-vue/m3ui-vue","description":"A small heading that labels a group of items inside an MList.","props":[{"name":"inset","type":"boolean","required":false,"default":"false","description":"Align with items that have a leading icon (adds left padding)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Subheader text/content"}],"exposed":[],"types":[]},{"name":"MLoadingIndicator","import":"@m3ui-vue/m3ui-vue","description":"The M3 Expressive loading indicator — continuously morphs between rounded shapes (soft burst, cookie, pentagon, pill, sunny, oval) via an underdamped spring while slowly rotating. Comes in a plain and a contained (circle-backed) variant.","props":[{"name":"size","type":"number","required":false,"default":"48","description":"Overall footprint in px. The active shape sits inset within it (38/48 ratio) unless contained, where it scales to 55% of size.","model":false},{"name":"contained","type":"boolean","required":false,"default":"false","description":"Wraps the shape in a filled container circle, and recolors the shape to the OnXContainer role instead of the bare X role","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Active shape (and container, when contained) color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the indicator's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLoadingOverlay","import":"@m3ui-vue/m3ui-vue","description":"A spinner-and-text overlay, either layered on top of a piece of content via the `#content` slot, or covering the whole viewport with `fullscreen`.","props":[{"name":"visible","type":"boolean","required":true,"default":null,"description":"Show/hide the overlay","model":false},{"name":"text","type":"string","required":false,"default":null,"description":"Loading text message shown below the spinner","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Cover the entire viewport via Teleport, instead of overlaying just the #content slot","model":false},{"name":"opaque","type":"boolean","required":false,"default":"false","description":"Solid surface background instead of a translucent, blurred one","model":false},{"name":"spinnerSize","type":"number","required":false,"default":"40","description":"Spinner size in px","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Extra content shown below the spinner/text, in either mode"},{"name":"content","bindings":null,"description":"The content the overlay is layered on top of (only used when fullscreen is false)"}],"exposed":[],"types":[]},{"name":"MMap","import":"@m3ui-vue/m3ui-vue/map","description":"A MapLibre GL map, for any style: a style URL (from an MVT server like mvt-rs, MapTiler, OpenFreeMap…) or a style object. Its controls take the M3 look and the app's locale, the view can be a v-model and remembered between visits, and markers, popups, GeoJSON layers and your own controls go inside it as components. For anything else, the MapLibre map itself is the `ready` event's argument and the `map` of `useMap()` in components placed inside. Available from the `/map` entry point; needs `maplibre-gl` installed and its CSS imported (`maplibre-gl/dist/maplibre-gl.css`). Give it a height. Server-side rendering renders the empty container: MapLibre loads in the browser.","props":[{"name":"mapStyle","type":"string | maplibregl.StyleSpecification","required":true,"default":null,"description":"The map's style: a style JSON URL or a style object (MapLibre's `StyleSpecification`). Changing it reloads the style, keeping what was added at runtime (see `keepLayers`)","model":false},{"name":"keepLayers","type":"boolean | ((layer: maplibregl.LayerSpecification) => boolean)","required":false,"default":"true","description":"What happens to the sources and layers added at runtime (with `useMap()`, or by `MMapGeoJson`, `MMapMeasure`…) when `mapStyle` changes: `true` carries them into the new style, on top of its layers; `false` drops them, as MapLibre does; a function picks the layers to carry (their sources come along)","model":false},{"name":"transformStyle","type":"maplibregl.TransformStyleFunction","required":false,"default":null,"description":"MapLibre's `transformStyle` for a `mapStyle` change, run after `keepLayers`: edit the next style before it loads (copy a layer's paint over, add a sprite…)","model":false},{"name":"center","type":"[number, number]","required":false,"default":null,"description":"`[lng, lat]` (v-model). When left out, the style's (or the remembered view's)","model":true},{"name":"zoom","type":"number","required":false,"default":null,"description":"Zoom level (v-model)","model":true},{"name":"bearing","type":"number","required":false,"default":null,"description":"Rotation in degrees (v-model)","model":true},{"name":"pitch","type":"number","required":false,"default":null,"description":"Tilt in degrees (v-model)","model":true},{"name":"persist","type":"string | boolean","required":false,"default":"false","description":"Remember the view (center, zoom, bearing, pitch) in localStorage and start from it on the next visit: `true` under `m3-map-view` (after `createM3UI`'s `storagePrefix`, if any), or your own key (one per map)","model":false},{"name":"navigation","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Zoom and compass buttons: `false`, or a corner (`true` is top-right)","model":false},{"name":"geolocate","type":"boolean | MapControlPosition","required":false,"default":"false","description":"A button that centers the map on the user's location and follows it: `false`, or a corner (`true` is top-right)","model":false},{"name":"fullscreen","type":"boolean | MapControlPosition","required":false,"default":"false","description":"A fullscreen button: `false`, or a corner (`true` is top-right)","model":false},{"name":"scale","type":"boolean | MapControlPosition","required":false,"default":"true","description":"A metric scale bar: `false`, or a corner (`true` is bottom-left)","model":false},{"name":"attribution","type":"boolean | MapControlPosition","required":false,"default":"true","description":"The credits of the style's sources, an info button that opens into a pill: `false`, or a corner (`true` is bottom-right). Most tile providers require it","model":false},{"name":"options","type":"Partial<Omit<maplibregl.MapOptions, \"container\" | \"style\">>","required":false,"default":null,"description":"Anything else for MapLibre's `Map` constructor (`maxZoom`, `maxBounds`, `cooperativeGestures`…)","model":false},{"name":"adapter","type":"MapAdapter","required":false,"default":null,"description":"Reads the style's conventions (layer names, groups, base layers, what to identify or show on hover) for `MMapLayers`, `MMapBaseLayers`, `MMapIdentify` and `MMapHover`: `genericAdapter`, `orvianAdapter()`, or your own","model":false}],"events":[{"name":"click","args":"event: maplibregl.MapMouseEvent","description":"A click on the map (MapLibre's `MapMouseEvent`: `lngLat`, `point`)"},{"name":"update:zoom","args":"zoom: number","description":"The zoom changed (on `moveend`)"},{"name":"ready","args":"map: maplibregl.Map","description":"The map loaded (with its style), with the MapLibre `Map`"},{"name":"update:center","args":"center: [number, number]","description":"The view moved (on `moveend`): `[lng, lat]`"},{"name":"update:bearing","args":"bearing: number","description":"The rotation changed (on `moveend`)"},{"name":"update:pitch","args":"pitch: number","description":"The tilt changed (on `moveend`)"}],"slots":[{"name":"default","bindings":null,"description":"Map components (`MMapMarker`, `MMapPopup`, `MMapGeoJson`, `MMapControl`) and anything to show over the map, rendered once the map exists"}],"exposed":[{"name":"map","type":"maplibregl.Map | undefined","description":"The MapLibre map, once loaded"},{"name":"context","type":"MapContext","description":"What the components inside it share: pass the `MMap` (or this) as `map` to `MMapLayers`, `useMap()`… outside it"}],"types":[{"name":"MapControlPosition","source":"export type MapControlPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'"}]},{"name":"MMapBaseLayers","import":"@m3ui-vue/m3ui-vue/map","description":"The base layer switcher of an `MMap` with an `adapter`: a round thumbnail per base layer (the adapter's `image`, after `imageBase`), one shown at a time, plus \"no base layer\". Only the thumbnails: put them in an `MMapControl` (`:group=\"false\"`), an `MFab`'s `#content` or a panel, inside the `MMap` or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"imageBase","type":"string","required":false,"default":"\"\"","description":"Prefix for the thumbnails' paths (e.g. `/images/`); full URLs are used as they are","model":false},{"name":"none","type":"boolean","required":false,"default":"true","description":"Offer \"no base layer\"","model":false},{"name":"vertical","type":"boolean","required":false,"default":"false","description":"Lay them out in a column","model":false},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMapControl","import":"@m3ui-vue/m3ui-vue/map","description":"Your own control in a corner of an `MMap`, stacked with MapLibre's (zoom, geolocate…) in that corner. With `group` (the default) it's a control group like the zoom buttons: put `<button>`s with a Material Symbols icon in it and they get the same M3 look. Without it, anything goes (an `MFab`, an `MSearchBar`, a card). With a `#panel` slot it expands in place: a button in it calls `toggle` and the control grows into a panel with your content (a layer picker, filters, a legend), and back. Its size springs whenever its content changes size, so the other controls in the corner move along instead of jumping. Available from the `/map` entry point.","props":[{"name":"position","type":"MapControlPosition","required":false,"default":"\"top-right\"","description":"The corner","model":false},{"name":"group","type":"boolean","required":false,"default":"true","description":"Draw it as a control group (a surface with dividers between buttons), like MapLibre's zoom buttons","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Expanded into its `#panel` (v-model:expanded)","model":true},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Springs the control's size when its content changes size (expanding, or anything else)","model":false}],"events":[{"name":"update:expanded","args":"boolean","description":"Emitted when the panel opens or closes — powers v-model:expanded"}],"slots":[{"name":"panel","bindings":"{ close: () => void; }","description":"What the control expands into (`v-model:expanded`); `{ close }`. Escape or a press outside it closes it"},{"name":"default","bindings":"{ expanded: boolean; toggle: () => void; }","description":"The control's content; `{ expanded, toggle }` when it has a `#panel`"}],"exposed":[],"types":[]},{"name":"MMapFeatureInfo","import":"@m3ui-vue/m3ui-vue/map","description":"Identify results (from `MMapIdentify`'s `identify` event, or `identifyFeatures()`): a card per feature with its layer's name and its formatted properties. `MMapIdentify` shows it in a popup; use it in a panel of your own (an `MWindow`, an `MSideSheet`) the same way. Values are shown as text. Available from the `/map` entry point.","props":[{"name":"results","type":"MapIdentifyResult[]","required":true,"default":null,"description":"What was found","model":false}],"events":[],"slots":[{"name":"value","bindings":"{ field: { key: string; label: string; value: string; }; result: MapIdentifyResult; }","description":"A property's value (scope: `{ field, result }`), e.g. to turn URLs into links"}],"exposed":[],"types":[]},{"name":"MMapFilter","import":"@m3ui-vue/m3ui-vue/map","description":"A simple filter for one layer of an `MMap`: chips for the values of one of its properties; the layer shows only the features with the selected ones (all of them with none selected). The values are `values`, or else the distinct ones among the layer's features loaded in the map. The style's own filter on the layer stays. For anything more involved, build your own on `useMapFilter()`. Inside the `MMap`, or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"layer","type":"string","required":true,"default":null,"description":"The layer's id","model":false},{"name":"property","type":"string","required":true,"default":null,"description":"The property to filter by","model":false},{"name":"values","type":"(string | number)[]","required":false,"default":null,"description":"The values to offer (labels in `labels`); by default the ones found in the layer's loaded features","model":false},{"name":"labels","type":"Record<string, string>","required":false,"default":null,"description":"Labels for the values, by value","model":false},{"name":"modelValue","type":"(string | number)[]","required":false,"default":null,"description":"The selected values (v-model)","model":true},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[{"name":"update:modelValue","args":"values: (string | number)[]","description":""}],"slots":[],"exposed":[],"types":[]},{"name":"MMapGeoJson","import":"@m3ui-vue/m3ui-vue/map","description":"GeoJSON on an `MMap`: a source from `data` (an object, or a URL MapLibre fetches) drawn with `layers`. Without `layers` it draws every geometry in the theme's primary, following palette and dark mode: polygons filled with an outline, lines, and points as circles. Replace `data` (a new object) to update it. It's added again after a style change. Available from the `/map` entry point.","props":[{"name":"data","type":"any","required":true,"default":null,"description":"A GeoJSON object, or the URL of one","model":false},{"name":"id","type":"string","required":false,"default":null,"description":"The source's id (and the prefix of its layers' made-up ids). Unique on the map; generated when left out","model":false},{"name":"layers","type":"MapGeoJsonLayer[]","required":false,"default":null,"description":"How to draw it: MapLibre layers without `source`. Defaults to theme-colored fill, outline, line and circle layers","model":false},{"name":"before","type":"string","required":false,"default":null,"description":"Insert the layers below this layer id (e.g. under the style's labels)","model":false},{"name":"interactive","type":"boolean","required":false,"default":"false","description":"Show a pointer over its features (set it when you handle `click`)","model":false},{"name":"sourceOptions","type":"Partial<Omit<maplibregl.GeoJSONSourceSpecification, \"type\" | \"data\">>","required":false,"default":null,"description":"More options for the GeoJSON source (`cluster`, `promoteId`, `tolerance`…)","model":false}],"events":[{"name":"click","args":"event: maplibregl.MapLayerMouseEvent","description":"A click on one of its features (MapLibre's `MapLayerMouseEvent`: `e.features` holds them)"}],"slots":[],"exposed":[{"name":"sourceId","type":"string","description":"The source's id"},{"name":"layerIds","type":"() => string[]","description":"The ids of its layers on the map"}],"types":[{"name":"MapGeoJsonLayer","source":"/** A layer of `MMapGeoJson`: any MapLibre layer without its `source` (and `id`, made up when left out). */\nexport type MapGeoJsonLayer = DistributiveOmit<Exclude<Maplibre.LayerSpecification, Maplibre.BackgroundLayerSpecification>, 'id' | 'source'> & { id?: string }"}]},{"name":"MMapHover","import":"@m3ui-vue/m3ui-vue/map","description":"Hover info for an `MMap` with an `adapter`: while on (v-model), the layers with `hover` fields show them for the feature under the pointer, in a small popup that follows it. With `control` (on by default) it adds its own on/off button to the map's controls. Pointer devices only: touch has no hover. Available from the `/map` entry point.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"false","description":"On (v-model)","model":true},{"name":"control","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Its on/off button: `false`, or a corner (`true` is top-right)","model":false}],"events":[{"name":"update:modelValue","args":"on: boolean","description":"Turned on or off with its button"}],"slots":[],"exposed":[],"types":[]},{"name":"MMapIdentify","import":"@m3ui-vue/m3ui-vue/map","description":"Click-to-identify for an `MMap` with an `adapter`: a click on the map lists the features of the layers marked to identify under it (with their formatted properties) in a popup, with a marker where the user clicked. The pointer turns into a hand over those layers. The `identify` event carries the results, to show them in a panel of your own instead (`:popup=\"false\"`, then `MMapFeatureInfo` in an `MWindow`). Available from the `/map` entry point.","props":[{"name":"enabled","type":"boolean","required":false,"default":"true","description":"Listen to clicks. It also pauses by itself while another tool owns them (`MMapMeasure` measuring)","model":false},{"name":"popup","type":"boolean","required":false,"default":"true","description":"Show the results in a popup at the click","model":false},{"name":"marker","type":"boolean","required":false,"default":"true","description":"Mark where the user clicked while there are results","model":false}],"events":[{"name":"identify","args":"results: MapIdentifyResult[], lngLat: [number, number]","description":"The user clicked the map: what was found there (empty when nothing) and where (`[lng, lat]`)"}],"slots":[{"name":"default","bindings":"{ results: MapIdentifyResult[]; lngLat: [number, number]; close: () => void; }","description":"The popup's content instead of `MMapFeatureInfo` (scope: `{ results, lngLat, close }`)"}],"exposed":[{"name":"close","type":"() => void","description":""}],"types":[]},{"name":"MMapLayers","import":"@m3ui-vue/m3ui-vue/map","description":"The layer list of an `MMap` with an `adapter`: a search field, the style's groups (collapsible, with a visibility toggle for the whole group and a count) and its layers, each with a visibility toggle and, expanded, its description, an opacity slider, its legend and a download link. Only the content: put it in an `MWindow`, an `MSideSheet`, an `MBottomSheet` or an `MMapControl`, inside the `MMap` or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"search","type":"boolean","required":false,"default":"true","description":"Show the search field","model":false},{"name":"collapsed","type":"boolean","required":false,"default":"false","description":"Groups start collapsed","model":false},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[],"slots":[{"name":"actions","bindings":"{ layer: MapLayerInfo; visible: boolean; }","description":"Extra actions in an expanded layer (scope: `{ layer, visible }`)"}],"exposed":[],"types":[]},{"name":"MMapMarker","import":"@m3ui-vue/m3ui-vue/map","description":"A marker on an `MMap`, at `lngLat`: MapLibre's pin in the theme's primary (or `color`), or your own content from the default slot. With `draggable`, `lngLat` is a v-model. Content in `#popup` opens in a popup when the marker is clicked. Available from the `/map` entry point.","props":[{"name":"lngLat","type":"[number, number]","required":true,"default":null,"description":"Position, `[lng, lat]` (v-model with `draggable`)","model":true},{"name":"color","type":"string","required":false,"default":null,"description":"The pin's color (any CSS color). Defaults to the theme's primary; ignored with custom content","model":false},{"name":"draggable","type":"boolean","required":false,"default":"false","description":"Let the user drag it","model":false},{"name":"anchor","type":"maplibregl.PositionAnchor","required":false,"default":null,"description":"Which part of the marker sits on `lngLat`. By default the pin's tip (MapLibre's placement: its center, offset `[0, -14]`), and the center of custom content","model":false},{"name":"offset","type":"[number, number]","required":false,"default":null,"description":"Offset in pixels, `[x, y]`. The pin's default is MapLibre's `[0, -14]`, which puts its tip on `lngLat`","model":false},{"name":"rotation","type":"number","required":false,"default":"0","description":"Rotation in degrees","model":false}],"events":[{"name":"click","args":"event: MouseEvent","description":"The marker was clicked"},{"name":"update:lngLat","args":"lngLat: [number, number]","description":"Dragged to a new position (`draggable`): `[lng, lat]`"}],"slots":[{"name":"default","bindings":null,"description":"The marker itself, instead of the pin (any element, anchored by `anchor`)"},{"name":"popup","bindings":null,"description":"Content of a popup that opens when the marker is clicked"}],"exposed":[{"name":"marker","type":"() => maplibregl.Marker | undefined","description":"The MapLibre marker"}],"types":[]},{"name":"MMapMeasure","import":"@m3ui-vue/m3ui-vue/map","description":"Distance and area measuring on an `MMap`, with its own control (distance, area, clear). Click to add points (a preview follows the pointer), double-click, Enter or Escape to finish, click the first point to close the shape, or press the active button again (in fullscreen, Escape finishes it too where the browser allows: Chromium). Finished measurements stay editable: drag a vertex, or a midpoint to add one; the ✕ on a total or area deletes that one. Labels show each segment, the total and the area; everything follows the theme. While measuring it owns the map's clicks (`MMapIdentify` waits). Geodesic numbers, the same as turf's. Available from the `/map` entry point.","props":[{"name":"modelValue","type":"Mode | null","required":false,"default":"null","description":"The measuring mode (v-model): `'distance'`, `'area'`, or null. Set it to start measuring from outside","model":true},{"name":"control","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Its buttons: `false` (drive it with v-model), or a corner (`true` is top-right)","model":false}],"events":[{"name":"update:modelValue","args":"mode: Mode | null","description":"The measuring mode changed (`'distance'`, `'area'`, or null when it finished)"},{"name":"change","args":"measurements: { mode: Mode; points: LngLat[]; closed: boolean; length: number; area?: number | undefined; }[]","description":"The measurements changed (added, edited, cleared): each one's points, length in meters and area in m²"}],"slots":[],"exposed":[{"name":"start","type":"(next: Mode) => void","description":""},{"name":"finish","type":"(byEscape?: boolean) => void","description":""},{"name":"clear","type":"() => void","description":""},{"name":"remove","type":"(index: number) => void","description":""}],"types":[{"name":"Mode","source":"type Mode = 'distance' | 'area'"}]},{"name":"MMapPopup","import":"@m3ui-vue/m3ui-vue/map","description":"A popup on an `MMap` at `lngLat`, shown while `open` (v-model): e.g. what the user clicked on. Its content is the default slot, styled as an M3 surface. For a popup that opens from a marker, use `MMapMarker`'s `#popup` slot. Available from the `/map` entry point.","props":[{"name":"lngLat","type":"[number, number]","required":true,"default":null,"description":"Position, `[lng, lat]`","model":false},{"name":"open","type":"boolean","required":false,"default":"true","description":"Shown (v-model)","model":true},{"name":"closeButton","type":"boolean","required":false,"default":"true","description":"Show a close button","model":false},{"name":"closeOnClick","type":"boolean","required":false,"default":"true","description":"Close it when the map is clicked","model":false},{"name":"anchor","type":"maplibregl.PositionAnchor","required":false,"default":null,"description":"Where the popup sits relative to `lngLat`. By default MapLibre picks the side with room","model":false},{"name":"offset","type":"maplibregl.Offset","required":false,"default":null,"description":"Offset from `lngLat`: pixels, `[x, y]`, or one per side (`{ bottom: [0, -38], … }`, MapLibre's `Offset`). By default none: its tip touches the point","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"320px\"","description":"Maximum width (CSS)","model":false}],"events":[{"name":"update:open","args":"open: boolean","description":"Closed by its close button or a click on the map (`closeOnClick`)"}],"slots":[{"name":"default","bindings":null,"description":"The popup's content"}],"exposed":[{"name":"popup","type":"() => maplibregl.Popup | undefined","description":"The MapLibre popup"}],"types":[]},{"name":"MMapSearch","import":"@m3ui-vue/m3ui-vue/map","description":"A place search on an `MMap`: a search card in a corner. Enter searches through `provider` (OpenStreetMap's Nominatim by default, or any function returning places); picking a result flies there (or fits its extent) and marks it. Available from the `/map` entry point.","props":[{"name":"provider","type":"MapSearchProvider","required":false,"default":null,"description":"Where to search: `nominatimProvider(options)` by default, or your own function","model":false},{"name":"position","type":"MapControlPosition","required":false,"default":"\"top-left\"","description":"The corner","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"The field's placeholder (the locale's \"Search places\" by default)","model":false},{"name":"zoom","type":"number","required":false,"default":"17","description":"The zoom to fly to for a result without an extent","model":false},{"name":"marker","type":"boolean","required":false,"default":"true","description":"Mark the picked result","model":false},{"name":"instant","type":"boolean","required":false,"default":"false","description":"Search while typing (debounced), for providers that allow it; Nominatim's public server doesn't","model":false}],"events":[{"name":"select","args":"result: MapSearchResult","description":"A result was picked"}],"slots":[],"exposed":[],"types":[]},{"name":"MMarkdown","import":"@m3ui-vue/m3ui-vue/markdown","description":"Renders markdown source as styled HTML — headings, lists, tables, blockquotes, links, and fenced code blocks with optional syntax highlighting, line highlighting, and a copy button.","props":[{"name":"source","type":"string","required":true,"default":null,"description":"Markdown source text","model":false},{"name":"breaks","type":"boolean","required":false,"default":"true","description":"Convert single newlines to `<br>`","model":false},{"name":"linkify","type":"boolean","required":false,"default":"true","description":"Auto-detect bare URLs and turn them into links","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMaskField","import":"@m3ui-vue/m3ui-vue","description":"A text field with a formatting mask — built-in presets or a custom pattern where `#` stands for a digit.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Masked value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"mask","type":"string","required":true,"default":null,"description":"Mask pattern (# = digit) or a built-in preset name (see `MaskPreset`)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[],"exposed":[{"name":"inputEl","type":"HTMLInputElement | null","description":"The `<input>` (or `<textarea>`) element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the field"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the field"},{"name":"select","type":"() => void | undefined","description":"Selects all its text"},{"name":"setSelectionRange","type":"(start: number, end: number, direction?: \"none\" | \"forward\" | \"backward\" | undefined) => void | undefined","description":"Selects part of its text (e.g. a file name without its extension)"}],"types":[{"name":"MaskPreset","source":"export type MaskPreset = 'credit-card' | 'phone' | 'date' | 'time' | 'cpf' | 'cnpj' | 'zip'"}]},{"name":"MMasonry","import":"@m3ui-vue/m3ui-vue","description":"Pinterest-style column layout that fills the shortest column first. Re-lays out on container resize via `ResizeObserver` and when the slotted content changes.","props":[{"name":"cols","type":"number","required":false,"default":"2","description":"Default column count","model":false},{"name":"smCols","type":"number","required":false,"default":null,"description":"Columns at sm breakpoint (640px)","model":false},{"name":"mdCols","type":"number","required":false,"default":null,"description":"Columns at md breakpoint (768px)","model":false},{"name":"lgCols","type":"number","required":false,"default":null,"description":"Columns at lg breakpoint (1024px)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The items, laid out in columns."}],"exposed":[],"types":[]},{"name":"MMenu","import":"@m3ui-vue/m3ui-vue","description":"A trigger-based dropdown menu, composed with `MMenuItem` and `MMenuDivider`. Items support unlimited-depth nested submenus via the `#children` slot.","props":[{"name":"align","type":"\"right\" | \"left\"","required":false,"default":"\"right\"","description":"Which edge of the trigger the dropdown aligns to.","model":false},{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":"{ open: boolean; }","description":"The element that opens the menu when clicked; `open` tells whether it's open."},{"name":"default","bindings":"{ close: () => void; }","description":"The menu's items (MMenuItem, MMenuDivider or your own markup); `close()` closes the menu."}],"exposed":[{"name":"close","type":"() => void","description":""},{"name":"open","type":"boolean","description":""}],"types":[]},{"name":"MMenuDivider","import":"@m3ui-vue/m3ui-vue","description":"A line between groups of items in an MMenu or MContextMenu; with `gap` in an expressive menu it splits the menu into separate rounded groups.","props":[{"name":"gap","type":"boolean","required":false,"default":"false","description":"Marks this as a group boundary for `MMenu`/`MContextMenu`'s `variant=\"expressive\"` — instead of rendering this divider in place, the parent menu splits its panel into two independently-rounded group boxes with a small gap between them. Has no effect outside an `expressive` menu, where it renders as a normal divider line.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMenuItem","import":"@m3ui-vue/m3ui-vue","description":"An item of an MMenu or MContextMenu: icon, label and a shortcut hint. Put more items in its `#children` slot to make it open a submenu. With `selected` it's one choice of several (Compose's SelectableDropdownMenuItem), with `checked` an on/off setting (CheckableDropdownMenuItem): tertiary-container and rounder while on, with a check that slides in.","props":[{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"shortcut","type":"string","required":false,"default":null,"description":"Keyboard shortcut hint displayed on the right (e.g. \"Ctrl+C\") — hidden when the item has #children","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the item","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Danger/destructive styling (error color)","model":false},{"name":"keepOpen","type":"boolean","required":false,"default":null,"description":"Keep the menu open after this item is clicked. Defaults to true for `checked` items, false otherwise","model":false},{"name":"selected","type":"boolean","required":false,"default":null,"description":"Makes it one choice of several (radio-like): selected look while true. Leave unset for a plain item","model":false},{"name":"checked","type":"boolean","required":false,"default":null,"description":"Makes it an on/off setting (v-model:checked, checkbox-like): checked look while true. Leave unset for a plain item","model":true},{"name":"selectedIcon","type":"string","required":false,"default":null,"description":"Icon shown while selected or checked. Defaults to a check that slides in when the item has no `icon`; with an `icon`, that icon stays and turns filled","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a leaf item (no #children) is clicked. Not emitted for disabled items or for items with #children, since clicking those just opens/toggles the submenu instead."},{"name":"update:checked","args":"boolean","description":"Emitted on click when `checked` is set, with the new value — powers v-model:checked"}],"slots":[{"name":"icon","bindings":"{ on: boolean; }","description":"Replaces the leading icon (an `MIcon` with a class, an image, an avatar…), `{ on }` while selected or checked. It gets the icon's 20px box and color"},{"name":"default","bindings":null,"description":"Item label text."},{"name":"children","bindings":null,"description":"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."}],"exposed":[],"types":[]},{"name":"MMultiAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Multi-value autocomplete with inline search. Type to filter, Enter to toggle, Backspace to remove last chip.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing @debounced. Selection is always instant","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted on selection change — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MMultiSelect","import":"@m3ui-vue/m3ui-vue","description":"Select multiple values with removable chips and an optional in-dropdown search.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (any type — v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when nothing selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search in dropdown","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset all selections","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input in dropdown — defaults to the current locale's string","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match search — defaults to the current locale's string","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted with the new array of selected values."}],"slots":[{"name":"no-results","bindings":null,"description":"Custom content shown in the dropdown when no options match the search query"}],"exposed":[],"types":[{"name":"MultiSelectOption","source":"export interface MultiSelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"A mobile bottom navigation bar with a pill indicator and badge support.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `NavBarItem`)","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"NavBarItem","source":"export interface NavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n}"}]},{"name":"MNavigationDrawer","import":"@m3ui-vue/m3ui-vue","description":"A slide-out or inline drawer of grouped, badge-able, optionally-nested navigation items — modal (Teleported, scrim-backed, swiped closed toward its edge) or inline (participates in layout, supports a collapsed icon-only mode).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"selected","type":"string | number","required":false,"default":null,"description":"Currently selected item value","model":false},{"name":"sections","type":"DrawerSection[]","required":true,"default":null,"description":"Array of sections (see the types below)","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Drawer header title (ignored if the #header slot is used)","model":false},{"name":"modal","type":"boolean","required":false,"default":"true","description":"Modal with a Teleported scrim overlay, or an inline sidebar that participates in normal layout flow","model":false},{"name":"collapsed","type":"boolean","required":false,"default":null,"description":"Compact mode (72px) showing only icons — inline variant only","model":false},{"name":"collapsedLabels","type":"boolean","required":false,"default":null,"description":"In `collapsed` mode, shows each item's label under its icon, with the selection on a 56×32 pill around the icon, like MNavigationRail's collapsed items — nested items included","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"Custom drawer width (e.g. \"320px\", \"25rem\"). Defaults to 22.5rem (360px)","model":false},{"name":"side","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"left\"","description":"Which side the drawer opens from. Top/bottom are only available for the modal variant — the inline variant always renders on left or right.","model":false},{"name":"swipeEnabled","type":"boolean","required":false,"default":"true","description":"Lets the modal drawer be swiped closed toward its edge; with false it only closes through v-model or the scrim","model":false},{"name":"expandSelected","type":"boolean","required":false,"default":"true","description":"Opens the groups that hold the selected item (and the selected item, if it's a group) whenever `selected` changes","model":false},{"name":"accordion","type":"boolean","required":false,"default":"false","description":"Keeps one group open per level: opening a group, by hand or through `expandSelected`, closes its siblings","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Open/closed state for v-model"},{"name":"select","args":"string | number","description":"Fires when an item is clicked — use to track the selected item"}],"slots":[{"name":"header","bindings":null,"description":"Custom header content (e.g. profile card, logo). Fully generic, no positioning constraints applied — overrides the title prop."},{"name":"default","bindings":null,"description":"Free content rendered at the end of the scrollable area, after all sections. Use for footers, logout buttons, or any custom content."},{"name":"toggle","bindings":null,"description":"Collapse/expand toggle button area (inline variant only). Renders inside a 72px centered container with a bottom border that aligns with MTopAppBar (64px height). The icon stays anchored in the same position during collapse/expand transitions."}],"exposed":[{"name":"openItems","type":"Record<string | number, boolean>","description":""}],"types":[{"name":"DrawerItem","source":"export interface DrawerItem {\n value: string | number;\n label: string;\n icon?: string;\n badge?: string | number;\n disabled?: boolean;\n to?: string | Record<string, any>;\n children?: DrawerItem[];\n iconSize?: number;\n labelClass?: string;\n py?: string;\n click?: () => void;\n}"},{"name":"DrawerSection","source":"export interface DrawerSection {\n title?: string;\n icon?: string;\n items: DrawerItem[];\n collapsible?: boolean;\n}"}]},{"name":"MNavigationRail","import":"@m3ui-vue/m3ui-vue","description":"Compact vertical navigation for desktop/tablet layouts with a pill indicator, an optional wide \"expanded\" state, and an optional modal (flyout) variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavRailItem[]","required":true,"default":null,"description":"Array of rail items (see `NavRailItem`)","model":false},{"name":"alignment","type":"\"top\" | \"bottom\" | \"center\"","required":false,"default":"\"top\"","description":"Vertical alignment of items within the rail","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Widens the rail (to fit the longest label, 220 to 360px) and shows each item's icon beside its label in a full-width pill, instead of the icon over the label. Toggle it from your own menu button.","model":true},{"name":"modal","type":"boolean","required":false,"default":"false","description":"Keeps the rail collapsed and opens the expanded rail as a panel over the app, with a scrim, instead of widening in place. It closes on a scrim click, Escape or picking an item, emitting `update:expanded`.","model":false},{"name":"hideOnCollapse","type":"boolean","required":false,"default":"false","description":"With `modal`: no collapsed rail on screen; the expanded rail slides in from off-screen and can be swiped away (Compose's `hideOnCollapse`). Open it from your own menu button","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the modal panel closes (modal mode only) — pair with :expanded for v-model:expanded. With `hideOnCollapse`, swiping the panel away closes it too"}],"slots":[{"name":"fab","bindings":null,"description":"A FAB (or MFabMenu) at the top of the rail, above the items."}],"exposed":[],"types":[{"name":"NavRailItem","source":"export interface NavRailItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MNavigationSuite","import":"@m3ui-vue/m3ui-vue","description":"One navigation that adapts to the space, after Material 3's `NavigationSuiteScaffold`: a short navigation bar at the bottom on phones, the same bar with icons beside labels on a phone in landscape, and a navigation rail on the side from tablets up. Give it your destinations and your content; it picks MShortNavigationBar or MNavigationRail by its own size (see useWindowSizeClass) and swaps them without remounting the content. It has no default size, so give it the app's height, e.g. `class=\"h-dvh\"`.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Selected destination (v-model)","model":true},{"name":"items","type":"NavigationSuiteItem[]","required":true,"default":null,"description":"Destinations, the same shape MNavigationRail and MShortNavigationBar take","model":false},{"name":"layout","type":"\"auto\" | NavigationSuiteLayout","required":false,"default":"\"auto\"","description":"'auto' picks by the component's own size: compact width → short bar, compact height (a phone in landscape) → short bar with icons beside labels, anything else → rail. Any other value forces that navigation; 'none' hides it","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when a destination is picked (v-model)"}],"slots":[{"name":"default","bindings":"{ layout: NavigationSuiteLayout; }","description":"The app's content. Scrolls on its own, next to or above the navigation."},{"name":"fab","bindings":null,"description":"Primary action (e.g. a FAB): the rail's header, or floating above the bar at the bottom end."}],"exposed":[],"types":[{"name":"NavigationSuiteItem","source":"export interface NavigationSuiteItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"},{"name":"NavigationSuiteLayout","source":"/** The navigation component in use: a short bar (icons over labels, or beside them), or a rail. */\nexport type NavigationSuiteLayout = 'bar' | 'bar-medium' | 'rail' | 'rail-expanded' | 'none'"}]},{"name":"MNumberField","import":"@m3ui-vue/m3ui-vue","description":"A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support.","props":[{"name":"modelValue","type":"number | null","required":true,"default":"null","description":"Bound numeric value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"min","type":"number","required":false,"default":null,"description":"Minimum allowed value","model":false},{"name":"max","type":"number","required":false,"default":null,"description":"Maximum allowed value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Increment/decrement step","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"stepper","type":"boolean","required":false,"default":"true","description":"Show +/- buttons","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"number | null","description":"Emitted on every change — typing, stepper clicks, or arrow keys — powers v-model"},{"name":"debounced","args":"number | null","description":"Emitted debounce ms after the user stops typing (only when debounce > 0). Stepper clicks/arrow keys still emit instantly"}],"slots":[],"exposed":[{"name":"inputEl","type":"HTMLInputElement | null","description":"The `<input>` (or `<textarea>`) element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the field"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the field"},{"name":"select","type":"() => void | undefined","description":"Selects all its text"}],"types":[]},{"name":"MOverlay","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"true","description":"Controls visibility (v-model)","model":true},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Show dark backdrop","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false},{"name":"closeOnEscape","type":"boolean","required":false,"default":"false","description":"Closes on Escape. It shares the library's Escape stack with MDialog and the sheets, so a dialog or menu opened over it takes Escape first","model":false},{"name":"lockScroll","type":"boolean","required":false,"default":"false","description":"Locks the page's scroll while open (shared with the library's other modal surfaces, so stacking is safe)","model":false},{"name":"transition","type":"string","required":false,"default":null,"description":"Name of a `<Transition>` (your CSS classes) to play instead of the default fade","model":false}],"events":[{"name":"update:modelValue","args":"value: boolean","description":"Emitted with false when the scrim is clicked (or Escape is pressed with closeOnEscape), for v-model support"}],"slots":[{"name":"default","bindings":null,"description":"Content shown over the scrim."}],"exposed":[],"types":[]},{"name":"MPageProgress","import":"@m3ui-vue/m3ui-vue","description":"A thin bar pinned to the top or bottom edge of the viewport, for page/route-level loading state — auto-wired to vue-router by default, or driven entirely by hand via usePageProgress().","props":[{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bar color","model":false},{"name":"thickness","type":"number","required":false,"default":"3","description":"Bar height in px","model":false},{"name":"auto","type":"boolean","required":false,"default":"true","description":"Auto-wire to vue-router's navigation guards when a router is detected. Set to `false` to drive it entirely by hand via `usePageProgress()`.","model":false},{"name":"position","type":"\"top\" | \"bottom\"","required":false,"default":"\"top\"","description":"Which edge of the viewport the bar is pinned to","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPagination","import":"@m3ui-vue/m3ui-vue","description":"Simple previous/next page navigation with an automatically computed page range label. Its texts (“1–10 of 25”, “Page 1 of 3” and the buttons’ labels) come from the app’s locale.","props":[{"name":"page","type":"number","required":true,"default":null,"description":"Current page (1-based)","model":true},{"name":"perPage","type":"number","required":true,"default":null,"description":"Items per page","model":false},{"name":"total","type":"number","required":true,"default":null,"description":"Total number of items","model":false}],"events":[{"name":"update:page","args":"number","description":"Emitted when the previous/next button is clicked — drive page with it for v-model-style two-way binding"}],"slots":[],"exposed":[],"types":[]},{"name":"MPasswordMeter","import":"@m3ui-vue/m3ui-vue","description":"A password strength bar. Scores length + character variety (0-4) and emits `score` so you can gate a submit button on it.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Password to score","model":false},{"name":"labels","type":"string[]","required":false,"default":"[\"Very weak\", \"Weak\", \"Fair\", \"Good\", \"Strong\"]","description":"5 labels, weakest to strongest.","model":false},{"name":"minLength","type":"number","required":false,"default":"8","description":"Length considered \"long enough\" — also used (+4) as the \"very long\" bonus threshold.","model":false}],"events":[{"name":"score","args":"number","description":"Emitted whenever value changes — -1 for an empty value, or 0-4 otherwise"}],"slots":[],"exposed":[],"types":[]},{"name":"MPdfViewer","import":"@m3ui-vue/m3ui-vue/pdf","description":"A PDF viewer on pdf.js (not an M3 spec component; after androidx.pdf's `PdfView` and Google Drive's viewer). The pages scroll continuously, each rendered only near the viewport, with selectable text and working links. Zoom: fit to width (the default) or the page, a percentage, Ctrl + wheel or a trackpad pinch, a pinch on touch, and a double click or double tap (zooms in there, or back to the width). A top bar with the page, zoom, search (hits marked in the text), and download, print, rotate and full screen; a side panel with thumbnails and the outline; a page indicator while scrolling (a draggable thumb on touch). With `annotate`, an edit button opens a floating toolbar to highlight text, place notes and draw, kept in `v-model:annotations` as JSON (not written into the file). Needs the `pdfjs-dist` package. Set its worker once with `setPdfWorker()` (or `worker-src`); without it pdf.js runs on the main thread.","props":[{"name":"src","type":"PdfSource | null","required":false,"default":"null","description":"The PDF: a URL, its bytes, or a `File`/`Blob`","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Shown in the top bar; default the document's own title","model":false},{"name":"page","type":"number","required":false,"default":null,"description":"Current page, 1-based (v-model)","model":true},{"name":"zoom","type":"PdfZoom","required":false,"default":"\"fit-width\"","description":"`fit-width`, `fit-page`, or a zoom where 1 is 100% (v-model)","model":true},{"name":"rotation","type":"number","required":false,"default":"0","description":"Extra rotation in degrees, a multiple of 90 (v-model)","model":true},{"name":"annotations","type":"PdfAnnotation[]","required":false,"default":"[]","description":"Annotations to draw (v-model)","model":true},{"name":"annotate","type":"boolean","required":false,"default":"false","description":"Shows the edit button and the annotation toolbar","model":false},{"name":"tool","type":"PdfTool","required":false,"default":"\"select\"","description":"The active tool (v-model)","model":true},{"name":"colors","type":"string[]","required":false,"default":"[\"#FFE14D\", \"#7ED957\", \"#5EB8FF\", \"#FF7EB6\", \"#B388FF\", \"#1F1F1F\"]","description":"Colors offered for annotations","model":false},{"name":"inkWidths","type":"number[]","required":false,"default":"[1, 2, 4, 8]","description":"The pen's widths offered in the toolbar, in PDF points (the first one is the default)","model":false},{"name":"author","type":"string","required":false,"default":null,"description":"Written into new annotations' `author`","model":false},{"name":"sidebar","type":"\"thumbnails\" | \"outline\" | null","required":false,"default":"null","description":"The side panel: thumbnails, the outline, or closed (v-model)","model":true},{"name":"toolbar","type":"boolean","required":false,"default":"true","description":"Shows the top bar","model":false},{"name":"downloadable","type":"boolean","required":false,"default":"true","description":"Shows download and print","model":false},{"name":"fileName","type":"string","required":false,"default":null,"description":"File name for downloads; default the URL's or the document's title","model":false},{"name":"password","type":"string","required":false,"default":null,"description":"A password to try first","model":false},{"name":"workerSrc","type":"string","required":false,"default":null,"description":"The pdf.js worker URL (or `setPdfWorker()` once for the app)","model":false},{"name":"minZoom","type":"number","required":false,"default":"0.25","description":"","model":false},{"name":"maxZoom","type":"number","required":false,"default":"8","description":"","model":false}],"events":[{"name":"error","args":"Error","description":"The document failed to load"},{"name":"link","args":"{ url?: string | undefined; page?: number | undefined; }","description":"A link was followed: `{ url }` (opens in a new tab) or `{ page }` (scrolled to)"},{"name":"update:page","args":"number","description":""},{"name":"update:tool","args":"PdfTool","description":""},{"name":"update:zoom","args":"PdfZoom","description":""},{"name":"update:rotation","args":"number","description":""},{"name":"update:annotations","args":"PdfAnnotation[]","description":""},{"name":"update:sidebar","args":"\"thumbnails\" | \"outline\" | null","description":""},{"name":"loaded","args":"PDFDocumentProxy","description":"The document loaded, with its pdf.js proxy"},{"name":"annotation-click","args":"PdfAnnotation","description":"An annotation was clicked with the select tool"}],"slots":[{"name":"actions","bindings":"{ pdf: PdfState; }","description":"Extra buttons at the end of the top bar. Props: `{ pdf }`"},{"name":"empty","bindings":null,"description":"Shown without a `src`"}],"exposed":[{"name":"pdf","type":"PdfState","description":""},{"name":"goToPage","type":"(p: number) => void","description":""},{"name":"setZoom","type":"(z: PdfZoom) => void","description":""},{"name":"search","type":"(q: string) => void","description":""},{"name":"undo","type":"() => void","description":""}],"types":[{"name":"PdfAnnotation","source":"/** One annotation, in PDF points (origin at the page's bottom left), so it survives zoom, rotation and reflows */\nexport interface PdfAnnotation {\n id: string\n type: 'highlight' | 'note' | 'ink'\n /** 1-based page */\n page: number\n /** Any CSS color */\n color: string\n /** highlight: the selected lines, `[x1, y1, x2, y2]` each */\n rects?: [number, number, number, number][]\n /** highlight: the text it covers */\n quote?: string\n /** note: where its icon sits */\n at?: [number, number]\n /** ink: strokes, each a list of points */\n paths?: [number, number][][]\n /** ink: stroke width in points */\n width?: number\n /** A note's text, or a comment on a highlight or drawing */\n text?: string\n author?: string\n /** ISO date */\n createdAt: string\n}"},{"name":"PdfTool","source":"export type PdfTool = 'select' | 'highlight' | 'note' | 'ink' | 'eraser'"},{"name":"PdfZoom","source":"export type PdfZoom = number | 'fit-width' | 'fit-page'"}]},{"name":"MPinInput","import":"@m3ui-vue/m3ui-vue","description":"One box per character for OTP/PIN/verification codes. Typing advances to the next box, backspace on an empty box goes back, and pasting a full code fills every box at once.","props":[{"name":"modelValue","type":"string","required":true,"default":"\"\"","description":"Bound code (v-model), e.g. \"1234\"","model":true},{"name":"length","type":"number","required":false,"default":"6","description":"Number of boxes (ignored when groups is set)","model":false},{"name":"groups","type":"number[]","required":false,"default":null,"description":"Segment sizes for a grouped layout, e.g. [2, 4, 2, 3, 1, 3] renders `__ ____ __ ___ _ ___`. Overrides `length` (derived as the sum).","model":false},{"name":"separator","type":"string","required":false,"default":"\"-\"","description":"Visual separator rendered between groups (only used when `groups` is set).","model":false},{"name":"type","type":"\"numeric\" | \"alphanumeric\"","required":false,"default":"\"numeric\"","description":"Restricts which characters are accepted","model":false},{"name":"masked","type":"boolean","required":false,"default":"false","description":"Renders each box as a password field (dots instead of characters)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the boxes","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables every box","model":false},{"name":"autoFocus","type":"boolean","required":false,"default":"false","description":"Focuses the first box on mount","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the group of boxes","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every box change — powers v-model"},{"name":"complete","args":"string","description":"Fires once with the full code as soon as every box is filled — the natural place to trigger auto-submit"}],"slots":[],"exposed":[],"types":[]},{"name":"MProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A linear progress indicator — determinate, indeterminate, or the M3 Expressive wavy variant.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit for indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Indeterminate animation — also implied by omitting value","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":"\"primary\"","description":"Bar color: an M3 role or any CSS color (`#fff` over a photo, say)","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Track color: an M3 role or any CSS color. Default the role's container, or the bar color at 24% for a CSS color","model":false},{"name":"variant","type":"\"wavy\" | \"linear\"","required":false,"default":"\"linear\"","description":"Bar style","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text above the bar","model":false},{"name":"thickness","type":"number","required":false,"default":null,"description":"Stroke width in px. Defaults to 4dp, matching the real M3 token for both variants.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPullToRefresh","import":"@m3ui-vue/m3ui-vue","description":"Wraps its own scrollable container and fires a refresh event when the user pulls past a threshold at the very top of the scroll.","props":[{"name":"refreshing","type":"boolean","required":false,"default":"false","description":"Controlled loading state — set it to true in your @refresh handler and back to false once the fetch resolves; the indicator settles and releases accordingly, same pattern as MInfiniteScroll's loading prop","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the pull gesture","model":false},{"name":"threshold","type":"number","required":false,"default":"64","description":"Pull distance in px required to trigger a refresh on release","model":false},{"name":"size","type":"number","required":false,"default":"36","description":"Indicator size in px","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Indicator color","model":false}],"events":[{"name":"refresh","args":"","description":"Emitted when the user drags past threshold and releases. Set refreshing to true in the handler, then back to false once the fetch resolves."}],"slots":[{"name":"default","bindings":null,"description":"The scrollable content. A pull starts only when it's scrolled to the top; otherwise touch scrolls it normally"}],"exposed":[{"name":"scrollEl","type":"HTMLElement | null","description":"The element that scrolls the slot's content"},{"name":"scrollTo","type":"(options: ScrollToOptions) => void | undefined","description":"Scrolls the content, like `Element.scrollTo()` (e.g. `{ top: 0, behavior: 'smooth' }`)"}],"types":[]},{"name":"MQRCode","import":"@m3ui-vue/m3ui-vue/qrcode","description":"Renders a QR code as inline SVG — crisp at any size, no canvas or image assets. Available from the `/qrcode` entry point, so it never adds weight to the main bundle.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"size","type":"number","required":false,"default":"200","description":"Width/height in pixels (square)","model":false},{"name":"margin","type":"number","required":false,"default":"4","description":"Quiet zone around the code, in modules.","model":false},{"name":"errorCorrectionLevel","type":"\"M\" | \"L\" | \"Q\" | \"H\"","required":false,"default":"\"M\"","description":"Higher levels tolerate more damage/obstruction at the cost of a denser code","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Dark module color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Light module / background color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Rounds the outer container corners.","model":false},{"name":"moduleStyle","type":"\"dots\" | \"square\"","required":false,"default":"\"square\"","description":"'square' is the classic scannable pixel grid. 'dots' rounds each module — still fully scannable, just a softer look.","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is too large to encode at the given errorCorrectionLevel"}],"exposed":[],"types":[]},{"name":"MRadio","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"The group's current value (v-model); share one ref between the radios of a group.","model":true},{"name":"value","type":"unknown","required":true,"default":null,"description":"The value this radio stands for; selecting it sets the v-model to it.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text next to the radio. Clicking it selects the radio too.","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Grays the radio out and ignores clicks.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color role of the selected radio.","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with `value` when the radio is selected."}],"slots":[],"exposed":[],"types":[]},{"name":"MRadioGroup","import":"@m3ui-vue/m3ui-vue","description":"A group of radio buttons sharing a single selection, column or row layout.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"Option[]","required":true,"default":null,"description":"Radio options","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Group label","model":false},{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Layout direction","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables all radios","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Radio color","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"Option","source":"interface Option {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MRating","import":"@m3ui-vue/m3ui-vue","description":"A star rating input with half increments and any Material Symbol icon. Not part of the official M3 spec, so it's built from M3 primitives: filled/outlined icon pairs, a state layer on hover/press, and a focus ring. Click or drag to rate (drag past the first icon to clear), or use the arrow keys, Home and End when focused.","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Current rating (v-model)","model":true},{"name":"max","type":"number","required":false,"default":"5","description":"Maximum stars","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Star size in px","model":false},{"name":"readonly","type":"boolean","required":false,"default":null,"description":"Display-only: not focusable, exposed as role=\"img\" with the value as its label","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables interaction","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"One of the 4 M3 roles ('primary' | 'secondary' | 'tertiary' | 'error'), or any other CSS color string","model":false},{"name":"icon","type":"string","required":false,"default":"\"star\"","description":"Material Symbol icon","model":false},{"name":"halfIncrements","type":"boolean","required":false,"default":"false","description":"Allow half-star values (click the left half of an icon). Fractional values always render exactly, with or without this prop","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted when the user rates by click, drag or keyboard (v-model). Dragging past the first icon emits 0"}],"slots":[],"exposed":[],"types":[]},{"name":"MRelative","import":"@m3ui-vue/m3ui-vue","description":"Wrapper that sets `position: relative` on a container. Use it as the positioning parent for MAbsolute children.","props":[],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content; absolutely positioned children are placed relative to it."}],"exposed":[],"types":[]},{"name":"MRelativeTime","import":"@m3ui-vue/m3ui-vue","description":"Renders a timestamp as human-readable relative text (\"5 minutes ago\", \"in 2 hours\") that keeps itself up to date, formatted with the native Intl.RelativeTimeFormat. It renders a semantic `<time>` element, and hovering it shows the full absolute date.","props":[{"name":"value","type":"string | number | Date","required":true,"default":null,"description":"Required. The timestamp to format: an ISO string, epoch milliseconds, or a Date","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"BCP-47 locale tag (e.g. 'es-ES'). Defaults to the app's locale (via createM3UI/useLocale), then the browser's locale.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MResourceTimeline","import":"@m3ui-vue/m3ui-vue/gantt","description":"A resource timeline: one row per person, table, room or machine, with their bookings (shifts, reservations, jobs) along a timeline you zoom from hours to months. Not an M3 spec component: MGantt's timeline, for planning who or what is busy when rather than tasks and their order. Bookings are a `v-model` of plain objects (`TimelineEvent`: `resourceId`, `start`/`end` datetimes or whole days, `title`, `color`). Drag one along its row to move it, to another row to give it to that resource, or by its ends to resize it; snapped to `snap` minutes. Bookings that overlap share the row in lanes, and more than a resource's `capacity` at once are marked as conflicts (`overlap=\"prevent\"` refuses a drop that makes one). With `creatable`, dragging across empty time (a short press first with a finger) asks for a new booking there (`create`). Resources with a `group` sit under headers that fold. Rows and time render only near the view; every edit is undoable. Keyboard (on a booking): ←/→ move it a step, Shift + ←/→ change its end, ↑/↓ move it to the resource above or below, Enter opens it (`event-dblclick`), Delete deletes, Ctrl+Z / Ctrl+Shift+Z undo and redo.","props":[{"name":"events","type":"TimelineEvent<any>[]","required":false,"default":"[]","description":"","model":true},{"name":"resources","type":"TimelineResource<any>[]","required":false,"default":"[]","description":"","model":false},{"name":"scale","type":"TimeUnit","required":false,"default":"\"day\"","description":"The zoom as a named level (`v-model:scale`)","model":true},{"name":"pxPerDay","type":"number","required":false,"default":"240","description":"The starting zoom in px per day, between the named levels (default 240: 10 px an hour)","model":false},{"name":"selection","type":"string[]","required":false,"default":null,"description":"Selected booking ids (`v-model:selection`)","model":true},{"name":"collapsed","type":"string[]","required":false,"default":null,"description":"Folded group names (`v-model:collapsed`)","model":true},{"name":"listWidth","type":"number","required":false,"default":null,"description":"The resource column's width, px (`v-model:list-width`; drag its edge); 0 hides it","model":true},{"name":"rowHeight","type":"number","required":false,"default":"56","description":"A row's least height; rows grow with their lanes","model":false},{"name":"laneHeight","type":"number","required":false,"default":"40","description":"One lane's height (a booking and its gap)","model":false},{"name":"overlap","type":"\"prevent\" | \"stack\"","required":false,"default":"\"stack\"","description":"`'stack'` (default): overlaps share the row in lanes and show as conflicts past `capacity`; `'prevent'` also refuses a drop that makes one","model":false},{"name":"creatable","type":"boolean","required":false,"default":"false","description":"Dragging across empty time asks for a booking there (`create`)","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"","model":false},{"name":"snap","type":"number","required":false,"default":null,"description":"Minutes bookings snap to (default 15; by zoom when zoomed far out); whole-day bookings snap to days","model":false},{"name":"calendar","type":"GanttCalendar","required":false,"default":null,"description":"Days worked (shaded when they aren't)","model":false},{"name":"workHours","type":"[number, number]","required":false,"default":null,"description":"Working hours, shaded outside them when zoomed in to hours, e.g. `[9, 18]`","model":false},{"name":"now","type":"string | null","required":false,"default":null,"description":"Now, for the line across the timeline (default the current time; `null` hides it)","model":false},{"name":"start","type":"string","required":false,"default":null,"description":"Where the view starts (default now, or the first booking)","model":false},{"name":"weekStartsOn","type":"0 | 1","required":false,"default":"1","description":"","model":false},{"name":"minPxPerDay","type":"number","required":false,"default":"2","description":"","model":false},{"name":"maxPxPerDay","type":"number","required":false,"default":"4800","description":"","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"","model":false},{"name":"beforeDelete","type":"((events: TimelineEvent<any>[]) => boolean | Promise<boolean>)","required":false,"default":null,"description":"","model":false}],"events":[{"name":"delete","args":"{ events: TimelineEvent<any>[]; }","description":"Bookings were deleted: `{ events }`"},{"name":"update:selection","args":"string[]","description":""},{"name":"change","args":"{ events: TimelineEvent<any>[]; kind: \"move\" | \"resize\"; }","description":"A drag or a key changed bookings: `{ events, kind: 'move' | 'resize' }`"},{"name":"update:scale","args":"TimeUnit","description":""},{"name":"update:collapsed","args":"string[]","description":""},{"name":"update:events","args":"TimelineEvent<any>[]","description":""},{"name":"update:listWidth","args":"number","description":""},{"name":"event-click","args":"TimelineEvent<any>, MouseEvent","description":"/ event-dblclick / event-contextmenu `(event, mouseEvent)`"},{"name":"event-dblclick","args":"TimelineEvent<any>, MouseEvent | KeyboardEvent","description":""},{"name":"event-contextmenu","args":"TimelineEvent<any>, MouseEvent","description":""},{"name":"create","args":"{ resourceId: string; start: string; end: string; }","description":"Empty time was dragged across (or long pressed) on a resource: `{ resourceId, start, end }`; add the booking yourself"},{"name":"slot-click","args":"{ resourceId: string; start: string; }","description":"Empty time was clicked: `{ resourceId, start }`"},{"name":"conflict","args":"{ event: TimelineEvent<any>; with: TimelineEvent<any>[]; }","description":"A drop was refused (`overlap=\"prevent\"`): `{ event, with }`"}],"slots":[{"name":"default","bindings":"{ timeline: ResourceTimelineContext; }","description":"Above the timeline: MGanttControls, filters of yours. Props: `{ timeline }`"},{"name":"group","bindings":"{ group: string; resources: TimelineResource<any>[]; collapsed: boolean; }","description":"A group's header. Props: `{ group, resources, collapsed }`"},{"name":"resource","bindings":"{ resource: TimelineResource<any>; events: TimelineEvent<any>[]; hours: number; }","description":"A resource's cell. Props: `{ resource, events, hours }` (`hours`: booked in total)"},{"name":"event","bindings":"{ event: TimelineEvent<any>; resource: TimelineResource<any> | undefined; selected: boolean; conflict: boolean; }","description":"A booking's content. Props: `{ event, resource, selected, conflict }`"},{"name":"empty","bindings":null,"description":"Shown while there are no resources"}],"exposed":[{"name":"conflicts","type":"Set<string>","description":"Ids of events that overlap more than their resource's capacity"},{"name":"canUndo","type":"boolean","description":""},{"name":"canRedo","type":"boolean","description":""},{"name":"undo","type":"() => void","description":""},{"name":"redo","type":"() => void","description":""},{"name":"zoomIn","type":"() => void","description":""},{"name":"zoomOut","type":"() => void","description":""},{"name":"setScale","type":"(scale: TimeUnit) => void","description":""},{"name":"scrollToDate","type":"(date?: string | undefined, opts?: { align?: \"center\" | \"start\" | undefined; animate?: boolean | undefined; } | undefined) => void","description":""},{"name":"scrollToEvent","type":"(id: string) => void","description":""},{"name":"setSelection","type":"(ids: string[]) => void","description":""},{"name":"addEvents","type":"(events: TimelineEvent<any> | TimelineEvent<any>[]) => void","description":""},{"name":"updateEvent","type":"(id: string, patch: Partial<TimelineEvent<any>> | ((e: TimelineEvent<any>) => TimelineEvent<any>)) => void","description":""},{"name":"removeEvents","type":"(ids: string[]) => void","description":""},{"name":"dateAt","type":"(clientX: number) => string","description":"The time (snapped, as a datetime) under a page x"},{"name":"resourceAt","type":"(clientY: number) => TimelineResource<any> | undefined","description":"The resource whose row is under a page y"}],"types":[]},{"name":"MResponsive","import":"@m3ui-vue/m3ui-vue","description":"Shows or hides content at specific breakpoints using pure CSS (Tailwind's `hidden`/`block` utilities) — no JS resize listener.","props":[{"name":"show","type":"Breakpoint","required":false,"default":null,"description":"Show content only at this breakpoint range","model":false},{"name":"hide","type":"Breakpoint","required":false,"default":null,"description":"Hide content at this breakpoint range","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Breakpoint","source":"type Breakpoint = 'sm-up' | 'md-up' | 'lg-up' | 'xl-up' | 'sm-down' | 'md-down' | 'lg-down' | 'xl-down'"}]},{"name":"MResult","import":"@m3ui-vue/m3ui-vue","description":"A full result screen for the end of a flow: success, errors, empty states and HTTP error pages. Each status comes with its own icon, colors, title and description, and you can override any of them. The default texts come from the active locale (`useLocale`), so they follow the language passed to `createM3UI({ locale })`.","props":[{"name":"status","type":"\"info\" | \"success\" | \"warning\" | \"error\" | \"404\" | \"403\" | \"500\"","required":true,"default":null,"description":"Required. Picks the icon, its colors, and the default title/description. The three HTTP statuses also show the code in large type above the icon","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Custom title, replaces the status default","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Custom description, replaces the status default","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons, in a centered row below the description"},{"name":"default","bindings":null,"description":"Extra content below the actions row, e.g. a secondary link or fine print"}],"exposed":[],"types":[]},{"name":"MRichTextEditor","import":"@m3ui-vue/m3ui-vue/rich-text-editor","description":"A WYSIWYG editor built on tiptap, with a formatting toolbar covering text styles, lists, alignment, links, and images.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"HTML content (v-model)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown on an empty document","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables editing","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum height of the text area (not used with `fill`)","model":false},{"name":"fill","type":"boolean","required":false,"default":"false","description":"Fills the height you give the editor (`class=\"h-full\"`, `flex-1`…): the toolbar stays put and the text scrolls inside, instead of the editor growing with its content","model":false},{"name":"labels","type":"RichTextEditorLabels","required":false,"default":null,"description":"Object with all toolbar/dialog label overrides for i18n (see `RichTextEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the editor HTML on every content change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"RichTextEditorLabels","source":"export interface RichTextEditorLabels {\n bold?: string\n italic?: string\n underline?: string\n strikethrough?: string\n highlight?: string\n bulletList?: string\n orderedList?: string\n blockquote?: string\n code?: string\n alignLeft?: string\n alignCenter?: string\n alignRight?: string\n undo?: string\n redo?: string\n link?: string\n image?: string\n paragraph?: string\n heading1?: string\n heading2?: string\n heading3?: string\n insertLink?: string\n insertImage?: string\n imageUrlLabel?: string\n cancel?: string\n insert?: string\n}"}]},{"name":"MScheduler","import":"@m3ui-vue/m3ui-vue","description":"A week or day calendar grid. Events sit at their exact times, overlapping ones share the width, and anything that lasts all day or spans several days runs across the all-day row. Click a day header to open that day. Dates and times follow the app's locale.","props":[{"name":"events","type":"SchedulerEvent[]","required":false,"default":"[]","description":"Events to show (see `SchedulerEvent`)","model":false},{"name":"view","type":"\"day\" | \"week\"","required":false,"default":"\"week\"","description":"'week' or 'day'; use v-model:view to follow the header's toggle.","model":true},{"name":"date","type":"string","required":false,"default":null,"description":"The date shown (`YYYY-MM-DD`), today by default; use v-model:date to follow navigation.","model":true},{"name":"startHour","type":"number","required":false,"default":"7","description":"First visible hour","model":false},{"name":"endHour","type":"number","required":false,"default":"22","description":"Hour the grid ends at","model":false},{"name":"weekStartsOn","type":"0 | 1","required":false,"default":"1","description":"First day of the week: 0 = Sunday, 1 = Monday.","model":false},{"name":"hourHeight","type":"number","required":false,"default":"56","description":"Height of one hour row, in px.","model":false},{"name":"nowIndicator","type":"boolean","required":false,"default":"true","description":"A line across today's column at the current time.","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for dates and times (Intl). Falls back to the app's configured locale","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Aria label of the previous button (defaults to the locale string)","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Aria label of the next button (defaults to the locale string)","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label of the Today button (defaults to the locale string)","model":false},{"name":"dayViewLabel","type":"string","required":false,"default":null,"description":"Label of the Day toggle (defaults to the locale string)","model":false},{"name":"weekViewLabel","type":"string","required":false,"default":null,"description":"Label of the Week toggle (defaults to the locale string)","model":false},{"name":"allDayLabel","type":"string","required":false,"default":null,"description":"Label of the all-day row (defaults to the locale string)","model":false}],"events":[{"name":"eventClick","args":"SchedulerEvent","description":"An event (in the grid or the all-day row) was clicked"},{"name":"slotClick","args":"{ date: string; hour: number; }","description":"An empty spot in the grid was clicked"},{"name":"update:date","args":"string","description":"Navigation changed the date shown (YYYY-MM-DD)"},{"name":"update:view","args":"\"day\" | \"week\"","description":"The Day/Week toggle (or a day header) changed the view"}],"slots":[{"name":"event","bindings":"{ event: SchedulerEvent; allDay: boolean; }","description":"Content of an event block."}],"exposed":[],"types":[{"name":"SchedulerEvent","source":"export interface SchedulerEvent {\n id: string | number\n title: string\n /**\n * Start: a datetime (`2026-10-17T09:30`, or ISO with a zone). For an all-day event, a date\n * (`2026-10-17`).\n */\n start: string\n /** End: a datetime (exclusive). For an all-day event, the last day (inclusive). */\n end: string\n /** Shown in the all-day row instead of the time grid. Events that span days go there too. */\n allDay?: boolean\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n}"}]},{"name":"MScheme","import":"@m3ui-vue/m3ui-vue","description":"Paints its content with a color scheme of its own, built from a seed color or from an image's dominant color (Material You's content color: an album, a dish or a profile photo coloring its own page), or one of the palettes (a theme picker's previews). Every `bg-*`/`text-*` M3 utility and every component inside it uses the scheme, in light or dark like the rest of the app, while the rest of the app keeps its palette. Its text color is the scheme's `on-surface`; it sets no background.","props":[{"name":"seed","type":"string","required":false,"default":null,"description":"Seed color (`#rrggbb`) the scheme is built from","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"An image (URL) whose dominant color becomes the seed, picked as Android picks a wallpaper's. Cross-origin images need CORS headers. `seed` wins while both are set","model":false},{"name":"palette","type":"string","required":false,"default":null,"description":"One of the palettes (`useColorPalette().palettes`, custom ones included), applied to this element only with its own CSS, in its standard contrast. `seed` and `image` win while set","model":false},{"name":"variant","type":"SchemeVariant","required":false,"default":"\"tonal-spot\"","description":"How the seed spreads into the scheme; `content` and `fidelity` keep the seed's own color most visible","model":false},{"name":"contrast","type":"number","required":false,"default":"0","description":"Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced)","model":false},{"name":"as","type":"string","required":false,"default":"\"div\"","description":"Element to render","model":false}],"events":[{"name":"seed","args":"color: string","description":"Emitted with the seed color read from `image`"}],"slots":[{"name":"default","bindings":"{ seed: string | undefined; ready: boolean; }","description":"The content. Receives `{ seed, ready }`: the seed in use (the image's once it's read) and whether the scheme is applied yet"}],"exposed":[],"types":[]},{"name":"MScrollable","import":"@m3ui-vue/m3ui-vue","description":"A constrained scroll area — vertical, horizontal, or both directions. Shows the browser's scrollbar, or with `scrollbar=\"indicator\"` M3's thin visual-only scrollbar (Compose's `Modifier.nonInteractiveScrollbar`), which appears while scrolling and fades out after.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\" | \"both\"","required":false,"default":"\"vertical\"","description":"Scroll direction","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Fixed height (CSS value)","model":false},{"name":"maxHeight","type":"string","required":false,"default":null,"description":"Maximum height (CSS value)","model":false},{"name":"scrollbar","type":"\"none\" | \"native\" | \"indicator\"","required":false,"default":"\"native\"","description":"`native`: the browser's scrollbar. `indicator`: M3's thin scrollbar, visual only (scroll with the wheel, touch or keys). `none`: no scrollbar at all.","model":false},{"name":"scrollbarFade","type":"boolean","required":false,"default":"true","description":"With `scrollbar=\"indicator\"`: show it only while scrolling, fading out after (false keeps it visible)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The scrolling content."}],"exposed":[],"types":[]},{"name":"MScrollField","import":"@m3ui-vue/m3ui-vue","description":"An endless wheel to pick a number or option by scrolling (M3 Expressive's ScrollField, a port of Compose's `ScrollField`): the centered item is the selected one. Drag, flick, use the mouse wheel, the arrow keys, or click an item. Put two side by side for a time (hours and minutes).","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Index of the selected item, 0 to count - 1 (v-model)","model":true},{"name":"count","type":"number","required":true,"default":null,"description":"Number of items; the wheel wraps around after the last one","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the field. Include the range when it isn't obvious (\"Select year between 2000 and 2025\"): the wheel wraps, so screen readers can't tell where it ends.","model":false},{"name":"format","type":"((index: number) => string)","required":false,"default":"String(index).padStart(2, \"0\")","description":"Text for each item (also what screen readers announce). Defaults to the index with at least 2 digits.","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Height in px; three items fit in the default 200 (ScrollFieldDefaults.ScrollFieldHeight)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the index of the centered item, as it changes while scrolling"}],"slots":[{"name":"item","bindings":"{ index: number; selected: boolean; }","description":"Custom content for each item, instead of the formatted number. Receives `{ index, selected }`."}],"exposed":[],"types":[]},{"name":"MSearchBar","import":"@m3ui-vue/m3ui-vue","description":"A collapsed search field that expands into a docked panel or a fullscreen overlay, with results shown below the input. The expanded panel is teleported to `<body>`; `class`, `style` and other attributes you pass land on the collapsed bar. So with a fullscreen variant you can hide the bar (e.g. `class=\"hidden\"` on phones) and open search from your own icon button through `v-model:expanded`. The docked panel is placed under the bar, so it needs the bar visible.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"Search query (v-model)","model":true},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Controls the expanded/collapsed state — also works uncontrolled if omitted.","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Defaults to the locale's \"Search...\"","model":false},{"name":"variant","type":"\"fullscreen\" | \"fullscreen-contained\" | \"docked\"","required":false,"default":"\"docked\"","description":"'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.","model":false},{"name":"leadingIcon","type":"string","required":false,"default":"\"search\"","description":"Icon shown in the collapsed bar","model":false},{"name":"iconPosition","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"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.","model":false},{"name":"textAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centers the input/placeholder text instead of the M3-standard start alignment (an iOS-style look some apps use for the collapsed bar).","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in the expanded header instead of the clear button","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear (×) button once there is a query","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the collapsed bar","model":false}],"events":[{"name":"search","args":"string","description":"Emitted when Enter is pressed in the input, with the current query"},{"name":"update:modelValue","args":"string","description":"Emitted on every input change — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the expanded state changes — powers v-model:expanded"}],"slots":[{"name":"leading","bindings":null,"description":"Overrides the collapsed bar's leading icon"},{"name":"trailing","bindings":null,"description":"Trailing content in both the collapsed bar and the expanded header (e.g. an avatar)"},{"name":"default","bindings":null,"description":"Results/suggestions content, shown below the input while expanded"}],"exposed":[],"types":[]},{"name":"MSearchField","import":"@m3ui-vue/m3ui-vue","description":"A pill-shaped search input that filters in place: a list, a table, a grid of products. Unlike MSearchBar, it never expands into a results view; it's just the field, in M3's search bar colors and shape. Your `class` and `style` go on the pill; every other attribute (`name`, `autocomplete`, `aria-*`, listeners like `@focus` or `@keydown`) goes on the `<input>`.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"The text (v-model)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder. Defaults to the locale's `search`","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name when there's no visible label. Defaults to the placeholder","model":false},{"name":"icon","type":"string","required":false,"default":"\"search\"","description":"Leading icon, a Material Symbol. Set to '' for none","model":false},{"name":"size","type":"\"sm\" | \"md\" | \"lg\"","required":false,"default":"\"lg\"","description":"Height: `sm` 40px (body-medium text), `md` 48px, `lg` 56px (M3's search bar)","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear button while there's text","model":false},{"name":"clearOnEscape","type":"boolean","required":false,"default":"true","description":"Escape empties the field (keeping the key from closing a dialog or menu around it); on an empty field it leaves it and lets the key through","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false}],"events":[{"name":"search","args":"string","description":"Enter was pressed, with the text"},{"name":"update:modelValue","args":"string","description":"The text, on every keystroke — powers v-model"},{"name":"clear","args":"","description":"The clear button (or Escape) emptied the field"}],"slots":[{"name":"leading","bindings":null,"description":"Replaces the search icon (an avatar, a back or menu button…). Spaced for a 40px icon button, as in M3's search bar: its icon lands 16px from the edge, like the default one, and the text at the same place"},{"name":"trailing","bindings":null,"description":"Extra content after the clear button (a mic button, a filter menu…)"}],"exposed":[{"name":"inputEl","type":"HTMLInputElement | undefined","description":"The `<input>` element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the input"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the input"}],"types":[]},{"name":"MSection","import":"@m3ui-vue/m3ui-vue","description":"A titled content section with optional subtitle, header actions, and divider.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Section title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Section subtitle text","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show divider below header","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between header and content","model":false},{"name":"titleVariant","type":"TextVariant","required":false,"default":"\"title-large\"","description":"Typography variant for the title","model":false}],"events":[],"slots":[{"name":"title","bindings":null,"description":"Custom title content (overrides title prop)"},{"name":"subtitle","bindings":null,"description":"Custom subtitle content (overrides subtitle prop)"},{"name":"actions","bindings":null,"description":"Action buttons displayed in the header row"},{"name":"default","bindings":null,"description":"Main section content"}],"exposed":[],"types":[]},{"name":"MSeekBar","import":"@m3ui-vue/m3ui-vue","description":"A media seek bar (not an M3 spec component; Media3's ProgressSlider is a plain M3 Slider, which this follows in its default look): the playback position on a track with the buffered part, optional chapters, elapsed and total (or remaining) time, and a preview of the time under the pointer. Dragging scrubs locally and seeks once on release (or live, with `live`); a tap or click seeks to that point. While `playing`, it advances on its own between `modelValue` updates, so a 4Hz `timeupdate` still moves it smoothly.","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Playback position in seconds (v-model)","model":true},{"name":"duration","type":"number","required":true,"default":null,"description":"Media length in seconds; 0, NaN or Infinity (not loaded yet, a live stream) disables seeking","model":false},{"name":"buffered","type":"number | [number, number][]","required":false,"default":null,"description":"How much is loaded: up to a time, or time ranges (`[[start, end], …]`, like a media element's `buffered`)","model":false},{"name":"chapters","type":"SeekBarChapter[]","required":false,"default":null,"description":"Chapter starts, drawn as gaps in the track; their titles show in the preview","model":false},{"name":"playing","type":"boolean","required":false,"default":"false","description":"The media is playing: the bar moves on its own between updates, and the wavy line waves","model":false},{"name":"playbackRate","type":"number","required":false,"default":"1","description":"Playback speed, for that motion between updates","model":false},{"name":"live","type":"boolean","required":false,"default":"false","description":"Updates the v-model continuously while dragging (the media follows the thumb), not only on release","model":false},{"name":"variant","type":"\"slider\" | \"line\" | \"wavy\"","required":false,"default":"\"slider\"","description":"`slider`: the M3 slider (bar thumb with a gap around it). `line`: a plain line with a round thumb. `wavy`: the played part waves while playing","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\"","required":false,"default":"\"md\"","description":"Track thickness: `md` (16px, the smallest M3 slider), `sm` (8px) or `xs` (4px, over a video)","model":false},{"name":"time","type":"\"none\" | \"below\" | \"sides\"","required":false,"default":"\"below\"","description":"Where the elapsed and total time go","model":false},{"name":"remaining","type":"boolean","required":false,"default":"false","description":"The end label shows the remaining time (`-1:23`) instead of the total; clicking it switches (v-model:remaining)","model":true},{"name":"format","type":"((seconds: number) => string)","required":false,"default":null,"description":"Formats a time in seconds. Default `m:ss`, or `h:mm:ss` for media an hour or longer","model":false},{"name":"keyStep","type":"number","required":false,"default":"5","description":"Seconds the arrow keys move; Page Up/Down move 10%","model":false},{"name":"preview","type":"boolean","required":false,"default":"true","description":"Shows the time (and chapter) above the pointer while hovering or dragging","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Played part and thumb: an M3 role (`primary`, `secondary`, `tertiary`, `error`) or any CSS color","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Unplayed track: an M3 role or any CSS color. Default secondary-container","model":false},{"name":"timeColor","type":"string","required":false,"default":null,"description":"The time labels' color, as a CSS color (white over a video, say). Default on-surface-variant","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables seeking","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name. Default the locale's `seekBar`","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted on a seek (and continuously while dragging with `live`) — powers v-model"},{"name":"seek","args":"number","description":"Emitted once per seek with its time: on release of a drag, a tap or click, or a key press"},{"name":"scrub-start","args":"number","description":"Emitted when a drag starts, with its time"},{"name":"scrub","args":"number","description":"Emitted while dragging, with the time under the pointer"},{"name":"update:remaining","args":"boolean","description":"Emitted when the end label is clicked to switch between total and remaining time"}],"slots":[{"name":"preview","bindings":"{ time: number; formatted: string; chapter: SeekBarChapter | null; }","description":"Replaces the bubble shown above the pointer while hovering or dragging (a frame preview, say). Props: `{ time, formatted, chapter }`"}],"exposed":[],"types":[{"name":"SeekBarChapter","source":"export interface SeekBarChapter {\n /** Where the chapter starts, in seconds */\n start: number\n /** Shown in the preview while the pointer is over it */\n title?: string\n}"}]},{"name":"MSegmentedButton","import":"@m3ui-vue/m3ui-vue","description":"A row of joined segments for choosing between a small set of related options — single or multi select.","props":[{"name":"modelValue","type":"M","required":true,"default":null,"description":"Selected value, or values with `multiSelect` (v-model); typed after the options' values","model":true},{"name":"options","type":"SegmentedOption<V>[]","required":true,"default":null,"description":"The options to choose from; see `SegmentedOption`.","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"density","type":"\"default\" | \"compact\" | \"comfortable\"","required":false,"default":"\"default\"","description":"Button density","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected segment color","model":false}],"events":[{"name":"update:modelValue","args":"M","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"SegmentedOption","source":"export interface SegmentedOption<V extends string | number = string | number> {\n value: V\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MSelect","import":"@m3ui-vue/m3ui-vue","description":"A single-value dropdown select, docked or as a modal dialog on smaller screens.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (any type — v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when no value selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the select","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset the selection","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text shown when options is empty — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"SelectOption","source":"export interface SelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MShader","import":"@m3ui-vue/m3ui-vue","description":"A canvas container for hand-written shaders. Give it a GLSL fragment shader (Shadertoy-style — it runs on WebGL2 and works everywhere) and, optionally, a WGSL fragment shader that runs on WebGPU when the browser supports it. `renderer=\"auto\"` picks WebGPU whenever both a `wgsl` source and browser support are present, otherwise it falls back to WebGL2 — so the same component works as a drop-in on old and new browsers alike.","props":[{"name":"code","type":"string","required":true,"default":null,"description":"GLSL fragment shader body (Shadertoy-style): must define `mainImage(out vec4 fragColor, in vec2 fragCoord)`. Runs on WebGL2. Always required as the compatible baseline. Don't write the `#version`, the precision or any uniform: the component puts them in front of your code, with Shadertoy's `iTime` (seconds, stops while paused), `iResolution` (canvas size in device pixels), `iMouse` and `iFrame`, plus one per `uniforms` key.","model":false},{"name":"wgsl","type":"string","required":false,"default":null,"description":"Optional WGSL fragment shader module, e.g. `@fragment fn fs_main(@builtin(position) pos: vec4f) -> @location(0) vec4f`. Runs on WebGPU when available. Must declare its own bindings — see docs for the required uniform buffer layout.","model":false},{"name":"renderer","type":"ShaderRenderer","required":false,"default":"\"auto\"","description":"Which backend to use. 'auto' picks WebGPU when `wgsl` is set and supported, else WebGL2.","model":false},{"name":"uniforms","type":"Record<string, number | number[]>","required":false,"default":null,"description":"Custom uniforms, read every frame. In GLSL each key is declared for you, as a `float` for a number or a `vec2`–`vec4` for an array; in WGSL they're binding 1, one `vec4f` per key in this order. Keys and shapes are fixed when the shader compiles (on mount, or when `code`/`wgsl`/`renderer` change); values can change freely, e.g. to drive the shader from your own clock instead of `iTime`.","model":false},{"name":"paused","type":"boolean","required":false,"default":null,"description":"Freezes the render loop and the shader clock","model":false},{"name":"pixelRatio","type":"number","required":false,"default":null,"description":"Device pixels per CSS pixel to render at. Defaults to devicePixelRatio, capped at 2 for performance. Lower it to render fewer pixels (a \"quality\" setting); the canvas is resized when it changes.","model":false}],"events":[{"name":"error","args":"message: string","description":"Emitted on a shader compile/link error, or a WebGPU runtime error"},{"name":"ready","args":"renderer: \"webgpu\" | \"webgl\"","description":"Emitted once the backend has initialized — which backend ended up driving the canvas"}],"slots":[{"name":"loading","bindings":null,"description":"Shown while the backend initializes (default: MSpinner)"},{"name":"fallback","bindings":null,"description":"Shown when neither WebGL2 nor WebGPU is available at all"},{"name":"error","bindings":"{ message: string; }","description":"Shown on a shader compile/link/runtime error, with the message"}],"exposed":[{"name":"canvas","type":"HTMLCanvasElement | null","description":""},{"name":"status","type":"ShaderStatus","description":""},{"name":"context","type":"() => WebGL2RenderingContext | GPUDevice | null","description":"Raw WebGL2RenderingContext or GPUDevice, for consumers who want to go beyond the props API."},{"name":"pause","type":"() => void","description":""},{"name":"play","type":"() => void","description":""},{"name":"restart","type":"() => Promise<void>","description":""}],"types":[{"name":"ShaderRenderer","source":"export type ShaderRenderer = 'auto' | 'webgpu' | 'webgl'"},{"name":"ShaderStatus","source":"export type ShaderStatus = 'loading' | 'ready' | 'error' | 'fallback'"}]},{"name":"MShape","import":"@m3ui-vue/m3ui-vue","description":"Clips its content — or renders a filled shape with no content — into one of Material 3's 35 real \"expressive\" shapes. Changing `shape` spring-morphs into the new outline instead of snapping.","props":[{"name":"shape","type":"\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\"","required":true,"default":null,"description":"One of M3's 35 named \"expressive\" shapes (MaterialShapes.kt), e.g. 'Cookie9Sided', 'Heart'.","model":false},{"name":"fill","type":"string","required":false,"default":"\"currentColor\"","description":"Fill color used when there's no default slot content to clip (a decorative solid shape). SVG `fill`, not a `background-color` — a `bg-*` Tailwind class on the component itself has no effect here; use `fill` (or a `text-*` class, since the default is `currentColor`).","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Spring-morph into the new outline when `shape` changes — false snaps instantly instead.","model":false},{"name":"speed","type":"number","required":false,"default":"1","description":"Multiplier on the morph spring's speed (1 = default). Scales stiffness by speed² and the damping coefficient by speed, which time-scales the spring uniformly without changing its character (same amount of overshoot/settle shape, just faster or slower).","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content clipped to the shape (an image, an icon, anything). Without it the shape is drawn filled with `fill`."}],"exposed":[],"types":[{"name":"ShapeName","source":null}]},{"name":"MShortNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's shorter navigation bar (64dp, vs. MNavigationBar's classic 80dp) — a genuinely separate component, not just a size variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"ShortNavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `ShortNavBarItem`)","model":false},{"name":"arrangement","type":"\"centered\" | \"equal\"","required":false,"default":"\"equal\"","description":"'equal' fills the bar edge to edge (small screens); 'centered' groups items toward the middle instead, recommended for medium/landscape screens","model":false},{"name":"iconPosition","type":"\"top\" | \"start\"","required":false,"default":"\"top\"","description":"'top' stacks the icon above the label; 'start' places it beside the label in one wider pill — typically paired with arrangement='centered'","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ShortNavBarItem","source":"export interface ShortNavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n /** Not selectable: icon and label at 38% of the unselected color, no hover. */\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MSideSheet","import":"@m3ui-vue/m3ui-vue","description":"A panel that slides in from the right edge of the screen. Supports drag-to-dismiss from its left edge, or tapping the scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title, ignored if the header slot is used","model":false},{"name":"width","type":"string","required":false,"default":"\"w-80\"","description":"Tailwind width class for the panel (capped at max-w-[90vw])","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss from the left edge, Escape, or the close button) — powers v-model"}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default title text entirely — the close button stays"},{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MSignaturePad","import":"@m3ui-vue/m3ui-vue","description":"A bordered canvas that captures pointer strokes for signature capture. There's no v-model, since a signature isn't a simple value — read it out via events or the exposed methods.","props":[{"name":"width","type":"number","required":false,"default":"400","description":"Canvas width in px","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Canvas height in px","model":false},{"name":"lineWidth","type":"number","required":false,"default":"2.5","description":"Stroke width","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Stroke color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Canvas background color","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Container border style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables drawing","model":false}],"events":[{"name":"change","args":"string","description":"Fires alongside end, and also after undo() — same data: URL payload"},{"name":"end","args":"string","description":"Fires after a stroke ends, with a PNG data: URL of the canvas"},{"name":"begin","args":"","description":"Fires on the first pointerdown of a new stroke"}],"slots":[],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"undo","type":"() => void","description":""},{"name":"isEmpty","type":"() => boolean","description":""},{"name":"toDataURL","type":"(type?: string | undefined, quality?: number | undefined) => string","description":""}],"types":[]},{"name":"MSimpleCarousel","import":"@m3ui-vue/m3ui-vue","description":"A scroll-snap image carousel with three fixed-width layouts — hero (one protagonist item with peeking neighbors), multi-browse (several items at once, statically sized), and uncontained (variable-width items, optionally animated by scroll position). For the real M3 multi-browse carousel — where items continuously resize as you scroll instead of snapping between fixed widths — see MCarousel.","props":[{"name":"items","type":"SimpleCarouselItem[]","required":true,"default":null,"description":"Slides to render — required","model":false},{"name":"layout","type":"\"multi-browse\" | \"uncontained\" | \"hero\"","required":false,"default":"\"hero\"","description":"Carousel layout style","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Track height","model":false},{"name":"showArrows","type":"boolean","required":false,"default":"true","description":"Show prev/next arrow buttons (fade in on hover)","model":false},{"name":"showIndicators","type":"boolean","required":false,"default":"true","description":"Show dot indicators below the track","model":false},{"name":"autoplay","type":"boolean","required":false,"default":"false","description":"Auto-advance slides — pauses while the pointer is over the carousel","model":false},{"name":"interval","type":"number","required":false,"default":"5000","description":"Autoplay interval in ms","model":false},{"name":"gap","type":"number","required":false,"default":"8","description":"Gap between items in pixels","model":false},{"name":"visibleItems","type":"number","required":false,"default":"3","description":"Number of visible items (multi-browse layout only)","model":false},{"name":"animated","type":"boolean","required":false,"default":"false","description":"Dynamically grow the centered item and shrink the others while scrolling (uncontained layout only)","model":false}],"events":[{"name":"change","args":"index: number","description":"Fires with the new active item index whenever the track scrolls to a different closest item"}],"slots":[],"exposed":[{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""},{"name":"scrollToItem","type":"(index: number) => void","description":""},{"name":"scrollToPage","type":"(page: number) => void","description":""},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Moves keyboard focus to the carousel, so the arrow keys move it"}],"types":[{"name":"SimpleCarouselItem","source":"export interface SimpleCarouselItem {\n src: string\n alt?: string\n label?: string\n supportingText?: string\n ratio?: number\n}"}]},{"name":"MSkeleton","import":"@m3ui-vue/m3ui-vue","description":"A loading placeholder shape — text, circular, rectangular, or rounded — with pulse or wave animation.","props":[{"name":"variant","type":"\"rounded\" | \"text\" | \"circular\" | \"rectangular\"","required":false,"default":"\"text\"","description":"Skeleton shape","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"CSS width (defaults to 100%, or 40px for circular)","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"CSS height (defaults to 14px for text, 40px for circular, 100px otherwise)","model":false},{"name":"lines","type":"number","required":false,"default":"1","description":"Number of text lines (text variant only) — the last line renders at 60% width","model":false},{"name":"animation","type":"\"none\" | \"pulse\" | \"wave\"","required":false,"default":"\"pulse\"","description":"Animation style","model":false},{"name":"radius","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | (string & {})","required":false,"default":null,"description":"Corner radius: an M3 shape step (`none`, `xs` 4px, `sm` 8px, `md` 12px, `lg` 16px, `xl` 28px, `full`) or any CSS length, to match the card or thumbnail it stands in for. Defaults to the variant's (a Tailwind `rounded-*` class works too)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSlider","import":"@m3ui-vue/m3ui-vue","description":"The M3 slider — vertical bar thumb, rounded track with gap, standard/centered/range variants, horizontal or vertical.","props":[{"name":"modelValue","type":"number | [number, number]","required":true,"default":null,"description":"Current value — a tuple when variant is range","model":true},{"name":"min","type":"number","required":false,"default":"0","description":"Minimum value","model":false},{"name":"max","type":"number","required":false,"default":"100","description":"Maximum value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Step increment: the values emitted snap to it; while dragging (without stops) the thumb still follows the pointer smoothly and settles on its step when released","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the slider","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"showValue","type":"boolean","required":false,"default":"false","description":"Show current value beside label","model":false},{"name":"showTooltip","type":"boolean","required":false,"default":"false","description":"Show value tooltip while dragging","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Slider orientation","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"xs\"","description":"Track and thumb size","model":false},{"name":"variant","type":"\"standard\" | \"centered\" | \"range\"","required":false,"default":"\"standard\"","description":"Standard, centered (from middle), or range (two thumbs)","model":false},{"name":"stops","type":"boolean","required":false,"default":"false","description":"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)","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown before the slider — hides once the fill reaches it","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Base color — used for the fill and thumb unless overridden by fillColor/thumbColor","model":false},{"name":"fillColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the filled/active portion of the track and the corner dot. Defaults to `color`'s M3 token.","model":false},{"name":"thumbIcon","type":"string","required":false,"default":null,"description":"Replaces the draggable bar thumb with an icon.","model":false},{"name":"thumbColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the thumb (bar or icon). Defaults to `color`'s M3 token.","model":false}],"events":[{"name":"update:modelValue","args":"number | [number, number]","description":"Emitted while dragging and on key presses, with the new value (a `[low, high]` pair for the range variant)."}],"slots":[],"exposed":[],"types":[]},{"name":"MSnackbar","import":"@m3ui-vue/m3ui-vue","description":"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`.","props":[{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Accessible label of each toast's close button. Defaults to the locale's \"Close\".","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSpacer","import":"@m3ui-vue/m3ui-vue","description":"Pushes flex siblings apart — renders a simple `flex: 1` div. Use it inside MFlex/MStack (or any flex container) to push a group of items to the far edge.","props":[],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSparkline","import":"@m3ui-vue/m3ui-vue","description":"A small trend chart, drawn as SVG with no chart library: a line, an area or bars, for next to a number (a stat card, a table cell, a list item). It fills its box (size it with classes; 96×28px by default), drawn at its real size so dots and bars don't stretch. When the data changes the shape springs to the new values. Screen readers get a summary (first, last, low, high) instead of the drawing. Not an M3 spec component.","props":[{"name":"data","type":"number[]","required":true,"default":null,"description":"The values, oldest first","model":false},{"name":"type","type":"\"line\" | \"bar\" | \"area\"","required":false,"default":"\"line\"","description":"Line, line with a soft fill under it, or bars","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"An M3 color role (`primary`, `tertiary`, `error`...) or any CSS color","model":false},{"name":"smooth","type":"boolean","required":false,"default":"true","description":"Smooth curve through the points (monotone: it never overshoots them) instead of straight segments","model":false},{"name":"showLast","type":"boolean","required":false,"default":"true","description":"A dot on the last point (line and area)","model":false},{"name":"strokeWidth","type":"number","required":false,"default":"2","description":"Line width in px","model":false},{"name":"min","type":"number","required":false,"default":null,"description":"Fix the bottom of the scale (otherwise the lowest value, or 0 for bars)","model":false},{"name":"max","type":"number","required":false,"default":null,"description":"Fix the top of the scale (otherwise the highest value)","model":false},{"name":"baseline","type":"number","required":false,"default":null,"description":"A dashed reference line at this value (a target, yesterday's close)","model":false},{"name":"interactive","type":"boolean","required":false,"default":"false","description":"Follow the pointer with a dot and emit `hover` with the index under it","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name; defaults to a summary of the data in the app's language","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Spring to new data; false (or reduced motion) jumps","model":false}],"events":[{"name":"hover","args":"index: number | null","description":"With `interactive`: the index of the point under the pointer, or null when it leaves"}],"slots":[],"exposed":[],"types":[]},{"name":"MSpinner","import":"@m3ui-vue/m3ui-vue","description":"A small circular loading spinner — a standard ring, or the M3 Expressive wavy variant. For a larger, shape-morphing loading affordance, see MLoadingIndicator.","props":[{"name":"size","type":"number","required":false,"default":"20","description":"Size in px","model":false},{"name":"wavy","type":"boolean","required":false,"default":"false","description":"M3 Expressive wavy animation style — the ring rotates while a wave travels along its stroke, instead of a plain spin","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the spinner's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSplitButton","import":"@m3ui-vue/m3ui-vue","description":"A button split into a main action and a dropdown toggle — click the main part for the primary action, the arrow for alternatives.","props":[{"name":"label","type":"string","required":true,"default":null,"description":"Main button label","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Main button icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"tonal\"","description":"Visual style","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables both parts","model":false},{"name":"items","type":"SplitButtonItem[]","required":false,"default":null,"description":"Dropdown menu items; see `SplitButtonItem`","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the main (left) button is clicked"}],"slots":[{"name":"menu","bindings":"{ close: () => boolean; }","description":"Custom dropdown content. Used instead of items. Call close() to dismiss."}],"exposed":[],"types":[{"name":"SplitButtonItem","source":"export interface SplitButtonItem {\n label: string\n icon?: string\n disabled?: boolean\n onClick?: () => void\n}"}]},{"name":"MSplitter","import":"@m3ui-vue/m3ui-vue","description":"Two resizable panels divided by a draggable bar with M3's drag handle (MDragHandle) on it. The bar is also a keyboard separator: arrow keys move it (Shift for 10%), Home/End jump to the limits.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Split direction","model":false},{"name":"initialSplit","type":"number","required":false,"default":"50","description":"Initial split percentage","model":false},{"name":"min","type":"number","required":false,"default":"10","description":"Minimum panel percentage","model":false},{"name":"max","type":"number","required":false,"default":"90","description":"Maximum panel percentage","model":false}],"events":[],"slots":[{"name":"first","bindings":null,"description":"Content for the first (left/top) panel"},{"name":"second","bindings":null,"description":"Content for the second (right/bottom) panel"}],"exposed":[],"types":[]},{"name":"MSpotlightSearch","import":"@m3ui-vue/m3ui-vue","description":"A spotlight-style search overlay. Unlike MCommandPalette, it doesn't filter internally — you own the results array and update it from the search event, which makes it a natural fit for async/remote search.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"results","type":"SpotlightResult[]","required":false,"default":"[]","description":"Results to render — the component does no filtering itself, it just displays whatever you pass via the search event handler","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in place of the clear button, e.g. while an async search is in flight","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"/\"","description":"Global keyboard shortcut key (no modifier) to open the search — ignored while focus is in a text input/textarea/contenteditable","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay in ms before the search event fires after the query changes; 0 fires immediately on every keystroke","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"openHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"search","args":"string","description":"Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response"},{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"SpotlightResult","description":"Emitted when a result is chosen (click, or Enter)"}],"slots":[],"exposed":[],"types":[{"name":"SpotlightResult","source":"export interface SpotlightResult {\n id: string | number\n title: string\n description?: string\n icon?: string\n category?: string\n}"}]},{"name":"MStack","import":"@m3ui-vue/m3ui-vue","description":"Flex stack with gap, alignment, and optional dividers between items.","props":[{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Stack direction","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items (ignored when divider is true)","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"between\" | \"around\" | \"evenly\" | \"end\"","required":false,"default":"\"start\"","description":"Main-axis alignment","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show dividers between items instead of a gap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The stacked items."}],"exposed":[],"types":[]},{"name":"MStatCard","import":"@m3ui-vue/m3ui-vue","description":"A compact metric card — title, value, optional icon, and a trend indicator, with a built-in loading skeleton.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Stat label text — required","model":false},{"name":"value","type":"string | number","required":true,"default":null,"description":"Main stat value — required","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown in a colored container on the right","model":false},{"name":"trend","type":"number","required":false,"default":null,"description":"Percentage change — positive shows green/up, negative red/down, zero neutral/flat","model":false},{"name":"trendLabel","type":"string","required":false,"default":null,"description":"Text next to the trend indicator (e.g. \"vs last month\")","model":false},{"name":"color","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Icon container color","model":false},{"name":"loading","type":"boolean","required":false,"default":null,"description":"Show a skeleton placeholder instead of the value","model":false}],"events":[],"slots":[{"name":"footer","bindings":null,"description":"Extra content appended after the trend indicator/label row (only rendered when trend, trendLabel, or this slot is present)"}],"exposed":[],"types":[]},{"name":"MStepper","import":"@m3ui-vue/m3ui-vue","description":"A multi-step wizard, horizontal or vertical, with icons, descriptions, and optional/error states.","props":[{"name":"steps","type":"StepItem[]","required":true,"default":null,"description":"Step definitions (see `StepItem`)","model":false},{"name":"modelValue","type":"number","required":true,"default":null,"description":"Active step index (0-based), v-model","model":true},{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"linear","type":"boolean","required":false,"default":"true","description":"When true, steps are not clickable — only the active step changes via v-model from outside. When false, any non-active step can be clicked to jump to it.","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the new current step index."}],"slots":[],"exposed":[],"types":[{"name":"StepItem","source":"export interface StepItem {\n label: string\n description?: string\n icon?: string\n optional?: boolean\n error?: boolean\n}"}]},{"name":"MSticky","import":"@m3ui-vue/m3ui-vue","description":"Sticks content to the top of its scroll container using `position: sticky`.","props":[{"name":"top","type":"string | number","required":false,"default":"0","description":"Sticky offset from top (number = px)","model":false},{"name":"zIndex","type":"number","required":false,"default":"40","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that sticks."}],"exposed":[],"types":[]},{"name":"MSubtitle","import":"@m3ui-vue/m3ui-vue","description":"Secondary text component with muted color by default — a thin wrapper around `MText`.","props":[{"name":"size","type":"\"small\" | \"medium\" | \"large\"","required":false,"default":"\"large\"","description":"Subtitle size (maps to body-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"on-surface-variant\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The subtitle text."}],"exposed":[],"types":[]},{"name":"MSupportingPane","import":"@m3ui-vue/m3ui-vue","description":"Material 3's supporting pane layout: main content plus a narrower pane that supports it, like related videos next to a player, a cart next to a product or comments next to a document. With room for two panes (840px and up) the supporting pane sits beside the main one; on smaller screens it moves under it, or into a bottom sheet with `single-pane=\"sheet\"`. It measures its own width, not the window's.","props":[{"name":"singlePane","type":"\"below\" | \"sheet\"","required":false,"default":"\"below\"","description":"Where the supporting pane goes when there's room for only one pane.","model":false},{"name":"open","type":"boolean","required":false,"default":"false","description":"With `singlePane=\"sheet\"`: whether the sheet is open (v-model:open).","model":true},{"name":"sheetTitle","type":"string","required":false,"default":null,"description":"With `singlePane=\"sheet\"`: the sheet's title.","model":false},{"name":"supportingWidth","type":"string","required":false,"default":null,"description":"Supporting pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:open","args":"boolean","description":"Emitted when the sheet is dismissed, or closed because both panes fit again"}],"slots":[{"name":"main","bindings":"{ twoPane: boolean; }","description":"The main content"},{"name":"supporting","bindings":"{ twoPane: boolean; }","description":"Content that supports the main pane: related items, a summary, details, tools"}],"exposed":[],"types":[]},{"name":"MSwipeToDismiss","import":"@m3ui-vue/m3ui-vue","description":"Content that can be swiped left or right to dismiss it, uncovering a background behind it (a port of Compose's `SwipeToDismissBox`), typically a list item with \"archive\" and \"delete\" behind. Once swiped away it stays there until you reset it (`v-model` back to `'settled'`, or `reset()`), so you decide what happens: remove the item, or undo.","props":[{"name":"modelValue","type":"SwipeToDismissValue","required":false,"default":"\"settled\"","description":"State (v-model): `'settled'`, or dismissed towards `'start-to-end'` / `'end-to-start'`. Set it to animate there.","model":true},{"name":"startToEnd","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping in the reading direction (right in LTR)","model":false},{"name":"endToStart","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping against the reading direction (left in LTR)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns the swipe gesture off (setting v-model still works)","model":false},{"name":"threshold","type":"number","required":false,"default":"56","description":"How far, in px, the content has to move before releasing dismisses it (SwipeToDismissBoxDefaults: 56dp)","model":false}],"events":[{"name":"update:modelValue","args":"SwipeToDismissValue","description":"Emitted when it settles in a new state — powers v-model"},{"name":"dismiss","args":"\"start-to-end\" | \"end-to-start\"","description":"Emitted with the direction when the content is swiped away"}],"slots":[{"name":"background","bindings":"{ direction: SwipeToDismissValue; target: SwipeToDismissValue; progress: number; }","description":"What the swipe uncovers. Receives `{ direction, target, progress }`: the side being swiped (`'start-to-end'`, `'end-to-start'` or `'settled'`), the state it would settle in if released now, and how far it has moved (0 to 1)"},{"name":"default","bindings":null,"description":"The content that moves"}],"exposed":[{"name":"reset","type":"() => void","description":"Animates back to `'settled'`"},{"name":"dismiss","type":"(dir: \"start-to-end\" | \"end-to-start\") => void","description":"Animates away in the given direction"}],"types":[{"name":"SwipeToDismissValue","source":"export type SwipeToDismissValue = 'settled' | 'start-to-end' | 'end-to-start'"}]},{"name":"MSwitch","import":"@m3ui-vue/m3ui-vue","description":"A toggle switch with an optional label, 4 semantic colors, and both M3 icon variants.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Toggle state (v-model)","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the switch","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Track/thumb color when on","model":false},{"name":"icon","type":"boolean","required":false,"default":"true","description":"Shows a check icon in the thumb while on. Set to `false` for M3's plain switch without an icon.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new on/off state."}],"slots":[],"exposed":[],"types":[]},{"name":"MTable","import":"@m3ui-vue/m3ui-vue","description":"A simple, general-purpose data table — sortable columns, built-in search, pagination, and optional row selection, with an escape hatch to delegate all three to your backend via serverSide.","props":[{"name":"columns","type":"TableColumn[]","required":true,"default":null,"description":"Column definitions: { key, label, sortable?, width?, align? }","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit `fetch` instead of filtering locally. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge, pluralized with 's' (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"TableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"}],"exposed":[],"types":[{"name":"TableFetchParams","source":"export interface TableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"},{"name":"TableColumn","source":"export interface TableColumn {\n key: string\n label: string\n sortable?: boolean\n width?: string\n align?: 'left' | 'center' | 'right'\n}"}]},{"name":"MTabs","import":"@m3ui-vue/m3ui-vue","description":"Switches between different views or content sections. The indicator animates via two independent springs (offset and width), not a CSS transition — see the component source for details.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active tab value (v-model)","model":true},{"name":"tabs","type":"Tab[]","required":true,"default":null,"description":"Tab definitions","model":false},{"name":"variant","type":"\"primary\" | \"secondary\"","required":false,"default":"\"primary\"","description":"Primary: short sliding underline shorter than the tab with a stretch animation. Secondary: full-width underline spanning the entire tab, text-only.","model":false},{"name":"scrollable","type":"boolean","required":false,"default":"false","description":"Fixed (default, M3 `TabRow`): tabs evenly share the available width, no scrolling — use for 2-5 tabs. Scrollable (M3 `ScrollableTabRow`): tabs keep their natural width and the row scrolls horizontally when they overflow — use for many tabs.","model":false},{"name":"iconPosition","type":"\"top\" | \"leading\"","required":false,"default":null,"description":"Where a tab's icon goes: `top`, stacked above the label in a 64px tab (Compose's `Tab`), or `leading`, beside the label in a 48px tab (Compose's `LeadingIconTab`). Defaults to `top` for primary tabs and `leading` for secondary ones.","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted with the value of the tab you picked."}],"slots":[],"exposed":[],"types":[{"name":"Tab","source":"interface Tab {\n value: string | number\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MTagInput","import":"@m3ui-vue/m3ui-vue","description":"Type and press Enter or comma to add a free-form tag. Backspace on an empty input removes the last tag.","props":[{"name":"modelValue","type":"string[]","required":true,"default":"[]","description":"Array of tags (v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"maxTags","type":"number","required":false,"default":null,"description":"Max number of tags allowed","model":false},{"name":"duplicates","type":"boolean","required":false,"default":"false","description":"Allow duplicate tags","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"string[]","description":"Emitted whenever a tag is added or removed — powers v-model"},{"name":"debounced","args":"string[]","description":"Emitted debounce ms after the tag list stops changing (only when debounce > 0)"}],"slots":[],"exposed":[{"name":"inputEl","type":"HTMLInputElement | null","description":"The `<input>` (or `<textarea>`) element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the field"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the field"},{"name":"select","type":"() => void | undefined","description":"Selects all its text"},{"name":"setSelectionRange","type":"(start: number, end: number, direction?: \"none\" | \"forward\" | \"backward\" | undefined) => void | undefined","description":"Selects part of its text (e.g. a file name without its extension)"}],"types":[]},{"name":"MTerminal","import":"@m3ui-vue/m3ui-vue/terminal","description":"A terminal emulator built on xterm.js — pre-filled static output, or fully interactive keyboard input.","props":[{"name":"lines","type":"string[]","required":false,"default":"[]","description":"Initial lines to display","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Disable input","model":false},{"name":"title","type":"string","required":false,"default":"\"Terminal\"","description":"Title bar text","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"300px\"","description":"Minimum height","model":false}],"events":[{"name":"line","args":"string","description":"Emitted with the buffered text once the user presses Enter — the usual event to handle a submitted command"},{"name":"input","args":"string","description":"Emitted for every raw keystroke/data chunk xterm receives (not readonly)"}],"slots":[],"exposed":[{"name":"write","type":"(text: string) => any","description":""},{"name":"writeln","type":"(text: string) => any","description":""},{"name":"clear","type":"() => any","description":""},{"name":"focus","type":"() => any","description":""}],"types":[]},{"name":"MText","import":"@m3ui-vue/m3ui-vue","description":"Renders any of the 15 Material 3 typography variants, with an auto-selected semantic HTML tag.","props":[{"name":"variant","type":"TextVariant","required":false,"default":"\"body-medium\"","description":"Typography variant from the Material 3 type scale","model":false},{"name":"tag","type":"string","required":false,"default":null,"description":"HTML tag to render (auto-selected based on variant — h1/h2/h3 for display/headline, p for title/body, span for label)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":"\"left\"","description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false},{"name":"lines","type":"1 | 2 | 3 | 4 | 5 | 6","required":false,"default":null,"description":"Clamp text to a specific number of lines","model":false},{"name":"weight","type":"\"bold\" | \"medium\" | \"regular\"","required":false,"default":null,"description":"Font weight override","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The text."}],"exposed":[],"types":[{"name":"TextVariant","source":"export type TextVariant =\n | 'display-large' | 'display-medium' | 'display-small'\n | 'headline-large' | 'headline-medium' | 'headline-small'\n | 'title-large' | 'title-medium' | 'title-small'\n | 'body-large' | 'body-medium' | 'body-small'\n | 'label-large' | 'label-medium' | 'label-small'"}]},{"name":"MTextField","import":"@m3ui-vue/m3ui-vue","description":"The standard single- or multi-line text input, filled or outlined, with floating label.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Bound value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"type","type":"string","required":false,"default":"\"text\"","description":"HTML input type","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Puts the field in error state (red border and label)","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown below the field (only visible when error is true)","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text shown below the field","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"multiline","type":"boolean","required":false,"default":null,"description":"Renders a textarea instead of an input","model":false},{"name":"rows","type":"number","required":false,"default":"3","description":"Textarea rows (when multiline); with autoGrow, the fewest it shrinks to","model":false},{"name":"autoGrow","type":"boolean","required":false,"default":null,"description":"Multiline only: grows with the text from `rows` up to `maxRows`, instead of a fixed height with a drag handle","model":false},{"name":"maxRows","type":"number","required":false,"default":null,"description":"With autoGrow, the most rows it grows to before scrolling. Unset grows without limit","model":false},{"name":"autocomplete","type":"string","required":false,"default":null,"description":"Passed through to the native autocomplete attribute","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the input","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button when the field has a value","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event. v-model always updates immediately","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[{"name":"trailing","bindings":null,"description":"Custom trailing content (e.g. an icon button) — replaces the built-in clear button when present"}],"exposed":[{"name":"inputEl","type":"HTMLInputElement | HTMLTextAreaElement | null","description":"The `<input>` (or `<textarea>`) element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the field"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the field"},{"name":"select","type":"() => void | undefined","description":"Selects all its text"},{"name":"setSelectionRange","type":"(start: number, end: number, direction?: \"none\" | \"forward\" | \"backward\" | undefined) => void | undefined","description":"Selects part of its text (e.g. a file name without its extension)"}],"types":[]},{"name":"MTimeline","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"items","type":"T[]","required":true,"default":null,"description":"Array of timeline entries — required","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact spacing between items","model":false},{"name":"alternating","type":"boolean","required":false,"default":"false","description":"Alternate items left/right of a central line instead of a single left-aligned column (vertical only)","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"Vertical (default) or horizontal: entries side by side along a line, scrolling sideways when they don't fit","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Leaves each entry's content to the `#item` slot: no title, description or date","model":false},{"name":"current","type":"number","required":false,"default":null,"description":"Makes it a progress timeline (an order's tracking, a setup's steps): the index of the current step. The ones before are done, the ones after pending; an item's own `status` wins. `items.length` marks them all done","model":false},{"name":"responsive","type":"boolean","required":false,"default":"true","description":"Lets the alternating layout fold into a single column (the line on the left, `#opposite` under the content) while the timeline is narrower than 32rem: its own width, so it works in a side column too","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Entries added after it mounts fade and slide in, and the rest move to their new places, on M3 springs (none with reduced motion). Give items a `key`, or an insertion looks like a change to every entry after it","model":false},{"name":"limit","type":"number","required":false,"default":null,"description":"Shows only the first entries (a count; groups' headers don't count), with a button for the rest","model":false},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Whether the entries past `limit` show (v-model:expanded); the timeline keeps its own state otherwise","model":true}],"events":[{"name":"update:expanded","args":"expanded: boolean","description":""}],"slots":[{"name":"item","bindings":"{ item: T; index: number; }","description":"Extra content under an entry's description (a card, chips, a button). With `bare`, the entry's whole content. `item-{index}` slots still work for a single entry and win over this one"},{"name":"title","bindings":"{ item: T; index: number; }","description":"Replaces an entry's title row (title and date)"},{"name":"dot","bindings":"{ item: T; index: number; }","description":"Replaces an entry's dot (an avatar, an image, a custom shape); the line still runs from it"},{"name":"opposite","bindings":"{ item: T; index: number; }","description":"Content across the line: on the empty side in the alternating layout, or in a column before the line in the single-column one (dates, times, amounts)"},{"name":"group","bindings":"{ group: string; items: T[]; }","description":"Replaces a group's header (scope: `{ group, items }`, the run of entries under it)"}],"exposed":[],"types":[{"name":"TimelineItem","source":"export interface TimelineItem {\n /** Stable key for the entry (defaults to its index): set it when entries are added or removed */\n key?: string | number;\n title: string;\n description?: string;\n date?: string;\n icon?: string;\n color?: \"primary\" | \"secondary\" | \"tertiary\" | \"error\" | \"success\";\n /** Any CSS color for the dot (and its line), over `color` */\n dotColor?: string;\n /**\n * Progress of a step: `done` (filled, a solid line to the next), `current` (filled, with a pulsing halo) or\n * `pending` (outlined, a dashed line). Over what the timeline's `current` gives it\n */\n status?: \"done\" | \"current\" | \"pending\";\n /**\n * A group to show it under (\"Today\", \"Yesterday\"): a header goes before each run of consecutive entries with the\n * same group, and the line stops at the end of the run\n */\n group?: string;\n}"},{"name":"TimelineStatus","source":"export type TimelineStatus = NonNullable<TimelineItem[\"status\"]>;"}]},{"name":"MTimePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored hour/minute picker with 12h/24h format support.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected time (HH:MM, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no time is selected — falls back to label, then the current locale's string","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"use24h","type":"boolean","required":false,"default":"true","description":"Use 24-hour format","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked time."}],"slots":[],"exposed":[],"types":[]},{"name":"MTimePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered time picker with a clock dial (or, with `mode=\"scroll\"`, M3 Expressive's scroll wheels from MTimeScroll) and a keyboard input mode. Supports AM/PM toggle and 24h format — the sibling of MTimePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected time in HH:MM format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"use24h","type":"boolean","required":false,"default":"false","description":"Use 24-hour format (shows inner ring 13-23)","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false},{"name":"mode","type":"\"dial\" | \"scroll\"","required":false,"default":"\"dial\"","description":"How the time is picked before switching to keyboard input: a clock `dial`, or `scroll` wheels (MTimeScroll)","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a time is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MTimeScroll","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's time scroll picker (a port of Compose's `TimeScroll`): an hour wheel and a minute wheel side by side, plus an AM/PM toggle in 12-hour mode. It updates as the wheels turn; put it in a dialog or a form for the confirm step.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected time in HH:MM, 24-hour (v-model); null shows 12:00 AM (00:00 in 24-hour mode)","model":true},{"name":"use24h","type":"boolean","required":false,"default":"false","description":"24-hour wheel (00–23) instead of 1–12 with AM/PM","model":false},{"name":"minuteStep","type":"number","required":false,"default":"1","description":"Minute increment step; the minute wheel shows only multiples of it","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the wheels and the AM/PM toggle","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the time as HH:MM (24-hour) whenever a wheel or AM/PM changes"}],"slots":[],"exposed":[],"types":[]},{"name":"MTitle","import":"@m3ui-vue/m3ui-vue","description":"Semantic heading component in three sizes — a thin wrapper around `MText` at medium weight.","props":[{"name":"size","type":"\"small\" | \"medium\" | \"large\"","required":false,"default":"\"large\"","description":"Title size (maps to headline-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The title text."}],"exposed":[],"types":[]},{"name":"MToggleButton","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's standalone toggle button — morphs its own shape between a pill and a squared corner on check, and squishes further while pressed, all on a real spring. Distinct from MSegmentedButton/MButtonGroup, which are groups of options — this is a single button.","props":[{"name":"checked","type":"boolean","required":true,"default":null,"description":"Whether the toggle button is checked/selected — v-model.","model":true},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"filled\"","description":"Visual style, matching MButton's naming","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown before the label","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Same 5-tier expressive sizing as MButton","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"update:checked","args":"boolean","description":"Emitted when clicked — powers v-model:checked"}],"slots":[{"name":"default","bindings":null,"description":"The button's label, after the icon."}],"exposed":[],"types":[]},{"name":"MToolbar","import":"@m3ui-vue/m3ui-vue","description":"A container for grouping icon buttons and actions — docked to an edge or floating as a rounded pill, horizontal or vertical, with an optional paired FAB. A floating toolbar collapses (`v-model:expanded`): with a FAB, into the FAB, which grows to 80px; without one, to its center (the default slot), closing `#leading` and `#trailing`. `collapseOnScroll` does it as the content scrolls.","props":[{"name":"variant","type":"\"docked\" | \"floating\"","required":false,"default":"\"docked\"","description":"Docked (edge-attached, full width/height, bordered) or floating (rounded pill with shadow)","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color scheme","model":false},{"name":"fabPosition","type":"\"start\" | \"none\" | \"end\"","required":false,"default":"\"none\"","description":"Where the #fab slot renders relative to the toolbar body","model":false},{"name":"align","type":"\"center\" | \"start\" | \"between\" | \"end\"","required":false,"default":"\"center\"","description":"Item alignment along the main axis","model":false},{"name":"collapseOnScroll","type":"string | boolean | HTMLElement | null","required":false,"default":"false","description":"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","model":false},{"name":"expanded","type":"boolean","required":false,"default":"true","description":"A floating toolbar's state: collapsed, it shows only the FAB, or only its center without one. Default `true`","model":true}],"events":[{"name":"update:expanded","args":"value: boolean","description":"The toolbar collapsed or expanded on scroll (`collapseOnScroll`)"}],"slots":[{"name":"fab","bindings":null,"description":"A FAB rendered alongside the toolbar body, positioned by fabPosition. The toolbar sizes an MFab in it"},{"name":"leading","bindings":null,"description":"Items before the center, hidden when a floating toolbar without a FAB collapses"},{"name":"default","bindings":null,"description":"Toolbar items — typically MIconButton/MButton, separated with MDivider. With #leading or #trailing, the center, which stays when a floating toolbar without a FAB collapses"},{"name":"trailing","bindings":null,"description":"Items after the center, hidden when a floating toolbar without a FAB collapses"}],"exposed":[],"types":[]},{"name":"MTooltip","import":"@m3ui-vue/m3ui-vue","description":"A hover/focus-triggered label — plain text, or a rich variant with a title, detailed content, and action buttons.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Tooltip text (plain variant), or the rich variant's title line","model":false},{"name":"placement","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"top\"","description":"Tooltip position relative to the trigger","model":false},{"name":"delay","type":"number","required":false,"default":"600","description":"Show delay in ms after hover/focus","model":false},{"name":"rich","type":"boolean","required":false,"default":"false","description":"Rich tooltip with a #content slot and optional #actions. Stays open when hovering the tooltip itself instead of closing immediately.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The trigger element the tooltip is anchored to"},{"name":"content","bindings":null,"description":"Rich-tooltip body content (only used when rich is true)"},{"name":"actions","bindings":null,"description":"Rich-tooltip action buttons row (only used when rich is true)"}],"exposed":[],"types":[]},{"name":"MTopAppBar","import":"@m3ui-vue/m3ui-vue","description":"A top app bar in four M3 layouts — center-aligned, small, medium, and large — with a leading navigation icon and trailing actions. Medium and large can be M3 Expressive's flexible bars (bigger titles, a subtitle), and any of them can react to scrolling: change color, hide, or collapse to the small bar.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"App bar title","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"A line below the title (Compose's `subtitle`): small, center-aligned and flexible medium/large bars","model":false},{"name":"variant","type":"\"center\" | \"small\" | \"medium\" | \"large\"","required":false,"default":"\"small\"","description":"64dp small/center-aligned row, or a 112dp medium / 152dp large two-row layout with the title below","model":false},{"name":"flexible","type":"boolean","required":false,"default":"false","description":"Medium/large only: M3 Expressive's MediumFlexibleTopAppBar / LargeFlexibleTopAppBar, with a headline-medium / display-small title and room for a subtitle (112/136dp and 120/152dp tall)","model":false},{"name":"titleAlignment","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Medium/large only: where the title row sits (Compose's `titleHorizontalAlignment`)","model":false},{"name":"navigationIcon","type":"string","required":false,"default":null,"description":"Leading icon (e.g. menu, arrow_back)","model":false},{"name":"navigationLabel","type":"string","required":false,"default":null,"description":"Accessible label for the navigation icon button — defaults to the locale's generic \"Menu\" label; override when navigationIcon is actually a back arrow rather than a drawer toggle.","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Swaps both container color (surface → surface-container) and elevation (level 0 → level 2), matching the real M3 on-scroll container tokens rather than just adding a shadow","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"enter-always\" | \"exit-until-collapsed\"","required":false,"default":null,"description":"How the bar reacts to `scrollTarget` scrolling (Compose's TopAppBarDefaults scroll behaviors). `pinned` stays put and takes the scrolled container color once the content moves under it; `enter-always` hides (a medium/large bar collapses to the small one) while the content scrolls down and comes back as soon as it scrolls up; `exit-until-collapsed` collapses a medium/large bar as the content scrolls and expands it only back at the top. The last two make the bar sticky over the content: put it at the top of the scrolling element (or of the page)","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[{"name":"navigation","args":"","description":"Emitted when the default navigation icon button is clicked (not emitted when the #navigation slot is overridden — that content is fully custom)"}],"slots":[{"name":"navigation","bindings":null,"description":"Custom leading area (default: an MIconButton built from the navigationIcon prop)"},{"name":"title","bindings":null,"description":"Custom title content (default: renders the title prop)"},{"name":"subtitle","bindings":null,"description":"Custom subtitle content (default: renders the subtitle prop)"},{"name":"actions","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MTour","import":"@m3ui-vue/m3ui-vue","description":"A guided, step-by-step walkthrough that highlights a page element per step with an auto-positioned tooltip and a dimming scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Show/hide the tour (v-model)","model":true},{"name":"steps","type":"TourStep[]","required":true,"default":null,"description":"Ordered list of steps; see `TourStep`","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Label for the Previous button (defaults to the locale string, 'Previous')","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Label for the Next button (defaults to the locale string, 'Next')","model":false},{"name":"finishLabel","type":"string","required":false,"default":null,"description":"Label for the final step's button (defaults to the locale string, 'Finish')","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the tour opens or closes (Escape-less — closed via the X button, clicking the scrim, or finishing) — powers v-model"},{"name":"finish","args":"","description":"Emitted when the user completes the last step (clicks the finish button)"}],"slots":[],"exposed":[],"types":[{"name":"TourStep","source":"export interface TourStep {\n target: string\n title: string\n content: string\n placement?: 'top' | 'bottom' | 'left' | 'right'\n}"}]},{"name":"MTransferList","import":"@m3ui-vue/m3ui-vue","description":"Move items between two panes, with select-all, optional search and v-model on the values in the target pane. Check rows and use the arrows, or double-click a row (or press Enter on its checkbox) to send it straight across. When the component is narrow, the panes stack and the arrows point up and down.","props":[{"name":"modelValue","type":"Value[]","required":true,"default":null,"description":"Values in the target (right or bottom) pane (v-model)","model":true},{"name":"items","type":"T[]","required":true,"default":null,"description":"Full list of items; see `TransferItem` (or your own type extending it)","model":false},{"name":"sourceTitle","type":"string","required":false,"default":null,"description":"Source pane title (defaults to the locale string)","model":false},{"name":"targetTitle","type":"string","required":false,"default":null,"description":"Target pane title (defaults to the locale string)","model":false},{"name":"filterable","type":"boolean","required":false,"default":"false","description":"Show a search field in each pane. It matches the label and the description","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Search field placeholder (defaults to the locale string)","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when a pane is empty (defaults to the locale string)","model":false},{"name":"moveAllRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-right button (defaults to the locale string)","model":false},{"name":"moveRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-right button (defaults to the locale string)","model":false},{"name":"moveLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-left button (defaults to the locale string)","model":false},{"name":"moveAllLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-left button (defaults to the locale string)","model":false},{"name":"listHeight","type":"string","required":false,"default":"\"280px\"","description":"Height of each list's scroll area (any CSS length).","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Fully custom rows: the `#item` slot draws the whole row (no checkbox, padding, min height or background). The row stays clickable, focusable (Space checks it, Enter moves it) and animated; use the slot's `checked` to style the checked state.","model":false}],"events":[{"name":"update:modelValue","args":"Value[]","description":"Emitted whenever items move between panes (v-model)"}],"slots":[{"name":"item","bindings":"{ item: T; checked: boolean; side: \"source\" | \"target\"; toggle: () => void; move: () => void; }","description":"Custom row content. Without `bare` it replaces the icon and text, keeping the checkbox, highlight and hover. Buttons, links, fields and `[data-transfer-action]` elements inside keep their own clicks instead of checking the row."},{"name":"source-empty","bindings":null,"description":"Custom content when the source pane is empty"},{"name":"target-empty","bindings":null,"description":"Custom content when the target pane is empty"}],"exposed":[],"types":[{"name":"TransferItem","source":"export interface TransferItem {\n value: string | number\n label: string\n icon?: string\n /** Optional second line under the label (an email, a role, a short description). */\n description?: string\n}"},{"name":"Value","source":"type Value = string | number"}]},{"name":"MTransition","import":"@m3ui-vue/m3ui-vue","description":"M3's navigation transitions between two views (a port of Compose's `MaterialTransitions`): `shared-axis` slides the new view in from the side as the old one slides out (use `reverse` when going back), and `fade-through` fades the old view out and the new one in with a slight scale, for destinations without a spatial relationship such as navigation bar tabs. Wrap content that changes its `key` (or a `v-if`/`v-else` pair, or a `<RouterView>` slot's component); both views overlap while they animate.","props":[{"name":"type","type":"\"shared-axis\" | \"fade-through\"","required":false,"default":"\"shared-axis\"","description":"`shared-axis` (horizontal, for forward/back navigation) or `fade-through` (unrelated destinations)","model":false},{"name":"reverse","type":"boolean","required":false,"default":"false","description":"Shared axis: play the backward transition (the new view comes from the start side)","model":false},{"name":"appear","type":"boolean","required":false,"default":"false","description":"Animate the first view too","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The current view; give it a `key` that changes with it"}],"exposed":[],"types":[]},{"name":"MTree","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical tree view with expand/collapse, single-node selection, and optional cascading checkbox selection.","props":[{"name":"nodes","type":"TreeNode[]","required":true,"default":null,"description":"Root nodes to render — required","model":false},{"name":"selected","type":"string | number | null","required":false,"default":"null","description":"Currently selected node id (single-select).","model":true},{"name":"checked","type":"(string | number)[]","required":false,"default":"[]","description":"Checked node ids (checkable multi-select).","model":true},{"name":"checkable","type":"boolean","required":false,"default":"false","description":"Show checkboxes with cascade selection.","model":false},{"name":"defaultExpanded","type":"\"all\" | \"none\" | (string | number)[]","required":false,"default":"\"none\"","description":"Which nodes start expanded. 'all' | 'none' | array of ids (default: 'none').","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when nodes is empty. Falls back to the app's configured locale's noItems string","model":false}],"events":[{"name":"update:selected","args":"string | number | null","description":"Fires when a node is clicked, toggling selection (clicking the already-selected node clears it)"},{"name":"node-click","args":"TreeNode","description":"Fires whenever a node row is clicked, alongside update:selected"},{"name":"update:checked","args":"(string | number)[]","description":"Fires when a checkbox toggles a node (checkable mode)"}],"slots":[],"exposed":[{"name":"expandAll","type":"() => void","description":""},{"name":"collapseAll","type":"() => void","description":""}],"types":[{"name":"TreeNode","source":"// ── Public types ────────────────────────────────────────────────────────────\n\nexport interface TreeNode {\n id: string | number\n label: string\n icon?: string\n children?: TreeNode[]\n disabled?: boolean\n [key: string]: unknown\n}"}]},{"name":"MTreeTable","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical table for nested data like file systems or org charts — rows can carry a `children` array, and the first column renders the indent and expand/collapse toggle automatically.","props":[{"name":"columns","type":"TreeTableColumn[]","required":true,"default":null,"description":"Column definitions; see `TreeTableColumn`","model":false},{"name":"rows","type":"TreeTableRow[]","required":true,"default":null,"description":"Hierarchical rows with an optional children array; see `TreeTableRow`","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"defaultExpanded","type":"boolean","required":false,"default":"false","description":"Expand all nodes with children by default","model":false},{"name":"indent","type":"number","required":false,"default":"24","description":"Indentation per depth level, in px","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when rows is empty. Falls back to the app's configured locale's noResults string","model":false}],"events":[{"name":"rowClick","args":"TreeTableRow","description":"Emitted with the row when you click it."}],"slots":[{"name":"toolbar","bindings":"{ expandAll: () => void; collapseAll: () => void; }","description":"Toolbar content above the table, only rendered when this slot is used — gets expandAll()/collapseAll() helpers"}],"exposed":[],"types":[{"name":"TreeTableColumn","source":"export interface TreeTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n}"},{"name":"TreeTableRow","source":"export interface TreeTableRow {\n [key: string]: any\n children?: TreeTableRow[]\n}"}]},{"name":"MVideoPlayer","import":"@m3ui-vue/m3ui-vue/media","description":"A video player (not an M3 spec component: a port of Media3's Compose Material3 `Player`, androidx/media `ui_compose_material3`): controls in three slots like Media3's, top (empty, the title in full screen), center (previous, back, a large play/pause, forward, next, centered on the picture) and bottom (an `MSeekBar`, the time and chapter, volume, subtitles, settings, picture in picture and full screen). Unlike Media3's they keep a dark scrim and white content in both themes, as they sit on the picture; the play button is primary-container, a circle while paused that squares off while playing. Controls hide while playing after `hideDelay`. A click plays/pauses and a double click goes full screen; on touch a tap shows or hides the controls, a double tap on either side skips (taps add up), and a long press plays at 2× while held. Keys (with the player focused): Space/K, J/L, arrows, F, M, C, 0–9, Home/End, `<`/`>`. Plays `src`/`sources` in a `<video>`, or anything else through `#media` over a clock of `duration` seconds. HLS (`.m3u8`) plays natively where the browser can; elsewhere pass `:hls=\"() => import(\"hls.js\")\"`.","props":[{"name":"src","type":"string","required":false,"default":null,"description":"Video URL","model":false},{"name":"sources","type":"VideoSource[]","required":false,"default":null,"description":"Several formats of the video; the browser plays the first it can","model":false},{"name":"poster","type":"string","required":false,"default":null,"description":"Image shown before playing","model":false},{"name":"tracks","type":"VideoTrack[]","required":false,"default":null,"description":"Subtitle tracks (WebVTT)","model":false},{"name":"chapters","type":"SeekBarChapter[]","required":false,"default":null,"description":"Chapters, drawn on the seek bar","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Shown at the top in full screen, and on the lock screen while playing","model":false},{"name":"duration","type":"number","required":false,"default":null,"description":"Length in seconds, for `#media` content (with a `<video>` it comes from the file)","model":false},{"name":"player","type":"MediaPlayer","required":false,"default":null,"description":"Drive this player instead of one of its own (from `useMediaPlayer()`, kept outside to survive page changes). Read once","model":false},{"name":"playing","type":"boolean","required":false,"default":null,"description":"Playing (v-model)","model":true},{"name":"currentTime","type":"number","required":false,"default":null,"description":"Position in seconds (v-model)","model":true},{"name":"rate","type":"number","required":false,"default":null,"description":"Playback speed (v-model)","model":true},{"name":"volume","type":"number","required":false,"default":null,"description":"Volume, 0 to 1 (v-model)","model":true},{"name":"muted","type":"boolean","required":false,"default":null,"description":"Muted (v-model)","model":true},{"name":"autoplay","type":"boolean","required":false,"default":"false","description":"Starts playing when mounted; muted if the browser blocks sound before a user gesture","model":false},{"name":"loop","type":"boolean","required":false,"default":"false","description":"Starts over at the end","model":false},{"name":"controls","type":"boolean","required":false,"default":"true","description":"Shows the controls. Off: just the video and its gestures","model":false},{"name":"hasPrevious","type":"boolean","required":false,"default":"false","description":"Adds previous and next buttons (emits `previous`); with only one of the two, the other shows disabled","model":false},{"name":"hasNext","type":"boolean","required":false,"default":"false","description":"Adds previous and next buttons (emits `next`); with only one of the two, the other shows disabled","model":false},{"name":"seekStep","type":"number","required":false,"default":"10","description":"Seconds the skip buttons, J/L and double taps move","model":false},{"name":"speeds","type":"number[]","required":false,"default":"[0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2]","description":"Speeds offered in the settings menu","model":false},{"name":"aspectRatio","type":"string","required":false,"default":"\"16/9\"","description":"Box ratio, as CSS `aspect-ratio`; `auto` follows the video","model":false},{"name":"fit","type":"\"contain\" | \"cover\"","required":false,"default":"\"contain\"","description":"How the video fills the box","model":false},{"name":"hideDelay","type":"number","required":false,"default":"3000","description":"Milliseconds without activity before the controls hide while playing","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Played part of the seek bar: an M3 role or any CSS color","model":false},{"name":"crossorigin","type":"\"anonymous\" | \"use-credentials\"","required":false,"default":null,"description":"The video's CORS mode. Subtitles from another origin need `anonymous` (and a video host that allows it, as the `<track>` is fetched in the video's mode)","model":false},{"name":"hls","type":"(() => Promise<HlsModule>)","required":false,"default":null,"description":"Loads hls.js for `.m3u8` where the browser can't play HLS: `() => import(\"hls.js\")`","model":false}],"events":[{"name":"error","args":"MediaError | null","description":"The video failed to load or play, with the media element's error"},{"name":"fullscreen","args":"boolean","description":"Full screen was entered (true) or left (false)"},{"name":"update:playing","args":"boolean","description":""},{"name":"update:currentTime","args":"number","description":""},{"name":"update:rate","args":"number","description":""},{"name":"update:volume","args":"number","description":""},{"name":"update:muted","args":"boolean","description":""},{"name":"previous","args":"","description":"The previous button (or the lock screen's) was pressed"},{"name":"next","args":"","description":"The next button (or the lock screen's) was pressed"},{"name":"ended","args":"","description":"The video reached its end"}],"slots":[{"name":"media","bindings":"{ time: number; playing: boolean; rate: number; duration: number; }","description":"Replaces the `<video>` (a canvas, a shader, a 3D scene). Props: `{ time, playing, rate, duration }`"},{"name":"error","bindings":"{ error: MediaError; }","description":"Replaces the error message. Props: `{ error }`"},{"name":"end","bindings":"{ player: MediaPlayer; replay: () => Promise<void>; }","description":"Shown over the video when it ends (an \"up next\", say). Props: `{ player, replay }`"},{"name":"top","bindings":"{ player: MediaPlayer; shown: boolean; fullscreen: boolean; compact: boolean; }","description":"Top controls. Props: `VideoPlayerSlotProps`"},{"name":"center","bindings":"{ player: MediaPlayer; shown: boolean; fullscreen: boolean; compact: boolean; }","description":"Replaces the center controls. Props: `VideoPlayerSlotProps`"},{"name":"bottom","bindings":"{ player: MediaPlayer; shown: boolean; fullscreen: boolean; compact: boolean; }","description":"Replaces the bottom controls. Props: `VideoPlayerSlotProps`"},{"name":"settings","bindings":"{ player: MediaPlayer; }","description":"Extra `MMenuItem`s at the end of the settings menu. Props: `{ player }`"}],"exposed":[],"types":[{"name":"VideoSource","source":"export interface VideoSource {\n src: string\n /** MIME type, e.g. `video/webm` or `application/vnd.apple.mpegurl` (HLS) */\n type?: string\n}"},{"name":"VideoTrack","source":"export interface VideoTrack {\n /** WebVTT file */\n src: string\n /** Language code, e.g. `es` */\n srclang: string\n /** Shown in the subtitles menu */\n label: string\n /** Shown from the start */\n default?: boolean\n /** Default `subtitles` */\n kind?: 'subtitles' | 'captions'\n}"},{"name":"VideoPlayerSlotProps","source":"/** What the control slots receive */\nexport interface VideoPlayerSlotProps {\n player: MediaPlayer\n /** The controls are showing (slots usually fade with them) */\n shown: boolean\n fullscreen: boolean\n /** The player is narrower than 480px (a phone in portrait) */\n compact: boolean\n}"},{"name":"HlsLike","source":"/** The bits of hls.js the player uses, so the library doesn't depend on it */\nexport interface HlsLike {\n loadSource(src: string): void\n attachMedia(el: HTMLMediaElement): void\n destroy(): void\n on(event: string, fn: (...args: any[]) => void): void\n levels: { height?: number; bitrate?: number }[]\n currentLevel: number\n}"},{"name":"HlsModule","source":"export interface HlsModule {\n default: { new (config?: Record<string, unknown>): HlsLike; isSupported(): boolean; Events: Record<string, string> }\n}"}]},{"name":"MVirtualTable","import":"@m3ui-vue/m3ui-vue","description":"Renders only the rows currently in (or near) the viewport, so a table with thousands of rows stays smooth — no pagination needed. Trade-off: no built-in search/filtering, sort is a client-side full-array sort.","props":[{"name":"columns","type":"VTableColumn[]","required":true,"default":null,"description":"Column definitions; see `VTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"All rows — the full array is held in memory, only visible rows are rendered to the DOM","model":false},{"name":"rowHeight","type":"number","required":false,"default":"44","description":"Fixed row height in px, used for the virtualization math","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"overscan","type":"number","required":false,"default":"5","description":"Extra rows rendered above/below the visible viewport, to reduce blank flashes on fast scroll","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"500px\"","description":"Scrollable container height (any valid CSS height)","model":false}],"events":[{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row."}],"slots":[],"exposed":[],"types":[{"name":"VTableColumn","source":"export interface VTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n sortable?: boolean\n}"}]},{"name":"MWindow","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Visible state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Window title in the title bar","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon in the title bar","model":false},{"name":"width","type":"string","required":false,"default":"\"400px\"","description":"Initial width","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Initial height","model":false},{"name":"minWidth","type":"number","required":false,"default":"200","description":"Minimum width in px","model":false},{"name":"minHeight","type":"number","required":false,"default":"150","description":"Minimum height in px","model":false},{"name":"maxWidth","type":"number","required":false,"default":null,"description":"Maximum width in px","model":false},{"name":"maxHeight","type":"number","required":false,"default":null,"description":"Maximum height in px","model":false},{"name":"resizable","type":"boolean","required":false,"default":"true","description":"Allow resizing from edges and corners","model":false},{"name":"draggable","type":"boolean","required":false,"default":"true","description":"Allow dragging from the title bar","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show close button","model":false},{"name":"minimizable","type":"boolean","required":false,"default":"true","description":"Show minimize button (collapses to title bar)","model":false},{"name":"maximizable","type":"boolean","required":false,"default":"true","description":"Maximize button, and double-click on the title bar, to fill the parent and back.","model":false},{"name":"snap","type":"boolean","required":false,"default":"false","description":"Edge snapping while dragging, like GNOME: hold the pointer at the parent's top edge to maximize, or at its left/right edge to fill that half. A preview shows where it will land.","model":false},{"name":"offscreen","type":"boolean","required":false,"default":"false","description":"Lets the window be dragged partly out of its container, like a desktop: up to 3/4 of its width past either side, and down until only the title bar shows; never above the top. The container should clip it (`overflow: hidden`).","model":false},{"name":"x","type":"number","required":false,"default":"50","description":"Initial X position","model":false},{"name":"y","type":"number","required":false,"default":"50","description":"Initial Y position","model":false},{"name":"resetPosition","type":"boolean","required":false,"default":"false","description":"Reset position, size, and state when the window is closed","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"update:modelValue","args":"value: boolean","description":"Emitted when the window closes — powers v-model"},{"name":"minimize","args":"","description":"Emitted when the minimize button is toggled (either direction)"},{"name":"maximize","args":"maximized: boolean","description":"Emitted when the window is maximized (true) or restored (false)"},{"name":"focus","args":"","description":"Emitted when the window comes to the front."}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default icon + title, keeps drag behavior"},{"name":"actions","bindings":null,"description":"Extra buttons in the title bar, before minimize/maximize/close. MIconButton size=\"xs\" matches the built-in ones"},{"name":"default","bindings":null,"description":"The window's content, under the title bar. Unmounted while the window is hidden."}],"exposed":[{"name":"focus","type":"() => void","description":"Brings the window to the front, e.g. from a taskbar."},{"name":"toggleMaximize","type":"() => void","description":""},{"name":"toggleMinimize","type":"() => void","description":""}],"types":[]}],"values":[{"name":"useMap","import":"@m3ui-vue/m3ui-vue/map","signature":"useMap(source?: MaybeRefOrGetter<MapSource>): {\n map: ComputedRef<Map$1 | undefined>\n maplibre: ComputedRef<typeof import(\"/home/runner/work/m3ui-vue/m3ui-vue/node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl\") | undefined>\n styleVersion: ComputedRef<number>\n activeTool: Ref<string | null>\n onReady: (fn: (map: Maplibre.Map, maplibre: MaplibreModule) => void) => void\n on: (type: T, listener: (e: Maplibre.MapEventType[T] & object) => void) => void\n onLayer: (type: T, layerId: string, listener: (e: Maplibre.MapLayerEventType[T] & object) => void) => void\n}","description":"The map of the enclosing `MMap`, for your own controls, layers and handlers (call it in a component inside `MMap`). Listeners added through it are removed when the component unmounts. Outside an `MMap` (a side panel), pass it one: the `MMap`'s template ref, or a getter for it; until it mounts, `map` is undefined and `onReady` waits. ```ts const { map, onLayer } = useMap() onLayer('click', 'parcels-fill', (e) => console.log(e.features?.[0]?.properties)) // In a panel next to the map: <MMap ref=\"mapRef\"> … <MyPanel :map=\"mapRef\" /> const { map } = useMap(() => props.map) ```"},{"name":"useMapLayers","import":"@m3ui-vue/m3ui-vue/map","signature":"useMapLayers(source?: MaybeRefOrGetter<MapSource>): {\n model: ComputedRef<MapLayerModel | undefined>\n layers: ComputedRef<MapLayerInfo[]>\n isVisible: (id: string) => boolean\n setVisible: (id: string, visible: boolean) => void\n toggle: (id: string) => void\n opacityOf: (id: string) => number\n setOpacity: (id: string, opacity: number) => void\n layersOf: (group: string | null) => MapLayerInfo[]\n groupState: (group: string) => \"visible\" | \"hidden\" | \"partial\"\n setGroupVisible: (group: string, visible: boolean) => void\n baseLayers: ComputedRef<MapLayerInfo[]>\n baseLayer: ComputedRef<string | null>\n setBaseLayer: (id: string | null) => void\n}","description":"The layers of the enclosing `MMap`'s style as its `adapter` describes them, with their visibility and opacity, for a layer panel or a base layer switcher of your own (`MMapLayers` and `MMapBaseLayers` are built on it). Changes go to the map and to every component using it; a layer's `children` follow it. Outside an `MMap`, pass it one (its template ref), as with `useMap`."},{"name":"genericAdapter","import":"@m3ui-vue/m3ui-vue/map","signature":"genericAdapter(style: Maplibre.StyleSpecification, context: MapAdapterContext): MapLayerModel","description":"Any style: every layer but the background is listed under its id (or `metadata.title`), vector layers identify all their properties, and nothing is a base layer or shows on hover."},{"name":"orvianAdapter","import":"@m3ui-vue/m3ui-vue/map","signature":"orvianAdapter(options: OrvianAdapterOptions = {}): MapAdapter","description":"The Orvian viewers' conventions in the style's `metadata`. On each layer: `alias`, `description`, `group`, `show_in_layerlist` (false hides it from the list), `isbaselayer` with `image` (raster base layers), `childs` (layer ids toggled with it), `identify` (true lists its properties on click), `fields` (per property: `alias`, `prefix`, `suffix`, `mask`, `show: false`; plus `exclude`, a list of properties to leave out), `hover` (`enable` and `fields`, a list of `{ <property>: { alias, prefix, suffix, mask } }`), `legend` (`show`, `wmslegend`) and `download`. On the style: `groups` (`{ name, alias }`, in order)."},{"name":"identifyFeatures","import":"@m3ui-vue/m3ui-vue/map","signature":"identifyFeatures(map: Maplibre.Map, point: Maplibre.PointLike, model: MapLayerModel | undefined): MapIdentifyResult[]","description":"The features of the model's identify layers at a point (topmost first), with their properties formatted: what `MMapIdentify` lists on click, for a UI of your own."},{"name":"formatFieldValue","import":"@m3ui-vue/m3ui-vue/map","signature":"formatFieldValue(raw: unknown, format?: MapFieldFormat): string","description":"A property's value as text: numbers through `mask` (in the page's language, `<html lang>`), then `prefix` and `suffix`. Empty values give ''."},{"name":"fieldLabel","import":"@m3ui-vue/m3ui-vue/map","signature":"fieldLabel(key: string, format?: MapFieldFormat): string","description":"A property's label: its format's, or the key with a capital first letter."},{"name":"useMapFilter","import":"@m3ui-vue/m3ui-vue/map","signature":"useMapFilter(source?: MaybeRefOrGetter<MapSource>): {\n setFilter: (layerId: string, filter: Maplibre.FilterSpecification | null) => void\n valuesOf: (layerId: string, property: string) => (string | number)[]\n}","description":"Filters for the layers of the enclosing `MMap`, on top of the filters their style already has (a layer that only draws parks keeps doing so): `setFilter(layer, expression)` combines both, `setFilter(layer, null)` brings the style's back. `MMapFilter` is built on it; use it for filters of your own (a range slider, a date, a search…). Outside an `MMap`, pass it one (its template ref), as with `useMap`."},{"name":"nominatimProvider","import":"@m3ui-vue/m3ui-vue/map","signature":"nominatimProvider(options: NominatimOptions = {}): MapSearchProvider","description":"OpenStreetMap's Nominatim geocoder. Its public server allows one search per second and no search-as-you-type: `MMapSearch` searches on Enter."},{"name":"useMediaPlayer","import":"@m3ui-vue/m3ui-vue/media","signature":"useMediaPlayer(options: MediaPlayerOptions = {}): MediaPlayer","description":"The state and controls of something that plays: an `<audio>`/`<video>` element, or a clock of its own for anything else. Everything is reactive, the writable parts (`playing`, `currentTime`, `rate`, `volume`, `muted`) act on the media when written, and the player takes the Media Session while it plays (lock screen and notification controls, with `metadata`). `MVideoPlayer` and `MAudioPlayer` are built on it; pass one to their `player` prop to keep playing across pages, or build a player UI of your own on it. ```ts const audio = ref<HTMLAudioElement>() const player = useMediaPlayer({ media: audio, metadata: () => ({ title: track.value.title }) }) // <audio ref=\"audio\" :src=\"track.src\" /> … <button"},{"name":"usePdf","import":"@m3ui-vue/m3ui-vue/pdf","signature":"usePdf(src: MaybeRefOrGetter<PdfSource | null | undefined>, options: PdfOptions = {}): PdfState","description":"Loads a PDF with pdf.js and exposes what a viewer needs: pages and their sizes, the outline, metadata, text search, thumbnails, download and print. `MPdfViewer` is built on it; use it for a viewer of your own, a thumbnail grid, or a search over a document. Reactive to `src`: a new one replaces the document. ```ts const pdf = usePdf(() => file.value) watchEffect(async () => { if (pdf.doc.value) cover.value = await pdf.thumbnail(1, 160) }) const hits = await pdf.search('invoice') ```"},{"name":"setPdfWorker","import":"@m3ui-vue/m3ui-vue/pdf","signature":"setPdfWorker(src: string): void","description":"Sets the pdf.js worker URL for every `usePdf`/`MPdfViewer` of the app (see `PdfOptions.workerSrc`)"},{"name":"useFlow","import":"@m3ui-vue/m3ui-vue/flow","signature":"useFlow(): FlowContext","description":"The enclosing `<MFlow>`'s state and controls, from any component rendered inside it (a `#node-<type>` slot, a panel of your own). Outside one, use MFlow's template ref, which exposes the same."},{"name":"useFlowNode","import":"@m3ui-vue/m3ui-vue/flow","signature":"useFlowNode(): FlowNodeState | null","description":"The node a component is rendered in (inside a `#node-<type>` slot), or null"},{"name":"getBezierPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getBezierPath(p: FlowEdgePathParams & { curvature?: number }): FlowEdgePath","description":"A cubic curve that leaves and arrives square to the nodes' sides. `curvature` (default 0.25) bends it more when the target is behind the source"},{"name":"getSmoothStepPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getSmoothStepPath(p: FlowEdgePathParams & { borderRadius?: number; offset?: number }): FlowEdgePath","description":"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"},{"name":"getStepPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getStepPath(p: FlowEdgePathParams & { offset?: number; route?: number[] }): FlowEdgePath","description":"`getSmoothStepPath` with sharp corners"},{"name":"getStraightPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getStraightPath(p: FlowEdgePathParams): FlowEdgePath","description":"A straight line between the ends"},{"name":"smoothStepPoints","import":"@m3ui-vue/m3ui-vue/flow","signature":"smoothStepPoints(p: FlowEdgePathParams & { offset?: number }): Pt[]","description":"The corners of an orthogonal route between the ends, leaving and arriving square to the sides"},{"name":"routePoints","import":"@m3ui-vue/m3ui-vue/flow","signature":"routePoints(p: FlowEdgePathParams & { route: number[] }): Pt[]","description":"The corners of an orthogonal edge routed through `route`: the positions of its segments after the first, alternately x and y, starting with where the leg leaving the source ends (an x when the source's side is left or right). The legs at the ends stretch to wherever the nodes are, and a corner is added before the target when it's needed to arrive square to its side, so the route stays orthogonal as the nodes move."},{"name":"pointsToRoute","import":"@m3ui-vue/m3ui-vue/flow","signature":"pointsToRoute(points: Pt[], sourcePosition: FlowPosition = 'bottom', targetPosition?: FlowPosition): number[]","description":"The other way round: the `route` that runs an orthogonal edge through these corners (its ends first and last)"},{"name":"getRoutedPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getRoutedPath(p: FlowEdgePathParams & { route: number[]; borderRadius?: number }): FlowEdgePath","description":"Right-angled steps through `route` (see `routePoints`), rounded like `getSmoothStepPath`"},{"name":"arrowPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"arrowPath(x: number, y: number, angle: number, size = 10, closed = false): string","description":"An arrowhead's path at (x, y) pointing along `angle`: open (two strokes) or closed (a filled triangle's outline)"},{"name":"layoutTree","import":"@m3ui-vue/m3ui-vue/flow","signature":"layoutTree(nodes: FlowNode[], edges: FlowEdge[], options: FlowLayoutOptions = {}): FlowLayoutResult","description":"A tidy tree: each parent centered over its children, every subtree side by side without overlapping, levels aligned. Roots are the nodes nothing points to (in the nodes' order); a child's place among its siblings follows the edges' order. Extra parents and cycles are ignored (a node goes under the first parent reached)."},{"name":"layoutLayered","import":"@m3ui-vue/m3ui-vue/flow","signature":"layoutLayered(nodes: FlowNode[], edges: FlowEdge[], options: FlowLayoutOptions = {}): FlowLayoutResult","description":"A layered layout for directed graphs: every edge points one level onwards where it can (longest path from the sources), the order within a level reduces crossings (barycenter sweeps), and nodes line up with what they're connected to without overlapping. Edges that close a cycle are laid out as if reversed."},{"name":"parseDot","import":"@m3ui-vue/m3ui-vue/flow","signature":"parseDot(source: string, options: FlowImportOptions = {}): FlowGraph","description":"Reads a Graphviz DOT graph (`digraph`/`graph`, `strict`, subgraphs, defaults, ports, HTML labels): nodes take their `label` (default the id), `shape=circle`/`doublecircle`/`point` makes a `circle` node, `style=invis` hides; edges take `label`, `color`, `penwidth`, `style=dashed`/`dotted`/`bold`/`invis` and `dir`/`arrowhead`/`arrowtail`; `cluster` subgraphs become groups. Every attribute as written is kept in each node's and edge's `data.attrs` (ports as `tailport`/`headport`), to map the rest yourself. Laid out in layers along `rankdir`, unless every node has a `pos`. Throws a SyntaxError (with line and column) on what isn't DOT."},{"name":"toDot","import":"@m3ui-vue/m3ui-vue/flow","signature":"toDot(nodes: FlowNode[], edges: FlowEdge[], options: FlowDotExportOptions = {}): string","description":"Writes nodes and edges as a Graphviz DOT graph: labels, `circle` nodes as `shape=circle` (`doublecircle` with a ring), groups as `cluster` subgraphs, edge labels, colors (CSS ones; M3 roles are left out), widths, dashes, arrows and hidden ones. Attributes kept in `data.attrs` (as `parseDot` leaves them) are written back too."},{"name":"parseMermaid","import":"@m3ui-vue/m3ui-vue/flow","signature":"parseMermaid(source: string, options: FlowImportOptions = {}): FlowGraph","description":"Reads a Mermaid flowchart (`flowchart`/`graph` with TB/TD/BT/LR/RL): node shapes (`(( ))` makes a `circle` node, `((( )))` one with a ring; every other shape is kept as `data.shape`), the `@{ shape, label }` syntax, chains and `&`, links `-->` `---` `-.->` `==>` `~~~` `<-->` `--o` `--x` with `|labels|` or `-- labels -->`, and subgraphs as groups. `classDef`, `style`, `click` and the like are skipped. Laid out in layers along its direction. Throws a SyntaxError (with line and column) on what it can't read."},{"name":"toMermaid","import":"@m3ui-vue/m3ui-vue/flow","signature":"toMermaid(nodes: FlowNode[], edges: FlowEdge[], options: FlowExportOptions = {}): string","description":"Writes nodes and edges as a Mermaid flowchart: labels, `circle` nodes as `(( ))` (`((( )))` with a ring), the shape kept in `data.shape` (as `parseMermaid` leaves it), groups as subgraphs, and edges as `-->`, `---` (no arrow), `-.->` (dashed), `==>` (3px or wider), `~~~` (hidden) or `<-->`, with their labels. Ids Mermaid can't take are renamed (`n1`, `n2`…)."},{"name":"useGantt","import":"@m3ui-vue/m3ui-vue/gantt","signature":"useGantt(): GanttContext","description":"The enclosing `<MGantt>`'s state and controls, from a component rendered in its default slot. Outside one, use MGantt's template ref, which exposes the same."},{"name":"scheduleTasks","import":"@m3ui-vue/m3ui-vue/gantt","signature":"scheduleTasks(tasks: readonly T[], options: GanttScheduleOptions = {}): T[]","description":"Moves tasks so every dependency holds: by default only later (`'push'`, what dragging a predecessor does), or as soon as possible (`'asap'`), keeping each task's duration. Summaries follow their tasks. Returns the same array when nothing moves."},{"name":"criticalPath","import":"@m3ui-vue/m3ui-vue/gantt","signature":"criticalPath(tasks: readonly GanttTask[], options: { calendar?: GanttCalendar } = {}): GanttCriticalPath","description":"The critical path over the tasks' current dates: tasks whose delay would delay the last one's end (no slack), through their dependencies. Slack is in calendar days, or working days with a calendar (so a weekend between two tasks isn't slack)."},{"name":"rollupSummaries","import":"@m3ui-vue/m3ui-vue/gantt","signature":"rollupSummaries(tasks: readonly T[]): T[]","description":"Summaries take the span of their children (deepest first) and their progress, weighted by duration. Returns the same array when nothing changes."},{"name":"workingDays","import":"@m3ui-vue/m3ui-vue/gantt","signature":"workingDays(start: string, end: string, calendar?: GanttCalendar): number","description":"Working days from `start` to `end`, both included (`YYYY-MM-DD`)"},{"name":"addWorkingDays","import":"@m3ui-vue/m3ui-vue/gantt","signature":"addWorkingDays(date: string, n: number, calendar?: GanttCalendar): string","description":"The date `n` working days after `date` (before it when negative); 0 moves a day off to the next working day"},{"name":"taskSpan","import":"@m3ui-vue/m3ui-vue/gantt","signature":"taskSpan(t: Pick<GanttTask, 'start' | 'end' | 'type'>): { start: number; end: number; dateOnly: boolean; }","description":"A task's span in ms, end exclusive: a date-only end runs to the next midnight; a milestone has none"},{"name":"toGanttCsv","import":"@m3ui-vue/m3ui-vue/gantt","signature":"toGanttCsv(tasks: readonly GanttTask[], options: GanttCsvOptions = {}): string","description":"Tasks as CSV, one row each: id, name, start, end, progress, type, parent, dependencies (`a; b SS+2`), color and the baseline. `data` isn't written (keep it in JSON)."},{"name":"parseGanttCsv","import":"@m3ui-vue/m3ui-vue/gantt","signature":"parseGanttCsv(text: string, options: GanttCsvOptions & { dayFirst?: boolean } = {}): GanttTask<any>[]","description":"Reads tasks from CSV with a header row: the columns `toGanttCsv` writes, or what other tools call them (Task Name, Start Date, Finish, % Complete, Predecessors…; case and spaces don't matter). Rows without an id get one; without an end, a milestone. `dayFirst` reads `03/04/2026` as the 3rd of April (default true)."},{"name":"toGanttJson","import":"@m3ui-vue/m3ui-vue/gantt","signature":"toGanttJson(tasks: readonly GanttTask[], options: { space?: number } = {}): string","description":"Tasks as JSON, `{ format: 'm3ui-gantt', version: 1, tasks }`, everything included (`data` too)"},{"name":"parseGanttJson","import":"@m3ui-vue/m3ui-vue/gantt","signature":"parseGanttJson(text: string): GanttTask<any>[]","description":"Reads tasks from JSON: what `toGanttJson` writes, a bare array of tasks, or `{ tasks: [...] }`. Each needs a name and a start; ids are filled in when missing. Throws a SyntaxError on anything else."},{"name":"toMsProjectXml","import":"@m3ui-vue/m3ui-vue/gantt","signature":"toMsProjectXml(tasks: readonly GanttTask[], options: GanttXmlOptions = {}): string","description":"Tasks as a Microsoft Project XML file (MSPDI): outline levels for summaries, start and finish (a date-only task's days from `dayStart` to `dayEnd`), duration, percent complete, milestones, predecessors with their type and lag (in days), and the baseline. Project, ProjectLibre and GanttProject open it."},{"name":"parseMsProjectXml","import":"@m3ui-vue/m3ui-vue/gantt","signature":"parseMsProjectXml(text: string, options: { dates?: 'auto' | 'date' | 'datetime' } = {}): { name?: string; tasks: GanttTask<any>[]; }","description":"Reads a Microsoft Project XML file (MSPDI, as Project, ProjectLibre or GanttProject save it): the outline (summaries from outline levels), names, start and finish, percent complete, milestones, predecessors (type and lag in days) and the first baseline. With `dates: 'auto'` (default) a project whose tasks all start and finish at the day's working hours comes in as whole days; `'datetime'` keeps the times. The project's name comes back too."},{"name":"useResourceTimeline","import":"@m3ui-vue/m3ui-vue/gantt","signature":"useResourceTimeline(): ResourceTimelineContext","description":"The enclosing `<MResourceTimeline>`'s state and controls, from a component in its default slot"},{"name":"useDrawing","import":"@m3ui-vue/m3ui-vue/draw","signature":"useDrawing(): DrawContext","description":"The surrounding MDrawCanvas' state and actions, for a toolbar or panel of your own inside it"},{"name":"strokePath","import":"@m3ui-vue/m3ui-vue/draw","signature":"strokePath(s: Pick<DrawStroke, 'points' | 'size' | 'pen'>): string","description":"A stroke as the SVG path of its filled outline (round caps, its width following pressure)"},{"name":"shapePath","import":"@m3ui-vue/m3ui-vue/draw","signature":"shapePath(s: Pick<DrawShape, 'shape' | 'from' | 'to' | 'size'>): { d: string; head?: string; }","description":"A shape's outline as an SVG path (stroked), plus an arrow's head (filled)"},{"name":"smoothPoints","import":"@m3ui-vue/m3ui-vue/draw","signature":"smoothPoints(points: DrawPoint[], smoothing = 0.5, size = 4): DrawPoint[]","description":"Smooths raw input points: each one moves part of the way toward the next sample (`smoothing` 0 keeps them as they are, 1 follows lazily), and points closer than a fraction of the size are merged. Pressure is kept."},{"name":"simulatePressure","import":"@m3ui-vue/m3ui-vue/draw","signature":"simulatePressure(points: DrawPoint[], size: number): DrawPoint[]","description":"Pressure made up from speed, for a mouse or a finger: slow is heavy, fast is light"},{"name":"constrain","import":"@m3ui-vue/m3ui-vue/draw","signature":"constrain(kind: DrawShapeKind, from: [number, number], to: [number, number]): [number, number]","description":"Holding Shift: lines snap to 45°, rects and ellipses become squares and circles"},{"name":"itemBox","import":"@m3ui-vue/m3ui-vue/draw","signature":"itemBox(item: DrawItem): DrawBox","description":"An item's bounds"},{"name":"unionBox","import":"@m3ui-vue/m3ui-vue/draw","signature":"unionBox(boxes: DrawBox[]): DrawBox | null","description":""},{"name":"textBox","import":"@m3ui-vue/m3ui-vue/draw","signature":"textBox(t: Pick<DrawText, 'at' | 'text' | 'size'>): DrawBox","description":"A text's box, estimated from its characters (good enough to hit and select it)"},{"name":"hitItem","import":"@m3ui-vue/m3ui-vue/draw","signature":"hitItem(item: DrawItem, x: number, y: number, tolerance = 4): boolean","description":"Whether a point (with a tolerance) touches an item"},{"name":"eraseAt","import":"@m3ui-vue/m3ui-vue/draw","signature":"eraseAt(item: DrawItem, x: number, y: number, r: number): DrawItem[]","description":"The stroke-cutting eraser: the parts of a stroke within `r` of (x, y) go, what's left splits into separate strokes. Returns the item unchanged when it isn't touched, `[]` when it's all gone. Shapes and text go whole."},{"name":"inLasso","import":"@m3ui-vue/m3ui-vue/draw","signature":"inLasso(item: DrawItem, poly: [number, number][]): boolean","description":"Whether a lasso (a closed polygon) takes an item: most of its points inside"},{"name":"transformItem","import":"@m3ui-vue/m3ui-vue/draw","signature":"transformItem(item: DrawItem, t: { dx?: number; dy?: number; sx?: number; sy?: number; ox?: number; oy?: number }): DrawItem","description":"An item moved by (dx, dy) and scaled by (sx, sy) around (ox, oy)"},{"name":"sortByLayer","import":"@m3ui-vue/m3ui-vue/draw","signature":"sortByLayer(items: DrawItem[], layers?: string[]): DrawItem[]","description":"Items in drawing order: by layer, then as they come"},{"name":"itemSvg","import":"@m3ui-vue/m3ui-vue/draw","signature":"itemSvg(item: DrawItem, fontFamily = 'sans-serif'): string","description":"One item as SVG markup"},{"name":"toDrawSvg","import":"@m3ui-vue/m3ui-vue/draw","signature":"toDrawSvg(items: DrawItem[], opts: DrawSvgOptions = {}): string","description":"A drawing (or one page of it) as a standalone SVG document"},{"name":"svgToPng","import":"@m3ui-vue/m3ui-vue/draw","signature":"svgToPng(svg: string, scale = 2): Promise<Blob>","description":"An SVG document rendered to a PNG blob (in a browser), `scale` times its size"},{"name":"drawId","import":"@m3ui-vue/m3ui-vue/draw","signature":"drawId(): string","description":""},{"name":"shapeNames","import":"@m3ui-vue/m3ui-vue","signature":"shapeNames: (\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\")[]","description":""},{"name":"createM3UI","import":"@m3ui-vue/m3ui-vue","signature":"createM3UI(options: M3UIOptions = {}): {\n install: (app: App<any>) => void\n}","description":""},{"name":"useTheme","import":"@m3ui-vue/m3ui-vue","signature":"useTheme(): {\n theme: Ref<Theme>\n cycle: () => void\n}","description":""},{"name":"useColorPalette","import":"@m3ui-vue/m3ui-vue","signature":"useColorPalette(): {\n palette: Ref<string>\n palettes: Palette[]\n set: (id: PaletteId | (string & {})) => void\n seed: Readonly<Ref<{ readonly seed: string; readonly variant?: SchemeVariant; readonly contrast?: number; } | null>>\n setSeed: (seed: string, options?: SeedOptions) => Promise<void>\n contrast: Readonly<Ref<ContrastLevel>>\n activeContrast: Ref<\"standard\" | \"medium\" | \"high\">\n setContrast: (level: ContrastLevel) => void\n persistPalette: Ref<boolean>\n setPersistPalette: (enabled: boolean) => void\n}","description":""},{"name":"palettes","import":"@m3ui-vue/m3ui-vue","signature":"palettes: Palette[]","description":"Every palette: the built-in ones, plus `createM3UI({ customPalettes })`."},{"name":"useConfetti","import":"@m3ui-vue/m3ui-vue","signature":"useConfetti(): {\n fire: (origin?: ConfettiOrigin | ConfettiOptions, options?: ConfettiOptions) => StopConfetti\n}","description":"Confetti for a component: `fire(event)` from the pointer, `fire(el)` from an element, `fire({ from: 'top' })`, `fire({ from: 'top', duration: 5000 })` for a rain that lasts. Returns a function that stops it early."},{"name":"fireConfetti","import":"@m3ui-vue/m3ui-vue","signature":"fireConfetti(origin?: ConfettiOrigin, options: ConfettiOptions = {}): StopConfetti","description":"Fires confetti: one burst, or with `duration` a rain or fountain that keeps going (stop it early with the returned function). Browser only; does nothing under reduced motion."},{"name":"useFireworks","import":"@m3ui-vue/m3ui-vue","signature":"useFireworks(): {\n launch: (options: FireworksOptions = {}) => StopFireworks\n}","description":"Fireworks for a component: `launch()`, `launch({ shapes: ['classic'] })`, `launch({ shapes: ['Heart'] })`, `launch({ duration: 10000 })`."},{"name":"launchFireworks","import":"@m3ui-vue/m3ui-vue","signature":"launchFireworks(options: FireworksOptions = {}): StopFireworks","description":"Launches fireworks: a few rockets, or with `duration` a show that keeps going (stop it early with the returned function). Browser only; does nothing under reduced motion."},{"name":"useReactions","import":"@m3ui-vue/m3ui-vue","signature":"useReactions(): {\n react: (origin: ReactionOrigin | undefined, content: ReactionContent, options: ReactionOptions = {}) => void\n}","description":"Floating reactions for a component: `react(event, '🎉')` from the pointer, `react(el, { icon: 'favorite' })` from an element, `react(el, '👏', { count: 5 })` for a handful."},{"name":"fireReaction","import":"@m3ui-vue/m3ui-vue","signature":"fireReaction(origin: ReactionOrigin | undefined, content: ReactionContent, options: ReactionOptions = {}): void","description":"Sends a reaction floating up from a point. Browser only."},{"name":"useContainerTransform","import":"@m3ui-vue/m3ui-vue","signature":"useContainerTransform(): ContainerTransformController<T>","description":"Material's container transform for elements that live apart from their expanded view: one controller, many elements opening it (a grid of cards), and one `<MContainerTransform :controller>` wherever the expanded view belongs. `open(event, item)` from a click grows that element into the expanded view, with `item` for it to show. ```ts const detail = useContainerTransform<Recipe>() // <MCard v-for=\"r in recipes\""},{"name":"SEED_PALETTE","import":"@m3ui-vue/m3ui-vue","signature":"SEED_PALETTE: \"seed\"","description":"The palette id used while a seed color is active (`useColorPalette().setSeed()`)."},{"name":"themeInitScript","import":"@m3ui-vue/m3ui-vue","signature":"themeInitScript(options: ThemeInitOptions = {}): string","description":"A script to inline in `<head>` of a server-rendered page (Nuxt, Vite SSR), so dark mode, the palette and the contrast level are on `<html>` before the first paint instead of when the app's JS loads. It does what `useTheme` and `useColorPalette` do when they load in the browser (the stored choice, or the given `createM3UI` defaults; a choice only in a cookie, from `createM3UI({ cookies })`, counts too), so pass it the same options as the plugin. A `seed` default can't be generated this early: its first visit still shows the baseline until the app loads (later visits use the cached CSS). ```ts useHead({ script: [{ innerHTML: themeInitScript({ palette: 'red' }) }] }) ```"},{"name":"viewportFromHeaders","import":"@m3ui-vue/m3ui-vue","signature":"viewportFromHeaders(headers: RequestHeaders, options: { guess?: boolean; storagePrefix?: string } = {}): ViewportSize | undefined","description":"The window size to server-render the adaptive layouts at, from a request's headers: the size `createM3UI({ cookies: true })` keeps in the `m3-viewport` cookie (any visit after the first); the viewport client hints (Chromium, once the server asked for them with `VIEWPORT_HINTS`); or, on a first visit, a size standing for the kind of device (`Sec-CH-UA-Mobile`, then the user agent: a phone, a tablet or a desktop), unless `guess: false`. With `createM3UI({ storagePrefix })`, pass the same `storagePrefix` so the right cookie is read. Undefined when nothing tells: the layouts then render compact. ```ts createM3UI({ cookies: true, initialState: { viewport: viewportFromHeaders(request.headers) } }) ```"},{"name":"VIEWPORT_HINTS","import":"@m3ui-vue/m3ui-vue","signature":"VIEWPORT_HINTS: \"Sec-CH-Viewport-Width, Sec-CH-Viewport-Height\"","description":"The client hints that carry the window's size (Chromium), for a server's `Accept-CH` and `Critical-CH` response headers. With `Critical-CH`, Chromium repeats the very first request once to send them; later requests carry them after `Accept-CH` alone."},{"name":"generateScheme","import":"@m3ui-vue/m3ui-vue","signature":"generateScheme(seed: string, options: SeedOptions = {}): Promise<GeneratedScheme>","description":"Generates the light and dark schemes for a seed color (`#rrggbb`)."},{"name":"schemeToCss","import":"@m3ui-vue/m3ui-vue","signature":"schemeToCss(scheme: GeneratedScheme, id: string): string","description":"CSS for a scheme under `[data-palette='<id>']` (light) and `[data-palette='<id>'].dark`, like palettes.css."},{"name":"schemeRoles","import":"@m3ui-vue/m3ui-vue","signature":"schemeRoles: readonly [\"primary\", \"on-primary\", \"primary-container\", \"on-primary-container\", \"secondary\", \"on-secondary\", \"secondary-container\", \"on-secondary-container\", \"tertiary\", \"on-tertiary\", \"tertiary-container\", \"on-tertiary-container\", \"error\", \"on-error\", \"error-container\", \"on-error-container\", \"background\", \"on-background\", \"surface\", \"on-surface\", \"surface-variant\", \"on-surface-variant\", \"surface-dim\", \"surface-bright\", \"surface-container-lowest\", \"surface-container-low\", \"surface-container\", \"surface-container-high\", \"surface-container-highest\", \"outline\", \"outline-variant\", \"inverse-surface\", \"inverse-on-surface\", \"inverse-primary\", \"scrim\", \"shadow\", \"primary-fixed\", \"primary-fixed-dim\", \"on-primary-fixed\", \"on-primary-fixed-variant\", \"secondary-fixed\", \"secondary-fixed-dim\", \"on-secondary-fixed\", \"on-secondary-fixed-variant\", \"tertiary-fixed\", \"tertiary-fixed-dim\", \"on-tertiary-fixed\", \"on-tertiary-fixed-variant\"]","description":"The `--color-*` roles a generated scheme sets. `success*` is a library extension and stays as themed."},{"name":"seedFromImage","import":"@m3ui-vue/m3ui-vue","signature":"seedFromImage(source: string | HTMLImageElement | ImageBitmap | Blob): Promise<string>","description":"The seed color of an image, for `generateScheme`, `useColorPalette().setSeed()` or `MScheme`: what Android does with the wallpaper. Takes a URL (cross-origin images need CORS headers, or the canvas can't be read), an `<img>`, an `ImageBitmap` or a `Blob` (a file the user picked). Browser only."},{"name":"seedFromPixels","import":"@m3ui-vue/m3ui-vue","signature":"seedFromPixels(rgba: ArrayLike<number>): Promise<string>","description":"The seed color of an image's pixels (RGBA bytes, as `ImageData.data`): its colors quantized and scored the way Android picks a wallpaper's source color (QuantizerCelebi + Score). Fully transparent pixels are skipped."},{"name":"useToast","import":"@m3ui-vue/m3ui-vue","signature":"useToast(): {\n toasts: Ref<Toast[]>\n position: Ref<ToastPosition>\n show: (message: string, variant: ToastVariant = 'info', options: number | ToastOptions = {}) => number\n success: (msg: string, opts?: ToastOptions) => number\n error: (msg: string, opts?: ToastOptions) => number\n warning: (msg: string, opts?: ToastOptions) => number\n info: (msg: string, opts?: ToastOptions) => number\n loading: (msg: string, opts?: Omit<ToastOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Toast, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useFieldBg","import":"@m3ui-vue/m3ui-vue","signature":"useFieldBg(containerEl: Ref<HTMLElement | null>, fieldBgProp: () => string | undefined): {\n resolvedFieldBg: ComputedRef<string>\n}","description":"Auto-detects the background behind `containerEl` and exposes it as `--field-bg`. Prefers a CSS variable reference (e.g. var(--color-surface-container-low)) over a raw computed color so the outlined label cutout transitions in sync with the rest of the theme switch instead of lagging behind."},{"name":"useLocale","import":"@m3ui-vue/m3ui-vue","signature":"useLocale(): M3Locale","description":""},{"name":"defaultLocale","import":"@m3ui-vue/m3ui-vue","signature":"defaultLocale: M3Locale","description":""},{"name":"useDevice","import":"@m3ui-vue/m3ui-vue","signature":"useDevice(): {\n isMobile: Ref<boolean>\n}","description":""},{"name":"useAutoGrow","import":"@m3ui-vue/m3ui-vue","signature":"useAutoGrow(target: MaybeRefOrGetter<HTMLTextAreaElement | null | undefined>, options: AutoGrowOptions = {}): {\n resize: () => void\n}","description":"Makes a `<textarea>` grow with its text, between `minRows` and `maxRows` rows, scrolling past the last one: a chat composer, a comment box. Works on any textarea, styled however you like (rows are measured from its computed line height, padding and border). It also follows width changes, which rewrap the text. Returns `resize()` for anything else that changes the text."},{"name":"useThemeTokens","import":"@m3ui-vue/m3ui-vue","signature":"useThemeTokens(names: readonly T[], options: ThemeTokensOptions = {}): Ref<Record<T, string>, Record<T, string>>","description":"The current values of some color tokens (`['primary', 'surface']` → `--color-primary`…), kept up to date across light/dark, palette, contrast and generated (seed) palette changes: for what can't use CSS variables, like a Chart.js dataset, a canvas or a MapLibre layer's paint. Values settle after the theme switch's color transition; with `{ live: true }` they also follow it frame by frame (as `rgba()` midway). Empty strings on the server. ```ts const colors = useThemeTokens(['primary', 'tertiary', 'outline-variant'] as const) const data = computed(() => ({ datasets: [{ data: sales, borderColor: colors.value.primary }] })) ```"},{"name":"useScrollReveal","import":"@m3ui-vue/m3ui-vue","signature":"useScrollReveal(target: MaybeRefOrGetter<Target>, options: ScrollRevealOptions = {}): {\n stop: () => void\n}","description":"Reveals elements as they scroll into view: they fade (and slide or grow) in on M3's springs, cascading when several enter together. Pass an element, a template ref, an array of them, or a getter. Off with reduced motion: everything is simply there. For a single element in a template, `v-reveal` does the same."},{"name":"useWindowSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"useWindowSizeClass(target?: MaybeRefOrGetter<HTMLElement | null | undefined>): WindowSizeClassInfo","description":"The M3 width/height size classes, reactive. With no argument it tracks the browser window. Pass an element (ref or getter) to classify that element's own size instead, which is what the adaptive layout components do, so they adapt to the space they actually get (a column, a dialog, a resizable panel)."},{"name":"widthSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"widthSizeClass(width: number): WidthSizeClass","description":""},{"name":"heightSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"heightSizeClass(height: number): HeightSizeClass","description":""},{"name":"useNotification","import":"@m3ui-vue/m3ui-vue","signature":"useNotification(): {\n notifications: Ref<Notification[]>\n position: Ref<NotificationPosition>\n show: (message: string, variant: NotificationVariant = 'info', options: NotificationOptions = {}) => number\n success: (msg: string, opts?: NotificationOptions) => number\n error: (msg: string, opts?: NotificationOptions) => number\n warning: (msg: string, opts?: NotificationOptions) => number\n info: (msg: string, opts?: NotificationOptions) => number\n loading: (msg: string, opts?: Omit<NotificationOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Notification, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useDebounce","import":"@m3ui-vue/m3ui-vue","signature":"useDebounce(fn: (...args: any[]) => void, ms: number): {\n debounced: (...args: any[]) => void\n cancel: () => void\n}","description":""},{"name":"usePageProgress","import":"@m3ui-vue/m3ui-vue","signature":"usePageProgress(): {\n progress: Ref<number>\n isActive: Ref<boolean>\n start: () => void\n set: (pct: number) => void\n done: () => void\n}","description":"Shared page-loading progress state (e.g. for a top progress bar between route navigations). Module-level so any number of callers/components stay in sync — call `start()`/`done()` from a router guard, a fetch wrapper, or by hand."},{"name":"useSpring","import":"@m3ui-vue/m3ui-vue","signature":"useSpring(target: () => number[], apply: (values: readonly number[]) => void, spec: SpringSpec = FAST_SPATIAL): {\n snap: () => void\n}","description":""},{"name":"motionSprings","import":"@m3ui-vue/m3ui-vue","signature":"motionSprings: { readonly standard: { readonly fastSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 1400; }; readonly defaultSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 700; }; readonly slowSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 300; }; readonly fastEffects: { readonly dampingRatio: 1; readonly stiffness: 3800; }; readonly defaultEffects: { readonly dampingRatio: 1; readonly stiffness: 1600; }; readonly slowEffects: { readonly dampingRatio: 1; readonly stiffness: 800; }; }; readonly expressive: { readonly fastSpatial: { readonly dampingRatio: 0.6; readonly stiffness: 800; }; readonly defaultSpatial: { readonly dampingRatio: 0.8; readonly stiffness: 380; }; readonly slowSpatial: { readonly dampingRatio: 0.8; readonly stiffness: 200; }; readonly fastEffects: { readonly dampingRatio: 1; readonly stiffness: 3800; }; readonly defaultEffects: { readonly dampingRatio: 1; readonly stiffness: 1600; }; readonly slowEffects: { readonly dampingRatio: 1; readonly stiffness: 800; }; }; }","description":"Spring specs of the two motion schemes. Spatial springs move things (position, size, shape); effects springs change color and opacity and never overshoot. Standard is the default scheme; Expressive is bouncier, for Expressive components and moments that should feel lively."},{"name":"motionEasings","import":"@m3ui-vue/m3ui-vue","signature":"motionEasings: { readonly emphasized: readonly [0.2, 0, 0, 1]; readonly emphasizedDecelerate: readonly [0.05, 0.7, 0.1, 1]; readonly emphasizedAccelerate: readonly [0.3, 0, 0.8, 0.15]; readonly standard: readonly [0.2, 0, 0, 1]; readonly standardDecelerate: readonly [0, 0, 0, 1]; readonly standardAccelerate: readonly [0.3, 0, 1, 1]; readonly legacy: readonly [0.4, 0, 0.2, 1]; readonly legacyDecelerate: readonly [0, 0, 0.2, 1]; readonly legacyAccelerate: readonly [0.4, 0, 1, 1]; readonly linear: readonly [0, 0, 1, 1]; }","description":"Easing curves as cubic-bezier control points [x1, y1, x2, y2] (theme.css has them as `--ease-*`)"},{"name":"motionDurations","import":"@m3ui-vue/m3ui-vue","signature":"motionDurations: { readonly short1: 50; readonly short2: 100; readonly short3: 150; readonly short4: 200; readonly medium1: 250; readonly medium2: 300; readonly medium3: 350; readonly medium4: 400; readonly long1: 450; readonly long2: 500; readonly long3: 550; readonly long4: 600; readonly extraLong1: 700; readonly extraLong2: 800; readonly extraLong3: 900; readonly extraLong4: 1000; }","description":"Durations in ms (theme.css has them as `--duration-short-1` … `--duration-extra-long-4`)"},{"name":"cubicBezier","import":"@m3ui-vue/m3ui-vue","signature":"cubicBezier(x1: number, y1: number, x2: number, y2: number): (t: number) => number","description":"A cubic-bezier easing as a function of progress (0–1), e.g. `cubicBezier(...motionEasings.emphasized)`, for JS-driven tweens and for mapping a fraction through a curve"},{"name":"vRipple","import":"@m3ui-vue/m3ui-vue","signature":"vRipple: Directive<HTMLElement, RippleValue>","description":"The M3 press ripple for any element: `<div v-ripple>`, `v-ripple=\"false\"`, `v-ripple=\"'#e91e63'\"` or `v-ripple=\"{ disabled, color }\"`. A statically positioned element is made `position: relative`. Registered globally as `v-ripple` by `createM3UI()`; import `vRipple` to use it without the plugin."},{"name":"vReveal","import":"@m3ui-vue/m3ui-vue","signature":"vReveal: Directive<HTMLElement, RevealValue>","description":"Reveals the element as it scrolls into view, on M3's springs (see `useScrollReveal` for the options): `v-reveal`, `v-reveal=\"'scale'\"`, `v-reveal=\"{ effect: 'slide-left', delay: 100 }\"`. Items of a `v-for` with the same options cascade in. Off with reduced motion. Registered by `createM3UI()`, or import `vReveal`."},{"name":"vStateLayer","import":"@m3ui-vue/m3ui-vue","signature":"vStateLayer: Directive<HTMLElement, StateLayerValue>","description":"The M3 state layer for any element: a tint in its text color at 8% on hover, 10% on keyboard focus and press, 16% while dragged. `<div v-state-layer>`, `v-state-layer=\"false\"`, `v-state-layer=\"'#e91e63'\"` or `v-state-layer=\"{ disabled, color, dragged }\"`. Pairs with `v-ripple`. A statically positioned element is made `position: relative`. Registered globally as `v-state-layer` by `createM3UI()`; import `vStateLayer` to use it without the plugin."},{"name":"vTooltip","import":"@m3ui-vue/m3ui-vue","signature":"vTooltip: Directive<HTMLElement, TooltipValue>","description":"MTooltip's plain tooltip on any element, without wrapping it: `v-tooltip=\"'Save'\"` or `v-tooltip=\"{ text, placement, delay, disabled }\"`. Shows after a delay on mouse hover, on keyboard focus, and on a long press on touch (swallowing that press's click, hiding 1.5s after the finger lifts); Escape and scrolling hide it. Registered globally as `v-tooltip` by `createM3UI()`; import `vTooltip` to use it without the plugin."},{"name":"vFocusRing","import":"@m3ui-vue/m3ui-vue","signature":"vFocusRing: Directive<HTMLElement, FocusRingValue>","description":"The M3 focus indicator on any element: a 3dp ring in `secondary`, 2dp outside the element, shown on keyboard focus only (`:focus-visible`), never on a click or tap. `<div v-focus-ring tabindex=\"0\">`, `v-focus-ring=\"false\"`, `v-focus-ring=\"'#e91e63'\"` or `v-focus-ring=\"{ disabled, color, inset, within }\"`. It wins over an `outline-none` class on the same element. Registered globally as `v-focus-ring` by `createM3UI()`; import `vFocusRing` to use it without the plugin."},{"name":"vScrollElevation","import":"@m3ui-vue/m3ui-vue","signature":"vScrollElevation: Directive<HTMLElement, ScrollElevationValue>","description":"Marks an element while the content under it has scrolled, as M3's top app bar does on scroll: it takes the scrolled container color (`surface-container`) and gets a `data-scrolled` attribute for your own styles (`data-scrolled:shadow-elevation-2`). Follows the window, or `v-scroll-elevation=\"'#list'\"` / `{ target, threshold, color, onChange, disabled }`. Add `transition-colors` to the element for a fade. Registered globally as `v-scroll-elevation` by `createM3UI()`; import `vScrollElevation` to use it without the plugin."},{"name":"vLongPress","import":"@m3ui-vue/m3ui-vue","signature":"vLongPress: Directive<HTMLElement, LongPressValue>","description":"Calls a handler when the element is pressed and held: `v-long-press=\"onHold\"` or `v-long-press=\"{ handler, duration, tolerance, haptic, mouse, disabled }\"`. Moving past the tolerance (a scroll or a drag) cancels it; once it fires, the click the press ends in and the browser's own long-press menu are swallowed, so a long-pressed button doesn't also click. While held, the element has `data-long-pressing` (`data-long-pressing:scale-95`). Registered globally as `v-long-press` by `createM3UI()`; import `vLongPress` to use it without the plugin."},{"name":"vSwipe","import":"@m3ui-vue/m3ui-vue","signature":"vSwipe: Directive<HTMLElement, SwipeValue>","description":"Calls handlers when an element is swiped: `v-swipe=\"onSwipe\"` (any direction, `info.direction` says which) or `v-swipe=\"{ left, right, up, down, threshold, velocity, onMove, onEnd, mouse, disabled }\"`. A swipe counts past `threshold` px, or at any length when flicked faster than `velocity`. The element's `touch-action` is set from the directions you listen to: only left/right leaves vertical scrolling to the page (`pan-y`), only up/down the horizontal (`pan-x`), both block panning from it (`none`). The click a swipe ends in is swallowed. Registered globally as `v-swipe` by `createM3UI()`; import `vSwipe` to use it without the plugin."},{"name":"vClickOutside","import":"@m3ui-vue/m3ui-vue","signature":"vClickOutside: Directive<HTMLElement, ClickOutsideValue>","description":"Calls a handler when a press lands outside the element: `v-click-outside=\"close\"` or `v-click-outside=\"{ handler, exclude, event, disabled }\"`. `exclude` takes elements or selectors that count as inside (the toggle button, a teleported popup). Only the primary button counts. Starts listening after the event that mounted it, so the click that opened a panel doesn't close it. Registered globally as `v-click-outside` by `createM3UI()`; import `vClickOutside` to use it without the plugin."},{"name":"vSkeleton","import":"@m3ui-vue/m3ui-vue","signature":"vSkeleton: Directive<HTMLElement, SkeletonValue>","description":"Turns an element into its own loading placeholder: `v-skeleton=\"loading\"` or `v-skeleton=\"{ loading, animation }\"`. While loading it keeps its size and corners, hides its content (which still sizes it: placeholder text like `{{ user?.name ?? 'Loading name' }}` gives an empty element a width), takes MSkeleton's tint and animation (`pulse`, `wave` or `none`; still with reduced motion), ignores the pointer and is `aria-busy`. Registered globally as `v-skeleton` by `createM3UI()`; import `vSkeleton` to use it without the plugin."},{"name":"vSparkle","import":"@m3ui-vue/m3ui-vue","signature":"vSparkle: Directive<HTMLElement, SparkleValue>","description":"Sparkles that twinkle over an element, to draw the eye to something new or special: `v-sparkle`, `v-sparkle=\"'hover'\"`, `v-sparkle=\"'#f5b400'\"` or `v-sparkle=\"{ trigger, color, size, rate, shapes, disabled }\"`. They're drawn in a layer over the element (a statically positioned one is made `position: relative`), hidden from assistive technology, and pause while it's off screen or the tab is hidden; none under reduced motion. Registered globally as `v-sparkle` by `createM3UI()`; import `vSparkle` to use it without the plugin."},{"name":"useFloorPlan","import":"@m3ui-vue/m3ui-vue","signature":"useFloorPlan(): FloorPlanContext","description":"The enclosing MFloorPlan's state and actions (inside its slots)"},{"name":"floorDecorName","import":"@m3ui-vue/m3ui-vue","signature":"floorDecorName(kind: string, kinds: Record<string, FloorDecorKind>, locale: M3Locale): string","description":"A decor kind's name: a built-in one in the app's language (unless renamed), else its label or key"},{"name":"emojiCategories","import":"@m3ui-vue/m3ui-vue","signature":"emojiCategories: EmojiCategory[]","description":""},{"name":"allEmojis","import":"@m3ui-vue/m3ui-vue","signature":"allEmojis: string[]","description":""},{"name":"randomEmoji","import":"@m3ui-vue/m3ui-vue","signature":"randomEmoji(from?: string[]): string","description":""},{"name":"withSkinTone","import":"@m3ui-vue/m3ui-vue","signature":"withSkinTone(emoji: string, tone: number): string","description":"`emoji` with skin tone `tone` (0 = none, 1–5 = light to dark), if it takes one."},{"name":"toneableEmojis","import":"@m3ui-vue/m3ui-vue","signature":"toneableEmojis: Set<string>","description":"Emoji that take a skin tone (all five one-tone variants exist)."},{"name":"skinTones","import":"@m3ui-vue/m3ui-vue","signature":"skinTones: readonly [\"🏻\", \"🏼\", \"🏽\", \"🏾\", \"🏿\"]","description":"The five Fitzpatrick modifiers, light to dark."}],"types":[{"name":"MapContext","import":"@m3ui-vue/m3ui-vue/map","source":"/** What `MMap` provides to everything inside it. */\nexport interface MapContext {\n /** The MapLibre map, once created (never on the server) */\n map: ShallowRef<Maplibre.Map | undefined>\n /** The `maplibre-gl` module, loaded with the map (so nothing imports it on the server) */\n maplibre: ShallowRef<MaplibreModule | undefined>\n /** Bumped on every `style.load`: sources and layers added by components are re-added after a style change */\n styleVersion: Ref<number>\n /** The style as `MMap`'s `adapter` reads it (undefined without one) */\n model: ShallowRef<MapLayerModel | undefined>\n /** Visibility and opacity of the model's layers */\n layerState: MapLayerState\n /**\n * The tool that owns the map's clicks right now (`'measure'` while measuring), or null: `MMapIdentify` stays quiet\n * meanwhile. Set it from tools of your own the same way\n */\n activeTool: Ref<string | null>\n}"},{"name":"MapSource","import":"@m3ui-vue/m3ui-vue/map","source":"/**\n * A map to use from outside `<MMap>`: the `MMap` itself (a template ref: `<MMap ref=\"map\">` → `:map=\"map\"`) or its\n * `context`. Null or undefined until it mounts.\n */\nexport type MapSource = { context: MapContext } | MapContext | null | undefined"},{"name":"MaplibreModule","import":"@m3ui-vue/m3ui-vue/map","source":"/** The `maplibre-gl` module (its classes: `Map`, `Marker`, `Popup`…) */\nexport type MaplibreModule = typeof import('maplibre-gl')"},{"name":"MapLayerState","import":"@m3ui-vue/m3ui-vue/map","source":"/** Visibility and opacity of the model's layers, shared by everything inside one `MMap`. */\nexport interface MapLayerState {\n visible: Record<string, boolean>\n opacity: Record<string, number>\n}"},{"name":"MapAdapter","import":"@m3ui-vue/m3ui-vue/map","source":"/** Reads a style's conventions (usually its `metadata`) into the model the map's UI components use. */\nexport type MapAdapter = (style: Maplibre.StyleSpecification, context: MapAdapterContext) => MapLayerModel"},{"name":"MapAdapterContext","import":"@m3ui-vue/m3ui-vue/map","source":"/** What an adapter gets besides the style. */\nexport interface MapAdapterContext {\n /** The style's URL, when `MMap`'s `mapStyle` is one */\n styleUrl?: string\n}"},{"name":"MapFieldFormat","import":"@m3ui-vue/m3ui-vue/map","source":"/** How to show one property of a feature. */\nexport interface MapFieldFormat {\n /** The label (the key, capitalized, by default) */\n label?: string\n /** Text before the value */\n prefix?: string\n /** Text after the value */\n suffix?: string\n /** A number mask: its decimals set the fraction digits (`#.00` → 2) and a comma turns on grouping (`#,###`) */\n mask?: string\n /** Leave it out */\n hidden?: boolean\n}"},{"name":"MapIdentifyResult","import":"@m3ui-vue/m3ui-vue/map","source":"/** What `MMapIdentify` found on one layer at a point. */\nexport interface MapIdentifyResult {\n layer: MapLayerInfo\n feature: Maplibre.MapGeoJSONFeature\n /** Its properties as the layer's `identify` shows them, formatted */\n fields: { key: string; label: string; value: string }[]\n}"},{"name":"MapLayerInfo","import":"@m3ui-vue/m3ui-vue/map","source":"/** One layer of the style, as the map's UI components see it. */\nexport interface MapLayerInfo {\n /** The style layer's id */\n id: string\n /** Its name in the UI */\n title: string\n description?: string\n /** The `name` of its group in `MapLayerModel.groups` */\n group?: string\n /** Shown in `MMapLayers` */\n listed: boolean\n /** A base layer: `MMapBaseLayers` shows one of them at a time, with this thumbnail */\n base?: { image?: string }\n /** Layer ids shown, hidden and faded along with it */\n children: string[]\n /** Listed by `MMapIdentify` on click: every property, formatted by `format`, minus `exclude` */\n identify: false | { format: Record<string, MapFieldFormat>; exclude: string[] }\n /** Shown by `MMapHover` under the pointer: these properties, in order */\n hover: false | { fields: (MapFieldFormat & { key: string })[] }\n /** A legend image URL (an SVG, typically) */\n legend?: string\n /** A download URL for its data */\n download?: string\n}"},{"name":"MapLayerModel","import":"@m3ui-vue/m3ui-vue/map","source":"/** The style as the map's UI components see it: layers with names, groups, base layers, what to identify. */\nexport interface MapLayerModel {\n /** The style's name */\n title?: string\n /** Groups, in order */\n groups: { name: string; title: string }[]\n /** Layers, in the style's order (bottom to top) */\n layers: MapLayerInfo[]\n}"},{"name":"OrvianAdapterOptions","import":"@m3ui-vue/m3ui-vue/map","source":"export interface OrvianAdapterOptions {\n /**\n * A layer's legend image. By default, for a style served by mvt-rs (`…/services/styles/<style>`), its legend service\n * (`…/services/legends/<style>?layer_id=<id>`), unless the layer's `metadata.legend.show` is false;\n * `metadata.legend.wmslegend` overrides it\n */\n legend?: (layer: Maplibre.LayerSpecification, styleUrl?: string) => string | undefined\n}"},{"name":"MapSearchProvider","import":"@m3ui-vue/m3ui-vue/map","source":"/** Finds places for `MMapSearch`: the text in, results out. `signal` aborts a search the user replaced. */\nexport type MapSearchProvider = (query: string, signal: AbortSignal) => Promise<MapSearchResult[]>"},{"name":"MapSearchResult","import":"@m3ui-vue/m3ui-vue/map","source":"/** A place found by a `MapSearchProvider`. */\nexport interface MapSearchResult {\n /** What to show */\n label: string\n /** Where it is */\n lngLat: [number, number]\n /** Its extent, `[west, south, east, north]`: the map fits it instead of zooming to the point */\n bbox?: [number, number, number, number]\n /** Its kind (`city`, `road`, `park`, `restaurant`…), for the icon */\n type?: string\n}"},{"name":"NominatimOptions","import":"@m3ui-vue/m3ui-vue/map","source":"export interface NominatimOptions {\n /** The Nominatim server (`https://nominatim.openstreetmap.org` by default; mind its usage policy, or run your own) */\n url?: string\n /** How many results (6) */\n limit?: number\n /** The results' language (`es`, `en`…); by default the page's (`<html lang>`) */\n language?: string\n /** Only these countries (ISO codes: `['ar']`) */\n countryCodes?: string[]\n /** Prefer (or with `bounded`, only) this area: `[west, south, east, north]` */\n viewbox?: [number, number, number, number]\n bounded?: boolean\n}"},{"name":"MediaPlayer","import":"@m3ui-vue/m3ui-vue/media","source":"export interface MediaPlayer {\n /** The media element being driven, or null (clock, or not mounted yet) */\n media: Readonly<Ref<HTMLMediaElement | null>>\n /** Playing or paused; writing it plays or pauses */\n playing: WritableComputedRef<boolean>\n /** Position in seconds; writing it seeks */\n currentTime: WritableComputedRef<number>\n /** Length in seconds: 0 until known, Infinity for a live stream */\n duration: Readonly<Ref<number>>\n /** Loaded time ranges, `[[start, end], …]` (the clock reports all of it) */\n buffered: Readonly<Ref<[number, number][]>>\n /** Playback speed; writing it changes it */\n rate: WritableComputedRef<number>\n /** Volume, 0 to 1; writing it changes it */\n volume: WritableComputedRef<number>\n /** Muted; writing it mutes or unmutes */\n muted: WritableComputedRef<boolean>\n /** Stalled for data (a spinner's moment). Writable for the clock, to simulate buffering: it stops advancing meanwhile */\n waiting: Ref<boolean>\n /** Reached the end; `play()` or `toggle()` start over */\n ended: Readonly<Ref<boolean>>\n /** A live stream (infinite duration): no seeking */\n live: Readonly<Ref<boolean>>\n /** The media element's error, if loading or decoding failed */\n error: Readonly<Ref<MediaError | null>>\n /** The browser refused to start playing (autoplay with sound before any user gesture) */\n blocked: Readonly<Ref<boolean>>\n /** Whether there is a previous / next item (see the options of the same names) */\n hasPrevious: Readonly<Ref<boolean>>\n hasNext: Readonly<Ref<boolean>>\n play: () => Promise<void>\n pause: () => void\n toggle: () => Promise<void>\n /** Seeks to a time in seconds (clamped to the media) */\n seek: (time: number) => void\n /** Seeks by an offset in seconds, `seekStep` by default (negative goes back) */\n skip: (seconds?: number) => void\n /** Pauses and goes back to the start */\n stop: () => void\n previous: () => void\n next: () => void\n /**\n * Drives this element instead of the `media` option (null: the clock; undefined: back to `media`). What\n * `MVideoPlayer`/`MAudioPlayer` call with their own element when given a `player`: rate, volume and mute carry over\n */\n attach: (el: HTMLMediaElement | null | undefined) => void\n}"},{"name":"MediaPlayerOptions","import":"@m3ui-vue/m3ui-vue/media","source":"export interface MediaPlayerOptions {\n /**\n * The `<audio>` or `<video>` element to drive (a ref or a getter; it may come and go). Without one the player\n * runs its own clock over `duration`: for anything that isn't a media file (a canvas, a shader, generated audio)\n * that should still play, pause, seek and change speed like one.\n */\n media?: MaybeRefOrGetter<HTMLMediaElement | null | undefined>\n /** The length in seconds, for the clock (without `media`) */\n duration?: MaybeRefOrGetter<number | undefined>\n /** Shown on the lock screen and the system's media notification while this player plays (Media Session API) */\n metadata?: MaybeRefOrGetter<MediaPlayerMetadata | null | undefined>\n /** The previous button (and the lock screen's); without it there is none */\n onPrevious?: () => void\n /** The next button (and the lock screen's); without it there is none */\n onNext?: () => void\n /** Whether there is a previous item right now (the first of a playlist has none). Default: `onPrevious` was given */\n hasPrevious?: MaybeRefOrGetter<boolean>\n /** Whether there is a next item right now. Default: `onNext` was given */\n hasNext?: MaybeRefOrGetter<boolean>\n /** Seconds `skip()` and the lock screen's seek buttons move by default. Default 10 */\n seekStep?: number\n /** The clock starts over at the end instead of stopping (with `media`, set the element's `loop`) */\n loop?: MaybeRefOrGetter<boolean | undefined>\n}"},{"name":"MediaPlayerMetadata","import":"@m3ui-vue/m3ui-vue/media","source":"/** What the lock screen and the system's media notification show (the Media Session API's metadata) */\nexport interface MediaPlayerMetadata {\n title?: string\n artist?: string\n album?: string\n /** Cover images, largest last is fine: `[{ src, sizes: '512x512', type: 'image/png' }]` or plain URLs */\n artwork?: (string | { src: string; sizes?: string; type?: string })[]\n}"},{"name":"PdfDocument","import":"@m3ui-vue/m3ui-vue/pdf","source":"export type PdfDocument = Pdfjs.PDFDocumentProxy"},{"name":"PdfMetadata","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfMetadata {\n title?: string\n author?: string\n subject?: string\n creator?: string\n producer?: string\n creationDate?: Date\n modificationDate?: Date\n}"},{"name":"PdfOptions","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfOptions {\n /** A password to try first (the `needsPassword` flow handles the rest) */\n password?: MaybeRefOrGetter<string | undefined>\n /** Send cookies with a cross-origin URL */\n withCredentials?: boolean\n /**\n * The pdf.js worker's URL (with Vite: `import workerSrc from 'pdfjs-dist/build/pdf.worker.min.mjs?url'`), or\n * set it once for the app with `setPdfWorker()`. Without one, pdf.js runs on the main thread: it works, but\n * parsing a big file blocks the page meanwhile\n */\n workerSrc?: string\n}"},{"name":"PdfOutlineItem","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfOutlineItem {\n title: string\n /** 1-based page it points to (undefined for an external link or a destination that can't be resolved) */\n page?: number\n /** Where on that page, in PDF points from the bottom, when the destination says */\n top?: number\n /** An external link */\n url?: string\n children: PdfOutlineItem[]\n}"},{"name":"PdfPage","import":"@m3ui-vue/m3ui-vue/pdf","source":"export type PdfPage = Pdfjs.PDFPageProxy"},{"name":"PdfPageText","import":"@m3ui-vue/m3ui-vue/pdf","source":"/** A page's text as `usePdf` indexes it: its text items joined, and where each item starts */\nexport interface PdfPageText {\n text: string\n /** Start offset of each text item (the text layer's spans, in order) */\n starts: number[]\n}"},{"name":"PdfSearchMatch","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfSearchMatch {\n /** 1-based page */\n page: number\n /** Index of the match on its page */\n index: number\n /** Character offsets in the page's text (see `pageText`) */\n start: number\n end: number\n /** The text around it, for a results list */\n context: string\n}"},{"name":"PdfSource","import":"@m3ui-vue/m3ui-vue/pdf","source":"/** What `usePdf` loads: a URL, the file's bytes, or a `File`/`Blob` (an upload) */\nexport type PdfSource = string | URL | Uint8Array | ArrayBuffer | Blob"},{"name":"PdfState","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfState {\n /** The pdf.js document, once loaded */\n doc: ShallowRef<PdfDocument | null>\n /** The `pdfjs-dist` module, loaded with the first document */\n pdfjs: ShallowRef<PdfjsModule | null>\n loading: Readonly<Ref<boolean>>\n /** Download progress, 0 to 1 (0 while the size is unknown) */\n progress: Readonly<Ref<number>>\n error: Readonly<Ref<Error | null>>\n /** The file is encrypted: call `submitPassword()` */\n needsPassword: Readonly<Ref<boolean>>\n /** The last password was wrong */\n wrongPassword: Readonly<Ref<boolean>>\n submitPassword: (password: string) => void\n numPages: Readonly<Ref<number>>\n /**\n * Each page's size in PDF points at zoom 1, with its own rotation (index 0 = page 1). Every page starts as the\n * first one's size and gets its own as the pages are read, in the background\n */\n pageSizes: Readonly<Ref<{ width: number; height: number }[]>>\n outline: Readonly<Ref<PdfOutlineItem[]>>\n metadata: Readonly<Ref<PdfMetadata>>\n getPage: (page: number) => Promise<PdfPage>\n /** A page's text (cached) */\n pageText: (page: number) => Promise<PdfPageText>\n /** Finds text in every page (case and accent insensitive unless `caseSensitive`) */\n search: (query: string, options?: { caseSensitive?: boolean; signal?: AbortSignal }) => Promise<PdfSearchMatch[]>\n /** A picture of a page `width` CSS pixels wide, as an object URL (cached; revoked when the document changes) */\n thumbnail: (page: number, width?: number) => Promise<string>\n /** Resolves a link destination (a name or an explicit array) to a page and a position */\n resolveDest: (dest: unknown) => Promise<{ page: number; top?: number } | null>\n /** The file's bytes */\n getData: () => Promise<Uint8Array>\n /** Saves the file */\n download: (fileName?: string) => Promise<void>\n /** Opens the browser's print dialog for the file */\n print: () => Promise<void>\n}"},{"name":"PdfjsModule","import":"@m3ui-vue/m3ui-vue/pdf","source":"/** The `pdfjs-dist` module */\nexport type PdfjsModule = typeof import('pdfjs-dist')"},{"name":"FlowCircleData","import":"@m3ui-vue/m3ui-vue/flow","source":"/** What a `circle` node shows */\nexport interface FlowCircleData {\n label?: string\n /** Its fill: a container role (default a neutral surface) */\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'neutral' | 'inverse'\n /** A small count or tag on its top right (a level, an excess) */\n badge?: string | number\n /** A soft halo around it, in a role's color */\n ring?: 'primary' | 'secondary' | 'tertiary' | 'error'\n /** Diameter in px (default 56) */\n size?: number\n}"},{"name":"FlowConnection","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A connection being made or checked */\nexport interface FlowConnection {\n source: string\n sourceHandle: string | null\n target: string\n targetHandle: string | null\n}"},{"name":"FlowContext","import":"@m3ui-vue/m3ui-vue/flow","source":"/** What MFlow provides to everything inside it, and `useFlow()` returns */\nexport interface FlowContext {\n nodes: ComputedRef<FlowNode[]>\n edges: ComputedRef<FlowEdge[]>\n viewport: Readonly<Ref<FlowViewport>>\n selection: ComputedRef<FlowSelection>\n minZoom: ComputedRef<number>\n maxZoom: ComputedRef<number>\n /** Canvas size in px */\n size: Readonly<Ref<{ width: number; height: number }>>\n /** Interaction switched off by the lock button (or MFlow's `locked`) */\n locked: Ref<boolean>\n getNode(id: string): FlowNode | undefined\n /** A node's top left corner in flow coordinates, its parents added, where it's drawn right now */\n getAbsolutePosition(id: string): FlowXY\n /** A node's measured (or set) size */\n getSize(id: string): { width: number; height: number }\n /** Nodes overlapping this one (or a rectangle in flow coordinates), groups and its own family left out */\n getIntersectingNodes(node: string | { x: number; y: number; width: number; height: number }): FlowNode[]\n /**\n * The edge passing within `radius` (flow units, default 8) of a flow point, nearest first, skipping the ones\n * `ignore` returns true for: where on it the point falls (on the grid along it with snapToGrid), the way it runs\n * there toward its target, and for an edge with its own route, the routes that keep each half's shape if it's split\n * there (as the `branch` event gives). For dropping something onto an edge, e.g. a junction\n */\n getEdgeAt(p: FlowXY, opts?: { radius?: number; ignore?: (e: FlowEdge) => boolean }): FlowEdgeHit | null\n /** Page (client) coordinates → flow coordinates */\n screenToFlow(p: { x: number; y: number }): FlowXY\n flowToScreen(p: FlowXY): { x: number; y: number }\n setViewport(v: Partial<FlowViewport>, opts?: { animate?: boolean }): void\n fitView(opts?: FlowFitOptions): void\n /** Centers the view on a flow point, at `zoom` or the current zoom */\n setCenter(x: number, y: number, opts?: { zoom?: number; animate?: boolean }): void\n zoomIn(): void\n zoomOut(): void\n zoomTo(zoom: number, opts?: { animate?: boolean }): void\n addNodes(nodes: FlowNode | FlowNode[]): void\n addEdges(edges: FlowEdge | FlowEdge[]): void\n /** Several changes as one undoable step (nodes and edges added, changed or removed together): each list given replaces the current one */\n change(next: { nodes?: FlowNode[]; edges?: FlowEdge[] }): void\n updateNode(id: string, patch: Partial<FlowNode> | ((n: FlowNode) => FlowNode)): void\n updateEdge(id: string, patch: Partial<FlowEdge> | ((e: FlowEdge) => FlowEdge)): void\n /** Deletes nodes (with their edges and children) and edges by id */\n remove(ids: { nodes?: string[]; edges?: string[] }): void\n setSelection(sel: Partial<FlowSelection>): void\n /** Runs a layout over the nodes' measured sizes; default MFlow's `layout` (or the tree layout). Animated and undoable */\n layout(fn?: 'tree' | 'layered' | FlowLayout, options?: FlowLayoutOptions): Promise<void>\n undo(): void\n redo(): void\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n copy(): void\n cut(): void\n /** Pastes what was copied, at a flow point (default a step from the originals) */\n paste(at?: FlowXY): void\n /**\n * Drags a node with a pointer that's already down, e.g. one just added from a palette outside the canvas: it\n * follows the pointer from there (guides, splicing into an edge) until it's let go. With a finger, the page\n * doesn't scroll under it meanwhile (start the drag from a long press, so a swipe still scrolls your palette)\n */\n startDrag(id: string, e: PointerEvent): void\n}"},{"name":"FlowEdge","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowEdge<D = any> {\n id: string\n source: string\n target: string\n /** The handle's `id` when its node has several */\n sourceHandle?: string | null\n targetHandle?: string | null\n /** `bezier` (default), `smoothstep`, `step`, `straight`, or a `#edge-<type>` slot */\n type?: string\n /**\n * For a `#edge-<type>` slot: how it's routed, which is the `path` the slot gets and where the edge is hit\n * (default `bezier`)\n */\n pathType?: 'bezier' | 'smoothstep' | 'step' | 'straight'\n label?: string\n /** The label chip's color (default a neutral chip) */\n labelTone?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'neutral'\n /** Dashes that flow from source to target (`'reverse'`: from target to source) */\n animated?: boolean | 'reverse'\n /** The line's (and arrowhead's) color: an M3 role (`primary`, `tertiary`, `error`, `outline`…) or any CSS color. Changes animate */\n color?: string\n /** The line's width in px (default 2). Changes animate */\n width?: number\n /** A dashed line, standing still */\n dashed?: boolean\n /** Default `arrow-closed` */\n markerEnd?: FlowMarker\n markerStart?: FlowMarker\n data?: D\n hidden?: boolean\n selectable?: boolean\n deletable?: boolean\n /** Its ends can be dragged to other handles once selected; default MFlow's `edgesReconnectable` */\n reconnectable?: boolean\n /**\n * A `smoothstep`/`step` edge's own route: where its segments after the first run, alternately x and y (see\n * `routePoints`). Dragging a selected edge's segments writes it (MFlow's `edgesReroutable`); without one it's\n * routed automatically\n */\n route?: number[]\n /** Its segments can be dragged once selected; default MFlow's `edgesReroutable` */\n reroutable?: boolean\n /** The side it leaves an `'auto'` handle by (default the side facing its other end) */\n sourcePosition?: FlowPosition\n /** The side it arrives at an `'auto'` handle by (default the side facing its other end) */\n targetPosition?: FlowPosition\n class?: string\n}"},{"name":"FlowEdgeHit","import":"@m3ui-vue/m3ui-vue/flow","source":"/** An edge found under a point (`getEdgeAt`) */\nexport interface FlowEdgeHit {\n edge: FlowEdge\n position: FlowXY\n direction: FlowPosition\n routes?: { before: number[]; after: number[] }\n}"},{"name":"FlowFitOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowFitOptions {\n /** Room around the nodes, a fraction of the view (default 0.1) */\n padding?: number\n /** Only these nodes */\n nodes?: string[]\n maxZoom?: number\n minZoom?: number\n /** Default true */\n animate?: boolean\n}"},{"name":"FlowHandleBounds","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A handle as measured: its center relative to its node's corner, in flow units */\nexport interface FlowHandleBounds {\n id: string | null\n type: 'source' | 'target'\n /** 'auto': each edge leaves or arrives on the side that faces its other end */\n position: FlowPosition | 'auto'\n x: number\n y: number\n connectable: boolean\n}"},{"name":"FlowMarker","import":"@m3ui-vue/m3ui-vue/flow","source":"export type FlowMarker = 'arrow' | 'arrow-closed' | 'none'"},{"name":"FlowNode","import":"@m3ui-vue/m3ui-vue/flow","source":"/**\n * A node. Treat nodes as immutable: MFlow emits new arrays with new objects for whatever changed (`v-model:nodes`),\n * and the history (undo) keeps the old ones.\n */\nexport interface FlowNode<D = any> {\n id: string\n /**\n * How it's drawn: `default` (an MFlowNode with a handle each side), `input` (only a source), `output` (only a\n * target), `circle` (a round vertex, see `FlowCircleData`), `group` (a container for nodes whose `parentId` is this\n * one), or any name you give a `#node-<type>` slot\n */\n type?: string\n /** Its top left corner, in flow coordinates (relative to the parent's corner when it has a `parentId`) */\n position: FlowXY\n /** Anything; the default node shows `label`, `subtitle` and `icon` */\n data?: D\n /** A fixed size; otherwise it's measured. A `group` without one wraps its children */\n width?: number\n height?: number\n /** The group this node sits in: it moves with it */\n parentId?: string\n /** `'parent'` keeps it inside its group */\n extent?: 'parent'\n /** Where the default node's handles go; default from MFlow's `direction` */\n sourcePosition?: FlowPosition\n targetPosition?: FlowPosition\n hidden?: boolean\n draggable?: boolean\n selectable?: boolean\n connectable?: boolean\n deletable?: boolean\n /** `false` keeps it from splicing into an edge when dropped onto one */\n insertable?: boolean\n /**\n * With snapToGrid, what lands on the grid is its position plus this (default its corner): `{ x: w / 2, y: h / 2 }`\n * puts its middle on the grid, e.g. a junction dot whose wires run along the grid lines\n */\n gridOffset?: FlowXY\n class?: string\n}"},{"name":"FlowSelection","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowSelection { nodes: string[]; edges: string[] }"},{"name":"FlowViewport","import":"@m3ui-vue/m3ui-vue/flow","source":"/** The view: `x`/`y` in px, where the flow's origin is on the canvas, and the zoom */\nexport interface FlowViewport { x: number; y: number; zoom: number }"},{"name":"FlowXY","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A point in flow coordinates */\nexport interface FlowXY { x: number; y: number }"},{"name":"FlowEdgePath","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowEdgePath {\n /** The SVG path (`d`) */\n path: string\n /** Where the label goes: the path's middle */\n labelX: number\n labelY: number\n /** The direction the path leaves the source in, in radians (0 = right, π/2 = down) */\n sourceAngle: number\n /** The direction the path arrives at the target in, in radians: the way an arrowhead points */\n targetAngle: number\n}"},{"name":"FlowEdgePathParams","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowEdgePathParams {\n sourceX: number\n sourceY: number\n /** Default 'bottom' */\n sourcePosition?: FlowPosition\n targetX: number\n targetY: number\n /** Default 'top' */\n targetPosition?: FlowPosition\n}"},{"name":"FlowPosition","import":"@m3ui-vue/m3ui-vue/flow","source":"// Edge paths for MFlow, also exported for edges of your own (`#edge-<type>` slots). Every function takes the two\n// ends in flow coordinates plus the side of its node each end leaves from, and returns an SVG path, the point\n// where a label sits and the direction the path arrives in (for an arrowhead).\n\n/** A side of a node: where a handle sits and the direction an edge leaves it in */\nexport type FlowPosition = 'top' | 'right' | 'bottom' | 'left'"},{"name":"FlowLayout","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A layout: MFlow's `layout` prop and `layout()` take one */\nexport type FlowLayout = (\n nodes: FlowNode[],\n edges: FlowEdge[],\n options: FlowLayoutOptions & { sizes: Map<string, { width: number; height: number }>; direction: FlowLayoutDirection },\n) => FlowLayoutResult | Promise<FlowLayoutResult>"},{"name":"FlowLayoutDirection","import":"@m3ui-vue/m3ui-vue/flow","source":"export type FlowLayoutDirection = 'TB' | 'BT' | 'LR' | 'RL'"},{"name":"FlowLayoutOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowLayoutOptions {\n /** TB (top to bottom, the default for a vertical MFlow), BT, LR (default for a horizontal one) or RL */\n direction?: FlowLayoutDirection\n /** Space between neighbors in a level, px (default 40) */\n gap?: number\n /** Space between levels, px (default 80) */\n levelGap?: number\n /** Node sizes; MFlow passes the measured ones */\n sizes?: Map<string, { width: number; height: number }> | Record<string, { width: number; height: number }>\n /** Size of a node missing from `sizes` (default 180 × 60) */\n defaultSize?: { width: number; height: number }\n}"},{"name":"FlowLayoutResult","import":"@m3ui-vue/m3ui-vue/flow","source":"/** Top left corners by node id */\nexport type FlowLayoutResult = Record<string, FlowXY>"},{"name":"FlowPanelPosition","import":"@m3ui-vue/m3ui-vue/flow","source":"// Where MFlowControls / MFlowMinimap (or a panel of yours) sit over MFlow's canvas\nexport type FlowPanelPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'center-left' | 'center-right'"},{"name":"FlowGraph","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A graph read from text */\nexport interface FlowGraph {\n nodes: FlowNode[]\n edges: FlowEdge[]\n /** The graph's own direction (DOT `rankdir`, Mermaid `flowchart LR`) */\n rankdir: FlowLayoutDirection\n /** The same, as MFlow's `direction` prop */\n direction: 'horizontal' | 'vertical'\n /** False for a DOT `graph` (edges without arrows) */\n directed: boolean\n /** The DOT graph's name */\n name?: string\n /** The DOT graph's `label` */\n label?: string\n /** Every graph-level DOT attribute, as written */\n attrs: Record<string, string>\n}"},{"name":"FlowImportOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowImportOptions {\n /** How to place the nodes: `'layered'` (default), `'tree'`, or `false` to leave them at 0,0 (for MFlow's `layout` prop, which measures them first) */\n layout?: 'layered' | 'tree' | false\n /** Gaps, sizes and direction for the layout (the direction defaults to the graph's own) */\n layoutOptions?: FlowLayoutOptions\n /** The type given to plain nodes (default none: MFlow's default node) */\n nodeType?: string\n /** The type given to every edge (e.g. `'smoothstep'`; default none: a bezier) */\n edgeType?: string\n}"},{"name":"FlowExportOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowExportOptions {\n /** The direction written (`rankdir` / `flowchart XX`): a layout direction or MFlow's `direction` (default TB) */\n direction?: FlowLayoutDirection | 'horizontal' | 'vertical'\n /** Node sizes, for `positions` (default each node's `width`/`height`, else 180 × 60) */\n sizes?: Map<string, { width: number; height: number }> | Record<string, { width: number; height: number }>\n}"},{"name":"FlowDotExportOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowDotExportOptions extends FlowExportOptions {\n /** The graph's name */\n name?: string\n /** `digraph` (default) or `graph`, whose edges have no direction */\n directed?: boolean\n /** Writes each node's place as `pos` (in points, y up), for `neato -n` */\n positions?: boolean\n}"},{"name":"GanttColumn","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A column of MGantt's task list */\nexport interface GanttColumn {\n /** `name`, `start`, `end`, `duration` and `progress` are built in; anything else reads `task.data[key]` (or the slot `#cell-<key>`) */\n key: string\n label?: string\n /** px; the `name` column takes what's left when it has none */\n width?: number\n align?: 'start' | 'center' | 'end'\n /** Text for a cell */\n format?: (task: GanttTask) => string\n}"},{"name":"GanttContext","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** What MGantt provides to everything inside it (MGanttControls, panels of yours), and its template ref exposes */\nexport interface GanttContext {\n /** The tasks as drawn: summaries rolled up from their children */\n tasks: ComputedRef<GanttTask[]>\n selection: ComputedRef<string[]>\n /** The closest named scale to the zoom */\n scale: ComputedRef<GanttScale>\n /** The zoom, in px per day */\n pxPerDay: Readonly<Ref<number>>\n readonly: ComputedRef<boolean>\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n /** Every task id whose children are hidden */\n collapsed: ComputedRef<string[]>\n undo(): void\n redo(): void\n zoomIn(): void\n zoomOut(): void\n setScale(scale: GanttScale): void\n /** Scrolls so a date (default now) sits at the view's `align` (default center) */\n scrollToDate(date?: string, opts?: { align?: 'start' | 'center'; animate?: boolean }): void\n /** Scrolls a task into view, its row and its bar */\n scrollToTask(id: string): void\n toggle(id: string, expanded?: boolean): void\n expandAll(): void\n collapseAll(): void\n setSelection(ids: string[]): void\n /** Adds tasks (after `after`, or at the end); undoable */\n addTasks(tasks: GanttTask | GanttTask[], opts?: { after?: string }): void\n updateTask(id: string, patch: Partial<GanttTask> | ((t: GanttTask) => GanttTask)): void\n /** Deletes tasks with their children and the dependencies on them */\n removeTasks(ids: string[]): void\n /** Makes `to` depend on `from` */\n link(from: string, to: string, type?: GanttDependency['type'], lag?: number): void\n unlink(from: string, to: string): void\n /** Runs `scheduleTasks` over the tasks with MGantt's calendar; undoable */\n schedule(options?: GanttScheduleOptions): void\n criticalPath: ComputedRef<GanttCriticalPath>\n /** The date (snapped) under a page x */\n dateAt(clientX: number): string\n}"},{"name":"GanttScale","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** MGantt's named zoom levels */\nexport type GanttScale = TimeUnit"},{"name":"GanttTask","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A task. MGantt emits new arrays with new objects for whatever changed (`v-model:tasks`) */\nexport interface GanttTask<D = any> {\n id: string\n name: string\n /** `YYYY-MM-DD` (whole days) or a datetime (`YYYY-MM-DDTHH:mm`, local, or ISO with a zone) */\n start: string\n /** A date is the last day (inclusive); a datetime is when it ends. A milestone needs none */\n end?: string\n /** 0 to 100 */\n progress?: number\n /** `summary` is implied for a task with children (its dates and progress roll up from them) */\n type?: 'task' | 'milestone' | 'summary'\n /** The summary task it belongs to */\n parentId?: string\n /** Its predecessors: ids (finish-to-start) or `GanttDependency` */\n dependencies?: (string | GanttDependency)[]\n /** An M3 role (default `primary`; `summary` defaults to `neutral`) */\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'neutral'\n /** The plan it's compared with (MGantt's `baselines`) */\n baselineStart?: string\n baselineEnd?: string\n /** `false` keeps it from being moved, resized, linked, deleted or selected */\n draggable?: boolean\n resizable?: boolean\n linkable?: boolean\n deletable?: boolean\n selectable?: boolean\n class?: string\n data?: D\n}"},{"name":"GanttDependency","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A predecessor of a task: finish-to-start (default), start-to-start, finish-to-finish or start-to-finish */\nexport interface GanttDependency {\n /** The predecessor's id */\n id: string\n type?: 'FS' | 'SS' | 'FF' | 'SF'\n /** Days between them (negative overlaps them); working days with a calendar */\n lag?: number\n}"},{"name":"GanttCalendar","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** Which days are worked: weekdays (0 Sunday … 6 Saturday, default Monday to Friday) and holidays (`YYYY-MM-DD`) */\nexport interface GanttCalendar {\n workingDays?: number[]\n holidays?: string[]\n}"},{"name":"GanttScheduleOptions","import":"@m3ui-vue/m3ui-vue/gantt","source":"export interface GanttScheduleOptions {\n /** `'push'` (default) moves tasks only as late as their dependencies need; `'asap'` also pulls them back to the earliest they can start */\n mode?: 'push' | 'asap'\n /** Count durations and lags in working days (date-only tasks), starting on working days */\n calendar?: GanttCalendar\n}"},{"name":"GanttCriticalPath","import":"@m3ui-vue/m3ui-vue/gantt","source":"export interface GanttCriticalPath {\n /** Tasks with no slack (and summaries holding one) */\n tasks: string[]\n /** Dependencies on the path, as `'<predecessor>><successor>'` */\n dependencies: string[]\n /** Each task's total slack in days: how late it can finish without delaying the end */\n slack: Record<string, number>\n /** When the last task ends */\n finish: string\n}"},{"name":"GanttCsvOptions","import":"@m3ui-vue/m3ui-vue/gantt","source":"// ── CSV ───────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport interface GanttCsvOptions {\n /** Field separator (default `,`; reading, `;` and tabs are detected) */\n separator?: string\n}"},{"name":"GanttXmlOptions","import":"@m3ui-vue/m3ui-vue/gantt","source":"export interface GanttXmlOptions {\n /** The project's name */\n name?: string\n /** Working hours a date-only task's days run, for Project's datetimes (default 8 to 17) */\n dayStart?: number\n dayEnd?: number\n}"},{"name":"TimelineEvent","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A booking on a resource's row: a shift, a reservation, a job */\nexport interface TimelineEvent<D = any> {\n id: string\n /** The resource (row) it's on */\n resourceId: string\n /** A datetime (`YYYY-MM-DDTHH:mm`, local, or ISO with a zone), or `YYYY-MM-DD` for whole days */\n start: string\n /** A datetime is when it ends; a date is the last day (inclusive) */\n end: string\n title: string\n subtitle?: string\n /** An M3 role (default the resource's, else `primary`) */\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'neutral'\n /** `false` keeps it from being moved (in time or to another resource), resized, deleted or selected */\n draggable?: boolean\n resizable?: boolean\n deletable?: boolean\n selectable?: boolean\n class?: string\n data?: D\n}"},{"name":"TimelineResource","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A row: a person, a table, a room, a machine */\nexport interface TimelineResource<D = any> {\n id: string\n name: string\n subtitle?: string\n /** Rows with the same group sit under a header that folds */\n group?: string\n /** A picture; else `icon`, else initials */\n avatar?: string\n icon?: string\n color?: TimelineEvent['color']\n /** Bookings it can hold at once before they conflict (default 1) */\n capacity?: number\n data?: D\n}"},{"name":"ResourceTimelineContext","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** What MResourceTimeline provides to components in its default slot, and its template ref exposes */\nexport interface ResourceTimelineContext {\n events: ComputedRef<TimelineEvent[]>\n selection: ComputedRef<string[]>\n /** Ids of events that overlap more than their resource's capacity */\n conflicts: ComputedRef<Set<string>>\n scale: ComputedRef<GanttScale>\n pxPerDay: Readonly<Ref<number>>\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n undo(): void\n redo(): void\n zoomIn(): void\n zoomOut(): void\n setScale(scale: GanttScale): void\n scrollToDate(date?: string, opts?: { align?: 'start' | 'center'; animate?: boolean }): void\n scrollToEvent(id: string): void\n setSelection(ids: string[]): void\n addEvents(events: TimelineEvent | TimelineEvent[]): void\n updateEvent(id: string, patch: Partial<TimelineEvent> | ((e: TimelineEvent) => TimelineEvent)): void\n removeEvents(ids: string[]): void\n /** The time (snapped, as a datetime) under a page x */\n dateAt(clientX: number): string\n /** The resource whose row is under a page y */\n resourceAt(clientY: number): TimelineResource | undefined\n}"},{"name":"TimelineControls","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** What MGanttControls drives, in an MGantt or an MResourceTimeline */\nexport interface TimelineControls {\n scale: ComputedRef<GanttScale>\n readonly: ComputedRef<boolean>\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n /** Whether anything can fold (summaries, resource groups) and whether something is folded */\n foldable: ComputedRef<boolean>\n folded: ComputedRef<boolean>\n undo(): void\n redo(): void\n zoomIn(): void\n zoomOut(): void\n setScale(scale: GanttScale): void\n scrollToDate(date?: string): void\n expandAll(): void\n collapseAll(): void\n}"},{"name":"DrawTool","import":"@m3ui-vue/m3ui-vue/draw","source":"/** What a pointer does on an MDrawCanvas */\nexport type DrawTool = DrawPen | 'eraser' | 'stroke-eraser' | DrawShapeKind | 'text' | 'select' | 'pan'"},{"name":"DrawContext","import":"@m3ui-vue/m3ui-vue/draw","source":"/** What an MDrawCanvas shares with MDrawToolbar, MDrawLayers and anything built with useDrawing() inside it */\nexport interface DrawContext {\n tool: Ref<DrawTool>\n color: Ref<string>\n size: Ref<number>\n /** New rects and ellipses are filled with the color */\n fill: Ref<boolean>\n items: ComputedRef<DrawItem[]>\n selection: Ref<string[]>\n layers: ComputedRef<DrawLayer[]>\n setLayers(layers: DrawLayer[]): void\n /** The layer new items go on */\n layer: Ref<string | undefined>\n mode: ComputedRef<'infinite' | 'pages'>\n pages: Ref<number>\n addPage(): void\n zoom: ComputedRef<number>\n zoomIn(): void\n zoomOut(): void\n fitView(): void\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n undo(): void\n redo(): void\n clear(): void\n deleteSelection(): void\n exportSvg(opts?: DrawExportOptions): string\n exportPng(opts?: DrawExportOptions): Promise<Blob>\n}"},{"name":"DrawExportOptions","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawExportOptions {\n /** In `mode=\"pages\"`: the page to export (default 0) */\n page?: number\n /** PNG: pixels per drawing unit (default 2) */\n scale?: number\n /** Paint the paper color behind the drawing (default true) */\n background?: boolean\n}"},{"name":"DrawItem","import":"@m3ui-vue/m3ui-vue/draw","source":"export type DrawItem = DrawStroke | DrawShape | DrawText"},{"name":"DrawStroke","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawStroke extends DrawItemBase {\n type: 'stroke'\n pen: DrawPen\n /** Width at full pressure, in drawing units */\n size: number\n points: DrawPoint[]\n}"},{"name":"DrawShape","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawShape extends DrawItemBase {\n type: 'shape'\n shape: DrawShapeKind\n from: [number, number]\n to: [number, number]\n size: number\n /** Fill of a rect or an ellipse (`null`/absent: none) */\n fill?: string | null\n}"},{"name":"DrawText","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawText extends DrawItemBase {\n type: 'text'\n /** Top-left corner */\n at: [number, number]\n text: string\n /** Font size */\n size: number\n}"},{"name":"DrawLayer","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawLayer {\n id: string\n name: string\n visible?: boolean\n locked?: boolean\n}"},{"name":"DrawPoint","import":"@m3ui-vue/m3ui-vue/draw","source":"// The Drawing family's data and geometry: strokes with pressure turned into filled outlines, shapes, text, hit tests,\n// the stroke-cutting eraser, moving and scaling, and SVG export. Pure functions, no Vue, so they work on the server\n// and in tests, and an app can render or process a drawing without the canvas.\n\n/** A point of a stroke: x, y, and the pressure (0–1) */\nexport type DrawPoint = [x: number, y: number, pressure: number]"},{"name":"DrawPen","import":"@m3ui-vue/m3ui-vue/draw","source":"export type DrawPen = 'pen' | 'brush' | 'marker' | 'highlighter'"},{"name":"DrawShapeKind","import":"@m3ui-vue/m3ui-vue/draw","source":"export type DrawShapeKind = 'line' | 'arrow' | 'rect' | 'ellipse'"},{"name":"DrawBox","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawBox { x: number; y: number; width: number; height: number }"},{"name":"DrawSvgOptions","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawSvgOptions {\n /** The area to export (default: the items' bounds plus `padding`) */\n box?: DrawBox\n padding?: number\n /** A background fill (default: none, transparent) */\n background?: string\n /** Only the items of this page */\n page?: number\n /** Leave out these layers (hidden ones, say) */\n hiddenLayers?: string[]\n /** The layers' order, bottom first (items of other layers go first) */\n layers?: string[]\n fontFamily?: string\n}"},{"name":"M3UIOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface M3UIOptions {\n palette?: PaletteId | (string & {})\n /**\n * Set to `false` to make `palette` a hard default that always wins on boot, ignoring\n * whatever is already stored in localStorage, and to stop future `useColorPalette().set()`\n * calls from persisting either. Palette switching still works live within the session\n * (`set()` still applies immediately) — only the \"remember it for next time\" part is disabled.\n * Defaults to `true`, matching prior behavior (`palette` only seeds the very first visit,\n * and any later choice persists and wins over it).\n */\n persistPalette?: boolean\n /**\n * Palettes of your own, added to `useColorPalette().palettes` so palette pickers built from\n * that list show them. An entry whose `id` matches a built-in palette replaces it. Each one\n * still needs its CSS: `[data-palette='<id>'] { --color-primary: ...; }` plus a\n * `[data-palette='<id>'].dark { ... }` block, overriding the same tokens as `palettes.css`.\n */\n customPalettes?: Palette[]\n /**\n * Generate the whole color scheme (light and dark) from one color instead of using a named palette: Google's\n * dynamic color, the way Android builds a theme from a wallpaper. `palette` wins when both are given, and like\n * `palette` it's only the first-visit default unless `persistPalette` is `false`.\n */\n seed?: string\n /** How `seed` becomes a scheme: `variant` (`'tonal-spot'` by default) and `contrast` (0 standard, 0.5 medium, 1 high). */\n seedOptions?: SeedOptions\n /**\n * M3's contrast level: `'standard'`, `'medium'`, `'high'`, or `'system'` (follows the OS's `prefers-contrast`).\n * Like `palette`, only the first-visit default unless `persistPalette` is `false`. Built-in palettes need\n * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.\n */\n contrast?: ContrastLevel\n locale?: MaybeRef<Partial<M3Locale>>\n /**\n * Keep `<meta name=\"theme-color\">` (the color phones give the browser bar and status bar) in sync with a color\n * role of the active palette, following palette, seed and dark mode changes. `'surface'` matches a top app\n * bar, as Material apps on Android do; any role name works (`'primary'`, `'surface-container'`…). Off by default:\n * when set, the library owns that meta (it's created if missing, and a light/dark `media` pair becomes one).\n * Note that Chrome and Samsung Internet on Android ignore it in a regular tab while the system is in dark\n * mode (they keep their own dark bar); installed apps (PWA) still get it.\n */\n themeColor?: 'surface' | 'surface-container' | 'primary' | (string & {})\n /**\n * Server-side rendering: tells the components whether the app is still hydrating the server's HTML (Nuxt's\n * `() => nuxtApp.isHydrating`, which `@m3ui-vue/nuxt` passes). The adaptive layouts (`MNavigationSuite`,\n * `MListDetail`, `MSupportingPane`) and `useWindowSizeClass()` then render their first frame at the server's size\n * (compact: it has no window) so it matches the HTML, and adapt once mounted.\n */\n isHydrating?: () => boolean\n /**\n * Also keep the theme, the palette and the contrast level in cookies (`m3-theme`, `m3-palette`, `m3-contrast`,\n * a year, `SameSite=Lax`), and the window's size (`m3-viewport`, `<width>x<height>`), so a server can read them\n * and render with the user's choice and for their screen through `initialState`.\n */\n cookies?: boolean\n /**\n * A prefix for every key the library stores in localStorage and cookies (`'admin'` → `admin-m3-theme`,\n * `admin-m3-palette`…), so apps served from the same origin under different paths (`example.com/admin`,\n * `example.com/shop`) each keep their own theme, palette, contrast and recent colors/emoji instead of sharing them.\n * Letters, digits, `-` and `_` (it's also part of the cookie names). Pass the same one to `themeInitScript()` and\n * `viewportFromHeaders()` when you use them.\n */\n storagePrefix?: string\n /**\n * Server-side rendering: the user's theme, palette and contrast as the server knows them (from the cookies that\n * `cookies` writes), on the server and on the client alike. `useTheme()` and `useColorPalette()` report them on\n * the server, and on the client while hydrating (with `isHydrating`), so what's rendered from them matches the\n * server's HTML. What's missing falls back to this plugin's defaults, like a first visit. With `viewport`, the\n * adaptive layouts (`MNavigationSuite`, `MListDetail`, `MSupportingPane`) and `useWindowSizeClass()` render for\n * that window size instead of compact.\n */\n initialState?: M3InitialState\n}"},{"name":"M3InitialState","import":"@m3ui-vue/m3ui-vue","source":"/** The user's theme choices as a server knows them (from cookies), for server-side rendering. */\nexport interface M3InitialState {\n theme?: Theme\n palette?: string\n contrast?: ContrastLevel\n /** The browser window's size: the adaptive layouts and `useWindowSizeClass()` render for it instead of compact. */\n viewport?: { width: number; height: number }\n}"},{"name":"Theme","import":"@m3ui-vue/m3ui-vue","source":"export type Theme = 'light' | 'dark' | 'system'"},{"name":"ConfettiOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ConfettiOptions {\n /** How many pieces (default 80; 160 for `from: 'top'`) */\n count?: number\n /** Shapes to pick from (MShape's names) */\n shapes?: ShapeName[]\n /** Any CSS colors. Default: the theme's primary, secondary and tertiary roles and their containers, read at the origin */\n colors?: string[]\n /** Burst from a point (default) or rain from the top of the screen */\n from?: 'point' | 'top'\n /** Burst angle in degrees, 0 = up (default 0) */\n angle?: number\n /** Cone the pieces leave in, in degrees (default 70) */\n spread?: number\n /** Launch speed in px/s (default 950) */\n velocity?: number\n /** Piece size in px (default 14) */\n size?: number\n /**\n * Keep it going for this long, in ms: a rain that keeps falling (`from: 'top'`) or a fountain from the point,\n * `count` then being pieces per second. `Infinity` runs until the returned `stop()`. Unset: one burst\n */\n duration?: number\n}"},{"name":"ConfettiOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** Where a burst starts: the pointer of an event, an element's center, or a point in viewport pixels */\nexport type ConfettiOrigin = EffectOrigin"},{"name":"StopConfetti","import":"@m3ui-vue/m3ui-vue","source":"/** Stops a running confetti before its `duration` ends; the pieces already out finish falling. */\nexport type StopConfetti = () => void"},{"name":"FireworkShape","import":"@m3ui-vue/m3ui-vue","source":"/** A burst's look: `'classic'`, or an MShape's name its sparks are laid out along. */\nexport type FireworkShape = 'classic' | ShapeName"},{"name":"FireworksOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface FireworksOptions {\n /** How many rockets (default 6, launched over about a second and a half); with `duration`, rockets per second */\n count?: number\n /**\n * What the bursts look like, one picked per burst: `'classic'` (sparks thrown out from the center that fall as they\n * fade) or an MShape's name the sparks are laid out along (`'Circle'` is a ring). Default: mostly classic, with a\n * ring, a heart, a flower… now and then\n */\n shapes?: FireworkShape[]\n /** Any CSS colors. Default: the theme's primary, secondary and tertiary roles and their containers */\n colors?: string[]\n /** Burst radius in px. Default: a sixth of the screen's smaller side, between 70 and 180 */\n size?: number\n /** Keep launching for this long, in ms (`count` then being rockets per second); `Infinity` runs until `stop()` */\n duration?: number\n}"},{"name":"StopFireworks","import":"@m3ui-vue/m3ui-vue","source":"/** Stops launching before `duration` ends; what's already in the air finishes. */\nexport type StopFireworks = () => void"},{"name":"ReactionContent","import":"@m3ui-vue/m3ui-vue","source":"/** What floats up: any text (an emoji, `'+1'`), or a Material Symbol (`{ icon: 'favorite' }`, filled by default). */\nexport type ReactionContent = string | { icon: string; filled?: boolean; color?: string }"},{"name":"ReactionOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ReactionOptions {\n /** How many float up together, a little apart (default 1) */\n count?: number\n /** Size in px (default 32) */\n size?: number\n /** How far it rises, in px (default 260) */\n distance?: number\n /** How long it floats, in ms (default 2200) */\n duration?: number\n /** How far it sways to each side, in px (default 20) */\n sway?: number\n}"},{"name":"ReactionOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** Where a reaction starts: the pointer of an event, an element's center, or a point in viewport pixels */\nexport type ReactionOrigin = EffectOrigin"},{"name":"ContainerTransformController","import":"@m3ui-vue/m3ui-vue","source":"/** The state MContainerTransform plays, shared between the elements that open it and the panel they open */\nexport interface ContainerTransformController<T = unknown> {\n /** Whether the expanded view is open (or opening) */\n isOpen: Ref<boolean>\n /** What `open` was given, for the expanded view to show */\n item: Ref<T | undefined>\n /** The element it grows from and shrinks back into */\n source: ShallowRef<HTMLElement | null>\n /** Opens from `origin` (a click's element, an element or a component), with an optional `item` */\n open: (origin?: ContainerTransformOrigin, item?: T) => void\n /** Shrinks the expanded view back into the element it opened from */\n close: () => void\n}"},{"name":"ContainerTransformOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** What a container transform opens from: a click (its element), an element, or a component */\nexport type ContainerTransformOrigin = Event | Element | ComponentPublicInstance | null | undefined"},{"name":"Palette","import":"@m3ui-vue/m3ui-vue","source":"export interface Palette {\n id: string\n label: string\n /**\n * The palette's key color. A custom palette (`createM3UI({ customPalettes })`) with no CSS of its own gets its\n * scheme generated from it; one with `[data-palette='<id>']` rules keeps them.\n */\n seed: string\n}"},{"name":"PaletteId","import":"@m3ui-vue/m3ui-vue","source":"/** The id of a palette that ships with the library (`palettes.css`, plus the `purple` baseline). */\nexport type PaletteId = (typeof builtInPalettes)[number]['id']"},{"name":"ActiveSeed","import":"@m3ui-vue/m3ui-vue","source":"export interface ActiveSeed extends SeedOptions {\n seed: string\n}"},{"name":"ContrastLevel","import":"@m3ui-vue/m3ui-vue","source":"// ── Contrast ─────────────────────────────────────────────────────────────────────────────────────\n/**\n * M3's contrast levels. `system` follows the OS (`prefers-contrast: more` → high). Built-in palettes need\n * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.\n */\nexport type ContrastLevel = 'standard' | 'medium' | 'high' | 'system'"},{"name":"ThemeInitOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ThemeInitOptions {\n /** `createM3UI`'s `palette`: the first-visit default, or forced with `persistPalette: false`. */\n palette?: PaletteId | (string & {})\n /** `createM3UI`'s `contrast`, with the same rules as `palette`. */\n contrast?: ContrastLevel\n /** `createM3UI`'s `persistPalette`. */\n persistPalette?: boolean\n /** `createM3UI`'s `storagePrefix`. */\n storagePrefix?: string\n}"},{"name":"RequestHeaders","import":"@m3ui-vue/m3ui-vue","source":"/** A request's headers as server frameworks hand them over: a `Headers`, or a plain object (Node's, h3's). */\nexport type RequestHeaders = Headers | Record<string, string | string[] | undefined>"},{"name":"ViewportSize","import":"@m3ui-vue/m3ui-vue","source":"/** A window size, for `createM3UI({ initialState: { viewport } })` */\nexport interface ViewportSize {\n width: number\n height: number\n}"},{"name":"SchemeVariant","import":"@m3ui-vue/m3ui-vue","source":"// Dynamic color: a full M3 color scheme (light and dark) generated from one seed color with Google's\n// material-color-utilities (HCT, DynamicScheme). The package is loaded with a dynamic import, so apps that\n// never use a seed don't download it; it's bundled into the library (its 0.4.0 ESM build has an extensionless\n// import that Node can't resolve, which would break SSR and tests if it were left external).\n\nexport type SchemeVariant =\n | 'tonal-spot'\n | 'expressive'\n | 'vibrant'\n | 'fidelity'\n | 'content'\n | 'neutral'\n | 'monochrome'\n | 'rainbow'\n | 'fruit-salad'"},{"name":"SeedOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface SeedOptions {\n /** How the seed spreads into the scheme. `tonal-spot` is Android's default (calm, seed-led). */\n variant?: SchemeVariant\n /** Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced). */\n contrast?: number\n}"},{"name":"GeneratedScheme","import":"@m3ui-vue/m3ui-vue","source":"/** Token name (as in `--color-<name>`) → hex, for each scheme. */\nexport interface GeneratedScheme {\n light: Record<string, string>\n dark: Record<string, string>\n}"},{"name":"Toast","import":"@m3ui-vue/m3ui-vue","source":"export interface Toast {\n id: number\n message: string\n variant: ToastVariant\n duration: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null // null = suppress icon entirely\n color?: string\n count: number // ≥ 2 → show badge\n}"},{"name":"ToastVariant","import":"@m3ui-vue/m3ui-vue","source":"export type ToastVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"ToastPosition","import":"@m3ui-vue/m3ui-vue","source":"export type ToastPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"ToastAction","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastAction { label: string; onClick: () => void }"},{"name":"ToastOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastOptions {\n duration?: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null\n color?: string\n}"},{"name":"M3Locale","import":"@m3ui-vue/m3ui-vue","source":"export interface M3Locale {\n /** BCP-47 language tag (e.g. 'en', 'es', 'pt') — read by locale-aware components (MRelativeTime) that use Intl formatting. */\n lang: string\n\n // Common\n search: string\n noResults: string\n close: string\n cancel: string\n confirm: string\n loading: string\n menu: string\n\n // Navigation\n previous: string\n next: string\n today: string\n more: string\n\n // Tables\n selectedCount: string\n recordCount: string\n expand: string\n /** Collapses an expanded item (the opposite of `expand`) */\n collapse: string\n /** Clears a field's value (the × at its end) */\n clear: string\n columns: string\n exportCsv: string\n noGroup: string\n\n // Tour\n finish: string\n\n // File upload\n dropText: string\n selectText: string\n maxSizePrefix: string\n remove: string\n\n // Pickers\n selectDate: string\n ok: string\n dateToggleInput: string\n dateToggleCalendar: string\n dateInputLabel: string\n selectTime: string\n timeHourSelection: string\n timeMinuteSelection: string\n timePeriodToggle: string\n timeToggleKeyboard: string\n timeToggleDial: string\n timeToggleScroll: string\n sheetExpand: string\n sheetCollapse: string\n sheetDismiss: string\n seekBar: string\n seekBarValue: string\n seekBarShowRemaining: string\n seekBarShowDuration: string\n selectRange: string\n pickStart: string\n pickEnd: string\n previousMonth: string\n nextMonth: string\n\n // Color picker\n selectColor: string\n colorHue: string\n colorSaturation: string\n colorBrightness: string\n colorAlpha: string\n colorEyedropper: string\n colorOriginal: string\n colorFormat: string\n colorRecent: string\n colorPresets: string\n\n // Scheduler\n dayView: string\n weekView: string\n allDay: string\n emojiSearch: string\n emojiNoResults: string\n emojiRecent: string\n emojiSkinTone: string\n emojiSkinTones: string\n emojiCategorySmileys: string\n emojiCategoryGestures: string\n emojiCategoryPeople: string\n emojiCategoryAnimals: string\n emojiCategoryNature: string\n emojiCategoryFood: string\n emojiCategoryActivities: string\n emojiCategoryTravel: string\n emojiCategoryObjects: string\n emojiCategorySymbols: string\n emojiCategoryFlags: string\n\n // Transfer list\n available: string\n selected: string\n noItems: string\n moveAllRight: string\n moveRight: string\n moveLeft: string\n moveAllLeft: string\n\n // Command palette / Spotlight\n searchCommand: string\n navigateHint: string\n selectHint: string\n openHint: string\n closeHint: string\n\n // Infinite scroll\n loadingMore: string\n noMoreItems: string\n\n // Rich text editor\n bold: string\n italic: string\n underline: string\n strikethrough: string\n highlight: string\n bulletList: string\n orderedList: string\n blockquote: string\n code: string\n alignLeft: string\n alignCenter: string\n alignRight: string\n undo: string\n redo: string\n link: string\n image: string\n paragraph: string\n heading1: string\n heading2: string\n heading3: string\n insertLink: string\n insertImage: string\n imageUrlLabel: string\n insert: string\n\n // JSON editor\n jsonValid: string\n jsonInvalid: string\n jsonFormat: string\n jsonMinify: string\n\n // JSON viewer\n jsonElements: string\n jsonFields: string\n\n // Result\n resultSuccessTitle: string\n resultSuccessDesc: string\n resultErrorTitle: string\n resultErrorDesc: string\n resultWarningTitle: string\n resultWarningDesc: string\n resultInfoTitle: string\n resultInfoDesc: string\n result404Title: string\n result404Desc: string\n result403Title: string\n result403Desc: string\n result500Title: string\n result500Desc: string\n\n // Chat bubble\n chatTyping: string\n chatRecordingAudio: string\n\n // Drag & drop list ({pos}/{total} are replaced at runtime)\n reorderHandle: string\n reorderGrabbed: string\n reorderMoved: string\n reorderDropped: string\n reorderCancelled: string\n\n // Transfer list (panes)\n selectAll: string\n clearSearch: string\n\n // Kanban ({column}/{pos}/{total} are replaced at runtime)\n kanbanMoved: string\n // MWindow title bar buttons\n windowMinimize: string\n windowMaximize: string\n windowRestore: string\n // MPagination ({from}/{to}/{total} and {page}/{pages} are replaced at runtime)\n paginationRange: string\n paginationPage: string\n previousPage: string\n nextPage: string\n carousel: string\n carouselItem: string\n /** MSparkline's summary for screen readers: {first}, {last}, {min}, {max} */\n sparklineSummary: string\n /** MSlider range: its two thumbs */\n sliderRangeStart: string\n sliderRangeEnd: string\n // MMap (maplibre controls)\n mapTitle: string\n mapMarker: string\n mapZoomIn: string\n mapZoomOut: string\n mapResetBearing: string\n mapFindMyLocation: string\n mapLocationNotAvailable: string\n mapEnterFullscreen: string\n mapExitFullscreen: string\n mapToggleAttribution: string\n mapFeedback: string\n mapCtrlScroll: string\n mapCmdScroll: string\n mapTwoFingers: string\n mapLayers: string\n mapSearchLayers: string\n mapNoLayers: string\n mapShowLayer: string\n mapHideLayer: string\n mapOpacity: string\n mapDownload: string\n mapNoBaseLayer: string\n mapHoverInfo: string\n mapNoValue: string\n mapMeasureDistance: string\n mapMeasureArea: string\n mapClearMeasurements: string\n mapDeleteMeasurement: string\n mapTotal: string\n mapSearchPlaces: string\n /** MTimeline's button past `limit`; `{count}` is how many entries are hidden */\n timelineShowMore: string\n timelineShowLess: string\n // Media players (MVideoPlayer, MAudioPlayer); `{seconds}` is the skip length\n mediaPlayer: string\n mediaPlay: string\n mediaPause: string\n mediaReplay: string\n mediaSeekBack: string\n mediaSeekForward: string\n mediaSeconds: string\n mediaMute: string\n mediaUnmute: string\n mediaVolume: string\n mediaFullscreen: string\n mediaExitFullscreen: string\n mediaPictureInPicture: string\n mediaSettings: string\n mediaSpeed: string\n mediaSpeedNormal: string\n mediaSubtitles: string\n mediaSubtitlesOff: string\n mediaQuality: string\n mediaQualityAuto: string\n mediaLive: string\n mediaError: string\n mediaRepeat: string\n mediaRepeatOne: string\n mediaShuffle: string\n // MPdfViewer; `{current}`/`{total}` count search matches\n pdfViewer: string\n pdfThumbnails: string\n pdfOutline: string\n pdfPage: string\n pdfZoom: string\n pdfZoomIn: string\n pdfZoomOut: string\n pdfFitWidth: string\n pdfFitPage: string\n pdfSearch: string\n pdfSearchPrevious: string\n pdfSearchNext: string\n pdfMatchCount: string\n pdfNoMatches: string\n pdfMore: string\n pdfRotate: string\n pdfDownload: string\n pdfPrint: string\n pdfFullscreen: string\n pdfExitFullscreen: string\n pdfPassword: string\n pdfPasswordLabel: string\n pdfWrongPassword: string\n pdfOpen: string\n pdfError: string\n pdfLoading: string\n pdfAnnotate: string\n pdfSelect: string\n pdfHighlight: string\n pdfNote: string\n pdfDraw: string\n pdfEraser: string\n pdfInkWidth: string\n pdfColor: string\n pdfUndo: string\n pdfCopy: string\n pdfDelete: string\n pdfNotePlaceholder: string\n pdfAddComment: string\n flowCanvas: string\n flowNode: string\n flowEdge: string\n flowZoomIn: string\n flowZoomOut: string\n flowFitView: string\n flowLock: string\n flowUnlock: string\n flowUndo: string\n flowRedo: string\n flowMinimap: string\n flowMoved: string\n flowConnected: string\n flowDeleted: string\n flowDeleteEdge: string\n flowDelete: string\n ganttChart: string\n ganttTask: string\n ganttStart: string\n ganttEnd: string\n ganttDuration: string\n ganttProgress: string\n ganttDays: string\n ganttHours: string\n ganttMilestone: string\n ganttQuarter: string\n ganttToday: string\n ganttZoomIn: string\n ganttZoomOut: string\n ganttExpandAll: string\n ganttCollapseAll: string\n ganttExpand: string\n ganttCollapse: string\n ganttUndo: string\n ganttRedo: string\n ganttScaleHour: string\n ganttScaleDay: string\n ganttScaleWeek: string\n ganttScaleMonth: string\n ganttScaleQuarter: string\n ganttScaleYear: string\n ganttMoved: string\n ganttProgressSet: string\n ganttLinked: string\n ganttUnlink: string\n ganttDeleted: string\n ganttDelete: string\n ganttReordered: string\n ganttSlack: string\n ganttCritical: string\n ganttBaseline: string\n ganttEmpty: string\n ganttResize: string\n timelineResource: string\n timelineConflict: string\n timelineMoved: string\n timelineEmpty: string\n cropArea: string\n cropRotateLeft: string\n cropRotateRight: string\n cropFlip: string\n cropReset: string\n cropFree: string\n drawCanvas: string\n drawTools: string\n drawMore: string\n drawSelect: string\n drawPan: string\n drawPen: string\n drawBrush: string\n drawMarker: string\n drawHighlighter: string\n drawEraser: string\n drawStrokeEraser: string\n drawLine: string\n drawArrow: string\n drawRect: string\n drawEllipse: string\n drawText: string\n drawFill: string\n drawColor: string\n floorPlan: string\n floorSeats: string\n floorRotate: string\n floorTools: string\n floorMove: string\n floorDrawWall: string\n floorDrawZone: string\n floorAddTable: string\n floorAddDecor: string\n floorDuplicate: string\n floorDelete: string\n floorUndo: string\n floorRedo: string\n floorLabel: string\n floorSeatsField: string\n floorShape: string\n floorRound: string\n floorSquare: string\n floorLong: string\n floorAngle: string\n /** A door's button: hinge it on the other side */\n floorFlip: string\n floorZoomIn: string\n floorZoomOut: string\n floorZoomFit: string\n floorOverlaps: string\n floorSeatN: string\n floorDrawShape: string\n floorShapeHint: string\n floorColor: string\n floorThickness: string\n floorWidth: string\n floorHeight: string\n floorMerge: string\n floorSplit: string\n floorNothingPicked: string\n floorTablesPicked: string\n floorTableN: string\n floorZone: string\n floorWall: string\n floorDeleteCorner: string\n floorFinishWall: string\n floorCancel: string\n floorDecorDoor: string\n floorDecorWindow: string\n floorDecorPlant: string\n floorDecorColumn: string\n floorDecorRestroom: string\n floorDecorKitchen: string\n floorDecorRegister: string\n floorDecorStairs: string\n floorDecorLabel: string\n drawCustomColor: string\n drawSize: string\n drawUndo: string\n drawRedo: string\n drawDelete: string\n drawLayers: string\n drawLayer: string\n drawLayerName: string\n drawAddLayer: string\n drawDeleteLayer: string\n drawShowLayer: string\n drawHideLayer: string\n drawLockLayer: string\n drawUnlockLayer: string\n drawLayerUp: string\n drawLayerDown: string\n}"},{"name":"AutoGrowOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface AutoGrowOptions {\n /** Fewest rows it shrinks to (default 1) */\n minRows?: MaybeRefOrGetter<number | undefined>\n /** Most rows it grows to; past them it scrolls. Unset grows without limit */\n maxRows?: MaybeRefOrGetter<number | undefined>\n /**\n * The text, when it can change without typing (cleared after sending, an emoji inserted…): a ref or getter, so the\n * height follows. Typing is followed on its own\n */\n value?: WatchSource<unknown>\n}"},{"name":"ThemeTokensOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ThemeTokensOptions {\n /**\n * Updates every animation frame while the theme switch's colors fade, so a canvas redrawn on change fades with\n * the page instead of jumping to the new colors. Off by default: what animates color changes itself (Chart.js,\n * MChart, maps) only needs the final values, and would otherwise redraw ~15 times per switch.\n */\n live?: boolean\n}"},{"name":"ScrollRevealOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ScrollRevealOptions {\n /** How it enters (default `'fade-up'`) */\n effect?: RevealEffect\n /** Distance in px for the slide effects (default 24) */\n distance?: number\n /** Delay in ms before it starts (default 0) */\n delay?: number\n /** Extra delay in ms for each next element revealed at the same time, so a list cascades in (default 60) */\n stagger?: number\n /** Reveal only the first time (default `true`); with `false` it hides again once it leaves the screen */\n once?: boolean\n /** How much of the element has to be visible, 0 to 1 (default 0.15) */\n threshold?: number\n /** Grows or shrinks the area that counts as visible, like IntersectionObserver's `rootMargin` (default `'0px'`) */\n rootMargin?: string\n /** Motion scheme of the springs: `'standard'` (default) or `'expressive'` (a little bounce) */\n scheme?: 'standard' | 'expressive'\n /** Pace: M3's fast, default or slow springs (default `'default'`); slow suits large, calm entrances */\n speed?: 'fast' | 'default' | 'slow'\n}"},{"name":"RevealEffect","import":"@m3ui-vue/m3ui-vue","source":"/** How an element enters: from below, from a side, growing, or only fading. */\nexport type RevealEffect = 'fade-up' | 'fade' | 'scale' | 'slide-left' | 'slide-right'"},{"name":"WidthSizeClass","import":"@m3ui-vue/m3ui-vue","source":"/*\n * M3 window size classes, with the breakpoints from androidx `WindowSizeClass`\n * (window-core: WIDTH_DP_MEDIUM_LOWER_BOUND 600, EXPANDED 840, LARGE 1200, EXTRA_LARGE 1600;\n * HEIGHT_DP_MEDIUM_LOWER_BOUND 480, EXPANDED 900). CSS px stand in for dp.\n */\nexport type WidthSizeClass = 'compact' | 'medium' | 'expanded' | 'large' | 'extra-large'"},{"name":"HeightSizeClass","import":"@m3ui-vue/m3ui-vue","source":"export type HeightSizeClass = 'compact' | 'medium' | 'expanded'"},{"name":"WindowSizeClassInfo","import":"@m3ui-vue/m3ui-vue","source":"export interface WindowSizeClassInfo {\n width: Ref<number>\n height: Ref<number>\n widthClass: Ref<WidthSizeClass>\n heightClass: Ref<HeightSizeClass>\n}"},{"name":"Notification","import":"@m3ui-vue/m3ui-vue","source":"export interface Notification {\n id: number\n message: string\n variant: NotificationVariant\n duration: number\n loading?: boolean\n icon?: string | null // null = suppress icon entirely\n closable?: boolean\n action?: NotificationAction\n count: number // ≥ 2 → show badge\n}"},{"name":"NotificationVariant","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"NotificationPosition","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"NotificationOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface NotificationOptions {\n duration?: number\n loading?: boolean\n icon?: string | null\n closable?: boolean\n action?: NotificationAction\n}"},{"name":"SpringSpec","import":"@m3ui-vue/m3ui-vue","source":"// Material 3's motion tokens for your own animations, from androidx's MotionTokens, StandardMotionTokens and\n// ExpressiveMotionTokens. The same easings and durations are CSS variables in theme.css (`--ease-*`, which\n// Tailwind turns into `ease-*` utilities, and `--duration-*`); the springs only make sense in JS, with\n// `useSpring` (exported next to these) or your own loop. No imports here: _useSpring builds on this file.\n\n/** A spring: dampingRatio 1 settles without overshoot, lower bounces; higher stiffness is faster */\nexport interface SpringSpec { dampingRatio: number; stiffness: number }"},{"name":"RippleOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-ripple`. */\nexport interface RippleOptions {\n /** No ripple while true (e.g. bound to the element's disabled state). */\n disabled?: boolean\n /** Any CSS color for the ripple; defaults to the element's text color (`currentColor`). */\n color?: string\n}"},{"name":"RippleValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-ripple` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type RippleValue = boolean | string | RippleOptions | null | undefined"},{"name":"RevealValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-reveal` value: nothing or `true` (fade up), `false` (off), an effect name, or options. */\nexport type RevealValue = boolean | RevealEffect | ScrollRevealOptions | null | undefined"},{"name":"StateLayerOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-state-layer`. */\nexport interface StateLayerOptions {\n /** No state layer while true (e.g. bound to the element's disabled state). `disabled` / `aria-disabled=\"true\"` hosts get none either way. */\n disabled?: boolean\n /** Any CSS color for the layer; defaults to the element's text color (`currentColor`). */\n color?: string\n /** Holds the dragged state (16%) while true, e.g. while the element is being dragged. */\n dragged?: boolean\n}"},{"name":"StateLayerValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-state-layer` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type StateLayerValue = boolean | string | StateLayerOptions | null | undefined"},{"name":"TooltipOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-tooltip`. */\nexport interface TooltipOptions {\n /** The tooltip's text; nothing shows while it's empty. */\n text?: string\n /** Side of the element it shows on (default `'top'`); it stays inside the window. */\n placement?: TooltipPlacement\n /** Delay before it shows on hover or keyboard focus, in ms (default 600, like MTooltip). */\n delay?: number\n /** Never shows while true. */\n disabled?: boolean\n}"},{"name":"TooltipValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-tooltip` value: the text, or an options object. */\nexport type TooltipValue = string | TooltipOptions | null | undefined"},{"name":"FocusRingOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-focus-ring`. */\nexport interface FocusRingOptions {\n /** No ring while true. */\n disabled?: boolean\n /** Any CSS color or token for the ring; defaults to `var(--color-secondary)`, as M3's focus indicator. */\n color?: string\n /** Draws the ring inside the element's edge instead of 2px outside it, for elements clipped by a parent. */\n inset?: boolean\n /** Also shows while an element inside it has keyboard focus (a card holding a link or a field). */\n within?: boolean\n}"},{"name":"FocusRingValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-focus-ring` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type FocusRingValue = boolean | string | FocusRingOptions | null | undefined"},{"name":"ScrollElevationOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-scroll-elevation`. */\nexport interface ScrollElevationOptions {\n /**\n * What scrolls: an element, a CSS selector for it, or the window (when left out). A template ref that's still\n * empty (`target: list` before the list mounts) waits for it instead of following the window.\n */\n target?: HTMLElement | Window | string | null\n /** How far (px) the content has to scroll before the element counts as scrolled (default 0: any scroll). */\n threshold?: number\n /**\n * The background while scrolled, any CSS color or token; default `var(--color-surface-container)`, M3's\n * scrolled container color for a top app bar. `false` changes no color: style `[data-scrolled]` yourself.\n */\n color?: string | false\n /** Called when the scrolled state changes. */\n onChange?: (scrolled: boolean) => void\n /** Stops following the scroll while true (and clears the scrolled state). */\n disabled?: boolean\n}"},{"name":"ScrollElevationValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-scroll-elevation` value: nothing or `true` (the window), `false` (off), a selector, or an options object. */\nexport type ScrollElevationValue = boolean | string | ScrollElevationOptions | null | undefined"},{"name":"LongPressOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-long-press`. */\nexport interface LongPressOptions {\n /** Called once the press has been held for `duration`, with the pointerdown that started it. */\n handler?: (event: PointerEvent) => void\n /** How long to hold, in ms (default 500, as MTooltip's long press). */\n duration?: number\n /** How far (px) the pointer may move before it's a scroll or a drag, not a press (default 10). */\n tolerance?: number\n /** A short vibration when it fires, where the device supports it (default true). */\n haptic?: boolean\n /** Also with a mouse (default true); false leaves the mouse alone, for touch and pen only. */\n mouse?: boolean\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"LongPressValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-long-press` value: the handler, or an options object. */\nexport type LongPressValue = ((event: PointerEvent) => void) | LongPressOptions | null | undefined"},{"name":"SwipeDirection","import":"@m3ui-vue/m3ui-vue","source":"export type SwipeDirection = 'left' | 'right' | 'up' | 'down'"},{"name":"SwipeInfo","import":"@m3ui-vue/m3ui-vue","source":"/** What a swipe handler gets. */\nexport interface SwipeInfo {\n direction: SwipeDirection\n /** Distance from where the press started, px (x grows rightwards, y downwards). */\n dx: number\n dy: number\n /** Speed along the swipe's axis when the finger lifted, px/ms. */\n velocity: number\n /** The pointerup that ended it. */\n event: PointerEvent\n}"},{"name":"SwipeOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-swipe`. */\nexport interface SwipeOptions {\n left?: (info: SwipeInfo) => void\n right?: (info: SwipeInfo) => void\n up?: (info: SwipeInfo) => void\n down?: (info: SwipeInfo) => void\n /** Called for a swipe in any direction that has no handler of its own. Listens on both axes. */\n handler?: (info: SwipeInfo) => void\n /** How far (px) the finger has to travel for a slow swipe to count (default 50). */\n threshold?: number\n /** A swipe at least this fast (px/ms) counts whatever its length (default 0.5, a flick). */\n velocity?: number\n /** Called while the finger moves along a listened axis, for feedback (follow the finger, fade a hint). */\n onMove?: (dx: number, dy: number, event: PointerEvent) => void\n /** Called when the press ends, swiped or not (spring a moved element back). */\n onEnd?: (swiped: boolean) => void\n /** Also with a mouse drag (default false: swipes are for touch and pen). */\n mouse?: boolean\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"SwipeValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-swipe` value: a handler for any direction, or an options object. */\nexport type SwipeValue = ((info: SwipeInfo) => void) | SwipeOptions | null | undefined"},{"name":"ClickOutsideOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-click-outside`. */\nexport interface ClickOutsideOptions {\n /** Called with the event that landed outside the element. */\n handler?: (event: PointerEvent | MouseEvent) => void\n /**\n * Elements that count as inside too: elements or CSS selectors (the button that toggles a panel, or a panel's\n * own popup teleported to `<body>`).\n */\n exclude?: Array<HTMLElement | string | null | undefined>\n /** `'pointerdown'` (default) reacts as the press starts, like menus; `'click'` once it ends, so a drag out doesn't count. */\n event?: 'pointerdown' | 'click'\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"ClickOutsideValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-click-outside` value: the handler, or an options object. */\nexport type ClickOutsideValue = ((event: PointerEvent | MouseEvent) => void) | ClickOutsideOptions | null | undefined"},{"name":"SkeletonOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-skeleton`. */\nexport interface SkeletonOptions {\n /** Shows the placeholder while true. */\n loading?: boolean\n /** MSkeleton's animations (default `'pulse'`). */\n animation?: 'pulse' | 'wave' | 'none'\n}"},{"name":"SkeletonValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-skeleton` value: whether it's loading, or an options object. */\nexport type SkeletonValue = boolean | SkeletonOptions | null | undefined"},{"name":"SparkleOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-sparkle`. */\nexport interface SparkleOptions {\n /** No sparkles while true */\n disabled?: boolean\n /** `'always'` (default) sparkles all the time; `'hover'` only while the pointer is over it or focus is in it */\n trigger?: 'always' | 'hover'\n /** Any CSS colors, one picked per sparkle. Default: the theme's primary and tertiary where the element is */\n color?: string | string[]\n /** Sparkle size in px, each one a bit bigger or smaller (default 14) */\n size?: number\n /** Sparkles per second (default 3) */\n rate?: number\n /** MShape's shapes instead of the four-pointed star */\n shapes?: ShapeName[]\n}"},{"name":"SparkleValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-sparkle` value: nothing or `true` (on), `false` (off), `'hover'`, a CSS color, or an options object. */\nexport type SparkleValue = boolean | string | SparkleOptions | null | undefined"},{"name":"FloorPlanContext","import":"@m3ui-vue/m3ui-vue","source":"/**\n * An MFloorPlan's state and actions. MFloorPlanToolbar and MFloorPlanInspector are built on it, and so can controls\n * of your own: inside the plan's slots with `useFloorPlan()`, or anywhere from its template ref (`plan.context`).\n * Every edit made through it is a step of the plan's undo history.\n */\nexport interface FloorPlanContext {\n tables: Ref<FloorTable[]>\n areas: Ref<FloorArea[]>\n walls: Ref<FloorWall[]>\n decor: Ref<FloorDecor[]>\n merges: Ref<FloorMerge[]>\n selection: Ref<(string | number)[]>\n picked: Ref<FloorPick>\n tool: Ref<FloorTool>\n editable: ComputedRef<boolean>\n /** A wall (tool `wall`) or a zone of any shape (tool `polygon`) is being drawn: finish it (also double-click / Enter) or cancel it (Escape) */\n drawingWall: ComputedRef<boolean>\n finishWall(): void\n cancelWall(): void\n /** A table's size in plan units (its own, or the default for its shape and seats) */\n tableSize(table: FloorTable): { w: number; h: number }\n /** The plan's real lengths (`measure`), if it has them */\n measure: ComputedRef<FloorMeasure | undefined>\n /** The decor kinds: built-in ones merged with `decorKinds` */\n kinds: ComputedRef<Record<string, FloorDecorKind>>\n statuses: ComputedRef<Record<string, FloorStatus>>\n /** The plan's size in plan units */\n size: ComputedRef<{ width: number; height: number }>\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n undo(): void\n redo(): void\n /** Adds a table (at the plan's middle unless placed; numbered after the highest numbered one) and selects it */\n addTable(table?: Partial<FloorTable>): FloorTable\n /** Adds a decor item of a kind and picks it */\n addDecor(kind: string, item?: Partial<FloorDecor>): FloorDecor\n /** Changes one item (consecutive changes to the same item within a moment are one undo step) */\n update(kind: 'table', id: string | number, patch: Partial<FloorTable>): void\n update(kind: 'area', id: string | number, patch: Partial<FloorArea>): void\n update(kind: 'wall', id: string | number, patch: Partial<FloorWall>): void\n update(kind: 'decor', id: string | number, patch: Partial<FloorDecor>): void\n /** Removes what's picked (a wall's picked corner, or the whole item), or else the selected tables */\n removeSelected(): void\n removeTables(ids: (string | number)[]): void\n /** Copies the selected tables, or the picked zone or decor */\n duplicate(): void\n merge(ids?: (string | number)[], label?: string): FloorMerge | null\n split(idOrTable: string | number): void\n}"},{"name":"FloorTool","import":"@m3ui-vue/m3ui-vue","source":"export type FloorTool = 'select' | 'wall' | 'area' | 'polygon'"},{"name":"FloorItemKind","import":"@m3ui-vue/m3ui-vue","source":"export type FloorItemKind = 'table' | 'area' | 'wall' | 'decor'"},{"name":"EmojiCategory","import":"@m3ui-vue/m3ui-vue","source":"// Generated by scripts/generate-emoji-data.mjs from Unicode emoji-test.txt (Emoji 15). Don't edit by hand.\n// Emoji data © Unicode, Inc., under the Unicode License v3 (dist/THIRD_PARTY_LICENSES.md, scripts/licenses/unicode-license-v3.txt).\n\nexport interface EmojiCategory {\n id: string\n /** English name; MEmojiSelector shows the locale's (emojiCategory* keys). */\n label: string\n icon: string\n emojis: string[]\n}"}],"theme":{"colors":["primary","on-primary","primary-container","on-primary-container","secondary","on-secondary","secondary-container","on-secondary-container","tertiary","on-tertiary","tertiary-container","on-tertiary-container","primary-fixed","primary-fixed-dim","on-primary-fixed","on-primary-fixed-variant","secondary-fixed","secondary-fixed-dim","on-secondary-fixed","on-secondary-fixed-variant","tertiary-fixed","tertiary-fixed-dim","on-tertiary-fixed","on-tertiary-fixed-variant","error","on-error","error-container","on-error-container","success","on-success","success-container","on-success-container","background","on-background","surface","on-surface","surface-variant","on-surface-variant","surface-dim","surface-bright","surface-container-lowest","surface-container-low","surface-container","surface-container-high","surface-container-highest","outline","outline-variant","shadow","scrim","inverse-surface","inverse-on-surface","inverse-primary"],"text":["display-large","display-medium","display-small","headline-large","headline-medium","headline-small","title-large","title-medium","title-small","body-large","body-medium","body-small","label-large","label-medium","label-small","display-large-emphasized","display-medium-emphasized","display-small-emphasized","headline-large-emphasized","headline-medium-emphasized","headline-small-emphasized","title-large-emphasized","title-medium-emphasized","title-small-emphasized","body-large-emphasized","body-medium-emphasized","body-small-emphasized","label-large-emphasized","label-medium-emphasized","label-small-emphasized"],"radius":["xs","sm","md","lg","xl","lg-increased","xl-increased","xxl"],"shadow":["elevation-1","elevation-2","elevation-3","elevation-4","elevation-5"],"ease":["emphasized","emphasized-decelerate","emphasized-accelerate","standard","standard-decelerate","standard-accelerate","legacy","legacy-decelerate","legacy-accelerate"],"duration":["short-1","short-2","short-3","short-4","medium-1","medium-2","medium-3","medium-4","long-1","long-2","long-3","long-4","extra-long-1","extra-long-2","extra-long-3","extra-long-4"],"utilities":["scrollbar-none"],"palettes":["purple","indigo","navy","blue","cyan","teal","green","lime","olive","amber","sand","orange","deep-orange","brown","red","coral","crimson","pink","violet","slate","graphite","charcoal","steel","ash","iron","fog","pewter","smoke","stone","zinc","monochrome","rust","gold","emerald","turquoise","cobalt","sapphire","amethyst","magenta","mauve"]},"locale":{"keys":["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"],"presets":["esLocale","frLocale","ptLocale","deLocale","jaLocale","zhLocale","koLocale"]}}
|
|
1
|
+
{"name":"@m3ui-vue/m3ui-vue","version":"1.3.8","entries":["@m3ui-vue/m3ui-vue/chart","@m3ui-vue/m3ui-vue/code-editor","@m3ui-vue/m3ui-vue/markdown","@m3ui-vue/m3ui-vue/rich-text-editor","@m3ui-vue/m3ui-vue/terminal","@m3ui-vue/m3ui-vue/qrcode","@m3ui-vue/m3ui-vue/barcode","@m3ui-vue/m3ui-vue/map","@m3ui-vue/m3ui-vue/media","@m3ui-vue/m3ui-vue/pdf","@m3ui-vue/m3ui-vue/flow","@m3ui-vue/m3ui-vue/gantt","@m3ui-vue/m3ui-vue/draw","@m3ui-vue/m3ui-vue"],"components":[{"name":"MAbsolute","import":"@m3ui-vue/m3ui-vue","description":"Declarative absolute positioning without Tailwind classes. Supports manual offsets, placement shortcuts, and per-axis control. Pair it with `MRelative` as the positioning parent.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px). Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset. Defaults to 8px when neither placement nor any of top/right/bottom/left is set","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":null,"description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Placement","source":"export type Placement =\n | 'top-left' | 'top-center' | 'top-right'\n | 'center-left' | 'center' | 'center-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"}]},{"name":"MAlert","import":"@m3ui-vue/m3ui-vue","description":"An inline banner for contextual status messages — info, success, warning, or error.","props":[{"name":"type","type":"\"info\" | \"success\" | \"warning\" | \"error\"","required":false,"default":"\"info\"","description":"Alert variant and color","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Bold title text","model":false},{"name":"closeable","type":"boolean","required":false,"default":"false","description":"Show close button","model":false},{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Aria label for the close button (falls back to the locale string)","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked. The parent owns visibility — pair with v-if/v-else to actually hide the alert."}],"slots":[{"name":"default","bindings":null,"description":"Alert body content"},{"name":"actions","bindings":null,"description":"Optional row of action buttons rendered below the body"}],"exposed":[],"types":[]},{"name":"MAnimatedNumber","import":"@m3ui-vue/m3ui-vue","description":"A number, time or duration whose digits roll to their new value on a spring when it changes, like an odometer: each digit rolls on its own (up when the value grows, down when it shrinks) and digits that appear or go away open and close. Numbers are formatted with `Intl.NumberFormat` (currency, percent, units, compact), times with `Intl.DateTimeFormat`, both in the app's language; durations as `h:mm:ss`. Tabular figures. Assistive technology reads the formatted value, not the rolling digits. Not an M3 spec component.","props":[{"name":"value","type":"number | Date","required":true,"default":null,"description":"The value: a number, a `Date` for times, or seconds for a duration","model":false},{"name":"type","type":"\"number\" | \"datetime\" | \"duration\"","required":false,"default":null,"description":"`number` (Intl.NumberFormat), `datetime` (Intl.DateTimeFormat; a `Date` or a timestamp) or `duration` (seconds as `h:mm:ss`, hours only when there are some). Defaults to `datetime` for a `Date`, `number` otherwise","model":false},{"name":"format","type":"Intl.NumberFormatOptions | Intl.DateTimeFormatOptions","required":false,"default":null,"description":"Intl options for the type: `{ style: 'currency', currency: 'EUR' }`, `{ style: 'percent' }`, `{ style: 'unit', unit: 'kilometer-per-hour' }`, `{ notation: 'compact' }` for numbers; `{ timeStyle: 'medium' }` (the default), `{ hour: '2-digit', minute: '2-digit' }`, `{ dateStyle: 'short' }` for times. Unused for durations. Dollar-sign currencies show their country (`AR$`, `MX$`, `US$`) in any language; set `currencyDisplay` for Intl's own output (`'symbol'` gives the local peso as a plain `$`)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"BCP-47 language for the format (`es-AR` for Argentine pesos and separators); defaults to the app's locale","model":false},{"name":"spring","type":"SpringSpec","required":false,"default":null,"description":"The rolling spring; Standard SlowSpatial by default (an unhurried landing, no visible bounce)","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Roll to new values; false (or the system's reduced motion) jumps to them","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MAppBar","import":"@m3ui-vue/m3ui-vue","description":"A simple, generic slot-based app bar with leading, default, and trailing areas — a lighter-weight alternative to MTopAppBar for when you don't need its variant/title-row layouts.","props":[{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Add shadow elevation","model":false},{"name":"dense","type":"boolean","required":false,"default":null,"description":"Compact height (48px vs 64px)","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false}],"events":[],"slots":[{"name":"leading","bindings":null,"description":"Leading area (e.g. back button, menu icon)"},{"name":"default","bindings":null,"description":"Main content (title text)"},{"name":"trailing","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MAppBarWithSearch","import":"@m3ui-vue/m3ui-vue","description":"A top app bar whose title is a search bar (a port of Compose's `AppBarWithSearch`, and with `transparent` its `TopSearchBar`): a navigation icon, the search bar and actions in one 64px row. The search bar expands like MSearchBar (full screen by default). It can darken as content scrolls under it, and hide while scrolling down.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"Search query (v-model)","model":true},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Whether the search is expanded (v-model:expanded)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Defaults to the locale's \"Search...\"","model":false},{"name":"searchVariant","type":"\"fullscreen\" | \"fullscreen-contained\" | \"docked\"","required":false,"default":"\"fullscreen\"","description":"How the search expands: full screen (default), full screen keeping the pill input, or a docked panel","model":false},{"name":"leadingIcon","type":"string","required":false,"default":"\"search\"","description":"Icon shown in the collapsed search bar","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in the expanded header instead of the clear button","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear (×) button once there is a query","model":false},{"name":"navigationIcon","type":"string","required":false,"default":null,"description":"Leading icon outside the search bar (e.g. menu, arrow_back)","model":false},{"name":"navigationLabel","type":"string","required":false,"default":null,"description":"Accessible label for the navigation icon button; defaults to the locale's \"Menu\"","model":false},{"name":"transparent","type":"boolean","required":false,"default":"false","description":"No app bar container, only the search bar (Compose's TopSearchBar)","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"enter-always\"","required":false,"default":null,"description":"How the bar reacts to `scrollTarget` scrolling: `pinned` stays and changes color once content is under it; `enter-always` also hides while scrolling down and comes back on any scroll up. With `enter-always` the bar is sticky over the content: put it at the top of the scrolling element (or of the page)","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[{"name":"search","args":"string","description":"Emitted when Enter is pressed in the input, with the current query"},{"name":"update:modelValue","args":"string","description":"Emitted on every input change — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the search expands or collapses — powers v-model:expanded"},{"name":"navigation","args":"","description":"Emitted when the default navigation icon button is clicked"}],"slots":[{"name":"navigation","bindings":null,"description":"Custom leading area (default: an MIconButton built from the navigationIcon prop)"},{"name":"leading","bindings":null,"description":"Overrides the search bar's leading icon"},{"name":"trailing","bindings":null,"description":"Trailing content inside the search bar (e.g. an avatar)"},{"name":"default","bindings":null,"description":"Results/suggestions, shown below the input while the search is expanded"},{"name":"actions","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MAppLayout","import":"@m3ui-vue/m3ui-vue","description":"Full app shell — drawer, header, content, footer, and fab slots.","props":[{"name":"height","type":"string","required":false,"default":null,"description":"Container height (CSS value). Use \"100%\" to fit inside a parent instead of the viewport.","model":false},{"name":"drawerRight","type":"boolean","required":false,"default":null,"description":"Place the drawer slot on the right side of the layout","model":false}],"events":[],"slots":[{"name":"drawer","bindings":null,"description":"Side navigation (e.g. MNavigationDrawer). Use drawerRight prop to place it on the right."},{"name":"header","bindings":null,"description":"Top bar (e.g. MTopAppBar)"},{"name":"default","bindings":null,"description":"Main scrollable content"},{"name":"footer","bindings":null,"description":"Bottom bar or status area"},{"name":"fab","bindings":null,"description":"Floating elements (e.g. MFab) rendered outside the scroll area"}],"exposed":[],"types":[]},{"name":"MAspectRatio","import":"@m3ui-vue/m3ui-vue","description":"Maintains a consistent aspect ratio for media or containers.","props":[{"name":"ratio","type":"string | number","required":false,"default":"\"16/9\"","description":"Aspect ratio (e.g. \"16/9\", \"4/3\", 1) — passed straight through to the CSS aspect-ratio property","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, sized to fill the box."}],"exposed":[],"types":[]},{"name":"MAudioPlayer","import":"@m3ui-vue/m3ui-vue/media","description":"An audio player (not an M3 spec component). `mini` is a port of Media3's Compose Material3 `MiniController` (androidx/media `ui_compose_material3`): artwork, title and artist, previous / play-pause / next and a thin progress line, on an elevated card; a click on it emits `click` (open your full player). `standard` is a full player bar: artwork and text, an `MSeekBar`, shuffle / previous / play / next / repeat, and volume. Plays `src`/`sources` in a hidden `<audio>`, or drives a `player` from `useMediaPlayer()` (keep it outside a page to play on while the app navigates, or give it a clock for generated audio). The queue is yours: the buttons emit `previous`/`next`, and stay in place, disabled, without `hasPrevious`/`hasNext` (as Media3's).","props":[{"name":"variant","type":"\"standard\" | \"mini\"","required":false,"default":"\"standard\"","description":"`mini`: Media3's MiniController (a compact card). `standard`: a full player bar","model":false},{"name":"src","type":"string","required":false,"default":null,"description":"Audio URL","model":false},{"name":"sources","type":"VideoSource[]","required":false,"default":null,"description":"Several formats of the audio; the browser plays the first it can","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Track title (also shown on the lock screen)","model":false},{"name":"artist","type":"string","required":false,"default":null,"description":"Artist (also shown on the lock screen)","model":false},{"name":"album","type":"string","required":false,"default":null,"description":"Album, for the lock screen","model":false},{"name":"artwork","type":"string","required":false,"default":null,"description":"Cover image URL","model":false},{"name":"duration","type":"number","required":false,"default":null,"description":"Length in seconds, for a clock without `src` (with a file it comes from the file)","model":false},{"name":"player","type":"MediaPlayer","required":false,"default":null,"description":"Drive this player instead of one of its own (from `useMediaPlayer()`). Read once","model":false},{"name":"playing","type":"boolean","required":false,"default":null,"description":"Playing (v-model)","model":true},{"name":"currentTime","type":"number","required":false,"default":null,"description":"Position in seconds (v-model)","model":true},{"name":"rate","type":"number","required":false,"default":null,"description":"Playback speed (v-model)","model":true},{"name":"volume","type":"number","required":false,"default":null,"description":"Volume, 0 to 1 (v-model)","model":true},{"name":"muted","type":"boolean","required":false,"default":null,"description":"Muted (v-model)","model":true},{"name":"shuffle","type":"boolean","required":false,"default":null,"description":"Shuffle (v-model); unset hides the button","model":true},{"name":"repeat","type":"\"off\" | \"all\" | \"one\"","required":false,"default":null,"description":"Repeat mode (v-model); unset hides the button","model":true},{"name":"autoplay","type":"boolean","required":false,"default":"false","description":"Starts playing when mounted (browsers block it with sound before a user gesture)","model":false},{"name":"hasPrevious","type":"boolean","required":false,"default":"false","description":"There is a previous track: enables the previous button (emits `previous`)","model":false},{"name":"hasNext","type":"boolean","required":false,"default":"false","description":"There is a next track: enables the next button (emits `next`)","model":false},{"name":"speeds","type":"number[]","required":false,"default":null,"description":"Speeds offered in a speed menu (`standard`); unset hides it","model":false},{"name":"seekBar","type":"\"slider\" | \"line\" | \"wavy\"","required":false,"default":"\"slider\"","description":"The seek bar's look (`standard`)","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Played part and play button: an M3 role or any CSS color","model":false}],"events":[{"name":"error","args":"MediaError | null","description":"The audio failed to load or play, with the media element's error"},{"name":"update:playing","args":"boolean","description":""},{"name":"update:currentTime","args":"number","description":""},{"name":"update:rate","args":"number","description":""},{"name":"update:volume","args":"number","description":""},{"name":"update:muted","args":"boolean","description":""},{"name":"update:shuffle","args":"boolean","description":""},{"name":"update:repeat","args":"\"off\" | \"all\" | \"one\"","description":""},{"name":"previous","args":"","description":"The previous button (or the lock screen's) was pressed"},{"name":"next","args":"","description":"The next button (or the lock screen's) was pressed"},{"name":"ended","args":"","description":"The track reached its end"},{"name":"click","args":"MouseEvent","description":"The mini player was clicked (outside its buttons)"}],"slots":[{"name":"artwork","bindings":"{ player: MediaPlayer; }","description":"Replaces the artwork. Props: `{ player }`"},{"name":"actions","bindings":"{ player: MediaPlayer; }","description":"Extra buttons at the end of the controls (a like, a queue button). Props: `{ player }`"}],"exposed":[],"types":[]},{"name":"MAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Like MSelect but with a text input for filtering. Type to search, arrow keys to navigate, Enter to select.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing @debounced. Selection is always instant","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted on selection — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MAvatar","import":"@m3ui-vue/m3ui-vue","description":"A circular initials avatar. There's no image-source prop — it always renders extracted initials or a fallback string, never a photo.","props":[{"name":"name","type":"string","required":false,"default":null,"description":"Full name — initials are extracted automatically (first + last). Takes priority over fallback","model":false},{"name":"fallback","type":"string","required":false,"default":null,"description":"Custom text shown when name is not provided (e.g. 'AJ'). Falls back to '?' if neither is set","model":false},{"name":"size","type":"number","required":false,"default":"40","description":"Avatar size in px — also scales the font size proportionally (40%)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MBadge","import":"@m3ui-vue/m3ui-vue","description":"A small numeric or dot indicator overlaid on another element, such as an icon button or avatar.","props":[{"name":"count","type":"number","required":false,"default":null,"description":"Numeric badge value","model":false},{"name":"dot","type":"boolean","required":false,"default":null,"description":"Show a small dot instead of a number","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"error\"","description":"Badge color","model":false},{"name":"max","type":"number","required":false,"default":"99","description":"Max value before showing \"N+\"","model":false},{"name":"position","type":"BadgePosition","required":false,"default":"\"top-right\"","description":"Corner where the badge is placed","model":false},{"name":"overlap","type":"BadgeOverlap","required":false,"default":"\"edge\"","description":"How much the badge overlaps the content","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The element the badge sits on."}],"exposed":[],"types":[{"name":"BadgePosition","source":"export type BadgePosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'"},{"name":"BadgeOverlap","source":"export type BadgeOverlap = 'inside' | 'outside' | 'edge'"}]},{"name":"MBar","import":"@m3ui-vue/m3ui-vue","description":"A draggable Electron title bar for frameless windows (`frame: false`). Sets `-webkit-app-region: drag` on itself and carves out `no-drag` around the icon, controls, and slot content, so those stay clickable. It can't touch the real OS window — minimize/maximize/close just emit events for your app to forward over IPC.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Window title text","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol name, or an image src (URL, data URI, or a path with a file extension) — detected automatically.","model":false},{"name":"titleAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centered floats over the whole bar so it stays centered regardless of side content width","model":false},{"name":"controls","type":"boolean","required":false,"default":null,"description":"Show the minimize/maximize/close buttons as a group. Defaults to `true`, except on `platform=\"macos\"` where the OS draws native traffic lights instead.","model":false},{"name":"minimizable","type":"boolean","required":false,"default":null,"description":"Individually hide one control while keeping the others — e.g. a fixed-size window with no maximize button.","model":false},{"name":"maximizable","type":"boolean","required":false,"default":null,"description":"Show the maximize/restore button on its own","model":false},{"name":"closable","type":"boolean","required":false,"default":null,"description":"Show the close button on its own","model":false},{"name":"maximized","type":"boolean","required":false,"default":"false","description":"Reflects the real window state — the bar has no way to know it itself, the host app must read it from its Electron main process and pass it down.","model":false},{"name":"platform","type":"\"windows\" | \"macos\"","required":false,"default":"\"windows\"","description":"'macos' reserves space for the native traffic lights and hides the drawn controls by default","model":false},{"name":"height","type":"number","required":false,"default":"36","description":"Bar height in px.","model":false},{"name":"doubleClickMaximize","type":"boolean","required":false,"default":"true","description":"Double-clicking empty drag space toggles maximize, matching native title bar behavior.","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"minimize","args":"","description":"Emitted when the minimize button is clicked — forward to your Electron IPC call"},{"name":"maximize","args":"","description":"Emitted when the maximize/restore button is clicked, or (with doubleClickMaximize) empty drag space is double-clicked"}],"slots":[{"name":"icon","bindings":null,"description":"Replaces the icon — e.g. an `<img>` logo instead of a Material Symbol"},{"name":"title","bindings":null,"description":"Replaces the title text"},{"name":"default","bindings":null,"description":"Extra content between the title and the trailing area (drag-adjacent, e.g. tabs)"},{"name":"trailing","bindings":null,"description":"Action buttons right before minimize/maximize/close"}],"exposed":[],"types":[]},{"name":"MBarcode","import":"@m3ui-vue/m3ui-vue/barcode","description":"Renders a barcode as inline SVG. Available from the `/barcode` entry point.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"format","type":"string","required":false,"default":"\"CODE128\"","description":"Barcode symbology. Common values: 'CODE128', 'EAN13', 'EAN8', 'UPC', 'CODE39', 'ITF14', 'MSI', 'pharmacode', 'codabar'.","model":false},{"name":"width","type":"number","required":false,"default":"2","description":"Width of the narrowest bar, in px","model":false},{"name":"height","type":"number","required":false,"default":"80","description":"Bar height in px","model":false},{"name":"displayValue","type":"boolean","required":false,"default":"true","description":"Show the encoded text below the bars","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Bar color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Background color","model":false},{"name":"margin","type":"number","required":false,"default":"10","description":"Quiet zone around the barcode, in px","model":false},{"name":"fontSize","type":"number","required":false,"default":"20","description":"Font size for the displayed value","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is invalid for the given format (e.g. a non-numeric EAN13)"}],"exposed":[],"types":[]},{"name":"MBottomAppBar","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"flexible","type":"boolean","required":false,"default":"false","description":"M3 Expressive's FlexibleBottomAppBar: 64px instead of 80px, 16px side padding, no FAB slot","model":false},{"name":"arrangement","type":"\"fixed\" | \"start\" | \"between\" | \"around\" | \"evenly\"","required":false,"default":null,"description":"How the actions are spread: `start` (the standard bar's), `between` (the flexible bar's default), `around`, `evenly`, or `fixed` (centered, 32px apart: FlexibleFixedHorizontalArrangement)","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Container color: surface-container, or a color's container for a vibrant bar","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"exit-always\"","required":false,"default":"\"pinned\"","description":"`pinned` stays put; `exit-always` collapses while the content scrolls down and returns when it scrolls up","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `exit-always` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The actions, usually MIconButtons"},{"name":"fab","bindings":null,"description":"A FAB at the end of the standard bar; an MFab here turns secondary and drops its shadow, as M3's bottom app bar FAB (`bottomAppBarFabColor`, `bottomAppBarFabElevation`)"}],"exposed":[],"types":[]},{"name":"MBottomSheet","import":"@m3ui-vue/m3ui-vue","description":"A sheet that slides up from the bottom of the screen, capped at a 640px max width and rounded top corners. Supports drag-to-dismiss via the handle bar, or tapping the scrim. With `partial`, a sheet taller than that share of the screen opens partially expanded and is dragged (handle or content) up to its full height, after Compose's ModalBottomSheet.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title","model":false},{"name":"maxHeight","type":"string","required":false,"default":null,"description":"Tallest the sheet gets, as a CSS length (`'480px'`, `'70dvh'`); past it the content scrolls. Default 60vh, or the whole screen with `partial`","model":false},{"name":"fullHeight","type":"boolean","required":false,"default":"false","description":"","model":false},{"name":"partial","type":"number | boolean","required":false,"default":"false","description":"Opens a sheet taller than this share of the screen partially expanded (`true` = half, or a ratio like 0.4); dragging the handle or the content up expands it fully","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Fully (true) or partially (false) expanded, with `partial` (v-model:expanded)","model":true},{"name":"squareCornersWhenFull","type":"boolean","required":false,"default":"false","description":"Squares the top corners while the expanded sheet fills the screen, as Android's views sheet does","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss, Escape, or the close button) — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the sheet moves between partially and fully expanded (or closes) — powers v-model:expanded"}],"slots":[{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MBottomSheetScaffold","import":"@m3ui-vue/m3ui-vue","description":"A screen with M3's standard (non-modal) bottom sheet, a port of Compose's `BottomSheetScaffold`: the sheet sits over the bottom of the content without a scrim, peeking out when partially expanded, and the content stays usable. Drag it (or its content, which scrolls once the sheet is fully expanded) between its states, or tap the handle. For a sheet that blocks the screen behind a scrim, use MBottomSheet.","props":[{"name":"modelValue","type":"BottomSheetValue","required":false,"default":"\"partial\"","description":"The sheet's state (v-model): `partial` shows `peekHeight` of it, `expanded` all of it, `hidden` none","model":true},{"name":"peekHeight","type":"number","required":false,"default":"56","description":"Height in px the partially expanded sheet shows (BottomSheetDefaults.SheetPeekHeight)","model":false},{"name":"skipHiddenState","type":"boolean","required":false,"default":"true","description":"Leaves out the hidden state, so the sheet can't be swiped away (Compose's default for this sheet)","model":false},{"name":"swipeEnabled","type":"boolean","required":false,"default":"true","description":"Lets the sheet be dragged; with false it only moves through v-model and the handle","model":false},{"name":"maxWidth","type":"number","required":false,"default":"640","description":"Maximum width in px; the sheet is centered when the screen is wider","model":false}],"events":[{"name":"update:modelValue","args":"BottomSheetValue","description":"Emitted when the sheet settles in another state after a drag or a handle tap — powers v-model"}],"slots":[{"name":"top-bar","bindings":null,"description":"An app bar above the content (the sheet can rise over it)"},{"name":"default","bindings":null,"description":"The screen's content; it gets bottom padding equal to `peekHeight` so nothing hides under the peeking sheet"},{"name":"sheet","bindings":null,"description":"The sheet's content, below the drag handle"}],"exposed":[],"types":[{"name":"BottomSheetValue","source":"export type BottomSheetValue = 'hidden' | 'partial' | 'expanded'"}]},{"name":"MBox","import":"@m3ui-vue/m3ui-vue","description":"Generic surface box with padding, radius, elevation, and border — a building block for ad-hoc layout that doesn't warrant a dedicated component.","props":[{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"container-highest\" | \"primary-container\" | \"secondary-container\" | \"tertiary-container\" | \"inverse\"","required":false,"default":null,"description":"Surface color variant","model":false},{"name":"padding","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Padding size","model":false},{"name":"rounded","type":"\"none\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\"","required":false,"default":"\"none\"","description":"Border radius","model":false},{"name":"elevation","type":"0 | 1 | 2 | 3 | 4 | 5","required":false,"default":"0","description":"Shadow elevation level (M3 levels 0–5)","model":false},{"name":"border","type":"boolean","required":false,"default":"false","description":"Show border","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MBreadcrumbs","import":"@m3ui-vue/m3ui-vue","description":"A navigation trail showing the current page's location within a hierarchy, with icons and custom separators.","props":[{"name":"items","type":"BreadcrumbItem[]","required":true,"default":null,"description":"Breadcrumb items (see `BreadcrumbItem`)","model":false},{"name":"separator","type":"string","required":false,"default":"\"chevron_right\"","description":"Material Symbol separator icon","model":false}],"events":[{"name":"select","args":"BreadcrumbItem, number","description":"Emitted when a non-last, non-disabled item is clicked"}],"slots":[],"exposed":[],"types":[{"name":"BreadcrumbItem","source":"export interface BreadcrumbItem {\n label: string\n icon?: string\n to?: string\n disabled?: boolean\n}"}]},{"name":"MButton","import":"@m3ui-vue/m3ui-vue","description":"The standard M3 button — five variants, five expressive size tiers, and either color.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"filled\"","description":"Visual style of the button","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Named semantic color ('primary' | 'error') OR any CSS color string ('red', '#e91e63', 'oklch(0.6 0.2 0)', …). When a CSS color is passed, --color-primary is overridden for this button.","model":false},{"name":"type","type":"\"button\" | \"submit\" | \"reset\"","required":false,"default":"\"button\"","description":"HTML button type","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner and disables the button","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown next to the label","model":false},{"name":"iconFilled","type":"boolean","required":false,"default":null,"description":"Draw the icon filled (Material Symbols' FILL axis), e.g. a starred star or a play icon","model":false},{"name":"iconPos","type":"\"leading\" | \"trailing\"","required":false,"default":"\"leading\"","description":"Which side of the label the icon renders on","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier expressive button sizing (xs: 32px, sm: 40px, md: 56px, lg: 96px, xl: 136px) — lg/xl are meant for hero-style prominent buttons, not everyday UI","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false},{"name":"contentColor","type":"string","required":false,"default":null,"description":"Label and icon color, over what the variant and `color` give: an M3 role (`on-surface` for a neutral text button, `on-primary-container`…) or any CSS color (`#000` on a white filled button). Disabled buttons keep their own","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The button's label."}],"exposed":[],"types":[]},{"name":"MButtonGroup","import":"@m3ui-vue/m3ui-vue","description":"A set of buttons that share selection state — standard (separated) or connected (joined into one pill), single or multi select, any value type.","props":[{"name":"modelValue","type":"M","required":true,"default":null,"description":"Selected value (null when none), or values with `multiSelect` (v-model) — any type, typed after the options' values","model":true},{"name":"options","type":"ButtonGroupOption<T>[]","required":true,"default":null,"description":"The options to choose from; see `ButtonGroupOption`.","model":false},{"name":"variant","type":"\"standard\" | \"connected\"","required":false,"default":"\"standard\"","description":"Standard (separated) or connected (joined)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"selectionRequired","type":"boolean","required":false,"default":"false","description":"At least one must be selected","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected button color","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"update:modelValue","args":"M","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ButtonGroupOption","source":"export interface ButtonGroupOption<T = unknown> {\n value: T\n label?: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MCalendar","import":"@m3ui-vue/m3ui-vue","description":"A monthly calendar grid with color-coded, clickable events.","props":[{"name":"events","type":"CalendarEvent[]","required":false,"default":"[]","description":"Array of events to render on the grid (see `CalendarEvent`)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/weekday names, via Intl.DateTimeFormat. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label for the Today button — falls back to the locale's own string when unset","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — falls back to the locale's own string when unset","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — falls back to the locale's own string when unset","model":false}],"events":[{"name":"dateClick","args":"string","description":"Emitted when an empty part of a day cell is clicked"},{"name":"eventClick","args":"CalendarEvent","description":"Emitted when an event pill is clicked"}],"slots":[],"exposed":[],"types":[{"name":"CalendarEvent","source":"export interface CalendarEvent {\n id: string | number\n title: string\n date: string\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n icon?: string\n}"}]},{"name":"MCard","import":"@m3ui-vue/m3ui-vue","description":"A flexible surface for grouping related content — three variants following the M3 elevation system, with optional header image, structured title/subtitle, and action buttons.","props":[{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"elevated\"","description":"Card surface style","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the card an interactive element — hover/press elevation (varies by variant per M3), a focus ring/border on keyboard focus, and reachable/activatable via Tab + Enter/Space, not just mouse","model":false},{"name":"elevated","type":"boolean","required":false,"default":"false","description":"Shortcut that forces the elevated variant regardless of variant — true is equivalent to variant='elevated'","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled visual state (own per-variant color, not just a dimmed one) and, when combined with clickable, blocks interaction entirely","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"src URL for a full-bleed header image","model":false},{"name":"imageAlt","type":"string","required":false,"default":null,"description":"Alt text for the header image","model":false},{"name":"imageHeight","type":"string","required":false,"default":null,"description":"Tailwind height class for the image","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Card title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Supporting text below the title","model":false}],"events":[],"slots":[{"name":"media","bindings":null,"description":"Custom media content (alternative to the image prop)"},{"name":"header","bindings":null,"description":"Custom header content (overrides title/subtitle props)"},{"name":"default","bindings":null,"description":"Main content area (raw, no wrapper)"},{"name":"actions","bindings":null,"description":"Bottom action buttons (flex row, right-aligned)"}],"exposed":[],"types":[]},{"name":"MCarousel","import":"@m3ui-vue/m3ui-vue","description":"The Material 3 carousel, with its four layouts. Items keep one size and are laid out side by side; as you scroll, each one is masked down to the space it has, so items grow as they reach the focal position and shrink as they leave. Drag it (touch or mouse), scroll it with a trackpad or a horizontal wheel, or focus it and use the arrow keys. For fixed-width slides with arrows and autoplay, see MSimpleCarousel.","props":[{"name":"items","type":"T[]","required":true,"default":null,"description":"Items to render, required. CarouselItem by default; any type with an #item slot","model":false},{"name":"modelValue","type":"number","required":false,"default":null,"description":"Index of the current (snapped) item; use with v-model to follow or drive it.","model":true},{"name":"variant","type":"CarouselVariant","required":false,"default":"\"multi-browse\"","description":"Carousel layout","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Scroll axis","model":false},{"name":"itemSize","type":"number","required":false,"default":null,"description":"Size of large items along the scroll axis, in px. Multi-browse and hero treat it as the preferred size (the arrangement that fits best wins); uncontained uses it as is. Hero without it fills the container minus its small items; full-screen ignores it.","model":false},{"name":"itemSpacing","type":"number","required":false,"default":"8","description":"Space between items, in px (M3 uses 8).","model":false},{"name":"contentPadding","type":"number","required":false,"default":"0","description":"Padding at both ends of the scroll axis, in px. Items scroll under it.","model":false},{"name":"minSmallItemSize","type":"number","required":false,"default":"40","description":"Smallest size a small item can take (multi-browse, hero)","model":false},{"name":"maxSmallItemSize","type":"number","required":false,"default":"56","description":"Largest size a small item can take (multi-browse, hero)","model":false},{"name":"flingBehavior","type":"CarouselFlingBehavior","required":false,"default":null,"description":"What a release does. Defaults to 'no-snap' for uncontained, 'single-advance' otherwise.","model":false},{"name":"userScrollEnabled","type":"boolean","required":false,"default":"true","description":"Allow dragging, wheel and keyboard scrolling","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Height of the carousel. Defaults to 205px for a horizontal carousel that isn't full-screen.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the carousel.","model":false}],"events":[{"name":"update:modelValue","args":"index: number","description":"The current item changed"},{"name":"itemClick","args":"item: T, index: number","description":"An item was clicked (not dragged). A partly visible item also scrolls into focus"}],"slots":[{"name":"item","bindings":"{ item: T; index: number; }","description":"Content of each item, filling its full (unmasked) box. Replaces the default image and label"}],"exposed":[],"types":[{"name":"CarouselItem","source":"export interface CarouselItem {\n src: string\n alt?: string\n label?: string\n}"},{"name":"CarouselVariant","source":"export type CarouselVariant = 'multi-browse' | 'uncontained' | 'hero' | 'full-screen'"},{"name":"CarouselFlingBehavior","source":"export type CarouselFlingBehavior = 'single-advance' | 'multi-browse' | 'no-snap'"}]},{"name":"MCenter","import":"@m3ui-vue/m3ui-vue","description":"Centers its children both horizontally and vertically.","props":[{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content, centered."}],"exposed":[],"types":[]},{"name":"MChart","import":"@m3ui-vue/m3ui-vue/chart","description":"A thin Chart.js wrapper — line, bar, pie, doughnut, and radar types, with legend/tooltip/axis colors that automatically track the active M3 theme (light/dark, palette, contrast). Datasets without colors of their own get the theme's too, one per series (one per slice in a pie or doughnut). Available from the `/chart` entry point.","props":[{"name":"type","type":"ChartType","required":true,"default":null,"description":"Chart type. Required — there is no default.","model":false},{"name":"data","type":"Record<string, any>","required":true,"default":null,"description":"Chart.js data object with labels and datasets. Required — there is no default.","model":false},{"name":"options","type":"Record<string, any>","required":false,"default":null,"description":"Chart.js options, deep-merged on top of MChart's own M3-themed defaults (legend/tooltip/axis colors that track the active theme automatically)","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Chart height","model":false},{"name":"colors","type":"string[]","required":false,"default":null,"description":"Colors for datasets that don't set their own, in order (one per series; per slice in a pie or doughnut): M3 role names (`primary`, `tertiary-container`…) or any CSS colors. Default primary, tertiary, secondary, success, error, outline","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"ChartType","source":"type ChartType = 'line' | 'bar' | 'pie' | 'doughnut' | 'radar'"}]},{"name":"MChatBubble","import":"@m3ui-vue/m3ui-vue","description":"A chat message bubble — sender name, avatar, timestamp, and read status, for left (received) or right (sent) messages.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Message text (or use the default slot for custom content)","model":false},{"name":"sender","type":"string","required":false,"default":null,"description":"Sender name shown above the bubble (left-side only)","model":false},{"name":"time","type":"string","required":false,"default":null,"description":"Timestamp string (e.g. \"10:32\")","model":false},{"name":"side","type":"\"right\" | \"left\"","required":false,"default":"\"left\"","description":"Left = received, right = sent","model":false},{"name":"avatar","type":"string","required":false,"default":null,"description":"Avatar name — shows an MAvatar with these initials (left-side only)","model":false},{"name":"status","type":"\"sent\" | \"delivered\" | \"read\"","required":false,"default":null,"description":"Message status icon next to the timestamp (right-side only)","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bubble color for sent (right-side) messages","model":false},{"name":"tail","type":"boolean","required":false,"default":"true","description":"Show the bubble tail (a sharper corner on the side nearest the sender)","model":false},{"name":"size","type":"\"small\" | \"medium\" | \"large\"","required":false,"default":"\"medium\"","description":"Text size (body-small / body-medium / body-large)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"320px\"","description":"Max bubble width (px, %, or var()) — supports a CSS variable for responsive control","model":false},{"name":"typing","type":"\"text\" | \"audio\"","required":false,"default":null,"description":"Shows a live indicator instead of the content: bouncing dots while the other person types, or a mic with a moving waveform while they record audio.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content inside the bubble, replacing the text prop — images, files, buttons, or any layout"}],"exposed":[],"types":[]},{"name":"MCheckbox","import":"@m3ui-vue/m3ui-vue","description":"A checkbox with checked, indeterminate, and disabled states, and 4 semantic color options.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Checked state (v-model)","model":true},{"name":"indeterminate","type":"boolean","required":false,"default":"false","description":"Indeterminate state","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the checkbox","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text — overridden by the default slot when present","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Checked/indeterminate color","model":false},{"name":"ariaLabel","type":"string","required":false,"default":null,"description":"Accessible name for the input when there's no visible label (e.g. a list row's checkbox).","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new checked state."}],"slots":[{"name":"default","bindings":null,"description":"Custom label content — overrides the label prop when provided"}],"exposed":[],"types":[]},{"name":"MChip","import":"@m3ui-vue/m3ui-vue","description":"Compact elements for filters, input, or actions — named semantic tones or any CSS color, with optional icon, click, selection, and removal support. With `type` it's one of M3's four chips instead (assist, filter, input, suggestion), styled by the spec and always interactive; `tone` then doesn't apply.","props":[{"name":"tone","type":"string","required":false,"default":"\"neutral\"","description":"Color tone or any CSS color string","model":false},{"name":"selected","type":"boolean","required":false,"default":"false","description":"Selected/active state — the chip's shape morphs from a rounded rect to a full pill when selected","model":true},{"name":"removable","type":"boolean","required":false,"default":"false","description":"Show a remove (X) button","model":false},{"name":"clickable","type":"boolean","required":false,"default":"false","description":"Makes the chip an interactive `<button>` with hover/press/focus feedback (otherwise renders as a plain `<span>`)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false},{"name":"type","type":"\"filter\" | \"assist\" | \"input\" | \"suggestion\"","required":false,"default":null,"description":"One of M3's chips: `assist` (an action), `filter` (on/off, v-model:selected; a check slides in while selected), `input` (a piece of user input, with an optional #avatar and `removable`), `suggestion`. Leave unset for the generic tone-colored chip","model":false},{"name":"elevated","type":"boolean","required":false,"default":"false","description":"Typed assist, filter and suggestion chips: surface-container-low with elevation 1 instead of an outline","model":false},{"name":"trailingIcon","type":"string","required":false,"default":null,"description":"Typed chips: a trailing Material Symbol icon (e.g. arrow_drop_down on a filter chip that opens a menu)","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a clickable (or typed), non-disabled chip is clicked"},{"name":"remove","args":"","description":"Emitted when the remove (X) button is clicked (removable only)"},{"name":"update:selected","args":"boolean","description":"Filter and input chips: emitted on click with the new selected state — powers v-model:selected"}],"slots":[{"name":"avatar","bindings":null,"description":"Input chips only: a 24px round avatar before the label (e.g. an MAvatar or an img)"},{"name":"default","bindings":null,"description":"The chip's label."}],"exposed":[],"types":[]},{"name":"MCircleProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A circular progress indicator — a smooth arc, or the M3 Expressive wavy ring that fades between a circle and a bumpy wave near the extremes.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit when indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Spinning arc — no value needed. Identical for both variants.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":"\"primary\"","description":"Ring color: an M3 role or any CSS color","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Track color: an M3 role or any CSS color. Default the role's container, or the ring color at 24% for a CSS color","model":false},{"name":"variant","type":"\"wavy\" | \"circle\"","required":false,"default":"\"wavy\"","description":"wavy: animated bumpy ring that fades to circle near 0% and 100%; circle: smooth arc","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text below the circle","model":false},{"name":"size","type":"number","required":false,"default":null,"description":"Diameter in px — matches the real M3 WaveSize/Size tokens per variant","model":false},{"name":"thickness","type":"number","required":false,"default":"4","description":"Stroke width of the ring/wave in px, matching the real M3 token","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Custom content centered inside the ring. When provided, the percentage label is hidden."}],"exposed":[],"types":[]},{"name":"MCodeEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A syntax-highlighted code editor built on CodeMirror 6, with a header bar, line numbers, and a copy button.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Editor content (v-model)","model":true},{"name":"language","type":"Language","required":false,"default":"\"javascript\"","description":"Syntax language","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"lineNumbers","type":"boolean","required":false,"default":"true","description":"Show line numbers","model":false},{"name":"theme","type":"\"light\" | \"dark\"","required":false,"default":"\"light\"","description":"Color theme","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum editor height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Maximum editor height","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown via CodeMirror when the editor is empty","model":false},{"name":"wrap","type":"boolean","required":false,"default":"true","description":"Word wrap","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every document change — powers v-model"}],"slots":[{"name":"actions","bindings":null,"description":"Extra controls rendered in the header bar, before the built-in copy button"}],"exposed":[],"types":[{"name":"Language","source":"type Language = 'javascript' | 'typescript' | 'json' | 'html' | 'css' | 'python' | 'vue' | 'c' | 'cpp' | 'rust' | 'asm' | 'plain'"}]},{"name":"MColorPicker","import":"@m3ui-vue/m3ui-vue","description":"An outlined field that opens a color picker in a dropdown: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Updates the value live while picking.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the panel","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the picked color, live while dragging or typing."}],"slots":[],"exposed":[],"types":[]},{"name":"MColorPickerModal","import":"@m3ui-vue/m3ui-vue","description":"A color picker in a dialog: saturation/brightness area, hue (and optional opacity) slider, eyedropper, HEX/RGB/HSL fields, recent colors and preset swatches. Built on MDialog; the color is only applied on confirm, and the preview shows it next to the original.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Selected color in hex format (v-model). `#rrggbb`, or `#rrggbbaa` when `alpha` is on and the color isn't opaque.","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"presets","type":"string[]","required":false,"default":"defaultColorPresets","description":"Preset color swatches shown in the dialog","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title; defaults to the locale's `selectColor`","model":false},{"name":"alpha","type":"boolean","required":false,"default":"false","description":"Adds an opacity slider and an alpha channel to the value","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember confirmed colors and show them above the presets (stored in localStorage, shared by every picker).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"7","description":"How many recent colors to keep.","model":false},{"name":"eyedropper","type":"boolean","required":false,"default":"true","description":"Show a button to pick a color from the screen, where the browser supports it (Chrome, Edge).","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted when a color is confirmed — powers v-model. Only fires on confirm, not while dragging"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MCommandPalette","import":"@m3ui-vue/m3ui-vue","description":"A searchable, keyboard-driven command palette — grouped commands, fuzzy-free substring search, and a global hotkey (Cmd/Ctrl+K by default).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"items","type":"CommandItem[]","required":true,"default":null,"description":"Commands to search over (see `CommandItem`). Required — there is no default.","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"k\"","description":"Global keyboard shortcut key, combined with Cmd/Ctrl, to toggle the palette","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"selectHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"CommandItem","description":"Emitted when an item is chosen (click, or Enter) — fires before the item's own onSelect callback runs"}],"slots":[],"exposed":[],"types":[{"name":"CommandItem","source":"export interface CommandItem {\n id: string\n label: string\n icon?: string\n shortcut?: string\n group?: string\n disabled?: boolean\n onSelect?: () => void\n}"}]},{"name":"MConfirmDialog","import":"@m3ui-vue/m3ui-vue","description":"A pre-built confirmation dialog on top of MDialog — title, message, cancel/confirm buttons, a danger color mode, and a loading state, so you don't have to hand-roll one for every \"are you sure?\" prompt.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":true,"default":null,"description":"Dialog title","model":false},{"name":"message","type":"string","required":true,"default":null,"description":"Confirmation message body","model":false},{"name":"confirmLabel","type":"string","required":false,"default":null,"description":"Confirm button label — falls back to the locale string when omitted","model":false},{"name":"cancelLabel","type":"string","required":false,"default":null,"description":"Cancel button label — falls back to the locale string when omitted","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Error color on the confirm button, for destructive actions","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner on the confirm button and disables cancel","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Passed straight through to MDialog's `closable` — show/hide the header close (X) button.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"},{"name":"confirm","args":"","description":"Emitted when the confirm button is clicked — the dialog stays open until the caller sets modelValue to false (or clears loading)"}],"slots":[],"exposed":[],"types":[]},{"name":"MContainer","import":"@m3ui-vue/m3ui-vue","description":"Constrains content width with responsive horizontal padding.","props":[{"name":"maxWidth","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | \"2xl\"","required":false,"default":"\"lg\"","description":"Maximum width breakpoint","model":false},{"name":"fluid","type":"boolean","required":false,"default":"false","description":"Full-width (no max constraint)","model":false},{"name":"centered","type":"boolean","required":false,"default":"true","description":"Center horizontally with mx-auto","model":false},{"name":"padding","type":"boolean","required":false,"default":"true","description":"Add responsive horizontal padding","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MContainerTransform","import":"@m3ui-vue/m3ui-vue","description":"Material's container transform: an element (a card, a list item, an image, a FAB…) grows into an expanded view and shrinks back into it, morphing its bounds and shape while its content fades into the new one. The expanded view opens over the page, full screen, as a centered panel, or wherever your classes put it (`custom`), with a scrim (optional), Escape and scroll lock; focus goes to it and back to the element on close. A port of Android's MaterialContainerTransform, played on the compositor. For elements that live apart from the expanded view (a grid of cards, one detail), pass a `useContainerTransform()` controller instead of the default slot.","props":[{"name":"controller","type":"ContainerTransformController<T>","required":false,"default":null,"description":"A `useContainerTransform()` controller, to open it from elements elsewhere (`controller.open($event, item)`)","model":false},{"name":"mode","type":"\"fullscreen\" | \"dialog\" | \"custom\"","required":false,"default":"\"fullscreen\"","description":"Where the expanded view opens: over the whole screen, as a centered panel (wider screens), or `custom`: the classes you give the component place and size it (`bottom-4 right-4 w-80 h-96`, `inset-y-0 right-0 w-96`…), anywhere over the page","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"560px\"","description":"The centered panel's maximum width (`dialog` mode)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the expanded view","model":false},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Dims the page behind it, which makes it modal (scroll lock, `aria-modal`). Without one the page stays usable: a click outside closes it instead (unless `persistent`)","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"A click on the scrim, or outside without one, doesn't close it","model":false},{"name":"closeOnBack","type":"boolean","required":false,"default":"true","description":"Android's back (button or gesture) closes it, like an expanded view in an app, where the browser has the CloseWatcher API (Chrome, Edge); the history and the router are left alone. Default `true`","model":false},{"name":"open","type":"boolean","required":false,"default":"false","description":"Whether the expanded view is open; opening it from here grows it from the default slot's element","model":true}],"events":[{"name":"update:open","args":"value: boolean","description":"The expanded view opened or closed (v-model:open)"}],"slots":[{"name":"default","bindings":"{ open: () => void; isOpen: boolean; }","description":"The element that opens it, with `{ open, isOpen }`: call `open()` from its click"},{"name":"expanded","bindings":"{ close: () => void; item: T | undefined; }","description":"The expanded view, with `{ close, item }` (`item` is what the controller's `open` was given)"}],"exposed":[],"types":[]},{"name":"MContextMenu","import":"@m3ui-vue/m3ui-vue","description":"A right-click context menu composed with MMenuItem — same item/divider/submenu building blocks as MMenu, but positioned at the cursor instead of anchored to a trigger element.","props":[{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":null,"description":"The element(s) that respond to right-click. MContextMenu intercepts contextmenu events automatically and positions the panel at the cursor, clamped to stay on-screen."},{"name":"default","bindings":null,"description":"Menu items — use MMenuItem, MMenuDivider, or any element."}],"exposed":[{"name":"show","type":"(e: MouseEvent) => void","description":""},{"name":"showAt","type":"(x: number, y: number) => Promise<void>","description":""},{"name":"hide","type":"() => void","description":""}],"types":[]},{"name":"MCopyButton","import":"@m3ui-vue/m3ui-vue","description":"Wraps MIconButton and swaps to a checkmark for resetDelay ms after a successful copy.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Text copied to the clipboard on click","model":false},{"name":"icon","type":"string","required":false,"default":"\"content_copy\"","description":"Icon shown in the idle state","model":false},{"name":"copiedIcon","type":"string","required":false,"default":"\"check\"","description":"Icon shown right after a successful copy","model":false},{"name":"label","type":"string","required":false,"default":"\"Copy\"","description":"aria-label in the idle state","model":false},{"name":"copiedLabel","type":"string","required":false,"default":"\"Copied\"","description":"aria-label right after a successful copy","model":false},{"name":"variant","type":"\"standard\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"standard\"","description":"Visual style (same as MIconButton)","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false},{"name":"resetDelay","type":"number","required":false,"default":"2000","description":"Milliseconds before the icon reverts to idle after copying","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if the browser refuses the clipboard write"},{"name":"copied","args":"string","description":"Emitted with the copied value after a successful clipboard write"}],"slots":[],"exposed":[],"types":[]},{"name":"MDataTable","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"columns","type":"DataTableColumn[]","required":true,"default":null,"description":"Column definitions; see `DataTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Enable row expansion (requires the row-expand slot)","model":false},{"name":"striped","type":"boolean","required":false,"default":"false","description":"Alternate row colors","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"stickyHeader","type":"boolean","required":false,"default":"false","description":"Sticky table header","model":false},{"name":"groupBy","type":"string","required":false,"default":null,"description":"Group rows by this column key","model":false},{"name":"columnToggle","type":"boolean","required":false,"default":"false","description":"Allow hiding/showing columns from a menu","model":false},{"name":"exportable","type":"boolean","required":false,"default":"false","description":"Show an export-to-CSV button","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit fetch instead of local filtering. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge (defaults to the locale string)","model":false},{"name":"recordsText","type":"string","required":false,"default":null,"description":"Text for total records count (defaults to the locale string)","model":false},{"name":"expandLabel","type":"string","required":false,"default":null,"description":"Aria label for the expand button (defaults to the locale string)","model":false},{"name":"columnsLabel","type":"string","required":false,"default":null,"description":"Label for the column-toggle button (defaults to the locale string)","model":false},{"name":"exportLabel","type":"string","required":false,"default":null,"description":"Label for the export button (defaults to the locale string)","model":false},{"name":"noGroupText","type":"string","required":false,"default":null,"description":"Text for the ungrouped-rows bucket (defaults to the locale string)","model":false},{"name":"minHeight","type":"string","required":false,"default":null,"description":"Reserves a fixed min-height for the table area (any valid CSS min-height value) so switching between loading/empty/loaded doesn't visibly resize the table. Off by default.","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"DataTableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"},{"name":"row-expand","bindings":"{ row: Record<string, any>; }","description":"Expanded-row detail content, shown when expandable is true and the row is toggled open"}],"exposed":[],"types":[{"name":"DataTableColumn","source":"export interface DataTableColumn {\n key: string\n label: string\n sortable?: boolean\n filterable?: boolean\n resizable?: boolean\n width?: string\n minWidth?: string\n align?: 'left' | 'center' | 'right'\n pinned?: 'left' | 'right'\n hidden?: boolean\n}"},{"name":"DataTableFetchParams","source":"export interface DataTableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"}]},{"name":"MDatePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar date picker with locale support and min/max range clamping.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected date (YYYY-MM-DD, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no date is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked date."}],"slots":[],"exposed":[],"types":[]},{"name":"MDatePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date picker with calendar and keyboard input modes. For a field that opens a dropdown calendar, use MDatePicker.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected date in YYYY-MM-DD format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MDateRangePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored calendar for selecting a start and end date, with range highlighting.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model); see `DateRange`","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no range is selected — falls back to label, then the current locale's string","model":false},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum date (YYYY-MM-DD)","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false},{"name":"prevMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the previous-month button — defaults to the current locale's string","model":false},{"name":"nextMonthLabel","type":"string","required":false,"default":null,"description":"Aria label for the next-month button — defaults to the current locale's string","model":false},{"name":"pickStartText","type":"string","required":false,"default":null,"description":"Header text shown while picking the start date — defaults to the current locale's string","model":false},{"name":"pickEndText","type":"string","required":false,"default":null,"description":"Header text shown while picking the end date — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted with the picked range."}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDateRangePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered date range picker with range highlighting — the sibling of MDateRangePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"DateRange","required":true,"default":null,"description":"Selected date range (v-model) — see `DateRange`","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"min","type":"string","required":false,"default":null,"description":"Minimum selectable date (YYYY-MM-DD)","model":false},{"name":"max","type":"string","required":false,"default":null,"description":"Maximum selectable date (YYYY-MM-DD)","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for month/day names. Falls back to the app's configured locale (createM3UI({ locale })) — same pattern as MRelativeTime","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false}],"events":[{"name":"update:modelValue","args":"DateRange","description":"Emitted when the end date is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[{"name":"DateRange","source":"export interface DateRange {\n start: string | null\n end: string | null\n}"}]},{"name":"MDialog","import":"@m3ui-vue/m3ui-vue","description":"The generic M3 modal shell — Escape, scroll lock, and Teleport are handled internally. Supports a centered card, a full-screen variant, and an optional icon that centers the title per spec.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title (overridable via the #title slot)","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"max-w-[560px]\"","description":"A Tailwind class (`max-w-sm`) or a CSS value (`420px`, `min(90vw, 40rem)`).","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"max-h-[90vh]\"","description":"Maximum height: a Tailwind class (`max-h-[60vh]`) or a CSS value (`480px`, `calc(100dvh - 4rem)`). When the content is taller, the body scrolls and a divider appears above the actions.","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Prevent closing by clicking the scrim, pressing Escape, or the X button","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Full-screen variant — slides up from the bottom, covers the entire viewport","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Aria label for the close (X) button — falls back to the locale string when omitted","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show the header close (X) button — a library addition, not part of the M3 AlertDialog spec, so it can be turned off","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Just the dialog's box (surface, shape, elevation), scrim, Escape, scroll lock and animation, with the default slot filling it: no title row, padding, close button or actions. For dialogs that draw everything themselves (the date and time pickers). With `fullscreen`, the slot fills the screen and draws its own top bar. `title` then only names it for assistive technology","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the dialog should open/close — powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Dialog body content — scrolls independently when taller than maxHeight. With `bare`, the whole dialog: it fills the box (no title, padding, close button or actions row)"},{"name":"icon","bindings":null,"description":"M3 AlertDialog's optional icon (Secondary color, 24dp expected). Its presence also centers the title, per spec."},{"name":"title","bindings":null,"description":"Overrides the title prop with custom markup"},{"name":"actions","bindings":null,"description":"Row of action buttons — wraps to a new line instead of overflowing when labels are long"}],"exposed":[],"types":[]},{"name":"MDivider","import":"@m3ui-vue/m3ui-vue","description":"A thin separator line, horizontal or vertical, with an optional centered label.","props":[{"name":"vertical","type":"boolean","required":false,"default":"false","description":"Render as a vertical divider (fills the height of a flex container)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text label in the middle of the divider (horizontal only)","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Add left margin (ml-16) to align with content that has a leading icon","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MDragDropList","import":"@m3ui-vue/m3ui-vue","description":"A reorderable list: v-model the array and render each row with the #default slot. Works with a mouse, a finger and the keyboard. The dragged row lifts with M3's dragged-item elevation and the rest slide out of its way.","props":[{"name":"modelValue","type":"DragDropItem[]","required":true,"default":null,"description":"Array of items with a unique id (v-model)","model":true},{"name":"handle","type":"boolean","required":false,"default":"false","description":"Drag only from a handle button at the start of each row. Touch drags start right away from the handle; without it, a whole row starts dragging after a long press so swipes still scroll the page","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns reordering off (pointer and keyboard) and dims the list","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Drops the row's own look (padding, min height, hover/dragged state layer, background) so the slot draws the whole row, e.g. one card per item. Dragging, the lift shadow (as a drop-shadow that follows your content's shape) and keyboard support remain. With `handle`, bind the slot's `handleProps` onto your own grip element.","model":false}],"events":[{"name":"update:modelValue","args":"DragDropItem[]","description":"Emitted with the reordered array (v-model)"},{"name":"reorder","args":"{ from: number; to: number; items: DragDropItem[]; }","description":"Emitted alongside update:modelValue with the source and destination indices. Useful for saving the new order to a backend"}],"slots":[{"name":"default","bindings":"{ item: DragDropItem; index: number; dragging: boolean; handleProps: Record<string, unknown>; }","description":"Content of each row (or the whole row with bare). Falls back to item.id. Controls inside it (checkboxes, switches, buttons, links) keep working and never start a drag. dragging is true while the row is lifted; handleProps (with handle) goes on your own grip element via v-bind"}],"exposed":[],"types":[{"name":"DragDropItem","source":"export interface DragDropItem {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MDragHandle","import":"@m3ui-vue/m3ui-vue","description":"M3's drag handle: the capsule users drag to resize or move something, e.g. the divider between two panes. Port of Compose's `VerticalDragHandle`; it only draws the handle and its pressed/dragged look, the dragging itself is up to the parent (MSplitter uses it).","props":[{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"`vertical` is a tall capsule for horizontal drags (between side-by-side panes); `horizontal` is a wide one for vertical drags.","model":false},{"name":"dragging","type":"boolean","required":false,"default":"false","description":"Show the dragged look (the parent is dragging)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MDrawCanvas","import":"@m3ui-vue/m3ui-vue/draw","description":"A drawing surface: pens that follow a stylus' pressure, an eraser that cuts strokes (and the pen's eraser end), lines, arrows, rectangles, ellipses, text, lasso selection to move, scale or delete, layers, undo and redo, pan and pinch zoom. An infinite canvas, or pages of a fixed size. The drawing is plain data (`v-model`, a list of strokes, shapes and texts), exported as SVG or PNG. Put an MDrawToolbar (or your own, with `useDrawing()`) in its default slot. Not an M3 spec component. Gestures: draw with the pen, mouse or a finger; two fingers pan and zoom (and cancel a stroke a finger just started); the wheel pans, Ctrl + wheel zooms; Space + drag or the middle button pans. With `penOnly` (by default once a stylus has been used) fingers only pan and zoom, so a palm on the screen doesn't draw. Keys: Ctrl+Z undo, Ctrl+Shift+Z or Ctrl+Y redo, Delete removes the selection, Escape drops it, Ctrl+A selects everything.","props":[{"name":"mode","type":"\"infinite\" | \"pages\"","required":false,"default":"\"infinite\"","description":"An endless canvas, or pages of `pageSize` stacked one under another","model":false},{"name":"pageSize","type":"{ width: number; height: number; }","required":false,"default":"{ width: 794, height: 1123 }","description":"A page's size in drawing units (A4 at 96 dpi by default)","model":false},{"name":"paper","type":"string","required":false,"default":"\"#ffffff\"","description":"The paper's color (pages, or the whole infinite canvas)","model":false},{"name":"background","type":"\"none\" | \"grid\" | \"dots\" | \"lines\"","required":false,"default":"\"none\"","description":"A ruling drawn on the paper","model":false},{"name":"backgroundSize","type":"number","required":false,"default":"24","description":"The ruling's spacing","model":false},{"name":"backgroundImage","type":"string","required":false,"default":null,"description":"An image under the drawing, to trace or annotate: fills each page, or sits at (0, 0) on an infinite canvas","model":false},{"name":"backgroundImageBox","type":"DrawBox","required":false,"default":null,"description":"Infinite canvas: where the background image goes and its size, in drawing units (fitView takes it in too)","model":false},{"name":"penOnly","type":"boolean | \"auto\"","required":false,"default":"\"auto\"","description":"Fingers only pan and zoom: `true`, `false`, or `'auto'` (once a stylus has touched the canvas)","model":false},{"name":"pressure","type":"boolean","required":false,"default":"true","description":"Use the stylus' pressure (without one, speed thins the line)","model":false},{"name":"smoothing","type":"number","required":false,"default":"0.5","description":"How much strokes are smoothed, 0–1","model":false},{"name":"eraserSize","type":"number","required":false,"default":"12","description":"The eraser's radius in screen pixels","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo","model":false},{"name":"historySize","type":"number","required":false,"default":"100","description":"","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Look only: no drawing, but pan and zoom","model":false},{"name":"minZoom","type":"number","required":false,"default":"0.1","description":"","model":false},{"name":"maxZoom","type":"number","required":false,"default":"8","description":"","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the canvas","model":false},{"name":"modelValue","type":"DrawItem[]","required":false,"default":"[]","description":"The drawing: strokes, shapes and texts","model":true},{"name":"tool","type":"DrawTool","required":false,"default":"\"pen\"","description":"","model":true},{"name":"color","type":"string","required":false,"default":"\"#1d1b20\"","description":"","model":true},{"name":"size","type":"number","required":false,"default":"4","description":"Pen width, shape line width or font size, by tool","model":true},{"name":"fill","type":"boolean","required":false,"default":"false","description":"New rects and ellipses are filled with the color","model":true},{"name":"layers","type":"DrawLayer[]","required":false,"default":"[]","description":"Layers, bottom first (none: one implicit layer)","model":true},{"name":"layer","type":"string","required":false,"default":null,"description":"The layer new items go on (default: the top one)","model":true},{"name":"pages","type":"number","required":false,"default":"1","description":"How many pages, in `mode=\"pages\"`","model":true},{"name":"selection","type":"string[]","required":false,"default":"[]","description":"The selected items' ids","model":true},{"name":"viewport","type":"{ x: number; y: number; zoom: number; }","required":false,"default":"{ x: 0, y: 0, zoom: 1 }","description":"Pan and zoom: screen = drawing × zoom + (x, y)","model":true}],"events":[{"name":"update:modelValue","args":"value: DrawItem[]","description":""},{"name":"update:tool","args":"value: DrawTool","description":""},{"name":"update:color","args":"value: string","description":""},{"name":"update:size","args":"value: number","description":""},{"name":"update:fill","args":"value: boolean","description":""},{"name":"update:layers","args":"value: DrawLayer[]","description":""},{"name":"update:layer","args":"value: string | undefined","description":""},{"name":"update:pages","args":"value: number","description":""},{"name":"update:selection","args":"value: string[]","description":""},{"name":"update:viewport","args":"value: { x: number; y: number; zoom: number; }","description":""},{"name":"change","args":"items: DrawItem[]","description":"Fires after every edit with the new items (the same as `update:modelValue`)"}],"slots":[{"name":"default","bindings":null,"description":"Overlays: a toolbar (MDrawToolbar), a layers panel (MDrawLayers), anything positioned over the canvas"}],"exposed":[{"name":"undo","type":"() => void","description":""},{"name":"redo","type":"() => void","description":""},{"name":"clear","type":"() => void","description":""},{"name":"deleteSelection","type":"() => void","description":""},{"name":"fitView","type":"() => void","description":""},{"name":"zoomIn","type":"() => void","description":""},{"name":"zoomOut","type":"() => void","description":""},{"name":"exportSvg","type":"(opts?: DrawExportOptions) => string","description":""},{"name":"exportPng","type":"(opts?: DrawExportOptions) => Promise<Blob>","description":""},{"name":"toContent","type":"(e: { clientX: number; clientY: number; }) => { x: number; y: number; }","description":""}],"types":[]},{"name":"MDrawLayers","import":"@m3ui-vue/m3ui-vue/draw","description":"The layers of an MDrawCanvas (put it in its default slot, or anywhere inside it): pick the one you draw on, show or hide, lock, rename (double-click), reorder, add and delete. Top layer first, as drawing apps list them. Deleting a layer deletes what's on it. Not an M3 spec component.","props":[],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MDrawToolbar","import":"@m3ui-vue/m3ui-vue/draw","description":"A floating toolbar for an MDrawCanvas (put it in its default slot): select and pan, the pens, the erasers, shapes (with fill), text, colors, sizes, undo and redo. Pens, erasers and shapes are each one button that remembers the last one picked, with a menu for the others. Sits at the bottom center by default (style its root to move it). Not an M3 spec component.","props":[{"name":"tools","type":"DrawTool[]","required":false,"default":"[\"select\", \"pan\", \"pen\", \"brush\", \"marker\", \"highlighter\", \"eraser\", \"stroke-eraser\", \"line\", \"arrow\", \"rect\", \"ellipse\", \"text\"]","description":"The tools offered (in groups: pens, erasers and shapes share a button each)","model":false},{"name":"colors","type":"string[]","required":false,"default":"[\"#1d1b20\", \"#e53935\", \"#fb8c00\", \"#fdd835\", \"#43a047\", \"#1e88e5\", \"#8e24aa\", \"#ffffff\"]","description":"Color swatches","model":false},{"name":"sizes","type":"number[]","required":false,"default":"[2, 4, 8, 16]","description":"Sizes offered (pen width; a shape's line is the same, text is 4× it)","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo","model":false},{"name":"customColor","type":"boolean","required":false,"default":"true","description":"A button that opens a color picker for any color","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"More controls at the start"},{"name":"end","bindings":null,"description":"More controls at the end"}],"exposed":[],"types":[]},{"name":"MEmoji","import":"@m3ui-vue/m3ui-vue","description":"Renders a single emoji character at a fixed pixel size, with optional accessible labeling.","props":[{"name":"emoji","type":"string","required":true,"default":null,"description":"The emoji character to display — required","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Size in pixels (sets font-size, width, and height)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — when set, adds role=\"img\" and aria-label","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiButton","import":"@m3ui-vue/m3ui-vue","description":"A single emoji button that cycles through a random pool on hover (Discord-style) and emits whichever emoji is showing when clicked.","props":[{"name":"emoji","type":"string","required":false,"default":"\"😀\"","description":"Default/current emoji shown before any hover cycling or click","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Emoji font size in pixels (the button itself is size + 12px)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label — defaults to 'Emoji {emoji}'","model":false},{"name":"randomOnHover","type":"boolean","required":false,"default":"true","description":"Cycle to a random emoji on hover (Discord-style)","model":false},{"name":"category","type":"string","required":false,"default":null,"description":"Limit random pool to a category id (e.g. 'smileys', 'animals')","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false}],"events":[{"name":"click","args":"emoji: string","description":"Emitted on click with the currently displayed emoji (whatever hover last cycled to)"}],"slots":[],"exposed":[],"types":[]},{"name":"MEmojiSelector","import":"@m3ui-vue/m3ui-vue","description":"An emoji picker in the style of Android's and Gboard's: the full Unicode set (Emoji 15.0) by category, recently used ones first, skin tones, and search by name in the app's language. The names come from Unicode's CLDR and load only when the picker is used, one language at a time.","props":[{"name":"categories","type":"string[]","required":false,"default":null,"description":"Which categories to show (ids). All if empty.","model":false},{"name":"search","type":"boolean","required":false,"default":"true","description":"Show the search field.","model":false},{"name":"columns","type":"number","required":false,"default":null,"description":"Fixed number of columns. By default as many as fit.","model":false},{"name":"emojiSize","type":"number","required":false,"default":"28","description":"Emoji size in px.","model":false},{"name":"recent","type":"boolean","required":false,"default":"true","description":"Remember picked emoji and show them first (stored in localStorage).","model":false},{"name":"recentLimit","type":"number","required":false,"default":"24","description":"How many recent emoji to keep.","model":false},{"name":"skinTones","type":"boolean","required":false,"default":"true","description":"Offer skin tones (long press, right click or Shift+Enter on an emoji, or the footer button).","model":false},{"name":"preview","type":"boolean","required":false,"default":"true","description":"Show the hovered or focused emoji with its name at the bottom.","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Height of the scrolling grid.","model":false}],"events":[{"name":"select","args":"emoji: string","description":"An emoji was picked, with the skin tone applied"}],"slots":[],"exposed":[{"name":"focus","type":"() => void | undefined","description":""}],"types":[]},{"name":"MEmptyState","import":"@m3ui-vue/m3ui-vue","description":"A placeholder for empty views — icon, title, description, and optional action buttons.","props":[{"name":"icon","type":"string","required":false,"default":"\"inbox\"","description":"Material Symbol icon","model":false},{"name":"title","type":"string","required":true,"default":null,"description":"Title text — required","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Supporting description","model":false},{"name":"compact","type":"boolean","required":false,"default":null,"description":"Smaller variant (24px icon in a 48px circle, less padding)","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons rendered below the description"}],"exposed":[],"types":[]},{"name":"MExpansionPanel","import":"@m3ui-vue/m3ui-vue","description":"A collapsible section with a smooth height animation. Works controlled via v-model, or uncontrolled by simply omitting modelValue.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Panel header text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text in the header, below the title","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon in the header","model":false},{"name":"modelValue","type":"boolean","required":false,"default":null,"description":"Open/closed state (v-model). Omit it entirely to let the panel manage its own open state internally (uncontrolled).","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables toggling","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Visual style of the panel container","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the panel is toggled — only meaningful when modelValue is passed (controlled usage); powers v-model"}],"slots":[{"name":"default","bindings":null,"description":"Panel body content, revealed with a height animation when open"}],"exposed":[],"types":[]},{"name":"MExportButton","import":"@m3ui-vue/m3ui-vue","description":"Serializes the data prop and triggers a real browser download — no dependencies.","props":[{"name":"data","type":"Record<string, unknown>[]","required":true,"default":null,"description":"Array of objects to export","model":false},{"name":"format","type":"\"json\" | \"csv\"","required":false,"default":"\"csv\"","description":"Export format","model":false},{"name":"filename","type":"string","required":false,"default":"\"export\"","description":"Filename without extension — the extension is added automatically","model":false},{"name":"label","type":"string","required":false,"default":"\"Export\"","description":"Button label (overridden by the default slot)","model":false},{"name":"icon","type":"string","required":false,"default":"\"download\"","description":"Leading Material Symbol icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\" | \"text\"","required":false,"default":"\"outlined\"","description":"Visual style (same as MButton)","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the button","model":false}],"events":[{"name":"error","args":"unknown","description":"Emitted if serialization or the download trigger fails"},{"name":"exported","args":"{ format: string; filename: string; }","description":"Emitted after a successful download is triggered"}],"slots":[{"name":"default","bindings":null,"description":"Replaces the label text prop"}],"exposed":[],"types":[]},{"name":"MFab","import":"@m3ui-vue/m3ui-vue","description":"A Floating Action Button for the primary action of a screen. Supports extended (icon+label), a speed-dial of small items, or a fully custom expanding panel via the `#content` slot.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Extended FAB label text","model":false},{"name":"expanded","type":"boolean","required":false,"default":"true","description":"Extended FAB only: false collapses it to a plain FAB (the label fades out and the width shrinks to a square), e.g. while the content scrolls. Compose's `expanded`","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":null,"description":"Color scheme; defaults to primary, or secondary inside an MBottomAppBar","model":false},{"name":"size","type":"\"small\" | \"medium\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"FAB size. With a `label`, small/medium/large are M3 Expressive's extended FABs (56/80/96px, title-medium, title-large and headline-small labels); regular is the baseline extended FAB","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"items","type":"SpeedDialItem[]","required":false,"default":null,"description":"Speed-dial child items (see `SpeedDialItem`)","model":false},{"name":"direction","type":"\"right\" | \"left\" | \"up\" | \"down\" | \"radial\"","required":false,"default":"\"up\"","description":"Speed-dial expand direction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep speed-dial open after clicking an item or clicking outside","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"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.","model":false},{"name":"scrim","type":"boolean","required":false,"default":"false","description":"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.","model":false},{"name":"contentTransition","type":"\"none\" | \"scale\" | \"fade\"","required":false,"default":"\"scale\"","description":"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.","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the FAB's content color","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the FAB itself is clicked (not a speed-dial item)"}],"slots":[{"name":"content","bindings":"{ close: () => boolean; }","description":"A panel anchored to the FAB that opens when you press it, instead of the `items` speed dial. `close()` closes it."}],"exposed":[],"types":[{"name":"SpeedDialItem","source":"export interface SpeedDialItem {\n icon: string\n label?: string\n to?: string | Record<string, any>\n onClick?: () => void\n}"}]},{"name":"MFabMenu","import":"@m3ui-vue/m3ui-vue","description":"The M3 \"FAB Menu\" — a thin wrapper around `MFab`'s `#content` slot, so opening/closing, the icon's 45° morph, outside-click, and scroll-away are all inherited from `MFab` — this component only supplies the row list. Unlike the small circular buttons of a speed dial (`MFab`'s `items` prop), each row is a full icon+label pill, revealed one at a time starting from the item closest to the FAB.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Trigger FAB's Material Symbol icon — use a symmetric one like 'add', since MFab rotates it 45° on open (turning a + into a ×)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Shows the trigger as an extended FAB (icon + text) instead of icon-only.","model":false},{"name":"items","type":"FabMenuItem[]","required":true,"default":null,"description":"The menu's items; see `FabMenuItem`. An item's own color overrides the menu's color for just that row.","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme applied to both the trigger FAB and every menu item row","model":false},{"name":"size","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"regular\"","description":"Trigger FAB size — independent from `itemSize` below.","model":false},{"name":"itemSize","type":"\"small\" | \"large\" | \"regular\"","required":false,"default":"\"large\"","description":"Menu item row size — independent from the trigger FAB's own `size`.","model":false},{"name":"direction","type":"\"up\" | \"down\"","required":false,"default":"\"up\"","description":"Which side of the FAB the menu list opens toward","model":false},{"name":"align","type":"\"start\" | \"end\"","required":false,"default":"\"end\"","description":"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","model":false},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Dim the rest of the screen while the menu is open","model":false},{"name":"persistent","type":"boolean","required":false,"default":"false","description":"Keep the menu open after clicking an item or clicking outside","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the trigger FAB","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"FabMenuItem","source":"export interface FabMenuItem {\n icon: string\n label: string\n to?: string | Record<string, any>\n onClick?: () => void\n disabled?: boolean\n /** Overrides the menu's own `color` for just this row. */\n color?: 'primary' | 'secondary' | 'tertiary' | 'surface'\n}"}]},{"name":"MFileUpload","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop file upload zone with image previews, per-file size formatting, and progress/status display. It only selects files: uploading them is up to you, and each entry's status and progress show how it's going.","props":[{"name":"accept","type":"string","required":false,"default":null,"description":"Accepted file types (e.g. \".png,.jpg\", \"image/*\")","model":false},{"name":"multiple","type":"boolean","required":false,"default":"false","description":"Allow multiple files","model":false},{"name":"maxSize","type":"number","required":false,"default":null,"description":"Max file size in bytes — oversized files are silently filtered out","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the upload area","model":false},{"name":"dropText","type":"string","required":false,"default":null,"description":"Drop zone main text (defaults to the locale string)","model":false},{"name":"selectText","type":"string","required":false,"default":null,"description":"Drop zone select link text (defaults to the locale string)","model":false},{"name":"maxSizePrefix","type":"string","required":false,"default":null,"description":"Prefix shown before the formatted max size (defaults to the locale string)","model":false},{"name":"removeLabel","type":"string","required":false,"default":null,"description":"Aria label for each file row's remove button (defaults to the locale string)","model":false},{"name":"modelValue","type":"UploadFile[]","required":false,"default":null,"description":"Optional v-model. Bind it to own the list: clear it, or update each entry's status/progress. Unbound, the component keeps the list itself.","model":true}],"events":[{"name":"update:modelValue","args":"UploadFile[]","description":"Emitted with the new list whenever files are added, removed or cleared (v-model)"},{"name":"select","args":"UploadFile[]","description":"Emitted with the newly accepted files whenever files are added (drop or picker)"},{"name":"remove","args":"UploadFile","description":"Emitted when a file is removed from the list with its remove button"}],"slots":[{"name":"dropzone","bindings":null,"description":"Replaces the default icon + text content of the drop zone"},{"name":"actions","bindings":"{ files: UploadFile[]; clear: () => void; }","description":"Shown below the list while it has files, e.g. an \"Upload\" button."}],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"files","type":"UploadFile[]","description":""}],"types":[{"name":"UploadFile","source":"export interface UploadFile {\n file: File\n id: string\n progress: number\n status: 'pending' | 'uploading' | 'done' | 'error'\n preview?: string\n}"}]},{"name":"MFixed","import":"@m3ui-vue/m3ui-vue","description":"Same API as MAbsolute but uses `position: fixed`. Positions elements relative to the viewport, not a positioned ancestor.","props":[{"name":"placement","type":"Placement","required":false,"default":null,"description":"Preset corner/edge placement","model":false},{"name":"offset","type":"string | number","required":false,"default":"0","description":"Distance from edges when using placement (applies to both axes)","model":false},{"name":"offsetX","type":"string | number","required":false,"default":null,"description":"Horizontal offset — overrides offset for the X axis","model":false},{"name":"offsetY","type":"string | number","required":false,"default":null,"description":"Vertical offset — overrides offset for the Y axis","model":false},{"name":"top","type":"string | number","required":false,"default":null,"description":"Top offset (number = px)","model":false},{"name":"right","type":"string | number","required":false,"default":null,"description":"Right offset","model":false},{"name":"bottom","type":"string | number","required":false,"default":null,"description":"Bottom offset","model":false},{"name":"left","type":"string | number","required":false,"default":null,"description":"Left offset","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Set all sides to 0","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[]},{"name":"MFlex","import":"@m3ui-vue/m3ui-vue","description":"A thin, prop-driven wrapper around CSS flexbox — direction, alignment, justification, gap, and wrap.","props":[{"name":"direction","type":"\"row\" | \"column\" | \"row-reverse\" | \"column-reverse\"","required":false,"default":"\"row\"","description":"Flex direction","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment (align-items)","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"between\" | \"around\" | \"evenly\" | \"end\"","required":false,"default":"\"start\"","description":"Main-axis alignment (justify-content)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"none\"","description":"Gap between items","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex instead of flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The flex items."}],"exposed":[],"types":[]},{"name":"MFloorPlan","import":"@m3ui-vue/m3ui-vue","description":"A floor plan of tables: to arrange them (`editable`: drag one or several, snapped to a grid, arrows nudge) and to run service (each table colored by its status, with a badge, a click to open it). Merged tables are drawn as one group. Positions are plan units scaled to the component's width, so the same plan fits a phone and a wall screen. Not an M3 spec component. Editing: drag tables (Shift-click picks several), zones (resize by any corner), walls (drag a corner once picked; double-click a wall for a new corner) and decor (resize by its corner); rotate the picked table or decor by the handle above it (15° steps, Shift for free). Arrows nudge, Delete removes what's picked (a wall's picked corner, or the selected tables), Ctrl+D duplicates, Ctrl+Z / Ctrl+Shift+Z undo and redo. `v-model:picked` says which zone, wall or decor is picked, for an inspector of your own.","props":[{"name":"width","type":"number","required":false,"default":"1000","description":"The plan's size in plan units","model":false},{"name":"height","type":"number","required":false,"default":"600","description":"","model":false},{"name":"statuses","type":"Record<string, FloorStatus>","required":false,"default":"{\n free: { label: \"Free\", color: \"surface\" },\n occupied: { label: \"Occupied\", color: \"primary\", icon: \"restaurant\" },\n bill: { label: \"Bill requested\", color: \"tertiary\", icon: \"receipt_long\" },\n reserved: { label: \"Reserved\", color: \"secondary\", icon: \"event\" },\n}","description":"Status keys to their look","model":false},{"name":"editable","type":"boolean","required":false,"default":"false","description":"Drag tables around; otherwise a click opens one","model":false},{"name":"grid","type":"number","required":false,"default":"10","description":"Grid step in plan units (0: no snapping)","model":false},{"name":"showGrid","type":"boolean","required":false,"default":"true","description":"Draw the grid while editing","model":false},{"name":"tableSnap","type":"\"point\" | \"cell\"","required":false,"default":"\"point\"","description":"Where a table's middle snaps: `point` a grid point (default), `cell` the middle of a grid square, so tables sit in the squares between the points while walls, zones and decor snap to the points (a plan of cells)","model":false},{"name":"subgrid","type":"number","required":false,"default":"1","description":"Snapping steps per grid square for walls, zones and decor: 2 puts them on the points and halfway between them (tables keep to the grid). Drawn as smaller dots","model":false},{"name":"chairs","type":"boolean","required":false,"default":"true","description":"Draw chairs from `seats`","model":false},{"name":"measure","type":"FloorMeasure","required":false,"default":null,"description":"Real lengths: while editing, the picked wall's or zone's sides, the wall being drawn, and the picked table's or decor's size are labeled in your unit (the inspector's sizes too)","model":false},{"name":"seatNumbers","type":"boolean","required":false,"default":null,"description":"Number the chairs (1 from the top-left, clockwise); in service a click on one emits `seat-click`","model":false},{"name":"decorKinds","type":"Record<string, FloorDecorKind>","required":false,"default":null,"description":"Decor kinds of yours, or the built-in ones restyled (merged over them by name)","model":false},{"name":"rotatable","type":"boolean | (\"table\" | \"decor\")[]","required":false,"default":"true","description":"What the turning handle turns: everything (`true`), nothing, or only these kinds (`['decor']` when your app keeps no tables' angles)","model":false},{"name":"cellSize","type":"number","required":false,"default":null,"description":"Tables placed by cell: their `x` / `y` are a column and a row (whole numbers from 0), each cell this many plan units wide. A table's middle sits in the middle of its cell and steps a cell at a time, and every table you get back (`update:tables`, `move`, events, slots) is in columns and rows. Zones, walls and decor stay in plan units","model":false},{"name":"zoomable","type":"boolean","required":false,"default":"false","description":"Zoom and pan: Ctrl + wheel or a pinch zooms (from the plan's own size up to `maxZoom`), the wheel, two fingers, a middle-button drag or (outside editing, or with a finger) a drag on empty floor pans, with + / − / fit buttons","model":false},{"name":"maxZoom","type":"number","required":false,"default":"4","description":"","model":false},{"name":"zoomControls","type":"boolean","required":false,"default":"true","description":"The zoom buttons, when zoomable","model":false},{"name":"backgroundImage","type":"string","required":false,"default":null,"description":"An image under everything (a scanned floor plan to trace over), placed in plan units (default: the whole plan)","model":false},{"name":"backgroundBox","type":"{ x: number; y: number; width: number; height: number; }","required":false,"default":null,"description":"","model":false},{"name":"backgroundOpacity","type":"number","required":false,"default":"0.5","description":"Its opacity","model":false},{"name":"tableOrigin","type":"\"center\" | \"corner\"","required":false,"default":"\"center\"","description":"Which point of a table `x` / `y` name: its middle (default) or its top-left corner (unturned), as your data keeps it","model":false},{"name":"overlap","type":"\"warn\" | \"allow\" | \"prevent\"","required":false,"default":"\"warn\"","description":"Tables that overlap while editing: `warn` outlines them (default), `prevent` also undoes a move or a resize that would make one overlap another, `allow` says nothing","model":false},{"name":"resizeSnap","type":"\"grid\" | \"free\" | \"subgrid\"","required":false,"default":"\"free\"","description":"How a resize handle steps (tables and decor): `grid` whole grid squares, `subgrid` the snapping step of walls and zones (`subgrid`), `free` not at all. The change steps, not the size: a table drawn a little smaller than its square keeps that margin and grows by whole squares","model":false},{"name":"resizable","type":"boolean","required":false,"default":"true","description":"The handle that resizes the selected table (off when your tables keep one size)","model":false},{"name":"dragMerged","type":"boolean","required":false,"default":"false","description":"Dragging (or nudging) a merged table moves its whole merge with it","model":false},{"name":"selectable","type":"\"none\" | \"multiple\" | \"single\"","required":false,"default":"\"none\"","description":"What a click on a table selects outside editing: nothing, one, or several (toggling; to merge them). While editing, `multiple` keeps clicks toggling tables in and out of the selection, and a drag moves the table pressed on its own (to bring the ones being merged together)","model":false},{"name":"transferable","type":"boolean","required":false,"default":null,"description":"In service, a table carried onto another one emits `transfer` (to move its party, its bill): a mouse drags it, a finger holds it down first. The table itself doesn't move","model":false},{"name":"canTransfer","type":"((from: FloorTable, to: FloorTable) => string | boolean)","required":false,"default":null,"description":"Whether a table's party may go to another table: `true`, or `false` / a reason (`transfer-refused` carries it)","model":false},{"name":"canMerge","type":"((ids: (string | number)[]) => string | boolean)","required":false,"default":null,"description":"Whether these tables may be merged: `true`, or `false` / a reason to refuse (shown by `merge-refused`)","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name","model":false},{"name":"tables","type":"FloorTable[]","required":false,"default":"[]","description":"The tables as you keep them: plan units, or cells (`cellSize`), by their middle or corner (`tableOrigin`)","model":true},{"name":"merges","type":"FloorMerge[]","required":false,"default":"[]","description":"","model":true},{"name":"selection","type":"(string | number)[]","required":false,"default":"[]","description":"","model":true},{"name":"areas","type":"FloorArea[]","required":false,"default":"[]","description":"","model":true},{"name":"walls","type":"FloorWall[]","required":false,"default":"[]","description":"","model":true},{"name":"decor","type":"FloorDecor[]","required":false,"default":"[]","description":"","model":true},{"name":"tool","type":"\"select\" | \"area\" | \"polygon\" | \"wall\"","required":false,"default":"\"select\"","description":"While editing: `select` moves things, `wall` draws a wall (click each corner, double-click or Enter to end), `area` drags out a rectangular zone, `polygon` draws a zone of any shape corner by corner (click the first corner, double-click or Enter to close it)","model":true},{"name":"picked","type":"FloorPick","required":false,"default":"null","description":"While editing: the zone, wall (and corner) or decor item picked, for an inspector of your own","model":true},{"name":"zoom","type":"number","required":false,"default":"1","description":"Zoom (1: the whole plan; up to `maxZoom`), with `zoomable`","model":true}],"events":[{"name":"split","args":"merge: FloorMerge","description":""},{"name":"update:tool","args":"value: \"select\" | \"area\" | \"polygon\" | \"wall\"","description":""},{"name":"update:selection","args":"value: (string | number)[]","description":""},{"name":"update:tables","args":"value: FloorTable[]","description":""},{"name":"update:merges","args":"value: FloorMerge[]","description":""},{"name":"update:areas","args":"value: FloorArea[]","description":""},{"name":"update:walls","args":"value: FloorWall[]","description":""},{"name":"update:decor","args":"value: FloorDecor[]","description":""},{"name":"update:picked","args":"value: FloorPick","description":""},{"name":"update:zoom","args":"value: number","description":""},{"name":"merge","args":"merge: FloorMerge","description":""},{"name":"merge-refused","args":"ids: (string | number)[], reason: string","description":""},{"name":"transfer","args":"from: FloorTable, to: FloorTable","description":""},{"name":"seat-click","args":"table: FloorTable, seat: number, event: MouseEvent","description":""},{"name":"transfer-refused","args":"from: FloorTable, to: FloorTable, reason: string","description":""},{"name":"table-click","args":"table: FloorTable, event: MouseEvent | KeyboardEvent","description":"A table was clicked or opened with Enter (not after a drag)"},{"name":"move","args":"moved: { id: string | number; x: number; y: number; }[]","description":"Tables moved by a drag or the arrows, with their new positions (`{ id, x, y }[]`), to save them"}],"slots":[{"name":"area","bindings":"{ area: FloorArea; picked: boolean; scale: number; }","description":""},{"name":"decor","bindings":"{ item: FloorDecor; kind: FloorDecorKind; picked: boolean; scale: number; }","description":""},{"name":"merge","bindings":"{ merge: FloorMerge; tables: (string | number)[]; }","description":""},{"name":"table","bindings":"{ table: FloorTable; status: FloorStatus | undefined; selected: boolean; }","description":"The inside of a table: `{ table, status, selected }`"},{"name":"overlay","bindings":"{ scale: number; toPx: (v: number) => number; }","description":""}],"exposed":[{"name":"context","type":"FloorPlanContext","description":"Everything above and more, for MFloorPlanToolbar / MFloorPlanInspector outside the plan (`:plan=\"plan\"`)"},{"name":"addTable","type":"(t?: Partial<FloorTable>) => FloorTable","description":""},{"name":"addDecor","type":"(kind: string, d?: Partial<FloorDecor>) => FloorDecor","description":""},{"name":"update","type":"(kind: FloorItemKind, id: string | number, patch: Record<string, unknown>) => void","description":""},{"name":"removeSelected","type":"() => void","description":""},{"name":"merge","type":"(ids?: (string | number)[], label?: string | undefined) => FloorMerge | null","description":"Merge tables (default: the selection) / split a merge (by its id or a table's)"},{"name":"split","type":"(idOrTable: string | number) => void","description":""},{"name":"undo","type":"() => void","description":"Undo / redo the plan's own edits (also Ctrl+Z, Ctrl+Shift+Z or Ctrl+Y)"},{"name":"redo","type":"() => void","description":""},{"name":"canUndo","type":"boolean","description":""},{"name":"canRedo","type":"boolean","description":""},{"name":"duplicate","type":"() => void","description":"Copy the selected tables, or the picked zone or decor (also Ctrl+D)"},{"name":"removeTables","type":"(ids: (string | number)[]) => void","description":"Remove tables, taking them out of their merges (Delete does it for the selection)"},{"name":"zoomTo","type":"(z: number, px?: number | undefined, py?: number | undefined) => void","description":"Zoom (with `zoomable`): to a level, keeping the plan point under (px, py) in place; and centering on a plan point"},{"name":"centerOn","type":"(x: number, y: number, z?: number) => void","description":""},{"name":"toSVG","type":"() => string","description":"The plan as a standalone SVG string, or a PNG Blob (`pixelRatio` px per plan unit)"},{"name":"toPNG","type":"(pixelRatio?: number) => Promise<Blob>","description":""}],"types":[{"name":"FloorTable","source":"/** A table on the plan, in plan units (not pixels) */\nexport interface FloorTable {\n id: string | number\n label: string\n x: number\n y: number\n shape?: 'round' | 'square' | 'rect'\n seats?: number\n /** Size in plan units (default: from the shape and the seats) */\n width?: number\n height?: number\n /** Degrees */\n rotation?: number\n /** A key of `statuses` */\n status?: string\n /** A small badge: minutes seated, the total, a count… */\n badge?: string | number\n /** Seats taken (numbered from 1, clockwise from the top-left), drawn in the status color */\n activeSeats?: number[]\n data?: Record<string, unknown>\n}"},{"name":"FloorMerge","source":"/** Tables joined together (drawn as one group) */\nexport interface FloorMerge {\n id: string | number\n tables: (string | number)[]\n label?: string\n}"},{"name":"FloorStatus","source":"/** How a status looks: an M3 color role ('primary', 'tertiary', 'error'…) or any CSS color, an icon, a name */\nexport interface FloorStatus {\n label: string\n color: string\n icon?: string\n}"},{"name":"FloorArea","source":"/** A zone of the room (terrace, main hall, VIP): a rectangle behind the tables */\nexport interface FloorArea {\n id: string | number\n label?: string\n x: number\n y: number\n width: number\n height: number\n /** An M3 color role or any CSS color */\n color?: string\n /**\n * A zone of any shape (an L-shaped room): its corners. x / y / width / height are then the box around them, kept up\n * to date. Double-click a rectangular zone's edge to give it corners\n */\n points?: [number, number][]\n}"},{"name":"FloorWall","source":"/** A wall: a line through its points */\nexport interface FloorWall {\n id: string | number\n points: [number, number][]\n thickness?: number\n}"},{"name":"FloorDecor","source":"/** Something on the plan that isn't a table: a door, a window, a plant, a column, the register, a text label… */\nexport interface FloorDecor {\n id: string | number\n /** A built-in kind, or one of yours from `decorKinds` */\n kind: FloorDecorBuiltin | (string & {})\n x: number\n y: number\n width?: number\n height?: number\n rotation?: number\n /** Mirrored across its length: a door hinged on the other side */\n flip?: boolean\n /** The text of a label (or a caption under the others) */\n label?: string\n}"},{"name":"FloorPick","source":"/** What's picked on the plan besides tables: a zone, a wall (and one of its corners, as a zone of any shape) or a decor item */\nexport type FloorPick = { kind: 'area' | 'wall' | 'decor'; id: string | number; vertex?: number } | null"},{"name":"FloorDecorKind","source":"/** How a decor kind looks: its default size, an icon, a shape and fill; yours or a built-in one restyled */\nexport interface FloorDecorKind {\n /** Name, for the accessible label */\n label?: string\n icon?: string\n width: number\n height: number\n /**\n * `box` a rounded rectangle, `round` a circle, `bar` a thin slab, `door` an opening with its leaf and swing (as on an\n * architect's plan), `window` a framed pane, `text` the item's label only. A door or window cuts the wall it sits on\n */\n shape?: 'box' | 'round' | 'bar' | 'door' | 'window' | 'text'\n /** Fill: an M3 color role (`surface`, `primary`…) or any CSS color */\n color?: string\n}"},{"name":"FloorDecorBuiltin","source":"export type FloorDecorBuiltin = 'door' | 'window' | 'plant' | 'column' | 'restroom' | 'kitchen' | 'register' | 'stairs' | 'label'"},{"name":"FloorMeasure","source":"/** Real lengths for the plan: `per` plan units make one `unit` (100 and 'm': a plan unit is a centimeter) */\nexport interface FloorMeasure {\n unit: string\n per: number\n /** Decimals shown (default 2) */\n decimals?: number\n}"}]},{"name":"MFloorPlanInspector","import":"@m3ui-vue/m3ui-vue","description":"Edits what's picked on an MFloorPlan: a table (name, seats, shape, angle; split it if merged), several tables (merge them), a zone (name, color), a wall (thickness, delete a corner) or decor (text, size, angle, a door's side); duplicate and delete. A slot per kind adds fields of your own below the built-in ones, with an `update` to change the item (an undo step). Inside the plan's `#overlay` slot it finds the plan by itself; anywhere else, pass the plan's template ref as `plan`. Not an M3 spec component.","props":[{"name":"plan","type":"FloorPlanContext | { context: FloorPlanContext; } | null","required":false,"default":"null","description":"The plan: its template ref (or its `context`). Not needed inside the plan's slots","model":false},{"name":"zoneColors","type":"string[]","required":false,"default":"[\"secondary\", \"tertiary\", \"primary\", \"success\", \"error\"]","description":"Colors offered for zones: M3 color roles or CSS colors","model":false},{"name":"merging","type":"boolean","required":false,"default":"true","description":"Merge and split buttons","model":false}],"events":[],"slots":[{"name":"table","bindings":"{ table: FloorTable; update: (p: Partial<FloorTable>) => void; }","description":"Below a table's fields: `{ table, update }`"},{"name":"tables","bindings":"{ ids: (string | number)[]; }","description":"Below several picked tables: `{ ids }`"},{"name":"area","bindings":"{ area: FloorArea; update: (p: Partial<FloorArea>) => void; }","description":"Below a zone's fields: `{ area, update }`"},{"name":"wall","bindings":"{ wall: FloorWall; update: (p: Partial<FloorWall>) => void; }","description":"Below a wall's fields: `{ wall, update }`"},{"name":"decor","bindings":"{ item: FloorDecor; kind: FloorDecorKind | undefined; update: (p: Partial<FloorDecor>) => void; }","description":"Below a decor item's fields: `{ item, kind, update }`"},{"name":"empty","bindings":null,"description":"When nothing is picked"}],"exposed":[],"types":[]},{"name":"MFloorPlanToolbar","import":"@m3ui-vue/m3ui-vue","description":"A toolbar for editing an MFloorPlan: move / draw a wall / drag out a zone / draw a zone of any shape, add a table (your presets) or decor (any kind, yours too), duplicate, delete, undo and redo. Inside the plan's `#overlay` slot it finds the plan by itself; anywhere else, pass the plan's template ref as `plan`. Not an M3 spec component.","props":[{"name":"plan","type":"FloorPlanContext | { context: FloorPlanContext; } | null","required":false,"default":"null","description":"The plan: its template ref (or its `context`). Not needed inside the plan's slots","model":false},{"name":"tables","type":"FloorTablePreset[]","required":false,"default":"[\n { shape: \"round\", seats: 2 },\n { shape: \"round\", seats: 4 },\n { shape: \"square\", seats: 4 },\n { shape: \"rect\", seats: 6 },\n]","description":"Tables offered by Add a table (name, shape, seats, size…); `[]` hides it, when your app creates tables elsewhere","model":false},{"name":"decor","type":"string[]","required":false,"default":null,"description":"Decor kinds offered (default: every kind the plan knows, yours included)","model":false},{"name":"tools","type":"boolean","required":false,"default":"true","description":"Move / wall / zone","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"More controls at the start"},{"name":"end","bindings":null,"description":"More controls at the end"}],"exposed":[],"types":[{"name":"FloorTablePreset","source":"/** A table offered by the toolbar's Add a table menu */\nexport type FloorTablePreset = Partial<FloorTable> & { name?: string }"}]},{"name":"MFlow","import":"@m3ui-vue/m3ui-vue/flow","description":"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.","props":[{"name":"nodes","type":"FlowNode<any>[]","required":false,"default":"[]","description":"","model":true},{"name":"edges","type":"FlowEdge<any>[]","required":false,"default":"[]","description":"","model":true},{"name":"viewport","type":"FlowViewport","required":false,"default":null,"description":"The view (v-model)","model":true},{"name":"selection","type":"FlowSelection","required":false,"default":null,"description":"Selected node and edge ids (v-model)","model":true},{"name":"locked","type":"boolean","required":false,"default":"false","description":"Switches off moving, connecting, selecting and deleting; the view still pans and zooms (v-model)","model":true},{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Which way edges run by default: where the default node's handles go and the layout's direction","model":false},{"name":"background","type":"\"none\" | \"grid\" | \"dots\"","required":false,"default":"\"dots\"","description":"","model":false},{"name":"gridSize","type":"number","required":false,"default":"20","description":"The background's spacing, and the grid nodes snap to, px","model":false},{"name":"snapToGrid","type":"boolean","required":false,"default":"false","description":"","model":false},{"name":"minZoom","type":"number","required":false,"default":"0.2","description":"","model":false},{"name":"maxZoom","type":"number","required":false,"default":"4","description":"","model":false},{"name":"fitView","type":"boolean","required":false,"default":"false","description":"Fits the nodes in view once they're measured, and again after each automatic `layout`","model":false},{"name":"wheel","type":"\"pan\" | \"zoom\"","required":false,"default":"\"pan\"","description":"What the plain wheel does (Ctrl + wheel always zooms)","model":false},{"name":"zoomOnDoubleClick","type":"boolean","required":false,"default":"true","description":"A double click on the background zooms in","model":false},{"name":"panOnDrag","type":"boolean","required":false,"default":"true","description":"Dragging the background pans; off, it draws a selection box","model":false},{"name":"selectionOnDrag","type":"boolean","required":false,"default":"false","description":"Dragging the background draws a selection box (Shift + drag always does)","model":false},{"name":"nodesDraggable","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"nodesConnectable","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"elementsSelectable","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"edgesReconnectable","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"edgesReroutable","type":"boolean","required":false,"default":"false","description":"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","model":false},{"name":"edgeSpacing","type":"number","required":false,"default":"0","description":"`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","model":false},{"name":"defaultEdgeOptions","type":"Partial<FlowEdge<any>>","required":false,"default":null,"description":"Merged into edges made by connecting (`type`, `animated`, `markerEnd`…)","model":false},{"name":"autoConnect","type":"boolean","required":false,"default":"true","description":"Adds an edge to `edges` when a connection is made; off, only `connect` fires","model":false},{"name":"isValidConnection","type":"((c: FlowConnection) => boolean)","required":false,"default":null,"description":"Whether a connection may be made (no duplicates or same-node loops are offered either way)","model":false},{"name":"connectionRadius","type":"number","required":false,"default":"24","description":"How close to a handle a connection snaps to it, px","model":false},{"name":"beforeDelete","type":"((items: { nodes: FlowNode<any>[]; edges: FlowEdge<any>[]; }) => boolean | Promise<boolean>)","required":false,"default":null,"description":"Asked before anything is deleted (the keyboard, an edge's ×, an edge dropped on nothing, `remove()`), with what would go: return false to keep it, or a Promise (a confirm dialog) that resolves to whether to delete","model":false},{"name":"deleteKeys","type":"string[] | null","required":false,"default":"[\"Delete\", \"Backspace\"]","description":"Keys that delete the selection; `null` turns deleting off","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo (Ctrl+Z, Ctrl+Shift+Z / Ctrl+Y), over every change to nodes and edges","model":false},{"name":"historySize","type":"number","required":false,"default":"100","description":"","model":false},{"name":"guides","type":"boolean","required":false,"default":"true","description":"Alignment guides while dragging one node","model":false},{"name":"layout","type":"\"tree\" | \"layered\" | FlowLayout | null","required":false,"default":"null","description":"Lays the nodes out when the graph's shape changes (nodes or edges added, removed, hidden)","model":false},{"name":"layoutOptions","type":"FlowLayoutOptions","required":false,"default":null,"description":"","model":false},{"name":"insertOnEdge","type":"boolean","required":false,"default":"true","description":"A node with no connections dropped onto an edge splices into it: A → C becomes A → B → C (the edge lights up while it's over one). Only when both new connections are valid. Without room between A and C, the node moves to sit after A and C moves on (with everything after it) along the flow's `direction`","model":false},{"name":"dropIntoGroups","type":"boolean","required":false,"default":"false","description":"Nodes dropped onto a `group` join it (and leave it when dropped outside)","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Positions spring to their new place when they change from outside","model":false},{"name":"getId","type":"((kind: \"edge\" | \"node\") => string)","required":false,"default":null,"description":"Makes ids for pasted nodes and new edges","model":false},{"name":"edgeBranching","type":"boolean | \"junction\"","required":false,"default":"false","description":"A drag that starts on an edge draws a new edge from the same source, a branch, as in a circuit editor (the preview leaves from where you grabbed it). A click still selects the edge; with a finger, only a selected edge branches, so a swipe across one still pans. `'junction'`: the branch leaves from the very point you grabbed, as in Logisim: nothing is added, `branch` fires with that point on the edge, and you split the edge there with a junction node of your own (or leave a loose end where it was dropped on nothing)","model":false},{"name":"nativeContextMenu","type":"boolean","required":false,"default":"false","description":"Let the browser's own context menu open on the canvas (right click, or a long press on a phone). Off by default: the `*-contextmenu` events still fire, for a menu of your own (MContextMenu's `showAt`). Text fields inside nodes always keep it, for copy and paste","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"The canvas's accessible name","model":false}],"events":[{"name":"delete","args":"{ nodes: FlowNode<any>[]; edges: FlowEdge<any>[]; }","description":"Nodes and edges were deleted: `{ nodes, edges }`"},{"name":"update:selection","args":"FlowSelection","description":""},{"name":"update:viewport","args":"FlowViewport","description":""},{"name":"update:nodes","args":"FlowNode<any>[]","description":""},{"name":"update:edges","args":"FlowEdge<any>[]","description":""},{"name":"update:locked","args":"boolean","description":""},{"name":"connect","args":"FlowConnection","description":"A connection was made (it's also added to `edges` with `autoConnect`)"},{"name":"connect-start","args":"{ nodeId: string; handleId: string | null; type: \"source\" | \"target\"; }","description":"A connection drag started from a handle"},{"name":"branch","args":"{ edge: FlowEdge<any>; connection: FlowConnection | null; position: FlowXY; direction: FlowPosition; end: FlowXY; routes?: { before: number[]; after: number[]; } | undefined; }","description":"A branch was dragged off an edge (edgeBranching) and dropped: `{ edge, connection, position, direction, end }`, the connection null when it was dropped on nothing, `position` the point on the edge where it was grabbed (on the grid along the edge with snapToGrid), `direction` the way the edge runs there toward its target, `end` where it was dropped, and for an edge with its own `route`, `routes` that keep each half's shape. With `'junction'` this is all that happens: split the edge with a node there whose handles are at `position=\"auto\"`, the first half arriving with `targetPosition` opposite to `direction` and the second leaving with `sourcePosition: direction`, so it runs on straight through"},{"name":"connect-end","args":"{ connection: FlowConnection | null; position: FlowXY; from: { nodeId: string; handleId: string | null; type: \"source\" | \"target\"; }; }","description":"A connection drag ended: `{ connection }` when it connected, else the flow `position` it was dropped at and where it came from"},{"name":"reconnect","args":"{ edge: FlowEdge<any>; connection: FlowConnection; }","description":"An edge's end was moved to another handle: `{ edge, connection }`"},{"name":"reroute","args":"edge: FlowEdge<any>","description":"A segment of an edge was dragged (`edgesReroutable`): the edge with its new `route`"},{"name":"insert","args":"{ node: FlowNode<any>; edge: FlowEdge<any>; connections: [FlowConnection, FlowConnection]; }","description":"A lone node was dropped onto an edge and spliced in: `{ node, edge, connections }` (with `autoConnect` the edge is replaced by the two connections, keeping its type and look)"},{"name":"node-click","args":"FlowNode<any>, MouseEvent","description":"/ node-dblclick / node-contextmenu `(node, event)`"},{"name":"node-dblclick","args":"FlowNode<any>, MouseEvent","description":""},{"name":"node-contextmenu","args":"FlowNode<any>, MouseEvent","description":""},{"name":"node-drag-start","args":"FlowNode<any>[], PointerEvent","description":"/ node-drag `(nodes, event)`"},{"name":"node-drag","args":"FlowNode<any>[], PointerEvent","description":""},{"name":"node-drag-stop","args":"{ nodes: FlowNode<any>[]; intersecting: FlowNode<any>[]; event: PointerEvent; }","description":"`{ nodes, intersecting, event }`: `intersecting` are the nodes under the dragged one"},{"name":"edge-click","args":"FlowEdge<any>, MouseEvent","description":"/ edge-dblclick / edge-contextmenu `(edge, event)`"},{"name":"edge-dblclick","args":"FlowEdge<any>, MouseEvent","description":""},{"name":"edge-contextmenu","args":"FlowEdge<any>, MouseEvent","description":""},{"name":"pane-click","args":"FlowXY, MouseEvent","description":"/ pane-dblclick / pane-contextmenu `(position, event)` with the flow position (turn `zoomOnDoubleClick` off to use the double click yourself, e.g. to add a node there)"},{"name":"pane-contextmenu","args":"FlowXY, MouseEvent","description":""},{"name":"pane-dblclick","args":"FlowXY, MouseEvent","description":""},{"name":"init","args":"FlowContext","description":"The canvas measured its nodes (and laid out / fitted them): the flow context"}],"slots":[{"name":"empty","bindings":null,"description":"Shown while there are no nodes"},{"name":"default","bindings":"{ flow: FlowInternals; }","description":"Drawn over the canvas: MFlowControls, MFlowMinimap, panels of yours. Props: `{ flow }`"}],"exposed":[{"name":"size","type":"{ width: number; height: number; }","description":"Canvas size in px"},{"name":"getNode","type":"(id: string) => FlowNode<any> | undefined","description":""},{"name":"getAbsolutePosition","type":"(id: string) => FlowXY","description":"A node's top left corner in flow coordinates, its parents added, where it's drawn right now"},{"name":"getSize","type":"(id: string) => { width: number; height: number; }","description":"A node's measured (or set) size"},{"name":"getIntersectingNodes","type":"(node: string | { x: number; y: number; width: number; height: number; }) => FlowNode<any>[]","description":"Nodes overlapping this one (or a rectangle in flow coordinates), groups and its own family left out"},{"name":"getEdgeAt","type":"(p: FlowXY, opts?: { radius?: number | undefined; ignore?: ((e: FlowEdge<any>) => boolean) | undefined; } | undefined) => FlowEdgeHit | null","description":"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"},{"name":"getEdgePath","type":"(id: string) => string | null","description":"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"},{"name":"screenToFlow","type":"(p: { x: number; y: number; }) => FlowXY","description":"Page (client) coordinates → flow coordinates"},{"name":"flowToScreen","type":"(p: FlowXY) => { x: number; y: number; }","description":""},{"name":"setViewport","type":"(v: Partial<FlowViewport>, opts?: { animate?: boolean | undefined; } | undefined) => void","description":""},{"name":"setCenter","type":"(x: number, y: number, opts?: { zoom?: number | undefined; animate?: boolean | undefined; } | undefined) => void","description":"Centers the view on a flow point, at `zoom` or the current zoom"},{"name":"zoomIn","type":"() => void","description":""},{"name":"zoomOut","type":"() => void","description":""},{"name":"zoomTo","type":"(zoom: number, opts?: { animate?: boolean | undefined; } | undefined) => void","description":""},{"name":"addNodes","type":"(nodes: FlowNode<any> | FlowNode<any>[]) => void","description":""},{"name":"addEdges","type":"(edges: FlowEdge<any> | FlowEdge<any>[]) => void","description":""},{"name":"change","type":"(next: { nodes?: FlowNode<any>[] | undefined; edges?: FlowEdge<any>[] | undefined; }) => void","description":"Several changes as one undoable step (nodes and edges added, changed or removed together): each list given replaces the current one"},{"name":"updateNode","type":"(id: string, patch: Partial<FlowNode<any>> | ((n: FlowNode<any>) => FlowNode<any>)) => void","description":""},{"name":"updateEdge","type":"(id: string, patch: Partial<FlowEdge<any>> | ((e: FlowEdge<any>) => FlowEdge<any>)) => void","description":""},{"name":"remove","type":"(ids: { nodes?: string[] | undefined; edges?: string[] | undefined; }) => void","description":"Deletes nodes (with their edges and children) and edges by id"},{"name":"setSelection","type":"(sel: Partial<FlowSelection>) => void","description":""},{"name":"undo","type":"() => void","description":""},{"name":"redo","type":"() => void","description":""},{"name":"canUndo","type":"boolean","description":""},{"name":"canRedo","type":"boolean","description":""},{"name":"copy","type":"() => void","description":""},{"name":"cut","type":"() => void","description":""},{"name":"paste","type":"(at?: FlowXY | undefined) => void","description":"Pastes what was copied, at a flow point (default a step from the originals)"},{"name":"duplicate","type":"() => void","description":"Copies of the selection (with the edges between them) a step away, selected; the clipboard stays as it was"},{"name":"startDrag","type":"(id: string, e: PointerEvent) => void","description":"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)"}],"types":[]},{"name":"MFlowControls","import":"@m3ui-vue/m3ui-vue/flow","description":"Zoom, fit and lock buttons over an MFlow, as an M3 floating toolbar (put it in MFlow's default slot). Undo and redo with `history`; a delete button shows while something deletable is selected (`delete`). Not an M3 spec component.","props":[{"name":"position","type":"FlowPanelPosition","required":false,"default":"\"bottom-left\"","description":"","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"","model":false},{"name":"zoom","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"fit","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"lock","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"history","type":"boolean","required":false,"default":"false","description":"Undo and redo buttons","model":false},{"name":"delete","type":"boolean","required":false,"default":"true","description":"A delete button while something deletable is selected (touch has no Delete key)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"More buttons at the end"}],"exposed":[],"types":[]},{"name":"MFlowHandle","import":"@m3ui-vue/m3ui-vue/flow","description":"A connection point on a node in MFlow: drag from it to another node's handle to connect them. Sits centered on its node's side (`position`); move it with your own classes or style (it's measured where it ends up). Give each an `id` when a node has several of a type. Only inside a node (MFlowNode, or a `#node-<type>` slot).","props":[{"name":"type","type":"\"source\" | \"target\"","required":false,"default":"\"source\"","description":"`source`: edges leave from it; `target`: they arrive","model":false},{"name":"position","type":"\"auto\" | FlowPosition","required":false,"default":null,"description":"Its side; `'auto'` sits in the node's middle (or where you put it) and each edge leaves or arrives on the side facing its other end","model":false},{"name":"id","type":"string","required":false,"default":null,"description":"","model":false},{"name":"connectable","type":"boolean","required":false,"default":"true","description":"","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MFlowMinimap","import":"@m3ui-vue/m3ui-vue/flow","description":"A small overview of an MFlow (put it in MFlow's default slot): every node as a block, the part in view outlined. Drag or click in it to move the view there; the wheel zooms. Not an M3 spec component.","props":[{"name":"position","type":"FlowPanelPosition","required":false,"default":"\"bottom-right\"","description":"","model":false},{"name":"width","type":"number","required":false,"default":"200","description":"","model":false},{"name":"height","type":"number","required":false,"default":"140","description":"","model":false},{"name":"nodeColor","type":"((node: FlowNode<any>) => string)","required":false,"default":null,"description":"A node's fill (any CSS color); default outline-variant, primary when selected","model":false},{"name":"pannable","type":"boolean","required":false,"default":"true","description":"Drag and click move the view","model":false},{"name":"zoomable","type":"boolean","required":false,"default":"true","description":"The wheel zooms","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MFlowNode","import":"@m3ui-vue/m3ui-vue/flow","description":"MFlow's default node, also for `#node-<type>` slots of your own: an M3 card with an icon, a label and a subtitle, and a handle on each side edges run through (target where they arrive, source where they leave; the sides follow MFlow's `direction` or the node's `sourcePosition`/`targetPosition`). Selected it gets a primary outline; lifted while dragged (elevation level 4, like MKanban's cards). Not an M3 spec component.","props":[{"name":"label","type":"string","required":false,"default":null,"description":"","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"neutral\"","required":false,"default":"\"primary\"","description":"The icon container's color role","model":false},{"name":"handles","type":"\"none\" | \"source\" | \"target\" | \"both\"","required":false,"default":"\"both\"","description":"Which handles it draws","model":false},{"name":"sourcePosition","type":"FlowPosition","required":false,"default":null,"description":"","model":false},{"name":"targetPosition","type":"FlowPosition","required":false,"default":null,"description":"","model":false}],"events":[],"slots":[{"name":"icon","bindings":null,"description":"Instead of the `icon`"},{"name":"trailing","bindings":null,"description":"At the end of the header (a status, a menu button). Controls in it don't start a drag"},{"name":"default","bindings":null,"description":"Below the header, inside the card"}],"exposed":[],"types":[]},{"name":"MFooter","import":"@m3ui-vue/m3ui-vue","description":"Page footer with slots for brand, content, social links, and a bottom bar. Responsive padding adapts to screen size.","props":[{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a top border (border-outline-variant)","model":false},{"name":"surface","type":"\"default\" | \"container\" | \"container-low\" | \"container-high\" | \"inverse\"","required":false,"default":"\"default\"","description":"Background surface color","model":false}],"events":[],"slots":[{"name":"brand","bindings":null,"description":"Logo and tagline area (top)"},{"name":"default","bindings":null,"description":"Main content area (navigation columns, etc.)"},{"name":"social","bindings":null,"description":"Social media icon buttons (flex row with gap)"},{"name":"bottom","bindings":null,"description":"Bottom bar with copyright / legal links (separated by a top border)"}],"exposed":[],"types":[]},{"name":"MFullscreen","import":"@m3ui-vue/m3ui-vue","description":"Fills the entire viewport (or parent when `fixed=false`). Useful for loading screens, splash pages, or modal backdrops.","props":[{"name":"fixed","type":"boolean","required":false,"default":"true","description":"Use position: fixed to fill the viewport instead of the parent element","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that goes full screen."}],"exposed":[],"types":[]},{"name":"MGantt","import":"@m3ui-vue/m3ui-vue/gantt","description":"A Gantt chart: a task list (a tree, with columns) beside a timeline of bars you drag to move, pull at the ends to resize, and join with dependencies. Not an M3 spec component: M3 parts (containers, state layers, motion) on the layout planning tools share (MS Project, GanttProject, Frappe Gantt). Tasks are a `v-model` of plain objects (`GanttTask`): dates as `YYYY-MM-DD` (whole days) or datetimes, `progress`, `parentId` for summaries (their dates roll up), `dependencies` (finish-to-start, start-to-start, finish-to-finish, start-to-finish, with a lag), milestones and a baseline. The zoom runs from hours to years (`v-model:scale`, Ctrl + wheel, a pinch); the timeline scrolls both ways, rows and columns rendered only near the view. Editing: drag a bar to move it (with a mouse, or a short press with a finger), its ends to resize it, the triangle under it to set the progress, the dots at its ends onto another bar to make a dependency (which end you leave and reach picks the type); click or tap a dependency for its × to remove it (or Delete). A summary moves with its tasks; selected bars move together. With `schedule=\"auto\"` the tasks that depend on one follow it. Rows reorder by dragging them in the list (onto the middle of a row to put it inside). Every edit is undoable (Ctrl+Z / Ctrl+Shift+Z). Keyboard (in the list): arrows move and expand/collapse, Alt + ←/→ moves the task a step, Alt + Shift + ←/→ changes its end, Alt + ↑/↓ reorders it, Ctrl + ] / [ indents and outdents it, F2 renames, Enter opens it (`task-dblclick`), Delete deletes.","props":[{"name":"tasks","type":"GanttTask<any>[]","required":false,"default":"[]","description":"","model":true},{"name":"scale","type":"TimeUnit","required":false,"default":"\"day\"","description":"The zoom as a named level; `v-model:scale` follows Ctrl + wheel, pinches and MGanttControls","model":true},{"name":"pxPerDay","type":"number","required":false,"default":null,"description":"The starting zoom in px per day, between the named levels (instead of `scale`'s)","model":false},{"name":"selection","type":"string[]","required":false,"default":null,"description":"Selected task ids (`v-model:selection`)","model":true},{"name":"collapsed","type":"string[]","required":false,"default":null,"description":"Ids of tasks whose children are hidden (`v-model:collapsed`)","model":true},{"name":"columns","type":"GanttColumn[]","required":false,"default":null,"description":"The task list's columns (default name, start and duration); `[]` hides the list","model":false},{"name":"gridWidth","type":"number","required":false,"default":null,"description":"The task list's width, px (`v-model:grid-width`; drag its edge)","model":true},{"name":"rowHeight","type":"number","required":false,"default":"40","description":"","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"No editing: drag, resize, link, reorder, rename and delete off","model":false},{"name":"schedule","type":"\"auto\" | \"manual\"","required":false,"default":"\"manual\"","description":"`'auto'`: tasks that depend on a moved one follow it (`scheduleTasks` in push mode)","model":false},{"name":"calendar","type":"GanttCalendar","required":false,"default":null,"description":"Working days: shaded when they aren't, and counted by `schedule=\"auto\"` (default Monday to Friday, no holidays)","model":false},{"name":"criticalPath","type":"boolean","required":false,"default":"false","description":"Highlights the tasks and dependencies whose delay delays the end","model":false},{"name":"baselines","type":"boolean","required":false,"default":"false","description":"Draws each task's `baselineStart`/`baselineEnd` under it","model":false},{"name":"today","type":"string | null","required":false,"default":null,"description":"Today, for the line across the timeline (default now; `null` hides it)","model":false},{"name":"snap","type":"number","required":false,"default":null,"description":"Minutes a datetime task snaps to (default by zoom); date-only tasks always snap to days","model":false},{"name":"weekStartsOn","type":"0 | 1","required":false,"default":"1","description":"","model":false},{"name":"minPxPerDay","type":"number","required":false,"default":"0.15","description":"Zoom bounds, px per day","model":false},{"name":"maxPxPerDay","type":"number","required":false,"default":"2400","description":"","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for dates (Intl); default the app's","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name","model":false},{"name":"beforeDelete","type":"((tasks: GanttTask<any>[]) => boolean | Promise<boolean>)","required":false,"default":null,"description":"Asked before deleting; return false (or a promise of it) to keep them","model":false}],"events":[{"name":"link","args":"{ from: string; to: string; type: NonNullable<\"FS\" | \"SS\" | \"FF\" | \"SF\" | undefined>; }","description":"A dependency was drawn: `{ from, to, type }` (it's also added to the task)"},{"name":"delete","args":"{ tasks: GanttTask<any>[]; }","description":"Tasks were deleted: `{ tasks }`"},{"name":"update:selection","args":"string[]","description":""},{"name":"change","args":"{ tasks: GanttTask<any>[]; kind: \"progress\" | \"reorder\" | \"move\" | \"resize\" | \"rename\"; }","description":"A drag or a key changed tasks: `{ tasks, kind }` with the changed tasks and `'move' | 'resize' | 'progress' | 'reorder' | 'rename'`"},{"name":"update:tasks","args":"GanttTask<any>[]","description":""},{"name":"update:scale","args":"TimeUnit","description":""},{"name":"update:collapsed","args":"string[]","description":""},{"name":"update:gridWidth","args":"number","description":""},{"name":"task-click","args":"GanttTask<any>, MouseEvent","description":"/ task-dblclick / task-contextmenu `(task, event)`"},{"name":"task-dblclick","args":"GanttTask<any>, MouseEvent | KeyboardEvent","description":""},{"name":"task-contextmenu","args":"GanttTask<any>, MouseEvent","description":""},{"name":"unlink","args":"{ from: string; to: string; }","description":"A dependency was removed: `{ from, to }`"}],"slots":[{"name":"cell-name","bindings":"{ task: GanttTask<any>; value: string; }","description":""},{"name":"default","bindings":"{ gantt: GanttContext; }","description":"Above the chart: MGanttControls, filters of yours. Props: `{ gantt }`"},{"name":"bar","bindings":"{ task: GanttTask<any>; selected: boolean; critical: boolean; }","description":"A bar's content instead of its label. Props: `{ task, selected, critical }`"},{"name":"empty","bindings":null,"description":"Shown while there are no tasks"},{"name":"tooltip","bindings":"{ task: GanttTask<any>; slack: number | undefined; }","description":"The card shown over a hovered or dragged bar. Props: `{ task, slack }`"}],"exposed":[{"name":"canUndo","type":"boolean","description":""},{"name":"canRedo","type":"boolean","description":""},{"name":"undo","type":"() => void","description":""},{"name":"redo","type":"() => void","description":""},{"name":"zoomIn","type":"() => void","description":""},{"name":"zoomOut","type":"() => void","description":""},{"name":"setScale","type":"(scale: TimeUnit) => void","description":""},{"name":"scrollToDate","type":"(date?: string | undefined, opts?: { align?: \"center\" | \"start\" | undefined; animate?: boolean | undefined; } | undefined) => void","description":"Scrolls so a date (default now) sits at the view's `align` (default center)"},{"name":"scrollToTask","type":"(id: string) => void","description":"Scrolls a task into view, its row and its bar"},{"name":"toggle","type":"(id: string, expanded?: boolean | undefined) => void","description":""},{"name":"expandAll","type":"() => void","description":""},{"name":"collapseAll","type":"() => void","description":""},{"name":"setSelection","type":"(ids: string[]) => void","description":""},{"name":"addTasks","type":"(tasks: GanttTask<any> | GanttTask<any>[], opts?: { after?: string | undefined; } | undefined) => void","description":"Adds tasks (after `after`, or at the end); undoable"},{"name":"updateTask","type":"(id: string, patch: Partial<GanttTask<any>> | ((t: GanttTask<any>) => GanttTask<any>)) => void","description":""},{"name":"removeTasks","type":"(ids: string[]) => void","description":"Deletes tasks with their children and the dependencies on them"},{"name":"link","type":"(from: string, to: string, type?: \"FS\" | \"SS\" | \"FF\" | \"SF\" | undefined, lag?: number | undefined) => void","description":"Makes `to` depend on `from`"},{"name":"unlink","type":"(from: string, to: string) => void","description":""},{"name":"dateAt","type":"(clientX: number) => string","description":"The date (snapped) under a page x"}],"types":[]},{"name":"MGanttControls","import":"@m3ui-vue/m3ui-vue/gantt","description":"A toolbar for an MGantt or an MResourceTimeline (put it in their default slot): the zoom as named scales, zoom in and out, today, expand and collapse all, undo and redo. Not an M3 spec component.","props":[{"name":"scales","type":"TimeUnit[]","required":false,"default":"[\"day\", \"week\", \"month\", \"quarter\"]","description":"The scales offered as a segmented button (`[]` hides it)","model":false},{"name":"zoom","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"today","type":"boolean","required":false,"default":"true","description":"","model":false},{"name":"fold","type":"boolean","required":false,"default":"true","description":"Expand all / collapse all","model":false},{"name":"history","type":"boolean","required":false,"default":"true","description":"Undo and redo","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"More controls at the start"},{"name":"end","bindings":null,"description":"More controls at the end"}],"exposed":[],"types":[]},{"name":"MGrid","import":"@m3ui-vue/m3ui-vue","description":"A responsive CSS grid with per-breakpoint column counts.","props":[{"name":"cols","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":"1","description":"Default column count","model":false},{"name":"sm","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at sm breakpoint","model":false},{"name":"md","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at md breakpoint","model":false},{"name":"lg","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at lg breakpoint","model":false},{"name":"xl","type":"1 | 2 | 3 | 4 | 5 | 6 | 12","required":false,"default":null,"description":"Columns at xl breakpoint","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false},{"name":"alignItems","type":"\"center\" | \"start\" | \"end\" | \"stretch\"","required":false,"default":"\"stretch\"","description":"Vertical alignment","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The grid items."}],"exposed":[],"types":[]},{"name":"MHotkeys","import":"@m3ui-vue/m3ui-vue","description":"Registers global keyboard shortcuts for as long as it's mounted, with an optional on-screen overlay listing them grouped by category.","props":[{"name":"bindings","type":"HotkeyBinding[]","required":true,"default":null,"description":"Array of key combos to register globally; see `HotkeyBinding`","model":false},{"name":"showOverlay","type":"boolean","required":false,"default":"false","description":"Render a visible list of the registered shortcuts (otherwise the component is invisible and only listens)","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"HotkeyBinding","source":"export interface HotkeyBinding {\n keys: string\n label: string\n handler: () => void\n group?: string\n disabled?: boolean\n}"}]},{"name":"MIcon","import":"@m3ui-vue/m3ui-vue","description":"Renders a Material Symbols Outlined glyph by name. Color follows the surrounding text color (set it with a Tailwind text-* class). Decorative by default: hidden from assistive technology, which would otherwise read the glyph's ligature text (its name, e.g. \"arrow_drop_down\"). Give it a `label` when the icon says something on its own.","props":[{"name":"name","type":"string","required":true,"default":null,"description":"Material Symbol name (e.g. \"settings\", \"favorite\")","model":false},{"name":"size","type":"number","required":false,"default":"24","description":"Icon size in px","model":false},{"name":"filled","type":"boolean","required":false,"default":"false","description":"Filled glyph (the Material Symbols FILL axis), as M3 draws a selected icon","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"What the icon means, when nothing next to it says so: makes it an image with this name instead of decoration","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MIconButton","import":"@m3ui-vue/m3ui-vue","description":"A button that shows only an icon — four visual styles, the same 5-tier expressive sizing as MButton. Give it `checked` (v-model:checked) and it becomes M3's icon toggle button.","props":[{"name":"icon","type":"string","required":true,"default":null,"description":"Material Symbol icon name","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible label (its aria-label; no visible tooltip: wrap it in MTooltip for one)","model":false},{"name":"variant","type":"\"standard\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"standard\"","description":"Visual style","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":null,"description":"An M3 role or any CSS color (`#fff` over a photo, `rgb(0 0 0 / 0.3)` for a scrim-like filled button, `currentColor` to follow the surrounding text). Standard and outlined use it for the icon; filled for the container with white (or the role's on-color) on it; tonal for a 20% container with the color on it. Disabled buttons and toggles keep their own colors","model":false},{"name":"contentColor","type":"string","required":false,"default":null,"description":"Icon color over what the variant and `color` give: an M3 role (`on-surface`…) or any CSS color (`#000` on a white filled button). Disabled buttons and toggles keep their own","model":false},{"name":"shape","type":"\"rounded\" | \"squared\"","required":false,"default":"\"rounded\"","description":"Button shape — rounded (pill, always) or squared (corner radius scales with size: 12px xs/sm, 16px md, 28px lg/xl)","model":false},{"name":"size","type":"number | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"M3's 5-tier icon button sizing (xs:32, sm:40, md:56, lg:96, xl:136), or a custom pixel value","model":false},{"name":"iconSize","type":"number","required":false,"default":null,"description":"Icon size in px. Default the size tier's (or 55% of a custom pixel `size`)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false},{"name":"checked","type":"boolean","required":false,"default":null,"description":"Makes it a toggle button (v-model:checked): selected colors, a filled icon, and a shape that morphs when pressed and when checked. Leave it unset for a plain icon button","model":true},{"name":"checkedIcon","type":"string","required":false,"default":null,"description":"Icon shown while checked, when it differs from `icon` (e.g. 'pause' for 'play_arrow')","model":false},{"name":"iconFilled","type":"boolean","required":false,"default":null,"description":"Draw the icon filled (Material Symbols' FILL axis) without making it a toggle, e.g. media controls","model":false}],"events":[{"name":"update:checked","args":"boolean","description":"Emitted on click when `checked` is set — powers v-model:checked"}],"slots":[],"exposed":[],"types":[]},{"name":"MImageCropper","import":"@m3ui-vue/m3ui-vue","description":"An image cropper: the picture fitted in its box with a crop frame you drag and resize by its corners and edges (a rule-of-thirds grid while you do), locked to an `aspect` or free, square or round (`shape=\"circle\"` for avatars). Rotate a quarter turn at a time and flip; the frame follows. Not an M3 spec component: M3 parts after Google Photos' crop tool. `v-model:crop` is the frame in the rotated picture's own pixels (`{ x, y, width, height }`), `v-model:rotation` (0, 90, 180, 270, applied after the mirror) and `v-model:flipped` (the picture mirrored left to right before it turns). The template ref's `toCanvas()` / `toBlob()` draw the result, at the crop's size or one you give (`width`, `height`, `maxSize`), round with a transparent outside for `circle`. `src` takes a URL, a `File` or a `Blob` (e.g. from MFileUpload); a picture from another origin must allow it (CORS) to be exported, and gets `crossorigin=\"anonymous\"`. Keyboard (on the frame): arrows move it, Shift + arrows resize it (10 px steps with Alt).","props":[{"name":"src","type":"string | Blob | null","required":false,"default":"null","description":"The picture: a URL, a File or a Blob","model":false},{"name":"crop","type":"CropRect | null","required":false,"default":"null","description":"The frame, in the rotated picture's pixels (`v-model:crop`)","model":true},{"name":"aspect","type":"number | null","required":false,"default":"null","description":"Width over height (1 square, 16 / 9…); null is free","model":true},{"name":"aspects","type":"CropAspect[]","required":false,"default":null,"description":"Aspects offered in the toolbar as chips (`v-model:aspect` follows them)","model":false},{"name":"rotation","type":"0 | 90 | 180 | 270","required":false,"default":"0","description":"Quarter turns clockwise in degrees (`v-model:rotation`)","model":true},{"name":"flipped","type":"boolean","required":false,"default":"false","description":"Mirrored left to right (`v-model:flipped`)","model":true},{"name":"shape","type":"\"circle\" | \"rect\"","required":false,"default":"\"rect\"","description":"","model":false},{"name":"minSize","type":"number","required":false,"default":"24","description":"The frame's smallest side, in the picture's px","model":false},{"name":"guides","type":"\"drag\" | \"always\" | \"never\"","required":false,"default":"\"drag\"","description":"The rule-of-thirds grid: while dragging (default), always or never","model":false},{"name":"controls","type":"boolean","required":false,"default":"true","description":"The toolbar under the picture","model":false},{"name":"alt","type":"string","required":false,"default":"\"\"","description":"Accessible name of the picture","model":false}],"events":[{"name":"error","args":"Event","description":"The picture didn't load"},{"name":"change","args":"CropRect","description":"A drag or a key changed the crop (after `update:crop`): the crop"},{"name":"update:crop","args":"CropRect","description":""},{"name":"update:aspect","args":"number | null","description":""},{"name":"update:rotation","args":"0 | 90 | 180 | 270","description":""},{"name":"update:flipped","args":"boolean","description":""},{"name":"load","args":"{ width: number; height: number; }","description":"The picture loaded: `{ width, height }` (its natural size)"}],"slots":[{"name":"controls","bindings":"{ rotate: (dir: 1 | -1) => void; flip: () => void; reset: () => void; aspect: number | null; setAspect: (a: number | null) => void; }","description":"Instead of the toolbar under the picture. Props: `{ rotate, flip, reset, aspect, setAspect }`"}],"exposed":[{"name":"toCanvas","type":"(options?: CropOutputOptions) => HTMLCanvasElement | null","description":""},{"name":"toBlob","type":"(options?: CropOutputOptions & { type?: string | undefined; quality?: number | undefined; }) => Promise<Blob | null>","description":""},{"name":"rotate","type":"(dir: 1 | -1) => void","description":""},{"name":"flip","type":"() => void","description":""},{"name":"reset","type":"() => void","description":""},{"name":"setAspect","type":"(a: number | null) => void","description":""}],"types":[{"name":"CropRect","source":"export interface CropRect { x: number; y: number; width: number; height: number }"},{"name":"CropAspect","source":"export interface CropAspect { label: string; value: number | null }"},{"name":"CropOutputOptions","source":"export interface CropOutputOptions {\n /** The result's size in px; one alone keeps the crop's proportions (default the crop's own size) */\n width?: number\n height?: number\n /** The longest side at most, px */\n maxSize?: number\n /** Round, transparent outside (default true for `shape=\"circle\"`) */\n circle?: boolean\n}"}]},{"name":"MInfiniteScroll","import":"@m3ui-vue/m3ui-vue","description":"Wraps a scrollable list and emits load when an IntersectionObserver sentinel at the bottom becomes visible — hand it your own fetch-more logic.","props":[{"name":"loading","type":"boolean","required":false,"default":"false","description":"Currently loading more items — shows the loading slot","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disable the load trigger entirely (no observer attached)","model":false},{"name":"threshold","type":"number","required":false,"default":"100","description":"Distance in px from the sentinel before it triggers load","model":false},{"name":"loadingText","type":"string","required":false,"default":null,"description":"Text shown while loading (defaults to the locale string, 'Loading...')","model":false},{"name":"endText","type":"string","required":false,"default":null,"description":"Text shown when ended (defaults to the locale string, 'No more items')","model":false},{"name":"ended","type":"boolean","required":false,"default":"false","description":"No more items to load — shows the end slot and stops observing","model":false}],"events":[{"name":"load","args":"","description":"Emitted when the sentinel scrolls into view and more items should be fetched"}],"slots":[{"name":"default","bindings":null,"description":"The content list itself"},{"name":"loading","bindings":null,"description":"Custom loading indicator, shown when loading is true"},{"name":"end","bindings":null,"description":"Custom end-of-list content, shown when ended is true"},{"name":"idle","bindings":null,"description":"Content shown when neither loading nor ended (empty by default)"}],"exposed":[],"types":[]},{"name":"MJsonEditor","import":"@m3ui-vue/m3ui-vue/code-editor","description":"A JSON-aware editor built on top of MCodeEditor — validates as you type and adds format/minify shortcuts.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"JSON data (v-model, any valid JSON)","model":true},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Read-only mode","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Min height","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"600px\"","description":"Max height","model":false},{"name":"labels","type":"JsonEditorLabels","required":false,"default":null,"description":"Overrides for the valid/invalid badge and format/minify button text (see `JsonEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the parsed value whenever the text is valid JSON — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"JsonEditorLabels","source":"export interface JsonEditorLabels {\n valid?: string\n invalid?: string\n format?: string\n minify?: string\n}"}]},{"name":"MJsonViewer","import":"@m3ui-vue/m3ui-vue","description":"A read-only, recursively expandable tree view for inspecting JSON-compatible data.","props":[{"name":"data","type":"unknown","required":true,"default":null,"description":"Data to display (any JSON-compatible value)","model":false},{"name":"rootName","type":"string","required":false,"default":"\"root\"","description":"Name for the root node","model":false},{"name":"expandDepth","type":"number","required":false,"default":"2","description":"Levels to expand by default","model":false},{"name":"labels","type":"JsonViewerLabels","required":false,"default":null,"description":"Overrides for the collapsed-node summary text (see `JsonViewerLabels`) — defaults come from useLocale()","model":false}],"events":[],"slots":[],"exposed":[],"types":[{"name":"JsonViewerLabels","source":"export interface JsonViewerLabels {\n elements?: string\n fields?: string\n}"}]},{"name":"MKanban","import":"@m3ui-vue/m3ui-vue","description":"A drag-and-drop board. Cards lift and follow the pointer, the others make room, and a dashed slot shows where the card will land. Works with a mouse, a finger (long-press a card) and the keyboard; the board scrolls sideways on its own when you drag near its edges.","props":[{"name":"modelValue","type":"KanbanColumn[]","required":true,"default":null,"description":"Columns with their cards (v-model). Required","model":true},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown in a column with no cards (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"KanbanColumn[]","description":"Emitted after a card moves, by pointer or keyboard (v-model)"},{"name":"cardMove","args":"{ cardId: string | number; fromColumn: string | number; toColumn: string | number; toIndex: number; }","description":"Emitted alongside update:modelValue with where the card went. Not emitted when a card is dropped back where it was"},{"name":"cardClick","args":"{ card: KanbanCard; columnId: string | number; }","description":"Emitted when a card is clicked or Enter is pressed on it. Not emitted at the end of a drag"}],"slots":[{"name":"card","bindings":"{ card: KanbanCard; column: KanbanColumn; dragging: boolean; }","description":"Content of each card. column is the full KanbanColumn; dragging is true while the card is lifted. Buttons, links and inputs inside keep working: they never start a drag or fire cardClick. Add data-kanban-action to any other element (a badge, a span) to give it the same treatment, so a click there can do something else instead of opening the card"},{"name":"column-header","bindings":"{ column: KanbanColumn; count: number; }","description":"Replaces the default header (color dot, title and count)"},{"name":"column-footer","bindings":"{ column: KanbanColumn; }","description":"Content below each column's cards, e.g. an \"Add card\" button"}],"exposed":[],"types":[{"name":"KanbanColumn","source":"export interface KanbanColumn {\n id: string | number\n title: string\n cards: KanbanCard[]\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n /** Optional WIP limit: the header shows count/limit and turns error-colored when exceeded. */\n limit?: number\n}"},{"name":"KanbanCard","source":"export interface KanbanCard {\n id: string | number\n [key: string]: any\n}"}]},{"name":"MKbd","import":"@m3ui-vue/m3ui-vue","description":"Displays a keyboard shortcut as styled key chips. Purely presentational — pairs well with MHotkeys or MCommandPalette to show the shortcut that triggers an action.","props":[{"name":"keys","type":"string | string[]","required":true,"default":null,"description":"A '+'-delimited string (\"Ctrl+Shift+K\") or an array of keys (['Ctrl', 'Shift', 'K']).","model":false},{"name":"size","type":"\"sm\" | \"md\" | \"lg\"","required":false,"default":"\"md\"","description":"Key chip size","model":false},{"name":"separator","type":"string","required":false,"default":"\"+\"","description":"Separator rendered between keys","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLightbox","import":"@m3ui-vue/m3ui-vue","description":"A full-screen image viewer in the style of Google Photos. Images grow out of the picture you tapped and shrink back into it, you swipe between them with the next one already in view, zoom with a double tap or a pinch, and drag one down to close. Tapping the image hides the bars. Wrap your content and it finds the `<img>` elements by itself, or pass items.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"false","description":"v-model — open/closed state","model":true},{"name":"items","type":"LightboxItem[]","required":false,"default":null,"description":"Explicit gallery. Omit it to auto-detect `<img>` elements rendered in the default slot instead.","model":false},{"name":"index","type":"number","required":false,"default":"0","description":"v-model:index — current image index","model":true},{"name":"loop","type":"boolean","required":false,"default":"true","description":"Wrap around when navigating past the first/last image","model":false},{"name":"closeLabel","type":"string","required":false,"default":null,"description":"Overrides the close button aria-label (defaults to the active locale)","model":false},{"name":"showThumbnails","type":"boolean","required":false,"default":"false","description":"Show a row of clickable thumbnails at the bottom for jumping directly to an image.","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Round the corners of the opened image.","model":false},{"name":"zoom","type":"boolean","required":false,"default":"true","description":"Allow zooming (double tap / double click, pinch, wheel, + and - keys).","model":false},{"name":"maxZoom","type":"number","required":false,"default":"4","description":"Largest zoom factor.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Fires when the lightbox opens or closes"},{"name":"change","args":"index: number","description":"Fires alongside update:index with the new index"},{"name":"update:index","args":"number","description":"Fires whenever the current index changes (next/prev/goTo/auto-detected image click)"}],"slots":[{"name":"default","bindings":null,"description":"Content to scan for `<img>` elements when items is not given"},{"name":"actions","bindings":"{ item: LightboxItem; index: number; }","description":"Extra buttons in the top bar (download, share, info…)."}],"exposed":[{"name":"open","type":"(i?: number, sourceEl?: HTMLElement | undefined) => void","description":""},{"name":"close","type":"() => void","description":""},{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""}],"types":[{"name":"LightboxItem","source":"export interface LightboxItem {\n src: string\n alt?: string\n caption?: string\n}"}]},{"name":"MList","import":"@m3ui-vue/m3ui-vue","description":"A vertical list container (MList) with rich, flexible rows (MListItem) and optional section headers (MListSubheader) — one-line to three-line items, leading/trailing elements, selection, navigation, segmented, and expandable variants. MListGroup splits a list into groups (separate rounded runs in a segmented list).","props":[{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact vertical padding on child items","model":false},{"name":"dividers","type":"boolean | \"inset\"","required":false,"default":"false","description":"Show separators between items — 'inset' aligns the line past a leading icon/avatar","model":false},{"name":"nav","type":"boolean","required":false,"default":"false","description":"Navigation variant with rounded (pill) active items, ideal for drawers","model":false},{"name":"segmented","type":"boolean","required":false,"default":"false","description":"Segmented style — items each get an individual rounded background instead of a flat list","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable single-item selection — items compare their value prop against selected","model":false},{"name":"selected","type":"string | number | null","required":false,"default":null,"description":"Currently selected item value (v-model:selected)","model":true},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Default line count for child items that don't set their own lines prop","model":false}],"events":[{"name":"update:selected","args":"value: string | number | null","description":"Fires when a selectable item is clicked (via v-model:selected)"}],"slots":[{"name":"default","bindings":null,"description":"MListItem / MListSubheader / MListGroup children"}],"exposed":[],"types":[]},{"name":"MListDetail","import":"@m3ui-vue/m3ui-vue","description":"Material 3's list-detail layout: a list of items and the details of the selected one. When there's room (840px and up, the expanded width class) both panes sit side by side; on smaller screens only one shows, the detail sliding in over the list when you open an item and back out on `back()`. It measures its own width, so it adapts inside a column or a dialog too. Both panes stay mounted, so the list keeps its scroll position. It has no default size: give it a height so each pane scrolls on its own.","props":[{"name":"showDetail","type":"boolean","required":false,"default":"false","description":"Whether the detail is the current destination. One-pane layouts show it instead of the list.","model":true},{"name":"listWidth","type":"string","required":false,"default":null,"description":"List pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:showDetail","args":"boolean","description":"Emitted with false when the detail slot calls back()"}],"slots":[{"name":"list","bindings":"{ twoPane: boolean; }","description":"The list pane. Scrolls on its own and keeps its scroll position while the detail is open"},{"name":"detail","bindings":"{ twoPane: boolean; back: () => void; }","description":"`back()` returns to the list (sets `showDetail` to false)."}],"exposed":[],"types":[]},{"name":"MListGroup","import":"@m3ui-vue/m3ui-vue","description":"A group of items inside an MList, optionally titled. In a segmented list each group is a rounded run of its own (its first and last items take the large outer corners), set apart from the items and groups around it, like the grouped cards of a settings screen. Elsewhere it only groups and titles its items. Assistive technology announces it as a nested list named by its title.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Heading above the group, styled like MListSubheader","model":false},{"name":"inset","type":"boolean","required":false,"default":"false","description":"Align the title with items that have a leading icon (adds left padding)","model":false}],"events":[],"slots":[{"name":"title","bindings":null,"description":"Custom title content, replacing the title prop"},{"name":"default","bindings":null,"description":"MListItem children"}],"exposed":[],"types":[]},{"name":"MListItem","import":"@m3ui-vue/m3ui-vue","description":"A row of an MList: headline with optional overline, supporting text, a leading icon, avatar or image, and trailing text, icon, checkbox or switch. It can be a link, be clickable or expand to show nested items.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Primary text (headline)","model":false},{"name":"overline","type":"string","required":false,"default":null,"description":"Small label above the title","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Secondary text (line 2)","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Tertiary text (line 3)","model":false},{"name":"lines","type":"1 | 2 | 3","required":false,"default":null,"description":"Number of text lines — auto-detected from which text props/parent MList lines are set when omitted","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Leading Material Symbol icon","model":false},{"name":"leading","type":"ListItemLeading","required":false,"default":null,"description":"Leading element type — auto-resolves to 'icon'/'avatar'/'image' from icon/avatarName/image when omitted","model":false},{"name":"avatarName","type":"string","required":false,"default":null,"description":"Name for the avatar (when leading='avatar')","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"Image URL (when leading='image')","model":false},{"name":"iconContainerColor","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":null,"description":"Icon container background color (when leading='icon-container')","model":false},{"name":"trailingIcon","type":"string","required":false,"default":null,"description":"Trailing icon name","model":false},{"name":"trailingText","type":"string","required":false,"default":null,"description":"Trailing text label","model":false},{"name":"trailing","type":"ListItemTrailing","required":false,"default":null,"description":"Trailing element type — auto-resolves from trailingIcon/trailingText when omitted","model":false},{"name":"trailingValue","type":"boolean","required":false,"default":null,"description":"Value for a trailing switch/checkbox (v-model:trailingValue)","model":true},{"name":"value","type":"string | number","required":false,"default":null,"description":"Selection value — compared against the parent MList selected prop","model":false},{"name":"active","type":"boolean","required":false,"default":"false","description":"Force the active/highlighted state regardless of parent list selection","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disabled state (38% opacity, blocks interaction)","model":false},{"name":"clickable","type":"boolean","required":false,"default":null,"description":"Force interactive styling/behavior (auto-true when href, to, @click, selectable, or expandable apply)","model":false},{"name":"href","type":"string","required":false,"default":null,"description":"Link URL — renders the item as an `<a>`","model":false},{"name":"to","type":"string | object","required":false,"default":null,"description":"Vue Router destination — renders the item as a router-link","model":false},{"name":"expandable","type":"boolean","required":false,"default":"false","description":"Show an expand/collapse chevron revealing the #children slot","model":false},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Control the expanded state (v-model:expanded) — otherwise managed internally","model":true}],"events":[{"name":"update:expanded","args":"value: boolean","description":"Fires when an expandable item is toggled open/closed"},{"name":"click","args":"e: MouseEvent","description":"Fires on any click, including on an expandable item (right before it toggles)"},{"name":"update:trailingValue","args":"value: boolean","description":"Fires when a trailing switch/checkbox is toggled (trailing='switch' | 'checkbox')"}],"slots":[{"name":"leading","bindings":null,"description":"Custom leading element, replacing the icon/avatar/image/icon-container"},{"name":"overline","bindings":null,"description":"Custom overline content, replacing the overline prop"},{"name":"default","bindings":null,"description":"Custom content replacing the title/subtitle/description text block"},{"name":"children","bindings":null,"description":"Nested content revealed when expandable is set and the item is expanded"},{"name":"trailing","bindings":null,"description":"Custom trailing element, replacing the icon/text/switch/checkbox"}],"exposed":[],"types":[{"name":"ListItemLeading","source":"export type ListItemLeading = 'icon' | 'avatar' | 'checkbox' | 'radio' | 'image' | 'icon-container'"},{"name":"ListItemTrailing","source":"export type ListItemTrailing = 'icon' | 'text' | 'switch' | 'checkbox'"}]},{"name":"MListSubheader","import":"@m3ui-vue/m3ui-vue","description":"A small heading that labels a group of items inside an MList.","props":[{"name":"inset","type":"boolean","required":false,"default":"false","description":"Align with items that have a leading icon (adds left padding)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Subheader text/content"}],"exposed":[],"types":[]},{"name":"MLoadingIndicator","import":"@m3ui-vue/m3ui-vue","description":"The M3 Expressive loading indicator — continuously morphs between rounded shapes (soft burst, cookie, pentagon, pill, sunny, oval) via an underdamped spring while slowly rotating. Comes in a plain and a contained (circle-backed) variant.","props":[{"name":"size","type":"number","required":false,"default":"48","description":"Overall footprint in px. The active shape sits inset within it (38/48 ratio) unless contained, where it scales to 55% of size.","model":false},{"name":"contained","type":"boolean","required":false,"default":"false","description":"Wraps the shape in a filled container circle, and recolors the shape to the OnXContainer role instead of the bare X role","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Active shape (and container, when contained) color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the indicator's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MLoadingOverlay","import":"@m3ui-vue/m3ui-vue","description":"A spinner-and-text overlay, either layered on top of a piece of content via the `#content` slot, or covering the whole viewport with `fullscreen`.","props":[{"name":"visible","type":"boolean","required":true,"default":null,"description":"Show/hide the overlay","model":false},{"name":"text","type":"string","required":false,"default":null,"description":"Loading text message shown below the spinner","model":false},{"name":"fullscreen","type":"boolean","required":false,"default":"false","description":"Cover the entire viewport via Teleport, instead of overlaying just the #content slot","model":false},{"name":"opaque","type":"boolean","required":false,"default":"false","description":"Solid surface background instead of a translucent, blurred one","model":false},{"name":"spinnerSize","type":"number","required":false,"default":"40","description":"Spinner size in px","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Extra content shown below the spinner/text, in either mode"},{"name":"content","bindings":null,"description":"The content the overlay is layered on top of (only used when fullscreen is false)"}],"exposed":[],"types":[]},{"name":"MMap","import":"@m3ui-vue/m3ui-vue/map","description":"A MapLibre GL map, for any style: a style URL (from an MVT server like mvt-rs, MapTiler, OpenFreeMap…) or a style object. Its controls take the M3 look and the app's locale, the view can be a v-model and remembered between visits, and markers, popups, GeoJSON layers and your own controls go inside it as components. For anything else, the MapLibre map itself is the `ready` event's argument and the `map` of `useMap()` in components placed inside. Available from the `/map` entry point; needs `maplibre-gl` installed and its CSS imported (`maplibre-gl/dist/maplibre-gl.css`). Give it a height. Server-side rendering renders the empty container: MapLibre loads in the browser.","props":[{"name":"mapStyle","type":"string | maplibregl.StyleSpecification","required":true,"default":null,"description":"The map's style: a style JSON URL or a style object (MapLibre's `StyleSpecification`). Changing it reloads the style, keeping what was added at runtime (see `keepLayers`)","model":false},{"name":"keepLayers","type":"boolean | ((layer: maplibregl.LayerSpecification) => boolean)","required":false,"default":"true","description":"What happens to the sources and layers added at runtime (with `useMap()`, or by `MMapGeoJson`, `MMapMeasure`…) when `mapStyle` changes: `true` carries them into the new style, on top of its layers; `false` drops them, as MapLibre does; a function picks the layers to carry (their sources come along)","model":false},{"name":"transformStyle","type":"maplibregl.TransformStyleFunction","required":false,"default":null,"description":"MapLibre's `transformStyle` for a `mapStyle` change, run after `keepLayers`: edit the next style before it loads (copy a layer's paint over, add a sprite…)","model":false},{"name":"center","type":"[number, number]","required":false,"default":null,"description":"`[lng, lat]` (v-model). When left out, the style's (or the remembered view's)","model":true},{"name":"zoom","type":"number","required":false,"default":null,"description":"Zoom level (v-model)","model":true},{"name":"bearing","type":"number","required":false,"default":null,"description":"Rotation in degrees (v-model)","model":true},{"name":"pitch","type":"number","required":false,"default":null,"description":"Tilt in degrees (v-model)","model":true},{"name":"persist","type":"string | boolean","required":false,"default":"false","description":"Remember the view (center, zoom, bearing, pitch) in localStorage and start from it on the next visit: `true` under `m3-map-view` (after `createM3UI`'s `storagePrefix`, if any), or your own key (one per map)","model":false},{"name":"navigation","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Zoom and compass buttons: `false`, or a corner (`true` is top-right)","model":false},{"name":"geolocate","type":"boolean | MapControlPosition","required":false,"default":"false","description":"A button that centers the map on the user's location and follows it: `false`, or a corner (`true` is top-right)","model":false},{"name":"fullscreen","type":"boolean | MapControlPosition","required":false,"default":"false","description":"A fullscreen button: `false`, or a corner (`true` is top-right)","model":false},{"name":"scale","type":"boolean | MapControlPosition","required":false,"default":"true","description":"A metric scale bar: `false`, or a corner (`true` is bottom-left)","model":false},{"name":"attribution","type":"boolean | MapControlPosition","required":false,"default":"true","description":"The credits of the style's sources, an info button that opens into a pill: `false`, or a corner (`true` is bottom-right). Most tile providers require it","model":false},{"name":"options","type":"Partial<Omit<maplibregl.MapOptions, \"container\" | \"style\">>","required":false,"default":null,"description":"Anything else for MapLibre's `Map` constructor (`maxZoom`, `maxBounds`, `cooperativeGestures`…)","model":false},{"name":"adapter","type":"MapAdapter","required":false,"default":null,"description":"Reads the style's conventions (layer names, groups, base layers, what to identify or show on hover) for `MMapLayers`, `MMapBaseLayers`, `MMapIdentify` and `MMapHover`: `genericAdapter`, `orvianAdapter()`, or your own","model":false}],"events":[{"name":"click","args":"event: maplibregl.MapMouseEvent","description":"A click on the map (MapLibre's `MapMouseEvent`: `lngLat`, `point`)"},{"name":"update:zoom","args":"zoom: number","description":"The zoom changed (on `moveend`)"},{"name":"ready","args":"map: maplibregl.Map","description":"The map loaded (with its style), with the MapLibre `Map`"},{"name":"update:center","args":"center: [number, number]","description":"The view moved (on `moveend`): `[lng, lat]`"},{"name":"update:bearing","args":"bearing: number","description":"The rotation changed (on `moveend`)"},{"name":"update:pitch","args":"pitch: number","description":"The tilt changed (on `moveend`)"}],"slots":[{"name":"default","bindings":null,"description":"Map components (`MMapMarker`, `MMapPopup`, `MMapGeoJson`, `MMapControl`) and anything to show over the map, rendered once the map exists"}],"exposed":[{"name":"map","type":"maplibregl.Map | undefined","description":"The MapLibre map, once loaded"},{"name":"context","type":"MapContext","description":"What the components inside it share: pass the `MMap` (or this) as `map` to `MMapLayers`, `useMap()`… outside it"}],"types":[{"name":"MapControlPosition","source":"export type MapControlPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'"}]},{"name":"MMapBaseLayers","import":"@m3ui-vue/m3ui-vue/map","description":"The base layer switcher of an `MMap` with an `adapter`: a round thumbnail per base layer (the adapter's `image`, after `imageBase`), one shown at a time, plus \"no base layer\". Only the thumbnails: put them in an `MMapControl` (`:group=\"false\"`), an `MFab`'s `#content` or a panel, inside the `MMap` or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"imageBase","type":"string","required":false,"default":"\"\"","description":"Prefix for the thumbnails' paths (e.g. `/images/`); full URLs are used as they are","model":false},{"name":"none","type":"boolean","required":false,"default":"true","description":"Offer \"no base layer\"","model":false},{"name":"vertical","type":"boolean","required":false,"default":"false","description":"Lay them out in a column","model":false},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMapControl","import":"@m3ui-vue/m3ui-vue/map","description":"Your own control in a corner of an `MMap`, stacked with MapLibre's (zoom, geolocate…) in that corner. With `group` (the default) it's a control group like the zoom buttons: put `<button>`s with a Material Symbols icon in it and they get the same M3 look. Without it, anything goes (an `MFab`, an `MSearchBar`, a card). With a `#panel` slot it expands in place: a button in it calls `toggle` and the control grows into a panel with your content (a layer picker, filters, a legend), and back. Its size springs whenever its content changes size, so the other controls in the corner move along instead of jumping. Available from the `/map` entry point.","props":[{"name":"position","type":"MapControlPosition","required":false,"default":"\"top-right\"","description":"The corner","model":false},{"name":"group","type":"boolean","required":false,"default":"true","description":"Draw it as a control group (a surface with dividers between buttons), like MapLibre's zoom buttons","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Expanded into its `#panel` (v-model:expanded)","model":true},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Springs the control's size when its content changes size (expanding, or anything else)","model":false}],"events":[{"name":"update:expanded","args":"boolean","description":"Emitted when the panel opens or closes — powers v-model:expanded"}],"slots":[{"name":"panel","bindings":"{ close: () => void; }","description":"What the control expands into (`v-model:expanded`); `{ close }`. Escape or a press outside it closes it"},{"name":"default","bindings":"{ expanded: boolean; toggle: () => void; }","description":"The control's content; `{ expanded, toggle }` when it has a `#panel`"}],"exposed":[],"types":[]},{"name":"MMapFeatureInfo","import":"@m3ui-vue/m3ui-vue/map","description":"Identify results (from `MMapIdentify`'s `identify` event, or `identifyFeatures()`): a card per feature with its layer's name and its formatted properties. `MMapIdentify` shows it in a popup; use it in a panel of your own (an `MWindow`, an `MSideSheet`) the same way. Values are shown as text. Available from the `/map` entry point.","props":[{"name":"results","type":"MapIdentifyResult[]","required":true,"default":null,"description":"What was found","model":false}],"events":[],"slots":[{"name":"value","bindings":"{ field: { key: string; label: string; value: string; }; result: MapIdentifyResult; }","description":"A property's value (scope: `{ field, result }`), e.g. to turn URLs into links"}],"exposed":[],"types":[]},{"name":"MMapFilter","import":"@m3ui-vue/m3ui-vue/map","description":"A simple filter for one layer of an `MMap`: chips for the values of one of its properties; the layer shows only the features with the selected ones (all of them with none selected). The values are `values`, or else the distinct ones among the layer's features loaded in the map. The style's own filter on the layer stays. For anything more involved, build your own on `useMapFilter()`. Inside the `MMap`, or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"layer","type":"string","required":true,"default":null,"description":"The layer's id","model":false},{"name":"property","type":"string","required":true,"default":null,"description":"The property to filter by","model":false},{"name":"values","type":"(string | number)[]","required":false,"default":null,"description":"The values to offer (labels in `labels`); by default the ones found in the layer's loaded features","model":false},{"name":"labels","type":"Record<string, string>","required":false,"default":null,"description":"Labels for the values, by value","model":false},{"name":"modelValue","type":"(string | number)[]","required":false,"default":null,"description":"The selected values (v-model)","model":true},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[{"name":"update:modelValue","args":"values: (string | number)[]","description":""}],"slots":[],"exposed":[],"types":[]},{"name":"MMapGeoJson","import":"@m3ui-vue/m3ui-vue/map","description":"GeoJSON on an `MMap`: a source from `data` (an object, or a URL MapLibre fetches) drawn with `layers`. Without `layers` it draws every geometry in the theme's primary, following palette and dark mode: polygons filled with an outline, lines, and points as circles. Replace `data` (a new object) to update it. It's added again after a style change. Available from the `/map` entry point.","props":[{"name":"data","type":"any","required":true,"default":null,"description":"A GeoJSON object, or the URL of one","model":false},{"name":"id","type":"string","required":false,"default":null,"description":"The source's id (and the prefix of its layers' made-up ids). Unique on the map; generated when left out","model":false},{"name":"layers","type":"MapGeoJsonLayer[]","required":false,"default":null,"description":"How to draw it: MapLibre layers without `source`. Defaults to theme-colored fill, outline, line and circle layers","model":false},{"name":"before","type":"string","required":false,"default":null,"description":"Insert the layers below this layer id (e.g. under the style's labels)","model":false},{"name":"interactive","type":"boolean","required":false,"default":"false","description":"Show a pointer over its features (set it when you handle `click`)","model":false},{"name":"sourceOptions","type":"Partial<Omit<maplibregl.GeoJSONSourceSpecification, \"type\" | \"data\">>","required":false,"default":null,"description":"More options for the GeoJSON source (`cluster`, `promoteId`, `tolerance`…)","model":false}],"events":[{"name":"click","args":"event: maplibregl.MapLayerMouseEvent","description":"A click on one of its features (MapLibre's `MapLayerMouseEvent`: `e.features` holds them)"}],"slots":[],"exposed":[{"name":"sourceId","type":"string","description":"The source's id"},{"name":"layerIds","type":"() => string[]","description":"The ids of its layers on the map"}],"types":[{"name":"MapGeoJsonLayer","source":"/** A layer of `MMapGeoJson`: any MapLibre layer without its `source` (and `id`, made up when left out). */\nexport type MapGeoJsonLayer = DistributiveOmit<Exclude<Maplibre.LayerSpecification, Maplibre.BackgroundLayerSpecification>, 'id' | 'source'> & { id?: string }"}]},{"name":"MMapHover","import":"@m3ui-vue/m3ui-vue/map","description":"Hover info for an `MMap` with an `adapter`: while on (v-model), the layers with `hover` fields show them for the feature under the pointer, in a small popup that follows it. With `control` (on by default) it adds its own on/off button to the map's controls. Pointer devices only: touch has no hover. Available from the `/map` entry point.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"false","description":"On (v-model)","model":true},{"name":"control","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Its on/off button: `false`, or a corner (`true` is top-right)","model":false}],"events":[{"name":"update:modelValue","args":"on: boolean","description":"Turned on or off with its button"}],"slots":[],"exposed":[],"types":[]},{"name":"MMapIdentify","import":"@m3ui-vue/m3ui-vue/map","description":"Click-to-identify for an `MMap` with an `adapter`: a click on the map lists the features of the layers marked to identify under it (with their formatted properties) in a popup, with a marker where the user clicked. The pointer turns into a hand over those layers. The `identify` event carries the results, to show them in a panel of your own instead (`:popup=\"false\"`, then `MMapFeatureInfo` in an `MWindow`). Available from the `/map` entry point.","props":[{"name":"enabled","type":"boolean","required":false,"default":"true","description":"Listen to clicks. It also pauses by itself while another tool owns them (`MMapMeasure` measuring)","model":false},{"name":"popup","type":"boolean","required":false,"default":"true","description":"Show the results in a popup at the click","model":false},{"name":"marker","type":"boolean","required":false,"default":"true","description":"Mark where the user clicked while there are results","model":false}],"events":[{"name":"identify","args":"results: MapIdentifyResult[], lngLat: [number, number]","description":"The user clicked the map: what was found there (empty when nothing) and where (`[lng, lat]`)"}],"slots":[{"name":"default","bindings":"{ results: MapIdentifyResult[]; lngLat: [number, number]; close: () => void; }","description":"The popup's content instead of `MMapFeatureInfo` (scope: `{ results, lngLat, close }`)"}],"exposed":[{"name":"close","type":"() => void","description":""}],"types":[]},{"name":"MMapLayers","import":"@m3ui-vue/m3ui-vue/map","description":"The layer list of an `MMap` with an `adapter`: a search field, the style's groups (collapsible, with a visibility toggle for the whole group and a count) and its layers, each with a visibility toggle and, expanded, its description, an opacity slider, its legend and a download link. Only the content: put it in an `MWindow`, an `MSideSheet`, an `MBottomSheet` or an `MMapControl`, inside the `MMap` or anywhere else with `map`. Available from the `/map` entry point.","props":[{"name":"search","type":"boolean","required":false,"default":"true","description":"Show the search field","model":false},{"name":"collapsed","type":"boolean","required":false,"default":"false","description":"Groups start collapsed","model":false},{"name":"map","type":"MapSource","required":false,"default":null,"description":"The map, when this is outside it (a side panel): the `MMap`'s template ref","model":false}],"events":[],"slots":[{"name":"actions","bindings":"{ layer: MapLayerInfo; visible: boolean; }","description":"Extra actions in an expanded layer (scope: `{ layer, visible }`)"}],"exposed":[],"types":[]},{"name":"MMapMarker","import":"@m3ui-vue/m3ui-vue/map","description":"A marker on an `MMap`, at `lngLat`: MapLibre's pin in the theme's primary (or `color`), or your own content from the default slot. With `draggable`, `lngLat` is a v-model. Content in `#popup` opens in a popup when the marker is clicked. Available from the `/map` entry point.","props":[{"name":"lngLat","type":"[number, number]","required":true,"default":null,"description":"Position, `[lng, lat]` (v-model with `draggable`)","model":true},{"name":"color","type":"string","required":false,"default":null,"description":"The pin's color (any CSS color). Defaults to the theme's primary; ignored with custom content","model":false},{"name":"draggable","type":"boolean","required":false,"default":"false","description":"Let the user drag it","model":false},{"name":"anchor","type":"maplibregl.PositionAnchor","required":false,"default":null,"description":"Which part of the marker sits on `lngLat`. By default the pin's tip (MapLibre's placement: its center, offset `[0, -14]`), and the center of custom content","model":false},{"name":"offset","type":"[number, number]","required":false,"default":null,"description":"Offset in pixels, `[x, y]`. The pin's default is MapLibre's `[0, -14]`, which puts its tip on `lngLat`","model":false},{"name":"rotation","type":"number","required":false,"default":"0","description":"Rotation in degrees","model":false}],"events":[{"name":"click","args":"event: MouseEvent","description":"The marker was clicked"},{"name":"update:lngLat","args":"lngLat: [number, number]","description":"Dragged to a new position (`draggable`): `[lng, lat]`"}],"slots":[{"name":"default","bindings":null,"description":"The marker itself, instead of the pin (any element, anchored by `anchor`)"},{"name":"popup","bindings":null,"description":"Content of a popup that opens when the marker is clicked"}],"exposed":[{"name":"marker","type":"() => maplibregl.Marker | undefined","description":"The MapLibre marker"}],"types":[]},{"name":"MMapMeasure","import":"@m3ui-vue/m3ui-vue/map","description":"Distance and area measuring on an `MMap`, with its own control (distance, area, clear). Click to add points (a preview follows the pointer), double-click, Enter or Escape to finish, click the first point to close the shape, or press the active button again (in fullscreen, Escape finishes it too where the browser allows: Chromium). Finished measurements stay editable: drag a vertex, or a midpoint to add one; the ✕ on a total or area deletes that one. Labels show each segment, the total and the area; everything follows the theme. While measuring it owns the map's clicks (`MMapIdentify` waits). Geodesic numbers, the same as turf's. Available from the `/map` entry point.","props":[{"name":"modelValue","type":"Mode | null","required":false,"default":"null","description":"The measuring mode (v-model): `'distance'`, `'area'`, or null. Set it to start measuring from outside","model":true},{"name":"control","type":"boolean | MapControlPosition","required":false,"default":"true","description":"Its buttons: `false` (drive it with v-model), or a corner (`true` is top-right)","model":false}],"events":[{"name":"update:modelValue","args":"mode: Mode | null","description":"The measuring mode changed (`'distance'`, `'area'`, or null when it finished)"},{"name":"change","args":"measurements: { mode: Mode; points: LngLat[]; closed: boolean; length: number; area?: number | undefined; }[]","description":"The measurements changed (added, edited, cleared): each one's points, length in meters and area in m²"}],"slots":[],"exposed":[{"name":"start","type":"(next: Mode) => void","description":""},{"name":"finish","type":"(byEscape?: boolean) => void","description":""},{"name":"clear","type":"() => void","description":""},{"name":"remove","type":"(index: number) => void","description":""}],"types":[{"name":"Mode","source":"type Mode = 'distance' | 'area'"}]},{"name":"MMapPopup","import":"@m3ui-vue/m3ui-vue/map","description":"A popup on an `MMap` at `lngLat`, shown while `open` (v-model): e.g. what the user clicked on. Its content is the default slot, styled as an M3 surface. For a popup that opens from a marker, use `MMapMarker`'s `#popup` slot. Available from the `/map` entry point.","props":[{"name":"lngLat","type":"[number, number]","required":true,"default":null,"description":"Position, `[lng, lat]`","model":false},{"name":"open","type":"boolean","required":false,"default":"true","description":"Shown (v-model)","model":true},{"name":"closeButton","type":"boolean","required":false,"default":"true","description":"Show a close button","model":false},{"name":"closeOnClick","type":"boolean","required":false,"default":"true","description":"Close it when the map is clicked","model":false},{"name":"anchor","type":"maplibregl.PositionAnchor","required":false,"default":null,"description":"Where the popup sits relative to `lngLat`. By default MapLibre picks the side with room","model":false},{"name":"offset","type":"maplibregl.Offset","required":false,"default":null,"description":"Offset from `lngLat`: pixels, `[x, y]`, or one per side (`{ bottom: [0, -38], … }`, MapLibre's `Offset`). By default none: its tip touches the point","model":false},{"name":"maxWidth","type":"string","required":false,"default":"\"320px\"","description":"Maximum width (CSS)","model":false}],"events":[{"name":"update:open","args":"open: boolean","description":"Closed by its close button or a click on the map (`closeOnClick`)"}],"slots":[{"name":"default","bindings":null,"description":"The popup's content"}],"exposed":[{"name":"popup","type":"() => maplibregl.Popup | undefined","description":"The MapLibre popup"}],"types":[]},{"name":"MMapSearch","import":"@m3ui-vue/m3ui-vue/map","description":"A place search on an `MMap`: a search card in a corner. Enter searches through `provider` (OpenStreetMap's Nominatim by default, or any function returning places); picking a result flies there (or fits its extent) and marks it. Available from the `/map` entry point.","props":[{"name":"provider","type":"MapSearchProvider","required":false,"default":null,"description":"Where to search: `nominatimProvider(options)` by default, or your own function","model":false},{"name":"position","type":"MapControlPosition","required":false,"default":"\"top-left\"","description":"The corner","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"The field's placeholder (the locale's \"Search places\" by default)","model":false},{"name":"zoom","type":"number","required":false,"default":"17","description":"The zoom to fly to for a result without an extent","model":false},{"name":"marker","type":"boolean","required":false,"default":"true","description":"Mark the picked result","model":false},{"name":"instant","type":"boolean","required":false,"default":"false","description":"Search while typing (debounced), for providers that allow it; Nominatim's public server doesn't","model":false}],"events":[{"name":"select","args":"result: MapSearchResult","description":"A result was picked"}],"slots":[],"exposed":[],"types":[]},{"name":"MMarkdown","import":"@m3ui-vue/m3ui-vue/markdown","description":"Renders markdown source as styled HTML — headings, lists, tables, blockquotes, links, and fenced code blocks with optional syntax highlighting, line highlighting, and a copy button.","props":[{"name":"source","type":"string","required":true,"default":null,"description":"Markdown source text","model":false},{"name":"breaks","type":"boolean","required":false,"default":"true","description":"Convert single newlines to `<br>`","model":false},{"name":"linkify","type":"boolean","required":false,"default":"true","description":"Auto-detect bare URLs and turn them into links","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMaskField","import":"@m3ui-vue/m3ui-vue","description":"A text field with a formatting mask — built-in presets or a custom pattern where `#` stands for a digit.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"Masked value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"mask","type":"string","required":true,"default":null,"description":"Mask pattern (# = digit) or a built-in preset name (see `MaskPreset`)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show clear button","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[],"exposed":[{"name":"inputEl","type":"HTMLInputElement | null","description":"The `<input>` (or `<textarea>`) element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the field"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the field"},{"name":"select","type":"() => void | undefined","description":"Selects all its text"},{"name":"setSelectionRange","type":"(start: number, end: number, direction?: \"none\" | \"forward\" | \"backward\" | undefined) => void | undefined","description":"Selects part of its text (e.g. a file name without its extension)"}],"types":[{"name":"MaskPreset","source":"export type MaskPreset = 'credit-card' | 'phone' | 'date' | 'time' | 'cpf' | 'cnpj' | 'zip'"}]},{"name":"MMasonry","import":"@m3ui-vue/m3ui-vue","description":"Pinterest-style column layout that fills the shortest column first. Re-lays out on container resize via `ResizeObserver` and when the slotted content changes.","props":[{"name":"cols","type":"number","required":false,"default":"2","description":"Default column count","model":false},{"name":"smCols","type":"number","required":false,"default":null,"description":"Columns at sm breakpoint (640px)","model":false},{"name":"mdCols","type":"number","required":false,"default":null,"description":"Columns at md breakpoint (768px)","model":false},{"name":"lgCols","type":"number","required":false,"default":null,"description":"Columns at lg breakpoint (1024px)","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The items, laid out in columns."}],"exposed":[],"types":[]},{"name":"MMenu","import":"@m3ui-vue/m3ui-vue","description":"A trigger-based dropdown menu, composed with `MMenuItem` and `MMenuDivider`. Items support unlimited-depth nested submenus via the `#children` slot.","props":[{"name":"align","type":"\"right\" | \"left\"","required":false,"default":"\"right\"","description":"Which edge of the trigger the dropdown aligns to.","model":false},{"name":"submenuMode","type":"\"push\" | \"flyout\"","required":false,"default":"\"flyout\"","description":"How items with a `#children` slot behave. `'flyout'` opens a hover-positioned side panel (desktop). `'push'` replaces the panel's own content with the submenu and a back header — no positioning math, works with touch. Useful for mobile.","model":false},{"name":"variant","type":"\"standard\" | \"expressive\"","required":false,"default":"\"standard\"","description":"'standard' is M3's baseline menu (4dp corners). 'expressive' is M3's rounder 'vertical menu' styling (16dp corners) — combine with `<MMenuDivider gap />` to split the panel into independently-rounded groups with a visible gap, instead of a plain divider line.","model":false}],"events":[],"slots":[{"name":"trigger","bindings":"{ open: boolean; }","description":"The element that opens the menu when clicked; `open` tells whether it's open."},{"name":"default","bindings":"{ close: () => void; }","description":"The menu's items (MMenuItem, MMenuDivider or your own markup); `close()` closes the menu."}],"exposed":[{"name":"close","type":"() => void","description":""},{"name":"open","type":"boolean","description":""}],"types":[]},{"name":"MMenuDivider","import":"@m3ui-vue/m3ui-vue","description":"A line between groups of items in an MMenu or MContextMenu; with `gap` in an expressive menu it splits the menu into separate rounded groups.","props":[{"name":"gap","type":"boolean","required":false,"default":"false","description":"Marks this as a group boundary for `MMenu`/`MContextMenu`'s `variant=\"expressive\"` — instead of rendering this divider in place, the parent menu splits its panel into two independently-rounded group boxes with a small gap between them. Has no effect outside an `expressive` menu, where it renders as a normal divider line.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MMenuItem","import":"@m3ui-vue/m3ui-vue","description":"An item of an MMenu or MContextMenu: icon, label and a shortcut hint. Put more items in its `#children` slot to make it open a submenu. With `selected` it's one choice of several (Compose's SelectableDropdownMenuItem), with `checked` an on/off setting (CheckableDropdownMenuItem): tertiary-container and rounder while on, with a check that slides in.","props":[{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"shortcut","type":"string","required":false,"default":null,"description":"Keyboard shortcut hint displayed on the right (e.g. \"Ctrl+C\") — hidden when the item has #children","model":false},{"name":"to","type":"string | Record<string, any>","required":false,"default":null,"description":"Vue Router destination — renders as RouterLink instead of button","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the item","model":false},{"name":"danger","type":"boolean","required":false,"default":"false","description":"Danger/destructive styling (error color)","model":false},{"name":"keepOpen","type":"boolean","required":false,"default":null,"description":"Keep the menu open after this item is clicked. Defaults to true for `checked` items, false otherwise","model":false},{"name":"selected","type":"boolean","required":false,"default":null,"description":"Makes it one choice of several (radio-like): selected look while true. Leave unset for a plain item","model":false},{"name":"checked","type":"boolean","required":false,"default":null,"description":"Makes it an on/off setting (v-model:checked, checkbox-like): checked look while true. Leave unset for a plain item","model":true},{"name":"selectedIcon","type":"string","required":false,"default":null,"description":"Icon shown while selected or checked. Defaults to a check that slides in when the item has no `icon`; with an `icon`, that icon stays and turns filled","model":false}],"events":[{"name":"click","args":"","description":"Emitted when a leaf item (no #children) is clicked. Not emitted for disabled items or for items with #children, since clicking those just opens/toggles the submenu instead."},{"name":"update:checked","args":"boolean","description":"Emitted on click when `checked` is set, with the new value — powers v-model:checked"}],"slots":[{"name":"icon","bindings":"{ on: boolean; }","description":"Replaces the leading icon (an `MIcon` with a class, an image, an avatar…), `{ on }` while selected or checked. It gets the icon's 20px box and color"},{"name":"default","bindings":null,"description":"Item label text."},{"name":"children","bindings":null,"description":"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."}],"exposed":[],"types":[]},{"name":"MMultiAutocomplete","import":"@m3ui-vue/m3ui-vue","description":"Multi-value autocomplete with inline search. Type to filter, Enter to toggle, Backspace to remove last chip.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before filtering and firing @debounced. Selection is always instant","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted on selection change — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing the search query (only when debounce > 0)"}],"slots":[],"exposed":[],"types":[]},{"name":"MMultiSelect","import":"@m3ui-vue/m3ui-vue","description":"Select multiple values with removable chips and an optional in-dropdown search.","props":[{"name":"modelValue","type":"unknown[]","required":true,"default":"[]","description":"Selected values (any type — v-model)","model":true},{"name":"options","type":"MultiSelectOption[]","required":true,"default":null,"description":"The options to choose from; see `MultiSelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when nothing selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search in dropdown","model":false},{"name":"maxChips","type":"number","required":false,"default":"3","description":"Max visible chips before \"+N\"","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset all selections","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input in dropdown — defaults to the current locale's string","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text when no options match search — defaults to the current locale's string","model":false},{"name":"hideSelected","type":"boolean","required":false,"default":"false","description":"Remove already-selected options from the dropdown","model":false}],"events":[{"name":"update:modelValue","args":"unknown[]","description":"Emitted with the new array of selected values."}],"slots":[{"name":"no-results","bindings":null,"description":"Custom content shown in the dropdown when no options match the search query"}],"exposed":[],"types":[{"name":"MultiSelectOption","source":"export interface MultiSelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"A mobile bottom navigation bar with a pill indicator and badge support.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `NavBarItem`)","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"NavBarItem","source":"export interface NavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n}"}]},{"name":"MNavigationDrawer","import":"@m3ui-vue/m3ui-vue","description":"A slide-out or inline drawer of grouped, badge-able, optionally-nested navigation items — modal (Teleported, scrim-backed, swiped closed toward its edge) or inline (participates in layout, supports a collapsed icon-only mode).","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"selected","type":"string | number","required":false,"default":null,"description":"Currently selected item value","model":false},{"name":"sections","type":"DrawerSection[]","required":true,"default":null,"description":"Array of sections (see the types below)","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Drawer header title (ignored if the #header slot is used)","model":false},{"name":"modal","type":"boolean","required":false,"default":"true","description":"Modal with a Teleported scrim overlay, or an inline sidebar that participates in normal layout flow","model":false},{"name":"collapsed","type":"boolean","required":false,"default":null,"description":"Compact mode (72px) showing only icons — inline variant only","model":false},{"name":"collapsedLabels","type":"boolean","required":false,"default":null,"description":"In `collapsed` mode, shows each item's label under its icon, with the selection on a 56×32 pill around the icon, like MNavigationRail's collapsed items — nested items included","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"Custom drawer width (e.g. \"320px\", \"25rem\"). Defaults to 22.5rem (360px)","model":false},{"name":"side","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"left\"","description":"Which side the drawer opens from. Top/bottom are only available for the modal variant — the inline variant always renders on left or right.","model":false},{"name":"swipeEnabled","type":"boolean","required":false,"default":"true","description":"Lets the modal drawer be swiped closed toward its edge; with false it only closes through v-model or the scrim","model":false},{"name":"expandSelected","type":"boolean","required":false,"default":"true","description":"Opens the groups that hold the selected item (and the selected item, if it's a group) whenever `selected` changes","model":false},{"name":"accordion","type":"boolean","required":false,"default":"false","description":"Keeps one group open per level: opening a group, by hand or through `expandSelected`, closes its siblings","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Open/closed state for v-model"},{"name":"select","args":"string | number","description":"Fires when an item is clicked — use to track the selected item"}],"slots":[{"name":"header","bindings":null,"description":"Custom header content (e.g. profile card, logo). Fully generic, no positioning constraints applied — overrides the title prop."},{"name":"default","bindings":null,"description":"Free content rendered at the end of the scrollable area, after all sections. Use for footers, logout buttons, or any custom content."},{"name":"toggle","bindings":null,"description":"Collapse/expand toggle button area (inline variant only). Renders inside a 72px centered container with a bottom border that aligns with MTopAppBar (64px height). The icon stays anchored in the same position during collapse/expand transitions."}],"exposed":[{"name":"openItems","type":"Record<string | number, boolean>","description":""}],"types":[{"name":"DrawerItem","source":"export interface DrawerItem {\n value: string | number;\n label: string;\n icon?: string;\n badge?: string | number;\n disabled?: boolean;\n to?: string | Record<string, any>;\n children?: DrawerItem[];\n iconSize?: number;\n labelClass?: string;\n py?: string;\n click?: () => void;\n}"},{"name":"DrawerSection","source":"export interface DrawerSection {\n title?: string;\n icon?: string;\n items: DrawerItem[];\n collapsible?: boolean;\n}"}]},{"name":"MNavigationRail","import":"@m3ui-vue/m3ui-vue","description":"Compact vertical navigation for desktop/tablet layouts with a pill indicator, an optional wide \"expanded\" state, and an optional modal (flyout) variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"NavRailItem[]","required":true,"default":null,"description":"Array of rail items (see `NavRailItem`)","model":false},{"name":"alignment","type":"\"top\" | \"bottom\" | \"center\"","required":false,"default":"\"top\"","description":"Vertical alignment of items within the rail","model":false},{"name":"expanded","type":"boolean","required":false,"default":"false","description":"Widens the rail (to fit the longest label, 220 to 360px) and shows each item's icon beside its label in a full-width pill, instead of the icon over the label. Toggle it from your own menu button.","model":true},{"name":"modal","type":"boolean","required":false,"default":"false","description":"Keeps the rail collapsed and opens the expanded rail as a panel over the app, with a scrim, instead of widening in place. It closes on a scrim click, Escape or picking an item, emitting `update:expanded`.","model":false},{"name":"hideOnCollapse","type":"boolean","required":false,"default":"false","description":"With `modal`: no collapsed rail on screen; the expanded rail slides in from off-screen and can be swiped away (Compose's `hideOnCollapse`). Open it from your own menu button","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the modal panel closes (modal mode only) — pair with :expanded for v-model:expanded. With `hideOnCollapse`, swiping the panel away closes it too"}],"slots":[{"name":"fab","bindings":null,"description":"A FAB (or MFabMenu) at the top of the rail, above the items."}],"exposed":[],"types":[{"name":"NavRailItem","source":"export interface NavRailItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MNavigationSuite","import":"@m3ui-vue/m3ui-vue","description":"One navigation that adapts to the space, after Material 3's `NavigationSuiteScaffold`: a short navigation bar at the bottom on phones, the same bar with icons beside labels on a phone in landscape, and a navigation rail on the side from tablets up. Give it your destinations and your content; it picks MShortNavigationBar or MNavigationRail by its own size (see useWindowSizeClass) and swaps them without remounting the content. It has no default size, so give it the app's height, e.g. `class=\"h-dvh\"`.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Selected destination (v-model)","model":true},{"name":"items","type":"NavigationSuiteItem[]","required":true,"default":null,"description":"Destinations, the same shape MNavigationRail and MShortNavigationBar take","model":false},{"name":"layout","type":"\"auto\" | NavigationSuiteLayout","required":false,"default":"\"auto\"","description":"'auto' picks by the component's own size: compact width → short bar, compact height (a phone in landscape) → short bar with icons beside labels, anything else → rail. Any other value forces that navigation; 'none' hides it","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when a destination is picked (v-model)"}],"slots":[{"name":"default","bindings":"{ layout: NavigationSuiteLayout; }","description":"The app's content. Scrolls on its own, next to or above the navigation."},{"name":"fab","bindings":null,"description":"Primary action (e.g. a FAB): the rail's header, or floating above the bar at the bottom end."}],"exposed":[],"types":[{"name":"NavigationSuiteItem","source":"export interface NavigationSuiteItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"},{"name":"NavigationSuiteLayout","source":"/** The navigation component in use: a short bar (icons over labels, or beside them), or a rail. */\nexport type NavigationSuiteLayout = 'bar' | 'bar-medium' | 'rail' | 'rail-expanded' | 'none'"}]},{"name":"MNumberField","import":"@m3ui-vue/m3ui-vue","description":"A numeric text field with +/- stepper buttons, min/max clamping, and keyboard arrow support.","props":[{"name":"modelValue","type":"number | null","required":true,"default":"null","description":"Bound numeric value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"min","type":"number","required":false,"default":null,"description":"Minimum allowed value","model":false},{"name":"max","type":"number","required":false,"default":null,"description":"Maximum allowed value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Increment/decrement step","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon","model":false},{"name":"stepper","type":"boolean","required":false,"default":"true","description":"Show +/- buttons","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"number | null","description":"Emitted on every change — typing, stepper clicks, or arrow keys — powers v-model"},{"name":"debounced","args":"number | null","description":"Emitted debounce ms after the user stops typing (only when debounce > 0). Stepper clicks/arrow keys still emit instantly"}],"slots":[],"exposed":[{"name":"inputEl","type":"HTMLInputElement | null","description":"The `<input>` (or `<textarea>`) element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the field"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the field"},{"name":"select","type":"() => void | undefined","description":"Selects all its text"}],"types":[]},{"name":"MOverlay","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"modelValue","type":"boolean","required":false,"default":"true","description":"Controls visibility (v-model)","model":true},{"name":"scrim","type":"boolean","required":false,"default":"true","description":"Show dark backdrop","model":false},{"name":"zIndex","type":"number","required":false,"default":"50","description":"Z-index value","model":false},{"name":"closeOnEscape","type":"boolean","required":false,"default":"false","description":"Closes on Escape. It shares the library's Escape stack with MDialog and the sheets, so a dialog or menu opened over it takes Escape first","model":false},{"name":"lockScroll","type":"boolean","required":false,"default":"false","description":"Locks the page's scroll while open (shared with the library's other modal surfaces, so stacking is safe)","model":false},{"name":"transition","type":"string","required":false,"default":null,"description":"Name of a `<Transition>` (your CSS classes) to play instead of the default fade","model":false}],"events":[{"name":"update:modelValue","args":"value: boolean","description":"Emitted with false when the scrim is clicked (or Escape is pressed with closeOnEscape), for v-model support"}],"slots":[{"name":"default","bindings":null,"description":"Content shown over the scrim."}],"exposed":[],"types":[]},{"name":"MPageProgress","import":"@m3ui-vue/m3ui-vue","description":"A thin bar pinned to the top or bottom edge of the viewport, for page/route-level loading state — auto-wired to vue-router by default, or driven entirely by hand via usePageProgress().","props":[{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Bar color","model":false},{"name":"thickness","type":"number","required":false,"default":"3","description":"Bar height in px","model":false},{"name":"auto","type":"boolean","required":false,"default":"true","description":"Auto-wire to vue-router's navigation guards when a router is detected. Set to `false` to drive it entirely by hand via `usePageProgress()`.","model":false},{"name":"position","type":"\"top\" | \"bottom\"","required":false,"default":"\"top\"","description":"Which edge of the viewport the bar is pinned to","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPagination","import":"@m3ui-vue/m3ui-vue","description":"Simple previous/next page navigation with an automatically computed page range label. Its texts (“1–10 of 25”, “Page 1 of 3” and the buttons’ labels) come from the app’s locale.","props":[{"name":"page","type":"number","required":true,"default":null,"description":"Current page (1-based)","model":true},{"name":"perPage","type":"number","required":true,"default":null,"description":"Items per page","model":false},{"name":"total","type":"number","required":true,"default":null,"description":"Total number of items","model":false}],"events":[{"name":"update:page","args":"number","description":"Emitted when the previous/next button is clicked — drive page with it for v-model-style two-way binding"}],"slots":[],"exposed":[],"types":[]},{"name":"MPasswordMeter","import":"@m3ui-vue/m3ui-vue","description":"A password strength bar. Scores length + character variety (0-4) and emits `score` so you can gate a submit button on it.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Password to score","model":false},{"name":"labels","type":"string[]","required":false,"default":"[\"Very weak\", \"Weak\", \"Fair\", \"Good\", \"Strong\"]","description":"5 labels, weakest to strongest.","model":false},{"name":"minLength","type":"number","required":false,"default":"8","description":"Length considered \"long enough\" — also used (+4) as the \"very long\" bonus threshold.","model":false}],"events":[{"name":"score","args":"number","description":"Emitted whenever value changes — -1 for an empty value, or 0-4 otherwise"}],"slots":[],"exposed":[],"types":[]},{"name":"MPdfViewer","import":"@m3ui-vue/m3ui-vue/pdf","description":"A PDF viewer on pdf.js (not an M3 spec component; after androidx.pdf's `PdfView` and Google Drive's viewer). The pages scroll continuously, each rendered only near the viewport, with selectable text and working links. Zoom: fit to width (the default) or the page, a percentage, Ctrl + wheel or a trackpad pinch, a pinch on touch, and a double click or double tap (zooms in there, or back to the width). A top bar with the page, zoom, search (hits marked in the text), and download, print, rotate and full screen; a side panel with thumbnails and the outline; a page indicator while scrolling (a draggable thumb on touch). With `annotate`, an edit button opens a floating toolbar to highlight text, place notes and draw, kept in `v-model:annotations` as JSON (not written into the file). Needs the `pdfjs-dist` package. Set its worker once with `setPdfWorker()` (or `worker-src`); without it pdf.js runs on the main thread.","props":[{"name":"src","type":"PdfSource | null","required":false,"default":"null","description":"The PDF: a URL, its bytes, or a `File`/`Blob`","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Shown in the top bar; default the document's own title","model":false},{"name":"page","type":"number","required":false,"default":null,"description":"Current page, 1-based (v-model)","model":true},{"name":"zoom","type":"PdfZoom","required":false,"default":"\"fit-width\"","description":"`fit-width`, `fit-page`, or a zoom where 1 is 100% (v-model)","model":true},{"name":"rotation","type":"number","required":false,"default":"0","description":"Extra rotation in degrees, a multiple of 90 (v-model)","model":true},{"name":"annotations","type":"PdfAnnotation[]","required":false,"default":"[]","description":"Annotations to draw (v-model)","model":true},{"name":"annotate","type":"boolean","required":false,"default":"false","description":"Shows the edit button and the annotation toolbar","model":false},{"name":"tool","type":"PdfTool","required":false,"default":"\"select\"","description":"The active tool (v-model)","model":true},{"name":"colors","type":"string[]","required":false,"default":"[\"#FFE14D\", \"#7ED957\", \"#5EB8FF\", \"#FF7EB6\", \"#B388FF\", \"#1F1F1F\"]","description":"Colors offered for annotations","model":false},{"name":"inkWidths","type":"number[]","required":false,"default":"[1, 2, 4, 8]","description":"The pen's widths offered in the toolbar, in PDF points (the first one is the default)","model":false},{"name":"author","type":"string","required":false,"default":null,"description":"Written into new annotations' `author`","model":false},{"name":"sidebar","type":"\"thumbnails\" | \"outline\" | null","required":false,"default":"null","description":"The side panel: thumbnails, the outline, or closed (v-model)","model":true},{"name":"toolbar","type":"boolean","required":false,"default":"true","description":"Shows the top bar","model":false},{"name":"downloadable","type":"boolean","required":false,"default":"true","description":"Shows download and print","model":false},{"name":"fileName","type":"string","required":false,"default":null,"description":"File name for downloads; default the URL's or the document's title","model":false},{"name":"password","type":"string","required":false,"default":null,"description":"A password to try first","model":false},{"name":"workerSrc","type":"string","required":false,"default":null,"description":"The pdf.js worker URL (or `setPdfWorker()` once for the app)","model":false},{"name":"minZoom","type":"number","required":false,"default":"0.25","description":"","model":false},{"name":"maxZoom","type":"number","required":false,"default":"8","description":"","model":false}],"events":[{"name":"error","args":"Error","description":"The document failed to load"},{"name":"link","args":"{ url?: string | undefined; page?: number | undefined; }","description":"A link was followed: `{ url }` (opens in a new tab) or `{ page }` (scrolled to)"},{"name":"update:page","args":"number","description":""},{"name":"update:tool","args":"PdfTool","description":""},{"name":"update:zoom","args":"PdfZoom","description":""},{"name":"update:rotation","args":"number","description":""},{"name":"update:annotations","args":"PdfAnnotation[]","description":""},{"name":"update:sidebar","args":"\"thumbnails\" | \"outline\" | null","description":""},{"name":"loaded","args":"PDFDocumentProxy","description":"The document loaded, with its pdf.js proxy"},{"name":"annotation-click","args":"PdfAnnotation","description":"An annotation was clicked with the select tool"}],"slots":[{"name":"actions","bindings":"{ pdf: PdfState; }","description":"Extra buttons at the end of the top bar. Props: `{ pdf }`"},{"name":"empty","bindings":null,"description":"Shown without a `src`"}],"exposed":[{"name":"pdf","type":"PdfState","description":""},{"name":"goToPage","type":"(p: number) => void","description":""},{"name":"setZoom","type":"(z: PdfZoom) => void","description":""},{"name":"search","type":"(q: string) => void","description":""},{"name":"undo","type":"() => void","description":""}],"types":[{"name":"PdfAnnotation","source":"/** One annotation, in PDF points (origin at the page's bottom left), so it survives zoom, rotation and reflows */\nexport interface PdfAnnotation {\n id: string\n type: 'highlight' | 'note' | 'ink'\n /** 1-based page */\n page: number\n /** Any CSS color */\n color: string\n /** highlight: the selected lines, `[x1, y1, x2, y2]` each */\n rects?: [number, number, number, number][]\n /** highlight: the text it covers */\n quote?: string\n /** note: where its icon sits */\n at?: [number, number]\n /** ink: strokes, each a list of points */\n paths?: [number, number][][]\n /** ink: stroke width in points */\n width?: number\n /** A note's text, or a comment on a highlight or drawing */\n text?: string\n author?: string\n /** ISO date */\n createdAt: string\n}"},{"name":"PdfTool","source":"export type PdfTool = 'select' | 'highlight' | 'note' | 'ink' | 'eraser'"},{"name":"PdfZoom","source":"export type PdfZoom = number | 'fit-width' | 'fit-page'"}]},{"name":"MPinInput","import":"@m3ui-vue/m3ui-vue","description":"One box per character for OTP/PIN/verification codes. Typing advances to the next box, backspace on an empty box goes back, and pasting a full code fills every box at once.","props":[{"name":"modelValue","type":"string","required":true,"default":"\"\"","description":"Bound code (v-model), e.g. \"1234\"","model":true},{"name":"length","type":"number","required":false,"default":"6","description":"Number of boxes (ignored when groups is set)","model":false},{"name":"groups","type":"number[]","required":false,"default":null,"description":"Segment sizes for a grouped layout, e.g. [2, 4, 2, 3, 1, 3] renders `__ ____ __ ___ _ ___`. Overrides `length` (derived as the sum).","model":false},{"name":"separator","type":"string","required":false,"default":"\"-\"","description":"Visual separator rendered between groups (only used when `groups` is set).","model":false},{"name":"type","type":"\"numeric\" | \"alphanumeric\"","required":false,"default":"\"numeric\"","description":"Restricts which characters are accepted","model":false},{"name":"masked","type":"boolean","required":false,"default":"false","description":"Renders each box as a password field (dots instead of characters)","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the boxes","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables every box","model":false},{"name":"autoFocus","type":"boolean","required":false,"default":"false","description":"Focuses the first box on mount","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the group of boxes","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every box change — powers v-model"},{"name":"complete","args":"string","description":"Fires once with the full code as soon as every box is filled — the natural place to trigger auto-submit"}],"slots":[],"exposed":[],"types":[]},{"name":"MProgressBar","import":"@m3ui-vue/m3ui-vue","description":"A linear progress indicator — determinate, indeterminate, or the M3 Expressive wavy variant.","props":[{"name":"value","type":"number","required":false,"default":null,"description":"Progress 0–100 (omit for indeterminate)","model":false},{"name":"indeterminate","type":"boolean","required":false,"default":null,"description":"Indeterminate animation — also implied by omitting value","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | (string & {})","required":false,"default":"\"primary\"","description":"Bar color: an M3 role or any CSS color (`#fff` over a photo, say)","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Track color: an M3 role or any CSS color. Default the role's container, or the bar color at 24% for a CSS color","model":false},{"name":"variant","type":"\"wavy\" | \"linear\"","required":false,"default":"\"linear\"","description":"Bar style","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text above the bar","model":false},{"name":"thickness","type":"number","required":false,"default":null,"description":"Stroke width in px. Defaults to 4dp, matching the real M3 token for both variants.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MPullToRefresh","import":"@m3ui-vue/m3ui-vue","description":"Wraps its own scrollable container and fires a refresh event when the user pulls past a threshold at the very top of the scroll.","props":[{"name":"refreshing","type":"boolean","required":false,"default":"false","description":"Controlled loading state — set it to true in your @refresh handler and back to false once the fetch resolves; the indicator settles and releases accordingly, same pattern as MInfiniteScroll's loading prop","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the pull gesture","model":false},{"name":"threshold","type":"number","required":false,"default":"64","description":"Pull distance in px required to trigger a refresh on release","model":false},{"name":"size","type":"number","required":false,"default":"36","description":"Indicator size in px","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Indicator color","model":false}],"events":[{"name":"refresh","args":"","description":"Emitted when the user drags past threshold and releases. Set refreshing to true in the handler, then back to false once the fetch resolves."}],"slots":[{"name":"default","bindings":null,"description":"The scrollable content. A pull starts only when it's scrolled to the top; otherwise touch scrolls it normally"}],"exposed":[{"name":"scrollEl","type":"HTMLElement | null","description":"The element that scrolls the slot's content"},{"name":"scrollTo","type":"(options: ScrollToOptions) => void | undefined","description":"Scrolls the content, like `Element.scrollTo()` (e.g. `{ top: 0, behavior: 'smooth' }`)"}],"types":[]},{"name":"MQRCode","import":"@m3ui-vue/m3ui-vue/qrcode","description":"Renders a QR code as inline SVG — crisp at any size, no canvas or image assets. Available from the `/qrcode` entry point, so it never adds weight to the main bundle.","props":[{"name":"value","type":"string","required":true,"default":null,"description":"Data to encode. Required — there is no default.","model":false},{"name":"size","type":"number","required":false,"default":"200","description":"Width/height in pixels (square)","model":false},{"name":"margin","type":"number","required":false,"default":"4","description":"Quiet zone around the code, in modules.","model":false},{"name":"errorCorrectionLevel","type":"\"M\" | \"L\" | \"Q\" | \"H\"","required":false,"default":"\"M\"","description":"Higher levels tolerate more damage/obstruction at the cost of a denser code","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Dark module color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Light module / background color","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"aria-label for the svg. Defaults to value","model":false},{"name":"rounded","type":"boolean","required":false,"default":"true","description":"Rounds the outer container corners.","model":false},{"name":"moduleStyle","type":"\"dots\" | \"square\"","required":false,"default":"\"square\"","description":"'square' is the classic scannable pixel grid. 'dots' rounds each module — still fully scannable, just a softer look.","model":false}],"events":[],"slots":[{"name":"error","bindings":null,"description":"Shown instead of the SVG when value is too large to encode at the given errorCorrectionLevel"}],"exposed":[],"types":[]},{"name":"MRadio","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"The group's current value (v-model); share one ref between the radios of a group.","model":true},{"name":"value","type":"unknown","required":true,"default":null,"description":"The value this radio stands for; selecting it sets the v-model to it.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Text next to the radio. Clicking it selects the radio too.","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Grays the radio out and ignores clicks.","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color role of the selected radio.","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with `value` when the radio is selected."}],"slots":[],"exposed":[],"types":[]},{"name":"MRadioGroup","import":"@m3ui-vue/m3ui-vue","description":"A group of radio buttons sharing a single selection, column or row layout.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (v-model)","model":true},{"name":"options","type":"Option[]","required":true,"default":null,"description":"Radio options","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Group label","model":false},{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Layout direction","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables all radios","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Radio color","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"Option","source":"interface Option {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MRating","import":"@m3ui-vue/m3ui-vue","description":"A star rating input with half increments and any Material Symbol icon. Not part of the official M3 spec, so it's built from M3 primitives: filled/outlined icon pairs, a state layer on hover/press, and a focus ring. Click or drag to rate (drag past the first icon to clear), or use the arrow keys, Home and End when focused.","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Current rating (v-model)","model":true},{"name":"max","type":"number","required":false,"default":"5","description":"Maximum stars","model":false},{"name":"size","type":"number","required":false,"default":"28","description":"Star size in px","model":false},{"name":"readonly","type":"boolean","required":false,"default":null,"description":"Display-only: not focusable, exposed as role=\"img\" with the value as its label","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables interaction","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"One of the 4 M3 roles ('primary' | 'secondary' | 'tertiary' | 'error'), or any other CSS color string","model":false},{"name":"icon","type":"string","required":false,"default":"\"star\"","description":"Material Symbol icon","model":false},{"name":"halfIncrements","type":"boolean","required":false,"default":"false","description":"Allow half-star values (click the left half of an icon). Fractional values always render exactly, with or without this prop","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted when the user rates by click, drag or keyboard (v-model). Dragging past the first icon emits 0"}],"slots":[],"exposed":[],"types":[]},{"name":"MRelative","import":"@m3ui-vue/m3ui-vue","description":"Wrapper that sets `position: relative` on a container. Use it as the positioning parent for MAbsolute children.","props":[],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content; absolutely positioned children are placed relative to it."}],"exposed":[],"types":[]},{"name":"MRelativeTime","import":"@m3ui-vue/m3ui-vue","description":"Renders a timestamp as human-readable relative text (\"5 minutes ago\", \"in 2 hours\") that keeps itself up to date, formatted with the native Intl.RelativeTimeFormat. It renders a semantic `<time>` element, and hovering it shows the full absolute date.","props":[{"name":"value","type":"string | number | Date","required":true,"default":null,"description":"Required. The timestamp to format: an ISO string, epoch milliseconds, or a Date","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"BCP-47 locale tag (e.g. 'es-ES'). Defaults to the app's locale (via createM3UI/useLocale), then the browser's locale.","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MResourceTimeline","import":"@m3ui-vue/m3ui-vue/gantt","description":"A resource timeline: one row per person, table, room or machine, with their bookings (shifts, reservations, jobs) along a timeline you zoom from hours to months. Not an M3 spec component: MGantt's timeline, for planning who or what is busy when rather than tasks and their order. Bookings are a `v-model` of plain objects (`TimelineEvent`: `resourceId`, `start`/`end` datetimes or whole days, `title`, `color`). Drag one along its row to move it, to another row to give it to that resource, or by its ends to resize it; snapped to `snap` minutes. Bookings that overlap share the row in lanes, and more than a resource's `capacity` at once are marked as conflicts (`overlap=\"prevent\"` refuses a drop that makes one). With `creatable`, dragging across empty time (a short press first with a finger) asks for a new booking there (`create`). Resources with a `group` sit under headers that fold. Rows and time render only near the view; every edit is undoable. Keyboard (on a booking): ←/→ move it a step, Shift + ←/→ change its end, ↑/↓ move it to the resource above or below, Enter opens it (`event-dblclick`), Delete deletes, Ctrl+Z / Ctrl+Shift+Z undo and redo.","props":[{"name":"events","type":"TimelineEvent<any>[]","required":false,"default":"[]","description":"","model":true},{"name":"resources","type":"TimelineResource<any>[]","required":false,"default":"[]","description":"","model":false},{"name":"scale","type":"TimeUnit","required":false,"default":"\"day\"","description":"The zoom as a named level (`v-model:scale`)","model":true},{"name":"pxPerDay","type":"number","required":false,"default":"240","description":"The starting zoom in px per day, between the named levels (default 240: 10 px an hour)","model":false},{"name":"selection","type":"string[]","required":false,"default":null,"description":"Selected booking ids (`v-model:selection`)","model":true},{"name":"collapsed","type":"string[]","required":false,"default":null,"description":"Folded group names (`v-model:collapsed`)","model":true},{"name":"listWidth","type":"number","required":false,"default":null,"description":"The resource column's width, px (`v-model:list-width`; drag its edge); 0 hides it","model":true},{"name":"rowHeight","type":"number","required":false,"default":"56","description":"A row's least height; rows grow with their lanes","model":false},{"name":"laneHeight","type":"number","required":false,"default":"40","description":"One lane's height (a booking and its gap)","model":false},{"name":"overlap","type":"\"prevent\" | \"stack\"","required":false,"default":"\"stack\"","description":"`'stack'` (default): overlaps share the row in lanes and show as conflicts past `capacity`; `'prevent'` also refuses a drop that makes one","model":false},{"name":"creatable","type":"boolean","required":false,"default":"false","description":"Dragging across empty time asks for a booking there (`create`)","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"","model":false},{"name":"snap","type":"number","required":false,"default":null,"description":"Minutes bookings snap to (default 15; by zoom when zoomed far out); whole-day bookings snap to days","model":false},{"name":"calendar","type":"GanttCalendar","required":false,"default":null,"description":"Days worked (shaded when they aren't)","model":false},{"name":"workHours","type":"[number, number]","required":false,"default":null,"description":"Working hours, shaded outside them when zoomed in to hours, e.g. `[9, 18]`","model":false},{"name":"now","type":"string | null","required":false,"default":null,"description":"Now, for the line across the timeline (default the current time; `null` hides it)","model":false},{"name":"start","type":"string","required":false,"default":null,"description":"Where the view starts (default now, or the first booking)","model":false},{"name":"weekStartsOn","type":"0 | 1","required":false,"default":"1","description":"","model":false},{"name":"minPxPerDay","type":"number","required":false,"default":"2","description":"","model":false},{"name":"maxPxPerDay","type":"number","required":false,"default":"4800","description":"","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"","model":false},{"name":"beforeDelete","type":"((events: TimelineEvent<any>[]) => boolean | Promise<boolean>)","required":false,"default":null,"description":"","model":false}],"events":[{"name":"delete","args":"{ events: TimelineEvent<any>[]; }","description":"Bookings were deleted: `{ events }`"},{"name":"update:selection","args":"string[]","description":""},{"name":"change","args":"{ events: TimelineEvent<any>[]; kind: \"move\" | \"resize\"; }","description":"A drag or a key changed bookings: `{ events, kind: 'move' | 'resize' }`"},{"name":"update:scale","args":"TimeUnit","description":""},{"name":"update:collapsed","args":"string[]","description":""},{"name":"update:events","args":"TimelineEvent<any>[]","description":""},{"name":"update:listWidth","args":"number","description":""},{"name":"event-click","args":"TimelineEvent<any>, MouseEvent","description":"/ event-dblclick / event-contextmenu `(event, mouseEvent)`"},{"name":"event-dblclick","args":"TimelineEvent<any>, MouseEvent | KeyboardEvent","description":""},{"name":"event-contextmenu","args":"TimelineEvent<any>, MouseEvent","description":""},{"name":"create","args":"{ resourceId: string; start: string; end: string; }","description":"Empty time was dragged across (or long pressed) on a resource: `{ resourceId, start, end }`; add the booking yourself"},{"name":"slot-click","args":"{ resourceId: string; start: string; }","description":"Empty time was clicked: `{ resourceId, start }`"},{"name":"conflict","args":"{ event: TimelineEvent<any>; with: TimelineEvent<any>[]; }","description":"A drop was refused (`overlap=\"prevent\"`): `{ event, with }`"}],"slots":[{"name":"default","bindings":"{ timeline: ResourceTimelineContext; }","description":"Above the timeline: MGanttControls, filters of yours. Props: `{ timeline }`"},{"name":"group","bindings":"{ group: string; resources: TimelineResource<any>[]; collapsed: boolean; }","description":"A group's header. Props: `{ group, resources, collapsed }`"},{"name":"resource","bindings":"{ resource: TimelineResource<any>; events: TimelineEvent<any>[]; hours: number; }","description":"A resource's cell. Props: `{ resource, events, hours }` (`hours`: booked in total)"},{"name":"event","bindings":"{ event: TimelineEvent<any>; resource: TimelineResource<any> | undefined; selected: boolean; conflict: boolean; }","description":"A booking's content. Props: `{ event, resource, selected, conflict }`"},{"name":"empty","bindings":null,"description":"Shown while there are no resources"}],"exposed":[{"name":"conflicts","type":"Set<string>","description":"Ids of events that overlap more than their resource's capacity"},{"name":"canUndo","type":"boolean","description":""},{"name":"canRedo","type":"boolean","description":""},{"name":"undo","type":"() => void","description":""},{"name":"redo","type":"() => void","description":""},{"name":"zoomIn","type":"() => void","description":""},{"name":"zoomOut","type":"() => void","description":""},{"name":"setScale","type":"(scale: TimeUnit) => void","description":""},{"name":"scrollToDate","type":"(date?: string | undefined, opts?: { align?: \"center\" | \"start\" | undefined; animate?: boolean | undefined; } | undefined) => void","description":""},{"name":"scrollToEvent","type":"(id: string) => void","description":""},{"name":"setSelection","type":"(ids: string[]) => void","description":""},{"name":"addEvents","type":"(events: TimelineEvent<any> | TimelineEvent<any>[]) => void","description":""},{"name":"updateEvent","type":"(id: string, patch: Partial<TimelineEvent<any>> | ((e: TimelineEvent<any>) => TimelineEvent<any>)) => void","description":""},{"name":"removeEvents","type":"(ids: string[]) => void","description":""},{"name":"dateAt","type":"(clientX: number) => string","description":"The time (snapped, as a datetime) under a page x"},{"name":"resourceAt","type":"(clientY: number) => TimelineResource<any> | undefined","description":"The resource whose row is under a page y"}],"types":[]},{"name":"MResponsive","import":"@m3ui-vue/m3ui-vue","description":"Shows or hides content at specific breakpoints using pure CSS (Tailwind's `hidden`/`block` utilities) — no JS resize listener.","props":[{"name":"show","type":"Breakpoint","required":false,"default":null,"description":"Show content only at this breakpoint range","model":false},{"name":"hide","type":"Breakpoint","required":false,"default":null,"description":"Hide content at this breakpoint range","model":false},{"name":"tag","type":"string","required":false,"default":"\"div\"","description":"HTML tag to render","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content."}],"exposed":[],"types":[{"name":"Breakpoint","source":"type Breakpoint = 'sm-up' | 'md-up' | 'lg-up' | 'xl-up' | 'sm-down' | 'md-down' | 'lg-down' | 'xl-down'"}]},{"name":"MResult","import":"@m3ui-vue/m3ui-vue","description":"A full result screen for the end of a flow: success, errors, empty states and HTTP error pages. Each status comes with its own icon, colors, title and description, and you can override any of them. The default texts come from the active locale (`useLocale`), so they follow the language passed to `createM3UI({ locale })`.","props":[{"name":"status","type":"\"info\" | \"success\" | \"warning\" | \"error\" | \"404\" | \"403\" | \"500\"","required":true,"default":null,"description":"Required. Picks the icon, its colors, and the default title/description. The three HTTP statuses also show the code in large type above the icon","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Custom title, replaces the status default","model":false},{"name":"description","type":"string","required":false,"default":null,"description":"Custom description, replaces the status default","model":false}],"events":[],"slots":[{"name":"actions","bindings":null,"description":"Action buttons, in a centered row below the description"},{"name":"default","bindings":null,"description":"Extra content below the actions row, e.g. a secondary link or fine print"}],"exposed":[],"types":[]},{"name":"MRichTextEditor","import":"@m3ui-vue/m3ui-vue/rich-text-editor","description":"A WYSIWYG editor built on tiptap, with a formatting toolbar covering text styles, lists, alignment, links, and images.","props":[{"name":"modelValue","type":"string","required":true,"default":null,"description":"HTML content (v-model)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder text shown on an empty document","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables editing","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"200px\"","description":"Minimum height of the text area (not used with `fill`)","model":false},{"name":"fill","type":"boolean","required":false,"default":"false","description":"Fills the height you give the editor (`class=\"h-full\"`, `flex-1`…): the toolbar stays put and the text scrolls inside, instead of the editor growing with its content","model":false},{"name":"labels","type":"RichTextEditorLabels","required":false,"default":null,"description":"Object with all toolbar/dialog label overrides for i18n (see `RichTextEditorLabels`) — defaults come from useLocale()","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the editor HTML on every content change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"RichTextEditorLabels","source":"export interface RichTextEditorLabels {\n bold?: string\n italic?: string\n underline?: string\n strikethrough?: string\n highlight?: string\n bulletList?: string\n orderedList?: string\n blockquote?: string\n code?: string\n alignLeft?: string\n alignCenter?: string\n alignRight?: string\n undo?: string\n redo?: string\n link?: string\n image?: string\n paragraph?: string\n heading1?: string\n heading2?: string\n heading3?: string\n insertLink?: string\n insertImage?: string\n imageUrlLabel?: string\n cancel?: string\n insert?: string\n}"}]},{"name":"MScheduler","import":"@m3ui-vue/m3ui-vue","description":"A week or day calendar grid. Events sit at their exact times, overlapping ones share the width, and anything that lasts all day or spans several days runs across the all-day row. Click a day header to open that day. Dates and times follow the app's locale.","props":[{"name":"events","type":"SchedulerEvent[]","required":false,"default":"[]","description":"Events to show (see `SchedulerEvent`)","model":false},{"name":"view","type":"\"day\" | \"week\"","required":false,"default":"\"week\"","description":"'week' or 'day'; use v-model:view to follow the header's toggle.","model":true},{"name":"date","type":"string","required":false,"default":null,"description":"The date shown (`YYYY-MM-DD`), today by default; use v-model:date to follow navigation.","model":true},{"name":"startHour","type":"number","required":false,"default":"7","description":"First visible hour","model":false},{"name":"endHour","type":"number","required":false,"default":"22","description":"Hour the grid ends at","model":false},{"name":"weekStartsOn","type":"0 | 1","required":false,"default":"1","description":"First day of the week: 0 = Sunday, 1 = Monday.","model":false},{"name":"hourHeight","type":"number","required":false,"default":"56","description":"Height of one hour row, in px.","model":false},{"name":"nowIndicator","type":"boolean","required":false,"default":"true","description":"A line across today's column at the current time.","model":false},{"name":"locale","type":"string","required":false,"default":null,"description":"Locale for dates and times (Intl). Falls back to the app's configured locale","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Aria label of the previous button (defaults to the locale string)","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Aria label of the next button (defaults to the locale string)","model":false},{"name":"todayLabel","type":"string","required":false,"default":null,"description":"Label of the Today button (defaults to the locale string)","model":false},{"name":"dayViewLabel","type":"string","required":false,"default":null,"description":"Label of the Day toggle (defaults to the locale string)","model":false},{"name":"weekViewLabel","type":"string","required":false,"default":null,"description":"Label of the Week toggle (defaults to the locale string)","model":false},{"name":"allDayLabel","type":"string","required":false,"default":null,"description":"Label of the all-day row (defaults to the locale string)","model":false}],"events":[{"name":"eventClick","args":"SchedulerEvent","description":"An event (in the grid or the all-day row) was clicked"},{"name":"slotClick","args":"{ date: string; hour: number; }","description":"An empty spot in the grid was clicked"},{"name":"update:date","args":"string","description":"Navigation changed the date shown (YYYY-MM-DD)"},{"name":"update:view","args":"\"day\" | \"week\"","description":"The Day/Week toggle (or a day header) changed the view"}],"slots":[{"name":"event","bindings":"{ event: SchedulerEvent; allDay: boolean; }","description":"Content of an event block."}],"exposed":[],"types":[{"name":"SchedulerEvent","source":"export interface SchedulerEvent {\n id: string | number\n title: string\n /**\n * Start: a datetime (`2026-10-17T09:30`, or ISO with a zone). For an all-day event, a date\n * (`2026-10-17`).\n */\n start: string\n /** End: a datetime (exclusive). For an all-day event, the last day (inclusive). */\n end: string\n /** Shown in the all-day row instead of the time grid. Events that span days go there too. */\n allDay?: boolean\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success'\n}"}]},{"name":"MScheme","import":"@m3ui-vue/m3ui-vue","description":"Paints its content with a color scheme of its own, built from a seed color or from an image's dominant color (Material You's content color: an album, a dish or a profile photo coloring its own page), or one of the palettes (a theme picker's previews). Every `bg-*`/`text-*` M3 utility and every component inside it uses the scheme, in light or dark like the rest of the app, while the rest of the app keeps its palette. Its text color is the scheme's `on-surface`; it sets no background.","props":[{"name":"seed","type":"string","required":false,"default":null,"description":"Seed color (`#rrggbb`) the scheme is built from","model":false},{"name":"image","type":"string","required":false,"default":null,"description":"An image (URL) whose dominant color becomes the seed, picked as Android picks a wallpaper's. Cross-origin images need CORS headers. `seed` wins while both are set","model":false},{"name":"palette","type":"string","required":false,"default":null,"description":"One of the palettes (`useColorPalette().palettes`, custom ones included), applied to this element only with its own CSS, in its standard contrast. `seed` and `image` win while set","model":false},{"name":"variant","type":"SchemeVariant","required":false,"default":"\"tonal-spot\"","description":"How the seed spreads into the scheme; `content` and `fidelity` keep the seed's own color most visible","model":false},{"name":"contrast","type":"number","required":false,"default":"0","description":"Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced)","model":false},{"name":"as","type":"string","required":false,"default":"\"div\"","description":"Element to render","model":false}],"events":[{"name":"seed","args":"color: string","description":"Emitted with the seed color read from `image`"}],"slots":[{"name":"default","bindings":"{ seed: string | undefined; ready: boolean; }","description":"The content. Receives `{ seed, ready }`: the seed in use (the image's once it's read) and whether the scheme is applied yet"}],"exposed":[],"types":[]},{"name":"MScrollable","import":"@m3ui-vue/m3ui-vue","description":"A constrained scroll area — vertical, horizontal, or both directions. Shows the browser's scrollbar, or with `scrollbar=\"indicator\"` M3's thin visual-only scrollbar (Compose's `Modifier.nonInteractiveScrollbar`), which appears while scrolling and fades out after.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\" | \"both\"","required":false,"default":"\"vertical\"","description":"Scroll direction","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"Fixed height (CSS value)","model":false},{"name":"maxHeight","type":"string","required":false,"default":null,"description":"Maximum height (CSS value)","model":false},{"name":"scrollbar","type":"\"none\" | \"native\" | \"indicator\"","required":false,"default":"\"native\"","description":"`native`: the browser's scrollbar. `indicator`: M3's thin scrollbar, visual only (scroll with the wheel, touch or keys). `none`: no scrollbar at all.","model":false},{"name":"scrollbarFade","type":"boolean","required":false,"default":"true","description":"With `scrollbar=\"indicator\"`: show it only while scrolling, fading out after (false keeps it visible)","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The scrolling content."}],"exposed":[],"types":[]},{"name":"MScrollField","import":"@m3ui-vue/m3ui-vue","description":"An endless wheel to pick a number or option by scrolling (M3 Expressive's ScrollField, a port of Compose's `ScrollField`): the centered item is the selected one. Drag, flick, use the mouse wheel, the arrow keys, or click an item. Put two side by side for a time (hours and minutes).","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Index of the selected item, 0 to count - 1 (v-model)","model":true},{"name":"count","type":"number","required":true,"default":null,"description":"Number of items; the wheel wraps around after the last one","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name of the field. Include the range when it isn't obvious (\"Select year between 2000 and 2025\"): the wheel wraps, so screen readers can't tell where it ends.","model":false},{"name":"format","type":"((index: number) => string)","required":false,"default":"String(index).padStart(2, \"0\")","description":"Text for each item (also what screen readers announce). Defaults to the index with at least 2 digits.","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Height in px; three items fit in the default 200 (ScrollFieldDefaults.ScrollFieldHeight)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the index of the centered item, as it changes while scrolling"}],"slots":[{"name":"item","bindings":"{ index: number; selected: boolean; }","description":"Custom content for each item, instead of the formatted number. Receives `{ index, selected }`."}],"exposed":[],"types":[]},{"name":"MSearchBar","import":"@m3ui-vue/m3ui-vue","description":"A collapsed search field that expands into a docked panel or a fullscreen overlay, with results shown below the input. The expanded panel is teleported to `<body>`; `class`, `style` and other attributes you pass land on the collapsed bar. So with a fullscreen variant you can hide the bar (e.g. `class=\"hidden\"` on phones) and open search from your own icon button through `v-model:expanded`. The docked panel is placed under the bar, so it needs the bar visible.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"Search query (v-model)","model":true},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Controls the expanded/collapsed state — also works uncontrolled if omitted.","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Defaults to the locale's \"Search...\"","model":false},{"name":"variant","type":"\"fullscreen\" | \"fullscreen-contained\" | \"docked\"","required":false,"default":"\"docked\"","description":"'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.","model":false},{"name":"leadingIcon","type":"string","required":false,"default":"\"search\"","description":"Icon shown in the collapsed bar","model":false},{"name":"iconPosition","type":"\"start\" | \"end\"","required":false,"default":"\"start\"","description":"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.","model":false},{"name":"textAlign","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Centers the input/placeholder text instead of the M3-standard start alignment (an iOS-style look some apps use for the collapsed bar).","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in the expanded header instead of the clear button","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear (×) button once there is a query","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the collapsed bar","model":false}],"events":[{"name":"search","args":"string","description":"Emitted when Enter is pressed in the input, with the current query"},{"name":"update:modelValue","args":"string","description":"Emitted on every input change — powers v-model"},{"name":"update:expanded","args":"boolean","description":"Emitted when the expanded state changes — powers v-model:expanded"}],"slots":[{"name":"leading","bindings":null,"description":"Overrides the collapsed bar's leading icon"},{"name":"trailing","bindings":null,"description":"Trailing content in both the collapsed bar and the expanded header (e.g. an avatar)"},{"name":"default","bindings":null,"description":"Results/suggestions content, shown below the input while expanded"}],"exposed":[],"types":[]},{"name":"MSearchField","import":"@m3ui-vue/m3ui-vue","description":"A pill-shaped search input that filters in place: a list, a table, a grid of products. Unlike MSearchBar, it never expands into a results view; it's just the field, in M3's search bar colors and shape. Your `class` and `style` go on the pill; every other attribute (`name`, `autocomplete`, `aria-*`, listeners like `@focus` or `@keydown`) goes on the `<input>`.","props":[{"name":"modelValue","type":"string","required":false,"default":"\"\"","description":"The text (v-model)","model":true},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder. Defaults to the locale's `search`","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name when there's no visible label. Defaults to the placeholder","model":false},{"name":"icon","type":"string","required":false,"default":"\"search\"","description":"Leading icon, a Material Symbol. Set to '' for none","model":false},{"name":"size","type":"\"sm\" | \"md\" | \"lg\"","required":false,"default":"\"lg\"","description":"Height: `sm` 40px (body-medium text), `md` 48px, `lg` 56px (M3's search bar)","model":false},{"name":"clearable","type":"boolean","required":false,"default":"true","description":"Shows a clear button while there's text","model":false},{"name":"clearOnEscape","type":"boolean","required":false,"default":"true","description":"Escape empties the field (keeping the key from closing a dialog or menu around it); on an empty field it leaves it and lets the key through","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false}],"events":[{"name":"search","args":"string","description":"Enter was pressed, with the text"},{"name":"update:modelValue","args":"string","description":"The text, on every keystroke — powers v-model"},{"name":"clear","args":"","description":"The clear button (or Escape) emptied the field"}],"slots":[{"name":"leading","bindings":null,"description":"Replaces the search icon (an avatar, a back or menu button…). Spaced for a 40px icon button, as in M3's search bar: its icon lands 16px from the edge, like the default one, and the text at the same place"},{"name":"trailing","bindings":null,"description":"Extra content after the clear button (a mic button, a filter menu…)"}],"exposed":[{"name":"inputEl","type":"HTMLInputElement | undefined","description":"The `<input>` element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the input"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the input"}],"types":[]},{"name":"MSection","import":"@m3ui-vue/m3ui-vue","description":"A titled content section with optional subtitle, header actions, and divider.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"Section title text","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"Section subtitle text","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show divider below header","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between header and content","model":false},{"name":"titleVariant","type":"TextVariant","required":false,"default":"\"title-large\"","description":"Typography variant for the title","model":false}],"events":[],"slots":[{"name":"title","bindings":null,"description":"Custom title content (overrides title prop)"},{"name":"subtitle","bindings":null,"description":"Custom subtitle content (overrides subtitle prop)"},{"name":"actions","bindings":null,"description":"Action buttons displayed in the header row"},{"name":"default","bindings":null,"description":"Main section content"}],"exposed":[],"types":[]},{"name":"MSeekBar","import":"@m3ui-vue/m3ui-vue","description":"A media seek bar (not an M3 spec component; Media3's ProgressSlider is a plain M3 Slider, which this follows in its default look): the playback position on a track with the buffered part, optional chapters, elapsed and total (or remaining) time, and a preview of the time under the pointer. Dragging scrubs locally and seeks once on release (or live, with `live`); a tap or click seeks to that point. While `playing`, it advances on its own between `modelValue` updates, so a 4Hz `timeupdate` still moves it smoothly.","props":[{"name":"modelValue","type":"number","required":true,"default":null,"description":"Playback position in seconds (v-model)","model":true},{"name":"duration","type":"number","required":true,"default":null,"description":"Media length in seconds; 0, NaN or Infinity (not loaded yet, a live stream) disables seeking","model":false},{"name":"buffered","type":"number | [number, number][]","required":false,"default":null,"description":"How much is loaded: up to a time, or time ranges (`[[start, end], …]`, like a media element's `buffered`)","model":false},{"name":"chapters","type":"SeekBarChapter[]","required":false,"default":null,"description":"Chapter starts, drawn as gaps in the track; their titles show in the preview","model":false},{"name":"playing","type":"boolean","required":false,"default":"false","description":"The media is playing: the bar moves on its own between updates, and the wavy line waves","model":false},{"name":"playbackRate","type":"number","required":false,"default":"1","description":"Playback speed, for that motion between updates","model":false},{"name":"live","type":"boolean","required":false,"default":"false","description":"Updates the v-model continuously while dragging (the media follows the thumb), not only on release","model":false},{"name":"variant","type":"\"slider\" | \"line\" | \"wavy\"","required":false,"default":"\"slider\"","description":"`slider`: the M3 slider (bar thumb with a gap around it). `line`: a plain line with a round thumb. `wavy`: the played part waves while playing","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\"","required":false,"default":"\"md\"","description":"Track thickness: `md` (16px, the smallest M3 slider), `sm` (8px) or `xs` (4px, over a video)","model":false},{"name":"time","type":"\"none\" | \"below\" | \"sides\"","required":false,"default":"\"below\"","description":"Where the elapsed and total time go","model":false},{"name":"remaining","type":"boolean","required":false,"default":"false","description":"The end label shows the remaining time (`-1:23`) instead of the total; clicking it switches (v-model:remaining)","model":true},{"name":"format","type":"((seconds: number) => string)","required":false,"default":null,"description":"Formats a time in seconds. Default `m:ss`, or `h:mm:ss` for media an hour or longer","model":false},{"name":"keyStep","type":"number","required":false,"default":"5","description":"Seconds the arrow keys move; Page Up/Down move 10%","model":false},{"name":"preview","type":"boolean","required":false,"default":"true","description":"Shows the time (and chapter) above the pointer while hovering or dragging","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Played part and thumb: an M3 role (`primary`, `secondary`, `tertiary`, `error`) or any CSS color","model":false},{"name":"trackColor","type":"string","required":false,"default":null,"description":"Unplayed track: an M3 role or any CSS color. Default secondary-container","model":false},{"name":"timeColor","type":"string","required":false,"default":null,"description":"The time labels' color, as a CSS color (white over a video, say). Default on-surface-variant","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables seeking","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name. Default the locale's `seekBar`","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted on a seek (and continuously while dragging with `live`) — powers v-model"},{"name":"seek","args":"number","description":"Emitted once per seek with its time: on release of a drag, a tap or click, or a key press"},{"name":"scrub-start","args":"number","description":"Emitted when a drag starts, with its time"},{"name":"scrub","args":"number","description":"Emitted while dragging, with the time under the pointer"},{"name":"update:remaining","args":"boolean","description":"Emitted when the end label is clicked to switch between total and remaining time"}],"slots":[{"name":"preview","bindings":"{ time: number; formatted: string; chapter: SeekBarChapter | null; }","description":"Replaces the bubble shown above the pointer while hovering or dragging (a frame preview, say). Props: `{ time, formatted, chapter }`"}],"exposed":[],"types":[{"name":"SeekBarChapter","source":"export interface SeekBarChapter {\n /** Where the chapter starts, in seconds */\n start: number\n /** Shown in the preview while the pointer is over it */\n title?: string\n}"}]},{"name":"MSegmentedButton","import":"@m3ui-vue/m3ui-vue","description":"A row of joined segments for choosing between a small set of related options — single or multi select.","props":[{"name":"modelValue","type":"M","required":true,"default":null,"description":"Selected value, or values with `multiSelect` (v-model); typed after the options' values","model":true},{"name":"options","type":"SegmentedOption<V>[]","required":true,"default":null,"description":"The options to choose from; see `SegmentedOption`.","model":false},{"name":"multiSelect","type":"boolean","required":false,"default":"false","description":"Allow multiple selections","model":false},{"name":"density","type":"\"default\" | \"compact\" | \"comfortable\"","required":false,"default":"\"default\"","description":"Button density","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Selected segment color","model":false}],"events":[{"name":"update:modelValue","args":"M","description":"Emitted on selection change — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"SegmentedOption","source":"export interface SegmentedOption<V extends string | number = string | number> {\n value: V\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MSelect","import":"@m3ui-vue/m3ui-vue","description":"A single-value dropdown select, docked or as a modal dialog on smaller screens.","props":[{"name":"modelValue","type":"unknown","required":true,"default":null,"description":"Selected value (any type — v-model)","model":true},{"name":"options","type":"SelectOption[]","required":true,"default":null,"description":"The options to choose from; see `SelectOption`.","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder when no value selected","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"mode","type":"\"docked\" | \"modal\"","required":false,"default":"\"docked\"","description":"Dropdown mode: docked (inline) or modal (dialog)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the select","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the trigger","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button to reset the selection","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Text shown when options is empty — defaults to the current locale's string","model":false}],"events":[{"name":"update:modelValue","args":"unknown","description":"Emitted with the selected option's value."}],"slots":[],"exposed":[],"types":[{"name":"SelectOption","source":"export interface SelectOption {\n label: string\n value: unknown\n disabled?: boolean\n}"}]},{"name":"MShader","import":"@m3ui-vue/m3ui-vue","description":"A canvas container for hand-written shaders. Give it a GLSL fragment shader (Shadertoy-style — it runs on WebGL2 and works everywhere) and, optionally, a WGSL fragment shader that runs on WebGPU when the browser supports it. `renderer=\"auto\"` picks WebGPU whenever both a `wgsl` source and browser support are present, otherwise it falls back to WebGL2 — so the same component works as a drop-in on old and new browsers alike.","props":[{"name":"code","type":"string","required":true,"default":null,"description":"GLSL fragment shader body (Shadertoy-style): must define `mainImage(out vec4 fragColor, in vec2 fragCoord)`. Runs on WebGL2. Always required as the compatible baseline. Don't write the `#version`, the precision or any uniform: the component puts them in front of your code, with Shadertoy's `iTime` (seconds, stops while paused), `iResolution` (canvas size in device pixels), `iMouse` and `iFrame`, plus one per `uniforms` key.","model":false},{"name":"wgsl","type":"string","required":false,"default":null,"description":"Optional WGSL fragment shader module, e.g. `@fragment fn fs_main(@builtin(position) pos: vec4f) -> @location(0) vec4f`. Runs on WebGPU when available. Must declare its own bindings — see docs for the required uniform buffer layout.","model":false},{"name":"renderer","type":"ShaderRenderer","required":false,"default":"\"auto\"","description":"Which backend to use. 'auto' picks WebGPU when `wgsl` is set and supported, else WebGL2.","model":false},{"name":"uniforms","type":"Record<string, number | number[]>","required":false,"default":null,"description":"Custom uniforms, read every frame. In GLSL each key is declared for you, as a `float` for a number or a `vec2`–`vec4` for an array; in WGSL they're binding 1, one `vec4f` per key in this order. Keys and shapes are fixed when the shader compiles (on mount, or when `code`/`wgsl`/`renderer` change); values can change freely, e.g. to drive the shader from your own clock instead of `iTime`.","model":false},{"name":"paused","type":"boolean","required":false,"default":null,"description":"Freezes the render loop and the shader clock","model":false},{"name":"pixelRatio","type":"number","required":false,"default":null,"description":"Device pixels per CSS pixel to render at. Defaults to devicePixelRatio, capped at 2 for performance. Lower it to render fewer pixels (a \"quality\" setting); the canvas is resized when it changes.","model":false}],"events":[{"name":"error","args":"message: string","description":"Emitted on a shader compile/link error, or a WebGPU runtime error"},{"name":"ready","args":"renderer: \"webgpu\" | \"webgl\"","description":"Emitted once the backend has initialized — which backend ended up driving the canvas"}],"slots":[{"name":"loading","bindings":null,"description":"Shown while the backend initializes (default: MSpinner)"},{"name":"fallback","bindings":null,"description":"Shown when neither WebGL2 nor WebGPU is available at all"},{"name":"error","bindings":"{ message: string; }","description":"Shown on a shader compile/link/runtime error, with the message"}],"exposed":[{"name":"canvas","type":"HTMLCanvasElement | null","description":""},{"name":"status","type":"ShaderStatus","description":""},{"name":"context","type":"() => WebGL2RenderingContext | GPUDevice | null","description":"Raw WebGL2RenderingContext or GPUDevice, for consumers who want to go beyond the props API."},{"name":"pause","type":"() => void","description":""},{"name":"play","type":"() => void","description":""},{"name":"restart","type":"() => Promise<void>","description":""}],"types":[{"name":"ShaderRenderer","source":"export type ShaderRenderer = 'auto' | 'webgpu' | 'webgl'"},{"name":"ShaderStatus","source":"export type ShaderStatus = 'loading' | 'ready' | 'error' | 'fallback'"}]},{"name":"MShape","import":"@m3ui-vue/m3ui-vue","description":"Clips its content — or renders a filled shape with no content — into one of Material 3's 35 real \"expressive\" shapes. Changing `shape` spring-morphs into the new outline instead of snapping.","props":[{"name":"shape","type":"\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\"","required":true,"default":null,"description":"One of M3's 35 named \"expressive\" shapes (MaterialShapes.kt), e.g. 'Cookie9Sided', 'Heart'.","model":false},{"name":"fill","type":"string","required":false,"default":"\"currentColor\"","description":"Fill color used when there's no default slot content to clip (a decorative solid shape). SVG `fill`, not a `background-color` — a `bg-*` Tailwind class on the component itself has no effect here; use `fill` (or a `text-*` class, since the default is `currentColor`).","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Spring-morph into the new outline when `shape` changes — false snaps instantly instead.","model":false},{"name":"speed","type":"number","required":false,"default":"1","description":"Multiplier on the morph spring's speed (1 = default). Scales stiffness by speed² and the damping coefficient by speed, which time-scales the spring uniformly without changing its character (same amount of overshoot/settle shape, just faster or slower).","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"Content clipped to the shape (an image, an icon, anything). Without it the shape is drawn filled with `fill`."}],"exposed":[],"types":[{"name":"ShapeName","source":null}]},{"name":"MShortNavigationBar","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's shorter navigation bar (64dp, vs. MNavigationBar's classic 80dp) — a genuinely separate component, not just a size variant.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active item value, v-model","model":true},{"name":"items","type":"ShortNavBarItem[]","required":true,"default":null,"description":"Array of nav bar items (see `ShortNavBarItem`)","model":false},{"name":"arrangement","type":"\"centered\" | \"equal\"","required":false,"default":"\"equal\"","description":"'equal' fills the bar edge to edge (small screens); 'centered' groups items toward the middle instead, recommended for medium/landscape screens","model":false},{"name":"iconPosition","type":"\"top\" | \"start\"","required":false,"default":"\"top\"","description":"'top' stacks the icon above the label; 'start' places it beside the label in one wider pill — typically paired with arrangement='centered'","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted when an item is clicked — powers v-model"}],"slots":[],"exposed":[],"types":[{"name":"ShortNavBarItem","source":"export interface ShortNavBarItem {\n value: string | number\n label: string\n icon: string\n badge?: number\n badgeDot?: boolean\n /** Not selectable: icon and label at 38% of the unselected color, no hover. */\n disabled?: boolean\n /** Makes the item a link: a vue-router location (rendered as RouterLink), or a URL without vue-router. */\n to?: ItemLink\n}"}]},{"name":"MSideSheet","import":"@m3ui-vue/m3ui-vue","description":"A panel that slides in from the right edge of the screen. Supports drag-to-dismiss from its left edge, or tapping the scrim.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Sheet header title, ignored if the header slot is used","model":false},{"name":"width","type":"string","required":false,"default":"\"w-80\"","description":"Tailwind width class for the panel (capped at max-w-[90vw])","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the sheet closes (scrim click, drag-to-dismiss from the left edge, Escape, or the close button) — powers v-model"}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default title text entirely — the close button stays"},{"name":"default","bindings":null,"description":"Sheet body content (scrollable)"},{"name":"actions","bindings":null,"description":"Footer action buttons, shown in a bordered strip below the content"}],"exposed":[],"types":[]},{"name":"MSignaturePad","import":"@m3ui-vue/m3ui-vue","description":"A bordered canvas that captures pointer strokes for signature capture. There's no v-model, since a signature isn't a simple value — read it out via events or the exposed methods.","props":[{"name":"width","type":"number","required":false,"default":"400","description":"Canvas width in px","model":false},{"name":"height","type":"number","required":false,"default":"200","description":"Canvas height in px","model":false},{"name":"lineWidth","type":"number","required":false,"default":"2.5","description":"Stroke width","model":false},{"name":"color","type":"string","required":false,"default":"\"#000000\"","description":"Stroke color","model":false},{"name":"background","type":"string","required":false,"default":"\"#ffffff\"","description":"Canvas background color","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"outlined\"","description":"Container border style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables drawing","model":false}],"events":[{"name":"change","args":"string","description":"Fires alongside end, and also after undo() — same data: URL payload"},{"name":"end","args":"string","description":"Fires after a stroke ends, with a PNG data: URL of the canvas"},{"name":"begin","args":"","description":"Fires on the first pointerdown of a new stroke"}],"slots":[],"exposed":[{"name":"clear","type":"() => void","description":""},{"name":"undo","type":"() => void","description":""},{"name":"isEmpty","type":"() => boolean","description":""},{"name":"toDataURL","type":"(type?: string | undefined, quality?: number | undefined) => string","description":""}],"types":[]},{"name":"MSimpleCarousel","import":"@m3ui-vue/m3ui-vue","description":"A scroll-snap image carousel with three fixed-width layouts — hero (one protagonist item with peeking neighbors), multi-browse (several items at once, statically sized), and uncontained (variable-width items, optionally animated by scroll position). For the real M3 multi-browse carousel — where items continuously resize as you scroll instead of snapping between fixed widths — see MCarousel.","props":[{"name":"items","type":"SimpleCarouselItem[]","required":true,"default":null,"description":"Slides to render — required","model":false},{"name":"layout","type":"\"multi-browse\" | \"uncontained\" | \"hero\"","required":false,"default":"\"hero\"","description":"Carousel layout style","model":false},{"name":"height","type":"string","required":false,"default":"\"320px\"","description":"Track height","model":false},{"name":"showArrows","type":"boolean","required":false,"default":"true","description":"Show prev/next arrow buttons (fade in on hover)","model":false},{"name":"showIndicators","type":"boolean","required":false,"default":"true","description":"Show dot indicators below the track","model":false},{"name":"autoplay","type":"boolean","required":false,"default":"false","description":"Auto-advance slides — pauses while the pointer is over the carousel","model":false},{"name":"interval","type":"number","required":false,"default":"5000","description":"Autoplay interval in ms","model":false},{"name":"gap","type":"number","required":false,"default":"8","description":"Gap between items in pixels","model":false},{"name":"visibleItems","type":"number","required":false,"default":"3","description":"Number of visible items (multi-browse layout only)","model":false},{"name":"animated","type":"boolean","required":false,"default":"false","description":"Dynamically grow the centered item and shrink the others while scrolling (uncontained layout only)","model":false}],"events":[{"name":"change","args":"index: number","description":"Fires with the new active item index whenever the track scrolls to a different closest item"}],"slots":[],"exposed":[{"name":"next","type":"() => void","description":""},{"name":"prev","type":"() => void","description":""},{"name":"scrollToItem","type":"(index: number) => void","description":""},{"name":"scrollToPage","type":"(page: number) => void","description":""},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Moves keyboard focus to the carousel, so the arrow keys move it"}],"types":[{"name":"SimpleCarouselItem","source":"export interface SimpleCarouselItem {\n src: string\n alt?: string\n label?: string\n supportingText?: string\n ratio?: number\n}"}]},{"name":"MSkeleton","import":"@m3ui-vue/m3ui-vue","description":"A loading placeholder shape — text, circular, rectangular, or rounded — with pulse or wave animation.","props":[{"name":"variant","type":"\"rounded\" | \"text\" | \"circular\" | \"rectangular\"","required":false,"default":"\"text\"","description":"Skeleton shape","model":false},{"name":"width","type":"string","required":false,"default":null,"description":"CSS width (defaults to 100%, or 40px for circular)","model":false},{"name":"height","type":"string","required":false,"default":null,"description":"CSS height (defaults to 14px for text, 40px for circular, 100px otherwise)","model":false},{"name":"lines","type":"number","required":false,"default":"1","description":"Number of text lines (text variant only) — the last line renders at 60% width","model":false},{"name":"animation","type":"\"none\" | \"pulse\" | \"wave\"","required":false,"default":"\"pulse\"","description":"Animation style","model":false},{"name":"radius","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\" | \"full\" | (string & {})","required":false,"default":null,"description":"Corner radius: an M3 shape step (`none`, `xs` 4px, `sm` 8px, `md` 12px, `lg` 16px, `xl` 28px, `full`) or any CSS length, to match the card or thumbnail it stands in for. Defaults to the variant's (a Tailwind `rounded-*` class works too)","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSlider","import":"@m3ui-vue/m3ui-vue","description":"The M3 slider — vertical bar thumb, rounded track with gap, standard/centered/range variants, horizontal or vertical.","props":[{"name":"modelValue","type":"number | [number, number]","required":true,"default":null,"description":"Current value — a tuple when variant is range","model":true},{"name":"min","type":"number","required":false,"default":"0","description":"Minimum value","model":false},{"name":"max","type":"number","required":false,"default":"100","description":"Maximum value","model":false},{"name":"step","type":"number","required":false,"default":"1","description":"Step increment: the values emitted snap to it; while dragging (without stops) the thumb still follows the pointer smoothly and settles on its step when released","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the slider","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"showValue","type":"boolean","required":false,"default":"false","description":"Show current value beside label","model":false},{"name":"showTooltip","type":"boolean","required":false,"default":"false","description":"Show value tooltip while dragging","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Slider orientation","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"xs\"","description":"Track and thumb size","model":false},{"name":"variant","type":"\"standard\" | \"centered\" | \"range\"","required":false,"default":"\"standard\"","description":"Standard, centered (from middle), or range (two thumbs)","model":false},{"name":"stops","type":"boolean","required":false,"default":"false","description":"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)","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown before the slider — hides once the fill reaches it","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Base color — used for the fill and thumb unless overridden by fillColor/thumbColor","model":false},{"name":"fillColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the filled/active portion of the track and the corner dot. Defaults to `color`'s M3 token.","model":false},{"name":"thumbIcon","type":"string","required":false,"default":null,"description":"Replaces the draggable bar thumb with an icon.","model":false},{"name":"thumbColor","type":"string","required":false,"default":null,"description":"Custom color (hex, rgb(), a CSS var, etc.) for the thumb (bar or icon). Defaults to `color`'s M3 token.","model":false}],"events":[{"name":"update:modelValue","args":"number | [number, number]","description":"Emitted while dragging and on key presses, with the new value (a `[low, high]` pair for the range variant)."}],"slots":[],"exposed":[],"types":[]},{"name":"MSnackbar","import":"@m3ui-vue/m3ui-vue","description":"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`.","props":[{"name":"closeAriaLabel","type":"string","required":false,"default":null,"description":"Accessible label of each toast's close button. Defaults to the locale's \"Close\".","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSpacer","import":"@m3ui-vue/m3ui-vue","description":"Pushes flex siblings apart — renders a simple `flex: 1` div. Use it inside MFlex/MStack (or any flex container) to push a group of items to the far edge.","props":[],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSparkline","import":"@m3ui-vue/m3ui-vue","description":"A small trend chart, drawn as SVG with no chart library: a line, an area or bars, for next to a number (a stat card, a table cell, a list item). It fills its box (size it with classes; 96×28px by default), drawn at its real size so dots and bars don't stretch. When the data changes the shape springs to the new values. Screen readers get a summary (first, last, low, high) instead of the drawing. Not an M3 spec component.","props":[{"name":"data","type":"number[]","required":true,"default":null,"description":"The values, oldest first","model":false},{"name":"type","type":"\"line\" | \"bar\" | \"area\"","required":false,"default":"\"line\"","description":"Line, line with a soft fill under it, or bars","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"An M3 color role (`primary`, `tertiary`, `error`...) or any CSS color","model":false},{"name":"smooth","type":"boolean","required":false,"default":"true","description":"Smooth curve through the points (monotone: it never overshoots them) instead of straight segments","model":false},{"name":"showLast","type":"boolean","required":false,"default":"true","description":"A dot on the last point (line and area)","model":false},{"name":"strokeWidth","type":"number","required":false,"default":"2","description":"Line width in px","model":false},{"name":"min","type":"number","required":false,"default":null,"description":"Fix the bottom of the scale (otherwise the lowest value, or 0 for bars)","model":false},{"name":"max","type":"number","required":false,"default":null,"description":"Fix the top of the scale (otherwise the highest value)","model":false},{"name":"baseline","type":"number","required":false,"default":null,"description":"A dashed reference line at this value (a target, yesterday's close)","model":false},{"name":"interactive","type":"boolean","required":false,"default":"false","description":"Follow the pointer with a dot and emit `hover` with the index under it","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Accessible name; defaults to a summary of the data in the app's language","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Spring to new data; false (or reduced motion) jumps","model":false}],"events":[{"name":"hover","args":"index: number | null","description":"With `interactive`: the index of the point under the pointer, or null when it leaves"}],"slots":[],"exposed":[],"types":[]},{"name":"MSpinner","import":"@m3ui-vue/m3ui-vue","description":"A small circular loading spinner — a standard ring, or the M3 Expressive wavy variant. For a larger, shape-morphing loading affordance, see MLoadingIndicator.","props":[{"name":"size","type":"number","required":false,"default":"20","description":"Size in px","model":false},{"name":"wavy","type":"boolean","required":false,"default":"false","description":"M3 Expressive wavy animation style — the ring rotates while a wave travels along its stroke, instead of a plain spin","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Aria label for the spinner's status role — falls back to the locale string ('Loading') when omitted","model":false}],"events":[],"slots":[],"exposed":[],"types":[]},{"name":"MSplitButton","import":"@m3ui-vue/m3ui-vue","description":"A button split into a main action and a dropdown toggle — click the main part for the primary action, the arrow for alternatives.","props":[{"name":"label","type":"string","required":true,"default":null,"description":"Main button label","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Main button icon","model":false},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"tonal\"","description":"Visual style","model":false},{"name":"color","type":"\"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Color scheme","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Button size","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables both parts","model":false},{"name":"items","type":"SplitButtonItem[]","required":false,"default":null,"description":"Dropdown menu items; see `SplitButtonItem`","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"click","args":"MouseEvent","description":"Emitted when the main (left) button is clicked"}],"slots":[{"name":"menu","bindings":"{ close: () => boolean; }","description":"Custom dropdown content. Used instead of items. Call close() to dismiss."}],"exposed":[],"types":[{"name":"SplitButtonItem","source":"export interface SplitButtonItem {\n label: string\n icon?: string\n disabled?: boolean\n onClick?: () => void\n}"}]},{"name":"MSplitter","import":"@m3ui-vue/m3ui-vue","description":"Two resizable panels divided by a draggable bar with M3's drag handle (MDragHandle) on it. The bar is also a keyboard separator: arrow keys move it (Shift for 10%), Home/End jump to the limits.","props":[{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Split direction","model":false},{"name":"initialSplit","type":"number","required":false,"default":"50","description":"Initial split percentage","model":false},{"name":"min","type":"number","required":false,"default":"10","description":"Minimum panel percentage","model":false},{"name":"max","type":"number","required":false,"default":"90","description":"Maximum panel percentage","model":false}],"events":[],"slots":[{"name":"first","bindings":null,"description":"Content for the first (left/top) panel"},{"name":"second","bindings":null,"description":"Content for the second (right/bottom) panel"}],"exposed":[],"types":[]},{"name":"MSpotlightSearch","import":"@m3ui-vue/m3ui-vue","description":"A spotlight-style search overlay. Unlike MCommandPalette, it doesn't filter internally — you own the results array and update it from the search event, which makes it a natural fit for async/remote search.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Open/closed state (v-model). Required — there is no default.","model":true},{"name":"results","type":"SpotlightResult[]","required":false,"default":"[]","description":"Results to render — the component does no filtering itself, it just displays whatever you pass via the search event handler","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Search input placeholder — falls back to the locale's own string when unset","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Shows a spinner in place of the clear button, e.g. while an async search is in flight","model":false},{"name":"noResultsText","type":"string","required":false,"default":null,"description":"Empty-state text — falls back to the locale's own string when unset","model":false},{"name":"hotkey","type":"string","required":false,"default":"\"/\"","description":"Global keyboard shortcut key (no modifier) to open the search — ignored while focus is in a text input/textarea/contenteditable","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay in ms before the search event fires after the query changes; 0 fires immediately on every keystroke","model":false},{"name":"navigateHint","type":"string","required":false,"default":null,"description":"Footer hint text for the arrow keys — falls back to the locale's own string when unset","model":false},{"name":"openHint","type":"string","required":false,"default":null,"description":"Footer hint text for Enter — falls back to the locale's own string when unset","model":false},{"name":"closeHint","type":"string","required":false,"default":null,"description":"Footer hint text for Escape — falls back to the locale's own string when unset","model":false}],"events":[{"name":"search","args":"string","description":"Emitted as the query changes (debounced by the debounce prop) — drive your own filtering and update results in response"},{"name":"update:modelValue","args":"boolean","description":"Emitted on open/close — powers v-model"},{"name":"select","args":"SpotlightResult","description":"Emitted when a result is chosen (click, or Enter)"}],"slots":[],"exposed":[],"types":[{"name":"SpotlightResult","source":"export interface SpotlightResult {\n id: string | number\n title: string\n description?: string\n icon?: string\n category?: string\n}"}]},{"name":"MStack","import":"@m3ui-vue/m3ui-vue","description":"Flex stack with gap, alignment, and optional dividers between items.","props":[{"name":"direction","type":"\"row\" | \"column\"","required":false,"default":"\"column\"","description":"Stack direction","model":false},{"name":"gap","type":"\"none\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"md\"","description":"Gap between items (ignored when divider is true)","model":false},{"name":"align","type":"\"center\" | \"start\" | \"end\" | \"stretch\" | \"baseline\"","required":false,"default":"\"stretch\"","description":"Cross-axis alignment","model":false},{"name":"justify","type":"\"center\" | \"start\" | \"between\" | \"around\" | \"evenly\" | \"end\"","required":false,"default":"\"start\"","description":"Main-axis alignment","model":false},{"name":"wrap","type":"boolean","required":false,"default":"false","description":"Allow items to wrap","model":false},{"name":"divider","type":"boolean","required":false,"default":"false","description":"Show dividers between items instead of a gap","model":false},{"name":"inline","type":"boolean","required":false,"default":"false","description":"Use inline-flex","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The stacked items."}],"exposed":[],"types":[]},{"name":"MStatCard","import":"@m3ui-vue/m3ui-vue","description":"A compact metric card — title, value, optional icon, and a trend indicator, with a built-in loading skeleton.","props":[{"name":"title","type":"string","required":true,"default":null,"description":"Stat label text — required","model":false},{"name":"value","type":"string | number","required":true,"default":null,"description":"Main stat value — required","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon shown in a colored container on the right","model":false},{"name":"trend","type":"number","required":false,"default":null,"description":"Percentage change — positive shows green/up, negative red/down, zero neutral/flat","model":false},{"name":"trendLabel","type":"string","required":false,"default":null,"description":"Text next to the trend indicator (e.g. \"vs last month\")","model":false},{"name":"color","type":"\"success\" | \"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Icon container color","model":false},{"name":"loading","type":"boolean","required":false,"default":null,"description":"Show a skeleton placeholder instead of the value","model":false}],"events":[],"slots":[{"name":"footer","bindings":null,"description":"Extra content appended after the trend indicator/label row (only rendered when trend, trendLabel, or this slot is present)"}],"exposed":[],"types":[]},{"name":"MStepper","import":"@m3ui-vue/m3ui-vue","description":"A multi-step wizard, horizontal or vertical, with icons, descriptions, and optional/error states.","props":[{"name":"steps","type":"StepItem[]","required":true,"default":null,"description":"Step definitions (see `StepItem`)","model":false},{"name":"modelValue","type":"number","required":true,"default":null,"description":"Active step index (0-based), v-model","model":true},{"name":"direction","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"linear","type":"boolean","required":false,"default":"true","description":"When true, steps are not clickable — only the active step changes via v-model from outside. When false, any non-active step can be clicked to jump to it.","model":false}],"events":[{"name":"update:modelValue","args":"number","description":"Emitted with the new current step index."}],"slots":[],"exposed":[],"types":[{"name":"StepItem","source":"export interface StepItem {\n label: string\n description?: string\n icon?: string\n optional?: boolean\n error?: boolean\n}"}]},{"name":"MSticky","import":"@m3ui-vue/m3ui-vue","description":"Sticks content to the top of its scroll container using `position: sticky`.","props":[{"name":"top","type":"string | number","required":false,"default":"0","description":"Sticky offset from top (number = px)","model":false},{"name":"zIndex","type":"number","required":false,"default":"40","description":"Z-index value","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The content that sticks."}],"exposed":[],"types":[]},{"name":"MSubtitle","import":"@m3ui-vue/m3ui-vue","description":"Secondary text component with muted color by default — a thin wrapper around `MText`.","props":[{"name":"size","type":"\"small\" | \"medium\" | \"large\"","required":false,"default":"\"large\"","description":"Subtitle size (maps to body-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"on-surface-variant\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The subtitle text."}],"exposed":[],"types":[]},{"name":"MSupportingPane","import":"@m3ui-vue/m3ui-vue","description":"Material 3's supporting pane layout: main content plus a narrower pane that supports it, like related videos next to a player, a cart next to a product or comments next to a document. With room for two panes (840px and up) the supporting pane sits beside the main one; on smaller screens it moves under it, or into a bottom sheet with `single-pane=\"sheet\"`. It measures its own width, not the window's.","props":[{"name":"singlePane","type":"\"below\" | \"sheet\"","required":false,"default":"\"below\"","description":"Where the supporting pane goes when there's room for only one pane.","model":false},{"name":"open","type":"boolean","required":false,"default":"false","description":"With `singlePane=\"sheet\"`: whether the sheet is open (v-model:open).","model":true},{"name":"sheetTitle","type":"string","required":false,"default":null,"description":"With `singlePane=\"sheet\"`: the sheet's title.","model":false},{"name":"supportingWidth","type":"string","required":false,"default":null,"description":"Supporting pane width in the two-pane layout. Defaults to M3's 360px (412px from the large width class).","model":false}],"events":[{"name":"update:open","args":"boolean","description":"Emitted when the sheet is dismissed, or closed because both panes fit again"}],"slots":[{"name":"main","bindings":"{ twoPane: boolean; }","description":"The main content"},{"name":"supporting","bindings":"{ twoPane: boolean; }","description":"Content that supports the main pane: related items, a summary, details, tools"}],"exposed":[],"types":[]},{"name":"MSwipeToDismiss","import":"@m3ui-vue/m3ui-vue","description":"Content that can be swiped left or right to dismiss it, uncovering a background behind it (a port of Compose's `SwipeToDismissBox`), typically a list item with \"archive\" and \"delete\" behind. Once swiped away it stays there until you reset it (`v-model` back to `'settled'`, or `reset()`), so you decide what happens: remove the item, or undo.","props":[{"name":"modelValue","type":"SwipeToDismissValue","required":false,"default":"\"settled\"","description":"State (v-model): `'settled'`, or dismissed towards `'start-to-end'` / `'end-to-start'`. Set it to animate there.","model":true},{"name":"startToEnd","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping in the reading direction (right in LTR)","model":false},{"name":"endToStart","type":"boolean","required":false,"default":"true","description":"Allow dismissing by swiping against the reading direction (left in LTR)","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Turns the swipe gesture off (setting v-model still works)","model":false},{"name":"threshold","type":"number","required":false,"default":"56","description":"How far, in px, the content has to move before releasing dismisses it (SwipeToDismissBoxDefaults: 56dp)","model":false}],"events":[{"name":"update:modelValue","args":"SwipeToDismissValue","description":"Emitted when it settles in a new state — powers v-model"},{"name":"dismiss","args":"\"start-to-end\" | \"end-to-start\"","description":"Emitted with the direction when the content is swiped away"}],"slots":[{"name":"background","bindings":"{ direction: SwipeToDismissValue; target: SwipeToDismissValue; progress: number; }","description":"What the swipe uncovers. Receives `{ direction, target, progress }`: the side being swiped (`'start-to-end'`, `'end-to-start'` or `'settled'`), the state it would settle in if released now, and how far it has moved (0 to 1)"},{"name":"default","bindings":null,"description":"The content that moves"}],"exposed":[{"name":"reset","type":"() => void","description":"Animates back to `'settled'`"},{"name":"dismiss","type":"(dir: \"start-to-end\" | \"end-to-start\") => void","description":"Animates away in the given direction"}],"types":[{"name":"SwipeToDismissValue","source":"export type SwipeToDismissValue = 'settled' | 'start-to-end' | 'end-to-start'"}]},{"name":"MSwitch","import":"@m3ui-vue/m3ui-vue","description":"A toggle switch with an optional label, 4 semantic colors, and both M3 icon variants.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Toggle state (v-model)","model":true},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the switch","model":false},{"name":"label","type":"string","required":false,"default":null,"description":"Label text","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"primary\"","description":"Track/thumb color when on","model":false},{"name":"icon","type":"boolean","required":false,"default":"true","description":"Shows a check icon in the thumb while on. Set to `false` for M3's plain switch without an icon.","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted with the new on/off state."}],"slots":[],"exposed":[],"types":[]},{"name":"MTable","import":"@m3ui-vue/m3ui-vue","description":"A simple, general-purpose data table — sortable columns, built-in search, pagination, and optional row selection, with an escape hatch to delegate all three to your backend via serverSide.","props":[{"name":"columns","type":"TableColumn[]","required":true,"default":null,"description":"Column definitions: { key, label, sortable?, width?, align? }","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"Table data rows","model":false},{"name":"loading","type":"boolean","required":false,"default":"false","description":"Show skeleton loading state","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when no rows (defaults to the locale string)","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field in each row","model":false},{"name":"selectable","type":"boolean","required":false,"default":"false","description":"Enable row selection with checkboxes (by default only the checkbox toggles a row; clicking the row itself still emits row-click)","model":false},{"name":"selectOnRowClick","type":"boolean","required":false,"default":"false","description":"With selectable, clicking anywhere on a row toggles its selection instead of emitting row-click","model":false},{"name":"modelValue","type":"Record<string, any>[]","required":false,"default":"[]","description":"Selected rows (v-model)","model":true},{"name":"perPage","type":"number","required":false,"default":"10","description":"Rows per page","model":false},{"name":"searchable","type":"boolean","required":false,"default":"true","description":"Show search input","model":false},{"name":"serverSide","type":"boolean","required":false,"default":"false","description":"Emit `fetch` instead of filtering locally. Requires :total.","model":false},{"name":"total","type":"number","required":false,"default":"0","description":"Total rows (for server-side pagination)","model":false},{"name":"page","type":"number","required":false,"default":"1","description":"Current page (v-model via update:page)","model":true},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Placeholder for search input (defaults to the locale string)","model":false},{"name":"selectedText","type":"string","required":false,"default":null,"description":"Text for selected count badge, pluralized with 's' (defaults to the locale string)","model":false}],"events":[{"name":"update:modelValue","args":"Record<string, any>[]","description":"Emitted when the selection changes — powers v-model"},{"name":"update:page","args":"number","description":"Emitted when the page changes — powers v-model:page"},{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row (unless `selectOnRowClick` makes the click select it)."},{"name":"fetch","args":"TableFetchParams","description":"Emitted instead of filtering locally when serverSide is true"}],"slots":[{"name":"toolbar","bindings":null,"description":"Extra content in the toolbar next to the search input (filters, buttons, etc.)"},{"name":"empty","bindings":null,"description":"Custom empty-state content, replaces the default icon + text"},{"name":"row-actions","bindings":"{ row: Record<string, any>; }","description":"Per-row action buttons — rendering this slot adds a trailing actions column"}],"exposed":[],"types":[{"name":"TableFetchParams","source":"export interface TableFetchParams {\n page: number\n perPage: number\n search: string\n sortKey: string\n sortDir: 'asc' | 'desc' | ''\n}"},{"name":"TableColumn","source":"export interface TableColumn {\n key: string\n label: string\n sortable?: boolean\n width?: string\n align?: 'left' | 'center' | 'right'\n}"}]},{"name":"MTabs","import":"@m3ui-vue/m3ui-vue","description":"Switches between different views or content sections. The indicator animates via two independent springs (offset and width), not a CSS transition — see the component source for details.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Active tab value (v-model)","model":true},{"name":"tabs","type":"Tab[]","required":true,"default":null,"description":"Tab definitions","model":false},{"name":"variant","type":"\"primary\" | \"secondary\"","required":false,"default":"\"primary\"","description":"Primary: short sliding underline shorter than the tab with a stretch animation. Secondary: full-width underline spanning the entire tab, text-only.","model":false},{"name":"scrollable","type":"boolean","required":false,"default":"false","description":"Fixed (default, M3 `TabRow`): tabs evenly share the available width, no scrolling — use for 2-5 tabs. Scrollable (M3 `ScrollableTabRow`): tabs keep their natural width and the row scrolls horizontally when they overflow — use for many tabs.","model":false},{"name":"iconPosition","type":"\"top\" | \"leading\"","required":false,"default":null,"description":"Where a tab's icon goes: `top`, stacked above the label in a 64px tab (Compose's `Tab`), or `leading`, beside the label in a 48px tab (Compose's `LeadingIconTab`). Defaults to `top` for primary tabs and `leading` for secondary ones.","model":false}],"events":[{"name":"update:modelValue","args":"string | number","description":"Emitted with the value of the tab you picked."}],"slots":[],"exposed":[],"types":[{"name":"Tab","source":"interface Tab {\n value: string | number\n label: string\n icon?: string\n disabled?: boolean\n}"}]},{"name":"MTagInput","import":"@m3ui-vue/m3ui-vue","description":"Type and press Enter or comma to add a free-form tag. Backspace on an empty input removes the last tag.","props":[{"name":"modelValue","type":"string[]","required":true,"default":"[]","description":"Array of tags (v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Floating label text","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Input placeholder","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Field style","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the field","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Helper text below field","model":false},{"name":"required","type":"boolean","required":false,"default":"false","description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol icon name","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"maxTags","type":"number","required":false,"default":null,"description":"Max number of tags allowed","model":false},{"name":"duplicates","type":"boolean","required":false,"default":"false","description":"Allow duplicate tags","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear-all button","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event","model":false}],"events":[{"name":"update:modelValue","args":"string[]","description":"Emitted whenever a tag is added or removed — powers v-model"},{"name":"debounced","args":"string[]","description":"Emitted debounce ms after the tag list stops changing (only when debounce > 0)"}],"slots":[],"exposed":[{"name":"inputEl","type":"HTMLInputElement | null","description":"The `<input>` (or `<textarea>`) element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the field"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the field"},{"name":"select","type":"() => void | undefined","description":"Selects all its text"},{"name":"setSelectionRange","type":"(start: number, end: number, direction?: \"none\" | \"forward\" | \"backward\" | undefined) => void | undefined","description":"Selects part of its text (e.g. a file name without its extension)"}],"types":[]},{"name":"MTerminal","import":"@m3ui-vue/m3ui-vue/terminal","description":"A terminal emulator built on xterm.js — pre-filled static output, or fully interactive keyboard input.","props":[{"name":"lines","type":"string[]","required":false,"default":"[]","description":"Initial lines to display","model":false},{"name":"readonly","type":"boolean","required":false,"default":"false","description":"Disable input","model":false},{"name":"title","type":"string","required":false,"default":"\"Terminal\"","description":"Title bar text","model":false},{"name":"minHeight","type":"string","required":false,"default":"\"300px\"","description":"Minimum height","model":false}],"events":[{"name":"line","args":"string","description":"Emitted with the buffered text once the user presses Enter — the usual event to handle a submitted command"},{"name":"input","args":"string","description":"Emitted for every raw keystroke/data chunk xterm receives (not readonly)"}],"slots":[],"exposed":[{"name":"write","type":"(text: string) => any","description":""},{"name":"writeln","type":"(text: string) => any","description":""},{"name":"clear","type":"() => any","description":""},{"name":"focus","type":"() => any","description":""}],"types":[]},{"name":"MText","import":"@m3ui-vue/m3ui-vue","description":"Renders any of the 15 Material 3 typography variants, with an auto-selected semantic HTML tag.","props":[{"name":"variant","type":"TextVariant","required":false,"default":"\"body-medium\"","description":"Typography variant from the Material 3 type scale","model":false},{"name":"tag","type":"string","required":false,"default":null,"description":"HTML tag to render (auto-selected based on variant — h1/h2/h3 for display/headline, p for title/body, span for label)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":"\"left\"","description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false},{"name":"lines","type":"1 | 2 | 3 | 4 | 5 | 6","required":false,"default":null,"description":"Clamp text to a specific number of lines","model":false},{"name":"weight","type":"\"bold\" | \"medium\" | \"regular\"","required":false,"default":null,"description":"Font weight override","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The text."}],"exposed":[],"types":[{"name":"TextVariant","source":"export type TextVariant =\n | 'display-large' | 'display-medium' | 'display-small'\n | 'headline-large' | 'headline-medium' | 'headline-small'\n | 'title-large' | 'title-medium' | 'title-small'\n | 'body-large' | 'body-medium' | 'body-small'\n | 'label-large' | 'label-medium' | 'label-small'"}]},{"name":"MTextField","import":"@m3ui-vue/m3ui-vue","description":"The standard single- or multi-line text input, filled or outlined, with floating label.","props":[{"name":"modelValue","type":"string | number","required":true,"default":null,"description":"Bound value (v-model)","model":true},{"name":"label","type":"string","required":true,"default":null,"description":"Field label","model":false},{"name":"type","type":"string","required":false,"default":"\"text\"","description":"HTML input type","model":false},{"name":"variant","type":"\"filled\" | \"outlined\"","required":false,"default":"\"filled\"","description":"Visual style","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Puts the field in error state (red border and label)","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown below the field (only visible when error is true)","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text shown below the field","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the field","model":false},{"name":"required","type":"boolean","required":false,"default":null,"description":"Marks as required — adds a red asterisk after the label","model":false},{"name":"multiline","type":"boolean","required":false,"default":null,"description":"Renders a textarea instead of an input","model":false},{"name":"rows","type":"number","required":false,"default":"3","description":"Textarea rows (when multiline); with autoGrow, the fewest it shrinks to","model":false},{"name":"autoGrow","type":"boolean","required":false,"default":null,"description":"Multiline only: grows with the text from `rows` up to `maxRows`, instead of a fixed height with a drag handle","model":false},{"name":"maxRows","type":"number","required":false,"default":null,"description":"With autoGrow, the most rows it grows to before scrolling. Unset grows without limit","model":false},{"name":"autocomplete","type":"string","required":false,"default":null,"description":"Passed through to the native autocomplete attribute","model":false},{"name":"leadingIcon","type":"string","required":false,"default":null,"description":"Material Symbol shown before the input","model":false},{"name":"clearable","type":"boolean","required":false,"default":"false","description":"Show a clear button when the field has a value","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the outlined border","model":false},{"name":"debounce","type":"number","required":false,"default":"0","description":"Delay (ms) before firing the @debounced event. v-model always updates immediately","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted on every keystroke — powers v-model"},{"name":"debounced","args":"string","description":"Emitted debounce ms after the user stops typing (only when debounce > 0)"}],"slots":[{"name":"trailing","bindings":null,"description":"Custom trailing content (e.g. an icon button) — replaces the built-in clear button when present"}],"exposed":[{"name":"inputEl","type":"HTMLInputElement | HTMLTextAreaElement | null","description":"The `<input>` (or `<textarea>`) element"},{"name":"focus","type":"(options?: FocusOptions | undefined) => void | undefined","description":"Focuses the field"},{"name":"blur","type":"() => void | undefined","description":"Takes focus away from the field"},{"name":"select","type":"() => void | undefined","description":"Selects all its text"},{"name":"setSelectionRange","type":"(start: number, end: number, direction?: \"none\" | \"forward\" | \"backward\" | undefined) => void | undefined","description":"Selects part of its text (e.g. a file name without its extension)"}],"types":[]},{"name":"MTimeline","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"items","type":"T[]","required":true,"default":null,"description":"Array of timeline entries — required","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact spacing between items","model":false},{"name":"alternating","type":"boolean","required":false,"default":"false","description":"Alternate items left/right of a central line instead of a single left-aligned column (vertical only)","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"vertical\"","description":"Vertical (default) or horizontal: entries side by side along a line, scrolling sideways when they don't fit","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Leaves each entry's content to the `#item` slot: no title, description or date","model":false},{"name":"current","type":"number","required":false,"default":null,"description":"Makes it a progress timeline (an order's tracking, a setup's steps): the index of the current step. The ones before are done, the ones after pending; an item's own `status` wins. `items.length` marks them all done","model":false},{"name":"responsive","type":"boolean","required":false,"default":"true","description":"Lets the alternating layout fold into a single column (the line on the left, `#opposite` under the content) while the timeline is narrower than 32rem: its own width, so it works in a side column too","model":false},{"name":"animate","type":"boolean","required":false,"default":"true","description":"Entries added after it mounts fade and slide in, and the rest move to their new places, on M3 springs (none with reduced motion). Give items a `key`, or an insertion looks like a change to every entry after it","model":false},{"name":"limit","type":"number","required":false,"default":null,"description":"Shows only the first entries (a count; groups' headers don't count), with a button for the rest","model":false},{"name":"expanded","type":"boolean","required":false,"default":null,"description":"Whether the entries past `limit` show (v-model:expanded); the timeline keeps its own state otherwise","model":true}],"events":[{"name":"update:expanded","args":"expanded: boolean","description":""}],"slots":[{"name":"item","bindings":"{ item: T; index: number; }","description":"Extra content under an entry's description (a card, chips, a button). With `bare`, the entry's whole content. `item-{index}` slots still work for a single entry and win over this one"},{"name":"title","bindings":"{ item: T; index: number; }","description":"Replaces an entry's title row (title and date)"},{"name":"dot","bindings":"{ item: T; index: number; }","description":"Replaces an entry's dot (an avatar, an image, a custom shape); the line still runs from it"},{"name":"opposite","bindings":"{ item: T; index: number; }","description":"Content across the line: on the empty side in the alternating layout, or in a column before the line in the single-column one (dates, times, amounts)"},{"name":"group","bindings":"{ group: string; items: T[]; }","description":"Replaces a group's header (scope: `{ group, items }`, the run of entries under it)"}],"exposed":[],"types":[{"name":"TimelineItem","source":"export interface TimelineItem {\n /** Stable key for the entry (defaults to its index): set it when entries are added or removed */\n key?: string | number;\n title: string;\n description?: string;\n date?: string;\n icon?: string;\n color?: \"primary\" | \"secondary\" | \"tertiary\" | \"error\" | \"success\";\n /** Any CSS color for the dot (and its line), over `color` */\n dotColor?: string;\n /**\n * Progress of a step: `done` (filled, a solid line to the next), `current` (filled, with a pulsing halo) or\n * `pending` (outlined, a dashed line). Over what the timeline's `current` gives it\n */\n status?: \"done\" | \"current\" | \"pending\";\n /**\n * A group to show it under (\"Today\", \"Yesterday\"): a header goes before each run of consecutive entries with the\n * same group, and the line stops at the end of the run\n */\n group?: string;\n}"},{"name":"TimelineStatus","source":"export type TimelineStatus = NonNullable<TimelineItem[\"status\"]>;"}]},{"name":"MTimePicker","import":"@m3ui-vue/m3ui-vue","description":"An inline, dropdown-anchored hour/minute picker with 12h/24h format support.","props":[{"name":"modelValue","type":"string | null","required":true,"default":null,"description":"Selected time (HH:MM, v-model)","model":true},{"name":"label","type":"string","required":false,"default":null,"description":"Field label","model":false},{"name":"placeholder","type":"string","required":false,"default":null,"description":"Placeholder shown when no time is selected — falls back to label, then the current locale's string","model":false},{"name":"disabled","type":"boolean","required":false,"default":null,"description":"Disables the picker","model":false},{"name":"error","type":"boolean","required":false,"default":null,"description":"Error state","model":false},{"name":"errorLabel","type":"string","required":false,"default":null,"description":"Error message shown when error is true","model":false},{"name":"hint","type":"string","required":false,"default":null,"description":"Hint text below the field","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"use24h","type":"boolean","required":false,"default":"true","description":"Use 24-hour format","model":false},{"name":"fieldBg","type":"string","required":false,"default":null,"description":"Overrides the auto-detected background color used to cut the floating label out of the border","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted with the picked time."}],"slots":[],"exposed":[],"types":[]},{"name":"MTimePickerModal","import":"@m3ui-vue/m3ui-vue","description":"A modal, centered time picker with a clock dial (or, with `mode=\"scroll\"`, M3 Expressive's scroll wheels from MTimeScroll) and a keyboard input mode. Supports AM/PM toggle and 24h format — the sibling of MTimePicker, a fully separate component rather than a shared internal.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected time in HH:MM format (v-model)","model":true},{"name":"show","type":"boolean","required":false,"default":"false","description":"Controls dialog visibility (v-model:show)","model":true},{"name":"use24h","type":"boolean","required":false,"default":"false","description":"Use 24-hour format (shows inner ring 13-23)","model":false},{"name":"minuteStep","type":"number","required":false,"default":"5","description":"Minute increment step","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Dialog title","model":false},{"name":"mode","type":"\"dial\" | \"scroll\"","required":false,"default":"\"dial\"","description":"How the time is picked before switching to keyboard input: a clock `dial`, or `scroll` wheels (MTimeScroll)","model":false}],"events":[{"name":"update:modelValue","args":"string | null","description":"Emitted when a time is confirmed — powers v-model"},{"name":"update:show","args":"boolean","description":"Emitted when the dialog opens or closes — powers v-model:show"}],"slots":[],"exposed":[],"types":[]},{"name":"MTimeScroll","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's time scroll picker (a port of Compose's `TimeScroll`): an hour wheel and a minute wheel side by side, plus an AM/PM toggle in 12-hour mode. It updates as the wheels turn; put it in a dialog or a form for the confirm step.","props":[{"name":"modelValue","type":"string | null","required":true,"default":"null","description":"Selected time in HH:MM, 24-hour (v-model); null shows 12:00 AM (00:00 in 24-hour mode)","model":true},{"name":"use24h","type":"boolean","required":false,"default":"false","description":"24-hour wheel (00–23) instead of 1–12 with AM/PM","model":false},{"name":"minuteStep","type":"number","required":false,"default":"1","description":"Minute increment step; the minute wheel shows only multiples of it","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables the wheels and the AM/PM toggle","model":false}],"events":[{"name":"update:modelValue","args":"string","description":"Emitted with the time as HH:MM (24-hour) whenever a wheel or AM/PM changes"}],"slots":[],"exposed":[],"types":[]},{"name":"MTitle","import":"@m3ui-vue/m3ui-vue","description":"Semantic heading component in three sizes — a thin wrapper around `MText` at medium weight.","props":[{"name":"size","type":"\"small\" | \"medium\" | \"large\"","required":false,"default":"\"large\"","description":"Title size (maps to headline-large/medium/small)","model":false},{"name":"color","type":"\"error\" | \"primary\" | \"secondary\" | \"tertiary\" | \"on-surface-variant\" | \"on-surface\" | \"inherit\"","required":false,"default":"\"inherit\"","description":"Text color","model":false},{"name":"align","type":"\"right\" | \"left\" | \"center\"","required":false,"default":null,"description":"Text alignment","model":false},{"name":"truncate","type":"boolean","required":false,"default":null,"description":"Truncate text with ellipsis on overflow","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The title text."}],"exposed":[],"types":[]},{"name":"MToggleButton","import":"@m3ui-vue/m3ui-vue","description":"M3 Expressive's standalone toggle button — morphs its own shape between a pill and a squared corner on check, and squishes further while pressed, all on a real spring. Distinct from MSegmentedButton/MButtonGroup, which are groups of options — this is a single button.","props":[{"name":"checked","type":"boolean","required":true,"default":null,"description":"Whether the toggle button is checked/selected — v-model.","model":true},{"name":"variant","type":"\"elevated\" | \"filled\" | \"outlined\" | \"tonal\"","required":false,"default":"\"filled\"","description":"Visual style, matching MButton's naming","model":false},{"name":"disabled","type":"boolean","required":false,"default":"false","description":"Disables interaction","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon name shown before the label","model":false},{"name":"size","type":"\"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\"","required":false,"default":"\"sm\"","description":"Same 5-tier expressive sizing as MButton","model":false},{"name":"rippleColor","type":"string","required":false,"default":null,"description":"Any CSS color for the press ripple; defaults to the button's content color","model":false}],"events":[{"name":"update:checked","args":"boolean","description":"Emitted when clicked — powers v-model:checked"}],"slots":[{"name":"default","bindings":null,"description":"The button's label, after the icon."}],"exposed":[],"types":[]},{"name":"MToolbar","import":"@m3ui-vue/m3ui-vue","description":"A container for grouping icon buttons and actions — docked to an edge or floating as a rounded pill, horizontal or vertical, with an optional paired FAB. A floating toolbar collapses (`v-model:expanded`): with a FAB, into the FAB, which grows to 80px; without one, to its center (the default slot), closing `#leading` and `#trailing`. `collapseOnScroll` does it as the content scrolls.","props":[{"name":"variant","type":"\"docked\" | \"floating\"","required":false,"default":"\"docked\"","description":"Docked (edge-attached, full width/height, bordered) or floating (rounded pill with shadow)","model":false},{"name":"orientation","type":"\"horizontal\" | \"vertical\"","required":false,"default":"\"horizontal\"","description":"Layout direction","model":false},{"name":"color","type":"\"surface\" | \"primary\" | \"secondary\" | \"tertiary\"","required":false,"default":"\"surface\"","description":"Background color scheme","model":false},{"name":"fabPosition","type":"\"start\" | \"none\" | \"end\"","required":false,"default":"\"none\"","description":"Where the #fab slot renders relative to the toolbar body","model":false},{"name":"align","type":"\"center\" | \"start\" | \"between\" | \"end\"","required":false,"default":"\"center\"","description":"Item alignment along the main axis","model":false},{"name":"collapseOnScroll","type":"string | boolean | HTMLElement | null","required":false,"default":"false","description":"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","model":false},{"name":"expanded","type":"boolean","required":false,"default":"true","description":"A floating toolbar's state: collapsed, it shows only the FAB, or only its center without one. Default `true`","model":true}],"events":[{"name":"update:expanded","args":"value: boolean","description":"The toolbar collapsed or expanded on scroll (`collapseOnScroll`)"}],"slots":[{"name":"fab","bindings":null,"description":"A FAB rendered alongside the toolbar body, positioned by fabPosition. The toolbar sizes an MFab in it"},{"name":"leading","bindings":null,"description":"Items before the center, hidden when a floating toolbar without a FAB collapses"},{"name":"default","bindings":null,"description":"Toolbar items — typically MIconButton/MButton, separated with MDivider. With #leading or #trailing, the center, which stays when a floating toolbar without a FAB collapses"},{"name":"trailing","bindings":null,"description":"Items after the center, hidden when a floating toolbar without a FAB collapses"}],"exposed":[],"types":[]},{"name":"MTooltip","import":"@m3ui-vue/m3ui-vue","description":"A hover/focus-triggered label — plain text, or a rich variant with a title, detailed content, and action buttons.","props":[{"name":"text","type":"string","required":false,"default":null,"description":"Tooltip text (plain variant), or the rich variant's title line","model":false},{"name":"placement","type":"\"top\" | \"right\" | \"bottom\" | \"left\"","required":false,"default":"\"top\"","description":"Tooltip position relative to the trigger","model":false},{"name":"delay","type":"number","required":false,"default":"600","description":"Show delay in ms after hover/focus","model":false},{"name":"rich","type":"boolean","required":false,"default":"false","description":"Rich tooltip with a #content slot and optional #actions. Stays open when hovering the tooltip itself instead of closing immediately.","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The trigger element the tooltip is anchored to"},{"name":"content","bindings":null,"description":"Rich-tooltip body content (only used when rich is true)"},{"name":"actions","bindings":null,"description":"Rich-tooltip action buttons row (only used when rich is true)"}],"exposed":[],"types":[]},{"name":"MTopAppBar","import":"@m3ui-vue/m3ui-vue","description":"A top app bar in four M3 layouts — center-aligned, small, medium, and large — with a leading navigation icon and trailing actions. Medium and large can be M3 Expressive's flexible bars (bigger titles, a subtitle), and any of them can react to scrolling: change color, hide, or collapse to the small bar.","props":[{"name":"title","type":"string","required":false,"default":null,"description":"App bar title","model":false},{"name":"subtitle","type":"string","required":false,"default":null,"description":"A line below the title (Compose's `subtitle`): small, center-aligned and flexible medium/large bars","model":false},{"name":"variant","type":"\"center\" | \"small\" | \"medium\" | \"large\"","required":false,"default":"\"small\"","description":"64dp small/center-aligned row, or a 112dp medium / 152dp large two-row layout with the title below","model":false},{"name":"flexible","type":"boolean","required":false,"default":"false","description":"Medium/large only: M3 Expressive's MediumFlexibleTopAppBar / LargeFlexibleTopAppBar, with a headline-medium / display-small title and room for a subtitle (112/136dp and 120/152dp tall)","model":false},{"name":"titleAlignment","type":"\"center\" | \"start\"","required":false,"default":"\"start\"","description":"Medium/large only: where the title row sits (Compose's `titleHorizontalAlignment`)","model":false},{"name":"navigationIcon","type":"string","required":false,"default":null,"description":"Leading icon (e.g. menu, arrow_back)","model":false},{"name":"navigationLabel","type":"string","required":false,"default":null,"description":"Accessible label for the navigation icon button — defaults to the locale's generic \"Menu\" label; override when navigationIcon is actually a back arrow rather than a drawer toggle.","model":false},{"name":"elevated","type":"boolean","required":false,"default":null,"description":"Swaps both container color (surface → surface-container) and elevation (level 0 → level 2), matching the real M3 on-scroll container tokens rather than just adding a shadow","model":false},{"name":"bordered","type":"boolean","required":false,"default":null,"description":"Add a bottom border (border-outline-variant)","model":false},{"name":"scrollBehavior","type":"\"pinned\" | \"enter-always\" | \"exit-until-collapsed\"","required":false,"default":null,"description":"How the bar reacts to `scrollTarget` scrolling (Compose's TopAppBarDefaults scroll behaviors). `pinned` stays put and takes the scrolled container color once the content moves under it; `enter-always` hides (a medium/large bar collapses to the small one) while the content scrolls down and comes back as soon as it scrolls up; `exit-until-collapsed` collapses a medium/large bar as the content scrolls and expands it only back at the top. The last two make the bar sticky over the content: put it at the top of the scrolling element (or of the page)","model":false},{"name":"scrollTarget","type":"string | HTMLElement | null","required":false,"default":"null","description":"What `scrollBehavior` follows: an element or a CSS selector for it. Defaults to the window","model":false}],"events":[{"name":"navigation","args":"","description":"Emitted when the default navigation icon button is clicked (not emitted when the #navigation slot is overridden — that content is fully custom)"}],"slots":[{"name":"navigation","bindings":null,"description":"Custom leading area (default: an MIconButton built from the navigationIcon prop)"},{"name":"title","bindings":null,"description":"Custom title content (default: renders the title prop)"},{"name":"subtitle","bindings":null,"description":"Custom subtitle content (default: renders the subtitle prop)"},{"name":"actions","bindings":null,"description":"Trailing action buttons"}],"exposed":[],"types":[]},{"name":"MTour","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Show/hide the tour (v-model)","model":true},{"name":"steps","type":"TourStep[]","required":true,"default":null,"description":"Ordered list of steps; see `TourStep`","model":false},{"name":"prevLabel","type":"string","required":false,"default":null,"description":"Label for the Previous button (defaults to the locale string, 'Previous')","model":false},{"name":"nextLabel","type":"string","required":false,"default":null,"description":"Label for the Next button (defaults to the locale string, 'Next')","model":false},{"name":"finishLabel","type":"string","required":false,"default":null,"description":"Label for the final step's button (defaults to the locale string, 'Finish')","model":false},{"name":"step","type":"number","required":false,"default":null,"description":"The current step's index (v-model:step); without it the tour keeps its own","model":true},{"name":"interactive","type":"boolean","required":false,"default":null,"description":"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","model":false}],"events":[{"name":"update:modelValue","args":"boolean","description":"Emitted when the tour opens or closes (Escape-less — closed via the X button, clicking the scrim, or finishing) — powers v-model"},{"name":"finish","args":"","description":"Emitted when the user completes the last step (clicks the finish button)"},{"name":"update:step","args":"number","description":"Emitted when the current step changes (v-model:step)"}],"slots":[{"name":"indicator","bindings":"{ index: number; count: number; }","description":"Replaces the \"2 / 5\" over the step. Scope: `{ index, count }`"},{"name":"content","bindings":"{ step: TourStep; index: number; }","description":"Replaces a step's title and text. Scope: `{ step, index }`"},{"name":"progress","bindings":"{ index: number; count: number; }","description":"Replaces the progress dots. Scope: `{ index, count }`"},{"name":"actions","bindings":"{ step: TourStep; index: number; isFirst: boolean; isLast: boolean; next: () => void; prev: () => void; close: () => void; }","description":"Replaces the Previous/Next buttons. Scope: `{ step, index, isFirst, isLast, next, prev, close }`"}],"exposed":[],"types":[{"name":"TourStep","source":"export interface TourStep {\n /**\n * The element to highlight and point at: a CSS selector, or a function returning the element (looked up again\n * on every frame in `interactive` mode, so it can change). None, or none found: the tooltip sits in the viewport,\n * on its `placement` side (centered without one)\n */\n target?: string | (() => Element | null | undefined)\n title: string\n content: string\n placement?: 'top' | 'bottom' | 'left' | 'right'\n}"}]},{"name":"MTransferList","import":"@m3ui-vue/m3ui-vue","description":"Move items between two panes, with select-all, optional search and v-model on the values in the target pane. Check rows and use the arrows, or double-click a row (or press Enter on its checkbox) to send it straight across. When the component is narrow, the panes stack and the arrows point up and down.","props":[{"name":"modelValue","type":"Value[]","required":true,"default":null,"description":"Values in the target (right or bottom) pane (v-model)","model":true},{"name":"items","type":"T[]","required":true,"default":null,"description":"Full list of items; see `TransferItem` (or your own type extending it)","model":false},{"name":"sourceTitle","type":"string","required":false,"default":null,"description":"Source pane title (defaults to the locale string)","model":false},{"name":"targetTitle","type":"string","required":false,"default":null,"description":"Target pane title (defaults to the locale string)","model":false},{"name":"filterable","type":"boolean","required":false,"default":"false","description":"Show a search field in each pane. It matches the label and the description","model":false},{"name":"searchPlaceholder","type":"string","required":false,"default":null,"description":"Search field placeholder (defaults to the locale string)","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text when a pane is empty (defaults to the locale string)","model":false},{"name":"moveAllRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-right button (defaults to the locale string)","model":false},{"name":"moveRightLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-right button (defaults to the locale string)","model":false},{"name":"moveLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-selected-left button (defaults to the locale string)","model":false},{"name":"moveAllLeftLabel","type":"string","required":false,"default":null,"description":"Aria label for the move-all-left button (defaults to the locale string)","model":false},{"name":"listHeight","type":"string","required":false,"default":"\"280px\"","description":"Height of each list's scroll area (any CSS length).","model":false},{"name":"bare","type":"boolean","required":false,"default":"false","description":"Fully custom rows: the `#item` slot draws the whole row (no checkbox, padding, min height or background). The row stays clickable, focusable (Space checks it, Enter moves it) and animated; use the slot's `checked` to style the checked state.","model":false}],"events":[{"name":"update:modelValue","args":"Value[]","description":"Emitted whenever items move between panes (v-model)"}],"slots":[{"name":"item","bindings":"{ item: T; checked: boolean; side: \"source\" | \"target\"; toggle: () => void; move: () => void; }","description":"Custom row content. Without `bare` it replaces the icon and text, keeping the checkbox, highlight and hover. Buttons, links, fields and `[data-transfer-action]` elements inside keep their own clicks instead of checking the row."},{"name":"source-empty","bindings":null,"description":"Custom content when the source pane is empty"},{"name":"target-empty","bindings":null,"description":"Custom content when the target pane is empty"}],"exposed":[],"types":[{"name":"TransferItem","source":"export interface TransferItem {\n value: string | number\n label: string\n icon?: string\n /** Optional second line under the label (an email, a role, a short description). */\n description?: string\n}"},{"name":"Value","source":"type Value = string | number"}]},{"name":"MTransition","import":"@m3ui-vue/m3ui-vue","description":"M3's navigation transitions between two views (a port of Compose's `MaterialTransitions`): `shared-axis` slides the new view in from the side as the old one slides out (use `reverse` when going back), and `fade-through` fades the old view out and the new one in with a slight scale, for destinations without a spatial relationship such as navigation bar tabs. Wrap content that changes its `key` (or a `v-if`/`v-else` pair, or a `<RouterView>` slot's component); both views overlap while they animate.","props":[{"name":"type","type":"\"shared-axis\" | \"fade-through\"","required":false,"default":"\"shared-axis\"","description":"`shared-axis` (horizontal, for forward/back navigation) or `fade-through` (unrelated destinations)","model":false},{"name":"reverse","type":"boolean","required":false,"default":"false","description":"Shared axis: play the backward transition (the new view comes from the start side)","model":false},{"name":"appear","type":"boolean","required":false,"default":"false","description":"Animate the first view too","model":false}],"events":[],"slots":[{"name":"default","bindings":null,"description":"The current view; give it a `key` that changes with it"}],"exposed":[],"types":[]},{"name":"MTree","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical tree view with expand/collapse, single-node selection, and optional cascading checkbox selection.","props":[{"name":"nodes","type":"TreeNode[]","required":true,"default":null,"description":"Root nodes to render — required","model":false},{"name":"selected","type":"string | number | null","required":false,"default":"null","description":"Currently selected node id (single-select).","model":true},{"name":"checked","type":"(string | number)[]","required":false,"default":"[]","description":"Checked node ids (checkable multi-select).","model":true},{"name":"checkable","type":"boolean","required":false,"default":"false","description":"Show checkboxes with cascade selection.","model":false},{"name":"defaultExpanded","type":"\"all\" | \"none\" | (string | number)[]","required":false,"default":"\"none\"","description":"Which nodes start expanded. 'all' | 'none' | array of ids (default: 'none').","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when nodes is empty. Falls back to the app's configured locale's noItems string","model":false}],"events":[{"name":"update:selected","args":"string | number | null","description":"Fires when a node is clicked, toggling selection (clicking the already-selected node clears it)"},{"name":"node-click","args":"TreeNode","description":"Fires whenever a node row is clicked, alongside update:selected"},{"name":"update:checked","args":"(string | number)[]","description":"Fires when a checkbox toggles a node (checkable mode)"}],"slots":[],"exposed":[{"name":"expandAll","type":"() => void","description":""},{"name":"collapseAll","type":"() => void","description":""}],"types":[{"name":"TreeNode","source":"// ── Public types ────────────────────────────────────────────────────────────\n\nexport interface TreeNode {\n id: string | number\n label: string\n icon?: string\n children?: TreeNode[]\n disabled?: boolean\n [key: string]: unknown\n}"}]},{"name":"MTreeTable","import":"@m3ui-vue/m3ui-vue","description":"A hierarchical table for nested data like file systems or org charts — rows can carry a `children` array, and the first column renders the indent and expand/collapse toggle automatically.","props":[{"name":"columns","type":"TreeTableColumn[]","required":true,"default":null,"description":"Column definitions; see `TreeTableColumn`","model":false},{"name":"rows","type":"TreeTableRow[]","required":true,"default":null,"description":"Hierarchical rows with an optional children array; see `TreeTableRow`","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"defaultExpanded","type":"boolean","required":false,"default":"false","description":"Expand all nodes with children by default","model":false},{"name":"indent","type":"number","required":false,"default":"24","description":"Indentation per depth level, in px","model":false},{"name":"dense","type":"boolean","required":false,"default":"false","description":"Compact row height","model":false},{"name":"emptyText","type":"string","required":false,"default":null,"description":"Text shown when rows is empty. Falls back to the app's configured locale's noResults string","model":false}],"events":[{"name":"rowClick","args":"TreeTableRow","description":"Emitted with the row when you click it."}],"slots":[{"name":"toolbar","bindings":"{ expandAll: () => void; collapseAll: () => void; }","description":"Toolbar content above the table, only rendered when this slot is used — gets expandAll()/collapseAll() helpers"}],"exposed":[],"types":[{"name":"TreeTableColumn","source":"export interface TreeTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n}"},{"name":"TreeTableRow","source":"export interface TreeTableRow {\n [key: string]: any\n children?: TreeTableRow[]\n}"}]},{"name":"MVideoPlayer","import":"@m3ui-vue/m3ui-vue/media","description":"A video player (not an M3 spec component: a port of Media3's Compose Material3 `Player`, androidx/media `ui_compose_material3`): controls in three slots like Media3's, top (empty, the title in full screen), center (previous, back, a large play/pause, forward, next, centered on the picture) and bottom (an `MSeekBar`, the time and chapter, volume, subtitles, settings, picture in picture and full screen). Unlike Media3's they keep a dark scrim and white content in both themes, as they sit on the picture; the play button is primary-container, a circle while paused that squares off while playing. Controls hide while playing after `hideDelay`. A click plays/pauses and a double click goes full screen; on touch a tap shows or hides the controls, a double tap on either side skips (taps add up), and a long press plays at 2× while held. Keys (with the player focused): Space/K, J/L, arrows, F, M, C, 0–9, Home/End, `<`/`>`. Plays `src`/`sources` in a `<video>`, or anything else through `#media` over a clock of `duration` seconds. HLS (`.m3u8`) plays natively where the browser can; elsewhere pass `:hls=\"() => import(\"hls.js\")\"`.","props":[{"name":"src","type":"string","required":false,"default":null,"description":"Video URL","model":false},{"name":"sources","type":"VideoSource[]","required":false,"default":null,"description":"Several formats of the video; the browser plays the first it can","model":false},{"name":"poster","type":"string","required":false,"default":null,"description":"Image shown before playing","model":false},{"name":"tracks","type":"VideoTrack[]","required":false,"default":null,"description":"Subtitle tracks (WebVTT)","model":false},{"name":"chapters","type":"SeekBarChapter[]","required":false,"default":null,"description":"Chapters, drawn on the seek bar","model":false},{"name":"title","type":"string","required":false,"default":null,"description":"Shown at the top in full screen, and on the lock screen while playing","model":false},{"name":"duration","type":"number","required":false,"default":null,"description":"Length in seconds, for `#media` content (with a `<video>` it comes from the file)","model":false},{"name":"player","type":"MediaPlayer","required":false,"default":null,"description":"Drive this player instead of one of its own (from `useMediaPlayer()`, kept outside to survive page changes). Read once","model":false},{"name":"playing","type":"boolean","required":false,"default":null,"description":"Playing (v-model)","model":true},{"name":"currentTime","type":"number","required":false,"default":null,"description":"Position in seconds (v-model)","model":true},{"name":"rate","type":"number","required":false,"default":null,"description":"Playback speed (v-model)","model":true},{"name":"volume","type":"number","required":false,"default":null,"description":"Volume, 0 to 1 (v-model)","model":true},{"name":"muted","type":"boolean","required":false,"default":null,"description":"Muted (v-model)","model":true},{"name":"autoplay","type":"boolean","required":false,"default":"false","description":"Starts playing when mounted; muted if the browser blocks sound before a user gesture","model":false},{"name":"loop","type":"boolean","required":false,"default":"false","description":"Starts over at the end","model":false},{"name":"controls","type":"boolean","required":false,"default":"true","description":"Shows the controls. Off: just the video and its gestures","model":false},{"name":"hasPrevious","type":"boolean","required":false,"default":"false","description":"Adds previous and next buttons (emits `previous`); with only one of the two, the other shows disabled","model":false},{"name":"hasNext","type":"boolean","required":false,"default":"false","description":"Adds previous and next buttons (emits `next`); with only one of the two, the other shows disabled","model":false},{"name":"seekStep","type":"number","required":false,"default":"10","description":"Seconds the skip buttons, J/L and double taps move","model":false},{"name":"speeds","type":"number[]","required":false,"default":"[0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2]","description":"Speeds offered in the settings menu","model":false},{"name":"aspectRatio","type":"string","required":false,"default":"\"16/9\"","description":"Box ratio, as CSS `aspect-ratio`; `auto` follows the video","model":false},{"name":"fit","type":"\"contain\" | \"cover\"","required":false,"default":"\"contain\"","description":"How the video fills the box","model":false},{"name":"hideDelay","type":"number","required":false,"default":"3000","description":"Milliseconds without activity before the controls hide while playing","model":false},{"name":"color","type":"string","required":false,"default":"\"primary\"","description":"Played part of the seek bar: an M3 role or any CSS color","model":false},{"name":"crossorigin","type":"\"anonymous\" | \"use-credentials\"","required":false,"default":null,"description":"The video's CORS mode. Subtitles from another origin need `anonymous` (and a video host that allows it, as the `<track>` is fetched in the video's mode)","model":false},{"name":"hls","type":"(() => Promise<HlsModule>)","required":false,"default":null,"description":"Loads hls.js for `.m3u8` where the browser can't play HLS: `() => import(\"hls.js\")`","model":false}],"events":[{"name":"error","args":"MediaError | null","description":"The video failed to load or play, with the media element's error"},{"name":"fullscreen","args":"boolean","description":"Full screen was entered (true) or left (false)"},{"name":"update:playing","args":"boolean","description":""},{"name":"update:currentTime","args":"number","description":""},{"name":"update:rate","args":"number","description":""},{"name":"update:volume","args":"number","description":""},{"name":"update:muted","args":"boolean","description":""},{"name":"previous","args":"","description":"The previous button (or the lock screen's) was pressed"},{"name":"next","args":"","description":"The next button (or the lock screen's) was pressed"},{"name":"ended","args":"","description":"The video reached its end"}],"slots":[{"name":"media","bindings":"{ time: number; playing: boolean; rate: number; duration: number; }","description":"Replaces the `<video>` (a canvas, a shader, a 3D scene). Props: `{ time, playing, rate, duration }`"},{"name":"error","bindings":"{ error: MediaError; }","description":"Replaces the error message. Props: `{ error }`"},{"name":"end","bindings":"{ player: MediaPlayer; replay: () => Promise<void>; }","description":"Shown over the video when it ends (an \"up next\", say). Props: `{ player, replay }`"},{"name":"top","bindings":"{ player: MediaPlayer; shown: boolean; fullscreen: boolean; compact: boolean; }","description":"Top controls. Props: `VideoPlayerSlotProps`"},{"name":"center","bindings":"{ player: MediaPlayer; shown: boolean; fullscreen: boolean; compact: boolean; }","description":"Replaces the center controls. Props: `VideoPlayerSlotProps`"},{"name":"bottom","bindings":"{ player: MediaPlayer; shown: boolean; fullscreen: boolean; compact: boolean; }","description":"Replaces the bottom controls. Props: `VideoPlayerSlotProps`"},{"name":"settings","bindings":"{ player: MediaPlayer; }","description":"Extra `MMenuItem`s at the end of the settings menu. Props: `{ player }`"}],"exposed":[],"types":[{"name":"VideoSource","source":"export interface VideoSource {\n src: string\n /** MIME type, e.g. `video/webm` or `application/vnd.apple.mpegurl` (HLS) */\n type?: string\n}"},{"name":"VideoTrack","source":"export interface VideoTrack {\n /** WebVTT file */\n src: string\n /** Language code, e.g. `es` */\n srclang: string\n /** Shown in the subtitles menu */\n label: string\n /** Shown from the start */\n default?: boolean\n /** Default `subtitles` */\n kind?: 'subtitles' | 'captions'\n}"},{"name":"VideoPlayerSlotProps","source":"/** What the control slots receive */\nexport interface VideoPlayerSlotProps {\n player: MediaPlayer\n /** The controls are showing (slots usually fade with them) */\n shown: boolean\n fullscreen: boolean\n /** The player is narrower than 480px (a phone in portrait) */\n compact: boolean\n}"},{"name":"HlsLike","source":"/** The bits of hls.js the player uses, so the library doesn't depend on it */\nexport interface HlsLike {\n loadSource(src: string): void\n attachMedia(el: HTMLMediaElement): void\n destroy(): void\n on(event: string, fn: (...args: any[]) => void): void\n levels: { height?: number; bitrate?: number }[]\n currentLevel: number\n}"},{"name":"HlsModule","source":"export interface HlsModule {\n default: { new (config?: Record<string, unknown>): HlsLike; isSupported(): boolean; Events: Record<string, string> }\n}"}]},{"name":"MVirtualTable","import":"@m3ui-vue/m3ui-vue","description":"Renders only the rows currently in (or near) the viewport, so a table with thousands of rows stays smooth — no pagination needed. Trade-off: no built-in search/filtering, sort is a client-side full-array sort.","props":[{"name":"columns","type":"VTableColumn[]","required":true,"default":null,"description":"Column definitions; see `VTableColumn`","model":false},{"name":"rows","type":"Record<string, any>[]","required":true,"default":null,"description":"All rows — the full array is held in memory, only visible rows are rendered to the DOM","model":false},{"name":"rowHeight","type":"number","required":false,"default":"44","description":"Fixed row height in px, used for the virtualization math","model":false},{"name":"rowKey","type":"string","required":false,"default":"\"id\"","description":"Unique key field","model":false},{"name":"overscan","type":"number","required":false,"default":"5","description":"Extra rows rendered above/below the visible viewport, to reduce blank flashes on fast scroll","model":false},{"name":"maxHeight","type":"string","required":false,"default":"\"500px\"","description":"Scrollable container height (any valid CSS height)","model":false}],"events":[{"name":"rowClick","args":"Record<string, any>","description":"Emitted with the row's data when you click a row."}],"slots":[],"exposed":[],"types":[{"name":"VTableColumn","source":"export interface VTableColumn {\n key: string\n label: string\n width?: string\n align?: 'left' | 'center' | 'right'\n sortable?: boolean\n}"}]},{"name":"MWindow","import":"@m3ui-vue/m3ui-vue","description":"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.","props":[{"name":"modelValue","type":"boolean","required":true,"default":null,"description":"Visible state (v-model)","model":true},{"name":"title","type":"string","required":false,"default":null,"description":"Window title in the title bar","model":false},{"name":"icon","type":"string","required":false,"default":null,"description":"Material Symbol icon in the title bar","model":false},{"name":"width","type":"string","required":false,"default":"\"400px\"","description":"Initial width","model":false},{"name":"height","type":"string","required":false,"default":"\"300px\"","description":"Initial height","model":false},{"name":"minWidth","type":"number","required":false,"default":"200","description":"Minimum width in px","model":false},{"name":"minHeight","type":"number","required":false,"default":"150","description":"Minimum height in px","model":false},{"name":"maxWidth","type":"number","required":false,"default":null,"description":"Maximum width in px","model":false},{"name":"maxHeight","type":"number","required":false,"default":null,"description":"Maximum height in px","model":false},{"name":"resizable","type":"boolean","required":false,"default":"true","description":"Allow resizing from edges and corners","model":false},{"name":"draggable","type":"boolean","required":false,"default":"true","description":"Allow dragging from the title bar","model":false},{"name":"closable","type":"boolean","required":false,"default":"true","description":"Show close button","model":false},{"name":"minimizable","type":"boolean","required":false,"default":"true","description":"Show minimize button (collapses to title bar)","model":false},{"name":"maximizable","type":"boolean","required":false,"default":"true","description":"Maximize button, and double-click on the title bar, to fill the parent and back.","model":false},{"name":"snap","type":"boolean","required":false,"default":"false","description":"Edge snapping while dragging, like GNOME: hold the pointer at the parent's top edge to maximize, or at its left/right edge to fill that half. A preview shows where it will land.","model":false},{"name":"offscreen","type":"boolean","required":false,"default":"false","description":"Lets the window be dragged partly out of its container, like a desktop: up to 3/4 of its width past either side, and down until only the title bar shows; never above the top. The container should clip it (`overflow: hidden`).","model":false},{"name":"x","type":"number","required":false,"default":"50","description":"Initial X position","model":false},{"name":"y","type":"number","required":false,"default":"50","description":"Initial Y position","model":false},{"name":"resetPosition","type":"boolean","required":false,"default":"false","description":"Reset position, size, and state when the window is closed","model":false}],"events":[{"name":"close","args":"","description":"Emitted when the close button is clicked"},{"name":"update:modelValue","args":"value: boolean","description":"Emitted when the window closes — powers v-model"},{"name":"minimize","args":"","description":"Emitted when the minimize button is toggled (either direction)"},{"name":"maximize","args":"maximized: boolean","description":"Emitted when the window is maximized (true) or restored (false)"},{"name":"focus","args":"","description":"Emitted when the window comes to the front."}],"slots":[{"name":"header","bindings":null,"description":"Replaces the default icon + title, keeps drag behavior"},{"name":"actions","bindings":null,"description":"Extra buttons in the title bar, before minimize/maximize/close. MIconButton size=\"xs\" matches the built-in ones"},{"name":"default","bindings":null,"description":"The window's content, under the title bar. Unmounted while the window is hidden."}],"exposed":[{"name":"focus","type":"() => void","description":"Brings the window to the front, e.g. from a taskbar."},{"name":"toggleMaximize","type":"() => void","description":""},{"name":"toggleMinimize","type":"() => void","description":""}],"types":[]}],"values":[{"name":"useMap","import":"@m3ui-vue/m3ui-vue/map","signature":"useMap(source?: MaybeRefOrGetter<MapSource>): {\n map: ComputedRef<Map$1 | undefined>\n maplibre: ComputedRef<typeof import(\"/home/runner/work/m3ui-vue/m3ui-vue/node_modules/.pnpm/maplibre-gl@5.24.0/node_modules/maplibre-gl/dist/maplibre-gl\") | undefined>\n styleVersion: ComputedRef<number>\n activeTool: Ref<string | null>\n onReady: (fn: (map: Maplibre.Map, maplibre: MaplibreModule) => void) => void\n on: (type: T, listener: (e: Maplibre.MapEventType[T] & object) => void) => void\n onLayer: (type: T, layerId: string, listener: (e: Maplibre.MapLayerEventType[T] & object) => void) => void\n}","description":"The map of the enclosing `MMap`, for your own controls, layers and handlers (call it in a component inside `MMap`). Listeners added through it are removed when the component unmounts. Outside an `MMap` (a side panel), pass it one: the `MMap`'s template ref, or a getter for it; until it mounts, `map` is undefined and `onReady` waits. ```ts const { map, onLayer } = useMap() onLayer('click', 'parcels-fill', (e) => console.log(e.features?.[0]?.properties)) // In a panel next to the map: <MMap ref=\"mapRef\"> … <MyPanel :map=\"mapRef\" /> const { map } = useMap(() => props.map) ```"},{"name":"useMapLayers","import":"@m3ui-vue/m3ui-vue/map","signature":"useMapLayers(source?: MaybeRefOrGetter<MapSource>): {\n model: ComputedRef<MapLayerModel | undefined>\n layers: ComputedRef<MapLayerInfo[]>\n isVisible: (id: string) => boolean\n setVisible: (id: string, visible: boolean) => void\n toggle: (id: string) => void\n opacityOf: (id: string) => number\n setOpacity: (id: string, opacity: number) => void\n layersOf: (group: string | null) => MapLayerInfo[]\n groupState: (group: string) => \"visible\" | \"hidden\" | \"partial\"\n setGroupVisible: (group: string, visible: boolean) => void\n baseLayers: ComputedRef<MapLayerInfo[]>\n baseLayer: ComputedRef<string | null>\n setBaseLayer: (id: string | null) => void\n}","description":"The layers of the enclosing `MMap`'s style as its `adapter` describes them, with their visibility and opacity, for a layer panel or a base layer switcher of your own (`MMapLayers` and `MMapBaseLayers` are built on it). Changes go to the map and to every component using it; a layer's `children` follow it. Outside an `MMap`, pass it one (its template ref), as with `useMap`."},{"name":"genericAdapter","import":"@m3ui-vue/m3ui-vue/map","signature":"genericAdapter(style: Maplibre.StyleSpecification, context: MapAdapterContext): MapLayerModel","description":"Any style: every layer but the background is listed under its id (or `metadata.title`), vector layers identify all their properties, and nothing is a base layer or shows on hover."},{"name":"orvianAdapter","import":"@m3ui-vue/m3ui-vue/map","signature":"orvianAdapter(options: OrvianAdapterOptions = {}): MapAdapter","description":"The Orvian viewers' conventions in the style's `metadata`. On each layer: `alias`, `description`, `group`, `show_in_layerlist` (false hides it from the list), `isbaselayer` with `image` (raster base layers), `childs` (layer ids toggled with it), `identify` (true lists its properties on click), `fields` (per property: `alias`, `prefix`, `suffix`, `mask`, `show: false`; plus `exclude`, a list of properties to leave out), `hover` (`enable` and `fields`, a list of `{ <property>: { alias, prefix, suffix, mask } }`), `legend` (`show`, `wmslegend`) and `download`. On the style: `groups` (`{ name, alias }`, in order)."},{"name":"identifyFeatures","import":"@m3ui-vue/m3ui-vue/map","signature":"identifyFeatures(map: Maplibre.Map, point: Maplibre.PointLike, model: MapLayerModel | undefined): MapIdentifyResult[]","description":"The features of the model's identify layers at a point (topmost first), with their properties formatted: what `MMapIdentify` lists on click, for a UI of your own."},{"name":"formatFieldValue","import":"@m3ui-vue/m3ui-vue/map","signature":"formatFieldValue(raw: unknown, format?: MapFieldFormat): string","description":"A property's value as text: numbers through `mask` (in the page's language, `<html lang>`), then `prefix` and `suffix`. Empty values give ''."},{"name":"fieldLabel","import":"@m3ui-vue/m3ui-vue/map","signature":"fieldLabel(key: string, format?: MapFieldFormat): string","description":"A property's label: its format's, or the key with a capital first letter."},{"name":"useMapFilter","import":"@m3ui-vue/m3ui-vue/map","signature":"useMapFilter(source?: MaybeRefOrGetter<MapSource>): {\n setFilter: (layerId: string, filter: Maplibre.FilterSpecification | null) => void\n valuesOf: (layerId: string, property: string) => (string | number)[]\n}","description":"Filters for the layers of the enclosing `MMap`, on top of the filters their style already has (a layer that only draws parks keeps doing so): `setFilter(layer, expression)` combines both, `setFilter(layer, null)` brings the style's back. `MMapFilter` is built on it; use it for filters of your own (a range slider, a date, a search…). Outside an `MMap`, pass it one (its template ref), as with `useMap`."},{"name":"nominatimProvider","import":"@m3ui-vue/m3ui-vue/map","signature":"nominatimProvider(options: NominatimOptions = {}): MapSearchProvider","description":"OpenStreetMap's Nominatim geocoder. Its public server allows one search per second and no search-as-you-type: `MMapSearch` searches on Enter."},{"name":"useMediaPlayer","import":"@m3ui-vue/m3ui-vue/media","signature":"useMediaPlayer(options: MediaPlayerOptions = {}): MediaPlayer","description":"The state and controls of something that plays: an `<audio>`/`<video>` element, or a clock of its own for anything else. Everything is reactive, the writable parts (`playing`, `currentTime`, `rate`, `volume`, `muted`) act on the media when written, and the player takes the Media Session while it plays (lock screen and notification controls, with `metadata`). `MVideoPlayer` and `MAudioPlayer` are built on it; pass one to their `player` prop to keep playing across pages, or build a player UI of your own on it. ```ts const audio = ref<HTMLAudioElement>() const player = useMediaPlayer({ media: audio, metadata: () => ({ title: track.value.title }) }) // <audio ref=\"audio\" :src=\"track.src\" /> … <button"},{"name":"usePdf","import":"@m3ui-vue/m3ui-vue/pdf","signature":"usePdf(src: MaybeRefOrGetter<PdfSource | null | undefined>, options: PdfOptions = {}): PdfState","description":"Loads a PDF with pdf.js and exposes what a viewer needs: pages and their sizes, the outline, metadata, text search, thumbnails, download and print. `MPdfViewer` is built on it; use it for a viewer of your own, a thumbnail grid, or a search over a document. Reactive to `src`: a new one replaces the document. ```ts const pdf = usePdf(() => file.value) watchEffect(async () => { if (pdf.doc.value) cover.value = await pdf.thumbnail(1, 160) }) const hits = await pdf.search('invoice') ```"},{"name":"setPdfWorker","import":"@m3ui-vue/m3ui-vue/pdf","signature":"setPdfWorker(src: string): void","description":"Sets the pdf.js worker URL for every `usePdf`/`MPdfViewer` of the app (see `PdfOptions.workerSrc`)"},{"name":"useFlow","import":"@m3ui-vue/m3ui-vue/flow","signature":"useFlow(): FlowContext","description":"The enclosing `<MFlow>`'s state and controls, from any component rendered inside it (a `#node-<type>` slot, a panel of your own). Outside one, use MFlow's template ref, which exposes the same."},{"name":"useFlowNode","import":"@m3ui-vue/m3ui-vue/flow","signature":"useFlowNode(): FlowNodeState | null","description":"The node a component is rendered in (inside a `#node-<type>` slot), or null"},{"name":"getBezierPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getBezierPath(p: FlowEdgePathParams & { curvature?: number }): FlowEdgePath","description":"A cubic curve that leaves and arrives square to the nodes' sides. `curvature` (default 0.25) bends it more when the target is behind the source"},{"name":"getSmoothStepPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getSmoothStepPath(p: FlowEdgePathParams & FlowStepCenter & { borderRadius?: number; offset?: number }): FlowEdgePath","description":"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"},{"name":"getStepPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getStepPath(p: FlowEdgePathParams & FlowStepCenter & { offset?: number; route?: number[] }): FlowEdgePath","description":"`getSmoothStepPath` with sharp corners"},{"name":"getStraightPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getStraightPath(p: FlowEdgePathParams): FlowEdgePath","description":"A straight line between the ends"},{"name":"smoothStepPoints","import":"@m3ui-vue/m3ui-vue/flow","signature":"smoothStepPoints(p: FlowEdgePathParams & FlowStepCenter & { offset?: number }): Pt[]","description":""},{"name":"routePoints","import":"@m3ui-vue/m3ui-vue/flow","signature":"routePoints(p: FlowEdgePathParams & { route: number[] }): Pt[]","description":"The corners of an orthogonal edge routed through `route`: the positions of its segments after the first, alternately x and y, starting with where the leg leaving the source ends (an x when the source's side is left or right). The legs at the ends stretch to wherever the nodes are, and a corner is added before the target when it's needed to arrive square to its side, so the route stays orthogonal as the nodes move."},{"name":"pointsToRoute","import":"@m3ui-vue/m3ui-vue/flow","signature":"pointsToRoute(points: Pt[], sourcePosition: FlowPosition = 'bottom', targetPosition?: FlowPosition): number[]","description":"The other way round: the `route` that runs an orthogonal edge through these corners (its ends first and last)"},{"name":"getRoutedPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"getRoutedPath(p: FlowEdgePathParams & { route: number[]; borderRadius?: number }): FlowEdgePath","description":"Right-angled steps through `route` (see `routePoints`), rounded like `getSmoothStepPath`"},{"name":"arrowPath","import":"@m3ui-vue/m3ui-vue/flow","signature":"arrowPath(x: number, y: number, angle: number, size = 10, closed = false): string","description":"An arrowhead's path at (x, y) pointing along `angle`: open (two strokes) or closed (a filled triangle's outline)"},{"name":"layoutTree","import":"@m3ui-vue/m3ui-vue/flow","signature":"layoutTree(nodes: FlowNode[], edges: FlowEdge[], options: FlowLayoutOptions = {}): FlowLayoutResult","description":"A tidy tree: each parent centered over its children, every subtree side by side without overlapping, levels aligned. Roots are the nodes nothing points to (in the nodes' order); a child's place among its siblings follows the edges' order. Extra parents and cycles are ignored (a node goes under the first parent reached)."},{"name":"layoutLayered","import":"@m3ui-vue/m3ui-vue/flow","signature":"layoutLayered(nodes: FlowNode[], edges: FlowEdge[], options: FlowLayoutOptions = {}): FlowLayoutResult","description":"A layered layout for directed graphs: every edge points one level onwards where it can (longest path from the sources), the order within a level reduces crossings (barycenter sweeps), and nodes line up with what they're connected to without overlapping. Edges that close a cycle are laid out as if reversed."},{"name":"parseDot","import":"@m3ui-vue/m3ui-vue/flow","signature":"parseDot(source: string, options: FlowImportOptions = {}): FlowGraph","description":"Reads a Graphviz DOT graph (`digraph`/`graph`, `strict`, subgraphs, defaults, ports, HTML labels): nodes take their `label` (default the id), `shape=circle`/`doublecircle`/`point` makes a `circle` node, `style=invis` hides; edges take `label`, `color`, `penwidth`, `style=dashed`/`dotted`/`bold`/`invis` and `dir`/`arrowhead`/`arrowtail`; `cluster` subgraphs become groups. Every attribute as written is kept in each node's and edge's `data.attrs` (ports as `tailport`/`headport`), to map the rest yourself. Laid out in layers along `rankdir`, unless every node has a `pos`. Throws a SyntaxError (with line and column) on what isn't DOT."},{"name":"toDot","import":"@m3ui-vue/m3ui-vue/flow","signature":"toDot(nodes: FlowNode[], edges: FlowEdge[], options: FlowDotExportOptions = {}): string","description":"Writes nodes and edges as a Graphviz DOT graph: labels, `circle` nodes as `shape=circle` (`doublecircle` with a ring), groups as `cluster` subgraphs, edge labels, colors (CSS ones; M3 roles are left out), widths, dashes, arrows and hidden ones. Attributes kept in `data.attrs` (as `parseDot` leaves them) are written back too."},{"name":"parseMermaid","import":"@m3ui-vue/m3ui-vue/flow","signature":"parseMermaid(source: string, options: FlowImportOptions = {}): FlowGraph","description":"Reads a Mermaid flowchart (`flowchart`/`graph` with TB/TD/BT/LR/RL): node shapes (`(( ))` makes a `circle` node, `((( )))` one with a ring; every other shape is kept as `data.shape`), the `@{ shape, label }` syntax, chains and `&`, links `-->` `---` `-.->` `==>` `~~~` `<-->` `--o` `--x` with `|labels|` or `-- labels -->`, and subgraphs as groups. `classDef`, `style`, `click` and the like are skipped. Laid out in layers along its direction. Throws a SyntaxError (with line and column) on what it can't read."},{"name":"toMermaid","import":"@m3ui-vue/m3ui-vue/flow","signature":"toMermaid(nodes: FlowNode[], edges: FlowEdge[], options: FlowExportOptions = {}): string","description":"Writes nodes and edges as a Mermaid flowchart: labels, `circle` nodes as `(( ))` (`((( )))` with a ring), the shape kept in `data.shape` (as `parseMermaid` leaves it), groups as subgraphs, and edges as `-->`, `---` (no arrow), `-.->` (dashed), `==>` (3px or wider), `~~~` (hidden) or `<-->`, with their labels. Ids Mermaid can't take are renamed (`n1`, `n2`…)."},{"name":"useGantt","import":"@m3ui-vue/m3ui-vue/gantt","signature":"useGantt(): GanttContext","description":"The enclosing `<MGantt>`'s state and controls, from a component rendered in its default slot. Outside one, use MGantt's template ref, which exposes the same."},{"name":"scheduleTasks","import":"@m3ui-vue/m3ui-vue/gantt","signature":"scheduleTasks(tasks: readonly T[], options: GanttScheduleOptions = {}): T[]","description":"Moves tasks so every dependency holds: by default only later (`'push'`, what dragging a predecessor does), or as soon as possible (`'asap'`), keeping each task's duration. Summaries follow their tasks. Returns the same array when nothing moves."},{"name":"criticalPath","import":"@m3ui-vue/m3ui-vue/gantt","signature":"criticalPath(tasks: readonly GanttTask[], options: { calendar?: GanttCalendar } = {}): GanttCriticalPath","description":"The critical path over the tasks' current dates: tasks whose delay would delay the last one's end (no slack), through their dependencies. Slack is in calendar days, or working days with a calendar (so a weekend between two tasks isn't slack)."},{"name":"rollupSummaries","import":"@m3ui-vue/m3ui-vue/gantt","signature":"rollupSummaries(tasks: readonly T[]): T[]","description":"Summaries take the span of their children (deepest first) and their progress, weighted by duration. Returns the same array when nothing changes."},{"name":"workingDays","import":"@m3ui-vue/m3ui-vue/gantt","signature":"workingDays(start: string, end: string, calendar?: GanttCalendar): number","description":"Working days from `start` to `end`, both included (`YYYY-MM-DD`)"},{"name":"addWorkingDays","import":"@m3ui-vue/m3ui-vue/gantt","signature":"addWorkingDays(date: string, n: number, calendar?: GanttCalendar): string","description":"The date `n` working days after `date` (before it when negative); 0 moves a day off to the next working day"},{"name":"taskSpan","import":"@m3ui-vue/m3ui-vue/gantt","signature":"taskSpan(t: Pick<GanttTask, 'start' | 'end' | 'type'>): { start: number; end: number; dateOnly: boolean; }","description":"A task's span in ms, end exclusive: a date-only end runs to the next midnight; a milestone has none"},{"name":"toGanttCsv","import":"@m3ui-vue/m3ui-vue/gantt","signature":"toGanttCsv(tasks: readonly GanttTask[], options: GanttCsvOptions = {}): string","description":"Tasks as CSV, one row each: id, name, start, end, progress, type, parent, dependencies (`a; b SS+2`), color and the baseline. `data` isn't written (keep it in JSON)."},{"name":"parseGanttCsv","import":"@m3ui-vue/m3ui-vue/gantt","signature":"parseGanttCsv(text: string, options: GanttCsvOptions & { dayFirst?: boolean } = {}): GanttTask<any>[]","description":"Reads tasks from CSV with a header row: the columns `toGanttCsv` writes, or what other tools call them (Task Name, Start Date, Finish, % Complete, Predecessors…; case and spaces don't matter). Rows without an id get one; without an end, a milestone. `dayFirst` reads `03/04/2026` as the 3rd of April (default true)."},{"name":"toGanttJson","import":"@m3ui-vue/m3ui-vue/gantt","signature":"toGanttJson(tasks: readonly GanttTask[], options: { space?: number } = {}): string","description":"Tasks as JSON, `{ format: 'm3ui-gantt', version: 1, tasks }`, everything included (`data` too)"},{"name":"parseGanttJson","import":"@m3ui-vue/m3ui-vue/gantt","signature":"parseGanttJson(text: string): GanttTask<any>[]","description":"Reads tasks from JSON: what `toGanttJson` writes, a bare array of tasks, or `{ tasks: [...] }`. Each needs a name and a start; ids are filled in when missing. Throws a SyntaxError on anything else."},{"name":"toMsProjectXml","import":"@m3ui-vue/m3ui-vue/gantt","signature":"toMsProjectXml(tasks: readonly GanttTask[], options: GanttXmlOptions = {}): string","description":"Tasks as a Microsoft Project XML file (MSPDI): outline levels for summaries, start and finish (a date-only task's days from `dayStart` to `dayEnd`), duration, percent complete, milestones, predecessors with their type and lag (in days), and the baseline. Project, ProjectLibre and GanttProject open it."},{"name":"parseMsProjectXml","import":"@m3ui-vue/m3ui-vue/gantt","signature":"parseMsProjectXml(text: string, options: { dates?: 'auto' | 'date' | 'datetime' } = {}): { name?: string; tasks: GanttTask<any>[]; }","description":"Reads a Microsoft Project XML file (MSPDI, as Project, ProjectLibre or GanttProject save it): the outline (summaries from outline levels), names, start and finish, percent complete, milestones, predecessors (type and lag in days) and the first baseline. With `dates: 'auto'` (default) a project whose tasks all start and finish at the day's working hours comes in as whole days; `'datetime'` keeps the times. The project's name comes back too."},{"name":"useResourceTimeline","import":"@m3ui-vue/m3ui-vue/gantt","signature":"useResourceTimeline(): ResourceTimelineContext","description":"The enclosing `<MResourceTimeline>`'s state and controls, from a component in its default slot"},{"name":"useDrawing","import":"@m3ui-vue/m3ui-vue/draw","signature":"useDrawing(): DrawContext","description":"The surrounding MDrawCanvas' state and actions, for a toolbar or panel of your own inside it"},{"name":"strokePath","import":"@m3ui-vue/m3ui-vue/draw","signature":"strokePath(s: Pick<DrawStroke, 'points' | 'size' | 'pen'>): string","description":"A stroke as the SVG path of its filled outline (round caps, its width following pressure)"},{"name":"shapePath","import":"@m3ui-vue/m3ui-vue/draw","signature":"shapePath(s: Pick<DrawShape, 'shape' | 'from' | 'to' | 'size'>): { d: string; head?: string; }","description":"A shape's outline as an SVG path (stroked), plus an arrow's head (filled)"},{"name":"smoothPoints","import":"@m3ui-vue/m3ui-vue/draw","signature":"smoothPoints(points: DrawPoint[], smoothing = 0.5, size = 4): DrawPoint[]","description":"Smooths raw input points: each one moves part of the way toward the next sample (`smoothing` 0 keeps them as they are, 1 follows lazily), and points closer than a fraction of the size are merged. Pressure is kept."},{"name":"simulatePressure","import":"@m3ui-vue/m3ui-vue/draw","signature":"simulatePressure(points: DrawPoint[], size: number): DrawPoint[]","description":"Pressure made up from speed, for a mouse or a finger: slow is heavy, fast is light"},{"name":"constrain","import":"@m3ui-vue/m3ui-vue/draw","signature":"constrain(kind: DrawShapeKind, from: [number, number], to: [number, number]): [number, number]","description":"Holding Shift: lines snap to 45°, rects and ellipses become squares and circles"},{"name":"itemBox","import":"@m3ui-vue/m3ui-vue/draw","signature":"itemBox(item: DrawItem): DrawBox","description":"An item's bounds"},{"name":"unionBox","import":"@m3ui-vue/m3ui-vue/draw","signature":"unionBox(boxes: DrawBox[]): DrawBox | null","description":""},{"name":"textBox","import":"@m3ui-vue/m3ui-vue/draw","signature":"textBox(t: Pick<DrawText, 'at' | 'text' | 'size'>): DrawBox","description":"A text's box, estimated from its characters (good enough to hit and select it)"},{"name":"hitItem","import":"@m3ui-vue/m3ui-vue/draw","signature":"hitItem(item: DrawItem, x: number, y: number, tolerance = 4): boolean","description":"Whether a point (with a tolerance) touches an item"},{"name":"eraseAt","import":"@m3ui-vue/m3ui-vue/draw","signature":"eraseAt(item: DrawItem, x: number, y: number, r: number): DrawItem[]","description":"The stroke-cutting eraser: the parts of a stroke within `r` of (x, y) go, what's left splits into separate strokes. Returns the item unchanged when it isn't touched, `[]` when it's all gone. Shapes and text go whole."},{"name":"inLasso","import":"@m3ui-vue/m3ui-vue/draw","signature":"inLasso(item: DrawItem, poly: [number, number][]): boolean","description":"Whether a lasso (a closed polygon) takes an item: most of its points inside"},{"name":"transformItem","import":"@m3ui-vue/m3ui-vue/draw","signature":"transformItem(item: DrawItem, t: { dx?: number; dy?: number; sx?: number; sy?: number; ox?: number; oy?: number }): DrawItem","description":"An item moved by (dx, dy) and scaled by (sx, sy) around (ox, oy)"},{"name":"sortByLayer","import":"@m3ui-vue/m3ui-vue/draw","signature":"sortByLayer(items: DrawItem[], layers?: string[]): DrawItem[]","description":"Items in drawing order: by layer, then as they come"},{"name":"itemSvg","import":"@m3ui-vue/m3ui-vue/draw","signature":"itemSvg(item: DrawItem, fontFamily = 'sans-serif'): string","description":"One item as SVG markup"},{"name":"toDrawSvg","import":"@m3ui-vue/m3ui-vue/draw","signature":"toDrawSvg(items: DrawItem[], opts: DrawSvgOptions = {}): string","description":"A drawing (or one page of it) as a standalone SVG document"},{"name":"svgToPng","import":"@m3ui-vue/m3ui-vue/draw","signature":"svgToPng(svg: string, scale = 2): Promise<Blob>","description":"An SVG document rendered to a PNG blob (in a browser), `scale` times its size"},{"name":"drawId","import":"@m3ui-vue/m3ui-vue/draw","signature":"drawId(): string","description":""},{"name":"shapeNames","import":"@m3ui-vue/m3ui-vue","signature":"shapeNames: (\"Circle\" | \"Square\" | \"Slanted\" | \"Arch\" | \"Fan\" | \"Arrow\" | \"SemiCircle\" | \"Oval\" | \"Pill\" | \"Triangle\" | \"Diamond\" | \"ClamShell\" | \"Pentagon\" | \"Gem\" | \"Sunny\" | \"VerySunny\" | \"Cookie4Sided\" | \"Cookie6Sided\" | \"Cookie7Sided\" | \"Cookie9Sided\" | \"Cookie12Sided\" | \"Ghostish\" | \"Clover4Leaf\" | \"Clover8Leaf\" | \"Burst\" | \"SoftBurst\" | \"Boom\" | \"SoftBoom\" | \"Flower\" | \"Puffy\" | \"PuffyDiamond\" | \"PixelCircle\" | \"PixelTriangle\" | \"Bun\" | \"Heart\")[]","description":""},{"name":"createM3UI","import":"@m3ui-vue/m3ui-vue","signature":"createM3UI(options: M3UIOptions = {}): {\n install: (app: App<any>) => void\n}","description":""},{"name":"useTheme","import":"@m3ui-vue/m3ui-vue","signature":"useTheme(): {\n theme: Ref<Theme>\n cycle: () => void\n}","description":""},{"name":"useColorPalette","import":"@m3ui-vue/m3ui-vue","signature":"useColorPalette(): {\n palette: Ref<string>\n palettes: Palette[]\n set: (id: PaletteId | (string & {})) => void\n seed: Readonly<Ref<{ readonly seed: string; readonly variant?: SchemeVariant; readonly contrast?: number; } | null>>\n setSeed: (seed: string, options?: SeedOptions) => Promise<void>\n contrast: Readonly<Ref<ContrastLevel>>\n activeContrast: Ref<\"standard\" | \"medium\" | \"high\">\n setContrast: (level: ContrastLevel) => void\n persistPalette: Ref<boolean>\n setPersistPalette: (enabled: boolean) => void\n}","description":""},{"name":"palettes","import":"@m3ui-vue/m3ui-vue","signature":"palettes: Palette[]","description":"Every palette: the built-in ones, plus `createM3UI({ customPalettes })`."},{"name":"useConfetti","import":"@m3ui-vue/m3ui-vue","signature":"useConfetti(): {\n fire: (origin?: ConfettiOrigin | ConfettiOptions, options?: ConfettiOptions) => StopConfetti\n}","description":"Confetti for a component: `fire(event)` from the pointer, `fire(el)` from an element, `fire({ from: 'top' })`, `fire({ from: 'top', duration: 5000 })` for a rain that lasts. Returns a function that stops it early."},{"name":"fireConfetti","import":"@m3ui-vue/m3ui-vue","signature":"fireConfetti(origin?: ConfettiOrigin, options: ConfettiOptions = {}): StopConfetti","description":"Fires confetti: one burst, or with `duration` a rain or fountain that keeps going (stop it early with the returned function). Browser only; does nothing under reduced motion."},{"name":"useFireworks","import":"@m3ui-vue/m3ui-vue","signature":"useFireworks(): {\n launch: (options: FireworksOptions = {}) => StopFireworks\n}","description":"Fireworks for a component: `launch()`, `launch({ shapes: ['classic'] })`, `launch({ shapes: ['Heart'] })`, `launch({ duration: 10000 })`."},{"name":"launchFireworks","import":"@m3ui-vue/m3ui-vue","signature":"launchFireworks(options: FireworksOptions = {}): StopFireworks","description":"Launches fireworks: a few rockets, or with `duration` a show that keeps going (stop it early with the returned function). Browser only; does nothing under reduced motion."},{"name":"useReactions","import":"@m3ui-vue/m3ui-vue","signature":"useReactions(): {\n react: (origin: ReactionOrigin | undefined, content: ReactionContent, options: ReactionOptions = {}) => void\n}","description":"Floating reactions for a component: `react(event, '🎉')` from the pointer, `react(el, { icon: 'favorite' })` from an element, `react(el, '👏', { count: 5 })` for a handful."},{"name":"fireReaction","import":"@m3ui-vue/m3ui-vue","signature":"fireReaction(origin: ReactionOrigin | undefined, content: ReactionContent, options: ReactionOptions = {}): void","description":"Sends a reaction floating up from a point. Browser only."},{"name":"useContainerTransform","import":"@m3ui-vue/m3ui-vue","signature":"useContainerTransform(): ContainerTransformController<T>","description":"Material's container transform for elements that live apart from their expanded view: one controller, many elements opening it (a grid of cards), and one `<MContainerTransform :controller>` wherever the expanded view belongs. `open(event, item)` from a click grows that element into the expanded view, with `item` for it to show. ```ts const detail = useContainerTransform<Recipe>() // <MCard v-for=\"r in recipes\""},{"name":"SEED_PALETTE","import":"@m3ui-vue/m3ui-vue","signature":"SEED_PALETTE: \"seed\"","description":"The palette id used while a seed color is active (`useColorPalette().setSeed()`)."},{"name":"themeInitScript","import":"@m3ui-vue/m3ui-vue","signature":"themeInitScript(options: ThemeInitOptions = {}): string","description":"A script to inline in `<head>` of a server-rendered page (Nuxt, Vite SSR), so dark mode, the palette and the contrast level are on `<html>` before the first paint instead of when the app's JS loads. It does what `useTheme` and `useColorPalette` do when they load in the browser (the stored choice, or the given `createM3UI` defaults; a choice only in a cookie, from `createM3UI({ cookies })`, counts too), so pass it the same options as the plugin. A `seed` default can't be generated this early: its first visit still shows the baseline until the app loads (later visits use the cached CSS). ```ts useHead({ script: [{ innerHTML: themeInitScript({ palette: 'red' }) }] }) ```"},{"name":"viewportFromHeaders","import":"@m3ui-vue/m3ui-vue","signature":"viewportFromHeaders(headers: RequestHeaders, options: { guess?: boolean; storagePrefix?: string } = {}): ViewportSize | undefined","description":"The window size to server-render the adaptive layouts at, from a request's headers: the size `createM3UI({ cookies: true })` keeps in the `m3-viewport` cookie (any visit after the first); the viewport client hints (Chromium, once the server asked for them with `VIEWPORT_HINTS`); or, on a first visit, a size standing for the kind of device (`Sec-CH-UA-Mobile`, then the user agent: a phone, a tablet or a desktop), unless `guess: false`. With `createM3UI({ storagePrefix })`, pass the same `storagePrefix` so the right cookie is read. Undefined when nothing tells: the layouts then render compact. ```ts createM3UI({ cookies: true, initialState: { viewport: viewportFromHeaders(request.headers) } }) ```"},{"name":"VIEWPORT_HINTS","import":"@m3ui-vue/m3ui-vue","signature":"VIEWPORT_HINTS: \"Sec-CH-Viewport-Width, Sec-CH-Viewport-Height\"","description":"The client hints that carry the window's size (Chromium), for a server's `Accept-CH` and `Critical-CH` response headers. With `Critical-CH`, Chromium repeats the very first request once to send them; later requests carry them after `Accept-CH` alone."},{"name":"generateScheme","import":"@m3ui-vue/m3ui-vue","signature":"generateScheme(seed: string, options: SeedOptions = {}): Promise<GeneratedScheme>","description":"Generates the light and dark schemes for a seed color (`#rrggbb`)."},{"name":"schemeToCss","import":"@m3ui-vue/m3ui-vue","signature":"schemeToCss(scheme: GeneratedScheme, id: string): string","description":"CSS for a scheme under `[data-palette='<id>']` (light) and `[data-palette='<id>'].dark`, like palettes.css."},{"name":"schemeRoles","import":"@m3ui-vue/m3ui-vue","signature":"schemeRoles: readonly [\"primary\", \"on-primary\", \"primary-container\", \"on-primary-container\", \"secondary\", \"on-secondary\", \"secondary-container\", \"on-secondary-container\", \"tertiary\", \"on-tertiary\", \"tertiary-container\", \"on-tertiary-container\", \"error\", \"on-error\", \"error-container\", \"on-error-container\", \"background\", \"on-background\", \"surface\", \"on-surface\", \"surface-variant\", \"on-surface-variant\", \"surface-dim\", \"surface-bright\", \"surface-container-lowest\", \"surface-container-low\", \"surface-container\", \"surface-container-high\", \"surface-container-highest\", \"outline\", \"outline-variant\", \"inverse-surface\", \"inverse-on-surface\", \"inverse-primary\", \"scrim\", \"shadow\", \"primary-fixed\", \"primary-fixed-dim\", \"on-primary-fixed\", \"on-primary-fixed-variant\", \"secondary-fixed\", \"secondary-fixed-dim\", \"on-secondary-fixed\", \"on-secondary-fixed-variant\", \"tertiary-fixed\", \"tertiary-fixed-dim\", \"on-tertiary-fixed\", \"on-tertiary-fixed-variant\"]","description":"The `--color-*` roles a generated scheme sets. `success*` is a library extension and stays as themed."},{"name":"seedFromImage","import":"@m3ui-vue/m3ui-vue","signature":"seedFromImage(source: string | HTMLImageElement | ImageBitmap | Blob): Promise<string>","description":"The seed color of an image, for `generateScheme`, `useColorPalette().setSeed()` or `MScheme`: what Android does with the wallpaper. Takes a URL (cross-origin images need CORS headers, or the canvas can't be read), an `<img>`, an `ImageBitmap` or a `Blob` (a file the user picked). Browser only."},{"name":"seedFromPixels","import":"@m3ui-vue/m3ui-vue","signature":"seedFromPixels(rgba: ArrayLike<number>): Promise<string>","description":"The seed color of an image's pixels (RGBA bytes, as `ImageData.data`): its colors quantized and scored the way Android picks a wallpaper's source color (QuantizerCelebi + Score). Fully transparent pixels are skipped."},{"name":"useToast","import":"@m3ui-vue/m3ui-vue","signature":"useToast(): {\n toasts: Ref<Toast[]>\n position: Ref<ToastPosition>\n show: (message: string, variant: ToastVariant = 'info', options: number | ToastOptions = {}) => number\n success: (msg: string, opts?: ToastOptions) => number\n error: (msg: string, opts?: ToastOptions) => number\n warning: (msg: string, opts?: ToastOptions) => number\n info: (msg: string, opts?: ToastOptions) => number\n loading: (msg: string, opts?: Omit<ToastOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Toast, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useFieldBg","import":"@m3ui-vue/m3ui-vue","signature":"useFieldBg(containerEl: Ref<HTMLElement | null>, fieldBgProp: () => string | undefined): {\n resolvedFieldBg: ComputedRef<string>\n}","description":"Auto-detects the background behind `containerEl` and exposes it as `--field-bg`. Prefers a CSS variable reference (e.g. var(--color-surface-container-low)) over a raw computed color so the outlined label cutout transitions in sync with the rest of the theme switch instead of lagging behind."},{"name":"useLocale","import":"@m3ui-vue/m3ui-vue","signature":"useLocale(): M3Locale","description":""},{"name":"defaultLocale","import":"@m3ui-vue/m3ui-vue","signature":"defaultLocale: M3Locale","description":""},{"name":"useDevice","import":"@m3ui-vue/m3ui-vue","signature":"useDevice(): {\n isMobile: Ref<boolean>\n}","description":""},{"name":"useAutoGrow","import":"@m3ui-vue/m3ui-vue","signature":"useAutoGrow(target: MaybeRefOrGetter<HTMLTextAreaElement | null | undefined>, options: AutoGrowOptions = {}): {\n resize: () => void\n}","description":"Makes a `<textarea>` grow with its text, between `minRows` and `maxRows` rows, scrolling past the last one: a chat composer, a comment box. Works on any textarea, styled however you like (rows are measured from its computed line height, padding and border). It also follows width changes, which rewrap the text. Returns `resize()` for anything else that changes the text."},{"name":"useThemeTokens","import":"@m3ui-vue/m3ui-vue","signature":"useThemeTokens(names: readonly T[], options: ThemeTokensOptions = {}): Ref<Record<T, string>, Record<T, string>>","description":"The current values of some color tokens (`['primary', 'surface']` → `--color-primary`…), kept up to date across light/dark, palette, contrast and generated (seed) palette changes: for what can't use CSS variables, like a Chart.js dataset, a canvas or a MapLibre layer's paint. Values settle after the theme switch's color transition; with `{ live: true }` they also follow it frame by frame (as `rgba()` midway). Empty strings on the server. ```ts const colors = useThemeTokens(['primary', 'tertiary', 'outline-variant'] as const) const data = computed(() => ({ datasets: [{ data: sales, borderColor: colors.value.primary }] })) ```"},{"name":"useScrollReveal","import":"@m3ui-vue/m3ui-vue","signature":"useScrollReveal(target: MaybeRefOrGetter<Target>, options: ScrollRevealOptions = {}): {\n stop: () => void\n}","description":"Reveals elements as they scroll into view: they fade (and slide or grow) in on M3's springs, cascading when several enter together. Pass an element, a template ref, an array of them, or a getter. Off with reduced motion: everything is simply there. For a single element in a template, `v-reveal` does the same."},{"name":"useWindowSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"useWindowSizeClass(target?: MaybeRefOrGetter<HTMLElement | null | undefined>): WindowSizeClassInfo","description":"The M3 width/height size classes, reactive. With no argument it tracks the browser window. Pass an element (ref or getter) to classify that element's own size instead, which is what the adaptive layout components do, so they adapt to the space they actually get (a column, a dialog, a resizable panel)."},{"name":"widthSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"widthSizeClass(width: number): WidthSizeClass","description":""},{"name":"heightSizeClass","import":"@m3ui-vue/m3ui-vue","signature":"heightSizeClass(height: number): HeightSizeClass","description":""},{"name":"useNotification","import":"@m3ui-vue/m3ui-vue","signature":"useNotification(): {\n notifications: Ref<Notification[]>\n position: Ref<NotificationPosition>\n show: (message: string, variant: NotificationVariant = 'info', options: NotificationOptions = {}) => number\n success: (msg: string, opts?: NotificationOptions) => number\n error: (msg: string, opts?: NotificationOptions) => number\n warning: (msg: string, opts?: NotificationOptions) => number\n info: (msg: string, opts?: NotificationOptions) => number\n loading: (msg: string, opts?: Omit<NotificationOptions, 'loading'>) => number\n update: (id: number, patch: Partial<Omit<Notification, 'id'>>) => void\n dismiss: (id: number) => void\n}","description":""},{"name":"useDebounce","import":"@m3ui-vue/m3ui-vue","signature":"useDebounce(fn: (...args: any[]) => void, ms: number): {\n debounced: (...args: any[]) => void\n cancel: () => void\n}","description":""},{"name":"usePageProgress","import":"@m3ui-vue/m3ui-vue","signature":"usePageProgress(): {\n progress: Ref<number>\n isActive: Ref<boolean>\n start: () => void\n set: (pct: number) => void\n done: () => void\n}","description":"Shared page-loading progress state (e.g. for a top progress bar between route navigations). Module-level so any number of callers/components stay in sync — call `start()`/`done()` from a router guard, a fetch wrapper, or by hand."},{"name":"useSpring","import":"@m3ui-vue/m3ui-vue","signature":"useSpring(target: () => number[], apply: (values: readonly number[]) => void, spec: SpringSpec = FAST_SPATIAL): {\n snap: () => void\n}","description":""},{"name":"motionSprings","import":"@m3ui-vue/m3ui-vue","signature":"motionSprings: { readonly standard: { readonly fastSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 1400; }; readonly defaultSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 700; }; readonly slowSpatial: { readonly dampingRatio: 0.9; readonly stiffness: 300; }; readonly fastEffects: { readonly dampingRatio: 1; readonly stiffness: 3800; }; readonly defaultEffects: { readonly dampingRatio: 1; readonly stiffness: 1600; }; readonly slowEffects: { readonly dampingRatio: 1; readonly stiffness: 800; }; }; readonly expressive: { readonly fastSpatial: { readonly dampingRatio: 0.6; readonly stiffness: 800; }; readonly defaultSpatial: { readonly dampingRatio: 0.8; readonly stiffness: 380; }; readonly slowSpatial: { readonly dampingRatio: 0.8; readonly stiffness: 200; }; readonly fastEffects: { readonly dampingRatio: 1; readonly stiffness: 3800; }; readonly defaultEffects: { readonly dampingRatio: 1; readonly stiffness: 1600; }; readonly slowEffects: { readonly dampingRatio: 1; readonly stiffness: 800; }; }; }","description":"Spring specs of the two motion schemes. Spatial springs move things (position, size, shape); effects springs change color and opacity and never overshoot. Standard is the default scheme; Expressive is bouncier, for Expressive components and moments that should feel lively."},{"name":"motionEasings","import":"@m3ui-vue/m3ui-vue","signature":"motionEasings: { readonly emphasized: readonly [0.2, 0, 0, 1]; readonly emphasizedDecelerate: readonly [0.05, 0.7, 0.1, 1]; readonly emphasizedAccelerate: readonly [0.3, 0, 0.8, 0.15]; readonly standard: readonly [0.2, 0, 0, 1]; readonly standardDecelerate: readonly [0, 0, 0, 1]; readonly standardAccelerate: readonly [0.3, 0, 1, 1]; readonly legacy: readonly [0.4, 0, 0.2, 1]; readonly legacyDecelerate: readonly [0, 0, 0.2, 1]; readonly legacyAccelerate: readonly [0.4, 0, 1, 1]; readonly linear: readonly [0, 0, 1, 1]; }","description":"Easing curves as cubic-bezier control points [x1, y1, x2, y2] (theme.css has them as `--ease-*`)"},{"name":"motionDurations","import":"@m3ui-vue/m3ui-vue","signature":"motionDurations: { readonly short1: 50; readonly short2: 100; readonly short3: 150; readonly short4: 200; readonly medium1: 250; readonly medium2: 300; readonly medium3: 350; readonly medium4: 400; readonly long1: 450; readonly long2: 500; readonly long3: 550; readonly long4: 600; readonly extraLong1: 700; readonly extraLong2: 800; readonly extraLong3: 900; readonly extraLong4: 1000; }","description":"Durations in ms (theme.css has them as `--duration-short-1` … `--duration-extra-long-4`)"},{"name":"cubicBezier","import":"@m3ui-vue/m3ui-vue","signature":"cubicBezier(x1: number, y1: number, x2: number, y2: number): (t: number) => number","description":"A cubic-bezier easing as a function of progress (0–1), e.g. `cubicBezier(...motionEasings.emphasized)`, for JS-driven tweens and for mapping a fraction through a curve"},{"name":"vRipple","import":"@m3ui-vue/m3ui-vue","signature":"vRipple: Directive<HTMLElement, RippleValue>","description":"The M3 press ripple for any element: `<div v-ripple>`, `v-ripple=\"false\"`, `v-ripple=\"'#e91e63'\"` or `v-ripple=\"{ disabled, color }\"`. A statically positioned element is made `position: relative`. Registered globally as `v-ripple` by `createM3UI()`; import `vRipple` to use it without the plugin."},{"name":"vReveal","import":"@m3ui-vue/m3ui-vue","signature":"vReveal: Directive<HTMLElement, RevealValue>","description":"Reveals the element as it scrolls into view, on M3's springs (see `useScrollReveal` for the options): `v-reveal`, `v-reveal=\"'scale'\"`, `v-reveal=\"{ effect: 'slide-left', delay: 100 }\"`. Items of a `v-for` with the same options cascade in. Off with reduced motion. Registered by `createM3UI()`, or import `vReveal`."},{"name":"vStateLayer","import":"@m3ui-vue/m3ui-vue","signature":"vStateLayer: Directive<HTMLElement, StateLayerValue>","description":"The M3 state layer for any element: a tint in its text color at 8% on hover, 10% on keyboard focus and press, 16% while dragged. `<div v-state-layer>`, `v-state-layer=\"false\"`, `v-state-layer=\"'#e91e63'\"` or `v-state-layer=\"{ disabled, color, dragged }\"`. Pairs with `v-ripple`. A statically positioned element is made `position: relative`. Registered globally as `v-state-layer` by `createM3UI()`; import `vStateLayer` to use it without the plugin."},{"name":"vTooltip","import":"@m3ui-vue/m3ui-vue","signature":"vTooltip: Directive<HTMLElement, TooltipValue>","description":"MTooltip's plain tooltip on any element, without wrapping it: `v-tooltip=\"'Save'\"` or `v-tooltip=\"{ text, placement, delay, disabled }\"`. Shows after a delay on mouse hover, on keyboard focus, and on a long press on touch (swallowing that press's click, hiding 1.5s after the finger lifts); Escape and scrolling hide it. Registered globally as `v-tooltip` by `createM3UI()`; import `vTooltip` to use it without the plugin."},{"name":"vFocusRing","import":"@m3ui-vue/m3ui-vue","signature":"vFocusRing: Directive<HTMLElement, FocusRingValue>","description":"The M3 focus indicator on any element: a 3dp ring in `secondary`, 2dp outside the element, shown on keyboard focus only (`:focus-visible`), never on a click or tap. `<div v-focus-ring tabindex=\"0\">`, `v-focus-ring=\"false\"`, `v-focus-ring=\"'#e91e63'\"` or `v-focus-ring=\"{ disabled, color, inset, within }\"`. It wins over an `outline-none` class on the same element. Registered globally as `v-focus-ring` by `createM3UI()`; import `vFocusRing` to use it without the plugin."},{"name":"vScrollElevation","import":"@m3ui-vue/m3ui-vue","signature":"vScrollElevation: Directive<HTMLElement, ScrollElevationValue>","description":"Marks an element while the content under it has scrolled, as M3's top app bar does on scroll: it takes the scrolled container color (`surface-container`) and gets a `data-scrolled` attribute for your own styles (`data-scrolled:shadow-elevation-2`). Follows the window, or `v-scroll-elevation=\"'#list'\"` / `{ target, threshold, color, onChange, disabled }`. Add `transition-colors` to the element for a fade. Registered globally as `v-scroll-elevation` by `createM3UI()`; import `vScrollElevation` to use it without the plugin."},{"name":"vLongPress","import":"@m3ui-vue/m3ui-vue","signature":"vLongPress: Directive<HTMLElement, LongPressValue>","description":"Calls a handler when the element is pressed and held: `v-long-press=\"onHold\"` or `v-long-press=\"{ handler, duration, tolerance, haptic, mouse, disabled }\"`. Moving past the tolerance (a scroll or a drag) cancels it; once it fires, the click the press ends in and the browser's own long-press menu are swallowed, so a long-pressed button doesn't also click. While held, the element has `data-long-pressing` (`data-long-pressing:scale-95`). Registered globally as `v-long-press` by `createM3UI()`; import `vLongPress` to use it without the plugin."},{"name":"vSwipe","import":"@m3ui-vue/m3ui-vue","signature":"vSwipe: Directive<HTMLElement, SwipeValue>","description":"Calls handlers when an element is swiped: `v-swipe=\"onSwipe\"` (any direction, `info.direction` says which) or `v-swipe=\"{ left, right, up, down, threshold, velocity, onMove, onEnd, mouse, disabled }\"`. A swipe counts past `threshold` px, or at any length when flicked faster than `velocity`. The element's `touch-action` is set from the directions you listen to: only left/right leaves vertical scrolling to the page (`pan-y`), only up/down the horizontal (`pan-x`), both block panning from it (`none`). The click a swipe ends in is swallowed. Registered globally as `v-swipe` by `createM3UI()`; import `vSwipe` to use it without the plugin."},{"name":"vClickOutside","import":"@m3ui-vue/m3ui-vue","signature":"vClickOutside: Directive<HTMLElement, ClickOutsideValue>","description":"Calls a handler when a press lands outside the element: `v-click-outside=\"close\"` or `v-click-outside=\"{ handler, exclude, event, disabled }\"`. `exclude` takes elements or selectors that count as inside (the toggle button, a teleported popup). Only the primary button counts. Starts listening after the event that mounted it, so the click that opened a panel doesn't close it. Registered globally as `v-click-outside` by `createM3UI()`; import `vClickOutside` to use it without the plugin."},{"name":"vSkeleton","import":"@m3ui-vue/m3ui-vue","signature":"vSkeleton: Directive<HTMLElement, SkeletonValue>","description":"Turns an element into its own loading placeholder: `v-skeleton=\"loading\"` or `v-skeleton=\"{ loading, animation }\"`. While loading it keeps its size and corners, hides its content (which still sizes it: placeholder text like `{{ user?.name ?? 'Loading name' }}` gives an empty element a width), takes MSkeleton's tint and animation (`pulse`, `wave` or `none`; still with reduced motion), ignores the pointer and is `aria-busy`. Registered globally as `v-skeleton` by `createM3UI()`; import `vSkeleton` to use it without the plugin."},{"name":"vSparkle","import":"@m3ui-vue/m3ui-vue","signature":"vSparkle: Directive<HTMLElement, SparkleValue>","description":"Sparkles that twinkle over an element, to draw the eye to something new or special: `v-sparkle`, `v-sparkle=\"'hover'\"`, `v-sparkle=\"'#f5b400'\"` or `v-sparkle=\"{ trigger, color, size, rate, shapes, disabled }\"`. They're drawn in a layer over the element (a statically positioned one is made `position: relative`), hidden from assistive technology, and pause while it's off screen or the tab is hidden; none under reduced motion. Registered globally as `v-sparkle` by `createM3UI()`; import `vSparkle` to use it without the plugin."},{"name":"useFloorPlan","import":"@m3ui-vue/m3ui-vue","signature":"useFloorPlan(): FloorPlanContext","description":"The enclosing MFloorPlan's state and actions (inside its slots)"},{"name":"floorDecorName","import":"@m3ui-vue/m3ui-vue","signature":"floorDecorName(kind: string, kinds: Record<string, FloorDecorKind>, locale: M3Locale): string","description":"A decor kind's name: a built-in one in the app's language (unless renamed), else its label or key"},{"name":"emojiCategories","import":"@m3ui-vue/m3ui-vue","signature":"emojiCategories: EmojiCategory[]","description":""},{"name":"allEmojis","import":"@m3ui-vue/m3ui-vue","signature":"allEmojis: string[]","description":""},{"name":"randomEmoji","import":"@m3ui-vue/m3ui-vue","signature":"randomEmoji(from?: string[]): string","description":""},{"name":"withSkinTone","import":"@m3ui-vue/m3ui-vue","signature":"withSkinTone(emoji: string, tone: number): string","description":"`emoji` with skin tone `tone` (0 = none, 1–5 = light to dark), if it takes one."},{"name":"toneableEmojis","import":"@m3ui-vue/m3ui-vue","signature":"toneableEmojis: Set<string>","description":"Emoji that take a skin tone (all five one-tone variants exist)."},{"name":"skinTones","import":"@m3ui-vue/m3ui-vue","signature":"skinTones: readonly [\"🏻\", \"🏼\", \"🏽\", \"🏾\", \"🏿\"]","description":"The five Fitzpatrick modifiers, light to dark."}],"types":[{"name":"MapContext","import":"@m3ui-vue/m3ui-vue/map","source":"/** What `MMap` provides to everything inside it. */\nexport interface MapContext {\n /** The MapLibre map, once created (never on the server) */\n map: ShallowRef<Maplibre.Map | undefined>\n /** The `maplibre-gl` module, loaded with the map (so nothing imports it on the server) */\n maplibre: ShallowRef<MaplibreModule | undefined>\n /** Bumped on every `style.load`: sources and layers added by components are re-added after a style change */\n styleVersion: Ref<number>\n /** The style as `MMap`'s `adapter` reads it (undefined without one) */\n model: ShallowRef<MapLayerModel | undefined>\n /** Visibility and opacity of the model's layers */\n layerState: MapLayerState\n /**\n * The tool that owns the map's clicks right now (`'measure'` while measuring), or null: `MMapIdentify` stays quiet\n * meanwhile. Set it from tools of your own the same way\n */\n activeTool: Ref<string | null>\n}"},{"name":"MapSource","import":"@m3ui-vue/m3ui-vue/map","source":"/**\n * A map to use from outside `<MMap>`: the `MMap` itself (a template ref: `<MMap ref=\"map\">` → `:map=\"map\"`) or its\n * `context`. Null or undefined until it mounts.\n */\nexport type MapSource = { context: MapContext } | MapContext | null | undefined"},{"name":"MaplibreModule","import":"@m3ui-vue/m3ui-vue/map","source":"/** The `maplibre-gl` module (its classes: `Map`, `Marker`, `Popup`…) */\nexport type MaplibreModule = typeof import('maplibre-gl')"},{"name":"MapLayerState","import":"@m3ui-vue/m3ui-vue/map","source":"/** Visibility and opacity of the model's layers, shared by everything inside one `MMap`. */\nexport interface MapLayerState {\n visible: Record<string, boolean>\n opacity: Record<string, number>\n}"},{"name":"MapAdapter","import":"@m3ui-vue/m3ui-vue/map","source":"/** Reads a style's conventions (usually its `metadata`) into the model the map's UI components use. */\nexport type MapAdapter = (style: Maplibre.StyleSpecification, context: MapAdapterContext) => MapLayerModel"},{"name":"MapAdapterContext","import":"@m3ui-vue/m3ui-vue/map","source":"/** What an adapter gets besides the style. */\nexport interface MapAdapterContext {\n /** The style's URL, when `MMap`'s `mapStyle` is one */\n styleUrl?: string\n}"},{"name":"MapFieldFormat","import":"@m3ui-vue/m3ui-vue/map","source":"/** How to show one property of a feature. */\nexport interface MapFieldFormat {\n /** The label (the key, capitalized, by default) */\n label?: string\n /** Text before the value */\n prefix?: string\n /** Text after the value */\n suffix?: string\n /** A number mask: its decimals set the fraction digits (`#.00` → 2) and a comma turns on grouping (`#,###`) */\n mask?: string\n /** Leave it out */\n hidden?: boolean\n}"},{"name":"MapIdentifyResult","import":"@m3ui-vue/m3ui-vue/map","source":"/** What `MMapIdentify` found on one layer at a point. */\nexport interface MapIdentifyResult {\n layer: MapLayerInfo\n feature: Maplibre.MapGeoJSONFeature\n /** Its properties as the layer's `identify` shows them, formatted */\n fields: { key: string; label: string; value: string }[]\n}"},{"name":"MapLayerInfo","import":"@m3ui-vue/m3ui-vue/map","source":"/** One layer of the style, as the map's UI components see it. */\nexport interface MapLayerInfo {\n /** The style layer's id */\n id: string\n /** Its name in the UI */\n title: string\n description?: string\n /** The `name` of its group in `MapLayerModel.groups` */\n group?: string\n /** Shown in `MMapLayers` */\n listed: boolean\n /** A base layer: `MMapBaseLayers` shows one of them at a time, with this thumbnail */\n base?: { image?: string }\n /** Layer ids shown, hidden and faded along with it */\n children: string[]\n /** Listed by `MMapIdentify` on click: every property, formatted by `format`, minus `exclude` */\n identify: false | { format: Record<string, MapFieldFormat>; exclude: string[] }\n /** Shown by `MMapHover` under the pointer: these properties, in order */\n hover: false | { fields: (MapFieldFormat & { key: string })[] }\n /** A legend image URL (an SVG, typically) */\n legend?: string\n /** A download URL for its data */\n download?: string\n}"},{"name":"MapLayerModel","import":"@m3ui-vue/m3ui-vue/map","source":"/** The style as the map's UI components see it: layers with names, groups, base layers, what to identify. */\nexport interface MapLayerModel {\n /** The style's name */\n title?: string\n /** Groups, in order */\n groups: { name: string; title: string }[]\n /** Layers, in the style's order (bottom to top) */\n layers: MapLayerInfo[]\n}"},{"name":"OrvianAdapterOptions","import":"@m3ui-vue/m3ui-vue/map","source":"export interface OrvianAdapterOptions {\n /**\n * A layer's legend image. By default, for a style served by mvt-rs (`…/services/styles/<style>`), its legend service\n * (`…/services/legends/<style>?layer_id=<id>`), unless the layer's `metadata.legend.show` is false;\n * `metadata.legend.wmslegend` overrides it\n */\n legend?: (layer: Maplibre.LayerSpecification, styleUrl?: string) => string | undefined\n}"},{"name":"MapSearchProvider","import":"@m3ui-vue/m3ui-vue/map","source":"/** Finds places for `MMapSearch`: the text in, results out. `signal` aborts a search the user replaced. */\nexport type MapSearchProvider = (query: string, signal: AbortSignal) => Promise<MapSearchResult[]>"},{"name":"MapSearchResult","import":"@m3ui-vue/m3ui-vue/map","source":"/** A place found by a `MapSearchProvider`. */\nexport interface MapSearchResult {\n /** What to show */\n label: string\n /** Where it is */\n lngLat: [number, number]\n /** Its extent, `[west, south, east, north]`: the map fits it instead of zooming to the point */\n bbox?: [number, number, number, number]\n /** Its kind (`city`, `road`, `park`, `restaurant`…), for the icon */\n type?: string\n}"},{"name":"NominatimOptions","import":"@m3ui-vue/m3ui-vue/map","source":"export interface NominatimOptions {\n /** The Nominatim server (`https://nominatim.openstreetmap.org` by default; mind its usage policy, or run your own) */\n url?: string\n /** How many results (6) */\n limit?: number\n /** The results' language (`es`, `en`…); by default the page's (`<html lang>`) */\n language?: string\n /** Only these countries (ISO codes: `['ar']`) */\n countryCodes?: string[]\n /** Prefer (or with `bounded`, only) this area: `[west, south, east, north]` */\n viewbox?: [number, number, number, number]\n bounded?: boolean\n}"},{"name":"MediaPlayer","import":"@m3ui-vue/m3ui-vue/media","source":"export interface MediaPlayer {\n /** The media element being driven, or null (clock, or not mounted yet) */\n media: Readonly<Ref<HTMLMediaElement | null>>\n /** Playing or paused; writing it plays or pauses */\n playing: WritableComputedRef<boolean>\n /** Position in seconds; writing it seeks */\n currentTime: WritableComputedRef<number>\n /** Length in seconds: 0 until known, Infinity for a live stream */\n duration: Readonly<Ref<number>>\n /** Loaded time ranges, `[[start, end], …]` (the clock reports all of it) */\n buffered: Readonly<Ref<[number, number][]>>\n /** Playback speed; writing it changes it */\n rate: WritableComputedRef<number>\n /** Volume, 0 to 1; writing it changes it */\n volume: WritableComputedRef<number>\n /** Muted; writing it mutes or unmutes */\n muted: WritableComputedRef<boolean>\n /** Stalled for data (a spinner's moment). Writable for the clock, to simulate buffering: it stops advancing meanwhile */\n waiting: Ref<boolean>\n /** Reached the end; `play()` or `toggle()` start over */\n ended: Readonly<Ref<boolean>>\n /** A live stream (infinite duration): no seeking */\n live: Readonly<Ref<boolean>>\n /** The media element's error, if loading or decoding failed */\n error: Readonly<Ref<MediaError | null>>\n /** The browser refused to start playing (autoplay with sound before any user gesture) */\n blocked: Readonly<Ref<boolean>>\n /** Whether there is a previous / next item (see the options of the same names) */\n hasPrevious: Readonly<Ref<boolean>>\n hasNext: Readonly<Ref<boolean>>\n play: () => Promise<void>\n pause: () => void\n toggle: () => Promise<void>\n /** Seeks to a time in seconds (clamped to the media) */\n seek: (time: number) => void\n /** Seeks by an offset in seconds, `seekStep` by default (negative goes back) */\n skip: (seconds?: number) => void\n /** Pauses and goes back to the start */\n stop: () => void\n previous: () => void\n next: () => void\n /**\n * Drives this element instead of the `media` option (null: the clock; undefined: back to `media`). What\n * `MVideoPlayer`/`MAudioPlayer` call with their own element when given a `player`: rate, volume and mute carry over\n */\n attach: (el: HTMLMediaElement | null | undefined) => void\n}"},{"name":"MediaPlayerOptions","import":"@m3ui-vue/m3ui-vue/media","source":"export interface MediaPlayerOptions {\n /**\n * The `<audio>` or `<video>` element to drive (a ref or a getter; it may come and go). Without one the player\n * runs its own clock over `duration`: for anything that isn't a media file (a canvas, a shader, generated audio)\n * that should still play, pause, seek and change speed like one.\n */\n media?: MaybeRefOrGetter<HTMLMediaElement | null | undefined>\n /** The length in seconds, for the clock (without `media`) */\n duration?: MaybeRefOrGetter<number | undefined>\n /** Shown on the lock screen and the system's media notification while this player plays (Media Session API) */\n metadata?: MaybeRefOrGetter<MediaPlayerMetadata | null | undefined>\n /** The previous button (and the lock screen's); without it there is none */\n onPrevious?: () => void\n /** The next button (and the lock screen's); without it there is none */\n onNext?: () => void\n /** Whether there is a previous item right now (the first of a playlist has none). Default: `onPrevious` was given */\n hasPrevious?: MaybeRefOrGetter<boolean>\n /** Whether there is a next item right now. Default: `onNext` was given */\n hasNext?: MaybeRefOrGetter<boolean>\n /** Seconds `skip()` and the lock screen's seek buttons move by default. Default 10 */\n seekStep?: number\n /** The clock starts over at the end instead of stopping (with `media`, set the element's `loop`) */\n loop?: MaybeRefOrGetter<boolean | undefined>\n}"},{"name":"MediaPlayerMetadata","import":"@m3ui-vue/m3ui-vue/media","source":"/** What the lock screen and the system's media notification show (the Media Session API's metadata) */\nexport interface MediaPlayerMetadata {\n title?: string\n artist?: string\n album?: string\n /** Cover images, largest last is fine: `[{ src, sizes: '512x512', type: 'image/png' }]` or plain URLs */\n artwork?: (string | { src: string; sizes?: string; type?: string })[]\n}"},{"name":"PdfDocument","import":"@m3ui-vue/m3ui-vue/pdf","source":"export type PdfDocument = Pdfjs.PDFDocumentProxy"},{"name":"PdfMetadata","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfMetadata {\n title?: string\n author?: string\n subject?: string\n creator?: string\n producer?: string\n creationDate?: Date\n modificationDate?: Date\n}"},{"name":"PdfOptions","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfOptions {\n /** A password to try first (the `needsPassword` flow handles the rest) */\n password?: MaybeRefOrGetter<string | undefined>\n /** Send cookies with a cross-origin URL */\n withCredentials?: boolean\n /**\n * The pdf.js worker's URL (with Vite: `import workerSrc from 'pdfjs-dist/build/pdf.worker.min.mjs?url'`), or\n * set it once for the app with `setPdfWorker()`. Without one, pdf.js runs on the main thread: it works, but\n * parsing a big file blocks the page meanwhile\n */\n workerSrc?: string\n}"},{"name":"PdfOutlineItem","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfOutlineItem {\n title: string\n /** 1-based page it points to (undefined for an external link or a destination that can't be resolved) */\n page?: number\n /** Where on that page, in PDF points from the bottom, when the destination says */\n top?: number\n /** An external link */\n url?: string\n children: PdfOutlineItem[]\n}"},{"name":"PdfPage","import":"@m3ui-vue/m3ui-vue/pdf","source":"export type PdfPage = Pdfjs.PDFPageProxy"},{"name":"PdfPageText","import":"@m3ui-vue/m3ui-vue/pdf","source":"/** A page's text as `usePdf` indexes it: its text items joined, and where each item starts */\nexport interface PdfPageText {\n text: string\n /** Start offset of each text item (the text layer's spans, in order) */\n starts: number[]\n}"},{"name":"PdfSearchMatch","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfSearchMatch {\n /** 1-based page */\n page: number\n /** Index of the match on its page */\n index: number\n /** Character offsets in the page's text (see `pageText`) */\n start: number\n end: number\n /** The text around it, for a results list */\n context: string\n}"},{"name":"PdfSource","import":"@m3ui-vue/m3ui-vue/pdf","source":"/** What `usePdf` loads: a URL, the file's bytes, or a `File`/`Blob` (an upload) */\nexport type PdfSource = string | URL | Uint8Array | ArrayBuffer | Blob"},{"name":"PdfState","import":"@m3ui-vue/m3ui-vue/pdf","source":"export interface PdfState {\n /** The pdf.js document, once loaded */\n doc: ShallowRef<PdfDocument | null>\n /** The `pdfjs-dist` module, loaded with the first document */\n pdfjs: ShallowRef<PdfjsModule | null>\n loading: Readonly<Ref<boolean>>\n /** Download progress, 0 to 1 (0 while the size is unknown) */\n progress: Readonly<Ref<number>>\n error: Readonly<Ref<Error | null>>\n /** The file is encrypted: call `submitPassword()` */\n needsPassword: Readonly<Ref<boolean>>\n /** The last password was wrong */\n wrongPassword: Readonly<Ref<boolean>>\n submitPassword: (password: string) => void\n numPages: Readonly<Ref<number>>\n /**\n * Each page's size in PDF points at zoom 1, with its own rotation (index 0 = page 1). Every page starts as the\n * first one's size and gets its own as the pages are read, in the background\n */\n pageSizes: Readonly<Ref<{ width: number; height: number }[]>>\n outline: Readonly<Ref<PdfOutlineItem[]>>\n metadata: Readonly<Ref<PdfMetadata>>\n getPage: (page: number) => Promise<PdfPage>\n /** A page's text (cached) */\n pageText: (page: number) => Promise<PdfPageText>\n /** Finds text in every page (case and accent insensitive unless `caseSensitive`) */\n search: (query: string, options?: { caseSensitive?: boolean; signal?: AbortSignal }) => Promise<PdfSearchMatch[]>\n /** A picture of a page `width` CSS pixels wide, as an object URL (cached; revoked when the document changes) */\n thumbnail: (page: number, width?: number) => Promise<string>\n /** Resolves a link destination (a name or an explicit array) to a page and a position */\n resolveDest: (dest: unknown) => Promise<{ page: number; top?: number } | null>\n /** The file's bytes */\n getData: () => Promise<Uint8Array>\n /** Saves the file */\n download: (fileName?: string) => Promise<void>\n /** Opens the browser's print dialog for the file */\n print: () => Promise<void>\n}"},{"name":"PdfjsModule","import":"@m3ui-vue/m3ui-vue/pdf","source":"/** The `pdfjs-dist` module */\nexport type PdfjsModule = typeof import('pdfjs-dist')"},{"name":"FlowCircleData","import":"@m3ui-vue/m3ui-vue/flow","source":"/** What a `circle` node shows */\nexport interface FlowCircleData {\n label?: string\n /** Its fill: a container role (default a neutral surface) */\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'neutral' | 'inverse'\n /** A small count or tag on its top right (a level, an excess) */\n badge?: string | number\n /** A soft halo around it, in a role's color */\n ring?: 'primary' | 'secondary' | 'tertiary' | 'error'\n /** Diameter in px (default 56) */\n size?: number\n}"},{"name":"FlowConnection","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A connection being made or checked */\nexport interface FlowConnection {\n source: string\n sourceHandle: string | null\n target: string\n targetHandle: string | null\n}"},{"name":"FlowContext","import":"@m3ui-vue/m3ui-vue/flow","source":"/** What MFlow provides to everything inside it, and `useFlow()` returns */\nexport interface FlowContext {\n nodes: ComputedRef<FlowNode[]>\n edges: ComputedRef<FlowEdge[]>\n viewport: Readonly<Ref<FlowViewport>>\n selection: ComputedRef<FlowSelection>\n minZoom: ComputedRef<number>\n maxZoom: ComputedRef<number>\n /** Canvas size in px */\n size: Readonly<Ref<{ width: number; height: number }>>\n /** Interaction switched off by the lock button (or MFlow's `locked`) */\n locked: Ref<boolean>\n getNode(id: string): FlowNode | undefined\n /** A node's top left corner in flow coordinates, its parents added, where it's drawn right now */\n getAbsolutePosition(id: string): FlowXY\n /** A node's measured (or set) size */\n getSize(id: string): { width: number; height: number }\n /** Nodes overlapping this one (or a rectangle in flow coordinates), groups and its own family left out */\n getIntersectingNodes(node: string | { x: number; y: number; width: number; height: number }): FlowNode[]\n /**\n * The edge passing within `radius` (flow units, default 8) of a flow point, nearest first, skipping the ones\n * `ignore` returns true for: where on it the point falls (on the grid along it with snapToGrid), the way it runs\n * there toward its target, and for an edge with its own route, the routes that keep each half's shape if it's split\n * there (as the `branch` event gives). For dropping something onto an edge, e.g. a junction\n */\n getEdgeAt(p: FlowXY, opts?: { radius?: number; ignore?: (e: FlowEdge) => boolean }): FlowEdgeHit | null\n /** 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 */\n getEdgePath(id: string): string | null\n /** Page (client) coordinates → flow coordinates */\n screenToFlow(p: { x: number; y: number }): FlowXY\n flowToScreen(p: FlowXY): { x: number; y: number }\n setViewport(v: Partial<FlowViewport>, opts?: { animate?: boolean }): void\n fitView(opts?: FlowFitOptions): void\n /** Centers the view on a flow point, at `zoom` or the current zoom */\n setCenter(x: number, y: number, opts?: { zoom?: number; animate?: boolean }): void\n zoomIn(): void\n zoomOut(): void\n zoomTo(zoom: number, opts?: { animate?: boolean }): void\n addNodes(nodes: FlowNode | FlowNode[]): void\n addEdges(edges: FlowEdge | FlowEdge[]): void\n /** Several changes as one undoable step (nodes and edges added, changed or removed together): each list given replaces the current one */\n change(next: { nodes?: FlowNode[]; edges?: FlowEdge[] }): void\n updateNode(id: string, patch: Partial<FlowNode> | ((n: FlowNode) => FlowNode)): void\n updateEdge(id: string, patch: Partial<FlowEdge> | ((e: FlowEdge) => FlowEdge)): void\n /** Deletes nodes (with their edges and children) and edges by id */\n remove(ids: { nodes?: string[]; edges?: string[] }): void\n setSelection(sel: Partial<FlowSelection>): void\n /** Runs a layout over the nodes' measured sizes; default MFlow's `layout` (or the tree layout). Animated and undoable */\n layout(fn?: 'tree' | 'layered' | FlowLayout, options?: FlowLayoutOptions): Promise<void>\n undo(): void\n redo(): void\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n copy(): void\n cut(): void\n /** Pastes what was copied, at a flow point (default a step from the originals) */\n paste(at?: FlowXY): void\n /** Copies of the selection (with the edges between them) a step away, selected; the clipboard stays as it was */\n duplicate(): void\n /**\n * Drags a node with a pointer that's already down, e.g. one just added from a palette outside the canvas: it\n * follows the pointer from there (guides, splicing into an edge) until it's let go. With a finger, the page\n * doesn't scroll under it meanwhile (start the drag from a long press, so a swipe still scrolls your palette)\n */\n startDrag(id: string, e: PointerEvent): void\n}"},{"name":"FlowEdge","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowEdge<D = any> {\n id: string\n source: string\n target: string\n /** The handle's `id` when its node has several */\n sourceHandle?: string | null\n targetHandle?: string | null\n /** `bezier` (default), `smoothstep`, `step`, `straight`, or a `#edge-<type>` slot */\n type?: string\n /**\n * For a `#edge-<type>` slot: how it's routed, which is the `path` the slot gets and where the edge is hit\n * (default `bezier`)\n */\n pathType?: 'bezier' | 'smoothstep' | 'step' | 'straight'\n label?: string\n /** The label chip's color (default a neutral chip) */\n labelTone?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'neutral'\n /** Dashes that flow from source to target (`'reverse'`: from target to source) */\n animated?: boolean | 'reverse'\n /** The line's (and arrowhead's) color: an M3 role (`primary`, `tertiary`, `error`, `outline`…) or any CSS color. Changes animate */\n color?: string\n /** The line's width in px (default 2). Changes animate */\n width?: number\n /** A dashed line, standing still */\n dashed?: boolean\n /** Default `arrow-closed` */\n markerEnd?: FlowMarker\n markerStart?: FlowMarker\n data?: D\n hidden?: boolean\n selectable?: boolean\n deletable?: boolean\n /** Its ends can be dragged to other handles once selected; default MFlow's `edgesReconnectable` */\n reconnectable?: boolean\n /**\n * A `smoothstep`/`step` edge's own route: where its segments after the first run, alternately x and y (see\n * `routePoints`). Dragging a selected edge's segments writes it (MFlow's `edgesReroutable`); without one it's\n * routed automatically\n */\n route?: number[]\n /** Its segments can be dragged once selected; default MFlow's `edgesReroutable` */\n reroutable?: boolean\n /** The side it leaves an `'auto'` handle by (default the side facing its other end) */\n sourcePosition?: FlowPosition\n /** The side it arrives at an `'auto'` handle by (default the side facing its other end) */\n targetPosition?: FlowPosition\n class?: string\n}"},{"name":"FlowEdgeHit","import":"@m3ui-vue/m3ui-vue/flow","source":"/** An edge found under a point (`getEdgeAt`) */\nexport interface FlowEdgeHit {\n edge: FlowEdge\n position: FlowXY\n direction: FlowPosition\n routes?: { before: number[]; after: number[] }\n}"},{"name":"FlowFitOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowFitOptions {\n /** Room around the nodes, a fraction of the view (default 0.1) */\n padding?: number\n /** Only these nodes */\n nodes?: string[]\n maxZoom?: number\n minZoom?: number\n /** Default true */\n animate?: boolean\n}"},{"name":"FlowHandleBounds","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A handle as measured: its center relative to its node's corner, in flow units */\nexport interface FlowHandleBounds {\n id: string | null\n type: 'source' | 'target'\n /** 'auto': each edge leaves or arrives on the side that faces its other end */\n position: FlowPosition | 'auto'\n x: number\n y: number\n connectable: boolean\n}"},{"name":"FlowMarker","import":"@m3ui-vue/m3ui-vue/flow","source":"export type FlowMarker = 'arrow' | 'arrow-closed' | 'none'"},{"name":"FlowNode","import":"@m3ui-vue/m3ui-vue/flow","source":"/**\n * A node. Treat nodes as immutable: MFlow emits new arrays with new objects for whatever changed (`v-model:nodes`),\n * and the history (undo) keeps the old ones.\n */\nexport interface FlowNode<D = any> {\n id: string\n /**\n * How it's drawn: `default` (an MFlowNode with a handle each side), `input` (only a source), `output` (only a\n * target), `circle` (a round vertex, see `FlowCircleData`), `group` (a container for nodes whose `parentId` is this\n * one), or any name you give a `#node-<type>` slot\n */\n type?: string\n /** Its top left corner, in flow coordinates (relative to the parent's corner when it has a `parentId`) */\n position: FlowXY\n /** Anything; the default node shows `label`, `subtitle` and `icon` */\n data?: D\n /** A fixed size; otherwise it's measured. A `group` without one wraps its children */\n width?: number\n height?: number\n /** The group this node sits in: it moves with it */\n parentId?: string\n /** `'parent'` keeps it inside its group */\n extent?: 'parent'\n /** Where the default node's handles go; default from MFlow's `direction` */\n sourcePosition?: FlowPosition\n targetPosition?: FlowPosition\n hidden?: boolean\n draggable?: boolean\n selectable?: boolean\n connectable?: boolean\n deletable?: boolean\n /** `false` keeps it from splicing into an edge when dropped onto one */\n insertable?: boolean\n /**\n * With snapToGrid, what lands on the grid is its position plus this (default its corner): `{ x: w / 2, y: h / 2 }`\n * puts its middle on the grid, e.g. a junction dot whose wires run along the grid lines\n */\n gridOffset?: FlowXY\n class?: string\n}"},{"name":"FlowSelection","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowSelection { nodes: string[]; edges: string[] }"},{"name":"FlowViewport","import":"@m3ui-vue/m3ui-vue/flow","source":"/** The view: `x`/`y` in px, where the flow's origin is on the canvas, and the zoom */\nexport interface FlowViewport { x: number; y: number; zoom: number }"},{"name":"FlowXY","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A point in flow coordinates */\nexport interface FlowXY { x: number; y: number }"},{"name":"FlowEdgePath","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowEdgePath {\n /** The SVG path (`d`) */\n path: string\n /** Where the label goes: the path's middle */\n labelX: number\n labelY: number\n /** The direction the path leaves the source in, in radians (0 = right, π/2 = down) */\n sourceAngle: number\n /** The direction the path arrives at the target in, in radians: the way an arrowhead points */\n targetAngle: number\n}"},{"name":"FlowEdgePathParams","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowEdgePathParams {\n sourceX: number\n sourceY: number\n /** Default 'bottom' */\n sourcePosition?: FlowPosition\n targetX: number\n targetY: number\n /** Default 'top' */\n targetPosition?: FlowPosition\n}"},{"name":"FlowPosition","import":"@m3ui-vue/m3ui-vue/flow","source":"// Edge paths for MFlow, also exported for edges of your own (`#edge-<type>` slots). Every function takes the two\n// ends in flow coordinates plus the side of its node each end leaves from, and returns an SVG path, the point\n// where a label sits and the direction the path arrives in (for an arrowhead).\n\n/** A side of a node: where a handle sits and the direction an edge leaves it in */\nexport type FlowPosition = 'top' | 'right' | 'bottom' | 'left'"},{"name":"FlowStepCenter","import":"@m3ui-vue/m3ui-vue/flow","source":"/** The corners of an orthogonal route between the ends, leaving and arriving square to the sides */\n/**\n * Where a step edge from `sourcePosition` to `targetPosition` turns. `centerX` / `centerY` move its middle run (the\n * one halfway between the ends) off the halfway point, e.g. to keep it off another edge's\n */\nexport interface FlowStepCenter {\n centerX?: number\n centerY?: number\n}"},{"name":"FlowLayout","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A layout: MFlow's `layout` prop and `layout()` take one */\nexport type FlowLayout = (\n nodes: FlowNode[],\n edges: FlowEdge[],\n options: FlowLayoutOptions & { sizes: Map<string, { width: number; height: number }>; direction: FlowLayoutDirection },\n) => FlowLayoutResult | Promise<FlowLayoutResult>"},{"name":"FlowLayoutDirection","import":"@m3ui-vue/m3ui-vue/flow","source":"export type FlowLayoutDirection = 'TB' | 'BT' | 'LR' | 'RL'"},{"name":"FlowLayoutOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowLayoutOptions {\n /** TB (top to bottom, the default for a vertical MFlow), BT, LR (default for a horizontal one) or RL */\n direction?: FlowLayoutDirection\n /** Space between neighbors in a level, px (default 40) */\n gap?: number\n /** Space between levels, px (default 80) */\n levelGap?: number\n /** Node sizes; MFlow passes the measured ones */\n sizes?: Map<string, { width: number; height: number }> | Record<string, { width: number; height: number }>\n /** Size of a node missing from `sizes` (default 180 × 60) */\n defaultSize?: { width: number; height: number }\n}"},{"name":"FlowLayoutResult","import":"@m3ui-vue/m3ui-vue/flow","source":"/** Top left corners by node id */\nexport type FlowLayoutResult = Record<string, FlowXY>"},{"name":"FlowPanelPosition","import":"@m3ui-vue/m3ui-vue/flow","source":"// Where MFlowControls / MFlowMinimap (or a panel of yours) sit over MFlow's canvas\nexport type FlowPanelPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'center-left' | 'center-right'"},{"name":"FlowGraph","import":"@m3ui-vue/m3ui-vue/flow","source":"/** A graph read from text */\nexport interface FlowGraph {\n nodes: FlowNode[]\n edges: FlowEdge[]\n /** The graph's own direction (DOT `rankdir`, Mermaid `flowchart LR`) */\n rankdir: FlowLayoutDirection\n /** The same, as MFlow's `direction` prop */\n direction: 'horizontal' | 'vertical'\n /** False for a DOT `graph` (edges without arrows) */\n directed: boolean\n /** The DOT graph's name */\n name?: string\n /** The DOT graph's `label` */\n label?: string\n /** Every graph-level DOT attribute, as written */\n attrs: Record<string, string>\n}"},{"name":"FlowImportOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowImportOptions {\n /** How to place the nodes: `'layered'` (default), `'tree'`, or `false` to leave them at 0,0 (for MFlow's `layout` prop, which measures them first) */\n layout?: 'layered' | 'tree' | false\n /** Gaps, sizes and direction for the layout (the direction defaults to the graph's own) */\n layoutOptions?: FlowLayoutOptions\n /** The type given to plain nodes (default none: MFlow's default node) */\n nodeType?: string\n /** The type given to every edge (e.g. `'smoothstep'`; default none: a bezier) */\n edgeType?: string\n}"},{"name":"FlowExportOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowExportOptions {\n /** The direction written (`rankdir` / `flowchart XX`): a layout direction or MFlow's `direction` (default TB) */\n direction?: FlowLayoutDirection | 'horizontal' | 'vertical'\n /** Node sizes, for `positions` (default each node's `width`/`height`, else 180 × 60) */\n sizes?: Map<string, { width: number; height: number }> | Record<string, { width: number; height: number }>\n}"},{"name":"FlowDotExportOptions","import":"@m3ui-vue/m3ui-vue/flow","source":"export interface FlowDotExportOptions extends FlowExportOptions {\n /** The graph's name */\n name?: string\n /** `digraph` (default) or `graph`, whose edges have no direction */\n directed?: boolean\n /** Writes each node's place as `pos` (in points, y up), for `neato -n` */\n positions?: boolean\n}"},{"name":"GanttColumn","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A column of MGantt's task list */\nexport interface GanttColumn {\n /** `name`, `start`, `end`, `duration` and `progress` are built in; anything else reads `task.data[key]` (or the slot `#cell-<key>`) */\n key: string\n label?: string\n /** px; the `name` column takes what's left when it has none */\n width?: number\n align?: 'start' | 'center' | 'end'\n /** Text for a cell */\n format?: (task: GanttTask) => string\n}"},{"name":"GanttContext","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** What MGantt provides to everything inside it (MGanttControls, panels of yours), and its template ref exposes */\nexport interface GanttContext {\n /** The tasks as drawn: summaries rolled up from their children */\n tasks: ComputedRef<GanttTask[]>\n selection: ComputedRef<string[]>\n /** The closest named scale to the zoom */\n scale: ComputedRef<GanttScale>\n /** The zoom, in px per day */\n pxPerDay: Readonly<Ref<number>>\n readonly: ComputedRef<boolean>\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n /** Every task id whose children are hidden */\n collapsed: ComputedRef<string[]>\n undo(): void\n redo(): void\n zoomIn(): void\n zoomOut(): void\n setScale(scale: GanttScale): void\n /** Scrolls so a date (default now) sits at the view's `align` (default center) */\n scrollToDate(date?: string, opts?: { align?: 'start' | 'center'; animate?: boolean }): void\n /** Scrolls a task into view, its row and its bar */\n scrollToTask(id: string): void\n toggle(id: string, expanded?: boolean): void\n expandAll(): void\n collapseAll(): void\n setSelection(ids: string[]): void\n /** Adds tasks (after `after`, or at the end); undoable */\n addTasks(tasks: GanttTask | GanttTask[], opts?: { after?: string }): void\n updateTask(id: string, patch: Partial<GanttTask> | ((t: GanttTask) => GanttTask)): void\n /** Deletes tasks with their children and the dependencies on them */\n removeTasks(ids: string[]): void\n /** Makes `to` depend on `from` */\n link(from: string, to: string, type?: GanttDependency['type'], lag?: number): void\n unlink(from: string, to: string): void\n /** Runs `scheduleTasks` over the tasks with MGantt's calendar; undoable */\n schedule(options?: GanttScheduleOptions): void\n criticalPath: ComputedRef<GanttCriticalPath>\n /** The date (snapped) under a page x */\n dateAt(clientX: number): string\n}"},{"name":"GanttScale","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** MGantt's named zoom levels */\nexport type GanttScale = TimeUnit"},{"name":"GanttTask","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A task. MGantt emits new arrays with new objects for whatever changed (`v-model:tasks`) */\nexport interface GanttTask<D = any> {\n id: string\n name: string\n /** `YYYY-MM-DD` (whole days) or a datetime (`YYYY-MM-DDTHH:mm`, local, or ISO with a zone) */\n start: string\n /** A date is the last day (inclusive); a datetime is when it ends. A milestone needs none */\n end?: string\n /** 0 to 100 */\n progress?: number\n /** `summary` is implied for a task with children (its dates and progress roll up from them) */\n type?: 'task' | 'milestone' | 'summary'\n /** The summary task it belongs to */\n parentId?: string\n /** Its predecessors: ids (finish-to-start) or `GanttDependency` */\n dependencies?: (string | GanttDependency)[]\n /** An M3 role (default `primary`; `summary` defaults to `neutral`) */\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'neutral'\n /** The plan it's compared with (MGantt's `baselines`) */\n baselineStart?: string\n baselineEnd?: string\n /** `false` keeps it from being moved, resized, linked, deleted or selected */\n draggable?: boolean\n resizable?: boolean\n linkable?: boolean\n deletable?: boolean\n selectable?: boolean\n class?: string\n data?: D\n}"},{"name":"GanttDependency","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A predecessor of a task: finish-to-start (default), start-to-start, finish-to-finish or start-to-finish */\nexport interface GanttDependency {\n /** The predecessor's id */\n id: string\n type?: 'FS' | 'SS' | 'FF' | 'SF'\n /** Days between them (negative overlaps them); working days with a calendar */\n lag?: number\n}"},{"name":"GanttCalendar","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** Which days are worked: weekdays (0 Sunday … 6 Saturday, default Monday to Friday) and holidays (`YYYY-MM-DD`) */\nexport interface GanttCalendar {\n workingDays?: number[]\n holidays?: string[]\n}"},{"name":"GanttScheduleOptions","import":"@m3ui-vue/m3ui-vue/gantt","source":"export interface GanttScheduleOptions {\n /** `'push'` (default) moves tasks only as late as their dependencies need; `'asap'` also pulls them back to the earliest they can start */\n mode?: 'push' | 'asap'\n /** Count durations and lags in working days (date-only tasks), starting on working days */\n calendar?: GanttCalendar\n}"},{"name":"GanttCriticalPath","import":"@m3ui-vue/m3ui-vue/gantt","source":"export interface GanttCriticalPath {\n /** Tasks with no slack (and summaries holding one) */\n tasks: string[]\n /** Dependencies on the path, as `'<predecessor>><successor>'` */\n dependencies: string[]\n /** Each task's total slack in days: how late it can finish without delaying the end */\n slack: Record<string, number>\n /** When the last task ends */\n finish: string\n}"},{"name":"GanttCsvOptions","import":"@m3ui-vue/m3ui-vue/gantt","source":"// ── CSV ───────────────────────────────────────────────────────────────────────────────────────────────────\n\nexport interface GanttCsvOptions {\n /** Field separator (default `,`; reading, `;` and tabs are detected) */\n separator?: string\n}"},{"name":"GanttXmlOptions","import":"@m3ui-vue/m3ui-vue/gantt","source":"export interface GanttXmlOptions {\n /** The project's name */\n name?: string\n /** Working hours a date-only task's days run, for Project's datetimes (default 8 to 17) */\n dayStart?: number\n dayEnd?: number\n}"},{"name":"TimelineEvent","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A booking on a resource's row: a shift, a reservation, a job */\nexport interface TimelineEvent<D = any> {\n id: string\n /** The resource (row) it's on */\n resourceId: string\n /** A datetime (`YYYY-MM-DDTHH:mm`, local, or ISO with a zone), or `YYYY-MM-DD` for whole days */\n start: string\n /** A datetime is when it ends; a date is the last day (inclusive) */\n end: string\n title: string\n subtitle?: string\n /** An M3 role (default the resource's, else `primary`) */\n color?: 'primary' | 'secondary' | 'tertiary' | 'error' | 'success' | 'neutral'\n /** `false` keeps it from being moved (in time or to another resource), resized, deleted or selected */\n draggable?: boolean\n resizable?: boolean\n deletable?: boolean\n selectable?: boolean\n class?: string\n data?: D\n}"},{"name":"TimelineResource","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** A row: a person, a table, a room, a machine */\nexport interface TimelineResource<D = any> {\n id: string\n name: string\n subtitle?: string\n /** Rows with the same group sit under a header that folds */\n group?: string\n /** A picture; else `icon`, else initials */\n avatar?: string\n icon?: string\n color?: TimelineEvent['color']\n /** Bookings it can hold at once before they conflict (default 1) */\n capacity?: number\n data?: D\n}"},{"name":"ResourceTimelineContext","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** What MResourceTimeline provides to components in its default slot, and its template ref exposes */\nexport interface ResourceTimelineContext {\n events: ComputedRef<TimelineEvent[]>\n selection: ComputedRef<string[]>\n /** Ids of events that overlap more than their resource's capacity */\n conflicts: ComputedRef<Set<string>>\n scale: ComputedRef<GanttScale>\n pxPerDay: Readonly<Ref<number>>\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n undo(): void\n redo(): void\n zoomIn(): void\n zoomOut(): void\n setScale(scale: GanttScale): void\n scrollToDate(date?: string, opts?: { align?: 'start' | 'center'; animate?: boolean }): void\n scrollToEvent(id: string): void\n setSelection(ids: string[]): void\n addEvents(events: TimelineEvent | TimelineEvent[]): void\n updateEvent(id: string, patch: Partial<TimelineEvent> | ((e: TimelineEvent) => TimelineEvent)): void\n removeEvents(ids: string[]): void\n /** The time (snapped, as a datetime) under a page x */\n dateAt(clientX: number): string\n /** The resource whose row is under a page y */\n resourceAt(clientY: number): TimelineResource | undefined\n}"},{"name":"TimelineControls","import":"@m3ui-vue/m3ui-vue/gantt","source":"/** What MGanttControls drives, in an MGantt or an MResourceTimeline */\nexport interface TimelineControls {\n scale: ComputedRef<GanttScale>\n readonly: ComputedRef<boolean>\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n /** Whether anything can fold (summaries, resource groups) and whether something is folded */\n foldable: ComputedRef<boolean>\n folded: ComputedRef<boolean>\n undo(): void\n redo(): void\n zoomIn(): void\n zoomOut(): void\n setScale(scale: GanttScale): void\n scrollToDate(date?: string): void\n expandAll(): void\n collapseAll(): void\n}"},{"name":"DrawTool","import":"@m3ui-vue/m3ui-vue/draw","source":"/** What a pointer does on an MDrawCanvas */\nexport type DrawTool = DrawPen | 'eraser' | 'stroke-eraser' | DrawShapeKind | 'text' | 'select' | 'pan'"},{"name":"DrawContext","import":"@m3ui-vue/m3ui-vue/draw","source":"/** What an MDrawCanvas shares with MDrawToolbar, MDrawLayers and anything built with useDrawing() inside it */\nexport interface DrawContext {\n tool: Ref<DrawTool>\n color: Ref<string>\n size: Ref<number>\n /** New rects and ellipses are filled with the color */\n fill: Ref<boolean>\n items: ComputedRef<DrawItem[]>\n selection: Ref<string[]>\n layers: ComputedRef<DrawLayer[]>\n setLayers(layers: DrawLayer[]): void\n /** The layer new items go on */\n layer: Ref<string | undefined>\n mode: ComputedRef<'infinite' | 'pages'>\n pages: Ref<number>\n addPage(): void\n zoom: ComputedRef<number>\n zoomIn(): void\n zoomOut(): void\n fitView(): void\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n undo(): void\n redo(): void\n clear(): void\n deleteSelection(): void\n exportSvg(opts?: DrawExportOptions): string\n exportPng(opts?: DrawExportOptions): Promise<Blob>\n}"},{"name":"DrawExportOptions","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawExportOptions {\n /** In `mode=\"pages\"`: the page to export (default 0) */\n page?: number\n /** PNG: pixels per drawing unit (default 2) */\n scale?: number\n /** Paint the paper color behind the drawing (default true) */\n background?: boolean\n}"},{"name":"DrawItem","import":"@m3ui-vue/m3ui-vue/draw","source":"export type DrawItem = DrawStroke | DrawShape | DrawText"},{"name":"DrawStroke","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawStroke extends DrawItemBase {\n type: 'stroke'\n pen: DrawPen\n /** Width at full pressure, in drawing units */\n size: number\n points: DrawPoint[]\n}"},{"name":"DrawShape","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawShape extends DrawItemBase {\n type: 'shape'\n shape: DrawShapeKind\n from: [number, number]\n to: [number, number]\n size: number\n /** Fill of a rect or an ellipse (`null`/absent: none) */\n fill?: string | null\n}"},{"name":"DrawText","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawText extends DrawItemBase {\n type: 'text'\n /** Top-left corner */\n at: [number, number]\n text: string\n /** Font size */\n size: number\n}"},{"name":"DrawLayer","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawLayer {\n id: string\n name: string\n visible?: boolean\n locked?: boolean\n}"},{"name":"DrawPoint","import":"@m3ui-vue/m3ui-vue/draw","source":"// The Drawing family's data and geometry: strokes with pressure turned into filled outlines, shapes, text, hit tests,\n// the stroke-cutting eraser, moving and scaling, and SVG export. Pure functions, no Vue, so they work on the server\n// and in tests, and an app can render or process a drawing without the canvas.\n\n/** A point of a stroke: x, y, and the pressure (0–1) */\nexport type DrawPoint = [x: number, y: number, pressure: number]"},{"name":"DrawPen","import":"@m3ui-vue/m3ui-vue/draw","source":"export type DrawPen = 'pen' | 'brush' | 'marker' | 'highlighter'"},{"name":"DrawShapeKind","import":"@m3ui-vue/m3ui-vue/draw","source":"export type DrawShapeKind = 'line' | 'arrow' | 'rect' | 'ellipse'"},{"name":"DrawBox","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawBox { x: number; y: number; width: number; height: number }"},{"name":"DrawSvgOptions","import":"@m3ui-vue/m3ui-vue/draw","source":"export interface DrawSvgOptions {\n /** The area to export (default: the items' bounds plus `padding`) */\n box?: DrawBox\n padding?: number\n /** A background fill (default: none, transparent) */\n background?: string\n /** Only the items of this page */\n page?: number\n /** Leave out these layers (hidden ones, say) */\n hiddenLayers?: string[]\n /** The layers' order, bottom first (items of other layers go first) */\n layers?: string[]\n fontFamily?: string\n}"},{"name":"M3UIOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface M3UIOptions {\n palette?: PaletteId | (string & {})\n /**\n * Set to `false` to make `palette` a hard default that always wins on boot, ignoring\n * whatever is already stored in localStorage, and to stop future `useColorPalette().set()`\n * calls from persisting either. Palette switching still works live within the session\n * (`set()` still applies immediately) — only the \"remember it for next time\" part is disabled.\n * Defaults to `true`, matching prior behavior (`palette` only seeds the very first visit,\n * and any later choice persists and wins over it).\n */\n persistPalette?: boolean\n /**\n * Palettes of your own, added to `useColorPalette().palettes` so palette pickers built from\n * that list show them. An entry whose `id` matches a built-in palette replaces it. Each one\n * still needs its CSS: `[data-palette='<id>'] { --color-primary: ...; }` plus a\n * `[data-palette='<id>'].dark { ... }` block, overriding the same tokens as `palettes.css`.\n */\n customPalettes?: Palette[]\n /**\n * Generate the whole color scheme (light and dark) from one color instead of using a named palette: Google's\n * dynamic color, the way Android builds a theme from a wallpaper. `palette` wins when both are given, and like\n * `palette` it's only the first-visit default unless `persistPalette` is `false`.\n */\n seed?: string\n /** How `seed` becomes a scheme: `variant` (`'tonal-spot'` by default) and `contrast` (0 standard, 0.5 medium, 1 high). */\n seedOptions?: SeedOptions\n /**\n * M3's contrast level: `'standard'`, `'medium'`, `'high'`, or `'system'` (follows the OS's `prefers-contrast`).\n * Like `palette`, only the first-visit default unless `persistPalette` is `false`. Built-in palettes need\n * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.\n */\n contrast?: ContrastLevel\n locale?: MaybeRef<Partial<M3Locale>>\n /**\n * Keep `<meta name=\"theme-color\">` (the color phones give the browser bar and status bar) in sync with a color\n * role of the active palette, following palette, seed and dark mode changes. `'surface'` matches a top app\n * bar, as Material apps on Android do; any role name works (`'primary'`, `'surface-container'`…). Off by default:\n * when set, the library owns that meta (it's created if missing, and a light/dark `media` pair becomes one).\n * Note that Chrome and Samsung Internet on Android ignore it in a regular tab while the system is in dark\n * mode (they keep their own dark bar); installed apps (PWA) still get it.\n */\n themeColor?: 'surface' | 'surface-container' | 'primary' | (string & {})\n /**\n * Server-side rendering: tells the components whether the app is still hydrating the server's HTML (Nuxt's\n * `() => nuxtApp.isHydrating`, which `@m3ui-vue/nuxt` passes). The adaptive layouts (`MNavigationSuite`,\n * `MListDetail`, `MSupportingPane`) and `useWindowSizeClass()` then render their first frame at the server's size\n * (compact: it has no window) so it matches the HTML, and adapt once mounted.\n */\n isHydrating?: () => boolean\n /**\n * Also keep the theme, the palette and the contrast level in cookies (`m3-theme`, `m3-palette`, `m3-contrast`,\n * a year, `SameSite=Lax`), and the window's size (`m3-viewport`, `<width>x<height>`), so a server can read them\n * and render with the user's choice and for their screen through `initialState`.\n */\n cookies?: boolean\n /**\n * A prefix for every key the library stores in localStorage and cookies (`'admin'` → `admin-m3-theme`,\n * `admin-m3-palette`…), so apps served from the same origin under different paths (`example.com/admin`,\n * `example.com/shop`) each keep their own theme, palette, contrast and recent colors/emoji instead of sharing them.\n * Letters, digits, `-` and `_` (it's also part of the cookie names). Pass the same one to `themeInitScript()` and\n * `viewportFromHeaders()` when you use them.\n */\n storagePrefix?: string\n /**\n * Server-side rendering: the user's theme, palette and contrast as the server knows them (from the cookies that\n * `cookies` writes), on the server and on the client alike. `useTheme()` and `useColorPalette()` report them on\n * the server, and on the client while hydrating (with `isHydrating`), so what's rendered from them matches the\n * server's HTML. What's missing falls back to this plugin's defaults, like a first visit. With `viewport`, the\n * adaptive layouts (`MNavigationSuite`, `MListDetail`, `MSupportingPane`) and `useWindowSizeClass()` render for\n * that window size instead of compact.\n */\n initialState?: M3InitialState\n}"},{"name":"M3InitialState","import":"@m3ui-vue/m3ui-vue","source":"/** The user's theme choices as a server knows them (from cookies), for server-side rendering. */\nexport interface M3InitialState {\n theme?: Theme\n palette?: string\n contrast?: ContrastLevel\n /** The browser window's size: the adaptive layouts and `useWindowSizeClass()` render for it instead of compact. */\n viewport?: { width: number; height: number }\n}"},{"name":"Theme","import":"@m3ui-vue/m3ui-vue","source":"export type Theme = 'light' | 'dark' | 'system'"},{"name":"ConfettiOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ConfettiOptions {\n /** How many pieces (default 80; 160 for `from: 'top'`) */\n count?: number\n /** Shapes to pick from (MShape's names) */\n shapes?: ShapeName[]\n /** Any CSS colors. Default: the theme's primary, secondary and tertiary roles and their containers, read at the origin */\n colors?: string[]\n /** Burst from a point (default) or rain from the top of the screen */\n from?: 'point' | 'top'\n /** Burst angle in degrees, 0 = up (default 0) */\n angle?: number\n /** Cone the pieces leave in, in degrees (default 70) */\n spread?: number\n /** Launch speed in px/s (default 950) */\n velocity?: number\n /** Piece size in px (default 14) */\n size?: number\n /**\n * Keep it going for this long, in ms: a rain that keeps falling (`from: 'top'`) or a fountain from the point,\n * `count` then being pieces per second. `Infinity` runs until the returned `stop()`. Unset: one burst\n */\n duration?: number\n}"},{"name":"ConfettiOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** Where a burst starts: the pointer of an event, an element's center, or a point in viewport pixels */\nexport type ConfettiOrigin = EffectOrigin"},{"name":"StopConfetti","import":"@m3ui-vue/m3ui-vue","source":"/** Stops a running confetti before its `duration` ends; the pieces already out finish falling. */\nexport type StopConfetti = () => void"},{"name":"FireworkShape","import":"@m3ui-vue/m3ui-vue","source":"/** A burst's look: `'classic'`, or an MShape's name its sparks are laid out along. */\nexport type FireworkShape = 'classic' | ShapeName"},{"name":"FireworksOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface FireworksOptions {\n /** How many rockets (default 6, launched over about a second and a half); with `duration`, rockets per second */\n count?: number\n /**\n * What the bursts look like, one picked per burst: `'classic'` (sparks thrown out from the center that fall as they\n * fade) or an MShape's name the sparks are laid out along (`'Circle'` is a ring). Default: mostly classic, with a\n * ring, a heart, a flower… now and then\n */\n shapes?: FireworkShape[]\n /** Any CSS colors. Default: the theme's primary, secondary and tertiary roles and their containers */\n colors?: string[]\n /** Burst radius in px. Default: a sixth of the screen's smaller side, between 70 and 180 */\n size?: number\n /** Keep launching for this long, in ms (`count` then being rockets per second); `Infinity` runs until `stop()` */\n duration?: number\n}"},{"name":"StopFireworks","import":"@m3ui-vue/m3ui-vue","source":"/** Stops launching before `duration` ends; what's already in the air finishes. */\nexport type StopFireworks = () => void"},{"name":"ReactionContent","import":"@m3ui-vue/m3ui-vue","source":"/** What floats up: any text (an emoji, `'+1'`), or a Material Symbol (`{ icon: 'favorite' }`, filled by default). */\nexport type ReactionContent = string | { icon: string; filled?: boolean; color?: string }"},{"name":"ReactionOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ReactionOptions {\n /** How many float up together, a little apart (default 1) */\n count?: number\n /** Size in px (default 32) */\n size?: number\n /** How far it rises, in px (default 260) */\n distance?: number\n /** How long it floats, in ms (default 2200) */\n duration?: number\n /** How far it sways to each side, in px (default 20) */\n sway?: number\n}"},{"name":"ReactionOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** Where a reaction starts: the pointer of an event, an element's center, or a point in viewport pixels */\nexport type ReactionOrigin = EffectOrigin"},{"name":"ContainerTransformController","import":"@m3ui-vue/m3ui-vue","source":"/** The state MContainerTransform plays, shared between the elements that open it and the panel they open */\nexport interface ContainerTransformController<T = unknown> {\n /** Whether the expanded view is open (or opening) */\n isOpen: Ref<boolean>\n /** What `open` was given, for the expanded view to show */\n item: Ref<T | undefined>\n /** The element it grows from and shrinks back into */\n source: ShallowRef<HTMLElement | null>\n /** Opens from `origin` (a click's element, an element or a component), with an optional `item` */\n open: (origin?: ContainerTransformOrigin, item?: T) => void\n /** Shrinks the expanded view back into the element it opened from */\n close: () => void\n}"},{"name":"ContainerTransformOrigin","import":"@m3ui-vue/m3ui-vue","source":"/** What a container transform opens from: a click (its element), an element, or a component */\nexport type ContainerTransformOrigin = Event | Element | ComponentPublicInstance | null | undefined"},{"name":"Palette","import":"@m3ui-vue/m3ui-vue","source":"export interface Palette {\n id: string\n label: string\n /**\n * The palette's key color. A custom palette (`createM3UI({ customPalettes })`) with no CSS of its own gets its\n * scheme generated from it; one with `[data-palette='<id>']` rules keeps them.\n */\n seed: string\n}"},{"name":"PaletteId","import":"@m3ui-vue/m3ui-vue","source":"/** The id of a palette that ships with the library (`palettes.css`, plus the `purple` baseline). */\nexport type PaletteId = (typeof builtInPalettes)[number]['id']"},{"name":"ActiveSeed","import":"@m3ui-vue/m3ui-vue","source":"export interface ActiveSeed extends SeedOptions {\n seed: string\n}"},{"name":"ContrastLevel","import":"@m3ui-vue/m3ui-vue","source":"// ── Contrast ─────────────────────────────────────────────────────────────────────────────────────\n/**\n * M3's contrast levels. `system` follows the OS (`prefers-contrast: more` → high). Built-in palettes need\n * `@m3ui-vue/m3ui-vue/palettes-contrast` imported for medium and high; seed palettes are regenerated.\n */\nexport type ContrastLevel = 'standard' | 'medium' | 'high' | 'system'"},{"name":"ThemeInitOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ThemeInitOptions {\n /** `createM3UI`'s `palette`: the first-visit default, or forced with `persistPalette: false`. */\n palette?: PaletteId | (string & {})\n /** `createM3UI`'s `contrast`, with the same rules as `palette`. */\n contrast?: ContrastLevel\n /** `createM3UI`'s `persistPalette`. */\n persistPalette?: boolean\n /** `createM3UI`'s `storagePrefix`. */\n storagePrefix?: string\n}"},{"name":"RequestHeaders","import":"@m3ui-vue/m3ui-vue","source":"/** A request's headers as server frameworks hand them over: a `Headers`, or a plain object (Node's, h3's). */\nexport type RequestHeaders = Headers | Record<string, string | string[] | undefined>"},{"name":"ViewportSize","import":"@m3ui-vue/m3ui-vue","source":"/** A window size, for `createM3UI({ initialState: { viewport } })` */\nexport interface ViewportSize {\n width: number\n height: number\n}"},{"name":"SchemeVariant","import":"@m3ui-vue/m3ui-vue","source":"// Dynamic color: a full M3 color scheme (light and dark) generated from one seed color with Google's\n// material-color-utilities (HCT, DynamicScheme). The package is loaded with a dynamic import, so apps that\n// never use a seed don't download it; it's bundled into the library (its 0.4.0 ESM build has an extensionless\n// import that Node can't resolve, which would break SSR and tests if it were left external).\n\nexport type SchemeVariant =\n | 'tonal-spot'\n | 'expressive'\n | 'vibrant'\n | 'fidelity'\n | 'content'\n | 'neutral'\n | 'monochrome'\n | 'rainbow'\n | 'fruit-salad'"},{"name":"SeedOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface SeedOptions {\n /** How the seed spreads into the scheme. `tonal-spot` is Android's default (calm, seed-led). */\n variant?: SchemeVariant\n /** Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced). */\n contrast?: number\n}"},{"name":"GeneratedScheme","import":"@m3ui-vue/m3ui-vue","source":"/** Token name (as in `--color-<name>`) → hex, for each scheme. */\nexport interface GeneratedScheme {\n light: Record<string, string>\n dark: Record<string, string>\n}"},{"name":"Toast","import":"@m3ui-vue/m3ui-vue","source":"export interface Toast {\n id: number\n message: string\n variant: ToastVariant\n duration: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null // null = suppress icon entirely\n color?: string\n count: number // ≥ 2 → show badge\n}"},{"name":"ToastVariant","import":"@m3ui-vue/m3ui-vue","source":"export type ToastVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"ToastPosition","import":"@m3ui-vue/m3ui-vue","source":"export type ToastPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"ToastAction","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastAction { label: string; onClick: () => void }"},{"name":"ToastOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ToastOptions {\n duration?: number\n loading?: boolean\n action?: ToastAction\n icon?: string | null\n color?: string\n}"},{"name":"M3Locale","import":"@m3ui-vue/m3ui-vue","source":"export interface M3Locale {\n /** BCP-47 language tag (e.g. 'en', 'es', 'pt') — read by locale-aware components (MRelativeTime) that use Intl formatting. */\n lang: string\n\n // Common\n search: string\n noResults: string\n close: string\n cancel: string\n confirm: string\n loading: string\n menu: string\n\n // Navigation\n previous: string\n next: string\n today: string\n more: string\n\n // Tables\n selectedCount: string\n recordCount: string\n expand: string\n /** Collapses an expanded item (the opposite of `expand`) */\n collapse: string\n /** Clears a field's value (the × at its end) */\n clear: string\n columns: string\n exportCsv: string\n noGroup: string\n\n // Tour\n finish: string\n\n // File upload\n dropText: string\n selectText: string\n maxSizePrefix: string\n remove: string\n\n // Pickers\n selectDate: string\n ok: string\n dateToggleInput: string\n dateToggleCalendar: string\n dateInputLabel: string\n selectTime: string\n timeHourSelection: string\n timeMinuteSelection: string\n timePeriodToggle: string\n timeToggleKeyboard: string\n timeToggleDial: string\n timeToggleScroll: string\n sheetExpand: string\n sheetCollapse: string\n sheetDismiss: string\n seekBar: string\n seekBarValue: string\n seekBarShowRemaining: string\n seekBarShowDuration: string\n selectRange: string\n pickStart: string\n pickEnd: string\n previousMonth: string\n nextMonth: string\n\n // Color picker\n selectColor: string\n colorHue: string\n colorSaturation: string\n colorBrightness: string\n colorAlpha: string\n colorEyedropper: string\n colorOriginal: string\n colorFormat: string\n colorRecent: string\n colorPresets: string\n\n // Scheduler\n dayView: string\n weekView: string\n allDay: string\n emojiSearch: string\n emojiNoResults: string\n emojiRecent: string\n emojiSkinTone: string\n emojiSkinTones: string\n emojiCategorySmileys: string\n emojiCategoryGestures: string\n emojiCategoryPeople: string\n emojiCategoryAnimals: string\n emojiCategoryNature: string\n emojiCategoryFood: string\n emojiCategoryActivities: string\n emojiCategoryTravel: string\n emojiCategoryObjects: string\n emojiCategorySymbols: string\n emojiCategoryFlags: string\n\n // Transfer list\n available: string\n selected: string\n noItems: string\n moveAllRight: string\n moveRight: string\n moveLeft: string\n moveAllLeft: string\n\n // Command palette / Spotlight\n searchCommand: string\n navigateHint: string\n selectHint: string\n openHint: string\n closeHint: string\n\n // Infinite scroll\n loadingMore: string\n noMoreItems: string\n\n // Rich text editor\n bold: string\n italic: string\n underline: string\n strikethrough: string\n highlight: string\n bulletList: string\n orderedList: string\n blockquote: string\n code: string\n alignLeft: string\n alignCenter: string\n alignRight: string\n undo: string\n redo: string\n link: string\n image: string\n paragraph: string\n heading1: string\n heading2: string\n heading3: string\n insertLink: string\n insertImage: string\n imageUrlLabel: string\n insert: string\n\n // JSON editor\n jsonValid: string\n jsonInvalid: string\n jsonFormat: string\n jsonMinify: string\n\n // JSON viewer\n jsonElements: string\n jsonFields: string\n\n // Result\n resultSuccessTitle: string\n resultSuccessDesc: string\n resultErrorTitle: string\n resultErrorDesc: string\n resultWarningTitle: string\n resultWarningDesc: string\n resultInfoTitle: string\n resultInfoDesc: string\n result404Title: string\n result404Desc: string\n result403Title: string\n result403Desc: string\n result500Title: string\n result500Desc: string\n\n // Chat bubble\n chatTyping: string\n chatRecordingAudio: string\n\n // Drag & drop list ({pos}/{total} are replaced at runtime)\n reorderHandle: string\n reorderGrabbed: string\n reorderMoved: string\n reorderDropped: string\n reorderCancelled: string\n\n // Transfer list (panes)\n selectAll: string\n clearSearch: string\n\n // Kanban ({column}/{pos}/{total} are replaced at runtime)\n kanbanMoved: string\n // MWindow title bar buttons\n windowMinimize: string\n windowMaximize: string\n windowRestore: string\n // MPagination ({from}/{to}/{total} and {page}/{pages} are replaced at runtime)\n paginationRange: string\n paginationPage: string\n previousPage: string\n nextPage: string\n carousel: string\n carouselItem: string\n /** MSparkline's summary for screen readers: {first}, {last}, {min}, {max} */\n sparklineSummary: string\n /** MSlider range: its two thumbs */\n sliderRangeStart: string\n sliderRangeEnd: string\n // MMap (maplibre controls)\n mapTitle: string\n mapMarker: string\n mapZoomIn: string\n mapZoomOut: string\n mapResetBearing: string\n mapFindMyLocation: string\n mapLocationNotAvailable: string\n mapEnterFullscreen: string\n mapExitFullscreen: string\n mapToggleAttribution: string\n mapFeedback: string\n mapCtrlScroll: string\n mapCmdScroll: string\n mapTwoFingers: string\n mapLayers: string\n mapSearchLayers: string\n mapNoLayers: string\n mapShowLayer: string\n mapHideLayer: string\n mapOpacity: string\n mapDownload: string\n mapNoBaseLayer: string\n mapHoverInfo: string\n mapNoValue: string\n mapMeasureDistance: string\n mapMeasureArea: string\n mapClearMeasurements: string\n mapDeleteMeasurement: string\n mapTotal: string\n mapSearchPlaces: string\n /** MTimeline's button past `limit`; `{count}` is how many entries are hidden */\n timelineShowMore: string\n timelineShowLess: string\n // Media players (MVideoPlayer, MAudioPlayer); `{seconds}` is the skip length\n mediaPlayer: string\n mediaPlay: string\n mediaPause: string\n mediaReplay: string\n mediaSeekBack: string\n mediaSeekForward: string\n mediaSeconds: string\n mediaMute: string\n mediaUnmute: string\n mediaVolume: string\n mediaFullscreen: string\n mediaExitFullscreen: string\n mediaPictureInPicture: string\n mediaSettings: string\n mediaSpeed: string\n mediaSpeedNormal: string\n mediaSubtitles: string\n mediaSubtitlesOff: string\n mediaQuality: string\n mediaQualityAuto: string\n mediaLive: string\n mediaError: string\n mediaRepeat: string\n mediaRepeatOne: string\n mediaShuffle: string\n // MPdfViewer; `{current}`/`{total}` count search matches\n pdfViewer: string\n pdfThumbnails: string\n pdfOutline: string\n pdfPage: string\n pdfZoom: string\n pdfZoomIn: string\n pdfZoomOut: string\n pdfFitWidth: string\n pdfFitPage: string\n pdfSearch: string\n pdfSearchPrevious: string\n pdfSearchNext: string\n pdfMatchCount: string\n pdfNoMatches: string\n pdfMore: string\n pdfRotate: string\n pdfDownload: string\n pdfPrint: string\n pdfFullscreen: string\n pdfExitFullscreen: string\n pdfPassword: string\n pdfPasswordLabel: string\n pdfWrongPassword: string\n pdfOpen: string\n pdfError: string\n pdfLoading: string\n pdfAnnotate: string\n pdfSelect: string\n pdfHighlight: string\n pdfNote: string\n pdfDraw: string\n pdfEraser: string\n pdfInkWidth: string\n pdfColor: string\n pdfUndo: string\n pdfCopy: string\n pdfDelete: string\n pdfNotePlaceholder: string\n pdfAddComment: string\n flowCanvas: string\n flowNode: string\n flowEdge: string\n flowZoomIn: string\n flowZoomOut: string\n flowFitView: string\n flowLock: string\n flowUnlock: string\n flowUndo: string\n flowRedo: string\n flowMinimap: string\n flowMoved: string\n flowConnected: string\n flowDeleted: string\n flowDeleteEdge: string\n flowDelete: string\n ganttChart: string\n ganttTask: string\n ganttStart: string\n ganttEnd: string\n ganttDuration: string\n ganttProgress: string\n ganttDays: string\n ganttHours: string\n ganttMilestone: string\n ganttQuarter: string\n ganttToday: string\n ganttZoomIn: string\n ganttZoomOut: string\n ganttExpandAll: string\n ganttCollapseAll: string\n ganttExpand: string\n ganttCollapse: string\n ganttUndo: string\n ganttRedo: string\n ganttScaleHour: string\n ganttScaleDay: string\n ganttScaleWeek: string\n ganttScaleMonth: string\n ganttScaleQuarter: string\n ganttScaleYear: string\n ganttMoved: string\n ganttProgressSet: string\n ganttLinked: string\n ganttUnlink: string\n ganttDeleted: string\n ganttDelete: string\n ganttReordered: string\n ganttSlack: string\n ganttCritical: string\n ganttBaseline: string\n ganttEmpty: string\n ganttResize: string\n timelineResource: string\n timelineConflict: string\n timelineMoved: string\n timelineEmpty: string\n cropArea: string\n cropRotateLeft: string\n cropRotateRight: string\n cropFlip: string\n cropReset: string\n cropFree: string\n drawCanvas: string\n drawTools: string\n drawMore: string\n drawSelect: string\n drawPan: string\n drawPen: string\n drawBrush: string\n drawMarker: string\n drawHighlighter: string\n drawEraser: string\n drawStrokeEraser: string\n drawLine: string\n drawArrow: string\n drawRect: string\n drawEllipse: string\n drawText: string\n drawFill: string\n drawColor: string\n floorPlan: string\n floorSeats: string\n floorRotate: string\n floorTools: string\n floorMove: string\n floorDrawWall: string\n floorDrawZone: string\n floorAddTable: string\n floorAddDecor: string\n floorDuplicate: string\n floorDelete: string\n floorUndo: string\n floorRedo: string\n floorLabel: string\n floorSeatsField: string\n floorShape: string\n floorRound: string\n floorSquare: string\n floorLong: string\n floorAngle: string\n /** A door's button: hinge it on the other side */\n floorFlip: string\n floorZoomIn: string\n floorZoomOut: string\n floorZoomFit: string\n floorOverlaps: string\n floorSeatN: string\n floorDrawShape: string\n floorShapeHint: string\n floorColor: string\n floorThickness: string\n floorWidth: string\n floorHeight: string\n floorMerge: string\n floorSplit: string\n floorNothingPicked: string\n floorTablesPicked: string\n floorTableN: string\n floorZone: string\n floorWall: string\n floorDeleteCorner: string\n floorFinishWall: string\n floorCancel: string\n floorDecorDoor: string\n floorDecorWindow: string\n floorDecorPlant: string\n floorDecorColumn: string\n floorDecorRestroom: string\n floorDecorKitchen: string\n floorDecorRegister: string\n floorDecorStairs: string\n floorDecorLabel: string\n drawCustomColor: string\n drawSize: string\n drawUndo: string\n drawRedo: string\n drawDelete: string\n drawLayers: string\n drawLayer: string\n drawLayerName: string\n drawAddLayer: string\n drawDeleteLayer: string\n drawShowLayer: string\n drawHideLayer: string\n drawLockLayer: string\n drawUnlockLayer: string\n drawLayerUp: string\n drawLayerDown: string\n}"},{"name":"AutoGrowOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface AutoGrowOptions {\n /** Fewest rows it shrinks to (default 1) */\n minRows?: MaybeRefOrGetter<number | undefined>\n /** Most rows it grows to; past them it scrolls. Unset grows without limit */\n maxRows?: MaybeRefOrGetter<number | undefined>\n /**\n * The text, when it can change without typing (cleared after sending, an emoji inserted…): a ref or getter, so the\n * height follows. Typing is followed on its own\n */\n value?: WatchSource<unknown>\n}"},{"name":"ThemeTokensOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ThemeTokensOptions {\n /**\n * Updates every animation frame while the theme switch's colors fade, so a canvas redrawn on change fades with\n * the page instead of jumping to the new colors. Off by default: what animates color changes itself (Chart.js,\n * MChart, maps) only needs the final values, and would otherwise redraw ~15 times per switch.\n */\n live?: boolean\n}"},{"name":"ScrollRevealOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface ScrollRevealOptions {\n /** How it enters (default `'fade-up'`) */\n effect?: RevealEffect\n /** Distance in px for the slide effects (default 24) */\n distance?: number\n /** Delay in ms before it starts (default 0) */\n delay?: number\n /** Extra delay in ms for each next element revealed at the same time, so a list cascades in (default 60) */\n stagger?: number\n /** Reveal only the first time (default `true`); with `false` it hides again once it leaves the screen */\n once?: boolean\n /** How much of the element has to be visible, 0 to 1 (default 0.15) */\n threshold?: number\n /** Grows or shrinks the area that counts as visible, like IntersectionObserver's `rootMargin` (default `'0px'`) */\n rootMargin?: string\n /** Motion scheme of the springs: `'standard'` (default) or `'expressive'` (a little bounce) */\n scheme?: 'standard' | 'expressive'\n /** Pace: M3's fast, default or slow springs (default `'default'`); slow suits large, calm entrances */\n speed?: 'fast' | 'default' | 'slow'\n}"},{"name":"RevealEffect","import":"@m3ui-vue/m3ui-vue","source":"/** How an element enters: from below, from a side, growing, or only fading. */\nexport type RevealEffect = 'fade-up' | 'fade' | 'scale' | 'slide-left' | 'slide-right'"},{"name":"WidthSizeClass","import":"@m3ui-vue/m3ui-vue","source":"/*\n * M3 window size classes, with the breakpoints from androidx `WindowSizeClass`\n * (window-core: WIDTH_DP_MEDIUM_LOWER_BOUND 600, EXPANDED 840, LARGE 1200, EXTRA_LARGE 1600;\n * HEIGHT_DP_MEDIUM_LOWER_BOUND 480, EXPANDED 900). CSS px stand in for dp.\n */\nexport type WidthSizeClass = 'compact' | 'medium' | 'expanded' | 'large' | 'extra-large'"},{"name":"HeightSizeClass","import":"@m3ui-vue/m3ui-vue","source":"export type HeightSizeClass = 'compact' | 'medium' | 'expanded'"},{"name":"WindowSizeClassInfo","import":"@m3ui-vue/m3ui-vue","source":"export interface WindowSizeClassInfo {\n width: Ref<number>\n height: Ref<number>\n widthClass: Ref<WidthSizeClass>\n heightClass: Ref<HeightSizeClass>\n}"},{"name":"Notification","import":"@m3ui-vue/m3ui-vue","source":"export interface Notification {\n id: number\n message: string\n variant: NotificationVariant\n duration: number\n loading?: boolean\n icon?: string | null // null = suppress icon entirely\n closable?: boolean\n action?: NotificationAction\n count: number // ≥ 2 → show badge\n}"},{"name":"NotificationVariant","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationVariant = 'info' | 'success' | 'warning' | 'error'"},{"name":"NotificationPosition","import":"@m3ui-vue/m3ui-vue","source":"export type NotificationPosition =\n | 'top-left' | 'top-center' | 'top-right'\n | 'bottom-left' | 'bottom-center' | 'bottom-right'"},{"name":"NotificationOptions","import":"@m3ui-vue/m3ui-vue","source":"export interface NotificationOptions {\n duration?: number\n loading?: boolean\n icon?: string | null\n closable?: boolean\n action?: NotificationAction\n}"},{"name":"SpringSpec","import":"@m3ui-vue/m3ui-vue","source":"// Material 3's motion tokens for your own animations, from androidx's MotionTokens, StandardMotionTokens and\n// ExpressiveMotionTokens. The same easings and durations are CSS variables in theme.css (`--ease-*`, which\n// Tailwind turns into `ease-*` utilities, and `--duration-*`); the springs only make sense in JS, with\n// `useSpring` (exported next to these) or your own loop. No imports here: _useSpring builds on this file.\n\n/** A spring: dampingRatio 1 settles without overshoot, lower bounces; higher stiffness is faster */\nexport interface SpringSpec { dampingRatio: number; stiffness: number }"},{"name":"RippleOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-ripple`. */\nexport interface RippleOptions {\n /** No ripple while true (e.g. bound to the element's disabled state). */\n disabled?: boolean\n /** Any CSS color for the ripple; defaults to the element's text color (`currentColor`). */\n color?: string\n}"},{"name":"RippleValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-ripple` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type RippleValue = boolean | string | RippleOptions | null | undefined"},{"name":"RevealValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-reveal` value: nothing or `true` (fade up), `false` (off), an effect name, or options. */\nexport type RevealValue = boolean | RevealEffect | ScrollRevealOptions | null | undefined"},{"name":"StateLayerOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-state-layer`. */\nexport interface StateLayerOptions {\n /** No state layer while true (e.g. bound to the element's disabled state). `disabled` / `aria-disabled=\"true\"` hosts get none either way. */\n disabled?: boolean\n /** Any CSS color for the layer; defaults to the element's text color (`currentColor`). */\n color?: string\n /** Holds the dragged state (16%) while true, e.g. while the element is being dragged. */\n dragged?: boolean\n}"},{"name":"StateLayerValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-state-layer` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type StateLayerValue = boolean | string | StateLayerOptions | null | undefined"},{"name":"TooltipOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-tooltip`. */\nexport interface TooltipOptions {\n /** The tooltip's text; nothing shows while it's empty. */\n text?: string\n /** Side of the element it shows on (default `'top'`); it stays inside the window. */\n placement?: TooltipPlacement\n /** Delay before it shows on hover or keyboard focus, in ms (default 600, like MTooltip). */\n delay?: number\n /** Never shows while true. */\n disabled?: boolean\n}"},{"name":"TooltipValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-tooltip` value: the text, or an options object. */\nexport type TooltipValue = string | TooltipOptions | null | undefined"},{"name":"FocusRingOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-focus-ring`. */\nexport interface FocusRingOptions {\n /** No ring while true. */\n disabled?: boolean\n /** Any CSS color or token for the ring; defaults to `var(--color-secondary)`, as M3's focus indicator. */\n color?: string\n /** Draws the ring inside the element's edge instead of 2px outside it, for elements clipped by a parent. */\n inset?: boolean\n /** Also shows while an element inside it has keyboard focus (a card holding a link or a field). */\n within?: boolean\n}"},{"name":"FocusRingValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-focus-ring` value: nothing or `true` (on), `false` (off), a CSS color, or an options object. */\nexport type FocusRingValue = boolean | string | FocusRingOptions | null | undefined"},{"name":"ScrollElevationOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-scroll-elevation`. */\nexport interface ScrollElevationOptions {\n /**\n * What scrolls: an element, a CSS selector for it, or the window (when left out). A template ref that's still\n * empty (`target: list` before the list mounts) waits for it instead of following the window.\n */\n target?: HTMLElement | Window | string | null\n /** How far (px) the content has to scroll before the element counts as scrolled (default 0: any scroll). */\n threshold?: number\n /**\n * The background while scrolled, any CSS color or token; default `var(--color-surface-container)`, M3's\n * scrolled container color for a top app bar. `false` changes no color: style `[data-scrolled]` yourself.\n */\n color?: string | false\n /** Called when the scrolled state changes. */\n onChange?: (scrolled: boolean) => void\n /** Stops following the scroll while true (and clears the scrolled state). */\n disabled?: boolean\n}"},{"name":"ScrollElevationValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-scroll-elevation` value: nothing or `true` (the window), `false` (off), a selector, or an options object. */\nexport type ScrollElevationValue = boolean | string | ScrollElevationOptions | null | undefined"},{"name":"LongPressOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-long-press`. */\nexport interface LongPressOptions {\n /** Called once the press has been held for `duration`, with the pointerdown that started it. */\n handler?: (event: PointerEvent) => void\n /** How long to hold, in ms (default 500, as MTooltip's long press). */\n duration?: number\n /** How far (px) the pointer may move before it's a scroll or a drag, not a press (default 10). */\n tolerance?: number\n /** A short vibration when it fires, where the device supports it (default true). */\n haptic?: boolean\n /** Also with a mouse (default true); false leaves the mouse alone, for touch and pen only. */\n mouse?: boolean\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"LongPressValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-long-press` value: the handler, or an options object. */\nexport type LongPressValue = ((event: PointerEvent) => void) | LongPressOptions | null | undefined"},{"name":"SwipeDirection","import":"@m3ui-vue/m3ui-vue","source":"export type SwipeDirection = 'left' | 'right' | 'up' | 'down'"},{"name":"SwipeInfo","import":"@m3ui-vue/m3ui-vue","source":"/** What a swipe handler gets. */\nexport interface SwipeInfo {\n direction: SwipeDirection\n /** Distance from where the press started, px (x grows rightwards, y downwards). */\n dx: number\n dy: number\n /** Speed along the swipe's axis when the finger lifted, px/ms. */\n velocity: number\n /** The pointerup that ended it. */\n event: PointerEvent\n}"},{"name":"SwipeOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-swipe`. */\nexport interface SwipeOptions {\n left?: (info: SwipeInfo) => void\n right?: (info: SwipeInfo) => void\n up?: (info: SwipeInfo) => void\n down?: (info: SwipeInfo) => void\n /** Called for a swipe in any direction that has no handler of its own. Listens on both axes. */\n handler?: (info: SwipeInfo) => void\n /** How far (px) the finger has to travel for a slow swipe to count (default 50). */\n threshold?: number\n /** A swipe at least this fast (px/ms) counts whatever its length (default 0.5, a flick). */\n velocity?: number\n /** Called while the finger moves along a listened axis, for feedback (follow the finger, fade a hint). */\n onMove?: (dx: number, dy: number, event: PointerEvent) => void\n /** Called when the press ends, swiped or not (spring a moved element back). */\n onEnd?: (swiped: boolean) => void\n /** Also with a mouse drag (default false: swipes are for touch and pen). */\n mouse?: boolean\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"SwipeValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-swipe` value: a handler for any direction, or an options object. */\nexport type SwipeValue = ((info: SwipeInfo) => void) | SwipeOptions | null | undefined"},{"name":"ClickOutsideOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-click-outside`. */\nexport interface ClickOutsideOptions {\n /** Called with the event that landed outside the element. */\n handler?: (event: PointerEvent | MouseEvent) => void\n /**\n * Elements that count as inside too: elements or CSS selectors (the button that toggles a panel, or a panel's\n * own popup teleported to `<body>`).\n */\n exclude?: Array<HTMLElement | string | null | undefined>\n /** `'pointerdown'` (default) reacts as the press starts, like menus; `'click'` once it ends, so a drag out doesn't count. */\n event?: 'pointerdown' | 'click'\n /** Off while true. */\n disabled?: boolean\n}"},{"name":"ClickOutsideValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-click-outside` value: the handler, or an options object. */\nexport type ClickOutsideValue = ((event: PointerEvent | MouseEvent) => void) | ClickOutsideOptions | null | undefined"},{"name":"SkeletonOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-skeleton`. */\nexport interface SkeletonOptions {\n /** Shows the placeholder while true. */\n loading?: boolean\n /** MSkeleton's animations (default `'pulse'`). */\n animation?: 'pulse' | 'wave' | 'none'\n}"},{"name":"SkeletonValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-skeleton` value: whether it's loading, or an options object. */\nexport type SkeletonValue = boolean | SkeletonOptions | null | undefined"},{"name":"SparkleOptions","import":"@m3ui-vue/m3ui-vue","source":"/** Options for `v-sparkle`. */\nexport interface SparkleOptions {\n /** No sparkles while true */\n disabled?: boolean\n /** `'always'` (default) sparkles all the time; `'hover'` only while the pointer is over it or focus is in it */\n trigger?: 'always' | 'hover'\n /** Any CSS colors, one picked per sparkle. Default: the theme's primary and tertiary where the element is */\n color?: string | string[]\n /** Sparkle size in px, each one a bit bigger or smaller (default 14) */\n size?: number\n /** Sparkles per second (default 3) */\n rate?: number\n /** MShape's shapes instead of the four-pointed star */\n shapes?: ShapeName[]\n}"},{"name":"SparkleValue","import":"@m3ui-vue/m3ui-vue","source":"/** `v-sparkle` value: nothing or `true` (on), `false` (off), `'hover'`, a CSS color, or an options object. */\nexport type SparkleValue = boolean | string | SparkleOptions | null | undefined"},{"name":"FloorPlanContext","import":"@m3ui-vue/m3ui-vue","source":"/**\n * An MFloorPlan's state and actions. MFloorPlanToolbar and MFloorPlanInspector are built on it, and so can controls\n * of your own: inside the plan's slots with `useFloorPlan()`, or anywhere from its template ref (`plan.context`).\n * Every edit made through it is a step of the plan's undo history.\n */\nexport interface FloorPlanContext {\n tables: Ref<FloorTable[]>\n areas: Ref<FloorArea[]>\n walls: Ref<FloorWall[]>\n decor: Ref<FloorDecor[]>\n merges: Ref<FloorMerge[]>\n selection: Ref<(string | number)[]>\n picked: Ref<FloorPick>\n tool: Ref<FloorTool>\n editable: ComputedRef<boolean>\n /** A wall (tool `wall`) or a zone of any shape (tool `polygon`) is being drawn: finish it (also double-click / Enter) or cancel it (Escape) */\n drawingWall: ComputedRef<boolean>\n finishWall(): void\n cancelWall(): void\n /** A table's size in plan units (its own, or the default for its shape and seats) */\n tableSize(table: FloorTable): { w: number; h: number }\n /** The plan's real lengths (`measure`), if it has them */\n measure: ComputedRef<FloorMeasure | undefined>\n /** The decor kinds: built-in ones merged with `decorKinds` */\n kinds: ComputedRef<Record<string, FloorDecorKind>>\n statuses: ComputedRef<Record<string, FloorStatus>>\n /** The plan's size in plan units */\n size: ComputedRef<{ width: number; height: number }>\n canUndo: ComputedRef<boolean>\n canRedo: ComputedRef<boolean>\n undo(): void\n redo(): void\n /** Adds a table (at the plan's middle unless placed; numbered after the highest numbered one) and selects it */\n addTable(table?: Partial<FloorTable>): FloorTable\n /** Adds a decor item of a kind and picks it */\n addDecor(kind: string, item?: Partial<FloorDecor>): FloorDecor\n /** Changes one item (consecutive changes to the same item within a moment are one undo step) */\n update(kind: 'table', id: string | number, patch: Partial<FloorTable>): void\n update(kind: 'area', id: string | number, patch: Partial<FloorArea>): void\n update(kind: 'wall', id: string | number, patch: Partial<FloorWall>): void\n update(kind: 'decor', id: string | number, patch: Partial<FloorDecor>): void\n /** Removes what's picked (a wall's picked corner, or the whole item), or else the selected tables */\n removeSelected(): void\n removeTables(ids: (string | number)[]): void\n /** Copies the selected tables, or the picked zone or decor */\n duplicate(): void\n merge(ids?: (string | number)[], label?: string): FloorMerge | null\n split(idOrTable: string | number): void\n}"},{"name":"FloorTool","import":"@m3ui-vue/m3ui-vue","source":"export type FloorTool = 'select' | 'wall' | 'area' | 'polygon'"},{"name":"FloorItemKind","import":"@m3ui-vue/m3ui-vue","source":"export type FloorItemKind = 'table' | 'area' | 'wall' | 'decor'"},{"name":"EmojiCategory","import":"@m3ui-vue/m3ui-vue","source":"// Generated by scripts/generate-emoji-data.mjs from Unicode emoji-test.txt (Emoji 15). Don't edit by hand.\n// Emoji data © Unicode, Inc., under the Unicode License v3 (dist/THIRD_PARTY_LICENSES.md, scripts/licenses/unicode-license-v3.txt).\n\nexport interface EmojiCategory {\n id: string\n /** English name; MEmojiSelector shows the locale's (emojiCategory* keys). */\n label: string\n icon: string\n emojis: string[]\n}"}],"theme":{"colors":["primary","on-primary","primary-container","on-primary-container","secondary","on-secondary","secondary-container","on-secondary-container","tertiary","on-tertiary","tertiary-container","on-tertiary-container","primary-fixed","primary-fixed-dim","on-primary-fixed","on-primary-fixed-variant","secondary-fixed","secondary-fixed-dim","on-secondary-fixed","on-secondary-fixed-variant","tertiary-fixed","tertiary-fixed-dim","on-tertiary-fixed","on-tertiary-fixed-variant","error","on-error","error-container","on-error-container","success","on-success","success-container","on-success-container","background","on-background","surface","on-surface","surface-variant","on-surface-variant","surface-dim","surface-bright","surface-container-lowest","surface-container-low","surface-container","surface-container-high","surface-container-highest","outline","outline-variant","shadow","scrim","inverse-surface","inverse-on-surface","inverse-primary"],"text":["display-large","display-medium","display-small","headline-large","headline-medium","headline-small","title-large","title-medium","title-small","body-large","body-medium","body-small","label-large","label-medium","label-small","display-large-emphasized","display-medium-emphasized","display-small-emphasized","headline-large-emphasized","headline-medium-emphasized","headline-small-emphasized","title-large-emphasized","title-medium-emphasized","title-small-emphasized","body-large-emphasized","body-medium-emphasized","body-small-emphasized","label-large-emphasized","label-medium-emphasized","label-small-emphasized"],"radius":["xs","sm","md","lg","xl","lg-increased","xl-increased","xxl"],"shadow":["elevation-1","elevation-2","elevation-3","elevation-4","elevation-5"],"ease":["emphasized","emphasized-decelerate","emphasized-accelerate","standard","standard-decelerate","standard-accelerate","legacy","legacy-decelerate","legacy-accelerate"],"duration":["short-1","short-2","short-3","short-4","medium-1","medium-2","medium-3","medium-4","long-1","long-2","long-3","long-4","extra-long-1","extra-long-2","extra-long-3","extra-long-4"],"utilities":["scrollbar-none"],"palettes":["purple","indigo","navy","blue","cyan","teal","green","lime","olive","amber","sand","orange","deep-orange","brown","red","coral","crimson","pink","violet","slate","graphite","charcoal","steel","ash","iron","fog","pewter","smoke","stone","zinc","monochrome","rust","gold","emerald","turquoise","cobalt","sapphire","amethyst","magenta","mauve"]},"locale":{"keys":["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"],"presets":["esLocale","frLocale","ptLocale","deLocale","jaLocale","zhLocale","koLocale"]}}
|