@everchron/ec-shards 9.2.3 → 9.4.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 +315 -297
- 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 ue, 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", {
|
|
@@ -223,7 +223,7 @@ const ws = /* @__PURE__ */ v(mi, [["render", bi], ["__scopeId", "data-v-4804812d
|
|
|
223
223
|
"aria-label": "Actions"
|
|
224
224
|
};
|
|
225
225
|
function wi(e, s, t, a, n, i) {
|
|
226
|
-
return o(), h(
|
|
226
|
+
return o(), h(ue, {
|
|
227
227
|
name: "action-bar",
|
|
228
228
|
appear: ""
|
|
229
229
|
}, {
|
|
@@ -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(
|
|
@@ -1904,7 +1904,7 @@ const na = /* @__PURE__ */ v(ta, [["render", ia], ["__scopeId", "data-v-baf3bb28
|
|
|
1904
1904
|
p(J.$slots, "default", {}, void 0, !0)
|
|
1905
1905
|
], 40, aa),
|
|
1906
1906
|
(o(), h(ii, { to: "body" }, [
|
|
1907
|
-
_(
|
|
1907
|
+
_(ue, { name: "fade" }, {
|
|
1908
1908
|
default: S(() => [
|
|
1909
1909
|
e.persistent || c.value ? Ge((o(), l("div", {
|
|
1910
1910
|
key: 0,
|
|
@@ -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)
|
|
@@ -2120,7 +2120,7 @@ function ha(e, s, t, a, n, i) {
|
|
|
2120
2120
|
_: 3
|
|
2121
2121
|
}, 8, ["class", "style"]);
|
|
2122
2122
|
}
|
|
2123
|
-
const nt = /* @__PURE__ */ v(pa, [["render", ha], ["__scopeId", "data-v-b3c32482"]]),
|
|
2123
|
+
const nt = /* @__PURE__ */ v(pa, [["render", ha], ["__scopeId", "data-v-b3c32482"]]), fe = {
|
|
2124
2124
|
data() {
|
|
2125
2125
|
return {
|
|
2126
2126
|
uniqueId: ""
|
|
@@ -2139,7 +2139,7 @@ const nt = /* @__PURE__ */ v(pa, [["render", ha], ["__scopeId", "data-v-b3c32482
|
|
|
2139
2139
|
name: "ecs-checkbox",
|
|
2140
2140
|
emits: ["input", "shiftClick"],
|
|
2141
2141
|
components: { EcsFormCheck: Ft, EcsText: nt },
|
|
2142
|
-
mixins: [
|
|
2142
|
+
mixins: [fe],
|
|
2143
2143
|
props: {
|
|
2144
2144
|
/** Name attribute of the input. */
|
|
2145
2145
|
name: {
|
|
@@ -2274,7 +2274,7 @@ const Vt = /* @__PURE__ */ v(va, [["render", _a], ["__scopeId", "data-v-e15ff286
|
|
|
2274
2274
|
name: "ecs-radiobutton",
|
|
2275
2275
|
emits: ["input", "change"],
|
|
2276
2276
|
components: { EcsFormCheck: Ft, EcsText: nt },
|
|
2277
|
-
mixins: [
|
|
2277
|
+
mixins: [fe],
|
|
2278
2278
|
model: {
|
|
2279
2279
|
prop: "checked",
|
|
2280
2280
|
event: "input"
|
|
@@ -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,11 +2390,11 @@ 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 },
|
|
2397
|
-
mixins: [
|
|
2397
|
+
mixins: [fe],
|
|
2398
2398
|
props: {
|
|
2399
2399
|
/** Sets the name attribute. */
|
|
2400
2400
|
name: {
|
|
@@ -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 = {
|
|
@@ -3910,22 +3910,22 @@ function Lo(e, s, t) {
|
|
|
3910
3910
|
};
|
|
3911
3911
|
}
|
|
3912
3912
|
function ds(e, s, t, a) {
|
|
3913
|
-
var n = [
|
|
3913
|
+
var n = [pe(Math.round(e).toString(16)), pe(Math.round(s).toString(16)), pe(Math.round(t).toString(16))];
|
|
3914
3914
|
return a && n[0].charAt(0) == n[0].charAt(1) && n[1].charAt(0) == n[1].charAt(1) && n[2].charAt(0) == n[2].charAt(1) ? n[0].charAt(0) + n[1].charAt(0) + n[2].charAt(0) : n.join("");
|
|
3915
3915
|
}
|
|
3916
3916
|
function Oo(e, s, t, a, n) {
|
|
3917
|
-
var i = [
|
|
3917
|
+
var i = [pe(Math.round(e).toString(16)), pe(Math.round(s).toString(16)), pe(Math.round(t).toString(16)), pe(Ns(a))];
|
|
3918
3918
|
return n && i[0].charAt(0) == i[0].charAt(1) && i[1].charAt(0) == i[1].charAt(1) && i[2].charAt(0) == i[2].charAt(1) && i[3].charAt(0) == i[3].charAt(1) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
|
|
3919
3919
|
}
|
|
3920
3920
|
function us(e, s, t, a) {
|
|
3921
|
-
var n = [
|
|
3921
|
+
var n = [pe(Ns(a)), pe(Math.round(e).toString(16)), pe(Math.round(s).toString(16)), pe(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)
|
|
@@ -4224,7 +4224,7 @@ function Yo(e) {
|
|
|
4224
4224
|
function Xo(e) {
|
|
4225
4225
|
return typeof e == "string" && e.indexOf("%") != -1;
|
|
4226
4226
|
}
|
|
4227
|
-
function
|
|
4227
|
+
function pe(e) {
|
|
4228
4228
|
return e.length == 1 ? "0" + e : "" + e;
|
|
4229
4229
|
}
|
|
4230
4230
|
function Je(e) {
|
|
@@ -4236,7 +4236,7 @@ function Ns(e) {
|
|
|
4236
4236
|
function gs(e) {
|
|
4237
4237
|
return ne(e) / 255;
|
|
4238
4238
|
}
|
|
4239
|
-
var
|
|
4239
|
+
var me = function() {
|
|
4240
4240
|
var e = "[-\\+]?\\d+%?", s = "[-\\+]?\\d*\\.\\d+%?", t = "(?:" + s + ")|(?:" + e + ")", a = "[\\s|\\(]+(" + t + ")[,|\\s]+(" + t + ")[,|\\s]+(" + t + ")\\s*\\)?", n = "[\\s|\\(]+(" + t + ")[,|\\s]+(" + t + ")[,|\\s]+(" + t + ")[,|\\s]+(" + t + ")\\s*\\)?";
|
|
4241
4241
|
return {
|
|
4242
4242
|
CSS_UNIT: new RegExp(t),
|
|
@@ -4253,7 +4253,7 @@ var ge = function() {
|
|
|
4253
4253
|
};
|
|
4254
4254
|
}();
|
|
4255
4255
|
function ze(e) {
|
|
4256
|
-
return !!
|
|
4256
|
+
return !!me.CSS_UNIT.exec(e);
|
|
4257
4257
|
}
|
|
4258
4258
|
function Zo(e) {
|
|
4259
4259
|
e = e.replace(Eo, "").replace($o, "").toLowerCase();
|
|
@@ -4269,51 +4269,51 @@ function Zo(e) {
|
|
|
4269
4269
|
format: "name"
|
|
4270
4270
|
};
|
|
4271
4271
|
var t;
|
|
4272
|
-
return (t =
|
|
4272
|
+
return (t = me.rgb.exec(e)) ? {
|
|
4273
4273
|
r: t[1],
|
|
4274
4274
|
g: t[2],
|
|
4275
4275
|
b: t[3]
|
|
4276
|
-
} : (t =
|
|
4276
|
+
} : (t = me.rgba.exec(e)) ? {
|
|
4277
4277
|
r: t[1],
|
|
4278
4278
|
g: t[2],
|
|
4279
4279
|
b: t[3],
|
|
4280
4280
|
a: t[4]
|
|
4281
|
-
} : (t =
|
|
4281
|
+
} : (t = me.hsl.exec(e)) ? {
|
|
4282
4282
|
h: t[1],
|
|
4283
4283
|
s: t[2],
|
|
4284
4284
|
l: t[3]
|
|
4285
|
-
} : (t =
|
|
4285
|
+
} : (t = me.hsla.exec(e)) ? {
|
|
4286
4286
|
h: t[1],
|
|
4287
4287
|
s: t[2],
|
|
4288
4288
|
l: t[3],
|
|
4289
4289
|
a: t[4]
|
|
4290
|
-
} : (t =
|
|
4290
|
+
} : (t = me.hsv.exec(e)) ? {
|
|
4291
4291
|
h: t[1],
|
|
4292
4292
|
s: t[2],
|
|
4293
4293
|
v: t[3]
|
|
4294
|
-
} : (t =
|
|
4294
|
+
} : (t = me.hsva.exec(e)) ? {
|
|
4295
4295
|
h: t[1],
|
|
4296
4296
|
s: t[2],
|
|
4297
4297
|
v: t[3],
|
|
4298
4298
|
a: t[4]
|
|
4299
|
-
} : (t =
|
|
4299
|
+
} : (t = me.hex8.exec(e)) ? {
|
|
4300
4300
|
r: ne(t[1]),
|
|
4301
4301
|
g: ne(t[2]),
|
|
4302
4302
|
b: ne(t[3]),
|
|
4303
4303
|
a: gs(t[4]),
|
|
4304
4304
|
format: s ? "name" : "hex8"
|
|
4305
|
-
} : (t =
|
|
4305
|
+
} : (t = me.hex6.exec(e)) ? {
|
|
4306
4306
|
r: ne(t[1]),
|
|
4307
4307
|
g: ne(t[2]),
|
|
4308
4308
|
b: ne(t[3]),
|
|
4309
4309
|
format: s ? "name" : "hex"
|
|
4310
|
-
} : (t =
|
|
4310
|
+
} : (t = me.hex4.exec(e)) ? {
|
|
4311
4311
|
r: ne(t[1] + "" + t[1]),
|
|
4312
4312
|
g: ne(t[2] + "" + t[2]),
|
|
4313
4313
|
b: ne(t[3] + "" + t[3]),
|
|
4314
4314
|
a: gs(t[4] + "" + t[4]),
|
|
4315
4315
|
format: s ? "name" : "hex8"
|
|
4316
|
-
} : (t =
|
|
4316
|
+
} : (t = me.hex3.exec(e)) ? {
|
|
4317
4317
|
r: ne(t[1] + "" + t[1]),
|
|
4318
4318
|
g: ne(t[2] + "" + t[2]),
|
|
4319
4319
|
b: ne(t[3] + "" + t[3]),
|
|
@@ -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: {
|
|
@@ -5087,6 +5087,11 @@ const Rb = /* @__PURE__ */ v(Tr, [["render", Ar], ["__scopeId", "data-v-68234afa
|
|
|
5087
5087
|
/** Sets the count of the collapse control in parenthese next to the headline. */
|
|
5088
5088
|
count: {
|
|
5089
5089
|
type: Number
|
|
5090
|
+
},
|
|
5091
|
+
/** Hides the controls when the collapse is closed */
|
|
5092
|
+
hideControlsWhenCollapsed: {
|
|
5093
|
+
type: Boolean,
|
|
5094
|
+
default: !1
|
|
5090
5095
|
}
|
|
5091
5096
|
},
|
|
5092
5097
|
data() {
|
|
@@ -5172,9 +5177,14 @@ function qr(e, s, t, a, n, i) {
|
|
|
5172
5177
|
inset: 0,
|
|
5173
5178
|
radius: 0
|
|
5174
5179
|
}),
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5180
|
+
_(ue, { name: "fade" }, {
|
|
5181
|
+
default: S(() => [
|
|
5182
|
+
e.$slots.controls && (!t.hideControlsWhenCollapsed || n.isVisible) ? (o(), l("div", Vr, [
|
|
5183
|
+
p(e.$slots, "controls", {}, void 0, !0)
|
|
5184
|
+
])) : u("", !0)
|
|
5185
|
+
]),
|
|
5186
|
+
_: 3
|
|
5187
|
+
})
|
|
5178
5188
|
], 42, Rr)
|
|
5179
5189
|
]),
|
|
5180
5190
|
f("div", {
|
|
@@ -5190,11 +5200,11 @@ function qr(e, s, t, a, n, i) {
|
|
|
5190
5200
|
], 10, Hr)
|
|
5191
5201
|
], 2);
|
|
5192
5202
|
}
|
|
5193
|
-
const Fb = /* @__PURE__ */ v(Nr, [["render", qr], ["__scopeId", "data-v-
|
|
5203
|
+
const Fb = /* @__PURE__ */ v(Nr, [["render", qr], ["__scopeId", "data-v-56e0b99c"]]), Wr = {
|
|
5194
5204
|
name: "ecs-collection-control",
|
|
5195
5205
|
emits: ["toggled", "collectionTooltip"],
|
|
5196
5206
|
components: { EcsIcon: M, EcsFocusRing: L },
|
|
5197
|
-
mixins: [
|
|
5207
|
+
mixins: [fe],
|
|
5198
5208
|
props: {
|
|
5199
5209
|
/** Icon representing the type of selection. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
|
|
5200
5210
|
icon: {
|
|
@@ -5325,7 +5335,7 @@ function Xr(e, s, t, a, n, i) {
|
|
|
5325
5335
|
}, [
|
|
5326
5336
|
f("div", {
|
|
5327
5337
|
class: "ecs-collection-control-list scrollbar scrollbar-sml",
|
|
5328
|
-
style:
|
|
5338
|
+
style: x(i.listMaxHeight)
|
|
5329
5339
|
}, [
|
|
5330
5340
|
p(e.$slots, "default")
|
|
5331
5341
|
], 4)
|
|
@@ -5378,7 +5388,7 @@ function sl(e, s, t, a, n, i) {
|
|
|
5378
5388
|
return t.type === "rect" || t.type === "circle" ? (o(), l("div", {
|
|
5379
5389
|
key: 0,
|
|
5380
5390
|
class: y(["ecs-skeleton skeleton", i.rectClass]),
|
|
5381
|
-
style:
|
|
5391
|
+
style: x({ width: t.width + "px", height: t.height + "px" })
|
|
5382
5392
|
}, null, 6)) : t.type === "multi" ? (o(), l("div", Qr, [
|
|
5383
5393
|
(o(!0), l(X, null, he(parseInt(t.count), (r) => (o(), l("div", {
|
|
5384
5394
|
key: r,
|
|
@@ -5390,14 +5400,14 @@ function sl(e, s, t, a, n, i) {
|
|
|
5390
5400
|
}, [
|
|
5391
5401
|
f("div", {
|
|
5392
5402
|
class: "skeleton skeleton-single",
|
|
5393
|
-
style:
|
|
5403
|
+
style: x({ width: t.width + "%" })
|
|
5394
5404
|
}, null, 4)
|
|
5395
5405
|
], 2));
|
|
5396
5406
|
}
|
|
5397
|
-
const
|
|
5407
|
+
const ge = /* @__PURE__ */ v(Zr, [["render", sl], ["__scopeId", "data-v-75354c78"]]), il = {
|
|
5398
5408
|
name: "ecs-formatted",
|
|
5399
|
-
components: { EcsSkeletonLoader:
|
|
5400
|
-
mixins: [
|
|
5409
|
+
components: { EcsSkeletonLoader: ge },
|
|
5410
|
+
mixins: [fe],
|
|
5401
5411
|
props: {
|
|
5402
5412
|
/** Sets the general font size of the formatted text component to small. */
|
|
5403
5413
|
small: {
|
|
@@ -5445,7 +5455,7 @@ function al(e, s, t, a, n, i) {
|
|
|
5445
5455
|
const Fs = /* @__PURE__ */ v(il, [["render", al]]), ol = {
|
|
5446
5456
|
name: "ecs-comment",
|
|
5447
5457
|
emits: ["edit", "delete"],
|
|
5448
|
-
components: { EcsAvatar: Li, EcsButton:
|
|
5458
|
+
components: { EcsAvatar: Li, EcsButton: Ce, EcsFormatted: Fs, EcsSkeletonLoader: ge },
|
|
5449
5459
|
props: {
|
|
5450
5460
|
/** Name of the user that is the comment author. */
|
|
5451
5461
|
userName: {
|
|
@@ -5564,10 +5574,10 @@ function bl(e, s) {
|
|
|
5564
5574
|
]);
|
|
5565
5575
|
}
|
|
5566
5576
|
const qb = /* @__PURE__ */ v(vl, [["render", bl]]);
|
|
5567
|
-
function
|
|
5577
|
+
function Ct(e = {}, s = 0) {
|
|
5568
5578
|
const t = e && e.a;
|
|
5569
5579
|
let a;
|
|
5570
|
-
e && e.hsl ? a =
|
|
5580
|
+
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
5581
|
const n = a.toHsl(), i = a.toHsv();
|
|
5572
5582
|
return n.s === 0 && (i.h = n.h = e.h || e.hsl && e.hsl.h || s || 0), {
|
|
5573
5583
|
hsl: n,
|
|
@@ -5584,7 +5594,7 @@ const _l = {
|
|
|
5584
5594
|
props: ["modelValue"],
|
|
5585
5595
|
data() {
|
|
5586
5596
|
return {
|
|
5587
|
-
val:
|
|
5597
|
+
val: Ct(this.modelValue)
|
|
5588
5598
|
};
|
|
5589
5599
|
},
|
|
5590
5600
|
computed: {
|
|
@@ -5599,15 +5609,15 @@ const _l = {
|
|
|
5599
5609
|
},
|
|
5600
5610
|
watch: {
|
|
5601
5611
|
modelValue(e) {
|
|
5602
|
-
this.val =
|
|
5612
|
+
this.val = Ct(e);
|
|
5603
5613
|
}
|
|
5604
5614
|
},
|
|
5605
5615
|
methods: {
|
|
5606
5616
|
colorChange(e, s) {
|
|
5607
|
-
this.oldHue = this.colors.hsl.h, this.colors =
|
|
5617
|
+
this.oldHue = this.colors.hsl.h, this.colors = Ct(e, s || this.oldHue);
|
|
5608
5618
|
},
|
|
5609
5619
|
isValidHex(e) {
|
|
5610
|
-
return
|
|
5620
|
+
return C(e).isValid();
|
|
5611
5621
|
},
|
|
5612
5622
|
simpleCheckForValidColor(e) {
|
|
5613
5623
|
const s = ["r", "g", "b", "a", "h", "s", "l", "v"];
|
|
@@ -5623,7 +5633,7 @@ const _l = {
|
|
|
5623
5633
|
return e.map((s) => s.toUpperCase());
|
|
5624
5634
|
},
|
|
5625
5635
|
isTransparent(e) {
|
|
5626
|
-
return
|
|
5636
|
+
return C(e).getAlpha() === 0;
|
|
5627
5637
|
}
|
|
5628
5638
|
}
|
|
5629
5639
|
}, kl = {
|
|
@@ -5687,7 +5697,7 @@ const _l = {
|
|
|
5687
5697
|
// console.log(e)
|
|
5688
5698
|
// }
|
|
5689
5699
|
}
|
|
5690
|
-
}, wl = { class: "ecs-editable-input" }, Sl = ["aria-labelledby"],
|
|
5700
|
+
}, wl = { class: "ecs-editable-input" }, Sl = ["aria-labelledby"], Cl = ["for", "id"], xl = { class: "ecs-input__desc" };
|
|
5691
5701
|
function Bl(e, s, t, a, n, i) {
|
|
5692
5702
|
return o(), l("div", wl, [
|
|
5693
5703
|
Ge(f("input", {
|
|
@@ -5704,8 +5714,8 @@ function Bl(e, s, t, a, n, i) {
|
|
|
5704
5714
|
for: t.label,
|
|
5705
5715
|
class: "ecs-input__label",
|
|
5706
5716
|
id: i.labelId
|
|
5707
|
-
}, w(i.labelSpanText), 9,
|
|
5708
|
-
f("span",
|
|
5717
|
+
}, w(i.labelSpanText), 9, Cl),
|
|
5718
|
+
f("span", xl, w(t.desc), 1)
|
|
5709
5719
|
]);
|
|
5710
5720
|
}
|
|
5711
5721
|
const zl = /* @__PURE__ */ v(kl, [["render", Bl]]);
|
|
@@ -5773,12 +5783,12 @@ function kc(e) {
|
|
|
5773
5783
|
var t = yc.test(e);
|
|
5774
5784
|
return t || bc.test(e) ? _c(e.slice(2), t ? 2 : 8) : vc.test(e) ? ys : +e;
|
|
5775
5785
|
}
|
|
5776
|
-
var wc = kc, Sc = jt,
|
|
5786
|
+
var wc = kc, Sc = jt, xt = Dl, bs = wc, Cc = "Expected a function", xc = Math.max, Bc = Math.min;
|
|
5777
5787
|
function zc(e, s, t) {
|
|
5778
5788
|
var a, n, i, r, c, d, m = 0, b = !1, k = !1, z = !0;
|
|
5779
5789
|
if (typeof e != "function")
|
|
5780
|
-
throw new TypeError(
|
|
5781
|
-
s = bs(s) || 0, Sc(t) && (b = !!t.leading, k = "maxWait" in t, i = k ?
|
|
5790
|
+
throw new TypeError(Cc);
|
|
5791
|
+
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
5792
|
function I(E) {
|
|
5783
5793
|
var N = a, F = n;
|
|
5784
5794
|
return a = n = void 0, m = E, r = e.apply(F, N), r;
|
|
@@ -5795,7 +5805,7 @@ function zc(e, s, t) {
|
|
|
5795
5805
|
return d === void 0 || N >= s || N < 0 || k && F >= i;
|
|
5796
5806
|
}
|
|
5797
5807
|
function O() {
|
|
5798
|
-
var E =
|
|
5808
|
+
var E = xt();
|
|
5799
5809
|
if (T(E))
|
|
5800
5810
|
return R(E);
|
|
5801
5811
|
c = setTimeout(O, $(E));
|
|
@@ -5807,10 +5817,10 @@ function zc(e, s, t) {
|
|
|
5807
5817
|
c !== void 0 && clearTimeout(c), m = 0, a = d = n = c = void 0;
|
|
5808
5818
|
}
|
|
5809
5819
|
function P() {
|
|
5810
|
-
return c === void 0 ? r : R(
|
|
5820
|
+
return c === void 0 ? r : R(xt());
|
|
5811
5821
|
}
|
|
5812
5822
|
function A() {
|
|
5813
|
-
var E =
|
|
5823
|
+
var E = xt(), N = T(E);
|
|
5814
5824
|
if (a = arguments, n = this, d = E, N) {
|
|
5815
5825
|
if (c === void 0)
|
|
5816
5826
|
return B(d);
|
|
@@ -5897,7 +5907,7 @@ const Lc = /* @__PURE__ */ Ss(Mc), Oc = {
|
|
|
5897
5907
|
function Fc(e, s, t, a, n, i) {
|
|
5898
5908
|
return o(), l("div", {
|
|
5899
5909
|
class: "ecs-saturation",
|
|
5900
|
-
style:
|
|
5910
|
+
style: x({ background: i.bgColor }),
|
|
5901
5911
|
ref: "container",
|
|
5902
5912
|
onMousedown: s[0] || (s[0] = (...r) => i.handleMouseDown && i.handleMouseDown(...r)),
|
|
5903
5913
|
onTouchmove: s[1] || (s[1] = (...r) => i.handleChange && i.handleChange(...r)),
|
|
@@ -5907,7 +5917,7 @@ function Fc(e, s, t, a, n, i) {
|
|
|
5907
5917
|
Nc,
|
|
5908
5918
|
f("div", {
|
|
5909
5919
|
class: "ecs-saturation-pointer",
|
|
5910
|
-
style:
|
|
5920
|
+
style: x({ top: i.pointerTop, left: i.pointerLeft })
|
|
5911
5921
|
}, Rc, 4)
|
|
5912
5922
|
], 36);
|
|
5913
5923
|
}
|
|
@@ -5997,7 +6007,7 @@ function Uc(e, s, t, a, n, i) {
|
|
|
5997
6007
|
}, [
|
|
5998
6008
|
f("div", {
|
|
5999
6009
|
class: "ecs-hue-pointer",
|
|
6000
|
-
style:
|
|
6010
|
+
style: x({ top: i.pointerTop, left: i.pointerLeft }),
|
|
6001
6011
|
role: "presentation"
|
|
6002
6012
|
}, jc, 4)
|
|
6003
6013
|
], 40, qc)
|
|
@@ -6047,7 +6057,7 @@ function Xc(e, s, t) {
|
|
|
6047
6057
|
function Zc(e, s, t, a, n, i) {
|
|
6048
6058
|
return o(), l("div", {
|
|
6049
6059
|
class: "ecs-checkerboard",
|
|
6050
|
-
style:
|
|
6060
|
+
style: x(i.bgStyle)
|
|
6051
6061
|
}, null, 4);
|
|
6052
6062
|
}
|
|
6053
6063
|
const Ws = /* @__PURE__ */ v(Kc, [["render", Zc]]), Jc = {
|
|
@@ -6105,7 +6115,7 @@ function id(e, s, t, a, n, i) {
|
|
|
6105
6115
|
]),
|
|
6106
6116
|
f("div", {
|
|
6107
6117
|
class: "ecs-alpha-gradient",
|
|
6108
|
-
style:
|
|
6118
|
+
style: x({ background: i.gradientColor })
|
|
6109
6119
|
}, null, 4),
|
|
6110
6120
|
f("div", {
|
|
6111
6121
|
class: "ecs-alpha-container",
|
|
@@ -6116,7 +6126,7 @@ function id(e, s, t, a, n, i) {
|
|
|
6116
6126
|
}, [
|
|
6117
6127
|
f("div", {
|
|
6118
6128
|
class: "ecs-alpha-pointer",
|
|
6119
|
-
style:
|
|
6129
|
+
style: x({ left: i.colors.a * 100 + "%" })
|
|
6120
6130
|
}, sd, 4)
|
|
6121
6131
|
], 544)
|
|
6122
6132
|
]);
|
|
@@ -6223,7 +6233,7 @@ function bd(e, s, t, a, n, i) {
|
|
|
6223
6233
|
role: "application",
|
|
6224
6234
|
"aria-label": "Color picker",
|
|
6225
6235
|
class: y(["ecs-color-picker", t.disableAlpha ? "ecs-color-picker__disable-alpha" : ""]),
|
|
6226
|
-
style:
|
|
6236
|
+
style: x({ padding: t.padding + "px", width: 216 + 2 * t.padding + "px" })
|
|
6227
6237
|
}, [
|
|
6228
6238
|
t.disableCustom ? u("", !0) : (o(), l("div", od, [
|
|
6229
6239
|
_(r, {
|
|
@@ -6292,7 +6302,7 @@ function bd(e, s, t, a, n, i) {
|
|
|
6292
6302
|
])) : u("", !0),
|
|
6293
6303
|
f("div", {
|
|
6294
6304
|
class: "ecs-color-picker-presets",
|
|
6295
|
-
style:
|
|
6305
|
+
style: x(t.disableCustom ? "" : "padding-top: var(--spacing-10)"),
|
|
6296
6306
|
role: "group",
|
|
6297
6307
|
"aria-label": "A color preset, pick one to set as current color"
|
|
6298
6308
|
}, [
|
|
@@ -6309,7 +6319,7 @@ function bd(e, s, t, a, n, i) {
|
|
|
6309
6319
|
class: y(["ecs-color-picker-presets-color", { active: e.colors.hex === k.hex }]),
|
|
6310
6320
|
"aria-label": k.title,
|
|
6311
6321
|
key: "if-" + k.id,
|
|
6312
|
-
style:
|
|
6322
|
+
style: x({ background: k.hex }),
|
|
6313
6323
|
"aria-selected": e.colors.hex === k.hex ? "true" : "false",
|
|
6314
6324
|
title: k.title,
|
|
6315
6325
|
onClick: (z) => i.handlePreset(k.hex)
|
|
@@ -6320,7 +6330,7 @@ function bd(e, s, t, a, n, i) {
|
|
|
6320
6330
|
class: y(["ecs-color-picker-presets-color active", i.isActiveColorDark ? "dark" : "light"]),
|
|
6321
6331
|
"aria-label": "Custom color",
|
|
6322
6332
|
"aria-selected": "true",
|
|
6323
|
-
style:
|
|
6333
|
+
style: x({ background: e.colors.hex })
|
|
6324
6334
|
}, null, 6))
|
|
6325
6335
|
], 4)
|
|
6326
6336
|
], 6);
|
|
@@ -6404,7 +6414,7 @@ function wd(e, s, t, a, n, i) {
|
|
|
6404
6414
|
default: S(() => [
|
|
6405
6415
|
f("button", {
|
|
6406
6416
|
class: y(["ecs-color-picker-input-button", i.sizeClass]),
|
|
6407
|
-
style:
|
|
6417
|
+
style: x(i.selectedColorStyle)
|
|
6408
6418
|
}, [
|
|
6409
6419
|
f("span", null, w(i.selectedColorName), 1)
|
|
6410
6420
|
], 6)
|
|
@@ -6414,8 +6424,8 @@ function wd(e, s, t, a, n, i) {
|
|
|
6414
6424
|
}
|
|
6415
6425
|
const Wb = /* @__PURE__ */ v(kd, [["render", wd], ["__scopeId", "data-v-08aaa823"]]), Sd = {
|
|
6416
6426
|
name: "ecs-data-card",
|
|
6417
|
-
components: { EcsIcon: M, EcsSkeletonLoader:
|
|
6418
|
-
mixins: [
|
|
6427
|
+
components: { EcsIcon: M, EcsSkeletonLoader: ge, EcsButtonTable: Rs, EcsButton: Ce, EcsFocusRing: L },
|
|
6428
|
+
mixins: [fe],
|
|
6419
6429
|
props: {
|
|
6420
6430
|
/** 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). */
|
|
6421
6431
|
icon: {
|
|
@@ -6500,7 +6510,7 @@ const Wb = /* @__PURE__ */ v(kd, [["render", wd], ["__scopeId", "data-v-08aaa823
|
|
|
6500
6510
|
created() {
|
|
6501
6511
|
this.expandId = this.generateUniqueId();
|
|
6502
6512
|
}
|
|
6503
|
-
},
|
|
6513
|
+
}, Cd = ["aria-busy", "tabindex"], xd = {
|
|
6504
6514
|
key: 0,
|
|
6505
6515
|
class: "control"
|
|
6506
6516
|
}, 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 +6532,7 @@ function Ld(e, s, t, a, n, i) {
|
|
|
6522
6532
|
"aria-busy": t.loading || null,
|
|
6523
6533
|
tabindex: t.hover ? "0" : "-1"
|
|
6524
6534
|
}, [
|
|
6525
|
-
t.control && e.$slots.control ? (o(), l("div",
|
|
6535
|
+
t.control && e.$slots.control ? (o(), l("div", xd, [
|
|
6526
6536
|
p(e.$slots, "control", {}, void 0, !0)
|
|
6527
6537
|
])) : u("", !0),
|
|
6528
6538
|
t.icon ? (o(), h(r, {
|
|
@@ -6611,7 +6621,7 @@ function Ld(e, s, t, a, n, i) {
|
|
|
6611
6621
|
inset: 0,
|
|
6612
6622
|
radius: 0
|
|
6613
6623
|
})) : u("", !0)
|
|
6614
|
-
], 10,
|
|
6624
|
+
], 10, Cd);
|
|
6615
6625
|
}
|
|
6616
6626
|
const jb = /* @__PURE__ */ v(Sd, [["render", Ld], ["__scopeId", "data-v-206dd488"]]), Od = {
|
|
6617
6627
|
name: "ecs-data-card-list"
|
|
@@ -7203,7 +7213,7 @@ function vu(e, s, t, a, n, i) {
|
|
|
7203
7213
|
t.fixedLeftLast ? "fixed-left-last" : "",
|
|
7204
7214
|
t.fixedRight ? "fixed-right" : ""
|
|
7205
7215
|
]]),
|
|
7206
|
-
style:
|
|
7216
|
+
style: x([
|
|
7207
7217
|
i.widthType === "string" ? i.widthStyles : {},
|
|
7208
7218
|
i.fixedStyles
|
|
7209
7219
|
]),
|
|
@@ -7215,7 +7225,7 @@ function vu(e, s, t, a, n, i) {
|
|
|
7215
7225
|
f("div", {
|
|
7216
7226
|
ref: "resizer",
|
|
7217
7227
|
class: y(["ecs-data-grid-head-cell-inner", t.resizable ? "resizable" : ""]),
|
|
7218
|
-
style:
|
|
7228
|
+
style: x([
|
|
7219
7229
|
i.widthType === "number" ? i.widthStyles : { width: "100%" },
|
|
7220
7230
|
i.paddingStyles,
|
|
7221
7231
|
i.resizeStyles,
|
|
@@ -7450,7 +7460,7 @@ const Xb = /* @__PURE__ */ v(yu, [["render", _u], ["__scopeId", "data-v-ee025ab5
|
|
|
7450
7460
|
}, wu = (e) => (be("data-v-4deed396"), e = e(), _e(), e), Su = {
|
|
7451
7461
|
key: 0,
|
|
7452
7462
|
class: "shadow left"
|
|
7453
|
-
},
|
|
7463
|
+
}, Cu = ["data-column", "data-test"], xu = {
|
|
7454
7464
|
key: 0,
|
|
7455
7465
|
class: "first-cell-spacer"
|
|
7456
7466
|
}, Bu = /* @__PURE__ */ wu(() => /* @__PURE__ */ f("div", { class: "group-spacer" }, null, -1)), zu = {
|
|
@@ -7461,17 +7471,17 @@ function Iu(e, s, t, a, n, i) {
|
|
|
7461
7471
|
const r = g("ecs-button-collapse");
|
|
7462
7472
|
return o(), l("div", {
|
|
7463
7473
|
class: y(["ecs-data-grid-cell", [t.fixedLeft ? "fixed-left" : "", t.fixedLeftLast ? "fixed-left-last" : "", t.fixedRight ? "fixed-right" : ""]]),
|
|
7464
|
-
style:
|
|
7474
|
+
style: x([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
|
|
7465
7475
|
role: "cell"
|
|
7466
7476
|
}, [
|
|
7467
7477
|
t.fixedRight ? (o(), l("div", Su)) : u("", !0),
|
|
7468
7478
|
f("div", {
|
|
7469
7479
|
class: "ecs-data-grid-cell-inner",
|
|
7470
|
-
style:
|
|
7480
|
+
style: x([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, t.styles]),
|
|
7471
7481
|
"data-column": i.computedId,
|
|
7472
7482
|
"data-test": i.computedId
|
|
7473
7483
|
}, [
|
|
7474
|
-
t.firstNonStaticCell ? (o(), l("div",
|
|
7484
|
+
t.firstNonStaticCell ? (o(), l("div", xu)) : u("", !0),
|
|
7475
7485
|
Bu,
|
|
7476
7486
|
t.hasCollapse ? (o(), h(r, {
|
|
7477
7487
|
key: 1,
|
|
@@ -7480,7 +7490,7 @@ function Iu(e, s, t, a, n, i) {
|
|
|
7480
7490
|
type: "chevron"
|
|
7481
7491
|
}, null, 8, ["onClick", "collapsed"])) : u("", !0),
|
|
7482
7492
|
p(e.$slots, "default", {}, void 0, !0)
|
|
7483
|
-
], 12,
|
|
7493
|
+
], 12, Cu),
|
|
7484
7494
|
t.fixedLeftLast ? (o(), l("div", zu)) : u("", !0)
|
|
7485
7495
|
], 6);
|
|
7486
7496
|
}
|
|
@@ -7498,8 +7508,8 @@ function Pu(e, s, t, a, n, i) {
|
|
|
7498
7508
|
const Jb = /* @__PURE__ */ v(Eu, [["render", Pu]]), Tu = {
|
|
7499
7509
|
name: "ecs-data-list-item",
|
|
7500
7510
|
emits: ["toggled"],
|
|
7501
|
-
components: { EcsButtonMore: Ds, EcsSkeletonLoader:
|
|
7502
|
-
mixins: [
|
|
7511
|
+
components: { EcsButtonMore: Ds, EcsSkeletonLoader: ge },
|
|
7512
|
+
mixins: [fe],
|
|
7503
7513
|
props: {
|
|
7504
7514
|
/** The label that shows up to the left of the list item. Usually describes the content to the left, e.g.: "Type", "Profiles", etc. */
|
|
7505
7515
|
identifier: {
|
|
@@ -7624,7 +7634,7 @@ function Nu(e, s, t, a, n, i) {
|
|
|
7624
7634
|
i.hasIdentifier ? (o(), l("div", {
|
|
7625
7635
|
key: 0,
|
|
7626
7636
|
id: n.definitionId,
|
|
7627
|
-
style:
|
|
7637
|
+
style: x(i.identifierStyle),
|
|
7628
7638
|
class: "ecs-data-list-identifier"
|
|
7629
7639
|
}, [
|
|
7630
7640
|
D(w(t.identifier) + " ", 1),
|
|
@@ -7657,7 +7667,7 @@ function Nu(e, s, t, a, n, i) {
|
|
|
7657
7667
|
key: 2,
|
|
7658
7668
|
class: "progress",
|
|
7659
7669
|
role: "progressbar",
|
|
7660
|
-
style:
|
|
7670
|
+
style: x({ width: t.progress + "%" }),
|
|
7661
7671
|
"aria-valuenow": t.progress
|
|
7662
7672
|
}, null, 12, Ou)) : u("", !0)
|
|
7663
7673
|
], 10, Lu)
|
|
@@ -7822,7 +7832,7 @@ const e_ = /* @__PURE__ */ v(Du, [["render", Fu]]), Vu = {
|
|
|
7822
7832
|
));
|
|
7823
7833
|
}), (n, i) => (o(), l("div", {
|
|
7824
7834
|
class: y(["ecs-state-icon", e.iconColor]),
|
|
7825
|
-
style:
|
|
7835
|
+
style: x(t.value)
|
|
7826
7836
|
}, [
|
|
7827
7837
|
(o(), h(Ee(ae(a)), {
|
|
7828
7838
|
height: e.size,
|
|
@@ -7950,7 +7960,7 @@ function Zu(e, s, t, a, n, i) {
|
|
|
7950
7960
|
t.indicator ? (o(), l("div", {
|
|
7951
7961
|
key: 2,
|
|
7952
7962
|
class: "indicator",
|
|
7953
|
-
style:
|
|
7963
|
+
style: x("background-color:" + t.indicator)
|
|
7954
7964
|
}, null, 4)) : u("", !0),
|
|
7955
7965
|
f("div", Xu, [
|
|
7956
7966
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -7961,7 +7971,7 @@ const s_ = /* @__PURE__ */ v(Ku, [["render", Zu], ["__scopeId", "data-v-800f5f8e
|
|
|
7961
7971
|
name: "ecs-document-state",
|
|
7962
7972
|
components: {
|
|
7963
7973
|
EcsIcon: M,
|
|
7964
|
-
EcsSkeletonLoader:
|
|
7974
|
+
EcsSkeletonLoader: ge
|
|
7965
7975
|
},
|
|
7966
7976
|
props: {
|
|
7967
7977
|
/** Determines if the document has been processed by OCR. */
|
|
@@ -8078,7 +8088,7 @@ const i_ = /* @__PURE__ */ v(Ju, [["render", of], ["__scopeId", "data-v-8239e8d6
|
|
|
8078
8088
|
function uf(e, s, t, a, n, i) {
|
|
8079
8089
|
return o(), l("div", {
|
|
8080
8090
|
class: "ecs-donut-chart",
|
|
8081
|
-
style:
|
|
8091
|
+
style: x(i.wrapperPadding)
|
|
8082
8092
|
}, [
|
|
8083
8093
|
(o(), l("svg", {
|
|
8084
8094
|
height: t.size,
|
|
@@ -8219,7 +8229,7 @@ function _f(e, s, t, a, n, i) {
|
|
|
8219
8229
|
t.infinite ? "ecs-progress-infinite" : "",
|
|
8220
8230
|
t.cancelled ? "ecs-progress-cancelled" : ""
|
|
8221
8231
|
]]),
|
|
8222
|
-
style:
|
|
8232
|
+
style: x({ width: 100 * (t.value / i.computedMax) + "%" })
|
|
8223
8233
|
}, null, 6)
|
|
8224
8234
|
], 8, bf);
|
|
8225
8235
|
}
|
|
@@ -8228,9 +8238,9 @@ const kf = /* @__PURE__ */ v(yf, [["render", _f], ["__scopeId", "data-v-fc9084ab
|
|
|
8228
8238
|
emits: ["onFileDrop", "cancel"],
|
|
8229
8239
|
components: {
|
|
8230
8240
|
EcsEmptyState: vf,
|
|
8231
|
-
EcsSkeletonLoader:
|
|
8241
|
+
EcsSkeletonLoader: ge,
|
|
8232
8242
|
EcsProgress: kf,
|
|
8233
|
-
EcsButton:
|
|
8243
|
+
EcsButton: Ce,
|
|
8234
8244
|
EcsFocusRing: L,
|
|
8235
8245
|
EcsFlexRow: Te,
|
|
8236
8246
|
EcsSticker: Fe,
|
|
@@ -8376,7 +8386,7 @@ const kf = /* @__PURE__ */ v(yf, [["render", _f], ["__scopeId", "data-v-fc9084ab
|
|
|
8376
8386
|
beforeUnmount() {
|
|
8377
8387
|
document.removeEventListener("dragenter", this.show);
|
|
8378
8388
|
}
|
|
8379
|
-
}, Sf = ["aria-busy", "aria-invalid"],
|
|
8389
|
+
}, Sf = ["aria-busy", "aria-invalid"], Cf = ["multiple"], xf = { key: 1 }, Bf = { key: 1 }, zf = {
|
|
8380
8390
|
key: 2,
|
|
8381
8391
|
class: "ecs-dropzone-hint"
|
|
8382
8392
|
}, If = {
|
|
@@ -8403,7 +8413,7 @@ function $f(e, s, t, a, n, i) {
|
|
|
8403
8413
|
type: "file",
|
|
8404
8414
|
multiple: t.multiple || null,
|
|
8405
8415
|
ref: "file"
|
|
8406
|
-
}, null, 40,
|
|
8416
|
+
}, null, 40, Cf),
|
|
8407
8417
|
_(z, {
|
|
8408
8418
|
type: i.iconType,
|
|
8409
8419
|
iconColor: i.iconColor
|
|
@@ -8414,7 +8424,7 @@ function $f(e, s, t, a, n, i) {
|
|
|
8414
8424
|
type: "single",
|
|
8415
8425
|
width: 100,
|
|
8416
8426
|
class: "ecs-dropzone-skeleton"
|
|
8417
|
-
})) : (o(), l("div",
|
|
8427
|
+
})) : (o(), l("div", xf, [
|
|
8418
8428
|
e.$slots.customlabel ? u("", !0) : (o(), l(X, { key: 0 }, [
|
|
8419
8429
|
D(" Drag and drop your " + w(t.fileTypeLabel) + " or ", 1),
|
|
8420
8430
|
f("i", {
|
|
@@ -8620,7 +8630,7 @@ function Af(e, s, t, a, n, i) {
|
|
|
8620
8630
|
}
|
|
8621
8631
|
const o_ = /* @__PURE__ */ v(Pf, [["render", Af], ["__scopeId", "data-v-00b5ab33"]]), Nf = {
|
|
8622
8632
|
name: "ecs-excerpt-snippet",
|
|
8623
|
-
components: { EcsIcon: M, EcsSkeletonLoader:
|
|
8633
|
+
components: { EcsIcon: M, EcsSkeletonLoader: ge, EcsFormatted: Fs },
|
|
8624
8634
|
props: {
|
|
8625
8635
|
/** Determines how the content of the excerpt should be rendered. */
|
|
8626
8636
|
type: {
|
|
@@ -8722,7 +8732,7 @@ function Uf(e, s, t, a, n, i) {
|
|
|
8722
8732
|
]),
|
|
8723
8733
|
f("div", {
|
|
8724
8734
|
class: "ecs-excerpt-content scrollbar scrollbar-sml",
|
|
8725
|
-
style:
|
|
8735
|
+
style: x(i.maxHeightStyles)
|
|
8726
8736
|
}, [
|
|
8727
8737
|
t.loading ? (o(), h(r, {
|
|
8728
8738
|
key: 0,
|
|
@@ -8741,10 +8751,10 @@ function Uf(e, s, t, a, n, i) {
|
|
|
8741
8751
|
p(e.$slots, "default", {}, void 0, !0)
|
|
8742
8752
|
])) : t.type == "rectangle" ? (o(), l("div", Wf, [
|
|
8743
8753
|
f("span", {
|
|
8744
|
-
style:
|
|
8754
|
+
style: x("color:" + t.annotationColor)
|
|
8745
8755
|
}, "Rectangle Annotation", 4),
|
|
8746
8756
|
f("div", {
|
|
8747
|
-
style:
|
|
8757
|
+
style: x("background-color:" + t.annotationColor)
|
|
8748
8758
|
}, null, 4)
|
|
8749
8759
|
])) : (o(), l("div", jf, [
|
|
8750
8760
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -8814,7 +8824,7 @@ const c_ = /* @__PURE__ */ v(Gf, [["render", Yf]]), Xf = {
|
|
|
8814
8824
|
EcsButtonTable: Rs,
|
|
8815
8825
|
EcsFocusRing: L
|
|
8816
8826
|
},
|
|
8817
|
-
mixins: [
|
|
8827
|
+
mixins: [fe],
|
|
8818
8828
|
props: {
|
|
8819
8829
|
/** Adds a button to the right of the list items, which allows to remove/delete the item. Emits the `@remove` event on click. */
|
|
8820
8830
|
remove: {
|
|
@@ -8940,7 +8950,7 @@ function lg(e, s, t, a, n, i) {
|
|
|
8940
8950
|
tabindex: t.hover ? "0" : "-1"
|
|
8941
8951
|
}, [
|
|
8942
8952
|
t.hover ? (o(), h(r, { key: 0 })) : u("", !0),
|
|
8943
|
-
_(
|
|
8953
|
+
_(ue, { name: "title" }, {
|
|
8944
8954
|
default: S(() => [
|
|
8945
8955
|
t.showTitleEdit || !t.edit ? (o(), l("div", Jf, [
|
|
8946
8956
|
t.icon ? (o(), h(c, {
|
|
@@ -9010,7 +9020,7 @@ function lg(e, s, t, a, n, i) {
|
|
|
9010
9020
|
t.progress ? (o(), l("div", {
|
|
9011
9021
|
key: 3,
|
|
9012
9022
|
class: "loading-bar",
|
|
9013
|
-
style:
|
|
9023
|
+
style: x({ width: t.progress + "%" }),
|
|
9014
9024
|
role: "progressbar",
|
|
9015
9025
|
"aria-valuenow": t.progress
|
|
9016
9026
|
}, null, 12, ig)) : u("", !0)
|
|
@@ -9031,11 +9041,11 @@ function lg(e, s, t, a, n, i) {
|
|
|
9031
9041
|
}, [
|
|
9032
9042
|
p(e.$slots, "collapse", {}, void 0, !0)
|
|
9033
9043
|
], 10, ag)) : u("", !0),
|
|
9034
|
-
_(
|
|
9044
|
+
_(ue, { name: "edit" }, {
|
|
9035
9045
|
default: S(() => [
|
|
9036
9046
|
e.$slots.edit && t.edit ? (o(), l("div", {
|
|
9037
9047
|
key: 0,
|
|
9038
|
-
style:
|
|
9048
|
+
style: x({ maxHeight: n.editHeight + "px" }),
|
|
9039
9049
|
id: n.editId
|
|
9040
9050
|
}, [
|
|
9041
9051
|
f("div", rg, [
|
|
@@ -9341,24 +9351,24 @@ const wg = /* @__PURE__ */ v(bg, [["render", kg], ["__scopeId", "data-v-a408f72e
|
|
|
9341
9351
|
}
|
|
9342
9352
|
}
|
|
9343
9353
|
};
|
|
9344
|
-
function
|
|
9354
|
+
function Cg(e, s, t, a, n, i) {
|
|
9345
9355
|
return o(), l("div", {
|
|
9346
9356
|
class: y(["ecs-scroll-container scrollbar scrollbar-sml vertical", [
|
|
9347
9357
|
t.borderless ? "" : "ecs-scroll-container-border",
|
|
9348
9358
|
t.hideShadows ? "" : "ecs-scroll-container-shadows"
|
|
9349
9359
|
]]),
|
|
9350
|
-
style:
|
|
9360
|
+
style: x({ maxHeight: t.height, padding: t.padding })
|
|
9351
9361
|
}, [
|
|
9352
9362
|
p(e.$slots, "default", {}, void 0, !0)
|
|
9353
9363
|
], 6);
|
|
9354
9364
|
}
|
|
9355
|
-
const
|
|
9365
|
+
const xg = /* @__PURE__ */ v(Sg, [["render", Cg], ["__scopeId", "data-v-d87a8075"]]), Bg = {
|
|
9356
9366
|
name: "ecs-folder-selector",
|
|
9357
9367
|
emits: ["search", "add"],
|
|
9358
9368
|
components: {
|
|
9359
9369
|
EcsInputSearch: wg,
|
|
9360
|
-
EcsScrollContainer:
|
|
9361
|
-
EcsButton:
|
|
9370
|
+
EcsScrollContainer: xg,
|
|
9371
|
+
EcsButton: Ce
|
|
9362
9372
|
},
|
|
9363
9373
|
props: {
|
|
9364
9374
|
/** Determines if the folder selector control has a search bar to filter by folder name. */
|
|
@@ -9419,7 +9429,7 @@ function Eg(e, s, t, a, n, i) {
|
|
|
9419
9429
|
const r = g("ecs-input-search"), c = g("ecs-button"), d = g("ecs-scroll-container");
|
|
9420
9430
|
return o(), l("div", {
|
|
9421
9431
|
class: y(["ecs-folder-selector", [t.framed ? "ecs-folder-selector-border" : ""]]),
|
|
9422
|
-
style:
|
|
9432
|
+
style: x({ height: i.isFullHeight })
|
|
9423
9433
|
}, [
|
|
9424
9434
|
t.searchable || t.create ? (o(), l("div", zg, [
|
|
9425
9435
|
t.searchable ? (o(), h(r, {
|
|
@@ -9466,50 +9476,58 @@ const f_ = /* @__PURE__ */ v(Bg, [["render", Eg], ["__scopeId", "data-v-0056e40b
|
|
|
9466
9476
|
type: Boolean,
|
|
9467
9477
|
default: !1
|
|
9468
9478
|
},
|
|
9479
|
+
/** If set, the input control will show up in a warning state. */
|
|
9480
|
+
warning: {
|
|
9481
|
+
type: Boolean,
|
|
9482
|
+
default: !1
|
|
9483
|
+
},
|
|
9469
9484
|
/** Renders a small helper text underneath the input control. */
|
|
9470
9485
|
helpText: {
|
|
9471
|
-
type: String
|
|
9486
|
+
type: String,
|
|
9487
|
+
default: ""
|
|
9472
9488
|
},
|
|
9473
|
-
/** Shows an error message underneath the input control. Should be used together with the `error`prop. */
|
|
9489
|
+
/** Shows an error message underneath the input control. Should be used together with the `error` prop. */
|
|
9474
9490
|
errorText: {
|
|
9475
|
-
type: String
|
|
9491
|
+
type: String,
|
|
9492
|
+
default: ""
|
|
9493
|
+
},
|
|
9494
|
+
/** Shows a warning message underneath the input control. Should be used together with the `warning` prop. */
|
|
9495
|
+
warningText: {
|
|
9496
|
+
type: String,
|
|
9497
|
+
default: ""
|
|
9476
9498
|
},
|
|
9477
9499
|
/** Shows a success message underneath the input control. */
|
|
9478
9500
|
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;
|
|
9501
|
+
type: String,
|
|
9502
|
+
default: ""
|
|
9491
9503
|
}
|
|
9492
9504
|
}
|
|
9493
9505
|
};
|
|
9494
9506
|
function Pg(e, s, t, a, n, i) {
|
|
9495
9507
|
const r = g("ecs-text");
|
|
9496
9508
|
return o(), l("div", {
|
|
9497
|
-
class: y(["ecs-form-group", t.error
|
|
9509
|
+
class: y(["ecs-form-group", { error: t.error, warning: t.warning }])
|
|
9498
9510
|
}, [
|
|
9499
9511
|
p(e.$slots, "default", {}, void 0, !0),
|
|
9500
|
-
|
|
9512
|
+
t.helpText ? (o(), h(r, {
|
|
9501
9513
|
key: 0,
|
|
9502
9514
|
innerHTML: t.helpText,
|
|
9503
9515
|
type: "form"
|
|
9504
9516
|
}, null, 8, ["innerHTML"])) : u("", !0),
|
|
9505
|
-
|
|
9517
|
+
t.errorText ? (o(), h(r, {
|
|
9506
9518
|
key: 1,
|
|
9507
9519
|
innerHTML: t.errorText,
|
|
9508
9520
|
type: "form",
|
|
9509
9521
|
color: "negative"
|
|
9510
9522
|
}, null, 8, ["innerHTML"])) : u("", !0),
|
|
9511
|
-
|
|
9523
|
+
t.warningText ? (o(), h(r, {
|
|
9512
9524
|
key: 2,
|
|
9525
|
+
innerHTML: t.warningText,
|
|
9526
|
+
type: "form",
|
|
9527
|
+
color: "warning"
|
|
9528
|
+
}, null, 8, ["innerHTML"])) : u("", !0),
|
|
9529
|
+
t.successText ? (o(), h(r, {
|
|
9530
|
+
key: 3,
|
|
9513
9531
|
innerHTML: t.successText,
|
|
9514
9532
|
type: "form",
|
|
9515
9533
|
color: "positive",
|
|
@@ -9517,7 +9535,7 @@ function Pg(e, s, t, a, n, i) {
|
|
|
9517
9535
|
}, null, 8, ["innerHTML"])) : u("", !0)
|
|
9518
9536
|
], 2);
|
|
9519
9537
|
}
|
|
9520
|
-
const Tg = /* @__PURE__ */ v($g, [["render", Pg], ["__scopeId", "data-v-
|
|
9538
|
+
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
9539
|
key: 0,
|
|
9522
9540
|
class: "ecs-form-headline-controls"
|
|
9523
9541
|
};
|
|
@@ -9597,7 +9615,7 @@ const m_ = /* @__PURE__ */ v(Dg, [["render", Vg], ["__scopeId", "data-v-c9188464
|
|
|
9597
9615
|
return this.color ? this.type === "background" ? {
|
|
9598
9616
|
"--ecs-highlight-background": this.color
|
|
9599
9617
|
} : {
|
|
9600
|
-
"--ecs-highlight-background":
|
|
9618
|
+
"--ecs-highlight-background": C(this.color).setAlpha(0.1).toRgbString(),
|
|
9601
9619
|
"--ecs-highlight-border": this.color
|
|
9602
9620
|
} : this.type === "background" ? {
|
|
9603
9621
|
"--ecs-highlight-background": "var(--color-yellow-3)"
|
|
@@ -9627,7 +9645,7 @@ const m_ = /* @__PURE__ */ v(Dg, [["render", Vg], ["__scopeId", "data-v-c9188464
|
|
|
9627
9645
|
}
|
|
9628
9646
|
};
|
|
9629
9647
|
function qg(e, s, t, a, n, i) {
|
|
9630
|
-
return o(), h(
|
|
9648
|
+
return o(), h(ue, {
|
|
9631
9649
|
name: "fade",
|
|
9632
9650
|
appear: ""
|
|
9633
9651
|
}, {
|
|
@@ -9635,7 +9653,7 @@ function qg(e, s, t, a, n, i) {
|
|
|
9635
9653
|
i.showHighlight ? (o(), l("div", {
|
|
9636
9654
|
key: 0,
|
|
9637
9655
|
class: y(["ecs-highlight", [i.classes]]),
|
|
9638
|
-
style:
|
|
9656
|
+
style: x({ ...i.highlightColor, ...i.borderRadiusStyle, ...i.insetStyles })
|
|
9639
9657
|
}, [
|
|
9640
9658
|
t.layout === "wrap" ? p(e.$slots, "default", { key: 0 }, void 0, !0) : u("", !0)
|
|
9641
9659
|
], 6)) : u("", !0)
|
|
@@ -9999,7 +10017,7 @@ function pm(e, s, t, a, n, i) {
|
|
|
9999
10017
|
const b_ = /* @__PURE__ */ v(gm, [["render", pm]]), hm = {
|
|
10000
10018
|
name: "ecs-input-float",
|
|
10001
10019
|
emits: ["input"],
|
|
10002
|
-
mixins: [
|
|
10020
|
+
mixins: [fe],
|
|
10003
10021
|
props: {
|
|
10004
10022
|
/** Input type, supports most HTML5 types. */
|
|
10005
10023
|
type: {
|
|
@@ -10170,10 +10188,10 @@ const k_ = /* @__PURE__ */ v(km, [["render", wm]]), Sm = {
|
|
|
10170
10188
|
this.$emit("indexPosKeyPressed", e), e.stopPropagation(), e.key == "Enter" && e.preventDefault();
|
|
10171
10189
|
}
|
|
10172
10190
|
}
|
|
10173
|
-
},
|
|
10191
|
+
}, Cm = {
|
|
10174
10192
|
key: 0,
|
|
10175
10193
|
class: "ecs-viewer-toolbar-jumper-inputs"
|
|
10176
|
-
},
|
|
10194
|
+
}, xm = ["disabled"];
|
|
10177
10195
|
function Bm(e, s, t, a, n, i) {
|
|
10178
10196
|
const r = g("ecs-button-toolbar"), c = g("ecs-button-toolbar-group");
|
|
10179
10197
|
return o(), h(c, { class: "ecs-viewer-toolbar-jumper" }, {
|
|
@@ -10186,7 +10204,7 @@ function Bm(e, s, t, a, n, i) {
|
|
|
10186
10204
|
icon: "toolbar-page-navigation",
|
|
10187
10205
|
"aria-label": i.ariaLabelPrev
|
|
10188
10206
|
}, null, 8, ["disabled", "title", "aria-label"]),
|
|
10189
|
-
t.showCount ? (o(), l("div",
|
|
10207
|
+
t.showCount ? (o(), l("div", Cm, [
|
|
10190
10208
|
f("div", {
|
|
10191
10209
|
onClick: s[1] || (s[1] = (d) => e.$emit("selectCurEntryText")),
|
|
10192
10210
|
onKeydown: s[2] || (s[2] = (...d) => i.indexPosKeyPressed && i.indexPosKeyPressed(...d)),
|
|
@@ -10195,7 +10213,7 @@ function Bm(e, s, t, a, n, i) {
|
|
|
10195
10213
|
class: "ecs-viewer-toolbar-jumper-input",
|
|
10196
10214
|
disabled: t.navigating || null,
|
|
10197
10215
|
id: "currEntry"
|
|
10198
|
-
}, w(t.currentEntry), 41,
|
|
10216
|
+
}, w(t.currentEntry), 41, xm),
|
|
10199
10217
|
D(" / "),
|
|
10200
10218
|
f("div", null, w(t.totalEntries), 1)
|
|
10201
10219
|
])) : u("", !0),
|
|
@@ -10421,7 +10439,7 @@ function jm(e, s, t, a, n, i) {
|
|
|
10421
10439
|
])
|
|
10422
10440
|
]);
|
|
10423
10441
|
}
|
|
10424
|
-
const
|
|
10442
|
+
const C_ = /* @__PURE__ */ v(Mm, [["render", jm], ["__scopeId", "data-v-0346f2c1"]]), Um = {
|
|
10425
10443
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
10426
10444
|
name: "ecs-pane",
|
|
10427
10445
|
inject: ["requestUpdate", "onPaneAdd", "onPaneRemove", "onPaneClick"],
|
|
@@ -10475,7 +10493,7 @@ function Gm(e, s, t, a, n, i) {
|
|
|
10475
10493
|
return o(), l("div", {
|
|
10476
10494
|
class: "ecs-pane",
|
|
10477
10495
|
onClick: s[0] || (s[0] = (r) => i.onPaneClick(r, e._.uid)),
|
|
10478
|
-
style:
|
|
10496
|
+
style: x(e.style)
|
|
10479
10497
|
}, [
|
|
10480
10498
|
p(e.$slots, "default")
|
|
10481
10499
|
], 4);
|
|
@@ -10876,14 +10894,14 @@ function ep(e, s, t, a, n, i) {
|
|
|
10876
10894
|
e.$slots.sidebar ? (o(), l("div", {
|
|
10877
10895
|
key: 0,
|
|
10878
10896
|
class: y(["ecs-index-layout-sidebar", [t.overlaySidebar ? "overlay" : ""]]),
|
|
10879
|
-
style:
|
|
10897
|
+
style: x(i.sidebarPosition)
|
|
10880
10898
|
}, [
|
|
10881
10899
|
p(e.$slots, "sidebar", {}, void 0, !0)
|
|
10882
10900
|
], 6)) : u("", !0)
|
|
10883
10901
|
], 2)
|
|
10884
10902
|
], 2);
|
|
10885
10903
|
}
|
|
10886
|
-
const
|
|
10904
|
+
const x_ = /* @__PURE__ */ v(Xm, [["render", ep], ["__scopeId", "data-v-60a69d4e"]]), tp = {
|
|
10887
10905
|
name: "ecs-layout-directory",
|
|
10888
10906
|
props: {
|
|
10889
10907
|
/** Adds some inner padding to the index content area. Should be used for non-table indexes. */
|
|
@@ -10922,8 +10940,8 @@ function rp(e, s, t, a, n, i) {
|
|
|
10922
10940
|
}
|
|
10923
10941
|
const B_ = /* @__PURE__ */ v(tp, [["render", rp], ["__scopeId", "data-v-f5afc4e6"]]), lp = {
|
|
10924
10942
|
name: "ecs-layout-data-table",
|
|
10925
|
-
components: { EcsActionToolbar: Si, EcsButton:
|
|
10926
|
-
mixins: [
|
|
10943
|
+
components: { EcsActionToolbar: Si, EcsButton: Ce },
|
|
10944
|
+
mixins: [fe],
|
|
10927
10945
|
props: {
|
|
10928
10946
|
/** Needs to be set when the edit/view sidebar is expanded. */
|
|
10929
10947
|
sidebarExpanded: {
|
|
@@ -10992,7 +11010,7 @@ function hp(e, s, t, a, n, i) {
|
|
|
10992
11010
|
"data-test": "button-toggle-statistics"
|
|
10993
11011
|
}, null, 8, ["onClick", "type", "active", "aria-label", "title", "aria-controls"])) : u("", !0)
|
|
10994
11012
|
])) : u("", !0),
|
|
10995
|
-
_(
|
|
11013
|
+
_(ue, { name: n.statisticsBarTransition }, {
|
|
10996
11014
|
default: S(() => [
|
|
10997
11015
|
e.$slots.statistics && n.showStatistics ? (o(), l("div", {
|
|
10998
11016
|
key: 0,
|
|
@@ -11111,7 +11129,7 @@ function kp(e, s, t, a, n, i) {
|
|
|
11111
11129
|
default: S(() => [
|
|
11112
11130
|
f("div", {
|
|
11113
11131
|
class: y(["ecs-legend-item-color", t.type]),
|
|
11114
|
-
style:
|
|
11132
|
+
style: x({ backgroundColor: t.color })
|
|
11115
11133
|
}, null, 6),
|
|
11116
11134
|
f("div", yp, w(t.label), 1),
|
|
11117
11135
|
t.count ? (o(), l("div", bp, w(t.count), 1)) : u("", !0),
|
|
@@ -11119,7 +11137,7 @@ function kp(e, s, t, a, n, i) {
|
|
|
11119
11137
|
t.highlight || t.hover ? (o(), l("div", {
|
|
11120
11138
|
key: 2,
|
|
11121
11139
|
class: "ecs-legend-item-highlight",
|
|
11122
|
-
style:
|
|
11140
|
+
style: x({ backgroundColor: t.color })
|
|
11123
11141
|
}, null, 4)) : u("", !0),
|
|
11124
11142
|
t.hover ? (o(), h(r, { key: 3 })) : u("", !0)
|
|
11125
11143
|
]),
|
|
@@ -11131,7 +11149,7 @@ const I_ = /* @__PURE__ */ v(vp, [["render", kp], ["__scopeId", "data-v-6d506293
|
|
|
11131
11149
|
components: {
|
|
11132
11150
|
EcsFlexRow: Te,
|
|
11133
11151
|
EcsSticker: Fe,
|
|
11134
|
-
EcsSkeletonLoader:
|
|
11152
|
+
EcsSkeletonLoader: ge
|
|
11135
11153
|
},
|
|
11136
11154
|
props: {
|
|
11137
11155
|
/** Determines the type of log message, which also impacts the styling of it. */
|
|
@@ -11168,18 +11186,18 @@ const I_ = /* @__PURE__ */ v(vp, [["render", kp], ["__scopeId", "data-v-6d506293
|
|
|
11168
11186
|
return ["warning", "error"].includes(this.type) ? "alert" : null;
|
|
11169
11187
|
}
|
|
11170
11188
|
}
|
|
11171
|
-
}, Sp = { class: "ecs-log-message-content" },
|
|
11189
|
+
}, Sp = { class: "ecs-log-message-content" }, Cp = {
|
|
11172
11190
|
key: 2,
|
|
11173
11191
|
class: "ecs-log-message-meta"
|
|
11174
11192
|
};
|
|
11175
|
-
function
|
|
11193
|
+
function xp(e, s, t, a, n, i) {
|
|
11176
11194
|
const r = g("ecs-skeleton-loader"), c = g("ecs-sticker"), d = g("ecs-flex-row");
|
|
11177
11195
|
return o(), h(d, {
|
|
11178
11196
|
class: y(["ecs-log-message", [t.type, t.highlight ? "highlighted" : ""]]),
|
|
11179
11197
|
role: i.alertRole,
|
|
11180
11198
|
"aria-busy": t.loading || null,
|
|
11181
11199
|
align: "start",
|
|
11182
|
-
style:
|
|
11200
|
+
style: x(i.padding)
|
|
11183
11201
|
}, {
|
|
11184
11202
|
default: S(() => [
|
|
11185
11203
|
t.loading && t.type != "blank" ? (o(), h(r, {
|
|
@@ -11199,12 +11217,12 @@ function Cp(e, s, t, a, n, i) {
|
|
|
11199
11217
|
class: "skeleton-text"
|
|
11200
11218
|
})) : p(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
11201
11219
|
]),
|
|
11202
|
-
t.meta && !t.loading ? (o(), l("div",
|
|
11220
|
+
t.meta && !t.loading ? (o(), l("div", Cp, w(t.meta), 1)) : u("", !0)
|
|
11203
11221
|
]),
|
|
11204
11222
|
_: 3
|
|
11205
11223
|
}, 8, ["class", "role", "aria-busy", "style"]);
|
|
11206
11224
|
}
|
|
11207
|
-
const E_ = /* @__PURE__ */ v(wp, [["render",
|
|
11225
|
+
const E_ = /* @__PURE__ */ v(wp, [["render", xp], ["__scopeId", "data-v-d461aa9b"]]), Bp = {
|
|
11208
11226
|
name: "ecs-map",
|
|
11209
11227
|
components: { EcsFocusRing: L },
|
|
11210
11228
|
props: {
|
|
@@ -11307,7 +11325,7 @@ const $_ = /* @__PURE__ */ v(Bp, [["render", Ep], ["__scopeId", "data-v-e2371c57
|
|
|
11307
11325
|
class: "ecs-modal-footer-wrap"
|
|
11308
11326
|
}, Op = /* @__PURE__ */ Pp(() => /* @__PURE__ */ f("div", { class: "ecs-modal-backdrop ecs-modal-sheet-backdrop" }, null, -1));
|
|
11309
11327
|
function Ap(e, s, t, a, n, i) {
|
|
11310
|
-
return o(), h(
|
|
11328
|
+
return o(), h(ue, { name: "dialog-fade" }, {
|
|
11311
11329
|
default: S(() => [
|
|
11312
11330
|
n.isShown ? (o(), l("div", {
|
|
11313
11331
|
key: 0,
|
|
@@ -11315,7 +11333,7 @@ function Ap(e, s, t, a, n, i) {
|
|
|
11315
11333
|
}, [
|
|
11316
11334
|
f("div", {
|
|
11317
11335
|
class: "ecs-modal-dialog ecs-modal-sheet",
|
|
11318
|
-
style:
|
|
11336
|
+
style: x(i.fixedHeightStyle)
|
|
11319
11337
|
}, [
|
|
11320
11338
|
e.$slots.header ? (o(), l("div", Tp, [
|
|
11321
11339
|
p(e.$slots, "header", {}, void 0, !0)
|
|
@@ -11337,7 +11355,7 @@ const P_ = /* @__PURE__ */ v($p, [["render", Ap], ["__scopeId", "data-v-8be29ca7
|
|
|
11337
11355
|
name: "ecs-modal-header",
|
|
11338
11356
|
emits: ["close"],
|
|
11339
11357
|
components: {
|
|
11340
|
-
EcsButton:
|
|
11358
|
+
EcsButton: Ce,
|
|
11341
11359
|
EcsFocusRing: L
|
|
11342
11360
|
},
|
|
11343
11361
|
props: {
|
|
@@ -11900,13 +11918,13 @@ const A_ = /* @__PURE__ */ v(oh, [["render", lh], ["__scopeId", "data-v-e28fc40f
|
|
|
11900
11918
|
}, wh = { class: "ecs-overlay-footer-content" }, Sh = {
|
|
11901
11919
|
key: 0,
|
|
11902
11920
|
class: "spacer-sidebar"
|
|
11903
|
-
},
|
|
11921
|
+
}, Ch = {
|
|
11904
11922
|
key: 1,
|
|
11905
11923
|
class: "spacer-scrollbar"
|
|
11906
11924
|
};
|
|
11907
|
-
function
|
|
11925
|
+
function xh(e, s, t, a, n, i) {
|
|
11908
11926
|
const r = g("ecs-icon"), c = g("ecs-button-toolbar"), d = g("ecs-alert");
|
|
11909
|
-
return o(), h(
|
|
11927
|
+
return o(), h(ue, {
|
|
11910
11928
|
name: "fade",
|
|
11911
11929
|
appear: ""
|
|
11912
11930
|
}, {
|
|
@@ -11914,11 +11932,11 @@ function Ch(e, s, t, a, n, i) {
|
|
|
11914
11932
|
n.isShown ? (o(), l("div", {
|
|
11915
11933
|
key: 0,
|
|
11916
11934
|
class: "ecs-overlay",
|
|
11917
|
-
style:
|
|
11935
|
+
style: x({ top: t.offsetTop + "px", height: "calc(100vh - " + t.offsetTop + "px" })
|
|
11918
11936
|
}, [
|
|
11919
11937
|
f("header", {
|
|
11920
11938
|
class: "ecs-overlay-header",
|
|
11921
|
-
style:
|
|
11939
|
+
style: x(e.$slots.alert ? "" : "border-bottom: 1px solid var(--color-gray-4);")
|
|
11922
11940
|
}, [
|
|
11923
11941
|
f("div", dh, [
|
|
11924
11942
|
t.icon ? (o(), h(r, {
|
|
@@ -11986,14 +12004,14 @@ function Ch(e, s, t, a, n, i) {
|
|
|
11986
12004
|
}, [
|
|
11987
12005
|
f("div", {
|
|
11988
12006
|
class: y(["ecs-overlay-content-inner-inner", e.$slots.sidebar && !t.fullWidth && n.width > 1500 ? "has-sidebar" : " "]),
|
|
11989
|
-
style:
|
|
12007
|
+
style: x({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
11990
12008
|
}, [
|
|
11991
12009
|
p(e.$slots, "default", {}, void 0, !0)
|
|
11992
12010
|
], 6),
|
|
11993
12011
|
e.$slots.sidebar && n.width > 1500 ? (o(), l("div", vh, [
|
|
11994
12012
|
p(e.$slots, "sidebar", {}, void 0, !0)
|
|
11995
12013
|
])) : u("", !0),
|
|
11996
|
-
_(
|
|
12014
|
+
_(ue, { name: "slide" }, {
|
|
11997
12015
|
default: S(() => [
|
|
11998
12016
|
e.$slots.sidebar && n.width <= 1500 && n.showSidebar ? (o(), l("div", yh, [
|
|
11999
12017
|
p(e.$slots, "sidebar", {}, void 0, !0)
|
|
@@ -12009,12 +12027,12 @@ function Ch(e, s, t, a, n, i) {
|
|
|
12009
12027
|
f("div", wh, [
|
|
12010
12028
|
f("div", {
|
|
12011
12029
|
class: "ecs-overlay-footer-content-inner",
|
|
12012
|
-
style:
|
|
12030
|
+
style: x({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
12013
12031
|
}, [
|
|
12014
12032
|
p(e.$slots, "footer", {}, void 0, !0)
|
|
12015
12033
|
], 4),
|
|
12016
12034
|
e.$slots.sidebar && n.width > 1500 ? (o(), l("div", Sh)) : u("", !0),
|
|
12017
|
-
n.footerScrollSpacer ? (o(), l("div",
|
|
12035
|
+
n.footerScrollSpacer ? (o(), l("div", Ch)) : u("", !0)
|
|
12018
12036
|
])
|
|
12019
12037
|
])) : u("", !0)
|
|
12020
12038
|
], 4)) : u("", !0)
|
|
@@ -12022,11 +12040,11 @@ function Ch(e, s, t, a, n, i) {
|
|
|
12022
12040
|
_: 3
|
|
12023
12041
|
});
|
|
12024
12042
|
}
|
|
12025
|
-
const N_ = /* @__PURE__ */ v(ch, [["render",
|
|
12043
|
+
const N_ = /* @__PURE__ */ v(ch, [["render", xh], ["__scopeId", "data-v-ba8a417e"]]), Bh = {
|
|
12026
12044
|
name: "ecs-pagination",
|
|
12027
12045
|
emits: ["firstPage", "prevPage", "nextPage", "lastPage", "updatePage", "itemsPerPage"],
|
|
12028
12046
|
components: {
|
|
12029
|
-
EcsButton:
|
|
12047
|
+
EcsButton: Ce,
|
|
12030
12048
|
EcsSelect: js,
|
|
12031
12049
|
EcsFlexRow: Te,
|
|
12032
12050
|
EcsIcon: M
|
|
@@ -12144,7 +12162,7 @@ function Lh(e, s, t, a, n, i) {
|
|
|
12144
12162
|
_(c, {
|
|
12145
12163
|
gap: 8,
|
|
12146
12164
|
class: "ecs-pagination-nav",
|
|
12147
|
-
style:
|
|
12165
|
+
style: x({ minWidth: t.tabsSpacing - 4 + "px" })
|
|
12148
12166
|
}, {
|
|
12149
12167
|
default: S(() => [
|
|
12150
12168
|
t.type == "paginated" ? (o(), l(X, { key: 0 }, [
|
|
@@ -12356,13 +12374,13 @@ function Nh(e, s, t, a, n, i) {
|
|
|
12356
12374
|
const r = g("ecs-icon"), c = g("ecs-sticker");
|
|
12357
12375
|
return o(), l("div", {
|
|
12358
12376
|
class: y(["ecs-party-entry", [t.party, t.color && t.background ? "ecs-party-entry-colored" : ""]]),
|
|
12359
|
-
style:
|
|
12377
|
+
style: x({ color: t.color })
|
|
12360
12378
|
}, [
|
|
12361
12379
|
t.icon && t.iconPosition == "left" ? (o(), h(r, {
|
|
12362
12380
|
key: 0,
|
|
12363
12381
|
type: i.iconType,
|
|
12364
12382
|
color: i.iconColor,
|
|
12365
|
-
style:
|
|
12383
|
+
style: x("margin-right:" + t.iconSpacing),
|
|
12366
12384
|
size: t.iconSize
|
|
12367
12385
|
}, null, 8, ["type", "color", "style", "size"])) : u("", !0),
|
|
12368
12386
|
t.shared ? (o(), h(c, {
|
|
@@ -12376,7 +12394,7 @@ function Nh(e, s, t, a, n, i) {
|
|
|
12376
12394
|
key: 2,
|
|
12377
12395
|
type: i.iconType,
|
|
12378
12396
|
color: i.iconColor,
|
|
12379
|
-
style:
|
|
12397
|
+
style: x("margin-left:" + t.iconSpacing),
|
|
12380
12398
|
size: t.iconSize
|
|
12381
12399
|
}, null, 8, ["type", "color", "style", "size"])) : u("", !0),
|
|
12382
12400
|
t.background ? (o(), l("div", Ah)) : u("", !0)
|
|
@@ -12509,7 +12527,7 @@ function Uh(e, s, t, a, n, i) {
|
|
|
12509
12527
|
}
|
|
12510
12528
|
const V_ = /* @__PURE__ */ v(Wh, [["render", Uh], ["__scopeId", "data-v-c1516cc2"]]), Gh = {
|
|
12511
12529
|
name: "ecs-rating-star-read",
|
|
12512
|
-
components: { EcsSkeletonLoader:
|
|
12530
|
+
components: { EcsSkeletonLoader: ge },
|
|
12513
12531
|
props: {
|
|
12514
12532
|
/** Sets the star rating count. */
|
|
12515
12533
|
rating: {
|
|
@@ -12562,7 +12580,7 @@ function Xh(e, s, t, a, n, i) {
|
|
|
12562
12580
|
const Zh = /* @__PURE__ */ v(Gh, [["render", Xh], ["__scopeId", "data-v-8f28e1c1"]]), Jh = {
|
|
12563
12581
|
name: "ecs-rating-favorability",
|
|
12564
12582
|
emits: ["click"],
|
|
12565
|
-
components: { EcsIcon: M, EcsSkeletonLoader:
|
|
12583
|
+
components: { EcsIcon: M, EcsSkeletonLoader: ge },
|
|
12566
12584
|
props: {
|
|
12567
12585
|
/** If set, the favorability icon will have a label as well. */
|
|
12568
12586
|
label: {
|
|
@@ -12845,7 +12863,7 @@ const H_ = /* @__PURE__ */ v(iv, [["render", vv], ["__scopeId", "data-v-c6ffbe27
|
|
|
12845
12863
|
}, vt = (e) => (be("data-v-f63b724f"), e = e(), _e(), e), bv = {
|
|
12846
12864
|
key: 0,
|
|
12847
12865
|
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"],
|
|
12866
|
+
}, _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
12867
|
function Ev(e, s, t, a, n, i) {
|
|
12850
12868
|
return o(), l("div", {
|
|
12851
12869
|
class: y(["ecs-rating-form", [t.large ? "ecs-rating-form-lg" : ""]])
|
|
@@ -12869,7 +12887,7 @@ function Ev(e, s, t, a, n, i) {
|
|
|
12869
12887
|
checked: t.value == 2 || null,
|
|
12870
12888
|
disabled: t.disabled
|
|
12871
12889
|
}, null, 8, Sv),
|
|
12872
|
-
|
|
12890
|
+
Cv,
|
|
12873
12891
|
f("input", {
|
|
12874
12892
|
type: "radio",
|
|
12875
12893
|
value: "3",
|
|
@@ -12877,7 +12895,7 @@ function Ev(e, s, t, a, n, i) {
|
|
|
12877
12895
|
onClick: s[2] || (s[2] = (r) => e.$emit("click", r)),
|
|
12878
12896
|
checked: t.value == 3 || null,
|
|
12879
12897
|
disabled: t.disabled
|
|
12880
|
-
}, null, 8,
|
|
12898
|
+
}, null, 8, xv),
|
|
12881
12899
|
Bv,
|
|
12882
12900
|
f("input", {
|
|
12883
12901
|
type: "radio",
|
|
@@ -13287,7 +13305,7 @@ function cy(e, s, t, a, n, i) {
|
|
|
13287
13305
|
const r = g("ecs-tab-bar"), c = g("ecs-tabs");
|
|
13288
13306
|
return o(), l("aside", {
|
|
13289
13307
|
class: y(["ecs-sidebar", [i.sizeClass, i.expandClass]]),
|
|
13290
|
-
style:
|
|
13308
|
+
style: x(i.height)
|
|
13291
13309
|
}, [
|
|
13292
13310
|
f("div", ly, [
|
|
13293
13311
|
_(r, { type: "sidebar" }, {
|
|
@@ -13400,7 +13418,7 @@ function ky(e, s, t, a, n, i) {
|
|
|
13400
13418
|
p(e.$slots, "primary-controls", {}, void 0, !0)
|
|
13401
13419
|
])) : u("", !0)
|
|
13402
13420
|
])),
|
|
13403
|
-
_(
|
|
13421
|
+
_(ue, { name: "expansion" }, {
|
|
13404
13422
|
default: S(() => [
|
|
13405
13423
|
t.subHeaderExpanded && e.$slots.subheader ? (o(), l("div", by, [
|
|
13406
13424
|
p(e.$slots, "subheader", {}, void 0, !0)
|
|
@@ -13408,7 +13426,7 @@ function ky(e, s, t, a, n, i) {
|
|
|
13408
13426
|
]),
|
|
13409
13427
|
_: 3
|
|
13410
13428
|
}),
|
|
13411
|
-
_(
|
|
13429
|
+
_(ue, { name: "expansion" }, {
|
|
13412
13430
|
default: S(() => [
|
|
13413
13431
|
t.tertiaryHeaderExpanded && e.$slots.tertiaryheader ? (o(), l("div", _y, [
|
|
13414
13432
|
p(e.$slots, "tertiaryheader", {}, void 0, !0)
|
|
@@ -13427,23 +13445,23 @@ const J_ = /* @__PURE__ */ v(my, [["render", ky], ["__scopeId", "data-v-da9abc3f
|
|
|
13427
13445
|
default: !1
|
|
13428
13446
|
}
|
|
13429
13447
|
}
|
|
13430
|
-
}, Sy = { class: "ecs-structured-content-left" },
|
|
13448
|
+
}, Sy = { class: "ecs-structured-content-left" }, Cy = {
|
|
13431
13449
|
key: 0,
|
|
13432
13450
|
class: "ecs-structured-content-right"
|
|
13433
13451
|
};
|
|
13434
|
-
function
|
|
13452
|
+
function xy(e, s, t, a, n, i) {
|
|
13435
13453
|
return o(), l("div", {
|
|
13436
13454
|
class: y(["ecs-structured-content", t.vertical ? "ecs-structured-content-vertical" : ""])
|
|
13437
13455
|
}, [
|
|
13438
13456
|
f("div", Sy, [
|
|
13439
13457
|
p(e.$slots, "default", {}, void 0, !0)
|
|
13440
13458
|
]),
|
|
13441
|
-
e.$slots.extend ? (o(), l("div",
|
|
13459
|
+
e.$slots.extend ? (o(), l("div", Cy, [
|
|
13442
13460
|
p(e.$slots, "extend", {}, void 0, !0)
|
|
13443
13461
|
])) : u("", !0)
|
|
13444
13462
|
], 2);
|
|
13445
13463
|
}
|
|
13446
|
-
const Q_ = /* @__PURE__ */ v(wy, [["render",
|
|
13464
|
+
const Q_ = /* @__PURE__ */ v(wy, [["render", xy], ["__scopeId", "data-v-cec887e2"]]), By = {
|
|
13447
13465
|
name: "ecs-swatches-picker",
|
|
13448
13466
|
emits: ["update:modelValue"],
|
|
13449
13467
|
props: {
|
|
@@ -13513,7 +13531,7 @@ function Iy(e, s, t, a, n, i) {
|
|
|
13513
13531
|
"aria-label": r.title,
|
|
13514
13532
|
"aria-checked": n.selectedColor == r.hex ? "true" : "false",
|
|
13515
13533
|
class: y(["ecs-swatches-color", n.selectedColor == r.hex ? "active" : ""]),
|
|
13516
|
-
style:
|
|
13534
|
+
style: x({ backgroundColor: r.hex, color: r.hex })
|
|
13517
13535
|
}, null, 46, zy))), 128))
|
|
13518
13536
|
], 2);
|
|
13519
13537
|
}
|
|
@@ -13687,7 +13705,7 @@ function Ny(e, s, t, a, n, i) {
|
|
|
13687
13705
|
const s0 = /* @__PURE__ */ v(Ty, [["render", Ny], ["__scopeId", "data-v-5098e4d3"]]), Dy = {
|
|
13688
13706
|
name: "ecs-tag",
|
|
13689
13707
|
emits: ["click"],
|
|
13690
|
-
components: { EcsSkeletonLoader:
|
|
13708
|
+
components: { EcsSkeletonLoader: ge, EcsFocusRing: L },
|
|
13691
13709
|
props: {
|
|
13692
13710
|
/** Determines the visual style of the tag. */
|
|
13693
13711
|
type: {
|
|
@@ -13737,7 +13755,7 @@ const s0 = /* @__PURE__ */ v(Ty, [["render", Ny], ["__scopeId", "data-v-5098e4d3
|
|
|
13737
13755
|
},
|
|
13738
13756
|
colorIsDark() {
|
|
13739
13757
|
if (this.color && this.color !== "")
|
|
13740
|
-
return
|
|
13758
|
+
return C(this.color).isDark();
|
|
13741
13759
|
},
|
|
13742
13760
|
customColorStyle() {
|
|
13743
13761
|
if (this.loading)
|
|
@@ -13747,11 +13765,11 @@ const s0 = /* @__PURE__ */ v(Ty, [["render", Ny], ["__scopeId", "data-v-5098e4d3
|
|
|
13747
13765
|
};
|
|
13748
13766
|
if (this.color && this.color !== "")
|
|
13749
13767
|
return this.colorIsDark ? {
|
|
13750
|
-
background:
|
|
13751
|
-
color:
|
|
13768
|
+
background: C(this.color).toRgbString(),
|
|
13769
|
+
color: C(this.color).lighten(65).toRgbString()
|
|
13752
13770
|
} : {
|
|
13753
|
-
background:
|
|
13754
|
-
color:
|
|
13771
|
+
background: C(this.color).toRgbString(),
|
|
13772
|
+
color: C(this.color).darken(65).toRgbString()
|
|
13755
13773
|
};
|
|
13756
13774
|
}
|
|
13757
13775
|
},
|
|
@@ -13774,7 +13792,7 @@ function Hy(e, s, t, a, n, i) {
|
|
|
13774
13792
|
t.loading ? "loading" : ""
|
|
13775
13793
|
]]),
|
|
13776
13794
|
onClick: s[0] || (s[0] = (...d) => i.handleClick && i.handleClick(...d)),
|
|
13777
|
-
style:
|
|
13795
|
+
style: x(i.customColorStyle),
|
|
13778
13796
|
role: t.hover ? "button" : !1,
|
|
13779
13797
|
tabindex: t.hover ? "0" : "-1",
|
|
13780
13798
|
"aria-busy": t.loading || null
|
|
@@ -13872,7 +13890,7 @@ const o0 = /* @__PURE__ */ v(Ky, [["render", Xy], ["__scopeId", "data-v-451fee48
|
|
|
13872
13890
|
emits: ["click"],
|
|
13873
13891
|
components: {
|
|
13874
13892
|
EcsIcon: M,
|
|
13875
|
-
EcsSkeletonLoader:
|
|
13893
|
+
EcsSkeletonLoader: ge
|
|
13876
13894
|
},
|
|
13877
13895
|
props: {
|
|
13878
13896
|
/** Displays a status indicator based on the passed value. */
|
|
@@ -13964,7 +13982,7 @@ const l0 = /* @__PURE__ */ v(ib, [["render", ab], ["__scopeId", "data-v-6af94f50
|
|
|
13964
13982
|
name: "ecs-tree-list-item",
|
|
13965
13983
|
emits: ["click", "toggled"],
|
|
13966
13984
|
components: { EcsIcon: M, EcsButtonCollapse: Ht, EcsFocusRing: L },
|
|
13967
|
-
mixins: [
|
|
13985
|
+
mixins: [fe],
|
|
13968
13986
|
props: {
|
|
13969
13987
|
/** ID for the Tree List Item */
|
|
13970
13988
|
id: String,
|
|
@@ -14169,7 +14187,7 @@ const d0 = /* @__PURE__ */ v(gb, [["render", pb], ["__scopeId", "data-v-a5153e06
|
|
|
14169
14187
|
name: "EcsTypeConfirmation",
|
|
14170
14188
|
emits: ["update:modelValue"],
|
|
14171
14189
|
components: { EcsInput: dm, EcsAlert: ws, EcsFormGroup: Tg },
|
|
14172
|
-
mixins: [
|
|
14190
|
+
mixins: [fe],
|
|
14173
14191
|
props: {
|
|
14174
14192
|
verb: {
|
|
14175
14193
|
type: String,
|
|
@@ -14302,7 +14320,7 @@ const u0 = /* @__PURE__ */ v(hb, [["render", kb], ["__scopeId", "data-v-a2927d0c
|
|
|
14302
14320
|
*/
|
|
14303
14321
|
}
|
|
14304
14322
|
}, Sb = ["poster", "autoplay", "loop", "controls", "src"];
|
|
14305
|
-
function
|
|
14323
|
+
function Cb(e, s, t, a, n, i) {
|
|
14306
14324
|
return o(), l("video", {
|
|
14307
14325
|
poster: t.posterImage,
|
|
14308
14326
|
autoplay: t.autoplay,
|
|
@@ -14312,7 +14330,7 @@ function xb(e, s, t, a, n, i) {
|
|
|
14312
14330
|
src: t.mp4Source
|
|
14313
14331
|
}, null, 8, Sb);
|
|
14314
14332
|
}
|
|
14315
|
-
const f0 = /* @__PURE__ */ v(wb, [["render",
|
|
14333
|
+
const f0 = /* @__PURE__ */ v(wb, [["render", Cb], ["__scopeId", "data-v-ce84fcb3"]]);
|
|
14316
14334
|
export {
|
|
14317
14335
|
Si as EcsActionToolbar,
|
|
14318
14336
|
ws as EcsAlert,
|
|
@@ -14323,7 +14341,7 @@ export {
|
|
|
14323
14341
|
Eb as EcsBreadcrumbButton,
|
|
14324
14342
|
$b as EcsBreadcrumbTitle,
|
|
14325
14343
|
Pb as EcsBulkSelector,
|
|
14326
|
-
|
|
14344
|
+
Ce as EcsButton,
|
|
14327
14345
|
Ht as EcsButtonCollapse,
|
|
14328
14346
|
Mb as EcsButtonContext,
|
|
14329
14347
|
Lb as EcsButtonContextGroup,
|
|
@@ -14392,10 +14410,10 @@ export {
|
|
|
14392
14410
|
wg as EcsInputSearch,
|
|
14393
14411
|
w_ as EcsJumperDocument,
|
|
14394
14412
|
S_ as EcsJumperIndex,
|
|
14395
|
-
|
|
14413
|
+
C_ as EcsJumperPage,
|
|
14396
14414
|
z_ as EcsLayoutDataTable,
|
|
14397
14415
|
B_ as EcsLayoutDirectory,
|
|
14398
|
-
|
|
14416
|
+
x_ as EcsLayoutIndex,
|
|
14399
14417
|
I_ as EcsLegendItem,
|
|
14400
14418
|
E_ as EcsLogMessage,
|
|
14401
14419
|
$_ as EcsMap,
|
|
@@ -14416,11 +14434,11 @@ export {
|
|
|
14416
14434
|
fo as EcsPopoverListItem,
|
|
14417
14435
|
kf as EcsProgress,
|
|
14418
14436
|
H_ as EcsQuicklink,
|
|
14419
|
-
|
|
14437
|
+
xa as EcsRadiobutton,
|
|
14420
14438
|
sv as EcsRatingFavorability,
|
|
14421
14439
|
Zh as EcsRatingStarRead,
|
|
14422
14440
|
q_ as EcsRatingStarWrite,
|
|
14423
|
-
|
|
14441
|
+
xg as EcsScrollContainer,
|
|
14424
14442
|
W_ as EcsSection,
|
|
14425
14443
|
j_ as EcsSegment,
|
|
14426
14444
|
js as EcsSelect,
|
|
@@ -14433,7 +14451,7 @@ export {
|
|
|
14433
14451
|
X_ as EcsSidebarContent,
|
|
14434
14452
|
Z_ as EcsSidebarFooter,
|
|
14435
14453
|
J_ as EcsSidebarHeader,
|
|
14436
|
-
|
|
14454
|
+
ge as EcsSkeletonLoader,
|
|
14437
14455
|
Ra as EcsSortbutton,
|
|
14438
14456
|
Ym as EcsSplitpanes,
|
|
14439
14457
|
Hu as EcsStateIcon,
|