maz-ui 3.49.0 → 3.49.2

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 (129) hide show
  1. package/components/MazAnimatedCounter.mjs +78 -73
  2. package/components/MazAnimatedElement.mjs +12 -12
  3. package/components/MazAnimatedText.mjs +5 -5
  4. package/components/MazBottomSheet.mjs +1 -1
  5. package/components/MazBtn.mjs +1 -1
  6. package/components/MazCard.mjs +1 -1
  7. package/components/MazCarousel.mjs +1 -1
  8. package/components/MazChecklist.mjs +1 -1
  9. package/components/MazCircularProgressBar.mjs +128 -123
  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 +1 -1
  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.mjs +1 -1
  21. package/components/MazSelect.mjs +1 -1
  22. package/components/MazTable.mjs +1 -1
  23. package/components/assets/MazAnimatedCounter.css +1 -1
  24. package/components/assets/MazAnimatedElement.css +1 -1
  25. package/components/assets/MazAnimatedText.css +1 -1
  26. package/components/assets/MazBtn.css +1 -1
  27. package/components/assets/MazCard.css +1 -1
  28. package/components/assets/MazCircularProgressBar.css +1 -1
  29. package/components/assets/MazInput.css +1 -1
  30. package/components/assets/MazInputNumber.css +1 -1
  31. package/components/assets/MazInputPrice.css +1 -1
  32. package/components/assets/MazInputTags.css +1 -1
  33. package/components/assets/MazPagination.css +1 -1
  34. package/components/assets/MazPhoneNumberInput.css +1 -1
  35. package/components/assets/MazPicker.css +1 -1
  36. package/components/chunks/{MazBottomSheet-CNFupuJS.mjs → MazBottomSheet-CIXEEUpN.mjs} +1 -1
  37. package/components/chunks/MazBtn-9Jk8ZkBq.mjs +103 -0
  38. package/components/chunks/{MazBtn-BJNzz7YT.mjs → MazBtn-BHD7Xbr_.mjs} +3 -3
  39. package/components/chunks/{MazBtn-CKDJOBcC.mjs → MazBtn-BT4o0zLa.mjs} +2 -2
  40. package/components/chunks/{MazBtn-D53RC3KP.mjs → MazBtn-Ba8ff2Nu.mjs} +3 -3
  41. package/components/chunks/{MazBtn-DYURBZtp.mjs → MazBtn-Bdhu8JTk.mjs} +2 -2
  42. package/components/chunks/{MazBtn-BO1U1gVG.mjs → MazBtn-CbTqLKv1.mjs} +3 -3
  43. package/components/chunks/MazBtn-DAzJbcTl.mjs +103 -0
  44. package/components/chunks/{MazBtn-CP-m-KDm.mjs → MazBtn-DCGXwqRM.mjs} +3 -3
  45. package/components/chunks/MazBtn-DGIjSCP2.mjs +103 -0
  46. package/components/chunks/{MazBtn-CUoFOAML.mjs → MazBtn-DXinft-p.mjs} +3 -3
  47. package/components/chunks/MazBtn-DnpSuILi.mjs +103 -0
  48. package/components/chunks/{MazBtn-BugQGoO-.mjs → MazBtn-GYr50Ap4.mjs} +3 -3
  49. package/components/chunks/{MazBtn-Cyn7ObTB.mjs → MazBtn-IBh1tCot.mjs} +3 -3
  50. package/components/chunks/{MazBtn-MvFibIXn.mjs → MazBtn-UDAwHekF.mjs} +3 -3
  51. package/components/chunks/{MazCard-D-q6vhWd.mjs → MazCard-CQBFy8r_.mjs} +4 -4
  52. package/components/chunks/{MazCarousel-Z4XypOn_.mjs → MazCarousel-Bcn7nKDo.mjs} +1 -1
  53. package/components/chunks/{MazCheckbox-DJi0g4uK.mjs → MazCheckbox-B8Rnqa6O.mjs} +1 -1
  54. package/components/chunks/{MazCheckbox-DafMJoEw.mjs → MazCheckbox-Br41Nrq7.mjs} +1 -1
  55. package/components/chunks/{MazCheckbox-BImOZ1aM.mjs → MazCheckbox-t4i9eR04.mjs} +1 -1
  56. package/components/chunks/{MazChecklist-DaEf6wix.mjs → MazChecklist-DLr57bfX.mjs} +1 -1
  57. package/components/chunks/{MazDialog-PVsds2Mw.mjs → MazDialog-ak7mSNff.mjs} +1 -1
  58. package/components/chunks/{MazDialogPromise-BdtiOZGU.mjs → MazDialogPromise-JvS9f5Of.mjs} +2 -2
  59. package/components/chunks/{MazDrawer-CMHe_JEh.mjs → MazDrawer-CTsb4x_4.mjs} +1 -1
  60. package/components/chunks/{MazDropdown-DpGSAqe0.mjs → MazDropdown-BxMokXYe.mjs} +1 -1
  61. package/components/chunks/{MazGallery-BtuCo-H0.mjs → MazGallery-C7Zp1iYc.mjs} +2 -2
  62. package/components/chunks/MazIcon-C47uJeFY.mjs +4 -0
  63. package/components/chunks/{MazIcon-Bnebkvf6.mjs → MazIcon-mGVzj6Xw.mjs} +1 -1
  64. package/components/chunks/{MazInput-C3QweR84.mjs → MazInput-BK2OXh6D.mjs} +73 -84
  65. package/components/chunks/{MazInput-DvaaM9Iq.mjs → MazInput-BWHAOFtO.mjs} +66 -77
  66. package/components/chunks/{MazInput-DjvBbUZl.mjs → MazInput-C2_KlBtJ.mjs} +67 -78
  67. package/components/chunks/{MazInputNumber-D904Pg1R.mjs → MazInputNumber-Bw6O0AGT.mjs} +104 -115
  68. package/components/chunks/{MazInputPrice-CQiJFPWB.mjs → MazInputPrice-BCM9ga_h.mjs} +104 -115
  69. package/components/chunks/{MazInputTags-BPSG1X1a.mjs → MazInputTags-B0B93sN-.mjs} +127 -138
  70. package/components/chunks/{MazLink-DnnBkVEE.mjs → MazLink-PEtIzV5x.mjs} +1 -1
  71. package/components/chunks/{MazLoadingBar-Dm14PSs6.mjs → MazLoadingBar-BjzRnYVR.mjs} +1 -1
  72. package/components/chunks/{MazPagination-CuCKS1Qr.mjs → MazPagination-DKseqKmF.mjs} +2 -2
  73. package/components/chunks/{MazPhoneNumberInput-CKpP3yWz.mjs → MazPhoneNumberInput-CPm6LjfT.mjs} +354 -365
  74. package/components/chunks/MazPicker-BHBE1cC_.mjs +2482 -0
  75. package/components/chunks/{MazPickerMonthSwitcher-BDxk_Msi.mjs → MazPickerMonthSwitcher-CXfxTBNH.mjs} +1 -1
  76. package/components/chunks/{MazPickerShortcuts-DtHvsdEW.mjs → MazPickerShortcuts-BLuYu65Q.mjs} +1 -1
  77. package/components/chunks/{MazPickerYearSwitcher-DXkaTXFw.mjs → MazPickerYearSwitcher-CpSOH48Y.mjs} +1 -1
  78. package/components/chunks/{MazSelect-VAPsGKXy.mjs → MazSelect-CdSRiSW9.mjs} +3 -3
  79. package/components/chunks/{MazSelect-cthYMQqx.mjs → MazSelect-uHsahxjj.mjs} +188 -199
  80. package/components/chunks/{MazSpinner-Ba5WXlbx.mjs → MazSpinner-B3mUm5mz.mjs} +1 -1
  81. package/components/chunks/MazSpinner-B698e0ut.mjs +34 -0
  82. package/components/chunks/{MazSpinner-B5j5EaKc.mjs → MazSpinner-BEW98Fow.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-94rvbsAk.mjs → MazSpinner-BqMt92KT.mjs} +1 -1
  84. package/components/chunks/{MazSpinner-DtFpBxRT.mjs → MazSpinner-Bs8Z0Ewo.mjs} +1 -1
  85. package/components/chunks/MazSpinner-C2OD6LW3.mjs +34 -0
  86. package/components/chunks/MazSpinner-C3zQC9oz.mjs +34 -0
  87. package/components/chunks/MazSpinner-C5pIord0.mjs +34 -0
  88. package/components/chunks/MazSpinner-C8KOYxzi.mjs +34 -0
  89. package/components/chunks/{MazSpinner-DLR4lVAu.mjs → MazSpinner-C8zfJPRU.mjs} +1 -1
  90. package/components/chunks/{MazSpinner-BLh6PkZJ.mjs → MazSpinner-C_uLffb-.mjs} +1 -1
  91. package/components/chunks/{MazSpinner-C2mutMJX.mjs → MazSpinner-Cu7WoA4N.mjs} +1 -1
  92. package/components/chunks/MazSpinner-CyqPQ7SW.mjs +34 -0
  93. package/components/chunks/MazSpinner-DV634NYb.mjs +34 -0
  94. package/components/chunks/MazSpinner-DW_14RuN.mjs +34 -0
  95. package/components/chunks/{MazSpinner-SnOek826.mjs → MazSpinner-DwQiUPTZ.mjs} +1 -1
  96. package/components/chunks/MazSpinner-zV6qnXaD.mjs +34 -0
  97. package/components/chunks/{MazTable-BuFlCw1p.mjs → MazTable-B5BMpCK1.mjs} +1 -1
  98. package/components/chunks/{MazTableCell-C6oDOvNH.mjs → MazTableCell-7Ahz87mm.mjs} +1 -1
  99. package/components/chunks/{MazTableRow-BBS8sW7w.mjs → MazTableRow-B0JiP3mV.mjs} +1 -1
  100. package/components/chunks/{MazTableTitle-D7J-0k_j.mjs → MazTableTitle-BdajfMLo.mjs} +1 -1
  101. package/components/chunks/{MazTransitionExpand-BlcqxvGq.mjs → MazTransitionExpand-BO_9-l3g.mjs} +1 -1
  102. package/modules/assets/MazBtn.css +1 -1
  103. package/modules/chunks/{MazBtn-BjiQC2PC.mjs → MazBtn-CvuJewxV.mjs} +3 -3
  104. package/modules/chunks/{MazBtn-BnQrui8R.cjs → MazBtn-eZwyrxMU.cjs} +1 -1
  105. package/modules/chunks/{MazIcon-DwFVj44O.mjs → MazIcon-CeCRHfan.mjs} +1 -1
  106. package/modules/chunks/{MazIcon-D4oz63T8.cjs → MazIcon-u9VBpDx8.cjs} +1 -1
  107. package/modules/chunks/{MazSpinner-B18bQ49b.cjs → MazSpinner-BY5lnQ7u.cjs} +1 -1
  108. package/modules/chunks/{MazSpinner-7nqeVBxW.mjs → MazSpinner-DdDJ5vzJ.mjs} +1 -1
  109. package/modules/chunks/{index-D8S1X6Fy.mjs → index--62sMUK_.mjs} +4 -4
  110. package/modules/chunks/{index-IBifh-oY.cjs → index-Bq7zqUSE.cjs} +2 -2
  111. package/modules/index.cjs +1 -1
  112. package/modules/index.mjs +1 -1
  113. package/nuxt/index.json +1 -1
  114. package/package.json +1 -1
  115. package/components/chunks/MazBtn-DiYly5sp.mjs +0 -103
  116. package/components/chunks/MazBtn-Dlx6nLm2.mjs +0 -103
  117. package/components/chunks/MazBtn-MJYP-poo.mjs +0 -103
  118. package/components/chunks/MazBtn-tS9ACNLi.mjs +0 -103
  119. package/components/chunks/MazIcon-C7ZMosGw.mjs +0 -4
  120. package/components/chunks/MazPicker-g10_1sY_.mjs +0 -2493
  121. package/components/chunks/MazSpinner-C7TbmneX.mjs +0 -34
  122. package/components/chunks/MazSpinner-CcshuKK9.mjs +0 -34
  123. package/components/chunks/MazSpinner-D2J_jdkK.mjs +0 -34
  124. package/components/chunks/MazSpinner-DIzWfhcT.mjs +0 -34
  125. package/components/chunks/MazSpinner-DP019rLG.mjs +0 -34
  126. package/components/chunks/MazSpinner-DXCofnqs.mjs +0 -34
  127. package/components/chunks/MazSpinner-DmeOhZXm.mjs +0 -34
  128. package/components/chunks/MazSpinner-ZDRUpUqo.mjs +0 -34
  129. package/components/chunks/MazSpinner-qRqfN8k4.mjs +0 -34
@@ -1,17 +1,17 @@
1
- import { openBlock as n, createElementBlock as h, createElementVNode as E, defineComponent as q, defineAsyncComponent as T, useAttrs as ae, computed as s, createBlock as p, resolveDynamicComponent as D, normalizeClass as b, normalizeStyle as N, withCtx as P, renderSlot as V, unref as m, createCommentVNode as c, createVNode as O, useId as le, ref as S, onMounted as ne, useSlots as re, toDisplayString as U, withDirectives as se, mergeProps as G, toHandlers as ie, vModelDynamic as ue, createTextVNode as J, withModifiers as Q, TransitionGroup as de, Fragment as ce, renderList as fe, withKeys as H } from "vue";
1
+ import { openBlock as n, createElementBlock as B, createElementVNode as A, defineComponent as N, defineAsyncComponent as S, useAttrs as oe, computed as s, createBlock as p, resolveDynamicComponent as j, normalizeClass as b, normalizeStyle as q, withCtx as O, renderSlot as T, unref as m, createCommentVNode as c, createVNode as D, useId as te, ref as C, onMounted as ae, useSlots as le, toDisplayString as E, withDirectives as ne, mergeProps as G, toHandlers as re, vModelDynamic as se, withModifiers as J, TransitionGroup as ie, Fragment as ue, renderList as de, createTextVNode as fe, withKeys as H } from "vue";
2
2
  import '../assets/MazInputTags.css';function K(f) {
3
3
  return !!f;
4
4
  }
5
- const me = {
5
+ const ce = {
6
6
  xmlns: "http://www.w3.org/2000/svg",
7
7
  width: "1em",
8
8
  height: "1em",
9
9
  fill: "none",
10
10
  viewBox: "0 0 24 24"
11
11
  };
12
- function pe(f, l) {
13
- return n(), h("svg", me, l[0] || (l[0] = [
14
- E(
12
+ function me(f, l) {
13
+ return n(), B("svg", ce, l[0] || (l[0] = [
14
+ A(
15
15
  "path",
16
16
  {
17
17
  stroke: "currentColor",
@@ -26,10 +26,10 @@ function pe(f, l) {
26
26
  )
27
27
  ]));
28
28
  }
29
- const ve = { render: pe }, be = {
29
+ const pe = { render: me }, ve = {
30
30
  key: 0,
31
31
  class: "m-btn-loader-container"
32
- }, ye = /* @__PURE__ */ q({
32
+ }, be = /* @__PURE__ */ N({
33
33
  __name: "MazBtn",
34
34
  props: {
35
35
  variant: { default: "button" },
@@ -54,17 +54,17 @@ const ve = { render: pe }, be = {
54
54
  justify: { default: "center" }
55
55
  },
56
56
  setup(f) {
57
- const l = f, o = T(() => import("./MazSpinner-qRqfN8k4.mjs")), d = T(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: B, to: k } = ae(), y = s(() => B ? "a" : k ? "router-link" : "button"), g = s(() => l.pastel ? `--${l.color}-pastel` : l.outline ? `--${l.color}-outline` : `--${l.color}`), $ = s(
57
+ const l = f, o = S(() => import("./MazSpinner-DW_14RuN.mjs")), d = S(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: I, to: k } = oe(), y = s(() => I ? "a" : k ? "router-link" : "button"), g = s(() => l.pastel ? `--${l.color}-pastel` : l.outline ? `--${l.color}-outline` : `--${l.color}`), $ = s(
58
58
  () => (l.loading || l.disabled) && y.value === "button"
59
- ), v = s(() => $.value ? "--cursor-default" : "--cursor-pointer"), I = s(() => `--is-${l.variant}`), M = s(() => l.loading && l.variant === "button"), F = s(() => y.value === "button" ? l.type : void 0), z = s(() => l.size === "xl" ? "maz-text-3xl" : l.size === "lg" ? "maz-text-2xl" : l.size === "md" ? "maz-text-xl" : l.size === "sm" ? "maz-text-lg" : l.size === "xs" ? "maz-text-base" : l.size === "mini" ? "maz-text-sm" : "maz-text-xl");
60
- return (t, a) => (n(), p(D(y.value), {
59
+ ), v = s(() => $.value ? "--cursor-default" : "--cursor-pointer"), w = s(() => `--is-${l.variant}`), V = s(() => l.loading && l.variant === "button"), M = s(() => y.value === "button" ? l.type : void 0), z = s(() => l.size === "xl" ? "maz-text-3xl" : l.size === "lg" ? "maz-text-2xl" : l.size === "md" ? "maz-text-xl" : l.size === "sm" ? "maz-text-lg" : l.size === "xs" ? "maz-text-base" : l.size === "mini" ? "maz-text-sm" : "maz-text-xl");
60
+ return (t, a) => (n(), p(j(y.value), {
61
61
  disabled: $.value || void 0,
62
62
  class: b(["m-btn m-reset-css", [
63
63
  `--${t.size}`,
64
64
  !t.fab && !t.rounded && t.roundedSize && `--rounded-${t.roundedSize}`,
65
65
  g.value,
66
66
  v.value,
67
- I.value,
67
+ w.value,
68
68
  {
69
69
  "--block": t.block,
70
70
  "--no-underline": t.noUnderline,
@@ -77,43 +77,43 @@ const ve = { render: pe }, be = {
77
77
  "--no-elevation": t.noElevation
78
78
  }
79
79
  ]]),
80
- style: N([`--justify: ${t.justify}`]),
81
- type: F.value
80
+ style: q([`--justify: ${t.justify}`]),
81
+ type: M.value
82
82
  }, {
83
- default: P(() => [
84
- V(t.$slots, "left-icon", {}, () => [
83
+ default: O(() => [
84
+ T(t.$slots, "left-icon", {}, () => [
85
85
  typeof t.leftIcon == "string" ? (n(), p(m(d), {
86
86
  key: 0,
87
87
  name: t.leftIcon,
88
88
  class: b([z.value])
89
- }, null, 8, ["name", "class"])) : t.leftIcon ? (n(), p(D(t.leftIcon), {
89
+ }, null, 8, ["name", "class"])) : t.leftIcon ? (n(), p(j(t.leftIcon), {
90
90
  key: 1,
91
91
  class: b([z.value])
92
92
  }, null, 8, ["class"])) : c("v-if", !0)
93
93
  ], !0),
94
- V(t.$slots, "icon", {}, () => [
94
+ T(t.$slots, "icon", {}, () => [
95
95
  typeof t.icon == "string" ? (n(), p(m(d), {
96
96
  key: 0,
97
97
  name: t.icon,
98
98
  class: b([z.value])
99
- }, null, 8, ["name", "class"])) : t.icon ? (n(), p(D(t.icon), {
99
+ }, null, 8, ["name", "class"])) : t.icon ? (n(), p(j(t.icon), {
100
100
  key: 1,
101
101
  class: b([z.value])
102
102
  }, null, 8, ["class"])) : c("v-if", !0)
103
103
  ], !0),
104
- V(t.$slots, "default", {}, void 0, !0),
105
- V(t.$slots, "right-icon", {}, () => [
104
+ T(t.$slots, "default", {}, void 0, !0),
105
+ T(t.$slots, "right-icon", {}, () => [
106
106
  typeof t.rightIcon == "string" ? (n(), p(m(d), {
107
107
  key: 0,
108
108
  name: t.rightIcon,
109
109
  class: b([z.value])
110
- }, null, 8, ["name", "class"])) : t.rightIcon ? (n(), p(D(t.rightIcon), {
110
+ }, null, 8, ["name", "class"])) : t.rightIcon ? (n(), p(j(t.rightIcon), {
111
111
  key: 1,
112
112
  class: b([z.value])
113
113
  }, null, 8, ["class"])) : c("v-if", !0)
114
114
  ], !0),
115
- M.value ? (n(), h("div", be, [
116
- O(m(o), {
115
+ V.value ? (n(), B("div", ve, [
116
+ D(m(o), {
117
117
  size: "2em",
118
118
  color: t.color
119
119
  }, null, 8, ["color"])
@@ -125,20 +125,20 @@ const ve = { render: pe }, be = {
125
125
  }
126
126
  }), R = (f, l) => {
127
127
  const o = f.__vccOpts || f;
128
- for (const [d, B] of l)
129
- o[d] = B;
128
+ for (const [d, I] of l)
129
+ o[d] = I;
130
130
  return o;
131
- }, W = /* @__PURE__ */ R(ye, [["__scopeId", "data-v-5acb3b32"]]), ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
131
+ }, Q = /* @__PURE__ */ R(be, [["__scopeId", "data-v-6b881156"]]), ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
132
132
  __proto__: null,
133
- default: W
133
+ default: Q
134
134
  }, Symbol.toStringTag, { value: "Module" }));
135
- function ze({
135
+ function ge({
136
136
  componentName: f,
137
137
  providedId: l
138
138
  }) {
139
- return s(() => l ?? `${f}-${le().replace(/:/g, "")}`);
139
+ return s(() => l ?? `${f}-${te().replace(/:/g, "")}`);
140
140
  }
141
- function he(f, l) {
141
+ function ze(f, l) {
142
142
  let o;
143
143
  return function(...d) {
144
144
  clearTimeout(o), o = setTimeout(() => {
@@ -146,13 +146,13 @@ function he(f, l) {
146
146
  }, l);
147
147
  };
148
148
  }
149
- const ke = ["for"], Be = {
149
+ const he = ["for"], ke = {
150
150
  key: 0,
151
151
  class: "m-input-wrapper-left"
152
- }, Ie = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], we = { key: 0 }, $e = {
152
+ }, Be = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], Ie = {
153
153
  key: 1,
154
154
  class: "m-input-wrapper-right"
155
- }, Ce = /* @__PURE__ */ q({
155
+ }, we = /* @__PURE__ */ N({
156
156
  inheritAttrs: !1,
157
157
  __name: "MazInput",
158
158
  props: {
@@ -193,13 +193,13 @@ const ke = ["for"], Be = {
193
193
  },
194
194
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
195
195
  setup(f, { emit: l }) {
196
- const o = f, d = l, B = T(() => Promise.resolve().then(() => ge)), k = T(() => import("./MazIcon-Cq1v4J3r.mjs")), y = T(() => import("./eye-slash-BoO00xzs.mjs")), g = T(() => import("./eye-f8zAUc30.mjs")), $ = T(() => import("./check-BmubdHc_.mjs")), v = S(!1), I = S(!1), M = S(), F = ze({
196
+ const o = f, d = l, I = S(() => Promise.resolve().then(() => ye)), k = S(() => import("./MazIcon-Cq1v4J3r.mjs")), y = S(() => import("./eye-slash-BoO00xzs.mjs")), g = S(() => import("./eye-f8zAUc30.mjs")), $ = S(() => import("./check-BmubdHc_.mjs")), v = C(!1), w = C(!1), V = C(), M = ge({
197
197
  componentName: "MazInput",
198
198
  providedId: o.id
199
199
  });
200
- ne(() => {
200
+ ae(() => {
201
201
  var e;
202
- o.autoFocus && ((e = M.value) == null || e.focus());
202
+ o.autoFocus && ((e = V.value) == null || e.focus());
203
203
  });
204
204
  const z = s(() => o.type === "password"), t = s(() => v.value ? "text" : o.type), a = s(() => {
205
205
  if (!o.noBorder) {
@@ -209,7 +209,7 @@ const ke = ["for"], Be = {
209
209
  return "maz-border-success";
210
210
  if (o.warning)
211
211
  return "maz-border-warning";
212
- if (I.value || o.borderActive) {
212
+ if (w.value || o.borderActive) {
213
213
  if (o.color === "black")
214
214
  return "maz-border-black";
215
215
  if (o.color === "danger")
@@ -229,51 +229,47 @@ const ke = ["for"], Be = {
229
229
  }
230
230
  return "--default-border";
231
231
  }
232
- }), r = re(), i = s(() => {
233
- const { required: e, placeholder: w } = o;
234
- if (w)
235
- return e ? `${w} *` : w;
236
- }), u = s(() => j.value !== void 0 && j.value !== ""), L = he(
232
+ }), r = le(), i = s(() => h.value !== void 0 && h.value !== ""), u = ze(
237
233
  (e) => {
238
234
  d("update:model-value", e);
239
235
  },
240
236
  typeof o.debounce == "number" ? o.debounce : o.debounceDelay ?? 500
241
237
  );
242
- function C(e) {
238
+ function F(e) {
243
239
  if (o.debounce)
244
- return L(e);
240
+ return u(e);
245
241
  d("update:model-value", e);
246
242
  }
247
- const j = s({
243
+ const h = s({
248
244
  get: () => o.modelValue,
249
- set: (e) => C(e)
250
- }), X = s(() => (!!o.label || !!o.hint) && (I.value || !!u.value || !!o.placeholder || ["date", "month", "week"].includes(o.type))), Y = s(() => !!o.label || !!o.hint);
251
- function Z() {
245
+ set: (e) => F(e)
246
+ }), U = s(() => (!!o.label || !!o.hint) && (w.value || !!i.value || !!o.placeholder || ["date", "month", "week"].includes(o.type))), W = s(() => !!o.label || !!o.hint);
247
+ function X() {
252
248
  return !!r["right-icon"] || z.value || !!r["valid-button"] || o.validButton || !!o.rightIcon;
253
249
  }
254
- function x() {
250
+ function Y() {
255
251
  return !!r["left-icon"] || !!o.leftIcon;
256
252
  }
257
- function _(e) {
258
- d("focus", e), I.value = !0;
253
+ function Z(e) {
254
+ d("focus", e), w.value = !0;
259
255
  }
260
- function ee(e) {
261
- d("blur", e), I.value = !1;
256
+ function x(e) {
257
+ d("blur", e), w.value = !1;
262
258
  }
263
- function oe(e) {
259
+ function _(e) {
264
260
  return d("change", e);
265
261
  }
266
- function te(e) {
262
+ function ee(e) {
267
263
  return d("input", e);
268
264
  }
269
- return (e, w) => (n(), h(
265
+ return (e, L) => (n(), B(
270
266
  "div",
271
267
  {
272
268
  class: b(["m-input", [
273
269
  {
274
- "--is-focused": I.value || e.borderActive,
275
- "--should-up": X.value,
276
- "--has-label": Y.value,
270
+ "--is-focused": w.value || e.borderActive,
271
+ "--should-up": U.value,
272
+ "--has-label": W.value,
277
273
  "--is-disabled": e.disabled,
278
274
  "--is-readonly": e.readonly,
279
275
  "--has-z-2": e.error || e.warning || e.success,
@@ -283,15 +279,15 @@ const ke = ["for"], Be = {
283
279
  o.class,
284
280
  `--${e.color}`
285
281
  ]]),
286
- style: N(e.style)
282
+ style: q(e.style)
287
283
  },
288
284
  [
289
- e.topLabel ? (n(), h("label", {
285
+ e.topLabel ? (n(), B("label", {
290
286
  key: 0,
291
- for: m(F),
287
+ for: m(M),
292
288
  class: "m-input-top-label"
293
- }, U(e.topLabel), 9, ke)) : c("v-if", !0),
294
- E(
289
+ }, E(e.topLabel), 9, he)) : c("v-if", !0),
290
+ A(
295
291
  "div",
296
292
  {
297
293
  class: b(["m-input-wrapper m-reset-css", [
@@ -302,30 +298,30 @@ const ke = ["for"], Be = {
302
298
  ]])
303
299
  },
304
300
  [
305
- x() ? (n(), h("div", Be, [
306
- e.$slots["left-icon"] || e.leftIcon ? V(e.$slots, "left-icon", { key: 0 }, () => [
301
+ Y() ? (n(), B("div", ke, [
302
+ e.$slots["left-icon"] || e.leftIcon ? T(e.$slots, "left-icon", { key: 0 }, () => [
307
303
  typeof e.leftIcon == "string" ? (n(), p(m(k), {
308
304
  key: 0,
309
305
  name: e.leftIcon,
310
306
  class: "maz-text-xl maz-text-muted"
311
- }, null, 8, ["name"])) : e.leftIcon ? (n(), p(D(e.leftIcon), {
307
+ }, null, 8, ["name"])) : e.leftIcon ? (n(), p(j(e.leftIcon), {
312
308
  key: 1,
313
309
  class: "maz-text-xl maz-text-muted"
314
310
  })) : c("v-if", !0)
315
311
  ], !0) : c("v-if", !0)
316
312
  ])) : c("v-if", !0),
317
- E(
313
+ A(
318
314
  "div",
319
315
  {
320
316
  class: b(["m-input-wrapper-input", [`--${e.size}`, { "--top-label": !!e.topLabel }]])
321
317
  },
322
318
  [
323
- se(E("input", G({ id: m(F) }, e.$attrs, {
319
+ ne(A("input", G({ id: m(M) }, e.$attrs, {
324
320
  ref_key: "input",
325
- ref: M,
326
- "onUpdate:modelValue": w[0] || (w[0] = (A) => j.value = A),
321
+ ref: V,
322
+ "onUpdate:modelValue": L[0] || (L[0] = (P) => h.value = P),
327
323
  name: e.name,
328
- placeholder: i.value,
324
+ placeholder: e.placeholder,
329
325
  "aria-label": e.label || e.placeholder,
330
326
  type: t.value,
331
327
  inputmode: e.inputmode,
@@ -334,17 +330,17 @@ const ke = ["for"], Be = {
334
330
  autocomplete: e.autocomplete,
335
331
  required: e.required,
336
332
  class: "m-input-input"
337
- }, ie({
338
- blur: ee,
339
- focus: _,
340
- change: oe,
341
- input: te
333
+ }, re({
334
+ blur: x,
335
+ focus: Z,
336
+ change: _,
337
+ input: ee
342
338
  }, !0), {
343
- onClick: w[1] || (w[1] = (A) => e.$emit("click", A))
344
- }), null, 16, Ie), [
345
- [ue, j.value]
339
+ onClick: L[1] || (L[1] = (P) => e.$emit("click", P))
340
+ }), null, 16, Be), [
341
+ [se, h.value]
346
342
  ]),
347
- e.label || e.hint ? (n(), h(
343
+ e.label || e.hint ? (n(), B(
348
344
  "span",
349
345
  {
350
346
  key: 0,
@@ -356,40 +352,33 @@ const ke = ["for"], Be = {
356
352
  }
357
353
  ]])
358
354
  },
359
- [
360
- J(
361
- U(e.hint || e.label) + " ",
362
- 1
363
- /* TEXT */
364
- ),
365
- e.required ? (n(), h("sup", we, "*")) : c("v-if", !0)
366
- ],
367
- 2
368
- /* CLASS */
355
+ E(e.hint || e.label),
356
+ 3
357
+ /* TEXT, CLASS */
369
358
  )) : c("v-if", !0)
370
359
  ],
371
360
  2
372
361
  /* CLASS */
373
362
  ),
374
- Z() ? (n(), h("div", $e, [
375
- e.$slots["right-icon"] || e.rightIcon ? V(e.$slots, "right-icon", { key: 0 }, () => [
363
+ X() ? (n(), B("div", Ie, [
364
+ e.$slots["right-icon"] || e.rightIcon ? T(e.$slots, "right-icon", { key: 0 }, () => [
376
365
  typeof e.rightIcon == "string" ? (n(), p(m(k), {
377
366
  key: 0,
378
367
  name: e.rightIcon,
379
368
  class: "maz-text-xl maz-text-muted"
380
- }, null, 8, ["name"])) : e.rightIcon ? (n(), p(D(e.rightIcon), {
369
+ }, null, 8, ["name"])) : e.rightIcon ? (n(), p(j(e.rightIcon), {
381
370
  key: 1,
382
371
  class: "maz-text-xl maz-text-muted"
383
372
  })) : c("v-if", !0)
384
373
  ], !0) : c("v-if", !0),
385
- z.value ? (n(), p(m(B), {
374
+ z.value ? (n(), p(m(I), {
386
375
  key: 1,
387
376
  color: "transparent",
388
377
  tabindex: "-1",
389
378
  size: "mini",
390
- onClick: w[2] || (w[2] = Q((A) => v.value = !v.value, ["stop"]))
379
+ onClick: L[2] || (L[2] = J((P) => v.value = !v.value, ["stop"]))
391
380
  }, {
392
- default: P(() => [
381
+ default: O(() => [
393
382
  v.value ? (n(), p(m(y), {
394
383
  key: 0,
395
384
  class: "maz-text-xl maz-text-muted"
@@ -401,8 +390,8 @@ const ke = ["for"], Be = {
401
390
  _: 1
402
391
  /* STABLE */
403
392
  })) : c("v-if", !0),
404
- e.$slots["valid-button"] || e.validButton ? V(e.$slots, "valid-button", { key: 2 }, () => [
405
- O(m(B), {
393
+ e.$slots["valid-button"] || e.validButton ? T(e.$slots, "valid-button", { key: 2 }, () => [
394
+ D(m(I), {
406
395
  color: "transparent",
407
396
  disabled: e.disabled,
408
397
  tabindex: "-1",
@@ -411,8 +400,8 @@ const ke = ["for"], Be = {
411
400
  size: "mini",
412
401
  type: "submit"
413
402
  }, {
414
- default: P(() => [
415
- O(m($), { class: "maz-text-2xl maz-text-normal" })
403
+ default: O(() => [
404
+ D(m($), { class: "maz-text-2xl maz-text-normal" })
416
405
  ]),
417
406
  _: 1
418
407
  /* STABLE */
@@ -423,7 +412,7 @@ const ke = ["for"], Be = {
423
412
  2
424
413
  /* CLASS */
425
414
  ),
426
- e.assistiveText ? (n(), h(
415
+ e.assistiveText ? (n(), B(
427
416
  "div",
428
417
  {
429
418
  key: 1,
@@ -436,7 +425,7 @@ const ke = ["for"], Be = {
436
425
  }
437
426
  ]])
438
427
  },
439
- U(e.assistiveText),
428
+ E(e.assistiveText),
440
429
  3
441
430
  /* TEXT, CLASS */
442
431
  )) : c("v-if", !0)
@@ -445,7 +434,7 @@ const ke = ["for"], Be = {
445
434
  /* CLASS, STYLE */
446
435
  ));
447
436
  }
448
- }), Se = /* @__PURE__ */ R(Ce, [["__scopeId", "data-v-04e832e5"]]), Te = /* @__PURE__ */ q({
437
+ }), $e = /* @__PURE__ */ R(we, [["__scopeId", "data-v-8def99c5"]]), Ce = /* @__PURE__ */ N({
449
438
  inheritAttrs: !1,
450
439
  __name: "MazInputTags",
451
440
  props: {
@@ -466,7 +455,7 @@ const ke = ["for"], Be = {
466
455
  },
467
456
  emits: ["update:model-value"],
468
457
  setup(f, { emit: l }) {
469
- const o = f, d = l, B = S(!1), k = S(), y = S(), g = S(), $ = S(), v = s(
458
+ const o = f, d = l, I = C(!1), k = C(), y = C(), g = C(), $ = C(), v = s(
470
459
  () => {
471
460
  var a;
472
461
  return (a = o.modelValue) == null ? void 0 : a.map((r) => ({
@@ -475,13 +464,13 @@ const ke = ["for"], Be = {
475
464
  }));
476
465
  }
477
466
  );
478
- function I(a) {
467
+ function w(a) {
479
468
  if (k.value) {
480
469
  g.value = void 0, a.preventDefault();
481
470
  const i = k.value.trim().split(",").map((u) => u.trim() === "," ? void 0 : u.trim()).filter(K).filter(
482
471
  (u) => {
483
- var L, C;
484
- return !((C = (L = o.modelValue) == null ? void 0 : L.filter(K)) != null && C.some((j) => j === u));
472
+ var F, h;
473
+ return !((h = (F = o.modelValue) == null ? void 0 : F.filter(K)) != null && h.some((U) => U === u));
485
474
  }
486
475
  );
487
476
  d(
@@ -490,14 +479,14 @@ const ke = ["for"], Be = {
490
479
  ), k.value = void 0;
491
480
  }
492
481
  }
493
- const M = s(() => {
482
+ const V = s(() => {
494
483
  if (o.error)
495
484
  return "maz-border-danger";
496
485
  if (o.success)
497
486
  return "maz-border-success";
498
487
  if (o.warning)
499
488
  return "maz-border-warning";
500
- if (B.value) {
489
+ if (I.value) {
501
490
  if (o.color === "primary")
502
491
  return "maz-border-primary";
503
492
  if (o.color === "secondary")
@@ -517,7 +506,7 @@ const ke = ["for"], Be = {
517
506
  }
518
507
  return "maz-border-border dark:maz-border-color-lighter";
519
508
  });
520
- function F() {
509
+ function M() {
521
510
  var a, r, i;
522
511
  k.value || v.value && ((a = v.value) == null ? void 0 : a.length) === 0 || ($.value && clearTimeout($.value), g.value ? (z(g.value), g.value = void 0) : (g.value = (i = (r = v.value) == null ? void 0 : r[v.value.length - 1]) == null ? void 0 : i.id, $.value = setTimeout(() => {
523
512
  g.value = void 0;
@@ -529,39 +518,39 @@ const ke = ["for"], Be = {
529
518
  d("update:model-value", r);
530
519
  }
531
520
  const t = s(() => o.size === "mini" || o.size === "xs" ? "mini" : o.size === "sm" ? "xs" : o.size === "md" ? "sm" : o.size === "lg" ? "md" : o.size === "xl" ? "lg" : o.size);
532
- return (a, r) => (n(), h(
521
+ return (a, r) => (n(), B(
533
522
  "div",
534
523
  {
535
- class: b(["m-input-tags m-reset-css", [M.value, `--${a.color}`, `--${a.size}`, o.class, { "--block": a.block }]]),
536
- style: N(a.style),
537
- onFocusCapture: r[4] || (r[4] = (i) => B.value = !0),
538
- onBlurCapture: r[5] || (r[5] = (i) => B.value = !1)
524
+ class: b(["m-input-tags m-reset-css", [V.value, `--${a.color}`, `--${a.size}`, o.class, { "--block": a.block }]]),
525
+ style: q(a.style),
526
+ onFocusCapture: r[4] || (r[4] = (i) => I.value = !0),
527
+ onBlurCapture: r[5] || (r[5] = (i) => I.value = !1)
539
528
  },
540
529
  [
541
- O(de, { name: "maz-tags" }, {
542
- default: P(() => [
543
- (n(!0), h(
544
- ce,
530
+ D(ie, { name: "maz-tags" }, {
531
+ default: O(() => [
532
+ (n(!0), B(
533
+ ue,
545
534
  null,
546
- fe(v.value, ({ tag: i, id: u }, L) => (n(), h("div", {
547
- key: `tag-${L}`,
535
+ de(v.value, ({ tag: i, id: u }, F) => (n(), B("div", {
536
+ key: `tag-${F}`,
548
537
  class: "m-input-tags__wrapper"
549
538
  }, [
550
- O(W, {
539
+ D(Q, {
551
540
  class: "m-input-tags__tag",
552
541
  disabled: a.disabled,
553
542
  size: t.value,
554
543
  color: y.value === u || g.value === u ? "danger" : a.color,
555
- "right-icon": y.value === u || g.value === u ? m(ve) : void 0,
556
- onClick: Q((C) => z(u), ["stop"]),
557
- onMouseenter: (C) => y.value = u,
558
- onFocus: (C) => y.value = u,
559
- onMouseleave: r[0] || (r[0] = (C) => y.value = void 0),
560
- onBlur: r[1] || (r[1] = (C) => y.value = void 0)
544
+ "right-icon": y.value === u || g.value === u ? m(pe) : void 0,
545
+ onClick: J((h) => z(u), ["stop"]),
546
+ onMouseenter: (h) => y.value = u,
547
+ onFocus: (h) => y.value = u,
548
+ onMouseleave: r[0] || (r[0] = (h) => y.value = void 0),
549
+ onBlur: r[1] || (r[1] = (h) => y.value = void 0)
561
550
  }, {
562
- default: P(() => [
563
- J(
564
- U(i),
551
+ default: O(() => [
552
+ fe(
553
+ E(i),
565
554
  1
566
555
  /* TEXT */
567
556
  )
@@ -577,7 +566,7 @@ const ke = ["for"], Be = {
577
566
  _: 1
578
567
  /* STABLE */
579
568
  }),
580
- O(Se, G({
569
+ D($e, G({
581
570
  key: "input-tags",
582
571
  modelValue: k.value,
583
572
  "onUpdate:modelValue": r[2] || (r[2] = (i) => k.value = i)
@@ -596,18 +585,18 @@ const ke = ["for"], Be = {
596
585
  "no-border": "",
597
586
  class: "m-input-tags__input",
598
587
  onKeydown: [
599
- H(I, ["enter"]),
600
- H(F, ["delete"])
588
+ H(w, ["enter"]),
589
+ H(M, ["delete"])
601
590
  ],
602
- onBlur: r[3] || (r[3] = (i) => a.addTagsOnBlur ? I(i) : void 0)
591
+ onBlur: r[3] || (r[3] = (i) => a.addTagsOnBlur ? w(i) : void 0)
603
592
  }), null, 16, ["modelValue", "placeholder", "label", "aria-label", "error", "hint", "success", "warning", "disabled", "color", "block", "size"])
604
593
  ],
605
594
  38
606
595
  /* CLASS, STYLE, NEED_HYDRATION */
607
596
  ));
608
597
  }
609
- }), Me = /* @__PURE__ */ R(Te, [["__scopeId", "data-v-4736a457"]]);
598
+ }), Te = /* @__PURE__ */ R(Ce, [["__scopeId", "data-v-4736a457"]]);
610
599
  export {
611
- Me as M,
600
+ Te as M,
612
601
  R as _
613
602
  };
@@ -21,7 +21,7 @@ import '../assets/MazLink.css';const y = /* @__PURE__ */ f({
21
21
  setup(g) {
22
22
  const u = d(
23
23
  () => import("./arrow-top-right-on-square-jPmYJ34F.mjs")
24
- ), i = d(() => import("./MazIcon-C7ZMosGw.mjs"));
24
+ ), i = d(() => import("./MazIcon-C47uJeFY.mjs"));
25
25
  return (e, c) => (o(), t(r(e.to ? "router-link" : "a"), s({
26
26
  id: e.id,
27
27
  class: ["m-link m-reset-css", [
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as t, computed as n, openBlock as c, createElementBlock as i, normalizeStyle as m, createElementVNode as s } from "vue";
2
- import { _ as p } from "./MazTable-BuFlCw1p.mjs";
2
+ import { _ as p } from "./MazTable-B5BMpCK1.mjs";
3
3
  import '../assets/MazLoadingBar.css';const d = /* @__PURE__ */ t({
4
4
  __name: "MazLoadingBar",
5
5
  props: {
@@ -27,7 +27,7 @@ import '../assets/MazPagination.css';const W = {
27
27
  justify: { default: "center" }
28
28
  },
29
29
  setup(y) {
30
- const o = y, e = N(() => import("./MazSpinner-CcshuKK9.mjs")), c = N(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: P, to: E } = H(), C = s(() => P ? "a" : E ? "router-link" : "button"), D = s(() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`), i = s(
30
+ const o = y, e = N(() => import("./MazSpinner-C5pIord0.mjs")), c = N(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: P, to: E } = H(), C = s(() => P ? "a" : E ? "router-link" : "button"), D = s(() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`), i = s(
31
31
  () => (o.loading || o.disabled) && C.value === "button"
32
32
  ), f = s(() => i.value ? "--cursor-default" : "--cursor-pointer"), b = s(() => `--is-${o.variant}`), S = s(() => o.loading && o.variant === "button"), F = s(() => C.value === "button" ? o.type : void 0), m = s(() => o.size === "xl" ? "maz-text-3xl" : o.size === "lg" ? "maz-text-2xl" : o.size === "md" ? "maz-text-xl" : o.size === "sm" ? "maz-text-lg" : o.size === "xs" ? "maz-text-base" : o.size === "mini" ? "maz-text-sm" : "maz-text-xl");
33
33
  return (a, j) => (n(), p(O(C.value), {
@@ -101,7 +101,7 @@ import '../assets/MazPagination.css';const W = {
101
101
  for (const [c, P] of o)
102
102
  e[c] = P;
103
103
  return e;
104
- }, h = /* @__PURE__ */ T(X, [["__scopeId", "data-v-5acb3b32"]]), Y = {
104
+ }, h = /* @__PURE__ */ T(X, [["__scopeId", "data-v-6b881156"]]), Y = {
105
105
  class: "m-pagination m-reset-css",
106
106
  role: "navigation",
107
107
  "aria-label": "page navigation"