@everchron/ec-shards 14.1.1 → 14.2.1
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.css +1 -1
- package/dist/ec-shards.js +813 -605
- package/dist/ec-shards.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineAsyncComponent as ne, watch as he, createBlock as p, openBlock as o, resolveDynamicComponent as ve, unref as de, normalizeClass as v, createElementBlock as l, normalizeStyle as
|
|
1
|
+
import { defineAsyncComponent as ne, watch as he, createBlock as p, openBlock as o, resolveDynamicComponent as ve, unref as de, normalizeClass as v, createElementBlock as l, normalizeStyle as C, resolveComponent as m, createCommentVNode as u, createElementVNode as g, createVNode as k, createTextVNode as A, toDisplayString as w, renderSlot as h, Transition as ye, withCtx as S, computed as Be, Fragment as V, renderList as se, reactive as Ti, nextTick as Pi, onBeforeUnmount as jt, toRefs as Xs, isRef as Mi, onMounted as Zs, useSlots as Oi, ref as $e, watchEffect as lt, withKeys as Q, Teleport as Ai, withDirectives as Fe, vShow as it, mergeProps as Ae, normalizeProps as Li, guardReactiveProps as Ni, withModifiers as Y, resolveDirective as Ri, vModelText as Di, createStaticVNode as Js, markRaw as $i, TransitionGroup as Qs, h as Vi, useCssVars as Hi } from "vue";
|
|
2
2
|
const ae = (t, s, e) => {
|
|
3
3
|
const a = t[s];
|
|
4
4
|
return a ? typeof a == "function" ? a() : Promise.resolve(a) : new Promise((n, i) => {
|
|
@@ -91,7 +91,7 @@ const ae = (t, s, e) => {
|
|
|
91
91
|
function Wi(t, s, e, a, n, i) {
|
|
92
92
|
return o(), l("span", {
|
|
93
93
|
class: v(["ecs-focus-ring", e.danger ? "ecs-focus-ring-danger" : ""]),
|
|
94
|
-
style:
|
|
94
|
+
style: C(i.styles)
|
|
95
95
|
}, null, 6);
|
|
96
96
|
}
|
|
97
97
|
const N = /* @__PURE__ */ b(qi, [["render", Wi], ["__scopeId", "data-v-8d624905"]]), ji = {
|
|
@@ -183,7 +183,7 @@ function Xi(t, s, e, a, n, i) {
|
|
|
183
183
|
e.inset ? "ecs-alert-inset" : "",
|
|
184
184
|
e.border !== !1 ? "ecs-alert-border" : ""
|
|
185
185
|
]]),
|
|
186
|
-
style:
|
|
186
|
+
style: C(i.borderStyles),
|
|
187
187
|
role: "alert"
|
|
188
188
|
}, [
|
|
189
189
|
e.dismissable ? (o(), l("button", {
|
|
@@ -291,7 +291,7 @@ function on(t, s, e, a, n, i) {
|
|
|
291
291
|
}, null, 8, an)) : u("", !0)
|
|
292
292
|
], 8, sn);
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const Ab = /* @__PURE__ */ b(tn, [["render", on], ["__scopeId", "data-v-4e7ca115"]]), rn = {
|
|
295
295
|
__name: "sticker",
|
|
296
296
|
props: {
|
|
297
297
|
/** Sets the sticker icon. */
|
|
@@ -342,7 +342,7 @@ const Tb = /* @__PURE__ */ b(tn, [["render", on], ["__scopeId", "data-v-4e7ca115
|
|
|
342
342
|
"aria-busy": e.value || null,
|
|
343
343
|
width: t.size,
|
|
344
344
|
height: t.size,
|
|
345
|
-
style:
|
|
345
|
+
style: C(`color: ${n.value}`),
|
|
346
346
|
"data-test-icon-type": t.type
|
|
347
347
|
}, null, 8, ["class", "aria-busy", "width", "height", "style", "data-test-icon-type"])) : u("", !0);
|
|
348
348
|
}
|
|
@@ -382,6 +382,11 @@ const Tb = /* @__PURE__ */ b(tn, [["render", on], ["__scopeId", "data-v-4e7ca115
|
|
|
382
382
|
type: String,
|
|
383
383
|
validator: (t) => ["left", "right"].includes(t),
|
|
384
384
|
default: "left"
|
|
385
|
+
},
|
|
386
|
+
/** Turns the color to subtle purple, to indicate EC:AI loading state */
|
|
387
|
+
ai: {
|
|
388
|
+
type: Boolean,
|
|
389
|
+
default: !1
|
|
385
390
|
}
|
|
386
391
|
},
|
|
387
392
|
computed: {
|
|
@@ -402,26 +407,28 @@ const Tb = /* @__PURE__ */ b(tn, [["render", on], ["__scopeId", "data-v-4e7ca115
|
|
|
402
407
|
function dn(t, s, e, a, n, i) {
|
|
403
408
|
return e.type === "rect" || e.type === "circle" ? (o(), l("div", {
|
|
404
409
|
key: 0,
|
|
405
|
-
class: v(["ecs-skeleton skeleton", i.rectClass]),
|
|
406
|
-
style:
|
|
410
|
+
class: v(["ecs-skeleton skeleton", [i.rectClass, { ai: e.ai }]]),
|
|
411
|
+
style: C({ width: i.calculatedWidth, height: e.height + "px" })
|
|
407
412
|
}, null, 6)) : e.type === "multi" ? (o(), l("div", cn, [
|
|
408
|
-
(o(!0), l(
|
|
413
|
+
(o(!0), l(V, null, se(parseInt(e.count), (r) => (o(), l("div", {
|
|
409
414
|
key: r,
|
|
410
415
|
class: v(["skeleton-wrap", ["skeleton-line-height-" + e.lineHeight, i.alignmentClass]])
|
|
411
|
-
},
|
|
412
|
-
g("div", {
|
|
413
|
-
|
|
416
|
+
}, [
|
|
417
|
+
g("div", {
|
|
418
|
+
class: v(["skeleton skeleton-single", { ai: e.ai }])
|
|
419
|
+
}, null, 2)
|
|
420
|
+
], 2))), 128))
|
|
414
421
|
])) : (o(), l("div", {
|
|
415
422
|
key: 2,
|
|
416
423
|
class: v(["ecs-skeleton skeleton-wrap", ["skeleton-line-height-" + e.lineHeight, i.alignmentClass]])
|
|
417
424
|
}, [
|
|
418
425
|
g("div", {
|
|
419
|
-
class: "skeleton skeleton-single",
|
|
420
|
-
style:
|
|
421
|
-
}, null,
|
|
426
|
+
class: v(["skeleton skeleton-single", { ai: e.ai }]),
|
|
427
|
+
style: C({ width: i.calculatedWidth })
|
|
428
|
+
}, null, 6)
|
|
422
429
|
], 2));
|
|
423
430
|
}
|
|
424
|
-
const ie = /* @__PURE__ */ b(ln, [["render", dn], ["__scopeId", "data-v-
|
|
431
|
+
const ie = /* @__PURE__ */ b(ln, [["render", dn], ["__scopeId", "data-v-633f8342"]]), un = {
|
|
425
432
|
name: "ecs-avatar",
|
|
426
433
|
emits: ["avatar-initials"],
|
|
427
434
|
components: {
|
|
@@ -558,7 +565,7 @@ function mn(t, s, e, a, n, i) {
|
|
|
558
565
|
const r = m("ecs-skeleton-loader"), c = m("ecs-sticker");
|
|
559
566
|
return o(), l("div", {
|
|
560
567
|
class: v(["avatar", [i.partyClass]]),
|
|
561
|
-
style:
|
|
568
|
+
style: C([i.style, e.customStyle]),
|
|
562
569
|
role: e.image ? "img" : "none",
|
|
563
570
|
"aria-label": e.name
|
|
564
571
|
}, [
|
|
@@ -653,7 +660,7 @@ function pn(t, s, e, a, n, i) {
|
|
|
653
660
|
e.dismissable ? (o(), l("button", {
|
|
654
661
|
key: 0,
|
|
655
662
|
onClick: s[0] || (s[0] = (...d) => i.dismiss && i.dismiss(...d)),
|
|
656
|
-
style:
|
|
663
|
+
style: C(i.dismissButtonStyle),
|
|
657
664
|
class: "close",
|
|
658
665
|
"aria-label": "Dismiss"
|
|
659
666
|
}, [
|
|
@@ -665,7 +672,7 @@ function pn(t, s, e, a, n, i) {
|
|
|
665
672
|
], 4)) : u("", !0)
|
|
666
673
|
], 2)) : u("", !0);
|
|
667
674
|
}
|
|
668
|
-
const
|
|
675
|
+
const Lb = /* @__PURE__ */ b(hn, [["render", pn], ["__scopeId", "data-v-c7118217"]]), vn = {
|
|
669
676
|
name: "ecs-breadcrumb",
|
|
670
677
|
props: {
|
|
671
678
|
/** Sets the size of the breadcrumb (default is medium). */
|
|
@@ -689,7 +696,7 @@ function yn(t, s, e, a, n, i) {
|
|
|
689
696
|
h(t.$slots, "default", {}, void 0, !0)
|
|
690
697
|
], 2);
|
|
691
698
|
}
|
|
692
|
-
const
|
|
699
|
+
const Nb = /* @__PURE__ */ b(vn, [["render", yn], ["__scopeId", "data-v-d1ff2486"]]), bn = {
|
|
693
700
|
name: "ecs-breadcrumb-button",
|
|
694
701
|
emits: ["click"],
|
|
695
702
|
components: {
|
|
@@ -747,18 +754,18 @@ function kn(t, s, e, a, n, i) {
|
|
|
747
754
|
k(c)
|
|
748
755
|
], 2);
|
|
749
756
|
}
|
|
750
|
-
const
|
|
757
|
+
const Rb = /* @__PURE__ */ b(bn, [["render", kn], ["__scopeId", "data-v-3ff24c2e"]]), wn = {
|
|
751
758
|
name: "ecs-breadcrumb-title"
|
|
752
759
|
}, Sn = {
|
|
753
760
|
class: "ecs-breadcrumb-title",
|
|
754
761
|
"aria-current": "page"
|
|
755
762
|
};
|
|
756
|
-
function
|
|
763
|
+
function xn(t, s, e, a, n, i) {
|
|
757
764
|
return o(), l("div", Sn, [
|
|
758
765
|
h(t.$slots, "default", {}, void 0, !0)
|
|
759
766
|
]);
|
|
760
767
|
}
|
|
761
|
-
const
|
|
768
|
+
const Db = /* @__PURE__ */ b(wn, [["render", xn], ["__scopeId", "data-v-422cc046"]]), Cn = {
|
|
762
769
|
name: "ecs-flex-row",
|
|
763
770
|
props: {
|
|
764
771
|
/** Determines the flex direction of the row. */
|
|
@@ -808,12 +815,12 @@ const Ab = /* @__PURE__ */ b(wn, [["render", Cn], ["__scopeId", "data-v-422cc046
|
|
|
808
815
|
function Bn(t, s, e, a, n, i) {
|
|
809
816
|
return o(), l("div", {
|
|
810
817
|
class: v(["ecs-flex-row", [i.directionClass, i.justifyClass, i.alignClass, e.wrap ? "ecs-flex-row-wrap" : ""]]),
|
|
811
|
-
style:
|
|
818
|
+
style: C(i.gapStyle)
|
|
812
819
|
}, [
|
|
813
820
|
h(t.$slots, "default", {}, void 0, !0)
|
|
814
821
|
], 6);
|
|
815
822
|
}
|
|
816
|
-
const Ee = /* @__PURE__ */ b(
|
|
823
|
+
const Ee = /* @__PURE__ */ b(Cn, [["render", Bn], ["__scopeId", "data-v-d07e3723"]]);
|
|
817
824
|
var ct = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
818
825
|
function Ut(t) {
|
|
819
826
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
@@ -866,7 +873,7 @@ function Gt(t) {
|
|
|
866
873
|
var s = ge(t).ShadowRoot;
|
|
867
874
|
return t instanceof s || t instanceof ShadowRoot;
|
|
868
875
|
}
|
|
869
|
-
var Ve = Math.max, gt = Math.min,
|
|
876
|
+
var Ve = Math.max, gt = Math.min, Ge = Math.round;
|
|
870
877
|
function Ft() {
|
|
871
878
|
var t = navigator.userAgentData;
|
|
872
879
|
return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(s) {
|
|
@@ -876,10 +883,10 @@ function Ft() {
|
|
|
876
883
|
function ti() {
|
|
877
884
|
return !/^((?!chrome|android).)*safari/i.test(Ft());
|
|
878
885
|
}
|
|
879
|
-
function
|
|
886
|
+
function Ke(t, s, e) {
|
|
880
887
|
s === void 0 && (s = !1), e === void 0 && (e = !1);
|
|
881
888
|
var a = t.getBoundingClientRect(), n = 1, i = 1;
|
|
882
|
-
s && pe(t) && (n = t.offsetWidth > 0 &&
|
|
889
|
+
s && pe(t) && (n = t.offsetWidth > 0 && Ge(a.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && Ge(a.height) / t.offsetHeight || 1);
|
|
883
890
|
var r = He(t) ? ge(t) : window, c = r.visualViewport, d = !ti() && e, f = (a.left + (d && c ? c.offsetLeft : 0)) / n, y = (a.top + (d && c ? c.offsetTop : 0)) / i, _ = a.width / n, I = a.height / i;
|
|
884
891
|
return {
|
|
885
892
|
width: _,
|
|
@@ -918,7 +925,7 @@ function Le(t) {
|
|
|
918
925
|
)) || window.document).documentElement;
|
|
919
926
|
}
|
|
920
927
|
function Yt(t) {
|
|
921
|
-
return
|
|
928
|
+
return Ke(Le(t)).left + Kt(t).scrollLeft;
|
|
922
929
|
}
|
|
923
930
|
function Pe(t) {
|
|
924
931
|
return ge(t).getComputedStyle(t);
|
|
@@ -928,12 +935,12 @@ function Xt(t) {
|
|
|
928
935
|
return /auto|scroll|overlay|hidden/.test(e + n + a);
|
|
929
936
|
}
|
|
930
937
|
function Tn(t) {
|
|
931
|
-
var s = t.getBoundingClientRect(), e =
|
|
938
|
+
var s = t.getBoundingClientRect(), e = Ge(s.width) / t.offsetWidth || 1, a = Ge(s.height) / t.offsetHeight || 1;
|
|
932
939
|
return e !== 1 || a !== 1;
|
|
933
940
|
}
|
|
934
941
|
function Pn(t, s, e) {
|
|
935
942
|
e === void 0 && (e = !1);
|
|
936
|
-
var a = pe(s), n = pe(s) && Tn(s), i = Le(s), r =
|
|
943
|
+
var a = pe(s), n = pe(s) && Tn(s), i = Le(s), r = Ke(t, n, e), c = {
|
|
937
944
|
scrollLeft: 0,
|
|
938
945
|
scrollTop: 0
|
|
939
946
|
}, d = {
|
|
@@ -941,7 +948,7 @@ function Pn(t, s, e) {
|
|
|
941
948
|
y: 0
|
|
942
949
|
};
|
|
943
950
|
return (a || !a && !e) && ((Ie(s) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
944
|
-
Xt(i)) && (c = En(s)), pe(s) ? (d =
|
|
951
|
+
Xt(i)) && (c = En(s)), pe(s) ? (d = Ke(s, !0), d.x += s.clientLeft, d.y += s.clientTop) : i && (d.x = Yt(i))), {
|
|
945
952
|
x: r.left + c.scrollLeft - d.x,
|
|
946
953
|
y: r.top + c.scrollTop - d.y,
|
|
947
954
|
width: r.width,
|
|
@@ -949,7 +956,7 @@ function Pn(t, s, e) {
|
|
|
949
956
|
};
|
|
950
957
|
}
|
|
951
958
|
function Zt(t) {
|
|
952
|
-
var s =
|
|
959
|
+
var s = Ke(t), e = t.offsetWidth, a = t.offsetHeight;
|
|
953
960
|
return Math.abs(s.width - e) <= 1 && (e = s.width), Math.abs(s.height - a) <= 1 && (a = s.height), {
|
|
954
961
|
x: t.offsetLeft,
|
|
955
962
|
y: t.offsetTop,
|
|
@@ -1009,11 +1016,11 @@ function at(t) {
|
|
|
1009
1016
|
e = ys(e);
|
|
1010
1017
|
return e && (Ie(e) === "html" || Ie(e) === "body" && Pe(e).position === "static") ? s : e || On(t) || s;
|
|
1011
1018
|
}
|
|
1012
|
-
var ue = "top",
|
|
1013
|
-
return t.concat([s + "-" +
|
|
1019
|
+
var ue = "top", xe = "bottom", Ce = "right", fe = "left", Jt = "auto", ot = [ue, xe, Ce, fe], Ye = "start", st = "end", An = "clippingParents", ii = "viewport", Ze = "popper", Ln = "reference", bs = /* @__PURE__ */ ot.reduce(function(t, s) {
|
|
1020
|
+
return t.concat([s + "-" + Ye, s + "-" + st]);
|
|
1014
1021
|
}, []), ni = /* @__PURE__ */ [].concat(ot, [Jt]).reduce(function(t, s) {
|
|
1015
|
-
return t.concat([s, s + "-" +
|
|
1016
|
-
}, []), Nn = "beforeRead", Rn = "read",
|
|
1022
|
+
return t.concat([s, s + "-" + Ye, s + "-" + st]);
|
|
1023
|
+
}, []), Nn = "beforeRead", Rn = "read", Dn = "afterRead", $n = "beforeMain", Vn = "main", Hn = "afterMain", Fn = "beforeWrite", qn = "write", Wn = "afterWrite", jn = [Nn, Rn, Dn, $n, Vn, Hn, Fn, qn, Wn];
|
|
1017
1024
|
function Un(t) {
|
|
1018
1025
|
var s = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Set(), a = [];
|
|
1019
1026
|
t.forEach(function(i) {
|
|
@@ -1109,7 +1116,7 @@ function qt(t) {
|
|
|
1109
1116
|
});
|
|
1110
1117
|
}
|
|
1111
1118
|
function Jn(t, s) {
|
|
1112
|
-
var e =
|
|
1119
|
+
var e = Ke(t, !1, s === "fixed");
|
|
1113
1120
|
return e.top = e.top + t.clientTop, e.left = e.left + t.clientLeft, e.bottom = e.top + t.clientHeight, e.right = e.left + t.clientWidth, e.width = t.clientWidth, e.height = t.clientHeight, e.x = e.left, e.y = e.top, e;
|
|
1114
1121
|
}
|
|
1115
1122
|
function _s(t, s, e) {
|
|
@@ -1131,14 +1138,14 @@ function ea(t, s, e, a) {
|
|
|
1131
1138
|
function ze(t) {
|
|
1132
1139
|
return t.split("-")[0];
|
|
1133
1140
|
}
|
|
1134
|
-
function
|
|
1141
|
+
function Xe(t) {
|
|
1135
1142
|
return t.split("-")[1];
|
|
1136
1143
|
}
|
|
1137
1144
|
function Qt(t) {
|
|
1138
1145
|
return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
|
|
1139
1146
|
}
|
|
1140
1147
|
function oi(t) {
|
|
1141
|
-
var s = t.reference, e = t.element, a = t.placement, n = a ? ze(a) : null, i = a ?
|
|
1148
|
+
var s = t.reference, e = t.element, a = t.placement, n = a ? ze(a) : null, i = a ? Xe(a) : null, r = s.x + s.width / 2 - e.width / 2, c = s.y + s.height / 2 - e.height / 2, d;
|
|
1142
1149
|
switch (n) {
|
|
1143
1150
|
case ue:
|
|
1144
1151
|
d = {
|
|
@@ -1146,7 +1153,7 @@ function oi(t) {
|
|
|
1146
1153
|
y: s.y - e.height
|
|
1147
1154
|
};
|
|
1148
1155
|
break;
|
|
1149
|
-
case
|
|
1156
|
+
case xe:
|
|
1150
1157
|
d = {
|
|
1151
1158
|
x: r,
|
|
1152
1159
|
y: s.y + s.height
|
|
@@ -1174,7 +1181,7 @@ function oi(t) {
|
|
|
1174
1181
|
if (f != null) {
|
|
1175
1182
|
var y = f === "y" ? "height" : "width";
|
|
1176
1183
|
switch (i) {
|
|
1177
|
-
case
|
|
1184
|
+
case Ye:
|
|
1178
1185
|
d[f] = d[f] - (s[y] / 2 - e[y] / 2);
|
|
1179
1186
|
break;
|
|
1180
1187
|
case st:
|
|
@@ -1202,20 +1209,20 @@ function ci(t, s) {
|
|
|
1202
1209
|
}
|
|
1203
1210
|
function es(t, s) {
|
|
1204
1211
|
s === void 0 && (s = {});
|
|
1205
|
-
var e = s, a = e.placement, n = a === void 0 ? t.placement : a, i = e.strategy, r = i === void 0 ? t.strategy : i, c = e.boundary, d = c === void 0 ? An : c, f = e.rootBoundary, y = f === void 0 ? ii : f, _ = e.elementContext, I = _ === void 0 ? Ze : _, z = e.altBoundary,
|
|
1206
|
-
reference:
|
|
1212
|
+
var e = s, a = e.placement, n = a === void 0 ? t.placement : a, i = e.strategy, r = i === void 0 ? t.strategy : i, c = e.boundary, d = c === void 0 ? An : c, f = e.rootBoundary, y = f === void 0 ? ii : f, _ = e.elementContext, I = _ === void 0 ? Ze : _, z = e.altBoundary, x = z === void 0 ? !1 : z, E = e.padding, P = E === void 0 ? 0 : E, T = li(typeof P != "number" ? P : ci(P, ot)), R = I === Ze ? Ln : Ze, F = t.rects.popper, O = t.elements[x ? R : I], D = ea(He(O) ? O : O.contextElement || Le(t.elements.popper), d, y, r), $ = Ke(t.elements.reference), H = oi({
|
|
1213
|
+
reference: $,
|
|
1207
1214
|
element: F,
|
|
1208
1215
|
placement: n
|
|
1209
|
-
}), W = qt(Object.assign({}, F,
|
|
1210
|
-
top:
|
|
1211
|
-
bottom: U.bottom -
|
|
1212
|
-
left:
|
|
1213
|
-
right: U.right -
|
|
1216
|
+
}), W = qt(Object.assign({}, F, H)), U = I === Ze ? W : $, G = {
|
|
1217
|
+
top: D.top - U.top + T.top,
|
|
1218
|
+
bottom: U.bottom - D.bottom + T.bottom,
|
|
1219
|
+
left: D.left - U.left + T.left,
|
|
1220
|
+
right: U.right - D.right + T.right
|
|
1214
1221
|
}, X = t.modifiersData.offset;
|
|
1215
1222
|
if (I === Ze && X) {
|
|
1216
1223
|
var Z = X[n];
|
|
1217
1224
|
Object.keys(G).forEach(function(L) {
|
|
1218
|
-
var J = [Ce,
|
|
1225
|
+
var J = [Ce, xe].indexOf(L) >= 0 ? 1 : -1, te = [ue, xe].indexOf(L) >= 0 ? "y" : "x";
|
|
1219
1226
|
G[L] += Z[te] * J;
|
|
1220
1227
|
});
|
|
1221
1228
|
}
|
|
@@ -1260,7 +1267,7 @@ function ta(t) {
|
|
|
1260
1267
|
var F = Gn(Yn([].concat(a, y.options.modifiers)));
|
|
1261
1268
|
return y.orderedModifiers = F.filter(function(O) {
|
|
1262
1269
|
return O.enabled;
|
|
1263
|
-
}),
|
|
1270
|
+
}), x(), z.update();
|
|
1264
1271
|
},
|
|
1265
1272
|
// Sync update – it will always be executed, even if not necessary. This
|
|
1266
1273
|
// is useful for low frequency updates where sync behavior simplifies the
|
|
@@ -1282,8 +1289,8 @@ function ta(t) {
|
|
|
1282
1289
|
y.reset = !1, O = -1;
|
|
1283
1290
|
continue;
|
|
1284
1291
|
}
|
|
1285
|
-
var
|
|
1286
|
-
typeof
|
|
1292
|
+
var D = y.orderedModifiers[O], $ = D.fn, H = D.options, W = H === void 0 ? {} : H, U = D.name;
|
|
1293
|
+
typeof $ == "function" && (y = $({
|
|
1287
1294
|
state: y,
|
|
1288
1295
|
options: W,
|
|
1289
1296
|
name: U,
|
|
@@ -1309,18 +1316,18 @@ function ta(t) {
|
|
|
1309
1316
|
z.setOptions(f).then(function(P) {
|
|
1310
1317
|
!I && f.onFirstUpdate && f.onFirstUpdate(P);
|
|
1311
1318
|
});
|
|
1312
|
-
function
|
|
1319
|
+
function x() {
|
|
1313
1320
|
y.orderedModifiers.forEach(function(P) {
|
|
1314
1321
|
var T = P.name, R = P.options, F = R === void 0 ? {} : R, O = P.effect;
|
|
1315
1322
|
if (typeof O == "function") {
|
|
1316
|
-
var
|
|
1323
|
+
var D = O({
|
|
1317
1324
|
state: y,
|
|
1318
1325
|
name: T,
|
|
1319
1326
|
instance: z,
|
|
1320
1327
|
options: F
|
|
1321
|
-
}),
|
|
1328
|
+
}), $ = function() {
|
|
1322
1329
|
};
|
|
1323
|
-
_.push(
|
|
1330
|
+
_.push(D || $);
|
|
1324
1331
|
}
|
|
1325
1332
|
});
|
|
1326
1333
|
}
|
|
@@ -1378,12 +1385,12 @@ var oa = {
|
|
|
1378
1385
|
function ra(t, s) {
|
|
1379
1386
|
var e = t.x, a = t.y, n = s.devicePixelRatio || 1;
|
|
1380
1387
|
return {
|
|
1381
|
-
x:
|
|
1382
|
-
y:
|
|
1388
|
+
x: Ge(e * n) / n || 0,
|
|
1389
|
+
y: Ge(a * n) / n || 0
|
|
1383
1390
|
};
|
|
1384
1391
|
}
|
|
1385
1392
|
function Ss(t) {
|
|
1386
|
-
var s, e = t.popper, a = t.popperRect, n = t.placement, i = t.variation, r = t.offsets, c = t.position, d = t.gpuAcceleration, f = t.adaptive, y = t.roundOffsets, _ = t.isFixed, I = r.x, z = I === void 0 ? 0 : I,
|
|
1393
|
+
var s, e = t.popper, a = t.popperRect, n = t.placement, i = t.variation, r = t.offsets, c = t.position, d = t.gpuAcceleration, f = t.adaptive, y = t.roundOffsets, _ = t.isFixed, I = r.x, z = I === void 0 ? 0 : I, x = r.y, E = x === void 0 ? 0 : x, P = typeof y == "function" ? y({
|
|
1387
1394
|
x: z,
|
|
1388
1395
|
y: E
|
|
1389
1396
|
}) : {
|
|
@@ -1391,22 +1398,22 @@ function Ss(t) {
|
|
|
1391
1398
|
y: E
|
|
1392
1399
|
};
|
|
1393
1400
|
z = P.x, E = P.y;
|
|
1394
|
-
var T = r.hasOwnProperty("x"), R = r.hasOwnProperty("y"), F = fe, O = ue,
|
|
1401
|
+
var T = r.hasOwnProperty("x"), R = r.hasOwnProperty("y"), F = fe, O = ue, D = window;
|
|
1395
1402
|
if (f) {
|
|
1396
|
-
var
|
|
1397
|
-
if (
|
|
1398
|
-
O =
|
|
1399
|
-
var U = _ &&
|
|
1403
|
+
var $ = at(e), H = "clientHeight", W = "clientWidth";
|
|
1404
|
+
if ($ === ge(e) && ($ = Le(e), Pe($).position !== "static" && c === "absolute" && (H = "scrollHeight", W = "scrollWidth")), $ = $, n === ue || (n === fe || n === Ce) && i === st) {
|
|
1405
|
+
O = xe;
|
|
1406
|
+
var U = _ && $ === D && D.visualViewport ? D.visualViewport.height : (
|
|
1400
1407
|
// $FlowFixMe[prop-missing]
|
|
1401
|
-
|
|
1408
|
+
$[H]
|
|
1402
1409
|
);
|
|
1403
1410
|
E -= U - a.height, E *= d ? 1 : -1;
|
|
1404
1411
|
}
|
|
1405
|
-
if (n === fe || (n === ue || n ===
|
|
1412
|
+
if (n === fe || (n === ue || n === xe) && i === st) {
|
|
1406
1413
|
F = Ce;
|
|
1407
|
-
var G = _ &&
|
|
1414
|
+
var G = _ && $ === D && D.visualViewport ? D.visualViewport.width : (
|
|
1408
1415
|
// $FlowFixMe[prop-missing]
|
|
1409
|
-
|
|
1416
|
+
$[W]
|
|
1410
1417
|
);
|
|
1411
1418
|
z -= G - a.width, z *= d ? 1 : -1;
|
|
1412
1419
|
}
|
|
@@ -1422,14 +1429,14 @@ function Ss(t) {
|
|
|
1422
1429
|
};
|
|
1423
1430
|
if (z = Z.x, E = Z.y, d) {
|
|
1424
1431
|
var L;
|
|
1425
|
-
return Object.assign({}, X, (L = {}, L[O] = R ? "0" : "", L[F] = T ? "0" : "", L.transform = (
|
|
1432
|
+
return Object.assign({}, X, (L = {}, L[O] = R ? "0" : "", L[F] = T ? "0" : "", L.transform = (D.devicePixelRatio || 1) <= 1 ? "translate(" + z + "px, " + E + "px)" : "translate3d(" + z + "px, " + E + "px, 0)", L));
|
|
1426
1433
|
}
|
|
1427
1434
|
return Object.assign({}, X, (s = {}, s[O] = R ? E + "px" : "", s[F] = T ? z + "px" : "", s.transform = "", s));
|
|
1428
1435
|
}
|
|
1429
1436
|
function la(t) {
|
|
1430
1437
|
var s = t.state, e = t.options, a = e.gpuAcceleration, n = a === void 0 ? !0 : a, i = e.adaptive, r = i === void 0 ? !0 : i, c = e.roundOffsets, d = c === void 0 ? !0 : c, f = {
|
|
1431
1438
|
placement: ze(s.placement),
|
|
1432
|
-
variation:
|
|
1439
|
+
variation: Xe(s.placement),
|
|
1433
1440
|
popper: s.elements.popper,
|
|
1434
1441
|
popperRect: s.rects.popper,
|
|
1435
1442
|
gpuAcceleration: n,
|
|
@@ -1512,12 +1519,12 @@ function pa(t, s, e) {
|
|
|
1512
1519
|
return a > e ? e : a;
|
|
1513
1520
|
}
|
|
1514
1521
|
function va(t) {
|
|
1515
|
-
var s = t.state, e = t.options, a = t.name, n = e.mainAxis, i = n === void 0 ? !0 : n, r = e.altAxis, c = r === void 0 ? !1 : r, d = e.boundary, f = e.rootBoundary, y = e.altBoundary, _ = e.padding, I = e.tether, z = I === void 0 ? !0 : I,
|
|
1522
|
+
var s = t.state, e = t.options, a = t.name, n = e.mainAxis, i = n === void 0 ? !0 : n, r = e.altAxis, c = r === void 0 ? !1 : r, d = e.boundary, f = e.rootBoundary, y = e.altBoundary, _ = e.padding, I = e.tether, z = I === void 0 ? !0 : I, x = e.tetherOffset, E = x === void 0 ? 0 : x, P = es(s, {
|
|
1516
1523
|
boundary: d,
|
|
1517
1524
|
rootBoundary: f,
|
|
1518
1525
|
padding: _,
|
|
1519
1526
|
altBoundary: y
|
|
1520
|
-
}), T = ze(s.placement), R =
|
|
1527
|
+
}), T = ze(s.placement), R = Xe(s.placement), F = !R, O = Qt(T), D = ha(O), $ = s.modifiersData.popperOffsets, H = s.rects.reference, W = s.rects.popper, U = typeof E == "function" ? E(Object.assign({}, s.rects, {
|
|
1521
1528
|
placement: s.placement
|
|
1522
1529
|
})) : E, G = typeof U == "number" ? {
|
|
1523
1530
|
mainAxis: U,
|
|
@@ -1529,17 +1536,17 @@ function va(t) {
|
|
|
1529
1536
|
x: 0,
|
|
1530
1537
|
y: 0
|
|
1531
1538
|
};
|
|
1532
|
-
if (
|
|
1539
|
+
if ($) {
|
|
1533
1540
|
if (i) {
|
|
1534
|
-
var L, J = O === "y" ? ue : fe, te = O === "y" ?
|
|
1541
|
+
var L, J = O === "y" ? ue : fe, te = O === "y" ? xe : Ce, ee = O === "y" ? "height" : "width", oe = $[O], je = oe + P[J], _e = oe - P[te], Me = z ? -W[ee] / 2 : 0, Ne = R === Ye ? H[ee] : W[ee], re = R === Ye ? -W[ee] : -H[ee], Ue = s.elements.arrow, Oe = z && Ue ? Zt(Ue) : {
|
|
1535
1542
|
width: 0,
|
|
1536
1543
|
height: 0
|
|
1537
|
-
},
|
|
1538
|
-
|
|
1544
|
+
}, ke = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : ri(), q = ke[J], K = ke[te], le = tt(0, H[ee], Oe[ee]), Re = F ? H[ee] / 2 - Me - le - q - G.mainAxis : Ne - le - q - G.mainAxis, xi = F ? -H[ee] / 2 + Me + le + K + G.mainAxis : re + le + K + G.mainAxis, bt = s.elements.arrow && at(s.elements.arrow), Ci = bt ? O === "y" ? bt.clientTop || 0 : bt.clientLeft || 0 : 0, ls = (L = X == null ? void 0 : X[O]) != null ? L : 0, Bi = oe + Re - ls - Ci, zi = oe + xi - ls, cs = tt(z ? gt(je, Bi) : je, oe, z ? Ve(_e, zi) : _e);
|
|
1545
|
+
$[O] = cs, Z[O] = cs - oe;
|
|
1539
1546
|
}
|
|
1540
1547
|
if (c) {
|
|
1541
|
-
var ds, Ii = O === "x" ? ue : fe, Ei = O === "x" ?
|
|
1542
|
-
D
|
|
1548
|
+
var ds, Ii = O === "x" ? ue : fe, Ei = O === "x" ? xe : Ce, De = $[D], rt = D === "y" ? "height" : "width", us = De + P[Ii], fs = De - P[Ei], _t = [ue, fe].indexOf(T) !== -1, gs = (ds = X == null ? void 0 : X[D]) != null ? ds : 0, ms = _t ? us : De - H[rt] - W[rt] - gs + G.altAxis, hs = _t ? De + H[rt] + W[rt] - gs - G.altAxis : fs, ps = z && _t ? pa(ms, De, hs) : tt(z ? ms : us, De, z ? hs : fs);
|
|
1549
|
+
$[D] = ps, Z[D] = ps - De;
|
|
1543
1550
|
}
|
|
1544
1551
|
s.modifiersData[a] = Z;
|
|
1545
1552
|
}
|
|
@@ -1566,86 +1573,86 @@ var _a = {
|
|
|
1566
1573
|
start: "end",
|
|
1567
1574
|
end: "start"
|
|
1568
1575
|
};
|
|
1569
|
-
function
|
|
1576
|
+
function xs(t) {
|
|
1570
1577
|
return t.replace(/start|end/g, function(s) {
|
|
1571
1578
|
return _a[s];
|
|
1572
1579
|
});
|
|
1573
1580
|
}
|
|
1574
1581
|
function ka(t, s) {
|
|
1575
1582
|
s === void 0 && (s = {});
|
|
1576
|
-
var e = s, a = e.placement, n = e.boundary, i = e.rootBoundary, r = e.padding, c = e.flipVariations, d = e.allowedAutoPlacements, f = d === void 0 ? ni : d, y =
|
|
1577
|
-
return
|
|
1578
|
-
}) : ot, I = _.filter(function(
|
|
1579
|
-
return f.indexOf(
|
|
1583
|
+
var e = s, a = e.placement, n = e.boundary, i = e.rootBoundary, r = e.padding, c = e.flipVariations, d = e.allowedAutoPlacements, f = d === void 0 ? ni : d, y = Xe(a), _ = y ? c ? bs : bs.filter(function(x) {
|
|
1584
|
+
return Xe(x) === y;
|
|
1585
|
+
}) : ot, I = _.filter(function(x) {
|
|
1586
|
+
return f.indexOf(x) >= 0;
|
|
1580
1587
|
});
|
|
1581
1588
|
I.length === 0 && (I = _);
|
|
1582
|
-
var z = I.reduce(function(
|
|
1583
|
-
return
|
|
1589
|
+
var z = I.reduce(function(x, E) {
|
|
1590
|
+
return x[E] = es(t, {
|
|
1584
1591
|
placement: E,
|
|
1585
1592
|
boundary: n,
|
|
1586
1593
|
rootBoundary: i,
|
|
1587
1594
|
padding: r
|
|
1588
|
-
})[ze(E)],
|
|
1595
|
+
})[ze(E)], x;
|
|
1589
1596
|
}, {});
|
|
1590
|
-
return Object.keys(z).sort(function(
|
|
1591
|
-
return z[
|
|
1597
|
+
return Object.keys(z).sort(function(x, E) {
|
|
1598
|
+
return z[x] - z[E];
|
|
1592
1599
|
});
|
|
1593
1600
|
}
|
|
1594
1601
|
function wa(t) {
|
|
1595
1602
|
if (ze(t) === Jt)
|
|
1596
1603
|
return [];
|
|
1597
1604
|
var s = ft(t);
|
|
1598
|
-
return [
|
|
1605
|
+
return [xs(t), s, xs(s)];
|
|
1599
1606
|
}
|
|
1600
1607
|
function Sa(t) {
|
|
1601
1608
|
var s = t.state, e = t.options, a = t.name;
|
|
1602
1609
|
if (!s.modifiersData[a]._skip) {
|
|
1603
|
-
for (var n = e.mainAxis, i = n === void 0 ? !0 : n, r = e.altAxis, c = r === void 0 ? !0 : r, d = e.fallbackPlacements, f = e.padding, y = e.boundary, _ = e.rootBoundary, I = e.altBoundary, z = e.flipVariations,
|
|
1604
|
-
return Oe.concat(ze(
|
|
1605
|
-
placement:
|
|
1610
|
+
for (var n = e.mainAxis, i = n === void 0 ? !0 : n, r = e.altAxis, c = r === void 0 ? !0 : r, d = e.fallbackPlacements, f = e.padding, y = e.boundary, _ = e.rootBoundary, I = e.altBoundary, z = e.flipVariations, x = z === void 0 ? !0 : z, E = e.allowedAutoPlacements, P = s.options.placement, T = ze(P), R = T === P, F = d || (R || !x ? [ft(P)] : wa(P)), O = [P].concat(F).reduce(function(Oe, ke) {
|
|
1611
|
+
return Oe.concat(ze(ke) === Jt ? ka(s, {
|
|
1612
|
+
placement: ke,
|
|
1606
1613
|
boundary: y,
|
|
1607
1614
|
rootBoundary: _,
|
|
1608
1615
|
padding: f,
|
|
1609
|
-
flipVariations:
|
|
1616
|
+
flipVariations: x,
|
|
1610
1617
|
allowedAutoPlacements: E
|
|
1611
|
-
}) :
|
|
1612
|
-
}, []),
|
|
1613
|
-
var X = O[G], Z = ze(X), L =
|
|
1618
|
+
}) : ke);
|
|
1619
|
+
}, []), D = s.rects.reference, $ = s.rects.popper, H = /* @__PURE__ */ new Map(), W = !0, U = O[0], G = 0; G < O.length; G++) {
|
|
1620
|
+
var X = O[G], Z = ze(X), L = Xe(X) === Ye, J = [ue, xe].indexOf(Z) >= 0, te = J ? "width" : "height", ee = es(s, {
|
|
1614
1621
|
placement: X,
|
|
1615
1622
|
boundary: y,
|
|
1616
1623
|
rootBoundary: _,
|
|
1617
1624
|
altBoundary: I,
|
|
1618
1625
|
padding: f
|
|
1619
|
-
}), oe = J ? L ? Ce : fe : L ?
|
|
1620
|
-
|
|
1621
|
-
var
|
|
1622
|
-
if (i &&
|
|
1626
|
+
}), oe = J ? L ? Ce : fe : L ? xe : ue;
|
|
1627
|
+
D[te] > $[te] && (oe = ft(oe));
|
|
1628
|
+
var je = ft(oe), _e = [];
|
|
1629
|
+
if (i && _e.push(ee[Z] <= 0), c && _e.push(ee[oe] <= 0, ee[je] <= 0), _e.every(function(Oe) {
|
|
1623
1630
|
return Oe;
|
|
1624
1631
|
})) {
|
|
1625
1632
|
U = X, W = !1;
|
|
1626
1633
|
break;
|
|
1627
1634
|
}
|
|
1628
|
-
|
|
1635
|
+
H.set(X, _e);
|
|
1629
1636
|
}
|
|
1630
1637
|
if (W)
|
|
1631
|
-
for (var Me =
|
|
1638
|
+
for (var Me = x ? 3 : 1, Ne = function(ke) {
|
|
1632
1639
|
var q = O.find(function(K) {
|
|
1633
|
-
var le =
|
|
1640
|
+
var le = H.get(K);
|
|
1634
1641
|
if (le)
|
|
1635
|
-
return le.slice(0,
|
|
1642
|
+
return le.slice(0, ke).every(function(Re) {
|
|
1636
1643
|
return Re;
|
|
1637
1644
|
});
|
|
1638
1645
|
});
|
|
1639
1646
|
if (q)
|
|
1640
1647
|
return U = q, "break";
|
|
1641
1648
|
}, re = Me; re > 0; re--) {
|
|
1642
|
-
var
|
|
1643
|
-
if (
|
|
1649
|
+
var Ue = Ne(re);
|
|
1650
|
+
if (Ue === "break") break;
|
|
1644
1651
|
}
|
|
1645
1652
|
s.placement !== U && (s.modifiersData[a]._skip = !0, s.placement = U, s.reset = !0);
|
|
1646
1653
|
}
|
|
1647
1654
|
}
|
|
1648
|
-
const
|
|
1655
|
+
const xa = {
|
|
1649
1656
|
name: "flip",
|
|
1650
1657
|
enabled: !0,
|
|
1651
1658
|
phase: "main",
|
|
@@ -1655,7 +1662,7 @@ const Ca = {
|
|
|
1655
1662
|
_skip: !1
|
|
1656
1663
|
}
|
|
1657
1664
|
};
|
|
1658
|
-
function
|
|
1665
|
+
function Ca(t, s, e) {
|
|
1659
1666
|
var a = ze(t), n = [fe, ue].indexOf(a) >= 0 ? -1 : 1, i = typeof e == "function" ? e(Object.assign({}, s, {
|
|
1660
1667
|
placement: t
|
|
1661
1668
|
})) : e, r = i[0], c = i[1];
|
|
@@ -1669,7 +1676,7 @@ function xa(t, s, e) {
|
|
|
1669
1676
|
}
|
|
1670
1677
|
function Ba(t) {
|
|
1671
1678
|
var s = t.state, e = t.options, a = t.name, n = e.offset, i = n === void 0 ? [0, 0] : n, r = ni.reduce(function(y, _) {
|
|
1672
|
-
return y[_] =
|
|
1679
|
+
return y[_] = Ca(_, s.rects, i), y;
|
|
1673
1680
|
}, {}), c = r[s.placement], d = c.x, f = c.y;
|
|
1674
1681
|
s.modifiersData.popperOffsets != null && (s.modifiersData.popperOffsets.x += d, s.modifiersData.popperOffsets.y += f), s.modifiersData[a] = r;
|
|
1675
1682
|
}
|
|
@@ -1688,8 +1695,8 @@ var Ia = function(s, e) {
|
|
|
1688
1695
|
function Ea(t) {
|
|
1689
1696
|
var s, e = t.state, a = t.name, n = t.options, i = e.elements.arrow, r = e.modifiersData.popperOffsets, c = ze(e.placement), d = Qt(c), f = [fe, Ce].indexOf(c) >= 0, y = f ? "height" : "width";
|
|
1690
1697
|
if (!(!i || !r)) {
|
|
1691
|
-
var _ = Ia(n.padding, e), I = Zt(i), z = d === "y" ? ue : fe,
|
|
1692
|
-
e.modifiersData[a] = (s = {}, s[W] =
|
|
1698
|
+
var _ = Ia(n.padding, e), I = Zt(i), z = d === "y" ? ue : fe, x = d === "y" ? xe : Ce, E = e.rects.reference[y] + e.rects.reference[d] - r[d] - e.rects.popper[y], P = r[d] - e.rects.reference[d], T = at(i), R = T ? d === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, F = E / 2 - P / 2, O = _[z], D = R - I[y] - _[x], $ = R / 2 - I[y] / 2 + F, H = tt(O, $, D), W = d;
|
|
1699
|
+
e.modifiersData[a] = (s = {}, s[W] = H, s.centerOffset = H - $, s);
|
|
1693
1700
|
}
|
|
1694
1701
|
}
|
|
1695
1702
|
function Ta(t) {
|
|
@@ -1730,14 +1737,14 @@ function Ma({
|
|
|
1730
1737
|
d.isOpen || (d.isOpen = !0, s("open:popper"));
|
|
1731
1738
|
};
|
|
1732
1739
|
he([() => d.isOpen, i], async ([E]) => {
|
|
1733
|
-
E ? (await
|
|
1740
|
+
E ? (await x(), y()) : _();
|
|
1734
1741
|
});
|
|
1735
|
-
const
|
|
1742
|
+
const x = async () => {
|
|
1736
1743
|
await Pi(), d.popperInstance = ma(c.value, r.value, {
|
|
1737
1744
|
placement: i.value,
|
|
1738
1745
|
modifiers: [
|
|
1739
1746
|
ya,
|
|
1740
|
-
|
|
1747
|
+
xa,
|
|
1741
1748
|
{
|
|
1742
1749
|
name: "flip",
|
|
1743
1750
|
enabled: !e.value
|
|
@@ -1792,7 +1799,7 @@ const La = {}, Na = {
|
|
|
1792
1799
|
function Ra(t, s) {
|
|
1793
1800
|
return o(), l("div", Na);
|
|
1794
1801
|
}
|
|
1795
|
-
const
|
|
1802
|
+
const Da = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19"]]), $a = ["aria-open"], Va = {
|
|
1796
1803
|
__name: "Popper",
|
|
1797
1804
|
props: {
|
|
1798
1805
|
/**
|
|
@@ -1931,7 +1938,7 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
1931
1938
|
setup(t, { expose: s, emit: e }) {
|
|
1932
1939
|
const a = e, n = Oi(), i = t;
|
|
1933
1940
|
let r = null;
|
|
1934
|
-
const c = "ecs-popover-" + parseInt(Math.ceil(Math.random() * Date.now()).toPrecision(16).toString().replace(".", "")), d =
|
|
1941
|
+
const c = "ecs-popover-" + parseInt(Math.ceil(Math.random() * Date.now()).toPrecision(16).toString().replace(".", "")), d = $e(!1), f = $e(null), y = $e(null), _ = $e(!1), I = $e(!1), z = $e([]), x = $e(!0), E = () => {
|
|
1935
1942
|
n.content ? I.value = !0 : I.value = !1;
|
|
1936
1943
|
};
|
|
1937
1944
|
Zs(() => {
|
|
@@ -1940,7 +1947,7 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
1940
1947
|
return console.error(
|
|
1941
1948
|
`[Popper]: The <Popper> component expects only one child element at its root. You passed ${q.length} child nodes.`
|
|
1942
1949
|
);
|
|
1943
|
-
(n.content !== void 0 || R.value) && (I.value = !0), r = new MutationObserver(E), document.addEventListener("keydown",
|
|
1950
|
+
(n.content !== void 0 || R.value) && (I.value = !0), r = new MutationObserver(E), document.addEventListener("keydown", ke);
|
|
1944
1951
|
});
|
|
1945
1952
|
const {
|
|
1946
1953
|
arrowPadding: P,
|
|
@@ -1948,9 +1955,9 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
1948
1955
|
content: R,
|
|
1949
1956
|
disableClickAway: F,
|
|
1950
1957
|
disabled: O,
|
|
1951
|
-
interactive:
|
|
1952
|
-
locked:
|
|
1953
|
-
offsetDistance:
|
|
1958
|
+
interactive: D,
|
|
1959
|
+
locked: $,
|
|
1960
|
+
offsetDistance: H,
|
|
1954
1961
|
offsetSkid: W,
|
|
1955
1962
|
openDelay: U,
|
|
1956
1963
|
placement: G,
|
|
@@ -1958,23 +1965,23 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
1958
1965
|
} = Xs(i), { isOpen: Z, open: L, close: J } = Ma({
|
|
1959
1966
|
arrowPadding: P,
|
|
1960
1967
|
emit: a,
|
|
1961
|
-
locked:
|
|
1962
|
-
offsetDistance:
|
|
1968
|
+
locked: $,
|
|
1969
|
+
offsetDistance: H,
|
|
1963
1970
|
offsetSkid: W,
|
|
1964
1971
|
placement: G,
|
|
1965
1972
|
popperNode: f,
|
|
1966
1973
|
triggerNode: y
|
|
1967
|
-
}), te = Be(() => X.value !== null), ee = Be(() => O.value || !I.value), oe = Be(() => Z.value && !ee.value),
|
|
1974
|
+
}), te = Be(() => X.value !== null), ee = Be(() => O.value || !I.value), oe = Be(() => Z.value && !ee.value), je = Be(
|
|
1968
1975
|
() => !F.value && !te.value
|
|
1969
1976
|
);
|
|
1970
1977
|
Be(
|
|
1971
|
-
() =>
|
|
1978
|
+
() => D.value ? `border: ${H.value}px solid transparent; margin: -${H.value}px;` : null
|
|
1972
1979
|
);
|
|
1973
|
-
const
|
|
1974
|
-
ee.value || te.value || (Me.clear(), d.value = !0,
|
|
1980
|
+
const _e = wt.debounce(L, U.value), Me = wt.debounce(J, T.value), Ne = async () => {
|
|
1981
|
+
ee.value || te.value || (Me.clear(), d.value = !0, _e());
|
|
1975
1982
|
}, re = async () => {
|
|
1976
|
-
te.value || (
|
|
1977
|
-
},
|
|
1983
|
+
te.value || (_e.clear(), d.value = !1, Me());
|
|
1984
|
+
}, Ue = () => {
|
|
1978
1985
|
Z.value ? re() : Ne();
|
|
1979
1986
|
};
|
|
1980
1987
|
he([I, O], ([q, K]) => {
|
|
@@ -1984,9 +1991,9 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
1984
1991
|
_.value = !1;
|
|
1985
1992
|
}, 200);
|
|
1986
1993
|
}), lt(() => {
|
|
1987
|
-
te.value && (X.value ?
|
|
1994
|
+
te.value && (X.value ? _e() : Me());
|
|
1988
1995
|
}), lt(() => {
|
|
1989
|
-
|
|
1996
|
+
je.value && Aa(f, re);
|
|
1990
1997
|
}), he(R, (q) => {
|
|
1991
1998
|
q ? I.value = !0 : I.value = !1;
|
|
1992
1999
|
}), lt(() => {
|
|
@@ -1995,13 +2002,13 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
1995
2002
|
subtree: !0
|
|
1996
2003
|
});
|
|
1997
2004
|
}), jt(() => {
|
|
1998
|
-
r.disconnect(), document.removeEventListener("keydown",
|
|
2005
|
+
r.disconnect(), document.removeEventListener("keydown", ke);
|
|
1999
2006
|
}), s({ closePopper: re });
|
|
2000
2007
|
const Oe = () => {
|
|
2001
2008
|
f.value && (z.value = f.value.querySelectorAll(
|
|
2002
2009
|
'a[href], button, textarea, input, select, [tabindex]:not([tabindex="-1"])'
|
|
2003
2010
|
));
|
|
2004
|
-
},
|
|
2011
|
+
}, ke = (q) => {
|
|
2005
2012
|
if (!d.value) return;
|
|
2006
2013
|
const K = Array.from(z.value), le = K.indexOf(document.activeElement);
|
|
2007
2014
|
if (q.key === "ArrowDown") {
|
|
@@ -2012,10 +2019,10 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
2012
2019
|
q.preventDefault();
|
|
2013
2020
|
const Re = (le - 1 + K.length) % K.length;
|
|
2014
2021
|
K[Re].focus();
|
|
2015
|
-
} else q.key === "Escape" ? (q.preventDefault(), re()) : q.key === "Tab" &&
|
|
2022
|
+
} else q.key === "Escape" ? (q.preventDefault(), re()) : q.key === "Tab" && x.value && (q.preventDefault(), x.value = !1, K.length > 0 && K[0].focus());
|
|
2016
2023
|
};
|
|
2017
2024
|
return lt(() => {
|
|
2018
|
-
d.value && (Oe(),
|
|
2025
|
+
d.value && (Oe(), x.value = !0, z.value.length > 0 && z.value[0].focus());
|
|
2019
2026
|
}), (q, K) => (o(), l("div", {
|
|
2020
2027
|
class: "ecs-popover-root",
|
|
2021
2028
|
onMouseleave: K[2] || (K[2] = (le) => t.hover && re())
|
|
@@ -2024,7 +2031,7 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
2024
2031
|
ref_key: "triggerNode",
|
|
2025
2032
|
ref: y,
|
|
2026
2033
|
onMouseover: K[0] || (K[0] = (le) => t.hover && Ne()),
|
|
2027
|
-
onClick:
|
|
2034
|
+
onClick: Ue,
|
|
2028
2035
|
onFocus: Ne,
|
|
2029
2036
|
onKeyup: Q(re, ["esc"]),
|
|
2030
2037
|
"aria-describedby": c,
|
|
@@ -2032,13 +2039,13 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
2032
2039
|
class: "ecs-popover-trigger"
|
|
2033
2040
|
}, [
|
|
2034
2041
|
h(q.$slots, "default", {}, void 0, !0)
|
|
2035
|
-
], 40,
|
|
2042
|
+
], 40, $a),
|
|
2036
2043
|
(o(), p(Ai, { to: "body" }, [
|
|
2037
2044
|
k(ye, { name: "fade" }, {
|
|
2038
2045
|
default: S(() => [
|
|
2039
2046
|
t.persistent || d.value ? Fe((o(), l("div", {
|
|
2040
2047
|
key: 0,
|
|
2041
|
-
onClick: K[1] || (K[1] = (le) => !de(
|
|
2048
|
+
onClick: K[1] || (K[1] = (le) => !de(D) && re()),
|
|
2042
2049
|
class: "ecs-popover popper",
|
|
2043
2050
|
ref_key: "popperNode",
|
|
2044
2051
|
ref: f,
|
|
@@ -2051,7 +2058,7 @@ const $a = /* @__PURE__ */ b(La, [["render", Ra], ["__scopeId", "data-v-b4b01b19
|
|
|
2051
2058
|
}, () => [
|
|
2052
2059
|
A(w(de(R)), 1)
|
|
2053
2060
|
], !0),
|
|
2054
|
-
t.arrow ? (o(), p(
|
|
2061
|
+
t.arrow ? (o(), p(Da, { key: 0 })) : u("", !0)
|
|
2055
2062
|
], 512)), [
|
|
2056
2063
|
[it, oe.value]
|
|
2057
2064
|
]) : u("", !0)
|
|
@@ -2420,12 +2427,12 @@ function Za(t, s, e, a, n, i) {
|
|
|
2420
2427
|
key: 0,
|
|
2421
2428
|
onClick: i.handleClick,
|
|
2422
2429
|
as: "button",
|
|
2423
|
-
style:
|
|
2430
|
+
style: C(i.clickablePadding)
|
|
2424
2431
|
}, {
|
|
2425
2432
|
default: S(() => [
|
|
2426
2433
|
(o(), p(ve(i.textTag), {
|
|
2427
2434
|
class: v([[i.typeScaleClass, i.weightClass, i.alignClass, e.preset, i.fontClass], "ecs-text"]),
|
|
2428
|
-
style:
|
|
2435
|
+
style: C([i.colorStyle, i.fontSizeStyle])
|
|
2429
2436
|
}, {
|
|
2430
2437
|
default: S(() => [
|
|
2431
2438
|
h(t.$slots, "default", {}, void 0, !0)
|
|
@@ -2437,7 +2444,7 @@ function Za(t, s, e, a, n, i) {
|
|
|
2437
2444
|
}, 8, ["onClick", "style"])) : (o(), p(ve(i.textTag), {
|
|
2438
2445
|
key: 1,
|
|
2439
2446
|
class: v([[i.typeScaleClass, i.weightClass, i.alignClass, e.preset, i.fontClass], "ecs-text"]),
|
|
2440
|
-
style:
|
|
2447
|
+
style: C([i.colorStyle, i.fontSizeStyle])
|
|
2441
2448
|
}, {
|
|
2442
2449
|
default: S(() => [
|
|
2443
2450
|
h(t.$slots, "default", {}, void 0, !0)
|
|
@@ -2445,7 +2452,7 @@ function Za(t, s, e, a, n, i) {
|
|
|
2445
2452
|
_: 3
|
|
2446
2453
|
}, 8, ["class", "style"]));
|
|
2447
2454
|
}
|
|
2448
|
-
const
|
|
2455
|
+
const We = /* @__PURE__ */ b(Xa, [["render", Za], ["__scopeId", "data-v-fdaf701d"]]), me = {
|
|
2449
2456
|
data() {
|
|
2450
2457
|
return {
|
|
2451
2458
|
uniqueId: ""
|
|
@@ -2463,7 +2470,7 @@ const Xe = /* @__PURE__ */ b(Xa, [["render", Za], ["__scopeId", "data-v-fdaf701d
|
|
|
2463
2470
|
}, Ja = {
|
|
2464
2471
|
name: "ecs-checkbox",
|
|
2465
2472
|
emits: ["input", "shiftClick"],
|
|
2466
|
-
components: { EcsFormCheck: ss, EcsTextV2:
|
|
2473
|
+
components: { EcsFormCheck: ss, EcsTextV2: We },
|
|
2467
2474
|
mixins: [me],
|
|
2468
2475
|
props: {
|
|
2469
2476
|
/** Name attribute of the input. */
|
|
@@ -2605,7 +2612,7 @@ function to(t, s, e, a, n, i) {
|
|
|
2605
2612
|
const pt = /* @__PURE__ */ b(Ja, [["render", to], ["__scopeId", "data-v-9e02ab84"]]), so = {
|
|
2606
2613
|
name: "ecs-radiobutton",
|
|
2607
2614
|
emits: ["input", "change"],
|
|
2608
|
-
components: { EcsFormCheck: ss, EcsTextV2:
|
|
2615
|
+
components: { EcsFormCheck: ss, EcsTextV2: We },
|
|
2609
2616
|
mixins: [me],
|
|
2610
2617
|
model: {
|
|
2611
2618
|
prop: "checked",
|
|
@@ -3144,10 +3151,10 @@ function wo(t, s, e, a, n, i) {
|
|
|
3144
3151
|
}, null, 8, ["inset", "danger"])
|
|
3145
3152
|
], 42, _o));
|
|
3146
3153
|
}
|
|
3147
|
-
const
|
|
3154
|
+
const be = /* @__PURE__ */ b(yo, [["render", wo], ["__scopeId", "data-v-47d42f7e"]]), So = {
|
|
3148
3155
|
name: "ecs-popover-list-item",
|
|
3149
3156
|
emits: ["click", "input", "change", "secondaryClick"],
|
|
3150
|
-
components: { EcsCheckbox: pt, EcsRadiobutton: oo, EcsSwitch: fi, EcsSortbutton: vo, EcsIcon: M, EcsFileIcon: gi, EcsButton:
|
|
3157
|
+
components: { EcsCheckbox: pt, EcsRadiobutton: oo, EcsSwitch: fi, EcsSortbutton: vo, EcsIcon: M, EcsFileIcon: gi, EcsButton: be, EcsFocusRing: N },
|
|
3151
3158
|
props: {
|
|
3152
3159
|
/** Determines the type of popover list item.*/
|
|
3153
3160
|
type: {
|
|
@@ -3281,12 +3288,12 @@ const xe = /* @__PURE__ */ b(yo, [["render", wo], ["__scopeId", "data-v-47d42f7e
|
|
|
3281
3288
|
this.$emit("secondaryClick");
|
|
3282
3289
|
}
|
|
3283
3290
|
}
|
|
3284
|
-
},
|
|
3291
|
+
}, xo = {
|
|
3285
3292
|
key: 0,
|
|
3286
3293
|
class: "ecs-popover-list-item control no-hover",
|
|
3287
3294
|
role: "menuitem",
|
|
3288
3295
|
tabindex: "-1"
|
|
3289
|
-
},
|
|
3296
|
+
}, Co = {
|
|
3290
3297
|
key: 0,
|
|
3291
3298
|
class: "after"
|
|
3292
3299
|
}, Bo = {
|
|
@@ -3317,7 +3324,7 @@ const xe = /* @__PURE__ */ b(yo, [["render", wo], ["__scopeId", "data-v-47d42f7e
|
|
|
3317
3324
|
}, Ro = {
|
|
3318
3325
|
key: 2,
|
|
3319
3326
|
class: "after"
|
|
3320
|
-
},
|
|
3327
|
+
}, Do = ["tabindex"], $o = { class: "text" }, Vo = { class: "text-inner" }, Ho = {
|
|
3321
3328
|
key: 1,
|
|
3322
3329
|
class: "help"
|
|
3323
3330
|
}, Fo = {
|
|
@@ -3327,9 +3334,9 @@ const xe = /* @__PURE__ */ b(yo, [["render", wo], ["__scopeId", "data-v-47d42f7e
|
|
|
3327
3334
|
function qo(t, s, e, a, n, i) {
|
|
3328
3335
|
const r = m("ecs-checkbox"), c = m("ecs-icon"), d = m("ecs-radiobutton"), f = m("ecs-switch"), y = m("ecs-sortbutton"), _ = m("ecs-focus-ring"), I = m("ecs-file-icon"), z = m("ecs-button");
|
|
3329
3336
|
return o(), l("li", null, [
|
|
3330
|
-
e.type === "checkbox" ? (o(), l("div",
|
|
3337
|
+
e.type === "checkbox" ? (o(), l("div", xo, [
|
|
3331
3338
|
k(r, {
|
|
3332
|
-
onInput: s[0] || (s[0] = (
|
|
3339
|
+
onInput: s[0] || (s[0] = (x) => t.$emit("input", x)),
|
|
3333
3340
|
disabled: e.disabled || null,
|
|
3334
3341
|
value: e.value,
|
|
3335
3342
|
"value-false": e.valueFalse,
|
|
@@ -3341,7 +3348,7 @@ function qo(t, s, e, a, n, i) {
|
|
|
3341
3348
|
]),
|
|
3342
3349
|
_: 3
|
|
3343
3350
|
}, 8, ["disabled", "value", "value-false", "value-true", "indeterminate"]),
|
|
3344
|
-
e.suffix ? (o(), l("span",
|
|
3351
|
+
e.suffix ? (o(), l("span", Co, w(e.suffix), 1)) : u("", !0),
|
|
3345
3352
|
e.draggable ? (o(), p(c, {
|
|
3346
3353
|
key: 1,
|
|
3347
3354
|
type: "drag-handler",
|
|
@@ -3350,7 +3357,7 @@ function qo(t, s, e, a, n, i) {
|
|
|
3350
3357
|
})) : u("", !0)
|
|
3351
3358
|
])) : e.type === "radiobutton" ? (o(), l("div", Bo, [
|
|
3352
3359
|
k(d, {
|
|
3353
|
-
onChange: s[1] || (s[1] = (
|
|
3360
|
+
onChange: s[1] || (s[1] = (x) => t.$emit("change", x)),
|
|
3354
3361
|
disabled: e.disabled || null,
|
|
3355
3362
|
checked: e.value || null
|
|
3356
3363
|
}, {
|
|
@@ -3368,8 +3375,8 @@ function qo(t, s, e, a, n, i) {
|
|
|
3368
3375
|
})) : u("", !0)
|
|
3369
3376
|
])) : e.type === "switch" ? (o(), l("div", Io, [
|
|
3370
3377
|
k(f, {
|
|
3371
|
-
onInput: s[2] || (s[2] = (
|
|
3372
|
-
onChange: s[3] || (s[3] = (
|
|
3378
|
+
onInput: s[2] || (s[2] = (x) => t.$emit("input", x)),
|
|
3379
|
+
onChange: s[3] || (s[3] = (x) => t.$emit("change", x)),
|
|
3373
3380
|
value: e.value,
|
|
3374
3381
|
"value-false": e.valueFalse,
|
|
3375
3382
|
"value-true": e.valueTrue,
|
|
@@ -3391,7 +3398,7 @@ function qo(t, s, e, a, n, i) {
|
|
|
3391
3398
|
})) : u("", !0)
|
|
3392
3399
|
])) : e.type === "sort" ? (o(), l("div", {
|
|
3393
3400
|
key: 3,
|
|
3394
|
-
onClick: s[4] || (s[4] = (
|
|
3401
|
+
onClick: s[4] || (s[4] = (x) => t.$emit("click", x)),
|
|
3395
3402
|
class: "ecs-popover-list-item control no-hover",
|
|
3396
3403
|
role: "menuitem",
|
|
3397
3404
|
tabindex: e.disabled ? -1 : 0
|
|
@@ -3415,7 +3422,7 @@ function qo(t, s, e, a, n, i) {
|
|
|
3415
3422
|
k(_, { inset: 0 })
|
|
3416
3423
|
], 8, Po)) : e.type === "link" ? (o(), l("a", {
|
|
3417
3424
|
key: 4,
|
|
3418
|
-
onClick: s[7] || (s[7] = (
|
|
3425
|
+
onClick: s[7] || (s[7] = (x) => t.$emit("click", x)),
|
|
3419
3426
|
class: v(["ecs-popover-list-item", [
|
|
3420
3427
|
e.danger ? "danger" : "",
|
|
3421
3428
|
e.subtle ? "subtle" : "",
|
|
@@ -3447,8 +3454,8 @@ function qo(t, s, e, a, n, i) {
|
|
|
3447
3454
|
i.secondaryActionOptions.show ? (o(), p(z, {
|
|
3448
3455
|
key: 0,
|
|
3449
3456
|
onClick: Y(i.handleSecondaryClick, ["stop"]),
|
|
3450
|
-
onMouseover: s[5] || (s[5] = (
|
|
3451
|
-
onMouseleave: s[6] || (s[6] = (
|
|
3457
|
+
onMouseover: s[5] || (s[5] = (x) => n.preventHover = !n.preventHover),
|
|
3458
|
+
onMouseleave: s[6] || (s[6] = (x) => n.preventHover = !n.preventHover),
|
|
3452
3459
|
size: "sml",
|
|
3453
3460
|
type: i.secondaryActionOptions.type,
|
|
3454
3461
|
icon: i.secondaryActionOptions.icon,
|
|
@@ -3486,7 +3493,7 @@ function qo(t, s, e, a, n, i) {
|
|
|
3486
3493
|
e.noHover || n.preventHover ? "no-hover" : "",
|
|
3487
3494
|
e.selected ? "selected" : ""
|
|
3488
3495
|
]]),
|
|
3489
|
-
onClick: s[10] || (s[10] = (
|
|
3496
|
+
onClick: s[10] || (s[10] = (x) => t.$emit("click", x)),
|
|
3490
3497
|
role: "menuitem",
|
|
3491
3498
|
tabindex: e.disabled ? -1 : 0
|
|
3492
3499
|
}, [
|
|
@@ -3503,15 +3510,15 @@ function qo(t, s, e, a, n, i) {
|
|
|
3503
3510
|
height: 24,
|
|
3504
3511
|
class: "file-icon"
|
|
3505
3512
|
}, null, 8, ["type"])) : u("", !0),
|
|
3506
|
-
g("span",
|
|
3513
|
+
g("span", $o, [
|
|
3507
3514
|
g("span", Vo, [
|
|
3508
3515
|
h(t.$slots, "default", {}, void 0, !0)
|
|
3509
3516
|
]),
|
|
3510
3517
|
i.secondaryActionOptions.show ? (o(), p(z, {
|
|
3511
3518
|
key: 0,
|
|
3512
3519
|
onClick: Y(i.handleSecondaryClick, ["stop"]),
|
|
3513
|
-
onMouseover: s[8] || (s[8] = (
|
|
3514
|
-
onMouseleave: s[9] || (s[9] = (
|
|
3520
|
+
onMouseover: s[8] || (s[8] = (x) => n.preventHover = !n.preventHover),
|
|
3521
|
+
onMouseleave: s[9] || (s[9] = (x) => n.preventHover = !n.preventHover),
|
|
3515
3522
|
size: "sml",
|
|
3516
3523
|
type: i.secondaryActionOptions.type,
|
|
3517
3524
|
icon: i.secondaryActionOptions.icon,
|
|
@@ -3541,7 +3548,7 @@ function qo(t, s, e, a, n, i) {
|
|
|
3541
3548
|
class: "drag-handle"
|
|
3542
3549
|
})) : u("", !0),
|
|
3543
3550
|
k(_, { inset: 0 })
|
|
3544
|
-
], 10,
|
|
3551
|
+
], 10, Do))
|
|
3545
3552
|
]);
|
|
3546
3553
|
}
|
|
3547
3554
|
const mi = /* @__PURE__ */ b(So, [["render", qo], ["__scopeId", "data-v-571b015b"]]), Wo = {
|
|
@@ -3674,7 +3681,7 @@ function Go(t, s, e, a, n, i) {
|
|
|
3674
3681
|
e.badge ? (o(), l("span", {
|
|
3675
3682
|
key: 1,
|
|
3676
3683
|
class: "badge",
|
|
3677
|
-
style:
|
|
3684
|
+
style: C({ background: e.badgeColor })
|
|
3678
3685
|
}, null, 4)) : u("", !0),
|
|
3679
3686
|
e.icon && e.iconPosition == "right" || e.loading && e.iconPosition == "right" ? (o(), p(r, {
|
|
3680
3687
|
key: 2,
|
|
@@ -3711,7 +3718,7 @@ function Go(t, s, e, a, n, i) {
|
|
|
3711
3718
|
e.badge ? (o(), l("span", {
|
|
3712
3719
|
key: 1,
|
|
3713
3720
|
class: "badge",
|
|
3714
|
-
style:
|
|
3721
|
+
style: C({ background: e.badgeColor })
|
|
3715
3722
|
}, null, 4)) : u("", !0),
|
|
3716
3723
|
e.icon && e.iconPosition == "right" || e.loading && e.iconPosition == "right" ? (o(), p(r, {
|
|
3717
3724
|
key: 2,
|
|
@@ -3772,7 +3779,7 @@ const vt = /* @__PURE__ */ b(Wo, [["render", Go], ["__scopeId", "data-v-8164b50a
|
|
|
3772
3779
|
function Yo(t, s, e, a, n, i) {
|
|
3773
3780
|
return o(), l("div", {
|
|
3774
3781
|
class: v(["ecs-separator", i.classes]),
|
|
3775
|
-
style:
|
|
3782
|
+
style: C({ margin: i.marginStyles, width: e.width, height: e.height }),
|
|
3776
3783
|
role: "separator"
|
|
3777
3784
|
}, null, 6);
|
|
3778
3785
|
}
|
|
@@ -3878,8 +3885,8 @@ function Qo(t, s, e, a, n, i) {
|
|
|
3878
3885
|
content: S(() => [
|
|
3879
3886
|
k(y, null, {
|
|
3880
3887
|
default: S(() => [
|
|
3881
|
-
(o(!0), l(
|
|
3882
|
-
key:
|
|
3888
|
+
(o(!0), l(V, null, se(e.options, (z, x) => (o(), p(d, {
|
|
3889
|
+
key: x,
|
|
3883
3890
|
disabled: z.disabled || null,
|
|
3884
3891
|
onClick: (E) => t.$emit("select", z.action)
|
|
3885
3892
|
}, {
|
|
@@ -3928,7 +3935,7 @@ function Qo(t, s, e, a, n, i) {
|
|
|
3928
3935
|
_: 1
|
|
3929
3936
|
});
|
|
3930
3937
|
}
|
|
3931
|
-
const
|
|
3938
|
+
const $b = /* @__PURE__ */ b(Zo, [["render", Qo], ["__scopeId", "data-v-04aed8bb"]]), er = {
|
|
3932
3939
|
name: "ecs-button-group"
|
|
3933
3940
|
}, tr = { class: "ecs-button-group" };
|
|
3934
3941
|
function sr(t, s, e, a, n, i) {
|
|
@@ -3936,7 +3943,7 @@ function sr(t, s, e, a, n, i) {
|
|
|
3936
3943
|
h(t.$slots, "default", {}, void 0, !0)
|
|
3937
3944
|
]);
|
|
3938
3945
|
}
|
|
3939
|
-
const
|
|
3946
|
+
const Vb = /* @__PURE__ */ b(er, [["render", sr], ["__scopeId", "data-v-83c21366"]]), ir = {
|
|
3940
3947
|
name: "ecs-button-collapse",
|
|
3941
3948
|
emits: ["click"],
|
|
3942
3949
|
components: {
|
|
@@ -4050,7 +4057,7 @@ B.prototype = {
|
|
|
4050
4057
|
return this._a == 1 ? "hsv(" + e + ", " + a + "%, " + n + "%)" : "hsva(" + e + ", " + a + "%, " + n + "%, " + this._roundA + ")";
|
|
4051
4058
|
},
|
|
4052
4059
|
toHsl: function() {
|
|
4053
|
-
var s =
|
|
4060
|
+
var s = Cs(this._r, this._g, this._b);
|
|
4054
4061
|
return {
|
|
4055
4062
|
h: s.h * 360,
|
|
4056
4063
|
s: s.s,
|
|
@@ -4059,7 +4066,7 @@ B.prototype = {
|
|
|
4059
4066
|
};
|
|
4060
4067
|
},
|
|
4061
4068
|
toHslString: function() {
|
|
4062
|
-
var s =
|
|
4069
|
+
var s = Cs(this._r, this._g, this._b), e = Math.round(s.h * 360), a = Math.round(s.s * 100), n = Math.round(s.l * 100);
|
|
4063
4070
|
return this._a == 1 ? "hsl(" + e + ", " + a + "%, " + n + "%)" : "hsla(" + e + ", " + a + "%, " + n + "%, " + this._roundA + ")";
|
|
4064
4071
|
},
|
|
4065
4072
|
toHex: function(s) {
|
|
@@ -4097,7 +4104,7 @@ B.prototype = {
|
|
|
4097
4104
|
return this._a == 1 ? "rgb(" + Math.round(j(this._r, 255) * 100) + "%, " + Math.round(j(this._g, 255) * 100) + "%, " + Math.round(j(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(j(this._r, 255) * 100) + "%, " + Math.round(j(this._g, 255) * 100) + "%, " + Math.round(j(this._b, 255) * 100) + "%, " + this._roundA + ")";
|
|
4098
4105
|
},
|
|
4099
4106
|
toName: function() {
|
|
4100
|
-
return this._a === 0 ? "transparent" : this._a < 1 ? !1 :
|
|
4107
|
+
return this._a === 0 ? "transparent" : this._a < 1 ? !1 : xr[zs(this._r, this._g, this._b, !0)] || !1;
|
|
4101
4108
|
},
|
|
4102
4109
|
toFilter: function(s) {
|
|
4103
4110
|
var e = "#" + Is(this._r, this._g, this._b, this._a), a = e, n = this._gradientType ? "GradientType = 1, " : "";
|
|
@@ -4198,7 +4205,7 @@ function cr(t, s, e) {
|
|
|
4198
4205
|
b: j(e, 255) * 255
|
|
4199
4206
|
};
|
|
4200
4207
|
}
|
|
4201
|
-
function
|
|
4208
|
+
function Cs(t, s, e) {
|
|
4202
4209
|
t = j(t, 255), s = j(s, 255), e = j(e, 255);
|
|
4203
4210
|
var a = Math.max(t, s, e), n = Math.min(t, s, e), i, r, c = (a + n) / 2;
|
|
4204
4211
|
if (a == n)
|
|
@@ -4277,15 +4284,15 @@ function ur(t, s, e) {
|
|
|
4277
4284
|
};
|
|
4278
4285
|
}
|
|
4279
4286
|
function zs(t, s, e, a) {
|
|
4280
|
-
var n = [
|
|
4287
|
+
var n = [Se(Math.round(t).toString(16)), Se(Math.round(s).toString(16)), Se(Math.round(e).toString(16))];
|
|
4281
4288
|
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("");
|
|
4282
4289
|
}
|
|
4283
4290
|
function fr(t, s, e, a, n) {
|
|
4284
|
-
var i = [
|
|
4291
|
+
var i = [Se(Math.round(t).toString(16)), Se(Math.round(s).toString(16)), Se(Math.round(e).toString(16)), Se(pi(a))];
|
|
4285
4292
|
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("");
|
|
4286
4293
|
}
|
|
4287
4294
|
function Is(t, s, e, a) {
|
|
4288
|
-
var n = [
|
|
4295
|
+
var n = [Se(pi(a)), Se(Math.round(t).toString(16)), Se(Math.round(s).toString(16)), Se(Math.round(e).toString(16))];
|
|
4289
4296
|
return n.join("");
|
|
4290
4297
|
}
|
|
4291
4298
|
B.equals = function(t, s) {
|
|
@@ -4564,8 +4571,8 @@ var Wt = B.names = {
|
|
|
4564
4571
|
whitesmoke: "f5f5f5",
|
|
4565
4572
|
yellow: "ff0",
|
|
4566
4573
|
yellowgreen: "9acd32"
|
|
4567
|
-
},
|
|
4568
|
-
function
|
|
4574
|
+
}, xr = B.hexNames = Cr(Wt);
|
|
4575
|
+
function Cr(t) {
|
|
4569
4576
|
var s = {};
|
|
4570
4577
|
for (var e in t)
|
|
4571
4578
|
t.hasOwnProperty(e) && (s[t[e]] = e);
|
|
@@ -4591,7 +4598,7 @@ function Br(t) {
|
|
|
4591
4598
|
function zr(t) {
|
|
4592
4599
|
return typeof t == "string" && t.indexOf("%") != -1;
|
|
4593
4600
|
}
|
|
4594
|
-
function
|
|
4601
|
+
function Se(t) {
|
|
4595
4602
|
return t.length == 1 ? "0" + t : "" + t;
|
|
4596
4603
|
}
|
|
4597
4604
|
function Qe(t) {
|
|
@@ -4603,7 +4610,7 @@ function pi(t) {
|
|
|
4603
4610
|
function Ts(t) {
|
|
4604
4611
|
return ce(t) / 255;
|
|
4605
4612
|
}
|
|
4606
|
-
var
|
|
4613
|
+
var we = function() {
|
|
4607
4614
|
var t = "[-\\+]?\\d+%?", s = "[-\\+]?\\d*\\.\\d+%?", e = "(?:" + s + ")|(?:" + t + ")", a = "[\\s|\\(]+(" + e + ")[,|\\s]+(" + e + ")[,|\\s]+(" + e + ")\\s*\\)?", n = "[\\s|\\(]+(" + e + ")[,|\\s]+(" + e + ")[,|\\s]+(" + e + ")[,|\\s]+(" + e + ")\\s*\\)?";
|
|
4608
4615
|
return {
|
|
4609
4616
|
CSS_UNIT: new RegExp(e),
|
|
@@ -4620,7 +4627,7 @@ var ke = function() {
|
|
|
4620
4627
|
};
|
|
4621
4628
|
}();
|
|
4622
4629
|
function Te(t) {
|
|
4623
|
-
return !!
|
|
4630
|
+
return !!we.CSS_UNIT.exec(t);
|
|
4624
4631
|
}
|
|
4625
4632
|
function Ir(t) {
|
|
4626
4633
|
t = t.replace(or, "").replace(rr, "").toLowerCase();
|
|
@@ -4636,51 +4643,51 @@ function Ir(t) {
|
|
|
4636
4643
|
format: "name"
|
|
4637
4644
|
};
|
|
4638
4645
|
var e;
|
|
4639
|
-
return (e =
|
|
4646
|
+
return (e = we.rgb.exec(t)) ? {
|
|
4640
4647
|
r: e[1],
|
|
4641
4648
|
g: e[2],
|
|
4642
4649
|
b: e[3]
|
|
4643
|
-
} : (e =
|
|
4650
|
+
} : (e = we.rgba.exec(t)) ? {
|
|
4644
4651
|
r: e[1],
|
|
4645
4652
|
g: e[2],
|
|
4646
4653
|
b: e[3],
|
|
4647
4654
|
a: e[4]
|
|
4648
|
-
} : (e =
|
|
4655
|
+
} : (e = we.hsl.exec(t)) ? {
|
|
4649
4656
|
h: e[1],
|
|
4650
4657
|
s: e[2],
|
|
4651
4658
|
l: e[3]
|
|
4652
|
-
} : (e =
|
|
4659
|
+
} : (e = we.hsla.exec(t)) ? {
|
|
4653
4660
|
h: e[1],
|
|
4654
4661
|
s: e[2],
|
|
4655
4662
|
l: e[3],
|
|
4656
4663
|
a: e[4]
|
|
4657
|
-
} : (e =
|
|
4664
|
+
} : (e = we.hsv.exec(t)) ? {
|
|
4658
4665
|
h: e[1],
|
|
4659
4666
|
s: e[2],
|
|
4660
4667
|
v: e[3]
|
|
4661
|
-
} : (e =
|
|
4668
|
+
} : (e = we.hsva.exec(t)) ? {
|
|
4662
4669
|
h: e[1],
|
|
4663
4670
|
s: e[2],
|
|
4664
4671
|
v: e[3],
|
|
4665
4672
|
a: e[4]
|
|
4666
|
-
} : (e =
|
|
4673
|
+
} : (e = we.hex8.exec(t)) ? {
|
|
4667
4674
|
r: ce(e[1]),
|
|
4668
4675
|
g: ce(e[2]),
|
|
4669
4676
|
b: ce(e[3]),
|
|
4670
4677
|
a: Ts(e[4]),
|
|
4671
4678
|
format: s ? "name" : "hex8"
|
|
4672
|
-
} : (e =
|
|
4679
|
+
} : (e = we.hex6.exec(t)) ? {
|
|
4673
4680
|
r: ce(e[1]),
|
|
4674
4681
|
g: ce(e[2]),
|
|
4675
4682
|
b: ce(e[3]),
|
|
4676
4683
|
format: s ? "name" : "hex"
|
|
4677
|
-
} : (e =
|
|
4684
|
+
} : (e = we.hex4.exec(t)) ? {
|
|
4678
4685
|
r: ce(e[1] + "" + e[1]),
|
|
4679
4686
|
g: ce(e[2] + "" + e[2]),
|
|
4680
4687
|
b: ce(e[3] + "" + e[3]),
|
|
4681
4688
|
a: Ts(e[4] + "" + e[4]),
|
|
4682
4689
|
format: s ? "name" : "hex8"
|
|
4683
|
-
} : (e =
|
|
4690
|
+
} : (e = we.hex3.exec(t)) ? {
|
|
4684
4691
|
r: ce(e[1] + "" + e[1]),
|
|
4685
4692
|
g: ce(e[2] + "" + e[2]),
|
|
4686
4693
|
b: ce(e[3] + "" + e[3]),
|
|
@@ -4759,7 +4766,7 @@ function Mr(t, s, e, a, n, i) {
|
|
|
4759
4766
|
class: v(["ecs-context-button", [e.loading ? "loading" : "", i.iconOnly ? "ecs-context-button-icon-only" : ""]]),
|
|
4760
4767
|
"aria-label": e.ariaLabel,
|
|
4761
4768
|
"aria-busy": e.loading || null,
|
|
4762
|
-
style:
|
|
4769
|
+
style: C(i.selectedColorText),
|
|
4763
4770
|
onClick: s[0] || (s[0] = (d) => t.$emit("click", d))
|
|
4764
4771
|
}, [
|
|
4765
4772
|
e.icon || e.loading ? (o(), p(r, {
|
|
@@ -4770,13 +4777,13 @@ function Mr(t, s, e, a, n, i) {
|
|
|
4770
4777
|
e.selectedColor ? (o(), l("div", {
|
|
4771
4778
|
key: 1,
|
|
4772
4779
|
class: "ecs-context-button-color",
|
|
4773
|
-
style:
|
|
4780
|
+
style: C(i.selectedColorBackground)
|
|
4774
4781
|
}, null, 4)) : u("", !0),
|
|
4775
4782
|
h(t.$slots, "default", {}, void 0, !0),
|
|
4776
4783
|
k(c)
|
|
4777
4784
|
], 14, Pr);
|
|
4778
4785
|
}
|
|
4779
|
-
const
|
|
4786
|
+
const Hb = /* @__PURE__ */ b(Tr, [["render", Mr], ["__scopeId", "data-v-2e6b8605"]]), Or = {
|
|
4780
4787
|
name: "ecs-context-button-group"
|
|
4781
4788
|
}, Ar = { class: "ecs-context-button-group" };
|
|
4782
4789
|
function Lr(t, s, e, a, n, i) {
|
|
@@ -4784,7 +4791,7 @@ function Lr(t, s, e, a, n, i) {
|
|
|
4784
4791
|
h(t.$slots, "default", {}, void 0, !0)
|
|
4785
4792
|
]);
|
|
4786
4793
|
}
|
|
4787
|
-
const
|
|
4794
|
+
const Fb = /* @__PURE__ */ b(Or, [["render", Lr], ["__scopeId", "data-v-94a53b69"]]), Nr = {
|
|
4788
4795
|
name: "ecs-button-dialog",
|
|
4789
4796
|
emits: ["click"],
|
|
4790
4797
|
components: {
|
|
@@ -4815,7 +4822,7 @@ const $b = /* @__PURE__ */ b(Or, [["render", Lr], ["__scopeId", "data-v-94a53b69
|
|
|
4815
4822
|
}
|
|
4816
4823
|
}
|
|
4817
4824
|
}, Rr = ["aria-busy"];
|
|
4818
|
-
function
|
|
4825
|
+
function Dr(t, s, e, a, n, i) {
|
|
4819
4826
|
const r = m("ecs-icon"), c = m("ecs-focus-ring");
|
|
4820
4827
|
return o(), l("button", {
|
|
4821
4828
|
onClick: s[0] || (s[0] = (d) => t.$emit("click", d)),
|
|
@@ -4833,7 +4840,7 @@ function $r(t, s, e, a, n, i) {
|
|
|
4833
4840
|
}, null, 8, ["danger"])
|
|
4834
4841
|
], 10, Rr);
|
|
4835
4842
|
}
|
|
4836
|
-
const
|
|
4843
|
+
const qb = /* @__PURE__ */ b(Nr, [["render", Dr], ["__scopeId", "data-v-d40a7cc1"]]), $r = {
|
|
4837
4844
|
name: "ecs-button-more",
|
|
4838
4845
|
emits: ["click"],
|
|
4839
4846
|
components: {
|
|
@@ -4897,7 +4904,7 @@ function Hr(t, s, e, a, n, i) {
|
|
|
4897
4904
|
k(c)
|
|
4898
4905
|
], 10, Vr);
|
|
4899
4906
|
}
|
|
4900
|
-
const vi = /* @__PURE__ */ b(
|
|
4907
|
+
const vi = /* @__PURE__ */ b($r, [["render", Hr], ["__scopeId", "data-v-91c19a75"]]), Fr = {
|
|
4901
4908
|
name: "ecs-button-table",
|
|
4902
4909
|
emits: ["click", "mouseover", "mouseleave"],
|
|
4903
4910
|
components: {
|
|
@@ -5083,7 +5090,7 @@ function Jr(t, s, e, a, n, i) {
|
|
|
5083
5090
|
k(c)
|
|
5084
5091
|
], 10, Xr);
|
|
5085
5092
|
}
|
|
5086
|
-
const
|
|
5093
|
+
const Wb = /* @__PURE__ */ b(Yr, [["render", Jr], ["__scopeId", "data-v-5a859a10"]]), Qr = {
|
|
5087
5094
|
name: "ecs-card",
|
|
5088
5095
|
emits: ["click"],
|
|
5089
5096
|
props: {
|
|
@@ -5142,12 +5149,12 @@ function il(t, s, e, a, n, i) {
|
|
|
5142
5149
|
e.progress ? (o(), l("div", {
|
|
5143
5150
|
key: 0,
|
|
5144
5151
|
class: "progress",
|
|
5145
|
-
style:
|
|
5152
|
+
style: C({ width: e.progress + "%" })
|
|
5146
5153
|
}, null, 4)) : u("", !0)
|
|
5147
5154
|
])
|
|
5148
5155
|
], 10, el);
|
|
5149
5156
|
}
|
|
5150
|
-
const
|
|
5157
|
+
const jb = /* @__PURE__ */ b(Qr, [["render", il], ["__scopeId", "data-v-8d449816"]]), nl = {
|
|
5151
5158
|
name: "ecs-citation-line",
|
|
5152
5159
|
emits: ["change", "blur", "focus"],
|
|
5153
5160
|
components: { EcsFlexRow: Ee },
|
|
@@ -5216,7 +5223,7 @@ function ol(t, s, e, a, n, i) {
|
|
|
5216
5223
|
_: 3
|
|
5217
5224
|
});
|
|
5218
5225
|
}
|
|
5219
|
-
const
|
|
5226
|
+
const Ub = /* @__PURE__ */ b(nl, [["render", ol], ["__scopeId", "data-v-cfd8e718"]]), rl = {
|
|
5220
5227
|
name: "ecs-chat-conversation",
|
|
5221
5228
|
mounted() {
|
|
5222
5229
|
this.scrollToBottom(), this.setupMutationObserver();
|
|
@@ -5249,7 +5256,7 @@ function cl(t, s, e, a, n, i) {
|
|
|
5249
5256
|
h(t.$slots, "default", {}, void 0, !0)
|
|
5250
5257
|
], 512);
|
|
5251
5258
|
}
|
|
5252
|
-
const
|
|
5259
|
+
const Gb = /* @__PURE__ */ b(rl, [["render", cl], ["__scopeId", "data-v-3181dbaf"]]), dl = {
|
|
5253
5260
|
name: "ecs-chat-message",
|
|
5254
5261
|
components: { EcsAvatar: nt, EcsIcon: M },
|
|
5255
5262
|
props: {
|
|
@@ -5320,7 +5327,7 @@ function yl(t, s, e, a, n, i) {
|
|
|
5320
5327
|
])),
|
|
5321
5328
|
g("div", {
|
|
5322
5329
|
class: "ecs-chat-message-bubble",
|
|
5323
|
-
style:
|
|
5330
|
+
style: C({ backgroundColor: i.bubbleColor })
|
|
5324
5331
|
}, [
|
|
5325
5332
|
(o(), l("svg", ml, [
|
|
5326
5333
|
g("path", {
|
|
@@ -5336,7 +5343,7 @@ function yl(t, s, e, a, n, i) {
|
|
|
5336
5343
|
])) : u("", !0)
|
|
5337
5344
|
], 10, ul);
|
|
5338
5345
|
}
|
|
5339
|
-
const
|
|
5346
|
+
const Kb = /* @__PURE__ */ b(dl, [["render", yl], ["__scopeId", "data-v-81361268"]]);
|
|
5340
5347
|
var Je = {}, Ps;
|
|
5341
5348
|
function bl() {
|
|
5342
5349
|
if (Ps) return Je;
|
|
@@ -5359,7 +5366,7 @@ var _l = bl();
|
|
|
5359
5366
|
const kl = /* @__PURE__ */ Ut(_l), wl = {
|
|
5360
5367
|
name: "ecs-context-menu",
|
|
5361
5368
|
emits: ["option-clicked", "menu-closed", "menu-opened"],
|
|
5362
|
-
components: { EcsIcon: M, EcsFocusRing: N, EcsButton:
|
|
5369
|
+
components: { EcsIcon: M, EcsFocusRing: N, EcsButton: be },
|
|
5363
5370
|
directives: {
|
|
5364
5371
|
clickOutSide: kl
|
|
5365
5372
|
},
|
|
@@ -5464,13 +5471,13 @@ const kl = /* @__PURE__ */ Ut(_l), wl = {
|
|
|
5464
5471
|
beforeUnmount() {
|
|
5465
5472
|
document.removeEventListener("keyup", this.onEscKeyRelease);
|
|
5466
5473
|
}
|
|
5467
|
-
}, Sl = ["id"],
|
|
5474
|
+
}, Sl = ["id"], xl = ["onClick", "role", "tabindex", "aria-disabled"], Cl = { key: 1 };
|
|
5468
5475
|
function Bl(t, s, e, a, n, i) {
|
|
5469
5476
|
const r = m("ecs-icon"), c = m("ecs-button"), d = m("ecs-focus-ring"), f = Ri("click-out-side");
|
|
5470
5477
|
return Fe((o(), l("div", {
|
|
5471
5478
|
class: v(["ecs-context-menu", n.opened ? " opened" : ""]),
|
|
5472
5479
|
id: e.elementId,
|
|
5473
|
-
style:
|
|
5480
|
+
style: C([i.postionStyles])
|
|
5474
5481
|
}, [
|
|
5475
5482
|
g("ul", {
|
|
5476
5483
|
role: "menu",
|
|
@@ -5483,7 +5490,7 @@ function Bl(t, s, e, a, n, i) {
|
|
|
5483
5490
|
ref: "menu",
|
|
5484
5491
|
id: "my-menu"
|
|
5485
5492
|
}, [
|
|
5486
|
-
(o(!0), l(
|
|
5493
|
+
(o(!0), l(V, null, se(e.options, (y, _) => (o(), l("li", {
|
|
5487
5494
|
key: _,
|
|
5488
5495
|
onClick: Y((I) => i.optionClicked(y), ["stop"]),
|
|
5489
5496
|
role: y.type === "divider" ? "separator" : "menuitem",
|
|
@@ -5500,7 +5507,7 @@ function Bl(t, s, e, a, n, i) {
|
|
|
5500
5507
|
type: y.icon,
|
|
5501
5508
|
size: "20"
|
|
5502
5509
|
}, null, 8, ["type"])) : u("", !0),
|
|
5503
|
-
y.type != "divider" ? (o(), l("span",
|
|
5510
|
+
y.type != "divider" ? (o(), l("span", Cl, w(y.name), 1)) : u("", !0),
|
|
5504
5511
|
y.nested ? (o(), p(c, {
|
|
5505
5512
|
key: 2,
|
|
5506
5513
|
onClick: Y((I) => i.optionClicked(y.nested), ["stop"]),
|
|
@@ -5515,16 +5522,16 @@ function Bl(t, s, e, a, n, i) {
|
|
|
5515
5522
|
k(d, {
|
|
5516
5523
|
danger: y.type == "danger"
|
|
5517
5524
|
}, null, 8, ["danger"])
|
|
5518
|
-
], 10,
|
|
5525
|
+
], 10, xl))), 128))
|
|
5519
5526
|
], 544)
|
|
5520
5527
|
], 14, Sl)), [
|
|
5521
5528
|
[f, i.onClickOutside]
|
|
5522
5529
|
]);
|
|
5523
5530
|
}
|
|
5524
|
-
const
|
|
5531
|
+
const Yb = /* @__PURE__ */ b(wl, [["render", Bl], ["__scopeId", "data-v-68234afa"]]), zl = {
|
|
5525
5532
|
name: "ecs-collapse",
|
|
5526
5533
|
emits: ["toggled", "remove"],
|
|
5527
|
-
components: { EcsButton:
|
|
5534
|
+
components: { EcsButton: be, EcsFocusRing: N, EcsFlexRow: Ee },
|
|
5528
5535
|
props: {
|
|
5529
5536
|
/** Unique ID, is required to handle persist states. */
|
|
5530
5537
|
id: {
|
|
@@ -5706,7 +5713,7 @@ function Ol(t, s, e, a, n, i) {
|
|
|
5706
5713
|
], 10, Ml)
|
|
5707
5714
|
], 2);
|
|
5708
5715
|
}
|
|
5709
|
-
const
|
|
5716
|
+
const Xb = /* @__PURE__ */ b(zl, [["render", Ol], ["__scopeId", "data-v-2c8b4b19"]]), Al = {
|
|
5710
5717
|
name: "ecs-collection-control",
|
|
5711
5718
|
emits: ["toggled", "collectionTooltip"],
|
|
5712
5719
|
components: { EcsIcon: M, EcsFocusRing: N },
|
|
@@ -5788,7 +5795,7 @@ const Ub = /* @__PURE__ */ b(zl, [["render", Ol], ["__scopeId", "data-v-2c8b4b19
|
|
|
5788
5795
|
}, Ll = ["tabindex", "role", "aria-expanded", "aria-controls"], Nl = {
|
|
5789
5796
|
key: 1,
|
|
5790
5797
|
class: "description"
|
|
5791
|
-
}, Rl = ["title"],
|
|
5798
|
+
}, Rl = ["title"], Dl = { key: 0 }, $l = ["id", "aria-hidden"];
|
|
5792
5799
|
function Vl(t, s, e, a, n, i) {
|
|
5793
5800
|
const r = m("ecs-focus-ring"), c = m("ecs-icon");
|
|
5794
5801
|
return o(), l("div", {
|
|
@@ -5827,10 +5834,10 @@ function Vl(t, s, e, a, n, i) {
|
|
|
5827
5834
|
onMouseleave: s[1] || (s[1] = (...d) => i.toggleTooltip && i.toggleTooltip(...d)),
|
|
5828
5835
|
title: i.fullTooltip
|
|
5829
5836
|
}, [
|
|
5830
|
-
(o(!0), l(
|
|
5837
|
+
(o(!0), l(V, null, se(e.collection, (d) => (o(), l("span", {
|
|
5831
5838
|
key: d.name
|
|
5832
5839
|
}, [
|
|
5833
|
-
d.value ? (o(), l("span",
|
|
5840
|
+
d.value ? (o(), l("span", Dl, w(d.name), 1)) : u("", !0)
|
|
5834
5841
|
]))), 128))
|
|
5835
5842
|
], 40, Rl)
|
|
5836
5843
|
], 42, Ll),
|
|
@@ -5841,14 +5848,14 @@ function Vl(t, s, e, a, n, i) {
|
|
|
5841
5848
|
}, [
|
|
5842
5849
|
g("div", {
|
|
5843
5850
|
class: "ecs-collection-control-list scrollbar scrollbar-sml",
|
|
5844
|
-
style:
|
|
5851
|
+
style: C(i.listMaxHeight)
|
|
5845
5852
|
}, [
|
|
5846
5853
|
h(t.$slots, "default")
|
|
5847
5854
|
], 4)
|
|
5848
|
-
], 10,
|
|
5855
|
+
], 10, $l)
|
|
5849
5856
|
], 2);
|
|
5850
5857
|
}
|
|
5851
|
-
const
|
|
5858
|
+
const Zb = /* @__PURE__ */ b(Al, [["render", Vl], ["__scopeId", "data-v-95f66a3d"]]), Hl = {
|
|
5852
5859
|
name: "ecs-formatted",
|
|
5853
5860
|
components: { EcsSkeletonLoader: ie },
|
|
5854
5861
|
mixins: [me],
|
|
@@ -5901,7 +5908,7 @@ function ql(t, s, e, a, n, i) {
|
|
|
5901
5908
|
const yi = /* @__PURE__ */ b(Hl, [["render", ql]]), Wl = {
|
|
5902
5909
|
name: "ecs-comment",
|
|
5903
5910
|
emits: ["edit", "delete"],
|
|
5904
|
-
components: { EcsAvatar: nt, EcsButton:
|
|
5911
|
+
components: { EcsAvatar: nt, EcsButton: be, EcsFormatted: yi, EcsSkeletonLoader: ie },
|
|
5905
5912
|
props: {
|
|
5906
5913
|
/** Name of the user that is the comment author. */
|
|
5907
5914
|
userName: {
|
|
@@ -6013,14 +6020,14 @@ function ec(t, s, e, a, n, i) {
|
|
|
6013
6020
|
]))
|
|
6014
6021
|
], 8, jl);
|
|
6015
6022
|
}
|
|
6016
|
-
const
|
|
6023
|
+
const Jb = /* @__PURE__ */ b(Wl, [["render", ec], ["__scopeId", "data-v-b792bd83"]]), tc = {}, sc = { class: "ecs-comment-list" };
|
|
6017
6024
|
function ic(t, s) {
|
|
6018
6025
|
return o(), l("div", sc, [
|
|
6019
6026
|
h(t.$slots, "default")
|
|
6020
6027
|
]);
|
|
6021
6028
|
}
|
|
6022
|
-
const
|
|
6023
|
-
function
|
|
6029
|
+
const Qb = /* @__PURE__ */ b(tc, [["render", ic]]);
|
|
6030
|
+
function xt(t = {}, s = 0) {
|
|
6024
6031
|
const e = t && t.a;
|
|
6025
6032
|
let a;
|
|
6026
6033
|
t && t.hsl ? a = B(t.hsl) : t && t.hex && t.hex.length > 0 ? a = B(t.hex) : t && t.hsv ? a = B(t.hsv) : t && t.rgba ? a = B(t.rgba) : t && t.rgb ? a = B(t.rgb) : a = B(t), a && (a._a === void 0 || a._a === null) && a.setAlpha(e || 1);
|
|
@@ -6040,7 +6047,7 @@ const nc = {
|
|
|
6040
6047
|
props: ["modelValue"],
|
|
6041
6048
|
data() {
|
|
6042
6049
|
return {
|
|
6043
|
-
val:
|
|
6050
|
+
val: xt(this.modelValue)
|
|
6044
6051
|
};
|
|
6045
6052
|
},
|
|
6046
6053
|
computed: {
|
|
@@ -6055,12 +6062,12 @@ const nc = {
|
|
|
6055
6062
|
},
|
|
6056
6063
|
watch: {
|
|
6057
6064
|
modelValue(t) {
|
|
6058
|
-
this.val =
|
|
6065
|
+
this.val = xt(t);
|
|
6059
6066
|
}
|
|
6060
6067
|
},
|
|
6061
6068
|
methods: {
|
|
6062
6069
|
colorChange(t, s) {
|
|
6063
|
-
this.oldHue = this.colors.hsl.h, this.colors =
|
|
6070
|
+
this.oldHue = this.colors.hsl.h, this.colors = xt(t, s || this.oldHue);
|
|
6064
6071
|
},
|
|
6065
6072
|
isValidHex(t) {
|
|
6066
6073
|
return B(t).isValid();
|
|
@@ -6154,7 +6161,7 @@ function dc(t, s, e, a, n, i) {
|
|
|
6154
6161
|
onInput: s[2] || (s[2] = (...r) => i.update && i.update(...r)),
|
|
6155
6162
|
ref: "input"
|
|
6156
6163
|
}, null, 40, rc), [
|
|
6157
|
-
[
|
|
6164
|
+
[Di, i.val]
|
|
6158
6165
|
]),
|
|
6159
6166
|
g("span", {
|
|
6160
6167
|
for: e.label,
|
|
@@ -6165,14 +6172,14 @@ function dc(t, s, e, a, n, i) {
|
|
|
6165
6172
|
]);
|
|
6166
6173
|
}
|
|
6167
6174
|
const uc = /* @__PURE__ */ b(ac, [["render", dc]]);
|
|
6168
|
-
var
|
|
6175
|
+
var Ct, Ms;
|
|
6169
6176
|
function fc() {
|
|
6170
|
-
if (Ms) return
|
|
6171
|
-
Ms = 1,
|
|
6177
|
+
if (Ms) return Ct;
|
|
6178
|
+
Ms = 1, Ct = t;
|
|
6172
6179
|
function t(s, e, a) {
|
|
6173
6180
|
return e < a ? s < e ? e : s > a ? a : s : s < a ? a : s > e ? e : s;
|
|
6174
6181
|
}
|
|
6175
|
-
return
|
|
6182
|
+
return Ct;
|
|
6176
6183
|
}
|
|
6177
6184
|
var gc = fc();
|
|
6178
6185
|
const ut = /* @__PURE__ */ Ut(gc);
|
|
@@ -6221,20 +6228,20 @@ function pc() {
|
|
|
6221
6228
|
}
|
|
6222
6229
|
return Tt = s, Tt;
|
|
6223
6230
|
}
|
|
6224
|
-
var Pt,
|
|
6231
|
+
var Pt, Ds;
|
|
6225
6232
|
function vc() {
|
|
6226
|
-
if (
|
|
6227
|
-
|
|
6233
|
+
if (Ds) return Pt;
|
|
6234
|
+
Ds = 1;
|
|
6228
6235
|
var t = pc(), s = /^\s+/;
|
|
6229
6236
|
function e(a) {
|
|
6230
6237
|
return a && a.slice(0, t(a) + 1).replace(s, "");
|
|
6231
6238
|
}
|
|
6232
6239
|
return Pt = e, Pt;
|
|
6233
6240
|
}
|
|
6234
|
-
var Mt,
|
|
6241
|
+
var Mt, $s;
|
|
6235
6242
|
function _i() {
|
|
6236
|
-
if (
|
|
6237
|
-
|
|
6243
|
+
if ($s) return Mt;
|
|
6244
|
+
$s = 1;
|
|
6238
6245
|
var t = bi(), s = t.Symbol;
|
|
6239
6246
|
return Mt = s, Mt;
|
|
6240
6247
|
}
|
|
@@ -6294,9 +6301,9 @@ function wc() {
|
|
|
6294
6301
|
}
|
|
6295
6302
|
return Rt = a, Rt;
|
|
6296
6303
|
}
|
|
6297
|
-
var
|
|
6304
|
+
var Dt, js;
|
|
6298
6305
|
function Sc() {
|
|
6299
|
-
if (js) return
|
|
6306
|
+
if (js) return Dt;
|
|
6300
6307
|
js = 1;
|
|
6301
6308
|
var t = vc(), s = os(), e = wc(), a = NaN, n = /^[-+]0x[0-9a-f]+$/i, i = /^0b[01]+$/i, r = /^0o[0-7]+$/i, c = parseInt;
|
|
6302
6309
|
function d(f) {
|
|
@@ -6314,15 +6321,15 @@ function Sc() {
|
|
|
6314
6321
|
var _ = i.test(f);
|
|
6315
6322
|
return _ || r.test(f) ? c(f.slice(2), _ ? 2 : 8) : n.test(f) ? a : +f;
|
|
6316
6323
|
}
|
|
6317
|
-
return
|
|
6324
|
+
return Dt = d, Dt;
|
|
6318
6325
|
}
|
|
6319
|
-
var
|
|
6320
|
-
function
|
|
6321
|
-
if (Us) return
|
|
6326
|
+
var $t, Us;
|
|
6327
|
+
function xc() {
|
|
6328
|
+
if (Us) return $t;
|
|
6322
6329
|
Us = 1;
|
|
6323
6330
|
var t = os(), s = hc(), e = Sc(), a = "Expected a function", n = Math.max, i = Math.min;
|
|
6324
6331
|
function r(c, d, f) {
|
|
6325
|
-
var y, _, I, z,
|
|
6332
|
+
var y, _, I, z, x, E, P = 0, T = !1, R = !1, F = !0;
|
|
6326
6333
|
if (typeof c != "function")
|
|
6327
6334
|
throw new TypeError(a);
|
|
6328
6335
|
d = e(d) || 0, t(f) && (T = !!f.leading, R = "maxWait" in f, I = R ? n(e(f.maxWait) || 0, d) : I, F = "trailing" in f ? !!f.trailing : F);
|
|
@@ -6330,51 +6337,51 @@ function Cc() {
|
|
|
6330
6337
|
var J = y, te = _;
|
|
6331
6338
|
return y = _ = void 0, P = L, z = c.apply(te, J), z;
|
|
6332
6339
|
}
|
|
6333
|
-
function $(L) {
|
|
6334
|
-
return P = L, C = setTimeout(W, d), T ? O(L) : z;
|
|
6335
|
-
}
|
|
6336
6340
|
function D(L) {
|
|
6341
|
+
return P = L, x = setTimeout(W, d), T ? O(L) : z;
|
|
6342
|
+
}
|
|
6343
|
+
function $(L) {
|
|
6337
6344
|
var J = L - E, te = L - P, ee = d - J;
|
|
6338
6345
|
return R ? i(ee, I - te) : ee;
|
|
6339
6346
|
}
|
|
6340
|
-
function
|
|
6347
|
+
function H(L) {
|
|
6341
6348
|
var J = L - E, te = L - P;
|
|
6342
6349
|
return E === void 0 || J >= d || J < 0 || R && te >= I;
|
|
6343
6350
|
}
|
|
6344
6351
|
function W() {
|
|
6345
6352
|
var L = s();
|
|
6346
|
-
if (
|
|
6353
|
+
if (H(L))
|
|
6347
6354
|
return U(L);
|
|
6348
|
-
|
|
6355
|
+
x = setTimeout(W, $(L));
|
|
6349
6356
|
}
|
|
6350
6357
|
function U(L) {
|
|
6351
|
-
return
|
|
6358
|
+
return x = void 0, F && y ? O(L) : (y = _ = void 0, z);
|
|
6352
6359
|
}
|
|
6353
6360
|
function G() {
|
|
6354
|
-
|
|
6361
|
+
x !== void 0 && clearTimeout(x), P = 0, y = E = _ = x = void 0;
|
|
6355
6362
|
}
|
|
6356
6363
|
function X() {
|
|
6357
|
-
return
|
|
6364
|
+
return x === void 0 ? z : U(s());
|
|
6358
6365
|
}
|
|
6359
6366
|
function Z() {
|
|
6360
|
-
var L = s(), J =
|
|
6367
|
+
var L = s(), J = H(L);
|
|
6361
6368
|
if (y = arguments, _ = this, E = L, J) {
|
|
6362
|
-
if (
|
|
6363
|
-
return
|
|
6369
|
+
if (x === void 0)
|
|
6370
|
+
return D(E);
|
|
6364
6371
|
if (R)
|
|
6365
|
-
return clearTimeout(
|
|
6372
|
+
return clearTimeout(x), x = setTimeout(W, d), O(E);
|
|
6366
6373
|
}
|
|
6367
|
-
return
|
|
6374
|
+
return x === void 0 && (x = setTimeout(W, d)), z;
|
|
6368
6375
|
}
|
|
6369
6376
|
return Z.cancel = G, Z.flush = X, Z;
|
|
6370
6377
|
}
|
|
6371
|
-
return
|
|
6378
|
+
return $t = r, $t;
|
|
6372
6379
|
}
|
|
6373
6380
|
var Vt, Gs;
|
|
6374
|
-
function
|
|
6381
|
+
function Cc() {
|
|
6375
6382
|
if (Gs) return Vt;
|
|
6376
6383
|
Gs = 1;
|
|
6377
|
-
var t =
|
|
6384
|
+
var t = xc(), s = os(), e = "Expected a function";
|
|
6378
6385
|
function a(n, i, r) {
|
|
6379
6386
|
var c = !0, d = !0;
|
|
6380
6387
|
if (typeof n != "function")
|
|
@@ -6387,7 +6394,7 @@ function xc() {
|
|
|
6387
6394
|
}
|
|
6388
6395
|
return Vt = a, Vt;
|
|
6389
6396
|
}
|
|
6390
|
-
var Bc =
|
|
6397
|
+
var Bc = Cc();
|
|
6391
6398
|
const zc = /* @__PURE__ */ Ut(Bc), Ic = {
|
|
6392
6399
|
name: "Saturation",
|
|
6393
6400
|
props: {
|
|
@@ -6450,7 +6457,7 @@ const zc = /* @__PURE__ */ Ut(Bc), Ic = {
|
|
|
6450
6457
|
function Ec(t, s, e, a, n, i) {
|
|
6451
6458
|
return o(), l("div", {
|
|
6452
6459
|
class: "ecs-saturation",
|
|
6453
|
-
style:
|
|
6460
|
+
style: C({ background: i.bgColor }),
|
|
6454
6461
|
ref: "container",
|
|
6455
6462
|
onMousedown: s[0] || (s[0] = (...r) => i.handleMouseDown && i.handleMouseDown(...r)),
|
|
6456
6463
|
onTouchmove: s[1] || (s[1] = (...r) => i.handleChange && i.handleChange(...r)),
|
|
@@ -6460,7 +6467,7 @@ function Ec(t, s, e, a, n, i) {
|
|
|
6460
6467
|
s[5] || (s[5] = g("div", { class: "ecs-saturation--black" }, null, -1)),
|
|
6461
6468
|
g("div", {
|
|
6462
6469
|
class: "ecs-saturation-pointer",
|
|
6463
|
-
style:
|
|
6470
|
+
style: C({ top: i.pointerTop, left: i.pointerLeft })
|
|
6464
6471
|
}, s[3] || (s[3] = [
|
|
6465
6472
|
g("div", { class: "ecs-saturation-circle" }, null, -1)
|
|
6466
6473
|
]), 4)
|
|
@@ -6550,7 +6557,7 @@ function Oc(t, s, e, a, n, i) {
|
|
|
6550
6557
|
}, [
|
|
6551
6558
|
g("div", {
|
|
6552
6559
|
class: "ecs-hue-pointer",
|
|
6553
|
-
style:
|
|
6560
|
+
style: C({ top: i.pointerTop, left: i.pointerLeft }),
|
|
6554
6561
|
role: "presentation"
|
|
6555
6562
|
}, s[3] || (s[3] = [
|
|
6556
6563
|
g("div", { class: "ecs-hue-picker" }, null, -1)
|
|
@@ -6599,13 +6606,13 @@ function Rc(t, s, e) {
|
|
|
6599
6606
|
return Ht[a] = n, n;
|
|
6600
6607
|
}
|
|
6601
6608
|
}
|
|
6602
|
-
function
|
|
6609
|
+
function Dc(t, s, e, a, n, i) {
|
|
6603
6610
|
return o(), l("div", {
|
|
6604
6611
|
class: "ecs-checkerboard",
|
|
6605
|
-
style:
|
|
6612
|
+
style: C(i.bgStyle)
|
|
6606
6613
|
}, null, 4);
|
|
6607
6614
|
}
|
|
6608
|
-
const ki = /* @__PURE__ */ b(Lc, [["render",
|
|
6615
|
+
const ki = /* @__PURE__ */ b(Lc, [["render", Dc]]), $c = {
|
|
6609
6616
|
name: "Alpha",
|
|
6610
6617
|
props: {
|
|
6611
6618
|
modelValue: Object,
|
|
@@ -6658,7 +6665,7 @@ function Fc(t, s, e, a, n, i) {
|
|
|
6658
6665
|
]),
|
|
6659
6666
|
g("div", {
|
|
6660
6667
|
class: "ecs-alpha-gradient",
|
|
6661
|
-
style:
|
|
6668
|
+
style: C({ background: i.gradientColor })
|
|
6662
6669
|
}, null, 4),
|
|
6663
6670
|
g("div", {
|
|
6664
6671
|
class: "ecs-alpha-container",
|
|
@@ -6669,14 +6676,14 @@ function Fc(t, s, e, a, n, i) {
|
|
|
6669
6676
|
}, [
|
|
6670
6677
|
g("div", {
|
|
6671
6678
|
class: "ecs-alpha-pointer",
|
|
6672
|
-
style:
|
|
6679
|
+
style: C({ left: i.colors.a * 100 + "%" })
|
|
6673
6680
|
}, s[3] || (s[3] = [
|
|
6674
6681
|
g("div", { class: "ecs-alpha-picker" }, null, -1)
|
|
6675
6682
|
]), 4)
|
|
6676
6683
|
], 544)
|
|
6677
6684
|
]);
|
|
6678
6685
|
}
|
|
6679
|
-
const qc = /* @__PURE__ */ b(
|
|
6686
|
+
const qc = /* @__PURE__ */ b($c, [["render", Fc]]), Wc = {
|
|
6680
6687
|
name: "ecs-color-picker",
|
|
6681
6688
|
mixins: [nc],
|
|
6682
6689
|
components: {
|
|
@@ -6803,7 +6810,7 @@ function nd(t, s, e, a, n, i) {
|
|
|
6803
6810
|
role: "application",
|
|
6804
6811
|
"aria-label": "Color picker",
|
|
6805
6812
|
class: v(["ecs-color-picker", e.disableAlpha ? "ecs-color-picker__disable-alpha" : ""]),
|
|
6806
|
-
style:
|
|
6813
|
+
style: C({ padding: e.padding + "px", width: 216 + 2 * e.padding + "px" })
|
|
6807
6814
|
}, [
|
|
6808
6815
|
e.disableCustom ? u("", !0) : (o(), l("div", jc, [
|
|
6809
6816
|
k(r, {
|
|
@@ -6872,11 +6879,11 @@ function nd(t, s, e, a, n, i) {
|
|
|
6872
6879
|
])) : u("", !0),
|
|
6873
6880
|
g("div", {
|
|
6874
6881
|
class: "ecs-color-picker-presets",
|
|
6875
|
-
style:
|
|
6882
|
+
style: C(e.disableCustom ? "" : "padding-top: var(--spacing-10)"),
|
|
6876
6883
|
role: "group",
|
|
6877
6884
|
"aria-label": "A color preset, pick one to set as current color"
|
|
6878
6885
|
}, [
|
|
6879
|
-
(o(!0), l(
|
|
6886
|
+
(o(!0), l(V, null, se(e.swatches, (_) => (o(), l(V, null, [
|
|
6880
6887
|
t.isTransparent(_.hex) ? (o(), l("div", {
|
|
6881
6888
|
key: "else-" + _.id,
|
|
6882
6889
|
"aria-label": _.title,
|
|
@@ -6889,7 +6896,7 @@ function nd(t, s, e, a, n, i) {
|
|
|
6889
6896
|
class: v(["ecs-color-picker-presets-color", { active: t.colors.hex === _.hex }]),
|
|
6890
6897
|
"aria-label": _.title,
|
|
6891
6898
|
key: "if-" + _.id,
|
|
6892
|
-
style:
|
|
6899
|
+
style: C({ background: _.hex }),
|
|
6893
6900
|
"aria-selected": t.colors.hex === _.hex ? "true" : "false",
|
|
6894
6901
|
title: _.title,
|
|
6895
6902
|
onClick: (I) => i.handlePreset(_.hex)
|
|
@@ -6900,7 +6907,7 @@ function nd(t, s, e, a, n, i) {
|
|
|
6900
6907
|
class: v(["ecs-color-picker-presets-color active", i.isActiveColorDark ? "dark" : "light"]),
|
|
6901
6908
|
"aria-label": "Custom color",
|
|
6902
6909
|
"aria-selected": "true",
|
|
6903
|
-
style:
|
|
6910
|
+
style: C({ background: t.colors.hex })
|
|
6904
6911
|
}, null, 6))
|
|
6905
6912
|
], 4)
|
|
6906
6913
|
], 6);
|
|
@@ -6984,7 +6991,7 @@ function rd(t, s, e, a, n, i) {
|
|
|
6984
6991
|
default: S(() => [
|
|
6985
6992
|
g("button", {
|
|
6986
6993
|
class: v(["ecs-color-picker-input-button", i.sizeClass]),
|
|
6987
|
-
style:
|
|
6994
|
+
style: C(i.selectedColorStyle)
|
|
6988
6995
|
}, [
|
|
6989
6996
|
g("span", null, w(i.selectedColorName), 1)
|
|
6990
6997
|
], 6)
|
|
@@ -6992,9 +6999,9 @@ function rd(t, s, e, a, n, i) {
|
|
|
6992
6999
|
_: 1
|
|
6993
7000
|
});
|
|
6994
7001
|
}
|
|
6995
|
-
const
|
|
7002
|
+
const e_ = /* @__PURE__ */ b(od, [["render", rd], ["__scopeId", "data-v-08aaa823"]]), ld = {
|
|
6996
7003
|
name: "ecs-data-card",
|
|
6997
|
-
components: { EcsIcon: M, EcsSkeletonLoader: ie, EcsButtonTable: ns, EcsButton:
|
|
7004
|
+
components: { EcsIcon: M, EcsSkeletonLoader: ie, EcsButtonTable: ns, EcsButton: be, EcsFocusRing: N },
|
|
6998
7005
|
mixins: [me],
|
|
6999
7006
|
props: {
|
|
7000
7007
|
/** 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). */
|
|
@@ -7186,7 +7193,7 @@ function pd(t, s, e, a, n, i) {
|
|
|
7186
7193
|
})) : u("", !0)
|
|
7187
7194
|
], 10, cd);
|
|
7188
7195
|
}
|
|
7189
|
-
const
|
|
7196
|
+
const t_ = /* @__PURE__ */ b(ld, [["render", pd], ["__scopeId", "data-v-ba0c6801"]]), vd = {
|
|
7190
7197
|
name: "ecs-data-card-list"
|
|
7191
7198
|
}, yd = {
|
|
7192
7199
|
class: "ecs-data-card-list",
|
|
@@ -7197,7 +7204,7 @@ function bd(t, s, e, a, n, i) {
|
|
|
7197
7204
|
h(t.$slots, "default")
|
|
7198
7205
|
]);
|
|
7199
7206
|
}
|
|
7200
|
-
const
|
|
7207
|
+
const s_ = /* @__PURE__ */ b(vd, [["render", bd]]), _d = {
|
|
7201
7208
|
name: "ecs-party-entry",
|
|
7202
7209
|
components: { EcsIcon: M, EcsSticker: qe },
|
|
7203
7210
|
props: {
|
|
@@ -7287,12 +7294,12 @@ function wd(t, s, e, a, n, i) {
|
|
|
7287
7294
|
const r = m("ecs-icon"), c = m("ecs-sticker");
|
|
7288
7295
|
return o(), l("div", {
|
|
7289
7296
|
class: v(["ecs-party-entry", [e.party, e.color && e.background ? "ecs-party-entry-colored" : ""]]),
|
|
7290
|
-
style:
|
|
7297
|
+
style: C({ color: e.color })
|
|
7291
7298
|
}, [
|
|
7292
7299
|
e.icon && e.iconPosition == "left" ? (o(), l("div", {
|
|
7293
7300
|
key: 0,
|
|
7294
7301
|
class: "ecs-party-entry-icon",
|
|
7295
|
-
style:
|
|
7302
|
+
style: C("margin-right:" + e.iconSpacing)
|
|
7296
7303
|
}, [
|
|
7297
7304
|
k(r, {
|
|
7298
7305
|
type: i.iconType,
|
|
@@ -7311,7 +7318,7 @@ function wd(t, s, e, a, n, i) {
|
|
|
7311
7318
|
e.icon && e.iconPosition == "right" ? (o(), l("div", {
|
|
7312
7319
|
key: 1,
|
|
7313
7320
|
class: "ecs-party-entry-icon",
|
|
7314
|
-
style:
|
|
7321
|
+
style: C("margin-left:" + e.iconSpacing)
|
|
7315
7322
|
}, [
|
|
7316
7323
|
k(r, {
|
|
7317
7324
|
type: i.iconType,
|
|
@@ -7327,9 +7334,9 @@ function wd(t, s, e, a, n, i) {
|
|
|
7327
7334
|
e.background ? (o(), l("div", kd)) : u("", !0)
|
|
7328
7335
|
], 6);
|
|
7329
7336
|
}
|
|
7330
|
-
const Sd = /* @__PURE__ */ b(_d, [["render", wd], ["__scopeId", "data-v-4f34cac7"]]),
|
|
7337
|
+
const Sd = /* @__PURE__ */ b(_d, [["render", wd], ["__scopeId", "data-v-4f34cac7"]]), xd = {
|
|
7331
7338
|
name: "ecs-data-card-row",
|
|
7332
|
-
components: { EcsIcon: M, EcsButton:
|
|
7339
|
+
components: { EcsIcon: M, EcsButton: be, EcsPartyEntry: Sd, EcsButtonTable: ns },
|
|
7333
7340
|
emits: ["pill-click", "open-button-click", "title-click", "count-click"],
|
|
7334
7341
|
data() {
|
|
7335
7342
|
return {
|
|
@@ -7513,7 +7520,7 @@ const Sd = /* @__PURE__ */ b(_d, [["render", wd], ["__scopeId", "data-v-4f34cac7
|
|
|
7513
7520
|
this.checkTruncation(this.$refs.pillText), this.checkTruncation(this.$refs.titleText), this.checkTruncation(this.$refs.metaText);
|
|
7514
7521
|
});
|
|
7515
7522
|
}
|
|
7516
|
-
},
|
|
7523
|
+
}, Cd = { class: "ecs-data-card-row" }, Bd = { class: "ecs-data-card-row-title-container" }, zd = { class: "text" }, Id = {
|
|
7517
7524
|
key: 2,
|
|
7518
7525
|
class: "border"
|
|
7519
7526
|
}, Ed = {
|
|
@@ -7521,9 +7528,9 @@ const Sd = /* @__PURE__ */ b(_d, [["render", wd], ["__scopeId", "data-v-4f34cac7
|
|
|
7521
7528
|
class: "ecs-data-card-row-meta-pills-container"
|
|
7522
7529
|
};
|
|
7523
7530
|
function Td(t, s, e, a, n, i) {
|
|
7524
|
-
var y, _, I, z,
|
|
7531
|
+
var y, _, I, z, x;
|
|
7525
7532
|
const r = m("ecs-button"), c = m("ecs-party-entry"), d = m("ecs-icon"), f = m("ecs-button-table");
|
|
7526
|
-
return o(), l("div",
|
|
7533
|
+
return o(), l("div", Cd, [
|
|
7527
7534
|
i.computedOpenButton ? (o(), p(r, {
|
|
7528
7535
|
key: 0,
|
|
7529
7536
|
onClick: i.openButtonClick,
|
|
@@ -7563,7 +7570,7 @@ function Td(t, s, e, a, n, i) {
|
|
|
7563
7570
|
onMouseenter: s[3] || (s[3] = (E) => i.handleHover(!0)),
|
|
7564
7571
|
onMouseleave: s[4] || (s[4] = (E) => i.handleHover(!1)),
|
|
7565
7572
|
class: v(["ecs-data-card-row-pill", { clickable: e.pill.clickable, emphasized: e.pill.emphasized, "has-background": e.pill.background, ai: e.pill.ai, "is-hovered": n.isHovered }]),
|
|
7566
|
-
style:
|
|
7573
|
+
style: C({ color: e.pill.color }),
|
|
7567
7574
|
ref: "pillText"
|
|
7568
7575
|
}, [
|
|
7569
7576
|
e.pill.icon ? (o(), p(d, {
|
|
@@ -7576,7 +7583,7 @@ function Td(t, s, e, a, n, i) {
|
|
|
7576
7583
|
e.pill.background ? (o(), l("span", {
|
|
7577
7584
|
key: 1,
|
|
7578
7585
|
class: "background",
|
|
7579
|
-
style:
|
|
7586
|
+
style: C(i.getPillBackgroundStyle)
|
|
7580
7587
|
}, null, 4)) : u("", !0),
|
|
7581
7588
|
e.pill.border && e.pill.background ? (o(), l("span", Id)) : u("", !0)
|
|
7582
7589
|
], 38)) : u("", !0),
|
|
@@ -7595,7 +7602,7 @@ function Td(t, s, e, a, n, i) {
|
|
|
7595
7602
|
onMouseenter: s[6] || (s[6] = (E) => i.handleHover(!0)),
|
|
7596
7603
|
onMouseleave: s[7] || (s[7] = (E) => i.handleHover(!1)),
|
|
7597
7604
|
class: v(["ecs-data-card-row-title-text", { escape: e.wrap === "wrap-row", clickable: e.title.clickable, emphasized: e.title.emphasized, "is-hovered": n.isHovered }]),
|
|
7598
|
-
style:
|
|
7605
|
+
style: C({ color: e.title.textColor }),
|
|
7599
7606
|
ref: "titleText"
|
|
7600
7607
|
}, w(e.title.text), 39),
|
|
7601
7608
|
h(t.$slots, "titleControls", {}, void 0, !0)
|
|
@@ -7606,7 +7613,7 @@ function Td(t, s, e, a, n, i) {
|
|
|
7606
7613
|
class: v([{ ai: (_ = e.meta) == null ? void 0 : _.ai, default: ((I = e.meta) == null ? void 0 : I.type) === "default", identifier: ((z = e.meta) == null ? void 0 : z.type) === "identifier" }, "ecs-data-card-row-meta-container"]),
|
|
7607
7614
|
ref: "metaText"
|
|
7608
7615
|
}, [
|
|
7609
|
-
A(w((
|
|
7616
|
+
A(w((x = e.meta) == null ? void 0 : x.text) + " ", 1),
|
|
7610
7617
|
h(t.$slots, "customMeta", {}, void 0, !0)
|
|
7611
7618
|
], 2)) : u("", !0),
|
|
7612
7619
|
e.count || e.designation ? (o(), l("div", Ed, [
|
|
@@ -7642,7 +7649,7 @@ function Td(t, s, e, a, n, i) {
|
|
|
7642
7649
|
], 2)
|
|
7643
7650
|
]);
|
|
7644
7651
|
}
|
|
7645
|
-
const
|
|
7652
|
+
const i_ = /* @__PURE__ */ b(xd, [["render", Td], ["__scopeId", "data-v-78507101"]]), Pd = {
|
|
7646
7653
|
name: "ecs-data-grid",
|
|
7647
7654
|
emits: ["tableScroll"],
|
|
7648
7655
|
props: {
|
|
@@ -7726,7 +7733,7 @@ function Ld(t, s, e, a, n, i) {
|
|
|
7726
7733
|
])) : u("", !0)
|
|
7727
7734
|
], 42, Md);
|
|
7728
7735
|
}
|
|
7729
|
-
const
|
|
7736
|
+
const n_ = /* @__PURE__ */ b(Pd, [["render", Ld], ["__scopeId", "data-v-60369c9b"]]), Nd = {
|
|
7730
7737
|
name: "ecs-data-grid-row",
|
|
7731
7738
|
emits: ["rowdrop", "click", "contextmenu", "dblclick", "collapse"],
|
|
7732
7739
|
props: {
|
|
@@ -7788,7 +7795,7 @@ const e_ = /* @__PURE__ */ b(Pd, [["render", Ld], ["__scopeId", "data-v-60369c9b
|
|
|
7788
7795
|
key: 1,
|
|
7789
7796
|
class: "ecs-data-grid-row-block"
|
|
7790
7797
|
};
|
|
7791
|
-
function
|
|
7798
|
+
function Dd(t, s, e, a, n, i) {
|
|
7792
7799
|
return o(), l("div", {
|
|
7793
7800
|
class: v(["ecs-data-grid-row", [
|
|
7794
7801
|
e.state,
|
|
@@ -7808,11 +7815,11 @@ function $d(t, s, e, a, n, i) {
|
|
|
7808
7815
|
h(t.$slots, "default", {}, void 0, !0)
|
|
7809
7816
|
], 2);
|
|
7810
7817
|
}
|
|
7811
|
-
const
|
|
7818
|
+
const $d = /* @__PURE__ */ b(Nd, [["render", Dd], ["__scopeId", "data-v-ae6888e6"]]), Vd = {
|
|
7812
7819
|
name: "ecs-data-grid-row-group",
|
|
7813
7820
|
emits: ["toggle"],
|
|
7814
7821
|
components: {
|
|
7815
|
-
EcsDataGridRow:
|
|
7822
|
+
EcsDataGridRow: $d
|
|
7816
7823
|
},
|
|
7817
7824
|
props: {
|
|
7818
7825
|
/** Determines the style type of the row groups header row. */
|
|
@@ -7866,7 +7873,7 @@ function qd(t, s, e, a, n, i) {
|
|
|
7866
7873
|
], 10, Fd)
|
|
7867
7874
|
]);
|
|
7868
7875
|
}
|
|
7869
|
-
const
|
|
7876
|
+
const a_ = /* @__PURE__ */ b(Vd, [["render", qd], ["__scopeId", "data-v-c6e97366"]]), Wd = {
|
|
7870
7877
|
name: "ecs-select",
|
|
7871
7878
|
emits: [
|
|
7872
7879
|
"focus",
|
|
@@ -8249,7 +8256,7 @@ function du(t, s, e, a, n, i) {
|
|
|
8249
8256
|
e.fixedLeftLast ? "fixed-left-last" : "",
|
|
8250
8257
|
e.fixedRight ? "fixed-right" : ""
|
|
8251
8258
|
]]),
|
|
8252
|
-
style:
|
|
8259
|
+
style: C([
|
|
8253
8260
|
i.widthType === "string" ? i.widthStyles : {},
|
|
8254
8261
|
i.fixedStyles
|
|
8255
8262
|
]),
|
|
@@ -8261,7 +8268,7 @@ function du(t, s, e, a, n, i) {
|
|
|
8261
8268
|
g("div", {
|
|
8262
8269
|
ref: "resizer",
|
|
8263
8270
|
class: v(["ecs-data-grid-head-cell-inner", e.resizable ? "resizable" : ""]),
|
|
8264
|
-
style:
|
|
8271
|
+
style: C([
|
|
8265
8272
|
i.widthType === "number" ? i.widthStyles : { width: "100%" },
|
|
8266
8273
|
i.paddingStyles,
|
|
8267
8274
|
i.resizeStyles,
|
|
@@ -8293,7 +8300,7 @@ function du(t, s, e, a, n, i) {
|
|
|
8293
8300
|
type: "invisible"
|
|
8294
8301
|
}, {
|
|
8295
8302
|
default: S(() => [
|
|
8296
|
-
(o(!0), l(
|
|
8303
|
+
(o(!0), l(V, null, se(e.select, (f, y) => (o(), l("option", {
|
|
8297
8304
|
key: y,
|
|
8298
8305
|
selected: f.selected,
|
|
8299
8306
|
value: f.value
|
|
@@ -8339,7 +8346,7 @@ function du(t, s, e, a, n, i) {
|
|
|
8339
8346
|
e.fixedLeftLast ? (o(), l("div", cu)) : u("", !0)
|
|
8340
8347
|
], 14, Xd);
|
|
8341
8348
|
}
|
|
8342
|
-
const
|
|
8349
|
+
const o_ = /* @__PURE__ */ b(Yd, [["render", du], ["__scopeId", "data-v-11da2180"]]), uu = {
|
|
8343
8350
|
name: "ecs-data-grid-group",
|
|
8344
8351
|
props: {
|
|
8345
8352
|
/** Determines if this cell group should be shown. Avoid showing more than 1 group at the same time. */
|
|
@@ -8365,7 +8372,7 @@ function gu(t, s, e, a, n, i) {
|
|
|
8365
8372
|
[it, e.show]
|
|
8366
8373
|
]);
|
|
8367
8374
|
}
|
|
8368
|
-
const
|
|
8375
|
+
const r_ = /* @__PURE__ */ b(uu, [["render", gu], ["__scopeId", "data-v-ee025ab5"]]), mu = {
|
|
8369
8376
|
name: "ecs-data-grid-cell",
|
|
8370
8377
|
emits: ["collapse"],
|
|
8371
8378
|
components: {
|
|
@@ -8513,13 +8520,13 @@ function bu(t, s, e, a, n, i) {
|
|
|
8513
8520
|
const r = m("ecs-button-collapse");
|
|
8514
8521
|
return o(), l("div", {
|
|
8515
8522
|
class: v(["ecs-data-grid-cell", [e.fixedLeft ? "fixed-left" : "", e.fixedLeftLast ? "fixed-left-last" : "", e.fixedRight ? "fixed-right" : ""]]),
|
|
8516
|
-
style:
|
|
8523
|
+
style: C([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
|
|
8517
8524
|
role: "cell"
|
|
8518
8525
|
}, [
|
|
8519
8526
|
e.fixedRight ? (o(), l("div", hu)) : u("", !0),
|
|
8520
8527
|
g("div", {
|
|
8521
8528
|
class: v(["ecs-data-grid-cell-inner", { focus: e.focus }]),
|
|
8522
|
-
style:
|
|
8529
|
+
style: C([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, e.styles]),
|
|
8523
8530
|
"data-column": i.computedId,
|
|
8524
8531
|
"data-test": i.computedId
|
|
8525
8532
|
}, [
|
|
@@ -8536,7 +8543,7 @@ function bu(t, s, e, a, n, i) {
|
|
|
8536
8543
|
e.fixedLeftLast ? (o(), l("div", yu)) : u("", !0)
|
|
8537
8544
|
], 6);
|
|
8538
8545
|
}
|
|
8539
|
-
const
|
|
8546
|
+
const l_ = /* @__PURE__ */ b(mu, [["render", bu], ["__scopeId", "data-v-82bc0b07"]]), _u = {
|
|
8540
8547
|
name: "ecs-data-list"
|
|
8541
8548
|
}, ku = {
|
|
8542
8549
|
class: "ecs-data-list",
|
|
@@ -8547,7 +8554,7 @@ function wu(t, s, e, a, n, i) {
|
|
|
8547
8554
|
h(t.$slots, "default")
|
|
8548
8555
|
]);
|
|
8549
8556
|
}
|
|
8550
|
-
const
|
|
8557
|
+
const c_ = /* @__PURE__ */ b(_u, [["render", wu]]), Su = {
|
|
8551
8558
|
name: "ecs-data-list-item",
|
|
8552
8559
|
emits: ["toggled"],
|
|
8553
8560
|
components: { EcsButtonMore: vi, EcsSkeletonLoader: ie },
|
|
@@ -8663,7 +8670,7 @@ const a_ = /* @__PURE__ */ b(_u, [["render", wu]]), Su = {
|
|
|
8663
8670
|
created() {
|
|
8664
8671
|
this.expandId = this.generateUniqueId(), this.definitionId = this.generateUniqueId();
|
|
8665
8672
|
}
|
|
8666
|
-
},
|
|
8673
|
+
}, xu = ["id"], Cu = ["aria-busy", "aria-labelledby"], Bu = ["aria-valuenow"], zu = ["id", "aria-hidden"];
|
|
8667
8674
|
function Iu(t, s, e, a, n, i) {
|
|
8668
8675
|
const r = m("ecs-button-more"), c = m("ecs-skeleton-loader");
|
|
8669
8676
|
return o(), l("div", null, [
|
|
@@ -8682,7 +8689,7 @@ function Iu(t, s, e, a, n, i) {
|
|
|
8682
8689
|
i.hasIdentifier ? (o(), l("div", {
|
|
8683
8690
|
key: 0,
|
|
8684
8691
|
id: n.definitionId,
|
|
8685
|
-
style:
|
|
8692
|
+
style: C(i.identifierStyle),
|
|
8686
8693
|
class: "ecs-data-list-identifier"
|
|
8687
8694
|
}, [
|
|
8688
8695
|
A(w(e.identifier) + " ", 1),
|
|
@@ -8695,7 +8702,7 @@ function Iu(t, s, e, a, n, i) {
|
|
|
8695
8702
|
"aria-expanded": n.isVisible ? "true" : "false",
|
|
8696
8703
|
onClick: i.toggleCollapse
|
|
8697
8704
|
}, null, 8, ["active", "aria-controls", "aria-expanded", "onClick"])) : u("", !0)
|
|
8698
|
-
], 12,
|
|
8705
|
+
], 12, xu)) : u("", !0),
|
|
8699
8706
|
g("div", {
|
|
8700
8707
|
class: v(["ecs-data-list-data", [
|
|
8701
8708
|
e.escape ? "ecs-data-list-data-escape" : "",
|
|
@@ -8715,10 +8722,10 @@ function Iu(t, s, e, a, n, i) {
|
|
|
8715
8722
|
key: 2,
|
|
8716
8723
|
class: "progress",
|
|
8717
8724
|
role: "progressbar",
|
|
8718
|
-
style:
|
|
8725
|
+
style: C({ width: e.progress + "%" }),
|
|
8719
8726
|
"aria-valuenow": e.progress
|
|
8720
8727
|
}, null, 12, Bu)) : u("", !0)
|
|
8721
|
-
], 10,
|
|
8728
|
+
], 10, Cu)
|
|
8722
8729
|
], 2),
|
|
8723
8730
|
t.$slots.collapse ? (o(), l("div", {
|
|
8724
8731
|
key: 0,
|
|
@@ -8731,7 +8738,7 @@ function Iu(t, s, e, a, n, i) {
|
|
|
8731
8738
|
], 10, zu)) : u("", !0)
|
|
8732
8739
|
]);
|
|
8733
8740
|
}
|
|
8734
|
-
const
|
|
8741
|
+
const d_ = /* @__PURE__ */ b(Su, [["render", Iu], ["__scopeId", "data-v-133b00b9"]]), Eu = {
|
|
8735
8742
|
name: "ecs-dialog",
|
|
8736
8743
|
emits: ["toggled", "cancel"],
|
|
8737
8744
|
props: {
|
|
@@ -8845,7 +8852,7 @@ function Pu(t, s, e, a, n, i) {
|
|
|
8845
8852
|
], 2)) : u("", !0)
|
|
8846
8853
|
], 34)) : u("", !0);
|
|
8847
8854
|
}
|
|
8848
|
-
const
|
|
8855
|
+
const u_ = /* @__PURE__ */ b(Eu, [["render", Pu]]), Mu = {
|
|
8849
8856
|
__name: "state-icon",
|
|
8850
8857
|
props: {
|
|
8851
8858
|
/** The identifier of the icon which should show up. */
|
|
@@ -8909,7 +8916,7 @@ const r_ = /* @__PURE__ */ b(Eu, [["render", Pu]]), Mu = {
|
|
|
8909
8916
|
));
|
|
8910
8917
|
}), (n, i) => (o(), l("div", {
|
|
8911
8918
|
class: v(["ecs-state-icon", t.iconColor]),
|
|
8912
|
-
style:
|
|
8919
|
+
style: C(e.value)
|
|
8913
8920
|
}, [
|
|
8914
8921
|
(o(), p(ve(de(a)), {
|
|
8915
8922
|
height: t.size,
|
|
@@ -8957,7 +8964,7 @@ function Ru(t, s, e, a, n, i) {
|
|
|
8957
8964
|
]))
|
|
8958
8965
|
]);
|
|
8959
8966
|
}
|
|
8960
|
-
const
|
|
8967
|
+
const f_ = /* @__PURE__ */ b(Au, [["render", Ru], ["__scopeId", "data-v-6e05c98b"]]), Du = {
|
|
8961
8968
|
__name: "favicon",
|
|
8962
8969
|
props: {
|
|
8963
8970
|
/** The identifier of the favicon which should show up. */
|
|
@@ -8999,11 +9006,11 @@ const l_ = /* @__PURE__ */ b(Au, [["render", Ru], ["__scopeId", "data-v-6e05c98b
|
|
|
8999
9006
|
viewBox: "0 0 20 20"
|
|
9000
9007
|
}, null, 8, ["alt"]));
|
|
9001
9008
|
}
|
|
9002
|
-
},
|
|
9009
|
+
}, $u = {
|
|
9003
9010
|
name: "ecs-directory-entry",
|
|
9004
9011
|
components: {
|
|
9005
9012
|
EcsIcon: M,
|
|
9006
|
-
EcsFavicon:
|
|
9013
|
+
EcsFavicon: Du,
|
|
9007
9014
|
EcsAvatar: nt,
|
|
9008
9015
|
EcsSkeletonLoader: ie
|
|
9009
9016
|
},
|
|
@@ -9081,13 +9088,13 @@ function Wu(t, s, e, a, n, i) {
|
|
|
9081
9088
|
}, null, 8, ["website"])) : e.legendColor ? (o(), l("div", Fu, [
|
|
9082
9089
|
g("div", {
|
|
9083
9090
|
class: "legend-color-dot",
|
|
9084
|
-
style:
|
|
9091
|
+
style: C("background-color:" + e.legendColor)
|
|
9085
9092
|
}, null, 4)
|
|
9086
9093
|
])) : u("", !0),
|
|
9087
9094
|
e.indicator && !e.loading ? (o(), l("div", {
|
|
9088
9095
|
key: 5,
|
|
9089
9096
|
class: "indicator",
|
|
9090
|
-
style:
|
|
9097
|
+
style: C("background-color:" + e.indicator)
|
|
9091
9098
|
}, null, 4)) : u("", !0)
|
|
9092
9099
|
]),
|
|
9093
9100
|
g("div", qu, [
|
|
@@ -9099,7 +9106,7 @@ function Wu(t, s, e, a, n, i) {
|
|
|
9099
9106
|
])
|
|
9100
9107
|
]);
|
|
9101
9108
|
}
|
|
9102
|
-
const
|
|
9109
|
+
const g_ = /* @__PURE__ */ b($u, [["render", Wu], ["__scopeId", "data-v-37ac5196"]]), ju = {
|
|
9103
9110
|
name: "ecs-document-state",
|
|
9104
9111
|
components: {
|
|
9105
9112
|
EcsIcon: M,
|
|
@@ -9167,7 +9174,7 @@ function Ju(t, s, e, a, n, i) {
|
|
|
9167
9174
|
])) : u("", !0)
|
|
9168
9175
|
], 8, Uu));
|
|
9169
9176
|
}
|
|
9170
|
-
const
|
|
9177
|
+
const m_ = /* @__PURE__ */ b(ju, [["render", Ju], ["__scopeId", "data-v-df132a03"]]), Qu = {
|
|
9171
9178
|
props: {
|
|
9172
9179
|
/** The initial value of the chart as a percentage. */
|
|
9173
9180
|
value: {
|
|
@@ -9220,7 +9227,7 @@ const d_ = /* @__PURE__ */ b(ju, [["render", Ju], ["__scopeId", "data-v-df132a03
|
|
|
9220
9227
|
function nf(t, s, e, a, n, i) {
|
|
9221
9228
|
return o(), l("div", {
|
|
9222
9229
|
class: "ecs-donut-chart",
|
|
9223
|
-
style:
|
|
9230
|
+
style: C(i.wrapperPadding)
|
|
9224
9231
|
}, [
|
|
9225
9232
|
(o(), l("svg", {
|
|
9226
9233
|
height: e.size,
|
|
@@ -9256,7 +9263,7 @@ function nf(t, s, e, a, n, i) {
|
|
|
9256
9263
|
], 8, ef))
|
|
9257
9264
|
], 4);
|
|
9258
9265
|
}
|
|
9259
|
-
const
|
|
9266
|
+
const h_ = /* @__PURE__ */ b(Qu, [["render", nf], ["__scopeId", "data-v-851d95d9"]]), af = {
|
|
9260
9267
|
name: "ecs-empty-state",
|
|
9261
9268
|
components: { EcsIcon: M },
|
|
9262
9269
|
props: {
|
|
@@ -9361,7 +9368,7 @@ function ff(t, s, e, a, n, i) {
|
|
|
9361
9368
|
e.infinite ? "ecs-progress-infinite" : "",
|
|
9362
9369
|
e.cancelled ? "ecs-progress-cancelled" : ""
|
|
9363
9370
|
]]),
|
|
9364
|
-
style:
|
|
9371
|
+
style: C({ width: 100 * (e.value / i.computedMax) + "%" })
|
|
9365
9372
|
}, null, 6)
|
|
9366
9373
|
], 8, uf);
|
|
9367
9374
|
}
|
|
@@ -9372,11 +9379,11 @@ const gf = /* @__PURE__ */ b(df, [["render", ff], ["__scopeId", "data-v-1b81f485
|
|
|
9372
9379
|
EcsEmptyState: Si,
|
|
9373
9380
|
EcsSkeletonLoader: ie,
|
|
9374
9381
|
EcsProgress: gf,
|
|
9375
|
-
EcsButton:
|
|
9382
|
+
EcsButton: be,
|
|
9376
9383
|
EcsFocusRing: N,
|
|
9377
9384
|
EcsFlexRow: Ee,
|
|
9378
9385
|
EcsSticker: qe,
|
|
9379
|
-
EcsTextV2:
|
|
9386
|
+
EcsTextV2: We
|
|
9380
9387
|
},
|
|
9381
9388
|
props: {
|
|
9382
9389
|
/** Determines the icon that should be shown inside the drop zone. Possible states: `default`, `upload`, `viruscheck`. */
|
|
@@ -9532,15 +9539,15 @@ function wf(t, s, e, a, n, i) {
|
|
|
9532
9539
|
e.disabled ? "ecs-dropzone-disabled" : "",
|
|
9533
9540
|
n.dragging ? "ecs-dropzone-dragging" : ""
|
|
9534
9541
|
]]),
|
|
9535
|
-
onDragover: s[3] || (s[3] = (...
|
|
9536
|
-
onDragenter: s[4] || (s[4] = (...
|
|
9537
|
-
onDragleave: s[5] || (s[5] = (...
|
|
9538
|
-
onDrop: s[6] || (s[6] = Y((...
|
|
9542
|
+
onDragover: s[3] || (s[3] = (...x) => i.handleDragOver && i.handleDragOver(...x)),
|
|
9543
|
+
onDragenter: s[4] || (s[4] = (...x) => i.handleDragEnter && i.handleDragEnter(...x)),
|
|
9544
|
+
onDragleave: s[5] || (s[5] = (...x) => i.handleDragLeave && i.handleDragLeave(...x)),
|
|
9545
|
+
onDrop: s[6] || (s[6] = Y((...x) => i.drop && i.drop(...x), ["prevent"])),
|
|
9539
9546
|
"aria-busy": i.isBusy || null,
|
|
9540
9547
|
"aria-invalid": e.error || null
|
|
9541
9548
|
}, [
|
|
9542
9549
|
g("input", {
|
|
9543
|
-
onChange: s[0] || (s[0] = (...
|
|
9550
|
+
onChange: s[0] || (s[0] = (...x) => i.change && i.change(...x)),
|
|
9544
9551
|
type: "file",
|
|
9545
9552
|
multiple: e.multiple || null,
|
|
9546
9553
|
ref: "file"
|
|
@@ -9556,11 +9563,11 @@ function wf(t, s, e, a, n, i) {
|
|
|
9556
9563
|
width: 100,
|
|
9557
9564
|
class: "ecs-dropzone-skeleton"
|
|
9558
9565
|
})) : (o(), l("div", vf, [
|
|
9559
|
-
t.$slots.customlabel ? u("", !0) : (o(), l(
|
|
9566
|
+
t.$slots.customlabel ? u("", !0) : (o(), l(V, { key: 0 }, [
|
|
9560
9567
|
A(" Drag and drop your " + w(e.fileTypeLabel) + " or ", 1),
|
|
9561
9568
|
g("i", {
|
|
9562
|
-
onClick: s[1] || (s[1] = (...
|
|
9563
|
-
onKeydown: s[2] || (s[2] = Q((...
|
|
9569
|
+
onClick: s[1] || (s[1] = (...x) => i.browseFile && i.browseFile(...x)),
|
|
9570
|
+
onKeydown: s[2] || (s[2] = Q((...x) => i.browseFile && i.browseFile(...x), ["enter"])),
|
|
9564
9571
|
tabindex: "0"
|
|
9565
9572
|
}, [
|
|
9566
9573
|
s[7] || (s[7] = A("browse")),
|
|
@@ -9643,7 +9650,7 @@ function wf(t, s, e, a, n, i) {
|
|
|
9643
9650
|
}, 8, ["onClick", "icon"])) : u("", !0)
|
|
9644
9651
|
], 42, hf);
|
|
9645
9652
|
}
|
|
9646
|
-
const
|
|
9653
|
+
const p_ = /* @__PURE__ */ b(mf, [["render", wf], ["__scopeId", "data-v-2c790ae4"]]), Sf = {
|
|
9647
9654
|
name: "ecs-ecai-wrapper",
|
|
9648
9655
|
components: { EcsIcon: M },
|
|
9649
9656
|
props: {
|
|
@@ -9679,11 +9686,11 @@ const f_ = /* @__PURE__ */ b(mf, [["render", wf], ["__scopeId", "data-v-2c790ae4
|
|
|
9679
9686
|
}
|
|
9680
9687
|
}
|
|
9681
9688
|
};
|
|
9682
|
-
function
|
|
9689
|
+
function xf(t, s, e, a, n, i) {
|
|
9683
9690
|
const r = m("ecs-icon");
|
|
9684
9691
|
return o(), l("div", {
|
|
9685
9692
|
class: v(["ecs-ecai-wrapper", { border: i.hasBorder }]),
|
|
9686
|
-
style:
|
|
9693
|
+
style: C(i.wrapperStyle)
|
|
9687
9694
|
}, [
|
|
9688
9695
|
s[0] || (s[0] = Js('<span class="border-gradient" data-v-05133d05></span><div class="ecai-background" data-v-05133d05><span class="bg-circle bg-circle-1" data-v-05133d05></span><span class="bg-circle bg-circle-2" data-v-05133d05></span><span class="bg-circle bg-circle-3" data-v-05133d05></span></div>', 2)),
|
|
9689
9696
|
e.icon ? (o(), p(r, {
|
|
@@ -9695,7 +9702,7 @@ function Cf(t, s, e, a, n, i) {
|
|
|
9695
9702
|
h(t.$slots, "default", {}, void 0, !0)
|
|
9696
9703
|
], 6);
|
|
9697
9704
|
}
|
|
9698
|
-
const
|
|
9705
|
+
const v_ = /* @__PURE__ */ b(Sf, [["render", xf], ["__scopeId", "data-v-05133d05"]]), Cf = {
|
|
9699
9706
|
name: "ecs-entry-link",
|
|
9700
9707
|
emits: ["linkClick", "linkClickExternal", "moreClick"],
|
|
9701
9708
|
components: {
|
|
@@ -9817,7 +9824,7 @@ function Tf(t, s, e, a, n, i) {
|
|
|
9817
9824
|
}, null, 8, ["onClick", "title", "aria-label"])) : u("", !0)
|
|
9818
9825
|
], 2);
|
|
9819
9826
|
}
|
|
9820
|
-
const
|
|
9827
|
+
const y_ = /* @__PURE__ */ b(Cf, [["render", Tf], ["__scopeId", "data-v-0b6f41c6"]]), Pf = {
|
|
9821
9828
|
name: "ecs-excerpt-snippet",
|
|
9822
9829
|
components: { EcsIcon: M, EcsSkeletonLoader: ie, EcsFormatted: yi },
|
|
9823
9830
|
props: {
|
|
@@ -9880,10 +9887,10 @@ const m_ = /* @__PURE__ */ b(xf, [["render", Tf], ["__scopeId", "data-v-0b6f41c6
|
|
|
9880
9887
|
}, Nf = { key: 1 }, Rf = {
|
|
9881
9888
|
key: 1,
|
|
9882
9889
|
class: "ecs-excerpt-content-transcript"
|
|
9883
|
-
},
|
|
9890
|
+
}, Df = {
|
|
9884
9891
|
key: 2,
|
|
9885
9892
|
class: "ecs-excerpt-content-rectangle"
|
|
9886
|
-
},
|
|
9893
|
+
}, $f = {
|
|
9887
9894
|
key: 3,
|
|
9888
9895
|
class: "ecs-excerpt-content-regular"
|
|
9889
9896
|
};
|
|
@@ -9921,13 +9928,13 @@ function Vf(t, s, e, a, n, i) {
|
|
|
9921
9928
|
]),
|
|
9922
9929
|
g("div", {
|
|
9923
9930
|
class: "ecs-excerpt-content scrollbar scrollbar-sml",
|
|
9924
|
-
style:
|
|
9931
|
+
style: C(i.maxHeightStyles)
|
|
9925
9932
|
}, [
|
|
9926
9933
|
e.loading ? (o(), p(r, {
|
|
9927
9934
|
key: 0,
|
|
9928
9935
|
type: "multi",
|
|
9929
9936
|
count: 3
|
|
9930
|
-
})) : (o(), l(
|
|
9937
|
+
})) : (o(), l(V, { key: 1 }, [
|
|
9931
9938
|
e.type == "formatted" ? (o(), p(d, {
|
|
9932
9939
|
key: 0,
|
|
9933
9940
|
small: i.smallFormatted
|
|
@@ -9938,21 +9945,21 @@ function Vf(t, s, e, a, n, i) {
|
|
|
9938
9945
|
_: 3
|
|
9939
9946
|
}, 8, ["small"])) : e.type == "transcript" ? (o(), l("div", Rf, [
|
|
9940
9947
|
h(t.$slots, "default", {}, void 0, !0)
|
|
9941
|
-
])) : e.type == "rectangle" ? (o(), l("div",
|
|
9948
|
+
])) : e.type == "rectangle" ? (o(), l("div", Df, [
|
|
9942
9949
|
g("span", {
|
|
9943
|
-
style:
|
|
9950
|
+
style: C("color:" + e.annotationColor)
|
|
9944
9951
|
}, "Rectangle Annotation", 4),
|
|
9945
9952
|
g("div", {
|
|
9946
|
-
style:
|
|
9953
|
+
style: C("background-color:" + e.annotationColor)
|
|
9947
9954
|
}, null, 4)
|
|
9948
|
-
])) : (o(), l("div",
|
|
9955
|
+
])) : (o(), l("div", $f, [
|
|
9949
9956
|
h(t.$slots, "default", {}, void 0, !0)
|
|
9950
9957
|
]))
|
|
9951
9958
|
], 64))
|
|
9952
9959
|
], 4)
|
|
9953
9960
|
], 2);
|
|
9954
9961
|
}
|
|
9955
|
-
const
|
|
9962
|
+
const b_ = /* @__PURE__ */ b(Pf, [["render", Vf], ["__scopeId", "data-v-1c058d79"]]), __ = {
|
|
9956
9963
|
__name: "fill-icon",
|
|
9957
9964
|
props: {
|
|
9958
9965
|
/** The identifier of the icon which should show up. */
|
|
@@ -10005,7 +10012,7 @@ function qf(t, s, e, a, n, i) {
|
|
|
10005
10012
|
h(t.$slots, "default")
|
|
10006
10013
|
]);
|
|
10007
10014
|
}
|
|
10008
|
-
const
|
|
10015
|
+
const k_ = /* @__PURE__ */ b(Hf, [["render", qf]]), Wf = {
|
|
10009
10016
|
name: "ecs-file-list-item",
|
|
10010
10017
|
emits: ["click", "remove", "toggled", "title-click"],
|
|
10011
10018
|
components: {
|
|
@@ -10222,7 +10229,7 @@ function ag(t, s, e, a, n, i) {
|
|
|
10222
10229
|
e.progress ? (o(), l("div", {
|
|
10223
10230
|
key: 3,
|
|
10224
10231
|
class: "loading-bar",
|
|
10225
|
-
style:
|
|
10232
|
+
style: C({ width: e.progress + "%" }),
|
|
10226
10233
|
role: "progressbar",
|
|
10227
10234
|
"aria-valuenow": e.progress
|
|
10228
10235
|
}, null, 12, Zf)) : u("", !0)
|
|
@@ -10236,8 +10243,8 @@ function ag(t, s, e, a, n, i) {
|
|
|
10236
10243
|
id: n.errorId
|
|
10237
10244
|
}, [
|
|
10238
10245
|
Array.isArray(e.error) ? (o(), l("ul", Qf, [
|
|
10239
|
-
(o(!0), l(
|
|
10240
|
-
])) : (o(), l(
|
|
10246
|
+
(o(!0), l(V, null, se(e.error, (_, I) => (o(), l("li", { key: I }, w(_), 1))), 128))
|
|
10247
|
+
])) : (o(), l(V, { key: 1 }, [
|
|
10241
10248
|
A(w(e.error), 1)
|
|
10242
10249
|
], 64))
|
|
10243
10250
|
], 8, Jf)) : u("", !0),
|
|
@@ -10247,8 +10254,8 @@ function ag(t, s, e, a, n, i) {
|
|
|
10247
10254
|
id: n.warningId
|
|
10248
10255
|
}, [
|
|
10249
10256
|
Array.isArray(e.warning) ? (o(), l("ul", tg, [
|
|
10250
|
-
(o(!0), l(
|
|
10251
|
-
])) : (o(), l(
|
|
10257
|
+
(o(!0), l(V, null, se(e.warning, (_, I) => (o(), l("li", { key: I }, w(_), 1))), 128))
|
|
10258
|
+
])) : (o(), l(V, { key: 1 }, [
|
|
10252
10259
|
A(w(e.warning), 1)
|
|
10253
10260
|
], 64))
|
|
10254
10261
|
], 8, eg)) : u("", !0),
|
|
@@ -10264,7 +10271,7 @@ function ag(t, s, e, a, n, i) {
|
|
|
10264
10271
|
default: S(() => [
|
|
10265
10272
|
t.$slots.edit && e.edit ? (o(), l("div", {
|
|
10266
10273
|
key: 0,
|
|
10267
|
-
style:
|
|
10274
|
+
style: C({ maxHeight: n.editHeight + "px" }),
|
|
10268
10275
|
id: n.editId
|
|
10269
10276
|
}, [
|
|
10270
10277
|
g("div", ng, [
|
|
@@ -10276,7 +10283,7 @@ function ag(t, s, e, a, n, i) {
|
|
|
10276
10283
|
})
|
|
10277
10284
|
], 10, jf);
|
|
10278
10285
|
}
|
|
10279
|
-
const
|
|
10286
|
+
const w_ = /* @__PURE__ */ b(Wf, [["render", ag], ["__scopeId", "data-v-b753f1a9"]]), og = { class: "ecs-flag" }, rg = {
|
|
10280
10287
|
__name: "flag",
|
|
10281
10288
|
props: {
|
|
10282
10289
|
/** ISO Country code of the flag. */
|
|
@@ -10331,7 +10338,7 @@ const y_ = /* @__PURE__ */ b(Wf, [["render", ag], ["__scopeId", "data-v-b753f1a9
|
|
|
10331
10338
|
}, null, 8, ["alt"])) : u("", !0)
|
|
10332
10339
|
]));
|
|
10333
10340
|
}
|
|
10334
|
-
},
|
|
10341
|
+
}, S_ = /* @__PURE__ */ b(rg, [["__scopeId", "data-v-98c0431b"]]), lg = {
|
|
10335
10342
|
name: "ecs-flex-col",
|
|
10336
10343
|
props: {
|
|
10337
10344
|
/** Determines the width of the element. This should only be used when the flex container is supposed to act as a proper grid system. Supports values from `0` to `12`. Note, if the columns prop is used, all other props will have no effect. */
|
|
@@ -10582,7 +10589,7 @@ function kg(t, s, e, a, n, i) {
|
|
|
10582
10589
|
e.borderless ? "" : "ecs-scroll-container-border",
|
|
10583
10590
|
e.hideShadows ? "" : "ecs-scroll-container-shadows"
|
|
10584
10591
|
]]),
|
|
10585
|
-
style:
|
|
10592
|
+
style: C({ maxHeight: e.height, padding: e.padding })
|
|
10586
10593
|
}, [
|
|
10587
10594
|
h(t.$slots, "default", {}, void 0, !0)
|
|
10588
10595
|
], 6);
|
|
@@ -10593,9 +10600,9 @@ const wg = /* @__PURE__ */ b(_g, [["render", kg], ["__scopeId", "data-v-d87a8075
|
|
|
10593
10600
|
components: {
|
|
10594
10601
|
EcsInputSearch: bg,
|
|
10595
10602
|
EcsScrollContainer: wg,
|
|
10596
|
-
EcsButton:
|
|
10603
|
+
EcsButton: be,
|
|
10597
10604
|
EcsEmptyState: Si,
|
|
10598
|
-
EcsTextV2:
|
|
10605
|
+
EcsTextV2: We
|
|
10599
10606
|
},
|
|
10600
10607
|
props: {
|
|
10601
10608
|
/** An optional title of the folder selector. Do not use when the folder selector has a search bar. */
|
|
@@ -10677,10 +10684,10 @@ const wg = /* @__PURE__ */ b(_g, [["render", kg], ["__scopeId", "data-v-d87a8075
|
|
|
10677
10684
|
this.$emit("add");
|
|
10678
10685
|
}
|
|
10679
10686
|
}
|
|
10680
|
-
},
|
|
10687
|
+
}, xg = {
|
|
10681
10688
|
key: 0,
|
|
10682
10689
|
class: "ecs-folder-selector-header"
|
|
10683
|
-
},
|
|
10690
|
+
}, Cg = {
|
|
10684
10691
|
key: 2,
|
|
10685
10692
|
class: "empty-list"
|
|
10686
10693
|
};
|
|
@@ -10688,9 +10695,9 @@ function Bg(t, s, e, a, n, i) {
|
|
|
10688
10695
|
const r = m("ecs-text-v2"), c = m("ecs-input-search"), d = m("ecs-button"), f = m("ecs-empty-state"), y = m("ecs-scroll-container");
|
|
10689
10696
|
return o(), l("div", {
|
|
10690
10697
|
class: v(["ecs-folder-selector", [e.framed ? "ecs-folder-selector-border" : ""]]),
|
|
10691
|
-
style:
|
|
10698
|
+
style: C({ height: i.selectorHeight })
|
|
10692
10699
|
}, [
|
|
10693
|
-
e.searchable || e.create || e.refreshable || e.title ? (o(), l("div",
|
|
10700
|
+
e.searchable || e.create || e.refreshable || e.title ? (o(), l("div", xg, [
|
|
10694
10701
|
e.title && !e.searchable ? (o(), p(r, {
|
|
10695
10702
|
key: 0,
|
|
10696
10703
|
preset: "headline-5",
|
|
@@ -10734,7 +10741,7 @@ function Bg(t, s, e, a, n, i) {
|
|
|
10734
10741
|
}, 8, ["onClick"])) : u("", !0)
|
|
10735
10742
|
])) : u("", !0),
|
|
10736
10743
|
k(y, {
|
|
10737
|
-
style:
|
|
10744
|
+
style: C(i.scrollHeight),
|
|
10738
10745
|
padding: e.framed ? "8px" : "0",
|
|
10739
10746
|
borderless: ""
|
|
10740
10747
|
}, {
|
|
@@ -10742,15 +10749,15 @@ function Bg(t, s, e, a, n, i) {
|
|
|
10742
10749
|
e.loading ? (o(), p(f, {
|
|
10743
10750
|
key: 0,
|
|
10744
10751
|
type: "loading"
|
|
10745
|
-
})) : t.$slots.default ? h(t.$slots, "default", { key: 1 }, void 0, !0) : (o(), l("div",
|
|
10752
|
+
})) : t.$slots.default ? h(t.$slots, "default", { key: 1 }, void 0, !0) : (o(), l("div", Cg, w(e.emptyMessage), 1))
|
|
10746
10753
|
]),
|
|
10747
10754
|
_: 3
|
|
10748
10755
|
}, 8, ["style", "padding"])
|
|
10749
10756
|
], 6);
|
|
10750
10757
|
}
|
|
10751
|
-
const
|
|
10758
|
+
const x_ = /* @__PURE__ */ b(Sg, [["render", Bg], ["__scopeId", "data-v-e8fd70d2"]]), zg = {
|
|
10752
10759
|
name: "ecs-form-group",
|
|
10753
|
-
components: { EcsTextV2:
|
|
10760
|
+
components: { EcsTextV2: We },
|
|
10754
10761
|
props: {
|
|
10755
10762
|
/** If set, the input control will show up in an error state. */
|
|
10756
10763
|
error: {
|
|
@@ -10829,7 +10836,7 @@ function Ag(t, s) {
|
|
|
10829
10836
|
])) : u("", !0)
|
|
10830
10837
|
]);
|
|
10831
10838
|
}
|
|
10832
|
-
const
|
|
10839
|
+
const C_ = /* @__PURE__ */ b(Tg, [["render", Ag], ["__scopeId", "data-v-16833f69"]]), Lg = {
|
|
10833
10840
|
name: "ecs-form-set",
|
|
10834
10841
|
props: {
|
|
10835
10842
|
/** Indicates an error state. */
|
|
@@ -10844,7 +10851,7 @@ const k_ = /* @__PURE__ */ b(Tg, [["render", Ag], ["__scopeId", "data-v-16833f69
|
|
|
10844
10851
|
}
|
|
10845
10852
|
}
|
|
10846
10853
|
}, Ng = ["aria-invalid"], Rg = { class: "ecs-form-set-title" };
|
|
10847
|
-
function
|
|
10854
|
+
function Dg(t, s, e, a, n, i) {
|
|
10848
10855
|
return o(), l("fieldset", {
|
|
10849
10856
|
class: v(["ecs-form-set", e.error ? "error" : ""]),
|
|
10850
10857
|
"aria-invalid": e.error || null
|
|
@@ -10853,7 +10860,7 @@ function $g(t, s, e, a, n, i) {
|
|
|
10853
10860
|
h(t.$slots, "default", {}, void 0, !0)
|
|
10854
10861
|
], 10, Ng);
|
|
10855
10862
|
}
|
|
10856
|
-
const
|
|
10863
|
+
const B_ = /* @__PURE__ */ b(Lg, [["render", Dg], ["__scopeId", "data-v-c9188464"]]), $g = {
|
|
10857
10864
|
name: "ecs-highlight",
|
|
10858
10865
|
props: {
|
|
10859
10866
|
/** Makes the highlight area visible. */
|
|
@@ -10933,7 +10940,7 @@ function Vg(t, s, e, a, n, i) {
|
|
|
10933
10940
|
i.showHighlight ? (o(), l("div", {
|
|
10934
10941
|
key: 0,
|
|
10935
10942
|
class: v(["ecs-highlight", [i.classes]]),
|
|
10936
|
-
style:
|
|
10943
|
+
style: C({ ...i.highlightColor, ...i.borderRadiusStyle, ...i.insetStyles })
|
|
10937
10944
|
}, [
|
|
10938
10945
|
e.layout === "wrap" ? h(t.$slots, "default", { key: 0 }, void 0, !0) : u("", !0)
|
|
10939
10946
|
], 6)) : u("", !0)
|
|
@@ -10941,7 +10948,7 @@ function Vg(t, s, e, a, n, i) {
|
|
|
10941
10948
|
_: 3
|
|
10942
10949
|
});
|
|
10943
10950
|
}
|
|
10944
|
-
const
|
|
10951
|
+
const z_ = /* @__PURE__ */ b($g, [["render", Vg], ["__scopeId", "data-v-ad0ca7b9"]]), Hg = {
|
|
10945
10952
|
name: "EcsIllustration",
|
|
10946
10953
|
props: {
|
|
10947
10954
|
/** The type of illustration to be shown. */
|
|
@@ -10982,7 +10989,7 @@ const S_ = /* @__PURE__ */ b(Dg, [["render", Vg], ["__scopeId", "data-v-ad0ca7b9
|
|
|
10982
10989
|
},
|
|
10983
10990
|
methods: {
|
|
10984
10991
|
loadIllustration(t) {
|
|
10985
|
-
this.illustrationComponent =
|
|
10992
|
+
this.illustrationComponent = $i(ne(
|
|
10986
10993
|
() => ae(/* @__PURE__ */ Object.assign({ "../assets/images/select-tile/load-file-annotations.svg": () => import("./load-file-annotations-Chv42PVZ.js"), "../assets/images/select-tile/load-file-designation-report.svg": () => import("./load-file-designation-report-C-4EctIM.js"), "../assets/images/select-tile/load-file-designation.svg": () => import("./load-file-designation-BEm9VnQa.js"), "../assets/images/select-tile/load-file-zip.svg": () => import("./load-file-zip-Co-I4Yjh.js"), "../assets/images/select-tile/overlay-files.svg": () => import("./overlay-files-B4shNp97.js"), "../assets/images/select-tile/overlay-metadata.svg": () => import("./overlay-metadata-DYJuNck4.js"), "../assets/images/select-tile/plain-document.svg": () => import("./plain-document-CRTTDa3w.js"), "../assets/images/select-tile/relativity-add-files.svg": () => import("./relativity-add-files-mCRXOlgh.js"), "../assets/images/select-tile/relativity-overlay-files.svg": () => import("./relativity-overlay-files-C_gg_JHu.js"), "../assets/images/select-tile/relativity-overlay-metadata.svg": () => import("./relativity-overlay-metadata-Bq4IgkAm.js") }), `../assets/images/select-tile/${t}.svg`, 5)
|
|
10987
10994
|
));
|
|
10988
10995
|
}
|
|
@@ -11110,7 +11117,7 @@ function Jg(t, s, e, a, n, i) {
|
|
|
11110
11117
|
_: 3
|
|
11111
11118
|
});
|
|
11112
11119
|
}
|
|
11113
|
-
const
|
|
11120
|
+
const I_ = /* @__PURE__ */ b(Kg, [["render", Jg], ["__scopeId", "data-v-14242524"]]), Qg = {
|
|
11114
11121
|
name: "ecs-info-tooltip",
|
|
11115
11122
|
emits: ["click"],
|
|
11116
11123
|
components: {
|
|
@@ -11149,7 +11156,7 @@ function em(t, s, e, a, n, i) {
|
|
|
11149
11156
|
return o(), l("i", {
|
|
11150
11157
|
class: v(["ecs-info-tooltip", { "hover-color": i.shouldShowHover }]),
|
|
11151
11158
|
onClick: s[0] || (s[0] = (...c) => i.handleClick && i.handleClick(...c)),
|
|
11152
|
-
style:
|
|
11159
|
+
style: C(i.iconStyle)
|
|
11153
11160
|
}, [
|
|
11154
11161
|
k(r, {
|
|
11155
11162
|
type: e.icon,
|
|
@@ -11157,7 +11164,7 @@ function em(t, s, e, a, n, i) {
|
|
|
11157
11164
|
}, null, 8, ["type"])
|
|
11158
11165
|
], 6);
|
|
11159
11166
|
}
|
|
11160
|
-
const
|
|
11167
|
+
const E_ = /* @__PURE__ */ b(Qg, [["render", em], ["__scopeId", "data-v-ba171c2e"]]), tm = {
|
|
11161
11168
|
name: "ecs-input",
|
|
11162
11169
|
emits: ["update:modelValue", "change", "keyup", "blur"],
|
|
11163
11170
|
props: {
|
|
@@ -11343,13 +11350,13 @@ function rm(t, s, e, a, n, i) {
|
|
|
11343
11350
|
}, null, 8, ["type"])) : u("", !0)
|
|
11344
11351
|
], 2);
|
|
11345
11352
|
}
|
|
11346
|
-
const
|
|
11353
|
+
const T_ = /* @__PURE__ */ b(om, [["render", rm]]), lm = {
|
|
11347
11354
|
name: "ecs-input-connector"
|
|
11348
11355
|
}, cm = { class: "ecs-input-group-addon connector" };
|
|
11349
11356
|
function dm(t, s, e, a, n, i) {
|
|
11350
11357
|
return o(), l("span", cm);
|
|
11351
11358
|
}
|
|
11352
|
-
const
|
|
11359
|
+
const P_ = /* @__PURE__ */ b(lm, [["render", dm]]), um = {
|
|
11353
11360
|
name: "ecs-input-float",
|
|
11354
11361
|
emits: ["input"],
|
|
11355
11362
|
mixins: [me],
|
|
@@ -11445,7 +11452,7 @@ function hm(t, s, e, a, n, i) {
|
|
|
11445
11452
|
g("label", { for: n.uniqueId }, w(e.label), 9, mm)
|
|
11446
11453
|
]);
|
|
11447
11454
|
}
|
|
11448
|
-
const
|
|
11455
|
+
const M_ = /* @__PURE__ */ b(um, [["render", hm], ["__scopeId", "data-v-dfa713b3"]]), pm = {
|
|
11449
11456
|
props: {
|
|
11450
11457
|
/** If the input group contains only one input element, set this prop to true. */
|
|
11451
11458
|
singleInput: {
|
|
@@ -11461,7 +11468,7 @@ function vm(t, s, e, a, n, i) {
|
|
|
11461
11468
|
h(t.$slots, "default")
|
|
11462
11469
|
], 2);
|
|
11463
11470
|
}
|
|
11464
|
-
const
|
|
11471
|
+
const O_ = /* @__PURE__ */ b(pm, [["render", vm]]), ym = {
|
|
11465
11472
|
name: "ecs-inplace",
|
|
11466
11473
|
emits: ["update:index"],
|
|
11467
11474
|
data() {
|
|
@@ -11539,7 +11546,7 @@ function km(t, s, e, a, n, i) {
|
|
|
11539
11546
|
}, 8, ["onEnter"])
|
|
11540
11547
|
]);
|
|
11541
11548
|
}
|
|
11542
|
-
const
|
|
11549
|
+
const A_ = /* @__PURE__ */ b(ym, [["render", km]]), wm = {
|
|
11543
11550
|
name: "ecs-jumper-document",
|
|
11544
11551
|
emits: [
|
|
11545
11552
|
"goToPrev",
|
|
@@ -11609,8 +11616,8 @@ const T_ = /* @__PURE__ */ b(ym, [["render", km]]), wm = {
|
|
|
11609
11616
|
}, Sm = {
|
|
11610
11617
|
key: 0,
|
|
11611
11618
|
class: "ecs-viewer-toolbar-jumper-inputs"
|
|
11612
|
-
},
|
|
11613
|
-
function
|
|
11619
|
+
}, xm = ["contenteditable", "disabled"];
|
|
11620
|
+
function Cm(t, s, e, a, n, i) {
|
|
11614
11621
|
const r = m("ecs-button-toolbar"), c = m("ecs-button-toolbar-group");
|
|
11615
11622
|
return o(), p(c, { class: "ecs-viewer-toolbar-jumper" }, {
|
|
11616
11623
|
default: S(() => [
|
|
@@ -11631,7 +11638,7 @@ function xm(t, s, e, a, n, i) {
|
|
|
11631
11638
|
class: v(["ecs-viewer-toolbar-jumper-input", { disabled: e.disabled }]),
|
|
11632
11639
|
disabled: e.navigating || e.disabled,
|
|
11633
11640
|
id: "currEntry"
|
|
11634
|
-
}, w(e.currentEntry), 43,
|
|
11641
|
+
}, w(e.currentEntry), 43, xm),
|
|
11635
11642
|
s[5] || (s[5] = A(" / ")),
|
|
11636
11643
|
g("div", null, w(e.totalEntries), 1)
|
|
11637
11644
|
])) : u("", !0),
|
|
@@ -11647,7 +11654,7 @@ function xm(t, s, e, a, n, i) {
|
|
|
11647
11654
|
_: 1
|
|
11648
11655
|
});
|
|
11649
11656
|
}
|
|
11650
|
-
const
|
|
11657
|
+
const L_ = /* @__PURE__ */ b(wm, [["render", Cm], ["__scopeId", "data-v-d9c9eec2"]]), Bm = {
|
|
11651
11658
|
name: "ecs-jumper-index",
|
|
11652
11659
|
emits: [
|
|
11653
11660
|
"nextSearchResult",
|
|
@@ -11759,7 +11766,7 @@ function Pm(t, s, e, a, n, i) {
|
|
|
11759
11766
|
_: 1
|
|
11760
11767
|
});
|
|
11761
11768
|
}
|
|
11762
|
-
const
|
|
11769
|
+
const N_ = /* @__PURE__ */ b(Bm, [["render", Pm], ["__scopeId", "data-v-0b163531"]]), Mm = {
|
|
11763
11770
|
name: "ecs-jumper-page",
|
|
11764
11771
|
emits: [
|
|
11765
11772
|
"selectCurPageText",
|
|
@@ -11819,18 +11826,18 @@ const M_ = /* @__PURE__ */ b(Bm, [["render", Pm], ["__scopeId", "data-v-0b163531
|
|
|
11819
11826
|
this.$emit("currentPageKeyPressed", t), t.stopPropagation(), t.key == "Enter" && t.preventDefault();
|
|
11820
11827
|
}
|
|
11821
11828
|
}
|
|
11822
|
-
}, Om = { class: "ecs-viewer-pages" }, Am = { class: "ecs-viewer-pages-inner" }, Lm = { class: "ecs-viewer-pages-pagination" }, Nm = ["contenteditable"], Rm = { class: "total-pages" },
|
|
11829
|
+
}, Om = { class: "ecs-viewer-pages" }, Am = { class: "ecs-viewer-pages-inner" }, Lm = { class: "ecs-viewer-pages-pagination" }, Nm = ["contenteditable"], Rm = { class: "total-pages" }, Dm = {
|
|
11823
11830
|
key: 0,
|
|
11824
11831
|
class: "page-missing-gaps",
|
|
11825
11832
|
title: "This transcript has missing page gaps"
|
|
11826
|
-
},
|
|
11833
|
+
}, $m = { class: "ecs-viewer-pages-pagination" }, Vm = { class: "total-pages-relative" }, Hm = { class: "total-pages-relative" }, Fm = {
|
|
11827
11834
|
key: 1,
|
|
11828
11835
|
class: "ecs-viewer-pages-pagination"
|
|
11829
11836
|
}, qm = ["innerHTML"], Wm = { class: "total-pages" };
|
|
11830
11837
|
function jm(t, s, e, a, n, i) {
|
|
11831
11838
|
return o(), l("div", Om, [
|
|
11832
11839
|
g("div", Am, [
|
|
11833
|
-
i.showAltPageNumbers ? (o(), l(
|
|
11840
|
+
i.showAltPageNumbers ? (o(), l(V, { key: 0 }, [
|
|
11834
11841
|
g("div", Lm, [
|
|
11835
11842
|
g("div", {
|
|
11836
11843
|
onClick: s[0] || (s[0] = (r) => t.$emit("selectCurPageText")),
|
|
@@ -11841,9 +11848,9 @@ function jm(t, s, e, a, n, i) {
|
|
|
11841
11848
|
id: "currPage"
|
|
11842
11849
|
}, w(e.currentPage), 43, Nm),
|
|
11843
11850
|
g("div", Rm, "of " + w(e.lastPage), 1),
|
|
11844
|
-
e.isTranscriptMissingPages ? (o(), l("span",
|
|
11851
|
+
e.isTranscriptMissingPages ? (o(), l("span", Dm, "*")) : u("", !0)
|
|
11845
11852
|
]),
|
|
11846
|
-
g("div",
|
|
11853
|
+
g("div", $m, [
|
|
11847
11854
|
g("div", Vm, w(i.altPageNumber) + " ", 1),
|
|
11848
11855
|
g("div", Hm, "of " + w(e.pageCount), 1)
|
|
11849
11856
|
])
|
|
@@ -11862,7 +11869,7 @@ function jm(t, s, e, a, n, i) {
|
|
|
11862
11869
|
])
|
|
11863
11870
|
]);
|
|
11864
11871
|
}
|
|
11865
|
-
const
|
|
11872
|
+
const R_ = /* @__PURE__ */ b(Mm, [["render", jm], ["__scopeId", "data-v-5c8f8c17"]]), Um = {
|
|
11866
11873
|
// eslint-disable-next-line vue/multi-word-component-names
|
|
11867
11874
|
name: "ecs-pane",
|
|
11868
11875
|
inject: ["requestUpdate", "onPaneAdd", "onPaneRemove", "onPaneClick"],
|
|
@@ -11916,7 +11923,7 @@ function Gm(t, s, e, a, n, i) {
|
|
|
11916
11923
|
return o(), l("div", {
|
|
11917
11924
|
class: "ecs-pane",
|
|
11918
11925
|
onClick: s[0] || (s[0] = (r) => i.onPaneClick(r, t._.uid)),
|
|
11919
|
-
style:
|
|
11926
|
+
style: C(t.style)
|
|
11920
11927
|
}, [
|
|
11921
11928
|
h(t.$slots, "default")
|
|
11922
11929
|
], 4);
|
|
@@ -12305,7 +12312,7 @@ function eh(t, s, e, a, n, i) {
|
|
|
12305
12312
|
size: e.splitPaneSizes[1].size,
|
|
12306
12313
|
minSize: e.splitPaneSizes[1].minSize,
|
|
12307
12314
|
maxSize: e.splitPaneSizes[1].maxSize,
|
|
12308
|
-
style:
|
|
12315
|
+
style: C(e.overlaySidebar && t.$slots.sidebar ? { "--padding-right": t.$slots.secondaryPane ? "0px" : "54px" } : {})
|
|
12309
12316
|
}, {
|
|
12310
12317
|
default: S(() => [
|
|
12311
12318
|
h(t.$slots, "pane", {}, void 0, !0)
|
|
@@ -12317,7 +12324,7 @@ function eh(t, s, e, a, n, i) {
|
|
|
12317
12324
|
size: (d = e.splitPaneSizes[2]) == null ? void 0 : d.size,
|
|
12318
12325
|
minSize: (f = e.splitPaneSizes[2]) == null ? void 0 : f.minSize,
|
|
12319
12326
|
maxSize: (y = e.splitPaneSizes[2]) == null ? void 0 : y.maxSize,
|
|
12320
|
-
style:
|
|
12327
|
+
style: C(e.overlaySidebar && t.$slots.sidebar ? { "--padding-right": "54px" } : {})
|
|
12321
12328
|
}, {
|
|
12322
12329
|
default: S(() => [
|
|
12323
12330
|
h(t.$slots, "secondaryPane", {}, void 0, !0)
|
|
@@ -12337,14 +12344,14 @@ function eh(t, s, e, a, n, i) {
|
|
|
12337
12344
|
t.$slots.sidebar ? (o(), l("div", {
|
|
12338
12345
|
key: 0,
|
|
12339
12346
|
class: v(["ecs-index-layout-sidebar", [e.overlaySidebar ? "overlay" : ""]]),
|
|
12340
|
-
style:
|
|
12347
|
+
style: C(i.sidebarPosition)
|
|
12341
12348
|
}, [
|
|
12342
12349
|
h(t.$slots, "sidebar", {}, void 0, !0)
|
|
12343
12350
|
], 6)) : u("", !0)
|
|
12344
12351
|
], 2)
|
|
12345
12352
|
], 2);
|
|
12346
12353
|
}
|
|
12347
|
-
const
|
|
12354
|
+
const D_ = /* @__PURE__ */ b(Xm, [["render", eh], ["__scopeId", "data-v-b5617b26"]]), th = {
|
|
12348
12355
|
name: "ecs-layout-directory",
|
|
12349
12356
|
props: {
|
|
12350
12357
|
/** Adds some inner padding to the index content area. Should be used for non-table indexes. */
|
|
@@ -12381,9 +12388,9 @@ function rh(t, s, e, a, n, i) {
|
|
|
12381
12388
|
])
|
|
12382
12389
|
]);
|
|
12383
12390
|
}
|
|
12384
|
-
const
|
|
12391
|
+
const $_ = /* @__PURE__ */ b(th, [["render", rh], ["__scopeId", "data-v-f5afc4e6"]]), rs = {
|
|
12385
12392
|
name: "ecs-layout-data-table",
|
|
12386
|
-
components: { EcsActionToolbar: en, EcsButton:
|
|
12393
|
+
components: { EcsActionToolbar: en, EcsButton: be },
|
|
12387
12394
|
mixins: [me],
|
|
12388
12395
|
props: {
|
|
12389
12396
|
/** Needs to be set when the edit/view sidebar is expanded. */
|
|
@@ -12470,7 +12477,7 @@ function hh(t, s, e, a, n, i) {
|
|
|
12470
12477
|
key: 0,
|
|
12471
12478
|
class: "ecs-data-layout-statistics scrollbar scrollbar-sml vertical",
|
|
12472
12479
|
id: n.statisticsId,
|
|
12473
|
-
style:
|
|
12480
|
+
style: C({ height: `${e.statisticsHeight}px` })
|
|
12474
12481
|
}, [
|
|
12475
12482
|
h(t.$slots, "statistics", {}, void 0, !0)
|
|
12476
12483
|
], 12, dh)) : u("", !0)
|
|
@@ -12504,7 +12511,7 @@ function hh(t, s, e, a, n, i) {
|
|
|
12504
12511
|
], 2)) : u("", !0)
|
|
12505
12512
|
], 2);
|
|
12506
12513
|
}
|
|
12507
|
-
const
|
|
12514
|
+
const V_ = /* @__PURE__ */ b(rs, [["render", hh], ["__scopeId", "data-v-b579f92f"]]), ph = {
|
|
12508
12515
|
name: "ecs-legend-item",
|
|
12509
12516
|
emits: ["click"],
|
|
12510
12517
|
components: {
|
|
@@ -12584,7 +12591,7 @@ function _h(t, s, e, a, n, i) {
|
|
|
12584
12591
|
default: S(() => [
|
|
12585
12592
|
g("div", {
|
|
12586
12593
|
class: v(["ecs-legend-item-color", e.type]),
|
|
12587
|
-
style:
|
|
12594
|
+
style: C({ backgroundColor: e.color })
|
|
12588
12595
|
}, null, 6),
|
|
12589
12596
|
g("div", vh, w(e.label), 1),
|
|
12590
12597
|
e.count ? (o(), l("div", yh, w(e.count), 1)) : u("", !0),
|
|
@@ -12592,14 +12599,14 @@ function _h(t, s, e, a, n, i) {
|
|
|
12592
12599
|
e.highlight || e.hover ? (o(), l("div", {
|
|
12593
12600
|
key: 2,
|
|
12594
12601
|
class: "ecs-legend-item-highlight",
|
|
12595
|
-
style:
|
|
12602
|
+
style: C({ backgroundColor: e.color })
|
|
12596
12603
|
}, null, 4)) : u("", !0),
|
|
12597
12604
|
e.hover ? (o(), p(r, { key: 3 })) : u("", !0)
|
|
12598
12605
|
]),
|
|
12599
12606
|
_: 1
|
|
12600
12607
|
}, 8, ["role", "tabindex", "class"]);
|
|
12601
12608
|
}
|
|
12602
|
-
const
|
|
12609
|
+
const H_ = /* @__PURE__ */ b(ph, [["render", _h], ["__scopeId", "data-v-6d506293"]]), kh = {
|
|
12603
12610
|
name: "ecs-log-message",
|
|
12604
12611
|
components: {
|
|
12605
12612
|
EcsFlexRow: Ee,
|
|
@@ -12645,7 +12652,7 @@ const R_ = /* @__PURE__ */ b(ph, [["render", _h], ["__scopeId", "data-v-6d506293
|
|
|
12645
12652
|
key: 2,
|
|
12646
12653
|
class: "ecs-log-message-meta"
|
|
12647
12654
|
};
|
|
12648
|
-
function
|
|
12655
|
+
function xh(t, s, e, a, n, i) {
|
|
12649
12656
|
const r = m("ecs-skeleton-loader"), c = m("ecs-sticker"), d = m("ecs-flex-row");
|
|
12650
12657
|
return o(), p(d, {
|
|
12651
12658
|
class: v(["ecs-log-message", [e.type, e.highlight ? "highlighted" : ""]]),
|
|
@@ -12653,7 +12660,7 @@ function Ch(t, s, e, a, n, i) {
|
|
|
12653
12660
|
"aria-busy": e.loading || null,
|
|
12654
12661
|
align: "start",
|
|
12655
12662
|
gap: 8,
|
|
12656
|
-
style:
|
|
12663
|
+
style: C(i.padding)
|
|
12657
12664
|
}, {
|
|
12658
12665
|
default: S(() => [
|
|
12659
12666
|
e.loading && e.type != "blank" ? (o(), p(r, {
|
|
@@ -12678,7 +12685,7 @@ function Ch(t, s, e, a, n, i) {
|
|
|
12678
12685
|
_: 3
|
|
12679
12686
|
}, 8, ["class", "role", "aria-busy", "style"]);
|
|
12680
12687
|
}
|
|
12681
|
-
const
|
|
12688
|
+
const F_ = /* @__PURE__ */ b(kh, [["render", xh], ["__scopeId", "data-v-ff235103"]]), Ch = {
|
|
12682
12689
|
name: "ecs-map",
|
|
12683
12690
|
components: { EcsFocusRing: N },
|
|
12684
12691
|
props: {
|
|
@@ -12723,7 +12730,7 @@ function Ih(t, s, e, a, n, i) {
|
|
|
12723
12730
|
], 8, Bh)
|
|
12724
12731
|
], 2);
|
|
12725
12732
|
}
|
|
12726
|
-
const
|
|
12733
|
+
const q_ = /* @__PURE__ */ b(Ch, [["render", Ih], ["__scopeId", "data-v-219f95e2"]]), Eh = {
|
|
12727
12734
|
name: "ecs-modal",
|
|
12728
12735
|
props: {
|
|
12729
12736
|
/** Shows the modal. */
|
|
@@ -12789,7 +12796,7 @@ function Oh(t, s, e, a, n, i) {
|
|
|
12789
12796
|
}, [
|
|
12790
12797
|
g("div", {
|
|
12791
12798
|
class: "ecs-modal-dialog ecs-modal-sheet",
|
|
12792
|
-
style:
|
|
12799
|
+
style: C(i.fixedHeightStyle)
|
|
12793
12800
|
}, [
|
|
12794
12801
|
t.$slots.header ? (o(), l("div", Th, [
|
|
12795
12802
|
h(t.$slots, "header", {}, void 0, !0)
|
|
@@ -12807,11 +12814,11 @@ function Oh(t, s, e, a, n, i) {
|
|
|
12807
12814
|
_: 3
|
|
12808
12815
|
});
|
|
12809
12816
|
}
|
|
12810
|
-
const
|
|
12817
|
+
const W_ = /* @__PURE__ */ b(Eh, [["render", Oh], ["__scopeId", "data-v-185a1041"]]), Ah = {
|
|
12811
12818
|
name: "ecs-modal-header",
|
|
12812
12819
|
emits: ["close"],
|
|
12813
12820
|
components: {
|
|
12814
|
-
EcsButton:
|
|
12821
|
+
EcsButton: be,
|
|
12815
12822
|
EcsFocusRing: N
|
|
12816
12823
|
},
|
|
12817
12824
|
props: {
|
|
@@ -12851,7 +12858,7 @@ const V_ = /* @__PURE__ */ b(Eh, [["render", Oh], ["__scopeId", "data-v-185a1041
|
|
|
12851
12858
|
key: 0,
|
|
12852
12859
|
class: "ecs-modal-header-extended"
|
|
12853
12860
|
};
|
|
12854
|
-
function
|
|
12861
|
+
function Dh(t, s, e, a, n, i) {
|
|
12855
12862
|
const r = m("ecs-button");
|
|
12856
12863
|
return o(), l("div", {
|
|
12857
12864
|
class: v(["ecs-modal-header", i.typeClass])
|
|
@@ -12878,7 +12885,7 @@ function $h(t, s, e, a, n, i) {
|
|
|
12878
12885
|
])) : u("", !0)
|
|
12879
12886
|
], 2);
|
|
12880
12887
|
}
|
|
12881
|
-
const
|
|
12888
|
+
const j_ = /* @__PURE__ */ b(Ah, [["render", Dh], ["__scopeId", "data-v-ed6067fe"]]), $h = {
|
|
12882
12889
|
name: "ecs-modal-footer"
|
|
12883
12890
|
}, Vh = { class: "ecs-modal-footer" }, Hh = {
|
|
12884
12891
|
key: 0,
|
|
@@ -12894,7 +12901,7 @@ function qh(t, s, e, a, n, i) {
|
|
|
12894
12901
|
])
|
|
12895
12902
|
]);
|
|
12896
12903
|
}
|
|
12897
|
-
const
|
|
12904
|
+
const U_ = /* @__PURE__ */ b($h, [["render", qh], ["__scopeId", "data-v-206d1ced"]]), Wh = {
|
|
12898
12905
|
name: "ecs-select-text",
|
|
12899
12906
|
emits: ["change", "focus", "blur"],
|
|
12900
12907
|
components: { EcsIcon: M, EcsFocusRing: N },
|
|
@@ -13090,7 +13097,7 @@ function ep(t, s, e, a, n, i) {
|
|
|
13090
13097
|
class: "operator-select"
|
|
13091
13098
|
}, {
|
|
13092
13099
|
default: S(() => [
|
|
13093
|
-
(o(!0), l(
|
|
13100
|
+
(o(!0), l(V, null, se(e.operatorSelectOptions, (f) => (o(), l("option", {
|
|
13094
13101
|
value: f,
|
|
13095
13102
|
key: f
|
|
13096
13103
|
}, w(f), 9, Zh))), 128))
|
|
@@ -13139,7 +13146,7 @@ function ep(t, s, e, a, n, i) {
|
|
|
13139
13146
|
])
|
|
13140
13147
|
], 34);
|
|
13141
13148
|
}
|
|
13142
|
-
const
|
|
13149
|
+
const G_ = /* @__PURE__ */ b(Kh, [["render", ep], ["__scopeId", "data-v-c3c80822"]]), tp = {
|
|
13143
13150
|
name: "ecs-multiselect-token",
|
|
13144
13151
|
emits: ["remove"],
|
|
13145
13152
|
components: {
|
|
@@ -13168,7 +13175,7 @@ function sp(t, s, e, a, n, i) {
|
|
|
13168
13175
|
])
|
|
13169
13176
|
], 32);
|
|
13170
13177
|
}
|
|
13171
|
-
const
|
|
13178
|
+
const K_ = /* @__PURE__ */ b(tp, [["render", sp], ["__scopeId", "data-v-daa501d2"]]), ip = {
|
|
13172
13179
|
name: "ecs-multiselect-option",
|
|
13173
13180
|
components: {
|
|
13174
13181
|
EcsIcon: M
|
|
@@ -13203,7 +13210,7 @@ function ap(t, s, e, a, n, i) {
|
|
|
13203
13210
|
h(t.$slots, "default", {}, void 0, !0)
|
|
13204
13211
|
], 10, np);
|
|
13205
13212
|
}
|
|
13206
|
-
const
|
|
13213
|
+
const Y_ = /* @__PURE__ */ b(ip, [["render", ap], ["__scopeId", "data-v-e28fc40f"]]), op = {
|
|
13207
13214
|
name: "ecs-overlay",
|
|
13208
13215
|
emits: ["close", "toggled"],
|
|
13209
13216
|
components: { EcsIcon: M, EcsButtonToolbar: vt, EcsAlert: ei },
|
|
@@ -13385,11 +13392,11 @@ function wp(t, s, e, a, n, i) {
|
|
|
13385
13392
|
n.isShown ? (o(), l("div", {
|
|
13386
13393
|
key: 0,
|
|
13387
13394
|
class: "ecs-overlay",
|
|
13388
|
-
style:
|
|
13395
|
+
style: C({ top: e.offsetTop + "px", height: "calc(100vh - " + e.offsetTop + "px)" })
|
|
13389
13396
|
}, [
|
|
13390
13397
|
g("header", {
|
|
13391
13398
|
class: "ecs-overlay-header",
|
|
13392
|
-
style:
|
|
13399
|
+
style: C(t.$slots.alert ? "" : "border-bottom: 1px solid var(--color-gray-4);")
|
|
13393
13400
|
}, [
|
|
13394
13401
|
g("div", rp, [
|
|
13395
13402
|
e.icon ? (o(), p(r, {
|
|
@@ -13457,7 +13464,7 @@ function wp(t, s, e, a, n, i) {
|
|
|
13457
13464
|
}, [
|
|
13458
13465
|
g("div", {
|
|
13459
13466
|
class: v(["ecs-overlay-content-inner-inner", t.$slots.sidebar && !e.fullWidth && n.width > 1500 ? "has-sidebar" : " "]),
|
|
13460
|
-
style:
|
|
13467
|
+
style: C({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
13461
13468
|
}, [
|
|
13462
13469
|
h(t.$slots, "default", {}, void 0, !0)
|
|
13463
13470
|
], 6),
|
|
@@ -13482,7 +13489,7 @@ function wp(t, s, e, a, n, i) {
|
|
|
13482
13489
|
g("div", bp, [
|
|
13483
13490
|
g("div", {
|
|
13484
13491
|
class: "ecs-overlay-footer-content-inner",
|
|
13485
|
-
style:
|
|
13492
|
+
style: C({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
|
|
13486
13493
|
}, [
|
|
13487
13494
|
h(t.$slots, "footer", {}, void 0, !0)
|
|
13488
13495
|
], 4),
|
|
@@ -13495,11 +13502,11 @@ function wp(t, s, e, a, n, i) {
|
|
|
13495
13502
|
_: 3
|
|
13496
13503
|
});
|
|
13497
13504
|
}
|
|
13498
|
-
const
|
|
13505
|
+
const X_ = /* @__PURE__ */ b(op, [["render", wp], ["__scopeId", "data-v-acdd9118"]]), Sp = {
|
|
13499
13506
|
name: "ecs-pagination",
|
|
13500
13507
|
emits: ["firstPage", "prevPage", "nextPage", "lastPage", "updatePage", "itemsPerPage"],
|
|
13501
13508
|
components: {
|
|
13502
|
-
EcsButton:
|
|
13509
|
+
EcsButton: be,
|
|
13503
13510
|
EcsSelect: wi,
|
|
13504
13511
|
EcsFlexRow: Ee,
|
|
13505
13512
|
EcsIcon: M
|
|
@@ -13597,7 +13604,7 @@ const U_ = /* @__PURE__ */ b(op, [["render", wp], ["__scopeId", "data-v-acdd9118
|
|
|
13597
13604
|
this.$emit("updatePage", Number(t));
|
|
13598
13605
|
}
|
|
13599
13606
|
}
|
|
13600
|
-
},
|
|
13607
|
+
}, xp = ["value", "selected"], Cp = {
|
|
13601
13608
|
key: 0,
|
|
13602
13609
|
class: "total"
|
|
13603
13610
|
}, Bp = {
|
|
@@ -13617,10 +13624,10 @@ function Ep(t, s, e, a, n, i) {
|
|
|
13617
13624
|
k(c, {
|
|
13618
13625
|
gap: 8,
|
|
13619
13626
|
class: "ecs-pagination-nav",
|
|
13620
|
-
style:
|
|
13627
|
+
style: C({ minWidth: e.tabsSpacing - 4 + "px" })
|
|
13621
13628
|
}, {
|
|
13622
13629
|
default: S(() => [
|
|
13623
|
-
e.type == "paginated" ? (o(), l(
|
|
13630
|
+
e.type == "paginated" ? (o(), l(V, { key: 0 }, [
|
|
13624
13631
|
k(c, null, {
|
|
13625
13632
|
default: S(() => [
|
|
13626
13633
|
k(r, {
|
|
@@ -13656,15 +13663,15 @@ function Ep(t, s, e, a, n, i) {
|
|
|
13656
13663
|
size: "sml"
|
|
13657
13664
|
}, {
|
|
13658
13665
|
default: S(() => [
|
|
13659
|
-
(o(!0), l(
|
|
13666
|
+
(o(!0), l(V, null, se(e.totalPages, (f) => (o(), l("option", {
|
|
13660
13667
|
key: f,
|
|
13661
13668
|
value: f,
|
|
13662
13669
|
selected: f === e.currentPage
|
|
13663
|
-
}, w(f), 9,
|
|
13670
|
+
}, w(f), 9, xp))), 128))
|
|
13664
13671
|
]),
|
|
13665
13672
|
_: 1
|
|
13666
13673
|
}, 8, ["modelValue", "disabled"]),
|
|
13667
|
-
e.totalPages ? (o(), l("span",
|
|
13674
|
+
e.totalPages ? (o(), l("span", Cp, "of " + w(e.totalPages), 1)) : u("", !0)
|
|
13668
13675
|
]),
|
|
13669
13676
|
_: 1
|
|
13670
13677
|
}),
|
|
@@ -13720,7 +13727,7 @@ function Ep(t, s, e, a, n, i) {
|
|
|
13720
13727
|
size: "sml"
|
|
13721
13728
|
}, {
|
|
13722
13729
|
default: S(() => [
|
|
13723
|
-
(o(!0), l(
|
|
13730
|
+
(o(!0), l(V, null, se(e.itemsPerPage, (f) => (o(), l("option", {
|
|
13724
13731
|
key: f,
|
|
13725
13732
|
value: f,
|
|
13726
13733
|
selected: f === e.itemsPerPageSelected
|
|
@@ -13743,9 +13750,9 @@ function Ep(t, s, e, a, n, i) {
|
|
|
13743
13750
|
})) : u("", !0)
|
|
13744
13751
|
], 2);
|
|
13745
13752
|
}
|
|
13746
|
-
const
|
|
13753
|
+
const Z_ = /* @__PURE__ */ b(Sp, [["render", Ep], ["__scopeId", "data-v-6741fbf9"]]), Tp = {
|
|
13747
13754
|
name: "ecs-popover-header",
|
|
13748
|
-
components: { EcsIcon: M, EcsTextV2:
|
|
13755
|
+
components: { EcsIcon: M, EcsTextV2: We },
|
|
13749
13756
|
props: {
|
|
13750
13757
|
/** Adds an icon to the popover header. The list of available icon names can be found [here](https://github.com/everchron/ec-shards/tree/main/src/assets/icons). */
|
|
13751
13758
|
icon: {
|
|
@@ -13796,7 +13803,7 @@ function Lp(t, s, e, a, n, i) {
|
|
|
13796
13803
|
])) : u("", !0)
|
|
13797
13804
|
]);
|
|
13798
13805
|
}
|
|
13799
|
-
const
|
|
13806
|
+
const J_ = /* @__PURE__ */ b(Tp, [["render", Lp], ["__scopeId", "data-v-f5d26b63"]]), Np = {
|
|
13800
13807
|
name: "EcsPopoverListHeadline",
|
|
13801
13808
|
components: {
|
|
13802
13809
|
EcsButtonCollapse: is
|
|
@@ -13841,7 +13848,7 @@ const K_ = /* @__PURE__ */ b(Tp, [["render", Lp], ["__scopeId", "data-v-f5d26b63
|
|
|
13841
13848
|
key: 1,
|
|
13842
13849
|
class: "ecs-popover-list-title-controls"
|
|
13843
13850
|
};
|
|
13844
|
-
function
|
|
13851
|
+
function Dp(t, s, e, a, n, i) {
|
|
13845
13852
|
const r = m("ecs-button-collapse");
|
|
13846
13853
|
return o(), l("li", {
|
|
13847
13854
|
class: v(["ecs-popover-list-title", [
|
|
@@ -13865,7 +13872,7 @@ function $p(t, s, e, a, n, i) {
|
|
|
13865
13872
|
])) : u("", !0)
|
|
13866
13873
|
], 2);
|
|
13867
13874
|
}
|
|
13868
|
-
const
|
|
13875
|
+
const Q_ = /* @__PURE__ */ b(Np, [["render", Dp], ["__scopeId", "data-v-c1516cc2"]]), $p = {
|
|
13869
13876
|
name: "ecs-rating-star-read",
|
|
13870
13877
|
components: { EcsSkeletonLoader: ie },
|
|
13871
13878
|
props: {
|
|
@@ -13917,7 +13924,7 @@ function Fp(t, s, e, a, n, i) {
|
|
|
13917
13924
|
}, null, 8, Hp))
|
|
13918
13925
|
], 10, Vp);
|
|
13919
13926
|
}
|
|
13920
|
-
const qp = /* @__PURE__ */ b(
|
|
13927
|
+
const qp = /* @__PURE__ */ b($p, [["render", Fp], ["__scopeId", "data-v-7e609016"]]), Wp = {
|
|
13921
13928
|
name: "ecs-rating-favorability",
|
|
13922
13929
|
emits: ["click"],
|
|
13923
13930
|
components: { EcsIcon: M, EcsSkeletonLoader: ie },
|
|
@@ -14159,7 +14166,7 @@ const Kp = /* @__PURE__ */ b(Wp, [["render", Gp], ["__scopeId", "data-v-a6e15633
|
|
|
14159
14166
|
class: "meta"
|
|
14160
14167
|
}, dv = { key: 0 }, uv = ["title"];
|
|
14161
14168
|
function fv(t, s, e, a, n, i) {
|
|
14162
|
-
const r = m("ecs-icon"), c = m("ecs-focus-ring"), d = m("ecs-rating-favorability"), f = m("ecs-rating-star-read"), y = m("ecs-switch"), _ = m("ecs-avatar"), I = m("ecs-popover-list-item"), z = m("ecs-popover-list"),
|
|
14169
|
+
const r = m("ecs-icon"), c = m("ecs-focus-ring"), d = m("ecs-rating-favorability"), f = m("ecs-rating-star-read"), y = m("ecs-switch"), _ = m("ecs-avatar"), I = m("ecs-popover-list-item"), z = m("ecs-popover-list"), x = m("ecs-popover"), E = m("ecs-flex-row"), P = m("ecs-checkbox");
|
|
14163
14170
|
return o(), l("li", {
|
|
14164
14171
|
class: v(["ecs-quicklinks-link", [
|
|
14165
14172
|
i.typeClass,
|
|
@@ -14232,7 +14239,7 @@ function fv(t, s, e, a, n, i) {
|
|
|
14232
14239
|
A(w(e.label), 1)
|
|
14233
14240
|
]),
|
|
14234
14241
|
_: 1
|
|
14235
|
-
}, 8, ["value", "disabled"])) : e.type === "persona" ? (o(), l(
|
|
14242
|
+
}, 8, ["value", "disabled"])) : e.type === "persona" ? (o(), l(V, { key: 2 }, [
|
|
14236
14243
|
k(_, {
|
|
14237
14244
|
image: e.persona.image,
|
|
14238
14245
|
name: e.persona.name,
|
|
@@ -14247,21 +14254,21 @@ function fv(t, s, e, a, n, i) {
|
|
|
14247
14254
|
class: "volume-list"
|
|
14248
14255
|
}, {
|
|
14249
14256
|
default: S(() => [
|
|
14250
|
-
(o(!0), l(
|
|
14257
|
+
(o(!0), l(V, null, se(i.displayedVolumes, (T) => (o(), l("button", {
|
|
14251
14258
|
key: T.id,
|
|
14252
14259
|
class: v(["volume", { active: T.active }]),
|
|
14253
14260
|
onClick: (R) => i.toggleVolume(T.id),
|
|
14254
14261
|
title: `${T.name} (${T.date})`,
|
|
14255
14262
|
"aria-label": `Volume ${T.id}${T.active ? " active" : ""}`
|
|
14256
14263
|
}, w(T.id), 11, rv))), 128)),
|
|
14257
|
-
n.localVolumes.length > 3 ? (o(), p(
|
|
14264
|
+
n.localVolumes.length > 3 ? (o(), p(x, {
|
|
14258
14265
|
key: 0,
|
|
14259
14266
|
disabled: e.disabled || null
|
|
14260
14267
|
}, {
|
|
14261
14268
|
content: S(() => [
|
|
14262
14269
|
k(z, null, {
|
|
14263
14270
|
default: S(() => [
|
|
14264
|
-
(o(!0), l(
|
|
14271
|
+
(o(!0), l(V, null, se(n.localVolumes.slice(3), (T) => (o(), p(I, {
|
|
14265
14272
|
key: T.id,
|
|
14266
14273
|
onClick: (R) => i.toggleVolume(T.id),
|
|
14267
14274
|
selected: T.active,
|
|
@@ -14306,7 +14313,7 @@ function fv(t, s, e, a, n, i) {
|
|
|
14306
14313
|
}, 8, ["value", "value-false", "value-true", "disabled", "indeterminate"]))
|
|
14307
14314
|
], 2);
|
|
14308
14315
|
}
|
|
14309
|
-
const
|
|
14316
|
+
const ek = /* @__PURE__ */ b(Yp, [["render", fv], ["__scopeId", "data-v-db5374f4"]]), gv = {
|
|
14310
14317
|
name: "ecs-range",
|
|
14311
14318
|
mixins: [me],
|
|
14312
14319
|
emits: ["update:modelValue"],
|
|
@@ -14404,20 +14411,20 @@ function vv(t, s, e, a, n, i) {
|
|
|
14404
14411
|
class: "ecs-range-input"
|
|
14405
14412
|
}, null, 40, mv),
|
|
14406
14413
|
i.shouldShowMarkers ? (o(), l("div", hv, [
|
|
14407
|
-
(o(!0), l(
|
|
14414
|
+
(o(!0), l(V, null, se(i.stepCount, (r, c) => (o(), l("span", {
|
|
14408
14415
|
key: c,
|
|
14409
14416
|
class: "ecs-range-marker"
|
|
14410
14417
|
}))), 128))
|
|
14411
14418
|
])) : u("", !0),
|
|
14412
14419
|
e.list ? (o(), l("div", pv, [
|
|
14413
|
-
(o(!0), l(
|
|
14420
|
+
(o(!0), l(V, null, se(e.list, (r, c) => (o(), l("span", {
|
|
14414
14421
|
key: c,
|
|
14415
14422
|
class: "ecs-range-label"
|
|
14416
14423
|
}, w(r), 1))), 128))
|
|
14417
14424
|
])) : u("", !0)
|
|
14418
14425
|
], 2);
|
|
14419
14426
|
}
|
|
14420
|
-
const
|
|
14427
|
+
const tk = /* @__PURE__ */ b(gv, [["render", vv], ["__scopeId", "data-v-b6f3e6b0"]]), yv = {
|
|
14421
14428
|
name: "ecs-rating-star-write",
|
|
14422
14429
|
emits: ["click", "reset"],
|
|
14423
14430
|
props: {
|
|
@@ -14442,8 +14449,8 @@ const Z_ = /* @__PURE__ */ b(gv, [["render", vv], ["__scopeId", "data-v-b6f3e6b0
|
|
|
14442
14449
|
default: !1
|
|
14443
14450
|
}
|
|
14444
14451
|
}
|
|
14445
|
-
}, bv = ["disabled"], _v = { class: "ecs-rating-write" }, kv = ["checked", "disabled"], wv = ["checked", "disabled"], Sv = ["checked", "disabled"],
|
|
14446
|
-
function
|
|
14452
|
+
}, bv = ["disabled"], _v = { class: "ecs-rating-write" }, kv = ["checked", "disabled"], wv = ["checked", "disabled"], Sv = ["checked", "disabled"], xv = ["checked", "disabled"];
|
|
14453
|
+
function Cv(t, s, e, a, n, i) {
|
|
14447
14454
|
return o(), l("div", {
|
|
14448
14455
|
class: v(["ecs-rating-form", [e.large ? "ecs-rating-form-lg" : ""]])
|
|
14449
14456
|
}, [
|
|
@@ -14491,12 +14498,12 @@ function xv(t, s, e, a, n, i) {
|
|
|
14491
14498
|
onClick: s[4] || (s[4] = (r) => t.$emit("click", r)),
|
|
14492
14499
|
checked: e.value == 4 || null,
|
|
14493
14500
|
disabled: e.disabled
|
|
14494
|
-
}, null, 8,
|
|
14501
|
+
}, null, 8, xv),
|
|
14495
14502
|
s[9] || (s[9] = g("i", null, null, -1))
|
|
14496
14503
|
])
|
|
14497
14504
|
], 2);
|
|
14498
14505
|
}
|
|
14499
|
-
const
|
|
14506
|
+
const sk = /* @__PURE__ */ b(yv, [["render", Cv], ["__scopeId", "data-v-0d4c1ecb"]]), Bv = {
|
|
14500
14507
|
name: "ecs-section",
|
|
14501
14508
|
props: {
|
|
14502
14509
|
/** Adds a headline to the section. */
|
|
@@ -14577,7 +14584,7 @@ function Iv(t, s, e, a, n, i) {
|
|
|
14577
14584
|
], 2)
|
|
14578
14585
|
], 2);
|
|
14579
14586
|
}
|
|
14580
|
-
const
|
|
14587
|
+
const ik = /* @__PURE__ */ b(Bv, [["render", Iv], ["__scopeId", "data-v-cdcc0680"]]), Ev = {
|
|
14581
14588
|
name: "ecs-segments",
|
|
14582
14589
|
emits: ["click"],
|
|
14583
14590
|
components: { EcsIcon: M },
|
|
@@ -14616,7 +14623,7 @@ function Ov(t, s, e, a, n, i) {
|
|
|
14616
14623
|
return o(), l("div", {
|
|
14617
14624
|
class: v(["ecs-segments", [e.inline ? "ecs-segments-inline" : ""]])
|
|
14618
14625
|
}, [
|
|
14619
|
-
(o(!0), l(
|
|
14626
|
+
(o(!0), l(V, null, se(e.options, (c) => (o(), l("label", {
|
|
14620
14627
|
key: c.id,
|
|
14621
14628
|
for: c.id,
|
|
14622
14629
|
disabled: e.disabled
|
|
@@ -14646,7 +14653,7 @@ function Ov(t, s, e, a, n, i) {
|
|
|
14646
14653
|
], 8, Tv))), 128))
|
|
14647
14654
|
], 2);
|
|
14648
14655
|
}
|
|
14649
|
-
const
|
|
14656
|
+
const nk = /* @__PURE__ */ b(Ev, [["render", Ov], ["__scopeId", "data-v-1cb14db0"]]), Av = {
|
|
14650
14657
|
name: "ecs-select-tile",
|
|
14651
14658
|
emits: ["click"],
|
|
14652
14659
|
components: {
|
|
@@ -14698,7 +14705,7 @@ const ek = /* @__PURE__ */ b(Ev, [["render", Ov], ["__scopeId", "data-v-1cb14db0
|
|
|
14698
14705
|
key: 2,
|
|
14699
14706
|
class: "help"
|
|
14700
14707
|
};
|
|
14701
|
-
function
|
|
14708
|
+
function Dv(t, s, e, a, n, i) {
|
|
14702
14709
|
const r = m("ecs-illustration"), c = m("ecs-focus-ring");
|
|
14703
14710
|
return o(), l("div", {
|
|
14704
14711
|
onClick: s[0] || (s[0] = (d) => t.$emit("click", d)),
|
|
@@ -14724,7 +14731,7 @@ function $v(t, s, e, a, n, i) {
|
|
|
14724
14731
|
})
|
|
14725
14732
|
], 42, Lv);
|
|
14726
14733
|
}
|
|
14727
|
-
const
|
|
14734
|
+
const ak = /* @__PURE__ */ b(Av, [["render", Dv], ["__scopeId", "data-v-a5e9bd1b"]]), $v = {
|
|
14728
14735
|
name: "ecs-sequence-map"
|
|
14729
14736
|
}, Vv = {
|
|
14730
14737
|
class: "ecs-sequence-map",
|
|
@@ -14736,7 +14743,7 @@ function Hv(t, s, e, a, n, i) {
|
|
|
14736
14743
|
h(t.$slots, "default", {}, void 0, !0)
|
|
14737
14744
|
]);
|
|
14738
14745
|
}
|
|
14739
|
-
const
|
|
14746
|
+
const ok = /* @__PURE__ */ b($v, [["render", Hv], ["__scopeId", "data-v-69c3c73d"]]), Fv = {
|
|
14740
14747
|
name: "ecs-sequence-map-button",
|
|
14741
14748
|
emits: ["click"],
|
|
14742
14749
|
components: { EcsIcon: M, EcsFocusRing: N },
|
|
@@ -14794,7 +14801,7 @@ function jv(t, s, e, a, n, i) {
|
|
|
14794
14801
|
s[1] || (s[1] = g("div", { class: "step-indicator" }, null, -1))
|
|
14795
14802
|
], 10, qv);
|
|
14796
14803
|
}
|
|
14797
|
-
const
|
|
14804
|
+
const rk = /* @__PURE__ */ b(Fv, [["render", jv], ["__scopeId", "data-v-397f53f1"]]), Uv = {
|
|
14798
14805
|
name: "ecs-tab-bar",
|
|
14799
14806
|
props: {
|
|
14800
14807
|
/** Determines the visual style of the tab bar. `standard` are regular tabs, `sidebar` should only be used for the tab bar that controls sidebar tabs, `segment` is a tab bar that visually looks the same as an ecs-segment control, `sheet` should be used for table sheets, and `modal` for tabs that are inside ecs-modal headers. */
|
|
@@ -14892,7 +14899,7 @@ function ty(t, s, e, a, n, i) {
|
|
|
14892
14899
|
const r = m("ecs-tab-bar"), c = m("ecs-tabs");
|
|
14893
14900
|
return o(), l("aside", {
|
|
14894
14901
|
class: v(["ecs-sidebar", [i.sizeClass, i.expandClass]]),
|
|
14895
|
-
style:
|
|
14902
|
+
style: C(i.height)
|
|
14896
14903
|
}, [
|
|
14897
14904
|
g("div", ey, [
|
|
14898
14905
|
k(r, { type: "sidebar" }, {
|
|
@@ -14910,7 +14917,7 @@ function ty(t, s, e, a, n, i) {
|
|
|
14910
14917
|
})
|
|
14911
14918
|
], 6);
|
|
14912
14919
|
}
|
|
14913
|
-
const
|
|
14920
|
+
const lk = /* @__PURE__ */ b(Qv, [["render", ty], ["__scopeId", "data-v-0f7679c6"]]), sy = {
|
|
14914
14921
|
name: "ecs-sidebar-content",
|
|
14915
14922
|
props: {
|
|
14916
14923
|
/** Adds an inner padding to the content area. */
|
|
@@ -14935,7 +14942,7 @@ function iy(t, s, e, a, n, i) {
|
|
|
14935
14942
|
h(t.$slots, "default", {}, void 0, !0)
|
|
14936
14943
|
], 2);
|
|
14937
14944
|
}
|
|
14938
|
-
const
|
|
14945
|
+
const ck = /* @__PURE__ */ b(sy, [["render", iy], ["__scopeId", "data-v-197087d5"]]), ny = {
|
|
14939
14946
|
name: "ecs-sidebar-footer",
|
|
14940
14947
|
props: {
|
|
14941
14948
|
/** Reduces the inner padding. */
|
|
@@ -14963,7 +14970,7 @@ function ay(t, s, e, a, n, i) {
|
|
|
14963
14970
|
], 2)
|
|
14964
14971
|
], 2);
|
|
14965
14972
|
}
|
|
14966
|
-
const
|
|
14973
|
+
const dk = /* @__PURE__ */ b(ny, [["render", ay], ["__scopeId", "data-v-0c35a678"]]), oy = {
|
|
14967
14974
|
name: "ecs-sidebar-header",
|
|
14968
14975
|
props: {
|
|
14969
14976
|
/** Determines if the sub header area should be expanded. */
|
|
@@ -15023,7 +15030,7 @@ function gy(t, s, e, a, n, i) {
|
|
|
15023
15030
|
})
|
|
15024
15031
|
]);
|
|
15025
15032
|
}
|
|
15026
|
-
const
|
|
15033
|
+
const uk = /* @__PURE__ */ b(oy, [["render", gy], ["__scopeId", "data-v-54e7aa5c"]]), my = {
|
|
15027
15034
|
name: "ecs-sidebar-list"
|
|
15028
15035
|
}, hy = {
|
|
15029
15036
|
class: "ecs-sidebar-list",
|
|
@@ -15034,7 +15041,7 @@ function py(t, s, e, a, n, i) {
|
|
|
15034
15041
|
h(t.$slots, "default", {}, void 0, !0)
|
|
15035
15042
|
]);
|
|
15036
15043
|
}
|
|
15037
|
-
const
|
|
15044
|
+
const fk = /* @__PURE__ */ b(my, [["render", py], ["__scopeId", "data-v-81bc3c0a"]]), vy = {
|
|
15038
15045
|
name: "ecs-sidebar-list-item",
|
|
15039
15046
|
emits: ["click", "select"],
|
|
15040
15047
|
components: { EcsIcon: M, EcsAvatar: nt, EcsCheckbox: pt, EcsFlexRow: Ee, EcsSkeletonLoader: ie },
|
|
@@ -15137,11 +15144,11 @@ const lk = /* @__PURE__ */ b(my, [["render", py], ["__scopeId", "data-v-81bc3c0a
|
|
|
15137
15144
|
}, yy = {
|
|
15138
15145
|
class: "ecs-sidebar-list-item",
|
|
15139
15146
|
role: "listitem"
|
|
15140
|
-
}, by = ["tabindex"], _y = { class: "ecs-sidebar-list-item-content" }, ky = { class: "ecs-sidebar-list-item-label" }, wy = { class: "ecs-sidebar-list-item-label-text" }, Sy = { class: "ecs-sidebar-list-item-subline" },
|
|
15147
|
+
}, by = ["tabindex"], _y = { class: "ecs-sidebar-list-item-content" }, ky = { class: "ecs-sidebar-list-item-label" }, wy = { class: "ecs-sidebar-list-item-label-text" }, Sy = { class: "ecs-sidebar-list-item-subline" }, xy = {
|
|
15141
15148
|
key: 0,
|
|
15142
15149
|
class: "ecs-sidebar-list-item-subline secondary"
|
|
15143
15150
|
};
|
|
15144
|
-
function
|
|
15151
|
+
function Cy(t, s, e, a, n, i) {
|
|
15145
15152
|
const r = m("ecs-checkbox"), c = m("ecs-skeleton-loader"), d = m("ecs-avatar"), f = m("ecs-icon"), y = m("ecs-flex-row");
|
|
15146
15153
|
return o(), l("div", yy, [
|
|
15147
15154
|
g("div", {
|
|
@@ -15195,7 +15202,7 @@ function xy(t, s, e, a, n, i) {
|
|
|
15195
15202
|
type: "single",
|
|
15196
15203
|
"line-height": 4,
|
|
15197
15204
|
width: "random"
|
|
15198
|
-
})) : (o(), l(
|
|
15205
|
+
})) : (o(), l(V, { key: 1 }, [
|
|
15199
15206
|
g("span", wy, [
|
|
15200
15207
|
h(t.$slots, "default", {}, void 0, !0)
|
|
15201
15208
|
]),
|
|
@@ -15220,11 +15227,11 @@ function xy(t, s, e, a, n, i) {
|
|
|
15220
15227
|
type: "single",
|
|
15221
15228
|
"line-height": 2,
|
|
15222
15229
|
width: "random"
|
|
15223
|
-
})) : e.subline ? (o(), l(
|
|
15230
|
+
})) : e.subline ? (o(), l(V, { key: 1 }, [
|
|
15224
15231
|
A(w(e.subline), 1)
|
|
15225
15232
|
], 64)) : u("", !0)
|
|
15226
15233
|
]),
|
|
15227
|
-
e.sublineSecondary || e.loading ? (o(), l("span",
|
|
15234
|
+
e.sublineSecondary || e.loading ? (o(), l("span", xy, [
|
|
15228
15235
|
g("span", {
|
|
15229
15236
|
class: v({ "on-hover": e.sublineSecondaryHover })
|
|
15230
15237
|
}, [
|
|
@@ -15234,7 +15241,7 @@ function xy(t, s, e, a, n, i) {
|
|
|
15234
15241
|
"line-height": 2,
|
|
15235
15242
|
width: "random",
|
|
15236
15243
|
alignment: "right"
|
|
15237
|
-
})) : (o(), l(
|
|
15244
|
+
})) : (o(), l(V, { key: 1 }, [
|
|
15238
15245
|
A(w(e.sublineSecondary), 1)
|
|
15239
15246
|
], 64))
|
|
15240
15247
|
], 2)
|
|
@@ -15247,7 +15254,7 @@ function xy(t, s, e, a, n, i) {
|
|
|
15247
15254
|
], 42, by)
|
|
15248
15255
|
]);
|
|
15249
15256
|
}
|
|
15250
|
-
const
|
|
15257
|
+
const gk = /* @__PURE__ */ b(vy, [["render", Cy], ["__scopeId", "data-v-66eb2ab6"]]), By = {
|
|
15251
15258
|
name: "ecs-structured-content",
|
|
15252
15259
|
components: {
|
|
15253
15260
|
EcsClickableArea: ui,
|
|
@@ -15379,7 +15386,7 @@ function Py(t, s, e, a, n, i) {
|
|
|
15379
15386
|
], 2)) : u("", !0)
|
|
15380
15387
|
], 2);
|
|
15381
15388
|
}
|
|
15382
|
-
const
|
|
15389
|
+
const mk = /* @__PURE__ */ b(By, [["render", Py], ["__scopeId", "data-v-823ad344"]]), My = {
|
|
15383
15390
|
name: "ecs-swatches-picker",
|
|
15384
15391
|
emits: ["update:modelValue"],
|
|
15385
15392
|
props: {
|
|
@@ -15436,7 +15443,7 @@ function Ay(t, s, e, a, n, i) {
|
|
|
15436
15443
|
class: v(["ecs-swatches", i.sizeClass]),
|
|
15437
15444
|
role: "radiogroup"
|
|
15438
15445
|
}, [
|
|
15439
|
-
(o(!0), l(
|
|
15446
|
+
(o(!0), l(V, null, se(e.swatches, (r) => (o(), l("div", {
|
|
15440
15447
|
key: r.id,
|
|
15441
15448
|
onClick: (c) => i.handleItemClick(r),
|
|
15442
15449
|
onKeydown: [
|
|
@@ -15449,11 +15456,11 @@ function Ay(t, s, e, a, n, i) {
|
|
|
15449
15456
|
"aria-label": r.title,
|
|
15450
15457
|
"aria-checked": n.selectedColor == r.hex ? "true" : "false",
|
|
15451
15458
|
class: v(["ecs-swatches-color", n.selectedColor == r.hex ? "active" : ""]),
|
|
15452
|
-
style:
|
|
15459
|
+
style: C({ backgroundColor: r.hex, color: r.hex })
|
|
15453
15460
|
}, null, 46, Oy))), 128))
|
|
15454
15461
|
], 2);
|
|
15455
15462
|
}
|
|
15456
|
-
const
|
|
15463
|
+
const hk = /* @__PURE__ */ b(My, [["render", Ay], ["__scopeId", "data-v-9c0b74cb"]]), Ly = {
|
|
15457
15464
|
name: "ecs-tab",
|
|
15458
15465
|
props: {
|
|
15459
15466
|
/** Shows this tab. */
|
|
@@ -15496,7 +15503,7 @@ function Ry(t, s, e, a, n, i) {
|
|
|
15496
15503
|
h(t.$slots, "default", {}, void 0, !0)
|
|
15497
15504
|
], 10, Ny);
|
|
15498
15505
|
}
|
|
15499
|
-
const
|
|
15506
|
+
const pk = /* @__PURE__ */ b(Ly, [["render", Ry], ["__scopeId", "data-v-2c119fff"]]), Dy = {
|
|
15500
15507
|
name: "ecs-tab-button",
|
|
15501
15508
|
emits: ["click", "tabNavigation"],
|
|
15502
15509
|
components: {
|
|
@@ -15604,7 +15611,7 @@ const fk = /* @__PURE__ */ b(Ly, [["render", Ry], ["__scopeId", "data-v-2c119fff
|
|
|
15604
15611
|
});
|
|
15605
15612
|
}
|
|
15606
15613
|
}
|
|
15607
|
-
},
|
|
15614
|
+
}, $y = ["disabled", "aria-selected", "aria-controls", "aria-label"], Vy = {
|
|
15608
15615
|
key: 2,
|
|
15609
15616
|
class: "shortcut"
|
|
15610
15617
|
};
|
|
@@ -15639,9 +15646,9 @@ function Hy(t, s, e, a, n, i) {
|
|
|
15639
15646
|
e.shortcut ? (o(), l("span", Vy, w(e.shortcut), 1)) : u("", !0),
|
|
15640
15647
|
k(d, { inset: 0 }),
|
|
15641
15648
|
s[2] || (s[2] = g("span", { class: "hover" }, null, -1))
|
|
15642
|
-
], 42,
|
|
15649
|
+
], 42, $y);
|
|
15643
15650
|
}
|
|
15644
|
-
const
|
|
15651
|
+
const vk = /* @__PURE__ */ b(Dy, [["render", Hy], ["__scopeId", "data-v-e723f4d5"]]), Fy = {
|
|
15645
15652
|
name: "ecs-tag",
|
|
15646
15653
|
emits: ["click"],
|
|
15647
15654
|
components: { EcsSkeletonLoader: ie, EcsFocusRing: N },
|
|
@@ -15731,7 +15738,7 @@ function Uy(t, s, e, a, n, i) {
|
|
|
15731
15738
|
e.loading ? "loading" : ""
|
|
15732
15739
|
]]),
|
|
15733
15740
|
onClick: s[0] || (s[0] = (...d) => i.handleClick && i.handleClick(...d)),
|
|
15734
|
-
style:
|
|
15741
|
+
style: C(i.customColorStyle),
|
|
15735
15742
|
role: e.hover ? "button" : !1,
|
|
15736
15743
|
tabindex: e.hover ? "0" : "-1",
|
|
15737
15744
|
"aria-busy": e.loading || null
|
|
@@ -15752,7 +15759,7 @@ function Uy(t, s, e, a, n, i) {
|
|
|
15752
15759
|
k(c)
|
|
15753
15760
|
], 14, qy);
|
|
15754
15761
|
}
|
|
15755
|
-
const
|
|
15762
|
+
const yk = /* @__PURE__ */ b(Fy, [["render", Uy], ["__scopeId", "data-v-7e468797"]]), Gy = {
|
|
15756
15763
|
name: "ecs-tag-cloud"
|
|
15757
15764
|
}, Ky = {
|
|
15758
15765
|
class: "ecs-tag-cloud",
|
|
@@ -15763,7 +15770,7 @@ function Yy(t, s, e, a, n, i) {
|
|
|
15763
15770
|
h(t.$slots, "default", {}, void 0, !0)
|
|
15764
15771
|
]);
|
|
15765
15772
|
}
|
|
15766
|
-
const
|
|
15773
|
+
const bk = /* @__PURE__ */ b(Gy, [["render", Yy], ["__scopeId", "data-v-4334fe7e"]]), Xy = {
|
|
15767
15774
|
name: "ecs-toast",
|
|
15768
15775
|
emits: ["action"],
|
|
15769
15776
|
components: { EcsFocusRing: N },
|
|
@@ -15808,7 +15815,7 @@ function Zy(t, s, e, a, n, i) {
|
|
|
15808
15815
|
])) : u("", !0)
|
|
15809
15816
|
], 2);
|
|
15810
15817
|
}
|
|
15811
|
-
const
|
|
15818
|
+
const _k = /* @__PURE__ */ b(Xy, [["render", Zy], ["__scopeId", "data-v-61082fed"]]), Jy = {
|
|
15812
15819
|
name: "ecs-toasts"
|
|
15813
15820
|
}, Qy = {
|
|
15814
15821
|
class: "ecs-toasts",
|
|
@@ -15824,7 +15831,7 @@ function eb(t, s, e, a, n, i) {
|
|
|
15824
15831
|
})
|
|
15825
15832
|
]);
|
|
15826
15833
|
}
|
|
15827
|
-
const
|
|
15834
|
+
const kk = /* @__PURE__ */ b(Jy, [["render", eb], ["__scopeId", "data-v-451fee48"]]), tb = {
|
|
15828
15835
|
name: "ecs-transcript-state",
|
|
15829
15836
|
emits: ["click"],
|
|
15830
15837
|
components: {
|
|
@@ -15871,7 +15878,7 @@ function ob(t, s, e, a, n, i) {
|
|
|
15871
15878
|
type: "rect",
|
|
15872
15879
|
width: 30,
|
|
15873
15880
|
height: 30
|
|
15874
|
-
})) : (o(), l(
|
|
15881
|
+
})) : (o(), l(V, { key: 1 }, [
|
|
15875
15882
|
k(c, {
|
|
15876
15883
|
type: "toolbar-transcript",
|
|
15877
15884
|
color: "#929AA9"
|
|
@@ -15888,7 +15895,7 @@ function ob(t, s, e, a, n, i) {
|
|
|
15888
15895
|
], 64))
|
|
15889
15896
|
], 10, sb);
|
|
15890
15897
|
}
|
|
15891
|
-
const
|
|
15898
|
+
const wk = /* @__PURE__ */ b(tb, [["render", ob], ["__scopeId", "data-v-5b025c70"]]), rb = {
|
|
15892
15899
|
name: "ecs-tree-list",
|
|
15893
15900
|
props: {
|
|
15894
15901
|
/** Optional unique ID for the list. */
|
|
@@ -15917,7 +15924,7 @@ function cb(t, s, e, a, n, i) {
|
|
|
15917
15924
|
h(t.$slots, "default", {}, void 0, !0)
|
|
15918
15925
|
], 10, lb);
|
|
15919
15926
|
}
|
|
15920
|
-
const
|
|
15927
|
+
const Sk = /* @__PURE__ */ b(rb, [["render", cb], ["__scopeId", "data-v-6af94f50"]]), db = {
|
|
15921
15928
|
name: "ecs-tree-list-item",
|
|
15922
15929
|
emits: ["click", "toggled"],
|
|
15923
15930
|
components: { EcsIcon: M, EcsButtonCollapse: is, EcsFocusRing: N },
|
|
@@ -16128,7 +16135,7 @@ function pb(t, s, e, a, n, i) {
|
|
|
16128
16135
|
], 10, hb)) : u("", !0)
|
|
16129
16136
|
]);
|
|
16130
16137
|
}
|
|
16131
|
-
const
|
|
16138
|
+
const xk = /* @__PURE__ */ b(db, [["render", pb], ["__scopeId", "data-v-f38c8893"]]), vb = {
|
|
16132
16139
|
name: "ecs-tree-list-headline"
|
|
16133
16140
|
}, yb = { class: "ecs-tree-view-headline" };
|
|
16134
16141
|
function bb(t, s, e, a, n, i) {
|
|
@@ -16136,7 +16143,7 @@ function bb(t, s, e, a, n, i) {
|
|
|
16136
16143
|
h(t.$slots, "default", {}, void 0, !0)
|
|
16137
16144
|
]);
|
|
16138
16145
|
}
|
|
16139
|
-
const
|
|
16146
|
+
const Ck = /* @__PURE__ */ b(vb, [["render", bb], ["__scopeId", "data-v-a5153e06"]]), _b = {
|
|
16140
16147
|
name: "EcsTypeConfirmation",
|
|
16141
16148
|
emits: ["update:modelValue"],
|
|
16142
16149
|
components: { EcsInput: am, EcsAlert: ei, EcsFormGroup: Eg },
|
|
@@ -16200,8 +16207,8 @@ const kk = /* @__PURE__ */ b(vb, [["render", bb], ["__scopeId", "data-v-a5153e06
|
|
|
16200
16207
|
mounted() {
|
|
16201
16208
|
this.uniqueId = "input-" + this.generateUniqueId();
|
|
16202
16209
|
}
|
|
16203
|
-
}, kb = ["for"], wb = { class: "ecs-type-confirmation-verb" }, Sb = ["for"],
|
|
16204
|
-
function
|
|
16210
|
+
}, kb = ["for"], wb = { class: "ecs-type-confirmation-verb" }, Sb = ["for"], xb = { class: "ecs-type-confirmation-verb" };
|
|
16211
|
+
function Cb(t, s, e, a, n, i) {
|
|
16205
16212
|
const r = m("ecs-input"), c = m("ecs-form-group"), d = m("ecs-alert");
|
|
16206
16213
|
return e.alertType != "none" ? (o(), p(d, {
|
|
16207
16214
|
key: 0,
|
|
@@ -16241,12 +16248,12 @@ function xb(t, s, e, a, n, i) {
|
|
|
16241
16248
|
id: n.uniqueId,
|
|
16242
16249
|
style: { "text-transform": "uppercase" }
|
|
16243
16250
|
}, null, 8, ["modelValue", "onInput", "error", "id"]),
|
|
16244
|
-
g("span",
|
|
16251
|
+
g("span", xb, w(i.upperCaseVerb), 1)
|
|
16245
16252
|
]),
|
|
16246
16253
|
_: 1
|
|
16247
16254
|
}));
|
|
16248
16255
|
}
|
|
16249
|
-
const
|
|
16256
|
+
const Bk = /* @__PURE__ */ b(_b, [["render", Cb], ["__scopeId", "data-v-3e9bc710"]]), Bb = {
|
|
16250
16257
|
name: "ecs-video",
|
|
16251
16258
|
props: {
|
|
16252
16259
|
/** URL to an optional poster image. */
|
|
@@ -16296,158 +16303,359 @@ function Ib(t, s, e, a, n, i) {
|
|
|
16296
16303
|
src: e.mp4Source
|
|
16297
16304
|
}, null, 8, zb);
|
|
16298
16305
|
}
|
|
16299
|
-
const
|
|
16306
|
+
const zk = /* @__PURE__ */ b(Bb, [["render", Ib], ["__scopeId", "data-v-ce84fcb3"]]), Eb = {
|
|
16307
|
+
name: "ecs-window",
|
|
16308
|
+
components: { EcsButton: be, EcsTextV2: We },
|
|
16309
|
+
emits: ["drag", "resize", "close", "focus", "blur"],
|
|
16310
|
+
props: {
|
|
16311
|
+
/** Window title */
|
|
16312
|
+
title: {
|
|
16313
|
+
type: String,
|
|
16314
|
+
default: ""
|
|
16315
|
+
},
|
|
16316
|
+
/** Whether the window can be dragged */
|
|
16317
|
+
draggable: {
|
|
16318
|
+
type: Boolean,
|
|
16319
|
+
default: !0
|
|
16320
|
+
},
|
|
16321
|
+
/** Whether the window can be resized */
|
|
16322
|
+
resizable: {
|
|
16323
|
+
type: Boolean,
|
|
16324
|
+
default: !0
|
|
16325
|
+
},
|
|
16326
|
+
/** Initial position of the window */
|
|
16327
|
+
initialPosition: {
|
|
16328
|
+
type: Object,
|
|
16329
|
+
default: () => ({ x: 0, y: 0 })
|
|
16330
|
+
},
|
|
16331
|
+
/** Initial size of the window */
|
|
16332
|
+
initialSize: {
|
|
16333
|
+
type: Object,
|
|
16334
|
+
default: () => ({ width: 400, height: 300 })
|
|
16335
|
+
},
|
|
16336
|
+
/** Bounding element for the window. Can be a ref or element ID */
|
|
16337
|
+
boundingElement: {
|
|
16338
|
+
type: [String, Object],
|
|
16339
|
+
default: "body"
|
|
16340
|
+
},
|
|
16341
|
+
/** Minimum width of the window */
|
|
16342
|
+
minWidth: {
|
|
16343
|
+
type: Number,
|
|
16344
|
+
default: 320
|
|
16345
|
+
},
|
|
16346
|
+
/** Minimum height of the window */
|
|
16347
|
+
minHeight: {
|
|
16348
|
+
type: Number,
|
|
16349
|
+
default: 80
|
|
16350
|
+
},
|
|
16351
|
+
/** Maximum width of the window */
|
|
16352
|
+
maxWidth: {
|
|
16353
|
+
type: Number,
|
|
16354
|
+
default: null
|
|
16355
|
+
},
|
|
16356
|
+
/** Maximum height of the window */
|
|
16357
|
+
maxHeight: {
|
|
16358
|
+
type: Number,
|
|
16359
|
+
default: null
|
|
16360
|
+
}
|
|
16361
|
+
},
|
|
16362
|
+
data() {
|
|
16363
|
+
return {
|
|
16364
|
+
position: { ...this.initialPosition },
|
|
16365
|
+
size: { ...this.initialSize },
|
|
16366
|
+
isFocused: !1,
|
|
16367
|
+
isDragging: !1,
|
|
16368
|
+
isResizing: !1,
|
|
16369
|
+
resizeDirection: null,
|
|
16370
|
+
dragStart: { x: 0, y: 0 },
|
|
16371
|
+
sizeStart: { width: 0, height: 0 },
|
|
16372
|
+
bounds: { left: 0, top: 0, right: 0, bottom: 0 }
|
|
16373
|
+
};
|
|
16374
|
+
},
|
|
16375
|
+
mounted() {
|
|
16376
|
+
document.addEventListener("mousemove", this.handleMouseMove), document.addEventListener("mouseup", this.handleMouseUp), this.updateBounds(), window.addEventListener("resize", this.updateBounds);
|
|
16377
|
+
},
|
|
16378
|
+
beforeUnmount() {
|
|
16379
|
+
document.removeEventListener("mousemove", this.handleMouseMove), document.removeEventListener("mouseup", this.handleMouseUp), window.removeEventListener("resize", this.updateBounds);
|
|
16380
|
+
},
|
|
16381
|
+
methods: {
|
|
16382
|
+
updateBounds() {
|
|
16383
|
+
let t;
|
|
16384
|
+
if (typeof this.boundingElement == "string" ? t = this.boundingElement === "body" ? document.body : document.getElementById(this.boundingElement) : t = this.boundingElement, !t) return;
|
|
16385
|
+
const s = t.getBoundingClientRect();
|
|
16386
|
+
this.bounds = {
|
|
16387
|
+
left: s.left,
|
|
16388
|
+
top: s.top,
|
|
16389
|
+
right: s.right,
|
|
16390
|
+
bottom: s.bottom
|
|
16391
|
+
};
|
|
16392
|
+
},
|
|
16393
|
+
focus() {
|
|
16394
|
+
this.isFocused = !0, this.$emit("focus");
|
|
16395
|
+
},
|
|
16396
|
+
startDrag(t) {
|
|
16397
|
+
this.draggable && (this.isDragging = !0, this.dragStart = {
|
|
16398
|
+
x: t.clientX - this.position.x,
|
|
16399
|
+
y: t.clientY - this.position.y
|
|
16400
|
+
});
|
|
16401
|
+
},
|
|
16402
|
+
startResize(t) {
|
|
16403
|
+
this.resizable && (this.isResizing = !0, this.resizeDirection = t, this.dragStart = {
|
|
16404
|
+
x: event.clientX,
|
|
16405
|
+
y: event.clientY
|
|
16406
|
+
}, this.sizeStart = {
|
|
16407
|
+
width: this.size.width,
|
|
16408
|
+
height: this.size.height
|
|
16409
|
+
});
|
|
16410
|
+
},
|
|
16411
|
+
handleMouseMove(t) {
|
|
16412
|
+
if (this.isDragging) {
|
|
16413
|
+
const s = t.clientX - this.dragStart.x, e = t.clientY - this.dragStart.y;
|
|
16414
|
+
this.position = {
|
|
16415
|
+
x: Math.min(Math.max(this.bounds.left, s), this.bounds.right - this.size.width),
|
|
16416
|
+
y: Math.min(Math.max(this.bounds.top, e), this.bounds.bottom - this.size.height)
|
|
16417
|
+
}, this.$emit("drag", this.position);
|
|
16418
|
+
}
|
|
16419
|
+
if (this.isResizing) {
|
|
16420
|
+
const s = t.clientX - this.dragStart.x, e = t.clientY - this.dragStart.y;
|
|
16421
|
+
if (this.resizeDirection === "right" || this.resizeDirection === "corner") {
|
|
16422
|
+
const a = this.bounds.right - this.position.x, n = Math.max(this.minWidth, this.sizeStart.width + s);
|
|
16423
|
+
this.size.width = Math.min(n, a);
|
|
16424
|
+
}
|
|
16425
|
+
if (this.resizeDirection === "bottom" || this.resizeDirection === "corner") {
|
|
16426
|
+
const a = this.bounds.bottom - this.position.y, n = Math.max(this.minHeight, this.sizeStart.height + e);
|
|
16427
|
+
this.size.height = Math.min(n, a);
|
|
16428
|
+
}
|
|
16429
|
+
this.$emit("resize", this.size);
|
|
16430
|
+
}
|
|
16431
|
+
},
|
|
16432
|
+
handleMouseUp() {
|
|
16433
|
+
this.isDragging = !1, this.isResizing = !1, this.resizeDirection = null;
|
|
16434
|
+
},
|
|
16435
|
+
handleBlur() {
|
|
16436
|
+
this.isFocused = !1, this.$emit("blur");
|
|
16437
|
+
}
|
|
16438
|
+
}
|
|
16439
|
+
}, Tb = { class: "ecs-window-content scrollbar scrollbar-sml" }, Pb = {
|
|
16440
|
+
key: 1,
|
|
16441
|
+
class: "ecs-window-footer"
|
|
16442
|
+
};
|
|
16443
|
+
function Mb(t, s, e, a, n, i) {
|
|
16444
|
+
const r = m("ecs-text-v2"), c = m("ecs-button");
|
|
16445
|
+
return o(), l("div", {
|
|
16446
|
+
onMousedown: s[5] || (s[5] = (...d) => i.focus && i.focus(...d)),
|
|
16447
|
+
onBlur: s[6] || (s[6] = (...d) => i.handleBlur && i.handleBlur(...d)),
|
|
16448
|
+
class: v([{ "is-focused": n.isFocused }, "ecs-window"]),
|
|
16449
|
+
style: C({
|
|
16450
|
+
transform: `translate(${n.position.x}px, ${n.position.y}px)`,
|
|
16451
|
+
width: `${Math.max(n.size.width, e.minWidth)}px`,
|
|
16452
|
+
height: `${Math.max(n.size.height, e.minHeight)}px`,
|
|
16453
|
+
minWidth: `${e.minWidth}px`,
|
|
16454
|
+
minHeight: `${e.minHeight}px`,
|
|
16455
|
+
maxWidth: `${e.maxWidth}px`,
|
|
16456
|
+
maxHeight: `${e.maxHeight}px`
|
|
16457
|
+
}),
|
|
16458
|
+
tabindex: "0"
|
|
16459
|
+
}, [
|
|
16460
|
+
e.draggable ? (o(), l("header", {
|
|
16461
|
+
key: 0,
|
|
16462
|
+
class: "ecs-window-header",
|
|
16463
|
+
onMousedown: s[1] || (s[1] = (...d) => i.startDrag && i.startDrag(...d))
|
|
16464
|
+
}, [
|
|
16465
|
+
k(r, {
|
|
16466
|
+
scale: "3",
|
|
16467
|
+
weight: "bold"
|
|
16468
|
+
}, {
|
|
16469
|
+
default: S(() => [
|
|
16470
|
+
A(w(e.title), 1)
|
|
16471
|
+
]),
|
|
16472
|
+
_: 1
|
|
16473
|
+
}),
|
|
16474
|
+
k(c, {
|
|
16475
|
+
onClick: s[0] || (s[0] = (d) => t.$emit("close")),
|
|
16476
|
+
type: "secondary",
|
|
16477
|
+
icon: "close",
|
|
16478
|
+
"icon-only": "",
|
|
16479
|
+
size: "sml",
|
|
16480
|
+
"aria-label": "Close window",
|
|
16481
|
+
title: "Close"
|
|
16482
|
+
})
|
|
16483
|
+
], 32)) : u("", !0),
|
|
16484
|
+
g("div", Tb, [
|
|
16485
|
+
h(t.$slots, "default", {}, void 0, !0)
|
|
16486
|
+
]),
|
|
16487
|
+
t.$slots.footer ? (o(), l("div", Pb, [
|
|
16488
|
+
h(t.$slots, "footer", {}, void 0, !0)
|
|
16489
|
+
])) : u("", !0),
|
|
16490
|
+
e.resizable ? (o(), l(V, { key: 2 }, [
|
|
16491
|
+
g("div", {
|
|
16492
|
+
onMousedown: s[2] || (s[2] = (d) => i.startResize("right")),
|
|
16493
|
+
class: "resize-handle resize-handle-right"
|
|
16494
|
+
}, null, 32),
|
|
16495
|
+
g("div", {
|
|
16496
|
+
onMousedown: s[3] || (s[3] = (d) => i.startResize("bottom")),
|
|
16497
|
+
class: "resize-handle resize-handle-bottom"
|
|
16498
|
+
}, null, 32),
|
|
16499
|
+
g("div", {
|
|
16500
|
+
onMousedown: s[4] || (s[4] = (d) => i.startResize("corner")),
|
|
16501
|
+
class: "resize-handle resize-handle-corner"
|
|
16502
|
+
}, null, 32)
|
|
16503
|
+
], 64)) : u("", !0)
|
|
16504
|
+
], 38);
|
|
16505
|
+
}
|
|
16506
|
+
const Ik = /* @__PURE__ */ b(Eb, [["render", Mb], ["__scopeId", "data-v-0e468824"]]);
|
|
16300
16507
|
export {
|
|
16301
16508
|
en as EcsActionToolbar,
|
|
16302
16509
|
ei as EcsAlert,
|
|
16303
|
-
|
|
16510
|
+
Ab as EcsAudio,
|
|
16304
16511
|
nt as EcsAvatar,
|
|
16305
|
-
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
|
|
16309
|
-
|
|
16310
|
-
|
|
16512
|
+
Lb as EcsBanner,
|
|
16513
|
+
Nb as EcsBreadcrumb,
|
|
16514
|
+
Rb as EcsBreadcrumbButton,
|
|
16515
|
+
Db as EcsBreadcrumbTitle,
|
|
16516
|
+
$b as EcsBulkSelector,
|
|
16517
|
+
be as EcsButton,
|
|
16311
16518
|
is as EcsButtonCollapse,
|
|
16312
|
-
|
|
16313
|
-
|
|
16314
|
-
|
|
16315
|
-
|
|
16519
|
+
Hb as EcsButtonContext,
|
|
16520
|
+
Fb as EcsButtonContextGroup,
|
|
16521
|
+
qb as EcsButtonDialog,
|
|
16522
|
+
Vb as EcsButtonGroup,
|
|
16316
16523
|
vi as EcsButtonMore,
|
|
16317
16524
|
ns as EcsButtonTable,
|
|
16318
16525
|
vt as EcsButtonToolbar,
|
|
16319
16526
|
as as EcsButtonToolbarGroup,
|
|
16320
|
-
|
|
16321
|
-
|
|
16322
|
-
|
|
16323
|
-
|
|
16527
|
+
Wb as EcsButtonToolbarIcon,
|
|
16528
|
+
jb as EcsCard,
|
|
16529
|
+
Gb as EcsChatConversation,
|
|
16530
|
+
Kb as EcsChatMessage,
|
|
16324
16531
|
pt as EcsCheckbox,
|
|
16325
|
-
|
|
16532
|
+
Ub as EcsCitationLine,
|
|
16326
16533
|
ui as EcsClickableArea,
|
|
16327
|
-
|
|
16328
|
-
|
|
16534
|
+
Xb as EcsCollapse,
|
|
16535
|
+
Zb as EcsCollectionControl,
|
|
16329
16536
|
ad as EcsColorPicker,
|
|
16330
|
-
|
|
16331
|
-
|
|
16332
|
-
|
|
16333
|
-
|
|
16334
|
-
|
|
16335
|
-
|
|
16336
|
-
|
|
16337
|
-
|
|
16338
|
-
|
|
16339
|
-
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
|
|
16343
|
-
|
|
16344
|
-
|
|
16345
|
-
|
|
16346
|
-
|
|
16347
|
-
|
|
16348
|
-
|
|
16349
|
-
|
|
16350
|
-
|
|
16351
|
-
|
|
16537
|
+
e_ as EcsColorPickerInput,
|
|
16538
|
+
Jb as EcsComment,
|
|
16539
|
+
Qb as EcsCommentList,
|
|
16540
|
+
Yb as EcsContextMenu,
|
|
16541
|
+
t_ as EcsDataCard,
|
|
16542
|
+
s_ as EcsDataCardList,
|
|
16543
|
+
i_ as EcsDataCardRow,
|
|
16544
|
+
n_ as EcsDataGrid,
|
|
16545
|
+
l_ as EcsDataGridCell,
|
|
16546
|
+
r_ as EcsDataGridGroup,
|
|
16547
|
+
o_ as EcsDataGridHeadCell,
|
|
16548
|
+
$d as EcsDataGridRow,
|
|
16549
|
+
a_ as EcsDataGridRowGroup,
|
|
16550
|
+
c_ as EcsDataList,
|
|
16551
|
+
d_ as EcsDataListItem,
|
|
16552
|
+
u_ as EcsDialog,
|
|
16553
|
+
f_ as EcsDialogHeader,
|
|
16554
|
+
g_ as EcsDirectoryEntry,
|
|
16555
|
+
m_ as EcsDocumentState,
|
|
16556
|
+
h_ as EcsDonutChart,
|
|
16557
|
+
p_ as EcsDropzone,
|
|
16558
|
+
v_ as EcsEcaiWrapper,
|
|
16352
16559
|
Si as EcsEmptyState,
|
|
16353
|
-
|
|
16354
|
-
|
|
16355
|
-
|
|
16560
|
+
y_ as EcsEntryLink,
|
|
16561
|
+
b_ as EcsExcerptSnippet,
|
|
16562
|
+
Du as EcsFavicon,
|
|
16356
16563
|
gi as EcsFileIcon,
|
|
16357
|
-
|
|
16358
|
-
|
|
16359
|
-
|
|
16360
|
-
|
|
16564
|
+
k_ as EcsFileList,
|
|
16565
|
+
w_ as EcsFileListItem,
|
|
16566
|
+
__ as EcsFillIcon,
|
|
16567
|
+
S_ as EcsFlag,
|
|
16361
16568
|
dg as EcsFlexCol,
|
|
16362
16569
|
Ee as EcsFlexRow,
|
|
16363
16570
|
N as EcsFocusRing,
|
|
16364
|
-
|
|
16571
|
+
x_ as EcsFolderSelector,
|
|
16365
16572
|
ss as EcsFormCheck,
|
|
16366
16573
|
Eg as EcsFormGroup,
|
|
16367
|
-
|
|
16368
|
-
|
|
16574
|
+
C_ as EcsFormHeadline,
|
|
16575
|
+
B_ as EcsFormSet,
|
|
16369
16576
|
yi as EcsFormatted,
|
|
16370
|
-
|
|
16577
|
+
z_ as EcsHighlight,
|
|
16371
16578
|
M as EcsIcon,
|
|
16372
16579
|
qg as EcsIllustration,
|
|
16373
|
-
|
|
16374
|
-
|
|
16375
|
-
|
|
16580
|
+
I_ as EcsIndexToolbar,
|
|
16581
|
+
E_ as EcsInfoTooltip,
|
|
16582
|
+
A_ as EcsInplace,
|
|
16376
16583
|
am as EcsInput,
|
|
16377
|
-
|
|
16584
|
+
T_ as EcsInputAddon,
|
|
16378
16585
|
hg as EcsInputClear,
|
|
16379
|
-
|
|
16380
|
-
|
|
16381
|
-
|
|
16586
|
+
P_ as EcsInputConnector,
|
|
16587
|
+
M_ as EcsInputFloat,
|
|
16588
|
+
O_ as EcsInputGroup,
|
|
16382
16589
|
bg as EcsInputSearch,
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
16390
|
-
|
|
16391
|
-
|
|
16392
|
-
|
|
16393
|
-
|
|
16394
|
-
|
|
16395
|
-
|
|
16396
|
-
|
|
16397
|
-
|
|
16398
|
-
|
|
16399
|
-
|
|
16590
|
+
L_ as EcsJumperDocument,
|
|
16591
|
+
N_ as EcsJumperIndex,
|
|
16592
|
+
R_ as EcsJumperPage,
|
|
16593
|
+
V_ as EcsLayoutDataTable,
|
|
16594
|
+
$_ as EcsLayoutDirectory,
|
|
16595
|
+
D_ as EcsLayoutIndex,
|
|
16596
|
+
H_ as EcsLegendItem,
|
|
16597
|
+
F_ as EcsLogMessage,
|
|
16598
|
+
q_ as EcsMap,
|
|
16599
|
+
W_ as EcsModal,
|
|
16600
|
+
U_ as EcsModalFooter,
|
|
16601
|
+
j_ as EcsModalHeader,
|
|
16602
|
+
Y_ as EcsMultiselectOption,
|
|
16603
|
+
G_ as EcsMultiselectSearchToken,
|
|
16604
|
+
K_ as EcsMultiselectToken,
|
|
16605
|
+
X_ as EcsOverlay,
|
|
16606
|
+
Z_ as EcsPagination,
|
|
16400
16607
|
Km as EcsPane,
|
|
16401
16608
|
Sd as EcsPartyEntry,
|
|
16402
16609
|
ts as EcsPopover,
|
|
16403
|
-
|
|
16610
|
+
J_ as EcsPopoverHeader,
|
|
16404
16611
|
di as EcsPopoverList,
|
|
16405
|
-
|
|
16612
|
+
Q_ as EcsPopoverListHeadline,
|
|
16406
16613
|
mi as EcsPopoverListItem,
|
|
16407
16614
|
gf as EcsProgress,
|
|
16408
|
-
|
|
16615
|
+
ek as EcsQuicklink,
|
|
16409
16616
|
oo as EcsRadiobutton,
|
|
16410
|
-
|
|
16617
|
+
tk as EcsRange,
|
|
16411
16618
|
Kp as EcsRatingFavorability,
|
|
16412
16619
|
qp as EcsRatingStarRead,
|
|
16413
|
-
|
|
16620
|
+
sk as EcsRatingStarWrite,
|
|
16414
16621
|
wg as EcsScrollContainer,
|
|
16415
|
-
|
|
16416
|
-
|
|
16622
|
+
ik as EcsSection,
|
|
16623
|
+
nk as EcsSegment,
|
|
16417
16624
|
wi as EcsSelect,
|
|
16418
16625
|
Gh as EcsSelectText,
|
|
16419
|
-
|
|
16626
|
+
ak as EcsSelectTile,
|
|
16420
16627
|
Xo as EcsSeparator,
|
|
16421
|
-
|
|
16422
|
-
|
|
16423
|
-
|
|
16424
|
-
|
|
16425
|
-
|
|
16426
|
-
|
|
16427
|
-
|
|
16428
|
-
|
|
16628
|
+
ok as EcsSequenceMap,
|
|
16629
|
+
rk as EcsSequenceMapButton,
|
|
16630
|
+
lk as EcsSidebar,
|
|
16631
|
+
ck as EcsSidebarContent,
|
|
16632
|
+
dk as EcsSidebarFooter,
|
|
16633
|
+
uk as EcsSidebarHeader,
|
|
16634
|
+
fk as EcsSidebarList,
|
|
16635
|
+
gk as EcsSidebarListItem,
|
|
16429
16636
|
ie as EcsSkeletonLoader,
|
|
16430
16637
|
vo as EcsSortbutton,
|
|
16431
16638
|
Ym as EcsSplitpanes,
|
|
16432
16639
|
Ou as EcsStateIcon,
|
|
16433
16640
|
qe as EcsSticker,
|
|
16434
|
-
|
|
16435
|
-
|
|
16641
|
+
mk as EcsStructuredContent,
|
|
16642
|
+
hk as EcsSwatchesPicker,
|
|
16436
16643
|
fi as EcsSwitch,
|
|
16437
|
-
|
|
16644
|
+
pk as EcsTab,
|
|
16438
16645
|
Yv as EcsTabBar,
|
|
16439
|
-
|
|
16646
|
+
vk as EcsTabButton,
|
|
16440
16647
|
Jv as EcsTabs,
|
|
16441
|
-
|
|
16442
|
-
|
|
16443
|
-
|
|
16444
|
-
|
|
16445
|
-
|
|
16648
|
+
yk as EcsTag,
|
|
16649
|
+
bk as EcsTagCloud,
|
|
16650
|
+
We as EcsTextV2,
|
|
16651
|
+
_k as EcsToast,
|
|
16652
|
+
kk as EcsToasts,
|
|
16446
16653
|
Gg as EcsToolbar,
|
|
16447
|
-
|
|
16448
|
-
|
|
16449
|
-
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
|
|
16654
|
+
wk as EcsTranscriptState,
|
|
16655
|
+
Sk as EcsTreeList,
|
|
16656
|
+
Ck as EcsTreeListHeadline,
|
|
16657
|
+
xk as EcsTreeListItem,
|
|
16658
|
+
Bk as EcsTypeConfirmation,
|
|
16659
|
+
zk as EcsVideo,
|
|
16660
|
+
Ik as EcsWindow
|
|
16453
16661
|
};
|