@everchron/ec-shards 8.13.18 → 8.13.20
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 +127 -122
- 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 te, watch as ce, openBlock as o, createBlock as b, resolveDynamicComponent as Pe, unref as ae, normalizeClass as h, createElementBlock as l, normalizeStyle as
|
|
1
|
+
import { defineAsyncComponent as te, watch as ce, openBlock as o, createBlock as b, resolveDynamicComponent as Pe, unref as ae, normalizeClass as h, createElementBlock as l, normalizeStyle as C, resolveComponent as g, createVNode as _, createCommentVNode as u, createElementVNode as f, createTextVNode as D, toDisplayString as w, renderSlot as p, Transition as me, withCtx as S, computed as _e, reactive as Qs, nextTick as ei, onBeforeUnmount as Pt, toRefs as bs, isRef as ti, onMounted as _s, useSlots as si, ref as Ye, watchEffect as kt, withKeys as G, Teleport as ii, withDirectives as Ge, vShow as gt, mergeProps as De, normalizeProps as ni, guardReactiveProps as ai, withModifiers as U, pushScopeId as ye, popScopeId as be, Fragment as J, renderList as pe, resolveDirective as oi, vModelText as ri, h as li, TransitionGroup as ci } from "vue";
|
|
2
2
|
const se = (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 se = (e, s) => {
|
|
|
84
84
|
function fi(e, s, t, a, n, i) {
|
|
85
85
|
return o(), l("span", {
|
|
86
86
|
class: h(["ecs-focus-ring", t.danger ? "ecs-focus-ring-danger" : ""]),
|
|
87
|
-
style:
|
|
87
|
+
style: C(i.styles)
|
|
88
88
|
}, null, 6);
|
|
89
89
|
}
|
|
90
90
|
const L = /* @__PURE__ */ v(ui, [["render", fi], ["__scopeId", "data-v-8d624905"]]), gi = {
|
|
@@ -176,7 +176,7 @@ function yi(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: C(i.borderStyles),
|
|
180
180
|
role: "alert"
|
|
181
181
|
}, [
|
|
182
182
|
t.dismissable ? (o(), l("button", {
|
|
@@ -335,7 +335,7 @@ const db = /* @__PURE__ */ v(Si, [["render", zi], ["__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: C(`color: ${n.value}`)
|
|
339
339
|
}, null, 8, ["class", "aria-busy", "width", "height", "style"])) : u("", !0);
|
|
340
340
|
}
|
|
341
341
|
}, Fe = /* @__PURE__ */ v(Ii, [["__scopeId", "data-v-add9195d"]]), Ei = {
|
|
@@ -457,7 +457,7 @@ function Ti(e, s, t, a, n, i) {
|
|
|
457
457
|
const r = g("ecs-sticker");
|
|
458
458
|
return o(), l("div", {
|
|
459
459
|
class: h(["avatar", i.partyClass]),
|
|
460
|
-
style:
|
|
460
|
+
style: C([i.style, t.customStyle]),
|
|
461
461
|
role: t.image ? "img" : "none",
|
|
462
462
|
"aria-label": t.name
|
|
463
463
|
}, [
|
|
@@ -547,7 +547,7 @@ function Oi(e, s, t, a, n, i) {
|
|
|
547
547
|
t.dismissable ? (o(), l("button", {
|
|
548
548
|
key: 0,
|
|
549
549
|
onClick: s[0] || (s[0] = (...d) => i.dismiss && i.dismiss(...d)),
|
|
550
|
-
style:
|
|
550
|
+
style: C(i.dismissButtonStyle),
|
|
551
551
|
class: "close",
|
|
552
552
|
"aria-label": "Dismiss"
|
|
553
553
|
}, [
|
|
@@ -697,19 +697,20 @@ const mb = /* @__PURE__ */ v(Vi, [["render", qi], ["__scopeId", "data-v-422cc046
|
|
|
697
697
|
return this.wrap == !0 ? "ecs-flex-row-wrap" : this.wrap;
|
|
698
698
|
},
|
|
699
699
|
gapStyle() {
|
|
700
|
-
|
|
700
|
+
const e = this.gap || 0;
|
|
701
|
+
return this.direction === "row" || this.direction === "row-reverse" ? `column-gap: ${e}px;` : `row-gap: ${e}px;`;
|
|
701
702
|
}
|
|
702
703
|
}
|
|
703
704
|
};
|
|
704
705
|
function ji(e, s, t, a, n, i) {
|
|
705
706
|
return o(), l("div", {
|
|
706
707
|
class: h(["ecs-flex-row", [i.directionClass, i.justifyClass, i.alignClass, i.wrapClass]]),
|
|
707
|
-
style:
|
|
708
|
+
style: C(i.gapStyle)
|
|
708
709
|
}, [
|
|
709
710
|
p(e.$slots, "default", {}, void 0, !0)
|
|
710
711
|
], 6);
|
|
711
712
|
}
|
|
712
|
-
const Te = /* @__PURE__ */ v(Wi, [["render", ji], ["__scopeId", "data-v-
|
|
713
|
+
const Te = /* @__PURE__ */ v(Wi, [["render", ji], ["__scopeId", "data-v-c8f59d36"]]);
|
|
713
714
|
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
714
715
|
function ws(e) {
|
|
715
716
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -1093,7 +1094,7 @@ function Ps(e, s) {
|
|
|
1093
1094
|
}
|
|
1094
1095
|
function Rt(e, s) {
|
|
1095
1096
|
s === void 0 && (s = {});
|
|
1096
|
-
var t = s, a = t.placement, n = a === void 0 ? e.placement : a, i = t.strategy, r = i === void 0 ? e.strategy : i, c = t.boundary, d = c === void 0 ? Ji : c, m = t.rootBoundary, y = m === void 0 ? Cs : m, k = t.elementContext, z = k === void 0 ? Xe : k, I = t.altBoundary,
|
|
1097
|
+
var t = s, a = t.placement, n = a === void 0 ? e.placement : a, i = t.strategy, r = i === void 0 ? e.strategy : i, c = t.boundary, d = c === void 0 ? Ji : c, m = t.rootBoundary, y = m === void 0 ? Cs : m, k = t.elementContext, z = k === void 0 ? Xe : k, I = t.altBoundary, B = I === void 0 ? !1 : I, $ = t.padding, T = $ === void 0 ? 0 : $, O = $s(typeof T != "number" ? T : Ps(T, it)), R = z === Xe ? Qi : Xe, H = e.rects.popper, P = e.elements[B ? R : z], A = bn(Re(P) ? P : P.contextElement || Me(e.elements.popper), d, y, r), E = We(e.elements.reference), N = Is({
|
|
1097
1098
|
reference: E,
|
|
1098
1099
|
element: H,
|
|
1099
1100
|
strategy: "absolute",
|
|
@@ -1152,7 +1153,7 @@ function _n(e) {
|
|
|
1152
1153
|
var H = fn(mn([].concat(a, y.options.modifiers)));
|
|
1153
1154
|
return y.orderedModifiers = H.filter(function(P) {
|
|
1154
1155
|
return P.enabled;
|
|
1155
|
-
}),
|
|
1156
|
+
}), B(), I.update();
|
|
1156
1157
|
},
|
|
1157
1158
|
// Sync update – it will always be executed, even if not necessary. This
|
|
1158
1159
|
// is useful for low frequency updates where sync behavior simplifies the
|
|
@@ -1201,7 +1202,7 @@ function _n(e) {
|
|
|
1201
1202
|
I.setOptions(m).then(function(T) {
|
|
1202
1203
|
!z && m.onFirstUpdate && m.onFirstUpdate(T);
|
|
1203
1204
|
});
|
|
1204
|
-
function
|
|
1205
|
+
function B() {
|
|
1205
1206
|
y.orderedModifiers.forEach(function(T) {
|
|
1206
1207
|
var O = T.name, R = T.options, H = R === void 0 ? {} : R, P = T.effect;
|
|
1207
1208
|
if (typeof P == "function") {
|
|
@@ -1276,7 +1277,7 @@ function Bn(e, s) {
|
|
|
1276
1277
|
};
|
|
1277
1278
|
}
|
|
1278
1279
|
function as(e) {
|
|
1279
|
-
var s, t = e.popper, a = e.popperRect, n = e.placement, i = e.variation, r = e.offsets, c = e.position, d = e.gpuAcceleration, m = e.adaptive, y = e.roundOffsets, k = e.isFixed, z = r.x, I = z === void 0 ? 0 : z,
|
|
1280
|
+
var s, t = e.popper, a = e.popperRect, n = e.placement, i = e.variation, r = e.offsets, c = e.position, d = e.gpuAcceleration, m = e.adaptive, y = e.roundOffsets, k = e.isFixed, z = r.x, I = z === void 0 ? 0 : z, B = r.y, $ = B === void 0 ? 0 : B, T = typeof y == "function" ? y({
|
|
1280
1281
|
x: I,
|
|
1281
1282
|
y: $
|
|
1282
1283
|
}) : {
|
|
@@ -1405,7 +1406,7 @@ function On(e, s, t) {
|
|
|
1405
1406
|
return a > t ? t : a;
|
|
1406
1407
|
}
|
|
1407
1408
|
function An(e) {
|
|
1408
|
-
var s = e.state, t = e.options, a = e.name, n = t.mainAxis, i = n === void 0 ? !0 : n, r = t.altAxis, c = r === void 0 ? !1 : r, d = t.boundary, m = t.rootBoundary, y = t.altBoundary, k = t.padding, z = t.tether, I = z === void 0 ? !0 : z,
|
|
1409
|
+
var s = e.state, t = e.options, a = e.name, n = t.mainAxis, i = n === void 0 ? !0 : n, r = t.altAxis, c = r === void 0 ? !1 : r, d = t.boundary, m = t.rootBoundary, y = t.altBoundary, k = t.padding, z = t.tether, I = z === void 0 ? !0 : z, B = t.tetherOffset, $ = B === void 0 ? 0 : B, T = Rt(s, {
|
|
1409
1410
|
boundary: d,
|
|
1410
1411
|
rootBoundary: m,
|
|
1411
1412
|
padding: k,
|
|
@@ -1466,22 +1467,22 @@ function os(e) {
|
|
|
1466
1467
|
}
|
|
1467
1468
|
function Fn(e, s) {
|
|
1468
1469
|
s === void 0 && (s = {});
|
|
1469
|
-
var t = s, a = t.placement, n = t.boundary, i = t.rootBoundary, r = t.padding, c = t.flipVariations, d = t.allowedAutoPlacements, m = d === void 0 ? Bs : d, y = Ue(a), k = y ? c ? ts : ts.filter(function(
|
|
1470
|
-
return Ue(
|
|
1471
|
-
}) : it, z = k.filter(function(
|
|
1472
|
-
return m.indexOf(
|
|
1470
|
+
var t = s, a = t.placement, n = t.boundary, i = t.rootBoundary, r = t.padding, c = t.flipVariations, d = t.allowedAutoPlacements, m = d === void 0 ? Bs : d, y = Ue(a), k = y ? c ? ts : ts.filter(function(B) {
|
|
1471
|
+
return Ue(B) === y;
|
|
1472
|
+
}) : it, z = k.filter(function(B) {
|
|
1473
|
+
return m.indexOf(B) >= 0;
|
|
1473
1474
|
});
|
|
1474
1475
|
z.length === 0 && (z = k);
|
|
1475
|
-
var I = z.reduce(function(
|
|
1476
|
-
return
|
|
1476
|
+
var I = z.reduce(function(B, $) {
|
|
1477
|
+
return B[$] = Rt(e, {
|
|
1477
1478
|
placement: $,
|
|
1478
1479
|
boundary: n,
|
|
1479
1480
|
rootBoundary: i,
|
|
1480
1481
|
padding: r
|
|
1481
|
-
})[ke($)],
|
|
1482
|
+
})[ke($)], B;
|
|
1482
1483
|
}, {});
|
|
1483
|
-
return Object.keys(I).sort(function(
|
|
1484
|
-
return I[
|
|
1484
|
+
return Object.keys(I).sort(function(B, $) {
|
|
1485
|
+
return I[B] - I[$];
|
|
1485
1486
|
});
|
|
1486
1487
|
}
|
|
1487
1488
|
function Vn(e) {
|
|
@@ -1493,13 +1494,13 @@ function Vn(e) {
|
|
|
1493
1494
|
function Hn(e) {
|
|
1494
1495
|
var s = e.state, t = e.options, a = e.name;
|
|
1495
1496
|
if (!s.modifiersData[a]._skip) {
|
|
1496
|
-
for (var n = t.mainAxis, i = n === void 0 ? !0 : n, r = t.altAxis, c = r === void 0 ? !0 : r, d = t.fallbackPlacements, m = t.padding, y = t.boundary, k = t.rootBoundary, z = t.altBoundary, I = t.flipVariations,
|
|
1497
|
+
for (var n = t.mainAxis, i = n === void 0 ? !0 : n, r = t.altAxis, c = r === void 0 ? !0 : r, d = t.fallbackPlacements, m = t.padding, y = t.boundary, k = t.rootBoundary, z = t.altBoundary, I = t.flipVariations, B = I === void 0 ? !0 : I, $ = t.allowedAutoPlacements, T = s.options.placement, O = ke(T), R = O === T, H = d || (R || !B ? [dt(T)] : Vn(T)), P = [T].concat(H).reduce(function(He, $e) {
|
|
1497
1498
|
return He.concat(ke($e) === Nt ? Fn(s, {
|
|
1498
1499
|
placement: $e,
|
|
1499
1500
|
boundary: y,
|
|
1500
1501
|
rootBoundary: k,
|
|
1501
1502
|
padding: m,
|
|
1502
|
-
flipVariations:
|
|
1503
|
+
flipVariations: B,
|
|
1503
1504
|
allowedAutoPlacements: $
|
|
1504
1505
|
}) : $e);
|
|
1505
1506
|
}, []), A = s.rects.reference, E = s.rects.popper, N = /* @__PURE__ */ new Map(), F = !0, V = P[0], W = 0; W < P.length; W++) {
|
|
@@ -1521,7 +1522,7 @@ function Hn(e) {
|
|
|
1521
1522
|
N.set(j, ie);
|
|
1522
1523
|
}
|
|
1523
1524
|
if (F)
|
|
1524
|
-
for (var Ve =
|
|
1525
|
+
for (var Ve = B ? 3 : 1, Z = function($e) {
|
|
1525
1526
|
var Ke = P.find(function(at) {
|
|
1526
1527
|
var Oe = N.get(at);
|
|
1527
1528
|
if (Oe)
|
|
@@ -1582,7 +1583,7 @@ var Gn = function(s, t) {
|
|
|
1582
1583
|
function Kn(e) {
|
|
1583
1584
|
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), m = [re, ve].indexOf(c) >= 0, y = m ? "height" : "width";
|
|
1584
1585
|
if (!(!i || !r)) {
|
|
1585
|
-
var k = Gn(n.padding, t), z = At(i), I = d === "y" ? oe : re,
|
|
1586
|
+
var k = Gn(n.padding, t), z = At(i), I = d === "y" ? oe : re, B = d === "y" ? he : ve, $ = t.rects.reference[y] + t.rects.reference[d] - r[d] - t.rects.popper[y], T = r[d] - t.rects.reference[d], O = st(i), R = O ? d === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, H = $ / 2 - T / 2, P = k[I], A = R - z[y] - k[B], E = R / 2 - z[y] / 2 + H, N = et(P, E, A), F = d;
|
|
1586
1587
|
t.modifiersData[a] = (s = {}, s[F] = N, s.centerOffset = N - E, s);
|
|
1587
1588
|
}
|
|
1588
1589
|
}
|
|
@@ -1624,9 +1625,9 @@ function Zn({
|
|
|
1624
1625
|
d.isOpen || (d.isOpen = !0, s("open:popper"));
|
|
1625
1626
|
};
|
|
1626
1627
|
ce([() => d.isOpen, i], async ([$]) => {
|
|
1627
|
-
$ ? (await
|
|
1628
|
+
$ ? (await B(), y()) : k();
|
|
1628
1629
|
});
|
|
1629
|
-
const
|
|
1630
|
+
const B = async () => {
|
|
1630
1631
|
await ei(), d.popperInstance = Mn(c.value, r.value, {
|
|
1631
1632
|
placement: i.value,
|
|
1632
1633
|
modifiers: [
|
|
@@ -1838,7 +1839,7 @@ const ia = /* @__PURE__ */ v(ea, [["render", sa], ["__scopeId", "data-v-baf3bb28
|
|
|
1838
1839
|
});
|
|
1839
1840
|
const {
|
|
1840
1841
|
arrowPadding: I,
|
|
1841
|
-
closeDelay:
|
|
1842
|
+
closeDelay: B,
|
|
1842
1843
|
content: $,
|
|
1843
1844
|
disableClickAway: T,
|
|
1844
1845
|
disabled: O,
|
|
@@ -1864,7 +1865,7 @@ const ia = /* @__PURE__ */ v(ea, [["render", sa], ["__scopeId", "data-v-baf3bb28
|
|
|
1864
1865
|
_e(
|
|
1865
1866
|
() => R.value ? `border: ${P.value}px solid transparent; margin: -${P.value}px;` : null
|
|
1866
1867
|
);
|
|
1867
|
-
const Y = wt.debounce(W, E.value), Q = wt.debounce(j,
|
|
1868
|
+
const Y = wt.debounce(W, E.value), Q = wt.debounce(j, B.value), Ee = async () => {
|
|
1868
1869
|
K.value || X.value || (Q.clear(), c.value = !0, Y());
|
|
1869
1870
|
}, ie = async () => {
|
|
1870
1871
|
X.value || (Y.clear(), c.value = !1, Q());
|
|
@@ -2114,7 +2115,7 @@ const Ft = /* @__PURE__ */ v(fa, [["render", ga]]), ma = {
|
|
|
2114
2115
|
function pa(e, s, t, a, n, i) {
|
|
2115
2116
|
return o(), b(Pe(i.textTag), {
|
|
2116
2117
|
class: h([[i.textClass, t.emphasized ? "emphasized" : ""], "ecs-text"]),
|
|
2117
|
-
style:
|
|
2118
|
+
style: C({ color: i.textColor })
|
|
2118
2119
|
}, {
|
|
2119
2120
|
default: S(() => [
|
|
2120
2121
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -2967,7 +2968,7 @@ function co(e, s, t, a, n, i) {
|
|
|
2967
2968
|
return o(), l("li", null, [
|
|
2968
2969
|
t.type === "checkbox" ? (o(), l("div", Ua, [
|
|
2969
2970
|
_(r, {
|
|
2970
|
-
onInput: s[0] || (s[0] = (
|
|
2971
|
+
onInput: s[0] || (s[0] = (B) => e.$emit("input", B)),
|
|
2971
2972
|
disabled: t.disabled || null,
|
|
2972
2973
|
value: t.value,
|
|
2973
2974
|
"value-false": t.valueFalse,
|
|
@@ -2982,7 +2983,7 @@ function co(e, s, t, a, n, i) {
|
|
|
2982
2983
|
t.suffix ? (o(), l("span", Ga, w(t.suffix), 1)) : u("", !0)
|
|
2983
2984
|
])) : t.type === "radiobutton" ? (o(), l("div", Ka, [
|
|
2984
2985
|
_(c, {
|
|
2985
|
-
onChange: s[1] || (s[1] = (
|
|
2986
|
+
onChange: s[1] || (s[1] = (B) => e.$emit("change", B)),
|
|
2986
2987
|
disabled: t.disabled || null,
|
|
2987
2988
|
checked: t.value || null
|
|
2988
2989
|
}, {
|
|
@@ -2994,7 +2995,7 @@ function co(e, s, t, a, n, i) {
|
|
|
2994
2995
|
t.suffix ? (o(), l("span", Ya, w(t.suffix), 1)) : u("", !0)
|
|
2995
2996
|
])) : t.type === "switch" ? (o(), l("div", Xa, [
|
|
2996
2997
|
_(d, {
|
|
2997
|
-
onInput: s[2] || (s[2] = (
|
|
2998
|
+
onInput: s[2] || (s[2] = (B) => e.$emit("input", B)),
|
|
2998
2999
|
value: t.value,
|
|
2999
3000
|
"value-false": t.valueFalse,
|
|
3000
3001
|
"value-true": t.valueTrue,
|
|
@@ -3010,7 +3011,7 @@ function co(e, s, t, a, n, i) {
|
|
|
3010
3011
|
t.suffix ? (o(), l("span", Ja, w(t.suffix), 1)) : u("", !0)
|
|
3011
3012
|
])) : t.type === "sort" ? (o(), l("div", {
|
|
3012
3013
|
key: 3,
|
|
3013
|
-
onClick: s[3] || (s[3] = (
|
|
3014
|
+
onClick: s[3] || (s[3] = (B) => e.$emit("click", B)),
|
|
3014
3015
|
class: "ecs-popover-list-item control no-hover",
|
|
3015
3016
|
role: "menuitem",
|
|
3016
3017
|
tabindex: "0"
|
|
@@ -3028,7 +3029,7 @@ function co(e, s, t, a, n, i) {
|
|
|
3028
3029
|
_(y, { inset: 0 })
|
|
3029
3030
|
])) : t.type === "link" ? (o(), l("a", {
|
|
3030
3031
|
key: 4,
|
|
3031
|
-
onClick: s[6] || (s[6] = (
|
|
3032
|
+
onClick: s[6] || (s[6] = (B) => e.$emit("click", B)),
|
|
3032
3033
|
class: h(["ecs-popover-list-item", [
|
|
3033
3034
|
t.danger ? "danger" : "",
|
|
3034
3035
|
t.subtle ? "subtle" : "",
|
|
@@ -3058,8 +3059,8 @@ function co(e, s, t, a, n, i) {
|
|
|
3058
3059
|
i.secondaryActionOptions.show ? (o(), b(I, {
|
|
3059
3060
|
key: 0,
|
|
3060
3061
|
onClick: U(i.handleSecondaryClick, ["stop"]),
|
|
3061
|
-
onMouseover: s[4] || (s[4] = (
|
|
3062
|
-
onMouseleave: s[5] || (s[5] = (
|
|
3062
|
+
onMouseover: s[4] || (s[4] = (B) => n.preventHover = !n.preventHover),
|
|
3063
|
+
onMouseleave: s[5] || (s[5] = (B) => n.preventHover = !n.preventHover),
|
|
3063
3064
|
size: "sml",
|
|
3064
3065
|
type: i.secondaryActionOptions.type,
|
|
3065
3066
|
icon: i.secondaryActionOptions.icon,
|
|
@@ -3088,7 +3089,7 @@ function co(e, s, t, a, n, i) {
|
|
|
3088
3089
|
t.noHover || n.preventHover ? "no-hover" : "",
|
|
3089
3090
|
t.selected ? "selected" : ""
|
|
3090
3091
|
]]),
|
|
3091
|
-
onClick: s[9] || (s[9] = (
|
|
3092
|
+
onClick: s[9] || (s[9] = (B) => e.$emit("click", B)),
|
|
3092
3093
|
role: "menuitem",
|
|
3093
3094
|
tabindex: "0"
|
|
3094
3095
|
}, [
|
|
@@ -3110,8 +3111,8 @@ function co(e, s, t, a, n, i) {
|
|
|
3110
3111
|
i.secondaryActionOptions.show ? (o(), b(I, {
|
|
3111
3112
|
key: 0,
|
|
3112
3113
|
onClick: U(i.handleSecondaryClick, ["stop"]),
|
|
3113
|
-
onMouseover: s[7] || (s[7] = (
|
|
3114
|
-
onMouseleave: s[8] || (s[8] = (
|
|
3114
|
+
onMouseover: s[7] || (s[7] = (B) => n.preventHover = !n.preventHover),
|
|
3115
|
+
onMouseleave: s[8] || (s[8] = (B) => n.preventHover = !n.preventHover),
|
|
3115
3116
|
size: "sml",
|
|
3116
3117
|
type: i.secondaryActionOptions.type,
|
|
3117
3118
|
icon: i.secondaryActionOptions.icon,
|
|
@@ -3259,7 +3260,7 @@ function po(e, s, t, a, n, i) {
|
|
|
3259
3260
|
t.badge ? (o(), l("span", {
|
|
3260
3261
|
key: 1,
|
|
3261
3262
|
class: "badge",
|
|
3262
|
-
style:
|
|
3263
|
+
style: C({ background: t.badgeColor })
|
|
3263
3264
|
}, null, 4)) : u("", !0),
|
|
3264
3265
|
t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), b(r, {
|
|
3265
3266
|
key: 2,
|
|
@@ -3295,7 +3296,7 @@ function po(e, s, t, a, n, i) {
|
|
|
3295
3296
|
t.badge ? (o(), l("span", {
|
|
3296
3297
|
key: 1,
|
|
3297
3298
|
class: "badge",
|
|
3298
|
-
style:
|
|
3299
|
+
style: C({ background: t.badgeColor })
|
|
3299
3300
|
}, null, 4)) : u("", !0),
|
|
3300
3301
|
t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), b(r, {
|
|
3301
3302
|
key: 2,
|
|
@@ -3356,7 +3357,7 @@ const pt = /* @__PURE__ */ v(fo, [["render", po], ["__scopeId", "data-v-72592c75
|
|
|
3356
3357
|
function vo(e, s, t, a, n, i) {
|
|
3357
3358
|
return o(), l("div", {
|
|
3358
3359
|
class: h(["ecs-separator", i.classes]),
|
|
3359
|
-
style:
|
|
3360
|
+
style: C({ margin: i.marginStyles, width: t.width, height: t.height }),
|
|
3360
3361
|
role: "separator"
|
|
3361
3362
|
}, null, 6);
|
|
3362
3363
|
}
|
|
@@ -3462,8 +3463,8 @@ function ko(e, s, t, a, n, i) {
|
|
|
3462
3463
|
content: S(() => [
|
|
3463
3464
|
_(y, null, {
|
|
3464
3465
|
default: S(() => [
|
|
3465
|
-
(o(!0), l(J, null, pe(t.options, (I,
|
|
3466
|
-
key:
|
|
3466
|
+
(o(!0), l(J, null, pe(t.options, (I, B) => (o(), b(d, {
|
|
3467
|
+
key: B,
|
|
3467
3468
|
disabled: I.disabled || null,
|
|
3468
3469
|
onClick: ($) => e.$emit("select", I.action)
|
|
3469
3470
|
}, {
|
|
@@ -4343,7 +4344,7 @@ function er(e, s, t, a, n, i) {
|
|
|
4343
4344
|
class: h(["ecs-context-button", [t.loading ? "loading" : "", i.iconOnly ? "ecs-context-button-icon-only" : ""]]),
|
|
4344
4345
|
"aria-label": t.ariaLabel,
|
|
4345
4346
|
"aria-busy": t.loading || null,
|
|
4346
|
-
style:
|
|
4347
|
+
style: C(i.selectedColorText),
|
|
4347
4348
|
onClick: s[0] || (s[0] = (d) => e.$emit("click", d))
|
|
4348
4349
|
}, [
|
|
4349
4350
|
t.icon || t.loading ? (o(), b(r, {
|
|
@@ -4354,7 +4355,7 @@ function er(e, s, t, a, n, i) {
|
|
|
4354
4355
|
t.selectedColor ? (o(), l("div", {
|
|
4355
4356
|
key: 1,
|
|
4356
4357
|
class: "ecs-context-button-color",
|
|
4357
|
-
style:
|
|
4358
|
+
style: C(i.selectedColorBackground)
|
|
4358
4359
|
}, null, 4)) : u("", !0),
|
|
4359
4360
|
p(e.$slots, "default", {}, void 0, !0),
|
|
4360
4361
|
_(c)
|
|
@@ -4719,7 +4720,7 @@ function Cr(e, s, t, a, n, i) {
|
|
|
4719
4720
|
t.progress ? (o(), l("div", {
|
|
4720
4721
|
key: 0,
|
|
4721
4722
|
class: "progress",
|
|
4722
|
-
style:
|
|
4723
|
+
style: C({ width: t.progress + "%" })
|
|
4723
4724
|
}, null, 4)) : u("", !0)
|
|
4724
4725
|
])
|
|
4725
4726
|
], 10, wr);
|
|
@@ -4922,7 +4923,7 @@ function Or(e, s, t, a, n, i) {
|
|
|
4922
4923
|
return Ge((o(), l("div", {
|
|
4923
4924
|
class: h(["ecs-context-menu", n.opened ? " opened" : ""]),
|
|
4924
4925
|
id: t.elementId,
|
|
4925
|
-
style:
|
|
4926
|
+
style: C([i.postionStyles])
|
|
4926
4927
|
}, [
|
|
4927
4928
|
f("ul", {
|
|
4928
4929
|
role: "menu",
|
|
@@ -5276,7 +5277,7 @@ function Yr(e, s, t, a, n, i) {
|
|
|
5276
5277
|
}, [
|
|
5277
5278
|
f("div", {
|
|
5278
5279
|
class: "ecs-collection-control-list scrollbar scrollbar-sml",
|
|
5279
|
-
style:
|
|
5280
|
+
style: C(i.listMaxHeight)
|
|
5280
5281
|
}, [
|
|
5281
5282
|
p(e.$slots, "default")
|
|
5282
5283
|
], 4)
|
|
@@ -5329,7 +5330,7 @@ function tl(e, s, t, a, n, i) {
|
|
|
5329
5330
|
return t.type === "rect" || t.type === "circle" ? (o(), l("div", {
|
|
5330
5331
|
key: 0,
|
|
5331
5332
|
class: h(["ecs-skeleton skeleton", i.rectClass]),
|
|
5332
|
-
style:
|
|
5333
|
+
style: C({ width: t.width + "px", height: t.height + "px" })
|
|
5333
5334
|
}, null, 6)) : t.type === "multi" ? (o(), l("div", Jr, [
|
|
5334
5335
|
(o(!0), l(J, null, pe(parseInt(t.count), (r) => (o(), l("div", {
|
|
5335
5336
|
key: r,
|
|
@@ -5341,7 +5342,7 @@ function tl(e, s, t, a, n, i) {
|
|
|
5341
5342
|
}, [
|
|
5342
5343
|
f("div", {
|
|
5343
5344
|
class: "skeleton skeleton-single",
|
|
5344
|
-
style:
|
|
5345
|
+
style: C({ width: t.width + "%" })
|
|
5345
5346
|
}, null, 4)
|
|
5346
5347
|
], 2));
|
|
5347
5348
|
}
|
|
@@ -5734,7 +5735,7 @@ function Bc(e, s, t) {
|
|
|
5734
5735
|
var N = a, F = n;
|
|
5735
5736
|
return a = n = void 0, m = E, r = e.apply(F, N), r;
|
|
5736
5737
|
}
|
|
5737
|
-
function
|
|
5738
|
+
function B(E) {
|
|
5738
5739
|
return m = E, c = setTimeout(O, s), y ? I(E) : r;
|
|
5739
5740
|
}
|
|
5740
5741
|
function $(E) {
|
|
@@ -5764,7 +5765,7 @@ function Bc(e, s, t) {
|
|
|
5764
5765
|
var E = Ct(), N = T(E);
|
|
5765
5766
|
if (a = arguments, n = this, d = E, N) {
|
|
5766
5767
|
if (c === void 0)
|
|
5767
|
-
return
|
|
5768
|
+
return B(d);
|
|
5768
5769
|
if (k)
|
|
5769
5770
|
return clearTimeout(c), c = setTimeout(O, s), I(d);
|
|
5770
5771
|
}
|
|
@@ -5848,7 +5849,7 @@ const Mc = /* @__PURE__ */ ws(Tc), Lc = {
|
|
|
5848
5849
|
function Rc(e, s, t, a, n, i) {
|
|
5849
5850
|
return o(), l("div", {
|
|
5850
5851
|
class: "ecs-saturation",
|
|
5851
|
-
style:
|
|
5852
|
+
style: C({ background: i.bgColor }),
|
|
5852
5853
|
ref: "container",
|
|
5853
5854
|
onMousedown: s[0] || (s[0] = (...r) => i.handleMouseDown && i.handleMouseDown(...r)),
|
|
5854
5855
|
onTouchmove: s[1] || (s[1] = (...r) => i.handleChange && i.handleChange(...r)),
|
|
@@ -5858,7 +5859,7 @@ function Rc(e, s, t, a, n, i) {
|
|
|
5858
5859
|
Ac,
|
|
5859
5860
|
f("div", {
|
|
5860
5861
|
class: "ecs-saturation-pointer",
|
|
5861
|
-
style:
|
|
5862
|
+
style: C({ top: i.pointerTop, left: i.pointerLeft })
|
|
5862
5863
|
}, Dc, 4)
|
|
5863
5864
|
], 36);
|
|
5864
5865
|
}
|
|
@@ -5948,7 +5949,7 @@ function jc(e, s, t, a, n, i) {
|
|
|
5948
5949
|
}, [
|
|
5949
5950
|
f("div", {
|
|
5950
5951
|
class: "ecs-hue-pointer",
|
|
5951
|
-
style:
|
|
5952
|
+
style: C({ top: i.pointerTop, left: i.pointerLeft }),
|
|
5952
5953
|
role: "presentation"
|
|
5953
5954
|
}, Wc, 4)
|
|
5954
5955
|
], 40, Hc)
|
|
@@ -5998,7 +5999,7 @@ function Yc(e, s, t) {
|
|
|
5998
5999
|
function Xc(e, s, t, a, n, i) {
|
|
5999
6000
|
return o(), l("div", {
|
|
6000
6001
|
class: "ecs-checkerboard",
|
|
6001
|
-
style:
|
|
6002
|
+
style: C(i.bgStyle)
|
|
6002
6003
|
}, null, 4);
|
|
6003
6004
|
}
|
|
6004
6005
|
const Ws = /* @__PURE__ */ v(Gc, [["render", Xc]]), Zc = {
|
|
@@ -6056,7 +6057,7 @@ function sd(e, s, t, a, n, i) {
|
|
|
6056
6057
|
]),
|
|
6057
6058
|
f("div", {
|
|
6058
6059
|
class: "ecs-alpha-gradient",
|
|
6059
|
-
style:
|
|
6060
|
+
style: C({ background: i.gradientColor })
|
|
6060
6061
|
}, null, 4),
|
|
6061
6062
|
f("div", {
|
|
6062
6063
|
class: "ecs-alpha-container",
|
|
@@ -6067,7 +6068,7 @@ function sd(e, s, t, a, n, i) {
|
|
|
6067
6068
|
}, [
|
|
6068
6069
|
f("div", {
|
|
6069
6070
|
class: "ecs-alpha-pointer",
|
|
6070
|
-
style:
|
|
6071
|
+
style: C({ left: i.colors.a * 100 + "%" })
|
|
6071
6072
|
}, td, 4)
|
|
6072
6073
|
], 544)
|
|
6073
6074
|
]);
|
|
@@ -6174,7 +6175,7 @@ function yd(e, s, t, a, n, i) {
|
|
|
6174
6175
|
role: "application",
|
|
6175
6176
|
"aria-label": "Color picker",
|
|
6176
6177
|
class: h(["ecs-color-picker", t.disableAlpha ? "ecs-color-picker__disable-alpha" : ""]),
|
|
6177
|
-
style:
|
|
6178
|
+
style: C({ padding: t.padding + "px", width: 216 + 2 * t.padding + "px" })
|
|
6178
6179
|
}, [
|
|
6179
6180
|
t.disableCustom ? u("", !0) : (o(), l("div", ad, [
|
|
6180
6181
|
_(r, {
|
|
@@ -6243,7 +6244,7 @@ function yd(e, s, t, a, n, i) {
|
|
|
6243
6244
|
])) : u("", !0),
|
|
6244
6245
|
f("div", {
|
|
6245
6246
|
class: "ecs-color-picker-presets",
|
|
6246
|
-
style:
|
|
6247
|
+
style: C(t.disableCustom ? "" : "padding-top: var(--spacing-10)"),
|
|
6247
6248
|
role: "group",
|
|
6248
6249
|
"aria-label": "A color preset, pick one to set as current color"
|
|
6249
6250
|
}, [
|
|
@@ -6260,7 +6261,7 @@ function yd(e, s, t, a, n, i) {
|
|
|
6260
6261
|
class: h(["ecs-color-picker-presets-color", { active: e.colors.hex === k.hex }]),
|
|
6261
6262
|
"aria-label": k.title,
|
|
6262
6263
|
key: "if-" + k.id,
|
|
6263
|
-
style:
|
|
6264
|
+
style: C({ background: k.hex }),
|
|
6264
6265
|
"aria-selected": e.colors.hex === k.hex ? "true" : "false",
|
|
6265
6266
|
title: k.title,
|
|
6266
6267
|
onClick: (z) => i.handlePreset(k.hex)
|
|
@@ -6271,7 +6272,7 @@ function yd(e, s, t, a, n, i) {
|
|
|
6271
6272
|
class: h(["ecs-color-picker-presets-color active", i.isActiveColorDark ? "dark" : "light"]),
|
|
6272
6273
|
"aria-label": "Custom color",
|
|
6273
6274
|
"aria-selected": "true",
|
|
6274
|
-
style:
|
|
6275
|
+
style: C({ background: e.colors.hex })
|
|
6275
6276
|
}, null, 6))
|
|
6276
6277
|
], 4)
|
|
6277
6278
|
], 6);
|
|
@@ -6355,7 +6356,7 @@ function kd(e, s, t, a, n, i) {
|
|
|
6355
6356
|
default: S(() => [
|
|
6356
6357
|
f("button", {
|
|
6357
6358
|
class: h(["ecs-color-picker-input-button", i.sizeClass]),
|
|
6358
|
-
style:
|
|
6359
|
+
style: C(i.selectedColorStyle)
|
|
6359
6360
|
}, [
|
|
6360
6361
|
f("span", null, w(i.selectedColorName), 1)
|
|
6361
6362
|
], 6)
|
|
@@ -7135,7 +7136,7 @@ function mu(e, s, t, a, n, i) {
|
|
|
7135
7136
|
const r = g("ecs-icon"), c = g("ecs-select"), d = g("ecs-focus-ring");
|
|
7136
7137
|
return o(), l("div", {
|
|
7137
7138
|
class: h(["ecs-data-grid-head-cell", [t.fixedLeft ? "fixed-left" : "", t.fixedLeftLast ? "fixed-left-last" : "", t.fixedRight ? "fixed-right" : ""]]),
|
|
7138
|
-
style:
|
|
7139
|
+
style: C([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
|
|
7139
7140
|
role: "columnheader",
|
|
7140
7141
|
"aria-sort": i.ariaSort,
|
|
7141
7142
|
"aria-label": t.icon ? t.name : null
|
|
@@ -7147,7 +7148,7 @@ function mu(e, s, t, a, n, i) {
|
|
|
7147
7148
|
f("div", {
|
|
7148
7149
|
ref: "resizer",
|
|
7149
7150
|
class: h(["ecs-data-grid-head-cell-inner", t.resizable ? "resizable" : ""]),
|
|
7150
|
-
style:
|
|
7151
|
+
style: C([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, i.resizeStyles, t.styles]),
|
|
7151
7152
|
"data-column": i.computedId,
|
|
7152
7153
|
"data-test": i.computedId
|
|
7153
7154
|
}, [
|
|
@@ -7385,7 +7386,7 @@ function Su(e, s, t, a, n, i) {
|
|
|
7385
7386
|
const r = g("ecs-button-collapse");
|
|
7386
7387
|
return o(), l("div", {
|
|
7387
7388
|
class: h(["ecs-data-grid-cell", [t.fixedLeft ? "fixed-left" : "", t.fixedLeftLast ? "fixed-left-last" : "", t.fixedRight ? "fixed-right" : ""]]),
|
|
7388
|
-
style:
|
|
7389
|
+
style: C([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
|
|
7389
7390
|
role: "cell"
|
|
7390
7391
|
}, [
|
|
7391
7392
|
t.fixedRight ? (o(), l("div", {
|
|
@@ -7394,7 +7395,7 @@ function Su(e, s, t, a, n, i) {
|
|
|
7394
7395
|
}, null, 2)) : u("", !0),
|
|
7395
7396
|
f("div", {
|
|
7396
7397
|
class: "ecs-data-grid-cell-inner",
|
|
7397
|
-
style:
|
|
7398
|
+
style: C([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, t.styles]),
|
|
7398
7399
|
"data-column": i.computedId,
|
|
7399
7400
|
"data-test": i.computedId
|
|
7400
7401
|
}, [
|
|
@@ -7494,6 +7495,11 @@ const Ab = /* @__PURE__ */ v(xu, [["render", Bu]]), zu = {
|
|
|
7494
7495
|
indent: {
|
|
7495
7496
|
type: Boolean,
|
|
7496
7497
|
default: !0
|
|
7498
|
+
},
|
|
7499
|
+
/** Set a custom width for the identifier cell. Only available for non-full variant. Accepts any CSS value (px, %, etc.) */
|
|
7500
|
+
identifierWidth: {
|
|
7501
|
+
type: String,
|
|
7502
|
+
default: "145px"
|
|
7497
7503
|
}
|
|
7498
7504
|
},
|
|
7499
7505
|
data() {
|
|
@@ -7510,6 +7516,9 @@ const Ab = /* @__PURE__ */ v(xu, [["render", Bu]]), zu = {
|
|
|
7510
7516
|
hasIdentifier() {
|
|
7511
7517
|
if (this.identifier && this.identifier !== "" || this.$slots.collapse)
|
|
7512
7518
|
return !0;
|
|
7519
|
+
},
|
|
7520
|
+
identifierStyle() {
|
|
7521
|
+
return this.full ? { width: "100%" } : { width: this.identifierWidth, minWidth: this.identifierWidth };
|
|
7513
7522
|
}
|
|
7514
7523
|
},
|
|
7515
7524
|
methods: {
|
|
@@ -7546,6 +7555,7 @@ function Tu(e, s, t, a, n, i) {
|
|
|
7546
7555
|
i.hasIdentifier ? (o(), l("div", {
|
|
7547
7556
|
key: 0,
|
|
7548
7557
|
id: n.definitionId,
|
|
7558
|
+
style: C(i.identifierStyle),
|
|
7549
7559
|
class: "ecs-data-list-identifier"
|
|
7550
7560
|
}, [
|
|
7551
7561
|
D(w(t.identifier) + " ", 1),
|
|
@@ -7558,7 +7568,7 @@ function Tu(e, s, t, a, n, i) {
|
|
|
7558
7568
|
"aria-expanded": n.isVisible ? "true" : "false",
|
|
7559
7569
|
onClick: i.toggleCollapse
|
|
7560
7570
|
}, null, 8, ["active", "aria-controls", "aria-expanded", "onClick"])) : u("", !0)
|
|
7561
|
-
],
|
|
7571
|
+
], 12, Iu)) : u("", !0),
|
|
7562
7572
|
f("div", {
|
|
7563
7573
|
class: h(["ecs-data-list-data", [
|
|
7564
7574
|
t.escape ? "ecs-data-list-data-escape" : "",
|
|
@@ -7578,7 +7588,7 @@ function Tu(e, s, t, a, n, i) {
|
|
|
7578
7588
|
key: 2,
|
|
7579
7589
|
class: "progress",
|
|
7580
7590
|
role: "progressbar",
|
|
7581
|
-
style:
|
|
7591
|
+
style: C({ width: t.progress + "%" }),
|
|
7582
7592
|
"aria-valuenow": t.progress
|
|
7583
7593
|
}, null, 12, $u)) : u("", !0)
|
|
7584
7594
|
], 10, Eu)
|
|
@@ -7594,7 +7604,7 @@ function Tu(e, s, t, a, n, i) {
|
|
|
7594
7604
|
], 10, Pu)) : u("", !0)
|
|
7595
7605
|
]);
|
|
7596
7606
|
}
|
|
7597
|
-
const Nb = /* @__PURE__ */ v(zu, [["render", Tu], ["__scopeId", "data-v-
|
|
7607
|
+
const Nb = /* @__PURE__ */ v(zu, [["render", Tu], ["__scopeId", "data-v-608ab057"]]), Mu = {
|
|
7598
7608
|
name: "ecs-dialog",
|
|
7599
7609
|
emits: ["toggled", "cancel"],
|
|
7600
7610
|
props: {
|
|
@@ -7738,15 +7748,16 @@ const Db = /* @__PURE__ */ v(Mu, [["render", Ou]]), Au = {
|
|
|
7738
7748
|
));
|
|
7739
7749
|
}), (n, i) => (o(), l("div", {
|
|
7740
7750
|
class: h(["ecs-state-icon", e.iconColor]),
|
|
7741
|
-
style:
|
|
7751
|
+
style: C(t.value)
|
|
7742
7752
|
}, [
|
|
7743
7753
|
(o(), b(Pe(ae(a)), {
|
|
7744
7754
|
height: e.size,
|
|
7745
|
-
width: e.size
|
|
7746
|
-
|
|
7755
|
+
width: e.size,
|
|
7756
|
+
"data-test-icon-type": e.type
|
|
7757
|
+
}, null, 8, ["height", "width", "data-test-icon-type"]))
|
|
7747
7758
|
], 6));
|
|
7748
7759
|
}
|
|
7749
|
-
}, Nu = /* @__PURE__ */ v(Au, [["__scopeId", "data-v-
|
|
7760
|
+
}, Nu = /* @__PURE__ */ v(Au, [["__scopeId", "data-v-1e68bf26"]]), Du = {
|
|
7750
7761
|
name: "ecs-dialog-header",
|
|
7751
7762
|
components: {
|
|
7752
7763
|
EcsStateIcon: Nu
|
|
@@ -7865,7 +7876,7 @@ function Uu(e, s, t, a, n, i) {
|
|
|
7865
7876
|
t.indicator ? (o(), l("div", {
|
|
7866
7877
|
key: 2,
|
|
7867
7878
|
class: "indicator",
|
|
7868
|
-
style:
|
|
7879
|
+
style: C("background-color:" + t.indicator)
|
|
7869
7880
|
}, null, 4)) : u("", !0),
|
|
7870
7881
|
f("div", ju, [
|
|
7871
7882
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -7980,7 +7991,7 @@ const Vb = /* @__PURE__ */ v(Gu, [["render", ef], ["__scopeId", "data-v-00c4c6d7
|
|
|
7980
7991
|
function of(e, s, t, a, n, i) {
|
|
7981
7992
|
return o(), l("div", {
|
|
7982
7993
|
class: "ecs-donut-chart",
|
|
7983
|
-
style:
|
|
7994
|
+
style: C(i.wrapperPadding)
|
|
7984
7995
|
}, [
|
|
7985
7996
|
(o(), l("svg", {
|
|
7986
7997
|
height: t.size,
|
|
@@ -8121,7 +8132,7 @@ function pf(e, s, t, a, n, i) {
|
|
|
8121
8132
|
t.infinite ? "ecs-progress-infinite" : "",
|
|
8122
8133
|
t.cancelled ? "ecs-progress-cancelled" : ""
|
|
8123
8134
|
]]),
|
|
8124
|
-
style:
|
|
8135
|
+
style: C({ width: 100 * (t.value / i.computedMax) + "%" })
|
|
8125
8136
|
}, null, 6)
|
|
8126
8137
|
], 8, mf);
|
|
8127
8138
|
}
|
|
@@ -8303,15 +8314,15 @@ function Cf(e, s, t, a, n, i) {
|
|
|
8303
8314
|
t.disabled ? "ecs-dropzone-disabled" : "",
|
|
8304
8315
|
n.dragging ? "ecs-dropzone-dragging" : ""
|
|
8305
8316
|
]]),
|
|
8306
|
-
onDragover: s[3] || (s[3] = (...
|
|
8307
|
-
onDragenter: s[4] || (s[4] = (...
|
|
8308
|
-
onDragleave: s[5] || (s[5] = (...
|
|
8309
|
-
onDrop: s[6] || (s[6] = U((...
|
|
8317
|
+
onDragover: s[3] || (s[3] = (...B) => i.handleDragOver && i.handleDragOver(...B)),
|
|
8318
|
+
onDragenter: s[4] || (s[4] = (...B) => i.handleDragEnter && i.handleDragEnter(...B)),
|
|
8319
|
+
onDragleave: s[5] || (s[5] = (...B) => i.handleDragLeave && i.handleDragLeave(...B)),
|
|
8320
|
+
onDrop: s[6] || (s[6] = U((...B) => i.drop && i.drop(...B), ["prevent"])),
|
|
8310
8321
|
"aria-busy": i.isBusy || null,
|
|
8311
8322
|
"aria-invalid": t.error || null
|
|
8312
8323
|
}, [
|
|
8313
8324
|
f("input", {
|
|
8314
|
-
onChange: s[0] || (s[0] = (...
|
|
8325
|
+
onChange: s[0] || (s[0] = (...B) => i.change && i.change(...B)),
|
|
8315
8326
|
type: "file",
|
|
8316
8327
|
multiple: t.multiple || null,
|
|
8317
8328
|
ref: "file"
|
|
@@ -8330,8 +8341,8 @@ function Cf(e, s, t, a, n, i) {
|
|
|
8330
8341
|
e.$slots.customlabel ? u("", !0) : (o(), l(J, { key: 0 }, [
|
|
8331
8342
|
D(" Drag and drop your " + w(t.fileTypeLabel) + " or ", 1),
|
|
8332
8343
|
f("i", {
|
|
8333
|
-
onClick: s[1] || (s[1] = (...
|
|
8334
|
-
onKeydown: s[2] || (s[2] = G((...
|
|
8344
|
+
onClick: s[1] || (s[1] = (...B) => i.browseFile && i.browseFile(...B)),
|
|
8345
|
+
onKeydown: s[2] || (s[2] = G((...B) => i.browseFile && i.browseFile(...B), ["enter"])),
|
|
8335
8346
|
tabindex: "0"
|
|
8336
8347
|
}, [
|
|
8337
8348
|
D("browse"),
|
|
@@ -8631,7 +8642,7 @@ function Vf(e, s, t, a, n, i) {
|
|
|
8631
8642
|
]),
|
|
8632
8643
|
f("div", {
|
|
8633
8644
|
class: "ecs-excerpt-content scrollbar scrollbar-sml",
|
|
8634
|
-
style:
|
|
8645
|
+
style: C(i.maxHeightStyles)
|
|
8635
8646
|
}, [
|
|
8636
8647
|
t.loading ? (o(), b(r, {
|
|
8637
8648
|
key: 0,
|
|
@@ -8650,10 +8661,10 @@ function Vf(e, s, t, a, n, i) {
|
|
|
8650
8661
|
p(e.$slots, "default", {}, void 0, !0)
|
|
8651
8662
|
])) : t.type == "rectangle" ? (o(), l("div", Rf, [
|
|
8652
8663
|
f("span", {
|
|
8653
|
-
style:
|
|
8664
|
+
style: C("color:" + t.annotationColor)
|
|
8654
8665
|
}, "Rectangle Annotation", 4),
|
|
8655
8666
|
f("div", {
|
|
8656
|
-
style:
|
|
8667
|
+
style: C("background-color:" + t.annotationColor)
|
|
8657
8668
|
}, null, 4)
|
|
8658
8669
|
])) : (o(), l("div", Ff, [
|
|
8659
8670
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -8919,7 +8930,7 @@ function ig(e, s, t, a, n, i) {
|
|
|
8919
8930
|
t.progress ? (o(), l("div", {
|
|
8920
8931
|
key: 3,
|
|
8921
8932
|
class: "loading-bar",
|
|
8922
|
-
style:
|
|
8933
|
+
style: C({ width: t.progress + "%" }),
|
|
8923
8934
|
role: "progressbar",
|
|
8924
8935
|
"aria-valuenow": t.progress
|
|
8925
8936
|
}, null, 12, Jf)) : u("", !0)
|
|
@@ -8944,7 +8955,7 @@ function ig(e, s, t, a, n, i) {
|
|
|
8944
8955
|
default: S(() => [
|
|
8945
8956
|
e.$slots.edit && t.edit ? (o(), l("div", {
|
|
8946
8957
|
key: 0,
|
|
8947
|
-
style:
|
|
8958
|
+
style: C({ maxHeight: n.editHeight + "px" }),
|
|
8948
8959
|
id: n.editId
|
|
8949
8960
|
}, [
|
|
8950
8961
|
f("div", sg, [
|
|
@@ -9256,7 +9267,7 @@ function bg(e, s, t, a, n, i) {
|
|
|
9256
9267
|
t.borderless ? "" : "ecs-scroll-container-border",
|
|
9257
9268
|
t.hideShadows ? "" : "ecs-scroll-container-shadows"
|
|
9258
9269
|
]]),
|
|
9259
|
-
style:
|
|
9270
|
+
style: C({ maxHeight: t.height, padding: t.padding })
|
|
9260
9271
|
}, [
|
|
9261
9272
|
p(e.$slots, "default", {}, void 0, !0)
|
|
9262
9273
|
], 6);
|
|
@@ -9328,7 +9339,7 @@ function xg(e, s, t, a, n, i) {
|
|
|
9328
9339
|
const r = g("ecs-input-search"), c = g("ecs-button"), d = g("ecs-scroll-container");
|
|
9329
9340
|
return o(), l("div", {
|
|
9330
9341
|
class: h(["ecs-folder-selector", [t.framed ? "ecs-folder-selector-border" : ""]]),
|
|
9331
|
-
style:
|
|
9342
|
+
style: C({ height: i.isFullHeight })
|
|
9332
9343
|
}, [
|
|
9333
9344
|
t.searchable || t.create ? (o(), l("div", wg, [
|
|
9334
9345
|
t.searchable ? (o(), b(r, {
|
|
@@ -9544,7 +9555,7 @@ function Dg(e, s, t, a, n, i) {
|
|
|
9544
9555
|
i.showHighlight ? (o(), l("div", {
|
|
9545
9556
|
key: 0,
|
|
9546
9557
|
class: h(["ecs-highlight", [i.classes]]),
|
|
9547
|
-
style:
|
|
9558
|
+
style: C({ ...i.highlightColor, ...i.borderRadiusStyle, ...i.insetStyles })
|
|
9548
9559
|
}, [
|
|
9549
9560
|
t.layout === "wrap" ? p(e.$slots, "default", { key: 0 }, void 0, !0) : u("", !0)
|
|
9550
9561
|
], 6)) : u("", !0)
|
|
@@ -10323,7 +10334,7 @@ function Rm(e, s, t, a, n, i) {
|
|
|
10323
10334
|
return o(), l("div", {
|
|
10324
10335
|
class: "ecs-pane",
|
|
10325
10336
|
onClick: s[0] || (s[0] = (r) => i.onPaneClick(r, e._.uid)),
|
|
10326
|
-
style:
|
|
10337
|
+
style: C(e.style)
|
|
10327
10338
|
}, [
|
|
10328
10339
|
p(e.$slots, "default")
|
|
10329
10340
|
], 4);
|
|
@@ -10720,7 +10731,7 @@ function Um(e, s, t, a, n, i) {
|
|
|
10720
10731
|
e.$slots.sidebar ? (o(), l("div", {
|
|
10721
10732
|
key: 0,
|
|
10722
10733
|
class: h(["ecs-index-layout-sidebar", [t.overlaySidebar ? "overlay" : ""]]),
|
|
10723
|
-
style:
|
|
10734
|
+
style: C(i.sidebarPosition)
|
|
10724
10735
|
}, [
|
|
10725
10736
|
p(e.$slots, "sidebar", {}, void 0, !0)
|
|
10726
10737
|
], 6)) : u("", !0)
|
|
@@ -10930,9 +10941,6 @@ const u_ = /* @__PURE__ */ v(ep, [["render", lp], ["__scopeId", "data-v-860bdba9
|
|
|
10930
10941
|
}
|
|
10931
10942
|
},
|
|
10932
10943
|
computed: {
|
|
10933
|
-
validColor() {
|
|
10934
|
-
return CSS.supports("color", this.color) ? this.color : (console.warn("The passed color value is not a valid color."), this.color);
|
|
10935
|
-
},
|
|
10936
10944
|
percentageLabel() {
|
|
10937
10945
|
return Number.isInteger(this.percentage) ? this.percentage + "%" : this.percentage;
|
|
10938
10946
|
},
|
|
@@ -10963,7 +10971,7 @@ function gp(e, s, t, a, n, i) {
|
|
|
10963
10971
|
default: S(() => [
|
|
10964
10972
|
f("div", {
|
|
10965
10973
|
class: h(["ecs-legend-item-color", t.type]),
|
|
10966
|
-
style:
|
|
10974
|
+
style: C({ backgroundColor: t.color })
|
|
10967
10975
|
}, null, 6),
|
|
10968
10976
|
f("div", dp, w(t.label), 1),
|
|
10969
10977
|
t.count ? (o(), l("div", up, w(t.count), 1)) : u("", !0),
|
|
@@ -10971,14 +10979,14 @@ function gp(e, s, t, a, n, i) {
|
|
|
10971
10979
|
t.highlight || t.hover ? (o(), l("div", {
|
|
10972
10980
|
key: 2,
|
|
10973
10981
|
class: "ecs-legend-item-highlight",
|
|
10974
|
-
style:
|
|
10982
|
+
style: C({ backgroundColor: t.color })
|
|
10975
10983
|
}, null, 4)) : u("", !0),
|
|
10976
10984
|
t.hover ? (o(), b(r, { key: 3 })) : u("", !0)
|
|
10977
10985
|
]),
|
|
10978
10986
|
_: 1
|
|
10979
10987
|
}, 8, ["role", "tabindex", "class"]);
|
|
10980
10988
|
}
|
|
10981
|
-
const f_ = /* @__PURE__ */ v(cp, [["render", gp], ["__scopeId", "data-v-
|
|
10989
|
+
const f_ = /* @__PURE__ */ v(cp, [["render", gp], ["__scopeId", "data-v-6d506293"]]), mp = {
|
|
10982
10990
|
name: "ecs-log-message",
|
|
10983
10991
|
components: {
|
|
10984
10992
|
EcsFlexRow: Te,
|
|
@@ -11031,7 +11039,7 @@ function vp(e, s, t, a, n, i) {
|
|
|
11031
11039
|
role: i.alertRole,
|
|
11032
11040
|
"aria-busy": t.loading || null,
|
|
11033
11041
|
align: "start",
|
|
11034
|
-
style:
|
|
11042
|
+
style: C(i.padding)
|
|
11035
11043
|
}, {
|
|
11036
11044
|
default: S(() => [
|
|
11037
11045
|
t.loading && t.type != "blank" ? (o(), b(r, {
|
|
@@ -11167,7 +11175,7 @@ function Ip(e, s, t, a, n, i) {
|
|
|
11167
11175
|
}, [
|
|
11168
11176
|
f("div", {
|
|
11169
11177
|
class: "ecs-modal-dialog ecs-modal-sheet",
|
|
11170
|
-
style:
|
|
11178
|
+
style: C(i.fixedHeightStyle)
|
|
11171
11179
|
}, [
|
|
11172
11180
|
e.$slots.header ? (o(), l("div", xp, [
|
|
11173
11181
|
p(e.$slots, "header", {}, void 0, !0)
|
|
@@ -11778,11 +11786,11 @@ function vh(e, s, t, a, n, i) {
|
|
|
11778
11786
|
n.isShown ? (o(), l("div", {
|
|
11779
11787
|
key: 0,
|
|
11780
11788
|
class: "ecs-overlay",
|
|
11781
|
-
style:
|
|
11789
|
+
style: C({ top: t.offsetTop + "px", height: "calc(100vh - " + t.offsetTop + "px" })
|
|
11782
11790
|
}, [
|
|
11783
11791
|
f("header", {
|
|
11784
11792
|
class: "ecs-overlay-header",
|
|
11785
|
-
style:
|
|
11793
|
+
style: C(e.$slots.alert ? "" : "border-bottom: 1px solid var(--color-gray-4);")
|
|
11786
11794
|
}, [
|
|
11787
11795
|
f("div", sh, [
|
|
11788
11796
|
t.icon ? (o(), b(r, {
|
|
@@ -11850,7 +11858,7 @@ function vh(e, s, t, a, n, i) {
|
|
|
11850
11858
|
}, [
|
|
11851
11859
|
f("div", {
|
|
11852
11860
|
class: h(["ecs-overlay-content-inner-inner", e.$slots.sidebar && !t.fullWidth && n.width > 1500 ? "has-sidebar" : " "]),
|
|
11853
|
-
style:
|
|
11861
|
+
style: C({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
11854
11862
|
}, [
|
|
11855
11863
|
p(e.$slots, "default", {}, void 0, !0)
|
|
11856
11864
|
], 6),
|
|
@@ -11873,7 +11881,7 @@ function vh(e, s, t, a, n, i) {
|
|
|
11873
11881
|
f("div", mh, [
|
|
11874
11882
|
f("div", {
|
|
11875
11883
|
class: "ecs-overlay-footer-content-inner",
|
|
11876
|
-
style:
|
|
11884
|
+
style: C({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
11877
11885
|
}, [
|
|
11878
11886
|
p(e.$slots, "footer", {}, void 0, !0)
|
|
11879
11887
|
], 4),
|
|
@@ -11886,7 +11894,7 @@ function vh(e, s, t, a, n, i) {
|
|
|
11886
11894
|
_: 3
|
|
11887
11895
|
});
|
|
11888
11896
|
}
|
|
11889
|
-
const k_ = /* @__PURE__ */ v(th, [["render", vh], ["__scopeId", "data-v-
|
|
11897
|
+
const k_ = /* @__PURE__ */ v(th, [["render", vh], ["__scopeId", "data-v-9a66e087"]]), yh = {
|
|
11890
11898
|
name: "ecs-pagination",
|
|
11891
11899
|
emits: ["firstPage", "prevPage", "nextPage", "lastPage", "updatePage", "itemsPerPage"],
|
|
11892
11900
|
components: {
|
|
@@ -12008,7 +12016,7 @@ function Bh(e, s, t, a, n, i) {
|
|
|
12008
12016
|
_(c, {
|
|
12009
12017
|
gap: 8,
|
|
12010
12018
|
class: "ecs-pagination-nav",
|
|
12011
|
-
style:
|
|
12019
|
+
style: C({ minWidth: t.tabsSpacing - 4 + "px" })
|
|
12012
12020
|
}, {
|
|
12013
12021
|
default: S(() => [
|
|
12014
12022
|
t.type == "paginated" ? (o(), l(J, { key: 0 }, [
|
|
@@ -12225,13 +12233,13 @@ function Eh(e, s, t, a, n, i) {
|
|
|
12225
12233
|
const r = g("ecs-icon"), c = g("ecs-sticker");
|
|
12226
12234
|
return o(), l("div", {
|
|
12227
12235
|
class: h(["ecs-party-entry", [t.party, t.color && t.background ? "ecs-party-entry-colored" : ""]]),
|
|
12228
|
-
style:
|
|
12236
|
+
style: C({ color: t.color })
|
|
12229
12237
|
}, [
|
|
12230
12238
|
t.icon && t.iconPosition == "left" ? (o(), b(r, {
|
|
12231
12239
|
key: 0,
|
|
12232
12240
|
type: i.iconType,
|
|
12233
12241
|
color: i.iconColor,
|
|
12234
|
-
style:
|
|
12242
|
+
style: C("margin-right:" + t.iconSpacing),
|
|
12235
12243
|
size: t.iconSize
|
|
12236
12244
|
}, null, 8, ["type", "color", "style", "size"])) : u("", !0),
|
|
12237
12245
|
t.shared ? (o(), b(c, {
|
|
@@ -12245,7 +12253,7 @@ function Eh(e, s, t, a, n, i) {
|
|
|
12245
12253
|
key: 2,
|
|
12246
12254
|
type: i.iconType,
|
|
12247
12255
|
color: i.iconColor,
|
|
12248
|
-
style:
|
|
12256
|
+
style: C("margin-left:" + t.iconSpacing),
|
|
12249
12257
|
size: t.iconSize
|
|
12250
12258
|
}, null, 8, ["type", "color", "style", "size"])) : u("", !0),
|
|
12251
12259
|
t.background ? (o(), l("div", Ih)) : u("", !0)
|
|
@@ -13086,7 +13094,7 @@ function Gv(e, s, t, a, n, i) {
|
|
|
13086
13094
|
const r = g("ecs-tab-bar"), c = g("ecs-tabs");
|
|
13087
13095
|
return o(), l("aside", {
|
|
13088
13096
|
class: h(["ecs-sidebar", [i.sizeClass, i.expandClass]]),
|
|
13089
|
-
style:
|
|
13097
|
+
style: C(i.height)
|
|
13090
13098
|
}, [
|
|
13091
13099
|
f("div", Uv, [
|
|
13092
13100
|
_(r, { type: "sidebar" }, {
|
|
@@ -13317,7 +13325,7 @@ function fy(e, s, t, a, n, i) {
|
|
|
13317
13325
|
"aria-label": r.title,
|
|
13318
13326
|
"aria-checked": n.selectedColor == r.hex ? "true" : "false",
|
|
13319
13327
|
class: h(["ecs-swatches-color", n.selectedColor == r.hex ? "active" : ""]),
|
|
13320
|
-
style:
|
|
13328
|
+
style: C({ backgroundColor: r.hex, color: r.hex })
|
|
13321
13329
|
}, null, 46, uy))), 128))
|
|
13322
13330
|
], 2);
|
|
13323
13331
|
}
|
|
@@ -13532,9 +13540,6 @@ const F_ = /* @__PURE__ */ v(hy, [["render", ky], ["__scopeId", "data-v-dd796dff
|
|
|
13532
13540
|
return e.endsWith("/") && (e = e.slice(0, -1)), e = e.split("/"), e.length > 1 ? `.../${e[e.length - 1]}/` : `${e[0]}/`;
|
|
13533
13541
|
}
|
|
13534
13542
|
},
|
|
13535
|
-
convertedColor() {
|
|
13536
|
-
return this.color && this.color !== "" ? x(this.color).toRgbString() : null;
|
|
13537
|
-
},
|
|
13538
13543
|
colorIsDark() {
|
|
13539
13544
|
return this.color && this.color !== "" ? x(this.color).isDark() : null;
|
|
13540
13545
|
},
|
|
@@ -13568,7 +13573,7 @@ function By(e, s, t, a, n, i) {
|
|
|
13568
13573
|
t.loading ? "loading" : ""
|
|
13569
13574
|
]]),
|
|
13570
13575
|
onClick: s[0] || (s[0] = (...d) => i.handleClick && i.handleClick(...d)),
|
|
13571
|
-
style:
|
|
13576
|
+
style: C(i.customColorStyle),
|
|
13572
13577
|
role: t.hover ? "button" : !1,
|
|
13573
13578
|
tabindex: t.hover ? "0" : "-1",
|
|
13574
13579
|
"aria-busy": t.loading || null
|
|
@@ -13589,7 +13594,7 @@ function By(e, s, t, a, n, i) {
|
|
|
13589
13594
|
_(c)
|
|
13590
13595
|
], 14, Sy);
|
|
13591
13596
|
}
|
|
13592
|
-
const V_ = /* @__PURE__ */ v(wy, [["render", By], ["__scopeId", "data-v-
|
|
13597
|
+
const V_ = /* @__PURE__ */ v(wy, [["render", By], ["__scopeId", "data-v-40abc85f"]]), zy = {
|
|
13593
13598
|
name: "ecs-tag-cloud"
|
|
13594
13599
|
}, Iy = {
|
|
13595
13600
|
class: "ecs-tag-cloud",
|