maz-ui 3.44.4-beta.12 → 3.44.4-beta.13

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 (166) hide show
  1. package/components/MazAccordion.mjs +5 -3
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.d.ts +1 -0
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCarousel.mjs +1 -1
  7. package/components/MazChart.d.ts +1 -1
  8. package/components/MazCheckbox.mjs +44 -42
  9. package/components/MazCircularProgressBar.mjs +22 -20
  10. package/components/MazDialog.mjs +1 -1
  11. package/components/MazDialogPromise.mjs +1 -1
  12. package/components/MazDrawer.mjs +1 -1
  13. package/components/MazDropdown.mjs +6 -4
  14. package/components/MazInput.mjs +1 -1
  15. package/components/MazInputNumber.mjs +1 -1
  16. package/components/MazInputPrice.mjs +1 -1
  17. package/components/MazInputTags.mjs +1 -1
  18. package/components/MazPagination.mjs +1 -1
  19. package/components/MazPhoneNumberInput.mjs +1 -1
  20. package/components/MazPicker.d.ts +16 -0
  21. package/components/MazPicker.mjs +1 -1
  22. package/components/MazRadio.mjs +18 -16
  23. package/components/MazRadioButtons.mjs +1 -1
  24. package/components/MazSelect.mjs +1 -1
  25. package/components/MazStepper.mjs +1 -1
  26. package/components/MazSwitch.mjs +18 -16
  27. package/components/MazTable.mjs +1 -1
  28. package/components/MazTextarea.mjs +19 -17
  29. package/components/assets/MazAccordion.css +1 -1
  30. package/components/assets/MazBtn.css +1 -1
  31. package/components/assets/MazCard.css +1 -1
  32. package/components/assets/MazCheckbox.css +1 -1
  33. package/components/assets/MazCircularProgressBar.css +1 -1
  34. package/components/assets/MazDropdown.css +1 -1
  35. package/components/assets/MazInput.css +1 -1
  36. package/components/assets/MazInputNumber.css +1 -1
  37. package/components/assets/MazInputPrice.css +1 -1
  38. package/components/assets/MazInputTags.css +1 -1
  39. package/components/assets/MazPagination.css +1 -1
  40. package/components/assets/MazPhoneNumberInput.css +1 -1
  41. package/components/assets/MazPicker.css +1 -1
  42. package/components/assets/MazRadio.css +1 -1
  43. package/components/assets/MazRadioButtons.css +1 -1
  44. package/components/assets/MazSelect.css +1 -1
  45. package/components/assets/MazStepper.css +1 -1
  46. package/components/assets/MazSwitch.css +1 -1
  47. package/components/assets/MazTable.css +1 -1
  48. package/components/assets/MazTabsBar.css +1 -1
  49. package/components/assets/MazTextarea.css +1 -1
  50. package/components/chunks/{MazBottomSheet-DpI8wFgc.mjs → MazBottomSheet-CH2HERnA.mjs} +1 -1
  51. package/components/chunks/MazBtn-25C5Rxq8.mjs +150 -0
  52. package/components/chunks/{MazBtn-C7RDTnn-.mjs → MazBtn-Am8V9GhQ.mjs} +4 -4
  53. package/components/chunks/{MazBtn-BIVlttu0.mjs → MazBtn-BY3WK1_J.mjs} +4 -4
  54. package/components/chunks/MazBtn-CHiPgDBd.mjs +150 -0
  55. package/components/chunks/MazBtn-Cljl5o-I.mjs +150 -0
  56. package/components/chunks/MazBtn-Ctia-461.mjs +150 -0
  57. package/components/chunks/MazBtn-DODywrLx.mjs +150 -0
  58. package/components/chunks/{MazBtn-BQ7aH6Qe.mjs → MazBtn-DUxqd_DK.mjs} +3 -3
  59. package/components/chunks/{MazBtn-BpA0sObZ.mjs → MazBtn-DaGlZoUy.mjs} +4 -4
  60. package/components/chunks/{MazBtn-Dfz-5FeI.mjs → MazBtn-Db9bWwr8.mjs} +3 -3
  61. package/components/chunks/{MazBtn-BPU_AqTZ.mjs → MazBtn-DtBz7Sra.mjs} +4 -4
  62. package/components/chunks/{MazCard-BiDXoNWK.mjs → MazCard-BOVaL2TX.mjs} +3 -3
  63. package/components/chunks/{MazCarousel-DJ_nQfy4.mjs → MazCarousel-abKXCTQA.mjs} +1 -1
  64. package/components/chunks/{MazCheckbox-Bn3Dj9NV.mjs → MazCheckbox-DJUwF9Ic.mjs} +6 -6
  65. package/components/chunks/{MazCheckbox-Dd9Lbwu5.mjs → MazCheckbox-cCi1trWo.mjs} +6 -6
  66. package/components/chunks/{MazDialog-DXaeCp-b.mjs → MazDialog-DvwYzTxG.mjs} +1 -1
  67. package/components/chunks/{MazDialogPromise-Bgxjg9ss.mjs → MazDialogPromise-LtvHsHIp.mjs} +2 -2
  68. package/components/chunks/{MazExpandAnimation-ChSSdQAq.mjs → MazExpandAnimation-KC7-CJjE.mjs} +1 -1
  69. package/components/chunks/{MazGallery-SSMQ_JIA.mjs → MazGallery-CPYyQmRZ.mjs} +2 -2
  70. package/components/chunks/{MazIcon-CACuxev1.mjs → MazIcon-Cj1BW9sd.mjs} +1 -1
  71. package/components/chunks/{MazIcon-AqrraC4c.mjs → MazIcon-RoOmzDJT.mjs} +1 -1
  72. package/components/chunks/{MazInput-BhKgHfCf.mjs → MazInput-Bh4h0r_b.mjs} +7 -5
  73. package/components/chunks/{MazInputNumber-F6IVaJOM.mjs → MazInputNumber-C6X8wPcR.mjs} +8 -6
  74. package/components/chunks/{MazInputPrice-B6uSbUfK.mjs → MazInputPrice-C8JPpUqb.mjs} +7 -5
  75. package/components/chunks/{MazInputTags-RknxybLY.mjs → MazInputTags-B7CtC8ES.mjs} +9 -7
  76. package/components/chunks/{MazPagination-NbHR41CQ.mjs → MazPagination-nBtlECFm.mjs} +3 -3
  77. package/components/chunks/{MazPhoneNumberInput-D12Ibm8u.mjs → MazPhoneNumberInput-D9jYdzsz.mjs} +144 -142
  78. package/components/chunks/{MazPicker-BI9ZeVKO.mjs → MazPicker-DyZrLgfS.mjs} +829 -829
  79. package/components/chunks/{MazPickerMonthSwitcher-BpZqdD5K.mjs → MazPickerMonthSwitcher-DuCmmEkc.mjs} +1 -1
  80. package/components/chunks/{MazPickerShortcuts-BFYu-DCq.mjs → MazPickerShortcuts-ByXlLUrf.mjs} +1 -1
  81. package/components/chunks/{MazPickerYearSwitcher-DOixNBLR.mjs → MazPickerYearSwitcher-C4lu0v5Z.mjs} +1 -1
  82. package/components/chunks/{MazSelect-3IfnAYTM.mjs → MazSelect-YzzlcNEB.mjs} +39 -37
  83. package/components/chunks/{MazSpinner-BjWSi43k.mjs → MazSpinner--8_8u8F8.mjs} +1 -1
  84. package/components/chunks/{MazSpinner-CrDTibNk.mjs → MazSpinner-B6CCWjsr.mjs} +1 -1
  85. package/components/chunks/{MazSpinner-C8x7LsHq.mjs → MazSpinner-BB7RmZDm.mjs} +1 -1
  86. package/components/chunks/MazSpinner-BJN_jbhh.mjs +37 -0
  87. package/components/chunks/{MazSpinner-C6T_enKo.mjs → MazSpinner-BaF0DUe_.mjs} +1 -1
  88. package/components/chunks/{MazSpinner-DBxRDGWB.mjs → MazSpinner-BkThjKrN.mjs} +1 -1
  89. package/components/chunks/MazSpinner-C26AbFPs.mjs +37 -0
  90. package/components/chunks/{MazSpinner-BuoLivqP.mjs → MazSpinner-CeqhaMHQ.mjs} +1 -1
  91. package/components/chunks/MazSpinner-ClVjU4gS.mjs +37 -0
  92. package/components/chunks/MazSpinner-CrfX4MuO.mjs +37 -0
  93. package/components/chunks/MazSpinner-CxE3Az_C.mjs +37 -0
  94. package/components/chunks/{MazSpinner-CLz4ccD0.mjs → MazSpinner-DH5fMQ2V.mjs} +1 -1
  95. package/components/chunks/MazSpinner-DRDcCM66.mjs +37 -0
  96. package/components/chunks/MazSpinner-aOtXYirZ.mjs +37 -0
  97. package/components/chunks/{MazSpinner-rAqBu92m.mjs → MazSpinner-vlqbojbC.mjs} +1 -1
  98. package/components/chunks/MazSpinner-xXJol44G.mjs +37 -0
  99. package/components/chunks/{MazStepper-DxrzKz06.mjs → MazStepper-yS_V0Blo.mjs} +11 -11
  100. package/components/chunks/{MazTable-C6u9AHMK.mjs → MazTable-IHEexOjS.mjs} +294 -292
  101. package/components/chunks/{MazTransitionExpand-BLFZPAt_.mjs → MazTransitionExpand-5BehexAr.mjs} +1 -1
  102. package/css/main.css +1 -1
  103. package/icons/star-solid.svg +3 -0
  104. package/modules/assets/MazBtn.css +1 -1
  105. package/modules/assets/index.css +1 -1
  106. package/{components/chunks/MazBtn-BGGyg-rm.mjs → modules/chunks/MazBtn-BFQY0H-i.mjs} +4 -4
  107. package/modules/chunks/{MazBtn-ESi64rk1.cjs → MazBtn-I7JqHQTq.cjs} +2 -2
  108. package/modules/chunks/{MazIcon-Cv_9xeNS.cjs → MazIcon-CsxV_mO2.cjs} +1 -1
  109. package/modules/chunks/{MazIcon-BCJS1Geo.mjs → MazIcon-p3FoIAP_.mjs} +1 -1
  110. package/modules/chunks/{MazSpinner-CexHrCCW.cjs → MazSpinner-BpSg3Y-2.cjs} +1 -1
  111. package/modules/chunks/{MazSpinner-DggGj5LA.mjs → MazSpinner-Ci05iNOI.mjs} +1 -1
  112. package/modules/chunks/{index-TsZCzVnS.mjs → index-BB6bju-X.mjs} +708 -690
  113. package/modules/chunks/index-DKf8K15k.cjs +124 -0
  114. package/modules/index.cjs +1 -1
  115. package/modules/index.mjs +1 -1
  116. package/nuxt/index.json +1 -1
  117. package/nuxt/index.mjs +4 -4
  118. package/package.json +3 -3
  119. package/resolvers/index.cjs +1 -1
  120. package/resolvers/index.mjs +43 -42
  121. package/types/components/MazBtn.vue.d.ts +1 -0
  122. package/types/components/MazChart.vue.d.ts +1 -1
  123. package/types/components/MazPicker.vue.d.ts +16 -0
  124. package/types/modules/composables/index.d.ts +14 -14
  125. package/types/modules/composables/{use-breakpoints.d.ts → useBreakpoints.d.ts} +1 -1
  126. package/types/modules/composables/useFormValidator/index.d.ts +3 -0
  127. package/types/modules/composables/{use-form-validator → useFormValidator}/types.d.ts +9 -8
  128. package/types/modules/composables/useFormValidator/useFormField.d.ts +16 -0
  129. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +17 -0
  130. package/types/modules/composables/{use-form-validator → useFormValidator}/utils.d.ts +11 -3
  131. package/components/chunks/MazBtn-D1TNsXIe.mjs +0 -150
  132. package/components/chunks/MazBtn-D2tIsob2.mjs +0 -150
  133. package/components/chunks/MazBtn-Vas62hFD.mjs +0 -150
  134. package/components/chunks/MazBtn-lTOX3L3D.mjs +0 -150
  135. package/components/chunks/MazSpinner-Cfum6OA7.mjs +0 -37
  136. package/components/chunks/MazSpinner-CmJlBqgH.mjs +0 -37
  137. package/components/chunks/MazSpinner-D6To61E2.mjs +0 -37
  138. package/components/chunks/MazSpinner-DMoNTx6P.mjs +0 -37
  139. package/components/chunks/MazSpinner-DSuBq7vR.mjs +0 -37
  140. package/components/chunks/MazSpinner-DfLymjp0.mjs +0 -37
  141. package/components/chunks/MazSpinner-dFnsq52G.mjs +0 -37
  142. package/components/chunks/MazSpinner-iA4Rz7K5.mjs +0 -37
  143. package/modules/chunks/MazBtn-CRXv0h6A.mjs +0 -150
  144. package/modules/chunks/index-DDzZfuaO.cjs +0 -124
  145. package/types/modules/composables/use-form-validator/index.d.ts +0 -33
  146. /package/nuxt/runtime/composables/{use-aos.d.ts → useAos.d.ts} +0 -0
  147. /package/nuxt/runtime/composables/{use-aos.js → useAos.js} +0 -0
  148. /package/nuxt/runtime/composables/{use-theme-handler.d.ts → useThemeHandler.d.ts} +0 -0
  149. /package/nuxt/runtime/composables/{use-theme-handler.js → useThemeHandler.js} +0 -0
  150. /package/nuxt/runtime/composables/{use-toast.d.ts → useToast.d.ts} +0 -0
  151. /package/nuxt/runtime/composables/{use-toast.js → useToast.js} +0 -0
  152. /package/nuxt/runtime/composables/{use-wait.d.ts → useWait.d.ts} +0 -0
  153. /package/nuxt/runtime/composables/{use-wait.js → useWait.js} +0 -0
  154. /package/types/modules/composables/{use-aos.d.ts → useAos.d.ts} +0 -0
  155. /package/types/modules/composables/{use-form-validator → useFormValidator}/config.d.ts +0 -0
  156. /package/types/modules/composables/{use-idle-timeout.d.ts → useIdleTimeout.d.ts} +0 -0
  157. /package/types/modules/composables/{use-instance-uniq-id.d.ts → useInstanceUniqId.d.ts} +0 -0
  158. /package/types/modules/composables/{use-reading-time.d.ts → useReadingTime.d.ts} +0 -0
  159. /package/types/modules/composables/{use-string-matching.d.ts → useStringMatching.d.ts} +0 -0
  160. /package/types/modules/composables/{use-swipe.d.ts → useSwipe.d.ts} +0 -0
  161. /package/types/modules/composables/{use-theme-handler.d.ts → useThemeHandler.d.ts} +0 -0
  162. /package/types/modules/composables/{use-timer.d.ts → useTimer.d.ts} +0 -0
  163. /package/types/modules/composables/{use-toast.d.ts → useToast.d.ts} +0 -0
  164. /package/types/modules/composables/{use-user-visibilty.d.ts → useUserVisibilty.d.ts} +0 -0
  165. /package/types/modules/composables/{use-wait.d.ts → useWait.d.ts} +0 -0
  166. /package/types/modules/composables/{use-window-size.d.ts → useWindowSize.d.ts} +0 -0
@@ -175,8 +175,10 @@ function Y({
175
175
  componentName: r,
176
176
  providedId: a
177
177
  }) {
178
- const t = N();
179
- return $(() => a ?? `${r}-${t == null ? void 0 : t.uid}`);
178
+ return $(() => {
179
+ var t;
180
+ return a ?? `${r}-${(t = N()) == null ? void 0 : t.uid}`;
181
+ });
180
182
  }
181
183
  const Z = {
182
184
  class: "m-accordion",
@@ -272,7 +274,7 @@ const Z = {
272
274
  ))
273
275
  ]));
274
276
  }
275
- }), ae = /* @__PURE__ */ k(te, [["__scopeId", "data-v-3413d328"]]);
277
+ }), ae = /* @__PURE__ */ k(te, [["__scopeId", "data-v-45a9432f"]]);
276
278
  export {
277
279
  ae as default
278
280
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBottomSheet-DpI8wFgc.mjs";
1
+ import { M as f } from "./chunks/MazBottomSheet-CH2HERnA.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -32,6 +32,7 @@ export interface Props {
32
32
  /**
33
33
  * Size of the rounded
34
34
  * @values `'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'`
35
+ * @default 'lg'
35
36
  */
36
37
  roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
37
38
  /**
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBtn-Dfz-5FeI.mjs";
1
+ import { M as f } from "./chunks/MazBtn-Db9bWwr8.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCard-BiDXoNWK.mjs";
1
+ import { M as f } from "./chunks/MazCard-BOVaL2TX.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCarousel-DJ_nQfy4.mjs";
1
+ import { M as f } from "./chunks/MazCarousel-abKXCTQA.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -97,8 +97,8 @@ declare const _default: import("vue").DefineComponent<{
97
97
  };
98
98
  }>>, {
99
99
  options: Record<string, any>;
100
+ updateMode: "reset" | "resize" | "default" | "none" | "hide" | "show" | "active";
100
101
  plugins: unknown[];
101
102
  datasetIdKey: string;
102
- updateMode: "reset" | "resize" | "default" | "none" | "hide" | "show" | "active";
103
103
  }, {}>;
104
104
  export default _default;
@@ -1,10 +1,12 @@
1
- import { getCurrentInstance as I, computed as n, openBlock as f, createElementBlock as h, createElementVNode as c, defineComponent as S, useCssVars as N, ref as E, unref as i, normalizeClass as m, normalizeStyle as $, mergeProps as A, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as k, createCommentVNode as j } from "vue";
1
+ import { computed as n, getCurrentInstance as I, openBlock as f, createElementBlock as h, createElementVNode as c, defineComponent as S, useCssVars as N, ref as E, unref as i, normalizeClass as m, normalizeStyle as $, mergeProps as A, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as k, createCommentVNode as j } from "vue";
2
2
  import './assets/MazCheckbox.css';function q({
3
3
  componentName: r,
4
4
  providedId: t
5
5
  }) {
6
- const e = I();
7
- return n(() => t ?? `${r}-${e == null ? void 0 : e.uid}`);
6
+ return n(() => {
7
+ var o;
8
+ return t ?? `${r}-${(o = I()) == null ? void 0 : o.uid}`;
9
+ });
8
10
  }
9
11
  const F = {
10
12
  xmlns: "http://www.w3.org/2000/svg",
@@ -51,19 +53,19 @@ const P = { render: O }, T = ["for", "aria-checked"], U = ["id", "checked", "dis
51
53
  },
52
54
  emits: ["update:model-value", "change", "blur", "focus"],
53
55
  setup(r, { emit: t }) {
54
- N((o) => ({
55
- "2fc45926": z.value,
56
- "5b22a362": y.value,
57
- "09741efa": w.value,
58
- "087c113d": V.value
56
+ N((e) => ({
57
+ "637b9682": z.value,
58
+ "7a7f3c21": y.value,
59
+ "4af0fd68": w.value,
60
+ "27d552aa": V.value
59
61
  }));
60
- const e = r, l = t, s = q({
62
+ const o = r, l = t, s = q({
61
63
  componentName: "MazCheckbox",
62
- providedId: e.id
64
+ providedId: o.id
63
65
  }), p = n(
64
- () => typeof e.value != "boolean" && Array.isArray(e.modelValue) ? e.modelValue.includes(e.value) : typeof e.modelValue == "boolean" ? e.modelValue : !1
66
+ () => typeof o.value != "boolean" && Array.isArray(o.modelValue) ? o.modelValue.includes(o.value) : typeof o.modelValue == "boolean" ? o.modelValue : !1
65
67
  ), y = n(() => {
66
- switch (e.size) {
68
+ switch (o.size) {
67
69
  case "xl":
68
70
  return "2.25rem";
69
71
  case "lg":
@@ -78,7 +80,7 @@ const P = { render: O }, T = ["for", "aria-checked"], U = ["id", "checked", "dis
78
80
  return "1.625rem";
79
81
  }
80
82
  }), g = n(() => {
81
- switch (e.size) {
83
+ switch (o.size) {
82
84
  case "xl":
83
85
  return "maz-text-2xl";
84
86
  case "lg":
@@ -92,31 +94,31 @@ const P = { render: O }, T = ["for", "aria-checked"], U = ["id", "checked", "dis
92
94
  default:
93
95
  return "maz-text-lg";
94
96
  }
95
- }), z = n(() => `var(--maz-color-${e.color}-contrast)`), w = n(() => `var(--maz-color-${e.color})`), V = n(() => e.error ? "var(--maz-color-danger)" : e.warning ? "var(--maz-color-warning)" : e.success ? "var(--maz-color-success)" : ["black", "transparent"].includes(e.color) ? "var(--maz-color-muted)" : `var(--maz-color-${e.color}-alpha)`);
96
- function x(o) {
97
- ["Space"].includes(o.code) && (o.preventDefault(), b(e.value ?? !e.modelValue));
97
+ }), z = n(() => `var(--maz-color-${o.color}-contrast)`), w = n(() => `var(--maz-color-${o.color})`), V = n(() => o.error ? "var(--maz-color-danger)" : o.warning ? "var(--maz-color-warning)" : o.success ? "var(--maz-color-success)" : ["black", "transparent"].includes(o.color) ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-alpha)`);
98
+ function x(e) {
99
+ ["Space"].includes(e.code) && (e.preventDefault(), b(o.value ?? !o.modelValue));
98
100
  }
99
- function C(o) {
100
- return typeof o == "boolean" && (typeof e.modelValue == "boolean" || e.modelValue === void 0 || e.modelValue === null) ? !e.modelValue : Array.isArray(e.modelValue) && typeof o != "boolean" ? e.modelValue.includes(o) ? e.modelValue.filter((a) => a !== o) : [...e.modelValue, o] : [o];
101
+ function C(e) {
102
+ return typeof e == "boolean" && (typeof o.modelValue == "boolean" || o.modelValue === void 0 || o.modelValue === null) ? !o.modelValue : Array.isArray(o.modelValue) && typeof e != "boolean" ? o.modelValue.includes(e) ? o.modelValue.filter((a) => a !== e) : [...o.modelValue, e] : [e];
101
103
  }
102
- function b(o) {
103
- const a = C(o);
104
+ function b(e) {
105
+ const a = C(e);
104
106
  l("update:model-value", a), l("change", a);
105
107
  }
106
108
  const u = E();
107
- function _(o) {
109
+ function _(e) {
108
110
  var a;
109
- (a = u.value) == null || a.dispatchEvent(new Event("blur")), l("blur", o);
111
+ (a = u.value) == null || a.dispatchEvent(new Event("blur")), l("blur", e);
110
112
  }
111
- function B(o) {
113
+ function B(e) {
112
114
  var a;
113
- (a = u.value) == null || a.dispatchEvent(new Event("focus")), l("focus", o);
115
+ (a = u.value) == null || a.dispatchEvent(new Event("focus")), l("focus", e);
114
116
  }
115
- return (o, a) => (f(), h("label", {
117
+ return (e, a) => (f(), h("label", {
116
118
  for: i(s),
117
- class: m(["m-checkbox", [{ "--disabled": o.disabled, "--error": o.error, "--warning": o.warning, "--success": o.success }, e.class]]),
119
+ class: m(["m-checkbox", [{ "--disabled": e.disabled, "--error": e.error, "--warning": e.warning, "--success": e.success }, o.class]]),
118
120
  tabindex: "0",
119
- style: $(o.style),
121
+ style: $(e.style),
120
122
  role: "checkbox",
121
123
  "aria-checked": p.value,
122
124
  onKeydown: x,
@@ -128,14 +130,14 @@ const P = { render: O }, T = ["for", "aria-checked"], U = ["id", "checked", "dis
128
130
  ref_key: "inputRef",
129
131
  ref: u,
130
132
  checked: p.value
131
- }, o.$attrs, {
133
+ }, e.$attrs, {
132
134
  tabindex: "-1",
133
- disabled: o.disabled,
134
- name: o.name,
135
+ disabled: e.disabled,
136
+ name: e.name,
135
137
  type: "checkbox",
136
138
  onChange: a[0] || (a[0] = (d) => {
137
139
  var v;
138
- return b(o.value ?? ((v = d == null ? void 0 : d.target) == null ? void 0 : v.checked));
140
+ return b(e.value ?? ((v = d == null ? void 0 : d.target) == null ? void 0 : v.checked));
139
141
  })
140
142
  }), null, 16, U),
141
143
  c("span", null, [
@@ -144,24 +146,24 @@ const P = { render: O }, T = ["for", "aria-checked"], U = ["id", "checked", "dis
144
146
  }, null, 8, ["class"])
145
147
  ]),
146
148
  c("div", G, [
147
- D(o.$slots, "default", { value: o.value }, () => [
149
+ D(e.$slots, "default", { value: e.value }, () => [
148
150
  R(
149
- k(o.label),
151
+ k(e.label),
150
152
  1
151
153
  /* TEXT */
152
154
  )
153
155
  ], !0),
154
- o.hint ? (f(), h(
156
+ e.hint ? (f(), h(
155
157
  "span",
156
158
  {
157
159
  key: 0,
158
160
  class: m(["m-checkbox__hint", {
159
- "--error": o.error,
160
- "--success": o.success,
161
- "--warning": o.warning
161
+ "--error": e.error,
162
+ "--success": e.success,
163
+ "--warning": e.warning
162
164
  }])
163
165
  },
164
- k(o.hint),
166
+ k(e.hint),
165
167
  3
166
168
  /* TEXT, CLASS */
167
169
  )) : j("v-if", !0)
@@ -169,11 +171,11 @@ const P = { render: O }, T = ["for", "aria-checked"], U = ["id", "checked", "dis
169
171
  ], 46, T));
170
172
  }
171
173
  }), L = (r, t) => {
172
- const e = r.__vccOpts || r;
174
+ const o = r.__vccOpts || r;
173
175
  for (const [l, s] of t)
174
- e[l] = s;
175
- return e;
176
- }, W = /* @__PURE__ */ L(J, [["__scopeId", "data-v-3b3da996"]]);
176
+ o[l] = s;
177
+ return o;
178
+ }, W = /* @__PURE__ */ L(J, [["__scopeId", "data-v-a2b23999"]]);
177
179
  export {
178
180
  W as default
179
181
  };
@@ -1,10 +1,12 @@
1
- import { getCurrentInstance as S, computed as r, defineComponent as _, useCssVars as $, useSlots as y, ref as b, watch as B, openBlock as p, createElementBlock as v, normalizeClass as P, createElementVNode as n, renderSlot as l, createTextVNode as u, toDisplayString as i, createCommentVNode as m, normalizeStyle as A, unref as g, createBlock as M, createSlots as I, withCtx as k } from "vue";
1
+ import { computed as r, getCurrentInstance as S, defineComponent as _, useCssVars as $, useSlots as y, ref as b, watch as B, openBlock as p, createElementBlock as v, normalizeClass as P, createElementVNode as n, renderSlot as l, createTextVNode as i, toDisplayString as u, createCommentVNode as m, normalizeStyle as A, unref as g, createBlock as M, createSlots as I, withCtx as k } from "vue";
2
2
  import './assets/MazCircularProgressBar.css';function N({
3
3
  componentName: a,
4
4
  providedId: e
5
5
  }) {
6
- const s = S();
7
- return r(() => e ?? `${a}-${s == null ? void 0 : s.uid}`);
6
+ return r(() => {
7
+ var s;
8
+ return e ?? `${a}-${(s = S()) == null ? void 0 : s.uid}`;
9
+ });
8
10
  }
9
11
  const V = { class: "maz-sr-only" }, D = {
10
12
  key: 0,
@@ -44,20 +46,20 @@ const V = { class: "maz-sr-only" }, D = {
44
46
  [
45
47
  n("span", V, [
46
48
  l(t.$slots, "prefix", {}, () => [
47
- u(
48
- i(t.prefix),
49
+ i(
50
+ u(t.prefix),
49
51
  1
50
52
  /* TEXT */
51
53
  )
52
54
  ], !0),
53
- u(
54
- " " + i(t.count) + " ",
55
+ i(
56
+ " " + u(t.count) + " ",
55
57
  1
56
58
  /* TEXT */
57
59
  ),
58
60
  l(t.$slots, "suffix", {}, () => [
59
- u(
60
- i(t.suffix),
61
+ i(
62
+ u(t.suffix),
61
63
  1
62
64
  /* TEXT */
63
65
  )
@@ -66,16 +68,16 @@ const V = { class: "maz-sr-only" }, D = {
66
68
  f.value || d.value ? (p(), v("span", D, [
67
69
  m(' @slot Prefix slot - Add a prefix next to the number (e.g: "$") '),
68
70
  l(t.$slots, "prefix", {}, () => [
69
- u(
70
- i(t.prefix),
71
+ i(
72
+ u(t.prefix),
71
73
  1
72
74
  /* TEXT */
73
75
  )
74
76
  ], !0),
75
77
  m(' @slot Suffix slot - Add a suffix next to the number (e.g: "%") '),
76
78
  l(t.$slots, "suffix", {}, () => [
77
- u(
78
- i(t.suffix),
79
+ i(
80
+ u(t.suffix),
79
81
  1
80
82
  /* TEXT */
81
83
  )
@@ -112,8 +114,8 @@ const V = { class: "maz-sr-only" }, D = {
112
114
  },
113
115
  setup(a) {
114
116
  $((o) => ({
115
- "0bf2c547": C.value,
116
- "7e590576": w.value
117
+ "266a8742": C.value,
118
+ "1f7e595e": w.value
117
119
  }));
118
120
  const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = N({
119
121
  componentName: "MazCircularProgressBar"
@@ -153,8 +155,8 @@ const V = { class: "maz-sr-only" }, D = {
153
155
  fn: k(() => [
154
156
  m(' @slot Prefix slot - Add a prefix next to the number (e.g: "$") '),
155
157
  l(o.$slots, "prefix", {}, () => [
156
- u(
157
- i(o.prefix),
158
+ i(
159
+ u(o.prefix),
158
160
  1
159
161
  /* TEXT */
160
162
  )
@@ -167,8 +169,8 @@ const V = { class: "maz-sr-only" }, D = {
167
169
  fn: k(() => [
168
170
  m(' @slot Suffix slot - Add a suffix next to the number (e.g: "%") '),
169
171
  l(o.$slots, "suffix", {}, () => [
170
- u(
171
- i(o.suffix),
172
+ i(
173
+ u(o.suffix),
172
174
  1
173
175
  /* TEXT */
174
176
  )
@@ -215,7 +217,7 @@ const V = { class: "maz-sr-only" }, D = {
215
217
  /* STYLE */
216
218
  ));
217
219
  }
218
- }), K = /* @__PURE__ */ z(F, [["__scopeId", "data-v-3ac6dd71"]]);
220
+ }), K = /* @__PURE__ */ z(F, [["__scopeId", "data-v-5505af81"]]);
219
221
  export {
220
222
  K as default
221
223
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazDialog-DXaeCp-b.mjs";
1
+ import { M as f } from "./chunks/MazDialog-DvwYzTxG.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a as o, u as s } from "./chunks/MazDialogPromise-Bgxjg9ss.mjs";
1
+ import { a as o, u as s } from "./chunks/MazDialogPromise-LtvHsHIp.mjs";
2
2
  export {
3
3
  o as default,
4
4
  s as useMazDialogPromise
@@ -128,7 +128,7 @@ import './assets/MazDrawer.css';const A = "--backdrop-present", U = /* @__PURE__
128
128
  },
129
129
  emits: ["before-close", "open", "close", "update:model-value"],
130
130
  setup(b) {
131
- const i = B(() => import("./chunks/MazBtn-BQ7aH6Qe.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-BP8zWe_C.mjs"));
131
+ const i = B(() => import("./chunks/MazBtn-DUxqd_DK.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-BP8zWe_C.mjs"));
132
132
  return (e, t) => (r(), h(U, {
133
133
  "backdrop-class": ["m-drawer", `--${e.variant}`, e.backdropClass],
134
134
  style: F({
@@ -1,10 +1,12 @@
1
- import { getCurrentInstance as Y, computed as Z, nextTick as x, defineComponent as ee, defineAsyncComponent as A, ref as I, watch as L, resolveComponent as oe, withDirectives as T, openBlock as v, createElementBlock as h, unref as u, normalizeClass as k, normalizeStyle as ne, createElementVNode as C, withModifiers as D, renderSlot as p, createTextVNode as E, toDisplayString as $, createCommentVNode as b, createVNode as U, mergeProps as te, withCtx as B, createBlock as N, Transition as le, Fragment as S, renderList as se, vShow as re } from "vue";
1
+ import { computed as Y, getCurrentInstance as Z, nextTick as x, defineComponent as ee, defineAsyncComponent as A, ref as I, watch as L, resolveComponent as oe, withDirectives as T, openBlock as v, createElementBlock as h, unref as u, normalizeClass as k, normalizeStyle as ne, createElementVNode as C, withModifiers as D, renderSlot as p, createTextVNode as E, toDisplayString as $, createCommentVNode as b, createVNode as U, mergeProps as te, withCtx as B, createBlock as N, Transition as le, Fragment as S, renderList as se, vShow as re } from "vue";
2
2
  import './assets/MazDropdown.css';function ae({
3
3
  componentName: t,
4
4
  providedId: l
5
5
  }) {
6
- const n = Y();
7
- return Z(() => l ?? `${t}-${n == null ? void 0 : n.uid}`);
6
+ return Y(() => {
7
+ var n;
8
+ return l ?? `${t}-${(n = Z()) == null ? void 0 : n.uid}`;
9
+ });
8
10
  }
9
11
  function ie(t, l) {
10
12
  let n;
@@ -74,7 +76,7 @@ const de = {
74
76
  },
75
77
  emits: ["menuitem-clicked", "update:open"],
76
78
  setup(t, { emit: l }) {
77
- const n = t, c = l, w = A(() => import("./chunks/MazBtn-BQ7aH6Qe.mjs").then((e) => e.M)), z = A(() => import("./chunks/chevron-down-CzMH-gFW.mjs")), f = ae({
79
+ const n = t, c = l, w = A(() => import("./chunks/MazBtn-DUxqd_DK.mjs").then((e) => e.M)), z = A(() => import("./chunks/chevron-down-CzMH-gFW.mjs")), f = ae({
78
80
  componentName: "MazDropdown",
79
81
  providedId: n.id
80
82
  }), a = I(n.open), r = I(), m = ie((e) => {
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazInput-BhKgHfCf.mjs";
1
+ import { M as f } from "./chunks/MazInput-Bh4h0r_b.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazInputNumber-F6IVaJOM.mjs";
1
+ import { a as f } from "./chunks/MazInputNumber-C6X8wPcR.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazInputPrice-B6uSbUfK.mjs";
1
+ import { a as f } from "./chunks/MazInputPrice-C8JPpUqb.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazInputTags-RknxybLY.mjs";
1
+ import { M as f } from "./chunks/MazInputTags-B7CtC8ES.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazPagination-NbHR41CQ.mjs";
1
+ import { M as f } from "./chunks/MazPagination-nBtlECFm.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazPhoneNumberInput-D12Ibm8u.mjs";
1
+ import { M as f } from "./chunks/MazPhoneNumberInput-D9jYdzsz.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -19,6 +19,15 @@ export interface Props {
19
19
  placeholder?: string;
20
20
  /** The style of the input date */
21
21
  inputDateStyle?: Intl.DateTimeFormatOptions;
22
+ /**
23
+ * The transformer of the input date
24
+ * @type {(payload: { formattedDate?: string; value?: PickerValue; locale: string }) => string}
25
+ */
26
+ inputDateTransformer?: (payload: {
27
+ formattedDate?: string;
28
+ value?: PickerValue;
29
+ locale: string;
30
+ }) => string;
22
31
  /** The locale of the component */
23
32
  locale?: string;
24
33
  /** If true, the header will be hidden */
@@ -79,6 +88,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
79
88
  inputDateStyle: () => {
80
89
  dateStyle: string;
81
90
  };
91
+ inputDateTransformer: undefined;
82
92
  locale: undefined;
83
93
  noHeader: boolean;
84
94
  disabled: boolean;
@@ -123,6 +133,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
123
133
  inputDateStyle: () => {
124
134
  dateStyle: string;
125
135
  };
136
+ inputDateTransformer: undefined;
126
137
  locale: undefined;
127
138
  noHeader: boolean;
128
139
  disabled: boolean;
@@ -183,6 +194,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
183
194
  shortcut: string;
184
195
  noHeader: boolean;
185
196
  inputDateStyle: Intl.DateTimeFormatOptions;
197
+ inputDateTransformer: (payload: {
198
+ formattedDate?: string;
199
+ value?: PickerValue;
200
+ locale: string;
201
+ }) => string;
186
202
  autoClose: boolean;
187
203
  customElementSelector: string;
188
204
  pickerPosition: Position;
@@ -1,4 +1,4 @@
1
- import { b as f } from "./chunks/MazPicker-BI9ZeVKO.mjs";
1
+ import { b as f } from "./chunks/MazPicker-DyZrLgfS.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,12 +1,14 @@
1
- import { getCurrentInstance as I, computed as t, defineComponent as B, useCssVars as C, ref as _, openBlock as m, createElementBlock as v, unref as f, normalizeClass as p, normalizeStyle as V, createElementVNode as i, mergeProps as $, createCommentVNode as h, renderSlot as E, createTextVNode as N, toDisplayString as b, pushScopeId as R, popScopeId as M } from "vue";
1
+ import { computed as t, getCurrentInstance as I, defineComponent as B, useCssVars as _, ref as C, openBlock as m, createElementBlock as v, unref as f, normalizeClass as p, normalizeStyle as V, createElementVNode as i, mergeProps as $, createCommentVNode as h, renderSlot as E, createTextVNode as R, toDisplayString as b, pushScopeId as N, popScopeId as M } from "vue";
2
2
  import './assets/MazRadio.css';function D({
3
3
  componentName: o,
4
4
  providedId: s
5
5
  }) {
6
- const a = I();
7
- return t(() => s ?? `${o}-${a == null ? void 0 : a.uid}`);
6
+ return t(() => {
7
+ var a;
8
+ return s ?? `${o}-${(a = I()) == null ? void 0 : a.uid}`;
9
+ });
8
10
  }
9
- const T = (o) => (R("data-v-15593cd2"), o = o(), M(), o), q = ["for", "aria-checked"], F = ["id", "value", "disabled", "name", "checked"], H = /* @__PURE__ */ T(() => /* @__PURE__ */ i(
11
+ const T = (o) => (N("data-v-bc626570"), o = o(), M(), o), q = ["for", "aria-checked"], F = ["id", "value", "disabled", "name", "checked"], H = /* @__PURE__ */ T(() => /* @__PURE__ */ i(
10
12
  "span",
11
13
  null,
12
14
  [
@@ -34,13 +36,13 @@ const T = (o) => (R("data-v-15593cd2"), o = o(), M(), o), q = ["for", "aria-chec
34
36
  },
35
37
  emits: ["update:model-value", "change", "blur", "focus"],
36
38
  setup(o, { emit: s }) {
37
- C((e) => ({
38
- e988e500: g.value,
39
- "31c0c6e9": y.value,
40
- "68ffeea8": z.value
39
+ _((e) => ({
40
+ "0596def1": g.value,
41
+ "3efb8498": y.value,
42
+ e93a144a: z.value
41
43
  }));
42
44
  const a = o, n = s, l = D({
43
- componentName: "MazCheckbox",
45
+ componentName: "MazRadio",
44
46
  providedId: a.id
45
47
  }), d = t(() => a.modelValue === a.value), g = t(() => {
46
48
  switch (a.size) {
@@ -64,12 +66,12 @@ const T = (o) => (R("data-v-15593cd2"), o = o(), M(), o), q = ["for", "aria-chec
64
66
  function c() {
65
67
  n("update:model-value", a.value), n("change", a.value);
66
68
  }
67
- const u = _();
68
- function k(e) {
69
+ const u = C();
70
+ function S(e) {
69
71
  var r;
70
72
  (r = u.value) == null || r.dispatchEvent(new Event("blur")), n("blur", e);
71
73
  }
72
- function S(e) {
74
+ function k(e) {
73
75
  var r;
74
76
  (r = u.value) == null || r.dispatchEvent(new Event("focus")), n("focus", e);
75
77
  }
@@ -80,8 +82,8 @@ const T = (o) => (R("data-v-15593cd2"), o = o(), M(), o), q = ["for", "aria-chec
80
82
  role: "radio",
81
83
  style: V(e.style),
82
84
  "aria-checked": d.value,
83
- onBlur: k,
84
- onFocus: S,
85
+ onBlur: S,
86
+ onFocus: k,
85
87
  onKeydown: w
86
88
  }, [
87
89
  i("input", $({
@@ -108,7 +110,7 @@ const T = (o) => (R("data-v-15593cd2"), o = o(), M(), o), q = ["for", "aria-chec
108
110
  isSelected: d.value,
109
111
  value: e.value
110
112
  }, () => [
111
- N(
113
+ R(
112
114
  b(e.label),
113
115
  1
114
116
  /* TEXT */
@@ -136,7 +138,7 @@ const T = (o) => (R("data-v-15593cd2"), o = o(), M(), o), q = ["for", "aria-chec
136
138
  for (const [n, l] of s)
137
139
  a[n] = l;
138
140
  return a;
139
- }, j = /* @__PURE__ */ O(L, [["__scopeId", "data-v-15593cd2"]]);
141
+ }, j = /* @__PURE__ */ O(L, [["__scopeId", "data-v-bc626570"]]);
140
142
  export {
141
143
  j as default
142
144
  };
@@ -176,7 +176,7 @@ import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons" }, T
176
176
  for (const [s, m] of f)
177
177
  l[s] = m;
178
178
  return l;
179
- }, j = /* @__PURE__ */ A(W, [["__scopeId", "data-v-5038d93c"]]);
179
+ }, j = /* @__PURE__ */ A(W, [["__scopeId", "data-v-67a2dc18"]]);
180
180
  export {
181
181
  j as default
182
182
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazSelect-3IfnAYTM.mjs";
1
+ import { M as f } from "./chunks/MazSelect-YzzlcNEB.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazStepper-DxrzKz06.mjs";
1
+ import { M as f } from "./chunks/MazStepper-yS_V0Blo.mjs";
2
2
  export {
3
3
  f as default
4
4
  };