@stlhorizon/vue-ui 3.11.4 → 3.11.6
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/index.esm.js +275 -244
- package/dist/index.js +10 -10
- package/dist/src/components/DashboardWidget.vue.d.ts.map +1 -1
- package/dist/src/components/widgets/ChartWidget.vue.d.ts +2 -0
- package/dist/src/components/widgets/ChartWidget.vue.d.ts.map +1 -1
- package/dist/src/components/widgets/ListWidget.vue.d.ts +2 -0
- package/dist/src/components/widgets/ListWidget.vue.d.ts.map +1 -1
- package/dist/src/components/widgets/TableWidget.vue.d.ts +2 -0
- package/dist/src/components/widgets/TableWidget.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/vue-ui.css +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as xa, computed as p, watch as me, h as wn, createBlock as D, openBlock as s, unref as R, normalizeClass as b, ref as M, createElementBlock as d, toDisplayString as x, createCommentVNode as h, renderSlot as L, resolveDynamicComponent as ve, createVNode as T, mergeProps as
|
|
1
|
+
import { defineComponent as xa, computed as p, watch as me, h as wn, createBlock as D, openBlock as s, unref as R, normalizeClass as b, ref as M, createElementBlock as d, toDisplayString as x, createCommentVNode as h, renderSlot as L, resolveDynamicComponent as ve, createVNode as T, mergeProps as Oe, createElementVNode as i, useId as wa, createTextVNode as ee, withCtx as _, normalizeStyle as ce, onMounted as $e, onUnmounted as Ce, Teleport as vt, withDirectives as Ee, withKeys as ta, withModifiers as ge, vModelText as He, Fragment as Y, renderList as X, nextTick as ft, Transition as be, onBeforeUnmount as kn, reactive as Lr, resolveComponent as pe, markRaw as $n, TransitionGroup as Dr, provide as Nr, inject as Cn, vShow as Sn, getCurrentInstance as _r, normalizeProps as Rr } from "vue";
|
|
2
2
|
import { cva as U } from "class-variance-authority";
|
|
3
3
|
import { clsx as Ur } from "clsx";
|
|
4
4
|
function j(...e) {
|
|
@@ -186,9 +186,9 @@ try {
|
|
|
186
186
|
typeof window < "u" && ($a = window), typeof document < "u" && (An = document), typeof MutationObserver < "u" && (Vn = MutationObserver), typeof performance < "u" && (jn = performance);
|
|
187
187
|
} catch {
|
|
188
188
|
}
|
|
189
|
-
var es = $a.navigator || {}, Ra = es.userAgent, Ua = Ra === void 0 ? "" : Ra,
|
|
190
|
-
|
|
191
|
-
var
|
|
189
|
+
var es = $a.navigator || {}, Ra = es.userAgent, Ua = Ra === void 0 ? "" : Ra, _e = $a, fe = An, qa = Vn, Ct = jn;
|
|
190
|
+
_e.document;
|
|
191
|
+
var De = !!fe.documentElement && !!fe.head && typeof fe.addEventListener == "function" && typeof fe.createElement == "function", Tn = ~Ua.indexOf("MSIE") || ~Ua.indexOf("Trident/"), Gt, ts = /fa(k|kd|s|r|l|t|d|dr|dl|dt|b|slr|slpr|wsb|tl|ns|nds|es|jr|jfr|jdr|cr|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/, as = /Font ?Awesome ?([567 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit|Notdog Duo|Notdog|Chisel|Etch|Thumbprint|Jelly Fill|Jelly Duo|Jelly|Slab Press|Slab|Whiteboard)?.*/i, Pn = {
|
|
192
192
|
classic: {
|
|
193
193
|
fa: "solid",
|
|
194
194
|
fas: "solid",
|
|
@@ -775,7 +775,7 @@ var fl = {
|
|
|
775
775
|
"Font Awesome 5 Duotone": {
|
|
776
776
|
900: "fad"
|
|
777
777
|
}
|
|
778
|
-
},
|
|
778
|
+
}, Fe = "___FONT_AWESOME___", ra = 16, Kn = "fa", Jn = "svg-inline--fa", Ye = "data-fa-i2svg", sa = "data-fa-pseudo-element", xl = "data-fa-pseudo-element-pending", Ca = "data-prefix", Sa = "data-icon", Ya = "fontawesome-i2svg", wl = "async", kl = ["HTML", "HEAD", "STYLE", "SCRIPT"], Qn = ["::before", "::after", ":before", ":after"], Zn = (function() {
|
|
779
779
|
try {
|
|
780
780
|
return process.env.NODE_ENV === "production";
|
|
781
781
|
} catch {
|
|
@@ -804,7 +804,7 @@ ia[xe] = q(q({}, ia[xe]), Vs.kit);
|
|
|
804
804
|
ht(ia);
|
|
805
805
|
var Cl = ts, tr = "fa-layers-text", Sl = as, zl = q({}, ys);
|
|
806
806
|
ht(zl);
|
|
807
|
-
var Al = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Kt = ns, Vl = [].concat(Te($s), Te(pl)),
|
|
807
|
+
var Al = ["class", "data-prefix", "data-icon", "data-fa-transform", "data-fa-mask"], Kt = ns, Vl = [].concat(Te($s), Te(pl)), it = _e.FontAwesomeConfig || {};
|
|
808
808
|
function jl(e) {
|
|
809
809
|
var a = fe.querySelector("script[" + e + "]");
|
|
810
810
|
if (a)
|
|
@@ -817,7 +817,7 @@ if (fe && typeof fe.querySelector == "function") {
|
|
|
817
817
|
var Pl = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-search-pseudo-elements-warnings", "searchPseudoElementsWarnings"], ["data-search-pseudo-elements-full-scan", "searchPseudoElementsFullScan"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
|
|
818
818
|
Pl.forEach(function(e) {
|
|
819
819
|
var a = Et(e, 2), t = a[0], n = a[1], r = Tl(jl(t));
|
|
820
|
-
r != null && (
|
|
820
|
+
r != null && (it[n] = r);
|
|
821
821
|
});
|
|
822
822
|
}
|
|
823
823
|
var ar = {
|
|
@@ -836,42 +836,42 @@ var ar = {
|
|
|
836
836
|
measurePerformance: !1,
|
|
837
837
|
showMissingIcons: !0
|
|
838
838
|
};
|
|
839
|
-
|
|
840
|
-
var
|
|
841
|
-
|
|
839
|
+
it.familyPrefix && (it.cssPrefix = it.familyPrefix);
|
|
840
|
+
var at = q(q({}, ar), it);
|
|
841
|
+
at.autoReplaceSvg || (at.observeMutations = !1);
|
|
842
842
|
var re = {};
|
|
843
843
|
Object.keys(ar).forEach(function(e) {
|
|
844
844
|
Object.defineProperty(re, e, {
|
|
845
845
|
enumerable: !0,
|
|
846
846
|
set: function(t) {
|
|
847
|
-
|
|
847
|
+
at[e] = t, ut.forEach(function(n) {
|
|
848
848
|
return n(re);
|
|
849
849
|
});
|
|
850
850
|
},
|
|
851
851
|
get: function() {
|
|
852
|
-
return
|
|
852
|
+
return at[e];
|
|
853
853
|
}
|
|
854
854
|
});
|
|
855
855
|
});
|
|
856
856
|
Object.defineProperty(re, "familyPrefix", {
|
|
857
857
|
enumerable: !0,
|
|
858
858
|
set: function(a) {
|
|
859
|
-
|
|
859
|
+
at.cssPrefix = a, ut.forEach(function(t) {
|
|
860
860
|
return t(re);
|
|
861
861
|
});
|
|
862
862
|
},
|
|
863
863
|
get: function() {
|
|
864
|
-
return
|
|
864
|
+
return at.cssPrefix;
|
|
865
865
|
}
|
|
866
866
|
});
|
|
867
|
-
|
|
868
|
-
var
|
|
867
|
+
_e.FontAwesomeConfig = re;
|
|
868
|
+
var ut = [];
|
|
869
869
|
function Ol(e) {
|
|
870
|
-
return
|
|
871
|
-
|
|
870
|
+
return ut.push(e), function() {
|
|
871
|
+
ut.splice(ut.indexOf(e), 1);
|
|
872
872
|
};
|
|
873
873
|
}
|
|
874
|
-
var
|
|
874
|
+
var Ze = ra, Be = {
|
|
875
875
|
size: 16,
|
|
876
876
|
x: 0,
|
|
877
877
|
y: 0,
|
|
@@ -880,7 +880,7 @@ var Qe = ra, Oe = {
|
|
|
880
880
|
flipY: !1
|
|
881
881
|
};
|
|
882
882
|
function Bl(e) {
|
|
883
|
-
if (!(!e || !
|
|
883
|
+
if (!(!e || !De)) {
|
|
884
884
|
var a = fe.createElement("style");
|
|
885
885
|
a.setAttribute("type", "text/css"), a.innerHTML = e;
|
|
886
886
|
for (var t = fe.head.childNodes, n = null, r = t.length - 1; r > -1; r--) {
|
|
@@ -896,13 +896,13 @@ function Xa() {
|
|
|
896
896
|
a += Ml[Math.random() * 62 | 0];
|
|
897
897
|
return a;
|
|
898
898
|
}
|
|
899
|
-
function
|
|
899
|
+
function nt(e) {
|
|
900
900
|
for (var a = [], t = (e || []).length >>> 0; t--; )
|
|
901
901
|
a[t] = e[t];
|
|
902
902
|
return a;
|
|
903
903
|
}
|
|
904
904
|
function Aa(e) {
|
|
905
|
-
return e.classList ?
|
|
905
|
+
return e.classList ? nt(e.classList) : (e.getAttribute("class") || "").split(" ").filter(function(a) {
|
|
906
906
|
return a;
|
|
907
907
|
});
|
|
908
908
|
}
|
|
@@ -920,7 +920,7 @@ function Ft(e) {
|
|
|
920
920
|
}, "");
|
|
921
921
|
}
|
|
922
922
|
function Va(e) {
|
|
923
|
-
return e.size !==
|
|
923
|
+
return e.size !== Be.size || e.x !== Be.x || e.y !== Be.y || e.rotate !== Be.rotate || e.flipX || e.flipY;
|
|
924
924
|
}
|
|
925
925
|
function El(e) {
|
|
926
926
|
var a = e.transform, t = e.containerWidth, n = e.iconWidth, r = {
|
|
@@ -938,7 +938,7 @@ function El(e) {
|
|
|
938
938
|
}
|
|
939
939
|
function Fl(e) {
|
|
940
940
|
var a = e.transform, t = e.width, n = t === void 0 ? ra : t, r = e.height, l = r === void 0 ? ra : r, u = "";
|
|
941
|
-
return Tn ? u += "translate(".concat(a.x /
|
|
941
|
+
return Tn ? u += "translate(".concat(a.x / Ze - n / 2, "em, ").concat(a.y / Ze - l / 2, "em) ") : u += "translate(calc(-50% + ".concat(a.x / Ze, "em), calc(-50% + ").concat(a.y / Ze, "em)) "), u += "scale(".concat(a.size / Ze * (a.flipX ? -1 : 1), ", ").concat(a.size / Ze * (a.flipY ? -1 : 1), ") "), u += "rotate(".concat(a.rotate, "deg) "), u;
|
|
942
942
|
}
|
|
943
943
|
var Ll = `:root, :host {
|
|
944
944
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 7 Free";
|
|
@@ -1519,19 +1519,19 @@ var Dl = {
|
|
|
1519
1519
|
}
|
|
1520
1520
|
};
|
|
1521
1521
|
}
|
|
1522
|
-
},
|
|
1523
|
-
Fe
|
|
1524
|
-
Fe
|
|
1525
|
-
Fe
|
|
1526
|
-
Fe
|
|
1527
|
-
var je = Fe
|
|
1522
|
+
}, Le = _e || {};
|
|
1523
|
+
Le[Fe] || (Le[Fe] = {});
|
|
1524
|
+
Le[Fe].styles || (Le[Fe].styles = {});
|
|
1525
|
+
Le[Fe].hooks || (Le[Fe].hooks = {});
|
|
1526
|
+
Le[Fe].shims || (Le[Fe].shims = []);
|
|
1527
|
+
var je = Le[Fe], sr = [], lr = function() {
|
|
1528
1528
|
fe.removeEventListener("DOMContentLoaded", lr), Pt = 1, sr.map(function(a) {
|
|
1529
1529
|
return a();
|
|
1530
1530
|
});
|
|
1531
1531
|
}, Pt = !1;
|
|
1532
|
-
|
|
1532
|
+
De && (Pt = (fe.documentElement.doScroll ? /^loaded|^c/ : /^loaded|^i|^c/).test(fe.readyState), Pt || fe.addEventListener("DOMContentLoaded", lr));
|
|
1533
1533
|
function Nl(e) {
|
|
1534
|
-
|
|
1534
|
+
De && (Pt ? setTimeout(e, 0) : sr.push(e));
|
|
1535
1535
|
}
|
|
1536
1536
|
function pt(e) {
|
|
1537
1537
|
var a = e.tag, t = e.attributes, n = t === void 0 ? {} : t, r = e.children, l = r === void 0 ? [] : r;
|
|
@@ -1564,7 +1564,7 @@ function ua(e, a) {
|
|
|
1564
1564
|
var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = t.skipHooks, r = n === void 0 ? !1 : n, l = Qa(a);
|
|
1565
1565
|
typeof je.hooks.addPack == "function" && !r ? je.hooks.addPack(e, Qa(a)) : je.styles[e] = q(q({}, je.styles[e] || {}), l), e === "fas" && ua("fa", a);
|
|
1566
1566
|
}
|
|
1567
|
-
var
|
|
1567
|
+
var mt = je.styles, _l = je.shims, ir = Object.keys(za), Rl = ir.reduce(function(e, a) {
|
|
1568
1568
|
return e[a] = Object.keys(za[a]), e;
|
|
1569
1569
|
}, {}), ja = null, ur = {}, dr = {}, cr = {}, fr = {}, mr = {};
|
|
1570
1570
|
function Ul(e) {
|
|
@@ -1576,7 +1576,7 @@ function ql(e, a) {
|
|
|
1576
1576
|
}
|
|
1577
1577
|
var gr = function() {
|
|
1578
1578
|
var a = function(l) {
|
|
1579
|
-
return Qt(
|
|
1579
|
+
return Qt(mt, function(u, m, g) {
|
|
1580
1580
|
return u[g] = Qt(m, l, {}), u;
|
|
1581
1581
|
}, {});
|
|
1582
1582
|
};
|
|
@@ -1606,7 +1606,7 @@ var gr = function() {
|
|
|
1606
1606
|
r[g] = u;
|
|
1607
1607
|
}), r;
|
|
1608
1608
|
});
|
|
1609
|
-
var t = "far" in
|
|
1609
|
+
var t = "far" in mt || re.autoFetchSvg, n = Qt(_l, function(r, l) {
|
|
1610
1610
|
var u = l[0], m = l[1], g = l[2];
|
|
1611
1611
|
return m === "far" && !t && (m = "fas"), typeof u == "string" && (r.names[u] = {
|
|
1612
1612
|
prefix: m,
|
|
@@ -1635,7 +1635,7 @@ function Ta(e, a) {
|
|
|
1635
1635
|
function Wl(e, a) {
|
|
1636
1636
|
return (dr[e] || {})[a];
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1638
|
+
function We(e, a) {
|
|
1639
1639
|
return (mr[e] || {})[a];
|
|
1640
1640
|
}
|
|
1641
1641
|
function vr(e) {
|
|
@@ -1654,7 +1654,7 @@ function Hl(e) {
|
|
|
1654
1654
|
iconName: null
|
|
1655
1655
|
};
|
|
1656
1656
|
}
|
|
1657
|
-
function
|
|
1657
|
+
function Re() {
|
|
1658
1658
|
return ja;
|
|
1659
1659
|
}
|
|
1660
1660
|
var br = function() {
|
|
@@ -1712,7 +1712,7 @@ function Dt(e) {
|
|
|
1712
1712
|
return q(q(q({}, z), Ql({
|
|
1713
1713
|
values: e,
|
|
1714
1714
|
family: $,
|
|
1715
|
-
styles:
|
|
1715
|
+
styles: mt,
|
|
1716
1716
|
config: re,
|
|
1717
1717
|
canonical: z,
|
|
1718
1718
|
givenPrefix: r
|
|
@@ -1725,8 +1725,8 @@ function Xl(e, a, t) {
|
|
|
1725
1725
|
prefix: n,
|
|
1726
1726
|
iconName: r
|
|
1727
1727
|
};
|
|
1728
|
-
var l = a === "fa" ? vr(r) : {}, u =
|
|
1729
|
-
return r = l.iconName || u || r, n = l.prefix || n, n === "far" && !
|
|
1728
|
+
var l = a === "fa" ? vr(r) : {}, u = We(n, r);
|
|
1729
|
+
return r = l.iconName || u || r, n = l.prefix || n, n === "far" && !mt.far && mt.fas && !re.autoFetchSvg && (n = "fas"), {
|
|
1730
1730
|
prefix: n,
|
|
1731
1731
|
iconName: r
|
|
1732
1732
|
};
|
|
@@ -1746,10 +1746,10 @@ function Ql(e) {
|
|
|
1746
1746
|
});
|
|
1747
1747
|
if (C || y.autoFetchSvg) {
|
|
1748
1748
|
var v = ws.get(t).defaultShortPrefixId;
|
|
1749
|
-
n.prefix = v, n.iconName =
|
|
1749
|
+
n.prefix = v, n.iconName = We(n.prefix, n.iconName) || n.iconName;
|
|
1750
1750
|
}
|
|
1751
1751
|
}
|
|
1752
|
-
return (n.prefix === "fa" || l === "fa") && (n.prefix =
|
|
1752
|
+
return (n.prefix === "fa" || l === "fa") && (n.prefix = Re() || "fas"), n;
|
|
1753
1753
|
}
|
|
1754
1754
|
var Zl = /* @__PURE__ */ (function() {
|
|
1755
1755
|
function e() {
|
|
@@ -1786,11 +1786,11 @@ var Zl = /* @__PURE__ */ (function() {
|
|
|
1786
1786
|
}), t;
|
|
1787
1787
|
}
|
|
1788
1788
|
}]);
|
|
1789
|
-
})(), tn = [],
|
|
1789
|
+
})(), tn = [], et = {}, tt = {}, eo = Object.keys(tt);
|
|
1790
1790
|
function to(e, a) {
|
|
1791
1791
|
var t = a.mixoutsTo;
|
|
1792
|
-
return tn = e,
|
|
1793
|
-
eo.indexOf(n) === -1 && delete
|
|
1792
|
+
return tn = e, et = {}, Object.keys(tt).forEach(function(n) {
|
|
1793
|
+
eo.indexOf(n) === -1 && delete tt[n];
|
|
1794
1794
|
}), tn.forEach(function(n) {
|
|
1795
1795
|
var r = n.mixout ? n.mixout() : {};
|
|
1796
1796
|
if (Object.keys(r).forEach(function(u) {
|
|
@@ -1800,51 +1800,51 @@ function to(e, a) {
|
|
|
1800
1800
|
}), n.hooks) {
|
|
1801
1801
|
var l = n.hooks();
|
|
1802
1802
|
Object.keys(l).forEach(function(u) {
|
|
1803
|
-
|
|
1803
|
+
et[u] || (et[u] = []), et[u].push(l[u]);
|
|
1804
1804
|
});
|
|
1805
1805
|
}
|
|
1806
|
-
n.provides && n.provides(
|
|
1806
|
+
n.provides && n.provides(tt);
|
|
1807
1807
|
}), t;
|
|
1808
1808
|
}
|
|
1809
1809
|
function da(e, a) {
|
|
1810
1810
|
for (var t = arguments.length, n = new Array(t > 2 ? t - 2 : 0), r = 2; r < t; r++)
|
|
1811
1811
|
n[r - 2] = arguments[r];
|
|
1812
|
-
var l =
|
|
1812
|
+
var l = et[e] || [];
|
|
1813
1813
|
return l.forEach(function(u) {
|
|
1814
1814
|
a = u.apply(null, [a].concat(n));
|
|
1815
1815
|
}), a;
|
|
1816
1816
|
}
|
|
1817
|
-
function
|
|
1817
|
+
function Ge(e) {
|
|
1818
1818
|
for (var a = arguments.length, t = new Array(a > 1 ? a - 1 : 0), n = 1; n < a; n++)
|
|
1819
1819
|
t[n - 1] = arguments[n];
|
|
1820
|
-
var r =
|
|
1820
|
+
var r = et[e] || [];
|
|
1821
1821
|
r.forEach(function(l) {
|
|
1822
1822
|
l.apply(null, t);
|
|
1823
1823
|
});
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1825
|
+
function Ue() {
|
|
1826
1826
|
var e = arguments[0], a = Array.prototype.slice.call(arguments, 1);
|
|
1827
|
-
return
|
|
1827
|
+
return tt[e] ? tt[e].apply(null, a) : void 0;
|
|
1828
1828
|
}
|
|
1829
1829
|
function ca(e) {
|
|
1830
1830
|
e.prefix === "fa" && (e.prefix = "fas");
|
|
1831
|
-
var a = e.iconName, t = e.prefix ||
|
|
1831
|
+
var a = e.iconName, t = e.prefix || Re();
|
|
1832
1832
|
if (a)
|
|
1833
|
-
return a =
|
|
1833
|
+
return a = We(t, a) || a, Ja(hr.definitions, t, a) || Ja(je.styles, t, a);
|
|
1834
1834
|
}
|
|
1835
1835
|
var hr = new Zl(), ao = function() {
|
|
1836
|
-
re.autoReplaceSvg = !1, re.observeMutations = !1,
|
|
1836
|
+
re.autoReplaceSvg = !1, re.observeMutations = !1, Ge("noAuto");
|
|
1837
1837
|
}, no = {
|
|
1838
1838
|
i2svg: function() {
|
|
1839
1839
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1840
|
-
return
|
|
1840
|
+
return De ? (Ge("beforeI2svg", a), Ue("pseudoElements2svg", a), Ue("i2svg", a)) : Promise.reject(new Error("Operation requires a DOM of some kind."));
|
|
1841
1841
|
},
|
|
1842
1842
|
watch: function() {
|
|
1843
1843
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = a.autoReplaceSvgRoot;
|
|
1844
1844
|
re.autoReplaceSvg === !1 && (re.autoReplaceSvg = !0), re.observeMutations = !0, Nl(function() {
|
|
1845
1845
|
so({
|
|
1846
1846
|
autoReplaceSvgRoot: t
|
|
1847
|
-
}),
|
|
1847
|
+
}), Ge("watch", a);
|
|
1848
1848
|
});
|
|
1849
1849
|
}
|
|
1850
1850
|
}, ro = {
|
|
@@ -1854,13 +1854,13 @@ var hr = new Zl(), ao = function() {
|
|
|
1854
1854
|
if (Tt(a) === "object" && a.prefix && a.iconName)
|
|
1855
1855
|
return {
|
|
1856
1856
|
prefix: a.prefix,
|
|
1857
|
-
iconName:
|
|
1857
|
+
iconName: We(a.prefix, a.iconName) || a.iconName
|
|
1858
1858
|
};
|
|
1859
1859
|
if (Array.isArray(a) && a.length === 2) {
|
|
1860
1860
|
var t = a[1].indexOf("fa-") === 0 ? a[1].slice(3) : a[1], n = Lt(a[0]);
|
|
1861
1861
|
return {
|
|
1862
1862
|
prefix: n,
|
|
1863
|
-
iconName:
|
|
1863
|
+
iconName: We(n, t) || t
|
|
1864
1864
|
};
|
|
1865
1865
|
}
|
|
1866
1866
|
if (typeof a == "string" && (a.indexOf("".concat(re.cssPrefix, "-")) > -1 || a.match(Cl))) {
|
|
@@ -1868,15 +1868,15 @@ var hr = new Zl(), ao = function() {
|
|
|
1868
1868
|
skipLookups: !0
|
|
1869
1869
|
});
|
|
1870
1870
|
return {
|
|
1871
|
-
prefix: r.prefix ||
|
|
1872
|
-
iconName:
|
|
1871
|
+
prefix: r.prefix || Re(),
|
|
1872
|
+
iconName: We(r.prefix, r.iconName) || r.iconName
|
|
1873
1873
|
};
|
|
1874
1874
|
}
|
|
1875
1875
|
if (typeof a == "string") {
|
|
1876
|
-
var l =
|
|
1876
|
+
var l = Re();
|
|
1877
1877
|
return {
|
|
1878
1878
|
prefix: l,
|
|
1879
|
-
iconName:
|
|
1879
|
+
iconName: We(l, a) || a
|
|
1880
1880
|
};
|
|
1881
1881
|
}
|
|
1882
1882
|
}
|
|
@@ -1890,7 +1890,7 @@ var hr = new Zl(), ao = function() {
|
|
|
1890
1890
|
toHtml: pt
|
|
1891
1891
|
}, so = function() {
|
|
1892
1892
|
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = a.autoReplaceSvgRoot, n = t === void 0 ? fe : t;
|
|
1893
|
-
(Object.keys(je.styles).length > 0 || re.autoFetchSvg) &&
|
|
1893
|
+
(Object.keys(je.styles).length > 0 || re.autoFetchSvg) && De && re.autoReplaceSvg && Se.dom.i2svg({
|
|
1894
1894
|
node: n
|
|
1895
1895
|
});
|
|
1896
1896
|
};
|
|
@@ -1905,7 +1905,7 @@ function Nt(e, a) {
|
|
|
1905
1905
|
}
|
|
1906
1906
|
}), Object.defineProperty(e, "node", {
|
|
1907
1907
|
get: function() {
|
|
1908
|
-
if (
|
|
1908
|
+
if (De) {
|
|
1909
1909
|
var n = fe.createElement("div");
|
|
1910
1910
|
return n.innerHTML = e.html, n.children;
|
|
1911
1911
|
}
|
|
@@ -1966,7 +1966,7 @@ function Pa(e) {
|
|
|
1966
1966
|
viewBox: "0 0 ".concat(k, " ").concat(C)
|
|
1967
1967
|
})
|
|
1968
1968
|
};
|
|
1969
|
-
!io(y.attributes) && !y.attributes["aria-hidden"] && (f.attributes["aria-hidden"] = "true"), $ && (f.attributes[
|
|
1969
|
+
!io(y.attributes) && !y.attributes["aria-hidden"] && (f.attributes["aria-hidden"] = "true"), $ && (f.attributes[Ye] = "");
|
|
1970
1970
|
var o = q(q({}, f), {}, {
|
|
1971
1971
|
prefix: r,
|
|
1972
1972
|
iconName: l,
|
|
@@ -1976,10 +1976,10 @@ function Pa(e) {
|
|
|
1976
1976
|
transform: u,
|
|
1977
1977
|
symbol: m,
|
|
1978
1978
|
styles: q({}, y.styles)
|
|
1979
|
-
}), c = n.found && t.found ?
|
|
1979
|
+
}), c = n.found && t.found ? Ue("generateAbstractMask", o) || {
|
|
1980
1980
|
children: [],
|
|
1981
1981
|
attributes: {}
|
|
1982
|
-
} :
|
|
1982
|
+
} : Ue("generateAbstractIcon", o) || {
|
|
1983
1983
|
children: [],
|
|
1984
1984
|
attributes: {}
|
|
1985
1985
|
}, w = c.children, O = c.attributes;
|
|
@@ -1989,7 +1989,7 @@ function an(e) {
|
|
|
1989
1989
|
var a = e.content, t = e.width, n = e.height, r = e.transform, l = e.extra, u = e.watchable, m = u === void 0 ? !1 : u, g = q(q({}, l.attributes), {}, {
|
|
1990
1990
|
class: l.classes.join(" ")
|
|
1991
1991
|
});
|
|
1992
|
-
m && (g[
|
|
1992
|
+
m && (g[Ye] = "");
|
|
1993
1993
|
var y = q({}, l.styles);
|
|
1994
1994
|
Va(r) && (y.transform = Fl({
|
|
1995
1995
|
transform: r,
|
|
@@ -2063,7 +2063,7 @@ function fo(e, a) {
|
|
|
2063
2063
|
}
|
|
2064
2064
|
function ma(e, a) {
|
|
2065
2065
|
var t = a;
|
|
2066
|
-
return a === "fa" && re.styleDefault !== null && (a =
|
|
2066
|
+
return a === "fa" && re.styleDefault !== null && (a = Re()), new Promise(function(n, r) {
|
|
2067
2067
|
if (t === "fa") {
|
|
2068
2068
|
var l = vr(e) || {};
|
|
2069
2069
|
e = l.iconName || e, a = l.prefix || a;
|
|
@@ -2073,7 +2073,7 @@ function ma(e, a) {
|
|
|
2073
2073
|
return n(fa(u));
|
|
2074
2074
|
}
|
|
2075
2075
|
fo(e, a), n(q(q({}, co), {}, {
|
|
2076
|
-
icon: re.showMissingIcons && e ?
|
|
2076
|
+
icon: re.showMissingIcons && e ? Ue("missingIconAbstract") || {} : {}
|
|
2077
2077
|
}));
|
|
2078
2078
|
});
|
|
2079
2079
|
}
|
|
@@ -2081,19 +2081,19 @@ var nn = function() {
|
|
|
2081
2081
|
}, ga = re.measurePerformance && Ct && Ct.mark && Ct.measure ? Ct : {
|
|
2082
2082
|
mark: nn,
|
|
2083
2083
|
measure: nn
|
|
2084
|
-
},
|
|
2085
|
-
return ga.mark("".concat(
|
|
2084
|
+
}, ot = 'FA "7.0.1"', mo = function(a) {
|
|
2085
|
+
return ga.mark("".concat(ot, " ").concat(a, " begins")), function() {
|
|
2086
2086
|
return pr(a);
|
|
2087
2087
|
};
|
|
2088
2088
|
}, pr = function(a) {
|
|
2089
|
-
ga.mark("".concat(
|
|
2089
|
+
ga.mark("".concat(ot, " ").concat(a, " ends")), ga.measure("".concat(ot, " ").concat(a), "".concat(ot, " ").concat(a, " begins"), "".concat(ot, " ").concat(a, " ends"));
|
|
2090
2090
|
}, Oa = {
|
|
2091
2091
|
begin: mo,
|
|
2092
2092
|
end: pr
|
|
2093
2093
|
}, At = function() {
|
|
2094
2094
|
};
|
|
2095
2095
|
function rn(e) {
|
|
2096
|
-
var a = e.getAttribute ? e.getAttribute(
|
|
2096
|
+
var a = e.getAttribute ? e.getAttribute(Ye) : null;
|
|
2097
2097
|
return typeof a == "string";
|
|
2098
2098
|
}
|
|
2099
2099
|
function go(e) {
|
|
@@ -2140,7 +2140,7 @@ var Vt = {
|
|
|
2140
2140
|
if (t.parentNode)
|
|
2141
2141
|
if (a[1].forEach(function(r) {
|
|
2142
2142
|
t.parentNode.insertBefore(yr(r), t);
|
|
2143
|
-
}), t.getAttribute(
|
|
2143
|
+
}), t.getAttribute(Ye) === null && re.keepOriginalSource) {
|
|
2144
2144
|
var n = fe.createComment(yo(t));
|
|
2145
2145
|
t.parentNode.replaceChild(n, t);
|
|
2146
2146
|
} else
|
|
@@ -2164,7 +2164,7 @@ var Vt = {
|
|
|
2164
2164
|
return pt(m);
|
|
2165
2165
|
}).join(`
|
|
2166
2166
|
`);
|
|
2167
|
-
t.setAttribute(
|
|
2167
|
+
t.setAttribute(Ye, ""), t.innerHTML = u;
|
|
2168
2168
|
}
|
|
2169
2169
|
};
|
|
2170
2170
|
function sn(e) {
|
|
@@ -2176,7 +2176,7 @@ function xr(e, a) {
|
|
|
2176
2176
|
t();
|
|
2177
2177
|
else {
|
|
2178
2178
|
var n = sn;
|
|
2179
|
-
re.mutateApproach === wl && (n =
|
|
2179
|
+
re.mutateApproach === wl && (n = _e.requestAnimationFrame || sn), n(function() {
|
|
2180
2180
|
var r = bo(), l = Oa.begin("mutate");
|
|
2181
2181
|
e.map(r), l(), t();
|
|
2182
2182
|
});
|
|
@@ -2195,8 +2195,8 @@ function ln(e) {
|
|
|
2195
2195
|
var a = e.treeCallback, t = a === void 0 ? At : a, n = e.nodeCallback, r = n === void 0 ? At : n, l = e.pseudoElementsCallback, u = l === void 0 ? At : l, m = e.observeMutationsRoot, g = m === void 0 ? fe : m;
|
|
2196
2196
|
Ot = new qa(function(y) {
|
|
2197
2197
|
if (!Ba) {
|
|
2198
|
-
var S =
|
|
2199
|
-
|
|
2198
|
+
var S = Re();
|
|
2199
|
+
nt(y).forEach(function($) {
|
|
2200
2200
|
if ($.type === "childList" && $.addedNodes.length > 0 && !rn($.addedNodes[0]) && (re.searchPseudoElements && u($.target), t($.target)), $.type === "attributes" && $.target.parentNode && re.searchPseudoElements && u([$.target], !0), $.type === "attributes" && rn($.target) && ~Al.indexOf($.attributeName))
|
|
2201
2201
|
if ($.attributeName === "class" && go($.target)) {
|
|
2202
2202
|
var z = Dt(Aa($.target)), k = z.prefix, C = z.iconName;
|
|
@@ -2204,7 +2204,7 @@ function ln(e) {
|
|
|
2204
2204
|
} else vo($.target) && r($.target);
|
|
2205
2205
|
});
|
|
2206
2206
|
}
|
|
2207
|
-
}),
|
|
2207
|
+
}), De && Ot.observe(g, {
|
|
2208
2208
|
childList: !0,
|
|
2209
2209
|
attributes: !0,
|
|
2210
2210
|
characterData: !0,
|
|
@@ -2224,10 +2224,10 @@ function wo(e) {
|
|
|
2224
2224
|
}
|
|
2225
2225
|
function ko(e) {
|
|
2226
2226
|
var a = e.getAttribute("data-prefix"), t = e.getAttribute("data-icon"), n = e.innerText !== void 0 ? e.innerText.trim() : "", r = Dt(Aa(e));
|
|
2227
|
-
return r.prefix || (r.prefix =
|
|
2227
|
+
return r.prefix || (r.prefix = Re()), a && t && (r.prefix = a, r.iconName = t), r.iconName && r.prefix || (r.prefix && n.length > 0 && (r.iconName = Wl(r.prefix, e.innerText) || Ta(r.prefix, or(e.innerText))), !r.iconName && re.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (r.iconName = e.firstChild.data)), r;
|
|
2228
2228
|
}
|
|
2229
2229
|
function $o(e) {
|
|
2230
|
-
var a =
|
|
2230
|
+
var a = nt(e.attributes).reduce(function(t, n) {
|
|
2231
2231
|
return t.name !== "class" && t.name !== "style" && (t[n.name] = n.value), t;
|
|
2232
2232
|
}, {});
|
|
2233
2233
|
return a;
|
|
@@ -2236,7 +2236,7 @@ function Co() {
|
|
|
2236
2236
|
return {
|
|
2237
2237
|
iconName: null,
|
|
2238
2238
|
prefix: null,
|
|
2239
|
-
transform:
|
|
2239
|
+
transform: Be,
|
|
2240
2240
|
symbol: !1,
|
|
2241
2241
|
mask: {
|
|
2242
2242
|
iconName: null,
|
|
@@ -2258,7 +2258,7 @@ function on(e) {
|
|
|
2258
2258
|
return q({
|
|
2259
2259
|
iconName: n,
|
|
2260
2260
|
prefix: r,
|
|
2261
|
-
transform:
|
|
2261
|
+
transform: Be,
|
|
2262
2262
|
mask: {
|
|
2263
2263
|
iconName: null,
|
|
2264
2264
|
prefix: null,
|
|
@@ -2278,28 +2278,28 @@ function kr(e) {
|
|
|
2278
2278
|
var a = re.autoReplaceSvg === "nest" ? on(e, {
|
|
2279
2279
|
styleParser: !1
|
|
2280
2280
|
}) : on(e);
|
|
2281
|
-
return ~a.extra.classes.indexOf(tr) ?
|
|
2281
|
+
return ~a.extra.classes.indexOf(tr) ? Ue("generateLayersText", e, a) : Ue("generateSvgReplacementMutation", e, a);
|
|
2282
2282
|
}
|
|
2283
2283
|
function zo() {
|
|
2284
2284
|
return [].concat(Te(Yn), Te(Gn));
|
|
2285
2285
|
}
|
|
2286
2286
|
function un(e) {
|
|
2287
2287
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
|
|
2288
|
-
if (!
|
|
2288
|
+
if (!De) return Promise.resolve();
|
|
2289
2289
|
var t = fe.documentElement.classList, n = function($) {
|
|
2290
2290
|
return t.add("".concat(Ya, "-").concat($));
|
|
2291
2291
|
}, r = function($) {
|
|
2292
2292
|
return t.remove("".concat(Ya, "-").concat($));
|
|
2293
2293
|
}, l = re.autoFetchSvg ? zo() : On.concat(Object.keys(So));
|
|
2294
2294
|
l.includes("fa") || l.push("fa");
|
|
2295
|
-
var u = [".".concat(tr, ":not([").concat(
|
|
2296
|
-
return ".".concat(S, ":not([").concat(
|
|
2295
|
+
var u = [".".concat(tr, ":not([").concat(Ye, "])")].concat(l.map(function(S) {
|
|
2296
|
+
return ".".concat(S, ":not([").concat(Ye, "])");
|
|
2297
2297
|
})).join(", ");
|
|
2298
2298
|
if (u.length === 0)
|
|
2299
2299
|
return Promise.resolve();
|
|
2300
2300
|
var m = [];
|
|
2301
2301
|
try {
|
|
2302
|
-
m =
|
|
2302
|
+
m = nt(e.querySelectorAll(u));
|
|
2303
2303
|
} catch {
|
|
2304
2304
|
}
|
|
2305
2305
|
if (m.length > 0)
|
|
@@ -2340,13 +2340,13 @@ function Vo(e) {
|
|
|
2340
2340
|
};
|
|
2341
2341
|
}
|
|
2342
2342
|
var jo = function(a) {
|
|
2343
|
-
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.transform, r = n === void 0 ?
|
|
2343
|
+
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.transform, r = n === void 0 ? Be : n, l = t.symbol, u = l === void 0 ? !1 : l, m = t.mask, g = m === void 0 ? null : m, y = t.maskId, S = y === void 0 ? null : y, $ = t.classes, z = $ === void 0 ? [] : $, k = t.attributes, C = k === void 0 ? {} : k, v = t.styles, f = v === void 0 ? {} : v;
|
|
2344
2344
|
if (a) {
|
|
2345
2345
|
var o = a.prefix, c = a.iconName, w = a.icon;
|
|
2346
2346
|
return Nt(q({
|
|
2347
2347
|
type: "icon"
|
|
2348
2348
|
}, a), function() {
|
|
2349
|
-
return
|
|
2349
|
+
return Ge("beforeDOMElementCreation", {
|
|
2350
2350
|
iconDefinition: a,
|
|
2351
2351
|
params: t
|
|
2352
2352
|
}), Pa({
|
|
@@ -2361,7 +2361,7 @@ var jo = function(a) {
|
|
|
2361
2361
|
},
|
|
2362
2362
|
prefix: o,
|
|
2363
2363
|
iconName: c,
|
|
2364
|
-
transform: q(q({},
|
|
2364
|
+
transform: q(q({}, Be), r),
|
|
2365
2365
|
symbol: u,
|
|
2366
2366
|
maskId: S,
|
|
2367
2367
|
extra: {
|
|
@@ -2419,7 +2419,7 @@ var jo = function(a) {
|
|
|
2419
2419
|
var n = t.children, r = t.attributes, l = t.main, u = t.transform, m = t.styles, g = Ft(m);
|
|
2420
2420
|
g.length > 0 && (r.style = g);
|
|
2421
2421
|
var y;
|
|
2422
|
-
return Va(u) && (y =
|
|
2422
|
+
return Va(u) && (y = Ue("generateAbstractTransformGrouping", {
|
|
2423
2423
|
main: l,
|
|
2424
2424
|
transform: u,
|
|
2425
2425
|
containerWidth: l.width,
|
|
@@ -2438,7 +2438,7 @@ var jo = function(a) {
|
|
|
2438
2438
|
return Nt({
|
|
2439
2439
|
type: "layer"
|
|
2440
2440
|
}, function() {
|
|
2441
|
-
|
|
2441
|
+
Ge("beforeDOMElementCreation", {
|
|
2442
2442
|
assembler: t,
|
|
2443
2443
|
params: n
|
|
2444
2444
|
});
|
|
@@ -2469,7 +2469,7 @@ var jo = function(a) {
|
|
|
2469
2469
|
type: "counter",
|
|
2470
2470
|
content: t
|
|
2471
2471
|
}, function() {
|
|
2472
|
-
return
|
|
2472
|
+
return Ge("beforeDOMElementCreation", {
|
|
2473
2473
|
content: t,
|
|
2474
2474
|
params: n
|
|
2475
2475
|
}), uo({
|
|
@@ -2488,17 +2488,17 @@ var jo = function(a) {
|
|
|
2488
2488
|
mixout: function() {
|
|
2489
2489
|
return {
|
|
2490
2490
|
text: function(t) {
|
|
2491
|
-
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, l = r === void 0 ?
|
|
2491
|
+
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = n.transform, l = r === void 0 ? Be : r, u = n.classes, m = u === void 0 ? [] : u, g = n.attributes, y = g === void 0 ? {} : g, S = n.styles, $ = S === void 0 ? {} : S;
|
|
2492
2492
|
return Nt({
|
|
2493
2493
|
type: "text",
|
|
2494
2494
|
content: t
|
|
2495
2495
|
}, function() {
|
|
2496
|
-
return
|
|
2496
|
+
return Ge("beforeDOMElementCreation", {
|
|
2497
2497
|
content: t,
|
|
2498
2498
|
params: n
|
|
2499
2499
|
}), an({
|
|
2500
2500
|
content: t,
|
|
2501
|
-
transform: q(q({},
|
|
2501
|
+
transform: q(q({}, Be), l),
|
|
2502
2502
|
extra: {
|
|
2503
2503
|
attributes: y,
|
|
2504
2504
|
styles: $,
|
|
@@ -2554,9 +2554,9 @@ function fn(e, a) {
|
|
|
2554
2554
|
return new Promise(function(n, r) {
|
|
2555
2555
|
if (e.getAttribute(t) !== null)
|
|
2556
2556
|
return n();
|
|
2557
|
-
var l =
|
|
2557
|
+
var l = nt(e.children), u = l.filter(function(E) {
|
|
2558
2558
|
return E.getAttribute(sa) === a;
|
|
2559
|
-
})[0], m =
|
|
2559
|
+
})[0], m = _e.getComputedStyle(e, a), g = m.getPropertyValue("font-family"), y = g.match(Sl), S = m.getPropertyValue("font-weight"), $ = m.getPropertyValue("content");
|
|
2560
2560
|
if (u && !y)
|
|
2561
2561
|
return e.removeChild(u), n();
|
|
2562
2562
|
if (y && $ !== "none" && $ !== "") {
|
|
@@ -2630,7 +2630,7 @@ var No = function(a) {
|
|
|
2630
2630
|
};
|
|
2631
2631
|
function mn(e) {
|
|
2632
2632
|
var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
2633
|
-
if (
|
|
2633
|
+
if (De) {
|
|
2634
2634
|
var t;
|
|
2635
2635
|
if (a)
|
|
2636
2636
|
t = e;
|
|
@@ -2680,7 +2680,7 @@ If it declares any Font Awesome CSS pseudo-elements, they will not be rendered a
|
|
|
2680
2680
|
}
|
|
2681
2681
|
}
|
|
2682
2682
|
return new Promise(function(v, f) {
|
|
2683
|
-
var o =
|
|
2683
|
+
var o = nt(t).filter(Do).map(Lo), c = Oa.begin("searchPseudoElements");
|
|
2684
2684
|
wr(), Promise.all(o).then(function() {
|
|
2685
2685
|
c(), va(), v();
|
|
2686
2686
|
}).catch(function() {
|
|
@@ -2837,7 +2837,7 @@ var Ho = {
|
|
|
2837
2837
|
var r = n.getAttribute("data-fa-mask"), l = r ? Dt(r.split(" ").map(function(u) {
|
|
2838
2838
|
return u.trim();
|
|
2839
2839
|
})) : br();
|
|
2840
|
-
return l.prefix || (l.prefix =
|
|
2840
|
+
return l.prefix || (l.prefix = Re()), t.mask = l, t.maskId = n.getAttribute("data-fa-mask-id"), t;
|
|
2841
2841
|
}
|
|
2842
2842
|
};
|
|
2843
2843
|
},
|
|
@@ -2899,7 +2899,7 @@ var Ho = {
|
|
|
2899
2899
|
}, Yo = {
|
|
2900
2900
|
provides: function(a) {
|
|
2901
2901
|
var t = !1;
|
|
2902
|
-
|
|
2902
|
+
_e.matchMedia && (t = _e.matchMedia("(prefers-reduced-motion: reduce)").matches), a.missingIconAbstract = function() {
|
|
2903
2903
|
var n = [], r = {
|
|
2904
2904
|
fill: "currentColor"
|
|
2905
2905
|
}, l = {
|
|
@@ -3086,7 +3086,7 @@ function si(e, a) {
|
|
|
3086
3086
|
return t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set" ? Array.from(e) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? ha(e, a) : void 0;
|
|
3087
3087
|
}
|
|
3088
3088
|
}
|
|
3089
|
-
function
|
|
3089
|
+
function dt(e, a) {
|
|
3090
3090
|
return Array.isArray(a) && a.length > 0 || !Array.isArray(a) && a ? ke({}, e, a) : {};
|
|
3091
3091
|
}
|
|
3092
3092
|
function li(e) {
|
|
@@ -3390,11 +3390,11 @@ var mi = xa({
|
|
|
3390
3390
|
var n = t.attrs, r = p(function() {
|
|
3391
3391
|
return pn(a.icon);
|
|
3392
3392
|
}), l = p(function() {
|
|
3393
|
-
return
|
|
3393
|
+
return dt("classes", li(a));
|
|
3394
3394
|
}), u = p(function() {
|
|
3395
|
-
return
|
|
3395
|
+
return dt("transform", typeof a.transform == "string" ? Bt.transform(a.transform) : a.transform);
|
|
3396
3396
|
}), m = p(function() {
|
|
3397
|
-
return
|
|
3397
|
+
return dt("mask", pn(a.mask));
|
|
3398
3398
|
}), g = p(function() {
|
|
3399
3399
|
var S = Ve(Ve(Ve(Ve({}, l.value), u.value), m.value), {}, {
|
|
3400
3400
|
symbol: a.symbol,
|
|
@@ -3460,9 +3460,9 @@ xa({
|
|
|
3460
3460
|
},
|
|
3461
3461
|
setup: function(a, t) {
|
|
3462
3462
|
var n = t.attrs, r = Cr.familyPrefix, l = p(function() {
|
|
3463
|
-
return
|
|
3463
|
+
return dt("classes", [].concat(pa(a.counter ? ["".concat(r, "-layers-counter")] : []), pa(a.position ? ["".concat(r, "-layers-").concat(a.position)] : [])));
|
|
3464
3464
|
}), u = p(function() {
|
|
3465
|
-
return
|
|
3465
|
+
return dt("transform", typeof a.transform == "string" ? Bt.transform(a.transform) : a.transform);
|
|
3466
3466
|
}), m = p(function() {
|
|
3467
3467
|
var y = Jo(a.value.toString(), Ve(Ve({}, u.value), l.value)), S = y.abstract;
|
|
3468
3468
|
return a.counter && (S[0].attributes.class = S[0].attributes.class.replace("fa-layers-text", "")), S[0];
|
|
@@ -3787,7 +3787,7 @@ const ae = {
|
|
|
3787
3787
|
}
|
|
3788
3788
|
}
|
|
3789
3789
|
);
|
|
3790
|
-
return (t, n) => (s(), d("button",
|
|
3790
|
+
return (t, n) => (s(), d("button", Oe({
|
|
3791
3791
|
class: R(j)(R(a)({ variant: e.variant, size: e.size }), t.$attrs.class),
|
|
3792
3792
|
disabled: e.disabled || e.loading,
|
|
3793
3793
|
"aria-disabled": e.disabled || e.loading,
|
|
@@ -4420,7 +4420,7 @@ const ae = {
|
|
|
4420
4420
|
])) : h("", !0)
|
|
4421
4421
|
]));
|
|
4422
4422
|
}
|
|
4423
|
-
}, Ei = ["for"],
|
|
4423
|
+
}, Ei = ["for"], Ne = {
|
|
4424
4424
|
__name: "Label",
|
|
4425
4425
|
props: {
|
|
4426
4426
|
htmlFor: String,
|
|
@@ -5021,7 +5021,7 @@ const ae = {
|
|
|
5021
5021
|
}, du = {
|
|
5022
5022
|
key: 2,
|
|
5023
5023
|
class: "px-4 py-3"
|
|
5024
|
-
},
|
|
5024
|
+
}, Me = {
|
|
5025
5025
|
__name: "Select",
|
|
5026
5026
|
props: {
|
|
5027
5027
|
modelValue: {
|
|
@@ -5091,7 +5091,7 @@ const ae = {
|
|
|
5091
5091
|
zIndex: 9999
|
|
5092
5092
|
};
|
|
5093
5093
|
}, v = () => {
|
|
5094
|
-
t.disabled || (r.value = !r.value, r.value && (C(),
|
|
5094
|
+
t.disabled || (r.value = !r.value, r.value && (C(), ft(() => {
|
|
5095
5095
|
u.value?.focus();
|
|
5096
5096
|
})));
|
|
5097
5097
|
}, f = (A) => {
|
|
@@ -5125,7 +5125,7 @@ const ae = {
|
|
|
5125
5125
|
y.value = [...A];
|
|
5126
5126
|
}, { immediate: !0 }), me(r, (A) => {
|
|
5127
5127
|
A && C();
|
|
5128
|
-
}), (A, E) => !e.options || e.options.length === 0 ? (s(), d("select",
|
|
5128
|
+
}), (A, E) => !e.options || e.options.length === 0 ? (s(), d("select", Oe({
|
|
5129
5129
|
key: 0,
|
|
5130
5130
|
id: e.id,
|
|
5131
5131
|
name: e.name,
|
|
@@ -5175,7 +5175,7 @@ const ae = {
|
|
|
5175
5175
|
class: "bg-white shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none"
|
|
5176
5176
|
}, [
|
|
5177
5177
|
i("div", nu, [
|
|
5178
|
-
|
|
5178
|
+
Ee(i("input", {
|
|
5179
5179
|
ref_key: "searchInput",
|
|
5180
5180
|
ref: u,
|
|
5181
5181
|
"onUpdate:modelValue": E[1] || (E[1] = (W) => l.value = W),
|
|
@@ -5188,7 +5188,7 @@ const ae = {
|
|
|
5188
5188
|
ta(ge(w, ["prevent"]), ["enter"])
|
|
5189
5189
|
]
|
|
5190
5190
|
}, null, 40, ru), [
|
|
5191
|
-
[
|
|
5191
|
+
[He, l.value]
|
|
5192
5192
|
])
|
|
5193
5193
|
]),
|
|
5194
5194
|
y.value.length > 0 ? (s(), d("div", su, [
|
|
@@ -5440,7 +5440,7 @@ const ae = {
|
|
|
5440
5440
|
emits: ["update:modelValue", "blur", "focus", "keydown"],
|
|
5441
5441
|
setup(e, { expose: a, emit: t }) {
|
|
5442
5442
|
const n = e, r = t, l = M(null), u = p(() => n.id || wa()), m = (f) => {
|
|
5443
|
-
r("update:modelValue", f.target.value), n.autoResize &&
|
|
5443
|
+
r("update:modelValue", f.target.value), n.autoResize && ft(() => v());
|
|
5444
5444
|
}, g = (f) => r("blur", f), y = (f) => r("focus", f), S = (f) => r("keydown", f), $ = p(() => !!n.error || n.variant === "error"), z = p(
|
|
5445
5445
|
() => n.error ? `${u.value}-error` : void 0
|
|
5446
5446
|
), k = U(
|
|
@@ -5478,7 +5478,7 @@ const ae = {
|
|
|
5478
5478
|
f.style.height = "auto", f.style.height = `${f.scrollHeight}px`;
|
|
5479
5479
|
};
|
|
5480
5480
|
return me(() => n.modelValue, () => {
|
|
5481
|
-
n.autoResize &&
|
|
5481
|
+
n.autoResize && ft(() => v());
|
|
5482
5482
|
}, { immediate: !0 }), a({
|
|
5483
5483
|
focus: () => l.value?.focus(),
|
|
5484
5484
|
blur: () => l.value?.blur(),
|
|
@@ -5578,7 +5578,7 @@ const ae = {
|
|
|
5578
5578
|
};
|
|
5579
5579
|
}, z = () => {
|
|
5580
5580
|
u && clearTimeout(u), u = setTimeout(async () => {
|
|
5581
|
-
t.value = !0, await
|
|
5581
|
+
t.value = !0, await ft(), $();
|
|
5582
5582
|
}, a.delay);
|
|
5583
5583
|
}, k = () => {
|
|
5584
5584
|
u && clearTimeout(u), t.value = !1;
|
|
@@ -5727,7 +5727,7 @@ const ae = {
|
|
|
5727
5727
|
"whitespace-nowrap": a.noWrap
|
|
5728
5728
|
}
|
|
5729
5729
|
]);
|
|
5730
|
-
return (m, g) => (s(), D(ve(t.value),
|
|
5730
|
+
return (m, g) => (s(), D(ve(t.value), Oe({ class: u.value }, m.$attrs), {
|
|
5731
5731
|
default: _(() => [
|
|
5732
5732
|
L(m.$slots, "default"),
|
|
5733
5733
|
e.required ? (s(), d("span", vu, "*")) : h("", !0)
|
|
@@ -7710,14 +7710,14 @@ const ae = {
|
|
|
7710
7710
|
_: 3
|
|
7711
7711
|
}));
|
|
7712
7712
|
}
|
|
7713
|
-
},
|
|
7713
|
+
}, gt = M([]);
|
|
7714
7714
|
let ec = 0;
|
|
7715
7715
|
const tc = {
|
|
7716
7716
|
duration: 3e3,
|
|
7717
7717
|
position: "top-center",
|
|
7718
7718
|
dismissible: !0,
|
|
7719
7719
|
closeButton: !1
|
|
7720
|
-
}, ac = () => `toast-${++ec}-${Date.now()}`,
|
|
7720
|
+
}, ac = () => `toast-${++ec}-${Date.now()}`, Ie = (e, a = {}) => {
|
|
7721
7721
|
const t = ac(), n = {
|
|
7722
7722
|
id: t,
|
|
7723
7723
|
message: e,
|
|
@@ -7725,23 +7725,23 @@ const tc = {
|
|
|
7725
7725
|
...a,
|
|
7726
7726
|
createdAt: Date.now()
|
|
7727
7727
|
};
|
|
7728
|
-
return
|
|
7729
|
-
|
|
7728
|
+
return gt.value.push($n(n)), n.duration && n.duration > 0 && setTimeout(() => {
|
|
7729
|
+
ct(t);
|
|
7730
7730
|
}, n.duration), t;
|
|
7731
|
-
},
|
|
7732
|
-
const a =
|
|
7733
|
-
a > -1 &&
|
|
7731
|
+
}, ct = (e) => {
|
|
7732
|
+
const a = gt.value.findIndex((t) => t.id === e);
|
|
7733
|
+
a > -1 && gt.value.splice(a, 1);
|
|
7734
7734
|
}, Or = () => {
|
|
7735
|
-
|
|
7735
|
+
gt.value = [];
|
|
7736
7736
|
}, Ae = Object.assign(
|
|
7737
7737
|
// Default toast function
|
|
7738
|
-
(e, a) =>
|
|
7738
|
+
(e, a) => Ie(e, { ...a }),
|
|
7739
7739
|
// Toast type methods
|
|
7740
7740
|
{
|
|
7741
|
-
success: (e, a) =>
|
|
7742
|
-
error: (e, a) =>
|
|
7743
|
-
warning: (e, a) =>
|
|
7744
|
-
info: (e, a) =>
|
|
7741
|
+
success: (e, a) => Ie(e, { ...a, variant: "success" }),
|
|
7742
|
+
error: (e, a) => Ie(e, { ...a, variant: "error" }),
|
|
7743
|
+
warning: (e, a) => Ie(e, { ...a, variant: "warning" }),
|
|
7744
|
+
info: (e, a) => Ie(e, { ...a, variant: "info" }),
|
|
7745
7745
|
// Promise toast for async operations
|
|
7746
7746
|
promise: (e, a = {}) => {
|
|
7747
7747
|
const {
|
|
@@ -7749,7 +7749,7 @@ const tc = {
|
|
|
7749
7749
|
success: n = "Success",
|
|
7750
7750
|
error: r = "Error",
|
|
7751
7751
|
...l
|
|
7752
|
-
} = a, u =
|
|
7752
|
+
} = a, u = Ie(t, {
|
|
7753
7753
|
...l,
|
|
7754
7754
|
variant: "loading",
|
|
7755
7755
|
duration: 0,
|
|
@@ -7757,33 +7757,33 @@ const tc = {
|
|
|
7757
7757
|
dismissible: !1
|
|
7758
7758
|
});
|
|
7759
7759
|
return e.then((m) => {
|
|
7760
|
-
|
|
7760
|
+
ct(u);
|
|
7761
7761
|
const g = typeof n == "function" ? n(m) : n;
|
|
7762
|
-
return
|
|
7762
|
+
return Ie(g, {
|
|
7763
7763
|
...l,
|
|
7764
7764
|
variant: "success"
|
|
7765
7765
|
}), m;
|
|
7766
7766
|
}).catch((m) => {
|
|
7767
|
-
|
|
7767
|
+
ct(u);
|
|
7768
7768
|
const g = typeof r == "function" ? r(m) : r;
|
|
7769
|
-
throw
|
|
7769
|
+
throw Ie(g, {
|
|
7770
7770
|
...l,
|
|
7771
7771
|
variant: "error"
|
|
7772
7772
|
}), m;
|
|
7773
7773
|
});
|
|
7774
7774
|
},
|
|
7775
7775
|
// Utility methods
|
|
7776
|
-
dismiss:
|
|
7776
|
+
dismiss: ct,
|
|
7777
7777
|
dismissAll: Or,
|
|
7778
7778
|
// Custom toast with component
|
|
7779
|
-
custom: (e, a = {}) =>
|
|
7779
|
+
custom: (e, a = {}) => Ie("", {
|
|
7780
7780
|
...a,
|
|
7781
7781
|
component: $n(e)
|
|
7782
7782
|
})
|
|
7783
7783
|
}
|
|
7784
7784
|
), nc = () => ({
|
|
7785
|
-
toasts:
|
|
7786
|
-
dismiss:
|
|
7785
|
+
toasts: gt,
|
|
7786
|
+
dismiss: ct,
|
|
7787
7787
|
dismissAll: Or
|
|
7788
7788
|
}), rc = ["aria-live"], sc = { class: "flex-1 grid gap-1" }, lc = {
|
|
7789
7789
|
key: 0,
|
|
@@ -7907,7 +7907,7 @@ const tc = {
|
|
|
7907
7907
|
f.title ? (s(), d("div", lc, x(f.title), 1)) : h("", !0),
|
|
7908
7908
|
f.message ? (s(), d("div", oc, x(f.message), 1)) : h("", !0),
|
|
7909
7909
|
f.description ? (s(), d("div", ic, x(f.description), 1)) : h("", !0),
|
|
7910
|
-
f.component ? (s(), D(ve(f.component),
|
|
7910
|
+
f.component ? (s(), D(ve(f.component), Oe({
|
|
7911
7911
|
key: 3,
|
|
7912
7912
|
ref_for: !0
|
|
7913
7913
|
}, f.componentProps), null, 16)) : h("", !0)
|
|
@@ -8288,7 +8288,7 @@ const tc = {
|
|
|
8288
8288
|
});
|
|
8289
8289
|
}), Ce(() => {
|
|
8290
8290
|
n.value !== null && t.unregisterTab(n.value);
|
|
8291
|
-
}), (l, u) =>
|
|
8291
|
+
}), (l, u) => Ee((s(), d("div", {
|
|
8292
8292
|
id: `panel-${n.value}`,
|
|
8293
8293
|
role: "tabpanel",
|
|
8294
8294
|
"aria-labelledby": `tab-${n.value}`
|
|
@@ -9549,13 +9549,13 @@ const tc = {
|
|
|
9549
9549
|
icon: "calendar",
|
|
9550
9550
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
9551
9551
|
}),
|
|
9552
|
-
|
|
9552
|
+
Ee(i("input", {
|
|
9553
9553
|
"onUpdate:modelValue": V[0] || (V[0] = (K) => r.value = K),
|
|
9554
9554
|
type: "date",
|
|
9555
9555
|
class: b(z.value),
|
|
9556
9556
|
placeholder: "From date"
|
|
9557
9557
|
}, null, 2), [
|
|
9558
|
-
[
|
|
9558
|
+
[He, r.value]
|
|
9559
9559
|
])
|
|
9560
9560
|
]),
|
|
9561
9561
|
V[6] || (V[6] = i("span", { class: "text-gray-500 text-sm" }, "to", -1)),
|
|
@@ -9564,19 +9564,19 @@ const tc = {
|
|
|
9564
9564
|
icon: "calendar",
|
|
9565
9565
|
class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
|
|
9566
9566
|
}),
|
|
9567
|
-
|
|
9567
|
+
Ee(i("input", {
|
|
9568
9568
|
"onUpdate:modelValue": V[1] || (V[1] = (K) => l.value = K),
|
|
9569
9569
|
type: "date",
|
|
9570
9570
|
class: b(z.value),
|
|
9571
9571
|
placeholder: "To date"
|
|
9572
9572
|
}, null, 2), [
|
|
9573
|
-
[
|
|
9573
|
+
[He, l.value]
|
|
9574
9574
|
])
|
|
9575
9575
|
])
|
|
9576
9576
|
])) : h("", !0),
|
|
9577
9577
|
e.showChartTypeFilter ? (s(), d("div", Gf, [
|
|
9578
9578
|
i("div", Xf, [
|
|
9579
|
-
T(
|
|
9579
|
+
T(Me, {
|
|
9580
9580
|
modelValue: u.value,
|
|
9581
9581
|
"onUpdate:modelValue": V[2] || (V[2] = (K) => u.value = K),
|
|
9582
9582
|
class: b(k.value),
|
|
@@ -9597,7 +9597,7 @@ const tc = {
|
|
|
9597
9597
|
])) : h("", !0),
|
|
9598
9598
|
e.dataSources.length > 0 ? (s(), d("div", Kf, [
|
|
9599
9599
|
i("div", Jf, [
|
|
9600
|
-
T(
|
|
9600
|
+
T(Me, {
|
|
9601
9601
|
modelValue: m.value,
|
|
9602
9602
|
"onUpdate:modelValue": V[3] || (V[3] = (K) => m.value = K),
|
|
9603
9603
|
class: b(k.value),
|
|
@@ -9965,7 +9965,7 @@ const tc = {
|
|
|
9965
9965
|
])) : h("", !0),
|
|
9966
9966
|
e.showPagination ? (s(), d("div", dm, [
|
|
9967
9967
|
i("div", cm, [
|
|
9968
|
-
T(
|
|
9968
|
+
T(Ne, {
|
|
9969
9969
|
for: "pageSize",
|
|
9970
9970
|
class: b(S.value),
|
|
9971
9971
|
inline: !0
|
|
@@ -9975,7 +9975,7 @@ const tc = {
|
|
|
9975
9975
|
])]),
|
|
9976
9976
|
_: 1
|
|
9977
9977
|
}, 8, ["class"]),
|
|
9978
|
-
T(
|
|
9978
|
+
T(Me, {
|
|
9979
9979
|
id: "pageSize",
|
|
9980
9980
|
"model-value": e.pageSize.toString(),
|
|
9981
9981
|
class: b($.value),
|
|
@@ -10085,7 +10085,7 @@ const tc = {
|
|
|
10085
10085
|
])
|
|
10086
10086
|
], 2)) : h("", !0);
|
|
10087
10087
|
}
|
|
10088
|
-
},
|
|
10088
|
+
}, rt = (e, a) => {
|
|
10089
10089
|
const t = e.__vccOpts || e;
|
|
10090
10090
|
for (const [n, r] of a)
|
|
10091
10091
|
t[n] = r;
|
|
@@ -10227,7 +10227,7 @@ const tc = {
|
|
|
10227
10227
|
])
|
|
10228
10228
|
], 6)) : h("", !0);
|
|
10229
10229
|
}
|
|
10230
|
-
}, jt = /* @__PURE__ */
|
|
10230
|
+
}, jt = /* @__PURE__ */ rt(Om, [["__scopeId", "data-v-68532350"]]), Bm = { class: "relative" }, Mm = { class: "flex items-center justify-center" }, Im = ["onClick"], Em = { class: "flex items-center gap-2" }, Fm = {
|
|
10231
10231
|
key: 1,
|
|
10232
10232
|
class: "flex flex-col"
|
|
10233
10233
|
}, Lm = ["onClick"], Dm = ["onClick"], Nm = { key: 1 }, _m = {
|
|
@@ -10465,8 +10465,8 @@ const tc = {
|
|
|
10465
10465
|
if (m.value) {
|
|
10466
10466
|
const Z = n.columns.find((ne) => ne.key === m.value);
|
|
10467
10467
|
Z && F.sort((ne, we) => {
|
|
10468
|
-
const ie = V(ne, Z),
|
|
10469
|
-
return ie <
|
|
10468
|
+
const ie = V(ne, Z), Qe = V(we, Z);
|
|
10469
|
+
return ie < Qe ? g.value === "asc" ? -1 : 1 : ie > Qe ? g.value === "asc" ? 1 : -1 : 0;
|
|
10470
10470
|
});
|
|
10471
10471
|
}
|
|
10472
10472
|
return F;
|
|
@@ -10544,10 +10544,10 @@ const tc = {
|
|
|
10544
10544
|
comfortable: "px-8 py-6"
|
|
10545
10545
|
}[n.density],
|
|
10546
10546
|
"whitespace-nowrap text-sm text-slate-900"
|
|
10547
|
-
),
|
|
10547
|
+
), st = (F, Z) => {
|
|
10548
10548
|
const ne = [];
|
|
10549
10549
|
return n.striped && Z % 2 === 1 && ne.push("bg-slate-50/50"), n.hoverable && !n.clickableRows && ne.push("hover:bg-slate-50"), n.clickableRows && ne.push("cursor-pointer hover:bg-slate-100"), n.selectable && Q(F) && ne.push("bg-blue-50 border-blue-200"), n.variant === "bordered" ? ne.push("border-b border-slate-200") : n.variant === "minimal" && ne.push("border-b border-slate-100"), j("transition-colors", ...ne);
|
|
10550
|
-
},
|
|
10550
|
+
}, Xe = (F, Z) => {
|
|
10551
10551
|
const ne = V(F, Z);
|
|
10552
10552
|
return typeof Z == "object" && Z.formatter ? Z.formatter(ne, F) : ne == null ? "" : ne instanceof Date ? ne.toLocaleDateString() : Array.isArray(ne) ? ne.join(", ") : ne;
|
|
10553
10553
|
}, Wt = (F, Z = 10) => {
|
|
@@ -10556,16 +10556,16 @@ const tc = {
|
|
|
10556
10556
|
return ne.length <= Z ? F : ne.slice(0, Z).join(" ") + "...";
|
|
10557
10557
|
}, Ht = (F) => {
|
|
10558
10558
|
S.value || (S.value = F, y.value = !0);
|
|
10559
|
-
},
|
|
10559
|
+
}, Ke = () => {
|
|
10560
10560
|
y.value = !1, S.value = "";
|
|
10561
|
-
},
|
|
10561
|
+
}, qe = p(() => j(
|
|
10562
10562
|
{
|
|
10563
10563
|
compact: "px-4 py-2",
|
|
10564
10564
|
normal: "px-6 py-4",
|
|
10565
10565
|
comfortable: "px-8 py-6"
|
|
10566
10566
|
}[n.density],
|
|
10567
10567
|
"whitespace-nowrap text-sm text-slate-900 w-12"
|
|
10568
|
-
)),
|
|
10568
|
+
)), Je = p(() => j(
|
|
10569
10569
|
{
|
|
10570
10570
|
compact: "px-4 py-2",
|
|
10571
10571
|
normal: "px-6 py-4",
|
|
@@ -10647,7 +10647,7 @@ const tc = {
|
|
|
10647
10647
|
i("tr", null, [
|
|
10648
10648
|
e.selectable ? (s(), d("th", {
|
|
10649
10649
|
key: 0,
|
|
10650
|
-
class: b(
|
|
10650
|
+
class: b(qe.value)
|
|
10651
10651
|
}, [
|
|
10652
10652
|
i("div", Mm, [
|
|
10653
10653
|
e.bulkLoading ? (s(), D(jt, {
|
|
@@ -10710,7 +10710,7 @@ const tc = {
|
|
|
10710
10710
|
], 10, Im))), 128)),
|
|
10711
10711
|
F.$slots.actions || e.actions.length > 0 && e.showActionsColumn ? (s(), d("th", {
|
|
10712
10712
|
key: 1,
|
|
10713
|
-
class: b(
|
|
10713
|
+
class: b(Je.value)
|
|
10714
10714
|
}, " Actions ", 2)) : h("", !0)
|
|
10715
10715
|
])
|
|
10716
10716
|
], 2),
|
|
@@ -10723,7 +10723,7 @@ const tc = {
|
|
|
10723
10723
|
}, [
|
|
10724
10724
|
e.selectable ? (s(), d("td", {
|
|
10725
10725
|
key: 0,
|
|
10726
|
-
class: b(
|
|
10726
|
+
class: b(qe.value)
|
|
10727
10727
|
}, [...Z[3] || (Z[3] = [
|
|
10728
10728
|
i("div", { class: "w-4 h-4 bg-slate-200 rounded" }, null, -1)
|
|
10729
10729
|
])], 2)) : h("", !0),
|
|
@@ -10735,7 +10735,7 @@ const tc = {
|
|
|
10735
10735
|
])], 2))), 128)),
|
|
10736
10736
|
F.$slots.actions || e.actions.length > 0 && e.showActionsColumn ? (s(), d("td", {
|
|
10737
10737
|
key: 1,
|
|
10738
|
-
class: b(
|
|
10738
|
+
class: b(Je.value)
|
|
10739
10739
|
}, [...Z[5] || (Z[5] = [
|
|
10740
10740
|
i("div", { class: "flex gap-2 justify-center" }, [
|
|
10741
10741
|
i("div", { class: "w-6 h-6 bg-slate-200 rounded" }),
|
|
@@ -10744,12 +10744,12 @@ const tc = {
|
|
|
10744
10744
|
])], 2)) : h("", !0)
|
|
10745
10745
|
]))), 128)) : o.value.length > 0 ? (s(!0), d(Y, { key: 1 }, X(o.value, (ne, we) => (s(), d("tr", {
|
|
10746
10746
|
key: K(ne, we),
|
|
10747
|
-
class: b(
|
|
10747
|
+
class: b(st(ne, we)),
|
|
10748
10748
|
onClick: (ie) => ue({ item: ne, index: we })
|
|
10749
10749
|
}, [
|
|
10750
10750
|
e.selectable ? (s(), d("td", {
|
|
10751
10751
|
key: 0,
|
|
10752
|
-
class: b(
|
|
10752
|
+
class: b(qe.value)
|
|
10753
10753
|
}, [
|
|
10754
10754
|
T(It, {
|
|
10755
10755
|
"model-value": Q(ne),
|
|
@@ -10766,16 +10766,16 @@ const tc = {
|
|
|
10766
10766
|
column: ie,
|
|
10767
10767
|
index: we
|
|
10768
10768
|
}, () => [
|
|
10769
|
-
|
|
10769
|
+
Xe(ne, ie).toString().split(" ").length > 10 ? (s(), d("span", {
|
|
10770
10770
|
key: 0,
|
|
10771
10771
|
class: "cursor-pointer text-blue-600 hover:text-blue-800",
|
|
10772
|
-
onClick: ge((
|
|
10773
|
-
}, x(Wt(
|
|
10772
|
+
onClick: ge((Qe) => Ht(Xe(ne, ie)), ["stop"])
|
|
10773
|
+
}, x(Wt(Xe(ne, ie))), 9, Dm)) : (s(), d("span", Nm, x(Xe(ne, ie)), 1))
|
|
10774
10774
|
], !0)
|
|
10775
10775
|
], 2))), 128)),
|
|
10776
10776
|
F.$slots.actions || e.actions.length > 0 && e.showActionsColumn ? (s(), d("td", {
|
|
10777
10777
|
key: 1,
|
|
10778
|
-
class: b(
|
|
10778
|
+
class: b(Je.value)
|
|
10779
10779
|
}, [
|
|
10780
10780
|
F.$slots.actions ? L(F.$slots, "actions", {
|
|
10781
10781
|
key: 0,
|
|
@@ -10793,7 +10793,7 @@ const tc = {
|
|
|
10793
10793
|
size: "xs",
|
|
10794
10794
|
disabled: A(ie, ne) || !O(ie, ne),
|
|
10795
10795
|
class: "h-8 w-8",
|
|
10796
|
-
onClick: ge((
|
|
10796
|
+
onClick: ge((Qe) => E(ie, ne), ["stop"])
|
|
10797
10797
|
}, {
|
|
10798
10798
|
default: _(() => [
|
|
10799
10799
|
ie.icon ? (s(), D(ae, {
|
|
@@ -10858,7 +10858,7 @@ const tc = {
|
|
|
10858
10858
|
"onUpdate:modelValue": Z[0] || (Z[0] = (ne) => y.value = ne),
|
|
10859
10859
|
size: "lg",
|
|
10860
10860
|
height: "auto",
|
|
10861
|
-
onClose:
|
|
10861
|
+
onClose: Ke
|
|
10862
10862
|
}, {
|
|
10863
10863
|
default: _(() => [
|
|
10864
10864
|
i("div", Xm, [
|
|
@@ -10870,7 +10870,7 @@ const tc = {
|
|
|
10870
10870
|
}, 8, ["modelValue"])
|
|
10871
10871
|
], 2));
|
|
10872
10872
|
}
|
|
10873
|
-
}, Qm = /* @__PURE__ */
|
|
10873
|
+
}, Qm = /* @__PURE__ */ rt(Jm, [["__scopeId", "data-v-30b63d46"]]), Zm = {
|
|
10874
10874
|
__name: "DataTableRow",
|
|
10875
10875
|
props: {
|
|
10876
10876
|
item: {
|
|
@@ -11394,10 +11394,10 @@ const tc = {
|
|
|
11394
11394
|
if (!B) return;
|
|
11395
11395
|
const I = t.multiSelectFilters.map((J) => {
|
|
11396
11396
|
if (J.key === H) {
|
|
11397
|
-
const de = J.selected || [],
|
|
11397
|
+
const de = J.selected || [], lt = de.includes(B);
|
|
11398
11398
|
return {
|
|
11399
11399
|
...J,
|
|
11400
|
-
selected:
|
|
11400
|
+
selected: lt ? de.filter((Yt) => Yt !== B) : [...de, B]
|
|
11401
11401
|
};
|
|
11402
11402
|
}
|
|
11403
11403
|
return J;
|
|
@@ -11415,8 +11415,8 @@ const tc = {
|
|
|
11415
11415
|
}, ue = () => {
|
|
11416
11416
|
r.value = !r.value;
|
|
11417
11417
|
}, le = p(() => t.numberFilters.length > 0 || t.multiSelectFilters.length > 0), ze = p(() => {
|
|
11418
|
-
const H = t.searchQuery, B = t.selectedStatus, I = t.dateFrom || t.dateTo, J = t.selectFilters.some((Pe) => Pe.value), de = t.dateFilters.some((Pe) => Pe.from || Pe.to),
|
|
11419
|
-
return H || B || I || J || de ||
|
|
11418
|
+
const H = t.searchQuery, B = t.selectedStatus, I = t.dateFrom || t.dateTo, J = t.selectFilters.some((Pe) => Pe.value), de = t.dateFilters.some((Pe) => Pe.from || Pe.to), lt = t.numberFilters.some((Pe) => Pe.min || Pe.max), Yt = t.multiSelectFilters.some((Pe) => Pe.selected && Pe.selected.length > 0);
|
|
11419
|
+
return H || B || I || J || de || lt || Yt;
|
|
11420
11420
|
}), yt = p(() => {
|
|
11421
11421
|
let H = 0;
|
|
11422
11422
|
return t.searchQuery && H++, t.selectedStatus && H++, (t.dateFrom || t.dateTo) && H++, H += t.selectFilters.filter((B) => B.value).length, H += t.dateFilters.filter((B) => B.from || B.to).length, H += t.numberFilters.filter((B) => B.min || B.max).length, H += t.multiSelectFilters.filter((B) => B.selected && B.selected.length > 0).length, H;
|
|
@@ -11478,7 +11478,7 @@ const tc = {
|
|
|
11478
11478
|
}), t.multiSelectFilters.forEach((B) => {
|
|
11479
11479
|
if (B.selected && B.selected.length > 0) {
|
|
11480
11480
|
const I = B.selected.map((J) => {
|
|
11481
|
-
const de = B.options.find((
|
|
11481
|
+
const de = B.options.find((lt) => lt.value === J);
|
|
11482
11482
|
return de ? de.label : J;
|
|
11483
11483
|
});
|
|
11484
11484
|
H.push({
|
|
@@ -11503,12 +11503,12 @@ const tc = {
|
|
|
11503
11503
|
)
|
|
11504
11504
|
), wt = p(
|
|
11505
11505
|
() => "absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600 p-1 hover:bg-gray-100 rounded-full transition-all"
|
|
11506
|
-
),
|
|
11506
|
+
), st = p(
|
|
11507
11507
|
() => j(
|
|
11508
11508
|
f({ size: "md" }),
|
|
11509
11509
|
"w-full pr-8 appearance-none hover:border-gray-300"
|
|
11510
11510
|
)
|
|
11511
|
-
),
|
|
11511
|
+
), Xe = p(() => {
|
|
11512
11512
|
const H = r.value || ze.value;
|
|
11513
11513
|
return j(
|
|
11514
11514
|
o({
|
|
@@ -11521,11 +11521,11 @@ const tc = {
|
|
|
11521
11521
|
() => "bg-white text-blue-600 text-xs px-1.5 py-0.5 rounded-full min-w-[20px] text-center font-semibold"
|
|
11522
11522
|
), Ht = p(
|
|
11523
11523
|
() => "px-6 py-4 border-t border-gray-100 bg-gray-50"
|
|
11524
|
-
),
|
|
11524
|
+
), Ke = p(
|
|
11525
11525
|
() => j(f({ size: "md" }), "pl-10 pr-3")
|
|
11526
|
-
),
|
|
11526
|
+
), qe = p(
|
|
11527
11527
|
() => "text-sm font-semibold text-gray-700"
|
|
11528
|
-
),
|
|
11528
|
+
), Je = p(
|
|
11529
11529
|
() => "text-gray-500 text-sm font-medium"
|
|
11530
11530
|
), kt = p(
|
|
11531
11531
|
() => "text-gray-400 hover:text-gray-600 p-1.5 hover:bg-gray-200 rounded-full transition-all"
|
|
@@ -11541,7 +11541,7 @@ const tc = {
|
|
|
11541
11541
|
() => "flex items-center gap-1.5 bg-white border border-blue-200 text-blue-800 px-3 py-1.5 rounded-full text-sm font-medium"
|
|
11542
11542
|
), ie = p(
|
|
11543
11543
|
() => "text-blue-600 hover:text-blue-800 ml-1 hover:bg-blue-100 rounded-full p-0.5 transition-all"
|
|
11544
|
-
),
|
|
11544
|
+
), Qe = () => {
|
|
11545
11545
|
n("update:searchQuery", ""), n("update:selectedStatus", ""), n("update:dateFrom", ""), n("update:dateTo", "");
|
|
11546
11546
|
const H = t.selectFilters.map((de) => ({
|
|
11547
11547
|
...de,
|
|
@@ -11635,9 +11635,9 @@ const tc = {
|
|
|
11635
11635
|
class: "min-w-36"
|
|
11636
11636
|
}, [
|
|
11637
11637
|
i("div", sg, [
|
|
11638
|
-
T(
|
|
11638
|
+
T(Me, {
|
|
11639
11639
|
"model-value": I.value,
|
|
11640
|
-
class: b(
|
|
11640
|
+
class: b(st.value),
|
|
11641
11641
|
onChange: (J) => c(I.key, J.target.value)
|
|
11642
11642
|
}, {
|
|
11643
11643
|
default: _(() => [
|
|
@@ -11657,9 +11657,9 @@ const tc = {
|
|
|
11657
11657
|
]))), 128)),
|
|
11658
11658
|
e.showFilters && e.statusOptions.length > 0 ? (s(), d("div", ig, [
|
|
11659
11659
|
i("div", ug, [
|
|
11660
|
-
T(
|
|
11660
|
+
T(Me, {
|
|
11661
11661
|
"model-value": e.selectedStatus,
|
|
11662
|
-
class: b(
|
|
11662
|
+
class: b(st.value),
|
|
11663
11663
|
onChange: B[2] || (B[2] = (I) => H.$emit("update:selectedStatus", I.target.value))
|
|
11664
11664
|
}, {
|
|
11665
11665
|
default: _(() => [
|
|
@@ -11679,7 +11679,7 @@ const tc = {
|
|
|
11679
11679
|
])) : h("", !0),
|
|
11680
11680
|
e.showFilters && (e.dateFilters.length > 0 || le.value) ? (s(), d("button", {
|
|
11681
11681
|
key: 2,
|
|
11682
|
-
class: b(
|
|
11682
|
+
class: b(Xe.value),
|
|
11683
11683
|
onClick: ue
|
|
11684
11684
|
}, [
|
|
11685
11685
|
T(ae, {
|
|
@@ -11719,7 +11719,7 @@ const tc = {
|
|
|
11719
11719
|
ze.value ? (s(), D(ye, {
|
|
11720
11720
|
key: 1,
|
|
11721
11721
|
class: b($t.value),
|
|
11722
|
-
onClick:
|
|
11722
|
+
onClick: Qe
|
|
11723
11723
|
}, {
|
|
11724
11724
|
default: _(() => [
|
|
11725
11725
|
T(ae, {
|
|
@@ -11792,7 +11792,7 @@ const tc = {
|
|
|
11792
11792
|
}, [
|
|
11793
11793
|
i("div", bg, [
|
|
11794
11794
|
i("label", {
|
|
11795
|
-
class: b(
|
|
11795
|
+
class: b(qe.value)
|
|
11796
11796
|
}, x(I.label), 3),
|
|
11797
11797
|
i("span", {
|
|
11798
11798
|
class: b(A(I))
|
|
@@ -11807,13 +11807,13 @@ const tc = {
|
|
|
11807
11807
|
i("input", {
|
|
11808
11808
|
type: "date",
|
|
11809
11809
|
"model-value": I.from,
|
|
11810
|
-
class: b(
|
|
11810
|
+
class: b(Ke.value),
|
|
11811
11811
|
placeholder: `From ${I.label}`,
|
|
11812
11812
|
onInput: (J) => E(I.key, "from", J.target.value)
|
|
11813
11813
|
}, null, 42, yg)
|
|
11814
11814
|
]),
|
|
11815
11815
|
i("span", {
|
|
11816
|
-
class: b(
|
|
11816
|
+
class: b(Je.value)
|
|
11817
11817
|
}, "to", 2),
|
|
11818
11818
|
i("div", xg, [
|
|
11819
11819
|
T(ae, {
|
|
@@ -11823,7 +11823,7 @@ const tc = {
|
|
|
11823
11823
|
i("input", {
|
|
11824
11824
|
type: "date",
|
|
11825
11825
|
"model-value": I.to,
|
|
11826
|
-
class: b(
|
|
11826
|
+
class: b(Ke.value),
|
|
11827
11827
|
placeholder: `To ${I.label}`,
|
|
11828
11828
|
onInput: (J) => E(I.key, "to", J.target.value)
|
|
11829
11829
|
}, null, 42, wg)
|
|
@@ -11847,7 +11847,7 @@ const tc = {
|
|
|
11847
11847
|
}, [
|
|
11848
11848
|
i("div", $g, [
|
|
11849
11849
|
i("label", {
|
|
11850
|
-
class: b(
|
|
11850
|
+
class: b(qe.value)
|
|
11851
11851
|
}, x(I.label), 3),
|
|
11852
11852
|
i("span", {
|
|
11853
11853
|
class: b(se(I))
|
|
@@ -11858,20 +11858,20 @@ const tc = {
|
|
|
11858
11858
|
i("input", {
|
|
11859
11859
|
type: "number",
|
|
11860
11860
|
"model-value": I.min,
|
|
11861
|
-
class: b(
|
|
11861
|
+
class: b(Ke.value),
|
|
11862
11862
|
placeholder: `Min ${I.label}`,
|
|
11863
11863
|
step: I.step || 1,
|
|
11864
11864
|
onInput: (J) => V(I.key, "min", J.target.value)
|
|
11865
11865
|
}, null, 42, zg)
|
|
11866
11866
|
]),
|
|
11867
11867
|
i("span", {
|
|
11868
|
-
class: b(
|
|
11868
|
+
class: b(Je.value)
|
|
11869
11869
|
}, "to", 2),
|
|
11870
11870
|
i("div", Ag, [
|
|
11871
11871
|
i("input", {
|
|
11872
11872
|
type: "number",
|
|
11873
11873
|
"model-value": I.max,
|
|
11874
|
-
class: b(
|
|
11874
|
+
class: b(Ke.value),
|
|
11875
11875
|
placeholder: `Max ${I.label}`,
|
|
11876
11876
|
step: I.step || 1,
|
|
11877
11877
|
onInput: (J) => V(I.key, "max", J.target.value)
|
|
@@ -11896,16 +11896,16 @@ const tc = {
|
|
|
11896
11896
|
}, [
|
|
11897
11897
|
i("div", Tg, [
|
|
11898
11898
|
i("label", {
|
|
11899
|
-
class: b(
|
|
11899
|
+
class: b(qe.value)
|
|
11900
11900
|
}, x(I.label), 3),
|
|
11901
11901
|
i("span", {
|
|
11902
11902
|
class: b(Q(I))
|
|
11903
11903
|
}, x(K(I) ? `${I.selected.length} selected` : "None"), 3)
|
|
11904
11904
|
]),
|
|
11905
11905
|
i("div", Pg, [
|
|
11906
|
-
T(
|
|
11906
|
+
T(Me, {
|
|
11907
11907
|
"model-value": "",
|
|
11908
|
-
class: b(
|
|
11908
|
+
class: b(st.value),
|
|
11909
11909
|
onChange: (J) => P(I.key, J.target.value)
|
|
11910
11910
|
}, {
|
|
11911
11911
|
default: _(() => [
|
|
@@ -12238,7 +12238,7 @@ const tc = {
|
|
|
12238
12238
|
}),
|
|
12239
12239
|
te[2] || (te[2] = i("span", null, "Columns", -1))
|
|
12240
12240
|
], 2),
|
|
12241
|
-
|
|
12241
|
+
Ee(i("div", {
|
|
12242
12242
|
ref_key: "columnMenu",
|
|
12243
12243
|
ref: u,
|
|
12244
12244
|
class: b(o.value),
|
|
@@ -12679,13 +12679,13 @@ const tc = {
|
|
|
12679
12679
|
})
|
|
12680
12680
|
])
|
|
12681
12681
|
], -1)),
|
|
12682
|
-
|
|
12682
|
+
Ee(i("input", {
|
|
12683
12683
|
"onUpdate:modelValue": G[1] || (G[1] = (V) => r.value = V),
|
|
12684
12684
|
type: "text",
|
|
12685
12685
|
placeholder: "Search...",
|
|
12686
12686
|
class: "pl-10 pr-4 py-2 w-48 md:w-64 text-sm border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none"
|
|
12687
12687
|
}, null, 512), [
|
|
12688
|
-
[
|
|
12688
|
+
[He, r.value]
|
|
12689
12689
|
]),
|
|
12690
12690
|
y.value ? (s(), d("button", {
|
|
12691
12691
|
key: 0,
|
|
@@ -12954,7 +12954,7 @@ const tc = {
|
|
|
12954
12954
|
zIndex: 9999
|
|
12955
12955
|
};
|
|
12956
12956
|
}, z = () => {
|
|
12957
|
-
t.disabled || (r.value = !r.value, r.value ? ($(),
|
|
12957
|
+
t.disabled || (r.value = !r.value, r.value ? ($(), ft(() => {
|
|
12958
12958
|
u.value?.focus();
|
|
12959
12959
|
})) : (l.value = "", m.value = [...t.options]));
|
|
12960
12960
|
}, k = (o) => {
|
|
@@ -13040,7 +13040,7 @@ const tc = {
|
|
|
13040
13040
|
class: "bg-white shadow-lg max-h-72 rounded-md text-base ring-1 ring-black ring-opacity-5 overflow-hidden focus:outline-none"
|
|
13041
13041
|
}, [
|
|
13042
13042
|
i("div", y0, [
|
|
13043
|
-
|
|
13043
|
+
Ee(i("input", {
|
|
13044
13044
|
ref_key: "searchInput",
|
|
13045
13045
|
ref: u,
|
|
13046
13046
|
"onUpdate:modelValue": c[0] || (c[0] = (w) => l.value = w),
|
|
@@ -13051,7 +13051,7 @@ const tc = {
|
|
|
13051
13051
|
onKeydown: c[1] || (c[1] = ge(() => {
|
|
13052
13052
|
}, ["stop"]))
|
|
13053
13053
|
}, null, 544), [
|
|
13054
|
-
[
|
|
13054
|
+
[He, l.value]
|
|
13055
13055
|
])
|
|
13056
13056
|
]),
|
|
13057
13057
|
m.value.length > 0 ? (s(), d("div", x0, [
|
|
@@ -13319,12 +13319,12 @@ const tc = {
|
|
|
13319
13319
|
(s(!0), d(Y, null, X(e.fields, (c) => (s(), d("div", {
|
|
13320
13320
|
key: c.name
|
|
13321
13321
|
}, [
|
|
13322
|
-
c.type === "hidden" ?
|
|
13322
|
+
c.type === "hidden" ? Ee((s(), d("input", {
|
|
13323
13323
|
key: 0,
|
|
13324
13324
|
"onUpdate:modelValue": (w) => u.value[c.name] = w,
|
|
13325
13325
|
type: "hidden"
|
|
13326
13326
|
}, null, 8, V0)), [
|
|
13327
|
-
[
|
|
13327
|
+
[He, u.value[c.name]]
|
|
13328
13328
|
]) : (s(), D(Fa, {
|
|
13329
13329
|
key: 1,
|
|
13330
13330
|
id: `form-${e.entityName}-${c.name}-${Math.random().toString(36).slice(2, 5)}`,
|
|
@@ -13358,7 +13358,7 @@ const tc = {
|
|
|
13358
13358
|
O ? "border-red-500" : "border-slate-300"
|
|
13359
13359
|
]),
|
|
13360
13360
|
"aria-describedby": A
|
|
13361
|
-
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "disabled", "rows", "class", "aria-describedby"])) : c.type === "select" ? (s(), D(
|
|
13361
|
+
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "disabled", "rows", "class", "aria-describedby"])) : c.type === "select" ? (s(), D(Me, {
|
|
13362
13362
|
key: 2,
|
|
13363
13363
|
id: w,
|
|
13364
13364
|
"model-value": u.value[c.name],
|
|
@@ -13378,7 +13378,7 @@ const tc = {
|
|
|
13378
13378
|
"has-error": O,
|
|
13379
13379
|
"aria-describedby": A,
|
|
13380
13380
|
"onUpdate:modelValue": (E) => u.value[c.name] = E
|
|
13381
|
-
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : c.type === "combobox" ? (s(), D(
|
|
13381
|
+
}, null, 8, ["id", "model-value", "options", "disabled", "placeholder", "has-error", "aria-describedby", "onUpdate:modelValue"])) : c.type === "combobox" ? (s(), D(Me, {
|
|
13382
13382
|
key: 4,
|
|
13383
13383
|
id: w,
|
|
13384
13384
|
"model-value": u.value[c.name],
|
|
@@ -13399,7 +13399,7 @@ const tc = {
|
|
|
13399
13399
|
class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded",
|
|
13400
13400
|
"aria-describedby": A
|
|
13401
13401
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "disabled", "aria-describedby"]),
|
|
13402
|
-
T(
|
|
13402
|
+
T(Ne, {
|
|
13403
13403
|
for: w,
|
|
13404
13404
|
class: "ml-2 text-sm text-gray-700"
|
|
13405
13405
|
}, {
|
|
@@ -13429,7 +13429,7 @@ const tc = {
|
|
|
13429
13429
|
])
|
|
13430
13430
|
}, null, 2)
|
|
13431
13431
|
], 10, P0),
|
|
13432
|
-
T(
|
|
13432
|
+
T(Ne, {
|
|
13433
13433
|
for: w,
|
|
13434
13434
|
class: "ml-3 text-sm text-gray-700"
|
|
13435
13435
|
}, {
|
|
@@ -13453,7 +13453,7 @@ const tc = {
|
|
|
13453
13453
|
class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300",
|
|
13454
13454
|
"aria-describedby": A
|
|
13455
13455
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "value", "disabled", "aria-describedby"]),
|
|
13456
|
-
T(
|
|
13456
|
+
T(Ne, {
|
|
13457
13457
|
for: `${w}-${E.value}`,
|
|
13458
13458
|
class: "ml-2 text-sm text-gray-700"
|
|
13459
13459
|
}, {
|
|
@@ -13773,12 +13773,12 @@ const tc = {
|
|
|
13773
13773
|
(s(!0), d(Y, null, X(e.fields, (o) => (s(), d("div", {
|
|
13774
13774
|
key: o.name
|
|
13775
13775
|
}, [
|
|
13776
|
-
o.type === "hidden" ?
|
|
13776
|
+
o.type === "hidden" ? Ee((s(), d("input", {
|
|
13777
13777
|
key: 0,
|
|
13778
13778
|
"onUpdate:modelValue": (c) => l.value[o.name] = c,
|
|
13779
13779
|
type: "hidden"
|
|
13780
13780
|
}, null, 8, U0)), [
|
|
13781
|
-
[
|
|
13781
|
+
[He, l.value[o.name]]
|
|
13782
13782
|
]) : (s(), D(Fa, {
|
|
13783
13783
|
key: 1,
|
|
13784
13784
|
id: `form-${e.entityName}-${o.name}-${Math.random().toString(36).slice(2, 5)}`,
|
|
@@ -13812,7 +13812,7 @@ const tc = {
|
|
|
13812
13812
|
w ? "border-red-500" : "border-slate-300"
|
|
13813
13813
|
]),
|
|
13814
13814
|
"aria-describedby": O
|
|
13815
|
-
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "disabled", "rows", "class", "aria-describedby"])) : o.type === "select" ? (s(), D(
|
|
13815
|
+
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "placeholder", "disabled", "rows", "class", "aria-describedby"])) : o.type === "select" ? (s(), D(Me, {
|
|
13816
13816
|
key: 2,
|
|
13817
13817
|
id: c,
|
|
13818
13818
|
"model-value": l.value[o.name],
|
|
@@ -13842,7 +13842,7 @@ const tc = {
|
|
|
13842
13842
|
class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded",
|
|
13843
13843
|
"aria-describedby": O
|
|
13844
13844
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "disabled", "aria-describedby"]),
|
|
13845
|
-
T(
|
|
13845
|
+
T(Ne, {
|
|
13846
13846
|
for: c,
|
|
13847
13847
|
class: "ml-2 text-sm text-gray-700"
|
|
13848
13848
|
}, {
|
|
@@ -13872,7 +13872,7 @@ const tc = {
|
|
|
13872
13872
|
])
|
|
13873
13873
|
}, null, 2)
|
|
13874
13874
|
], 10, H0),
|
|
13875
|
-
T(
|
|
13875
|
+
T(Ne, {
|
|
13876
13876
|
for: c,
|
|
13877
13877
|
class: "ml-3 text-sm text-gray-700"
|
|
13878
13878
|
}, {
|
|
@@ -13896,7 +13896,7 @@ const tc = {
|
|
|
13896
13896
|
class: "h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300",
|
|
13897
13897
|
"aria-describedby": O
|
|
13898
13898
|
}, null, 8, ["id", "modelValue", "onUpdate:modelValue", "value", "disabled", "aria-describedby"]),
|
|
13899
|
-
T(
|
|
13899
|
+
T(Ne, {
|
|
13900
13900
|
for: `${c}-${A.value}`,
|
|
13901
13901
|
class: "ml-2 text-sm text-gray-700"
|
|
13902
13902
|
}, {
|
|
@@ -14772,7 +14772,7 @@ function sh(e, a, t, n, r, l) {
|
|
|
14772
14772
|
])
|
|
14773
14773
|
], 4);
|
|
14774
14774
|
}
|
|
14775
|
-
const lh = /* @__PURE__ */
|
|
14775
|
+
const lh = /* @__PURE__ */ rt(Pb, [["render", sh]]), oh = { class: "min-h-screen bg-gray-50" }, ih = { class: "flex-1" }, uh = {
|
|
14776
14776
|
key: 0,
|
|
14777
14777
|
class: "bg-white border-b border-gray-200"
|
|
14778
14778
|
}, dh = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, ch = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, fh = {
|
|
@@ -15307,7 +15307,7 @@ function Oh(e, a, t, n, r, l) {
|
|
|
15307
15307
|
], 2)
|
|
15308
15308
|
], 2);
|
|
15309
15309
|
}
|
|
15310
|
-
const Bh = /* @__PURE__ */
|
|
15310
|
+
const Bh = /* @__PURE__ */ rt(mh, [["render", Oh]]), Mh = {
|
|
15311
15311
|
key: 0,
|
|
15312
15312
|
class: "absolute inset-0 pointer-events-none z-10"
|
|
15313
15313
|
}, Ih = { class: "p-4 h-full" }, Eh = { class: "flex justify-between items-center mb-2" }, Fh = { class: "text-lg font-semibold text-gray-800 flex items-center gap-2" }, Lh = {
|
|
@@ -15490,28 +15490,32 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15490
15490
|
class: "widget-content overflow-auto",
|
|
15491
15491
|
style: ce({ maxHeight: `${e.gridCellSize * e.widget.rowSpan - 80}px` })
|
|
15492
15492
|
}, [
|
|
15493
|
-
e.widget.component === "StatsWidget" ? (s(), D(ve("StatsWidget"), {
|
|
15493
|
+
e.widget.component === "StatsWidget" ? (s(), D(ve("StatsWidget"), Oe({
|
|
15494
15494
|
key: 0,
|
|
15495
|
-
title: e.widget.title
|
|
15495
|
+
title: e.widget.title
|
|
15496
|
+
}, e.widget.props || {}, {
|
|
15496
15497
|
"api-config": e.widget.apiConfig
|
|
15497
|
-
}, null,
|
|
15498
|
+
}), null, 16, ["title", "api-config"])) : e.widget.component === "ChartWidget" ? (s(), D(ve("ChartWidget"), Oe({
|
|
15498
15499
|
key: 1,
|
|
15499
|
-
title: e.widget.title
|
|
15500
|
+
title: e.widget.title
|
|
15501
|
+
}, e.widget.props || {}, {
|
|
15500
15502
|
"api-config": e.widget.apiConfig
|
|
15501
|
-
}, null,
|
|
15503
|
+
}), null, 16, ["title", "api-config"])) : e.widget.component === "TableWidget" ? (s(), D(ve("TableWidget"), Oe({
|
|
15502
15504
|
key: 2,
|
|
15503
|
-
title: e.widget.title
|
|
15505
|
+
title: e.widget.title
|
|
15506
|
+
}, e.widget.props || {}, {
|
|
15504
15507
|
"api-config": e.widget.apiConfig
|
|
15505
|
-
}, null,
|
|
15508
|
+
}), null, 16, ["title", "api-config"])) : e.widget.component === "ListWidget" ? (s(), D(ve("ListWidget"), Oe({
|
|
15506
15509
|
key: 3,
|
|
15507
|
-
title: e.widget.title
|
|
15510
|
+
title: e.widget.title
|
|
15511
|
+
}, e.widget.props || {}, {
|
|
15508
15512
|
"api-config": e.widget.apiConfig
|
|
15509
|
-
}, null,
|
|
15513
|
+
}), null, 16, ["title", "api-config"])) : e.widget.component === "CardWidget" ? (s(), D(ve("CardWidget"), Oe({
|
|
15510
15514
|
key: 4,
|
|
15511
|
-
title: e.widget.title
|
|
15512
|
-
|
|
15515
|
+
title: e.widget.title
|
|
15516
|
+
}, e.widget.props || {}, {
|
|
15513
15517
|
"api-config": e.widget.apiConfig
|
|
15514
|
-
}, null,
|
|
15518
|
+
}), null, 16, ["title", "api-config"])) : e.widget.component === "Typography" ? (s(), d("div", Dh, x(e.widget.children), 1)) : e.widget.component === "Button" ? (s(), d("button", Nh, x(e.widget.children), 1)) : e.widget.component === "Card" ? (s(), d("div", _h, [
|
|
15515
15519
|
i("p", Rh, x(e.widget.children || "Card Content"), 1)
|
|
15516
15520
|
])) : e.widget.component === "Alert" ? (s(), d("div", {
|
|
15517
15521
|
key: 8,
|
|
@@ -15523,7 +15527,7 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15523
15527
|
style: ce({ width: `${e.widget.props?.value || 0}%` })
|
|
15524
15528
|
}, null, 4)
|
|
15525
15529
|
])
|
|
15526
|
-
])) : (s(), D(ve(e.widget.component), Rr(
|
|
15530
|
+
])) : (s(), D(ve(e.widget.component), Rr(Oe({ key: 10 }, e.widget.props || {})), {
|
|
15527
15531
|
default: _(() => [
|
|
15528
15532
|
ee(x(e.widget.children || ""), 1)
|
|
15529
15533
|
]),
|
|
@@ -15533,7 +15537,7 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15533
15537
|
])
|
|
15534
15538
|
], 38));
|
|
15535
15539
|
}
|
|
15536
|
-
}, Er = /* @__PURE__ */
|
|
15540
|
+
}, Er = /* @__PURE__ */ rt(Wh, [["__scopeId", "data-v-0b51a170"]]), Hh = { class: "dashboard-container" }, Yh = {
|
|
15537
15541
|
__name: "Dashboard",
|
|
15538
15542
|
props: {
|
|
15539
15543
|
widgets: {
|
|
@@ -15582,7 +15586,7 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15582
15586
|
], 4)
|
|
15583
15587
|
]));
|
|
15584
15588
|
}
|
|
15585
|
-
}, Gh = /* @__PURE__ */
|
|
15589
|
+
}, Gh = /* @__PURE__ */ rt(Yh, [["__scopeId", "data-v-dbcbd0aa"]]), Xh = { class: "stats-widget" }, Kh = { class: "flex items-center justify-between mb-4" }, Jh = { class: "text-lg font-semibold text-gray-900" }, Qh = {
|
|
15586
15590
|
key: 0,
|
|
15587
15591
|
class: "text-gray-400 animate-spin",
|
|
15588
15592
|
disabled: ""
|
|
@@ -15731,6 +15735,10 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15731
15735
|
apiConfig: {
|
|
15732
15736
|
type: Object,
|
|
15733
15737
|
default: () => ({})
|
|
15738
|
+
},
|
|
15739
|
+
data: {
|
|
15740
|
+
type: Array,
|
|
15741
|
+
default: () => []
|
|
15734
15742
|
}
|
|
15735
15743
|
},
|
|
15736
15744
|
setup(e) {
|
|
@@ -15739,6 +15747,13 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15739
15747
|
return u.value === 0 ? 0 : z / u.value * 80;
|
|
15740
15748
|
}
|
|
15741
15749
|
async function g() {
|
|
15750
|
+
if (a.data && a.data.length > 0) {
|
|
15751
|
+
t.value = a.data.map((z) => ({
|
|
15752
|
+
label: z.label || z.name || z.category,
|
|
15753
|
+
value: z.value || z.count || z.amount || 0
|
|
15754
|
+
}));
|
|
15755
|
+
return;
|
|
15756
|
+
}
|
|
15742
15757
|
if (a.apiConfig.url) {
|
|
15743
15758
|
n.value = !0, r.value = null;
|
|
15744
15759
|
try {
|
|
@@ -15829,6 +15844,10 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15829
15844
|
apiConfig: {
|
|
15830
15845
|
type: Object,
|
|
15831
15846
|
default: () => ({})
|
|
15847
|
+
},
|
|
15848
|
+
data: {
|
|
15849
|
+
type: Array,
|
|
15850
|
+
default: () => []
|
|
15832
15851
|
}
|
|
15833
15852
|
},
|
|
15834
15853
|
setup(e) {
|
|
@@ -15845,6 +15864,10 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15845
15864
|
return C == null ? "-" : typeof C == "object" ? JSON.stringify(C) : String(C);
|
|
15846
15865
|
}
|
|
15847
15866
|
async function g() {
|
|
15867
|
+
if (a.data && a.data.length > 0) {
|
|
15868
|
+
t.value = a.data;
|
|
15869
|
+
return;
|
|
15870
|
+
}
|
|
15848
15871
|
if (a.apiConfig.url) {
|
|
15849
15872
|
n.value = !0, r.value = null;
|
|
15850
15873
|
try {
|
|
@@ -15944,6 +15967,10 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15944
15967
|
apiConfig: {
|
|
15945
15968
|
type: Object,
|
|
15946
15969
|
default: () => ({})
|
|
15970
|
+
},
|
|
15971
|
+
data: {
|
|
15972
|
+
type: Array,
|
|
15973
|
+
default: () => []
|
|
15947
15974
|
}
|
|
15948
15975
|
},
|
|
15949
15976
|
setup(e) {
|
|
@@ -15952,6 +15979,10 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
15952
15979
|
return ($.title || $.name || $.label || "").split(" ").map((k) => k.charAt(0)).join("").toUpperCase().slice(0, 2) || "••";
|
|
15953
15980
|
}
|
|
15954
15981
|
async function m() {
|
|
15982
|
+
if (a.data && a.data.length > 0) {
|
|
15983
|
+
t.value = a.data;
|
|
15984
|
+
return;
|
|
15985
|
+
}
|
|
15955
15986
|
if (a.apiConfig.url) {
|
|
15956
15987
|
n.value = !0, r.value = null;
|
|
15957
15988
|
try {
|
|
@@ -16174,7 +16205,7 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
16174
16205
|
Icon: ae,
|
|
16175
16206
|
Image: Ti,
|
|
16176
16207
|
Input: he,
|
|
16177
|
-
Label:
|
|
16208
|
+
Label: Ne,
|
|
16178
16209
|
Link: Fi,
|
|
16179
16210
|
Logo: Di,
|
|
16180
16211
|
Option: Vr,
|
|
@@ -16182,7 +16213,7 @@ const Bh = /* @__PURE__ */ nt(mh, [["render", Oh]]), Mh = {
|
|
|
16182
16213
|
Progress: Ri,
|
|
16183
16214
|
ProgressBar: qi,
|
|
16184
16215
|
Radio: Ji,
|
|
16185
|
-
Select:
|
|
16216
|
+
Select: Me,
|
|
16186
16217
|
Spinner: Ia,
|
|
16187
16218
|
Switch: fu,
|
|
16188
16219
|
Text: mu,
|
|
@@ -16306,7 +16337,7 @@ export {
|
|
|
16306
16337
|
Ti as Image,
|
|
16307
16338
|
he as Input,
|
|
16308
16339
|
Od as InputGroup,
|
|
16309
|
-
|
|
16340
|
+
Ne as Label,
|
|
16310
16341
|
Uf as LineChart,
|
|
16311
16342
|
Fi as Link,
|
|
16312
16343
|
Dd as ListItem,
|
|
@@ -16326,7 +16357,7 @@ export {
|
|
|
16326
16357
|
eb as ReusableForm,
|
|
16327
16358
|
D0 as ReusableFormModal,
|
|
16328
16359
|
zc as Search,
|
|
16329
|
-
|
|
16360
|
+
Me as Select,
|
|
16330
16361
|
$b as Sidebar,
|
|
16331
16362
|
Da as Slider,
|
|
16332
16363
|
Ia as Spinner,
|