maz-ui 3.47.2-beta.17 → 3.47.2-beta.19
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/MazCircularProgressBar.d.ts +18 -0
- package/components/MazCircularProgressBar.mjs +37 -34
- package/components/MazPhoneNumberInput/types.d.ts +1 -0
- package/components/MazPhoneNumberInput.d.ts +2 -0
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazSelect.d.ts +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazTable.mjs +1 -1
- package/components/assets/MazCircularProgressBar.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/chunks/{MazBtn-Ch1hDPN2.mjs → MazBtn-B5ioqwkK.mjs} +2 -2
- package/components/chunks/{MazBtn-CyFhG2dS.mjs → MazBtn-BrfhtojY.mjs} +2 -2
- package/components/chunks/{MazBtn-Dyd7nrjf.mjs → MazBtn-D4NOcykx.mjs} +2 -2
- package/components/chunks/{MazCheckbox-B52wtlPW.mjs → MazCheckbox-B5ZcWc3y.mjs} +1 -1
- package/components/chunks/{MazCheckbox-qdaBefm5.mjs → MazCheckbox-BDPgDiU3.mjs} +1 -1
- package/components/chunks/{MazCheckbox-rCMDIWsz.mjs → MazCheckbox-BeLByOEa.mjs} +1 -1
- package/components/chunks/{MazIcon-hS5hU9w4.mjs → MazIcon-CaXpmvN2.mjs} +1 -1
- package/components/chunks/{MazInput-BxyuzXco.mjs → MazInput-BTIdtLkD.mjs} +2 -2
- package/components/chunks/{MazLoadingBar-9Aj1kmiA.mjs → MazLoadingBar-D3pDBJSb.mjs} +1 -1
- package/components/chunks/{MazPhoneNumberInput-C0cflJBV.mjs → MazPhoneNumberInput-DibUhBpk.mjs} +407 -407
- package/components/chunks/MazSelect-CbT4tFqV.mjs +550 -0
- package/components/chunks/{MazSelect-BoEdSx_L.mjs → MazSelect-CyWAOXo4.mjs} +312 -316
- package/components/chunks/{MazSpinner-DgvAGKDI.mjs → MazSpinner-DYE8e9xl.mjs} +1 -1
- package/components/chunks/{MazSpinner-D3XO8GyD.mjs → MazSpinner-EAz0nFxC.mjs} +1 -1
- package/components/chunks/{MazSpinner-DQ-R-mx0.mjs → MazSpinner-N-1gjTUE.mjs} +1 -1
- package/components/chunks/{MazTable-CQy44tkb.mjs → MazTable-hA0HicaL.mjs} +1 -1
- package/components/chunks/{MazTableCell-DvTUWirp.mjs → MazTableCell-DkCidYWY.mjs} +1 -1
- package/components/chunks/{MazTableRow-Byhe0xaT.mjs → MazTableRow-BAl6Fzm8.mjs} +1 -1
- package/components/chunks/{MazTableTitle-CEbvvX5U.mjs → MazTableTitle-CY_LNDOk.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-lQ32Gcgj.mjs → MazBtn-C2iBdVnK.mjs} +2 -2
- package/modules/chunks/{MazBtn-CrPOzYh7.cjs → MazBtn-DZ5uD4Ie.cjs} +1 -1
- package/modules/chunks/{MazIcon-Cbm35EPG.cjs → MazIcon-BYvF8LQu.cjs} +1 -1
- package/modules/chunks/{MazIcon-BDui-8Fj.mjs → MazIcon-trV1gyry.mjs} +1 -1
- package/modules/chunks/{MazSpinner-BryzC2lk.cjs → MazSpinner-2MEHiA8E.cjs} +1 -1
- package/modules/chunks/{MazSpinner-CFpKGT2w.mjs → MazSpinner-Dxfnhjcc.mjs} +1 -1
- package/modules/chunks/{index-DDjU2oMn.cjs → index-BjpJ5NSX.cjs} +2 -2
- package/modules/chunks/{index-0BVRC-nq.mjs → index-C3k5P1Gx.mjs} +111 -106
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +1 -1
- package/types/components/MazCircularProgressBar.vue.d.ts +18 -0
- package/types/components/MazPhoneNumberInput/types.d.ts +1 -0
- package/types/components/MazPhoneNumberInput.vue.d.ts +2 -0
- package/types/components/MazSelect.vue.d.ts +1 -1
- package/types/modules/composables/useFormValidator/types.d.ts +2 -2
- package/types/modules/directives/closable.d.ts +1 -1
- package/types/modules/directives/tooltip/index.d.ts +21 -0
- package/components/chunks/MazSelect-BL7FY5YH.mjs +0 -553
- /package/components/MazPhoneNumberInput/{use-libphonenumber.d.ts → useLibphonenumber.d.ts} +0 -0
- /package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +0 -0
- /package/types/components/MazPhoneNumberInput/{use-libphonenumber.d.ts → useLibphonenumber.d.ts} +0 -0
- /package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +0 -0
|
@@ -46,18 +46,18 @@ function Fn({
|
|
|
46
46
|
mediumBreakPoint: r = "md",
|
|
47
47
|
largeBreakPoint: a = "lg"
|
|
48
48
|
}) {
|
|
49
|
-
const { width:
|
|
49
|
+
const { width: u } = Rt({
|
|
50
50
|
initialWidth: s,
|
|
51
51
|
// (SSR) mobile first
|
|
52
52
|
initialHeight: e,
|
|
53
53
|
includeScrollbar: t,
|
|
54
54
|
internalWindow: n,
|
|
55
55
|
listenOrientation: o
|
|
56
|
-
}), l = Wt(i), h = f(() =>
|
|
57
|
-
() =>
|
|
58
|
-
), E = f(() =>
|
|
56
|
+
}), l = Wt(i), h = f(() => u.value >= l[a]), g = f(
|
|
57
|
+
() => u.value >= l[r] && u.value < l[a]
|
|
58
|
+
), E = f(() => u.value >= 0 && u.value < l[r]);
|
|
59
59
|
return {
|
|
60
|
-
width:
|
|
60
|
+
width: u,
|
|
61
61
|
numericBreakpoints: l,
|
|
62
62
|
isSmallScreen: E,
|
|
63
63
|
isLargeScreen: h,
|
|
@@ -117,8 +117,8 @@ function Zt(s, e, t) {
|
|
|
117
117
|
i.timer = setTimeout(async () => {
|
|
118
118
|
try {
|
|
119
119
|
r(await e(...o));
|
|
120
|
-
} catch (
|
|
121
|
-
a(
|
|
120
|
+
} catch (u) {
|
|
121
|
+
a(u);
|
|
122
122
|
} finally {
|
|
123
123
|
delete n[s];
|
|
124
124
|
}
|
|
@@ -258,7 +258,7 @@ function ht({
|
|
|
258
258
|
options: o,
|
|
259
259
|
updateMode: i = !0
|
|
260
260
|
}) {
|
|
261
|
-
const { initialValue: r, mode: a, ...
|
|
261
|
+
const { initialValue: r, mode: a, ...u } = ft({
|
|
262
262
|
name: s,
|
|
263
263
|
schema: n,
|
|
264
264
|
initialValue: o.defaultValue ?? t[s],
|
|
@@ -269,7 +269,7 @@ function ht({
|
|
|
269
269
|
...e,
|
|
270
270
|
initialValue: r,
|
|
271
271
|
mode: l,
|
|
272
|
-
...e != null && e.mode && l !== e.mode ?
|
|
272
|
+
...e != null && e.mode && l !== e.mode ? u : {}
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
275
|
function ts(s) {
|
|
@@ -447,7 +447,7 @@ function Un(s, e) {
|
|
|
447
447
|
options: i,
|
|
448
448
|
internalSchema: r,
|
|
449
449
|
errorMessages: a,
|
|
450
|
-
isSubmitted:
|
|
450
|
+
isSubmitted: u
|
|
451
451
|
} = us(t.formIdentifier, "useFormField"), l = dt(s, r.value) ? (e == null ? void 0 : e.mode) ?? i.mode : void 0;
|
|
452
452
|
t.mode = l;
|
|
453
453
|
const h = f(() => n.value[s]);
|
|
@@ -475,7 +475,7 @@ function Un(s, e) {
|
|
|
475
475
|
fieldState: h.value,
|
|
476
476
|
payload: o.value,
|
|
477
477
|
schema: r.value,
|
|
478
|
-
isSubmitted:
|
|
478
|
+
isSubmitted: u.value
|
|
479
479
|
});
|
|
480
480
|
}
|
|
481
481
|
const E = f(
|
|
@@ -496,8 +496,8 @@ function Un(s, e) {
|
|
|
496
496
|
};
|
|
497
497
|
le(() => {
|
|
498
498
|
const C = qe(`useFormField of ${s}`);
|
|
499
|
-
ct(() => C.refs[t.ref], (
|
|
500
|
-
const b =
|
|
499
|
+
ct(() => C.refs[t.ref], (c) => {
|
|
500
|
+
const b = c instanceof HTMLElement ? c : c == null ? void 0 : c.$el;
|
|
501
501
|
b && P(b);
|
|
502
502
|
}, {
|
|
503
503
|
errorMessage: `[maz-ui](useFormField) No element found for ref ${t.ref} for field ${s}`
|
|
@@ -534,9 +534,9 @@ function _n({ schema: s, defaultValues: e, model: t, options: n }) {
|
|
|
534
534
|
throttledFields: null,
|
|
535
535
|
identifier: "main-form-validator",
|
|
536
536
|
...n
|
|
537
|
-
}, r = y(e), a = y({ ...r.value, ...t == null ? void 0 : t.value }),
|
|
537
|
+
}, r = y(e), a = y({ ...r.value, ...t == null ? void 0 : t.value }), u = y(s), l = y(
|
|
538
538
|
Jt({
|
|
539
|
-
schema:
|
|
539
|
+
schema: u.value,
|
|
540
540
|
payload: a.value,
|
|
541
541
|
options: i
|
|
542
542
|
})
|
|
@@ -554,22 +554,22 @@ function _n({ schema: s, defaultValues: e, model: t, options: n }) {
|
|
|
554
554
|
},
|
|
555
555
|
{ deep: !0 }
|
|
556
556
|
), X(
|
|
557
|
-
|
|
557
|
+
u,
|
|
558
558
|
(T) => {
|
|
559
559
|
es({
|
|
560
560
|
schema: T,
|
|
561
561
|
fieldsStates: l.value,
|
|
562
562
|
payload: a.value,
|
|
563
563
|
options: i
|
|
564
|
-
}),
|
|
564
|
+
}), c();
|
|
565
565
|
},
|
|
566
566
|
{ deep: !0 }
|
|
567
|
-
),
|
|
568
|
-
function
|
|
567
|
+
), c();
|
|
568
|
+
function c(T = i.mode === "aggressive") {
|
|
569
569
|
return rs({
|
|
570
570
|
fieldsStates: l.value,
|
|
571
571
|
payload: a.value,
|
|
572
|
-
schema:
|
|
572
|
+
schema: u.value,
|
|
573
573
|
showErrors: T
|
|
574
574
|
});
|
|
575
575
|
}
|
|
@@ -584,19 +584,19 @@ function _n({ schema: s, defaultValues: e, model: t, options: n }) {
|
|
|
584
584
|
name: T,
|
|
585
585
|
fieldState: j,
|
|
586
586
|
payload: a.value,
|
|
587
|
-
schema:
|
|
587
|
+
schema: u.value,
|
|
588
588
|
isSubmitted: g.value,
|
|
589
589
|
forceValidation: be(["aggressive", "lazy", "progressive"], j.mode)
|
|
590
590
|
});
|
|
591
591
|
},
|
|
592
|
-
{ deep: typeof
|
|
592
|
+
{ deep: typeof u.value[T] == "object" }
|
|
593
593
|
);
|
|
594
594
|
b.push(D);
|
|
595
595
|
}
|
|
596
596
|
function v() {
|
|
597
597
|
for (const T of b)
|
|
598
598
|
T();
|
|
599
|
-
for (const T of Object.keys(
|
|
599
|
+
for (const T of Object.keys(u.value))
|
|
600
600
|
O(T);
|
|
601
601
|
}
|
|
602
602
|
function S(T, D) {
|
|
@@ -604,7 +604,7 @@ function _n({ schema: s, defaultValues: e, model: t, options: n }) {
|
|
|
604
604
|
if (j == null || j.preventDefault(), !h.value) {
|
|
605
605
|
g.value = !0, h.value = !0;
|
|
606
606
|
try {
|
|
607
|
-
await
|
|
607
|
+
await c(!0);
|
|
608
608
|
const se = typeof D == "string" ? D : i.scrollToError;
|
|
609
609
|
let G;
|
|
610
610
|
return E.value ? G = await T(a.value) : typeof se != "boolean" && Xe(se), h.value = !1, G;
|
|
@@ -618,7 +618,7 @@ function _n({ schema: s, defaultValues: e, model: t, options: n }) {
|
|
|
618
618
|
fieldsStates: l,
|
|
619
619
|
payload: a,
|
|
620
620
|
options: i,
|
|
621
|
-
internalSchema:
|
|
621
|
+
internalSchema: u,
|
|
622
622
|
errorMessages: C,
|
|
623
623
|
isSubmitted: g
|
|
624
624
|
};
|
|
@@ -631,7 +631,7 @@ function _n({ schema: s, defaultValues: e, model: t, options: n }) {
|
|
|
631
631
|
errors: P,
|
|
632
632
|
model: a,
|
|
633
633
|
fieldsStates: l,
|
|
634
|
-
validateForm:
|
|
634
|
+
validateForm: c,
|
|
635
635
|
scrollToError: Xe,
|
|
636
636
|
handleSubmit: S,
|
|
637
637
|
errorMessages: C
|
|
@@ -1134,7 +1134,7 @@ function Kn(s) {
|
|
|
1134
1134
|
var r;
|
|
1135
1135
|
return typeof s.contentSelector == "string" ? s.contentSelector : (r = s.contentSelector) == null ? void 0 : r.value;
|
|
1136
1136
|
}), n = f(() => {
|
|
1137
|
-
var r, a,
|
|
1137
|
+
var r, a, u;
|
|
1138
1138
|
if (typeof ((r = s.contentRef) == null ? void 0 : r.value) == "object")
|
|
1139
1139
|
return (a = s.contentRef.value) == null ? void 0 : a.textContent;
|
|
1140
1140
|
if (t.value && typeof document < "u") {
|
|
@@ -1142,7 +1142,7 @@ function Kn(s) {
|
|
|
1142
1142
|
if (l)
|
|
1143
1143
|
return l.textContent;
|
|
1144
1144
|
}
|
|
1145
|
-
return typeof s.content == "string" ? s.content : (
|
|
1145
|
+
return typeof s.content == "string" ? s.content : (u = s.content) == null ? void 0 : u.value;
|
|
1146
1146
|
}), o = f(() => ps(n.value, e.value)), i = f(() => yt([n.value]));
|
|
1147
1147
|
return {
|
|
1148
1148
|
content: n,
|
|
@@ -1326,15 +1326,15 @@ class Es {
|
|
|
1326
1326
|
this.runCallbacks(e), this.emitValuesChanged();
|
|
1327
1327
|
}
|
|
1328
1328
|
runCallbacks(e) {
|
|
1329
|
-
var t, n, o, i, r, a,
|
|
1330
|
-
typeof this.xDiff != "number" || typeof this.yDiff != "number" || Math.abs(this.xDiff) < this.options.threshold && Math.abs(this.yDiff) < this.options.threshold || (Math.abs(this.xDiff) > Math.abs(this.yDiff) ? this.xDiff > 0 ? (n = (t = this.options).onLeft) == null || n.call(t, e) : (i = (o = this.options).onRight) == null || i.call(o, e) : this.yDiff > 0 ? (a = (r = this.options).onUp) == null || a.call(r, e) : (l = (
|
|
1329
|
+
var t, n, o, i, r, a, u, l;
|
|
1330
|
+
typeof this.xDiff != "number" || typeof this.yDiff != "number" || Math.abs(this.xDiff) < this.options.threshold && Math.abs(this.yDiff) < this.options.threshold || (Math.abs(this.xDiff) > Math.abs(this.yDiff) ? this.xDiff > 0 ? (n = (t = this.options).onLeft) == null || n.call(t, e) : (i = (o = this.options).onRight) == null || i.call(o, e) : this.yDiff > 0 ? (a = (r = this.options).onUp) == null || a.call(r, e) : (l = (u = this.options).onDown) == null || l.call(u, e), this.resetValues());
|
|
1331
1331
|
}
|
|
1332
1332
|
resetValues() {
|
|
1333
1333
|
this.xStart = void 0, this.yStart = void 0, this.xEnd = void 0, this.yEnd = void 0, this.xDiff = void 0, this.yDiff = void 0, this.emitValuesChanged();
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
function Zn(s) {
|
|
1337
|
-
const e = y(), t = y(), n = y(), o = y(), i = y(), r = y(), a = f(() => ve(s.element)),
|
|
1337
|
+
const e = y(), t = y(), n = y(), o = y(), i = y(), r = y(), a = f(() => ve(s.element)), u = new Es({
|
|
1338
1338
|
...s,
|
|
1339
1339
|
element: a.value,
|
|
1340
1340
|
onValuesChanged(l) {
|
|
@@ -1349,9 +1349,9 @@ function Zn(s) {
|
|
|
1349
1349
|
yStart: i,
|
|
1350
1350
|
yEnd: r,
|
|
1351
1351
|
start: () => {
|
|
1352
|
-
a.value && (
|
|
1352
|
+
a.value && (u.options.element = a.value), u.start();
|
|
1353
1353
|
},
|
|
1354
|
-
stop:
|
|
1354
|
+
stop: u.stop
|
|
1355
1355
|
};
|
|
1356
1356
|
}
|
|
1357
1357
|
const zs = {
|
|
@@ -1478,9 +1478,9 @@ function Ls({ timeout: s = 1e3, callback: e, remainingTimeUpdate: t = 200, callb
|
|
|
1478
1478
|
const o = y(s), i = y(s);
|
|
1479
1479
|
let r;
|
|
1480
1480
|
function a(E) {
|
|
1481
|
-
typeof E == "number" && (i.value = E), typeof E == "number" && (o.value = E),
|
|
1481
|
+
typeof E == "number" && (i.value = E), typeof E == "number" && (o.value = E), u();
|
|
1482
1482
|
}
|
|
1483
|
-
function
|
|
1483
|
+
function u() {
|
|
1484
1484
|
r || (r = setInterval(() => {
|
|
1485
1485
|
i.value -= t, i.value <= 0 && (g(), setTimeout(() => e == null ? void 0 : e(), n));
|
|
1486
1486
|
}, t));
|
|
@@ -1489,7 +1489,7 @@ function Ls({ timeout: s = 1e3, callback: e, remainingTimeUpdate: t = 200, callb
|
|
|
1489
1489
|
r && (clearInterval(r), r = void 0);
|
|
1490
1490
|
}
|
|
1491
1491
|
function h() {
|
|
1492
|
-
!r && i.value > 0 &&
|
|
1492
|
+
!r && i.value > 0 && u();
|
|
1493
1493
|
}
|
|
1494
1494
|
function g() {
|
|
1495
1495
|
setTimeout(() => i.value = o.value, n * 2), l();
|
|
@@ -1607,18 +1607,18 @@ const Is = {
|
|
|
1607
1607
|
}
|
|
1608
1608
|
};
|
|
1609
1609
|
function kt(s, e, t) {
|
|
1610
|
-
var r;
|
|
1610
|
+
var r, a;
|
|
1611
1611
|
s.stopPropagation();
|
|
1612
1612
|
const n = typeof t.value == "function" ? t.value : t.value.handler, o = typeof t.value == "object" ? t.value.exclude : void 0;
|
|
1613
1613
|
let i = !1;
|
|
1614
1614
|
if (o && o.length > 0) {
|
|
1615
|
-
for (const
|
|
1615
|
+
for (const u of o)
|
|
1616
1616
|
if (!i && s.target instanceof HTMLElement) {
|
|
1617
|
-
const
|
|
1618
|
-
i = s.target.getAttribute("id") ===
|
|
1617
|
+
const l = (r = document.querySelector(u)) == null ? void 0 : r.getAttribute("id");
|
|
1618
|
+
i = (s.target.getAttribute("id") === l || ((a = document.querySelector(u)) == null ? void 0 : a.contains(s.target))) ?? !1;
|
|
1619
1619
|
}
|
|
1620
1620
|
}
|
|
1621
|
-
!e.contains(s.target) && !i && (n == null || n());
|
|
1621
|
+
!e.contains(s.target) && !i && (n == null || n(s));
|
|
1622
1622
|
}
|
|
1623
1623
|
function Ct() {
|
|
1624
1624
|
return document.ontouchstart === null ? "touchstart" : "click";
|
|
@@ -1665,10 +1665,15 @@ class It {
|
|
|
1665
1665
|
getColor({ value: e }) {
|
|
1666
1666
|
return typeof e == "string" ? "default" : e.color ?? "default";
|
|
1667
1667
|
}
|
|
1668
|
+
getOffset({ value: e }) {
|
|
1669
|
+
return typeof e == "string" ? "1rem" : e.offset ?? "1rem";
|
|
1670
|
+
}
|
|
1668
1671
|
create(e, t) {
|
|
1669
|
-
e.setAttribute("data-tooltip", this.getText(t))
|
|
1670
|
-
const n = this.
|
|
1671
|
-
|
|
1672
|
+
e.setAttribute("data-tooltip", this.getText(t));
|
|
1673
|
+
const n = this.getOffset(t);
|
|
1674
|
+
n && e.style.setProperty("--tooltip-offset", n), e.classList.add("m-tooltip");
|
|
1675
|
+
const o = this.getPosition(t);
|
|
1676
|
+
e.classList.add(`m-tooltip--${o}`), e.classList.add(`m-tooltip--${this.getColor(t)}`), this.getOpen(t) && e.classList.add("m-tooltip--open");
|
|
1672
1677
|
}
|
|
1673
1678
|
update(e, t) {
|
|
1674
1679
|
this.remove(e, t), this.create(e, t);
|
|
@@ -1801,17 +1806,17 @@ const Hs = ["onKeypress"], Vs = { class: "m-fullscreen-img-scroller" }, Bs = ["s
|
|
|
1801
1806
|
},
|
|
1802
1807
|
emits: ["close", "previous", "next", "before-close"],
|
|
1803
1808
|
setup(s, { emit: e }) {
|
|
1804
|
-
const t = s, n = e, o = H(() => import("./MazSpinner-
|
|
1809
|
+
const t = s, n = e, o = H(() => import("./MazSpinner-Dxfnhjcc.mjs")), i = H(() => import("./x-mark-CnZwVvA7.mjs")), r = H(() => import("./chevron-left-BqVOLRdC.mjs")), a = y(!1), u = y(!1), l = y(!1), h = y(!1), g = y(!1), E = Bt({
|
|
1805
1810
|
running: !1,
|
|
1806
1811
|
ended: !1
|
|
1807
|
-
}), z = y(t.clickedElement), P = f(() => t.clickedElement.getBoundingClientRect()), C = y(),
|
|
1812
|
+
}), z = y(t.clickedElement), P = f(() => t.clickedElement.getBoundingClientRect()), C = y(), c = y(t.src), b = y(t.alt), O = y(), v = y(), S = y(!0), $ = f(() => ({
|
|
1808
1813
|
"--is-zoomed": g.value,
|
|
1809
1814
|
"--invisible": S.value,
|
|
1810
1815
|
"--absolute": !g.value
|
|
1811
1816
|
}));
|
|
1812
1817
|
function T() {
|
|
1813
1818
|
var p, w;
|
|
1814
|
-
v.value && (C.value = ((p = v.value) == null ? void 0 : p.naturalWidth) > ((w = v.value) == null ? void 0 : w.naturalHeight)), a.value = !0,
|
|
1819
|
+
v.value && (C.value = ((p = v.value) == null ? void 0 : p.naturalWidth) > ((w = v.value) == null ? void 0 : w.naturalHeight)), a.value = !0, u.value = !1, l.value = !0;
|
|
1815
1820
|
}
|
|
1816
1821
|
X(
|
|
1817
1822
|
l,
|
|
@@ -1841,7 +1846,7 @@ const Hs = ["onKeypress"], Vs = { class: "m-fullscreen-img-scroller" }, Bs = ["s
|
|
|
1841
1846
|
function ce(p, w) {
|
|
1842
1847
|
p.classList.remove(t.openInstanceClass), w.classList.add(t.openInstanceClass);
|
|
1843
1848
|
const L = w.getAttribute("data-src"), M = w.getAttribute("data-alt");
|
|
1844
|
-
b.value = M,
|
|
1849
|
+
b.value = M, c.value = L ?? c.value;
|
|
1845
1850
|
}
|
|
1846
1851
|
function me(p) {
|
|
1847
1852
|
S.value = !0;
|
|
@@ -1850,7 +1855,7 @@ const Hs = ["onKeypress"], Vs = { class: "m-fullscreen-img-scroller" }, Bs = ["s
|
|
|
1850
1855
|
);
|
|
1851
1856
|
if (w) {
|
|
1852
1857
|
const L = ue(), M = L.indexOf(w), W = p === "next" ? M + 1 : M - 1, R = L[De(L, W)];
|
|
1853
|
-
z.value = R, R && ce(w, R), n(p), a.value = !1,
|
|
1858
|
+
z.value = R, R && ce(w, R), n(p), a.value = !1, u.value = !0, ct(() => a.value === !0, () => {
|
|
1854
1859
|
S.value = !1, g.value ? de() : d();
|
|
1855
1860
|
}, {
|
|
1856
1861
|
expectedValue: !0,
|
|
@@ -1961,7 +1966,7 @@ const Hs = ["onKeypress"], Vs = { class: "m-fullscreen-img-scroller" }, Bs = ["s
|
|
|
1961
1966
|
g.value || d();
|
|
1962
1967
|
}
|
|
1963
1968
|
return le(() => {
|
|
1964
|
-
|
|
1969
|
+
u.value = !0, document.addEventListener("keydown", j), window.addEventListener("resize", fe), se(), h.value = ue().length > 1;
|
|
1965
1970
|
}), rt(() => {
|
|
1966
1971
|
document.removeEventListener("keydown", j), window.removeEventListener("resize", fe), G();
|
|
1967
1972
|
}), (p, w) => (k(), _("div", {
|
|
@@ -2000,7 +2005,7 @@ const Hs = ["onKeypress"], Vs = { class: "m-fullscreen-img-scroller" }, Bs = ["s
|
|
|
2000
2005
|
B("img", {
|
|
2001
2006
|
ref_key: "ImgElement",
|
|
2002
2007
|
ref: v,
|
|
2003
|
-
src:
|
|
2008
|
+
src: c.value,
|
|
2004
2009
|
alt: b.value ?? void 0,
|
|
2005
2010
|
tabindex: "0",
|
|
2006
2011
|
class: ae([$.value]),
|
|
@@ -2014,7 +2019,7 @@ const Hs = ["onKeypress"], Vs = { class: "m-fullscreen-img-scroller" }, Bs = ["s
|
|
|
2014
2019
|
512
|
|
2015
2020
|
/* NEED_PATCH */
|
|
2016
2021
|
), [
|
|
2017
|
-
[lt,
|
|
2022
|
+
[lt, u.value]
|
|
2018
2023
|
])
|
|
2019
2024
|
])
|
|
2020
2025
|
], 40, Hs));
|
|
@@ -2718,13 +2723,13 @@ class ln {
|
|
|
2718
2723
|
const i = n.target.getAttribute("data-maz-aos-children") === "true", r = n.target.getAttribute("data-maz-aos") ? [n.target] : [];
|
|
2719
2724
|
if (i) {
|
|
2720
2725
|
const a = [...document.querySelectorAll("[data-maz-aos-anchor]")].map(
|
|
2721
|
-
(
|
|
2726
|
+
(u) => u.getAttribute("data-maz-aos-anchor") === `#${n.target.id}` ? u : void 0
|
|
2722
2727
|
);
|
|
2723
|
-
for (const
|
|
2724
|
-
|
|
2728
|
+
for (const u of a)
|
|
2729
|
+
u && r.push(u);
|
|
2725
2730
|
}
|
|
2726
2731
|
for (const a of r) {
|
|
2727
|
-
const
|
|
2732
|
+
const u = a.getAttribute("data-maz-aos-once"), l = typeof u == "string" ? u === "true" : this.options.animation.once;
|
|
2728
2733
|
if (typeof this.options.observer.threshold == "number" && n.intersectionRatio > this.options.observer.threshold) {
|
|
2729
2734
|
const h = a.getAttribute("data-maz-aos-duration"), g = a.getAttribute("data-maz-aos-delay");
|
|
2730
2735
|
if (h || (a.style.transitionDuration = `${this.options.animation.duration}ms`, setTimeout(() => {
|
|
@@ -2796,12 +2801,12 @@ const tt = "--backdrop-present", un = /* @__PURE__ */ ge({
|
|
|
2796
2801
|
document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(tt);
|
|
2797
2802
|
}
|
|
2798
2803
|
const a = y(n.modelValue);
|
|
2799
|
-
function
|
|
2804
|
+
function u() {
|
|
2800
2805
|
l(!1);
|
|
2801
2806
|
}
|
|
2802
|
-
async function l(
|
|
2807
|
+
async function l(c) {
|
|
2803
2808
|
var b;
|
|
2804
|
-
|
|
2809
|
+
c || (o("before-close"), await ((b = n.beforeClose) == null ? void 0 : b.call(n))), a.value = c;
|
|
2805
2810
|
}
|
|
2806
2811
|
function h() {
|
|
2807
2812
|
o("open");
|
|
@@ -2810,10 +2815,10 @@ const tt = "--backdrop-present", un = /* @__PURE__ */ ge({
|
|
|
2810
2815
|
o("update:model-value", !1), o("close"), C();
|
|
2811
2816
|
}
|
|
2812
2817
|
function E() {
|
|
2813
|
-
n.persistent ||
|
|
2818
|
+
n.persistent || u();
|
|
2814
2819
|
}
|
|
2815
|
-
function z(
|
|
2816
|
-
!n.noCloseOnEscKey &&
|
|
2820
|
+
function z(c) {
|
|
2821
|
+
!n.noCloseOnEscKey && c.key === "Escape" && !n.persistent && u();
|
|
2817
2822
|
}
|
|
2818
2823
|
function P() {
|
|
2819
2824
|
i(), document.addEventListener("keyup", z, !1);
|
|
@@ -2825,21 +2830,21 @@ const tt = "--backdrop-present", un = /* @__PURE__ */ ge({
|
|
|
2825
2830
|
n.modelValue ? P() : C();
|
|
2826
2831
|
}), X(
|
|
2827
2832
|
() => n.modelValue,
|
|
2828
|
-
(
|
|
2829
|
-
a.value =
|
|
2833
|
+
(c) => {
|
|
2834
|
+
a.value = c, c ? P() : C();
|
|
2830
2835
|
}
|
|
2831
2836
|
), e({
|
|
2832
2837
|
onBackdropAnimationEnter: h,
|
|
2833
2838
|
onBackdropAnimationLeave: g,
|
|
2834
2839
|
onBackdropClicked: E,
|
|
2835
|
-
close:
|
|
2840
|
+
close: u,
|
|
2836
2841
|
present: a,
|
|
2837
2842
|
toggleModal: l,
|
|
2838
2843
|
onKeyPress: z
|
|
2839
|
-
}), (
|
|
2844
|
+
}), (c, b) => (k(), N(Ft, { to: c.teleportSelector }, [
|
|
2840
2845
|
J(ut, {
|
|
2841
2846
|
appear: "",
|
|
2842
|
-
name:
|
|
2847
|
+
name: c.transitionName,
|
|
2843
2848
|
onAfterEnter: h,
|
|
2844
2849
|
onAfterLeave: g
|
|
2845
2850
|
}, {
|
|
@@ -2848,7 +2853,7 @@ const tt = "--backdrop-present", un = /* @__PURE__ */ ge({
|
|
|
2848
2853
|
"div",
|
|
2849
2854
|
{
|
|
2850
2855
|
key: 0,
|
|
2851
|
-
class: ae(["m-backdrop --present", [
|
|
2856
|
+
class: ae(["m-backdrop --present", [c.backdropClass]]),
|
|
2852
2857
|
tabindex: "-1",
|
|
2853
2858
|
role: "dialog"
|
|
2854
2859
|
},
|
|
@@ -2856,7 +2861,7 @@ const tt = "--backdrop-present", un = /* @__PURE__ */ ge({
|
|
|
2856
2861
|
B(
|
|
2857
2862
|
"button",
|
|
2858
2863
|
{
|
|
2859
|
-
class: ae(["m-backdrop-overlay", { "--disabled":
|
|
2864
|
+
class: ae(["m-backdrop-overlay", { "--disabled": c.persistent }]),
|
|
2860
2865
|
tabindex: "-1",
|
|
2861
2866
|
onClick: Y(E, ["self"])
|
|
2862
2867
|
},
|
|
@@ -2867,13 +2872,13 @@ const tt = "--backdrop-present", un = /* @__PURE__ */ ge({
|
|
|
2867
2872
|
B(
|
|
2868
2873
|
"div",
|
|
2869
2874
|
ee({
|
|
2870
|
-
class: ["m-backdrop-content",
|
|
2871
|
-
},
|
|
2875
|
+
class: ["m-backdrop-content", c.backdropContentClass]
|
|
2876
|
+
}, c.$attrs, {
|
|
2872
2877
|
role: "document",
|
|
2873
2878
|
tabindex: "0"
|
|
2874
2879
|
}),
|
|
2875
2880
|
[
|
|
2876
|
-
q(
|
|
2881
|
+
q(c.$slots, "default", { close: u })
|
|
2877
2882
|
],
|
|
2878
2883
|
16
|
|
2879
2884
|
/* FULL_PROPS */
|
|
@@ -2918,7 +2923,7 @@ const tt = "--backdrop-present", un = /* @__PURE__ */ ge({
|
|
|
2918
2923
|
},
|
|
2919
2924
|
emits: ["open", "close", "update:model-value"],
|
|
2920
2925
|
setup(s, { expose: e }) {
|
|
2921
|
-
const t = s, n = H(() => import("./MazBtn-
|
|
2926
|
+
const t = s, n = H(() => import("./MazBtn-C2iBdVnK.mjs")), o = H(() => import("./x-mark-CnZwVvA7.mjs")), i = jt(), r = y();
|
|
2922
2927
|
e({
|
|
2923
2928
|
close: () => {
|
|
2924
2929
|
var l, h;
|
|
@@ -2929,7 +2934,7 @@ const tt = "--backdrop-present", un = /* @__PURE__ */ ge({
|
|
|
2929
2934
|
...i,
|
|
2930
2935
|
class: void 0,
|
|
2931
2936
|
style: void 0
|
|
2932
|
-
})),
|
|
2937
|
+
})), u = f(() => ({
|
|
2933
2938
|
class: i.class,
|
|
2934
2939
|
style: i.style
|
|
2935
2940
|
}));
|
|
@@ -2953,7 +2958,7 @@ const tt = "--backdrop-present", un = /* @__PURE__ */ ge({
|
|
|
2953
2958
|
role: "dialog",
|
|
2954
2959
|
"aria-modal": "true",
|
|
2955
2960
|
style: [{ width: l.width, maxWidth: l.maxWidth, maxHeight: l.maxHeight }]
|
|
2956
|
-
},
|
|
2961
|
+
}, u.value),
|
|
2957
2962
|
[
|
|
2958
2963
|
q(l.$slots, "header", { close: g }, () => [
|
|
2959
2964
|
B(
|
|
@@ -3075,9 +3080,9 @@ const gn = { class: "maz-flex maz-items-center maz-gap-2" }, yn = /* @__PURE__ *
|
|
|
3075
3080
|
},
|
|
3076
3081
|
emits: ["open", "close"],
|
|
3077
3082
|
setup(s, { expose: e }) {
|
|
3078
|
-
const t = s, n = H(() => import("./MazBtn-
|
|
3079
|
-
var
|
|
3080
|
-
return t.buttons ?? ((
|
|
3083
|
+
const t = s, n = H(() => import("./MazBtn-C2iBdVnK.mjs")), { dialogState: o, rejectDialog: i, resolveDialog: r, data: a } = xt(), u = f(() => {
|
|
3084
|
+
var c;
|
|
3085
|
+
return t.buttons ?? ((c = t.data) == null ? void 0 : c.buttons) ?? a.value.buttons;
|
|
3081
3086
|
}), l = f(() => ({
|
|
3082
3087
|
...oe,
|
|
3083
3088
|
...a.value,
|
|
@@ -3109,37 +3114,37 @@ const gn = { class: "maz-flex maz-items-center maz-gap-2" }, yn = /* @__PURE__ *
|
|
|
3109
3114
|
text: t.confirmText || l.value.confirmText || b.text
|
|
3110
3115
|
};
|
|
3111
3116
|
}), E = f(
|
|
3112
|
-
() => o.value.find(({ id:
|
|
3117
|
+
() => o.value.find(({ id: c }) => c === t.identifier)
|
|
3113
3118
|
), z = y();
|
|
3114
3119
|
e({
|
|
3115
3120
|
close: () => {
|
|
3116
|
-
var
|
|
3117
|
-
return (b = (
|
|
3121
|
+
var c, b;
|
|
3122
|
+
return (b = (c = z.value) == null ? void 0 : c.close) == null ? void 0 : b.call(c);
|
|
3118
3123
|
}
|
|
3119
3124
|
});
|
|
3120
|
-
function P(
|
|
3121
|
-
return "type" in
|
|
3125
|
+
function P(c) {
|
|
3126
|
+
return "type" in c && (c.type === "resolve" || c.type === "reject");
|
|
3122
3127
|
}
|
|
3123
|
-
function C(
|
|
3124
|
-
return P(b) ? b.type === "resolve" ? r(
|
|
3128
|
+
function C(c, b) {
|
|
3129
|
+
return P(b) ? b.type === "resolve" ? r(c, b.response) : i(c, b.response) : r(c, void 0, b.action);
|
|
3125
3130
|
}
|
|
3126
|
-
return (
|
|
3131
|
+
return (c, b) => {
|
|
3127
3132
|
var O;
|
|
3128
3133
|
return k(), N(hn, ee({
|
|
3129
3134
|
ref_key: "dialog",
|
|
3130
3135
|
ref: z
|
|
3131
|
-
}, { ...
|
|
3132
|
-
"model-value": ((O = E.value) == null ? void 0 : O.isActive) ??
|
|
3133
|
-
onClose: b[2] || (b[2] = (v) =>
|
|
3134
|
-
onOpen: b[3] || (b[3] = (v) =>
|
|
3136
|
+
}, { ...c.$attrs, ...t }, {
|
|
3137
|
+
"model-value": ((O = E.value) == null ? void 0 : O.isActive) ?? c.modelValue ?? !1,
|
|
3138
|
+
onClose: b[2] || (b[2] = (v) => c.$emit("close", v)),
|
|
3139
|
+
onOpen: b[3] || (b[3] = (v) => c.$emit("open", v)),
|
|
3135
3140
|
"onUpdate:modelValue": b[4] || (b[4] = (v) => A(i)(E.value))
|
|
3136
3141
|
}), {
|
|
3137
3142
|
title: U(() => [
|
|
3138
|
-
q(
|
|
3143
|
+
q(c.$slots, "title", {}, () => {
|
|
3139
3144
|
var v;
|
|
3140
3145
|
return [
|
|
3141
3146
|
Q(
|
|
3142
|
-
Z(
|
|
3147
|
+
Z(c.title || ((v = l.value) == null ? void 0 : v.title)),
|
|
3143
3148
|
1
|
|
3144
3149
|
/* TEXT */
|
|
3145
3150
|
)
|
|
@@ -3147,14 +3152,14 @@ const gn = { class: "maz-flex maz-items-center maz-gap-2" }, yn = /* @__PURE__ *
|
|
|
3147
3152
|
})
|
|
3148
3153
|
]),
|
|
3149
3154
|
default: U(() => [
|
|
3150
|
-
q(
|
|
3155
|
+
q(c.$slots, "default", {
|
|
3151
3156
|
resolve: (v) => A(r)(E.value, v),
|
|
3152
3157
|
reject: (v) => A(i)(E.value, v)
|
|
3153
3158
|
}, () => {
|
|
3154
3159
|
var v;
|
|
3155
3160
|
return [
|
|
3156
3161
|
Q(
|
|
3157
|
-
Z(
|
|
3162
|
+
Z(c.message || ((v = l.value) == null ? void 0 : v.message)),
|
|
3158
3163
|
1
|
|
3159
3164
|
/* TEXT */
|
|
3160
3165
|
)
|
|
@@ -3162,15 +3167,15 @@ const gn = { class: "maz-flex maz-items-center maz-gap-2" }, yn = /* @__PURE__ *
|
|
|
3162
3167
|
})
|
|
3163
3168
|
]),
|
|
3164
3169
|
footer: U(() => [
|
|
3165
|
-
q(
|
|
3170
|
+
q(c.$slots, "footer-button", {
|
|
3166
3171
|
resolve: (v) => A(r)(E.value, v),
|
|
3167
3172
|
reject: (v) => A(i)(E.value, v)
|
|
3168
3173
|
}, () => [
|
|
3169
3174
|
B("div", gn, [
|
|
3170
|
-
|
|
3175
|
+
u.value ? (k(!0), _(
|
|
3171
3176
|
Ye,
|
|
3172
3177
|
{ key: 0 },
|
|
3173
|
-
Ut(
|
|
3178
|
+
Ut(u.value, (v, S) => (k(), N(A(n), ee({
|
|
3174
3179
|
key: S,
|
|
3175
3180
|
ref_for: !0
|
|
3176
3181
|
}, {
|
|
@@ -3202,7 +3207,7 @@ const gn = { class: "maz-flex maz-items-center maz-gap-2" }, yn = /* @__PURE__ *
|
|
|
3202
3207
|
}),
|
|
3203
3208
|
{
|
|
3204
3209
|
default: U(() => [
|
|
3205
|
-
q(
|
|
3210
|
+
q(c.$slots, "cancel-text", {}, () => [
|
|
3206
3211
|
Q(
|
|
3207
3212
|
Z(h.value.text),
|
|
3208
3213
|
1
|
|
@@ -3223,7 +3228,7 @@ const gn = { class: "maz-flex maz-items-center maz-gap-2" }, yn = /* @__PURE__ *
|
|
|
3223
3228
|
}),
|
|
3224
3229
|
{
|
|
3225
3230
|
default: U(() => [
|
|
3226
|
-
q(
|
|
3231
|
+
q(c.$slots, "confirm-text", {}, () => [
|
|
3227
3232
|
Q(
|
|
3228
3233
|
Z(g.value.text),
|
|
3229
3234
|
1
|
|
@@ -3266,8 +3271,8 @@ class bn {
|
|
|
3266
3271
|
app: this.app
|
|
3267
3272
|
}), { showDialogAndWaitChoice: i } = xt();
|
|
3268
3273
|
function r() {
|
|
3269
|
-
var
|
|
3270
|
-
(l = (
|
|
3274
|
+
var u, l, h;
|
|
3275
|
+
(l = (u = o.component) == null ? void 0 : u.exposed) == null || l.close(), (h = t.promiseCallback) == null || h.call(t), setTimeout(() => {
|
|
3271
3276
|
n();
|
|
3272
3277
|
}, 700);
|
|
3273
3278
|
}
|
|
@@ -3304,9 +3309,9 @@ const co = {
|
|
|
3304
3309
|
},
|
|
3305
3310
|
emits: ["close", "click", "open"],
|
|
3306
3311
|
setup(s, { expose: e, emit: t }) {
|
|
3307
|
-
const n = s, o = t, i = H(() => import("./MazBtn-
|
|
3312
|
+
const n = s, o = t, i = H(() => import("./MazBtn-C2iBdVnK.mjs")), r = H(() => import("./x-mark-CnZwVvA7.mjs")), a = H(
|
|
3308
3313
|
() => import("./arrow-top-right-on-square-jPmYJ34F.mjs")
|
|
3309
|
-
),
|
|
3314
|
+
), u = H(
|
|
3310
3315
|
() => import("./exclamation-triangle-Z6d0ygp8.mjs")
|
|
3311
3316
|
), l = H(
|
|
3312
3317
|
() => import("./exclamation-circle-CUk0ZajS.mjs")
|
|
@@ -3316,7 +3321,7 @@ const co = {
|
|
|
3316
3321
|
if (n.icon)
|
|
3317
3322
|
switch (n.type) {
|
|
3318
3323
|
case "danger":
|
|
3319
|
-
return
|
|
3324
|
+
return u;
|
|
3320
3325
|
case "info":
|
|
3321
3326
|
return h;
|
|
3322
3327
|
case "success":
|
|
@@ -3326,7 +3331,7 @@ const co = {
|
|
|
3326
3331
|
default:
|
|
3327
3332
|
return;
|
|
3328
3333
|
}
|
|
3329
|
-
}), C = f(() => n.position.includes("top") ? "top" : "bottom"),
|
|
3334
|
+
}), C = f(() => n.position.includes("top") ? "top" : "bottom"), c = f(() => n.position.includes("left") ? "left" : n.position.includes("right") ? "right" : "center"), b = f(() => c.value !== "center" ? c.value === "right" ? "m-slide-right" : "m-slide-left" : C.value === "top" ? "m-slide-top" : "m-slide-bottom"), O = y(!1), v = y(!1), S = y(), $ = `m-toast-container --${C.value} --${c.value}`, T = `.${$.replaceAll(" ", ".")}`, D = Ls({
|
|
3330
3335
|
callback: ne,
|
|
3331
3336
|
timeout: typeof n.timeout == "number" ? n.timeout : 0,
|
|
3332
3337
|
callbackOffsetTime: 200
|
|
@@ -3417,7 +3422,7 @@ const co = {
|
|
|
3417
3422
|
class: ae(["m-toast", [
|
|
3418
3423
|
`--${d.type}`,
|
|
3419
3424
|
`--${C.value}`,
|
|
3420
|
-
`--${
|
|
3425
|
+
`--${c.value}`,
|
|
3421
3426
|
{ "maz-pb-1": typeof d.timeout == "number" && d.timeout > 0, "--persistent": d.persistent }
|
|
3422
3427
|
]]),
|
|
3423
3428
|
role: "alert",
|
package/modules/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-BjpJ5NSX.cjs");exports.AosHandler=e.AosHandler;exports.DialogHandler=e.DialogHandler;exports.IdleTimeout=e.IdleTimeout;exports.ScriptLoader=e.ScriptLoader;exports.Swipe=e.Swipe;exports.ToasterHandler=e.ToasterHandler;exports.UserVisibility=e.UserVisibility;exports.WaitHandler=e.WaitHandler;exports.capitalize=e.capitalize;exports.checkAvailability=e.checkAvailability;exports.countryCodeToUnicodeFlag=e.countryCodeToUnicodeFlag;exports.currency=e.currency;exports.date=e.date;exports.debounce=e.debounce;exports.getAosInstance=e.getInstance;exports.injectStrict=e.injectStrict;exports.installAos=e.plugin$7;exports.installDialog=e.installDialog;exports.installDirectives=e.plugin;exports.installFilters=e.installFilters;exports.installToaster=e.installToaster;exports.installWait=e.plugin$8;exports.isClient=e.isClient;exports.iso6391Codes=e.iso6391Codes;exports.languageCodes=e.languageCodes;exports.mount=e.mount;exports.normalizeString=e.normalizeString;exports.number=e.number;exports.sleep=e.sleep;exports.throttle=e.throttle;exports.truthyFilter=e.truthyFilter;exports.useAos=e.useAos;exports.useBreakpoints=e.useBreakpoints;exports.useDialog=e.useDialog;exports.useFormField=e.useFormField;exports.useFormValidator=e.useFormValidator;exports.useIdleTimeout=e.useIdleTimeout;exports.useInstanceUniqId=e.useInstanceUniqId;exports.useLanguageDisplayNames=e.useLanguageDisplayNames;exports.useReadingTime=e.useReadingTime;exports.useStringMatching=e.useStringMatching;exports.useSwipe=e.useSwipe;exports.useThemeHandler=e.useThemeHandler;exports.useTimer=e.useTimer;exports.useToast=e.useToast;exports.useUserVisibility=e.useUserVisibility;exports.useWait=e.useWait;exports.useWindowSize=e.useWindowSize;exports.vClickOutside=e.directive;exports.vClickOutsideInstall=e.plugin$1;exports.vClosable=e.directive$1;exports.vClosableInstall=e.plugin$2;exports.vFullscreenImg=e.directive$3;exports.vFullscreenImgInstall=e.plugin$4;exports.vLazyImg=e.directive$4;exports.vLazyImgInstall=e.plugin$5;exports.vTooltip=e.directive$2;exports.vTooltipInstall=e.plugin$3;exports.vZoomImg=e.vZoomImg;exports.vZoomImgInstall=e.plugin$6;exports.waitInstance=e.instance;
|
package/modules/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Z as e, a1 as l, P as i, T as t, V as n, a4 as o, Y as r, a7 as u, I as d, M as c, N as m, J as g, K as I, O as v, $ as T, i as p, a0 as y, a2 as C, t as F, H as b, a3 as S, a6 as h, Q as z, g as A, l as D, R as H, S as k, L as w, U as L, W as U, X as W, u as V, a as O, b as Z, c as f, d as j, e as q, f as x, h as B, j as M, k as N, m as R, n as E, o as G, p as J, q as K, r as P, s as Q, v as X, w as Y, x as $, y as _, C as aa, B as sa, E as ea, D as la, z as ia, A as ta, G as na, F as oa, a5 as ra } from "./chunks/index-
|
|
1
|
+
import { Z as e, a1 as l, P as i, T as t, V as n, a4 as o, Y as r, a7 as u, I as d, M as c, N as m, J as g, K as I, O as v, $ as T, i as p, a0 as y, a2 as C, t as F, H as b, a3 as S, a6 as h, Q as z, g as A, l as D, R as H, S as k, L as w, U as L, W as U, X as W, u as V, a as O, b as Z, c as f, d as j, e as q, f as x, h as B, j as M, k as N, m as R, n as E, o as G, p as J, q as K, r as P, s as Q, v as X, w as Y, x as $, y as _, C as aa, B as sa, E as ea, D as la, z as ia, A as ta, G as na, F as oa, a5 as ra } from "./chunks/index-C3k5P1Gx.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as AosHandler,
|
|
4
4
|
l as DialogHandler,
|