maz-ui 3.29.8 → 3.29.10
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.
- package/components/MazCard.mjs +1 -1
- package/components/MazDropdown.mjs +8 -8
- package/components/MazGallery.d.ts +2 -2
- package/components/MazGallery.mjs +120 -117
- package/components/MazInputTags.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazGallery.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/chunks/{MazBtn-AVguv2N0.mjs → MazBtn-53LRXHqG.mjs} +2 -2
- package/components/chunks/{MazBtn-v6ANLVfx.mjs → MazBtn-6Qy4fS76.mjs} +2 -2
- package/components/chunks/{MazBtn-1HG8e-TR.mjs → MazBtn-JPpnJPQQ.mjs} +2 -2
- package/components/chunks/{MazBtn-oZrkoCig.mjs → MazBtn-O7GUVZnj.mjs} +2 -2
- package/components/chunks/{MazCard-cwUZUG7s.mjs → MazCard-zJHPhD_Y.mjs} +1 -1
- package/components/chunks/{MazCheckbox-LIa1Kkf_.mjs → MazCheckbox-O8s759lp.mjs} +1 -1
- package/components/chunks/{MazCheckbox-pXHcef3K.mjs → MazCheckbox-PlQ2eCrH.mjs} +1 -1
- package/components/chunks/{MazGallery-Y-ol1_h4.mjs → MazGallery-pFBsp0Ji.mjs} +120 -117
- package/components/chunks/{MazInput-BJnR_H4m.mjs → MazInput-e5D3_gAz.mjs} +2 -2
- package/components/chunks/{MazInputTags-NVpcRBJU.mjs → MazInputTags-1trLbJ_b.mjs} +2 -2
- package/components/chunks/{MazPhoneNumberInput-q0hGoLSn.mjs → MazPhoneNumberInput-B8_echSc.mjs} +20 -20
- package/components/chunks/{MazPicker-DBOTnZbk.mjs → MazPicker-IMDA4nK7.mjs} +2 -2
- package/components/chunks/{MazPickerCalendar-flhTDFlr.mjs → MazPickerCalendar-3C1ldbAQ.mjs} +3 -3
- package/components/chunks/{MazPickerHeader-s-Vi7Luu.mjs → MazPickerHeader-QBudJAej.mjs} +1 -1
- package/components/chunks/{MazPickerMonthSwitcher-3XcYjNB4.mjs → MazPickerMonthSwitcher-2mlwm_sy.mjs} +2 -2
- package/components/chunks/{MazPickerShortcuts-7wPe2QOq.mjs → MazPickerShortcuts-hnQaMnCh.mjs} +2 -2
- package/components/chunks/{MazPickerTime-BnE9Z2o_.mjs → MazPickerTime-zIrih3iA.mjs} +2 -2
- package/components/chunks/{MazPickerYearSwitcher-QcFW_c-2.mjs → MazPickerYearSwitcher-34tg1AiO.mjs} +20 -20
- package/components/chunks/{MazSelect-QrKXhl1v.mjs → MazSelect-uPnYPaw3.mjs} +67 -67
- package/components/chunks/{MazSpinner-LxBYTKQI.mjs → MazSpinner-2nPx7jtV.mjs} +1 -1
- package/components/chunks/{MazSpinner-4_WO_1Z6.mjs → MazSpinner-F_8NKQg8.mjs} +1 -1
- package/components/chunks/{MazSpinner-qwEk1DME.mjs → MazSpinner-QFdMNXgF.mjs} +1 -1
- package/components/chunks/{MazSpinner-h3lv3B1K.mjs → MazSpinner-QJyvqwn0.mjs} +1 -1
- package/components/chunks/{MazSpinner-U4RTXx9S.mjs → MazSpinner-eyrwMhzr.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-wUHMfp4T.mjs → MazTransitionExpand-G0kQtIi1.mjs} +1 -1
- package/modules/chunks/{MazBtn-Z68Qcz6H.cjs → MazBtn-6IS1PTwL.cjs} +1 -1
- package/modules/chunks/{MazBtn-eRGPCIkP.mjs → MazBtn-rHixWbMC.mjs} +2 -2
- package/modules/chunks/{MazIcon-n2dbTC_m.mjs → MazIcon-Qwk0qr7a.mjs} +1 -1
- package/modules/chunks/{MazIcon-EGO90M9q.cjs → MazIcon-pIQURefj.cjs} +1 -1
- package/modules/chunks/{MazSpinner-fLKVj1GO.mjs → MazSpinner-75HGURkz.mjs} +1 -1
- package/modules/chunks/{MazSpinner-LHVLe0o9.cjs → MazSpinner-vczBCTxv.cjs} +1 -1
- package/modules/chunks/{index-Pm6B35Ts.mjs → index-oQ1dphWT.mjs} +5 -5
- package/modules/chunks/index-s4llxgo_.cjs +124 -0
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/nuxt/index.mjs +2 -10
- package/package.json +16 -15
- package/types/components/MazGallery.vue.d.ts +2 -2
- package/modules/chunks/index-xH0NYpR0.cjs +0 -124
package/components/MazCard.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./assets/MazDropdown.css";
|
|
2
|
-
import { computed as K, defineComponent as P, defineAsyncComponent as M, getCurrentInstance as G, ref as B, watch as E, openBlock as p, createElementBlock as
|
|
2
|
+
import { computed as K, defineComponent as P, defineAsyncComponent as M, getCurrentInstance as G, ref as B, watch as E, openBlock as p, createElementBlock as h, unref as u, normalizeClass as v, normalizeStyle as J, createElementVNode as b, withModifiers as A, createCommentVNode as c, toDisplayString as $, renderSlot as w, createVNode as O, mergeProps as Q, withCtx as k, createBlock as I, Transition as W, withDirectives as X, Fragment as S, renderList as Y, resolveDynamicComponent as Z, createTextVNode as x, vShow as _ } from "vue";
|
|
3
3
|
const ee = ({
|
|
4
4
|
componentName: f,
|
|
5
5
|
instance: i,
|
|
@@ -13,7 +13,7 @@ function oe(f, i) {
|
|
|
13
13
|
}, i);
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
const ne = ["id"], te = ["aria-expanded"
|
|
16
|
+
const ne = ["id"], te = ["aria-expanded"], le = { class: "maz-sr-only" }, re = { class: "maz-flex maz-items-center maz-gap-2" }, ae = /* @__PURE__ */ P({
|
|
17
17
|
inheritAttrs: !1,
|
|
18
18
|
__name: "MazDropdown",
|
|
19
19
|
props: {
|
|
@@ -100,7 +100,7 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
100
100
|
), E(
|
|
101
101
|
() => l.open,
|
|
102
102
|
(e) => s(e)
|
|
103
|
-
), (e, n) => (p(),
|
|
103
|
+
), (e, n) => (p(), h("div", {
|
|
104
104
|
id: u(D),
|
|
105
105
|
class: v(["m-dropdown", [l.class]]),
|
|
106
106
|
style: J(e.style)
|
|
@@ -135,7 +135,7 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
135
135
|
color: e.color,
|
|
136
136
|
disabled: e.disabled
|
|
137
137
|
}, e.$attrs, { tabindex: "-1" }), {
|
|
138
|
-
default:
|
|
138
|
+
default: k(() => [
|
|
139
139
|
b("span", re, [
|
|
140
140
|
c(" @slot Button text "),
|
|
141
141
|
w(e.$slots, "default"),
|
|
@@ -155,7 +155,7 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
155
155
|
name: "maz-scale-fade",
|
|
156
156
|
persisted: ""
|
|
157
157
|
}, {
|
|
158
|
-
default:
|
|
158
|
+
default: k(() => [
|
|
159
159
|
X(b(
|
|
160
160
|
"div",
|
|
161
161
|
{
|
|
@@ -174,10 +174,10 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
174
174
|
onMouseleave: n[3] || (n[3] = (o) => ["hover", "both"].includes(e.trigger) ? u(a)(!1) : void 0)
|
|
175
175
|
},
|
|
176
176
|
[
|
|
177
|
-
(p(!0),
|
|
177
|
+
(p(!0), h(
|
|
178
178
|
S,
|
|
179
179
|
null,
|
|
180
|
-
Y(e.items, (o, m) => (p(),
|
|
180
|
+
Y(e.items, (o, m) => (p(), h(
|
|
181
181
|
S,
|
|
182
182
|
null,
|
|
183
183
|
[
|
|
@@ -201,7 +201,7 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
201
201
|
to: o.to,
|
|
202
202
|
onClick: A((R) => o.action ? j(o, R) : g(), ["stop"])
|
|
203
203
|
}, {
|
|
204
|
-
default:
|
|
204
|
+
default: k(() => [
|
|
205
205
|
c(`
|
|
206
206
|
@slot Custom menu item label
|
|
207
207
|
@binding {Object} item - menu item
|
|
@@ -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
|
|
3
|
-
var i = (o, e, 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
|
|
6
|
-
const
|
|
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
|
|
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(
|
|
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
|
|
270
|
+
const j = {
|
|
271
271
|
created(o, e) {
|
|
272
|
-
z = new
|
|
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
|
-
},
|
|
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
|
|
294
|
+
class V {
|
|
295
295
|
constructor(e = {}) {
|
|
296
296
|
i(this, "observers", []);
|
|
297
|
-
i(this, "defaultOptions",
|
|
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
|
|
410
|
-
if (
|
|
411
|
-
if ((m = (l = this.options).onIntersecting) == null || m.call(l,
|
|
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,
|
|
418
|
-
this.handleIntersectionObserver(e, t, m,
|
|
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,
|
|
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
|
|
449
|
+
const Z = {
|
|
450
450
|
created(o, e) {
|
|
451
451
|
const t = typeof e.value == "object" ? e.value : {};
|
|
452
|
-
f = new
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
|
|
502
|
-
|
|
501
|
+
S((n) => ({
|
|
502
|
+
dbeb02a4: o.separatorColor
|
|
503
503
|
}));
|
|
504
|
-
const e =
|
|
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,
|
|
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
|
|
513
|
-
width: typeof
|
|
512
|
+
flex: "0 0 " + typeof c == "number" ? `${c}px` : c,
|
|
513
|
+
width: typeof c == "number" ? `${c}px` : c
|
|
514
514
|
},
|
|
515
|
-
...
|
|
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
|
-
)),
|
|
523
|
-
return (n,
|
|
524
|
-
"
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
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:
|
|
539
|
-
class: y(["
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
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
|
-
},
|
|
620
|
+
}, te = /* @__PURE__ */ J(Y, [["__scopeId", "data-v-256984a9"]]);
|
|
618
621
|
export {
|
|
619
|
-
|
|
622
|
+
te as default
|
|
620
623
|
};
|
package/components/MazPicker.mjs
CHANGED
package/components/MazSelect.mjs
CHANGED