@26lights/orcha 0.32.2 → 0.32.4

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,7 +1,7 @@
1
- import { defineComponent as K, openBlock as c, createBlock as N, unref as W, mergeProps as Ee, createElementBlock as m, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as w, resolveDynamicComponent as Qe, normalizeClass as G, renderSlot as X, toDisplayString as U, createCommentVNode as M, ref as x, watch as de, nextTick as Oe, withKeys as Ke, toHandlers as vs, withCtx as j, createTextVNode as n1, createVNode as E, normalizeStyle as va, withModifiers as Ce, createSlots as i1, Fragment as fe, renderList as ye, onMounted as Ht, onBeforeUnmount as fs, onUnmounted as fa, toRefs as ke, getCurrentInstance as nt, toRef as pt, normalizeProps as Pt, guardReactiveProps as Bt, onUpdated as ps, withDirectives as Ue, vModelText as at, vModelCheckbox as J1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
1
+ import { defineComponent as K, openBlock as c, createBlock as N, unref as W, mergeProps as Ee, createElementBlock as m, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as w, resolveDynamicComponent as Qe, normalizeClass as G, renderSlot as X, toDisplayString as q, createCommentVNode as M, ref as x, watch as de, nextTick as Oe, withKeys as Ke, toHandlers as vs, withCtx as U, createTextVNode as n1, createVNode as E, normalizeStyle as va, withModifiers as Ce, createSlots as i1, Fragment as fe, renderList as ye, onMounted as Ht, onBeforeUnmount as fs, onUnmounted as fa, toRefs as ke, getCurrentInstance as nt, toRef as pt, normalizeProps as Pt, guardReactiveProps as Bt, onUpdated as ps, withDirectives as Ue, vModelText as at, vModelCheckbox as J1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
2
2
  import { RouterView as ys } from "vue-router";
3
3
  import Je from "vuedraggable";
4
- const C8 = /* @__PURE__ */ K({
4
+ const h8 = /* @__PURE__ */ K({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -1192,7 +1192,7 @@ const dd = ["type"], cd = {
1192
1192
  ])
1193
1193
  }, [
1194
1194
  X(s.$slots, "default", {}, () => [
1195
- s.label ? (c(), m("span", cd, U(s.label), 1)) : M("", !0)
1195
+ s.label ? (c(), m("span", cd, q(s.label), 1)) : M("", !0)
1196
1196
  ]),
1197
1197
  n.value ? (c(), N(ve, {
1198
1198
  key: 0,
@@ -1287,8 +1287,8 @@ const me = /* @__PURE__ */ K({
1287
1287
  }, vs(r.value), {
1288
1288
  onKeydown: Ke(W(f), ["esc"])
1289
1289
  }), {
1290
- default: j(() => [
1291
- n1(U(S.title), 1)
1290
+ default: U(() => [
1291
+ n1(q(S.title), 1)
1292
1292
  ]),
1293
1293
  _: 1
1294
1294
  }, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1335,7 +1335,7 @@ const vd = {
1335
1335
  return (n, s) => (c(), N(Qe(n.tagName), {
1336
1336
  class: G(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1337
1337
  }, {
1338
- default: j(() => [
1338
+ default: U(() => [
1339
1339
  n.isDraggable ? (c(), m("div", vd, [
1340
1340
  E(ve, {
1341
1341
  name: "DragIndicator",
@@ -1360,7 +1360,7 @@ const vd = {
1360
1360
  "onUpdate:title": t
1361
1361
  }, null, 8, ["id", "title"]),
1362
1362
  X(n.$slots, "subtitle", {}, () => [
1363
- n.subtitle ? (c(), m("span", md, U(n.subtitle), 1)) : M("", !0)
1363
+ n.subtitle ? (c(), m("span", md, q(n.subtitle), 1)) : M("", !0)
1364
1364
  ])
1365
1365
  ]),
1366
1366
  n.$slots.header ? (c(), m("div", Cd, [
@@ -1409,8 +1409,8 @@ const L1 = /* @__PURE__ */ K({
1409
1409
  (c(), N(Qe(t.value), Ee({ class: "ao-tag__label" }, n.value, {
1410
1410
  onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
1411
1411
  }), {
1412
- default: j(() => [
1413
- n1(U(s.label), 1)
1412
+ default: U(() => [
1413
+ n1(q(s.label), 1)
1414
1414
  ]),
1415
1415
  _: 1
1416
1416
  }, 16)),
@@ -1432,11 +1432,11 @@ const E1 = {
1432
1432
  todo: "todo",
1433
1433
  done: "done",
1434
1434
  archived: "archived"
1435
- }, _8 = {
1435
+ }, m8 = {
1436
1436
  months: "months",
1437
1437
  weeks: "weeks",
1438
1438
  days: "days"
1439
- }, g8 = {
1439
+ }, C8 = {
1440
1440
  future: "future",
1441
1441
  this_month: "this_month",
1442
1442
  this_week: "this_week",
@@ -1460,7 +1460,7 @@ const E1 = {
1460
1460
  TASKS: "tasks"
1461
1461
  };
1462
1462
  var kd = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))(kd || {});
1463
- const y8 = {
1463
+ const _8 = {
1464
1464
  add: "add",
1465
1465
  remove: "remove",
1466
1466
  moved: "moved"
@@ -2697,12 +2697,12 @@ var Oc = {
2697
2697
  const Lc = Oc;
2698
2698
  var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hc = /^'([^]*?)'?$/, Pc = /''/g, Bc = /[a-zA-Z]/;
2699
2699
  function Nc(a, e, t) {
2700
- var n, s, o, i, l, u, r, d, f, p, h, y, S, _, k, b, L, Z;
2700
+ var n, s, o, i, l, u, r, d, f, p, h, y, S, _, k, b, L, j;
2701
2701
  _e(2, arguments);
2702
2702
  var Y = String(e), V = l1(), J = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, ee = Ge((o = (i = (l = (u = t == null ? void 0 : t.firstWeekContainsDate) !== null && u !== void 0 ? u : t == null || (r = t.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = V.locale) === null || f === void 0 || (p = f.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2703
2703
  if (!(ee >= 1 && ee <= 7))
2704
2704
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2705
- var te = Ge((h = (y = (S = (_ = t == null ? void 0 : t.weekStartsOn) !== null && _ !== void 0 ? _ : t == null || (k = t.locale) === null || k === void 0 || (b = k.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && S !== void 0 ? S : V.weekStartsOn) !== null && y !== void 0 ? y : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && h !== void 0 ? h : 0);
2705
+ var te = Ge((h = (y = (S = (_ = t == null ? void 0 : t.weekStartsOn) !== null && _ !== void 0 ? _ : t == null || (k = t.locale) === null || k === void 0 || (b = k.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && S !== void 0 ? S : V.weekStartsOn) !== null && y !== void 0 ? y : (L = V.locale) === null || L === void 0 || (j = L.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && h !== void 0 ? h : 0);
2706
2706
  if (!(te >= 0 && te <= 6))
2707
2707
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2708
2708
  if (!J.localize)
@@ -3661,7 +3661,7 @@ const p0 = ["title"], h0 = {
3661
3661
  class: G(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
3662
3662
  title: o.userName
3663
3663
  }, [
3664
- o.avatarUrl ? M("", !0) : (c(), m("span", h0, U(W(n)), 1)),
3664
+ o.avatarUrl ? M("", !0) : (c(), m("span", h0, q(W(n)), 1)),
3665
3665
  o.avatarUrl ? (c(), m("img", {
3666
3666
  key: 1,
3667
3667
  className: "ao-avatar__image",
@@ -3709,25 +3709,25 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3709
3709
  "is-draggable": !0,
3710
3710
  "onUpdate:title": t
3711
3711
  }, i1({
3712
- subtitle: j(() => [
3712
+ subtitle: U(() => [
3713
3713
  v("ul", C0, [
3714
3714
  v("li", _0, [
3715
3715
  E(ve, {
3716
3716
  name: "MountainFlagOutlineRounded",
3717
3717
  size: "sm"
3718
3718
  }),
3719
- v("span", g0, U(n.milestones), 1)
3719
+ v("span", g0, q(n.milestones), 1)
3720
3720
  ]),
3721
3721
  v("li", y0, [
3722
3722
  E(ve, {
3723
3723
  name: "TaskOutlineRounded",
3724
3724
  size: "sm"
3725
3725
  }),
3726
- v("span", b0, U(n.activities), 1)
3726
+ v("span", b0, q(n.activities), 1)
3727
3727
  ])
3728
3728
  ])
3729
3729
  ]),
3730
- default: j(() => [
3730
+ default: U(() => [
3731
3731
  v("div", w0, [
3732
3732
  v("div", $0, [
3733
3733
  v("div", k0, [
@@ -3735,7 +3735,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3735
3735
  name: "WaterfallChartRounded",
3736
3736
  size: "sm"
3737
3737
  }),
3738
- v("span", M0, U(n.$t("template.phases.title")), 1)
3738
+ v("span", M0, q(n.$t("template.phases.title")), 1)
3739
3739
  ]),
3740
3740
  n.phases ? (c(), m("ul", A0, [
3741
3741
  (c(!0), m(fe, null, ye(n.phases, (o) => (c(), N(L1, {
@@ -3752,19 +3752,19 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3752
3752
  }, [
3753
3753
  n.updatedBy || n.updatedAt ? {
3754
3754
  name: "footer",
3755
- fn: j(() => [
3755
+ fn: U(() => [
3756
3756
  v("div", T0, [
3757
3757
  n.updatedAt ? (c(), m("div", S0, [
3758
3758
  v("div", E0, [
3759
- v("span", I0, U(n.$t("template.updatedAt.label")), 1)
3759
+ v("span", I0, q(n.$t("template.updatedAt.label")), 1)
3760
3760
  ]),
3761
3761
  v("div", O0, [
3762
- v("span", null, U(n.updatedAt), 1)
3762
+ v("span", null, q(n.updatedAt), 1)
3763
3763
  ])
3764
3764
  ])) : M("", !0),
3765
3765
  n.updatedBy ? (c(), m("div", L0, [
3766
3766
  v("div", V0, [
3767
- v("span", D0, U(n.$t("template.updatedBy.label")), 1)
3767
+ v("span", D0, q(n.$t("template.updatedBy.label")), 1)
3768
3768
  ]),
3769
3769
  v("div", H0, [
3770
3770
  E(yt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
@@ -3830,7 +3830,7 @@ const U0 = ["type"], j0 = {
3830
3830
  ])
3831
3831
  }, [
3832
3832
  X(s.$slots, "default", {}, () => [
3833
- s.label ? (c(), m("span", j0, U(s.label), 1)) : M("", !0)
3833
+ s.label ? (c(), m("span", j0, q(s.label), 1)) : M("", !0)
3834
3834
  ]),
3835
3835
  n.value ? (c(), N(ve, {
3836
3836
  key: 0,
@@ -3865,7 +3865,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3865
3865
  e("remove");
3866
3866
  };
3867
3867
  return (i, l) => (c(), N(ma, { "onUpdate:title": t }, {
3868
- footer: j(() => [
3868
+ footer: U(() => [
3869
3869
  v("ul", Z0, [
3870
3870
  (c(), m(fe, null, ye(n, (u) => (c(), m(fe, { key: u }, [
3871
3871
  i.$props[u] ? (c(), m("li", F0, [
@@ -3873,12 +3873,12 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3873
3873
  name: s[u],
3874
3874
  size: "sm"
3875
3875
  }, null, 8, ["name"]),
3876
- v("span", q0, U(i.$props[u]), 1)
3876
+ v("span", q0, q(i.$props[u]), 1)
3877
3877
  ])) : M("", !0)
3878
3878
  ], 64))), 64))
3879
3879
  ])
3880
3880
  ]),
3881
- secondary: j(() => [
3881
+ secondary: U(() => [
3882
3882
  v("div", z0, [
3883
3883
  E(le, {
3884
3884
  "icon-name": "DeleteOutlineRounded",
@@ -3911,7 +3911,7 @@ const W0 = /* @__PURE__ */ K({
3911
3911
  activities: n.value,
3912
3912
  milestones: t.value
3913
3913
  }, s.$attrs), {
3914
- default: j(() => [
3914
+ default: U(() => [
3915
3915
  X(s.$slots, "default")
3916
3916
  ]),
3917
3917
  _: 3
@@ -3928,7 +3928,7 @@ const W0 = /* @__PURE__ */ K({
3928
3928
  return ((n = e.activities) == null ? void 0 : n.length) || 0;
3929
3929
  });
3930
3930
  return (n, s) => (c(), N(D1, { activities: t.value }, {
3931
- default: j(() => [
3931
+ default: U(() => [
3932
3932
  X(n.$slots, "default")
3933
3933
  ]),
3934
3934
  _: 3
@@ -3967,14 +3967,14 @@ const W0 = /* @__PURE__ */ K({
3967
3967
  "item-key": "id",
3968
3968
  onChange: i
3969
3969
  }, {
3970
- header: j(() => [
3970
+ header: U(() => [
3971
3971
  E(me, {
3972
3972
  title: "Milestones",
3973
3973
  level: 3,
3974
3974
  class: "ao-list__title"
3975
3975
  })
3976
3976
  ]),
3977
- item: j(({ element: r }) => [
3977
+ item: U(({ element: r }) => [
3978
3978
  (c(), N(Y0, {
3979
3979
  id: r.id,
3980
3980
  key: r.id,
@@ -3991,7 +3991,7 @@ const W0 = /* @__PURE__ */ K({
3991
3991
  onRemove: () => s(r.id)
3992
3992
  }, null, 8, ["id", "title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
3993
3993
  ]),
3994
- footer: j(() => [
3994
+ footer: U(() => [
3995
3995
  v("div", K0, [
3996
3996
  E(et, {
3997
3997
  "icon-name": "AddBoxOutlineRounded",
@@ -4015,7 +4015,7 @@ const W0 = /* @__PURE__ */ K({
4015
4015
  return ((n = e.tasks) == null ? void 0 : n.length) || 0;
4016
4016
  });
4017
4017
  return (n, s) => (c(), N(D1, { tasks: t.value }, {
4018
- default: j(() => [
4018
+ default: U(() => [
4019
4019
  X(n.$slots, "default")
4020
4020
  ]),
4021
4021
  _: 3
@@ -4057,14 +4057,14 @@ const W0 = /* @__PURE__ */ K({
4057
4057
  "item-key": "id",
4058
4058
  onChange: i
4059
4059
  }, {
4060
- header: j(() => [
4060
+ header: U(() => [
4061
4061
  E(me, {
4062
4062
  title: "Activities",
4063
4063
  level: 3,
4064
4064
  class: "ao-list__title"
4065
4065
  })
4066
4066
  ]),
4067
- item: j(({ element: r }) => [
4067
+ item: U(({ element: r }) => [
4068
4068
  (c(), N(X0, {
4069
4069
  id: r.id,
4070
4070
  key: r.id,
@@ -4077,7 +4077,7 @@ const W0 = /* @__PURE__ */ K({
4077
4077
  onRemove: () => o(r.id)
4078
4078
  }, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
4079
4079
  ]),
4080
- footer: j(() => [
4080
+ footer: U(() => [
4081
4081
  v("div", x0, [
4082
4082
  E(et, {
4083
4083
  "icon-name": "AddBoxOutlineRounded",
@@ -4296,7 +4296,7 @@ const p3 = async (a, e, t) => {
4296
4296
  } = l[S], {
4297
4297
  x: b,
4298
4298
  y: L,
4299
- data: Z,
4299
+ data: j,
4300
4300
  reset: Y
4301
4301
  } = await k({
4302
4302
  x: d,
@@ -4316,7 +4316,7 @@ const p3 = async (a, e, t) => {
4316
4316
  ...h,
4317
4317
  [_]: {
4318
4318
  ...h[_],
4319
- ...Z
4319
+ ...j
4320
4320
  }
4321
4321
  }, Y && y <= 50) {
4322
4322
  y++, typeof Y == "object" && (Y.placement && (p = Y.placement), Y.rects && (r = Y.rects === !0 ? await i.getElementRects({
@@ -4363,7 +4363,7 @@ async function La(a, e) {
4363
4363
  ...i.floating,
4364
4364
  x: n,
4365
4365
  y: s
4366
- } : i.reference, L = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)), Z = await (o.isElement == null ? void 0 : o.isElement(L)) ? await (o.getScale == null ? void 0 : o.getScale(L)) || {
4366
+ } : i.reference, L = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)), j = await (o.isElement == null ? void 0 : o.isElement(L)) ? await (o.getScale == null ? void 0 : o.getScale(L)) || {
4367
4367
  x: 1,
4368
4368
  y: 1
4369
4369
  } : {
@@ -4375,10 +4375,10 @@ async function La(a, e) {
4375
4375
  strategy: u
4376
4376
  }) : b);
4377
4377
  return {
4378
- top: (k.top - Y.top + y.top) / Z.y,
4379
- bottom: (Y.bottom - k.bottom + y.bottom) / Z.y,
4380
- left: (k.left - Y.left + y.left) / Z.x,
4381
- right: (Y.right - k.right + y.right) / Z.x
4378
+ top: (k.top - Y.top + y.top) / j.y,
4379
+ bottom: (Y.bottom - k.bottom + y.bottom) / j.y,
4380
+ left: (k.left - Y.left + y.left) / j.x,
4381
+ right: (Y.right - k.right + y.right) / j.x
4382
4382
  };
4383
4383
  }
4384
4384
  const h3 = function(a) {
@@ -4405,9 +4405,9 @@ const h3 = function(a) {
4405
4405
  } = P1(a, e);
4406
4406
  if ((t = o.arrow) != null && t.alignmentOffset)
4407
4407
  return {};
4408
- const k = Ct(s), b = Ct(l) === l, L = await (u.isRTL == null ? void 0 : u.isRTL(r.floating)), Z = p || (b || !S ? [t1(l)] : u3(l));
4409
- !p && y !== "none" && Z.push(...c3(l, S, y, L));
4410
- const Y = [l, ...Z], V = await La(e, _), J = [];
4408
+ const k = Ct(s), b = Ct(l) === l, L = await (u.isRTL == null ? void 0 : u.isRTL(r.floating)), j = p || (b || !S ? [t1(l)] : u3(l));
4409
+ !p && y !== "none" && j.push(...c3(l, S, y, L));
4410
+ const Y = [l, ...j], V = await La(e, _), J = [];
4411
4411
  let ee = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4412
4412
  if (d && J.push(V[k]), f) {
4413
4413
  const I = r3(s, i, L);
@@ -4434,7 +4434,7 @@ const h3 = function(a) {
4434
4434
  switch (h) {
4435
4435
  case "bestFit": {
4436
4436
  var g;
4437
- const ae = (g = ee.map((ce) => [ce.placement, ce.overflows.filter((A) => A > 0).reduce((A, F) => A + F, 0)]).sort((ce, A) => ce[1] - A[1])[0]) == null ? void 0 : g[0];
4437
+ const ae = (g = ee.map((ce) => [ce.placement, ce.overflows.filter((A) => A > 0).reduce((A, Z) => A + Z, 0)]).sort((ce, A) => ce[1] - A[1])[0]) == null ? void 0 : g[0];
4438
4438
  ae && (re = ae);
4439
4439
  break;
4440
4440
  }
@@ -4473,21 +4473,21 @@ const h3 = function(a) {
4473
4473
  let y, S;
4474
4474
  r === "top" || r === "bottom" ? (y = r, S = d === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (S = r, y = d === "end" ? "top" : "bottom");
4475
4475
  const _ = h - u[y], k = p - u[S], b = !e.middlewareData.shift;
4476
- let L = _, Z = k;
4476
+ let L = _, j = k;
4477
4477
  if (f) {
4478
4478
  const V = p - u.left - u.right;
4479
- Z = d || b ? Vt(k, V) : V;
4479
+ j = d || b ? Vt(k, V) : V;
4480
4480
  } else {
4481
4481
  const V = h - u.top - u.bottom;
4482
4482
  L = d || b ? Vt(_, V) : V;
4483
4483
  }
4484
4484
  if (b && !d) {
4485
4485
  const V = Ae(u.left, 0), J = Ae(u.right, 0), ee = Ae(u.top, 0), te = Ae(u.bottom, 0);
4486
- f ? Z = p - 2 * (V !== 0 || J !== 0 ? V + J : Ae(u.left, u.right)) : L = h - 2 * (ee !== 0 || te !== 0 ? ee + te : Ae(u.top, u.bottom));
4486
+ f ? j = p - 2 * (V !== 0 || J !== 0 ? V + J : Ae(u.left, u.right)) : L = h - 2 * (ee !== 0 || te !== 0 ? ee + te : Ae(u.top, u.bottom));
4487
4487
  }
4488
4488
  await i({
4489
4489
  ...e,
4490
- availableWidth: Z,
4490
+ availableWidth: j,
4491
4491
  availableHeight: L
4492
4492
  });
4493
4493
  const Y = await s.getDimensions(o.floating);
@@ -4854,7 +4854,7 @@ function V3(a, e) {
4854
4854
  threshold: Ae(0, Vt(1, u)) || 1
4855
4855
  };
4856
4856
  let L = !0;
4857
- function Z(Y) {
4857
+ function j(Y) {
4858
4858
  const V = Y[0].intersectionRatio;
4859
4859
  if (V !== u) {
4860
4860
  if (!L)
@@ -4866,13 +4866,13 @@ function V3(a, e) {
4866
4866
  L = !1;
4867
4867
  }
4868
4868
  try {
4869
- t = new IntersectionObserver(Z, {
4869
+ t = new IntersectionObserver(j, {
4870
4870
  ...b,
4871
4871
  // Handle <iframe>s
4872
4872
  root: s.ownerDocument
4873
4873
  });
4874
4874
  } catch {
4875
- t = new IntersectionObserver(Z, b);
4875
+ t = new IntersectionObserver(j, b);
4876
4876
  }
4877
4877
  t.observe(a);
4878
4878
  }
@@ -5086,7 +5086,7 @@ function F3(a, e, t) {
5086
5086
  resolveOnLoad: k,
5087
5087
  minChars: b,
5088
5088
  filterResults: L,
5089
- clearOnSearch: Z,
5089
+ clearOnSearch: j,
5090
5090
  clearOnSelect: Y,
5091
5091
  valueProp: V,
5092
5092
  allowAbsent: J,
@@ -5100,8 +5100,8 @@ function F3(a, e, t) {
5100
5100
  reverse: ae,
5101
5101
  infinite: ce,
5102
5102
  groupOptions: A,
5103
- groupHideEmpty: F,
5104
- groupSelect: q,
5103
+ groupHideEmpty: Z,
5104
+ groupSelect: F,
5105
5105
  onCreate: se,
5106
5106
  disabledProp: ie,
5107
5107
  searchStart: ge,
@@ -5265,7 +5265,7 @@ function F3(a, e, t) {
5265
5265
  }
5266
5266
  I.value || Za();
5267
5267
  }, es = (C) => {
5268
- if (!(g1(C) || s.value === "single" || !q.value)) {
5268
+ if (!(g1(C) || s.value === "single" || !F.value)) {
5269
5269
  switch (s.value) {
5270
5270
  case "multiple":
5271
5271
  case "tags":
@@ -5284,13 +5284,13 @@ function F3(a, e, t) {
5284
5284
  parseInt(C) == C ? parseInt(C) : C
5285
5285
  ), is = (C) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(C), os = (C) => {
5286
5286
  bt.value.push(C);
5287
- }, ls = (C) => F.value ? C.filter(
5287
+ }, ls = (C) => Z.value ? C.filter(
5288
5288
  (D) => B.value ? D.__VISIBLE__.length : D[A.value].length
5289
5289
  ) : C.filter((D) => B.value ? D.__VISIBLE__.length : !0), w1 = (C, D = !0) => {
5290
5290
  let ne = C;
5291
5291
  if (B.value && L.value) {
5292
5292
  let pe = $.value;
5293
- pe || (pe = ($t, f8) => {
5293
+ pe || (pe = ($t, c8) => {
5294
5294
  let Q1 = T1(qa($t[Ve.value]), g.value);
5295
5295
  return ge.value ? Q1.startsWith(T1(B.value, g.value)) : Q1.indexOf(T1(B.value, g.value)) !== -1;
5296
5296
  }), ne = ne.filter(pe);
@@ -5340,7 +5340,7 @@ function F3(a, e, t) {
5340
5340
  [Ve.value]: D
5341
5341
  }), x1 = () => {
5342
5342
  m1.value = de(B, (C) => {
5343
- C.length < b.value || !C && b.value !== 0 || (Le.value = !0, Z.value && (qe.value = []), setTimeout(() => {
5343
+ C.length < b.value || !C && b.value !== 0 || (Le.value = !0, j.value && (qe.value = []), setTimeout(() => {
5344
5344
  C == B.value && n.value(B.value, R).then((D) => {
5345
5345
  (C == B.value || !B.value) && (qe.value = D, Zt.value = wt.value.filter((ne) => ne[ie.value] !== !0)[0] || null, Le.value = !1);
5346
5346
  }).catch(
@@ -5417,7 +5417,7 @@ function q3(a, e, t) {
5417
5417
  groupSelect: r,
5418
5418
  disabledProp: d,
5419
5419
  groupOptions: f
5420
- } = ke(a), p = t.fo, h = t.fg, y = t.handleOptionClick, S = t.handleGroupClick, _ = t.search, k = t.pointer, b = t.setPointer, L = t.clearPointer, Z = t.multiselect, Y = t.isOpen, V = w(() => p.value.filter((T) => !T[d.value])), J = w(() => h.value.filter((T) => !T[d.value])), ee = w(() => u.value !== "single" && r.value), te = w(() => k.value && k.value.group), O = w(() => R(k.value)), g = w(() => {
5420
+ } = ke(a), p = t.fo, h = t.fg, y = t.handleOptionClick, S = t.handleGroupClick, _ = t.search, k = t.pointer, b = t.setPointer, L = t.clearPointer, j = t.multiselect, Y = t.isOpen, V = w(() => p.value.filter((T) => !T[d.value])), J = w(() => h.value.filter((T) => !T[d.value])), ee = w(() => u.value !== "single" && r.value), te = w(() => k.value && k.value.group), O = w(() => R(k.value)), g = w(() => {
5421
5421
  const T = te.value ? k.value : (
5422
5422
  /* istanbul ignore next */
5423
5423
  R(k.value)
@@ -5433,7 +5433,7 @@ function q3(a, e, t) {
5433
5433
  }), ce = w(() => {
5434
5434
  const T = R(k.value).__VISIBLE__.filter((B) => !B[d.value]);
5435
5435
  return T[T.map((B) => B[n.value]).indexOf(k.value[n.value]) + 1];
5436
- }), A = w(() => [...g.value.__VISIBLE__.filter((T) => !T[d.value])].slice(-1)[0]), F = w(() => [...H.value.__VISIBLE__.filter((T) => !T[d.value])].slice(-1)[0]), q = (T) => k.value && (!T.group && k.value[n.value] === T[n.value] || T.group !== void 0 && k.value[i.value] === T[i.value]) ? !0 : void 0, se = () => {
5436
+ }), A = w(() => [...g.value.__VISIBLE__.filter((T) => !T[d.value])].slice(-1)[0]), Z = w(() => [...H.value.__VISIBLE__.filter((T) => !T[d.value])].slice(-1)[0]), F = (T) => k.value && (!T.group && k.value[n.value] === T[n.value] || T.group !== void 0 && k.value[i.value] === T[i.value]) ? !0 : void 0, se = () => {
5437
5437
  b(V.value[0] || null);
5438
5438
  }, ie = () => {
5439
5439
  !k.value || k.value[d.value] === !0 || (te.value ? S(k.value) : y(k.value));
@@ -5454,7 +5454,7 @@ function q3(a, e, t) {
5454
5454
  }, $ = () => {
5455
5455
  if (k.value === null) {
5456
5456
  let T = V.value[V.value.length - 1];
5457
- l.value && ee.value && (T = F.value, T === void 0 && (T = H.value)), b(T || null);
5457
+ l.value && ee.value && (T = Z.value, T === void 0 && (T = H.value)), b(T || null);
5458
5458
  } else if (l.value && ee.value) {
5459
5459
  let T = te.value ? A.value : ae.value;
5460
5460
  T === void 0 && (T = te.value ? g.value : O.value, T.__CREATE__ && (T = A.value, T === void 0 && (T = g.value))), b(T || /* istanbul ignore next */
@@ -5467,7 +5467,7 @@ function q3(a, e, t) {
5467
5467
  z();
5468
5468
  });
5469
5469
  }, R = (T) => J.value.find((B) => B.__VISIBLE__.map((ue) => ue[n.value]).indexOf(T[n.value]) !== -1), z = () => {
5470
- let T = Z.value.querySelector("[data-pointed]");
5470
+ let T = j.value.querySelector("[data-pointed]");
5471
5471
  if (!T)
5472
5472
  return;
5473
5473
  let B = T.parentElement.parentElement;
@@ -5477,7 +5477,7 @@ function q3(a, e, t) {
5477
5477
  o.value && (T.length && s.value ? se() : L());
5478
5478
  }), de(Y, (T) => {
5479
5479
  if (T) {
5480
- let B = Z.value.querySelectorAll("[data-selected]")[0];
5480
+ let B = j.value.querySelectorAll("[data-selected]")[0];
5481
5481
  if (!B)
5482
5482
  return;
5483
5483
  let ue = B.parentElement.parentElement;
@@ -5488,7 +5488,7 @@ function q3(a, e, t) {
5488
5488
  }), {
5489
5489
  pointer: k,
5490
5490
  canPointGroups: ee,
5491
- isPointed: q,
5491
+ isPointed: F,
5492
5492
  setPointerFirst: se,
5493
5493
  selectPointer: ie,
5494
5494
  forwardPointer: ge,
@@ -5514,7 +5514,7 @@ function W3(a, e, t) {
5514
5514
  n.value && !s.value && i.value.focus();
5515
5515
  }, L = (te = !0) => {
5516
5516
  s.value || (y.value = !0, te && l());
5517
- }, Z = () => {
5517
+ }, j = () => {
5518
5518
  y.value = !1, setTimeout(() => {
5519
5519
  y.value || (u(), o.value && r());
5520
5520
  }, 1);
@@ -5529,19 +5529,19 @@ function W3(a, e, t) {
5529
5529
  blur: k,
5530
5530
  focus: b,
5531
5531
  activate: L,
5532
- deactivate: Z,
5532
+ deactivate: j,
5533
5533
  handleFocusIn: (te) => {
5534
5534
  te.target.closest("[data-tags]") && te.target.nodeName !== "INPUT" || te.target.closest("[data-clear]") || L(S.value);
5535
5535
  },
5536
5536
  handleFocusOut: () => {
5537
- Z();
5537
+ j();
5538
5538
  },
5539
5539
  handleCaretClick: () => {
5540
- Z(), k();
5540
+ j(), k();
5541
5541
  },
5542
5542
  handleMousedown: (te) => {
5543
5543
  S.value = !0, d.value && (te.target.isEqualNode(p.value) || te.target.isEqualNode(h.value)) ? setTimeout(() => {
5544
- Z();
5544
+ j();
5545
5545
  }, 0) : document.activeElement.isEqualNode(p.value) && !d.value && L(), setTimeout(() => {
5546
5546
  S.value = !1;
5547
5547
  }, 0);
@@ -5561,26 +5561,26 @@ function Y3(a, e, t) {
5561
5561
  createTag: f,
5562
5562
  createOption: p,
5563
5563
  reverse: h
5564
- } = ke(a), y = nt().proxy, S = t.iv, _ = t.update, k = t.search, b = t.setPointer, L = t.selectPointer, Z = t.backwardPointer, Y = t.forwardPointer, V = t.multiselect, J = t.wrapper, ee = t.tags, te = t.isOpen, O = t.open, g = t.blur, I = t.fo, H = w(() => f.value || p.value || !1), re = w(() => s.value !== void 0 ? s.value : d.value !== void 0 ? d.value : ["enter"]), ae = () => {
5565
- n.value === "tags" && !l.value && H.value && i.value && !r.value && b(I.value[I.value.map((q) => q[u.value]).indexOf(k.value)]);
5566
- }, ce = (q) => {
5567
- let se = q.length - 1;
5568
- for (; se >= 0 && (q[se].remove === !1 || q[se].disabled); )
5564
+ } = ke(a), y = nt().proxy, S = t.iv, _ = t.update, k = t.search, b = t.setPointer, L = t.selectPointer, j = t.backwardPointer, Y = t.forwardPointer, V = t.multiselect, J = t.wrapper, ee = t.tags, te = t.isOpen, O = t.open, g = t.blur, I = t.fo, H = w(() => f.value || p.value || !1), re = w(() => s.value !== void 0 ? s.value : d.value !== void 0 ? d.value : ["enter"]), ae = () => {
5565
+ n.value === "tags" && !l.value && H.value && i.value && !r.value && b(I.value[I.value.map((F) => F[u.value]).indexOf(k.value)]);
5566
+ }, ce = (F) => {
5567
+ let se = F.length - 1;
5568
+ for (; se >= 0 && (F[se].remove === !1 || F[se].disabled); )
5569
5569
  se--;
5570
- return se < 0 || q.splice(se, 1), q;
5570
+ return se < 0 || F.splice(se, 1), F;
5571
5571
  };
5572
5572
  return {
5573
- handleKeydown: (q) => {
5574
- e.emit("keydown", q, y);
5573
+ handleKeydown: (F) => {
5574
+ e.emit("keydown", F, y);
5575
5575
  let se, ie;
5576
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(q.key) !== -1 && n.value === "tags" && (se = [...V.value.querySelectorAll("[data-tags] > *")].filter((ge) => ge !== ee.value), ie = se.findIndex((ge) => ge === document.activeElement)), q.key) {
5576
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(F.key) !== -1 && n.value === "tags" && (se = [...V.value.querySelectorAll("[data-tags] > *")].filter((ge) => ge !== ee.value), ie = se.findIndex((ge) => ge === document.activeElement)), F.key) {
5577
5577
  case "Backspace":
5578
5578
  if (n.value === "single" || i.value && [null, ""].indexOf(k.value) === -1 || S.value.length === 0)
5579
5579
  return;
5580
5580
  _(ce([...S.value]));
5581
5581
  break;
5582
5582
  case "Enter":
5583
- if (q.preventDefault(), q.keyCode === 229)
5583
+ if (F.preventDefault(), F.keyCode === 229)
5584
5584
  return;
5585
5585
  if (ie !== -1 && ie !== void 0) {
5586
5586
  _([...S.value].filter((ge, $) => $ !== ie)), ie === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? ee.value.querySelector("input").focus() : J.value.focus());
@@ -5592,49 +5592,49 @@ function Y3(a, e, t) {
5592
5592
  break;
5593
5593
  case " ":
5594
5594
  if (!H.value && !i.value) {
5595
- q.preventDefault(), ae(), L();
5595
+ F.preventDefault(), ae(), L();
5596
5596
  return;
5597
5597
  }
5598
5598
  if (!H.value)
5599
5599
  return !1;
5600
5600
  if (re.value.indexOf("space") === -1 && H.value)
5601
5601
  return;
5602
- q.preventDefault(), ae(), L();
5602
+ F.preventDefault(), ae(), L();
5603
5603
  break;
5604
5604
  case "Tab":
5605
5605
  case ";":
5606
5606
  case ",":
5607
- if (re.value.indexOf(q.key.toLowerCase()) === -1 || !H.value)
5607
+ if (re.value.indexOf(F.key.toLowerCase()) === -1 || !H.value)
5608
5608
  return;
5609
- ae(), L(), q.preventDefault();
5609
+ ae(), L(), F.preventDefault();
5610
5610
  break;
5611
5611
  case "Escape":
5612
5612
  g();
5613
5613
  break;
5614
5614
  case "ArrowUp":
5615
- if (q.preventDefault(), !l.value)
5615
+ if (F.preventDefault(), !l.value)
5616
5616
  return;
5617
- te.value || O(), Z();
5617
+ te.value || O(), j();
5618
5618
  break;
5619
5619
  case "ArrowDown":
5620
- if (q.preventDefault(), !l.value)
5620
+ if (F.preventDefault(), !l.value)
5621
5621
  return;
5622
5622
  te.value || O(), Y();
5623
5623
  break;
5624
5624
  case "ArrowLeft":
5625
- if (i.value && ee.value && ee.value.querySelector("input").selectionStart || q.shiftKey || n.value !== "tags" || !S.value || !S.value.length)
5625
+ if (i.value && ee.value && ee.value.querySelector("input").selectionStart || F.shiftKey || n.value !== "tags" || !S.value || !S.value.length)
5626
5626
  return;
5627
- q.preventDefault(), ie === -1 ? se[se.length - 1].focus() : ie > 0 && se[ie - 1].focus();
5627
+ F.preventDefault(), ie === -1 ? se[se.length - 1].focus() : ie > 0 && se[ie - 1].focus();
5628
5628
  break;
5629
5629
  case "ArrowRight":
5630
- if (ie === -1 || q.shiftKey || n.value !== "tags" || !S.value || !S.value.length)
5630
+ if (ie === -1 || F.shiftKey || n.value !== "tags" || !S.value || !S.value.length)
5631
5631
  return;
5632
- q.preventDefault(), se.length > ie + 1 ? se[ie + 1].focus() : i.value ? ee.value.querySelector("input").focus() : i.value || J.value.focus();
5632
+ F.preventDefault(), se.length > ie + 1 ? se[ie + 1].focus() : i.value ? ee.value.querySelector("input").focus() : i.value || J.value.focus();
5633
5633
  break;
5634
5634
  }
5635
5635
  },
5636
- handleKeyup: (q) => {
5637
- e.emit("keyup", q, y);
5636
+ handleKeyup: (F) => {
5637
+ e.emit("keyup", F, y);
5638
5638
  },
5639
5639
  preparePointer: ae
5640
5640
  };
@@ -5729,13 +5729,13 @@ function K3(a, e, t) {
5729
5729
  options: [b.options].concat(o.value === "top" ? b.optionsTop : []),
5730
5730
  group: b.group,
5731
5731
  groupLabel: (L) => {
5732
- let Z = [b.groupLabel];
5733
- return u(L) ? Z.push(r(L) ? b.groupLabelSelectedPointed : b.groupLabelPointed) : r(L) && p.value ? Z.push(d(L) ? b.groupLabelSelectedDisabled : b.groupLabelSelected) : d(L) && Z.push(b.groupLabelDisabled), p.value && Z.push(b.groupLabelPointable), Z;
5732
+ let j = [b.groupLabel];
5733
+ return u(L) ? j.push(r(L) ? b.groupLabelSelectedPointed : b.groupLabelPointed) : r(L) && p.value ? j.push(d(L) ? b.groupLabelSelectedDisabled : b.groupLabelSelected) : d(L) && j.push(b.groupLabelDisabled), p.value && j.push(b.groupLabelPointable), j;
5734
5734
  },
5735
5735
  groupOptions: b.groupOptions,
5736
- option: (L, Z) => {
5736
+ option: (L, j) => {
5737
5737
  let Y = [b.option];
5738
- return u(L) ? Y.push(r(L) ? b.optionSelectedPointed : b.optionPointed) : r(L) ? Y.push(d(L) ? b.optionSelectedDisabled : b.optionSelected) : (d(L) || Z && d(Z)) && Y.push(b.optionDisabled), Y;
5738
+ return u(L) ? Y.push(r(L) ? b.optionSelectedPointed : b.optionPointed) : r(L) ? Y.push(d(L) ? b.optionSelectedDisabled : b.optionSelected) : (d(L) || j && d(j)) && Y.push(b.optionDisabled), Y;
5739
5739
  },
5740
5740
  noOptions: b.noOptions,
5741
5741
  noResults: b.noResults,
@@ -5794,7 +5794,7 @@ function X3(a, e, t) {
5794
5794
  let I = [];
5795
5795
  if (s && s.value && I.push(s.value), f.value)
5796
5796
  return I.push(f.value.group ? "multiselect-group" : "multiselect-option"), I.push(f.value.group ? f.value.index : f.value[o.value]), I.join("-");
5797
- }), L = w(() => n.value), Z = w(() => l.value !== "single"), Y = w(() => {
5797
+ }), L = w(() => n.value), j = w(() => l.value !== "single"), Y = w(() => {
5798
5798
  let I = "";
5799
5799
  return l.value === "single" && h.value && (I += p.value[i.value]), l.value === "multiple" && h.value && (I += y.value), l.value === "tags" && h.value && (I += p.value.map((H) => H[i.value]).join(", ")), I;
5800
5800
  }), V = w(() => {
@@ -5824,7 +5824,7 @@ function X3(a, e, t) {
5824
5824
  ariaAssist: _,
5825
5825
  ariaControls: k,
5826
5826
  ariaPlaceholder: L,
5827
- ariaMultiselectable: Z,
5827
+ ariaMultiselectable: j,
5828
5828
  ariaActiveDescendant: b,
5829
5829
  ariaOptionId: J,
5830
5830
  ariaOptionLabel: te,
@@ -6278,7 +6278,7 @@ function g5(a, e, t, n, s, o) {
6278
6278
  "aria-label": a.ariaTagLabel(a.localize(i[t.label]))
6279
6279
  }, [
6280
6280
  n1(
6281
- U(a.localize(i[t.label])) + " ",
6281
+ q(a.localize(i[t.label])) + " ",
6282
6282
  1
6283
6283
  /* TEXT */
6284
6284
  ),
@@ -6315,7 +6315,7 @@ function g5(a, e, t, n, s, o) {
6315
6315
  {
6316
6316
  class: G(a.classList.tagsSearchCopy)
6317
6317
  },
6318
- U(a.search),
6318
+ q(a.search),
6319
6319
  3
6320
6320
  /* TEXT, CLASS */
6321
6321
  ),
@@ -6366,7 +6366,7 @@ function g5(a, e, t, n, s, o) {
6366
6366
  {
6367
6367
  class: G(a.classList.singleLabelText)
6368
6368
  },
6369
- U(a.localize(a.iv[t.label])),
6369
+ q(a.localize(a.iv[t.label])),
6370
6370
  3
6371
6371
  /* TEXT, CLASS */
6372
6372
  )
@@ -6393,7 +6393,7 @@ function g5(a, e, t, n, s, o) {
6393
6393
  class: G(a.classList.placeholder),
6394
6394
  "aria-hidden": "true"
6395
6395
  },
6396
- U(t.placeholder),
6396
+ q(t.placeholder),
6397
6397
  3
6398
6398
  /* TEXT, CLASS */
6399
6399
  )
@@ -6529,7 +6529,7 @@ function g5(a, e, t, n, s, o) {
6529
6529
  v(
6530
6530
  "span",
6531
6531
  null,
6532
- U(a.localize(r[t.label])),
6532
+ q(a.localize(r[t.label])),
6533
6533
  1
6534
6534
  /* TEXT */
6535
6535
  )
@@ -6566,7 +6566,7 @@ function g5(a, e, t, n, s, o) {
6566
6566
  v(
6567
6567
  "span",
6568
6568
  null,
6569
- U(a.localize(i[t.label])),
6569
+ q(a.localize(i[t.label])),
6570
6570
  1
6571
6571
  /* TEXT */
6572
6572
  )
@@ -6656,7 +6656,7 @@ function g5(a, e, t, n, s, o) {
6656
6656
  class: G(a.classList.assist),
6657
6657
  id: a.ariaAssist,
6658
6658
  "aria-hidden": "true"
6659
- }, U(a.ariaLabel), 11, _5)) : M("v-if", !0),
6659
+ }, q(a.ariaLabel), 11, _5)) : M("v-if", !0),
6660
6660
  M(" Create height for empty input "),
6661
6661
  v(
6662
6662
  "div",
@@ -6689,7 +6689,7 @@ const we = /* @__PURE__ */ K({
6689
6689
  }, i1({ _: 2 }, [
6690
6690
  ye(s.$slots, (i, l) => ({
6691
6691
  name: l,
6692
- fn: j((u) => [
6692
+ fn: U((u) => [
6693
6693
  X(s.$slots, l, Pt(Bt(u ?? {})))
6694
6694
  ])
6695
6695
  }))
@@ -6839,7 +6839,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6839
6839
  caret: f.isEditable,
6840
6840
  onChange: (_) => r(_, h.id)
6841
6841
  }, {
6842
- tag: j(({ option: _, handleTagRemove: k }) => [
6842
+ tag: U(({ option: _, handleTagRemove: k }) => [
6843
6843
  E(yt, {
6844
6844
  "user-name": _.label,
6845
6845
  "avatar-url": _.avatar,
@@ -6952,7 +6952,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6952
6952
  name: "AttachFileRounded",
6953
6953
  size: "sm"
6954
6954
  }),
6955
- v("span", E5, U(p.name), 1)
6955
+ v("span", E5, q(p.name), 1)
6956
6956
  ], 8, S5),
6957
6957
  r.isEditable ? (c(), N(le, {
6958
6958
  key: 0,
@@ -6968,7 +6968,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6968
6968
  ])) : M("", !0),
6969
6969
  r.isEditable ? (c(), m("div", I5, [
6970
6970
  v("label", O5, [
6971
- v("span", L5, U(r.$t("activity.attachment.button.resting")), 1),
6971
+ v("span", L5, q(r.$t("activity.attachment.button.resting")), 1),
6972
6972
  v("input", {
6973
6973
  class: "input-field",
6974
6974
  type: "file",
@@ -6978,7 +6978,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6978
6978
  onChange: n
6979
6979
  }, null, 32)
6980
6980
  ]),
6981
- v("span", V5, U(r.$t("activity.attachment.placeholder.resting")), 1)
6981
+ v("span", V5, q(r.$t("activity.attachment.placeholder.resting")), 1)
6982
6982
  ])) : M("", !0)
6983
6983
  ], 42, A5);
6984
6984
  };
@@ -7036,13 +7036,13 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7036
7036
  Ke(Ce(W(h), ["ctrl"]), ["enter"])
7037
7037
  ]
7038
7038
  }, {
7039
- default: j(() => [
7040
- n1(U(_.content), 1)
7039
+ default: U(() => [
7040
+ n1(q(_.content), 1)
7041
7041
  ]),
7042
7042
  _: 1
7043
7043
  }, 40, ["value", "rows", "onKeyup"]))
7044
7044
  ]),
7045
- v("span", N5, U(d.value || r.value), 1)
7045
+ v("span", N5, q(d.value || r.value), 1)
7046
7046
  ]),
7047
7047
  _.isEditable ? (c(), m("div", R5, [
7048
7048
  W(o) ? (c(), m(fe, { key: 0 }, [
@@ -7142,7 +7142,7 @@ const j5 = {
7142
7142
  onSubmit: Ce(l, ["prevent"])
7143
7143
  }, [
7144
7144
  v("label", q5, [
7145
- v("span", z5, U(d.$t("activity.comment.label")), 1),
7145
+ v("span", z5, q(d.$t("activity.comment.label")), 1),
7146
7146
  Ue(v("textarea", {
7147
7147
  "onUpdate:modelValue": f[0] || (f[0] = (h) => i.value = h),
7148
7148
  rows: "4",
@@ -7318,7 +7318,7 @@ const K5 = {
7318
7318
  // `undefined` is not a value for GraphQL, we have to use `null` to reset a value
7319
7319
  });
7320
7320
  }
7321
- }), Z = (g) => {
7321
+ }), j = (g) => {
7322
7322
  e("addFiles", {
7323
7323
  activityId: t.activity.id,
7324
7324
  files: g
@@ -7352,8 +7352,8 @@ const K5 = {
7352
7352
  return (g, I) => (c(), N(H1, {
7353
7353
  onClose: I[8] || (I[8] = (H) => g.$emit("close"))
7354
7354
  }, {
7355
- header: j(() => [
7356
- g.breadcrumbs ? (c(), m("div", K5, U(g.breadcrumbs), 1)) : M("", !0),
7355
+ header: U(() => [
7356
+ g.breadcrumbs ? (c(), m("div", K5, q(g.breadcrumbs), 1)) : M("", !0),
7357
7357
  E(me, {
7358
7358
  title: g.activity.name || "",
7359
7359
  level: 4,
@@ -7364,7 +7364,7 @@ const K5 = {
7364
7364
  var H;
7365
7365
  return [
7366
7366
  V.value ? (c(), m("label", G5, [
7367
- v("span", X5, U(g.$t("activity.status.label")), 1),
7367
+ v("span", X5, q(g.$t("activity.status.label")), 1),
7368
7368
  E(we, {
7369
7369
  options: V.value,
7370
7370
  value: (H = g.activity.status) == null ? void 0 : H.id,
@@ -7378,12 +7378,12 @@ const K5 = {
7378
7378
  ];
7379
7379
  })
7380
7380
  ]),
7381
- default: j(() => [
7381
+ default: U(() => [
7382
7382
  v("div", x5, [
7383
7383
  v("fieldset", Q5, [
7384
7384
  v("div", J5, [
7385
7385
  v("label", e7, [
7386
- v("span", t7, U(g.$t("activity.description.label")), 1),
7386
+ v("span", t7, q(g.$t("activity.description.label")), 1),
7387
7387
  Ue(v("textarea", {
7388
7388
  "onUpdate:modelValue": I[0] || (I[0] = (H) => s.value = H),
7389
7389
  readonly: !g.isEditable,
@@ -7404,7 +7404,7 @@ const K5 = {
7404
7404
  ]),
7405
7405
  v("div", s7, [
7406
7406
  v("label", n7, [
7407
- v("span", i7, U(g.$t("activity.estimation.label")), 1),
7407
+ v("span", i7, q(g.$t("activity.estimation.label")), 1),
7408
7408
  Ue(v("input", {
7409
7409
  "onUpdate:modelValue": I[1] || (I[1] = (H) => o.value = H),
7410
7410
  readonly: !g.isEditable,
@@ -7424,7 +7424,7 @@ const K5 = {
7424
7424
  ])
7425
7425
  ]),
7426
7426
  v("label", l7, [
7427
- v("span", r7, U(g.$t("activity.important.label")), 1),
7427
+ v("span", r7, q(g.$t("activity.important.label")), 1),
7428
7428
  Ue(v("input", {
7429
7429
  "onUpdate:modelValue": I[2] || (I[2] = (H) => i.value = H),
7430
7430
  disabled: !g.isEditable,
@@ -7440,7 +7440,7 @@ const K5 = {
7440
7440
  ])
7441
7441
  ]),
7442
7442
  g.isTemplate !== !0 && g.activity.createdBy.id === g.userId ? (c(), m("label", d7, [
7443
- v("span", c7, U(g.$t("activity.private.label")), 1),
7443
+ v("span", c7, q(g.$t("activity.private.label")), 1),
7444
7444
  Ue(v("input", {
7445
7445
  "onUpdate:modelValue": I[3] || (I[3] = (H) => l.value = H),
7446
7446
  disabled: !g.isEditable,
@@ -7481,7 +7481,7 @@ const K5 = {
7481
7481
  disabled: !g.isEditable,
7482
7482
  caret: g.isEditable
7483
7483
  }, {
7484
- tag: j(({
7484
+ tag: U(({
7485
7485
  option: H,
7486
7486
  handleTagRemove: re
7487
7487
  }) => [
@@ -7532,7 +7532,7 @@ const K5 = {
7532
7532
  v("div", $7, [
7533
7533
  v("div", k7, [
7534
7534
  v("label", M7, [
7535
- v("span", A7, U(g.$t("activity.dependingOn.label")), 1),
7535
+ v("span", A7, q(g.$t("activity.dependingOn.label")), 1),
7536
7536
  E(we, {
7537
7537
  modelValue: f.value,
7538
7538
  "onUpdate:modelValue": I[5] || (I[5] = (H) => f.value = H),
@@ -7547,7 +7547,7 @@ const K5 = {
7547
7547
  ]),
7548
7548
  v("div", T7, [
7549
7549
  v("label", S7, [
7550
- v("span", E7, U(g.$t("activity.blocking.label")), 1),
7550
+ v("span", E7, q(g.$t("activity.blocking.label")), 1),
7551
7551
  E(we, {
7552
7552
  modelValue: h.value,
7553
7553
  "onUpdate:modelValue": I[6] || (I[6] = (H) => h.value = H),
@@ -7565,7 +7565,7 @@ const K5 = {
7565
7565
  v("fieldset", I7, [
7566
7566
  u.value ? (c(), m("div", O7, [
7567
7567
  v("label", L7, [
7568
- v("span", V7, U(g.$t("activity.type.label")), 1),
7568
+ v("span", V7, q(g.$t("activity.type.label")), 1),
7569
7569
  E(we, {
7570
7570
  modelValue: r.value,
7571
7571
  "onUpdate:modelValue": I[7] || (I[7] = (H) => r.value = H),
@@ -7592,7 +7592,7 @@ const K5 = {
7592
7592
  E(D5, {
7593
7593
  attachments: g.activity.attachments,
7594
7594
  "is-editable": g.isEditable,
7595
- onAdd: Z,
7595
+ onAdd: j,
7596
7596
  onRemove: Y
7597
7597
  }, null, 8, ["attachments", "is-editable"]),
7598
7598
  v("div", P7, [
@@ -7691,7 +7691,7 @@ const B7 = /* @__PURE__ */ K({
7691
7691
  }
7692
7692
  }), _ = w(() => Object.values($d));
7693
7693
  return (k, b) => (c(), N(Qe(k.tagName), { class: "ao-rule-line" }, {
7694
- default: j(() => [
7694
+ default: U(() => [
7695
7695
  E(W(Ye), {
7696
7696
  modelValue: s.value,
7697
7697
  "onUpdate:modelValue": b[0] || (b[0] = (L) => s.value = L),
@@ -7757,13 +7757,13 @@ const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rule
7757
7757
  e("removeRule", s);
7758
7758
  };
7759
7759
  return (s, o) => (c(), N(H1, null, {
7760
- header: j(() => [
7760
+ header: U(() => [
7761
7761
  E(me, {
7762
7762
  title: s.$t("template.rules.title"),
7763
7763
  level: 2
7764
7764
  }, null, 8, ["title"])
7765
7765
  ]),
7766
- default: j(() => [
7766
+ default: U(() => [
7767
7767
  v("div", N7, [
7768
7768
  v("ul", R7, [
7769
7769
  (c(!0), m(fe, null, ye(s.rules, (i) => (c(), N(B7, {
@@ -7813,7 +7813,7 @@ const j7 = {
7813
7813
  const t = a, { t: n } = it(), s = w(
7814
7814
  () => {
7815
7815
  var A;
7816
- return (A = t.templates) == null ? void 0 : A.find((F) => F.id === t.templateId);
7816
+ return (A = t.templates) == null ? void 0 : A.find((Z) => Z.id === t.templateId);
7817
7817
  }
7818
7818
  ), o = x(!1);
7819
7819
  de(
@@ -7824,27 +7824,27 @@ const j7 = {
7824
7824
  var A;
7825
7825
  return (A = s.value) == null ? void 0 : A.phases;
7826
7826
  },
7827
- (A, F) => {
7828
- o.value && je(A, F);
7827
+ (A, Z) => {
7828
+ o.value && je(A, Z);
7829
7829
  }
7830
7830
  );
7831
7831
  const i = w(() => {
7832
- var A, F;
7833
- return (F = (A = s == null ? void 0 : s.value) == null ? void 0 : A.phases) == null ? void 0 : F.find((q) => q.id === t.phaseId);
7832
+ var A, Z;
7833
+ return (Z = (A = s == null ? void 0 : s.value) == null ? void 0 : A.phases) == null ? void 0 : Z.find((F) => F.id === t.phaseId);
7834
7834
  });
7835
7835
  de(
7836
7836
  () => {
7837
7837
  var A;
7838
7838
  return (A = i.value) == null ? void 0 : A.milestones;
7839
7839
  },
7840
- (A, F) => {
7841
- o.value && je(A, F);
7840
+ (A, Z) => {
7841
+ o.value && je(A, Z);
7842
7842
  }
7843
7843
  );
7844
7844
  const l = w(() => {
7845
- var A, F;
7846
- return (F = (A = i.value) == null ? void 0 : A.milestones) == null ? void 0 : F.find(
7847
- (q) => q.id === t.milestoneId
7845
+ var A, Z;
7846
+ return (Z = (A = i.value) == null ? void 0 : A.milestones) == null ? void 0 : Z.find(
7847
+ (F) => F.id === t.milestoneId
7848
7848
  );
7849
7849
  });
7850
7850
  de(
@@ -7852,29 +7852,29 @@ const j7 = {
7852
7852
  var A;
7853
7853
  return (A = l.value) == null ? void 0 : A.activities;
7854
7854
  },
7855
- (A, F) => {
7856
- o.value && je(A, F);
7855
+ (A, Z) => {
7856
+ o.value && je(A, Z);
7857
7857
  }
7858
7858
  );
7859
7859
  const u = w(() => {
7860
- var A, F;
7861
- return ((F = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : F.reduce((q, se) => {
7860
+ var A, Z;
7861
+ return ((Z = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : Z.reduce((F, se) => {
7862
7862
  const ie = se.milestones || [];
7863
- return [...q, ...ie];
7863
+ return [...F, ...ie];
7864
7864
  }, [])) || [];
7865
7865
  }), r = w(() => {
7866
- var A, F;
7867
- return ((F = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : F.reduce((q, se) => {
7866
+ var A, Z;
7867
+ return ((Z = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : Z.reduce((F, se) => {
7868
7868
  const ge = (se.milestones || []).reduce(
7869
7869
  ($, R) => R.activities ? [...$, ...R.activities] : $,
7870
7870
  []
7871
7871
  );
7872
- return [...q, ...ge];
7872
+ return [...F, ...ge];
7873
7873
  }, [])) || [];
7874
7874
  }), d = w(() => {
7875
- var A, F;
7876
- return (F = (A = l.value) == null ? void 0 : A.activities) == null ? void 0 : F.find(
7877
- (q) => q.id === t.activityId
7875
+ var A, Z;
7876
+ return (Z = (A = l.value) == null ? void 0 : A.activities) == null ? void 0 : Z.find(
7877
+ (F) => F.id === t.activityId
7878
7878
  );
7879
7879
  }), f = w(() => {
7880
7880
  var A;
@@ -7882,7 +7882,7 @@ const j7 = {
7882
7882
  }), p = () => {
7883
7883
  if (!s.value)
7884
7884
  return;
7885
- const { name: A, rank: F } = mt(
7885
+ const { name: A, rank: Z } = mt(
7886
7886
  s.value.phases,
7887
7887
  "phase",
7888
7888
  n
@@ -7892,7 +7892,7 @@ const j7 = {
7892
7892
  templateId: t.templateId,
7893
7893
  item: {
7894
7894
  name: A,
7895
- rank: F
7895
+ rank: Z
7896
7896
  }
7897
7897
  });
7898
7898
  }, h = (A) => {
@@ -7910,19 +7910,19 @@ const j7 = {
7910
7910
  id: A
7911
7911
  }
7912
7912
  });
7913
- }, S = (A, F) => {
7913
+ }, S = (A, Z) => {
7914
7914
  e("updateItem", {
7915
7915
  templateId: t.templateId,
7916
7916
  id: A,
7917
7917
  itemType: he.PHASES,
7918
- data: { name: F }
7918
+ data: { name: Z }
7919
7919
  });
7920
7920
  }, _ = (A) => {
7921
7921
  e("updateItem", A);
7922
7922
  }, k = (A) => {
7923
7923
  if (!i.value)
7924
7924
  return;
7925
- const { name: F, rank: q } = mt(
7925
+ const { name: Z, rank: F } = mt(
7926
7926
  i.value.milestones,
7927
7927
  "milestone",
7928
7928
  n
@@ -7932,8 +7932,8 @@ const j7 = {
7932
7932
  templateId: t.templateId,
7933
7933
  phaseId: A.phaseId,
7934
7934
  item: {
7935
- name: F,
7936
- rank: q,
7935
+ name: Z,
7936
+ rank: F,
7937
7937
  phaseId: A.phaseId
7938
7938
  }
7939
7939
  });
@@ -7947,46 +7947,46 @@ const j7 = {
7947
7947
  }
7948
7948
  });
7949
7949
  }, L = (A) => {
7950
- const { id: F, ...q } = A;
7950
+ const { id: Z, ...F } = A;
7951
7951
  e("updateItem", {
7952
7952
  itemType: he.MILESTONES,
7953
- id: F,
7953
+ id: Z,
7954
7954
  templateId: t.templateId,
7955
- data: q
7955
+ data: F
7956
7956
  });
7957
- }, Z = (A) => {
7958
- const { milestoneId: F } = A;
7957
+ }, j = (A) => {
7958
+ const { milestoneId: Z } = A;
7959
7959
  if (!l.value)
7960
7960
  return;
7961
- const { name: q, rank: se } = mt(
7961
+ const { name: F, rank: se } = mt(
7962
7962
  l.value.activities,
7963
7963
  "activity",
7964
7964
  n
7965
7965
  );
7966
7966
  o.value = !0, e("addItem", {
7967
7967
  type: he.ACTIVITIES,
7968
- milestoneId: F,
7968
+ milestoneId: Z,
7969
7969
  templateId: t.templateId,
7970
- item: { name: q, rank: se, milestoneId: F }
7970
+ item: { name: F, rank: se, milestoneId: Z }
7971
7971
  });
7972
7972
  }, Y = (A) => {
7973
- var F, q;
7973
+ var Z, F;
7974
7974
  e("removeItem", {
7975
7975
  type: he.ACTIVITIES,
7976
7976
  templateId: t.templateId,
7977
- phaseId: (F = i.value) == null ? void 0 : F.id,
7978
- milestoneId: (q = l.value) == null ? void 0 : q.id,
7977
+ phaseId: (Z = i.value) == null ? void 0 : Z.id,
7978
+ milestoneId: (F = l.value) == null ? void 0 : F.id,
7979
7979
  data: {
7980
7980
  id: A.id
7981
7981
  }
7982
7982
  });
7983
7983
  }, V = (A) => {
7984
- const { id: F, ...q } = A;
7984
+ const { id: Z, ...F } = A;
7985
7985
  e("updateItem", {
7986
7986
  itemType: he.ACTIVITIES,
7987
- id: F,
7987
+ id: Z,
7988
7988
  templateId: t.templateId,
7989
- data: q
7989
+ data: F
7990
7990
  });
7991
7991
  }, J = x(!1), ee = () => {
7992
7992
  J.value = !J.value;
@@ -7995,15 +7995,15 @@ const j7 = {
7995
7995
  }, O = (A) => {
7996
7996
  e("removeRule", { id: A, templateId: t.templateId });
7997
7997
  }, g = (A) => {
7998
- var F;
7998
+ var Z;
7999
7999
  if (A.moved) {
8000
- const q = Ut(A, ((F = s.value) == null ? void 0 : F.phases) ?? []);
8000
+ const F = Ut(A, ((Z = s.value) == null ? void 0 : Z.phases) ?? []);
8001
8001
  e("updateItem", {
8002
8002
  itemType: he.PHASES,
8003
8003
  id: A.moved.element.id,
8004
8004
  templateId: t.templateId,
8005
8005
  data: {
8006
- rank: q
8006
+ rank: F
8007
8007
  }
8008
8008
  });
8009
8009
  }
@@ -8037,19 +8037,19 @@ const j7 = {
8037
8037
  }, ce = (A) => {
8038
8038
  e("removeFile", A);
8039
8039
  };
8040
- return (A, F) => {
8041
- var q, se, ie, ge, $, R;
8040
+ return (A, Z) => {
8041
+ var F, se, ie, ge, $, R;
8042
8042
  return s.value ? (c(), m("div", j7, [
8043
8043
  E(v1, {
8044
8044
  "can-go-back": !0,
8045
- onGoBack: F[1] || (F[1] = (z) => A.$router.push({ name: W(ft).TEMPLATES_LIST }))
8045
+ onGoBack: Z[1] || (Z[1] = (z) => A.$router.push({ name: W(ft).TEMPLATES_LIST }))
8046
8046
  }, {
8047
- primary: j(() => [
8047
+ primary: U(() => [
8048
8048
  E(me, {
8049
8049
  title: f.value,
8050
8050
  level: 2,
8051
8051
  "is-editable": !0,
8052
- "onUpdate:title": F[0] || (F[0] = (z) => {
8052
+ "onUpdate:title": Z[0] || (Z[0] = (z) => {
8053
8053
  h(z);
8054
8054
  })
8055
8055
  }, null, 8, ["title"])
@@ -8066,14 +8066,14 @@ const j7 = {
8066
8066
  handle: ".ao-card__drag",
8067
8067
  onChange: g
8068
8068
  }, {
8069
- header: j(() => [
8069
+ header: U(() => [
8070
8070
  E(me, {
8071
8071
  title: A.$t("template.phases.title"),
8072
8072
  level: 3,
8073
8073
  class: "ao-list__title"
8074
8074
  }, null, 8, ["title"])
8075
8075
  ]),
8076
- item: j(({ element: z }) => {
8076
+ item: U(({ element: z }) => {
8077
8077
  var T;
8078
8078
  return [
8079
8079
  E(W0, {
@@ -8092,7 +8092,7 @@ const j7 = {
8092
8092
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
8093
8093
  ];
8094
8094
  }),
8095
- footer: j(() => [
8095
+ footer: U(() => [
8096
8096
  v("div", z7, [
8097
8097
  E(et, {
8098
8098
  "icon-name": "AddBoxOutlineRounded",
@@ -8109,7 +8109,7 @@ const j7 = {
8109
8109
  key: 0,
8110
8110
  "template-id": A.templateId,
8111
8111
  phase: i.value,
8112
- "milestone-id": (q = l.value) == null ? void 0 : q.id,
8112
+ "milestone-id": (F = l.value) == null ? void 0 : F.id,
8113
8113
  onAddMilestone: k,
8114
8114
  onUpdateMilestone: L,
8115
8115
  onUpdatePhase: _,
@@ -8123,7 +8123,7 @@ const j7 = {
8123
8123
  "phase-id": (se = i.value) == null ? void 0 : se.id,
8124
8124
  milestone: l.value,
8125
8125
  "activity-id": (ie = d.value) == null ? void 0 : ie.id,
8126
- onAddActivity: Z,
8126
+ onAddActivity: j,
8127
8127
  onUpdateActivity: V,
8128
8128
  onRemoveActivity: Y
8129
8129
  }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : M("", !0)
@@ -8142,7 +8142,7 @@ const j7 = {
8142
8142
  "is-template": !0,
8143
8143
  "is-editable": !0,
8144
8144
  users: A.users,
8145
- "onUpdate:activity": F[2] || (F[2] = (z) => {
8145
+ "onUpdate:activity": Z[2] || (Z[2] = (z) => {
8146
8146
  d.value && V(z);
8147
8147
  }),
8148
8148
  onClose: A.$router.back,
@@ -8152,7 +8152,7 @@ const j7 = {
8152
8152
  onAddFiles: ae,
8153
8153
  onRemoveFile: ce
8154
8154
  }, {
8155
- default: j((z) => [
8155
+ default: U((z) => [
8156
8156
  X(A.$slots, "activityDetailsBody", Pt(Bt(z)))
8157
8157
  ]),
8158
8158
  _: 3
@@ -8191,7 +8191,7 @@ const G7 = {
8191
8191
  return (e, t) => (c(), N(Qe(e.tagName), {
8192
8192
  class: G(["ao-card", { "ao-card--clickable": e.isClickable }])
8193
8193
  }, {
8194
- default: j(() => [
8194
+ default: U(() => [
8195
8195
  e.$slots.header ? (c(), m("header", G7, [
8196
8196
  X(e.$slots, "header")
8197
8197
  ])) : M("", !0),
@@ -8229,7 +8229,7 @@ const F1 = /* @__PURE__ */ K({
8229
8229
  const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-project-phase__footer" }, e9 = { class: "ao-card-project-phase__footer-row" }, t9 = { class: "ao-card-project-phase__subitem" }, a9 = { class: "ao-card-project-phase__subitem" }, s9 = {
8230
8230
  key: 1,
8231
8231
  class: "ao-card-project-phase__secondary"
8232
- }, n9 = { class: "ao-field ao-field__inline" }, i9 = { class: "ao-field__label" }, o9 = { class: "ao-card-project-phase__deadline" }, l9 = /* @__PURE__ */ K({
8232
+ }, n9 = { class: "ao-field ao-field__inline" }, i9 = { class: "ao-card-project-phase__deadline" }, o9 = /* @__PURE__ */ K({
8233
8233
  __name: "AoCardProjectItemPhase",
8234
8234
  props: {
8235
8235
  id: {},
@@ -8251,10 +8251,10 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8251
8251
  return (u = t.milestones) == null ? void 0 : u.filter((r) => r.status === E1.done).length;
8252
8252
  }), i = w(() => (o.value || 0) / (s.value || 1)), l = w({
8253
8253
  get: () => t.deadline ?? "",
8254
- set: (u) => e("update:deadline", u)
8254
+ set: (u) => e("update:deadline", u != null && u.length ? u : null)
8255
8255
  });
8256
8256
  return (u, r) => (c(), N(Z1, { class: "ao-card-project-phase" }, i1({
8257
- default: j(() => [
8257
+ default: U(() => [
8258
8258
  E(me, {
8259
8259
  id: u.id,
8260
8260
  class: "ao-card-project-phase__title",
@@ -8264,7 +8264,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8264
8264
  "onUpdate:title": n
8265
8265
  }, null, 8, ["id", "title", "is-editable"])
8266
8266
  ]),
8267
- footer: j(() => [
8267
+ footer: U(() => [
8268
8268
  v("div", J7, [
8269
8269
  v("div", e9, [
8270
8270
  s.value ? (c(), m(fe, { key: 0 }, [
@@ -8273,7 +8273,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8273
8273
  name: "MountainFlagOutlineRounded",
8274
8274
  size: "sm"
8275
8275
  }),
8276
- v("span", a9, U(o.value) + " / " + U(s.value), 1)
8276
+ v("span", a9, q(o.value) + " / " + q(s.value), 1)
8277
8277
  ]),
8278
8278
  E(F1, {
8279
8279
  percentages: i.value,
@@ -8288,8 +8288,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8288
8288
  class: G(["ao-card-project-phase__footer-row", l.value ? "" : "ao-card-project-phase__no_deadline"])
8289
8289
  }, [
8290
8290
  v("label", n9, [
8291
- v("span", i9, U(u.$t("activity.deadline.label")), 1),
8292
- v("span", o9, U(W(Lt)(u.deadline)), 1),
8291
+ v("span", i9, q(W(Lt)(u.deadline)), 1),
8293
8292
  u.isEditable ? Ue((c(), m("input", {
8294
8293
  key: 0,
8295
8294
  "onUpdate:modelValue": r[1] || (r[1] = (d) => l.value = d),
@@ -8311,7 +8310,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8311
8310
  }, [
8312
8311
  u.isEditable ? {
8313
8312
  name: "header",
8314
- fn: j(() => [
8313
+ fn: U(() => [
8315
8314
  v("div", Q7, [
8316
8315
  E(le, {
8317
8316
  class: "ao-card-project-phase__archive",
@@ -8331,13 +8330,13 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8331
8330
  ]), 1024));
8332
8331
  }
8333
8332
  });
8334
- const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8333
+ const l9 = { class: "ao-card-project-milestone__default" }, r9 = {
8335
8334
  key: 0,
8336
8335
  class: "ao-card-project-milestone__archive"
8337
- }, d9 = { class: "ao-card-project-phase__footer" }, c9 = { class: "ao-card-project-phase__footer-row" }, v9 = { class: "ao-card-project-phase__subitem" }, f9 = { class: "ao-card-project-phase__subitem" }, p9 = { key: 0 }, h9 = { class: "ao-field ao-field__inline" }, m9 = { class: "ao-field__label" }, C9 = { class: "ao-field__label" }, _9 = {
8338
- key: 1,
8336
+ }, u9 = { class: "ao-card-project-phase__footer" }, d9 = { class: "ao-card-project-phase__footer-row" }, c9 = { class: "ao-card-project-phase__subitem" }, v9 = { class: "ao-card-project-phase__subitem" }, f9 = { key: 1 }, p9 = { class: "ao-field ao-field__inline" }, h9 = { class: "ao-field__label" }, m9 = {
8337
+ key: 2,
8339
8338
  class: "ao-card-project-phase__secondary"
8340
- }, g9 = /* @__PURE__ */ K({
8339
+ }, C9 = /* @__PURE__ */ K({
8341
8340
  __name: "AoCardProjectItemMilestone",
8342
8341
  props: {
8343
8342
  id: {},
@@ -8363,8 +8362,8 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8363
8362
  "is-clickable": !0,
8364
8363
  "tag-name": "li"
8365
8364
  }, {
8366
- default: j(() => [
8367
- v("div", r9, [
8365
+ default: U(() => [
8366
+ v("div", l9, [
8368
8367
  E(me, {
8369
8368
  id: l.id,
8370
8369
  title: l.name || "",
@@ -8373,7 +8372,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8373
8372
  class: "ao-card-project-milestone__title",
8374
8373
  "onUpdate:title": i
8375
8374
  }, null, 8, ["id", "title", "is-editable"]),
8376
- l.isEditable ? (c(), m("div", u9, [
8375
+ l.isEditable ? (c(), m("div", r9, [
8377
8376
  E(le, {
8378
8377
  color: "primary",
8379
8378
  variant: "ghost",
@@ -8387,29 +8386,28 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8387
8386
  ])) : M("", !0)
8388
8387
  ])
8389
8388
  ]),
8390
- footer: j(() => [
8391
- v("div", d9, [
8392
- v("div", c9, [
8389
+ footer: U(() => [
8390
+ v("div", u9, [
8391
+ v("div", d9, [
8393
8392
  n.value ? (c(), m(fe, { key: 0 }, [
8394
- v("div", v9, [
8393
+ v("div", c9, [
8395
8394
  E(ve, {
8396
8395
  name: "SelectCheckBox",
8397
8396
  size: "sm"
8398
8397
  }),
8399
- v("span", f9, U(s.value) + " / " + U(n.value), 1)
8398
+ v("span", v9, q(s.value) + " / " + q(n.value), 1)
8400
8399
  ]),
8401
8400
  E(F1, {
8402
8401
  percentages: o.value,
8403
8402
  class: "ao-card-project-phase__progress"
8404
- }, null, 8, ["percentages"]),
8405
- l.deadline ? (c(), m("div", p9, [
8406
- v("label", h9, [
8407
- v("span", m9, U(l.$t("activity.deadline.label")), 1),
8408
- v("span", C9, U(W(Lt)(l.deadline)), 1)
8409
- ])
8410
- ])) : M("", !0)
8403
+ }, null, 8, ["percentages"])
8411
8404
  ], 64)) : M("", !0),
8412
- l.$slots.secondary ? (c(), m("div", _9, [
8405
+ l.deadline ? (c(), m("div", f9, [
8406
+ v("label", p9, [
8407
+ v("span", h9, q(W(Lt)(l.deadline)), 1)
8408
+ ])
8409
+ ])) : M("", !0),
8410
+ l.$slots.secondary ? (c(), m("div", m9, [
8413
8411
  X(l.$slots, "secondary")
8414
8412
  ])) : M("", !0)
8415
8413
  ])
@@ -8419,10 +8417,10 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8419
8417
  }));
8420
8418
  }
8421
8419
  });
8422
- const y9 = { class: "ao-project-phase" }, b9 = {
8420
+ const _9 = { class: "ao-project-phase" }, g9 = {
8423
8421
  key: 0,
8424
8422
  class: "ao-project-phase__drag ao-card__drag"
8425
- }, w9 = { class: "ao-project-phase__col-phase" }, $9 = { class: "ao-project-phase__col-milestones" }, k9 = { class: "ao-project-phase__milestones" }, M9 = { class: "ao-project-phase__milestones-list-footer" }, A9 = /* @__PURE__ */ K({
8423
+ }, y9 = { class: "ao-project-phase__col-phase" }, b9 = { class: "ao-project-phase__col-milestones" }, w9 = { class: "ao-project-phase__milestones" }, $9 = { class: "ao-project-phase__milestones-list-footer" }, k9 = /* @__PURE__ */ K({
8426
8424
  __name: "AoProjectPhase",
8427
8425
  props: {
8428
8426
  phase: {},
@@ -8457,15 +8455,15 @@ const y9 = { class: "ao-project-phase" }, b9 = {
8457
8455
  )
8458
8456
  });
8459
8457
  };
8460
- return (p, h) => (c(), m("li", y9, [
8461
- p.isEditable ? (c(), m("div", b9, [
8458
+ return (p, h) => (c(), m("li", _9, [
8459
+ p.isEditable ? (c(), m("div", g9, [
8462
8460
  E(ve, {
8463
8461
  name: "DragIndicator",
8464
8462
  class: "ao-project-phase__drag-handle"
8465
8463
  })
8466
8464
  ])) : M("", !0),
8467
- v("div", w9, [
8468
- E(l9, {
8465
+ v("div", y9, [
8466
+ E(o9, {
8469
8467
  id: p.phase.id,
8470
8468
  milestones: i.value,
8471
8469
  name: p.phase.name,
@@ -8476,8 +8474,8 @@ const y9 = { class: "ao-project-phase" }, b9 = {
8476
8474
  onArchivePhase: d
8477
8475
  }, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
8478
8476
  ]),
8479
- v("div", $9, [
8480
- v("div", k9, [
8477
+ v("div", b9, [
8478
+ v("div", w9, [
8481
8479
  E(W(Je), Ee({
8482
8480
  class: "ao-project-phase__milestones-list",
8483
8481
  list: i.value,
@@ -8485,8 +8483,8 @@ const y9 = { class: "ao-project-phase" }, b9 = {
8485
8483
  "item-key": "id",
8486
8484
  group: "kanban"
8487
8485
  }, p.$attrs, { onChange: f }), {
8488
- item: j(({ element: y }) => [
8489
- E(g9, {
8486
+ item: U(({ element: y }) => [
8487
+ E(C9, {
8490
8488
  id: y.id,
8491
8489
  name: y.name,
8492
8490
  activities: y.activities,
@@ -8505,7 +8503,7 @@ const y9 = { class: "ao-project-phase" }, b9 = {
8505
8503
  ]),
8506
8504
  _: 1
8507
8505
  }, 16, ["list", "disabled"]),
8508
- v("div", M9, [
8506
+ v("div", $9, [
8509
8507
  p.isEditable ? (c(), N(et, {
8510
8508
  key: 0,
8511
8509
  label: p.$t("project.milestone.add"),
@@ -8519,10 +8517,10 @@ const y9 = { class: "ao-project-phase" }, b9 = {
8519
8517
  ]));
8520
8518
  }
8521
8519
  });
8522
- const T9 = { class: "ao-project__phases" }, S9 = {
8520
+ const M9 = { class: "ao-project__phases" }, A9 = {
8523
8521
  key: 0,
8524
8522
  class: "ao-project-phase__phases-list-footer"
8525
- }, E9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), I9 = { class: "ao-project-phase__col-phase" }, O9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), L9 = /* @__PURE__ */ K({
8523
+ }, T9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), S9 = { class: "ao-project-phase__col-phase" }, E9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), I9 = /* @__PURE__ */ K({
8526
8524
  __name: "AoProjectPhases",
8527
8525
  props: {
8528
8526
  phases: {},
@@ -8556,7 +8554,7 @@ const T9 = { class: "ao-project__phases" }, S9 = {
8556
8554
  }, r = (d) => {
8557
8555
  e("addPhase", d);
8558
8556
  };
8559
- return (d, f) => (c(), m("div", T9, [
8557
+ return (d, f) => (c(), m("div", M9, [
8560
8558
  E(W(Je), {
8561
8559
  class: "ao-project-phase__phases-list",
8562
8560
  "model-value": d.phases,
@@ -8564,8 +8562,8 @@ const T9 = { class: "ao-project__phases" }, S9 = {
8564
8562
  handle: ".ao-card__drag",
8565
8563
  onChange: l
8566
8564
  }, {
8567
- item: j(({ element: p }) => [
8568
- E(A9, {
8565
+ item: U(({ element: p }) => [
8566
+ E(k9, {
8569
8567
  phase: p,
8570
8568
  "is-editable": d.isEditable,
8571
8569
  "closed-status": d.closedStatus,
@@ -8578,9 +8576,9 @@ const T9 = { class: "ao-project__phases" }, S9 = {
8578
8576
  ]),
8579
8577
  _: 1
8580
8578
  }, 8, ["model-value"]),
8581
- d.isEditable ? (c(), m("div", S9, [
8582
- E9,
8583
- v("div", I9, [
8579
+ d.isEditable ? (c(), m("div", A9, [
8580
+ T9,
8581
+ v("div", S9, [
8584
8582
  E(et, {
8585
8583
  label: d.$t("project.phases.add"),
8586
8584
  "icon-name": "Add",
@@ -8588,12 +8586,12 @@ const T9 = { class: "ao-project__phases" }, S9 = {
8588
8586
  onClick: r
8589
8587
  }, null, 8, ["label"])
8590
8588
  ]),
8591
- O9
8589
+ E9
8592
8590
  ])) : M("", !0)
8593
8591
  ]));
8594
8592
  }
8595
8593
  });
8596
- const V9 = ["onSubmit"], D9 = { class: "ao-add-template-modal__form-body" }, H9 = { class: "field__row" }, P9 = { class: "ao-add-template-modal__form-footer" }, B9 = /* @__PURE__ */ K({
8594
+ const O9 = ["onSubmit"], L9 = { class: "ao-add-template-modal__form-body" }, V9 = { class: "field__row" }, D9 = { class: "ao-add-template-modal__form-footer" }, H9 = /* @__PURE__ */ K({
8597
8595
  __name: "AoAddTemplateModal",
8598
8596
  props: {
8599
8597
  projectId: {},
@@ -8610,19 +8608,19 @@ const V9 = ["onSubmit"], D9 = { class: "ao-add-template-modal__form-body" }, H9
8610
8608
  s.value && e("apply", s.value, t.projectId);
8611
8609
  };
8612
8610
  return (l, u) => (c(), N(H1, { size: "sm" }, {
8613
- header: j(() => [
8611
+ header: U(() => [
8614
8612
  E(me, {
8615
8613
  title: l.$t("project.template.add.title"),
8616
8614
  level: 3
8617
8615
  }, null, 8, ["title"])
8618
8616
  ]),
8619
- default: j(() => [
8617
+ default: U(() => [
8620
8618
  v("form", {
8621
8619
  class: "ao-add-template-modal__form",
8622
8620
  onSubmit: Ce(i, ["prevent"])
8623
8621
  }, [
8624
- v("div", D9, [
8625
- v("div", H9, [
8622
+ v("div", L9, [
8623
+ v("div", V9, [
8626
8624
  E(we, {
8627
8625
  value: s.value,
8628
8626
  options: n.value,
@@ -8631,7 +8629,7 @@ const V9 = ["onSubmit"], D9 = { class: "ao-add-template-modal__form-body" }, H9
8631
8629
  }, null, 8, ["value", "options"])
8632
8630
  ])
8633
8631
  ]),
8634
- v("footer", P9, [
8632
+ v("footer", D9, [
8635
8633
  E(le, {
8636
8634
  label: l.$t("project.template.add.label"),
8637
8635
  type: "submit",
@@ -8640,13 +8638,13 @@ const V9 = ["onSubmit"], D9 = { class: "ao-add-template-modal__form-body" }, H9
8640
8638
  onClick: i
8641
8639
  }, null, 8, ["label"])
8642
8640
  ])
8643
- ], 40, V9)
8641
+ ], 40, O9)
8644
8642
  ]),
8645
8643
  _: 1
8646
8644
  }));
8647
8645
  }
8648
8646
  });
8649
- const N9 = K({
8647
+ const P9 = K({
8650
8648
  props: {
8651
8649
  isLeft: {
8652
8650
  type: Boolean,
@@ -8675,9 +8673,9 @@ const N9 = K({
8675
8673
  }
8676
8674
  }
8677
8675
  });
8678
- const R9 = { class: "toggle-wrapper" };
8679
- function U9(a, e, t, n, s, o) {
8680
- return c(), m("div", R9, [
8676
+ const B9 = { class: "toggle-wrapper" };
8677
+ function N9(a, e, t, n, s, o) {
8678
+ return c(), m("div", B9, [
8681
8679
  v("button", {
8682
8680
  class: G({
8683
8681
  button: !0,
@@ -8686,7 +8684,7 @@ function U9(a, e, t, n, s, o) {
8686
8684
  }),
8687
8685
  type: "button",
8688
8686
  onClick: e[0] || (e[0] = (...i) => a.selectLeft && a.selectLeft(...i))
8689
- }, U(a.leftLabel), 3),
8687
+ }, q(a.leftLabel), 3),
8690
8688
  v("button", {
8691
8689
  class: G({
8692
8690
  button: !0,
@@ -8695,10 +8693,10 @@ function U9(a, e, t, n, s, o) {
8695
8693
  }),
8696
8694
  type: "button",
8697
8695
  onClick: e[1] || (e[1] = (...i) => a.selectRight && a.selectRight(...i))
8698
- }, U(a.rightLabel), 3)
8696
+ }, q(a.rightLabel), 3)
8699
8697
  ]);
8700
8698
  }
8701
- const Ua = /* @__PURE__ */ P(N9, [["render", U9], ["__scopeId", "data-v-5637c519"]]), j9 = { class: "ao-project" }, Z9 = { class: "ao-project__body" }, F9 = /* @__PURE__ */ K({
8699
+ const Ua = /* @__PURE__ */ P(P9, [["render", N9], ["__scopeId", "data-v-5637c519"]]), R9 = { class: "ao-project" }, U9 = { class: "ao-project__body" }, j9 = /* @__PURE__ */ K({
8702
8700
  __name: "AoProjectOverviewProject",
8703
8701
  props: {
8704
8702
  project: {},
@@ -8748,7 +8746,7 @@ const Ua = /* @__PURE__ */ P(N9, [["render", U9], ["__scopeId", "data-v-5637c519
8748
8746
  () => s.value.flatMap((O) => O.activities)
8749
8747
  ), L = (O) => {
8750
8748
  e("addFiles", O);
8751
- }, Z = (O) => {
8749
+ }, j = (O) => {
8752
8750
  e("removeFile", O);
8753
8751
  }, Y = (O) => {
8754
8752
  e("addComment", O);
@@ -8763,9 +8761,9 @@ const Ua = /* @__PURE__ */ P(N9, [["render", U9], ["__scopeId", "data-v-5637c519
8763
8761
  const I = hs("RouterView");
8764
8762
  return c(), m(fe, null, [
8765
8763
  v("div", Ee({ class: "ao-project-overview" }, O.$attrs), [
8766
- v("div", j9, [
8764
+ v("div", R9, [
8767
8765
  E(v1, null, {
8768
- primary: j(() => [
8766
+ primary: U(() => [
8769
8767
  E(Ua, {
8770
8768
  "is-left": !0,
8771
8769
  "right-label": O.$t("project.switch.feed"),
@@ -8796,8 +8794,8 @@ const Ua = /* @__PURE__ */ P(N9, [["render", U9], ["__scopeId", "data-v-5637c519
8796
8794
  ]),
8797
8795
  _: 1
8798
8796
  }),
8799
- v("div", Z9, [
8800
- E(L9, {
8797
+ v("div", U9, [
8798
+ E(I9, {
8801
8799
  phases: O.phases,
8802
8800
  "closed-status": O.closedStatus,
8803
8801
  "is-editable": O.isEditable,
@@ -8840,14 +8838,14 @@ const Ua = /* @__PURE__ */ P(N9, [["render", U9], ["__scopeId", "data-v-5637c519
8840
8838
  onUpdateSubtask: _,
8841
8839
  onDeleteSubtask: k,
8842
8840
  onAddFiles: L,
8843
- onRemoveFile: Z,
8841
+ onRemoveFile: j,
8844
8842
  onAddComment: Y,
8845
8843
  onUpdateComment: V,
8846
8844
  onRemoveComment: J
8847
8845
  }, {
8848
- default: j(({ Component: H }) => [
8846
+ default: U(({ Component: H }) => [
8849
8847
  (c(), N(Qe(H), null, {
8850
- default: j((re) => [
8848
+ default: U((re) => [
8851
8849
  X(O.$slots, "activityDetailsBody", Pt(Bt(re)))
8852
8850
  ]),
8853
8851
  _: 2
@@ -8858,7 +8856,7 @@ const Ua = /* @__PURE__ */ P(N9, [["render", U9], ["__scopeId", "data-v-5637c519
8858
8856
  ]))
8859
8857
  ], 16),
8860
8858
  (c(), N(It, { to: "body" }, [
8861
- ee.value ? (c(), N(B9, {
8859
+ ee.value ? (c(), N(H9, {
8862
8860
  key: 0,
8863
8861
  "project-id": O.project.id,
8864
8862
  templates: O.templates,
@@ -8870,34 +8868,34 @@ const Ua = /* @__PURE__ */ P(N9, [["render", U9], ["__scopeId", "data-v-5637c519
8870
8868
  };
8871
8869
  }
8872
8870
  });
8873
- const q9 = { class: "ao-card-feed__header" }, z9 = {
8871
+ const Z9 = { class: "ao-card-feed__header" }, F9 = {
8874
8872
  key: 1,
8875
8873
  class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
8876
- }, W9 = {
8874
+ }, q9 = {
8877
8875
  key: 2,
8878
8876
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
8879
- }, Y9 = { class: "ao-card-feed__body" }, K9 = {
8877
+ }, z9 = { class: "ao-card-feed__body" }, W9 = {
8880
8878
  key: 0,
8881
8879
  class: "ao-card-feed__breadcrumbs"
8882
- }, G9 = {
8880
+ }, Y9 = {
8883
8881
  key: 1,
8884
8882
  class: "ao-card-feed__deadline"
8885
- }, X9 = { class: "ao-card-feed__footer" }, x9 = { class: "ao-card-feed__footer-row" }, Q9 = { class: "ao-assignees" }, J9 = {
8883
+ }, K9 = { class: "ao-card-feed__footer" }, G9 = { class: "ao-card-feed__footer-row" }, X9 = { class: "ao-assignees" }, x9 = {
8886
8884
  key: 0,
8887
8885
  class: "ao-assignee"
8888
- }, e4 = {
8886
+ }, Q9 = {
8889
8887
  key: 0,
8890
8888
  class: "ao-card-feed__subitems"
8891
- }, t4 = {
8889
+ }, J9 = {
8892
8890
  key: 0,
8893
8891
  class: "ao-card-feed__subitem"
8894
- }, a4 = { class: "ao-card-feed__subitem" }, s4 = {
8892
+ }, e4 = { class: "ao-card-feed__subitem" }, t4 = {
8895
8893
  key: 1,
8896
8894
  class: "ao-card-feed__subitem"
8897
- }, n4 = { class: "ao-card-feed__subitem" }, i4 = { class: "ao-card-feed__footer-row" }, o4 = {
8895
+ }, a4 = { class: "ao-card-feed__subitem" }, s4 = { class: "ao-card-feed__footer-row" }, n4 = {
8898
8896
  key: 0,
8899
8897
  class: "ao-card-feed__progress-wrapper"
8900
- }, l4 = { class: "ao-card-feed__subitem" }, r4 = { class: "ao-card-feed__subitem" }, ja = /* @__PURE__ */ K({
8898
+ }, i4 = { class: "ao-card-feed__subitem" }, o4 = { class: "ao-card-feed__subitem" }, ja = /* @__PURE__ */ K({
8901
8899
  __name: "AoCardFeed",
8902
8900
  props: {
8903
8901
  id: {},
@@ -8938,8 +8936,8 @@ const q9 = { class: "ao-card-feed__header" }, z9 = {
8938
8936
  class: "ao-card-feed",
8939
8937
  "is-clickable": !0
8940
8938
  }, {
8941
- header: j(() => [
8942
- v("div", q9, [
8939
+ header: U(() => [
8940
+ v("div", Z9, [
8943
8941
  p.projectName ? (c(), N(L1, {
8944
8942
  key: 0,
8945
8943
  label: p.projectName,
@@ -8948,7 +8946,7 @@ const q9 = { class: "ao-card-feed__header" }, z9 = {
8948
8946
  color: p.projectColor ? void 0 : "primary",
8949
8947
  "raw-color": p.projectColor
8950
8948
  }, null, 8, ["label", "color", "raw-color"])) : M("", !0),
8951
- p.isPrivate || p.important ? (c(), m("div", z9, [
8949
+ p.isPrivate || p.important ? (c(), m("div", F9, [
8952
8950
  p.isPrivate ? (c(), N(ve, {
8953
8951
  key: 0,
8954
8952
  name: "Lock",
@@ -8962,14 +8960,14 @@ const q9 = { class: "ao-card-feed__header" }, z9 = {
8962
8960
  size: "sm"
8963
8961
  })) : M("", !0)
8964
8962
  ])) : M("", !0),
8965
- p.$slots.secondary ? (c(), m("div", W9, [
8963
+ p.$slots.secondary ? (c(), m("div", q9, [
8966
8964
  X(p.$slots, "secondary")
8967
8965
  ])) : M("", !0)
8968
8966
  ])
8969
8967
  ]),
8970
- default: j(() => [
8971
- v("div", Y9, [
8972
- s.value ? (c(), m("span", K9, U(s.value), 1)) : M("", !0),
8968
+ default: U(() => [
8969
+ v("div", z9, [
8970
+ s.value ? (c(), m("span", W9, q(s.value), 1)) : M("", !0),
8973
8971
  E(me, {
8974
8972
  id: p.id,
8975
8973
  title: p.name,
@@ -8977,17 +8975,17 @@ const q9 = { class: "ao-card-feed__header" }, z9 = {
8977
8975
  "is-editable": p.isEditable,
8978
8976
  "onUpdate:title": n
8979
8977
  }, null, 8, ["id", "title", "is-editable"]),
8980
- p.deadline ? (c(), m("span", G9, U(i.value), 1)) : M("", !0)
8978
+ p.deadline ? (c(), m("span", Y9, q(i.value), 1)) : M("", !0)
8981
8979
  ])
8982
8980
  ]),
8983
- footer: j(() => [
8984
- v("div", X9, [
8985
- v("div", x9, [
8986
- v("ul", Q9, [
8981
+ footer: U(() => [
8982
+ v("div", K9, [
8983
+ v("div", G9, [
8984
+ v("ul", X9, [
8987
8985
  (c(!0), m(fe, null, ye(o.value, (y) => (c(), m(fe, {
8988
8986
  key: y.id
8989
8987
  }, [
8990
- y ? (c(), m("li", J9, [
8988
+ y ? (c(), m("li", x9, [
8991
8989
  E(yt, {
8992
8990
  "user-name": l(y),
8993
8991
  "avatar-url": y.avatarUrl,
@@ -8997,31 +8995,31 @@ const q9 = { class: "ao-card-feed__header" }, z9 = {
8997
8995
  ])) : M("", !0)
8998
8996
  ], 64))), 128))
8999
8997
  ]),
9000
- p.comments || p.attachments ? (c(), m("ul", e4, [
9001
- p.comments ? (c(), m("li", t4, [
8998
+ p.comments || p.attachments ? (c(), m("ul", Q9, [
8999
+ p.comments ? (c(), m("li", J9, [
9002
9000
  E(ve, {
9003
9001
  name: "ChatOutline",
9004
9002
  size: "sm"
9005
9003
  }),
9006
- v("span", a4, U(p.comments), 1)
9004
+ v("span", e4, q(p.comments), 1)
9007
9005
  ])) : M("", !0),
9008
- p.attachments ? (c(), m("li", s4, [
9006
+ p.attachments ? (c(), m("li", t4, [
9009
9007
  E(ve, {
9010
9008
  name: "AttachFileRounded",
9011
9009
  size: "sm"
9012
9010
  }),
9013
- v("span", n4, U(p.attachments), 1)
9011
+ v("span", a4, q(p.attachments), 1)
9014
9012
  ])) : M("", !0)
9015
9013
  ])) : M("", !0)
9016
9014
  ]),
9017
- v("div", i4, [
9018
- p.tasks && p.tasks.length ? (c(), m("div", o4, [
9019
- v("div", l4, [
9015
+ v("div", s4, [
9016
+ p.tasks && p.tasks.length ? (c(), m("div", n4, [
9017
+ v("div", i4, [
9020
9018
  E(ve, {
9021
9019
  name: "SelectCheckBox",
9022
9020
  size: "sm"
9023
9021
  }),
9024
- v("span", r4, U(d.value) + " / " + U(r.value), 1)
9022
+ v("span", o4, q(d.value) + " / " + q(r.value), 1)
9025
9023
  ]),
9026
9024
  E(F1, {
9027
9025
  percentages: f.value,
@@ -9035,7 +9033,7 @@ const q9 = { class: "ao-card-feed__header" }, z9 = {
9035
9033
  }));
9036
9034
  }
9037
9035
  });
9038
- const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-milestone__header" }, c4 = { class: "ao-project-milestone__header_line" }, v4 = { class: "ao-project-milestone__title" }, f4 = { key: 0 }, p4 = { class: "ao-field ao-field__inline" }, h4 = { class: "ao-field__label" }, m4 = { class: "ao-project-milestone__body" }, C4 = {
9036
+ const l4 = { class: "ao-project-milestone" }, r4 = { class: "ao-project-milestone__header" }, u4 = { class: "ao-project-milestone__header_line" }, d4 = { class: "ao-project-milestone__title" }, c4 = { key: 0 }, v4 = { class: "ao-field ao-field__inline" }, f4 = { class: "ao-field__label" }, p4 = { class: "ao-project-milestone__body" }, h4 = {
9039
9037
  key: 0,
9040
9038
  class: "ao-project-milestone__footer"
9041
9039
  }, ca = /* @__PURE__ */ K({
@@ -9094,17 +9092,17 @@ const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-mileston
9094
9092
  set: (h) => {
9095
9093
  i.value && e("updateMilestone", {
9096
9094
  id: i.value.id,
9097
- deadline: h
9095
+ deadline: h != null && h.length ? h : null
9098
9096
  });
9099
9097
  }
9100
9098
  });
9101
9099
  return (h, y) => {
9102
9100
  var S;
9103
- return c(), m("div", u4, [
9104
- v("header", d4, [
9105
- v("div", c4, [
9106
- v("div", v4, [
9107
- v("span", null, U(h.$t("project.milestone.title")), 1),
9101
+ return c(), m("div", l4, [
9102
+ v("header", r4, [
9103
+ v("div", u4, [
9104
+ v("div", d4, [
9105
+ v("span", null, q(h.$t("project.milestone.title")), 1),
9108
9106
  E(me, {
9109
9107
  title: ((S = i.value) == null ? void 0 : S.name) || h.milestoneId,
9110
9108
  level: 5
@@ -9116,9 +9114,9 @@ const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-mileston
9116
9114
  onClick: u
9117
9115
  })
9118
9116
  ]),
9119
- i.value ? (c(), m("div", f4, [
9120
- v("label", p4, [
9121
- v("span", h4, U(h.$t("activity.deadline.label")), 1),
9117
+ i.value ? (c(), m("div", c4, [
9118
+ v("label", v4, [
9119
+ v("span", f4, q(h.$t("activity.deadline.label")), 1),
9122
9120
  Ue(v("input", {
9123
9121
  "onUpdate:modelValue": y[0] || (y[0] = (_) => p.value = _),
9124
9122
  class: "ao-field__input",
@@ -9134,7 +9132,7 @@ const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-mileston
9134
9132
  ])
9135
9133
  ])) : M("", !0)
9136
9134
  ]),
9137
- v("div", m4, [
9135
+ v("div", p4, [
9138
9136
  E(W(Je), Ee({
9139
9137
  class: "ao-project-milestone__activities",
9140
9138
  list: l.value,
@@ -9142,8 +9140,8 @@ const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-mileston
9142
9140
  "item-key": "id",
9143
9141
  group: "kanban"
9144
9142
  }, h.$attrs, { onChange: f }), {
9145
- item: j(({ element: _ }) => {
9146
- var k, b, L, Z;
9143
+ item: U(({ element: _ }) => {
9144
+ var k, b, L, j;
9147
9145
  return [
9148
9146
  E(ja, {
9149
9147
  id: _.id,
@@ -9155,7 +9153,7 @@ const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-mileston
9155
9153
  users: h.users,
9156
9154
  assignee: _.assignee,
9157
9155
  comments: (L = _.comments) == null ? void 0 : L.length,
9158
- attachments: (Z = _.attachments) == null ? void 0 : Z.length,
9156
+ attachments: (j = _.attachments) == null ? void 0 : j.length,
9159
9157
  tasks: _.tasks,
9160
9158
  "is-editable": h.isEditable,
9161
9159
  "is-private": _.private,
@@ -9168,7 +9166,7 @@ const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-mileston
9168
9166
  }, i1({ _: 2 }, [
9169
9167
  h.isEditable ? {
9170
9168
  name: "secondary",
9171
- fn: j(() => [
9169
+ fn: U(() => [
9172
9170
  h.isEditable && _.active ? (c(), N(le, {
9173
9171
  key: 0,
9174
9172
  color: "primary",
@@ -9199,7 +9197,7 @@ const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-mileston
9199
9197
  }),
9200
9198
  _: 1
9201
9199
  }, 16, ["list", "disabled"]),
9202
- h.isEditable ? (c(), m("div", C4, [
9200
+ h.isEditable ? (c(), m("div", h4, [
9203
9201
  E(et, {
9204
9202
  "icon-name": "Add",
9205
9203
  label: h.$t("project.activity.add"),
@@ -9211,7 +9209,7 @@ const u4 = { class: "ao-project-milestone" }, d4 = { class: "ao-project-mileston
9211
9209
  };
9212
9210
  }
9213
9211
  });
9214
- const _4 = /* @__PURE__ */ K({
9212
+ const m4 = /* @__PURE__ */ K({
9215
9213
  __name: "AoProjectOverviewActivityDetails",
9216
9214
  props: {
9217
9215
  phaseId: {},
@@ -9288,21 +9286,21 @@ const _4 = /* @__PURE__ */ K({
9288
9286
  onUpdateComment: y,
9289
9287
  onRemoveComment: S
9290
9288
  }, {
9291
- default: j((Z) => [
9292
- X(_.$slots, "default", Pt(Bt(Z)))
9289
+ default: U((j) => [
9290
+ X(_.$slots, "default", Pt(Bt(j)))
9293
9291
  ]),
9294
9292
  _: 3
9295
9293
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : M("", !0);
9296
9294
  };
9297
9295
  }
9298
- }), g4 = { class: "ao-col-header" }, y4 = /* @__PURE__ */ K({
9296
+ }), C4 = { class: "ao-col-header" }, _4 = /* @__PURE__ */ K({
9299
9297
  __name: "AoColHeader",
9300
9298
  props: {
9301
9299
  title: {},
9302
9300
  items: {}
9303
9301
  },
9304
9302
  setup(a) {
9305
- return (e, t) => (c(), m("header", g4, [
9303
+ return (e, t) => (c(), m("header", C4, [
9306
9304
  E(me, {
9307
9305
  title: e.title,
9308
9306
  class: "ao-col-header__title",
@@ -9318,15 +9316,15 @@ const _4 = /* @__PURE__ */ K({
9318
9316
  ]));
9319
9317
  }
9320
9318
  });
9321
- function b4(a) {
9319
+ function g4(a) {
9322
9320
  return ms() ? (Cs(a), !0) : !1;
9323
9321
  }
9324
9322
  function s1(a) {
9325
9323
  return typeof a == "function" ? a() : W(a);
9326
9324
  }
9327
- const w4 = typeof window < "u", $4 = (a) => a != null, Et = () => {
9325
+ const y4 = typeof window < "u", b4 = (a) => a != null, Et = () => {
9328
9326
  };
9329
- function k4(a, e) {
9327
+ function w4(a, e) {
9330
9328
  function t(...n) {
9331
9329
  return new Promise((s, o) => {
9332
9330
  Promise.resolve(a(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
@@ -9334,7 +9332,7 @@ function k4(a, e) {
9334
9332
  }
9335
9333
  return t;
9336
9334
  }
9337
- function M4(a, e = {}) {
9335
+ function $4(a, e = {}) {
9338
9336
  let t, n, s = Et;
9339
9337
  const o = (l) => {
9340
9338
  clearTimeout(l), s(), s = Et;
@@ -9350,9 +9348,9 @@ function M4(a, e = {}) {
9350
9348
  });
9351
9349
  };
9352
9350
  }
9353
- function A4(a, e = 200, t = {}) {
9354
- return k4(
9355
- M4(e, t),
9351
+ function k4(a, e = 200, t = {}) {
9352
+ return w4(
9353
+ $4(e, t),
9356
9354
  a
9357
9355
  );
9358
9356
  }
@@ -9361,27 +9359,27 @@ function S1(a) {
9361
9359
  const t = s1(a);
9362
9360
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
9363
9361
  }
9364
- const T4 = w4 ? window : void 0;
9365
- function S4() {
9362
+ const M4 = y4 ? window : void 0;
9363
+ function A4() {
9366
9364
  const a = x(!1);
9367
9365
  return nt() && Ht(() => {
9368
9366
  a.value = !0;
9369
9367
  }), a;
9370
9368
  }
9371
- function E4(a) {
9372
- const e = S4();
9369
+ function T4(a) {
9370
+ const e = A4();
9373
9371
  return w(() => (e.value, !!a()));
9374
9372
  }
9375
- function I4(a, e, t = {}) {
9373
+ function S4(a, e, t = {}) {
9376
9374
  const {
9377
9375
  root: n,
9378
9376
  rootMargin: s = "0px",
9379
9377
  threshold: o = 0.1,
9380
- window: i = T4,
9378
+ window: i = M4,
9381
9379
  immediate: l = !0
9382
- } = t, u = E4(() => i && "IntersectionObserver" in i), r = w(() => {
9380
+ } = t, u = T4(() => i && "IntersectionObserver" in i), r = w(() => {
9383
9381
  const y = s1(a);
9384
- return (Array.isArray(y) ? y : [y]).map(S1).filter($4);
9382
+ return (Array.isArray(y) ? y : [y]).map(S1).filter(b4);
9385
9383
  });
9386
9384
  let d = Et;
9387
9385
  const f = x(l), p = u.value ? de(
@@ -9405,7 +9403,7 @@ function I4(a, e, t = {}) {
9405
9403
  ) : Et, h = () => {
9406
9404
  d(), p(), f.value = !1;
9407
9405
  };
9408
- return b4(h), {
9406
+ return g4(h), {
9409
9407
  isSupported: u,
9410
9408
  isActive: f,
9411
9409
  pause() {
@@ -9417,24 +9415,24 @@ function I4(a, e, t = {}) {
9417
9415
  stop: h
9418
9416
  };
9419
9417
  }
9420
- const O4 = {
9418
+ const E4 = {
9421
9419
  class: /* @__PURE__ */ G(["ao-list-kanban"])
9422
- }, L4 = { class: "ao-list-kanban__header" }, V4 = {
9420
+ }, I4 = { class: "ao-list-kanban__header" }, O4 = {
9423
9421
  key: 0,
9424
9422
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
9425
- }, D4 = {
9423
+ }, L4 = {
9426
9424
  key: 1,
9427
9425
  class: "ao-list-kanban__end"
9428
- }, H4 = {
9426
+ }, V4 = {
9429
9427
  key: 0,
9430
9428
  class: "ao-list-kanban__no-more"
9431
- }, P4 = {
9429
+ }, D4 = {
9432
9430
  key: 1,
9433
9431
  class: "ao-list-kanban__divider"
9434
- }, B4 = {
9432
+ }, H4 = {
9435
9433
  key: 1,
9436
9434
  class: "ao-list-kanban__footer"
9437
- }, N4 = /* @__PURE__ */ K({
9435
+ }, P4 = /* @__PURE__ */ K({
9438
9436
  __name: "AoListKanban",
9439
9437
  props: {
9440
9438
  list: {},
@@ -9450,7 +9448,7 @@ const O4 = {
9450
9448
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
9451
9449
  setup(a, { emit: e }) {
9452
9450
  const t = a, n = x(!1), s = x(null);
9453
- I4(s, ([{ isIntersecting: r }]) => {
9451
+ S4(s, ([{ isIntersecting: r }]) => {
9454
9452
  n.value = r;
9455
9453
  }), de(n, (r) => {
9456
9454
  r && t.hasMore && !t.isLoading && e("loadMore");
@@ -9472,12 +9470,12 @@ const O4 = {
9472
9470
  )
9473
9471
  });
9474
9472
  }, u = x(!1);
9475
- return (r, d) => (c(), m("div", O4, [
9473
+ return (r, d) => (c(), m("div", E4, [
9476
9474
  r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
9477
9475
  var f;
9478
9476
  return [
9479
- v("div", L4, [
9480
- r.title ? (c(), N(y4, {
9477
+ v("div", I4, [
9478
+ r.title ? (c(), N(_4, {
9481
9479
  key: 0,
9482
9480
  title: r.title,
9483
9481
  level: 3,
@@ -9503,7 +9501,7 @@ const O4 = {
9503
9501
  name: "ao-list-kanban__transition"
9504
9502
  }
9505
9503
  }), {
9506
- item: j(({ element: f }) => {
9504
+ item: U(({ element: f }) => {
9507
9505
  var p, h, y, S, _, k, b, L;
9508
9506
  return [
9509
9507
  E(ja, {
@@ -9526,13 +9524,13 @@ const O4 = {
9526
9524
  "is-editable": r.isEditable,
9527
9525
  "is-private": f.private,
9528
9526
  onUpdateActivity: [
9529
- d[0] || (d[0] = (Z) => r.isEditable && i(Z)),
9530
- d[1] || (d[1] = (Z) => r.isEditable && i)
9527
+ d[0] || (d[0] = (j) => r.isEditable && i(j)),
9528
+ d[1] || (d[1] = (j) => r.isEditable && i)
9531
9529
  ],
9532
9530
  onClick: () => o(f.id),
9533
9531
  onRemoveAssignee: () => r.isEditable && i({ id: f.id, assigneeId: null })
9534
9532
  }, {
9535
- secondary: j(() => [
9533
+ secondary: U(() => [
9536
9534
  r.isEditable && f.active ? (c(), N(le, {
9537
9535
  key: 0,
9538
9536
  color: "primary",
@@ -9560,21 +9558,21 @@ const O4 = {
9560
9558
  }, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "onClick", "onRemoveAssignee"])
9561
9559
  ];
9562
9560
  }),
9563
- footer: j(() => [
9564
- r.isLoading ? (c(), m("div", V4, [
9561
+ footer: U(() => [
9562
+ r.isLoading ? (c(), m("div", O4, [
9565
9563
  E(ve, { name: "Loading" })
9566
9564
  ])) : r.hasMore ? (c(), m("div", {
9567
9565
  key: 2,
9568
9566
  ref_key: "scrollEnd",
9569
9567
  ref: s,
9570
9568
  class: "ao-list-kanban__end"
9571
- }, null, 512)) : (c(), m("div", D4, [
9572
- r.noMoreLabel ? (c(), m("span", H4, U(r.noMoreLabel), 1)) : r.isEditable ? (c(), m("span", P4)) : M("", !0)
9569
+ }, null, 512)) : (c(), m("div", L4, [
9570
+ r.noMoreLabel ? (c(), m("span", V4, q(r.noMoreLabel), 1)) : r.isEditable ? (c(), m("span", D4)) : M("", !0)
9573
9571
  ]))
9574
9572
  ]),
9575
9573
  _: 1
9576
9574
  }, 16, ["class", "list", "disabled"]),
9577
- r.$slots.footer || r.footerLabel ? (c(), m("div", B4, [
9575
+ r.$slots.footer || r.footerLabel ? (c(), m("div", H4, [
9578
9576
  X(r.$slots, "footer", {}, () => [
9579
9577
  r.isEditable ? (c(), N(et, {
9580
9578
  key: 0,
@@ -9587,7 +9585,7 @@ const O4 = {
9587
9585
  ]));
9588
9586
  }
9589
9587
  });
9590
- const R4 = { class: "ao-field ao-search-field" }, U4 = ["value", "placeholder", "onKeypress"], j4 = /* @__PURE__ */ K({
9588
+ const B4 = { class: "ao-field ao-search-field" }, N4 = ["value", "placeholder", "onKeypress"], R4 = /* @__PURE__ */ K({
9591
9589
  __name: "AoSearchField",
9592
9590
  props: {
9593
9591
  modelValue: {},
@@ -9599,10 +9597,10 @@ const R4 = { class: "ao-field ao-search-field" }, U4 = ["value", "placeholder",
9599
9597
  const t = a, n = async (i) => {
9600
9598
  const u = i.target.value;
9601
9599
  e("update:modelValue", u, i);
9602
- }, s = A4(n, t.delay), o = (i) => {
9600
+ }, s = k4(n, t.delay), o = (i) => {
9603
9601
  e("clear", i);
9604
9602
  };
9605
- return (i, l) => (c(), m("div", R4, [
9603
+ return (i, l) => (c(), m("div", B4, [
9606
9604
  v("input", {
9607
9605
  value: i.modelValue,
9608
9606
  type: "text",
@@ -9611,7 +9609,7 @@ const R4 = { class: "ao-field ao-search-field" }, U4 = ["value", "placeholder",
9611
9609
  onInput: l[0] || (l[0] = //@ts-ignore
9612
9610
  (...u) => W(s) && W(s)(...u)),
9613
9611
  onKeypress: Ke(n, ["enter"])
9614
- }, null, 40, U4),
9612
+ }, null, 40, N4),
9615
9613
  E(ve, {
9616
9614
  name: "SearchRounded",
9617
9615
  class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
@@ -9627,7 +9625,7 @@ const R4 = { class: "ao-field ao-search-field" }, U4 = ["value", "placeholder",
9627
9625
  ]));
9628
9626
  }
9629
9627
  });
9630
- function Z4(a) {
9628
+ function U4(a) {
9631
9629
  const e = x(), t = w(
9632
9630
  () => a.value.find(
9633
9631
  (s) => s.id === e.value
@@ -9641,21 +9639,21 @@ function Z4(a) {
9641
9639
  }
9642
9640
  };
9643
9641
  }
9644
- const F4 = Symbol.for("FeedStore");
9645
- function q4(a) {
9646
- const e = Z4(a);
9647
- return _s(F4, e), e;
9642
+ const j4 = Symbol.for("FeedStore");
9643
+ function Z4(a) {
9644
+ const e = U4(a);
9645
+ return _s(j4, e), e;
9648
9646
  }
9649
- const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { class: "ao-feed__body" }, K4 = { class: "ao-feed__activity-details__header" }, G4 = {
9647
+ const F4 = { class: "ao-feed" }, q4 = { class: "ao-feed__filters" }, z4 = { class: "ao-feed__body" }, W4 = { class: "ao-feed__activity-details__header" }, Y4 = {
9650
9648
  key: 0,
9651
9649
  class: "ao-field ao-feed__activity-details__project"
9652
- }, X4 = { class: "ao-field__label" }, x4 = {
9650
+ }, K4 = { class: "ao-field__label" }, G4 = {
9653
9651
  key: 1,
9654
9652
  class: "ao-field ao-feed__activity-details__project"
9655
- }, Q4 = { class: "ao-field__label" }, J4 = {
9653
+ }, X4 = { class: "ao-field__label" }, x4 = {
9656
9654
  key: 2,
9657
9655
  class: "ao-field ao-feed__activity-details__status"
9658
- }, e8 = { class: "ao-field__label" }, t8 = { class: "ao-field__row" }, a8 = { class: "ao-field" }, s8 = { class: "ao-field__label" }, n8 = /* @__PURE__ */ K({
9656
+ }, Q4 = { class: "ao-field__label" }, J4 = { class: "ao-field__row" }, e8 = { class: "ao-field" }, t8 = { class: "ao-field__label" }, a8 = /* @__PURE__ */ K({
9659
9657
  __name: "AoFeed",
9660
9658
  props: {
9661
9659
  activities: {},
@@ -9675,7 +9673,7 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9675
9673
  },
9676
9674
  emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
9677
9675
  setup(a, { emit: e }) {
9678
- const t = a, { t: n } = it(), s = pt(t, "activities"), { selectActivity: o, selectedActivity: i } = q4(s), l = async ($) => {
9676
+ const t = a, { t: n } = it(), s = pt(t, "activities"), { selectActivity: o, selectedActivity: i } = Z4(s), l = async ($) => {
9679
9677
  o($), await e("selectActivity", $);
9680
9678
  }, u = x({}), r = x(!1), d = x(!1);
9681
9679
  de(
@@ -9726,7 +9724,7 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9726
9724
  i.value && e("update:activity", $);
9727
9725
  }, L = ($) => {
9728
9726
  e("update:activity", $);
9729
- }, Z = ($) => {
9727
+ }, j = ($) => {
9730
9728
  e("archiveActivity", $);
9731
9729
  }, Y = ($) => {
9732
9730
  e("unarchiveActivity", $);
@@ -9769,7 +9767,7 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9769
9767
  }, A = w(() => y.value.map(($) => ({
9770
9768
  value: $.id,
9771
9769
  label: $.name
9772
- }))), F = w(() => {
9770
+ }))), Z = w(() => {
9773
9771
  var R, z, T;
9774
9772
  const $ = (T = (z = (R = i.value) == null ? void 0 : R.project) == null ? void 0 : z.phases) == null ? void 0 : T.reduce(
9775
9773
  (B, ue) => [...B, ...ue.milestones],
@@ -9779,7 +9777,7 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9779
9777
  value: B.id,
9780
9778
  label: B.name
9781
9779
  }));
9782
- }), q = ($) => {
9780
+ }), F = ($) => {
9783
9781
  i.value && e("update:activity", {
9784
9782
  id: i.value.id,
9785
9783
  projectId: $
@@ -9803,10 +9801,10 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9803
9801
  };
9804
9802
  return ($, R) => {
9805
9803
  var z;
9806
- return c(), m("div", z4, [
9804
+ return c(), m("div", F4, [
9807
9805
  E(v1, null, {
9808
- primary: j(() => [
9809
- v("div", W4, [
9806
+ primary: U(() => [
9807
+ v("div", q4, [
9810
9808
  t.project ? (c(), N(Ua, {
9811
9809
  key: 0,
9812
9810
  "is-left": !1,
@@ -9816,7 +9814,7 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9816
9814
  T && $.$router.push({ name: W(He).project });
9817
9815
  })
9818
9816
  }, null, 8, ["right-label", "left-label"])) : M("", !0),
9819
- E(j4, {
9817
+ E(R4, {
9820
9818
  "model-value": $.searchText,
9821
9819
  placeholder: $.$t("feed.search.placeholder"),
9822
9820
  class: "ao-feed__search",
@@ -9855,7 +9853,7 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9855
9853
  placeholder: $.$t("feed.filters.assignee.placeholder"),
9856
9854
  "onUpdate:modelValue": R[3] || (R[3] = (T) => h(W(ct).assignee, T))
9857
9855
  }, {
9858
- tag: j(({
9856
+ tag: U(({
9859
9857
  option: T,
9860
9858
  handleTagRemove: B
9861
9859
  }) => [
@@ -9896,8 +9894,8 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9896
9894
  ]),
9897
9895
  _: 1
9898
9896
  }),
9899
- v("div", Y4, [
9900
- (c(!0), m(fe, null, ye($.statuses, (T) => (c(), N(N4, {
9897
+ v("div", z4, [
9898
+ (c(!0), m(fe, null, ye($.statuses, (T) => (c(), N(P4, {
9901
9899
  key: T.id,
9902
9900
  status: T,
9903
9901
  list: u.value[T.id],
@@ -9907,7 +9905,7 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9907
9905
  "is-editable": $.isEditable,
9908
9906
  onAdd: () => p(T),
9909
9907
  onSelectActivity: l,
9910
- onArchiveActivity: Z,
9908
+ onArchiveActivity: j,
9911
9909
  onUnarchiveActivity: Y,
9912
9910
  onUpdateActivity: L
9913
9911
  }, null, 8, ["status", "list", "title", "footer-label", "users", "is-editable", "onAdd"]))), 128))
@@ -9936,25 +9934,25 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9936
9934
  onUpdateComment: ae,
9937
9935
  onRemoveComment: ce
9938
9936
  }, {
9939
- header: j(() => {
9937
+ header: U(() => {
9940
9938
  var T, B, ue;
9941
9939
  return [
9942
- v("div", K4, [
9943
- A.value && !t.project ? (c(), m("label", G4, [
9944
- v("span", X4, U($.$t("activity.project.label")), 1),
9940
+ v("div", W4, [
9941
+ A.value && !t.project ? (c(), m("label", Y4, [
9942
+ v("span", K4, q($.$t("activity.project.label")), 1),
9945
9943
  E(we, {
9946
9944
  options: A.value,
9947
9945
  value: (T = W(i).project) == null ? void 0 : T.id,
9948
9946
  searchable: !0,
9949
9947
  disabled: !$.isEditable,
9950
9948
  caret: $.isEditable,
9951
- onChange: q
9949
+ onChange: F
9952
9950
  }, null, 8, ["options", "value", "disabled", "caret"])
9953
9951
  ])) : M("", !0),
9954
- F.value ? (c(), m("label", x4, [
9955
- v("span", Q4, U($.$t("activity.milestone.label")), 1),
9952
+ Z.value ? (c(), m("label", G4, [
9953
+ v("span", X4, q($.$t("activity.milestone.label")), 1),
9956
9954
  E(we, {
9957
- options: F.value,
9955
+ options: Z.value,
9958
9956
  value: (B = W(i).milestone) == null ? void 0 : B.id,
9959
9957
  searchable: !0,
9960
9958
  disabled: !$.isEditable,
@@ -9962,8 +9960,8 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9962
9960
  onChange: se
9963
9961
  }, null, 8, ["options", "value", "disabled", "caret"])
9964
9962
  ])) : M("", !0),
9965
- ie.value ? (c(), m("label", J4, [
9966
- v("span", e8, U($.$t("activity.status.label")), 1),
9963
+ ie.value ? (c(), m("label", x4, [
9964
+ v("span", Q4, q($.$t("activity.status.label")), 1),
9967
9965
  E(we, {
9968
9966
  options: ie.value,
9969
9967
  value: (ue = W(i).status) == null ? void 0 : ue.id,
@@ -9977,10 +9975,10 @@ const z4 = { class: "ao-feed" }, W4 = { class: "ao-feed__filters" }, Y4 = { clas
9977
9975
  ])
9978
9976
  ];
9979
9977
  }),
9980
- default: j((T) => [
9981
- v("div", t8, [
9982
- v("label", a8, [
9983
- v("span", s8, U($.$t("activity.deadline.label")), 1),
9978
+ default: U((T) => [
9979
+ v("div", J4, [
9980
+ v("label", e8, [
9981
+ v("span", t8, q($.$t("activity.deadline.label")), 1),
9984
9982
  Ue(v("input", {
9985
9983
  "onUpdate:modelValue": R[6] || (R[6] = (B) => V.value = B),
9986
9984
  class: "ao-field__input",
@@ -10008,7 +10006,7 @@ const ft = {
10008
10006
  TEMPLATES: "templates",
10009
10007
  TEMPLATE_DETAILS: "template_details",
10010
10008
  TEMPLATES_LIST: "templates_list"
10011
- }, b8 = (a, e = {}) => [
10009
+ }, g8 = (a, e = {}) => [
10012
10010
  {
10013
10011
  path: a,
10014
10012
  name: ft.TEMPLATES,
@@ -10018,7 +10016,7 @@ const ft = {
10018
10016
  {
10019
10017
  path: "",
10020
10018
  name: ft.TEMPLATES_LIST,
10021
- component: o8
10019
+ component: n8
10022
10020
  },
10023
10021
  {
10024
10022
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
@@ -10033,7 +10031,7 @@ const ft = {
10033
10031
  feed: "AoProjectFeed",
10034
10032
  milestone: "AoMilestone",
10035
10033
  activity: "AoActivity"
10036
- }, w8 = (a, e = {}) => [
10034
+ }, y8 = (a, e = {}) => [
10037
10035
  {
10038
10036
  path: a,
10039
10037
  ...e,
@@ -10042,7 +10040,7 @@ const ft = {
10042
10040
  {
10043
10041
  path: "",
10044
10042
  name: He.project,
10045
- component: F9,
10043
+ component: j9,
10046
10044
  props: !0,
10047
10045
  children: [
10048
10046
  {
@@ -10057,7 +10055,7 @@ const ft = {
10057
10055
  props: { default: !0, modal: !0 },
10058
10056
  components: {
10059
10057
  default: ca,
10060
- modal: _4
10058
+ modal: m4
10061
10059
  }
10062
10060
  }
10063
10061
  ]
@@ -10065,12 +10063,12 @@ const ft = {
10065
10063
  {
10066
10064
  path: "feed",
10067
10065
  name: He.feed,
10068
- component: n8,
10066
+ component: a8,
10069
10067
  props: !0
10070
10068
  }
10071
10069
  ]
10072
10070
  }
10073
- ], i8 = { class: "ao-templates" }, o8 = /* @__PURE__ */ K({
10071
+ ], s8 = { class: "ao-templates" }, n8 = /* @__PURE__ */ K({
10074
10072
  __name: "AoTemplatesList",
10075
10073
  props: {
10076
10074
  templates: {}
@@ -10110,9 +10108,9 @@ const ft = {
10110
10108
  });
10111
10109
  }
10112
10110
  };
10113
- return (l, u) => (c(), m("div", i8, [
10111
+ return (l, u) => (c(), m("div", s8, [
10114
10112
  E(v1, null, {
10115
- secondary: j(() => [
10113
+ secondary: U(() => [
10116
10114
  E(le, {
10117
10115
  label: l.$t("templates.new"),
10118
10116
  color: "primary",
@@ -10130,7 +10128,7 @@ const ft = {
10130
10128
  handle: ".ao-card__drag",
10131
10129
  onChange: i
10132
10130
  }, {
10133
- item: j(({ element: r }) => {
10131
+ item: U(({ element: r }) => {
10134
10132
  var d;
10135
10133
  return [
10136
10134
  E(P0, {
@@ -10154,7 +10152,7 @@ const ft = {
10154
10152
  ]));
10155
10153
  }
10156
10154
  });
10157
- const l8 = { class: "ao-field__label" }, r8 = /* @__PURE__ */ K({
10155
+ const i8 = { class: "ao-field__label" }, o8 = /* @__PURE__ */ K({
10158
10156
  __name: "AoField",
10159
10157
  props: {
10160
10158
  label: {},
@@ -10164,11 +10162,11 @@ const l8 = { class: "ao-field__label" }, r8 = /* @__PURE__ */ K({
10164
10162
  return (e, t) => (c(), m("label", {
10165
10163
  class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
10166
10164
  }, [
10167
- v("span", l8, U(e.label), 1),
10165
+ v("span", i8, q(e.label), 1),
10168
10166
  X(e.$slots, "default")
10169
10167
  ], 2));
10170
10168
  }
10171
- }), u8 = ["type", "value", "disabled", "readonly"], $8 = /* @__PURE__ */ K({
10169
+ }), l8 = ["type", "value", "disabled", "readonly"], b8 = /* @__PURE__ */ K({
10172
10170
  __name: "AoInputField",
10173
10171
  props: {
10174
10172
  label: { default: "" },
@@ -10185,8 +10183,8 @@ const l8 = { class: "ao-field__label" }, r8 = /* @__PURE__ */ K({
10185
10183
  ), s = (o) => {
10186
10184
  t.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
10187
10185
  };
10188
- return (o, i) => (c(), N(r8, { label: o.label }, {
10189
- default: j(() => [
10186
+ return (o, i) => (c(), N(o8, { label: o.label }, {
10187
+ default: U(() => [
10190
10188
  v("input", Ee({
10191
10189
  class: "ao-field__input",
10192
10190
  type: o.type,
@@ -10195,12 +10193,12 @@ const l8 = { class: "ao-field__label" }, r8 = /* @__PURE__ */ K({
10195
10193
  readonly: o.isReadonly
10196
10194
  }, {
10197
10195
  [gs(n.value)]: i[0] || (i[0] = (l) => s(l.target.value))
10198
- }), null, 16, u8)
10196
+ }), null, 16, l8)
10199
10197
  ]),
10200
10198
  _: 1
10201
10199
  }, 8, ["label"]));
10202
10200
  }
10203
- }), d8 = { class: "ao-field" }, c8 = { class: "ao-field__label" }, v8 = ["checked", "disabled"], k8 = /* @__PURE__ */ K({
10201
+ }), r8 = { class: "ao-field" }, u8 = { class: "ao-field__label" }, d8 = ["checked", "disabled"], w8 = /* @__PURE__ */ K({
10204
10202
  __name: "AoCheckboxField",
10205
10203
  props: {
10206
10204
  label: { default: "" },
@@ -10210,8 +10208,8 @@ const l8 = { class: "ao-field__label" }, r8 = /* @__PURE__ */ K({
10210
10208
  },
10211
10209
  emits: ["update:modelValue"],
10212
10210
  setup(a) {
10213
- return (e, t) => (c(), m("label", d8, [
10214
- v("span", c8, U(e.label), 1),
10211
+ return (e, t) => (c(), m("label", r8, [
10212
+ v("span", u8, q(e.label), 1),
10215
10213
  v("input", {
10216
10214
  class: "ao-field__input",
10217
10215
  type: "checkbox",
@@ -10224,27 +10222,27 @@ const l8 = { class: "ao-field__label" }, r8 = /* @__PURE__ */ K({
10224
10222
  ((s = n.target) == null ? void 0 : s.checked) ?? !1
10225
10223
  );
10226
10224
  })
10227
- }, null, 40, v8)
10225
+ }, null, 40, d8)
10228
10226
  ]));
10229
10227
  }
10230
10228
  });
10231
10229
  export {
10232
10230
  ja as AoCardFeed,
10233
- k8 as AoCheckboxField,
10234
- n8 as AoFeed,
10235
- r8 as AoField,
10236
- $8 as AoInputField,
10231
+ w8 as AoCheckboxField,
10232
+ a8 as AoFeed,
10233
+ o8 as AoField,
10234
+ b8 as AoInputField,
10237
10235
  we as AoMultiselect,
10238
10236
  K7 as AoTemplateDetails,
10239
- C8 as AoTemplates,
10240
- o8 as AoTemplatesList,
10237
+ h8 as AoTemplates,
10238
+ n8 as AoTemplatesList,
10241
10239
  kd as TemplateItemTypeEnum,
10242
- g8 as activityFeedStatus,
10243
- _8 as durationTypes,
10240
+ C8 as activityFeedStatus,
10241
+ m8 as durationTypes,
10244
10242
  ct as feedFilterTypes,
10245
- w8 as getProjectOverviewRoutes,
10246
- b8 as getTemplateRoutes,
10247
- y8 as listUpdateTypes,
10243
+ y8 as getProjectOverviewRoutes,
10244
+ g8 as getTemplateRoutes,
10245
+ _8 as listUpdateTypes,
10248
10246
  E1 as milestoneStatus,
10249
10247
  He as projectOverviewRoutes,
10250
10248
  bd as ruleComparators,