@everchron/ec-shards 9.22.0 → 9.22.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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineAsyncComponent as se, watch as me, openBlock as o, createBlock as h, resolveDynamicComponent as ue, unref as re, normalizeClass as v, createElementBlock as r, normalizeStyle as B, resolveComponent as g, createVNode as _, createCommentVNode as u, createElementVNode as f, createTextVNode as L, toDisplayString as C, renderSlot as p, Transition as pe, withCtx as w, computed as Ee, Fragment as H, renderList as X, pushScopeId as ve, popScopeId as ye, reactive as ui, nextTick as fi, onBeforeUnmount as At, toRefs as Es, isRef as gi, onMounted as Ts, useSlots as mi, ref as Fe, watchEffect as ut, withKeys as Y, Teleport as hi, withDirectives as je, vShow as nt, mergeProps as Oe, normalizeProps as pi, guardReactiveProps as vi, withModifiers as G, resolveDirective as yi, vModelText as bi, createStaticVNode as _i, markRaw as ki, TransitionGroup as Ps, h as Ci, useCssVars as wi } from "vue";
1
+ import { defineAsyncComponent as se, watch as me, openBlock as o, createBlock as h, resolveDynamicComponent as ue, unref as re, normalizeClass as v, createElementBlock as r, normalizeStyle as x, resolveComponent as g, createVNode as _, createCommentVNode as u, createElementVNode as f, createTextVNode as L, toDisplayString as C, renderSlot as p, Transition as pe, withCtx as w, computed as Ee, Fragment as H, renderList as X, pushScopeId as ve, popScopeId as ye, reactive as ui, nextTick as fi, onBeforeUnmount as At, toRefs as Es, isRef as gi, onMounted as Ts, useSlots as mi, ref as Fe, watchEffect as ut, withKeys as Y, Teleport as hi, withDirectives as je, vShow as nt, mergeProps as Oe, normalizeProps as pi, guardReactiveProps as vi, withModifiers as G, resolveDirective as yi, vModelText as bi, createStaticVNode as _i, markRaw as ki, TransitionGroup as Ps, h as Ci, useCssVars as wi } from "vue";
2
2
  const ie = (e, s) => {
3
3
  const t = e[s];
4
4
  return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((a, n) => {
@@ -84,7 +84,7 @@ const ie = (e, s) => {
84
84
  function Bi(e, s, t, a, n, i) {
85
85
  return o(), r("span", {
86
86
  class: v(["ecs-focus-ring", t.danger ? "ecs-focus-ring-danger" : ""]),
87
- style: B(i.styles)
87
+ style: x(i.styles)
88
88
  }, null, 6);
89
89
  }
90
90
  const D = /* @__PURE__ */ y(xi, [["render", Bi], ["__scopeId", "data-v-8d624905"]]), Ii = {
@@ -176,7 +176,7 @@ function Mi(e, s, t, a, n, i) {
176
176
  t.inset ? "ecs-alert-inset" : "",
177
177
  t.border !== !1 ? "ecs-alert-border" : ""
178
178
  ]]),
179
- style: B(i.borderStyles),
179
+ style: x(i.borderStyles),
180
180
  role: "alert"
181
181
  }, [
182
182
  t.dismissable ? (o(), r("button", {
@@ -335,7 +335,7 @@ const Yb = /* @__PURE__ */ y(Di, [["render", Ri], ["__scopeId", "data-v-4e7ca115
335
335
  "aria-busy": t.value || null,
336
336
  width: e.size,
337
337
  height: e.size,
338
- style: B(`color: ${n.value}`),
338
+ style: x(`color: ${n.value}`),
339
339
  "data-test-icon-type": e.type
340
340
  }, null, 8, ["class", "aria-busy", "width", "height", "style", "data-test-icon-type"])) : u("", !0);
341
341
  }
@@ -398,7 +398,7 @@ function Ki(e, s, t, a, n, i) {
398
398
  return t.type === "rect" || t.type === "circle" ? (o(), r("div", {
399
399
  key: 0,
400
400
  class: v(["ecs-skeleton skeleton", i.rectClass]),
401
- style: B({ width: i.calculatedWidth, height: t.height + "px" })
401
+ style: x({ width: i.calculatedWidth, height: t.height + "px" })
402
402
  }, null, 6)) : t.type === "multi" ? (o(), r("div", ji, [
403
403
  (o(!0), r(H, null, X(parseInt(t.count), (l) => (o(), r("div", {
404
404
  key: l,
@@ -410,7 +410,7 @@ function Ki(e, s, t, a, n, i) {
410
410
  }, [
411
411
  f("div", {
412
412
  class: "skeleton skeleton-single",
413
- style: B({ width: i.calculatedWidth })
413
+ style: x({ width: i.calculatedWidth })
414
414
  }, null, 4)
415
415
  ], 2));
416
416
  }
@@ -551,7 +551,7 @@ function Ji(e, s, t, a, n, i) {
551
551
  const l = g("ecs-skeleton-loader"), c = g("ecs-sticker");
552
552
  return o(), r("div", {
553
553
  class: v(["avatar", [i.partyClass]]),
554
- style: B([i.style, t.customStyle]),
554
+ style: x([i.style, t.customStyle]),
555
555
  role: t.image ? "img" : "none",
556
556
  "aria-label": t.name
557
557
  }, [
@@ -646,7 +646,7 @@ function en(e, s, t, a, n, i) {
646
646
  t.dismissable ? (o(), r("button", {
647
647
  key: 0,
648
648
  onClick: s[0] || (s[0] = (...d) => i.dismiss && i.dismiss(...d)),
649
- style: B(i.dismissButtonStyle),
649
+ style: x(i.dismissButtonStyle),
650
650
  class: "close",
651
651
  "aria-label": "Dismiss"
652
652
  }, [
@@ -801,7 +801,7 @@ const Qb = /* @__PURE__ */ y(ln, [["render", cn], ["__scopeId", "data-v-422cc046
801
801
  function un(e, s, t, a, n, i) {
802
802
  return o(), r("div", {
803
803
  class: v(["ecs-flex-row", [i.directionClass, i.justifyClass, i.alignClass, t.wrap ? "ecs-flex-row-wrap" : ""]]),
804
- style: B(i.gapStyle)
804
+ style: x(i.gapStyle)
805
805
  }, [
806
806
  p(e.$slots, "default", {}, void 0, !0)
807
807
  ], 6);
@@ -1190,7 +1190,7 @@ function Fs(e, s) {
1190
1190
  }
1191
1191
  function qt(e, s) {
1192
1192
  s === void 0 && (s = {});
1193
- var t = s, a = t.placement, n = a === void 0 ? e.placement : a, i = t.strategy, l = i === void 0 ? e.strategy : i, c = t.boundary, d = c === void 0 ? yn : c, m = t.rootBoundary, b = m === void 0 ? Os : m, k = t.elementContext, I = k === void 0 ? Je : k, z = t.altBoundary, x = z === void 0 ? !1 : z, M = t.padding, $ = M === void 0 ? 0 : M, E = Rs(typeof $ != "number" ? $ : Fs($, lt)), T = I === Je ? bn : Je, R = e.rects.popper, O = e.elements[x ? T : I], N = Nn(We(O) ? O : O.contextElement || Ne(e.elements.popper), d, b, l), P = Ye(e.elements.reference), V = Vs({
1193
+ var t = s, a = t.placement, n = a === void 0 ? e.placement : a, i = t.strategy, l = i === void 0 ? e.strategy : i, c = t.boundary, d = c === void 0 ? yn : c, m = t.rootBoundary, b = m === void 0 ? Os : m, k = t.elementContext, I = k === void 0 ? Je : k, z = t.altBoundary, B = z === void 0 ? !1 : z, M = t.padding, $ = M === void 0 ? 0 : M, E = Rs(typeof $ != "number" ? $ : Fs($, lt)), T = I === Je ? bn : Je, R = e.rects.popper, O = e.elements[B ? T : I], N = Nn(We(O) ? O : O.contextElement || Ne(e.elements.popper), d, b, l), P = Ye(e.elements.reference), V = Vs({
1194
1194
  reference: P,
1195
1195
  element: R,
1196
1196
  strategy: "absolute",
@@ -1249,7 +1249,7 @@ function Vn(e) {
1249
1249
  var R = Pn(Ln([].concat(a, b.options.modifiers)));
1250
1250
  return b.orderedModifiers = R.filter(function(O) {
1251
1251
  return O.enabled;
1252
- }), x(), z.update();
1252
+ }), B(), z.update();
1253
1253
  },
1254
1254
  // Sync update – it will always be executed, even if not necessary. This
1255
1255
  // is useful for low frequency updates where sync behavior simplifies the
@@ -1298,7 +1298,7 @@ function Vn(e) {
1298
1298
  z.setOptions(m).then(function($) {
1299
1299
  !I && m.onFirstUpdate && m.onFirstUpdate($);
1300
1300
  });
1301
- function x() {
1301
+ function B() {
1302
1302
  b.orderedModifiers.forEach(function($) {
1303
1303
  var E = $.name, T = $.options, R = T === void 0 ? {} : T, O = $.effect;
1304
1304
  if (typeof O == "function") {
@@ -1373,7 +1373,7 @@ function jn(e, s) {
1373
1373
  };
1374
1374
  }
1375
1375
  function gs(e) {
1376
- var s, t = e.popper, a = e.popperRect, n = e.placement, i = e.variation, l = e.offsets, c = e.position, d = e.gpuAcceleration, m = e.adaptive, b = e.roundOffsets, k = e.isFixed, I = l.x, z = I === void 0 ? 0 : I, x = l.y, M = x === void 0 ? 0 : x, $ = typeof b == "function" ? b({
1376
+ var s, t = e.popper, a = e.popperRect, n = e.placement, i = e.variation, l = e.offsets, c = e.position, d = e.gpuAcceleration, m = e.adaptive, b = e.roundOffsets, k = e.isFixed, I = l.x, z = I === void 0 ? 0 : I, B = l.y, M = B === void 0 ? 0 : B, $ = typeof b == "function" ? b({
1377
1377
  x: z,
1378
1378
  y: M
1379
1379
  }) : {
@@ -1502,7 +1502,7 @@ function ea(e, s, t) {
1502
1502
  return a > t ? t : a;
1503
1503
  }
1504
1504
  function ta(e) {
1505
- var s = e.state, t = e.options, a = e.name, n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !1 : l, d = t.boundary, m = t.rootBoundary, b = t.altBoundary, k = t.padding, I = t.tether, z = I === void 0 ? !0 : I, x = t.tetherOffset, M = x === void 0 ? 0 : x, $ = qt(s, {
1505
+ var s = e.state, t = e.options, a = e.name, n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !1 : l, d = t.boundary, m = t.rootBoundary, b = t.altBoundary, k = t.padding, I = t.tether, z = I === void 0 ? !0 : I, B = t.tetherOffset, M = B === void 0 ? 0 : B, $ = qt(s, {
1506
1506
  boundary: d,
1507
1507
  rootBoundary: m,
1508
1508
  padding: k,
@@ -1563,22 +1563,22 @@ function ms(e) {
1563
1563
  }
1564
1564
  function aa(e, s) {
1565
1565
  s === void 0 && (s = {});
1566
- var t = s, a = t.placement, n = t.boundary, i = t.rootBoundary, l = t.padding, c = t.flipVariations, d = t.allowedAutoPlacements, m = d === void 0 ? Ds : d, b = Xe(a), k = b ? c ? cs : cs.filter(function(x) {
1567
- return Xe(x) === b;
1568
- }) : lt, I = k.filter(function(x) {
1569
- return m.indexOf(x) >= 0;
1566
+ var t = s, a = t.placement, n = t.boundary, i = t.rootBoundary, l = t.padding, c = t.flipVariations, d = t.allowedAutoPlacements, m = d === void 0 ? Ds : d, b = Xe(a), k = b ? c ? cs : cs.filter(function(B) {
1567
+ return Xe(B) === b;
1568
+ }) : lt, I = k.filter(function(B) {
1569
+ return m.indexOf(B) >= 0;
1570
1570
  });
1571
1571
  I.length === 0 && (I = k);
1572
- var z = I.reduce(function(x, M) {
1573
- return x[M] = qt(e, {
1572
+ var z = I.reduce(function(B, M) {
1573
+ return B[M] = qt(e, {
1574
1574
  placement: M,
1575
1575
  boundary: n,
1576
1576
  rootBoundary: i,
1577
1577
  padding: l
1578
- })[Te(M)], x;
1578
+ })[Te(M)], B;
1579
1579
  }, {});
1580
- return Object.keys(z).sort(function(x, M) {
1581
- return z[x] - z[M];
1580
+ return Object.keys(z).sort(function(B, M) {
1581
+ return z[B] - z[M];
1582
1582
  });
1583
1583
  }
1584
1584
  function oa(e) {
@@ -1590,13 +1590,13 @@ function oa(e) {
1590
1590
  function la(e) {
1591
1591
  var s = e.state, t = e.options, a = e.name;
1592
1592
  if (!s.modifiersData[a]._skip) {
1593
- for (var n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !0 : l, d = t.fallbackPlacements, m = t.padding, b = t.boundary, k = t.rootBoundary, I = t.altBoundary, z = t.flipVariations, x = z === void 0 ? !0 : z, M = t.allowedAutoPlacements, $ = s.options.placement, E = Te($), T = E === $, R = d || (T || !x ? [ht($)] : oa($)), O = [$].concat(R).reduce(function(Ae, Ce) {
1593
+ for (var n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !0 : l, d = t.fallbackPlacements, m = t.padding, b = t.boundary, k = t.rootBoundary, I = t.altBoundary, z = t.flipVariations, B = z === void 0 ? !0 : z, M = t.allowedAutoPlacements, $ = s.options.placement, E = Te($), T = E === $, R = d || (T || !B ? [ht($)] : oa($)), O = [$].concat(R).reduce(function(Ae, Ce) {
1594
1594
  return Ae.concat(Te(Ce) === Rt ? aa(s, {
1595
1595
  placement: Ce,
1596
1596
  boundary: b,
1597
1597
  rootBoundary: k,
1598
1598
  padding: m,
1599
- flipVariations: x,
1599
+ flipVariations: B,
1600
1600
  allowedAutoPlacements: M
1601
1601
  }) : Ce);
1602
1602
  }, []), N = s.rects.reference, P = s.rects.popper, V = /* @__PURE__ */ new Map(), q = !0, j = O[0], K = 0; K < O.length; K++) {
@@ -1618,7 +1618,7 @@ function la(e) {
1618
1618
  V.set(Z, ke);
1619
1619
  }
1620
1620
  if (q)
1621
- for (var $e = x ? 3 : 1, Ve = function(Ce) {
1621
+ for (var $e = B ? 3 : 1, Ve = function(Ce) {
1622
1622
  var F = O.find(function(U) {
1623
1623
  var oe = V.get(U);
1624
1624
  if (oe)
@@ -1679,7 +1679,7 @@ var fa = function(s, t) {
1679
1679
  function ga(e) {
1680
1680
  var s, t = e.state, a = e.name, n = e.options, i = t.elements.arrow, l = t.modifiersData.popperOffsets, c = Te(t.placement), d = Ft(c), m = [de, Be].indexOf(c) >= 0, b = m ? "height" : "width";
1681
1681
  if (!(!i || !l)) {
1682
- var k = fa(n.padding, t), I = Ht(i), z = d === "y" ? ce : de, x = d === "y" ? xe : Be, M = t.rects.reference[b] + t.rects.reference[d] - l[d] - t.rects.popper[b], $ = l[d] - t.rects.reference[d], E = ot(i), T = E ? d === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, R = M / 2 - $ / 2, O = k[z], N = T - I[b] - k[x], P = T / 2 - I[b] / 2 + R, V = st(O, P, N), q = d;
1682
+ var k = fa(n.padding, t), I = Ht(i), z = d === "y" ? ce : de, B = d === "y" ? xe : Be, M = t.rects.reference[b] + t.rects.reference[d] - l[d] - t.rects.popper[b], $ = l[d] - t.rects.reference[d], E = ot(i), T = E ? d === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, R = M / 2 - $ / 2, O = k[z], N = T - I[b] - k[B], P = T / 2 - I[b] / 2 + R, V = st(O, P, N), q = d;
1683
1683
  t.modifiersData[a] = (s = {}, s[q] = V, s.centerOffset = V - P, s);
1684
1684
  }
1685
1685
  }
@@ -1721,9 +1721,9 @@ function pa({
1721
1721
  d.isOpen || (d.isOpen = !0, s("open:popper"));
1722
1722
  };
1723
1723
  me([() => d.isOpen, i], async ([M]) => {
1724
- M ? (await x(), b()) : k();
1724
+ M ? (await B(), b()) : k();
1725
1725
  });
1726
- const x = async () => {
1726
+ const B = async () => {
1727
1727
  await fi(), d.popperInstance = Jn(c.value, l.value, {
1728
1728
  placement: i.value,
1729
1729
  modifiers: [
@@ -1922,7 +1922,7 @@ const Ca = /* @__PURE__ */ y(ba, [["render", ka], ["__scopeId", "data-v-b4b01b19
1922
1922
  setup(e, { expose: s, emit: t }) {
1923
1923
  const a = t, n = mi(), i = e;
1924
1924
  let l = null;
1925
- const c = "ecs-popover-" + parseInt(Math.ceil(Math.random() * Date.now()).toPrecision(16).toString().replace(".", "")), d = Fe(!1), m = Fe(null), b = Fe(null), k = Fe(!1), I = Fe(!1), z = Fe([]), x = Fe(!0), M = () => {
1925
+ const c = "ecs-popover-" + parseInt(Math.ceil(Math.random() * Date.now()).toPrecision(16).toString().replace(".", "")), d = Fe(!1), m = Fe(null), b = Fe(null), k = Fe(!1), I = Fe(!1), z = Fe([]), B = Fe(!0), M = () => {
1926
1926
  n.content ? I.value = !0 : I.value = !1;
1927
1927
  };
1928
1928
  Ts(() => {
@@ -2005,10 +2005,10 @@ const Ca = /* @__PURE__ */ y(ba, [["render", ka], ["__scopeId", "data-v-b4b01b19
2005
2005
  const He = (oe - 1 + U.length) % U.length;
2006
2006
  U[He].focus();
2007
2007
  } else
2008
- F.key === "Escape" ? (F.preventDefault(), ae()) : F.key === "Tab" && x.value && (F.preventDefault(), x.value = !1, U.length > 0 && U[0].focus());
2008
+ F.key === "Escape" ? (F.preventDefault(), ae()) : F.key === "Tab" && B.value && (F.preventDefault(), B.value = !1, U.length > 0 && U[0].focus());
2009
2009
  };
2010
2010
  return ut(() => {
2011
- d.value && (Ae(), x.value = !0, z.value.length > 0 && z.value[0].focus());
2011
+ d.value && (Ae(), B.value = !0, z.value.length > 0 && z.value[0].focus());
2012
2012
  }), (F, U) => (o(), r("div", {
2013
2013
  class: "ecs-popover-root",
2014
2014
  onMouseleave: U[2] || (U[2] = (oe) => e.hover && ae())
@@ -2413,12 +2413,12 @@ function Aa(e, s, t, a, n, i) {
2413
2413
  key: 0,
2414
2414
  onClick: i.handleClick,
2415
2415
  as: "button",
2416
- style: B(i.clickablePadding)
2416
+ style: x(i.clickablePadding)
2417
2417
  }, {
2418
2418
  default: w(() => [
2419
2419
  (o(), h(ue(i.textTag), {
2420
2420
  class: v([[i.typeScaleClass, i.weightClass, i.alignClass, t.preset, i.fontClass], "ecs-text"]),
2421
- style: B([i.colorStyle, i.fontSizeStyle])
2421
+ style: x([i.colorStyle, i.fontSizeStyle])
2422
2422
  }, {
2423
2423
  default: w(() => [
2424
2424
  p(e.$slots, "default", {}, void 0, !0)
@@ -2430,7 +2430,7 @@ function Aa(e, s, t, a, n, i) {
2430
2430
  }, 8, ["onClick", "style"])) : (o(), h(ue(i.textTag), {
2431
2431
  key: 1,
2432
2432
  class: v([[i.typeScaleClass, i.weightClass, i.alignClass, t.preset, i.fontClass], "ecs-text"]),
2433
- style: B([i.colorStyle, i.fontSizeStyle])
2433
+ style: x([i.colorStyle, i.fontSizeStyle])
2434
2434
  }, {
2435
2435
  default: w(() => [
2436
2436
  p(e.$slots, "default", {}, void 0, !0)
@@ -2635,7 +2635,7 @@ const rt = /* @__PURE__ */ y(Oa, [["render", Va], ["__scopeId", "data-v-be4ba5ee
2635
2635
  function Ra(e, s, t, a, n, i) {
2636
2636
  return o(), h(ue(i.textTag), {
2637
2637
  class: v([[i.textClass, t.emphasized ? "emphasized" : ""], "ecs-text"]),
2638
- style: B({ color: i.textColor })
2638
+ style: x({ color: i.textColor })
2639
2639
  }, {
2640
2640
  default: w(() => [
2641
2641
  p(e.$slots, "default", {}, void 0, !0)
@@ -3360,7 +3360,7 @@ function Ao(e, s, t, a, n, i) {
3360
3360
  return o(), r("li", null, [
3361
3361
  t.type === "checkbox" ? (o(), r("div", po, [
3362
3362
  _(l, {
3363
- onInput: s[0] || (s[0] = (x) => e.$emit("input", x)),
3363
+ onInput: s[0] || (s[0] = (B) => e.$emit("input", B)),
3364
3364
  disabled: t.disabled || null,
3365
3365
  value: t.value,
3366
3366
  "value-false": t.valueFalse,
@@ -3381,7 +3381,7 @@ function Ao(e, s, t, a, n, i) {
3381
3381
  })) : u("", !0)
3382
3382
  ])) : t.type === "radiobutton" ? (o(), r("div", yo, [
3383
3383
  _(d, {
3384
- onChange: s[1] || (s[1] = (x) => e.$emit("change", x)),
3384
+ onChange: s[1] || (s[1] = (B) => e.$emit("change", B)),
3385
3385
  disabled: t.disabled || null,
3386
3386
  checked: t.value || null
3387
3387
  }, {
@@ -3399,8 +3399,8 @@ function Ao(e, s, t, a, n, i) {
3399
3399
  })) : u("", !0)
3400
3400
  ])) : t.type === "switch" ? (o(), r("div", _o, [
3401
3401
  _(m, {
3402
- onInput: s[2] || (s[2] = (x) => e.$emit("input", x)),
3403
- onChange: s[3] || (s[3] = (x) => e.$emit("change", x)),
3402
+ onInput: s[2] || (s[2] = (B) => e.$emit("input", B)),
3403
+ onChange: s[3] || (s[3] = (B) => e.$emit("change", B)),
3404
3404
  value: t.value,
3405
3405
  "value-false": t.valueFalse,
3406
3406
  "value-true": t.valueTrue,
@@ -3422,7 +3422,7 @@ function Ao(e, s, t, a, n, i) {
3422
3422
  })) : u("", !0)
3423
3423
  ])) : t.type === "sort" ? (o(), r("div", {
3424
3424
  key: 3,
3425
- onClick: s[4] || (s[4] = (x) => e.$emit("click", x)),
3425
+ onClick: s[4] || (s[4] = (B) => e.$emit("click", B)),
3426
3426
  class: "ecs-popover-list-item control no-hover",
3427
3427
  role: "menuitem",
3428
3428
  tabindex: t.disabled ? -1 : 0
@@ -3446,7 +3446,7 @@ function Ao(e, s, t, a, n, i) {
3446
3446
  _(k, { inset: 0 })
3447
3447
  ], 8, wo)) : t.type === "link" ? (o(), r("a", {
3448
3448
  key: 4,
3449
- onClick: s[7] || (s[7] = (x) => e.$emit("click", x)),
3449
+ onClick: s[7] || (s[7] = (B) => e.$emit("click", B)),
3450
3450
  class: v(["ecs-popover-list-item", [
3451
3451
  t.danger ? "danger" : "",
3452
3452
  t.subtle ? "subtle" : "",
@@ -3478,8 +3478,8 @@ function Ao(e, s, t, a, n, i) {
3478
3478
  i.secondaryActionOptions.show ? (o(), h(z, {
3479
3479
  key: 0,
3480
3480
  onClick: G(i.handleSecondaryClick, ["stop"]),
3481
- onMouseover: s[5] || (s[5] = (x) => n.preventHover = !n.preventHover),
3482
- onMouseleave: s[6] || (s[6] = (x) => n.preventHover = !n.preventHover),
3481
+ onMouseover: s[5] || (s[5] = (B) => n.preventHover = !n.preventHover),
3482
+ onMouseleave: s[6] || (s[6] = (B) => n.preventHover = !n.preventHover),
3483
3483
  size: "sml",
3484
3484
  type: i.secondaryActionOptions.type,
3485
3485
  icon: i.secondaryActionOptions.icon,
@@ -3517,7 +3517,7 @@ function Ao(e, s, t, a, n, i) {
3517
3517
  t.noHover || n.preventHover ? "no-hover" : "",
3518
3518
  t.selected ? "selected" : ""
3519
3519
  ]]),
3520
- onClick: s[10] || (s[10] = (x) => e.$emit("click", x)),
3520
+ onClick: s[10] || (s[10] = (B) => e.$emit("click", B)),
3521
3521
  role: "menuitem",
3522
3522
  tabindex: t.disabled ? -1 : 0
3523
3523
  }, [
@@ -3541,8 +3541,8 @@ function Ao(e, s, t, a, n, i) {
3541
3541
  i.secondaryActionOptions.show ? (o(), h(z, {
3542
3542
  key: 0,
3543
3543
  onClick: G(i.handleSecondaryClick, ["stop"]),
3544
- onMouseover: s[8] || (s[8] = (x) => n.preventHover = !n.preventHover),
3545
- onMouseleave: s[9] || (s[9] = (x) => n.preventHover = !n.preventHover),
3544
+ onMouseover: s[8] || (s[8] = (B) => n.preventHover = !n.preventHover),
3545
+ onMouseleave: s[9] || (s[9] = (B) => n.preventHover = !n.preventHover),
3546
3546
  size: "sml",
3547
3547
  type: i.secondaryActionOptions.type,
3548
3548
  icon: i.secondaryActionOptions.icon,
@@ -3699,7 +3699,7 @@ function Vo(e, s, t, a, n, i) {
3699
3699
  t.badge ? (o(), r("span", {
3700
3700
  key: 1,
3701
3701
  class: "badge",
3702
- style: B({ background: t.badgeColor })
3702
+ style: x({ background: t.badgeColor })
3703
3703
  }, null, 4)) : u("", !0),
3704
3704
  t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), h(l, {
3705
3705
  key: 2,
@@ -3735,7 +3735,7 @@ function Vo(e, s, t, a, n, i) {
3735
3735
  t.badge ? (o(), r("span", {
3736
3736
  key: 1,
3737
3737
  class: "badge",
3738
- style: B({ background: t.badgeColor })
3738
+ style: x({ background: t.badgeColor })
3739
3739
  }, null, 4)) : u("", !0),
3740
3740
  t.icon && t.iconPosition == "right" || t.loading && t.iconPosition == "right" ? (o(), h(l, {
3741
3741
  key: 2,
@@ -3796,7 +3796,7 @@ const _t = /* @__PURE__ */ y(Oo, [["render", Vo], ["__scopeId", "data-v-72592c75
3796
3796
  function Ro(e, s, t, a, n, i) {
3797
3797
  return o(), r("div", {
3798
3798
  class: v(["ecs-separator", i.classes]),
3799
- style: B({ margin: i.marginStyles, width: t.width, height: t.height }),
3799
+ style: x({ margin: i.marginStyles, width: t.width, height: t.height }),
3800
3800
  role: "separator"
3801
3801
  }, null, 6);
3802
3802
  }
@@ -3902,8 +3902,8 @@ function jo(e, s, t, a, n, i) {
3902
3902
  content: w(() => [
3903
3903
  _(b, null, {
3904
3904
  default: w(() => [
3905
- (o(!0), r(H, null, X(t.options, (z, x) => (o(), h(d, {
3906
- key: x,
3905
+ (o(!0), r(H, null, X(t.options, (z, B) => (o(), h(d, {
3906
+ key: B,
3907
3907
  disabled: z.disabled || null,
3908
3908
  onClick: (M) => e.$emit("select", z.action)
3909
3909
  }, {
@@ -4783,7 +4783,7 @@ function Sl(e, s, t, a, n, i) {
4783
4783
  class: v(["ecs-context-button", [t.loading ? "loading" : "", i.iconOnly ? "ecs-context-button-icon-only" : ""]]),
4784
4784
  "aria-label": t.ariaLabel,
4785
4785
  "aria-busy": t.loading || null,
4786
- style: B(i.selectedColorText),
4786
+ style: x(i.selectedColorText),
4787
4787
  onClick: s[0] || (s[0] = (d) => e.$emit("click", d))
4788
4788
  }, [
4789
4789
  t.icon || t.loading ? (o(), h(l, {
@@ -4794,7 +4794,7 @@ function Sl(e, s, t, a, n, i) {
4794
4794
  t.selectedColor ? (o(), r("div", {
4795
4795
  key: 1,
4796
4796
  class: "ecs-context-button-color",
4797
- style: B(i.selectedColorBackground)
4797
+ style: x(i.selectedColorBackground)
4798
4798
  }, null, 4)) : u("", !0),
4799
4799
  p(e.$slots, "default", {}, void 0, !0),
4800
4800
  _(c)
@@ -5159,7 +5159,7 @@ function Yl(e, s, t, a, n, i) {
5159
5159
  t.progress ? (o(), r("div", {
5160
5160
  key: 0,
5161
5161
  class: "progress",
5162
- style: B({ width: t.progress + "%" })
5162
+ style: x({ width: t.progress + "%" })
5163
5163
  }, null, 4)) : u("", !0)
5164
5164
  ])
5165
5165
  ], 10, Ul);
@@ -5333,7 +5333,7 @@ function cr(e, s, t, a, n, i) {
5333
5333
  _(l, Oe(i.computedAvatar, { size: 24 }), null, 16),
5334
5334
  f("div", {
5335
5335
  class: "ecs-chat-message-bubble",
5336
- style: B({ backgroundColor: i.bubbleColor })
5336
+ style: x({ backgroundColor: i.bubbleColor })
5337
5337
  }, [
5338
5338
  (o(), r("svg", ar, [
5339
5339
  f("path", {
@@ -5478,7 +5478,7 @@ function pr(e, s, t, a, n, i) {
5478
5478
  return je((o(), r("div", {
5479
5479
  class: v(["ecs-context-menu", n.opened ? " opened" : ""]),
5480
5480
  id: t.elementId,
5481
- style: B([i.postionStyles])
5481
+ style: x([i.postionStyles])
5482
5482
  }, [
5483
5483
  f("ul", {
5484
5484
  role: "menu",
@@ -5849,7 +5849,7 @@ function Tr(e, s, t, a, n, i) {
5849
5849
  }, [
5850
5850
  f("div", {
5851
5851
  class: "ecs-collection-control-list scrollbar scrollbar-sml",
5852
- style: B(i.listMaxHeight)
5852
+ style: x(i.listMaxHeight)
5853
5853
  }, [
5854
5854
  p(e.$slots, "default")
5855
5855
  ], 4)
@@ -6245,7 +6245,7 @@ function td(e, s, t) {
6245
6245
  var V = a, q = n;
6246
6246
  return a = n = void 0, m = P, l = e.apply(q, V), l;
6247
6247
  }
6248
- function x(P) {
6248
+ function B(P) {
6249
6249
  return m = P, c = setTimeout(E, s), b ? z(P) : l;
6250
6250
  }
6251
6251
  function M(P) {
@@ -6275,7 +6275,7 @@ function td(e, s, t) {
6275
6275
  var P = Et(), V = $(P);
6276
6276
  if (a = arguments, n = this, d = P, V) {
6277
6277
  if (c === void 0)
6278
- return x(d);
6278
+ return B(d);
6279
6279
  if (k)
6280
6280
  return clearTimeout(c), c = setTimeout(E, s), z(d);
6281
6281
  }
@@ -6359,7 +6359,7 @@ const rd = /* @__PURE__ */ Ls(ld), cd = {
6359
6359
  function md(e, s, t, a, n, i) {
6360
6360
  return o(), r("div", {
6361
6361
  class: "ecs-saturation",
6362
- style: B({ background: i.bgColor }),
6362
+ style: x({ background: i.bgColor }),
6363
6363
  ref: "container",
6364
6364
  onMousedown: s[0] || (s[0] = (...l) => i.handleMouseDown && i.handleMouseDown(...l)),
6365
6365
  onTouchmove: s[1] || (s[1] = (...l) => i.handleChange && i.handleChange(...l)),
@@ -6369,7 +6369,7 @@ function md(e, s, t, a, n, i) {
6369
6369
  ud,
6370
6370
  f("div", {
6371
6371
  class: "ecs-saturation-pointer",
6372
- style: B({ top: i.pointerTop, left: i.pointerLeft })
6372
+ style: x({ top: i.pointerTop, left: i.pointerLeft })
6373
6373
  }, gd, 4)
6374
6374
  ], 36);
6375
6375
  }
@@ -6459,7 +6459,7 @@ function _d(e, s, t, a, n, i) {
6459
6459
  }, [
6460
6460
  f("div", {
6461
6461
  class: "ecs-hue-pointer",
6462
- style: B({ top: i.pointerTop, left: i.pointerLeft }),
6462
+ style: x({ top: i.pointerTop, left: i.pointerLeft }),
6463
6463
  role: "presentation"
6464
6464
  }, bd, 4)
6465
6465
  ], 40, vd)
@@ -6509,7 +6509,7 @@ function Sd(e, s, t) {
6509
6509
  function xd(e, s, t, a, n, i) {
6510
6510
  return o(), r("div", {
6511
6511
  class: "ecs-checkerboard",
6512
- style: B(i.bgStyle)
6512
+ style: x(i.bgStyle)
6513
6513
  }, null, 4);
6514
6514
  }
6515
6515
  const ti = /* @__PURE__ */ y(Cd, [["render", xd]]), Bd = {
@@ -6567,7 +6567,7 @@ function Pd(e, s, t, a, n, i) {
6567
6567
  ]),
6568
6568
  f("div", {
6569
6569
  class: "ecs-alpha-gradient",
6570
- style: B({ background: i.gradientColor })
6570
+ style: x({ background: i.gradientColor })
6571
6571
  }, null, 4),
6572
6572
  f("div", {
6573
6573
  class: "ecs-alpha-container",
@@ -6578,7 +6578,7 @@ function Pd(e, s, t, a, n, i) {
6578
6578
  }, [
6579
6579
  f("div", {
6580
6580
  class: "ecs-alpha-pointer",
6581
- style: B({ left: i.colors.a * 100 + "%" })
6581
+ style: x({ left: i.colors.a * 100 + "%" })
6582
6582
  }, Td, 4)
6583
6583
  ], 544)
6584
6584
  ]);
@@ -6710,7 +6710,7 @@ function Gd(e, s, t, a, n, i) {
6710
6710
  role: "application",
6711
6711
  "aria-label": "Color picker",
6712
6712
  class: v(["ecs-color-picker", t.disableAlpha ? "ecs-color-picker__disable-alpha" : ""]),
6713
- style: B({ padding: t.padding + "px", width: 216 + 2 * t.padding + "px" })
6713
+ style: x({ padding: t.padding + "px", width: 216 + 2 * t.padding + "px" })
6714
6714
  }, [
6715
6715
  t.disableCustom ? u("", !0) : (o(), r("div", $d, [
6716
6716
  _(l, {
@@ -6779,7 +6779,7 @@ function Gd(e, s, t, a, n, i) {
6779
6779
  ])) : u("", !0),
6780
6780
  f("div", {
6781
6781
  class: "ecs-color-picker-presets",
6782
- style: B(t.disableCustom ? "" : "padding-top: var(--spacing-10)"),
6782
+ style: x(t.disableCustom ? "" : "padding-top: var(--spacing-10)"),
6783
6783
  role: "group",
6784
6784
  "aria-label": "A color preset, pick one to set as current color"
6785
6785
  }, [
@@ -6796,7 +6796,7 @@ function Gd(e, s, t, a, n, i) {
6796
6796
  class: v(["ecs-color-picker-presets-color", { active: e.colors.hex === k.hex }]),
6797
6797
  "aria-label": k.title,
6798
6798
  key: "if-" + k.id,
6799
- style: B({ background: k.hex }),
6799
+ style: x({ background: k.hex }),
6800
6800
  "aria-selected": e.colors.hex === k.hex ? "true" : "false",
6801
6801
  title: k.title,
6802
6802
  onClick: (I) => i.handlePreset(k.hex)
@@ -6807,7 +6807,7 @@ function Gd(e, s, t, a, n, i) {
6807
6807
  class: v(["ecs-color-picker-presets-color active", i.isActiveColorDark ? "dark" : "light"]),
6808
6808
  "aria-label": "Custom color",
6809
6809
  "aria-selected": "true",
6810
- style: B({ background: e.colors.hex })
6810
+ style: x({ background: e.colors.hex })
6811
6811
  }, null, 6))
6812
6812
  ], 4)
6813
6813
  ], 6);
@@ -6891,7 +6891,7 @@ function Zd(e, s, t, a, n, i) {
6891
6891
  default: w(() => [
6892
6892
  f("button", {
6893
6893
  class: v(["ecs-color-picker-input-button", i.sizeClass]),
6894
- style: B(i.selectedColorStyle)
6894
+ style: x(i.selectedColorStyle)
6895
6895
  }, [
6896
6896
  f("span", null, C(i.selectedColorName), 1)
6897
6897
  ], 6)
@@ -7696,7 +7696,7 @@ function ju(e, s, t, a, n, i) {
7696
7696
  t.fixedLeftLast ? "fixed-left-last" : "",
7697
7697
  t.fixedRight ? "fixed-right" : ""
7698
7698
  ]]),
7699
- style: B([
7699
+ style: x([
7700
7700
  i.widthType === "string" ? i.widthStyles : {},
7701
7701
  i.fixedStyles
7702
7702
  ]),
@@ -7708,7 +7708,7 @@ function ju(e, s, t, a, n, i) {
7708
7708
  f("div", {
7709
7709
  ref: "resizer",
7710
7710
  class: v(["ecs-data-grid-head-cell-inner", t.resizable ? "resizable" : ""]),
7711
- style: B([
7711
+ style: x([
7712
7712
  i.widthType === "number" ? i.widthStyles : { width: "100%" },
7713
7713
  i.paddingStyles,
7714
7714
  i.resizeStyles,
@@ -7954,13 +7954,13 @@ function sf(e, s, t, a, n, i) {
7954
7954
  const l = g("ecs-button-collapse");
7955
7955
  return o(), r("div", {
7956
7956
  class: v(["ecs-data-grid-cell", [t.fixedLeft ? "fixed-left" : "", t.fixedLeftLast ? "fixed-left-last" : "", t.fixedRight ? "fixed-right" : ""]]),
7957
- style: B([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
7957
+ style: x([i.widthType === "string" ? i.widthStyles : {}, i.fixedStyles]),
7958
7958
  role: "cell"
7959
7959
  }, [
7960
7960
  t.fixedRight ? (o(), r("div", Xu)) : u("", !0),
7961
7961
  f("div", {
7962
7962
  class: "ecs-data-grid-cell-inner",
7963
- style: B([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, t.styles]),
7963
+ style: x([i.widthType === "number" ? i.widthStyles : { width: "100%" }, i.paddingStyles, t.styles]),
7964
7964
  "data-column": i.computedId,
7965
7965
  "data-test": i.computedId
7966
7966
  }, [
@@ -8123,7 +8123,7 @@ function ff(e, s, t, a, n, i) {
8123
8123
  i.hasIdentifier ? (o(), r("div", {
8124
8124
  key: 0,
8125
8125
  id: n.definitionId,
8126
- style: B(i.identifierStyle),
8126
+ style: x(i.identifierStyle),
8127
8127
  class: "ecs-data-list-identifier"
8128
8128
  }, [
8129
8129
  L(C(t.identifier) + " ", 1),
@@ -8156,7 +8156,7 @@ function ff(e, s, t, a, n, i) {
8156
8156
  key: 2,
8157
8157
  class: "progress",
8158
8158
  role: "progressbar",
8159
- style: B({ width: t.progress + "%" }),
8159
+ style: x({ width: t.progress + "%" }),
8160
8160
  "aria-valuenow": t.progress
8161
8161
  }, null, 12, df)) : u("", !0)
8162
8162
  ], 10, cf)
@@ -8350,7 +8350,7 @@ const x1 = /* @__PURE__ */ y(gf, [["render", hf]]), pf = {
8350
8350
  ));
8351
8351
  }), (n, i) => (o(), r("div", {
8352
8352
  class: v(["ecs-state-icon", e.iconColor]),
8353
- style: B(t.value)
8353
+ style: x(t.value)
8354
8354
  }, [
8355
8355
  (o(), h(ue(re(a)), {
8356
8356
  height: e.size,
@@ -8523,13 +8523,13 @@ function zf(e, s, t, a, n, i) {
8523
8523
  }, null, 8, ["website"])) : t.legendColor ? (o(), r("div", Bf, [
8524
8524
  f("div", {
8525
8525
  class: "legend-color-dot",
8526
- style: B("background-color:" + t.legendColor)
8526
+ style: x("background-color:" + t.legendColor)
8527
8527
  }, null, 4)
8528
8528
  ])) : u("", !0),
8529
8529
  t.indicator && !t.loading ? (o(), r("div", {
8530
8530
  key: 5,
8531
8531
  class: "indicator",
8532
- style: B("background-color:" + t.indicator)
8532
+ style: x("background-color:" + t.indicator)
8533
8533
  }, null, 4)) : u("", !0)
8534
8534
  ]),
8535
8535
  f("div", If, [
@@ -8662,7 +8662,7 @@ const z1 = /* @__PURE__ */ y(Ef, [["render", Of], ["__scopeId", "data-v-8239e8d6
8662
8662
  function Rf(e, s, t, a, n, i) {
8663
8663
  return o(), r("div", {
8664
8664
  class: "ecs-donut-chart",
8665
- style: B(i.wrapperPadding)
8665
+ style: x(i.wrapperPadding)
8666
8666
  }, [
8667
8667
  (o(), r("svg", {
8668
8668
  height: t.size,
@@ -8803,7 +8803,7 @@ function Yf(e, s, t, a, n, i) {
8803
8803
  t.infinite ? "ecs-progress-infinite" : "",
8804
8804
  t.cancelled ? "ecs-progress-cancelled" : ""
8805
8805
  ]]),
8806
- style: B({ width: 100 * (t.value / i.computedMax) + "%" })
8806
+ style: x({ width: 100 * (t.value / i.computedMax) + "%" })
8807
8807
  }, null, 6)
8808
8808
  ], 8, Kf);
8809
8809
  }
@@ -8975,15 +8975,15 @@ function ag(e, s, t, a, n, i) {
8975
8975
  t.disabled ? "ecs-dropzone-disabled" : "",
8976
8976
  n.dragging ? "ecs-dropzone-dragging" : ""
8977
8977
  ]]),
8978
- onDragover: s[3] || (s[3] = (...x) => i.handleDragOver && i.handleDragOver(...x)),
8979
- onDragenter: s[4] || (s[4] = (...x) => i.handleDragEnter && i.handleDragEnter(...x)),
8980
- onDragleave: s[5] || (s[5] = (...x) => i.handleDragLeave && i.handleDragLeave(...x)),
8981
- onDrop: s[6] || (s[6] = G((...x) => i.drop && i.drop(...x), ["prevent"])),
8978
+ onDragover: s[3] || (s[3] = (...B) => i.handleDragOver && i.handleDragOver(...B)),
8979
+ onDragenter: s[4] || (s[4] = (...B) => i.handleDragEnter && i.handleDragEnter(...B)),
8980
+ onDragleave: s[5] || (s[5] = (...B) => i.handleDragLeave && i.handleDragLeave(...B)),
8981
+ onDrop: s[6] || (s[6] = G((...B) => i.drop && i.drop(...B), ["prevent"])),
8982
8982
  "aria-busy": i.isBusy || null,
8983
8983
  "aria-invalid": t.error || null
8984
8984
  }, [
8985
8985
  f("input", {
8986
- onChange: s[0] || (s[0] = (...x) => i.change && i.change(...x)),
8986
+ onChange: s[0] || (s[0] = (...B) => i.change && i.change(...B)),
8987
8987
  type: "file",
8988
8988
  multiple: t.multiple || null,
8989
8989
  ref: "file"
@@ -9002,8 +9002,8 @@ function ag(e, s, t, a, n, i) {
9002
9002
  e.$slots.customlabel ? u("", !0) : (o(), r(H, { key: 0 }, [
9003
9003
  L(" Drag and drop your " + C(t.fileTypeLabel) + " or ", 1),
9004
9004
  f("i", {
9005
- onClick: s[1] || (s[1] = (...x) => i.browseFile && i.browseFile(...x)),
9006
- onKeydown: s[2] || (s[2] = Y((...x) => i.browseFile && i.browseFile(...x), ["enter"])),
9005
+ onClick: s[1] || (s[1] = (...B) => i.browseFile && i.browseFile(...B)),
9006
+ onKeydown: s[2] || (s[2] = Y((...B) => i.browseFile && i.browseFile(...B), ["enter"])),
9007
9007
  tabindex: "0"
9008
9008
  }, [
9009
9009
  L("browse"),
@@ -9375,7 +9375,7 @@ const vg = /* @__PURE__ */ y(ug, [["render", pg], ["__scopeId", "data-v-85fef203
9375
9375
  class: "skipped-documents"
9376
9376
  }, Dg = { key: 0 };
9377
9377
  function Ng(e, s, t, a, n, i) {
9378
- const l = g("ecs-button"), c = g("ecs-sticker"), d = g("ecs-popover-header"), m = g("ecs-info-tooltip"), b = g("ecs-flex-row"), k = g("ecs-switch"), I = g("ecs-text"), z = g("ecs-select"), x = g("ecs-form-group"), M = g("ecs-checkbox"), $ = g("ecs-button-more"), E = g("ecs-popover");
9378
+ const l = g("ecs-button"), c = g("ecs-sticker"), d = g("ecs-popover-header"), m = g("ecs-info-tooltip"), b = g("ecs-flex-row"), k = g("ecs-switch"), I = g("ecs-text"), z = g("ecs-select"), B = g("ecs-form-group"), M = g("ecs-checkbox"), $ = g("ecs-button-more"), E = g("ecs-popover");
9379
9379
  return o(), h(E, {
9380
9380
  ref: "popoverRef",
9381
9381
  class: "ecs-ecai-select",
@@ -9431,7 +9431,7 @@ function Ng(e, s, t, a, n, i) {
9431
9431
  ]),
9432
9432
  _: 1
9433
9433
  }, 8, ["onInput", "value"])) : u("", !0),
9434
- n.localSettings.generateSummaries && n.localSettings.generateDocumentSummary && !t.isTranscripts ? (o(), h(x, {
9434
+ n.localSettings.generateSummaries && n.localSettings.generateDocumentSummary && !t.isTranscripts ? (o(), h(B, {
9435
9435
  key: 1,
9436
9436
  class: v(["indent", { "no-padding": t.hideSwitch }])
9437
9437
  }, {
@@ -9483,7 +9483,7 @@ function Ng(e, s, t, a, n, i) {
9483
9483
  ]),
9484
9484
  _: 1
9485
9485
  }, 8, ["onInput", "value"])) : u("", !0),
9486
- n.localSettings.extractData ? (o(), h(x, {
9486
+ n.localSettings.extractData ? (o(), h(B, {
9487
9487
  key: 4,
9488
9488
  class: "indent checkbox-group"
9489
9489
  }, {
@@ -9614,7 +9614,7 @@ function Rg(e, s, t, a, n, i) {
9614
9614
  const l = g("ecs-icon");
9615
9615
  return o(), r("div", {
9616
9616
  class: v(["ecs-ecai-wrapper", { border: i.hasBorder }]),
9617
- style: B(i.wrapperStyle)
9617
+ style: x(i.wrapperStyle)
9618
9618
  }, [
9619
9619
  Hg,
9620
9620
  t.icon ? (o(), h(l, {
@@ -9844,7 +9844,7 @@ function im(e, s, t, a, n, i) {
9844
9844
  ]),
9845
9845
  f("div", {
9846
9846
  class: "ecs-excerpt-content scrollbar scrollbar-sml",
9847
- style: B(i.maxHeightStyles)
9847
+ style: x(i.maxHeightStyles)
9848
9848
  }, [
9849
9849
  t.loading ? (o(), h(l, {
9850
9850
  key: 0,
@@ -9863,10 +9863,10 @@ function im(e, s, t, a, n, i) {
9863
9863
  p(e.$slots, "default", {}, void 0, !0)
9864
9864
  ])) : t.type == "rectangle" ? (o(), r("div", tm, [
9865
9865
  f("span", {
9866
- style: B("color:" + t.annotationColor)
9866
+ style: x("color:" + t.annotationColor)
9867
9867
  }, "Rectangle Annotation", 4),
9868
9868
  f("div", {
9869
- style: B("background-color:" + t.annotationColor)
9869
+ style: x("background-color:" + t.annotationColor)
9870
9870
  }, null, 4)
9871
9871
  ])) : (o(), r("div", sm, [
9872
9872
  p(e.$slots, "default", {}, void 0, !0)
@@ -10145,7 +10145,7 @@ function Cm(e, s, t, a, n, i) {
10145
10145
  t.progress ? (o(), r("div", {
10146
10146
  key: 3,
10147
10147
  class: "loading-bar",
10148
- style: B({ width: t.progress + "%" }),
10148
+ style: x({ width: t.progress + "%" }),
10149
10149
  role: "progressbar",
10150
10150
  "aria-valuenow": t.progress
10151
10151
  }, null, 12, mm)) : u("", !0)
@@ -10187,7 +10187,7 @@ function Cm(e, s, t, a, n, i) {
10187
10187
  default: w(() => [
10188
10188
  e.$slots.edit && t.edit ? (o(), r("div", {
10189
10189
  key: 0,
10190
- style: B({ maxHeight: n.editHeight + "px" }),
10190
+ style: x({ maxHeight: n.editHeight + "px" }),
10191
10191
  id: n.editId
10192
10192
  }, [
10193
10193
  f("div", km, [
@@ -10505,7 +10505,7 @@ function Nm(e, s, t, a, n, i) {
10505
10505
  t.borderless ? "" : "ecs-scroll-container-border",
10506
10506
  t.hideShadows ? "" : "ecs-scroll-container-shadows"
10507
10507
  ]]),
10508
- style: B({ maxHeight: t.height, padding: t.padding })
10508
+ style: x({ maxHeight: t.height, padding: t.padding })
10509
10509
  }, [
10510
10510
  p(e.$slots, "default", {}, void 0, !0)
10511
10511
  ], 6);
@@ -10611,7 +10611,7 @@ function qm(e, s, t, a, n, i) {
10611
10611
  const l = g("ecs-text-v2"), c = g("ecs-input-search"), d = g("ecs-button"), m = g("ecs-empty-state"), b = g("ecs-scroll-container");
10612
10612
  return o(), r("div", {
10613
10613
  class: v(["ecs-folder-selector", [t.framed ? "ecs-folder-selector-border" : ""]]),
10614
- style: B({ height: i.selectorHeight })
10614
+ style: x({ height: i.selectorHeight })
10615
10615
  }, [
10616
10616
  t.searchable || t.create || t.refreshable || t.title ? (o(), r("div", Rm, [
10617
10617
  t.title && !t.searchable ? (o(), h(l, {
@@ -10657,7 +10657,7 @@ function qm(e, s, t, a, n, i) {
10657
10657
  }, 8, ["onClick"])) : u("", !0)
10658
10658
  ])) : u("", !0),
10659
10659
  _(b, {
10660
- style: B(i.scrollHeight),
10660
+ style: x(i.scrollHeight),
10661
10661
  padding: t.framed ? "8px" : "0",
10662
10662
  borderless: ""
10663
10663
  }, {
@@ -10789,7 +10789,7 @@ function eh(e, s, t, a, n, i) {
10789
10789
  i.showHighlight ? (o(), r("div", {
10790
10790
  key: 0,
10791
10791
  class: v(["ecs-highlight", [i.classes]]),
10792
- style: B({ ...i.highlightColor, ...i.borderRadiusStyle, ...i.insetStyles })
10792
+ style: x({ ...i.highlightColor, ...i.borderRadiusStyle, ...i.insetStyles })
10793
10793
  }, [
10794
10794
  t.layout === "wrap" ? p(e.$slots, "default", { key: 0 }, void 0, !0) : u("", !0)
10795
10795
  ], 6)) : u("", !0)
@@ -11685,7 +11685,7 @@ function lp(e, s, t, a, n, i) {
11685
11685
  return o(), r("div", {
11686
11686
  class: "ecs-pane",
11687
11687
  onClick: s[0] || (s[0] = (l) => i.onPaneClick(l, e._.uid)),
11688
- style: B(e.style)
11688
+ style: x(e.style)
11689
11689
  }, [
11690
11690
  p(e.$slots, "default")
11691
11691
  ], 4);
@@ -12019,15 +12019,18 @@ const rp = /* @__PURE__ */ y(op, [["render", lp]]), cp = {
12019
12019
  splitPaneSizes: {
12020
12020
  type: Array,
12021
12021
  default: () => [
12022
- { size: 50 },
12023
- { size: 25 },
12024
- { size: 25 }
12022
+ { size: null },
12023
+ { size: 30, minSize: 30 },
12024
+ { size: 30, minSize: 20 }
12025
12025
  ]
12026
12026
  }
12027
12027
  },
12028
12028
  computed: {
12029
12029
  sidebarPosition() {
12030
12030
  return this.overlaySidebar && this.$slots.sidebar ? "bottom: 40px;" : "bottom: 0px;";
12031
+ },
12032
+ hasSecondaryPane() {
12033
+ return !!this.$slots.secondaryPane;
12031
12034
  }
12032
12035
  }
12033
12036
  }, up = { class: "ecs-index-layout-contents" }, fp = {
@@ -12071,24 +12074,26 @@ function mp(e, s, t, a, n, i) {
12071
12074
  key: 0,
12072
12075
  size: t.splitPaneSizes[1].size,
12073
12076
  minSize: t.splitPaneSizes[1].minSize,
12074
- maxSize: t.splitPaneSizes[1].maxSize
12077
+ maxSize: t.splitPaneSizes[1].maxSize,
12078
+ style: x(t.overlaySidebar && e.$slots.sidebar ? { "--padding-right": i.hasSecondaryPane ? "0px" : "54px" } : {})
12075
12079
  }, {
12076
12080
  default: w(() => [
12077
12081
  p(e.$slots, "pane", {}, void 0, !0)
12078
12082
  ]),
12079
12083
  _: 3
12080
- }, 8, ["size", "minSize", "maxSize"])) : u("", !0),
12084
+ }, 8, ["size", "minSize", "maxSize", "style"])) : u("", !0),
12081
12085
  e.$slots.secondaryPane ? (o(), h(l, {
12082
12086
  key: 1,
12083
12087
  size: (d = t.splitPaneSizes[2]) == null ? void 0 : d.size,
12084
12088
  minSize: (m = t.splitPaneSizes[2]) == null ? void 0 : m.minSize,
12085
- maxSize: (b = t.splitPaneSizes[2]) == null ? void 0 : b.maxSize
12089
+ maxSize: (b = t.splitPaneSizes[2]) == null ? void 0 : b.maxSize,
12090
+ style: x(t.overlaySidebar && e.$slots.sidebar ? { "--padding-right": "54px" } : {})
12086
12091
  }, {
12087
12092
  default: w(() => [
12088
12093
  p(e.$slots, "secondaryPane", {}, void 0, !0)
12089
12094
  ]),
12090
12095
  _: 3
12091
- }, 8, ["size", "minSize", "maxSize"])) : u("", !0)
12096
+ }, 8, ["size", "minSize", "maxSize", "style"])) : u("", !0)
12092
12097
  ];
12093
12098
  }),
12094
12099
  _: 3
@@ -12102,14 +12107,14 @@ function mp(e, s, t, a, n, i) {
12102
12107
  e.$slots.sidebar ? (o(), r("div", {
12103
12108
  key: 0,
12104
12109
  class: v(["ecs-index-layout-sidebar", [t.overlaySidebar ? "overlay" : ""]]),
12105
- style: B(i.sidebarPosition)
12110
+ style: x(i.sidebarPosition)
12106
12111
  }, [
12107
12112
  p(e.$slots, "sidebar", {}, void 0, !0)
12108
12113
  ], 6)) : u("", !0)
12109
12114
  ], 2)
12110
12115
  ], 2);
12111
12116
  }
12112
- const J1 = /* @__PURE__ */ y(dp, [["render", mp], ["__scopeId", "data-v-038e94da"]]), hp = {
12117
+ const J1 = /* @__PURE__ */ y(dp, [["render", mp], ["__scopeId", "data-v-9d14d2fd"]]), hp = {
12113
12118
  name: "ecs-layout-directory",
12114
12119
  props: {
12115
12120
  /** Adds some inner padding to the index content area. Should be used for non-table indexes. */
@@ -12235,7 +12240,7 @@ function Ep(e, s, t, a, n, i) {
12235
12240
  key: 0,
12236
12241
  class: "ecs-data-layout-statistics scrollbar scrollbar-sml vertical",
12237
12242
  id: n.statisticsId,
12238
- style: B({ height: `${t.statisticsHeight}px` })
12243
+ style: x({ height: `${t.statisticsHeight}px` })
12239
12244
  }, [
12240
12245
  p(e.$slots, "statistics", {}, void 0, !0)
12241
12246
  ], 12, Sp)) : u("", !0)
@@ -12349,7 +12354,7 @@ function $p(e, s, t, a, n, i) {
12349
12354
  default: w(() => [
12350
12355
  f("div", {
12351
12356
  class: v(["ecs-legend-item-color", t.type]),
12352
- style: B({ backgroundColor: t.color })
12357
+ style: x({ backgroundColor: t.color })
12353
12358
  }, null, 6),
12354
12359
  f("div", Pp, C(t.label), 1),
12355
12360
  t.count ? (o(), r("div", Mp, C(t.count), 1)) : u("", !0),
@@ -12357,7 +12362,7 @@ function $p(e, s, t, a, n, i) {
12357
12362
  t.highlight || t.hover ? (o(), r("div", {
12358
12363
  key: 2,
12359
12364
  class: "ecs-legend-item-highlight",
12360
- style: B({ backgroundColor: t.color })
12365
+ style: x({ backgroundColor: t.color })
12361
12366
  }, null, 4)) : u("", !0),
12362
12367
  t.hover ? (o(), h(l, { key: 3 })) : u("", !0)
12363
12368
  ]),
@@ -12418,7 +12423,7 @@ function Np(e, s, t, a, n, i) {
12418
12423
  "aria-busy": t.loading || null,
12419
12424
  align: "start",
12420
12425
  gap: 8,
12421
- style: B(i.padding)
12426
+ style: x(i.padding)
12422
12427
  }, {
12423
12428
  default: w(() => [
12424
12429
  t.loading && t.type != "blank" ? (o(), h(l, {
@@ -12554,7 +12559,7 @@ function Yp(e, s, t, a, n, i) {
12554
12559
  }, [
12555
12560
  f("div", {
12556
12561
  class: "ecs-modal-dialog ecs-modal-sheet",
12557
- style: B(i.fixedHeightStyle)
12562
+ style: x(i.fixedHeightStyle)
12558
12563
  }, [
12559
12564
  e.$slots.header ? (o(), r("div", jp, [
12560
12565
  p(e.$slots, "header", {}, void 0, !0)
@@ -13150,11 +13155,11 @@ function Nv(e, s, t, a, n, i) {
13150
13155
  n.isShown ? (o(), r("div", {
13151
13156
  key: 0,
13152
13157
  class: "ecs-overlay",
13153
- style: B({ top: t.offsetTop + "px", height: "calc(100vh - " + t.offsetTop + "px" })
13158
+ style: x({ top: t.offsetTop + "px", height: "calc(100vh - " + t.offsetTop + "px" })
13154
13159
  }, [
13155
13160
  f("header", {
13156
13161
  class: "ecs-overlay-header",
13157
- style: B(e.$slots.alert ? "" : "border-bottom: 1px solid var(--color-gray-4);")
13162
+ style: x(e.$slots.alert ? "" : "border-bottom: 1px solid var(--color-gray-4);")
13158
13163
  }, [
13159
13164
  f("div", wv, [
13160
13165
  t.icon ? (o(), h(l, {
@@ -13222,7 +13227,7 @@ function Nv(e, s, t, a, n, i) {
13222
13227
  }, [
13223
13228
  f("div", {
13224
13229
  class: v(["ecs-overlay-content-inner-inner", e.$slots.sidebar && !t.fullWidth && n.width > 1500 ? "has-sidebar" : " "]),
13225
- style: B({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
13230
+ style: x({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
13226
13231
  }, [
13227
13232
  p(e.$slots, "default", {}, void 0, !0)
13228
13233
  ], 6),
@@ -13247,7 +13252,7 @@ function Nv(e, s, t, a, n, i) {
13247
13252
  f("div", Av, [
13248
13253
  f("div", {
13249
13254
  class: "ecs-overlay-footer-content-inner",
13250
- style: B({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
13255
+ style: x({ width: i.contentWidth, maxWidth: i.contentMaxWidth, minWidth: i.contentMinWidth, paddingLeft: i.contentPadding, paddingRight: i.contentPadding })
13251
13256
  }, [
13252
13257
  p(e.$slots, "footer", {}, void 0, !0)
13253
13258
  ], 4),
@@ -13382,7 +13387,7 @@ function Gv(e, s, t, a, n, i) {
13382
13387
  _(c, {
13383
13388
  gap: 8,
13384
13389
  class: "ecs-pagination-nav",
13385
- style: B({ minWidth: t.tabsSpacing - 4 + "px" })
13390
+ style: x({ minWidth: t.tabsSpacing - 4 + "px" })
13386
13391
  }, {
13387
13392
  default: w(() => [
13388
13393
  t.type == "paginated" ? (o(), r(H, { key: 0 }, [
@@ -13594,12 +13599,12 @@ function Zv(e, s, t, a, n, i) {
13594
13599
  const l = g("ecs-icon"), c = g("ecs-sticker");
13595
13600
  return o(), r("div", {
13596
13601
  class: v(["ecs-party-entry", [t.party, t.color && t.background ? "ecs-party-entry-colored" : ""]]),
13597
- style: B({ color: t.color })
13602
+ style: x({ color: t.color })
13598
13603
  }, [
13599
13604
  t.icon && t.iconPosition == "left" ? (o(), r("div", {
13600
13605
  key: 0,
13601
13606
  class: "ecs-party-entry-icon",
13602
- style: B("margin-right:" + t.iconSpacing)
13607
+ style: x("margin-right:" + t.iconSpacing)
13603
13608
  }, [
13604
13609
  _(l, {
13605
13610
  type: i.iconType,
@@ -13617,7 +13622,7 @@ function Zv(e, s, t, a, n, i) {
13617
13622
  t.icon && t.iconPosition == "right" ? (o(), r("div", {
13618
13623
  key: 1,
13619
13624
  class: "ecs-party-entry-icon",
13620
- style: B("margin-left:" + t.iconSpacing)
13625
+ style: x("margin-left:" + t.iconSpacing)
13621
13626
  }, [
13622
13627
  _(l, {
13623
13628
  type: i.iconType,
@@ -13996,7 +14001,7 @@ const cy = /* @__PURE__ */ y(ay, [["render", ry], ["__scopeId", "data-v-a6e15633
13996
14001
  class: "meta"
13997
14002
  }, xy = { key: 0 }, By = ["title"];
13998
14003
  function Iy(e, s, t, a, n, i) {
13999
- const l = g("ecs-icon"), c = g("ecs-focus-ring"), d = g("ecs-rating-favorability"), m = g("ecs-rating-star-read"), b = g("ecs-switch"), k = g("ecs-avatar"), I = g("ecs-popover-list-item"), z = g("ecs-popover-list"), x = g("ecs-popover"), M = g("ecs-flex-row"), $ = g("ecs-checkbox");
14004
+ const l = g("ecs-icon"), c = g("ecs-focus-ring"), d = g("ecs-rating-favorability"), m = g("ecs-rating-star-read"), b = g("ecs-switch"), k = g("ecs-avatar"), I = g("ecs-popover-list-item"), z = g("ecs-popover-list"), B = g("ecs-popover"), M = g("ecs-flex-row"), $ = g("ecs-checkbox");
14000
14005
  return o(), r("li", {
14001
14006
  class: v(["ecs-quicklinks-link", [
14002
14007
  i.typeClass,
@@ -14091,7 +14096,7 @@ function Iy(e, s, t, a, n, i) {
14091
14096
  title: `${E.name} (${E.date})`,
14092
14097
  "aria-label": `Volume ${E.id}${E.active ? " active" : ""}`
14093
14098
  }, C(E.id), 11, Cy))), 128)),
14094
- n.localVolumes.length > 3 ? (o(), h(x, {
14099
+ n.localVolumes.length > 3 ? (o(), h(B, {
14095
14100
  key: 0,
14096
14101
  disabled: t.disabled || null
14097
14102
  }, {
@@ -14612,7 +14617,7 @@ function b0(e, s, t, a, n, i) {
14612
14617
  const l = g("ecs-tab-bar"), c = g("ecs-tabs");
14613
14618
  return o(), r("aside", {
14614
14619
  class: v(["ecs-sidebar", [i.sizeClass, i.expandClass]]),
14615
- style: B(i.height)
14620
+ style: x(i.height)
14616
14621
  }, [
14617
14622
  f("div", y0, [
14618
14623
  _(l, { type: "sidebar" }, {
@@ -15154,7 +15159,7 @@ function X0(e, s, t, a, n, i) {
15154
15159
  "aria-label": l.title,
15155
15160
  "aria-checked": n.selectedColor == l.hex ? "true" : "false",
15156
15161
  class: v(["ecs-swatches-color", n.selectedColor == l.hex ? "active" : ""]),
15157
- style: B({ backgroundColor: l.hex, color: l.hex })
15162
+ style: x({ backgroundColor: l.hex, color: l.hex })
15158
15163
  }, null, 46, Z0))), 128))
15159
15164
  ], 2);
15160
15165
  }
@@ -15436,7 +15441,7 @@ function ub(e, s, t, a, n, i) {
15436
15441
  t.loading ? "loading" : ""
15437
15442
  ]]),
15438
15443
  onClick: s[0] || (s[0] = (...d) => i.handleClick && i.handleClick(...d)),
15439
- style: B(i.customColorStyle),
15444
+ style: x(i.customColorStyle),
15440
15445
  role: t.hover ? "button" : !1,
15441
15446
  tabindex: t.hover ? "0" : "-1",
15442
15447
  "aria-busy": t.loading || null