@everchron/ec-shards 9.2.3 → 9.3.0
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 +249 -241
- package/dist/ec-shards.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as ee, watch as ce, openBlock as o, createBlock as h, resolveDynamicComponent as Ee, unref as ae, normalizeClass as y, createElementBlock as l, normalizeStyle as
|
|
1
|
+
import { defineAsyncComponent as ee, watch as ce, openBlock as o, createBlock as h, resolveDynamicComponent as Ee, unref as ae, normalizeClass as y, createElementBlock as l, normalizeStyle as x, resolveComponent as g, createVNode as _, createCommentVNode as u, createElementVNode as f, createTextVNode as D, toDisplayString as w, renderSlot as p, Transition as pe, withCtx as S, computed as ke, reactive as Qs, nextTick as ei, onBeforeUnmount as Pt, toRefs as _s, isRef as ti, onMounted as ks, 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 be, popScopeId as _e, Fragment as X, renderList as he, resolveDirective as oi, vModelText as ri, markRaw as li, h as ci, TransitionGroup as di } from "vue";
|
|
2
2
|
const te = (e, s) => {
|
|
3
3
|
const t = e[s];
|
|
4
4
|
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((a, n) => {
|
|
@@ -84,7 +84,7 @@ const te = (e, s) => {
|
|
|
84
84
|
function gi(e, s, t, a, n, i) {
|
|
85
85
|
return o(), l("span", {
|
|
86
86
|
class: y(["ecs-focus-ring", t.danger ? "ecs-focus-ring-danger" : ""]),
|
|
87
|
-
style:
|
|
87
|
+
style: x(i.styles)
|
|
88
88
|
}, null, 6);
|
|
89
89
|
}
|
|
90
90
|
const L = /* @__PURE__ */ v(fi, [["render", gi], ["__scopeId", "data-v-8d624905"]]), mi = {
|
|
@@ -176,7 +176,7 @@ function bi(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: x(i.borderStyles),
|
|
180
180
|
role: "alert"
|
|
181
181
|
}, [
|
|
182
182
|
t.dismissable ? (o(), l("button", {
|
|
@@ -235,7 +235,7 @@ function wi(e, s, t, a, n, i) {
|
|
|
235
235
|
_: 3
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
|
-
const Si = /* @__PURE__ */ v(_i, [["render", wi], ["__scopeId", "data-v-ed37c526"]]),
|
|
238
|
+
const Si = /* @__PURE__ */ v(_i, [["render", wi], ["__scopeId", "data-v-ed37c526"]]), Ci = {
|
|
239
239
|
name: "ecs-audio",
|
|
240
240
|
props: {
|
|
241
241
|
/** If true, the player will autoplay once it shows up in the DOM. */
|
|
@@ -264,7 +264,7 @@ const Si = /* @__PURE__ */ v(_i, [["render", wi], ["__scopeId", "data-v-ed37c526
|
|
|
264
264
|
default: null
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
},
|
|
267
|
+
}, xi = ["controls", "autoplay", "loop"], Bi = ["src"], zi = ["src"];
|
|
268
268
|
function Ii(e, s, t, a, n, i) {
|
|
269
269
|
return o(), l("audio", {
|
|
270
270
|
class: "ecs-audio",
|
|
@@ -282,9 +282,9 @@ function Ii(e, s, t, a, n, i) {
|
|
|
282
282
|
src: t.oggSource,
|
|
283
283
|
type: "audio/ogg"
|
|
284
284
|
}, null, 8, zi)) : u("", !0)
|
|
285
|
-
], 8,
|
|
285
|
+
], 8, xi);
|
|
286
286
|
}
|
|
287
|
-
const Bb = /* @__PURE__ */ v(
|
|
287
|
+
const Bb = /* @__PURE__ */ v(Ci, [["render", Ii], ["__scopeId", "data-v-4e7ca115"]]), Ei = {
|
|
288
288
|
__name: "sticker",
|
|
289
289
|
props: {
|
|
290
290
|
/** Sets the sticker icon. */
|
|
@@ -335,7 +335,7 @@ const Bb = /* @__PURE__ */ v(xi, [["render", Ii], ["__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: x(`color: ${n.value}`)
|
|
339
339
|
}, null, 8, ["class", "aria-busy", "width", "height", "style"])) : u("", !0);
|
|
340
340
|
}
|
|
341
341
|
}, Fe = /* @__PURE__ */ v(Ei, [["__scopeId", "data-v-add9195d"]]), $i = {
|
|
@@ -457,7 +457,7 @@ function Mi(e, s, t, a, n, i) {
|
|
|
457
457
|
const r = g("ecs-sticker");
|
|
458
458
|
return o(), l("div", {
|
|
459
459
|
class: y(["avatar", i.partyClass]),
|
|
460
|
-
style:
|
|
460
|
+
style: x([i.style, t.customStyle]),
|
|
461
461
|
role: t.image ? "img" : "none",
|
|
462
462
|
"aria-label": t.name
|
|
463
463
|
}, [
|
|
@@ -547,7 +547,7 @@ function Ai(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: x(i.dismissButtonStyle),
|
|
551
551
|
class: "close",
|
|
552
552
|
"aria-label": "Dismiss"
|
|
553
553
|
}, [
|
|
@@ -702,7 +702,7 @@ const $b = /* @__PURE__ */ v(Hi, [["render", Wi], ["__scopeId", "data-v-422cc046
|
|
|
702
702
|
function Ui(e, s, t, a, n, i) {
|
|
703
703
|
return o(), l("div", {
|
|
704
704
|
class: y(["ecs-flex-row", [i.directionClass, i.justifyClass, i.alignClass, t.wrap ? "ecs-flex-row-wrap" : ""]]),
|
|
705
|
-
style:
|
|
705
|
+
style: x(i.gapStyle)
|
|
706
706
|
}, [
|
|
707
707
|
p(e.$slots, "default", {}, void 0, !0)
|
|
708
708
|
], 6);
|
|
@@ -762,14 +762,14 @@ function It() {
|
|
|
762
762
|
return s.brand + "/" + s.version;
|
|
763
763
|
}).join(" ") : navigator.userAgent;
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function Cs() {
|
|
766
766
|
return !/^((?!chrome|android).)*safari/i.test(It());
|
|
767
767
|
}
|
|
768
768
|
function We(e, s, t) {
|
|
769
769
|
s === void 0 && (s = !1), t === void 0 && (t = !1);
|
|
770
770
|
var a = e.getBoundingClientRect(), n = 1, i = 1;
|
|
771
771
|
s && de(e) && (n = e.offsetWidth > 0 && qe(a.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && qe(a.height) / e.offsetHeight || 1);
|
|
772
|
-
var r = Re(e) ? le(e) : window, c = r.visualViewport, d = !
|
|
772
|
+
var r = Re(e) ? le(e) : window, c = r.visualViewport, d = !Cs() && t, m = (a.left + (d && c ? c.offsetLeft : 0)) / n, b = (a.top + (d && c ? c.offsetTop : 0)) / i, k = a.width / n, z = a.height / i;
|
|
773
773
|
return {
|
|
774
774
|
width: k,
|
|
775
775
|
height: z,
|
|
@@ -858,13 +858,13 @@ function mt(e) {
|
|
|
858
858
|
Me(e)
|
|
859
859
|
);
|
|
860
860
|
}
|
|
861
|
-
function
|
|
862
|
-
return ["html", "body", "#document"].indexOf(Se(e)) >= 0 ? e.ownerDocument.body : de(e) && Ot(e) ? e :
|
|
861
|
+
function xs(e) {
|
|
862
|
+
return ["html", "body", "#document"].indexOf(Se(e)) >= 0 ? e.ownerDocument.body : de(e) && Ot(e) ? e : xs(mt(e));
|
|
863
863
|
}
|
|
864
864
|
function Qe(e, s) {
|
|
865
865
|
var t;
|
|
866
866
|
s === void 0 && (s = []);
|
|
867
|
-
var a =
|
|
867
|
+
var a = xs(e), n = a === ((t = e.ownerDocument) == null ? void 0 : t.body), i = le(a), r = n ? [i].concat(i.visualViewport || [], Ot(a) ? a : []) : a, c = s.concat(r);
|
|
868
868
|
return n ? c : (
|
|
869
869
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
870
870
|
c.concat(Qe(mt(r)))
|
|
@@ -956,7 +956,7 @@ function hn(e, s) {
|
|
|
956
956
|
var t = le(e), a = Me(e), n = t.visualViewport, i = a.clientWidth, r = a.clientHeight, c = 0, d = 0;
|
|
957
957
|
if (n) {
|
|
958
958
|
i = n.width, r = n.height;
|
|
959
|
-
var m =
|
|
959
|
+
var m = Cs();
|
|
960
960
|
(m || !m && s === "fixed") && (c = n.offsetLeft, d = n.offsetTop);
|
|
961
961
|
}
|
|
962
962
|
return {
|
|
@@ -1105,8 +1105,8 @@ function Rt(e, s) {
|
|
|
1105
1105
|
if (z === Xe && j) {
|
|
1106
1106
|
var Z = j[n];
|
|
1107
1107
|
Object.keys(W).forEach(function(K) {
|
|
1108
|
-
var
|
|
1109
|
-
W[K] += Z[Be] *
|
|
1108
|
+
var xe = [ye, ve].indexOf(K) >= 0 ? 1 : -1, Be = [oe, ve].indexOf(K) >= 0 ? "y" : "x";
|
|
1109
|
+
W[K] += Z[Be] * xe;
|
|
1110
1110
|
});
|
|
1111
1111
|
}
|
|
1112
1112
|
return W;
|
|
@@ -1244,7 +1244,7 @@ const Sn = {
|
|
|
1244
1244
|
effect: wn,
|
|
1245
1245
|
data: {}
|
|
1246
1246
|
};
|
|
1247
|
-
function
|
|
1247
|
+
function Cn(e) {
|
|
1248
1248
|
var s = e.state, t = e.name;
|
|
1249
1249
|
s.modifiersData[t] = Es({
|
|
1250
1250
|
reference: s.rects.reference,
|
|
@@ -1253,11 +1253,11 @@ function xn(e) {
|
|
|
1253
1253
|
placement: s.placement
|
|
1254
1254
|
});
|
|
1255
1255
|
}
|
|
1256
|
-
const
|
|
1256
|
+
const xn = {
|
|
1257
1257
|
name: "popperOffsets",
|
|
1258
1258
|
enabled: !0,
|
|
1259
1259
|
phase: "read",
|
|
1260
|
-
fn:
|
|
1260
|
+
fn: Cn,
|
|
1261
1261
|
data: {}
|
|
1262
1262
|
};
|
|
1263
1263
|
var Bn = {
|
|
@@ -1389,7 +1389,7 @@ const Tn = {
|
|
|
1389
1389
|
effect: Pn,
|
|
1390
1390
|
requires: ["computeStyles"]
|
|
1391
1391
|
};
|
|
1392
|
-
var Mn = [Sn,
|
|
1392
|
+
var Mn = [Sn, xn, En, Tn], Ln = /* @__PURE__ */ kn({
|
|
1393
1393
|
defaultModifiers: Mn
|
|
1394
1394
|
});
|
|
1395
1395
|
function On(e) {
|
|
@@ -1422,10 +1422,10 @@ function Nn(e) {
|
|
|
1422
1422
|
};
|
|
1423
1423
|
if (E) {
|
|
1424
1424
|
if (i) {
|
|
1425
|
-
var K,
|
|
1425
|
+
var K, xe = P === "y" ? oe : re, Be = P === "y" ? ve : ye, Y = P === "y" ? "height" : "width", Q = E[P], $e = Q + T[xe], ie = Q - T[Be], Ve = I ? -F[Y] / 2 : 0, J = R === je ? N[Y] : F[Y], se = R === je ? -F[Y] : -N[Y], Le = s.elements.arrow, He = I && Le ? At(Le) : {
|
|
1426
1426
|
width: 0,
|
|
1427
1427
|
height: 0
|
|
1428
|
-
}, Pe = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : $s(), Ke = Pe[
|
|
1428
|
+
}, Pe = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : $s(), Ke = Pe[xe], at = Pe[Be], Oe = et(0, N[Y], He[Y]), yt = H ? N[Y] / 2 - Ve - Oe - Ke - W.mainAxis : J - Oe - Ke - W.mainAxis, Gs = H ? -N[Y] / 2 + Ve + Oe + at + W.mainAxis : se + Oe + at + W.mainAxis, bt = s.elements.arrow && st(s.elements.arrow), Ks = bt ? P === "y" ? bt.clientTop || 0 : bt.clientLeft || 0 : 0, Ut = (K = j == null ? void 0 : j[P]) != null ? K : 0, Ys = Q + yt - Ut - Ks, Xs = Q + Gs - Ut, Gt = et(I ? ut($e, Ys) : $e, Q, I ? Ne(ie, Xs) : ie);
|
|
1429
1429
|
E[P] = Gt, Z[P] = Gt - Q;
|
|
1430
1430
|
}
|
|
1431
1431
|
if (c) {
|
|
@@ -1501,13 +1501,13 @@ function qn(e) {
|
|
|
1501
1501
|
allowedAutoPlacements: $
|
|
1502
1502
|
}) : Pe);
|
|
1503
1503
|
}, []), A = s.rects.reference, E = s.rects.popper, N = /* @__PURE__ */ new Map(), F = !0, V = P[0], W = 0; W < P.length; W++) {
|
|
1504
|
-
var j = P[W], Z = we(j), K = Ue(j) === je,
|
|
1504
|
+
var j = P[W], Z = we(j), K = Ue(j) === je, xe = [oe, ve].indexOf(Z) >= 0, Be = xe ? "width" : "height", Y = Rt(s, {
|
|
1505
1505
|
placement: j,
|
|
1506
1506
|
boundary: b,
|
|
1507
1507
|
rootBoundary: k,
|
|
1508
1508
|
altBoundary: z,
|
|
1509
1509
|
padding: m
|
|
1510
|
-
}), Q =
|
|
1510
|
+
}), Q = xe ? K ? ye : re : K ? ve : oe;
|
|
1511
1511
|
A[Be] > E[Be] && (Q = dt(Q));
|
|
1512
1512
|
var $e = dt(Q), ie = [];
|
|
1513
1513
|
if (i && ie.push(Y[Z] <= 0), c && ie.push(Y[Q] <= 0, Y[$e] <= 0), ie.every(function(He) {
|
|
@@ -1856,7 +1856,7 @@ const na = /* @__PURE__ */ v(ta, [["render", ia], ["__scopeId", "data-v-baf3bb28
|
|
|
1856
1856
|
placement: N,
|
|
1857
1857
|
popperNode: d,
|
|
1858
1858
|
triggerNode: m
|
|
1859
|
-
}), Z = ke(() => F.value !== null), K = ke(() => O.value || !k.value),
|
|
1859
|
+
}), Z = ke(() => F.value !== null), K = ke(() => O.value || !k.value), xe = ke(() => V.value && !K.value), Be = ke(
|
|
1860
1860
|
() => !T.value && !Z.value
|
|
1861
1861
|
);
|
|
1862
1862
|
ke(
|
|
@@ -1922,7 +1922,7 @@ const na = /* @__PURE__ */ v(ta, [["render", ia], ["__scopeId", "data-v-baf3bb28
|
|
|
1922
1922
|
], !0),
|
|
1923
1923
|
e.arrow ? (o(), h(na, { key: 0 })) : u("", !0)
|
|
1924
1924
|
], 512)), [
|
|
1925
|
-
[gt,
|
|
1925
|
+
[gt, xe.value]
|
|
1926
1926
|
]) : u("", !0)
|
|
1927
1927
|
]),
|
|
1928
1928
|
_: 3
|
|
@@ -2112,7 +2112,7 @@ const Ft = /* @__PURE__ */ v(ga, [["render", ma]]), pa = {
|
|
|
2112
2112
|
function ha(e, s, t, a, n, i) {
|
|
2113
2113
|
return o(), h(Ee(i.textTag), {
|
|
2114
2114
|
class: y([[i.textClass, t.emphasized ? "emphasized" : ""], "ecs-text"]),
|
|
2115
|
-
style:
|
|
2115
|
+
style: x({ color: i.textColor })
|
|
2116
2116
|
}, {
|
|
2117
2117
|
default: S(() => [
|
|
2118
2118
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -2349,7 +2349,7 @@ const Vt = /* @__PURE__ */ v(va, [["render", _a], ["__scopeId", "data-v-e15ff286
|
|
|
2349
2349
|
}
|
|
2350
2350
|
}
|
|
2351
2351
|
}, wa = ["id", "name", "value", "required", "disabled", "checked"], Sa = ["for"];
|
|
2352
|
-
function
|
|
2352
|
+
function Ca(e, s, t, a, n, i) {
|
|
2353
2353
|
const r = g("ecs-text"), c = g("ecs-form-check");
|
|
2354
2354
|
return o(), h(c, {
|
|
2355
2355
|
class: y([
|
|
@@ -2390,7 +2390,7 @@ function xa(e, s, t, a, n, i) {
|
|
|
2390
2390
|
_: 3
|
|
2391
2391
|
}, 8, ["class"]);
|
|
2392
2392
|
}
|
|
2393
|
-
const
|
|
2393
|
+
const xa = /* @__PURE__ */ v(ka, [["render", Ca], ["__scopeId", "data-v-0296b689"]]), Ba = {
|
|
2394
2394
|
name: "ecs-switch",
|
|
2395
2395
|
emits: ["input"],
|
|
2396
2396
|
components: { EcsFocusRing: L },
|
|
@@ -2793,10 +2793,10 @@ function ja(e, s, t, a, n, i) {
|
|
|
2793
2793
|
}, null, 8, ["inset", "danger"])
|
|
2794
2794
|
], 42, qa));
|
|
2795
2795
|
}
|
|
2796
|
-
const
|
|
2796
|
+
const Ce = /* @__PURE__ */ v(Fa, [["render", ja], ["__scopeId", "data-v-13959c49"]]), Ua = {
|
|
2797
2797
|
name: "ecs-popover-list-item",
|
|
2798
2798
|
emits: ["click", "input", "change", "secondaryClick"],
|
|
2799
|
-
components: { EcsCheckbox: Vt, EcsRadiobutton:
|
|
2799
|
+
components: { EcsCheckbox: Vt, EcsRadiobutton: xa, EcsSwitch: Ls, EcsSortbutton: Ra, EcsIcon: M, EcsFileIcon: Os, EcsButton: Ce, EcsFocusRing: L },
|
|
2800
2800
|
props: {
|
|
2801
2801
|
/** Determines the type of popover list item.*/
|
|
2802
2802
|
type: {
|
|
@@ -3308,7 +3308,7 @@ function ho(e, s, t, a, n, i) {
|
|
|
3308
3308
|
t.badge ? (o(), l("span", {
|
|
3309
3309
|
key: 1,
|
|
3310
3310
|
class: "badge",
|
|
3311
|
-
style:
|
|
3311
|
+
style: x({ background: t.badgeColor })
|
|
3312
3312
|
}, null, 4)) : u("", !0),
|
|
3313
3313
|
t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), h(r, {
|
|
3314
3314
|
key: 2,
|
|
@@ -3344,7 +3344,7 @@ function ho(e, s, t, a, n, i) {
|
|
|
3344
3344
|
t.badge ? (o(), l("span", {
|
|
3345
3345
|
key: 1,
|
|
3346
3346
|
class: "badge",
|
|
3347
|
-
style:
|
|
3347
|
+
style: x({ background: t.badgeColor })
|
|
3348
3348
|
}, null, 4)) : u("", !0),
|
|
3349
3349
|
t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), h(r, {
|
|
3350
3350
|
key: 2,
|
|
@@ -3405,7 +3405,7 @@ const pt = /* @__PURE__ */ v(go, [["render", ho], ["__scopeId", "data-v-72592c75
|
|
|
3405
3405
|
function yo(e, s, t, a, n, i) {
|
|
3406
3406
|
return o(), l("div", {
|
|
3407
3407
|
class: y(["ecs-separator", i.classes]),
|
|
3408
|
-
style:
|
|
3408
|
+
style: x({ margin: i.marginStyles, width: t.width, height: t.height }),
|
|
3409
3409
|
role: "separator"
|
|
3410
3410
|
}, null, 6);
|
|
3411
3411
|
}
|
|
@@ -3563,13 +3563,13 @@ function wo(e, s, t, a, n, i) {
|
|
|
3563
3563
|
}
|
|
3564
3564
|
const Pb = /* @__PURE__ */ v(_o, [["render", wo], ["__scopeId", "data-v-04aed8bb"]]), So = {
|
|
3565
3565
|
name: "ecs-button-group"
|
|
3566
|
-
},
|
|
3567
|
-
function
|
|
3568
|
-
return o(), l("div",
|
|
3566
|
+
}, Co = { class: "ecs-button-group" };
|
|
3567
|
+
function xo(e, s, t, a, n, i) {
|
|
3568
|
+
return o(), l("div", Co, [
|
|
3569
3569
|
p(e.$slots, "default", {}, void 0, !0)
|
|
3570
3570
|
]);
|
|
3571
3571
|
}
|
|
3572
|
-
const Tb = /* @__PURE__ */ v(So, [["render",
|
|
3572
|
+
const Tb = /* @__PURE__ */ v(So, [["render", xo], ["__scopeId", "data-v-83c21366"]]), Bo = {
|
|
3573
3573
|
name: "ecs-button-collapse",
|
|
3574
3574
|
emits: ["click"],
|
|
3575
3575
|
components: {
|
|
@@ -3631,15 +3631,15 @@ function ft(e) {
|
|
|
3631
3631
|
}, ft(e);
|
|
3632
3632
|
}
|
|
3633
3633
|
var Eo = /^\s+/, $o = /\s+$/;
|
|
3634
|
-
function
|
|
3635
|
-
if (e = e || "", s = s || {}, e instanceof
|
|
3634
|
+
function C(e, s) {
|
|
3635
|
+
if (e = e || "", s = s || {}, e instanceof C)
|
|
3636
3636
|
return e;
|
|
3637
|
-
if (!(this instanceof
|
|
3638
|
-
return new
|
|
3637
|
+
if (!(this instanceof C))
|
|
3638
|
+
return new C(e, s);
|
|
3639
3639
|
var t = Po(e);
|
|
3640
3640
|
this._originalInput = e, this._r = t.r, this._g = t.g, this._b = t.b, this._a = t.a, this._roundA = Math.round(100 * this._a) / 100, this._format = s.format || t.format, this._gradientType = s.gradientType, this._r < 1 && (this._r = Math.round(this._r)), this._g < 1 && (this._g = Math.round(this._g)), this._b < 1 && (this._b = Math.round(this._b)), this._ok = t.ok;
|
|
3641
3641
|
}
|
|
3642
|
-
|
|
3642
|
+
C.prototype = {
|
|
3643
3643
|
isDark: function() {
|
|
3644
3644
|
return this.getBrightness() < 128;
|
|
3645
3645
|
},
|
|
@@ -3735,7 +3735,7 @@ x.prototype = {
|
|
|
3735
3735
|
toFilter: function(s) {
|
|
3736
3736
|
var t = "#" + us(this._r, this._g, this._b, this._a), a = t, n = this._gradientType ? "GradientType = 1, " : "";
|
|
3737
3737
|
if (s) {
|
|
3738
|
-
var i =
|
|
3738
|
+
var i = C(s);
|
|
3739
3739
|
a = "#" + us(i._r, i._g, i._b, i._a);
|
|
3740
3740
|
}
|
|
3741
3741
|
return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + t + ",endColorstr=" + a + ")";
|
|
@@ -3747,7 +3747,7 @@ x.prototype = {
|
|
|
3747
3747
|
return i ? s === "name" && this._a === 0 ? this.toName() : this.toRgbString() : (s === "rgb" && (a = this.toRgbString()), s === "prgb" && (a = this.toPercentageRgbString()), (s === "hex" || s === "hex6") && (a = this.toHexString()), s === "hex3" && (a = this.toHexString(!0)), s === "hex4" && (a = this.toHex8String(!0)), s === "hex8" && (a = this.toHex8String()), s === "name" && (a = this.toName()), s === "hsl" && (a = this.toHslString()), s === "hsv" && (a = this.toHsvString()), a || this.toHexString());
|
|
3748
3748
|
},
|
|
3749
3749
|
clone: function() {
|
|
3750
|
-
return
|
|
3750
|
+
return C(this.toString());
|
|
3751
3751
|
},
|
|
3752
3752
|
_applyModification: function(s, t) {
|
|
3753
3753
|
var a = s.apply(null, [this].concat([].slice.call(t)));
|
|
@@ -3800,14 +3800,14 @@ x.prototype = {
|
|
|
3800
3800
|
return this._applyCombination(fs, [4]);
|
|
3801
3801
|
}
|
|
3802
3802
|
};
|
|
3803
|
-
|
|
3803
|
+
C.fromRatio = function(e, s) {
|
|
3804
3804
|
if (ft(e) == "object") {
|
|
3805
3805
|
var t = {};
|
|
3806
3806
|
for (var a in e)
|
|
3807
3807
|
e.hasOwnProperty(a) && (a === "a" ? t[a] = e[a] : t[a] = Je(e[a]));
|
|
3808
3808
|
e = t;
|
|
3809
3809
|
}
|
|
3810
|
-
return
|
|
3810
|
+
return C(e, s);
|
|
3811
3811
|
};
|
|
3812
3812
|
function Po(e) {
|
|
3813
3813
|
var s = {
|
|
@@ -3921,11 +3921,11 @@ function us(e, s, t, a) {
|
|
|
3921
3921
|
var n = [me(Ns(a)), me(Math.round(e).toString(16)), me(Math.round(s).toString(16)), me(Math.round(t).toString(16))];
|
|
3922
3922
|
return n.join("");
|
|
3923
3923
|
}
|
|
3924
|
-
|
|
3925
|
-
return !e || !s ? !1 :
|
|
3924
|
+
C.equals = function(e, s) {
|
|
3925
|
+
return !e || !s ? !1 : C(e).toRgbString() == C(s).toRgbString();
|
|
3926
3926
|
};
|
|
3927
|
-
|
|
3928
|
-
return
|
|
3927
|
+
C.random = function() {
|
|
3928
|
+
return C.fromRatio({
|
|
3929
3929
|
r: Math.random(),
|
|
3930
3930
|
g: Math.random(),
|
|
3931
3931
|
b: Math.random()
|
|
@@ -3933,45 +3933,45 @@ x.random = function() {
|
|
|
3933
3933
|
};
|
|
3934
3934
|
function Ao(e, s) {
|
|
3935
3935
|
s = s === 0 ? 0 : s || 10;
|
|
3936
|
-
var t =
|
|
3937
|
-
return t.s -= s / 100, t.s = ht(t.s),
|
|
3936
|
+
var t = C(e).toHsl();
|
|
3937
|
+
return t.s -= s / 100, t.s = ht(t.s), C(t);
|
|
3938
3938
|
}
|
|
3939
3939
|
function No(e, s) {
|
|
3940
3940
|
s = s === 0 ? 0 : s || 10;
|
|
3941
|
-
var t =
|
|
3942
|
-
return t.s += s / 100, t.s = ht(t.s),
|
|
3941
|
+
var t = C(e).toHsl();
|
|
3942
|
+
return t.s += s / 100, t.s = ht(t.s), C(t);
|
|
3943
3943
|
}
|
|
3944
3944
|
function Do(e) {
|
|
3945
|
-
return
|
|
3945
|
+
return C(e).desaturate(100);
|
|
3946
3946
|
}
|
|
3947
3947
|
function Ro(e, s) {
|
|
3948
3948
|
s = s === 0 ? 0 : s || 10;
|
|
3949
|
-
var t =
|
|
3950
|
-
return t.l += s / 100, t.l = ht(t.l),
|
|
3949
|
+
var t = C(e).toHsl();
|
|
3950
|
+
return t.l += s / 100, t.l = ht(t.l), C(t);
|
|
3951
3951
|
}
|
|
3952
3952
|
function Fo(e, s) {
|
|
3953
3953
|
s = s === 0 ? 0 : s || 10;
|
|
3954
|
-
var t =
|
|
3955
|
-
return t.r = Math.max(0, Math.min(255, t.r - Math.round(255 * -(s / 100)))), t.g = Math.max(0, Math.min(255, t.g - Math.round(255 * -(s / 100)))), t.b = Math.max(0, Math.min(255, t.b - Math.round(255 * -(s / 100)))),
|
|
3954
|
+
var t = C(e).toRgb();
|
|
3955
|
+
return t.r = Math.max(0, Math.min(255, t.r - Math.round(255 * -(s / 100)))), t.g = Math.max(0, Math.min(255, t.g - Math.round(255 * -(s / 100)))), t.b = Math.max(0, Math.min(255, t.b - Math.round(255 * -(s / 100)))), C(t);
|
|
3956
3956
|
}
|
|
3957
3957
|
function Vo(e, s) {
|
|
3958
3958
|
s = s === 0 ? 0 : s || 10;
|
|
3959
|
-
var t =
|
|
3960
|
-
return t.l -= s / 100, t.l = ht(t.l),
|
|
3959
|
+
var t = C(e).toHsl();
|
|
3960
|
+
return t.l -= s / 100, t.l = ht(t.l), C(t);
|
|
3961
3961
|
}
|
|
3962
3962
|
function Ho(e, s) {
|
|
3963
|
-
var t =
|
|
3964
|
-
return t.h = a < 0 ? 360 + a : a,
|
|
3963
|
+
var t = C(e).toHsl(), a = (t.h + s) % 360;
|
|
3964
|
+
return t.h = a < 0 ? 360 + a : a, C(t);
|
|
3965
3965
|
}
|
|
3966
3966
|
function qo(e) {
|
|
3967
|
-
var s =
|
|
3968
|
-
return s.h = (s.h + 180) % 360,
|
|
3967
|
+
var s = C(e).toHsl();
|
|
3968
|
+
return s.h = (s.h + 180) % 360, C(s);
|
|
3969
3969
|
}
|
|
3970
3970
|
function fs(e, s) {
|
|
3971
3971
|
if (isNaN(s) || s <= 0)
|
|
3972
3972
|
throw new Error("Argument to polyad must be a positive number");
|
|
3973
|
-
for (var t =
|
|
3974
|
-
a.push(
|
|
3973
|
+
for (var t = C(e).toHsl(), a = [C(e)], n = 360 / s, i = 1; i < s; i++)
|
|
3974
|
+
a.push(C({
|
|
3975
3975
|
h: (t.h + i * n) % 360,
|
|
3976
3976
|
s: t.s,
|
|
3977
3977
|
l: t.l
|
|
@@ -3979,12 +3979,12 @@ function fs(e, s) {
|
|
|
3979
3979
|
return a;
|
|
3980
3980
|
}
|
|
3981
3981
|
function Wo(e) {
|
|
3982
|
-
var s =
|
|
3983
|
-
return [
|
|
3982
|
+
var s = C(e).toHsl(), t = s.h;
|
|
3983
|
+
return [C(e), C({
|
|
3984
3984
|
h: (t + 72) % 360,
|
|
3985
3985
|
s: s.s,
|
|
3986
3986
|
l: s.l
|
|
3987
|
-
}),
|
|
3987
|
+
}), C({
|
|
3988
3988
|
h: (t + 216) % 360,
|
|
3989
3989
|
s: s.s,
|
|
3990
3990
|
l: s.l
|
|
@@ -3992,37 +3992,37 @@ function Wo(e) {
|
|
|
3992
3992
|
}
|
|
3993
3993
|
function jo(e, s, t) {
|
|
3994
3994
|
s = s || 6, t = t || 30;
|
|
3995
|
-
var a =
|
|
3995
|
+
var a = C(e).toHsl(), n = 360 / t, i = [C(e)];
|
|
3996
3996
|
for (a.h = (a.h - (n * s >> 1) + 720) % 360; --s; )
|
|
3997
|
-
a.h = (a.h + n) % 360, i.push(
|
|
3997
|
+
a.h = (a.h + n) % 360, i.push(C(a));
|
|
3998
3998
|
return i;
|
|
3999
3999
|
}
|
|
4000
4000
|
function Uo(e, s) {
|
|
4001
4001
|
s = s || 6;
|
|
4002
|
-
for (var t =
|
|
4003
|
-
r.push(
|
|
4002
|
+
for (var t = C(e).toHsv(), a = t.h, n = t.s, i = t.v, r = [], c = 1 / s; s--; )
|
|
4003
|
+
r.push(C({
|
|
4004
4004
|
h: a,
|
|
4005
4005
|
s: n,
|
|
4006
4006
|
v: i
|
|
4007
4007
|
})), i = (i + c) % 1;
|
|
4008
4008
|
return r;
|
|
4009
4009
|
}
|
|
4010
|
-
|
|
4010
|
+
C.mix = function(e, s, t) {
|
|
4011
4011
|
t = t === 0 ? 0 : t || 50;
|
|
4012
|
-
var a =
|
|
4012
|
+
var a = C(e).toRgb(), n = C(s).toRgb(), i = t / 100, r = {
|
|
4013
4013
|
r: (n.r - a.r) * i + a.r,
|
|
4014
4014
|
g: (n.g - a.g) * i + a.g,
|
|
4015
4015
|
b: (n.b - a.b) * i + a.b,
|
|
4016
4016
|
a: (n.a - a.a) * i + a.a
|
|
4017
4017
|
};
|
|
4018
|
-
return
|
|
4018
|
+
return C(r);
|
|
4019
4019
|
};
|
|
4020
|
-
|
|
4021
|
-
var t =
|
|
4020
|
+
C.readability = function(e, s) {
|
|
4021
|
+
var t = C(e), a = C(s);
|
|
4022
4022
|
return (Math.max(t.getLuminance(), a.getLuminance()) + 0.05) / (Math.min(t.getLuminance(), a.getLuminance()) + 0.05);
|
|
4023
4023
|
};
|
|
4024
|
-
|
|
4025
|
-
var a =
|
|
4024
|
+
C.isReadable = function(e, s, t) {
|
|
4025
|
+
var a = C.readability(e, s), n, i;
|
|
4026
4026
|
switch (i = !1, n = Jo(t), n.level + n.size) {
|
|
4027
4027
|
case "AAsmall":
|
|
4028
4028
|
case "AAAlarge":
|
|
@@ -4037,17 +4037,17 @@ x.isReadable = function(e, s, t) {
|
|
|
4037
4037
|
}
|
|
4038
4038
|
return i;
|
|
4039
4039
|
};
|
|
4040
|
-
|
|
4040
|
+
C.mostReadable = function(e, s, t) {
|
|
4041
4041
|
var a = null, n = 0, i, r, c, d;
|
|
4042
4042
|
t = t || {}, r = t.includeFallbackColors, c = t.level, d = t.size;
|
|
4043
4043
|
for (var m = 0; m < s.length; m++)
|
|
4044
|
-
i =
|
|
4045
|
-
return
|
|
4044
|
+
i = C.readability(e, s[m]), i > n && (n = i, a = C(s[m]));
|
|
4045
|
+
return C.isReadable(e, a, {
|
|
4046
4046
|
level: c,
|
|
4047
4047
|
size: d
|
|
4048
|
-
}) || !r ? a : (t.includeFallbackColors = !1,
|
|
4048
|
+
}) || !r ? a : (t.includeFallbackColors = !1, C.mostReadable(e, ["#fff", "#000"], t));
|
|
4049
4049
|
};
|
|
4050
|
-
var $t =
|
|
4050
|
+
var $t = C.names = {
|
|
4051
4051
|
aliceblue: "f0f8ff",
|
|
4052
4052
|
antiquewhite: "faebd7",
|
|
4053
4053
|
aqua: "0ff",
|
|
@@ -4197,7 +4197,7 @@ var $t = x.names = {
|
|
|
4197
4197
|
whitesmoke: "f5f5f5",
|
|
4198
4198
|
yellow: "ff0",
|
|
4199
4199
|
yellowgreen: "9acd32"
|
|
4200
|
-
}, Go =
|
|
4200
|
+
}, Go = C.hexNames = Ko($t);
|
|
4201
4201
|
function Ko(e) {
|
|
4202
4202
|
var s = {};
|
|
4203
4203
|
for (var t in e)
|
|
@@ -4367,7 +4367,7 @@ const Qo = {
|
|
|
4367
4367
|
},
|
|
4368
4368
|
colorIsDark() {
|
|
4369
4369
|
if (this.selectedColor && this.selectedColor !== "")
|
|
4370
|
-
return
|
|
4370
|
+
return C(this.selectedColor).isDark();
|
|
4371
4371
|
},
|
|
4372
4372
|
selectedColorBackground() {
|
|
4373
4373
|
if (this.selectedColor && this.selectedColor !== "")
|
|
@@ -4376,9 +4376,9 @@ const Qo = {
|
|
|
4376
4376
|
selectedColorText() {
|
|
4377
4377
|
if (this.selectedColor && this.selectedColor !== "")
|
|
4378
4378
|
return this.colorIsDark ? {
|
|
4379
|
-
color:
|
|
4379
|
+
color: C(this.selectedColor).lighten(65).toRgbString()
|
|
4380
4380
|
} : {
|
|
4381
|
-
color:
|
|
4381
|
+
color: C(this.selectedColor).lighten(10).toRgbString()
|
|
4382
4382
|
};
|
|
4383
4383
|
}
|
|
4384
4384
|
},
|
|
@@ -4392,7 +4392,7 @@ function tr(e, s, t, a, n, i) {
|
|
|
4392
4392
|
class: y(["ecs-context-button", [t.loading ? "loading" : "", i.iconOnly ? "ecs-context-button-icon-only" : ""]]),
|
|
4393
4393
|
"aria-label": t.ariaLabel,
|
|
4394
4394
|
"aria-busy": t.loading || null,
|
|
4395
|
-
style:
|
|
4395
|
+
style: x(i.selectedColorText),
|
|
4396
4396
|
onClick: s[0] || (s[0] = (d) => e.$emit("click", d))
|
|
4397
4397
|
}, [
|
|
4398
4398
|
t.icon || t.loading ? (o(), h(r, {
|
|
@@ -4403,7 +4403,7 @@ function tr(e, s, t, a, n, i) {
|
|
|
4403
4403
|
t.selectedColor ? (o(), l("div", {
|
|
4404
4404
|
key: 1,
|
|
4405
4405
|
class: "ecs-context-button-color",
|
|
4406
|
-
style:
|
|
4406
|
+
style: x(i.selectedColorBackground)
|
|
4407
4407
|
}, null, 4)) : u("", !0),
|
|
4408
4408
|
p(e.$slots, "default", {}, void 0, !0),
|
|
4409
4409
|
_(c)
|
|
@@ -4749,7 +4749,7 @@ const Ab = /* @__PURE__ */ v(yr, [["render", kr], ["__scopeId", "data-v-2beac513
|
|
|
4749
4749
|
return `item-${this.id}`;
|
|
4750
4750
|
}
|
|
4751
4751
|
}
|
|
4752
|
-
}, Sr = ["id"],
|
|
4752
|
+
}, Sr = ["id"], Cr = { class: "ecs-card-inner" }, xr = { class: "ecs-card-background" };
|
|
4753
4753
|
function Br(e, s, t, a, n, i) {
|
|
4754
4754
|
return o(), l("div", {
|
|
4755
4755
|
onClick: s[0] || (s[0] = (r) => e.$emit("click", r)),
|
|
@@ -4761,14 +4761,14 @@ function Br(e, s, t, a, n, i) {
|
|
|
4761
4761
|
]]),
|
|
4762
4762
|
id: i.itemId
|
|
4763
4763
|
}, [
|
|
4764
|
-
f("div",
|
|
4764
|
+
f("div", Cr, [
|
|
4765
4765
|
p(e.$slots, "default", {}, void 0, !0)
|
|
4766
4766
|
]),
|
|
4767
|
-
f("div",
|
|
4767
|
+
f("div", xr, [
|
|
4768
4768
|
t.progress ? (o(), l("div", {
|
|
4769
4769
|
key: 0,
|
|
4770
4770
|
class: "progress",
|
|
4771
|
-
style:
|
|
4771
|
+
style: x({ width: t.progress + "%" })
|
|
4772
4772
|
}, null, 4)) : u("", !0)
|
|
4773
4773
|
])
|
|
4774
4774
|
], 10, Sr);
|
|
@@ -4860,7 +4860,7 @@ var $r = Wt.clickOutSide = {
|
|
|
4860
4860
|
const Tr = {
|
|
4861
4861
|
name: "ecs-context-menu",
|
|
4862
4862
|
emits: ["option-clicked", "menu-closed", "menu-opened"],
|
|
4863
|
-
components: { EcsIcon: M, EcsFocusRing: L, EcsButton:
|
|
4863
|
+
components: { EcsIcon: M, EcsFocusRing: L, EcsButton: Ce },
|
|
4864
4864
|
directives: {
|
|
4865
4865
|
clickOutSide: Pr
|
|
4866
4866
|
},
|
|
@@ -4971,7 +4971,7 @@ function Ar(e, s, t, a, n, i) {
|
|
|
4971
4971
|
return Ge((o(), l("div", {
|
|
4972
4972
|
class: y(["ecs-context-menu", n.opened ? " opened" : ""]),
|
|
4973
4973
|
id: t.elementId,
|
|
4974
|
-
style:
|
|
4974
|
+
style: x([i.postionStyles])
|
|
4975
4975
|
}, [
|
|
4976
4976
|
f("ul", {
|
|
4977
4977
|
role: "menu",
|
|
@@ -5025,7 +5025,7 @@ function Ar(e, s, t, a, n, i) {
|
|
|
5025
5025
|
const Rb = /* @__PURE__ */ v(Tr, [["render", Ar], ["__scopeId", "data-v-68234afa"]]), Nr = {
|
|
5026
5026
|
name: "ecs-collapse",
|
|
5027
5027
|
emits: ["toggled", "remove"],
|
|
5028
|
-
components: { EcsButton:
|
|
5028
|
+
components: { EcsButton: Ce, EcsFocusRing: L, EcsFlexRow: Te },
|
|
5029
5029
|
props: {
|
|
5030
5030
|
/** Unique ID, is required to handle persist states. */
|
|
5031
5031
|
id: {
|
|
@@ -5325,7 +5325,7 @@ function Xr(e, s, t, a, n, i) {
|
|
|
5325
5325
|
}, [
|
|
5326
5326
|
f("div", {
|
|
5327
5327
|
class: "ecs-collection-control-list scrollbar scrollbar-sml",
|
|
5328
|
-
style:
|
|
5328
|
+
style: x(i.listMaxHeight)
|
|
5329
5329
|
}, [
|
|
5330
5330
|
p(e.$slots, "default")
|
|
5331
5331
|
], 4)
|
|
@@ -5378,7 +5378,7 @@ function sl(e, s, t, a, n, i) {
|
|
|
5378
5378
|
return t.type === "rect" || t.type === "circle" ? (o(), l("div", {
|
|
5379
5379
|
key: 0,
|
|
5380
5380
|
class: y(["ecs-skeleton skeleton", i.rectClass]),
|
|
5381
|
-
style:
|
|
5381
|
+
style: x({ width: t.width + "px", height: t.height + "px" })
|
|
5382
5382
|
}, null, 6)) : t.type === "multi" ? (o(), l("div", Qr, [
|
|
5383
5383
|
(o(!0), l(X, null, he(parseInt(t.count), (r) => (o(), l("div", {
|
|
5384
5384
|
key: r,
|
|
@@ -5390,7 +5390,7 @@ function sl(e, s, t, a, n, i) {
|
|
|
5390
5390
|
}, [
|
|
5391
5391
|
f("div", {
|
|
5392
5392
|
class: "skeleton skeleton-single",
|
|
5393
|
-
style:
|
|
5393
|
+
style: x({ width: t.width + "%" })
|
|
5394
5394
|
}, null, 4)
|
|
5395
5395
|
], 2));
|
|
5396
5396
|
}
|
|
@@ -5445,7 +5445,7 @@ function al(e, s, t, a, n, i) {
|
|
|
5445
5445
|
const Fs = /* @__PURE__ */ v(il, [["render", al]]), ol = {
|
|
5446
5446
|
name: "ecs-comment",
|
|
5447
5447
|
emits: ["edit", "delete"],
|
|
5448
|
-
components: { EcsAvatar: Li, EcsButton:
|
|
5448
|
+
components: { EcsAvatar: Li, EcsButton: Ce, EcsFormatted: Fs, EcsSkeletonLoader: fe },
|
|
5449
5449
|
props: {
|
|
5450
5450
|
/** Name of the user that is the comment author. */
|
|
5451
5451
|
userName: {
|
|
@@ -5564,10 +5564,10 @@ function bl(e, s) {
|
|
|
5564
5564
|
]);
|
|
5565
5565
|
}
|
|
5566
5566
|
const qb = /* @__PURE__ */ v(vl, [["render", bl]]);
|
|
5567
|
-
function
|
|
5567
|
+
function Ct(e = {}, s = 0) {
|
|
5568
5568
|
const t = e && e.a;
|
|
5569
5569
|
let a;
|
|
5570
|
-
e && e.hsl ? a =
|
|
5570
|
+
e && e.hsl ? a = C(e.hsl) : e && e.hex && e.hex.length > 0 ? a = C(e.hex) : e && e.hsv ? a = C(e.hsv) : e && e.rgba ? a = C(e.rgba) : e && e.rgb ? a = C(e.rgb) : a = C(e), a && (a._a === void 0 || a._a === null) && a.setAlpha(t || 1);
|
|
5571
5571
|
const n = a.toHsl(), i = a.toHsv();
|
|
5572
5572
|
return n.s === 0 && (i.h = n.h = e.h || e.hsl && e.hsl.h || s || 0), {
|
|
5573
5573
|
hsl: n,
|
|
@@ -5584,7 +5584,7 @@ const _l = {
|
|
|
5584
5584
|
props: ["modelValue"],
|
|
5585
5585
|
data() {
|
|
5586
5586
|
return {
|
|
5587
|
-
val:
|
|
5587
|
+
val: Ct(this.modelValue)
|
|
5588
5588
|
};
|
|
5589
5589
|
},
|
|
5590
5590
|
computed: {
|
|
@@ -5599,15 +5599,15 @@ const _l = {
|
|
|
5599
5599
|
},
|
|
5600
5600
|
watch: {
|
|
5601
5601
|
modelValue(e) {
|
|
5602
|
-
this.val =
|
|
5602
|
+
this.val = Ct(e);
|
|
5603
5603
|
}
|
|
5604
5604
|
},
|
|
5605
5605
|
methods: {
|
|
5606
5606
|
colorChange(e, s) {
|
|
5607
|
-
this.oldHue = this.colors.hsl.h, this.colors =
|
|
5607
|
+
this.oldHue = this.colors.hsl.h, this.colors = Ct(e, s || this.oldHue);
|
|
5608
5608
|
},
|
|
5609
5609
|
isValidHex(e) {
|
|
5610
|
-
return
|
|
5610
|
+
return C(e).isValid();
|
|
5611
5611
|
},
|
|
5612
5612
|
simpleCheckForValidColor(e) {
|
|
5613
5613
|
const s = ["r", "g", "b", "a", "h", "s", "l", "v"];
|
|
@@ -5623,7 +5623,7 @@ const _l = {
|
|
|
5623
5623
|
return e.map((s) => s.toUpperCase());
|
|
5624
5624
|
},
|
|
5625
5625
|
isTransparent(e) {
|
|
5626
|
-
return
|
|
5626
|
+
return C(e).getAlpha() === 0;
|
|
5627
5627
|
}
|
|
5628
5628
|
}
|
|
5629
5629
|
}, kl = {
|
|
@@ -5687,7 +5687,7 @@ const _l = {
|
|
|
5687
5687
|
// console.log(e)
|
|
5688
5688
|
// }
|
|
5689
5689
|
}
|
|
5690
|
-
}, wl = { class: "ecs-editable-input" }, Sl = ["aria-labelledby"],
|
|
5690
|
+
}, wl = { class: "ecs-editable-input" }, Sl = ["aria-labelledby"], Cl = ["for", "id"], xl = { class: "ecs-input__desc" };
|
|
5691
5691
|
function Bl(e, s, t, a, n, i) {
|
|
5692
5692
|
return o(), l("div", wl, [
|
|
5693
5693
|
Ge(f("input", {
|
|
@@ -5704,8 +5704,8 @@ function Bl(e, s, t, a, n, i) {
|
|
|
5704
5704
|
for: t.label,
|
|
5705
5705
|
class: "ecs-input__label",
|
|
5706
5706
|
id: i.labelId
|
|
5707
|
-
}, w(i.labelSpanText), 9,
|
|
5708
|
-
f("span",
|
|
5707
|
+
}, w(i.labelSpanText), 9, Cl),
|
|
5708
|
+
f("span", xl, w(t.desc), 1)
|
|
5709
5709
|
]);
|
|
5710
5710
|
}
|
|
5711
5711
|
const zl = /* @__PURE__ */ v(kl, [["render", Bl]]);
|
|
@@ -5773,12 +5773,12 @@ function kc(e) {
|
|
|
5773
5773
|
var t = yc.test(e);
|
|
5774
5774
|
return t || bc.test(e) ? _c(e.slice(2), t ? 2 : 8) : vc.test(e) ? ys : +e;
|
|
5775
5775
|
}
|
|
5776
|
-
var wc = kc, Sc = jt,
|
|
5776
|
+
var wc = kc, Sc = jt, xt = Dl, bs = wc, Cc = "Expected a function", xc = Math.max, Bc = Math.min;
|
|
5777
5777
|
function zc(e, s, t) {
|
|
5778
5778
|
var a, n, i, r, c, d, m = 0, b = !1, k = !1, z = !0;
|
|
5779
5779
|
if (typeof e != "function")
|
|
5780
|
-
throw new TypeError(
|
|
5781
|
-
s = bs(s) || 0, Sc(t) && (b = !!t.leading, k = "maxWait" in t, i = k ?
|
|
5780
|
+
throw new TypeError(Cc);
|
|
5781
|
+
s = bs(s) || 0, Sc(t) && (b = !!t.leading, k = "maxWait" in t, i = k ? xc(bs(t.maxWait) || 0, s) : i, z = "trailing" in t ? !!t.trailing : z);
|
|
5782
5782
|
function I(E) {
|
|
5783
5783
|
var N = a, F = n;
|
|
5784
5784
|
return a = n = void 0, m = E, r = e.apply(F, N), r;
|
|
@@ -5795,7 +5795,7 @@ function zc(e, s, t) {
|
|
|
5795
5795
|
return d === void 0 || N >= s || N < 0 || k && F >= i;
|
|
5796
5796
|
}
|
|
5797
5797
|
function O() {
|
|
5798
|
-
var E =
|
|
5798
|
+
var E = xt();
|
|
5799
5799
|
if (T(E))
|
|
5800
5800
|
return R(E);
|
|
5801
5801
|
c = setTimeout(O, $(E));
|
|
@@ -5807,10 +5807,10 @@ function zc(e, s, t) {
|
|
|
5807
5807
|
c !== void 0 && clearTimeout(c), m = 0, a = d = n = c = void 0;
|
|
5808
5808
|
}
|
|
5809
5809
|
function P() {
|
|
5810
|
-
return c === void 0 ? r : R(
|
|
5810
|
+
return c === void 0 ? r : R(xt());
|
|
5811
5811
|
}
|
|
5812
5812
|
function A() {
|
|
5813
|
-
var E =
|
|
5813
|
+
var E = xt(), N = T(E);
|
|
5814
5814
|
if (a = arguments, n = this, d = E, N) {
|
|
5815
5815
|
if (c === void 0)
|
|
5816
5816
|
return B(d);
|
|
@@ -5897,7 +5897,7 @@ const Lc = /* @__PURE__ */ Ss(Mc), Oc = {
|
|
|
5897
5897
|
function Fc(e, s, t, a, n, i) {
|
|
5898
5898
|
return o(), l("div", {
|
|
5899
5899
|
class: "ecs-saturation",
|
|
5900
|
-
style:
|
|
5900
|
+
style: x({ background: i.bgColor }),
|
|
5901
5901
|
ref: "container",
|
|
5902
5902
|
onMousedown: s[0] || (s[0] = (...r) => i.handleMouseDown && i.handleMouseDown(...r)),
|
|
5903
5903
|
onTouchmove: s[1] || (s[1] = (...r) => i.handleChange && i.handleChange(...r)),
|
|
@@ -5907,7 +5907,7 @@ function Fc(e, s, t, a, n, i) {
|
|
|
5907
5907
|
Nc,
|
|
5908
5908
|
f("div", {
|
|
5909
5909
|
class: "ecs-saturation-pointer",
|
|
5910
|
-
style:
|
|
5910
|
+
style: x({ top: i.pointerTop, left: i.pointerLeft })
|
|
5911
5911
|
}, Rc, 4)
|
|
5912
5912
|
], 36);
|
|
5913
5913
|
}
|
|
@@ -5997,7 +5997,7 @@ function Uc(e, s, t, a, n, i) {
|
|
|
5997
5997
|
}, [
|
|
5998
5998
|
f("div", {
|
|
5999
5999
|
class: "ecs-hue-pointer",
|
|
6000
|
-
style:
|
|
6000
|
+
style: x({ top: i.pointerTop, left: i.pointerLeft }),
|
|
6001
6001
|
role: "presentation"
|
|
6002
6002
|
}, jc, 4)
|
|
6003
6003
|
], 40, qc)
|
|
@@ -6047,7 +6047,7 @@ function Xc(e, s, t) {
|
|
|
6047
6047
|
function Zc(e, s, t, a, n, i) {
|
|
6048
6048
|
return o(), l("div", {
|
|
6049
6049
|
class: "ecs-checkerboard",
|
|
6050
|
-
style:
|
|
6050
|
+
style: x(i.bgStyle)
|
|
6051
6051
|
}, null, 4);
|
|
6052
6052
|
}
|
|
6053
6053
|
const Ws = /* @__PURE__ */ v(Kc, [["render", Zc]]), Jc = {
|
|
@@ -6105,7 +6105,7 @@ function id(e, s, t, a, n, i) {
|
|
|
6105
6105
|
]),
|
|
6106
6106
|
f("div", {
|
|
6107
6107
|
class: "ecs-alpha-gradient",
|
|
6108
|
-
style:
|
|
6108
|
+
style: x({ background: i.gradientColor })
|
|
6109
6109
|
}, null, 4),
|
|
6110
6110
|
f("div", {
|
|
6111
6111
|
class: "ecs-alpha-container",
|
|
@@ -6116,7 +6116,7 @@ function id(e, s, t, a, n, i) {
|
|
|
6116
6116
|
}, [
|
|
6117
6117
|
f("div", {
|
|
6118
6118
|
class: "ecs-alpha-pointer",
|
|
6119
|
-
style:
|
|
6119
|
+
style: x({ left: i.colors.a * 100 + "%" })
|
|
6120
6120
|
}, sd, 4)
|
|
6121
6121
|
], 544)
|
|
6122
6122
|
]);
|
|
@@ -6223,7 +6223,7 @@ function bd(e, s, t, a, n, i) {
|
|
|
6223
6223
|
role: "application",
|
|
6224
6224
|
"aria-label": "Color picker",
|
|
6225
6225
|
class: y(["ecs-color-picker", t.disableAlpha ? "ecs-color-picker__disable-alpha" : ""]),
|
|
6226
|
-
style:
|
|
6226
|
+
style: x({ padding: t.padding + "px", width: 216 + 2 * t.padding + "px" })
|
|
6227
6227
|
}, [
|
|
6228
6228
|
t.disableCustom ? u("", !0) : (o(), l("div", od, [
|
|
6229
6229
|
_(r, {
|
|
@@ -6292,7 +6292,7 @@ function bd(e, s, t, a, n, i) {
|
|
|
6292
6292
|
])) : u("", !0),
|
|
6293
6293
|
f("div", {
|
|
6294
6294
|
class: "ecs-color-picker-presets",
|
|
6295
|
-
style:
|
|
6295
|
+
style: x(t.disableCustom ? "" : "padding-top: var(--spacing-10)"),
|
|
6296
6296
|
role: "group",
|
|
6297
6297
|
"aria-label": "A color preset, pick one to set as current color"
|
|
6298
6298
|
}, [
|
|
@@ -6309,7 +6309,7 @@ function bd(e, s, t, a, n, i) {
|
|
|
6309
6309
|
class: y(["ecs-color-picker-presets-color", { active: e.colors.hex === k.hex }]),
|
|
6310
6310
|
"aria-label": k.title,
|
|
6311
6311
|
key: "if-" + k.id,
|
|
6312
|
-
style:
|
|
6312
|
+
style: x({ background: k.hex }),
|
|
6313
6313
|
"aria-selected": e.colors.hex === k.hex ? "true" : "false",
|
|
6314
6314
|
title: k.title,
|
|
6315
6315
|
onClick: (z) => i.handlePreset(k.hex)
|
|
@@ -6320,7 +6320,7 @@ function bd(e, s, t, a, n, i) {
|
|
|
6320
6320
|
class: y(["ecs-color-picker-presets-color active", i.isActiveColorDark ? "dark" : "light"]),
|
|
6321
6321
|
"aria-label": "Custom color",
|
|
6322
6322
|
"aria-selected": "true",
|
|
6323
|
-
style:
|
|
6323
|
+
style: x({ background: e.colors.hex })
|
|
6324
6324
|
}, null, 6))
|
|
6325
6325
|
], 4)
|
|
6326
6326
|
], 6);
|
|
@@ -6404,7 +6404,7 @@ function wd(e, s, t, a, n, i) {
|
|
|
6404
6404
|
default: S(() => [
|
|
6405
6405
|
f("button", {
|
|
6406
6406
|
class: y(["ecs-color-picker-input-button", i.sizeClass]),
|
|
6407
|
-
style:
|
|
6407
|
+
style: x(i.selectedColorStyle)
|
|
6408
6408
|
}, [
|
|
6409
6409
|
f("span", null, w(i.selectedColorName), 1)
|
|
6410
6410
|
], 6)
|
|
@@ -6414,7 +6414,7 @@ function wd(e, s, t, a, n, i) {
|
|
|
6414
6414
|
}
|
|
6415
6415
|
const Wb = /* @__PURE__ */ v(kd, [["render", wd], ["__scopeId", "data-v-08aaa823"]]), Sd = {
|
|
6416
6416
|
name: "ecs-data-card",
|
|
6417
|
-
components: { EcsIcon: M, EcsSkeletonLoader: fe, EcsButtonTable: Rs, EcsButton:
|
|
6417
|
+
components: { EcsIcon: M, EcsSkeletonLoader: fe, EcsButtonTable: Rs, EcsButton: Ce, EcsFocusRing: L },
|
|
6418
6418
|
mixins: [ue],
|
|
6419
6419
|
props: {
|
|
6420
6420
|
/** If passed, an icon will be displayed in the data card. The icon prop must match a specific icons name. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
|
|
@@ -6500,7 +6500,7 @@ const Wb = /* @__PURE__ */ v(kd, [["render", wd], ["__scopeId", "data-v-08aaa823
|
|
|
6500
6500
|
created() {
|
|
6501
6501
|
this.expandId = this.generateUniqueId();
|
|
6502
6502
|
}
|
|
6503
|
-
},
|
|
6503
|
+
}, Cd = ["aria-busy", "tabindex"], xd = {
|
|
6504
6504
|
key: 0,
|
|
6505
6505
|
class: "control"
|
|
6506
6506
|
}, Bd = { class: "ecs-data-card-inner" }, zd = { class: "ecs-data-card-row" }, Id = { class: "ecs-data-card-row-inner" }, Ed = { class: "ecs-data-card-row-inner-text" }, $d = {
|
|
@@ -6522,7 +6522,7 @@ function Ld(e, s, t, a, n, i) {
|
|
|
6522
6522
|
"aria-busy": t.loading || null,
|
|
6523
6523
|
tabindex: t.hover ? "0" : "-1"
|
|
6524
6524
|
}, [
|
|
6525
|
-
t.control && e.$slots.control ? (o(), l("div",
|
|
6525
|
+
t.control && e.$slots.control ? (o(), l("div", xd, [
|
|
6526
6526
|
p(e.$slots, "control", {}, void 0, !0)
|
|
6527
6527
|
])) : u("", !0),
|
|
6528
6528
|
t.icon ? (o(), h(r, {
|
|
@@ -6611,7 +6611,7 @@ function Ld(e, s, t, a, n, i) {
|
|
|
6611
6611
|
inset: 0,
|
|
6612
6612
|
radius: 0
|
|
6613
6613
|
})) : u("", !0)
|
|
6614
|
-
], 10,
|
|
6614
|
+
], 10, Cd);
|
|
6615
6615
|
}
|
|
6616
6616
|
const jb = /* @__PURE__ */ v(Sd, [["render", Ld], ["__scopeId", "data-v-206dd488"]]), Od = {
|
|
6617
6617
|
name: "ecs-data-card-list"
|
|
@@ -7203,7 +7203,7 @@ function vu(e, s, t, a, n, i) {
|
|
|
7203
7203
|
t.fixedLeftLast ? "fixed-left-last" : "",
|
|
7204
7204
|
t.fixedRight ? "fixed-right" : ""
|
|
7205
7205
|
]]),
|
|
7206
|
-
style:
|
|
7206
|
+
style: x([
|
|
7207
7207
|
i.widthType === "string" ? i.widthStyles : {},
|
|
7208
7208
|
i.fixedStyles
|
|
7209
7209
|
]),
|
|
@@ -7215,7 +7215,7 @@ function vu(e, s, t, a, n, i) {
|
|
|
7215
7215
|
f("div", {
|
|
7216
7216
|
ref: "resizer",
|
|
7217
7217
|
class: y(["ecs-data-grid-head-cell-inner", t.resizable ? "resizable" : ""]),
|
|
7218
|
-
style:
|
|
7218
|
+
style: x([
|
|
7219
7219
|
i.widthType === "number" ? i.widthStyles : { width: "100%" },
|
|
7220
7220
|
i.paddingStyles,
|
|
7221
7221
|
i.resizeStyles,
|
|
@@ -7450,7 +7450,7 @@ const Xb = /* @__PURE__ */ v(yu, [["render", _u], ["__scopeId", "data-v-ee025ab5
|
|
|
7450
7450
|
}, wu = (e) => (be("data-v-4deed396"), e = e(), _e(), e), Su = {
|
|
7451
7451
|
key: 0,
|
|
7452
7452
|
class: "shadow left"
|
|
7453
|
-
},
|
|
7453
|
+
}, Cu = ["data-column", "data-test"], xu = {
|
|
7454
7454
|
key: 0,
|
|
7455
7455
|
class: "first-cell-spacer"
|
|
7456
7456
|
}, Bu = /* @__PURE__ */ wu(() => /* @__PURE__ */ f("div", { class: "group-spacer" }, null, -1)), zu = {
|
|
@@ -7461,17 +7461,17 @@ function Iu(e, s, t, a, n, i) {
|
|
|
7461
7461
|
const r = g("ecs-button-collapse");
|
|
7462
7462
|
return o(), l("div", {
|
|
7463
7463
|
class: y(["ecs-data-grid-cell", [t.fixedLeft ? "fixed-left" : "", t.fixedLeftLast ? "fixed-left-last" : "", t.fixedRight ? "fixed-right" : ""]]),
|
|
7464
|
-
style:
|
|
7464
|
+
style: x([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
|
|
7465
7465
|
role: "cell"
|
|
7466
7466
|
}, [
|
|
7467
7467
|
t.fixedRight ? (o(), l("div", Su)) : u("", !0),
|
|
7468
7468
|
f("div", {
|
|
7469
7469
|
class: "ecs-data-grid-cell-inner",
|
|
7470
|
-
style:
|
|
7470
|
+
style: x([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, t.styles]),
|
|
7471
7471
|
"data-column": i.computedId,
|
|
7472
7472
|
"data-test": i.computedId
|
|
7473
7473
|
}, [
|
|
7474
|
-
t.firstNonStaticCell ? (o(), l("div",
|
|
7474
|
+
t.firstNonStaticCell ? (o(), l("div", xu)) : u("", !0),
|
|
7475
7475
|
Bu,
|
|
7476
7476
|
t.hasCollapse ? (o(), h(r, {
|
|
7477
7477
|
key: 1,
|
|
@@ -7480,7 +7480,7 @@ function Iu(e, s, t, a, n, i) {
|
|
|
7480
7480
|
type: "chevron"
|
|
7481
7481
|
}, null, 8, ["onClick", "collapsed"])) : u("", !0),
|
|
7482
7482
|
p(e.$slots, "default", {}, void 0, !0)
|
|
7483
|
-
], 12,
|
|
7483
|
+
], 12, Cu),
|
|
7484
7484
|
t.fixedLeftLast ? (o(), l("div", zu)) : u("", !0)
|
|
7485
7485
|
], 6);
|
|
7486
7486
|
}
|
|
@@ -7624,7 +7624,7 @@ function Nu(e, s, t, a, n, i) {
|
|
|
7624
7624
|
i.hasIdentifier ? (o(), l("div", {
|
|
7625
7625
|
key: 0,
|
|
7626
7626
|
id: n.definitionId,
|
|
7627
|
-
style:
|
|
7627
|
+
style: x(i.identifierStyle),
|
|
7628
7628
|
class: "ecs-data-list-identifier"
|
|
7629
7629
|
}, [
|
|
7630
7630
|
D(w(t.identifier) + " ", 1),
|
|
@@ -7657,7 +7657,7 @@ function Nu(e, s, t, a, n, i) {
|
|
|
7657
7657
|
key: 2,
|
|
7658
7658
|
class: "progress",
|
|
7659
7659
|
role: "progressbar",
|
|
7660
|
-
style:
|
|
7660
|
+
style: x({ width: t.progress + "%" }),
|
|
7661
7661
|
"aria-valuenow": t.progress
|
|
7662
7662
|
}, null, 12, Ou)) : u("", !0)
|
|
7663
7663
|
], 10, Lu)
|
|
@@ -7822,7 +7822,7 @@ const e_ = /* @__PURE__ */ v(Du, [["render", Fu]]), Vu = {
|
|
|
7822
7822
|
));
|
|
7823
7823
|
}), (n, i) => (o(), l("div", {
|
|
7824
7824
|
class: y(["ecs-state-icon", e.iconColor]),
|
|
7825
|
-
style:
|
|
7825
|
+
style: x(t.value)
|
|
7826
7826
|
}, [
|
|
7827
7827
|
(o(), h(Ee(ae(a)), {
|
|
7828
7828
|
height: e.size,
|
|
@@ -7950,7 +7950,7 @@ function Zu(e, s, t, a, n, i) {
|
|
|
7950
7950
|
t.indicator ? (o(), l("div", {
|
|
7951
7951
|
key: 2,
|
|
7952
7952
|
class: "indicator",
|
|
7953
|
-
style:
|
|
7953
|
+
style: x("background-color:" + t.indicator)
|
|
7954
7954
|
}, null, 4)) : u("", !0),
|
|
7955
7955
|
f("div", Xu, [
|
|
7956
7956
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -8078,7 +8078,7 @@ const i_ = /* @__PURE__ */ v(Ju, [["render", of], ["__scopeId", "data-v-8239e8d6
|
|
|
8078
8078
|
function uf(e, s, t, a, n, i) {
|
|
8079
8079
|
return o(), l("div", {
|
|
8080
8080
|
class: "ecs-donut-chart",
|
|
8081
|
-
style:
|
|
8081
|
+
style: x(i.wrapperPadding)
|
|
8082
8082
|
}, [
|
|
8083
8083
|
(o(), l("svg", {
|
|
8084
8084
|
height: t.size,
|
|
@@ -8219,7 +8219,7 @@ function _f(e, s, t, a, n, i) {
|
|
|
8219
8219
|
t.infinite ? "ecs-progress-infinite" : "",
|
|
8220
8220
|
t.cancelled ? "ecs-progress-cancelled" : ""
|
|
8221
8221
|
]]),
|
|
8222
|
-
style:
|
|
8222
|
+
style: x({ width: 100 * (t.value / i.computedMax) + "%" })
|
|
8223
8223
|
}, null, 6)
|
|
8224
8224
|
], 8, bf);
|
|
8225
8225
|
}
|
|
@@ -8230,7 +8230,7 @@ const kf = /* @__PURE__ */ v(yf, [["render", _f], ["__scopeId", "data-v-fc9084ab
|
|
|
8230
8230
|
EcsEmptyState: vf,
|
|
8231
8231
|
EcsSkeletonLoader: fe,
|
|
8232
8232
|
EcsProgress: kf,
|
|
8233
|
-
EcsButton:
|
|
8233
|
+
EcsButton: Ce,
|
|
8234
8234
|
EcsFocusRing: L,
|
|
8235
8235
|
EcsFlexRow: Te,
|
|
8236
8236
|
EcsSticker: Fe,
|
|
@@ -8376,7 +8376,7 @@ const kf = /* @__PURE__ */ v(yf, [["render", _f], ["__scopeId", "data-v-fc9084ab
|
|
|
8376
8376
|
beforeUnmount() {
|
|
8377
8377
|
document.removeEventListener("dragenter", this.show);
|
|
8378
8378
|
}
|
|
8379
|
-
}, Sf = ["aria-busy", "aria-invalid"],
|
|
8379
|
+
}, Sf = ["aria-busy", "aria-invalid"], Cf = ["multiple"], xf = { key: 1 }, Bf = { key: 1 }, zf = {
|
|
8380
8380
|
key: 2,
|
|
8381
8381
|
class: "ecs-dropzone-hint"
|
|
8382
8382
|
}, If = {
|
|
@@ -8403,7 +8403,7 @@ function $f(e, s, t, a, n, i) {
|
|
|
8403
8403
|
type: "file",
|
|
8404
8404
|
multiple: t.multiple || null,
|
|
8405
8405
|
ref: "file"
|
|
8406
|
-
}, null, 40,
|
|
8406
|
+
}, null, 40, Cf),
|
|
8407
8407
|
_(z, {
|
|
8408
8408
|
type: i.iconType,
|
|
8409
8409
|
iconColor: i.iconColor
|
|
@@ -8414,7 +8414,7 @@ function $f(e, s, t, a, n, i) {
|
|
|
8414
8414
|
type: "single",
|
|
8415
8415
|
width: 100,
|
|
8416
8416
|
class: "ecs-dropzone-skeleton"
|
|
8417
|
-
})) : (o(), l("div",
|
|
8417
|
+
})) : (o(), l("div", xf, [
|
|
8418
8418
|
e.$slots.customlabel ? u("", !0) : (o(), l(X, { key: 0 }, [
|
|
8419
8419
|
D(" Drag and drop your " + w(t.fileTypeLabel) + " or ", 1),
|
|
8420
8420
|
f("i", {
|
|
@@ -8722,7 +8722,7 @@ function Uf(e, s, t, a, n, i) {
|
|
|
8722
8722
|
]),
|
|
8723
8723
|
f("div", {
|
|
8724
8724
|
class: "ecs-excerpt-content scrollbar scrollbar-sml",
|
|
8725
|
-
style:
|
|
8725
|
+
style: x(i.maxHeightStyles)
|
|
8726
8726
|
}, [
|
|
8727
8727
|
t.loading ? (o(), h(r, {
|
|
8728
8728
|
key: 0,
|
|
@@ -8741,10 +8741,10 @@ function Uf(e, s, t, a, n, i) {
|
|
|
8741
8741
|
p(e.$slots, "default", {}, void 0, !0)
|
|
8742
8742
|
])) : t.type == "rectangle" ? (o(), l("div", Wf, [
|
|
8743
8743
|
f("span", {
|
|
8744
|
-
style:
|
|
8744
|
+
style: x("color:" + t.annotationColor)
|
|
8745
8745
|
}, "Rectangle Annotation", 4),
|
|
8746
8746
|
f("div", {
|
|
8747
|
-
style:
|
|
8747
|
+
style: x("background-color:" + t.annotationColor)
|
|
8748
8748
|
}, null, 4)
|
|
8749
8749
|
])) : (o(), l("div", jf, [
|
|
8750
8750
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -9010,7 +9010,7 @@ function lg(e, s, t, a, n, i) {
|
|
|
9010
9010
|
t.progress ? (o(), l("div", {
|
|
9011
9011
|
key: 3,
|
|
9012
9012
|
class: "loading-bar",
|
|
9013
|
-
style:
|
|
9013
|
+
style: x({ width: t.progress + "%" }),
|
|
9014
9014
|
role: "progressbar",
|
|
9015
9015
|
"aria-valuenow": t.progress
|
|
9016
9016
|
}, null, 12, ig)) : u("", !0)
|
|
@@ -9035,7 +9035,7 @@ function lg(e, s, t, a, n, i) {
|
|
|
9035
9035
|
default: S(() => [
|
|
9036
9036
|
e.$slots.edit && t.edit ? (o(), l("div", {
|
|
9037
9037
|
key: 0,
|
|
9038
|
-
style:
|
|
9038
|
+
style: x({ maxHeight: n.editHeight + "px" }),
|
|
9039
9039
|
id: n.editId
|
|
9040
9040
|
}, [
|
|
9041
9041
|
f("div", rg, [
|
|
@@ -9341,24 +9341,24 @@ const wg = /* @__PURE__ */ v(bg, [["render", kg], ["__scopeId", "data-v-a408f72e
|
|
|
9341
9341
|
}
|
|
9342
9342
|
}
|
|
9343
9343
|
};
|
|
9344
|
-
function
|
|
9344
|
+
function Cg(e, s, t, a, n, i) {
|
|
9345
9345
|
return o(), l("div", {
|
|
9346
9346
|
class: y(["ecs-scroll-container scrollbar scrollbar-sml vertical", [
|
|
9347
9347
|
t.borderless ? "" : "ecs-scroll-container-border",
|
|
9348
9348
|
t.hideShadows ? "" : "ecs-scroll-container-shadows"
|
|
9349
9349
|
]]),
|
|
9350
|
-
style:
|
|
9350
|
+
style: x({ maxHeight: t.height, padding: t.padding })
|
|
9351
9351
|
}, [
|
|
9352
9352
|
p(e.$slots, "default", {}, void 0, !0)
|
|
9353
9353
|
], 6);
|
|
9354
9354
|
}
|
|
9355
|
-
const
|
|
9355
|
+
const xg = /* @__PURE__ */ v(Sg, [["render", Cg], ["__scopeId", "data-v-d87a8075"]]), Bg = {
|
|
9356
9356
|
name: "ecs-folder-selector",
|
|
9357
9357
|
emits: ["search", "add"],
|
|
9358
9358
|
components: {
|
|
9359
9359
|
EcsInputSearch: wg,
|
|
9360
|
-
EcsScrollContainer:
|
|
9361
|
-
EcsButton:
|
|
9360
|
+
EcsScrollContainer: xg,
|
|
9361
|
+
EcsButton: Ce
|
|
9362
9362
|
},
|
|
9363
9363
|
props: {
|
|
9364
9364
|
/** Determines if the folder selector control has a search bar to filter by folder name. */
|
|
@@ -9419,7 +9419,7 @@ function Eg(e, s, t, a, n, i) {
|
|
|
9419
9419
|
const r = g("ecs-input-search"), c = g("ecs-button"), d = g("ecs-scroll-container");
|
|
9420
9420
|
return o(), l("div", {
|
|
9421
9421
|
class: y(["ecs-folder-selector", [t.framed ? "ecs-folder-selector-border" : ""]]),
|
|
9422
|
-
style:
|
|
9422
|
+
style: x({ height: i.isFullHeight })
|
|
9423
9423
|
}, [
|
|
9424
9424
|
t.searchable || t.create ? (o(), l("div", zg, [
|
|
9425
9425
|
t.searchable ? (o(), h(r, {
|
|
@@ -9466,50 +9466,58 @@ const f_ = /* @__PURE__ */ v(Bg, [["render", Eg], ["__scopeId", "data-v-0056e40b
|
|
|
9466
9466
|
type: Boolean,
|
|
9467
9467
|
default: !1
|
|
9468
9468
|
},
|
|
9469
|
+
/** If set, the input control will show up in a warning state. */
|
|
9470
|
+
warning: {
|
|
9471
|
+
type: Boolean,
|
|
9472
|
+
default: !1
|
|
9473
|
+
},
|
|
9469
9474
|
/** Renders a small helper text underneath the input control. */
|
|
9470
9475
|
helpText: {
|
|
9471
|
-
type: String
|
|
9476
|
+
type: String,
|
|
9477
|
+
default: ""
|
|
9472
9478
|
},
|
|
9473
|
-
/** Shows an error message underneath the input control. Should be used together with the `error`prop. */
|
|
9479
|
+
/** Shows an error message underneath the input control. Should be used together with the `error` prop. */
|
|
9474
9480
|
errorText: {
|
|
9475
|
-
type: String
|
|
9481
|
+
type: String,
|
|
9482
|
+
default: ""
|
|
9483
|
+
},
|
|
9484
|
+
/** Shows a warning message underneath the input control. Should be used together with the `warning` prop. */
|
|
9485
|
+
warningText: {
|
|
9486
|
+
type: String,
|
|
9487
|
+
default: ""
|
|
9476
9488
|
},
|
|
9477
9489
|
/** Shows a success message underneath the input control. */
|
|
9478
9490
|
successText: {
|
|
9479
|
-
type: String
|
|
9480
|
-
|
|
9481
|
-
},
|
|
9482
|
-
computed: {
|
|
9483
|
-
hasHelp() {
|
|
9484
|
-
return this.helpText && this.helpText !== "" ? !0 : this.helpText;
|
|
9485
|
-
},
|
|
9486
|
-
hasSuccessText() {
|
|
9487
|
-
return this.successText && this.successText !== "" ? !0 : this.successText;
|
|
9488
|
-
},
|
|
9489
|
-
hasErrorText() {
|
|
9490
|
-
return this.errorText && this.errorText !== "" ? !0 : this.errorText;
|
|
9491
|
+
type: String,
|
|
9492
|
+
default: ""
|
|
9491
9493
|
}
|
|
9492
9494
|
}
|
|
9493
9495
|
};
|
|
9494
9496
|
function Pg(e, s, t, a, n, i) {
|
|
9495
9497
|
const r = g("ecs-text");
|
|
9496
9498
|
return o(), l("div", {
|
|
9497
|
-
class: y(["ecs-form-group", t.error
|
|
9499
|
+
class: y(["ecs-form-group", { error: t.error, warning: t.warning }])
|
|
9498
9500
|
}, [
|
|
9499
9501
|
p(e.$slots, "default", {}, void 0, !0),
|
|
9500
|
-
|
|
9502
|
+
t.helpText ? (o(), h(r, {
|
|
9501
9503
|
key: 0,
|
|
9502
9504
|
innerHTML: t.helpText,
|
|
9503
9505
|
type: "form"
|
|
9504
9506
|
}, null, 8, ["innerHTML"])) : u("", !0),
|
|
9505
|
-
|
|
9507
|
+
t.errorText ? (o(), h(r, {
|
|
9506
9508
|
key: 1,
|
|
9507
9509
|
innerHTML: t.errorText,
|
|
9508
9510
|
type: "form",
|
|
9509
9511
|
color: "negative"
|
|
9510
9512
|
}, null, 8, ["innerHTML"])) : u("", !0),
|
|
9511
|
-
|
|
9513
|
+
t.warningText ? (o(), h(r, {
|
|
9512
9514
|
key: 2,
|
|
9515
|
+
innerHTML: t.warningText,
|
|
9516
|
+
type: "form",
|
|
9517
|
+
color: "warning"
|
|
9518
|
+
}, null, 8, ["innerHTML"])) : u("", !0),
|
|
9519
|
+
t.successText ? (o(), h(r, {
|
|
9520
|
+
key: 3,
|
|
9513
9521
|
innerHTML: t.successText,
|
|
9514
9522
|
type: "form",
|
|
9515
9523
|
color: "positive",
|
|
@@ -9517,7 +9525,7 @@ function Pg(e, s, t, a, n, i) {
|
|
|
9517
9525
|
}, null, 8, ["innerHTML"])) : u("", !0)
|
|
9518
9526
|
], 2);
|
|
9519
9527
|
}
|
|
9520
|
-
const Tg = /* @__PURE__ */ v($g, [["render", Pg], ["__scopeId", "data-v-
|
|
9528
|
+
const Tg = /* @__PURE__ */ v($g, [["render", Pg], ["__scopeId", "data-v-42feea1d"]]), Mg = {}, Lg = { class: "ecs-form-headline" }, Og = { class: "ecs-form-headline-main" }, Ag = {
|
|
9521
9529
|
key: 0,
|
|
9522
9530
|
class: "ecs-form-headline-controls"
|
|
9523
9531
|
};
|
|
@@ -9597,7 +9605,7 @@ const m_ = /* @__PURE__ */ v(Dg, [["render", Vg], ["__scopeId", "data-v-c9188464
|
|
|
9597
9605
|
return this.color ? this.type === "background" ? {
|
|
9598
9606
|
"--ecs-highlight-background": this.color
|
|
9599
9607
|
} : {
|
|
9600
|
-
"--ecs-highlight-background":
|
|
9608
|
+
"--ecs-highlight-background": C(this.color).setAlpha(0.1).toRgbString(),
|
|
9601
9609
|
"--ecs-highlight-border": this.color
|
|
9602
9610
|
} : this.type === "background" ? {
|
|
9603
9611
|
"--ecs-highlight-background": "var(--color-yellow-3)"
|
|
@@ -9635,7 +9643,7 @@ function qg(e, s, t, a, n, i) {
|
|
|
9635
9643
|
i.showHighlight ? (o(), l("div", {
|
|
9636
9644
|
key: 0,
|
|
9637
9645
|
class: y(["ecs-highlight", [i.classes]]),
|
|
9638
|
-
style:
|
|
9646
|
+
style: x({ ...i.highlightColor, ...i.borderRadiusStyle, ...i.insetStyles })
|
|
9639
9647
|
}, [
|
|
9640
9648
|
t.layout === "wrap" ? p(e.$slots, "default", { key: 0 }, void 0, !0) : u("", !0)
|
|
9641
9649
|
], 6)) : u("", !0)
|
|
@@ -10170,10 +10178,10 @@ const k_ = /* @__PURE__ */ v(km, [["render", wm]]), Sm = {
|
|
|
10170
10178
|
this.$emit("indexPosKeyPressed", e), e.stopPropagation(), e.key == "Enter" && e.preventDefault();
|
|
10171
10179
|
}
|
|
10172
10180
|
}
|
|
10173
|
-
},
|
|
10181
|
+
}, Cm = {
|
|
10174
10182
|
key: 0,
|
|
10175
10183
|
class: "ecs-viewer-toolbar-jumper-inputs"
|
|
10176
|
-
},
|
|
10184
|
+
}, xm = ["disabled"];
|
|
10177
10185
|
function Bm(e, s, t, a, n, i) {
|
|
10178
10186
|
const r = g("ecs-button-toolbar"), c = g("ecs-button-toolbar-group");
|
|
10179
10187
|
return o(), h(c, { class: "ecs-viewer-toolbar-jumper" }, {
|
|
@@ -10186,7 +10194,7 @@ function Bm(e, s, t, a, n, i) {
|
|
|
10186
10194
|
icon: "toolbar-page-navigation",
|
|
10187
10195
|
"aria-label": i.ariaLabelPrev
|
|
10188
10196
|
}, null, 8, ["disabled", "title", "aria-label"]),
|
|
10189
|
-
t.showCount ? (o(), l("div",
|
|
10197
|
+
t.showCount ? (o(), l("div", Cm, [
|
|
10190
10198
|
f("div", {
|
|
10191
10199
|
onClick: s[1] || (s[1] = (d) => e.$emit("selectCurEntryText")),
|
|
10192
10200
|
onKeydown: s[2] || (s[2] = (...d) => i.indexPosKeyPressed && i.indexPosKeyPressed(...d)),
|
|
@@ -10195,7 +10203,7 @@ function Bm(e, s, t, a, n, i) {
|
|
|
10195
10203
|
class: "ecs-viewer-toolbar-jumper-input",
|
|
10196
10204
|
disabled: t.navigating || null,
|
|
10197
10205
|
id: "currEntry"
|
|
10198
|
-
}, w(t.currentEntry), 41,
|
|
10206
|
+
}, w(t.currentEntry), 41, xm),
|
|
10199
10207
|
D(" / "),
|
|
10200
10208
|
f("div", null, w(t.totalEntries), 1)
|
|
10201
10209
|
])) : u("", !0),
|
|
@@ -10421,7 +10429,7 @@ function jm(e, s, t, a, n, i) {
|
|
|
10421
10429
|
])
|
|
10422
10430
|
]);
|
|
10423
10431
|
}
|
|
10424
|
-
const
|
|
10432
|
+
const C_ = /* @__PURE__ */ v(Mm, [["render", jm], ["__scopeId", "data-v-0346f2c1"]]), Um = {
|
|
10425
10433
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
10426
10434
|
name: "ecs-pane",
|
|
10427
10435
|
inject: ["requestUpdate", "onPaneAdd", "onPaneRemove", "onPaneClick"],
|
|
@@ -10475,7 +10483,7 @@ function Gm(e, s, t, a, n, i) {
|
|
|
10475
10483
|
return o(), l("div", {
|
|
10476
10484
|
class: "ecs-pane",
|
|
10477
10485
|
onClick: s[0] || (s[0] = (r) => i.onPaneClick(r, e._.uid)),
|
|
10478
|
-
style:
|
|
10486
|
+
style: x(e.style)
|
|
10479
10487
|
}, [
|
|
10480
10488
|
p(e.$slots, "default")
|
|
10481
10489
|
], 4);
|
|
@@ -10876,14 +10884,14 @@ function ep(e, s, t, a, n, i) {
|
|
|
10876
10884
|
e.$slots.sidebar ? (o(), l("div", {
|
|
10877
10885
|
key: 0,
|
|
10878
10886
|
class: y(["ecs-index-layout-sidebar", [t.overlaySidebar ? "overlay" : ""]]),
|
|
10879
|
-
style:
|
|
10887
|
+
style: x(i.sidebarPosition)
|
|
10880
10888
|
}, [
|
|
10881
10889
|
p(e.$slots, "sidebar", {}, void 0, !0)
|
|
10882
10890
|
], 6)) : u("", !0)
|
|
10883
10891
|
], 2)
|
|
10884
10892
|
], 2);
|
|
10885
10893
|
}
|
|
10886
|
-
const
|
|
10894
|
+
const x_ = /* @__PURE__ */ v(Xm, [["render", ep], ["__scopeId", "data-v-60a69d4e"]]), tp = {
|
|
10887
10895
|
name: "ecs-layout-directory",
|
|
10888
10896
|
props: {
|
|
10889
10897
|
/** Adds some inner padding to the index content area. Should be used for non-table indexes. */
|
|
@@ -10922,7 +10930,7 @@ function rp(e, s, t, a, n, i) {
|
|
|
10922
10930
|
}
|
|
10923
10931
|
const B_ = /* @__PURE__ */ v(tp, [["render", rp], ["__scopeId", "data-v-f5afc4e6"]]), lp = {
|
|
10924
10932
|
name: "ecs-layout-data-table",
|
|
10925
|
-
components: { EcsActionToolbar: Si, EcsButton:
|
|
10933
|
+
components: { EcsActionToolbar: Si, EcsButton: Ce },
|
|
10926
10934
|
mixins: [ue],
|
|
10927
10935
|
props: {
|
|
10928
10936
|
/** Needs to be set when the edit/view sidebar is expanded. */
|
|
@@ -11111,7 +11119,7 @@ function kp(e, s, t, a, n, i) {
|
|
|
11111
11119
|
default: S(() => [
|
|
11112
11120
|
f("div", {
|
|
11113
11121
|
class: y(["ecs-legend-item-color", t.type]),
|
|
11114
|
-
style:
|
|
11122
|
+
style: x({ backgroundColor: t.color })
|
|
11115
11123
|
}, null, 6),
|
|
11116
11124
|
f("div", yp, w(t.label), 1),
|
|
11117
11125
|
t.count ? (o(), l("div", bp, w(t.count), 1)) : u("", !0),
|
|
@@ -11119,7 +11127,7 @@ function kp(e, s, t, a, n, i) {
|
|
|
11119
11127
|
t.highlight || t.hover ? (o(), l("div", {
|
|
11120
11128
|
key: 2,
|
|
11121
11129
|
class: "ecs-legend-item-highlight",
|
|
11122
|
-
style:
|
|
11130
|
+
style: x({ backgroundColor: t.color })
|
|
11123
11131
|
}, null, 4)) : u("", !0),
|
|
11124
11132
|
t.hover ? (o(), h(r, { key: 3 })) : u("", !0)
|
|
11125
11133
|
]),
|
|
@@ -11168,18 +11176,18 @@ const I_ = /* @__PURE__ */ v(vp, [["render", kp], ["__scopeId", "data-v-6d506293
|
|
|
11168
11176
|
return ["warning", "error"].includes(this.type) ? "alert" : null;
|
|
11169
11177
|
}
|
|
11170
11178
|
}
|
|
11171
|
-
}, Sp = { class: "ecs-log-message-content" },
|
|
11179
|
+
}, Sp = { class: "ecs-log-message-content" }, Cp = {
|
|
11172
11180
|
key: 2,
|
|
11173
11181
|
class: "ecs-log-message-meta"
|
|
11174
11182
|
};
|
|
11175
|
-
function
|
|
11183
|
+
function xp(e, s, t, a, n, i) {
|
|
11176
11184
|
const r = g("ecs-skeleton-loader"), c = g("ecs-sticker"), d = g("ecs-flex-row");
|
|
11177
11185
|
return o(), h(d, {
|
|
11178
11186
|
class: y(["ecs-log-message", [t.type, t.highlight ? "highlighted" : ""]]),
|
|
11179
11187
|
role: i.alertRole,
|
|
11180
11188
|
"aria-busy": t.loading || null,
|
|
11181
11189
|
align: "start",
|
|
11182
|
-
style:
|
|
11190
|
+
style: x(i.padding)
|
|
11183
11191
|
}, {
|
|
11184
11192
|
default: S(() => [
|
|
11185
11193
|
t.loading && t.type != "blank" ? (o(), h(r, {
|
|
@@ -11199,12 +11207,12 @@ function Cp(e, s, t, a, n, i) {
|
|
|
11199
11207
|
class: "skeleton-text"
|
|
11200
11208
|
})) : p(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
11201
11209
|
]),
|
|
11202
|
-
t.meta && !t.loading ? (o(), l("div",
|
|
11210
|
+
t.meta && !t.loading ? (o(), l("div", Cp, w(t.meta), 1)) : u("", !0)
|
|
11203
11211
|
]),
|
|
11204
11212
|
_: 3
|
|
11205
11213
|
}, 8, ["class", "role", "aria-busy", "style"]);
|
|
11206
11214
|
}
|
|
11207
|
-
const E_ = /* @__PURE__ */ v(wp, [["render",
|
|
11215
|
+
const E_ = /* @__PURE__ */ v(wp, [["render", xp], ["__scopeId", "data-v-d461aa9b"]]), Bp = {
|
|
11208
11216
|
name: "ecs-map",
|
|
11209
11217
|
components: { EcsFocusRing: L },
|
|
11210
11218
|
props: {
|
|
@@ -11315,7 +11323,7 @@ function Ap(e, s, t, a, n, i) {
|
|
|
11315
11323
|
}, [
|
|
11316
11324
|
f("div", {
|
|
11317
11325
|
class: "ecs-modal-dialog ecs-modal-sheet",
|
|
11318
|
-
style:
|
|
11326
|
+
style: x(i.fixedHeightStyle)
|
|
11319
11327
|
}, [
|
|
11320
11328
|
e.$slots.header ? (o(), l("div", Tp, [
|
|
11321
11329
|
p(e.$slots, "header", {}, void 0, !0)
|
|
@@ -11337,7 +11345,7 @@ const P_ = /* @__PURE__ */ v($p, [["render", Ap], ["__scopeId", "data-v-8be29ca7
|
|
|
11337
11345
|
name: "ecs-modal-header",
|
|
11338
11346
|
emits: ["close"],
|
|
11339
11347
|
components: {
|
|
11340
|
-
EcsButton:
|
|
11348
|
+
EcsButton: Ce,
|
|
11341
11349
|
EcsFocusRing: L
|
|
11342
11350
|
},
|
|
11343
11351
|
props: {
|
|
@@ -11900,11 +11908,11 @@ const A_ = /* @__PURE__ */ v(oh, [["render", lh], ["__scopeId", "data-v-e28fc40f
|
|
|
11900
11908
|
}, wh = { class: "ecs-overlay-footer-content" }, Sh = {
|
|
11901
11909
|
key: 0,
|
|
11902
11910
|
class: "spacer-sidebar"
|
|
11903
|
-
},
|
|
11911
|
+
}, Ch = {
|
|
11904
11912
|
key: 1,
|
|
11905
11913
|
class: "spacer-scrollbar"
|
|
11906
11914
|
};
|
|
11907
|
-
function
|
|
11915
|
+
function xh(e, s, t, a, n, i) {
|
|
11908
11916
|
const r = g("ecs-icon"), c = g("ecs-button-toolbar"), d = g("ecs-alert");
|
|
11909
11917
|
return o(), h(pe, {
|
|
11910
11918
|
name: "fade",
|
|
@@ -11914,11 +11922,11 @@ function Ch(e, s, t, a, n, i) {
|
|
|
11914
11922
|
n.isShown ? (o(), l("div", {
|
|
11915
11923
|
key: 0,
|
|
11916
11924
|
class: "ecs-overlay",
|
|
11917
|
-
style:
|
|
11925
|
+
style: x({ top: t.offsetTop + "px", height: "calc(100vh - " + t.offsetTop + "px" })
|
|
11918
11926
|
}, [
|
|
11919
11927
|
f("header", {
|
|
11920
11928
|
class: "ecs-overlay-header",
|
|
11921
|
-
style:
|
|
11929
|
+
style: x(e.$slots.alert ? "" : "border-bottom: 1px solid var(--color-gray-4);")
|
|
11922
11930
|
}, [
|
|
11923
11931
|
f("div", dh, [
|
|
11924
11932
|
t.icon ? (o(), h(r, {
|
|
@@ -11986,7 +11994,7 @@ function Ch(e, s, t, a, n, i) {
|
|
|
11986
11994
|
}, [
|
|
11987
11995
|
f("div", {
|
|
11988
11996
|
class: y(["ecs-overlay-content-inner-inner", e.$slots.sidebar && !t.fullWidth && n.width > 1500 ? "has-sidebar" : " "]),
|
|
11989
|
-
style:
|
|
11997
|
+
style: x({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
11990
11998
|
}, [
|
|
11991
11999
|
p(e.$slots, "default", {}, void 0, !0)
|
|
11992
12000
|
], 6),
|
|
@@ -12009,12 +12017,12 @@ function Ch(e, s, t, a, n, i) {
|
|
|
12009
12017
|
f("div", wh, [
|
|
12010
12018
|
f("div", {
|
|
12011
12019
|
class: "ecs-overlay-footer-content-inner",
|
|
12012
|
-
style:
|
|
12020
|
+
style: x({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
12013
12021
|
}, [
|
|
12014
12022
|
p(e.$slots, "footer", {}, void 0, !0)
|
|
12015
12023
|
], 4),
|
|
12016
12024
|
e.$slots.sidebar && n.width > 1500 ? (o(), l("div", Sh)) : u("", !0),
|
|
12017
|
-
n.footerScrollSpacer ? (o(), l("div",
|
|
12025
|
+
n.footerScrollSpacer ? (o(), l("div", Ch)) : u("", !0)
|
|
12018
12026
|
])
|
|
12019
12027
|
])) : u("", !0)
|
|
12020
12028
|
], 4)) : u("", !0)
|
|
@@ -12022,11 +12030,11 @@ function Ch(e, s, t, a, n, i) {
|
|
|
12022
12030
|
_: 3
|
|
12023
12031
|
});
|
|
12024
12032
|
}
|
|
12025
|
-
const N_ = /* @__PURE__ */ v(ch, [["render",
|
|
12033
|
+
const N_ = /* @__PURE__ */ v(ch, [["render", xh], ["__scopeId", "data-v-ba8a417e"]]), Bh = {
|
|
12026
12034
|
name: "ecs-pagination",
|
|
12027
12035
|
emits: ["firstPage", "prevPage", "nextPage", "lastPage", "updatePage", "itemsPerPage"],
|
|
12028
12036
|
components: {
|
|
12029
|
-
EcsButton:
|
|
12037
|
+
EcsButton: Ce,
|
|
12030
12038
|
EcsSelect: js,
|
|
12031
12039
|
EcsFlexRow: Te,
|
|
12032
12040
|
EcsIcon: M
|
|
@@ -12144,7 +12152,7 @@ function Lh(e, s, t, a, n, i) {
|
|
|
12144
12152
|
_(c, {
|
|
12145
12153
|
gap: 8,
|
|
12146
12154
|
class: "ecs-pagination-nav",
|
|
12147
|
-
style:
|
|
12155
|
+
style: x({ minWidth: t.tabsSpacing - 4 + "px" })
|
|
12148
12156
|
}, {
|
|
12149
12157
|
default: S(() => [
|
|
12150
12158
|
t.type == "paginated" ? (o(), l(X, { key: 0 }, [
|
|
@@ -12356,13 +12364,13 @@ function Nh(e, s, t, a, n, i) {
|
|
|
12356
12364
|
const r = g("ecs-icon"), c = g("ecs-sticker");
|
|
12357
12365
|
return o(), l("div", {
|
|
12358
12366
|
class: y(["ecs-party-entry", [t.party, t.color && t.background ? "ecs-party-entry-colored" : ""]]),
|
|
12359
|
-
style:
|
|
12367
|
+
style: x({ color: t.color })
|
|
12360
12368
|
}, [
|
|
12361
12369
|
t.icon && t.iconPosition == "left" ? (o(), h(r, {
|
|
12362
12370
|
key: 0,
|
|
12363
12371
|
type: i.iconType,
|
|
12364
12372
|
color: i.iconColor,
|
|
12365
|
-
style:
|
|
12373
|
+
style: x("margin-right:" + t.iconSpacing),
|
|
12366
12374
|
size: t.iconSize
|
|
12367
12375
|
}, null, 8, ["type", "color", "style", "size"])) : u("", !0),
|
|
12368
12376
|
t.shared ? (o(), h(c, {
|
|
@@ -12376,7 +12384,7 @@ function Nh(e, s, t, a, n, i) {
|
|
|
12376
12384
|
key: 2,
|
|
12377
12385
|
type: i.iconType,
|
|
12378
12386
|
color: i.iconColor,
|
|
12379
|
-
style:
|
|
12387
|
+
style: x("margin-left:" + t.iconSpacing),
|
|
12380
12388
|
size: t.iconSize
|
|
12381
12389
|
}, null, 8, ["type", "color", "style", "size"])) : u("", !0),
|
|
12382
12390
|
t.background ? (o(), l("div", Ah)) : u("", !0)
|
|
@@ -12845,7 +12853,7 @@ const H_ = /* @__PURE__ */ v(iv, [["render", vv], ["__scopeId", "data-v-c6ffbe27
|
|
|
12845
12853
|
}, vt = (e) => (be("data-v-f63b724f"), e = e(), _e(), e), bv = {
|
|
12846
12854
|
key: 0,
|
|
12847
12855
|
class: "ecs-rating-reset"
|
|
12848
|
-
}, _v = { class: "ecs-rating-write" }, kv = ["checked", "disabled"], wv = /* @__PURE__ */ vt(() => /* @__PURE__ */ f("i", null, null, -1)), Sv = ["checked", "disabled"],
|
|
12856
|
+
}, _v = { class: "ecs-rating-write" }, kv = ["checked", "disabled"], wv = /* @__PURE__ */ vt(() => /* @__PURE__ */ f("i", null, null, -1)), Sv = ["checked", "disabled"], Cv = /* @__PURE__ */ vt(() => /* @__PURE__ */ f("i", null, null, -1)), xv = ["checked", "disabled"], Bv = /* @__PURE__ */ vt(() => /* @__PURE__ */ f("i", null, null, -1)), zv = ["checked", "disabled"], Iv = /* @__PURE__ */ vt(() => /* @__PURE__ */ f("i", null, null, -1));
|
|
12849
12857
|
function Ev(e, s, t, a, n, i) {
|
|
12850
12858
|
return o(), l("div", {
|
|
12851
12859
|
class: y(["ecs-rating-form", [t.large ? "ecs-rating-form-lg" : ""]])
|
|
@@ -12869,7 +12877,7 @@ function Ev(e, s, t, a, n, i) {
|
|
|
12869
12877
|
checked: t.value == 2 || null,
|
|
12870
12878
|
disabled: t.disabled
|
|
12871
12879
|
}, null, 8, Sv),
|
|
12872
|
-
|
|
12880
|
+
Cv,
|
|
12873
12881
|
f("input", {
|
|
12874
12882
|
type: "radio",
|
|
12875
12883
|
value: "3",
|
|
@@ -12877,7 +12885,7 @@ function Ev(e, s, t, a, n, i) {
|
|
|
12877
12885
|
onClick: s[2] || (s[2] = (r) => e.$emit("click", r)),
|
|
12878
12886
|
checked: t.value == 3 || null,
|
|
12879
12887
|
disabled: t.disabled
|
|
12880
|
-
}, null, 8,
|
|
12888
|
+
}, null, 8, xv),
|
|
12881
12889
|
Bv,
|
|
12882
12890
|
f("input", {
|
|
12883
12891
|
type: "radio",
|
|
@@ -13287,7 +13295,7 @@ function cy(e, s, t, a, n, i) {
|
|
|
13287
13295
|
const r = g("ecs-tab-bar"), c = g("ecs-tabs");
|
|
13288
13296
|
return o(), l("aside", {
|
|
13289
13297
|
class: y(["ecs-sidebar", [i.sizeClass, i.expandClass]]),
|
|
13290
|
-
style:
|
|
13298
|
+
style: x(i.height)
|
|
13291
13299
|
}, [
|
|
13292
13300
|
f("div", ly, [
|
|
13293
13301
|
_(r, { type: "sidebar" }, {
|
|
@@ -13427,23 +13435,23 @@ const J_ = /* @__PURE__ */ v(my, [["render", ky], ["__scopeId", "data-v-da9abc3f
|
|
|
13427
13435
|
default: !1
|
|
13428
13436
|
}
|
|
13429
13437
|
}
|
|
13430
|
-
}, Sy = { class: "ecs-structured-content-left" },
|
|
13438
|
+
}, Sy = { class: "ecs-structured-content-left" }, Cy = {
|
|
13431
13439
|
key: 0,
|
|
13432
13440
|
class: "ecs-structured-content-right"
|
|
13433
13441
|
};
|
|
13434
|
-
function
|
|
13442
|
+
function xy(e, s, t, a, n, i) {
|
|
13435
13443
|
return o(), l("div", {
|
|
13436
13444
|
class: y(["ecs-structured-content", t.vertical ? "ecs-structured-content-vertical" : ""])
|
|
13437
13445
|
}, [
|
|
13438
13446
|
f("div", Sy, [
|
|
13439
13447
|
p(e.$slots, "default", {}, void 0, !0)
|
|
13440
13448
|
]),
|
|
13441
|
-
e.$slots.extend ? (o(), l("div",
|
|
13449
|
+
e.$slots.extend ? (o(), l("div", Cy, [
|
|
13442
13450
|
p(e.$slots, "extend", {}, void 0, !0)
|
|
13443
13451
|
])) : u("", !0)
|
|
13444
13452
|
], 2);
|
|
13445
13453
|
}
|
|
13446
|
-
const Q_ = /* @__PURE__ */ v(wy, [["render",
|
|
13454
|
+
const Q_ = /* @__PURE__ */ v(wy, [["render", xy], ["__scopeId", "data-v-cec887e2"]]), By = {
|
|
13447
13455
|
name: "ecs-swatches-picker",
|
|
13448
13456
|
emits: ["update:modelValue"],
|
|
13449
13457
|
props: {
|
|
@@ -13513,7 +13521,7 @@ function Iy(e, s, t, a, n, i) {
|
|
|
13513
13521
|
"aria-label": r.title,
|
|
13514
13522
|
"aria-checked": n.selectedColor == r.hex ? "true" : "false",
|
|
13515
13523
|
class: y(["ecs-swatches-color", n.selectedColor == r.hex ? "active" : ""]),
|
|
13516
|
-
style:
|
|
13524
|
+
style: x({ backgroundColor: r.hex, color: r.hex })
|
|
13517
13525
|
}, null, 46, zy))), 128))
|
|
13518
13526
|
], 2);
|
|
13519
13527
|
}
|
|
@@ -13737,7 +13745,7 @@ const s0 = /* @__PURE__ */ v(Ty, [["render", Ny], ["__scopeId", "data-v-5098e4d3
|
|
|
13737
13745
|
},
|
|
13738
13746
|
colorIsDark() {
|
|
13739
13747
|
if (this.color && this.color !== "")
|
|
13740
|
-
return
|
|
13748
|
+
return C(this.color).isDark();
|
|
13741
13749
|
},
|
|
13742
13750
|
customColorStyle() {
|
|
13743
13751
|
if (this.loading)
|
|
@@ -13747,11 +13755,11 @@ const s0 = /* @__PURE__ */ v(Ty, [["render", Ny], ["__scopeId", "data-v-5098e4d3
|
|
|
13747
13755
|
};
|
|
13748
13756
|
if (this.color && this.color !== "")
|
|
13749
13757
|
return this.colorIsDark ? {
|
|
13750
|
-
background:
|
|
13751
|
-
color:
|
|
13758
|
+
background: C(this.color).toRgbString(),
|
|
13759
|
+
color: C(this.color).lighten(65).toRgbString()
|
|
13752
13760
|
} : {
|
|
13753
|
-
background:
|
|
13754
|
-
color:
|
|
13761
|
+
background: C(this.color).toRgbString(),
|
|
13762
|
+
color: C(this.color).darken(65).toRgbString()
|
|
13755
13763
|
};
|
|
13756
13764
|
}
|
|
13757
13765
|
},
|
|
@@ -13774,7 +13782,7 @@ function Hy(e, s, t, a, n, i) {
|
|
|
13774
13782
|
t.loading ? "loading" : ""
|
|
13775
13783
|
]]),
|
|
13776
13784
|
onClick: s[0] || (s[0] = (...d) => i.handleClick && i.handleClick(...d)),
|
|
13777
|
-
style:
|
|
13785
|
+
style: x(i.customColorStyle),
|
|
13778
13786
|
role: t.hover ? "button" : !1,
|
|
13779
13787
|
tabindex: t.hover ? "0" : "-1",
|
|
13780
13788
|
"aria-busy": t.loading || null
|
|
@@ -14302,7 +14310,7 @@ const u0 = /* @__PURE__ */ v(hb, [["render", kb], ["__scopeId", "data-v-a2927d0c
|
|
|
14302
14310
|
*/
|
|
14303
14311
|
}
|
|
14304
14312
|
}, Sb = ["poster", "autoplay", "loop", "controls", "src"];
|
|
14305
|
-
function
|
|
14313
|
+
function Cb(e, s, t, a, n, i) {
|
|
14306
14314
|
return o(), l("video", {
|
|
14307
14315
|
poster: t.posterImage,
|
|
14308
14316
|
autoplay: t.autoplay,
|
|
@@ -14312,7 +14320,7 @@ function xb(e, s, t, a, n, i) {
|
|
|
14312
14320
|
src: t.mp4Source
|
|
14313
14321
|
}, null, 8, Sb);
|
|
14314
14322
|
}
|
|
14315
|
-
const f0 = /* @__PURE__ */ v(wb, [["render",
|
|
14323
|
+
const f0 = /* @__PURE__ */ v(wb, [["render", Cb], ["__scopeId", "data-v-ce84fcb3"]]);
|
|
14316
14324
|
export {
|
|
14317
14325
|
Si as EcsActionToolbar,
|
|
14318
14326
|
ws as EcsAlert,
|
|
@@ -14323,7 +14331,7 @@ export {
|
|
|
14323
14331
|
Eb as EcsBreadcrumbButton,
|
|
14324
14332
|
$b as EcsBreadcrumbTitle,
|
|
14325
14333
|
Pb as EcsBulkSelector,
|
|
14326
|
-
|
|
14334
|
+
Ce as EcsButton,
|
|
14327
14335
|
Ht as EcsButtonCollapse,
|
|
14328
14336
|
Mb as EcsButtonContext,
|
|
14329
14337
|
Lb as EcsButtonContextGroup,
|
|
@@ -14392,10 +14400,10 @@ export {
|
|
|
14392
14400
|
wg as EcsInputSearch,
|
|
14393
14401
|
w_ as EcsJumperDocument,
|
|
14394
14402
|
S_ as EcsJumperIndex,
|
|
14395
|
-
|
|
14403
|
+
C_ as EcsJumperPage,
|
|
14396
14404
|
z_ as EcsLayoutDataTable,
|
|
14397
14405
|
B_ as EcsLayoutDirectory,
|
|
14398
|
-
|
|
14406
|
+
x_ as EcsLayoutIndex,
|
|
14399
14407
|
I_ as EcsLegendItem,
|
|
14400
14408
|
E_ as EcsLogMessage,
|
|
14401
14409
|
$_ as EcsMap,
|
|
@@ -14416,11 +14424,11 @@ export {
|
|
|
14416
14424
|
fo as EcsPopoverListItem,
|
|
14417
14425
|
kf as EcsProgress,
|
|
14418
14426
|
H_ as EcsQuicklink,
|
|
14419
|
-
|
|
14427
|
+
xa as EcsRadiobutton,
|
|
14420
14428
|
sv as EcsRatingFavorability,
|
|
14421
14429
|
Zh as EcsRatingStarRead,
|
|
14422
14430
|
q_ as EcsRatingStarWrite,
|
|
14423
|
-
|
|
14431
|
+
xg as EcsScrollContainer,
|
|
14424
14432
|
W_ as EcsSection,
|
|
14425
14433
|
j_ as EcsSegment,
|
|
14426
14434
|
js as EcsSelect,
|