@26lights/orcha 0.29.2 → 0.30.1

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 Y, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as G, renderSlot as x, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as I, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, 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 f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as G, renderSlot as x, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as E, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, 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 Qe from "vuedraggable";
4
- const o8 = /* @__PURE__ */ Y({
4
+ const o8 = /* @__PURE__ */ K({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -614,7 +614,7 @@ const Ul = /* @__PURE__ */ B(Hl, [["render", Rl]]), jl = {}, Zl = {
614
614
  function zl(t, e) {
615
615
  return f(), h("svg", Zl, ql);
616
616
  }
617
- const Wl = /* @__PURE__ */ B(jl, [["render", zl]]), Yl = Y({
617
+ const Wl = /* @__PURE__ */ B(jl, [["render", zl]]), Yl = K({
618
618
  name: "LoadingIcon"
619
619
  });
620
620
  const I1 = (t) => (us("data-v-ad6da4a9"), t = t(), ds(), t), Kl = {
@@ -1146,7 +1146,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1146
1146
  }, va = {
1147
1147
  ROUND: "round",
1148
1148
  ROUNDED: "rounded"
1149
- }, ce = /* @__PURE__ */ Y({
1149
+ }, fe = /* @__PURE__ */ K({
1150
1150
  __name: "AoIcon",
1151
1151
  props: {
1152
1152
  name: {},
@@ -1162,7 +1162,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1162
1162
  const dd = ["type"], cd = {
1163
1163
  key: 0,
1164
1164
  class: "ao-button__label"
1165
- }, fe = /* @__PURE__ */ Y({
1165
+ }, de = /* @__PURE__ */ K({
1166
1166
  __name: "AoButton",
1167
1167
  props: {
1168
1168
  label: { default: () => "" },
@@ -1194,7 +1194,7 @@ const dd = ["type"], cd = {
1194
1194
  x(s.$slots, "default", {}, () => [
1195
1195
  s.label ? (f(), h("span", cd, q(s.label), 1)) : T("", !0)
1196
1196
  ]),
1197
- n.value ? (f(), N(ce, {
1197
+ n.value ? (f(), N(fe, {
1198
1198
  key: 0,
1199
1199
  name: n.value,
1200
1200
  class: "ao-button__icon",
@@ -1232,7 +1232,7 @@ function pa(t) {
1232
1232
  onDiscard: i
1233
1233
  };
1234
1234
  }
1235
- const Ce = /* @__PURE__ */ Y({
1235
+ const Ce = /* @__PURE__ */ K({
1236
1236
  __name: "AoTitle",
1237
1237
  props: {
1238
1238
  id: {},
@@ -1315,7 +1315,7 @@ const fd = {
1315
1315
  }, yd = {
1316
1316
  key: 3,
1317
1317
  class: "ao-card-horiz__secondary"
1318
- }, ha = /* @__PURE__ */ Y({
1318
+ }, ha = /* @__PURE__ */ K({
1319
1319
  __name: "AoCardHoriz",
1320
1320
  props: {
1321
1321
  id: {},
@@ -1337,21 +1337,21 @@ const fd = {
1337
1337
  }, {
1338
1338
  default: U(() => [
1339
1339
  n.isDraggable ? (f(), h("div", fd, [
1340
- I(ce, {
1340
+ E(fe, {
1341
1341
  name: "DragIndicator",
1342
1342
  class: "ao-card-horiz__drag-handle"
1343
1343
  })
1344
1344
  ])) : T("", !0),
1345
1345
  v("div", vd, [
1346
1346
  n.icon ? (f(), h("div", pd, [
1347
- I(ce, {
1347
+ E(fe, {
1348
1348
  class: "ao-card-horiz__icon",
1349
1349
  name: n.icon,
1350
1350
  size: "xl"
1351
1351
  }, null, 8, ["name"])
1352
1352
  ])) : T("", !0),
1353
1353
  v("div", hd, [
1354
- I(Ce, {
1354
+ E(Ce, {
1355
1355
  id: n.id,
1356
1356
  class: "ao-card-horiz__title",
1357
1357
  level: 4,
@@ -1381,7 +1381,7 @@ const fd = {
1381
1381
  }, 8, ["class"]));
1382
1382
  }
1383
1383
  });
1384
- const O1 = /* @__PURE__ */ Y({
1384
+ const O1 = /* @__PURE__ */ K({
1385
1385
  __name: "AoTag",
1386
1386
  props: {
1387
1387
  label: {},
@@ -1419,7 +1419,7 @@ const O1 = /* @__PURE__ */ Y({
1419
1419
  class: "ao-tag__close",
1420
1420
  onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
1421
1421
  }, [
1422
- I(ce, {
1422
+ E(fe, {
1423
1423
  name: "CloseRounded",
1424
1424
  size: "sm",
1425
1425
  class: "ao-tag__close-icon"
@@ -1574,8 +1574,8 @@ function ya(t, e) {
1574
1574
  w.setUTCFullYear(u + 1, 0, m), w.setUTCHours(0, 0, 0, 0);
1575
1575
  var A = Xt(w, e), _ = /* @__PURE__ */ new Date(0);
1576
1576
  _.setUTCFullYear(u, 0, m), _.setUTCHours(0, 0, 0, 0);
1577
- var $ = Xt(_, e);
1578
- return c.getTime() >= A.getTime() ? u + 1 : c.getTime() >= $.getTime() ? u : u - 1;
1577
+ var M = Xt(_, e);
1578
+ return c.getTime() >= A.getTime() ? u + 1 : c.getTime() >= M.getTime() ? u : u - 1;
1579
1579
  }
1580
1580
  function Hd(t, e) {
1581
1581
  var a, n, s, o, i, l, d, r;
@@ -2697,13 +2697,13 @@ 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(t, e, a) {
2700
- var n, s, o, i, l, d, r, c, u, p, m, w, A, _, $, y, L, Z;
2700
+ var n, s, o, i, l, d, r, c, u, p, m, w, A, _, M, y, L, Z;
2701
2701
  ge(2, arguments);
2702
2702
  var W = String(e), V = i1(), X = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (d = a == null ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : a == null || (r = a.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (u = V.locale) === null || u === void 0 || (p = u.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2703
2703
  if (!(te >= 1 && te <= 7))
2704
2704
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2705
- var E = Ke((m = (w = (A = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || ($ = a.locale) === null || $ === void 0 || (y = $.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && A !== void 0 ? A : V.weekStartsOn) !== null && w !== void 0 ? w : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && m !== void 0 ? m : 0);
2706
- if (!(E >= 0 && E <= 6))
2705
+ var I = Ke((m = (w = (A = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || (M = a.locale) === null || M === void 0 || (y = M.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && A !== void 0 ? A : V.weekStartsOn) !== null && w !== void 0 ? w : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && m !== void 0 ? m : 0);
2706
+ if (!(I >= 0 && I <= 6))
2707
2707
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2708
2708
  if (!X.localize)
2709
2709
  throw new RangeError("locale must contain localize property");
@@ -2714,14 +2714,14 @@ function Nc(t, e, a) {
2714
2714
  throw new RangeError("Invalid time value");
2715
2715
  var g = Td(J), S = Ed(J, g), P = {
2716
2716
  firstWeekContainsDate: te,
2717
- weekStartsOn: E,
2717
+ weekStartsOn: I,
2718
2718
  locale: X,
2719
2719
  _originalDate: J
2720
- }, de = W.match(Dc).map(function(se) {
2720
+ }, ce = W.match(Dc).map(function(se) {
2721
2721
  var re = se[0];
2722
2722
  if (re === "p" || re === "P") {
2723
- var M = Fd[re];
2724
- return M(se, X.formatLong);
2723
+ var k = Fd[re];
2724
+ return k(se, X.formatLong);
2725
2725
  }
2726
2726
  return se;
2727
2727
  }).join("").match(Vc).map(function(se) {
@@ -2730,14 +2730,14 @@ function Nc(t, e, a) {
2730
2730
  var re = se[0];
2731
2731
  if (re === "'")
2732
2732
  return Rc(se);
2733
- var M = Ud[re];
2734
- if (M)
2735
- return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)), M(S, se, X.localize, P);
2733
+ var k = Ud[re];
2734
+ if (k)
2735
+ return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)), k(S, se, X.localize, P);
2736
2736
  if (re.match(Bc))
2737
2737
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
2738
2738
  return se;
2739
2739
  }).join("");
2740
- return de;
2740
+ return ce;
2741
2741
  }
2742
2742
  function Rc(t) {
2743
2743
  var e = t.match(Hc);
@@ -3643,7 +3643,7 @@ function v0(t, e) {
3643
3643
  const p0 = ["title"], h0 = {
3644
3644
  key: 0,
3645
3645
  className: "ao-avatar__initials"
3646
- }, m0 = ["src"], gt = /* @__PURE__ */ Y({
3646
+ }, m0 = ["src"], gt = /* @__PURE__ */ K({
3647
3647
  __name: "AoAvatar",
3648
3648
  props: {
3649
3649
  userName: {},
@@ -3667,7 +3667,7 @@ const p0 = ["title"], h0 = {
3667
3667
  className: "ao-avatar__image",
3668
3668
  src: o.avatarUrl
3669
3669
  }, null, 8, m0)) : T("", !0),
3670
- o.isClosable ? (f(), N(fe, {
3670
+ o.isClosable ? (f(), N(de, {
3671
3671
  key: 2,
3672
3672
  "icon-name": "CloseRounded",
3673
3673
  class: "ao-avatar__close",
@@ -3687,7 +3687,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3687
3687
  }, E0 = { class: "ao-card-template__col-title" }, I0 = { class: "ao-card-template__col-label" }, O0 = { class: "ao-card-template__col-body" }, L0 = {
3688
3688
  key: 1,
3689
3689
  class: "ao-card-template__col ao-card-template__col--updated-by"
3690
- }, V0 = { class: "ao-card-template__col-title" }, D0 = { class: "ao-card-template__col-label" }, H0 = { class: "ao-card-template__col-body" }, P0 = /* @__PURE__ */ Y({
3690
+ }, V0 = { class: "ao-card-template__col-title" }, D0 = { class: "ao-card-template__col-label" }, H0 = { class: "ao-card-template__col-body" }, P0 = /* @__PURE__ */ K({
3691
3691
  __name: "AoCardTemplate",
3692
3692
  props: {
3693
3693
  id: {},
@@ -3712,14 +3712,14 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3712
3712
  subtitle: U(() => [
3713
3713
  v("ul", C0, [
3714
3714
  v("li", _0, [
3715
- I(ce, {
3715
+ E(fe, {
3716
3716
  name: "MountainFlagOutlineRounded",
3717
3717
  size: "sm"
3718
3718
  }),
3719
3719
  v("span", g0, q(n.milestones), 1)
3720
3720
  ]),
3721
3721
  v("li", y0, [
3722
- I(ce, {
3722
+ E(fe, {
3723
3723
  name: "TaskOutlineRounded",
3724
3724
  size: "sm"
3725
3725
  }),
@@ -3731,7 +3731,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3731
3731
  v("div", w0, [
3732
3732
  v("div", $0, [
3733
3733
  v("div", M0, [
3734
- I(ce, {
3734
+ E(fe, {
3735
3735
  name: "WaterfallChartRounded",
3736
3736
  size: "sm"
3737
3737
  }),
@@ -3767,7 +3767,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3767
3767
  v("span", D0, q(n.$t("template.updatedBy.label")), 1)
3768
3768
  ]),
3769
3769
  v("div", H0, [
3770
- I(gt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3770
+ E(gt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3771
3771
  ])
3772
3772
  ])) : T("", !0)
3773
3773
  ])
@@ -3780,7 +3780,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3780
3780
  const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R0 = {
3781
3781
  key: 0,
3782
3782
  class: "ao-page-header-secondary"
3783
- }, d1 = /* @__PURE__ */ Y({
3783
+ }, d1 = /* @__PURE__ */ K({
3784
3784
  __name: "AoPageHeader",
3785
3785
  props: {
3786
3786
  canGoBack: { type: Boolean }
@@ -3789,7 +3789,7 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
3789
3789
  setup(t) {
3790
3790
  return (e, a) => (f(), h("header", B0, [
3791
3791
  v("div", N0, [
3792
- e.canGoBack ? (f(), N(fe, {
3792
+ e.canGoBack ? (f(), N(de, {
3793
3793
  key: 0,
3794
3794
  "icon-name": "ArrowBackRounded",
3795
3795
  variant: "ghost",
@@ -3806,7 +3806,7 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
3806
3806
  const U0 = ["type"], j0 = {
3807
3807
  key: 0,
3808
3808
  class: "ao-button-card__label"
3809
- }, Je = /* @__PURE__ */ Y({
3809
+ }, Je = /* @__PURE__ */ K({
3810
3810
  __name: "AoButtonCard",
3811
3811
  props: {
3812
3812
  label: { default: () => "" },
@@ -3832,7 +3832,7 @@ const U0 = ["type"], j0 = {
3832
3832
  x(s.$slots, "default", {}, () => [
3833
3833
  s.label ? (f(), h("span", j0, q(s.label), 1)) : T("", !0)
3834
3834
  ]),
3835
- n.value ? (f(), N(ce, {
3835
+ n.value ? (f(), N(fe, {
3836
3836
  key: 0,
3837
3837
  name: n.value,
3838
3838
  class: "ao-button-card__icon",
@@ -3844,7 +3844,7 @@ const U0 = ["type"], j0 = {
3844
3844
  const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3845
3845
  key: 0,
3846
3846
  class: "ao-card-template-item__subitem"
3847
- }, q0 = { class: "ao-card-template-item__subitem-number" }, z0 = { class: "ao-card-template-item__secondary" }, V1 = /* @__PURE__ */ Y({
3847
+ }, q0 = { class: "ao-card-template-item__subitem-number" }, z0 = { class: "ao-card-template-item__secondary" }, V1 = /* @__PURE__ */ K({
3848
3848
  __name: "AoCardTemplateItem",
3849
3849
  props: {
3850
3850
  milestones: {},
@@ -3869,7 +3869,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3869
3869
  v("ul", Z0, [
3870
3870
  (f(), h(ve, null, ye(n, (d) => (f(), h(ve, { key: d }, [
3871
3871
  i.$props[d] ? (f(), h("li", F0, [
3872
- I(ce, {
3872
+ E(fe, {
3873
3873
  name: s[d],
3874
3874
  size: "sm"
3875
3875
  }, null, 8, ["name"]),
@@ -3880,7 +3880,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3880
3880
  ]),
3881
3881
  secondary: U(() => [
3882
3882
  v("div", z0, [
3883
- I(fe, {
3883
+ E(de, {
3884
3884
  "icon-name": "DeleteOutlineRounded",
3885
3885
  variant: "ghost",
3886
3886
  size: "md",
@@ -3893,7 +3893,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3893
3893
  }));
3894
3894
  }
3895
3895
  });
3896
- const W0 = /* @__PURE__ */ Y({
3896
+ const W0 = /* @__PURE__ */ K({
3897
3897
  __name: "AoCardTemplateItemPhase",
3898
3898
  props: {
3899
3899
  id: {},
@@ -3917,7 +3917,7 @@ const W0 = /* @__PURE__ */ Y({
3917
3917
  _: 3
3918
3918
  }, 16, ["id", "title", "activities", "milestones"]));
3919
3919
  }
3920
- }), Y0 = /* @__PURE__ */ Y({
3920
+ }), Y0 = /* @__PURE__ */ K({
3921
3921
  __name: "AoCardTemplateItemMilestone",
3922
3922
  props: {
3923
3923
  activities: {}
@@ -3934,7 +3934,7 @@ const W0 = /* @__PURE__ */ Y({
3934
3934
  _: 3
3935
3935
  }, 8, ["activities"]));
3936
3936
  }
3937
- }), K0 = { class: "ao-list__footer" }, G0 = /* @__PURE__ */ Y({
3937
+ }), K0 = { class: "ao-list__footer" }, G0 = /* @__PURE__ */ K({
3938
3938
  __name: "AoTemplateDetailsMilestones",
3939
3939
  props: {
3940
3940
  templateId: {},
@@ -3968,7 +3968,7 @@ const W0 = /* @__PURE__ */ Y({
3968
3968
  onChange: i
3969
3969
  }, {
3970
3970
  header: U(() => [
3971
- I(Ce, {
3971
+ E(Ce, {
3972
3972
  title: "Milestones",
3973
3973
  level: 3,
3974
3974
  class: "ao-list__title"
@@ -3993,7 +3993,7 @@ const W0 = /* @__PURE__ */ Y({
3993
3993
  ]),
3994
3994
  footer: U(() => [
3995
3995
  v("div", K0, [
3996
- I(Je, {
3996
+ E(Je, {
3997
3997
  "icon-name": "AddBoxOutlineRounded",
3998
3998
  label: l.$t("template.milestones.add"),
3999
3999
  onClick: n
@@ -4003,7 +4003,7 @@ const W0 = /* @__PURE__ */ Y({
4003
4003
  _: 1
4004
4004
  }, 8, ["model-value", "title"])) : T("", !0);
4005
4005
  }
4006
- }), x0 = /* @__PURE__ */ Y({
4006
+ }), x0 = /* @__PURE__ */ K({
4007
4007
  __name: "AoCardTemplateItemActivity",
4008
4008
  props: {
4009
4009
  name: {},
@@ -4021,7 +4021,7 @@ const W0 = /* @__PURE__ */ Y({
4021
4021
  _: 3
4022
4022
  }, 8, ["tasks"]));
4023
4023
  }
4024
- }), X0 = { class: "ao-list__footer" }, Q0 = /* @__PURE__ */ Y({
4024
+ }), X0 = { class: "ao-list__footer" }, Q0 = /* @__PURE__ */ K({
4025
4025
  __name: "AoTemplateDetailsActivities",
4026
4026
  props: {
4027
4027
  templateId: {},
@@ -4058,7 +4058,7 @@ const W0 = /* @__PURE__ */ Y({
4058
4058
  onChange: i
4059
4059
  }, {
4060
4060
  header: U(() => [
4061
- I(Ce, {
4061
+ E(Ce, {
4062
4062
  title: "Activities",
4063
4063
  level: 3,
4064
4064
  class: "ao-list__title"
@@ -4079,7 +4079,7 @@ const W0 = /* @__PURE__ */ Y({
4079
4079
  ]),
4080
4080
  footer: U(() => [
4081
4081
  v("div", X0, [
4082
- I(Je, {
4082
+ E(Je, {
4083
4083
  "icon-name": "AddBoxOutlineRounded",
4084
4084
  label: l.$t("template.activities.add"),
4085
4085
  onClick: n
@@ -4095,7 +4095,7 @@ const W0 = /* @__PURE__ */ Y({
4095
4095
  }, s3 = { class: "ao-modal__body" }, n3 = {
4096
4096
  key: 0,
4097
4097
  class: "ao-modal__footer"
4098
- }, D1 = /* @__PURE__ */ Y({
4098
+ }, D1 = /* @__PURE__ */ K({
4099
4099
  __name: "AoModal",
4100
4100
  props: {
4101
4101
  size: { default: "md" }
@@ -4112,7 +4112,7 @@ const W0 = /* @__PURE__ */ Y({
4112
4112
  v("div", J0, [
4113
4113
  v("div", e3, [
4114
4114
  v("div", t3, [
4115
- I(fe, {
4115
+ E(de, {
4116
4116
  "icon-name": "CloseRounded",
4117
4117
  variant: "ghost",
4118
4118
  color: "primary",
@@ -4292,13 +4292,13 @@ const p3 = async (t, e, a) => {
4292
4292
  for (let A = 0; A < l.length; A++) {
4293
4293
  const {
4294
4294
  name: _,
4295
- fn: $
4295
+ fn: M
4296
4296
  } = l[A], {
4297
4297
  x: y,
4298
4298
  y: L,
4299
4299
  data: Z,
4300
4300
  reset: W
4301
- } = await $({
4301
+ } = await M({
4302
4302
  x: c,
4303
4303
  y: u,
4304
4304
  initialPlacement: n,
@@ -4354,7 +4354,7 @@ async function Oa(t, e) {
4354
4354
  elementContext: u = "floating",
4355
4355
  altBoundary: p = !1,
4356
4356
  padding: m = 0
4357
- } = H1(e, t), w = v3(m), _ = l[p ? u === "floating" ? "reference" : "floating" : u], $ = e1(await o.getClippingRect({
4357
+ } = H1(e, t), w = v3(m), _ = l[p ? u === "floating" ? "reference" : "floating" : u], M = e1(await o.getClippingRect({
4358
4358
  element: (a = await (o.isElement == null ? void 0 : o.isElement(_))) == null || a ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
4359
4359
  boundary: r,
4360
4360
  rootBoundary: c,
@@ -4375,10 +4375,10 @@ async function Oa(t, e) {
4375
4375
  strategy: d
4376
4376
  }) : y);
4377
4377
  return {
4378
- top: ($.top - W.top + w.top) / Z.y,
4379
- bottom: (W.bottom - $.bottom + w.bottom) / Z.y,
4380
- left: ($.left - W.left + w.left) / Z.x,
4381
- right: (W.right - $.right + w.right) / Z.x
4378
+ top: (M.top - W.top + w.top) / Z.y,
4379
+ bottom: (W.bottom - M.bottom + w.bottom) / Z.y,
4380
+ left: (M.left - W.left + w.left) / Z.x,
4381
+ right: (W.right - M.right + w.right) / Z.x
4382
4382
  };
4383
4383
  }
4384
4384
  const h3 = function(t) {
@@ -4405,11 +4405,11 @@ const h3 = function(t) {
4405
4405
  } = H1(t, e);
4406
4406
  if ((a = o.arrow) != null && a.alignmentOffset)
4407
4407
  return {};
4408
- const $ = mt(s), y = mt(l) === l, L = await (d.isRTL == null ? void 0 : d.isRTL(r.floating)), Z = p || (y || !A ? [Jt(l)] : u3(l));
4408
+ const M = mt(s), y = mt(l) === l, L = await (d.isRTL == null ? void 0 : d.isRTL(r.floating)), Z = p || (y || !A ? [Jt(l)] : u3(l));
4409
4409
  !p && w !== "none" && Z.push(...c3(l, A, w, L));
4410
4410
  const W = [l, ...Z], V = await Oa(e, _), X = [];
4411
4411
  let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4412
- if (c && X.push(V[$]), u) {
4412
+ if (c && X.push(V[M]), u) {
4413
4413
  const S = r3(s, i, L);
4414
4414
  X.push(V[S[0]], V[S[1]]);
4415
4415
  }
@@ -4417,8 +4417,8 @@ const h3 = function(t) {
4417
4417
  placement: s,
4418
4418
  overflows: X
4419
4419
  }], !X.every((S) => S <= 0)) {
4420
- var E, J;
4421
- const S = (((E = o.flip) == null ? void 0 : E.index) || 0) + 1, P = W[S];
4420
+ var I, J;
4421
+ const S = (((I = o.flip) == null ? void 0 : I.index) || 0) + 1, P = W[S];
4422
4422
  if (P)
4423
4423
  return {
4424
4424
  data: {
@@ -4429,23 +4429,23 @@ const h3 = function(t) {
4429
4429
  placement: P
4430
4430
  }
4431
4431
  };
4432
- let de = (J = te.filter((se) => se.overflows[0] <= 0).sort((se, re) => se.overflows[1] - re.overflows[1])[0]) == null ? void 0 : J.placement;
4433
- if (!de)
4432
+ let ce = (J = te.filter((se) => se.overflows[0] <= 0).sort((se, re) => se.overflows[1] - re.overflows[1])[0]) == null ? void 0 : J.placement;
4433
+ if (!ce)
4434
4434
  switch (m) {
4435
4435
  case "bestFit": {
4436
4436
  var g;
4437
- const se = (g = te.map((re) => [re.placement, re.overflows.filter((M) => M > 0).reduce((M, F) => M + F, 0)]).sort((re, M) => re[1] - M[1])[0]) == null ? void 0 : g[0];
4438
- se && (de = se);
4437
+ const se = (g = te.map((re) => [re.placement, re.overflows.filter((k) => k > 0).reduce((k, F) => k + F, 0)]).sort((re, k) => re[1] - k[1])[0]) == null ? void 0 : g[0];
4438
+ se && (ce = se);
4439
4439
  break;
4440
4440
  }
4441
4441
  case "initialPlacement":
4442
- de = l;
4442
+ ce = l;
4443
4443
  break;
4444
4444
  }
4445
- if (s !== de)
4445
+ if (s !== ce)
4446
4446
  return {
4447
4447
  reset: {
4448
- placement: de
4448
+ placement: ce
4449
4449
  }
4450
4450
  };
4451
4451
  }
@@ -4472,18 +4472,18 @@ const h3 = function(t) {
4472
4472
  } = n.floating;
4473
4473
  let w, A;
4474
4474
  r === "top" || r === "bottom" ? (w = r, A = c === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (A = r, w = c === "end" ? "top" : "bottom");
4475
- const _ = m - d[w], $ = p - d[A], y = !e.middlewareData.shift;
4476
- let L = _, Z = $;
4475
+ const _ = m - d[w], M = p - d[A], y = !e.middlewareData.shift;
4476
+ let L = _, Z = M;
4477
4477
  if (u) {
4478
4478
  const V = p - d.left - d.right;
4479
- Z = c || y ? Lt($, V) : V;
4479
+ Z = c || y ? Lt(M, V) : V;
4480
4480
  } else {
4481
4481
  const V = m - d.top - d.bottom;
4482
4482
  L = c || y ? Lt(_, V) : V;
4483
4483
  }
4484
4484
  if (y && !c) {
4485
- const V = Ae(d.left, 0), X = Ae(d.right, 0), te = Ae(d.top, 0), E = Ae(d.bottom, 0);
4486
- u ? Z = p - 2 * (V !== 0 || X !== 0 ? V + X : Ae(d.left, d.right)) : L = m - 2 * (te !== 0 || E !== 0 ? te + E : Ae(d.top, d.bottom));
4485
+ const V = Ae(d.left, 0), X = Ae(d.right, 0), te = Ae(d.top, 0), I = Ae(d.bottom, 0);
4486
+ u ? Z = p - 2 * (V !== 0 || X !== 0 ? V + X : Ae(d.left, d.right)) : L = m - 2 * (te !== 0 || I !== 0 ? te + I : Ae(d.top, d.bottom));
4487
4487
  }
4488
4488
  await i({
4489
4489
  ...e,
@@ -4637,7 +4637,7 @@ function at(t, e, a, n) {
4637
4637
  const p = we(o), m = n && je(n) ? we(n) : n;
4638
4638
  let w = p.frameElement;
4639
4639
  for (; w && n && m !== p; ) {
4640
- const A = pt(w), _ = w.getBoundingClientRect(), $ = Ie(w), y = _.left + (w.clientLeft + parseFloat($.paddingLeft)) * A.x, L = _.top + (w.clientTop + parseFloat($.paddingTop)) * A.y;
4640
+ const A = pt(w), _ = w.getBoundingClientRect(), M = Ie(w), y = _.left + (w.clientLeft + parseFloat(M.paddingLeft)) * A.x, L = _.top + (w.clientTop + parseFloat(M.paddingTop)) * A.y;
4641
4641
  d *= A.x, r *= A.y, c *= A.x, u *= A.y, d += y, r += L, w = we(w).frameElement;
4642
4642
  }
4643
4643
  }
@@ -4887,15 +4887,15 @@ function D3(t, e, a, n) {
4887
4887
  layoutShift: l = typeof IntersectionObserver == "function",
4888
4888
  animationFrame: d = !1
4889
4889
  } = n, r = R1(t), c = s || o ? [...r ? Vt(r) : [], ...Vt(e)] : [];
4890
- c.forEach(($) => {
4891
- s && $.addEventListener("scroll", a, {
4890
+ c.forEach((M) => {
4891
+ s && M.addEventListener("scroll", a, {
4892
4892
  passive: !0
4893
- }), o && $.addEventListener("resize", a);
4893
+ }), o && M.addEventListener("resize", a);
4894
4894
  });
4895
4895
  const u = r && l ? V3(r, a) : null;
4896
4896
  let p = -1, m = null;
4897
- i && (m = new ResizeObserver(($) => {
4898
- let [y] = $;
4897
+ i && (m = new ResizeObserver((M) => {
4898
+ let [y] = M;
4899
4899
  y && y.target === r && m && (m.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
4900
4900
  m && m.observe(e);
4901
4901
  })), a();
@@ -4903,12 +4903,12 @@ function D3(t, e, a, n) {
4903
4903
  let w, A = d ? at(t) : null;
4904
4904
  d && _();
4905
4905
  function _() {
4906
- const $ = at(t);
4907
- A && ($.x !== A.x || $.y !== A.y || $.width !== A.width || $.height !== A.height) && a(), A = $, w = requestAnimationFrame(_);
4906
+ const M = at(t);
4907
+ A && (M.x !== A.x || M.y !== A.y || M.width !== A.width || M.height !== A.height) && a(), A = M, w = requestAnimationFrame(_);
4908
4908
  }
4909
4909
  return a(), () => {
4910
- c.forEach(($) => {
4911
- s && $.removeEventListener("scroll", a), o && $.removeEventListener("resize", a);
4910
+ c.forEach((M) => {
4911
+ s && M.removeEventListener("scroll", a), o && M.removeEventListener("resize", a);
4912
4912
  }), u && u(), m && m.disconnect(), m = null, d && cancelAnimationFrame(w);
4913
4913
  };
4914
4914
  }
@@ -5028,7 +5028,7 @@ function R3(t, e, a) {
5028
5028
  if (n && n.value) {
5029
5029
  let A = (m.clipboardData || /* istanbul ignore next */
5030
5030
  window.clipboardData).getData("Text"), _ = n.value;
5031
- typeof _ == "string" && (_ = new RegExp(_)), A.split("").every(($) => !!$.match(_)) || m.preventDefault();
5031
+ typeof _ == "string" && (_ = new RegExp(_)), A.split("").every((M) => !!M.match(_)) || m.preventDefault();
5032
5032
  }
5033
5033
  e.emit("paste", m, s);
5034
5034
  };
@@ -5083,7 +5083,7 @@ function F3(t, e, a) {
5083
5083
  object: w,
5084
5084
  loading: A,
5085
5085
  delay: _,
5086
- resolveOnLoad: $,
5086
+ resolveOnLoad: M,
5087
5087
  minChars: y,
5088
5088
  filterResults: L,
5089
5089
  clearOnSearch: Z,
@@ -5091,27 +5091,27 @@ function F3(t, e, a) {
5091
5091
  valueProp: V,
5092
5092
  allowAbsent: X,
5093
5093
  groupLabel: te,
5094
- canDeselect: E,
5094
+ canDeselect: I,
5095
5095
  max: J,
5096
5096
  strict: g,
5097
5097
  closeOnSelect: S,
5098
5098
  closeOnDeselect: P,
5099
- groups: de,
5099
+ groups: ce,
5100
5100
  reverse: se,
5101
5101
  infinite: re,
5102
- groupOptions: M,
5102
+ groupOptions: k,
5103
5103
  groupHideEmpty: F,
5104
5104
  groupSelect: j,
5105
5105
  onCreate: ae,
5106
5106
  disabledProp: oe,
5107
- searchStart: k,
5108
- searchFilter: K
5107
+ searchStart: $,
5108
+ searchFilter: Y
5109
5109
  } = $e(t), ie = st().proxy, H = a.iv, O = a.ev, R = a.search, me = a.clearSearch, Me = a.update, ja = a.pointer, it = a.clearPointer, Za = a.focus, Fa = a.deactivate, ot = a.close, qa = a.localize, yt = Q([]), Fe = Q([]), Le = Q(!1), p1 = Q(null), h1 = Q(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => d.value || r.value || !1), za = b(() => u.value !== void 0 ? u.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
5110
- if (de.value) {
5110
+ if (ce.value) {
5111
5111
  let C = jt.value || /* istanbul ignore next */
5112
5112
  [], D = [];
5113
5113
  return C.forEach((ne) => {
5114
- b1(ne[M.value]).forEach((pe) => {
5114
+ b1(ne[k.value]).forEach((pe) => {
5115
5115
  D.push(Object.assign({}, pe, ne[oe.value] ? { [oe.value]: !0 } : {}));
5116
5116
  });
5117
5117
  }), D;
@@ -5127,34 +5127,34 @@ function F3(t, e, a) {
5127
5127
  let C = q1.value;
5128
5128
  return h1.value > 0 && (C = C.slice(0, h1.value)), C;
5129
5129
  }), jt = b(() => {
5130
- if (!de.value)
5130
+ if (!ce.value)
5131
5131
  return [];
5132
5132
  let C = [], D = Fe.value || /* istanbul ignore next */
5133
5133
  [];
5134
5134
  return yt.value.length && C.push({
5135
5135
  [te.value]: " ",
5136
- [M.value]: [...yt.value],
5136
+ [k.value]: [...yt.value],
5137
5137
  __CREATE__: !0
5138
5138
  }), C.concat(D);
5139
5139
  }), Wa = b(() => {
5140
5140
  let C = [...jt.value].map((D) => ({ ...D }));
5141
- return lt.value.length && (C[0] && C[0].__CREATE__ ? C[0][M.value] = [...lt.value, ...C[0][M.value]] : C = [{
5141
+ return lt.value.length && (C[0] && C[0].__CREATE__ ? C[0][k.value] = [...lt.value, ...C[0][k.value]] : C = [{
5142
5142
  [te.value]: " ",
5143
- [M.value]: [...lt.value],
5143
+ [k.value]: [...lt.value],
5144
5144
  __CREATE__: !0
5145
5145
  }].concat(C)), C;
5146
5146
  }), z1 = b(() => {
5147
- if (!de.value)
5147
+ if (!ce.value)
5148
5148
  return [];
5149
5149
  let C = Wa.value;
5150
5150
  return ls((C || /* istanbul ignore next */
5151
5151
  []).map((D, ne) => {
5152
- const pe = b1(D[M.value]);
5152
+ const pe = b1(D[k.value]);
5153
5153
  return {
5154
5154
  ...D,
5155
5155
  index: ne,
5156
5156
  group: !0,
5157
- [M.value]: y1(pe, !1).map((wt) => Object.assign({}, wt, D[oe.value] ? { [oe.value]: !0 } : {})),
5157
+ [k.value]: y1(pe, !1).map((wt) => Object.assign({}, wt, D[oe.value] ? { [oe.value]: !0 } : {})),
5158
5158
  __VISIBLE__: y1(pe).map((wt) => Object.assign({}, wt, D[oe.value] ? { [oe.value]: !0 } : {}))
5159
5159
  };
5160
5160
  }));
@@ -5166,7 +5166,7 @@ function F3(t, e, a) {
5166
5166
  case "tags":
5167
5167
  return !De(H.value) && H.value.length > 0;
5168
5168
  }
5169
- }), Ya = b(() => m !== void 0 && m.value !== void 0 ? m.value(H.value, ie) : H.value && H.value.length > 1 ? `${H.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 && bt.value.length == 0 && (R.value && de.value || !de.value)), lt = b(() => F1.value === !1 || !R.value ? [] : ns(R.value) !== -1 ? [] : [{
5169
+ }), Ya = b(() => m !== void 0 && m.value !== void 0 ? m.value(H.value, ie) : H.value && H.value.length > 1 ? `${H.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 && bt.value.length == 0 && (R.value && ce.value || !ce.value)), lt = b(() => F1.value === !1 || !R.value ? [] : ns(R.value) !== -1 ? [] : [{
5170
5170
  [V.value]: R.value,
5171
5171
  [Ve.value]: R.value,
5172
5172
  [c.value]: R.value,
@@ -5213,7 +5213,7 @@ function F3(t, e, a) {
5213
5213
  e.emit("clear", ie), Me(xa.value);
5214
5214
  }, Ne = (C) => {
5215
5215
  if (C.group !== void 0)
5216
- return s.value === "single" ? !1 : ss(C[M.value]) && C[M.value].length;
5216
+ return s.value === "single" ? !1 : ss(C[k.value]) && C[k.value].length;
5217
5217
  switch (s.value) {
5218
5218
  case "single":
5219
5219
  return !De(H.value) && H.value[V.value] == C[V.value];
@@ -5235,7 +5235,7 @@ function F3(t, e, a) {
5235
5235
  switch (C.__CREATE__ && (C = { ...C }, delete C.__CREATE__), s.value) {
5236
5236
  case "single":
5237
5237
  if (C && Ne(C)) {
5238
- E.value && ut(C), P.value && (it(), ot());
5238
+ I.value && ut(C), P.value && (it(), ot());
5239
5239
  return;
5240
5240
  }
5241
5241
  C && g1(C), W.value && me(), S.value && (it(), ot()), C && rt(C);
@@ -5269,8 +5269,8 @@ function F3(t, e, a) {
5269
5269
  switch (s.value) {
5270
5270
  case "multiple":
5271
5271
  case "tags":
5272
- as(C[M.value]) ? ut(C[M.value]) : rt(
5273
- C[M.value].filter((D) => H.value.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1).filter((D) => !D[oe.value]).filter((D, ne) => H.value.length + 1 + ne <= J.value || J.value === -1)
5272
+ as(C[k.value]) ? ut(C[k.value]) : rt(
5273
+ C[k.value].filter((D) => H.value.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1).filter((D) => !D[oe.value]).filter((D, ne) => H.value.length + 1 + ne <= J.value || J.value === -1)
5274
5274
  );
5275
5275
  break;
5276
5276
  }
@@ -5285,14 +5285,14 @@ function F3(t, e, a) {
5285
5285
  ), is = (C) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(C), os = (C) => {
5286
5286
  yt.value.push(C);
5287
5287
  }, ls = (C) => F.value ? C.filter(
5288
- (D) => R.value ? D.__VISIBLE__.length : D[M.value].length
5288
+ (D) => R.value ? D.__VISIBLE__.length : D[k.value].length
5289
5289
  ) : C.filter((D) => R.value ? D.__VISIBLE__.length : !0), y1 = (C, D = !0) => {
5290
5290
  let ne = C;
5291
5291
  if (R.value && L.value) {
5292
- let pe = K.value;
5292
+ let pe = Y.value;
5293
5293
  pe || (pe = (wt, a8) => {
5294
5294
  let X1 = k1(qa(wt[Ve.value]), g.value);
5295
- return k.value ? X1.startsWith(k1(R.value, g.value)) : X1.indexOf(k1(R.value, g.value)) !== -1;
5295
+ return $.value ? X1.startsWith(k1(R.value, g.value)) : X1.indexOf(k1(R.value, g.value)) !== -1;
5296
5296
  }), ne = ne.filter(pe);
5297
5297
  }
5298
5298
  return l.value && D && (ne = ne.filter((pe) => !is(pe))), ne;
@@ -5354,7 +5354,7 @@ function F3(t, e, a) {
5354
5354
  };
5355
5355
  if (s.value !== "single" && !De(O.value) && !Array.isArray(O.value))
5356
5356
  throw new Error(`v-model must be an array when using "${s.value}" mode`);
5357
- return n && typeof n.value == "function" ? $.value ? Ft(Zt) : w.value == !0 && Zt() : (Fe.value = n.value, Zt()), _.value > -1 && x1(), ue(_, (C, D) => {
5357
+ return n && typeof n.value == "function" ? M.value ? Ft(Zt) : w.value == !0 && Zt() : (Fe.value = n.value, Zt()), _.value > -1 && x1(), ue(_, (C, D) => {
5358
5358
  p1.value && p1.value(), C >= 0 && x1();
5359
5359
  }), ue(O, (C) => {
5360
5360
  if (De(C)) {
@@ -5371,7 +5371,7 @@ function F3(t, e, a) {
5371
5371
  break;
5372
5372
  }
5373
5373
  }, { deep: !0 }), ue(n, (C, D) => {
5374
- typeof t.options == "function" ? $.value && (!D || C && C.toString() !== D.toString()) && Ft() : (Fe.value = t.options, Object.keys(H.value).length || Zt(), w1());
5374
+ typeof t.options == "function" ? M.value && (!D || C && C.toString() !== D.toString()) && Ft() : (Fe.value = t.options, Object.keys(H.value).length || Zt(), w1());
5375
5375
  }), ue(c, w1), {
5376
5376
  pfo: q1,
5377
5377
  fo: bt,
@@ -5417,50 +5417,50 @@ function q3(t, e, a) {
5417
5417
  groupSelect: r,
5418
5418
  disabledProp: c,
5419
5419
  groupOptions: u
5420
- } = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, A = a.handleGroupClick, _ = a.search, $ = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])), X = b(() => m.value.filter((O) => !O[c.value])), te = b(() => d.value !== "single" && r.value), E = b(() => $.value && $.value.group), J = b(() => ie($.value)), g = b(() => {
5421
- const O = E.value ? $.value : (
5420
+ } = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, A = a.handleGroupClick, _ = a.search, M = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])), X = b(() => m.value.filter((O) => !O[c.value])), te = b(() => d.value !== "single" && r.value), I = b(() => M.value && M.value.group), J = b(() => ie(M.value)), g = b(() => {
5421
+ const O = I.value ? M.value : (
5422
5422
  /* istanbul ignore next */
5423
- ie($.value)
5423
+ ie(M.value)
5424
5424
  ), R = X.value.map((Me) => Me[i.value]).indexOf(O[i.value]);
5425
5425
  let me = X.value[R - 1];
5426
5426
  return me === void 0 && (me = P.value), me;
5427
5427
  }), S = b(() => {
5428
- let O = X.value.map((R) => R.label).indexOf(E.value ? $.value[i.value] : ie($.value)[i.value]) + 1;
5428
+ let O = X.value.map((R) => R.label).indexOf(I.value ? M.value[i.value] : ie(M.value)[i.value]) + 1;
5429
5429
  return X.value.length <= O && (O = 0), X.value[O];
5430
- }), P = b(() => [...X.value].slice(-1)[0]), de = b(() => $.value.__VISIBLE__.filter((O) => !O[c.value])[0]), se = b(() => {
5430
+ }), P = b(() => [...X.value].slice(-1)[0]), ce = b(() => M.value.__VISIBLE__.filter((O) => !O[c.value])[0]), se = b(() => {
5431
5431
  const O = J.value.__VISIBLE__.filter((R) => !R[c.value]);
5432
- return O[O.map((R) => R[n.value]).indexOf($.value[n.value]) - 1];
5432
+ return O[O.map((R) => R[n.value]).indexOf(M.value[n.value]) - 1];
5433
5433
  }), re = b(() => {
5434
- const O = ie($.value).__VISIBLE__.filter((R) => !R[c.value]);
5435
- return O[O.map((R) => R[n.value]).indexOf($.value[n.value]) + 1];
5436
- }), M = b(() => [...g.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), F = b(() => [...P.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), j = (O) => $.value && (!O.group && $.value[n.value] === O[n.value] || O.group !== void 0 && $.value[i.value] === O[i.value]) ? !0 : void 0, ae = () => {
5434
+ const O = ie(M.value).__VISIBLE__.filter((R) => !R[c.value]);
5435
+ return O[O.map((R) => R[n.value]).indexOf(M.value[n.value]) + 1];
5436
+ }), k = b(() => [...g.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), F = b(() => [...P.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), j = (O) => M.value && (!O.group && M.value[n.value] === O[n.value] || O.group !== void 0 && M.value[i.value] === O[i.value]) ? !0 : void 0, ae = () => {
5437
5437
  y(V.value[0] || null);
5438
5438
  }, oe = () => {
5439
- !$.value || $.value[c.value] === !0 || (E.value ? A($.value) : w($.value));
5440
- }, k = () => {
5441
- if ($.value === null)
5439
+ !M.value || M.value[c.value] === !0 || (I.value ? A(M.value) : w(M.value));
5440
+ }, $ = () => {
5441
+ if (M.value === null)
5442
5442
  y((l.value && te.value ? X.value[0].__CREATE__ ? V.value[0] : X.value[0] : V.value[0]) || null);
5443
5443
  else if (l.value && te.value) {
5444
- let O = E.value ? de.value : re.value;
5444
+ let O = I.value ? ce.value : re.value;
5445
5445
  O === void 0 && (O = S.value, O.__CREATE__ && (O = O[u.value][0])), y(O || /* istanbul ignore next */
5446
5446
  null);
5447
5447
  } else {
5448
- let O = V.value.map((R) => R[n.value]).indexOf($.value[n.value]) + 1;
5448
+ let O = V.value.map((R) => R[n.value]).indexOf(M.value[n.value]) + 1;
5449
5449
  V.value.length <= O && (O = 0), y(V.value[O] || null);
5450
5450
  }
5451
5451
  Oe(() => {
5452
5452
  H();
5453
5453
  });
5454
- }, K = () => {
5455
- if ($.value === null) {
5454
+ }, Y = () => {
5455
+ if (M.value === null) {
5456
5456
  let O = V.value[V.value.length - 1];
5457
5457
  l.value && te.value && (O = F.value, O === void 0 && (O = P.value)), y(O || null);
5458
5458
  } else if (l.value && te.value) {
5459
- let O = E.value ? M.value : se.value;
5460
- O === void 0 && (O = E.value ? g.value : J.value, O.__CREATE__ && (O = M.value, O === void 0 && (O = g.value))), y(O || /* istanbul ignore next */
5459
+ let O = I.value ? k.value : se.value;
5460
+ O === void 0 && (O = I.value ? g.value : J.value, O.__CREATE__ && (O = k.value, O === void 0 && (O = g.value))), y(O || /* istanbul ignore next */
5461
5461
  null);
5462
5462
  } else {
5463
- let O = V.value.map((R) => R[n.value]).indexOf($.value[n.value]) - 1;
5463
+ let O = V.value.map((R) => R[n.value]).indexOf(M.value[n.value]) - 1;
5464
5464
  O < 0 && (O = V.value.length - 1), y(V.value[O] || null);
5465
5465
  }
5466
5466
  Oe(() => {
@@ -5471,7 +5471,7 @@ function q3(t, e, a) {
5471
5471
  if (!O)
5472
5472
  return;
5473
5473
  let R = O.parentElement.parentElement;
5474
- l.value && (R = E.value ? O.parentElement.parentElement.parentElement : O.parentElement.parentElement.parentElement.parentElement), O.offsetTop + O.offsetHeight > R.clientHeight + R.scrollTop && (R.scrollTop = O.offsetTop + O.offsetHeight - R.clientHeight), O.offsetTop < R.scrollTop && (R.scrollTop = O.offsetTop);
5474
+ l.value && (R = I.value ? O.parentElement.parentElement.parentElement : O.parentElement.parentElement.parentElement.parentElement), O.offsetTop + O.offsetHeight > R.clientHeight + R.scrollTop && (R.scrollTop = O.offsetTop + O.offsetHeight - R.clientHeight), O.offsetTop < R.scrollTop && (R.scrollTop = O.offsetTop);
5475
5475
  };
5476
5476
  return ue(_, (O) => {
5477
5477
  o.value && (O.length && s.value ? ae() : L());
@@ -5486,13 +5486,13 @@ function q3(t, e, a) {
5486
5486
  });
5487
5487
  }
5488
5488
  }), {
5489
- pointer: $,
5489
+ pointer: M,
5490
5490
  canPointGroups: te,
5491
5491
  isPointed: j,
5492
5492
  setPointerFirst: ae,
5493
5493
  selectPointer: oe,
5494
- forwardPointer: k,
5495
- backwardPointer: K
5494
+ forwardPointer: $,
5495
+ backwardPointer: Y
5496
5496
  };
5497
5497
  }
5498
5498
  function z3(t, e, a) {
@@ -5508,12 +5508,12 @@ function z3(t, e, a) {
5508
5508
  };
5509
5509
  }
5510
5510
  function W3(t, e, a) {
5511
- const { searchable: n, disabled: s, clearOnBlur: o } = $e(t), i = a.input, l = a.open, d = a.close, r = a.clearSearch, c = a.isOpen, u = Q(null), p = Q(null), m = Q(null), w = Q(!1), A = Q(!1), _ = b(() => n.value || s.value ? -1 : 0), $ = () => {
5511
+ const { searchable: n, disabled: s, clearOnBlur: o } = $e(t), i = a.input, l = a.open, d = a.close, r = a.clearSearch, c = a.isOpen, u = Q(null), p = Q(null), m = Q(null), w = Q(!1), A = Q(!1), _ = b(() => n.value || s.value ? -1 : 0), M = () => {
5512
5512
  n.value && i.value.blur(), p.value.blur();
5513
5513
  }, y = () => {
5514
5514
  n.value && !s.value && i.value.focus();
5515
- }, L = (E = !0) => {
5516
- s.value || (w.value = !0, E && l());
5515
+ }, L = (I = !0) => {
5516
+ s.value || (w.value = !0, I && l());
5517
5517
  }, Z = () => {
5518
5518
  w.value = !1, setTimeout(() => {
5519
5519
  w.value || (d(), o.value && r());
@@ -5526,21 +5526,21 @@ function W3(t, e, a) {
5526
5526
  tabindex: _,
5527
5527
  isActive: w,
5528
5528
  mouseClicked: A,
5529
- blur: $,
5529
+ blur: M,
5530
5530
  focus: y,
5531
5531
  activate: L,
5532
5532
  deactivate: Z,
5533
- handleFocusIn: (E) => {
5534
- E.target.closest("[data-tags]") && E.target.nodeName !== "INPUT" || E.target.closest("[data-clear]") || L(A.value);
5533
+ handleFocusIn: (I) => {
5534
+ I.target.closest("[data-tags]") && I.target.nodeName !== "INPUT" || I.target.closest("[data-clear]") || L(A.value);
5535
5535
  },
5536
5536
  handleFocusOut: () => {
5537
5537
  Z();
5538
5538
  },
5539
5539
  handleCaretClick: () => {
5540
- Z(), $();
5540
+ Z(), M();
5541
5541
  },
5542
- handleMousedown: (E) => {
5543
- A.value = !0, c.value && (E.target.isEqualNode(p.value) || E.target.isEqualNode(m.value)) ? setTimeout(() => {
5542
+ handleMousedown: (I) => {
5543
+ A.value = !0, c.value && (I.target.isEqualNode(p.value) || I.target.isEqualNode(m.value)) ? setTimeout(() => {
5544
5544
  Z();
5545
5545
  }, 0) : document.activeElement.isEqualNode(p.value) && !c.value && L(), setTimeout(() => {
5546
5546
  A.value = !1;
@@ -5561,8 +5561,8 @@ function Y3(t, e, a) {
5561
5561
  createTag: u,
5562
5562
  createOption: p,
5563
5563
  reverse: m
5564
- } = $e(t), w = st().proxy, A = a.iv, _ = a.update, $ = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect, X = a.wrapper, te = a.tags, E = a.isOpen, J = a.open, g = a.blur, S = a.fo, P = b(() => u.value || p.value || !1), de = b(() => s.value !== void 0 ? s.value : c.value !== void 0 ? c.value : ["enter"]), se = () => {
5565
- n.value === "tags" && !l.value && P.value && i.value && !r.value && y(S.value[S.value.map((j) => j[d.value]).indexOf($.value)]);
5564
+ } = $e(t), w = st().proxy, A = a.iv, _ = a.update, M = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect, X = a.wrapper, te = a.tags, I = a.isOpen, J = a.open, g = a.blur, S = a.fo, P = b(() => u.value || p.value || !1), ce = b(() => s.value !== void 0 ? s.value : c.value !== void 0 ? c.value : ["enter"]), se = () => {
5565
+ n.value === "tags" && !l.value && P.value && i.value && !r.value && y(S.value[S.value.map((j) => j[d.value]).indexOf(M.value)]);
5566
5566
  }, re = (j) => {
5567
5567
  let ae = j.length - 1;
5568
5568
  for (; ae >= 0 && (j[ae].remove === !1 || j[ae].disabled); )
@@ -5573,9 +5573,9 @@ function Y3(t, e, a) {
5573
5573
  handleKeydown: (j) => {
5574
5574
  e.emit("keydown", j, w);
5575
5575
  let ae, oe;
5576
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(j.key) !== -1 && n.value === "tags" && (ae = [...V.value.querySelectorAll("[data-tags] > *")].filter((k) => k !== te.value), oe = ae.findIndex((k) => k === document.activeElement)), j.key) {
5576
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(j.key) !== -1 && n.value === "tags" && (ae = [...V.value.querySelectorAll("[data-tags] > *")].filter(($) => $ !== te.value), oe = ae.findIndex(($) => $ === document.activeElement)), j.key) {
5577
5577
  case "Backspace":
5578
- if (n.value === "single" || i.value && [null, ""].indexOf($.value) === -1 || A.value.length === 0)
5578
+ if (n.value === "single" || i.value && [null, ""].indexOf(M.value) === -1 || A.value.length === 0)
5579
5579
  return;
5580
5580
  _(re([...A.value]));
5581
5581
  break;
@@ -5583,10 +5583,10 @@ function Y3(t, e, a) {
5583
5583
  if (j.preventDefault(), j.keyCode === 229)
5584
5584
  return;
5585
5585
  if (oe !== -1 && oe !== void 0) {
5586
- _([...A.value].filter((k, K) => K !== oe)), oe === ae.length - 1 && (ae.length - 1 ? ae[ae.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : X.value.focus());
5586
+ _([...A.value].filter(($, Y) => Y !== oe)), oe === ae.length - 1 && (ae.length - 1 ? ae[ae.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : X.value.focus());
5587
5587
  return;
5588
5588
  }
5589
- if (de.value.indexOf("enter") === -1 && P.value)
5589
+ if (ce.value.indexOf("enter") === -1 && P.value)
5590
5590
  return;
5591
5591
  se(), L();
5592
5592
  break;
@@ -5597,14 +5597,14 @@ function Y3(t, e, a) {
5597
5597
  }
5598
5598
  if (!P.value)
5599
5599
  return !1;
5600
- if (de.value.indexOf("space") === -1 && P.value)
5600
+ if (ce.value.indexOf("space") === -1 && P.value)
5601
5601
  return;
5602
5602
  j.preventDefault(), se(), L();
5603
5603
  break;
5604
5604
  case "Tab":
5605
5605
  case ";":
5606
5606
  case ",":
5607
- if (de.value.indexOf(j.key.toLowerCase()) === -1 || !P.value)
5607
+ if (ce.value.indexOf(j.key.toLowerCase()) === -1 || !P.value)
5608
5608
  return;
5609
5609
  se(), L(), j.preventDefault();
5610
5610
  break;
@@ -5614,12 +5614,12 @@ function Y3(t, e, a) {
5614
5614
  case "ArrowUp":
5615
5615
  if (j.preventDefault(), !l.value)
5616
5616
  return;
5617
- E.value || J(), Z();
5617
+ I.value || J(), Z();
5618
5618
  break;
5619
5619
  case "ArrowDown":
5620
5620
  if (j.preventDefault(), !l.value)
5621
5621
  return;
5622
- E.value || J(), W();
5622
+ I.value || J(), W();
5623
5623
  break;
5624
5624
  case "ArrowLeft":
5625
5625
  if (i.value && te.value && te.value.querySelector("input").selectionStart || j.shiftKey || n.value !== "tags" || !A.value || !A.value.length)
@@ -5751,9 +5751,9 @@ function G3(t, e, a) {
5751
5751
  limit: n,
5752
5752
  infinite: s
5753
5753
  } = $e(t), o = a.isOpen, i = a.offset, l = a.search, d = a.pfo, r = a.eo, c = Q(null), u = Q(null), p = b(() => i.value < d.value.length), m = (A) => {
5754
- const { isIntersecting: _, target: $ } = A[0];
5754
+ const { isIntersecting: _, target: M } = A[0];
5755
5755
  if (_) {
5756
- const y = $.offsetParent, L = y.scrollTop;
5756
+ const y = M.offsetParent, L = y.scrollTop;
5757
5757
  i.value += n.value == -1 ? 10 : n.value, Oe(() => {
5758
5758
  y.scrollTop = L;
5759
5759
  });
@@ -5787,7 +5787,7 @@ function x3(t, e, a) {
5787
5787
  } = $e(t), u = a.pointer, p = a.iv, m = a.hasSelected, w = a.multipleLabelText, A = Q(null), _ = b(() => {
5788
5788
  let S = [];
5789
5789
  return s && s.value && S.push(s.value), S.push("assist"), S.join("-");
5790
- }), $ = b(() => {
5790
+ }), M = b(() => {
5791
5791
  let S = [];
5792
5792
  return s && s.value && S.push(s.value), S.push("multiselect-options"), S.join("-");
5793
5793
  }), y = b(() => {
@@ -5806,7 +5806,7 @@ function x3(t, e, a) {
5806
5806
  }, te = (S) => {
5807
5807
  let P = [];
5808
5808
  return s && s.value && P.push(s.value), P.push("multiselect-group"), P.push(S.index), P.join("-");
5809
- }, E = (S) => {
5809
+ }, I = (S) => {
5810
5810
  let P = [];
5811
5811
  return P.push(S), P.join(" ");
5812
5812
  }, J = (S) => {
@@ -5822,12 +5822,12 @@ function x3(t, e, a) {
5822
5822
  arias: V,
5823
5823
  ariaLabel: W,
5824
5824
  ariaAssist: _,
5825
- ariaControls: $,
5825
+ ariaControls: M,
5826
5826
  ariaPlaceholder: L,
5827
5827
  ariaMultiselectable: Z,
5828
5828
  ariaActiveDescendant: y,
5829
5829
  ariaOptionId: X,
5830
- ariaOptionLabel: E,
5830
+ ariaOptionLabel: I,
5831
5831
  ariaGroupId: te,
5832
5832
  ariaGroupLabel: J,
5833
5833
  ariaTagLabel: g
@@ -6671,7 +6671,7 @@ function g5(t, e, a, n, s, o) {
6671
6671
  }
6672
6672
  We.render = g5;
6673
6673
  We.__file = "src/Multiselect.vue";
6674
- const be = /* @__PURE__ */ Y({
6674
+ const be = /* @__PURE__ */ K({
6675
6675
  __name: "AoMultiselect",
6676
6676
  props: {
6677
6677
  detached: { type: Boolean },
@@ -6710,7 +6710,7 @@ function y5() {
6710
6710
  throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
6711
6711
  return t;
6712
6712
  }
6713
- Y({
6713
+ K({
6714
6714
  props: {
6715
6715
  translation: {
6716
6716
  type: String,
@@ -6747,7 +6747,7 @@ async function Ue(t, e) {
6747
6747
  i == null || i.select();
6748
6748
  }
6749
6749
  }
6750
- const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"], M5 = { class: "ao-tasks__list-footer" }, k5 = /* @__PURE__ */ Y({
6750
+ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"], M5 = { class: "ao-tasks__list-footer" }, k5 = /* @__PURE__ */ K({
6751
6751
  __name: "AoActivityTasks",
6752
6752
  props: {
6753
6753
  activityId: {},
@@ -6808,7 +6808,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6808
6808
  key: m.id,
6809
6809
  class: "ao-subtask"
6810
6810
  }, [
6811
- ((w = u.isCheckable) == null ? void 0 : w.call(u, m)) ?? !1 ? (f(), N(fe, {
6811
+ ((w = u.isCheckable) == null ? void 0 : w.call(u, m)) ?? !1 ? (f(), N(de, {
6812
6812
  key: 0,
6813
6813
  class: "ao-subtask__check",
6814
6814
  "icon-name": m.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -6839,17 +6839,17 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6839
6839
  caret: u.isEditable,
6840
6840
  onChange: (_) => r(_, m.id)
6841
6841
  }, {
6842
- tag: U(({ option: _, handleTagRemove: $ }) => [
6843
- I(gt, {
6842
+ tag: U(({ option: _, handleTagRemove: M }) => [
6843
+ E(gt, {
6844
6844
  "user-name": _.label,
6845
6845
  "avatar-url": _.avatar,
6846
6846
  "is-closable": !0,
6847
- onClose: (y) => $(_, y)
6847
+ onClose: (y) => M(_, y)
6848
6848
  }, null, 8, ["user-name", "avatar-url", "onClose"])
6849
6849
  ]),
6850
6850
  _: 2
6851
6851
  }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
6852
- u.isEditable ? (f(), N(fe, {
6852
+ u.isEditable ? (f(), N(de, {
6853
6853
  key: 2,
6854
6854
  class: "ao-subtask__delete",
6855
6855
  "icon-name": "CancelRounded",
@@ -6862,7 +6862,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6862
6862
  }), 128))
6863
6863
  ]),
6864
6864
  v("div", M5, [
6865
- u.isEditable ? (f(), N(fe, {
6865
+ u.isEditable ? (f(), N(de, {
6866
6866
  key: 0,
6867
6867
  label: u.$t("activity.tasks.add"),
6868
6868
  "icon-name": "Add",
@@ -6880,7 +6880,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6880
6880
  }, S5 = ["href"], E5 = { class: "ao-file__title" }, I5 = {
6881
6881
  key: 1,
6882
6882
  class: "ao-files__dropzone"
6883
- }, O5 = { class: "ao-files__input" }, L5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, V5 = { class: "ao-files__placeholder" }, D5 = /* @__PURE__ */ Y({
6883
+ }, O5 = { class: "ao-files__input" }, L5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, V5 = { class: "ao-files__placeholder" }, D5 = /* @__PURE__ */ K({
6884
6884
  __name: "AoActivityDetailsFiles",
6885
6885
  props: {
6886
6886
  attachments: {},
@@ -6947,14 +6947,14 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6947
6947
  target: "_blank",
6948
6948
  rel: "noopener noreferrer"
6949
6949
  }, [
6950
- I(ce, {
6950
+ E(fe, {
6951
6951
  class: "ao-file__icon",
6952
6952
  name: "AttachFileRounded",
6953
6953
  size: "sm"
6954
6954
  }),
6955
6955
  v("span", E5, q(p.name), 1)
6956
6956
  ], 8, S5),
6957
- r.isEditable ? (f(), N(fe, {
6957
+ r.isEditable ? (f(), N(de, {
6958
6958
  key: 0,
6959
6959
  class: "ao-files__delete-button",
6960
6960
  "icon-name": "DeleteOutlineRounded",
@@ -6987,7 +6987,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6987
6987
  const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { class: "ao-comment__content-wrapper" }, N5 = { class: "ao-comment__created-at" }, R5 = {
6988
6988
  key: 1,
6989
6989
  class: "ao-comment__footer"
6990
- }, U5 = /* @__PURE__ */ Y({
6990
+ }, U5 = /* @__PURE__ */ K({
6991
6991
  __name: "AoComment",
6992
6992
  props: {
6993
6993
  user: {},
@@ -7010,11 +7010,11 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7010
7010
  Oe(() => {
7011
7011
  var _;
7012
7012
  if (!o.value) {
7013
- const $ = (_ = s.value) == null ? void 0 : _.getClientRects().length;
7014
- A.value = $ || 2;
7013
+ const M = (_ = s.value) == null ? void 0 : _.getClientRects().length;
7014
+ A.value = M || 2;
7015
7015
  }
7016
7016
  });
7017
- }), (_, $) => {
7017
+ }), (_, M) => {
7018
7018
  var y;
7019
7019
  return f(), h("li", H5, [
7020
7020
  n.value ? (f(), N(gt, {
@@ -7046,14 +7046,14 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7046
7046
  ]),
7047
7047
  _.isEditable ? (f(), h("div", R5, [
7048
7048
  z(o) ? (f(), h(ve, { key: 0 }, [
7049
- I(fe, {
7049
+ E(de, {
7050
7050
  "icon-name": "CloseRounded",
7051
7051
  size: "sm",
7052
7052
  variant: "ghost",
7053
7053
  color: "neutral",
7054
7054
  onClick: z(p)
7055
7055
  }, null, 8, ["onClick"]),
7056
- I(fe, {
7056
+ E(de, {
7057
7057
  "icon-name": "CheckSmallRounded",
7058
7058
  size: "sm",
7059
7059
  variant: "solid",
@@ -7061,14 +7061,14 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7061
7061
  onClick: z(m)
7062
7062
  }, null, 8, ["onClick"])
7063
7063
  ], 64)) : (f(), h(ve, { key: 1 }, [
7064
- I(fe, {
7064
+ E(de, {
7065
7065
  label: _.$t("activity.comment.delete"),
7066
7066
  size: "sm",
7067
7067
  variant: "ghost",
7068
7068
  color: "neutral",
7069
7069
  onClick: w
7070
7070
  }, null, 8, ["label"]),
7071
- I(fe, {
7071
+ E(de, {
7072
7072
  label: _.$t("activity.comment.edit"),
7073
7073
  size: "sm",
7074
7074
  variant: "ghost",
@@ -7084,7 +7084,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7084
7084
  const j5 = {
7085
7085
  key: 0,
7086
7086
  class: "ao-comments__list"
7087
- }, Z5 = { class: "ao-comments__footer" }, F5 = ["onSubmit"], q5 = { class: "ao-field ao-field--full" }, z5 = { class: "ao-field__label" }, W5 = { class: "ao-comments__form-footer" }, Y5 = /* @__PURE__ */ Y({
7087
+ }, Z5 = { class: "ao-comments__footer" }, F5 = ["onSubmit"], q5 = { class: "ao-field ao-field--full" }, z5 = { class: "ao-field__label" }, W5 = { class: "ao-comments__form-footer" }, Y5 = /* @__PURE__ */ K({
7088
7088
  __name: "AoActivityDetailsComments",
7089
7089
  props: {
7090
7090
  comments: { default: () => [] },
@@ -7157,7 +7157,7 @@ const j5 = {
7157
7157
  ])
7158
7158
  ]),
7159
7159
  v("div", W5, [
7160
- I(fe, {
7160
+ E(de, {
7161
7161
  type: "submit",
7162
7162
  "icon-name": "SendRounded",
7163
7163
  color: "primary",
@@ -7189,7 +7189,7 @@ const K5 = {
7189
7189
  }, L7 = { class: "ao-field ao-field--multiselect" }, V7 = { class: "ao-field__label" }, D7 = {
7190
7190
  key: 0,
7191
7191
  class: "ao-activity-details__aside"
7192
- }, H7 = { class: "ao-fieldset__title" }, P7 = { class: "ao-fieldset__title" }, U1 = /* @__PURE__ */ Y({
7192
+ }, H7 = { class: "ao-fieldset__title" }, P7 = { class: "ao-fieldset__title" }, U1 = /* @__PURE__ */ K({
7193
7193
  __name: "AoActivityDetails",
7194
7194
  props: {
7195
7195
  activity: {},
@@ -7297,7 +7297,7 @@ const K5 = {
7297
7297
  e("addSubtask", g);
7298
7298
  }, _ = (g) => {
7299
7299
  e("updateSubtask", g);
7300
- }, $ = (g) => {
7300
+ }, M = (g) => {
7301
7301
  e("deleteSubtask", g);
7302
7302
  }, y = b(() => {
7303
7303
  var g;
@@ -7344,7 +7344,7 @@ const K5 = {
7344
7344
  ...g,
7345
7345
  activityId: a.activity.id
7346
7346
  });
7347
- }, E = (g) => {
7347
+ }, I = (g) => {
7348
7348
  e("updateComment", g);
7349
7349
  }, J = (g) => {
7350
7350
  e("removeComment", g);
@@ -7354,7 +7354,7 @@ const K5 = {
7354
7354
  }, {
7355
7355
  header: U(() => [
7356
7356
  g.breadcrumbs ? (f(), h("div", K5, q(g.breadcrumbs), 1)) : T("", !0),
7357
- I(Ce, {
7357
+ E(Ce, {
7358
7358
  title: g.activity.name || "",
7359
7359
  level: 4,
7360
7360
  "is-editable": g.isEditable,
@@ -7365,7 +7365,7 @@ const K5 = {
7365
7365
  return [
7366
7366
  V.value ? (f(), h("label", G5, [
7367
7367
  v("span", x5, q(g.$t("activity.status.label")), 1),
7368
- I(be, {
7368
+ E(be, {
7369
7369
  options: V.value,
7370
7370
  value: (P = g.activity.status) == null ? void 0 : P.id,
7371
7371
  "can-clear": !1,
@@ -7459,8 +7459,8 @@ const K5 = {
7459
7459
  ]),
7460
7460
  l.value ? T("", !0) : (f(), h("fieldset", v7, [
7461
7461
  v("div", p7, [
7462
- I(ce, { name: "AccountBoxSharp" }),
7463
- I(Ce, {
7462
+ E(fe, { name: "AccountBoxSharp" }),
7463
+ E(Ce, {
7464
7464
  level: 4,
7465
7465
  title: g.$t("activity.assignee.title")
7466
7466
  }, null, 8, ["title"])
@@ -7468,7 +7468,7 @@ const K5 = {
7468
7468
  v("div", h7, [
7469
7469
  v("div", m7, [
7470
7470
  v("div", C7, [
7471
- I(be, {
7471
+ E(be, {
7472
7472
  modelValue: L.value,
7473
7473
  "onUpdate:modelValue": S[4] || (S[4] = (P) => L.value = P),
7474
7474
  options: y.value,
@@ -7483,13 +7483,13 @@ const K5 = {
7483
7483
  }, {
7484
7484
  tag: U(({
7485
7485
  option: P,
7486
- handleTagRemove: de
7486
+ handleTagRemove: ce
7487
7487
  }) => [
7488
- I(gt, {
7488
+ E(gt, {
7489
7489
  "user-name": P.label,
7490
7490
  "avatar-url": P.avatar,
7491
7491
  "is-closable": !0,
7492
- onClose: (se) => de(P, se)
7492
+ onClose: (se) => ce(P, se)
7493
7493
  }, null, 8, ["user-name", "avatar-url", "onClose"])
7494
7494
  ]),
7495
7495
  _: 1
@@ -7500,14 +7500,14 @@ const K5 = {
7500
7500
  ])),
7501
7501
  v("fieldset", _7, [
7502
7502
  v("div", g7, [
7503
- I(ce, { name: "SelectCheckBox" }),
7504
- I(Ce, {
7503
+ E(fe, { name: "SelectCheckBox" }),
7504
+ E(Ce, {
7505
7505
  level: 4,
7506
7506
  title: g.$t("activity.tasks.title")
7507
7507
  }, null, 8, ["title"])
7508
7508
  ]),
7509
7509
  v("div", y7, [
7510
- I(k5, {
7510
+ E(k5, {
7511
7511
  class: "ao-activity-details__tasks ao-field__row",
7512
7512
  tasks: g.activity.tasks || [],
7513
7513
  "activity-id": g.activity.id,
@@ -7517,14 +7517,14 @@ const K5 = {
7517
7517
  "is-template": g.isTemplate,
7518
7518
  onAdd: A,
7519
7519
  onUpdate: _,
7520
- onDelete: $
7520
+ onDelete: M
7521
7521
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
7522
7522
  ])
7523
7523
  ]),
7524
7524
  v("fieldset", b7, [
7525
7525
  v("div", w7, [
7526
- I(ce, { name: "FlowsheetOutlineRounded" }),
7527
- I(Ce, {
7526
+ E(fe, { name: "FlowsheetOutlineRounded" }),
7527
+ E(Ce, {
7528
7528
  level: 4,
7529
7529
  title: g.$t("activity.dependencies.title")
7530
7530
  }, null, 8, ["title"])
@@ -7533,7 +7533,7 @@ const K5 = {
7533
7533
  v("div", M7, [
7534
7534
  v("label", k7, [
7535
7535
  v("span", A7, q(g.$t("activity.dependingOn.label")), 1),
7536
- I(be, {
7536
+ E(be, {
7537
7537
  modelValue: u.value,
7538
7538
  "onUpdate:modelValue": S[5] || (S[5] = (P) => u.value = P),
7539
7539
  mode: "tags",
@@ -7548,7 +7548,7 @@ const K5 = {
7548
7548
  v("div", T7, [
7549
7549
  v("label", S7, [
7550
7550
  v("span", E7, q(g.$t("activity.blocking.label")), 1),
7551
- I(be, {
7551
+ E(be, {
7552
7552
  modelValue: m.value,
7553
7553
  "onUpdate:modelValue": S[6] || (S[6] = (P) => m.value = P),
7554
7554
  mode: "tags",
@@ -7566,7 +7566,7 @@ const K5 = {
7566
7566
  d.value ? (f(), h("div", O7, [
7567
7567
  v("label", L7, [
7568
7568
  v("span", V7, q(g.$t("activity.type.label")), 1),
7569
- I(be, {
7569
+ E(be, {
7570
7570
  modelValue: r.value,
7571
7571
  "onUpdate:modelValue": S[7] || (S[7] = (P) => r.value = P),
7572
7572
  mode: "single",
@@ -7583,31 +7583,31 @@ const K5 = {
7583
7583
  ]),
7584
7584
  g.isTemplate !== !0 && g.userId ? (f(), h("div", D7, [
7585
7585
  v("div", H7, [
7586
- I(ce, { name: "AttachFileRounded" }),
7587
- I(Ce, {
7586
+ E(fe, { name: "AttachFileRounded" }),
7587
+ E(Ce, {
7588
7588
  level: 4,
7589
7589
  title: g.$t("activity.attachments.title")
7590
7590
  }, null, 8, ["title"])
7591
7591
  ]),
7592
- I(D5, {
7592
+ E(D5, {
7593
7593
  attachments: g.activity.attachments,
7594
7594
  "is-editable": g.isEditable,
7595
7595
  onAdd: Z,
7596
7596
  onRemove: W
7597
7597
  }, null, 8, ["attachments", "is-editable"]),
7598
7598
  v("div", P7, [
7599
- I(ce, { name: "ChatOutline" }),
7600
- I(Ce, {
7599
+ E(fe, { name: "ChatOutline" }),
7600
+ E(Ce, {
7601
7601
  level: 4,
7602
7602
  title: g.$t("activity.comments.title")
7603
7603
  }, null, 8, ["title"])
7604
7604
  ]),
7605
- I(Y5, {
7605
+ E(Y5, {
7606
7606
  comments: g.activity.comments,
7607
7607
  users: g.users,
7608
7608
  "user-id": g.userId,
7609
7609
  onCreateComment: te,
7610
- onUpdateComment: E,
7610
+ onUpdateComment: I,
7611
7611
  onRemoveComment: J
7612
7612
  }, null, 8, ["comments", "users", "user-id"])
7613
7613
  ])) : T("", !0)
@@ -7616,7 +7616,7 @@ const K5 = {
7616
7616
  }));
7617
7617
  }
7618
7618
  });
7619
- const B7 = /* @__PURE__ */ Y({
7619
+ const B7 = /* @__PURE__ */ K({
7620
7620
  __name: "AoRuleLine",
7621
7621
  props: {
7622
7622
  rule: {},
@@ -7633,10 +7633,10 @@ const B7 = /* @__PURE__ */ Y({
7633
7633
  get() {
7634
7634
  return n.value;
7635
7635
  },
7636
- set($) {
7637
- n.value = $, e("update:rule", {
7636
+ set(M) {
7637
+ n.value = M, e("update:rule", {
7638
7638
  ...a.rule,
7639
- itemType: $,
7639
+ itemType: M,
7640
7640
  subItemId: void 0
7641
7641
  });
7642
7642
  }
@@ -7644,10 +7644,10 @@ const B7 = /* @__PURE__ */ Y({
7644
7644
  get() {
7645
7645
  return a.rule.subItemId;
7646
7646
  },
7647
- set($) {
7647
+ set(M) {
7648
7648
  e("update:rule", {
7649
7649
  ...a.rule,
7650
- subItemId: $,
7650
+ subItemId: M,
7651
7651
  itemType: a.rule.itemType || s.value
7652
7652
  });
7653
7653
  }
@@ -7665,49 +7665,49 @@ const B7 = /* @__PURE__ */ Y({
7665
7665
  get() {
7666
7666
  return d.value;
7667
7667
  },
7668
- set($) {
7669
- e("update:rule", { ...a.rule, comparator: $ });
7668
+ set(M) {
7669
+ e("update:rule", { ...a.rule, comparator: M });
7670
7670
  }
7671
7671
  }), c = b(() => Object.values(bd)), u = vt(a.rule.trigger), p = b({
7672
7672
  get() {
7673
7673
  return u.value;
7674
7674
  },
7675
- set($) {
7676
- e("update:rule", { ...a.rule, trigger: $ });
7675
+ set(M) {
7676
+ e("update:rule", { ...a.rule, trigger: M });
7677
7677
  }
7678
7678
  }), m = b(() => Object.values(wd)), w = b({
7679
7679
  get() {
7680
7680
  return a.rule.duration;
7681
7681
  },
7682
- set($) {
7683
- e("update:rule", { ...a.rule, duration: $ });
7682
+ set(M) {
7683
+ e("update:rule", { ...a.rule, duration: M });
7684
7684
  }
7685
7685
  }), A = b({
7686
7686
  get() {
7687
7687
  return a.rule.durationUnit;
7688
7688
  },
7689
- set($) {
7690
- e("update:rule", { ...a.rule, durationUnit: $ });
7689
+ set(M) {
7690
+ e("update:rule", { ...a.rule, durationUnit: M });
7691
7691
  }
7692
7692
  }), _ = b(() => Object.values($d));
7693
- return ($, y) => (f(), N(Xe($.tagName), { class: "ao-rule-line" }, {
7693
+ return (M, y) => (f(), N(Xe(M.tagName), { class: "ao-rule-line" }, {
7694
7694
  default: U(() => [
7695
- I(z(We), {
7695
+ E(z(We), {
7696
7696
  modelValue: s.value,
7697
7697
  "onUpdate:modelValue": y[0] || (y[0] = (L) => s.value = L),
7698
7698
  options: o.value
7699
7699
  }, null, 8, ["modelValue", "options"]),
7700
- I(z(We), {
7700
+ E(z(We), {
7701
7701
  modelValue: i.value,
7702
7702
  "onUpdate:modelValue": y[1] || (y[1] = (L) => i.value = L),
7703
7703
  options: l.value
7704
7704
  }, null, 8, ["modelValue", "options"]),
7705
- I(z(We), {
7705
+ E(z(We), {
7706
7706
  modelValue: p.value,
7707
7707
  "onUpdate:modelValue": y[2] || (y[2] = (L) => p.value = L),
7708
7708
  options: m.value
7709
7709
  }, null, 8, ["modelValue", "options"]),
7710
- I(z(We), {
7710
+ E(z(We), {
7711
7711
  modelValue: r.value,
7712
7712
  "onUpdate:modelValue": y[3] || (y[3] = (L) => r.value = L),
7713
7713
  options: c.value
@@ -7724,23 +7724,23 @@ const B7 = /* @__PURE__ */ Y({
7724
7724
  { number: !0 }
7725
7725
  ]
7726
7726
  ]),
7727
- I(z(We), {
7727
+ E(z(We), {
7728
7728
  modelValue: A.value,
7729
7729
  "onUpdate:modelValue": y[5] || (y[5] = (L) => A.value = L),
7730
7730
  options: _.value
7731
7731
  }, null, 8, ["modelValue", "options"]),
7732
- I(fe, {
7732
+ E(de, {
7733
7733
  class: "ao-rule-line__remove",
7734
7734
  "icon-name": "CloseRounded",
7735
7735
  variant: "ghost",
7736
- onClick: y[6] || (y[6] = (L) => $.$emit("close"))
7736
+ onClick: y[6] || (y[6] = (L) => M.$emit("close"))
7737
7737
  })
7738
7738
  ]),
7739
7739
  _: 1
7740
7740
  }));
7741
7741
  }
7742
7742
  });
7743
- const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rules__list" }, U7 = /* @__PURE__ */ Y({
7743
+ const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rules__list" }, U7 = /* @__PURE__ */ K({
7744
7744
  __name: "AoTemplateRules",
7745
7745
  props: {
7746
7746
  templateId: {},
@@ -7758,7 +7758,7 @@ const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rule
7758
7758
  };
7759
7759
  return (s, o) => (f(), N(D1, null, {
7760
7760
  header: U(() => [
7761
- I(Ce, {
7761
+ E(Ce, {
7762
7762
  title: s.$t("template.rules.title"),
7763
7763
  level: 2
7764
7764
  }, null, 8, ["title"])
@@ -7776,7 +7776,7 @@ const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rule
7776
7776
  onClose: () => n(i.id)
7777
7777
  }, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
7778
7778
  ]),
7779
- I(Je, {
7779
+ E(Je, {
7780
7780
  label: s.$t("template.rules.add"),
7781
7781
  "icon-name": "Add",
7782
7782
  onClick: a
@@ -7797,7 +7797,7 @@ function ht(t, e, a) {
7797
7797
  const j7 = {
7798
7798
  key: 0,
7799
7799
  class: "ao-template-details"
7800
- }, Z7 = { class: "ao-template-details__body" }, F7 = { class: "ao-template-details__cols" }, q7 = { class: "ao-template-details__col" }, z7 = { class: "ao-list__footer" }, W7 = { class: "ao-template-details__col" }, Y7 = { class: "ao-template-details__col" }, K7 = /* @__PURE__ */ Y({
7800
+ }, Z7 = { class: "ao-template-details__body" }, F7 = { class: "ao-template-details__cols" }, q7 = { class: "ao-template-details__col" }, z7 = { class: "ao-list__footer" }, W7 = { class: "ao-template-details__col" }, Y7 = { class: "ao-template-details__col" }, K7 = /* @__PURE__ */ K({
7801
7801
  __name: "AoTemplateDetails",
7802
7802
  props: {
7803
7803
  templateId: {},
@@ -7812,8 +7812,8 @@ const j7 = {
7812
7812
  setup(t, { emit: e }) {
7813
7813
  const a = t, { t: n } = nt(), s = b(
7814
7814
  () => {
7815
- var M;
7816
- return (M = a.templates) == null ? void 0 : M.find((F) => F.id === a.templateId);
7815
+ var k;
7816
+ return (k = a.templates) == null ? void 0 : k.find((F) => F.id === a.templateId);
7817
7817
  }
7818
7818
  ), o = Q(!1);
7819
7819
  ue(
@@ -7821,68 +7821,68 @@ const j7 = {
7821
7821
  () => o.value = !1
7822
7822
  ), ue(
7823
7823
  () => {
7824
- var M;
7825
- return (M = s.value) == null ? void 0 : M.phases;
7824
+ var k;
7825
+ return (k = s.value) == null ? void 0 : k.phases;
7826
7826
  },
7827
- (M, F) => {
7828
- o.value && Ue(M, F);
7827
+ (k, F) => {
7828
+ o.value && Ue(k, F);
7829
7829
  }
7830
7830
  );
7831
7831
  const i = b(() => {
7832
- var M, F;
7833
- return (F = (M = s == null ? void 0 : s.value) == null ? void 0 : M.phases) == null ? void 0 : F.find((j) => j.id === a.phaseId);
7832
+ var k, F;
7833
+ return (F = (k = s == null ? void 0 : s.value) == null ? void 0 : k.phases) == null ? void 0 : F.find((j) => j.id === a.phaseId);
7834
7834
  });
7835
7835
  ue(
7836
7836
  () => {
7837
- var M;
7838
- return (M = i.value) == null ? void 0 : M.milestones;
7837
+ var k;
7838
+ return (k = i.value) == null ? void 0 : k.milestones;
7839
7839
  },
7840
- (M, F) => {
7841
- o.value && Ue(M, F);
7840
+ (k, F) => {
7841
+ o.value && Ue(k, F);
7842
7842
  }
7843
7843
  );
7844
7844
  const l = b(() => {
7845
- var M, F;
7846
- return (F = (M = i.value) == null ? void 0 : M.milestones) == null ? void 0 : F.find(
7845
+ var k, F;
7846
+ return (F = (k = i.value) == null ? void 0 : k.milestones) == null ? void 0 : F.find(
7847
7847
  (j) => j.id === a.milestoneId
7848
7848
  );
7849
7849
  });
7850
7850
  ue(
7851
7851
  () => {
7852
- var M;
7853
- return (M = l.value) == null ? void 0 : M.activities;
7852
+ var k;
7853
+ return (k = l.value) == null ? void 0 : k.activities;
7854
7854
  },
7855
- (M, F) => {
7856
- o.value && Ue(M, F);
7855
+ (k, F) => {
7856
+ o.value && Ue(k, F);
7857
7857
  }
7858
7858
  );
7859
7859
  const d = b(() => {
7860
- var M, F;
7861
- return ((F = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : F.reduce((j, ae) => {
7860
+ var k, F;
7861
+ return ((F = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((j, ae) => {
7862
7862
  const oe = ae.milestones || [];
7863
7863
  return [...j, ...oe];
7864
7864
  }, [])) || [];
7865
7865
  }), r = b(() => {
7866
- var M, F;
7867
- return ((F = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : F.reduce((j, ae) => {
7868
- const k = (ae.milestones || []).reduce(
7869
- (K, ie) => ie.activities ? [...K, ...ie.activities] : K,
7866
+ var k, F;
7867
+ return ((F = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((j, ae) => {
7868
+ const $ = (ae.milestones || []).reduce(
7869
+ (Y, ie) => ie.activities ? [...Y, ...ie.activities] : Y,
7870
7870
  []
7871
7871
  );
7872
- return [...j, ...k];
7872
+ return [...j, ...$];
7873
7873
  }, [])) || [];
7874
7874
  }), c = b(() => {
7875
- var M, F;
7876
- return (F = (M = l.value) == null ? void 0 : M.activities) == null ? void 0 : F.find(
7875
+ var k, F;
7876
+ return (F = (k = l.value) == null ? void 0 : k.activities) == null ? void 0 : F.find(
7877
7877
  (j) => j.id === a.activityId
7878
7878
  );
7879
7879
  }), u = b(() => {
7880
- var M;
7881
- return ((M = s.value) == null ? void 0 : M.name) || a.templateId;
7880
+ var k;
7881
+ return ((k = s.value) == null ? void 0 : k.name) || a.templateId;
7882
7882
  }), p = () => {
7883
7883
  if (!s.value)
7884
7884
  return;
7885
- const { name: M, rank: F } = ht(
7885
+ const { name: k, rank: F } = ht(
7886
7886
  s.value.phases,
7887
7887
  "phase",
7888
7888
  n
@@ -7891,35 +7891,35 @@ const j7 = {
7891
7891
  type: he.PHASES,
7892
7892
  templateId: a.templateId,
7893
7893
  item: {
7894
- name: M,
7894
+ name: k,
7895
7895
  rank: F
7896
7896
  }
7897
7897
  });
7898
- }, m = (M) => {
7898
+ }, m = (k) => {
7899
7899
  e("updateItem", {
7900
7900
  templateId: a.templateId,
7901
7901
  id: a.templateId,
7902
7902
  itemType: he.TEMPLATES,
7903
- data: { name: M }
7903
+ data: { name: k }
7904
7904
  });
7905
- }, w = (M) => {
7905
+ }, w = (k) => {
7906
7906
  e("removeItem", {
7907
7907
  type: he.PHASES,
7908
7908
  templateId: a.templateId,
7909
7909
  data: {
7910
- id: M
7910
+ id: k
7911
7911
  }
7912
7912
  });
7913
- }, A = (M, F) => {
7913
+ }, A = (k, F) => {
7914
7914
  e("updateItem", {
7915
7915
  templateId: a.templateId,
7916
- id: M,
7916
+ id: k,
7917
7917
  itemType: he.PHASES,
7918
7918
  data: { name: F }
7919
7919
  });
7920
- }, _ = (M) => {
7921
- e("updateItem", M);
7922
- }, $ = (M) => {
7920
+ }, _ = (k) => {
7921
+ e("updateItem", k);
7922
+ }, M = (k) => {
7923
7923
  if (!i.value)
7924
7924
  return;
7925
7925
  const { name: F, rank: j } = ht(
@@ -7930,32 +7930,32 @@ const j7 = {
7930
7930
  o.value = !0, e("addItem", {
7931
7931
  type: he.MILESTONES,
7932
7932
  templateId: a.templateId,
7933
- phaseId: M.phaseId,
7933
+ phaseId: k.phaseId,
7934
7934
  item: {
7935
7935
  name: F,
7936
7936
  rank: j,
7937
- phaseId: M.phaseId
7937
+ phaseId: k.phaseId
7938
7938
  }
7939
7939
  });
7940
- }, y = (M) => {
7940
+ }, y = (k) => {
7941
7941
  e("removeItem", {
7942
7942
  type: he.MILESTONES,
7943
7943
  templateId: a.templateId,
7944
- phaseId: M.phaseId,
7944
+ phaseId: k.phaseId,
7945
7945
  data: {
7946
- id: M.id
7946
+ id: k.id
7947
7947
  }
7948
7948
  });
7949
- }, L = (M) => {
7950
- const { id: F, ...j } = M;
7949
+ }, L = (k) => {
7950
+ const { id: F, ...j } = k;
7951
7951
  e("updateItem", {
7952
7952
  itemType: he.MILESTONES,
7953
7953
  id: F,
7954
7954
  templateId: a.templateId,
7955
7955
  data: j
7956
7956
  });
7957
- }, Z = (M) => {
7958
- const { milestoneId: F } = M;
7957
+ }, Z = (k) => {
7958
+ const { milestoneId: F } = k;
7959
7959
  if (!l.value)
7960
7960
  return;
7961
7961
  const { name: j, rank: ae } = ht(
@@ -7969,7 +7969,7 @@ const j7 = {
7969
7969
  templateId: a.templateId,
7970
7970
  item: { name: j, rank: ae, milestoneId: F }
7971
7971
  });
7972
- }, W = (M) => {
7972
+ }, W = (k) => {
7973
7973
  var F, j;
7974
7974
  e("removeItem", {
7975
7975
  type: he.ACTIVITIES,
@@ -7977,11 +7977,11 @@ const j7 = {
7977
7977
  phaseId: (F = i.value) == null ? void 0 : F.id,
7978
7978
  milestoneId: (j = l.value) == null ? void 0 : j.id,
7979
7979
  data: {
7980
- id: M.id
7980
+ id: k.id
7981
7981
  }
7982
7982
  });
7983
- }, V = (M) => {
7984
- const { id: F, ...j } = M;
7983
+ }, V = (k) => {
7984
+ const { id: F, ...j } = k;
7985
7985
  e("updateItem", {
7986
7986
  itemType: he.ACTIVITIES,
7987
7987
  id: F,
@@ -7990,62 +7990,62 @@ const j7 = {
7990
7990
  });
7991
7991
  }, X = Q(!1), te = () => {
7992
7992
  X.value = !X.value;
7993
- }, E = () => {
7993
+ }, I = () => {
7994
7994
  e("addRule", { templateId: a.templateId });
7995
- }, J = (M) => {
7996
- e("removeRule", { id: M, templateId: a.templateId });
7997
- }, g = (M) => {
7995
+ }, J = (k) => {
7996
+ e("removeRule", { id: k, templateId: a.templateId });
7997
+ }, g = (k) => {
7998
7998
  var F;
7999
- if (M.moved) {
8000
- const j = Rt(M, ((F = s.value) == null ? void 0 : F.phases) ?? []);
7999
+ if (k.moved) {
8000
+ const j = Rt(k, ((F = s.value) == null ? void 0 : F.phases) ?? []);
8001
8001
  e("updateItem", {
8002
8002
  itemType: he.PHASES,
8003
- id: M.moved.element.id,
8003
+ id: k.moved.element.id,
8004
8004
  templateId: a.templateId,
8005
8005
  data: {
8006
8006
  rank: j
8007
8007
  }
8008
8008
  });
8009
8009
  }
8010
- }, S = (M) => {
8010
+ }, S = (k) => {
8011
8011
  !i.value || !l.value || !c.value || e("addItem", {
8012
8012
  type: he.TASKS,
8013
- activityId: M.activityId,
8013
+ activityId: k.activityId,
8014
8014
  milestoneId: l.value.id,
8015
8015
  phaseId: i.value.id,
8016
8016
  templateId: a.templateId,
8017
- item: M
8017
+ item: k
8018
8018
  });
8019
- }, P = (M) => {
8019
+ }, P = (k) => {
8020
8020
  !i.value || !l.value || !c.value || e("updateItem", {
8021
8021
  itemType: he.TASKS,
8022
- id: M.id,
8022
+ id: k.id,
8023
8023
  templateId: a.templateId,
8024
- data: M
8024
+ data: k
8025
8025
  });
8026
- }, de = (M) => {
8026
+ }, ce = (k) => {
8027
8027
  !i.value || !l.value || !c.value || e("removeItem", {
8028
8028
  type: he.TASKS,
8029
8029
  activityId: c.value.id,
8030
8030
  milestoneId: l.value.id,
8031
8031
  phaseId: i.value.id,
8032
8032
  templateId: a.templateId,
8033
- data: M
8033
+ data: k
8034
8034
  });
8035
- }, se = (M) => {
8036
- e("addFiles", M);
8037
- }, re = (M) => {
8038
- e("removeFile", M);
8035
+ }, se = (k) => {
8036
+ e("addFiles", k);
8037
+ }, re = (k) => {
8038
+ e("removeFile", k);
8039
8039
  };
8040
- return (M, F) => {
8041
- var j, ae, oe, k, K, ie;
8040
+ return (k, F) => {
8041
+ var j, ae, oe, $, Y, ie;
8042
8042
  return s.value ? (f(), h("div", j7, [
8043
- I(d1, {
8043
+ E(d1, {
8044
8044
  "can-go-back": !0,
8045
- onGoBack: F[1] || (F[1] = (H) => M.$router.push({ name: z(ft).TEMPLATES_LIST }))
8045
+ onGoBack: F[1] || (F[1] = (H) => k.$router.push({ name: z(ft).TEMPLATES_LIST }))
8046
8046
  }, {
8047
8047
  primary: U(() => [
8048
- I(Ce, {
8048
+ E(Ce, {
8049
8049
  title: u.value,
8050
8050
  level: 2,
8051
8051
  "is-editable": !0,
@@ -8059,7 +8059,7 @@ const j7 = {
8059
8059
  v("div", Z7, [
8060
8060
  v("ol", F7, [
8061
8061
  v("li", q7, [
8062
- I(z(Qe), {
8062
+ E(z(Qe), {
8063
8063
  "model-value": s.value.phases,
8064
8064
  class: "ao-templates__list",
8065
8065
  "item-key": "id",
@@ -8067,8 +8067,8 @@ const j7 = {
8067
8067
  onChange: g
8068
8068
  }, {
8069
8069
  header: U(() => [
8070
- I(Ce, {
8071
- title: M.$t("template.phases.title"),
8070
+ E(Ce, {
8071
+ title: k.$t("template.phases.title"),
8072
8072
  level: 3,
8073
8073
  class: "ao-list__title"
8074
8074
  }, null, 8, ["title"])
@@ -8076,14 +8076,14 @@ const j7 = {
8076
8076
  item: U(({ element: H }) => {
8077
8077
  var O;
8078
8078
  return [
8079
- I(W0, {
8079
+ E(W0, {
8080
8080
  id: H.id,
8081
8081
  name: H.name,
8082
8082
  milestones: H.milestones,
8083
8083
  "is-active": ((O = i.value) == null ? void 0 : O.id) === H.id,
8084
8084
  "is-draggable": !0,
8085
- onClick: (R) => M.$router.push({
8086
- params: { templateId: M.templateId, phaseId: H.id }
8085
+ onClick: (R) => k.$router.push({
8086
+ params: { templateId: k.templateId, phaseId: H.id }
8087
8087
  }),
8088
8088
  "onUpdate:title": (R) => {
8089
8089
  A(H.id, R);
@@ -8094,9 +8094,9 @@ const j7 = {
8094
8094
  }),
8095
8095
  footer: U(() => [
8096
8096
  v("div", z7, [
8097
- I(Je, {
8097
+ E(Je, {
8098
8098
  "icon-name": "AddBoxOutlineRounded",
8099
- label: M.$t("template.phases.add"),
8099
+ label: k.$t("template.phases.add"),
8100
8100
  onClick: p
8101
8101
  }, null, 8, ["label"])
8102
8102
  ])
@@ -8107,10 +8107,10 @@ const j7 = {
8107
8107
  v("li", W7, [
8108
8108
  i.value ? (f(), N(G0, {
8109
8109
  key: 0,
8110
- "template-id": M.templateId,
8110
+ "template-id": k.templateId,
8111
8111
  phase: i.value,
8112
8112
  "milestone-id": (j = l.value) == null ? void 0 : j.id,
8113
- onAddMilestone: $,
8113
+ onAddMilestone: M,
8114
8114
  onUpdateMilestone: L,
8115
8115
  onUpdatePhase: _,
8116
8116
  onRemoveMilestone: y
@@ -8119,7 +8119,7 @@ const j7 = {
8119
8119
  v("li", Y7, [
8120
8120
  i.value && l.value ? (f(), N(Q0, {
8121
8121
  key: 0,
8122
- "template-id": M.templateId,
8122
+ "template-id": k.templateId,
8123
8123
  "phase-id": (ae = i.value) == null ? void 0 : ae.id,
8124
8124
  milestone: l.value,
8125
8125
  "activity-id": (oe = c.value) == null ? void 0 : oe.id,
@@ -8134,26 +8134,26 @@ const j7 = {
8134
8134
  c.value ? (f(), N(U1, {
8135
8135
  key: 0,
8136
8136
  activity: c.value,
8137
- "activity-types": M.activityTypes,
8138
- breadcrumbs: `${s.value.name} / ${(k = i.value) == null ? void 0 : k.name} / ${(K = l.value) == null ? void 0 : K.name}`,
8137
+ "activity-types": k.activityTypes,
8138
+ breadcrumbs: `${s.value.name} / ${($ = i.value) == null ? void 0 : $.name} / ${(Y = l.value) == null ? void 0 : Y.name}`,
8139
8139
  "milestone-id": (ie = l.value) == null ? void 0 : ie.id,
8140
8140
  "template-activities": r.value,
8141
8141
  "template-milestones": d.value,
8142
8142
  "is-template": !0,
8143
8143
  "is-editable": !0,
8144
- users: M.users,
8144
+ users: k.users,
8145
8145
  "onUpdate:activity": F[2] || (F[2] = (H) => {
8146
8146
  c.value && V(H);
8147
8147
  }),
8148
- onClose: M.$router.back,
8148
+ onClose: k.$router.back,
8149
8149
  onAddSubtask: S,
8150
8150
  onUpdateSubtask: P,
8151
- onDeleteSubtask: de,
8151
+ onDeleteSubtask: ce,
8152
8152
  onAddFiles: se,
8153
8153
  onRemoveFile: re
8154
8154
  }, {
8155
8155
  default: U((H) => [
8156
- x(M.$slots, "activityDetailsBody", Ht(Pt(H)))
8156
+ x(k.$slots, "activityDetailsBody", Ht(Pt(H)))
8157
8157
  ]),
8158
8158
  _: 3
8159
8159
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
@@ -8167,7 +8167,7 @@ const j7 = {
8167
8167
  "template-milestones": d.value,
8168
8168
  "template-activities": r.value,
8169
8169
  onClose: te,
8170
- onAddRule: E,
8170
+ onAddRule: I,
8171
8171
  onRemoveRule: J
8172
8172
  }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : T("", !0)
8173
8173
  ]))
@@ -8181,7 +8181,7 @@ const G7 = {
8181
8181
  }, x7 = { class: "ao-card__body" }, X7 = {
8182
8182
  key: 1,
8183
8183
  class: "ao-card__footer"
8184
- }, j1 = /* @__PURE__ */ Y({
8184
+ }, j1 = /* @__PURE__ */ K({
8185
8185
  __name: "AoCard",
8186
8186
  props: {
8187
8187
  isClickable: { type: Boolean },
@@ -8206,7 +8206,7 @@ const G7 = {
8206
8206
  }, 8, ["class"]));
8207
8207
  }
8208
8208
  });
8209
- const Z1 = /* @__PURE__ */ Y({
8209
+ const Z1 = /* @__PURE__ */ K({
8210
8210
  __name: "AoProgress",
8211
8211
  props: {
8212
8212
  percentages: {},
@@ -8229,7 +8229,7 @@ const Z1 = /* @__PURE__ */ Y({
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 = /* @__PURE__ */ Y({
8232
+ }, n9 = /* @__PURE__ */ K({
8233
8233
  __name: "AoCardProjectItemPhase",
8234
8234
  props: {
8235
8235
  id: {},
@@ -8251,7 +8251,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8251
8251
  }), i = b(() => (o.value || 0) / (s.value || 1));
8252
8252
  return (l, d) => (f(), N(j1, { class: "ao-card-project-phase" }, s1({
8253
8253
  default: U(() => [
8254
- I(Ce, {
8254
+ E(Ce, {
8255
8255
  id: l.id,
8256
8256
  class: "ao-card-project-phase__title",
8257
8257
  title: l.name || "",
@@ -8265,13 +8265,13 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8265
8265
  v("div", e9, [
8266
8266
  s.value ? (f(), h(ve, { key: 0 }, [
8267
8267
  v("div", t9, [
8268
- I(ce, {
8268
+ E(fe, {
8269
8269
  name: "MountainFlagOutlineRounded",
8270
8270
  size: "sm"
8271
8271
  }),
8272
8272
  v("span", a9, q(o.value) + " / " + q(s.value), 1)
8273
8273
  ]),
8274
- I(Z1, {
8274
+ E(Z1, {
8275
8275
  percentages: i.value,
8276
8276
  class: "ao-card-project-phase__progress"
8277
8277
  }, null, 8, ["percentages"])
@@ -8288,7 +8288,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8288
8288
  name: "header",
8289
8289
  fn: U(() => [
8290
8290
  v("div", Q7, [
8291
- I(fe, {
8291
+ E(de, {
8292
8292
  class: "ao-card-project-phase__archive",
8293
8293
  color: "primary",
8294
8294
  variant: "ghost",
@@ -8312,7 +8312,7 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
8312
8312
  }, l9 = { class: "ao-card-project-phase__footer" }, r9 = { class: "ao-card-project-phase__footer-row" }, u9 = { class: "ao-card-project-phase__subitem" }, d9 = { class: "ao-card-project-phase__subitem" }, c9 = {
8313
8313
  key: 1,
8314
8314
  class: "ao-card-project-phase__secondary"
8315
- }, f9 = /* @__PURE__ */ Y({
8315
+ }, f9 = /* @__PURE__ */ K({
8316
8316
  __name: "AoCardProjectItemMilestone",
8317
8317
  props: {
8318
8318
  id: {},
@@ -8339,7 +8339,7 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
8339
8339
  }, {
8340
8340
  default: U(() => [
8341
8341
  v("div", i9, [
8342
- I(Ce, {
8342
+ E(Ce, {
8343
8343
  id: l.id,
8344
8344
  title: l.name || "",
8345
8345
  level: 5,
@@ -8348,7 +8348,7 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
8348
8348
  "onUpdate:title": i
8349
8349
  }, null, 8, ["id", "title", "is-editable"]),
8350
8350
  l.isEditable ? (f(), h("div", o9, [
8351
- I(fe, {
8351
+ E(de, {
8352
8352
  color: "primary",
8353
8353
  variant: "ghost",
8354
8354
  "icon-name": "ArchiveOutlineRounded",
@@ -8366,13 +8366,13 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
8366
8366
  v("div", r9, [
8367
8367
  n.value ? (f(), h(ve, { key: 0 }, [
8368
8368
  v("div", u9, [
8369
- I(ce, {
8369
+ E(fe, {
8370
8370
  name: "SelectCheckBox",
8371
8371
  size: "sm"
8372
8372
  }),
8373
8373
  v("span", d9, q(s.value) + " / " + q(n.value), 1)
8374
8374
  ]),
8375
- I(Z1, {
8375
+ E(Z1, {
8376
8376
  percentages: o.value,
8377
8377
  class: "ao-card-project-phase__progress"
8378
8378
  }, null, 8, ["percentages"])
@@ -8390,7 +8390,7 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
8390
8390
  const v9 = { class: "ao-project-phase" }, p9 = {
8391
8391
  key: 0,
8392
8392
  class: "ao-project-phase__drag ao-card__drag"
8393
- }, h9 = { class: "ao-project-phase__col-phase" }, m9 = { class: "ao-project-phase__col-milestones" }, C9 = { class: "ao-project-phase__milestones" }, _9 = { class: "ao-project-phase__milestones-list-footer" }, g9 = /* @__PURE__ */ Y({
8393
+ }, h9 = { class: "ao-project-phase__col-phase" }, m9 = { class: "ao-project-phase__col-milestones" }, C9 = { class: "ao-project-phase__milestones" }, _9 = { class: "ao-project-phase__milestones-list-footer" }, g9 = /* @__PURE__ */ K({
8394
8394
  __name: "AoProjectPhase",
8395
8395
  props: {
8396
8396
  phase: {},
@@ -8425,13 +8425,13 @@ const v9 = { class: "ao-project-phase" }, p9 = {
8425
8425
  };
8426
8426
  return (u, p) => (f(), h("li", v9, [
8427
8427
  u.isEditable ? (f(), h("div", p9, [
8428
- I(ce, {
8428
+ E(fe, {
8429
8429
  name: "DragIndicator",
8430
8430
  class: "ao-project-phase__drag-handle"
8431
8431
  })
8432
8432
  ])) : T("", !0),
8433
8433
  v("div", h9, [
8434
- I(n9, {
8434
+ E(n9, {
8435
8435
  id: u.phase.id,
8436
8436
  milestones: o.value,
8437
8437
  name: u.phase.name,
@@ -8442,7 +8442,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
8442
8442
  ]),
8443
8443
  v("div", m9, [
8444
8444
  v("div", C9, [
8445
- I(z(Qe), Ee({
8445
+ E(z(Qe), Ee({
8446
8446
  class: "ao-project-phase__milestones-list",
8447
8447
  list: o.value,
8448
8448
  disabled: !u.isEditable,
@@ -8450,7 +8450,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
8450
8450
  group: "kanban"
8451
8451
  }, u.$attrs, { onChange: c }), {
8452
8452
  item: U(({ element: m }) => [
8453
- I(f9, {
8453
+ E(f9, {
8454
8454
  id: m.id,
8455
8455
  name: m.name,
8456
8456
  activities: m.activities,
@@ -8485,7 +8485,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
8485
8485
  const y9 = { class: "ao-project__phases" }, b9 = {
8486
8486
  key: 0,
8487
8487
  class: "ao-project-phase__phases-list-footer"
8488
- }, w9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), $9 = { class: "ao-project-phase__col-phase" }, M9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), k9 = /* @__PURE__ */ Y({
8488
+ }, w9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), $9 = { class: "ao-project-phase__col-phase" }, M9 = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), k9 = /* @__PURE__ */ K({
8489
8489
  __name: "AoProjectPhases",
8490
8490
  props: {
8491
8491
  phases: {},
@@ -8520,7 +8520,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
8520
8520
  e("addPhase", c);
8521
8521
  };
8522
8522
  return (c, u) => (f(), h("div", y9, [
8523
- I(z(Qe), {
8523
+ E(z(Qe), {
8524
8524
  class: "ao-project-phase__phases-list",
8525
8525
  "model-value": c.phases,
8526
8526
  "item-key": "id",
@@ -8528,7 +8528,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
8528
8528
  onChange: l
8529
8529
  }, {
8530
8530
  item: U(({ element: p }) => [
8531
- I(g9, {
8531
+ E(g9, {
8532
8532
  phase: p,
8533
8533
  "is-editable": c.isEditable,
8534
8534
  "closed-status": c.closedStatus,
@@ -8544,7 +8544,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
8544
8544
  c.isEditable ? (f(), h("div", b9, [
8545
8545
  w9,
8546
8546
  v("div", $9, [
8547
- I(Je, {
8547
+ E(Je, {
8548
8548
  label: c.$t("project.phases.add"),
8549
8549
  "icon-name": "Add",
8550
8550
  class: "ao-project-phase__add-phase",
@@ -8556,7 +8556,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
8556
8556
  ]));
8557
8557
  }
8558
8558
  });
8559
- const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9 = { class: "field__row" }, E9 = { class: "ao-add-template-modal__form-footer" }, I9 = /* @__PURE__ */ Y({
8559
+ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9 = { class: "field__row" }, E9 = { class: "ao-add-template-modal__form-footer" }, I9 = /* @__PURE__ */ K({
8560
8560
  __name: "AoAddTemplateModal",
8561
8561
  props: {
8562
8562
  projectId: {},
@@ -8574,7 +8574,7 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
8574
8574
  };
8575
8575
  return (l, d) => (f(), N(D1, { size: "sm" }, {
8576
8576
  header: U(() => [
8577
- I(Ce, {
8577
+ E(Ce, {
8578
8578
  title: l.$t("project.template.add.title"),
8579
8579
  level: 3
8580
8580
  }, null, 8, ["title"])
@@ -8586,7 +8586,7 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
8586
8586
  }, [
8587
8587
  v("div", T9, [
8588
8588
  v("div", S9, [
8589
- I(be, {
8589
+ E(be, {
8590
8590
  value: s.value,
8591
8591
  options: n.value,
8592
8592
  detached: !0,
@@ -8595,7 +8595,7 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
8595
8595
  ])
8596
8596
  ]),
8597
8597
  v("footer", E9, [
8598
- I(fe, {
8598
+ E(de, {
8599
8599
  label: l.$t("project.template.add.label"),
8600
8600
  type: "submit",
8601
8601
  color: "primary",
@@ -8609,7 +8609,7 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
8609
8609
  }));
8610
8610
  }
8611
8611
  });
8612
- const O9 = Y({
8612
+ const O9 = K({
8613
8613
  props: {
8614
8614
  isLeft: {
8615
8615
  type: Boolean,
@@ -8661,7 +8661,7 @@ function V9(t, e, a, n, s, o) {
8661
8661
  }, q(t.rightLabel), 3)
8662
8662
  ]);
8663
8663
  }
8664
- const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-c0ae9237"]]), D9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, P9 = /* @__PURE__ */ Y({
8664
+ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519"]]), D9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, P9 = /* @__PURE__ */ K({
8665
8665
  __name: "AoProjectOverviewProject",
8666
8666
  props: {
8667
8667
  project: {},
@@ -8679,89 +8679,89 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-c0ae9237
8679
8679
  emits: ["addPhase", "updatePhase", "archivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "addActivity", "update:activity", "archiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "update:showsArchived"],
8680
8680
  setup(t, { emit: e }) {
8681
8681
  const a = t, { t: n } = nt(), s = b(
8682
- () => a.phases.flatMap((E) => E.milestones)
8682
+ () => a.phases.flatMap((I) => I.milestones)
8683
8683
  ), o = () => {
8684
- const { name: E, rank: J } = ht(a.phases, "phase", n);
8685
- e("addPhase", { name: E, rank: J, projectId: a.project.id });
8686
- }, i = (E) => {
8687
- e("updatePhase", E);
8688
- }, l = (E) => {
8689
- e("archivePhase", E);
8690
- }, d = (E) => {
8691
- e("addMilestone", E);
8692
- }, r = (E) => {
8693
- e("updateMilestone", E);
8694
- }, c = (E) => {
8695
- e("archiveMilestone", E);
8696
- }, u = (E) => {
8697
- e("addActivity", E);
8698
- }, p = (E) => {
8699
- e("update:activity", E);
8700
- }, m = (E) => {
8701
- e("archiveActivity", E);
8702
- }, w = (E) => {
8703
- e("addSubtask", E);
8704
- }, A = (E) => {
8705
- e("updateSubtask", E);
8706
- }, _ = (E) => {
8707
- e("deleteSubtask", E);
8708
- }, $ = b(
8709
- () => s.value.flatMap((E) => E.activities)
8710
- ), y = (E) => {
8711
- e("addFiles", E);
8712
- }, L = (E) => {
8713
- e("removeFile", E);
8714
- }, Z = (E) => {
8715
- e("addComment", E);
8716
- }, W = (E) => {
8717
- e("updateComment", E);
8718
- }, V = (E) => {
8719
- e("removeComment", E);
8720
- }, X = Q(!1), te = (E, J) => {
8721
- e("applyTemplate", { templateId: E, projectId: J }), X.value = !1;
8684
+ const { name: I, rank: J } = ht(a.phases, "phase", n);
8685
+ e("addPhase", { name: I, rank: J, projectId: a.project.id });
8686
+ }, i = (I) => {
8687
+ e("updatePhase", I);
8688
+ }, l = (I) => {
8689
+ e("archivePhase", I);
8690
+ }, d = (I) => {
8691
+ e("addMilestone", I);
8692
+ }, r = (I) => {
8693
+ e("updateMilestone", I);
8694
+ }, c = (I) => {
8695
+ e("archiveMilestone", I);
8696
+ }, u = (I) => {
8697
+ e("addActivity", I);
8698
+ }, p = (I) => {
8699
+ e("update:activity", I);
8700
+ }, m = (I) => {
8701
+ e("archiveActivity", I);
8702
+ }, w = (I) => {
8703
+ e("addSubtask", I);
8704
+ }, A = (I) => {
8705
+ e("updateSubtask", I);
8706
+ }, _ = (I) => {
8707
+ e("deleteSubtask", I);
8708
+ }, M = b(
8709
+ () => s.value.flatMap((I) => I.activities)
8710
+ ), y = (I) => {
8711
+ e("addFiles", I);
8712
+ }, L = (I) => {
8713
+ e("removeFile", I);
8714
+ }, Z = (I) => {
8715
+ e("addComment", I);
8716
+ }, W = (I) => {
8717
+ e("updateComment", I);
8718
+ }, V = (I) => {
8719
+ e("removeComment", I);
8720
+ }, X = Q(!1), te = (I, J) => {
8721
+ e("applyTemplate", { templateId: I, projectId: J }), X.value = !1;
8722
8722
  };
8723
- return (E, J) => {
8723
+ return (I, J) => {
8724
8724
  const g = hs("RouterView");
8725
8725
  return f(), h(ve, null, [
8726
- v("div", Ee({ class: "ao-project-overview" }, E.$attrs), [
8726
+ v("div", Ee({ class: "ao-project-overview" }, I.$attrs), [
8727
8727
  v("div", D9, [
8728
- I(d1, null, {
8728
+ E(d1, null, {
8729
8729
  primary: U(() => [
8730
- I(Ra, {
8730
+ E(Ra, {
8731
8731
  "is-left": !0,
8732
- "right-label": E.$t("project.switch.feed"),
8733
- "left-label": E.$t("project.switch.overview"),
8732
+ "right-label": I.$t("project.switch.feed"),
8733
+ "left-label": I.$t("project.switch.overview"),
8734
8734
  "onUpdate:isLeft": J[0] || (J[0] = (S) => {
8735
- S || E.$router.push({ name: z(He).feed });
8735
+ S || I.$router.push({ name: z(He).feed });
8736
8736
  })
8737
8737
  }, null, 8, ["right-label", "left-label"]),
8738
- I(fe, {
8738
+ E(de, {
8739
8739
  class: "ao-feed__show-archived",
8740
8740
  size: "sm",
8741
- "icon-name": E.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
8741
+ "icon-name": I.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
8742
8742
  "icon-position": "start",
8743
8743
  color: "primary",
8744
8744
  variant: "ghost",
8745
- label: E.$t("feed.filters.showsArchived.label"),
8745
+ label: I.$t("feed.filters.showsArchived.label"),
8746
8746
  role: "checkbox",
8747
- "aria-checked": E.showsArchived,
8748
- onClick: J[1] || (J[1] = (S) => E.$emit("update:showsArchived", !E.showsArchived))
8747
+ "aria-checked": I.showsArchived,
8748
+ onClick: J[1] || (J[1] = (S) => I.$emit("update:showsArchived", !I.showsArchived))
8749
8749
  }, null, 8, ["icon-name", "label", "aria-checked"]),
8750
- E.isEditable ? (f(), N(fe, {
8750
+ I.isEditable ? (f(), N(de, {
8751
8751
  key: 0,
8752
8752
  class: "ao-project-overview__add-template",
8753
8753
  color: "primary",
8754
- label: E.$t("project.template.add.label"),
8754
+ label: I.$t("project.template.add.label"),
8755
8755
  onClick: J[2] || (J[2] = (S) => X.value = !0)
8756
8756
  }, null, 8, ["label"])) : T("", !0)
8757
8757
  ]),
8758
8758
  _: 1
8759
8759
  }),
8760
8760
  v("div", H9, [
8761
- I(k9, {
8762
- phases: E.phases,
8763
- "closed-status": E.closedStatus,
8764
- "is-editable": E.isEditable,
8761
+ E(k9, {
8762
+ phases: I.phases,
8763
+ "closed-status": I.closedStatus,
8764
+ "is-editable": I.isEditable,
8765
8765
  onAddMilestone: d,
8766
8766
  onUpdateMilestone: r,
8767
8767
  onArchiveMilestone: c,
@@ -8771,29 +8771,29 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-c0ae9237
8771
8771
  }, null, 8, ["phases", "closed-status", "is-editable"])
8772
8772
  ])
8773
8773
  ]),
8774
- I(g, {
8774
+ E(g, {
8775
8775
  class: "ao-project__sidebar",
8776
- phases: E.phases,
8777
- "project-id": E.project.id,
8778
- "project-name": E.project.name,
8779
- users: E.users,
8780
- "is-editable": E.isEditable,
8781
- onClose: J[3] || (J[3] = (S) => E.$router.push({ name: z(He).project })),
8776
+ phases: I.phases,
8777
+ "project-id": I.project.id,
8778
+ "project-name": I.project.name,
8779
+ users: I.users,
8780
+ "is-editable": I.isEditable,
8781
+ onClose: J[3] || (J[3] = (S) => I.$router.push({ name: z(He).project })),
8782
8782
  onAddActivity: u,
8783
8783
  onUpdateActivity: p,
8784
8784
  onArchiveActivity: m
8785
8785
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable"]),
8786
8786
  (f(), N(It, { to: "body" }, [
8787
- I(g, {
8787
+ E(g, {
8788
8788
  name: "modal",
8789
- activities: $.value,
8790
- "is-task-checkable": E.isTaskCheckable,
8791
- statuses: E.statuses,
8792
- "activity-types": E.activityTypes,
8793
- phases: E.phases,
8794
- users: E.users,
8795
- "user-id": E.userId,
8796
- "is-editable": E.isEditable,
8789
+ activities: M.value,
8790
+ "is-task-checkable": I.isTaskCheckable,
8791
+ statuses: I.statuses,
8792
+ "activity-types": I.activityTypes,
8793
+ phases: I.phases,
8794
+ users: I.users,
8795
+ "user-id": I.userId,
8796
+ "is-editable": I.isEditable,
8797
8797
  "onUpdate:activity": p,
8798
8798
  onAddSubtask: w,
8799
8799
  onUpdateSubtask: A,
@@ -8807,7 +8807,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-c0ae9237
8807
8807
  default: U(({ Component: S }) => [
8808
8808
  (f(), N(Xe(S), null, {
8809
8809
  default: U((P) => [
8810
- x(E.$slots, "activityDetailsBody", Ht(Pt(P)))
8810
+ x(I.$slots, "activityDetailsBody", Ht(Pt(P)))
8811
8811
  ]),
8812
8812
  _: 2
8813
8813
  }, 1024))
@@ -8819,8 +8819,8 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-c0ae9237
8819
8819
  (f(), N(It, { to: "body" }, [
8820
8820
  X.value ? (f(), N(I9, {
8821
8821
  key: 0,
8822
- "project-id": E.project.id,
8823
- templates: E.templates,
8822
+ "project-id": I.project.id,
8823
+ templates: I.templates,
8824
8824
  onClose: J[4] || (J[4] = (S) => X.value = !1),
8825
8825
  onApply: te
8826
8826
  }, null, 8, ["project-id", "templates"])) : T("", !0)
@@ -8856,7 +8856,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8856
8856
  }, X9 = { class: "ao-card-feed__subitem" }, Q9 = { class: "ao-card-feed__footer-row" }, J9 = {
8857
8857
  key: 0,
8858
8858
  class: "ao-card-feed__progress-wrapper"
8859
- }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__subitem" }, Ua = /* @__PURE__ */ Y({
8859
+ }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__subitem" }, Ua = /* @__PURE__ */ K({
8860
8860
  __name: "AoCardFeed",
8861
8861
  props: {
8862
8862
  id: {},
@@ -8908,13 +8908,13 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8908
8908
  "raw-color": p.projectColor
8909
8909
  }, null, 8, ["label", "color", "raw-color"])) : T("", !0),
8910
8910
  p.isPrivate || p.important ? (f(), h("div", N9, [
8911
- p.isPrivate ? (f(), N(ce, {
8911
+ p.isPrivate ? (f(), N(fe, {
8912
8912
  key: 0,
8913
8913
  name: "Lock",
8914
8914
  class: "ao-card-feed__warning",
8915
8915
  size: "sm"
8916
8916
  })) : T("", !0),
8917
- p.important ? (f(), N(ce, {
8917
+ p.important ? (f(), N(fe, {
8918
8918
  key: 1,
8919
8919
  name: "FlagRounded",
8920
8920
  class: "ao-card-feed__important",
@@ -8929,7 +8929,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8929
8929
  default: U(() => [
8930
8930
  v("div", U9, [
8931
8931
  s.value ? (f(), h("span", j9, q(s.value), 1)) : T("", !0),
8932
- I(Ce, {
8932
+ E(Ce, {
8933
8933
  id: p.id,
8934
8934
  title: p.name,
8935
8935
  level: 5,
@@ -8947,7 +8947,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8947
8947
  key: w.id
8948
8948
  }, [
8949
8949
  w ? (f(), h("li", W9, [
8950
- I(gt, {
8950
+ E(gt, {
8951
8951
  "user-name": l(w),
8952
8952
  "avatar-url": w.avatarUrl,
8953
8953
  "is-closable": !0,
@@ -8958,14 +8958,14 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8958
8958
  ]),
8959
8959
  p.comments || p.attachments ? (f(), h("ul", Y9, [
8960
8960
  p.comments ? (f(), h("li", K9, [
8961
- I(ce, {
8961
+ E(fe, {
8962
8962
  name: "ChatOutline",
8963
8963
  size: "sm"
8964
8964
  }),
8965
8965
  v("span", G9, q(p.comments), 1)
8966
8966
  ])) : T("", !0),
8967
8967
  p.attachments ? (f(), h("li", x9, [
8968
- I(ce, {
8968
+ E(fe, {
8969
8969
  name: "AttachFileRounded",
8970
8970
  size: "sm"
8971
8971
  }),
@@ -8976,13 +8976,13 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8976
8976
  v("div", Q9, [
8977
8977
  p.tasks && p.tasks.length ? (f(), h("div", J9, [
8978
8978
  v("div", e4, [
8979
- I(ce, {
8979
+ E(fe, {
8980
8980
  name: "SelectCheckBox",
8981
8981
  size: "sm"
8982
8982
  }),
8983
8983
  v("span", t4, q(c.value) + " / " + q(r.value), 1)
8984
8984
  ]),
8985
- I(Z1, {
8985
+ E(Z1, {
8986
8986
  percentages: u.value,
8987
8987
  class: "ao-card-feed__progress"
8988
8988
  }, null, 8, ["percentages"])
@@ -8997,7 +8997,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8997
8997
  const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-milestone__header" }, n4 = { class: "ao-project-milestone__title" }, i4 = { class: "ao-project-milestone__body" }, o4 = {
8998
8998
  key: 0,
8999
8999
  class: "ao-project-milestone__footer"
9000
- }, da = /* @__PURE__ */ Y({
9000
+ }, da = /* @__PURE__ */ K({
9001
9001
  __name: "AoProjectOverviewMilestoneDetails",
9002
9002
  props: {
9003
9003
  milestoneId: {},
@@ -9052,19 +9052,19 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9052
9052
  v("header", s4, [
9053
9053
  v("div", n4, [
9054
9054
  v("span", null, q(p.$t("project.milestone.title")), 1),
9055
- I(Ce, {
9055
+ E(Ce, {
9056
9056
  title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
9057
9057
  level: 5
9058
9058
  }, null, 8, ["title"])
9059
9059
  ]),
9060
- I(fe, {
9060
+ E(de, {
9061
9061
  "icon-name": "CloseRounded",
9062
9062
  variant: "ghost",
9063
9063
  onClick: d
9064
9064
  })
9065
9065
  ]),
9066
9066
  v("div", i4, [
9067
- I(z(Qe), Ee({
9067
+ E(z(Qe), Ee({
9068
9068
  class: "ao-project-milestone__activities",
9069
9069
  list: l.value,
9070
9070
  disabled: !p.isEditable,
@@ -9072,13 +9072,13 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9072
9072
  group: "kanban"
9073
9073
  }, p.$attrs, { onChange: u }), {
9074
9074
  item: U(({ element: A }) => {
9075
- var _, $, y, L;
9075
+ var _, M, y, L;
9076
9076
  return [
9077
- I(Ua, {
9077
+ E(Ua, {
9078
9078
  id: A.id,
9079
9079
  name: A.name || A.id,
9080
9080
  "phase-name": (_ = s.value) == null ? void 0 : _.name,
9081
- "milestone-name": ($ = i.value) == null ? void 0 : $.name,
9081
+ "milestone-name": (M = i.value) == null ? void 0 : M.name,
9082
9082
  deadline: A.deadline,
9083
9083
  important: A.important,
9084
9084
  users: p.users,
@@ -9098,7 +9098,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9098
9098
  p.isEditable ? {
9099
9099
  name: "secondary",
9100
9100
  fn: U(() => [
9101
- I(fe, {
9101
+ E(de, {
9102
9102
  color: "primary",
9103
9103
  variant: "ghost",
9104
9104
  "icon-name": "ArchiveOutlineRounded",
@@ -9117,7 +9117,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9117
9117
  _: 1
9118
9118
  }, 16, ["list", "disabled"]),
9119
9119
  p.isEditable ? (f(), h("div", o4, [
9120
- I(Je, {
9120
+ E(Je, {
9121
9121
  "icon-name": "Add",
9122
9122
  label: p.$t("project.activity.add"),
9123
9123
  onClick: r
@@ -9128,7 +9128,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9128
9128
  };
9129
9129
  }
9130
9130
  });
9131
- const l4 = /* @__PURE__ */ Y({
9131
+ const l4 = /* @__PURE__ */ K({
9132
9132
  __name: "AoProjectOverviewActivityDetails",
9133
9133
  props: {
9134
9134
  phaseId: {},
@@ -9148,18 +9148,18 @@ const l4 = /* @__PURE__ */ Y({
9148
9148
  setup(t, { emit: e }) {
9149
9149
  const a = t, n = b(() => {
9150
9150
  var _;
9151
- return (_ = a.phases) == null ? void 0 : _.find(($) => $.id === a.phaseId);
9151
+ return (_ = a.phases) == null ? void 0 : _.find((M) => M.id === a.phaseId);
9152
9152
  }), s = b(
9153
9153
  () => {
9154
9154
  var _;
9155
- return (_ = a.phases) == null ? void 0 : _.flatMap(($) => $.milestones);
9155
+ return (_ = a.phases) == null ? void 0 : _.flatMap((M) => M.milestones);
9156
9156
  }
9157
9157
  ), o = b(() => {
9158
9158
  var _;
9159
- return (_ = s.value) == null ? void 0 : _.find(($) => $.id === a.milestoneId);
9159
+ return (_ = s.value) == null ? void 0 : _.find((M) => M.id === a.milestoneId);
9160
9160
  }), i = b(() => {
9161
9161
  var _;
9162
- return (_ = a.activities) == null ? void 0 : _.find(($) => $.id === a.activityId);
9162
+ return (_ = a.activities) == null ? void 0 : _.find((M) => M.id === a.activityId);
9163
9163
  }), l = (_) => {
9164
9164
  e("update:activity", _);
9165
9165
  }, d = (_) => {
@@ -9179,7 +9179,7 @@ const l4 = /* @__PURE__ */ Y({
9179
9179
  }, A = (_) => {
9180
9180
  e("removeComment", _);
9181
9181
  };
9182
- return (_, $) => {
9182
+ return (_, M) => {
9183
9183
  var y, L;
9184
9184
  return i.value ? (f(), N(U1, {
9185
9185
  key: 0,
@@ -9212,7 +9212,7 @@ const l4 = /* @__PURE__ */ Y({
9212
9212
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : T("", !0);
9213
9213
  };
9214
9214
  }
9215
- }), r4 = { class: "ao-col-header" }, u4 = /* @__PURE__ */ Y({
9215
+ }), r4 = { class: "ao-col-header" }, u4 = /* @__PURE__ */ K({
9216
9216
  __name: "AoColHeader",
9217
9217
  props: {
9218
9218
  title: {},
@@ -9220,7 +9220,7 @@ const l4 = /* @__PURE__ */ Y({
9220
9220
  },
9221
9221
  setup(t) {
9222
9222
  return (e, a) => (f(), h("header", r4, [
9223
- I(Ce, {
9223
+ E(Ce, {
9224
9224
  title: e.title,
9225
9225
  class: "ao-col-header__title",
9226
9226
  level: 4
@@ -9314,7 +9314,7 @@ function g4(t, e, a = {}) {
9314
9314
  threshold: o
9315
9315
  }
9316
9316
  );
9317
- w.forEach(($) => $ && _.observe($)), c = () => {
9317
+ w.forEach((M) => M && _.observe(M)), c = () => {
9318
9318
  _.disconnect(), c = St;
9319
9319
  };
9320
9320
  },
@@ -9351,7 +9351,7 @@ const y4 = {
9351
9351
  }, A4 = {
9352
9352
  key: 1,
9353
9353
  class: "ao-list-kanban__footer"
9354
- }, T4 = /* @__PURE__ */ Y({
9354
+ }, T4 = /* @__PURE__ */ K({
9355
9355
  __name: "AoListKanban",
9356
9356
  props: {
9357
9357
  list: {},
@@ -9403,7 +9403,7 @@ const y4 = {
9403
9403
  ])
9404
9404
  ];
9405
9405
  }) : T("", !0),
9406
- I(z(Qe), Ee({
9406
+ E(z(Qe), Ee({
9407
9407
  class: ["ao-list-kanban__list", d.value ? "ao-list-kanban__transition" : void 0],
9408
9408
  list: r.list,
9409
9409
  "item-key": "id",
@@ -9421,9 +9421,9 @@ const y4 = {
9421
9421
  }
9422
9422
  }), {
9423
9423
  item: U(({ element: u }) => {
9424
- var p, m, w, A, _, $, y, L;
9424
+ var p, m, w, A, _, M, y, L;
9425
9425
  return [
9426
- I(Ua, {
9426
+ E(Ua, {
9427
9427
  id: u.id,
9428
9428
  name: u.name,
9429
9429
  "project-name": (p = u.project) == null ? void 0 : p.name,
@@ -9431,7 +9431,7 @@ const y4 = {
9431
9431
  "phase-name": (A = (w = u.milestone) == null ? void 0 : w.phase) == null ? void 0 : A.name,
9432
9432
  "milestone-name": (_ = u.milestone) == null ? void 0 : _.name,
9433
9433
  deadline: u.deadline,
9434
- rules: (($ = u.rules) == null ? void 0 : $.length) || 0,
9434
+ rules: ((M = u.rules) == null ? void 0 : M.length) || 0,
9435
9435
  tasks: u.tasks,
9436
9436
  description: u.description,
9437
9437
  important: u.important,
@@ -9450,7 +9450,7 @@ const y4 = {
9450
9450
  onRemoveAssignee: () => r.isEditable && i({ id: u.id, assigneeId: null })
9451
9451
  }, {
9452
9452
  secondary: U(() => [
9453
- r.isEditable ? (f(), N(fe, {
9453
+ r.isEditable ? (f(), N(de, {
9454
9454
  key: 0,
9455
9455
  color: "primary",
9456
9456
  variant: "ghost",
@@ -9468,7 +9468,7 @@ const y4 = {
9468
9468
  }),
9469
9469
  footer: U(() => [
9470
9470
  r.isLoading ? (f(), h("div", w4, [
9471
- I(ce, { name: "Loading" })
9471
+ E(fe, { name: "Loading" })
9472
9472
  ])) : r.hasMore ? (f(), h("div", {
9473
9473
  key: 2,
9474
9474
  ref_key: "scrollEnd",
@@ -9493,7 +9493,7 @@ const y4 = {
9493
9493
  ]));
9494
9494
  }
9495
9495
  });
9496
- const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder", "onKeypress"], I4 = /* @__PURE__ */ Y({
9496
+ const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder", "onKeypress"], I4 = /* @__PURE__ */ K({
9497
9497
  __name: "AoSearchField",
9498
9498
  props: {
9499
9499
  modelValue: {},
@@ -9518,11 +9518,11 @@ const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
9518
9518
  (...d) => z(s) && z(s)(...d)),
9519
9519
  onKeypress: Ye(n, ["enter"])
9520
9520
  }, null, 40, E4),
9521
- I(ce, {
9521
+ E(fe, {
9522
9522
  name: "SearchRounded",
9523
9523
  class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
9524
9524
  }, null, 8, ["class"]),
9525
- I(fe, {
9525
+ E(de, {
9526
9526
  "icon-name": "CloseRounded",
9527
9527
  size: "sm",
9528
9528
  color: "primary",
@@ -9561,7 +9561,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9561
9561
  }, j4 = { class: "ao-field__label" }, Z4 = {
9562
9562
  key: 2,
9563
9563
  class: "ao-field ao-feed__activity-details__status"
9564
- }, F4 = { class: "ao-field__label" }, q4 = { class: "ao-field__row" }, z4 = { class: "ao-field" }, W4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ Y({
9564
+ }, F4 = { class: "ao-field__label" }, q4 = { class: "ao-field__row" }, z4 = { class: "ao-field" }, W4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ K({
9565
9565
  __name: "AoFeed",
9566
9566
  props: {
9567
9567
  activities: {},
@@ -9575,194 +9575,195 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9575
9575
  initialActivityId: {},
9576
9576
  searchText: { default: "" },
9577
9577
  showsArchivedActivities: { type: Boolean },
9578
+ showsOnlyImportant: { type: Boolean },
9578
9579
  isTaskCheckable: { type: Function, default: void 0 },
9579
9580
  isEditable: { type: Boolean }
9580
9581
  },
9581
- emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
9582
+ emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
9582
9583
  setup(t, { emit: e }) {
9583
- const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } = V4(s), l = async (k) => {
9584
- o(k), await e("selectActivity", k);
9584
+ const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } = V4(s), l = async ($) => {
9585
+ o($), await e("selectActivity", $);
9585
9586
  }, d = Q({}), r = Q(!1), c = Q(!1);
9586
9587
  ue(
9587
9588
  [() => a.statuses, () => a.activities, () => a.initialActivityId],
9588
9589
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9589
- async ([k, K, ie], [H, O]) => {
9590
+ async ([$, Y, ie], [H, O]) => {
9590
9591
  d.value = Object.fromEntries(
9591
- k.map((R) => [
9592
+ $.map((R) => [
9592
9593
  R.id,
9593
- K.filter((me) => {
9594
+ Y.filter((me) => {
9594
9595
  var Me;
9595
9596
  return ((Me = me.status) == null ? void 0 : Me.id) === R.id;
9596
9597
  })
9597
9598
  ])
9598
- ), ie && !r.value && (l(ie), r.value = !0), c.value && Ue(K, O);
9599
+ ), ie && !r.value && (l(ie), r.value = !0), c.value && Ue(Y, O);
9599
9600
  },
9600
9601
  { immediate: !0 }
9601
9602
  );
9602
9603
  const u = b(() => {
9603
- var k;
9604
- return !i.value || !i.value.milestone ? "" : `${((k = i.value.milestone.phase) == null ? void 0 : k.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
9605
- }), p = (k) => {
9604
+ var $;
9605
+ return !i.value || !i.value.milestone ? "" : `${(($ = i.value.milestone.phase) == null ? void 0 : $.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
9606
+ }), p = ($) => {
9606
9607
  var R, me;
9607
- const K = (R = a.activities) == null ? void 0 : R.at(-1), ie = K ? Te.LexoRank.parse(K.rank).genNext() : Te.LexoRank.middle(), H = ((me = a.activities) == null ? void 0 : me.length) ?? 0, O = {
9608
+ const Y = (R = a.activities) == null ? void 0 : R.at(-1), ie = Y ? Te.LexoRank.parse(Y.rank).genNext() : Te.LexoRank.middle(), H = ((me = a.activities) == null ? void 0 : me.length) ?? 0, O = {
9608
9609
  name: n("activity.defaultName", { idx: H + 1 }),
9609
9610
  rank: ie.format(),
9610
- statusId: k.id
9611
+ statusId: $.id
9611
9612
  };
9612
9613
  a.filters.assigneeId.length > 0 && (O.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (O.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (O.typeId = a.filters.typeId[0]), c.value = !0, e("addActivity", O);
9613
- }, m = (k, K) => {
9614
- c.value = !1, e("update:filters", { ...a.filters, [k]: K });
9614
+ }, m = ($, Y) => {
9615
+ c.value = !1, e("update:filters", { ...a.filters, [$]: Y });
9615
9616
  }, w = b(
9616
9617
  () => a.project ? [a.project] : a.projects ?? []
9617
- ), A = b(() => w.value.map((k) => ({
9618
- value: k.id,
9619
- label: k.name
9618
+ ), A = b(() => w.value.map(($) => ({
9619
+ value: $.id,
9620
+ label: $.name
9620
9621
  }))), _ = b(() => {
9621
- var k;
9622
- return (k = a.activityTypes) == null ? void 0 : k.map((K) => ({
9623
- value: K.id,
9624
- label: K.name
9622
+ var $;
9623
+ return ($ = a.activityTypes) == null ? void 0 : $.map((Y) => ({
9624
+ value: Y.id,
9625
+ label: Y.name
9625
9626
  }));
9626
- }), $ = b(() => a.users.map((k) => ({
9627
- value: k.id,
9628
- label: `${k.firstName} ${k.lastName}`,
9629
- avatar: k.avatarUrl
9630
- }))), y = (k) => {
9631
- i.value && e("update:activity", k);
9632
- }, L = (k) => {
9633
- e("update:activity", k);
9634
- }, Z = (k) => {
9635
- e("archiveActivity", k);
9627
+ }), M = b(() => a.users.map(($) => ({
9628
+ value: $.id,
9629
+ label: `${$.firstName} ${$.lastName}`,
9630
+ avatar: $.avatarUrl
9631
+ }))), y = ($) => {
9632
+ i.value && e("update:activity", $);
9633
+ }, L = ($) => {
9634
+ e("update:activity", $);
9635
+ }, Z = ($) => {
9636
+ e("archiveActivity", $);
9636
9637
  }, W = b({
9637
9638
  get() {
9638
- var k;
9639
- return (k = i.value) == null ? void 0 : k.deadline;
9639
+ var $;
9640
+ return ($ = i.value) == null ? void 0 : $.deadline;
9640
9641
  },
9641
- set(k) {
9642
+ set($) {
9642
9643
  i.value && y({
9643
9644
  id: i.value.id,
9644
- deadline: k
9645
+ deadline: $
9645
9646
  });
9646
9647
  }
9647
- }), V = (k) => {
9648
- c.value = !1, e("update:searchText", k);
9649
- }, X = (k) => {
9650
- c.value = !1, e("clear:searchText", k);
9651
- }, te = (k) => {
9652
- i.value && e("addSubtask", k);
9653
- }, E = (k) => {
9654
- i.value && e("updateSubtask", k);
9655
- }, J = (k) => {
9656
- i.value && e("deleteSubtask", k);
9657
- }, g = (k) => {
9658
- e("addFiles", k);
9659
- }, S = (k) => {
9660
- e("removeFile", k);
9661
- }, P = (k) => {
9648
+ }), V = ($) => {
9649
+ c.value = !1, e("update:searchText", $);
9650
+ }, X = ($) => {
9651
+ c.value = !1, e("clear:searchText", $);
9652
+ }, te = ($) => {
9653
+ i.value && e("addSubtask", $);
9654
+ }, I = ($) => {
9655
+ i.value && e("updateSubtask", $);
9656
+ }, J = ($) => {
9657
+ i.value && e("deleteSubtask", $);
9658
+ }, g = ($) => {
9659
+ e("addFiles", $);
9660
+ }, S = ($) => {
9661
+ e("removeFile", $);
9662
+ }, P = ($) => {
9662
9663
  i.value && e("addComment", {
9663
- ...k,
9664
+ ...$,
9664
9665
  activityId: i.value.id
9665
9666
  });
9666
- }, de = (k) => {
9667
- const { id: K } = i.value || {};
9668
- K && e("updateComment", k);
9669
- }, se = (k) => {
9670
- const { id: K } = i.value || {};
9671
- K && e("removeComment", k);
9672
- }, re = b(() => w.value.map((k) => ({
9673
- value: k.id,
9674
- label: k.name
9675
- }))), M = b(() => {
9676
- var K, ie, H;
9677
- const k = (H = (ie = (K = i.value) == null ? void 0 : K.project) == null ? void 0 : ie.phases) == null ? void 0 : H.reduce(
9667
+ }, ce = ($) => {
9668
+ const { id: Y } = i.value || {};
9669
+ Y && e("updateComment", $);
9670
+ }, se = ($) => {
9671
+ const { id: Y } = i.value || {};
9672
+ Y && e("removeComment", $);
9673
+ }, re = b(() => w.value.map(($) => ({
9674
+ value: $.id,
9675
+ label: $.name
9676
+ }))), k = b(() => {
9677
+ var Y, ie, H;
9678
+ const $ = (H = (ie = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : ie.phases) == null ? void 0 : H.reduce(
9678
9679
  (O, R) => [...O, ...R.milestones],
9679
9680
  []
9680
9681
  );
9681
- return k == null ? void 0 : k.map((O) => ({
9682
+ return $ == null ? void 0 : $.map((O) => ({
9682
9683
  value: O.id,
9683
9684
  label: O.name
9684
9685
  }));
9685
- }), F = (k) => {
9686
+ }), F = ($) => {
9686
9687
  i.value && e("update:activity", {
9687
9688
  id: i.value.id,
9688
- projectId: k
9689
+ projectId: $
9689
9690
  });
9690
- }, j = (k) => {
9691
+ }, j = ($) => {
9691
9692
  i.value && e("update:activity", {
9692
9693
  id: i.value.id,
9693
- milestoneId: k
9694
+ milestoneId: $
9694
9695
  });
9695
9696
  }, ae = b(() => {
9696
- var k;
9697
- return (k = a.statuses) == null ? void 0 : k.map((K) => ({
9698
- value: K.id,
9699
- label: K.name
9697
+ var $;
9698
+ return ($ = a.statuses) == null ? void 0 : $.map((Y) => ({
9699
+ value: Y.id,
9700
+ label: Y.name
9700
9701
  }));
9701
- }), oe = (k) => {
9702
+ }), oe = ($) => {
9702
9703
  i.value && e("update:activity", {
9703
9704
  id: i.value.id,
9704
- statusId: k
9705
+ statusId: $
9705
9706
  });
9706
9707
  };
9707
- return (k, K) => {
9708
+ return ($, Y) => {
9708
9709
  var ie;
9709
9710
  return f(), h("div", D4, [
9710
- I(d1, null, {
9711
+ E(d1, null, {
9711
9712
  primary: U(() => [
9712
9713
  v("div", H4, [
9713
9714
  a.project ? (f(), N(Ra, {
9714
9715
  key: 0,
9715
9716
  "is-left": !1,
9716
- "right-label": k.$t("project.switch.feed"),
9717
- "left-label": k.$t("project.switch.overview"),
9718
- "onUpdate:isLeft": K[0] || (K[0] = (H) => {
9719
- H && k.$router.push({ name: z(He).project });
9717
+ "right-label": $.$t("project.switch.feed"),
9718
+ "left-label": $.$t("project.switch.overview"),
9719
+ "onUpdate:isLeft": Y[0] || (Y[0] = (H) => {
9720
+ H && $.$router.push({ name: z(He).project });
9720
9721
  })
9721
9722
  }, null, 8, ["right-label", "left-label"])) : T("", !0),
9722
- I(I4, {
9723
- "model-value": k.searchText,
9724
- placeholder: k.$t("feed.search.placeholder"),
9723
+ E(I4, {
9724
+ "model-value": $.searchText,
9725
+ placeholder: $.$t("feed.search.placeholder"),
9725
9726
  class: "ao-feed__search",
9726
9727
  "onUpdate:modelValue": V,
9727
9728
  onClear: X
9728
9729
  }, null, 8, ["model-value", "placeholder"]),
9729
9730
  a.project ? T("", !0) : (f(), N(be, {
9730
9731
  key: 1,
9731
- "model-value": k.filters[z(dt).project],
9732
+ "model-value": $.filters[z(dt).project],
9732
9733
  mode: "tags",
9733
9734
  options: A.value,
9734
9735
  "close-on-select": !1,
9735
9736
  searchable: !0,
9736
9737
  class: "ao-feed__filter ao-feed__filter__projects",
9737
- placeholder: k.$t("feed.filters.project.placeholder"),
9738
- "onUpdate:modelValue": K[1] || (K[1] = (H) => m(z(dt).project, H))
9738
+ placeholder: $.$t("feed.filters.project.placeholder"),
9739
+ "onUpdate:modelValue": Y[1] || (Y[1] = (H) => m(z(dt).project, H))
9739
9740
  }, null, 8, ["model-value", "options", "placeholder"])),
9740
9741
  _.value ? (f(), N(be, {
9741
9742
  key: 2,
9742
- "model-value": k.filters[z(dt).type],
9743
+ "model-value": $.filters[z(dt).type],
9743
9744
  mode: "tags",
9744
9745
  options: _.value,
9745
9746
  "close-on-select": !1,
9746
9747
  searchable: !0,
9747
9748
  class: "ao-feed__filter ao-feed__filter__types",
9748
- placeholder: k.$t("feed.filters.activityType.placeholder"),
9749
- "onUpdate:modelValue": K[2] || (K[2] = (H) => m(z(dt).type, H))
9749
+ placeholder: $.$t("feed.filters.activityType.placeholder"),
9750
+ "onUpdate:modelValue": Y[2] || (Y[2] = (H) => m(z(dt).type, H))
9750
9751
  }, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
9751
- I(be, {
9752
- "model-value": k.filters[z(dt).assignee],
9752
+ E(be, {
9753
+ "model-value": $.filters[z(dt).assignee],
9753
9754
  mode: "tags",
9754
- options: $.value,
9755
+ options: M.value,
9755
9756
  "close-on-select": !1,
9756
9757
  searchable: !0,
9757
9758
  class: "ao-feed__filter ao-feed__filter__assignees",
9758
- placeholder: k.$t("feed.filters.assignee.placeholder"),
9759
- "onUpdate:modelValue": K[3] || (K[3] = (H) => m(z(dt).assignee, H))
9759
+ placeholder: $.$t("feed.filters.assignee.placeholder"),
9760
+ "onUpdate:modelValue": Y[3] || (Y[3] = (H) => m(z(dt).assignee, H))
9760
9761
  }, {
9761
9762
  tag: U(({
9762
9763
  option: H,
9763
9764
  handleTagRemove: O
9764
9765
  }) => [
9765
- I(gt, {
9766
+ E(gt, {
9766
9767
  "user-name": H.label,
9767
9768
  "avatar-url": H.avatar,
9768
9769
  "is-closable": !0,
@@ -9772,30 +9773,42 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9772
9773
  _: 1
9773
9774
  }, 8, ["model-value", "options", "placeholder"])
9774
9775
  ]),
9775
- I(fe, {
9776
+ E(de, {
9777
+ class: "ao-feed__only-important",
9778
+ size: "sm",
9779
+ "icon-name": $.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
9780
+ "icon-position": "start",
9781
+ color: "primary",
9782
+ variant: "ghost",
9783
+ label: $.$t("feed.filters.showsOnlyImportant.label"),
9784
+ role: "checkbox",
9785
+ "aria-checked": $.showsOnlyImportant,
9786
+ onClick: Y[4] || (Y[4] = (H) => $.$emit("update:showsOnlyImportant", !$.showsOnlyImportant))
9787
+ }, null, 8, ["icon-name", "label", "aria-checked"]),
9788
+ E(de, {
9776
9789
  class: "ao-feed__show-archived",
9777
9790
  size: "sm",
9778
- "icon-name": k.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
9791
+ "icon-name": $.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
9779
9792
  "icon-position": "start",
9780
9793
  color: "primary",
9781
9794
  variant: "ghost",
9782
- label: k.$t("feed.filters.showsArchivedActivities.label"),
9795
+ label: $.$t("feed.filters.showsArchivedActivities.label"),
9783
9796
  role: "checkbox",
9784
- "aria-checked": k.showsArchivedActivities,
9785
- onClick: K[4] || (K[4] = (H) => k.$emit("update:showsArchivedActivities", !k.showsArchivedActivities))
9797
+ "aria-checked": $.showsArchivedActivities,
9798
+ onClick: Y[5] || (Y[5] = (H) => $.$emit("update:showsArchivedActivities", !$.showsArchivedActivities))
9786
9799
  }, null, 8, ["icon-name", "label", "aria-checked"])
9787
9800
  ]),
9788
9801
  _: 1
9789
9802
  }),
9790
9803
  v("div", P4, [
9791
- (f(!0), h(ve, null, ye(k.statuses, (H) => (f(), N(T4, {
9804
+ (f(!0), h(ve, null, ye($.statuses, (H) => (f(), N(T4, {
9792
9805
  key: H.id,
9793
9806
  status: H,
9794
9807
  list: d.value[H.id],
9795
9808
  title: H.name,
9796
- "footer-label": k.$t("feed.activity.add"),
9797
- users: k.users,
9798
- "is-editable": k.isEditable,
9809
+ "footer-label": $.$t("feed.activity.add"),
9810
+ users: $.users,
9811
+ "is-editable": $.isEditable,
9799
9812
  onAdd: () => p(H),
9800
9813
  onSelectActivity: l,
9801
9814
  onArchiveActivity: Z,
@@ -9806,24 +9819,24 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9806
9819
  z(i) ? (f(), N(U1, {
9807
9820
  key: 0,
9808
9821
  activity: z(i),
9809
- "activity-types": k.activityTypes,
9822
+ "activity-types": $.activityTypes,
9810
9823
  "milestone-id": (ie = z(i).milestone) == null ? void 0 : ie.id,
9811
9824
  "template-activities": s.value,
9812
- users: k.users,
9813
- "user-id": k.userId,
9814
- "is-task-checkable": k.isTaskCheckable,
9815
- statuses: k.statuses,
9825
+ users: $.users,
9826
+ "user-id": $.userId,
9827
+ "is-task-checkable": $.isTaskCheckable,
9828
+ statuses: $.statuses,
9816
9829
  breadcrumbs: u.value,
9817
- "is-editable": k.isEditable,
9818
- onClose: K[6] || (K[6] = () => l(null)),
9830
+ "is-editable": $.isEditable,
9831
+ onClose: Y[7] || (Y[7] = () => l(null)),
9819
9832
  "onUpdate:activity": y,
9820
9833
  onAddSubtask: te,
9821
- onUpdateSubtask: E,
9834
+ onUpdateSubtask: I,
9822
9835
  onDeleteSubtask: J,
9823
9836
  onAddFiles: g,
9824
9837
  onRemoveFile: S,
9825
9838
  onAddComment: P,
9826
- onUpdateComment: de,
9839
+ onUpdateComment: ce,
9827
9840
  onRemoveComment: se
9828
9841
  }, {
9829
9842
  header: U(() => {
@@ -9831,36 +9844,36 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9831
9844
  return [
9832
9845
  v("div", B4, [
9833
9846
  re.value && !a.project ? (f(), h("label", N4, [
9834
- v("span", R4, q(k.$t("activity.project.label")), 1),
9835
- I(be, {
9847
+ v("span", R4, q($.$t("activity.project.label")), 1),
9848
+ E(be, {
9836
9849
  options: re.value,
9837
9850
  value: (H = z(i).project) == null ? void 0 : H.id,
9838
9851
  searchable: !0,
9839
- disabled: !k.isEditable,
9840
- caret: k.isEditable,
9852
+ disabled: !$.isEditable,
9853
+ caret: $.isEditable,
9841
9854
  onChange: F
9842
9855
  }, null, 8, ["options", "value", "disabled", "caret"])
9843
9856
  ])) : T("", !0),
9844
- M.value ? (f(), h("label", U4, [
9845
- v("span", j4, q(k.$t("activity.milestone.label")), 1),
9846
- I(be, {
9847
- options: M.value,
9857
+ k.value ? (f(), h("label", U4, [
9858
+ v("span", j4, q($.$t("activity.milestone.label")), 1),
9859
+ E(be, {
9860
+ options: k.value,
9848
9861
  value: (O = z(i).milestone) == null ? void 0 : O.id,
9849
9862
  searchable: !0,
9850
- disabled: !k.isEditable,
9851
- caret: k.isEditable,
9863
+ disabled: !$.isEditable,
9864
+ caret: $.isEditable,
9852
9865
  onChange: j
9853
9866
  }, null, 8, ["options", "value", "disabled", "caret"])
9854
9867
  ])) : T("", !0),
9855
9868
  ae.value ? (f(), h("label", Z4, [
9856
- v("span", F4, q(k.$t("activity.status.label")), 1),
9857
- I(be, {
9869
+ v("span", F4, q($.$t("activity.status.label")), 1),
9870
+ E(be, {
9858
9871
  options: ae.value,
9859
9872
  value: (R = z(i).status) == null ? void 0 : R.id,
9860
9873
  "can-clear": !1,
9861
9874
  "can-deselect": !1,
9862
- disabled: !k.isEditable,
9863
- caret: k.isEditable,
9875
+ disabled: !$.isEditable,
9876
+ caret: $.isEditable,
9864
9877
  onChange: oe
9865
9878
  }, null, 8, ["options", "value", "disabled", "caret"])
9866
9879
  ])) : T("", !0)
@@ -9870,9 +9883,9 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9870
9883
  default: U((H) => [
9871
9884
  v("div", q4, [
9872
9885
  v("label", z4, [
9873
- v("span", W4, q(k.$t("activity.deadline.label")), 1),
9886
+ v("span", W4, q($.$t("activity.deadline.label")), 1),
9874
9887
  tt(v("input", {
9875
- "onUpdate:modelValue": K[5] || (K[5] = (O) => W.value = O),
9888
+ "onUpdate:modelValue": Y[6] || (Y[6] = (O) => W.value = O),
9876
9889
  class: "ao-field__input",
9877
9890
  type: "date"
9878
9891
  }, null, 512), [
@@ -9885,7 +9898,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9885
9898
  ])
9886
9899
  ])
9887
9900
  ]),
9888
- x(k.$slots, "activityDetailsBody", Ht(Pt(H)))
9901
+ x($.$slots, "activityDetailsBody", Ht(Pt(H)))
9889
9902
  ]),
9890
9903
  _: 3
9891
9904
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : T("", !0)
@@ -9960,7 +9973,7 @@ const ft = {
9960
9973
  }
9961
9974
  ]
9962
9975
  }
9963
- ], K4 = { class: "ao-templates" }, G4 = /* @__PURE__ */ Y({
9976
+ ], K4 = { class: "ao-templates" }, G4 = /* @__PURE__ */ K({
9964
9977
  __name: "AoTemplatesList",
9965
9978
  props: {
9966
9979
  templates: {}
@@ -10001,9 +10014,9 @@ const ft = {
10001
10014
  }
10002
10015
  };
10003
10016
  return (l, d) => (f(), h("div", K4, [
10004
- I(d1, null, {
10017
+ E(d1, null, {
10005
10018
  secondary: U(() => [
10006
- I(fe, {
10019
+ E(de, {
10007
10020
  label: l.$t("templates.new"),
10008
10021
  color: "primary",
10009
10022
  "icon-name": "Add",
@@ -10013,7 +10026,7 @@ const ft = {
10013
10026
  ]),
10014
10027
  _: 1
10015
10028
  }),
10016
- I(z(Qe), {
10029
+ E(z(Qe), {
10017
10030
  "model-value": l.templates,
10018
10031
  class: "ao-templates__list",
10019
10032
  "item-key": "id",
@@ -10023,7 +10036,7 @@ const ft = {
10023
10036
  item: U(({ element: r }) => {
10024
10037
  var c;
10025
10038
  return [
10026
- I(P0, {
10039
+ E(P0, {
10027
10040
  id: r.id,
10028
10041
  title: r.name,
10029
10042
  phases: r.phases,
@@ -10044,7 +10057,7 @@ const ft = {
10044
10057
  ]));
10045
10058
  }
10046
10059
  });
10047
- const x4 = { class: "ao-field__label" }, X4 = /* @__PURE__ */ Y({
10060
+ const x4 = { class: "ao-field__label" }, X4 = /* @__PURE__ */ K({
10048
10061
  __name: "AoField",
10049
10062
  props: {
10050
10063
  label: {},
@@ -10058,7 +10071,7 @@ const x4 = { class: "ao-field__label" }, X4 = /* @__PURE__ */ Y({
10058
10071
  x(e.$slots, "default")
10059
10072
  ], 2));
10060
10073
  }
10061
- }), Q4 = ["type", "value", "disabled", "readonly"], f8 = /* @__PURE__ */ Y({
10074
+ }), Q4 = ["type", "value", "disabled", "readonly"], f8 = /* @__PURE__ */ K({
10062
10075
  __name: "AoInputField",
10063
10076
  props: {
10064
10077
  label: { default: "" },
@@ -10090,7 +10103,7 @@ const x4 = { class: "ao-field__label" }, X4 = /* @__PURE__ */ Y({
10090
10103
  _: 1
10091
10104
  }, 8, ["label"]));
10092
10105
  }
10093
- }), J4 = { class: "ao-field" }, e8 = { class: "ao-field__label" }, t8 = ["checked", "disabled"], v8 = /* @__PURE__ */ Y({
10106
+ }), J4 = { class: "ao-field" }, e8 = { class: "ao-field__label" }, t8 = ["checked", "disabled"], v8 = /* @__PURE__ */ K({
10094
10107
  __name: "AoCheckboxField",
10095
10108
  props: {
10096
10109
  label: { default: "" },