@everchron/ec-shards 9.18.25 → 9.18.27
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 +122 -121
- 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 se, watch as me, openBlock as o, createBlock as m, resolveDynamicComponent as ue, unref as re, normalizeClass as v, createElementBlock as r, normalizeStyle as
|
|
1
|
+
import { defineAsyncComponent as se, watch as me, openBlock as o, createBlock as m, resolveDynamicComponent as ue, unref as re, normalizeClass as v, createElementBlock as r, normalizeStyle as B, resolveComponent as g, createVNode as _, createCommentVNode as u, createElementVNode as f, createTextVNode as L, toDisplayString as C, renderSlot as p, Transition as pe, withCtx as w, computed as Ee, Fragment as F, renderList as J, pushScopeId as ve, popScopeId as ye, reactive as ui, nextTick as fi, onBeforeUnmount as At, toRefs as Es, isRef as gi, onMounted as Ts, useSlots as mi, ref as Re, watchEffect as dt, withKeys as Y, Teleport as hi, withDirectives as je, vShow as nt, mergeProps as qe, normalizeProps as pi, guardReactiveProps as vi, withModifiers as G, resolveDirective as yi, vModelText as bi, createStaticVNode as _i, markRaw as ki, TransitionGroup as Ps, h as Ci, useCssVars as wi } from "vue";
|
|
2
2
|
const ie = (e, s) => {
|
|
3
3
|
const t = e[s];
|
|
4
4
|
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((a, n) => {
|
|
@@ -84,7 +84,7 @@ const ie = (e, s) => {
|
|
|
84
84
|
function Bi(e, s, t, a, n, i) {
|
|
85
85
|
return o(), r("span", {
|
|
86
86
|
class: v(["ecs-focus-ring", t.danger ? "ecs-focus-ring-danger" : ""]),
|
|
87
|
-
style:
|
|
87
|
+
style: B(i.styles)
|
|
88
88
|
}, null, 6);
|
|
89
89
|
}
|
|
90
90
|
const D = /* @__PURE__ */ y(xi, [["render", Bi], ["__scopeId", "data-v-8d624905"]]), Ii = {
|
|
@@ -176,7 +176,7 @@ function Mi(e, s, t, a, n, i) {
|
|
|
176
176
|
t.inset ? "ecs-alert-inset" : "",
|
|
177
177
|
t.border !== !1 ? "ecs-alert-border" : ""
|
|
178
178
|
]]),
|
|
179
|
-
style:
|
|
179
|
+
style: B(i.borderStyles),
|
|
180
180
|
role: "alert"
|
|
181
181
|
}, [
|
|
182
182
|
t.dismissable ? (o(), r("button", {
|
|
@@ -335,7 +335,7 @@ const A0 = /* @__PURE__ */ y(Di, [["render", Ri], ["__scopeId", "data-v-4e7ca115
|
|
|
335
335
|
"aria-busy": t.value || null,
|
|
336
336
|
width: e.size,
|
|
337
337
|
height: e.size,
|
|
338
|
-
style:
|
|
338
|
+
style: B(`color: ${n.value}`)
|
|
339
339
|
}, null, 8, ["class", "aria-busy", "width", "height", "style"])) : u("", !0);
|
|
340
340
|
}
|
|
341
341
|
}, Oe = /* @__PURE__ */ y(Fi, [["__scopeId", "data-v-eda299bd"]]), qi = {
|
|
@@ -397,7 +397,7 @@ function Ki(e, s, t, a, n, i) {
|
|
|
397
397
|
return t.type === "rect" || t.type === "circle" ? (o(), r("div", {
|
|
398
398
|
key: 0,
|
|
399
399
|
class: v(["ecs-skeleton skeleton", i.rectClass]),
|
|
400
|
-
style:
|
|
400
|
+
style: B({ width: i.calculatedWidth, height: t.height + "px" })
|
|
401
401
|
}, null, 6)) : t.type === "multi" ? (o(), r("div", ji, [
|
|
402
402
|
(o(!0), r(F, null, J(parseInt(t.count), (l) => (o(), r("div", {
|
|
403
403
|
key: l,
|
|
@@ -409,7 +409,7 @@ function Ki(e, s, t, a, n, i) {
|
|
|
409
409
|
}, [
|
|
410
410
|
f("div", {
|
|
411
411
|
class: "skeleton skeleton-single",
|
|
412
|
-
style:
|
|
412
|
+
style: B({ width: i.calculatedWidth })
|
|
413
413
|
}, null, 4)
|
|
414
414
|
], 2));
|
|
415
415
|
}
|
|
@@ -550,7 +550,7 @@ function Ji(e, s, t, a, n, i) {
|
|
|
550
550
|
const l = g("ecs-skeleton-loader"), c = g("ecs-sticker");
|
|
551
551
|
return o(), r("div", {
|
|
552
552
|
class: v(["avatar", [i.partyClass]]),
|
|
553
|
-
style:
|
|
553
|
+
style: B([i.style, t.customStyle]),
|
|
554
554
|
role: t.image ? "img" : "none",
|
|
555
555
|
"aria-label": t.name
|
|
556
556
|
}, [
|
|
@@ -645,7 +645,7 @@ function en(e, s, t, a, n, i) {
|
|
|
645
645
|
t.dismissable ? (o(), r("button", {
|
|
646
646
|
key: 0,
|
|
647
647
|
onClick: s[0] || (s[0] = (...d) => i.dismiss && i.dismiss(...d)),
|
|
648
|
-
style:
|
|
648
|
+
style: B(i.dismissButtonStyle),
|
|
649
649
|
class: "close",
|
|
650
650
|
"aria-label": "Dismiss"
|
|
651
651
|
}, [
|
|
@@ -800,7 +800,7 @@ const V0 = /* @__PURE__ */ y(ln, [["render", cn], ["__scopeId", "data-v-422cc046
|
|
|
800
800
|
function un(e, s, t, a, n, i) {
|
|
801
801
|
return o(), r("div", {
|
|
802
802
|
class: v(["ecs-flex-row", [i.directionClass, i.justifyClass, i.alignClass, t.wrap ? "ecs-flex-row-wrap" : ""]]),
|
|
803
|
-
style:
|
|
803
|
+
style: B(i.gapStyle)
|
|
804
804
|
}, [
|
|
805
805
|
p(e.$slots, "default", {}, void 0, !0)
|
|
806
806
|
], 6);
|
|
@@ -1189,7 +1189,7 @@ function Fs(e, s) {
|
|
|
1189
1189
|
}
|
|
1190
1190
|
function qt(e, s) {
|
|
1191
1191
|
s === void 0 && (s = {});
|
|
1192
|
-
var t = s, a = t.placement, n = a === void 0 ? e.placement : a, i = t.strategy, l = i === void 0 ? e.strategy : i, c = t.boundary, d = c === void 0 ? yn : c, h = t.rootBoundary, b = h === void 0 ? Os : h, k = t.elementContext, E = k === void 0 ? Je : k, I = t.altBoundary,
|
|
1192
|
+
var t = s, a = t.placement, n = a === void 0 ? e.placement : a, i = t.strategy, l = i === void 0 ? e.strategy : i, c = t.boundary, d = c === void 0 ? yn : c, h = t.rootBoundary, b = h === void 0 ? Os : h, k = t.elementContext, E = k === void 0 ? Je : k, I = t.altBoundary, x = I === void 0 ? !1 : I, M = t.padding, $ = M === void 0 ? 0 : M, z = Rs(typeof $ != "number" ? $ : Fs($, ot)), T = E === Je ? bn : Je, H = e.rects.popper, O = e.elements[x ? T : E], N = Nn(We(O) ? O : O.contextElement || De(e.elements.popper), d, b, l), P = Ye(e.elements.reference), V = Vs({
|
|
1193
1193
|
reference: P,
|
|
1194
1194
|
element: H,
|
|
1195
1195
|
strategy: "absolute",
|
|
@@ -1248,7 +1248,7 @@ function Vn(e) {
|
|
|
1248
1248
|
var H = Pn($n([].concat(a, b.options.modifiers)));
|
|
1249
1249
|
return b.orderedModifiers = H.filter(function(O) {
|
|
1250
1250
|
return O.enabled;
|
|
1251
|
-
}),
|
|
1251
|
+
}), x(), I.update();
|
|
1252
1252
|
},
|
|
1253
1253
|
// Sync update – it will always be executed, even if not necessary. This
|
|
1254
1254
|
// is useful for low frequency updates where sync behavior simplifies the
|
|
@@ -1297,7 +1297,7 @@ function Vn(e) {
|
|
|
1297
1297
|
I.setOptions(h).then(function($) {
|
|
1298
1298
|
!E && h.onFirstUpdate && h.onFirstUpdate($);
|
|
1299
1299
|
});
|
|
1300
|
-
function
|
|
1300
|
+
function x() {
|
|
1301
1301
|
b.orderedModifiers.forEach(function($) {
|
|
1302
1302
|
var z = $.name, T = $.options, H = T === void 0 ? {} : T, O = $.effect;
|
|
1303
1303
|
if (typeof O == "function") {
|
|
@@ -1372,7 +1372,7 @@ function jn(e, s) {
|
|
|
1372
1372
|
};
|
|
1373
1373
|
}
|
|
1374
1374
|
function gs(e) {
|
|
1375
|
-
var s, t = e.popper, a = e.popperRect, n = e.placement, i = e.variation, l = e.offsets, c = e.position, d = e.gpuAcceleration, h = e.adaptive, b = e.roundOffsets, k = e.isFixed, E = l.x, I = E === void 0 ? 0 : E,
|
|
1375
|
+
var s, t = e.popper, a = e.popperRect, n = e.placement, i = e.variation, l = e.offsets, c = e.position, d = e.gpuAcceleration, h = e.adaptive, b = e.roundOffsets, k = e.isFixed, E = l.x, I = E === void 0 ? 0 : E, x = l.y, M = x === void 0 ? 0 : x, $ = typeof b == "function" ? b({
|
|
1376
1376
|
x: I,
|
|
1377
1377
|
y: M
|
|
1378
1378
|
}) : {
|
|
@@ -1501,7 +1501,7 @@ function ea(e, s, t) {
|
|
|
1501
1501
|
return a > t ? t : a;
|
|
1502
1502
|
}
|
|
1503
1503
|
function ta(e) {
|
|
1504
|
-
var s = e.state, t = e.options, a = e.name, n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !1 : l, d = t.boundary, h = t.rootBoundary, b = t.altBoundary, k = t.padding, E = t.tether, I = E === void 0 ? !0 : E,
|
|
1504
|
+
var s = e.state, t = e.options, a = e.name, n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !1 : l, d = t.boundary, h = t.rootBoundary, b = t.altBoundary, k = t.padding, E = t.tether, I = E === void 0 ? !0 : E, x = t.tetherOffset, M = x === void 0 ? 0 : x, $ = qt(s, {
|
|
1505
1505
|
boundary: d,
|
|
1506
1506
|
rootBoundary: h,
|
|
1507
1507
|
padding: k,
|
|
@@ -1562,22 +1562,22 @@ function ms(e) {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
function aa(e, s) {
|
|
1564
1564
|
s === void 0 && (s = {});
|
|
1565
|
-
var t = s, a = t.placement, n = t.boundary, i = t.rootBoundary, l = t.padding, c = t.flipVariations, d = t.allowedAutoPlacements, h = d === void 0 ? Ds : d, b = Ze(a), k = b ? c ? cs : cs.filter(function(
|
|
1566
|
-
return Ze(
|
|
1567
|
-
}) : ot, E = k.filter(function(
|
|
1568
|
-
return h.indexOf(
|
|
1565
|
+
var t = s, a = t.placement, n = t.boundary, i = t.rootBoundary, l = t.padding, c = t.flipVariations, d = t.allowedAutoPlacements, h = d === void 0 ? Ds : d, b = Ze(a), k = b ? c ? cs : cs.filter(function(x) {
|
|
1566
|
+
return Ze(x) === b;
|
|
1567
|
+
}) : ot, E = k.filter(function(x) {
|
|
1568
|
+
return h.indexOf(x) >= 0;
|
|
1569
1569
|
});
|
|
1570
1570
|
E.length === 0 && (E = k);
|
|
1571
|
-
var I = E.reduce(function(
|
|
1572
|
-
return
|
|
1571
|
+
var I = E.reduce(function(x, M) {
|
|
1572
|
+
return x[M] = qt(e, {
|
|
1573
1573
|
placement: M,
|
|
1574
1574
|
boundary: n,
|
|
1575
1575
|
rootBoundary: i,
|
|
1576
1576
|
padding: l
|
|
1577
|
-
})[Te(M)],
|
|
1577
|
+
})[Te(M)], x;
|
|
1578
1578
|
}, {});
|
|
1579
|
-
return Object.keys(I).sort(function(
|
|
1580
|
-
return I[
|
|
1579
|
+
return Object.keys(I).sort(function(x, M) {
|
|
1580
|
+
return I[x] - I[M];
|
|
1581
1581
|
});
|
|
1582
1582
|
}
|
|
1583
1583
|
function oa(e) {
|
|
@@ -1589,13 +1589,13 @@ function oa(e) {
|
|
|
1589
1589
|
function la(e) {
|
|
1590
1590
|
var s = e.state, t = e.options, a = e.name;
|
|
1591
1591
|
if (!s.modifiersData[a]._skip) {
|
|
1592
|
-
for (var n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !0 : l, d = t.fallbackPlacements, h = t.padding, b = t.boundary, k = t.rootBoundary, E = t.altBoundary, I = t.flipVariations,
|
|
1592
|
+
for (var n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !0 : l, d = t.fallbackPlacements, h = t.padding, b = t.boundary, k = t.rootBoundary, E = t.altBoundary, I = t.flipVariations, x = I === void 0 ? !0 : I, M = t.allowedAutoPlacements, $ = s.options.placement, z = Te($), T = z === $, H = d || (T || !x ? [mt($)] : oa($)), O = [$].concat(H).reduce(function(Ae, Ce) {
|
|
1593
1593
|
return Ae.concat(Te(Ce) === Rt ? aa(s, {
|
|
1594
1594
|
placement: Ce,
|
|
1595
1595
|
boundary: b,
|
|
1596
1596
|
rootBoundary: k,
|
|
1597
1597
|
padding: h,
|
|
1598
|
-
flipVariations:
|
|
1598
|
+
flipVariations: x,
|
|
1599
1599
|
allowedAutoPlacements: M
|
|
1600
1600
|
}) : Ce);
|
|
1601
1601
|
}, []), N = s.rects.reference, P = s.rects.popper, V = /* @__PURE__ */ new Map(), q = !0, j = O[0], K = 0; K < O.length; K++) {
|
|
@@ -1617,7 +1617,7 @@ function la(e) {
|
|
|
1617
1617
|
V.set(X, ke);
|
|
1618
1618
|
}
|
|
1619
1619
|
if (q)
|
|
1620
|
-
for (var Le =
|
|
1620
|
+
for (var Le = x ? 3 : 1, Ne = function(Ce) {
|
|
1621
1621
|
var R = O.find(function(U) {
|
|
1622
1622
|
var oe = V.get(U);
|
|
1623
1623
|
if (oe)
|
|
@@ -1678,7 +1678,7 @@ var fa = function(s, t) {
|
|
|
1678
1678
|
function ga(e) {
|
|
1679
1679
|
var s, t = e.state, a = e.name, n = e.options, i = t.elements.arrow, l = t.modifiersData.popperOffsets, c = Te(t.placement), d = Ft(c), h = [de, Be].indexOf(c) >= 0, b = h ? "height" : "width";
|
|
1680
1680
|
if (!(!i || !l)) {
|
|
1681
|
-
var k = fa(n.padding, t), E = Ht(i), I = d === "y" ? ce : de,
|
|
1681
|
+
var k = fa(n.padding, t), E = Ht(i), I = d === "y" ? ce : de, x = d === "y" ? xe : Be, M = t.rects.reference[b] + t.rects.reference[d] - l[d] - t.rects.popper[b], $ = l[d] - t.rects.reference[d], z = at(i), T = z ? d === "y" ? z.clientHeight || 0 : z.clientWidth || 0 : 0, H = M / 2 - $ / 2, O = k[I], N = T - E[b] - k[x], P = T / 2 - E[b] / 2 + H, V = st(O, P, N), q = d;
|
|
1682
1682
|
t.modifiersData[a] = (s = {}, s[q] = V, s.centerOffset = V - P, s);
|
|
1683
1683
|
}
|
|
1684
1684
|
}
|
|
@@ -1720,9 +1720,9 @@ function pa({
|
|
|
1720
1720
|
d.isOpen || (d.isOpen = !0, s("open:popper"));
|
|
1721
1721
|
};
|
|
1722
1722
|
me([() => d.isOpen, i], async ([M]) => {
|
|
1723
|
-
M ? (await
|
|
1723
|
+
M ? (await x(), b()) : k();
|
|
1724
1724
|
});
|
|
1725
|
-
const
|
|
1725
|
+
const x = async () => {
|
|
1726
1726
|
await fi(), d.popperInstance = Jn(c.value, l.value, {
|
|
1727
1727
|
placement: i.value,
|
|
1728
1728
|
modifiers: [
|
|
@@ -1921,7 +1921,7 @@ const Ca = /* @__PURE__ */ y(ba, [["render", ka], ["__scopeId", "data-v-b4b01b19
|
|
|
1921
1921
|
setup(e, { expose: s, emit: t }) {
|
|
1922
1922
|
const a = t, n = mi(), i = e;
|
|
1923
1923
|
let l = null;
|
|
1924
|
-
const c = "ecs-popover-" + parseInt(Math.ceil(Math.random() * Date.now()).toPrecision(16).toString().replace(".", "")), d = Re(!1), h = Re(null), b = Re(null), k = Re(!1), E = Re(!1), I = Re([]),
|
|
1924
|
+
const c = "ecs-popover-" + parseInt(Math.ceil(Math.random() * Date.now()).toPrecision(16).toString().replace(".", "")), d = Re(!1), h = Re(null), b = Re(null), k = Re(!1), E = Re(!1), I = Re([]), x = Re(!0), M = () => {
|
|
1925
1925
|
n.content ? E.value = !0 : E.value = !1;
|
|
1926
1926
|
};
|
|
1927
1927
|
Ts(() => {
|
|
@@ -2004,10 +2004,10 @@ const Ca = /* @__PURE__ */ y(ba, [["render", ka], ["__scopeId", "data-v-b4b01b19
|
|
|
2004
2004
|
const Ve = (oe - 1 + U.length) % U.length;
|
|
2005
2005
|
U[Ve].focus();
|
|
2006
2006
|
} else
|
|
2007
|
-
R.key === "Escape" ? (R.preventDefault(), ae()) : R.key === "Tab" &&
|
|
2007
|
+
R.key === "Escape" ? (R.preventDefault(), ae()) : R.key === "Tab" && x.value && (R.preventDefault(), x.value = !1, U.length > 0 && U[0].focus());
|
|
2008
2008
|
};
|
|
2009
2009
|
return dt(() => {
|
|
2010
|
-
d.value && (Ae(),
|
|
2010
|
+
d.value && (Ae(), x.value = !0, I.value.length > 0 && I.value[0].focus());
|
|
2011
2011
|
}), (R, U) => (o(), r("div", {
|
|
2012
2012
|
class: "ecs-popover-root",
|
|
2013
2013
|
onMouseleave: U[2] || (U[2] = (oe) => e.hover && ae())
|
|
@@ -2412,12 +2412,12 @@ function Aa(e, s, t, a, n, i) {
|
|
|
2412
2412
|
key: 0,
|
|
2413
2413
|
onClick: i.handleClick,
|
|
2414
2414
|
as: "button",
|
|
2415
|
-
style:
|
|
2415
|
+
style: B(i.clickablePadding)
|
|
2416
2416
|
}, {
|
|
2417
2417
|
default: w(() => [
|
|
2418
2418
|
(o(), m(ue(i.textTag), {
|
|
2419
2419
|
class: v([[i.typeScaleClass, i.weightClass, i.alignClass, t.preset, i.fontClass], "ecs-text"]),
|
|
2420
|
-
style:
|
|
2420
|
+
style: B([i.colorStyle, i.fontSizeStyle])
|
|
2421
2421
|
}, {
|
|
2422
2422
|
default: w(() => [
|
|
2423
2423
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -2429,7 +2429,7 @@ function Aa(e, s, t, a, n, i) {
|
|
|
2429
2429
|
}, 8, ["onClick", "style"])) : (o(), m(ue(i.textTag), {
|
|
2430
2430
|
key: 1,
|
|
2431
2431
|
class: v([[i.typeScaleClass, i.weightClass, i.alignClass, t.preset, i.fontClass], "ecs-text"]),
|
|
2432
|
-
style:
|
|
2432
|
+
style: B([i.colorStyle, i.fontSizeStyle])
|
|
2433
2433
|
}, {
|
|
2434
2434
|
default: w(() => [
|
|
2435
2435
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -2634,7 +2634,7 @@ const lt = /* @__PURE__ */ y(Oa, [["render", Va], ["__scopeId", "data-v-be4ba5ee
|
|
|
2634
2634
|
function Ra(e, s, t, a, n, i) {
|
|
2635
2635
|
return o(), m(ue(i.textTag), {
|
|
2636
2636
|
class: v([[i.textClass, t.emphasized ? "emphasized" : ""], "ecs-text"]),
|
|
2637
|
-
style:
|
|
2637
|
+
style: B({ color: i.textColor })
|
|
2638
2638
|
}, {
|
|
2639
2639
|
default: w(() => [
|
|
2640
2640
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -3358,7 +3358,7 @@ function Ao(e, s, t, a, n, i) {
|
|
|
3358
3358
|
return o(), r("li", null, [
|
|
3359
3359
|
t.type === "checkbox" ? (o(), r("div", po, [
|
|
3360
3360
|
_(l, {
|
|
3361
|
-
onInput: s[0] || (s[0] = (
|
|
3361
|
+
onInput: s[0] || (s[0] = (x) => e.$emit("input", x)),
|
|
3362
3362
|
disabled: t.disabled || null,
|
|
3363
3363
|
value: t.value,
|
|
3364
3364
|
"value-false": t.valueFalse,
|
|
@@ -3379,7 +3379,7 @@ function Ao(e, s, t, a, n, i) {
|
|
|
3379
3379
|
})) : u("", !0)
|
|
3380
3380
|
])) : t.type === "radiobutton" ? (o(), r("div", yo, [
|
|
3381
3381
|
_(d, {
|
|
3382
|
-
onChange: s[1] || (s[1] = (
|
|
3382
|
+
onChange: s[1] || (s[1] = (x) => e.$emit("change", x)),
|
|
3383
3383
|
disabled: t.disabled || null,
|
|
3384
3384
|
checked: t.value || null
|
|
3385
3385
|
}, {
|
|
@@ -3397,7 +3397,8 @@ function Ao(e, s, t, a, n, i) {
|
|
|
3397
3397
|
})) : u("", !0)
|
|
3398
3398
|
])) : t.type === "switch" ? (o(), r("div", _o, [
|
|
3399
3399
|
_(h, {
|
|
3400
|
-
|
|
3400
|
+
onInput: s[2] || (s[2] = (x) => e.$emit("input", x)),
|
|
3401
|
+
onChange: s[3] || (s[3] = (x) => e.$emit("change", x)),
|
|
3401
3402
|
value: t.value,
|
|
3402
3403
|
"value-false": t.valueFalse,
|
|
3403
3404
|
"value-true": t.valueTrue,
|
|
@@ -3419,7 +3420,7 @@ function Ao(e, s, t, a, n, i) {
|
|
|
3419
3420
|
})) : u("", !0)
|
|
3420
3421
|
])) : t.type === "sort" ? (o(), r("div", {
|
|
3421
3422
|
key: 3,
|
|
3422
|
-
onClick: s[
|
|
3423
|
+
onClick: s[4] || (s[4] = (x) => e.$emit("click", x)),
|
|
3423
3424
|
class: "ecs-popover-list-item control no-hover",
|
|
3424
3425
|
role: "menuitem",
|
|
3425
3426
|
tabindex: t.disabled ? -1 : 0
|
|
@@ -3443,7 +3444,7 @@ function Ao(e, s, t, a, n, i) {
|
|
|
3443
3444
|
_(k, { inset: 0 })
|
|
3444
3445
|
], 8, wo)) : t.type === "link" ? (o(), r("a", {
|
|
3445
3446
|
key: 4,
|
|
3446
|
-
onClick: s[
|
|
3447
|
+
onClick: s[7] || (s[7] = (x) => e.$emit("click", x)),
|
|
3447
3448
|
class: v(["ecs-popover-list-item", [
|
|
3448
3449
|
t.danger ? "danger" : "",
|
|
3449
3450
|
t.subtle ? "subtle" : "",
|
|
@@ -3475,8 +3476,8 @@ function Ao(e, s, t, a, n, i) {
|
|
|
3475
3476
|
i.secondaryActionOptions.show ? (o(), m(I, {
|
|
3476
3477
|
key: 0,
|
|
3477
3478
|
onClick: G(i.handleSecondaryClick, ["stop"]),
|
|
3478
|
-
onMouseover: s[
|
|
3479
|
-
onMouseleave: s[
|
|
3479
|
+
onMouseover: s[5] || (s[5] = (x) => n.preventHover = !n.preventHover),
|
|
3480
|
+
onMouseleave: s[6] || (s[6] = (x) => n.preventHover = !n.preventHover),
|
|
3480
3481
|
size: "sml",
|
|
3481
3482
|
type: i.secondaryActionOptions.type,
|
|
3482
3483
|
icon: i.secondaryActionOptions.icon,
|
|
@@ -3514,7 +3515,7 @@ function Ao(e, s, t, a, n, i) {
|
|
|
3514
3515
|
t.noHover || n.preventHover ? "no-hover" : "",
|
|
3515
3516
|
t.selected ? "selected" : ""
|
|
3516
3517
|
]]),
|
|
3517
|
-
onClick: s[
|
|
3518
|
+
onClick: s[10] || (s[10] = (x) => e.$emit("click", x)),
|
|
3518
3519
|
role: "menuitem",
|
|
3519
3520
|
tabindex: t.disabled ? -1 : 0
|
|
3520
3521
|
}, [
|
|
@@ -3538,8 +3539,8 @@ function Ao(e, s, t, a, n, i) {
|
|
|
3538
3539
|
i.secondaryActionOptions.show ? (o(), m(I, {
|
|
3539
3540
|
key: 0,
|
|
3540
3541
|
onClick: G(i.handleSecondaryClick, ["stop"]),
|
|
3541
|
-
onMouseover: s[
|
|
3542
|
-
onMouseleave: s[
|
|
3542
|
+
onMouseover: s[8] || (s[8] = (x) => n.preventHover = !n.preventHover),
|
|
3543
|
+
onMouseleave: s[9] || (s[9] = (x) => n.preventHover = !n.preventHover),
|
|
3543
3544
|
size: "sml",
|
|
3544
3545
|
type: i.secondaryActionOptions.type,
|
|
3545
3546
|
icon: i.secondaryActionOptions.icon,
|
|
@@ -3572,7 +3573,7 @@ function Ao(e, s, t, a, n, i) {
|
|
|
3572
3573
|
], 10, To))
|
|
3573
3574
|
]);
|
|
3574
3575
|
}
|
|
3575
|
-
const Gs = /* @__PURE__ */ y(ho, [["render", Ao], ["__scopeId", "data-v-
|
|
3576
|
+
const Gs = /* @__PURE__ */ y(ho, [["render", Ao], ["__scopeId", "data-v-1e380d18"]]), Oo = {
|
|
3576
3577
|
name: "ecs-button-toolbar",
|
|
3577
3578
|
emits: ["click"],
|
|
3578
3579
|
components: {
|
|
@@ -3696,7 +3697,7 @@ function Vo(e, s, t, a, n, i) {
|
|
|
3696
3697
|
t.badge ? (o(), r("span", {
|
|
3697
3698
|
key: 1,
|
|
3698
3699
|
class: "badge",
|
|
3699
|
-
style:
|
|
3700
|
+
style: B({ background: t.badgeColor })
|
|
3700
3701
|
}, null, 4)) : u("", !0),
|
|
3701
3702
|
t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), m(l, {
|
|
3702
3703
|
key: 2,
|
|
@@ -3732,7 +3733,7 @@ function Vo(e, s, t, a, n, i) {
|
|
|
3732
3733
|
t.badge ? (o(), r("span", {
|
|
3733
3734
|
key: 1,
|
|
3734
3735
|
class: "badge",
|
|
3735
|
-
style:
|
|
3736
|
+
style: B({ background: t.badgeColor })
|
|
3736
3737
|
}, null, 4)) : u("", !0),
|
|
3737
3738
|
t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), m(l, {
|
|
3738
3739
|
key: 2,
|
|
@@ -3793,7 +3794,7 @@ const _t = /* @__PURE__ */ y(Oo, [["render", Vo], ["__scopeId", "data-v-72592c75
|
|
|
3793
3794
|
function Ro(e, s, t, a, n, i) {
|
|
3794
3795
|
return o(), r("div", {
|
|
3795
3796
|
class: v(["ecs-separator", i.classes]),
|
|
3796
|
-
style:
|
|
3797
|
+
style: B({ margin: i.marginStyles, width: t.width, height: t.height }),
|
|
3797
3798
|
role: "separator"
|
|
3798
3799
|
}, null, 6);
|
|
3799
3800
|
}
|
|
@@ -3899,8 +3900,8 @@ function jo(e, s, t, a, n, i) {
|
|
|
3899
3900
|
content: w(() => [
|
|
3900
3901
|
_(b, null, {
|
|
3901
3902
|
default: w(() => [
|
|
3902
|
-
(o(!0), r(F, null, J(t.options, (I,
|
|
3903
|
-
key:
|
|
3903
|
+
(o(!0), r(F, null, J(t.options, (I, x) => (o(), m(d, {
|
|
3904
|
+
key: x,
|
|
3904
3905
|
disabled: I.disabled || null,
|
|
3905
3906
|
onClick: (M) => e.$emit("select", I.action)
|
|
3906
3907
|
}, {
|
|
@@ -4780,7 +4781,7 @@ function Sl(e, s, t, a, n, i) {
|
|
|
4780
4781
|
class: v(["ecs-context-button", [t.loading ? "loading" : "", i.iconOnly ? "ecs-context-button-icon-only" : ""]]),
|
|
4781
4782
|
"aria-label": t.ariaLabel,
|
|
4782
4783
|
"aria-busy": t.loading || null,
|
|
4783
|
-
style:
|
|
4784
|
+
style: B(i.selectedColorText),
|
|
4784
4785
|
onClick: s[0] || (s[0] = (d) => e.$emit("click", d))
|
|
4785
4786
|
}, [
|
|
4786
4787
|
t.icon || t.loading ? (o(), m(l, {
|
|
@@ -4791,7 +4792,7 @@ function Sl(e, s, t, a, n, i) {
|
|
|
4791
4792
|
t.selectedColor ? (o(), r("div", {
|
|
4792
4793
|
key: 1,
|
|
4793
4794
|
class: "ecs-context-button-color",
|
|
4794
|
-
style:
|
|
4795
|
+
style: B(i.selectedColorBackground)
|
|
4795
4796
|
}, null, 4)) : u("", !0),
|
|
4796
4797
|
p(e.$slots, "default", {}, void 0, !0),
|
|
4797
4798
|
_(c)
|
|
@@ -5156,7 +5157,7 @@ function Yl(e, s, t, a, n, i) {
|
|
|
5156
5157
|
t.progress ? (o(), r("div", {
|
|
5157
5158
|
key: 0,
|
|
5158
5159
|
class: "progress",
|
|
5159
|
-
style:
|
|
5160
|
+
style: B({ width: t.progress + "%" })
|
|
5160
5161
|
}, null, 4)) : u("", !0)
|
|
5161
5162
|
])
|
|
5162
5163
|
], 10, Ul);
|
|
@@ -5359,7 +5360,7 @@ function ar(e, s, t, a, n, i) {
|
|
|
5359
5360
|
return je((o(), r("div", {
|
|
5360
5361
|
class: v(["ecs-context-menu", n.opened ? " opened" : ""]),
|
|
5361
5362
|
id: t.elementId,
|
|
5362
|
-
style:
|
|
5363
|
+
style: B([i.postionStyles])
|
|
5363
5364
|
}, [
|
|
5364
5365
|
f("ul", {
|
|
5365
5366
|
role: "menu",
|
|
@@ -5730,7 +5731,7 @@ function br(e, s, t, a, n, i) {
|
|
|
5730
5731
|
}, [
|
|
5731
5732
|
f("div", {
|
|
5732
5733
|
class: "ecs-collection-control-list scrollbar scrollbar-sml",
|
|
5733
|
-
style:
|
|
5734
|
+
style: B(i.listMaxHeight)
|
|
5734
5735
|
}, [
|
|
5735
5736
|
p(e.$slots, "default")
|
|
5736
5737
|
], 4)
|
|
@@ -6126,7 +6127,7 @@ function Wc(e, s, t) {
|
|
|
6126
6127
|
var V = a, q = n;
|
|
6127
6128
|
return a = n = void 0, h = P, l = e.apply(q, V), l;
|
|
6128
6129
|
}
|
|
6129
|
-
function
|
|
6130
|
+
function x(P) {
|
|
6130
6131
|
return h = P, c = setTimeout(z, s), b ? I(P) : l;
|
|
6131
6132
|
}
|
|
6132
6133
|
function M(P) {
|
|
@@ -6156,7 +6157,7 @@ function Wc(e, s, t) {
|
|
|
6156
6157
|
var P = Et(), V = $(P);
|
|
6157
6158
|
if (a = arguments, n = this, d = P, V) {
|
|
6158
6159
|
if (c === void 0)
|
|
6159
|
-
return
|
|
6160
|
+
return x(d);
|
|
6160
6161
|
if (k)
|
|
6161
6162
|
return clearTimeout(c), c = setTimeout(z, s), I(d);
|
|
6162
6163
|
}
|
|
@@ -6240,7 +6241,7 @@ const Zc = /* @__PURE__ */ $s(Xc), Jc = {
|
|
|
6240
6241
|
function id(e, s, t, a, n, i) {
|
|
6241
6242
|
return o(), r("div", {
|
|
6242
6243
|
class: "ecs-saturation",
|
|
6243
|
-
style:
|
|
6244
|
+
style: B({ background: i.bgColor }),
|
|
6244
6245
|
ref: "container",
|
|
6245
6246
|
onMousedown: s[0] || (s[0] = (...l) => i.handleMouseDown && i.handleMouseDown(...l)),
|
|
6246
6247
|
onTouchmove: s[1] || (s[1] = (...l) => i.handleChange && i.handleChange(...l)),
|
|
@@ -6250,7 +6251,7 @@ function id(e, s, t, a, n, i) {
|
|
|
6250
6251
|
ed,
|
|
6251
6252
|
f("div", {
|
|
6252
6253
|
class: "ecs-saturation-pointer",
|
|
6253
|
-
style:
|
|
6254
|
+
style: B({ top: i.pointerTop, left: i.pointerLeft })
|
|
6254
6255
|
}, sd, 4)
|
|
6255
6256
|
], 36);
|
|
6256
6257
|
}
|
|
@@ -6340,7 +6341,7 @@ function cd(e, s, t, a, n, i) {
|
|
|
6340
6341
|
}, [
|
|
6341
6342
|
f("div", {
|
|
6342
6343
|
class: "ecs-hue-pointer",
|
|
6343
|
-
style:
|
|
6344
|
+
style: B({ top: i.pointerTop, left: i.pointerLeft }),
|
|
6344
6345
|
role: "presentation"
|
|
6345
6346
|
}, rd, 4)
|
|
6346
6347
|
], 40, od)
|
|
@@ -6390,7 +6391,7 @@ function gd(e, s, t) {
|
|
|
6390
6391
|
function md(e, s, t, a, n, i) {
|
|
6391
6392
|
return o(), r("div", {
|
|
6392
6393
|
class: "ecs-checkerboard",
|
|
6393
|
-
style:
|
|
6394
|
+
style: B(i.bgStyle)
|
|
6394
6395
|
}, null, 4);
|
|
6395
6396
|
}
|
|
6396
6397
|
const ti = /* @__PURE__ */ y(ud, [["render", md]]), hd = {
|
|
@@ -6448,7 +6449,7 @@ function _d(e, s, t, a, n, i) {
|
|
|
6448
6449
|
]),
|
|
6449
6450
|
f("div", {
|
|
6450
6451
|
class: "ecs-alpha-gradient",
|
|
6451
|
-
style:
|
|
6452
|
+
style: B({ background: i.gradientColor })
|
|
6452
6453
|
}, null, 4),
|
|
6453
6454
|
f("div", {
|
|
6454
6455
|
class: "ecs-alpha-container",
|
|
@@ -6459,7 +6460,7 @@ function _d(e, s, t, a, n, i) {
|
|
|
6459
6460
|
}, [
|
|
6460
6461
|
f("div", {
|
|
6461
6462
|
class: "ecs-alpha-pointer",
|
|
6462
|
-
style:
|
|
6463
|
+
style: B({ left: i.colors.a * 100 + "%" })
|
|
6463
6464
|
}, bd, 4)
|
|
6464
6465
|
], 544)
|
|
6465
6466
|
]);
|
|
@@ -6591,7 +6592,7 @@ function Od(e, s, t, a, n, i) {
|
|
|
6591
6592
|
role: "application",
|
|
6592
6593
|
"aria-label": "Color picker",
|
|
6593
6594
|
class: v(["ecs-color-picker", t.disableAlpha ? "ecs-color-picker__disable-alpha" : ""]),
|
|
6594
|
-
style:
|
|
6595
|
+
style: B({ padding: t.padding + "px", width: 216 + 2 * t.padding + "px" })
|
|
6595
6596
|
}, [
|
|
6596
6597
|
t.disableCustom ? u("", !0) : (o(), r("div", wd, [
|
|
6597
6598
|
_(l, {
|
|
@@ -6660,7 +6661,7 @@ function Od(e, s, t, a, n, i) {
|
|
|
6660
6661
|
])) : u("", !0),
|
|
6661
6662
|
f("div", {
|
|
6662
6663
|
class: "ecs-color-picker-presets",
|
|
6663
|
-
style:
|
|
6664
|
+
style: B(t.disableCustom ? "" : "padding-top: var(--spacing-10)"),
|
|
6664
6665
|
role: "group",
|
|
6665
6666
|
"aria-label": "A color preset, pick one to set as current color"
|
|
6666
6667
|
}, [
|
|
@@ -6677,7 +6678,7 @@ function Od(e, s, t, a, n, i) {
|
|
|
6677
6678
|
class: v(["ecs-color-picker-presets-color", { active: e.colors.hex === k.hex }]),
|
|
6678
6679
|
"aria-label": k.title,
|
|
6679
6680
|
key: "if-" + k.id,
|
|
6680
|
-
style:
|
|
6681
|
+
style: B({ background: k.hex }),
|
|
6681
6682
|
"aria-selected": e.colors.hex === k.hex ? "true" : "false",
|
|
6682
6683
|
title: k.title,
|
|
6683
6684
|
onClick: (E) => i.handlePreset(k.hex)
|
|
@@ -6688,7 +6689,7 @@ function Od(e, s, t, a, n, i) {
|
|
|
6688
6689
|
class: v(["ecs-color-picker-presets-color active", i.isActiveColorDark ? "dark" : "light"]),
|
|
6689
6690
|
"aria-label": "Custom color",
|
|
6690
6691
|
"aria-selected": "true",
|
|
6691
|
-
style:
|
|
6692
|
+
style: B({ background: e.colors.hex })
|
|
6692
6693
|
}, null, 6))
|
|
6693
6694
|
], 4)
|
|
6694
6695
|
], 6);
|
|
@@ -6772,7 +6773,7 @@ function Vd(e, s, t, a, n, i) {
|
|
|
6772
6773
|
default: w(() => [
|
|
6773
6774
|
f("button", {
|
|
6774
6775
|
class: v(["ecs-color-picker-input-button", i.sizeClass]),
|
|
6775
|
-
style:
|
|
6776
|
+
style: B(i.selectedColorStyle)
|
|
6776
6777
|
}, [
|
|
6777
6778
|
f("span", null, C(i.selectedColorName), 1)
|
|
6778
6779
|
], 6)
|
|
@@ -7577,7 +7578,7 @@ function Lu(e, s, t, a, n, i) {
|
|
|
7577
7578
|
t.fixedLeftLast ? "fixed-left-last" : "",
|
|
7578
7579
|
t.fixedRight ? "fixed-right" : ""
|
|
7579
7580
|
]]),
|
|
7580
|
-
style:
|
|
7581
|
+
style: B([
|
|
7581
7582
|
i.widthType === "string" ? i.widthStyles : {},
|
|
7582
7583
|
i.fixedStyles
|
|
7583
7584
|
]),
|
|
@@ -7589,7 +7590,7 @@ function Lu(e, s, t, a, n, i) {
|
|
|
7589
7590
|
f("div", {
|
|
7590
7591
|
ref: "resizer",
|
|
7591
7592
|
class: v(["ecs-data-grid-head-cell-inner", t.resizable ? "resizable" : ""]),
|
|
7592
|
-
style:
|
|
7593
|
+
style: B([
|
|
7593
7594
|
i.widthType === "number" ? i.widthStyles : { width: "100%" },
|
|
7594
7595
|
i.paddingStyles,
|
|
7595
7596
|
i.resizeStyles,
|
|
@@ -7835,13 +7836,13 @@ function ju(e, s, t, a, n, i) {
|
|
|
7835
7836
|
const l = g("ecs-button-collapse");
|
|
7836
7837
|
return o(), r("div", {
|
|
7837
7838
|
class: v(["ecs-data-grid-cell", [t.fixedLeft ? "fixed-left" : "", t.fixedLeftLast ? "fixed-left-last" : "", t.fixedRight ? "fixed-right" : ""]]),
|
|
7838
|
-
style:
|
|
7839
|
+
style: B([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
|
|
7839
7840
|
role: "cell"
|
|
7840
7841
|
}, [
|
|
7841
7842
|
t.fixedRight ? (o(), r("div", Hu)) : u("", !0),
|
|
7842
7843
|
f("div", {
|
|
7843
7844
|
class: "ecs-data-grid-cell-inner",
|
|
7844
|
-
style:
|
|
7845
|
+
style: B([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, t.styles]),
|
|
7845
7846
|
"data-column": i.computedId,
|
|
7846
7847
|
"data-test": i.computedId
|
|
7847
7848
|
}, [
|
|
@@ -7998,7 +7999,7 @@ function ef(e, s, t, a, n, i) {
|
|
|
7998
7999
|
i.hasIdentifier ? (o(), r("div", {
|
|
7999
8000
|
key: 0,
|
|
8000
8001
|
id: n.definitionId,
|
|
8001
|
-
style:
|
|
8002
|
+
style: B(i.identifierStyle),
|
|
8002
8003
|
class: "ecs-data-list-identifier"
|
|
8003
8004
|
}, [
|
|
8004
8005
|
L(C(t.identifier) + " ", 1),
|
|
@@ -8031,7 +8032,7 @@ function ef(e, s, t, a, n, i) {
|
|
|
8031
8032
|
key: 2,
|
|
8032
8033
|
class: "progress",
|
|
8033
8034
|
role: "progressbar",
|
|
8034
|
-
style:
|
|
8035
|
+
style: B({ width: t.progress + "%" }),
|
|
8035
8036
|
"aria-valuenow": t.progress
|
|
8036
8037
|
}, null, 12, Ju)) : u("", !0)
|
|
8037
8038
|
], 10, Zu)
|
|
@@ -8225,7 +8226,7 @@ const c_ = /* @__PURE__ */ y(tf, [["render", nf]]), af = {
|
|
|
8225
8226
|
));
|
|
8226
8227
|
}), (n, i) => (o(), r("div", {
|
|
8227
8228
|
class: v(["ecs-state-icon", e.iconColor]),
|
|
8228
|
-
style:
|
|
8229
|
+
style: B(t.value)
|
|
8229
8230
|
}, [
|
|
8230
8231
|
(o(), m(ue(re(a)), {
|
|
8231
8232
|
height: e.size,
|
|
@@ -8398,13 +8399,13 @@ function vf(e, s, t, a, n, i) {
|
|
|
8398
8399
|
}, null, 8, ["website"])) : t.legendColor ? (o(), r("div", hf, [
|
|
8399
8400
|
f("div", {
|
|
8400
8401
|
class: "legend-color-dot",
|
|
8401
|
-
style:
|
|
8402
|
+
style: B("background-color:" + t.legendColor)
|
|
8402
8403
|
}, null, 4)
|
|
8403
8404
|
])) : u("", !0),
|
|
8404
8405
|
t.indicator && !t.loading ? (o(), r("div", {
|
|
8405
8406
|
key: 5,
|
|
8406
8407
|
class: "indicator",
|
|
8407
|
-
style:
|
|
8408
|
+
style: B("background-color:" + t.indicator)
|
|
8408
8409
|
}, null, 4)) : u("", !0)
|
|
8409
8410
|
]),
|
|
8410
8411
|
f("div", pf, [
|
|
@@ -8537,7 +8538,7 @@ const f_ = /* @__PURE__ */ y(yf, [["render", xf], ["__scopeId", "data-v-8239e8d6
|
|
|
8537
8538
|
function Tf(e, s, t, a, n, i) {
|
|
8538
8539
|
return o(), r("div", {
|
|
8539
8540
|
class: "ecs-donut-chart",
|
|
8540
|
-
style:
|
|
8541
|
+
style: B(i.wrapperPadding)
|
|
8541
8542
|
}, [
|
|
8542
8543
|
(o(), r("svg", {
|
|
8543
8544
|
height: t.size,
|
|
@@ -8678,7 +8679,7 @@ function Nf(e, s, t, a, n, i) {
|
|
|
8678
8679
|
t.infinite ? "ecs-progress-infinite" : "",
|
|
8679
8680
|
t.cancelled ? "ecs-progress-cancelled" : ""
|
|
8680
8681
|
]]),
|
|
8681
|
-
style:
|
|
8682
|
+
style: B({ width: 100 * (t.value / i.computedMax) + "%" })
|
|
8682
8683
|
}, null, 6)
|
|
8683
8684
|
], 8, Df);
|
|
8684
8685
|
}
|
|
@@ -8850,15 +8851,15 @@ function Kf(e, s, t, a, n, i) {
|
|
|
8850
8851
|
t.disabled ? "ecs-dropzone-disabled" : "",
|
|
8851
8852
|
n.dragging ? "ecs-dropzone-dragging" : ""
|
|
8852
8853
|
]]),
|
|
8853
|
-
onDragover: s[3] || (s[3] = (...
|
|
8854
|
-
onDragenter: s[4] || (s[4] = (...
|
|
8855
|
-
onDragleave: s[5] || (s[5] = (...
|
|
8856
|
-
onDrop: s[6] || (s[6] = G((...
|
|
8854
|
+
onDragover: s[3] || (s[3] = (...x) => i.handleDragOver && i.handleDragOver(...x)),
|
|
8855
|
+
onDragenter: s[4] || (s[4] = (...x) => i.handleDragEnter && i.handleDragEnter(...x)),
|
|
8856
|
+
onDragleave: s[5] || (s[5] = (...x) => i.handleDragLeave && i.handleDragLeave(...x)),
|
|
8857
|
+
onDrop: s[6] || (s[6] = G((...x) => i.drop && i.drop(...x), ["prevent"])),
|
|
8857
8858
|
"aria-busy": i.isBusy || null,
|
|
8858
8859
|
"aria-invalid": t.error || null
|
|
8859
8860
|
}, [
|
|
8860
8861
|
f("input", {
|
|
8861
|
-
onChange: s[0] || (s[0] = (...
|
|
8862
|
+
onChange: s[0] || (s[0] = (...x) => i.change && i.change(...x)),
|
|
8862
8863
|
type: "file",
|
|
8863
8864
|
multiple: t.multiple || null,
|
|
8864
8865
|
ref: "file"
|
|
@@ -8877,8 +8878,8 @@ function Kf(e, s, t, a, n, i) {
|
|
|
8877
8878
|
e.$slots.customlabel ? u("", !0) : (o(), r(F, { key: 0 }, [
|
|
8878
8879
|
L(" Drag and drop your " + C(t.fileTypeLabel) + " or ", 1),
|
|
8879
8880
|
f("i", {
|
|
8880
|
-
onClick: s[1] || (s[1] = (...
|
|
8881
|
-
onKeydown: s[2] || (s[2] = Y((...
|
|
8881
|
+
onClick: s[1] || (s[1] = (...x) => i.browseFile && i.browseFile(...x)),
|
|
8882
|
+
onKeydown: s[2] || (s[2] = Y((...x) => i.browseFile && i.browseFile(...x), ["enter"])),
|
|
8882
8883
|
tabindex: "0"
|
|
8883
8884
|
}, [
|
|
8884
8885
|
L("browse"),
|
|
@@ -9245,7 +9246,7 @@ const og = /* @__PURE__ */ y(eg, [["render", ag], ["__scopeId", "data-v-85fef203
|
|
|
9245
9246
|
class: "skipped-documents"
|
|
9246
9247
|
}, Bg = { key: 0 };
|
|
9247
9248
|
function Ig(e, s, t, a, n, i) {
|
|
9248
|
-
const l = g("ecs-button"), c = g("ecs-sticker"), d = g("ecs-popover-header"), h = g("ecs-info-tooltip"), b = g("ecs-flex-row"), k = g("ecs-switch"), E = g("ecs-text"), I = g("ecs-select"),
|
|
9249
|
+
const l = g("ecs-button"), c = g("ecs-sticker"), d = g("ecs-popover-header"), h = g("ecs-info-tooltip"), b = g("ecs-flex-row"), k = g("ecs-switch"), E = g("ecs-text"), I = g("ecs-select"), x = g("ecs-form-group"), M = g("ecs-checkbox"), $ = g("ecs-button-more"), z = g("ecs-popover");
|
|
9249
9250
|
return o(), m(z, {
|
|
9250
9251
|
ref: "popoverRef",
|
|
9251
9252
|
class: "ecs-ecai-select",
|
|
@@ -9300,7 +9301,7 @@ function Ig(e, s, t, a, n, i) {
|
|
|
9300
9301
|
]),
|
|
9301
9302
|
_: 1
|
|
9302
9303
|
}, 8, ["onInput", "value"])) : u("", !0),
|
|
9303
|
-
n.localSettings.generateSummaries && n.localSettings.generateDocumentSummary && !t.isTranscripts ? (o(), m(
|
|
9304
|
+
n.localSettings.generateSummaries && n.localSettings.generateDocumentSummary && !t.isTranscripts ? (o(), m(x, {
|
|
9304
9305
|
key: 1,
|
|
9305
9306
|
class: v(["indent", { "no-padding": t.hideSwitch }])
|
|
9306
9307
|
}, {
|
|
@@ -9352,7 +9353,7 @@ function Ig(e, s, t, a, n, i) {
|
|
|
9352
9353
|
]),
|
|
9353
9354
|
_: 1
|
|
9354
9355
|
}, 8, ["onInput", "value"])) : u("", !0),
|
|
9355
|
-
n.localSettings.extractData ? (o(), m(
|
|
9356
|
+
n.localSettings.extractData ? (o(), m(x, {
|
|
9356
9357
|
key: 4,
|
|
9357
9358
|
class: "indent checkbox-group"
|
|
9358
9359
|
}, {
|
|
@@ -9483,7 +9484,7 @@ function Tg(e, s, t, a, n, i) {
|
|
|
9483
9484
|
const l = g("ecs-icon");
|
|
9484
9485
|
return o(), r("div", {
|
|
9485
9486
|
class: v(["ecs-ecai-wrapper", { border: i.hasBorder }]),
|
|
9486
|
-
style:
|
|
9487
|
+
style: B(i.wrapperStyle)
|
|
9487
9488
|
}, [
|
|
9488
9489
|
Eg,
|
|
9489
9490
|
t.icon ? (o(), m(l, {
|
|
@@ -9713,7 +9714,7 @@ function Ug(e, s, t, a, n, i) {
|
|
|
9713
9714
|
]),
|
|
9714
9715
|
f("div", {
|
|
9715
9716
|
class: "ecs-excerpt-content scrollbar scrollbar-sml",
|
|
9716
|
-
style:
|
|
9717
|
+
style: B(i.maxHeightStyles)
|
|
9717
9718
|
}, [
|
|
9718
9719
|
t.loading ? (o(), m(l, {
|
|
9719
9720
|
key: 0,
|
|
@@ -9732,10 +9733,10 @@ function Ug(e, s, t, a, n, i) {
|
|
|
9732
9733
|
p(e.$slots, "default", {}, void 0, !0)
|
|
9733
9734
|
])) : t.type == "rectangle" ? (o(), r("div", Wg, [
|
|
9734
9735
|
f("span", {
|
|
9735
|
-
style:
|
|
9736
|
+
style: B("color:" + t.annotationColor)
|
|
9736
9737
|
}, "Rectangle Annotation", 4),
|
|
9737
9738
|
f("div", {
|
|
9738
|
-
style:
|
|
9739
|
+
style: B("background-color:" + t.annotationColor)
|
|
9739
9740
|
}, null, 4)
|
|
9740
9741
|
])) : (o(), r("div", jg, [
|
|
9741
9742
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -10009,7 +10010,7 @@ function rm(e, s, t, a, n, i) {
|
|
|
10009
10010
|
t.progress ? (o(), r("div", {
|
|
10010
10011
|
key: 3,
|
|
10011
10012
|
class: "loading-bar",
|
|
10012
|
-
style:
|
|
10013
|
+
style: B({ width: t.progress + "%" }),
|
|
10013
10014
|
role: "progressbar",
|
|
10014
10015
|
"aria-valuenow": t.progress
|
|
10015
10016
|
}, null, 12, im)) : u("", !0)
|
|
@@ -10034,7 +10035,7 @@ function rm(e, s, t, a, n, i) {
|
|
|
10034
10035
|
default: w(() => [
|
|
10035
10036
|
e.$slots.edit && t.edit ? (o(), r("div", {
|
|
10036
10037
|
key: 0,
|
|
10037
|
-
style:
|
|
10038
|
+
style: B({ maxHeight: n.editHeight + "px" }),
|
|
10038
10039
|
id: n.editId
|
|
10039
10040
|
}, [
|
|
10040
10041
|
f("div", lm, [
|
|
@@ -10346,7 +10347,7 @@ function Sm(e, s, t, a, n, i) {
|
|
|
10346
10347
|
t.borderless ? "" : "ecs-scroll-container-border",
|
|
10347
10348
|
t.hideShadows ? "" : "ecs-scroll-container-shadows"
|
|
10348
10349
|
]]),
|
|
10349
|
-
style:
|
|
10350
|
+
style: B({ maxHeight: t.height, padding: t.padding })
|
|
10350
10351
|
}, [
|
|
10351
10352
|
p(e.$slots, "default", {}, void 0, !0)
|
|
10352
10353
|
], 6);
|
|
@@ -10452,7 +10453,7 @@ function Em(e, s, t, a, n, i) {
|
|
|
10452
10453
|
const l = g("ecs-text-v2"), c = g("ecs-input-search"), d = g("ecs-button"), h = g("ecs-empty-state"), b = g("ecs-scroll-container");
|
|
10453
10454
|
return o(), r("div", {
|
|
10454
10455
|
class: v(["ecs-folder-selector", [t.framed ? "ecs-folder-selector-border" : ""]]),
|
|
10455
|
-
style:
|
|
10456
|
+
style: B({ height: i.selectorHeight })
|
|
10456
10457
|
}, [
|
|
10457
10458
|
t.searchable || t.create || t.refreshable || t.title ? (o(), r("div", Im, [
|
|
10458
10459
|
t.title && !t.searchable ? (o(), m(l, {
|
|
@@ -10498,7 +10499,7 @@ function Em(e, s, t, a, n, i) {
|
|
|
10498
10499
|
}, 8, ["onClick"])) : u("", !0)
|
|
10499
10500
|
])) : u("", !0),
|
|
10500
10501
|
_(b, {
|
|
10501
|
-
style:
|
|
10502
|
+
style: B(i.scrollHeight),
|
|
10502
10503
|
padding: t.framed ? "8px" : "0",
|
|
10503
10504
|
borderless: ""
|
|
10504
10505
|
}, {
|
|
@@ -10630,7 +10631,7 @@ function Hm(e, s, t, a, n, i) {
|
|
|
10630
10631
|
i.showHighlight ? (o(), r("div", {
|
|
10631
10632
|
key: 0,
|
|
10632
10633
|
class: v(["ecs-highlight", [i.classes]]),
|
|
10633
|
-
style:
|
|
10634
|
+
style: B({ ...i.highlightColor, ...i.borderRadiusStyle, ...i.insetStyles })
|
|
10634
10635
|
}, [
|
|
10635
10636
|
t.layout === "wrap" ? p(e.$slots, "default", { key: 0 }, void 0, !0) : u("", !0)
|
|
10636
10637
|
], 6)) : u("", !0)
|
|
@@ -11526,7 +11527,7 @@ function Gh(e, s, t, a, n, i) {
|
|
|
11526
11527
|
return o(), r("div", {
|
|
11527
11528
|
class: "ecs-pane",
|
|
11528
11529
|
onClick: s[0] || (s[0] = (l) => i.onPaneClick(l, e._.uid)),
|
|
11529
|
-
style:
|
|
11530
|
+
style: B(e.style)
|
|
11530
11531
|
}, [
|
|
11531
11532
|
p(e.$slots, "default")
|
|
11532
11533
|
], 4);
|
|
@@ -11927,7 +11928,7 @@ function ep(e, s, t, a, n, i) {
|
|
|
11927
11928
|
e.$slots.sidebar ? (o(), r("div", {
|
|
11928
11929
|
key: 0,
|
|
11929
11930
|
class: v(["ecs-index-layout-sidebar", [t.overlaySidebar ? "overlay" : ""]]),
|
|
11930
|
-
style:
|
|
11931
|
+
style: B(i.sidebarPosition)
|
|
11931
11932
|
}, [
|
|
11932
11933
|
p(e.$slots, "sidebar", {}, void 0, !0)
|
|
11933
11934
|
], 6)) : u("", !0)
|
|
@@ -12060,7 +12061,7 @@ function hp(e, s, t, a, n, i) {
|
|
|
12060
12061
|
key: 0,
|
|
12061
12062
|
class: "ecs-data-layout-statistics scrollbar scrollbar-sml vertical",
|
|
12062
12063
|
id: n.statisticsId,
|
|
12063
|
-
style:
|
|
12064
|
+
style: B({ height: `${t.statisticsHeight}px` })
|
|
12064
12065
|
}, [
|
|
12065
12066
|
p(e.$slots, "statistics", {}, void 0, !0)
|
|
12066
12067
|
], 12, dp)) : u("", !0)
|
|
@@ -12174,7 +12175,7 @@ function _p(e, s, t, a, n, i) {
|
|
|
12174
12175
|
default: w(() => [
|
|
12175
12176
|
f("div", {
|
|
12176
12177
|
class: v(["ecs-legend-item-color", t.type]),
|
|
12177
|
-
style:
|
|
12178
|
+
style: B({ backgroundColor: t.color })
|
|
12178
12179
|
}, null, 6),
|
|
12179
12180
|
f("div", vp, C(t.label), 1),
|
|
12180
12181
|
t.count ? (o(), r("div", yp, C(t.count), 1)) : u("", !0),
|
|
@@ -12182,7 +12183,7 @@ function _p(e, s, t, a, n, i) {
|
|
|
12182
12183
|
t.highlight || t.hover ? (o(), r("div", {
|
|
12183
12184
|
key: 2,
|
|
12184
12185
|
class: "ecs-legend-item-highlight",
|
|
12185
|
-
style:
|
|
12186
|
+
style: B({ backgroundColor: t.color })
|
|
12186
12187
|
}, null, 4)) : u("", !0),
|
|
12187
12188
|
t.hover ? (o(), m(l, { key: 3 })) : u("", !0)
|
|
12188
12189
|
]),
|
|
@@ -12243,7 +12244,7 @@ function Sp(e, s, t, a, n, i) {
|
|
|
12243
12244
|
"aria-busy": t.loading || null,
|
|
12244
12245
|
align: "start",
|
|
12245
12246
|
gap: 8,
|
|
12246
|
-
style:
|
|
12247
|
+
style: B(i.padding)
|
|
12247
12248
|
}, {
|
|
12248
12249
|
default: w(() => [
|
|
12249
12250
|
t.loading && t.type != "blank" ? (o(), m(l, {
|
|
@@ -12379,7 +12380,7 @@ function Ap(e, s, t, a, n, i) {
|
|
|
12379
12380
|
}, [
|
|
12380
12381
|
f("div", {
|
|
12381
12382
|
class: "ecs-modal-dialog ecs-modal-sheet",
|
|
12382
|
-
style:
|
|
12383
|
+
style: B(i.fixedHeightStyle)
|
|
12383
12384
|
}, [
|
|
12384
12385
|
e.$slots.header ? (o(), r("div", Pp, [
|
|
12385
12386
|
p(e.$slots, "header", {}, void 0, !0)
|
|
@@ -12975,11 +12976,11 @@ function Sv(e, s, t, a, n, i) {
|
|
|
12975
12976
|
n.isShown ? (o(), r("div", {
|
|
12976
12977
|
key: 0,
|
|
12977
12978
|
class: "ecs-overlay",
|
|
12978
|
-
style:
|
|
12979
|
+
style: B({ top: t.offsetTop + "px", height: "calc(100vh - " + t.offsetTop + "px" })
|
|
12979
12980
|
}, [
|
|
12980
12981
|
f("header", {
|
|
12981
12982
|
class: "ecs-overlay-header",
|
|
12982
|
-
style:
|
|
12983
|
+
style: B(e.$slots.alert ? "" : "border-bottom: 1px solid var(--color-gray-4);")
|
|
12983
12984
|
}, [
|
|
12984
12985
|
f("div", cv, [
|
|
12985
12986
|
t.icon ? (o(), m(l, {
|
|
@@ -13047,7 +13048,7 @@ function Sv(e, s, t, a, n, i) {
|
|
|
13047
13048
|
}, [
|
|
13048
13049
|
f("div", {
|
|
13049
13050
|
class: v(["ecs-overlay-content-inner-inner", e.$slots.sidebar && !t.fullWidth && n.width > 1500 ? "has-sidebar" : " "]),
|
|
13050
|
-
style:
|
|
13051
|
+
style: B({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
13051
13052
|
}, [
|
|
13052
13053
|
p(e.$slots, "default", {}, void 0, !0)
|
|
13053
13054
|
], 6),
|
|
@@ -13072,7 +13073,7 @@ function Sv(e, s, t, a, n, i) {
|
|
|
13072
13073
|
f("div", kv, [
|
|
13073
13074
|
f("div", {
|
|
13074
13075
|
class: "ecs-overlay-footer-content-inner",
|
|
13075
|
-
style:
|
|
13076
|
+
style: B({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
13076
13077
|
}, [
|
|
13077
13078
|
p(e.$slots, "footer", {}, void 0, !0)
|
|
13078
13079
|
], 4),
|
|
@@ -13207,7 +13208,7 @@ function $v(e, s, t, a, n, i) {
|
|
|
13207
13208
|
_(c, {
|
|
13208
13209
|
gap: 8,
|
|
13209
13210
|
class: "ecs-pagination-nav",
|
|
13210
|
-
style:
|
|
13211
|
+
style: B({ minWidth: t.tabsSpacing - 4 + "px" })
|
|
13211
13212
|
}, {
|
|
13212
13213
|
default: w(() => [
|
|
13213
13214
|
t.type == "paginated" ? (o(), r(F, { key: 0 }, [
|
|
@@ -13419,12 +13420,12 @@ function Ov(e, s, t, a, n, i) {
|
|
|
13419
13420
|
const l = g("ecs-icon"), c = g("ecs-sticker");
|
|
13420
13421
|
return o(), r("div", {
|
|
13421
13422
|
class: v(["ecs-party-entry", [t.party, t.color && t.background ? "ecs-party-entry-colored" : ""]]),
|
|
13422
|
-
style:
|
|
13423
|
+
style: B({ color: t.color })
|
|
13423
13424
|
}, [
|
|
13424
13425
|
t.icon && t.iconPosition == "left" ? (o(), r("div", {
|
|
13425
13426
|
key: 0,
|
|
13426
13427
|
class: "ecs-party-entry-icon",
|
|
13427
|
-
style:
|
|
13428
|
+
style: B("margin-right:" + t.iconSpacing)
|
|
13428
13429
|
}, [
|
|
13429
13430
|
_(l, {
|
|
13430
13431
|
type: i.iconType,
|
|
@@ -13442,7 +13443,7 @@ function Ov(e, s, t, a, n, i) {
|
|
|
13442
13443
|
t.icon && t.iconPosition == "right" ? (o(), r("div", {
|
|
13443
13444
|
key: 1,
|
|
13444
13445
|
class: "ecs-party-entry-icon",
|
|
13445
|
-
style:
|
|
13446
|
+
style: B("margin-left:" + t.iconSpacing)
|
|
13446
13447
|
}, [
|
|
13447
13448
|
_(l, {
|
|
13448
13449
|
type: i.iconType,
|
|
@@ -13821,7 +13822,7 @@ const Yv = /* @__PURE__ */ y(jv, [["render", Kv], ["__scopeId", "data-v-a6e15633
|
|
|
13821
13822
|
class: "meta"
|
|
13822
13823
|
}, uy = { key: 0 }, fy = ["title"];
|
|
13823
13824
|
function gy(e, s, t, a, n, i) {
|
|
13824
|
-
const l = g("ecs-icon"), c = g("ecs-focus-ring"), d = g("ecs-rating-favorability"), h = g("ecs-rating-star-read"), b = g("ecs-switch"), k = g("ecs-avatar"), E = g("ecs-popover-list-item"), I = g("ecs-popover-list"),
|
|
13825
|
+
const l = g("ecs-icon"), c = g("ecs-focus-ring"), d = g("ecs-rating-favorability"), h = g("ecs-rating-star-read"), b = g("ecs-switch"), k = g("ecs-avatar"), E = g("ecs-popover-list-item"), I = g("ecs-popover-list"), x = g("ecs-popover"), M = g("ecs-flex-row"), $ = g("ecs-checkbox");
|
|
13825
13826
|
return o(), r("li", {
|
|
13826
13827
|
class: v(["ecs-quicklinks-link", [
|
|
13827
13828
|
i.typeClass,
|
|
@@ -13916,7 +13917,7 @@ function gy(e, s, t, a, n, i) {
|
|
|
13916
13917
|
title: `${z.name} (${z.date})`,
|
|
13917
13918
|
"aria-label": `Volume ${z.id}${z.active ? " active" : ""}`
|
|
13918
13919
|
}, C(z.id), 11, ry))), 128)),
|
|
13919
|
-
n.localVolumes.length > 3 ? (o(), m(
|
|
13920
|
+
n.localVolumes.length > 3 ? (o(), m(x, {
|
|
13920
13921
|
key: 0,
|
|
13921
13922
|
disabled: t.disabled || null
|
|
13922
13923
|
}, {
|
|
@@ -14437,7 +14438,7 @@ function ab(e, s, t, a, n, i) {
|
|
|
14437
14438
|
const l = g("ecs-tab-bar"), c = g("ecs-tabs");
|
|
14438
14439
|
return o(), r("aside", {
|
|
14439
14440
|
class: v(["ecs-sidebar", [i.sizeClass, i.expandClass]]),
|
|
14440
|
-
style:
|
|
14441
|
+
style: B(i.height)
|
|
14441
14442
|
}, [
|
|
14442
14443
|
f("div", nb, [
|
|
14443
14444
|
_(l, { type: "sidebar" }, {
|
|
@@ -14979,7 +14980,7 @@ function Db(e, s, t, a, n, i) {
|
|
|
14979
14980
|
"aria-label": l.title,
|
|
14980
14981
|
"aria-checked": n.selectedColor == l.hex ? "true" : "false",
|
|
14981
14982
|
class: v(["ecs-swatches-color", n.selectedColor == l.hex ? "active" : ""]),
|
|
14982
|
-
style:
|
|
14983
|
+
style: B({ backgroundColor: l.hex, color: l.hex })
|
|
14983
14984
|
}, null, 46, Ob))), 128))
|
|
14984
14985
|
], 2);
|
|
14985
14986
|
}
|
|
@@ -15261,7 +15262,7 @@ function Zb(e, s, t, a, n, i) {
|
|
|
15261
15262
|
t.loading ? "loading" : ""
|
|
15262
15263
|
]]),
|
|
15263
15264
|
onClick: s[0] || (s[0] = (...d) => i.handleClick && i.handleClick(...d)),
|
|
15264
|
-
style:
|
|
15265
|
+
style: B(i.customColorStyle),
|
|
15265
15266
|
role: t.hover ? "button" : !1,
|
|
15266
15267
|
tabindex: t.hover ? "0" : "-1",
|
|
15267
15268
|
"aria-busy": t.loading || null
|