@m3ui-vue/m3ui-vue 0.5.9 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +26 -1
  2. package/dist/{MMenuItem-DyY4zhRA.js → MMenuItem-DbbrJhFE.js} +2 -2
  3. package/dist/{MMenuItem-DyY4zhRA.js.map → MMenuItem-DbbrJhFE.js.map} +1 -1
  4. package/dist/barcode.d.ts +1 -0
  5. package/dist/barcode.js +51 -0
  6. package/dist/barcode.js.map +1 -0
  7. package/dist/code-editor.js +1 -1
  8. package/dist/components/MAutocomplete.vue.d.ts +1 -1
  9. package/dist/components/MBarcode.vue.d.ts +35 -0
  10. package/dist/components/MButton.vue.d.ts +1 -1
  11. package/dist/components/MButtonGroup.vue.d.ts +1 -1
  12. package/dist/components/MChatBubble.vue.d.ts +1 -1
  13. package/dist/components/MCircleProgressBar.vue.d.ts +1 -1
  14. package/dist/components/MCopyButton.vue.d.ts +31 -0
  15. package/dist/components/MExportButton.vue.d.ts +43 -0
  16. package/dist/components/MFab.vue.d.ts +1 -1
  17. package/dist/components/MKbd.vue.d.ts +12 -0
  18. package/dist/components/MMultiAutocomplete.vue.d.ts +1 -1
  19. package/dist/components/MMultiSelect.vue.d.ts +1 -1
  20. package/dist/components/MPasswordMeter.vue.d.ts +17 -0
  21. package/dist/components/MPinInput.vue.d.ts +35 -0
  22. package/dist/components/MQRCode.vue.d.ts +35 -0
  23. package/dist/components/MRating.vue.d.ts +1 -1
  24. package/dist/components/MRelativeTime.vue.d.ts +8 -0
  25. package/dist/components/MSelect.vue.d.ts +1 -1
  26. package/dist/components/MShader.vue.d.ts +2 -2
  27. package/dist/components/MSignaturePad.vue.d.ts +37 -0
  28. package/dist/components/MSlider.vue.d.ts +1 -1
  29. package/dist/components/MSplitButton.vue.d.ts +1 -1
  30. package/dist/components/MSubtitle.vue.d.ts +1 -1
  31. package/dist/components/MTerminal.vue.d.ts +2 -2
  32. package/dist/components/MTitle.vue.d.ts +1 -1
  33. package/dist/components/MWindow.vue.d.ts +1 -1
  34. package/dist/composables/useLocale.d.ts +2 -0
  35. package/dist/index.d.ts +7 -0
  36. package/dist/locales/index.js +7 -0
  37. package/dist/locales/index.js.map +1 -1
  38. package/dist/m3ui.js +1194 -724
  39. package/dist/m3ui.js.map +1 -1
  40. package/dist/qrcode.d.ts +1 -0
  41. package/dist/qrcode.js +117 -0
  42. package/dist/qrcode.js.map +1 -0
  43. package/dist/rich-text-editor.js +2 -2
  44. package/dist/{useLocale-QCIVDYWx.js → useLocale-BKsIWNix.js} +2 -1
  45. package/dist/useLocale-BKsIWNix.js.map +1 -0
  46. package/package.json +23 -3
  47. package/src/__tests__/MBarcode.test.ts +40 -0
  48. package/src/__tests__/MCopyButton.test.ts +49 -0
  49. package/src/__tests__/MExportButton.test.ts +64 -0
  50. package/src/__tests__/MKbd.test.ts +33 -0
  51. package/src/__tests__/MPasswordMeter.test.ts +43 -0
  52. package/src/__tests__/MPinInput.test.ts +138 -0
  53. package/src/__tests__/MQRCode.test.ts +58 -0
  54. package/src/__tests__/MRelativeTime.test.ts +43 -0
  55. package/src/__tests__/MSignaturePad.test.ts +62 -0
  56. package/src/barcode.ts +1 -0
  57. package/src/components/MBarcode.vue +61 -0
  58. package/src/components/MCopyButton.vue +62 -0
  59. package/src/components/MExportButton.vue +73 -0
  60. package/src/components/MKbd.vue +36 -0
  61. package/src/components/MPasswordMeter.vue +56 -0
  62. package/src/components/MPinInput.vue +202 -0
  63. package/src/components/MQRCode.vue +131 -0
  64. package/src/components/MRelativeTime.vue +68 -0
  65. package/src/components/MSignaturePad.vue +138 -0
  66. package/src/composables/useLocale.ts +5 -0
  67. package/src/index.ts +7 -0
  68. package/src/locales/de.ts +2 -0
  69. package/src/locales/es.ts +2 -0
  70. package/src/locales/fr.ts +2 -0
  71. package/src/locales/ja.ts +2 -0
  72. package/src/locales/ko.ts +2 -0
  73. package/src/locales/pt.ts +2 -0
  74. package/src/locales/zh.ts +2 -0
  75. package/src/qrcode.ts +1 -0
  76. package/dist/useLocale-QCIVDYWx.js.map +0 -1
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ value: string;
3
+ /** Barcode symbology. Common values: 'CODE128', 'EAN13', 'EAN8', 'UPC', 'CODE39', 'ITF14', 'MSI', 'pharmacode', 'codabar'. */
4
+ format?: string;
5
+ width?: number;
6
+ height?: number;
7
+ displayValue?: boolean;
8
+ color?: string;
9
+ background?: string;
10
+ margin?: number;
11
+ fontSize?: number;
12
+ label?: string;
13
+ };
14
+ declare var __VLS_1: {};
15
+ type __VLS_Slots = {} & {
16
+ error?: (props: typeof __VLS_1) => any;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
+ format: string;
20
+ width: number;
21
+ height: number;
22
+ displayValue: boolean;
23
+ color: string;
24
+ background: string;
25
+ margin: number;
26
+ fontSize: number;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -19,9 +19,9 @@ type __VLS_Slots = {} & {
19
19
  default?: (props: typeof __VLS_20) => any;
20
20
  };
21
21
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
+ color: string;
22
23
  type: "button" | "submit" | "reset";
23
24
  size: "xs" | "sm" | "md" | "lg" | "xl";
24
- color: string;
25
25
  loading: boolean;
26
26
  variant: "filled" | "tonal" | "outlined" | "text" | "elevated";
27
27
  shape: "rounded" | "squared";
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
18
18
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
19
19
  "onUpdate:modelValue"?: ((args_0: unknown) => any) | undefined;
20
20
  }>, {
21
- size: "xs" | "sm" | "md" | "lg" | "xl";
22
21
  color: "primary" | "secondary" | "tertiary";
22
+ size: "xs" | "sm" | "md" | "lg" | "xl";
23
23
  variant: "standard" | "connected";
24
24
  multiSelect: boolean;
25
25
  selectionRequired: boolean;
@@ -16,8 +16,8 @@ type __VLS_Slots = {} & {
16
16
  default?: (props: typeof __VLS_6) => any;
17
17
  };
18
18
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
- size: "small" | "medium" | "large";
20
19
  color: "primary" | "secondary" | "tertiary";
20
+ size: "small" | "medium" | "large";
21
21
  side: "left" | "right";
22
22
  tail: boolean;
23
23
  maxWidth: string;
@@ -12,8 +12,8 @@ type __VLS_Slots = {} & {
12
12
  default?: (props: typeof __VLS_1) => any;
13
13
  };
14
14
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
- size: number;
16
15
  color: "primary" | "secondary" | "tertiary" | "error";
16
+ size: number;
17
17
  variant: "circle" | "wavy";
18
18
  thickness: number;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,31 @@
1
+ type __VLS_Props = {
2
+ value: string;
3
+ icon?: string;
4
+ copiedIcon?: string;
5
+ label?: string;
6
+ copiedLabel?: string;
7
+ variant?: 'standard' | 'filled' | 'tonal' | 'outlined';
8
+ shape?: 'rounded' | 'squared';
9
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number;
10
+ disabled?: boolean;
11
+ resetDelay?: number;
12
+ };
13
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ error: (args_0: unknown) => any;
15
+ copied: (args_0: string) => any;
16
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ onError?: ((args_0: unknown) => any) | undefined;
18
+ onCopied?: ((args_0: string) => any) | undefined;
19
+ }>, {
20
+ label: string;
21
+ size: "xs" | "sm" | "md" | "lg" | "xl" | number;
22
+ variant: "standard" | "filled" | "tonal" | "outlined";
23
+ icon: string;
24
+ shape: "rounded" | "squared";
25
+ disabled: boolean;
26
+ copiedIcon: string;
27
+ copiedLabel: string;
28
+ resetDelay: number;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
@@ -0,0 +1,43 @@
1
+ type __VLS_Props = {
2
+ data: Record<string, unknown>[];
3
+ format?: 'csv' | 'json';
4
+ filename?: string;
5
+ label?: string;
6
+ icon?: string;
7
+ variant?: 'filled' | 'tonal' | 'outlined' | 'text' | 'elevated';
8
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
9
+ disabled?: boolean;
10
+ };
11
+ declare var __VLS_10: {};
12
+ type __VLS_Slots = {} & {
13
+ default?: (props: typeof __VLS_10) => any;
14
+ };
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
+ error: (args_0: unknown) => any;
17
+ exported: (args_0: {
18
+ format: string;
19
+ filename: string;
20
+ }) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ onError?: ((args_0: unknown) => any) | undefined;
23
+ onExported?: ((args_0: {
24
+ format: string;
25
+ filename: string;
26
+ }) => any) | undefined;
27
+ }>, {
28
+ format: "csv" | "json";
29
+ label: string;
30
+ size: "xs" | "sm" | "md" | "lg" | "xl";
31
+ variant: "filled" | "tonal" | "outlined" | "text" | "elevated";
32
+ icon: string;
33
+ disabled: boolean;
34
+ filename: string;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
+ declare const _default: typeof __VLS_export;
38
+ export default _default;
39
+ type __VLS_WithSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -26,8 +26,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
26
26
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
27
  onClick?: ((args_0: MouseEvent) => any) | undefined;
28
28
  }>, {
29
- size: "small" | "regular" | "large";
30
29
  color: "primary" | "secondary" | "tertiary" | "surface";
30
+ size: "small" | "regular" | "large";
31
31
  disabled: boolean;
32
32
  persistent: boolean;
33
33
  direction: "up" | "down" | "left" | "right" | "radial";
@@ -0,0 +1,12 @@
1
+ type __VLS_Props = {
2
+ /** A '+'-delimited string ("Ctrl+Shift+K") or an array of keys (['Ctrl', 'Shift', 'K']). */
3
+ keys: string | string[];
4
+ size?: 'sm' | 'md' | 'lg';
5
+ separator?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ size: "sm" | "md" | "lg";
9
+ separator: string;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
@@ -26,10 +26,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
26
26
  "onUpdate:modelValue"?: ((args_0: unknown[]) => any) | undefined;
27
27
  onDebounced?: ((args_0: string) => any) | undefined;
28
28
  }>, {
29
+ mode: "docked" | "modal";
29
30
  required: boolean;
30
31
  modelValue: unknown[];
31
32
  variant: "filled" | "outlined";
32
- mode: "docked" | "modal";
33
33
  disabled: boolean;
34
34
  clearable: boolean;
35
35
  debounce: number;
@@ -33,10 +33,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
33
33
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
34
34
  "onUpdate:modelValue"?: ((args_0: unknown[]) => any) | undefined;
35
35
  }>, {
36
+ mode: "docked" | "modal";
36
37
  required: boolean;
37
38
  modelValue: unknown[];
38
39
  variant: "filled" | "outlined";
39
- mode: "docked" | "modal";
40
40
  disabled: boolean;
41
41
  clearable: boolean;
42
42
  searchable: boolean;
@@ -0,0 +1,17 @@
1
+ type __VLS_Props = {
2
+ value: string;
3
+ /** 5 labels, weakest to strongest. */
4
+ labels?: string[];
5
+ /** Length considered "long enough" — also used (+4) as the "very long" bonus threshold. */
6
+ minLength?: number;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ score: (args_0: number) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onScore?: ((args_0: number) => any) | undefined;
12
+ }>, {
13
+ labels: string[];
14
+ minLength: number;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ modelValue: string;
3
+ length?: number;
4
+ /** Segment sizes for a grouped layout, e.g. [2, 4, 2, 3, 1, 3] renders `__ ____ __ ___ _ ___`. Overrides `length` (derived as the sum). */
5
+ groups?: number[];
6
+ /** Visual separator rendered between groups (only used when `groups` is set). */
7
+ separator?: string;
8
+ type?: 'numeric' | 'alphanumeric';
9
+ masked?: boolean;
10
+ variant?: 'filled' | 'outlined';
11
+ error?: boolean;
12
+ errorLabel?: string;
13
+ hint?: string;
14
+ disabled?: boolean;
15
+ autoFocus?: boolean;
16
+ label?: string;
17
+ };
18
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ "update:modelValue": (args_0: string) => any;
20
+ complete: (args_0: string) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
23
+ onComplete?: ((args_0: string) => any) | undefined;
24
+ }>, {
25
+ length: number;
26
+ type: "numeric" | "alphanumeric";
27
+ modelValue: string;
28
+ variant: "filled" | "outlined";
29
+ disabled: boolean;
30
+ separator: string;
31
+ masked: boolean;
32
+ autoFocus: boolean;
33
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
@@ -0,0 +1,35 @@
1
+ type __VLS_Props = {
2
+ value: string;
3
+ size?: number;
4
+ /** Quiet zone around the code, in modules. */
5
+ margin?: number;
6
+ errorCorrectionLevel?: 'L' | 'M' | 'Q' | 'H';
7
+ color?: string;
8
+ background?: string;
9
+ label?: string;
10
+ /** Rounds the outer container corners. */
11
+ rounded?: boolean;
12
+ /** 'square' is the classic scannable pixel grid. 'dots' rounds each module — still fully scannable, just a softer look. */
13
+ moduleStyle?: 'square' | 'dots';
14
+ };
15
+ declare var __VLS_1: {};
16
+ type __VLS_Slots = {} & {
17
+ error?: (props: typeof __VLS_1) => any;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ color: string;
21
+ background: string;
22
+ margin: number;
23
+ size: number;
24
+ rounded: boolean;
25
+ errorCorrectionLevel: "L" | "M" | "Q" | "H";
26
+ moduleStyle: "square" | "dots";
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -13,8 +13,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((args_0: number) => any) | undefined;
15
15
  }>, {
16
- size: number;
17
16
  color: string;
17
+ size: number;
18
18
  icon: string;
19
19
  max: number;
20
20
  halfIncrements: boolean;
@@ -0,0 +1,8 @@
1
+ type __VLS_Props = {
2
+ value: string | number | Date;
3
+ /** BCP-47 locale tag (e.g. 'es-ES'). Defaults to the app's locale (via createM3UI/useLocale), then the browser's locale. */
4
+ locale?: string;
5
+ };
6
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -24,10 +24,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
24
24
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
25
  "onUpdate:modelValue"?: ((args_0: unknown) => any) | undefined;
26
26
  }>, {
27
+ mode: "docked" | "modal";
27
28
  required: boolean;
28
29
  modelValue: undefined;
29
30
  variant: "filled" | "outlined";
30
- mode: "docked" | "modal";
31
31
  disabled: boolean;
32
32
  clearable: boolean;
33
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -36,11 +36,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
36
36
  play: () => void;
37
37
  restart: () => Promise<void>;
38
38
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
- ready: (renderer: "webgpu" | "webgl") => any;
40
39
  error: (message: string) => any;
40
+ ready: (renderer: "webgpu" | "webgl") => any;
41
41
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
42
- onReady?: ((renderer: "webgpu" | "webgl") => any) | undefined;
43
42
  onError?: ((message: string) => any) | undefined;
43
+ onReady?: ((renderer: "webgpu" | "webgl") => any) | undefined;
44
44
  }>, {
45
45
  renderer: ShaderRenderer;
46
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -0,0 +1,37 @@
1
+ type __VLS_Props = {
2
+ width?: number;
3
+ height?: number;
4
+ lineWidth?: number;
5
+ color?: string;
6
+ background?: string;
7
+ variant?: 'filled' | 'outlined';
8
+ disabled?: boolean;
9
+ };
10
+ declare function clear(): void;
11
+ declare function undo(): void;
12
+ declare function isEmpty(): boolean;
13
+ declare function toDataURL(type?: string, quality?: number): string;
14
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
15
+ clear: typeof clear;
16
+ undo: typeof undo;
17
+ isEmpty: typeof isEmpty;
18
+ toDataURL: typeof toDataURL;
19
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ change: (args_0: string) => any;
21
+ end: (args_0: string) => any;
22
+ begin: () => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ onChange?: ((args_0: string) => any) | undefined;
25
+ onEnd?: ((args_0: string) => any) | undefined;
26
+ onBegin?: (() => any) | undefined;
27
+ }>, {
28
+ width: number;
29
+ height: number;
30
+ color: string;
31
+ background: string;
32
+ variant: "filled" | "outlined";
33
+ disabled: boolean;
34
+ lineWidth: number;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
36
+ declare const _default: typeof __VLS_export;
37
+ export default _default;
@@ -19,8 +19,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
19
19
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((args_0: number | [number, number]) => any) | undefined;
21
21
  }>, {
22
- size: "xs" | "sm" | "md" | "lg" | "xl";
23
22
  color: "primary" | "secondary" | "tertiary" | "error";
23
+ size: "xs" | "sm" | "md" | "lg" | "xl";
24
24
  variant: "standard" | "centered" | "range";
25
25
  disabled: boolean;
26
26
  max: number;
@@ -24,8 +24,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
24
24
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
25
25
  onClick?: ((args_0: MouseEvent) => any) | undefined;
26
26
  }>, {
27
- size: "xs" | "sm" | "md" | "lg" | "xl";
28
27
  color: "primary" | "secondary" | "tertiary";
28
+ size: "xs" | "sm" | "md" | "lg" | "xl";
29
29
  variant: "filled" | "tonal" | "outlined" | "elevated";
30
30
  disabled: boolean;
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -9,8 +9,8 @@ type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
- size: "large" | "medium" | "small";
13
12
  color: "on-surface" | "on-surface-variant" | "primary" | "secondary" | "tertiary" | "error" | "inherit";
13
+ size: "large" | "medium" | "small";
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
16
  declare const _default: typeof __VLS_export;
@@ -10,11 +10,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
10
10
  clear: () => any;
11
11
  focus: () => any;
12
12
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- line: (args_0: string) => any;
14
13
  input: (args_0: string) => any;
14
+ line: (args_0: string) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
- onLine?: ((args_0: string) => any) | undefined;
17
16
  onInput?: ((args_0: string) => any) | undefined;
17
+ onLine?: ((args_0: string) => any) | undefined;
18
18
  }>, {
19
19
  title: string;
20
20
  readonly: boolean;
@@ -9,8 +9,8 @@ type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
- size: "large" | "medium" | "small";
13
12
  color: "on-surface" | "on-surface-variant" | "primary" | "secondary" | "tertiary" | "error" | "inherit";
13
+ size: "large" | "medium" | "small";
14
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
16
  declare const _default: typeof __VLS_export;
@@ -33,9 +33,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
33
33
  onClose?: (() => any) | undefined;
34
34
  onMinimize?: (() => any) | undefined;
35
35
  }>, {
36
+ width: string;
36
37
  height: string;
37
38
  minHeight: number;
38
- width: string;
39
39
  closable: boolean;
40
40
  y: number;
41
41
  x: number;
@@ -1,5 +1,7 @@
1
1
  import { type InjectionKey, type MaybeRef } from 'vue';
2
2
  export interface M3Locale {
3
+ /** BCP-47 language tag (e.g. 'en', 'es', 'pt') — read by locale-aware components (MRelativeTime) that use Intl formatting. */
4
+ lang: string;
3
5
  search: string;
4
6
  noResults: string;
5
7
  close: string;
package/dist/index.d.ts CHANGED
@@ -40,6 +40,7 @@ export { default as MCommandPalette } from './components/MCommandPalette.vue';
40
40
  export { default as MConfirmDialog } from './components/MConfirmDialog.vue';
41
41
  export { default as MContainer } from './components/MContainer.vue';
42
42
  export { default as MContextMenu } from './components/MContextMenu.vue';
43
+ export { default as MCopyButton } from './components/MCopyButton.vue';
43
44
  export { default as MDataTable } from './components/MDataTable.vue';
44
45
  export { default as MDatePicker } from './components/MDatePicker.vue';
45
46
  export { default as MDatePickerModal } from './components/MDatePickerModal.vue';
@@ -53,6 +54,7 @@ export { default as MEmojiButton } from './components/MEmojiButton.vue';
53
54
  export { default as MEmojiSelector } from './components/MEmojiSelector.vue';
54
55
  export { default as MEmptyState } from './components/MEmptyState.vue';
55
56
  export { default as MExpansionPanel } from './components/MExpansionPanel.vue';
57
+ export { default as MExportButton } from './components/MExportButton.vue';
56
58
  export { default as MFab } from './components/MFab.vue';
57
59
  export { default as MFileUpload } from './components/MFileUpload.vue';
58
60
  export { default as MFixed } from './components/MFixed.vue';
@@ -66,6 +68,7 @@ export { default as MIconButton } from './components/MIconButton.vue';
66
68
  export { default as MInfiniteScroll } from './components/MInfiniteScroll.vue';
67
69
  export { default as MJsonViewer } from './components/MJsonViewer.vue';
68
70
  export { default as MKanban } from './components/MKanban.vue';
71
+ export { default as MKbd } from './components/MKbd.vue';
69
72
  export { default as MList } from './components/MList.vue';
70
73
  export { default as MListItem } from './components/MListItem.vue';
71
74
  export { default as MListSubheader } from './components/MListSubheader.vue';
@@ -85,12 +88,15 @@ export { default as MNavigationDrawer } from './components/MNavigationDrawer.vue
85
88
  export { default as MNavigationRail } from './components/MNavigationRail.vue';
86
89
  export { default as MOverlay } from './components/MOverlay.vue';
87
90
  export { default as MPagination } from './components/MPagination.vue';
91
+ export { default as MPasswordMeter } from './components/MPasswordMeter.vue';
92
+ export { default as MPinInput } from './components/MPinInput.vue';
88
93
  export { default as MProgressBar } from './components/MProgressBar.vue';
89
94
  export { default as MCircleProgressBar } from './components/MCircleProgressBar.vue';
90
95
  export { default as MRadio } from './components/MRadio.vue';
91
96
  export { default as MRadioGroup } from './components/MRadioGroup.vue';
92
97
  export { default as MRating } from './components/MRating.vue';
93
98
  export { default as MRelative } from './components/MRelative.vue';
99
+ export { default as MRelativeTime } from './components/MRelativeTime.vue';
94
100
  export { default as MResponsive } from './components/MResponsive.vue';
95
101
  export { default as MResult } from './components/MResult.vue';
96
102
  export { default as MScheduler } from './components/MScheduler.vue';
@@ -102,6 +108,7 @@ export type { SelectOption } from './components/MSelect.vue';
102
108
  export { default as MShader } from './components/MShader.vue';
103
109
  export type { ShaderRenderer, ShaderStatus } from './components/MShader.vue';
104
110
  export { default as MSideSheet } from './components/MSideSheet.vue';
111
+ export { default as MSignaturePad } from './components/MSignaturePad.vue';
105
112
  export { default as MSkeleton } from './components/MSkeleton.vue';
106
113
  export { default as MSlider } from './components/MSlider.vue';
107
114
  export { default as MSnackbar } from './components/MSnackbar.vue';
@@ -1,5 +1,6 @@
1
1
  //#region src/locales/es.ts
2
2
  var e = {
3
+ lang: "es",
3
4
  search: "Buscar...",
4
5
  noResults: "Sin resultados",
5
6
  close: "Cerrar",
@@ -75,6 +76,7 @@ var e = {
75
76
  jsonElements: "elementos",
76
77
  jsonFields: "campos"
77
78
  }, t = {
79
+ lang: "fr",
78
80
  search: "Rechercher...",
79
81
  noResults: "Aucun résultat",
80
82
  close: "Fermer",
@@ -150,6 +152,7 @@ var e = {
150
152
  jsonElements: "éléments",
151
153
  jsonFields: "champs"
152
154
  }, n = {
155
+ lang: "pt",
153
156
  search: "Pesquisar...",
154
157
  noResults: "Sem resultados",
155
158
  close: "Fechar",
@@ -225,6 +228,7 @@ var e = {
225
228
  jsonElements: "elementos",
226
229
  jsonFields: "campos"
227
230
  }, r = {
231
+ lang: "de",
228
232
  search: "Suchen...",
229
233
  noResults: "Keine Ergebnisse",
230
234
  close: "Schließen",
@@ -300,6 +304,7 @@ var e = {
300
304
  jsonElements: "Elemente",
301
305
  jsonFields: "Felder"
302
306
  }, i = {
307
+ lang: "ja",
303
308
  search: "検索...",
304
309
  noResults: "結果なし",
305
310
  close: "閉じる",
@@ -375,6 +380,7 @@ var e = {
375
380
  jsonElements: "要素",
376
381
  jsonFields: "フィールド"
377
382
  }, a = {
383
+ lang: "zh",
378
384
  search: "搜索...",
379
385
  noResults: "无结果",
380
386
  close: "关闭",
@@ -450,6 +456,7 @@ var e = {
450
456
  jsonElements: "个元素",
451
457
  jsonFields: "个字段"
452
458
  }, o = {
459
+ lang: "ko",
453
460
  search: "검색...",
454
461
  noResults: "결과 없음",
455
462
  close: "닫기",