maz-ui 3.46.1-beta.5 → 3.47.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 (155) hide show
  1. package/components/MazAccordion.mjs +30 -30
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.d.ts +5 -0
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCardSpotlight.mjs +15 -15
  7. package/components/MazCarousel.mjs +1 -1
  8. package/components/MazChecklist.d.ts +79 -0
  9. package/components/MazChecklist.mjs +4 -0
  10. package/components/MazDialog.mjs +1 -1
  11. package/components/MazDialogPromise.d.ts +2 -0
  12. package/components/MazDialogPromise.mjs +1 -1
  13. package/components/MazDrawer.mjs +1 -1
  14. package/components/MazDropdown.mjs +1 -1
  15. package/components/MazInput.mjs +1 -1
  16. package/components/MazInputNumber.mjs +1 -1
  17. package/components/MazInputPrice.mjs +1 -1
  18. package/components/MazInputTags.mjs +1 -1
  19. package/components/MazPagination.mjs +1 -1
  20. package/components/MazPhoneNumberInput.mjs +1 -1
  21. package/components/MazPicker.d.ts +1 -1
  22. package/components/MazPicker.mjs +1 -1
  23. package/components/MazPullToRefresh.d.ts +2 -2
  24. package/components/MazSelect.mjs +1 -1
  25. package/components/MazTable.d.ts +2 -2
  26. package/components/MazTable.mjs +1 -1
  27. package/components/assets/MazAccordion.css +1 -1
  28. package/components/assets/MazBtn.css +1 -1
  29. package/components/assets/MazCardSpotlight.css +1 -1
  30. package/components/assets/MazChecklist.css +1 -0
  31. package/components/assets/MazDialog.css +1 -1
  32. package/components/assets/MazDialogPromise.css +1 -1
  33. package/components/assets/MazDropdown.css +1 -1
  34. package/components/assets/MazInputNumber.css +1 -1
  35. package/components/assets/MazInputTags.css +1 -1
  36. package/components/assets/MazPagination.css +1 -1
  37. package/components/assets/MazPicker.css +1 -1
  38. package/components/assets/MazSelect.css +1 -1
  39. package/components/assets/MazTable.css +1 -1
  40. package/components/assets/MazTabsBar.css +1 -1
  41. package/components/chunks/{MazBottomSheet-s9lLaK1M.mjs → MazBottomSheet-BvdiOa8P.mjs} +1 -1
  42. package/components/chunks/{MazBtn-BMmuCciQ.mjs → MazBtn-4g56EBmg.mjs} +20 -18
  43. package/components/chunks/MazBtn-4jMQE2G-.mjs +118 -0
  44. package/components/chunks/MazBtn-B3i4Ypas.mjs +118 -0
  45. package/components/chunks/MazBtn-B7rKmEGw.mjs +118 -0
  46. package/components/chunks/MazBtn-BAxR_dt3.mjs +118 -0
  47. package/components/chunks/MazBtn-BF48_wJx.mjs +118 -0
  48. package/components/chunks/{MazBtn-CHABo63Y.mjs → MazBtn-BRdMg4tc.mjs} +21 -19
  49. package/components/chunks/MazBtn-BvirhKh3.mjs +123 -0
  50. package/components/chunks/{MazBtn-BXdap6JU.mjs → MazBtn-CEOWwReA.mjs} +21 -19
  51. package/components/chunks/MazBtn-CGYoHDXm.mjs +118 -0
  52. package/components/chunks/{MazBtn-DarjZUV4.mjs → MazBtn-CVDDOeLF.mjs} +40 -38
  53. package/components/chunks/MazBtn-D6T9wOxO.mjs +118 -0
  54. package/components/chunks/MazBtn-DYMxHlYa.mjs +118 -0
  55. package/components/chunks/MazBtn-D_IQO-P2.mjs +118 -0
  56. package/components/chunks/{MazCard-BaJ5Ee3I.mjs → MazCard-StYuQv11.mjs} +1 -1
  57. package/components/chunks/{MazCarousel-Bb4fpVqN.mjs → MazCarousel-DEO7Tz8F.mjs} +1 -1
  58. package/components/chunks/{MazCheckbox-8n6NtRBb.mjs → MazCheckbox-CtiUQoBe.mjs} +1 -1
  59. package/components/chunks/MazCheckbox-D9RW0OPf.mjs +146 -0
  60. package/components/chunks/{MazCheckbox-C4diNXJq.mjs → MazCheckbox-TiwCiE2s.mjs} +1 -1
  61. package/components/chunks/MazChecklist-B9bw1Mn4.mjs +484 -0
  62. package/components/chunks/{MazDialog-Bv2PzQBz.mjs → MazDialog-C3urFx7y.mjs} +50 -54
  63. package/components/chunks/{MazDialogPromise-BZLP9sXZ.mjs → MazDialogPromise-BuOWwo6n.mjs} +40 -44
  64. package/components/chunks/{MazGallery-C9secrXc.mjs → MazGallery-DLNvXEka.mjs} +2 -2
  65. package/components/chunks/{MazIcon-BaJm2s8_.mjs → MazIcon-DjMuw8Bz.mjs} +1 -1
  66. package/components/chunks/{MazIcon-CudB1a0D.mjs → MazIcon-DyrYf9Sl.mjs} +1 -1
  67. package/components/chunks/{MazInput-B3RzuuNv.mjs → MazInput-BZ2U145p.mjs} +1 -1
  68. package/components/chunks/MazInput-Bq_SbBRE.mjs +290 -0
  69. package/components/chunks/MazInput-_rEW9XWJ.mjs +291 -0
  70. package/components/chunks/{MazInputNumber-mLgq5obR.mjs → MazInputNumber-G8880Neu.mjs} +173 -171
  71. package/components/chunks/{MazInputPrice-DhYRBqTS.mjs → MazInputPrice-DROLM9PX.mjs} +1 -1
  72. package/components/chunks/{MazInputTags-DinwbXaD.mjs → MazInputTags-BRmcZBo4.mjs} +170 -168
  73. package/components/chunks/MazLoadingBar-DHFjKEEm.mjs +32 -0
  74. package/components/chunks/{MazPagination-Cqnr19iI.mjs → MazPagination-6MyYnTer.mjs} +132 -130
  75. package/components/chunks/{MazPhoneNumberInput-C3GdtqN2.mjs → MazPhoneNumberInput-r6OjPeRI.mjs} +3 -3
  76. package/components/chunks/{MazPicker-DA92HhwS.mjs → MazPicker-B28fQccE.mjs} +536 -534
  77. package/components/chunks/{MazPickerMonthSwitcher-CPWkw0Hq.mjs → MazPickerMonthSwitcher-DrtbXCca.mjs} +1 -1
  78. package/components/chunks/{MazPickerShortcuts-Fwcoqg5M.mjs → MazPickerShortcuts-TbhHaKoJ.mjs} +1 -1
  79. package/components/chunks/{MazPickerYearSwitcher-DfSXPGfT.mjs → MazPickerYearSwitcher-KwUBj6Cb.mjs} +1 -1
  80. package/components/chunks/{MazSelect-DPTuyc26.mjs → MazSelect-BvC9QQ6M.mjs} +2 -2
  81. package/components/chunks/MazSelect-DyQC9j4n.mjs +568 -0
  82. package/components/chunks/{MazSpinner-BCQzF6j-.mjs → MazSpinner-3vO8e4FF.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-BEqvmPiV.mjs → MazSpinner-B0291afs.mjs} +1 -1
  84. package/components/chunks/MazSpinner-B0aGd8rG.mjs +37 -0
  85. package/components/chunks/{MazSpinner-C2ok6AlJ.mjs → MazSpinner-BziSiJFV.mjs} +1 -1
  86. package/components/chunks/MazSpinner-CKX-8iim.mjs +37 -0
  87. package/components/chunks/MazSpinner-CQ2XrZIS.mjs +37 -0
  88. package/components/chunks/{MazSpinner-B-mc1FWS.mjs → MazSpinner-CRW667yE.mjs} +1 -1
  89. package/components/chunks/{MazSpinner-CVBz5HIx.mjs → MazSpinner-D-7IOf2L.mjs} +1 -1
  90. package/components/chunks/MazSpinner-D0t4IJyq.mjs +37 -0
  91. package/components/chunks/{MazSpinner-CFJmcsGl.mjs → MazSpinner-D5hiFgo4.mjs} +1 -1
  92. package/components/chunks/{MazSpinner-DEdQlQr1.mjs → MazSpinner-DkXUB0w5.mjs} +1 -1
  93. package/components/chunks/{MazSpinner-BpjK60ul.mjs → MazSpinner-DyVjCwmM.mjs} +1 -1
  94. package/components/chunks/MazSpinner-HZYglQFY.mjs +37 -0
  95. package/components/chunks/{MazSpinner-BCHAzmqS.mjs → MazSpinner-JpzVmSvW.mjs} +1 -1
  96. package/components/chunks/MazSpinner-Nu5h2A6E.mjs +37 -0
  97. package/components/chunks/MazSpinner-S6Bx7B15.mjs +37 -0
  98. package/components/chunks/MazSpinner-wR0F3mAY.mjs +37 -0
  99. package/components/chunks/MazTable-DozpABdn.mjs +692 -0
  100. package/components/chunks/MazTableCell-DPgvJ7vY.mjs +23 -0
  101. package/components/chunks/MazTableRow-CCcjwAV1.mjs +30 -0
  102. package/components/chunks/MazTableTitle-Df7F9Cjh.mjs +23 -0
  103. package/components/chunks/{MazTransitionExpand-BoTQeNNf.mjs → MazTransitionExpand--vHzXjx7.mjs} +1 -1
  104. package/components/chunks/arrow-up-DjSlktWl.mjs +30 -0
  105. package/components/chunks/inject-strict-BmiaNiwC.mjs +10 -0
  106. package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +11 -0
  107. package/components/index.d.ts +1 -0
  108. package/components/index.mjs +1 -0
  109. package/css/main.css +1 -1
  110. package/modules/assets/MazBtn.css +1 -1
  111. package/modules/assets/index.css +1 -1
  112. package/{components/chunks/MazBtn-CXxOU7fp.mjs → modules/chunks/MazBtn-BVxI1WwF.mjs} +21 -19
  113. package/modules/chunks/{MazBtn-BG2dUdHV.cjs → MazBtn-DrB5FzZN.cjs} +3 -3
  114. package/modules/chunks/{MazIcon-RkWxQ8JM.cjs → MazIcon-BMJqOZnG.cjs} +1 -1
  115. package/modules/chunks/{MazIcon-BqfELHOt.mjs → MazIcon-b8WRy8OV.mjs} +1 -1
  116. package/modules/chunks/{MazSpinner-GfL807jq.cjs → MazSpinner-6H0uaGkV.cjs} +1 -1
  117. package/modules/chunks/{MazSpinner-DgSRxVEo.mjs → MazSpinner-B-Tki1aV.mjs} +1 -1
  118. package/modules/chunks/{index-aKGx1nxl.mjs → index-Ch4k74ro.mjs} +1150 -954
  119. package/modules/chunks/index-G8fhXnFU.cjs +149 -0
  120. package/modules/index.cjs +1 -1
  121. package/modules/index.mjs +37 -35
  122. package/nuxt/index.d.mts +20 -20
  123. package/nuxt/index.d.ts +20 -20
  124. package/nuxt/index.json +1 -1
  125. package/nuxt/index.mjs +26 -5
  126. package/package.json +1 -1
  127. package/resolvers/index.cjs +1 -1
  128. package/resolvers/index.mjs +3 -1
  129. package/types/components/MazBtn.vue.d.ts +5 -0
  130. package/types/components/MazChecklist.vue.d.ts +79 -0
  131. package/types/components/MazDialogPromise.vue.d.ts +2 -0
  132. package/types/components/MazPicker.vue.d.ts +1 -1
  133. package/types/components/MazPullToRefresh.vue.d.ts +2 -2
  134. package/types/components/MazTable.vue.d.ts +2 -2
  135. package/types/components/index.d.ts +1 -0
  136. package/types/modules/composables/index.d.ts +1 -0
  137. package/types/modules/composables/useLanguageDisplayNames.d.ts +17 -0
  138. package/types/modules/helpers/normalize-string.d.ts +1 -2
  139. package/components/chunks/MazBtn-CVB5qDjV.mjs +0 -121
  140. package/components/chunks/MazBtn-CZSXnr3w.mjs +0 -116
  141. package/components/chunks/MazBtn-CwYBz6QO.mjs +0 -116
  142. package/components/chunks/MazBtn-DIE2eM-g.mjs +0 -116
  143. package/components/chunks/MazBtn-DKD-ZMaF.mjs +0 -116
  144. package/components/chunks/MazBtn-OKT5-Y4s.mjs +0 -116
  145. package/components/chunks/MazBtn-e3abHT2L.mjs +0 -116
  146. package/components/chunks/MazSpinner-BoG1T_ZX.mjs +0 -37
  147. package/components/chunks/MazSpinner-DhHVVBJE.mjs +0 -37
  148. package/components/chunks/MazSpinner-DuGaC-cw.mjs +0 -37
  149. package/components/chunks/MazSpinner-Iwon82He.mjs +0 -37
  150. package/components/chunks/MazSpinner-JbfjMNFL.mjs +0 -37
  151. package/components/chunks/MazSpinner-QgcgF5j5.mjs +0 -37
  152. package/components/chunks/MazSpinner-yQGVxaFm.mjs +0 -37
  153. package/components/chunks/MazTable-CrtVI-dp.mjs +0 -2015
  154. package/modules/chunks/MazBtn-BeqYSSYI.mjs +0 -116
  155. package/modules/chunks/index-CE2CsQsx.cjs +0 -149
@@ -1,4 +1,4 @@
1
- import { openBlock as p, createElementBlock as b, createElementVNode as u, useId as A, computed as g, defineComponent as k, useCssVars as V, ref as f, onMounted as O, onUnmounted as B, normalizeClass as $, normalizeStyle as w, renderSlot as h, withDirectives as E, vShow as z, mergeModels as x, useModel as I, mergeProps as L, createCommentVNode as N, useSlots as j, Fragment as D, renderList as F, createBlock as R, withCtx as M, unref as y, createVNode as S } from "vue";
1
+ import { openBlock as f, createElementBlock as b, createElementVNode as c, useId as A, computed as g, defineComponent as k, useCssVars as V, ref as p, onMounted as O, onUnmounted as B, normalizeClass as $, normalizeStyle as w, renderSlot as h, withDirectives as E, vShow as z, mergeModels as x, useModel as I, mergeProps as L, createCommentVNode as N, useSlots as j, Fragment as D, renderList as F, createBlock as R, withCtx as M, unref as y, createVNode as S } from "vue";
2
2
  import './assets/MazAccordion.css';const P = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -7,8 +7,8 @@ import './assets/MazAccordion.css';const P = {
7
7
  viewBox: "0 0 24 24"
8
8
  };
9
9
  function T(r, t) {
10
- return p(), b("svg", P, t[0] || (t[0] = [
11
- u(
10
+ return f(), b("svg", P, t[0] || (t[0] = [
11
+ c(
12
12
  "path",
13
13
  {
14
14
  stroke: "currentColor",
@@ -43,11 +43,11 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
43
43
  },
44
44
  setup(r) {
45
45
  V((d) => ({
46
- "829b4eb4": d.innerOpacity,
47
- "57453cb6": n.value
46
+ "4f499add": d.innerOpacity,
47
+ "2e65a0ad": n.value
48
48
  }));
49
- const t = r, a = f(), l = f(), i = f(!1);
50
- function m({ clientX: d, clientY: c }) {
49
+ const t = r, a = p(), l = p(), i = p(!1);
50
+ function m({ clientX: d, clientY: u }) {
51
51
  var e, _, o;
52
52
  i.value = !0;
53
53
  const v = (e = l.value) == null ? void 0 : e.getBoundingClientRect();
@@ -55,7 +55,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
55
55
  _,
56
56
  [
57
57
  {
58
- transform: `translate(${d - v.left - v.width / 2}px,${c - v.top - v.height / 2}px)`
58
+ transform: `translate(${d - v.left - v.width / 2}px,${u - v.top - v.height / 2}px)`
59
59
  }
60
60
  ],
61
61
  {
@@ -69,15 +69,15 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
69
69
  window.addEventListener("mousemove", m);
70
70
  }), B(() => {
71
71
  window.removeEventListener("mousemove", m);
72
- }), (d, c) => (p(), b(
72
+ }), (d, u) => (f(), b(
73
73
  "div",
74
74
  {
75
75
  class: $(["m-card-spotlight", { "maz-elevation": !d.noElevation }]),
76
76
  style: w({ backgroundColor: s.value })
77
77
  },
78
78
  [
79
- u("div", H, [
80
- u(
79
+ c("div", H, [
80
+ c(
81
81
  "div",
82
82
  {
83
83
  class: $(["content", [{ "maz-p-4": d.padding }, d.contentClass]])
@@ -89,7 +89,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
89
89
  /* CLASS */
90
90
  )
91
91
  ]),
92
- E(u(
92
+ E(c(
93
93
  "div",
94
94
  {
95
95
  ref_key: "blobElement",
@@ -103,7 +103,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
103
103
  ), [
104
104
  [z, i.value]
105
105
  ]),
106
- E(u(
106
+ E(c(
107
107
  "div",
108
108
  {
109
109
  ref_key: "fakeblobElement",
@@ -126,7 +126,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
126
126
  for (const [l, i] of t)
127
127
  a[l] = i;
128
128
  return a;
129
- }, G = /* @__PURE__ */ C(W, [["__scopeId", "data-v-a4cc15ae"]]), J = ["aria-hidden"], K = /* @__PURE__ */ k({
129
+ }, G = /* @__PURE__ */ C(W, [["__scopeId", "data-v-31abf9ff"]]), J = ["aria-hidden"], K = /* @__PURE__ */ k({
130
130
  inheritAttrs: !1,
131
131
  __name: "MazExpandAnimation",
132
132
  props: /* @__PURE__ */ x({
@@ -142,7 +142,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
142
142
  "3628b947": n.duration,
143
143
  "239277b5": n.timingFunction
144
144
  }));
145
- const t = I(r, "modelValue"), a = f(!t.value), l = f();
145
+ const t = I(r, "modelValue"), a = p(!t.value), l = p();
146
146
  function i() {
147
147
  t.value || (a.value = !0);
148
148
  }
@@ -155,14 +155,14 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
155
155
  }), B(() => {
156
156
  var n, s;
157
157
  (n = l.value) == null || n.removeEventListener("transitionstart", i, !1), (s = l.value) == null || s.removeEventListener("transitionend", m, !1);
158
- }), (n, s) => (p(), b("div", {
158
+ }), (n, s) => (f(), b("div", {
159
159
  ref_key: "expandAnimationRef",
160
160
  ref: l,
161
161
  class: $(["m-expand-animation", { "m-expand-animation--expanded": t.value }]),
162
162
  "aria-hidden": !t.value,
163
163
  role: "region"
164
164
  }, [
165
- u(
165
+ c(
166
166
  "div",
167
167
  L({ class: "m-expand-animation__inner" }, n.$attrs, {
168
168
  class: {
@@ -195,23 +195,23 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
195
195
  providedId: a.id
196
196
  }), m = j(), n = g(
197
197
  () => Object.keys(m).filter((e) => e.startsWith("title-")).length
198
- ), s = f(a.modelValue), d = g({
198
+ ), s = p(a.modelValue), d = g({
199
199
  get: () => a.modelValue || s.value,
200
200
  set: (e) => {
201
201
  s.value = e, l("update:model-value", e);
202
202
  }
203
203
  });
204
- function c(e) {
204
+ function u(e) {
205
205
  return d.value === e;
206
206
  }
207
207
  function v(e) {
208
208
  d.value === e ? (s.value = 0, l("update:model-value", 0)) : (s.value = e, l("update:model-value", e));
209
209
  }
210
- return (e, _) => (p(), b("div", X, [
211
- (p(!0), b(
210
+ return (e, _) => (f(), b("div", X, [
211
+ (f(!0), b(
212
212
  D,
213
213
  null,
214
- F(n.value, (o) => (p(), R(
214
+ F(n.value, (o) => (f(), R(
215
215
  G,
216
216
  {
217
217
  key: o,
@@ -220,37 +220,37 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
220
220
  },
221
221
  {
222
222
  default: M(() => [
223
- u("button", {
223
+ c("button", {
224
224
  id: `step-${o}-${y(i)}`,
225
225
  class: "m-accordion__header",
226
226
  "aria-controls": `step-${o}-${y(i)}`,
227
- "aria-expanded": c(o),
227
+ "aria-expanded": u(o),
228
228
  onClick: (ee) => v(o)
229
229
  }, [
230
230
  h(e.$slots, `title-${o}`, {
231
- isOpen: c(o)
231
+ isOpen: u(o)
232
232
  }, void 0, !0),
233
233
  S(y(U), {
234
- class: $(["header-icon", { "--rotate": c(o) }])
234
+ class: $(["header-icon", { "--rotate": u(o) }])
235
235
  }, null, 8, ["class"])
236
236
  ], 8, Y),
237
237
  S(Q, {
238
238
  "animation-duration": "300ms",
239
- "model-value": c(o),
239
+ "model-value": u(o),
240
240
  "aria-labelledby": `step-${o}-${y(i)}`
241
241
  }, {
242
242
  default: M(() => [
243
- u(
243
+ c(
244
244
  "div",
245
245
  {
246
246
  class: $(["m-accordion__content", e.contentClass])
247
247
  },
248
248
  [
249
249
  h(e.$slots, "content", {
250
- isOpen: c(o)
250
+ isOpen: u(o)
251
251
  }, void 0, !0),
252
252
  h(e.$slots, `content-${o}`, {
253
- isOpen: c(o)
253
+ isOpen: u(o)
254
254
  }, void 0, !0)
255
255
  ],
256
256
  2
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBottomSheet-s9lLaK1M.mjs";
1
+ import { M as f } from "./chunks/MazBottomSheet-BvdiOa8P.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -98,6 +98,10 @@ export interface Props {
98
98
  * @default false
99
99
  */
100
100
  noElevation?: boolean;
101
+ /**
102
+ * Choose how the elements are aligned in the button
103
+ */
104
+ justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly';
101
105
  }
102
106
  declare function __VLS_template(): {
103
107
  slots: {
@@ -119,6 +123,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
119
123
  icon: string | Icon;
120
124
  leftIcon: string | Icon;
121
125
  rightIcon: string | Icon;
126
+ justify: "start" | "end" | "center" | "between" | "around" | "evenly";
122
127
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
123
128
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
124
129
  export default _default;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBtn-CVB5qDjV.mjs";
1
+ import { M as f } from "./chunks/MazBtn-BvirhKh3.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCard-BaJ5Ee3I.mjs";
1
+ import { M as f } from "./chunks/MazCard-StYuQv11.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as _, useCssVars as k, ref as i, computed as m, onMounted as E, onUnmounted as w, openBlock as z, createElementBlock as B, normalizeClass as b, normalizeStyle as h, createElementVNode as c, renderSlot as S, withDirectives as y, vShow as g } from "vue";
1
+ import { defineComponent as _, useCssVars as k, ref as c, computed as m, onMounted as E, onUnmounted as w, openBlock as z, createElementBlock as B, normalizeClass as b, normalizeStyle as h, createElementVNode as i, renderSlot as S, withDirectives as y, vShow as g } from "vue";
2
2
  import './assets/MazCardSpotlight.css';const $ = { class: "inner" }, O = /* @__PURE__ */ _({
3
3
  __name: "MazCardSpotlight",
4
4
  props: {
@@ -11,19 +11,19 @@ import './assets/MazCardSpotlight.css';const $ = { class: "inner" }, O = /* @__P
11
11
  },
12
12
  setup(l) {
13
13
  k((e) => ({
14
- "829b4eb4": e.innerOpacity,
15
- "57453cb6": u.value
14
+ "4f499add": e.innerOpacity,
15
+ "2e65a0ad": u.value
16
16
  }));
17
- const n = l, o = i(), r = i(), t = i(!1);
18
- function d({ clientX: e, clientY: p }) {
19
- var v, s, f;
17
+ const n = l, o = c(), r = c(), t = c(!1);
18
+ function d({ clientX: e, clientY: f }) {
19
+ var p, s, v;
20
20
  t.value = !0;
21
- const a = (v = r.value) == null ? void 0 : v.getBoundingClientRect();
22
- a && ((f = (s = o.value) == null ? void 0 : s.animate) == null || f.call(
21
+ const a = (p = r.value) == null ? void 0 : p.getBoundingClientRect();
22
+ a && ((v = (s = o.value) == null ? void 0 : s.animate) == null || v.call(
23
23
  s,
24
24
  [
25
25
  {
26
- transform: `translate(${e - a.left - a.width / 2}px,${p - a.top - a.height / 2}px)`
26
+ transform: `translate(${e - a.left - a.width / 2}px,${f - a.top - a.height / 2}px)`
27
27
  }
28
28
  ],
29
29
  {
@@ -37,15 +37,15 @@ import './assets/MazCardSpotlight.css';const $ = { class: "inner" }, O = /* @__P
37
37
  window.addEventListener("mousemove", d);
38
38
  }), w(() => {
39
39
  window.removeEventListener("mousemove", d);
40
- }), (e, p) => (z(), B(
40
+ }), (e, f) => (z(), B(
41
41
  "div",
42
42
  {
43
43
  class: b(["m-card-spotlight", { "maz-elevation": !e.noElevation }]),
44
44
  style: h({ backgroundColor: C.value })
45
45
  },
46
46
  [
47
- c("div", $, [
48
- c(
47
+ i("div", $, [
48
+ i(
49
49
  "div",
50
50
  {
51
51
  class: b(["content", [{ "maz-p-4": e.padding }, e.contentClass]])
@@ -57,7 +57,7 @@ import './assets/MazCardSpotlight.css';const $ = { class: "inner" }, O = /* @__P
57
57
  /* CLASS */
58
58
  )
59
59
  ]),
60
- y(c(
60
+ y(i(
61
61
  "div",
62
62
  {
63
63
  ref_key: "blobElement",
@@ -71,7 +71,7 @@ import './assets/MazCardSpotlight.css';const $ = { class: "inner" }, O = /* @__P
71
71
  ), [
72
72
  [g, t.value]
73
73
  ]),
74
- y(c(
74
+ y(i(
75
75
  "div",
76
76
  {
77
77
  ref_key: "fakeblobElement",
@@ -94,7 +94,7 @@ import './assets/MazCardSpotlight.css';const $ = { class: "inner" }, O = /* @__P
94
94
  for (const [r, t] of n)
95
95
  o[r] = t;
96
96
  return o;
97
- }, L = /* @__PURE__ */ M(O, [["__scopeId", "data-v-a4cc15ae"]]);
97
+ }, L = /* @__PURE__ */ M(O, [["__scopeId", "data-v-31abf9ff"]]);
98
98
  export {
99
99
  L as default
100
100
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCarousel-Bb4fpVqN.mjs";
1
+ import { M as f } from "./chunks/MazCarousel-DEO7Tz8F.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,79 @@
1
+ import type { Color, Props as MazInputProps } from './MazInput.vue';
2
+ import { type NormalizeStringOptions } from '../modules/helpers/normalize-string';
3
+ export type ItemOption = {
4
+ label: string;
5
+ value: string;
6
+ } & Record<string, any>;
7
+ export interface MazCheckListProps<T, O> {
8
+ /**
9
+ * The model value of the checklist (selected items)
10
+ */
11
+ modelValue?: T[];
12
+ /**
13
+ * The query to filter the items (model)
14
+ */
15
+ query?: string;
16
+ /**
17
+ * The list of items to display
18
+ */
19
+ items?: O[];
20
+ /**
21
+ * The title of the checklist
22
+ */
23
+ title?: string;
24
+ /**
25
+ * Add elevation to the card
26
+ * @default false
27
+ */
28
+ elevation?: boolean;
29
+ /**
30
+ * The search input options
31
+ * @default { enabled: false }
32
+ */
33
+ search?: {
34
+ enabled?: boolean;
35
+ } & MazInputProps<string>;
36
+ /**
37
+ * The options to normalize the search query
38
+ */
39
+ searchOptions?: NormalizeStringOptions;
40
+ /**
41
+ * The color of the checklist (card, checkbox and search input)
42
+ * @default primary
43
+ */
44
+ color?: Color;
45
+ }
46
+ export type { NormalizeStringOptions } from '../modules/helpers/normalize-string';
47
+ export type { Color } from './MazInput.vue';
48
+ declare const _default: <T extends string, O extends ItemOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
49
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
50
+ readonly "onUpdate:model-value"?: ((value?: T[] | undefined) => any) | undefined;
51
+ readonly "onUpdate:query"?: ((value?: string | undefined) => any) | undefined;
52
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{}> & Readonly<{
53
+ "onUpdate:model-value"?: ((value?: T[] | undefined) => any) | undefined;
54
+ "onUpdate:query"?: ((value?: string | undefined) => any) | undefined;
55
+ }>, never>, "onUpdate:model-value" | "onUpdate:query"> & MazCheckListProps<T, O>> & import("vue").PublicProps;
56
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
57
+ attrs: any;
58
+ slots: {
59
+ title?(_: {}): any;
60
+ "no-results"?(_: {}): any;
61
+ "no-results-text"?(_: {}): any;
62
+ item?(_: {
63
+ selectedValues: T[];
64
+ item: {
65
+ label: string;
66
+ value: string;
67
+ };
68
+ }): any;
69
+ };
70
+ emit: ((evt: "update:model-value", value?: T[] | undefined) => void) & ((evt: "update:query", value?: string | undefined) => void);
71
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
72
+ [key: string]: any;
73
+ }> & {
74
+ __ctx?: Awaited<typeof __VLS_setup>;
75
+ };
76
+ export default _default;
77
+ type __VLS_PrettifyLocal<T> = {
78
+ [K in keyof T]: T[K];
79
+ } & {};
@@ -0,0 +1,4 @@
1
+ import { a as f } from "./chunks/MazChecklist-B9bw1Mn4.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazDialog-Bv2PzQBz.mjs";
1
+ import { M as f } from "./chunks/MazDialog-C3urFx7y.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -23,6 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Ma
23
23
  onOpen?: ((value?: void | undefined) => any) | undefined;
24
24
  }>, {
25
25
  data: DialogData;
26
+ message: string;
27
+ identifier: string;
26
28
  buttons: DialogCustomButton[];
27
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
28
30
  title?(_: {}): any;
@@ -1,4 +1,4 @@
1
- import { a as o, u as s } from "./chunks/MazDialogPromise-BZLP9sXZ.mjs";
1
+ import { a as o, u as s } from "./chunks/MazDialogPromise-BuOWwo6n.mjs";
2
2
  export {
3
3
  o as default,
4
4
  s as useMazDialogPromise
@@ -128,7 +128,7 @@ import './assets/MazDrawer.css';const A = "--backdrop-present", U = /* @__PURE__
128
128
  },
129
129
  emits: ["before-close", "open", "close", "update:model-value"],
130
130
  setup(b) {
131
- const i = B(() => import("./chunks/MazBtn-DarjZUV4.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-CnZwVvA7.mjs"));
131
+ const i = B(() => import("./chunks/MazBtn-CVDDOeLF.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-CnZwVvA7.mjs"));
132
132
  return (e, t) => (r(), h(U, {
133
133
  "backdrop-class": ["m-drawer", `--${e.variant}`, e.backdropClass],
134
134
  style: F({
@@ -97,7 +97,7 @@ const pe = ["id"], ve = ["aria-expanded"], ye = ["id"], be = ["onClick"], he = /
97
97
  const o = t, c = l, f = ue({
98
98
  componentName: "MazDropdown",
99
99
  providedId: o.id
100
- }), g = $(() => import("./chunks/MazBtn-BMmuCciQ.mjs")), k = $(() => import("./chunks/MazLink-Dl9ePCGm.mjs")), R = $(() => import("./chunks/chevron-down-BkvtON3b.mjs")), i = b(o.open), s = b(), m = fe((e) => {
100
+ }), g = $(() => import("./chunks/MazBtn-4g56EBmg.mjs")), k = $(() => import("./chunks/MazLink-Dl9ePCGm.mjs")), R = $(() => import("./chunks/chevron-down-BkvtON3b.mjs")), i = b(o.open), s = b(), m = fe((e) => {
101
101
  u(e);
102
102
  }, 200);
103
103
  function q() {
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazInput-B3RzuuNv.mjs";
1
+ import { M as f } from "./chunks/MazInput-BZ2U145p.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazInputNumber-mLgq5obR.mjs";
1
+ import { a as f } from "./chunks/MazInputNumber-G8880Neu.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazInputPrice-DhYRBqTS.mjs";
1
+ import { a as f } from "./chunks/MazInputPrice-DROLM9PX.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazInputTags-DinwbXaD.mjs";
1
+ import { M as f } from "./chunks/MazInputTags-BRmcZBo4.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazPagination-Cqnr19iI.mjs";
1
+ import { M as f } from "./chunks/MazPagination-6MyYnTer.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazPhoneNumberInput-C3GdtqN2.mjs";
1
+ import { M as f } from "./chunks/MazPhoneNumberInput-r6OjPeRI.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -93,9 +93,9 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
93
93
  format: string;
94
94
  modelValue: string | Partial<import("./MazPicker/types").RangeValue>;
95
95
  open: boolean;
96
+ locale: string;
96
97
  double: boolean;
97
98
  inline: boolean;
98
- locale: string;
99
99
  placeholder: string;
100
100
  noUseBrowserLocale: boolean;
101
101
  minDate: string;
@@ -1,4 +1,4 @@
1
- import { b as f } from "./chunks/MazPicker-DA92HhwS.mjs";
1
+ import { b as f } from "./chunks/MazPicker-B28fQccE.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -24,14 +24,14 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
24
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
25
  error: (...args: any[]) => void;
26
26
  loaded: (...args: any[]) => void;
27
- response: (...args: any[]) => void;
28
27
  start: (...args: any[]) => void;
28
+ response: (...args: any[]) => void;
29
29
  finish: (...args: any[]) => void;
30
30
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
31
31
  onError?: ((...args: any[]) => any) | undefined;
32
32
  onLoaded?: ((...args: any[]) => any) | undefined;
33
- onResponse?: ((...args: any[]) => any) | undefined;
34
33
  onStart?: ((...args: any[]) => any) | undefined;
34
+ onResponse?: ((...args: any[]) => any) | undefined;
35
35
  onFinish?: ((...args: any[]) => any) | undefined;
36
36
  }>, {
37
37
  disabled: boolean;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazSelect-DPTuyc26.mjs";
1
+ import { M as f } from "./chunks/MazSelect-BvC9QQ6M.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -53,7 +53,7 @@ export interface MazTableProps {
53
53
  * Size of the search inputs
54
54
  * @values `'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'mini'`
55
55
  */
56
- searchInputSize?: Size;
56
+ inputSize?: Size;
57
57
  /** title of the table */
58
58
  title?: string;
59
59
  /** headers of the table */
@@ -199,9 +199,9 @@ declare const __VLS_component: import("vue").DefineComponent<MazTableProps, {},
199
199
  searchQuery: string;
200
200
  captionSide: "top" | "bottom";
201
201
  tableLayout: "auto" | "fixed";
202
- headers: Header[];
203
202
  tableClass: HTMLAttributes["class"];
204
203
  tableStyle: string | false | import("vue").CSSProperties | StyleValue[] | null;
204
+ headers: Header[];
205
205
  headersAlign: "center" | "left" | "right" | "justify" | "char";
206
206
  rows: Row[];
207
207
  searchByPlaceholder: string;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazTable-CrtVI-dp.mjs";
1
+ import { M as f } from "./chunks/MazTable-DozpABdn.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1 +1 @@
1
- .m-card-spotlight[data-v-a4cc15ae]{position:relative;display:inline-block;overflow:hidden;border-radius:var(--maz-border-radius);padding:var(--maz-border-width)}.m-card-spotlight .inner[data-v-a4cc15ae]{position:relative;height:100%;width:100%;overflow:hidden;border-radius:calc(var(--maz-border-radius) - var(--maz-border-width))}.m-card-spotlight .inner[data-v-a4cc15ae]:before{content:"";position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;background-color:var(--maz-color-bg);opacity:var(--829b4eb4)}.m-card-spotlight .content[data-v-a4cc15ae]{position:relative;z-index:2;height:100%;width:100%}.m-card-spotlight .blob[data-v-a4cc15ae]{position:absolute;left:0;top:0;z-index:0;height:16rem;width:16rem;border-radius:9999px;--tw-blur: blur(40px);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);background-color:var(--57453cb6)}.m-card-spotlight .fakeblob[data-v-a4cc15ae]{display:hidden;position:absolute;z-index:-1;top:0;left:0;width:200px;height:200px;height:13rem;width:13rem;border-radius:9999px}.m-expand-animation[data-v-b7ca6b97]{display:grid;grid-template-rows:0fr;-webkit-transition:grid-template-rows var(--3628b947) var(--239277b5);transition:grid-template-rows var(--3628b947) var(--239277b5);transition:grid-template-rows var(--3628b947) var(--239277b5),-ms-grid-rows var(--3628b947) var(--239277b5)}.m-expand-animation__inner.--overflow-hidden[data-v-b7ca6b97]{overflow:hidden}.m-expand-animation--expanded[data-v-b7ca6b97]{grid-template-rows:1fr}.m-accordion[data-v-052b6500]{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1rem;vertical-align:top}.m-accordion__spotlight[data-v-052b6500]{width:100%}.m-accordion__header[data-v-052b6500]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:1rem;padding:1rem;text-align:start;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-accordion__header .header-icon[data-v-052b6500]{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-accordion__header .header-icon.--rotate[data-v-052b6500]{-webkit-transform:rotate(135deg);transform:rotate(135deg)}.m-accordion__content[data-v-052b6500]{padding:1rem}
1
+ .m-card-spotlight[data-v-31abf9ff]{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:var(--maz-border-radius);padding:var(--maz-border-width)}.m-card-spotlight .inner[data-v-31abf9ff]{position:relative;height:auto;width:100%;overflow:hidden;border-radius:calc(var(--maz-border-radius) - var(--maz-border-width))}.m-card-spotlight .inner[data-v-31abf9ff]:before{content:"";position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;background-color:var(--maz-color-bg);opacity:var(--4f499add)}.m-card-spotlight .content[data-v-31abf9ff]{position:relative;z-index:2;height:100%;width:100%}.m-card-spotlight .blob[data-v-31abf9ff]{position:absolute;left:0;top:0;z-index:0;height:16rem;width:16rem;border-radius:9999px;--tw-blur: blur(40px);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);background-color:var(--2e65a0ad)}.m-card-spotlight .fakeblob[data-v-31abf9ff]{display:hidden;position:absolute;z-index:-1;top:0;left:0;width:200px;height:200px;height:13rem;width:13rem;border-radius:9999px}.m-expand-animation[data-v-b7ca6b97]{display:grid;grid-template-rows:0fr;-webkit-transition:grid-template-rows var(--3628b947) var(--239277b5);transition:grid-template-rows var(--3628b947) var(--239277b5);transition:grid-template-rows var(--3628b947) var(--239277b5),-ms-grid-rows var(--3628b947) var(--239277b5)}.m-expand-animation__inner.--overflow-hidden[data-v-b7ca6b97]{overflow:hidden}.m-expand-animation--expanded[data-v-b7ca6b97]{grid-template-rows:1fr}.m-accordion[data-v-052b6500]{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1rem;vertical-align:top}.m-accordion__spotlight[data-v-052b6500]{width:100%}.m-accordion__header[data-v-052b6500]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:1rem;padding:1rem;text-align:start;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-accordion__header .header-icon[data-v-052b6500]{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-accordion__header .header-icon.--rotate[data-v-052b6500]{-webkit-transform:rotate(135deg);transform:rotate(135deg)}.m-accordion__content[data-v-052b6500]{padding:1rem}