@everchron/ec-shards 8.15.7 → 8.16.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 +361 -317
- package/dist/ec-shards.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as te, watch as ce, openBlock as o, createBlock as h, resolveDynamicComponent as Pe, unref as ae, normalizeClass as v, createElementBlock as l, normalizeStyle as
|
|
1
|
+
import { defineAsyncComponent as te, watch as ce, openBlock as o, createBlock as h, resolveDynamicComponent as Pe, unref as ae, normalizeClass as v, createElementBlock as l, normalizeStyle as x, resolveComponent as g, createVNode as _, createCommentVNode as u, createElementVNode as f, createTextVNode as D, toDisplayString as w, renderSlot as p, Transition as pe, withCtx as S, computed as ke, reactive as Qs, nextTick as ei, onBeforeUnmount as Pt, toRefs as _s, isRef as ti, onMounted as ks, useSlots as si, ref as Ye, watchEffect as kt, withKeys as G, Teleport as ii, withDirectives as Ge, vShow as gt, mergeProps as De, normalizeProps as ni, guardReactiveProps as ai, withModifiers as U, pushScopeId as be, popScopeId as _e, Fragment as X, renderList as he, resolveDirective as oi, vModelText as ri, h as li, TransitionGroup as ci } from "vue";
|
|
2
2
|
const se = (e, s) => {
|
|
3
3
|
const t = e[s];
|
|
4
4
|
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((a, n) => {
|
|
@@ -84,7 +84,7 @@ const se = (e, s) => {
|
|
|
84
84
|
function fi(e, s, t, a, n, i) {
|
|
85
85
|
return o(), l("span", {
|
|
86
86
|
class: v(["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__ */ y(ui, [["render", fi], ["__scopeId", "data-v-8d624905"]]), gi = {
|
|
@@ -176,7 +176,7 @@ function yi(e, s, t, a, n, i) {
|
|
|
176
176
|
t.inset ? "ecs-alert-inset" : "",
|
|
177
177
|
t.border !== !1 ? "ecs-alert-border" : ""
|
|
178
178
|
]]),
|
|
179
|
-
style:
|
|
179
|
+
style: x(i.borderStyles),
|
|
180
180
|
role: "alert"
|
|
181
181
|
}, [
|
|
182
182
|
t.dismissable ? (o(), l("button", {
|
|
@@ -215,7 +215,7 @@ function yi(e, s, t, a, n, i) {
|
|
|
215
215
|
])) : u("", !0)
|
|
216
216
|
], 6)) : u("", !0);
|
|
217
217
|
}
|
|
218
|
-
const
|
|
218
|
+
const ws = /* @__PURE__ */ y(gi, [["render", yi], ["__scopeId", "data-v-077ffd5b"]]), bi = {
|
|
219
219
|
name: "ecs-action-toolbar"
|
|
220
220
|
}, _i = {
|
|
221
221
|
class: "ecs-action-toolbar",
|
|
@@ -264,7 +264,7 @@ const wi = /* @__PURE__ */ y(bi, [["render", ki], ["__scopeId", "data-v-ed37c526
|
|
|
264
264
|
default: null
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
},
|
|
267
|
+
}, Ci = ["controls", "autoplay", "loop"], xi = ["src"], Bi = ["src"];
|
|
268
268
|
function zi(e, s, t, a, n, i) {
|
|
269
269
|
return o(), l("audio", {
|
|
270
270
|
class: "ecs-audio",
|
|
@@ -276,13 +276,13 @@ function zi(e, s, t, a, n, i) {
|
|
|
276
276
|
key: 0,
|
|
277
277
|
src: t.mp3Source,
|
|
278
278
|
type: "audio/mp3"
|
|
279
|
-
}, null, 8,
|
|
279
|
+
}, null, 8, xi)) : u("", !0),
|
|
280
280
|
t.oggSource ? (o(), l("source", {
|
|
281
281
|
key: 1,
|
|
282
282
|
src: t.oggSource,
|
|
283
283
|
type: "audio/ogg"
|
|
284
284
|
}, null, 8, Bi)) : u("", !0)
|
|
285
|
-
], 8,
|
|
285
|
+
], 8, Ci);
|
|
286
286
|
}
|
|
287
287
|
const ub = /* @__PURE__ */ y(Si, [["render", zi], ["__scopeId", "data-v-4e7ca115"]]), Ii = {
|
|
288
288
|
__name: "sticker",
|
|
@@ -335,7 +335,7 @@ const ub = /* @__PURE__ */ y(Si, [["render", zi], ["__scopeId", "data-v-4e7ca115
|
|
|
335
335
|
"aria-busy": t.value || null,
|
|
336
336
|
width: e.size,
|
|
337
337
|
height: e.size,
|
|
338
|
-
style:
|
|
338
|
+
style: x(`color: ${n.value}`)
|
|
339
339
|
}, null, 8, ["class", "aria-busy", "width", "height", "style"])) : u("", !0);
|
|
340
340
|
}
|
|
341
341
|
}, Fe = /* @__PURE__ */ y(Ii, [["__scopeId", "data-v-add9195d"]]), Ei = {
|
|
@@ -457,7 +457,7 @@ function Ti(e, s, t, a, n, i) {
|
|
|
457
457
|
const r = g("ecs-sticker");
|
|
458
458
|
return o(), l("div", {
|
|
459
459
|
class: v(["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 Oi(e, s, t, a, n, i) {
|
|
|
547
547
|
t.dismissable ? (o(), l("button", {
|
|
548
548
|
key: 0,
|
|
549
549
|
onClick: s[0] || (s[0] = (...d) => i.dismiss && i.dismiss(...d)),
|
|
550
|
-
style:
|
|
550
|
+
style: x(i.dismissButtonStyle),
|
|
551
551
|
class: "close",
|
|
552
552
|
"aria-label": "Dismiss"
|
|
553
553
|
}, [
|
|
@@ -705,14 +705,14 @@ const pb = /* @__PURE__ */ y(Vi, [["render", qi], ["__scopeId", "data-v-422cc046
|
|
|
705
705
|
function ji(e, s, t, a, n, i) {
|
|
706
706
|
return o(), l("div", {
|
|
707
707
|
class: v(["ecs-flex-row", [i.directionClass, i.justifyClass, i.alignClass, i.wrapClass]]),
|
|
708
|
-
style:
|
|
708
|
+
style: x(i.gapStyle)
|
|
709
709
|
}, [
|
|
710
710
|
p(e.$slots, "default", {}, void 0, !0)
|
|
711
711
|
], 6);
|
|
712
712
|
}
|
|
713
713
|
const Te = /* @__PURE__ */ y(Wi, [["render", ji], ["__scopeId", "data-v-c8f59d36"]]);
|
|
714
714
|
var rt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
715
|
-
function
|
|
715
|
+
function Ss(e) {
|
|
716
716
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
717
717
|
}
|
|
718
718
|
function zt(e, s, t) {
|
|
@@ -765,14 +765,14 @@ function It() {
|
|
|
765
765
|
return s.brand + "/" + s.version;
|
|
766
766
|
}).join(" ") : navigator.userAgent;
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function Cs() {
|
|
769
769
|
return !/^((?!chrome|android).)*safari/i.test(It());
|
|
770
770
|
}
|
|
771
771
|
function We(e, s, t) {
|
|
772
772
|
s === void 0 && (s = !1), t === void 0 && (t = !1);
|
|
773
773
|
var a = e.getBoundingClientRect(), n = 1, i = 1;
|
|
774
774
|
s && de(e) && (n = e.offsetWidth > 0 && qe(a.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && qe(a.height) / e.offsetHeight || 1);
|
|
775
|
-
var r = Re(e) ? le(e) : window, c = r.visualViewport, d = !
|
|
775
|
+
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;
|
|
776
776
|
return {
|
|
777
777
|
width: k,
|
|
778
778
|
height: z,
|
|
@@ -876,7 +876,7 @@ function Qe(e, s) {
|
|
|
876
876
|
function Xi(e) {
|
|
877
877
|
return ["table", "td", "th"].indexOf(Se(e)) >= 0;
|
|
878
878
|
}
|
|
879
|
-
function
|
|
879
|
+
function ts(e) {
|
|
880
880
|
return !de(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
881
881
|
Ie(e).position === "fixed" ? null : e.offsetParent;
|
|
882
882
|
}
|
|
@@ -897,13 +897,13 @@ function Zi(e) {
|
|
|
897
897
|
return null;
|
|
898
898
|
}
|
|
899
899
|
function st(e) {
|
|
900
|
-
for (var s = le(e), t =
|
|
901
|
-
t =
|
|
900
|
+
for (var s = le(e), t = ts(e); t && Xi(t) && Ie(t).position === "static"; )
|
|
901
|
+
t = ts(t);
|
|
902
902
|
return t && (Se(t) === "html" || Se(t) === "body" && Ie(t).position === "static") ? s : t || Zi(e) || s;
|
|
903
903
|
}
|
|
904
|
-
var oe = "top", ve = "bottom", ye = "right", re = "left", Nt = "auto", it = [oe, ve, ye, re], je = "start", tt = "end", Ji = "clippingParents",
|
|
904
|
+
var oe = "top", ve = "bottom", ye = "right", re = "left", Nt = "auto", it = [oe, ve, ye, re], je = "start", tt = "end", Ji = "clippingParents", Bs = "viewport", Xe = "popper", Qi = "reference", ss = /* @__PURE__ */ it.reduce(function(e, s) {
|
|
905
905
|
return e.concat([s + "-" + je, s + "-" + tt]);
|
|
906
|
-
}, []),
|
|
906
|
+
}, []), zs = /* @__PURE__ */ [].concat(it, [Nt]).reduce(function(e, s) {
|
|
907
907
|
return e.concat([s, s + "-" + je, s + "-" + tt]);
|
|
908
908
|
}, []), en = "beforeRead", tn = "read", sn = "afterRead", nn = "beforeMain", an = "main", on = "afterMain", rn = "beforeWrite", ln = "write", cn = "afterWrite", dn = [en, tn, sn, nn, an, on, rn, ln, cn];
|
|
909
909
|
function un(e) {
|
|
@@ -959,7 +959,7 @@ function pn(e, s) {
|
|
|
959
959
|
var t = le(e), a = Me(e), n = t.visualViewport, i = a.clientWidth, r = a.clientHeight, c = 0, d = 0;
|
|
960
960
|
if (n) {
|
|
961
961
|
i = n.width, r = n.height;
|
|
962
|
-
var m =
|
|
962
|
+
var m = Cs();
|
|
963
963
|
(m || !m && s === "fixed") && (c = n.offsetLeft, d = n.offsetTop);
|
|
964
964
|
}
|
|
965
965
|
return {
|
|
@@ -978,7 +978,7 @@ function hn(e) {
|
|
|
978
978
|
y: d
|
|
979
979
|
};
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function Is(e, s) {
|
|
982
982
|
var t = s.getRootNode && s.getRootNode();
|
|
983
983
|
if (e.contains(s))
|
|
984
984
|
return !0;
|
|
@@ -1004,20 +1004,20 @@ function vn(e, s) {
|
|
|
1004
1004
|
var t = We(e, !1, s === "fixed");
|
|
1005
1005
|
return t.top = t.top + e.clientTop, t.left = t.left + e.clientLeft, t.bottom = t.top + e.clientHeight, t.right = t.left + e.clientWidth, t.width = e.clientWidth, t.height = e.clientHeight, t.x = t.left, t.y = t.top, t;
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1008
|
-
return s ===
|
|
1007
|
+
function is(e, s, t) {
|
|
1008
|
+
return s === Bs ? Et(pn(e, t)) : Re(s) ? vn(s, t) : Et(hn(Me(e)));
|
|
1009
1009
|
}
|
|
1010
1010
|
function yn(e) {
|
|
1011
1011
|
var s = Qe(mt(e)), t = ["absolute", "fixed"].indexOf(Ie(e).position) >= 0, a = t && de(e) ? st(e) : e;
|
|
1012
1012
|
return Re(a) ? s.filter(function(n) {
|
|
1013
|
-
return Re(n) &&
|
|
1013
|
+
return Re(n) && Is(n, a) && Se(n) !== "body";
|
|
1014
1014
|
}) : [];
|
|
1015
1015
|
}
|
|
1016
1016
|
function bn(e, s, t, a) {
|
|
1017
1017
|
var n = s === "clippingParents" ? yn(e) : [].concat(s), i = [].concat(n, [t]), r = i[0], c = i.reduce(function(d, m) {
|
|
1018
|
-
var b =
|
|
1018
|
+
var b = is(e, m, a);
|
|
1019
1019
|
return d.top = Ne(b.top, d.top), d.right = ut(b.right, d.right), d.bottom = ut(b.bottom, d.bottom), d.left = Ne(b.left, d.left), d;
|
|
1020
|
-
},
|
|
1020
|
+
}, is(e, r, a));
|
|
1021
1021
|
return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
|
|
1022
1022
|
}
|
|
1023
1023
|
function we(e) {
|
|
@@ -1029,7 +1029,7 @@ function Ue(e) {
|
|
|
1029
1029
|
function Dt(e) {
|
|
1030
1030
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
1031
1031
|
}
|
|
1032
|
-
function
|
|
1032
|
+
function Es(e) {
|
|
1033
1033
|
var s = e.reference, t = e.element, a = e.placement, n = a ? we(a) : null, i = a ? Ue(a) : null, r = s.x + s.width / 2 - t.width / 2, c = s.y + s.height / 2 - t.height / 2, d;
|
|
1034
1034
|
switch (n) {
|
|
1035
1035
|
case oe:
|
|
@@ -1076,7 +1076,7 @@ function Is(e) {
|
|
|
1076
1076
|
}
|
|
1077
1077
|
return d;
|
|
1078
1078
|
}
|
|
1079
|
-
function
|
|
1079
|
+
function $s() {
|
|
1080
1080
|
return {
|
|
1081
1081
|
top: 0,
|
|
1082
1082
|
right: 0,
|
|
@@ -1084,17 +1084,17 @@ function Es() {
|
|
|
1084
1084
|
left: 0
|
|
1085
1085
|
};
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1088
|
-
return Object.assign({},
|
|
1087
|
+
function Ps(e) {
|
|
1088
|
+
return Object.assign({}, $s(), e);
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1090
|
+
function Ts(e, s) {
|
|
1091
1091
|
return s.reduce(function(t, a) {
|
|
1092
1092
|
return t[a] = e, t;
|
|
1093
1093
|
}, {});
|
|
1094
1094
|
}
|
|
1095
1095
|
function Rt(e, s) {
|
|
1096
1096
|
s === void 0 && (s = {});
|
|
1097
|
-
var t = s, a = t.placement, n = a === void 0 ? e.placement : a, i = t.strategy, r = i === void 0 ? e.strategy : i, c = t.boundary, d = c === void 0 ? Ji : c, m = t.rootBoundary, b = m === void 0 ?
|
|
1097
|
+
var t = s, a = t.placement, n = a === void 0 ? e.placement : a, i = t.strategy, r = i === void 0 ? e.strategy : i, c = t.boundary, d = c === void 0 ? Ji : c, m = t.rootBoundary, b = m === void 0 ? Bs : m, k = t.elementContext, z = k === void 0 ? Xe : k, I = t.altBoundary, B = I === void 0 ? !1 : I, $ = t.padding, T = $ === void 0 ? 0 : $, O = Ps(typeof T != "number" ? T : Ts(T, it)), R = z === Xe ? Qi : Xe, H = e.rects.popper, P = e.elements[B ? R : z], A = bn(Re(P) ? P : P.contextElement || Me(e.elements.popper), d, b, r), E = We(e.elements.reference), N = Es({
|
|
1098
1098
|
reference: E,
|
|
1099
1099
|
element: H,
|
|
1100
1100
|
strategy: "absolute",
|
|
@@ -1108,18 +1108,18 @@ function Rt(e, s) {
|
|
|
1108
1108
|
if (z === Xe && j) {
|
|
1109
1109
|
var Z = j[n];
|
|
1110
1110
|
Object.keys(W).forEach(function(K) {
|
|
1111
|
-
var
|
|
1112
|
-
W[K] += Z[Be] *
|
|
1111
|
+
var xe = [ye, ve].indexOf(K) >= 0 ? 1 : -1, Be = [oe, ve].indexOf(K) >= 0 ? "y" : "x";
|
|
1112
|
+
W[K] += Z[Be] * xe;
|
|
1113
1113
|
});
|
|
1114
1114
|
}
|
|
1115
1115
|
return W;
|
|
1116
1116
|
}
|
|
1117
|
-
var
|
|
1117
|
+
var ns = {
|
|
1118
1118
|
placement: "bottom",
|
|
1119
1119
|
modifiers: [],
|
|
1120
1120
|
strategy: "absolute"
|
|
1121
1121
|
};
|
|
1122
|
-
function
|
|
1122
|
+
function as() {
|
|
1123
1123
|
for (var e = arguments.length, s = new Array(e), t = 0; t < e; t++)
|
|
1124
1124
|
s[t] = arguments[t];
|
|
1125
1125
|
return !s.some(function(a) {
|
|
@@ -1128,13 +1128,13 @@ function ns() {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
function _n(e) {
|
|
1130
1130
|
e === void 0 && (e = {});
|
|
1131
|
-
var s = e, t = s.defaultModifiers, a = t === void 0 ? [] : t, n = s.defaultOptions, i = n === void 0 ?
|
|
1131
|
+
var s = e, t = s.defaultModifiers, a = t === void 0 ? [] : t, n = s.defaultOptions, i = n === void 0 ? ns : n;
|
|
1132
1132
|
return function(c, d, m) {
|
|
1133
1133
|
m === void 0 && (m = i);
|
|
1134
1134
|
var b = {
|
|
1135
1135
|
placement: "bottom",
|
|
1136
1136
|
orderedModifiers: [],
|
|
1137
|
-
options: Object.assign({},
|
|
1137
|
+
options: Object.assign({}, ns, i),
|
|
1138
1138
|
modifiersData: {},
|
|
1139
1139
|
elements: {
|
|
1140
1140
|
reference: c,
|
|
@@ -1163,7 +1163,7 @@ function _n(e) {
|
|
|
1163
1163
|
forceUpdate: function() {
|
|
1164
1164
|
if (!z) {
|
|
1165
1165
|
var O = b.elements, R = O.reference, H = O.popper;
|
|
1166
|
-
if (
|
|
1166
|
+
if (as(R, H)) {
|
|
1167
1167
|
b.rects = {
|
|
1168
1168
|
reference: Yi(R, st(H), b.options.strategy === "fixed"),
|
|
1169
1169
|
popper: At(H)
|
|
@@ -1197,7 +1197,7 @@ function _n(e) {
|
|
|
1197
1197
|
$(), z = !0;
|
|
1198
1198
|
}
|
|
1199
1199
|
};
|
|
1200
|
-
if (!
|
|
1200
|
+
if (!as(c, d))
|
|
1201
1201
|
return I;
|
|
1202
1202
|
I.setOptions(m).then(function(T) {
|
|
1203
1203
|
!z && m.onFirstUpdate && m.onFirstUpdate(T);
|
|
@@ -1249,21 +1249,21 @@ const wn = {
|
|
|
1249
1249
|
};
|
|
1250
1250
|
function Sn(e) {
|
|
1251
1251
|
var s = e.state, t = e.name;
|
|
1252
|
-
s.modifiersData[t] =
|
|
1252
|
+
s.modifiersData[t] = Es({
|
|
1253
1253
|
reference: s.rects.reference,
|
|
1254
1254
|
element: s.rects.popper,
|
|
1255
1255
|
strategy: "absolute",
|
|
1256
1256
|
placement: s.placement
|
|
1257
1257
|
});
|
|
1258
1258
|
}
|
|
1259
|
-
const
|
|
1259
|
+
const Cn = {
|
|
1260
1260
|
name: "popperOffsets",
|
|
1261
1261
|
enabled: !0,
|
|
1262
1262
|
phase: "read",
|
|
1263
1263
|
fn: Sn,
|
|
1264
1264
|
data: {}
|
|
1265
1265
|
};
|
|
1266
|
-
var
|
|
1266
|
+
var xn = {
|
|
1267
1267
|
top: "auto",
|
|
1268
1268
|
right: "auto",
|
|
1269
1269
|
bottom: "auto",
|
|
@@ -1276,7 +1276,7 @@ function Bn(e, s) {
|
|
|
1276
1276
|
y: qe(a * n) / n || 0
|
|
1277
1277
|
};
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1279
|
+
function os(e) {
|
|
1280
1280
|
var s, t = e.popper, a = e.popperRect, n = e.placement, i = e.variation, r = e.offsets, c = e.position, d = e.gpuAcceleration, m = e.adaptive, b = e.roundOffsets, k = e.isFixed, z = r.x, I = z === void 0 ? 0 : z, B = r.y, $ = B === void 0 ? 0 : B, T = typeof b == "function" ? b({
|
|
1281
1281
|
x: I,
|
|
1282
1282
|
y: $
|
|
@@ -1307,7 +1307,7 @@ function as(e) {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
var j = Object.assign({
|
|
1309
1309
|
position: c
|
|
1310
|
-
}, m &&
|
|
1310
|
+
}, m && xn), Z = b === !0 ? Bn({
|
|
1311
1311
|
x: I,
|
|
1312
1312
|
y: $
|
|
1313
1313
|
}, le(t)) : {
|
|
@@ -1329,12 +1329,12 @@ function zn(e) {
|
|
|
1329
1329
|
gpuAcceleration: n,
|
|
1330
1330
|
isFixed: s.options.strategy === "fixed"
|
|
1331
1331
|
};
|
|
1332
|
-
s.modifiersData.popperOffsets != null && (s.styles.popper = Object.assign({}, s.styles.popper,
|
|
1332
|
+
s.modifiersData.popperOffsets != null && (s.styles.popper = Object.assign({}, s.styles.popper, os(Object.assign({}, m, {
|
|
1333
1333
|
offsets: s.modifiersData.popperOffsets,
|
|
1334
1334
|
position: s.options.strategy,
|
|
1335
1335
|
adaptive: r,
|
|
1336
1336
|
roundOffsets: d
|
|
1337
|
-
})))), s.modifiersData.arrow != null && (s.styles.arrow = Object.assign({}, s.styles.arrow,
|
|
1337
|
+
})))), s.modifiersData.arrow != null && (s.styles.arrow = Object.assign({}, s.styles.arrow, os(Object.assign({}, m, {
|
|
1338
1338
|
offsets: s.modifiersData.arrow,
|
|
1339
1339
|
position: "absolute",
|
|
1340
1340
|
adaptive: !1,
|
|
@@ -1392,7 +1392,7 @@ const Pn = {
|
|
|
1392
1392
|
effect: $n,
|
|
1393
1393
|
requires: ["computeStyles"]
|
|
1394
1394
|
};
|
|
1395
|
-
var Tn = [wn,
|
|
1395
|
+
var Tn = [wn, Cn, In, Pn], Mn = /* @__PURE__ */ _n({
|
|
1396
1396
|
defaultModifiers: Tn
|
|
1397
1397
|
});
|
|
1398
1398
|
function Ln(e) {
|
|
@@ -1425,15 +1425,15 @@ function An(e) {
|
|
|
1425
1425
|
};
|
|
1426
1426
|
if (E) {
|
|
1427
1427
|
if (i) {
|
|
1428
|
-
var K,
|
|
1428
|
+
var K, xe = P === "y" ? oe : re, Be = P === "y" ? ve : ye, Y = P === "y" ? "height" : "width", Q = E[P], Ee = Q + T[xe], ie = Q - T[Be], Ve = I ? -F[Y] / 2 : 0, J = R === je ? N[Y] : F[Y], ee = R === je ? -F[Y] : -N[Y], Le = s.elements.arrow, He = I && Le ? At(Le) : {
|
|
1429
1429
|
width: 0,
|
|
1430
1430
|
height: 0
|
|
1431
|
-
}, $e = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding :
|
|
1432
|
-
E[P] =
|
|
1431
|
+
}, $e = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : $s(), Ke = $e[xe], at = $e[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 : ee + 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(Ee, Ys) : Ee, Q, I ? Ne(ie, Xs) : ie);
|
|
1432
|
+
E[P] = Gt, Z[P] = Gt - Q;
|
|
1433
1433
|
}
|
|
1434
1434
|
if (c) {
|
|
1435
|
-
var
|
|
1436
|
-
E[A] =
|
|
1435
|
+
var Kt, Zs = P === "x" ? oe : re, Js = P === "x" ? ve : ye, Ae = E[A], ot = A === "y" ? "height" : "width", Yt = Ae + T[Zs], Xt = Ae - T[Js], _t = [oe, re].indexOf(O) !== -1, Zt = (Kt = j == null ? void 0 : j[A]) != null ? Kt : 0, Jt = _t ? Yt : Ae - N[ot] - F[ot] - Zt + W.altAxis, Qt = _t ? Ae + N[ot] + F[ot] - Zt - W.altAxis : Xt, es = I && _t ? On(Jt, Ae, Qt) : et(I ? Jt : Yt, Ae, I ? Qt : Xt);
|
|
1436
|
+
E[A] = es, Z[A] = es - Ae;
|
|
1437
1437
|
}
|
|
1438
1438
|
s.modifiersData[a] = Z;
|
|
1439
1439
|
}
|
|
@@ -1460,14 +1460,14 @@ var Rn = {
|
|
|
1460
1460
|
start: "end",
|
|
1461
1461
|
end: "start"
|
|
1462
1462
|
};
|
|
1463
|
-
function
|
|
1463
|
+
function rs(e) {
|
|
1464
1464
|
return e.replace(/start|end/g, function(s) {
|
|
1465
1465
|
return Rn[s];
|
|
1466
1466
|
});
|
|
1467
1467
|
}
|
|
1468
1468
|
function Fn(e, s) {
|
|
1469
1469
|
s === void 0 && (s = {});
|
|
1470
|
-
var t = s, a = t.placement, n = t.boundary, i = t.rootBoundary, r = t.padding, c = t.flipVariations, d = t.allowedAutoPlacements, m = d === void 0 ?
|
|
1470
|
+
var t = s, a = t.placement, n = t.boundary, i = t.rootBoundary, r = t.padding, c = t.flipVariations, d = t.allowedAutoPlacements, m = d === void 0 ? zs : d, b = Ue(a), k = b ? c ? ss : ss.filter(function(B) {
|
|
1471
1471
|
return Ue(B) === b;
|
|
1472
1472
|
}) : it, z = k.filter(function(B) {
|
|
1473
1473
|
return m.indexOf(B) >= 0;
|
|
@@ -1489,7 +1489,7 @@ function Vn(e) {
|
|
|
1489
1489
|
if (we(e) === Nt)
|
|
1490
1490
|
return [];
|
|
1491
1491
|
var s = dt(e);
|
|
1492
|
-
return [
|
|
1492
|
+
return [rs(e), s, rs(s)];
|
|
1493
1493
|
}
|
|
1494
1494
|
function Hn(e) {
|
|
1495
1495
|
var s = e.state, t = e.options, a = e.name;
|
|
@@ -1504,13 +1504,13 @@ function Hn(e) {
|
|
|
1504
1504
|
allowedAutoPlacements: $
|
|
1505
1505
|
}) : $e);
|
|
1506
1506
|
}, []), A = s.rects.reference, E = s.rects.popper, N = /* @__PURE__ */ new Map(), F = !0, V = P[0], W = 0; W < P.length; W++) {
|
|
1507
|
-
var j = P[W], Z = we(j), K = Ue(j) === je,
|
|
1507
|
+
var j = P[W], Z = we(j), K = Ue(j) === je, xe = [oe, ve].indexOf(Z) >= 0, Be = xe ? "width" : "height", Y = Rt(s, {
|
|
1508
1508
|
placement: j,
|
|
1509
1509
|
boundary: b,
|
|
1510
1510
|
rootBoundary: k,
|
|
1511
1511
|
altBoundary: z,
|
|
1512
1512
|
padding: m
|
|
1513
|
-
}), Q =
|
|
1513
|
+
}), Q = xe ? K ? ye : re : K ? ve : oe;
|
|
1514
1514
|
A[Be] > E[Be] && (Q = dt(Q));
|
|
1515
1515
|
var Ee = dt(Q), ie = [];
|
|
1516
1516
|
if (i && ie.push(Y[Z] <= 0), c && ie.push(Y[Q] <= 0, Y[Ee] <= 0), ie.every(function(He) {
|
|
@@ -1563,7 +1563,7 @@ function Wn(e, s, t) {
|
|
|
1563
1563
|
};
|
|
1564
1564
|
}
|
|
1565
1565
|
function jn(e) {
|
|
1566
|
-
var s = e.state, t = e.options, a = e.name, n = t.offset, i = n === void 0 ? [0, 0] : n, r =
|
|
1566
|
+
var s = e.state, t = e.options, a = e.name, n = t.offset, i = n === void 0 ? [0, 0] : n, r = zs.reduce(function(b, k) {
|
|
1567
1567
|
return b[k] = Wn(k, s.rects, i), b;
|
|
1568
1568
|
}, {}), c = r[s.placement], d = c.x, m = c.y;
|
|
1569
1569
|
s.modifiersData.popperOffsets != null && (s.modifiersData.popperOffsets.x += d, s.modifiersData.popperOffsets.y += m), s.modifiersData[a] = r;
|
|
@@ -1578,7 +1578,7 @@ const Un = {
|
|
|
1578
1578
|
var Gn = function(s, t) {
|
|
1579
1579
|
return s = typeof s == "function" ? s(Object.assign({}, t.rects, {
|
|
1580
1580
|
placement: t.placement
|
|
1581
|
-
})) : s,
|
|
1581
|
+
})) : s, Ps(typeof s != "number" ? s : Ts(s, it));
|
|
1582
1582
|
};
|
|
1583
1583
|
function Kn(e) {
|
|
1584
1584
|
var s, t = e.state, a = e.name, n = e.options, i = t.elements.arrow, r = t.modifiersData.popperOffsets, c = we(t.placement), d = Dt(c), m = [re, ye].indexOf(c) >= 0, b = m ? "height" : "width";
|
|
@@ -1589,7 +1589,7 @@ function Kn(e) {
|
|
|
1589
1589
|
}
|
|
1590
1590
|
function Yn(e) {
|
|
1591
1591
|
var s = e.state, t = e.options, a = t.element, n = a === void 0 ? "[data-popper-arrow]" : a;
|
|
1592
|
-
n != null && (typeof n == "string" && (n = s.elements.popper.querySelector(n), !n) ||
|
|
1592
|
+
n != null && (typeof n == "string" && (n = s.elements.popper.querySelector(n), !n) || Is(s.elements.popper, n) && (s.elements.arrow = n));
|
|
1593
1593
|
}
|
|
1594
1594
|
const Xn = {
|
|
1595
1595
|
name: "arrow",
|
|
@@ -1658,7 +1658,7 @@ function Zn({
|
|
|
1658
1658
|
var $;
|
|
1659
1659
|
($ = d.popperInstance) == null || $.destroy();
|
|
1660
1660
|
}), {
|
|
1661
|
-
...
|
|
1661
|
+
..._s(d),
|
|
1662
1662
|
open: I,
|
|
1663
1663
|
close: z
|
|
1664
1664
|
};
|
|
@@ -1666,7 +1666,7 @@ function Zn({
|
|
|
1666
1666
|
function Jn(e, s, t) {
|
|
1667
1667
|
ti(e) ? ce(e, (a, n) => {
|
|
1668
1668
|
n == null || n.removeEventListener(s, t), a == null || a.addEventListener(s, t);
|
|
1669
|
-
}) :
|
|
1669
|
+
}) : ks(() => {
|
|
1670
1670
|
e.addEventListener(s, t);
|
|
1671
1671
|
}), Pt(() => {
|
|
1672
1672
|
var a;
|
|
@@ -1829,7 +1829,7 @@ const ia = /* @__PURE__ */ y(ea, [["render", sa], ["__scopeId", "data-v-baf3bb28
|
|
|
1829
1829
|
const r = "ecs-popover-" + parseInt(Math.ceil(Math.random() * Date.now()).toPrecision(16).toString().replace(".", "")), c = Ye(!1), d = Ye(null), m = Ye(null), b = Ye(!1), k = Ye(!1), z = () => {
|
|
1830
1830
|
a.content ? k.value = !0 : k.value = !1;
|
|
1831
1831
|
};
|
|
1832
|
-
|
|
1832
|
+
ks(() => {
|
|
1833
1833
|
const J = a.default();
|
|
1834
1834
|
if (J && J.length > 1)
|
|
1835
1835
|
return console.error(
|
|
@@ -1850,7 +1850,7 @@ const ia = /* @__PURE__ */ y(ea, [["render", sa], ["__scopeId", "data-v-baf3bb28
|
|
|
1850
1850
|
openDelay: E,
|
|
1851
1851
|
placement: N,
|
|
1852
1852
|
show: F
|
|
1853
|
-
} =
|
|
1853
|
+
} = _s(n), { isOpen: V, open: W, close: j } = Zn({
|
|
1854
1854
|
arrowPadding: I,
|
|
1855
1855
|
emit: t,
|
|
1856
1856
|
locked: H,
|
|
@@ -1859,7 +1859,7 @@ const ia = /* @__PURE__ */ y(ea, [["render", sa], ["__scopeId", "data-v-baf3bb28
|
|
|
1859
1859
|
placement: N,
|
|
1860
1860
|
popperNode: d,
|
|
1861
1861
|
triggerNode: m
|
|
1862
|
-
}), Z = ke(() => F.value !== null), K = ke(() => O.value || !k.value),
|
|
1862
|
+
}), Z = ke(() => F.value !== null), K = ke(() => O.value || !k.value), xe = ke(() => V.value && !K.value), Be = ke(
|
|
1863
1863
|
() => !T.value && !Z.value
|
|
1864
1864
|
);
|
|
1865
1865
|
ke(
|
|
@@ -1925,7 +1925,7 @@ const ia = /* @__PURE__ */ y(ea, [["render", sa], ["__scopeId", "data-v-baf3bb28
|
|
|
1925
1925
|
], !0),
|
|
1926
1926
|
e.arrow ? (o(), h(ia, { key: 0 })) : u("", !0)
|
|
1927
1927
|
], 512)), [
|
|
1928
|
-
[gt,
|
|
1928
|
+
[gt, xe.value]
|
|
1929
1929
|
]) : u("", !0)
|
|
1930
1930
|
]),
|
|
1931
1931
|
_: 3
|
|
@@ -2028,7 +2028,7 @@ function la(e, s, t, a, n, i) {
|
|
|
2028
2028
|
_: 3
|
|
2029
2029
|
}, 16, ["placement", "disableClickAway", "offsetSkid", "offsetDistance", "disabled", "openDelay", "closeDelay", "show", "locked", "arrow", "persistent"]);
|
|
2030
2030
|
}
|
|
2031
|
-
const
|
|
2031
|
+
const Ms = /* @__PURE__ */ y(ra, [["render", la]]), ca = {
|
|
2032
2032
|
name: "ecs-popover-list",
|
|
2033
2033
|
props: {
|
|
2034
2034
|
inner: {
|
|
@@ -2115,7 +2115,7 @@ const Ft = /* @__PURE__ */ y(fa, [["render", ga]]), ma = {
|
|
|
2115
2115
|
function pa(e, s, t, a, n, i) {
|
|
2116
2116
|
return o(), h(Pe(i.textTag), {
|
|
2117
2117
|
class: v([[i.textClass, t.emphasized ? "emphasized" : ""], "ecs-text"]),
|
|
2118
|
-
style:
|
|
2118
|
+
style: x({ color: i.textColor })
|
|
2119
2119
|
}, {
|
|
2120
2120
|
default: S(() => [
|
|
2121
2121
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -2392,7 +2392,7 @@ function Sa(e, s, t, a, n, i) {
|
|
|
2392
2392
|
_: 3
|
|
2393
2393
|
}, 8, ["class"]);
|
|
2394
2394
|
}
|
|
2395
|
-
const
|
|
2395
|
+
const Ca = /* @__PURE__ */ y(_a, [["render", Sa], ["__scopeId", "data-v-0296b689"]]), xa = {
|
|
2396
2396
|
name: "ecs-switch",
|
|
2397
2397
|
emits: ["input"],
|
|
2398
2398
|
components: { EcsFocusRing: L },
|
|
@@ -2524,7 +2524,7 @@ function Ma(e, s, t, a, n, i) {
|
|
|
2524
2524
|
], 8, Ta)) : u("", !0)
|
|
2525
2525
|
]);
|
|
2526
2526
|
}
|
|
2527
|
-
const
|
|
2527
|
+
const Ls = /* @__PURE__ */ y(xa, [["render", Ma], ["__scopeId", "data-v-80ce1ada"]]), La = {
|
|
2528
2528
|
name: "ecs-sortbutton",
|
|
2529
2529
|
emits: ["click"],
|
|
2530
2530
|
components: { EcsFormCheck: Ft, EcsFocusRing: L },
|
|
@@ -2575,7 +2575,7 @@ function Na(e, s, t, a, n, i) {
|
|
|
2575
2575
|
_: 3
|
|
2576
2576
|
}, 8, ["class"]);
|
|
2577
2577
|
}
|
|
2578
|
-
const Da = /* @__PURE__ */ y(La, [["render", Na], ["__scopeId", "data-v-dca05194"]]),
|
|
2578
|
+
const Da = /* @__PURE__ */ y(La, [["render", Na], ["__scopeId", "data-v-dca05194"]]), Os = {
|
|
2579
2579
|
__name: "file-icon",
|
|
2580
2580
|
props: {
|
|
2581
2581
|
/** Sets the icon type. */
|
|
@@ -2790,10 +2790,10 @@ function Wa(e, s, t, a, n, i) {
|
|
|
2790
2790
|
}, null, 8, ["inset", "danger"])
|
|
2791
2791
|
], 42, Ha));
|
|
2792
2792
|
}
|
|
2793
|
-
const
|
|
2793
|
+
const Ce = /* @__PURE__ */ y(Ra, [["render", Wa], ["__scopeId", "data-v-a3459c11"]]), ja = {
|
|
2794
2794
|
name: "ecs-popover-list-item",
|
|
2795
2795
|
emits: ["click", "input", "change", "secondaryClick"],
|
|
2796
|
-
components: { EcsCheckbox: Vt, EcsRadiobutton:
|
|
2796
|
+
components: { EcsCheckbox: Vt, EcsRadiobutton: Ca, EcsSwitch: Ls, EcsSortbutton: Da, EcsIcon: M, EcsFileIcon: Os, EcsButton: Ce, EcsFocusRing: L },
|
|
2797
2797
|
props: {
|
|
2798
2798
|
/** Determines the type of popover list item.*/
|
|
2799
2799
|
type: {
|
|
@@ -3305,7 +3305,7 @@ function po(e, s, t, a, n, i) {
|
|
|
3305
3305
|
t.badge ? (o(), l("span", {
|
|
3306
3306
|
key: 1,
|
|
3307
3307
|
class: "badge",
|
|
3308
|
-
style:
|
|
3308
|
+
style: x({ background: t.badgeColor })
|
|
3309
3309
|
}, null, 4)) : u("", !0),
|
|
3310
3310
|
t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), h(r, {
|
|
3311
3311
|
key: 2,
|
|
@@ -3341,7 +3341,7 @@ function po(e, s, t, a, n, i) {
|
|
|
3341
3341
|
t.badge ? (o(), l("span", {
|
|
3342
3342
|
key: 1,
|
|
3343
3343
|
class: "badge",
|
|
3344
|
-
style:
|
|
3344
|
+
style: x({ background: t.badgeColor })
|
|
3345
3345
|
}, null, 4)) : u("", !0),
|
|
3346
3346
|
t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), h(r, {
|
|
3347
3347
|
key: 2,
|
|
@@ -3402,14 +3402,14 @@ const pt = /* @__PURE__ */ y(fo, [["render", po], ["__scopeId", "data-v-72592c75
|
|
|
3402
3402
|
function vo(e, s, t, a, n, i) {
|
|
3403
3403
|
return o(), l("div", {
|
|
3404
3404
|
class: v(["ecs-separator", i.classes]),
|
|
3405
|
-
style:
|
|
3405
|
+
style: x({ margin: i.marginStyles, width: t.width, height: t.height }),
|
|
3406
3406
|
role: "separator"
|
|
3407
3407
|
}, null, 6);
|
|
3408
3408
|
}
|
|
3409
3409
|
const yo = /* @__PURE__ */ y(ho, [["render", vo], ["__scopeId", "data-v-6c95c339"]]), bo = {
|
|
3410
3410
|
name: "ecs-bulk-selector",
|
|
3411
3411
|
emits: ["select", "families", "checked", "popover-shown", "popover-hidden"],
|
|
3412
|
-
components: { EcsFlexRow: Te, EcsPopover:
|
|
3412
|
+
components: { EcsFlexRow: Te, EcsPopover: Ms, EcsPopoverList: ua, EcsPopoverListItem: uo, EcsButtonToolbar: pt, EcsCheckbox: Vt, EcsSeparator: yo },
|
|
3413
3413
|
props: {
|
|
3414
3414
|
/** Array of available select options that should show up in the dropdown. Needs to contain objects for each popover-list-item, */
|
|
3415
3415
|
options: {
|
|
@@ -3561,12 +3561,12 @@ function ko(e, s, t, a, n, i) {
|
|
|
3561
3561
|
const hb = /* @__PURE__ */ y(bo, [["render", ko], ["__scopeId", "data-v-04aed8bb"]]), wo = {
|
|
3562
3562
|
name: "ecs-button-group"
|
|
3563
3563
|
}, So = { class: "ecs-button-group" };
|
|
3564
|
-
function
|
|
3564
|
+
function Co(e, s, t, a, n, i) {
|
|
3565
3565
|
return o(), l("div", So, [
|
|
3566
3566
|
p(e.$slots, "default", {}, void 0, !0)
|
|
3567
3567
|
]);
|
|
3568
3568
|
}
|
|
3569
|
-
const vb = /* @__PURE__ */ y(wo, [["render",
|
|
3569
|
+
const vb = /* @__PURE__ */ y(wo, [["render", Co], ["__scopeId", "data-v-83c21366"]]), xo = {
|
|
3570
3570
|
name: "ecs-button-collapse",
|
|
3571
3571
|
emits: ["click"],
|
|
3572
3572
|
components: {
|
|
@@ -3618,7 +3618,7 @@ function zo(e, s, t, a, n, i) {
|
|
|
3618
3618
|
_(r)
|
|
3619
3619
|
], 10, Bo);
|
|
3620
3620
|
}
|
|
3621
|
-
const
|
|
3621
|
+
const Ht = /* @__PURE__ */ y(xo, [["render", zo], ["__scopeId", "data-v-c7222f39"]]);
|
|
3622
3622
|
function ft(e) {
|
|
3623
3623
|
"@babel/helpers - typeof";
|
|
3624
3624
|
return ft = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(s) {
|
|
@@ -3628,15 +3628,15 @@ function ft(e) {
|
|
|
3628
3628
|
}, ft(e);
|
|
3629
3629
|
}
|
|
3630
3630
|
var Io = /^\s+/, Eo = /\s+$/;
|
|
3631
|
-
function
|
|
3632
|
-
if (e = e || "", s = s || {}, e instanceof
|
|
3631
|
+
function C(e, s) {
|
|
3632
|
+
if (e = e || "", s = s || {}, e instanceof C)
|
|
3633
3633
|
return e;
|
|
3634
|
-
if (!(this instanceof
|
|
3635
|
-
return new
|
|
3634
|
+
if (!(this instanceof C))
|
|
3635
|
+
return new C(e, s);
|
|
3636
3636
|
var t = $o(e);
|
|
3637
3637
|
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;
|
|
3638
3638
|
}
|
|
3639
|
-
|
|
3639
|
+
C.prototype = {
|
|
3640
3640
|
isDark: function() {
|
|
3641
3641
|
return this.getBrightness() < 128;
|
|
3642
3642
|
},
|
|
@@ -3667,7 +3667,7 @@ x.prototype = {
|
|
|
3667
3667
|
return this._a = As(s), this._roundA = Math.round(100 * this._a) / 100, this;
|
|
3668
3668
|
},
|
|
3669
3669
|
toHsv: function() {
|
|
3670
|
-
var s =
|
|
3670
|
+
var s = cs(this._r, this._g, this._b);
|
|
3671
3671
|
return {
|
|
3672
3672
|
h: s.h * 360,
|
|
3673
3673
|
s: s.s,
|
|
@@ -3676,11 +3676,11 @@ x.prototype = {
|
|
|
3676
3676
|
};
|
|
3677
3677
|
},
|
|
3678
3678
|
toHsvString: function() {
|
|
3679
|
-
var s =
|
|
3679
|
+
var s = cs(this._r, this._g, this._b), t = Math.round(s.h * 360), a = Math.round(s.s * 100), n = Math.round(s.v * 100);
|
|
3680
3680
|
return this._a == 1 ? "hsv(" + t + ", " + a + "%, " + n + "%)" : "hsva(" + t + ", " + a + "%, " + n + "%, " + this._roundA + ")";
|
|
3681
3681
|
},
|
|
3682
3682
|
toHsl: function() {
|
|
3683
|
-
var s =
|
|
3683
|
+
var s = ls(this._r, this._g, this._b);
|
|
3684
3684
|
return {
|
|
3685
3685
|
h: s.h * 360,
|
|
3686
3686
|
s: s.s,
|
|
@@ -3689,11 +3689,11 @@ x.prototype = {
|
|
|
3689
3689
|
};
|
|
3690
3690
|
},
|
|
3691
3691
|
toHslString: function() {
|
|
3692
|
-
var s =
|
|
3692
|
+
var s = ls(this._r, this._g, this._b), t = Math.round(s.h * 360), a = Math.round(s.s * 100), n = Math.round(s.l * 100);
|
|
3693
3693
|
return this._a == 1 ? "hsl(" + t + ", " + a + "%, " + n + "%)" : "hsla(" + t + ", " + a + "%, " + n + "%, " + this._roundA + ")";
|
|
3694
3694
|
},
|
|
3695
3695
|
toHex: function(s) {
|
|
3696
|
-
return
|
|
3696
|
+
return ds(this._r, this._g, this._b, s);
|
|
3697
3697
|
},
|
|
3698
3698
|
toHexString: function(s) {
|
|
3699
3699
|
return "#" + this.toHex(s);
|
|
@@ -3727,13 +3727,13 @@ x.prototype = {
|
|
|
3727
3727
|
return this._a == 1 ? "rgb(" + Math.round(q(this._r, 255) * 100) + "%, " + Math.round(q(this._g, 255) * 100) + "%, " + Math.round(q(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(q(this._r, 255) * 100) + "%, " + Math.round(q(this._g, 255) * 100) + "%, " + Math.round(q(this._b, 255) * 100) + "%, " + this._roundA + ")";
|
|
3728
3728
|
},
|
|
3729
3729
|
toName: function() {
|
|
3730
|
-
return this._a === 0 ? "transparent" : this._a < 1 ? !1 : Uo[
|
|
3730
|
+
return this._a === 0 ? "transparent" : this._a < 1 ? !1 : Uo[ds(this._r, this._g, this._b, !0)] || !1;
|
|
3731
3731
|
},
|
|
3732
3732
|
toFilter: function(s) {
|
|
3733
|
-
var t = "#" +
|
|
3733
|
+
var t = "#" + us(this._r, this._g, this._b, this._a), a = t, n = this._gradientType ? "GradientType = 1, " : "";
|
|
3734
3734
|
if (s) {
|
|
3735
|
-
var i =
|
|
3736
|
-
a = "#" +
|
|
3735
|
+
var i = C(s);
|
|
3736
|
+
a = "#" + us(i._r, i._g, i._b, i._a);
|
|
3737
3737
|
}
|
|
3738
3738
|
return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + t + ",endColorstr=" + a + ")";
|
|
3739
3739
|
},
|
|
@@ -3744,7 +3744,7 @@ x.prototype = {
|
|
|
3744
3744
|
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());
|
|
3745
3745
|
},
|
|
3746
3746
|
clone: function() {
|
|
3747
|
-
return
|
|
3747
|
+
return C(this.toString());
|
|
3748
3748
|
},
|
|
3749
3749
|
_applyModification: function(s, t) {
|
|
3750
3750
|
var a = s.apply(null, [this].concat([].slice.call(t)));
|
|
@@ -3791,20 +3791,20 @@ x.prototype = {
|
|
|
3791
3791
|
// return this._applyCombination(polyad, [number]);
|
|
3792
3792
|
// },
|
|
3793
3793
|
triad: function() {
|
|
3794
|
-
return this._applyCombination(
|
|
3794
|
+
return this._applyCombination(fs, [3]);
|
|
3795
3795
|
},
|
|
3796
3796
|
tetrad: function() {
|
|
3797
|
-
return this._applyCombination(
|
|
3797
|
+
return this._applyCombination(fs, [4]);
|
|
3798
3798
|
}
|
|
3799
3799
|
};
|
|
3800
|
-
|
|
3800
|
+
C.fromRatio = function(e, s) {
|
|
3801
3801
|
if (ft(e) == "object") {
|
|
3802
3802
|
var t = {};
|
|
3803
3803
|
for (var a in e)
|
|
3804
3804
|
e.hasOwnProperty(a) && (a === "a" ? t[a] = e[a] : t[a] = Je(e[a]));
|
|
3805
3805
|
e = t;
|
|
3806
3806
|
}
|
|
3807
|
-
return
|
|
3807
|
+
return C(e, s);
|
|
3808
3808
|
};
|
|
3809
3809
|
function $o(e) {
|
|
3810
3810
|
var s = {
|
|
@@ -3828,7 +3828,7 @@ function Po(e, s, t) {
|
|
|
3828
3828
|
b: q(t, 255) * 255
|
|
3829
3829
|
};
|
|
3830
3830
|
}
|
|
3831
|
-
function
|
|
3831
|
+
function ls(e, s, t) {
|
|
3832
3832
|
e = q(e, 255), s = q(s, 255), t = q(t, 255);
|
|
3833
3833
|
var a = Math.max(e, s, t), n = Math.min(e, s, t), i, r, c = (a + n) / 2;
|
|
3834
3834
|
if (a == n)
|
|
@@ -3872,7 +3872,7 @@ function To(e, s, t) {
|
|
|
3872
3872
|
b: i * 255
|
|
3873
3873
|
};
|
|
3874
3874
|
}
|
|
3875
|
-
function
|
|
3875
|
+
function cs(e, s, t) {
|
|
3876
3876
|
e = q(e, 255), s = q(s, 255), t = q(t, 255);
|
|
3877
3877
|
var a = Math.max(e, s, t), n = Math.min(e, s, t), i, r, c = a, d = a - n;
|
|
3878
3878
|
if (r = a === 0 ? 0 : d / a, a == n)
|
|
@@ -3906,7 +3906,7 @@ function Mo(e, s, t) {
|
|
|
3906
3906
|
b: k * 255
|
|
3907
3907
|
};
|
|
3908
3908
|
}
|
|
3909
|
-
function
|
|
3909
|
+
function ds(e, s, t, a) {
|
|
3910
3910
|
var n = [me(Math.round(e).toString(16)), me(Math.round(s).toString(16)), me(Math.round(t).toString(16))];
|
|
3911
3911
|
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("");
|
|
3912
3912
|
}
|
|
@@ -3914,15 +3914,15 @@ function Lo(e, s, t, a, n) {
|
|
|
3914
3914
|
var i = [me(Math.round(e).toString(16)), me(Math.round(s).toString(16)), me(Math.round(t).toString(16)), me(Ns(a))];
|
|
3915
3915
|
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("");
|
|
3916
3916
|
}
|
|
3917
|
-
function
|
|
3917
|
+
function us(e, s, t, a) {
|
|
3918
3918
|
var n = [me(Ns(a)), me(Math.round(e).toString(16)), me(Math.round(s).toString(16)), me(Math.round(t).toString(16))];
|
|
3919
3919
|
return n.join("");
|
|
3920
3920
|
}
|
|
3921
|
-
|
|
3922
|
-
return !e || !s ? !1 :
|
|
3921
|
+
C.equals = function(e, s) {
|
|
3922
|
+
return !e || !s ? !1 : C(e).toRgbString() == C(s).toRgbString();
|
|
3923
3923
|
};
|
|
3924
|
-
|
|
3925
|
-
return
|
|
3924
|
+
C.random = function() {
|
|
3925
|
+
return C.fromRatio({
|
|
3926
3926
|
r: Math.random(),
|
|
3927
3927
|
g: Math.random(),
|
|
3928
3928
|
b: Math.random()
|
|
@@ -3930,45 +3930,45 @@ x.random = function() {
|
|
|
3930
3930
|
};
|
|
3931
3931
|
function Oo(e, s) {
|
|
3932
3932
|
s = s === 0 ? 0 : s || 10;
|
|
3933
|
-
var t =
|
|
3934
|
-
return t.s -= s / 100, t.s = ht(t.s),
|
|
3933
|
+
var t = C(e).toHsl();
|
|
3934
|
+
return t.s -= s / 100, t.s = ht(t.s), C(t);
|
|
3935
3935
|
}
|
|
3936
3936
|
function Ao(e, s) {
|
|
3937
3937
|
s = s === 0 ? 0 : s || 10;
|
|
3938
|
-
var t =
|
|
3939
|
-
return t.s += s / 100, t.s = ht(t.s),
|
|
3938
|
+
var t = C(e).toHsl();
|
|
3939
|
+
return t.s += s / 100, t.s = ht(t.s), C(t);
|
|
3940
3940
|
}
|
|
3941
3941
|
function No(e) {
|
|
3942
|
-
return
|
|
3942
|
+
return C(e).desaturate(100);
|
|
3943
3943
|
}
|
|
3944
3944
|
function Do(e, s) {
|
|
3945
3945
|
s = s === 0 ? 0 : s || 10;
|
|
3946
|
-
var t =
|
|
3947
|
-
return t.l += s / 100, t.l = ht(t.l),
|
|
3946
|
+
var t = C(e).toHsl();
|
|
3947
|
+
return t.l += s / 100, t.l = ht(t.l), C(t);
|
|
3948
3948
|
}
|
|
3949
3949
|
function Ro(e, s) {
|
|
3950
3950
|
s = s === 0 ? 0 : s || 10;
|
|
3951
|
-
var t =
|
|
3952
|
-
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)))),
|
|
3951
|
+
var t = C(e).toRgb();
|
|
3952
|
+
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);
|
|
3953
3953
|
}
|
|
3954
3954
|
function Fo(e, s) {
|
|
3955
3955
|
s = s === 0 ? 0 : s || 10;
|
|
3956
|
-
var t =
|
|
3957
|
-
return t.l -= s / 100, t.l = ht(t.l),
|
|
3956
|
+
var t = C(e).toHsl();
|
|
3957
|
+
return t.l -= s / 100, t.l = ht(t.l), C(t);
|
|
3958
3958
|
}
|
|
3959
3959
|
function Vo(e, s) {
|
|
3960
|
-
var t =
|
|
3961
|
-
return t.h = a < 0 ? 360 + a : a,
|
|
3960
|
+
var t = C(e).toHsl(), a = (t.h + s) % 360;
|
|
3961
|
+
return t.h = a < 0 ? 360 + a : a, C(t);
|
|
3962
3962
|
}
|
|
3963
3963
|
function Ho(e) {
|
|
3964
|
-
var s =
|
|
3965
|
-
return s.h = (s.h + 180) % 360,
|
|
3964
|
+
var s = C(e).toHsl();
|
|
3965
|
+
return s.h = (s.h + 180) % 360, C(s);
|
|
3966
3966
|
}
|
|
3967
|
-
function
|
|
3967
|
+
function fs(e, s) {
|
|
3968
3968
|
if (isNaN(s) || s <= 0)
|
|
3969
3969
|
throw new Error("Argument to polyad must be a positive number");
|
|
3970
|
-
for (var t =
|
|
3971
|
-
a.push(
|
|
3970
|
+
for (var t = C(e).toHsl(), a = [C(e)], n = 360 / s, i = 1; i < s; i++)
|
|
3971
|
+
a.push(C({
|
|
3972
3972
|
h: (t.h + i * n) % 360,
|
|
3973
3973
|
s: t.s,
|
|
3974
3974
|
l: t.l
|
|
@@ -3976,12 +3976,12 @@ function us(e, s) {
|
|
|
3976
3976
|
return a;
|
|
3977
3977
|
}
|
|
3978
3978
|
function qo(e) {
|
|
3979
|
-
var s =
|
|
3980
|
-
return [
|
|
3979
|
+
var s = C(e).toHsl(), t = s.h;
|
|
3980
|
+
return [C(e), C({
|
|
3981
3981
|
h: (t + 72) % 360,
|
|
3982
3982
|
s: s.s,
|
|
3983
3983
|
l: s.l
|
|
3984
|
-
}),
|
|
3984
|
+
}), C({
|
|
3985
3985
|
h: (t + 216) % 360,
|
|
3986
3986
|
s: s.s,
|
|
3987
3987
|
l: s.l
|
|
@@ -3989,37 +3989,37 @@ function qo(e) {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
function Wo(e, s, t) {
|
|
3991
3991
|
s = s || 6, t = t || 30;
|
|
3992
|
-
var a =
|
|
3992
|
+
var a = C(e).toHsl(), n = 360 / t, i = [C(e)];
|
|
3993
3993
|
for (a.h = (a.h - (n * s >> 1) + 720) % 360; --s; )
|
|
3994
|
-
a.h = (a.h + n) % 360, i.push(
|
|
3994
|
+
a.h = (a.h + n) % 360, i.push(C(a));
|
|
3995
3995
|
return i;
|
|
3996
3996
|
}
|
|
3997
3997
|
function jo(e, s) {
|
|
3998
3998
|
s = s || 6;
|
|
3999
|
-
for (var t =
|
|
4000
|
-
r.push(
|
|
3999
|
+
for (var t = C(e).toHsv(), a = t.h, n = t.s, i = t.v, r = [], c = 1 / s; s--; )
|
|
4000
|
+
r.push(C({
|
|
4001
4001
|
h: a,
|
|
4002
4002
|
s: n,
|
|
4003
4003
|
v: i
|
|
4004
4004
|
})), i = (i + c) % 1;
|
|
4005
4005
|
return r;
|
|
4006
4006
|
}
|
|
4007
|
-
|
|
4007
|
+
C.mix = function(e, s, t) {
|
|
4008
4008
|
t = t === 0 ? 0 : t || 50;
|
|
4009
|
-
var a =
|
|
4009
|
+
var a = C(e).toRgb(), n = C(s).toRgb(), i = t / 100, r = {
|
|
4010
4010
|
r: (n.r - a.r) * i + a.r,
|
|
4011
4011
|
g: (n.g - a.g) * i + a.g,
|
|
4012
4012
|
b: (n.b - a.b) * i + a.b,
|
|
4013
4013
|
a: (n.a - a.a) * i + a.a
|
|
4014
4014
|
};
|
|
4015
|
-
return
|
|
4015
|
+
return C(r);
|
|
4016
4016
|
};
|
|
4017
|
-
|
|
4018
|
-
var t =
|
|
4017
|
+
C.readability = function(e, s) {
|
|
4018
|
+
var t = C(e), a = C(s);
|
|
4019
4019
|
return (Math.max(t.getLuminance(), a.getLuminance()) + 0.05) / (Math.min(t.getLuminance(), a.getLuminance()) + 0.05);
|
|
4020
4020
|
};
|
|
4021
|
-
|
|
4022
|
-
var a =
|
|
4021
|
+
C.isReadable = function(e, s, t) {
|
|
4022
|
+
var a = C.readability(e, s), n, i;
|
|
4023
4023
|
switch (i = !1, n = Zo(t), n.level + n.size) {
|
|
4024
4024
|
case "AAsmall":
|
|
4025
4025
|
case "AAAlarge":
|
|
@@ -4034,17 +4034,17 @@ x.isReadable = function(e, s, t) {
|
|
|
4034
4034
|
}
|
|
4035
4035
|
return i;
|
|
4036
4036
|
};
|
|
4037
|
-
|
|
4037
|
+
C.mostReadable = function(e, s, t) {
|
|
4038
4038
|
var a = null, n = 0, i, r, c, d;
|
|
4039
4039
|
t = t || {}, r = t.includeFallbackColors, c = t.level, d = t.size;
|
|
4040
4040
|
for (var m = 0; m < s.length; m++)
|
|
4041
|
-
i =
|
|
4042
|
-
return
|
|
4041
|
+
i = C.readability(e, s[m]), i > n && (n = i, a = C(s[m]));
|
|
4042
|
+
return C.isReadable(e, a, {
|
|
4043
4043
|
level: c,
|
|
4044
4044
|
size: d
|
|
4045
|
-
}) || !r ? a : (t.includeFallbackColors = !1,
|
|
4045
|
+
}) || !r ? a : (t.includeFallbackColors = !1, C.mostReadable(e, ["#fff", "#000"], t));
|
|
4046
4046
|
};
|
|
4047
|
-
var $t =
|
|
4047
|
+
var $t = C.names = {
|
|
4048
4048
|
aliceblue: "f0f8ff",
|
|
4049
4049
|
antiquewhite: "faebd7",
|
|
4050
4050
|
aqua: "0ff",
|
|
@@ -4194,7 +4194,7 @@ var $t = x.names = {
|
|
|
4194
4194
|
whitesmoke: "f5f5f5",
|
|
4195
4195
|
yellow: "ff0",
|
|
4196
4196
|
yellowgreen: "9acd32"
|
|
4197
|
-
}, Uo =
|
|
4197
|
+
}, Uo = C.hexNames = Go($t);
|
|
4198
4198
|
function Go(e) {
|
|
4199
4199
|
var s = {};
|
|
4200
4200
|
for (var t in e)
|
|
@@ -4230,7 +4230,7 @@ function Je(e) {
|
|
|
4230
4230
|
function Ns(e) {
|
|
4231
4231
|
return Math.round(parseFloat(e) * 255).toString(16);
|
|
4232
4232
|
}
|
|
4233
|
-
function
|
|
4233
|
+
function gs(e) {
|
|
4234
4234
|
return ne(e) / 255;
|
|
4235
4235
|
}
|
|
4236
4236
|
var ge = function() {
|
|
@@ -4297,7 +4297,7 @@ function Xo(e) {
|
|
|
4297
4297
|
r: ne(t[1]),
|
|
4298
4298
|
g: ne(t[2]),
|
|
4299
4299
|
b: ne(t[3]),
|
|
4300
|
-
a:
|
|
4300
|
+
a: gs(t[4]),
|
|
4301
4301
|
format: s ? "name" : "hex8"
|
|
4302
4302
|
} : (t = ge.hex6.exec(e)) ? {
|
|
4303
4303
|
r: ne(t[1]),
|
|
@@ -4308,7 +4308,7 @@ function Xo(e) {
|
|
|
4308
4308
|
r: ne(t[1] + "" + t[1]),
|
|
4309
4309
|
g: ne(t[2] + "" + t[2]),
|
|
4310
4310
|
b: ne(t[3] + "" + t[3]),
|
|
4311
|
-
a:
|
|
4311
|
+
a: gs(t[4] + "" + t[4]),
|
|
4312
4312
|
format: s ? "name" : "hex8"
|
|
4313
4313
|
} : (t = ge.hex3.exec(e)) ? {
|
|
4314
4314
|
r: ne(t[1] + "" + t[1]),
|
|
@@ -4364,7 +4364,7 @@ const Jo = {
|
|
|
4364
4364
|
},
|
|
4365
4365
|
colorIsDark() {
|
|
4366
4366
|
if (this.selectedColor && this.selectedColor !== "")
|
|
4367
|
-
return
|
|
4367
|
+
return C(this.selectedColor).isDark();
|
|
4368
4368
|
},
|
|
4369
4369
|
selectedColorBackground() {
|
|
4370
4370
|
if (this.selectedColor && this.selectedColor !== "")
|
|
@@ -4373,9 +4373,9 @@ const Jo = {
|
|
|
4373
4373
|
selectedColorText() {
|
|
4374
4374
|
if (this.selectedColor && this.selectedColor !== "")
|
|
4375
4375
|
return this.colorIsDark ? {
|
|
4376
|
-
color:
|
|
4376
|
+
color: C(this.selectedColor).lighten(65).toRgbString()
|
|
4377
4377
|
} : {
|
|
4378
|
-
color:
|
|
4378
|
+
color: C(this.selectedColor).lighten(10).toRgbString()
|
|
4379
4379
|
};
|
|
4380
4380
|
}
|
|
4381
4381
|
},
|
|
@@ -4389,7 +4389,7 @@ function er(e, s, t, a, n, i) {
|
|
|
4389
4389
|
class: v(["ecs-context-button", [t.loading ? "loading" : "", i.iconOnly ? "ecs-context-button-icon-only" : ""]]),
|
|
4390
4390
|
"aria-label": t.ariaLabel,
|
|
4391
4391
|
"aria-busy": t.loading || null,
|
|
4392
|
-
style:
|
|
4392
|
+
style: x(i.selectedColorText),
|
|
4393
4393
|
onClick: s[0] || (s[0] = (d) => e.$emit("click", d))
|
|
4394
4394
|
}, [
|
|
4395
4395
|
t.icon || t.loading ? (o(), h(r, {
|
|
@@ -4400,7 +4400,7 @@ function er(e, s, t, a, n, i) {
|
|
|
4400
4400
|
t.selectedColor ? (o(), l("div", {
|
|
4401
4401
|
key: 1,
|
|
4402
4402
|
class: "ecs-context-button-color",
|
|
4403
|
-
style:
|
|
4403
|
+
style: x(i.selectedColorBackground)
|
|
4404
4404
|
}, null, 4)) : u("", !0),
|
|
4405
4405
|
p(e.$slots, "default", {}, void 0, !0),
|
|
4406
4406
|
_(c)
|
|
@@ -4644,7 +4644,7 @@ function hr(e, s, t, a, n, i) {
|
|
|
4644
4644
|
p(e.$slots, "default", {}, void 0, !0)
|
|
4645
4645
|
]);
|
|
4646
4646
|
}
|
|
4647
|
-
const
|
|
4647
|
+
const qt = /* @__PURE__ */ y(mr, [["render", hr], ["__scopeId", "data-v-743ca90b"]]), vr = {
|
|
4648
4648
|
name: "ecs-toolbar-icon-button",
|
|
4649
4649
|
emits: ["click"],
|
|
4650
4650
|
components: { EcsIcon: M, EcsFocusRing: L },
|
|
@@ -4746,8 +4746,8 @@ const kb = /* @__PURE__ */ y(vr, [["render", _r], ["__scopeId", "data-v-2beac513
|
|
|
4746
4746
|
return `item-${this.id}`;
|
|
4747
4747
|
}
|
|
4748
4748
|
}
|
|
4749
|
-
}, wr = ["id"], Sr = { class: "ecs-card-inner" },
|
|
4750
|
-
function
|
|
4749
|
+
}, wr = ["id"], Sr = { class: "ecs-card-inner" }, Cr = { class: "ecs-card-background" };
|
|
4750
|
+
function xr(e, s, t, a, n, i) {
|
|
4751
4751
|
return o(), l("div", {
|
|
4752
4752
|
onClick: s[0] || (s[0] = (r) => e.$emit("click", r)),
|
|
4753
4753
|
class: v(["ecs-card", [
|
|
@@ -4761,16 +4761,16 @@ function Cr(e, s, t, a, n, i) {
|
|
|
4761
4761
|
f("div", Sr, [
|
|
4762
4762
|
p(e.$slots, "default", {}, void 0, !0)
|
|
4763
4763
|
]),
|
|
4764
|
-
f("div",
|
|
4764
|
+
f("div", Cr, [
|
|
4765
4765
|
t.progress ? (o(), l("div", {
|
|
4766
4766
|
key: 0,
|
|
4767
4767
|
class: "progress",
|
|
4768
|
-
style:
|
|
4768
|
+
style: x({ width: t.progress + "%" })
|
|
4769
4769
|
}, null, 4)) : u("", !0)
|
|
4770
4770
|
])
|
|
4771
4771
|
], 10, wr);
|
|
4772
4772
|
}
|
|
4773
|
-
const wb = /* @__PURE__ */ y(kr, [["render",
|
|
4773
|
+
const wb = /* @__PURE__ */ y(kr, [["render", xr], ["__scopeId", "data-v-8d449816"]]), Br = {
|
|
4774
4774
|
name: "ecs-citation-line",
|
|
4775
4775
|
emits: ["change", "blur", "focus"],
|
|
4776
4776
|
components: { EcsFlexRow: Te },
|
|
@@ -4840,11 +4840,11 @@ function Ir(e, s, t, a, n, i) {
|
|
|
4840
4840
|
});
|
|
4841
4841
|
}
|
|
4842
4842
|
const Sb = /* @__PURE__ */ y(Br, [["render", Ir], ["__scopeId", "data-v-cfd8e718"]]);
|
|
4843
|
-
var
|
|
4844
|
-
Object.defineProperty(
|
|
4843
|
+
var Wt = {};
|
|
4844
|
+
Object.defineProperty(Wt, "__esModule", {
|
|
4845
4845
|
value: !0
|
|
4846
4846
|
});
|
|
4847
|
-
var Er =
|
|
4847
|
+
var Er = Wt.clickOutSide = {
|
|
4848
4848
|
mounted: function(s, t, a) {
|
|
4849
4849
|
s.clickOutsideEvent = function(n) {
|
|
4850
4850
|
s == n.target || s.contains(n.target) || t.value(n, s);
|
|
@@ -4853,11 +4853,11 @@ var Er = qt.clickOutSide = {
|
|
|
4853
4853
|
unmounted: function(s) {
|
|
4854
4854
|
document.removeEventListener("click", s.clickOutsideEvent);
|
|
4855
4855
|
}
|
|
4856
|
-
}, $r =
|
|
4856
|
+
}, $r = Wt.default = Er;
|
|
4857
4857
|
const Pr = {
|
|
4858
4858
|
name: "ecs-context-menu",
|
|
4859
4859
|
emits: ["option-clicked", "menu-closed"],
|
|
4860
|
-
components: { EcsIcon: M, EcsFocusRing: L, EcsButton:
|
|
4860
|
+
components: { EcsIcon: M, EcsFocusRing: L, EcsButton: Ce },
|
|
4861
4861
|
directives: {
|
|
4862
4862
|
clickOutSide: $r
|
|
4863
4863
|
},
|
|
@@ -4968,7 +4968,7 @@ function Or(e, s, t, a, n, i) {
|
|
|
4968
4968
|
return Ge((o(), l("div", {
|
|
4969
4969
|
class: v(["ecs-context-menu", n.opened ? " opened" : ""]),
|
|
4970
4970
|
id: t.elementId,
|
|
4971
|
-
style:
|
|
4971
|
+
style: x([i.postionStyles])
|
|
4972
4972
|
}, [
|
|
4973
4973
|
f("ul", {
|
|
4974
4974
|
role: "menu",
|
|
@@ -5019,10 +5019,10 @@ function Or(e, s, t, a, n, i) {
|
|
|
5019
5019
|
[m, i.onClickOutside]
|
|
5020
5020
|
]);
|
|
5021
5021
|
}
|
|
5022
|
-
const
|
|
5022
|
+
const Cb = /* @__PURE__ */ y(Pr, [["render", Or], ["__scopeId", "data-v-7a99d0e5"]]), Ar = {
|
|
5023
5023
|
name: "ecs-collapse",
|
|
5024
5024
|
emits: ["toggled", "remove"],
|
|
5025
|
-
components: { EcsButton:
|
|
5025
|
+
components: { EcsButton: Ce, EcsFocusRing: L, EcsFlexRow: Te },
|
|
5026
5026
|
props: {
|
|
5027
5027
|
/** Unique ID, is required to handle persist states. */
|
|
5028
5028
|
id: {
|
|
@@ -5187,7 +5187,7 @@ function Hr(e, s, t, a, n, i) {
|
|
|
5187
5187
|
], 10, Vr)
|
|
5188
5188
|
], 2);
|
|
5189
5189
|
}
|
|
5190
|
-
const
|
|
5190
|
+
const xb = /* @__PURE__ */ y(Ar, [["render", Hr], ["__scopeId", "data-v-b2ce05ee"]]), qr = {
|
|
5191
5191
|
name: "ecs-collection-control",
|
|
5192
5192
|
emits: ["toggled", "collectionTooltip"],
|
|
5193
5193
|
components: { EcsIcon: M, EcsFocusRing: L },
|
|
@@ -5322,7 +5322,7 @@ function Yr(e, s, t, a, n, i) {
|
|
|
5322
5322
|
}, [
|
|
5323
5323
|
f("div", {
|
|
5324
5324
|
class: "ecs-collection-control-list scrollbar scrollbar-sml",
|
|
5325
|
-
style:
|
|
5325
|
+
style: x(i.listMaxHeight)
|
|
5326
5326
|
}, [
|
|
5327
5327
|
p(e.$slots, "default")
|
|
5328
5328
|
], 4)
|
|
@@ -5375,7 +5375,7 @@ function tl(e, s, t, a, n, i) {
|
|
|
5375
5375
|
return t.type === "rect" || t.type === "circle" ? (o(), l("div", {
|
|
5376
5376
|
key: 0,
|
|
5377
5377
|
class: v(["ecs-skeleton skeleton", i.rectClass]),
|
|
5378
|
-
style:
|
|
5378
|
+
style: x({ width: t.width + "px", height: t.height + "px" })
|
|
5379
5379
|
}, null, 6)) : t.type === "multi" ? (o(), l("div", Jr, [
|
|
5380
5380
|
(o(!0), l(X, null, he(parseInt(t.count), (r) => (o(), l("div", {
|
|
5381
5381
|
key: r,
|
|
@@ -5387,7 +5387,7 @@ function tl(e, s, t, a, n, i) {
|
|
|
5387
5387
|
}, [
|
|
5388
5388
|
f("div", {
|
|
5389
5389
|
class: "skeleton skeleton-single",
|
|
5390
|
-
style:
|
|
5390
|
+
style: x({ width: t.width + "%" })
|
|
5391
5391
|
}, null, 4)
|
|
5392
5392
|
], 2));
|
|
5393
5393
|
}
|
|
@@ -5442,7 +5442,7 @@ function nl(e, s, t, a, n, i) {
|
|
|
5442
5442
|
const Fs = /* @__PURE__ */ y(sl, [["render", nl]]), al = {
|
|
5443
5443
|
name: "ecs-comment",
|
|
5444
5444
|
emits: ["edit", "delete"],
|
|
5445
|
-
components: { EcsAvatar: Mi, EcsButton:
|
|
5445
|
+
components: { EcsAvatar: Mi, EcsButton: Ce, EcsFormatted: Fs, EcsSkeletonLoader: fe },
|
|
5446
5446
|
props: {
|
|
5447
5447
|
/** Name of the user that is the comment author. */
|
|
5448
5448
|
userName: {
|
|
@@ -5561,10 +5561,10 @@ function yl(e, s) {
|
|
|
5561
5561
|
]);
|
|
5562
5562
|
}
|
|
5563
5563
|
const Ib = /* @__PURE__ */ y(hl, [["render", yl]]);
|
|
5564
|
-
function
|
|
5564
|
+
function Ct(e = {}, s = 0) {
|
|
5565
5565
|
const t = e && e.a;
|
|
5566
5566
|
let a;
|
|
5567
|
-
e && e.hsl ? a =
|
|
5567
|
+
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);
|
|
5568
5568
|
const n = a.toHsl(), i = a.toHsv();
|
|
5569
5569
|
return n.s === 0 && (i.h = n.h = e.h || e.hsl && e.hsl.h || s || 0), {
|
|
5570
5570
|
hsl: n,
|
|
@@ -5581,7 +5581,7 @@ const bl = {
|
|
|
5581
5581
|
props: ["modelValue"],
|
|
5582
5582
|
data() {
|
|
5583
5583
|
return {
|
|
5584
|
-
val:
|
|
5584
|
+
val: Ct(this.modelValue)
|
|
5585
5585
|
};
|
|
5586
5586
|
},
|
|
5587
5587
|
computed: {
|
|
@@ -5596,15 +5596,15 @@ const bl = {
|
|
|
5596
5596
|
},
|
|
5597
5597
|
watch: {
|
|
5598
5598
|
modelValue(e) {
|
|
5599
|
-
this.val =
|
|
5599
|
+
this.val = Ct(e);
|
|
5600
5600
|
}
|
|
5601
5601
|
},
|
|
5602
5602
|
methods: {
|
|
5603
5603
|
colorChange(e, s) {
|
|
5604
|
-
this.oldHue = this.colors.hsl.h, this.colors =
|
|
5604
|
+
this.oldHue = this.colors.hsl.h, this.colors = Ct(e, s || this.oldHue);
|
|
5605
5605
|
},
|
|
5606
5606
|
isValidHex(e) {
|
|
5607
|
-
return
|
|
5607
|
+
return C(e).isValid();
|
|
5608
5608
|
},
|
|
5609
5609
|
simpleCheckForValidColor(e) {
|
|
5610
5610
|
const s = ["r", "g", "b", "a", "h", "s", "l", "v"];
|
|
@@ -5620,7 +5620,7 @@ const bl = {
|
|
|
5620
5620
|
return e.map((s) => s.toUpperCase());
|
|
5621
5621
|
},
|
|
5622
5622
|
isTransparent(e) {
|
|
5623
|
-
return
|
|
5623
|
+
return C(e).getAlpha() === 0;
|
|
5624
5624
|
}
|
|
5625
5625
|
}
|
|
5626
5626
|
}, _l = {
|
|
@@ -5684,8 +5684,8 @@ const bl = {
|
|
|
5684
5684
|
// console.log(e)
|
|
5685
5685
|
// }
|
|
5686
5686
|
}
|
|
5687
|
-
}, kl = { class: "ecs-editable-input" }, wl = ["aria-labelledby"], Sl = ["for", "id"],
|
|
5688
|
-
function
|
|
5687
|
+
}, kl = { class: "ecs-editable-input" }, wl = ["aria-labelledby"], Sl = ["for", "id"], Cl = { class: "ecs-input__desc" };
|
|
5688
|
+
function xl(e, s, t, a, n, i) {
|
|
5689
5689
|
return o(), l("div", kl, [
|
|
5690
5690
|
Ge(f("input", {
|
|
5691
5691
|
"aria-labelledby": i.labelId,
|
|
@@ -5702,20 +5702,20 @@ function Cl(e, s, t, a, n, i) {
|
|
|
5702
5702
|
class: "ecs-input__label",
|
|
5703
5703
|
id: i.labelId
|
|
5704
5704
|
}, w(i.labelSpanText), 9, Sl),
|
|
5705
|
-
f("span",
|
|
5705
|
+
f("span", Cl, w(t.desc), 1)
|
|
5706
5706
|
]);
|
|
5707
5707
|
}
|
|
5708
|
-
const Bl = /* @__PURE__ */ y(_l, [["render",
|
|
5708
|
+
const Bl = /* @__PURE__ */ y(_l, [["render", xl]]);
|
|
5709
5709
|
var zl = Il;
|
|
5710
5710
|
function Il(e, s, t) {
|
|
5711
5711
|
return s < t ? e < s ? s : e > t ? t : e : e < t ? t : e > s ? s : e;
|
|
5712
5712
|
}
|
|
5713
|
-
const ct = /* @__PURE__ */
|
|
5713
|
+
const ct = /* @__PURE__ */ Ss(zl);
|
|
5714
5714
|
function El(e) {
|
|
5715
5715
|
var s = typeof e;
|
|
5716
5716
|
return e != null && (s == "object" || s == "function");
|
|
5717
5717
|
}
|
|
5718
|
-
var
|
|
5718
|
+
var jt = El, $l = typeof rt == "object" && rt && rt.Object === Object && rt, Pl = $l, Tl = Pl, Ml = typeof self == "object" && self && self.Object === Object && self, Ll = Tl || Ml || Function("return this")(), Vs = Ll, Ol = Vs, Al = function() {
|
|
5719
5719
|
return Ol.Date.now();
|
|
5720
5720
|
}, Nl = Al, Dl = /\s/;
|
|
5721
5721
|
function Rl(e) {
|
|
@@ -5727,7 +5727,7 @@ var Fl = Rl, Vl = Fl, Hl = /^\s+/;
|
|
|
5727
5727
|
function ql(e) {
|
|
5728
5728
|
return e && e.slice(0, Vl(e) + 1).replace(Hl, "");
|
|
5729
5729
|
}
|
|
5730
|
-
var Wl = ql, jl = Vs, Ul = jl.Symbol, Hs = Ul,
|
|
5730
|
+
var Wl = ql, jl = Vs, Ul = jl.Symbol, Hs = Ul, ms = Hs, qs = Object.prototype, Gl = qs.hasOwnProperty, Kl = qs.toString, Ze = ms ? ms.toStringTag : void 0;
|
|
5731
5731
|
function Yl(e) {
|
|
5732
5732
|
var s = Gl.call(e, Ze), t = e[Ze];
|
|
5733
5733
|
try {
|
|
@@ -5742,9 +5742,9 @@ var Xl = Yl, Zl = Object.prototype, Jl = Zl.toString;
|
|
|
5742
5742
|
function Ql(e) {
|
|
5743
5743
|
return Jl.call(e);
|
|
5744
5744
|
}
|
|
5745
|
-
var ec = Ql,
|
|
5745
|
+
var ec = Ql, ps = Hs, tc = Xl, sc = ec, ic = "[object Null]", nc = "[object Undefined]", hs = ps ? ps.toStringTag : void 0;
|
|
5746
5746
|
function ac(e) {
|
|
5747
|
-
return e == null ? e === void 0 ? nc : ic :
|
|
5747
|
+
return e == null ? e === void 0 ? nc : ic : hs && hs in Object(e) ? tc(e) : sc(e);
|
|
5748
5748
|
}
|
|
5749
5749
|
var oc = ac;
|
|
5750
5750
|
function rc(e) {
|
|
@@ -5754,28 +5754,28 @@ var lc = rc, cc = oc, dc = lc, uc = "[object Symbol]";
|
|
|
5754
5754
|
function fc(e) {
|
|
5755
5755
|
return typeof e == "symbol" || dc(e) && cc(e) == uc;
|
|
5756
5756
|
}
|
|
5757
|
-
var gc = fc, mc = Wl,
|
|
5757
|
+
var gc = fc, mc = Wl, vs = jt, pc = gc, ys = NaN, hc = /^[-+]0x[0-9a-f]+$/i, vc = /^0b[01]+$/i, yc = /^0o[0-7]+$/i, bc = parseInt;
|
|
5758
5758
|
function _c(e) {
|
|
5759
5759
|
if (typeof e == "number")
|
|
5760
5760
|
return e;
|
|
5761
5761
|
if (pc(e))
|
|
5762
|
-
return
|
|
5763
|
-
if (
|
|
5762
|
+
return ys;
|
|
5763
|
+
if (vs(e)) {
|
|
5764
5764
|
var s = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
5765
|
-
e =
|
|
5765
|
+
e = vs(s) ? s + "" : s;
|
|
5766
5766
|
}
|
|
5767
5767
|
if (typeof e != "string")
|
|
5768
5768
|
return e === 0 ? e : +e;
|
|
5769
5769
|
e = mc(e);
|
|
5770
5770
|
var t = vc.test(e);
|
|
5771
|
-
return t || yc.test(e) ? bc(e.slice(2), t ? 2 : 8) : hc.test(e) ?
|
|
5771
|
+
return t || yc.test(e) ? bc(e.slice(2), t ? 2 : 8) : hc.test(e) ? ys : +e;
|
|
5772
5772
|
}
|
|
5773
|
-
var kc = _c, wc =
|
|
5773
|
+
var kc = _c, wc = jt, xt = Nl, bs = kc, Sc = "Expected a function", Cc = Math.max, xc = Math.min;
|
|
5774
5774
|
function Bc(e, s, t) {
|
|
5775
5775
|
var a, n, i, r, c, d, m = 0, b = !1, k = !1, z = !0;
|
|
5776
5776
|
if (typeof e != "function")
|
|
5777
5777
|
throw new TypeError(Sc);
|
|
5778
|
-
s =
|
|
5778
|
+
s = bs(s) || 0, wc(t) && (b = !!t.leading, k = "maxWait" in t, i = k ? Cc(bs(t.maxWait) || 0, s) : i, z = "trailing" in t ? !!t.trailing : z);
|
|
5779
5779
|
function I(E) {
|
|
5780
5780
|
var N = a, F = n;
|
|
5781
5781
|
return a = n = void 0, m = E, r = e.apply(F, N), r;
|
|
@@ -5785,14 +5785,14 @@ function Bc(e, s, t) {
|
|
|
5785
5785
|
}
|
|
5786
5786
|
function $(E) {
|
|
5787
5787
|
var N = E - d, F = E - m, V = s - N;
|
|
5788
|
-
return k ?
|
|
5788
|
+
return k ? xc(V, i - F) : V;
|
|
5789
5789
|
}
|
|
5790
5790
|
function T(E) {
|
|
5791
5791
|
var N = E - d, F = E - m;
|
|
5792
5792
|
return d === void 0 || N >= s || N < 0 || k && F >= i;
|
|
5793
5793
|
}
|
|
5794
5794
|
function O() {
|
|
5795
|
-
var E =
|
|
5795
|
+
var E = xt();
|
|
5796
5796
|
if (T(E))
|
|
5797
5797
|
return R(E);
|
|
5798
5798
|
c = setTimeout(O, $(E));
|
|
@@ -5804,10 +5804,10 @@ function Bc(e, s, t) {
|
|
|
5804
5804
|
c !== void 0 && clearTimeout(c), m = 0, a = d = n = c = void 0;
|
|
5805
5805
|
}
|
|
5806
5806
|
function P() {
|
|
5807
|
-
return c === void 0 ? r : R(
|
|
5807
|
+
return c === void 0 ? r : R(xt());
|
|
5808
5808
|
}
|
|
5809
5809
|
function A() {
|
|
5810
|
-
var E =
|
|
5810
|
+
var E = xt(), N = T(E);
|
|
5811
5811
|
if (a = arguments, n = this, d = E, N) {
|
|
5812
5812
|
if (c === void 0)
|
|
5813
5813
|
return B(d);
|
|
@@ -5818,7 +5818,7 @@ function Bc(e, s, t) {
|
|
|
5818
5818
|
}
|
|
5819
5819
|
return A.cancel = H, A.flush = P, A;
|
|
5820
5820
|
}
|
|
5821
|
-
var zc = Bc, Ic = zc, Ec =
|
|
5821
|
+
var zc = Bc, Ic = zc, Ec = jt, $c = "Expected a function";
|
|
5822
5822
|
function Pc(e, s, t) {
|
|
5823
5823
|
var a = !0, n = !0;
|
|
5824
5824
|
if (typeof e != "function")
|
|
@@ -5830,7 +5830,7 @@ function Pc(e, s, t) {
|
|
|
5830
5830
|
});
|
|
5831
5831
|
}
|
|
5832
5832
|
var Tc = Pc;
|
|
5833
|
-
const Mc = /* @__PURE__ */
|
|
5833
|
+
const Mc = /* @__PURE__ */ Ss(Tc), Lc = {
|
|
5834
5834
|
name: "Saturation",
|
|
5835
5835
|
props: {
|
|
5836
5836
|
modelValue: Object,
|
|
@@ -5894,7 +5894,7 @@ const Mc = /* @__PURE__ */ ws(Tc), Lc = {
|
|
|
5894
5894
|
function Rc(e, s, t, a, n, i) {
|
|
5895
5895
|
return o(), l("div", {
|
|
5896
5896
|
class: "ecs-saturation",
|
|
5897
|
-
style:
|
|
5897
|
+
style: x({ background: i.bgColor }),
|
|
5898
5898
|
ref: "container",
|
|
5899
5899
|
onMousedown: s[0] || (s[0] = (...r) => i.handleMouseDown && i.handleMouseDown(...r)),
|
|
5900
5900
|
onTouchmove: s[1] || (s[1] = (...r) => i.handleChange && i.handleChange(...r)),
|
|
@@ -5904,7 +5904,7 @@ function Rc(e, s, t, a, n, i) {
|
|
|
5904
5904
|
Ac,
|
|
5905
5905
|
f("div", {
|
|
5906
5906
|
class: "ecs-saturation-pointer",
|
|
5907
|
-
style:
|
|
5907
|
+
style: x({ top: i.pointerTop, left: i.pointerLeft })
|
|
5908
5908
|
}, Dc, 4)
|
|
5909
5909
|
], 36);
|
|
5910
5910
|
}
|
|
@@ -5994,7 +5994,7 @@ function jc(e, s, t, a, n, i) {
|
|
|
5994
5994
|
}, [
|
|
5995
5995
|
f("div", {
|
|
5996
5996
|
class: "ecs-hue-pointer",
|
|
5997
|
-
style:
|
|
5997
|
+
style: x({ top: i.pointerTop, left: i.pointerLeft }),
|
|
5998
5998
|
role: "presentation"
|
|
5999
5999
|
}, Wc, 4)
|
|
6000
6000
|
], 40, Hc)
|
|
@@ -6044,7 +6044,7 @@ function Yc(e, s, t) {
|
|
|
6044
6044
|
function Xc(e, s, t, a, n, i) {
|
|
6045
6045
|
return o(), l("div", {
|
|
6046
6046
|
class: "ecs-checkerboard",
|
|
6047
|
-
style:
|
|
6047
|
+
style: x(i.bgStyle)
|
|
6048
6048
|
}, null, 4);
|
|
6049
6049
|
}
|
|
6050
6050
|
const Ws = /* @__PURE__ */ y(Gc, [["render", Xc]]), Zc = {
|
|
@@ -6102,7 +6102,7 @@ function sd(e, s, t, a, n, i) {
|
|
|
6102
6102
|
]),
|
|
6103
6103
|
f("div", {
|
|
6104
6104
|
class: "ecs-alpha-gradient",
|
|
6105
|
-
style:
|
|
6105
|
+
style: x({ background: i.gradientColor })
|
|
6106
6106
|
}, null, 4),
|
|
6107
6107
|
f("div", {
|
|
6108
6108
|
class: "ecs-alpha-container",
|
|
@@ -6113,7 +6113,7 @@ function sd(e, s, t, a, n, i) {
|
|
|
6113
6113
|
}, [
|
|
6114
6114
|
f("div", {
|
|
6115
6115
|
class: "ecs-alpha-pointer",
|
|
6116
|
-
style:
|
|
6116
|
+
style: x({ left: i.colors.a * 100 + "%" })
|
|
6117
6117
|
}, td, 4)
|
|
6118
6118
|
], 544)
|
|
6119
6119
|
]);
|
|
@@ -6220,7 +6220,7 @@ function yd(e, s, t, a, n, i) {
|
|
|
6220
6220
|
role: "application",
|
|
6221
6221
|
"aria-label": "Color picker",
|
|
6222
6222
|
class: v(["ecs-color-picker", t.disableAlpha ? "ecs-color-picker__disable-alpha" : ""]),
|
|
6223
|
-
style:
|
|
6223
|
+
style: x({ padding: t.padding + "px", width: 216 + 2 * t.padding + "px" })
|
|
6224
6224
|
}, [
|
|
6225
6225
|
t.disableCustom ? u("", !0) : (o(), l("div", ad, [
|
|
6226
6226
|
_(r, {
|
|
@@ -6289,7 +6289,7 @@ function yd(e, s, t, a, n, i) {
|
|
|
6289
6289
|
])) : u("", !0),
|
|
6290
6290
|
f("div", {
|
|
6291
6291
|
class: "ecs-color-picker-presets",
|
|
6292
|
-
style:
|
|
6292
|
+
style: x(t.disableCustom ? "" : "padding-top: var(--spacing-10)"),
|
|
6293
6293
|
role: "group",
|
|
6294
6294
|
"aria-label": "A color preset, pick one to set as current color"
|
|
6295
6295
|
}, [
|
|
@@ -6306,7 +6306,7 @@ function yd(e, s, t, a, n, i) {
|
|
|
6306
6306
|
class: v(["ecs-color-picker-presets-color", { active: e.colors.hex === k.hex }]),
|
|
6307
6307
|
"aria-label": k.title,
|
|
6308
6308
|
key: "if-" + k.id,
|
|
6309
|
-
style:
|
|
6309
|
+
style: x({ background: k.hex }),
|
|
6310
6310
|
"aria-selected": e.colors.hex === k.hex ? "true" : "false",
|
|
6311
6311
|
title: k.title,
|
|
6312
6312
|
onClick: (z) => i.handlePreset(k.hex)
|
|
@@ -6317,7 +6317,7 @@ function yd(e, s, t, a, n, i) {
|
|
|
6317
6317
|
class: v(["ecs-color-picker-presets-color active", i.isActiveColorDark ? "dark" : "light"]),
|
|
6318
6318
|
"aria-label": "Custom color",
|
|
6319
6319
|
"aria-selected": "true",
|
|
6320
|
-
style:
|
|
6320
|
+
style: x({ background: e.colors.hex })
|
|
6321
6321
|
}, null, 6))
|
|
6322
6322
|
], 4)
|
|
6323
6323
|
], 6);
|
|
@@ -6327,7 +6327,7 @@ const bd = /* @__PURE__ */ y(nd, [["render", yd]]), _d = {
|
|
|
6327
6327
|
emits: ["update:modelValue"],
|
|
6328
6328
|
components: {
|
|
6329
6329
|
EcsColorPicker: bd,
|
|
6330
|
-
EcsPopover:
|
|
6330
|
+
EcsPopover: Ms
|
|
6331
6331
|
},
|
|
6332
6332
|
props: {
|
|
6333
6333
|
/** The color value to be displayed and edited. Can be any valid color string (HEX, RGB, HSL, etc.) or an object containing various color modes. */
|
|
@@ -6401,7 +6401,7 @@ function kd(e, s, t, a, n, i) {
|
|
|
6401
6401
|
default: S(() => [
|
|
6402
6402
|
f("button", {
|
|
6403
6403
|
class: v(["ecs-color-picker-input-button", i.sizeClass]),
|
|
6404
|
-
style:
|
|
6404
|
+
style: x(i.selectedColorStyle)
|
|
6405
6405
|
}, [
|
|
6406
6406
|
f("span", null, w(i.selectedColorName), 1)
|
|
6407
6407
|
], 6)
|
|
@@ -6411,7 +6411,7 @@ function kd(e, s, t, a, n, i) {
|
|
|
6411
6411
|
}
|
|
6412
6412
|
const Eb = /* @__PURE__ */ y(_d, [["render", kd], ["__scopeId", "data-v-08aaa823"]]), wd = {
|
|
6413
6413
|
name: "ecs-data-card",
|
|
6414
|
-
components: { EcsIcon: M, EcsSkeletonLoader: fe, EcsButtonTable: Rs, EcsButton:
|
|
6414
|
+
components: { EcsIcon: M, EcsSkeletonLoader: fe, EcsButtonTable: Rs, EcsButton: Ce, EcsFocusRing: L },
|
|
6415
6415
|
mixins: [ue],
|
|
6416
6416
|
props: {
|
|
6417
6417
|
/** 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). */
|
|
@@ -6497,10 +6497,10 @@ const Eb = /* @__PURE__ */ y(_d, [["render", kd], ["__scopeId", "data-v-08aaa823
|
|
|
6497
6497
|
created() {
|
|
6498
6498
|
this.expandId = this.generateUniqueId();
|
|
6499
6499
|
}
|
|
6500
|
-
}, Sd = ["aria-busy", "tabindex"],
|
|
6500
|
+
}, Sd = ["aria-busy", "tabindex"], Cd = {
|
|
6501
6501
|
key: 0,
|
|
6502
6502
|
class: "control"
|
|
6503
|
-
},
|
|
6503
|
+
}, xd = { class: "ecs-data-card-inner" }, Bd = { class: "ecs-data-card-row" }, zd = { class: "ecs-data-card-row-inner" }, Id = { class: "ecs-data-card-row-inner-text" }, Ed = {
|
|
6504
6504
|
key: 0,
|
|
6505
6505
|
class: "ecs-data-card-row"
|
|
6506
6506
|
}, $d = { class: "ecs-data-card-row-inner" }, Pd = ["id", "aria-hidden"], Td = { class: "ecs-data-card-expand-inner" };
|
|
@@ -6519,7 +6519,7 @@ function Md(e, s, t, a, n, i) {
|
|
|
6519
6519
|
"aria-busy": t.loading || null,
|
|
6520
6520
|
tabindex: t.hover ? "0" : "-1"
|
|
6521
6521
|
}, [
|
|
6522
|
-
t.control && e.$slots.control ? (o(), l("div",
|
|
6522
|
+
t.control && e.$slots.control ? (o(), l("div", Cd, [
|
|
6523
6523
|
p(e.$slots, "control", {}, void 0, !0)
|
|
6524
6524
|
])) : u("", !0),
|
|
6525
6525
|
t.icon ? (o(), h(r, {
|
|
@@ -6535,7 +6535,7 @@ function Md(e, s, t, a, n, i) {
|
|
|
6535
6535
|
width: 26,
|
|
6536
6536
|
height: 26
|
|
6537
6537
|
})) : u("", !0),
|
|
6538
|
-
f("div",
|
|
6538
|
+
f("div", xd, [
|
|
6539
6539
|
f("div", Bd, [
|
|
6540
6540
|
f("div", zd, [
|
|
6541
6541
|
t.expandable && t.expandPosition === "left" ? (o(), h(d, {
|
|
@@ -7181,7 +7181,7 @@ function mu(e, s, t, a, n, i) {
|
|
|
7181
7181
|
const r = g("ecs-icon"), c = g("ecs-select"), d = g("ecs-focus-ring");
|
|
7182
7182
|
return o(), l("div", {
|
|
7183
7183
|
class: v(["ecs-data-grid-head-cell", [t.fixedLeft ? "fixed-left" : "", t.fixedLeftLast ? "fixed-left-last" : "", t.fixedRight ? "fixed-right" : ""]]),
|
|
7184
|
-
style:
|
|
7184
|
+
style: x([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
|
|
7185
7185
|
role: "columnheader",
|
|
7186
7186
|
"aria-sort": i.ariaSort,
|
|
7187
7187
|
"aria-label": t.icon ? t.name : null
|
|
@@ -7193,7 +7193,7 @@ function mu(e, s, t, a, n, i) {
|
|
|
7193
7193
|
f("div", {
|
|
7194
7194
|
ref: "resizer",
|
|
7195
7195
|
class: v(["ecs-data-grid-head-cell-inner", t.resizable ? "resizable" : ""]),
|
|
7196
|
-
style:
|
|
7196
|
+
style: x([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, i.resizeStyles, t.styles]),
|
|
7197
7197
|
"data-column": i.computedId,
|
|
7198
7198
|
"data-test": i.computedId
|
|
7199
7199
|
}, [
|
|
@@ -7298,7 +7298,7 @@ const Ob = /* @__PURE__ */ y(pu, [["render", vu], ["__scopeId", "data-v-ee025ab5
|
|
|
7298
7298
|
name: "ecs-data-grid-cell",
|
|
7299
7299
|
emits: ["collapse"],
|
|
7300
7300
|
components: {
|
|
7301
|
-
EcsButtonCollapse:
|
|
7301
|
+
EcsButtonCollapse: Ht
|
|
7302
7302
|
},
|
|
7303
7303
|
props: {
|
|
7304
7304
|
/** Column identifier for the cell. The `column` is used to perform resize actions (needs to match `id` or `name` of corresponding EcsDataGridHeadCell), automatically set data-test attributes, etc. */
|
|
@@ -7431,7 +7431,7 @@ function Su(e, s, t, a, n, i) {
|
|
|
7431
7431
|
const r = g("ecs-button-collapse");
|
|
7432
7432
|
return o(), l("div", {
|
|
7433
7433
|
class: v(["ecs-data-grid-cell", [t.fixedLeft ? "fixed-left" : "", t.fixedLeftLast ? "fixed-left-last" : "", t.fixedRight ? "fixed-right" : ""]]),
|
|
7434
|
-
style:
|
|
7434
|
+
style: x([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
|
|
7435
7435
|
role: "cell"
|
|
7436
7436
|
}, [
|
|
7437
7437
|
t.fixedRight ? (o(), l("div", {
|
|
@@ -7440,7 +7440,7 @@ function Su(e, s, t, a, n, i) {
|
|
|
7440
7440
|
}, null, 2)) : u("", !0),
|
|
7441
7441
|
f("div", {
|
|
7442
7442
|
class: "ecs-data-grid-cell-inner",
|
|
7443
|
-
style:
|
|
7443
|
+
style: x([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, t.styles]),
|
|
7444
7444
|
"data-column": i.computedId,
|
|
7445
7445
|
"data-test": i.computedId
|
|
7446
7446
|
}, [
|
|
@@ -7460,18 +7460,18 @@ function Su(e, s, t, a, n, i) {
|
|
|
7460
7460
|
}, null, 2)) : u("", !0)
|
|
7461
7461
|
], 6);
|
|
7462
7462
|
}
|
|
7463
|
-
const Ab = /* @__PURE__ */ y(yu, [["render", Su], ["__scopeId", "data-v-0910be15"]]),
|
|
7463
|
+
const Ab = /* @__PURE__ */ y(yu, [["render", Su], ["__scopeId", "data-v-0910be15"]]), Cu = {
|
|
7464
7464
|
name: "ecs-data-list"
|
|
7465
|
-
},
|
|
7465
|
+
}, xu = {
|
|
7466
7466
|
class: "ecs-data-list",
|
|
7467
7467
|
role: "list"
|
|
7468
7468
|
};
|
|
7469
7469
|
function Bu(e, s, t, a, n, i) {
|
|
7470
|
-
return o(), l("div",
|
|
7470
|
+
return o(), l("div", xu, [
|
|
7471
7471
|
p(e.$slots, "default")
|
|
7472
7472
|
]);
|
|
7473
7473
|
}
|
|
7474
|
-
const Nb = /* @__PURE__ */ y(
|
|
7474
|
+
const Nb = /* @__PURE__ */ y(Cu, [["render", Bu]]), zu = {
|
|
7475
7475
|
name: "ecs-data-list-item",
|
|
7476
7476
|
emits: ["toggled"],
|
|
7477
7477
|
components: { EcsButtonMore: Ds, EcsSkeletonLoader: fe },
|
|
@@ -7600,7 +7600,7 @@ function Tu(e, s, t, a, n, i) {
|
|
|
7600
7600
|
i.hasIdentifier ? (o(), l("div", {
|
|
7601
7601
|
key: 0,
|
|
7602
7602
|
id: n.definitionId,
|
|
7603
|
-
style:
|
|
7603
|
+
style: x(i.identifierStyle),
|
|
7604
7604
|
class: "ecs-data-list-identifier"
|
|
7605
7605
|
}, [
|
|
7606
7606
|
D(w(t.identifier) + " ", 1),
|
|
@@ -7633,7 +7633,7 @@ function Tu(e, s, t, a, n, i) {
|
|
|
7633
7633
|
key: 2,
|
|
7634
7634
|
class: "progress",
|
|
7635
7635
|
role: "progressbar",
|
|
7636
|
-
style:
|
|
7636
|
+
style: x({ width: t.progress + "%" }),
|
|
7637
7637
|
"aria-valuenow": t.progress
|
|
7638
7638
|
}, null, 12, $u)) : u("", !0)
|
|
7639
7639
|
], 10, Eu)
|
|
@@ -7793,7 +7793,7 @@ const Rb = /* @__PURE__ */ y(Mu, [["render", Ou]]), Au = {
|
|
|
7793
7793
|
));
|
|
7794
7794
|
}), (n, i) => (o(), l("div", {
|
|
7795
7795
|
class: v(["ecs-state-icon", e.iconColor]),
|
|
7796
|
-
style:
|
|
7796
|
+
style: x(t.value)
|
|
7797
7797
|
}, [
|
|
7798
7798
|
(o(), h(Pe(ae(a)), {
|
|
7799
7799
|
height: e.size,
|
|
@@ -7921,7 +7921,7 @@ function Uu(e, s, t, a, n, i) {
|
|
|
7921
7921
|
t.indicator ? (o(), l("div", {
|
|
7922
7922
|
key: 2,
|
|
7923
7923
|
class: "indicator",
|
|
7924
|
-
style:
|
|
7924
|
+
style: x("background-color:" + t.indicator)
|
|
7925
7925
|
}, null, 4)) : u("", !0),
|
|
7926
7926
|
f("div", ju, [
|
|
7927
7927
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -8049,7 +8049,7 @@ const Hb = /* @__PURE__ */ y(Gu, [["render", ef], ["__scopeId", "data-v-8239e8d6
|
|
|
8049
8049
|
function of(e, s, t, a, n, i) {
|
|
8050
8050
|
return o(), l("div", {
|
|
8051
8051
|
class: "ecs-donut-chart",
|
|
8052
|
-
style:
|
|
8052
|
+
style: x(i.wrapperPadding)
|
|
8053
8053
|
}, [
|
|
8054
8054
|
(o(), l("svg", {
|
|
8055
8055
|
height: t.size,
|
|
@@ -8190,7 +8190,7 @@ function pf(e, s, t, a, n, i) {
|
|
|
8190
8190
|
t.infinite ? "ecs-progress-infinite" : "",
|
|
8191
8191
|
t.cancelled ? "ecs-progress-cancelled" : ""
|
|
8192
8192
|
]]),
|
|
8193
|
-
style:
|
|
8193
|
+
style: x({ width: 100 * (t.value / i.computedMax) + "%" })
|
|
8194
8194
|
}, null, 6)
|
|
8195
8195
|
], 8, mf);
|
|
8196
8196
|
}
|
|
@@ -8201,7 +8201,7 @@ const hf = /* @__PURE__ */ y(gf, [["render", pf], ["__scopeId", "data-v-fc9084ab
|
|
|
8201
8201
|
EcsEmptyState: ff,
|
|
8202
8202
|
EcsSkeletonLoader: fe,
|
|
8203
8203
|
EcsProgress: hf,
|
|
8204
|
-
EcsButton:
|
|
8204
|
+
EcsButton: Ce,
|
|
8205
8205
|
EcsFocusRing: L,
|
|
8206
8206
|
EcsFlexRow: Te,
|
|
8207
8207
|
EcsSticker: Fe,
|
|
@@ -8353,11 +8353,11 @@ const hf = /* @__PURE__ */ y(gf, [["render", pf], ["__scopeId", "data-v-fc9084ab
|
|
|
8353
8353
|
}, Sf = {
|
|
8354
8354
|
key: 3,
|
|
8355
8355
|
class: "ecs-dropzone-stats"
|
|
8356
|
-
},
|
|
8356
|
+
}, Cf = {
|
|
8357
8357
|
key: 4,
|
|
8358
8358
|
class: "ecs-dropzone-error-message"
|
|
8359
8359
|
};
|
|
8360
|
-
function
|
|
8360
|
+
function xf(e, s, t, a, n, i) {
|
|
8361
8361
|
const r = g("ecs-skeleton-loader"), c = g("ecs-focus-ring"), d = g("ecs-text"), m = g("ecs-sticker"), b = g("ecs-flex-row"), k = g("ecs-progress"), z = g("ecs-empty-state"), I = g("ecs-button");
|
|
8362
8362
|
return o(), l("div", {
|
|
8363
8363
|
class: v(["ecs-dropzone", [
|
|
@@ -8449,7 +8449,7 @@ function Cf(e, s, t, a, n, i) {
|
|
|
8449
8449
|
_: 1
|
|
8450
8450
|
})
|
|
8451
8451
|
])) : u("", !0),
|
|
8452
|
-
t.error && t.errorMessage ? (o(), l("div",
|
|
8452
|
+
t.error && t.errorMessage ? (o(), l("div", Cf, w(t.errorMessage), 1)) : u("", !0)
|
|
8453
8453
|
])),
|
|
8454
8454
|
t.loading || t.progress ? (o(), h(k, {
|
|
8455
8455
|
key: 2,
|
|
@@ -8474,7 +8474,7 @@ function Cf(e, s, t, a, n, i) {
|
|
|
8474
8474
|
}, 8, ["onClick", "icon"])) : u("", !0)
|
|
8475
8475
|
], 42, yf);
|
|
8476
8476
|
}
|
|
8477
|
-
const Wb = /* @__PURE__ */ y(vf, [["render",
|
|
8477
|
+
const Wb = /* @__PURE__ */ y(vf, [["render", xf], ["__scopeId", "data-v-80ee52db"]]), Bf = {
|
|
8478
8478
|
name: "ecs-entry-link",
|
|
8479
8479
|
emits: ["linkClick", "linkClickExternal", "moreClick"],
|
|
8480
8480
|
components: {
|
|
@@ -8692,7 +8692,7 @@ function Vf(e, s, t, a, n, i) {
|
|
|
8692
8692
|
]),
|
|
8693
8693
|
f("div", {
|
|
8694
8694
|
class: "ecs-excerpt-content scrollbar scrollbar-sml",
|
|
8695
|
-
style:
|
|
8695
|
+
style: x(i.maxHeightStyles)
|
|
8696
8696
|
}, [
|
|
8697
8697
|
t.loading ? (o(), h(r, {
|
|
8698
8698
|
key: 0,
|
|
@@ -8711,10 +8711,10 @@ function Vf(e, s, t, a, n, i) {
|
|
|
8711
8711
|
p(e.$slots, "default", {}, void 0, !0)
|
|
8712
8712
|
])) : t.type == "rectangle" ? (o(), l("div", Rf, [
|
|
8713
8713
|
f("span", {
|
|
8714
|
-
style:
|
|
8714
|
+
style: x("color:" + t.annotationColor)
|
|
8715
8715
|
}, "Rectangle Annotation", 4),
|
|
8716
8716
|
f("div", {
|
|
8717
|
-
style:
|
|
8717
|
+
style: x("background-color:" + t.annotationColor)
|
|
8718
8718
|
}, null, 4)
|
|
8719
8719
|
])) : (o(), l("div", Ff, [
|
|
8720
8720
|
p(e.$slots, "default", {}, void 0, !0)
|
|
@@ -8779,7 +8779,7 @@ const Kb = /* @__PURE__ */ y(Hf, [["render", Wf]]), jf = {
|
|
|
8779
8779
|
emits: ["click", "remove", "toggled", "title-click"],
|
|
8780
8780
|
components: {
|
|
8781
8781
|
EcsIcon: M,
|
|
8782
|
-
EcsFileIcon:
|
|
8782
|
+
EcsFileIcon: Os,
|
|
8783
8783
|
EcsSticker: Fe,
|
|
8784
8784
|
EcsButtonTable: Rs,
|
|
8785
8785
|
EcsFocusRing: L
|
|
@@ -8980,7 +8980,7 @@ function ig(e, s, t, a, n, i) {
|
|
|
8980
8980
|
t.progress ? (o(), l("div", {
|
|
8981
8981
|
key: 3,
|
|
8982
8982
|
class: "loading-bar",
|
|
8983
|
-
style:
|
|
8983
|
+
style: x({ width: t.progress + "%" }),
|
|
8984
8984
|
role: "progressbar",
|
|
8985
8985
|
"aria-valuenow": t.progress
|
|
8986
8986
|
}, null, 12, Jf)) : u("", !0)
|
|
@@ -9005,7 +9005,7 @@ function ig(e, s, t, a, n, i) {
|
|
|
9005
9005
|
default: S(() => [
|
|
9006
9006
|
e.$slots.edit && t.edit ? (o(), l("div", {
|
|
9007
9007
|
key: 0,
|
|
9008
|
-
style:
|
|
9008
|
+
style: x({ maxHeight: n.editHeight + "px" }),
|
|
9009
9009
|
id: n.editId
|
|
9010
9010
|
}, [
|
|
9011
9011
|
f("div", sg, [
|
|
@@ -9317,7 +9317,7 @@ function bg(e, s, t, a, n, i) {
|
|
|
9317
9317
|
t.borderless ? "" : "ecs-scroll-container-border",
|
|
9318
9318
|
t.hideShadows ? "" : "ecs-scroll-container-shadows"
|
|
9319
9319
|
]]),
|
|
9320
|
-
style:
|
|
9320
|
+
style: x({ maxHeight: t.height, padding: t.padding })
|
|
9321
9321
|
}, [
|
|
9322
9322
|
p(e.$slots, "default", {}, void 0, !0)
|
|
9323
9323
|
], 6);
|
|
@@ -9328,7 +9328,7 @@ const _g = /* @__PURE__ */ y(yg, [["render", bg], ["__scopeId", "data-v-fb2e8eb9
|
|
|
9328
9328
|
components: {
|
|
9329
9329
|
EcsInputSearch: vg,
|
|
9330
9330
|
EcsScrollContainer: _g,
|
|
9331
|
-
EcsButton:
|
|
9331
|
+
EcsButton: Ce
|
|
9332
9332
|
},
|
|
9333
9333
|
props: {
|
|
9334
9334
|
/** Determines if the folder selector control has a search bar to filter by folder name. */
|
|
@@ -9385,11 +9385,11 @@ const _g = /* @__PURE__ */ y(yg, [["render", bg], ["__scopeId", "data-v-fb2e8eb9
|
|
|
9385
9385
|
key: 1,
|
|
9386
9386
|
class: "empty-list"
|
|
9387
9387
|
};
|
|
9388
|
-
function
|
|
9388
|
+
function Cg(e, s, t, a, n, i) {
|
|
9389
9389
|
const r = g("ecs-input-search"), c = g("ecs-button"), d = g("ecs-scroll-container");
|
|
9390
9390
|
return o(), l("div", {
|
|
9391
9391
|
class: v(["ecs-folder-selector", [t.framed ? "ecs-folder-selector-border" : ""]]),
|
|
9392
|
-
style:
|
|
9392
|
+
style: x({ height: i.isFullHeight })
|
|
9393
9393
|
}, [
|
|
9394
9394
|
t.searchable || t.create ? (o(), l("div", wg, [
|
|
9395
9395
|
t.searchable ? (o(), h(r, {
|
|
@@ -9427,7 +9427,7 @@ function xg(e, s, t, a, n, i) {
|
|
|
9427
9427
|
}, 8, ["height", "padding"])
|
|
9428
9428
|
], 6);
|
|
9429
9429
|
}
|
|
9430
|
-
const Zb = /* @__PURE__ */ y(kg, [["render",
|
|
9430
|
+
const Zb = /* @__PURE__ */ y(kg, [["render", Cg], ["__scopeId", "data-v-0056e40b"]]), xg = {
|
|
9431
9431
|
name: "ecs-form-group",
|
|
9432
9432
|
components: { EcsText: nt },
|
|
9433
9433
|
props: {
|
|
@@ -9487,7 +9487,7 @@ function Bg(e, s, t, a, n, i) {
|
|
|
9487
9487
|
}, null, 8, ["innerHTML"])) : u("", !0)
|
|
9488
9488
|
], 2);
|
|
9489
9489
|
}
|
|
9490
|
-
const zg = /* @__PURE__ */ y(
|
|
9490
|
+
const zg = /* @__PURE__ */ y(xg, [["render", Bg], ["__scopeId", "data-v-2a3b81f3"]]), Ig = {}, Eg = { class: "ecs-form-headline" }, $g = { class: "ecs-form-headline-main" }, Pg = {
|
|
9491
9491
|
key: 0,
|
|
9492
9492
|
class: "ecs-form-headline-controls"
|
|
9493
9493
|
};
|
|
@@ -9567,7 +9567,7 @@ const Qb = /* @__PURE__ */ y(Mg, [["render", Ag], ["__scopeId", "data-v-c9188464
|
|
|
9567
9567
|
return this.color ? this.type === "background" ? {
|
|
9568
9568
|
"--ecs-highlight-background": this.color
|
|
9569
9569
|
} : {
|
|
9570
|
-
"--ecs-highlight-background":
|
|
9570
|
+
"--ecs-highlight-background": C(this.color).setAlpha(0.1).toRgbString(),
|
|
9571
9571
|
"--ecs-highlight-border": this.color
|
|
9572
9572
|
} : this.type === "background" ? {
|
|
9573
9573
|
"--ecs-highlight-background": "var(--color-yellow-3)"
|
|
@@ -9605,7 +9605,7 @@ function Dg(e, s, t, a, n, i) {
|
|
|
9605
9605
|
i.showHighlight ? (o(), l("div", {
|
|
9606
9606
|
key: 0,
|
|
9607
9607
|
class: v(["ecs-highlight", [i.classes]]),
|
|
9608
|
-
style:
|
|
9608
|
+
style: x({ ...i.highlightColor, ...i.borderRadiusStyle, ...i.insetStyles })
|
|
9609
9609
|
}, [
|
|
9610
9610
|
t.layout === "wrap" ? p(e.$slots, "default", { key: 0 }, void 0, !0) : u("", !0)
|
|
9611
9611
|
], 6)) : u("", !0)
|
|
@@ -9635,7 +9635,7 @@ function Vg(e, s, t, a, n, i) {
|
|
|
9635
9635
|
}
|
|
9636
9636
|
const Hg = /* @__PURE__ */ y(Rg, [["render", Vg], ["__scopeId", "data-v-a6ddde36"]]), qg = {
|
|
9637
9637
|
name: "ecs-index-toolbar",
|
|
9638
|
-
components: { EcsToolbar: Hg, EcsButtonToolbarGroup:
|
|
9638
|
+
components: { EcsToolbar: Hg, EcsButtonToolbarGroup: qt, EcsFlexCol: lg, EcsFlexRow: Te },
|
|
9639
9639
|
props: {
|
|
9640
9640
|
/** The label used to describe the objects shown in the index view. E.g.: "Entries", "Profiles", etc. */
|
|
9641
9641
|
type: {
|
|
@@ -10026,7 +10026,7 @@ const o_ = /* @__PURE__ */ y(gm, [["render", mm]]), pm = {
|
|
|
10026
10026
|
"selectCurEntryText",
|
|
10027
10027
|
"blur"
|
|
10028
10028
|
],
|
|
10029
|
-
components: { EcsButtonToolbar: pt, EcsButtonToolbarGroup:
|
|
10029
|
+
components: { EcsButtonToolbar: pt, EcsButtonToolbarGroup: qt },
|
|
10030
10030
|
props: {
|
|
10031
10031
|
/** Index position of the currently viewed object. */
|
|
10032
10032
|
currentEntry: {
|
|
@@ -10128,7 +10128,7 @@ const r_ = /* @__PURE__ */ y(pm, [["render", ym], ["__scopeId", "data-v-7a9373c8
|
|
|
10128
10128
|
"selectSearchResultCount",
|
|
10129
10129
|
"setSearchResultCount"
|
|
10130
10130
|
],
|
|
10131
|
-
components: { EcsButtonToolbar: pt, EcsButtonToolbarGroup:
|
|
10131
|
+
components: { EcsButtonToolbar: pt, EcsButtonToolbarGroup: qt },
|
|
10132
10132
|
props: {
|
|
10133
10133
|
/** Count of the current object in the given index. */
|
|
10134
10134
|
currentCount: {
|
|
@@ -10196,7 +10196,7 @@ const r_ = /* @__PURE__ */ y(pm, [["render", ym], ["__scopeId", "data-v-7a9373c8
|
|
|
10196
10196
|
key: 1,
|
|
10197
10197
|
class: "ecs-jumper-count-inputs"
|
|
10198
10198
|
};
|
|
10199
|
-
function
|
|
10199
|
+
function Cm(e, s, t, a, n, i) {
|
|
10200
10200
|
const r = g("ecs-button-toolbar"), c = g("ecs-button-toolbar-group");
|
|
10201
10201
|
return o(), h(c, { class: "ecs-jumper" }, {
|
|
10202
10202
|
default: S(() => [
|
|
@@ -10232,7 +10232,7 @@ function xm(e, s, t, a, n, i) {
|
|
|
10232
10232
|
_: 1
|
|
10233
10233
|
});
|
|
10234
10234
|
}
|
|
10235
|
-
const l_ = /* @__PURE__ */ y(bm, [["render",
|
|
10235
|
+
const l_ = /* @__PURE__ */ y(bm, [["render", Cm], ["__scopeId", "data-v-ff5280fd"]]), xm = {
|
|
10236
10236
|
name: "ecs-jumper-page",
|
|
10237
10237
|
emits: [
|
|
10238
10238
|
"selectCurPageText",
|
|
@@ -10330,7 +10330,7 @@ function Nm(e, s, t, a, n, i) {
|
|
|
10330
10330
|
])
|
|
10331
10331
|
]);
|
|
10332
10332
|
}
|
|
10333
|
-
const c_ = /* @__PURE__ */ y(
|
|
10333
|
+
const c_ = /* @__PURE__ */ y(xm, [["render", Nm], ["__scopeId", "data-v-0346f2c1"]]), Dm = {
|
|
10334
10334
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
10335
10335
|
name: "ecs-pane",
|
|
10336
10336
|
inject: ["requestUpdate", "onPaneAdd", "onPaneRemove", "onPaneClick"],
|
|
@@ -10384,7 +10384,7 @@ function Rm(e, s, t, a, n, i) {
|
|
|
10384
10384
|
return o(), l("div", {
|
|
10385
10385
|
class: "ecs-pane",
|
|
10386
10386
|
onClick: s[0] || (s[0] = (r) => i.onPaneClick(r, e._.uid)),
|
|
10387
|
-
style:
|
|
10387
|
+
style: x(e.style)
|
|
10388
10388
|
}, [
|
|
10389
10389
|
p(e.$slots, "default")
|
|
10390
10390
|
], 4);
|
|
@@ -10781,7 +10781,7 @@ function Um(e, s, t, a, n, i) {
|
|
|
10781
10781
|
e.$slots.sidebar ? (o(), l("div", {
|
|
10782
10782
|
key: 0,
|
|
10783
10783
|
class: v(["ecs-index-layout-sidebar", [t.overlaySidebar ? "overlay" : ""]]),
|
|
10784
|
-
style:
|
|
10784
|
+
style: x(i.sidebarPosition)
|
|
10785
10785
|
}, [
|
|
10786
10786
|
p(e.$slots, "sidebar", {}, void 0, !0)
|
|
10787
10787
|
], 6)) : u("", !0)
|
|
@@ -10832,7 +10832,7 @@ function Qm(e, s, t, a, n, i) {
|
|
|
10832
10832
|
}
|
|
10833
10833
|
const u_ = /* @__PURE__ */ y(Gm, [["render", Qm], ["__scopeId", "data-v-dd8572c4"]]), ep = {
|
|
10834
10834
|
name: "ecs-layout-data-table",
|
|
10835
|
-
components: { EcsActionToolbar: wi, EcsButton:
|
|
10835
|
+
components: { EcsActionToolbar: wi, EcsButton: Ce },
|
|
10836
10836
|
mixins: [ue],
|
|
10837
10837
|
props: {
|
|
10838
10838
|
/** Needs to be set when the edit/view sidebar is expanded. */
|
|
@@ -11021,7 +11021,7 @@ function gp(e, s, t, a, n, i) {
|
|
|
11021
11021
|
default: S(() => [
|
|
11022
11022
|
f("div", {
|
|
11023
11023
|
class: v(["ecs-legend-item-color", t.type]),
|
|
11024
|
-
style:
|
|
11024
|
+
style: x({ backgroundColor: t.color })
|
|
11025
11025
|
}, null, 6),
|
|
11026
11026
|
f("div", dp, w(t.label), 1),
|
|
11027
11027
|
t.count ? (o(), l("div", up, w(t.count), 1)) : u("", !0),
|
|
@@ -11029,7 +11029,7 @@ function gp(e, s, t, a, n, i) {
|
|
|
11029
11029
|
t.highlight || t.hover ? (o(), l("div", {
|
|
11030
11030
|
key: 2,
|
|
11031
11031
|
class: "ecs-legend-item-highlight",
|
|
11032
|
-
style:
|
|
11032
|
+
style: x({ backgroundColor: t.color })
|
|
11033
11033
|
}, null, 4)) : u("", !0),
|
|
11034
11034
|
t.hover ? (o(), h(r, { key: 3 })) : u("", !0)
|
|
11035
11035
|
]),
|
|
@@ -11089,7 +11089,7 @@ function vp(e, s, t, a, n, i) {
|
|
|
11089
11089
|
role: i.alertRole,
|
|
11090
11090
|
"aria-busy": t.loading || null,
|
|
11091
11091
|
align: "start",
|
|
11092
|
-
style:
|
|
11092
|
+
style: x(i.padding)
|
|
11093
11093
|
}, {
|
|
11094
11094
|
default: S(() => [
|
|
11095
11095
|
t.loading && t.type != "blank" ? (o(), h(r, {
|
|
@@ -11209,10 +11209,10 @@ const p_ = /* @__PURE__ */ y(yp, [["render", kp], ["__scopeId", "data-v-e2371c57
|
|
|
11209
11209
|
mounted() {
|
|
11210
11210
|
this.show && (this.isShown = !0);
|
|
11211
11211
|
}
|
|
11212
|
-
}, Sp = (e) => (be("data-v-04163948"), e = e(), _e(), e),
|
|
11212
|
+
}, Sp = (e) => (be("data-v-04163948"), e = e(), _e(), e), Cp = {
|
|
11213
11213
|
key: 0,
|
|
11214
11214
|
class: "ecs-modal-header-wrap"
|
|
11215
|
-
},
|
|
11215
|
+
}, xp = { class: "ecs-modal-content-wrap scrollbar" }, Bp = {
|
|
11216
11216
|
key: 1,
|
|
11217
11217
|
class: "ecs-modal-footer-wrap"
|
|
11218
11218
|
}, zp = /* @__PURE__ */ Sp(() => /* @__PURE__ */ f("div", { class: "ecs-modal-backdrop ecs-modal-sheet-backdrop" }, null, -1));
|
|
@@ -11225,12 +11225,12 @@ function Ip(e, s, t, a, n, i) {
|
|
|
11225
11225
|
}, [
|
|
11226
11226
|
f("div", {
|
|
11227
11227
|
class: "ecs-modal-dialog ecs-modal-sheet",
|
|
11228
|
-
style:
|
|
11228
|
+
style: x(i.fixedHeightStyle)
|
|
11229
11229
|
}, [
|
|
11230
|
-
e.$slots.header ? (o(), l("div",
|
|
11230
|
+
e.$slots.header ? (o(), l("div", Cp, [
|
|
11231
11231
|
p(e.$slots, "header", {}, void 0, !0)
|
|
11232
11232
|
])) : u("", !0),
|
|
11233
|
-
f("div",
|
|
11233
|
+
f("div", xp, [
|
|
11234
11234
|
p(e.$slots, "default", {}, void 0, !0)
|
|
11235
11235
|
]),
|
|
11236
11236
|
e.$slots.footer ? (o(), l("div", Bp, [
|
|
@@ -11247,7 +11247,7 @@ const h_ = /* @__PURE__ */ y(wp, [["render", Ip], ["__scopeId", "data-v-04163948
|
|
|
11247
11247
|
name: "ecs-modal-header",
|
|
11248
11248
|
emits: ["close"],
|
|
11249
11249
|
components: {
|
|
11250
|
-
EcsButton:
|
|
11250
|
+
EcsButton: Ce,
|
|
11251
11251
|
EcsFocusRing: L
|
|
11252
11252
|
},
|
|
11253
11253
|
props: {
|
|
@@ -11642,7 +11642,7 @@ function eh(e, s, t, a, n, i) {
|
|
|
11642
11642
|
const k_ = /* @__PURE__ */ y(Jp, [["render", eh], ["__scopeId", "data-v-ceac7867"]]), th = {
|
|
11643
11643
|
name: "ecs-overlay",
|
|
11644
11644
|
emits: ["close", "toggled"],
|
|
11645
|
-
components: { EcsIcon: M, EcsButtonToolbar: pt, EcsAlert:
|
|
11645
|
+
components: { EcsIcon: M, EcsButtonToolbar: pt, EcsAlert: ws },
|
|
11646
11646
|
props: {
|
|
11647
11647
|
/** Shows the Overlay. */
|
|
11648
11648
|
show: {
|
|
@@ -11827,11 +11827,11 @@ function vh(e, s, t, a, n, i) {
|
|
|
11827
11827
|
n.isShown ? (o(), l("div", {
|
|
11828
11828
|
key: 0,
|
|
11829
11829
|
class: "ecs-overlay",
|
|
11830
|
-
style:
|
|
11830
|
+
style: x({ top: t.offsetTop + "px", height: "calc(100vh - " + t.offsetTop + "px" })
|
|
11831
11831
|
}, [
|
|
11832
11832
|
f("header", {
|
|
11833
11833
|
class: "ecs-overlay-header",
|
|
11834
|
-
style:
|
|
11834
|
+
style: x(e.$slots.alert ? "" : "border-bottom: 1px solid var(--color-gray-4);")
|
|
11835
11835
|
}, [
|
|
11836
11836
|
f("div", sh, [
|
|
11837
11837
|
t.icon ? (o(), h(r, {
|
|
@@ -11899,7 +11899,7 @@ function vh(e, s, t, a, n, i) {
|
|
|
11899
11899
|
}, [
|
|
11900
11900
|
f("div", {
|
|
11901
11901
|
class: v(["ecs-overlay-content-inner-inner", e.$slots.sidebar && !t.fullWidth && n.width > 1500 ? "has-sidebar" : " "]),
|
|
11902
|
-
style:
|
|
11902
|
+
style: x({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
11903
11903
|
}, [
|
|
11904
11904
|
p(e.$slots, "default", {}, void 0, !0)
|
|
11905
11905
|
], 6),
|
|
@@ -11922,7 +11922,7 @@ function vh(e, s, t, a, n, i) {
|
|
|
11922
11922
|
f("div", mh, [
|
|
11923
11923
|
f("div", {
|
|
11924
11924
|
class: "ecs-overlay-footer-content-inner",
|
|
11925
|
-
style:
|
|
11925
|
+
style: x({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
11926
11926
|
}, [
|
|
11927
11927
|
p(e.$slots, "footer", {}, void 0, !0)
|
|
11928
11928
|
], 4),
|
|
@@ -11939,7 +11939,7 @@ const w_ = /* @__PURE__ */ y(th, [["render", vh], ["__scopeId", "data-v-9a66e087
|
|
|
11939
11939
|
name: "ecs-pagination",
|
|
11940
11940
|
emits: ["firstPage", "prevPage", "nextPage", "lastPage", "updatePage", "itemsPerPage"],
|
|
11941
11941
|
components: {
|
|
11942
|
-
EcsButton:
|
|
11942
|
+
EcsButton: Ce,
|
|
11943
11943
|
EcsSelect: js,
|
|
11944
11944
|
EcsFlexRow: Te,
|
|
11945
11945
|
EcsIcon: M
|
|
@@ -12043,7 +12043,7 @@ const w_ = /* @__PURE__ */ y(th, [["render", vh], ["__scopeId", "data-v-9a66e087
|
|
|
12043
12043
|
}, wh = {
|
|
12044
12044
|
key: 1,
|
|
12045
12045
|
class: "ecs-pagination-range"
|
|
12046
|
-
}, Sh = { class: "ecs-pagination-tabs" },
|
|
12046
|
+
}, Sh = { class: "ecs-pagination-tabs" }, Ch = /* @__PURE__ */ Us(() => /* @__PURE__ */ f("span", null, "Items per page", -1)), xh = ["value", "selected"];
|
|
12047
12047
|
function Bh(e, s, t, a, n, i) {
|
|
12048
12048
|
const r = g("ecs-button"), c = g("ecs-flex-row"), d = g("ecs-select");
|
|
12049
12049
|
return o(), l("div", {
|
|
@@ -12057,7 +12057,7 @@ function Bh(e, s, t, a, n, i) {
|
|
|
12057
12057
|
_(c, {
|
|
12058
12058
|
gap: 8,
|
|
12059
12059
|
class: "ecs-pagination-nav",
|
|
12060
|
-
style:
|
|
12060
|
+
style: x({ minWidth: t.tabsSpacing - 4 + "px" })
|
|
12061
12061
|
}, {
|
|
12062
12062
|
default: S(() => [
|
|
12063
12063
|
t.type == "paginated" ? (o(), l(X, { key: 0 }, [
|
|
@@ -12151,7 +12151,7 @@ function Bh(e, s, t, a, n, i) {
|
|
|
12151
12151
|
class: "ecs-pagination-items"
|
|
12152
12152
|
}, {
|
|
12153
12153
|
default: S(() => [
|
|
12154
|
-
|
|
12154
|
+
Ch,
|
|
12155
12155
|
_(d, {
|
|
12156
12156
|
modelValue: n.updatedItemsPerPageSelected,
|
|
12157
12157
|
"onUpdate:modelValue": s[5] || (s[5] = (m) => n.updatedItemsPerPageSelected = m),
|
|
@@ -12164,7 +12164,7 @@ function Bh(e, s, t, a, n, i) {
|
|
|
12164
12164
|
key: m,
|
|
12165
12165
|
value: m,
|
|
12166
12166
|
selected: m === t.itemsPerPageSelected
|
|
12167
|
-
}, w(m), 9,
|
|
12167
|
+
}, w(m), 9, xh))), 128))
|
|
12168
12168
|
]),
|
|
12169
12169
|
_: 1
|
|
12170
12170
|
}, 8, ["modelValue", "disabled"])
|
|
@@ -12269,13 +12269,13 @@ function Eh(e, s, t, a, n, i) {
|
|
|
12269
12269
|
const r = g("ecs-icon"), c = g("ecs-sticker");
|
|
12270
12270
|
return o(), l("div", {
|
|
12271
12271
|
class: v(["ecs-party-entry", [t.party, t.color && t.background ? "ecs-party-entry-colored" : ""]]),
|
|
12272
|
-
style:
|
|
12272
|
+
style: x({ color: t.color })
|
|
12273
12273
|
}, [
|
|
12274
12274
|
t.icon && t.iconPosition == "left" ? (o(), h(r, {
|
|
12275
12275
|
key: 0,
|
|
12276
12276
|
type: i.iconType,
|
|
12277
12277
|
color: i.iconColor,
|
|
12278
|
-
style:
|
|
12278
|
+
style: x("margin-right:" + t.iconSpacing),
|
|
12279
12279
|
size: t.iconSize
|
|
12280
12280
|
}, null, 8, ["type", "color", "style", "size"])) : u("", !0),
|
|
12281
12281
|
t.shared ? (o(), h(c, {
|
|
@@ -12289,13 +12289,13 @@ function Eh(e, s, t, a, n, i) {
|
|
|
12289
12289
|
key: 2,
|
|
12290
12290
|
type: i.iconType,
|
|
12291
12291
|
color: i.iconColor,
|
|
12292
|
-
style:
|
|
12292
|
+
style: x("margin-left:" + t.iconSpacing),
|
|
12293
12293
|
size: t.iconSize
|
|
12294
12294
|
}, null, 8, ["type", "color", "style", "size"])) : u("", !0),
|
|
12295
12295
|
t.background ? (o(), l("div", Ih)) : u("", !0)
|
|
12296
12296
|
], 6);
|
|
12297
12297
|
}
|
|
12298
|
-
const
|
|
12298
|
+
const C_ = /* @__PURE__ */ y(zh, [["render", Eh], ["__scopeId", "data-v-d7c75070"]]), $h = {
|
|
12299
12299
|
name: "ecs-popover-header",
|
|
12300
12300
|
components: { EcsIcon: M, EcsText: nt },
|
|
12301
12301
|
props: {
|
|
@@ -12345,23 +12345,67 @@ function Lh(e, s, t, a, n, i) {
|
|
|
12345
12345
|
])) : u("", !0)
|
|
12346
12346
|
]);
|
|
12347
12347
|
}
|
|
12348
|
-
const
|
|
12348
|
+
const x_ = /* @__PURE__ */ y($h, [["render", Lh], ["__scopeId", "data-v-c7ef1a5a"]]), Oh = {
|
|
12349
|
+
name: "EcsPopoverListHeadline",
|
|
12350
|
+
components: {
|
|
12351
|
+
EcsButtonCollapse: Ht
|
|
12352
|
+
},
|
|
12349
12353
|
props: {
|
|
12350
12354
|
/** Turns the popover list headline into a sticky headline. This means it will always stay fixed at the top of a scroll container until another popover list headline reaches the top. */
|
|
12351
12355
|
sticky: {
|
|
12352
12356
|
type: Boolean,
|
|
12353
12357
|
default: !1
|
|
12358
|
+
},
|
|
12359
|
+
/** Shows a collapse button in the headline. */
|
|
12360
|
+
collapsible: {
|
|
12361
|
+
type: Boolean,
|
|
12362
|
+
default: !1
|
|
12363
|
+
},
|
|
12364
|
+
/** Sets the collapsed state of the headline. */
|
|
12365
|
+
collapsed: {
|
|
12366
|
+
type: Boolean,
|
|
12367
|
+
default: !1
|
|
12368
|
+
},
|
|
12369
|
+
/** Sets the aria-controls attribute of the collapse button. Needs to match the id of the element which the collapse button is toggling. */
|
|
12370
|
+
collapseControls: {
|
|
12371
|
+
type: String
|
|
12372
|
+
}
|
|
12373
|
+
},
|
|
12374
|
+
data() {
|
|
12375
|
+
return {
|
|
12376
|
+
isCollapsed: this.collapsed
|
|
12377
|
+
};
|
|
12378
|
+
},
|
|
12379
|
+
watch: {
|
|
12380
|
+
collapsed(e) {
|
|
12381
|
+
this.isCollapsed = e;
|
|
12382
|
+
}
|
|
12383
|
+
},
|
|
12384
|
+
methods: {
|
|
12385
|
+
handleCollapse() {
|
|
12386
|
+
this.isCollapsed = !this.isCollapsed, this.$emit("toggle", this.isCollapsed);
|
|
12354
12387
|
}
|
|
12355
12388
|
}
|
|
12356
12389
|
}, Ah = {
|
|
12357
|
-
key:
|
|
12390
|
+
key: 1,
|
|
12358
12391
|
class: "ecs-popover-list-title-controls"
|
|
12359
12392
|
};
|
|
12360
12393
|
function Nh(e, s, t, a, n, i) {
|
|
12394
|
+
const r = g("ecs-button-collapse");
|
|
12361
12395
|
return o(), l("li", {
|
|
12362
|
-
class: v(["ecs-popover-list-title", [
|
|
12396
|
+
class: v(["ecs-popover-list-title", [
|
|
12397
|
+
t.sticky ? "ecs-popover-list-title-sticky" : "ecs-popover-list-title-default",
|
|
12398
|
+
t.sticky && e.$slots.controls ? "has-controls" : ""
|
|
12399
|
+
]]),
|
|
12363
12400
|
role: "heading"
|
|
12364
12401
|
}, [
|
|
12402
|
+
t.collapsible ? (o(), h(r, {
|
|
12403
|
+
key: 0,
|
|
12404
|
+
onClick: i.handleCollapse,
|
|
12405
|
+
type: "chevron",
|
|
12406
|
+
collapsed: n.isCollapsed,
|
|
12407
|
+
"aria-controls": t.collapseControls
|
|
12408
|
+
}, null, 8, ["onClick", "collapsed", "aria-controls"])) : u("", !0),
|
|
12365
12409
|
f("span", null, [
|
|
12366
12410
|
p(e.$slots, "default", {}, void 0, !0)
|
|
12367
12411
|
]),
|
|
@@ -12370,7 +12414,7 @@ function Nh(e, s, t, a, n, i) {
|
|
|
12370
12414
|
])) : u("", !0)
|
|
12371
12415
|
], 2);
|
|
12372
12416
|
}
|
|
12373
|
-
const B_ = /* @__PURE__ */ y(Oh, [["render", Nh], ["__scopeId", "data-v-
|
|
12417
|
+
const B_ = /* @__PURE__ */ y(Oh, [["render", Nh], ["__scopeId", "data-v-c1516cc2"]]), Dh = {
|
|
12374
12418
|
name: "ecs-rating-star-read",
|
|
12375
12419
|
components: { EcsSkeletonLoader: fe },
|
|
12376
12420
|
props: {
|
|
@@ -12516,7 +12560,7 @@ function Uh(e, s, t, a, n, i) {
|
|
|
12516
12560
|
const Gh = /* @__PURE__ */ y(qh, [["render", Uh], ["__scopeId", "data-v-6f812168"]]), Kh = {
|
|
12517
12561
|
name: "ecs-quicklinks-link",
|
|
12518
12562
|
emits: ["click", "input", "toggle"],
|
|
12519
|
-
components: { EcsCheckbox: Vt, EcsRatingStarRead: Hh, EcsRatingFavorability: Gh, EcsSwitch:
|
|
12563
|
+
components: { EcsCheckbox: Vt, EcsRatingStarRead: Hh, EcsRatingFavorability: Gh, EcsSwitch: Ls, EcsIcon: M, EcsFocusRing: L },
|
|
12520
12564
|
props: {
|
|
12521
12565
|
label: {
|
|
12522
12566
|
type: String,
|
|
@@ -12935,7 +12979,7 @@ const $_ = /* @__PURE__ */ y(yv, [["render", wv], ["__scopeId", "data-v-276f231c
|
|
|
12935
12979
|
default: !1
|
|
12936
12980
|
}
|
|
12937
12981
|
}
|
|
12938
|
-
},
|
|
12982
|
+
}, Cv = (e) => (be("data-v-a00076a7"), e = e(), _e(), e), xv = ["aria-checked", "tabindex"], Bv = /* @__PURE__ */ Cv(() => /* @__PURE__ */ f("div", { class: "select-check" }, null, -1)), zv = {
|
|
12939
12983
|
key: 1,
|
|
12940
12984
|
class: "label"
|
|
12941
12985
|
}, Iv = {
|
|
@@ -12966,7 +13010,7 @@ function Ev(e, s, t, a, n, i) {
|
|
|
12966
13010
|
inset: -6,
|
|
12967
13011
|
radius: 12
|
|
12968
13012
|
})
|
|
12969
|
-
], 42,
|
|
13013
|
+
], 42, xv);
|
|
12970
13014
|
}
|
|
12971
13015
|
const P_ = /* @__PURE__ */ y(Sv, [["render", Ev], ["__scopeId", "data-v-a00076a7"]]), $v = {
|
|
12972
13016
|
name: "ecs-sequence-map"
|
|
@@ -13136,7 +13180,7 @@ function Kv(e, s, t, a, n, i) {
|
|
|
13136
13180
|
const r = g("ecs-tab-bar"), c = g("ecs-tabs");
|
|
13137
13181
|
return o(), l("aside", {
|
|
13138
13182
|
class: v(["ecs-sidebar", [i.sizeClass, i.expandClass]]),
|
|
13139
|
-
style:
|
|
13183
|
+
style: x(i.height)
|
|
13140
13184
|
}, [
|
|
13141
13185
|
f("div", Gv, [
|
|
13142
13186
|
_(r, { type: "sidebar" }, {
|
|
@@ -13362,7 +13406,7 @@ function gy(e, s, t, a, n, i) {
|
|
|
13362
13406
|
"aria-label": r.title,
|
|
13363
13407
|
"aria-checked": n.selectedColor == r.hex ? "true" : "false",
|
|
13364
13408
|
class: v(["ecs-swatches-color", n.selectedColor == r.hex ? "active" : ""]),
|
|
13365
|
-
style:
|
|
13409
|
+
style: x({ backgroundColor: r.hex, color: r.hex })
|
|
13366
13410
|
}, null, 46, fy))), 128))
|
|
13367
13411
|
], 2);
|
|
13368
13412
|
}
|
|
@@ -13592,16 +13636,16 @@ const V_ = /* @__PURE__ */ y(vy, [["render", wy], ["__scopeId", "data-v-5098e4d3
|
|
|
13592
13636
|
},
|
|
13593
13637
|
colorIsDark() {
|
|
13594
13638
|
if (this.color && this.color !== "")
|
|
13595
|
-
return
|
|
13639
|
+
return C(this.color).isDark();
|
|
13596
13640
|
},
|
|
13597
13641
|
customColorStyle() {
|
|
13598
13642
|
if (this.color && this.color !== "")
|
|
13599
13643
|
return this.colorIsDark ? {
|
|
13600
|
-
background:
|
|
13601
|
-
color:
|
|
13644
|
+
background: C(this.color).toRgbString(),
|
|
13645
|
+
color: C(this.color).lighten(65).toRgbString()
|
|
13602
13646
|
} : {
|
|
13603
|
-
background:
|
|
13604
|
-
color:
|
|
13647
|
+
background: C(this.color).toRgbString(),
|
|
13648
|
+
color: C(this.color).darken(65).toRgbString()
|
|
13605
13649
|
};
|
|
13606
13650
|
}
|
|
13607
13651
|
},
|
|
@@ -13610,7 +13654,7 @@ const V_ = /* @__PURE__ */ y(vy, [["render", wy], ["__scopeId", "data-v-5098e4d3
|
|
|
13610
13654
|
this.$emit("click", e);
|
|
13611
13655
|
}
|
|
13612
13656
|
}
|
|
13613
|
-
},
|
|
13657
|
+
}, Cy = ["role", "tabindex", "aria-busy"], xy = ["title"], By = {
|
|
13614
13658
|
key: 1,
|
|
13615
13659
|
class: "count"
|
|
13616
13660
|
};
|
|
@@ -13624,7 +13668,7 @@ function zy(e, s, t, a, n, i) {
|
|
|
13624
13668
|
t.loading ? "loading" : ""
|
|
13625
13669
|
]]),
|
|
13626
13670
|
onClick: s[0] || (s[0] = (...d) => i.handleClick && i.handleClick(...d)),
|
|
13627
|
-
style:
|
|
13671
|
+
style: x(i.customColorStyle),
|
|
13628
13672
|
role: t.hover ? "button" : !1,
|
|
13629
13673
|
tabindex: t.hover ? "0" : "-1",
|
|
13630
13674
|
"aria-busy": t.loading || null
|
|
@@ -13633,7 +13677,7 @@ function zy(e, s, t, a, n, i) {
|
|
|
13633
13677
|
key: 0,
|
|
13634
13678
|
class: "path",
|
|
13635
13679
|
title: t.path
|
|
13636
|
-
}, w(i.truncatedPath), 9,
|
|
13680
|
+
}, w(i.truncatedPath), 9, xy)) : u("", !0),
|
|
13637
13681
|
p(e.$slots, "default", {}, void 0, !0),
|
|
13638
13682
|
t.count ? (o(), l("span", By, w(t.count), 1)) : u("", !0),
|
|
13639
13683
|
t.loading ? (o(), h(r, {
|
|
@@ -13643,7 +13687,7 @@ function zy(e, s, t, a, n, i) {
|
|
|
13643
13687
|
style: { width: "calc(100% - 20px)" }
|
|
13644
13688
|
})) : u("", !0),
|
|
13645
13689
|
_(c)
|
|
13646
|
-
], 14,
|
|
13690
|
+
], 14, Cy);
|
|
13647
13691
|
}
|
|
13648
13692
|
const H_ = /* @__PURE__ */ y(Sy, [["render", zy], ["__scopeId", "data-v-aed8750a"]]), Iy = {
|
|
13649
13693
|
name: "ecs-tag-cloud"
|
|
@@ -13813,7 +13857,7 @@ function Wy(e, s, t, a, n, i) {
|
|
|
13813
13857
|
const G_ = /* @__PURE__ */ y(Hy, [["render", Wy], ["__scopeId", "data-v-6af94f50"]]), jy = {
|
|
13814
13858
|
name: "ecs-tree-list-item",
|
|
13815
13859
|
emits: ["click", "toggled"],
|
|
13816
|
-
components: { EcsIcon: M, EcsButtonCollapse:
|
|
13860
|
+
components: { EcsIcon: M, EcsButtonCollapse: Ht, EcsFocusRing: L },
|
|
13817
13861
|
mixins: [ue],
|
|
13818
13862
|
props: {
|
|
13819
13863
|
/** ID for the Tree List Item */
|
|
@@ -14020,7 +14064,7 @@ function eb(e, s, t, a, n, i) {
|
|
|
14020
14064
|
const Y_ = /* @__PURE__ */ y(Jy, [["render", eb], ["__scopeId", "data-v-a5153e06"]]), tb = {
|
|
14021
14065
|
name: "EcsTypeConfirmation",
|
|
14022
14066
|
emits: ["update:modelValue"],
|
|
14023
|
-
components: { EcsInput: sm, EcsAlert:
|
|
14067
|
+
components: { EcsInput: sm, EcsAlert: ws, EcsFormGroup: zg },
|
|
14024
14068
|
mixins: [ue],
|
|
14025
14069
|
props: {
|
|
14026
14070
|
verb: {
|
|
@@ -14163,7 +14207,7 @@ function cb(e, s, t, a, n, i) {
|
|
|
14163
14207
|
const Z_ = /* @__PURE__ */ y(rb, [["render", cb], ["__scopeId", "data-v-ce84fcb3"]]);
|
|
14164
14208
|
export {
|
|
14165
14209
|
wi as EcsActionToolbar,
|
|
14166
|
-
|
|
14210
|
+
ws as EcsAlert,
|
|
14167
14211
|
ub as EcsAudio,
|
|
14168
14212
|
Mi as EcsAvatar,
|
|
14169
14213
|
fb as EcsBanner,
|
|
@@ -14171,8 +14215,8 @@ export {
|
|
|
14171
14215
|
mb as EcsBreadcrumbButton,
|
|
14172
14216
|
pb as EcsBreadcrumbTitle,
|
|
14173
14217
|
hb as EcsBulkSelector,
|
|
14174
|
-
|
|
14175
|
-
|
|
14218
|
+
Ce as EcsButton,
|
|
14219
|
+
Ht as EcsButtonCollapse,
|
|
14176
14220
|
yb as EcsButtonContext,
|
|
14177
14221
|
bb as EcsButtonContextGroup,
|
|
14178
14222
|
_b as EcsButtonDialog,
|
|
@@ -14180,18 +14224,18 @@ export {
|
|
|
14180
14224
|
Ds as EcsButtonMore,
|
|
14181
14225
|
Rs as EcsButtonTable,
|
|
14182
14226
|
pt as EcsButtonToolbar,
|
|
14183
|
-
|
|
14227
|
+
qt as EcsButtonToolbarGroup,
|
|
14184
14228
|
kb as EcsButtonToolbarIcon,
|
|
14185
14229
|
wb as EcsCard,
|
|
14186
14230
|
Vt as EcsCheckbox,
|
|
14187
14231
|
Sb as EcsCitationLine,
|
|
14188
|
-
|
|
14232
|
+
xb as EcsCollapse,
|
|
14189
14233
|
Bb as EcsCollectionControl,
|
|
14190
14234
|
bd as EcsColorPicker,
|
|
14191
14235
|
Eb as EcsColorPickerInput,
|
|
14192
14236
|
zb as EcsComment,
|
|
14193
14237
|
Ib as EcsCommentList,
|
|
14194
|
-
|
|
14238
|
+
Cb as EcsContextMenu,
|
|
14195
14239
|
$b as EcsDataCard,
|
|
14196
14240
|
Pb as EcsDataCardList,
|
|
14197
14241
|
Tb as EcsDataGrid,
|
|
@@ -14212,7 +14256,7 @@ export {
|
|
|
14212
14256
|
jb as EcsEntryLink,
|
|
14213
14257
|
Ub as EcsExcerptSnippet,
|
|
14214
14258
|
Hu as EcsFavicon,
|
|
14215
|
-
|
|
14259
|
+
Os as EcsFileIcon,
|
|
14216
14260
|
Kb as EcsFileList,
|
|
14217
14261
|
Yb as EcsFileListItem,
|
|
14218
14262
|
Gb as EcsFillIcon,
|
|
@@ -14255,15 +14299,15 @@ export {
|
|
|
14255
14299
|
w_ as EcsOverlay,
|
|
14256
14300
|
S_ as EcsPagination,
|
|
14257
14301
|
Fm as EcsPane,
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
14302
|
+
C_ as EcsPartyEntry,
|
|
14303
|
+
Ms as EcsPopover,
|
|
14304
|
+
x_ as EcsPopoverHeader,
|
|
14261
14305
|
ua as EcsPopoverList,
|
|
14262
14306
|
B_ as EcsPopoverListHeadline,
|
|
14263
14307
|
uo as EcsPopoverListItem,
|
|
14264
14308
|
hf as EcsProgress,
|
|
14265
14309
|
z_ as EcsQuicklink,
|
|
14266
|
-
|
|
14310
|
+
Ca as EcsRadiobutton,
|
|
14267
14311
|
Gh as EcsRatingFavorability,
|
|
14268
14312
|
Hh as EcsRatingStarRead,
|
|
14269
14313
|
I_ as EcsRatingStarWrite,
|
|
@@ -14287,7 +14331,7 @@ export {
|
|
|
14287
14331
|
Fe as EcsSticker,
|
|
14288
14332
|
D_ as EcsStructuredContent,
|
|
14289
14333
|
R_ as EcsSwatchesPicker,
|
|
14290
|
-
|
|
14334
|
+
Ls as EcsSwitch,
|
|
14291
14335
|
F_ as EcsTab,
|
|
14292
14336
|
Hv as EcsTabBar,
|
|
14293
14337
|
V_ as EcsTabButton,
|