maz-ui 3.30.0 → 3.30.1

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 (95) hide show
  1. package/components/MazBottomSheet.mjs +1 -1
  2. package/components/MazBtn.mjs +1 -1
  3. package/components/MazCard.mjs +1 -1
  4. package/components/MazCarousel.mjs +1 -1
  5. package/components/MazDialog.mjs +1 -1
  6. package/components/MazDialogPromise.mjs +1 -1
  7. package/components/MazDrawer.mjs +1 -1
  8. package/components/MazDropdown.mjs +1 -1
  9. package/components/MazIcon.d.ts +18 -6
  10. package/components/MazIcon.mjs +6 -0
  11. package/components/MazInput.mjs +1 -1
  12. package/components/MazInputNumber.mjs +1 -1
  13. package/components/MazInputPrice.mjs +1 -1
  14. package/components/MazInputTags.mjs +1 -1
  15. package/components/MazPhoneNumberInput.mjs +1 -1
  16. package/components/MazPicker.mjs +1 -1
  17. package/components/MazSelect.mjs +1 -1
  18. package/components/MazTable.d.ts +33 -20
  19. package/components/MazTable.mjs +1 -1
  20. package/components/assets/MazAccordion.css +1 -1
  21. package/components/assets/MazTable.css +1 -1
  22. package/components/chunks/{MazBottomSheet-WyUj8Zrw.mjs → MazBottomSheet-MRdOAZ2T.mjs} +1 -1
  23. package/components/chunks/{MazBtn-ZjiCLxmT.mjs → MazBtn--34bfWlu.mjs} +2 -2
  24. package/components/chunks/{MazBtn-K1SKayLz.mjs → MazBtn-AkVxgZfn.mjs} +2 -2
  25. package/components/chunks/{MazBtn-sWZXd2g6.mjs → MazBtn-CUNiMmQE.mjs} +2 -2
  26. package/components/chunks/{MazBtn-ZYsLrhgt.mjs → MazBtn-EAFb9Q8c.mjs} +2 -2
  27. package/components/chunks/{MazBtn-T4MDi2FE.mjs → MazBtn-G9L3fRJo.mjs} +2 -2
  28. package/components/chunks/{MazBtn-4-TE7SUO.mjs → MazBtn-IDfsBBHc.mjs} +2 -2
  29. package/components/chunks/{MazBtn-qS2nVQTd.mjs → MazBtn-OFovJQfH.mjs} +1 -1
  30. package/components/chunks/MazBtn-Y3zix8MB.mjs +151 -0
  31. package/components/chunks/{MazBtn-daqbfGXn.mjs → MazBtn-hfE4r9KZ.mjs} +1 -1
  32. package/components/chunks/{MazBtn-jQRJnAQv.mjs → MazBtn-hoedf8ZG.mjs} +2 -2
  33. package/components/chunks/MazBtn-i44R6RAz.mjs +151 -0
  34. package/components/chunks/MazBtn-jkmziPNH.mjs +151 -0
  35. package/components/chunks/{MazBtn-1UOpnURG.mjs → MazBtn-qvCPxNOG.mjs} +2 -2
  36. package/components/chunks/{MazCard--Zf1WbLn.mjs → MazCard-k-QNUP7q.mjs} +1 -1
  37. package/components/chunks/{MazCarousel-H-Oe8CF4.mjs → MazCarousel-G60gU3z1.mjs} +1 -1
  38. package/components/chunks/{MazCheckbox-jJhwS8jj.mjs → MazCheckbox-bCZEp10e.mjs} +1 -1
  39. package/components/chunks/{MazCheckbox-7mvZhdQN.mjs → MazCheckbox-jTmww83w.mjs} +1 -1
  40. package/components/chunks/{MazDialog-rPDlX1Ba.mjs → MazDialog-vQkml-If.mjs} +1 -1
  41. package/components/chunks/{MazDialogPromise-EQ0-h316.mjs → MazDialogPromise-FfeYjcDw.mjs} +2 -2
  42. package/components/chunks/{MazDrawer-MXMpEVPm.mjs → MazDrawer-LlBHtwhB.mjs} +1 -1
  43. package/components/chunks/{MazGallery-avpVN7XH.mjs → MazGallery-rn5Gkbtn.mjs} +2 -2
  44. package/components/chunks/{MazIcon-RrJDzX3V.mjs → MazIcon-C329_2BT.mjs} +6 -0
  45. package/components/chunks/{MazIcon-QABZL-LH.mjs → MazIcon-nbwFqcXh.mjs} +7 -1
  46. package/components/chunks/{MazInput-LYHWG3Q-.mjs → MazInput-cDg_FDnY.mjs} +1 -1
  47. package/components/chunks/{MazInput-c3296hDU.mjs → MazInput-cXZ_H6wK.mjs} +2 -2
  48. package/components/chunks/{MazInputNumber-XWN_m-DI.mjs → MazInputNumber-ZaKLVazZ.mjs} +2 -2
  49. package/components/chunks/{MazInputPrice-UaT8Ccpo.mjs → MazInputPrice-79hrStfD.mjs} +1 -1
  50. package/components/chunks/{MazInputTags-_HF4WMAe.mjs → MazInputTags-HFkBSKlM.mjs} +2 -2
  51. package/components/chunks/{MazPhoneNumberInput-2NadEFHa.mjs → MazPhoneNumberInput-OnMM9X5p.mjs} +2 -2
  52. package/components/chunks/{MazPicker-u5OzIbF6.mjs → MazPicker-ud-lPMgD.mjs} +2 -2
  53. package/components/chunks/{MazPickerCalendar-WGM2h8ri.mjs → MazPickerCalendar-szLdt6yr.mjs} +3 -3
  54. package/components/chunks/{MazPickerHeader-z1-wglD-.mjs → MazPickerHeader-opA2H7EB.mjs} +1 -1
  55. package/components/chunks/{MazPickerMonthSwitcher-3fKG05oz.mjs → MazPickerMonthSwitcher-6hqu5Qkd.mjs} +2 -2
  56. package/components/chunks/{MazPickerShortcuts-DLGnBHK6.mjs → MazPickerShortcuts-DmVUkTw9.mjs} +2 -2
  57. package/components/chunks/{MazPickerTime-LYqhKeqX.mjs → MazPickerTime-uxejp0wR.mjs} +2 -2
  58. package/components/chunks/{MazPickerYearSwitcher-N_3Km08e.mjs → MazPickerYearSwitcher-D1i75b_X.mjs} +3 -3
  59. package/components/chunks/{MazSelect-0jZLxxf6.mjs → MazSelect-g9qpTnrc.mjs} +2 -2
  60. package/components/chunks/MazSpinner--4bqqOKL.mjs +38 -0
  61. package/components/chunks/{MazSpinner-UMQeUTHI.mjs → MazSpinner-1yYmfo2I.mjs} +1 -1
  62. package/components/chunks/{MazSpinner-ZIwoIM5I.mjs → MazSpinner-3OnUXiTh.mjs} +1 -1
  63. package/components/chunks/{MazSpinner-WeI_x2u1.mjs → MazSpinner-5sYSI1_O.mjs} +1 -1
  64. package/components/chunks/{MazSpinner-Y7rv_0Te.mjs → MazSpinner-9_5y4gke.mjs} +1 -1
  65. package/components/chunks/MazSpinner-9sba_zAf.mjs +38 -0
  66. package/components/chunks/{MazSpinner-VVAvBD-d.mjs → MazSpinner-A_NC_tK8.mjs} +1 -1
  67. package/components/chunks/{MazSpinner-QKVbbwHt.mjs → MazSpinner-Dt4Ccfmq.mjs} +1 -1
  68. package/components/chunks/{MazSpinner-5stzk7K3.mjs → MazSpinner-DuQmW4pv.mjs} +1 -1
  69. package/components/chunks/MazSpinner-I1XK7EC5.mjs +38 -0
  70. package/components/chunks/{MazSpinner--jt-4RRo.mjs → MazSpinner-QaNlRiLb.mjs} +1 -1
  71. package/components/chunks/MazSpinner-RURydK6v.mjs +38 -0
  72. package/components/chunks/MazSpinner-T5xADmk9.mjs +38 -0
  73. package/components/chunks/MazSpinner-ULs6mOfP.mjs +38 -0
  74. package/components/chunks/{MazSpinner-cmSdKy83.mjs → MazSpinner-fCcCyMtN.mjs} +1 -1
  75. package/components/chunks/{MazSpinner-piCwIt-Y.mjs → MazSpinner-oJyvbIrb.mjs} +1 -1
  76. package/components/chunks/{MazTable-geVB-dLF.mjs → MazTable-cpMo4aDY.mjs} +7 -7
  77. package/components/chunks/{MazTransitionExpand-j_6aXtwC.mjs → MazTransitionExpand-q6Pf_i_R.mjs} +1 -1
  78. package/modules/chunks/{MazBtn-Gxu45Q_q.mjs → MazBtn-G2aPYOU-.mjs} +2 -2
  79. package/modules/chunks/{MazIcon-AofNfTmW.mjs → MazIcon-b9Oqf3R6.mjs} +7 -1
  80. package/modules/chunks/{MazSpinner-4Ua44jir.mjs → MazSpinner-WLSG2ECl.mjs} +1 -1
  81. package/modules/chunks/{index-iYESPuVu.mjs → index-H9WdBnW6.mjs} +2 -2
  82. package/modules/index.mjs +1 -1
  83. package/nuxt/index.json +1 -1
  84. package/package.json +1 -1
  85. package/types/components/MazIcon.vue.d.ts +18 -6
  86. package/types/components/MazTable.vue.d.ts +33 -20
  87. package/components/chunks/MazBtn-aTsv0G9w.mjs +0 -151
  88. package/components/chunks/MazBtn-hpBxSBSr.mjs +0 -151
  89. package/components/chunks/MazBtn-rPmlFLOs.mjs +0 -151
  90. package/components/chunks/MazSpinner-YT-3Kzyn.mjs +0 -38
  91. package/components/chunks/MazSpinner-Zli65D7b.mjs +0 -38
  92. package/components/chunks/MazSpinner-bR_4NBo3.mjs +0 -38
  93. package/components/chunks/MazSpinner-cFMZfsu7.mjs +0 -38
  94. package/components/chunks/MazSpinner-ddVe2549.mjs +0 -38
  95. package/components/chunks/MazSpinner-jwVYeooN.mjs +0 -38
@@ -1,7 +1,7 @@
1
1
  import "../assets/MazPickerTime.css";
2
2
  import { defineComponent as W, ref as x, computed as n, watch as B, nextTick as h, openBlock as d, createElementBlock as _, normalizeClass as g, Fragment as w, renderList as M, createElementVNode as b, normalizeStyle as S, createBlock as E, withModifiers as G, withCtx as J, createTextVNode as K, toDisplayString as Q } from "vue";
3
- import { d as i, f as $, s as R, _ as U } from "./MazPicker-u5OzIbF6.mjs";
4
- import X from "./MazBtn-ZjiCLxmT.mjs";
3
+ import { d as i, f as $, s as R, _ as U } from "./MazPicker-ud-lPMgD.mjs";
4
+ import X from "./MazBtn--34bfWlu.mjs";
5
5
  const Y = { class: "m-picker-time__column__items" }, Z = /* @__PURE__ */ W({
6
6
  __name: "MazPickerTime",
7
7
  props: {
@@ -1,9 +1,9 @@
1
1
  import "../assets/MazPickerYearSwitcher.css";
2
2
  import { defineComponent as C, ref as b, computed as w, openBlock as m, createElementBlock as _, createElementVNode as u, createVNode as s, withModifiers as l, withCtx as i, unref as o, 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-u5OzIbF6.mjs";
4
- import d from "./MazBtn-ZjiCLxmT.mjs";
3
+ import { d as c, a as I, i as y, _ as N } from "./MazPicker-ud-lPMgD.mjs";
4
+ import d from "./MazBtn--34bfWlu.mjs";
5
5
  import { X as V } from "./x-mark-d7yqulTI.mjs";
6
- import { C as z } from "./MazPickerCalendar-WGM2h8ri.mjs";
6
+ import { C as z } from "./MazPickerCalendar-szLdt6yr.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__ */ C({
8
8
  __name: "MazPickerYearSwitcher",
9
9
  props: {
@@ -86,7 +86,7 @@ const ye = ({
86
86
  },
87
87
  emits: ["focus", "blur", "update:model-value", "click", "change", "update"],
88
88
  setup(o, { emit: m }) {
89
- const b = I(() => import("./MazBtn-jQRJnAQv.mjs")), K = I(() => import("./MazIcon-RrJDzX3V.mjs")), T = I(() => import("./eye-slash-rdPLIzFI.mjs")), J = I(() => import("./eye-3jm1b22X.mjs")), X = I(() => import("./check-_5Up9njX.mjs")), t = o, h = m, z = p(!1), i = p(!1), A = p(), Y = me(), _ = ye({
89
+ const b = I(() => import("./MazBtn-EAFb9Q8c.mjs")), K = I(() => import("./MazIcon-C329_2BT.mjs")), T = I(() => import("./eye-slash-rdPLIzFI.mjs")), J = I(() => import("./eye-3jm1b22X.mjs")), X = I(() => import("./check-_5Up9njX.mjs")), t = o, h = m, z = p(!1), i = p(!1), A = p(), Y = me(), _ = ye({
90
90
  componentName: "MazInput",
91
91
  instance: Y,
92
92
  providedId: t.id
@@ -330,7 +330,7 @@ const Oe = {
330
330
  "1b90775a": Y.value,
331
331
  "14df8f7b": _.value
332
332
  }));
333
- const b = I(() => import("./MazCheckbox-jJhwS8jj.mjs")), K = I(() => import("./magnifying-glass-ebhrla2J.mjs")), T = I(() => import("./chevron-down-bC0s_0yH.mjs")), J = I(() => import("./no-symbol-JnXtUaU-.mjs")), X = me(), t = o, h = m, z = p(!1), i = p(), A = r(
333
+ const b = I(() => import("./MazCheckbox-bCZEp10e.mjs")), K = I(() => import("./magnifying-glass-ebhrla2J.mjs")), T = I(() => import("./chevron-down-bC0s_0yH.mjs")), J = I(() => import("./no-symbol-JnXtUaU-.mjs")), X = me(), t = o, h = m, z = p(!1), i = p(), A = r(
334
334
  () => ["black", "transparent", "white"].includes(t.color)
335
335
  ), Y = r(
336
336
  () => A.value ? "var(--maz-color-black)" : `var(--maz-color-${t.color}-800)`
@@ -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 "./MazInputNumber-ZaKLVazZ.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 "./MazSelect-0jZLxxf6.mjs";
3
+ import { _ as p } from "./MazDrawer-LlBHtwhB.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 "./MazBtn-daqbfGXn.mjs";
3
+ import { _ as p } from "./MazBtn-hfE4r9KZ.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 "./MazCarousel-H-Oe8CF4.mjs";
3
+ import { _ as p } from "./MazCarousel-G60gU3z1.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 "./MazCard--Zf1WbLn.mjs";
3
+ import { _ as p } from "./MazCard-k-QNUP7q.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 "./MazPhoneNumberInput-OnMM9X5p.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 "./MazInput-LYHWG3Q-.mjs";
3
+ import { _ as p } from "./MazInput-cDg_FDnY.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 "./MazInputTags-_HF4WMAe.mjs";
3
+ import { _ as p } from "./MazInputTags-HFkBSKlM.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 "./MazDialog-rPDlX1Ba.mjs";
3
+ import { _ as p } from "./MazSelect-g9qpTnrc.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 "./MazDialog-vQkml-If.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 "./MazInputPrice-UaT8Ccpo.mjs";
3
+ import { _ as p } from "./MazInputPrice-79hrStfD.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 "./MazDialogPromise-FfeYjcDw.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
+ };
@@ -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 "./MazPicker-ud-lPMgD.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
+ };
@@ -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 "./MazBottomSheet-MRdOAZ2T.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 "./MazTable-geVB-dLF.mjs";
3
+ import { _ as p } from "./MazTable-cpMo4aDY.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 "./MazBtn-qS2nVQTd.mjs";
3
+ import { _ as p } from "./MazBtn-OFovJQfH.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" },
@@ -187,7 +187,7 @@ const Le = ({
187
187
  },
188
188
  emits: ["focus", "blur", "update:model-value", "click", "change", "update"],
189
189
  setup(o, { emit: f }) {
190
- const n = R(() => Promise.resolve().then(() => Lt)), c = R(() => import("./MazIcon-QABZL-LH.mjs")), L = R(() => import("./eye-slash-rdPLIzFI.mjs")), B = R(() => import("./eye-3jm1b22X.mjs")), w = R(() => Promise.resolve().then(() => Rt)), t = o, N = f, C = M(!1), z = M(!1), E = M(), S = Ke(), Q = Le({
190
+ const n = R(() => Promise.resolve().then(() => Lt)), c = R(() => import("./MazIcon-nbwFqcXh.mjs")), L = R(() => import("./eye-slash-rdPLIzFI.mjs")), B = R(() => import("./eye-3jm1b22X.mjs")), w = R(() => Promise.resolve().then(() => Rt)), t = o, N = f, C = M(!1), z = M(!1), E = M(), S = Ke(), Q = Le({
191
191
  componentName: "MazInput",
192
192
  instance: S,
193
193
  providedId: t.id
@@ -763,7 +763,7 @@ const Bt = {
763
763
  contentClass: { default: void 0 }
764
764
  },
765
765
  setup(o) {
766
- const f = R(() => import("./MazSpinner-cmSdKy83.mjs")), n = R(() => import("./MazIcon-QABZL-LH.mjs")), { href: c, to: L } = Je(), B = xe(), w = o;
766
+ const f = R(() => import("./MazSpinner-fCcCyMtN.mjs")), n = R(() => import("./MazIcon-nbwFqcXh.mjs")), { href: c, to: L } = Je(), B = xe(), w = o;
767
767
  _e(() => {
768
768
  w.icon && !w.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
769
769
  });
@@ -1115,7 +1115,7 @@ const Ue = { render: qe }, Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
1115
1115
  }), Ae = /* @__PURE__ */ X(Yt, [["__scopeId", "data-v-05f6558f"]]), Zt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1116
1116
  __proto__: null,
1117
1117
  default: Ae
1118
- }, Symbol.toStringTag, { value: "Module" })), Te = (o) => (De("data-v-7c08a286"), o = o(), Ee(), o), Gt = {
1118
+ }, Symbol.toStringTag, { value: "Module" })), Te = (o) => (De("data-v-363e6725"), o = o(), Ee(), o), Gt = {
1119
1119
  key: 0,
1120
1120
  class: "m-table-header"
1121
1121
  }, Jt = /* @__PURE__ */ Te(() => /* @__PURE__ */ I(
@@ -1192,8 +1192,8 @@ const Ue = { render: qe }, Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
1192
1192
  emits: ["update:model-value", "update:search-query", "update:page", "update:page-size"],
1193
1193
  setup(o, { emit: f }) {
1194
1194
  ze((l) => ({
1195
- "092a7181": n.tableLayout,
1196
- de8b2d74: n.captionSide
1195
+ "0221808b": n.tableLayout,
1196
+ ec9d0f60: n.captionSide
1197
1197
  }));
1198
1198
  const n = o, c = u(
1199
1199
  () => n.divider && !n.backgroundEven && !n.backgroundOdd
@@ -1430,7 +1430,7 @@ const Ue = { render: qe }, Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
1430
1430
  rowspan: r.rowspan,
1431
1431
  colspan: r.colspan,
1432
1432
  headers: r.thHeaders,
1433
- style: re({ width: r.width }),
1433
+ style: re({ width: r.width, textAlign: r.align }),
1434
1434
  class: $(["maz-group", [
1435
1435
  { "--hidden": r.hidden, "--sortable": r.sortable ?? l.sortable },
1436
1436
  r.classes,
@@ -1744,7 +1744,7 @@ const Ue = { render: qe }, Rt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
1744
1744
  /* CLASS */
1745
1745
  ));
1746
1746
  }
1747
- }), pl = /* @__PURE__ */ X(cl, [["__scopeId", "data-v-7c08a286"]]);
1747
+ }), pl = /* @__PURE__ */ X(cl, [["__scopeId", "data-v-363e6725"]]);
1748
1748
  export {
1749
1749
  pl as M,
1750
1750
  X as _,
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazTransitionExpand.css";
2
2
  import { defineComponent as e, useCssVars as p, openBlock as d, createBlock as h, TransitionGroup as u, withCtx as y, renderSlot as g, nextTick as s } from "vue";
3
- import { _ as l } from "./MazCard--Zf1WbLn.mjs";
3
+ import { _ as l } from "./MazCard-k-QNUP7q.mjs";
4
4
  const f = /* @__PURE__ */ e({
5
5
  __name: "MazTransitionExpand",
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import "../assets/MazBtn.css";
2
2
  import { defineComponent as L, defineAsyncComponent as y, useAttrs as E, useSlots as R, onBeforeMount as S, computed as t, openBlock as l, createBlock as i, resolveDynamicComponent as w, normalizeClass as s, withCtx as A, createElementBlock as r, createCommentVNode as n, renderSlot as u, unref as d } from "vue";
3
- import { _ as D } from "./index-iYESPuVu.mjs";
3
+ import { _ as D } from "./index-H9WdBnW6.mjs";
4
4
  const P = /* @__PURE__ */ L({
5
5
  __name: "MazBtn",
6
6
  props: {
@@ -26,7 +26,7 @@ const P = /* @__PURE__ */ L({
26
26
  contentClass: { default: void 0 }
27
27
  },
28
28
  setup(h) {
29
- const g = y(() => import("./MazSpinner-4Ua44jir.mjs")), c = y(() => import("./MazIcon-AofNfTmW.mjs")), { href: B, to: z } = E(), v = R(), e = h;
29
+ const g = y(() => import("./MazSpinner-WLSG2ECl.mjs")), c = y(() => import("./MazIcon-b9Oqf3R6.mjs")), { href: B, to: z } = E(), v = R(), e = h;
30
30
  S(() => {
31
31
  e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
32
32
  });
@@ -1,13 +1,19 @@
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-iYESPuVu.mjs";
2
+ import { i as q } from "./index-H9WdBnW6.mjs";
3
3
  const H = ["innerHTML"], G = /* @__PURE__ */ b({
4
4
  __name: "MazIcon",
5
5
  props: {
6
+ /** The source path of the SVG file - e.g: `/icons/home.svg` */
6
7
  src: { type: String, default: void 0 },
8
+ /** The path of the folder where the SVG files are stored - e.g: `/icons` */
7
9
  path: { type: String, default: void 0 },
10
+ /** The name of the SVG file - e.g: `home` */
8
11
  name: { type: String, default: void 0 },
12
+ /** The size of the SVG file - e.g: `1em` */
9
13
  size: { type: String, default: void 0 },
14
+ /** The title of the SVG file - e.g: `Home` */
10
15
  title: { type: String, default: void 0 },
16
+ /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
11
17
  transformSource: {
12
18
  type: Function,
13
19
  default: (a) => 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-iYESPuVu.mjs";
3
+ import { _ as p } from "./index-H9WdBnW6.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" },
@@ -852,7 +852,7 @@ const pt = {
852
852
  },
853
853
  emits: ["close", "previous", "next", "before-close"],
854
854
  setup(s, { emit: e }) {
855
- const t = e, i = L(() => import("./MazSpinner-4Ua44jir.mjs")), n = L(() => import("./x-mark-pPwcH6Hz.mjs")), a = L(() => import("./chevron-left-48sF6neb.mjs")), l = s, u = v(!1), d = v(!1), g = v(!1), b = v(!1), f = v(!1), y = v(l.clickedElement), I = p(() => l.clickedElement.getBoundingClientRect()), B = p(
855
+ const t = e, i = L(() => import("./MazSpinner-WLSG2ECl.mjs")), n = L(() => import("./x-mark-pPwcH6Hz.mjs")), a = L(() => import("./chevron-left-48sF6neb.mjs")), l = s, u = v(!1), d = v(!1), g = v(!1), b = v(!1), f = v(!1), y = v(l.clickedElement), I = p(() => l.clickedElement.getBoundingClientRect()), B = p(
856
856
  () => I.value.height < I.value.width
857
857
  ), D = v(l.src), Y = v(l.alt), M = v(), S = v(), q = p(() => f.value ? "--is-zoomed maz-cursor-zoom-out" : "maz-cursor-zoom-in");
858
858
  function R() {
@@ -1281,7 +1281,7 @@ const je = {
1281
1281
  },
1282
1282
  emits: ["close", "click", "open"],
1283
1283
  setup(s, { emit: e }) {
1284
- const t = L(() => import("./MazBtn-Gxu45Q_q.mjs")), i = L(() => import("./x-mark-pPwcH6Hz.mjs")), n = L(
1284
+ const t = L(() => import("./MazBtn-G2aPYOU-.mjs")), i = L(() => import("./x-mark-pPwcH6Hz.mjs")), n = L(
1285
1285
  () => import("./arrow-top-right-on-square-JGWhrxDH.mjs")
1286
1286
  ), a = L(
1287
1287
  () => import("./exclamation-triangle-KCpIguWV.mjs")
package/modules/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { C as e, I as t, S as l, b as i, T as n, U as o, W as r, E as u, r as c, c as I, u as d, w as m, d as v, i as T, D as g, e as p, q as y, y as b, A as C, a as F, m as S, x as w, s as z, z as H, t as U, H as W, O as k, L as A, G as L, Q as h, F as O, N as f, K as j, M as q, J as x, P as B, f as D, p as V, n as Z, o as E, k as G, l as J, v as K, g as M, h as N, j as P, B as Q } from "./chunks/index-iYESPuVu.mjs";
1
+ import { C as e, I as t, S as l, b as i, T as n, U as o, W as r, E as u, r as c, c as I, u as d, w as m, d as v, i as T, D as g, e as p, q as y, y as b, A as C, a as F, m as S, x as w, s as z, z as H, t as U, H as W, O as k, L as A, G as L, Q as h, F as O, N as f, K as j, M as q, J as x, P as B, f as D, p as V, n as Z, o as E, k as G, l as J, v as K, g as M, h as N, j as P, B as Q } from "./chunks/index-H9WdBnW6.mjs";
2
2
  export {
3
3
  e as AosHandler,
4
4
  t as IdleTimeout,
package/nuxt/index.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "3.30.0"
7
+ "version": "3.30.1"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maz-ui",
3
- "version": "3.30.0",
3
+ "version": "3.30.1",
4
4
  "description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
5
5
  "author": "Louis Mazel <me@loicmazuel.com>",
6
6
  "main": "./modules/index.cjs",
@@ -1,62 +1,74 @@
1
1
  import { type PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
+ /** The source path of the SVG file - e.g: `/icons/home.svg` */
3
4
  src: {
4
5
  type: StringConstructor;
5
6
  default: undefined;
6
7
  };
8
+ /** The path of the folder where the SVG files are stored - e.g: `/icons` */
7
9
  path: {
8
10
  type: StringConstructor;
9
11
  default: undefined;
10
12
  };
13
+ /** The name of the SVG file - e.g: `home` */
11
14
  name: {
12
15
  type: StringConstructor;
13
16
  default: undefined;
14
17
  };
18
+ /** The size of the SVG file - e.g: `1em` */
15
19
  size: {
16
20
  type: StringConstructor;
17
21
  default: undefined;
18
22
  };
23
+ /** The title of the SVG file - e.g: `Home` */
19
24
  title: {
20
25
  type: StringConstructor;
21
26
  default: undefined;
22
27
  };
28
+ /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
23
29
  transformSource: {
24
30
  type: PropType<(param: SVGElement) => SVGElement>;
25
31
  default: (svg: SVGElement) => SVGElement;
26
32
  };
27
33
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
- error: (...args: any[]) => void;
29
- loaded: (...args: any[]) => void;
30
- unloaded: (...args: any[]) => void;
34
+ loaded: (svg: SVGElement | undefined) => void;
35
+ unloaded: () => void;
36
+ error: (error: Error) => void;
31
37
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
38
+ /** The source path of the SVG file - e.g: `/icons/home.svg` */
32
39
  src: {
33
40
  type: StringConstructor;
34
41
  default: undefined;
35
42
  };
43
+ /** The path of the folder where the SVG files are stored - e.g: `/icons` */
36
44
  path: {
37
45
  type: StringConstructor;
38
46
  default: undefined;
39
47
  };
48
+ /** The name of the SVG file - e.g: `home` */
40
49
  name: {
41
50
  type: StringConstructor;
42
51
  default: undefined;
43
52
  };
53
+ /** The size of the SVG file - e.g: `1em` */
44
54
  size: {
45
55
  type: StringConstructor;
46
56
  default: undefined;
47
57
  };
58
+ /** The title of the SVG file - e.g: `Home` */
48
59
  title: {
49
60
  type: StringConstructor;
50
61
  default: undefined;
51
62
  };
63
+ /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
52
64
  transformSource: {
53
65
  type: PropType<(param: SVGElement) => SVGElement>;
54
66
  default: (svg: SVGElement) => SVGElement;
55
67
  };
56
68
  }>> & {
57
- onError?: ((...args: any[]) => any) | undefined;
58
- onLoaded?: ((...args: any[]) => any) | undefined;
59
- onUnloaded?: ((...args: any[]) => any) | undefined;
69
+ onError?: ((error: Error) => any) | undefined;
70
+ onLoaded?: ((svg: SVGElement | undefined) => any) | undefined;
71
+ onUnloaded?: (() => any) | undefined;
60
72
  }, {
61
73
  size: string;
62
74
  title: string;