@everchron/ec-shards 8.11.2 → 8.11.3
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/ec-shards.js +178 -165
- package/dist/ec-shards.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as ee, watch as le, openBlock as o, createBlock as y, resolveDynamicComponent as Te, unref as ie, normalizeClass as v, createElementBlock as l, normalizeStyle as B, resolveComponent as p, createVNode as b, createCommentVNode as u, createElementVNode as f, createTextVNode as D, toDisplayString as x, renderSlot as m, Transition as xe, withCtx as w, computed as be, reactive as Qs, nextTick as ei, onBeforeUnmount as Pt, toRefs as ys, isRef as ti, onMounted as bs, useSlots as si, ref as Ke, watchEffect as
|
|
1
|
+
import { defineAsyncComponent as ee, watch as le, openBlock as o, createBlock as y, resolveDynamicComponent as Te, unref as ie, normalizeClass as v, createElementBlock as l, normalizeStyle as B, resolveComponent as p, createVNode as b, createCommentVNode as u, createElementVNode as f, createTextVNode as D, toDisplayString as x, renderSlot as m, Transition as xe, withCtx as w, computed as be, reactive as Qs, nextTick as ei, onBeforeUnmount as Pt, toRefs as ys, isRef as ti, onMounted as bs, useSlots as si, ref as Ke, watchEffect as kt, withKeys as G, Teleport as ii, withDirectives as Ue, vShow as pt, mergeProps as De, normalizeProps as ni, guardReactiveProps as ai, withModifiers as U, pushScopeId as ve, popScopeId as _e, Fragment as Z, renderList as ge, resolveDirective as oi, vModelText as ri, h as li, TransitionGroup as ci } from "vue";
|
|
2
2
|
const te = (e, s) => {
|
|
3
3
|
const t = e[s];
|
|
4
4
|
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((a, n) => {
|
|
@@ -762,7 +762,7 @@ function zt(e, s, t) {
|
|
|
762
762
|
}, g;
|
|
763
763
|
}
|
|
764
764
|
zt.debounce = zt;
|
|
765
|
-
var
|
|
765
|
+
var xt = zt;
|
|
766
766
|
function oe(e) {
|
|
767
767
|
if (e == null)
|
|
768
768
|
return window;
|
|
@@ -786,7 +786,7 @@ function Tt(e) {
|
|
|
786
786
|
var s = oe(e).ShadowRoot;
|
|
787
787
|
return e instanceof s || e instanceof ShadowRoot;
|
|
788
788
|
}
|
|
789
|
-
var Ne = Math.max,
|
|
789
|
+
var Ne = Math.max, ut = Math.min, He = Math.round;
|
|
790
790
|
function It() {
|
|
791
791
|
var e = navigator.userAgentData;
|
|
792
792
|
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(s) {
|
|
@@ -819,14 +819,14 @@ function Mt(e) {
|
|
|
819
819
|
scrollTop: a
|
|
820
820
|
};
|
|
821
821
|
}
|
|
822
|
-
function
|
|
822
|
+
function Ui(e) {
|
|
823
823
|
return {
|
|
824
824
|
scrollLeft: e.scrollLeft,
|
|
825
825
|
scrollTop: e.scrollTop
|
|
826
826
|
};
|
|
827
827
|
}
|
|
828
|
-
function
|
|
829
|
-
return e === oe(e) || !ce(e) ? Mt(e) :
|
|
828
|
+
function Gi(e) {
|
|
829
|
+
return e === oe(e) || !ce(e) ? Mt(e) : Ui(e);
|
|
830
830
|
}
|
|
831
831
|
function we(e) {
|
|
832
832
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
@@ -861,7 +861,7 @@ function Yi(e, s, t) {
|
|
|
861
861
|
y: 0
|
|
862
862
|
};
|
|
863
863
|
return (a || !a && !t) && ((we(s) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
864
|
-
Ot(i)) && (c =
|
|
864
|
+
Ot(i)) && (c = Gi(s)), ce(s) ? (d = qe(s, !0), d.x += s.clientLeft, d.y += s.clientTop) : i && (d.x = Lt(i))), {
|
|
865
865
|
x: r.left + c.scrollLeft - d.x,
|
|
866
866
|
y: r.top + c.scrollTop - d.y,
|
|
867
867
|
width: r.width,
|
|
@@ -877,7 +877,7 @@ function At(e) {
|
|
|
877
877
|
height: a
|
|
878
878
|
};
|
|
879
879
|
}
|
|
880
|
-
function
|
|
880
|
+
function gt(e) {
|
|
881
881
|
return we(e) === "html" ? e : (
|
|
882
882
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
883
883
|
// $FlowFixMe[incompatible-return]
|
|
@@ -890,7 +890,7 @@ function pt(e) {
|
|
|
890
890
|
);
|
|
891
891
|
}
|
|
892
892
|
function Ss(e) {
|
|
893
|
-
return ["html", "body", "#document"].indexOf(we(e)) >= 0 ? e.ownerDocument.body : ce(e) && Ot(e) ? e : Ss(
|
|
893
|
+
return ["html", "body", "#document"].indexOf(we(e)) >= 0 ? e.ownerDocument.body : ce(e) && Ot(e) ? e : Ss(gt(e));
|
|
894
894
|
}
|
|
895
895
|
function Je(e, s) {
|
|
896
896
|
var t;
|
|
@@ -898,7 +898,7 @@ function Je(e, s) {
|
|
|
898
898
|
var a = Ss(e), n = a === ((t = e.ownerDocument) == null ? void 0 : t.body), i = oe(a), r = n ? [i].concat(i.visualViewport || [], Ot(a) ? a : []) : a, c = s.concat(r);
|
|
899
899
|
return n ? c : (
|
|
900
900
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
901
|
-
c.concat(Je(
|
|
901
|
+
c.concat(Je(gt(r)))
|
|
902
902
|
);
|
|
903
903
|
}
|
|
904
904
|
function Xi(e) {
|
|
@@ -915,7 +915,7 @@ function Zi(e) {
|
|
|
915
915
|
if (a.position === "fixed")
|
|
916
916
|
return null;
|
|
917
917
|
}
|
|
918
|
-
var n =
|
|
918
|
+
var n = gt(e);
|
|
919
919
|
for (Tt(n) && (n = n.host); ce(n) && ["html", "body"].indexOf(we(n)) < 0; ) {
|
|
920
920
|
var i = Ee(n);
|
|
921
921
|
if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || s && i.willChange === "filter" || s && i.filter && i.filter !== "none")
|
|
@@ -1036,7 +1036,7 @@ function ss(e, s, t) {
|
|
|
1036
1036
|
return s === Cs ? Et(mn(e, t)) : Fe(s) ? vn(s, t) : Et(hn(Le(e)));
|
|
1037
1037
|
}
|
|
1038
1038
|
function _n(e) {
|
|
1039
|
-
var s = Je(
|
|
1039
|
+
var s = Je(gt(e)), t = ["absolute", "fixed"].indexOf(Ee(e).position) >= 0, a = t && ce(e) ? tt(e) : e;
|
|
1040
1040
|
return Fe(a) ? s.filter(function(n) {
|
|
1041
1041
|
return Fe(n) && zs(n, a) && we(n) !== "body";
|
|
1042
1042
|
}) : [];
|
|
@@ -1044,7 +1044,7 @@ function _n(e) {
|
|
|
1044
1044
|
function yn(e, s, t, a) {
|
|
1045
1045
|
var n = s === "clippingParents" ? _n(e) : [].concat(s), i = [].concat(n, [t]), r = i[0], c = i.reduce(function(d, g) {
|
|
1046
1046
|
var h = ss(e, g, a);
|
|
1047
|
-
return d.top = Ne(h.top, d.top), d.right =
|
|
1047
|
+
return d.top = Ne(h.top, d.top), d.right = ut(h.right, d.right), d.bottom = ut(h.bottom, d.bottom), d.left = Ne(h.left, d.left), d;
|
|
1048
1048
|
}, ss(e, r, a));
|
|
1049
1049
|
return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
|
|
1050
1050
|
}
|
|
@@ -1427,7 +1427,7 @@ function Ln(e) {
|
|
|
1427
1427
|
return e === "x" ? "y" : "x";
|
|
1428
1428
|
}
|
|
1429
1429
|
function Qe(e, s, t) {
|
|
1430
|
-
return Ne(e,
|
|
1430
|
+
return Ne(e, ut(s, t));
|
|
1431
1431
|
}
|
|
1432
1432
|
function On(e, s, t) {
|
|
1433
1433
|
var a = Qe(e, s, t);
|
|
@@ -1456,11 +1456,11 @@ function An(e) {
|
|
|
1456
1456
|
var K, Be = T === "y" ? ne : ae, ue = T === "y" ? me : he, Y = T === "y" ? "height" : "width", J = E[T], ye = J + P[Be], ze = J - P[ue], X = I ? -F[Y] / 2 : 0, re = V === We ? N[Y] : F[Y], $e = V === We ? -F[Y] : -N[Y], nt = s.elements.arrow, Ve = I && nt ? At(nt) : {
|
|
1457
1457
|
width: 0,
|
|
1458
1458
|
height: 0
|
|
1459
|
-
}, Pe = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : Es(),
|
|
1460
|
-
E[T] =
|
|
1459
|
+
}, Pe = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : Es(), Ge = Pe[Be], at = Pe[ue], Oe = Qe(0, N[Y], Ve[Y]), _t = R ? N[Y] / 2 - X - Oe - Ge - W.mainAxis : re - Oe - Ge - W.mainAxis, Gs = R ? -N[Y] / 2 + X + Oe + at + W.mainAxis : $e + Oe + at + W.mainAxis, yt = s.elements.arrow && tt(s.elements.arrow), Ks = yt ? T === "y" ? yt.clientTop || 0 : yt.clientLeft || 0 : 0, jt = (K = j == null ? void 0 : j[T]) != null ? K : 0, Ys = J + _t - jt - Ks, Xs = J + Gs - jt, Ut = Qe(I ? ut(ye, Ys) : ye, J, I ? Ne(ze, Xs) : ze);
|
|
1460
|
+
E[T] = Ut, Q[T] = Ut - J;
|
|
1461
1461
|
}
|
|
1462
1462
|
if (c) {
|
|
1463
|
-
var
|
|
1463
|
+
var Gt, Zs = T === "x" ? ne : ae, Js = T === "x" ? me : he, Ae = E[A], ot = A === "y" ? "height" : "width", Kt = Ae + P[Zs], Yt = Ae - P[Js], bt = [ne, ae].indexOf(O) !== -1, Xt = (Gt = j == null ? void 0 : j[A]) != null ? Gt : 0, Zt = bt ? Kt : Ae - N[ot] - F[ot] - Xt + W.altAxis, Jt = bt ? Ae + N[ot] + F[ot] - Xt - W.altAxis : Yt, Qt = I && bt ? On(Zt, Ae, Jt) : Qe(I ? Zt : Kt, Ae, I ? Jt : Yt);
|
|
1464
1464
|
E[A] = Qt, Q[A] = Qt - Ae;
|
|
1465
1465
|
}
|
|
1466
1466
|
s.modifiersData[a] = Q;
|
|
@@ -1479,7 +1479,7 @@ var Dn = {
|
|
|
1479
1479
|
bottom: "top",
|
|
1480
1480
|
top: "bottom"
|
|
1481
1481
|
};
|
|
1482
|
-
function
|
|
1482
|
+
function dt(e) {
|
|
1483
1483
|
return e.replace(/left|right|bottom|top/g, function(s) {
|
|
1484
1484
|
return Dn[s];
|
|
1485
1485
|
});
|
|
@@ -1516,13 +1516,13 @@ function Rn(e, s) {
|
|
|
1516
1516
|
function Vn(e) {
|
|
1517
1517
|
if (ke(e) === Nt)
|
|
1518
1518
|
return [];
|
|
1519
|
-
var s =
|
|
1519
|
+
var s = dt(e);
|
|
1520
1520
|
return [os(e), s, os(s)];
|
|
1521
1521
|
}
|
|
1522
1522
|
function Hn(e) {
|
|
1523
1523
|
var s = e.state, t = e.options, a = e.name;
|
|
1524
1524
|
if (!s.modifiersData[a]._skip) {
|
|
1525
|
-
for (var n = t.mainAxis, i = n === void 0 ? !0 : n, r = t.altAxis, c = r === void 0 ? !0 : r, d = t.fallbackPlacements, g = t.padding, h = t.boundary, k = t.rootBoundary, z = t.altBoundary, I = t.flipVariations, C = I === void 0 ? !0 : I, $ = t.allowedAutoPlacements, P = s.options.placement, O = ke(P), V = O === P, R = d || (V || !C ? [
|
|
1525
|
+
for (var n = t.mainAxis, i = n === void 0 ? !0 : n, r = t.altAxis, c = r === void 0 ? !0 : r, d = t.fallbackPlacements, g = t.padding, h = t.boundary, k = t.rootBoundary, z = t.altBoundary, I = t.flipVariations, C = I === void 0 ? !0 : I, $ = t.allowedAutoPlacements, P = s.options.placement, O = ke(P), V = O === P, R = d || (V || !C ? [dt(P)] : Vn(P)), T = [P].concat(R).reduce(function(Ve, Pe) {
|
|
1526
1526
|
return Ve.concat(ke(Pe) === Nt ? Rn(s, {
|
|
1527
1527
|
placement: Pe,
|
|
1528
1528
|
boundary: h,
|
|
@@ -1539,8 +1539,8 @@ function Hn(e) {
|
|
|
1539
1539
|
altBoundary: z,
|
|
1540
1540
|
padding: g
|
|
1541
1541
|
}), J = Be ? K ? he : ae : K ? me : ne;
|
|
1542
|
-
A[ue] > E[ue] && (J =
|
|
1543
|
-
var ye =
|
|
1542
|
+
A[ue] > E[ue] && (J = dt(J));
|
|
1543
|
+
var ye = dt(J), ze = [];
|
|
1544
1544
|
if (i && ze.push(Y[Q] <= 0), c && ze.push(Y[J] <= 0, Y[ye] <= 0), ze.every(function(Ve) {
|
|
1545
1545
|
return Ve;
|
|
1546
1546
|
})) {
|
|
@@ -1551,15 +1551,15 @@ function Hn(e) {
|
|
|
1551
1551
|
}
|
|
1552
1552
|
if (F)
|
|
1553
1553
|
for (var X = C ? 3 : 1, re = function(Pe) {
|
|
1554
|
-
var
|
|
1554
|
+
var Ge = T.find(function(at) {
|
|
1555
1555
|
var Oe = N.get(at);
|
|
1556
1556
|
if (Oe)
|
|
1557
|
-
return Oe.slice(0, Pe).every(function(
|
|
1558
|
-
return
|
|
1557
|
+
return Oe.slice(0, Pe).every(function(_t) {
|
|
1558
|
+
return _t;
|
|
1559
1559
|
});
|
|
1560
1560
|
});
|
|
1561
|
-
if (
|
|
1562
|
-
return q =
|
|
1561
|
+
if (Ge)
|
|
1562
|
+
return q = Ge, "break";
|
|
1563
1563
|
}, $e = X; $e > 0; $e--) {
|
|
1564
1564
|
var nt = re($e);
|
|
1565
1565
|
if (nt === "break")
|
|
@@ -1596,14 +1596,14 @@ function jn(e) {
|
|
|
1596
1596
|
}, {}), c = r[s.placement], d = c.x, g = c.y;
|
|
1597
1597
|
s.modifiersData.popperOffsets != null && (s.modifiersData.popperOffsets.x += d, s.modifiersData.popperOffsets.y += g), s.modifiersData[a] = r;
|
|
1598
1598
|
}
|
|
1599
|
-
const
|
|
1599
|
+
const Un = {
|
|
1600
1600
|
name: "offset",
|
|
1601
1601
|
enabled: !0,
|
|
1602
1602
|
phase: "main",
|
|
1603
1603
|
requires: ["popperOffsets"],
|
|
1604
1604
|
fn: jn
|
|
1605
1605
|
};
|
|
1606
|
-
var
|
|
1606
|
+
var Gn = function(s, t) {
|
|
1607
1607
|
return s = typeof s == "function" ? s(Object.assign({}, t.rects, {
|
|
1608
1608
|
placement: t.placement
|
|
1609
1609
|
})) : s, $s(typeof s != "number" ? s : Ps(s, st));
|
|
@@ -1611,7 +1611,7 @@ var Un = function(s, t) {
|
|
|
1611
1611
|
function Kn(e) {
|
|
1612
1612
|
var s, t = e.state, a = e.name, n = e.options, i = t.elements.arrow, r = t.modifiersData.popperOffsets, c = ke(t.placement), d = Dt(c), g = [ae, he].indexOf(c) >= 0, h = g ? "height" : "width";
|
|
1613
1613
|
if (!(!i || !r)) {
|
|
1614
|
-
var k =
|
|
1614
|
+
var k = Gn(n.padding, t), z = At(i), I = d === "y" ? ne : ae, C = d === "y" ? me : he, $ = t.rects.reference[h] + t.rects.reference[d] - r[d] - t.rects.popper[h], P = r[d] - t.rects.reference[d], O = tt(i), V = O ? d === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, R = $ / 2 - P / 2, T = k[I], A = V - z[h] - k[C], E = V / 2 - z[h] / 2 + R, N = Qe(T, E, A), F = d;
|
|
1615
1615
|
t.modifiersData[a] = (s = {}, s[F] = N, s.centerOffset = N - E, s);
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
@@ -1627,7 +1627,7 @@ const Xn = {
|
|
|
1627
1627
|
effect: Yn,
|
|
1628
1628
|
requires: ["popperOffsets"],
|
|
1629
1629
|
requiresIfExists: ["preventOverflow"]
|
|
1630
|
-
},
|
|
1630
|
+
}, wt = (e) => parseInt(e, 10);
|
|
1631
1631
|
function Zn({
|
|
1632
1632
|
arrowPadding: e,
|
|
1633
1633
|
emit: s,
|
|
@@ -1669,14 +1669,14 @@ function Zn({
|
|
|
1669
1669
|
{
|
|
1670
1670
|
name: "arrow",
|
|
1671
1671
|
options: {
|
|
1672
|
-
padding:
|
|
1672
|
+
padding: wt(e.value)
|
|
1673
1673
|
}
|
|
1674
1674
|
},
|
|
1675
|
-
|
|
1675
|
+
Un,
|
|
1676
1676
|
{
|
|
1677
1677
|
name: "offset",
|
|
1678
1678
|
options: {
|
|
1679
|
-
offset: [
|
|
1679
|
+
offset: [wt(n.value), wt(a.value)]
|
|
1680
1680
|
}
|
|
1681
1681
|
}
|
|
1682
1682
|
]
|
|
@@ -1894,7 +1894,7 @@ const na = ["onKeyup", "aria-open"], aa = {
|
|
|
1894
1894
|
be(
|
|
1895
1895
|
() => O.value ? `border: ${R.value}px solid transparent; margin: -${R.value}px;` : null
|
|
1896
1896
|
);
|
|
1897
|
-
const ue =
|
|
1897
|
+
const ue = xt.debounce(q, A.value), Y = xt.debounce(W, I.value), J = async () => {
|
|
1898
1898
|
Q.value || j.value || (Y.clear(), r.value = !0, ue());
|
|
1899
1899
|
}, ye = async () => {
|
|
1900
1900
|
j.value || (ue.clear(), r.value = !1, Y());
|
|
@@ -1904,16 +1904,16 @@ const na = ["onKeyup", "aria-open"], aa = {
|
|
|
1904
1904
|
return le([h, P], ([X, re]) => {
|
|
1905
1905
|
F.value && (!X || re) && W();
|
|
1906
1906
|
}), le(F, (X) => {
|
|
1907
|
-
X ? g.value = !0 :
|
|
1907
|
+
X ? g.value = !0 : xt.debounce(() => {
|
|
1908
1908
|
g.value = !1;
|
|
1909
1909
|
}, 200);
|
|
1910
|
-
}),
|
|
1910
|
+
}), kt(() => {
|
|
1911
1911
|
j.value && (N.value ? ue() : Y());
|
|
1912
|
-
}),
|
|
1912
|
+
}), kt(() => {
|
|
1913
1913
|
Be.value && Qn(c, ye);
|
|
1914
1914
|
}), le(C, (X) => {
|
|
1915
1915
|
X ? h.value = !0 : h.value = !1;
|
|
1916
|
-
}),
|
|
1916
|
+
}), kt(() => {
|
|
1917
1917
|
c.value && n.observe(c.value, {
|
|
1918
1918
|
childList: !0,
|
|
1919
1919
|
subtree: !0
|
|
@@ -1928,7 +1928,7 @@ const na = ["onKeyup", "aria-open"], aa = {
|
|
|
1928
1928
|
onMouseover: re[0] || (re[0] = ($e) => e.hover && J()),
|
|
1929
1929
|
onClick: ze,
|
|
1930
1930
|
onFocus: J,
|
|
1931
|
-
onKeyup:
|
|
1931
|
+
onKeyup: G(ye, ["esc"]),
|
|
1932
1932
|
"aria-describedby": i,
|
|
1933
1933
|
"aria-open": r.value || null,
|
|
1934
1934
|
class: "ecs-popover-trigger"
|
|
@@ -1938,7 +1938,7 @@ const na = ["onKeyup", "aria-open"], aa = {
|
|
|
1938
1938
|
(o(), y(ii, { to: "body" }, [
|
|
1939
1939
|
b(xe, { name: "fade" }, {
|
|
1940
1940
|
default: w(() => [
|
|
1941
|
-
e.persistent || r.value ?
|
|
1941
|
+
e.persistent || r.value ? Ue((o(), l("div", {
|
|
1942
1942
|
key: 0,
|
|
1943
1943
|
onClick: re[1] || (re[1] = ($e) => !ie(O) && ye()),
|
|
1944
1944
|
class: "ecs-popover popper",
|
|
@@ -1954,7 +1954,7 @@ const na = ["onKeyup", "aria-open"], aa = {
|
|
|
1954
1954
|
], !0),
|
|
1955
1955
|
e.arrow ? (o(), y(ia, { key: 0 })) : u("", !0)
|
|
1956
1956
|
], 512)), [
|
|
1957
|
-
[
|
|
1957
|
+
[pt, K.value]
|
|
1958
1958
|
]) : u("", !0)
|
|
1959
1959
|
]),
|
|
1960
1960
|
_: 3
|
|
@@ -2284,7 +2284,7 @@ function ya(e, s, t, a, n, i) {
|
|
|
2284
2284
|
required: t.required || null,
|
|
2285
2285
|
disabled: t.disabled || null,
|
|
2286
2286
|
checked: n.checked || null,
|
|
2287
|
-
onClick: s[0] || (s[0] =
|
|
2287
|
+
onClick: s[0] || (s[0] = U((d) => e.$emit("shiftClick", d), ["shift"])),
|
|
2288
2288
|
onChange: s[1] || (s[1] = (...d) => i.handleClick && i.handleClick(...d))
|
|
2289
2289
|
}, null, 42, va),
|
|
2290
2290
|
f("label", {
|
|
@@ -2959,12 +2959,12 @@ const ja = {
|
|
|
2959
2959
|
this.$emit("secondaryClick");
|
|
2960
2960
|
}
|
|
2961
2961
|
}
|
|
2962
|
-
},
|
|
2962
|
+
}, Ua = {
|
|
2963
2963
|
key: 0,
|
|
2964
2964
|
class: "ecs-popover-list-item control no-hover",
|
|
2965
2965
|
role: "menuitem",
|
|
2966
2966
|
tabindex: "-1"
|
|
2967
|
-
},
|
|
2967
|
+
}, Ga = {
|
|
2968
2968
|
key: 0,
|
|
2969
2969
|
class: "after"
|
|
2970
2970
|
}, Ka = {
|
|
@@ -3005,7 +3005,7 @@ const ja = {
|
|
|
3005
3005
|
function co(e, s, t, a, n, i) {
|
|
3006
3006
|
const r = p("ecs-checkbox"), c = p("ecs-radiobutton"), d = p("ecs-switch"), g = p("ecs-sortbutton"), h = p("ecs-focus-ring"), k = p("ecs-icon"), z = p("ecs-file-icon"), I = p("ecs-button");
|
|
3007
3007
|
return o(), l("li", null, [
|
|
3008
|
-
t.type === "checkbox" ? (o(), l("div",
|
|
3008
|
+
t.type === "checkbox" ? (o(), l("div", Ua, [
|
|
3009
3009
|
b(r, {
|
|
3010
3010
|
onInput: s[0] || (s[0] = (C) => e.$emit("input", C)),
|
|
3011
3011
|
disabled: t.disabled || null,
|
|
@@ -3019,7 +3019,7 @@ function co(e, s, t, a, n, i) {
|
|
|
3019
3019
|
]),
|
|
3020
3020
|
_: 3
|
|
3021
3021
|
}, 8, ["disabled", "value", "value-false", "value-true", "indeterminate"]),
|
|
3022
|
-
t.suffix ? (o(), l("span",
|
|
3022
|
+
t.suffix ? (o(), l("span", Ga, x(t.suffix), 1)) : u("", !0)
|
|
3023
3023
|
])) : t.type === "radiobutton" ? (o(), l("div", Ka, [
|
|
3024
3024
|
b(c, {
|
|
3025
3025
|
onChange: s[1] || (s[1] = (C) => e.$emit("change", C)),
|
|
@@ -3097,7 +3097,7 @@ function co(e, s, t, a, n, i) {
|
|
|
3097
3097
|
]),
|
|
3098
3098
|
i.secondaryActionOptions.show ? (o(), y(I, {
|
|
3099
3099
|
key: 0,
|
|
3100
|
-
onClick:
|
|
3100
|
+
onClick: U(i.handleSecondaryClick, ["stop"]),
|
|
3101
3101
|
onMouseover: s[4] || (s[4] = (C) => n.preventHover = !n.preventHover),
|
|
3102
3102
|
onMouseleave: s[5] || (s[5] = (C) => n.preventHover = !n.preventHover),
|
|
3103
3103
|
size: "sml",
|
|
@@ -3149,7 +3149,7 @@ function co(e, s, t, a, n, i) {
|
|
|
3149
3149
|
]),
|
|
3150
3150
|
i.secondaryActionOptions.show ? (o(), y(I, {
|
|
3151
3151
|
key: 0,
|
|
3152
|
-
onClick:
|
|
3152
|
+
onClick: U(i.handleSecondaryClick, ["stop"]),
|
|
3153
3153
|
onMouseover: s[7] || (s[7] = (C) => n.preventHover = !n.preventHover),
|
|
3154
3154
|
onMouseleave: s[8] || (s[8] = (C) => n.preventHover = !n.preventHover),
|
|
3155
3155
|
size: "sml",
|
|
@@ -3348,7 +3348,7 @@ function mo(e, s, t, a, n, i) {
|
|
|
3348
3348
|
b(c)
|
|
3349
3349
|
], 10, go));
|
|
3350
3350
|
}
|
|
3351
|
-
const
|
|
3351
|
+
const mt = /* @__PURE__ */ _(fo, [["render", mo], ["__scopeId", "data-v-72592c75"]]);
|
|
3352
3352
|
const ho = {
|
|
3353
3353
|
name: "ecs-separator",
|
|
3354
3354
|
props: {
|
|
@@ -3406,7 +3406,7 @@ const _o = /* @__PURE__ */ _(ho, [["render", vo], ["__scopeId", "data-v-6c95c339
|
|
|
3406
3406
|
const yo = {
|
|
3407
3407
|
name: "ecs-bulk-selector",
|
|
3408
3408
|
emits: ["select", "families", "checked", "popover-shown", "popover-hidden"],
|
|
3409
|
-
components: { EcsFlexRow: Me, EcsPopover: Ts, EcsPopoverList: ua, EcsPopoverListItem: uo, EcsButtonToolbar:
|
|
3409
|
+
components: { EcsFlexRow: Me, EcsPopover: Ts, EcsPopoverList: ua, EcsPopoverListItem: uo, EcsButtonToolbar: mt, EcsCheckbox: Vt, EcsSeparator: _o },
|
|
3410
3410
|
props: {
|
|
3411
3411
|
/** Array of available select options that should show up in the dropdown. Needs to contain objects for each popover-list-item, */
|
|
3412
3412
|
options: {
|
|
@@ -3618,13 +3618,13 @@ function zo(e, s, t, a, n, i) {
|
|
|
3618
3618
|
], 10, Bo);
|
|
3619
3619
|
}
|
|
3620
3620
|
const Os = /* @__PURE__ */ _(Co, [["render", zo], ["__scopeId", "data-v-3fdbdfeb"]]);
|
|
3621
|
-
function
|
|
3621
|
+
function ft(e) {
|
|
3622
3622
|
"@babel/helpers - typeof";
|
|
3623
|
-
return
|
|
3623
|
+
return ft = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
|
|
3624
3624
|
return typeof s;
|
|
3625
3625
|
} : function(s) {
|
|
3626
3626
|
return s && typeof Symbol == "function" && s.constructor === Symbol && s !== Symbol.prototype ? "symbol" : typeof s;
|
|
3627
|
-
},
|
|
3627
|
+
}, ft(e);
|
|
3628
3628
|
}
|
|
3629
3629
|
var Io = /^\s+/, Eo = /\s+$/;
|
|
3630
3630
|
function S(e, s) {
|
|
@@ -3726,7 +3726,7 @@ S.prototype = {
|
|
|
3726
3726
|
return this._a == 1 ? "rgb(" + Math.round(H(this._r, 255) * 100) + "%, " + Math.round(H(this._g, 255) * 100) + "%, " + Math.round(H(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(H(this._r, 255) * 100) + "%, " + Math.round(H(this._g, 255) * 100) + "%, " + Math.round(H(this._b, 255) * 100) + "%, " + this._roundA + ")";
|
|
3727
3727
|
},
|
|
3728
3728
|
toName: function() {
|
|
3729
|
-
return this._a === 0 ? "transparent" : this._a < 1 ? !1 :
|
|
3729
|
+
return this._a === 0 ? "transparent" : this._a < 1 ? !1 : Uo[cs(this._r, this._g, this._b, !0)] || !1;
|
|
3730
3730
|
},
|
|
3731
3731
|
toFilter: function(s) {
|
|
3732
3732
|
var t = "#" + ds(this._r, this._g, this._b, this._a), a = t, n = this._gradientType ? "GradientType = 1, " : "";
|
|
@@ -3797,7 +3797,7 @@ S.prototype = {
|
|
|
3797
3797
|
}
|
|
3798
3798
|
};
|
|
3799
3799
|
S.fromRatio = function(e, s) {
|
|
3800
|
-
if (
|
|
3800
|
+
if (ft(e) == "object") {
|
|
3801
3801
|
var t = {};
|
|
3802
3802
|
for (var a in e)
|
|
3803
3803
|
e.hasOwnProperty(a) && (a === "a" ? t[a] = e[a] : t[a] = Ze(e[a]));
|
|
@@ -3811,7 +3811,7 @@ function $o(e) {
|
|
|
3811
3811
|
g: 0,
|
|
3812
3812
|
b: 0
|
|
3813
3813
|
}, t = 1, a = null, n = null, i = null, r = !1, c = !1;
|
|
3814
|
-
return typeof e == "string" && (e = Xo(e)),
|
|
3814
|
+
return typeof e == "string" && (e = Xo(e)), ft(e) == "object" && (Ie(e.r) && Ie(e.g) && Ie(e.b) ? (s = Po(e.r, e.g, e.b), r = !0, c = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Ie(e.h) && Ie(e.s) && Ie(e.v) ? (a = Ze(e.s), n = Ze(e.v), s = Mo(e.h, a, n), r = !0, c = "hsv") : Ie(e.h) && Ie(e.s) && Ie(e.l) && (a = Ze(e.s), i = Ze(e.l), s = To(e.h, a, i), r = !0, c = "hsl"), e.hasOwnProperty("a") && (t = e.a)), t = As(t), {
|
|
3815
3815
|
ok: r,
|
|
3816
3816
|
format: e.format || c,
|
|
3817
3817
|
r: Math.min(255, Math.max(s.r, 0)),
|
|
@@ -3930,12 +3930,12 @@ S.random = function() {
|
|
|
3930
3930
|
function Oo(e, s) {
|
|
3931
3931
|
s = s === 0 ? 0 : s || 10;
|
|
3932
3932
|
var t = S(e).toHsl();
|
|
3933
|
-
return t.s -= s / 100, t.s =
|
|
3933
|
+
return t.s -= s / 100, t.s = ht(t.s), S(t);
|
|
3934
3934
|
}
|
|
3935
3935
|
function Ao(e, s) {
|
|
3936
3936
|
s = s === 0 ? 0 : s || 10;
|
|
3937
3937
|
var t = S(e).toHsl();
|
|
3938
|
-
return t.s += s / 100, t.s =
|
|
3938
|
+
return t.s += s / 100, t.s = ht(t.s), S(t);
|
|
3939
3939
|
}
|
|
3940
3940
|
function No(e) {
|
|
3941
3941
|
return S(e).desaturate(100);
|
|
@@ -3943,7 +3943,7 @@ function No(e) {
|
|
|
3943
3943
|
function Do(e, s) {
|
|
3944
3944
|
s = s === 0 ? 0 : s || 10;
|
|
3945
3945
|
var t = S(e).toHsl();
|
|
3946
|
-
return t.l += s / 100, t.l =
|
|
3946
|
+
return t.l += s / 100, t.l = ht(t.l), S(t);
|
|
3947
3947
|
}
|
|
3948
3948
|
function Fo(e, s) {
|
|
3949
3949
|
s = s === 0 ? 0 : s || 10;
|
|
@@ -3953,7 +3953,7 @@ function Fo(e, s) {
|
|
|
3953
3953
|
function Ro(e, s) {
|
|
3954
3954
|
s = s === 0 ? 0 : s || 10;
|
|
3955
3955
|
var t = S(e).toHsl();
|
|
3956
|
-
return t.l -= s / 100, t.l =
|
|
3956
|
+
return t.l -= s / 100, t.l = ht(t.l), S(t);
|
|
3957
3957
|
}
|
|
3958
3958
|
function Vo(e, s) {
|
|
3959
3959
|
var t = S(e).toHsl(), a = (t.h + s) % 360;
|
|
@@ -4193,8 +4193,8 @@ var $t = S.names = {
|
|
|
4193
4193
|
whitesmoke: "f5f5f5",
|
|
4194
4194
|
yellow: "ff0",
|
|
4195
4195
|
yellowgreen: "9acd32"
|
|
4196
|
-
},
|
|
4197
|
-
function
|
|
4196
|
+
}, Uo = S.hexNames = Go($t);
|
|
4197
|
+
function Go(e) {
|
|
4198
4198
|
var s = {};
|
|
4199
4199
|
for (var t in e)
|
|
4200
4200
|
e.hasOwnProperty(t) && (s[e[t]] = t);
|
|
@@ -4208,7 +4208,7 @@ function H(e, s) {
|
|
|
4208
4208
|
var t = Yo(e);
|
|
4209
4209
|
return e = Math.min(s, Math.max(0, parseFloat(e))), t && (e = parseInt(e * s, 10) / 100), Math.abs(e - s) < 1e-6 ? 1 : e % s / parseFloat(s);
|
|
4210
4210
|
}
|
|
4211
|
-
function
|
|
4211
|
+
function ht(e) {
|
|
4212
4212
|
return Math.min(1, Math.max(0, e));
|
|
4213
4213
|
}
|
|
4214
4214
|
function se(e) {
|
|
@@ -4838,7 +4838,7 @@ function Er(e, s, t, a, n, i) {
|
|
|
4838
4838
|
onKeyup: s[0] || (s[0] = (...c) => i.onInput && i.onInput(...c)),
|
|
4839
4839
|
onBlur: s[1] || (s[1] = (c) => e.$emit("blur", c)),
|
|
4840
4840
|
onFocus: s[2] || (s[2] = (c) => e.$emit("focus", c)),
|
|
4841
|
-
onKeydown: s[3] || (s[3] = U(
|
|
4841
|
+
onKeydown: s[3] || (s[3] = G(U(() => {
|
|
4842
4842
|
}, ["prevent"]), ["enter"])),
|
|
4843
4843
|
contenteditable: t.editable
|
|
4844
4844
|
}, null, 42, Ir),
|
|
@@ -4982,7 +4982,7 @@ const Tr = {
|
|
|
4982
4982
|
}, Mr = ["id"], Lr = ["onClick", "role", "tabindex", "aria-disabled"], Or = { key: 1 };
|
|
4983
4983
|
function Ar(e, s, t, a, n, i) {
|
|
4984
4984
|
const r = p("ecs-icon"), c = p("ecs-button"), d = p("ecs-focus-ring"), g = oi("click-out-side");
|
|
4985
|
-
return
|
|
4985
|
+
return Ue((o(), l("div", {
|
|
4986
4986
|
class: v(["ecs-context-menu", n.opened ? " opened" : ""]),
|
|
4987
4987
|
id: t.elementId,
|
|
4988
4988
|
style: B([i.postionStyles])
|
|
@@ -4992,15 +4992,15 @@ function Ar(e, s, t, a, n, i) {
|
|
|
4992
4992
|
"aria-orientation": "vertical",
|
|
4993
4993
|
tabindex: "0",
|
|
4994
4994
|
onKeydown: [
|
|
4995
|
-
s[0] || (s[0] = U(
|
|
4996
|
-
s[1] || (s[1] = U(
|
|
4995
|
+
s[0] || (s[0] = G(U((...h) => i.focusPrevious && i.focusPrevious(...h), ["prevent"]), ["up"])),
|
|
4996
|
+
s[1] || (s[1] = G(U((...h) => i.focusNext && i.focusNext(...h), ["prevent"]), ["down"]))
|
|
4997
4997
|
],
|
|
4998
4998
|
ref: "menu",
|
|
4999
4999
|
id: "my-menu"
|
|
5000
5000
|
}, [
|
|
5001
5001
|
(o(!0), l(Z, null, ge(t.options, (h, k) => (o(), l("li", {
|
|
5002
5002
|
key: k,
|
|
5003
|
-
onClick:
|
|
5003
|
+
onClick: U((z) => i.optionClicked(h), ["stop"]),
|
|
5004
5004
|
role: h.type === "divider" ? "separator" : "menuitem",
|
|
5005
5005
|
tabindex: h.type === "divider" || h.disabled ? "-1" : "0",
|
|
5006
5006
|
"aria-disabled": h.disabled || null,
|
|
@@ -5018,7 +5018,7 @@ function Ar(e, s, t, a, n, i) {
|
|
|
5018
5018
|
h.type != "divider" ? (o(), l("span", Or, x(h.name), 1)) : u("", !0),
|
|
5019
5019
|
h.nested ? (o(), y(c, {
|
|
5020
5020
|
key: 2,
|
|
5021
|
-
onClick:
|
|
5021
|
+
onClick: U((z) => i.optionClicked(h.nested), ["stop"]),
|
|
5022
5022
|
icon: h.nested.icon,
|
|
5023
5023
|
title: h.nested.name,
|
|
5024
5024
|
"aria-label": h.nested.name,
|
|
@@ -5169,7 +5169,7 @@ function qr(e, s, t, a, n, i) {
|
|
|
5169
5169
|
}, null, 8, ["class", "title", "aria-label"])) : u("", !0),
|
|
5170
5170
|
f("h3", {
|
|
5171
5171
|
onClick: s[1] || (s[1] = (...g) => i.toggleCollapse && i.toggleCollapse(...g)),
|
|
5172
|
-
onKeydown: s[2] || (s[2] = U(
|
|
5172
|
+
onKeydown: s[2] || (s[2] = G(U((...g) => i.toggleCollapse && i.toggleCollapse(...g), ["prevent"]), ["space"])),
|
|
5173
5173
|
role: "button",
|
|
5174
5174
|
class: v(["ecs-collapsable-headline", [t.headlineBold ? "ecs-headline-section-bold" : "ecs-headline-section", n.isVisible ? "" : "collapsed"]]),
|
|
5175
5175
|
tabindex: "0",
|
|
@@ -5285,10 +5285,10 @@ const Wr = {
|
|
|
5285
5285
|
created() {
|
|
5286
5286
|
this.expandId = this.generateUniqueId();
|
|
5287
5287
|
}
|
|
5288
|
-
}, jr = ["tabindex", "role", "aria-expanded", "aria-controls"],
|
|
5288
|
+
}, jr = ["tabindex", "role", "aria-expanded", "aria-controls"], Ur = {
|
|
5289
5289
|
key: 1,
|
|
5290
5290
|
class: "description"
|
|
5291
|
-
},
|
|
5291
|
+
}, Gr = ["title"], Kr = { key: 0 }, Yr = ["id", "aria-hidden"];
|
|
5292
5292
|
function Xr(e, s, t, a, n, i) {
|
|
5293
5293
|
const r = p("ecs-focus-ring"), c = p("ecs-icon");
|
|
5294
5294
|
return o(), l("div", {
|
|
@@ -5301,8 +5301,8 @@ function Xr(e, s, t, a, n, i) {
|
|
|
5301
5301
|
f("div", {
|
|
5302
5302
|
onClick: s[2] || (s[2] = (...d) => i.toggleCollapse && i.toggleCollapse(...d)),
|
|
5303
5303
|
onKeydown: [
|
|
5304
|
-
s[3] || (s[3] = U(
|
|
5305
|
-
s[4] || (s[4] = U(
|
|
5304
|
+
s[3] || (s[3] = G(U((...d) => i.toggleCollapse && i.toggleCollapse(...d), ["prevent"]), ["enter"])),
|
|
5305
|
+
s[4] || (s[4] = G(U((...d) => i.toggleCollapse && i.toggleCollapse(...d), ["prevent"]), ["space"]))
|
|
5306
5306
|
],
|
|
5307
5307
|
class: v(["ecs-collection-control-header", [
|
|
5308
5308
|
n.isVisible || t.nonInteractive ? "" : "collapsed",
|
|
@@ -5320,7 +5320,7 @@ function Xr(e, s, t, a, n, i) {
|
|
|
5320
5320
|
color: "#858E9E",
|
|
5321
5321
|
size: i.iconSize
|
|
5322
5322
|
}, null, 8, ["type", "size"])) : u("", !0),
|
|
5323
|
-
t.label ? (o(), l("div",
|
|
5323
|
+
t.label ? (o(), l("div", Ur, x(t.label), 1)) : u("", !0),
|
|
5324
5324
|
f("div", {
|
|
5325
5325
|
class: "collection",
|
|
5326
5326
|
onMouseover: s[0] || (s[0] = (...d) => i.toggleTooltip && i.toggleTooltip(...d)),
|
|
@@ -5332,7 +5332,7 @@ function Xr(e, s, t, a, n, i) {
|
|
|
5332
5332
|
}, [
|
|
5333
5333
|
d.value ? (o(), l("span", Kr, x(d.name), 1)) : u("", !0)
|
|
5334
5334
|
]))), 128))
|
|
5335
|
-
], 40,
|
|
5335
|
+
], 40, Gr)
|
|
5336
5336
|
], 42, jr),
|
|
5337
5337
|
f("div", {
|
|
5338
5338
|
class: v([n.isVisible || t.nonInteractive ? "collapse-show" : "collapse-hide", "collapse"]),
|
|
@@ -5584,7 +5584,7 @@ function yl(e, s) {
|
|
|
5584
5584
|
]);
|
|
5585
5585
|
}
|
|
5586
5586
|
const Ey = /* @__PURE__ */ _(vl, [["render", yl]]);
|
|
5587
|
-
function
|
|
5587
|
+
function St(e = {}, s = 0) {
|
|
5588
5588
|
const t = e && e.a;
|
|
5589
5589
|
let a;
|
|
5590
5590
|
e && e.hsl ? a = S(e.hsl) : e && e.hex && e.hex.length > 0 ? a = S(e.hex) : e && e.hsv ? a = S(e.hsv) : e && e.rgba ? a = S(e.rgba) : e && e.rgb ? a = S(e.rgb) : a = S(e), a && (a._a === void 0 || a._a === null) && a.setAlpha(t || 1);
|
|
@@ -5604,7 +5604,7 @@ const bl = {
|
|
|
5604
5604
|
props: ["modelValue"],
|
|
5605
5605
|
data() {
|
|
5606
5606
|
return {
|
|
5607
|
-
val:
|
|
5607
|
+
val: St(this.modelValue)
|
|
5608
5608
|
};
|
|
5609
5609
|
},
|
|
5610
5610
|
computed: {
|
|
@@ -5619,12 +5619,12 @@ const bl = {
|
|
|
5619
5619
|
},
|
|
5620
5620
|
watch: {
|
|
5621
5621
|
modelValue(e) {
|
|
5622
|
-
this.val =
|
|
5622
|
+
this.val = St(e);
|
|
5623
5623
|
}
|
|
5624
5624
|
},
|
|
5625
5625
|
methods: {
|
|
5626
5626
|
colorChange(e, s) {
|
|
5627
|
-
this.oldHue = this.colors.hsl.h, this.colors =
|
|
5627
|
+
this.oldHue = this.colors.hsl.h, this.colors = St(e, s || this.oldHue);
|
|
5628
5628
|
},
|
|
5629
5629
|
isValidHex(e) {
|
|
5630
5630
|
return S(e).isValid();
|
|
@@ -5711,7 +5711,7 @@ const kl = {
|
|
|
5711
5711
|
}, xl = { class: "ecs-editable-input" }, wl = ["aria-labelledby"], Sl = ["for", "id"], Cl = { class: "ecs-input__desc" };
|
|
5712
5712
|
function Bl(e, s, t, a, n, i) {
|
|
5713
5713
|
return o(), l("div", xl, [
|
|
5714
|
-
|
|
5714
|
+
Ue(f("input", {
|
|
5715
5715
|
"aria-labelledby": i.labelId,
|
|
5716
5716
|
class: "ecs-input__input",
|
|
5717
5717
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => i.val = r),
|
|
@@ -5734,7 +5734,7 @@ var Il = El;
|
|
|
5734
5734
|
function El(e, s, t) {
|
|
5735
5735
|
return s < t ? e < s ? s : e > t ? t : e : e < t ? t : e > s ? s : e;
|
|
5736
5736
|
}
|
|
5737
|
-
const
|
|
5737
|
+
const ct = /* @__PURE__ */ xs(Il);
|
|
5738
5738
|
function $l(e) {
|
|
5739
5739
|
var s = typeof e;
|
|
5740
5740
|
return e != null && (s == "object" || s == "function");
|
|
@@ -5751,7 +5751,7 @@ var Vl = Rl, Hl = Vl, ql = /^\s+/;
|
|
|
5751
5751
|
function Wl(e) {
|
|
5752
5752
|
return e && e.slice(0, Hl(e) + 1).replace(ql, "");
|
|
5753
5753
|
}
|
|
5754
|
-
var jl = Wl,
|
|
5754
|
+
var jl = Wl, Ul = Vs, Gl = Ul.Symbol, Hs = Gl, ps = Hs, qs = Object.prototype, Kl = qs.hasOwnProperty, Yl = qs.toString, Xe = ps ? ps.toStringTag : void 0;
|
|
5755
5755
|
function Xl(e) {
|
|
5756
5756
|
var s = Kl.call(e, Xe), t = e[Xe];
|
|
5757
5757
|
try {
|
|
@@ -5858,7 +5858,8 @@ const Lc = /* @__PURE__ */ xs(Mc);
|
|
|
5858
5858
|
const Oc = {
|
|
5859
5859
|
name: "Saturation",
|
|
5860
5860
|
props: {
|
|
5861
|
-
modelValue: Object
|
|
5861
|
+
modelValue: Object,
|
|
5862
|
+
preventUnusable: Boolean
|
|
5862
5863
|
},
|
|
5863
5864
|
computed: {
|
|
5864
5865
|
colors() {
|
|
@@ -5890,7 +5891,7 @@ const Oc = {
|
|
|
5890
5891
|
const t = this.$refs.container;
|
|
5891
5892
|
if (!t)
|
|
5892
5893
|
return;
|
|
5893
|
-
const a = t.clientWidth, n = t.clientHeight, i = t.getBoundingClientRect().left + window.pageXOffset, r = t.getBoundingClientRect().top + window.pageYOffset, c = e.pageX || (e.touches ? e.touches[0].pageX : 0), d = e.pageY || (e.touches ? e.touches[0].pageY : 0), g =
|
|
5894
|
+
const a = t.clientWidth, n = t.clientHeight, i = t.getBoundingClientRect().left + window.pageXOffset, r = t.getBoundingClientRect().top + window.pageYOffset, c = e.pageX || (e.touches ? e.touches[0].pageX : 0), d = e.pageY || (e.touches ? e.touches[0].pageY : 0), g = ct(c - i, 0, a), h = this.preventUnusable ? ct(d - r, n * 0.1, n * 0.85) : ct(d - r, 0, n), k = g / a, z = ct(-(h / n) + 1, 0, 1);
|
|
5894
5895
|
this.throttle(this.onChange, {
|
|
5895
5896
|
h: this.colors.hsv.h,
|
|
5896
5897
|
s: k,
|
|
@@ -6002,7 +6003,7 @@ const Hc = {
|
|
|
6002
6003
|
}, qc = ["aria-valuenow"], Wc = /* @__PURE__ */ f("div", { class: "ecs-hue-picker" }, null, -1), jc = [
|
|
6003
6004
|
Wc
|
|
6004
6005
|
];
|
|
6005
|
-
function
|
|
6006
|
+
function Uc(e, s, t, a, n, i) {
|
|
6006
6007
|
return o(), l("div", {
|
|
6007
6008
|
class: v(["ecs-hue", i.directionClass])
|
|
6008
6009
|
}, [
|
|
@@ -6025,7 +6026,7 @@ function Gc(e, s, t, a, n, i) {
|
|
|
6025
6026
|
], 40, qc)
|
|
6026
6027
|
], 2);
|
|
6027
6028
|
}
|
|
6028
|
-
const
|
|
6029
|
+
const Gc = /* @__PURE__ */ _(Hc, [["render", Uc]]);
|
|
6029
6030
|
const Bt = {}, Kc = {
|
|
6030
6031
|
name: "Checkboard",
|
|
6031
6032
|
props: {
|
|
@@ -6151,7 +6152,7 @@ const ad = {
|
|
|
6151
6152
|
mixins: [bl],
|
|
6152
6153
|
components: {
|
|
6153
6154
|
saturation: Vc,
|
|
6154
|
-
hue:
|
|
6155
|
+
hue: Gc,
|
|
6155
6156
|
alpha: nd,
|
|
6156
6157
|
"ed-in": zl,
|
|
6157
6158
|
checkboard: Ws
|
|
@@ -6182,6 +6183,11 @@ const ad = {
|
|
|
6182
6183
|
padding: {
|
|
6183
6184
|
type: Number,
|
|
6184
6185
|
default: 0
|
|
6186
|
+
},
|
|
6187
|
+
/** Prevents the user from selecting a color that is too bright or too dark. It will only block the selection on the saturation drag field, a user can still enter a value via the fields (consider disabling the field), or a preset swatch. */
|
|
6188
|
+
preventUnusableColors: {
|
|
6189
|
+
type: Boolean,
|
|
6190
|
+
default: !1
|
|
6185
6191
|
}
|
|
6186
6192
|
},
|
|
6187
6193
|
computed: {
|
|
@@ -6249,8 +6255,9 @@ function yd(e, s, t, a, n, i) {
|
|
|
6249
6255
|
b(r, {
|
|
6250
6256
|
modelValue: e.colors,
|
|
6251
6257
|
"onUpdate:modelValue": s[0] || (s[0] = (k) => e.colors = k),
|
|
6252
|
-
onChange: i.childChange
|
|
6253
|
-
|
|
6258
|
+
onChange: i.childChange,
|
|
6259
|
+
"prevent-unusable": t.preventUnusableColors
|
|
6260
|
+
}, null, 8, ["modelValue", "onChange", "prevent-unusable"])
|
|
6254
6261
|
])),
|
|
6255
6262
|
t.disableCustom ? u("", !0) : (o(), l("div", rd, [
|
|
6256
6263
|
f("div", ld, [
|
|
@@ -6381,6 +6388,11 @@ const kd = {
|
|
|
6381
6388
|
disableCustom: {
|
|
6382
6389
|
type: Boolean,
|
|
6383
6390
|
default: !1
|
|
6391
|
+
},
|
|
6392
|
+
/** Prevents the user from selecting a color that is too bright or too dark. It will only block the selection on the saturation drag field, a user can still enter a value via the fields (consider disabling the field), or a preset swatch. */
|
|
6393
|
+
preventUnusableColors: {
|
|
6394
|
+
type: Boolean,
|
|
6395
|
+
default: !1
|
|
6384
6396
|
}
|
|
6385
6397
|
},
|
|
6386
6398
|
computed: {
|
|
@@ -6405,8 +6417,9 @@ function xd(e, s, t, a, n, i) {
|
|
|
6405
6417
|
padding: 16,
|
|
6406
6418
|
disableAlpha: t.disableAlpha,
|
|
6407
6419
|
disableFields: t.disableFields,
|
|
6408
|
-
disableCustom: t.disableCustom
|
|
6409
|
-
|
|
6420
|
+
disableCustom: t.disableCustom,
|
|
6421
|
+
preventUnusableColors: t.preventUnusableColors
|
|
6422
|
+
}, null, 8, ["modelValue", "swatches", "disableAlpha", "disableFields", "disableCustom", "preventUnusableColors"])
|
|
6410
6423
|
]),
|
|
6411
6424
|
default: w(() => [
|
|
6412
6425
|
f("button", {
|
|
@@ -6419,7 +6432,7 @@ function xd(e, s, t, a, n, i) {
|
|
|
6419
6432
|
_: 1
|
|
6420
6433
|
});
|
|
6421
6434
|
}
|
|
6422
|
-
const $y = /* @__PURE__ */ _(kd, [["render", xd], ["__scopeId", "data-v-
|
|
6435
|
+
const $y = /* @__PURE__ */ _(kd, [["render", xd], ["__scopeId", "data-v-7132cbfc"]]);
|
|
6423
6436
|
const wd = {
|
|
6424
6437
|
name: "ecs-data-card",
|
|
6425
6438
|
components: { EcsIcon: M, EcsSkeletonLoader: Ce, EcsButtonTable: Fs, EcsButton: Se, EcsFocusRing: L },
|
|
@@ -6596,7 +6609,7 @@ function Od(e, s, t, a, n, i) {
|
|
|
6596
6609
|
}, null, 8, ["width"])) : u("", !0)
|
|
6597
6610
|
])
|
|
6598
6611
|
])) : u("", !0),
|
|
6599
|
-
e.$slots.expand ?
|
|
6612
|
+
e.$slots.expand ? Ue((o(), l("div", {
|
|
6600
6613
|
key: 1,
|
|
6601
6614
|
id: n.expandId,
|
|
6602
6615
|
"aria-hidden": n.isExpanded ? "false" : "true",
|
|
@@ -6606,7 +6619,7 @@ function Od(e, s, t, a, n, i) {
|
|
|
6606
6619
|
m(e.$slots, "expand", {}, void 0, !0)
|
|
6607
6620
|
])
|
|
6608
6621
|
], 8, Md)), [
|
|
6609
|
-
[
|
|
6622
|
+
[pt, n.isExpanded]
|
|
6610
6623
|
]) : u("", !0)
|
|
6611
6624
|
]),
|
|
6612
6625
|
t.hover ? (o(), y(h, {
|
|
@@ -6747,11 +6760,11 @@ const jd = {
|
|
|
6747
6760
|
beforeUnmount() {
|
|
6748
6761
|
this.mouseEvent && this.$refs.grid_row.removeEventListener(this.mouseEvent, this.handleRowClick);
|
|
6749
6762
|
}
|
|
6750
|
-
},
|
|
6763
|
+
}, Ud = {
|
|
6751
6764
|
key: 1,
|
|
6752
6765
|
class: "ecs-data-grid-row-block"
|
|
6753
6766
|
};
|
|
6754
|
-
function
|
|
6767
|
+
function Gd(e, s, t, a, n, i) {
|
|
6755
6768
|
return o(), l("div", {
|
|
6756
6769
|
class: v(["ecs-data-grid-row", [t.state, t.type == "header" ? "header-row" : "", t.mouseEvent === "click" || t.clickable === !0 ? "clickable" : ""]]),
|
|
6757
6770
|
ref: "grid_row",
|
|
@@ -6762,11 +6775,11 @@ function Ud(e, s, t, a, n, i) {
|
|
|
6762
6775
|
onClick: s[0] || (s[0] = (...r) => i.handleDropzoneClick && i.handleDropzoneClick(...r)),
|
|
6763
6776
|
class: "ecs-data-grid-row-drop-zone"
|
|
6764
6777
|
})) : u("", !0),
|
|
6765
|
-
t.state == "disabled" ? (o(), l("div",
|
|
6778
|
+
t.state == "disabled" ? (o(), l("div", Ud)) : u("", !0),
|
|
6766
6779
|
m(e.$slots, "default", {}, void 0, !0)
|
|
6767
6780
|
], 2);
|
|
6768
6781
|
}
|
|
6769
|
-
const Kd = /* @__PURE__ */ _(jd, [["render",
|
|
6782
|
+
const Kd = /* @__PURE__ */ _(jd, [["render", Gd], ["__scopeId", "data-v-16b82e41"]]);
|
|
6770
6783
|
const Yd = {
|
|
6771
6784
|
name: "ecs-data-grid-row-group",
|
|
6772
6785
|
components: {
|
|
@@ -7294,14 +7307,14 @@ const _u = {
|
|
|
7294
7307
|
}
|
|
7295
7308
|
}, yu = ["aria-labeled-by"];
|
|
7296
7309
|
function bu(e, s, t, a, n, i) {
|
|
7297
|
-
return
|
|
7310
|
+
return Ue((o(), l("div", {
|
|
7298
7311
|
class: "ecs-data-grid-group",
|
|
7299
7312
|
role: "tabpanel",
|
|
7300
7313
|
"aria-labeled-by": t.ariaLabeledBy
|
|
7301
7314
|
}, [
|
|
7302
7315
|
t.show ? m(e.$slots, "default", { key: 0 }, void 0, !0) : u("", !0)
|
|
7303
7316
|
], 8, yu)), [
|
|
7304
|
-
[
|
|
7317
|
+
[pt, t.show]
|
|
7305
7318
|
]);
|
|
7306
7319
|
}
|
|
7307
7320
|
const Ay = /* @__PURE__ */ _(_u, [["render", bu], ["__scopeId", "data-v-ee025ab5"]]);
|
|
@@ -7720,7 +7733,7 @@ function Du(e, s, t, a, n, i) {
|
|
|
7720
7733
|
key: 0,
|
|
7721
7734
|
ref: "dialog",
|
|
7722
7735
|
class: v(["ecs-dialog-" + t.size, "ecs-dialog"]),
|
|
7723
|
-
onKeydown: s[0] || (s[0] =
|
|
7736
|
+
onKeydown: s[0] || (s[0] = G((...r) => i.handleEnterKey && i.handleEnterKey(...r), ["enter"]))
|
|
7724
7737
|
}, [
|
|
7725
7738
|
f("div", Nu, [
|
|
7726
7739
|
m(e.$slots, "default")
|
|
@@ -7889,7 +7902,7 @@ const Vy = /* @__PURE__ */ _(Vu, [["render", Wu], ["__scopeId", "data-v-6e05c98b
|
|
|
7889
7902
|
}, null, 8, ["alt"]));
|
|
7890
7903
|
}
|
|
7891
7904
|
};
|
|
7892
|
-
const
|
|
7905
|
+
const Uu = {
|
|
7893
7906
|
name: "ecs-directory-entry",
|
|
7894
7907
|
components: {
|
|
7895
7908
|
EcsIcon: M,
|
|
@@ -7912,10 +7925,10 @@ const Gu = {
|
|
|
7912
7925
|
mounted() {
|
|
7913
7926
|
!this.icon && !this.favicon && console.warn("Icon or Favicon prop is required for ecs-directory-entry component");
|
|
7914
7927
|
}
|
|
7915
|
-
},
|
|
7928
|
+
}, Gu = { class: "ecs-directory-entry" }, Ku = { class: "items" };
|
|
7916
7929
|
function Yu(e, s, t, a, n, i) {
|
|
7917
7930
|
const r = p("ecs-icon"), c = p("ecs-favicon");
|
|
7918
|
-
return o(), l("div",
|
|
7931
|
+
return o(), l("div", Gu, [
|
|
7919
7932
|
t.icon ? (o(), y(r, {
|
|
7920
7933
|
key: 0,
|
|
7921
7934
|
type: t.icon,
|
|
@@ -7934,7 +7947,7 @@ function Yu(e, s, t, a, n, i) {
|
|
|
7934
7947
|
])
|
|
7935
7948
|
]);
|
|
7936
7949
|
}
|
|
7937
|
-
const Hy = /* @__PURE__ */ _(
|
|
7950
|
+
const Hy = /* @__PURE__ */ _(Uu, [["render", Yu], ["__scopeId", "data-v-800f5f8e"]]);
|
|
7938
7951
|
const Xu = {
|
|
7939
7952
|
name: "ecs-document-state",
|
|
7940
7953
|
components: {
|
|
@@ -8370,7 +8383,7 @@ function If(e, s, t, a, n, i) {
|
|
|
8370
8383
|
onDragover: s[3] || (s[3] = (...C) => i.handleDragOver && i.handleDragOver(...C)),
|
|
8371
8384
|
onDragenter: s[4] || (s[4] = (...C) => i.handleDragEnter && i.handleDragEnter(...C)),
|
|
8372
8385
|
onDragleave: s[5] || (s[5] = (...C) => i.handleDragLeave && i.handleDragLeave(...C)),
|
|
8373
|
-
onDrop: s[6] || (s[6] =
|
|
8386
|
+
onDrop: s[6] || (s[6] = U((...C) => i.drop && i.drop(...C), ["prevent"])),
|
|
8374
8387
|
"aria-busy": i.isBusy || null,
|
|
8375
8388
|
"aria-invalid": t.error || null
|
|
8376
8389
|
}, [
|
|
@@ -8395,7 +8408,7 @@ function If(e, s, t, a, n, i) {
|
|
|
8395
8408
|
D(" Drag and drop your " + x(t.fileTypeLabel) + " or ", 1),
|
|
8396
8409
|
f("i", {
|
|
8397
8410
|
onClick: s[1] || (s[1] = (...C) => i.browseFile && i.browseFile(...C)),
|
|
8398
|
-
onKeydown: s[2] || (s[2] =
|
|
8411
|
+
onKeydown: s[2] || (s[2] = G((...C) => i.browseFile && i.browseFile(...C), ["enter"])),
|
|
8399
8412
|
tabindex: "0"
|
|
8400
8413
|
}, [
|
|
8401
8414
|
D("browse"),
|
|
@@ -8547,7 +8560,7 @@ const Ef = {
|
|
|
8547
8560
|
function Lf(e, s, t, a, n, i) {
|
|
8548
8561
|
const r = p("ecs-icon"), c = p("ecs-sticker"), d = p("ecs-focus-ring"), g = p("ecs-button-more");
|
|
8549
8562
|
return o(), l("div", {
|
|
8550
|
-
onClick: s[0] || (s[0] =
|
|
8563
|
+
onClick: s[0] || (s[0] = U((...h) => i.handleClick && i.handleClick(...h), ["stop"])),
|
|
8551
8564
|
tabindex: "0",
|
|
8552
8565
|
role: "button",
|
|
8553
8566
|
class: "ecs-entry-link"
|
|
@@ -8584,14 +8597,14 @@ function Lf(e, s, t, a, n, i) {
|
|
|
8584
8597
|
}),
|
|
8585
8598
|
t.moreButton ? (o(), y(g, {
|
|
8586
8599
|
key: 3,
|
|
8587
|
-
onClick:
|
|
8600
|
+
onClick: U(i.handleMoreButtonClick, ["stop"]),
|
|
8588
8601
|
type: "ellipsis",
|
|
8589
8602
|
title: t.moreButtonTitle,
|
|
8590
8603
|
"aria-label": t.moreButtonTitle
|
|
8591
8604
|
}, null, 8, ["onClick", "title", "aria-label"])) : u("", !0)
|
|
8592
8605
|
]);
|
|
8593
8606
|
}
|
|
8594
|
-
const
|
|
8607
|
+
const Uy = /* @__PURE__ */ _(Ef, [["render", Lf], ["__scopeId", "data-v-00b5ab33"]]);
|
|
8595
8608
|
const Of = {
|
|
8596
8609
|
name: "ecs-excerpt-snippet",
|
|
8597
8610
|
components: { EcsIcon: M, EcsSkeletonLoader: Ce, EcsFormatted: Rs },
|
|
@@ -8728,7 +8741,7 @@ function Wf(e, s, t, a, n, i) {
|
|
|
8728
8741
|
], 4)
|
|
8729
8742
|
], 2);
|
|
8730
8743
|
}
|
|
8731
|
-
const
|
|
8744
|
+
const Gy = /* @__PURE__ */ _(Of, [["render", Wf], ["__scopeId", "data-v-f582192b"]]), Ky = {
|
|
8732
8745
|
__name: "fill-icon",
|
|
8733
8746
|
props: {
|
|
8734
8747
|
/** The identifier of the icon which should show up. */
|
|
@@ -8770,16 +8783,16 @@ const Uy = /* @__PURE__ */ _(Of, [["render", Wf], ["__scopeId", "data-v-f582192b
|
|
|
8770
8783
|
}
|
|
8771
8784
|
}, jf = {
|
|
8772
8785
|
name: "ecs-file-list"
|
|
8773
|
-
},
|
|
8786
|
+
}, Uf = {
|
|
8774
8787
|
class: "ecs-file-list",
|
|
8775
8788
|
role: "list"
|
|
8776
8789
|
};
|
|
8777
|
-
function
|
|
8778
|
-
return o(), l("div",
|
|
8790
|
+
function Gf(e, s, t, a, n, i) {
|
|
8791
|
+
return o(), l("div", Uf, [
|
|
8779
8792
|
m(e.$slots, "default")
|
|
8780
8793
|
]);
|
|
8781
8794
|
}
|
|
8782
|
-
const Yy = /* @__PURE__ */ _(jf, [["render",
|
|
8795
|
+
const Yy = /* @__PURE__ */ _(jf, [["render", Gf]]);
|
|
8783
8796
|
const Kf = {
|
|
8784
8797
|
name: "ecs-file-list-item",
|
|
8785
8798
|
emits: ["click", "remove", "toggled", "title-click"],
|
|
@@ -9163,7 +9176,7 @@ function mp(e, s, t, a, n, i) {
|
|
|
9163
9176
|
}, [
|
|
9164
9177
|
f("button", {
|
|
9165
9178
|
onClick: s[0] || (s[0] = (d) => e.$emit("click", d)),
|
|
9166
|
-
onKeydown: s[1] || (s[1] =
|
|
9179
|
+
onKeydown: s[1] || (s[1] = G((d) => e.$emit("click", d), ["enter"])),
|
|
9167
9180
|
title: t.tooltip,
|
|
9168
9181
|
class: "ecs-input-clear-button",
|
|
9169
9182
|
"aria-label": "Clear"
|
|
@@ -9585,7 +9598,7 @@ const Wp = {
|
|
|
9585
9598
|
dismissed: !1
|
|
9586
9599
|
};
|
|
9587
9600
|
}
|
|
9588
|
-
}, jp = { class: "ecs-toolbar-search" },
|
|
9601
|
+
}, jp = { class: "ecs-toolbar-search" }, Up = { class: "number" }, Gp = { class: "type" }, Kp = { class: "ecs-toolbar-right-section" }, Yp = { class: "ecs-toolbar-right-section" };
|
|
9589
9602
|
function Xp(e, s, t, a, n, i) {
|
|
9590
9603
|
const r = p("ecs-button-toolbar-group"), c = p("ecs-flex-row"), d = p("ecs-flex-col"), g = p("ecs-toolbar");
|
|
9591
9604
|
return o(), y(g, { class: "ecs-index-toolbar" }, {
|
|
@@ -9608,8 +9621,8 @@ function Xp(e, s, t, a, n, i) {
|
|
|
9608
9621
|
class: "ecs-toolbar-search-results"
|
|
9609
9622
|
}, {
|
|
9610
9623
|
default: w(() => [
|
|
9611
|
-
f("span",
|
|
9612
|
-
f("span",
|
|
9624
|
+
f("span", Up, x(t.count), 1),
|
|
9625
|
+
f("span", Gp, x(t.type), 1)
|
|
9613
9626
|
]),
|
|
9614
9627
|
_: 1
|
|
9615
9628
|
})
|
|
@@ -9965,7 +9978,7 @@ const hg = {
|
|
|
9965
9978
|
"selectCurEntryText",
|
|
9966
9979
|
"blur"
|
|
9967
9980
|
],
|
|
9968
|
-
components: { EcsButtonToolbar:
|
|
9981
|
+
components: { EcsButtonToolbar: mt, EcsButtonToolbarGroup: Ht },
|
|
9969
9982
|
props: {
|
|
9970
9983
|
/** Index position of the currently viewed object. */
|
|
9971
9984
|
currentEntry: {
|
|
@@ -10068,7 +10081,7 @@ const bg = {
|
|
|
10068
10081
|
"selectSearchResultCount",
|
|
10069
10082
|
"setSearchResultCount"
|
|
10070
10083
|
],
|
|
10071
|
-
components: { EcsButtonToolbar:
|
|
10084
|
+
components: { EcsButtonToolbar: mt, EcsButtonToolbarGroup: Ht },
|
|
10072
10085
|
props: {
|
|
10073
10086
|
/** Count of the current object in the given index. */
|
|
10074
10087
|
currentCount: {
|
|
@@ -10673,11 +10686,11 @@ const qg = {
|
|
|
10673
10686
|
}, Wg = { class: "ecs-index-layout-contents" }, jg = {
|
|
10674
10687
|
key: 0,
|
|
10675
10688
|
class: "ecs-index-layout-table scrollbar"
|
|
10676
|
-
},
|
|
10689
|
+
}, Ug = {
|
|
10677
10690
|
key: 2,
|
|
10678
10691
|
class: "ecs-index-layout-pagination"
|
|
10679
10692
|
};
|
|
10680
|
-
function
|
|
10693
|
+
function Gg(e, s, t, a, n, i) {
|
|
10681
10694
|
const r = p("ecs-pane"), c = p("ecs-splitpanes");
|
|
10682
10695
|
return o(), l("div", {
|
|
10683
10696
|
class: v(["ecs-index-layout", [t.backgroundWhite ? "background-white" : ""]])
|
|
@@ -10717,7 +10730,7 @@ function Ug(e, s, t, a, n, i) {
|
|
|
10717
10730
|
})) : (o(), l("div", jg, [
|
|
10718
10731
|
m(e.$slots, "default", {}, void 0, !0)
|
|
10719
10732
|
])),
|
|
10720
|
-
e.$slots.pagination ? (o(), l("div",
|
|
10733
|
+
e.$slots.pagination ? (o(), l("div", Ug, [
|
|
10721
10734
|
m(e.$slots, "pagination", {}, void 0, !0)
|
|
10722
10735
|
])) : u("", !0)
|
|
10723
10736
|
]),
|
|
@@ -10731,7 +10744,7 @@ function Ug(e, s, t, a, n, i) {
|
|
|
10731
10744
|
], 2)
|
|
10732
10745
|
], 2);
|
|
10733
10746
|
}
|
|
10734
|
-
const db = /* @__PURE__ */ _(qg, [["render",
|
|
10747
|
+
const db = /* @__PURE__ */ _(qg, [["render", Gg], ["__scopeId", "data-v-7e2fc186"]]);
|
|
10735
10748
|
const Kg = {
|
|
10736
10749
|
name: "ecs-layout-directory",
|
|
10737
10750
|
props: {
|
|
@@ -10856,13 +10869,13 @@ function cm(e, s, t, a, n, i) {
|
|
|
10856
10869
|
]),
|
|
10857
10870
|
_: 3
|
|
10858
10871
|
}),
|
|
10859
|
-
e.$slots.actionbar ?
|
|
10872
|
+
e.$slots.actionbar ? Ue((o(), y(c, { key: 1 }, {
|
|
10860
10873
|
default: w(() => [
|
|
10861
10874
|
m(e.$slots, "actionbar", {}, void 0, !0)
|
|
10862
10875
|
]),
|
|
10863
10876
|
_: 3
|
|
10864
10877
|
}, 512)), [
|
|
10865
|
-
[
|
|
10878
|
+
[pt, t.showActionbar]
|
|
10866
10879
|
]) : u("", !0),
|
|
10867
10880
|
f("div", am, [
|
|
10868
10881
|
m(e.$slots, "default", {}, void 0, !0)
|
|
@@ -11459,10 +11472,10 @@ const Wm = {
|
|
|
11459
11472
|
}, jm = {
|
|
11460
11473
|
key: 0,
|
|
11461
11474
|
class: "symbol"
|
|
11462
|
-
},
|
|
11475
|
+
}, Um = {
|
|
11463
11476
|
key: 0,
|
|
11464
11477
|
class: "operator"
|
|
11465
|
-
},
|
|
11478
|
+
}, Gm = ["value"], Km = { class: "query" }, Ym = {
|
|
11466
11479
|
key: 0,
|
|
11467
11480
|
class: "descriptor"
|
|
11468
11481
|
};
|
|
@@ -11471,7 +11484,7 @@ function Xm(e, s, t, a, n, i) {
|
|
|
11471
11484
|
return o(), l("div", {
|
|
11472
11485
|
class: v(["ecs-multiselect-search-token", i.typeClass]),
|
|
11473
11486
|
tabindex: "0",
|
|
11474
|
-
onKeydown: s[3] || (s[3] =
|
|
11487
|
+
onKeydown: s[3] || (s[3] = G((g) => e.$emit("remove", g), ["delete"]))
|
|
11475
11488
|
}, [
|
|
11476
11489
|
t.icon || t.operator || t.operatorSwitch ? (o(), l("div", jm, [
|
|
11477
11490
|
b(r, {
|
|
@@ -11479,7 +11492,7 @@ function Xm(e, s, t, a, n, i) {
|
|
|
11479
11492
|
size: "20",
|
|
11480
11493
|
color: "#FFF"
|
|
11481
11494
|
}, null, 8, ["type"]),
|
|
11482
|
-
t.operator && !t.operatorSelect && !t.operatorSwitch ? (o(), l("div",
|
|
11495
|
+
t.operator && !t.operatorSelect && !t.operatorSwitch ? (o(), l("div", Um, x(t.operator), 1)) : u("", !0),
|
|
11483
11496
|
t.operatorSelect ? (o(), y(c, {
|
|
11484
11497
|
key: 1,
|
|
11485
11498
|
onChange: i.handleOperatorChange,
|
|
@@ -11491,7 +11504,7 @@ function Xm(e, s, t, a, n, i) {
|
|
|
11491
11504
|
(o(!0), l(Z, null, ge(t.operatorSelectOptions, (g) => (o(), l("option", {
|
|
11492
11505
|
value: g,
|
|
11493
11506
|
key: g
|
|
11494
|
-
}, x(g), 9,
|
|
11507
|
+
}, x(g), 9, Gm))), 128))
|
|
11495
11508
|
]),
|
|
11496
11509
|
_: 1
|
|
11497
11510
|
}, 8, ["onChange", "value"])) : u("", !0),
|
|
@@ -11522,7 +11535,7 @@ function Xm(e, s, t, a, n, i) {
|
|
|
11522
11535
|
m(e.$slots, "default", {}, void 0, !0),
|
|
11523
11536
|
f("button", {
|
|
11524
11537
|
onClick: s[1] || (s[1] = (g) => e.$emit("remove", g)),
|
|
11525
|
-
onKeyup: s[2] || (s[2] =
|
|
11538
|
+
onKeyup: s[2] || (s[2] = G((g) => e.$emit("remove", g), ["enter"])),
|
|
11526
11539
|
class: "remove",
|
|
11527
11540
|
title: "Remove",
|
|
11528
11541
|
"aria-label": "Remove"
|
|
@@ -11551,7 +11564,7 @@ function Jm(e, s, t, a, n, i) {
|
|
|
11551
11564
|
return o(), l("div", {
|
|
11552
11565
|
class: "ecs-multiselect-token",
|
|
11553
11566
|
tabindex: "0",
|
|
11554
|
-
onKeydown: s[1] || (s[1] =
|
|
11567
|
+
onKeydown: s[1] || (s[1] = G((d) => e.$emit("remove", d), ["delete"]))
|
|
11555
11568
|
}, [
|
|
11556
11569
|
m(e.$slots, "default", {}, void 0, !0),
|
|
11557
11570
|
f("button", {
|
|
@@ -11607,7 +11620,7 @@ const kb = /* @__PURE__ */ _(Qm, [["render", th], ["__scopeId", "data-v-ceac7867
|
|
|
11607
11620
|
const sh = {
|
|
11608
11621
|
name: "ecs-overlay",
|
|
11609
11622
|
emits: ["close", "toggled"],
|
|
11610
|
-
components: { EcsIcon: M, EcsButtonToolbar:
|
|
11623
|
+
components: { EcsIcon: M, EcsButtonToolbar: mt, EcsAlert: ks },
|
|
11611
11624
|
props: {
|
|
11612
11625
|
/** Shows the Overlay. */
|
|
11613
11626
|
show: {
|
|
@@ -12003,13 +12016,13 @@ const yh = {
|
|
|
12003
12016
|
this.$emit("updatePage", Number(e));
|
|
12004
12017
|
}
|
|
12005
12018
|
}
|
|
12006
|
-
},
|
|
12019
|
+
}, Us = (e) => (ve("data-v-ca016e63"), e = e(), _e(), e), bh = /* @__PURE__ */ Us(() => /* @__PURE__ */ f("span", null, "Page", -1)), kh = ["value", "selected"], xh = {
|
|
12007
12020
|
key: 0,
|
|
12008
12021
|
class: "total"
|
|
12009
12022
|
}, wh = {
|
|
12010
12023
|
key: 1,
|
|
12011
12024
|
class: "ecs-pagination-range"
|
|
12012
|
-
}, Sh = { class: "ecs-pagination-tabs" }, Ch = /* @__PURE__ */
|
|
12025
|
+
}, Sh = { class: "ecs-pagination-tabs" }, Ch = /* @__PURE__ */ Us(() => /* @__PURE__ */ f("span", null, "Items per page", -1)), Bh = ["value", "selected"];
|
|
12013
12026
|
function zh(e, s, t, a, n, i) {
|
|
12014
12027
|
const r = p("ecs-button"), c = p("ecs-flex-row"), d = p("ecs-select");
|
|
12015
12028
|
return o(), l("div", {
|
|
@@ -12475,8 +12488,8 @@ const Wh = {
|
|
|
12475
12488
|
}
|
|
12476
12489
|
}
|
|
12477
12490
|
}
|
|
12478
|
-
}, jh = ["aria-busy"],
|
|
12479
|
-
function
|
|
12491
|
+
}, jh = ["aria-busy"], Uh = ["title"];
|
|
12492
|
+
function Gh(e, s, t, a, n, i) {
|
|
12480
12493
|
const r = p("ecs-icon"), c = p("ecs-skeleton-loader");
|
|
12481
12494
|
return o(), l("div", {
|
|
12482
12495
|
onClick: s[0] || (s[0] = (d) => e.$emit("click", d)),
|
|
@@ -12488,7 +12501,7 @@ function Uh(e, s, t, a, n, i) {
|
|
|
12488
12501
|
title: i.labelText
|
|
12489
12502
|
}, [
|
|
12490
12503
|
b(r, { type: i.iconType }, null, 8, ["type"])
|
|
12491
|
-
], 10,
|
|
12504
|
+
], 10, Uh),
|
|
12492
12505
|
t.label ? (o(), l("span", {
|
|
12493
12506
|
key: 0,
|
|
12494
12507
|
class: v(["label", t.loading ? "loading" : ""])
|
|
@@ -12507,7 +12520,7 @@ function Uh(e, s, t, a, n, i) {
|
|
|
12507
12520
|
})) : u("", !0)
|
|
12508
12521
|
], 10, jh);
|
|
12509
12522
|
}
|
|
12510
|
-
const Kh = /* @__PURE__ */ _(Wh, [["render",
|
|
12523
|
+
const Kh = /* @__PURE__ */ _(Wh, [["render", Gh], ["__scopeId", "data-v-359930b9"]]);
|
|
12511
12524
|
const Yh = {
|
|
12512
12525
|
name: "ecs-quicklinks-link",
|
|
12513
12526
|
emits: ["click", "input", "toggle"],
|
|
@@ -12669,10 +12682,10 @@ const nv = {
|
|
|
12669
12682
|
default: 0
|
|
12670
12683
|
}
|
|
12671
12684
|
}
|
|
12672
|
-
},
|
|
12685
|
+
}, vt = (e) => (ve("data-v-37aaedf8"), e = e(), _e(), e), av = {
|
|
12673
12686
|
key: 0,
|
|
12674
12687
|
class: "ecs-rating-reset"
|
|
12675
|
-
}, ov = { class: "ecs-rating-write" }, rv = ["checked"], lv = /* @__PURE__ */
|
|
12688
|
+
}, ov = { class: "ecs-rating-write" }, rv = ["checked"], lv = /* @__PURE__ */ vt(() => /* @__PURE__ */ f("i", null, null, -1)), cv = ["checked"], dv = /* @__PURE__ */ vt(() => /* @__PURE__ */ f("i", null, null, -1)), uv = ["checked"], fv = /* @__PURE__ */ vt(() => /* @__PURE__ */ f("i", null, null, -1)), pv = ["checked"], gv = /* @__PURE__ */ vt(() => /* @__PURE__ */ f("i", null, null, -1));
|
|
12676
12689
|
function mv(e, s, t, a, n, i) {
|
|
12677
12690
|
return o(), l("div", {
|
|
12678
12691
|
class: v(["ecs-rating-form", [t.large ? "ecs-rating-form-lg" : ""]])
|
|
@@ -12926,8 +12939,8 @@ function $v(e, s, t, a, n, i) {
|
|
|
12926
12939
|
return o(), l("div", {
|
|
12927
12940
|
onClick: s[0] || (s[0] = (c) => e.$emit("click", c)),
|
|
12928
12941
|
onKeydown: [
|
|
12929
|
-
s[1] || (s[1] = U(
|
|
12930
|
-
s[2] || (s[2] = U(
|
|
12942
|
+
s[1] || (s[1] = G(U((c) => e.$emit("click", c), ["prevent"]), ["space"])),
|
|
12943
|
+
s[2] || (s[2] = G(U((c) => e.$emit("click", c), ["prevent"]), ["enter"]))
|
|
12931
12944
|
],
|
|
12932
12945
|
class: v(["ecs-select-tile", [t.selected ? "ecs-select-tile-selected" : "", t.disabled ? "ecs-select-tile-disabled" : ""]]),
|
|
12933
12946
|
role: "checkbox",
|
|
@@ -13072,7 +13085,7 @@ function Wv(e, s, t, a, n, i) {
|
|
|
13072
13085
|
], 2);
|
|
13073
13086
|
}
|
|
13074
13087
|
const jv = /* @__PURE__ */ _(qv, [["render", Wv], ["__scopeId", "data-v-0fe19168"]]);
|
|
13075
|
-
const
|
|
13088
|
+
const Uv = {
|
|
13076
13089
|
name: "ecs-sidebar",
|
|
13077
13090
|
components: {
|
|
13078
13091
|
EcsTabBar: Hv,
|
|
@@ -13107,14 +13120,14 @@ const Gv = {
|
|
|
13107
13120
|
return this.expanded ? "height: calc(100% - 10px)" : "height:" + (2 + 36 * this.tabCount) + "px";
|
|
13108
13121
|
}
|
|
13109
13122
|
}
|
|
13110
|
-
},
|
|
13123
|
+
}, Gv = { class: "ecs-sidebar-tabs" };
|
|
13111
13124
|
function Kv(e, s, t, a, n, i) {
|
|
13112
13125
|
const r = p("ecs-tab-bar"), c = p("ecs-tabs");
|
|
13113
13126
|
return o(), l("aside", {
|
|
13114
13127
|
class: v(["ecs-sidebar", [i.sizeClass, i.expandClass]]),
|
|
13115
13128
|
style: B(i.height)
|
|
13116
13129
|
}, [
|
|
13117
|
-
f("div",
|
|
13130
|
+
f("div", Gv, [
|
|
13118
13131
|
b(r, { type: "sidebar" }, {
|
|
13119
13132
|
default: w(() => [
|
|
13120
13133
|
m(e.$slots, "tab-buttons", {}, void 0, !0)
|
|
@@ -13130,7 +13143,7 @@ function Kv(e, s, t, a, n, i) {
|
|
|
13130
13143
|
})
|
|
13131
13144
|
], 6);
|
|
13132
13145
|
}
|
|
13133
|
-
const Lb = /* @__PURE__ */ _(
|
|
13146
|
+
const Lb = /* @__PURE__ */ _(Uv, [["render", Kv], ["__scopeId", "data-v-5e877161"]]);
|
|
13134
13147
|
const Yv = {
|
|
13135
13148
|
name: "ecs-sidebar-content",
|
|
13136
13149
|
props: {
|
|
@@ -13324,8 +13337,8 @@ function g_(e, s, t, a, n, i) {
|
|
|
13324
13337
|
key: r.id,
|
|
13325
13338
|
onClick: (c) => i.handleItemClick(r),
|
|
13326
13339
|
onKeydown: [
|
|
13327
|
-
U(
|
|
13328
|
-
U(
|
|
13340
|
+
G(U((c) => i.handleItemClick(r), ["prevent"]), ["space"]),
|
|
13341
|
+
G(U((c) => i.handleItemClick(r), ["prevent"]), ["enter"])
|
|
13329
13342
|
],
|
|
13330
13343
|
role: "radio",
|
|
13331
13344
|
tabindex: "0",
|
|
@@ -13739,7 +13752,7 @@ function q_(e, s, t, a, n, i) {
|
|
|
13739
13752
|
])) : u("", !0)
|
|
13740
13753
|
], 10, D_);
|
|
13741
13754
|
}
|
|
13742
|
-
const
|
|
13755
|
+
const Ub = /* @__PURE__ */ _(N_, [["render", q_], ["__scopeId", "data-v-9ceb80a6"]]);
|
|
13743
13756
|
const W_ = {
|
|
13744
13757
|
name: "ecs-tree-list",
|
|
13745
13758
|
props: {
|
|
@@ -13755,7 +13768,7 @@ const W_ = {
|
|
|
13755
13768
|
}
|
|
13756
13769
|
}
|
|
13757
13770
|
}, j_ = ["id", "role"];
|
|
13758
|
-
function
|
|
13771
|
+
function U_(e, s, t, a, n, i) {
|
|
13759
13772
|
return o(), l("div", {
|
|
13760
13773
|
class: "ecs-tree-view-list",
|
|
13761
13774
|
id: t.id,
|
|
@@ -13764,8 +13777,8 @@ function G_(e, s, t, a, n, i) {
|
|
|
13764
13777
|
m(e.$slots, "default", {}, void 0, !0)
|
|
13765
13778
|
], 8, j_);
|
|
13766
13779
|
}
|
|
13767
|
-
const
|
|
13768
|
-
const
|
|
13780
|
+
const Gb = /* @__PURE__ */ _(W_, [["render", U_], ["__scopeId", "data-v-b2d4ee72"]]);
|
|
13781
|
+
const G_ = {
|
|
13769
13782
|
name: "ecs-tree-list-item",
|
|
13770
13783
|
emits: ["click", "toggled"],
|
|
13771
13784
|
components: { EcsIcon: M, EcsButtonCollapse: Os, EcsFocusRing: L },
|
|
@@ -13910,8 +13923,8 @@ function J_(e, s, t, a, n, i) {
|
|
|
13910
13923
|
role: "treeitem",
|
|
13911
13924
|
tabindex: i.isSelectable ? "0" : "-1",
|
|
13912
13925
|
onKeydown: [
|
|
13913
|
-
s[2] || (s[2] = U(
|
|
13914
|
-
s[3] || (s[3] = U(
|
|
13926
|
+
s[2] || (s[2] = G(U((...g) => i.focusPrevious && i.focusPrevious(...g), ["prevent"]), ["up"])),
|
|
13927
|
+
s[3] || (s[3] = G(U((...g) => i.focusNext && i.focusNext(...g), ["prevent"]), ["down"]))
|
|
13915
13928
|
]
|
|
13916
13929
|
}, [
|
|
13917
13930
|
i.isSelectable ? (o(), y(r, { key: 0 })) : u("", !0),
|
|
@@ -13958,7 +13971,7 @@ function J_(e, s, t, a, n, i) {
|
|
|
13958
13971
|
], 10, Z_)) : u("", !0)
|
|
13959
13972
|
]);
|
|
13960
13973
|
}
|
|
13961
|
-
const Kb = /* @__PURE__ */ _(
|
|
13974
|
+
const Kb = /* @__PURE__ */ _(G_, [["render", J_], ["__scopeId", "data-v-5ad9b59c"]]);
|
|
13962
13975
|
const Q_ = {
|
|
13963
13976
|
name: "ecs-tree-list-headline"
|
|
13964
13977
|
}, ey = { class: "ecs-tree-view-headline" };
|
|
@@ -14131,7 +14144,7 @@ export {
|
|
|
14131
14144
|
_y as EcsButtonGroup,
|
|
14132
14145
|
Ds as EcsButtonMore,
|
|
14133
14146
|
Fs as EcsButtonTable,
|
|
14134
|
-
|
|
14147
|
+
mt as EcsButtonToolbar,
|
|
14135
14148
|
Ht as EcsButtonToolbarGroup,
|
|
14136
14149
|
xy as EcsButtonToolbarIcon,
|
|
14137
14150
|
wy as EcsCard,
|
|
@@ -14161,8 +14174,8 @@ export {
|
|
|
14161
14174
|
Wy as EcsDonutChart,
|
|
14162
14175
|
jy as EcsDropzone,
|
|
14163
14176
|
mf as EcsEmptyState,
|
|
14164
|
-
|
|
14165
|
-
|
|
14177
|
+
Uy as EcsEntryLink,
|
|
14178
|
+
Gy as EcsExcerptSnippet,
|
|
14166
14179
|
ju as EcsFavicon,
|
|
14167
14180
|
Ls as EcsFileIcon,
|
|
14168
14181
|
Yy as EcsFileList,
|
|
@@ -14249,8 +14262,8 @@ export {
|
|
|
14249
14262
|
Wb as EcsToast,
|
|
14250
14263
|
jb as EcsToasts,
|
|
14251
14264
|
qp as EcsToolbar,
|
|
14252
|
-
|
|
14253
|
-
|
|
14265
|
+
Ub as EcsTranscriptState,
|
|
14266
|
+
Gb as EcsTreeList,
|
|
14254
14267
|
Yb as EcsTreeListHeadline,
|
|
14255
14268
|
Kb as EcsTreeListItem,
|
|
14256
14269
|
Xb as EcsTypeConfirmation,
|