@colorffy/ui 1.5.0 → 1.5.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.
- package/dist/{components-DpnTyqb-.cjs → components-Bqq2aOcE.cjs} +2 -2
- package/dist/{components-DpnTyqb-.cjs.map → components-Bqq2aOcE.cjs.map} +1 -1
- package/dist/{components-igBfuqzk.js → components-Broces9k.js} +149 -145
- package/dist/{components-igBfuqzk.js.map → components-Broces9k.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +2 -2
- package/dist/nuxt.cjs +1 -1
- package/dist/nuxt.js +1 -1
- package/dist/src/components/ui/navigation/SegmentedControls.vue.d.ts.map +1 -1
- package/dist/src/components/ui/navigation/Tabs.vue.d.ts.map +1 -1
- package/dist/src/types/navigation.d.ts +8 -0
- package/dist/src/types/navigation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -239,7 +239,7 @@ const qe = ["aria-hidden", "role", "aria-label", "innerHTML"], S = /* @__PURE__
|
|
|
239
239
|
])
|
|
240
240
|
], 2));
|
|
241
241
|
}
|
|
242
|
-
}),
|
|
242
|
+
}), be = /* @__PURE__ */ y({
|
|
243
243
|
__name: "BaseSkeleton",
|
|
244
244
|
props: {
|
|
245
245
|
size: { default: "md" },
|
|
@@ -336,8 +336,8 @@ const qe = ["aria-hidden", "role", "aria-label", "innerHTML"], S = /* @__PURE__
|
|
|
336
336
|
const t = e, a = P(null);
|
|
337
337
|
let l = 0, i = null;
|
|
338
338
|
const s = f(() => {
|
|
339
|
-
const
|
|
340
|
-
return t.size === "sm" ?
|
|
339
|
+
const C = ["d-grid", "place-items-center", "gap-5"];
|
|
340
|
+
return t.size === "sm" ? C.push("gap-3") : t.size === "lg" && C.push("gap-6"), t.customClass && C.push(t.customClass), C;
|
|
341
341
|
}), r = f(() => {
|
|
342
342
|
switch (t.size) {
|
|
343
343
|
case "sm":
|
|
@@ -348,11 +348,11 @@ const qe = ["aria-hidden", "role", "aria-label", "innerHTML"], S = /* @__PURE__
|
|
|
348
348
|
return { width: "65px", height: "65px" };
|
|
349
349
|
}
|
|
350
350
|
}), d = f(() => {
|
|
351
|
-
const
|
|
352
|
-
return t.size === "sm" ?
|
|
351
|
+
const C = ["subtitle-1", "font-primary", "fw-800"];
|
|
352
|
+
return t.size === "sm" ? C.push("fs-500") : t.size === "lg" ? C.push("fs-700") : C.push("fs-600"), C;
|
|
353
353
|
}), u = f(() => t.title ? Array.isArray(t.title) ? t.title : [t.title] : []), h = f(() => {
|
|
354
|
-
const
|
|
355
|
-
return t.role && (
|
|
354
|
+
const C = {};
|
|
355
|
+
return t.role && (C.role = t.role), t.ariaLabel && (C["aria-label"] = t.ariaLabel), t.ariaLive && t.ariaLive !== "off" && (C["aria-live"] = t.ariaLive), C;
|
|
356
356
|
});
|
|
357
357
|
function p() {
|
|
358
358
|
u.value.length > 0 && (a.value = u.value[l] || null, u.value.length > 1 && (i = setInterval(() => {
|
|
@@ -368,7 +368,7 @@ const qe = ["aria-hidden", "role", "aria-label", "innerHTML"], S = /* @__PURE__
|
|
|
368
368
|
v();
|
|
369
369
|
}), N(() => t.title, () => {
|
|
370
370
|
v(), l = 0, p();
|
|
371
|
-
}, { deep: !0 }), (
|
|
371
|
+
}, { deep: !0 }), (C, b) => (o(), n("div", G({
|
|
372
372
|
class: s.value,
|
|
373
373
|
style: e.loadingStyles
|
|
374
374
|
}, h.value), [
|
|
@@ -379,7 +379,7 @@ const qe = ["aria-hidden", "role", "aria-label", "innerHTML"], S = /* @__PURE__
|
|
|
379
379
|
viewBox: "0 0 66 66",
|
|
380
380
|
xmlns: "http://www.w3.org/2000/svg",
|
|
381
381
|
"aria-hidden": "true"
|
|
382
|
-
}, [...
|
|
382
|
+
}, [...b[0] || (b[0] = [
|
|
383
383
|
c("circle", {
|
|
384
384
|
class: "path",
|
|
385
385
|
fill: "none",
|
|
@@ -465,7 +465,7 @@ const qe = ["aria-hidden", "role", "aria-label", "innerHTML"], S = /* @__PURE__
|
|
|
465
465
|
}, Oe({
|
|
466
466
|
body: B(() => [
|
|
467
467
|
c("div", null, [
|
|
468
|
-
M(
|
|
468
|
+
M(be, {
|
|
469
469
|
size: "lg",
|
|
470
470
|
class: "col-12 h-fixed rounded-lg",
|
|
471
471
|
style: { "--fixed-size": "6.25rem" },
|
|
@@ -502,10 +502,10 @@ const qe = ["aria-hidden", "role", "aria-label", "innerHTML"], S = /* @__PURE__
|
|
|
502
502
|
}), pt = ["width", "height"], mt = {
|
|
503
503
|
key: 1,
|
|
504
504
|
class: "fs-500 fw-800 mb-2"
|
|
505
|
-
},
|
|
505
|
+
}, bt = {
|
|
506
506
|
key: 2,
|
|
507
507
|
class: "subtitle-1 text-muted mb-3"
|
|
508
|
-
},
|
|
508
|
+
}, Ct = /* @__PURE__ */ y({
|
|
509
509
|
__name: "Loading",
|
|
510
510
|
props: {
|
|
511
511
|
title: { default: null },
|
|
@@ -550,7 +550,7 @@ const qe = ["aria-hidden", "role", "aria-label", "innerHTML"], S = /* @__PURE__
|
|
|
550
550
|
}, null, -1)
|
|
551
551
|
])], 8, pt)),
|
|
552
552
|
e.title ? (o(), n("h2", mt, g(e.title), 1)) : w("", !0),
|
|
553
|
-
e.subtitle ? (o(), n("p",
|
|
553
|
+
e.subtitle ? (o(), n("p", bt, g(e.subtitle), 1)) : w("", !0)
|
|
554
554
|
], 16));
|
|
555
555
|
}
|
|
556
556
|
}), gt = {
|
|
@@ -665,7 +665,7 @@ function ae(...e) {
|
|
|
665
665
|
];
|
|
666
666
|
}, ([l, i, s, r], d, u) => {
|
|
667
667
|
if (!l?.length || !i?.length || !s?.length) return;
|
|
668
|
-
const h = Bt(r) ? { ...r } : r, p = l.flatMap((v) => i.flatMap((
|
|
668
|
+
const h = Bt(r) ? { ...r } : r, p = l.flatMap((v) => i.flatMap((C) => s.map((b) => t(v, C, b, h))));
|
|
669
669
|
u(() => {
|
|
670
670
|
p.forEach((v) => v());
|
|
671
671
|
});
|
|
@@ -694,7 +694,7 @@ function ge(e, t, a = {}) {
|
|
|
694
694
|
const k = D($), Z = k.$.subTree && k.$.subTree.children;
|
|
695
695
|
return Z == null || !Array.isArray(Z) ? !1 : Z.some((j) => j.el === U.target || U.composedPath().includes(j.el));
|
|
696
696
|
}
|
|
697
|
-
const
|
|
697
|
+
const C = ($) => {
|
|
698
698
|
const U = Y(e);
|
|
699
699
|
if ($.target != null && !(!(U instanceof Element) && p(e) && v(e, $)) && !(!U || U === $.target || $.composedPath().includes(U))) {
|
|
700
700
|
if ("detail" in $ && $.detail === 0 && (u = !h($)), !u) {
|
|
@@ -704,12 +704,12 @@ function ge(e, t, a = {}) {
|
|
|
704
704
|
t($);
|
|
705
705
|
}
|
|
706
706
|
};
|
|
707
|
-
let
|
|
707
|
+
let b = !1;
|
|
708
708
|
const L = [
|
|
709
709
|
ae(l, "click", ($) => {
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
}, 0),
|
|
710
|
+
b || (b = !0, setTimeout(() => {
|
|
711
|
+
b = !1;
|
|
712
|
+
}, 0), C($));
|
|
713
713
|
}, {
|
|
714
714
|
passive: !0,
|
|
715
715
|
capture: s
|
|
@@ -732,7 +732,7 @@ function ge(e, t, a = {}) {
|
|
|
732
732
|
u = !1;
|
|
733
733
|
},
|
|
734
734
|
trigger: ($) => {
|
|
735
|
-
u = !0,
|
|
735
|
+
u = !0, C($), u = !1;
|
|
736
736
|
}
|
|
737
737
|
} : F;
|
|
738
738
|
}
|
|
@@ -761,9 +761,9 @@ function Q(e, t = {}) {
|
|
|
761
761
|
return Ge(() => {
|
|
762
762
|
if (s.value) {
|
|
763
763
|
s.value = !i.value, d.value = D(e).split(",").some((h) => {
|
|
764
|
-
const p = h.includes("not all"), v = h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),
|
|
765
|
-
let
|
|
766
|
-
return v &&
|
|
764
|
+
const p = h.includes("not all"), v = h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), C = h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
765
|
+
let b = !!(v || C);
|
|
766
|
+
return v && b && (b = l >= X(v[1])), C && b && (b = l <= X(C[1])), p ? !b : b;
|
|
767
767
|
});
|
|
768
768
|
return;
|
|
769
769
|
}
|
|
@@ -780,59 +780,59 @@ const At = {
|
|
|
780
780
|
};
|
|
781
781
|
// @__NO_SIDE_EFFECTS__
|
|
782
782
|
function Ot(e, t = {}) {
|
|
783
|
-
function a(
|
|
784
|
-
let F = D(e[D(
|
|
783
|
+
function a(b, L) {
|
|
784
|
+
let F = D(e[D(b)]);
|
|
785
785
|
return L != null && (F = Mt(F, L)), typeof F == "number" && (F = `${F}px`), F;
|
|
786
786
|
}
|
|
787
787
|
const { window: l = ne, strategy: i = "min-width", ssrWidth: s = /* @__PURE__ */ Be() } = t, r = typeof s == "number", d = r ? q(!1) : { value: !0 };
|
|
788
788
|
r && Ut(() => d.value = !!l);
|
|
789
|
-
function u(
|
|
790
|
-
return !d.value && r ?
|
|
789
|
+
function u(b, L) {
|
|
790
|
+
return !d.value && r ? b === "min" ? s >= X(L) : s <= X(L) : l ? l.matchMedia(`(${b}-width: ${L})`).matches : !1;
|
|
791
791
|
}
|
|
792
|
-
const h = (
|
|
792
|
+
const h = (b) => Q(() => `(min-width: ${a(b)})`, t), p = (b) => Q(() => `(max-width: ${a(b)})`, t), v = Object.keys(e).reduce((b, L) => (Object.defineProperty(b, L, {
|
|
793
793
|
get: () => i === "min-width" ? h(L) : p(L),
|
|
794
794
|
enumerable: !0,
|
|
795
795
|
configurable: !0
|
|
796
|
-
}),
|
|
797
|
-
function
|
|
798
|
-
const
|
|
796
|
+
}), b), {});
|
|
797
|
+
function C() {
|
|
798
|
+
const b = Object.keys(e).map((L) => [
|
|
799
799
|
L,
|
|
800
800
|
v[L],
|
|
801
801
|
X(a(L))
|
|
802
802
|
]).sort((L, F) => L[2] - F[2]);
|
|
803
|
-
return f(() =>
|
|
803
|
+
return f(() => b.filter(([, L]) => L.value).map(([L]) => L));
|
|
804
804
|
}
|
|
805
805
|
return Object.assign(v, {
|
|
806
806
|
greaterOrEqual: h,
|
|
807
807
|
smallerOrEqual: p,
|
|
808
|
-
greater(
|
|
809
|
-
return Q(() => `(min-width: ${a(
|
|
808
|
+
greater(b) {
|
|
809
|
+
return Q(() => `(min-width: ${a(b, 0.1)})`, t);
|
|
810
810
|
},
|
|
811
|
-
smaller(
|
|
812
|
-
return Q(() => `(max-width: ${a(
|
|
811
|
+
smaller(b) {
|
|
812
|
+
return Q(() => `(max-width: ${a(b, -0.1)})`, t);
|
|
813
813
|
},
|
|
814
|
-
between(
|
|
815
|
-
return Q(() => `(min-width: ${a(
|
|
814
|
+
between(b, L) {
|
|
815
|
+
return Q(() => `(min-width: ${a(b)}) and (max-width: ${a(L, -0.1)})`, t);
|
|
816
816
|
},
|
|
817
|
-
isGreater(
|
|
818
|
-
return u("min", a(
|
|
817
|
+
isGreater(b) {
|
|
818
|
+
return u("min", a(b, 0.1));
|
|
819
819
|
},
|
|
820
|
-
isGreaterOrEqual(
|
|
821
|
-
return u("min", a(
|
|
820
|
+
isGreaterOrEqual(b) {
|
|
821
|
+
return u("min", a(b));
|
|
822
822
|
},
|
|
823
|
-
isSmaller(
|
|
824
|
-
return u("max", a(
|
|
823
|
+
isSmaller(b) {
|
|
824
|
+
return u("max", a(b, -0.1));
|
|
825
825
|
},
|
|
826
|
-
isSmallerOrEqual(
|
|
827
|
-
return u("max", a(
|
|
826
|
+
isSmallerOrEqual(b) {
|
|
827
|
+
return u("max", a(b));
|
|
828
828
|
},
|
|
829
|
-
isInBetween(
|
|
830
|
-
return u("min", a(
|
|
829
|
+
isInBetween(b, L) {
|
|
830
|
+
return u("min", a(b)) && u("max", a(L, -0.1));
|
|
831
831
|
},
|
|
832
|
-
current:
|
|
832
|
+
current: C,
|
|
833
833
|
active() {
|
|
834
|
-
const
|
|
835
|
-
return f(() =>
|
|
834
|
+
const b = C();
|
|
835
|
+
return f(() => b.value.length === 0 ? "" : b.value.at(i === "min-width" ? -1 : 0));
|
|
836
836
|
}
|
|
837
837
|
});
|
|
838
838
|
}
|
|
@@ -905,7 +905,7 @@ const _e = /* @__PURE__ */ y({
|
|
|
905
905
|
}, null, 512), [
|
|
906
906
|
[Ze, !H(l)]
|
|
907
907
|
]),
|
|
908
|
-
M(
|
|
908
|
+
M(be, { class: "col-12 col-md-6" })
|
|
909
909
|
]))), 128))
|
|
910
910
|
]))), 128))
|
|
911
911
|
], 16));
|
|
@@ -1053,7 +1053,7 @@ const _e = /* @__PURE__ */ y({
|
|
|
1053
1053
|
_: 1
|
|
1054
1054
|
}));
|
|
1055
1055
|
}
|
|
1056
|
-
}), Qt = ["textContent"],
|
|
1056
|
+
}), Qt = ["textContent"], Ce = /* @__PURE__ */ y({
|
|
1057
1057
|
__name: "Badge",
|
|
1058
1058
|
props: {
|
|
1059
1059
|
text: { default: void 0 },
|
|
@@ -1241,7 +1241,7 @@ const ia = /* @__PURE__ */ me(aa, [["render", sa]]), oa = ["disabled"], na = { c
|
|
|
1241
1241
|
T(" " + g(e.itemText), 1)
|
|
1242
1242
|
]),
|
|
1243
1243
|
e.badge || e.shortcut ? (o(), n("span", ra, [
|
|
1244
|
-
e.badge ? (o(), _(
|
|
1244
|
+
e.badge ? (o(), _(Ce, {
|
|
1245
1245
|
key: 0,
|
|
1246
1246
|
size: "sm",
|
|
1247
1247
|
variant: e.badge.variant,
|
|
@@ -1270,7 +1270,7 @@ const ia = /* @__PURE__ */ me(aa, [["render", sa]]), oa = ["disabled"], na = { c
|
|
|
1270
1270
|
}), fa = ["aria-label"], va = ["tabindex", "aria-checked", "aria-disabled", "aria-label", "onClick", "onKeydown"], ha = { class: "toggle-btn-inner" }, pa = {
|
|
1271
1271
|
key: 0,
|
|
1272
1272
|
class: "toggle-btn-icon-wrapper"
|
|
1273
|
-
}, ma = { class: "toggle-btn-support-text" },
|
|
1273
|
+
}, ma = { class: "toggle-btn-support-text" }, ba = ["textContent"], Ca = ["textContent"], ga = { key: 1 }, ya = /* @__PURE__ */ y({
|
|
1274
1274
|
__name: "ButtonToggleGroup",
|
|
1275
1275
|
props: {
|
|
1276
1276
|
options: {},
|
|
@@ -1298,8 +1298,8 @@ const ia = /* @__PURE__ */ me(aa, [["render", sa]]), oa = ["disabled"], na = { c
|
|
|
1298
1298
|
return `toggle-btn-${h}`;
|
|
1299
1299
|
}
|
|
1300
1300
|
function d(h) {
|
|
1301
|
-
const p = h.title || "Option", v = h.disabled ? " (disabled)" : "",
|
|
1302
|
-
return `${p}${v}${
|
|
1301
|
+
const p = h.title || "Option", v = h.disabled ? " (disabled)" : "", C = h.active ? " (selected)" : "";
|
|
1302
|
+
return `${p}${v}${C}`;
|
|
1303
1303
|
}
|
|
1304
1304
|
function u(h) {
|
|
1305
1305
|
return h.iconClass || "";
|
|
@@ -1309,8 +1309,8 @@ const ia = /* @__PURE__ */ me(aa, [["render", sa]]), oa = ["disabled"], na = { c
|
|
|
1309
1309
|
role: "radiogroup",
|
|
1310
1310
|
"aria-label": a.ariaLabel
|
|
1311
1311
|
}, [
|
|
1312
|
-
(o(!0), n(O, null, E(a.options, (v,
|
|
1313
|
-
key: r(
|
|
1312
|
+
(o(!0), n(O, null, E(a.options, (v, C) => (o(), n("div", {
|
|
1313
|
+
key: r(C),
|
|
1314
1314
|
role: "radio",
|
|
1315
1315
|
tabindex: v.disabled ? -1 : 0,
|
|
1316
1316
|
"aria-checked": v.active,
|
|
@@ -1320,8 +1320,8 @@ const ia = /* @__PURE__ */ me(aa, [["render", sa]]), oa = ["disabled"], na = { c
|
|
|
1320
1320
|
"toggle-btn-active": v.active,
|
|
1321
1321
|
"toggle-btn-disabled": v.disabled
|
|
1322
1322
|
}]),
|
|
1323
|
-
onClick: (
|
|
1324
|
-
onKeydown: (
|
|
1323
|
+
onClick: (b) => i(b, v),
|
|
1324
|
+
onKeydown: (b) => s(b, v)
|
|
1325
1325
|
}, [
|
|
1326
1326
|
c("div", ha, [
|
|
1327
1327
|
v.icon ? (o(), n("div", pa, [
|
|
@@ -1336,15 +1336,15 @@ const ia = /* @__PURE__ */ me(aa, [["render", sa]]), oa = ["disabled"], na = { c
|
|
|
1336
1336
|
key: 0,
|
|
1337
1337
|
class: "subtitle-1",
|
|
1338
1338
|
textContent: g(v.title)
|
|
1339
|
-
}, null, 8,
|
|
1339
|
+
}, null, 8, ba)) : w("", !0),
|
|
1340
1340
|
v.text ? (o(), n("p", {
|
|
1341
1341
|
key: 1,
|
|
1342
1342
|
class: "subtitle-2",
|
|
1343
1343
|
textContent: g(v.text)
|
|
1344
|
-
}, null, 8,
|
|
1344
|
+
}, null, 8, Ca)) : w("", !0)
|
|
1345
1345
|
]),
|
|
1346
1346
|
v.badge && v.badge.text ? (o(), n("div", ga, [
|
|
1347
|
-
M(
|
|
1347
|
+
M(Ce, {
|
|
1348
1348
|
variant: v.badge.variant,
|
|
1349
1349
|
text: v.badge.text,
|
|
1350
1350
|
"aria-label": `Tier: ${v.badge.text}`
|
|
@@ -1397,10 +1397,10 @@ const ia = /* @__PURE__ */ me(aa, [["render", sa]]), oa = ["disabled"], na = { c
|
|
|
1397
1397
|
const k = $.normalize("NFD").replace(/[\u0300-\u036F]/g, "").toLowerCase().replace(/[^a-z0-9]+(.)/gi, (Z, j) => j.toUpperCase());
|
|
1398
1398
|
return k.charAt(0).toLowerCase() + k.slice(1);
|
|
1399
1399
|
}
|
|
1400
|
-
function
|
|
1400
|
+
function C() {
|
|
1401
1401
|
i.value.length > 0 ? i.value = [] : i.value = [...t.hiddenColumns];
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function b($) {
|
|
1404
1404
|
const U = i.value.indexOf($);
|
|
1405
1405
|
U > -1 ? i.value.splice(U, 1) : d.value.length > 1 && i.value.push($);
|
|
1406
1406
|
}
|
|
@@ -1425,7 +1425,7 @@ const ia = /* @__PURE__ */ me(aa, [["render", sa]]), oa = ["disabled"], na = { c
|
|
|
1425
1425
|
icon: "",
|
|
1426
1426
|
"icon-variant": "shape-sm",
|
|
1427
1427
|
"tooltip-text": r.value,
|
|
1428
|
-
onOnClick:
|
|
1428
|
+
onOnClick: C
|
|
1429
1429
|
}, {
|
|
1430
1430
|
icon: B(() => [
|
|
1431
1431
|
M(S, {
|
|
@@ -1454,7 +1454,7 @@ const ia = /* @__PURE__ */ me(aa, [["render", sa]]), oa = ["disabled"], na = { c
|
|
|
1454
1454
|
"item-text": k,
|
|
1455
1455
|
icon: L(k) ? "" : "",
|
|
1456
1456
|
disabled: F(k),
|
|
1457
|
-
onClick: (Z) =>
|
|
1457
|
+
onClick: (Z) => b(k)
|
|
1458
1458
|
}, null, 8, ["id", "item-text", "icon", "disabled", "onClick"]))), 128))
|
|
1459
1459
|
]),
|
|
1460
1460
|
_: 1
|
|
@@ -1578,25 +1578,25 @@ const Sa = { class: "dialog-content" }, Ua = { class: "dialog-body" }, za = {
|
|
|
1578
1578
|
const v = ["dialog-confirm"];
|
|
1579
1579
|
return l.mode ? (l.mode === "modal" && v.push("dialog-modal"), l.mode === "side-sheet" && v.push("dialog-side-sheet"), l.mode === "headless" && v.push("dialog-headless")) : v.push("dialog-modal"), l.size && (l.size === "sm" && v.push("dialog-sm"), l.size === "lg" && v.push("dialog-lg")), l.customClass && (Array.isArray(l.customClass) ? v.push(...l.customClass) : v.push(l.customClass)), v;
|
|
1580
1580
|
}), d = f(() => {
|
|
1581
|
-
let v,
|
|
1581
|
+
let v, C;
|
|
1582
1582
|
switch (l.variant) {
|
|
1583
1583
|
case "danger":
|
|
1584
|
-
v = "text-danger",
|
|
1584
|
+
v = "text-danger", C = "";
|
|
1585
1585
|
break;
|
|
1586
1586
|
case "warning":
|
|
1587
|
-
v = "text-warning",
|
|
1587
|
+
v = "text-warning", C = "";
|
|
1588
1588
|
break;
|
|
1589
1589
|
case "success":
|
|
1590
|
-
v = "text-success",
|
|
1590
|
+
v = "text-success", C = "";
|
|
1591
1591
|
break;
|
|
1592
1592
|
case "primary":
|
|
1593
|
-
v = "text-primary",
|
|
1593
|
+
v = "text-primary", C = "";
|
|
1594
1594
|
break;
|
|
1595
1595
|
default:
|
|
1596
|
-
v = "text-muted",
|
|
1596
|
+
v = "text-muted", C = "";
|
|
1597
1597
|
break;
|
|
1598
1598
|
}
|
|
1599
|
-
return { cssClass: v, icon:
|
|
1599
|
+
return { cssClass: v, icon: C };
|
|
1600
1600
|
}), u = f(() => {
|
|
1601
1601
|
const v = [];
|
|
1602
1602
|
return l.variant && v.push(`filled-${l.variant}`), v;
|
|
@@ -1610,7 +1610,7 @@ const Sa = { class: "dialog-content" }, Ua = { class: "dialog-body" }, za = {
|
|
|
1610
1610
|
return t({
|
|
1611
1611
|
showDialog: h,
|
|
1612
1612
|
closeDialog: p
|
|
1613
|
-
}), (v,
|
|
1613
|
+
}), (v, C) => (o(), n("dialog", {
|
|
1614
1614
|
ref_key: "dialogRef",
|
|
1615
1615
|
ref: s,
|
|
1616
1616
|
class: m(["dialog", r.value]),
|
|
@@ -1639,7 +1639,7 @@ const Sa = { class: "dialog-content" }, Ua = { class: "dialog-body" }, za = {
|
|
|
1639
1639
|
text: e.confirmLabel,
|
|
1640
1640
|
loading: e.isLoading,
|
|
1641
1641
|
disabled: e.isLoading,
|
|
1642
|
-
onClick:
|
|
1642
|
+
onClick: C[0] || (C[0] = (b) => i("confirm"))
|
|
1643
1643
|
}, null, 8, ["class", "text", "loading", "disabled"])
|
|
1644
1644
|
])
|
|
1645
1645
|
])), [
|
|
@@ -1966,7 +1966,7 @@ const Sa = { class: "dialog-content" }, Ua = { class: "dialog-body" }, za = {
|
|
|
1966
1966
|
])], 14, Ya))
|
|
1967
1967
|
]));
|
|
1968
1968
|
}
|
|
1969
|
-
}), el = ["width", "height", "role", "aria-hidden", "aria-label"], tl = ["width", "height", "role", "aria-hidden", "aria-label"], al = ["width", "height", "role", "aria-hidden", "aria-label"], ll = ["width", "height", "role", "aria-hidden", "aria-label"], sl = ["width", "height", "role", "aria-hidden", "aria-label"], il = ["width", "height", "role", "aria-hidden", "aria-label"], ol = ["width", "height", "role", "aria-hidden", "aria-label"], nl = ["width", "height", "role", "aria-hidden", "aria-label"], rl = ["width", "height", "role", "aria-hidden", "aria-label"], ul = ["width", "height", "role", "aria-hidden", "aria-label"], dl = ["width", "height", "role", "aria-hidden", "aria-label"], cl = ["width", "height", "role", "aria-hidden", "aria-label"], fl = ["width", "height", "role", "aria-hidden", "aria-label"], vl = ["width", "height", "role", "aria-hidden", "aria-label"], hl = ["width", "height", "role", "aria-hidden", "aria-label"], pl = ["width", "height", "role", "aria-hidden", "aria-label"], ml = ["width", "height", "role", "aria-hidden", "aria-label"],
|
|
1969
|
+
}), el = ["width", "height", "role", "aria-hidden", "aria-label"], tl = ["width", "height", "role", "aria-hidden", "aria-label"], al = ["width", "height", "role", "aria-hidden", "aria-label"], ll = ["width", "height", "role", "aria-hidden", "aria-label"], sl = ["width", "height", "role", "aria-hidden", "aria-label"], il = ["width", "height", "role", "aria-hidden", "aria-label"], ol = ["width", "height", "role", "aria-hidden", "aria-label"], nl = ["width", "height", "role", "aria-hidden", "aria-label"], rl = ["width", "height", "role", "aria-hidden", "aria-label"], ul = ["width", "height", "role", "aria-hidden", "aria-label"], dl = ["width", "height", "role", "aria-hidden", "aria-label"], cl = ["width", "height", "role", "aria-hidden", "aria-label"], fl = ["width", "height", "role", "aria-hidden", "aria-label"], vl = ["width", "height", "role", "aria-hidden", "aria-label"], hl = ["width", "height", "role", "aria-hidden", "aria-label"], pl = ["width", "height", "role", "aria-hidden", "aria-label"], ml = ["width", "height", "role", "aria-hidden", "aria-label"], bl = ["width", "height", "role", "aria-hidden", "aria-label"], Cl = ["width", "height", "role", "aria-hidden", "aria-label"], gl = ["width", "height", "role", "aria-hidden", "aria-label"], yl = ["width", "height", "role", "aria-hidden", "aria-label"], wl = ["width", "height", "role", "aria-hidden", "aria-label"], xl = ["width", "height", "role", "aria-hidden", "aria-label"], $l = ["width", "height", "role", "aria-hidden", "aria-label"], kl = /* @__PURE__ */ y({
|
|
1970
1970
|
__name: "Shapes",
|
|
1971
1971
|
props: {
|
|
1972
1972
|
shape: { default: "lighting-1" },
|
|
@@ -2278,7 +2278,7 @@ const Sa = { class: "dialog-content" }, Ua = { class: "dialog-body" }, za = {
|
|
|
2278
2278
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2279
2279
|
}, [...u[17] || (u[17] = [
|
|
2280
2280
|
z('<g clip-path="url(#clip0_104_215)"><path fill-rule="evenodd" clip-rule="evenodd" d="M100 100C100 100 112.5 66.5265 112.5 42.8571C112.5 19.1878 106.904 0 100 0C93.0964 0 87.5 19.1878 87.5 42.8571C87.5 66.5265 100 100 100 100ZM100 100C100 100 114.831 132.508 131.567 149.245C148.304 165.982 165.829 175.592 170.711 170.711C175.592 165.829 165.982 148.304 149.245 131.567C132.508 114.831 100 100 100 100ZM100 100C100 100 133.474 87.5 157.143 87.5C180.812 87.5 200 93.0964 200 100C200 106.904 180.812 112.5 157.143 112.5C133.474 112.5 100 100 100 100ZM100 100C100 100 67.4918 114.831 50.755 131.567C34.0183 148.304 24.4077 165.829 29.2893 170.711C34.1709 175.592 51.696 165.982 68.4327 149.245C85.1695 132.508 100 100 100 100ZM100 100L100 100C100.028 100.074 112.5 133.5 112.5 157.143C112.5 180.812 106.904 200 100 200C93.0964 200 87.5 180.812 87.5 157.143C87.5 133.474 100 100 100 100ZM100 100C100 100 66.5265 87.5 42.8571 87.5C19.1878 87.5 0 93.0964 0 100C0 106.904 19.1878 112.5 42.8571 112.5C66.5265 112.5 100 100 100 100ZM100 99.9999C100 99.9999 132.508 85.1694 149.245 68.4327C165.982 51.6959 175.592 34.1708 170.711 29.2893C165.829 24.4077 148.304 34.0183 131.567 50.755C114.831 67.4918 100 99.9999 100 99.9999ZM68.4327 50.755C85.1695 67.4918 100 100 100 100C100 100 67.4918 85.1695 50.7551 68.4327C34.0183 51.696 24.4078 34.1709 29.2893 29.2893C34.1709 24.4078 51.696 34.0183 68.4327 50.755Z" fill="url(#paint0_linear_104_215)"></path></g> <defs><linearGradient id="paint0_linear_104_215" x1="157.5" y1="32" x2="44" y2="147.5" gradientUnits="userSpaceOnUse"><stop offset="0.0509862" stop-color="#FFB6E1"></stop> <stop offset="1" stop-color="#FBE3EA"></stop></linearGradient> <clipPath id="clip0_104_215"><rect width="200" height="200" fill="white"></rect></clipPath></defs>', 3)
|
|
2281
|
-
])], 8,
|
|
2281
|
+
])], 8, bl)) : e.shape === "star-3" ? (o(), n("svg", {
|
|
2282
2282
|
key: 18,
|
|
2283
2283
|
width: l.value,
|
|
2284
2284
|
height: l.value,
|
|
@@ -2290,7 +2290,7 @@ const Sa = { class: "dialog-content" }, Ua = { class: "dialog-body" }, za = {
|
|
|
2290
2290
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2291
2291
|
}, [...u[18] || (u[18] = [
|
|
2292
2292
|
z('<g clip-path="url(#clip0_116_153)"><path d="M100 0C103.395 53.7596 146.24 96.6052 200 100C146.24 103.395 103.395 146.24 100 200C96.6052 146.24 53.7596 103.395 0 100C53.7596 96.6052 96.6052 53.7596 100 0Z" fill="url(#paint0_linear_116_153)"></path></g> <defs><linearGradient id="paint0_linear_116_153" x1="100" y1="0" x2="100" y2="200" gradientUnits="userSpaceOnUse"><stop stop-color="#DF99F7"></stop> <stop offset="1" stop-color="#FFDBB0"></stop></linearGradient> <clipPath id="clip0_116_153"><rect width="200" height="200" fill="white"></rect></clipPath></defs>', 3)
|
|
2293
|
-
])], 8,
|
|
2293
|
+
])], 8, Cl)) : e.shape === "star-4" ? (o(), n("svg", {
|
|
2294
2294
|
key: 19,
|
|
2295
2295
|
width: l.value,
|
|
2296
2296
|
height: l.value,
|
|
@@ -2449,8 +2449,8 @@ const Sa = { class: "dialog-content" }, Ua = { class: "dialog-body" }, za = {
|
|
|
2449
2449
|
viewBox: s.value.viewBox,
|
|
2450
2450
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2451
2451
|
}, [
|
|
2452
|
-
(o(!0), n(O, null, E(s.value.paths, (v,
|
|
2453
|
-
key: `tool-path-${
|
|
2452
|
+
(o(!0), n(O, null, E(s.value.paths, (v, C) => (o(), n("path", {
|
|
2453
|
+
key: `tool-path-${C}`,
|
|
2454
2454
|
d: v.d
|
|
2455
2455
|
}, null, 8, Bl))), 128))
|
|
2456
2456
|
], 12, Ll)) : t.tool === "Firebase Console" ? (o(), n("svg", {
|
|
@@ -2739,10 +2739,10 @@ const Sa = { class: "dialog-content" }, Ua = { class: "dialog-body" }, za = {
|
|
|
2739
2739
|
return a.customClass && v.push(a.customClass), v;
|
|
2740
2740
|
});
|
|
2741
2741
|
function p(v) {
|
|
2742
|
-
const
|
|
2743
|
-
i.value =
|
|
2742
|
+
const b = v.target.files?.[0] ?? null;
|
|
2743
|
+
i.value = b, l("onUpdate", b);
|
|
2744
2744
|
}
|
|
2745
|
-
return (v,
|
|
2745
|
+
return (v, C) => (o(), n("div", null, [
|
|
2746
2746
|
c("div", Rl, [
|
|
2747
2747
|
c("label", {
|
|
2748
2748
|
for: u.value,
|
|
@@ -2814,17 +2814,17 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
2814
2814
|
setup(e, { emit: t }) {
|
|
2815
2815
|
const a = e, l = t, i = R(e, "modelValue"), { formatPhoneNumber: s } = Xl(), r = f(() => a.errorMessages?.length > 0), d = f(() => a.id ?? void 0), u = f(() => d.value ? `${d.value}-input-text` : void 0), h = f(() => r.value && d.value ? `${d.value}-error-0` : void 0), p = f({
|
|
2816
2816
|
get: () => {
|
|
2817
|
-
const
|
|
2818
|
-
return
|
|
2817
|
+
const b = i.value ?? "";
|
|
2818
|
+
return b.trim() ? s(b) : "";
|
|
2819
2819
|
},
|
|
2820
|
-
set: (
|
|
2821
|
-
i.value =
|
|
2820
|
+
set: (b) => {
|
|
2821
|
+
i.value = b ?? "", l("onUpdate", i.value);
|
|
2822
2822
|
}
|
|
2823
|
-
}), v = f(() => a.placeholder ?? void 0),
|
|
2824
|
-
const
|
|
2825
|
-
return a.variant &&
|
|
2823
|
+
}), v = f(() => a.placeholder ?? void 0), C = f(() => {
|
|
2824
|
+
const b = ["form-control"];
|
|
2825
|
+
return a.variant && b.push(`form-${a.variant}`), a.rounded && b.push("form-rounded"), a.customClass && b.push(a.customClass), b;
|
|
2826
2826
|
});
|
|
2827
|
-
return (
|
|
2827
|
+
return (b, L) => (o(), n("div", {
|
|
2828
2828
|
class: m(["form-group", r.value ? "form-invalid" : ""])
|
|
2829
2829
|
}, [
|
|
2830
2830
|
c("label", {
|
|
@@ -2835,7 +2835,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
2835
2835
|
I(c("input", {
|
|
2836
2836
|
id: u.value,
|
|
2837
2837
|
"onUpdate:modelValue": L[0] || (L[0] = (F) => p.value = F),
|
|
2838
|
-
class: m(
|
|
2838
|
+
class: m(C.value),
|
|
2839
2839
|
maxlength: e.maxlength,
|
|
2840
2840
|
placeholder: v.value,
|
|
2841
2841
|
disabled: e.disabled,
|
|
@@ -2878,7 +2878,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
2878
2878
|
c("div", os, [
|
|
2879
2879
|
I(c("input", {
|
|
2880
2880
|
id: r.value,
|
|
2881
|
-
"onUpdate:modelValue": v[0] || (v[0] = (
|
|
2881
|
+
"onUpdate:modelValue": v[0] || (v[0] = (C) => i.value = C),
|
|
2882
2882
|
class: m(h.value),
|
|
2883
2883
|
name: u.value,
|
|
2884
2884
|
value: 6.5,
|
|
@@ -2895,7 +2895,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
2895
2895
|
c("div", us, [
|
|
2896
2896
|
I(c("input", {
|
|
2897
2897
|
id: d.value,
|
|
2898
|
-
"onUpdate:modelValue": v[1] || (v[1] = (
|
|
2898
|
+
"onUpdate:modelValue": v[1] || (v[1] = (C) => i.value = C),
|
|
2899
2899
|
class: m(h.value),
|
|
2900
2900
|
name: u.value,
|
|
2901
2901
|
value: 10,
|
|
@@ -2914,7 +2914,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
2914
2914
|
}), vs = ["for", "textContent"], hs = ["id", "min", "max", "step", "aria-invalid", "aria-describedby", "disabled"], ps = ["id"], ms = {
|
|
2915
2915
|
key: 1,
|
|
2916
2916
|
class: "caption text-muted mt-1"
|
|
2917
|
-
},
|
|
2917
|
+
}, bs = /* @__PURE__ */ y({
|
|
2918
2918
|
__name: "Range",
|
|
2919
2919
|
props: /* @__PURE__ */ A({
|
|
2920
2920
|
min: { default: 0 },
|
|
@@ -2957,7 +2957,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
2957
2957
|
}, null, 8, vs),
|
|
2958
2958
|
I(c("input", {
|
|
2959
2959
|
id: r.value,
|
|
2960
|
-
"onUpdate:modelValue": v[0] || (v[0] = (
|
|
2960
|
+
"onUpdate:modelValue": v[0] || (v[0] = (C) => i.value = C),
|
|
2961
2961
|
class: m(u.value),
|
|
2962
2962
|
type: "range",
|
|
2963
2963
|
min: e.min,
|
|
@@ -2977,7 +2977,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
2977
2977
|
}, g(e.errorMessages?.[0]), 9, ps)) : e.optionalLabel ? (o(), n("p", ms, " Optional ")) : w("", !0)
|
|
2978
2978
|
], 2));
|
|
2979
2979
|
}
|
|
2980
|
-
}),
|
|
2980
|
+
}), Cs = ["for", "textContent"], gs = ["id", "placeholder", "disabled", "required", "aria-invalid", "aria-describedby"], ys = {
|
|
2981
2981
|
value: null,
|
|
2982
2982
|
disabled: ""
|
|
2983
2983
|
}, ws = ["value"], xs = ["id"], $s = {
|
|
@@ -3020,10 +3020,10 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3020
3020
|
for: r.value,
|
|
3021
3021
|
class: "mb-2",
|
|
3022
3022
|
textContent: g(e.label)
|
|
3023
|
-
}, null, 8,
|
|
3023
|
+
}, null, 8, Cs),
|
|
3024
3024
|
I(c("select", {
|
|
3025
3025
|
id: r.value,
|
|
3026
|
-
"onUpdate:modelValue": v[0] || (v[0] = (
|
|
3026
|
+
"onUpdate:modelValue": v[0] || (v[0] = (C) => i.value = C),
|
|
3027
3027
|
class: m(h.value),
|
|
3028
3028
|
placeholder: u.value,
|
|
3029
3029
|
disabled: e.disabled,
|
|
@@ -3032,10 +3032,10 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3032
3032
|
"aria-describedby": d.value
|
|
3033
3033
|
}, [
|
|
3034
3034
|
c("option", ys, g(e.placeholder), 1),
|
|
3035
|
-
(o(!0), n(O, null, E(e.options, (
|
|
3036
|
-
key: `option-${
|
|
3037
|
-
value: e.optionValue ?
|
|
3038
|
-
}, g(e.optionLabel ?
|
|
3035
|
+
(o(!0), n(O, null, E(e.options, (C, b) => (o(), n("option", {
|
|
3036
|
+
key: `option-${b}`,
|
|
3037
|
+
value: e.optionValue ? C[e.optionValue] : C
|
|
3038
|
+
}, g(e.optionLabel ? C[e.optionLabel] : C), 9, ws))), 128))
|
|
3039
3039
|
], 10, gs), [
|
|
3040
3040
|
[Re, i.value]
|
|
3041
3041
|
]),
|
|
@@ -3076,12 +3076,12 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3076
3076
|
emits: /* @__PURE__ */ A(["update:modelValue", "onUpdate"], ["update:modelValue"]),
|
|
3077
3077
|
setup(e, { emit: t }) {
|
|
3078
3078
|
const a = e, l = t, i = R(e, "modelValue"), s = f(() => a.errorMessages?.length > 0), r = f(() => a.id ? `${a.id}-input-text` : void 0), d = f(() => s.value && a.id ? `${a.id}-error-0` : void 0), u = f(() => a.placeholder ?? void 0), h = f(() => a.type === "number" ? a.min ?? void 0 : void 0), p = f(() => a.type === "number" ? a.max ?? void 0 : void 0), v = f(() => {
|
|
3079
|
-
const
|
|
3080
|
-
return a.variant &&
|
|
3079
|
+
const C = ["form-control"];
|
|
3080
|
+
return a.variant && C.push(`form-${a.variant}`), a.rounded && C.push("form-rounded"), a.customClass && C.push(a.customClass), C;
|
|
3081
3081
|
});
|
|
3082
|
-
return N(i, (
|
|
3083
|
-
l("onUpdate",
|
|
3084
|
-
}), (
|
|
3082
|
+
return N(i, (C) => {
|
|
3083
|
+
l("onUpdate", C);
|
|
3084
|
+
}), (C, b) => (o(), n("div", {
|
|
3085
3085
|
class: m(["form-group", s.value ? "form-invalid" : ""])
|
|
3086
3086
|
}, [
|
|
3087
3087
|
c("label", {
|
|
@@ -3091,7 +3091,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3091
3091
|
}, null, 8, Ls),
|
|
3092
3092
|
I(c("input", {
|
|
3093
3093
|
id: r.value,
|
|
3094
|
-
"onUpdate:modelValue":
|
|
3094
|
+
"onUpdate:modelValue": b[0] || (b[0] = (L) => i.value = L),
|
|
3095
3095
|
class: m(v.value),
|
|
3096
3096
|
type: e.type,
|
|
3097
3097
|
maxlength: e.maxlength,
|
|
@@ -3151,7 +3151,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3151
3151
|
});
|
|
3152
3152
|
return N(i, (v) => {
|
|
3153
3153
|
l("onUpdate", v);
|
|
3154
|
-
}), (v,
|
|
3154
|
+
}), (v, C) => (o(), n("div", {
|
|
3155
3155
|
class: m(["form-group", s.value ? "form-invalid" : ""])
|
|
3156
3156
|
}, [
|
|
3157
3157
|
c("label", {
|
|
@@ -3161,7 +3161,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3161
3161
|
}, null, 8, Us),
|
|
3162
3162
|
I(c("textarea", {
|
|
3163
3163
|
id: r.value,
|
|
3164
|
-
"onUpdate:modelValue":
|
|
3164
|
+
"onUpdate:modelValue": C[0] || (C[0] = (b) => i.value = b),
|
|
3165
3165
|
class: m(p.value),
|
|
3166
3166
|
maxlength: e.maxlength,
|
|
3167
3167
|
placeholder: u.value,
|
|
@@ -3662,20 +3662,20 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3662
3662
|
return typeof u == "string" && /^(?:https?:|mailto:|tel:|\/\/)/.test(u);
|
|
3663
3663
|
}
|
|
3664
3664
|
function d(u, h, p) {
|
|
3665
|
-
const v = r(u),
|
|
3665
|
+
const v = r(u), C = {
|
|
3666
3666
|
"aria-label": h,
|
|
3667
3667
|
"aria-current": p ? "page" : void 0,
|
|
3668
3668
|
class: "navigation-bar-link"
|
|
3669
3669
|
};
|
|
3670
3670
|
return t.as === "a" || v ? {
|
|
3671
|
-
...
|
|
3671
|
+
...C,
|
|
3672
3672
|
href: typeof u == "string" ? u : "",
|
|
3673
3673
|
...v && {
|
|
3674
3674
|
target: "_blank",
|
|
3675
3675
|
rel: "noopener noreferrer"
|
|
3676
3676
|
}
|
|
3677
3677
|
} : {
|
|
3678
|
-
...
|
|
3678
|
+
...C,
|
|
3679
3679
|
to: u
|
|
3680
3680
|
};
|
|
3681
3681
|
}
|
|
@@ -3704,7 +3704,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3704
3704
|
}, null, 2)
|
|
3705
3705
|
], 2));
|
|
3706
3706
|
}
|
|
3707
|
-
}), oi = { class: "popover-menu-container" }, ni = { class: "popover-menu-header" }, ri = { key: 0 }, ui = { class: "avatar-container" }, di = ["src", "alt"], ci = ["title"], fi = ["title"], vi = { key: 1 }, hi = { class: "subtitle-1 text-truncate" }, pi = { class: "subtitle-2 text-truncate" }, mi = { class: "popover-menu-body" },
|
|
3707
|
+
}), oi = { class: "popover-menu-container" }, ni = { class: "popover-menu-header" }, ri = { key: 0 }, ui = { class: "avatar-container" }, di = ["src", "alt"], ci = ["title"], fi = ["title"], vi = { key: 1 }, hi = { class: "subtitle-1 text-truncate" }, pi = { class: "subtitle-2 text-truncate" }, mi = { class: "popover-menu-body" }, bi = { class: "popover-menu-footer" }, Ci = /* @__PURE__ */ y({
|
|
3708
3708
|
__name: "PopoverMenu",
|
|
3709
3709
|
props: {
|
|
3710
3710
|
isOpened: { type: Boolean, default: !1 },
|
|
@@ -3738,13 +3738,13 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3738
3738
|
function p() {
|
|
3739
3739
|
l("hideDropdown");
|
|
3740
3740
|
}
|
|
3741
|
-
function v(
|
|
3742
|
-
l("menuItemClick",
|
|
3741
|
+
function v(b) {
|
|
3742
|
+
l("menuItemClick", b), p();
|
|
3743
3743
|
}
|
|
3744
|
-
function b
|
|
3745
|
-
return a.currentRoute ? typeof
|
|
3744
|
+
function C(b) {
|
|
3745
|
+
return a.currentRoute ? typeof b == "string" ? a.currentRoute.path === b : typeof b == "object" && "name" in b ? a.currentRoute.name === b.name : !1 : !1;
|
|
3746
3746
|
}
|
|
3747
|
-
return (
|
|
3747
|
+
return (b, L) => (o(), n("div", oi, [
|
|
3748
3748
|
c("div", {
|
|
3749
3749
|
id: "user-navigation-menu",
|
|
3750
3750
|
class: m(s.value),
|
|
@@ -3804,22 +3804,22 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3804
3804
|
key: F.id,
|
|
3805
3805
|
title: F.text,
|
|
3806
3806
|
icon: F.icon,
|
|
3807
|
-
active:
|
|
3807
|
+
active: C(F.to),
|
|
3808
3808
|
"aria-label": F.ariaLabel,
|
|
3809
3809
|
onClick: ($) => v(F.to)
|
|
3810
3810
|
}, null, 8, ["title", "icon", "active", "aria-label", "onClick"]))), 128))
|
|
3811
3811
|
]),
|
|
3812
3812
|
_: 1
|
|
3813
3813
|
}),
|
|
3814
|
-
x(
|
|
3814
|
+
x(b.$slots, "body-extra")
|
|
3815
3815
|
]),
|
|
3816
|
-
c("div",
|
|
3817
|
-
x(
|
|
3816
|
+
c("div", bi, [
|
|
3817
|
+
x(b.$slots, "footer")
|
|
3818
3818
|
])
|
|
3819
3819
|
], 2)
|
|
3820
3820
|
]));
|
|
3821
3821
|
}
|
|
3822
|
-
}), gi = { class: "tab-segmented-control-container" }, yi = ["aria-selected", "tabindex", "onClick"], wi = /* @__PURE__ */ y({
|
|
3822
|
+
}), gi = { class: "tab-segmented-control-container" }, yi = ["aria-selected", "aria-disabled", "tabindex", "disabled", "onClick"], wi = /* @__PURE__ */ y({
|
|
3823
3823
|
__name: "SegmentedControls",
|
|
3824
3824
|
props: {
|
|
3825
3825
|
tabs: {},
|
|
@@ -3832,7 +3832,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3832
3832
|
u && (s.value = u);
|
|
3833
3833
|
});
|
|
3834
3834
|
function d(u) {
|
|
3835
|
-
s.value = u, l("updateActiveTab", u);
|
|
3835
|
+
u.disabled || (s.value = u.id, l("updateActiveTab", u.id));
|
|
3836
3836
|
}
|
|
3837
3837
|
return (u, h) => (o(), n("div", gi, [
|
|
3838
3838
|
c("ul", {
|
|
@@ -3845,11 +3845,13 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3845
3845
|
class: m(["segmented-control-item", [s.value === p.id ? "active-item" : ""]])
|
|
3846
3846
|
}, [
|
|
3847
3847
|
c("button", {
|
|
3848
|
-
class: m(["segmented-control-link", [s.value === p.id ? "active" : ""]]),
|
|
3848
|
+
class: m(["segmented-control-link", [s.value === p.id ? "active" : "", p.disabled ? "disabled" : ""]]),
|
|
3849
3849
|
role: "tab",
|
|
3850
3850
|
"aria-selected": s.value === p.id,
|
|
3851
|
+
"aria-disabled": p.disabled,
|
|
3851
3852
|
tabindex: s.value === p.id ? 0 : -1,
|
|
3852
|
-
|
|
3853
|
+
disabled: p.disabled,
|
|
3854
|
+
onClick: (C) => d(p)
|
|
3853
3855
|
}, g(p.label), 11, yi)
|
|
3854
3856
|
], 2))), 128)),
|
|
3855
3857
|
c("li", {
|
|
@@ -3860,7 +3862,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3860
3862
|
], 4)
|
|
3861
3863
|
]));
|
|
3862
3864
|
}
|
|
3863
|
-
}), xi = ["aria-selected", "tabindex", "onClick"], $i = /* @__PURE__ */ y({
|
|
3865
|
+
}), xi = ["aria-selected", "aria-disabled", "tabindex", "disabled", "onClick"], $i = /* @__PURE__ */ y({
|
|
3864
3866
|
__name: "Tabs",
|
|
3865
3867
|
props: {
|
|
3866
3868
|
tabs: {},
|
|
@@ -3875,7 +3877,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3875
3877
|
d && (s.value = d);
|
|
3876
3878
|
});
|
|
3877
3879
|
function r(d) {
|
|
3878
|
-
s.value = d, l("updateActiveTab", d);
|
|
3880
|
+
d.disabled || (s.value = d.id, l("updateActiveTab", d.id));
|
|
3879
3881
|
}
|
|
3880
3882
|
return (d, u) => (o(), n("ul", {
|
|
3881
3883
|
class: m(["tabs-navigation", { "tabs-pills": e.pillTabs, "tabs-contrast": e.contrastTabs }]),
|
|
@@ -3886,11 +3888,13 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
3886
3888
|
class: "tab-item"
|
|
3887
3889
|
}, [
|
|
3888
3890
|
c("button", {
|
|
3889
|
-
class: m(["tab-link", [s.value === h.id ? "active" : ""]]),
|
|
3891
|
+
class: m(["tab-link", [s.value === h.id ? "active" : "", h.disabled ? "disabled" : ""]]),
|
|
3890
3892
|
role: "tab",
|
|
3891
3893
|
"aria-selected": s.value === h.id,
|
|
3894
|
+
"aria-disabled": h.disabled,
|
|
3892
3895
|
tabindex: s.value === h.id ? 0 : -1,
|
|
3893
|
-
|
|
3896
|
+
disabled: h.disabled,
|
|
3897
|
+
onClick: (v) => r(h)
|
|
3894
3898
|
}, g(h.label), 11, xi)
|
|
3895
3899
|
]))), 128))
|
|
3896
3900
|
], 2));
|
|
@@ -4265,9 +4269,9 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
4265
4269
|
UiAlert: Me,
|
|
4266
4270
|
UiAlertToast: Kt,
|
|
4267
4271
|
UiAvatar: Vl,
|
|
4268
|
-
UiBadge:
|
|
4272
|
+
UiBadge: Ce,
|
|
4269
4273
|
UiBadgeGroup: ea,
|
|
4270
|
-
UiBaseSkeleton:
|
|
4274
|
+
UiBaseSkeleton: be,
|
|
4271
4275
|
UiButton: K,
|
|
4272
4276
|
UiButtonFabGroup: ta,
|
|
4273
4277
|
UiButtonGroup: Se,
|
|
@@ -4293,14 +4297,14 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
4293
4297
|
UiInputFile: Yl,
|
|
4294
4298
|
UiInputPhoneNumber: ss,
|
|
4295
4299
|
UiInputRadio: fs,
|
|
4296
|
-
UiInputRange:
|
|
4300
|
+
UiInputRange: bs,
|
|
4297
4301
|
UiInputSelect: ks,
|
|
4298
4302
|
UiInputText: Ss,
|
|
4299
4303
|
UiInputTextarea: Ts,
|
|
4300
4304
|
UiLinkTooltip: As,
|
|
4301
4305
|
UiListGroup: Ve,
|
|
4302
4306
|
UiListItem: Te,
|
|
4303
|
-
UiLoading:
|
|
4307
|
+
UiLoading: Ct,
|
|
4304
4308
|
UiModal: Ea,
|
|
4305
4309
|
UiNavbar: Is,
|
|
4306
4310
|
UiNavbarAvatar: Zs,
|
|
@@ -4314,7 +4318,7 @@ const es = ["for", "textContent"], ts = ["id", "maxlength", "placeholder", "disa
|
|
|
4314
4318
|
UiNavbarToggle: li,
|
|
4315
4319
|
UiNavigationBar: ii,
|
|
4316
4320
|
UiPaneContent: st,
|
|
4317
|
-
UiPopoverMenu:
|
|
4321
|
+
UiPopoverMenu: Ci,
|
|
4318
4322
|
UiProgressBar: Bi,
|
|
4319
4323
|
UiProgressSpinner: _i,
|
|
4320
4324
|
UiSegmentedControls: wi,
|
|
@@ -4338,7 +4342,7 @@ export {
|
|
|
4338
4342
|
Yl as D,
|
|
4339
4343
|
ss as E,
|
|
4340
4344
|
fs as F,
|
|
4341
|
-
|
|
4345
|
+
bs as G,
|
|
4342
4346
|
at as H,
|
|
4343
4347
|
ks as I,
|
|
4344
4348
|
Ss as J,
|
|
@@ -4346,7 +4350,7 @@ export {
|
|
|
4346
4350
|
As as L,
|
|
4347
4351
|
Ve as M,
|
|
4348
4352
|
Te as N,
|
|
4349
|
-
|
|
4353
|
+
Ct as O,
|
|
4350
4354
|
Ea as P,
|
|
4351
4355
|
Is as Q,
|
|
4352
4356
|
Zs as R,
|
|
@@ -4361,7 +4365,7 @@ export {
|
|
|
4361
4365
|
Zt as _,
|
|
4362
4366
|
Ki as a,
|
|
4363
4367
|
st as a0,
|
|
4364
|
-
|
|
4368
|
+
Ci as a1,
|
|
4365
4369
|
Bi as a2,
|
|
4366
4370
|
_i as a3,
|
|
4367
4371
|
wi as a4,
|
|
@@ -4381,8 +4385,8 @@ export {
|
|
|
4381
4385
|
Me as c,
|
|
4382
4386
|
Kt as d,
|
|
4383
4387
|
Vl as e,
|
|
4384
|
-
|
|
4385
|
-
|
|
4388
|
+
Ce as f,
|
|
4389
|
+
be as g,
|
|
4386
4390
|
K as h,
|
|
4387
4391
|
ta as i,
|
|
4388
4392
|
Se as j,
|
|
@@ -4403,4 +4407,4 @@ export {
|
|
|
4403
4407
|
kl as y,
|
|
4404
4408
|
zl as z
|
|
4405
4409
|
};
|
|
4406
|
-
//# sourceMappingURL=components-
|
|
4410
|
+
//# sourceMappingURL=components-Broces9k.js.map
|