@26lights/orcha 0.34.26 → 0.34.27

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/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as J, openBlock as v, createBlock as R, unref as Q, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as k, resolveDynamicComponent as vt, normalizeClass as z, renderSlot as te, toDisplayString as X, createCommentVNode as A, ref as ne, watch as de, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as q, createTextVNode as Ra, createVNode as L, normalizeStyle as vn, withModifiers as me, createSlots as Na, Fragment as he, renderList as ye, onMounted as qt, onBeforeUnmount as pn, onUnmounted as mn, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as rt, vShow as ys, onUpdated as bs, vModelText as bt, resolveComponent as ws, getCurrentScope as $s, onScopeDispose as ks, toHandlerKey as Ms } from "vue";
1
+ import { defineComponent as J, openBlock as v, createBlock as R, unref as Q, mergeProps as Ve, createElementBlock as g, createElementVNode as p, pushScopeId as hs, popScopeId as Cs, createStaticVNode as gs, computed as k, resolveDynamicComponent as vt, normalizeClass as Y, renderSlot as te, toDisplayString as X, createCommentVNode as A, ref as ne, watch as de, nextTick as De, withKeys as ut, toHandlers as _s, withCtx as q, createTextVNode as Ra, createVNode as L, normalizeStyle as vn, withModifiers as me, createSlots as Na, Fragment as he, renderList as ye, onMounted as qt, onBeforeUnmount as pn, onUnmounted as mn, Teleport as Ht, toRefs as Ae, getCurrentInstance as Mt, toRef as Vt, normalizeProps as ua, guardReactiveProps as da, withDirectives as rt, vShow as ys, onUpdated as bs, vModelText as bt, resolveComponent as ws, getCurrentScope as $s, onScopeDispose as ks, toHandlerKey as Ms } from "vue";
2
2
  import { RouterView as As } from "vue-router";
3
3
  import pt from "vuedraggable";
4
4
  const Mv = /* @__PURE__ */ J({
@@ -1164,7 +1164,7 @@ const hn = {
1164
1164
  setup(t) {
1165
1165
  const e = t, a = k(() => f2[e.name]);
1166
1166
  return (n, s) => (v(), R(vt(a.value), {
1167
- class: z(["ao-icon", `ao-icon--${n.size}`])
1167
+ class: Y(["ao-icon", `ao-icon--${n.size}`])
1168
1168
  }, null, 8, ["class"]));
1169
1169
  }
1170
1170
  });
@@ -1189,7 +1189,7 @@ const m2 = ["type"], h2 = {
1189
1189
  const e = t, a = k(() => e.size), n = k(() => e.isLoading ? "Loading" : e.iconName);
1190
1190
  return (s, o) => (v(), g("button", {
1191
1191
  type: s.type,
1192
- class: z([
1192
+ class: Y([
1193
1193
  "ao-button",
1194
1194
  `ao-button--${s.variant}`,
1195
1195
  s.color ? `ao-button--${s.color}` : "",
@@ -1342,7 +1342,7 @@ const C2 = {
1342
1342
  e("update:title", n);
1343
1343
  };
1344
1344
  return (n, s) => (v(), R(vt(n.tagName), {
1345
- class: z(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1345
+ class: Y(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1346
1346
  }, {
1347
1347
  default: q(() => [
1348
1348
  n.isDraggable ? (v(), g("div", C2, [
@@ -1406,7 +1406,7 @@ const _1 = /* @__PURE__ */ J({
1406
1406
  () => a.value === "button" ? { type: "button" } : {}
1407
1407
  );
1408
1408
  return (s, o) => (v(), g("div", {
1409
- class: z([
1409
+ class: Y([
1410
1410
  "ao-tag",
1411
1411
  s.color ? `ao-tag--${s.color}` : "",
1412
1412
  s.clickable ? "ao-tag--clickable" : "",
@@ -2727,8 +2727,8 @@ function An(t, e, a) {
2727
2727
  var V = String(e), I = ca(), Z = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : I.locale) !== null && n !== void 0 ? n : Mn, U = Ke((o = (i = (r = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (u = a.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : I.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = I.locale) === null || c === void 0 || (m = c.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2728
2728
  if (!(U >= 1 && U <= 7))
2729
2729
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2730
- var Y = Ke((C = ($ = (_ = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (h = a.locale) === null || h === void 0 || (M = h.options) === null || M === void 0 ? void 0 : M.weekStartsOn) !== null && _ !== void 0 ? _ : I.weekStartsOn) !== null && $ !== void 0 ? $ : (w = I.locale) === null || w === void 0 || (T = w.options) === null || T === void 0 ? void 0 : T.weekStartsOn) !== null && C !== void 0 ? C : 0);
2731
- if (!(Y >= 0 && Y <= 6))
2730
+ var z = Ke((C = ($ = (_ = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (h = a.locale) === null || h === void 0 || (M = h.options) === null || M === void 0 ? void 0 : M.weekStartsOn) !== null && _ !== void 0 ? _ : I.weekStartsOn) !== null && $ !== void 0 ? $ : (w = I.locale) === null || w === void 0 || (T = w.options) === null || T === void 0 ? void 0 : T.weekStartsOn) !== null && C !== void 0 ? C : 0);
2731
+ if (!(z >= 0 && z <= 6))
2732
2732
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2733
2733
  if (!Z.localize)
2734
2734
  throw new RangeError("locale must contain localize property");
@@ -2739,7 +2739,7 @@ function An(t, e, a) {
2739
2739
  throw new RangeError("Invalid time value");
2740
2740
  var W = sa(S), H = f1(S, W), F = {
2741
2741
  firstWeekContainsDate: U,
2742
- weekStartsOn: Y,
2742
+ weekStartsOn: z,
2743
2743
  locale: Z,
2744
2744
  _originalDate: S
2745
2745
  }, E = V.match(N0).map(function(N) {
@@ -3714,7 +3714,7 @@ const Vn = (t) => {
3714
3714
  };
3715
3715
  return (i, r) => (v(), g("div", {
3716
3716
  role: "img",
3717
- class: z(n.value),
3717
+ class: Y(n.value),
3718
3718
  title: i.userName
3719
3719
  }, [
3720
3720
  i.avatarUrl ? A("", !0) : (v(), g("span", _3, X(Q(s)), 1)),
@@ -3878,7 +3878,7 @@ const q3 = ["type"], W3 = {
3878
3878
  const e = t, a = k(() => e.size), n = k(() => e.isLoading ? "Loading" : e.iconName);
3879
3879
  return (s, o) => (v(), g("button", {
3880
3880
  type: s.type,
3881
- class: z([
3881
+ class: Y([
3882
3882
  "ao-button-card",
3883
3883
  `ao-button-card--${s.color}`,
3884
3884
  `ao-button-card--${s.corners}`,
@@ -4159,7 +4159,7 @@ const K3 = /* @__PURE__ */ J({
4159
4159
  emits: ["close"],
4160
4160
  setup(t) {
4161
4161
  return (e, a) => (v(), g("div", {
4162
- class: z(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4162
+ class: Y(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4163
4163
  }, [
4164
4164
  p("div", {
4165
4165
  class: "ao-modal__backdrop",
@@ -4473,8 +4473,8 @@ const _5 = function(t) {
4473
4473
  placement: s,
4474
4474
  overflows: Z
4475
4475
  }], !Z.every((H) => H <= 0)) {
4476
- var Y, S;
4477
- const H = (((Y = o.flip) == null ? void 0 : Y.index) || 0) + 1, F = V[H];
4476
+ var z, S;
4477
+ const H = (((z = o.flip) == null ? void 0 : z.index) || 0) + 1, F = V[H];
4478
4478
  if (F)
4479
4479
  return {
4480
4480
  data: {
@@ -4538,8 +4538,8 @@ const _5 = function(t) {
4538
4538
  w = d || M ? oa(y, I) : I;
4539
4539
  }
4540
4540
  if (M && !d) {
4541
- const I = Oe(l.left, 0), Z = Oe(l.right, 0), U = Oe(l.top, 0), Y = Oe(l.bottom, 0);
4542
- c ? T = m - 2 * (I !== 0 || Z !== 0 ? I + Z : Oe(l.left, l.right)) : w = C - 2 * (U !== 0 || Y !== 0 ? U + Y : Oe(l.top, l.bottom));
4541
+ const I = Oe(l.left, 0), Z = Oe(l.right, 0), U = Oe(l.top, 0), z = Oe(l.bottom, 0);
4542
+ c ? T = m - 2 * (I !== 0 || Z !== 0 ? I + Z : Oe(l.left, l.right)) : w = C - 2 * (U !== 0 || z !== 0 ? U + z : Oe(l.top, l.bottom));
4543
4543
  }
4544
4544
  await i({
4545
4545
  ...e,
@@ -5146,7 +5146,7 @@ function Y5(t, e, a) {
5146
5146
  valueProp: I,
5147
5147
  allowAbsent: Z,
5148
5148
  groupLabel: U,
5149
- canDeselect: Y,
5149
+ canDeselect: z,
5150
5150
  max: S,
5151
5151
  strict: W,
5152
5152
  closeOnSelect: H,
@@ -5290,7 +5290,7 @@ function Y5(t, e, a) {
5290
5290
  switch (b.__CREATE__ && (b = { ...b }, delete b.__CREATE__), s.value) {
5291
5291
  case "single":
5292
5292
  if (b && ze(b)) {
5293
- Y.value && Et(b), F.value && (tt(), at());
5293
+ z.value && Et(b), F.value && (tt(), at());
5294
5294
  return;
5295
5295
  }
5296
5296
  b && n1(b), V.value && fe(), H.value && (tt(), at()), b && St(b);
@@ -5472,15 +5472,15 @@ function x5(t, e, a) {
5472
5472
  groupSelect: u,
5473
5473
  disabledProp: d,
5474
5474
  groupOptions: c
5475
- } = Ae(t), m = a.fo, C = a.fg, $ = a.handleOptionClick, _ = a.handleGroupClick, y = a.search, h = a.pointer, M = a.setPointer, w = a.clearPointer, T = a.multiselect, V = a.isOpen, I = k(() => m.value.filter((D) => !D[d.value])), Z = k(() => C.value.filter((D) => !D[d.value])), U = k(() => l.value !== "single" && u.value), Y = k(() => h.value && h.value.group), S = k(() => re(h.value)), W = k(() => {
5476
- const D = Y.value ? h.value : (
5475
+ } = Ae(t), m = a.fo, C = a.fg, $ = a.handleOptionClick, _ = a.handleGroupClick, y = a.search, h = a.pointer, M = a.setPointer, w = a.clearPointer, T = a.multiselect, V = a.isOpen, I = k(() => m.value.filter((D) => !D[d.value])), Z = k(() => C.value.filter((D) => !D[d.value])), U = k(() => l.value !== "single" && u.value), z = k(() => h.value && h.value.group), S = k(() => re(h.value)), W = k(() => {
5476
+ const D = z.value ? h.value : (
5477
5477
  /* istanbul ignore next */
5478
5478
  re(h.value)
5479
5479
  ), K = Z.value.map((we) => we[i.value]).indexOf(D[i.value]);
5480
5480
  let fe = Z.value[K - 1];
5481
5481
  return fe === void 0 && (fe = F.value), fe;
5482
5482
  }), H = k(() => {
5483
- let D = Z.value.map((K) => K.label).indexOf(Y.value ? h.value[i.value] : re(h.value)[i.value]) + 1;
5483
+ let D = Z.value.map((K) => K.label).indexOf(z.value ? h.value[i.value] : re(h.value)[i.value]) + 1;
5484
5484
  return Z.value.length <= D && (D = 0), Z.value[D];
5485
5485
  }), F = k(() => [...Z.value].slice(-1)[0]), E = k(() => h.value.__VISIBLE__.filter((D) => !D[d.value])[0]), N = k(() => {
5486
5486
  const D = S.value.__VISIBLE__.filter((K) => !K[d.value]);
@@ -5491,12 +5491,12 @@ function x5(t, e, a) {
5491
5491
  }), f = k(() => [...W.value.__VISIBLE__.filter((D) => !D[d.value])].slice(-1)[0]), O = k(() => [...F.value.__VISIBLE__.filter((D) => !D[d.value])].slice(-1)[0]), B = (D) => h.value && (!D.group && h.value[n.value] === D[n.value] || D.group !== void 0 && h.value[i.value] === D[i.value]) ? !0 : void 0, se = () => {
5492
5492
  M(I.value[0] || null);
5493
5493
  }, ae = () => {
5494
- !h.value || h.value[d.value] === !0 || (Y.value ? _(h.value) : $(h.value));
5494
+ !h.value || h.value[d.value] === !0 || (z.value ? _(h.value) : $(h.value));
5495
5495
  }, ee = () => {
5496
5496
  if (h.value === null)
5497
5497
  M((r.value && U.value ? Z.value[0].__CREATE__ ? I.value[0] : Z.value[0] : I.value[0]) || null);
5498
5498
  else if (r.value && U.value) {
5499
- let D = Y.value ? E.value : x.value;
5499
+ let D = z.value ? E.value : x.value;
5500
5500
  D === void 0 && (D = H.value, D.__CREATE__ && (D = D[c.value][0])), M(D || /* istanbul ignore next */
5501
5501
  null);
5502
5502
  } else {
@@ -5511,8 +5511,8 @@ function x5(t, e, a) {
5511
5511
  let D = I.value[I.value.length - 1];
5512
5512
  r.value && U.value && (D = O.value, D === void 0 && (D = F.value)), M(D || null);
5513
5513
  } else if (r.value && U.value) {
5514
- let D = Y.value ? f.value : N.value;
5515
- D === void 0 && (D = Y.value ? W.value : S.value, D.__CREATE__ && (D = f.value, D === void 0 && (D = W.value))), M(D || /* istanbul ignore next */
5514
+ let D = z.value ? f.value : N.value;
5515
+ D === void 0 && (D = z.value ? W.value : S.value, D.__CREATE__ && (D = f.value, D === void 0 && (D = W.value))), M(D || /* istanbul ignore next */
5516
5516
  null);
5517
5517
  } else {
5518
5518
  let D = I.value.map((K) => K[n.value]).indexOf(h.value[n.value]) - 1;
@@ -5526,7 +5526,7 @@ function x5(t, e, a) {
5526
5526
  if (!D)
5527
5527
  return;
5528
5528
  let K = D.parentElement.parentElement;
5529
- r.value && (K = Y.value ? D.parentElement.parentElement.parentElement : D.parentElement.parentElement.parentElement.parentElement), D.offsetTop + D.offsetHeight > K.clientHeight + K.scrollTop && (K.scrollTop = D.offsetTop + D.offsetHeight - K.clientHeight), D.offsetTop < K.scrollTop && (K.scrollTop = D.offsetTop);
5529
+ r.value && (K = z.value ? D.parentElement.parentElement.parentElement : D.parentElement.parentElement.parentElement.parentElement), D.offsetTop + D.offsetHeight > K.clientHeight + K.scrollTop && (K.scrollTop = D.offsetTop + D.offsetHeight - K.clientHeight), D.offsetTop < K.scrollTop && (K.scrollTop = D.offsetTop);
5530
5530
  };
5531
5531
  return de(y, (D) => {
5532
5532
  o.value && (D.length && s.value ? se() : w());
@@ -5914,11 +5914,11 @@ function P1(t, e) {
5914
5914
  element: w,
5915
5915
  strategy: "absolute",
5916
5916
  placement: s
5917
- }), U = m1(Object.assign({}, w, Z)), Y = m === ta ? U : I, S = {
5918
- top: V.top - Y.top + h.top,
5919
- bottom: Y.bottom - V.bottom + h.bottom,
5920
- left: V.left - Y.left + h.left,
5921
- right: Y.right - V.right + h.right
5917
+ }), U = m1(Object.assign({}, w, Z)), z = m === ta ? U : I, S = {
5918
+ top: V.top - z.top + h.top,
5919
+ bottom: z.bottom - V.bottom + h.bottom,
5920
+ left: V.left - z.left + h.left,
5921
+ right: z.right - V.right + h.right
5922
5922
  }, W = t.modifiersData.offset;
5923
5923
  if (m === ta && W) {
5924
5924
  var H = W[s];
@@ -5990,11 +5990,11 @@ function A7(t) {
5990
5990
  d.reset = !1, T = -1;
5991
5991
  continue;
5992
5992
  }
5993
- var V = d.orderedModifiers[T], I = V.fn, Z = V.options, U = Z === void 0 ? {} : Z, Y = V.name;
5993
+ var V = d.orderedModifiers[T], I = V.fn, Z = V.options, U = Z === void 0 ? {} : Z, z = V.name;
5994
5994
  typeof I == "function" && (d = I({
5995
5995
  state: d,
5996
5996
  options: U,
5997
- name: Y,
5997
+ name: z,
5998
5998
  instance: C
5999
5999
  }) || d);
6000
6000
  }
@@ -6104,11 +6104,11 @@ function un(t) {
6104
6104
  var I = Ka(a), Z = "clientHeight", U = "clientWidth";
6105
6105
  if (I === Me(a) && (I = ht(a), Je(I).position !== "static" && r === "absolute" && (Z = "scrollHeight", U = "scrollWidth")), I = I, s === Re || (s === xe || s === ft) && o === la) {
6106
6106
  T = qe;
6107
- var Y = c && I === V && V.visualViewport ? V.visualViewport.height : (
6107
+ var z = c && I === V && V.visualViewport ? V.visualViewport.height : (
6108
6108
  // $FlowFixMe[prop-missing]
6109
6109
  I[Z]
6110
6110
  );
6111
- _ -= Y - n.height, _ *= l ? 1 : -1;
6111
+ _ -= z - n.height, _ *= l ? 1 : -1;
6112
6112
  }
6113
6113
  if (s === xe || (s === Re || s === qe) && o === la) {
6114
6114
  w = ft;
@@ -6224,15 +6224,15 @@ function Z7(t) {
6224
6224
  rootBoundary: u,
6225
6225
  padding: c,
6226
6226
  altBoundary: d
6227
- }), h = lt(e.placement), M = Ft(e.placement), w = !M, T = xn(h), V = j7(T), I = e.modifiersData.popperOffsets, Z = e.rects.reference, U = e.rects.popper, Y = typeof _ == "function" ? _(Object.assign({}, e.rects, {
6227
+ }), h = lt(e.placement), M = Ft(e.placement), w = !M, T = xn(h), V = j7(T), I = e.modifiersData.popperOffsets, Z = e.rects.reference, U = e.rects.popper, z = typeof _ == "function" ? _(Object.assign({}, e.rects, {
6228
6228
  placement: e.placement
6229
- })) : _, S = typeof Y == "number" ? {
6230
- mainAxis: Y,
6231
- altAxis: Y
6229
+ })) : _, S = typeof z == "number" ? {
6230
+ mainAxis: z,
6231
+ altAxis: z
6232
6232
  } : Object.assign({
6233
6233
  mainAxis: 0,
6234
6234
  altAxis: 0
6235
- }, Y), W = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, H = {
6235
+ }, z), W = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, H = {
6236
6236
  x: 0,
6237
6237
  y: 0
6238
6238
  };
@@ -6315,7 +6315,7 @@ function x7(t) {
6315
6315
  flipVariations: $,
6316
6316
  allowedAutoPlacements: _
6317
6317
  }) : G);
6318
- }, []), V = e.rects.reference, I = e.rects.popper, Z = /* @__PURE__ */ new Map(), U = !0, Y = T[0], S = 0; S < T.length; S++) {
6318
+ }, []), V = e.rects.reference, I = e.rects.popper, Z = /* @__PURE__ */ new Map(), U = !0, z = T[0], S = 0; S < T.length; S++) {
6319
6319
  var W = T[S], H = lt(W), F = Ft(W) === Zt, E = [Re, qe].indexOf(H) >= 0, N = E ? "width" : "height", x = P1(e, {
6320
6320
  placement: W,
6321
6321
  boundary: d,
@@ -6328,7 +6328,7 @@ function x7(t) {
6328
6328
  if (o && B.push(x[H] <= 0), r && B.push(x[f] <= 0, x[O] <= 0), B.every(function(re) {
6329
6329
  return re;
6330
6330
  })) {
6331
- Y = W, U = !1;
6331
+ z = W, U = !1;
6332
6332
  break;
6333
6333
  }
6334
6334
  Z.set(W, B);
@@ -6343,13 +6343,13 @@ function x7(t) {
6343
6343
  });
6344
6344
  });
6345
6345
  if (D)
6346
- return Y = D, "break";
6346
+ return z = D, "break";
6347
6347
  }, ee = se; ee > 0; ee--) {
6348
6348
  var Ce = ae(ee);
6349
6349
  if (Ce === "break")
6350
6350
  break;
6351
6351
  }
6352
- e.placement !== Y && (e.modifiersData[n]._skip = !0, e.placement = Y, e.reset = !0);
6352
+ e.placement !== z && (e.modifiersData[n]._skip = !0, e.placement = z, e.reset = !0);
6353
6353
  }
6354
6354
  }
6355
6355
  var G7 = {
@@ -6487,14 +6487,14 @@ function Q7(t, e, a) {
6487
6487
  createTag: c,
6488
6488
  createOption: m,
6489
6489
  reverse: C
6490
- } = Ae(t), $ = Mt().proxy, _ = a.iv, y = a.update, h = a.deselect, M = a.search, w = a.setPointer, T = a.selectPointer, V = a.backwardPointer, I = a.forwardPointer, Z = a.multiselect, U = a.wrapper, Y = a.tags, S = a.isOpen, W = a.open, H = a.blur, F = a.fo, E = k(() => c.value || m.value || !1), N = k(() => s.value !== void 0 ? s.value : d.value !== void 0 ? d.value : ["enter"]), x = () => {
6490
+ } = Ae(t), $ = Mt().proxy, _ = a.iv, y = a.update, h = a.deselect, M = a.search, w = a.setPointer, T = a.selectPointer, V = a.backwardPointer, I = a.forwardPointer, Z = a.multiselect, U = a.wrapper, z = a.tags, S = a.isOpen, W = a.open, H = a.blur, F = a.fo, E = k(() => c.value || m.value || !1), N = k(() => s.value !== void 0 ? s.value : d.value !== void 0 ? d.value : ["enter"]), x = () => {
6491
6491
  n.value === "tags" && !r.value && E.value && i.value && !u.value && w(F.value[F.value.map((B) => B[l.value]).indexOf(M.value)]);
6492
6492
  };
6493
6493
  return {
6494
6494
  handleKeydown: (B) => {
6495
6495
  e.emit("keydown", B, $);
6496
6496
  let se, ae;
6497
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(B.key) !== -1 && n.value === "tags" && (se = [...Z.value.querySelectorAll("[data-tags] > *")].filter((ee) => ee !== Y.value), ae = se.findIndex((ee) => ee === document.activeElement)), B.key) {
6497
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(B.key) !== -1 && n.value === "tags" && (se = [...Z.value.querySelectorAll("[data-tags] > *")].filter((ee) => ee !== z.value), ae = se.findIndex((ee) => ee === document.activeElement)), B.key) {
6498
6498
  case "Backspace":
6499
6499
  if (n.value === "single" || i.value && [null, ""].indexOf(M.value) === -1 || _.value.length === 0)
6500
6500
  return;
@@ -6505,7 +6505,7 @@ function Q7(t, e, a) {
6505
6505
  if (B.preventDefault(), B.keyCode === 229)
6506
6506
  return;
6507
6507
  if (ae !== -1 && ae !== void 0) {
6508
- y([..._.value].filter((Ce, re) => re !== ae)), ae === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? Y.value.querySelector("input").focus() : U.value.focus());
6508
+ y([..._.value].filter((Ce, re) => re !== ae)), ae === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : U.value.focus());
6509
6509
  return;
6510
6510
  }
6511
6511
  if (N.value.indexOf("enter") === -1 && E.value)
@@ -6544,14 +6544,14 @@ function Q7(t, e, a) {
6544
6544
  S.value || W(), I();
6545
6545
  break;
6546
6546
  case "ArrowLeft":
6547
- if (i.value && Y.value && Y.value.querySelector("input").selectionStart || B.shiftKey || n.value !== "tags" || !_.value || !_.value.length)
6547
+ if (i.value && z.value && z.value.querySelector("input").selectionStart || B.shiftKey || n.value !== "tags" || !_.value || !_.value.length)
6548
6548
  return;
6549
6549
  B.preventDefault(), ae === -1 ? se[se.length - 1].focus() : ae > 0 && se[ae - 1].focus();
6550
6550
  break;
6551
6551
  case "ArrowRight":
6552
6552
  if (ae === -1 || B.shiftKey || n.value !== "tags" || !_.value || !_.value.length)
6553
6553
  return;
6554
- B.preventDefault(), se.length > ae + 1 ? se[ae + 1].focus() : i.value ? Y.value.querySelector("input").focus() : i.value || U.value.focus();
6554
+ B.preventDefault(), se.length > ae + 1 ? se[ae + 1].focus() : i.value ? z.value.querySelector("input").focus() : i.value || U.value.focus();
6555
6555
  break;
6556
6556
  }
6557
6557
  },
@@ -6731,7 +6731,7 @@ function t9(t, e, a) {
6731
6731
  }, U = (H) => {
6732
6732
  let F = [];
6733
6733
  return s && s.value && F.push(s.value), F.push("multiselect-group"), F.push(H.index), F.join("-");
6734
- }, Y = (H) => {
6734
+ }, z = (H) => {
6735
6735
  let F = [];
6736
6736
  return F.push(H), F.join(" ");
6737
6737
  }, S = (H) => {
@@ -6752,7 +6752,7 @@ function t9(t, e, a) {
6752
6752
  ariaMultiselectable: T,
6753
6753
  ariaActiveDescendant: M,
6754
6754
  ariaOptionId: Z,
6755
- ariaOptionLabel: Y,
6755
+ ariaOptionLabel: z,
6756
6756
  ariaGroupId: U,
6757
6757
  ariaGroupLabel: S,
6758
6758
  ariaTagLabel: W
@@ -7170,7 +7170,7 @@ const i9 = ["id", "dir"], o9 = ["tabindex", "aria-controls", "aria-placeholder",
7170
7170
  function A9(t, e, a, n, s, o) {
7171
7171
  return v(), g("div", {
7172
7172
  ref: "multiselect",
7173
- class: z(t.classList.container),
7173
+ class: Y(t.classList.container),
7174
7174
  id: a.searchable ? void 0 : a.id,
7175
7175
  dir: a.rtl ? "rtl" : void 0,
7176
7176
  onFocusin: e[10] || (e[10] = (...i) => t.handleFocusIn && t.handleFocusIn(...i)),
@@ -7218,7 +7218,7 @@ function A9(t, e, a, n, s, o) {
7218
7218
  "div",
7219
7219
  {
7220
7220
  key: 1,
7221
- class: z(t.classList.tags),
7221
+ class: Y(t.classList.tags),
7222
7222
  "data-tags": ""
7223
7223
  },
7224
7224
  [
@@ -7231,7 +7231,7 @@ function A9(t, e, a, n, s, o) {
7231
7231
  disabled: a.disabled
7232
7232
  }, () => [
7233
7233
  (v(), g("span", {
7234
- class: z([
7234
+ class: Y([
7235
7235
  t.classList.tag,
7236
7236
  i.disabled ? t.classList.tagDisabled : null
7237
7237
  ]),
@@ -7243,7 +7243,7 @@ function A9(t, e, a, n, s, o) {
7243
7243
  p(
7244
7244
  "span",
7245
7245
  {
7246
- class: z(t.classList.tagWrapper)
7246
+ class: Y(t.classList.tagWrapper)
7247
7247
  },
7248
7248
  X(t.localize(i[a.label])),
7249
7249
  3
@@ -7251,13 +7251,13 @@ function A9(t, e, a, n, s, o) {
7251
7251
  ),
7252
7252
  !a.disabled && !i.disabled ? (v(), g("span", {
7253
7253
  key: 0,
7254
- class: z(t.classList.tagRemove),
7254
+ class: Y(t.classList.tagRemove),
7255
7255
  onClick: me((u) => t.handleTagRemove(i, u), ["stop"])
7256
7256
  }, [
7257
7257
  p(
7258
7258
  "span",
7259
7259
  {
7260
- class: z(t.classList.tagRemoveIcon)
7260
+ class: Y(t.classList.tagRemoveIcon)
7261
7261
  },
7262
7262
  null,
7263
7263
  2
@@ -7272,7 +7272,7 @@ function A9(t, e, a, n, s, o) {
7272
7272
  p(
7273
7273
  "div",
7274
7274
  {
7275
- class: z(t.classList.tagsSearchWrapper),
7275
+ class: Y(t.classList.tagsSearchWrapper),
7276
7276
  ref: "tags"
7277
7277
  },
7278
7278
  [
@@ -7280,7 +7280,7 @@ function A9(t, e, a, n, s, o) {
7280
7280
  p(
7281
7281
  "span",
7282
7282
  {
7283
- class: z(t.classList.tagsSearchCopy)
7283
+ class: Y(t.classList.tagsSearchCopy)
7284
7284
  },
7285
7285
  X(t.search),
7286
7286
  3
@@ -7325,13 +7325,13 @@ function A9(t, e, a, n, s, o) {
7325
7325
  p(
7326
7326
  "div",
7327
7327
  {
7328
- class: z(t.classList.singleLabel)
7328
+ class: Y(t.classList.singleLabel)
7329
7329
  },
7330
7330
  [
7331
7331
  p(
7332
7332
  "span",
7333
7333
  {
7334
- class: z(t.classList.singleLabelText)
7334
+ class: Y(t.classList.singleLabelText)
7335
7335
  },
7336
7336
  X(t.localize(t.iv[a.label])),
7337
7337
  3
@@ -7348,7 +7348,7 @@ function A9(t, e, a, n, s, o) {
7348
7348
  values: t.iv
7349
7349
  }, () => [
7350
7350
  p("div", {
7351
- class: z(t.classList.multipleLabel),
7351
+ class: Y(t.classList.multipleLabel),
7352
7352
  innerHTML: t.multipleLabelText
7353
7353
  }, null, 10, c9)
7354
7354
  ]) : A("v-if", !0),
@@ -7357,7 +7357,7 @@ function A9(t, e, a, n, s, o) {
7357
7357
  p(
7358
7358
  "div",
7359
7359
  {
7360
- class: z(t.classList.placeholder),
7360
+ class: Y(t.classList.placeholder),
7361
7361
  "aria-hidden": "true"
7362
7362
  },
7363
7363
  X(a.placeholder),
@@ -7370,7 +7370,7 @@ function A9(t, e, a, n, s, o) {
7370
7370
  p(
7371
7371
  "span",
7372
7372
  {
7373
- class: z(t.classList.spinner),
7373
+ class: Y(t.classList.spinner),
7374
7374
  "aria-hidden": "true"
7375
7375
  },
7376
7376
  null,
@@ -7391,7 +7391,7 @@ function A9(t, e, a, n, s, o) {
7391
7391
  role: "button",
7392
7392
  "data-clear": "",
7393
7393
  "aria-roledescription": "❎",
7394
- class: z(t.classList.clear),
7394
+ class: Y(t.classList.clear),
7395
7395
  onClick: e[6] || (e[6] = (...i) => t.clear && t.clear(...i)),
7396
7396
  onKeyup: e[7] || (e[7] = ut((...i) => t.clear && t.clear(...i), ["enter"]))
7397
7397
  },
@@ -7399,7 +7399,7 @@ function A9(t, e, a, n, s, o) {
7399
7399
  p(
7400
7400
  "span",
7401
7401
  {
7402
- class: z(t.classList.clearIcon)
7402
+ class: Y(t.classList.clearIcon)
7403
7403
  },
7404
7404
  null,
7405
7405
  2
@@ -7419,7 +7419,7 @@ function A9(t, e, a, n, s, o) {
7419
7419
  p(
7420
7420
  "span",
7421
7421
  {
7422
- class: z(t.classList.caret),
7422
+ class: Y(t.classList.caret),
7423
7423
  onClick: e[8] || (e[8] = (...i) => t.handleCaretClick && t.handleCaretClick(...i)),
7424
7424
  "aria-hidden": "true"
7425
7425
  },
@@ -7436,13 +7436,13 @@ function A9(t, e, a, n, s, o) {
7436
7436
  }, [
7437
7437
  p("div", {
7438
7438
  id: `${a.id}-dropdown`,
7439
- class: z(t.classList.dropdown),
7439
+ class: Y(t.classList.dropdown),
7440
7440
  tabindex: "-1",
7441
7441
  ref: "dropdown"
7442
7442
  }, [
7443
7443
  te(t.$slots, "beforelist", { options: t.fo }),
7444
7444
  p("ul", {
7445
- class: z(t.classList.options),
7445
+ class: Y(t.classList.options),
7446
7446
  id: t.ariaControls,
7447
7447
  role: "listbox"
7448
7448
  }, [
@@ -7450,7 +7450,7 @@ function A9(t, e, a, n, s, o) {
7450
7450
  he,
7451
7451
  { key: 0 },
7452
7452
  ye(t.fg, (i, r, l) => (v(), g("li", {
7453
- class: z(t.classList.group),
7453
+ class: Y(t.classList.group),
7454
7454
  key: l,
7455
7455
  id: t.ariaGroupId(i),
7456
7456
  "aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
@@ -7459,7 +7459,7 @@ function A9(t, e, a, n, s, o) {
7459
7459
  }, [
7460
7460
  i.__CREATE__ ? A("v-if", !0) : (v(), g("div", {
7461
7461
  key: 0,
7462
- class: z(t.classList.groupLabel(i)),
7462
+ class: Y(t.classList.groupLabel(i)),
7463
7463
  "data-pointed": t.isPointed(i),
7464
7464
  onMouseenter: (u) => t.setPointer(i, r),
7465
7465
  onMousedown: me((u) => t.handleGroupClick(i), ["prevent"])
@@ -7475,7 +7475,7 @@ function A9(t, e, a, n, s, o) {
7475
7475
  ])
7476
7476
  ], 42, m9)),
7477
7477
  p("ul", {
7478
- class: z(t.classList.groupOptions),
7478
+ class: Y(t.classList.groupOptions),
7479
7479
  "aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
7480
7480
  role: "group"
7481
7481
  }, [
@@ -7483,7 +7483,7 @@ function A9(t, e, a, n, s, o) {
7483
7483
  he,
7484
7484
  null,
7485
7485
  ye(i.__VISIBLE__, (u, d, c) => (v(), g("li", {
7486
- class: z(t.classList.option(u, i)),
7486
+ class: Y(t.classList.option(u, i)),
7487
7487
  "data-pointed": t.isPointed(u),
7488
7488
  "data-selected": t.isSelected(u) || void 0,
7489
7489
  key: c,
@@ -7520,7 +7520,7 @@ function A9(t, e, a, n, s, o) {
7520
7520
  he,
7521
7521
  { key: 1 },
7522
7522
  ye(t.fo, (i, r, l) => (v(), g("li", {
7523
- class: z(t.classList.option(i)),
7523
+ class: Y(t.classList.option(i)),
7524
7524
  "data-pointed": t.isPointed(i),
7525
7525
  "data-selected": t.isSelected(i) || void 0,
7526
7526
  key: l,
@@ -7552,13 +7552,13 @@ function A9(t, e, a, n, s, o) {
7552
7552
  ], 10, v9),
7553
7553
  t.noOptions ? te(t.$slots, "nooptions", { key: 0 }, () => [
7554
7554
  p("div", {
7555
- class: z(t.classList.noOptions),
7555
+ class: Y(t.classList.noOptions),
7556
7556
  innerHTML: t.localize(a.noOptionsText)
7557
7557
  }, null, 10, y9)
7558
7558
  ]) : A("v-if", !0),
7559
7559
  t.noResults ? te(t.$slots, "noresults", { key: 1 }, () => [
7560
7560
  p("div", {
7561
- class: z(t.classList.noResults),
7561
+ class: Y(t.classList.noResults),
7562
7562
  innerHTML: t.localize(a.noResultsText)
7563
7563
  }, null, 10, b9)
7564
7564
  ]) : A("v-if", !0),
@@ -7566,7 +7566,7 @@ function A9(t, e, a, n, s, o) {
7566
7566
  "div",
7567
7567
  {
7568
7568
  key: 2,
7569
- class: z(t.classList.inifinite),
7569
+ class: Y(t.classList.inifinite),
7570
7570
  ref: "infiniteLoader"
7571
7571
  },
7572
7572
  [
@@ -7574,7 +7574,7 @@ function A9(t, e, a, n, s, o) {
7574
7574
  p(
7575
7575
  "span",
7576
7576
  {
7577
- class: z(t.classList.inifiniteSpinner)
7577
+ class: Y(t.classList.inifiniteSpinner)
7578
7578
  },
7579
7579
  null,
7580
7580
  2
@@ -7591,7 +7591,7 @@ function A9(t, e, a, n, s, o) {
7591
7591
  A(" Hacky input element to show HTML5 required warning "),
7592
7592
  a.required ? (v(), g("input", {
7593
7593
  key: 0,
7594
- class: z(t.classList.fakeInput),
7594
+ class: Y(t.classList.fakeInput),
7595
7595
  tabindex: "-1",
7596
7596
  value: t.textValue,
7597
7597
  required: ""
@@ -7625,7 +7625,7 @@ function A9(t, e, a, n, s, o) {
7625
7625
  A(" Screen reader assistive text "),
7626
7626
  a.searchable && t.hasSelected ? (v(), g("div", {
7627
7627
  key: 2,
7628
- class: z(t.classList.assist),
7628
+ class: Y(t.classList.assist),
7629
7629
  id: t.ariaAssist,
7630
7630
  "aria-hidden": "true"
7631
7631
  }, X(t.ariaLabel), 11, M9)) : A("v-if", !0),
@@ -7633,7 +7633,7 @@ function A9(t, e, a, n, s, o) {
7633
7633
  p(
7634
7634
  "div",
7635
7635
  {
7636
- class: z(t.classList.spacer)
7636
+ class: Y(t.classList.spacer)
7637
7637
  },
7638
7638
  null,
7639
7639
  2
@@ -7793,7 +7793,7 @@ const S9 = { class: "ao-tasks" }, E9 = { class: "ao-tasks__list" }, O9 = ["id",
7793
7793
  id: C.id,
7794
7794
  value: C.name,
7795
7795
  readonly: !c.isEditable,
7796
- class: z(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": C.isDone }]),
7796
+ class: Y(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": C.isDone }]),
7797
7797
  type: "text",
7798
7798
  onChange: (y) => i(y, C.id),
7799
7799
  onKeyup: ut(d, ["enter"])
@@ -7894,7 +7894,7 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
7894
7894
  d.dataTransfer && e("add", c);
7895
7895
  }
7896
7896
  return (d, c) => (v(), g("div", {
7897
- class: z([
7897
+ class: Y([
7898
7898
  "ao-files__wrapper",
7899
7899
  {
7900
7900
  "ao-files__wrapper--drop-active": i.value
@@ -8362,7 +8362,7 @@ const h1 = /* @__PURE__ */ J({
8362
8362
  value: ae.id,
8363
8363
  label: ae.name
8364
8364
  }));
8365
- }), Y = (f) => {
8365
+ }), z = (f) => {
8366
8366
  a.activity && e("update:activity", {
8367
8367
  id: a.activity.id,
8368
8368
  projectId: f
@@ -8421,7 +8421,7 @@ const h1 = /* @__PURE__ */ J({
8421
8421
  searchable: !0,
8422
8422
  disabled: !f.isEditable,
8423
8423
  caret: f.isEditable,
8424
- onChange: Y
8424
+ onChange: z
8425
8425
  }, null, 8, ["options", "value", "disabled", "caret"])
8426
8426
  ])) : A("", !0),
8427
8427
  U.value ? (v(), g("label", d4, [
@@ -9090,7 +9090,7 @@ const rf = {
9090
9090
  });
9091
9091
  }, Z = ne(!1), U = () => {
9092
9092
  Z.value = !Z.value;
9093
- }, Y = () => {
9093
+ }, z = () => {
9094
9094
  e("addRule", { templateId: a.templateId });
9095
9095
  }, S = (f) => {
9096
9096
  e("removeRule", { id: f, templateId: a.templateId });
@@ -9268,7 +9268,7 @@ const rf = {
9268
9268
  "template-milestones": l.value,
9269
9269
  "template-activities": u.value,
9270
9270
  onClose: U,
9271
- onAddRule: Y,
9271
+ onAddRule: z,
9272
9272
  onRemoveRule: S
9273
9273
  }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : A("", !0)
9274
9274
  ]))
@@ -9291,7 +9291,7 @@ const mf = {
9291
9291
  },
9292
9292
  setup(t) {
9293
9293
  return (e, a) => (v(), R(vt(e.tagName), {
9294
- class: z([
9294
+ class: Y([
9295
9295
  "ao-card",
9296
9296
  {
9297
9297
  "ao-card--clickable": e.isClickable,
@@ -9323,12 +9323,12 @@ const R1 = /* @__PURE__ */ J({
9323
9323
  setup(t) {
9324
9324
  const e = t, a = k(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
9325
9325
  return (n, s) => (v(), g("div", {
9326
- class: z(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
9326
+ class: Y(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
9327
9327
  role: "meter"
9328
9328
  }, [
9329
9329
  (v(!0), g(he, null, ye(a.value, (o) => (v(), g("div", {
9330
9330
  key: o,
9331
- class: z(["ao-progress__progress"]),
9331
+ class: Y(["ao-progress__progress"]),
9332
9332
  style: vn({ width: `${o * 100}%` })
9333
9333
  }, null, 4))), 128))
9334
9334
  ], 2));
@@ -9397,7 +9397,7 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
9397
9397
  ])) : A("", !0)
9398
9398
  ])) : A("", !0),
9399
9399
  p("div", {
9400
- class: z(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
9400
+ class: Y(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
9401
9401
  }, [
9402
9402
  l.isEditable ? rt((v(), g("input", {
9403
9403
  key: 0,
@@ -9480,7 +9480,7 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9480
9480
  e("updateMilestone", { id: a.id, name: r });
9481
9481
  };
9482
9482
  return (r, l) => (v(), R(B1, {
9483
- class: z([
9483
+ class: Y([
9484
9484
  "ao-card-project-milestone",
9485
9485
  { "ao-card-project-milestone--selected": r.isSelected }
9486
9486
  ]),
@@ -9537,7 +9537,7 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9537
9537
  r.important ? (v(), R(ce, {
9538
9538
  key: 0,
9539
9539
  name: "FlagRounded",
9540
- class: z(
9540
+ class: Y(
9541
9541
  r.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
9542
9542
  ),
9543
9543
  size: "sm"
@@ -9614,7 +9614,7 @@ const Rf = {
9614
9614
  return (m, C) => {
9615
9615
  var $;
9616
9616
  return v(), g("li", {
9617
- class: z([
9617
+ class: Y([
9618
9618
  "ao-project-phase",
9619
9619
  { "ao-project-phase--selected": m.phase.id === (($ = m.$route.params) == null ? void 0 : $.phaseId) }
9620
9620
  ])
@@ -9661,7 +9661,7 @@ const Rf = {
9661
9661
  assignee: _.assignee,
9662
9662
  important: _.important,
9663
9663
  readonly: m.readonly,
9664
- class: z(["ao-project-phase__milestone"]),
9664
+ class: Y(["ao-project-phase__milestone"]),
9665
9665
  onClick: (h) => !m.readonly && m.$router.push({
9666
9666
  name: Q(Ue).milestone,
9667
9667
  params: { phaseId: m.phase.id, milestoneId: _.id }
@@ -9852,7 +9852,7 @@ const a8 = { class: "toggle-wrapper" };
9852
9852
  function n8(t, e, a, n, s, o) {
9853
9853
  return v(), g("div", a8, [
9854
9854
  p("button", {
9855
- class: z({
9855
+ class: Y({
9856
9856
  button: !0,
9857
9857
  "button--left": !0,
9858
9858
  "button--inactive": !t.isLeft
@@ -9861,7 +9861,7 @@ function n8(t, e, a, n, s, o) {
9861
9861
  onClick: e[0] || (e[0] = (...i) => t.selectLeft && t.selectLeft(...i))
9862
9862
  }, X(t.leftLabel), 3),
9863
9863
  p("button", {
9864
- class: z({
9864
+ class: Y({
9865
9865
  button: !0,
9866
9866
  "button--right": !0,
9867
9867
  "button--inactive": t.isLeft
@@ -9930,7 +9930,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9930
9930
  e("updateComment", S);
9931
9931
  }, Z = (S) => {
9932
9932
  e("removeComment", S);
9933
- }, U = ne(!1), Y = (S, W) => {
9933
+ }, U = ne(!1), z = (S, W) => {
9934
9934
  e("applyTemplate", { templateId: S, projectId: W }), U.value = !1;
9935
9935
  };
9936
9936
  return (S, W) => {
@@ -10043,7 +10043,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
10043
10043
  "project-id": S.project.id,
10044
10044
  templates: S.templates,
10045
10045
  onClose: W[4] || (W[4] = (F) => U.value = !1),
10046
- onApply: Y
10046
+ onApply: z
10047
10047
  }, null, 8, ["project-id", "templates"])) : A("", !0)
10048
10048
  ]))
10049
10049
  ], 64);
@@ -10060,7 +10060,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10060
10060
  key: 0,
10061
10061
  class: "ao-card-feed__breadcrumbs"
10062
10062
  }, f8 = {
10063
- class: /* @__PURE__ */ z(["ao-card-feed__title-group"])
10063
+ class: /* @__PURE__ */ Y(["ao-card-feed__title-group"])
10064
10064
  }, v8 = {
10065
10065
  key: 1,
10066
10066
  class: "ao-card-feed__deadline"
@@ -10115,7 +10115,7 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10115
10115
  return (c = a.tasks) == null ? void 0 : c.filter((m) => m.isDone).length;
10116
10116
  }), d = k(() => (u.value || 0) / (l.value || 1));
10117
10117
  return (c, m) => (v(), R(B1, {
10118
- class: z(["ao-card-feed", { "ao-card-feed--closed": c.isClosed }]),
10118
+ class: Y(["ao-card-feed", { "ao-card-feed--closed": c.isClosed }]),
10119
10119
  "is-clickable": !0
10120
10120
  }, {
10121
10121
  header: q(() => [
@@ -10427,7 +10427,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10427
10427
  "is-editable": h.isEditable,
10428
10428
  "is-private": T.private,
10429
10429
  "is-closed": C(T),
10430
- onClick: (Y) => h.$router.push({
10430
+ onClick: (z) => h.$router.push({
10431
10431
  name: Q(Ue).activity,
10432
10432
  params: { milestoneId: h.milestoneId, activityId: T.id }
10433
10433
  }),
@@ -10694,7 +10694,7 @@ function X8(t, e, a = {}) {
10694
10694
  };
10695
10695
  }
10696
10696
  const Q8 = {
10697
- class: /* @__PURE__ */ z(["ao-list-kanban"])
10697
+ class: /* @__PURE__ */ Y(["ao-list-kanban"])
10698
10698
  }, J8 = { class: "ao-list-kanban__header" }, ev = {
10699
10699
  key: 0,
10700
10700
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
@@ -10770,7 +10770,6 @@ const Q8 = {
10770
10770
  "ghost-class": "ao-list-kanban__ghost",
10771
10771
  animation: "200"
10772
10772
  }, u.$attrs, {
10773
- draggable: ".item",
10774
10773
  disabled: !u.isEditable,
10775
10774
  onChange: r,
10776
10775
  onStart: d[2] || (d[2] = (c) => l.value = !0),
@@ -10784,17 +10783,17 @@ const Q8 = {
10784
10783
  var m, C, $, _, y, h, M, w, T;
10785
10784
  return [
10786
10785
  L(Qn, {
10787
- class: z((m = c.name) != null && m.startsWith("yo") ? "item" : "pouet"),
10788
10786
  id: c.id,
10789
10787
  name: c.name,
10790
- "project-name": (C = c.project) == null ? void 0 : C.name,
10791
- "project-color": ($ = c.project) == null ? void 0 : $.color,
10792
- "phase-name": (y = (_ = c.milestone) == null ? void 0 : _.phase) == null ? void 0 : y.name,
10793
- "milestone-name": (h = c.milestone) == null ? void 0 : h.name,
10788
+ "project-name": (m = c.project) == null ? void 0 : m.name,
10789
+ "project-color": (C = c.project) == null ? void 0 : C.color,
10790
+ "phase-name": (_ = ($ = c.milestone) == null ? void 0 : $.phase) == null ? void 0 : _.name,
10791
+ "milestone-name": (y = c.milestone) == null ? void 0 : y.name,
10794
10792
  deadline: c.deadline,
10795
- rules: ((M = c.rules) == null ? void 0 : M.length) || 0,
10793
+ rules: ((h = c.rules) == null ? void 0 : h.length) || 0,
10796
10794
  tasks: c.tasks,
10797
10795
  description: c.description,
10796
+ draggable: (M = c.name) != null && M.startsWith("yo") ? "item" : "pouet",
10798
10797
  important: c.important,
10799
10798
  type: c.type,
10800
10799
  comments: (w = c.comments) == null ? void 0 : w.length,
@@ -10835,7 +10834,7 @@ const Q8 = {
10835
10834
  }, null, 8, ["label", "onClick"])) : A("", !0)
10836
10835
  ]),
10837
10836
  _: 2
10838
- }, 1032, ["class", "id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "onClick", "onRemoveAssignee"])
10837
+ }, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "draggable", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "onClick", "onRemoveAssignee"])
10839
10838
  ];
10840
10839
  }),
10841
10840
  footer: q(() => [
@@ -10892,14 +10891,14 @@ const ov = { class: "ao-field ao-search-field" }, rv = ["value", "placeholder",
10892
10891
  }, null, 40, rv),
10893
10892
  L(ce, {
10894
10893
  name: "SearchRounded",
10895
- class: z(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
10894
+ class: Y(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
10896
10895
  }, null, 8, ["class"]),
10897
10896
  L(ue, {
10898
10897
  "icon-name": "CloseRounded",
10899
10898
  size: "sm",
10900
10899
  color: "primary",
10901
10900
  corners: "round",
10902
- class: z(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
10901
+ class: Y(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
10903
10902
  onClick: o
10904
10903
  }, null, 8, ["class"])
10905
10904
  ]));
@@ -10992,7 +10991,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
10992
10991
  a.selectedActivity && e("updateSubtask", E);
10993
10992
  }, U = (E) => {
10994
10993
  a.selectedActivity && e("deleteSubtask", E);
10995
- }, Y = (E) => {
10994
+ }, z = (E) => {
10996
10995
  e("addFiles", E);
10997
10996
  }, S = (E) => {
10998
10997
  e("removeFile", E);
@@ -11140,7 +11139,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11140
11139
  onAddSubtask: I,
11141
11140
  onUpdateSubtask: Z,
11142
11141
  onDeleteSubtask: U,
11143
- onAddFiles: Y,
11142
+ onAddFiles: z,
11144
11143
  onRemoveFile: S,
11145
11144
  onAddComment: W,
11146
11145
  onUpdateComment: H,
@@ -11314,7 +11313,7 @@ const mv = { class: "ao-field__label" }, hv = /* @__PURE__ */ J({
11314
11313
  },
11315
11314
  setup(t) {
11316
11315
  return (e, a) => (v(), g("label", {
11317
- class: z(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
11316
+ class: Y(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
11318
11317
  }, [
11319
11318
  p("span", mv, X(e.label), 1),
11320
11319
  te(e.$slots, "default")