@26lights/orcha 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,13 +1,13 @@
1
- import { defineComponent as K, openBlock as c, createBlock as R, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as x, renderSlot as X, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as e1, createVNode as S, normalizeStyle as ca, withModifiers as _e, createSlots as t1, 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 a1, guardReactiveProps as s1, 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 Y, openBlock as c, createBlock as N, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as G, renderSlot as x, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as e1, createVNode as S, normalizeStyle as ca, withModifiers as _e, createSlots as t1, 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 a1, guardReactiveProps as s1, 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__ */ K({
4
+ const o8 = /* @__PURE__ */ Y({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
8
8
  },
9
9
  setup(a) {
10
- return (e, t) => (c(), R(q(ys), Ee({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, t) => (c(), N(q(ys), Ee({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), P = (a, e) => {
13
13
  const t = a.__vccOpts || a;
@@ -614,7 +614,7 @@ const Ul = /* @__PURE__ */ P(Hl, [["render", Rl]]), jl = {}, Zl = {
614
614
  function zl(a, e) {
615
615
  return c(), m("svg", Zl, ql);
616
616
  }
617
- const Wl = /* @__PURE__ */ P(jl, [["render", zl]]), Yl = K({
617
+ const Wl = /* @__PURE__ */ P(jl, [["render", zl]]), Yl = Y({
618
618
  name: "LoadingIcon"
619
619
  });
620
620
  const I1 = (a) => (us("data-v-ad6da4a9"), a = a(), ds(), a), Kl = {
@@ -1146,7 +1146,7 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1146
1146
  }, va = {
1147
1147
  ROUND: "round",
1148
1148
  ROUNDED: "rounded"
1149
- }, ce = /* @__PURE__ */ K({
1149
+ }, ce = /* @__PURE__ */ Y({
1150
1150
  __name: "AoIcon",
1151
1151
  props: {
1152
1152
  name: {},
@@ -1154,15 +1154,15 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1154
1154
  },
1155
1155
  setup(a) {
1156
1156
  const e = a, t = b(() => ld[e.name]);
1157
- return (n, s) => (c(), R(Xe(t.value), {
1158
- class: x(["ao-icon", `ao-icon--${n.size}`])
1157
+ return (n, s) => (c(), N(Xe(t.value), {
1158
+ class: G(["ao-icon", `ao-icon--${n.size}`])
1159
1159
  }, null, 8, ["class"]));
1160
1160
  }
1161
1161
  });
1162
1162
  const dd = ["type"], cd = {
1163
1163
  key: 0,
1164
1164
  class: "ao-button__label"
1165
- }, fe = /* @__PURE__ */ K({
1165
+ }, fe = /* @__PURE__ */ Y({
1166
1166
  __name: "AoButton",
1167
1167
  props: {
1168
1168
  label: { default: () => "" },
@@ -1180,7 +1180,7 @@ const dd = ["type"], cd = {
1180
1180
  const e = a, t = b(() => e.size), n = b(() => e.isLoading ? "Loading" : e.iconName);
1181
1181
  return (s, o) => (c(), m("button", {
1182
1182
  type: s.type,
1183
- class: x([
1183
+ class: G([
1184
1184
  "ao-button",
1185
1185
  `ao-button--${s.variant}`,
1186
1186
  s.color ? `ao-button--${s.color}` : "",
@@ -1191,10 +1191,10 @@ const dd = ["type"], cd = {
1191
1191
  s.$attrs.disabled ? "ao-button--is-disabled" : ""
1192
1192
  ])
1193
1193
  }, [
1194
- X(s.$slots, "default", {}, () => [
1194
+ x(s.$slots, "default", {}, () => [
1195
1195
  s.label ? (c(), m("span", cd, Z(s.label), 1)) : k("", !0)
1196
1196
  ]),
1197
- n.value ? (c(), R(ce, {
1197
+ n.value ? (c(), N(ce, {
1198
1198
  key: 0,
1199
1199
  name: n.value,
1200
1200
  class: "ao-button__icon",
@@ -1232,7 +1232,7 @@ function pa(a) {
1232
1232
  onDiscard: i
1233
1233
  };
1234
1234
  }
1235
- const Ce = /* @__PURE__ */ K({
1235
+ const Ce = /* @__PURE__ */ Y({
1236
1236
  __name: "AoTitle",
1237
1237
  props: {
1238
1238
  id: {},
@@ -1266,7 +1266,7 @@ const Ce = /* @__PURE__ */ K({
1266
1266
  ($) => {
1267
1267
  $ || v();
1268
1268
  }
1269
- ), ($, A) => (c(), R(Xe(r.value), Ee({
1269
+ ), ($, A) => (c(), N(Xe(r.value), Ee({
1270
1270
  id: $.id,
1271
1271
  ref_key: "target",
1272
1272
  ref: n,
@@ -1315,7 +1315,7 @@ const fd = {
1315
1315
  }, yd = {
1316
1316
  key: 3,
1317
1317
  class: "ao-card-horiz__secondary"
1318
- }, ha = /* @__PURE__ */ K({
1318
+ }, ha = /* @__PURE__ */ Y({
1319
1319
  __name: "AoCardHoriz",
1320
1320
  props: {
1321
1321
  id: {},
@@ -1332,8 +1332,8 @@ const fd = {
1332
1332
  const t = (n) => {
1333
1333
  e("update:title", n);
1334
1334
  };
1335
- return (n, s) => (c(), R(Xe(n.tagName), {
1336
- class: x(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1335
+ return (n, s) => (c(), N(Xe(n.tagName), {
1336
+ class: G(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1337
1337
  }, {
1338
1338
  default: U(() => [
1339
1339
  n.isDraggable ? (c(), m("div", fd, [
@@ -1359,29 +1359,29 @@ const fd = {
1359
1359
  "is-editable": !0,
1360
1360
  "onUpdate:title": t
1361
1361
  }, null, 8, ["id", "title"]),
1362
- X(n.$slots, "subtitle", {}, () => [
1362
+ x(n.$slots, "subtitle", {}, () => [
1363
1363
  n.subtitle ? (c(), m("span", md, Z(n.subtitle), 1)) : k("", !0)
1364
1364
  ])
1365
1365
  ]),
1366
1366
  n.$slots.header ? (c(), m("div", Cd, [
1367
- X(n.$slots, "header")
1367
+ x(n.$slots, "header")
1368
1368
  ])) : k("", !0)
1369
1369
  ]),
1370
1370
  n.$slots.default ? (c(), m("div", _d, [
1371
- X(n.$slots, "default")
1371
+ x(n.$slots, "default")
1372
1372
  ])) : k("", !0),
1373
1373
  n.$slots.footer ? (c(), m("div", gd, [
1374
- X(n.$slots, "footer")
1374
+ x(n.$slots, "footer")
1375
1375
  ])) : k("", !0),
1376
1376
  n.$slots.secondary ? (c(), m("div", yd, [
1377
- X(n.$slots, "secondary")
1377
+ x(n.$slots, "secondary")
1378
1378
  ])) : k("", !0)
1379
1379
  ]),
1380
1380
  _: 3
1381
1381
  }, 8, ["class"]));
1382
1382
  }
1383
1383
  });
1384
- const O1 = /* @__PURE__ */ K({
1384
+ const O1 = /* @__PURE__ */ Y({
1385
1385
  __name: "AoTag",
1386
1386
  props: {
1387
1387
  label: {},
@@ -1397,7 +1397,7 @@ const O1 = /* @__PURE__ */ K({
1397
1397
  () => t.value === "button" ? { type: "button" } : {}
1398
1398
  );
1399
1399
  return (s, o) => (c(), m("div", {
1400
- class: x([
1400
+ class: G([
1401
1401
  "ao-tag",
1402
1402
  s.color ? `ao-tag--${s.color}` : "",
1403
1403
  s.clickable ? "ao-tag--clickable" : "",
@@ -1406,7 +1406,7 @@ const O1 = /* @__PURE__ */ K({
1406
1406
  ]),
1407
1407
  style: ca(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
1408
1408
  }, [
1409
- (c(), R(Xe(t.value), Ee({ class: "ao-tag__label" }, n.value, {
1409
+ (c(), N(Xe(t.value), Ee({ class: "ao-tag__label" }, n.value, {
1410
1410
  onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
1411
1411
  }), {
1412
1412
  default: U(() => [
@@ -2699,15 +2699,15 @@ var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|
2699
2699
  function Nc(a, e, t) {
2700
2700
  var n, s, o, i, l, r, d, u, v, p, C, w, $, A, g, y, L, j;
2701
2701
  ge(2, arguments);
2702
- var W = String(e), H = i1(), G = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (v = H.locale) === null || v === void 0 || (p = v.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2702
+ var W = String(e), H = i1(), X = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (v = H.locale) === null || v === void 0 || (p = v.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
2705
  var E = Ke((C = (w = ($ = (A = t == null ? void 0 : t.weekStartsOn) !== null && A !== void 0 ? A : t == null || (g = t.locale) === null || g === void 0 || (y = g.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && $ !== void 0 ? $ : H.weekStartsOn) !== null && w !== void 0 ? w : (L = H.locale) === null || L === void 0 || (j = L.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && C !== void 0 ? C : 0);
2706
2706
  if (!(E >= 0 && E <= 6))
2707
2707
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2708
- if (!G.localize)
2708
+ if (!X.localize)
2709
2709
  throw new RangeError("locale must contain localize property");
2710
- if (!G.formatLong)
2710
+ if (!X.formatLong)
2711
2711
  throw new RangeError("locale must contain formatLong property");
2712
2712
  var ee = Be(a);
2713
2713
  if (!_a(ee))
@@ -2715,13 +2715,13 @@ function Nc(a, e, t) {
2715
2715
  var de = Td(ee), h = Ed(ee, de), O = {
2716
2716
  firstWeekContainsDate: te,
2717
2717
  weekStartsOn: E,
2718
- locale: G,
2718
+ locale: X,
2719
2719
  _originalDate: ee
2720
2720
  }, z = W.match(Dc).map(function(ae) {
2721
2721
  var re = ae[0];
2722
2722
  if (re === "p" || re === "P") {
2723
2723
  var oe = Fd[re];
2724
- return oe(ae, G.formatLong);
2724
+ return oe(ae, X.formatLong);
2725
2725
  }
2726
2726
  return ae;
2727
2727
  }).join("").match(Vc).map(function(ae) {
@@ -2732,7 +2732,7 @@ function Nc(a, e, t) {
2732
2732
  return Rc(ae);
2733
2733
  var oe = Ud[re];
2734
2734
  if (oe)
2735
- return !(t != null && t.useAdditionalWeekYearTokens) && Yd(ae) && aa(ae, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Wd(ae) && aa(ae, e, String(a)), oe(h, ae, G.localize, O);
2735
+ return !(t != null && t.useAdditionalWeekYearTokens) && Yd(ae) && aa(ae, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Wd(ae) && aa(ae, e, String(a)), oe(h, ae, X.localize, O);
2736
2736
  if (re.match(Bc))
2737
2737
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
2738
2738
  return ae;
@@ -3642,7 +3642,7 @@ function v0(a, e) {
3642
3642
  const p0 = ["title"], h0 = {
3643
3643
  key: 0,
3644
3644
  className: "ao-avatar__initials"
3645
- }, m0 = ["src"], gt = /* @__PURE__ */ K({
3645
+ }, m0 = ["src"], gt = /* @__PURE__ */ Y({
3646
3646
  __name: "AoAvatar",
3647
3647
  props: {
3648
3648
  userName: {},
@@ -3657,7 +3657,7 @@ const p0 = ["title"], h0 = {
3657
3657
  };
3658
3658
  return (o, i) => (c(), m("div", {
3659
3659
  role: "img",
3660
- class: x(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
3660
+ class: G(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
3661
3661
  title: o.userName
3662
3662
  }, [
3663
3663
  o.avatarUrl ? k("", !0) : (c(), m("span", h0, Z(q(n)), 1)),
@@ -3666,7 +3666,7 @@ const p0 = ["title"], h0 = {
3666
3666
  className: "ao-avatar__image",
3667
3667
  src: o.avatarUrl
3668
3668
  }, null, 8, m0)) : k("", !0),
3669
- o.isClosable ? (c(), R(fe, {
3669
+ o.isClosable ? (c(), N(fe, {
3670
3670
  key: 2,
3671
3671
  "icon-name": "CloseRounded",
3672
3672
  class: "ao-avatar__close",
@@ -3686,7 +3686,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3686
3686
  }, E0 = { class: "ao-card-template__col-title" }, I0 = { class: "ao-card-template__col-label" }, O0 = { class: "ao-card-template__col-body" }, L0 = {
3687
3687
  key: 1,
3688
3688
  class: "ao-card-template__col ao-card-template__col--updated-by"
3689
- }, V0 = { class: "ao-card-template__col-title" }, D0 = { class: "ao-card-template__col-label" }, H0 = { class: "ao-card-template__col-body" }, P0 = /* @__PURE__ */ K({
3689
+ }, 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
3690
  __name: "AoCardTemplate",
3691
3691
  props: {
3692
3692
  id: {},
@@ -3702,7 +3702,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3702
3702
  const t = (n) => {
3703
3703
  e("updateTitle", n);
3704
3704
  };
3705
- return (n, s) => (c(), R(ha, {
3705
+ return (n, s) => (c(), N(ha, {
3706
3706
  id: n.id,
3707
3707
  title: n.title,
3708
3708
  "is-draggable": !0,
@@ -3737,7 +3737,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3737
3737
  f("span", k0, Z(n.$t("template.phases.title")), 1)
3738
3738
  ]),
3739
3739
  n.phases ? (c(), m("ul", A0, [
3740
- (c(!0), m(ve, null, ye(n.phases, (o) => (c(), R(O1, {
3740
+ (c(!0), m(ve, null, ye(n.phases, (o) => (c(), N(O1, {
3741
3741
  key: o.id,
3742
3742
  label: o.name || o.id,
3743
3743
  color: "primary",
@@ -3779,7 +3779,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3779
3779
  const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R0 = {
3780
3780
  key: 0,
3781
3781
  class: "ao-page-header-secondary"
3782
- }, d1 = /* @__PURE__ */ K({
3782
+ }, d1 = /* @__PURE__ */ Y({
3783
3783
  __name: "AoPageHeader",
3784
3784
  props: {
3785
3785
  canGoBack: { type: Boolean }
@@ -3788,16 +3788,16 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
3788
3788
  setup(a) {
3789
3789
  return (e, t) => (c(), m("header", B0, [
3790
3790
  f("div", N0, [
3791
- e.canGoBack ? (c(), R(fe, {
3791
+ e.canGoBack ? (c(), N(fe, {
3792
3792
  key: 0,
3793
3793
  "icon-name": "ArrowBackRounded",
3794
3794
  variant: "ghost",
3795
3795
  onClick: t[0] || (t[0] = (n) => e.$emit("goBack"))
3796
3796
  })) : k("", !0),
3797
- X(e.$slots, "primary")
3797
+ x(e.$slots, "primary")
3798
3798
  ]),
3799
3799
  e.$slots.secondary ? (c(), m("div", R0, [
3800
- X(e.$slots, "secondary")
3800
+ x(e.$slots, "secondary")
3801
3801
  ])) : k("", !0)
3802
3802
  ]));
3803
3803
  }
@@ -3805,7 +3805,7 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
3805
3805
  const U0 = ["type"], j0 = {
3806
3806
  key: 0,
3807
3807
  class: "ao-button-card__label"
3808
- }, Je = /* @__PURE__ */ K({
3808
+ }, Je = /* @__PURE__ */ Y({
3809
3809
  __name: "AoButtonCard",
3810
3810
  props: {
3811
3811
  label: { default: () => "" },
@@ -3821,17 +3821,17 @@ const U0 = ["type"], j0 = {
3821
3821
  const e = a, t = b(() => e.size), n = b(() => e.isLoading ? "Loading" : e.iconName);
3822
3822
  return (s, o) => (c(), m("button", {
3823
3823
  type: s.type,
3824
- class: x([
3824
+ class: G([
3825
3825
  "ao-button-card",
3826
3826
  `ao-button-card--${s.color}`,
3827
3827
  `ao-button-card--${s.corners}`,
3828
3828
  s.$attrs.disabled ? "ao-button-card--is-disabled" : ""
3829
3829
  ])
3830
3830
  }, [
3831
- X(s.$slots, "default", {}, () => [
3831
+ x(s.$slots, "default", {}, () => [
3832
3832
  s.label ? (c(), m("span", j0, Z(s.label), 1)) : k("", !0)
3833
3833
  ]),
3834
- n.value ? (c(), R(ce, {
3834
+ n.value ? (c(), N(ce, {
3835
3835
  key: 0,
3836
3836
  name: n.value,
3837
3837
  class: "ao-button-card__icon",
@@ -3843,7 +3843,7 @@ const U0 = ["type"], j0 = {
3843
3843
  const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3844
3844
  key: 0,
3845
3845
  class: "ao-card-template-item__subitem"
3846
- }, q0 = { class: "ao-card-template-item__subitem-number" }, z0 = { class: "ao-card-template-item__secondary" }, V1 = /* @__PURE__ */ K({
3846
+ }, q0 = { class: "ao-card-template-item__subitem-number" }, z0 = { class: "ao-card-template-item__secondary" }, V1 = /* @__PURE__ */ Y({
3847
3847
  __name: "AoCardTemplateItem",
3848
3848
  props: {
3849
3849
  milestones: {},
@@ -3863,7 +3863,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3863
3863
  }, o = () => {
3864
3864
  e("remove");
3865
3865
  };
3866
- return (i, l) => (c(), R(ha, { "onUpdate:title": t }, {
3866
+ return (i, l) => (c(), N(ha, { "onUpdate:title": t }, {
3867
3867
  footer: U(() => [
3868
3868
  f("ul", Z0, [
3869
3869
  (c(), m(ve, null, ye(n, (r) => (c(), m(ve, { key: r }, [
@@ -3892,7 +3892,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3892
3892
  }));
3893
3893
  }
3894
3894
  });
3895
- const W0 = /* @__PURE__ */ K({
3895
+ const W0 = /* @__PURE__ */ Y({
3896
3896
  __name: "AoCardTemplateItemPhase",
3897
3897
  props: {
3898
3898
  id: {},
@@ -3904,19 +3904,19 @@ const W0 = /* @__PURE__ */ K({
3904
3904
  var s;
3905
3905
  return (s = e.milestones) == null ? void 0 : s.length;
3906
3906
  }), n = b(() => e.milestones ? Ta(e.milestones) : 0);
3907
- return (s, o) => (c(), R(V1, Ee({
3907
+ return (s, o) => (c(), N(V1, Ee({
3908
3908
  id: s.id,
3909
3909
  title: s.name,
3910
3910
  activities: n.value,
3911
3911
  milestones: t.value
3912
3912
  }, s.$attrs), {
3913
3913
  default: U(() => [
3914
- X(s.$slots, "default")
3914
+ x(s.$slots, "default")
3915
3915
  ]),
3916
3916
  _: 3
3917
3917
  }, 16, ["id", "title", "activities", "milestones"]));
3918
3918
  }
3919
- }), Y0 = /* @__PURE__ */ K({
3919
+ }), Y0 = /* @__PURE__ */ Y({
3920
3920
  __name: "AoCardTemplateItemMilestone",
3921
3921
  props: {
3922
3922
  activities: {}
@@ -3926,14 +3926,14 @@ const W0 = /* @__PURE__ */ K({
3926
3926
  var n;
3927
3927
  return ((n = e.activities) == null ? void 0 : n.length) || 0;
3928
3928
  });
3929
- return (n, s) => (c(), R(V1, { activities: t.value }, {
3929
+ return (n, s) => (c(), N(V1, { activities: t.value }, {
3930
3930
  default: U(() => [
3931
- X(n.$slots, "default")
3931
+ x(n.$slots, "default")
3932
3932
  ]),
3933
3933
  _: 3
3934
3934
  }, 8, ["activities"]));
3935
3935
  }
3936
- }), K0 = { class: "ao-list__footer" }, G0 = /* @__PURE__ */ K({
3936
+ }), K0 = { class: "ao-list__footer" }, G0 = /* @__PURE__ */ Y({
3937
3937
  __name: "AoTemplateDetailsMilestones",
3938
3938
  props: {
3939
3939
  templateId: {},
@@ -3957,7 +3957,7 @@ const W0 = /* @__PURE__ */ K({
3957
3957
  });
3958
3958
  }
3959
3959
  };
3960
- return (l, r) => l.phase ? (c(), R(q(Qe), {
3960
+ return (l, r) => l.phase ? (c(), N(q(Qe), {
3961
3961
  key: 0,
3962
3962
  "model-value": l.phase.milestones,
3963
3963
  class: "ao-templates__list",
@@ -3974,7 +3974,7 @@ const W0 = /* @__PURE__ */ K({
3974
3974
  })
3975
3975
  ]),
3976
3976
  item: U(({ element: d }) => [
3977
- (c(), R(Y0, {
3977
+ (c(), N(Y0, {
3978
3978
  id: d.id,
3979
3979
  key: d.id,
3980
3980
  title: d.name,
@@ -4002,7 +4002,7 @@ const W0 = /* @__PURE__ */ K({
4002
4002
  _: 1
4003
4003
  }, 8, ["model-value", "title"])) : k("", !0);
4004
4004
  }
4005
- }), x0 = /* @__PURE__ */ K({
4005
+ }), x0 = /* @__PURE__ */ Y({
4006
4006
  __name: "AoCardTemplateItemActivity",
4007
4007
  props: {
4008
4008
  name: {},
@@ -4013,14 +4013,14 @@ const W0 = /* @__PURE__ */ K({
4013
4013
  var n;
4014
4014
  return ((n = e.tasks) == null ? void 0 : n.length) || 0;
4015
4015
  });
4016
- return (n, s) => (c(), R(V1, { tasks: t.value }, {
4016
+ return (n, s) => (c(), N(V1, { tasks: t.value }, {
4017
4017
  default: U(() => [
4018
- X(n.$slots, "default")
4018
+ x(n.$slots, "default")
4019
4019
  ]),
4020
4020
  _: 3
4021
4021
  }, 8, ["tasks"]));
4022
4022
  }
4023
- }), X0 = { class: "ao-list__footer" }, Q0 = /* @__PURE__ */ K({
4023
+ }), X0 = { class: "ao-list__footer" }, Q0 = /* @__PURE__ */ Y({
4024
4024
  __name: "AoTemplateDetailsActivities",
4025
4025
  props: {
4026
4026
  templateId: {},
@@ -4047,7 +4047,7 @@ const W0 = /* @__PURE__ */ K({
4047
4047
  });
4048
4048
  }
4049
4049
  };
4050
- return (l, r) => l.milestone ? (c(), R(q(Qe), {
4050
+ return (l, r) => l.milestone ? (c(), N(q(Qe), {
4051
4051
  key: 0,
4052
4052
  "model-value": l.milestone.activities,
4053
4053
  title: l.$t("template.activities.title"),
@@ -4064,7 +4064,7 @@ const W0 = /* @__PURE__ */ K({
4064
4064
  })
4065
4065
  ]),
4066
4066
  item: U(({ element: d }) => [
4067
- (c(), R(x0, {
4067
+ (c(), N(x0, {
4068
4068
  id: d.id,
4069
4069
  key: d.id,
4070
4070
  title: d.name,
@@ -4094,7 +4094,7 @@ const W0 = /* @__PURE__ */ K({
4094
4094
  }, s3 = { class: "ao-modal__body" }, n3 = {
4095
4095
  key: 0,
4096
4096
  class: "ao-modal__footer"
4097
- }, D1 = /* @__PURE__ */ K({
4097
+ }, D1 = /* @__PURE__ */ Y({
4098
4098
  __name: "AoModal",
4099
4099
  props: {
4100
4100
  size: { default: "md" }
@@ -4102,7 +4102,7 @@ const W0 = /* @__PURE__ */ K({
4102
4102
  emits: ["close"],
4103
4103
  setup(a) {
4104
4104
  return (e, t) => (c(), m("div", {
4105
- class: x(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4105
+ class: G(["ao-modal__wrapper", `ao-modal__wrapper--${e.size}`])
4106
4106
  }, [
4107
4107
  f("div", {
4108
4108
  class: "ao-modal__backdrop",
@@ -4119,14 +4119,14 @@ const W0 = /* @__PURE__ */ K({
4119
4119
  })
4120
4120
  ]),
4121
4121
  e.$slots.header ? (c(), m("header", a3, [
4122
- X(e.$slots, "header")
4122
+ x(e.$slots, "header")
4123
4123
  ])) : k("", !0)
4124
4124
  ]),
4125
4125
  f("div", s3, [
4126
- X(e.$slots, "default")
4126
+ x(e.$slots, "default")
4127
4127
  ]),
4128
4128
  e.$slots.footer ? (c(), m("footer", n3, [
4129
- X(e.$slots, "footer")
4129
+ x(e.$slots, "footer")
4130
4130
  ])) : k("", !0)
4131
4131
  ])
4132
4132
  ], 2));
@@ -4406,16 +4406,16 @@ const h3 = function(a) {
4406
4406
  return {};
4407
4407
  const g = mt(s), y = mt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), j = p || (y || !$ ? [Xt(l)] : u3(l));
4408
4408
  !p && w !== "none" && j.push(...c3(l, $, w, L));
4409
- const W = [l, ...j], H = await Oa(e, A), G = [];
4409
+ const W = [l, ...j], H = await Oa(e, A), X = [];
4410
4410
  let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4411
- if (u && G.push(H[g]), v) {
4411
+ if (u && X.push(H[g]), v) {
4412
4412
  const h = r3(s, i, L);
4413
- G.push(H[h[0]], H[h[1]]);
4413
+ X.push(H[h[0]], H[h[1]]);
4414
4414
  }
4415
4415
  if (te = [...te, {
4416
4416
  placement: s,
4417
- overflows: G
4418
- }], !G.every((h) => h <= 0)) {
4417
+ overflows: X
4418
+ }], !X.every((h) => h <= 0)) {
4419
4419
  var E, ee;
4420
4420
  const h = (((E = o.flip) == null ? void 0 : E.index) || 0) + 1, O = W[h];
4421
4421
  if (O)
@@ -4481,8 +4481,8 @@ const h3 = function(a) {
4481
4481
  L = u || y ? Lt(A, H) : H;
4482
4482
  }
4483
4483
  if (y && !u) {
4484
- const H = Ae(r.left, 0), G = Ae(r.right, 0), te = Ae(r.top, 0), E = Ae(r.bottom, 0);
4485
- v ? j = p - 2 * (H !== 0 || G !== 0 ? H + G : Ae(r.left, r.right)) : L = C - 2 * (te !== 0 || E !== 0 ? te + E : Ae(r.top, r.bottom));
4484
+ const H = Ae(r.left, 0), X = Ae(r.right, 0), te = Ae(r.top, 0), E = Ae(r.bottom, 0);
4485
+ v ? j = p - 2 * (H !== 0 || X !== 0 ? H + X : Ae(r.left, r.right)) : L = C - 2 * (te !== 0 || E !== 0 ? te + E : Ae(r.top, r.bottom));
4486
4486
  }
4487
4487
  await i({
4488
4488
  ...e,
@@ -5088,7 +5088,7 @@ function F3(a, e, t) {
5088
5088
  clearOnSearch: j,
5089
5089
  clearOnSelect: W,
5090
5090
  valueProp: H,
5091
- allowAbsent: G,
5091
+ allowAbsent: X,
5092
5092
  groupLabel: te,
5093
5093
  canDeselect: E,
5094
5094
  max: ee,
@@ -5104,8 +5104,8 @@ function F3(a, e, t) {
5104
5104
  onCreate: F,
5105
5105
  disabledProp: ne,
5106
5106
  searchStart: M,
5107
- searchFilter: Y
5108
- } = $e(a), ie = st().proxy, B = t.iv, T = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, ja = t.pointer, it = t.clearPointer, Za = t.focus, Fa = t.deactivate, ot = t.close, qa = t.localize, yt = J([]), Fe = J([]), Le = J(!1), p1 = J(null), h1 = J(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => r.value || d.value || !1), za = b(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
5107
+ searchFilter: K
5108
+ } = $e(a), ie = st().proxy, B = t.iv, T = t.ev, R = t.search, pe = t.clearSearch, Me = t.update, ja = t.pointer, it = t.clearPointer, Za = t.focus, Fa = t.deactivate, ot = t.close, qa = t.localize, yt = J([]), Fe = J([]), Le = J(!1), p1 = J(null), h1 = J(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => r.value || d.value || !1), za = b(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
5109
5109
  if (z.value) {
5110
5110
  let _ = Rt.value || /* istanbul ignore next */
5111
5111
  [], D = [];
@@ -5165,10 +5165,10 @@ function F3(a, e, t) {
5165
5165
  case "tags":
5166
5166
  return !De(B.value) && B.value.length > 0;
5167
5167
  }
5168
- }), Ya = b(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 && bt.value.length == 0 && (N.value && z.value || !z.value)), lt = b(() => F1.value === !1 || !N.value ? [] : ns(N.value) !== -1 ? [] : [{
5169
- [H.value]: N.value,
5170
- [Ve.value]: N.value,
5171
- [u.value]: N.value,
5168
+ }), Ya = b(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 && bt.value.length == 0 && (R.value && z.value || !z.value)), lt = b(() => F1.value === !1 || !R.value ? [] : ns(R.value) !== -1 ? [] : [{
5169
+ [H.value]: R.value,
5170
+ [Ve.value]: R.value,
5171
+ [u.value]: R.value,
5172
5172
  __CREATE__: !0
5173
5173
  }]), Ve = b(() => o.value || u.value), xa = b(() => {
5174
5174
  switch (s.value) {
@@ -5284,14 +5284,14 @@ function F3(a, e, t) {
5284
5284
  ), is = (_) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(_), os = (_) => {
5285
5285
  yt.value.push(_);
5286
5286
  }, ls = (_) => I.value ? _.filter(
5287
- (D) => N.value ? D.__VISIBLE__.length : D[oe.value].length
5288
- ) : _.filter((D) => N.value ? D.__VISIBLE__.length : !0), y1 = (_, D = !0) => {
5287
+ (D) => R.value ? D.__VISIBLE__.length : D[oe.value].length
5288
+ ) : _.filter((D) => R.value ? D.__VISIBLE__.length : !0), y1 = (_, D = !0) => {
5289
5289
  let se = _;
5290
- if (N.value && L.value) {
5291
- let he = Y.value;
5290
+ if (R.value && L.value) {
5291
+ let he = K.value;
5292
5292
  he || (he = (wt, a8) => {
5293
5293
  let X1 = k1(qa(wt[Ve.value]), de.value);
5294
- return M.value ? X1.startsWith(k1(N.value, de.value)) : X1.indexOf(k1(N.value, de.value)) !== -1;
5294
+ return M.value ? X1.startsWith(k1(R.value, de.value)) : X1.indexOf(k1(R.value, de.value)) !== -1;
5295
5295
  }), se = se.filter(he);
5296
5296
  }
5297
5297
  return l.value && D && (se = se.filter((he) => !is(he))), se;
@@ -5304,7 +5304,7 @@ function F3(a, e, t) {
5304
5304
  }, Ut = () => {
5305
5305
  De(T.value) || (B.value = Zt(T.value));
5306
5306
  }, jt = (_) => (Le.value = !0, new Promise((D, se) => {
5307
- n.value(N.value, ie).then((he) => {
5307
+ n.value(R.value, ie).then((he) => {
5308
5308
  Fe.value = he || [], typeof _ == "function" && _(he), Le.value = !1;
5309
5309
  }).catch((he) => {
5310
5310
  console.error(he), Fe.value = [], Le.value = !1;
@@ -5329,19 +5329,19 @@ function F3(a, e, t) {
5329
5329
  });
5330
5330
  }, rs = (_) => {
5331
5331
  jt(_);
5332
- }, Zt = (_) => De(_) ? s.value === "single" ? {} : [] : w.value ? _ : s.value === "single" ? Re(_) || (G.value ? {
5332
+ }, Zt = (_) => De(_) ? s.value === "single" ? {} : [] : w.value ? _ : s.value === "single" ? Re(_) || (X.value ? {
5333
5333
  [u.value]: _,
5334
5334
  [H.value]: _,
5335
5335
  [Ve.value]: _
5336
- } : {}) : _.filter((D) => !!Re(D) || G.value).map((D) => Re(D) || {
5336
+ } : {}) : _.filter((D) => !!Re(D) || X.value).map((D) => Re(D) || {
5337
5337
  [u.value]: D,
5338
5338
  [H.value]: D,
5339
5339
  [Ve.value]: D
5340
5340
  }), x1 = () => {
5341
- p1.value = ue(N, (_) => {
5341
+ p1.value = ue(R, (_) => {
5342
5342
  _.length < y.value || !_ && y.value !== 0 || (Le.value = !0, j.value && (Fe.value = []), setTimeout(() => {
5343
- _ == N.value && n.value(N.value, ie).then((D) => {
5344
- (_ == N.value || !N.value) && (Fe.value = D, ja.value = bt.value.filter((se) => se[ne.value] !== !0)[0] || null, Le.value = !1);
5343
+ _ == R.value && n.value(R.value, ie).then((D) => {
5344
+ (_ == R.value || !R.value) && (Fe.value = D, ja.value = bt.value.filter((se) => se[ne.value] !== !0)[0] || null, Le.value = !1);
5345
5345
  }).catch(
5346
5346
  /* istanbul ignore next */
5347
5347
  (D) => {
@@ -5416,41 +5416,41 @@ function q3(a, e, t) {
5416
5416
  groupSelect: d,
5417
5417
  disabledProp: u,
5418
5418
  groupOptions: v
5419
- } = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, y = t.setPointer, L = t.clearPointer, j = t.multiselect, W = t.isOpen, H = b(() => p.value.filter((T) => !T[u.value])), G = b(() => C.value.filter((T) => !T[u.value])), te = b(() => r.value !== "single" && d.value), E = b(() => g.value && g.value.group), ee = b(() => ie(g.value)), de = b(() => {
5419
+ } = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, y = t.setPointer, L = t.clearPointer, j = t.multiselect, W = t.isOpen, H = b(() => p.value.filter((T) => !T[u.value])), X = b(() => C.value.filter((T) => !T[u.value])), te = b(() => r.value !== "single" && d.value), E = b(() => g.value && g.value.group), ee = b(() => ie(g.value)), de = b(() => {
5420
5420
  const T = E.value ? g.value : (
5421
5421
  /* istanbul ignore next */
5422
5422
  ie(g.value)
5423
- ), N = G.value.map((Me) => Me[i.value]).indexOf(T[i.value]);
5424
- let pe = G.value[N - 1];
5423
+ ), R = X.value.map((Me) => Me[i.value]).indexOf(T[i.value]);
5424
+ let pe = X.value[R - 1];
5425
5425
  return pe === void 0 && (pe = O.value), pe;
5426
5426
  }), h = b(() => {
5427
- let T = G.value.map((N) => N.label).indexOf(E.value ? g.value[i.value] : ie(g.value)[i.value]) + 1;
5428
- return G.value.length <= T && (T = 0), G.value[T];
5429
- }), O = b(() => [...G.value].slice(-1)[0]), z = b(() => g.value.__VISIBLE__.filter((T) => !T[u.value])[0]), ae = b(() => {
5430
- const T = ee.value.__VISIBLE__.filter((N) => !N[u.value]);
5431
- return T[T.map((N) => N[n.value]).indexOf(g.value[n.value]) - 1];
5427
+ let T = X.value.map((R) => R.label).indexOf(E.value ? g.value[i.value] : ie(g.value)[i.value]) + 1;
5428
+ return X.value.length <= T && (T = 0), X.value[T];
5429
+ }), O = b(() => [...X.value].slice(-1)[0]), z = b(() => g.value.__VISIBLE__.filter((T) => !T[u.value])[0]), ae = b(() => {
5430
+ const T = ee.value.__VISIBLE__.filter((R) => !R[u.value]);
5431
+ return T[T.map((R) => R[n.value]).indexOf(g.value[n.value]) - 1];
5432
5432
  }), re = b(() => {
5433
- const T = ie(g.value).__VISIBLE__.filter((N) => !N[u.value]);
5434
- return T[T.map((N) => N[n.value]).indexOf(g.value[n.value]) + 1];
5433
+ const T = ie(g.value).__VISIBLE__.filter((R) => !R[u.value]);
5434
+ return T[T.map((R) => R[n.value]).indexOf(g.value[n.value]) + 1];
5435
5435
  }), oe = b(() => [...de.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), I = b(() => [...O.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), V = (T) => g.value && (!T.group && g.value[n.value] === T[n.value] || T.group !== void 0 && g.value[i.value] === T[i.value]) ? !0 : void 0, F = () => {
5436
5436
  y(H.value[0] || null);
5437
5437
  }, ne = () => {
5438
5438
  !g.value || g.value[u.value] === !0 || (E.value ? $(g.value) : w(g.value));
5439
5439
  }, M = () => {
5440
5440
  if (g.value === null)
5441
- y((l.value && te.value ? G.value[0].__CREATE__ ? H.value[0] : G.value[0] : H.value[0]) || null);
5441
+ y((l.value && te.value ? X.value[0].__CREATE__ ? H.value[0] : X.value[0] : H.value[0]) || null);
5442
5442
  else if (l.value && te.value) {
5443
5443
  let T = E.value ? z.value : re.value;
5444
5444
  T === void 0 && (T = h.value, T.__CREATE__ && (T = T[v.value][0])), y(T || /* istanbul ignore next */
5445
5445
  null);
5446
5446
  } else {
5447
- let T = H.value.map((N) => N[n.value]).indexOf(g.value[n.value]) + 1;
5447
+ let T = H.value.map((R) => R[n.value]).indexOf(g.value[n.value]) + 1;
5448
5448
  H.value.length <= T && (T = 0), y(H.value[T] || null);
5449
5449
  }
5450
5450
  Oe(() => {
5451
5451
  B();
5452
5452
  });
5453
- }, Y = () => {
5453
+ }, K = () => {
5454
5454
  if (g.value === null) {
5455
5455
  let T = H.value[H.value.length - 1];
5456
5456
  l.value && te.value && (T = I.value, T === void 0 && (T = O.value)), y(T || null);
@@ -5459,29 +5459,29 @@ function q3(a, e, t) {
5459
5459
  T === void 0 && (T = E.value ? de.value : ee.value, T.__CREATE__ && (T = oe.value, T === void 0 && (T = de.value))), y(T || /* istanbul ignore next */
5460
5460
  null);
5461
5461
  } else {
5462
- let T = H.value.map((N) => N[n.value]).indexOf(g.value[n.value]) - 1;
5462
+ let T = H.value.map((R) => R[n.value]).indexOf(g.value[n.value]) - 1;
5463
5463
  T < 0 && (T = H.value.length - 1), y(H.value[T] || null);
5464
5464
  }
5465
5465
  Oe(() => {
5466
5466
  B();
5467
5467
  });
5468
- }, ie = (T) => G.value.find((N) => N.__VISIBLE__.map((pe) => pe[n.value]).indexOf(T[n.value]) !== -1), B = () => {
5468
+ }, ie = (T) => X.value.find((R) => R.__VISIBLE__.map((pe) => pe[n.value]).indexOf(T[n.value]) !== -1), B = () => {
5469
5469
  let T = j.value.querySelector("[data-pointed]");
5470
5470
  if (!T)
5471
5471
  return;
5472
- let N = T.parentElement.parentElement;
5473
- l.value && (N = E.value ? T.parentElement.parentElement.parentElement : T.parentElement.parentElement.parentElement.parentElement), T.offsetTop + T.offsetHeight > N.clientHeight + N.scrollTop && (N.scrollTop = T.offsetTop + T.offsetHeight - N.clientHeight), T.offsetTop < N.scrollTop && (N.scrollTop = T.offsetTop);
5472
+ let R = T.parentElement.parentElement;
5473
+ l.value && (R = E.value ? T.parentElement.parentElement.parentElement : T.parentElement.parentElement.parentElement.parentElement), T.offsetTop + T.offsetHeight > R.clientHeight + R.scrollTop && (R.scrollTop = T.offsetTop + T.offsetHeight - R.clientHeight), T.offsetTop < R.scrollTop && (R.scrollTop = T.offsetTop);
5474
5474
  };
5475
5475
  return ue(A, (T) => {
5476
5476
  o.value && (T.length && s.value ? F() : L());
5477
5477
  }), ue(W, (T) => {
5478
5478
  if (T) {
5479
- let N = j.value.querySelectorAll("[data-selected]")[0];
5480
- if (!N)
5479
+ let R = j.value.querySelectorAll("[data-selected]")[0];
5480
+ if (!R)
5481
5481
  return;
5482
- let pe = N.parentElement.parentElement;
5482
+ let pe = R.parentElement.parentElement;
5483
5483
  Oe(() => {
5484
- pe.scrollTop > 0 || (pe.scrollTop = N.offsetTop);
5484
+ pe.scrollTop > 0 || (pe.scrollTop = R.offsetTop);
5485
5485
  });
5486
5486
  }
5487
5487
  }), {
@@ -5491,7 +5491,7 @@ function q3(a, e, t) {
5491
5491
  setPointerFirst: F,
5492
5492
  selectPointer: ne,
5493
5493
  forwardPointer: M,
5494
- backwardPointer: Y
5494
+ backwardPointer: K
5495
5495
  };
5496
5496
  }
5497
5497
  function z3(a, e, t) {
@@ -5560,7 +5560,7 @@ function Y3(a, e, t) {
5560
5560
  createTag: v,
5561
5561
  createOption: p,
5562
5562
  reverse: C
5563
- } = $e(a), w = st().proxy, $ = t.iv, A = t.update, g = t.search, y = t.setPointer, L = t.selectPointer, j = t.backwardPointer, W = t.forwardPointer, H = t.multiselect, G = t.wrapper, te = t.tags, E = t.isOpen, ee = t.open, de = t.blur, h = t.fo, O = b(() => v.value || p.value || !1), z = b(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
5563
+ } = $e(a), w = st().proxy, $ = t.iv, A = t.update, g = t.search, y = t.setPointer, L = t.selectPointer, j = t.backwardPointer, W = t.forwardPointer, H = t.multiselect, X = t.wrapper, te = t.tags, E = t.isOpen, ee = t.open, de = t.blur, h = t.fo, O = b(() => v.value || p.value || !1), z = b(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
5564
5564
  n.value === "tags" && !l.value && O.value && i.value && !d.value && y(h.value[h.value.map((V) => V[r.value]).indexOf(g.value)]);
5565
5565
  }, re = (V) => {
5566
5566
  let F = V.length - 1;
@@ -5582,7 +5582,7 @@ function Y3(a, e, t) {
5582
5582
  if (V.preventDefault(), V.keyCode === 229)
5583
5583
  return;
5584
5584
  if (ne !== -1 && ne !== void 0) {
5585
- A([...$.value].filter((M, Y) => Y !== ne)), ne === F.length - 1 && (F.length - 1 ? F[F.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : G.value.focus());
5585
+ A([...$.value].filter((M, K) => K !== ne)), ne === F.length - 1 && (F.length - 1 ? F[F.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : X.value.focus());
5586
5586
  return;
5587
5587
  }
5588
5588
  if (z.value.indexOf("enter") === -1 && O.value)
@@ -5628,7 +5628,7 @@ function Y3(a, e, t) {
5628
5628
  case "ArrowRight":
5629
5629
  if (ne === -1 || V.shiftKey || n.value !== "tags" || !$.value || !$.value.length)
5630
5630
  return;
5631
- V.preventDefault(), F.length > ne + 1 ? F[ne + 1].focus() : i.value ? te.value.querySelector("input").focus() : i.value || G.value.focus();
5631
+ V.preventDefault(), F.length > ne + 1 ? F[ne + 1].focus() : i.value ? te.value.querySelector("input").focus() : i.value || X.value.focus();
5632
5632
  break;
5633
5633
  }
5634
5634
  },
@@ -5799,7 +5799,7 @@ function x3(a, e, t) {
5799
5799
  }), H = b(() => {
5800
5800
  let h = { ...d.value };
5801
5801
  return u.value && (h["aria-labelledby"] = h["aria-labelledby"] ? `${A.value} ${h["aria-labelledby"]}` : A.value, W.value && h["aria-label"] && (h["aria-label"] = `${W.value}, ${h["aria-label"]}`)), h;
5802
- }), G = (h) => {
5802
+ }), X = (h) => {
5803
5803
  let O = [];
5804
5804
  return s && s.value && O.push(s.value), O.push("multiselect-option"), O.push(h[o.value]), O.join("-");
5805
5805
  }, te = (h) => {
@@ -5825,7 +5825,7 @@ function x3(a, e, t) {
5825
5825
  ariaPlaceholder: L,
5826
5826
  ariaMultiselectable: j,
5827
5827
  ariaActiveDescendant: y,
5828
- ariaOptionId: G,
5828
+ ariaOptionId: X,
5829
5829
  ariaOptionLabel: E,
5830
5830
  ariaGroupId: te,
5831
5831
  ariaGroupLabel: ee,
@@ -6206,7 +6206,7 @@ const J3 = ["id", "dir"], e5 = ["tabindex", "aria-controls", "aria-placeholder",
6206
6206
  function g5(a, e, t, n, s, o) {
6207
6207
  return c(), m("div", {
6208
6208
  ref: "multiselect",
6209
- class: x(a.classList.container),
6209
+ class: G(a.classList.container),
6210
6210
  id: t.searchable ? void 0 : t.id,
6211
6211
  dir: t.rtl ? "rtl" : void 0,
6212
6212
  onFocusin: e[10] || (e[10] = (...i) => a.handleFocusIn && a.handleFocusIn(...i)),
@@ -6254,20 +6254,20 @@ function g5(a, e, t, n, s, o) {
6254
6254
  "div",
6255
6255
  {
6256
6256
  key: 1,
6257
- class: x(a.classList.tags),
6257
+ class: G(a.classList.tags),
6258
6258
  "data-tags": ""
6259
6259
  },
6260
6260
  [
6261
6261
  (c(!0), m(
6262
6262
  ve,
6263
6263
  null,
6264
- ye(a.iv, (i, l, r) => X(a.$slots, "tag", {
6264
+ ye(a.iv, (i, l, r) => x(a.$slots, "tag", {
6265
6265
  option: i,
6266
6266
  handleTagRemove: a.handleTagRemove,
6267
6267
  disabled: t.disabled
6268
6268
  }, () => [
6269
6269
  (c(), m("span", {
6270
- class: x([
6270
+ class: G([
6271
6271
  a.classList.tag,
6272
6272
  i.disabled ? a.classList.tagDisabled : null
6273
6273
  ]),
@@ -6283,13 +6283,13 @@ function g5(a, e, t, n, s, o) {
6283
6283
  ),
6284
6284
  !t.disabled && !i.disabled ? (c(), m("span", {
6285
6285
  key: 0,
6286
- class: x(a.classList.tagRemove),
6286
+ class: G(a.classList.tagRemove),
6287
6287
  onClick: _e((d) => a.handleTagRemove(i, d), ["stop"])
6288
6288
  }, [
6289
6289
  f(
6290
6290
  "span",
6291
6291
  {
6292
- class: x(a.classList.tagRemoveIcon)
6292
+ class: G(a.classList.tagRemoveIcon)
6293
6293
  },
6294
6294
  null,
6295
6295
  2
@@ -6304,7 +6304,7 @@ function g5(a, e, t, n, s, o) {
6304
6304
  f(
6305
6305
  "div",
6306
6306
  {
6307
- class: x(a.classList.tagsSearchWrapper),
6307
+ class: G(a.classList.tagsSearchWrapper),
6308
6308
  ref: "tags"
6309
6309
  },
6310
6310
  [
@@ -6312,7 +6312,7 @@ function g5(a, e, t, n, s, o) {
6312
6312
  f(
6313
6313
  "span",
6314
6314
  {
6315
- class: x(a.classList.tagsSearchCopy)
6315
+ class: G(a.classList.tagsSearchCopy)
6316
6316
  },
6317
6317
  Z(a.search),
6318
6318
  3
@@ -6350,20 +6350,20 @@ function g5(a, e, t, n, s, o) {
6350
6350
  /* CLASS */
6351
6351
  )) : k("v-if", !0),
6352
6352
  k(" Single label "),
6353
- t.mode == "single" && a.hasSelected && !a.search && a.iv ? X(a.$slots, "singlelabel", {
6353
+ t.mode == "single" && a.hasSelected && !a.search && a.iv ? x(a.$slots, "singlelabel", {
6354
6354
  key: 2,
6355
6355
  value: a.iv
6356
6356
  }, () => [
6357
6357
  f(
6358
6358
  "div",
6359
6359
  {
6360
- class: x(a.classList.singleLabel)
6360
+ class: G(a.classList.singleLabel)
6361
6361
  },
6362
6362
  [
6363
6363
  f(
6364
6364
  "span",
6365
6365
  {
6366
- class: x(a.classList.singleLabelText)
6366
+ class: G(a.classList.singleLabelText)
6367
6367
  },
6368
6368
  Z(a.localize(a.iv[t.label])),
6369
6369
  3
@@ -6375,21 +6375,21 @@ function g5(a, e, t, n, s, o) {
6375
6375
  )
6376
6376
  ]) : k("v-if", !0),
6377
6377
  k(" Multiple label "),
6378
- t.mode == "multiple" && a.hasSelected && !a.search ? X(a.$slots, "multiplelabel", {
6378
+ t.mode == "multiple" && a.hasSelected && !a.search ? x(a.$slots, "multiplelabel", {
6379
6379
  key: 3,
6380
6380
  values: a.iv
6381
6381
  }, () => [
6382
6382
  f("div", {
6383
- class: x(a.classList.multipleLabel),
6383
+ class: G(a.classList.multipleLabel),
6384
6384
  innerHTML: a.multipleLabelText
6385
6385
  }, null, 10, i5)
6386
6386
  ]) : k("v-if", !0),
6387
6387
  k(" Placeholder "),
6388
- t.placeholder && !a.hasSelected && !a.search ? X(a.$slots, "placeholder", { key: 4 }, () => [
6388
+ t.placeholder && !a.hasSelected && !a.search ? x(a.$slots, "placeholder", { key: 4 }, () => [
6389
6389
  f(
6390
6390
  "div",
6391
6391
  {
6392
- class: x(a.classList.placeholder),
6392
+ class: G(a.classList.placeholder),
6393
6393
  "aria-hidden": "true"
6394
6394
  },
6395
6395
  Z(t.placeholder),
@@ -6398,11 +6398,11 @@ function g5(a, e, t, n, s, o) {
6398
6398
  )
6399
6399
  ]) : k("v-if", !0),
6400
6400
  k(" Spinner "),
6401
- t.loading || a.resolving ? X(a.$slots, "spinner", { key: 5 }, () => [
6401
+ t.loading || a.resolving ? x(a.$slots, "spinner", { key: 5 }, () => [
6402
6402
  f(
6403
6403
  "span",
6404
6404
  {
6405
- class: x(a.classList.spinner),
6405
+ class: G(a.classList.spinner),
6406
6406
  "aria-hidden": "true"
6407
6407
  },
6408
6408
  null,
@@ -6411,7 +6411,7 @@ function g5(a, e, t, n, s, o) {
6411
6411
  )
6412
6412
  ]) : k("v-if", !0),
6413
6413
  k(" Clear "),
6414
- a.hasSelected && !t.disabled && t.canClear && !a.busy ? X(a.$slots, "clear", {
6414
+ a.hasSelected && !t.disabled && t.canClear && !a.busy ? x(a.$slots, "clear", {
6415
6415
  key: 6,
6416
6416
  clear: a.clear
6417
6417
  }, () => [
@@ -6423,7 +6423,7 @@ function g5(a, e, t, n, s, o) {
6423
6423
  role: "button",
6424
6424
  "data-clear": "",
6425
6425
  "aria-roledescription": "❎",
6426
- class: x(a.classList.clear),
6426
+ class: G(a.classList.clear),
6427
6427
  onClick: e[6] || (e[6] = (...i) => a.clear && a.clear(...i)),
6428
6428
  onKeyup: e[7] || (e[7] = Ye((...i) => a.clear && a.clear(...i), ["enter"]))
6429
6429
  },
@@ -6431,7 +6431,7 @@ function g5(a, e, t, n, s, o) {
6431
6431
  f(
6432
6432
  "span",
6433
6433
  {
6434
- class: x(a.classList.clearIcon)
6434
+ class: G(a.classList.clearIcon)
6435
6435
  },
6436
6436
  null,
6437
6437
  2
@@ -6443,11 +6443,11 @@ function g5(a, e, t, n, s, o) {
6443
6443
  )
6444
6444
  ]) : k("v-if", !0),
6445
6445
  k(" Caret "),
6446
- t.caret && t.showOptions ? X(a.$slots, "caret", { key: 7 }, () => [
6446
+ t.caret && t.showOptions ? x(a.$slots, "caret", { key: 7 }, () => [
6447
6447
  f(
6448
6448
  "span",
6449
6449
  {
6450
- class: x(a.classList.caret),
6450
+ class: G(a.classList.caret),
6451
6451
  onClick: e[8] || (e[8] = (...i) => a.handleCaretClick && a.handleCaretClick(...i)),
6452
6452
  "aria-hidden": "true"
6453
6453
  },
@@ -6461,13 +6461,13 @@ function g5(a, e, t, n, s, o) {
6461
6461
  f(
6462
6462
  "div",
6463
6463
  {
6464
- class: x(a.classList.dropdown),
6464
+ class: G(a.classList.dropdown),
6465
6465
  tabindex: "-1"
6466
6466
  },
6467
6467
  [
6468
- X(a.$slots, "beforelist", { options: a.fo }),
6468
+ x(a.$slots, "beforelist", { options: a.fo }),
6469
6469
  f("ul", {
6470
- class: x(a.classList.options),
6470
+ class: G(a.classList.options),
6471
6471
  id: a.ariaControls,
6472
6472
  role: "listbox"
6473
6473
  }, [
@@ -6475,7 +6475,7 @@ function g5(a, e, t, n, s, o) {
6475
6475
  ve,
6476
6476
  { key: 0 },
6477
6477
  ye(a.fg, (i, l, r) => (c(), m("li", {
6478
- class: x(a.classList.group),
6478
+ class: G(a.classList.group),
6479
6479
  key: r,
6480
6480
  id: a.ariaGroupId(i),
6481
6481
  "aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
@@ -6484,12 +6484,12 @@ function g5(a, e, t, n, s, o) {
6484
6484
  }, [
6485
6485
  i.__CREATE__ ? k("v-if", !0) : (c(), m("div", {
6486
6486
  key: 0,
6487
- class: x(a.classList.groupLabel(i)),
6487
+ class: G(a.classList.groupLabel(i)),
6488
6488
  "data-pointed": a.isPointed(i),
6489
6489
  onMouseenter: (d) => a.setPointer(i, l),
6490
6490
  onClick: (d) => a.handleGroupClick(i)
6491
6491
  }, [
6492
- X(a.$slots, "grouplabel", {
6492
+ x(a.$slots, "grouplabel", {
6493
6493
  group: i,
6494
6494
  isSelected: a.isSelected,
6495
6495
  isPointed: a.isPointed
@@ -6500,7 +6500,7 @@ function g5(a, e, t, n, s, o) {
6500
6500
  ])
6501
6501
  ], 42, r5)),
6502
6502
  f("ul", {
6503
- class: x(a.classList.groupOptions),
6503
+ class: G(a.classList.groupOptions),
6504
6504
  "aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
6505
6505
  role: "group"
6506
6506
  }, [
@@ -6508,7 +6508,7 @@ function g5(a, e, t, n, s, o) {
6508
6508
  ve,
6509
6509
  null,
6510
6510
  ye(i.__VISIBLE__, (d, u, v) => (c(), m("li", {
6511
- class: x(a.classList.option(d, i)),
6511
+ class: G(a.classList.option(d, i)),
6512
6512
  "data-pointed": a.isPointed(d),
6513
6513
  "data-selected": a.isSelected(d) || void 0,
6514
6514
  key: v,
@@ -6519,7 +6519,7 @@ function g5(a, e, t, n, s, o) {
6519
6519
  "aria-label": a.ariaOptionLabel(a.localize(d[t.label])),
6520
6520
  role: "option"
6521
6521
  }, [
6522
- X(a.$slots, "option", {
6522
+ x(a.$slots, "option", {
6523
6523
  option: d,
6524
6524
  isSelected: a.isSelected,
6525
6525
  isPointed: a.isPointed,
@@ -6545,7 +6545,7 @@ function g5(a, e, t, n, s, o) {
6545
6545
  ve,
6546
6546
  { key: 1 },
6547
6547
  ye(a.fo, (i, l, r) => (c(), m("li", {
6548
- class: x(a.classList.option(i)),
6548
+ class: G(a.classList.option(i)),
6549
6549
  "data-pointed": a.isPointed(i),
6550
6550
  "data-selected": a.isSelected(i) || void 0,
6551
6551
  key: r,
@@ -6556,7 +6556,7 @@ function g5(a, e, t, n, s, o) {
6556
6556
  "aria-label": a.ariaOptionLabel(a.localize(i[t.label])),
6557
6557
  role: "option"
6558
6558
  }, [
6559
- X(a.$slots, "option", {
6559
+ x(a.$slots, "option", {
6560
6560
  option: i,
6561
6561
  isSelected: a.isSelected,
6562
6562
  isPointed: a.isPointed,
@@ -6575,15 +6575,15 @@ function g5(a, e, t, n, s, o) {
6575
6575
  /* KEYED_FRAGMENT */
6576
6576
  ))
6577
6577
  ], 10, o5),
6578
- a.noOptions ? X(a.$slots, "nooptions", { key: 0 }, () => [
6578
+ a.noOptions ? x(a.$slots, "nooptions", { key: 0 }, () => [
6579
6579
  f("div", {
6580
- class: x(a.classList.noOptions),
6580
+ class: G(a.classList.noOptions),
6581
6581
  innerHTML: a.localize(t.noOptionsText)
6582
6582
  }, null, 10, v5)
6583
6583
  ]) : k("v-if", !0),
6584
- a.noResults ? X(a.$slots, "noresults", { key: 1 }, () => [
6584
+ a.noResults ? x(a.$slots, "noresults", { key: 1 }, () => [
6585
6585
  f("div", {
6586
- class: x(a.classList.noResults),
6586
+ class: G(a.classList.noResults),
6587
6587
  innerHTML: a.localize(t.noResultsText)
6588
6588
  }, null, 10, p5)
6589
6589
  ]) : k("v-if", !0),
@@ -6591,15 +6591,15 @@ function g5(a, e, t, n, s, o) {
6591
6591
  "div",
6592
6592
  {
6593
6593
  key: 2,
6594
- class: x(a.classList.inifinite),
6594
+ class: G(a.classList.inifinite),
6595
6595
  ref: "infiniteLoader"
6596
6596
  },
6597
6597
  [
6598
- X(a.$slots, "infinite", {}, () => [
6598
+ x(a.$slots, "infinite", {}, () => [
6599
6599
  f(
6600
6600
  "span",
6601
6601
  {
6602
- class: x(a.classList.inifiniteSpinner)
6602
+ class: G(a.classList.inifiniteSpinner)
6603
6603
  },
6604
6604
  null,
6605
6605
  2
@@ -6610,7 +6610,7 @@ function g5(a, e, t, n, s, o) {
6610
6610
  2
6611
6611
  /* CLASS */
6612
6612
  )) : k("v-if", !0),
6613
- X(a.$slots, "afterlist", { options: a.fo })
6613
+ x(a.$slots, "afterlist", { options: a.fo })
6614
6614
  ],
6615
6615
  2
6616
6616
  /* CLASS */
@@ -6618,7 +6618,7 @@ function g5(a, e, t, n, s, o) {
6618
6618
  k(" Hacky input element to show HTML5 required warning "),
6619
6619
  t.required ? (c(), m("input", {
6620
6620
  key: 0,
6621
- class: x(a.classList.fakeInput),
6621
+ class: G(a.classList.fakeInput),
6622
6622
  tabindex: "-1",
6623
6623
  value: a.textValue,
6624
6624
  required: ""
@@ -6652,7 +6652,7 @@ function g5(a, e, t, n, s, o) {
6652
6652
  k(" Screen reader assistive text "),
6653
6653
  t.searchable && a.hasSelected ? (c(), m("div", {
6654
6654
  key: 2,
6655
- class: x(a.classList.assist),
6655
+ class: G(a.classList.assist),
6656
6656
  id: a.ariaAssist,
6657
6657
  "aria-hidden": "true"
6658
6658
  }, Z(a.ariaLabel), 11, _5)) : k("v-if", !0),
@@ -6660,7 +6660,7 @@ function g5(a, e, t, n, s, o) {
6660
6660
  f(
6661
6661
  "div",
6662
6662
  {
6663
- class: x(a.classList.spacer)
6663
+ class: G(a.classList.spacer)
6664
6664
  },
6665
6665
  null,
6666
6666
  2
@@ -6670,7 +6670,7 @@ function g5(a, e, t, n, s, o) {
6670
6670
  }
6671
6671
  We.render = g5;
6672
6672
  We.__file = "src/Multiselect.vue";
6673
- const be = /* @__PURE__ */ K({
6673
+ const be = /* @__PURE__ */ Y({
6674
6674
  __name: "AoMultiselect",
6675
6675
  props: {
6676
6676
  detached: { type: Boolean },
@@ -6681,7 +6681,7 @@ const be = /* @__PURE__ */ K({
6681
6681
  return e.detached && P3({
6682
6682
  multiselect: n,
6683
6683
  appendTo: t.value
6684
- }), (s, o) => (c(), R(q(We), {
6684
+ }), (s, o) => (c(), N(q(We), {
6685
6685
  ref_key: "multiselectRef",
6686
6686
  ref: n,
6687
6687
  class: "ao-multiselect"
@@ -6689,7 +6689,7 @@ const be = /* @__PURE__ */ K({
6689
6689
  ye(s.$slots, (i, l) => ({
6690
6690
  name: l,
6691
6691
  fn: U((r) => [
6692
- X(s.$slots, l, a1(s1(r ?? {})))
6692
+ x(s.$slots, l, a1(s1(r ?? {})))
6693
6693
  ])
6694
6694
  }))
6695
6695
  ]), 1536));
@@ -6709,7 +6709,7 @@ function y5() {
6709
6709
  throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
6710
6710
  return a;
6711
6711
  }
6712
- K({
6712
+ Y({
6713
6713
  props: {
6714
6714
  translation: {
6715
6715
  type: String,
@@ -6746,7 +6746,7 @@ async function Ue(a, e) {
6746
6746
  i == null || i.select();
6747
6747
  }
6748
6748
  }
6749
- 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({
6749
+ 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
6750
  __name: "AoActivityTasks",
6751
6751
  props: {
6752
6752
  activityId: {},
@@ -6807,7 +6807,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6807
6807
  key: C.id,
6808
6808
  class: "ao-subtask"
6809
6809
  }, [
6810
- ((w = v.isCheckable) == null ? void 0 : w.call(v, C)) ?? !1 ? (c(), R(fe, {
6810
+ ((w = v.isCheckable) == null ? void 0 : w.call(v, C)) ?? !1 ? (c(), N(fe, {
6811
6811
  key: 0,
6812
6812
  class: "ao-subtask__check",
6813
6813
  "icon-name": C.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -6824,7 +6824,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6824
6824
  onChange: (A) => i(A, C.id),
6825
6825
  onKeyup: Ye(u, ["enter"])
6826
6826
  }, null, 40, $5),
6827
- !v.isTemplate && v.users ? (c(), R(be, {
6827
+ !v.isTemplate && v.users ? (c(), N(be, {
6828
6828
  key: 1,
6829
6829
  value: ($ = C.assignee) != null && $.id ? [C.assignee.id] : [],
6830
6830
  options: s.value,
@@ -6848,7 +6848,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6848
6848
  ]),
6849
6849
  _: 2
6850
6850
  }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : k("", !0),
6851
- v.isEditable ? (c(), R(fe, {
6851
+ v.isEditable ? (c(), N(fe, {
6852
6852
  key: 2,
6853
6853
  class: "ao-subtask__delete",
6854
6854
  "icon-name": "CancelRounded",
@@ -6861,7 +6861,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6861
6861
  }), 128))
6862
6862
  ]),
6863
6863
  f("div", M5, [
6864
- v.isEditable ? (c(), R(fe, {
6864
+ v.isEditable ? (c(), N(fe, {
6865
6865
  key: 0,
6866
6866
  label: v.$t("activity.tasks.add"),
6867
6867
  "icon-name": "Add",
@@ -6879,7 +6879,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6879
6879
  }, S5 = ["href"], E5 = { class: "ao-file__title" }, I5 = {
6880
6880
  key: 1,
6881
6881
  class: "ao-files__dropzone"
6882
- }, 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({
6882
+ }, 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
6883
  __name: "AoActivityDetailsFiles",
6884
6884
  props: {
6885
6885
  attachments: {},
@@ -6924,7 +6924,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6924
6924
  return (d, u) => {
6925
6925
  var v;
6926
6926
  return c(), m("div", {
6927
- class: x([
6927
+ class: G([
6928
6928
  "ao-files__wrapper",
6929
6929
  {
6930
6930
  "ao-files__wrapper--drop-active": o.value
@@ -6953,7 +6953,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6953
6953
  }),
6954
6954
  f("span", E5, Z(p.name), 1)
6955
6955
  ], 8, S5),
6956
- d.isEditable ? (c(), R(fe, {
6956
+ d.isEditable ? (c(), N(fe, {
6957
6957
  key: 0,
6958
6958
  class: "ao-files__delete-button",
6959
6959
  "icon-name": "DeleteOutlineRounded",
@@ -6986,7 +6986,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6986
6986
  const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { class: "ao-comment__content-wrapper" }, N5 = { class: "ao-comment__created-at" }, R5 = {
6987
6987
  key: 1,
6988
6988
  class: "ao-comment__footer"
6989
- }, U5 = /* @__PURE__ */ K({
6989
+ }, U5 = /* @__PURE__ */ Y({
6990
6990
  __name: "AoComment",
6991
6991
  props: {
6992
6992
  user: {},
@@ -7016,7 +7016,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7016
7016
  }), (A, g) => {
7017
7017
  var y;
7018
7018
  return c(), m("li", H5, [
7019
- n.value ? (c(), R(gt, {
7019
+ n.value ? (c(), N(gt, {
7020
7020
  key: 0,
7021
7021
  "avatar-url": (y = A.user) == null ? void 0 : y.avatarUrl,
7022
7022
  "user-name": n.value,
@@ -7024,7 +7024,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7024
7024
  }, null, 8, ["avatar-url", "user-name"])) : k("", !0),
7025
7025
  f("div", P5, [
7026
7026
  f("div", B5, [
7027
- (c(), R(Xe(v.value), {
7027
+ (c(), N(Xe(v.value), {
7028
7028
  ref_key: "commentContent",
7029
7029
  ref: s,
7030
7030
  class: "ao-comment__content",
@@ -7083,7 +7083,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7083
7083
  const j5 = {
7084
7084
  key: 0,
7085
7085
  class: "ao-comments__list"
7086
- }, 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({
7086
+ }, 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
7087
  __name: "AoActivityDetailsComments",
7088
7088
  props: {
7089
7089
  comments: { default: () => [] },
@@ -7123,7 +7123,7 @@ const j5 = {
7123
7123
  class: "ao-comments"
7124
7124
  }, [
7125
7125
  ((p = u.comments) == null ? void 0 : p.length) > 0 ? (c(), m("ul", j5, [
7126
- (c(!0), m(ve, null, ye(u.comments, (C) => (c(), R(U5, {
7126
+ (c(!0), m(ve, null, ye(u.comments, (C) => (c(), N(U5, {
7127
7127
  key: C.id,
7128
7128
  user: n(C.author.id),
7129
7129
  content: C.message,
@@ -7188,7 +7188,7 @@ const K5 = {
7188
7188
  }, H7 = { class: "ao-field ao-field--multiselect" }, P7 = { class: "ao-field__label" }, B7 = {
7189
7189
  key: 0,
7190
7190
  class: "ao-activity-details__aside"
7191
- }, N7 = { class: "ao-fieldset__title" }, R7 = { class: "ao-fieldset__title" }, U1 = /* @__PURE__ */ K({
7191
+ }, N7 = { class: "ao-fieldset__title" }, R7 = { class: "ao-fieldset__title" }, U1 = /* @__PURE__ */ Y({
7192
7192
  __name: "AoActivityDetails",
7193
7193
  props: {
7194
7194
  activity: {},
@@ -7334,7 +7334,7 @@ const K5 = {
7334
7334
  activityId: t.activity.id,
7335
7335
  file: h
7336
7336
  });
7337
- }, G = b(() => {
7337
+ }, X = b(() => {
7338
7338
  var h;
7339
7339
  return (h = t.statuses) == null ? void 0 : h.map((O) => ({
7340
7340
  value: O.id,
@@ -7355,7 +7355,7 @@ const K5 = {
7355
7355
  }, de = (h) => {
7356
7356
  e("removeComment", h);
7357
7357
  };
7358
- return (h, O) => (c(), R(D1, {
7358
+ return (h, O) => (c(), N(D1, {
7359
7359
  onClose: O[9] || (O[9] = (z) => h.$emit("close"))
7360
7360
  }, {
7361
7361
  header: U(() => [
@@ -7366,13 +7366,13 @@ const K5 = {
7366
7366
  "is-editable": h.isEditable,
7367
7367
  "onUpdate:title": n
7368
7368
  }, null, 8, ["title", "is-editable"]),
7369
- X(h.$slots, "header", {}, () => {
7369
+ x(h.$slots, "header", {}, () => {
7370
7370
  var z;
7371
7371
  return [
7372
- G.value ? (c(), m("label", G5, [
7372
+ X.value ? (c(), m("label", G5, [
7373
7373
  f("span", x5, Z(h.$t("activity.status.label")), 1),
7374
7374
  S(be, {
7375
- options: G.value,
7375
+ options: X.value,
7376
7376
  value: (z = h.activity.status) == null ? void 0 : z.id,
7377
7377
  "can-clear": !1,
7378
7378
  "can-deselect": !1,
@@ -7599,7 +7599,7 @@ const K5 = {
7599
7599
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
7600
7600
  ])
7601
7601
  ])) : k("", !0),
7602
- X(h.$slots, "default", { activity: h.activity })
7602
+ x(h.$slots, "default", { activity: h.activity })
7603
7603
  ])
7604
7604
  ]),
7605
7605
  h.isTemplate !== !0 && h.userId ? (c(), m("div", B7, [
@@ -7637,7 +7637,7 @@ const K5 = {
7637
7637
  }));
7638
7638
  }
7639
7639
  });
7640
- const U7 = /* @__PURE__ */ K({
7640
+ const U7 = /* @__PURE__ */ Y({
7641
7641
  __name: "AoRuleLine",
7642
7642
  props: {
7643
7643
  rule: {},
@@ -7711,7 +7711,7 @@ const U7 = /* @__PURE__ */ K({
7711
7711
  e("update:rule", { ...t.rule, durationUnit: g });
7712
7712
  }
7713
7713
  }), A = b(() => Object.values($d));
7714
- return (g, y) => (c(), R(Xe(g.tagName), { class: "ao-rule-line" }, {
7714
+ return (g, y) => (c(), N(Xe(g.tagName), { class: "ao-rule-line" }, {
7715
7715
  default: U(() => [
7716
7716
  S(q(We), {
7717
7717
  modelValue: s.value,
@@ -7761,7 +7761,7 @@ const U7 = /* @__PURE__ */ K({
7761
7761
  }));
7762
7762
  }
7763
7763
  });
7764
- const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rules__list" }, F7 = /* @__PURE__ */ K({
7764
+ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rules__list" }, F7 = /* @__PURE__ */ Y({
7765
7765
  __name: "AoTemplateRules",
7766
7766
  props: {
7767
7767
  templateId: {},
@@ -7777,7 +7777,7 @@ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rule
7777
7777
  }, n = (s) => {
7778
7778
  e("removeRule", s);
7779
7779
  };
7780
- return (s, o) => (c(), R(D1, null, {
7780
+ return (s, o) => (c(), N(D1, null, {
7781
7781
  header: U(() => [
7782
7782
  S(Ce, {
7783
7783
  title: s.$t("template.rules.title"),
@@ -7787,7 +7787,7 @@ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rule
7787
7787
  default: U(() => [
7788
7788
  f("div", j7, [
7789
7789
  f("ul", Z7, [
7790
- (c(!0), m(ve, null, ye(s.rules, (i) => (c(), R(U7, {
7790
+ (c(!0), m(ve, null, ye(s.rules, (i) => (c(), N(U7, {
7791
7791
  key: i.id,
7792
7792
  rule: i,
7793
7793
  "template-phases": s.templatePhases,
@@ -7818,7 +7818,7 @@ function ht(a, e, t) {
7818
7818
  const q7 = {
7819
7819
  key: 0,
7820
7820
  class: "ao-template-details"
7821
- }, z7 = { class: "ao-template-details__body" }, W7 = { class: "ao-template-details__cols" }, Y7 = { class: "ao-template-details__col" }, K7 = { class: "ao-list__footer" }, G7 = { class: "ao-template-details__col" }, x7 = { class: "ao-template-details__col" }, X7 = /* @__PURE__ */ K({
7821
+ }, z7 = { class: "ao-template-details__body" }, W7 = { class: "ao-template-details__cols" }, Y7 = { class: "ao-template-details__col" }, K7 = { class: "ao-list__footer" }, G7 = { class: "ao-template-details__col" }, x7 = { class: "ao-template-details__col" }, X7 = /* @__PURE__ */ Y({
7822
7822
  __name: "AoTemplateDetails",
7823
7823
  props: {
7824
7824
  templateId: {},
@@ -7886,11 +7886,11 @@ const q7 = {
7886
7886
  }), d = b(() => {
7887
7887
  var I, V;
7888
7888
  return ((V = (I = s.value) == null ? void 0 : I.phases) == null ? void 0 : V.reduce((F, ne) => {
7889
- const Y = (ne.milestones || []).reduce(
7889
+ const K = (ne.milestones || []).reduce(
7890
7890
  (ie, B) => B.activities ? [...ie, ...B.activities] : ie,
7891
7891
  []
7892
7892
  );
7893
- return [...F, ...Y];
7893
+ return [...F, ...K];
7894
7894
  }, [])) || [];
7895
7895
  }), u = b(() => {
7896
7896
  var I, V;
@@ -8007,7 +8007,7 @@ const q7 = {
8007
8007
  id: I.id
8008
8008
  }
8009
8009
  });
8010
- }, G = (I) => {
8010
+ }, X = (I) => {
8011
8011
  const { id: V, ...F } = I;
8012
8012
  e("updateItem", {
8013
8013
  itemType: me.ACTIVITIES,
@@ -8065,7 +8065,7 @@ const q7 = {
8065
8065
  e("removeFile", I);
8066
8066
  };
8067
8067
  return (I, V) => {
8068
- var F, ne, M, Y, ie, B;
8068
+ var F, ne, M, K, ie, B;
8069
8069
  return s.value ? (c(), m("div", q7, [
8070
8070
  S(d1, {
8071
8071
  "can-go-back": !0,
@@ -8101,13 +8101,13 @@ const q7 = {
8101
8101
  }, null, 8, ["title"])
8102
8102
  ]),
8103
8103
  item: U(({ element: T }) => {
8104
- var N;
8104
+ var R;
8105
8105
  return [
8106
8106
  S(W0, {
8107
8107
  id: T.id,
8108
8108
  name: T.name,
8109
8109
  milestones: T.milestones,
8110
- "is-active": ((N = i.value) == null ? void 0 : N.id) === T.id,
8110
+ "is-active": ((R = i.value) == null ? void 0 : R.id) === T.id,
8111
8111
  "is-draggable": !0,
8112
8112
  onClick: (pe) => I.$router.push({
8113
8113
  params: { templateId: I.templateId, phaseId: T.id }
@@ -8132,7 +8132,7 @@ const q7 = {
8132
8132
  }, 8, ["model-value"])
8133
8133
  ]),
8134
8134
  f("li", G7, [
8135
- i.value ? (c(), R(G0, {
8135
+ i.value ? (c(), N(G0, {
8136
8136
  key: 0,
8137
8137
  "template-id": I.templateId,
8138
8138
  phase: i.value,
@@ -8144,25 +8144,25 @@ const q7 = {
8144
8144
  }, null, 8, ["template-id", "phase", "milestone-id"])) : k("", !0)
8145
8145
  ]),
8146
8146
  f("li", x7, [
8147
- i.value && l.value ? (c(), R(Q0, {
8147
+ i.value && l.value ? (c(), N(Q0, {
8148
8148
  key: 0,
8149
8149
  "template-id": I.templateId,
8150
8150
  "phase-id": (ne = i.value) == null ? void 0 : ne.id,
8151
8151
  milestone: l.value,
8152
8152
  "activity-id": (M = u.value) == null ? void 0 : M.id,
8153
8153
  onAddActivity: W,
8154
- onUpdateActivity: G,
8154
+ onUpdateActivity: X,
8155
8155
  onRemoveActivity: H
8156
8156
  }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : k("", !0)
8157
8157
  ])
8158
8158
  ])
8159
8159
  ]),
8160
- (c(), R(It, { to: "body" }, [
8161
- u.value ? (c(), R(U1, {
8160
+ (c(), N(It, { to: "body" }, [
8161
+ u.value ? (c(), N(U1, {
8162
8162
  key: 0,
8163
8163
  activity: u.value,
8164
8164
  "activity-types": v.value,
8165
- breadcrumbs: `${s.value.name} / ${(Y = i.value) == null ? void 0 : Y.name} / ${(ie = l.value) == null ? void 0 : ie.name}`,
8165
+ breadcrumbs: `${s.value.name} / ${(K = i.value) == null ? void 0 : K.name} / ${(ie = l.value) == null ? void 0 : ie.name}`,
8166
8166
  "milestone-id": (B = l.value) == null ? void 0 : B.id,
8167
8167
  "template-activities": d.value,
8168
8168
  "template-milestones": r.value,
@@ -8170,7 +8170,7 @@ const q7 = {
8170
8170
  "is-editable": !0,
8171
8171
  users: I.users,
8172
8172
  "onUpdate:activity": V[2] || (V[2] = (T) => {
8173
- u.value && G(T);
8173
+ u.value && X(T);
8174
8174
  }),
8175
8175
  onClose: I.$router.back,
8176
8176
  onAddSubtask: O,
@@ -8180,13 +8180,13 @@ const q7 = {
8180
8180
  onRemoveFile: oe
8181
8181
  }, {
8182
8182
  default: U((T) => [
8183
- X(I.$slots, "activityDetailsBody", a1(s1(T)))
8183
+ x(I.$slots, "activityDetailsBody", a1(s1(T)))
8184
8184
  ]),
8185
8185
  _: 3
8186
8186
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : k("", !0)
8187
8187
  ])),
8188
- (c(), R(It, { to: "body" }, [
8189
- te.value ? (c(), R(F7, {
8188
+ (c(), N(It, { to: "body" }, [
8189
+ te.value ? (c(), N(F7, {
8190
8190
  key: 0,
8191
8191
  "template-id": s.value.id,
8192
8192
  rules: s.value.rules || [],
@@ -8208,32 +8208,32 @@ const Q7 = {
8208
8208
  }, J7 = { class: "ao-card__body" }, e9 = {
8209
8209
  key: 1,
8210
8210
  class: "ao-card__footer"
8211
- }, j1 = /* @__PURE__ */ K({
8211
+ }, j1 = /* @__PURE__ */ Y({
8212
8212
  __name: "AoCard",
8213
8213
  props: {
8214
8214
  isClickable: { type: Boolean },
8215
8215
  tagName: { default: "div" }
8216
8216
  },
8217
8217
  setup(a) {
8218
- return (e, t) => (c(), R(Xe(e.tagName), {
8219
- class: x(["ao-card", { "ao-card--clickable": e.isClickable }])
8218
+ return (e, t) => (c(), N(Xe(e.tagName), {
8219
+ class: G(["ao-card", { "ao-card--clickable": e.isClickable }])
8220
8220
  }, {
8221
8221
  default: U(() => [
8222
8222
  e.$slots.header ? (c(), m("header", Q7, [
8223
- X(e.$slots, "header")
8223
+ x(e.$slots, "header")
8224
8224
  ])) : k("", !0),
8225
8225
  f("div", J7, [
8226
- X(e.$slots, "default")
8226
+ x(e.$slots, "default")
8227
8227
  ]),
8228
8228
  e.$slots.footer ? (c(), m("footer", e9, [
8229
- X(e.$slots, "footer")
8229
+ x(e.$slots, "footer")
8230
8230
  ])) : k("", !0)
8231
8231
  ]),
8232
8232
  _: 3
8233
8233
  }, 8, ["class"]));
8234
8234
  }
8235
8235
  });
8236
- const Z1 = /* @__PURE__ */ K({
8236
+ const Z1 = /* @__PURE__ */ Y({
8237
8237
  __name: "AoProgress",
8238
8238
  props: {
8239
8239
  percentages: {},
@@ -8242,12 +8242,12 @@ const Z1 = /* @__PURE__ */ K({
8242
8242
  setup(a) {
8243
8243
  const e = a, t = b(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
8244
8244
  return (n, s) => (c(), m("div", {
8245
- class: x(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
8245
+ class: G(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
8246
8246
  role: "meter"
8247
8247
  }, [
8248
8248
  (c(!0), m(ve, null, ye(t.value, (o) => (c(), m("div", {
8249
8249
  key: o,
8250
- class: x(["ao-progress__progress"]),
8250
+ class: G(["ao-progress__progress"]),
8251
8251
  style: ca({ width: `${o * 100}%` })
8252
8252
  }, null, 4))), 128))
8253
8253
  ], 2));
@@ -8256,7 +8256,7 @@ const Z1 = /* @__PURE__ */ K({
8256
8256
  const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-project-phase__footer" }, s9 = { class: "ao-card-project-phase__footer-row" }, n9 = { class: "ao-card-project-phase__subitem" }, i9 = { class: "ao-card-project-phase__subitem" }, o9 = {
8257
8257
  key: 1,
8258
8258
  class: "ao-card-project-phase__secondary"
8259
- }, l9 = /* @__PURE__ */ K({
8259
+ }, l9 = /* @__PURE__ */ Y({
8260
8260
  __name: "AoCardProjectItemPhase",
8261
8261
  props: {
8262
8262
  id: {},
@@ -8276,7 +8276,7 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8276
8276
  var l;
8277
8277
  return (l = t.milestones) == null ? void 0 : l.filter((r) => r.status === T1.done).length;
8278
8278
  }), i = b(() => (o.value || 0) / (s.value || 1));
8279
- return (l, r) => (c(), R(j1, { class: "ao-card-project-phase" }, t1({
8279
+ return (l, r) => (c(), N(j1, { class: "ao-card-project-phase" }, t1({
8280
8280
  default: U(() => [
8281
8281
  S(Ce, {
8282
8282
  id: l.id,
@@ -8304,7 +8304,7 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8304
8304
  }, null, 8, ["percentages"])
8305
8305
  ], 64)) : k("", !0),
8306
8306
  l.$slots.secondary ? (c(), m("div", o9, [
8307
- X(l.$slots, "secondary")
8307
+ x(l.$slots, "secondary")
8308
8308
  ])) : k("", !0)
8309
8309
  ])
8310
8310
  ])
@@ -8339,7 +8339,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8339
8339
  }, d9 = { class: "ao-card-project-phase__footer" }, c9 = { class: "ao-card-project-phase__footer-row" }, f9 = { class: "ao-card-project-phase__subitem" }, v9 = { class: "ao-card-project-phase__subitem" }, p9 = {
8340
8340
  key: 1,
8341
8341
  class: "ao-card-project-phase__secondary"
8342
- }, h9 = /* @__PURE__ */ K({
8342
+ }, h9 = /* @__PURE__ */ Y({
8343
8343
  __name: "AoCardProjectItemMilestone",
8344
8344
  props: {
8345
8345
  id: {},
@@ -8359,7 +8359,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8359
8359
  }), o = b(() => (s.value || 0) / (n.value || 1)), i = (l) => {
8360
8360
  e("updateMilestone", { id: t.id, name: l });
8361
8361
  };
8362
- return (l, r) => (c(), R(j1, {
8362
+ return (l, r) => (c(), N(j1, {
8363
8363
  class: "ao-card-project-milestone",
8364
8364
  "is-clickable": !0,
8365
8365
  "tag-name": "li"
@@ -8405,7 +8405,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8405
8405
  }, null, 8, ["percentages"])
8406
8406
  ], 64)) : k("", !0),
8407
8407
  l.$slots.secondary ? (c(), m("div", p9, [
8408
- X(l.$slots, "secondary")
8408
+ x(l.$slots, "secondary")
8409
8409
  ])) : k("", !0)
8410
8410
  ])
8411
8411
  ])
@@ -8417,7 +8417,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8417
8417
  const m9 = { class: "ao-project-phase" }, C9 = {
8418
8418
  key: 0,
8419
8419
  class: "ao-project-phase__drag ao-card__drag"
8420
- }, _9 = { class: "ao-project-phase__col-phase" }, g9 = { class: "ao-project-phase__col-milestones" }, y9 = { class: "ao-project-phase__milestones" }, b9 = { class: "ao-project-phase__milestones-list-footer" }, w9 = /* @__PURE__ */ K({
8420
+ }, _9 = { class: "ao-project-phase__col-phase" }, g9 = { class: "ao-project-phase__col-milestones" }, y9 = { class: "ao-project-phase__milestones" }, b9 = { class: "ao-project-phase__milestones-list-footer" }, w9 = /* @__PURE__ */ Y({
8421
8421
  __name: "AoProjectPhase",
8422
8422
  props: {
8423
8423
  phase: {},
@@ -8497,7 +8497,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8497
8497
  _: 1
8498
8498
  }, 16, ["list", "disabled"]),
8499
8499
  f("div", b9, [
8500
- v.isEditable ? (c(), R(Je, {
8500
+ v.isEditable ? (c(), N(Je, {
8501
8501
  key: 0,
8502
8502
  label: v.$t("project.milestone.add"),
8503
8503
  class: "ao-project-phase__milestone-add",
@@ -8513,7 +8513,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8513
8513
  const $9 = { class: "ao-project__phases" }, M9 = {
8514
8514
  key: 0,
8515
8515
  class: "ao-project-phase__phases-list-footer"
8516
- }, k9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), A9 = { class: "ao-project-phase__col-phase" }, T9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), S9 = /* @__PURE__ */ K({
8516
+ }, k9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), A9 = { class: "ao-project-phase__col-phase" }, T9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), S9 = /* @__PURE__ */ Y({
8517
8517
  __name: "AoProjectPhases",
8518
8518
  props: {
8519
8519
  phases: {},
@@ -8584,7 +8584,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
8584
8584
  ]));
8585
8585
  }
8586
8586
  });
8587
- const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9 = { class: "field__row" }, L9 = { class: "ao-add-template-modal__form-footer" }, V9 = /* @__PURE__ */ K({
8587
+ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9 = { class: "field__row" }, L9 = { class: "ao-add-template-modal__form-footer" }, V9 = /* @__PURE__ */ Y({
8588
8588
  __name: "AoAddTemplateModal",
8589
8589
  props: {
8590
8590
  projectId: {},
@@ -8600,7 +8600,7 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
8600
8600
  }, i = () => {
8601
8601
  s.value && e("apply", s.value, t.projectId);
8602
8602
  };
8603
- return (l, r) => (c(), R(D1, { size: "sm" }, {
8603
+ return (l, r) => (c(), N(D1, { size: "sm" }, {
8604
8604
  header: U(() => [
8605
8605
  S(Ce, {
8606
8606
  title: l.$t("project.template.add.title"),
@@ -8637,7 +8637,7 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
8637
8637
  }));
8638
8638
  }
8639
8639
  });
8640
- const D9 = K({
8640
+ const D9 = Y({
8641
8641
  props: {
8642
8642
  isLeft: {
8643
8643
  type: Boolean,
@@ -8670,7 +8670,7 @@ const H9 = { class: "toggle-wrapper" };
8670
8670
  function P9(a, e, t, n, s, o) {
8671
8671
  return c(), m("div", H9, [
8672
8672
  f("button", {
8673
- class: x({
8673
+ class: G({
8674
8674
  button: !0,
8675
8675
  "button--left": !0,
8676
8676
  "button--inactive": !a.isLeft
@@ -8679,7 +8679,7 @@ function P9(a, e, t, n, s, o) {
8679
8679
  onClick: e[0] || (e[0] = (...i) => a.selectLeft && a.selectLeft(...i))
8680
8680
  }, Z(a.leftLabel), 3),
8681
8681
  f("button", {
8682
- class: x({
8682
+ class: G({
8683
8683
  button: !0,
8684
8684
  "button--right": !0,
8685
8685
  "button--inactive": a.isLeft
@@ -8689,7 +8689,7 @@ function P9(a, e, t, n, s, o) {
8689
8689
  }, Z(a.rightLabel), 3)
8690
8690
  ]);
8691
8691
  }
8692
- const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237"]]), B9 = { class: "ao-project" }, N9 = { class: "ao-project__body" }, R9 = /* @__PURE__ */ K({
8692
+ const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237"]]), B9 = { class: "ao-project" }, N9 = { class: "ao-project__body" }, R9 = /* @__PURE__ */ Y({
8693
8693
  __name: "AoProjectOverviewProject",
8694
8694
  props: {
8695
8695
  project: {},
@@ -8743,8 +8743,8 @@ const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8743
8743
  e("updateComment", E);
8744
8744
  }, H = (E) => {
8745
8745
  e("removeComment", E);
8746
- }, G = J(!1), te = (E, ee) => {
8747
- e("applyTemplate", { templateId: E, projectId: ee }), G.value = !1;
8746
+ }, X = J(!1), te = (E, ee) => {
8747
+ e("applyTemplate", { templateId: E, projectId: ee }), X.value = !1;
8748
8748
  };
8749
8749
  return (E, ee) => {
8750
8750
  const de = hs("RouterView");
@@ -8761,12 +8761,12 @@ const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8761
8761
  h || E.$router.push({ name: q(He).feed });
8762
8762
  })
8763
8763
  }, null, 8, ["right-label", "left-label"]),
8764
- E.isEditable ? (c(), R(fe, {
8764
+ E.isEditable ? (c(), N(fe, {
8765
8765
  key: 0,
8766
8766
  class: "ao-project-overview__add-template",
8767
8767
  color: "primary",
8768
8768
  label: E.$t("project.template.add.label"),
8769
- onClick: ee[1] || (ee[1] = (h) => G.value = !0)
8769
+ onClick: ee[1] || (ee[1] = (h) => X.value = !0)
8770
8770
  }, null, 8, ["label"])) : k("", !0)
8771
8771
  ]),
8772
8772
  _: 1
@@ -8797,7 +8797,7 @@ const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8797
8797
  onUpdateActivity: p,
8798
8798
  onArchiveActivity: C
8799
8799
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable"]),
8800
- (c(), R(It, { to: "body" }, [
8800
+ (c(), N(It, { to: "body" }, [
8801
8801
  S(de, {
8802
8802
  name: "modal",
8803
8803
  activities: g.value,
@@ -8818,9 +8818,9 @@ const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8818
8818
  onRemoveComment: H
8819
8819
  }, {
8820
8820
  default: U(({ Component: h }) => [
8821
- (c(), R(Xe(h), null, {
8821
+ (c(), N(Xe(h), null, {
8822
8822
  default: U((O) => [
8823
- X(E.$slots, "activityDetailsBody", a1(s1(O)))
8823
+ x(E.$slots, "activityDetailsBody", a1(s1(O)))
8824
8824
  ]),
8825
8825
  _: 2
8826
8826
  }, 1024))
@@ -8829,12 +8829,12 @@ const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8829
8829
  }, 8, ["activities", "is-task-checkable", "statuses", "phases", "users", "user-id", "is-editable"])
8830
8830
  ]))
8831
8831
  ], 16),
8832
- (c(), R(It, { to: "body" }, [
8833
- G.value ? (c(), R(V9, {
8832
+ (c(), N(It, { to: "body" }, [
8833
+ X.value ? (c(), N(V9, {
8834
8834
  key: 0,
8835
8835
  "project-id": E.project.id,
8836
8836
  templates: E.templates,
8837
- onClose: ee[3] || (ee[3] = (h) => G.value = !1),
8837
+ onClose: ee[3] || (ee[3] = (h) => X.value = !1),
8838
8838
  onApply: te
8839
8839
  }, null, 8, ["project-id", "templates"])) : k("", !0)
8840
8840
  ]))
@@ -8869,7 +8869,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8869
8869
  }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__footer-row" }, a4 = {
8870
8870
  key: 0,
8871
8871
  class: "ao-card-feed__progress-wrapper"
8872
- }, s4 = { class: "ao-card-feed__subitem" }, n4 = { class: "ao-card-feed__subitem" }, Ua = /* @__PURE__ */ K({
8872
+ }, s4 = { class: "ao-card-feed__subitem" }, n4 = { class: "ao-card-feed__subitem" }, Ua = /* @__PURE__ */ Y({
8873
8873
  __name: "AoCardFeed",
8874
8874
  props: {
8875
8875
  id: {},
@@ -8906,13 +8906,13 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8906
8906
  var p;
8907
8907
  return (p = t.tasks) == null ? void 0 : p.filter((C) => C.isDone).length;
8908
8908
  }), v = b(() => (u.value || 0) / (d.value || 1));
8909
- return (p, C) => (c(), R(j1, {
8909
+ return (p, C) => (c(), N(j1, {
8910
8910
  class: "ao-card-feed",
8911
8911
  "is-clickable": !0
8912
8912
  }, {
8913
8913
  header: U(() => [
8914
8914
  f("div", U9, [
8915
- p.projectName ? (c(), R(O1, {
8915
+ p.projectName ? (c(), N(O1, {
8916
8916
  key: 0,
8917
8917
  label: p.projectName,
8918
8918
  class: "ao-card-feed__project",
@@ -8921,13 +8921,13 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8921
8921
  "raw-color": p.projectColor
8922
8922
  }, null, 8, ["label", "color", "raw-color"])) : k("", !0),
8923
8923
  p.isPrivate || p.important ? (c(), m("div", j9, [
8924
- p.isPrivate ? (c(), R(ce, {
8924
+ p.isPrivate ? (c(), N(ce, {
8925
8925
  key: 0,
8926
8926
  name: "Lock",
8927
8927
  class: "ao-card-feed__warning",
8928
8928
  size: "sm"
8929
8929
  })) : k("", !0),
8930
- p.important ? (c(), R(ce, {
8930
+ p.important ? (c(), N(ce, {
8931
8931
  key: 1,
8932
8932
  name: "FlagRounded",
8933
8933
  class: "ao-card-feed__important",
@@ -8935,7 +8935,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8935
8935
  })) : k("", !0)
8936
8936
  ])) : k("", !0),
8937
8937
  p.$slots.secondary ? (c(), m("div", Z9, [
8938
- X(p.$slots, "secondary")
8938
+ x(p.$slots, "secondary")
8939
8939
  ])) : k("", !0)
8940
8940
  ])
8941
8941
  ]),
@@ -9010,7 +9010,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
9010
9010
  const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-milestone__header" }, l4 = { class: "ao-project-milestone__title" }, r4 = { class: "ao-project-milestone__body" }, u4 = {
9011
9011
  key: 0,
9012
9012
  class: "ao-project-milestone__footer"
9013
- }, da = /* @__PURE__ */ K({
9013
+ }, da = /* @__PURE__ */ Y({
9014
9014
  __name: "AoProjectOverviewMilestoneDetails",
9015
9015
  props: {
9016
9016
  milestoneId: {},
@@ -9142,7 +9142,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9142
9142
  };
9143
9143
  }
9144
9144
  });
9145
- const d4 = /* @__PURE__ */ K({
9145
+ const d4 = /* @__PURE__ */ Y({
9146
9146
  __name: "AoProjectOverviewActivityDetails",
9147
9147
  props: {
9148
9148
  phaseId: {},
@@ -9199,7 +9199,7 @@ const d4 = /* @__PURE__ */ K({
9199
9199
  };
9200
9200
  return (g, y) => {
9201
9201
  var L, j;
9202
- return i.value ? (c(), R(U1, {
9202
+ return i.value ? (c(), N(U1, {
9203
9203
  key: 0,
9204
9204
  activity: i.value,
9205
9205
  "activity-types": l.value,
@@ -9224,13 +9224,13 @@ const d4 = /* @__PURE__ */ K({
9224
9224
  onRemoveComment: A
9225
9225
  }, {
9226
9226
  default: U(() => [
9227
- X(g.$slots, "default")
9227
+ x(g.$slots, "default")
9228
9228
  ]),
9229
9229
  _: 3
9230
9230
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : k("", !0);
9231
9231
  };
9232
9232
  }
9233
- }), c4 = { class: "ao-col-header" }, f4 = /* @__PURE__ */ K({
9233
+ }), c4 = { class: "ao-col-header" }, f4 = /* @__PURE__ */ Y({
9234
9234
  __name: "AoColHeader",
9235
9235
  props: {
9236
9236
  title: {},
@@ -9243,7 +9243,7 @@ const d4 = /* @__PURE__ */ K({
9243
9243
  class: "ao-col-header__title",
9244
9244
  level: 4
9245
9245
  }, null, 8, ["title"]),
9246
- e.items ? (c(), R(O1, {
9246
+ e.items ? (c(), N(O1, {
9247
9247
  key: 0,
9248
9248
  label: e.items,
9249
9249
  class: "ao-col-header__items",
@@ -9353,7 +9353,7 @@ function w4(a, e, t = {}) {
9353
9353
  };
9354
9354
  }
9355
9355
  const $4 = {
9356
- class: /* @__PURE__ */ x(["ao-list-kanban"])
9356
+ class: /* @__PURE__ */ G(["ao-list-kanban"])
9357
9357
  }, M4 = { class: "ao-list-kanban__header" }, k4 = {
9358
9358
  key: 0,
9359
9359
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
@@ -9369,7 +9369,7 @@ const $4 = {
9369
9369
  }, E4 = {
9370
9370
  key: 1,
9371
9371
  class: "ao-list-kanban__footer"
9372
- }, I4 = /* @__PURE__ */ K({
9372
+ }, I4 = /* @__PURE__ */ Y({
9373
9373
  __name: "AoListKanban",
9374
9374
  props: {
9375
9375
  list: {},
@@ -9409,11 +9409,11 @@ const $4 = {
9409
9409
  });
9410
9410
  };
9411
9411
  return (r, d) => (c(), m("div", $4, [
9412
- r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
9412
+ r.title || r.$slots.header ? x(r.$slots, "header", { key: 0 }, () => {
9413
9413
  var u;
9414
9414
  return [
9415
9415
  f("div", M4, [
9416
- r.title ? (c(), R(f4, {
9416
+ r.title ? (c(), N(f4, {
9417
9417
  key: 0,
9418
9418
  title: r.title,
9419
9419
  level: 3,
@@ -9461,7 +9461,7 @@ const $4 = {
9461
9461
  onRemoveAssignee: () => r.isEditable && i({ id: u.id, assigneeId: null })
9462
9462
  }, {
9463
9463
  secondary: U(() => [
9464
- r.isEditable ? (c(), R(fe, {
9464
+ r.isEditable ? (c(), N(fe, {
9465
9465
  key: 0,
9466
9466
  color: "primary",
9467
9467
  variant: "ghost",
@@ -9492,8 +9492,8 @@ const $4 = {
9492
9492
  _: 1
9493
9493
  }, 16, ["list", "disabled"]),
9494
9494
  r.$slots.footer || r.footerLabel ? (c(), m("div", E4, [
9495
- X(r.$slots, "footer", {}, () => [
9496
- r.isEditable ? (c(), R(Je, {
9495
+ x(r.$slots, "footer", {}, () => [
9496
+ r.isEditable ? (c(), N(Je, {
9497
9497
  key: 0,
9498
9498
  "icon-name": "AddBoxOutlineRounded",
9499
9499
  label: r.footerLabel,
@@ -9504,7 +9504,7 @@ const $4 = {
9504
9504
  ]));
9505
9505
  }
9506
9506
  });
9507
- const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder", "onKeypress"], V4 = /* @__PURE__ */ K({
9507
+ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder", "onKeypress"], V4 = /* @__PURE__ */ Y({
9508
9508
  __name: "AoSearchField",
9509
9509
  props: {
9510
9510
  modelValue: {},
@@ -9531,14 +9531,14 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
9531
9531
  }, null, 40, L4),
9532
9532
  S(ce, {
9533
9533
  name: "SearchRounded",
9534
- class: x(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
9534
+ class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
9535
9535
  }, null, 8, ["class"]),
9536
9536
  S(fe, {
9537
9537
  "icon-name": "CloseRounded",
9538
9538
  size: "sm",
9539
9539
  color: "primary",
9540
9540
  corners: "round",
9541
- class: x(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
9541
+ class: G(`ao-search-field__button ao-search-field__action ${i.modelValue ? "ao-search-field__action--visible" : ""}`),
9542
9542
  onClick: o
9543
9543
  }, null, 8, ["class"])
9544
9544
  ]));
@@ -9572,7 +9572,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9572
9572
  }, q4 = { class: "ao-field__label" }, z4 = {
9573
9573
  key: 2,
9574
9574
  class: "ao-field ao-feed__activity-details__status"
9575
- }, W4 = { class: "ao-field__label" }, Y4 = { class: "ao-field__row" }, K4 = { class: "ao-field" }, G4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
9575
+ }, W4 = { class: "ao-field__label" }, Y4 = { class: "ao-field__row" }, K4 = { class: "ao-field" }, G4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ Y({
9576
9576
  __name: "AoFeed",
9577
9577
  props: {
9578
9578
  activities: {},
@@ -9597,16 +9597,16 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9597
9597
  ue(
9598
9598
  [() => t.statuses, () => t.activities, () => t.initialActivityId],
9599
9599
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9600
- async ([M, Y, ie], [B, T]) => {
9600
+ async ([M, K, ie], [B, T]) => {
9601
9601
  r.value = Object.fromEntries(
9602
- M.map((N) => [
9603
- N.id,
9604
- Y.filter((pe) => {
9602
+ M.map((R) => [
9603
+ R.id,
9604
+ K.filter((pe) => {
9605
9605
  var Me;
9606
- return ((Me = pe.status) == null ? void 0 : Me.id) === N.id;
9606
+ return ((Me = pe.status) == null ? void 0 : Me.id) === R.id;
9607
9607
  })
9608
9608
  ])
9609
- ), ie && !d.value && (l(ie), d.value = !0), u.value && Ue(Y, T);
9609
+ ), ie && !d.value && (l(ie), d.value = !0), u.value && Ue(K, T);
9610
9610
  },
9611
9611
  { immediate: !0 }
9612
9612
  );
@@ -9614,15 +9614,15 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9614
9614
  var M;
9615
9615
  return !i.value || !i.value.milestone ? "" : `${((M = i.value.milestone.phase) == null ? void 0 : M.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
9616
9616
  }), p = (M) => {
9617
- var N, pe;
9618
- const Y = (N = t.activities) == null ? void 0 : N.at(-1), ie = Y ? Te.LexoRank.parse(Y.rank).genNext() : Te.LexoRank.middle(), B = ((pe = t.activities) == null ? void 0 : pe.length) ?? 0, T = {
9617
+ var R, pe;
9618
+ const K = (R = t.activities) == null ? void 0 : R.at(-1), ie = K ? Te.LexoRank.parse(K.rank).genNext() : Te.LexoRank.middle(), B = ((pe = t.activities) == null ? void 0 : pe.length) ?? 0, T = {
9619
9619
  name: n("activity.defaultName", { idx: B + 1 }),
9620
9620
  rank: ie.format(),
9621
9621
  statusId: M.id
9622
9622
  };
9623
9623
  t.filters.assigneeId.length > 0 && (T.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (T.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (T.typeId = t.filters.typeId[0]), u.value = !0, e("addActivity", T);
9624
- }, C = (M, Y) => {
9625
- u.value = !1, e("update:filters", { ...t.filters, [M]: Y });
9624
+ }, C = (M, K) => {
9625
+ u.value = !1, e("update:filters", { ...t.filters, [M]: K });
9626
9626
  }, w = b(
9627
9627
  () => t.project ? [t.project] : t.projects ?? []
9628
9628
  ), $ = b(() => w.value.map((M) => ({
@@ -9630,9 +9630,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9630
9630
  label: M.name
9631
9631
  }))), A = b(() => {
9632
9632
  var M;
9633
- return (M = t.activityTypes) == null ? void 0 : M.map((Y) => ({
9634
- value: Y.id,
9635
- label: Y.name
9633
+ return (M = t.activityTypes) == null ? void 0 : M.map((K) => ({
9634
+ value: K.id,
9635
+ label: K.name
9636
9636
  }));
9637
9637
  }), g = b(() => t.users.map((M) => ({
9638
9638
  value: M.id,
@@ -9657,7 +9657,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9657
9657
  }
9658
9658
  }), H = (M) => {
9659
9659
  u.value = !1, e("update:searchText", M);
9660
- }, G = (M) => {
9660
+ }, X = (M) => {
9661
9661
  u.value = !1, e("clear:searchText", M);
9662
9662
  }, te = (M) => {
9663
9663
  i.value && e("addSubtask", M);
@@ -9675,18 +9675,18 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9675
9675
  activityId: i.value.id
9676
9676
  });
9677
9677
  }, z = (M) => {
9678
- const { id: Y } = i.value || {};
9679
- Y && e("updateComment", M);
9678
+ const { id: K } = i.value || {};
9679
+ K && e("updateComment", M);
9680
9680
  }, ae = (M) => {
9681
- const { id: Y } = i.value || {};
9682
- Y && e("removeComment", M);
9681
+ const { id: K } = i.value || {};
9682
+ K && e("removeComment", M);
9683
9683
  }, re = b(() => w.value.map((M) => ({
9684
9684
  value: M.id,
9685
9685
  label: M.name
9686
9686
  }))), oe = b(() => {
9687
- var Y, ie, B;
9688
- const M = (B = (ie = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : ie.phases) == null ? void 0 : B.reduce(
9689
- (T, N) => [...T, ...N.milestones],
9687
+ var K, ie, B;
9688
+ const M = (B = (ie = (K = i.value) == null ? void 0 : K.project) == null ? void 0 : ie.phases) == null ? void 0 : B.reduce(
9689
+ (T, R) => [...T, ...R.milestones],
9690
9690
  []
9691
9691
  );
9692
9692
  return M == null ? void 0 : M.map((T) => ({
@@ -9705,9 +9705,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9705
9705
  });
9706
9706
  }, F = b(() => {
9707
9707
  var M;
9708
- return (M = t.statuses) == null ? void 0 : M.map((Y) => ({
9709
- value: Y.id,
9710
- label: Y.name
9708
+ return (M = t.statuses) == null ? void 0 : M.map((K) => ({
9709
+ value: K.id,
9710
+ label: K.name
9711
9711
  }));
9712
9712
  }), ne = (M) => {
9713
9713
  i.value && e("update:activity", {
@@ -9715,18 +9715,18 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9715
9715
  statusId: M
9716
9716
  });
9717
9717
  };
9718
- return (M, Y) => {
9718
+ return (M, K) => {
9719
9719
  var ie;
9720
9720
  return c(), m("div", B4, [
9721
9721
  S(d1, null, {
9722
9722
  primary: U(() => [
9723
9723
  f("div", N4, [
9724
- t.project ? (c(), R(Ra, {
9724
+ t.project ? (c(), N(Ra, {
9725
9725
  key: 0,
9726
9726
  "is-left": !1,
9727
9727
  "right-label": M.$t("project.switch.feed"),
9728
9728
  "left-label": M.$t("project.switch.overview"),
9729
- "onUpdate:isLeft": Y[0] || (Y[0] = (B) => {
9729
+ "onUpdate:isLeft": K[0] || (K[0] = (B) => {
9730
9730
  B && M.$router.push({ name: q(He).project });
9731
9731
  })
9732
9732
  }, null, 8, ["right-label", "left-label"])) : k("", !0),
@@ -9735,9 +9735,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9735
9735
  placeholder: M.$t("feed.search.placeholder"),
9736
9736
  class: "ao-feed__search",
9737
9737
  "onUpdate:modelValue": H,
9738
- onClear: G
9738
+ onClear: X
9739
9739
  }, null, 8, ["model-value", "placeholder"]),
9740
- t.project ? k("", !0) : (c(), R(be, {
9740
+ t.project ? k("", !0) : (c(), N(be, {
9741
9741
  key: 1,
9742
9742
  "model-value": M.filters[q(dt).project],
9743
9743
  mode: "tags",
@@ -9746,9 +9746,9 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9746
9746
  searchable: !0,
9747
9747
  class: "ao-feed__filter ao-feed__filter__projects",
9748
9748
  placeholder: M.$t("feed.filters.project.placeholder"),
9749
- "onUpdate:modelValue": Y[1] || (Y[1] = (B) => C(q(dt).project, B))
9749
+ "onUpdate:modelValue": K[1] || (K[1] = (B) => C(q(dt).project, B))
9750
9750
  }, null, 8, ["model-value", "options", "placeholder"])),
9751
- A.value ? (c(), R(be, {
9751
+ A.value ? (c(), N(be, {
9752
9752
  key: 2,
9753
9753
  "model-value": M.filters[q(dt).type],
9754
9754
  mode: "tags",
@@ -9757,7 +9757,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9757
9757
  searchable: !0,
9758
9758
  class: "ao-feed__filter ao-feed__filter__types",
9759
9759
  placeholder: M.$t("feed.filters.activityType.placeholder"),
9760
- "onUpdate:modelValue": Y[2] || (Y[2] = (B) => C(q(dt).type, B))
9760
+ "onUpdate:modelValue": K[2] || (K[2] = (B) => C(q(dt).type, B))
9761
9761
  }, null, 8, ["model-value", "options", "placeholder"])) : k("", !0),
9762
9762
  S(be, {
9763
9763
  "model-value": M.filters[q(dt).assignee],
@@ -9767,7 +9767,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9767
9767
  searchable: !0,
9768
9768
  class: "ao-feed__filter ao-feed__filter__assignees",
9769
9769
  placeholder: M.$t("feed.filters.assignee.placeholder"),
9770
- "onUpdate:modelValue": Y[3] || (Y[3] = (B) => C(q(dt).assignee, B))
9770
+ "onUpdate:modelValue": K[3] || (K[3] = (B) => C(q(dt).assignee, B))
9771
9771
  }, {
9772
9772
  tag: U(({
9773
9773
  option: B,
@@ -9777,7 +9777,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9777
9777
  "user-name": B.label,
9778
9778
  "avatar-url": B.avatar,
9779
9779
  "is-closable": !0,
9780
- onClose: (N) => T(B, N)
9780
+ onClose: (R) => T(B, R)
9781
9781
  }, null, 8, ["user-name", "avatar-url", "onClose"])
9782
9782
  ]),
9783
9783
  _: 1
@@ -9793,13 +9793,13 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9793
9793
  label: M.$t("feed.filters.showsArchivedActivities.label"),
9794
9794
  role: "checkbox",
9795
9795
  "aria-checked": M.showsArchivedActivities,
9796
- onClick: Y[4] || (Y[4] = (B) => M.$emit("update:showsArchivedActivities", !M.showsArchivedActivities))
9796
+ onClick: K[4] || (K[4] = (B) => M.$emit("update:showsArchivedActivities", !M.showsArchivedActivities))
9797
9797
  }, null, 8, ["icon-name", "label", "aria-checked"])
9798
9798
  ]),
9799
9799
  _: 1
9800
9800
  }),
9801
9801
  f("div", R4, [
9802
- (c(!0), m(ve, null, ye(M.statuses, (B) => (c(), R(I4, {
9802
+ (c(!0), m(ve, null, ye(M.statuses, (B) => (c(), N(I4, {
9803
9803
  key: B.id,
9804
9804
  status: B,
9805
9805
  list: r.value[B.id],
@@ -9813,8 +9813,8 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9813
9813
  onUpdateActivity: L
9814
9814
  }, null, 8, ["status", "list", "title", "footer-label", "users", "is-editable", "onAdd"]))), 128))
9815
9815
  ]),
9816
- (c(), R(It, { to: "body" }, [
9817
- q(i) ? (c(), R(U1, {
9816
+ (c(), N(It, { to: "body" }, [
9817
+ q(i) ? (c(), N(U1, {
9818
9818
  key: 0,
9819
9819
  activity: q(i),
9820
9820
  "activity-types": A.value,
@@ -9826,7 +9826,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9826
9826
  statuses: M.statuses,
9827
9827
  breadcrumbs: v.value,
9828
9828
  "is-editable": M.isEditable,
9829
- onClose: Y[6] || (Y[6] = () => l(null)),
9829
+ onClose: K[6] || (K[6] = () => l(null)),
9830
9830
  "onUpdate:activity": y,
9831
9831
  onAddSubtask: te,
9832
9832
  onUpdateSubtask: E,
@@ -9838,7 +9838,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9838
9838
  onRemoveComment: ae
9839
9839
  }, {
9840
9840
  header: U(() => {
9841
- var B, T, N;
9841
+ var B, T, R;
9842
9842
  return [
9843
9843
  f("div", U4, [
9844
9844
  re.value && !t.project ? (c(), m("label", j4, [
@@ -9867,7 +9867,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9867
9867
  f("span", W4, Z(M.$t("activity.status.label")), 1),
9868
9868
  S(be, {
9869
9869
  options: F.value,
9870
- value: (N = q(i).status) == null ? void 0 : N.id,
9870
+ value: (R = q(i).status) == null ? void 0 : R.id,
9871
9871
  "can-clear": !1,
9872
9872
  "can-deselect": !1,
9873
9873
  disabled: !M.isEditable,
@@ -9883,7 +9883,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9883
9883
  f("label", K4, [
9884
9884
  f("span", G4, Z(M.$t("activity.deadline.label")), 1),
9885
9885
  tt(f("input", {
9886
- "onUpdate:modelValue": Y[5] || (Y[5] = (T) => W.value = T),
9886
+ "onUpdate:modelValue": K[5] || (K[5] = (T) => W.value = T),
9887
9887
  class: "ao-field__input",
9888
9888
  type: "date"
9889
9889
  }, null, 512), [
@@ -9896,7 +9896,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9896
9896
  ])
9897
9897
  ])
9898
9898
  ]),
9899
- X(M.$slots, "activityDetailsBody", a1(s1(B)))
9899
+ x(M.$slots, "activityDetailsBody", a1(s1(B)))
9900
9900
  ]),
9901
9901
  _: 3
9902
9902
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : k("", !0)
@@ -9971,7 +9971,7 @@ const ft = {
9971
9971
  }
9972
9972
  ]
9973
9973
  }
9974
- ], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ K({
9974
+ ], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ Y({
9975
9975
  __name: "AoTemplatesList",
9976
9976
  props: {
9977
9977
  templates: {}
@@ -10055,38 +10055,56 @@ const ft = {
10055
10055
  ]));
10056
10056
  }
10057
10057
  });
10058
- const J4 = { class: "ao-field" }, e8 = { class: "ao-field__label" }, t8 = ["type", "value", "disabled", "readonly"], f8 = /* @__PURE__ */ K({
10058
+ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ Y({
10059
+ __name: "AoField",
10060
+ props: {
10061
+ label: {},
10062
+ isMultiselect: { type: Boolean, default: !1 }
10063
+ },
10064
+ setup(a) {
10065
+ return (e, t) => (c(), m("label", {
10066
+ class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
10067
+ }, [
10068
+ f("span", J4, Z(e.label), 1),
10069
+ x(e.$slots, "default")
10070
+ ], 2));
10071
+ }
10072
+ }), t8 = ["type", "value", "disabled", "readonly"], f8 = /* @__PURE__ */ Y({
10059
10073
  __name: "AoInputField",
10060
10074
  props: {
10061
10075
  label: { default: "" },
10062
10076
  type: { default: "text" },
10063
10077
  modelValue: {},
10064
10078
  modelModifiers: { default: () => ({}) },
10065
- disabled: { type: Boolean, default: !1 },
10066
- readonly: { type: Boolean, default: !1 }
10079
+ isDisabled: { type: Boolean, default: !1 },
10080
+ isReadonly: { type: Boolean, default: !1 }
10067
10081
  },
10068
10082
  emits: ["update:modelValue"],
10069
10083
  setup(a) {
10070
10084
  const e = a, t = b(
10071
10085
  () => e.modelModifiers.lazy ? "change" : "input"
10072
10086
  );
10073
- return (n, s) => (c(), m("label", J4, [
10074
- f("span", e8, Z(n.label), 1),
10075
- f("input", Ee({
10076
- class: "ao-field__input",
10077
- type: n.type,
10078
- value: n.modelValue,
10079
- disabled: n.disabled,
10080
- readonly: n.readonly
10081
- }, {
10082
- [gs(t.value)]: s[0] || (s[0] = (o) => n.$emit("update:modelValue", o.target.value))
10083
- }), null, 16, t8)
10084
- ]));
10087
+ return (n, s) => (c(), N(e8, { label: n.label }, {
10088
+ default: U(() => [
10089
+ f("input", Ee({
10090
+ class: "ao-field__input",
10091
+ type: n.type,
10092
+ value: n.modelValue,
10093
+ disabled: n.isDisabled,
10094
+ readonly: n.isReadonly
10095
+ }, {
10096
+ [gs(t.value)]: s[0] || (s[0] = (o) => n.$emit("update:modelValue", o.target.value))
10097
+ }), null, 16, t8)
10098
+ ]),
10099
+ _: 1
10100
+ }, 8, ["label"]));
10085
10101
  }
10086
10102
  });
10087
10103
  export {
10088
10104
  x4 as AoFeed,
10105
+ e8 as AoField,
10089
10106
  f8 as AoInputField,
10107
+ be as AoMultiselect,
10090
10108
  X7 as AoTemplateDetails,
10091
10109
  o8 as AoTemplates,
10092
10110
  Q4 as AoTemplatesList,