@26lights/orcha 0.41.77 → 0.41.79

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 q, openBlock as p, createBlock as D, unref as Q, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as A, resolveDynamicComponent as mt, normalizeClass as X, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as M, normalizeStyle as pt, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
1
+ import { defineComponent as q, openBlock as p, createBlock as D, unref as X, mergeProps as Ae, createElementBlock as C, createElementVNode as f, pushScopeId as Vi, popScopeId as Di, createStaticVNode as Bi, computed as A, resolveDynamicComponent as mt, normalizeClass as J, renderSlot as te, toDisplayString as W, createCommentVNode as O, ref as x, watch as ce, nextTick as Me, withKeys as dt, toHandlers as ji, withCtx as N, createTextVNode as qa, createVNode as M, normalizeStyle as pt, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as _e, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as Rt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as Ri, onUpdated as Ni, vModelText as Ze, resolveComponent as rt, vModelCheckbox as Ui, getCurrentScope as Fi, onScopeDispose as Zi, toHandlerKey as Wi } from "vue";
2
2
  import { RouterView as zi, useRoute as qi, useRouter as Es } from "vue-router";
3
3
  import gt from "vuedraggable";
4
4
  const t8 = /* @__PURE__ */ q({
@@ -7,7 +7,7 @@ const t8 = /* @__PURE__ */ q({
7
7
  templates: {}
8
8
  },
9
9
  setup(t) {
10
- return (e, a) => (p(), D(Q(zi), Ae({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, a) => (p(), D(X(zi), Ae({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), U = (t, e) => {
13
13
  const a = t.__vccOpts || t;
@@ -1169,7 +1169,7 @@ const Ln = {
1169
1169
  setup(t) {
1170
1170
  const e = t, a = A(() => L2[e.name]);
1171
1171
  return (s, n) => (p(), D(mt(a.value), {
1172
- class: X(["ao-icon", `ao-icon--${s.size}`])
1172
+ class: J(["ao-icon", `ao-icon--${s.size}`])
1173
1173
  }, null, 8, ["class"]));
1174
1174
  }
1175
1175
  });
@@ -1194,7 +1194,7 @@ const D2 = ["type"], B2 = {
1194
1194
  const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
1195
1195
  return (n, o) => (p(), C("button", {
1196
1196
  type: n.type,
1197
- class: X([
1197
+ class: J([
1198
1198
  "ao-button",
1199
1199
  `ao-button--${n.variant}`,
1200
1200
  n.color ? `ao-button--${n.color}` : "",
@@ -1290,16 +1290,16 @@ const be = /* @__PURE__ */ q({
1290
1290
  {
1291
1291
  [`ao-title--${b.color}`]: !!b.color,
1292
1292
  "ao-title--editable": b.isEditable,
1293
- "ao-field__input ao-title--editing": Q(n),
1294
- "ao-title--readonly": !Q(n)
1293
+ "ao-field__input ao-title--editing": X(n),
1294
+ "ao-title--readonly": !X(n)
1295
1295
  }
1296
1296
  ],
1297
- type: Q(n) ? "text" : null,
1298
- value: Q(n) ? b.title : null,
1297
+ type: X(n) ? "text" : null,
1298
+ value: X(n) ? b.title : null,
1299
1299
  tabindex: "0",
1300
1300
  onKeyup: dt(m, ["enter"])
1301
1301
  }, ji(c.value), {
1302
- onKeydown: dt(Q(d), ["esc"])
1302
+ onKeydown: dt(X(d), ["esc"])
1303
1303
  }), {
1304
1304
  default: N(() => [
1305
1305
  qa(W(b.title), 1)
@@ -1347,7 +1347,7 @@ const j2 = {
1347
1347
  e("update:title", s);
1348
1348
  };
1349
1349
  return (s, n) => (p(), D(mt(s.tagName), {
1350
- class: X(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1350
+ class: J(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1351
1351
  }, {
1352
1352
  default: N(() => [
1353
1353
  s.isDraggable ? (p(), C("div", j2, [
@@ -1412,7 +1412,7 @@ const ra = /* @__PURE__ */ q({
1412
1412
  () => a.value === "button" ? { type: "button" } : {}
1413
1413
  );
1414
1414
  return (n, o) => (p(), C("div", {
1415
- class: X([
1415
+ class: J([
1416
1416
  "ao-tag",
1417
1417
  n.color ? `ao-tag--${n.color}` : "",
1418
1418
  n.clickable ? "ao-tag--clickable" : "",
@@ -1426,7 +1426,7 @@ const ra = /* @__PURE__ */ q({
1426
1426
  }), {
1427
1427
  default: N(() => [
1428
1428
  qa(W(n.label) + " ", 1),
1429
- n.variant === Q(V2).SOLID_ICON && n.iconName ? (p(), D(pe, {
1429
+ n.variant === X(V2).SOLID_ICON && n.iconName ? (p(), D(pe, {
1430
1430
  key: 0,
1431
1431
  name: n.iconName,
1432
1432
  class: "ao-tag__icon",
@@ -2746,14 +2746,14 @@ function Fn(t, e, a) {
2746
2746
  throw new RangeError("locale must contain localize property");
2747
2747
  if (!F.formatLong)
2748
2748
  throw new RangeError("locale must contain formatLong property");
2749
- var J = $e(t);
2750
- if (!Bn(J))
2749
+ var Q = $e(t);
2750
+ if (!Bn(Q))
2751
2751
  throw new RangeError("Invalid time value");
2752
- var ae = ua(J), j = ws(J, ae), G = {
2752
+ var ae = ua(Q), j = ws(Q, ae), G = {
2753
2753
  firstWeekContainsDate: z,
2754
2754
  weekStartsOn: K,
2755
2755
  locale: F,
2756
- _originalDate: J
2756
+ _originalDate: Q
2757
2757
  }, le = I.match(o3).map(function(se) {
2758
2758
  var ee = se[0];
2759
2759
  if (ee === "p" || ee === "P") {
@@ -3744,10 +3744,10 @@ const U3 = ["title"], F3 = {
3744
3744
  };
3745
3745
  return (i, l) => (p(), C("div", {
3746
3746
  role: "img",
3747
- class: X(s.value),
3747
+ class: J(s.value),
3748
3748
  title: i.userName
3749
3749
  }, [
3750
- i.avatarUrl ? O("", !0) : (p(), C("span", F3, W(Q(n)), 1)),
3750
+ i.avatarUrl ? O("", !0) : (p(), C("span", F3, W(X(n)), 1)),
3751
3751
  i.avatarUrl ? (p(), C("img", {
3752
3752
  key: 1,
3753
3753
  className: "ao-avatar__image",
@@ -3930,7 +3930,7 @@ const f5 = ["type"], h5 = {
3930
3930
  const e = t, a = A(() => e.size), s = A(() => e.isLoading ? "Loading" : e.iconName);
3931
3931
  return (n, o) => (p(), C("button", {
3932
3932
  type: n.type,
3933
- class: X([
3933
+ class: J([
3934
3934
  "ao-button-card",
3935
3935
  `ao-button-card--${n.color}`,
3936
3936
  `ao-button-card--${n.corners}`,
@@ -4066,7 +4066,7 @@ const y5 = /* @__PURE__ */ q({
4066
4066
  });
4067
4067
  }
4068
4068
  };
4069
- return (l, r) => l.phase ? (p(), D(Q(gt), {
4069
+ return (l, r) => l.phase ? (p(), D(X(gt), {
4070
4070
  key: 0,
4071
4071
  "model-value": l.phase.milestones,
4072
4072
  class: "ao-templates__list",
@@ -4156,7 +4156,7 @@ const y5 = /* @__PURE__ */ q({
4156
4156
  });
4157
4157
  }
4158
4158
  };
4159
- return (l, r) => l.milestone ? (p(), D(Q(gt), {
4159
+ return (l, r) => l.milestone ? (p(), D(X(gt), {
4160
4160
  key: 0,
4161
4161
  "model-value": l.milestone.activities,
4162
4162
  title: l.$t("template.activities.title"),
@@ -4211,7 +4211,7 @@ const y5 = /* @__PURE__ */ q({
4211
4211
  emits: ["close"],
4212
4212
  setup(t) {
4213
4213
  return (e, a) => (p(), C("div", {
4214
- class: X(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4214
+ class: J(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4215
4215
  }, [
4216
4216
  f("div", {
4217
4217
  class: "ao-modal__backdrop",
@@ -4525,7 +4525,7 @@ const Z5 = function(t) {
4525
4525
  placement: n,
4526
4526
  overflows: F
4527
4527
  }], !F.every((j) => j <= 0)) {
4528
- var K, J;
4528
+ var K, Q;
4529
4529
  const j = (((K = o.flip) == null ? void 0 : K.index) || 0) + 1, G = I[j];
4530
4530
  if (G)
4531
4531
  return {
@@ -4537,7 +4537,7 @@ const Z5 = function(t) {
4537
4537
  placement: G
4538
4538
  }
4539
4539
  };
4540
- let le = (J = z.filter((se) => se.overflows[0] <= 0).sort((se, ee) => se.overflows[1] - ee.overflows[1])[0]) == null ? void 0 : J.placement;
4540
+ let le = (Q = z.filter((se) => se.overflows[0] <= 0).sort((se, ee) => se.overflows[1] - ee.overflows[1])[0]) == null ? void 0 : Q.placement;
4541
4541
  if (!le)
4542
4542
  switch (m) {
4543
4543
  case "bestFit": {
@@ -5035,7 +5035,7 @@ const u7 = (t, e, a) => {
5035
5035
  }, c7 = (t) => {
5036
5036
  const e = x(!1), a = x(), s = x(), n = x(0);
5037
5037
  function o() {
5038
- const d = Q(t.appendTo);
5038
+ const d = X(t.appendTo);
5039
5039
  return d ? typeof d == "string" ? document.getElementById(d) ?? document.body : d : document.getElementById("floatingElements") ?? document.body;
5040
5040
  }
5041
5041
  const i = o(), l = x(() => {
@@ -5199,7 +5199,7 @@ function g7(t, e, a) {
5199
5199
  allowAbsent: F,
5200
5200
  groupLabel: z,
5201
5201
  canDeselect: K,
5202
- max: J,
5202
+ max: Q,
5203
5203
  strict: ae,
5204
5204
  closeOnSelect: j,
5205
5205
  closeOnDeselect: G,
@@ -5328,7 +5328,7 @@ function g7(t, e, a) {
5328
5328
  case "multiple":
5329
5329
  return !Fe(Z.value) && Z.value.map((B) => B[L.value]).indexOf(S[L.value]) !== -1;
5330
5330
  }
5331
- }, ds = (S) => S[y.value] === !0, ps = () => J === void 0 || J.value === -1 || !cs.value && J.value > 0 ? !1 : Z.value.length >= J.value, ki = (S) => {
5331
+ }, ds = (S) => S[y.value] === !0, ps = () => Q === void 0 || Q.value === -1 || !cs.value && Q.value > 0 ? !1 : Z.value.length >= Q.value, ki = (S) => {
5332
5332
  if (!ds(S)) {
5333
5333
  if (R && R.value && !xe(S) && S.__CREATE__ && (S = { ...S }, delete S.__CREATE__, S = R.value(S, ne), S instanceof Promise)) {
5334
5334
  Ie.value = !0, S.then((B) => {
@@ -5377,7 +5377,7 @@ function g7(t, e, a) {
5377
5377
  case "multiple":
5378
5378
  case "tags":
5379
5379
  Mi(S[E.value]) ? Vt(S[E.value]) : Ht(
5380
- S[E.value].filter((B) => Z.value.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[y.value]).filter((B, ue) => Z.value.length + 1 + ue <= J.value || J.value === -1)
5380
+ S[E.value].filter((B) => Z.value.map((ue) => ue[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[y.value]).filter((B, ue) => Z.value.length + 1 + ue <= Q.value || Q.value === -1)
5381
5381
  ), l.value && Gt.value && Xt(us.value.filter((B) => !B[y.value])[Gt.value.index]);
5382
5382
  break;
5383
5383
  }
@@ -5524,7 +5524,7 @@ function C7(t, e, a) {
5524
5524
  groupSelect: c,
5525
5525
  disabledProp: u,
5526
5526
  groupOptions: d
5527
- } = Ee(t), v = a.fo, m = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, g = a.search, $ = a.pointer, h = a.setPointer, _ = a.clearPointer, P = a.multiselect, I = a.isOpen, L = A(() => v.value.filter((H) => !H[u.value])), F = A(() => m.value.filter((H) => !H[u.value])), z = A(() => r.value !== "single" && c.value), K = A(() => $.value && $.value.group), J = A(() => ne($.value)), ae = A(() => {
5527
+ } = Ee(t), v = a.fo, m = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, g = a.search, $ = a.pointer, h = a.setPointer, _ = a.clearPointer, P = a.multiselect, I = a.isOpen, L = A(() => v.value.filter((H) => !H[u.value])), F = A(() => m.value.filter((H) => !H[u.value])), z = A(() => r.value !== "single" && c.value), K = A(() => $.value && $.value.group), Q = A(() => ne($.value)), ae = A(() => {
5528
5528
  const H = K.value ? $.value : (
5529
5529
  /* istanbul ignore next */
5530
5530
  ne($.value)
@@ -5535,7 +5535,7 @@ function C7(t, e, a) {
5535
5535
  let H = F.value.map((Y) => Y.label).indexOf(K.value ? $.value[i.value] : ne($.value)[i.value]) + 1;
5536
5536
  return F.value.length <= H && (H = 0), F.value[H];
5537
5537
  }), G = A(() => [...F.value].slice(-1)[0]), le = A(() => $.value.__VISIBLE__.filter((H) => !H[u.value])[0]), se = A(() => {
5538
- const H = J.value.__VISIBLE__.filter((Y) => !Y[u.value]);
5538
+ const H = Q.value.__VISIBLE__.filter((Y) => !Y[u.value]);
5539
5539
  return H[H.map((Y) => Y[s.value]).indexOf($.value[s.value]) - 1];
5540
5540
  }), ee = A(() => {
5541
5541
  const H = ne($.value).__VISIBLE__.filter((Y) => !Y[u.value]);
@@ -5564,7 +5564,7 @@ function C7(t, e, a) {
5564
5564
  l.value && z.value && (H = T.value, H === void 0 && (H = G.value)), h(H || null);
5565
5565
  } else if (l.value && z.value) {
5566
5566
  let H = K.value ? E.value : se.value;
5567
- H === void 0 && (H = K.value ? ae.value : J.value, H.__CREATE__ && (H = E.value, H === void 0 && (H = ae.value))), h(H || /* istanbul ignore next */
5567
+ H === void 0 && (H = K.value ? ae.value : Q.value, H.__CREATE__ && (H = E.value, H === void 0 && (H = ae.value))), h(H || /* istanbul ignore next */
5568
5568
  null);
5569
5569
  } else {
5570
5570
  let H = L.value.map((Y) => Y[s.value]).indexOf($.value[s.value]) - 1;
@@ -5966,7 +5966,7 @@ function qs(t, e) {
5966
5966
  element: _,
5967
5967
  strategy: "absolute",
5968
5968
  placement: n
5969
- }), z = Ss(Object.assign({}, _, F)), K = v === ia ? z : L, J = {
5969
+ }), z = Ss(Object.assign({}, _, F)), K = v === ia ? z : L, Q = {
5970
5970
  top: I.top - K.top + $.top,
5971
5971
  bottom: K.bottom - I.bottom + $.bottom,
5972
5972
  left: I.left - K.left + $.left,
@@ -5974,12 +5974,12 @@ function qs(t, e) {
5974
5974
  }, ae = t.modifiersData.offset;
5975
5975
  if (v === ia && ae) {
5976
5976
  var j = ae[n];
5977
- Object.keys(J).forEach(function(G) {
5977
+ Object.keys(Q).forEach(function(G) {
5978
5978
  var le = [ht, qe].indexOf(G) >= 0 ? 1 : -1, se = [Ne, qe].indexOf(G) >= 0 ? "y" : "x";
5979
- J[G] += j[se] * le;
5979
+ Q[G] += j[se] * le;
5980
5980
  });
5981
5981
  }
5982
- return J;
5982
+ return Q;
5983
5983
  }
5984
5984
  var Sn = {
5985
5985
  placement: "bottom",
@@ -6034,8 +6034,8 @@ function G7(t) {
6034
6034
  u.rects = {
6035
6035
  reference: w7(h, ns(_), u.options.strategy === "fixed"),
6036
6036
  popper: li(_)
6037
- }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(J) {
6038
- return u.modifiersData[J.name] = Object.assign({}, J.data);
6037
+ }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(Q) {
6038
+ return u.modifiersData[Q.name] = Object.assign({}, Q.data);
6039
6039
  });
6040
6040
  for (var P = 0; P < u.orderedModifiers.length; P++) {
6041
6041
  if (u.reset === !0) {
@@ -6164,11 +6164,11 @@ function Mn(t) {
6164
6164
  }
6165
6165
  if (n === Ge || (n === Ne || n === qe) && o === va) {
6166
6166
  _ = ht;
6167
- var J = d && L === I && I.visualViewport ? I.visualViewport.width : (
6167
+ var Q = d && L === I && I.visualViewport ? I.visualViewport.width : (
6168
6168
  // $FlowFixMe[prop-missing]
6169
6169
  L[z]
6170
6170
  );
6171
- m -= J - s.width, m *= r ? 1 : -1;
6171
+ m -= Q - s.width, m *= r ? 1 : -1;
6172
6172
  }
6173
6173
  }
6174
6174
  var ae = Object.assign({
@@ -6278,7 +6278,7 @@ function pp(t) {
6278
6278
  altBoundary: u
6279
6279
  }), $ = ct(e.placement), h = xt(e.placement), _ = !h, P = ci($), I = cp(P), L = e.modifiersData.popperOffsets, F = e.rects.reference, z = e.rects.popper, K = typeof b == "function" ? b(Object.assign({}, e.rects, {
6280
6280
  placement: e.placement
6281
- })) : b, J = typeof K == "number" ? {
6281
+ })) : b, Q = typeof K == "number" ? {
6282
6282
  mainAxis: K,
6283
6283
  altAxis: K
6284
6284
  } : Object.assign({
@@ -6293,11 +6293,11 @@ function pp(t) {
6293
6293
  var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ht, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = m ? -z[ee] / 2 : 0, y = h === Yt ? F[ee] : z[ee], V = h === Yt ? -z[ee] : -F[ee], oe = e.elements.arrow, ne = m && oe ? li(oe) : {
6294
6294
  width: 0,
6295
6295
  height: 0
6296
- }, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he = Va(0, F[ee], ne[ee]), ke = _ ? F[ee] / 2 - R - he - H - J.mainAxis : y - he - H - J.mainAxis, Gt = _ ? -F[ee] / 2 + R + he + Y + J.mainAxis : V + he + Y + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), st = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Gt - $a, ka = Va(m ? Wa(T, rs) : T, E, m ? At(k, nt) : k);
6296
+ }, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : pi(), H = Z[le], Y = Z[se], he = Va(0, F[ee], ne[ee]), ke = _ ? F[ee] / 2 - R - he - H - Q.mainAxis : y - he - H - Q.mainAxis, Gt = _ ? -F[ee] / 2 + R + he + Y + Q.mainAxis : V + he + Y + Q.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), st = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Gt - $a, ka = Va(m ? Wa(T, rs) : T, E, m ? At(k, nt) : k);
6297
6297
  L[P] = ka, j[P] = ka - E;
6298
6298
  }
6299
6299
  if (l) {
6300
- var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ht, Re = L[I], Ye = I === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf($) !== -1, Jt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Qt : Re - F[Ye] - z[Ye] - Jt + J.altAxis, bt = Le ? Re + F[Ye] + z[Ye] - Jt - J.altAxis : Sa, Aa = m && Le ? dp(ot, Re, bt) : Va(m ? ot : Qt, Re, m ? bt : Sa);
6300
+ var it, Ue = P === "x" ? Ne : Ge, Ie = P === "x" ? qe : ht, Re = L[I], Ye = I === "y" ? "height" : "width", Qt = Re + g[Ue], Sa = Re - g[Ie], Le = [Ne, Ge].indexOf($) !== -1, Jt = (it = ae == null ? void 0 : ae[I]) != null ? it : 0, ot = Le ? Qt : Re - F[Ye] - z[Ye] - Jt + Q.altAxis, bt = Le ? Re + F[Ye] + z[Ye] - Jt - Q.altAxis : Sa, Aa = m && Le ? dp(ot, Re, bt) : Va(m ? ot : Qt, Re, m ? bt : Sa);
6301
6301
  L[I] = Aa, j[I] = Aa - Re;
6302
6302
  }
6303
6303
  e.modifiersData[s] = j;
@@ -6367,8 +6367,8 @@ function Cp(t) {
6367
6367
  flipVariations: w,
6368
6368
  allowedAutoPlacements: b
6369
6369
  }) : Z);
6370
- }, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(), z = !0, K = P[0], J = 0; J < P.length; J++) {
6371
- var ae = P[J], j = ct(ae), G = xt(ae) === Yt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
6370
+ }, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(), z = !0, K = P[0], Q = 0; Q < P.length; Q++) {
6371
+ var ae = P[Q], j = ct(ae), G = xt(ae) === Yt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
6372
6372
  placement: ae,
6373
6373
  boundary: u,
6374
6374
  rootBoundary: d,
@@ -6539,7 +6539,7 @@ function wp(t, e, a) {
6539
6539
  createTag: d,
6540
6540
  createOption: v,
6541
6541
  reverse: m
6542
- } = Ee(t), w = Lt().proxy, b = a.iv, g = a.update, $ = a.deselect, h = a.search, _ = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, z = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = A(() => d.value || v.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6542
+ } = Ee(t), w = Lt().proxy, b = a.iv, g = a.update, $ = a.deselect, h = a.search, _ = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, z = a.wrapper, K = a.tags, Q = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = A(() => d.value || v.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6543
6543
  s.value === "tags" && !l.value && le.value && i.value && !c.value && _(G.value[G.value.map((k) => k[r.value]).indexOf(h.value)]);
6544
6544
  };
6545
6545
  return {
@@ -6588,12 +6588,12 @@ function wp(t, e, a) {
6588
6588
  case "ArrowUp":
6589
6589
  if (k.preventDefault(), !l.value)
6590
6590
  return;
6591
- J.value || ae(), I();
6591
+ Q.value || ae(), I();
6592
6592
  break;
6593
6593
  case "ArrowDown":
6594
6594
  if (k.preventDefault(), !l.value)
6595
6595
  return;
6596
- J.value || ae(), L();
6596
+ Q.value || ae(), L();
6597
6597
  break;
6598
6598
  case "ArrowLeft":
6599
6599
  if (i.value && K.value && K.value.querySelector("input").selectionStart || k.shiftKey || s.value !== "tags" || !b.value || !b.value.length)
@@ -6786,7 +6786,7 @@ function Sp(t, e, a) {
6786
6786
  }, K = (j) => {
6787
6787
  let G = [];
6788
6788
  return G.push(j), G.join(" ");
6789
- }, J = (j) => {
6789
+ }, Q = (j) => {
6790
6790
  let G = [];
6791
6791
  return G.push(j), G.join(" ");
6792
6792
  }, ae = (j) => `${j} ❎`;
@@ -6806,7 +6806,7 @@ function Sp(t, e, a) {
6806
6806
  ariaOptionId: F,
6807
6807
  ariaOptionLabel: K,
6808
6808
  ariaGroupId: z,
6809
- ariaGroupLabel: J,
6809
+ ariaGroupLabel: Q,
6810
6810
  ariaTagLabel: ae
6811
6811
  };
6812
6812
  }
@@ -7222,7 +7222,7 @@ const Op = ["id", "dir"], Ep = ["tabindex", "aria-controls", "aria-placeholder",
7222
7222
  function Gp(t, e, a, s, n, o) {
7223
7223
  return p(), C("div", {
7224
7224
  ref: "multiselect",
7225
- class: X(t.classList.container),
7225
+ class: J(t.classList.container),
7226
7226
  id: a.searchable ? void 0 : a.id,
7227
7227
  dir: a.rtl ? "rtl" : void 0,
7228
7228
  onFocusin: e[10] || (e[10] = (...i) => t.handleFocusIn && t.handleFocusIn(...i)),
@@ -7270,7 +7270,7 @@ function Gp(t, e, a, s, n, o) {
7270
7270
  "div",
7271
7271
  {
7272
7272
  key: 1,
7273
- class: X(t.classList.tags),
7273
+ class: J(t.classList.tags),
7274
7274
  "data-tags": ""
7275
7275
  },
7276
7276
  [
@@ -7283,7 +7283,7 @@ function Gp(t, e, a, s, n, o) {
7283
7283
  disabled: a.disabled
7284
7284
  }, () => [
7285
7285
  (p(), C("span", {
7286
- class: X([
7286
+ class: J([
7287
7287
  t.classList.tag,
7288
7288
  i.disabled ? t.classList.tagDisabled : null
7289
7289
  ]),
@@ -7295,7 +7295,7 @@ function Gp(t, e, a, s, n, o) {
7295
7295
  f(
7296
7296
  "span",
7297
7297
  {
7298
- class: X(t.classList.tagWrapper)
7298
+ class: J(t.classList.tagWrapper)
7299
7299
  },
7300
7300
  W(t.localize(i[a.label])),
7301
7301
  3
@@ -7303,13 +7303,13 @@ function Gp(t, e, a, s, n, o) {
7303
7303
  ),
7304
7304
  !a.disabled && !i.disabled ? (p(), C("span", {
7305
7305
  key: 0,
7306
- class: X(t.classList.tagRemove),
7306
+ class: J(t.classList.tagRemove),
7307
7307
  onClick: ve((c) => t.handleTagRemove(i, c), ["stop"])
7308
7308
  }, [
7309
7309
  f(
7310
7310
  "span",
7311
7311
  {
7312
- class: X(t.classList.tagRemoveIcon)
7312
+ class: J(t.classList.tagRemoveIcon)
7313
7313
  },
7314
7314
  null,
7315
7315
  2
@@ -7324,7 +7324,7 @@ function Gp(t, e, a, s, n, o) {
7324
7324
  f(
7325
7325
  "div",
7326
7326
  {
7327
- class: X(t.classList.tagsSearchWrapper),
7327
+ class: J(t.classList.tagsSearchWrapper),
7328
7328
  ref: "tags"
7329
7329
  },
7330
7330
  [
@@ -7332,7 +7332,7 @@ function Gp(t, e, a, s, n, o) {
7332
7332
  f(
7333
7333
  "span",
7334
7334
  {
7335
- class: X(t.classList.tagsSearchCopy)
7335
+ class: J(t.classList.tagsSearchCopy)
7336
7336
  },
7337
7337
  W(t.search),
7338
7338
  3
@@ -7377,13 +7377,13 @@ function Gp(t, e, a, s, n, o) {
7377
7377
  f(
7378
7378
  "div",
7379
7379
  {
7380
- class: X(t.classList.singleLabel)
7380
+ class: J(t.classList.singleLabel)
7381
7381
  },
7382
7382
  [
7383
7383
  f(
7384
7384
  "span",
7385
7385
  {
7386
- class: X(t.classList.singleLabelText)
7386
+ class: J(t.classList.singleLabelText)
7387
7387
  },
7388
7388
  W(t.localize(t.iv[a.label])),
7389
7389
  3
@@ -7400,7 +7400,7 @@ function Gp(t, e, a, s, n, o) {
7400
7400
  values: t.iv
7401
7401
  }, () => [
7402
7402
  f("div", {
7403
- class: X(t.classList.multipleLabel),
7403
+ class: J(t.classList.multipleLabel),
7404
7404
  innerHTML: t.multipleLabelText
7405
7405
  }, null, 10, Vp)
7406
7406
  ]) : O("v-if", !0),
@@ -7409,7 +7409,7 @@ function Gp(t, e, a, s, n, o) {
7409
7409
  f(
7410
7410
  "div",
7411
7411
  {
7412
- class: X(t.classList.placeholder),
7412
+ class: J(t.classList.placeholder),
7413
7413
  "aria-hidden": "true"
7414
7414
  },
7415
7415
  W(a.placeholder),
@@ -7422,7 +7422,7 @@ function Gp(t, e, a, s, n, o) {
7422
7422
  f(
7423
7423
  "span",
7424
7424
  {
7425
- class: X(t.classList.spinner),
7425
+ class: J(t.classList.spinner),
7426
7426
  "aria-hidden": "true"
7427
7427
  },
7428
7428
  null,
@@ -7443,7 +7443,7 @@ function Gp(t, e, a, s, n, o) {
7443
7443
  role: "button",
7444
7444
  "data-clear": "",
7445
7445
  "aria-roledescription": "❎",
7446
- class: X(t.classList.clear),
7446
+ class: J(t.classList.clear),
7447
7447
  onClick: e[6] || (e[6] = (...i) => t.clear && t.clear(...i)),
7448
7448
  onKeyup: e[7] || (e[7] = dt((...i) => t.clear && t.clear(...i), ["enter"]))
7449
7449
  },
@@ -7451,7 +7451,7 @@ function Gp(t, e, a, s, n, o) {
7451
7451
  f(
7452
7452
  "span",
7453
7453
  {
7454
- class: X(t.classList.clearIcon)
7454
+ class: J(t.classList.clearIcon)
7455
7455
  },
7456
7456
  null,
7457
7457
  2
@@ -7471,7 +7471,7 @@ function Gp(t, e, a, s, n, o) {
7471
7471
  f(
7472
7472
  "span",
7473
7473
  {
7474
- class: X(t.classList.caret),
7474
+ class: J(t.classList.caret),
7475
7475
  onClick: e[8] || (e[8] = (...i) => t.handleCaretClick && t.handleCaretClick(...i)),
7476
7476
  "aria-hidden": "true"
7477
7477
  },
@@ -7488,13 +7488,13 @@ function Gp(t, e, a, s, n, o) {
7488
7488
  }, [
7489
7489
  f("div", {
7490
7490
  id: `${a.id}-dropdown`,
7491
- class: X(t.classList.dropdown),
7491
+ class: J(t.classList.dropdown),
7492
7492
  tabindex: "-1",
7493
7493
  ref: "dropdown"
7494
7494
  }, [
7495
7495
  te(t.$slots, "beforelist", { options: t.fo }),
7496
7496
  f("ul", {
7497
- class: X(t.classList.options),
7497
+ class: J(t.classList.options),
7498
7498
  id: t.ariaControls,
7499
7499
  role: "listbox"
7500
7500
  }, [
@@ -7502,7 +7502,7 @@ function Gp(t, e, a, s, n, o) {
7502
7502
  fe,
7503
7503
  { key: 0 },
7504
7504
  _e(t.fg, (i, l, r) => (p(), C("li", {
7505
- class: X(t.classList.group),
7505
+ class: J(t.classList.group),
7506
7506
  key: r,
7507
7507
  id: t.ariaGroupId(i),
7508
7508
  "aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
@@ -7511,7 +7511,7 @@ function Gp(t, e, a, s, n, o) {
7511
7511
  }, [
7512
7512
  i.__CREATE__ ? O("v-if", !0) : (p(), C("div", {
7513
7513
  key: 0,
7514
- class: X(t.classList.groupLabel(i)),
7514
+ class: J(t.classList.groupLabel(i)),
7515
7515
  "data-pointed": t.isPointed(i),
7516
7516
  onMouseenter: (c) => t.setPointer(i, l),
7517
7517
  onMousedown: ve((c) => t.handleGroupClick(i), ["prevent"])
@@ -7527,7 +7527,7 @@ function Gp(t, e, a, s, n, o) {
7527
7527
  ])
7528
7528
  ], 42, Rp)),
7529
7529
  f("ul", {
7530
- class: X(t.classList.groupOptions),
7530
+ class: J(t.classList.groupOptions),
7531
7531
  "aria-label": t.ariaGroupLabel(t.localize(i[a.groupLabel])),
7532
7532
  role: "group"
7533
7533
  }, [
@@ -7535,7 +7535,7 @@ function Gp(t, e, a, s, n, o) {
7535
7535
  fe,
7536
7536
  null,
7537
7537
  _e(i.__VISIBLE__, (c, u, d) => (p(), C("li", {
7538
- class: X(t.classList.option(c, i)),
7538
+ class: J(t.classList.option(c, i)),
7539
7539
  "data-pointed": t.isPointed(c),
7540
7540
  "data-selected": t.isSelected(c) || void 0,
7541
7541
  key: d,
@@ -7572,7 +7572,7 @@ function Gp(t, e, a, s, n, o) {
7572
7572
  fe,
7573
7573
  { key: 1 },
7574
7574
  _e(t.fo, (i, l, r) => (p(), C("li", {
7575
- class: X(t.classList.option(i)),
7575
+ class: J(t.classList.option(i)),
7576
7576
  "data-pointed": t.isPointed(i),
7577
7577
  "data-selected": t.isSelected(i) || void 0,
7578
7578
  key: r,
@@ -7604,13 +7604,13 @@ function Gp(t, e, a, s, n, o) {
7604
7604
  ], 10, Bp),
7605
7605
  t.noOptions ? te(t.$slots, "nooptions", { key: 0 }, () => [
7606
7606
  f("div", {
7607
- class: X(t.classList.noOptions),
7607
+ class: J(t.classList.noOptions),
7608
7608
  innerHTML: t.localize(a.noOptionsText)
7609
7609
  }, null, 10, Wp)
7610
7610
  ]) : O("v-if", !0),
7611
7611
  t.noResults ? te(t.$slots, "noresults", { key: 1 }, () => [
7612
7612
  f("div", {
7613
- class: X(t.classList.noResults),
7613
+ class: J(t.classList.noResults),
7614
7614
  innerHTML: t.localize(a.noResultsText)
7615
7615
  }, null, 10, zp)
7616
7616
  ]) : O("v-if", !0),
@@ -7618,7 +7618,7 @@ function Gp(t, e, a, s, n, o) {
7618
7618
  "div",
7619
7619
  {
7620
7620
  key: 2,
7621
- class: X(t.classList.inifinite),
7621
+ class: J(t.classList.inifinite),
7622
7622
  ref: "infiniteLoader"
7623
7623
  },
7624
7624
  [
@@ -7626,7 +7626,7 @@ function Gp(t, e, a, s, n, o) {
7626
7626
  f(
7627
7627
  "span",
7628
7628
  {
7629
- class: X(t.classList.inifiniteSpinner)
7629
+ class: J(t.classList.inifiniteSpinner)
7630
7630
  },
7631
7631
  null,
7632
7632
  2
@@ -7643,7 +7643,7 @@ function Gp(t, e, a, s, n, o) {
7643
7643
  O(" Hacky input element to show HTML5 required warning "),
7644
7644
  a.required ? (p(), C("input", {
7645
7645
  key: 0,
7646
- class: X(t.classList.fakeInput),
7646
+ class: J(t.classList.fakeInput),
7647
7647
  tabindex: "-1",
7648
7648
  value: t.textValue,
7649
7649
  required: ""
@@ -7677,7 +7677,7 @@ function Gp(t, e, a, s, n, o) {
7677
7677
  O(" Screen reader assistive text "),
7678
7678
  a.searchable && t.hasSelected ? (p(), C("div", {
7679
7679
  key: 2,
7680
- class: X(t.classList.assist),
7680
+ class: J(t.classList.assist),
7681
7681
  id: t.ariaAssist,
7682
7682
  "aria-hidden": "true"
7683
7683
  }, W(t.ariaLabel), 11, Kp)) : O("v-if", !0),
@@ -7685,7 +7685,7 @@ function Gp(t, e, a, s, n, o) {
7685
7685
  f(
7686
7686
  "div",
7687
7687
  {
7688
- class: X(t.classList.spacer)
7688
+ class: J(t.classList.spacer)
7689
7689
  },
7690
7690
  null,
7691
7691
  2
@@ -7706,7 +7706,7 @@ const Se = /* @__PURE__ */ q({
7706
7706
  return e.detached && c7({
7707
7707
  multiselect: s,
7708
7708
  appendTo: a.value
7709
- }), (n, o) => (p(), D(Q(ut), {
7709
+ }), (n, o) => (p(), D(X(ut), {
7710
7710
  ref_key: "multiselectRef",
7711
7711
  ref: s,
7712
7712
  class: "ao-multiselect"
@@ -7845,7 +7845,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
7845
7845
  id: m.id,
7846
7846
  value: m.name,
7847
7847
  readonly: !d.isEditable,
7848
- class: X(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": m.isDone }]),
7848
+ class: J(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": m.isDone }]),
7849
7849
  type: "text",
7850
7850
  onChange: (g) => i(g, m.id),
7851
7851
  onKeyup: dt(u, ["enter"])
@@ -7946,7 +7946,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
7946
7946
  u.dataTransfer && e("add", d);
7947
7947
  }
7948
7948
  return (u, d) => (p(), C("div", {
7949
- class: X([
7949
+ class: J([
7950
7950
  "ao-files__wrapper",
7951
7951
  {
7952
7952
  "ao-files__wrapper--drop-active": i.value
@@ -8066,11 +8066,11 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8066
8066
  ref_key: "commentContent",
8067
8067
  ref: n,
8068
8068
  class: "ao-comment__content",
8069
- value: Q(o) ? b.content : null,
8070
- rows: Q(o) ? w.value : null,
8069
+ value: X(o) ? b.content : null,
8070
+ rows: X(o) ? w.value : null,
8071
8071
  onKeyup: [
8072
- dt(Q(d), ["esc"]),
8073
- dt(ve(Q(v), ["ctrl"]), ["enter"])
8072
+ dt(X(d), ["esc"]),
8073
+ dt(ve(X(v), ["ctrl"]), ["enter"])
8074
8074
  ]
8075
8075
  }, {
8076
8076
  default: N(() => [
@@ -8081,13 +8081,13 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8081
8081
  ])
8082
8082
  ]),
8083
8083
  b.isEditable ? (p(), C("div", _v, [
8084
- Q(o) ? (p(), C(fe, { key: 0 }, [
8084
+ X(o) ? (p(), C(fe, { key: 0 }, [
8085
8085
  M(re, {
8086
8086
  "icon-name": "CloseRounded",
8087
8087
  size: "sm",
8088
8088
  variant: "ghost",
8089
8089
  color: "neutral",
8090
- onClick: Q(d)
8090
+ onClick: X(d)
8091
8091
  }, null, 8, ["onClick"]),
8092
8092
  M(re, {
8093
8093
  "icon-name": "CheckSmallRounded",
@@ -8095,7 +8095,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8095
8095
  variant: "solid",
8096
8096
  corners: "round",
8097
8097
  color: "black",
8098
- onClick: Q(v)
8098
+ onClick: X(v)
8099
8099
  }, null, 8, ["onClick"])
8100
8100
  ], 64)) : (p(), C(fe, { key: 1 }, [
8101
8101
  M(re, {
@@ -8110,7 +8110,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8110
8110
  size: "sm",
8111
8111
  variant: "ghost",
8112
8112
  color: "neutral",
8113
- onClick: Q(i)
8113
+ onClick: X(i)
8114
8114
  }, null, 8, ["label", "onClick"])
8115
8115
  ], 64))
8116
8116
  ])) : O("", !0)
@@ -8221,7 +8221,7 @@ const As = /* @__PURE__ */ q({
8221
8221
  e("update:modelValue", !a.modelValue);
8222
8222
  };
8223
8223
  return (n, o) => (p(), D(re, {
8224
- color: n.modelValue ? n.color : Q(Ls).NEUTRAL,
8224
+ color: n.modelValue ? n.color : X(Ls).NEUTRAL,
8225
8225
  "icon-position": "start",
8226
8226
  onClick: o[0] || (o[0] = () => s())
8227
8227
  }, null, 8, ["color"]));
@@ -8411,7 +8411,7 @@ const As = /* @__PURE__ */ q({
8411
8411
  activityId: a.activity.id,
8412
8412
  file: y
8413
8413
  });
8414
- }, J = A(() => a.projects.map((y) => ({
8414
+ }, Q = A(() => a.projects.map((y) => ({
8415
8415
  value: y.id,
8416
8416
  label: y.name
8417
8417
  }))), ae = A(() => {
@@ -8493,10 +8493,10 @@ const As = /* @__PURE__ */ q({
8493
8493
  "onUpdate:title": n
8494
8494
  }, null, 8, ["title", "is-editable"]),
8495
8495
  f("div", Iv, [
8496
- J.value ? (p(), C("label", Lv, [
8496
+ Q.value ? (p(), C("label", Lv, [
8497
8497
  f("span", Pv, W(y.$t("activity.project.label")), 1),
8498
8498
  M(Se, {
8499
- options: J.value,
8499
+ options: Q.value,
8500
8500
  value: (oe = y.activity.project) == null ? void 0 : oe.id,
8501
8501
  searchable: !0,
8502
8502
  disabled: !s.value,
@@ -8882,22 +8882,22 @@ const Tf = /* @__PURE__ */ q({
8882
8882
  }), g = A(() => Object.values(K2));
8883
8883
  return ($, h) => (p(), D(mt($.tagName), { class: "ao-rule-line" }, {
8884
8884
  default: N(() => [
8885
- M(Q(ut), {
8885
+ M(X(ut), {
8886
8886
  modelValue: n.value,
8887
8887
  "onUpdate:modelValue": h[0] || (h[0] = (_) => n.value = _),
8888
8888
  options: o.value
8889
8889
  }, null, 8, ["modelValue", "options"]),
8890
- M(Q(ut), {
8890
+ M(X(ut), {
8891
8891
  modelValue: i.value,
8892
8892
  "onUpdate:modelValue": h[1] || (h[1] = (_) => i.value = _),
8893
8893
  options: l.value
8894
8894
  }, null, 8, ["modelValue", "options"]),
8895
- M(Q(ut), {
8895
+ M(X(ut), {
8896
8896
  modelValue: v.value,
8897
8897
  "onUpdate:modelValue": h[2] || (h[2] = (_) => v.value = _),
8898
8898
  options: m.value
8899
8899
  }, null, 8, ["modelValue", "options"]),
8900
- M(Q(ut), {
8900
+ M(X(ut), {
8901
8901
  modelValue: c.value,
8902
8902
  "onUpdate:modelValue": h[3] || (h[3] = (_) => c.value = _),
8903
8903
  options: u.value
@@ -8914,7 +8914,7 @@ const Tf = /* @__PURE__ */ q({
8914
8914
  { number: !0 }
8915
8915
  ]
8916
8916
  ]),
8917
- M(Q(ut), {
8917
+ M(X(ut), {
8918
8918
  modelValue: b.value,
8919
8919
  "onUpdate:modelValue": h[5] || (h[5] = (_) => b.value = _),
8920
8920
  options: g.value
@@ -9182,7 +9182,7 @@ const Lf = {
9182
9182
  F.value = !F.value;
9183
9183
  }, K = () => {
9184
9184
  e("addRule", { templateId: a.templateId });
9185
- }, J = (E) => {
9185
+ }, Q = (E) => {
9186
9186
  e("removeRule", { id: E, templateId: a.templateId });
9187
9187
  }, ae = (E) => {
9188
9188
  var T;
@@ -9232,7 +9232,7 @@ const Lf = {
9232
9232
  return n.value ? (p(), C("div", Lf, [
9233
9233
  M(ba, {
9234
9234
  "can-go-back": !0,
9235
- onGoBack: T[1] || (T[1] = (Z) => E.$router.push({ name: Q(jt).TEMPLATES_LIST }))
9235
+ onGoBack: T[1] || (T[1] = (Z) => E.$router.push({ name: X(jt).TEMPLATES_LIST }))
9236
9236
  }, {
9237
9237
  primary: N(() => [
9238
9238
  M(be, {
@@ -9249,7 +9249,7 @@ const Lf = {
9249
9249
  f("div", Pf, [
9250
9250
  f("ol", Hf, [
9251
9251
  f("li", Vf, [
9252
- M(Q(gt), {
9252
+ M(X(gt), {
9253
9253
  "model-value": n.value.phases,
9254
9254
  class: "ao-templates__list",
9255
9255
  "item-key": "id",
@@ -9359,7 +9359,7 @@ const Lf = {
9359
9359
  "template-activities": c.value,
9360
9360
  onClose: z,
9361
9361
  onAddRule: K,
9362
- onRemoveRule: J
9362
+ onRemoveRule: Q
9363
9363
  }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : O("", !0)
9364
9364
  ]))
9365
9365
  ])) : O("", !0);
@@ -9382,13 +9382,13 @@ const Nf = { class: "ao-card__content" }, Uf = {
9382
9382
  },
9383
9383
  setup(t) {
9384
9384
  return (e, a) => (p(), D(mt(e.tagName), {
9385
- class: X([
9385
+ class: J([
9386
9386
  "ao-card",
9387
9387
  {
9388
9388
  "ao-card--clickable": e.isClickable
9389
9389
  }
9390
9390
  ]),
9391
- style: pt(e.isSelected ? { borderColor: e.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
9391
+ style: pt(e.isSelected ? { border: "solid", borderColor: e.color || "var(--ao-color-blue-base)", borderWidth: "thick" } : {})
9392
9392
  }, {
9393
9393
  default: N(() => [
9394
9394
  e.isSelected ? O("", !0) : (p(), C("div", {
@@ -9422,12 +9422,12 @@ const ls = /* @__PURE__ */ q({
9422
9422
  setup(t) {
9423
9423
  const e = t, a = A(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
9424
9424
  return (s, n) => (p(), C("div", {
9425
- class: X(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
9425
+ class: J(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
9426
9426
  role: "meter"
9427
9427
  }, [
9428
9428
  (p(!0), C(fe, null, _e(a.value, (o) => (p(), C("div", {
9429
9429
  key: o,
9430
- class: X(["ao-progress__progress"]),
9430
+ class: J(["ao-progress__progress"]),
9431
9431
  style: pt({
9432
9432
  width: `${o * 100}%`,
9433
9433
  "--ao-progress-color": s.color || "var(--ao-color-primary-base)"
@@ -9518,7 +9518,7 @@ const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-pr
9518
9518
  ])) : O("", !0)
9519
9519
  ])) : O("", !0),
9520
9520
  f("div", {
9521
- class: X(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
9521
+ class: J(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
9522
9522
  }, [
9523
9523
  c.isEditable ? De((p(), C("input", {
9524
9524
  key: 0,
@@ -9533,7 +9533,7 @@ const Wf = { class: "ao-card-project-phase__header" }, zf = { class: "ao-card-pr
9533
9533
  { lazy: !0 }
9534
9534
  ]
9535
9535
  ]) : O("", !0),
9536
- f("span", Qf, W(Q(Qa)(c.deadline)), 1)
9536
+ f("span", Qf, W(X(Qa)(c.deadline)), 1)
9537
9537
  ], 2)
9538
9538
  ])
9539
9539
  ]),
@@ -9625,9 +9625,6 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
9625
9625
  e("updateMilestone", { id: a.id, name: r });
9626
9626
  };
9627
9627
  return (r, c) => (p(), D(os, {
9628
- class: X([
9629
- "ao-card-project-milestone"
9630
- ]),
9631
9628
  "is-clickable": !r.readonly,
9632
9629
  "tag-name": "li",
9633
9630
  "is-selected": r.isSelected,
@@ -9694,17 +9691,17 @@ const th = { class: "ao-card-project-milestone__default" }, ah = { class: "ao-ti
9694
9691
  r.important ? (p(), D(pe, {
9695
9692
  key: 0,
9696
9693
  name: "FlagRounded",
9697
- class: X(
9694
+ class: J(
9698
9695
  r.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
9699
9696
  ),
9700
9697
  size: "sm"
9701
9698
  }, null, 8, ["class"])) : O("", !0),
9702
9699
  r.deadline ? (p(), C("label", ph, [
9703
- f("span", vh, W(Q(Qa)(r.deadline)), 1)
9700
+ f("span", vh, W(X(Qa)(r.deadline)), 1)
9704
9701
  ])) : O("", !0),
9705
9702
  r.assignee ? (p(), C("div", fh, [
9706
9703
  M(Je, {
9707
- "user-name": Q(Kn)(r.assignee),
9704
+ "user-name": X(Kn)(r.assignee),
9708
9705
  "avatar-url": r.assignee.avatarUrl,
9709
9706
  color: r.isSelected ? "black" : "primary",
9710
9707
  size: "sm"
@@ -10677,7 +10674,7 @@ const jh = { class: "color-picker-wrapper" }, vi = /* @__PURE__ */ q({
10677
10674
  ref_key: "pickerRef",
10678
10675
  ref: s
10679
10676
  }, [
10680
- M(Q(Ut), {
10677
+ M(X(Ut), {
10681
10678
  class: "color-picker",
10682
10679
  theme: "light",
10683
10680
  color: l.color,
@@ -10786,7 +10783,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
10786
10783
  ])) : O("", !0)
10787
10784
  ])) : O("", !0),
10788
10785
  f("div", {
10789
- class: X(["ao-mapping-card-project-phase__footer-row", r.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
10786
+ class: J(["ao-mapping-card-project-phase__footer-row", r.value ? "" : "ao-mapping-card-project-phase__no_deadline"])
10790
10787
  }, [
10791
10788
  d.isEditable ? De((p(), C("input", {
10792
10789
  key: 0,
@@ -10801,7 +10798,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
10801
10798
  { lazy: !0 }
10802
10799
  ]
10803
10800
  ]) : O("", !0),
10804
- f("span", Yh, W(Q(Qa)(d.deadline)), 1)
10801
+ f("span", Yh, W(X(Qa)(d.deadline)), 1)
10805
10802
  ], 2)
10806
10803
  ])
10807
10804
  ]),
@@ -10952,7 +10949,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
10952
10949
  class: "ao-project-phase__milestones",
10953
10950
  style: pt($.value)
10954
10951
  }, [
10955
- M(Q(gt), Ae({
10952
+ M(X(gt), Ae({
10956
10953
  class: "ao-project-phase__milestones-list",
10957
10954
  list: l.value,
10958
10955
  disabled: h.readonly || !h.isEditable,
@@ -10977,9 +10974,9 @@ const Kh = { class: "ao-project-phase" }, Gh = {
10977
10974
  assignee: P.assignee,
10978
10975
  important: P.important,
10979
10976
  readonly: h.readonly,
10980
- class: X(["ao-project-phase__milestone"]),
10977
+ class: J(["ao-project-phase__milestone"]),
10981
10978
  onClick: (L) => !h.readonly && h.$router.push({
10982
- name: Q(ye).milestone,
10979
+ name: X(ye).milestone,
10983
10980
  params: { phaseId: h.phase.id, milestoneId: P.id }
10984
10981
  }),
10985
10982
  onUpdateMilestone: c,
@@ -11048,7 +11045,7 @@ const a9 = { class: "ao-project__phases" }, s9 = {
11048
11045
  e("addPhase", v);
11049
11046
  };
11050
11047
  return (v, m) => (p(), C("div", a9, [
11051
- M(Q(gt), {
11048
+ M(X(gt), {
11052
11049
  class: "ao-project-phase__phases-list",
11053
11050
  "model-value": v.phases,
11054
11051
  "item-key": "id",
@@ -11237,7 +11234,7 @@ function k9(t, e, a, s, n, o) {
11237
11234
  return p(), C("div", w9, [
11238
11235
  (p(!0), C(fe, null, _e(t.tabs, (i) => (p(), C("button", {
11239
11236
  key: i.value,
11240
- class: X(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
11237
+ class: J(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
11241
11238
  type: "button",
11242
11239
  onClick: (l) => t.selectTab(i.value)
11243
11240
  }, W(i.label), 11, $9))), 128))
@@ -11306,7 +11303,7 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
11306
11303
  e("addComment", T);
11307
11304
  }, K = (T) => {
11308
11305
  e("updateComment", T);
11309
- }, J = (T) => {
11306
+ }, Q = (T) => {
11310
11307
  e("removeComment", T);
11311
11308
  }, ae = x(!1), j = x(!1), G = (T, k) => {
11312
11309
  e("applyTemplate", { templateId: T, projectId: k }), ae.value = !1;
@@ -11390,7 +11387,7 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
11390
11387
  users: T.users,
11391
11388
  "is-editable": T.isEditable === !0,
11392
11389
  "closed-status": T.closedStatus,
11393
- onClose: k[4] || (k[4] = (y) => T.$router.push({ name: Q(ye).project })),
11390
+ onClose: k[4] || (k[4] = (y) => T.$router.push({ name: X(ye).project })),
11394
11391
  onUpdateMilestone: d,
11395
11392
  onAddActivity: w,
11396
11393
  onUpdateActivity: b,
@@ -11418,7 +11415,7 @@ const an = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
11418
11415
  onRemoveFile: F,
11419
11416
  onAddComment: z,
11420
11417
  onUpdateComment: K,
11421
- onRemoveComment: J
11418
+ onRemoveComment: Q
11422
11419
  }, {
11423
11420
  default: N(({ Component: y }) => [
11424
11421
  (p(), D(mt(y), null, {
@@ -11461,7 +11458,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
11461
11458
  key: 0,
11462
11459
  class: "ao-card-feed__breadcrumbs"
11463
11460
  }, P9 = {
11464
- class: /* @__PURE__ */ X(["ao-card-feed__title-group"])
11461
+ class: /* @__PURE__ */ J(["ao-card-feed__title-group"])
11465
11462
  }, H9 = { class: "ao-card-feed__title-line" }, V9 = {
11466
11463
  key: 0,
11467
11464
  class: "ao-card-feed__slug"
@@ -11522,7 +11519,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
11522
11519
  return (m = a.tasks) == null ? void 0 : m.filter((w) => w.isDone).length;
11523
11520
  }), v = A(() => (d.value || 0) / (u.value || 1));
11524
11521
  return (m, w) => (p(), D(os, {
11525
- class: X(["ao-card-feed", { "ao-card-feed--closed": m.isClosed }]),
11522
+ class: J(["ao-card-feed", { "ao-card-feed--closed": m.isClosed }]),
11526
11523
  "is-clickable": !0
11527
11524
  }, {
11528
11525
  header: N(() => [
@@ -11587,7 +11584,7 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
11587
11584
  }, [
11588
11585
  b ? (p(), C("li", N9, [
11589
11586
  M(Je, {
11590
- "user-name": Q(Kn)(b),
11587
+ "user-name": X(Kn)(b),
11591
11588
  "avatar-url": b.avatarUrl,
11592
11589
  "is-closable": !0,
11593
11590
  onClose: () => c(b.id)
@@ -11837,7 +11834,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11837
11834
  ])) : O("", !0)
11838
11835
  ]),
11839
11836
  f("div", l4, [
11840
- M(Q(gt), Ae({
11837
+ M(X(gt), Ae({
11841
11838
  class: "ao-project-milestone__activities",
11842
11839
  list: l.value,
11843
11840
  disabled: !h.isEditable,
@@ -11845,7 +11842,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11845
11842
  group: "kanban"
11846
11843
  }, h.$attrs, { onChange: d }), {
11847
11844
  item: N(({ element: I }) => {
11848
- var L, F, z, K, J;
11845
+ var L, F, z, K, Q;
11849
11846
  return [
11850
11847
  M(gi, {
11851
11848
  id: I.id,
@@ -11859,13 +11856,13 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11859
11856
  assignee: I.assignee,
11860
11857
  slug: I.slug,
11861
11858
  comments: (K = I.comments) == null ? void 0 : K.length,
11862
- attachments: (J = I.attachments) == null ? void 0 : J.length,
11859
+ attachments: (Q = I.attachments) == null ? void 0 : Q.length,
11863
11860
  tasks: I.tasks,
11864
11861
  "is-editable": h.isEditable,
11865
11862
  "is-private": I.private,
11866
11863
  "is-closed": w(I),
11867
11864
  onClick: (ae) => h.$router.push({
11868
- name: Q(ye).activity,
11865
+ name: X(ye).activity,
11869
11866
  params: { milestoneId: h.milestoneId, activityId: I.id }
11870
11867
  }),
11871
11868
  onUpdateActivity: u,
@@ -12033,7 +12030,7 @@ function p4(t) {
12033
12030
  return Fi() ? (Zi(t), !0) : !1;
12034
12031
  }
12035
12032
  function za(t) {
12036
- return typeof t == "function" ? t() : Q(t);
12033
+ return typeof t == "function" ? t() : X(t);
12037
12034
  }
12038
12035
  const v4 = typeof window < "u" && typeof document < "u";
12039
12036
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -12131,7 +12128,7 @@ function b4(t, e, a = {}) {
12131
12128
  };
12132
12129
  }
12133
12130
  const w4 = {
12134
- class: /* @__PURE__ */ X(["ao-list-kanban"])
12131
+ class: /* @__PURE__ */ J(["ao-list-kanban"])
12135
12132
  }, $4 = { class: "ao-list-kanban__header" }, k4 = {
12136
12133
  key: 0,
12137
12134
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
@@ -12204,7 +12201,7 @@ const w4 = {
12204
12201
  ])
12205
12202
  ];
12206
12203
  }) : O("", !0),
12207
- M(Q(gt), Ae({
12204
+ M(X(gt), Ae({
12208
12205
  class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
12209
12206
  list: u.list,
12210
12207
  "item-key": "id",
@@ -12226,7 +12223,7 @@ const w4 = {
12226
12223
  var m, w, b, g, $, h, _, P, I;
12227
12224
  return [
12228
12225
  M(gi, {
12229
- class: X(o(v) ? "ao-list-draggable" : ""),
12226
+ class: J(o(v) ? "ao-list-draggable" : ""),
12230
12227
  id: v.id,
12231
12228
  name: v.name,
12232
12229
  "project-name": (m = v.project) == null ? void 0 : m.name,
@@ -12329,19 +12326,19 @@ const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder",
12329
12326
  class: "ao-field__input ao-search-field__input",
12330
12327
  placeholder: i.placeholder,
12331
12328
  onInput: l[0] || (l[0] = //@ts-ignore
12332
- (...r) => Q(n) && Q(n)(...r)),
12329
+ (...r) => X(n) && X(n)(...r)),
12333
12330
  onKeypress: dt(s, ["enter"])
12334
12331
  }, null, 40, I4),
12335
12332
  M(pe, {
12336
12333
  name: "SearchRounded",
12337
- class: X(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
12334
+ class: J(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
12338
12335
  }, null, 8, ["class"]),
12339
12336
  M(re, {
12340
12337
  "icon-name": "CloseRounded",
12341
12338
  size: "sm",
12342
12339
  color: "primary",
12343
12340
  corners: "round",
12344
- class: X(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
12341
+ class: J(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
12345
12342
  onClick: o
12346
12343
  }, null, 8, ["class"])
12347
12344
  ]));
@@ -12438,7 +12435,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
12438
12435
  a.selectedActivity && e("addSubtask", k);
12439
12436
  }, K = (k) => {
12440
12437
  a.selectedActivity && e("updateSubtask", k);
12441
- }, J = (k) => {
12438
+ }, Q = (k) => {
12442
12439
  a.selectedActivity && e("deleteSubtask", k);
12443
12440
  }, ae = (k) => {
12444
12441
  e("addFiles", k);
@@ -12482,36 +12479,36 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
12482
12479
  }, null, 8, ["model-value", "placeholder"]),
12483
12480
  a.project ? O("", !0) : (p(), D(Se, {
12484
12481
  key: 0,
12485
- "model-value": k.filters[Q(Dt).project],
12482
+ "model-value": k.filters[X(Dt).project],
12486
12483
  mode: "tags",
12487
12484
  options: b.value,
12488
12485
  "close-on-select": !1,
12489
12486
  searchable: !0,
12490
12487
  class: "ao-feed__filter ao-feed__filter__projects",
12491
12488
  placeholder: k.$t("feed.filters.project.placeholder"),
12492
- "onUpdate:modelValue": R[1] || (R[1] = (V) => m(Q(Dt).project, V))
12489
+ "onUpdate:modelValue": R[1] || (R[1] = (V) => m(X(Dt).project, V))
12493
12490
  }, null, 8, ["model-value", "options", "placeholder"])),
12494
12491
  g.value ? (p(), D(Se, {
12495
12492
  key: 1,
12496
- "model-value": k.filters[Q(Dt).type],
12493
+ "model-value": k.filters[X(Dt).type],
12497
12494
  mode: "tags",
12498
12495
  options: g.value,
12499
12496
  "close-on-select": !1,
12500
12497
  searchable: !0,
12501
12498
  class: "ao-feed__filter ao-feed__filter__types",
12502
12499
  placeholder: k.$t("feed.filters.activityType.placeholder"),
12503
- "onUpdate:modelValue": R[2] || (R[2] = (V) => m(Q(Dt).type, V))
12500
+ "onUpdate:modelValue": R[2] || (R[2] = (V) => m(X(Dt).type, V))
12504
12501
  }, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
12505
12502
  $.value.length ? (p(), D(Se, {
12506
12503
  key: 2,
12507
- "model-value": k.filters[Q(Dt).assignee],
12504
+ "model-value": k.filters[X(Dt).assignee],
12508
12505
  mode: "tags",
12509
12506
  options: $.value,
12510
12507
  "close-on-select": !1,
12511
12508
  searchable: !0,
12512
12509
  class: "ao-feed__filter ao-feed__filter__assignees",
12513
12510
  placeholder: k.$t("feed.filters.assignee.placeholder"),
12514
- "onUpdate:modelValue": R[3] || (R[3] = (V) => m(Q(Dt).assignee, V))
12511
+ "onUpdate:modelValue": R[3] || (R[3] = (V) => m(X(Dt).assignee, V))
12515
12512
  }, {
12516
12513
  tag: N(({
12517
12514
  option: V,
@@ -12603,7 +12600,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
12603
12600
  "onUpdate:activity": h,
12604
12601
  onAddSubtask: z,
12605
12602
  onUpdateSubtask: K,
12606
- onDeleteSubtask: J,
12603
+ onDeleteSubtask: Q,
12607
12604
  onAddFiles: ae,
12608
12605
  onRemoveFile: j,
12609
12606
  onAddComment: G,
@@ -12725,7 +12722,7 @@ const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
12725
12722
  f("img", {
12726
12723
  class: "architecture-image",
12727
12724
  src: g.project.architectureImage.url,
12728
- alt: Q(s)("architectureImage.alt")
12725
+ alt: X(s)("architectureImage.alt")
12729
12726
  }, null, 8, U4)
12730
12727
  ])) : O("", !0)
12731
12728
  ])
@@ -12884,7 +12881,7 @@ const jt = {
12884
12881
  ]),
12885
12882
  _: 1
12886
12883
  }),
12887
- M(Q(gt), {
12884
+ M(X(gt), {
12888
12885
  "model-value": r.templates,
12889
12886
  class: "ao-templates__list",
12890
12887
  "item-key": "id",
@@ -12898,13 +12895,13 @@ const jt = {
12898
12895
  id: u.id,
12899
12896
  title: u.name,
12900
12897
  phases: u.phases,
12901
- milestones: (d = u.phases) != null && d.length ? Q(H3)(u.phases) : 0,
12902
- activities: u.phases ? Q(V3)(u.phases) : 0,
12898
+ milestones: (d = u.phases) != null && d.length ? X(H3)(u.phases) : 0,
12899
+ activities: u.phases ? X(V3)(u.phases) : 0,
12903
12900
  "updated-at": u.updatedAt,
12904
12901
  "updated-by": u.updatedBy,
12905
12902
  onUpdateTitle: (v) => o(u.id, v),
12906
12903
  onClick: (v) => r.$router.push({
12907
- name: Q(jt).TEMPLATE_DETAILS,
12904
+ name: X(jt).TEMPLATE_DETAILS,
12908
12905
  params: { templateId: u.id }
12909
12906
  }),
12910
12907
  onDeleteItem: c[0] || (c[0] = (v, m) => i(v, m))
@@ -12924,7 +12921,7 @@ const z4 = { class: "ao-field__label" }, q4 = /* @__PURE__ */ q({
12924
12921
  },
12925
12922
  setup(t) {
12926
12923
  return (e, a) => (p(), C("label", {
12927
- class: X(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
12924
+ class: J(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
12928
12925
  }, [
12929
12926
  f("span", z4, W(e.label), 1),
12930
12927
  te(e.$slots, "default")