maz-ui 3.25.4 → 3.26.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 (88) hide show
  1. package/components/MazAvatar.mjs +1 -1
  2. package/components/MazCard.mjs +1 -1
  3. package/components/MazCardSpotlight.d.ts +43 -0
  4. package/components/MazCardSpotlight.mjs +84 -0
  5. package/components/MazDropdown.d.ts +3 -3
  6. package/components/MazGallery.mjs +1 -1
  7. package/components/MazInput.mjs +1 -1
  8. package/components/MazInputNumber.mjs +1 -1
  9. package/components/MazInputPrice.mjs +1 -1
  10. package/components/MazInputTags.mjs +1 -1
  11. package/components/MazPhoneNumberInput.mjs +1 -1
  12. package/components/MazPicker.mjs +1 -1
  13. package/components/MazSelect.mjs +1 -1
  14. package/components/MazStepper.mjs +1 -1
  15. package/components/assets/MazCardSpotlight.css +1 -0
  16. package/components/chunks/{MazAvatar-DLrG3tJX.mjs → MazAvatar-RHmR_HKk.mjs} +1 -1
  17. package/components/chunks/{MazBtn-E_7uvjFN.mjs → MazBtn--_QbzFEn.mjs} +2 -2
  18. package/components/chunks/{MazBtn-wAxVJRSU.mjs → MazBtn-0YAZPugZ.mjs} +2 -2
  19. package/components/chunks/{MazBtn-5DR4iQnT.mjs → MazBtn-8RfdQqKD.mjs} +2 -2
  20. package/components/chunks/{MazBtn-kV8P-ya-.mjs → MazBtn-KS6DAMFz.mjs} +2 -2
  21. package/components/chunks/{MazBtn-0YS6N_nF.mjs → MazBtn-R9twVXzi.mjs} +2 -2
  22. package/components/chunks/{MazBtn-kRBdtnQp.mjs → MazBtn-oAmpwHES.mjs} +2 -2
  23. package/components/chunks/{MazCard-VaI8gWM3.mjs → MazCard-MWYquPZ4.mjs} +1 -1
  24. package/components/chunks/{MazCheckbox-Ur6iYj4S.mjs → MazCheckbox-C5TE5LKf.mjs} +1 -1
  25. package/components/chunks/{MazCheckbox-jGECM3j3.mjs → MazCheckbox-SfV0UBCp.mjs} +1 -1
  26. package/components/chunks/{MazGallery--bH8PaX6.mjs → MazGallery-CEUOlb-F.mjs} +2 -2
  27. package/components/chunks/{MazInput-oM9uZwIu.mjs → MazInput-6Q9hJNva.mjs} +1 -1
  28. package/components/chunks/{MazInput-lyYyjd1W.mjs → MazInput-JBsukk0T.mjs} +2 -2
  29. package/components/chunks/{MazInput-vkiBaJEe.mjs → MazInput-sZWYXVcu.mjs} +1 -1
  30. package/components/chunks/{MazInputPrice-fwxQeZD1.mjs → MazInputPrice-A7UEFWHD.mjs} +1 -1
  31. package/components/chunks/{MazInputTags-XEb86YGz.mjs → MazInputTags-3yh4LQ9s.mjs} +2 -2
  32. package/components/chunks/{MazLazyImg-Xgq8fBgy.mjs → MazLazyImg-Fca-bx9H.mjs} +2 -2
  33. package/components/chunks/{MazPhoneNumberInput-UpZj2xCt.mjs → MazPhoneNumberInput-v9rbDA6q.mjs} +2 -2
  34. package/components/chunks/{MazPicker-slSJEmP_.mjs → MazPicker-mJ6cn2Bn.mjs} +2 -2
  35. package/components/chunks/{MazPickerCalendar-yj6G2tEp.mjs → MazPickerCalendar-F6_w9LqU.mjs} +3 -3
  36. package/components/chunks/{MazPickerHeader-cQ_nEQow.mjs → MazPickerHeader-VgRynRUP.mjs} +1 -1
  37. package/components/chunks/{MazPickerMonthSwitcher-FJDyP9k0.mjs → MazPickerMonthSwitcher-4pKbCK04.mjs} +2 -2
  38. package/components/chunks/{MazPickerShortcuts-GXPMcMyz.mjs → MazPickerShortcuts-N6Uci35g.mjs} +2 -2
  39. package/components/chunks/{MazPickerTime-svtlbkGq.mjs → MazPickerTime-CHrTTUTu.mjs} +2 -2
  40. package/components/chunks/{MazPickerYearSwitcher-hgwU_o5-.mjs → MazPickerYearSwitcher-gtNIVerE.mjs} +3 -3
  41. package/components/chunks/{MazSelect-0T1qVxT5.mjs → MazSelect-J-Ww10JN.mjs} +2 -2
  42. package/components/chunks/{MazSpinner--oMj5mcD.mjs → MazSpinner-DsryKnTH.mjs} +1 -1
  43. package/components/chunks/{MazSpinner-IQQO8UPg.mjs → MazSpinner-EKy-ECIw.mjs} +1 -1
  44. package/components/chunks/{MazSpinner-M2P_6vtf.mjs → MazSpinner-Gtge6X2k.mjs} +1 -1
  45. package/components/chunks/{MazSpinner-sSmqcl-q.mjs → MazSpinner-VNu4q7AS.mjs} +1 -1
  46. package/components/chunks/MazSpinner-hl5p2Ja0.mjs +38 -0
  47. package/components/chunks/{MazSpinner--c2RrYFS.mjs → MazSpinner-iL3UOtWy.mjs} +1 -1
  48. package/components/chunks/MazSpinner-osfOp0qm.mjs +38 -0
  49. package/components/chunks/{MazSpinner-0anK9siv.mjs → MazSpinner-riqwp9Ow.mjs} +1 -1
  50. package/components/chunks/{MazStepper-Yb3T0dfZ.mjs → MazStepper-jTbyQoAN.mjs} +3 -3
  51. package/components/chunks/{MazTransitionExpand-q03UNoZI.mjs → MazTransitionExpand-C2Ftcb-S.mjs} +1 -1
  52. package/components/chunks/{MazTransitionExpand-FQwx2xLC.mjs → MazTransitionExpand-dEnhdFi5.mjs} +1 -1
  53. package/components/chunks/{check-circle-eCAkFU82.mjs → check-circle-JGd6LGss.mjs} +1 -1
  54. package/components/chunks/{exclamation-circle-ASB2qDRS.mjs → exclamation-circle-AoEMgPzE.mjs} +1 -1
  55. package/{modules/chunks/exclamation-triangle-Lkly8oW6.mjs → components/chunks/exclamation-triangle-KCpIguWV.mjs} +1 -1
  56. package/components/chunks/{eye-pViFfFPg.mjs → eye-3jm1b22X.mjs} +1 -1
  57. package/components/chunks/{eye-slash-TZFFP7DG.mjs → eye-slash-UoWe3WK1.mjs} +1 -1
  58. package/components/chunks/{magnifying-glass-I3cyEYZv.mjs → magnifying-glass-ebhrla2J.mjs} +1 -1
  59. package/components/chunks/no-photography-5Lkm1tEM.mjs +35 -0
  60. package/components/chunks/{pencil-RFgfooj4.mjs → pencil-laNW5qNQ.mjs} +1 -1
  61. package/components/index.d.ts +1 -0
  62. package/components/index.mjs +1 -0
  63. package/modules/chunks/{MazBtn-JRiYAnNE.mjs → MazBtn-7K12yZ6I.mjs} +2 -2
  64. package/modules/chunks/{MazBtn-XlYmCiY7.cjs → MazBtn-DUWSBfcR.cjs} +1 -1
  65. package/modules/chunks/{MazIcon-1rUbp3IR.cjs → MazIcon-Oj1DZi0J.cjs} +1 -1
  66. package/modules/chunks/{MazIcon-jN7MCOTm.mjs → MazIcon-jV2j5-vQ.mjs} +1 -1
  67. package/modules/chunks/{MazSpinner-9nuTFEMU.cjs → MazSpinner-FvaDeIHB.cjs} +1 -1
  68. package/modules/chunks/{MazSpinner-U-92TzUo.mjs → MazSpinner-JIi1LXux.mjs} +1 -1
  69. package/modules/chunks/{check-circle-eCAkFU82.mjs → check-circle-JGd6LGss.mjs} +1 -1
  70. package/modules/chunks/{check-circle-il8LazeB.cjs → check-circle-i22ikksA.cjs} +1 -1
  71. package/modules/chunks/{exclamation-circle-ASB2qDRS.mjs → exclamation-circle-AoEMgPzE.mjs} +1 -1
  72. package/modules/chunks/{exclamation-circle-s2sf_lGK.cjs → exclamation-circle-kdNsgBlF.cjs} +1 -1
  73. package/{components/chunks/exclamation-triangle-Lkly8oW6.mjs → modules/chunks/exclamation-triangle-KCpIguWV.mjs} +1 -1
  74. package/modules/chunks/{exclamation-triangle-C9PjyHbK.cjs → exclamation-triangle-Kk2Ygepb.cjs} +1 -1
  75. package/modules/chunks/{index-fNfaYOpu.cjs → index-2ztHYBiq.cjs} +1 -1
  76. package/modules/chunks/{index-0wbCxej8.mjs → index-wZ3oEJrJ.mjs} +6 -6
  77. package/modules/chunks/{information-circle-pRD3Ui0A.mjs → information-circle-5aSd26ke.mjs} +1 -1
  78. package/modules/chunks/{information-circle-8YPnkfv6.cjs → information-circle-x2Q9nLP2.cjs} +1 -1
  79. package/modules/index.cjs +1 -1
  80. package/modules/index.mjs +1 -1
  81. package/nuxt/index.json +1 -1
  82. package/package.json +8 -8
  83. package/types/components/MazCardSpotlight.vue.d.ts +43 -0
  84. package/types/components/MazDropdown.vue.d.ts +3 -3
  85. package/types/components/index.d.ts +1 -0
  86. package/components/chunks/MazSpinner-rOWjjtSq.mjs +0 -38
  87. package/components/chunks/MazSpinner-ymiFQY_u.mjs +0 -38
  88. package/components/chunks/no-photography-luQMdijk.mjs +0 -35
@@ -1,9 +1,9 @@
1
1
  import "../assets/MazPickerYearSwitcher.css";
2
2
  import { defineComponent as g, ref as b, computed as w, openBlock as m, createElementBlock as _, createElementVNode as u, createVNode as o, withModifiers as l, withCtx as i, unref as s, Fragment as D, renderList as S, createBlock as Y, normalizeClass as B, createTextVNode as M, toDisplayString as q } from "vue";
3
- import { d as c, a as I, i as y, _ as N } from "./MazPicker-slSJEmP_.mjs";
4
- import d from "./MazBtn-5DR4iQnT.mjs";
3
+ import { d as c, a as I, i as y, _ as N } from "./MazPicker-mJ6cn2Bn.mjs";
4
+ import d from "./MazBtn-8RfdQqKD.mjs";
5
5
  import { X as V } from "./x-mark-d7yqulTI.mjs";
6
- import { C as z } from "./MazPickerCalendar-yj6G2tEp.mjs";
6
+ import { C as z } from "./MazPickerCalendar-F6_w9LqU.mjs";
7
7
  const E = { class: "maz-picker-year-switcher" }, L = { class: "maz-picker-year-switcher__header" }, P = { class: "maz-flex maz-space-x-2" }, T = { class: "maz-picker-year-switcher__main" }, X = /* @__PURE__ */ g({
8
8
  __name: "MazPickerYearSwitcher",
9
9
  props: {
@@ -85,7 +85,7 @@ const ye = ({
85
85
  },
86
86
  emits: ["focus", "blur", "update:model-value", "click", "change", "update"],
87
87
  setup(l, { emit: f }) {
88
- const v = k(() => import("./MazBtn-wAxVJRSU.mjs")), S = k(() => import("./MazIcon-RrJDzX3V.mjs")), D = k(() => import("./eye-slash-TZFFP7DG.mjs")), G = k(() => import("./eye-pViFfFPg.mjs")), J = k(() => import("./check-_5Up9njX.mjs")), e = l, b = f, g = d(!1), s = d(!1), $ = d(), X = de(), Y = ye({
88
+ const v = k(() => import("./MazBtn-0YAZPugZ.mjs")), S = k(() => import("./MazIcon-RrJDzX3V.mjs")), D = k(() => import("./eye-slash-UoWe3WK1.mjs")), G = k(() => import("./eye-3jm1b22X.mjs")), J = k(() => import("./check-_5Up9njX.mjs")), e = l, b = f, g = d(!1), s = d(!1), $ = d(), X = de(), Y = ye({
89
89
  componentName: "MazInput",
90
90
  instance: X,
91
91
  providedId: e.id
@@ -368,7 +368,7 @@ const He = ["onClick"], Oe = {
368
368
  "6c56f7b7": X.value,
369
369
  99876842: Y.value
370
370
  }));
371
- const v = k(() => import("./MazCheckbox-jGECM3j3.mjs")), S = k(() => import("./magnifying-glass-I3cyEYZv.mjs")), D = k(() => import("./chevron-down-bC0s_0yH.mjs")), G = k(() => import("./no-symbol-JnXtUaU-.mjs")), J = de(), e = l, b = f, g = d(!1), s = d(), $ = c(
371
+ const v = k(() => import("./MazCheckbox-SfV0UBCp.mjs")), S = k(() => import("./magnifying-glass-ebhrla2J.mjs")), D = k(() => import("./chevron-down-bC0s_0yH.mjs")), G = k(() => import("./no-symbol-JnXtUaU-.mjs")), J = de(), e = l, b = f, g = d(!1), s = d(), $ = c(
372
372
  () => ["black", "transparent", "white"].includes(e.color)
373
373
  ), X = c(
374
374
  () => $.value ? "var(--maz-color-black)" : `var(--maz-color-${e.color}-800)`
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazSpinner.css";
2
2
  import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
3
- import { _ as p } from "./MazCard-VaI8gWM3.mjs";
3
+ import { _ as p } from "./MazCard-MWYquPZ4.mjs";
4
4
  const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
5
5
  "path",
6
6
  { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazSpinner.css";
2
2
  import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
3
- import { _ as p } from "./MazAvatar-DLrG3tJX.mjs";
3
+ import { _ as p } from "./MazPicker-mJ6cn2Bn.mjs";
4
4
  const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
5
5
  "path",
6
6
  { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazSpinner.css";
2
2
  import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
3
- import { _ as p } from "./MazInput-vkiBaJEe.mjs";
3
+ import { _ as p } from "./MazInput-sZWYXVcu.mjs";
4
4
  const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
5
5
  "path",
6
6
  { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazSpinner.css";
2
2
  import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
3
- import { _ as p } from "./MazPicker-slSJEmP_.mjs";
3
+ import { _ as p } from "./MazAvatar-RHmR_HKk.mjs";
4
4
  const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
5
5
  "path",
6
6
  { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
@@ -0,0 +1,38 @@
1
+ import "../assets/MazSpinner.css";
2
+ import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
3
+ import { _ as p } from "./MazInputPrice-A7UEFWHD.mjs";
4
+ const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
5
+ "path",
6
+ { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
7
+ null,
8
+ -1
9
+ /* HOISTED */
10
+ )), m = [
11
+ l
12
+ ], h = /* @__PURE__ */ t({
13
+ __name: "MazSpinner",
14
+ props: {
15
+ size: { type: String, default: "2em" },
16
+ color: {
17
+ type: String,
18
+ default: "primary"
19
+ }
20
+ },
21
+ setup(e) {
22
+ return (_, u) => (o(), c("svg", {
23
+ width: e.size,
24
+ height: e.size,
25
+ version: "1.1",
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ x: "0px",
28
+ y: "0px",
29
+ viewBox: "0 0 50 50",
30
+ "xml:space": "preserve",
31
+ class: n(["m-spinner", `m-spinner--${e.color}`]),
32
+ style: { "enable-background": "new 0 0 50 50" }
33
+ }, m, 10, d));
34
+ }
35
+ }), g = /* @__PURE__ */ p(h, [["__scopeId", "data-v-c67298ec"]]);
36
+ export {
37
+ g as default
38
+ };
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazSpinner.css";
2
2
  import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
3
- import { _ as p } from "./MazInputTags-XEb86YGz.mjs";
3
+ import { _ as p } from "./MazInputTags-3yh4LQ9s.mjs";
4
4
  const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
5
5
  "path",
6
6
  { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
@@ -0,0 +1,38 @@
1
+ import "../assets/MazSpinner.css";
2
+ import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
3
+ import { _ as p } from "./MazSelect-J-Ww10JN.mjs";
4
+ const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
5
+ "path",
6
+ { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
7
+ null,
8
+ -1
9
+ /* HOISTED */
10
+ )), m = [
11
+ l
12
+ ], h = /* @__PURE__ */ t({
13
+ __name: "MazSpinner",
14
+ props: {
15
+ size: { type: String, default: "2em" },
16
+ color: {
17
+ type: String,
18
+ default: "primary"
19
+ }
20
+ },
21
+ setup(e) {
22
+ return (_, u) => (o(), c("svg", {
23
+ width: e.size,
24
+ height: e.size,
25
+ version: "1.1",
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ x: "0px",
28
+ y: "0px",
29
+ viewBox: "0 0 50 50",
30
+ "xml:space": "preserve",
31
+ class: n(["m-spinner", `m-spinner--${e.color}`]),
32
+ style: { "enable-background": "new 0 0 50 50" }
33
+ }, m, 10, d));
34
+ }
35
+ }), g = /* @__PURE__ */ p(h, [["__scopeId", "data-v-c67298ec"]]);
36
+ export {
37
+ g as default
38
+ };
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazSpinner.css";
2
2
  import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
3
- import { _ as p } from "./MazPhoneNumberInput-UpZj2xCt.mjs";
3
+ import { _ as p } from "./MazPhoneNumberInput-v9rbDA6q.mjs";
4
4
  const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
5
5
  "path",
6
6
  { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
@@ -28,9 +28,9 @@ const ee = { class: "m-stepper" }, te = ["disabled", "onClick"], se = { class: "
28
28
  "61cc49aa": M.value,
29
29
  "9242a27c": P.value
30
30
  }));
31
- const _ = m(() => import("./MazTransitionExpand-q03UNoZI.mjs")), g = m(() => import("./check-circle-eCAkFU82.mjs")), $ = m(
32
- () => import("./exclamation-circle-ASB2qDRS.mjs")
33
- ), A = m(() => import("./exclamation-triangle-Lkly8oW6.mjs")), s = i, M = f(() => `var(--maz-color-${s.color})`), P = f(() => `var(--maz-color-${s.color}-contrast)`), W = C, I = G(), v = f(
31
+ const _ = m(() => import("./MazTransitionExpand-C2Ftcb-S.mjs")), g = m(() => import("./check-circle-JGd6LGss.mjs")), $ = m(
32
+ () => import("./exclamation-circle-AoEMgPzE.mjs")
33
+ ), A = m(() => import("./exclamation-triangle-KCpIguWV.mjs")), s = i, M = f(() => `var(--maz-color-${s.color})`), P = f(() => `var(--maz-color-${s.color}-contrast)`), W = C, I = G(), v = f(
34
34
  () => Object.keys(I).filter((e) => e.startsWith("content-")).length
35
35
  ), N = H(1), a = f({
36
36
  get: () => s.modelValue ?? N.value,
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazTransitionExpand.css";
2
2
  import { defineComponent as n, openBlock as p, createBlock as h, TransitionGroup as d, withCtx as y, renderSlot as g, nextTick as s } from "vue";
3
- import { _ as u } from "./MazStepper-Yb3T0dfZ.mjs";
3
+ import { _ as u } from "./MazStepper-jTbyQoAN.mjs";
4
4
  const l = /* @__PURE__ */ n({
5
5
  __name: "MazTransitionExpand",
6
6
  setup(f) {
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazTransitionExpand.css";
2
2
  import { defineComponent as n, openBlock as p, createBlock as h, TransitionGroup as d, withCtx as y, renderSlot as g, nextTick as s } from "vue";
3
- import { _ as u } from "./MazCard-VaI8gWM3.mjs";
3
+ import { _ as u } from "./MazCard-MWYquPZ4.mjs";
4
4
  const l = /* @__PURE__ */ n({
5
5
  __name: "MazTransitionExpand",
6
6
  setup(f) {
@@ -12,7 +12,7 @@ const n = {
12
12
  "stroke-linecap": "round",
13
13
  "stroke-linejoin": "round",
14
14
  "stroke-width": "1.5",
15
- d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
15
+ d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0"
16
16
  },
17
17
  null,
18
18
  -1
@@ -12,7 +12,7 @@ const n = {
12
12
  "stroke-linecap": "round",
13
13
  "stroke-linejoin": "round",
14
14
  "stroke-width": "1.5",
15
- d: "M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"
15
+ d: "M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0m-9 3.75h.008v.008H12z"
16
16
  },
17
17
  null,
18
18
  -1
@@ -12,7 +12,7 @@ const n = {
12
12
  "stroke-linecap": "round",
13
13
  "stroke-linejoin": "round",
14
14
  "stroke-width": "1.5",
15
- d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"
15
+ d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008"
16
16
  },
17
17
  null,
18
18
  -1
@@ -24,7 +24,7 @@ const n = {
24
24
  "stroke-linecap": "round",
25
25
  "stroke-linejoin": "round",
26
26
  "stroke-width": "1.5",
27
- d: "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"
27
+ d: "M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0"
28
28
  },
29
29
  null,
30
30
  -1
@@ -12,7 +12,7 @@ const n = {
12
12
  "stroke-linecap": "round",
13
13
  "stroke-linejoin": "round",
14
14
  "stroke-width": "1.5",
15
- d: "M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"
15
+ d: "M3.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.339 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.499a10.523 10.523 0 0 1-4.293 5.773M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"
16
16
  },
17
17
  null,
18
18
  -1
@@ -12,7 +12,7 @@ const n = {
12
12
  "stroke-linecap": "round",
13
13
  "stroke-linejoin": "round",
14
14
  "stroke-width": "1.5",
15
- d: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"
15
+ d: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607"
16
16
  },
17
17
  null,
18
18
  -1
@@ -0,0 +1,35 @@
1
+ import { openBlock as t, createElementBlock as o, createElementVNode as e } from "vue";
2
+ const c = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ width: "1em",
5
+ height: "1em",
6
+ fill: "currentColor",
7
+ "aria-hidden": "true",
8
+ viewBox: "0 0 24 24"
9
+ }, l = /* @__PURE__ */ e(
10
+ "path",
11
+ {
12
+ fill: "none",
13
+ d: "M0 0h24v24H0z"
14
+ },
15
+ null,
16
+ -1
17
+ /* HOISTED */
18
+ ), n = /* @__PURE__ */ e(
19
+ "path",
20
+ { d: "M8.9 6.07 7.48 4.66 9 3h6l1.83 2H20c1.1 0 2 .9 2 2v12c0 .05-.01.1-.02.16L20 17.17V7h-4.05l-1.83-2H9.88zm11.59 17.24L18.17 21H4c-1.1 0-2-.9-2-2V7c0-.59.27-1.12.68-1.49l-2-2L2.1 2.1l19.8 19.8zM9.19 12.02c-.11.31-.19.63-.19.98 0 1.66 1.34 3 3 3 .35 0 .67-.08.98-.19zM16.17 19l-1.68-1.68c-.73.43-1.58.68-2.49.68-2.76 0-5-2.24-5-5 0-.91.25-1.76.68-2.49L4.17 7H4v12zm-1.36-7.02 2.07 2.07c.08-.34.12-.69.12-1.05 0-2.76-2.24-5-5-5-.36 0-.71.04-1.06.12l2.07 2.07c.84.3 1.5.96 1.8 1.79" },
21
+ null,
22
+ -1
23
+ /* HOISTED */
24
+ ), r = [
25
+ l,
26
+ n
27
+ ];
28
+ function h(d, i) {
29
+ return t(), o("svg", c, [...r]);
30
+ }
31
+ const a = { render: h };
32
+ export {
33
+ a as default,
34
+ h as render
35
+ };
@@ -12,7 +12,7 @@ const n = {
12
12
  "stroke-linecap": "round",
13
13
  "stroke-linejoin": "round",
14
14
  "stroke-width": "1.5",
15
- d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"
15
+ d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487m0 0L19.5 7.125"
16
16
  },
17
17
  null,
18
18
  -1
@@ -4,6 +4,7 @@ export { default as MazBadge } from './MazBadge.js';
4
4
  export { default as MazBottomSheet } from './MazBottomSheet.js';
5
5
  export { default as MazBtn } from './MazBtn.js';
6
6
  export { default as MazCard } from './MazCard.js';
7
+ export { default as MazCardSpotlight } from './MazCardSpotlight.js';
7
8
  export { default as MazCarousel } from './MazCarousel.js';
8
9
  export { default as MazChart } from './MazChart.js';
9
10
  export { default as MazCheckbox } from './MazCheckbox.js';
@@ -6,6 +6,7 @@ export { default as MazBadge } from './MazBadge.mjs'
6
6
  export { default as MazBottomSheet } from './MazBottomSheet.mjs'
7
7
  export { default as MazBtn } from './MazBtn.mjs'
8
8
  export { default as MazCard } from './MazCard.mjs'
9
+ export { default as MazCardSpotlight } from './MazCardSpotlight.mjs'
9
10
  export { default as MazCarousel } from './MazCarousel.mjs'
10
11
  export { default as MazChart } from './MazChart.mjs'
11
12
  export { default as MazCheckbox } from './MazCheckbox.mjs'
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazBtn.css";
2
2
  import { defineComponent as M, defineAsyncComponent as z, useAttrs as E, useSlots as L, onBeforeMount as R, computed as t, openBlock as o, createBlock as i, resolveDynamicComponent as w, normalizeClass as u, withCtx as A, createElementBlock as v, renderSlot as r, unref as d, createCommentVNode as a, createElementVNode as D } from "vue";
3
- import { _ as N } from "./index-0wbCxej8.mjs";
3
+ import { _ as N } from "./index-wZ3oEJrJ.mjs";
4
4
  const P = /* @__PURE__ */ M({
5
5
  __name: "MazBtn",
6
6
  props: {
@@ -40,7 +40,7 @@ const P = /* @__PURE__ */ M({
40
40
  noElevation: { type: Boolean, default: !1 }
41
41
  },
42
42
  setup(e) {
43
- const p = z(() => import("./MazSpinner-U-92TzUo.mjs")), c = z(() => import("./MazIcon-jN7MCOTm.mjs")), { href: B, to: h } = E(), b = L(), n = e;
43
+ const p = z(() => import("./MazSpinner-JIi1LXux.mjs")), c = z(() => import("./MazIcon-jV2j5-vQ.mjs")), { href: B, to: h } = E(), b = L(), n = e;
44
44
  R(() => {
45
45
  n.icon && !n.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
46
46
  });
@@ -1 +1 @@
1
- var S=require("../assets/MazBtn.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("./index-fNfaYOpu.cjs"),z=e.defineComponent({__name:"MazBtn",props:{variant:{type:String,default:"button",validator:t=>["button","link"].includes(t)},size:{type:String,default:"md",validator:t=>["mini","xs","sm","md","lg","xl"].includes(t)},color:{type:String,default:"primary"},type:{type:String,default:"button",validator:t=>["button","submit","reset"].includes(t)},rounded:{type:Boolean,default:!1},noRounded:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},pastel:{type:Boolean,default:!1},block:{type:Boolean,default:!1},noUnderline:{type:Boolean,default:!1},noLeading:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},fab:{type:Boolean,default:!1},icon:{type:String,default:void 0},leftIcon:{type:String,default:void 0},rightIcon:{type:String,default:void 0},noPadding:{type:Boolean,default:!1},noElevation:{type:Boolean,default:!1}},setup(t){const d=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazSpinner-9nuTFEMU.cjs"))),a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazIcon-1rUbp3IR.cjs"))),{href:f,to:m}=e.useAttrs(),r=e.useSlots(),o=t;e.onBeforeMount(()=>{o.icon&&!o.fab&&console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props')});const i=e.computed(()=>f?"a":m?"router-link":"button"),v=e.computed(()=>o.pastel?`--${o.color}-pastel`:o.outline?`--${o.color}-outline`:`--${o.color}`),c=e.computed(()=>(o.loading||o.disabled)&&i.value==="button"),b=e.computed(()=>c.value?"--cursor-default":"--cursor-pointer"),y=e.computed(()=>`--is-${o.variant}`),n=e.computed(()=>o.loading&&o.variant==="button"),u=e.computed(()=>!!r["left-icon"]||o.leftIcon),s=e.computed(()=>!!r["right-icon"]||o.rightIcon),p=e.computed(()=>u.value||s.value),B=e.computed(()=>o.fab&&o.icon),g=e.computed(()=>i.value==="button"?o.type:void 0);return(l,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{disabled:c.value,class:e.normalizeClass(["m-btn",[`--${t.size}`,v.value,b.value,y.value,{"--block":t.block,"--no-underline":t.noUnderline,"--no-leading":t.noLeading,"--fab":t.fab,"--loading":t.loading,"--disabled":c.value,"--icon":p.value,"--rounded":t.rounded,"--no-rounded":t.noRounded,"--no-padding":t.noPadding,"--no-elevation":t.noElevation}]]),type:g.value},{default:e.withCtx(()=>[u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["m-btn__icon-left maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"left-icon",{},()=>[t.leftIcon?(e.openBlock(),e.createBlock(e.unref(a),{key:0,name:t.leftIcon},null,8,["name"])):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),B.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["m-btn__icon maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"icon",{},()=>[t.icon?(e.openBlock(),e.createBlock(e.unref(a),{key:0,name:t.icon},null,8,["name"])):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("span",{class:e.normalizeClass(["maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"default",{},void 0,!0)],2),s.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["m-btn__icon-right maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"right-icon",{},()=>[t.rightIcon?(e.openBlock(),e.createBlock(e.unref(a),{key:0,name:t.rightIcon},null,8,["name"])):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),n.value?(e.openBlock(),e.createBlock(e.unref(d),{key:3,size:"2em",color:t.color,class:"maz-absolute"},null,8,["color"])):e.createCommentVNode("v-if",!0)]),_:3},8,["disabled","class","type"]))}}),C=k._export_sfc(z,[["__scopeId","data-v-78782cb0"]]);exports.default=C;
1
+ var S=require("../assets/MazBtn.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),k=require("./index-2ztHYBiq.cjs"),z=e.defineComponent({__name:"MazBtn",props:{variant:{type:String,default:"button",validator:t=>["button","link"].includes(t)},size:{type:String,default:"md",validator:t=>["mini","xs","sm","md","lg","xl"].includes(t)},color:{type:String,default:"primary"},type:{type:String,default:"button",validator:t=>["button","submit","reset"].includes(t)},rounded:{type:Boolean,default:!1},noRounded:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},pastel:{type:Boolean,default:!1},block:{type:Boolean,default:!1},noUnderline:{type:Boolean,default:!1},noLeading:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},fab:{type:Boolean,default:!1},icon:{type:String,default:void 0},leftIcon:{type:String,default:void 0},rightIcon:{type:String,default:void 0},noPadding:{type:Boolean,default:!1},noElevation:{type:Boolean,default:!1}},setup(t){const d=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazSpinner-FvaDeIHB.cjs"))),a=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazIcon-Oj1DZi0J.cjs"))),{href:f,to:m}=e.useAttrs(),r=e.useSlots(),o=t;e.onBeforeMount(()=>{o.icon&&!o.fab&&console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props')});const i=e.computed(()=>f?"a":m?"router-link":"button"),v=e.computed(()=>o.pastel?`--${o.color}-pastel`:o.outline?`--${o.color}-outline`:`--${o.color}`),c=e.computed(()=>(o.loading||o.disabled)&&i.value==="button"),b=e.computed(()=>c.value?"--cursor-default":"--cursor-pointer"),y=e.computed(()=>`--is-${o.variant}`),n=e.computed(()=>o.loading&&o.variant==="button"),u=e.computed(()=>!!r["left-icon"]||o.leftIcon),s=e.computed(()=>!!r["right-icon"]||o.rightIcon),p=e.computed(()=>u.value||s.value),B=e.computed(()=>o.fab&&o.icon),g=e.computed(()=>i.value==="button"?o.type:void 0);return(l,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.value),{disabled:c.value,class:e.normalizeClass(["m-btn",[`--${t.size}`,v.value,b.value,y.value,{"--block":t.block,"--no-underline":t.noUnderline,"--no-leading":t.noLeading,"--fab":t.fab,"--loading":t.loading,"--disabled":c.value,"--icon":p.value,"--rounded":t.rounded,"--no-rounded":t.noRounded,"--no-padding":t.noPadding,"--no-elevation":t.noElevation}]]),type:g.value},{default:e.withCtx(()=>[u.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["m-btn__icon-left maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"left-icon",{},()=>[t.leftIcon?(e.openBlock(),e.createBlock(e.unref(a),{key:0,name:t.leftIcon},null,8,["name"])):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),B.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["m-btn__icon maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"icon",{},()=>[t.icon?(e.openBlock(),e.createBlock(e.unref(a),{key:0,name:t.icon},null,8,["name"])):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("span",{class:e.normalizeClass(["maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"default",{},void 0,!0)],2),s.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(["m-btn__icon-right maz-flex maz-flex-center",{"maz-invisible":n.value}])},[e.renderSlot(l.$slots,"right-icon",{},()=>[t.rightIcon?(e.openBlock(),e.createBlock(e.unref(a),{key:0,name:t.rightIcon},null,8,["name"])):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),n.value?(e.openBlock(),e.createBlock(e.unref(d),{key:3,size:"2em",color:t.color,class:"maz-absolute"},null,8,["color"])):e.createCommentVNode("v-if",!0)]),_:3},8,["disabled","class","type"]))}}),C=k._export_sfc(z,[["__scopeId","data-v-78782cb0"]]);exports.default=C;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),C=require("./index-fNfaYOpu.cjs"),T=["innerHTML"],b=t.defineComponent({__name:"MazIcon",props:{src:{type:String,default:void 0},path:{type:String,default:void 0},name:{type:String,default:void 0},size:{type:String,default:void 0},title:{type:String,default:void 0},transformSource:{type:Function,default:a=>a}},emits:["loaded","unloaded","error"],setup(a,{emit:f}){const i={},s=t.ref(),d=t.ref(),g=()=>{try{return C.injectStrict("mazIconPath")}catch{return}},l=a,u=f,m=t.computed(()=>l.path??g()),p=t.computed(()=>l.src?l.src:m.value?`${m.value}/${l.name}.svg`:`/${l.name}.svg`);t.onMounted(()=>{!l.name&&!l.src&&console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop')});const h=(e,r)=>{const n=e.querySelectorAll("title");if(n.length>0)n[0].textContent=r;else{const o=document.createElementNS("http://www.w3.org/2000/svg","title");o.textContent=r,e.append(o)}},S=e=>Object.keys(e).reduce((r,n)=>(e[n]!==!1&&e[n]!==null&&e[n]!==void 0&&(r[n]=e[n]),r),{}),y=e=>{const r={},n=e.attributes;if(!n)return r;for(let o=n.length-1;o>=0;o--)r[n[o].name]=n[o].value;return r},w=e=>{let r=e.cloneNode(!0);return r=l.transformSource(e),l.title&&h(r,l.title),e.innerHTML},E=async e=>{i[e]||(i[e]=M(e));try{s.value=await i[e],await t.nextTick(),u("loaded",d.value)}catch(r){s.value&&(s.value=void 0,u("unloaded")),delete i[e],u("error",r)}},M=e=>new Promise((r,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.addEventListener("load",()=>{if(o.status>=200&&o.status<400)try{let c=new DOMParser().parseFromString(o.responseText,"text/xml").querySelectorAll("svg")[0];c?(c=l.transformSource(c),r(c)):n(new Error('Loaded file is not valid SVG"'))}catch(v){n(v)}else n(new Error("Error loading SVG"))}),o.addEventListener("error",()=>n()),o.send()});return t.watchEffect(()=>E(p.value)),(e,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createCommentVNode(" eslint-disable vue/no-v-html "),t.createCommentVNode(" eslint-disable vue/html-self-closing "),s.value?(t.openBlock(),t.createElementBlock("svg",t.mergeProps({key:0,ref_key:"svgElem",ref:d,width:"1em",height:"1em"},{...y(s.value),...S(e.$attrs)},{style:`font-size: ${a.size}`,innerHTML:w(s.value)}),null,16,T)):t.createCommentVNode("v-if",!0),t.createCommentVNode(" eslint-enable vue/no-v-html "),t.createCommentVNode(" eslint-enable vue/html-self-closing ")],2112))}});exports.default=b;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),C=require("./index-2ztHYBiq.cjs"),T=["innerHTML"],b=t.defineComponent({__name:"MazIcon",props:{src:{type:String,default:void 0},path:{type:String,default:void 0},name:{type:String,default:void 0},size:{type:String,default:void 0},title:{type:String,default:void 0},transformSource:{type:Function,default:a=>a}},emits:["loaded","unloaded","error"],setup(a,{emit:f}){const i={},s=t.ref(),d=t.ref(),g=()=>{try{return C.injectStrict("mazIconPath")}catch{return}},l=a,u=f,m=t.computed(()=>l.path??g()),p=t.computed(()=>l.src?l.src:m.value?`${m.value}/${l.name}.svg`:`/${l.name}.svg`);t.onMounted(()=>{!l.name&&!l.src&&console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop')});const h=(e,r)=>{const n=e.querySelectorAll("title");if(n.length>0)n[0].textContent=r;else{const o=document.createElementNS("http://www.w3.org/2000/svg","title");o.textContent=r,e.append(o)}},S=e=>Object.keys(e).reduce((r,n)=>(e[n]!==!1&&e[n]!==null&&e[n]!==void 0&&(r[n]=e[n]),r),{}),y=e=>{const r={},n=e.attributes;if(!n)return r;for(let o=n.length-1;o>=0;o--)r[n[o].name]=n[o].value;return r},w=e=>{let r=e.cloneNode(!0);return r=l.transformSource(e),l.title&&h(r,l.title),e.innerHTML},E=async e=>{i[e]||(i[e]=M(e));try{s.value=await i[e],await t.nextTick(),u("loaded",d.value)}catch(r){s.value&&(s.value=void 0,u("unloaded")),delete i[e],u("error",r)}},M=e=>new Promise((r,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.addEventListener("load",()=>{if(o.status>=200&&o.status<400)try{let c=new DOMParser().parseFromString(o.responseText,"text/xml").querySelectorAll("svg")[0];c?(c=l.transformSource(c),r(c)):n(new Error('Loaded file is not valid SVG"'))}catch(v){n(v)}else n(new Error("Error loading SVG"))}),o.addEventListener("error",()=>n()),o.send()});return t.watchEffect(()=>E(p.value)),(e,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createCommentVNode(" eslint-disable vue/no-v-html "),t.createCommentVNode(" eslint-disable vue/html-self-closing "),s.value?(t.openBlock(),t.createElementBlock("svg",t.mergeProps({key:0,ref_key:"svgElem",ref:d,width:"1em",height:"1em"},{...y(s.value),...S(e.$attrs)},{style:`font-size: ${a.size}`,innerHTML:w(s.value)}),null,16,T)):t.createCommentVNode("v-if",!0),t.createCommentVNode(" eslint-enable vue/no-v-html "),t.createCommentVNode(" eslint-enable vue/html-self-closing ")],2112))}});exports.default=b;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as b, ref as f, computed as g, onMounted as P, watchEffect as _, openBlock as p, createElementBlock as h, Fragment as A, createCommentVNode as s, mergeProps as C, nextTick as $ } from "vue";
2
- import { i as q } from "./index-0wbCxej8.mjs";
2
+ import { i as q } from "./index-wZ3oEJrJ.mjs";
3
3
  const H = ["innerHTML"], G = /* @__PURE__ */ b({
4
4
  __name: "MazIcon",
5
5
  props: {
@@ -1 +1 @@
1
- var l=require("../assets/MazSpinner.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-fNfaYOpu.cjs"),n=e=>(t.pushScopeId("data-v-c67298ec"),e=e(),t.popScopeId(),e),o=["width","height"],s=n(()=>t.createElementVNode("path",{d:"M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"},null,-1)),r=[s],i=t.defineComponent({__name:"MazSpinner",props:{size:{type:String,default:"2em"},color:{type:String,default:"primary"}},setup(e){return(p,d)=>(t.openBlock(),t.createElementBlock("svg",{width:e.size,height:e.size,version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 50 50","xml:space":"preserve",class:t.normalizeClass(["m-spinner",`m-spinner--${e.color}`]),style:{"enable-background":"new 0 0 50 50"}},r,10,o))}}),a=c._export_sfc(i,[["__scopeId","data-v-c67298ec"]]);exports.default=a;
1
+ var l=require("../assets/MazSpinner.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c=require("./index-2ztHYBiq.cjs"),n=e=>(t.pushScopeId("data-v-c67298ec"),e=e(),t.popScopeId(),e),o=["width","height"],s=n(()=>t.createElementVNode("path",{d:"M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"},null,-1)),r=[s],i=t.defineComponent({__name:"MazSpinner",props:{size:{type:String,default:"2em"},color:{type:String,default:"primary"}},setup(e){return(p,d)=>(t.openBlock(),t.createElementBlock("svg",{width:e.size,height:e.size,version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 50 50","xml:space":"preserve",class:t.normalizeClass(["m-spinner",`m-spinner--${e.color}`]),style:{"enable-background":"new 0 0 50 50"}},r,10,o))}}),a=c._export_sfc(i,[["__scopeId","data-v-c67298ec"]]);exports.default=a;
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazSpinner.css";
2
2
  import { defineComponent as t, openBlock as o, createElementBlock as c, normalizeClass as n, pushScopeId as s, popScopeId as r, createElementVNode as i } from "vue";
3
- import { _ as p } from "./index-0wbCxej8.mjs";
3
+ import { _ as p } from "./index-wZ3oEJrJ.mjs";
4
4
  const a = (e) => (s("data-v-c67298ec"), e = e(), r(), e), d = ["width", "height"], l = /* @__PURE__ */ a(() => /* @__PURE__ */ i(
5
5
  "path",
6
6
  { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
@@ -12,7 +12,7 @@ const n = {
12
12
  "stroke-linecap": "round",
13
13
  "stroke-linejoin": "round",
14
14
  "stroke-width": "1.5",
15
- d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
15
+ d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0"
16
16
  },
17
17
  null,
18
18
  -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},r=e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"},null,-1),n=[r];function t(i,l){return e.openBlock(),e.createElementBlock("svg",o,[...n])}const c={render:t};exports.default=c;exports.render=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},r=e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0"},null,-1),n=[r];function t(i,l){return e.openBlock(),e.createElementBlock("svg",o,[...n])}const c={render:t};exports.default=c;exports.render=t;
@@ -12,7 +12,7 @@ const n = {
12
12
  "stroke-linecap": "round",
13
13
  "stroke-linejoin": "round",
14
14
  "stroke-width": "1.5",
15
- d: "M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"
15
+ d: "M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0m-9 3.75h.008v.008H12z"
16
16
  },
17
17
  null,
18
18
  -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},n=e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"},null,-1),r=[n];function t(i,l){return e.openBlock(),e.createElementBlock("svg",o,[...r])}const c={render:t};exports.default=c;exports.render=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},n=e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0m-9 3.75h.008v.008H12z"},null,-1),r=[n];function t(i,l){return e.openBlock(),e.createElementBlock("svg",o,[...r])}const c={render:t};exports.default=c;exports.render=t;
@@ -12,7 +12,7 @@ const n = {
12
12
  "stroke-linecap": "round",
13
13
  "stroke-linejoin": "round",
14
14
  "stroke-width": "1.5",
15
- d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"
15
+ d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008"
16
16
  },
17
17
  null,
18
18
  -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},n=e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"},null,-1),r=[n];function t(i,l){return e.openBlock(),e.createElementBlock("svg",o,[...r])}const c={render:t};exports.default=c;exports.render=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o={xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 24 24"},n=e.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008"},null,-1),r=[n];function t(i,l){return e.openBlock(),e.createElementBlock("svg",o,[...r])}const c={render:t};exports.default=c;exports.render=t;