@everchron/ec-shards 9.15.5 → 9.15.7

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
@@ -1189,12 +1189,12 @@ function Ns(e, s) {
1189
1189
  }
1190
1190
  function qt(e, s) {
1191
1191
  s === void 0 && (s = {});
1192
- 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 ? fn : c, p = t.rootBoundary, b = p === void 0 ? Ms : p, k = t.elementContext, E = k === void 0 ? Qe : k, z = t.altBoundary, x = z === void 0 ? !1 : z, M = t.padding, $ = M === void 0 ? 0 : M, I = Ds(typeof $ != "number" ? $ : Ns($, ot)), P = E === Qe ? mn : Qe, R = e.rects.popper, O = e.elements[x ? P : E], N = Mn(We(O) ? O : O.contextElement || De(e.elements.popper), d, b, l), T = Ke(e.elements.reference), V = Ls({
1193
- reference: T,
1192
+ 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 ? fn : c, p = t.rootBoundary, b = p === void 0 ? Ms : p, k = t.elementContext, E = k === void 0 ? Qe : k, z = t.altBoundary, x = z === void 0 ? !1 : z, M = t.padding, $ = M === void 0 ? 0 : M, I = Ds(typeof $ != "number" ? $ : Ns($, ot)), T = E === Qe ? mn : Qe, R = e.rects.popper, O = e.elements[x ? T : E], N = Mn(We(O) ? O : O.contextElement || De(e.elements.popper), d, b, l), P = Ke(e.elements.reference), V = Ls({
1193
+ reference: P,
1194
1194
  element: R,
1195
1195
  strategy: "absolute",
1196
1196
  placement: n
1197
- }), q = $t(Object.assign({}, R, V)), j = E === Qe ? q : T, K = {
1197
+ }), q = $t(Object.assign({}, R, V)), j = E === Qe ? q : P, K = {
1198
1198
  top: N.top - j.top + I.top,
1199
1199
  bottom: j.bottom - N.bottom + I.bottom,
1200
1200
  left: N.left - j.left + I.left,
@@ -1240,8 +1240,8 @@ function $n(e) {
1240
1240
  }, k = [], E = !1, z = {
1241
1241
  state: b,
1242
1242
  setOptions: function(I) {
1243
- var P = typeof I == "function" ? I(b.options) : I;
1244
- M(), b.options = Object.assign({}, i, b.options, P), b.scrollParents = {
1243
+ var T = typeof I == "function" ? I(b.options) : I;
1244
+ M(), b.options = Object.assign({}, i, b.options, T), b.scrollParents = {
1245
1245
  reference: We(c) ? st(c) : c.contextElement ? st(c.contextElement) : [],
1246
1246
  popper: st(d)
1247
1247
  };
@@ -1257,10 +1257,10 @@ function $n(e) {
1257
1257
  // prefer the async Popper#update method
1258
1258
  forceUpdate: function() {
1259
1259
  if (!E) {
1260
- var I = b.elements, P = I.reference, R = I.popper;
1261
- if (us(P, R)) {
1260
+ var I = b.elements, T = I.reference, R = I.popper;
1261
+ if (us(T, R)) {
1262
1262
  b.rects = {
1263
- reference: cn(P, at(R), b.options.strategy === "fixed"),
1263
+ reference: cn(T, at(R), b.options.strategy === "fixed"),
1264
1264
  popper: Rt(R)
1265
1265
  }, b.reset = !1, b.placement = b.options.placement, b.orderedModifiers.forEach(function(K) {
1266
1266
  return b.modifiersData[K.name] = Object.assign({}, K.data);
@@ -1270,8 +1270,8 @@ function $n(e) {
1270
1270
  b.reset = !1, O = -1;
1271
1271
  continue;
1272
1272
  }
1273
- var N = b.orderedModifiers[O], T = N.fn, V = N.options, q = V === void 0 ? {} : V, j = N.name;
1274
- typeof T == "function" && (b = T({
1273
+ var N = b.orderedModifiers[O], P = N.fn, V = N.options, q = V === void 0 ? {} : V, j = N.name;
1274
+ typeof P == "function" && (b = P({
1275
1275
  state: b,
1276
1276
  options: q,
1277
1277
  name: j,
@@ -1299,16 +1299,16 @@ function $n(e) {
1299
1299
  });
1300
1300
  function x() {
1301
1301
  b.orderedModifiers.forEach(function($) {
1302
- var I = $.name, P = $.options, R = P === void 0 ? {} : P, O = $.effect;
1302
+ var I = $.name, T = $.options, R = T === void 0 ? {} : T, O = $.effect;
1303
1303
  if (typeof O == "function") {
1304
1304
  var N = O({
1305
1305
  state: b,
1306
1306
  name: I,
1307
1307
  instance: z,
1308
1308
  options: R
1309
- }), T = function() {
1309
+ }), P = function() {
1310
1310
  };
1311
- k.push(N || T);
1311
+ k.push(N || P);
1312
1312
  }
1313
1313
  });
1314
1314
  }
@@ -1380,22 +1380,22 @@ function fs(e) {
1380
1380
  y: M
1381
1381
  };
1382
1382
  z = $.x, M = $.y;
1383
- var I = l.hasOwnProperty("x"), P = l.hasOwnProperty("y"), R = de, O = ce, N = window;
1383
+ var I = l.hasOwnProperty("x"), T = l.hasOwnProperty("y"), R = de, O = ce, N = window;
1384
1384
  if (p) {
1385
- var T = at(t), V = "clientHeight", q = "clientWidth";
1386
- if (T === fe(t) && (T = De(t), $e(T).position !== "static" && c === "absolute" && (V = "scrollHeight", q = "scrollWidth")), T = T, n === ce || (n === de || n === Be) && i === nt) {
1385
+ var P = at(t), V = "clientHeight", q = "clientWidth";
1386
+ if (P === fe(t) && (P = De(t), $e(P).position !== "static" && c === "absolute" && (V = "scrollHeight", q = "scrollWidth")), P = P, n === ce || (n === de || n === Be) && i === nt) {
1387
1387
  O = xe;
1388
- var j = k && T === N && N.visualViewport ? N.visualViewport.height : (
1388
+ var j = k && P === N && N.visualViewport ? N.visualViewport.height : (
1389
1389
  // $FlowFixMe[prop-missing]
1390
- T[V]
1390
+ P[V]
1391
1391
  );
1392
1392
  M -= j - a.height, M *= d ? 1 : -1;
1393
1393
  }
1394
1394
  if (n === de || (n === ce || n === xe) && i === nt) {
1395
1395
  R = Be;
1396
- var K = k && T === N && N.visualViewport ? N.visualViewport.width : (
1396
+ var K = k && P === N && N.visualViewport ? N.visualViewport.width : (
1397
1397
  // $FlowFixMe[prop-missing]
1398
- T[q]
1398
+ P[q]
1399
1399
  );
1400
1400
  z -= K - a.width, z *= d ? 1 : -1;
1401
1401
  }
@@ -1411,9 +1411,9 @@ function fs(e) {
1411
1411
  };
1412
1412
  if (z = Q.x, M = Q.y, d) {
1413
1413
  var Z;
1414
- return Object.assign({}, X, (Z = {}, Z[O] = P ? "0" : "", Z[R] = I ? "0" : "", Z.transform = (N.devicePixelRatio || 1) <= 1 ? "translate(" + z + "px, " + M + "px)" : "translate3d(" + z + "px, " + M + "px, 0)", Z));
1414
+ return Object.assign({}, X, (Z = {}, Z[O] = T ? "0" : "", Z[R] = I ? "0" : "", Z.transform = (N.devicePixelRatio || 1) <= 1 ? "translate(" + z + "px, " + M + "px)" : "translate3d(" + z + "px, " + M + "px, 0)", Z));
1415
1415
  }
1416
- return Object.assign({}, X, (s = {}, s[O] = P ? M + "px" : "", s[R] = I ? z + "px" : "", s.transform = "", s));
1416
+ return Object.assign({}, X, (s = {}, s[O] = T ? M + "px" : "", s[R] = I ? z + "px" : "", s.transform = "", s));
1417
1417
  }
1418
1418
  function Rn(e) {
1419
1419
  var s = e.state, t = e.options, a = t.gpuAcceleration, n = a === void 0 ? !0 : a, i = t.adaptive, l = i === void 0 ? !0 : i, c = t.roundOffsets, d = c === void 0 ? !0 : c, p = {
@@ -1506,7 +1506,7 @@ function Yn(e) {
1506
1506
  rootBoundary: p,
1507
1507
  padding: k,
1508
1508
  altBoundary: b
1509
- }), I = Te(s.placement), P = Xe(s.placement), R = !P, O = Ht(I), N = Gn(O), T = s.modifiersData.popperOffsets, V = s.rects.reference, q = s.rects.popper, j = typeof M == "function" ? M(Object.assign({}, s.rects, {
1509
+ }), I = Te(s.placement), T = Xe(s.placement), R = !T, O = Ht(I), N = Gn(O), P = s.modifiersData.popperOffsets, V = s.rects.reference, q = s.rects.popper, j = typeof M == "function" ? M(Object.assign({}, s.rects, {
1510
1510
  placement: s.placement
1511
1511
  })) : M, K = typeof j == "number" ? {
1512
1512
  mainAxis: j,
@@ -1518,17 +1518,17 @@ function Yn(e) {
1518
1518
  x: 0,
1519
1519
  y: 0
1520
1520
  };
1521
- if (T) {
1521
+ if (P) {
1522
1522
  if (i) {
1523
- var Z, _e = O === "y" ? ce : de, me = O === "y" ? xe : Be, ee = O === "y" ? "height" : "width", ne = T[O], je = ne + $[_e], ke = ne - $[me], Ae = z ? -q[ee] / 2 : 0, Ne = P === Ye ? V[ee] : q[ee], ae = P === Ye ? -q[ee] : -V[ee], Ue = s.elements.arrow, Le = z && Ue ? Rt(Ue) : {
1523
+ var Z, _e = O === "y" ? ce : de, me = O === "y" ? xe : Be, ee = O === "y" ? "height" : "width", ne = P[O], je = ne + $[_e], ke = ne - $[me], Ae = z ? -q[ee] / 2 : 0, Ne = T === Ye ? V[ee] : q[ee], ae = T === Ye ? -q[ee] : -V[ee], Ue = s.elements.arrow, Le = z && Ue ? Rt(Ue) : {
1524
1524
  width: 0,
1525
1525
  height: 0
1526
1526
  }, Ce = s.modifiersData["arrow#persistent"] ? s.modifiersData["arrow#persistent"].padding : Os(), F = Ce[_e], U = Ce[me], oe = it(0, V[ee], Le[ee]), Ve = R ? V[ee] / 2 - Ae - oe - F - K.mainAxis : Ne - oe - F - K.mainAxis, Qs = R ? -V[ee] / 2 + Ae + oe + U + K.mainAxis : ae + oe + U + K.mainAxis, St = s.elements.arrow && at(s.elements.arrow), ei = St ? O === "y" ? St.clientTop || 0 : St.clientLeft || 0 : 0, Jt = (Z = X == null ? void 0 : X[O]) != null ? Z : 0, ti = ne + Ve - Jt - ei, si = ne + Qs - Jt, Qt = it(z ? gt(je, ti) : je, ne, z ? He(ke, si) : ke);
1527
- T[O] = Qt, Q[O] = Qt - ne;
1527
+ P[O] = Qt, Q[O] = Qt - ne;
1528
1528
  }
1529
1529
  if (c) {
1530
- var es, ii = O === "x" ? ce : de, ni = O === "x" ? xe : Be, Re = T[N], rt = N === "y" ? "height" : "width", ts = Re + $[ii], ss = Re - $[ni], xt = [ce, de].indexOf(I) !== -1, is = (es = X == null ? void 0 : X[N]) != null ? es : 0, ns = xt ? ts : Re - V[rt] - q[rt] - is + K.altAxis, as = xt ? Re + V[rt] + q[rt] - is - K.altAxis : ss, os = z && xt ? Kn(ns, Re, as) : it(z ? ns : ts, Re, z ? as : ss);
1531
- T[N] = os, Q[N] = os - Re;
1530
+ var es, ii = O === "x" ? ce : de, ni = O === "x" ? xe : Be, Re = P[N], rt = N === "y" ? "height" : "width", ts = Re + $[ii], ss = Re - $[ni], xt = [ce, de].indexOf(I) !== -1, is = (es = X == null ? void 0 : X[N]) != null ? es : 0, ns = xt ? ts : Re - V[rt] - q[rt] - is + K.altAxis, as = xt ? Re + V[rt] + q[rt] - is - K.altAxis : ss, os = z && xt ? Kn(ns, Re, as) : it(z ? ns : ts, Re, z ? as : ss);
1531
+ P[N] = os, Q[N] = os - Re;
1532
1532
  }
1533
1533
  s.modifiersData[a] = Q;
1534
1534
  }
@@ -1589,7 +1589,7 @@ function ea(e) {
1589
1589
  function ta(e) {
1590
1590
  var s = e.state, t = e.options, a = e.name;
1591
1591
  if (!s.modifiersData[a]._skip) {
1592
- for (var n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !0 : l, d = t.fallbackPlacements, p = t.padding, b = t.boundary, k = t.rootBoundary, E = t.altBoundary, z = t.flipVariations, x = z === void 0 ? !0 : z, M = t.allowedAutoPlacements, $ = s.options.placement, I = Te($), P = I === $, R = d || (P || !x ? [mt($)] : ea($)), O = [$].concat(R).reduce(function(Le, Ce) {
1592
+ for (var n = t.mainAxis, i = n === void 0 ? !0 : n, l = t.altAxis, c = l === void 0 ? !0 : l, d = t.fallbackPlacements, p = t.padding, b = t.boundary, k = t.rootBoundary, E = t.altBoundary, z = t.flipVariations, x = z === void 0 ? !0 : z, M = t.allowedAutoPlacements, $ = s.options.placement, I = Te($), T = I === $, R = d || (T || !x ? [mt($)] : ea($)), O = [$].concat(R).reduce(function(Le, Ce) {
1593
1593
  return Le.concat(Te(Ce) === Ft ? Qn(s, {
1594
1594
  placement: Ce,
1595
1595
  boundary: b,
@@ -1598,7 +1598,7 @@ function ta(e) {
1598
1598
  flipVariations: x,
1599
1599
  allowedAutoPlacements: M
1600
1600
  }) : Ce);
1601
- }, []), N = s.rects.reference, T = s.rects.popper, V = /* @__PURE__ */ new Map(), q = !0, j = O[0], K = 0; K < O.length; K++) {
1601
+ }, []), N = s.rects.reference, P = s.rects.popper, V = /* @__PURE__ */ new Map(), q = !0, j = O[0], K = 0; K < O.length; K++) {
1602
1602
  var X = O[K], Q = Te(X), Z = Xe(X) === Ye, _e = [ce, xe].indexOf(Q) >= 0, me = _e ? "width" : "height", ee = qt(s, {
1603
1603
  placement: X,
1604
1604
  boundary: b,
@@ -1606,7 +1606,7 @@ function ta(e) {
1606
1606
  altBoundary: E,
1607
1607
  padding: p
1608
1608
  }), ne = _e ? Z ? Be : de : Z ? xe : ce;
1609
- N[me] > T[me] && (ne = mt(ne));
1609
+ N[me] > P[me] && (ne = mt(ne));
1610
1610
  var je = mt(ne), ke = [];
1611
1611
  if (i && ke.push(ee[Q] <= 0), c && ke.push(ee[ne] <= 0, ee[je] <= 0), ke.every(function(Le) {
1612
1612
  return Le;
@@ -1678,8 +1678,8 @@ var oa = function(s, t) {
1678
1678
  function la(e) {
1679
1679
  var s, t = e.state, a = e.name, n = e.options, i = t.elements.arrow, l = t.modifiersData.popperOffsets, c = Te(t.placement), d = Ht(c), p = [de, Be].indexOf(c) >= 0, b = p ? "height" : "width";
1680
1680
  if (!(!i || !l)) {
1681
- var k = oa(n.padding, t), E = Rt(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], I = at(i), P = I ? d === "y" ? I.clientHeight || 0 : I.clientWidth || 0 : 0, R = M / 2 - $ / 2, O = k[z], N = P - E[b] - k[x], T = P / 2 - E[b] / 2 + R, V = it(O, T, N), q = d;
1682
- t.modifiersData[a] = (s = {}, s[q] = V, s.centerOffset = V - T, s);
1681
+ var k = oa(n.padding, t), E = Rt(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], I = at(i), T = I ? d === "y" ? I.clientHeight || 0 : I.clientWidth || 0 : 0, R = M / 2 - $ / 2, O = k[z], N = T - E[b] - k[x], P = T / 2 - E[b] / 2 + R, V = it(O, P, N), q = d;
1682
+ t.modifiersData[a] = (s = {}, s[q] = V, s.centerOffset = V - P, s);
1683
1683
  }
1684
1684
  }
1685
1685
  function ra(e) {
@@ -1930,16 +1930,16 @@ const ha = /* @__PURE__ */ y(ma, [["render", pa], ["__scopeId", "data-v-b4b01b19
1930
1930
  return console.error(
1931
1931
  `[Popper]: The <Popper> component expects only one child element at its root. You passed ${F.length} child nodes.`
1932
1932
  );
1933
- (n.content !== void 0 || P.value) && (E.value = !0), l = new MutationObserver(M), document.addEventListener("keydown", Ce);
1933
+ (n.content !== void 0 || T.value) && (E.value = !0), l = new MutationObserver(M), document.addEventListener("keydown", Ce);
1934
1934
  });
1935
1935
  const {
1936
1936
  arrowPadding: $,
1937
1937
  closeDelay: I,
1938
- content: P,
1938
+ content: T,
1939
1939
  disableClickAway: R,
1940
1940
  disabled: O,
1941
1941
  interactive: N,
1942
- locked: T,
1942
+ locked: P,
1943
1943
  offsetDistance: V,
1944
1944
  offsetSkid: q,
1945
1945
  openDelay: j,
@@ -1948,7 +1948,7 @@ const ha = /* @__PURE__ */ y(ma, [["render", pa], ["__scopeId", "data-v-b4b01b19
1948
1948
  } = Bs(i), { isOpen: Q, open: Z, close: _e } = da({
1949
1949
  arrowPadding: $,
1950
1950
  emit: a,
1951
- locked: T,
1951
+ locked: P,
1952
1952
  offsetDistance: V,
1953
1953
  offsetSkid: q,
1954
1954
  placement: K,
@@ -1977,7 +1977,7 @@ const ha = /* @__PURE__ */ y(ma, [["render", pa], ["__scopeId", "data-v-b4b01b19
1977
1977
  me.value && (X.value ? ke() : Ae());
1978
1978
  }), ct(() => {
1979
1979
  je.value && fa(p, ae);
1980
- }), ge(P, (F) => {
1980
+ }), ge(T, (F) => {
1981
1981
  F ? E.value = !0 : E.value = !1;
1982
1982
  }), ct(() => {
1983
1983
  p.value && l.observe(p.value, {
@@ -2041,7 +2041,7 @@ const ha = /* @__PURE__ */ y(ma, [["render", pa], ["__scopeId", "data-v-b4b01b19
2041
2041
  close: re(_e),
2042
2042
  isOpen: k.value
2043
2043
  }, () => [
2044
- A(C(re(P)), 1)
2044
+ A(C(re(T)), 1)
2045
2045
  ], !0),
2046
2046
  e.arrow ? (o(), g(ha, { key: 0 })) : u("", !0)
2047
2047
  ], 512)), [
@@ -2184,6 +2184,11 @@ const Vs = /* @__PURE__ */ y(Ca, [["render", wa], ["__scopeId", "data-v-b0731279
2184
2184
  inline: {
2185
2185
  type: Boolean,
2186
2186
  default: !1
2187
+ },
2188
+ /** Sets the checkbox to error state */
2189
+ error: {
2190
+ type: Boolean,
2191
+ default: !1
2187
2192
  }
2188
2193
  }
2189
2194
  };
@@ -2192,7 +2197,8 @@ function xa(e, s, t, a, n, i) {
2192
2197
  return o(), r("div", {
2193
2198
  class: v(["ecs-form-check", [
2194
2199
  t.inline ? "ecs-form-check-inline" : "",
2195
- t.disabled ? "disabled" : ""
2200
+ t.disabled ? "disabled" : "",
2201
+ t.error ? "error" : ""
2196
2202
  ]])
2197
2203
  }, [
2198
2204
  h(e.$slots, "default"),
@@ -2313,6 +2319,11 @@ const Je = /* @__PURE__ */ y(Ba, [["render", za], ["__scopeId", "data-v-b3c32482
2313
2319
  /** Help text that appears underneath (or next to, for inline checkboxes) the label. */
2314
2320
  help: {
2315
2321
  type: String
2322
+ },
2323
+ /** Shows the checkbox in error state */
2324
+ error: {
2325
+ type: Boolean,
2326
+ default: !1
2316
2327
  }
2317
2328
  },
2318
2329
  data() {
@@ -2363,7 +2374,8 @@ function Pa(e, s, t, a, n, i) {
2363
2374
  class: v([
2364
2375
  t.inline ? "ecs-form-check-inline" : "",
2365
2376
  e.$slots.default ? "" : "stand-alone"
2366
- ])
2377
+ ]),
2378
+ error: t.error
2367
2379
  }, {
2368
2380
  default: w(() => [
2369
2381
  f("input", {
@@ -2396,9 +2408,9 @@ function Pa(e, s, t, a, n, i) {
2396
2408
  ], 8, Ta)
2397
2409
  ]),
2398
2410
  _: 3
2399
- }, 8, ["class"]);
2411
+ }, 8, ["class", "error"]);
2400
2412
  }
2401
- const lt = /* @__PURE__ */ y(Ia, [["render", Pa], ["__scopeId", "data-v-e15ff286"]]), Ma = {
2413
+ const lt = /* @__PURE__ */ y(Ia, [["render", Pa], ["__scopeId", "data-v-d9c7f9ef"]]), Ma = {
2402
2414
  name: "ecs-radiobutton",
2403
2415
  emits: ["input", "change"],
2404
2416
  components: { EcsFormCheck: Wt, EcsText: Je },
@@ -5932,39 +5944,39 @@ function Lc(e, s, t) {
5932
5944
  if (typeof e != "function")
5933
5945
  throw new TypeError(Mc);
5934
5946
  s = xs(s) || 0, Pc(t) && (b = !!t.leading, k = "maxWait" in t, i = k ? $c(xs(t.maxWait) || 0, s) : i, E = "trailing" in t ? !!t.trailing : E);
5935
- function z(T) {
5947
+ function z(P) {
5936
5948
  var V = a, q = n;
5937
- return a = n = void 0, p = T, l = e.apply(q, V), l;
5949
+ return a = n = void 0, p = P, l = e.apply(q, V), l;
5938
5950
  }
5939
- function x(T) {
5940
- return p = T, c = setTimeout(I, s), b ? z(T) : l;
5951
+ function x(P) {
5952
+ return p = P, c = setTimeout(I, s), b ? z(P) : l;
5941
5953
  }
5942
- function M(T) {
5943
- var V = T - d, q = T - p, j = s - V;
5954
+ function M(P) {
5955
+ var V = P - d, q = P - p, j = s - V;
5944
5956
  return k ? Ac(j, i - q) : j;
5945
5957
  }
5946
- function $(T) {
5947
- var V = T - d, q = T - p;
5958
+ function $(P) {
5959
+ var V = P - d, q = P - p;
5948
5960
  return d === void 0 || V >= s || V < 0 || k && q >= i;
5949
5961
  }
5950
5962
  function I() {
5951
- var T = Et();
5952
- if ($(T))
5953
- return P(T);
5954
- c = setTimeout(I, M(T));
5963
+ var P = Et();
5964
+ if ($(P))
5965
+ return T(P);
5966
+ c = setTimeout(I, M(P));
5955
5967
  }
5956
- function P(T) {
5957
- return c = void 0, E && a ? z(T) : (a = n = void 0, l);
5968
+ function T(P) {
5969
+ return c = void 0, E && a ? z(P) : (a = n = void 0, l);
5958
5970
  }
5959
5971
  function R() {
5960
5972
  c !== void 0 && clearTimeout(c), p = 0, a = d = n = c = void 0;
5961
5973
  }
5962
5974
  function O() {
5963
- return c === void 0 ? l : P(Et());
5975
+ return c === void 0 ? l : T(Et());
5964
5976
  }
5965
5977
  function N() {
5966
- var T = Et(), V = $(T);
5967
- if (a = arguments, n = this, d = T, V) {
5978
+ var P = Et(), V = $(P);
5979
+ if (a = arguments, n = this, d = P, V) {
5968
5980
  if (c === void 0)
5969
5981
  return x(d);
5970
5982
  if (k)
@@ -8924,6 +8936,7 @@ function Zf(e, s, t, a, n, i) {
8924
8936
  }
8925
8937
  const Jf = /* @__PURE__ */ y(Uf, [["render", Zf], ["__scopeId", "data-v-85fef203"]]), Qf = "data:image/svg+xml,%3csvg%20width='60'%20height='16'%20viewBox='0%200%2060%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M54.063%204.50704C54.063%203.96772%2054.5002%203.53052%2055.0395%203.53052C55.5788%203.53052%2056.016%203.96772%2056.016%204.50704V11.4178C56.016%2011.9572%2055.5788%2012.3944%2055.0395%2012.3944C54.5002%2012.3944%2054.063%2011.9572%2054.063%2011.4178V4.50704ZM46.4511%2010.085C46.4511%209.81933%2046.5412%209.59637%2046.7215%209.41611C46.9112%209.22636%2047.1389%209.13148%2047.4046%209.13148H49.5819L49.2119%208.07837C49.0601%207.68939%2048.9083%207.32412%2048.7565%206.98257C48.6142%206.63153%2048.4482%206.3137%2048.2584%206.02908C48.0877%205.74446%2047.8932%205.59266%2047.675%205.57368C47.4473%205.59266%2047.2433%205.74446%2047.063%206.02908C46.8828%206.3137%2046.7167%206.63153%2046.5649%206.98257C46.4226%207.32412%2046.2756%207.68939%2046.1238%208.07837L44.7718%2011.7785C44.6769%2011.9777%2044.5536%2012.1438%2044.4018%2012.2766C44.2595%2012.3999%2044.0413%2012.4616%2043.7471%2012.4616C43.472%2012.4616%2043.2443%2012.3667%2043.064%2012.177C42.8933%2011.9872%2042.8174%2011.7595%2042.8363%2011.4939C42.8458%2011.3705%2042.8743%2011.2567%2042.9217%2011.1523L44.4872%207.11065C44.9236%206.04805%2045.36%205.18944%2045.7964%204.5348C46.2234%203.88965%2046.8495%203.56234%2047.675%203.55285C48.4909%203.56234%2049.1123%203.88965%2049.5392%204.5348C49.9757%205.17046%2050.4121%206.02908%2050.8485%207.11065L52.414%2011.1523C52.4614%2011.2567%2052.4899%2011.3705%2052.4993%2011.4939C52.5183%2011.7595%2052.4377%2011.9872%2052.2574%2012.177C52.0866%2012.3667%2051.8637%2012.4616%2051.5885%2012.4616C51.2755%2012.4616%2051.043%2012.3999%2050.8912%2012.2766C50.7489%2012.1438%2050.6303%2011.9777%2050.5354%2011.7785L50.265%2011.0385H47.4046C47.1389%2011.0385%2046.916%2010.9436%2046.7357%2010.7538C46.5459%2010.5736%2046.4511%2010.3506%2046.4511%2010.085ZM21.9796%203.8944H21.325C20.6609%203.93235%2020.1153%204.18851%2019.6884%204.66288C19.2615%205.12777%2018.9531%205.65907%2018.7634%206.25678C18.5736%206.85449%2018.4788%207.46643%2018.4788%208.09261C18.4788%208.71878%2018.5689%209.33072%2018.7492%209.92843C18.9389%2010.5261%2019.2472%2011.0622%2019.6742%2011.5366C20.1106%2012.0014%2020.6609%2012.2529%2021.325%2012.2908H21.5954H26.8183C27.0744%2012.2813%2027.2879%2012.1912%2027.4587%2012.0204C27.6389%2011.8402%2027.7338%2011.6219%2027.7433%2011.3658C27.7433%2011.1001%2027.6532%2010.8724%2027.4729%2010.6827C27.3021%2010.4929%2027.0839%2010.3933%2026.8183%2010.3838H21.8089C21.4483%2010.3649%2021.1495%2010.2273%2020.9123%209.97113C20.6751%209.71496%2020.4996%209.4256%2020.3857%209.10302C20.3738%209.06513%2020.3626%209.02718%2020.3521%208.98917H24.5078C24.7735%208.98917%2024.9964%208.8943%2025.1767%208.70455C25.3664%208.52428%2025.4613%208.30133%2025.4613%208.03568C25.4613%207.77003%2025.3664%207.54708%2025.1767%207.36681C24.9964%207.17706%2024.7735%207.08219%2024.5078%207.08219H20.3907C20.5046%206.75595%2020.6785%206.46658%2020.9123%206.21409C21.1495%205.95792%2021.4483%205.82035%2021.8089%205.80138H26.8183C27.3875%205.75394%2027.6958%205.4456%2027.7433%204.87635C27.7433%204.6107%2027.6532%204.383%2027.4729%204.19325C27.3021%204.0035%2027.0839%203.90388%2026.8183%203.8944H21.9796ZM30.6965%207.09642C30.8009%206.76436%2030.9717%206.47025%2031.2089%206.21409C31.4555%205.95792%2031.7591%205.82035%2032.1197%205.80138H36.816C37.0816%205.80138%2037.3093%205.71599%2037.4991%205.54522C37.6983%205.36496%2037.7979%205.142%2037.7979%204.87635C37.741%204.27864%2037.4137%203.95132%2036.816%203.8944H31.892H31.6216C31.1377%203.90388%2030.706%204.05568%2030.3265%204.3498C29.9565%204.64391%2029.6577%204.99969%2029.43%205.41714C29.2118%205.8251%2029.0505%206.25678%2028.9461%206.71218C28.8417%207.16758%2028.7896%207.62772%2028.7896%208.09261C28.7896%208.71878%2028.8797%209.33072%2029.06%209.92843C29.2497%2010.5261%2029.558%2011.0622%2029.985%2011.5366C30.4119%2012.0014%2030.9575%2012.2529%2031.6216%2012.2908H32.2762H36.816C37.0816%2012.2908%2037.3093%2012.2054%2037.4991%2012.0347C37.6888%2011.8544%2037.7884%2011.6314%2037.7979%2011.3658C37.741%2010.7681%2037.4137%2010.4408%2036.816%2010.3838H32.1197C31.7591%2010.3649%2031.4555%2010.232%2031.2089%209.98536C30.9622%209.72919%2030.7867%209.43508%2030.6823%209.10302C30.5874%208.77096%2030.54%208.43415%2030.54%208.09261C30.54%207.75106%2030.5922%207.41899%2030.6965%207.09642ZM41.5184%206.46012C41.5184%206.99944%2041.0812%207.43665%2040.5418%207.43665C40.0025%207.43665%2039.5653%206.99944%2039.5653%206.46012C39.5653%205.9208%2040.0025%205.4836%2040.5418%205.4836C41.0812%205.4836%2041.5184%205.9208%2041.5184%206.46012ZM41.5182%209.46486C41.5182%2010.0042%2041.081%2010.4414%2040.5417%2010.4414C40.0024%2010.4414%2039.5652%2010.0042%2039.5652%209.46486C39.5652%208.92554%2040.0024%208.48833%2040.5417%208.48833C41.081%208.48833%2041.5182%208.92554%2041.5182%209.46486Z'%20fill='%230051AF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M22.8887%202.39463e-08H7.97789C6.75301%20-1.99986e-06%205.80393%20-3.61046e-06%205.04171%200.0576269C4.26944%200.116017%203.64637%200.235763%203.08266%200.498156C1.94364%201.02835%201.02835%201.94363%200.498156%203.08266C0.235763%203.64637%200.116017%204.26944%200.0576269%205.04171C-3.56926e-06%205.80392%20-1.99974e-06%206.753%202.39402e-08%207.97788V8.0221C-1.99973e-06%209.24698%20-3.61046e-06%2010.1961%200.0576269%2010.9583C0.116017%2011.7305%200.235763%2012.3536%200.498156%2012.9173C1.02835%2014.0564%201.94364%2014.9716%203.08266%2015.5018C3.64637%2015.7642%204.26944%2015.884%205.04171%2015.9424C5.80393%2016%206.75302%2016%207.97791%2016H22.8863C22.8996%2016%2022.9129%2016%2022.9263%2016H51.5901C52.815%2016%2053.7641%2016%2054.5264%2015.9424C55.2986%2015.884%2055.9217%2015.7642%2056.4854%2015.5018C57.6244%2014.9716%2058.5397%2014.0564%2059.0699%2012.9173C59.3323%2012.3536%2059.452%2011.7305%2059.5104%2010.9583C59.5681%2010.1961%2059.5681%209.24709%2059.5681%208.0223V7.97769C59.5681%206.7529%2059.5681%205.80388%2059.5104%205.04171C59.452%204.26944%2059.3323%203.64637%2059.0699%203.08266C58.5397%201.94363%2057.6244%201.02835%2056.4854%200.498156C55.9217%200.235763%2055.2986%200.116017%2054.5264%200.0576269C53.7641%20-3.64791e-06%2052.8151%20-1.99986e-06%2051.5902%202.39463e-08H22.9262C22.9137%203.19582e-09%2022.9012%20-1.75111e-08%2022.8887%202.39463e-08ZM22.9484%2014.9483H51.5681C52.8197%2014.9483%2053.7291%2014.948%2054.4471%2014.8937C55.1596%2014.8398%2055.6406%2014.7351%2056.0416%2014.5484C56.956%2014.1228%2057.6908%2013.388%2058.1165%2012.4735C58.3031%2012.0725%2058.4079%2011.5915%2058.4618%2010.879C58.5161%2010.161%2058.5164%209.25158%2058.5164%207.99999C58.5164%206.74841%2058.5161%205.83895%2058.4618%205.12099C58.4079%204.4085%2058.3031%203.92744%2058.1165%203.52646C57.6908%202.61203%2056.956%201.87722%2056.0416%201.45157C55.6406%201.26492%2055.1596%201.16015%2054.4471%201.10628C53.7291%201.05199%2052.8197%201.05164%2051.5681%201.05164H22.9484C21.6968%201.05164%2020.7873%201.05199%2020.0693%201.10628C19.3569%201.16015%2018.8758%201.26492%2018.4748%201.45157C17.5604%201.87722%2016.8256%202.61203%2016.3999%203.52646C16.2133%203.92744%2016.1085%204.4085%2016.0546%205.12099C16.0003%205.83895%2016%206.74841%2016%207.99999C16%209.25158%2016.0003%2010.161%2016.0546%2010.879C16.1085%2011.5915%2016.2133%2012.0725%2016.3999%2012.4735C16.8256%2013.388%2017.5604%2014.1228%2018.4748%2014.5484C18.8758%2014.7351%2019.3569%2014.8398%2020.0693%2014.8937C20.7873%2014.948%2021.6968%2014.9483%2022.9484%2014.9483Z'%20fill='url(%23paint0_linear_1513_7480)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.46002%205.03279C6.6361%205.03279%206.79084%205.14951%206.83921%205.31881L7.26681%206.8154C7.45397%207.47046%207.96601%207.9825%208.62107%208.16966L10.1177%208.59725C10.287%208.64562%2010.4037%208.80037%2010.4037%208.97645C10.4037%209.15252%2010.287%209.30727%2010.1177%209.35564L8.62107%209.78323C7.96601%209.97039%207.45397%2010.4824%207.26681%2011.1375L6.83921%2012.6341C6.79084%2012.8034%206.6361%2012.9201%206.46002%2012.9201C6.28394%2012.9201%206.1292%2012.8034%206.08083%2012.6341L5.65323%2011.1375C5.46607%2010.4824%204.95403%209.97039%204.29897%209.78323L2.80238%209.35564C2.63308%209.30727%202.51636%209.15252%202.51636%208.97645C2.51636%208.80037%202.63308%208.64562%202.80238%208.59725L4.29897%208.16966C4.95403%207.9825%205.46607%207.47046%205.65323%206.8154L6.08083%205.31881C6.1292%205.14951%206.28394%205.03279%206.46002%205.03279Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.1924%203.45532C11.3734%203.45532%2011.5311%203.57848%2011.575%203.75404L11.7111%204.29851C11.8348%204.79304%2012.2209%205.17918%2012.7154%205.30281L13.2599%205.43893C13.4354%205.48282%2013.5586%205.64056%2013.5586%205.82152C13.5586%206.00248%2013.4354%206.16022%2013.2599%206.20411L12.7154%206.34023C12.2209%206.46386%2011.8348%206.84999%2011.7111%207.34453L11.575%207.889C11.5311%208.06455%2011.3734%208.18771%2011.1924%208.18771C11.0115%208.18771%2010.8537%208.06455%2010.8098%207.889L10.6737%207.34453C10.5501%206.84999%2010.1639%206.46386%209.6694%206.34023L9.12493%206.20411C8.94938%206.16022%208.82622%206.00248%208.82622%205.82152C8.82622%205.64056%208.94938%205.48282%209.12493%205.43893L9.6694%205.30281C10.1639%205.17918%2010.5501%204.79304%2010.6737%204.29851L10.8098%203.75404C10.8537%203.57848%2011.0115%203.45532%2011.1924%203.45532Z'%20fill='white'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_1513_7480'%20x1='2.26208'%20y1='1.13104'%20x2='51.1481'%20y2='13.8238'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%230074FB'/%3e%3cstop%20offset='1'%20stop-color='%230074FB'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", em = {
8926
8938
  name: "ecs-ecai-select",
8939
+ emits: ["update:settings", "generate", "opened"],
8927
8940
  components: { EcsPopover: bt, EcsButton: Ie, EcsSwitch: jt, EcsSelect: Zt, EcsCheckbox: lt, EcsFormGroup: Zs, EcsText: Je, EcsFlexRow: ze, EcsInfoTooltip: jf, EcsSticker: Oe, EcsButtonMore: Gt, EcsPopoverHeader: Jf },
8928
8941
  props: {
8929
8942
  /** Button type: `iconOnly`, `default` */
@@ -8956,6 +8969,11 @@ const Jf = /* @__PURE__ */ y(Uf, [["render", Zf], ["__scopeId", "data-v-85fef203
8956
8969
  hideSwitch: {
8957
8970
  type: Boolean,
8958
8971
  default: !1
8972
+ },
8973
+ /** Determines if the ECAI Select button should be disabled. */
8974
+ disabled: {
8975
+ type: Boolean,
8976
+ default: !1
8959
8977
  }
8960
8978
  },
8961
8979
  data() {
@@ -8977,6 +8995,9 @@ const Jf = /* @__PURE__ */ y(Uf, [["render", Zf], ["__scopeId", "data-v-85fef203
8977
8995
  this.localSettings = JSON.parse(JSON.stringify(e)), this.initializeData();
8978
8996
  },
8979
8997
  deep: !0
8998
+ },
8999
+ selectedDocumentSummaryTemplateId() {
9000
+ this.emitSettings();
8980
9001
  }
8981
9002
  },
8982
9003
  mounted() {
@@ -8988,7 +9009,7 @@ const Jf = /* @__PURE__ */ y(Uf, [["render", Zf], ["__scopeId", "data-v-85fef203
8988
9009
  this.selectedDocumentSummaryTemplateId = e ? e.id : null;
8989
9010
  },
8990
9011
  updateGenerateDocumentSummary(e) {
8991
- this.localSettings.generateDocumentSummary = e, e || (this.selectedDocumentSummaryTemplateId = null);
9012
+ this.localSettings.generateDocumentSummary = e, e || (this.selectedDocumentSummaryTemplateId = null), this.emitSettings();
8992
9013
  },
8993
9014
  generate() {
8994
9015
  this.emitSettings(), this.$emit("generate"), this.closePopover();
@@ -8997,11 +9018,11 @@ const Jf = /* @__PURE__ */ y(Uf, [["render", Zf], ["__scopeId", "data-v-85fef203
8997
9018
  this.$refs.popoverRef.closePopper();
8998
9019
  },
8999
9020
  updateExtractData(e) {
9000
- this.localSettings.extractData = e;
9021
+ this.localSettings.extractData = e, this.emitSettings();
9001
9022
  },
9002
9023
  updateExtractDataOption(e, s) {
9003
9024
  const t = this.localSettings.extractDataOptions.find((a) => a.name === e);
9004
- t && (t.selected = s);
9025
+ t && (t.selected = s, this.emitSettings());
9005
9026
  },
9006
9027
  emitSettings() {
9007
9028
  this.localSettings.documentSummaryTemplates.forEach((e) => {
@@ -9012,7 +9033,7 @@ const Jf = /* @__PURE__ */ y(Uf, [["render", Zf], ["__scopeId", "data-v-85fef203
9012
9033
  this.$emit("opened");
9013
9034
  }
9014
9035
  }
9015
- }, Ct = (e) => (ve("data-v-b8311da5"), e = e(), ye(), e), tm = { class: "ecs-ecai-select-button" }, sm = { class: "ecai-content" }, im = { class: "ecai-inner-content" }, nm = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-1" }, null, -1)), am = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-2" }, null, -1)), om = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-3" }, null, -1)), lm = [
9036
+ }, Ct = (e) => (ve("data-v-c746836b"), e = e(), ye(), e), tm = { class: "ecs-ecai-select-button" }, sm = { class: "ecai-content" }, im = { class: "ecai-inner-content" }, nm = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-1" }, null, -1)), am = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-2" }, null, -1)), om = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", { class: "bg-circle bg-circle-3" }, null, -1)), lm = [
9016
9037
  nm,
9017
9038
  am,
9018
9039
  om
@@ -9021,7 +9042,7 @@ const Jf = /* @__PURE__ */ y(Uf, [["render", Zf], ["__scopeId", "data-v-85fef203
9021
9042
  target: "_blank",
9022
9043
  title: "Learn more about EC:AI in the Knowledge Base",
9023
9044
  class: "learn-more-link"
9024
- }, dm = ["value"], um = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", null, "Transcript Summary Format: ", -1)), fm = { key: 2 }, mm = { key: 0 }, gm = { key: 1 }, pm = {
9045
+ }, dm = ["value", "selected"], um = /* @__PURE__ */ Ct(() => /* @__PURE__ */ f("span", null, "Transcript Summary Format: ", -1)), fm = { key: 2 }, mm = { key: 0 }, gm = { key: 1 }, pm = {
9025
9046
  key: 0,
9026
9047
  class: "skipped-documents"
9027
9048
  };
@@ -9094,14 +9115,15 @@ function hm(e, s, t, a, n, i) {
9094
9115
  }),
9095
9116
  _(z, {
9096
9117
  modelValue: n.selectedDocumentSummaryTemplateId,
9097
- "onUpdate:modelValue": s[0] || (s[0] = (P) => n.selectedDocumentSummaryTemplateId = P),
9118
+ "onUpdate:modelValue": s[0] || (s[0] = (T) => n.selectedDocumentSummaryTemplateId = T),
9098
9119
  "data-test": "ecai-select-summary-format"
9099
9120
  }, {
9100
9121
  default: w(() => [
9101
- (o(!0), r(H, null, J(n.localSettings.documentSummaryTemplates, (P) => (o(), r("option", {
9102
- key: P.id,
9103
- value: P.id
9104
- }, C(P.name), 9, dm))), 128))
9122
+ (o(!0), r(H, null, J(n.localSettings.documentSummaryTemplates, (T) => (o(), r("option", {
9123
+ key: T.id,
9124
+ value: T.id,
9125
+ selected: T.selected
9126
+ }, C(T.name), 9, dm))), 128))
9105
9127
  ]),
9106
9128
  _: 1
9107
9129
  }, 8, ["modelValue"]),
@@ -9137,14 +9159,14 @@ function hm(e, s, t, a, n, i) {
9137
9159
  class: "indent checkbox-group"
9138
9160
  }, {
9139
9161
  default: w(() => [
9140
- (o(!0), r(H, null, J(n.localSettings.extractDataOptions, (P) => (o(), g(M, {
9141
- key: P.name,
9142
- value: P.selected,
9143
- onInput: (R) => i.updateExtractDataOption(P.name, R),
9144
- "data-test": `ecai-select-extract-option-${P.name.toLowerCase().replace(" ", "-")}`
9162
+ (o(!0), r(H, null, J(n.localSettings.extractDataOptions, (T) => (o(), g(M, {
9163
+ key: T.name,
9164
+ value: T.selected,
9165
+ onInput: (R) => i.updateExtractDataOption(T.name, R),
9166
+ "data-test": `ecai-select-extract-option-${T.name.toLowerCase().replace(" ", "-")}`
9145
9167
  }, {
9146
9168
  default: w(() => [
9147
- A(C(P.name), 1)
9169
+ A(C(T.name), 1)
9148
9170
  ]),
9149
9171
  _: 2
9150
9172
  }, 1032, ["value", "onInput", "data-test"]))), 128))
@@ -9161,14 +9183,14 @@ function hm(e, s, t, a, n, i) {
9161
9183
  default: w(() => [
9162
9184
  _(c, { type: "warning" }),
9163
9185
  f("ul", null, [
9164
- (o(!0), r(H, null, J(t.warnings, (P) => (o(), r("li", { key: P }, C(P), 1))), 128))
9186
+ (o(!0), r(H, null, J(t.warnings, (T) => (o(), r("li", { key: T }, C(T), 1))), 128))
9165
9187
  ])
9166
9188
  ]),
9167
9189
  _: 1
9168
9190
  })) : u("", !0),
9169
9191
  i.anyAiActive && t.skippedDocuments.length > 0 ? (o(), r("div", fm, [
9170
9192
  _($, {
9171
- onClick: s[1] || (s[1] = (P) => n.showSkippedDocuments = !n.showSkippedDocuments),
9193
+ onClick: s[1] || (s[1] = (T) => n.showSkippedDocuments = !n.showSkippedDocuments),
9172
9194
  active: n.showSkippedDocuments,
9173
9195
  type: "expand",
9174
9196
  "data-test": "ecai-select-toggle-skipped-documents"
@@ -9179,7 +9201,7 @@ function hm(e, s, t, a, n, i) {
9179
9201
  _: 1
9180
9202
  }, 8, ["active"]),
9181
9203
  n.showSkippedDocuments ? (o(), r("ul", pm, [
9182
- (o(!0), r(H, null, J(t.skippedDocuments, (P) => (o(), r("li", { key: P }, C(P), 1))), 128))
9204
+ (o(!0), r(H, null, J(t.skippedDocuments, (T) => (o(), r("li", { key: T }, C(T), 1))), 128))
9183
9205
  ])) : u("", !0)
9184
9206
  ])) : u("", !0)
9185
9207
  ])
@@ -9193,18 +9215,20 @@ function hm(e, s, t, a, n, i) {
9193
9215
  "icon-only": "",
9194
9216
  "aria-label": "EC:AI",
9195
9217
  active: i.anyAiActive,
9218
+ disabled: t.disabled,
9196
9219
  class: "ecai-button",
9197
9220
  "data-test": "ecai-select-button"
9198
- }, null, 8, ["active"])) : (o(), g(l, {
9221
+ }, null, 8, ["active", "disabled"])) : (o(), g(l, {
9199
9222
  key: 1,
9200
9223
  icon: "sparkle-ai",
9224
+ disabled: t.disabled,
9201
9225
  "data-test": "ecai-select-button"
9202
9226
  }, {
9203
9227
  default: w(() => [
9204
9228
  A("ECAI")
9205
9229
  ]),
9206
9230
  _: 1
9207
- })),
9231
+ }, 8, ["disabled"])),
9208
9232
  i.anyAiActive && t.warnings.length > 0 ? (o(), g(c, {
9209
9233
  key: 2,
9210
9234
  type: "warning",
@@ -9215,7 +9239,7 @@ function hm(e, s, t, a, n, i) {
9215
9239
  _: 1
9216
9240
  }, 8, ["onHidden", "onShown"]);
9217
9241
  }
9218
- const i_ = /* @__PURE__ */ y(em, [["render", hm], ["__scopeId", "data-v-b8311da5"]]), vm = {
9242
+ const i_ = /* @__PURE__ */ y(em, [["render", hm], ["__scopeId", "data-v-c746836b"]]), vm = {
9219
9243
  name: "ecs-ecai-wrapper",
9220
9244
  components: { EcsIcon: L },
9221
9245
  props: {
@@ -13514,7 +13538,7 @@ function Qv(e, s, t, a, n, i) {
13514
13538
  (o(!0), r(H, null, J(i.displayedVolumes, (I) => (o(), r("button", {
13515
13539
  key: I.id,
13516
13540
  class: v(["volume", { active: I.active }]),
13517
- onClick: (P) => i.toggleVolume(I.id),
13541
+ onClick: (T) => i.toggleVolume(I.id),
13518
13542
  title: `${I.name} (${I.date})`,
13519
13543
  "aria-label": `Volume ${I.id}${I.active ? " active" : ""}`
13520
13544
  }, C(I.id), 11, Kv))), 128)),
@@ -13527,7 +13551,7 @@ function Qv(e, s, t, a, n, i) {
13527
13551
  default: w(() => [
13528
13552
  (o(!0), r(H, null, J(n.localVolumes.slice(3), (I) => (o(), g(E, {
13529
13553
  key: I.id,
13530
- onClick: (P) => i.toggleVolume(I.id),
13554
+ onClick: (T) => i.toggleVolume(I.id),
13531
13555
  selected: I.active,
13532
13556
  title: `${I.name} (${I.date})`,
13533
13557
  "aria-label": `Volume ${I.id}${I.active ? " active" : ""}`