@26lights/orcha 0.36.25 → 0.36.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as A, normalizeStyle as wn, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
1
+ import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as M, normalizeStyle as wn, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Fe, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
2
2
  import { RouterView as Ri } from "vue-router";
3
3
  import mt from "vuedraggable";
4
- const u8 = /* @__PURE__ */ z({
4
+ const c8 = /* @__PURE__ */ z({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -1346,21 +1346,21 @@ const O2 = {
1346
1346
  }, {
1347
1347
  default: W(() => [
1348
1348
  n.isDraggable ? (p(), g("div", O2, [
1349
- A(pe, {
1349
+ M(pe, {
1350
1350
  name: "DragIndicator",
1351
1351
  class: "ao-card-horiz__drag-handle"
1352
1352
  })
1353
1353
  ])) : T("", !0),
1354
1354
  v("div", E2, [
1355
1355
  n.icon ? (p(), g("div", I2, [
1356
- A(pe, {
1356
+ M(pe, {
1357
1357
  class: "ao-card-horiz__icon",
1358
1358
  name: n.icon,
1359
1359
  size: "xl"
1360
1360
  }, null, 8, ["name"])
1361
1361
  ])) : T("", !0),
1362
1362
  v("div", L2, [
1363
- A(ye, {
1363
+ M(ye, {
1364
1364
  id: n.id,
1365
1365
  class: "ao-card-horiz__title",
1366
1366
  level: 4,
@@ -1428,7 +1428,7 @@ const Mn = /* @__PURE__ */ z({
1428
1428
  class: "ao-tag__close",
1429
1429
  onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
1430
1430
  }, [
1431
- A(pe, {
1431
+ M(pe, {
1432
1432
  name: "CloseRounded",
1433
1433
  size: "sm",
1434
1434
  class: "ao-tag__close-icon"
@@ -1441,11 +1441,11 @@ const hn = {
1441
1441
  todo: "todo",
1442
1442
  done: "done",
1443
1443
  archived: "archived"
1444
- }, c8 = {
1444
+ }, d8 = {
1445
1445
  months: "months",
1446
1446
  weeks: "weeks",
1447
1447
  days: "days"
1448
- }, d8 = {
1448
+ }, p8 = {
1449
1449
  future: "future",
1450
1450
  this_month: "this_month",
1451
1451
  this_week: "this_week",
@@ -1469,7 +1469,7 @@ const hn = {
1469
1469
  TASKS: "tasks"
1470
1470
  };
1471
1471
  var F2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(F2 || {});
1472
- const p8 = {
1472
+ const f8 = {
1473
1473
  add: "add",
1474
1474
  remove: "remove",
1475
1475
  moved: "moved"
@@ -2745,8 +2745,8 @@ function Ns(t, e, a) {
2745
2745
  }, ie = L.match(X0).map(function(E) {
2746
2746
  var N = E[0];
2747
2747
  if (N === "p" || N === "P") {
2748
- var M = r0[N];
2749
- return M(E, F.formatLong);
2748
+ var A = r0[N];
2749
+ return A(E, F.formatLong);
2750
2750
  }
2751
2751
  return E;
2752
2752
  }).join("").match(G0).map(function(E) {
@@ -2755,9 +2755,9 @@ function Ns(t, e, a) {
2755
2755
  var N = E[0];
2756
2756
  if (N === "'")
2757
2757
  return t3(E);
2758
- var M = s0[N];
2759
- if (M)
2760
- return !(a != null && a.useAdditionalWeekYearTokens) && d0(E) && ds(E, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(E) && ds(E, e, String(t)), M(R, E, F.localize, Z);
2758
+ var A = s0[N];
2759
+ if (A)
2760
+ return !(a != null && a.useAdditionalWeekYearTokens) && d0(E) && ds(E, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(E) && ds(E, e, String(t)), A(R, E, F.localize, Z);
2761
2761
  if (N.match(e3))
2762
2762
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + N + "`");
2763
2763
  return E;
@@ -3768,14 +3768,14 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3768
3768
  subtitle: W(() => [
3769
3769
  v("ul", H3, [
3770
3770
  v("li", D3, [
3771
- A(pe, {
3771
+ M(pe, {
3772
3772
  name: "MountainFlagOutlineRounded",
3773
3773
  size: "sm"
3774
3774
  }),
3775
3775
  v("span", P3, G(n.milestones), 1)
3776
3776
  ]),
3777
3777
  v("li", V3, [
3778
- A(pe, {
3778
+ M(pe, {
3779
3779
  name: "TaskOutlineRounded",
3780
3780
  size: "sm"
3781
3781
  }),
@@ -3787,7 +3787,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3787
3787
  v("div", R3, [
3788
3788
  v("div", N3, [
3789
3789
  v("div", j3, [
3790
- A(pe, {
3790
+ M(pe, {
3791
3791
  name: "WaterfallChartRounded",
3792
3792
  size: "sm"
3793
3793
  }),
@@ -3823,7 +3823,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3823
3823
  v("span", G3, G(n.$t("template.updatedBy.label")), 1)
3824
3824
  ]),
3825
3825
  v("div", X3, [
3826
- A(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3826
+ M(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3827
3827
  ])
3828
3828
  ])) : T("", !0)
3829
3829
  ])
@@ -3925,7 +3925,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
3925
3925
  v("ul", s5, [
3926
3926
  (p(), g(ve, null, _e(n, (l) => (p(), g(ve, { key: l }, [
3927
3927
  i.$props[l] ? (p(), g("li", i5, [
3928
- A(pe, {
3928
+ M(pe, {
3929
3929
  name: s[l],
3930
3930
  size: "sm"
3931
3931
  }, null, 8, ["name"]),
@@ -3936,7 +3936,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
3936
3936
  ]),
3937
3937
  secondary: W(() => [
3938
3938
  v("div", r5, [
3939
- A(ce, {
3939
+ M(ce, {
3940
3940
  "icon-name": "DeleteOutlineRounded",
3941
3941
  variant: "ghost",
3942
3942
  size: "md",
@@ -4024,7 +4024,7 @@ const l5 = /* @__PURE__ */ z({
4024
4024
  onChange: i
4025
4025
  }, {
4026
4026
  header: W(() => [
4027
- A(ye, {
4027
+ M(ye, {
4028
4028
  title: "Milestones",
4029
4029
  level: 3,
4030
4030
  class: "ao-list__title"
@@ -4049,7 +4049,7 @@ const l5 = /* @__PURE__ */ z({
4049
4049
  ]),
4050
4050
  footer: W(() => [
4051
4051
  v("div", c5, [
4052
- A(Ct, {
4052
+ M(Ct, {
4053
4053
  "icon-name": "AddBoxOutlineRounded",
4054
4054
  label: r.$t("template.milestones.add"),
4055
4055
  onClick: n
@@ -4114,7 +4114,7 @@ const l5 = /* @__PURE__ */ z({
4114
4114
  onChange: i
4115
4115
  }, {
4116
4116
  header: W(() => [
4117
- A(ye, {
4117
+ M(ye, {
4118
4118
  title: "Activities",
4119
4119
  level: 3,
4120
4120
  class: "ao-list__title"
@@ -4135,7 +4135,7 @@ const l5 = /* @__PURE__ */ z({
4135
4135
  ]),
4136
4136
  footer: W(() => [
4137
4137
  v("div", f5, [
4138
- A(Ct, {
4138
+ M(Ct, {
4139
4139
  "icon-name": "AddBoxOutlineRounded",
4140
4140
  label: r.$t("template.activities.add"),
4141
4141
  onClick: n
@@ -4168,7 +4168,7 @@ const l5 = /* @__PURE__ */ z({
4168
4168
  v("div", h5, [
4169
4169
  e.$slots.header ? (p(), g("div", m5, [
4170
4170
  v("div", C5, [
4171
- A(ce, {
4171
+ M(ce, {
4172
4172
  "icon-name": "CloseRounded",
4173
4173
  variant: "ghost",
4174
4174
  color: "primary",
@@ -4490,7 +4490,7 @@ const I5 = function(t) {
4490
4490
  switch (h) {
4491
4491
  case "bestFit": {
4492
4492
  var x;
4493
- const E = (x = U.map((N) => [N.placement, N.overflows.filter((M) => M > 0).reduce((M, m) => M + m, 0)]).sort((N, M) => N[1] - M[1])[0]) == null ? void 0 : x[0];
4493
+ const E = (x = U.map((N) => [N.placement, N.overflows.filter((A) => A > 0).reduce((A, m) => A + m, 0)]).sort((N, A) => N[1] - A[1])[0]) == null ? void 0 : x[0];
4494
4494
  E && (ie = E);
4495
4495
  break;
4496
4496
  }
@@ -4572,7 +4572,7 @@ function Gs(t) {
4572
4572
  function et(t) {
4573
4573
  return t instanceof Element || t instanceof ke(t).Element;
4574
4574
  }
4575
- function Ue(t) {
4575
+ function Ze(t) {
4576
4576
  return t instanceof HTMLElement || t instanceof ke(t).HTMLElement;
4577
4577
  }
4578
4578
  function hs(t) {
@@ -4596,7 +4596,7 @@ function Dn(t) {
4596
4596
  }
4597
4597
  function D5(t) {
4598
4598
  let e = Ut(t);
4599
- for (; Ue(e) && !Ga(e); ) {
4599
+ for (; Ze(e) && !Ga(e); ) {
4600
4600
  if (Dn(e))
4601
4601
  return e;
4602
4602
  e = Ut(e);
@@ -4635,7 +4635,7 @@ function Ut(t) {
4635
4635
  }
4636
4636
  function Xs(t) {
4637
4637
  const e = Ut(t);
4638
- return Ga(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
4638
+ return Ga(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ze(e) && ga(e) ? e : Xs(e);
4639
4639
  }
4640
4640
  function ca(t, e, a) {
4641
4641
  var n;
@@ -4646,7 +4646,7 @@ function ca(t, e, a) {
4646
4646
  function Qs(t) {
4647
4647
  const e = Ve(t);
4648
4648
  let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
4649
- const s = Ue(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
4649
+ const s = Ze(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
4650
4650
  return r && (a = o, n = i), {
4651
4651
  width: a,
4652
4652
  height: n,
@@ -4658,7 +4658,7 @@ function Vn(t) {
4658
4658
  }
4659
4659
  function Vt(t) {
4660
4660
  const e = Vn(t);
4661
- if (!Ue(e))
4661
+ if (!Ze(e))
4662
4662
  return pt(1);
4663
4663
  const a = e.getBoundingClientRect(), {
4664
4664
  width: n,
@@ -4710,7 +4710,7 @@ function B5(t) {
4710
4710
  offsetParent: a,
4711
4711
  strategy: n
4712
4712
  } = t;
4713
- const s = Ue(a), o = at(a);
4713
+ const s = Ze(a), o = at(a);
4714
4714
  if (a === o)
4715
4715
  return e;
4716
4716
  let i = {
@@ -4718,7 +4718,7 @@ function B5(t) {
4718
4718
  scrollTop: 0
4719
4719
  }, r = pt(1);
4720
4720
  const l = pt(0);
4721
- if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Xa(a)), Ue(a))) {
4721
+ if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Xa(a)), Ze(a))) {
4722
4722
  const c = St(a);
4723
4723
  r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
4724
4724
  }
@@ -4762,7 +4762,7 @@ function j5(t, e) {
4762
4762
  };
4763
4763
  }
4764
4764
  function F5(t, e) {
4765
- const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Ue(t) ? Vt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
4765
+ const a = St(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Ze(t) ? Vt(t) : pt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, l = s * o.x, c = n * o.y;
4766
4766
  return {
4767
4767
  width: i,
4768
4768
  height: r,
@@ -4827,7 +4827,7 @@ function W5(t) {
4827
4827
  return Qs(t);
4828
4828
  }
4829
4829
  function q5(t, e, a) {
4830
- const n = Ue(e), s = at(e), o = a === "fixed", i = St(t, !0, o, e);
4830
+ const n = Ze(e), s = at(e), o = a === "fixed", i = St(t, !0, o, e);
4831
4831
  let r = {
4832
4832
  scrollLeft: 0,
4833
4833
  scrollTop: 0
@@ -4847,11 +4847,11 @@ function q5(t, e, a) {
4847
4847
  };
4848
4848
  }
4849
4849
  function Cs(t, e) {
4850
- return !Ue(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4850
+ return !Ze(t) || Ve(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4851
4851
  }
4852
4852
  function ai(t, e) {
4853
4853
  const a = ke(t);
4854
- if (!Ue(t))
4854
+ if (!Ze(t))
4855
4855
  return a;
4856
4856
  let n = Cs(t, e);
4857
4857
  for (; n && H5(n) && Ve(n).position === "static"; )
@@ -5154,19 +5154,19 @@ function i7(t, e, a) {
5154
5154
  groups: ie,
5155
5155
  reverse: E,
5156
5156
  infinite: N,
5157
- groupOptions: M,
5157
+ groupOptions: A,
5158
5158
  groupHideEmpty: m,
5159
5159
  groupSelect: I,
5160
5160
  onCreate: J,
5161
5161
  disabledProp: ae,
5162
5162
  searchStart: le,
5163
5163
  searchFilter: ne
5164
- } = Me(t), re = At().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, tn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Ae = ee(!1), Be = ee(null), qe = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
5164
+ } = Me(t), re = At().proxy, Y = a.iv, V = a.ev, X = a.search, he = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, tn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Ae = ee(!1), Be = ee(null), ze = ee(N.value && i.value === -1 ? 10 : i.value), Xt = S(() => l.value || c.value || !1), ba = S(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = S(() => {
5165
5165
  if (ie.value) {
5166
5166
  let $ = _t.value || /* istanbul ignore next */
5167
5167
  [], B = [];
5168
5168
  return $.forEach((oe) => {
5169
- un(oe[M.value]).forEach((me) => {
5169
+ un(oe[A.value]).forEach((me) => {
5170
5170
  B.push(Object.assign({}, me, oe[ae.value] ? { [ae.value]: !0 } : {}));
5171
5171
  });
5172
5172
  }), B;
@@ -5180,7 +5180,7 @@ function i7(t, e, a) {
5180
5180
  return E.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), ln($);
5181
5181
  }), ot = S(() => {
5182
5182
  let $ = Qt.value;
5183
- return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
5183
+ return ze.value > 0 && ($ = $.slice(0, ze.value)), $;
5184
5184
  }), _t = S(() => {
5185
5185
  if (!ie.value)
5186
5186
  return [];
@@ -5188,14 +5188,14 @@ function i7(t, e, a) {
5188
5188
  [];
5189
5189
  return it.value.length && $.push({
5190
5190
  [U.value]: " ",
5191
- [M.value]: [...it.value],
5191
+ [A.value]: [...it.value],
5192
5192
  __CREATE__: !0
5193
5193
  }), $.concat(B);
5194
5194
  }), wa = S(() => {
5195
5195
  let $ = [..._t.value].map((B) => ({ ...B }));
5196
- return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][M.value] = [...Ot.value, ...$[0][M.value]] : $ = [{
5196
+ return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][A.value] = [...Ot.value, ...$[0][A.value]] : $ = [{
5197
5197
  [U.value]: " ",
5198
- [M.value]: [...Ot.value],
5198
+ [A.value]: [...Ot.value],
5199
5199
  __CREATE__: !0
5200
5200
  }].concat($)), $;
5201
5201
  }), an = S(() => {
@@ -5204,12 +5204,12 @@ function i7(t, e, a) {
5204
5204
  let $ = wa.value;
5205
5205
  return Mi(($ || /* istanbul ignore next */
5206
5206
  []).map((B, oe) => {
5207
- const me = un(B[M.value]);
5207
+ const me = un(B[A.value]);
5208
5208
  return {
5209
5209
  ...B,
5210
5210
  index: oe,
5211
5211
  group: !0,
5212
- [M.value]: ln(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
5212
+ [A.value]: ln(me, !1).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {})),
5213
5213
  __VISIBLE__: ln(me).map((bt) => Object.assign({}, bt, B[ae.value] ? { [ae.value]: !0 } : {}))
5214
5214
  };
5215
5215
  }));
@@ -5235,7 +5235,7 @@ function i7(t, e, a) {
5235
5235
  return [];
5236
5236
  }
5237
5237
  }), mi = S(() => b.value || Ae.value), Et = ($) => {
5238
- switch (typeof $ != "object" && ($ = xe($)), s.value) {
5238
+ switch (typeof $ != "object" && ($ = Ye($)), s.value) {
5239
5239
  case "single":
5240
5240
  we($);
5241
5241
  break;
@@ -5246,7 +5246,7 @@ function i7(t, e, a) {
5246
5246
  }
5247
5247
  e.emit("select", es($), $, re);
5248
5248
  }, It = ($) => {
5249
- switch (typeof $ != "object" && ($ = xe($)), s.value) {
5249
+ switch (typeof $ != "object" && ($ = Ye($)), s.value) {
5250
5250
  case "single":
5251
5251
  as();
5252
5252
  break;
@@ -5266,9 +5266,9 @@ function i7(t, e, a) {
5266
5266
  ts($);
5267
5267
  }, as = () => {
5268
5268
  we(hi.value), e.emit("clear", re);
5269
- }, ze = ($) => {
5269
+ }, xe = ($) => {
5270
5270
  if ($.group !== void 0)
5271
- return s.value === "single" ? !1 : wi($[M.value]) && $[M.value].length;
5271
+ return s.value === "single" ? !1 : wi($[A.value]) && $[A.value].length;
5272
5272
  switch (s.value) {
5273
5273
  case "single":
5274
5274
  return !je(Y.value) && Y.value[H.value] == $[H.value];
@@ -5278,7 +5278,7 @@ function i7(t, e, a) {
5278
5278
  }
5279
5279
  }, sn = ($) => $[ae.value] === !0, on = () => O === void 0 || O.value === -1 || !nn.value && O.value > 0 ? !1 : Y.value.length >= O.value, gi = ($) => {
5280
5280
  if (!sn($)) {
5281
- if (J && J.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
5281
+ if (J && J.value && !xe($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = J.value($, re), $ instanceof Promise)) {
5282
5282
  Ae.value = !0, $.then((B) => {
5283
5283
  Ae.value = !1, ns(B);
5284
5284
  });
@@ -5289,14 +5289,14 @@ function i7(t, e, a) {
5289
5289
  }, ns = ($) => {
5290
5290
  switch ($.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__), s.value) {
5291
5291
  case "single":
5292
- if ($ && ze($)) {
5292
+ if ($ && xe($)) {
5293
5293
  q.value && It($), Z.value && (nt(), st());
5294
5294
  return;
5295
5295
  }
5296
5296
  $ && rn($), L.value && he(), R.value && (nt(), st()), $ && Et($);
5297
5297
  break;
5298
5298
  case "multiple":
5299
- if ($ && ze($)) {
5299
+ if ($ && xe($)) {
5300
5300
  It($), Z.value && (nt(), st());
5301
5301
  return;
5302
5302
  }
@@ -5307,7 +5307,7 @@ function i7(t, e, a) {
5307
5307
  $ && (rn($), Et($)), L.value && he(), r.value && nt(), R.value && st();
5308
5308
  break;
5309
5309
  case "tags":
5310
- if ($ && ze($)) {
5310
+ if ($ && xe($)) {
5311
5311
  It($), Z.value && (nt(), st());
5312
5312
  return;
5313
5313
  }
@@ -5324,26 +5324,26 @@ function i7(t, e, a) {
5324
5324
  switch (s.value) {
5325
5325
  case "multiple":
5326
5326
  case "tags":
5327
- bi($[M.value]) ? It($[M.value]) : Et(
5328
- $[M.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
5327
+ bi($[A.value]) ? It($[A.value]) : Et(
5328
+ $[A.value].filter((B) => Y.value.map((oe) => oe[H.value]).indexOf(B[H.value]) === -1).filter((B) => !B[ae.value]).filter((B, oe) => Y.value.length + 1 + oe <= O.value || O.value === -1)
5329
5329
  ), r.value && Kt.value && Gt(an.value.filter((B) => !B[ae.value])[Kt.value.index]);
5330
5330
  break;
5331
5331
  }
5332
5332
  R.value && tn();
5333
5333
  }
5334
5334
  }, rn = ($) => {
5335
- xe($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
5335
+ Ye($[H.value]) === void 0 && Xt.value && (e.emit("tag", $[H.value], re), e.emit("option", $[H.value], re), e.emit("create", $[H.value], re), ba.value && Si($), he());
5336
5336
  }, yi = () => {
5337
- s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
5338
- }, bi = ($) => $.find((B) => !ze(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
5337
+ s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !xe($)));
5338
+ }, bi = ($) => $.find((B) => !xe(B) && !B[ae.value]) === void 0, wi = ($) => $.find((B) => !xe(B)) === void 0, Ye = ($) => Te.value[Te.value.map((B) => String(B[H.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((oe) => (parseInt(B[oe]) == B[oe] ? parseInt(B[oe]) : B[oe]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && xe($), Si = ($) => {
5339
5339
  it.value.push($);
5340
5340
  }, Mi = ($) => m.value ? $.filter(
5341
- (B) => X.value ? B.__VISIBLE__.length : B[M.value].length
5341
+ (B) => X.value ? B.__VISIBLE__.length : B[A.value].length
5342
5342
  ) : $.filter((B) => X.value ? B.__VISIBLE__.length : !0), ln = ($, B = !0) => {
5343
5343
  let oe = $;
5344
5344
  if (X.value && C.value) {
5345
5345
  let me = ne.value;
5346
- me || (me = (bt, is, i8) => yt.value.some((Ti) => {
5346
+ me || (me = (bt, is, o8) => yt.value.some((Ti) => {
5347
5347
  let os = fn(ya(bt[Ti]), x.value);
5348
5348
  return le.value ? os.startsWith(fn(is, x.value)) : os.indexOf(fn(is, x.value)) !== -1;
5349
5349
  })), oe = oe.filter((bt) => me(bt, X.value, re));
@@ -5368,14 +5368,14 @@ function i7(t, e, a) {
5368
5368
  })), cn = () => {
5369
5369
  if (nn.value)
5370
5370
  if (s.value === "single") {
5371
- let $ = xe(Y.value[H.value]);
5371
+ let $ = Ye(Y.value[H.value]);
5372
5372
  if ($ !== void 0) {
5373
5373
  let B = $[u.value];
5374
5374
  Y.value[u.value] = B, w.value && (V.value[u.value] = B);
5375
5375
  }
5376
5376
  } else
5377
5377
  Y.value.forEach(($, B) => {
5378
- let oe = xe(Y.value[B][H.value]);
5378
+ let oe = Ye(Y.value[B][H.value]);
5379
5379
  if (oe !== void 0) {
5380
5380
  let me = oe[u.value];
5381
5381
  Y.value[B][u.value] = me, w.value && (V.value[B][u.value] = me);
@@ -5383,11 +5383,11 @@ function i7(t, e, a) {
5383
5383
  });
5384
5384
  }, Ai = ($) => {
5385
5385
  ka($);
5386
- }, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (F.value ? {
5386
+ }, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? Ye($) || (F.value ? {
5387
5387
  [u.value]: $,
5388
5388
  [H.value]: $,
5389
5389
  [yt.value[0]]: $
5390
- } : {}) : $.filter((B) => !!xe(B) || F.value).map((B) => xe(B) || {
5390
+ } : {}) : $.filter((B) => !!Ye(B) || F.value).map((B) => Ye(B) || {
5391
5391
  [u.value]: B,
5392
5392
  [H.value]: B,
5393
5393
  [yt.value[0]]: B
@@ -5426,7 +5426,7 @@ function i7(t, e, a) {
5426
5426
  }, { deep: !0 }), de(n, ($, B) => {
5427
5427
  typeof t.options == "function" ? k.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(Y.value).length || $a(), cn());
5428
5428
  }), de(u, cn), de(i, ($, B) => {
5429
- qe.value = N.value && $ === -1 ? 10 : $;
5429
+ ze.value = N.value && $ === -1 ? 10 : $;
5430
5430
  }), {
5431
5431
  pfo: Qt,
5432
5432
  fo: ot,
@@ -5443,16 +5443,16 @@ function i7(t, e, a) {
5443
5443
  noResults: vi,
5444
5444
  resolving: Ae,
5445
5445
  busy: mi,
5446
- offset: qe,
5446
+ offset: ze,
5447
5447
  select: Et,
5448
5448
  deselect: It,
5449
5449
  remove: ts,
5450
5450
  selectAll: yi,
5451
5451
  clear: as,
5452
- isSelected: ze,
5452
+ isSelected: xe,
5453
5453
  isDisabled: sn,
5454
5454
  isMax: on,
5455
- getOption: xe,
5455
+ getOption: Ye,
5456
5456
  handleOptionClick: gi,
5457
5457
  handleGroupClick: _i,
5458
5458
  handleTagRemove: Ci,
@@ -5488,7 +5488,7 @@ function o7(t, e, a) {
5488
5488
  }), N = S(() => {
5489
5489
  const V = re(k.value).__VISIBLE__.filter((X) => !X[u.value]);
5490
5490
  return V[V.map((X) => X[n.value]).indexOf(k.value[n.value]) + 1];
5491
- }), M = S(() => [...x.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = S(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), I = (V) => k.value && (!V.group && k.value[n.value] === V[n.value] || V.group !== void 0 && k.value[i.value] === V[i.value]) ? !0 : void 0, J = () => {
5491
+ }), A = S(() => [...x.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), m = S(() => [...Z.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), I = (V) => k.value && (!V.group && k.value[n.value] === V[n.value] || V.group !== void 0 && k.value[i.value] === V[i.value]) ? !0 : void 0, J = () => {
5492
5492
  _(H.value[0] || null);
5493
5493
  }, ae = () => {
5494
5494
  !k.value || k.value[u.value] === !0 || (q.value ? b(k.value) : w(k.value));
@@ -5511,8 +5511,8 @@ function o7(t, e, a) {
5511
5511
  let V = H.value[H.value.length - 1];
5512
5512
  r.value && U.value && (V = m.value, V === void 0 && (V = Z.value)), _(V || null);
5513
5513
  } else if (r.value && U.value) {
5514
- let V = q.value ? M.value : E.value;
5515
- V === void 0 && (V = q.value ? x.value : O.value, V.__CREATE__ && (V = M.value, V === void 0 && (V = x.value))), _(V || /* istanbul ignore next */
5514
+ let V = q.value ? A.value : E.value;
5515
+ V === void 0 && (V = q.value ? x.value : O.value, V.__CREATE__ && (V = A.value, V === void 0 && (V = x.value))), _(V || /* istanbul ignore next */
5516
5516
  null);
5517
5517
  } else {
5518
5518
  let V = H.value.map((X) => X[n.value]).indexOf(k.value[n.value]) - 1;
@@ -5615,7 +5615,7 @@ function r7(t) {
5615
5615
  function l7(t) {
5616
5616
  return t === Se(t) || !Pe(t) ? Rn(t) : r7(t);
5617
5617
  }
5618
- function Ze(t) {
5618
+ function We(t) {
5619
5619
  return t ? (t.nodeName || "").toLowerCase() : null;
5620
5620
  }
5621
5621
  function gt(t) {
@@ -5647,7 +5647,7 @@ function c7(t, e, a) {
5647
5647
  x: 0,
5648
5648
  y: 0
5649
5649
  };
5650
- return (n || !n && !a) && ((Ze(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
5650
+ return (n || !n && !a) && ((We(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
5651
5651
  jn(o)) && (r = l7(e)), Pe(e) ? (l = Wt(e, !0), l.x += e.clientLeft, l.y += e.clientTop) : o && (l.x = Nn(o))), {
5652
5652
  x: i.left + r.scrollLeft - l.x,
5653
5653
  y: i.top + r.scrollTop - l.y,
@@ -5665,7 +5665,7 @@ function si(t) {
5665
5665
  };
5666
5666
  }
5667
5667
  function Qa(t) {
5668
- return Ze(t) === "html" ? t : (
5668
+ return We(t) === "html" ? t : (
5669
5669
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
5670
5670
  // $FlowFixMe[incompatible-return]
5671
5671
  // $FlowFixMe[prop-missing]
@@ -5677,7 +5677,7 @@ function Qa(t) {
5677
5677
  );
5678
5678
  }
5679
5679
  function ii(t) {
5680
- return ["html", "body", "#document"].indexOf(Ze(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Qa(t));
5680
+ return ["html", "body", "#document"].indexOf(We(t)) >= 0 ? t.ownerDocument.body : Pe(t) && jn(t) ? t : ii(Qa(t));
5681
5681
  }
5682
5682
  function ia(t, e) {
5683
5683
  var a;
@@ -5689,7 +5689,7 @@ function ia(t, e) {
5689
5689
  );
5690
5690
  }
5691
5691
  function d7(t) {
5692
- return ["table", "td", "th"].indexOf(Ze(t)) >= 0;
5692
+ return ["table", "td", "th"].indexOf(We(t)) >= 0;
5693
5693
  }
5694
5694
  function gs(t) {
5695
5695
  return !Pe(t) || // https://github.com/popperjs/popper-core/issues/837
@@ -5703,7 +5703,7 @@ function p7(t) {
5703
5703
  return null;
5704
5704
  }
5705
5705
  var s = Qa(t);
5706
- for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(Ze(s)) < 0; ) {
5706
+ for (Bn(s) && (s = s.host); Pe(s) && ["html", "body"].indexOf(We(s)) < 0; ) {
5707
5707
  var o = tt(s);
5708
5708
  if (o.transform !== "none" || o.perspective !== "none" || o.contain === "paint" || ["transform", "perspective"].indexOf(o.willChange) !== -1 || e && o.willChange === "filter" || e && o.filter && o.filter !== "none")
5709
5709
  return s;
@@ -5714,9 +5714,9 @@ function p7(t) {
5714
5714
  function Ja(t) {
5715
5715
  for (var e = Se(t), a = gs(t); a && d7(a) && tt(a).position === "static"; )
5716
5716
  a = gs(a);
5717
- return a && (Ze(a) === "html" || Ze(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
5717
+ return a && (We(a) === "html" || We(a) === "body" && tt(a).position === "static") ? e : a || p7(t) || e;
5718
5718
  }
5719
- var Re = "top", We = "bottom", vt = "right", Ge = "left", Fn = "auto", en = [Re, We, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ en.reduce(function(t, e) {
5719
+ var Re = "top", qe = "bottom", vt = "right", Ge = "left", Fn = "auto", en = [Re, qe, vt, Ge], qt = "start", da = "end", f7 = "clippingParents", oi = "viewport", sa = "popper", v7 = "reference", _s = /* @__PURE__ */ en.reduce(function(t, e) {
5720
5720
  return t.concat([e + "-" + qt, e + "-" + da]);
5721
5721
  }, []), h7 = /* @__PURE__ */ [].concat(en, [Fn]).reduce(function(t, e) {
5722
5722
  return t.concat([e, e + "-" + qt, e + "-" + da]);
@@ -5825,7 +5825,7 @@ function ys(t, e, a) {
5825
5825
  function D7(t) {
5826
5826
  var e = ia(Qa(t)), a = ["absolute", "fixed"].indexOf(tt(t).position) >= 0, n = a && Pe(t) ? Ja(t) : t;
5827
5827
  return Mt(n) ? e.filter(function(s) {
5828
- return Mt(s) && L7(s, n) && Ze(s) !== "body";
5828
+ return Mt(s) && L7(s, n) && We(s) !== "body";
5829
5829
  }) : [];
5830
5830
  }
5831
5831
  function P7(t, e, a, n) {
@@ -5853,7 +5853,7 @@ function li(t) {
5853
5853
  y: e.y - a.height
5854
5854
  };
5855
5855
  break;
5856
- case We:
5856
+ case qe:
5857
5857
  l = {
5858
5858
  x: i,
5859
5859
  y: e.y + e.height
@@ -5923,7 +5923,7 @@ function Un(t, e) {
5923
5923
  if (d === sa && x) {
5924
5924
  var R = x[s];
5925
5925
  Object.keys(O).forEach(function(Z) {
5926
- var ie = [vt, We].indexOf(Z) >= 0 ? 1 : -1, E = [Re, We].indexOf(Z) >= 0 ? "y" : "x";
5926
+ var ie = [vt, qe].indexOf(Z) >= 0 ? 1 : -1, E = [Re, qe].indexOf(Z) >= 0 ? "y" : "x";
5927
5927
  O[Z] += R[E] * ie;
5928
5928
  });
5929
5929
  }
@@ -6103,14 +6103,14 @@ function $s(t) {
6103
6103
  if (c) {
6104
6104
  var H = Ja(a), F = "clientHeight", U = "clientWidth";
6105
6105
  if (H === Se(a) && (H = gt(a), tt(H).position !== "static" && r === "absolute" && (F = "scrollHeight", U = "scrollWidth")), H = H, s === Re || (s === Ge || s === vt) && o === da) {
6106
- D = We;
6106
+ D = qe;
6107
6107
  var q = f && H === L && L.visualViewport ? L.visualViewport.height : (
6108
6108
  // $FlowFixMe[prop-missing]
6109
6109
  H[F]
6110
6110
  );
6111
6111
  b -= q - n.height, b *= l ? 1 : -1;
6112
6112
  }
6113
- if (s === Ge || (s === Re || s === We) && o === da) {
6113
+ if (s === Ge || (s === Re || s === qe) && o === da) {
6114
6114
  C = vt;
6115
6115
  var O = f && H === L && L.visualViewport ? L.visualViewport.width : (
6116
6116
  // $FlowFixMe[prop-missing]
@@ -6168,7 +6168,7 @@ function x7(t) {
6168
6168
  var e = t.state;
6169
6169
  Object.keys(e.elements).forEach(function(a) {
6170
6170
  var n = e.styles[a] || {}, s = e.attributes[a] || {}, o = e.elements[a];
6171
- !Pe(o) || !Ze(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
6171
+ !Pe(o) || !We(o) || (Object.assign(o.style, n), Object.keys(s).forEach(function(i) {
6172
6172
  var r = s[i];
6173
6173
  r === !1 ? o.removeAttribute(i) : o.setAttribute(i, r === !0 ? "" : r);
6174
6174
  }));
@@ -6192,7 +6192,7 @@ function Y7(t) {
6192
6192
  var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(l, c) {
6193
6193
  return l[c] = "", l;
6194
6194
  }, {});
6195
- !Pe(s) || !Ze(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
6195
+ !Pe(s) || !We(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(l) {
6196
6196
  s.removeAttribute(l);
6197
6197
  }));
6198
6198
  });
@@ -6238,14 +6238,14 @@ function ep(t) {
6238
6238
  };
6239
6239
  if (H) {
6240
6240
  if (o) {
6241
- var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? We : vt, N = D === "y" ? "height" : "width", M = H[D], m = M + y[ie], I = M - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
6241
+ var Z, ie = D === "y" ? Re : Ge, E = D === "y" ? qe : vt, N = D === "y" ? "height" : "width", A = H[D], m = A + y[ie], I = A - y[E], J = h ? -U[N] / 2 : 0, ae = _ === qt ? F[N] : U[N], le = _ === qt ? -U[N] : -F[N], ne = e.elements.arrow, re = h && ne ? si(ne) : {
6242
6242
  width: 0,
6243
6243
  height: 0
6244
- }, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && Ja(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, tn = M + we - _a - nt, st = M + Kt - _a, ya = Ia(h ? Na(m, tn) : m, M, h ? kt(I, st) : I);
6245
- H[D] = ya, R[D] = ya - M;
6244
+ }, Y = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), V = Y[ie], X = Y[E], he = Ia(0, F[N], re[N]), we = C ? F[N] / 2 - J - he - V - O.mainAxis : ae - he - V - O.mainAxis, Kt = C ? -F[N] / 2 + J + he + X + O.mainAxis : le + he + X + O.mainAxis, Gt = e.elements.arrow && Ja(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (Z = x == null ? void 0 : x[D]) != null ? Z : 0, tn = A + we - _a - nt, st = A + Kt - _a, ya = Ia(h ? Na(m, tn) : m, A, h ? kt(I, st) : I);
6245
+ H[D] = ya, R[D] = ya - A;
6246
6246
  }
6247
6247
  if (r) {
6248
- var it, Ne = D === "x" ? Re : Ge, Ae = D === "x" ? We : vt, Be = H[L], qe = L === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Ae], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = x == null ? void 0 : x[L]) != null ? it : 0, ot = Te ? Xt : Be - F[qe] - U[qe] - Qt + O.altAxis, _t = Te ? Be + F[qe] + U[qe] - Qt - O.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
6248
+ var it, Ne = D === "x" ? Re : Ge, Ae = D === "x" ? qe : vt, Be = H[L], ze = L === "y" ? "height" : "width", Xt = Be + y[Ne], ba = Be - y[Ae], Te = [Re, Ge].indexOf(k) !== -1, Qt = (it = x == null ? void 0 : x[L]) != null ? it : 0, ot = Te ? Xt : Be - F[ze] - U[ze] - Qt + O.altAxis, _t = Te ? Be + F[ze] + U[ze] - Qt - O.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
6249
6249
  H[L] = wa, R[L] = wa - Be;
6250
6250
  }
6251
6251
  e.modifiersData[n] = R;
@@ -6316,16 +6316,16 @@ function op(t) {
6316
6316
  allowedAutoPlacements: b
6317
6317
  }) : Y);
6318
6318
  }, []), L = e.rects.reference, H = e.rects.popper, F = /* @__PURE__ */ new Map(), U = !0, q = D[0], O = 0; O < D.length; O++) {
6319
- var x = D[O], R = ct(x), Z = zt(x) === qt, ie = [Re, We].indexOf(R) >= 0, E = ie ? "width" : "height", N = Un(e, {
6319
+ var x = D[O], R = ct(x), Z = zt(x) === qt, ie = [Re, qe].indexOf(R) >= 0, E = ie ? "width" : "height", N = Un(e, {
6320
6320
  placement: x,
6321
6321
  boundary: u,
6322
6322
  rootBoundary: f,
6323
6323
  altBoundary: d,
6324
6324
  padding: c
6325
- }), M = ie ? Z ? vt : Ge : Z ? We : Re;
6326
- L[E] > H[E] && (M = La(M));
6327
- var m = La(M), I = [];
6328
- if (o && I.push(N[R] <= 0), r && I.push(N[M] <= 0, N[m] <= 0), I.every(function(re) {
6325
+ }), A = ie ? Z ? vt : Ge : Z ? qe : Re;
6326
+ L[E] > H[E] && (A = La(A));
6327
+ var m = La(A), I = [];
6328
+ if (o && I.push(N[R] <= 0), r && I.push(N[A] <= 0, N[m] <= 0), I.every(function(re) {
6329
6329
  return re;
6330
6330
  })) {
6331
6331
  q = x, U = !1;
@@ -7814,7 +7814,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7814
7814
  onChange: (y) => c(y, h.id)
7815
7815
  }, {
7816
7816
  tag: W(({ option: y, handleTagRemove: k }) => [
7817
- A(Je, {
7817
+ M(Je, {
7818
7818
  "user-name": y.label,
7819
7819
  "avatar-url": y.avatar,
7820
7820
  "is-closable": !0,
@@ -7919,7 +7919,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7919
7919
  target: "_blank",
7920
7920
  rel: "noopener noreferrer"
7921
7921
  }, [
7922
- A(pe, {
7922
+ M(pe, {
7923
7923
  class: "ao-file__icon",
7924
7924
  name: "AttachFileRounded",
7925
7925
  size: "sm"
@@ -7940,7 +7940,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7940
7940
  u.isEditable ? (p(), g("li", Gp, [
7941
7941
  v("label", Xp, [
7942
7942
  v("div", Qp, [
7943
- A(pe, {
7943
+ M(pe, {
7944
7944
  name: "Add",
7945
7945
  size: "sm"
7946
7946
  }),
@@ -8030,14 +8030,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8030
8030
  ]),
8031
8031
  b.isEditable ? (p(), g("div", lf, [
8032
8032
  Q(o) ? (p(), g(ve, { key: 0 }, [
8033
- A(ce, {
8033
+ M(ce, {
8034
8034
  "icon-name": "CloseRounded",
8035
8035
  size: "sm",
8036
8036
  variant: "ghost",
8037
8037
  color: "neutral",
8038
8038
  onClick: Q(f)
8039
8039
  }, null, 8, ["onClick"]),
8040
- A(ce, {
8040
+ M(ce, {
8041
8041
  "icon-name": "CheckSmallRounded",
8042
8042
  size: "sm",
8043
8043
  variant: "solid",
@@ -8046,14 +8046,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8046
8046
  onClick: Q(d)
8047
8047
  }, null, 8, ["onClick"])
8048
8048
  ], 64)) : (p(), g(ve, { key: 1 }, [
8049
- A(ce, {
8049
+ M(ce, {
8050
8050
  label: b.$t("activity.comment.delete"),
8051
8051
  size: "sm",
8052
8052
  variant: "ghost",
8053
8053
  color: "neutral",
8054
8054
  onClick: h
8055
8055
  }, null, 8, ["label"]),
8056
- A(ce, {
8056
+ M(ce, {
8057
8057
  label: b.$t("activity.comment.edit"),
8058
8058
  size: "sm",
8059
8059
  variant: "ghost",
@@ -8129,7 +8129,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
8129
8129
  ]
8130
8130
  ]),
8131
8131
  v("div", ff, [
8132
- A(ce, {
8132
+ M(ce, {
8133
8133
  type: "submit",
8134
8134
  "icon-name": "SendRounded",
8135
8135
  color: "primary",
@@ -8395,7 +8395,7 @@ const yn = /* @__PURE__ */ z({
8395
8395
  e("updateComment", m);
8396
8396
  }, N = (m) => {
8397
8397
  e("removeComment", m);
8398
- }, M = S(() => {
8398
+ }, A = S(() => {
8399
8399
  var m, I;
8400
8400
  return ((m = a.activity.createdBy) == null ? void 0 : m.firstName) && ((I = a.activity.createdBy) == null ? void 0 : I.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
8401
8401
  });
@@ -8409,7 +8409,7 @@ const yn = /* @__PURE__ */ z({
8409
8409
  v("div", Cf, [
8410
8410
  v("div", gf, [
8411
8411
  m.breadcrumbs ? (p(), g("div", _f, G(m.breadcrumbs), 1)) : T("", !0),
8412
- A(ye, {
8412
+ M(ye, {
8413
8413
  title: m.activity.name || "",
8414
8414
  level: 4,
8415
8415
  "is-editable": n.value,
@@ -8418,7 +8418,7 @@ const yn = /* @__PURE__ */ z({
8418
8418
  v("div", yf, [
8419
8419
  U.value ? (p(), g("label", bf, [
8420
8420
  v("span", wf, G(m.$t("activity.project.label")), 1),
8421
- A($e, {
8421
+ M($e, {
8422
8422
  options: U.value,
8423
8423
  value: (J = m.activity.project) == null ? void 0 : J.id,
8424
8424
  searchable: !0,
@@ -8429,7 +8429,7 @@ const yn = /* @__PURE__ */ z({
8429
8429
  ])) : T("", !0),
8430
8430
  q.value ? (p(), g("label", $f, [
8431
8431
  v("span", kf, G(m.$t("activity.milestone.label")), 1),
8432
- A($e, {
8432
+ M($e, {
8433
8433
  options: q.value,
8434
8434
  value: (ae = m.activity.milestone) == null ? void 0 : ae.id,
8435
8435
  searchable: !0,
@@ -8444,7 +8444,7 @@ const yn = /* @__PURE__ */ z({
8444
8444
  v("div", Sf, [
8445
8445
  v("fieldset", Mf, [
8446
8446
  v("div", Af, [
8447
- A(af, {
8447
+ M(af, {
8448
8448
  attachments: m.activity.attachments,
8449
8449
  "is-editable": m.attachmentEnabled && n.value && m.isTemplate !== !0 && !!m.userId,
8450
8450
  onAdd: H,
@@ -8499,14 +8499,14 @@ const yn = /* @__PURE__ */ z({
8499
8499
  ]),
8500
8500
  v("fieldset", Pf, [
8501
8501
  v("div", Vf, [
8502
- A(pe, { name: "SelectCheckBox" }),
8503
- A(ye, {
8502
+ M(pe, { name: "SelectCheckBox" }),
8503
+ M(ye, {
8504
8504
  level: 4,
8505
8505
  title: m.$t("activity.tasks.title")
8506
8506
  }, null, 8, ["title"])
8507
8507
  ]),
8508
8508
  v("div", Bf, [
8509
- A(Wp, {
8509
+ M(Wp, {
8510
8510
  class: "ao-activity-details__tasks ao-field__row",
8511
8511
  tasks: m.activity.tasks || [],
8512
8512
  "activity-id": m.activity.id,
@@ -8522,13 +8522,13 @@ const yn = /* @__PURE__ */ z({
8522
8522
  ]),
8523
8523
  m.isTemplate !== !0 && m.userId ? (p(), g("div", Rf, [
8524
8524
  v("div", Nf, [
8525
- A(pe, { name: "ChatOutline" }),
8526
- A(ye, {
8525
+ M(pe, { name: "ChatOutline" }),
8526
+ M(ye, {
8527
8527
  level: 4,
8528
8528
  title: m.$t("activity.comments.title")
8529
8529
  }, null, 8, ["title"])
8530
8530
  ]),
8531
- A(hf, {
8531
+ M(hf, {
8532
8532
  comments: m.activity.comments,
8533
8533
  users: m.users,
8534
8534
  "user-id": m.userId,
@@ -8541,7 +8541,7 @@ const yn = /* @__PURE__ */ z({
8541
8541
  ]),
8542
8542
  v("div", jf, [
8543
8543
  v("div", Ff, [
8544
- A(pe, {
8544
+ M(pe, {
8545
8545
  name: "CloseRounded",
8546
8546
  onClick: I[2] || (I[2] = (ne) => m.$emit("close"))
8547
8547
  })
@@ -8549,7 +8549,7 @@ const yn = /* @__PURE__ */ z({
8549
8549
  R.value ? (p(), g("div", Uf, [
8550
8550
  v("label", Zf, [
8551
8551
  v("span", Wf, G(m.$t("activity.status.label")), 1),
8552
- A($e, {
8552
+ M($e, {
8553
8553
  class: "ao-activity-details__multiselect",
8554
8554
  options: R.value,
8555
8555
  value: (le = m.activity.status) == null ? void 0 : le.id,
@@ -8564,7 +8564,7 @@ const yn = /* @__PURE__ */ z({
8564
8564
  v("div", qf, [
8565
8565
  v("div", zf, [
8566
8566
  v("span", xf, G(m.$t("activity.assignee.label")), 1),
8567
- A($e, {
8567
+ M($e, {
8568
8568
  modelValue: L.value,
8569
8569
  "onUpdate:modelValue": I[3] || (I[3] = (ne) => L.value = ne),
8570
8570
  class: "ao-activity-details__assignees ao-activity-details__multiselect",
@@ -8581,7 +8581,7 @@ const yn = /* @__PURE__ */ z({
8581
8581
  option: ne,
8582
8582
  handleTagRemove: re
8583
8583
  }) => [
8584
- A(Je, {
8584
+ M(Je, {
8585
8585
  "user-name": ne.label,
8586
8586
  "avatar-url": ne.avatar,
8587
8587
  "is-closable": !0,
@@ -8615,7 +8615,7 @@ const yn = /* @__PURE__ */ z({
8615
8615
  v("div", Jf, [
8616
8616
  u.value ? (p(), g("div", e9, [
8617
8617
  v("label", t9, [
8618
- A($e, {
8618
+ M($e, {
8619
8619
  modelValue: f.value,
8620
8620
  "onUpdate:modelValue": I[5] || (I[5] = (ne) => f.value = ne),
8621
8621
  class: "ao-activity-details__multiselect",
@@ -8631,7 +8631,7 @@ const yn = /* @__PURE__ */ z({
8631
8631
  te(m.$slots, "default", { activity: m.activity })
8632
8632
  ]),
8633
8633
  v("div", a9, [
8634
- A(yn, {
8634
+ M(yn, {
8635
8635
  modelValue: r.value,
8636
8636
  "onUpdate:modelValue": I[6] || (I[6] = (ne) => r.value = ne),
8637
8637
  modelModifiers: { lazy: !0 },
@@ -8646,7 +8646,7 @@ const yn = /* @__PURE__ */ z({
8646
8646
  }, null, 8, ["modelValue", "label", "disabled"])
8647
8647
  ]),
8648
8648
  m.isTemplate !== !0 && m.activity.createdBy.id === m.userId ? (p(), g("div", n9, [
8649
- A(yn, {
8649
+ M(yn, {
8650
8650
  modelValue: l.value,
8651
8651
  "onUpdate:modelValue": I[7] || (I[7] = (ne) => l.value = ne),
8652
8652
  modelModifiers: { lazy: !0 },
@@ -8661,8 +8661,8 @@ const yn = /* @__PURE__ */ z({
8661
8661
  ])) : T("", !0),
8662
8662
  v("fieldset", s9, [
8663
8663
  v("div", i9, [
8664
- A(pe, { name: "FlowsheetOutlineRounded" }),
8665
- A(ye, {
8664
+ M(pe, { name: "FlowsheetOutlineRounded" }),
8665
+ M(ye, {
8666
8666
  level: 4,
8667
8667
  title: m.$t("activity.dependencies.title")
8668
8668
  }, null, 8, ["title"])
@@ -8671,7 +8671,7 @@ const yn = /* @__PURE__ */ z({
8671
8671
  v("div", r9, [
8672
8672
  v("label", l9, [
8673
8673
  v("span", u9, G(m.$t("activity.dependingOn.label")), 1),
8674
- A($e, {
8674
+ M($e, {
8675
8675
  modelValue: h.value,
8676
8676
  "onUpdate:modelValue": I[8] || (I[8] = (ne) => h.value = ne),
8677
8677
  class: "ao-activity-details__multiselect",
@@ -8687,7 +8687,7 @@ const yn = /* @__PURE__ */ z({
8687
8687
  v("div", c9, [
8688
8688
  v("label", d9, [
8689
8689
  v("span", p9, G(m.$t("activity.blocking.label")), 1),
8690
- A($e, {
8690
+ M($e, {
8691
8691
  modelValue: b.value,
8692
8692
  "onUpdate:modelValue": I[9] || (I[9] = (ne) => b.value = ne),
8693
8693
  class: "ao-activity-details__multiselect",
@@ -8702,13 +8702,13 @@ const yn = /* @__PURE__ */ z({
8702
8702
  ])
8703
8703
  ])
8704
8704
  ]),
8705
- m.isTemplate !== !0 && M.value ? (p(), g("div", f9, [
8705
+ m.isTemplate !== !0 && A.value ? (p(), g("div", f9, [
8706
8706
  v("div", v9, [
8707
- A(Je, {
8708
- "user-name": M.value,
8707
+ M(Je, {
8708
+ "user-name": A.value,
8709
8709
  color: "black"
8710
8710
  }, null, 8, ["user-name"]),
8711
- v("span", null, G(M.value), 1)
8711
+ v("span", null, G(A.value), 1)
8712
8712
  ])
8713
8713
  ])) : T("", !0)
8714
8714
  ])
@@ -8795,22 +8795,22 @@ const h9 = /* @__PURE__ */ z({
8795
8795
  }), y = S(() => Object.values(j2));
8796
8796
  return (k, _) => (p(), P(ht(k.tagName), { class: "ao-rule-line" }, {
8797
8797
  default: W(() => [
8798
- A(Q(lt), {
8798
+ M(Q(lt), {
8799
8799
  modelValue: s.value,
8800
8800
  "onUpdate:modelValue": _[0] || (_[0] = (C) => s.value = C),
8801
8801
  options: o.value
8802
8802
  }, null, 8, ["modelValue", "options"]),
8803
- A(Q(lt), {
8803
+ M(Q(lt), {
8804
8804
  modelValue: i.value,
8805
8805
  "onUpdate:modelValue": _[1] || (_[1] = (C) => i.value = C),
8806
8806
  options: r.value
8807
8807
  }, null, 8, ["modelValue", "options"]),
8808
- A(Q(lt), {
8808
+ M(Q(lt), {
8809
8809
  modelValue: d.value,
8810
8810
  "onUpdate:modelValue": _[2] || (_[2] = (C) => d.value = C),
8811
8811
  options: h.value
8812
8812
  }, null, 8, ["modelValue", "options"]),
8813
- A(Q(lt), {
8813
+ M(Q(lt), {
8814
8814
  modelValue: c.value,
8815
8815
  "onUpdate:modelValue": _[3] || (_[3] = (C) => c.value = C),
8816
8816
  options: u.value
@@ -8827,12 +8827,12 @@ const h9 = /* @__PURE__ */ z({
8827
8827
  { number: !0 }
8828
8828
  ]
8829
8829
  ]),
8830
- A(Q(lt), {
8830
+ M(Q(lt), {
8831
8831
  modelValue: b.value,
8832
8832
  "onUpdate:modelValue": _[5] || (_[5] = (C) => b.value = C),
8833
8833
  options: y.value
8834
8834
  }, null, 8, ["modelValue", "options"]),
8835
- A(ce, {
8835
+ M(ce, {
8836
8836
  class: "ao-rule-line__remove",
8837
8837
  "icon-name": "CloseRounded",
8838
8838
  variant: "ghost",
@@ -8861,7 +8861,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
8861
8861
  };
8862
8862
  return (s, o) => (p(), P(In, null, {
8863
8863
  header: W(() => [
8864
- A(ye, {
8864
+ M(ye, {
8865
8865
  title: s.$t("template.rules.title"),
8866
8866
  level: 2
8867
8867
  }, null, 8, ["title"])
@@ -8879,7 +8879,7 @@ const m9 = { class: "ao-template-rules__body" }, C9 = { class: "ao-template-rule
8879
8879
  onClose: () => n(i.id)
8880
8880
  }, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
8881
8881
  ]),
8882
- A(Ct, {
8882
+ M(Ct, {
8883
8883
  label: s.$t("template.rules.add"),
8884
8884
  "icon-name": "Add",
8885
8885
  onClick: a
@@ -8915,8 +8915,8 @@ const _9 = {
8915
8915
  setup(t, { emit: e }) {
8916
8916
  const a = t, { t: n } = Tt(), s = S(
8917
8917
  () => {
8918
- var M;
8919
- return (M = a.templates) == null ? void 0 : M.find((m) => m.id === a.templateId);
8918
+ var A;
8919
+ return (A = a.templates) == null ? void 0 : A.find((m) => m.id === a.templateId);
8920
8920
  }
8921
8921
  ), o = ee(!1);
8922
8922
  de(
@@ -8924,50 +8924,50 @@ const _9 = {
8924
8924
  () => o.value = !1
8925
8925
  ), de(
8926
8926
  () => {
8927
- var M;
8928
- return (M = s.value) == null ? void 0 : M.phases;
8927
+ var A;
8928
+ return (A = s.value) == null ? void 0 : A.phases;
8929
8929
  },
8930
- (M, m) => {
8931
- o.value && Xe(M, m);
8930
+ (A, m) => {
8931
+ o.value && Xe(A, m);
8932
8932
  }
8933
8933
  );
8934
8934
  const i = S(() => {
8935
- var M, m;
8936
- return (m = (M = s == null ? void 0 : s.value) == null ? void 0 : M.phases) == null ? void 0 : m.find((I) => I.id === a.phaseId);
8935
+ var A, m;
8936
+ return (m = (A = s == null ? void 0 : s.value) == null ? void 0 : A.phases) == null ? void 0 : m.find((I) => I.id === a.phaseId);
8937
8937
  });
8938
8938
  de(
8939
8939
  () => {
8940
- var M;
8941
- return (M = i.value) == null ? void 0 : M.milestones;
8940
+ var A;
8941
+ return (A = i.value) == null ? void 0 : A.milestones;
8942
8942
  },
8943
- (M, m) => {
8944
- o.value && Xe(M, m);
8943
+ (A, m) => {
8944
+ o.value && Xe(A, m);
8945
8945
  }
8946
8946
  );
8947
8947
  const r = S(() => {
8948
- var M, m;
8949
- return (m = (M = i.value) == null ? void 0 : M.milestones) == null ? void 0 : m.find(
8948
+ var A, m;
8949
+ return (m = (A = i.value) == null ? void 0 : A.milestones) == null ? void 0 : m.find(
8950
8950
  (I) => I.id === a.milestoneId
8951
8951
  );
8952
8952
  });
8953
8953
  de(
8954
8954
  () => {
8955
- var M;
8956
- return (M = r.value) == null ? void 0 : M.activities;
8955
+ var A;
8956
+ return (A = r.value) == null ? void 0 : A.activities;
8957
8957
  },
8958
- (M, m) => {
8959
- o.value && Xe(M, m);
8958
+ (A, m) => {
8959
+ o.value && Xe(A, m);
8960
8960
  }
8961
8961
  );
8962
8962
  const l = S(() => {
8963
- var M, m;
8964
- return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((I, J) => {
8963
+ var A, m;
8964
+ return ((m = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : m.reduce((I, J) => {
8965
8965
  const ae = J.milestones || [];
8966
8966
  return [...I, ...ae];
8967
8967
  }, [])) || [];
8968
8968
  }), c = S(() => {
8969
- var M, m;
8970
- return ((m = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : m.reduce((I, J) => {
8969
+ var A, m;
8970
+ return ((m = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : m.reduce((I, J) => {
8971
8971
  const le = (J.milestones || []).reduce(
8972
8972
  (ne, re) => re.activities ? [...ne, ...re.activities] : ne,
8973
8973
  []
@@ -8975,17 +8975,17 @@ const _9 = {
8975
8975
  return [...I, ...le];
8976
8976
  }, [])) || [];
8977
8977
  }), u = S(() => {
8978
- var M, m;
8979
- return (m = (M = r.value) == null ? void 0 : M.activities) == null ? void 0 : m.find(
8978
+ var A, m;
8979
+ return (m = (A = r.value) == null ? void 0 : A.activities) == null ? void 0 : m.find(
8980
8980
  (I) => I.id === a.activityId
8981
8981
  );
8982
8982
  }), f = S(() => {
8983
- var M;
8984
- return ((M = s.value) == null ? void 0 : M.name) || a.templateId;
8983
+ var A;
8984
+ return ((A = s.value) == null ? void 0 : A.name) || a.templateId;
8985
8985
  }), d = () => {
8986
8986
  if (!s.value)
8987
8987
  return;
8988
- const { name: M, rank: m } = Bt(
8988
+ const { name: A, rank: m } = Bt(
8989
8989
  s.value.phases,
8990
8990
  "phase",
8991
8991
  n
@@ -8994,35 +8994,35 @@ const _9 = {
8994
8994
  type: Ce.PHASES,
8995
8995
  templateId: a.templateId,
8996
8996
  item: {
8997
- name: M,
8997
+ name: A,
8998
8998
  rank: m
8999
8999
  }
9000
9000
  });
9001
- }, h = (M) => {
9001
+ }, h = (A) => {
9002
9002
  e("updateItem", {
9003
9003
  templateId: a.templateId,
9004
9004
  id: a.templateId,
9005
9005
  itemType: Ce.TEMPLATES,
9006
- data: { name: M }
9006
+ data: { name: A }
9007
9007
  });
9008
- }, w = (M) => {
9008
+ }, w = (A) => {
9009
9009
  e("removeItem", {
9010
9010
  type: Ce.PHASES,
9011
9011
  templateId: a.templateId,
9012
9012
  data: {
9013
- id: M
9013
+ id: A
9014
9014
  }
9015
9015
  });
9016
- }, b = (M, m) => {
9016
+ }, b = (A, m) => {
9017
9017
  e("updateItem", {
9018
9018
  templateId: a.templateId,
9019
- id: M,
9019
+ id: A,
9020
9020
  itemType: Ce.PHASES,
9021
9021
  data: { name: m }
9022
9022
  });
9023
- }, y = (M) => {
9024
- e("updateItem", M);
9025
- }, k = (M) => {
9023
+ }, y = (A) => {
9024
+ e("updateItem", A);
9025
+ }, k = (A) => {
9026
9026
  if (!i.value)
9027
9027
  return;
9028
9028
  const { name: m, rank: I } = Bt(
@@ -9033,32 +9033,32 @@ const _9 = {
9033
9033
  o.value = !0, e("addItem", {
9034
9034
  type: Ce.MILESTONES,
9035
9035
  templateId: a.templateId,
9036
- phaseId: M.phaseId,
9036
+ phaseId: A.phaseId,
9037
9037
  item: {
9038
9038
  name: m,
9039
9039
  rank: I,
9040
- phaseId: M.phaseId
9040
+ phaseId: A.phaseId
9041
9041
  }
9042
9042
  });
9043
- }, _ = (M) => {
9043
+ }, _ = (A) => {
9044
9044
  e("removeItem", {
9045
9045
  type: Ce.MILESTONES,
9046
9046
  templateId: a.templateId,
9047
- phaseId: M.phaseId,
9047
+ phaseId: A.phaseId,
9048
9048
  data: {
9049
- id: M.id
9049
+ id: A.id
9050
9050
  }
9051
9051
  });
9052
- }, C = (M) => {
9053
- const { id: m, ...I } = M;
9052
+ }, C = (A) => {
9053
+ const { id: m, ...I } = A;
9054
9054
  e("updateItem", {
9055
9055
  itemType: Ce.MILESTONES,
9056
9056
  id: m,
9057
9057
  templateId: a.templateId,
9058
9058
  data: I
9059
9059
  });
9060
- }, D = (M) => {
9061
- const { milestoneId: m } = M;
9060
+ }, D = (A) => {
9061
+ const { milestoneId: m } = A;
9062
9062
  if (!r.value)
9063
9063
  return;
9064
9064
  const { name: I, rank: J } = Bt(
@@ -9072,7 +9072,7 @@ const _9 = {
9072
9072
  templateId: a.templateId,
9073
9073
  item: { name: I, rank: J, milestoneId: m }
9074
9074
  });
9075
- }, L = (M) => {
9075
+ }, L = (A) => {
9076
9076
  var m, I;
9077
9077
  e("removeItem", {
9078
9078
  type: Ce.ACTIVITIES,
@@ -9080,11 +9080,11 @@ const _9 = {
9080
9080
  phaseId: (m = i.value) == null ? void 0 : m.id,
9081
9081
  milestoneId: (I = r.value) == null ? void 0 : I.id,
9082
9082
  data: {
9083
- id: M.id
9083
+ id: A.id
9084
9084
  }
9085
9085
  });
9086
- }, H = (M) => {
9087
- const { id: m, ...I } = M;
9086
+ }, H = (A) => {
9087
+ const { id: m, ...I } = A;
9088
9088
  e("updateItem", {
9089
9089
  itemType: Ce.ACTIVITIES,
9090
9090
  id: m,
@@ -9095,60 +9095,60 @@ const _9 = {
9095
9095
  F.value = !F.value;
9096
9096
  }, q = () => {
9097
9097
  e("addRule", { templateId: a.templateId });
9098
- }, O = (M) => {
9099
- e("removeRule", { id: M, templateId: a.templateId });
9100
- }, x = (M) => {
9098
+ }, O = (A) => {
9099
+ e("removeRule", { id: A, templateId: a.templateId });
9100
+ }, x = (A) => {
9101
9101
  var m;
9102
- if (M.moved) {
9103
- const I = Ca(M, ((m = s.value) == null ? void 0 : m.phases) ?? []);
9102
+ if (A.moved) {
9103
+ const I = Ca(A, ((m = s.value) == null ? void 0 : m.phases) ?? []);
9104
9104
  e("updateItem", {
9105
9105
  itemType: Ce.PHASES,
9106
- id: M.moved.element.id,
9106
+ id: A.moved.element.id,
9107
9107
  templateId: a.templateId,
9108
9108
  data: {
9109
9109
  rank: I
9110
9110
  }
9111
9111
  });
9112
9112
  }
9113
- }, R = (M) => {
9113
+ }, R = (A) => {
9114
9114
  !i.value || !r.value || !u.value || e("addItem", {
9115
9115
  type: Ce.TASKS,
9116
- activityId: M.activityId,
9116
+ activityId: A.activityId,
9117
9117
  milestoneId: r.value.id,
9118
9118
  phaseId: i.value.id,
9119
9119
  templateId: a.templateId,
9120
- item: M
9120
+ item: A
9121
9121
  });
9122
- }, Z = (M) => {
9122
+ }, Z = (A) => {
9123
9123
  !i.value || !r.value || !u.value || e("updateItem", {
9124
9124
  itemType: Ce.TASKS,
9125
- id: M.id,
9125
+ id: A.id,
9126
9126
  templateId: a.templateId,
9127
- data: M
9127
+ data: A
9128
9128
  });
9129
- }, ie = (M) => {
9129
+ }, ie = (A) => {
9130
9130
  !i.value || !r.value || !u.value || e("removeItem", {
9131
9131
  type: Ce.TASKS,
9132
9132
  activityId: u.value.id,
9133
9133
  milestoneId: r.value.id,
9134
9134
  phaseId: i.value.id,
9135
9135
  templateId: a.templateId,
9136
- data: M
9136
+ data: A
9137
9137
  });
9138
- }, E = (M) => {
9139
- e("addFiles", M);
9140
- }, N = (M) => {
9141
- e("removeFile", M);
9138
+ }, E = (A) => {
9139
+ e("addFiles", A);
9140
+ }, N = (A) => {
9141
+ e("removeFile", A);
9142
9142
  };
9143
- return (M, m) => {
9143
+ return (A, m) => {
9144
9144
  var I, J, ae, le, ne, re;
9145
9145
  return s.value ? (p(), g("div", _9, [
9146
- A(Ya, {
9146
+ M(Ya, {
9147
9147
  "can-go-back": !0,
9148
- onGoBack: m[1] || (m[1] = (Y) => M.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
9148
+ onGoBack: m[1] || (m[1] = (Y) => A.$router.push({ name: Q(Dt).TEMPLATES_LIST }))
9149
9149
  }, {
9150
9150
  primary: W(() => [
9151
- A(ye, {
9151
+ M(ye, {
9152
9152
  title: f.value,
9153
9153
  level: 2,
9154
9154
  "is-editable": !0,
@@ -9162,7 +9162,7 @@ const _9 = {
9162
9162
  v("div", y9, [
9163
9163
  v("ol", b9, [
9164
9164
  v("li", w9, [
9165
- A(Q(mt), {
9165
+ M(Q(mt), {
9166
9166
  "model-value": s.value.phases,
9167
9167
  class: "ao-templates__list",
9168
9168
  "item-key": "id",
@@ -9170,8 +9170,8 @@ const _9 = {
9170
9170
  onChange: x
9171
9171
  }, {
9172
9172
  header: W(() => [
9173
- A(ye, {
9174
- title: M.$t("template.phases.title"),
9173
+ M(ye, {
9174
+ title: A.$t("template.phases.title"),
9175
9175
  level: 3,
9176
9176
  class: "ao-list__title"
9177
9177
  }, null, 8, ["title"])
@@ -9179,14 +9179,14 @@ const _9 = {
9179
9179
  item: W(({ element: Y }) => {
9180
9180
  var V;
9181
9181
  return [
9182
- A(l5, {
9182
+ M(l5, {
9183
9183
  id: Y.id,
9184
9184
  name: Y.name,
9185
9185
  milestones: Y.milestones,
9186
9186
  "is-active": ((V = i.value) == null ? void 0 : V.id) === Y.id,
9187
9187
  "is-draggable": !0,
9188
- onClick: (X) => M.$router.push({
9189
- params: { templateId: M.templateId, phaseId: Y.id }
9188
+ onClick: (X) => A.$router.push({
9189
+ params: { templateId: A.templateId, phaseId: Y.id }
9190
9190
  }),
9191
9191
  "onUpdate:title": (X) => {
9192
9192
  b(Y.id, X);
@@ -9197,9 +9197,9 @@ const _9 = {
9197
9197
  }),
9198
9198
  footer: W(() => [
9199
9199
  v("div", $9, [
9200
- A(Ct, {
9200
+ M(Ct, {
9201
9201
  "icon-name": "AddBoxOutlineRounded",
9202
- label: M.$t("template.phases.add"),
9202
+ label: A.$t("template.phases.add"),
9203
9203
  onClick: d
9204
9204
  }, null, 8, ["label"])
9205
9205
  ])
@@ -9210,7 +9210,7 @@ const _9 = {
9210
9210
  v("li", k9, [
9211
9211
  i.value ? (p(), P(d5, {
9212
9212
  key: 0,
9213
- "template-id": M.templateId,
9213
+ "template-id": A.templateId,
9214
9214
  phase: i.value,
9215
9215
  "milestone-id": (I = r.value) == null ? void 0 : I.id,
9216
9216
  onAddMilestone: k,
@@ -9222,7 +9222,7 @@ const _9 = {
9222
9222
  v("li", S9, [
9223
9223
  i.value && r.value ? (p(), P(v5, {
9224
9224
  key: 0,
9225
- "template-id": M.templateId,
9225
+ "template-id": A.templateId,
9226
9226
  "phase-id": (J = i.value) == null ? void 0 : J.id,
9227
9227
  milestone: r.value,
9228
9228
  "activity-id": (ae = u.value) == null ? void 0 : ae.id,
@@ -9237,19 +9237,19 @@ const _9 = {
9237
9237
  u.value ? (p(), P(Zn, {
9238
9238
  key: 0,
9239
9239
  activity: u.value,
9240
- "activity-types": M.activityTypes,
9240
+ "activity-types": A.activityTypes,
9241
9241
  breadcrumbs: `${s.value.name} / ${(le = i.value) == null ? void 0 : le.name} / ${(ne = r.value) == null ? void 0 : ne.name}`,
9242
9242
  "milestone-id": (re = r.value) == null ? void 0 : re.id,
9243
9243
  "template-activities": c.value,
9244
9244
  "template-milestones": l.value,
9245
9245
  "is-template": !0,
9246
9246
  "is-editable": !0,
9247
- users: M.users,
9247
+ users: A.users,
9248
9248
  "onUpdate:activity": m[2] || (m[2] = (Y) => {
9249
9249
  u.value && H(Y);
9250
9250
  }),
9251
9251
  "attachment-enabled": !1,
9252
- onClose: M.$router.back,
9252
+ onClose: A.$router.back,
9253
9253
  onAddSubtask: R,
9254
9254
  onUpdateSubtask: Z,
9255
9255
  onDeleteSubtask: ie,
@@ -9257,7 +9257,7 @@ const _9 = {
9257
9257
  onRemoveFile: N
9258
9258
  }, {
9259
9259
  default: W((Y) => [
9260
- te(M.$slots, "activityDetailsBody", pa(fa(Y)))
9260
+ te(A.$slots, "activityDetailsBody", pa(fa(Y)))
9261
9261
  ]),
9262
9262
  _: 3
9263
9263
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
@@ -9382,7 +9382,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
9382
9382
  "is-clickable": c.isEditable
9383
9383
  }, Ua({
9384
9384
  default: W(() => [
9385
- A(ye, {
9385
+ M(ye, {
9386
9386
  id: c.id,
9387
9387
  class: "ao-card-project-phase__title",
9388
9388
  title: s.value || "",
@@ -9395,13 +9395,13 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
9395
9395
  v("div", I9, [
9396
9396
  o.value ? (p(), g("div", L9, [
9397
9397
  v("div", H9, [
9398
- A(pe, {
9398
+ M(pe, {
9399
9399
  name: "MountainFlagOutlineRounded",
9400
9400
  size: "sm"
9401
9401
  }),
9402
9402
  v("span", D9, G(i.value) + " / " + G(o.value), 1)
9403
9403
  ]),
9404
- A(qn, {
9404
+ M(qn, {
9405
9405
  percentages: r.value,
9406
9406
  class: "ao-card-project-phase__progress"
9407
9407
  }, null, 8, ["percentages"]),
@@ -9435,7 +9435,7 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
9435
9435
  name: "header",
9436
9436
  fn: W(() => [
9437
9437
  v("div", E9, [
9438
- A(ce, {
9438
+ M(ce, {
9439
9439
  class: "ao-card-project-phase__archive",
9440
9440
  color: "primary",
9441
9441
  variant: "ghost",
@@ -9453,23 +9453,24 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
9453
9453
  ]), 1032, ["is-clickable"]));
9454
9454
  }
9455
9455
  });
9456
- const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
9456
+ const R9 = { class: "ao-card-project-milestone__default" }, N9 = { style: { display: "flex", gap: "8px" } }, j9 = {
9457
9457
  key: 0,
9458
9458
  class: "ao-card-project-milestone__archive"
9459
- }, j9 = { class: "ao-card-project-milestone__activities" }, F9 = { class: "ao-card-project-milestone__activities-row" }, U9 = { class: "ao-card-project-milestone__subitem" }, Z9 = { class: "ao-card-project-milestone__subitem" }, W9 = {
9459
+ }, F9 = { class: "ao-card-project-milestone__activities" }, U9 = { class: "ao-card-project-milestone__activities-row" }, Z9 = { class: "ao-card-project-milestone__subitem" }, W9 = { class: "ao-card-project-milestone__subitem" }, q9 = {
9460
9460
  key: 1,
9461
9461
  class: "ao-card-project-milestone__secondary"
9462
- }, q9 = { class: "ao-card-project-milestone__footer" }, z9 = {
9462
+ }, z9 = { class: "ao-card-project-milestone__footer" }, x9 = {
9463
9463
  key: 1,
9464
9464
  class: "ao-field ao-card-project-milestone__deadline"
9465
- }, x9 = { class: "ao-field__label" }, Y9 = {
9465
+ }, Y9 = { class: "ao-field__label" }, K9 = {
9466
9466
  key: 2,
9467
9467
  class: "ao-card-project-milestone__assignee"
9468
- }, K9 = /* @__PURE__ */ z({
9468
+ }, G9 = /* @__PURE__ */ z({
9469
9469
  __name: "AoCardProjectItemMilestone",
9470
9470
  props: {
9471
9471
  id: {},
9472
9472
  name: {},
9473
+ color: {},
9473
9474
  activities: {},
9474
9475
  closedStatus: {},
9475
9476
  isEditable: { type: Boolean },
@@ -9496,90 +9497,96 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
9496
9497
  }), i = S(() => (o.value || 0) / (s.value || 1)), r = (l) => {
9497
9498
  e("updateMilestone", { id: a.id, name: l });
9498
9499
  };
9499
- return (l, c) => (p(), P(Wn, {
9500
- class: K([
9501
- "ao-card-project-milestone",
9502
- { "ao-card-project-milestone--selected": l.isSelected }
9503
- ]),
9504
- "is-clickable": !l.readonly,
9505
- "tag-name": "li",
9506
- "is-selected": l.isSelected
9507
- }, {
9508
- default: W(() => [
9509
- v("div", R9, [
9510
- A(ye, {
9511
- id: l.id,
9512
- title: n.value || "",
9513
- level: 5,
9514
- "is-editable": !l.readonly && l.isEditable,
9515
- class: "ao-card-project-milestone__title",
9516
- "onUpdate:title": r
9517
- }, null, 8, ["id", "title", "is-editable"]),
9518
- !l.readonly && l.isEditable ? (p(), g("div", N9, [
9519
- A(ce, {
9520
- color: l.isSelected ? void 0 : "primary",
9521
- variant: "ghost",
9522
- "icon-name": "ArchiveOutlineRounded",
9523
- size: "sm",
9524
- "icon-position": "start",
9525
- corners: "round",
9526
- label: l.$t("archive"),
9527
- onClick: c[0] || (c[0] = fe(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
9528
- }, null, 8, ["color", "label"])
9529
- ])) : T("", !0)
9500
+ return (l, c) => {
9501
+ const u = Fe("AoBadge");
9502
+ return p(), P(Wn, {
9503
+ class: K([
9504
+ "ao-card-project-milestone",
9505
+ { "ao-card-project-milestone--selected": l.isSelected }
9530
9506
  ]),
9531
- v("div", j9, [
9532
- v("div", F9, [
9533
- s.value ? (p(), g(ve, { key: 0 }, [
9534
- v("div", U9, [
9535
- A(pe, {
9536
- name: "SelectCheckBox",
9537
- size: "sm"
9538
- }),
9539
- v("span", Z9, G(o.value) + " / " + G(s.value), 1)
9540
- ]),
9541
- A(qn, {
9542
- percentages: i.value,
9543
- class: "ao-card-project-milestone__progress"
9544
- }, null, 8, ["percentages"])
9545
- ], 64)) : T("", !0),
9546
- l.$slots.secondary ? (p(), g("div", W9, [
9547
- te(l.$slots, "secondary")
9507
+ "is-clickable": !l.readonly,
9508
+ "tag-name": "li",
9509
+ "is-selected": l.isSelected
9510
+ }, {
9511
+ default: W(() => [
9512
+ v("div", R9, [
9513
+ v("div", N9, [
9514
+ M(u, { color: l.color }, null, 8, ["color"]),
9515
+ M(ye, {
9516
+ id: l.id,
9517
+ title: n.value || "",
9518
+ level: 5,
9519
+ "is-editable": !l.readonly && l.isEditable,
9520
+ class: "ao-card-project-milestone__title",
9521
+ "onUpdate:title": r
9522
+ }, null, 8, ["id", "title", "is-editable"])
9523
+ ]),
9524
+ !l.readonly && l.isEditable ? (p(), g("div", j9, [
9525
+ M(ce, {
9526
+ color: l.isSelected ? void 0 : "primary",
9527
+ variant: "ghost",
9528
+ "icon-name": "ArchiveOutlineRounded",
9529
+ size: "sm",
9530
+ "icon-position": "start",
9531
+ corners: "round",
9532
+ label: l.$t("archive"),
9533
+ onClick: c[0] || (c[0] = fe(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
9534
+ }, null, 8, ["color", "label"])
9548
9535
  ])) : T("", !0)
9536
+ ]),
9537
+ v("div", F9, [
9538
+ v("div", U9, [
9539
+ s.value ? (p(), g(ve, { key: 0 }, [
9540
+ v("div", Z9, [
9541
+ M(pe, {
9542
+ name: "SelectCheckBox",
9543
+ size: "sm"
9544
+ }),
9545
+ v("span", W9, G(o.value) + " / " + G(s.value), 1)
9546
+ ]),
9547
+ M(qn, {
9548
+ percentages: i.value,
9549
+ class: "ao-card-project-milestone__progress"
9550
+ }, null, 8, ["percentages"])
9551
+ ], 64)) : T("", !0),
9552
+ l.$slots.secondary ? (p(), g("div", q9, [
9553
+ te(l.$slots, "secondary")
9554
+ ])) : T("", !0)
9555
+ ])
9549
9556
  ])
9550
- ])
9551
- ]),
9552
- footer: W(() => [
9553
- v("div", q9, [
9554
- l.important ? (p(), P(pe, {
9555
- key: 0,
9556
- name: "FlagRounded",
9557
- class: K(
9558
- l.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
9559
- ),
9560
- size: "sm"
9561
- }, null, 8, ["class"])) : T("", !0),
9562
- l.deadline ? (p(), g("label", z9, [
9563
- v("span", x9, G(Q(Tn)(l.deadline)), 1)
9564
- ])) : T("", !0),
9565
- l.assignee ? (p(), g("div", Y9, [
9566
- A(Je, {
9567
- "user-name": Q(zs)(l.assignee),
9568
- "avatar-url": l.assignee.avatarUrl,
9569
- color: l.isSelected ? "black" : "primary",
9557
+ ]),
9558
+ footer: W(() => [
9559
+ v("div", z9, [
9560
+ l.important ? (p(), P(pe, {
9561
+ key: 0,
9562
+ name: "FlagRounded",
9563
+ class: K(
9564
+ l.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
9565
+ ),
9570
9566
  size: "sm"
9571
- }, null, 8, ["user-name", "avatar-url", "color"])
9572
- ])) : T("", !0)
9573
- ])
9574
- ]),
9575
- _: 3
9576
- }, 8, ["class", "is-clickable", "is-selected"]));
9567
+ }, null, 8, ["class"])) : T("", !0),
9568
+ l.deadline ? (p(), g("label", x9, [
9569
+ v("span", Y9, G(Q(Tn)(l.deadline)), 1)
9570
+ ])) : T("", !0),
9571
+ l.assignee ? (p(), g("div", K9, [
9572
+ M(Je, {
9573
+ "user-name": Q(zs)(l.assignee),
9574
+ "avatar-url": l.assignee.avatarUrl,
9575
+ color: l.isSelected ? "black" : "primary",
9576
+ size: "sm"
9577
+ }, null, 8, ["user-name", "avatar-url", "color"])
9578
+ ])) : T("", !0)
9579
+ ])
9580
+ ]),
9581
+ _: 3
9582
+ }, 8, ["class", "is-clickable", "is-selected"]);
9583
+ };
9577
9584
  }
9578
9585
  });
9579
- const G9 = {
9586
+ const X9 = {
9580
9587
  key: 0,
9581
9588
  class: "ao-project-phase__drag ao-card__drag"
9582
- }, X9 = { class: "ao-project-phase__col-phase" }, Q9 = { class: "ao-project-phase__col-milestones" }, J9 = { class: "ao-project-phase__milestones" }, ev = { class: "ao-project-phase__milestones-list-footer" }, tv = /* @__PURE__ */ z({
9589
+ }, Q9 = { class: "ao-project-phase__col-phase" }, J9 = { class: "ao-project-phase__col-milestones" }, ev = { class: "ao-project-phase__milestones" }, tv = { class: "ao-project-phase__milestones-list-footer" }, av = /* @__PURE__ */ z({
9583
9590
  __name: "AoProjectPhase",
9584
9591
  props: {
9585
9592
  phase: {},
@@ -9636,14 +9643,14 @@ const G9 = {
9636
9643
  { "ao-project-phase--selected": d.phase.id === ((w = d.$route.params) == null ? void 0 : w.phaseId) }
9637
9644
  ])
9638
9645
  }, [
9639
- d.isEditable ? (p(), g("div", G9, [
9640
- A(pe, {
9646
+ d.isEditable ? (p(), g("div", X9, [
9647
+ M(pe, {
9641
9648
  name: "DragIndicator",
9642
9649
  class: "ao-project-phase__drag-handle"
9643
9650
  })
9644
9651
  ])) : T("", !0),
9645
- v("div", X9, [
9646
- A(B9, {
9652
+ v("div", Q9, [
9653
+ M(B9, {
9647
9654
  id: d.phase.id,
9648
9655
  milestones: i.value,
9649
9656
  name: d.phase.name,
@@ -9654,9 +9661,9 @@ const G9 = {
9654
9661
  onArchivePhase: u
9655
9662
  }, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
9656
9663
  ]),
9657
- v("div", Q9, [
9658
- v("div", J9, [
9659
- A(Q(mt), He({
9664
+ v("div", J9, [
9665
+ v("div", ev, [
9666
+ M(Q(mt), He({
9660
9667
  class: "ao-project-phase__milestones-list",
9661
9668
  list: i.value,
9662
9669
  disabled: d.readonly || !d.isEditable,
@@ -9666,9 +9673,10 @@ const G9 = {
9666
9673
  item: W(({ element: b }) => {
9667
9674
  var y;
9668
9675
  return [
9669
- A(K9, {
9676
+ M(G9, {
9670
9677
  id: b.id,
9671
9678
  name: b.name,
9679
+ color: b.color,
9672
9680
  activities: b.activities,
9673
9681
  deadline: b.deadline,
9674
9682
  "is-editable": !d.readonly && d.isEditable,
@@ -9680,17 +9688,17 @@ const G9 = {
9680
9688
  readonly: d.readonly,
9681
9689
  class: K(["ao-project-phase__milestone"]),
9682
9690
  onClick: (k) => !d.readonly && d.$router.push({
9683
- name: Q(Fe).milestone,
9691
+ name: Q(Ue).milestone,
9684
9692
  params: { phaseId: d.phase.id, milestoneId: b.id }
9685
9693
  }),
9686
9694
  onUpdateMilestone: l,
9687
9695
  onArchiveMilestone: c
9688
- }, null, 8, ["id", "name", "activities", "deadline", "is-editable", "is-draggable", "closed-status", "is-selected", "assignee", "important", "readonly", "onClick"])
9696
+ }, null, 8, ["id", "name", "color", "activities", "deadline", "is-editable", "is-draggable", "closed-status", "is-selected", "assignee", "important", "readonly", "onClick"])
9689
9697
  ];
9690
9698
  }),
9691
9699
  _: 1
9692
9700
  }, 16, ["list", "disabled"]),
9693
- v("div", ev, [
9701
+ v("div", tv, [
9694
9702
  d.isEditable ? (p(), P(Ct, {
9695
9703
  key: 0,
9696
9704
  label: d.$t("project.milestone.add"),
@@ -9705,10 +9713,10 @@ const G9 = {
9705
9713
  };
9706
9714
  }
9707
9715
  });
9708
- const av = { class: "ao-project__phases" }, nv = {
9716
+ const nv = { class: "ao-project__phases" }, sv = {
9709
9717
  key: 0,
9710
9718
  class: "ao-project-phase__phases-list-footer"
9711
- }, sv = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), iv = { class: "ao-project-phase__col-phase" }, ov = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), rv = /* @__PURE__ */ z({
9719
+ }, iv = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), ov = { class: "ao-project-phase__col-phase" }, rv = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), lv = /* @__PURE__ */ z({
9712
9720
  __name: "AoProjectPhases",
9713
9721
  props: {
9714
9722
  phases: {},
@@ -9744,8 +9752,8 @@ const av = { class: "ao-project__phases" }, nv = {
9744
9752
  }, c = (u) => {
9745
9753
  e("addPhase", u);
9746
9754
  };
9747
- return (u, f) => (p(), g("div", av, [
9748
- A(Q(mt), {
9755
+ return (u, f) => (p(), g("div", nv, [
9756
+ M(Q(mt), {
9749
9757
  class: "ao-project-phase__phases-list",
9750
9758
  "model-value": u.phases,
9751
9759
  "item-key": "id",
@@ -9753,7 +9761,7 @@ const av = { class: "ao-project__phases" }, nv = {
9753
9761
  onChange: r
9754
9762
  }, {
9755
9763
  item: W(({ element: d }) => [
9756
- A(tv, {
9764
+ M(av, {
9757
9765
  phase: d,
9758
9766
  "is-editable": !u.readonly && u.isEditable,
9759
9767
  "closed-status": u.closedStatus,
@@ -9768,22 +9776,22 @@ const av = { class: "ao-project__phases" }, nv = {
9768
9776
  ]),
9769
9777
  _: 1
9770
9778
  }, 8, ["model-value"]),
9771
- u.isEditable ? (p(), g("div", nv, [
9772
- sv,
9773
- v("div", iv, [
9774
- A(Ct, {
9779
+ u.isEditable ? (p(), g("div", sv, [
9780
+ iv,
9781
+ v("div", ov, [
9782
+ M(Ct, {
9775
9783
  label: u.$t("project.phases.add"),
9776
9784
  "icon-name": "Add",
9777
9785
  class: "ao-project-phase__add-phase",
9778
9786
  onClick: c
9779
9787
  }, null, 8, ["label"])
9780
9788
  ]),
9781
- ov
9789
+ rv
9782
9790
  ])) : T("", !0)
9783
9791
  ]));
9784
9792
  }
9785
9793
  });
9786
- const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv = { class: "field__row" }, dv = { class: "ao-add-template-modal__form-footer" }, pv = /* @__PURE__ */ z({
9794
+ const uv = ["onSubmit"], cv = { class: "ao-add-template-modal__form-body" }, dv = { class: "field__row" }, pv = { class: "ao-add-template-modal__form-footer" }, fv = /* @__PURE__ */ z({
9787
9795
  __name: "AoAddTemplateModal",
9788
9796
  props: {
9789
9797
  projectId: {},
@@ -9801,7 +9809,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9801
9809
  };
9802
9810
  return (r, l) => (p(), P(In, { size: "sm" }, {
9803
9811
  header: W(() => [
9804
- A(ye, {
9812
+ M(ye, {
9805
9813
  title: r.$t("project.template.add.title"),
9806
9814
  level: 3
9807
9815
  }, null, 8, ["title"])
@@ -9811,9 +9819,9 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9811
9819
  class: "ao-add-template-modal__form",
9812
9820
  onSubmit: fe(i, ["prevent"])
9813
9821
  }, [
9814
- v("div", uv, [
9815
- v("div", cv, [
9816
- A($e, {
9822
+ v("div", cv, [
9823
+ v("div", dv, [
9824
+ M($e, {
9817
9825
  value: s.value,
9818
9826
  options: n.value,
9819
9827
  detached: !0,
@@ -9821,8 +9829,8 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9821
9829
  }, null, 8, ["value", "options"])
9822
9830
  ])
9823
9831
  ]),
9824
- v("footer", dv, [
9825
- A(ce, {
9832
+ v("footer", pv, [
9833
+ M(ce, {
9826
9834
  label: r.$t("project.template.add.label"),
9827
9835
  type: "submit",
9828
9836
  color: "primary",
@@ -9830,13 +9838,13 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9830
9838
  onClick: i
9831
9839
  }, null, 8, ["label"])
9832
9840
  ])
9833
- ], 40, lv)
9841
+ ], 40, uv)
9834
9842
  ]),
9835
9843
  _: 1
9836
9844
  }));
9837
9845
  }
9838
9846
  });
9839
- const fv = z({
9847
+ const vv = z({
9840
9848
  props: {
9841
9849
  isLeft: {
9842
9850
  type: Boolean,
@@ -9865,9 +9873,9 @@ const fv = z({
9865
9873
  }
9866
9874
  }
9867
9875
  });
9868
- const vv = { class: "toggle-wrapper" };
9869
- function hv(t, e, a, n, s, o) {
9870
- return p(), g("div", vv, [
9876
+ const hv = { class: "toggle-wrapper" };
9877
+ function mv(t, e, a, n, s, o) {
9878
+ return p(), g("div", hv, [
9871
9879
  v("button", {
9872
9880
  class: K({
9873
9881
  button: !0,
@@ -9888,7 +9896,7 @@ function hv(t, e, a, n, s, o) {
9888
9896
  }, G(t.rightLabel), 3)
9889
9897
  ]);
9890
9898
  }
9891
- const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527"]]), mv = { class: "ao-project" }, Cv = { class: "ao-project__body" }, gv = /* @__PURE__ */ z({
9899
+ const ci = /* @__PURE__ */ j(vv, [["render", mv], ["__scopeId", "data-v-cbe33527"]]), Cv = { class: "ao-project" }, gv = { class: "ao-project__body" }, _v = /* @__PURE__ */ z({
9892
9900
  __name: "AoProjectOverviewProject",
9893
9901
  props: {
9894
9902
  project: {},
@@ -9951,21 +9959,21 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
9951
9959
  e("applyTemplate", { templateId: O, projectId: x }), U.value = !1;
9952
9960
  };
9953
9961
  return (O, x) => {
9954
- const R = Ye("RouterView");
9962
+ const R = Fe("RouterView");
9955
9963
  return p(), g(ve, null, [
9956
9964
  v("div", He({ class: "ao-project-overview" }, O.$attrs), [
9957
- v("div", mv, [
9958
- A(Ya, null, {
9965
+ v("div", Cv, [
9966
+ M(Ya, null, {
9959
9967
  primary: W(() => [
9960
- A(ci, {
9968
+ M(ci, {
9961
9969
  "is-left": !0,
9962
9970
  "right-label": O.$t("project.switch.feed"),
9963
9971
  "left-label": O.$t("project.switch.overview"),
9964
9972
  "onUpdate:isLeft": x[0] || (x[0] = (Z) => {
9965
- Z || O.$router.push({ name: Q(Fe).feed });
9973
+ Z || O.$router.push({ name: Q(Ue).feed });
9966
9974
  })
9967
9975
  }, null, 8, ["right-label", "left-label"]),
9968
- A(ce, {
9976
+ M(ce, {
9969
9977
  class: "ao-feed__show-archived",
9970
9978
  size: "sm",
9971
9979
  "icon-name": O.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -9989,8 +9997,8 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
9989
9997
  ]),
9990
9998
  _: 1
9991
9999
  }),
9992
- v("div", Cv, [
9993
- A(rv, {
10000
+ v("div", gv, [
10001
+ M(lv, {
9994
10002
  phases: O.phases,
9995
10003
  "closed-status": O.closedStatus,
9996
10004
  "is-editable": O.isEditable === !0,
@@ -10004,7 +10012,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10004
10012
  }, null, 8, ["phases", "closed-status", "is-editable", "users"])
10005
10013
  ])
10006
10014
  ]),
10007
- A(R, {
10015
+ M(R, {
10008
10016
  class: "ao-project__sidebar",
10009
10017
  phases: O.phases,
10010
10018
  "project-id": O.project.id,
@@ -10012,7 +10020,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10012
10020
  users: O.users,
10013
10021
  "is-editable": O.isEditable === !0,
10014
10022
  "closed-status": O.closedStatus,
10015
- onClose: x[3] || (x[3] = (Z) => O.$router.push({ name: Q(Fe).project })),
10023
+ onClose: x[3] || (x[3] = (Z) => O.$router.push({ name: Q(Ue).project })),
10016
10024
  onUpdateMilestone: c,
10017
10025
  onAddActivity: f,
10018
10026
  onUpdateActivity: d,
@@ -10020,7 +10028,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10020
10028
  onUnarchiveActivity: w
10021
10029
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
10022
10030
  (p(), P(Nt, { to: "body" }, [
10023
- A(R, {
10031
+ M(R, {
10024
10032
  name: "modal",
10025
10033
  activities: _.value,
10026
10034
  "is-task-checkable": O.isTaskCheckable,
@@ -10055,7 +10063,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10055
10063
  ]))
10056
10064
  ], 16),
10057
10065
  (p(), P(Nt, { to: "body" }, [
10058
- U.value ? (p(), P(pv, {
10066
+ U.value ? (p(), P(fv, {
10059
10067
  key: 0,
10060
10068
  "project-id": O.project.id,
10061
10069
  templates: O.templates,
@@ -10067,36 +10075,36 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10067
10075
  };
10068
10076
  }
10069
10077
  });
10070
- const _v = { class: "ao-card-feed__header" }, yv = {
10078
+ const yv = { class: "ao-card-feed__header" }, bv = {
10071
10079
  key: 1,
10072
10080
  class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
10073
- }, bv = {
10081
+ }, wv = {
10074
10082
  key: 2,
10075
10083
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
10076
- }, wv = { class: "ao-card-feed__body" }, $v = {
10084
+ }, $v = { class: "ao-card-feed__body" }, kv = {
10077
10085
  key: 0,
10078
10086
  class: "ao-card-feed__breadcrumbs"
10079
- }, kv = {
10080
- class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
10081
10087
  }, Sv = {
10088
+ class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
10089
+ }, Mv = {
10082
10090
  key: 1,
10083
10091
  class: "ao-card-feed__deadline"
10084
- }, Mv = { class: "ao-card-feed__footer" }, Av = { class: "ao-card-feed__footer-row" }, Tv = { class: "ao-assignees" }, Ov = {
10092
+ }, Av = { class: "ao-card-feed__footer" }, Tv = { class: "ao-card-feed__footer-row" }, Ov = { class: "ao-assignees" }, Ev = {
10085
10093
  key: 0,
10086
10094
  class: "ao-assignee"
10087
- }, Ev = {
10095
+ }, Iv = {
10088
10096
  key: 0,
10089
10097
  class: "ao-card-feed__subitems"
10090
- }, Iv = {
10098
+ }, Lv = {
10091
10099
  key: 0,
10092
10100
  class: "ao-card-feed__subitem"
10093
- }, Lv = { class: "ao-card-feed__subitem" }, Hv = {
10101
+ }, Hv = { class: "ao-card-feed__subitem" }, Dv = {
10094
10102
  key: 1,
10095
10103
  class: "ao-card-feed__subitem"
10096
- }, Dv = { class: "ao-card-feed__subitem" }, Pv = { class: "ao-card-feed__footer-row" }, Vv = {
10104
+ }, Pv = { class: "ao-card-feed__subitem" }, Vv = { class: "ao-card-feed__footer-row" }, Bv = {
10097
10105
  key: 0,
10098
10106
  class: "ao-card-feed__progress-wrapper"
10099
- }, Bv = { class: "ao-card-feed__subitem" }, Rv = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ z({
10107
+ }, Rv = { class: "ao-card-feed__subitem" }, Nv = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ z({
10100
10108
  __name: "AoCardFeed",
10101
10109
  props: {
10102
10110
  id: {},
@@ -10138,7 +10146,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10138
10146
  "is-clickable": !0
10139
10147
  }, {
10140
10148
  header: W(() => [
10141
- v("div", _v, [
10149
+ v("div", yv, [
10142
10150
  n.value ? (p(), P(Mn, {
10143
10151
  key: 0,
10144
10152
  label: n.value,
@@ -10147,7 +10155,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10147
10155
  color: h.projectColor ? void 0 : "primary",
10148
10156
  "raw-color": s.value
10149
10157
  }, null, 8, ["label", "color", "raw-color"])) : T("", !0),
10150
- h.isPrivate || h.important || h.isClosed ? (p(), g("div", yv, [
10158
+ h.isPrivate || h.important || h.isClosed ? (p(), g("div", bv, [
10151
10159
  h.isPrivate ? (p(), P(pe, {
10152
10160
  key: 0,
10153
10161
  name: "Lock",
@@ -10166,16 +10174,16 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10166
10174
  class: "ao-card-feed__closed"
10167
10175
  })) : T("", !0)
10168
10176
  ])) : T("", !0),
10169
- h.$slots.secondary ? (p(), g("div", bv, [
10177
+ h.$slots.secondary ? (p(), g("div", wv, [
10170
10178
  te(h.$slots, "secondary")
10171
10179
  ])) : T("", !0)
10172
10180
  ])
10173
10181
  ]),
10174
10182
  default: W(() => [
10175
- v("div", wv, [
10176
- i.value ? (p(), g("span", $v, G(i.value), 1)) : T("", !0),
10177
- v("div", kv, [
10178
- A(ye, {
10183
+ v("div", $v, [
10184
+ i.value ? (p(), g("span", kv, G(i.value), 1)) : T("", !0),
10185
+ v("div", Sv, [
10186
+ M(ye, {
10179
10187
  id: h.id,
10180
10188
  title: h.name,
10181
10189
  level: 5,
@@ -10183,18 +10191,18 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10183
10191
  "onUpdate:title": o
10184
10192
  }, null, 8, ["id", "title", "is-editable"])
10185
10193
  ]),
10186
- h.deadline ? (p(), g("span", Sv, G(l.value), 1)) : T("", !0)
10194
+ h.deadline ? (p(), g("span", Mv, G(l.value), 1)) : T("", !0)
10187
10195
  ])
10188
10196
  ]),
10189
10197
  footer: W(() => [
10190
- v("div", Mv, [
10191
- v("div", Av, [
10192
- v("ul", Tv, [
10198
+ v("div", Av, [
10199
+ v("div", Tv, [
10200
+ v("ul", Ov, [
10193
10201
  (p(!0), g(ve, null, _e(r.value, (b) => (p(), g(ve, {
10194
10202
  key: b.id
10195
10203
  }, [
10196
- b ? (p(), g("li", Ov, [
10197
- A(Je, {
10204
+ b ? (p(), g("li", Ev, [
10205
+ M(Je, {
10198
10206
  "user-name": Q(zs)(b),
10199
10207
  "avatar-url": b.avatarUrl,
10200
10208
  "is-closable": !0,
@@ -10203,33 +10211,33 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10203
10211
  ])) : T("", !0)
10204
10212
  ], 64))), 128))
10205
10213
  ]),
10206
- h.comments || h.attachments ? (p(), g("ul", Ev, [
10207
- h.comments ? (p(), g("li", Iv, [
10208
- A(pe, {
10214
+ h.comments || h.attachments ? (p(), g("ul", Iv, [
10215
+ h.comments ? (p(), g("li", Lv, [
10216
+ M(pe, {
10209
10217
  name: "ChatOutline",
10210
10218
  size: "sm"
10211
10219
  }),
10212
- v("span", Lv, G(h.comments), 1)
10220
+ v("span", Hv, G(h.comments), 1)
10213
10221
  ])) : T("", !0),
10214
- h.attachments ? (p(), g("li", Hv, [
10215
- A(pe, {
10222
+ h.attachments ? (p(), g("li", Dv, [
10223
+ M(pe, {
10216
10224
  name: "AttachFileRounded",
10217
10225
  size: "sm"
10218
10226
  }),
10219
- v("span", Dv, G(h.attachments), 1)
10227
+ v("span", Pv, G(h.attachments), 1)
10220
10228
  ])) : T("", !0)
10221
10229
  ])) : T("", !0)
10222
10230
  ]),
10223
- v("div", Pv, [
10224
- h.tasks && h.tasks.length ? (p(), g("div", Vv, [
10225
- v("div", Bv, [
10226
- A(pe, {
10231
+ v("div", Vv, [
10232
+ h.tasks && h.tasks.length ? (p(), g("div", Bv, [
10233
+ v("div", Rv, [
10234
+ M(pe, {
10227
10235
  name: "SelectCheckBox",
10228
10236
  size: "sm"
10229
10237
  }),
10230
- v("span", Rv, G(f.value) + " / " + G(u.value), 1)
10238
+ v("span", Nv, G(f.value) + " / " + G(u.value), 1)
10231
10239
  ]),
10232
- A(qn, {
10240
+ M(qn, {
10233
10241
  percentages: d.value,
10234
10242
  class: "ao-card-feed__progress"
10235
10243
  }, null, 8, ["percentages"])
@@ -10248,8 +10256,8 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10248
10256
  */
10249
10257
  function wt(t) {
10250
10258
  let e = { r: 0, g: 0, b: 0, a: 1 };
10251
- /#/.test(t) ? e = jv(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
10252
- const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Fv(e);
10259
+ /#/.test(t) ? e = Fv(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
10260
+ const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Uv(e);
10253
10261
  return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
10254
10262
  }
10255
10263
  function zn(t) {
@@ -10260,11 +10268,11 @@ function bn(t, e, a, n, s, o) {
10260
10268
  const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
10261
10269
  r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
10262
10270
  }
10263
- function Nv({ r: t, g: e, b: a }, n) {
10271
+ function jv({ r: t, g: e, b: a }, n) {
10264
10272
  const s = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${s(t)}${s(e)}${s(a)}`;
10265
10273
  return n ? o.toUpperCase() : o;
10266
10274
  }
10267
- function jv(t) {
10275
+ function Fv(t) {
10268
10276
  t = t.slice(1);
10269
10277
  const e = (a) => parseInt(a, 16) || 0;
10270
10278
  return {
@@ -10281,7 +10289,7 @@ function Ms(t) {
10281
10289
  a: Number(t[3] ? t[3] : 1)
10282
10290
  }) : t;
10283
10291
  }
10284
- function Fv({ r: t, g: e, b: a }) {
10292
+ function Uv({ r: t, g: e, b: a }) {
10285
10293
  t = t / 255, e = e / 255, a = a / 255;
10286
10294
  const n = Math.max(t, e, a), s = Math.min(t, e, a), o = n - s;
10287
10295
  let i = 0;
@@ -10348,8 +10356,8 @@ var xn = z({
10348
10356
  }
10349
10357
  }
10350
10358
  });
10351
- const Uv = { ref: "canvasSaturation" };
10352
- function Zv(t, e, a, n, s, o) {
10359
+ const Zv = { ref: "canvasSaturation" };
10360
+ function Wv(t, e, a, n, s, o) {
10353
10361
  return p(), P(
10354
10362
  "div",
10355
10363
  {
@@ -10357,14 +10365,14 @@ function Zv(t, e, a, n, s, o) {
10357
10365
  onMousedown: e[1] || (e[1] = fe((...i) => t.selectSaturation && t.selectSaturation(...i), ["prevent", "stop"]))
10358
10366
  },
10359
10367
  [
10360
- A(
10368
+ M(
10361
10369
  "canvas",
10362
- Uv,
10370
+ Zv,
10363
10371
  null,
10364
10372
  512
10365
10373
  /* NEED_PATCH */
10366
10374
  ),
10367
- A(
10375
+ M(
10368
10376
  "div",
10369
10377
  {
10370
10378
  style: t.slideSaturationStyle,
@@ -10379,7 +10387,7 @@ function Zv(t, e, a, n, s, o) {
10379
10387
  /* HYDRATE_EVENTS */
10380
10388
  );
10381
10389
  }
10382
- xn.render = Zv;
10390
+ xn.render = Wv;
10383
10391
  xn.__file = "src/color/Saturation.vue";
10384
10392
  var Yn = z({
10385
10393
  props: {
@@ -10434,8 +10442,8 @@ var Yn = z({
10434
10442
  }
10435
10443
  }
10436
10444
  });
10437
- const Wv = { ref: "canvasHue" };
10438
- function qv(t, e, a, n, s, o) {
10445
+ const qv = { ref: "canvasHue" };
10446
+ function zv(t, e, a, n, s, o) {
10439
10447
  return p(), P(
10440
10448
  "div",
10441
10449
  {
@@ -10443,14 +10451,14 @@ function qv(t, e, a, n, s, o) {
10443
10451
  onMousedown: e[1] || (e[1] = fe((...i) => t.selectHue && t.selectHue(...i), ["prevent", "stop"]))
10444
10452
  },
10445
10453
  [
10446
- A(
10454
+ M(
10447
10455
  "canvas",
10448
- Wv,
10456
+ qv,
10449
10457
  null,
10450
10458
  512
10451
10459
  /* NEED_PATCH */
10452
10460
  ),
10453
- A(
10461
+ M(
10454
10462
  "div",
10455
10463
  {
10456
10464
  style: t.slideHueStyle,
@@ -10465,7 +10473,7 @@ function qv(t, e, a, n, s, o) {
10465
10473
  /* HYDRATE_EVENTS */
10466
10474
  );
10467
10475
  }
10468
- Yn.render = qv;
10476
+ Yn.render = zv;
10469
10477
  Yn.__file = "src/color/Hue.vue";
10470
10478
  var Kn = z({
10471
10479
  props: {
@@ -10529,8 +10537,8 @@ var Kn = z({
10529
10537
  }
10530
10538
  }
10531
10539
  });
10532
- const zv = { ref: "canvasAlpha" };
10533
- function xv(t, e, a, n, s, o) {
10540
+ const xv = { ref: "canvasAlpha" };
10541
+ function Yv(t, e, a, n, s, o) {
10534
10542
  return p(), P(
10535
10543
  "div",
10536
10544
  {
@@ -10538,14 +10546,14 @@ function xv(t, e, a, n, s, o) {
10538
10546
  onMousedown: e[1] || (e[1] = fe((...i) => t.selectAlpha && t.selectAlpha(...i), ["prevent", "stop"]))
10539
10547
  },
10540
10548
  [
10541
- A(
10549
+ M(
10542
10550
  "canvas",
10543
- zv,
10551
+ xv,
10544
10552
  null,
10545
10553
  512
10546
10554
  /* NEED_PATCH */
10547
10555
  ),
10548
- A(
10556
+ M(
10549
10557
  "div",
10550
10558
  {
10551
10559
  style: t.slideAlphaStyle,
@@ -10560,7 +10568,7 @@ function xv(t, e, a, n, s, o) {
10560
10568
  /* HYDRATE_EVENTS */
10561
10569
  );
10562
10570
  }
10563
- Kn.render = xv;
10571
+ Kn.render = Yv;
10564
10572
  Kn.__file = "src/color/Alpha.vue";
10565
10573
  var Gn = z({
10566
10574
  props: {
@@ -10597,10 +10605,10 @@ var Gn = z({
10597
10605
  }
10598
10606
  }
10599
10607
  });
10600
- function Yv(t, e, a, n, s, o) {
10608
+ function Kv(t, e, a, n, s, o) {
10601
10609
  return p(), P("canvas");
10602
10610
  }
10603
- Gn.render = Yv;
10611
+ Gn.render = Kv;
10604
10612
  Gn.__file = "src/color/Preview.vue";
10605
10613
  var Xn = z({
10606
10614
  props: {
@@ -10663,37 +10671,37 @@ var Xn = z({
10663
10671
  }
10664
10672
  }
10665
10673
  });
10666
- const Kv = /* @__PURE__ */ A(
10674
+ const Gv = /* @__PURE__ */ M(
10667
10675
  "path",
10668
10676
  { d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
10669
10677
  null,
10670
10678
  -1
10671
10679
  /* HOISTED */
10672
- ), Gv = {
10680
+ ), Xv = {
10673
10681
  key: 1,
10674
10682
  class: "sucker",
10675
10683
  viewBox: "-16 -16 68 68",
10676
10684
  xmlns: "http://www.w3.org/2000/svg",
10677
10685
  stroke: "#9099a4"
10678
- }, Xv = /* @__PURE__ */ A(
10686
+ }, Qv = /* @__PURE__ */ M(
10679
10687
  "g",
10680
10688
  {
10681
10689
  fill: "none",
10682
10690
  "fill-rule": "evenodd"
10683
10691
  },
10684
10692
  [
10685
- /* @__PURE__ */ A("g", {
10693
+ /* @__PURE__ */ M("g", {
10686
10694
  transform: "translate(1 1)",
10687
10695
  "stroke-width": "4"
10688
10696
  }, [
10689
- /* @__PURE__ */ A("circle", {
10697
+ /* @__PURE__ */ M("circle", {
10690
10698
  "stroke-opacity": ".5",
10691
10699
  cx: "18",
10692
10700
  cy: "18",
10693
10701
  r: "18"
10694
10702
  }),
10695
- /* @__PURE__ */ A("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, [
10696
- /* @__PURE__ */ A("animateTransform", {
10703
+ /* @__PURE__ */ M("path", { d: "M36 18c0-9.94-8.06-18-18-18" }, [
10704
+ /* @__PURE__ */ M("animateTransform", {
10697
10705
  attributeName: "transform",
10698
10706
  type: "rotate",
10699
10707
  from: "0 18 18",
@@ -10707,7 +10715,7 @@ const Kv = /* @__PURE__ */ A(
10707
10715
  -1
10708
10716
  /* HOISTED */
10709
10717
  );
10710
- function Qv(t, e, a, n, s, o) {
10718
+ function Jv(t, e, a, n, s, o) {
10711
10719
  return p(), P("div", null, [
10712
10720
  t.isSucking ? T("v-if", !0) : (p(), P(
10713
10721
  "svg",
@@ -10719,17 +10727,17 @@ function Qv(t, e, a, n, s, o) {
10719
10727
  onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
10720
10728
  },
10721
10729
  [
10722
- Kv
10730
+ Gv
10723
10731
  ],
10724
10732
  2
10725
10733
  /* CLASS */
10726
10734
  )),
10727
- t.isSucking ? (p(), P("svg", Gv, [
10728
- Xv
10735
+ t.isSucking ? (p(), P("svg", Xv, [
10736
+ Qv
10729
10737
  ])) : T("v-if", !0)
10730
10738
  ]);
10731
10739
  }
10732
- Xn.render = Qv;
10740
+ Xn.render = Jv;
10733
10741
  Xn.__file = "src/color/Sucker.vue";
10734
10742
  var Qn = z({
10735
10743
  props: {
@@ -10762,17 +10770,17 @@ var Qn = z({
10762
10770
  };
10763
10771
  }
10764
10772
  });
10765
- const Jv = { class: "color-type" }, e4 = { class: "name" };
10766
- function t4(t, e, a, n, s, o) {
10767
- return p(), P("div", Jv, [
10768
- A(
10773
+ const e4 = { class: "color-type" }, t4 = { class: "name" };
10774
+ function a4(t, e, a, n, s, o) {
10775
+ return p(), P("div", e4, [
10776
+ M(
10769
10777
  "span",
10770
- e4,
10778
+ t4,
10771
10779
  G(t.name),
10772
10780
  1
10773
10781
  /* TEXT */
10774
10782
  ),
10775
- Ke(A(
10783
+ Ke(M(
10776
10784
  "input",
10777
10785
  {
10778
10786
  "onUpdate:modelValue": e[1] || (e[1] = (i) => t.modelColor = i),
@@ -10788,7 +10796,7 @@ function t4(t, e, a, n, s, o) {
10788
10796
  ])
10789
10797
  ]);
10790
10798
  }
10791
- Qn.render = t4;
10799
+ Qn.render = a4;
10792
10800
  Qn.__file = "src/color/Box.vue";
10793
10801
  var Jn = z({
10794
10802
  name: "ColorPicker",
@@ -10830,13 +10838,13 @@ var Jn = z({
10830
10838
  };
10831
10839
  }
10832
10840
  });
10833
- const a4 = { class: "colors" }, n4 = {
10841
+ const n4 = { class: "colors" }, s4 = {
10834
10842
  key: 0,
10835
10843
  class: "colors history"
10836
10844
  };
10837
- function s4(t, e, a, n, s, o) {
10845
+ function i4(t, e, a, n, s, o) {
10838
10846
  return p(), P("div", null, [
10839
- A("ul", a4, [
10847
+ M("ul", n4, [
10840
10848
  (p(!0), P(
10841
10849
  ve,
10842
10850
  null,
@@ -10845,7 +10853,7 @@ function s4(t, e, a, n, s, o) {
10845
10853
  class: "item",
10846
10854
  onClick: (r) => t.selectColor(i)
10847
10855
  }, [
10848
- A(
10856
+ M(
10849
10857
  "div",
10850
10858
  {
10851
10859
  style: { background: `url(${t.imgAlphaBase64})` },
@@ -10855,7 +10863,7 @@ function s4(t, e, a, n, s, o) {
10855
10863
  4
10856
10864
  /* STYLE */
10857
10865
  ),
10858
- A(
10866
+ M(
10859
10867
  "div",
10860
10868
  {
10861
10869
  style: { background: i },
@@ -10870,7 +10878,7 @@ function s4(t, e, a, n, s, o) {
10870
10878
  /* KEYED_FRAGMENT */
10871
10879
  ))
10872
10880
  ]),
10873
- t.colorsHistory.length ? (p(), P("ul", n4, [
10881
+ t.colorsHistory.length ? (p(), P("ul", s4, [
10874
10882
  (p(!0), P(
10875
10883
  ve,
10876
10884
  null,
@@ -10879,7 +10887,7 @@ function s4(t, e, a, n, s, o) {
10879
10887
  class: "item",
10880
10888
  onClick: (r) => t.selectColor(i)
10881
10889
  }, [
10882
- A(
10890
+ M(
10883
10891
  "div",
10884
10892
  {
10885
10893
  style: { background: `url(${t.imgAlphaBase64})` },
@@ -10889,7 +10897,7 @@ function s4(t, e, a, n, s, o) {
10889
10897
  4
10890
10898
  /* STYLE */
10891
10899
  ),
10892
- A(
10900
+ M(
10893
10901
  "div",
10894
10902
  {
10895
10903
  style: { background: i },
@@ -10906,7 +10914,7 @@ function s4(t, e, a, n, s, o) {
10906
10914
  ])) : T("v-if", !0)
10907
10915
  ]);
10908
10916
  }
10909
- Jn.render = s4;
10917
+ Jn.render = i4;
10910
10918
  Jn.__file = "src/color/Colors.vue";
10911
10919
  var Rt = z({
10912
10920
  components: {
@@ -11017,7 +11025,7 @@ var Rt = z({
11017
11025
  return `rgba(${this.rgbaStringShort})`;
11018
11026
  },
11019
11027
  hexString() {
11020
- return Nv(this.rgba, !0);
11028
+ return jv(this.rgba, !0);
11021
11029
  }
11022
11030
  },
11023
11031
  created() {
@@ -11081,9 +11089,9 @@ var Rt = z({
11081
11089
  }
11082
11090
  }
11083
11091
  });
11084
- const i4 = { class: "color-set" };
11085
- function o4(t, e, a, n, s, o) {
11086
- const i = Ye("Saturation"), r = Ye("Hue"), l = Ye("Alpha"), c = Ye("Preview"), u = Ye("Sucker"), f = Ye("Box"), d = Ye("Colors");
11092
+ const o4 = { class: "color-set" };
11093
+ function r4(t, e, a, n, s, o) {
11094
+ const i = Fe("Saturation"), r = Fe("Hue"), l = Fe("Alpha"), c = Fe("Preview"), u = Fe("Sucker"), f = Fe("Box"), d = Fe("Colors");
11087
11095
  return p(), P(
11088
11096
  "div",
11089
11097
  {
@@ -11091,22 +11099,22 @@ function o4(t, e, a, n, s, o) {
11091
11099
  style: { width: t.totalWidth + "px" }
11092
11100
  },
11093
11101
  [
11094
- A("div", i4, [
11095
- A(i, {
11102
+ M("div", o4, [
11103
+ M(i, {
11096
11104
  ref: "saturation",
11097
11105
  color: t.rgbString,
11098
11106
  hsv: t.hsv,
11099
11107
  size: t.hueHeight,
11100
11108
  onSelectSaturation: t.selectSaturation
11101
11109
  }, null, 8, ["color", "hsv", "size", "onSelectSaturation"]),
11102
- A(r, {
11110
+ M(r, {
11103
11111
  ref: "hue",
11104
11112
  hsv: t.hsv,
11105
11113
  width: t.hueWidth,
11106
11114
  height: t.hueHeight,
11107
11115
  onSelectHue: t.selectHue
11108
11116
  }, null, 8, ["hsv", "width", "height", "onSelectHue"]),
11109
- A(l, {
11117
+ M(l, {
11110
11118
  ref: "alpha",
11111
11119
  color: t.rgbString,
11112
11120
  rgba: t.rgba,
@@ -11115,14 +11123,14 @@ function o4(t, e, a, n, s, o) {
11115
11123
  onSelectAlpha: t.selectAlpha
11116
11124
  }, null, 8, ["color", "rgba", "width", "height", "onSelectAlpha"])
11117
11125
  ]),
11118
- A(
11126
+ M(
11119
11127
  "div",
11120
11128
  {
11121
11129
  style: { height: t.previewHeight + "px" },
11122
11130
  class: "color-show"
11123
11131
  },
11124
11132
  [
11125
- A(c, {
11133
+ M(c, {
11126
11134
  color: t.rgbaString,
11127
11135
  width: t.previewWidth,
11128
11136
  height: t.previewHeight
@@ -11138,21 +11146,21 @@ function o4(t, e, a, n, s, o) {
11138
11146
  4
11139
11147
  /* STYLE */
11140
11148
  ),
11141
- A(f, {
11149
+ M(f, {
11142
11150
  name: "HEX",
11143
11151
  color: t.modelHex,
11144
11152
  onInputColor: t.inputHex,
11145
11153
  onInputFocus: t.handleFocus,
11146
11154
  onInputBlur: t.handleBlur
11147
11155
  }, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
11148
- A(f, {
11156
+ M(f, {
11149
11157
  name: "RGBA",
11150
11158
  color: t.modelRgba,
11151
11159
  onInputColor: t.inputRgba,
11152
11160
  onInputFocus: t.handleFocus,
11153
11161
  onInputBlur: t.handleBlur
11154
11162
  }, null, 8, ["color", "onInputColor", "onInputFocus", "onInputBlur"]),
11155
- A(d, {
11163
+ M(d, {
11156
11164
  color: t.rgbaString,
11157
11165
  "colors-default": t.colorsDefault,
11158
11166
  "colors-history-key": t.colorsHistoryKey,
@@ -11165,12 +11173,12 @@ function o4(t, e, a, n, s, o) {
11165
11173
  /* CLASS, STYLE */
11166
11174
  );
11167
11175
  }
11168
- Rt.render = o4;
11176
+ Rt.render = r4;
11169
11177
  Rt.__file = "src/color/ColorPicker.vue";
11170
11178
  Rt.install = (t) => {
11171
11179
  t.component(Rt.name, Rt);
11172
11180
  };
11173
- const r4 = {
11181
+ const l4 = {
11174
11182
  props: {
11175
11183
  color: {
11176
11184
  type: String,
@@ -11194,10 +11202,10 @@ const r4 = {
11194
11202
  this.$emit("update:color", o);
11195
11203
  }
11196
11204
  }
11197
- }, l4 = { class: "color-picker-wrapper" };
11198
- function u4(t, e, a, n, s, o) {
11199
- const i = Ye("ColorPicker");
11200
- return p(), g("div", l4, [
11205
+ }, u4 = { class: "color-picker-wrapper" };
11206
+ function c4(t, e, a, n, s, o) {
11207
+ const i = Fe("ColorPicker");
11208
+ return p(), g("div", u4, [
11201
11209
  v("button", {
11202
11210
  style: wn({ backgroundColor: a.color }),
11203
11211
  class: "color-button",
@@ -11212,10 +11220,10 @@ function u4(t, e, a, n, s, o) {
11212
11220
  }, null, 8, ["color", "onChangeColor"])) : T("", !0)
11213
11221
  ]);
11214
11222
  }
11215
- const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-milestone" }, p4 = { class: "ao-project-milestone__header" }, f4 = { class: "ao-project-milestone__header_line" }, v4 = { class: "ao-project-milestone__header_line" }, h4 = { class: "ao-project-milestone__title" }, m4 = {
11223
+ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-milestone" }, f4 = { class: "ao-project-milestone__header" }, v4 = { class: "ao-project-milestone__header_line" }, h4 = { class: "ao-project-milestone__header_line" }, m4 = { class: "ao-project-milestone__title" }, C4 = {
11216
11224
  key: 0,
11217
11225
  class: "ao-fieldset ao-milestone__fieldset"
11218
- }, C4 = { class: "ao-field__row ao-milestone__field-row" }, g4 = { class: "ao-field ao-field--inline" }, _4 = { class: "ao-field__row ao-milestone__field-row" }, y4 = { class: "ao-field ao-milestone__field-multiselect" }, b4 = { class: "ao-project-milestone__body" }, w4 = {
11226
+ }, g4 = { class: "ao-field__row ao-milestone__field-row" }, _4 = { class: "ao-field ao-field--inline" }, y4 = { class: "ao-field__row ao-milestone__field-row" }, b4 = { class: "ao-field ao-milestone__field-multiselect" }, w4 = { class: "ao-project-milestone__body" }, $4 = {
11219
11227
  key: 0,
11220
11228
  class: "ao-project-milestone__footer"
11221
11229
  }, As = /* @__PURE__ */ z({
@@ -11322,10 +11330,10 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11322
11330
  });
11323
11331
  return (_, C) => {
11324
11332
  var D;
11325
- return p(), g("div", d4, [
11326
- v("header", p4, [
11327
- v("div", f4, [
11328
- A(ce, {
11333
+ return p(), g("div", p4, [
11334
+ v("header", f4, [
11335
+ v("div", v4, [
11336
+ M(ce, {
11329
11337
  "icon-name": "CloseRounded",
11330
11338
  variant: "ghost",
11331
11339
  size: "sm",
@@ -11333,13 +11341,13 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11333
11341
  onClick: l
11334
11342
  })
11335
11343
  ]),
11336
- v("div", v4, [
11337
- v("div", h4, [
11338
- A(ye, {
11344
+ v("div", h4, [
11345
+ v("div", m4, [
11346
+ M(ye, {
11339
11347
  title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
11340
11348
  level: 5
11341
11349
  }, null, 8, ["title"]),
11342
- A(yn, {
11350
+ M(yn, {
11343
11351
  modelValue: k.value,
11344
11352
  "onUpdate:modelValue": C[0] || (C[0] = (L) => k.value = L),
11345
11353
  modelModifiers: { lazy: !0 },
@@ -11353,9 +11361,9 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11353
11361
  }, null, 8, ["modelValue", "disabled", "label"])
11354
11362
  ])
11355
11363
  ]),
11356
- i.value ? (p(), g("div", m4, [
11357
- v("div", C4, [
11358
- v("label", g4, [
11364
+ i.value ? (p(), g("div", C4, [
11365
+ v("div", g4, [
11366
+ v("label", _4, [
11359
11367
  Ke(v("input", {
11360
11368
  "onUpdate:modelValue": C[1] || (C[1] = (L) => h.value = L),
11361
11369
  class: "ao-milestone__field ao-milestone__date-field",
@@ -11370,9 +11378,9 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11370
11378
  ])
11371
11379
  ])
11372
11380
  ]),
11373
- v("div", _4, [
11374
- v("label", y4, [
11375
- A($e, {
11381
+ v("div", y4, [
11382
+ v("label", b4, [
11383
+ M($e, {
11376
11384
  modelValue: y.value,
11377
11385
  "onUpdate:modelValue": C[2] || (C[2] = (L) => y.value = L),
11378
11386
  options: b.value,
@@ -11389,7 +11397,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11389
11397
  option: L,
11390
11398
  handleTagRemove: H
11391
11399
  }) => [
11392
- A(Je, {
11400
+ M(Je, {
11393
11401
  "user-name": L.label,
11394
11402
  "avatar-url": L.avatar,
11395
11403
  "is-closable": !0,
@@ -11400,14 +11408,14 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11400
11408
  }, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
11401
11409
  ])
11402
11410
  ]),
11403
- A(c4, {
11411
+ M(d4, {
11404
11412
  color: d.value,
11405
11413
  "onUpdate:color": C[3] || (C[3] = (L) => d.value = L)
11406
11414
  }, null, 8, ["color"])
11407
11415
  ])) : T("", !0)
11408
11416
  ]),
11409
- v("div", b4, [
11410
- A(Q(mt), He({
11417
+ v("div", w4, [
11418
+ M(Q(mt), He({
11411
11419
  class: "ao-project-milestone__activities",
11412
11420
  list: r.value,
11413
11421
  disabled: !_.isEditable,
@@ -11417,7 +11425,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11417
11425
  item: W(({ element: L }) => {
11418
11426
  var H, F, U, q, O;
11419
11427
  return [
11420
- A(di, {
11428
+ M(di, {
11421
11429
  id: L.id,
11422
11430
  name: L.name || L.id,
11423
11431
  "phase-name": (H = s.value) == null ? void 0 : H.name,
@@ -11434,7 +11442,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11434
11442
  "is-private": L.private,
11435
11443
  "is-closed": w(L),
11436
11444
  onClick: (x) => _.$router.push({
11437
- name: Q(Fe).activity,
11445
+ name: Q(Ue).activity,
11438
11446
  params: { milestoneId: _.milestoneId, activityId: L.id }
11439
11447
  }),
11440
11448
  onUpdateActivity: u,
@@ -11476,8 +11484,8 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11476
11484
  }),
11477
11485
  _: 1
11478
11486
  }, 16, ["list", "disabled"]),
11479
- _.isEditable ? (p(), g("div", w4, [
11480
- A(Ct, {
11487
+ _.isEditable ? (p(), g("div", $4, [
11488
+ M(Ct, {
11481
11489
  "icon-name": "Add",
11482
11490
  label: _.$t("project.activity.add"),
11483
11491
  onClick: c
@@ -11488,7 +11496,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11488
11496
  };
11489
11497
  }
11490
11498
  });
11491
- const $4 = /* @__PURE__ */ z({
11499
+ const k4 = /* @__PURE__ */ z({
11492
11500
  __name: "AoProjectOverviewActivityDetails",
11493
11501
  props: {
11494
11502
  phaseId: {},
@@ -11575,15 +11583,15 @@ const $4 = /* @__PURE__ */ z({
11575
11583
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
11576
11584
  };
11577
11585
  }
11578
- }), k4 = { class: "ao-col-header" }, S4 = /* @__PURE__ */ z({
11586
+ }), S4 = { class: "ao-col-header" }, M4 = /* @__PURE__ */ z({
11579
11587
  __name: "AoColHeader",
11580
11588
  props: {
11581
11589
  title: {},
11582
11590
  items: {}
11583
11591
  },
11584
11592
  setup(t) {
11585
- return (e, a) => (p(), g("header", k4, [
11586
- A(ye, {
11593
+ return (e, a) => (p(), g("header", S4, [
11594
+ M(ye, {
11587
11595
  title: e.title,
11588
11596
  class: "ao-col-header__title",
11589
11597
  level: 4
@@ -11598,17 +11606,17 @@ const $4 = /* @__PURE__ */ z({
11598
11606
  ]));
11599
11607
  }
11600
11608
  });
11601
- function M4(t) {
11609
+ function A4(t) {
11602
11610
  return Pi() ? (Vi(t), !0) : !1;
11603
11611
  }
11604
11612
  function ja(t) {
11605
11613
  return typeof t == "function" ? t() : Q(t);
11606
11614
  }
11607
- const A4 = typeof window < "u" && typeof document < "u";
11615
+ const T4 = typeof window < "u" && typeof document < "u";
11608
11616
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
11609
- const T4 = (t) => t != null, oa = () => {
11617
+ const O4 = (t) => t != null, oa = () => {
11610
11618
  };
11611
- function O4(t, e) {
11619
+ function E4(t, e) {
11612
11620
  function a(...n) {
11613
11621
  return new Promise((s, o) => {
11614
11622
  Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
@@ -11616,7 +11624,7 @@ function O4(t, e) {
11616
11624
  }
11617
11625
  return a;
11618
11626
  }
11619
- function E4(t, e = {}) {
11627
+ function I4(t, e = {}) {
11620
11628
  let a, n, s = oa;
11621
11629
  const o = (r) => {
11622
11630
  clearTimeout(r), s(), s = oa;
@@ -11632,9 +11640,9 @@ function E4(t, e = {}) {
11632
11640
  });
11633
11641
  };
11634
11642
  }
11635
- function I4(t, e = 200, a = {}) {
11636
- return O4(
11637
- E4(e, a),
11643
+ function L4(t, e = 200, a = {}) {
11644
+ return E4(
11645
+ I4(e, a),
11638
11646
  t
11639
11647
  );
11640
11648
  }
@@ -11643,27 +11651,27 @@ function vn(t) {
11643
11651
  const a = ja(t);
11644
11652
  return (e = a == null ? void 0 : a.$el) != null ? e : a;
11645
11653
  }
11646
- const L4 = A4 ? window : void 0;
11647
- function H4() {
11654
+ const H4 = T4 ? window : void 0;
11655
+ function D4() {
11648
11656
  const t = ee(!1), e = At();
11649
11657
  return e && xt(() => {
11650
11658
  t.value = !0;
11651
11659
  }, e), t;
11652
11660
  }
11653
- function D4(t) {
11654
- const e = H4();
11661
+ function P4(t) {
11662
+ const e = D4();
11655
11663
  return S(() => (e.value, !!t()));
11656
11664
  }
11657
- function P4(t, e, a = {}) {
11665
+ function V4(t, e, a = {}) {
11658
11666
  const {
11659
11667
  root: n,
11660
11668
  rootMargin: s = "0px",
11661
11669
  threshold: o = 0.1,
11662
- window: i = L4,
11670
+ window: i = H4,
11663
11671
  immediate: r = !0
11664
- } = a, l = D4(() => i && "IntersectionObserver" in i), c = S(() => {
11672
+ } = a, l = P4(() => i && "IntersectionObserver" in i), c = S(() => {
11665
11673
  const w = ja(t);
11666
- return (Array.isArray(w) ? w : [w]).map(vn).filter(T4);
11674
+ return (Array.isArray(w) ? w : [w]).map(vn).filter(O4);
11667
11675
  });
11668
11676
  let u = oa;
11669
11677
  const f = ee(r), d = l.value ? de(
@@ -11687,7 +11695,7 @@ function P4(t, e, a = {}) {
11687
11695
  ) : oa, h = () => {
11688
11696
  u(), d(), f.value = !1;
11689
11697
  };
11690
- return M4(h), {
11698
+ return A4(h), {
11691
11699
  isSupported: l,
11692
11700
  isActive: f,
11693
11701
  pause() {
@@ -11699,24 +11707,24 @@ function P4(t, e, a = {}) {
11699
11707
  stop: h
11700
11708
  };
11701
11709
  }
11702
- const V4 = {
11710
+ const B4 = {
11703
11711
  class: /* @__PURE__ */ K(["ao-list-kanban"])
11704
- }, B4 = { class: "ao-list-kanban__header" }, R4 = {
11712
+ }, R4 = { class: "ao-list-kanban__header" }, N4 = {
11705
11713
  key: 0,
11706
11714
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
11707
- }, N4 = {
11715
+ }, j4 = {
11708
11716
  key: 1,
11709
11717
  class: "ao-list-kanban__end"
11710
- }, j4 = {
11718
+ }, F4 = {
11711
11719
  key: 0,
11712
11720
  class: "ao-list-kanban__no-more"
11713
- }, F4 = {
11721
+ }, U4 = {
11714
11722
  key: 1,
11715
11723
  class: "ao-list-kanban__divider"
11716
- }, U4 = {
11724
+ }, Z4 = {
11717
11725
  key: 1,
11718
11726
  class: "ao-list-kanban__footer"
11719
- }, Z4 = /* @__PURE__ */ z({
11727
+ }, W4 = /* @__PURE__ */ z({
11720
11728
  __name: "AoListKanban",
11721
11729
  props: {
11722
11730
  list: {},
@@ -11734,7 +11742,7 @@ const V4 = {
11734
11742
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
11735
11743
  setup(t, { emit: e }) {
11736
11744
  const a = t, n = ee(!1), s = ee(null);
11737
- P4(s, ([{ isIntersecting: u }]) => {
11745
+ V4(s, ([{ isIntersecting: u }]) => {
11738
11746
  n.value = u;
11739
11747
  }), de(n, (u) => {
11740
11748
  u && a.hasMore && !a.isLoading && e("loadMore");
@@ -11759,12 +11767,12 @@ const V4 = {
11759
11767
  )
11760
11768
  });
11761
11769
  }, c = ee(!1);
11762
- return (u, f) => (p(), g("div", V4, [
11770
+ return (u, f) => (p(), g("div", B4, [
11763
11771
  u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
11764
11772
  var d;
11765
11773
  return [
11766
- v("div", B4, [
11767
- u.title ? (p(), P(S4, {
11774
+ v("div", R4, [
11775
+ u.title ? (p(), P(M4, {
11768
11776
  key: 0,
11769
11777
  title: u.title,
11770
11778
  level: 3,
@@ -11773,7 +11781,7 @@ const V4 = {
11773
11781
  ])
11774
11782
  ];
11775
11783
  }) : T("", !0),
11776
- A(Q(mt), He({
11784
+ M(Q(mt), He({
11777
11785
  class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
11778
11786
  list: u.list,
11779
11787
  "item-key": "id",
@@ -11794,7 +11802,7 @@ const V4 = {
11794
11802
  item: W(({ element: d }) => {
11795
11803
  var h, w, b, y, k, _, C, D, L;
11796
11804
  return [
11797
- A(di, {
11805
+ M(di, {
11798
11806
  class: K(o(d) ? "ao-list-draggable" : ""),
11799
11807
  id: d.id,
11800
11808
  name: d.name,
@@ -11849,20 +11857,20 @@ const V4 = {
11849
11857
  ];
11850
11858
  }),
11851
11859
  footer: W(() => [
11852
- u.isLoading ? (p(), g("div", R4, [
11853
- A(pe, { name: "Loading" })
11860
+ u.isLoading ? (p(), g("div", N4, [
11861
+ M(pe, { name: "Loading" })
11854
11862
  ])) : u.hasMore ? (p(), g("div", {
11855
11863
  key: 2,
11856
11864
  ref_key: "scrollEnd",
11857
11865
  ref: s,
11858
11866
  class: "ao-list-kanban__end"
11859
- }, null, 512)) : (p(), g("div", N4, [
11860
- u.noMoreLabel ? (p(), g("span", j4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", F4)) : T("", !0)
11867
+ }, null, 512)) : (p(), g("div", j4, [
11868
+ u.noMoreLabel ? (p(), g("span", F4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", U4)) : T("", !0)
11861
11869
  ]))
11862
11870
  ]),
11863
11871
  _: 1
11864
11872
  }, 16, ["class", "list", "disabled"]),
11865
- u.$slots.footer || u.footerLabel ? (p(), g("div", U4, [
11873
+ u.$slots.footer || u.footerLabel ? (p(), g("div", Z4, [
11866
11874
  te(u.$slots, "footer", {}, () => [
11867
11875
  u.isEditable ? (p(), P(Ct, {
11868
11876
  key: 0,
@@ -11875,7 +11883,7 @@ const V4 = {
11875
11883
  ]));
11876
11884
  }
11877
11885
  });
11878
- const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder", "onKeypress"], z4 = /* @__PURE__ */ z({
11886
+ const q4 = { class: "ao-field ao-search-field" }, z4 = ["value", "placeholder", "onKeypress"], x4 = /* @__PURE__ */ z({
11879
11887
  __name: "AoSearchField",
11880
11888
  props: {
11881
11889
  modelValue: {},
@@ -11887,10 +11895,10 @@ const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder",
11887
11895
  const a = t, n = async (i) => {
11888
11896
  const l = i.target.value;
11889
11897
  e("update:modelValue", l, i);
11890
- }, s = I4(n, a.delay), o = (i) => {
11898
+ }, s = L4(n, a.delay), o = (i) => {
11891
11899
  e("clear", i);
11892
11900
  };
11893
- return (i, r) => (p(), g("div", W4, [
11901
+ return (i, r) => (p(), g("div", q4, [
11894
11902
  v("input", {
11895
11903
  value: i.modelValue,
11896
11904
  type: "text",
@@ -11899,12 +11907,12 @@ const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder",
11899
11907
  onInput: r[0] || (r[0] = //@ts-ignore
11900
11908
  (...l) => Q(s) && Q(s)(...l)),
11901
11909
  onKeypress: dt(n, ["enter"])
11902
- }, null, 40, q4),
11903
- A(pe, {
11910
+ }, null, 40, z4),
11911
+ M(pe, {
11904
11912
  name: "SearchRounded",
11905
11913
  class: K(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
11906
11914
  }, null, 8, ["class"]),
11907
- A(ce, {
11915
+ M(ce, {
11908
11916
  "icon-name": "CloseRounded",
11909
11917
  size: "sm",
11910
11918
  color: "primary",
@@ -11915,7 +11923,7 @@ const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder",
11915
11923
  ]));
11916
11924
  }
11917
11925
  });
11918
- const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { class: "ao-feed__body" }, G4 = /* @__PURE__ */ z({
11926
+ const Y4 = { class: "ao-feed" }, K4 = { class: "ao-feed__filters" }, G4 = { class: "ao-feed__body" }, X4 = /* @__PURE__ */ z({
11919
11927
  __name: "AoFeed",
11920
11928
  props: {
11921
11929
  activities: {},
@@ -11943,7 +11951,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
11943
11951
  de(
11944
11952
  [() => a.statuses, () => a.activities, () => a.initialActivityId],
11945
11953
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
11946
- async ([E, N, M], [m, I]) => {
11954
+ async ([E, N, A], [m, I]) => {
11947
11955
  i.value = Object.fromEntries(
11948
11956
  E.map((J) => [
11949
11957
  J.id,
@@ -11952,7 +11960,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
11952
11960
  return ((le = ae.status) == null ? void 0 : le.id) === J.id;
11953
11961
  })
11954
11962
  ])
11955
- ), M && !r.value && (o(M), r.value = !0), l.value && Xe(N, I);
11963
+ ), A && !r.value && (o(A), r.value = !0), l.value && Xe(N, I);
11956
11964
  },
11957
11965
  { immediate: !0 }
11958
11966
  );
@@ -11961,9 +11969,9 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
11961
11969
  return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((E = a.selectedActivity.milestone.phase) == null ? void 0 : E.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
11962
11970
  }), f = (E) => {
11963
11971
  var J, ae;
11964
- const N = (J = a.activities) == null ? void 0 : J.at(-1), M = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0, I = {
11972
+ const N = (J = a.activities) == null ? void 0 : J.at(-1), A = N ? Ie.LexoRank.parse(N.rank).genNext() : Ie.LexoRank.middle(), m = ((ae = a.activities) == null ? void 0 : ae.length) ?? 0, I = {
11965
11973
  name: n("activity.defaultName", { idx: m + 1 }),
11966
- rank: M.format(),
11974
+ rank: A.format(),
11967
11975
  statusId: E.id
11968
11976
  };
11969
11977
  a.filters.assigneeId.length > 0 && (I.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (I.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (I.typeId = a.filters.typeId[0]), l.value = !0, e("addActivity", I);
@@ -12019,21 +12027,21 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12019
12027
  N && e("removeComment", E);
12020
12028
  };
12021
12029
  return (E, N) => {
12022
- var M;
12023
- return p(), g("div", x4, [
12024
- A(Ya, null, {
12030
+ var A;
12031
+ return p(), g("div", Y4, [
12032
+ M(Ya, null, {
12025
12033
  primary: W(() => [
12026
- v("div", Y4, [
12034
+ v("div", K4, [
12027
12035
  a.project ? (p(), P(ci, {
12028
12036
  key: 0,
12029
12037
  "is-left": !1,
12030
12038
  "right-label": E.$t("project.switch.feed"),
12031
12039
  "left-label": E.$t("project.switch.overview"),
12032
12040
  "onUpdate:isLeft": N[0] || (N[0] = (m) => {
12033
- m && E.$router.push({ name: Q(Fe).project });
12041
+ m && E.$router.push({ name: Q(Ue).project });
12034
12042
  })
12035
12043
  }, null, 8, ["right-label", "left-label"])) : T("", !0),
12036
- A(z4, {
12044
+ M(x4, {
12037
12045
  "model-value": E.searchText,
12038
12046
  placeholder: E.$t("feed.search.placeholder"),
12039
12047
  class: "ao-feed__search",
@@ -12077,7 +12085,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12077
12085
  option: m,
12078
12086
  handleTagRemove: I
12079
12087
  }) => [
12080
- A(Je, {
12088
+ M(Je, {
12081
12089
  "user-name": m.label,
12082
12090
  "avatar-url": m.avatar,
12083
12091
  "is-closable": !0,
@@ -12087,7 +12095,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12087
12095
  _: 1
12088
12096
  }, 8, ["model-value", "options", "placeholder"])) : T("", !0)
12089
12097
  ]),
12090
- A(ce, {
12098
+ M(ce, {
12091
12099
  class: "ao-feed__only-important",
12092
12100
  size: "sm",
12093
12101
  "icon-name": E.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -12099,7 +12107,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12099
12107
  "aria-checked": E.showsOnlyImportant,
12100
12108
  onClick: N[4] || (N[4] = (m) => E.$emit("update:showsOnlyImportant", !E.showsOnlyImportant))
12101
12109
  }, null, 8, ["icon-name", "label", "aria-checked"]),
12102
- A(ce, {
12110
+ M(ce, {
12103
12111
  class: "ao-feed__show-archived",
12104
12112
  size: "sm",
12105
12113
  "icon-name": E.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -12114,8 +12122,8 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12114
12122
  ]),
12115
12123
  _: 1
12116
12124
  }),
12117
- v("div", K4, [
12118
- (p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(Z4, {
12125
+ v("div", G4, [
12126
+ (p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(W4, {
12119
12127
  key: m.id,
12120
12128
  status: m,
12121
12129
  list: i.value[m.id],
@@ -12137,7 +12145,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12137
12145
  key: 0,
12138
12146
  activity: E.selectedActivity,
12139
12147
  "activity-types": E.activityTypes,
12140
- "milestone-id": (M = E.selectedActivity.milestone) == null ? void 0 : M.id,
12148
+ "milestone-id": (A = E.selectedActivity.milestone) == null ? void 0 : A.id,
12141
12149
  "template-activities": s.value,
12142
12150
  users: E.users,
12143
12151
  "user-id": E.userId,
@@ -12172,7 +12180,7 @@ const Dt = {
12172
12180
  TEMPLATES: "templates",
12173
12181
  TEMPLATE_DETAILS: "template_details",
12174
12182
  TEMPLATES_LIST: "templates_list"
12175
- }, f8 = (t, e = {}) => [
12183
+ }, v8 = (t, e = {}) => [
12176
12184
  {
12177
12185
  path: t,
12178
12186
  name: Dt.TEMPLATES,
@@ -12182,7 +12190,7 @@ const Dt = {
12182
12190
  {
12183
12191
  path: "",
12184
12192
  name: Dt.TEMPLATES_LIST,
12185
- component: Q4
12193
+ component: J4
12186
12194
  },
12187
12195
  {
12188
12196
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
@@ -12192,49 +12200,49 @@ const Dt = {
12192
12200
  }
12193
12201
  ]
12194
12202
  }
12195
- ], Fe = {
12203
+ ], Ue = {
12196
12204
  project: "AoProject",
12197
12205
  feed: "AoProjectFeed",
12198
12206
  milestone: "AoMilestone",
12199
12207
  activity: "AoActivity"
12200
- }, v8 = (t, e = {}) => [
12208
+ }, h8 = (t, e = {}) => [
12201
12209
  {
12202
12210
  path: t,
12203
12211
  ...e,
12204
- redirect: { name: Fe.project },
12212
+ redirect: { name: Ue.project },
12205
12213
  children: [
12206
12214
  {
12207
12215
  path: "",
12208
- name: Fe.project,
12209
- component: gv,
12216
+ name: Ue.project,
12217
+ component: _v,
12210
12218
  props: !0,
12211
12219
  children: [
12212
12220
  {
12213
12221
  path: ":phaseId/:milestoneId",
12214
- name: Fe.milestone,
12222
+ name: Ue.milestone,
12215
12223
  component: As,
12216
12224
  props: !0
12217
12225
  },
12218
12226
  {
12219
12227
  path: ":phaseId/:milestoneId/:activityId",
12220
- name: Fe.activity,
12228
+ name: Ue.activity,
12221
12229
  props: { default: !0, modal: !0 },
12222
12230
  components: {
12223
12231
  default: As,
12224
- modal: $4
12232
+ modal: k4
12225
12233
  }
12226
12234
  }
12227
12235
  ]
12228
12236
  },
12229
12237
  {
12230
12238
  path: "feed",
12231
- name: Fe.feed,
12232
- component: G4,
12239
+ name: Ue.feed,
12240
+ component: X4,
12233
12241
  props: !0
12234
12242
  }
12235
12243
  ]
12236
12244
  }
12237
- ], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ z({
12245
+ ], Q4 = { class: "ao-templates" }, J4 = /* @__PURE__ */ z({
12238
12246
  __name: "AoTemplatesList",
12239
12247
  props: {
12240
12248
  templates: {}
@@ -12274,10 +12282,10 @@ const Dt = {
12274
12282
  });
12275
12283
  }
12276
12284
  };
12277
- return (r, l) => (p(), g("div", X4, [
12278
- A(Ya, null, {
12285
+ return (r, l) => (p(), g("div", Q4, [
12286
+ M(Ya, null, {
12279
12287
  secondary: W(() => [
12280
- A(ce, {
12288
+ M(ce, {
12281
12289
  label: r.$t("templates.new"),
12282
12290
  color: "primary",
12283
12291
  "icon-name": "Add",
@@ -12287,7 +12295,7 @@ const Dt = {
12287
12295
  ]),
12288
12296
  _: 1
12289
12297
  }),
12290
- A(Q(mt), {
12298
+ M(Q(mt), {
12291
12299
  "model-value": r.templates,
12292
12300
  class: "ao-templates__list",
12293
12301
  "item-key": "id",
@@ -12297,7 +12305,7 @@ const Dt = {
12297
12305
  item: W(({ element: c }) => {
12298
12306
  var u;
12299
12307
  return [
12300
- A(Q3, {
12308
+ M(Q3, {
12301
12309
  id: c.id,
12302
12310
  title: c.name,
12303
12311
  phases: c.phases,
@@ -12318,7 +12326,7 @@ const Dt = {
12318
12326
  ]));
12319
12327
  }
12320
12328
  });
12321
- const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12329
+ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ z({
12322
12330
  __name: "AoField",
12323
12331
  props: {
12324
12332
  label: {},
@@ -12328,11 +12336,11 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12328
12336
  return (e, a) => (p(), g("label", {
12329
12337
  class: K(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
12330
12338
  }, [
12331
- v("span", J4, G(e.label), 1),
12339
+ v("span", e8, G(e.label), 1),
12332
12340
  te(e.$slots, "default")
12333
12341
  ], 2));
12334
12342
  }
12335
- }), t8 = ["type", "value", "disabled", "readonly"], h8 = /* @__PURE__ */ z({
12343
+ }), a8 = ["type", "value", "disabled", "readonly"], m8 = /* @__PURE__ */ z({
12336
12344
  __name: "AoInputField",
12337
12345
  props: {
12338
12346
  label: { default: "" },
@@ -12349,7 +12357,7 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12349
12357
  ), s = (o) => {
12350
12358
  a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
12351
12359
  };
12352
- return (o, i) => (p(), P(e8, { label: o.label }, {
12360
+ return (o, i) => (p(), P(t8, { label: o.label }, {
12353
12361
  default: W(() => [
12354
12362
  v("input", He({
12355
12363
  class: "ao-field__input",
@@ -12359,12 +12367,12 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12359
12367
  readonly: o.isReadonly
12360
12368
  }, {
12361
12369
  [Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
12362
- }), null, 16, t8)
12370
+ }), null, 16, a8)
12363
12371
  ]),
12364
12372
  _: 1
12365
12373
  }, 8, ["label"]));
12366
12374
  }
12367
- }), a8 = { class: "ao-field" }, n8 = { class: "ao-field__label" }, s8 = ["checked", "disabled"], m8 = /* @__PURE__ */ z({
12375
+ }), n8 = { class: "ao-field" }, s8 = { class: "ao-field__label" }, i8 = ["checked", "disabled"], C8 = /* @__PURE__ */ z({
12368
12376
  __name: "AoCheckboxField",
12369
12377
  props: {
12370
12378
  label: { default: "" },
@@ -12374,8 +12382,8 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12374
12382
  },
12375
12383
  emits: ["update:modelValue"],
12376
12384
  setup(t) {
12377
- return (e, a) => (p(), g("label", a8, [
12378
- v("span", n8, G(e.label), 1),
12385
+ return (e, a) => (p(), g("label", n8, [
12386
+ v("span", s8, G(e.label), 1),
12379
12387
  v("input", {
12380
12388
  class: "ao-field__input",
12381
12389
  type: "checkbox",
@@ -12388,30 +12396,30 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12388
12396
  ((s = n.target) == null ? void 0 : s.checked) ?? !1
12389
12397
  );
12390
12398
  })
12391
- }, null, 40, s8)
12399
+ }, null, 40, i8)
12392
12400
  ]));
12393
12401
  }
12394
12402
  });
12395
12403
  export {
12396
12404
  di as AoCardFeed,
12397
- m8 as AoCheckboxField,
12398
- G4 as AoFeed,
12399
- e8 as AoField,
12400
- h8 as AoInputField,
12405
+ C8 as AoCheckboxField,
12406
+ X4 as AoFeed,
12407
+ t8 as AoField,
12408
+ m8 as AoInputField,
12401
12409
  $e as AoMultiselect,
12402
- rv as AoProjectPhases,
12410
+ lv as AoProjectPhases,
12403
12411
  M9 as AoTemplateDetails,
12404
- u8 as AoTemplates,
12405
- Q4 as AoTemplatesList,
12412
+ c8 as AoTemplates,
12413
+ J4 as AoTemplatesList,
12406
12414
  F2 as TemplateItemTypeEnum,
12407
- d8 as activityFeedStatus,
12408
- c8 as durationTypes,
12415
+ p8 as activityFeedStatus,
12416
+ d8 as durationTypes,
12409
12417
  Lt as feedFilterTypes,
12410
- v8 as getProjectOverviewRoutes,
12411
- f8 as getTemplateRoutes,
12412
- p8 as listUpdateTypes,
12418
+ h8 as getProjectOverviewRoutes,
12419
+ v8 as getTemplateRoutes,
12420
+ f8 as listUpdateTypes,
12413
12421
  hn as milestoneStatus,
12414
- Fe as projectOverviewRoutes,
12422
+ Ue as projectOverviewRoutes,
12415
12423
  R2 as ruleComparators,
12416
12424
  j2 as ruleDurationUnits,
12417
12425
  N2 as ruleTriggerTypes,