maz-ui 3.29.9 → 3.29.11

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 (109) hide show
  1. package/components/MazBottomSheet.mjs +1 -1
  2. package/components/MazBtn.mjs +1 -1
  3. package/components/MazCard.mjs +1 -1
  4. package/components/MazCarousel.mjs +1 -1
  5. package/components/MazDialog.mjs +1 -1
  6. package/components/MazDialogPromise.mjs +1 -1
  7. package/components/MazDrawer.mjs +1 -1
  8. package/components/MazDropdown.mjs +1 -1
  9. package/components/MazGallery.d.ts +2 -2
  10. package/components/MazGallery.mjs +120 -117
  11. package/components/MazInput.mjs +1 -1
  12. package/components/MazInputCode.d.ts +112 -140
  13. package/components/MazInputCode.mjs +89 -127
  14. package/components/MazInputNumber.d.ts +90 -75
  15. package/components/MazInputNumber.mjs +1 -1
  16. package/components/MazInputPrice.mjs +1 -1
  17. package/components/MazInputTags.mjs +1 -1
  18. package/components/MazPhoneNumberInput.mjs +1 -1
  19. package/components/MazPicker.mjs +1 -1
  20. package/components/MazSelect.mjs +1 -1
  21. package/components/MazTabsBar.d.ts +38 -46
  22. package/components/MazTabsBar.mjs +35 -33
  23. package/components/assets/MazAccordion.css +1 -1
  24. package/components/assets/MazBtn.css +1 -1
  25. package/components/assets/MazGallery.css +1 -1
  26. package/components/assets/MazInputCode.css +1 -1
  27. package/components/assets/MazInputNumber.css +1 -1
  28. package/components/assets/MazInputTags.css +1 -1
  29. package/components/assets/MazPhoneNumberInput.css +1 -1
  30. package/components/assets/MazTabsBar.css +1 -1
  31. package/components/chunks/{MazBottomSheet-lN1FCdEJ.mjs → MazBottomSheet-gdAGCz2j.mjs} +1 -1
  32. package/components/chunks/{MazBtn-6-KvWOG9.mjs → MazBtn--KNMZtwy.mjs} +3 -3
  33. package/components/chunks/MazBtn--z8L59_i.mjs +152 -0
  34. package/components/chunks/{MazBtn-7F9Rioiz.mjs → MazBtn-4HF1nPey.mjs} +3 -3
  35. package/components/chunks/MazBtn-6cVKpcR0.mjs +152 -0
  36. package/components/chunks/MazBtn-6p9Wu4VO.mjs +152 -0
  37. package/components/chunks/MazBtn-7qkTkgA-.mjs +152 -0
  38. package/components/chunks/{MazBtn-1wfj_m47.mjs → MazBtn-BLxpqHxG.mjs} +2 -2
  39. package/components/chunks/{MazBtn-6Qy4fS76.mjs → MazBtn-OWFUDMIx.mjs} +3 -3
  40. package/components/chunks/{MazBtn-1HG8e-TR.mjs → MazBtn-aJmN624j.mjs} +3 -3
  41. package/components/chunks/{MazBtn-53LRXHqG.mjs → MazBtn-b-SUQ7Mw.mjs} +3 -3
  42. package/components/chunks/{MazBtn-xF3JhNDM.mjs → MazBtn-rck8elL9.mjs} +2 -2
  43. package/components/chunks/{MazBtn-l5heH9BB.mjs → MazBtn-uC_jBWK_.mjs} +3 -3
  44. package/components/chunks/MazBtn-ziIaWq2F.mjs +152 -0
  45. package/components/chunks/{MazCard-cwUZUG7s.mjs → MazCard-E00-6IcG.mjs} +1 -1
  46. package/components/chunks/{MazCarousel-xYPtomV-.mjs → MazCarousel-UhgXK1W0.mjs} +1 -1
  47. package/components/chunks/{MazCheckbox-PlQ2eCrH.mjs → MazCheckbox-3bBrRSSB.mjs} +1 -1
  48. package/components/chunks/{MazCheckbox-evyyIVTf.mjs → MazCheckbox-hmfCHVq-.mjs} +1 -1
  49. package/components/chunks/{MazDialog-PS3XQPuC.mjs → MazDialog-V-ZvxUT_.mjs} +1 -1
  50. package/components/chunks/{MazDialogPromise-EK4I6H_i.mjs → MazDialogPromise-gmCoDU_j.mjs} +4 -4
  51. package/components/chunks/{MazDrawer-_GgnPn3R.mjs → MazDrawer-0EkCvnQw.mjs} +1 -1
  52. package/components/chunks/{MazGallery-Y-ol1_h4.mjs → MazGallery-OOT_7iBp.mjs} +120 -117
  53. package/components/chunks/{MazInput-e5D3_gAz.mjs → MazInput-kjExF4EQ.mjs} +2 -2
  54. package/components/chunks/{MazInput-yHHDCRaH.mjs → MazInput-oADd2IaL.mjs} +1 -1
  55. package/components/chunks/{MazInputNumber-nZPwmWuy.mjs → MazInputNumber-MW2jCHLn.mjs} +154 -160
  56. package/components/chunks/{MazInputPrice-ZGeD_WE9.mjs → MazInputPrice-3YxZyONG.mjs} +1 -1
  57. package/components/chunks/{MazInputTags-1trLbJ_b.mjs → MazInputTags-hkUVtOxk.mjs} +2 -2
  58. package/components/chunks/{MazPhoneNumberInput-hni7vR6r.mjs → MazPhoneNumberInput-YA3kiyt0.mjs} +5 -5
  59. package/components/chunks/{MazPicker-IMDA4nK7.mjs → MazPicker-WOcjzqYb.mjs} +2 -2
  60. package/components/chunks/{MazPickerCalendar-3C1ldbAQ.mjs → MazPickerCalendar-7cDVbXyR.mjs} +3 -3
  61. package/components/chunks/{MazPickerHeader-QBudJAej.mjs → MazPickerHeader-SeYs9yBz.mjs} +1 -1
  62. package/components/chunks/{MazPickerMonthSwitcher-2mlwm_sy.mjs → MazPickerMonthSwitcher-4eEq1LN_.mjs} +2 -2
  63. package/components/chunks/{MazPickerShortcuts-hnQaMnCh.mjs → MazPickerShortcuts-PhjV1M-h.mjs} +2 -2
  64. package/components/chunks/{MazPickerTime-zIrih3iA.mjs → MazPickerTime-uI4BTDLT.mjs} +2 -2
  65. package/components/chunks/{MazPickerYearSwitcher-34tg1AiO.mjs → MazPickerYearSwitcher-AkMOogar.mjs} +3 -3
  66. package/components/chunks/{MazSelect-uPnYPaw3.mjs → MazSelect-5R48YoJR.mjs} +2 -2
  67. package/components/chunks/{MazSpinner-mXSRdmmW.mjs → MazSpinner-1SXHONmx.mjs} +1 -1
  68. package/components/chunks/{MazSpinner-eyrwMhzr.mjs → MazSpinner-4jAMBVKI.mjs} +1 -1
  69. package/components/chunks/MazSpinner-AiC2JQjQ.mjs +38 -0
  70. package/components/chunks/{MazSpinner-F_8NKQg8.mjs → MazSpinner-MTSk6Bi-.mjs} +1 -1
  71. package/components/chunks/{MazSpinner-njcLTql6.mjs → MazSpinner-NFrxhOyM.mjs} +1 -1
  72. package/components/chunks/{MazSpinner-_b04NIxo.mjs → MazSpinner-QOIz9paX.mjs} +1 -1
  73. package/components/chunks/{MazSpinner-PAKaV_kV.mjs → MazSpinner-RU-78F0_.mjs} +1 -1
  74. package/components/chunks/{MazSpinner-qwEk1DME.mjs → MazSpinner-V0Ivz65U.mjs} +1 -1
  75. package/components/chunks/MazSpinner-cWV299nA.mjs +38 -0
  76. package/components/chunks/MazSpinner-kvGoypeZ.mjs +38 -0
  77. package/components/chunks/MazSpinner-n985IVRJ.mjs +38 -0
  78. package/components/chunks/{MazSpinner-tcjX1fe3.mjs → MazSpinner-oGCSJMcT.mjs} +1 -1
  79. package/components/chunks/{MazSpinner-QJyvqwn0.mjs → MazSpinner-o_IdJgQn.mjs} +1 -1
  80. package/components/chunks/{MazSpinner-pzC3nmKA.mjs → MazSpinner-pdiJT_qV.mjs} +1 -1
  81. package/components/chunks/{MazSpinner-wkIScBpQ.mjs → MazSpinner-yKrGvser.mjs} +1 -1
  82. package/components/chunks/{MazTransitionExpand-wUHMfp4T.mjs → MazTransitionExpand-HcxffKjn.mjs} +1 -1
  83. package/css/main.css +1 -1
  84. package/modules/assets/MazBtn.css +1 -1
  85. package/modules/chunks/{MazBtn-iaACuR2x.mjs → MazBtn-EBlifWCQ.mjs} +3 -3
  86. package/modules/chunks/{MazBtn-TtLoDMyx.cjs → MazBtn-jMzmEvMt.cjs} +1 -1
  87. package/modules/chunks/{MazIcon-oKvNopej.cjs → MazIcon-3BLbpvJx.cjs} +1 -1
  88. package/modules/chunks/{MazIcon-8_Ro2bgD.mjs → MazIcon-DUYDawZA.mjs} +1 -1
  89. package/modules/chunks/{MazSpinner-pWdFKhN9.mjs → MazSpinner-GyvYbk53.mjs} +1 -1
  90. package/modules/chunks/{MazSpinner-34BW11Li.cjs → MazSpinner-ZBwEevst.cjs} +1 -1
  91. package/modules/chunks/{index-ncP2_Adf.mjs → index-ZC__M3Vn.mjs} +6 -6
  92. package/modules/chunks/{index-3CdkOv4V.cjs → index-bg7aMxUT.cjs} +1 -1
  93. package/modules/index.cjs +1 -1
  94. package/modules/index.mjs +1 -1
  95. package/nuxt/index.json +1 -1
  96. package/package.json +9 -9
  97. package/types/components/MazGallery.vue.d.ts +2 -2
  98. package/types/components/MazInputCode.vue.d.ts +112 -140
  99. package/types/components/MazInputNumber.vue.d.ts +90 -75
  100. package/types/components/MazTabsBar.vue.d.ts +38 -46
  101. package/components/chunks/MazBtn-Ho_JsY-3.mjs +0 -152
  102. package/components/chunks/MazBtn-N8P-Q8VF.mjs +0 -152
  103. package/components/chunks/MazBtn-a2H3L4X-.mjs +0 -152
  104. package/components/chunks/MazBtn-q_j1isrL.mjs +0 -152
  105. package/components/chunks/MazBtn-sUd8NHwp.mjs +0 -152
  106. package/components/chunks/MazSpinner-bnjZoL8U.mjs +0 -38
  107. package/components/chunks/MazSpinner-evvsbLeh.mjs +0 -38
  108. package/components/chunks/MazSpinner-rJ9z86Wt.mjs +0 -38
  109. package/components/chunks/MazSpinner-zkOGM_fo.mjs +0 -38
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBottomSheet-lN1FCdEJ.mjs";
1
+ import { M as f } from "./chunks/MazBottomSheet-gdAGCz2j.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBtn-xF3JhNDM.mjs";
1
+ import { M as f } from "./chunks/MazBtn-rck8elL9.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCard-cwUZUG7s.mjs";
1
+ import { M as f } from "./chunks/MazCard-E00-6IcG.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCarousel-xYPtomV-.mjs";
1
+ import { M as f } from "./chunks/MazCarousel-UhgXK1W0.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazDialog-PS3XQPuC.mjs";
1
+ import { M as f } from "./chunks/MazDialog-V-ZvxUT_.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a as o, u as s } from "./chunks/MazDialogPromise-EK4I6H_i.mjs";
1
+ import { a as o, u as s } from "./chunks/MazDialogPromise-gmCoDU_j.mjs";
2
2
  export {
3
3
  o as default,
4
4
  s as useMazDialogPromise
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazDrawer-_GgnPn3R.mjs";
1
+ import { a as f } from "./chunks/MazDrawer-0EkCvnQw.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -43,7 +43,7 @@ const ne = ["id"], te = ["aria-expanded"], le = { class: "maz-sr-only" }, re = {
43
43
  "update:open"
44
44
  ],
45
45
  setup(f, { emit: i }) {
46
- const d = M(() => import("./chunks/MazBtn-1wfj_m47.mjs").then((e) => e.M)), y = M(() => import("./chunks/chevron-down-bC0s_0yH.mjs")), l = f, C = i, D = ee({
46
+ const d = M(() => import("./chunks/MazBtn-BLxpqHxG.mjs").then((e) => e.M)), y = M(() => import("./chunks/chevron-down-bC0s_0yH.mjs")), l = f, C = i, D = ee({
47
47
  componentName: "MazCheckbox",
48
48
  instance: G(),
49
49
  providedId: l.id
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
24
24
  type: (StringConstructor | NumberConstructor)[];
25
25
  default: number;
26
26
  };
27
- /** Remove default height */
27
+ /** Remove default height - useful to set height with css */
28
28
  noHeight: {
29
29
  type: BooleanConstructor;
30
30
  default: boolean;
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
97
97
  type: (StringConstructor | NumberConstructor)[];
98
98
  default: number;
99
99
  };
100
- /** Remove default height */
100
+ /** Remove default height - useful to set height with css */
101
101
  noHeight: {
102
102
  type: BooleanConstructor;
103
103
  default: boolean;
@@ -1,9 +1,9 @@
1
1
  var H = Object.defineProperty;
2
- var B = (o, e, t) => e in o ? H(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
- var i = (o, e, t) => (B(o, typeof e != "symbol" ? e + "" : e, t), t);
2
+ var O = (o, e, t) => e in o ? H(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
+ var i = (o, e, t) => (O(o, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import "./assets/MazGallery.css";
5
- import { defineComponent as S, useCssVars as O, defineAsyncComponent as M, onBeforeMount as _, computed as p, openBlock as u, createElementBlock as g, normalizeClass as y, normalizeStyle as E, createElementVNode as b, Fragment as x, renderList as C, withDirectives as w, unref as v, toDisplayString as T, createCommentVNode as L, createVNode as N } from "vue";
6
- const R = `
5
+ import { defineComponent as B, useCssVars as S, defineAsyncComponent as _, onBeforeMount as M, computed as p, resolveDirective as T, openBlock as h, createElementBlock as u, normalizeClass as y, normalizeStyle as E, createElementVNode as b, Fragment as x, renderList as C, withDirectives as w, unref as L, toDisplayString as N, createCommentVNode as I, createVNode as R } from "vue";
6
+ const U = `
7
7
  .maz-zoom-img {
8
8
  position: fixed;
9
9
  top: 0;
@@ -132,7 +132,7 @@ const R = `
132
132
  previous: '<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M0 0h24v24H0z" fill="none"/><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>',
133
133
  spinner: '<svg width="40px" height="40px" version="1.1" xmlns="http://www.w3.org/2000/svg" fill="currentColor" x="0px" y="0px" viewBox="0 0 50 50" xml:space="preserve" class="maz-zoom-img__loader__svg" data-v-6d1cb50c=""><path d="M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"></path></svg>'
134
134
  };
135
- class U {
135
+ class $ {
136
136
  constructor(e) {
137
137
  i(this, "options");
138
138
  i(this, "loader");
@@ -179,7 +179,7 @@ class U {
179
179
  e.classList.add(
180
180
  "maz-is-open"
181
181
  /* OPEN */
182
- ), this.addStyle(R);
182
+ ), this.addStyle(U);
183
183
  const s = document.createElement("div");
184
184
  s.classList.add("maz-zoom-img"), s.setAttribute("id", "MazImgPreviewFullsize"), s.addEventListener("click", (a) => {
185
185
  s.isEqualNode(a.target) && this.closePreview();
@@ -267,9 +267,9 @@ class U {
267
267
  }
268
268
  }
269
269
  let z;
270
- const I = {
270
+ const j = {
271
271
  created(o, e) {
272
- z = new U(e), z.create(o);
272
+ z = new $(e), z.create(o);
273
273
  },
274
274
  updated(o, e) {
275
275
  z.update(e);
@@ -277,7 +277,7 @@ const I = {
277
277
  unmounted(o) {
278
278
  z.remove(o);
279
279
  }
280
- }, $ = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", j = {
280
+ }, D = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", q = {
281
281
  baseClass: "m-lazy-img",
282
282
  loadedClass: "m-lazy-loaded",
283
283
  loadingClass: "m-lazy-loading",
@@ -291,10 +291,10 @@ const I = {
291
291
  threshold: 0.1
292
292
  }
293
293
  };
294
- class q {
294
+ class V {
295
295
  constructor(e = {}) {
296
296
  i(this, "observers", []);
297
- i(this, "defaultOptions", j);
297
+ i(this, "defaultOptions", q);
298
298
  i(this, "options");
299
299
  i(this, "onImgLoadedCallback");
300
300
  i(this, "onImgErrorCallback");
@@ -406,16 +406,16 @@ class q {
406
406
  handleIntersectionObserver(e, t, s, a) {
407
407
  var l, m;
408
408
  this.observers.push(a);
409
- for (const c of s)
410
- if (c.isIntersecting) {
411
- if ((m = (l = this.options).onIntersecting) == null || m.call(l, c.target), this.options.observerOnce && a.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
409
+ for (const d of s)
410
+ if (d.isIntersecting) {
411
+ if ((m = (l = this.options).onIntersecting) == null || m.call(l, d.target), this.options.observerOnce && a.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
412
412
  return;
413
413
  this.loadImage(e, t);
414
414
  }
415
415
  }
416
416
  createObserver(e, t) {
417
- const s = (m, c) => {
418
- this.handleIntersectionObserver(e, t, m, c);
417
+ const s = (m, d) => {
418
+ this.handleIntersectionObserver(e, t, m, d);
419
419
  }, a = this.options.observerOptions;
420
420
  new IntersectionObserver(s, a).observe(e);
421
421
  }
@@ -433,7 +433,7 @@ class q {
433
433
  async add(e, t) {
434
434
  if (this.hasBgImgMode(t) && this.isPictureElement(e))
435
435
  throw new Error(`[MazLazyImg] You can't use the "bg-image" mode with "<picture />" element`);
436
- setTimeout(() => this.setBaseClass(e), 0), e.getAttribute("src") || this.setImgSrc(e, $), await this.bindUpdateHandler(e, t, "bind");
436
+ setTimeout(() => this.setBaseClass(e), 0), e.getAttribute("src") || this.setImgSrc(e, D), await this.bindUpdateHandler(e, t, "bind");
437
437
  }
438
438
  async update(e, t) {
439
439
  t.value !== t.oldValue && (this.hasImgLoaded = !1, this.removeAllStateClasses(e), await this.bindUpdateHandler(e, t, "update"));
@@ -446,10 +446,10 @@ class q {
446
446
  }
447
447
  }
448
448
  let f;
449
- const D = {
449
+ const Z = {
450
450
  created(o, e) {
451
451
  const t = typeof e.value == "object" ? e.value : {};
452
- f = new q(t), f.add(o, e);
452
+ f = new V(t), f.add(o, e);
453
453
  },
454
454
  updated(o, e) {
455
455
  f.update(o, e);
@@ -457,10 +457,10 @@ const D = {
457
457
  unmounted(o, e) {
458
458
  f.remove(o, e);
459
459
  }
460
- }, V = { class: "m-gallery__wrapper maz-flex maz-flex-1" }, Z = ["alt"], G = {
460
+ }, G = { class: "m-gallery__wrapper maz-flex maz-flex-1" }, F = ["alt"], W = {
461
461
  key: 0,
462
462
  class: "m-gallery__remaining-layer maz-flex maz-bg-overlay maz-flex-center"
463
- }, F = { class: "maz-text-2xl maz-text-white" }, W = /* @__PURE__ */ S({
463
+ }, Q = { class: "maz-text-2xl maz-text-white" }, Y = /* @__PURE__ */ B({
464
464
  __name: "MazGallery",
465
465
  props: {
466
466
  /**
@@ -476,7 +476,7 @@ const D = {
476
476
  noRemaining: { type: Boolean, default: !1 },
477
477
  /** Height of gallery */
478
478
  height: { type: [Number, String], default: 150 },
479
- /** Remove default height */
479
+ /** Remove default height - useful to set height with css */
480
480
  noHeight: { type: Boolean, default: !1 },
481
481
  /** Width of gallery */
482
482
  width: { type: [Number, String], default: "100%" },
@@ -498,123 +498,126 @@ const D = {
498
498
  separatorColor: { type: String, default: "transparent" }
499
499
  },
500
500
  setup(o) {
501
- O((n) => ({
502
- "7a2c056e": o.separatorColor
501
+ S((n) => ({
502
+ dbeb02a4: o.separatorColor
503
503
  }));
504
- const e = M(() => import("./chunks/no-photography-5Lkm1tEM.mjs")), t = o;
505
- _(() => {
504
+ const e = _(() => import("./chunks/no-photography-5Lkm1tEM.mjs")), t = o;
505
+ M(() => {
506
506
  t.imagesShownCount > 5 && console.warn('[MazUI](m-gallery) The maximum of "images-shown-count" is 5');
507
507
  });
508
508
  const s = p(() => {
509
- const n = t.noWidth, h = t.width, d = t.noHeight, r = t.height;
509
+ const n = t.noWidth, c = t.width, v = t.noHeight, r = t.height;
510
510
  return {
511
511
  ...n ? {} : {
512
- flex: "0 0 " + typeof h == "number" ? `${h}px` : h,
513
- width: typeof h == "number" ? `${h}px` : h
512
+ flex: "0 0 " + typeof c == "number" ? `${c}px` : c,
513
+ width: typeof c == "number" ? `${c}px` : c
514
514
  },
515
- ...d ? {} : {
515
+ ...v ? {} : {
516
516
  height: typeof r == "number" ? `${r}px` : `${r}`,
517
517
  minHeight: typeof r == "number" ? `${r}px` : `${r}`
518
518
  }
519
519
  };
520
520
  }), a = p(() => t.imagesShownCount <= 5 ? t.imagesShownCount : 5), l = p(() => t.images.length - (t.images.length < a.value ? t.images.length : a.value)), m = p(() => t.images.map(
521
521
  (n) => typeof n == "object" ? { ...n, thumbnail: n.thumbnail ?? n.src } : { src: n, thumbnail: n, alt: void 0 }
522
- )), c = p(() => m.value.slice(0, a.value)), k = p(() => m.value.slice(a.value, t.images.length)), A = (n) => l.value && n + 1 === c.value.length && !t.noRemaining;
523
- return (n, h) => o.images.length > 0 || o.hasEmptyLayer ? (u(), g(
524
- "div",
525
- {
526
- key: 0,
527
- class: y(["m-gallery maz-flex", { "maz-rounded": !o.noRadius }]),
528
- style: E([s.value])
529
- },
530
- [
531
- b("section", V, [
532
- (u(!0), g(
533
- x,
534
- null,
535
- C(c.value, (d, r) => (u(), g(
536
- "figure",
522
+ )), d = p(() => m.value.slice(0, a.value)), k = p(() => m.value.slice(a.value, t.images.length)), A = (n) => l.value && n + 1 === d.value.length && !t.noRemaining;
523
+ return (n, c) => {
524
+ const v = T("fullscreen-img");
525
+ return o.images.length > 0 || o.hasEmptyLayer ? (h(), u(
526
+ "div",
527
+ {
528
+ key: 0,
529
+ class: y(["m-gallery maz-flex", { "maz-rounded": !o.noRadius }]),
530
+ style: E([s.value])
531
+ },
532
+ [
533
+ b("section", G, [
534
+ (h(!0), u(
535
+ x,
536
+ null,
537
+ C(d.value, (r, g) => (h(), u(
538
+ "figure",
539
+ {
540
+ key: g,
541
+ class: y(["m-gallery__item !maz-my-0 maz-flex maz-flex-center", [`m-gallery__item--${g + 1}`]])
542
+ },
543
+ [
544
+ w(b("img", {
545
+ class: "m-gallery__item__image maz-flex-1",
546
+ src: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
547
+ alt: r.alt,
548
+ loading: "lazy"
549
+ }, null, 8, F), [
550
+ [L(Z), { src: r.thumbnail, disabled: !o.lazy }, "bg-image"],
551
+ [v, {
552
+ src: r.src,
553
+ alt: r.alt,
554
+ disabled: o.noZoom || A(g),
555
+ blurOnHover: o.blur,
556
+ scaleOnHover: o.scale
557
+ }]
558
+ ]),
559
+ A(g) ? w((h(), u("div", W, [
560
+ b(
561
+ "span",
562
+ Q,
563
+ "+" + N(l.value),
564
+ 1
565
+ /* TEXT */
566
+ )
567
+ ])), [
568
+ [v, {
569
+ src: r.src,
570
+ alt: r.alt,
571
+ disabled: o.noZoom,
572
+ blurOnHover: !1,
573
+ scaleOnHover: o.scale
574
+ }]
575
+ ]) : I("v-if", !0)
576
+ ],
577
+ 2
578
+ /* CLASS */
579
+ ))),
580
+ 128
581
+ /* KEYED_FRAGMENT */
582
+ )),
583
+ o.hasEmptyLayer && o.images.length === 0 ? (h(), u(
584
+ "div",
537
585
  {
538
- key: r,
539
- class: y(["m-gallery__item !maz-my-0 maz-flex maz-flex-center", [`m-gallery__item--${r + 1}`]])
586
+ key: 0,
587
+ class: y(["empty-layer maz-flex maz-w-full maz-bg-color-light maz-text-normal maz-flex-center", { "maz-rounded-xl": !o.noRadius }]),
588
+ style: E([s.value])
540
589
  },
541
590
  [
542
- w(b("img", {
543
- class: "m-gallery__item__image maz-flex-1",
544
- src: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
545
- alt: d.alt,
546
- loading: "lazy"
547
- }, null, 8, Z), [
548
- [v(D), { src: d.thumbnail, disabled: !o.lazy }, "bg-image"],
549
- [v(I), {
550
- src: d.src,
551
- alt: d.alt,
552
- disabled: o.noZoom || A(r),
553
- blur: o.blur,
554
- scale: o.scale
555
- }]
556
- ]),
557
- A(r) ? w((u(), g("div", G, [
558
- b(
559
- "span",
560
- F,
561
- "+" + T(l.value),
562
- 1
563
- /* TEXT */
564
- )
565
- ])), [
566
- [v(I), {
567
- src: d.src,
568
- alt: d.alt,
569
- disabled: o.noZoom,
570
- blur: !1,
571
- scale: o.scale
572
- }]
573
- ]) : L("v-if", !0)
591
+ R(L(e), { class: "maz-h-8 maz-w-8" })
574
592
  ],
575
- 2
576
- /* CLASS */
577
- ))),
593
+ 6
594
+ /* CLASS, STYLE */
595
+ )) : I("v-if", !0)
596
+ ]),
597
+ (h(!0), u(
598
+ x,
599
+ null,
600
+ C(k.value, (r, g) => w((h(), u("div", {
601
+ key: g,
602
+ class: "m-gallery__hidden"
603
+ })), [
604
+ [L(j), { src: r.src, disabled: o.noZoom }]
605
+ ])),
578
606
  128
579
607
  /* KEYED_FRAGMENT */
580
- )),
581
- o.hasEmptyLayer && o.images.length === 0 ? (u(), g(
582
- "div",
583
- {
584
- key: 0,
585
- class: y(["empty-layer maz-flex maz-w-full maz-bg-color-light maz-text-normal maz-flex-center", { "maz-rounded-xl": !o.noRadius }]),
586
- style: E([s.value])
587
- },
588
- [
589
- N(v(e), { class: "maz-h-8 maz-w-8" })
590
- ],
591
- 6
592
- /* CLASS, STYLE */
593
- )) : L("v-if", !0)
594
- ]),
595
- (u(!0), g(
596
- x,
597
- null,
598
- C(k.value, (d, r) => w((u(), g("div", {
599
- key: r,
600
- class: "m-gallery__hidden"
601
- })), [
602
- [v(I), { src: d.src, disabled: o.noZoom }]
603
- ])),
604
- 128
605
- /* KEYED_FRAGMENT */
606
- ))
607
- ],
608
- 6
609
- /* CLASS, STYLE */
610
- )) : L("v-if", !0);
611
- }
612
- }), Q = (o, e) => {
608
+ ))
609
+ ],
610
+ 6
611
+ /* CLASS, STYLE */
612
+ )) : I("v-if", !0);
613
+ };
614
+ }
615
+ }), J = (o, e) => {
613
616
  const t = o.__vccOpts || o;
614
617
  for (const [s, a] of e)
615
618
  t[s] = a;
616
619
  return t;
617
- }, X = /* @__PURE__ */ Q(W, [["__scopeId", "data-v-4e6fbc0c"]]);
620
+ }, te = /* @__PURE__ */ J(Y, [["__scopeId", "data-v-256984a9"]]);
618
621
  export {
619
- X as default
622
+ te as default
620
623
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazInput-yHHDCRaH.mjs";
1
+ import { M as f } from "./chunks/MazInput-oADd2IaL.mjs";
2
2
  export {
3
3
  f as default
4
4
  };