@m3ui-vue/m3ui-vue 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/API.md +135 -5
  2. package/dist/{MIcon-DLOkQduI.js → MIcon-Bxh9j135.js} +15 -8
  3. package/dist/MIcon-Bxh9j135.js.map +1 -0
  4. package/dist/{MMenuItem-BOkcVtEe.js → MMenuItem-BckcR0nW.js} +6 -6
  5. package/dist/MMenuItem-BckcR0nW.js.map +1 -0
  6. package/dist/{MSlider-BXsBv0ox.js → MSlider-LyH_gy8D.js} +56 -47
  7. package/dist/MSlider-LyH_gy8D.js.map +1 -0
  8. package/dist/{MTextField-rML9jnXs.js → MTextField-FCPOTB0o.js} +65 -64
  9. package/dist/{MTextField-rML9jnXs.js.map → MTextField-FCPOTB0o.js.map} +1 -1
  10. package/dist/api.json +1 -1
  11. package/dist/code-editor.js +2 -2
  12. package/dist/components/MAnimatedNumber.vue.d.ts +27 -0
  13. package/dist/components/MIcon.vue.d.ts +2 -0
  14. package/dist/components/MListGroup.vue.d.ts +23 -0
  15. package/dist/components/MScheduler.vue.d.ts +2 -2
  16. package/dist/components/MScheme.vue.d.ts +60 -0
  17. package/dist/components/MSparkline.vue.d.ts +41 -0
  18. package/dist/components/MWindow.vue.d.ts +2 -2
  19. package/dist/components/_MDrawerItemList.vue.d.ts +2 -0
  20. package/dist/composables/_useSegmentRuns.d.ts +8 -0
  21. package/dist/composables/dynamicColor.d.ts +11 -0
  22. package/dist/composables/useColorPalette.d.ts +3 -1
  23. package/dist/composables/useConfetti.d.ts +32 -0
  24. package/dist/composables/useLocale.d.ts +6 -0
  25. package/dist/index.d.ts +7 -1
  26. package/dist/locales/index.js +21 -0
  27. package/dist/locales/index.js.map +1 -1
  28. package/dist/m3ui-vue.css +1 -1
  29. package/dist/m3ui.js +16187 -15377
  30. package/dist/m3ui.js.map +1 -1
  31. package/dist/map.js +45 -45
  32. package/dist/{material-color-utilities-Cktu8DBU.js → material-color-utilities-C_iikgRm.js} +928 -603
  33. package/dist/material-color-utilities-C_iikgRm.js.map +1 -0
  34. package/dist/rich-text-editor.js +4 -4
  35. package/dist/styles.css +1 -1
  36. package/dist/terminal.js +1 -1
  37. package/dist/{useLocale-CqQrhWFl.js → useLocale-SfQHnJfp.js} +4 -1
  38. package/dist/useLocale-SfQHnJfp.js.map +1 -0
  39. package/package.json +1 -1
  40. package/src/__tests__/MAnimatedNumber.test.ts +106 -0
  41. package/src/__tests__/MIcon.test.ts +19 -0
  42. package/src/__tests__/MListItemShape.test.ts +34 -0
  43. package/src/__tests__/MScheme.test.ts +107 -0
  44. package/src/__tests__/MSparkline.test.ts +96 -0
  45. package/src/__tests__/iconButtonNames.test.ts +124 -0
  46. package/src/__tests__/ssr.test.ts +1 -0
  47. package/src/__tests__/useConfetti.test.ts +81 -0
  48. package/src/components/MAnimatedNumber.vue +301 -0
  49. package/src/components/MAutocomplete.vue +34 -4
  50. package/src/components/MBottomSheet.vue +1 -0
  51. package/src/components/MDataTable.vue +1 -1
  52. package/src/components/MDialog.vue +2 -0
  53. package/src/components/MIcon.vue +11 -4
  54. package/src/components/MList.vue +8 -30
  55. package/src/components/MListGroup.vue +66 -0
  56. package/src/components/MMaskField.vue +3 -0
  57. package/src/components/MMultiAutocomplete.vue +5 -1
  58. package/src/components/MMultiSelect.vue +19 -9
  59. package/src/components/MScheme.vue +162 -0
  60. package/src/components/MSearchBar.vue +2 -0
  61. package/src/components/MSelect.vue +44 -10
  62. package/src/components/MSideSheet.vue +3 -0
  63. package/src/components/MSimpleCarousel.vue +6 -0
  64. package/src/components/MSparkline.vue +250 -0
  65. package/src/components/MSplitButton.vue +3 -0
  66. package/src/components/MSpotlightSearch.vue +1 -0
  67. package/src/components/MTable.vue +1 -0
  68. package/src/components/MTagInput.vue +4 -0
  69. package/src/components/MTextField.vue +3 -0
  70. package/src/components/MTour.vue +1 -0
  71. package/src/components/MTreeTable.vue +1 -0
  72. package/src/components/_MTreeNode.vue +3 -0
  73. package/src/composables/_useSegmentRuns.ts +39 -0
  74. package/src/composables/dynamicColor.ts +66 -0
  75. package/src/composables/useColorPalette.ts +2 -2
  76. package/src/composables/useConfetti.ts +204 -0
  77. package/src/composables/useLocale.ts +9 -0
  78. package/src/index.ts +7 -1
  79. package/src/locales/de.ts +3 -0
  80. package/src/locales/es.ts +3 -0
  81. package/src/locales/fr.ts +3 -0
  82. package/src/locales/ja.ts +3 -0
  83. package/src/locales/ko.ts +3 -0
  84. package/src/locales/pt.ts +3 -0
  85. package/src/locales/zh.ts +3 -0
  86. package/dist/MIcon-DLOkQduI.js.map +0 -1
  87. package/dist/MMenuItem-BOkcVtEe.js.map +0 -1
  88. package/dist/MSlider-BXsBv0ox.js.map +0 -1
  89. package/dist/material-color-utilities-Cktu8DBU.js.map +0 -1
  90. package/dist/useLocale-CqQrhWFl.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { i as e } from "./useLocale-CqQrhWFl.js";
2
- import { t } from "./MIcon-DLOkQduI.js";
1
+ import { i as e } from "./useLocale-SfQHnJfp.js";
2
+ import { t } from "./MIcon-Bxh9j135.js";
3
3
  import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
4
4
  import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, onMounted as p, openBlock as m, ref as h, renderSlot as g, toDisplayString as _, watch as v, withCtx as y } from "vue";
5
5
  //#region src/components/MCodeEditor.vue?vue&type=script&setup=true&lang.ts
@@ -0,0 +1,27 @@
1
+ import { type SpringSpec } from '../composables/motion';
2
+ type __VLS_Props = {
3
+ /** The value: a number, a `Date` for times, or seconds for a duration */
4
+ value: number | Date;
5
+ /**
6
+ * `number` (Intl.NumberFormat), `datetime` (Intl.DateTimeFormat; a `Date` or a timestamp) or `duration`
7
+ * (seconds as `h:mm:ss`, hours only when there are some). Defaults to `datetime` for a `Date`, `number` otherwise
8
+ */
9
+ type?: 'number' | 'datetime' | 'duration';
10
+ /**
11
+ * Intl options for the type: `{ style: 'currency', currency: 'EUR' }`, `{ style: 'percent' }`,
12
+ * `{ style: 'unit', unit: 'kilometer-per-hour' }`, `{ notation: 'compact' }` for numbers; `{ timeStyle: 'medium' }`
13
+ * (the default), `{ hour: '2-digit', minute: '2-digit' }`, `{ dateStyle: 'short' }` for times. Unused for durations
14
+ */
15
+ format?: Intl.NumberFormatOptions | Intl.DateTimeFormatOptions;
16
+ /** BCP-47 language for the format (`es-AR` for Argentine pesos and separators); defaults to the app's locale */
17
+ locale?: string;
18
+ /** The rolling spring; Standard SlowSpatial by default (an unhurried landing, no visible bounce) */
19
+ spring?: SpringSpec;
20
+ /** Roll to new values; false (or the system's reduced motion) jumps to them */
21
+ animate?: boolean;
22
+ };
23
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
+ animate: boolean;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
@@ -5,6 +5,8 @@ type __VLS_Props = {
5
5
  size?: number;
6
6
  /** Filled glyph (the Material Symbols FILL axis), as M3 draws a selected icon */
7
7
  filled?: boolean;
8
+ /** What the icon means, when nothing next to it says so: makes it an image with this name instead of decoration */
9
+ label?: string;
8
10
  };
9
11
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
12
  size: number;
@@ -0,0 +1,23 @@
1
+ type __VLS_Props = {
2
+ /** Heading above the group, styled like MListSubheader */
3
+ title?: string;
4
+ /** Align the title with items that have a leading icon (adds left padding) */
5
+ inset?: boolean;
6
+ };
7
+ declare var __VLS_1: {}, __VLS_3: {};
8
+ type __VLS_Slots = {} & {
9
+ title?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_3) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ inset: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -58,7 +58,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
58
58
  hour: number;
59
59
  }) => any;
60
60
  "update:date": (args_0: string) => any;
61
- "update:view": (args_0: "week" | "day") => any;
61
+ "update:view": (args_0: "day" | "week") => any;
62
62
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
63
63
  onEventClick?: ((args_0: SchedulerEvent) => any) | undefined;
64
64
  onSlotClick?: ((args_0: {
@@ -66,7 +66,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
66
66
  hour: number;
67
67
  }) => any) | undefined;
68
68
  "onUpdate:date"?: ((args_0: string) => any) | undefined;
69
- "onUpdate:view"?: ((args_0: "week" | "day") => any) | undefined;
69
+ "onUpdate:view"?: ((args_0: "day" | "week") => any) | undefined;
70
70
  }>, {
71
71
  view: "week" | "day";
72
72
  events: SchedulerEvent[];
@@ -0,0 +1,60 @@
1
+ import { type SchemeVariant } from '../composables/dynamicColor';
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
5
+ /** Seed color (`#rrggbb`) the scheme is built from */
6
+ seed?: string;
7
+ /**
8
+ * An image (URL) whose dominant color becomes the seed, picked as Android picks a wallpaper's. Cross-origin
9
+ * images need CORS headers. `seed` wins while both are set
10
+ */
11
+ image?: string;
12
+ /**
13
+ * One of the palettes (`useColorPalette().palettes`, custom ones included), applied to this element only with
14
+ * its own CSS, in its standard contrast. `seed` and `image` win while set
15
+ */
16
+ palette?: string;
17
+ /** How the seed spreads into the scheme; `content` and `fidelity` keep the seed's own color most visible */
18
+ variant?: SchemeVariant;
19
+ /** Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced) */
20
+ contrast?: number;
21
+ /** Element to render */
22
+ as?: string;
23
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ seed: (color: string) => any;
25
+ }, string, import("vue").PublicProps, Readonly<{
26
+ /** Seed color (`#rrggbb`) the scheme is built from */
27
+ seed?: string;
28
+ /**
29
+ * An image (URL) whose dominant color becomes the seed, picked as Android picks a wallpaper's. Cross-origin
30
+ * images need CORS headers. `seed` wins while both are set
31
+ */
32
+ image?: string;
33
+ /**
34
+ * One of the palettes (`useColorPalette().palettes`, custom ones included), applied to this element only with
35
+ * its own CSS, in its standard contrast. `seed` and `image` win while set
36
+ */
37
+ palette?: string;
38
+ /** How the seed spreads into the scheme; `content` and `fidelity` keep the seed's own color most visible */
39
+ variant?: SchemeVariant;
40
+ /** Contrast level: 0 standard, 0.5 medium, 1 high (-1 reduced) */
41
+ contrast?: number;
42
+ /** Element to render */
43
+ as?: string;
44
+ }> & Readonly<{
45
+ onSeed?: ((color: string) => any) | undefined;
46
+ }>, {
47
+ contrast: number;
48
+ variant: SchemeVariant;
49
+ as: string;
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
51
+ default?: (props: {
52
+ seed: string | undefined;
53
+ ready: boolean;
54
+ }) => any;
55
+ }>;
56
+ type __VLS_WithSlots<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
@@ -0,0 +1,41 @@
1
+ type __VLS_Props = {
2
+ /** The values, oldest first */
3
+ data: number[];
4
+ /** Line, line with a soft fill under it, or bars */
5
+ type?: 'line' | 'area' | 'bar';
6
+ /** An M3 color role (`primary`, `tertiary`, `error`...) or any CSS color */
7
+ color?: string;
8
+ /** Smooth curve through the points (monotone: it never overshoots them) instead of straight segments */
9
+ smooth?: boolean;
10
+ /** A dot on the last point (line and area) */
11
+ showLast?: boolean;
12
+ /** Line width in px */
13
+ strokeWidth?: number;
14
+ /** Fix the bottom of the scale (otherwise the lowest value, or 0 for bars) */
15
+ min?: number;
16
+ /** Fix the top of the scale (otherwise the highest value) */
17
+ max?: number;
18
+ /** A dashed reference line at this value (a target, yesterday's close) */
19
+ baseline?: number;
20
+ /** Follow the pointer with a dot and emit `hover` with the index under it */
21
+ interactive?: boolean;
22
+ /** Accessible name; defaults to a summary of the data in the app's language */
23
+ label?: string;
24
+ /** Spring to new data; false (or reduced motion) jumps */
25
+ animate?: boolean;
26
+ };
27
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ hover: (index: number | null) => any;
29
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
30
+ onHover?: ((index: number | null) => any) | undefined;
31
+ }>, {
32
+ color: string;
33
+ animate: boolean;
34
+ type: "line" | "area" | "bar";
35
+ smooth: boolean;
36
+ interactive: boolean;
37
+ showLast: boolean;
38
+ strokeWidth: number;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ declare const _default: typeof __VLS_export;
41
+ export default _default;
@@ -113,9 +113,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
113
113
  width: string;
114
114
  height: string;
115
115
  minHeight: number;
116
- closable: boolean;
117
- y: number;
118
116
  x: number;
117
+ y: number;
118
+ closable: boolean;
119
119
  minimizable: boolean;
120
120
  maximizable: boolean;
121
121
  draggable: boolean;
@@ -49,10 +49,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
49
49
  name: string;
50
50
  size?: number;
51
51
  filled?: boolean;
52
+ label?: string;
52
53
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
53
54
  name: string;
54
55
  size?: number;
55
56
  filled?: boolean;
57
+ label?: string;
56
58
  }> & Readonly<{}>, {
57
59
  size: number;
58
60
  filled: boolean;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Internal (not exported from index.ts): where each item of a segmented list sits in its run, for
3
+ * SegmentedListItem's segmentedShapes(index, count). A run is consecutive `role="listitem"` children of `el`;
4
+ * anything else (a subheader, an MListGroup) ends it. Used by MList and by MListGroup for its own items.
5
+ */
6
+ import { type Ref } from 'vue';
7
+ export type SegmentPosition = 'single' | 'first' | 'middle' | 'last';
8
+ export declare function useSegmentRuns(el: Ref<HTMLElement | undefined>): (item: Element | null | undefined) => SegmentPosition | undefined;
@@ -16,3 +16,14 @@ export declare const schemeRoles: readonly ["primary", "on-primary", "primary-co
16
16
  export declare function generateScheme(seed: string, options?: SeedOptions): Promise<GeneratedScheme>;
17
17
  /** CSS for a scheme under `[data-palette='<id>']` (light) and `[data-palette='<id>'].dark`, like palettes.css. */
18
18
  export declare function schemeToCss(scheme: GeneratedScheme, id: string): string;
19
+ /**
20
+ * The seed color of an image's pixels (RGBA bytes, as `ImageData.data`): its colors quantized and scored the way
21
+ * Android picks a wallpaper's source color (QuantizerCelebi + Score). Fully transparent pixels are skipped.
22
+ */
23
+ export declare function seedFromPixels(rgba: ArrayLike<number>): Promise<string>;
24
+ /**
25
+ * The seed color of an image, for `generateScheme`, `useColorPalette().setSeed()` or `MScheme`: what Android does
26
+ * with the wallpaper. Takes a URL (cross-origin images need CORS headers, or the canvas can't be read), an `<img>`,
27
+ * an `ImageBitmap` or a `Blob` (a file the user picked). Browser only.
28
+ */
29
+ export declare function seedFromImage(source: string | HTMLImageElement | ImageBitmap | Blob): Promise<string>;
@@ -189,6 +189,8 @@ export declare const CSS_KEY = "m3-palette-css";
189
189
  */
190
190
  export type ContrastLevel = 'standard' | 'medium' | 'high' | 'system';
191
191
  export { STYLE_ID };
192
+ /** Whether a stylesheet (other than our generated one) already styles `[data-palette='<id>']`. Also used by MScheme; not exported from index.ts. */
193
+ export declare function hasPaletteCss(id: string): boolean;
192
194
  export declare function useColorPalette(): {
193
195
  palette: Ref<string, string>;
194
196
  palettes: Palette[];
@@ -204,7 +206,7 @@ export declare function useColorPalette(): {
204
206
  } | null>>;
205
207
  setSeed: (seed: string, options?: SeedOptions) => Promise<void>;
206
208
  contrast: Readonly<Ref<ContrastLevel>>;
207
- activeContrast: Ref<"medium" | "standard" | "high", "medium" | "standard" | "high">;
209
+ activeContrast: Ref<"medium" | "high" | "standard", "medium" | "high" | "standard">;
208
210
  setContrast: (level: ContrastLevel) => void;
209
211
  persistPalette: Ref<boolean, boolean>;
210
212
  setPersistPalette: (enabled: boolean) => void;
@@ -0,0 +1,32 @@
1
+ import { type ShapeName } from 'shape-morph';
2
+ export interface ConfettiOptions {
3
+ /** How many pieces (default 80; 160 for `from: 'top'`) */
4
+ count?: number;
5
+ /** Shapes to pick from (MShape's names) */
6
+ shapes?: ShapeName[];
7
+ /** Any CSS colors. Default: the theme's primary, secondary and tertiary roles and their containers, read at the origin */
8
+ colors?: string[];
9
+ /** Burst from a point (default) or rain from the top of the screen */
10
+ from?: 'point' | 'top';
11
+ /** Burst angle in degrees, 0 = up (default 0) */
12
+ angle?: number;
13
+ /** Cone the pieces leave in, in degrees (default 70) */
14
+ spread?: number;
15
+ /** Launch speed in px/s (default 950) */
16
+ velocity?: number;
17
+ /** Piece size in px (default 14) */
18
+ size?: number;
19
+ }
20
+ /** Where a burst starts: the pointer of an event, an element's center, or a point in viewport pixels */
21
+ export type ConfettiOrigin = MouseEvent | PointerEvent | Element | {
22
+ x: number;
23
+ y: number;
24
+ };
25
+ /** Fires a burst of confetti. Browser only; does nothing under reduced motion. */
26
+ export declare function fireConfetti(origin?: ConfettiOrigin, options?: ConfettiOptions): void;
27
+ /** Confetti for a component: `fire(event)` from the pointer, `fire(el)` from an element, `fire({ from: 'top' })`. */
28
+ export declare function useConfetti(): {
29
+ fire: (origin?: ConfettiOrigin | ConfettiOptions, options?: ConfettiOptions) => void;
30
+ };
31
+ /** Stops every burst and removes the canvas. Internal, for tests; not exported from index.ts. */
32
+ export declare function __resetConfetti(): void;
@@ -16,6 +16,10 @@ export interface M3Locale {
16
16
  selectedCount: string;
17
17
  recordCount: string;
18
18
  expand: string;
19
+ /** Collapses an expanded item (the opposite of `expand`) */
20
+ collapse: string;
21
+ /** Clears a field's value (the × at its end) */
22
+ clear: string;
19
23
  columns: string;
20
24
  exportCsv: string;
21
25
  noGroup: string;
@@ -154,6 +158,8 @@ export interface M3Locale {
154
158
  nextPage: string;
155
159
  carousel: string;
156
160
  carouselItem: string;
161
+ /** MSparkline's summary for screen readers: {first}, {last}, {min}, {max} */
162
+ sparklineSummary: string;
157
163
  mapTitle: string;
158
164
  mapMarker: string;
159
165
  mapZoomIn: string;
package/dist/index.d.ts CHANGED
@@ -4,11 +4,13 @@ export type { M3InitialState } from './composables/_ssrState';
4
4
  export { useTheme } from './composables/useTheme';
5
5
  export type { Theme } from './composables/useTheme';
6
6
  export { useColorPalette, palettes } from './composables/useColorPalette';
7
+ export { useConfetti, fireConfetti } from './composables/useConfetti';
8
+ export type { ConfettiOptions, ConfettiOrigin } from './composables/useConfetti';
7
9
  export type { Palette, PaletteId, ActiveSeed, ContrastLevel } from './composables/useColorPalette';
8
10
  export { SEED_PALETTE } from './composables/useColorPalette';
9
11
  export { themeInitScript } from './composables/themeInitScript';
10
12
  export type { ThemeInitOptions } from './composables/themeInitScript';
11
- export { generateScheme, schemeToCss, schemeRoles } from './composables/dynamicColor';
13
+ export { generateScheme, schemeToCss, schemeRoles, seedFromImage, seedFromPixels } from './composables/dynamicColor';
12
14
  export type { SchemeVariant, SeedOptions, GeneratedScheme } from './composables/dynamicColor';
13
15
  export { useToast } from './composables/useToast';
14
16
  export type { Toast, ToastVariant, ToastPosition, ToastAction, ToastOptions } from './composables/useToast';
@@ -29,6 +31,7 @@ export { vRipple } from './directives/vRipple';
29
31
  export type { RippleOptions, RippleValue } from './directives/vRipple';
30
32
  export { default as MAbsolute } from './components/MAbsolute.vue';
31
33
  export { default as MAlert } from './components/MAlert.vue';
34
+ export { default as MAnimatedNumber } from './components/MAnimatedNumber.vue';
32
35
  export { default as MAutocomplete } from './components/MAutocomplete.vue';
33
36
  export { default as MAppBar } from './components/MAppBar.vue';
34
37
  export { default as MAppBarWithSearch } from './components/MAppBarWithSearch.vue';
@@ -97,6 +100,7 @@ export type { LightboxItem } from './components/MLightbox.vue';
97
100
  export { default as MList } from './components/MList.vue';
98
101
  export { default as MListItem } from './components/MListItem.vue';
99
102
  export { default as MListSubheader } from './components/MListSubheader.vue';
103
+ export { default as MListGroup } from './components/MListGroup.vue';
100
104
  export { default as MLoadingIndicator } from './components/MLoadingIndicator.vue';
101
105
  export { default as MLoadingOverlay } from './components/MLoadingOverlay.vue';
102
106
  export { default as MMasonry } from './components/MMasonry.vue';
@@ -132,6 +136,7 @@ export { default as MRelativeTime } from './components/MRelativeTime.vue';
132
136
  export { default as MResponsive } from './components/MResponsive.vue';
133
137
  export { default as MResult } from './components/MResult.vue';
134
138
  export { default as MScheduler } from './components/MScheduler.vue';
139
+ export { default as MScheme } from './components/MScheme.vue';
135
140
  export { default as MScrollable } from './components/MScrollable.vue';
136
141
  export { default as MSearchBar } from './components/MSearchBar.vue';
137
142
  export { default as MSection } from './components/MSection.vue';
@@ -153,6 +158,7 @@ export type { SimpleCarouselItem } from './components/MSimpleCarousel.vue';
153
158
  export { default as MSkeleton } from './components/MSkeleton.vue';
154
159
  export { default as MSlider } from './components/MSlider.vue';
155
160
  export { default as MSnackbar } from './components/MSnackbar.vue';
161
+ export { default as MSparkline } from './components/MSparkline.vue';
156
162
  export { default as MSpacer } from './components/MSpacer.vue';
157
163
  export { default as MSpinner } from './components/MSpinner.vue';
158
164
  export { default as MSplitButton } from './components/MSplitButton.vue';
@@ -15,6 +15,8 @@ var e = {
15
15
  selectedCount: "seleccionados",
16
16
  recordCount: "registro",
17
17
  expand: "Expandir",
18
+ collapse: "Contraer",
19
+ clear: "Borrar",
18
20
  columns: "Columnas",
19
21
  exportCsv: "Exportar CSV",
20
22
  noGroup: "Sin grupo",
@@ -153,6 +155,7 @@ var e = {
153
155
  nextPage: "Página siguiente",
154
156
  carousel: "Carrusel",
155
157
  carouselItem: "{index} de {count}",
158
+ sparklineSummary: "De {first} a {last}, mínimo {min}, máximo {max}",
156
159
  mapTitle: "Mapa",
157
160
  mapMarker: "Marcador del mapa",
158
161
  mapZoomIn: "Acercar",
@@ -199,6 +202,8 @@ var e = {
199
202
  selectedCount: "sélectionnés",
200
203
  recordCount: "enregistrement",
201
204
  expand: "Développer",
205
+ collapse: "Réduire",
206
+ clear: "Effacer",
202
207
  columns: "Colonnes",
203
208
  exportCsv: "Exporter CSV",
204
209
  noGroup: "Sans groupe",
@@ -337,6 +342,7 @@ var e = {
337
342
  nextPage: "Page suivante",
338
343
  carousel: "Carrousel",
339
344
  carouselItem: "{index} sur {count}",
345
+ sparklineSummary: "De {first} à {last}, minimum {min}, maximum {max}",
340
346
  mapTitle: "Carte",
341
347
  mapMarker: "Marqueur de carte",
342
348
  mapZoomIn: "Zoom avant",
@@ -383,6 +389,8 @@ var e = {
383
389
  selectedCount: "selecionados",
384
390
  recordCount: "registro",
385
391
  expand: "Expandir",
392
+ collapse: "Recolher",
393
+ clear: "Limpar",
386
394
  columns: "Colunas",
387
395
  exportCsv: "Exportar CSV",
388
396
  noGroup: "Sem grupo",
@@ -521,6 +529,7 @@ var e = {
521
529
  nextPage: "Próxima página",
522
530
  carousel: "Carrossel",
523
531
  carouselItem: "{index} de {count}",
532
+ sparklineSummary: "De {first} a {last}, mínimo {min}, máximo {max}",
524
533
  mapTitle: "Mapa",
525
534
  mapMarker: "Marcador do mapa",
526
535
  mapZoomIn: "Aproximar",
@@ -567,6 +576,8 @@ var e = {
567
576
  selectedCount: "ausgewählt",
568
577
  recordCount: "Datensatz",
569
578
  expand: "Erweitern",
579
+ collapse: "Einklappen",
580
+ clear: "Löschen",
570
581
  columns: "Spalten",
571
582
  exportCsv: "CSV exportieren",
572
583
  noGroup: "Keine Gruppe",
@@ -705,6 +716,7 @@ var e = {
705
716
  nextPage: "Nächste Seite",
706
717
  carousel: "Karussell",
707
718
  carouselItem: "{index} von {count}",
719
+ sparklineSummary: "Von {first} bis {last}, Minimum {min}, Maximum {max}",
708
720
  mapTitle: "Karte",
709
721
  mapMarker: "Kartenmarkierung",
710
722
  mapZoomIn: "Vergrößern",
@@ -751,6 +763,8 @@ var e = {
751
763
  selectedCount: "件選択中",
752
764
  recordCount: "件",
753
765
  expand: "展開",
766
+ collapse: "折りたたむ",
767
+ clear: "クリア",
754
768
  columns: "列",
755
769
  exportCsv: "CSV エクスポート",
756
770
  noGroup: "グループなし",
@@ -889,6 +903,7 @@ var e = {
889
903
  nextPage: "次のページ",
890
904
  carousel: "カルーセル",
891
905
  carouselItem: "{count} 件中 {index} 件目",
906
+ sparklineSummary: "{first} から {last}、最小 {min}、最大 {max}",
892
907
  mapTitle: "地図",
893
908
  mapMarker: "地図のマーカー",
894
909
  mapZoomIn: "ズームイン",
@@ -935,6 +950,8 @@ var e = {
935
950
  selectedCount: "已选择",
936
951
  recordCount: "条记录",
937
952
  expand: "展开",
953
+ collapse: "收起",
954
+ clear: "清除",
938
955
  columns: "列",
939
956
  exportCsv: "导出 CSV",
940
957
  noGroup: "无分组",
@@ -1073,6 +1090,7 @@ var e = {
1073
1090
  nextPage: "下一页",
1074
1091
  carousel: "轮播",
1075
1092
  carouselItem: "第 {index} 项,共 {count} 项",
1093
+ sparklineSummary: "从 {first} 到 {last},最低 {min},最高 {max}",
1076
1094
  mapTitle: "地图",
1077
1095
  mapMarker: "地图标记",
1078
1096
  mapZoomIn: "放大",
@@ -1119,6 +1137,8 @@ var e = {
1119
1137
  selectedCount: "선택됨",
1120
1138
  recordCount: "개 레코드",
1121
1139
  expand: "펼치기",
1140
+ collapse: "접기",
1141
+ clear: "지우기",
1122
1142
  columns: "열",
1123
1143
  exportCsv: "CSV 내보내기",
1124
1144
  noGroup: "그룹 없음",
@@ -1257,6 +1277,7 @@ var e = {
1257
1277
  nextPage: "다음 페이지",
1258
1278
  carousel: "캐러셀",
1259
1279
  carouselItem: "{count}개 중 {index}번째",
1280
+ sparklineSummary: "{first}에서 {last}, 최소 {min}, 최대 {max}",
1260
1281
  mapTitle: "지도",
1261
1282
  mapMarker: "지도 마커",
1262
1283
  mapZoomIn: "확대",