@everchron/ec-shards 13.0.0 → 13.0.2
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.css +1 -1
- package/dist/ec-shards.js +96 -95
- package/dist/ec-shards.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -1202,15 +1202,15 @@ function ms(t, e) {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
function t2(t, e) {
|
|
1204
1204
|
e === void 0 && (e = {});
|
|
1205
|
-
var l = e, a = l.placement, i = a === void 0 ? t.placement : a, n = l.strategy, c = n === void 0 ? t.strategy : n, h = l.boundary, f = h === void 0 ? ez : h, v = l.rootBoundary, z = v === void 0 ? cs : v, y = l.elementContext, P = y === void 0 ? J0 : y, L = l.altBoundary, b = L === void 0 ? !1 : L,
|
|
1205
|
+
var l = e, a = l.placement, i = a === void 0 ? t.placement : a, n = l.strategy, c = n === void 0 ? t.strategy : n, h = l.boundary, f = h === void 0 ? ez : h, v = l.rootBoundary, z = v === void 0 ? cs : v, y = l.elementContext, P = y === void 0 ? J0 : y, L = l.altBoundary, b = L === void 0 ? !1 : L, O = l.padding, j = O === void 0 ? 0 : O, $ = vs(typeof j != "number" ? j : ms(j, i1)), V = P === J0 ? tz : J0, D = t.rects.popper, F = t.elements[b ? V : P], A = wz(D0(F) ? F : F.contextElement || U0(t.elements.popper), f, z, c), E = W0(t.elements.reference), I = fs({
|
|
1206
1206
|
reference: E,
|
|
1207
1207
|
element: D,
|
|
1208
1208
|
placement: i
|
|
1209
1209
|
}), G = R1(Object.assign({}, D, I)), q = P === J0 ? G : E, W = {
|
|
1210
|
-
top: A.top - q.top +
|
|
1211
|
-
bottom: q.bottom - A.bottom +
|
|
1212
|
-
left: A.left - q.left +
|
|
1213
|
-
right: q.right - A.right +
|
|
1210
|
+
top: A.top - q.top + $.top,
|
|
1211
|
+
bottom: q.bottom - A.bottom + $.bottom,
|
|
1212
|
+
left: A.left - q.left + $.left,
|
|
1213
|
+
right: q.right - A.right + $.right
|
|
1214
1214
|
}, X = t.modifiersData.offset;
|
|
1215
1215
|
if (P === J0 && X) {
|
|
1216
1216
|
var J = X[i];
|
|
@@ -1251,9 +1251,9 @@ function yz(t) {
|
|
|
1251
1251
|
styles: {}
|
|
1252
1252
|
}, y = [], P = !1, L = {
|
|
1253
1253
|
state: z,
|
|
1254
|
-
setOptions: function(
|
|
1255
|
-
var V = typeof
|
|
1256
|
-
|
|
1254
|
+
setOptions: function($) {
|
|
1255
|
+
var V = typeof $ == "function" ? $(z.options) : $;
|
|
1256
|
+
O(), z.options = Object.assign({}, n, z.options, V), z.scrollParents = {
|
|
1257
1257
|
reference: D0(h) ? t1(h) : h.contextElement ? t1(h.contextElement) : [],
|
|
1258
1258
|
popper: t1(f)
|
|
1259
1259
|
};
|
|
@@ -1269,7 +1269,7 @@ function yz(t) {
|
|
|
1269
1269
|
// prefer the async Popper#update method
|
|
1270
1270
|
forceUpdate: function() {
|
|
1271
1271
|
if (!P) {
|
|
1272
|
-
var
|
|
1272
|
+
var $ = z.elements, V = $.reference, D = $.popper;
|
|
1273
1273
|
if (_2(V, D)) {
|
|
1274
1274
|
z.rects = {
|
|
1275
1275
|
reference: Xk(V, s1(D), z.options.strategy === "fixed"),
|
|
@@ -1301,7 +1301,7 @@ function yz(t) {
|
|
|
1301
1301
|
});
|
|
1302
1302
|
}),
|
|
1303
1303
|
destroy: function() {
|
|
1304
|
-
|
|
1304
|
+
O(), P = !0;
|
|
1305
1305
|
}
|
|
1306
1306
|
};
|
|
1307
1307
|
if (!_2(h, f))
|
|
@@ -1311,11 +1311,11 @@ function yz(t) {
|
|
|
1311
1311
|
});
|
|
1312
1312
|
function b() {
|
|
1313
1313
|
z.orderedModifiers.forEach(function(j) {
|
|
1314
|
-
var
|
|
1314
|
+
var $ = j.name, V = j.options, D = V === void 0 ? {} : V, F = j.effect;
|
|
1315
1315
|
if (typeof F == "function") {
|
|
1316
1316
|
var A = F({
|
|
1317
1317
|
state: z,
|
|
1318
|
-
name:
|
|
1318
|
+
name: $,
|
|
1319
1319
|
instance: L,
|
|
1320
1320
|
options: D
|
|
1321
1321
|
}), E = function() {
|
|
@@ -1324,7 +1324,7 @@ function yz(t) {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
});
|
|
1326
1326
|
}
|
|
1327
|
-
function
|
|
1327
|
+
function O() {
|
|
1328
1328
|
y.forEach(function(j) {
|
|
1329
1329
|
return j();
|
|
1330
1330
|
}), y = [];
|
|
@@ -1383,15 +1383,15 @@ function Mz(t, e) {
|
|
|
1383
1383
|
};
|
|
1384
1384
|
}
|
|
1385
1385
|
function x2(t) {
|
|
1386
|
-
var e, l = t.popper, a = t.popperRect, i = t.placement, n = t.variation, c = t.offsets, h = t.position, f = t.gpuAcceleration, v = t.adaptive, z = t.roundOffsets, y = t.isFixed, P = c.x, L = P === void 0 ? 0 : P, b = c.y,
|
|
1386
|
+
var e, l = t.popper, a = t.popperRect, i = t.placement, n = t.variation, c = t.offsets, h = t.position, f = t.gpuAcceleration, v = t.adaptive, z = t.roundOffsets, y = t.isFixed, P = c.x, L = P === void 0 ? 0 : P, b = c.y, O = b === void 0 ? 0 : b, j = typeof z == "function" ? z({
|
|
1387
1387
|
x: L,
|
|
1388
|
-
y:
|
|
1388
|
+
y: O
|
|
1389
1389
|
}) : {
|
|
1390
1390
|
x: L,
|
|
1391
|
-
y:
|
|
1391
|
+
y: O
|
|
1392
1392
|
};
|
|
1393
|
-
L = j.x,
|
|
1394
|
-
var
|
|
1393
|
+
L = j.x, O = j.y;
|
|
1394
|
+
var $ = c.hasOwnProperty("x"), V = c.hasOwnProperty("y"), D = u0, F = f0, A = window;
|
|
1395
1395
|
if (v) {
|
|
1396
1396
|
var E = s1(l), I = "clientHeight", G = "clientWidth";
|
|
1397
1397
|
if (E === m0(l) && (E = U0(l), j0(E).position !== "static" && h === "absolute" && (I = "scrollHeight", G = "scrollWidth")), E = E, i === f0 || (i === u0 || i === b0) && n === o1) {
|
|
@@ -1400,7 +1400,7 @@ function x2(t) {
|
|
|
1400
1400
|
// $FlowFixMe[prop-missing]
|
|
1401
1401
|
E[I]
|
|
1402
1402
|
);
|
|
1403
|
-
|
|
1403
|
+
O -= q - a.height, O *= f ? 1 : -1;
|
|
1404
1404
|
}
|
|
1405
1405
|
if (i === u0 || (i === f0 || i === x0) && n === o1) {
|
|
1406
1406
|
D = b0;
|
|
@@ -1415,16 +1415,16 @@ function x2(t) {
|
|
|
1415
1415
|
position: h
|
|
1416
1416
|
}, v && Sz), J = z === !0 ? Mz({
|
|
1417
1417
|
x: L,
|
|
1418
|
-
y:
|
|
1418
|
+
y: O
|
|
1419
1419
|
}, m0(l)) : {
|
|
1420
1420
|
x: L,
|
|
1421
|
-
y:
|
|
1421
|
+
y: O
|
|
1422
1422
|
};
|
|
1423
|
-
if (L = J.x,
|
|
1423
|
+
if (L = J.x, O = J.y, f) {
|
|
1424
1424
|
var U;
|
|
1425
|
-
return Object.assign({}, X, (U = {}, U[F] = V ? "0" : "", U[D] =
|
|
1425
|
+
return Object.assign({}, X, (U = {}, U[F] = V ? "0" : "", U[D] = $ ? "0" : "", U.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + L + "px, " + O + "px)" : "translate3d(" + L + "px, " + O + "px, 0)", U));
|
|
1426
1426
|
}
|
|
1427
|
-
return Object.assign({}, X, (e = {}, e[F] = V ?
|
|
1427
|
+
return Object.assign({}, X, (e = {}, e[F] = V ? O + "px" : "", e[D] = $ ? L + "px" : "", e.transform = "", e));
|
|
1428
1428
|
}
|
|
1429
1429
|
function Lz(t) {
|
|
1430
1430
|
var e = t.state, l = t.options, a = l.gpuAcceleration, i = a === void 0 ? !0 : a, n = l.adaptive, c = n === void 0 ? !0 : n, h = l.roundOffsets, f = h === void 0 ? !0 : h, v = {
|
|
@@ -1512,14 +1512,14 @@ function Uz(t, e, l) {
|
|
|
1512
1512
|
return a > l ? l : a;
|
|
1513
1513
|
}
|
|
1514
1514
|
function Tz(t) {
|
|
1515
|
-
var e = t.state, l = t.options, a = t.name, i = l.mainAxis, n = i === void 0 ? !0 : i, c = l.altAxis, h = c === void 0 ? !1 : c, f = l.boundary, v = l.rootBoundary, z = l.altBoundary, y = l.padding, P = l.tether, L = P === void 0 ? !0 : P, b = l.tetherOffset,
|
|
1515
|
+
var e = t.state, l = t.options, a = t.name, i = l.mainAxis, n = i === void 0 ? !0 : i, c = l.altAxis, h = c === void 0 ? !1 : c, f = l.boundary, v = l.rootBoundary, z = l.altBoundary, y = l.padding, P = l.tether, L = P === void 0 ? !0 : P, b = l.tetherOffset, O = b === void 0 ? 0 : b, j = t2(e, {
|
|
1516
1516
|
boundary: f,
|
|
1517
1517
|
rootBoundary: v,
|
|
1518
1518
|
padding: y,
|
|
1519
1519
|
altBoundary: z
|
|
1520
|
-
}),
|
|
1520
|
+
}), $ = L0(e.placement), V = Y0(e.placement), D = !V, F = e2($), A = Hz(F), E = e.modifiersData.popperOffsets, I = e.rects.reference, G = e.rects.popper, q = typeof O == "function" ? O(Object.assign({}, e.rects, {
|
|
1521
1521
|
placement: e.placement
|
|
1522
|
-
})) :
|
|
1522
|
+
})) : O, W = typeof q == "number" ? {
|
|
1523
1523
|
mainAxis: q,
|
|
1524
1524
|
altAxis: q
|
|
1525
1525
|
} : Object.assign({
|
|
@@ -1538,7 +1538,7 @@ function Tz(t) {
|
|
|
1538
1538
|
E[F] = d2, J[F] = d2 - i0;
|
|
1539
1539
|
}
|
|
1540
1540
|
if (h) {
|
|
1541
|
-
var h2, Kg = F === "x" ? f0 : u0, Yg = F === "x" ? x0 : b0, A0 = E[A], a1 = A === "y" ? "height" : "width", f2 = A0 + j[Kg], u2 = A0 - j[Yg], y1 = [f0, u0].indexOf(
|
|
1541
|
+
var h2, Kg = F === "x" ? f0 : u0, Yg = F === "x" ? x0 : b0, A0 = E[A], a1 = A === "y" ? "height" : "width", f2 = A0 + j[Kg], u2 = A0 - j[Yg], y1 = [f0, u0].indexOf($) !== -1, v2 = (h2 = X == null ? void 0 : X[A]) != null ? h2 : 0, m2 = y1 ? f2 : A0 - I[a1] - G[a1] - v2 + W.altAxis, p2 = y1 ? A0 + I[a1] + G[a1] - v2 - W.altAxis : u2, g2 = L && y1 ? Uz(m2, A0, p2) : l1(L ? m2 : f2, A0, L ? p2 : u2);
|
|
1542
1542
|
E[A] = g2, J[A] = g2 - A0;
|
|
1543
1543
|
}
|
|
1544
1544
|
e.modifiersData[a] = J;
|
|
@@ -1579,16 +1579,16 @@ function Iz(t, e) {
|
|
|
1579
1579
|
return v.indexOf(b) >= 0;
|
|
1580
1580
|
});
|
|
1581
1581
|
P.length === 0 && (P = y);
|
|
1582
|
-
var L = P.reduce(function(b,
|
|
1583
|
-
return b[
|
|
1584
|
-
placement:
|
|
1582
|
+
var L = P.reduce(function(b, O) {
|
|
1583
|
+
return b[O] = t2(t, {
|
|
1584
|
+
placement: O,
|
|
1585
1585
|
boundary: i,
|
|
1586
1586
|
rootBoundary: n,
|
|
1587
1587
|
padding: c
|
|
1588
|
-
})[L0(
|
|
1588
|
+
})[L0(O)], b;
|
|
1589
1589
|
}, {});
|
|
1590
|
-
return Object.keys(L).sort(function(b,
|
|
1591
|
-
return L[b] - L[
|
|
1590
|
+
return Object.keys(L).sort(function(b, O) {
|
|
1591
|
+
return L[b] - L[O];
|
|
1592
1592
|
});
|
|
1593
1593
|
}
|
|
1594
1594
|
function Dz(t) {
|
|
@@ -1600,14 +1600,14 @@ function Dz(t) {
|
|
|
1600
1600
|
function Zz(t) {
|
|
1601
1601
|
var e = t.state, l = t.options, a = t.name;
|
|
1602
1602
|
if (!e.modifiersData[a]._skip) {
|
|
1603
|
-
for (var i = l.mainAxis, n = i === void 0 ? !0 : i, c = l.altAxis, h = c === void 0 ? !0 : c, f = l.fallbackPlacements, v = l.padding, z = l.boundary, y = l.rootBoundary, P = l.altBoundary, L = l.flipVariations, b = L === void 0 ? !0 : L,
|
|
1603
|
+
for (var i = l.mainAxis, n = i === void 0 ? !0 : i, c = l.altAxis, h = c === void 0 ? !0 : c, f = l.fallbackPlacements, v = l.padding, z = l.boundary, y = l.rootBoundary, P = l.altBoundary, L = l.flipVariations, b = L === void 0 ? !0 : L, O = l.allowedAutoPlacements, j = e.options.placement, $ = L0(j), V = $ === j, D = f || (V || !b ? [u1(j)] : Dz(j)), F = [j].concat(D).reduce(function(F0, y0) {
|
|
1604
1604
|
return F0.concat(L0(y0) === Q1 ? Iz(e, {
|
|
1605
1605
|
placement: y0,
|
|
1606
1606
|
boundary: z,
|
|
1607
1607
|
rootBoundary: y,
|
|
1608
1608
|
padding: v,
|
|
1609
1609
|
flipVariations: b,
|
|
1610
|
-
allowedAutoPlacements:
|
|
1610
|
+
allowedAutoPlacements: O
|
|
1611
1611
|
}) : y0);
|
|
1612
1612
|
}, []), A = e.rects.reference, E = e.rects.popper, I = /* @__PURE__ */ new Map(), G = !0, q = F[0], W = 0; W < F.length; W++) {
|
|
1613
1613
|
var X = F[W], J = L0(X), U = Y0(X) === K0, Q = [f0, x0].indexOf(J) >= 0, l0 = Q ? "width" : "height", t0 = t2(e, {
|
|
@@ -1688,7 +1688,7 @@ var Wz = function(e, l) {
|
|
|
1688
1688
|
function Kz(t) {
|
|
1689
1689
|
var e, l = t.state, a = t.name, i = t.options, n = l.elements.arrow, c = l.modifiersData.popperOffsets, h = L0(l.placement), f = e2(h), v = [u0, b0].indexOf(h) >= 0, z = v ? "height" : "width";
|
|
1690
1690
|
if (!(!n || !c)) {
|
|
1691
|
-
var y = Wz(i.padding, l), P = J1(n), L = f === "y" ? f0 : u0, b = f === "y" ? x0 : b0,
|
|
1691
|
+
var y = Wz(i.padding, l), P = J1(n), L = f === "y" ? f0 : u0, b = f === "y" ? x0 : b0, O = l.rects.reference[z] + l.rects.reference[f] - c[f] - l.rects.popper[z], j = c[f] - l.rects.reference[f], $ = s1(n), V = $ ? f === "y" ? $.clientHeight || 0 : $.clientWidth || 0 : 0, D = O / 2 - j / 2, F = y[L], A = V - P[z] - y[b], E = V / 2 - P[z] / 2 + D, I = l1(F, E, A), G = f;
|
|
1692
1692
|
l.modifiersData[a] = (e = {}, e[G] = I, e.centerOffset = I - E, e);
|
|
1693
1693
|
}
|
|
1694
1694
|
}
|
|
@@ -1718,19 +1718,19 @@ function Jz({
|
|
|
1718
1718
|
const f = Xg({
|
|
1719
1719
|
isOpen: !1,
|
|
1720
1720
|
popperInstance: null
|
|
1721
|
-
}), v = (
|
|
1721
|
+
}), v = (O) => {
|
|
1722
1722
|
var j;
|
|
1723
|
-
(j = f.popperInstance) == null || j.setOptions((
|
|
1724
|
-
|
|
1725
|
-
modifiers: [
|
|
1723
|
+
(j = f.popperInstance) == null || j.setOptions(($) => ({
|
|
1724
|
+
...$,
|
|
1725
|
+
modifiers: [...$.modifiers, { name: "eventListeners", enabled: O }]
|
|
1726
1726
|
}));
|
|
1727
1727
|
}, z = () => v(!0), y = () => v(!1), P = () => {
|
|
1728
1728
|
f.isOpen && (f.isOpen = !1, e("close:popper"));
|
|
1729
1729
|
}, L = () => {
|
|
1730
1730
|
f.isOpen || (f.isOpen = !0, e("open:popper"));
|
|
1731
1731
|
};
|
|
1732
|
-
p0([() => f.isOpen, n], async ([
|
|
1733
|
-
|
|
1732
|
+
p0([() => f.isOpen, n], async ([O]) => {
|
|
1733
|
+
O ? (await b(), z()) : y();
|
|
1734
1734
|
});
|
|
1735
1735
|
const b = async () => {
|
|
1736
1736
|
await Jg(), f.popperInstance = Fz(h.value, c.value, {
|
|
@@ -1760,8 +1760,8 @@ function Jz({
|
|
|
1760
1760
|
}), f.popperInstance.update();
|
|
1761
1761
|
};
|
|
1762
1762
|
return N1(() => {
|
|
1763
|
-
var
|
|
1764
|
-
(
|
|
1763
|
+
var O;
|
|
1764
|
+
(O = f.popperInstance) == null || O.destroy();
|
|
1765
1765
|
}), {
|
|
1766
1766
|
...os(f),
|
|
1767
1767
|
open: L,
|
|
@@ -1931,7 +1931,7 @@ const rw = /* @__PURE__ */ w(tw, [["render", ow], ["__scopeId", "data-v-b4b01b19
|
|
|
1931
1931
|
setup(t, { expose: e, emit: l }) {
|
|
1932
1932
|
const a = l, i = ek(), n = t;
|
|
1933
1933
|
let c = null;
|
|
1934
|
-
const h = "ecs-popover-" + parseInt(Math.ceil(Math.random() * Date.now()).toPrecision(16).toString().replace(".", "")), f = E0(!1), v = E0(null), z = E0(null), y = E0(!1), P = E0(!1), L = E0([]), b = E0(!0),
|
|
1934
|
+
const h = "ecs-popover-" + parseInt(Math.ceil(Math.random() * Date.now()).toPrecision(16).toString().replace(".", "")), f = E0(!1), v = E0(null), z = E0(null), y = E0(!1), P = E0(!1), L = E0([]), b = E0(!0), O = () => {
|
|
1935
1935
|
i.content ? P.value = !0 : P.value = !1;
|
|
1936
1936
|
};
|
|
1937
1937
|
rs(() => {
|
|
@@ -1940,11 +1940,11 @@ const rw = /* @__PURE__ */ w(tw, [["render", ow], ["__scopeId", "data-v-b4b01b19
|
|
|
1940
1940
|
return console.error(
|
|
1941
1941
|
`[Popper]: The <Popper> component expects only one child element at its root. You passed ${Z.length} child nodes.`
|
|
1942
1942
|
);
|
|
1943
|
-
(i.content !== void 0 || V.value) && (P.value = !0), c = new MutationObserver(
|
|
1943
|
+
(i.content !== void 0 || V.value) && (P.value = !0), c = new MutationObserver(O), document.addEventListener("keydown", y0);
|
|
1944
1944
|
});
|
|
1945
1945
|
const {
|
|
1946
1946
|
arrowPadding: j,
|
|
1947
|
-
closeDelay:
|
|
1947
|
+
closeDelay: $,
|
|
1948
1948
|
content: V,
|
|
1949
1949
|
disableClickAway: D,
|
|
1950
1950
|
disabled: F,
|
|
@@ -1970,7 +1970,7 @@ const rw = /* @__PURE__ */ w(tw, [["render", ow], ["__scopeId", "data-v-b4b01b19
|
|
|
1970
1970
|
M0(
|
|
1971
1971
|
() => A.value ? `border: ${I.value}px solid transparent; margin: -${I.value}px;` : null
|
|
1972
1972
|
);
|
|
1973
|
-
const w0 = _1.debounce(U, q.value), B0 = _1.debounce(Q,
|
|
1973
|
+
const w0 = _1.debounce(U, q.value), B0 = _1.debounce(Q, $.value), T0 = async () => {
|
|
1974
1974
|
t0.value || l0.value || (B0.clear(), f.value = !0, w0());
|
|
1975
1975
|
}, a0 = async () => {
|
|
1976
1976
|
l0.value || (w0.clear(), f.value = !1, B0());
|
|
@@ -3864,7 +3864,7 @@ function ky(t, e, l, a, i, n) {
|
|
|
3864
3864
|
(o(!0), r(R, null, n0(l.options, (L, b) => (o(), g(f, {
|
|
3865
3865
|
key: b,
|
|
3866
3866
|
disabled: L.disabled || null,
|
|
3867
|
-
onClick: (
|
|
3867
|
+
onClick: (O) => t.$emit("select", L.action)
|
|
3868
3868
|
}, {
|
|
3869
3869
|
default: x(() => [
|
|
3870
3870
|
H(_(L.label), 1)
|
|
@@ -6296,24 +6296,24 @@ function Z_() {
|
|
|
6296
6296
|
q2 = 1;
|
|
6297
6297
|
var t = i2(), e = F_(), l = D_(), a = "Expected a function", i = Math.max, n = Math.min;
|
|
6298
6298
|
function c(h, f, v) {
|
|
6299
|
-
var z, y, P, L, b,
|
|
6299
|
+
var z, y, P, L, b, O, j = 0, $ = !1, V = !1, D = !0;
|
|
6300
6300
|
if (typeof h != "function")
|
|
6301
6301
|
throw new TypeError(a);
|
|
6302
|
-
f = l(f) || 0, t(v) && (
|
|
6302
|
+
f = l(f) || 0, t(v) && ($ = !!v.leading, V = "maxWait" in v, P = V ? i(l(v.maxWait) || 0, f) : P, D = "trailing" in v ? !!v.trailing : D);
|
|
6303
6303
|
function F(U) {
|
|
6304
6304
|
var Q = z, l0 = y;
|
|
6305
6305
|
return z = y = void 0, j = U, L = h.apply(l0, Q), L;
|
|
6306
6306
|
}
|
|
6307
6307
|
function A(U) {
|
|
6308
|
-
return j = U, b = setTimeout(G, f),
|
|
6308
|
+
return j = U, b = setTimeout(G, f), $ ? F(U) : L;
|
|
6309
6309
|
}
|
|
6310
6310
|
function E(U) {
|
|
6311
|
-
var Q = U -
|
|
6311
|
+
var Q = U - O, l0 = U - j, t0 = f - Q;
|
|
6312
6312
|
return V ? n(t0, P - l0) : t0;
|
|
6313
6313
|
}
|
|
6314
6314
|
function I(U) {
|
|
6315
|
-
var Q = U -
|
|
6316
|
-
return
|
|
6315
|
+
var Q = U - O, l0 = U - j;
|
|
6316
|
+
return O === void 0 || Q >= f || Q < 0 || V && l0 >= P;
|
|
6317
6317
|
}
|
|
6318
6318
|
function G() {
|
|
6319
6319
|
var U = e();
|
|
@@ -6325,18 +6325,18 @@ function Z_() {
|
|
|
6325
6325
|
return b = void 0, D && z ? F(U) : (z = y = void 0, L);
|
|
6326
6326
|
}
|
|
6327
6327
|
function W() {
|
|
6328
|
-
b !== void 0 && clearTimeout(b), j = 0, z =
|
|
6328
|
+
b !== void 0 && clearTimeout(b), j = 0, z = O = y = b = void 0;
|
|
6329
6329
|
}
|
|
6330
6330
|
function X() {
|
|
6331
6331
|
return b === void 0 ? L : q(e());
|
|
6332
6332
|
}
|
|
6333
6333
|
function J() {
|
|
6334
6334
|
var U = e(), Q = I(U);
|
|
6335
|
-
if (z = arguments, y = this,
|
|
6335
|
+
if (z = arguments, y = this, O = U, Q) {
|
|
6336
6336
|
if (b === void 0)
|
|
6337
|
-
return A(
|
|
6337
|
+
return A(O);
|
|
6338
6338
|
if (V)
|
|
6339
|
-
return clearTimeout(b), b = setTimeout(G, f), F(
|
|
6339
|
+
return clearTimeout(b), b = setTimeout(G, f), F(O);
|
|
6340
6340
|
}
|
|
6341
6341
|
return b === void 0 && (b = setTimeout(G, f)), L;
|
|
6342
6342
|
}
|
|
@@ -7387,13 +7387,14 @@ const Dx = /* @__PURE__ */ w(Ax, [["render", Ix], ["__scopeId", "data-v-21b580ad
|
|
|
7387
7387
|
},
|
|
7388
7388
|
/**
|
|
7389
7389
|
* Renders the meta element within the row, as a designation pill:
|
|
7390
|
-
* [OpenButton] [Pill] [Title] [TitleControls] -|- **[
|
|
7390
|
+
* [OpenButton] [Pill] [Title] [TitleControls] -|- **[Designation]** [Count]
|
|
7391
7391
|
*
|
|
7392
7392
|
* The designation prop is an object with the following properties:
|
|
7393
7393
|
* - `text (String)`: The text content of the designation pill
|
|
7394
7394
|
* - `party (String)`: The party of the designation pill
|
|
7395
7395
|
* - `color (String)`: The color of the designation pill
|
|
7396
7396
|
* - `warning (Boolean)`: Whether the designation pill shows a warning badge
|
|
7397
|
+
* - `icon (String)`: The icon of the designation pill
|
|
7397
7398
|
*/
|
|
7398
7399
|
designation: {
|
|
7399
7400
|
type: Object
|
|
@@ -7468,7 +7469,7 @@ const Dx = /* @__PURE__ */ w(Ax, [["render", Ix], ["__scopeId", "data-v-21b580ad
|
|
|
7468
7469
|
class: "ecs-data-card-row-meta-pills-container"
|
|
7469
7470
|
};
|
|
7470
7471
|
function Kx(t, e, l, a, i, n) {
|
|
7471
|
-
var z;
|
|
7472
|
+
var z, y, P, L, b;
|
|
7472
7473
|
const c = m("ecs-button"), h = m("ecs-party-entry"), f = m("ecs-icon"), v = m("ecs-button-table");
|
|
7473
7474
|
return o(), r("div", Rx, [
|
|
7474
7475
|
n.computedOpenButton ? (o(), g(c, {
|
|
@@ -7490,8 +7491,8 @@ function Kx(t, e, l, a, i, n) {
|
|
|
7490
7491
|
n.hasPill && ((z = l.pill) != null && z.party) ? (o(), g(h, {
|
|
7491
7492
|
key: 0,
|
|
7492
7493
|
onClick: n.pillClick,
|
|
7493
|
-
onMouseenter: e[0] || (e[0] = (
|
|
7494
|
-
onMouseleave: e[1] || (e[1] = (
|
|
7494
|
+
onMouseenter: e[0] || (e[0] = (O) => n.handleHover(!0)),
|
|
7495
|
+
onMouseleave: e[1] || (e[1] = (O) => n.handleHover(!1)),
|
|
7495
7496
|
party: l.pill.party,
|
|
7496
7497
|
color: l.pill.color,
|
|
7497
7498
|
background: l.pill.background,
|
|
@@ -7506,9 +7507,9 @@ function Kx(t, e, l, a, i, n) {
|
|
|
7506
7507
|
_: 1
|
|
7507
7508
|
}, 8, ["onClick", "party", "color", "background", "icon", "class"])) : n.hasPill ? (o(), r("span", {
|
|
7508
7509
|
key: 1,
|
|
7509
|
-
onClick: e[2] || (e[2] = (...
|
|
7510
|
-
onMouseenter: e[3] || (e[3] = (
|
|
7511
|
-
onMouseleave: e[4] || (e[4] = (
|
|
7510
|
+
onClick: e[2] || (e[2] = (...O) => n.pillClick && n.pillClick(...O)),
|
|
7511
|
+
onMouseenter: e[3] || (e[3] = (O) => n.handleHover(!0)),
|
|
7512
|
+
onMouseleave: e[4] || (e[4] = (O) => n.handleHover(!1)),
|
|
7512
7513
|
class: k(["ecs-data-card-row-pill", { clickable: l.pill.clickable, emphasized: l.pill.emphasized, "has-background": l.pill.background, ai: l.pill.ai, "is-hovered": i.isHovered }]),
|
|
7513
7514
|
style: S({ color: l.pill.color })
|
|
7514
7515
|
}, [
|
|
@@ -7532,19 +7533,19 @@ function Kx(t, e, l, a, i, n) {
|
|
|
7532
7533
|
size: "20px"
|
|
7533
7534
|
}, null, 8, ["type", "color"])) : u("", !0),
|
|
7534
7535
|
s("span", {
|
|
7535
|
-
onClick: e[5] || (e[5] = (...
|
|
7536
|
-
onMouseenter: e[6] || (e[6] = (
|
|
7537
|
-
onMouseleave: e[7] || (e[7] = (
|
|
7536
|
+
onClick: e[5] || (e[5] = (...O) => n.titleClick && n.titleClick(...O)),
|
|
7537
|
+
onMouseenter: e[6] || (e[6] = (O) => n.handleHover(!0)),
|
|
7538
|
+
onMouseleave: e[7] || (e[7] = (O) => n.handleHover(!1)),
|
|
7538
7539
|
class: k(["ecs-data-card-row-title-text", { escape: l.wrap === "wrap-row", clickable: l.title.clickable, emphasized: l.title.emphasized, "is-hovered": i.isHovered }])
|
|
7539
7540
|
}, _(l.title.text), 35),
|
|
7540
7541
|
p(t.$slots, "titleControls", {}, void 0, !0)
|
|
7541
7542
|
], 2)) : u("", !0)
|
|
7542
7543
|
]),
|
|
7543
|
-
l.meta ? (o(), r("div", {
|
|
7544
|
+
l.meta || t.$slots.customMeta ? (o(), r("div", {
|
|
7544
7545
|
key: 0,
|
|
7545
|
-
class: k([{ ai: l.meta.ai, default: l.meta.type === "default", identifier: l.meta.type === "identifier" }, "ecs-data-card-row-meta-container"])
|
|
7546
|
+
class: k([{ ai: (y = l.meta) == null ? void 0 : y.ai, default: ((P = l.meta) == null ? void 0 : P.type) === "default", identifier: ((L = l.meta) == null ? void 0 : L.type) === "identifier" }, "ecs-data-card-row-meta-container"])
|
|
7546
7547
|
}, [
|
|
7547
|
-
H(_(l.meta.text) + " ", 1),
|
|
7548
|
+
H(_((b = l.meta) == null ? void 0 : b.text) + " ", 1),
|
|
7548
7549
|
p(t.$slots, "customMeta", {}, void 0, !0)
|
|
7549
7550
|
], 2)) : u("", !0),
|
|
7550
7551
|
l.count || l.designation ? (o(), r("div", Wx, [
|
|
@@ -7579,7 +7580,7 @@ function Kx(t, e, l, a, i, n) {
|
|
|
7579
7580
|
], 2)
|
|
7580
7581
|
]);
|
|
7581
7582
|
}
|
|
7582
|
-
const Y30 = /* @__PURE__ */ w(Zx, [["render", Kx], ["__scopeId", "data-v-
|
|
7583
|
+
const Y30 = /* @__PURE__ */ w(Zx, [["render", Kx], ["__scopeId", "data-v-27785198"]]), Yx = {
|
|
7583
7584
|
name: "ecs-data-grid",
|
|
7584
7585
|
emits: ["tableScroll"],
|
|
7585
7586
|
props: {
|
|
@@ -14059,7 +14060,7 @@ const f$ = /* @__PURE__ */ w(a$, [["render", h$], ["__scopeId", "data-v-a6e15633
|
|
|
14059
14060
|
class: "meta"
|
|
14060
14061
|
}, L$ = { key: 0 }, P$ = ["title"];
|
|
14061
14062
|
function O$(t, e, l, a, i, n) {
|
|
14062
|
-
const c = m("ecs-icon"), h = m("ecs-focus-ring"), f = m("ecs-rating-favorability"), v = m("ecs-rating-star-read"), z = m("ecs-switch"), y = m("ecs-avatar"), P = m("ecs-popover-list-item"), L = m("ecs-popover-list"), b = m("ecs-popover"),
|
|
14063
|
+
const c = m("ecs-icon"), h = m("ecs-focus-ring"), f = m("ecs-rating-favorability"), v = m("ecs-rating-star-read"), z = m("ecs-switch"), y = m("ecs-avatar"), P = m("ecs-popover-list-item"), L = m("ecs-popover-list"), b = m("ecs-popover"), O = m("ecs-flex-row"), j = m("ecs-checkbox");
|
|
14063
14064
|
return o(), r("li", {
|
|
14064
14065
|
class: k(["ecs-quicklinks-link", [
|
|
14065
14066
|
n.typeClass,
|
|
@@ -14069,7 +14070,7 @@ function O$(t, e, l, a, i, n) {
|
|
|
14069
14070
|
}, [
|
|
14070
14071
|
l.type === "icon" ? (o(), r("label", {
|
|
14071
14072
|
key: 0,
|
|
14072
|
-
onClick: e[0] || (e[0] = (
|
|
14073
|
+
onClick: e[0] || (e[0] = ($) => t.$emit("click", $)),
|
|
14073
14074
|
tabindex: "0",
|
|
14074
14075
|
role: "button"
|
|
14075
14076
|
}, [
|
|
@@ -14086,7 +14087,7 @@ function O$(t, e, l, a, i, n) {
|
|
|
14086
14087
|
])) : l.type === "favorability" ? (o(), r("div", {
|
|
14087
14088
|
key: 1,
|
|
14088
14089
|
class: "ecs-form-check",
|
|
14089
|
-
onClick: e[1] || (e[1] = (
|
|
14090
|
+
onClick: e[1] || (e[1] = ($) => t.$emit("click", $)),
|
|
14090
14091
|
tabindex: "0",
|
|
14091
14092
|
role: "button"
|
|
14092
14093
|
}, [
|
|
@@ -14109,7 +14110,7 @@ function O$(t, e, l, a, i, n) {
|
|
|
14109
14110
|
C(h)
|
|
14110
14111
|
])) : (o(), g(j, {
|
|
14111
14112
|
key: 2,
|
|
14112
|
-
onInput: e[3] || (e[3] = (
|
|
14113
|
+
onInput: e[3] || (e[3] = ($) => t.$emit("input", $)),
|
|
14113
14114
|
value: l.value,
|
|
14114
14115
|
"value-false": l.valueFalse,
|
|
14115
14116
|
"value-true": l.valueTrue,
|
|
@@ -14122,7 +14123,7 @@ function O$(t, e, l, a, i, n) {
|
|
|
14122
14123
|
rating: l.rating
|
|
14123
14124
|
}, null, 8, ["rating"])) : l.type === "switch" ? (o(), g(z, {
|
|
14124
14125
|
key: 1,
|
|
14125
|
-
onInput: e[2] || (e[2] = (
|
|
14126
|
+
onInput: e[2] || (e[2] = ($) => t.$emit("toggle", $)),
|
|
14126
14127
|
value: l.valueToggle,
|
|
14127
14128
|
disabled: l.value == !1 || null,
|
|
14128
14129
|
size: "sml-toggle",
|
|
@@ -14141,19 +14142,19 @@ function O$(t, e, l, a, i, n) {
|
|
|
14141
14142
|
}, null, 8, ["image", "name", "relevant-badge"]),
|
|
14142
14143
|
s("span", _$, _(l.label || l.persona.name), 1)
|
|
14143
14144
|
], 64)) : (o(), r("span", x$, _(l.label), 1)),
|
|
14144
|
-
i.localVolumes ? (o(), g(
|
|
14145
|
+
i.localVolumes ? (o(), g(O, {
|
|
14145
14146
|
key: 4,
|
|
14146
14147
|
gap: 2,
|
|
14147
14148
|
class: "volume-list"
|
|
14148
14149
|
}, {
|
|
14149
14150
|
default: x(() => [
|
|
14150
|
-
(o(!0), r(R, null, n0(n.displayedVolumes, (
|
|
14151
|
-
key:
|
|
14152
|
-
class: k(["volume", { active:
|
|
14153
|
-
onClick: (V) => n.toggleVolume(
|
|
14154
|
-
title: `${
|
|
14155
|
-
"aria-label": `Volume ${
|
|
14156
|
-
}, _(
|
|
14151
|
+
(o(!0), r(R, null, n0(n.displayedVolumes, ($) => (o(), r("button", {
|
|
14152
|
+
key: $.id,
|
|
14153
|
+
class: k(["volume", { active: $.active }]),
|
|
14154
|
+
onClick: (V) => n.toggleVolume($.id),
|
|
14155
|
+
title: `${$.name} (${$.date})`,
|
|
14156
|
+
"aria-label": `Volume ${$.id}${$.active ? " active" : ""}`
|
|
14157
|
+
}, _($.id), 11, b$))), 128)),
|
|
14157
14158
|
i.localVolumes.length > 3 ? (o(), g(b, {
|
|
14158
14159
|
key: 0,
|
|
14159
14160
|
disabled: l.disabled || null
|
|
@@ -14161,15 +14162,15 @@ function O$(t, e, l, a, i, n) {
|
|
|
14161
14162
|
content: x(() => [
|
|
14162
14163
|
C(L, null, {
|
|
14163
14164
|
default: x(() => [
|
|
14164
|
-
(o(!0), r(R, null, n0(i.localVolumes.slice(3), (
|
|
14165
|
-
key:
|
|
14166
|
-
onClick: (V) => n.toggleVolume(
|
|
14167
|
-
selected:
|
|
14168
|
-
title: `${
|
|
14169
|
-
"aria-label": `Volume ${
|
|
14165
|
+
(o(!0), r(R, null, n0(i.localVolumes.slice(3), ($) => (o(), g(P, {
|
|
14166
|
+
key: $.id,
|
|
14167
|
+
onClick: (V) => n.toggleVolume($.id),
|
|
14168
|
+
selected: $.active,
|
|
14169
|
+
title: `${$.name} (${$.date})`,
|
|
14170
|
+
"aria-label": `Volume ${$.id}${$.active ? " active" : ""}`
|
|
14170
14171
|
}, {
|
|
14171
14172
|
default: x(() => [
|
|
14172
|
-
H(_(
|
|
14173
|
+
H(_($.id), 1)
|
|
14173
14174
|
]),
|
|
14174
14175
|
_: 2
|
|
14175
14176
|
}, 1032, ["onClick", "selected", "title", "aria-label"]))), 128))
|
|
@@ -14179,7 +14180,7 @@ function O$(t, e, l, a, i, n) {
|
|
|
14179
14180
|
]),
|
|
14180
14181
|
default: x(() => [
|
|
14181
14182
|
s("button", {
|
|
14182
|
-
class: k(["volume more", { active: i.localVolumes.slice(3).some((
|
|
14183
|
+
class: k(["volume more", { active: i.localVolumes.slice(3).some(($) => $.active) }]),
|
|
14183
14184
|
title: "More",
|
|
14184
14185
|
"aria-label": `${i.localVolumes.length - 3} more volumes`
|
|
14185
14186
|
}, [
|