@26lights/orcha 0.36.25 → 0.36.26

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 z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as A, normalizeStyle as wn, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
1
+ import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as M, normalizeStyle as wn, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Fe, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
2
2
  import { RouterView as Ri } from "vue-router";
3
3
  import mt from "vuedraggable";
4
4
  const u8 = /* @__PURE__ */ z({
@@ -1346,21 +1346,21 @@ const O2 = {
1346
1346
  }, {
1347
1347
  default: W(() => [
1348
1348
  n.isDraggable ? (p(), g("div", O2, [
1349
- A(pe, {
1349
+ M(pe, {
1350
1350
  name: "DragIndicator",
1351
1351
  class: "ao-card-horiz__drag-handle"
1352
1352
  })
1353
1353
  ])) : T("", !0),
1354
1354
  v("div", E2, [
1355
1355
  n.icon ? (p(), g("div", I2, [
1356
- A(pe, {
1356
+ M(pe, {
1357
1357
  class: "ao-card-horiz__icon",
1358
1358
  name: n.icon,
1359
1359
  size: "xl"
1360
1360
  }, null, 8, ["name"])
1361
1361
  ])) : T("", !0),
1362
1362
  v("div", L2, [
1363
- A(ye, {
1363
+ M(ye, {
1364
1364
  id: n.id,
1365
1365
  class: "ao-card-horiz__title",
1366
1366
  level: 4,
@@ -1428,7 +1428,7 @@ const Mn = /* @__PURE__ */ z({
1428
1428
  class: "ao-tag__close",
1429
1429
  onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
1430
1430
  }, [
1431
- A(pe, {
1431
+ M(pe, {
1432
1432
  name: "CloseRounded",
1433
1433
  size: "sm",
1434
1434
  class: "ao-tag__close-icon"
@@ -2745,8 +2745,8 @@ function Ns(t, e, a) {
2745
2745
  }, ie = L.match(X0).map(function(E) {
2746
2746
  var N = E[0];
2747
2747
  if (N === "p" || N === "P") {
2748
- var M = r0[N];
2749
- return M(E, F.formatLong);
2748
+ var A = r0[N];
2749
+ return A(E, F.formatLong);
2750
2750
  }
2751
2751
  return E;
2752
2752
  }).join("").match(G0).map(function(E) {
@@ -2755,9 +2755,9 @@ function Ns(t, e, a) {
2755
2755
  var N = E[0];
2756
2756
  if (N === "'")
2757
2757
  return t3(E);
2758
- var M = s0[N];
2759
- if (M)
2760
- return !(a != null && a.useAdditionalWeekYearTokens) && d0(E) && ds(E, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(E) && ds(E, e, String(t)), M(R, E, F.localize, Z);
2758
+ var A = s0[N];
2759
+ if (A)
2760
+ return !(a != null && a.useAdditionalWeekYearTokens) && d0(E) && ds(E, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(E) && ds(E, e, String(t)), A(R, E, F.localize, Z);
2761
2761
  if (N.match(e3))
2762
2762
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
2763
2763
  return E;
@@ -3768,14 +3768,14 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3768
3768
  subtitle: W(() => [
3769
3769
  v("ul", H3, [
3770
3770
  v("li", D3, [
3771
- A(pe, {
3771
+ M(pe, {
3772
3772
  name: "MountainFlagOutlineRounded",
3773
3773
  size: "sm"
3774
3774
  }),
3775
3775
  v("span", P3, G(n.milestones), 1)
3776
3776
  ]),
3777
3777
  v("li", V3, [
3778
- A(pe, {
3778
+ M(pe, {
3779
3779
  name: "TaskOutlineRounded",
3780
3780
  size: "sm"
3781
3781
  }),
@@ -3787,7 +3787,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3787
3787
  v("div", R3, [
3788
3788
  v("div", N3, [
3789
3789
  v("div", j3, [
3790
- A(pe, {
3790
+ M(pe, {
3791
3791
  name: "WaterfallChartRounded",
3792
3792
  size: "sm"
3793
3793
  }),
@@ -3823,7 +3823,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3823
3823
  v("span", G3, G(n.$t("template.updatedBy.label")), 1)
3824
3824
  ]),
3825
3825
  v("div", X3, [
3826
- A(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3826
+ M(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3827
3827
  ])
3828
3828
  ])) : T("", !0)
3829
3829
  ])
@@ -3925,7 +3925,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
3925
3925
  v("ul", s5, [
3926
3926
  (p(), g(ve, null, _e(n, (l) => (p(), g(ve, { key: l }, [
3927
3927
  i.$props[l] ? (p(), g("li", i5, [
3928
- A(pe, {
3928
+ M(pe, {
3929
3929
  name: s[l],
3930
3930
  size: "sm"
3931
3931
  }, null, 8, ["name"]),
@@ -3936,7 +3936,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
3936
3936
  ]),
3937
3937
  secondary: W(() => [
3938
3938
  v("div", r5, [
3939
- A(ce, {
3939
+ M(ce, {
3940
3940
  "icon-name": "DeleteOutlineRounded",
3941
3941
  variant: "ghost",
3942
3942
  size: "md",
@@ -4024,7 +4024,7 @@ const l5 = /* @__PURE__ */ z({
4024
4024
  onChange: i
4025
4025
  }, {
4026
4026
  header: W(() => [
4027
- A(ye, {
4027
+ M(ye, {
4028
4028
  title: "Milestones",
4029
4029
  level: 3,
4030
4030
  class: "ao-list__title"
@@ -4049,7 +4049,7 @@ const l5 = /* @__PURE__ */ z({
4049
4049
  ]),
4050
4050
  footer: W(() => [
4051
4051
  v("div", c5, [
4052
- A(Ct, {
4052
+ M(Ct, {
4053
4053
  "icon-name": "AddBoxOutlineRounded",
4054
4054
  label: r.$t("template.milestones.add"),
4055
4055
  onClick: n
@@ -4114,7 +4114,7 @@ const l5 = /* @__PURE__ */ z({
4114
4114
  onChange: i
4115
4115
  }, {
4116
4116
  header: W(() => [
4117
- A(ye, {
4117
+ M(ye, {
4118
4118
  title: "Activities",
4119
4119
  level: 3,
4120
4120
  class: "ao-list__title"
@@ -4135,7 +4135,7 @@ const l5 = /* @__PURE__ */ z({
4135
4135
  ]),
4136
4136
  footer: W(() => [
4137
4137
  v("div", f5, [
4138
- A(Ct, {
4138
+ M(Ct, {
4139
4139
  "icon-name": "AddBoxOutlineRounded",
4140
4140
  label: r.$t("template.activities.add"),
4141
4141
  onClick: n
@@ -4168,7 +4168,7 @@ const l5 = /* @__PURE__ */ z({
4168
4168
  v("div", h5, [
4169
4169
  e.$slots.header ? (p(), g("div", m5, [
4170
4170
  v("div", C5, [
4171
- A(ce, {
4171
+ M(ce, {
4172
4172
  "icon-name": "CloseRounded",
4173
4173
  variant: "ghost",
4174
4174
  color: "primary",
@@ -4490,7 +4490,7 @@ const I5 = function(t) {
4490
4490
  switch (h) {
4491
4491
  case "bestFit": {
4492
4492
  var x;
4493
- const E = (x = U.map((N) => [N.placement, N.overflows.filter((M) => M > 0).reduce((M, m) => M + m, 0)]).sort((N, M) => N[1] - M[1])[0]) == null ? void 0 : x[0];
4493
+ const E = (x = U.map((N) => [N.placement, N.overflows.filter((A) => A > 0).reduce((A, m) => A + m, 0)]).sort((N, A) => N[1] - A[1])[0]) == null ? void 0 : x[0];
4494
4494
  E && (ie = E);
4495
4495
  break;
4496
4496
  }
@@ -4572,7 +4572,7 @@ function Gs(t) {
4572
4572
  function et(t) {
4573
4573
  return t instanceof Element || t instanceof ke(t).Element;
4574
4574
  }
4575
- function Ue(t) {
4575
+ function Ze(t) {
4576
4576
  return t instanceof HTMLElement || t instanceof ke(t).HTMLElement;
4577
4577
  }
4578
4578
  function hs(t) {
@@ -4596,7 +4596,7 @@ function Dn(t) {
4596
4596
  }
4597
4597
  function D5(t) {
4598
4598
  let e = Ut(t);
4599
- for (; Ue(e) && !Ga(e); ) {
4599
+ for (; Ze(e) && !Ga(e); ) {
4600
4600
  if (Dn(e))
4601
4601
  return e;
4602
4602
  e = Ut(e);
@@ -4635,7 +4635,7 @@ function Ut(t) {
4635
4635
  }
4636
4636
  function Xs(t) {
4637
4637
  const e = Ut(t);
4638
- return Ga(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
4638
+ return Ga(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) && ga(e) ? e : Xs(e);
4639
4639
  }
4640
4640
  function ca(t, e, a) {
4641
4641
  var n;
@@ -4646,7 +4646,7 @@ function ca(t, e, a) {
4646
4646
  function Qs(t) {
4647
4647
  const e = Ve(t);
4648
4648
  let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
4649
- const s = Ue(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
4649
+ const s = Ze(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
4650
4650
  return r && (a = o, n = i), {
4651
4651
  width: a,
4652
4652
  height: n,
@@ -4658,7 +4658,7 @@ function Vn(t) {
4658
4658
  }
4659
4659
  function Vt(t) {
4660
4660
  const e = Vn(t);
4661
- if (!Ue(e))
4661
+ if (!Ze(e))
4662
4662
  return pt(1);
4663
4663
  const a = e.getBoundingClientRect(), {
4664
4664
  width: n,
@@ -4710,7 +4710,7 @@ function B5(t) {
4710
4710
  offsetParent: a,
4711
4711
  strategy: n
4712
4712
  } = t;
4713
- const s = Ue(a), o = at(a);
4713
+ const s = Ze(a), o = at(a);
4714
4714
  if (a === o)
4715
4715
  return e;
4716
4716
  let i = {
@@ -4718,7 +4718,7 @@ function B5(t) {
4718
4718
  scrollTop: 0
4719
4719
  }, r = pt(1);
4720
4720
  const l = pt(0);
4721
- if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Xa(a)), Ue(a))) {
4721
+ if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Xa(a)), Ze(a))) {
4722
4722
  const c = St(a);
4723
4723
  r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
4724
4724
  }
@@ -4762,7 +4762,7 @@ function j5(t, e) {
4762
4762
  };
4763
4763
  }
4764
4764
  function F5(t, e) {
4765
- const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Ue(t) ? Vt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
4765
+ const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Ze(t) ? Vt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
4766
4766
  return {
4767
4767
  width: i,
4768
4768
  height: r,
@@ -4827,7 +4827,7 @@ function W5(t) {
4827
4827
  return Qs(t);
4828
4828
  }
4829
4829
  function q5(t, e, a) {
4830
- const n = Ue(e), s = at(e), o = a === "fixed", i = St(t, !0, o, e);
4830
+ const n = Ze(e), s = at(e), o = a === "fixed", i = St(t, !0, o, e);
4831
4831
  let r = {
4832
4832
  scrollLeft: 0,
4833
4833
  scrollTop: 0
@@ -4847,11 +4847,11 @@ function q5(t, e, a) {
4847
4847
  };
4848
4848
  }
4849
4849
  function Cs(t, e) {
4850
- return !Ue(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4850
+ return !Ze(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4851
4851
  }
4852
4852
  function ai(t, e) {
4853
4853
  const a = ke(t);
4854
- if (!Ue(t))
4854
+ if (!Ze(t))
4855
4855
  return a;
4856
4856
  let n = Cs(t, e);
4857
4857
  for (; n && H5(n) && Ve(n).position === "static"; )
@@ -5154,19 +5154,19 @@ function i7(t, e, a) {
5154
5154
  groups: ie,
5155
5155
  reverse: E,
5156
5156
  infinite: N,
5157
- groupOptions: M,
5157
+ groupOptions: A,
5158
5158
  groupHideEmpty: m,
5159
5159
  groupSelect: I,
5160
5160
  onCreate: J,
5161
5161
  disabledProp: ae,
5162
5162
  searchStart: le,
5163
5163
  searchFilter: ne
5164
- } = Me(t), re = At().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, tn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Ae = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
5164
+ } = Me(t), re = At().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, tn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Ae = ee(!1), Be = ee(null), ze = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
5165
5165
  if (ie.value) {
5166
5166
  let $ = _t.value || /* istanbul ignore next */
5167
5167
  [], B = [];
5168
5168
  return $.forEach((oe) => {
5169
- un(oe[M.value]).forEach((me) => {
5169
+ un(oe[A.value]).forEach((me) => {
5170
5170
  B.push(Object.assign({}, me, oe[ae.value] ? { [ae.value]: !0 } : {}));
5171
5171
  });
5172
5172
  }), B;
@@ -5180,7 +5180,7 @@ function i7(t, e, a) {
5180
5180
  return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), ln($);
5181
5181
  }), ot = S(() => {
5182
5182
  let $ = Qt.value;
5183
- return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
5183
+ return ze.value > 0 && ($ = $.slice(0, ze.value)), $;
5184
5184
  }), _t = S(() => {
5185
5185
  if (!ie.value)
5186
5186
  return [];
@@ -5188,14 +5188,14 @@ function i7(t, e, a) {
5188
5188
  [];
5189
5189
  return it.value.length && $.push({
5190
5190
  [U.value]: " ",
5191
- [M.value]: [...it.value],
5191
+ [A.value]: [...it.value],
5192
5192
  __CREATE__: !0
5193
5193
  }), $.concat(B);
5194
5194
  }), wa = S(() => {
5195
5195
  let $ = [..._t.value].map((B) => ({ ...B }));
5196
- return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][M.value] = [...Ot.value, ...$[0][M.value]] : $ = [{
5196
+ return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][A.value] = [...Ot.value, ...$[0][A.value]] : $ = [{
5197
5197
  [U.value]: " ",
5198
- [M.value]: [...Ot.value],
5198
+ [A.value]: [...Ot.value],
5199
5199
  __CREATE__: !0
5200
5200
  }].concat($)), $;
5201
5201
  }), an = S(() => {
@@ -5204,12 +5204,12 @@ function i7(t, e, a) {
5204
5204
  let $ = wa.value;
5205
5205
  return Mi(($ || /* istanbul ignore next */
5206
5206
  []).map((B, oe) => {
5207
- const me = un(B[M.value]);
5207
+ const me = un(B[A.value]);
5208
5208
  return {
5209
5209
  ...B,
5210
5210
  index: oe,
5211
5211
  group: !0,
5212
- [M.value]: ln(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
5212
+ [A.value]: ln(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
5213
5213
  __VISIBLE__: ln(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
5214
5214
  };
5215
5215
  }));
@@ -5235,7 +5235,7 @@ function i7(t, e, a) {
5235
5235
  return [];
5236
5236
  }
5237
5237
  }), mi = S(() => b.value || Ae.value), Et = ($) => {
5238
- switch (typeof $ != "object" && ($ = xe($)), s.value) {
5238
+ switch (typeof $ != "object" && ($ = Ye($)), s.value) {
5239
5239
  case "single":
5240
5240
  we($);
5241
5241
  break;
@@ -5246,7 +5246,7 @@ function i7(t, e, a) {
5246
5246
  }
5247
5247
  e.emit("select", es($), $, re);
5248
5248
  }, It = ($) => {
5249
- switch (typeof $ != "object" && ($ = xe($)), s.value) {
5249
+ switch (typeof $ != "object" && ($ = Ye($)), s.value) {
5250
5250
  case "single":
5251
5251
  as();
5252
5252
  break;
@@ -5266,9 +5266,9 @@ function i7(t, e, a) {
5266
5266
  ts($);
5267
5267
  }, as = () => {
5268
5268
  we(hi.value), e.emit("clear", re);
5269
- }, ze = ($) => {
5269
+ }, xe = ($) => {
5270
5270
  if ($.group !== void 0)
5271
- return s.value === "single" ? !1 : wi($[M.value]) && $[M.value].length;
5271
+ return s.value === "single" ? !1 : wi($[A.value]) && $[A.value].length;
5272
5272
  switch (s.value) {
5273
5273
  case "single":
5274
5274
  return !je(Y.value) && Y.value[H.value] == $[H.value];
@@ -5278,7 +5278,7 @@ function i7(t, e, a) {
5278
5278
  }
5279
5279
  }, sn = ($) => $[ae.value] === !0, on = () => O === void 0 || O.value === -1 || !nn.value && O.value > 0 ? !1 : Y.value.length >= O.value, gi = ($) => {
5280
5280
  if (!sn($)) {
5281
- if (J && J.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
5281
+ if (J && J.value && !xe($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
5282
5282
  Ae.value = !0, $.then((B) => {
5283
5283
  Ae.value = !1, ns(B);
5284
5284
  });
@@ -5289,14 +5289,14 @@ function i7(t, e, a) {
5289
5289
  }, ns = ($) => {
5290
5290
  switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), s.value) {
5291
5291
  case "single":
5292
- if ($ && ze($)) {
5292
+ if ($ && xe($)) {
5293
5293
  q.value && It($), Z.value && (nt(), st());
5294
5294
  return;
5295
5295
  }
5296
5296
  $ && rn($), L.value && he(), R.value && (nt(), st()), $ && Et($);
5297
5297
  break;
5298
5298
  case "multiple":
5299
- if ($ && ze($)) {
5299
+ if ($ && xe($)) {
5300
5300
  It($), Z.value && (nt(), st());
5301
5301
  return;
5302
5302
  }
@@ -5307,7 +5307,7 @@ function i7(t, e, a) {
5307
5307
  $ && (rn($), Et($)), L.value && he(), r.value && nt(), R.value && st();
5308
5308
  break;
5309
5309
  case "tags":
5310
- if ($ && ze($)) {
5310
+ if ($ && xe($)) {
5311
5311
  It($), Z.value && (nt(), st());
5312
5312
  return;
5313
5313
  }
@@ -5324,21 +5324,21 @@ function i7(t, e, a) {
5324
5324
  switch (s.value) {
5325
5325
  case "multiple":
5326
5326
  case "tags":
5327
- bi($[M.value]) ? It($[M.value]) : Et(
5328
- $[M.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
5327
+ bi($[A.value]) ? It($[A.value]) : Et(
5328
+ $[A.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
5329
5329
  ), r.value && Kt.value && Gt(an.value.filter((B) => !B[ae.value])[Kt.value.index]);
5330
5330
  break;
5331
5331
  }
5332
5332
  R.value && tn();
5333
5333
  }
5334
5334
  }, rn = ($) => {
5335
- xe($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
5335
+ Ye($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
5336
5336
  }, yi = () => {
5337
- s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
5338
- }, bi = ($) => $.find((B) => !ze(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
5337
+ s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !xe($)));
5338
+ }, bi = ($) => $.find((B) => !xe(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !xe(B)) === void 0, Ye = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && xe($), Si = ($) => {
5339
5339
  it.value.push($);
5340
5340
  }, Mi = ($) => m.value ? $.filter(
5341
- (B) => X.value ? B.__VISIBLE__.length : B[M.value].length
5341
+ (B) => X.value ? B.__VISIBLE__.length : B[A.value].length
5342
5342
  ) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), ln = ($, B = !0) => {
5343
5343
  let oe = $;
5344
5344
  if (X.value && C.value) {
@@ -5368,14 +5368,14 @@ function i7(t, e, a) {
5368
5368
  })), cn = () => {
5369
5369
  if (nn.value)
5370
5370
  if (s.value === "single") {
5371
- let $ = xe(Y.value[H.value]);
5371
+ let $ = Ye(Y.value[H.value]);
5372
5372
  if ($ !== void 0) {
5373
5373
  let B = $[u.value];
5374
5374
  Y.value[u.value] = B, w.value && (V.value[u.value] = B);
5375
5375
  }
5376
5376
  } else
5377
5377
  Y.value.forEach(($, B) => {
5378
- let oe = xe(Y.value[B][H.value]);
5378
+ let oe = Ye(Y.value[B][H.value]);
5379
5379
  if (oe !== void 0) {
5380
5380
  let me = oe[u.value];
5381
5381
  Y.value[B][u.value] = me, w.value && (V.value[B][u.value] = me);
@@ -5383,11 +5383,11 @@ function i7(t, e, a) {
5383
5383
  });
5384
5384
  }, Ai = ($) => {
5385
5385
  ka($);
5386
- }, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (F.value ? {
5386
+ }, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? Ye($) || (F.value ? {
5387
5387
  [u.value]: $,
5388
5388
  [H.value]: $,
5389
5389
  [yt.value[0]]: $
5390
- } : {}) : $.filter((B) => !!xe(B) || F.value).map((B) => xe(B) || {
5390
+ } : {}) : $.filter((B) => !!Ye(B) || F.value).map((B) => Ye(B) || {
5391
5391
  [u.value]: B,
5392
5392
  [H.value]: B,
5393
5393
  [yt.value[0]]: B
@@ -5426,7 +5426,7 @@ function i7(t, e, a) {
5426
5426
  }, { deep: !0 }), de(n, ($, B) => {
5427
5427
  typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(), cn());
5428
5428
  }), de(u, cn), de(i, ($, B) => {
5429
- qe.value = N.value && $ === -1 ? 10 : $;
5429
+ ze.value = N.value && $ === -1 ? 10 : $;
5430
5430
  }), {
5431
5431
  pfo: Qt,
5432
5432
  fo: ot,
@@ -5443,16 +5443,16 @@ function i7(t, e, a) {
5443
5443
  noResults: vi,
5444
5444
  resolving: Ae,
5445
5445
  busy: mi,
5446
- offset: qe,
5446
+ offset: ze,
5447
5447
  select: Et,
5448
5448
  deselect: It,
5449
5449
  remove: ts,
5450
5450
  selectAll: yi,
5451
5451
  clear: as,
5452
- isSelected: ze,
5452
+ isSelected: xe,
5453
5453
  isDisabled: sn,
5454
5454
  isMax: on,
5455
- getOption: xe,
5455
+ getOption: Ye,
5456
5456
  handleOptionClick: gi,
5457
5457
  handleGroupClick: _i,
5458
5458
  handleTagRemove: Ci,
@@ -5488,7 +5488,7 @@ function o7(t, e, a) {
5488
5488
  }), N = S(() => {
5489
5489
  const V = re(k.value).__VISIBLE__.filter((X) => !X[u.value]);
5490
5490
  return V[V.map((X) => X[n.value]).indexOf(k.value[n.value]) + 1];
5491
- }), M = S(() => [...x.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = S(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), I = (V) => k.value && (!V.group && k.value[n.value] === V[n.value] || V.group !== void 0 && k.value[i.value] === V[i.value]) ? !0 : void 0, J = () => {
5491
+ }), A = S(() => [...x.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = S(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), I = (V) => k.value && (!V.group && k.value[n.value] === V[n.value] || V.group !== void 0 && k.value[i.value] === V[i.value]) ? !0 : void 0, J = () => {
5492
5492
  _(H.value[0] || null);
5493
5493
  }, ae = () => {
5494
5494
  !k.value || k.value[u.value] === !0 || (q.value ? b(k.value) : w(k.value));
@@ -5511,8 +5511,8 @@ function o7(t, e, a) {
5511
5511
  let V = H.value[H.value.length - 1];
5512
5512
  r.value && U.value && (V = m.value, V === void 0 && (V = Z.value)), _(V || null);
5513
5513
  } else if (r.value && U.value) {
5514
- let V = q.value ? M.value : E.value;
5515
- V === void 0 && (V = q.value ? x.value : O.value, V.__CREATE__ && (V = M.value, V === void 0 && (V = x.value))), _(V || /* istanbul ignore next */
5514
+ let V = q.value ? A.value : E.value;
5515
+ V === void 0 && (V = q.value ? x.value : O.value, V.__CREATE__ && (V = A.value, V === void 0 && (V = x.value))), _(V || /* istanbul ignore next */
5516
5516
  null);
5517
5517
  } else {
5518
5518
  let V = H.value.map((X) => X[n.value]).indexOf(k.value[n.value]) - 1;
@@ -5615,7 +5615,7 @@ function r7(t) {
5615
5615
  function l7(t) {
5616
5616
  return t === Se(t) || !Pe(t) ? Rn(t) : r7(t);
5617
5617
  }
5618
- function Ze(t) {
5618
+ function We(t) {
5619
5619
  return t ? (t.nodeName || "").toLowerCase() : null;
5620
5620
  }
5621
5621
  function gt(t) {
@@ -5647,7 +5647,7 @@ function c7(t, e, a) {
5647
5647
  x: 0,
5648
5648
  y: 0
5649
5649
  };
5650
- return (n || !n && !a) && ((Ze(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
5650
+ return (n || !n && !a) && ((We(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
5651
5651
  jn(o)) && (r = l7(e)), Pe(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Nn(o))), {
5652
5652
  x: i.left + r.scrollLeft - l.x,
5653
5653
  y: i.top + r.scrollTop - l.y,
@@ -5665,7 +5665,7 @@ function si(t) {
5665
5665
  };
5666
5666
  }
5667
5667
  function Qa(t) {
5668
- return Ze(t) === "html" ? t : (
5668
+ return We(t) === "html" ? t : (
5669
5669
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
5670
5670
  // $FlowFixMe[incompatible-return]
5671
5671
  // $FlowFixMe[prop-missing]
@@ -5677,7 +5677,7 @@ function Qa(t) {
5677
5677
  );
5678
5678
  }
5679
5679
  function ii(t) {
5680
- return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Qa(t));
5680
+ return ["html", "body", "#document"].indexOf(We(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Qa(t));
5681
5681
  }
5682
5682
  function ia(t, e) {
5683
5683
  var a;
@@ -5689,7 +5689,7 @@ function ia(t, e) {
5689
5689
  );
5690
5690
  }
5691
5691
  function d7(t) {
5692
- return ["table", "td", "th"].indexOf(Ze(t)) >= 0;
5692
+ return ["table", "td", "th"].indexOf(We(t)) >= 0;
5693
5693
  }
5694
5694
  function gs(t) {
5695
5695
  return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
@@ -5703,7 +5703,7 @@ function p7(t) {
5703
5703
  return null;
5704
5704
  }
5705
5705
  var s = Qa(t);
5706
- for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ze(s)) < 0; ) {
5706
+ for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(We(s)) < 0; ) {
5707
5707
  var o = tt(s);
5708
5708
  if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
5709
5709
  return s;
@@ -5714,9 +5714,9 @@ function p7(t) {
5714
5714
  function Ja(t) {
5715
5715
  for (var e = Se(t), a = gs(t); a && d7(a) && tt(a).position === "static"; )
5716
5716
  a = gs(a);
5717
- return a && (Ze(a) === "html" || Ze(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
5717
+ return a && (We(a) === "html" || We(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
5718
5718
  }
5719
- var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", en = [Re, We, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ en.reduce(function(t, e) {
5719
+ var Re = "top", qe = "bottom", vt = "right", Ge = "left", Fn = "auto", en = [Re, qe, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ en.reduce(function(t, e) {
5720
5720
  return t.concat([e + "-" + qt, e + "-" + da]);
5721
5721
  }, []), h7 = /* @__PURE__ */ [].concat(en, [Fn]).reduce(function(t, e) {
5722
5722
  return t.concat([e, e + "-" + qt, e + "-" + da]);
@@ -5825,7 +5825,7 @@ function ys(t, e, a) {
5825
5825
  function D7(t) {
5826
5826
  var e = ia(Qa(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? Ja(t) : t;
5827
5827
  return Mt(n) ? e.filter(function(s) {
5828
- return Mt(s) && L7(s, n) && Ze(s) !== "body";
5828
+ return Mt(s) && L7(s, n) && We(s) !== "body";
5829
5829
  }) : [];
5830
5830
  }
5831
5831
  function P7(t, e, a, n) {
@@ -5853,7 +5853,7 @@ function li(t) {
5853
5853
  y: e.y - a.height
5854
5854
  };
5855
5855
  break;
5856
- case We:
5856
+ case qe:
5857
5857
  l = {
5858
5858
  x: i,
5859
5859
  y: e.y + e.height
@@ -5923,7 +5923,7 @@ function Un(t, e) {
5923
5923
  if (d === sa && x) {
5924
5924
  var R = x[s];
5925
5925
  Object.keys(O).forEach(function(Z) {
5926
- var ie = [vt, We].indexOf(Z) >= 0 ? 1 : -1, E = [Re, We].indexOf(Z) >= 0 ? "y" : "x";
5926
+ var ie = [vt, qe].indexOf(Z) >= 0 ? 1 : -1, E = [Re, qe].indexOf(Z) >= 0 ? "y" : "x";
5927
5927
  O[Z] += R[E] * ie;
5928
5928
  });
5929
5929
  }
@@ -6103,14 +6103,14 @@ function $s(t) {
6103
6103
  if (c) {
6104
6104
  var H = Ja(a), F = "clientHeight", U = "clientWidth";
6105
6105
  if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
6106
- D = We;
6106
+ D = qe;
6107
6107
  var q = f && H === L && L.visualViewport ? L.visualViewport.height : (
6108
6108
  // $FlowFixMe[prop-missing]
6109
6109
  H[F]
6110
6110
  );
6111
6111
  b -= q - n.height, b *= l ? 1 : -1;
6112
6112
  }
6113
- if (s === Ge || (s === Re || s === We) && o === da) {
6113
+ if (s === Ge || (s === Re || s === qe) && o === da) {
6114
6114
  C = vt;
6115
6115
  var O = f && H === L && L.visualViewport ? L.visualViewport.width : (
6116
6116
  // $FlowFixMe[prop-missing]
@@ -6168,7 +6168,7 @@ function x7(t) {
6168
6168
  var e = t.state;
6169
6169
  Object.keys(e.elements).forEach(function(a) {
6170
6170
  var n = e.styles[a] || {}, s = e.attributes[a] || {}, o = e.elements[a];
6171
- !Pe(o) || !Ze(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
6171
+ !Pe(o) || !We(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
6172
6172
  var r = s[i];
6173
6173
  r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
6174
6174
  }));
@@ -6192,7 +6192,7 @@ function Y7(t) {
6192
6192
  var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(l, c) {
6193
6193
  return l[c] = "", l;
6194
6194
  }, {});
6195
- !Pe(s) || !Ze(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
6195
+ !Pe(s) || !We(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
6196
6196
  s.removeAttribute(l);
6197
6197
  }));
6198
6198
  });
@@ -6238,14 +6238,14 @@ function ep(t) {
6238
6238
  };
6239
6239
  if (H) {
6240
6240
  if (o) {
6241
- var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width", M = H[D], m = M + y[ie], I = M - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
6241
+ var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? qe : vt, N = D === "y" ? "height" : "width", A = H[D], m = A + y[ie], I = A - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
6242
6242
  width: 0,
6243
6243
  height: 0
6244
- }, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && Ja(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, tn = M + we - _a - nt, st = M + Kt - _a, ya = Ia(h ? Na(m, tn) : m, M, h ? kt(I, st) : I);
6245
- H[D] = ya, R[D] = ya - M;
6244
+ }, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && Ja(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, tn = A + we - _a - nt, st = A + Kt - _a, ya = Ia(h ? Na(m, tn) : m, A, h ? kt(I, st) : I);
6245
+ H[D] = ya, R[D] = ya - A;
6246
6246
  }
6247
6247
  if (r) {
6248
- var it, Ne = D === "x" ? Re : Ge, Ae = D === "x" ? We : vt, Be = H[L], qe = L === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Ae], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = x == null ? void 0 : x[L]) != null ? it : 0, ot = Te ? Xt : Be - F[qe] - U[qe] - Qt + O.altAxis, _t = Te ? Be + F[qe] + U[qe] - Qt - O.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
6248
+ var it, Ne = D === "x" ? Re : Ge, Ae = D === "x" ? qe : vt, Be = H[L], ze = L === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Ae], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = x == null ? void 0 : x[L]) != null ? it : 0, ot = Te ? Xt : Be - F[ze] - U[ze] - Qt + O.altAxis, _t = Te ? Be + F[ze] + U[ze] - Qt - O.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
6249
6249
  H[L] = wa, R[L] = wa - Be;
6250
6250
  }
6251
6251
  e.modifiersData[n] = R;
@@ -6316,16 +6316,16 @@ function op(t) {
6316
6316
  allowedAutoPlacements: b
6317
6317
  }) : Y);
6318
6318
  }, []), L = e.rects.reference, H = e.rects.popper, F = /* @__PURE__ */ new Map(), U = !0, q = D[0], O = 0; O < D.length; O++) {
6319
- var x = D[O], R = ct(x), Z = zt(x) === qt, ie = [Re, We].indexOf(R) >= 0, E = ie ? "width" : "height", N = Un(e, {
6319
+ var x = D[O], R = ct(x), Z = zt(x) === qt, ie = [Re, qe].indexOf(R) >= 0, E = ie ? "width" : "height", N = Un(e, {
6320
6320
  placement: x,
6321
6321
  boundary: u,
6322
6322
  rootBoundary: f,
6323
6323
  altBoundary: d,
6324
6324
  padding: c
6325
- }), M = ie ? Z ? vt : Ge : Z ? We : Re;
6326
- L[E] > H[E] && (M = La(M));
6327
- var m = La(M), I = [];
6328
- if (o && I.push(N[R] <= 0), r && I.push(N[M] <= 0, N[m] <= 0), I.every(function(re) {
6325
+ }), A = ie ? Z ? vt : Ge : Z ? qe : Re;
6326
+ L[E] > H[E] && (A = La(A));
6327
+ var m = La(A), I = [];
6328
+ if (o && I.push(N[R] <= 0), r && I.push(N[A] <= 0, N[m] <= 0), I.every(function(re) {
6329
6329
  return re;
6330
6330
  })) {
6331
6331
  q = x, U = !1;
@@ -7814,7 +7814,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7814
7814
  onChange: (y) => c(y, h.id)
7815
7815
  }, {
7816
7816
  tag: W(({ option: y, handleTagRemove: k }) => [
7817
- A(Je, {
7817
+ M(Je, {
7818
7818
  "user-name": y.label,
7819
7819
  "avatar-url": y.avatar,
7820
7820
  "is-closable": !0,
@@ -7919,7 +7919,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7919
7919
  target: "_blank",
7920
7920
  rel: "noopener noreferrer"
7921
7921
  }, [
7922
- A(pe, {
7922
+ M(pe, {
7923
7923
  class: "ao-file__icon",
7924
7924
  name: "AttachFileRounded",
7925
7925
  size: "sm"
@@ -7940,7 +7940,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7940
7940
  u.isEditable ? (p(), g("li", Gp, [
7941
7941
  v("label", Xp, [
7942
7942
  v("div", Qp, [
7943
- A(pe, {
7943
+ M(pe, {
7944
7944
  name: "Add",
7945
7945
  size: "sm"
7946
7946
  }),
@@ -8030,14 +8030,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8030
8030
  ]),
8031
8031
  b.isEditable ? (p(), g("div", lf, [
8032
8032
  Q(o) ? (p(), g(ve, { key: 0 }, [
8033
- A(ce, {
8033
+ M(ce, {
8034
8034
  "icon-name": "CloseRounded",
8035
8035
  size: "sm",
8036
8036
  variant: "ghost",
8037
8037
  color: "neutral",
8038
8038
  onClick: Q(f)
8039
8039
  }, null, 8, ["onClick"]),
8040
- A(ce, {
8040
+ M(ce, {
8041
8041
  "icon-name": "CheckSmallRounded",
8042
8042
  size: "sm",
8043
8043
  variant: "solid",
@@ -8046,14 +8046,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8046
8046
  onClick: Q(d)
8047
8047
  }, null, 8, ["onClick"])
8048
8048
  ], 64)) : (p(), g(ve, { key: 1 }, [
8049
- A(ce, {
8049
+ M(ce, {
8050
8050
  label: b.$t("activity.comment.delete"),
8051
8051
  size: "sm",
8052
8052
  variant: "ghost",
8053
8053
  color: "neutral",
8054
8054
  onClick: h
8055
8055
  }, null, 8, ["label"]),
8056
- A(ce, {
8056
+ M(ce, {
8057
8057
  label: b.$t("activity.comment.edit"),
8058
8058
  size: "sm",
8059
8059
  variant: "ghost",
@@ -8129,7 +8129,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
8129
8129
  ]
8130
8130
  ]),
8131
8131
  v("div", ff, [
8132
- A(ce, {
8132
+ M(ce, {
8133
8133
  type: "submit",
8134
8134
  "icon-name": "SendRounded",
8135
8135
  color: "primary",
@@ -8395,7 +8395,7 @@ const yn = /* @__PURE__ */ z({
8395
8395
  e("updateComment", m);
8396
8396
  }, N = (m) => {
8397
8397
  e("removeComment", m);
8398
- }, M = S(() => {
8398
+ }, A = S(() => {
8399
8399
  var m, I;
8400
8400
  return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((I = a.activity.createdBy) == null ? void 0 : I.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
8401
8401
  });
@@ -8409,7 +8409,7 @@ const yn = /* @__PURE__ */ z({
8409
8409
  v("div", Cf, [
8410
8410
  v("div", gf, [
8411
8411
  m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) : T("", !0),
8412
- A(ye, {
8412
+ M(ye, {
8413
8413
  title: m.activity.name || "",
8414
8414
  level: 4,
8415
8415
  "is-editable": n.value,
@@ -8418,7 +8418,7 @@ const yn = /* @__PURE__ */ z({
8418
8418
  v("div", yf, [
8419
8419
  U.value ? (p(), g("label", bf, [
8420
8420
  v("span", wf, G(m.$t("activity.project.label")), 1),
8421
- A($e, {
8421
+ M($e, {
8422
8422
  options: U.value,
8423
8423
  value: (J = m.activity.project) == null ? void 0 : J.id,
8424
8424
  searchable: !0,
@@ -8429,7 +8429,7 @@ const yn = /* @__PURE__ */ z({
8429
8429
  ])) : T("", !0),
8430
8430
  q.value ? (p(), g("label", $f, [
8431
8431
  v("span", kf, G(m.$t("activity.milestone.label")), 1),
8432
- A($e, {
8432
+ M($e, {
8433
8433
  options: q.value,
8434
8434
  value: (ae = m.activity.milestone) == null ? void 0 : ae.id,
8435
8435
  searchable: !0,
@@ -8444,7 +8444,7 @@ const yn = /* @__PURE__ */ z({
8444
8444
  v("div", Sf, [
8445
8445
  v("fieldset", Mf, [
8446
8446
  v("div", Af, [
8447
- A(af, {
8447
+ M(af, {
8448
8448
  attachments: m.activity.attachments,
8449
8449
  "is-editable": m.attachmentEnabled && n.value && m.isTemplate !== !0 && !!m.userId,
8450
8450
  onAdd: H,
@@ -8499,14 +8499,14 @@ const yn = /* @__PURE__ */ z({
8499
8499
  ]),
8500
8500
  v("fieldset", Pf, [
8501
8501
  v("div", Vf, [
8502
- A(pe, { name: "SelectCheckBox" }),
8503
- A(ye, {
8502
+ M(pe, { name: "SelectCheckBox" }),
8503
+ M(ye, {
8504
8504
  level: 4,
8505
8505
  title: m.$t("activity.tasks.title")
8506
8506
  }, null, 8, ["title"])
8507
8507
  ]),
8508
8508
  v("div", Bf, [
8509
- A(Wp, {
8509
+ M(Wp, {
8510
8510
  class: "ao-activity-details__tasks ao-field__row",
8511
8511
  tasks: m.activity.tasks || [],
8512
8512
  "activity-id": m.activity.id,
@@ -8522,13 +8522,13 @@ const yn = /* @__PURE__ */ z({
8522
8522
  ]),
8523
8523
  m.isTemplate !== !0 && m.userId ? (p(), g("div", Rf, [
8524
8524
  v("div", Nf, [
8525
- A(pe, { name: "ChatOutline" }),
8526
- A(ye, {
8525
+ M(pe, { name: "ChatOutline" }),
8526
+ M(ye, {
8527
8527
  level: 4,
8528
8528
  title: m.$t("activity.comments.title")
8529
8529
  }, null, 8, ["title"])
8530
8530
  ]),
8531
- A(hf, {
8531
+ M(hf, {
8532
8532
  comments: m.activity.comments,
8533
8533
  users: m.users,
8534
8534
  "user-id": m.userId,
@@ -8541,7 +8541,7 @@ const yn = /* @__PURE__ */ z({
8541
8541
  ]),
8542
8542
  v("div", jf, [
8543
8543
  v("div", Ff, [
8544
- A(pe, {
8544
+ M(pe, {
8545
8545
  name: "CloseRounded",
8546
8546
  onClick: I[2] || (I[2] = (ne) => m.$emit("close"))
8547
8547
  })
@@ -8549,7 +8549,7 @@ const yn = /* @__PURE__ */ z({
8549
8549
  R.value ? (p(), g("div", Uf, [
8550
8550
  v("label", Zf, [
8551
8551
  v("span", Wf, G(m.$t("activity.status.label")), 1),
8552
- A($e, {
8552
+ M($e, {
8553
8553
  class: "ao-activity-details__multiselect",
8554
8554
  options: R.value,
8555
8555
  value: (le = m.activity.status) == null ? void 0 : le.id,
@@ -8564,7 +8564,7 @@ const yn = /* @__PURE__ */ z({
8564
8564
  v("div", qf, [
8565
8565
  v("div", zf, [
8566
8566
  v("span", xf, G(m.$t("activity.assignee.label")), 1),
8567
- A($e, {
8567
+ M($e, {
8568
8568
  modelValue: L.value,
8569
8569
  "onUpdate:modelValue": I[3] || (I[3] = (ne) => L.value = ne),
8570
8570
  class: "ao-activity-details__assignees ao-activity-details__multiselect",
@@ -8581,7 +8581,7 @@ const yn = /* @__PURE__ */ z({
8581
8581
  option: ne,
8582
8582
  handleTagRemove: re
8583
8583
  }) => [
8584
- A(Je, {
8584
+ M(Je, {
8585
8585
  "user-name": ne.label,
8586
8586
  "avatar-url": ne.avatar,
8587
8587
  "is-closable": !0,
@@ -8615,7 +8615,7 @@ const yn = /* @__PURE__ */ z({
8615
8615
  v("div", Jf, [
8616
8616
  u.value ? (p(), g("div", e9, [
8617
8617
  v("label", t9, [
8618
- A($e, {
8618
+ M($e, {
8619
8619
  modelValue: f.value,
8620
8620
  "onUpdate:modelValue": I[5] || (I[5] = (ne) => f.value = ne),
8621
8621
  class: "ao-activity-details__multiselect",
@@ -8631,7 +8631,7 @@ const yn = /* @__PURE__ */ z({
8631
8631
  te(m.$slots, "default", { activity: m.activity })
8632
8632
  ]),
8633
8633
  v("div", a9, [
8634
- A(yn, {
8634
+ M(yn, {
8635
8635
  modelValue: r.value,
8636
8636
  "onUpdate:modelValue": I[6] || (I[6] = (ne) => r.value = ne),
8637
8637
  modelModifiers: { lazy: !0 },
@@ -8646,7 +8646,7 @@ const yn = /* @__PURE__ */ z({
8646
8646
  }, null, 8, ["modelValue", "label", "disabled"])
8647
8647
  ]),
8648
8648
  m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", n9, [
8649
- A(yn, {
8649
+ M(yn, {
8650
8650
  modelValue: l.value,
8651
8651
  "onUpdate:modelValue": I[7] || (I[7] = (ne) => l.value = ne),
8652
8652
  modelModifiers: { lazy: !0 },
@@ -8661,8 +8661,8 @@ const yn = /* @__PURE__ */ z({
8661
8661
  ])) : T("", !0),
8662
8662
  v("fieldset", s9, [
8663
8663
  v("div", i9, [
8664
- A(pe, { name: "FlowsheetOutlineRounded" }),
8665
- A(ye, {
8664
+ M(pe, { name: "FlowsheetOutlineRounded" }),
8665
+ M(ye, {
8666
8666
  level: 4,
8667
8667
  title: m.$t("activity.dependencies.title")
8668
8668
  }, null, 8, ["title"])
@@ -8671,7 +8671,7 @@ const yn = /* @__PURE__ */ z({
8671
8671
  v("div", r9, [
8672
8672
  v("label", l9, [
8673
8673
  v("span", u9, G(m.$t("activity.dependingOn.label")), 1),
8674
- A($e, {
8674
+ M($e, {
8675
8675
  modelValue: h.value,
8676
8676
  "onUpdate:modelValue": I[8] || (I[8] = (ne) => h.value = ne),
8677
8677
  class: "ao-activity-details__multiselect",
@@ -8687,7 +8687,7 @@ const yn = /* @__PURE__ */ z({
8687
8687
  v("div", c9, [
8688
8688
  v("label", d9, [
8689
8689
  v("span", p9, G(m.$t("activity.blocking.label")), 1),
8690
- A($e, {
8690
+ M($e, {
8691
8691
  modelValue: b.value,
8692
8692
  "onUpdate:modelValue": I[9] || (I[9] = (ne) => b.value = ne),
8693
8693
  class: "ao-activity-details__multiselect",
@@ -8702,13 +8702,13 @@ const yn = /* @__PURE__ */ z({
8702
8702
  ])
8703
8703
  ])
8704
8704
  ]),
8705
- m.isTemplate !== !0 && M.value ? (p(), g("div", f9, [
8705
+ m.isTemplate !== !0 && A.value ? (p(), g("div", f9, [
8706
8706
  v("div", v9, [
8707
- A(Je, {
8708
- "user-name": M.value,
8707
+ M(Je, {
8708
+ "user-name": A.value,
8709
8709
  color: "black"
8710
8710
  }, null, 8, ["user-name"]),
8711
- v("span", null, G(M.value), 1)
8711
+ v("span", null, G(A.value), 1)
8712
8712
  ])
8713
8713
  ])) : T("", !0)
8714
8714
  ])
@@ -8795,22 +8795,22 @@ const h9 = /* @__PURE__ */ z({
8795
8795
  }), y = S(() => Object.values(j2));
8796
8796
  return (k, _) => (p(), P(ht(k.tagName), { class: "ao-rule-line" }, {
8797
8797
  default: W(() => [
8798
- A(Q(lt), {
8798
+ M(Q(lt), {
8799
8799
  modelValue: s.value,
8800
8800
  "onUpdate:modelValue": _[0] || (_[0] = (C) => s.value = C),
8801
8801
  options: o.value
8802
8802
  }, null, 8, ["modelValue", "options"]),
8803
- A(Q(lt), {
8803
+ M(Q(lt), {
8804
8804
  modelValue: i.value,
8805
8805
  "onUpdate:modelValue": _[1] || (_[1] = (C) => i.value = C),
8806
8806
  options: r.value
8807
8807
  }, null, 8, ["modelValue", "options"]),
8808
- A(Q(lt), {
8808
+ M(Q(lt), {
8809
8809
  modelValue: d.value,
8810
8810
  "onUpdate:modelValue": _[2] || (_[2] = (C) => d.value = C),
8811
8811
  options: h.value
8812
8812
  }, null, 8, ["modelValue", "options"]),
8813
- A(Q(lt), {
8813
+ M(Q(lt), {
8814
8814
  modelValue: c.value,
8815
8815
  "onUpdate:modelValue": _[3] || (_[3] = (C) => c.value = C),
8816
8816
  options: u.value
@@ -8827,12 +8827,12 @@ const h9 = /* @__PURE__ */ z({
8827
8827
  { number: !0 }
8828
8828
  ]
8829
8829
  ]),
8830
- A(Q(lt), {
8830
+ M(Q(lt), {
8831
8831
  modelValue: b.value,
8832
8832
  "onUpdate:modelValue": _[5] || (_[5] = (C) => b.value = C),
8833
8833
  options: y.value
8834
8834
  }, null, 8, ["modelValue", "options"]),
8835
- A(ce, {
8835
+ M(ce, {
8836
8836
  class: "ao-rule-line__remove",
8837
8837
  "icon-name": "CloseRounded",
8838
8838
  variant: "ghost",
@@ -8861,7 +8861,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
8861
8861
  };
8862
8862
  return (s, o) => (p(), P(In, null, {
8863
8863
  header: W(() => [
8864
- A(ye, {
8864
+ M(ye, {
8865
8865
  title: s.$t("template.rules.title"),
8866
8866
  level: 2
8867
8867
  }, null, 8, ["title"])
@@ -8879,7 +8879,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
8879
8879
  onClose: () => n(i.id)
8880
8880
  }, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
8881
8881
  ]),
8882
- A(Ct, {
8882
+ M(Ct, {
8883
8883
  label: s.$t("template.rules.add"),
8884
8884
  "icon-name": "Add",
8885
8885
  onClick: a
@@ -8915,8 +8915,8 @@ const _9 = {
8915
8915
  setup(t, { emit: e }) {
8916
8916
  const a = t, { t: n } = Tt(), s = S(
8917
8917
  () => {
8918
- var M;
8919
- return (M = a.templates) == null ? void 0 : M.find((m) => m.id === a.templateId);
8918
+ var A;
8919
+ return (A = a.templates) == null ? void 0 : A.find((m) => m.id === a.templateId);
8920
8920
  }
8921
8921
  ), o = ee(!1);
8922
8922
  de(
@@ -8924,50 +8924,50 @@ const _9 = {
8924
8924
  () => o.value = !1
8925
8925
  ), de(
8926
8926
  () => {
8927
- var M;
8928
- return (M = s.value) == null ? void 0 : M.phases;
8927
+ var A;
8928
+ return (A = s.value) == null ? void 0 : A.phases;
8929
8929
  },
8930
- (M, m) => {
8931
- o.value && Xe(M, m);
8930
+ (A, m) => {
8931
+ o.value && Xe(A, m);
8932
8932
  }
8933
8933
  );
8934
8934
  const i = S(() => {
8935
- var M, m;
8936
- return (m = (M = s == null ? void 0 : s.value) == null ? void 0 : M.phases) == null ? void 0 : m.find((I) => I.id === a.phaseId);
8935
+ var A, m;
8936
+ return (m = (A = s == null ? void 0 : s.value) == null ? void 0 : A.phases) == null ? void 0 : m.find((I) => I.id === a.phaseId);
8937
8937
  });
8938
8938
  de(
8939
8939
  () => {
8940
- var M;
8941
- return (M = i.value) == null ? void 0 : M.milestones;
8940
+ var A;
8941
+ return (A = i.value) == null ? void 0 : A.milestones;
8942
8942
  },
8943
- (M, m) => {
8944
- o.value && Xe(M, m);
8943
+ (A, m) => {
8944
+ o.value && Xe(A, m);
8945
8945
  }
8946
8946
  );
8947
8947
  const r = S(() => {
8948
- var M, m;
8949
- return (m = (M = i.value) == null ? void 0 : M.milestones) == null ? void 0 : m.find(
8948
+ var A, m;
8949
+ return (m = (A = i.value) == null ? void 0 : A.milestones) == null ? void 0 : m.find(
8950
8950
  (I) => I.id === a.milestoneId
8951
8951
  );
8952
8952
  });
8953
8953
  de(
8954
8954
  () => {
8955
- var M;
8956
- return (M = r.value) == null ? void 0 : M.activities;
8955
+ var A;
8956
+ return (A = r.value) == null ? void 0 : A.activities;
8957
8957
  },
8958
- (M, m) => {
8959
- o.value && Xe(M, m);
8958
+ (A, m) => {
8959
+ o.value && Xe(A, m);
8960
8960
  }
8961
8961
  );
8962
8962
  const l = S(() => {
8963
- var M, m;
8964
- return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((I, J) => {
8963
+ var A, m;
8964
+ return ((m = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : m.reduce((I, J) => {
8965
8965
  const ae = J.milestones || [];
8966
8966
  return [...I, ...ae];
8967
8967
  }, [])) || [];
8968
8968
  }), c = S(() => {
8969
- var M, m;
8970
- return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((I, J) => {
8969
+ var A, m;
8970
+ return ((m = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : m.reduce((I, J) => {
8971
8971
  const le = (J.milestones || []).reduce(
8972
8972
  (ne, re) => re.activities ? [...ne, ...re.activities] : ne,
8973
8973
  []
@@ -8975,17 +8975,17 @@ const _9 = {
8975
8975
  return [...I, ...le];
8976
8976
  }, [])) || [];
8977
8977
  }), u = S(() => {
8978
- var M, m;
8979
- return (m = (M = r.value) == null ? void 0 : M.activities) == null ? void 0 : m.find(
8978
+ var A, m;
8979
+ return (m = (A = r.value) == null ? void 0 : A.activities) == null ? void 0 : m.find(
8980
8980
  (I) => I.id === a.activityId
8981
8981
  );
8982
8982
  }), f = S(() => {
8983
- var M;
8984
- return ((M = s.value) == null ? void 0 : M.name) || a.templateId;
8983
+ var A;
8984
+ return ((A = s.value) == null ? void 0 : A.name) || a.templateId;
8985
8985
  }), d = () => {
8986
8986
  if (!s.value)
8987
8987
  return;
8988
- const { name: M, rank: m } = Bt(
8988
+ const { name: A, rank: m } = Bt(
8989
8989
  s.value.phases,
8990
8990
  "phase",
8991
8991
  n
@@ -8994,35 +8994,35 @@ const _9 = {
8994
8994
  type: Ce.PHASES,
8995
8995
  templateId: a.templateId,
8996
8996
  item: {
8997
- name: M,
8997
+ name: A,
8998
8998
  rank: m
8999
8999
  }
9000
9000
  });
9001
- }, h = (M) => {
9001
+ }, h = (A) => {
9002
9002
  e("updateItem", {
9003
9003
  templateId: a.templateId,
9004
9004
  id: a.templateId,
9005
9005
  itemType: Ce.TEMPLATES,
9006
- data: { name: M }
9006
+ data: { name: A }
9007
9007
  });
9008
- }, w = (M) => {
9008
+ }, w = (A) => {
9009
9009
  e("removeItem", {
9010
9010
  type: Ce.PHASES,
9011
9011
  templateId: a.templateId,
9012
9012
  data: {
9013
- id: M
9013
+ id: A
9014
9014
  }
9015
9015
  });
9016
- }, b = (M, m) => {
9016
+ }, b = (A, m) => {
9017
9017
  e("updateItem", {
9018
9018
  templateId: a.templateId,
9019
- id: M,
9019
+ id: A,
9020
9020
  itemType: Ce.PHASES,
9021
9021
  data: { name: m }
9022
9022
  });
9023
- }, y = (M) => {
9024
- e("updateItem", M);
9025
- }, k = (M) => {
9023
+ }, y = (A) => {
9024
+ e("updateItem", A);
9025
+ }, k = (A) => {
9026
9026
  if (!i.value)
9027
9027
  return;
9028
9028
  const { name: m, rank: I } = Bt(
@@ -9033,32 +9033,32 @@ const _9 = {
9033
9033
  o.value = !0, e("addItem", {
9034
9034
  type: Ce.MILESTONES,
9035
9035
  templateId: a.templateId,
9036
- phaseId: M.phaseId,
9036
+ phaseId: A.phaseId,
9037
9037
  item: {
9038
9038
  name: m,
9039
9039
  rank: I,
9040
- phaseId: M.phaseId
9040
+ phaseId: A.phaseId
9041
9041
  }
9042
9042
  });
9043
- }, _ = (M) => {
9043
+ }, _ = (A) => {
9044
9044
  e("removeItem", {
9045
9045
  type: Ce.MILESTONES,
9046
9046
  templateId: a.templateId,
9047
- phaseId: M.phaseId,
9047
+ phaseId: A.phaseId,
9048
9048
  data: {
9049
- id: M.id
9049
+ id: A.id
9050
9050
  }
9051
9051
  });
9052
- }, C = (M) => {
9053
- const { id: m, ...I } = M;
9052
+ }, C = (A) => {
9053
+ const { id: m, ...I } = A;
9054
9054
  e("updateItem", {
9055
9055
  itemType: Ce.MILESTONES,
9056
9056
  id: m,
9057
9057
  templateId: a.templateId,
9058
9058
  data: I
9059
9059
  });
9060
- }, D = (M) => {
9061
- const { milestoneId: m } = M;
9060
+ }, D = (A) => {
9061
+ const { milestoneId: m } = A;
9062
9062
  if (!r.value)
9063
9063
  return;
9064
9064
  const { name: I, rank: J } = Bt(
@@ -9072,7 +9072,7 @@ const _9 = {
9072
9072
  templateId: a.templateId,
9073
9073
  item: { name: I, rank: J, milestoneId: m }
9074
9074
  });
9075
- }, L = (M) => {
9075
+ }, L = (A) => {
9076
9076
  var m, I;
9077
9077
  e("removeItem", {
9078
9078
  type: Ce.ACTIVITIES,
@@ -9080,11 +9080,11 @@ const _9 = {
9080
9080
  phaseId: (m = i.value) == null ? void 0 : m.id,
9081
9081
  milestoneId: (I = r.value) == null ? void 0 : I.id,
9082
9082
  data: {
9083
- id: M.id
9083
+ id: A.id
9084
9084
  }
9085
9085
  });
9086
- }, H = (M) => {
9087
- const { id: m, ...I } = M;
9086
+ }, H = (A) => {
9087
+ const { id: m, ...I } = A;
9088
9088
  e("updateItem", {
9089
9089
  itemType: Ce.ACTIVITIES,
9090
9090
  id: m,
@@ -9095,60 +9095,60 @@ const _9 = {
9095
9095
  F.value = !F.value;
9096
9096
  }, q = () => {
9097
9097
  e("addRule", { templateId: a.templateId });
9098
- }, O = (M) => {
9099
- e("removeRule", { id: M, templateId: a.templateId });
9100
- }, x = (M) => {
9098
+ }, O = (A) => {
9099
+ e("removeRule", { id: A, templateId: a.templateId });
9100
+ }, x = (A) => {
9101
9101
  var m;
9102
- if (M.moved) {
9103
- const I = Ca(M, ((m = s.value) == null ? void 0 : m.phases) ?? []);
9102
+ if (A.moved) {
9103
+ const I = Ca(A, ((m = s.value) == null ? void 0 : m.phases) ?? []);
9104
9104
  e("updateItem", {
9105
9105
  itemType: Ce.PHASES,
9106
- id: M.moved.element.id,
9106
+ id: A.moved.element.id,
9107
9107
  templateId: a.templateId,
9108
9108
  data: {
9109
9109
  rank: I
9110
9110
  }
9111
9111
  });
9112
9112
  }
9113
- }, R = (M) => {
9113
+ }, R = (A) => {
9114
9114
  !i.value || !r.value || !u.value || e("addItem", {
9115
9115
  type: Ce.TASKS,
9116
- activityId: M.activityId,
9116
+ activityId: A.activityId,
9117
9117
  milestoneId: r.value.id,
9118
9118
  phaseId: i.value.id,
9119
9119
  templateId: a.templateId,
9120
- item: M
9120
+ item: A
9121
9121
  });
9122
- }, Z = (M) => {
9122
+ }, Z = (A) => {
9123
9123
  !i.value || !r.value || !u.value || e("updateItem", {
9124
9124
  itemType: Ce.TASKS,
9125
- id: M.id,
9125
+ id: A.id,
9126
9126
  templateId: a.templateId,
9127
- data: M
9127
+ data: A
9128
9128
  });
9129
- }, ie = (M) => {
9129
+ }, ie = (A) => {
9130
9130
  !i.value || !r.value || !u.value || e("removeItem", {
9131
9131
  type: Ce.TASKS,
9132
9132
  activityId: u.value.id,
9133
9133
  milestoneId: r.value.id,
9134
9134
  phaseId: i.value.id,
9135
9135
  templateId: a.templateId,
9136
- data: M
9136
+ data: A
9137
9137
  });
9138
- }, E = (M) => {
9139
- e("addFiles", M);
9140
- }, N = (M) => {
9141
- e("removeFile", M);
9138
+ }, E = (A) => {
9139
+ e("addFiles", A);
9140
+ }, N = (A) => {
9141
+ e("removeFile", A);
9142
9142
  };
9143
- return (M, m) => {
9143
+ return (A, m) => {
9144
9144
  var I, J, ae, le, ne, re;
9145
9145
  return s.value ? (p(), g("div", _9, [
9146
- A(Ya, {
9146
+ M(Ya, {
9147
9147
  "can-go-back": !0,
9148
- onGoBack: m[1] || (m[1] = (Y) => M.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
9148
+ onGoBack: m[1] || (m[1] = (Y) => A.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
9149
9149
  }, {
9150
9150
  primary: W(() => [
9151
- A(ye, {
9151
+ M(ye, {
9152
9152
  title: f.value,
9153
9153
  level: 2,
9154
9154
  "is-editable": !0,
@@ -9162,7 +9162,7 @@ const _9 = {
9162
9162
  v("div", y9, [
9163
9163
  v("ol", b9, [
9164
9164
  v("li", w9, [
9165
- A(Q(mt), {
9165
+ M(Q(mt), {
9166
9166
  "model-value": s.value.phases,
9167
9167
  class: "ao-templates__list",
9168
9168
  "item-key": "id",
@@ -9170,8 +9170,8 @@ const _9 = {
9170
9170
  onChange: x
9171
9171
  }, {
9172
9172
  header: W(() => [
9173
- A(ye, {
9174
- title: M.$t("template.phases.title"),
9173
+ M(ye, {
9174
+ title: A.$t("template.phases.title"),
9175
9175
  level: 3,
9176
9176
  class: "ao-list__title"
9177
9177
  }, null, 8, ["title"])
@@ -9179,14 +9179,14 @@ const _9 = {
9179
9179
  item: W(({ element: Y }) => {
9180
9180
  var V;
9181
9181
  return [
9182
- A(l5, {
9182
+ M(l5, {
9183
9183
  id: Y.id,
9184
9184
  name: Y.name,
9185
9185
  milestones: Y.milestones,
9186
9186
  "is-active": ((V = i.value) == null ? void 0 : V.id) === Y.id,
9187
9187
  "is-draggable": !0,
9188
- onClick: (X) => M.$router.push({
9189
- params: { templateId: M.templateId, phaseId: Y.id }
9188
+ onClick: (X) => A.$router.push({
9189
+ params: { templateId: A.templateId, phaseId: Y.id }
9190
9190
  }),
9191
9191
  "onUpdate:title": (X) => {
9192
9192
  b(Y.id, X);
@@ -9197,9 +9197,9 @@ const _9 = {
9197
9197
  }),
9198
9198
  footer: W(() => [
9199
9199
  v("div", $9, [
9200
- A(Ct, {
9200
+ M(Ct, {
9201
9201
  "icon-name": "AddBoxOutlineRounded",
9202
- label: M.$t("template.phases.add"),
9202
+ label: A.$t("template.phases.add"),
9203
9203
  onClick: d
9204
9204
  }, null, 8, ["label"])
9205
9205
  ])
@@ -9210,7 +9210,7 @@ const _9 = {
9210
9210
  v("li", k9, [
9211
9211
  i.value ? (p(), P(d5, {
9212
9212
  key: 0,
9213
- "template-id": M.templateId,
9213
+ "template-id": A.templateId,
9214
9214
  phase: i.value,
9215
9215
  "milestone-id": (I = r.value) == null ? void 0 : I.id,
9216
9216
  onAddMilestone: k,
@@ -9222,7 +9222,7 @@ const _9 = {
9222
9222
  v("li", S9, [
9223
9223
  i.value && r.value ? (p(), P(v5, {
9224
9224
  key: 0,
9225
- "template-id": M.templateId,
9225
+ "template-id": A.templateId,
9226
9226
  "phase-id": (J = i.value) == null ? void 0 : J.id,
9227
9227
  milestone: r.value,
9228
9228
  "activity-id": (ae = u.value) == null ? void 0 : ae.id,
@@ -9237,19 +9237,19 @@ const _9 = {
9237
9237
  u.value ? (p(), P(Zn, {
9238
9238
  key: 0,
9239
9239
  activity: u.value,
9240
- "activity-types": M.activityTypes,
9240
+ "activity-types": A.activityTypes,
9241
9241
  breadcrumbs: `${s.value.name} / ${(le = i.value) == null ? void 0 : le.name} / ${(ne = r.value) == null ? void 0 : ne.name}`,
9242
9242
  "milestone-id": (re = r.value) == null ? void 0 : re.id,
9243
9243
  "template-activities": c.value,
9244
9244
  "template-milestones": l.value,
9245
9245
  "is-template": !0,
9246
9246
  "is-editable": !0,
9247
- users: M.users,
9247
+ users: A.users,
9248
9248
  "onUpdate:activity": m[2] || (m[2] = (Y) => {
9249
9249
  u.value && H(Y);
9250
9250
  }),
9251
9251
  "attachment-enabled": !1,
9252
- onClose: M.$router.back,
9252
+ onClose: A.$router.back,
9253
9253
  onAddSubtask: R,
9254
9254
  onUpdateSubtask: Z,
9255
9255
  onDeleteSubtask: ie,
@@ -9257,7 +9257,7 @@ const _9 = {
9257
9257
  onRemoveFile: N
9258
9258
  }, {
9259
9259
  default: W((Y) => [
9260
- te(M.$slots, "activityDetailsBody", pa(fa(Y)))
9260
+ te(A.$slots, "activityDetailsBody", pa(fa(Y)))
9261
9261
  ]),
9262
9262
  _: 3
9263
9263
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
@@ -9382,7 +9382,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
9382
9382
  "is-clickable": c.isEditable
9383
9383
  }, Ua({
9384
9384
  default: W(() => [
9385
- A(ye, {
9385
+ M(ye, {
9386
9386
  id: c.id,
9387
9387
  class: "ao-card-project-phase__title",
9388
9388
  title: s.value || "",
@@ -9395,13 +9395,13 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
9395
9395
  v("div", I9, [
9396
9396
  o.value ? (p(), g("div", L9, [
9397
9397
  v("div", H9, [
9398
- A(pe, {
9398
+ M(pe, {
9399
9399
  name: "MountainFlagOutlineRounded",
9400
9400
  size: "sm"
9401
9401
  }),
9402
9402
  v("span", D9, G(i.value) + " / " + G(o.value), 1)
9403
9403
  ]),
9404
- A(qn, {
9404
+ M(qn, {
9405
9405
  percentages: r.value,
9406
9406
  class: "ao-card-project-phase__progress"
9407
9407
  }, null, 8, ["percentages"]),
@@ -9435,7 +9435,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
9435
9435
  name: "header",
9436
9436
  fn: W(() => [
9437
9437
  v("div", E9, [
9438
- A(ce, {
9438
+ M(ce, {
9439
9439
  class: "ao-card-project-phase__archive",
9440
9440
  color: "primary",
9441
9441
  variant: "ghost",
@@ -9470,6 +9470,7 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
9470
9470
  props: {
9471
9471
  id: {},
9472
9472
  name: {},
9473
+ color: {},
9473
9474
  activities: {},
9474
9475
  closedStatus: {},
9475
9476
  isEditable: { type: Boolean },
@@ -9496,84 +9497,88 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
9496
9497
  }), i = S(() => (o.value || 0) / (s.value || 1)), r = (l) => {
9497
9498
  e("updateMilestone", { id: a.id, name: l });
9498
9499
  };
9499
- return (l, c) => (p(), P(Wn, {
9500
- class: K([
9501
- "ao-card-project-milestone",
9502
- { "ao-card-project-milestone--selected": l.isSelected }
9503
- ]),
9504
- "is-clickable": !l.readonly,
9505
- "tag-name": "li",
9506
- "is-selected": l.isSelected
9507
- }, {
9508
- default: W(() => [
9509
- v("div", R9, [
9510
- A(ye, {
9511
- id: l.id,
9512
- title: n.value || "",
9513
- level: 5,
9514
- "is-editable": !l.readonly && l.isEditable,
9515
- class: "ao-card-project-milestone__title",
9516
- "onUpdate:title": r
9517
- }, null, 8, ["id", "title", "is-editable"]),
9518
- !l.readonly && l.isEditable ? (p(), g("div", N9, [
9519
- A(ce, {
9520
- color: l.isSelected ? void 0 : "primary",
9521
- variant: "ghost",
9522
- "icon-name": "ArchiveOutlineRounded",
9523
- size: "sm",
9524
- "icon-position": "start",
9525
- corners: "round",
9526
- label: l.$t("archive"),
9527
- onClick: c[0] || (c[0] = fe(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
9528
- }, null, 8, ["color", "label"])
9529
- ])) : T("", !0)
9500
+ return (l, c) => {
9501
+ const u = Fe("AoBadge");
9502
+ return p(), P(Wn, {
9503
+ class: K([
9504
+ "ao-card-project-milestone",
9505
+ { "ao-card-project-milestone--selected": l.isSelected }
9530
9506
  ]),
9531
- v("div", j9, [
9532
- v("div", F9, [
9533
- s.value ? (p(), g(ve, { key: 0 }, [
9534
- v("div", U9, [
9535
- A(pe, {
9536
- name: "SelectCheckBox",
9537
- size: "sm"
9538
- }),
9539
- v("span", Z9, G(o.value) + " / " + G(s.value), 1)
9540
- ]),
9541
- A(qn, {
9542
- percentages: i.value,
9543
- class: "ao-card-project-milestone__progress"
9544
- }, null, 8, ["percentages"])
9545
- ], 64)) : T("", !0),
9546
- l.$slots.secondary ? (p(), g("div", W9, [
9547
- te(l.$slots, "secondary")
9507
+ "is-clickable": !l.readonly,
9508
+ "tag-name": "li",
9509
+ "is-selected": l.isSelected
9510
+ }, {
9511
+ default: W(() => [
9512
+ v("div", R9, [
9513
+ M(u, { color: l.color }, null, 8, ["color"]),
9514
+ M(ye, {
9515
+ id: l.id,
9516
+ title: n.value || "",
9517
+ level: 5,
9518
+ "is-editable": !l.readonly && l.isEditable,
9519
+ class: "ao-card-project-milestone__title",
9520
+ "onUpdate:title": r
9521
+ }, null, 8, ["id", "title", "is-editable"]),
9522
+ !l.readonly && l.isEditable ? (p(), g("div", N9, [
9523
+ M(ce, {
9524
+ color: l.isSelected ? void 0 : "primary",
9525
+ variant: "ghost",
9526
+ "icon-name": "ArchiveOutlineRounded",
9527
+ size: "sm",
9528
+ "icon-position": "start",
9529
+ corners: "round",
9530
+ label: l.$t("archive"),
9531
+ onClick: c[0] || (c[0] = fe(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
9532
+ }, null, 8, ["color", "label"])
9548
9533
  ])) : T("", !0)
9534
+ ]),
9535
+ v("div", j9, [
9536
+ v("div", F9, [
9537
+ s.value ? (p(), g(ve, { key: 0 }, [
9538
+ v("div", U9, [
9539
+ M(pe, {
9540
+ name: "SelectCheckBox",
9541
+ size: "sm"
9542
+ }),
9543
+ v("span", Z9, G(o.value) + " / " + G(s.value), 1)
9544
+ ]),
9545
+ M(qn, {
9546
+ percentages: i.value,
9547
+ class: "ao-card-project-milestone__progress"
9548
+ }, null, 8, ["percentages"])
9549
+ ], 64)) : T("", !0),
9550
+ l.$slots.secondary ? (p(), g("div", W9, [
9551
+ te(l.$slots, "secondary")
9552
+ ])) : T("", !0)
9553
+ ])
9549
9554
  ])
9550
- ])
9551
- ]),
9552
- footer: W(() => [
9553
- v("div", q9, [
9554
- l.important ? (p(), P(pe, {
9555
- key: 0,
9556
- name: "FlagRounded",
9557
- class: K(
9558
- l.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
9559
- ),
9560
- size: "sm"
9561
- }, null, 8, ["class"])) : T("", !0),
9562
- l.deadline ? (p(), g("label", z9, [
9563
- v("span", x9, G(Q(Tn)(l.deadline)), 1)
9564
- ])) : T("", !0),
9565
- l.assignee ? (p(), g("div", Y9, [
9566
- A(Je, {
9567
- "user-name": Q(zs)(l.assignee),
9568
- "avatar-url": l.assignee.avatarUrl,
9569
- color: l.isSelected ? "black" : "primary",
9555
+ ]),
9556
+ footer: W(() => [
9557
+ v("div", q9, [
9558
+ l.important ? (p(), P(pe, {
9559
+ key: 0,
9560
+ name: "FlagRounded",
9561
+ class: K(
9562
+ l.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
9563
+ ),
9570
9564
  size: "sm"
9571
- }, null, 8, ["user-name", "avatar-url", "color"])
9572
- ])) : T("", !0)
9573
- ])
9574
- ]),
9575
- _: 3
9576
- }, 8, ["class", "is-clickable", "is-selected"]));
9565
+ }, null, 8, ["class"])) : T("", !0),
9566
+ l.deadline ? (p(), g("label", z9, [
9567
+ v("span", x9, G(Q(Tn)(l.deadline)), 1)
9568
+ ])) : T("", !0),
9569
+ l.assignee ? (p(), g("div", Y9, [
9570
+ M(Je, {
9571
+ "user-name": Q(zs)(l.assignee),
9572
+ "avatar-url": l.assignee.avatarUrl,
9573
+ color: l.isSelected ? "black" : "primary",
9574
+ size: "sm"
9575
+ }, null, 8, ["user-name", "avatar-url", "color"])
9576
+ ])) : T("", !0)
9577
+ ])
9578
+ ]),
9579
+ _: 3
9580
+ }, 8, ["class", "is-clickable", "is-selected"]);
9581
+ };
9577
9582
  }
9578
9583
  });
9579
9584
  const G9 = {
@@ -9637,13 +9642,13 @@ const G9 = {
9637
9642
  ])
9638
9643
  }, [
9639
9644
  d.isEditable ? (p(), g("div", G9, [
9640
- A(pe, {
9645
+ M(pe, {
9641
9646
  name: "DragIndicator",
9642
9647
  class: "ao-project-phase__drag-handle"
9643
9648
  })
9644
9649
  ])) : T("", !0),
9645
9650
  v("div", X9, [
9646
- A(B9, {
9651
+ M(B9, {
9647
9652
  id: d.phase.id,
9648
9653
  milestones: i.value,
9649
9654
  name: d.phase.name,
@@ -9656,7 +9661,7 @@ const G9 = {
9656
9661
  ]),
9657
9662
  v("div", Q9, [
9658
9663
  v("div", J9, [
9659
- A(Q(mt), He({
9664
+ M(Q(mt), He({
9660
9665
  class: "ao-project-phase__milestones-list",
9661
9666
  list: i.value,
9662
9667
  disabled: d.readonly || !d.isEditable,
@@ -9666,9 +9671,10 @@ const G9 = {
9666
9671
  item: W(({ element: b }) => {
9667
9672
  var y;
9668
9673
  return [
9669
- A(K9, {
9674
+ M(K9, {
9670
9675
  id: b.id,
9671
9676
  name: b.name,
9677
+ color: b.color,
9672
9678
  activities: b.activities,
9673
9679
  deadline: b.deadline,
9674
9680
  "is-editable": !d.readonly && d.isEditable,
@@ -9680,12 +9686,12 @@ const G9 = {
9680
9686
  readonly: d.readonly,
9681
9687
  class: K(["ao-project-phase__milestone"]),
9682
9688
  onClick: (k) => !d.readonly && d.$router.push({
9683
- name: Q(Fe).milestone,
9689
+ name: Q(Ue).milestone,
9684
9690
  params: { phaseId: d.phase.id, milestoneId: b.id }
9685
9691
  }),
9686
9692
  onUpdateMilestone: l,
9687
9693
  onArchiveMilestone: c
9688
- }, null, 8, ["id", "name", "activities", "deadline", "is-editable", "is-draggable", "closed-status", "is-selected", "assignee", "important", "readonly", "onClick"])
9694
+ }, null, 8, ["id", "name", "color", "activities", "deadline", "is-editable", "is-draggable", "closed-status", "is-selected", "assignee", "important", "readonly", "onClick"])
9689
9695
  ];
9690
9696
  }),
9691
9697
  _: 1
@@ -9745,7 +9751,7 @@ const av = { class: "ao-project__phases" }, nv = {
9745
9751
  e("addPhase", u);
9746
9752
  };
9747
9753
  return (u, f) => (p(), g("div", av, [
9748
- A(Q(mt), {
9754
+ M(Q(mt), {
9749
9755
  class: "ao-project-phase__phases-list",
9750
9756
  "model-value": u.phases,
9751
9757
  "item-key": "id",
@@ -9753,7 +9759,7 @@ const av = { class: "ao-project__phases" }, nv = {
9753
9759
  onChange: r
9754
9760
  }, {
9755
9761
  item: W(({ element: d }) => [
9756
- A(tv, {
9762
+ M(tv, {
9757
9763
  phase: d,
9758
9764
  "is-editable": !u.readonly && u.isEditable,
9759
9765
  "closed-status": u.closedStatus,
@@ -9771,7 +9777,7 @@ const av = { class: "ao-project__phases" }, nv = {
9771
9777
  u.isEditable ? (p(), g("div", nv, [
9772
9778
  sv,
9773
9779
  v("div", iv, [
9774
- A(Ct, {
9780
+ M(Ct, {
9775
9781
  label: u.$t("project.phases.add"),
9776
9782
  "icon-name": "Add",
9777
9783
  class: "ao-project-phase__add-phase",
@@ -9801,7 +9807,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9801
9807
  };
9802
9808
  return (r, l) => (p(), P(In, { size: "sm" }, {
9803
9809
  header: W(() => [
9804
- A(ye, {
9810
+ M(ye, {
9805
9811
  title: r.$t("project.template.add.title"),
9806
9812
  level: 3
9807
9813
  }, null, 8, ["title"])
@@ -9813,7 +9819,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9813
9819
  }, [
9814
9820
  v("div", uv, [
9815
9821
  v("div", cv, [
9816
- A($e, {
9822
+ M($e, {
9817
9823
  value: s.value,
9818
9824
  options: n.value,
9819
9825
  detached: !0,
@@ -9822,7 +9828,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9822
9828
  ])
9823
9829
  ]),
9824
9830
  v("footer", dv, [
9825
- A(ce, {
9831
+ M(ce, {
9826
9832
  label: r.$t("project.template.add.label"),
9827
9833
  type: "submit",
9828
9834
  color: "primary",
@@ -9951,21 +9957,21 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
9951
9957
  e("applyTemplate", { templateId: O, projectId: x }), U.value = !1;
9952
9958
  };
9953
9959
  return (O, x) => {
9954
- const R = Ye("RouterView");
9960
+ const R = Fe("RouterView");
9955
9961
  return p(), g(ve, null, [
9956
9962
  v("div", He({ class: "ao-project-overview" }, O.$attrs), [
9957
9963
  v("div", mv, [
9958
- A(Ya, null, {
9964
+ M(Ya, null, {
9959
9965
  primary: W(() => [
9960
- A(ci, {
9966
+ M(ci, {
9961
9967
  "is-left": !0,
9962
9968
  "right-label": O.$t("project.switch.feed"),
9963
9969
  "left-label": O.$t("project.switch.overview"),
9964
9970
  "onUpdate:isLeft": x[0] || (x[0] = (Z) => {
9965
- Z || O.$router.push({ name: Q(Fe).feed });
9971
+ Z || O.$router.push({ name: Q(Ue).feed });
9966
9972
  })
9967
9973
  }, null, 8, ["right-label", "left-label"]),
9968
- A(ce, {
9974
+ M(ce, {
9969
9975
  class: "ao-feed__show-archived",
9970
9976
  size: "sm",
9971
9977
  "icon-name": O.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -9990,7 +9996,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
9990
9996
  _: 1
9991
9997
  }),
9992
9998
  v("div", Cv, [
9993
- A(rv, {
9999
+ M(rv, {
9994
10000
  phases: O.phases,
9995
10001
  "closed-status": O.closedStatus,
9996
10002
  "is-editable": O.isEditable === !0,
@@ -10004,7 +10010,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10004
10010
  }, null, 8, ["phases", "closed-status", "is-editable", "users"])
10005
10011
  ])
10006
10012
  ]),
10007
- A(R, {
10013
+ M(R, {
10008
10014
  class: "ao-project__sidebar",
10009
10015
  phases: O.phases,
10010
10016
  "project-id": O.project.id,
@@ -10012,7 +10018,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10012
10018
  users: O.users,
10013
10019
  "is-editable": O.isEditable === !0,
10014
10020
  "closed-status": O.closedStatus,
10015
- onClose: x[3] || (x[3] = (Z) => O.$router.push({ name: Q(Fe).project })),
10021
+ onClose: x[3] || (x[3] = (Z) => O.$router.push({ name: Q(Ue).project })),
10016
10022
  onUpdateMilestone: c,
10017
10023
  onAddActivity: f,
10018
10024
  onUpdateActivity: d,
@@ -10020,7 +10026,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10020
10026
  onUnarchiveActivity: w
10021
10027
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
10022
10028
  (p(), P(Nt, { to: "body" }, [
10023
- A(R, {
10029
+ M(R, {
10024
10030
  name: "modal",
10025
10031
  activities: _.value,
10026
10032
  "is-task-checkable": O.isTaskCheckable,
@@ -10175,7 +10181,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10175
10181
  v("div", wv, [
10176
10182
  i.value ? (p(), g("span", $v, G(i.value), 1)) : T("", !0),
10177
10183
  v("div", kv, [
10178
- A(ye, {
10184
+ M(ye, {
10179
10185
  id: h.id,
10180
10186
  title: h.name,
10181
10187
  level: 5,
@@ -10194,7 +10200,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10194
10200
  key: b.id
10195
10201
  }, [
10196
10202
  b ? (p(), g("li", Ov, [
10197
- A(Je, {
10203
+ M(Je, {
10198
10204
  "user-name": Q(zs)(b),
10199
10205
  "avatar-url": b.avatarUrl,
10200
10206
  "is-closable": !0,
@@ -10205,14 +10211,14 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10205
10211
  ]),
10206
10212
  h.comments || h.attachments ? (p(), g("ul", Ev, [
10207
10213
  h.comments ? (p(), g("li", Iv, [
10208
- A(pe, {
10214
+ M(pe, {
10209
10215
  name: "ChatOutline",
10210
10216
  size: "sm"
10211
10217
  }),
10212
10218
  v("span", Lv, G(h.comments), 1)
10213
10219
  ])) : T("", !0),
10214
10220
  h.attachments ? (p(), g("li", Hv, [
10215
- A(pe, {
10221
+ M(pe, {
10216
10222
  name: "AttachFileRounded",
10217
10223
  size: "sm"
10218
10224
  }),
@@ -10223,13 +10229,13 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10223
10229
  v("div", Pv, [
10224
10230
  h.tasks && h.tasks.length ? (p(), g("div", Vv, [
10225
10231
  v("div", Bv, [
10226
- A(pe, {
10232
+ M(pe, {
10227
10233
  name: "SelectCheckBox",
10228
10234
  size: "sm"
10229
10235
  }),
10230
10236
  v("span", Rv, G(f.value) + " / " + G(u.value), 1)
10231
10237
  ]),
10232
- A(qn, {
10238
+ M(qn, {
10233
10239
  percentages: d.value,
10234
10240
  class: "ao-card-feed__progress"
10235
10241
  }, null, 8, ["percentages"])
@@ -10357,14 +10363,14 @@ function Zv(t, e, a, n, s, o) {
10357
10363
  onMousedown: e[1] || (e[1] = fe((...i) => t.selectSaturation && t.selectSaturation(...i), ["prevent", "stop"]))
10358
10364
  },
10359
10365
  [
10360
- A(
10366
+ M(
10361
10367
  "canvas",
10362
10368
  Uv,
10363
10369
  null,
10364
10370
  512
10365
10371
  /* NEED_PATCH */
10366
10372
  ),
10367
- A(
10373
+ M(
10368
10374
  "div",
10369
10375
  {
10370
10376
  style: t.slideSaturationStyle,
@@ -10443,14 +10449,14 @@ function qv(t, e, a, n, s, o) {
10443
10449
  onMousedown: e[1] || (e[1] = fe((...i) => t.selectHue && t.selectHue(...i), ["prevent", "stop"]))
10444
10450
  },
10445
10451
  [
10446
- A(
10452
+ M(
10447
10453
  "canvas",
10448
10454
  Wv,
10449
10455
  null,
10450
10456
  512
10451
10457
  /* NEED_PATCH */
10452
10458
  ),
10453
- A(
10459
+ M(
10454
10460
  "div",
10455
10461
  {
10456
10462
  style: t.slideHueStyle,
@@ -10538,14 +10544,14 @@ function xv(t, e, a, n, s, o) {
10538
10544
  onMousedown: e[1] || (e[1] = fe((...i) => t.selectAlpha && t.selectAlpha(...i), ["prevent", "stop"]))
10539
10545
  },
10540
10546
  [
10541
- A(
10547
+ M(
10542
10548
  "canvas",
10543
10549
  zv,
10544
10550
  null,
10545
10551
  512
10546
10552
  /* NEED_PATCH */
10547
10553
  ),
10548
- A(
10554
+ M(
10549
10555
  "div",
10550
10556
  {
10551
10557
  style: t.slideAlphaStyle,
@@ -10663,7 +10669,7 @@ var Xn = z({
10663
10669
  }
10664
10670
  }
10665
10671
  });
10666
- const Kv = /* @__PURE__ */ A(
10672
+ const Kv = /* @__PURE__ */ M(
10667
10673
  "path",
10668
10674
  { d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
10669
10675
  null,
@@ -10675,25 +10681,25 @@ const Kv = /* @__PURE__ */ A(
10675
10681
  viewBox: "-16 -16 68 68",
10676
10682
  xmlns: "http://www.w3.org/2000/svg",
10677
10683
  stroke: "#9099a4"
10678
- }, Xv = /* @__PURE__ */ A(
10684
+ }, Xv = /* @__PURE__ */ M(
10679
10685
  "g",
10680
10686
  {
10681
10687
  fill: "none",
10682
10688
  "fill-rule": "evenodd"
10683
10689
  },
10684
10690
  [
10685
- /* @__PURE__ */ A("g", {
10691
+ /* @__PURE__ */ M("g", {
10686
10692
  transform: "translate(1 1)",
10687
10693
  "stroke-width": "4"
10688
10694
  }, [
10689
- /* @__PURE__ */ A("circle", {
10695
+ /* @__PURE__ */ M("circle", {
10690
10696
  "stroke-opacity": ".5",
10691
10697
  cx: "18",
10692
10698
  cy: "18",
10693
10699
  r: "18"
10694
10700
  }),
10695
- /* @__PURE__ */ A("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, [
10696
- /* @__PURE__ */ A("animateTransform", {
10701
+ /* @__PURE__ */ M("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, [
10702
+ /* @__PURE__ */ M("animateTransform", {
10697
10703
  attributeName: "transform",
10698
10704
  type: "rotate",
10699
10705
  from: "0 18 18",
@@ -10765,14 +10771,14 @@ var Qn = z({
10765
10771
  const Jv = { class: "color-type" }, e4 = { class: "name" };
10766
10772
  function t4(t, e, a, n, s, o) {
10767
10773
  return p(), P("div", Jv, [
10768
- A(
10774
+ M(
10769
10775
  "span",
10770
10776
  e4,
10771
10777
  G(t.name),
10772
10778
  1
10773
10779
  /* TEXT */
10774
10780
  ),
10775
- Ke(A(
10781
+ Ke(M(
10776
10782
  "input",
10777
10783
  {
10778
10784
  "onUpdate:modelValue": e[1] || (e[1] = (i) => t.modelColor = i),
@@ -10836,7 +10842,7 @@ const a4 = { class: "colors" }, n4 = {
10836
10842
  };
10837
10843
  function s4(t, e, a, n, s, o) {
10838
10844
  return p(), P("div", null, [
10839
- A("ul", a4, [
10845
+ M("ul", a4, [
10840
10846
  (p(!0), P(
10841
10847
  ve,
10842
10848
  null,
@@ -10845,7 +10851,7 @@ function s4(t, e, a, n, s, o) {
10845
10851
  class: "item",
10846
10852
  onClick: (r) => t.selectColor(i)
10847
10853
  }, [
10848
- A(
10854
+ M(
10849
10855
  "div",
10850
10856
  {
10851
10857
  style: { background: `url(${t.imgAlphaBase64})` },
@@ -10855,7 +10861,7 @@ function s4(t, e, a, n, s, o) {
10855
10861
  4
10856
10862
  /* STYLE */
10857
10863
  ),
10858
- A(
10864
+ M(
10859
10865
  "div",
10860
10866
  {
10861
10867
  style: { background: i },
@@ -10879,7 +10885,7 @@ function s4(t, e, a, n, s, o) {
10879
10885
  class: "item",
10880
10886
  onClick: (r) => t.selectColor(i)
10881
10887
  }, [
10882
- A(
10888
+ M(
10883
10889
  "div",
10884
10890
  {
10885
10891
  style: { background: `url(${t.imgAlphaBase64})` },
@@ -10889,7 +10895,7 @@ function s4(t, e, a, n, s, o) {
10889
10895
  4
10890
10896
  /* STYLE */
10891
10897
  ),
10892
- A(
10898
+ M(
10893
10899
  "div",
10894
10900
  {
10895
10901
  style: { background: i },
@@ -11083,7 +11089,7 @@ var Rt = z({
11083
11089
  });
11084
11090
  const i4 = { class: "color-set" };
11085
11091
  function o4(t, e, a, n, s, o) {
11086
- const i = Ye("Saturation"), r = Ye("Hue"), l = Ye("Alpha"), c = Ye("Preview"), u = Ye("Sucker"), f = Ye("Box"), d = Ye("Colors");
11092
+ const i = Fe("Saturation"), r = Fe("Hue"), l = Fe("Alpha"), c = Fe("Preview"), u = Fe("Sucker"), f = Fe("Box"), d = Fe("Colors");
11087
11093
  return p(), P(
11088
11094
  "div",
11089
11095
  {
@@ -11091,22 +11097,22 @@ function o4(t, e, a, n, s, o) {
11091
11097
  style: { width: t.totalWidth + "px" }
11092
11098
  },
11093
11099
  [
11094
- A("div", i4, [
11095
- A(i, {
11100
+ M("div", i4, [
11101
+ M(i, {
11096
11102
  ref: "saturation",
11097
11103
  color: t.rgbString,
11098
11104
  hsv: t.hsv,
11099
11105
  size: t.hueHeight,
11100
11106
  onSelectSaturation: t.selectSaturation
11101
11107
  }, null, 8, ["color", "hsv", "size", "onSelectSaturation"]),
11102
- A(r, {
11108
+ M(r, {
11103
11109
  ref: "hue",
11104
11110
  hsv: t.hsv,
11105
11111
  width: t.hueWidth,
11106
11112
  height: t.hueHeight,
11107
11113
  onSelectHue: t.selectHue
11108
11114
  }, null, 8, ["hsv", "width", "height", "onSelectHue"]),
11109
- A(l, {
11115
+ M(l, {
11110
11116
  ref: "alpha",
11111
11117
  color: t.rgbString,
11112
11118
  rgba: t.rgba,
@@ -11115,14 +11121,14 @@ function o4(t, e, a, n, s, o) {
11115
11121
  onSelectAlpha: t.selectAlpha
11116
11122
  }, null, 8, ["color", "rgba", "width", "height", "onSelectAlpha"])
11117
11123
  ]),
11118
- A(
11124
+ M(
11119
11125
  "div",
11120
11126
  {
11121
11127
  style: { height: t.previewHeight + "px" },
11122
11128
  class: "color-show"
11123
11129
  },
11124
11130
  [
11125
- A(c, {
11131
+ M(c, {
11126
11132
  color: t.rgbaString,
11127
11133
  width: t.previewWidth,
11128
11134
  height: t.previewHeight
@@ -11138,21 +11144,21 @@ function o4(t, e, a, n, s, o) {
11138
11144
  4
11139
11145
  /* STYLE */
11140
11146
  ),
11141
- A(f, {
11147
+ M(f, {
11142
11148
  name: "HEX",
11143
11149
  color: t.modelHex,
11144
11150
  onInputColor: t.inputHex,
11145
11151
  onInputFocus: t.handleFocus,
11146
11152
  onInputBlur: t.handleBlur
11147
11153
  }, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
11148
- A(f, {
11154
+ M(f, {
11149
11155
  name: "RGBA",
11150
11156
  color: t.modelRgba,
11151
11157
  onInputColor: t.inputRgba,
11152
11158
  onInputFocus: t.handleFocus,
11153
11159
  onInputBlur: t.handleBlur
11154
11160
  }, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
11155
- A(d, {
11161
+ M(d, {
11156
11162
  color: t.rgbaString,
11157
11163
  "colors-default": t.colorsDefault,
11158
11164
  "colors-history-key": t.colorsHistoryKey,
@@ -11196,7 +11202,7 @@ const r4 = {
11196
11202
  }
11197
11203
  }, l4 = { class: "color-picker-wrapper" };
11198
11204
  function u4(t, e, a, n, s, o) {
11199
- const i = Ye("ColorPicker");
11205
+ const i = Fe("ColorPicker");
11200
11206
  return p(), g("div", l4, [
11201
11207
  v("button", {
11202
11208
  style: wn({ backgroundColor: a.color }),
@@ -11325,7 +11331,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11325
11331
  return p(), g("div", d4, [
11326
11332
  v("header", p4, [
11327
11333
  v("div", f4, [
11328
- A(ce, {
11334
+ M(ce, {
11329
11335
  "icon-name": "CloseRounded",
11330
11336
  variant: "ghost",
11331
11337
  size: "sm",
@@ -11335,11 +11341,11 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11335
11341
  ]),
11336
11342
  v("div", v4, [
11337
11343
  v("div", h4, [
11338
- A(ye, {
11344
+ M(ye, {
11339
11345
  title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
11340
11346
  level: 5
11341
11347
  }, null, 8, ["title"]),
11342
- A(yn, {
11348
+ M(yn, {
11343
11349
  modelValue: k.value,
11344
11350
  "onUpdate:modelValue": C[0] || (C[0] = (L) => k.value = L),
11345
11351
  modelModifiers: { lazy: !0 },
@@ -11372,7 +11378,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11372
11378
  ]),
11373
11379
  v("div", _4, [
11374
11380
  v("label", y4, [
11375
- A($e, {
11381
+ M($e, {
11376
11382
  modelValue: y.value,
11377
11383
  "onUpdate:modelValue": C[2] || (C[2] = (L) => y.value = L),
11378
11384
  options: b.value,
@@ -11389,7 +11395,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11389
11395
  option: L,
11390
11396
  handleTagRemove: H
11391
11397
  }) => [
11392
- A(Je, {
11398
+ M(Je, {
11393
11399
  "user-name": L.label,
11394
11400
  "avatar-url": L.avatar,
11395
11401
  "is-closable": !0,
@@ -11400,14 +11406,14 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11400
11406
  }, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
11401
11407
  ])
11402
11408
  ]),
11403
- A(c4, {
11409
+ M(c4, {
11404
11410
  color: d.value,
11405
11411
  "onUpdate:color": C[3] || (C[3] = (L) => d.value = L)
11406
11412
  }, null, 8, ["color"])
11407
11413
  ])) : T("", !0)
11408
11414
  ]),
11409
11415
  v("div", b4, [
11410
- A(Q(mt), He({
11416
+ M(Q(mt), He({
11411
11417
  class: "ao-project-milestone__activities",
11412
11418
  list: r.value,
11413
11419
  disabled: !_.isEditable,
@@ -11417,7 +11423,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11417
11423
  item: W(({ element: L }) => {
11418
11424
  var H, F, U, q, O;
11419
11425
  return [
11420
- A(di, {
11426
+ M(di, {
11421
11427
  id: L.id,
11422
11428
  name: L.name || L.id,
11423
11429
  "phase-name": (H = s.value) == null ? void 0 : H.name,
@@ -11434,7 +11440,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11434
11440
  "is-private": L.private,
11435
11441
  "is-closed": w(L),
11436
11442
  onClick: (x) => _.$router.push({
11437
- name: Q(Fe).activity,
11443
+ name: Q(Ue).activity,
11438
11444
  params: { milestoneId: _.milestoneId, activityId: L.id }
11439
11445
  }),
11440
11446
  onUpdateActivity: u,
@@ -11477,7 +11483,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11477
11483
  _: 1
11478
11484
  }, 16, ["list", "disabled"]),
11479
11485
  _.isEditable ? (p(), g("div", w4, [
11480
- A(Ct, {
11486
+ M(Ct, {
11481
11487
  "icon-name": "Add",
11482
11488
  label: _.$t("project.activity.add"),
11483
11489
  onClick: c
@@ -11583,7 +11589,7 @@ const $4 = /* @__PURE__ */ z({
11583
11589
  },
11584
11590
  setup(t) {
11585
11591
  return (e, a) => (p(), g("header", k4, [
11586
- A(ye, {
11592
+ M(ye, {
11587
11593
  title: e.title,
11588
11594
  class: "ao-col-header__title",
11589
11595
  level: 4
@@ -11773,7 +11779,7 @@ const V4 = {
11773
11779
  ])
11774
11780
  ];
11775
11781
  }) : T("", !0),
11776
- A(Q(mt), He({
11782
+ M(Q(mt), He({
11777
11783
  class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
11778
11784
  list: u.list,
11779
11785
  "item-key": "id",
@@ -11794,7 +11800,7 @@ const V4 = {
11794
11800
  item: W(({ element: d }) => {
11795
11801
  var h, w, b, y, k, _, C, D, L;
11796
11802
  return [
11797
- A(di, {
11803
+ M(di, {
11798
11804
  class: K(o(d) ? "ao-list-draggable" : ""),
11799
11805
  id: d.id,
11800
11806
  name: d.name,
@@ -11850,7 +11856,7 @@ const V4 = {
11850
11856
  }),
11851
11857
  footer: W(() => [
11852
11858
  u.isLoading ? (p(), g("div", R4, [
11853
- A(pe, { name: "Loading" })
11859
+ M(pe, { name: "Loading" })
11854
11860
  ])) : u.hasMore ? (p(), g("div", {
11855
11861
  key: 2,
11856
11862
  ref_key: "scrollEnd",
@@ -11900,11 +11906,11 @@ const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder",
11900
11906
  (...l) => Q(s) && Q(s)(...l)),
11901
11907
  onKeypress: dt(n, ["enter"])
11902
11908
  }, null, 40, q4),
11903
- A(pe, {
11909
+ M(pe, {
11904
11910
  name: "SearchRounded",
11905
11911
  class: K(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
11906
11912
  }, null, 8, ["class"]),
11907
- A(ce, {
11913
+ M(ce, {
11908
11914
  "icon-name": "CloseRounded",
11909
11915
  size: "sm",
11910
11916
  color: "primary",
@@ -11943,7 +11949,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
11943
11949
  de(
11944
11950
  [() => a.statuses, () => a.activities, () => a.initialActivityId],
11945
11951
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11946
- async ([E, N, M], [m, I]) => {
11952
+ async ([E, N, A], [m, I]) => {
11947
11953
  i.value = Object.fromEntries(
11948
11954
  E.map((J) => [
11949
11955
  J.id,
@@ -11952,7 +11958,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
11952
11958
  return ((le = ae.status) == null ? void 0 : le.id) === J.id;
11953
11959
  })
11954
11960
  ])
11955
- ), M && !r.value && (o(M), r.value = !0), l.value && Xe(N, I);
11961
+ ), A && !r.value && (o(A), r.value = !0), l.value && Xe(N, I);
11956
11962
  },
11957
11963
  { immediate: !0 }
11958
11964
  );
@@ -11961,9 +11967,9 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
11961
11967
  return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((E = a.selectedActivity.milestone.phase) == null ? void 0 : E.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
11962
11968
  }), f = (E) => {
11963
11969
  var J, ae;
11964
- const N = (J = a.activities) == null ? void 0 : J.at(-1), M = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0, I = {
11970
+ const N = (J = a.activities) == null ? void 0 : J.at(-1), A = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0, I = {
11965
11971
  name: n("activity.defaultName", { idx: m + 1 }),
11966
- rank: M.format(),
11972
+ rank: A.format(),
11967
11973
  statusId: E.id
11968
11974
  };
11969
11975
  a.filters.assigneeId.length > 0 && (I.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (I.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (I.typeId = a.filters.typeId[0]), l.value = !0, e("addActivity", I);
@@ -12019,9 +12025,9 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12019
12025
  N && e("removeComment", E);
12020
12026
  };
12021
12027
  return (E, N) => {
12022
- var M;
12028
+ var A;
12023
12029
  return p(), g("div", x4, [
12024
- A(Ya, null, {
12030
+ M(Ya, null, {
12025
12031
  primary: W(() => [
12026
12032
  v("div", Y4, [
12027
12033
  a.project ? (p(), P(ci, {
@@ -12030,10 +12036,10 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12030
12036
  "right-label": E.$t("project.switch.feed"),
12031
12037
  "left-label": E.$t("project.switch.overview"),
12032
12038
  "onUpdate:isLeft": N[0] || (N[0] = (m) => {
12033
- m && E.$router.push({ name: Q(Fe).project });
12039
+ m && E.$router.push({ name: Q(Ue).project });
12034
12040
  })
12035
12041
  }, null, 8, ["right-label", "left-label"])) : T("", !0),
12036
- A(z4, {
12042
+ M(z4, {
12037
12043
  "model-value": E.searchText,
12038
12044
  placeholder: E.$t("feed.search.placeholder"),
12039
12045
  class: "ao-feed__search",
@@ -12077,7 +12083,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12077
12083
  option: m,
12078
12084
  handleTagRemove: I
12079
12085
  }) => [
12080
- A(Je, {
12086
+ M(Je, {
12081
12087
  "user-name": m.label,
12082
12088
  "avatar-url": m.avatar,
12083
12089
  "is-closable": !0,
@@ -12087,7 +12093,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12087
12093
  _: 1
12088
12094
  }, 8, ["model-value", "options", "placeholder"])) : T("", !0)
12089
12095
  ]),
12090
- A(ce, {
12096
+ M(ce, {
12091
12097
  class: "ao-feed__only-important",
12092
12098
  size: "sm",
12093
12099
  "icon-name": E.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -12099,7 +12105,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12099
12105
  "aria-checked": E.showsOnlyImportant,
12100
12106
  onClick: N[4] || (N[4] = (m) => E.$emit("update:showsOnlyImportant", !E.showsOnlyImportant))
12101
12107
  }, null, 8, ["icon-name", "label", "aria-checked"]),
12102
- A(ce, {
12108
+ M(ce, {
12103
12109
  class: "ao-feed__show-archived",
12104
12110
  size: "sm",
12105
12111
  "icon-name": E.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -12137,7 +12143,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12137
12143
  key: 0,
12138
12144
  activity: E.selectedActivity,
12139
12145
  "activity-types": E.activityTypes,
12140
- "milestone-id": (M = E.selectedActivity.milestone) == null ? void 0 : M.id,
12146
+ "milestone-id": (A = E.selectedActivity.milestone) == null ? void 0 : A.id,
12141
12147
  "template-activities": s.value,
12142
12148
  users: E.users,
12143
12149
  "user-id": E.userId,
@@ -12192,7 +12198,7 @@ const Dt = {
12192
12198
  }
12193
12199
  ]
12194
12200
  }
12195
- ], Fe = {
12201
+ ], Ue = {
12196
12202
  project: "AoProject",
12197
12203
  feed: "AoProjectFeed",
12198
12204
  milestone: "AoMilestone",
@@ -12201,23 +12207,23 @@ const Dt = {
12201
12207
  {
12202
12208
  path: t,
12203
12209
  ...e,
12204
- redirect: { name: Fe.project },
12210
+ redirect: { name: Ue.project },
12205
12211
  children: [
12206
12212
  {
12207
12213
  path: "",
12208
- name: Fe.project,
12214
+ name: Ue.project,
12209
12215
  component: gv,
12210
12216
  props: !0,
12211
12217
  children: [
12212
12218
  {
12213
12219
  path: ":phaseId/:milestoneId",
12214
- name: Fe.milestone,
12220
+ name: Ue.milestone,
12215
12221
  component: As,
12216
12222
  props: !0
12217
12223
  },
12218
12224
  {
12219
12225
  path: ":phaseId/:milestoneId/:activityId",
12220
- name: Fe.activity,
12226
+ name: Ue.activity,
12221
12227
  props: { default: !0, modal: !0 },
12222
12228
  components: {
12223
12229
  default: As,
@@ -12228,7 +12234,7 @@ const Dt = {
12228
12234
  },
12229
12235
  {
12230
12236
  path: "feed",
12231
- name: Fe.feed,
12237
+ name: Ue.feed,
12232
12238
  component: G4,
12233
12239
  props: !0
12234
12240
  }
@@ -12275,9 +12281,9 @@ const Dt = {
12275
12281
  }
12276
12282
  };
12277
12283
  return (r, l) => (p(), g("div", X4, [
12278
- A(Ya, null, {
12284
+ M(Ya, null, {
12279
12285
  secondary: W(() => [
12280
- A(ce, {
12286
+ M(ce, {
12281
12287
  label: r.$t("templates.new"),
12282
12288
  color: "primary",
12283
12289
  "icon-name": "Add",
@@ -12287,7 +12293,7 @@ const Dt = {
12287
12293
  ]),
12288
12294
  _: 1
12289
12295
  }),
12290
- A(Q(mt), {
12296
+ M(Q(mt), {
12291
12297
  "model-value": r.templates,
12292
12298
  class: "ao-templates__list",
12293
12299
  "item-key": "id",
@@ -12297,7 +12303,7 @@ const Dt = {
12297
12303
  item: W(({ element: c }) => {
12298
12304
  var u;
12299
12305
  return [
12300
- A(Q3, {
12306
+ M(Q3, {
12301
12307
  id: c.id,
12302
12308
  title: c.name,
12303
12309
  phases: c.phases,
@@ -12411,7 +12417,7 @@ export {
12411
12417
  f8 as getTemplateRoutes,
12412
12418
  p8 as listUpdateTypes,
12413
12419
  hn as milestoneStatus,
12414
- Fe as projectOverviewRoutes,
12420
+ Ue as projectOverviewRoutes,
12415
12421
  R2 as ruleComparators,
12416
12422
  j2 as ruleDurationUnits,
12417
12423
  N2 as ruleTriggerTypes,