maz-ui 3.46.1-beta.6 → 3.47.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 (205) hide show
  1. package/components/MazAccordion.mjs +30 -30
  2. package/components/MazAvatar.mjs +1 -1
  3. package/components/MazBottomSheet.mjs +1 -1
  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/MazCheckbox.d.ts +1 -6
  9. package/components/MazChecklist.d.ts +76 -0
  10. package/components/MazChecklist.mjs +4 -0
  11. package/components/MazDialog.d.ts +1 -6
  12. package/components/MazDialog.mjs +1 -1
  13. package/components/MazDialogPromise.d.ts +2 -0
  14. package/components/MazDialogPromise.mjs +1 -1
  15. package/components/MazDrawer.mjs +1 -1
  16. package/components/MazDropdown.mjs +1 -1
  17. package/components/MazDropzone.d.ts +1 -22
  18. package/components/MazDropzone.mjs +1 -1
  19. package/components/MazFullscreenLoader.d.ts +4 -5
  20. package/components/MazFullscreenLoader.mjs +29 -20
  21. package/components/MazGallery.mjs +1 -1
  22. package/components/MazInput.d.ts +1 -8
  23. package/components/MazInput.mjs +1 -1
  24. package/components/MazInputCode.d.ts +1 -4
  25. package/components/MazInputNumber.mjs +1 -1
  26. package/components/MazInputPrice.mjs +1 -1
  27. package/components/MazInputTags.mjs +1 -1
  28. package/components/MazLazyImg.d.ts +2 -0
  29. package/components/MazLazyImg.mjs +1 -1
  30. package/components/MazPagination.mjs +1 -1
  31. package/components/MazPhoneNumberInput.d.ts +1 -20
  32. package/components/MazPhoneNumberInput.mjs +1 -1
  33. package/components/MazPicker.d.ts +1 -1
  34. package/components/MazPicker.mjs +1 -1
  35. package/components/MazPullToRefresh.mjs +1 -1
  36. package/components/MazRadio.d.ts +1 -6
  37. package/components/MazRadioButtons.d.ts +1 -6
  38. package/components/MazSelect.d.ts +1 -10
  39. package/components/MazSelect.mjs +1 -1
  40. package/components/MazSpinner.d.ts +13 -23
  41. package/components/MazSpinner.mjs +13 -16
  42. package/components/MazTable.d.ts +34 -6
  43. package/components/MazTable.mjs +1 -1
  44. package/components/assets/MazAccordion.css +1 -1
  45. package/components/assets/MazBtn.css +1 -1
  46. package/components/assets/MazCardSpotlight.css +1 -1
  47. package/components/assets/MazChecklist.css +1 -0
  48. package/components/assets/MazDialog.css +1 -1
  49. package/components/assets/MazDialogPromise.css +1 -1
  50. package/components/assets/MazDropdown.css +1 -1
  51. package/components/assets/MazInputNumber.css +1 -1
  52. package/components/assets/MazInputTags.css +1 -1
  53. package/components/assets/MazLazyImg.css +1 -1
  54. package/components/assets/MazPagination.css +1 -1
  55. package/components/assets/MazPhoneNumberInput.css +1 -1
  56. package/components/assets/MazPicker.css +1 -1
  57. package/components/assets/MazSpinner.css +1 -1
  58. package/components/assets/MazTabsBar.css +1 -1
  59. package/components/chunks/{MazAvatar-BmaVqPui.mjs → MazAvatar-DFoZvWmg.mjs} +1 -1
  60. package/components/chunks/{MazBottomSheet-DeAah_or.mjs → MazBottomSheet-DqK0EOsq.mjs} +1 -1
  61. package/components/chunks/{MazBtn-zMzxqcCs.mjs → MazBtn-BRUaoP8j.mjs} +11 -11
  62. package/components/chunks/MazBtn-BRnLMzhy.mjs +118 -0
  63. package/components/chunks/MazBtn-BhnOApJu.mjs +118 -0
  64. package/components/chunks/{MazBtn-CESOVC-a.mjs → MazBtn-C28vKP_v.mjs} +2 -2
  65. package/components/chunks/{MazBtn-BXvObcWn.mjs → MazBtn-CnqRnXh_.mjs} +3 -3
  66. package/components/chunks/{MazBtn-CRpqDW12.mjs → MazBtn-CweCwE_4.mjs} +3 -3
  67. package/components/chunks/{MazBtn-C4xZC-A2.mjs → MazBtn-D6Jxw9Nr.mjs} +3 -3
  68. package/components/chunks/MazBtn-D7IKoL2c.mjs +118 -0
  69. package/components/chunks/{MazBtn-C2htID_X.mjs → MazBtn-DlD5m7T4.mjs} +3 -3
  70. package/components/chunks/{MazBtn-CEFfMm7k.mjs → MazBtn-Dt8lr0GH.mjs} +3 -3
  71. package/components/chunks/{MazBtn-C5IbN0rp.mjs → MazBtn-DzBXfedt.mjs} +11 -11
  72. package/components/chunks/MazBtn-Mu18egu5.mjs +118 -0
  73. package/components/chunks/{MazBtn-C2dJYsnq.mjs → MazBtn-TkePGm5o.mjs} +3 -3
  74. package/components/chunks/{MazBtn-BV212IYv.mjs → MazBtn-igor8wRn.mjs} +3 -3
  75. package/components/chunks/{MazCard-BF-2_gZV.mjs → MazCard-CfkvpcGL.mjs} +1 -1
  76. package/components/chunks/{MazCarousel-DVBUt8NL.mjs → MazCarousel-BEl86YGW.mjs} +1 -1
  77. package/components/chunks/{MazCheckbox-CEfJco3U.mjs → MazCheckbox-BKCo6EzO.mjs} +1 -1
  78. package/components/chunks/{MazCheckbox-CeVxgVY8.mjs → MazCheckbox-Byqz8JJB.mjs} +1 -1
  79. package/components/chunks/{MazCheckbox-mgtQBs4K.mjs → MazCheckbox-CI8ml-P8.mjs} +1 -1
  80. package/components/chunks/MazChecklist-BLxsNHMP.mjs +484 -0
  81. package/components/chunks/{MazDialog-fn7vXgBg.mjs → MazDialog-CPgFpAlq.mjs} +50 -54
  82. package/components/chunks/{MazDialogPromise-C8dpQb5k.mjs → MazDialogPromise-BCCdkrea.mjs} +122 -119
  83. package/components/chunks/{MazDropzone-D32tLLpO.mjs → MazDropzone-DKFkgqqD.mjs} +1 -1
  84. package/components/chunks/{MazGallery-CXJsK5ve.mjs → MazGallery-BKL7gfrz.mjs} +2 -2
  85. package/components/chunks/{MazGallery-BOmH2smL.mjs → MazGallery-BMFwld84.mjs} +1 -1
  86. package/components/chunks/{MazIcon-BXX3RaoN.mjs → MazIcon-D8V8ixhf.mjs} +1 -1
  87. package/components/chunks/{MazInput-Dnwxraz4.mjs → MazInput-CBiCdd0F.mjs} +1 -1
  88. package/components/chunks/MazInput-Dx2cCzFS.mjs +290 -0
  89. package/components/chunks/{MazInput-AcA93-8Q.mjs → MazInput-O6Q41Fm0.mjs} +2 -2
  90. package/components/chunks/{MazInputNumber-OY_UqCMs.mjs → MazInputNumber-DYPVUz4k.mjs} +2 -2
  91. package/components/chunks/{MazInputPrice-DvVAZa12.mjs → MazInputPrice-DZD7ZZpm.mjs} +1 -1
  92. package/components/chunks/{MazInputTags-DKlGT2IB.mjs → MazInputTags-CxXBsTdM.mjs} +2 -2
  93. package/components/chunks/{MazLazyImg-i-z6hcwF.mjs → MazLazyImg-B-6PQWEi.mjs} +9 -8
  94. package/components/chunks/{MazLazyImg-RHZ9wOy2.mjs → MazLazyImg-C03sUOXs.mjs} +6 -5
  95. package/components/chunks/{MazLoadingBar-By1umvdC.mjs → MazLoadingBar-Di2OIrPD.mjs} +1 -1
  96. package/components/chunks/{MazPagination-BL9LU84U.mjs → MazPagination-CHTMRRqE.mjs} +2 -2
  97. package/components/chunks/{MazPhoneNumberInput-C7gUk5lg.mjs → MazPhoneNumberInput-C4TX1tGw.mjs} +112 -111
  98. package/components/chunks/{MazPicker-Dhm3u2MN.mjs → MazPicker-BcQ_-AJH.mjs} +3 -3
  99. package/components/chunks/{MazPickerMonthSwitcher-ck8cl1-N.mjs → MazPickerMonthSwitcher-hCAkEd5r.mjs} +1 -1
  100. package/components/chunks/{MazPickerShortcuts-hEpUqVC-.mjs → MazPickerShortcuts-vpLyw1de.mjs} +1 -1
  101. package/components/chunks/{MazPickerYearSwitcher-CmMxOc69.mjs → MazPickerYearSwitcher-DvC79vrt.mjs} +1 -1
  102. package/components/chunks/{MazPullToRefresh-CdVBfDl9.mjs → MazPullToRefresh-CFQX0soS.mjs} +1 -1
  103. package/components/chunks/{MazSelect-ed445MXs.mjs → MazSelect-BXzgSKmL.mjs} +2 -2
  104. package/components/chunks/{MazSelect-CGsMRdr7.mjs → MazSelect-Baj2BQH7.mjs} +3 -3
  105. package/components/chunks/MazSpinner-B5lezvu4.mjs +34 -0
  106. package/components/chunks/MazSpinner-B8akphXs.mjs +34 -0
  107. package/components/chunks/MazSpinner-Bvb-lKER.mjs +34 -0
  108. package/components/chunks/MazSpinner-C-z3-68w.mjs +34 -0
  109. package/components/chunks/MazSpinner-C1SiKhfK.mjs +34 -0
  110. package/components/chunks/MazSpinner-CAbYLlEZ.mjs +34 -0
  111. package/components/chunks/MazSpinner-Cb3_S0zT.mjs +34 -0
  112. package/components/chunks/MazSpinner-Cg26sBU2.mjs +34 -0
  113. package/components/chunks/MazSpinner-Cqp-BMvL.mjs +34 -0
  114. package/components/chunks/MazSpinner-CsEQ9EXb.mjs +34 -0
  115. package/components/chunks/MazSpinner-CvT-9sC7.mjs +34 -0
  116. package/components/chunks/MazSpinner-DH6C15pU.mjs +34 -0
  117. package/components/chunks/MazSpinner-DjM6ktPY.mjs +34 -0
  118. package/components/chunks/MazSpinner-DlMKBtyt.mjs +34 -0
  119. package/components/chunks/{MazSpinner-BCOeuzTB.mjs → MazSpinner-Du5o8JC_.mjs} +15 -14
  120. package/components/chunks/MazSpinner-DwSGm0-X.mjs +34 -0
  121. package/components/chunks/MazSpinner-Dyf9yb51.mjs +34 -0
  122. package/components/chunks/MazSpinner-M4r0cykl.mjs +34 -0
  123. package/components/chunks/MazSpinner-QHjOczon.mjs +34 -0
  124. package/components/chunks/MazSpinner-XB6tX3Ld.mjs +34 -0
  125. package/components/chunks/MazSpinner-cqcpf_FX.mjs +34 -0
  126. package/components/chunks/MazSpinner-f6pBzqbu.mjs +34 -0
  127. package/components/chunks/MazSpinner-yPkPj7Q8.mjs +34 -0
  128. package/components/chunks/MazSpinner-yr9xVdAa.mjs +34 -0
  129. package/components/chunks/{MazTable-QwG-Kh88.mjs → MazTable-CulBGLaj.mjs} +1 -1
  130. package/components/chunks/{MazTableCell-BSNyqTSX.mjs → MazTableCell-BXDbkEJq.mjs} +1 -1
  131. package/components/chunks/{MazTableRow-CgubMdrX.mjs → MazTableRow-Ds3CDEit.mjs} +1 -1
  132. package/components/chunks/{MazTableTitle-h4dattYD.mjs → MazTableTitle-uirsgvk_.mjs} +1 -1
  133. package/components/chunks/{MazTransitionExpand-BvqRDM9d.mjs → MazTransitionExpand-4Ll_5LDO.mjs} +1 -1
  134. package/components/index.d.ts +1 -0
  135. package/components/index.mjs +1 -0
  136. package/css/main.css +1 -1
  137. package/modules/assets/MazBtn.css +1 -1
  138. package/modules/assets/MazSpinner.css +1 -1
  139. package/modules/assets/index.css +1 -1
  140. package/modules/chunks/{MazBtn-DvffpPyV.mjs → MazBtn-CTqI4qhg.mjs} +3 -3
  141. package/modules/chunks/{MazBtn-DeAZcD0R.cjs → MazBtn-D_CpNgpD.cjs} +2 -2
  142. package/modules/chunks/{MazIcon-D2B0umvn.mjs → MazIcon-BB0DMfOc.mjs} +1 -1
  143. package/modules/chunks/{MazIcon-BiwOZEZl.cjs → MazIcon-BtomZnkQ.cjs} +1 -1
  144. package/modules/chunks/MazSpinner-BASKjaLe.cjs +1 -0
  145. package/modules/chunks/MazSpinner-CDJhmIRl.mjs +34 -0
  146. package/modules/chunks/index-BIX1NMzX.cjs +149 -0
  147. package/modules/chunks/{index-C34aEXzu.mjs → index-C2yAjM0P.mjs} +1166 -968
  148. package/modules/index.cjs +1 -1
  149. package/modules/index.mjs +37 -35
  150. package/nuxt/index.d.mts +20 -20
  151. package/nuxt/index.d.ts +20 -20
  152. package/nuxt/index.json +1 -1
  153. package/nuxt/index.mjs +26 -5
  154. package/package.json +10 -10
  155. package/resolvers/index.cjs +1 -1
  156. package/resolvers/index.mjs +3 -1
  157. package/types/components/MazCheckbox.vue.d.ts +1 -6
  158. package/types/components/MazChecklist.vue.d.ts +76 -0
  159. package/types/components/MazDialog.vue.d.ts +1 -6
  160. package/types/components/MazDialogPromise.vue.d.ts +2 -0
  161. package/types/components/MazDropzone.vue.d.ts +1 -22
  162. package/types/components/MazFullscreenLoader.vue.d.ts +4 -5
  163. package/types/components/MazInput.vue.d.ts +1 -8
  164. package/types/components/MazInputCode.vue.d.ts +1 -4
  165. package/types/components/MazLazyImg.vue.d.ts +2 -0
  166. package/types/components/MazPhoneNumberInput.vue.d.ts +1 -20
  167. package/types/components/MazPicker.vue.d.ts +1 -1
  168. package/types/components/MazRadio.vue.d.ts +1 -6
  169. package/types/components/MazRadioButtons.vue.d.ts +1 -6
  170. package/types/components/MazSelect.vue.d.ts +1 -10
  171. package/types/components/MazSpinner.vue.d.ts +13 -23
  172. package/types/components/MazTable.vue.d.ts +34 -6
  173. package/types/components/index.d.ts +1 -0
  174. package/types/modules/composables/index.d.ts +1 -0
  175. package/types/modules/composables/useLanguageDisplayNames.d.ts +17 -0
  176. package/types/modules/helpers/idle-timeout/types.d.ts +5 -3
  177. package/types/modules/helpers/normalize-string.d.ts +1 -2
  178. package/components/chunks/MazBtn-CLFly8Ie.mjs +0 -118
  179. package/components/chunks/MazBtn-D2H26ExI.mjs +0 -118
  180. package/components/chunks/MazBtn-y4vRRWDg.mjs +0 -118
  181. package/components/chunks/MazSpinner-5w4SkOOl.mjs +0 -37
  182. package/components/chunks/MazSpinner-Akyx5wgU.mjs +0 -37
  183. package/components/chunks/MazSpinner-B2dsE23u.mjs +0 -37
  184. package/components/chunks/MazSpinner-BakExtKd.mjs +0 -37
  185. package/components/chunks/MazSpinner-ByWRmwig.mjs +0 -37
  186. package/components/chunks/MazSpinner-C9meLNrb.mjs +0 -37
  187. package/components/chunks/MazSpinner-CKOy0M1T.mjs +0 -37
  188. package/components/chunks/MazSpinner-CL6orjX7.mjs +0 -37
  189. package/components/chunks/MazSpinner-CQTq0J6f.mjs +0 -37
  190. package/components/chunks/MazSpinner-CQbd8Ovn.mjs +0 -37
  191. package/components/chunks/MazSpinner-CeZk8jA9.mjs +0 -37
  192. package/components/chunks/MazSpinner-Coq7N5iG.mjs +0 -37
  193. package/components/chunks/MazSpinner-CqS3onAE.mjs +0 -37
  194. package/components/chunks/MazSpinner-D1zj-581.mjs +0 -37
  195. package/components/chunks/MazSpinner-D2pssr8S.mjs +0 -37
  196. package/components/chunks/MazSpinner-DJ2t85tY.mjs +0 -37
  197. package/components/chunks/MazSpinner-DbaTlD5B.mjs +0 -37
  198. package/components/chunks/MazSpinner-DgJ9tVv_.mjs +0 -37
  199. package/components/chunks/MazSpinner-DoKvoICM.mjs +0 -37
  200. package/components/chunks/MazSpinner-Dscrgjm1.mjs +0 -41
  201. package/components/chunks/MazSpinner-Oy4E193R.mjs +0 -37
  202. package/components/chunks/MazSpinner-SgVUnAHk.mjs +0 -37
  203. package/modules/chunks/MazSpinner-CZIYnX05.cjs +0 -1
  204. package/modules/chunks/MazSpinner-Csgl_Uho.mjs +0 -37
  205. package/modules/chunks/index-B6Pf_QhC.cjs +0 -149
@@ -0,0 +1,290 @@
1
+ import { defineComponent as Q, defineAsyncComponent as d, ref as h, onMounted as W, computed as r, useSlots as X, openBlock as n, createElementBlock as f, normalizeClass as z, normalizeStyle as Y, createElementVNode as g, createCommentVNode as o, renderSlot as k, createBlock as u, unref as i, resolveDynamicComponent as C, withDirectives as Z, mergeProps as x, toHandlers as _, vModelDynamic as ee, createTextVNode as te, toDisplayString as oe, withModifiers as ne, withCtx as V, createVNode as S } from "vue";
2
+ import { u as ae, _ as le } from "./MazChecklist-BLxsNHMP.mjs";
3
+ import '../assets/MazInput.css';function re(v, y) {
4
+ let t;
5
+ return function(...l) {
6
+ clearTimeout(t), t = setTimeout(() => {
7
+ v.apply(this, l);
8
+ }, y);
9
+ };
10
+ }
11
+ const ie = {
12
+ key: 0,
13
+ class: "m-input-wrapper-left"
14
+ }, ue = { class: "m-input-wrapper-input" }, se = ["id", "type", "name", "inputmode", "placeholder", "aria-label", "disabled", "readonly", "required"], de = { key: 0 }, fe = {
15
+ key: 1,
16
+ class: "m-input-wrapper-right"
17
+ }, ce = /* @__PURE__ */ Q({
18
+ inheritAttrs: !1,
19
+ __name: "MazInput",
20
+ props: {
21
+ style: { default: void 0 },
22
+ class: { default: void 0 },
23
+ modelValue: { default: void 0 },
24
+ placeholder: { default: void 0 },
25
+ label: { default: void 0 },
26
+ name: { default: void 0 },
27
+ color: { default: "primary" },
28
+ type: { default: "text" },
29
+ required: { type: Boolean, default: !1 },
30
+ disabled: { type: Boolean, default: !1 },
31
+ readonly: { type: Boolean, default: !1 },
32
+ id: { default: void 0 },
33
+ error: { type: Boolean, default: !1 },
34
+ success: { type: Boolean, default: !1 },
35
+ warning: { type: Boolean, default: !1 },
36
+ hint: { default: void 0 },
37
+ inputClasses: { default: void 0 },
38
+ noBorder: { type: Boolean, default: !1 },
39
+ noRadius: { type: Boolean, default: !1 },
40
+ inputmode: { default: "text" },
41
+ size: { default: "md" },
42
+ debounce: { type: [Boolean, Number], default: !1 },
43
+ debounceDelay: { default: 500 },
44
+ validButton: { type: Boolean, default: !1 },
45
+ validButtonLoading: { type: Boolean, default: !1 },
46
+ autoFocus: { type: Boolean, default: !1 },
47
+ borderActive: { type: Boolean, default: !1 },
48
+ leftIcon: { type: [String, Function, Object], default: void 0 },
49
+ rightIcon: { type: [String, Function, Object], default: void 0 },
50
+ roundedSize: { default: void 0 },
51
+ block: { type: Boolean }
52
+ },
53
+ emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
54
+ setup(v, { emit: y }) {
55
+ const t = v, l = y, I = d(() => import("./MazBtn-BRnLMzhy.mjs")), B = d(() => import("./MazIcon-BbvBov5G.mjs")), M = d(() => import("./eye-slash-BoO00xzs.mjs")), q = d(() => import("./eye-f8zAUc30.mjs")), T = d(() => import("./MazChecklist-BLxsNHMP.mjs").then((e) => e.c)), c = h(!1), s = h(!1), w = h(), D = ae({
56
+ componentName: "MazInput",
57
+ providedId: t.id
58
+ });
59
+ W(() => {
60
+ var e;
61
+ t.autoFocus && ((e = w.value) == null || e.focus());
62
+ });
63
+ const $ = r(() => t.type === "password"), E = r(() => c.value ? "text" : t.type), N = r(() => {
64
+ if (!t.noBorder) {
65
+ if (t.error)
66
+ return "maz-border-danger";
67
+ if (t.success)
68
+ return "maz-border-success";
69
+ if (t.warning)
70
+ return "maz-border-warning";
71
+ if (s.value || t.borderActive) {
72
+ if (t.color === "black")
73
+ return "maz-border-black";
74
+ if (t.color === "danger")
75
+ return "maz-border-danger";
76
+ if (t.color === "info")
77
+ return "maz-border-info";
78
+ if (t.color === "primary")
79
+ return "maz-border-primary";
80
+ if (t.color === "secondary")
81
+ return "maz-border-secondary";
82
+ if (t.color === "success")
83
+ return "maz-border-success";
84
+ if (t.color === "warning")
85
+ return "maz-border-warning";
86
+ if (t.color === "white")
87
+ return "maz-border-white";
88
+ }
89
+ return "--default-border";
90
+ }
91
+ }), b = X(), P = r(() => {
92
+ const { required: e, placeholder: a } = t;
93
+ if (a)
94
+ return e ? `${a} *` : a;
95
+ }), A = r(() => p.value !== void 0 && p.value !== ""), F = re(
96
+ (e) => {
97
+ l("update:model-value", e);
98
+ },
99
+ typeof t.debounce == "number" ? t.debounce : t.debounceDelay ?? 500
100
+ );
101
+ function L(e) {
102
+ if (t.debounce)
103
+ return F(e);
104
+ l("update:model-value", e);
105
+ }
106
+ const p = r({
107
+ get: () => t.modelValue,
108
+ set: (e) => L(e)
109
+ }), R = r(() => (!!t.label || !!t.hint) && (s.value || !!A.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), O = r(() => !!t.label || !!t.hint);
110
+ function U() {
111
+ return !!b["right-icon"] || $.value || !!b["valid-button"] || t.validButton || !!t.rightIcon;
112
+ }
113
+ function j() {
114
+ return !!b["left-icon"] || !!t.leftIcon;
115
+ }
116
+ function H(e) {
117
+ l("focus", e), s.value = !0;
118
+ }
119
+ function G(e) {
120
+ l("blur", e), s.value = !1;
121
+ }
122
+ function J(e) {
123
+ return l("change", e);
124
+ }
125
+ function K(e) {
126
+ return l("input", e);
127
+ }
128
+ return (e, a) => (n(), f(
129
+ "div",
130
+ {
131
+ class: z(["m-input", [
132
+ {
133
+ "--is-focused": s.value || e.borderActive,
134
+ "--should-up": R.value,
135
+ "--has-label": O.value,
136
+ "--is-disabled": e.disabled,
137
+ "--is-readonly": e.readonly,
138
+ "--has-z-2": e.error || e.warning || e.success,
139
+ "--has-state": e.error || e.warning || e.success,
140
+ "--block": e.block
141
+ },
142
+ t.class,
143
+ `--${e.color}`,
144
+ `--${e.size}`
145
+ ]]),
146
+ style: Y(e.style)
147
+ },
148
+ [
149
+ g(
150
+ "div",
151
+ {
152
+ class: z(["m-input-wrapper", [
153
+ e.inputClasses,
154
+ N.value,
155
+ e.roundedSize ? `--rounded-${e.roundedSize}` : { "maz-rounded": !e.noRadius }
156
+ ]])
157
+ },
158
+ [
159
+ j() ? (n(), f("div", ie, [
160
+ o(`
161
+ @slot left-icon - The icon to display on the left of the input
162
+ `),
163
+ e.$slots["left-icon"] || e.leftIcon ? k(e.$slots, "left-icon", { key: 0 }, () => [
164
+ typeof e.leftIcon == "string" ? (n(), u(i(B), {
165
+ key: 0,
166
+ name: e.leftIcon,
167
+ class: "maz-text-xl maz-text-muted"
168
+ }, null, 8, ["name"])) : e.leftIcon ? (n(), u(C(e.leftIcon), {
169
+ key: 1,
170
+ class: "maz-text-xl maz-text-muted"
171
+ })) : o("v-if", !0)
172
+ ], !0) : o("v-if", !0)
173
+ ])) : o("v-if", !0),
174
+ g("div", ue, [
175
+ Z(g("input", x({
176
+ id: i(D),
177
+ ref_key: "input",
178
+ ref: w,
179
+ "onUpdate:modelValue": a[0] || (a[0] = (m) => p.value = m),
180
+ type: E.value,
181
+ name: e.name
182
+ }, e.$attrs, {
183
+ inputmode: e.inputmode,
184
+ placeholder: P.value,
185
+ "aria-label": e.label || e.placeholder,
186
+ disabled: e.disabled,
187
+ readonly: e.readonly,
188
+ required: e.required,
189
+ class: "m-input-input"
190
+ }, _({
191
+ blur: G,
192
+ focus: H,
193
+ change: J,
194
+ input: K
195
+ }, !0), {
196
+ onClick: a[1] || (a[1] = (m) => e.$emit("click", m))
197
+ }), null, 16, se), [
198
+ [ee, p.value]
199
+ ]),
200
+ e.label || e.hint ? (n(), f(
201
+ "span",
202
+ {
203
+ key: 0,
204
+ class: z(["m-input-label", [
205
+ {
206
+ "maz-text-danger-600": e.error,
207
+ "maz-text-success-600": e.success,
208
+ "maz-text-warning-600": e.warning
209
+ }
210
+ ]])
211
+ },
212
+ [
213
+ te(
214
+ oe(e.hint || e.label) + " ",
215
+ 1
216
+ /* TEXT */
217
+ ),
218
+ e.required ? (n(), f("sup", de, "*")) : o("v-if", !0)
219
+ ],
220
+ 2
221
+ /* CLASS */
222
+ )) : o("v-if", !0)
223
+ ]),
224
+ U() ? (n(), f("div", fe, [
225
+ o(`
226
+ @slot right-icon - The icon to display on the right of the input
227
+ `),
228
+ e.$slots["right-icon"] || e.rightIcon ? k(e.$slots, "right-icon", { key: 0 }, () => [
229
+ typeof e.rightIcon == "string" ? (n(), u(i(B), {
230
+ key: 0,
231
+ name: e.rightIcon,
232
+ class: "maz-text-xl maz-text-muted"
233
+ }, null, 8, ["name"])) : e.rightIcon ? (n(), u(C(e.rightIcon), {
234
+ key: 1,
235
+ class: "maz-text-xl maz-text-muted"
236
+ })) : o("v-if", !0)
237
+ ], !0) : o("v-if", !0),
238
+ $.value ? (n(), u(i(I), {
239
+ key: 1,
240
+ color: "transparent",
241
+ tabindex: "-1",
242
+ size: "mini",
243
+ onClick: a[2] || (a[2] = ne((m) => c.value = !c.value, ["stop"]))
244
+ }, {
245
+ default: V(() => [
246
+ c.value ? (n(), u(i(M), {
247
+ key: 0,
248
+ class: "maz-text-xl maz-text-muted"
249
+ })) : (n(), u(i(q), {
250
+ key: 1,
251
+ class: "maz-text-xl maz-text-muted"
252
+ }))
253
+ ]),
254
+ _: 1
255
+ /* STABLE */
256
+ })) : o("v-if", !0),
257
+ o(`
258
+ @slot valid-button - Replace the valid button by your own
259
+ `),
260
+ e.$slots["valid-button"] || e.validButton ? k(e.$slots, "valid-button", { key: 2 }, () => [
261
+ S(i(I), {
262
+ color: "transparent",
263
+ disabled: e.disabled,
264
+ tabindex: "-1",
265
+ loading: e.validButtonLoading,
266
+ class: "m-input-valid-button",
267
+ size: "mini",
268
+ type: "submit"
269
+ }, {
270
+ default: V(() => [
271
+ S(i(T), { class: "maz-text-2xl maz-text-normal" })
272
+ ]),
273
+ _: 1
274
+ /* STABLE */
275
+ }, 8, ["disabled", "loading"])
276
+ ], !0) : o("v-if", !0)
277
+ ])) : o("v-if", !0)
278
+ ],
279
+ 2
280
+ /* CLASS */
281
+ )
282
+ ],
283
+ 6
284
+ /* CLASS, STYLE */
285
+ ));
286
+ }
287
+ }), ve = /* @__PURE__ */ le(ce, [["__scopeId", "data-v-b3e1e126"]]);
288
+ export {
289
+ ve as default
290
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Q, defineAsyncComponent as d, ref as h, onMounted as W, computed as r, useSlots as X, openBlock as n, createElementBlock as f, normalizeClass as z, normalizeStyle as Y, createElementVNode as g, createCommentVNode as o, renderSlot as k, createBlock as u, unref as i, resolveDynamicComponent as C, withDirectives as Z, mergeProps as x, toHandlers as _, vModelDynamic as ee, createTextVNode as te, toDisplayString as oe, withModifiers as ne, withCtx as V, createVNode as S } from "vue";
2
2
  import { u as ae } from "./useInstanceUniqId-DW9jO1Sz.mjs";
3
- import { _ as le } from "./MazTable-QwG-Kh88.mjs";
3
+ import { _ as le } from "./MazTable-CulBGLaj.mjs";
4
4
  import '../assets/MazInput.css';function re(v, y) {
5
5
  let t;
6
6
  return function(...l) {
@@ -53,7 +53,7 @@ const ie = {
53
53
  },
54
54
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
55
55
  setup(v, { emit: y }) {
56
- const t = v, l = y, I = d(() => import("./MazBtn-BXvObcWn.mjs")), B = d(() => import("./MazIcon-DjMuw8Bz.mjs")), M = d(() => import("./eye-slash-BoO00xzs.mjs")), q = d(() => import("./eye-f8zAUc30.mjs")), T = d(() => import("./check-C9Q_W85g.mjs")), c = h(!1), s = h(!1), w = h(), D = ae({
56
+ const t = v, l = y, I = d(() => import("./MazBtn-CnqRnXh_.mjs")), B = d(() => import("./MazIcon-DjMuw8Bz.mjs")), M = d(() => import("./eye-slash-BoO00xzs.mjs")), q = d(() => import("./eye-f8zAUc30.mjs")), T = d(() => import("./check-C9Q_W85g.mjs")), c = h(!1), s = h(!1), w = h(), D = ae({
57
57
  componentName: "MazInput",
58
58
  providedId: t.id
59
59
  });
@@ -83,7 +83,7 @@ const ve = { render: pe }, be = {
83
83
  justify: { default: "center" }
84
84
  },
85
85
  setup(m) {
86
- const o = m, t = $(() => import("./MazSpinner-DJ2t85tY.mjs")), u = $(() => import("./MazIcon-BbvBov5G.mjs")), { href: s, to: j } = ne(), k = K(), I = a(() => s ? "a" : j ? "router-link" : "button"), B = a(
86
+ const o = m, t = $(() => import("./MazSpinner-DH6C15pU.mjs")), u = $(() => import("./MazIcon-BbvBov5G.mjs")), { href: s, to: j } = ne(), k = K(), I = a(() => s ? "a" : j ? "router-link" : "button"), B = a(
87
87
  () => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
88
88
  ), v = a(
89
89
  () => (o.loading || o.disabled) && I.value === "button"
@@ -172,7 +172,7 @@ const ve = { render: pe }, be = {
172
172
  for (const [u, s] of o)
173
173
  t[u] = s;
174
174
  return t;
175
- }, R = /* @__PURE__ */ J(ye, [["__scopeId", "data-v-5aedac30"]]), he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
175
+ }, R = /* @__PURE__ */ J(ye, [["__scopeId", "data-v-d3a1ed01"]]), he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
176
176
  __proto__: null,
177
177
  default: R
178
178
  }, Symbol.toStringTag, { value: "Module" }));
@@ -113,7 +113,7 @@ const be = {
113
113
  },
114
114
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
115
115
  setup(l, { emit: r }) {
116
- const t = l, n = r, d = z(() => import("./MazBtn-BV212IYv.mjs")), b = z(() => import("./MazIcon-BbvBov5G.mjs")), C = z(() => import("./eye-slash-BoO00xzs.mjs")), I = z(() => import("./eye-f8zAUc30.mjs")), k = z(() => import("./check-BmubdHc_.mjs")), p = w(!1), y = w(!1), h = w(), E = ve({
116
+ const t = l, n = r, d = z(() => import("./MazBtn-igor8wRn.mjs")), b = z(() => import("./MazIcon-BbvBov5G.mjs")), C = z(() => import("./eye-slash-BoO00xzs.mjs")), I = z(() => import("./eye-f8zAUc30.mjs")), k = z(() => import("./check-BmubdHc_.mjs")), p = w(!1), y = w(!1), h = w(), E = ve({
117
117
  componentName: "MazInput",
118
118
  providedId: t.id
119
119
  });
@@ -54,7 +54,7 @@ const ve = { render: pe }, ye = {
54
54
  justify: { default: "center" }
55
55
  },
56
56
  setup(f) {
57
- const t = f, o = S(() => import("./MazSpinner-D1zj-581.mjs")), c = S(() => import("./MazIcon-BbvBov5G.mjs")), { href: I, to: z } = ae(), g = H(), p = r(() => I ? "a" : z ? "router-link" : "button"), j = r(
57
+ const t = f, o = S(() => import("./MazSpinner-yPkPj7Q8.mjs")), c = S(() => import("./MazIcon-BbvBov5G.mjs")), { href: I, to: z } = ae(), g = H(), p = r(() => I ? "a" : z ? "router-link" : "button"), j = r(
58
58
  () => t.pastel ? `--${t.color}-pastel` : t.outline ? `--${t.color}-outline` : `--${t.color}`
59
59
  ), m = r(
60
60
  () => (t.loading || t.disabled) && p.value === "button"
@@ -143,7 +143,7 @@ const ve = { render: pe }, ye = {
143
143
  for (const [c, I] of t)
144
144
  o[c] = I;
145
145
  return o;
146
- }, X = /* @__PURE__ */ R(be, [["__scopeId", "data-v-5aedac30"]]), ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
146
+ }, X = /* @__PURE__ */ R(be, [["__scopeId", "data-v-d3a1ed01"]]), ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
147
147
  __proto__: null,
148
148
  default: X
149
149
  }, Symbol.toStringTag, { value: "Module" }));
@@ -1,8 +1,8 @@
1
1
  import '../assets/MazLazyImg.css';var v = Object.defineProperty;
2
2
  var f = (a, e, s) => e in a ? v(a, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : a[e] = s;
3
3
  var n = (a, e, s) => f(a, typeof e != "symbol" ? e + "" : e, s);
4
- import { defineComponent as A, defineAsyncComponent as b, computed as m, withDirectives as I, openBlock as d, createElementBlock as c, normalizeClass as C, normalizeStyle as y, Fragment as E, renderList as O, createElementVNode as L, mergeProps as P, createVNode as S, unref as g, createCommentVNode as z, renderSlot as B } from "vue";
5
- const k = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", H = {
4
+ import { defineComponent as A, defineAsyncComponent as b, computed as m, withDirectives as I, openBlock as d, createElementBlock as c, normalizeClass as C, normalizeStyle as y, Fragment as E, renderList as O, createElementVNode as L, mergeProps as P, createVNode as S, unref as g, createCommentVNode as z, renderSlot as k } from "vue";
5
+ const B = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", H = {
6
6
  baseClass: "m-lazy-img",
7
7
  loadedClass: "m-lazy-loaded",
8
8
  loadingClass: "m-lazy-loading",
@@ -157,7 +157,7 @@ class w {
157
157
  async add(e, s) {
158
158
  if (this.hasBgImgMode(s) && this.isPictureElement(e))
159
159
  throw new Error(`[MazLazyImg] You can't use the "bg-image" mode with "<picture />" element`);
160
- setTimeout(() => this.setBaseClass(e), 0), e.getAttribute("src") || this.setImgSrc(e, k), await this.bindUpdateHandler(e, s, "bind");
160
+ setTimeout(() => this.setBaseClass(e), 0), e.getAttribute("src") || this.setImgSrc(e, B), await this.bindUpdateHandler(e, s, "bind");
161
161
  }
162
162
  async update(e, s) {
163
163
  s.value !== s.oldValue && (this.hasImgLoaded = !1, this.removeAllStateClasses(e), await this.bindUpdateHandler(e, s, "update"));
@@ -200,18 +200,19 @@ const M = {
200
200
  imageHeightFull: { type: Boolean },
201
201
  observerOptions: { default: void 0 },
202
202
  fallbackSrc: { default: void 0 },
203
- imgClass: {}
203
+ imgClass: {},
204
+ block: { type: Boolean }
204
205
  },
205
206
  emits: ["intersecting", "loading", "loaded", "error"],
206
207
  setup(a) {
207
- const e = a, s = b(() => import("./MazSpinner-ByWRmwig.mjs")), t = m(() => e.image || e.src), r = m(() => {
208
+ const e = a, s = b(() => import("./MazSpinner-f6pBzqbu.mjs")), t = m(() => e.image || e.src), r = m(() => {
208
209
  var o;
209
210
  return typeof t.value == "string" ? [{ srcset: t.value }] : (o = t.value) == null ? void 0 : o.sources;
210
211
  });
211
212
  return (o, l) => I((d(), c(
212
213
  "picture",
213
214
  {
214
- class: C(["m-lazy-img-component", [{ "--use-loader": !o.noLoader, "--height-full": o.imageHeightFull }, e.class]]),
215
+ class: C(["m-lazy-img-component", [{ "--use-loader": !o.noLoader, "--height-full": o.imageHeightFull, "--block": o.block }, e.class]]),
215
216
  style: y(o.style)
216
217
  },
217
218
  [
@@ -235,7 +236,7 @@ const M = {
235
236
  o.noLoader ? z("v-if", !0) : (d(), c("div", D, [
236
237
  S(g(s), { size: "2em" })
237
238
  ])),
238
- B(o.$slots, "default", {}, void 0, !0)
239
+ k(o.$slots, "default", {}, void 0, !0)
239
240
  ],
240
241
  6
241
242
  /* CLASS, STYLE */
@@ -258,7 +259,7 @@ const M = {
258
259
  for (const [t, r] of e)
259
260
  s[t] = r;
260
261
  return s;
261
- }, V = /* @__PURE__ */ N($, [["__scopeId", "data-v-f94782ce"]]);
262
+ }, V = /* @__PURE__ */ N($, [["__scopeId", "data-v-83e40430"]]);
262
263
  export {
263
264
  V as M,
264
265
  N as _
@@ -2,7 +2,7 @@ import '../assets/MazLazyImg.css';var v = Object.defineProperty;
2
2
  var f = (a, e, s) => e in a ? v(a, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : a[e] = s;
3
3
  var n = (a, e, s) => f(a, typeof e != "symbol" ? e + "" : e, s);
4
4
  import { defineComponent as A, defineAsyncComponent as b, computed as m, withDirectives as I, openBlock as d, createElementBlock as c, normalizeClass as C, normalizeStyle as y, Fragment as E, renderList as O, createElementVNode as L, mergeProps as P, createVNode as S, unref as g, createCommentVNode as z, renderSlot as B } from "vue";
5
- import { _ as k } from "./MazAvatar-BmaVqPui.mjs";
5
+ import { _ as k } from "./MazAvatar-DFoZvWmg.mjs";
6
6
  const H = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", w = {
7
7
  baseClass: "m-lazy-img",
8
8
  loadedClass: "m-lazy-loaded",
@@ -201,18 +201,19 @@ const M = {
201
201
  imageHeightFull: { type: Boolean },
202
202
  observerOptions: { default: void 0 },
203
203
  fallbackSrc: { default: void 0 },
204
- imgClass: {}
204
+ imgClass: {},
205
+ block: { type: Boolean }
205
206
  },
206
207
  emits: ["intersecting", "loading", "loaded", "error"],
207
208
  setup(a) {
208
- const e = a, s = b(() => import("./MazSpinner-5w4SkOOl.mjs")), t = m(() => e.image || e.src), r = m(() => {
209
+ const e = a, s = b(() => import("./MazSpinner-CsEQ9EXb.mjs")), t = m(() => e.image || e.src), r = m(() => {
209
210
  var o;
210
211
  return typeof t.value == "string" ? [{ srcset: t.value }] : (o = t.value) == null ? void 0 : o.sources;
211
212
  });
212
213
  return (o, l) => I((d(), c(
213
214
  "picture",
214
215
  {
215
- class: C(["m-lazy-img-component", [{ "--use-loader": !o.noLoader, "--height-full": o.imageHeightFull }, e.class]]),
216
+ class: C(["m-lazy-img-component", [{ "--use-loader": !o.noLoader, "--height-full": o.imageHeightFull, "--block": o.block }, e.class]]),
216
217
  style: y(o.style)
217
218
  },
218
219
  [
@@ -254,7 +255,7 @@ const M = {
254
255
  }]
255
256
  ]);
256
257
  }
257
- }), q = /* @__PURE__ */ k(N, [["__scopeId", "data-v-f94782ce"]]);
258
+ }), q = /* @__PURE__ */ k(N, [["__scopeId", "data-v-83e40430"]]);
258
259
  export {
259
260
  q as default
260
261
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, useCssVars as n, computed as c, openBlock as s, createElementBlock as d, createElementVNode as m } from "vue";
2
- import { _ as p } from "./MazTable-QwG-Kh88.mjs";
2
+ import { _ as p } from "./MazTable-CulBGLaj.mjs";
3
3
  import '../assets/MazLoadingBar.css';const i = { class: "m-loading-bar" }, u = /* @__PURE__ */ l({
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(P) {
30
- const n = P, e = A(() => import("./MazSpinner-CL6orjX7.mjs")), b = A(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: N } = H(), C = J(), S = s(() => h ? "a" : N ? "router-link" : "button"), u = s(
30
+ const n = P, e = A(() => import("./MazSpinner-Bvb-lKER.mjs")), b = A(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: N } = H(), C = J(), S = s(() => h ? "a" : N ? "router-link" : "button"), u = s(
31
31
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
32
32
  ), g = s(
33
33
  () => (n.loading || n.disabled) && S.value === "button"
@@ -116,7 +116,7 @@ import '../assets/MazPagination.css';const W = {
116
116
  for (const [b, h] of n)
117
117
  e[b] = h;
118
118
  return e;
119
- }, j = /* @__PURE__ */ G(X, [["__scopeId", "data-v-5aedac30"]]), Y = {
119
+ }, j = /* @__PURE__ */ G(X, [["__scopeId", "data-v-d3a1ed01"]]), Y = {
120
120
  class: "m-pagination",
121
121
  role: "navigation",
122
122
  "aria-label": "page navigation"