@26lights/orcha 0.17.1 → 0.17.3

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,13 +1,13 @@
1
- import { defineComponent as x, openBlock as c, createBlock as R, unref as F, mergeProps as He, createElementBlock as m, createElementVNode as f, pushScopeId as rn, popScopeId as un, createStaticVNode as dn, computed as y, resolveDynamicComponent as at, normalizeClass as G, renderSlot as ee, toDisplayString as q, createCommentVNode as k, ref as Q, watch as ue, nextTick as Ie, withKeys as Ye, toHandlers as cn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as be, onMounted as Ht, onBeforeUnmount as fn, onUnmounted as da, toRefs as $e, getCurrentInstance as nt, toRef as ft, normalizeProps as vn, guardReactiveProps as pn, onUpdated as hn, withDirectives as et, vModelText as Et, vModelCheckbox as x1, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
1
+ import { defineComponent as x, openBlock as c, createBlock as R, unref as F, mergeProps as Ie, createElementBlock as m, createElementVNode as f, pushScopeId as rn, popScopeId as un, createStaticVNode as dn, computed as y, resolveDynamicComponent as at, normalizeClass as G, renderSlot as ee, toDisplayString as q, createCommentVNode as k, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as cn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as be, onMounted as Ht, onBeforeUnmount as fn, onUnmounted as da, toRefs as $e, getCurrentInstance as nt, toRef as ft, normalizeProps as vn, guardReactiveProps as pn, onUpdated as hn, withDirectives as et, vModelText as Et, vModelCheckbox as x1, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
2
2
  import { RouterView as bn } from "vue-router";
3
3
  import Xe from "vuedraggable";
4
- const n8 = /* @__PURE__ */ x({
4
+ const a8 = /* @__PURE__ */ x({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
8
8
  },
9
9
  setup(a) {
10
- return (e, t) => (c(), R(F(bn), He({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, t) => (c(), R(F(bn), Ie({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), P = (a, e) => {
13
13
  const t = a.__vccOpts || a;
@@ -1209,17 +1209,17 @@ function fa(a) {
1209
1209
  }, o = (r) => {
1210
1210
  e.value = r;
1211
1211
  }, i = (r) => async () => {
1212
- o(!1), await Ie(() => {
1212
+ o(!1), await Oe(() => {
1213
1213
  a.value[s.value] = t.value, r == null || r();
1214
1214
  });
1215
1215
  }, l = (r) => async (d) => {
1216
1216
  const u = a.value[s.value];
1217
- o(!1), await Ie(() => {
1217
+ o(!1), await Oe(() => {
1218
1218
  r(u, d);
1219
1219
  });
1220
1220
  };
1221
1221
  return ue(e, async (r) => {
1222
- await Ie(() => {
1222
+ await Oe(() => {
1223
1223
  setTimeout(() => {
1224
1224
  a.value && r && (a.value.focus(), t.value = a.value[s.value]);
1225
1225
  }, 1);
@@ -1266,7 +1266,7 @@ const Ce = /* @__PURE__ */ x({
1266
1266
  ($) => {
1267
1267
  $ || v();
1268
1268
  }
1269
- ), ($, A) => (c(), R(at(r.value), He({
1269
+ ), ($, A) => (c(), R(at(r.value), Ie({
1270
1270
  id: $.id,
1271
1271
  ref_key: "target",
1272
1272
  ref: s,
@@ -1406,7 +1406,7 @@ const E1 = /* @__PURE__ */ x({
1406
1406
  ]),
1407
1407
  style: ua(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
1408
1408
  }, [
1409
- (c(), R(at(t.value), He({ class: "ao-tag__label" }, s.value, {
1409
+ (c(), R(at(t.value), Ie({ class: "ao-tag__label" }, s.value, {
1410
1410
  onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
1411
1411
  }), {
1412
1412
  default: j(() => [
@@ -1432,11 +1432,11 @@ const k1 = {
1432
1432
  todo: "todo",
1433
1433
  done: "done",
1434
1434
  archived: "archived"
1435
- }, s8 = {
1435
+ }, n8 = {
1436
1436
  months: "months",
1437
1437
  weeks: "weeks",
1438
1438
  days: "days"
1439
- }, i8 = {
1439
+ }, s8 = {
1440
1440
  future: "future",
1441
1441
  this_month: "this_month",
1442
1442
  this_week: "this_week",
@@ -1460,7 +1460,7 @@ const k1 = {
1460
1460
  TASKS: "tasks"
1461
1461
  };
1462
1462
  var $d = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))($d || {});
1463
- const o8 = {
1463
+ const i8 = {
1464
1464
  add: "add",
1465
1465
  remove: "remove",
1466
1466
  moved: "moved"
@@ -1487,14 +1487,14 @@ function ge(a, e) {
1487
1487
  if (e.length < a)
1488
1488
  throw new TypeError(a + " argument" + (a > 1 ? "s" : "") + " required, but only " + e.length + " present");
1489
1489
  }
1490
- function Pe(a) {
1490
+ function Be(a) {
1491
1491
  ge(1, arguments);
1492
1492
  var e = Object.prototype.toString.call(a);
1493
1493
  return a instanceof Date || Yt(a) === "object" && e === "[object Date]" ? new Date(a.getTime()) : typeof a == "number" || e === "[object Number]" ? new Date(a) : ((typeof a == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1494
1494
  }
1495
1495
  function Md(a, e) {
1496
1496
  ge(2, arguments);
1497
- var t = Pe(a).getTime(), s = Ke(e);
1497
+ var t = Be(a).getTime(), s = Ke(e);
1498
1498
  return new Date(t + s);
1499
1499
  }
1500
1500
  var kd = {};
@@ -1512,7 +1512,7 @@ function Td(a) {
1512
1512
  function ma(a) {
1513
1513
  if (ge(1, arguments), !Td(a) && typeof a != "number")
1514
1514
  return !1;
1515
- var e = Pe(a);
1515
+ var e = Be(a);
1516
1516
  return !isNaN(Number(e));
1517
1517
  }
1518
1518
  function Sd(a, e) {
@@ -1523,19 +1523,19 @@ function Sd(a, e) {
1523
1523
  var Ed = 864e5;
1524
1524
  function Id(a) {
1525
1525
  ge(1, arguments);
1526
- var e = Pe(a), t = e.getTime();
1526
+ var e = Be(a), t = e.getTime();
1527
1527
  e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
1528
1528
  var s = e.getTime(), n = t - s;
1529
1529
  return Math.floor(n / Ed) + 1;
1530
1530
  }
1531
1531
  function Kt(a) {
1532
1532
  ge(1, arguments);
1533
- var e = 1, t = Pe(a), s = t.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
1533
+ var e = 1, t = Be(a), s = t.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
1534
1534
  return t.setUTCDate(t.getUTCDate() - n), t.setUTCHours(0, 0, 0, 0), t;
1535
1535
  }
1536
1536
  function Ca(a) {
1537
1537
  ge(1, arguments);
1538
- var e = Pe(a), t = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
1538
+ var e = Be(a), t = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
1539
1539
  s.setUTCFullYear(t + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
1540
1540
  var n = Kt(s), o = /* @__PURE__ */ new Date(0);
1541
1541
  o.setUTCFullYear(t, 0, 4), o.setUTCHours(0, 0, 0, 0);
@@ -1552,7 +1552,7 @@ function Od(a) {
1552
1552
  var Ld = 6048e5;
1553
1553
  function Vd(a) {
1554
1554
  ge(1, arguments);
1555
- var e = Pe(a), t = Kt(e).getTime() - Od(e).getTime();
1555
+ var e = Be(a), t = Kt(e).getTime() - Od(e).getTime();
1556
1556
  return Math.round(t / Ld) + 1;
1557
1557
  }
1558
1558
  function Gt(a, e) {
@@ -1561,13 +1561,13 @@ function Gt(a, e) {
1561
1561
  var u = n1(), v = Ke((t = (s = (n = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
1562
1562
  if (!(v >= 0 && v <= 6))
1563
1563
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1564
- var p = Pe(a), C = p.getUTCDay(), w = (C < v ? 7 : 0) + C - v;
1564
+ var p = Be(a), C = p.getUTCDay(), w = (C < v ? 7 : 0) + C - v;
1565
1565
  return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
1566
1566
  }
1567
1567
  function _a(a, e) {
1568
1568
  var t, s, n, o, i, l, r, d;
1569
1569
  ge(1, arguments);
1570
- var u = Pe(a), v = u.getUTCFullYear(), p = n1(), C = Ke((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1570
+ var u = Be(a), v = u.getUTCFullYear(), p = n1(), C = Ke((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1571
1571
  if (!(C >= 1 && C <= 7))
1572
1572
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1573
1573
  var w = /* @__PURE__ */ new Date(0);
@@ -1588,7 +1588,7 @@ function Hd(a, e) {
1588
1588
  var Dd = 6048e5;
1589
1589
  function Pd(a, e) {
1590
1590
  ge(1, arguments);
1591
- var t = Pe(a), s = Gt(t, e).getTime() - Hd(t, e).getTime();
1591
+ var t = Be(a), s = Gt(t, e).getTime() - Hd(t, e).getTime();
1592
1592
  return Math.round(s / Dd) + 1;
1593
1593
  }
1594
1594
  function le(a, e) {
@@ -2709,7 +2709,7 @@ function Bc(a, e, t) {
2709
2709
  throw new RangeError("locale must contain localize property");
2710
2710
  if (!K.formatLong)
2711
2711
  throw new RangeError("locale must contain formatLong property");
2712
- var J = Pe(a);
2712
+ var J = Be(a);
2713
2713
  if (!ma(J))
2714
2714
  throw new RangeError("Invalid time value");
2715
2715
  var de = Ad(J), h = Sd(J, de), O = {
@@ -3904,7 +3904,7 @@ const z0 = /* @__PURE__ */ x({
3904
3904
  var n;
3905
3905
  return (n = e.milestones) == null ? void 0 : n.length;
3906
3906
  }), s = y(() => e.milestones ? ka(e.milestones) : 0);
3907
- return (n, o) => (c(), R(O1, He({
3907
+ return (n, o) => (c(), R(O1, Ie({
3908
3908
  id: n.id,
3909
3909
  title: n.name,
3910
3910
  activities: s.value,
@@ -4515,7 +4515,7 @@ function Ia(a) {
4515
4515
  function je(a) {
4516
4516
  return a instanceof Element || a instanceof we(a).Element;
4517
4517
  }
4518
- function De(a) {
4518
+ function Pe(a) {
4519
4519
  return a instanceof HTMLElement || a instanceof we(a).HTMLElement;
4520
4520
  }
4521
4521
  function sa(a) {
@@ -4539,7 +4539,7 @@ function D1(a) {
4539
4539
  }
4540
4540
  function C3(a) {
4541
4541
  let e = mt(a);
4542
- for (; De(e) && !d1(e); ) {
4542
+ for (; Pe(e) && !d1(e); ) {
4543
4543
  if (D1(e))
4544
4544
  return e;
4545
4545
  e = mt(e);
@@ -4578,7 +4578,7 @@ function mt(a) {
4578
4578
  }
4579
4579
  function Oa(a) {
4580
4580
  const e = mt(a);
4581
- return d1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : De(e) && Nt(e) ? e : Oa(e);
4581
+ return d1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : Pe(e) && Nt(e) ? e : Oa(e);
4582
4582
  }
4583
4583
  function Vt(a, e, t) {
4584
4584
  var s;
@@ -4589,7 +4589,7 @@ function Vt(a, e, t) {
4589
4589
  function La(a) {
4590
4590
  const e = Ee(a);
4591
4591
  let t = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
4592
- const n = De(a), o = n ? a.offsetWidth : t, i = n ? a.offsetHeight : s, l = xt(t) !== o || xt(s) !== i;
4592
+ const n = Pe(a), o = n ? a.offsetWidth : t, i = n ? a.offsetHeight : s, l = xt(t) !== o || xt(s) !== i;
4593
4593
  return l && (t = o, s = i), {
4594
4594
  width: t,
4595
4595
  height: s,
@@ -4601,7 +4601,7 @@ function B1(a) {
4601
4601
  }
4602
4602
  function vt(a) {
4603
4603
  const e = B1(a);
4604
- if (!De(e))
4604
+ if (!Pe(e))
4605
4605
  return Ge(1);
4606
4606
  const t = e.getBoundingClientRect(), {
4607
4607
  width: s,
@@ -4653,7 +4653,7 @@ function b3(a) {
4653
4653
  offsetParent: t,
4654
4654
  strategy: s
4655
4655
  } = a;
4656
- const n = De(t), o = Ze(t);
4656
+ const n = Pe(t), o = Ze(t);
4657
4657
  if (t === o)
4658
4658
  return e;
4659
4659
  let i = {
@@ -4661,7 +4661,7 @@ function b3(a) {
4661
4661
  scrollTop: 0
4662
4662
  }, l = Ge(1);
4663
4663
  const r = Ge(0);
4664
- if ((n || !n && s !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i = c1(t)), De(t))) {
4664
+ if ((n || !n && s !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i = c1(t)), Pe(t))) {
4665
4665
  const d = tt(t);
4666
4666
  l = vt(t), r.x = d.x + t.clientLeft, r.y = d.y + t.clientTop;
4667
4667
  }
@@ -4705,7 +4705,7 @@ function $3(a, e) {
4705
4705
  };
4706
4706
  }
4707
4707
  function M3(a, e) {
4708
- const t = tt(a, !0, e === "fixed"), s = t.top + a.clientTop, n = t.left + a.clientLeft, o = De(a) ? vt(a) : Ge(1), i = a.clientWidth * o.x, l = a.clientHeight * o.y, r = n * o.x, d = s * o.y;
4708
+ const t = tt(a, !0, e === "fixed"), s = t.top + a.clientTop, n = t.left + a.clientLeft, o = Pe(a) ? vt(a) : Ge(1), i = a.clientWidth * o.x, l = a.clientHeight * o.y, r = n * o.x, d = s * o.y;
4709
4709
  return {
4710
4710
  width: i,
4711
4711
  height: l,
@@ -4770,7 +4770,7 @@ function T3(a) {
4770
4770
  return La(a);
4771
4771
  }
4772
4772
  function S3(a, e, t) {
4773
- const s = De(e), n = Ze(e), o = t === "fixed", i = tt(a, !0, o, e);
4773
+ const s = Pe(e), n = Ze(e), o = t === "fixed", i = tt(a, !0, o, e);
4774
4774
  let l = {
4775
4775
  scrollLeft: 0,
4776
4776
  scrollTop: 0
@@ -4790,11 +4790,11 @@ function S3(a, e, t) {
4790
4790
  };
4791
4791
  }
4792
4792
  function oa(a, e) {
4793
- return !De(a) || Ee(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
4793
+ return !Pe(a) || Ee(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
4794
4794
  }
4795
4795
  function Pa(a, e) {
4796
4796
  const t = we(a);
4797
- if (!De(a))
4797
+ if (!Pe(a))
4798
4798
  return t;
4799
4799
  let s = oa(a, e);
4800
4800
  for (; s && m3(s) && Ee(s).position === "static"; )
@@ -4989,7 +4989,7 @@ const H3 = (a, e, t) => {
4989
4989
  l.value();
4990
4990
  });
4991
4991
  };
4992
- function Ve(a) {
4992
+ function He(a) {
4993
4993
  return [null, void 0].indexOf(a) !== -1;
4994
4994
  }
4995
4995
  function P3(a, e, t) {
@@ -4997,7 +4997,7 @@ function P3(a, e, t) {
4997
4997
  l.value = u(v);
4998
4998
  const C = d(v);
4999
4999
  e.emit("change", C, i), p && (e.emit("input", C), e.emit("update:modelValue", C));
5000
- }, d = (v) => s.value || Ve(v) ? v : Array.isArray(v) ? v.map((p) => p[n.value]) : v[n.value], u = (v) => Ve(v) ? o.value === "single" ? {} : [] : v;
5000
+ }, d = (v) => s.value || He(v) ? v : Array.isArray(v) ? v.map((p) => p[n.value]) : v[n.value], u = (v) => He(v) ? o.value === "single" ? {} : [] : v;
5001
5001
  return {
5002
5002
  update: r
5003
5003
  };
@@ -5105,7 +5105,7 @@ function Z3(a, e, t) {
5105
5105
  disabledProp: se,
5106
5106
  searchStart: M,
5107
5107
  searchFilter: Y
5108
- } = $e(a), ie = nt().proxy, B = t.iv, S = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, Ra = t.pointer, it = t.clearPointer, Ua = t.focus, ja = t.deactivate, ot = t.close, Za = t.localize, gt = Q([]), Fe = Q([]), Oe = Q(!1), f1 = Q(null), v1 = Q(re.value && i.value === -1 ? 10 : i.value), j1 = y(() => r.value || d.value || !1), Fa = y(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = y(() => {
5108
+ } = $e(a), ie = nt().proxy, B = t.iv, S = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, Ra = t.pointer, it = t.clearPointer, Ua = t.focus, ja = t.deactivate, ot = t.close, Za = t.localize, gt = Q([]), Fe = Q([]), Le = Q(!1), f1 = Q(null), v1 = Q(re.value && i.value === -1 ? 10 : i.value), j1 = y(() => r.value || d.value || !1), Fa = y(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = y(() => {
5109
5109
  if (z.value) {
5110
5110
  let _ = Rt.value || /* istanbul ignore next */
5111
5111
  [], H = [];
@@ -5160,17 +5160,17 @@ function Z3(a, e, t) {
5160
5160
  }), p1 = y(() => {
5161
5161
  switch (n.value) {
5162
5162
  case "single":
5163
- return !Ve(B.value[D.value]);
5163
+ return !He(B.value[D.value]);
5164
5164
  case "multiple":
5165
5165
  case "tags":
5166
- return !Ve(B.value) && B.value.length > 0;
5166
+ return !He(B.value) && B.value.length > 0;
5167
5167
  }
5168
- }), za = y(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Wa = y(() => !qe.value.length && !Oe.value && !lt.value.length), Ya = y(() => qe.value.length > 0 && bt.value.length == 0 && (N.value && z.value || !z.value)), lt = y(() => j1.value === !1 || !N.value ? [] : an(N.value) !== -1 ? [] : [{
5168
+ }), za = y(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Wa = y(() => !qe.value.length && !Le.value && !lt.value.length), Ya = y(() => qe.value.length > 0 && bt.value.length == 0 && (N.value && z.value || !z.value)), lt = y(() => j1.value === !1 || !N.value ? [] : an(N.value) !== -1 ? [] : [{
5169
5169
  [D.value]: N.value,
5170
- [Le.value]: N.value,
5170
+ [Ve.value]: N.value,
5171
5171
  [u.value]: N.value,
5172
5172
  __CREATE__: !0
5173
- }]), Le = y(() => o.value || u.value), Ka = y(() => {
5173
+ }]), Ve = y(() => o.value || u.value), Ka = y(() => {
5174
5174
  switch (n.value) {
5175
5175
  case "single":
5176
5176
  return null;
@@ -5178,8 +5178,8 @@ function Z3(a, e, t) {
5178
5178
  case "tags":
5179
5179
  return [];
5180
5180
  }
5181
- }), Ga = y(() => $.value || Oe.value), rt = (_) => {
5182
- switch (typeof _ != "object" && (_ = Ne(_)), n.value) {
5181
+ }), Ga = y(() => $.value || Le.value), rt = (_) => {
5182
+ switch (typeof _ != "object" && (_ = Re(_)), n.value) {
5183
5183
  case "single":
5184
5184
  Me(_);
5185
5185
  break;
@@ -5190,7 +5190,7 @@ function Z3(a, e, t) {
5190
5190
  }
5191
5191
  e.emit("select", q1(_), _, ie);
5192
5192
  }, ut = (_) => {
5193
- switch (typeof _ != "object" && (_ = Ne(_)), n.value) {
5193
+ switch (typeof _ != "object" && (_ = Re(_)), n.value) {
5194
5194
  case "single":
5195
5195
  W1();
5196
5196
  break;
@@ -5210,21 +5210,21 @@ function Z3(a, e, t) {
5210
5210
  z1(_);
5211
5211
  }, W1 = () => {
5212
5212
  e.emit("clear", ie), Me(Ka.value);
5213
- }, Be = (_) => {
5213
+ }, Ne = (_) => {
5214
5214
  if (_.group !== void 0)
5215
5215
  return n.value === "single" ? !1 : tn(_[oe.value]) && _[oe.value].length;
5216
5216
  switch (n.value) {
5217
5217
  case "single":
5218
- return !Ve(B.value) && B.value[D.value] == _[D.value];
5218
+ return !He(B.value) && B.value[D.value] == _[D.value];
5219
5219
  case "tags":
5220
5220
  case "multiple":
5221
- return !Ve(B.value) && B.value.map((H) => H[D.value]).indexOf(_[D.value]) !== -1;
5221
+ return !He(B.value) && B.value.map((H) => H[D.value]).indexOf(_[D.value]) !== -1;
5222
5222
  }
5223
5223
  }, h1 = (_) => _[se.value] === !0, m1 = () => J === void 0 || J.value === -1 || !p1.value && J.value > 0 ? !1 : B.value.length >= J.value, Xa = (_) => {
5224
5224
  if (!h1(_)) {
5225
- if (Z && Z.value && !Be(_) && _.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__, _ = Z.value(_, ie), _ instanceof Promise)) {
5226
- Oe.value = !0, _.then((H) => {
5227
- Oe.value = !1, Y1(H);
5225
+ if (Z && Z.value && !Ne(_) && _.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__, _ = Z.value(_, ie), _ instanceof Promise)) {
5226
+ Le.value = !0, _.then((H) => {
5227
+ Le.value = !1, Y1(H);
5228
5228
  });
5229
5229
  return;
5230
5230
  }
@@ -5233,14 +5233,14 @@ function Z3(a, e, t) {
5233
5233
  }, Y1 = (_) => {
5234
5234
  switch (_.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__), n.value) {
5235
5235
  case "single":
5236
- if (_ && Be(_)) {
5236
+ if (_ && Ne(_)) {
5237
5237
  E.value && ut(_), O.value && (it(), ot());
5238
5238
  return;
5239
5239
  }
5240
5240
  _ && C1(_), W.value && pe(), h.value && (it(), ot()), _ && rt(_);
5241
5241
  break;
5242
5242
  case "multiple":
5243
- if (_ && Be(_)) {
5243
+ if (_ && Ne(_)) {
5244
5244
  ut(_), O.value && (it(), ot());
5245
5245
  return;
5246
5246
  }
@@ -5251,7 +5251,7 @@ function Z3(a, e, t) {
5251
5251
  _ && (C1(_), rt(_)), W.value && pe(), l.value && it(), h.value && ot();
5252
5252
  break;
5253
5253
  case "tags":
5254
- if (_ && Be(_)) {
5254
+ if (_ && Ne(_)) {
5255
5255
  ut(_), O.value && (it(), ot());
5256
5256
  return;
5257
5257
  }
@@ -5276,12 +5276,12 @@ function Z3(a, e, t) {
5276
5276
  h.value && ja();
5277
5277
  }
5278
5278
  }, C1 = (_) => {
5279
- Ne(_[D.value]) === void 0 && j1.value && (e.emit("tag", _[D.value], ie), e.emit("option", _[D.value], ie), e.emit("create", _[D.value], ie), Fa.value && sn(_), pe());
5279
+ Re(_[D.value]) === void 0 && j1.value && (e.emit("tag", _[D.value], ie), e.emit("option", _[D.value], ie), e.emit("create", _[D.value], ie), Fa.value && sn(_), pe());
5280
5280
  }, Ja = () => {
5281
- n.value !== "single" && rt(bt.value.filter((_) => !_.disabled && !Be(_)));
5282
- }, en = (_) => _.find((H) => !Be(H) && !H[se.value]) === void 0, tn = (_) => _.find((H) => !Be(H)) === void 0, Ne = (_) => qe.value[qe.value.map((H) => String(H[D.value])).indexOf(String(_))], an = (_, H = !0) => qe.value.map((ne) => parseInt(ne[Le.value]) == ne[Le.value] ? parseInt(ne[Le.value]) : ne[Le.value]).indexOf(
5281
+ n.value !== "single" && rt(bt.value.filter((_) => !_.disabled && !Ne(_)));
5282
+ }, en = (_) => _.find((H) => !Ne(H) && !H[se.value]) === void 0, tn = (_) => _.find((H) => !Ne(H)) === void 0, Re = (_) => qe.value[qe.value.map((H) => String(H[D.value])).indexOf(String(_))], an = (_, H = !0) => qe.value.map((ne) => parseInt(ne[Ve.value]) == ne[Ve.value] ? parseInt(ne[Ve.value]) : ne[Ve.value]).indexOf(
5283
5283
  parseInt(_) == _ ? parseInt(_) : _
5284
- ), nn = (_) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Be(_), sn = (_) => {
5284
+ ), nn = (_) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Ne(_), sn = (_) => {
5285
5285
  gt.value.push(_);
5286
5286
  }, on = (_) => I.value ? _.filter(
5287
5287
  (H) => N.value ? H.__VISIBLE__.length : H[oe.value].length
@@ -5289,8 +5289,8 @@ function Z3(a, e, t) {
5289
5289
  let ne = _;
5290
5290
  if (N.value && L.value) {
5291
5291
  let he = Y.value;
5292
- he || (he = (yt, J4) => {
5293
- let G1 = $1(Za(yt[Le.value]), de.value);
5292
+ he || (he = (yt, Q4) => {
5293
+ let G1 = $1(Za(yt[Ve.value]), de.value);
5294
5294
  return M.value ? G1.startsWith($1(N.value, de.value)) : G1.indexOf($1(N.value, de.value)) !== -1;
5295
5295
  }), ne = ne.filter(he);
5296
5296
  }
@@ -5299,29 +5299,29 @@ function Z3(a, e, t) {
5299
5299
  let H = _;
5300
5300
  return U3(H) && (H = Object.keys(H).map((ne) => {
5301
5301
  let he = H[ne];
5302
- return { [D.value]: ne, [Le.value]: he, [u.value]: he };
5303
- })), H = H.map((ne) => typeof ne == "object" ? ne : { [D.value]: ne, [Le.value]: ne, [u.value]: ne }), H;
5302
+ return { [D.value]: ne, [Ve.value]: he, [u.value]: he };
5303
+ })), H = H.map((ne) => typeof ne == "object" ? ne : { [D.value]: ne, [Ve.value]: ne, [u.value]: ne }), H;
5304
5304
  }, Ut = () => {
5305
- Ve(S.value) || (B.value = Zt(S.value));
5306
- }, jt = (_) => (Oe.value = !0, new Promise((H, ne) => {
5305
+ He(S.value) || (B.value = Zt(S.value));
5306
+ }, jt = (_) => (Le.value = !0, new Promise((H, ne) => {
5307
5307
  s.value(N.value, ie).then((he) => {
5308
- Fe.value = he || [], typeof _ == "function" && _(he), Oe.value = !1;
5308
+ Fe.value = he || [], typeof _ == "function" && _(he), Le.value = !1;
5309
5309
  }).catch((he) => {
5310
- console.error(he), Fe.value = [], Oe.value = !1;
5310
+ console.error(he), Fe.value = [], Le.value = !1;
5311
5311
  }).finally(() => {
5312
5312
  H();
5313
5313
  });
5314
5314
  })), b1 = () => {
5315
5315
  if (p1.value)
5316
5316
  if (n.value === "single") {
5317
- let _ = Ne(B.value[D.value]);
5317
+ let _ = Re(B.value[D.value]);
5318
5318
  if (_ !== void 0) {
5319
5319
  let H = _[u.value];
5320
5320
  B.value[u.value] = H, w.value && (S.value[u.value] = H);
5321
5321
  }
5322
5322
  } else
5323
5323
  B.value.forEach((_, H) => {
5324
- let ne = Ne(B.value[H][D.value]);
5324
+ let ne = Re(B.value[H][D.value]);
5325
5325
  if (ne !== void 0) {
5326
5326
  let he = ne[u.value];
5327
5327
  B.value[H][u.value] = he, w.value && (S.value[H][u.value] = he);
@@ -5329,19 +5329,19 @@ function Z3(a, e, t) {
5329
5329
  });
5330
5330
  }, ln = (_) => {
5331
5331
  jt(_);
5332
- }, Zt = (_) => Ve(_) ? n.value === "single" ? {} : [] : w.value ? _ : n.value === "single" ? Ne(_) || (K.value ? {
5332
+ }, Zt = (_) => He(_) ? n.value === "single" ? {} : [] : w.value ? _ : n.value === "single" ? Re(_) || (K.value ? {
5333
5333
  [u.value]: _,
5334
5334
  [D.value]: _,
5335
- [Le.value]: _
5336
- } : {}) : _.filter((H) => !!Ne(H) || K.value).map((H) => Ne(H) || {
5335
+ [Ve.value]: _
5336
+ } : {}) : _.filter((H) => !!Re(H) || K.value).map((H) => Re(H) || {
5337
5337
  [u.value]: H,
5338
5338
  [D.value]: H,
5339
- [Le.value]: H
5339
+ [Ve.value]: H
5340
5340
  }), K1 = () => {
5341
5341
  f1.value = ue(N, (_) => {
5342
- _.length < b.value || !_ && b.value !== 0 || (Oe.value = !0, U.value && (Fe.value = []), setTimeout(() => {
5342
+ _.length < b.value || !_ && b.value !== 0 || (Le.value = !0, U.value && (Fe.value = []), setTimeout(() => {
5343
5343
  _ == N.value && s.value(N.value, ie).then((H) => {
5344
- (_ == N.value || !N.value) && (Fe.value = H, Ra.value = bt.value.filter((ne) => ne[se.value] !== !0)[0] || null, Oe.value = !1);
5344
+ (_ == N.value || !N.value) && (Fe.value = H, Ra.value = bt.value.filter((ne) => ne[se.value] !== !0)[0] || null, Le.value = !1);
5345
5345
  }).catch(
5346
5346
  /* istanbul ignore next */
5347
5347
  (H) => {
@@ -5351,12 +5351,12 @@ function Z3(a, e, t) {
5351
5351
  }, A.value));
5352
5352
  }, { flush: "sync" });
5353
5353
  };
5354
- if (n.value !== "single" && !Ve(S.value) && !Array.isArray(S.value))
5354
+ if (n.value !== "single" && !He(S.value) && !Array.isArray(S.value))
5355
5355
  throw new Error(`v-model must be an array when using "${n.value}" mode`);
5356
5356
  return s && typeof s.value == "function" ? g.value ? jt(Ut) : w.value == !0 && Ut() : (Fe.value = s.value, Ut()), A.value > -1 && K1(), ue(A, (_, H) => {
5357
5357
  f1.value && f1.value(), _ >= 0 && K1();
5358
5358
  }), ue(S, (_) => {
5359
- if (Ve(_)) {
5359
+ if (He(_)) {
5360
5360
  Me(Zt(_), !1);
5361
5361
  return;
5362
5362
  }
@@ -5385,7 +5385,7 @@ function Z3(a, e, t) {
5385
5385
  filteredGroups: F1,
5386
5386
  noOptions: Wa,
5387
5387
  noResults: Ya,
5388
- resolving: Oe,
5388
+ resolving: Le,
5389
5389
  busy: Ga,
5390
5390
  offset: v1,
5391
5391
  select: rt,
@@ -5393,10 +5393,10 @@ function Z3(a, e, t) {
5393
5393
  remove: z1,
5394
5394
  selectAll: Ja,
5395
5395
  clear: W1,
5396
- isSelected: Be,
5396
+ isSelected: Ne,
5397
5397
  isDisabled: h1,
5398
5398
  isMax: m1,
5399
- getOption: Ne,
5399
+ getOption: Re,
5400
5400
  handleOptionClick: Xa,
5401
5401
  handleGroupClick: Qa,
5402
5402
  handleTagRemove: xa,
@@ -5447,7 +5447,7 @@ function F3(a, e, t) {
5447
5447
  let S = D.value.map((N) => N[s.value]).indexOf(g.value[s.value]) + 1;
5448
5448
  D.value.length <= S && (S = 0), b(D.value[S] || null);
5449
5449
  }
5450
- Ie(() => {
5450
+ Oe(() => {
5451
5451
  B();
5452
5452
  });
5453
5453
  }, Y = () => {
@@ -5462,7 +5462,7 @@ function F3(a, e, t) {
5462
5462
  let S = D.value.map((N) => N[s.value]).indexOf(g.value[s.value]) - 1;
5463
5463
  S < 0 && (S = D.value.length - 1), b(D.value[S] || null);
5464
5464
  }
5465
- Ie(() => {
5465
+ Oe(() => {
5466
5466
  B();
5467
5467
  });
5468
5468
  }, ie = (S) => K.value.find((N) => N.__VISIBLE__.map((pe) => pe[s.value]).indexOf(S[s.value]) !== -1), B = () => {
@@ -5480,7 +5480,7 @@ function F3(a, e, t) {
5480
5480
  if (!N)
5481
5481
  return;
5482
5482
  let pe = N.parentElement.parentElement;
5483
- Ie(() => {
5483
+ Oe(() => {
5484
5484
  pe.scrollTop > 0 || (pe.scrollTop = N.offsetTop);
5485
5485
  });
5486
5486
  }
@@ -5753,7 +5753,7 @@ function K3(a, e, t) {
5753
5753
  const { isIntersecting: A, target: g } = $[0];
5754
5754
  if (A) {
5755
5755
  const b = g.offsetParent, L = b.scrollTop;
5756
- i.value += s.value == -1 ? 10 : s.value, Ie(() => {
5756
+ i.value += s.value == -1 ? 10 : s.value, Oe(() => {
5757
5757
  b.scrollTop = L;
5758
5758
  });
5759
5759
  }
@@ -6214,7 +6214,7 @@ function _5(a, e, t, s, n, o) {
6214
6214
  onKeyup: e[12] || (e[12] = (...i) => a.handleKeyup && a.handleKeyup(...i)),
6215
6215
  onKeydown: e[13] || (e[13] = (...i) => a.handleKeydown && a.handleKeydown(...i))
6216
6216
  }, [
6217
- f("div", He({
6217
+ f("div", Ie({
6218
6218
  class: a.classList.wrapper,
6219
6219
  onMousedown: e[9] || (e[9] = (...i) => a.handleMousedown && a.handleMousedown(...i)),
6220
6220
  ref: "wrapper",
@@ -6227,7 +6227,7 @@ function _5(a, e, t, s, n, o) {
6227
6227
  role: t.searchable ? void 0 : "combobox"
6228
6228
  }, t.searchable ? {} : a.arias), [
6229
6229
  k(" Search "),
6230
- t.mode !== "tags" && t.searchable && !t.disabled ? (c(), m("input", He({
6230
+ t.mode !== "tags" && t.searchable && !t.disabled ? (c(), m("input", Ie({
6231
6231
  key: 0,
6232
6232
  type: t.inputType,
6233
6233
  modelValue: a.search,
@@ -6319,7 +6319,7 @@ function _5(a, e, t, s, n, o) {
6319
6319
  /* TEXT, CLASS */
6320
6320
  ),
6321
6321
  k(" Actual search input "),
6322
- t.searchable && !t.disabled ? (c(), m("input", He({
6322
+ t.searchable && !t.disabled ? (c(), m("input", Ie({
6323
6323
  key: 0,
6324
6324
  type: t.inputType,
6325
6325
  modelValue: a.search,
@@ -6737,9 +6737,9 @@ async function Ue(a, e) {
6737
6737
  if (s.length !== 1)
6738
6738
  return;
6739
6739
  const n = s[0].id;
6740
- await Ie();
6740
+ await Oe();
6741
6741
  const o = document.getElementById(n);
6742
- o == null || o.focus(), await Ie();
6742
+ o == null || o.focus(), await Oe();
6743
6743
  const i = document.getElementById(
6744
6744
  n
6745
6745
  );
@@ -7005,7 +7005,7 @@ const H5 = { class: "ao-comment" }, D5 = { class: "ao-comment__body" }, P5 = { c
7005
7005
  e("remove");
7006
7006
  }, $ = Q(2);
7007
7007
  return hn(() => {
7008
- Ie(() => {
7008
+ Oe(() => {
7009
7009
  var A;
7010
7010
  if (!o.value) {
7011
7011
  const g = (A = n.value) == null ? void 0 : A.getClientRects().length;
@@ -7093,7 +7093,7 @@ const U5 = {
7093
7093
  emits: ["createComment", "updateComment", "removeComment"],
7094
7094
  setup(a, { emit: e }) {
7095
7095
  const t = a, s = (u) => t.users.find((p) => p.id === u), n = Q();
7096
- Ie(() => {
7096
+ Oe(() => {
7097
7097
  n.value && (n.value.scrollTop = n.value.scrollHeight);
7098
7098
  });
7099
7099
  const o = ft(t.newComment), i = y({
@@ -8460,7 +8460,7 @@ const h9 = { class: "ao-project-phase" }, m9 = {
8460
8460
  ]),
8461
8461
  f("div", _9, [
8462
8462
  f("div", g9, [
8463
- T(F(Xe), He({
8463
+ T(F(Xe), Ie({
8464
8464
  class: "ao-project-phase__milestones-list",
8465
8465
  list: o.value,
8466
8466
  disabled: !v.isEditable,
@@ -8477,7 +8477,7 @@ const h9 = { class: "ao-project-phase" }, m9 = {
8477
8477
  "closed-status": v.closedStatus,
8478
8478
  class: "ao-project-phase__milestone",
8479
8479
  onClick: (w) => v.$router.push({
8480
- name: F(Re).milestone,
8480
+ name: F(De).milestone,
8481
8481
  params: { phaseId: v.phase.id, milestoneId: C.id }
8482
8482
  }),
8483
8483
  onUpdateMilestone: l,
@@ -8679,7 +8679,7 @@ function D9(a, e, t, s, n, o) {
8679
8679
  }, q(a.rightLabel), 3)
8680
8680
  ]);
8681
8681
  }
8682
- const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655"]]), P9 = { class: "ao-project-overview" }, B9 = { class: "ao-project" }, N9 = { class: "ao-project__body" }, R9 = /* @__PURE__ */ x({
8682
+ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655"]]), P9 = { class: "ao-project" }, B9 = { class: "ao-project__body" }, N9 = /* @__PURE__ */ x({
8683
8683
  __name: "AoProjectOverviewProject",
8684
8684
  props: {
8685
8685
  project: {},
@@ -8739,8 +8739,8 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
8739
8739
  return (E, J) => {
8740
8740
  const de = mn("RouterView");
8741
8741
  return c(), m(ve, null, [
8742
- f("div", P9, [
8743
- f("div", B9, [
8742
+ f("div", Ie({ class: "ao-project-overview" }, E.$attrs), [
8743
+ f("div", P9, [
8744
8744
  T(r1, null, {
8745
8745
  primary: j(() => [
8746
8746
  T(Ba, {
@@ -8748,7 +8748,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
8748
8748
  "right-label": E.$t("project.switch.feed"),
8749
8749
  "left-label": E.$t("project.switch.overview"),
8750
8750
  "onUpdate:isLeft": J[0] || (J[0] = (h) => {
8751
- h || E.$router.push({ name: F(Re).feed });
8751
+ h || E.$router.push({ name: F(De).feed });
8752
8752
  })
8753
8753
  }, null, 8, ["right-label", "left-label"]),
8754
8754
  E.isEditable ? (c(), R(fe, {
@@ -8761,7 +8761,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
8761
8761
  ]),
8762
8762
  _: 1
8763
8763
  }),
8764
- f("div", N9, [
8764
+ f("div", B9, [
8765
8765
  T(T9, {
8766
8766
  phases: E.phases,
8767
8767
  "closed-status": E.closedStatus,
@@ -8782,7 +8782,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
8782
8782
  "project-name": E.project.name,
8783
8783
  users: E.users,
8784
8784
  "is-editable": E.isEditable,
8785
- onClose: J[2] || (J[2] = (h) => E.$router.push({ name: F(Re).project })),
8785
+ onClose: J[2] || (J[2] = (h) => E.$router.push({ name: F(De).project })),
8786
8786
  onAddActivity: v,
8787
8787
  onUpdateActivity: p,
8788
8788
  onArchiveActivity: C
@@ -8808,7 +8808,7 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
8808
8808
  onRemoveComment: D
8809
8809
  }, null, 8, ["activities", "is-task-checkable", "statuses", "phases", "users", "user-id", "is-editable"])
8810
8810
  ]))
8811
- ]),
8811
+ ], 16),
8812
8812
  (c(), R(It, { to: "body" }, [
8813
8813
  K.value ? (c(), R(L9, {
8814
8814
  key: 0,
@@ -8822,34 +8822,34 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
8822
8822
  };
8823
8823
  }
8824
8824
  });
8825
- const U9 = { class: "ao-card-feed__header" }, j9 = {
8825
+ const R9 = { class: "ao-card-feed__header" }, U9 = {
8826
8826
  key: 1,
8827
8827
  class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
8828
- }, Z9 = {
8828
+ }, j9 = {
8829
8829
  key: 2,
8830
8830
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
8831
- }, F9 = { class: "ao-card-feed__body" }, q9 = {
8831
+ }, Z9 = { class: "ao-card-feed__body" }, F9 = {
8832
8832
  key: 0,
8833
8833
  class: "ao-card-feed__breadcrumbs"
8834
- }, z9 = {
8834
+ }, q9 = {
8835
8835
  key: 1,
8836
8836
  class: "ao-card-feed__deadline"
8837
- }, W9 = { class: "ao-card-feed__footer" }, Y9 = { class: "ao-card-feed__footer-row" }, K9 = { class: "ao-assignees" }, G9 = {
8837
+ }, z9 = { class: "ao-card-feed__footer" }, W9 = { class: "ao-card-feed__footer-row" }, Y9 = { class: "ao-assignees" }, K9 = {
8838
8838
  key: 0,
8839
8839
  class: "ao-assignee"
8840
- }, x9 = {
8840
+ }, G9 = {
8841
8841
  key: 0,
8842
8842
  class: "ao-card-feed__subitems"
8843
- }, X9 = {
8843
+ }, x9 = {
8844
8844
  key: 0,
8845
8845
  class: "ao-card-feed__subitem"
8846
- }, Q9 = { class: "ao-card-feed__subitem" }, J9 = {
8846
+ }, X9 = { class: "ao-card-feed__subitem" }, Q9 = {
8847
8847
  key: 1,
8848
8848
  class: "ao-card-feed__subitem"
8849
- }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__footer-row" }, a4 = {
8849
+ }, J9 = { class: "ao-card-feed__subitem" }, e4 = { class: "ao-card-feed__footer-row" }, t4 = {
8850
8850
  key: 0,
8851
8851
  class: "ao-card-feed__progress-wrapper"
8852
- }, n4 = { class: "ao-card-feed__subitem" }, s4 = { class: "ao-card-feed__subitem" }, Na = /* @__PURE__ */ x({
8852
+ }, a4 = { class: "ao-card-feed__subitem" }, n4 = { class: "ao-card-feed__subitem" }, Na = /* @__PURE__ */ x({
8853
8853
  __name: "AoCardFeed",
8854
8854
  props: {
8855
8855
  id: {},
@@ -8891,7 +8891,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8891
8891
  "is-clickable": !0
8892
8892
  }, {
8893
8893
  header: j(() => [
8894
- f("div", U9, [
8894
+ f("div", R9, [
8895
8895
  p.projectName ? (c(), R(E1, {
8896
8896
  key: 0,
8897
8897
  label: p.projectName,
@@ -8900,7 +8900,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8900
8900
  color: p.projectColor ? void 0 : "primary",
8901
8901
  "raw-color": p.projectColor
8902
8902
  }, null, 8, ["label", "color", "raw-color"])) : k("", !0),
8903
- p.isPrivate || p.important ? (c(), m("div", j9, [
8903
+ p.isPrivate || p.important ? (c(), m("div", U9, [
8904
8904
  p.isPrivate ? (c(), R(ce, {
8905
8905
  key: 0,
8906
8906
  name: "Lock",
@@ -8914,14 +8914,14 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8914
8914
  size: "sm"
8915
8915
  })) : k("", !0)
8916
8916
  ])) : k("", !0),
8917
- p.$slots.secondary ? (c(), m("div", Z9, [
8917
+ p.$slots.secondary ? (c(), m("div", j9, [
8918
8918
  ee(p.$slots, "secondary")
8919
8919
  ])) : k("", !0)
8920
8920
  ])
8921
8921
  ]),
8922
8922
  default: j(() => [
8923
- f("div", F9, [
8924
- n.value ? (c(), m("span", q9, q(n.value), 1)) : k("", !0),
8923
+ f("div", Z9, [
8924
+ n.value ? (c(), m("span", F9, q(n.value), 1)) : k("", !0),
8925
8925
  T(Ce, {
8926
8926
  id: p.id,
8927
8927
  title: p.name,
@@ -8929,17 +8929,17 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8929
8929
  "is-editable": p.isEditable,
8930
8930
  "onUpdate:title": s
8931
8931
  }, null, 8, ["id", "title", "is-editable"]),
8932
- p.deadline ? (c(), m("span", z9, q(i.value), 1)) : k("", !0)
8932
+ p.deadline ? (c(), m("span", q9, q(i.value), 1)) : k("", !0)
8933
8933
  ])
8934
8934
  ]),
8935
8935
  footer: j(() => [
8936
- f("div", W9, [
8937
- f("div", Y9, [
8938
- f("ul", K9, [
8936
+ f("div", z9, [
8937
+ f("div", W9, [
8938
+ f("ul", Y9, [
8939
8939
  (c(!0), m(ve, null, be(o.value, (w) => (c(), m(ve, {
8940
8940
  key: w.id
8941
8941
  }, [
8942
- w ? (c(), m("li", G9, [
8942
+ w ? (c(), m("li", K9, [
8943
8943
  T(_t, {
8944
8944
  "user-name": l(w),
8945
8945
  "avatar-url": w.avatarUrl,
@@ -8949,31 +8949,31 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8949
8949
  ])) : k("", !0)
8950
8950
  ], 64))), 128))
8951
8951
  ]),
8952
- p.comments || p.attachments ? (c(), m("ul", x9, [
8953
- p.comments ? (c(), m("li", X9, [
8952
+ p.comments || p.attachments ? (c(), m("ul", G9, [
8953
+ p.comments ? (c(), m("li", x9, [
8954
8954
  T(ce, {
8955
8955
  name: "ChatOutline",
8956
8956
  size: "sm"
8957
8957
  }),
8958
- f("span", Q9, q(p.comments), 1)
8958
+ f("span", X9, q(p.comments), 1)
8959
8959
  ])) : k("", !0),
8960
- p.attachments ? (c(), m("li", J9, [
8960
+ p.attachments ? (c(), m("li", Q9, [
8961
8961
  T(ce, {
8962
8962
  name: "AttachFileRounded",
8963
8963
  size: "sm"
8964
8964
  }),
8965
- f("span", e4, q(p.attachments), 1)
8965
+ f("span", J9, q(p.attachments), 1)
8966
8966
  ])) : k("", !0)
8967
8967
  ])) : k("", !0)
8968
8968
  ]),
8969
- f("div", t4, [
8970
- p.tasks && p.tasks.length ? (c(), m("div", a4, [
8971
- f("div", n4, [
8969
+ f("div", e4, [
8970
+ p.tasks && p.tasks.length ? (c(), m("div", t4, [
8971
+ f("div", a4, [
8972
8972
  T(ce, {
8973
8973
  name: "SelectCheckBox",
8974
8974
  size: "sm"
8975
8975
  }),
8976
- f("span", s4, q(u.value) + " / " + q(d.value), 1)
8976
+ f("span", n4, q(u.value) + " / " + q(d.value), 1)
8977
8977
  ]),
8978
8978
  T(U1, {
8979
8979
  percentages: v.value,
@@ -8987,7 +8987,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8987
8987
  }));
8988
8988
  }
8989
8989
  });
8990
- const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-milestone__header" }, l4 = { class: "ao-project-milestone__title" }, r4 = { class: "ao-project-milestone__body" }, u4 = {
8990
+ const s4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-milestone__header" }, o4 = { class: "ao-project-milestone__title" }, l4 = { class: "ao-project-milestone__body" }, r4 = {
8991
8991
  key: 0,
8992
8992
  class: "ao-project-milestone__footer"
8993
8993
  }, ra = /* @__PURE__ */ x({
@@ -9042,9 +9042,9 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9042
9042
  };
9043
9043
  return (p, C) => {
9044
9044
  var w;
9045
- return c(), m("div", i4, [
9046
- f("header", o4, [
9047
- f("div", l4, [
9045
+ return c(), m("div", s4, [
9046
+ f("header", i4, [
9047
+ f("div", o4, [
9048
9048
  f("span", null, q(p.$t("project.milestone.title")), 1),
9049
9049
  T(Ce, {
9050
9050
  title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
@@ -9057,8 +9057,8 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9057
9057
  onClick: r
9058
9058
  })
9059
9059
  ]),
9060
- f("div", r4, [
9061
- T(F(Xe), He({
9060
+ f("div", l4, [
9061
+ T(F(Xe), Ie({
9062
9062
  class: "ao-project-milestone__activities",
9063
9063
  list: l.value,
9064
9064
  disabled: !p.isEditable,
@@ -9083,7 +9083,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9083
9083
  "is-editable": p.isEditable,
9084
9084
  "is-private": $.private,
9085
9085
  onClick: (U) => p.$router.push({
9086
- name: F(Re).activity,
9086
+ name: F(De).activity,
9087
9087
  params: { milestoneId: p.milestoneId, activityId: $.id }
9088
9088
  }),
9089
9089
  onUpdateActivity: u,
@@ -9110,7 +9110,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9110
9110
  }),
9111
9111
  _: 1
9112
9112
  }, 16, ["list", "disabled"]),
9113
- p.isEditable ? (c(), m("div", u4, [
9113
+ p.isEditable ? (c(), m("div", r4, [
9114
9114
  T(Qe, {
9115
9115
  "icon-name": "Add",
9116
9116
  label: p.$t("project.activity.add"),
@@ -9122,7 +9122,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9122
9122
  };
9123
9123
  }
9124
9124
  });
9125
- const d4 = /* @__PURE__ */ x({
9125
+ const u4 = /* @__PURE__ */ x({
9126
9126
  __name: "AoProjectOverviewActivityDetails",
9127
9127
  props: {
9128
9128
  phaseId: {},
@@ -9205,14 +9205,14 @@ const d4 = /* @__PURE__ */ x({
9205
9205
  }, null, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : k("", !0);
9206
9206
  };
9207
9207
  }
9208
- }), c4 = { class: "ao-col-header" }, f4 = /* @__PURE__ */ x({
9208
+ }), d4 = { class: "ao-col-header" }, c4 = /* @__PURE__ */ x({
9209
9209
  __name: "AoColHeader",
9210
9210
  props: {
9211
9211
  title: {},
9212
9212
  items: {}
9213
9213
  },
9214
9214
  setup(a) {
9215
- return (e, t) => (c(), m("header", c4, [
9215
+ return (e, t) => (c(), m("header", d4, [
9216
9216
  T(Ce, {
9217
9217
  title: e.title,
9218
9218
  class: "ao-col-header__title",
@@ -9228,15 +9228,15 @@ const d4 = /* @__PURE__ */ x({
9228
9228
  ]));
9229
9229
  }
9230
9230
  });
9231
- function v4(a) {
9231
+ function f4(a) {
9232
9232
  return Cn() ? (_n(a), !0) : !1;
9233
9233
  }
9234
9234
  function Jt(a) {
9235
9235
  return typeof a == "function" ? a() : F(a);
9236
9236
  }
9237
- const p4 = typeof window < "u", h4 = (a) => a != null, Tt = () => {
9237
+ const v4 = typeof window < "u", p4 = (a) => a != null, Tt = () => {
9238
9238
  };
9239
- function m4(a, e) {
9239
+ function h4(a, e) {
9240
9240
  function t(...s) {
9241
9241
  return new Promise((n, o) => {
9242
9242
  Promise.resolve(a(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
@@ -9244,7 +9244,7 @@ function m4(a, e) {
9244
9244
  }
9245
9245
  return t;
9246
9246
  }
9247
- function C4(a, e = {}) {
9247
+ function m4(a, e = {}) {
9248
9248
  let t, s, n = Tt;
9249
9249
  const o = (l) => {
9250
9250
  clearTimeout(l), n(), n = Tt;
@@ -9260,9 +9260,9 @@ function C4(a, e = {}) {
9260
9260
  });
9261
9261
  };
9262
9262
  }
9263
- function _4(a, e = 200, t = {}) {
9264
- return m4(
9265
- C4(e, t),
9263
+ function C4(a, e = 200, t = {}) {
9264
+ return h4(
9265
+ m4(e, t),
9266
9266
  a
9267
9267
  );
9268
9268
  }
@@ -9271,27 +9271,27 @@ function M1(a) {
9271
9271
  const t = Jt(a);
9272
9272
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
9273
9273
  }
9274
- const g4 = p4 ? window : void 0;
9275
- function b4() {
9274
+ const _4 = v4 ? window : void 0;
9275
+ function g4() {
9276
9276
  const a = Q(!1);
9277
9277
  return nt() && Ht(() => {
9278
9278
  a.value = !0;
9279
9279
  }), a;
9280
9280
  }
9281
- function y4(a) {
9282
- const e = b4();
9281
+ function b4(a) {
9282
+ const e = g4();
9283
9283
  return y(() => (e.value, !!a()));
9284
9284
  }
9285
- function w4(a, e, t = {}) {
9285
+ function y4(a, e, t = {}) {
9286
9286
  const {
9287
9287
  root: s,
9288
9288
  rootMargin: n = "0px",
9289
9289
  threshold: o = 0.1,
9290
- window: i = g4,
9290
+ window: i = _4,
9291
9291
  immediate: l = !0
9292
- } = t, r = y4(() => i && "IntersectionObserver" in i), d = y(() => {
9292
+ } = t, r = b4(() => i && "IntersectionObserver" in i), d = y(() => {
9293
9293
  const w = Jt(a);
9294
- return (Array.isArray(w) ? w : [w]).map(M1).filter(h4);
9294
+ return (Array.isArray(w) ? w : [w]).map(M1).filter(p4);
9295
9295
  });
9296
9296
  let u = Tt;
9297
9297
  const v = Q(l), p = r.value ? ue(
@@ -9315,7 +9315,7 @@ function w4(a, e, t = {}) {
9315
9315
  ) : Tt, C = () => {
9316
9316
  u(), p(), v.value = !1;
9317
9317
  };
9318
- return v4(C), {
9318
+ return f4(C), {
9319
9319
  isSupported: r,
9320
9320
  isActive: v,
9321
9321
  pause() {
@@ -9327,24 +9327,24 @@ function w4(a, e, t = {}) {
9327
9327
  stop: C
9328
9328
  };
9329
9329
  }
9330
- const $4 = {
9330
+ const w4 = {
9331
9331
  class: /* @__PURE__ */ G(["ao-list-kanban"])
9332
- }, M4 = { class: "ao-list-kanban__header" }, k4 = {
9332
+ }, $4 = { class: "ao-list-kanban__header" }, M4 = {
9333
9333
  key: 0,
9334
9334
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
9335
- }, A4 = {
9335
+ }, k4 = {
9336
9336
  key: 1,
9337
9337
  class: "ao-list-kanban__end"
9338
- }, T4 = {
9338
+ }, A4 = {
9339
9339
  key: 0,
9340
9340
  class: "ao-list-kanban__no-more"
9341
- }, S4 = {
9341
+ }, T4 = {
9342
9342
  key: 1,
9343
9343
  class: "ao-list-kanban__divider"
9344
- }, E4 = {
9344
+ }, S4 = {
9345
9345
  key: 1,
9346
9346
  class: "ao-list-kanban__footer"
9347
- }, I4 = /* @__PURE__ */ x({
9347
+ }, E4 = /* @__PURE__ */ x({
9348
9348
  __name: "AoListKanban",
9349
9349
  props: {
9350
9350
  list: {},
@@ -9360,7 +9360,7 @@ const $4 = {
9360
9360
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
9361
9361
  setup(a, { emit: e }) {
9362
9362
  const t = a, s = Q(!1), n = Q(null);
9363
- w4(n, ([{ isIntersecting: r }]) => {
9363
+ y4(n, ([{ isIntersecting: r }]) => {
9364
9364
  s.value = r;
9365
9365
  }), ue(s, (r) => {
9366
9366
  r && t.hasMore && !t.isLoading && e("loadMore");
@@ -9383,12 +9383,12 @@ const $4 = {
9383
9383
  )
9384
9384
  });
9385
9385
  };
9386
- return (r, d) => (c(), m("div", $4, [
9386
+ return (r, d) => (c(), m("div", w4, [
9387
9387
  r.title || r.$slots.header ? ee(r.$slots, "header", { key: 0 }, () => {
9388
9388
  var u;
9389
9389
  return [
9390
- f("div", M4, [
9391
- r.title ? (c(), R(f4, {
9390
+ f("div", $4, [
9391
+ r.title ? (c(), R(c4, {
9392
9392
  key: 0,
9393
9393
  title: r.title,
9394
9394
  level: 3,
@@ -9397,7 +9397,7 @@ const $4 = {
9397
9397
  ])
9398
9398
  ];
9399
9399
  }) : k("", !0),
9400
- T(F(Xe), He({
9400
+ T(F(Xe), Ie({
9401
9401
  class: "ao-list-kanban__list",
9402
9402
  list: r.list,
9403
9403
  "item-key": "id",
@@ -9453,20 +9453,20 @@ const $4 = {
9453
9453
  ];
9454
9454
  }),
9455
9455
  footer: j(() => [
9456
- r.isLoading ? (c(), m("div", k4, [
9456
+ r.isLoading ? (c(), m("div", M4, [
9457
9457
  T(ce, { name: "Loading" })
9458
9458
  ])) : r.hasMore ? (c(), m("div", {
9459
9459
  key: 2,
9460
9460
  ref_key: "scrollEnd",
9461
9461
  ref: n,
9462
9462
  class: "ao-list-kanban__end"
9463
- }, null, 512)) : (c(), m("div", A4, [
9464
- r.noMoreLabel ? (c(), m("span", T4, q(r.noMoreLabel), 1)) : r.isEditable ? (c(), m("span", S4)) : k("", !0)
9463
+ }, null, 512)) : (c(), m("div", k4, [
9464
+ r.noMoreLabel ? (c(), m("span", A4, q(r.noMoreLabel), 1)) : r.isEditable ? (c(), m("span", T4)) : k("", !0)
9465
9465
  ]))
9466
9466
  ]),
9467
9467
  _: 1
9468
9468
  }, 16, ["list", "disabled"]),
9469
- r.$slots.footer || r.footerLabel ? (c(), m("div", E4, [
9469
+ r.$slots.footer || r.footerLabel ? (c(), m("div", S4, [
9470
9470
  ee(r.$slots, "footer", {}, () => [
9471
9471
  r.isEditable ? (c(), R(Qe, {
9472
9472
  key: 0,
@@ -9479,7 +9479,7 @@ const $4 = {
9479
9479
  ]));
9480
9480
  }
9481
9481
  });
9482
- const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder", "onKeypress"], V4 = /* @__PURE__ */ x({
9482
+ const I4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */ x({
9483
9483
  __name: "AoSearchField",
9484
9484
  props: {
9485
9485
  modelValue: {},
@@ -9491,10 +9491,10 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
9491
9491
  const t = a, s = async (i) => {
9492
9492
  const r = i.target.value;
9493
9493
  e("update:modelValue", r, i);
9494
- }, n = _4(s, t.delay), o = (i) => {
9494
+ }, n = C4(s, t.delay), o = (i) => {
9495
9495
  e("clear", i);
9496
9496
  };
9497
- return (i, l) => (c(), m("div", O4, [
9497
+ return (i, l) => (c(), m("div", I4, [
9498
9498
  f("input", {
9499
9499
  value: i.modelValue,
9500
9500
  type: "text",
@@ -9503,7 +9503,7 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
9503
9503
  onInput: l[0] || (l[0] = //@ts-ignore
9504
9504
  (...r) => F(n) && F(n)(...r)),
9505
9505
  onKeypress: Ye(s, ["enter"])
9506
- }, null, 40, L4),
9506
+ }, null, 40, O4),
9507
9507
  T(ce, {
9508
9508
  name: "SearchRounded",
9509
9509
  class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
@@ -9519,7 +9519,7 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
9519
9519
  ]));
9520
9520
  }
9521
9521
  });
9522
- function H4(a) {
9522
+ function V4(a) {
9523
9523
  const e = Q(), t = y(
9524
9524
  () => a.value.find(
9525
9525
  (n) => n.id === e.value
@@ -9533,21 +9533,21 @@ function H4(a) {
9533
9533
  }
9534
9534
  };
9535
9535
  }
9536
- const D4 = Symbol.for("FeedStore");
9537
- function P4(a) {
9538
- const e = H4(a);
9539
- return gn(D4, e), e;
9536
+ const H4 = Symbol.for("FeedStore");
9537
+ function D4(a) {
9538
+ const e = V4(a);
9539
+ return gn(H4, e), e;
9540
9540
  }
9541
- const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { class: "ao-feed__body" }, U4 = { class: "ao-feed__activity-details__header" }, j4 = {
9541
+ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { class: "ao-feed__body" }, R4 = { class: "ao-feed__activity-details__header" }, U4 = {
9542
9542
  key: 0,
9543
9543
  class: "ao-field ao-feed__activity-details__project"
9544
- }, Z4 = { class: "ao-field__label" }, F4 = {
9544
+ }, j4 = { class: "ao-field__label" }, Z4 = {
9545
9545
  key: 1,
9546
9546
  class: "ao-field ao-feed__activity-details__project"
9547
- }, q4 = { class: "ao-field__label" }, z4 = {
9547
+ }, F4 = { class: "ao-field__label" }, q4 = {
9548
9548
  key: 2,
9549
9549
  class: "ao-field ao-feed__activity-details__status"
9550
- }, W4 = { class: "ao-field__label" }, Y4 = { class: "ao-field__row" }, K4 = { class: "ao-field" }, G4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ x({
9550
+ }, z4 = { class: "ao-field__label" }, W4 = { class: "ao-field__row" }, Y4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = /* @__PURE__ */ x({
9551
9551
  __name: "AoFeed",
9552
9552
  props: {
9553
9553
  activities: {},
@@ -9566,7 +9566,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9566
9566
  },
9567
9567
  emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
9568
9568
  setup(a, { emit: e }) {
9569
- const t = a, { t: s } = st(), n = ft(t, "activities"), { selectActivity: o, selectedActivity: i } = P4(n), l = (M) => {
9569
+ const t = a, { t: s } = st(), n = ft(t, "activities"), { selectActivity: o, selectedActivity: i } = D4(n), l = (M) => {
9570
9570
  o(M), e("selectActivity", M);
9571
9571
  }, r = Q({}), d = Q(!1), u = Q(!1);
9572
9572
  ue(
@@ -9687,20 +9687,20 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9687
9687
  };
9688
9688
  return (M, Y) => {
9689
9689
  var ie;
9690
- return c(), m("div", B4, [
9690
+ return c(), m("div", P4, [
9691
9691
  T(r1, null, {
9692
9692
  primary: j(() => [
9693
- f("div", N4, [
9693
+ f("div", B4, [
9694
9694
  t.project ? (c(), R(Ba, {
9695
9695
  key: 0,
9696
9696
  "is-left": !1,
9697
9697
  "right-label": M.$t("project.switch.feed"),
9698
9698
  "left-label": M.$t("project.switch.overview"),
9699
9699
  "onUpdate:isLeft": Y[0] || (Y[0] = (B) => {
9700
- B && M.$router.push({ name: F(Re).project });
9700
+ B && M.$router.push({ name: F(De).project });
9701
9701
  })
9702
9702
  }, null, 8, ["right-label", "left-label"])) : k("", !0),
9703
- T(V4, {
9703
+ T(L4, {
9704
9704
  "model-value": M.searchText,
9705
9705
  placeholder: M.$t("feed.search.placeholder"),
9706
9706
  class: "ao-feed__search",
@@ -9765,8 +9765,8 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9765
9765
  ]),
9766
9766
  _: 1
9767
9767
  }),
9768
- f("div", R4, [
9769
- (c(!0), m(ve, null, be(M.statuses, (B) => (c(), R(I4, {
9768
+ f("div", N4, [
9769
+ (c(!0), m(ve, null, be(M.statuses, (B) => (c(), R(E4, {
9770
9770
  key: B.id,
9771
9771
  status: B,
9772
9772
  list: r.value[B.id],
@@ -9807,9 +9807,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9807
9807
  header: j(() => {
9808
9808
  var B, S, N;
9809
9809
  return [
9810
- f("div", U4, [
9811
- re.value && !t.project ? (c(), m("label", j4, [
9812
- f("span", Z4, q(M.$t("activity.project.label")), 1),
9810
+ f("div", R4, [
9811
+ re.value && !t.project ? (c(), m("label", U4, [
9812
+ f("span", j4, q(M.$t("activity.project.label")), 1),
9813
9813
  T(ye, {
9814
9814
  options: re.value,
9815
9815
  value: (B = F(i).project) == null ? void 0 : B.id,
@@ -9819,8 +9819,8 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9819
9819
  onChange: I
9820
9820
  }, null, 8, ["options", "value", "disabled", "caret"])
9821
9821
  ])) : k("", !0),
9822
- oe.value ? (c(), m("label", F4, [
9823
- f("span", q4, q(M.$t("activity.milestone.label")), 1),
9822
+ oe.value ? (c(), m("label", Z4, [
9823
+ f("span", F4, q(M.$t("activity.milestone.label")), 1),
9824
9824
  T(ye, {
9825
9825
  options: oe.value,
9826
9826
  value: (S = F(i).milestone) == null ? void 0 : S.id,
@@ -9830,8 +9830,8 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9830
9830
  onChange: V
9831
9831
  }, null, 8, ["options", "value", "disabled", "caret"])
9832
9832
  ])) : k("", !0),
9833
- Z.value ? (c(), m("label", z4, [
9834
- f("span", W4, q(M.$t("activity.status.label")), 1),
9833
+ Z.value ? (c(), m("label", q4, [
9834
+ f("span", z4, q(M.$t("activity.status.label")), 1),
9835
9835
  T(ye, {
9836
9836
  options: Z.value,
9837
9837
  value: (N = F(i).status) == null ? void 0 : N.id,
@@ -9846,9 +9846,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9846
9846
  ];
9847
9847
  }),
9848
9848
  default: j(() => [
9849
- f("div", Y4, [
9850
- f("label", K4, [
9851
- f("span", G4, q(M.$t("activity.deadline.label")), 1),
9849
+ f("div", W4, [
9850
+ f("label", Y4, [
9851
+ f("span", K4, q(M.$t("activity.deadline.label")), 1),
9852
9852
  et(f("input", {
9853
9853
  "onUpdate:modelValue": Y[5] || (Y[5] = (B) => W.value = B),
9854
9854
  class: "ao-field__input",
@@ -9875,7 +9875,7 @@ const St = {
9875
9875
  TEMPLATES: "templates",
9876
9876
  TEMPLATE_DETAILS: "template_details",
9877
9877
  TEMPLATES_LIST: "templates_list"
9878
- }, l8 = (a, e = {}) => [
9878
+ }, o8 = (a, e = {}) => [
9879
9879
  {
9880
9880
  path: a,
9881
9881
  name: St.TEMPLATES,
@@ -9884,7 +9884,7 @@ const St = {
9884
9884
  {
9885
9885
  path: "",
9886
9886
  name: St.TEMPLATES_LIST,
9887
- component: Q4
9887
+ component: X4
9888
9888
  },
9889
9889
  {
9890
9890
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
@@ -9894,48 +9894,49 @@ const St = {
9894
9894
  }
9895
9895
  ]
9896
9896
  }
9897
- ], Re = {
9897
+ ], De = {
9898
9898
  project: "AoProject",
9899
9899
  feed: "AoProjectFeed",
9900
9900
  milestone: "AoMilestone",
9901
9901
  activity: "AoActivity"
9902
- }, r8 = (a, e = {}) => [
9902
+ }, l8 = (a, e = {}) => [
9903
9903
  {
9904
9904
  path: a,
9905
9905
  ...e,
9906
+ redirect: { name: De.project },
9906
9907
  children: [
9907
9908
  {
9908
9909
  path: "",
9909
- name: Re.project,
9910
- component: R9,
9910
+ name: De.project,
9911
+ component: N9,
9911
9912
  props: !0,
9912
9913
  children: [
9913
9914
  {
9914
9915
  path: ":phaseId/:milestoneId",
9915
- name: Re.milestone,
9916
+ name: De.milestone,
9916
9917
  component: ra,
9917
9918
  props: !0
9918
9919
  },
9919
9920
  {
9920
9921
  path: ":phaseId/:milestoneId/:activityId",
9921
- name: Re.activity,
9922
+ name: De.activity,
9922
9923
  props: { default: !0, modal: !0 },
9923
9924
  components: {
9924
9925
  default: ra,
9925
- modal: d4
9926
+ modal: u4
9926
9927
  }
9927
9928
  }
9928
9929
  ]
9929
9930
  },
9930
9931
  {
9931
9932
  path: "feed",
9932
- name: Re.feed,
9933
- component: x4,
9933
+ name: De.feed,
9934
+ component: G4,
9934
9935
  props: !0
9935
9936
  }
9936
9937
  ]
9937
9938
  }
9938
- ], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ x({
9939
+ ], x4 = { class: "ao-templates" }, X4 = /* @__PURE__ */ x({
9939
9940
  __name: "AoTemplatesList",
9940
9941
  props: {
9941
9942
  templates: {}
@@ -9975,7 +9976,7 @@ const St = {
9975
9976
  });
9976
9977
  }
9977
9978
  };
9978
- return (l, r) => (c(), m("div", X4, [
9979
+ return (l, r) => (c(), m("div", x4, [
9979
9980
  T(r1, null, {
9980
9981
  secondary: j(() => [
9981
9982
  T(fe, {
@@ -10020,19 +10021,19 @@ const St = {
10020
10021
  }
10021
10022
  });
10022
10023
  export {
10023
- x4 as AoFeed,
10024
+ G4 as AoFeed,
10024
10025
  x7 as AoTemplateDetails,
10025
- n8 as AoTemplates,
10026
- Q4 as AoTemplatesList,
10026
+ a8 as AoTemplates,
10027
+ X4 as AoTemplatesList,
10027
10028
  $d as TemplateItemTypeEnum,
10028
- i8 as activityFeedStatus,
10029
- s8 as durationTypes,
10029
+ s8 as activityFeedStatus,
10030
+ n8 as durationTypes,
10030
10031
  dt as feedFilterTypes,
10031
- r8 as getProjectOverviewRoutes,
10032
- l8 as getTemplateRoutes,
10033
- o8 as listUpdateTypes,
10032
+ l8 as getProjectOverviewRoutes,
10033
+ o8 as getTemplateRoutes,
10034
+ i8 as listUpdateTypes,
10034
10035
  k1 as milestoneStatus,
10035
- Re as projectOverviewRoutes,
10036
+ De as projectOverviewRoutes,
10036
10037
  bd as ruleComparators,
10037
10038
  wd as ruleDurationUnits,
10038
10039
  yd as ruleTriggerTypes,