@26lights/orcha 0.29.0 → 0.29.2

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,4 +1,4 @@
1
- import { defineComponent as Y, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as G, renderSlot as x, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as E, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
1
+ import { defineComponent as Y, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as G, renderSlot as x, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as I, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
2
2
  import { RouterView as ys } from "vue-router";
3
3
  import Qe from "vuedraggable";
4
4
  const o8 = /* @__PURE__ */ Y({
@@ -1337,21 +1337,21 @@ const fd = {
1337
1337
  }, {
1338
1338
  default: U(() => [
1339
1339
  n.isDraggable ? (f(), h("div", fd, [
1340
- E(ce, {
1340
+ I(ce, {
1341
1341
  name: "DragIndicator",
1342
1342
  class: "ao-card-horiz__drag-handle"
1343
1343
  })
1344
1344
  ])) : T("", !0),
1345
1345
  v("div", vd, [
1346
1346
  n.icon ? (f(), h("div", pd, [
1347
- E(ce, {
1347
+ I(ce, {
1348
1348
  class: "ao-card-horiz__icon",
1349
1349
  name: n.icon,
1350
1350
  size: "xl"
1351
1351
  }, null, 8, ["name"])
1352
1352
  ])) : T("", !0),
1353
1353
  v("div", hd, [
1354
- E(Ce, {
1354
+ I(Ce, {
1355
1355
  id: n.id,
1356
1356
  class: "ao-card-horiz__title",
1357
1357
  level: 4,
@@ -1419,7 +1419,7 @@ const O1 = /* @__PURE__ */ Y({
1419
1419
  class: "ao-tag__close",
1420
1420
  onClick: o[1] || (o[1] = (i) => s.$emit("close", i))
1421
1421
  }, [
1422
- E(ce, {
1422
+ I(ce, {
1423
1423
  name: "CloseRounded",
1424
1424
  size: "sm",
1425
1425
  class: "ao-tag__close-icon"
@@ -2702,21 +2702,21 @@ function Nc(t, e, a) {
2702
2702
  var W = String(e), V = i1(), X = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (d = a == null ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : a == null || (r = a.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (u = V.locale) === null || u === void 0 || (p = u.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2703
2703
  if (!(te >= 1 && te <= 7))
2704
2704
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2705
- var I = Ke((m = (w = (A = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || ($ = a.locale) === null || $ === void 0 || (y = $.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && A !== void 0 ? A : V.weekStartsOn) !== null && w !== void 0 ? w : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && m !== void 0 ? m : 0);
2706
- if (!(I >= 0 && I <= 6))
2705
+ var E = Ke((m = (w = (A = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || ($ = a.locale) === null || $ === void 0 || (y = $.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && A !== void 0 ? A : V.weekStartsOn) !== null && w !== void 0 ? w : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && m !== void 0 ? m : 0);
2706
+ if (!(E >= 0 && E <= 6))
2707
2707
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2708
2708
  if (!X.localize)
2709
2709
  throw new RangeError("locale must contain localize property");
2710
2710
  if (!X.formatLong)
2711
2711
  throw new RangeError("locale must contain formatLong property");
2712
- var ee = Be(t);
2713
- if (!_a(ee))
2712
+ var J = Be(t);
2713
+ if (!_a(J))
2714
2714
  throw new RangeError("Invalid time value");
2715
- var g = Td(ee), S = Ed(ee, g), P = {
2715
+ var g = Td(J), S = Ed(J, g), P = {
2716
2716
  firstWeekContainsDate: te,
2717
- weekStartsOn: I,
2717
+ weekStartsOn: E,
2718
2718
  locale: X,
2719
- _originalDate: ee
2719
+ _originalDate: J
2720
2720
  }, de = W.match(Dc).map(function(se) {
2721
2721
  var re = se[0];
2722
2722
  if (re === "p" || re === "P") {
@@ -2898,7 +2898,7 @@ Nt.default = s0;
2898
2898
  Object.defineProperty(_t, "__esModule", { value: !0 });
2899
2899
  _t.LexoInteger = void 0;
2900
2900
  const Wt = o1, n0 = Nt;
2901
- class J {
2901
+ class ee {
2902
2902
  constructor(e, a, n) {
2903
2903
  this.sys = e, this.sign = a, this.mag = n;
2904
2904
  }
@@ -2909,24 +2909,24 @@ class J {
2909
2909
  let i = o.length - 1;
2910
2910
  for (let l = 0; i >= 0; ++l)
2911
2911
  o[l] = a.toDigit(n.charAt(i)), --i;
2912
- return J.make(a, s, o);
2912
+ return ee.make(a, s, o);
2913
2913
  }
2914
2914
  static zero(e) {
2915
- return new J(e, 0, J.ZERO_MAG);
2915
+ return new ee(e, 0, ee.ZERO_MAG);
2916
2916
  }
2917
2917
  static one(e) {
2918
- return J.make(e, 1, J.ONE_MAG);
2918
+ return ee.make(e, 1, ee.ONE_MAG);
2919
2919
  }
2920
2920
  static make(e, a, n) {
2921
2921
  let s;
2922
2922
  for (s = n.length; s > 0 && n[s - 1] === 0; --s)
2923
2923
  ;
2924
2924
  if (s === 0)
2925
- return J.zero(e);
2925
+ return ee.zero(e);
2926
2926
  if (s === n.length)
2927
- return new J(e, a, n);
2927
+ return new ee(e, a, n);
2928
2928
  const o = new Array(s).fill(0);
2929
- return Wt.lexoHelper.arrayCopy(n, 0, o, 0, s), new J(e, a, o);
2929
+ return Wt.lexoHelper.arrayCopy(n, 0, o, 0, s), new ee(e, a, o);
2930
2930
  }
2931
2931
  static add(e, a, n) {
2932
2932
  const s = Math.max(a.length, n.length), o = new Array(s).fill(0);
@@ -2938,7 +2938,7 @@ class J {
2938
2938
  ++i;
2939
2939
  o[l] = c;
2940
2940
  }
2941
- return J.extendWithCarry(o, i);
2941
+ return ee.extendWithCarry(o, i);
2942
2942
  }
2943
2943
  static extendWithCarry(e, a) {
2944
2944
  if (a > 0) {
@@ -2948,8 +2948,8 @@ class J {
2948
2948
  return e;
2949
2949
  }
2950
2950
  static subtract(e, a, n) {
2951
- const s = J.complement(e, n, a.length), o = J.add(e, a, s);
2952
- return o[o.length - 1] = 0, J.add(e, o, J.ONE_MAG);
2951
+ const s = ee.complement(e, n, a.length), o = ee.add(e, a, s);
2952
+ return o[o.length - 1] = 0, ee.add(e, o, ee.ONE_MAG);
2953
2953
  }
2954
2954
  static multiply(e, a, n) {
2955
2955
  const s = new Array(a.length + n.length).fill(0);
@@ -2991,8 +2991,8 @@ class J {
2991
2991
  let n;
2992
2992
  return this.sign === -1 ? (n = this.negate(), n.subtract(e).negate()) : (n = e.negate(), this.subtract(n));
2993
2993
  }
2994
- const a = J.add(this.sys, this.mag, e.mag);
2995
- return J.make(this.sys, this.sign, a);
2994
+ const a = ee.add(this.sys, this.mag, e.mag);
2995
+ return ee.make(this.sys, this.sign, a);
2996
2996
  }
2997
2997
  subtract(e) {
2998
2998
  if (this.checkSystem(e), this.isZero())
@@ -3003,8 +3003,8 @@ class J {
3003
3003
  let n;
3004
3004
  return this.sign === -1 ? (n = this.negate(), n.add(e).negate()) : (n = e.negate(), this.add(n));
3005
3005
  }
3006
- const a = J.compare(this.mag, e.mag);
3007
- return a === 0 ? J.zero(this.sys) : a < 0 ? J.make(this.sys, this.sign === -1 ? 1 : -1, J.subtract(this.sys, e.mag, this.mag)) : J.make(this.sys, this.sign === -1 ? -1 : 1, J.subtract(this.sys, this.mag, e.mag));
3006
+ const a = ee.compare(this.mag, e.mag);
3007
+ return a === 0 ? ee.zero(this.sys) : a < 0 ? ee.make(this.sys, this.sign === -1 ? 1 : -1, ee.subtract(this.sys, e.mag, this.mag)) : ee.make(this.sys, this.sign === -1 ? -1 : 1, ee.subtract(this.sys, this.mag, e.mag));
3008
3008
  }
3009
3009
  multiply(e) {
3010
3010
  if (this.checkSystem(e), this.isZero())
@@ -3012,14 +3012,14 @@ class J {
3012
3012
  if (e.isZero())
3013
3013
  return e;
3014
3014
  if (this.isOneish())
3015
- return this.sign === e.sign ? J.make(this.sys, 1, e.mag) : J.make(this.sys, -1, e.mag);
3015
+ return this.sign === e.sign ? ee.make(this.sys, 1, e.mag) : ee.make(this.sys, -1, e.mag);
3016
3016
  if (e.isOneish())
3017
- return this.sign === e.sign ? J.make(this.sys, 1, this.mag) : J.make(this.sys, -1, this.mag);
3018
- const a = J.multiply(this.sys, this.mag, e.mag);
3019
- return this.sign === e.sign ? J.make(this.sys, 1, a) : J.make(this.sys, -1, a);
3017
+ return this.sign === e.sign ? ee.make(this.sys, 1, this.mag) : ee.make(this.sys, -1, this.mag);
3018
+ const a = ee.multiply(this.sys, this.mag, e.mag);
3019
+ return this.sign === e.sign ? ee.make(this.sys, 1, a) : ee.make(this.sys, -1, a);
3020
3020
  }
3021
3021
  negate() {
3022
- return this.isZero() ? this : J.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
3022
+ return this.isZero() ? this : ee.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
3023
3023
  }
3024
3024
  shiftLeft(e = 1) {
3025
3025
  if (e === 0)
@@ -3027,19 +3027,19 @@ class J {
3027
3027
  if (e < 0)
3028
3028
  return this.shiftRight(Math.abs(e));
3029
3029
  const a = new Array(this.mag.length + e).fill(0);
3030
- return Wt.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length), J.make(this.sys, this.sign, a);
3030
+ return Wt.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length), ee.make(this.sys, this.sign, a);
3031
3031
  }
3032
3032
  shiftRight(e = 1) {
3033
3033
  if (this.mag.length - e <= 0)
3034
- return J.zero(this.sys);
3034
+ return ee.zero(this.sys);
3035
3035
  const a = new Array(this.mag.length - e).fill(0);
3036
- return Wt.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length), J.make(this.sys, this.sign, a);
3036
+ return Wt.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length), ee.make(this.sys, this.sign, a);
3037
3037
  }
3038
3038
  complement() {
3039
3039
  return this.complementDigits(this.mag.length);
3040
3040
  }
3041
3041
  complementDigits(e) {
3042
- return J.make(this.sys, this.sign, J.complement(this.sys, this.mag, e));
3042
+ return ee.make(this.sys, this.sign, ee.complement(this.sys, this.mag, e));
3043
3043
  }
3044
3044
  isZero() {
3045
3045
  return this.sign === 0 && this.mag.length === 1 && this.mag[0] === 0;
@@ -3057,12 +3057,12 @@ class J {
3057
3057
  return 1;
3058
3058
  if (this.sign === -1) {
3059
3059
  if (e.sign === -1) {
3060
- const a = J.compare(this.mag, e.mag);
3060
+ const a = ee.compare(this.mag, e.mag);
3061
3061
  return a === -1 ? 1 : a === 1 ? -1 : 0;
3062
3062
  }
3063
3063
  return -1;
3064
3064
  }
3065
- return this.sign === 1 ? e.sign === 1 ? J.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
3065
+ return this.sign === 1 ? e.sign === 1 ? ee.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
3066
3066
  }
3067
3067
  getSystem() {
3068
3068
  return this.sys;
@@ -3091,12 +3091,12 @@ class J {
3091
3091
  throw new Error("Expected numbers of same numeral sys");
3092
3092
  }
3093
3093
  }
3094
- _t.LexoInteger = J;
3095
- J.ZERO_MAG = [0];
3096
- J.ONE_MAG = [1];
3097
- J.NEGATIVE_SIGN = -1;
3098
- J.ZERO_SIGN = 0;
3099
- J.POSITIVE_SIGN = 1;
3094
+ _t.LexoInteger = ee;
3095
+ ee.ZERO_MAG = [0];
3096
+ ee.ONE_MAG = [1];
3097
+ ee.NEGATIVE_SIGN = -1;
3098
+ ee.ZERO_SIGN = 0;
3099
+ ee.POSITIVE_SIGN = 1;
3100
3100
  Object.defineProperty(Bt, "__esModule", { value: !0 });
3101
3101
  Bt.LexoDecimal = void 0;
3102
3102
  const Tt = _t, i0 = Nt;
@@ -3712,14 +3712,14 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3712
3712
  subtitle: U(() => [
3713
3713
  v("ul", C0, [
3714
3714
  v("li", _0, [
3715
- E(ce, {
3715
+ I(ce, {
3716
3716
  name: "MountainFlagOutlineRounded",
3717
3717
  size: "sm"
3718
3718
  }),
3719
3719
  v("span", g0, q(n.milestones), 1)
3720
3720
  ]),
3721
3721
  v("li", y0, [
3722
- E(ce, {
3722
+ I(ce, {
3723
3723
  name: "TaskOutlineRounded",
3724
3724
  size: "sm"
3725
3725
  }),
@@ -3731,7 +3731,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3731
3731
  v("div", w0, [
3732
3732
  v("div", $0, [
3733
3733
  v("div", M0, [
3734
- E(ce, {
3734
+ I(ce, {
3735
3735
  name: "WaterfallChartRounded",
3736
3736
  size: "sm"
3737
3737
  }),
@@ -3767,7 +3767,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3767
3767
  v("span", D0, q(n.$t("template.updatedBy.label")), 1)
3768
3768
  ]),
3769
3769
  v("div", H0, [
3770
- E(gt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3770
+ I(gt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3771
3771
  ])
3772
3772
  ])) : T("", !0)
3773
3773
  ])
@@ -3869,7 +3869,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3869
3869
  v("ul", Z0, [
3870
3870
  (f(), h(ve, null, ye(n, (d) => (f(), h(ve, { key: d }, [
3871
3871
  i.$props[d] ? (f(), h("li", F0, [
3872
- E(ce, {
3872
+ I(ce, {
3873
3873
  name: s[d],
3874
3874
  size: "sm"
3875
3875
  }, null, 8, ["name"]),
@@ -3880,7 +3880,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3880
3880
  ]),
3881
3881
  secondary: U(() => [
3882
3882
  v("div", z0, [
3883
- E(fe, {
3883
+ I(fe, {
3884
3884
  "icon-name": "DeleteOutlineRounded",
3885
3885
  variant: "ghost",
3886
3886
  size: "md",
@@ -3968,7 +3968,7 @@ const W0 = /* @__PURE__ */ Y({
3968
3968
  onChange: i
3969
3969
  }, {
3970
3970
  header: U(() => [
3971
- E(Ce, {
3971
+ I(Ce, {
3972
3972
  title: "Milestones",
3973
3973
  level: 3,
3974
3974
  class: "ao-list__title"
@@ -3993,7 +3993,7 @@ const W0 = /* @__PURE__ */ Y({
3993
3993
  ]),
3994
3994
  footer: U(() => [
3995
3995
  v("div", K0, [
3996
- E(Je, {
3996
+ I(Je, {
3997
3997
  "icon-name": "AddBoxOutlineRounded",
3998
3998
  label: l.$t("template.milestones.add"),
3999
3999
  onClick: n
@@ -4058,7 +4058,7 @@ const W0 = /* @__PURE__ */ Y({
4058
4058
  onChange: i
4059
4059
  }, {
4060
4060
  header: U(() => [
4061
- E(Ce, {
4061
+ I(Ce, {
4062
4062
  title: "Activities",
4063
4063
  level: 3,
4064
4064
  class: "ao-list__title"
@@ -4079,7 +4079,7 @@ const W0 = /* @__PURE__ */ Y({
4079
4079
  ]),
4080
4080
  footer: U(() => [
4081
4081
  v("div", X0, [
4082
- E(Je, {
4082
+ I(Je, {
4083
4083
  "icon-name": "AddBoxOutlineRounded",
4084
4084
  label: l.$t("template.activities.add"),
4085
4085
  onClick: n
@@ -4112,7 +4112,7 @@ const W0 = /* @__PURE__ */ Y({
4112
4112
  v("div", J0, [
4113
4113
  v("div", e3, [
4114
4114
  v("div", t3, [
4115
- E(fe, {
4115
+ I(fe, {
4116
4116
  "icon-name": "CloseRounded",
4117
4117
  variant: "ghost",
4118
4118
  color: "primary",
@@ -4417,8 +4417,8 @@ const h3 = function(t) {
4417
4417
  placement: s,
4418
4418
  overflows: X
4419
4419
  }], !X.every((S) => S <= 0)) {
4420
- var I, ee;
4421
- const S = (((I = o.flip) == null ? void 0 : I.index) || 0) + 1, P = W[S];
4420
+ var E, J;
4421
+ const S = (((E = o.flip) == null ? void 0 : E.index) || 0) + 1, P = W[S];
4422
4422
  if (P)
4423
4423
  return {
4424
4424
  data: {
@@ -4429,7 +4429,7 @@ const h3 = function(t) {
4429
4429
  placement: P
4430
4430
  }
4431
4431
  };
4432
- let de = (ee = te.filter((se) => se.overflows[0] <= 0).sort((se, re) => se.overflows[1] - re.overflows[1])[0]) == null ? void 0 : ee.placement;
4432
+ let de = (J = te.filter((se) => se.overflows[0] <= 0).sort((se, re) => se.overflows[1] - re.overflows[1])[0]) == null ? void 0 : J.placement;
4433
4433
  if (!de)
4434
4434
  switch (m) {
4435
4435
  case "bestFit": {
@@ -4482,8 +4482,8 @@ const h3 = function(t) {
4482
4482
  L = c || y ? Lt(_, V) : V;
4483
4483
  }
4484
4484
  if (y && !c) {
4485
- const V = Ae(d.left, 0), X = Ae(d.right, 0), te = Ae(d.top, 0), I = Ae(d.bottom, 0);
4486
- u ? Z = p - 2 * (V !== 0 || X !== 0 ? V + X : Ae(d.left, d.right)) : L = m - 2 * (te !== 0 || I !== 0 ? te + I : Ae(d.top, d.bottom));
4485
+ const V = Ae(d.left, 0), X = Ae(d.right, 0), te = Ae(d.top, 0), E = Ae(d.bottom, 0);
4486
+ u ? Z = p - 2 * (V !== 0 || X !== 0 ? V + X : Ae(d.left, d.right)) : L = m - 2 * (te !== 0 || E !== 0 ? te + E : Ae(d.top, d.bottom));
4487
4487
  }
4488
4488
  await i({
4489
4489
  ...e,
@@ -5091,8 +5091,8 @@ function F3(t, e, a) {
5091
5091
  valueProp: V,
5092
5092
  allowAbsent: X,
5093
5093
  groupLabel: te,
5094
- canDeselect: I,
5095
- max: ee,
5094
+ canDeselect: E,
5095
+ max: J,
5096
5096
  strict: g,
5097
5097
  closeOnSelect: S,
5098
5098
  closeOnDeselect: P,
@@ -5221,7 +5221,7 @@ function F3(t, e, a) {
5221
5221
  case "multiple":
5222
5222
  return !De(H.value) && H.value.map((D) => D[V.value]).indexOf(C[V.value]) !== -1;
5223
5223
  }
5224
- }, C1 = (C) => C[oe.value] === !0, _1 = () => ee === void 0 || ee.value === -1 || !m1.value && ee.value > 0 ? !1 : H.value.length >= ee.value, Ja = (C) => {
5224
+ }, C1 = (C) => C[oe.value] === !0, _1 = () => J === void 0 || J.value === -1 || !m1.value && J.value > 0 ? !1 : H.value.length >= J.value, Ja = (C) => {
5225
5225
  if (!C1(C)) {
5226
5226
  if (ae && ae.value && !Ne(C) && C.__CREATE__ && (C = { ...C }, delete C.__CREATE__, C = ae.value(C, ie), C instanceof Promise)) {
5227
5227
  Le.value = !0, C.then((D) => {
@@ -5235,7 +5235,7 @@ function F3(t, e, a) {
5235
5235
  switch (C.__CREATE__ && (C = { ...C }, delete C.__CREATE__), s.value) {
5236
5236
  case "single":
5237
5237
  if (C && Ne(C)) {
5238
- I.value && ut(C), P.value && (it(), ot());
5238
+ E.value && ut(C), P.value && (it(), ot());
5239
5239
  return;
5240
5240
  }
5241
5241
  C && g1(C), W.value && me(), S.value && (it(), ot()), C && rt(C);
@@ -5270,7 +5270,7 @@ function F3(t, e, a) {
5270
5270
  case "multiple":
5271
5271
  case "tags":
5272
5272
  as(C[M.value]) ? ut(C[M.value]) : rt(
5273
- C[M.value].filter((D) => H.value.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1).filter((D) => !D[oe.value]).filter((D, ne) => H.value.length + 1 + ne <= ee.value || ee.value === -1)
5273
+ C[M.value].filter((D) => H.value.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1).filter((D) => !D[oe.value]).filter((D, ne) => H.value.length + 1 + ne <= J.value || J.value === -1)
5274
5274
  );
5275
5275
  break;
5276
5276
  }
@@ -5417,18 +5417,18 @@ function q3(t, e, a) {
5417
5417
  groupSelect: r,
5418
5418
  disabledProp: c,
5419
5419
  groupOptions: u
5420
- } = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, A = a.handleGroupClick, _ = a.search, $ = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])), X = b(() => m.value.filter((O) => !O[c.value])), te = b(() => d.value !== "single" && r.value), I = b(() => $.value && $.value.group), ee = b(() => ie($.value)), g = b(() => {
5421
- const O = I.value ? $.value : (
5420
+ } = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, A = a.handleGroupClick, _ = a.search, $ = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])), X = b(() => m.value.filter((O) => !O[c.value])), te = b(() => d.value !== "single" && r.value), E = b(() => $.value && $.value.group), J = b(() => ie($.value)), g = b(() => {
5421
+ const O = E.value ? $.value : (
5422
5422
  /* istanbul ignore next */
5423
5423
  ie($.value)
5424
5424
  ), R = X.value.map((Me) => Me[i.value]).indexOf(O[i.value]);
5425
5425
  let me = X.value[R - 1];
5426
5426
  return me === void 0 && (me = P.value), me;
5427
5427
  }), S = b(() => {
5428
- let O = X.value.map((R) => R.label).indexOf(I.value ? $.value[i.value] : ie($.value)[i.value]) + 1;
5428
+ let O = X.value.map((R) => R.label).indexOf(E.value ? $.value[i.value] : ie($.value)[i.value]) + 1;
5429
5429
  return X.value.length <= O && (O = 0), X.value[O];
5430
5430
  }), P = b(() => [...X.value].slice(-1)[0]), de = b(() => $.value.__VISIBLE__.filter((O) => !O[c.value])[0]), se = b(() => {
5431
- const O = ee.value.__VISIBLE__.filter((R) => !R[c.value]);
5431
+ const O = J.value.__VISIBLE__.filter((R) => !R[c.value]);
5432
5432
  return O[O.map((R) => R[n.value]).indexOf($.value[n.value]) - 1];
5433
5433
  }), re = b(() => {
5434
5434
  const O = ie($.value).__VISIBLE__.filter((R) => !R[c.value]);
@@ -5436,12 +5436,12 @@ function q3(t, e, a) {
5436
5436
  }), M = b(() => [...g.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), F = b(() => [...P.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), j = (O) => $.value && (!O.group && $.value[n.value] === O[n.value] || O.group !== void 0 && $.value[i.value] === O[i.value]) ? !0 : void 0, ae = () => {
5437
5437
  y(V.value[0] || null);
5438
5438
  }, oe = () => {
5439
- !$.value || $.value[c.value] === !0 || (I.value ? A($.value) : w($.value));
5439
+ !$.value || $.value[c.value] === !0 || (E.value ? A($.value) : w($.value));
5440
5440
  }, k = () => {
5441
5441
  if ($.value === null)
5442
5442
  y((l.value && te.value ? X.value[0].__CREATE__ ? V.value[0] : X.value[0] : V.value[0]) || null);
5443
5443
  else if (l.value && te.value) {
5444
- let O = I.value ? de.value : re.value;
5444
+ let O = E.value ? de.value : re.value;
5445
5445
  O === void 0 && (O = S.value, O.__CREATE__ && (O = O[u.value][0])), y(O || /* istanbul ignore next */
5446
5446
  null);
5447
5447
  } else {
@@ -5456,8 +5456,8 @@ function q3(t, e, a) {
5456
5456
  let O = V.value[V.value.length - 1];
5457
5457
  l.value && te.value && (O = F.value, O === void 0 && (O = P.value)), y(O || null);
5458
5458
  } else if (l.value && te.value) {
5459
- let O = I.value ? M.value : se.value;
5460
- O === void 0 && (O = I.value ? g.value : ee.value, O.__CREATE__ && (O = M.value, O === void 0 && (O = g.value))), y(O || /* istanbul ignore next */
5459
+ let O = E.value ? M.value : se.value;
5460
+ O === void 0 && (O = E.value ? g.value : J.value, O.__CREATE__ && (O = M.value, O === void 0 && (O = g.value))), y(O || /* istanbul ignore next */
5461
5461
  null);
5462
5462
  } else {
5463
5463
  let O = V.value.map((R) => R[n.value]).indexOf($.value[n.value]) - 1;
@@ -5471,7 +5471,7 @@ function q3(t, e, a) {
5471
5471
  if (!O)
5472
5472
  return;
5473
5473
  let R = O.parentElement.parentElement;
5474
- l.value && (R = I.value ? O.parentElement.parentElement.parentElement : O.parentElement.parentElement.parentElement.parentElement), O.offsetTop + O.offsetHeight > R.clientHeight + R.scrollTop && (R.scrollTop = O.offsetTop + O.offsetHeight - R.clientHeight), O.offsetTop < R.scrollTop && (R.scrollTop = O.offsetTop);
5474
+ l.value && (R = E.value ? O.parentElement.parentElement.parentElement : O.parentElement.parentElement.parentElement.parentElement), O.offsetTop + O.offsetHeight > R.clientHeight + R.scrollTop && (R.scrollTop = O.offsetTop + O.offsetHeight - R.clientHeight), O.offsetTop < R.scrollTop && (R.scrollTop = O.offsetTop);
5475
5475
  };
5476
5476
  return ue(_, (O) => {
5477
5477
  o.value && (O.length && s.value ? ae() : L());
@@ -5512,8 +5512,8 @@ function W3(t, e, a) {
5512
5512
  n.value && i.value.blur(), p.value.blur();
5513
5513
  }, y = () => {
5514
5514
  n.value && !s.value && i.value.focus();
5515
- }, L = (I = !0) => {
5516
- s.value || (w.value = !0, I && l());
5515
+ }, L = (E = !0) => {
5516
+ s.value || (w.value = !0, E && l());
5517
5517
  }, Z = () => {
5518
5518
  w.value = !1, setTimeout(() => {
5519
5519
  w.value || (d(), o.value && r());
@@ -5530,8 +5530,8 @@ function W3(t, e, a) {
5530
5530
  focus: y,
5531
5531
  activate: L,
5532
5532
  deactivate: Z,
5533
- handleFocusIn: (I) => {
5534
- I.target.closest("[data-tags]") && I.target.nodeName !== "INPUT" || I.target.closest("[data-clear]") || L(A.value);
5533
+ handleFocusIn: (E) => {
5534
+ E.target.closest("[data-tags]") && E.target.nodeName !== "INPUT" || E.target.closest("[data-clear]") || L(A.value);
5535
5535
  },
5536
5536
  handleFocusOut: () => {
5537
5537
  Z();
@@ -5539,8 +5539,8 @@ function W3(t, e, a) {
5539
5539
  handleCaretClick: () => {
5540
5540
  Z(), $();
5541
5541
  },
5542
- handleMousedown: (I) => {
5543
- A.value = !0, c.value && (I.target.isEqualNode(p.value) || I.target.isEqualNode(m.value)) ? setTimeout(() => {
5542
+ handleMousedown: (E) => {
5543
+ A.value = !0, c.value && (E.target.isEqualNode(p.value) || E.target.isEqualNode(m.value)) ? setTimeout(() => {
5544
5544
  Z();
5545
5545
  }, 0) : document.activeElement.isEqualNode(p.value) && !c.value && L(), setTimeout(() => {
5546
5546
  A.value = !1;
@@ -5561,7 +5561,7 @@ function Y3(t, e, a) {
5561
5561
  createTag: u,
5562
5562
  createOption: p,
5563
5563
  reverse: m
5564
- } = $e(t), w = st().proxy, A = a.iv, _ = a.update, $ = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect, X = a.wrapper, te = a.tags, I = a.isOpen, ee = a.open, g = a.blur, S = a.fo, P = b(() => u.value || p.value || !1), de = b(() => s.value !== void 0 ? s.value : c.value !== void 0 ? c.value : ["enter"]), se = () => {
5564
+ } = $e(t), w = st().proxy, A = a.iv, _ = a.update, $ = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect, X = a.wrapper, te = a.tags, E = a.isOpen, J = a.open, g = a.blur, S = a.fo, P = b(() => u.value || p.value || !1), de = b(() => s.value !== void 0 ? s.value : c.value !== void 0 ? c.value : ["enter"]), se = () => {
5565
5565
  n.value === "tags" && !l.value && P.value && i.value && !r.value && y(S.value[S.value.map((j) => j[d.value]).indexOf($.value)]);
5566
5566
  }, re = (j) => {
5567
5567
  let ae = j.length - 1;
@@ -5614,12 +5614,12 @@ function Y3(t, e, a) {
5614
5614
  case "ArrowUp":
5615
5615
  if (j.preventDefault(), !l.value)
5616
5616
  return;
5617
- I.value || ee(), Z();
5617
+ E.value || J(), Z();
5618
5618
  break;
5619
5619
  case "ArrowDown":
5620
5620
  if (j.preventDefault(), !l.value)
5621
5621
  return;
5622
- I.value || ee(), W();
5622
+ E.value || J(), W();
5623
5623
  break;
5624
5624
  case "ArrowLeft":
5625
5625
  if (i.value && te.value && te.value.querySelector("input").selectionStart || j.shiftKey || n.value !== "tags" || !A.value || !A.value.length)
@@ -5806,10 +5806,10 @@ function x3(t, e, a) {
5806
5806
  }, te = (S) => {
5807
5807
  let P = [];
5808
5808
  return s && s.value && P.push(s.value), P.push("multiselect-group"), P.push(S.index), P.join("-");
5809
- }, I = (S) => {
5809
+ }, E = (S) => {
5810
5810
  let P = [];
5811
5811
  return P.push(S), P.join(" ");
5812
- }, ee = (S) => {
5812
+ }, J = (S) => {
5813
5813
  let P = [];
5814
5814
  return P.push(S), P.join(" ");
5815
5815
  }, g = (S) => `${S} ❎`;
@@ -5827,9 +5827,9 @@ function x3(t, e, a) {
5827
5827
  ariaMultiselectable: Z,
5828
5828
  ariaActiveDescendant: y,
5829
5829
  ariaOptionId: X,
5830
- ariaOptionLabel: I,
5830
+ ariaOptionLabel: E,
5831
5831
  ariaGroupId: te,
5832
- ariaGroupLabel: ee,
5832
+ ariaGroupLabel: J,
5833
5833
  ariaTagLabel: g
5834
5834
  };
5835
5835
  }
@@ -6840,7 +6840,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6840
6840
  onChange: (_) => r(_, m.id)
6841
6841
  }, {
6842
6842
  tag: U(({ option: _, handleTagRemove: $ }) => [
6843
- E(gt, {
6843
+ I(gt, {
6844
6844
  "user-name": _.label,
6845
6845
  "avatar-url": _.avatar,
6846
6846
  "is-closable": !0,
@@ -6947,7 +6947,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6947
6947
  target: "_blank",
6948
6948
  rel: "noopener noreferrer"
6949
6949
  }, [
6950
- E(ce, {
6950
+ I(ce, {
6951
6951
  class: "ao-file__icon",
6952
6952
  name: "AttachFileRounded",
6953
6953
  size: "sm"
@@ -7046,14 +7046,14 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7046
7046
  ]),
7047
7047
  _.isEditable ? (f(), h("div", R5, [
7048
7048
  z(o) ? (f(), h(ve, { key: 0 }, [
7049
- E(fe, {
7049
+ I(fe, {
7050
7050
  "icon-name": "CloseRounded",
7051
7051
  size: "sm",
7052
7052
  variant: "ghost",
7053
7053
  color: "neutral",
7054
7054
  onClick: z(p)
7055
7055
  }, null, 8, ["onClick"]),
7056
- E(fe, {
7056
+ I(fe, {
7057
7057
  "icon-name": "CheckSmallRounded",
7058
7058
  size: "sm",
7059
7059
  variant: "solid",
@@ -7061,14 +7061,14 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7061
7061
  onClick: z(m)
7062
7062
  }, null, 8, ["onClick"])
7063
7063
  ], 64)) : (f(), h(ve, { key: 1 }, [
7064
- E(fe, {
7064
+ I(fe, {
7065
7065
  label: _.$t("activity.comment.delete"),
7066
7066
  size: "sm",
7067
7067
  variant: "ghost",
7068
7068
  color: "neutral",
7069
7069
  onClick: w
7070
7070
  }, null, 8, ["label"]),
7071
- E(fe, {
7071
+ I(fe, {
7072
7072
  label: _.$t("activity.comment.edit"),
7073
7073
  size: "sm",
7074
7074
  variant: "ghost",
@@ -7157,7 +7157,7 @@ const j5 = {
7157
7157
  ])
7158
7158
  ]),
7159
7159
  v("div", W5, [
7160
- E(fe, {
7160
+ I(fe, {
7161
7161
  type: "submit",
7162
7162
  "icon-name": "SendRounded",
7163
7163
  color: "primary",
@@ -7344,9 +7344,9 @@ const K5 = {
7344
7344
  ...g,
7345
7345
  activityId: a.activity.id
7346
7346
  });
7347
- }, I = (g) => {
7347
+ }, E = (g) => {
7348
7348
  e("updateComment", g);
7349
- }, ee = (g) => {
7349
+ }, J = (g) => {
7350
7350
  e("removeComment", g);
7351
7351
  };
7352
7352
  return (g, S) => (f(), N(D1, {
@@ -7354,7 +7354,7 @@ const K5 = {
7354
7354
  }, {
7355
7355
  header: U(() => [
7356
7356
  g.breadcrumbs ? (f(), h("div", K5, q(g.breadcrumbs), 1)) : T("", !0),
7357
- E(Ce, {
7357
+ I(Ce, {
7358
7358
  title: g.activity.name || "",
7359
7359
  level: 4,
7360
7360
  "is-editable": g.isEditable,
@@ -7365,7 +7365,7 @@ const K5 = {
7365
7365
  return [
7366
7366
  V.value ? (f(), h("label", G5, [
7367
7367
  v("span", x5, q(g.$t("activity.status.label")), 1),
7368
- E(be, {
7368
+ I(be, {
7369
7369
  options: V.value,
7370
7370
  value: (P = g.activity.status) == null ? void 0 : P.id,
7371
7371
  "can-clear": !1,
@@ -7459,8 +7459,8 @@ const K5 = {
7459
7459
  ]),
7460
7460
  l.value ? T("", !0) : (f(), h("fieldset", v7, [
7461
7461
  v("div", p7, [
7462
- E(ce, { name: "AccountBoxSharp" }),
7463
- E(Ce, {
7462
+ I(ce, { name: "AccountBoxSharp" }),
7463
+ I(Ce, {
7464
7464
  level: 4,
7465
7465
  title: g.$t("activity.assignee.title")
7466
7466
  }, null, 8, ["title"])
@@ -7468,7 +7468,7 @@ const K5 = {
7468
7468
  v("div", h7, [
7469
7469
  v("div", m7, [
7470
7470
  v("div", C7, [
7471
- E(be, {
7471
+ I(be, {
7472
7472
  modelValue: L.value,
7473
7473
  "onUpdate:modelValue": S[4] || (S[4] = (P) => L.value = P),
7474
7474
  options: y.value,
@@ -7485,7 +7485,7 @@ const K5 = {
7485
7485
  option: P,
7486
7486
  handleTagRemove: de
7487
7487
  }) => [
7488
- E(gt, {
7488
+ I(gt, {
7489
7489
  "user-name": P.label,
7490
7490
  "avatar-url": P.avatar,
7491
7491
  "is-closable": !0,
@@ -7500,14 +7500,14 @@ const K5 = {
7500
7500
  ])),
7501
7501
  v("fieldset", _7, [
7502
7502
  v("div", g7, [
7503
- E(ce, { name: "SelectCheckBox" }),
7504
- E(Ce, {
7503
+ I(ce, { name: "SelectCheckBox" }),
7504
+ I(Ce, {
7505
7505
  level: 4,
7506
7506
  title: g.$t("activity.tasks.title")
7507
7507
  }, null, 8, ["title"])
7508
7508
  ]),
7509
7509
  v("div", y7, [
7510
- E(k5, {
7510
+ I(k5, {
7511
7511
  class: "ao-activity-details__tasks ao-field__row",
7512
7512
  tasks: g.activity.tasks || [],
7513
7513
  "activity-id": g.activity.id,
@@ -7523,8 +7523,8 @@ const K5 = {
7523
7523
  ]),
7524
7524
  v("fieldset", b7, [
7525
7525
  v("div", w7, [
7526
- E(ce, { name: "FlowsheetOutlineRounded" }),
7527
- E(Ce, {
7526
+ I(ce, { name: "FlowsheetOutlineRounded" }),
7527
+ I(Ce, {
7528
7528
  level: 4,
7529
7529
  title: g.$t("activity.dependencies.title")
7530
7530
  }, null, 8, ["title"])
@@ -7533,7 +7533,7 @@ const K5 = {
7533
7533
  v("div", M7, [
7534
7534
  v("label", k7, [
7535
7535
  v("span", A7, q(g.$t("activity.dependingOn.label")), 1),
7536
- E(be, {
7536
+ I(be, {
7537
7537
  modelValue: u.value,
7538
7538
  "onUpdate:modelValue": S[5] || (S[5] = (P) => u.value = P),
7539
7539
  mode: "tags",
@@ -7548,7 +7548,7 @@ const K5 = {
7548
7548
  v("div", T7, [
7549
7549
  v("label", S7, [
7550
7550
  v("span", E7, q(g.$t("activity.blocking.label")), 1),
7551
- E(be, {
7551
+ I(be, {
7552
7552
  modelValue: m.value,
7553
7553
  "onUpdate:modelValue": S[6] || (S[6] = (P) => m.value = P),
7554
7554
  mode: "tags",
@@ -7566,7 +7566,7 @@ const K5 = {
7566
7566
  d.value ? (f(), h("div", O7, [
7567
7567
  v("label", L7, [
7568
7568
  v("span", V7, q(g.$t("activity.type.label")), 1),
7569
- E(be, {
7569
+ I(be, {
7570
7570
  modelValue: r.value,
7571
7571
  "onUpdate:modelValue": S[7] || (S[7] = (P) => r.value = P),
7572
7572
  mode: "single",
@@ -7583,32 +7583,32 @@ const K5 = {
7583
7583
  ]),
7584
7584
  g.isTemplate !== !0 && g.userId ? (f(), h("div", D7, [
7585
7585
  v("div", H7, [
7586
- E(ce, { name: "AttachFileRounded" }),
7587
- E(Ce, {
7586
+ I(ce, { name: "AttachFileRounded" }),
7587
+ I(Ce, {
7588
7588
  level: 4,
7589
7589
  title: g.$t("activity.attachments.title")
7590
7590
  }, null, 8, ["title"])
7591
7591
  ]),
7592
- E(D5, {
7592
+ I(D5, {
7593
7593
  attachments: g.activity.attachments,
7594
7594
  "is-editable": g.isEditable,
7595
7595
  onAdd: Z,
7596
7596
  onRemove: W
7597
7597
  }, null, 8, ["attachments", "is-editable"]),
7598
7598
  v("div", P7, [
7599
- E(ce, { name: "ChatOutline" }),
7600
- E(Ce, {
7599
+ I(ce, { name: "ChatOutline" }),
7600
+ I(Ce, {
7601
7601
  level: 4,
7602
7602
  title: g.$t("activity.comments.title")
7603
7603
  }, null, 8, ["title"])
7604
7604
  ]),
7605
- E(Y5, {
7605
+ I(Y5, {
7606
7606
  comments: g.activity.comments,
7607
7607
  users: g.users,
7608
7608
  "user-id": g.userId,
7609
7609
  onCreateComment: te,
7610
- onUpdateComment: I,
7611
- onRemoveComment: ee
7610
+ onUpdateComment: E,
7611
+ onRemoveComment: J
7612
7612
  }, null, 8, ["comments", "users", "user-id"])
7613
7613
  ])) : T("", !0)
7614
7614
  ]),
@@ -7692,22 +7692,22 @@ const B7 = /* @__PURE__ */ Y({
7692
7692
  }), _ = b(() => Object.values($d));
7693
7693
  return ($, y) => (f(), N(Xe($.tagName), { class: "ao-rule-line" }, {
7694
7694
  default: U(() => [
7695
- E(z(We), {
7695
+ I(z(We), {
7696
7696
  modelValue: s.value,
7697
7697
  "onUpdate:modelValue": y[0] || (y[0] = (L) => s.value = L),
7698
7698
  options: o.value
7699
7699
  }, null, 8, ["modelValue", "options"]),
7700
- E(z(We), {
7700
+ I(z(We), {
7701
7701
  modelValue: i.value,
7702
7702
  "onUpdate:modelValue": y[1] || (y[1] = (L) => i.value = L),
7703
7703
  options: l.value
7704
7704
  }, null, 8, ["modelValue", "options"]),
7705
- E(z(We), {
7705
+ I(z(We), {
7706
7706
  modelValue: p.value,
7707
7707
  "onUpdate:modelValue": y[2] || (y[2] = (L) => p.value = L),
7708
7708
  options: m.value
7709
7709
  }, null, 8, ["modelValue", "options"]),
7710
- E(z(We), {
7710
+ I(z(We), {
7711
7711
  modelValue: r.value,
7712
7712
  "onUpdate:modelValue": y[3] || (y[3] = (L) => r.value = L),
7713
7713
  options: c.value
@@ -7724,12 +7724,12 @@ const B7 = /* @__PURE__ */ Y({
7724
7724
  { number: !0 }
7725
7725
  ]
7726
7726
  ]),
7727
- E(z(We), {
7727
+ I(z(We), {
7728
7728
  modelValue: A.value,
7729
7729
  "onUpdate:modelValue": y[5] || (y[5] = (L) => A.value = L),
7730
7730
  options: _.value
7731
7731
  }, null, 8, ["modelValue", "options"]),
7732
- E(fe, {
7732
+ I(fe, {
7733
7733
  class: "ao-rule-line__remove",
7734
7734
  "icon-name": "CloseRounded",
7735
7735
  variant: "ghost",
@@ -7758,7 +7758,7 @@ const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rule
7758
7758
  };
7759
7759
  return (s, o) => (f(), N(D1, null, {
7760
7760
  header: U(() => [
7761
- E(Ce, {
7761
+ I(Ce, {
7762
7762
  title: s.$t("template.rules.title"),
7763
7763
  level: 2
7764
7764
  }, null, 8, ["title"])
@@ -7776,7 +7776,7 @@ const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rule
7776
7776
  onClose: () => n(i.id)
7777
7777
  }, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
7778
7778
  ]),
7779
- E(Je, {
7779
+ I(Je, {
7780
7780
  label: s.$t("template.rules.add"),
7781
7781
  "icon-name": "Add",
7782
7782
  onClick: a
@@ -7990,9 +7990,9 @@ const j7 = {
7990
7990
  });
7991
7991
  }, X = Q(!1), te = () => {
7992
7992
  X.value = !X.value;
7993
- }, I = () => {
7993
+ }, E = () => {
7994
7994
  e("addRule", { templateId: a.templateId });
7995
- }, ee = (M) => {
7995
+ }, J = (M) => {
7996
7996
  e("removeRule", { id: M, templateId: a.templateId });
7997
7997
  }, g = (M) => {
7998
7998
  var F;
@@ -8040,12 +8040,12 @@ const j7 = {
8040
8040
  return (M, F) => {
8041
8041
  var j, ae, oe, k, K, ie;
8042
8042
  return s.value ? (f(), h("div", j7, [
8043
- E(d1, {
8043
+ I(d1, {
8044
8044
  "can-go-back": !0,
8045
8045
  onGoBack: F[1] || (F[1] = (H) => M.$router.push({ name: z(ft).TEMPLATES_LIST }))
8046
8046
  }, {
8047
8047
  primary: U(() => [
8048
- E(Ce, {
8048
+ I(Ce, {
8049
8049
  title: u.value,
8050
8050
  level: 2,
8051
8051
  "is-editable": !0,
@@ -8059,7 +8059,7 @@ const j7 = {
8059
8059
  v("div", Z7, [
8060
8060
  v("ol", F7, [
8061
8061
  v("li", q7, [
8062
- E(z(Qe), {
8062
+ I(z(Qe), {
8063
8063
  "model-value": s.value.phases,
8064
8064
  class: "ao-templates__list",
8065
8065
  "item-key": "id",
@@ -8067,7 +8067,7 @@ const j7 = {
8067
8067
  onChange: g
8068
8068
  }, {
8069
8069
  header: U(() => [
8070
- E(Ce, {
8070
+ I(Ce, {
8071
8071
  title: M.$t("template.phases.title"),
8072
8072
  level: 3,
8073
8073
  class: "ao-list__title"
@@ -8076,7 +8076,7 @@ const j7 = {
8076
8076
  item: U(({ element: H }) => {
8077
8077
  var O;
8078
8078
  return [
8079
- E(W0, {
8079
+ I(W0, {
8080
8080
  id: H.id,
8081
8081
  name: H.name,
8082
8082
  milestones: H.milestones,
@@ -8094,7 +8094,7 @@ const j7 = {
8094
8094
  }),
8095
8095
  footer: U(() => [
8096
8096
  v("div", z7, [
8097
- E(Je, {
8097
+ I(Je, {
8098
8098
  "icon-name": "AddBoxOutlineRounded",
8099
8099
  label: M.$t("template.phases.add"),
8100
8100
  onClick: p
@@ -8167,8 +8167,8 @@ const j7 = {
8167
8167
  "template-milestones": d.value,
8168
8168
  "template-activities": r.value,
8169
8169
  onClose: te,
8170
- onAddRule: I,
8171
- onRemoveRule: ee
8170
+ onAddRule: E,
8171
+ onRemoveRule: J
8172
8172
  }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : T("", !0)
8173
8173
  ]))
8174
8174
  ])) : T("", !0);
@@ -8251,7 +8251,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8251
8251
  }), i = b(() => (o.value || 0) / (s.value || 1));
8252
8252
  return (l, d) => (f(), N(j1, { class: "ao-card-project-phase" }, s1({
8253
8253
  default: U(() => [
8254
- E(Ce, {
8254
+ I(Ce, {
8255
8255
  id: l.id,
8256
8256
  class: "ao-card-project-phase__title",
8257
8257
  title: l.name || "",
@@ -8265,13 +8265,13 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8265
8265
  v("div", e9, [
8266
8266
  s.value ? (f(), h(ve, { key: 0 }, [
8267
8267
  v("div", t9, [
8268
- E(ce, {
8268
+ I(ce, {
8269
8269
  name: "MountainFlagOutlineRounded",
8270
8270
  size: "sm"
8271
8271
  }),
8272
8272
  v("span", a9, q(o.value) + " / " + q(s.value), 1)
8273
8273
  ]),
8274
- E(Z1, {
8274
+ I(Z1, {
8275
8275
  percentages: i.value,
8276
8276
  class: "ao-card-project-phase__progress"
8277
8277
  }, null, 8, ["percentages"])
@@ -8288,7 +8288,7 @@ const Q7 = { class: "ao-card-project-phase__header" }, J7 = { class: "ao-card-pr
8288
8288
  name: "header",
8289
8289
  fn: U(() => [
8290
8290
  v("div", Q7, [
8291
- E(fe, {
8291
+ I(fe, {
8292
8292
  class: "ao-card-project-phase__archive",
8293
8293
  color: "primary",
8294
8294
  variant: "ghost",
@@ -8339,7 +8339,7 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
8339
8339
  }, {
8340
8340
  default: U(() => [
8341
8341
  v("div", i9, [
8342
- E(Ce, {
8342
+ I(Ce, {
8343
8343
  id: l.id,
8344
8344
  title: l.name || "",
8345
8345
  level: 5,
@@ -8348,7 +8348,7 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
8348
8348
  "onUpdate:title": i
8349
8349
  }, null, 8, ["id", "title", "is-editable"]),
8350
8350
  l.isEditable ? (f(), h("div", o9, [
8351
- E(fe, {
8351
+ I(fe, {
8352
8352
  color: "primary",
8353
8353
  variant: "ghost",
8354
8354
  "icon-name": "ArchiveOutlineRounded",
@@ -8366,13 +8366,13 @@ const i9 = { class: "ao-card-project-milestone__default" }, o9 = {
8366
8366
  v("div", r9, [
8367
8367
  n.value ? (f(), h(ve, { key: 0 }, [
8368
8368
  v("div", u9, [
8369
- E(ce, {
8369
+ I(ce, {
8370
8370
  name: "SelectCheckBox",
8371
8371
  size: "sm"
8372
8372
  }),
8373
8373
  v("span", d9, q(s.value) + " / " + q(n.value), 1)
8374
8374
  ]),
8375
- E(Z1, {
8375
+ I(Z1, {
8376
8376
  percentages: o.value,
8377
8377
  class: "ao-card-project-phase__progress"
8378
8378
  }, null, 8, ["percentages"])
@@ -8425,13 +8425,13 @@ const v9 = { class: "ao-project-phase" }, p9 = {
8425
8425
  };
8426
8426
  return (u, p) => (f(), h("li", v9, [
8427
8427
  u.isEditable ? (f(), h("div", p9, [
8428
- E(ce, {
8428
+ I(ce, {
8429
8429
  name: "DragIndicator",
8430
8430
  class: "ao-project-phase__drag-handle"
8431
8431
  })
8432
8432
  ])) : T("", !0),
8433
8433
  v("div", h9, [
8434
- E(n9, {
8434
+ I(n9, {
8435
8435
  id: u.phase.id,
8436
8436
  milestones: o.value,
8437
8437
  name: u.phase.name,
@@ -8442,7 +8442,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
8442
8442
  ]),
8443
8443
  v("div", m9, [
8444
8444
  v("div", C9, [
8445
- E(z(Qe), Ee({
8445
+ I(z(Qe), Ee({
8446
8446
  class: "ao-project-phase__milestones-list",
8447
8447
  list: o.value,
8448
8448
  disabled: !u.isEditable,
@@ -8450,7 +8450,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
8450
8450
  group: "kanban"
8451
8451
  }, u.$attrs, { onChange: c }), {
8452
8452
  item: U(({ element: m }) => [
8453
- E(f9, {
8453
+ I(f9, {
8454
8454
  id: m.id,
8455
8455
  name: m.name,
8456
8456
  activities: m.activities,
@@ -8520,7 +8520,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
8520
8520
  e("addPhase", c);
8521
8521
  };
8522
8522
  return (c, u) => (f(), h("div", y9, [
8523
- E(z(Qe), {
8523
+ I(z(Qe), {
8524
8524
  class: "ao-project-phase__phases-list",
8525
8525
  "model-value": c.phases,
8526
8526
  "item-key": "id",
@@ -8528,7 +8528,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
8528
8528
  onChange: l
8529
8529
  }, {
8530
8530
  item: U(({ element: p }) => [
8531
- E(g9, {
8531
+ I(g9, {
8532
8532
  phase: p,
8533
8533
  "is-editable": c.isEditable,
8534
8534
  "closed-status": c.closedStatus,
@@ -8544,7 +8544,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
8544
8544
  c.isEditable ? (f(), h("div", b9, [
8545
8545
  w9,
8546
8546
  v("div", $9, [
8547
- E(Je, {
8547
+ I(Je, {
8548
8548
  label: c.$t("project.phases.add"),
8549
8549
  "icon-name": "Add",
8550
8550
  class: "ao-project-phase__add-phase",
@@ -8574,7 +8574,7 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
8574
8574
  };
8575
8575
  return (l, d) => (f(), N(D1, { size: "sm" }, {
8576
8576
  header: U(() => [
8577
- E(Ce, {
8577
+ I(Ce, {
8578
8578
  title: l.$t("project.template.add.title"),
8579
8579
  level: 3
8580
8580
  }, null, 8, ["title"])
@@ -8586,7 +8586,7 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
8586
8586
  }, [
8587
8587
  v("div", T9, [
8588
8588
  v("div", S9, [
8589
- E(be, {
8589
+ I(be, {
8590
8590
  value: s.value,
8591
8591
  options: n.value,
8592
8592
  detached: !0,
@@ -8595,7 +8595,7 @@ const A9 = ["onSubmit"], T9 = { class: "ao-add-template-modal__form-body" }, S9
8595
8595
  ])
8596
8596
  ]),
8597
8597
  v("footer", E9, [
8598
- E(fe, {
8598
+ I(fe, {
8599
8599
  label: l.$t("project.template.add.label"),
8600
8600
  type: "submit",
8601
8601
  color: "primary",
@@ -8673,82 +8673,95 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-c0ae9237
8673
8673
  isTaskCheckable: { type: Function },
8674
8674
  statuses: {},
8675
8675
  activityTypes: {},
8676
- isEditable: { type: Boolean }
8676
+ isEditable: { type: Boolean },
8677
+ showsArchived: { type: Boolean }
8677
8678
  },
8678
- emits: ["addPhase", "updatePhase", "archivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "addActivity", "update:activity", "archiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate"],
8679
+ emits: ["addPhase", "updatePhase", "archivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "addActivity", "update:activity", "archiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "update:showsArchived"],
8679
8680
  setup(t, { emit: e }) {
8680
8681
  const a = t, { t: n } = nt(), s = b(
8681
- () => a.phases.flatMap((I) => I.milestones)
8682
+ () => a.phases.flatMap((E) => E.milestones)
8682
8683
  ), o = () => {
8683
- const { name: I, rank: ee } = ht(a.phases, "phase", n);
8684
- e("addPhase", { name: I, rank: ee, projectId: a.project.id });
8685
- }, i = (I) => {
8686
- e("updatePhase", I);
8687
- }, l = (I) => {
8688
- e("archivePhase", I);
8689
- }, d = (I) => {
8690
- e("addMilestone", I);
8691
- }, r = (I) => {
8692
- e("updateMilestone", I);
8693
- }, c = (I) => {
8694
- e("archiveMilestone", I);
8695
- }, u = (I) => {
8696
- e("addActivity", I);
8697
- }, p = (I) => {
8698
- e("update:activity", I);
8699
- }, m = (I) => {
8700
- e("archiveActivity", I);
8701
- }, w = (I) => {
8702
- e("addSubtask", I);
8703
- }, A = (I) => {
8704
- e("updateSubtask", I);
8705
- }, _ = (I) => {
8706
- e("deleteSubtask", I);
8684
+ const { name: E, rank: J } = ht(a.phases, "phase", n);
8685
+ e("addPhase", { name: E, rank: J, projectId: a.project.id });
8686
+ }, i = (E) => {
8687
+ e("updatePhase", E);
8688
+ }, l = (E) => {
8689
+ e("archivePhase", E);
8690
+ }, d = (E) => {
8691
+ e("addMilestone", E);
8692
+ }, r = (E) => {
8693
+ e("updateMilestone", E);
8694
+ }, c = (E) => {
8695
+ e("archiveMilestone", E);
8696
+ }, u = (E) => {
8697
+ e("addActivity", E);
8698
+ }, p = (E) => {
8699
+ e("update:activity", E);
8700
+ }, m = (E) => {
8701
+ e("archiveActivity", E);
8702
+ }, w = (E) => {
8703
+ e("addSubtask", E);
8704
+ }, A = (E) => {
8705
+ e("updateSubtask", E);
8706
+ }, _ = (E) => {
8707
+ e("deleteSubtask", E);
8707
8708
  }, $ = b(
8708
- () => s.value.flatMap((I) => I.activities)
8709
- ), y = (I) => {
8710
- e("addFiles", I);
8711
- }, L = (I) => {
8712
- e("removeFile", I);
8713
- }, Z = (I) => {
8714
- e("addComment", I);
8715
- }, W = (I) => {
8716
- e("updateComment", I);
8717
- }, V = (I) => {
8718
- e("removeComment", I);
8719
- }, X = Q(!1), te = (I, ee) => {
8720
- e("applyTemplate", { templateId: I, projectId: ee }), X.value = !1;
8709
+ () => s.value.flatMap((E) => E.activities)
8710
+ ), y = (E) => {
8711
+ e("addFiles", E);
8712
+ }, L = (E) => {
8713
+ e("removeFile", E);
8714
+ }, Z = (E) => {
8715
+ e("addComment", E);
8716
+ }, W = (E) => {
8717
+ e("updateComment", E);
8718
+ }, V = (E) => {
8719
+ e("removeComment", E);
8720
+ }, X = Q(!1), te = (E, J) => {
8721
+ e("applyTemplate", { templateId: E, projectId: J }), X.value = !1;
8721
8722
  };
8722
- return (I, ee) => {
8723
+ return (E, J) => {
8723
8724
  const g = hs("RouterView");
8724
8725
  return f(), h(ve, null, [
8725
- v("div", Ee({ class: "ao-project-overview" }, I.$attrs), [
8726
+ v("div", Ee({ class: "ao-project-overview" }, E.$attrs), [
8726
8727
  v("div", D9, [
8727
- E(d1, null, {
8728
+ I(d1, null, {
8728
8729
  primary: U(() => [
8729
- E(Ra, {
8730
+ I(Ra, {
8730
8731
  "is-left": !0,
8731
- "right-label": I.$t("project.switch.feed"),
8732
- "left-label": I.$t("project.switch.overview"),
8733
- "onUpdate:isLeft": ee[0] || (ee[0] = (S) => {
8734
- S || I.$router.push({ name: z(He).feed });
8732
+ "right-label": E.$t("project.switch.feed"),
8733
+ "left-label": E.$t("project.switch.overview"),
8734
+ "onUpdate:isLeft": J[0] || (J[0] = (S) => {
8735
+ S || E.$router.push({ name: z(He).feed });
8735
8736
  })
8736
8737
  }, null, 8, ["right-label", "left-label"]),
8737
- I.isEditable ? (f(), N(fe, {
8738
+ I(fe, {
8739
+ class: "ao-feed__show-archived",
8740
+ size: "sm",
8741
+ "icon-name": E.showsArchived ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
8742
+ "icon-position": "start",
8743
+ color: "primary",
8744
+ variant: "ghost",
8745
+ label: E.$t("feed.filters.showsArchived.label"),
8746
+ role: "checkbox",
8747
+ "aria-checked": E.showsArchived,
8748
+ onClick: J[1] || (J[1] = (S) => E.$emit("update:showsArchived", !E.showsArchived))
8749
+ }, null, 8, ["icon-name", "label", "aria-checked"]),
8750
+ E.isEditable ? (f(), N(fe, {
8738
8751
  key: 0,
8739
8752
  class: "ao-project-overview__add-template",
8740
8753
  color: "primary",
8741
- label: I.$t("project.template.add.label"),
8742
- onClick: ee[1] || (ee[1] = (S) => X.value = !0)
8754
+ label: E.$t("project.template.add.label"),
8755
+ onClick: J[2] || (J[2] = (S) => X.value = !0)
8743
8756
  }, null, 8, ["label"])) : T("", !0)
8744
8757
  ]),
8745
8758
  _: 1
8746
8759
  }),
8747
8760
  v("div", H9, [
8748
- E(k9, {
8749
- phases: I.phases,
8750
- "closed-status": I.closedStatus,
8751
- "is-editable": I.isEditable,
8761
+ I(k9, {
8762
+ phases: E.phases,
8763
+ "closed-status": E.closedStatus,
8764
+ "is-editable": E.isEditable,
8752
8765
  onAddMilestone: d,
8753
8766
  onUpdateMilestone: r,
8754
8767
  onArchiveMilestone: c,
@@ -8758,29 +8771,29 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-c0ae9237
8758
8771
  }, null, 8, ["phases", "closed-status", "is-editable"])
8759
8772
  ])
8760
8773
  ]),
8761
- E(g, {
8774
+ I(g, {
8762
8775
  class: "ao-project__sidebar",
8763
- phases: I.phases,
8764
- "project-id": I.project.id,
8765
- "project-name": I.project.name,
8766
- users: I.users,
8767
- "is-editable": I.isEditable,
8768
- onClose: ee[2] || (ee[2] = (S) => I.$router.push({ name: z(He).project })),
8776
+ phases: E.phases,
8777
+ "project-id": E.project.id,
8778
+ "project-name": E.project.name,
8779
+ users: E.users,
8780
+ "is-editable": E.isEditable,
8781
+ onClose: J[3] || (J[3] = (S) => E.$router.push({ name: z(He).project })),
8769
8782
  onAddActivity: u,
8770
8783
  onUpdateActivity: p,
8771
8784
  onArchiveActivity: m
8772
8785
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable"]),
8773
8786
  (f(), N(It, { to: "body" }, [
8774
- E(g, {
8787
+ I(g, {
8775
8788
  name: "modal",
8776
8789
  activities: $.value,
8777
- "is-task-checkable": I.isTaskCheckable,
8778
- statuses: I.statuses,
8779
- "activity-types": I.activityTypes,
8780
- phases: I.phases,
8781
- users: I.users,
8782
- "user-id": I.userId,
8783
- "is-editable": I.isEditable,
8790
+ "is-task-checkable": E.isTaskCheckable,
8791
+ statuses: E.statuses,
8792
+ "activity-types": E.activityTypes,
8793
+ phases: E.phases,
8794
+ users: E.users,
8795
+ "user-id": E.userId,
8796
+ "is-editable": E.isEditable,
8784
8797
  "onUpdate:activity": p,
8785
8798
  onAddSubtask: w,
8786
8799
  onUpdateSubtask: A,
@@ -8794,7 +8807,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-c0ae9237
8794
8807
  default: U(({ Component: S }) => [
8795
8808
  (f(), N(Xe(S), null, {
8796
8809
  default: U((P) => [
8797
- x(I.$slots, "activityDetailsBody", Ht(Pt(P)))
8810
+ x(E.$slots, "activityDetailsBody", Ht(Pt(P)))
8798
8811
  ]),
8799
8812
  _: 2
8800
8813
  }, 1024))
@@ -8806,9 +8819,9 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-c0ae9237
8806
8819
  (f(), N(It, { to: "body" }, [
8807
8820
  X.value ? (f(), N(I9, {
8808
8821
  key: 0,
8809
- "project-id": I.project.id,
8810
- templates: I.templates,
8811
- onClose: ee[3] || (ee[3] = (S) => X.value = !1),
8822
+ "project-id": E.project.id,
8823
+ templates: E.templates,
8824
+ onClose: J[4] || (J[4] = (S) => X.value = !1),
8812
8825
  onApply: te
8813
8826
  }, null, 8, ["project-id", "templates"])) : T("", !0)
8814
8827
  ]))
@@ -8916,7 +8929,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8916
8929
  default: U(() => [
8917
8930
  v("div", U9, [
8918
8931
  s.value ? (f(), h("span", j9, q(s.value), 1)) : T("", !0),
8919
- E(Ce, {
8932
+ I(Ce, {
8920
8933
  id: p.id,
8921
8934
  title: p.name,
8922
8935
  level: 5,
@@ -8934,7 +8947,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8934
8947
  key: w.id
8935
8948
  }, [
8936
8949
  w ? (f(), h("li", W9, [
8937
- E(gt, {
8950
+ I(gt, {
8938
8951
  "user-name": l(w),
8939
8952
  "avatar-url": w.avatarUrl,
8940
8953
  "is-closable": !0,
@@ -8945,14 +8958,14 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8945
8958
  ]),
8946
8959
  p.comments || p.attachments ? (f(), h("ul", Y9, [
8947
8960
  p.comments ? (f(), h("li", K9, [
8948
- E(ce, {
8961
+ I(ce, {
8949
8962
  name: "ChatOutline",
8950
8963
  size: "sm"
8951
8964
  }),
8952
8965
  v("span", G9, q(p.comments), 1)
8953
8966
  ])) : T("", !0),
8954
8967
  p.attachments ? (f(), h("li", x9, [
8955
- E(ce, {
8968
+ I(ce, {
8956
8969
  name: "AttachFileRounded",
8957
8970
  size: "sm"
8958
8971
  }),
@@ -8963,13 +8976,13 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8963
8976
  v("div", Q9, [
8964
8977
  p.tasks && p.tasks.length ? (f(), h("div", J9, [
8965
8978
  v("div", e4, [
8966
- E(ce, {
8979
+ I(ce, {
8967
8980
  name: "SelectCheckBox",
8968
8981
  size: "sm"
8969
8982
  }),
8970
8983
  v("span", t4, q(c.value) + " / " + q(r.value), 1)
8971
8984
  ]),
8972
- E(Z1, {
8985
+ I(Z1, {
8973
8986
  percentages: u.value,
8974
8987
  class: "ao-card-feed__progress"
8975
8988
  }, null, 8, ["percentages"])
@@ -9039,19 +9052,19 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9039
9052
  v("header", s4, [
9040
9053
  v("div", n4, [
9041
9054
  v("span", null, q(p.$t("project.milestone.title")), 1),
9042
- E(Ce, {
9055
+ I(Ce, {
9043
9056
  title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
9044
9057
  level: 5
9045
9058
  }, null, 8, ["title"])
9046
9059
  ]),
9047
- E(fe, {
9060
+ I(fe, {
9048
9061
  "icon-name": "CloseRounded",
9049
9062
  variant: "ghost",
9050
9063
  onClick: d
9051
9064
  })
9052
9065
  ]),
9053
9066
  v("div", i4, [
9054
- E(z(Qe), Ee({
9067
+ I(z(Qe), Ee({
9055
9068
  class: "ao-project-milestone__activities",
9056
9069
  list: l.value,
9057
9070
  disabled: !p.isEditable,
@@ -9061,7 +9074,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9061
9074
  item: U(({ element: A }) => {
9062
9075
  var _, $, y, L;
9063
9076
  return [
9064
- E(Ua, {
9077
+ I(Ua, {
9065
9078
  id: A.id,
9066
9079
  name: A.name || A.id,
9067
9080
  "phase-name": (_ = s.value) == null ? void 0 : _.name,
@@ -9085,7 +9098,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9085
9098
  p.isEditable ? {
9086
9099
  name: "secondary",
9087
9100
  fn: U(() => [
9088
- E(fe, {
9101
+ I(fe, {
9089
9102
  color: "primary",
9090
9103
  variant: "ghost",
9091
9104
  "icon-name": "ArchiveOutlineRounded",
@@ -9104,7 +9117,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9104
9117
  _: 1
9105
9118
  }, 16, ["list", "disabled"]),
9106
9119
  p.isEditable ? (f(), h("div", o4, [
9107
- E(Je, {
9120
+ I(Je, {
9108
9121
  "icon-name": "Add",
9109
9122
  label: p.$t("project.activity.add"),
9110
9123
  onClick: r
@@ -9207,7 +9220,7 @@ const l4 = /* @__PURE__ */ Y({
9207
9220
  },
9208
9221
  setup(t) {
9209
9222
  return (e, a) => (f(), h("header", r4, [
9210
- E(Ce, {
9223
+ I(Ce, {
9211
9224
  title: e.title,
9212
9225
  class: "ao-col-header__title",
9213
9226
  level: 4
@@ -9390,7 +9403,7 @@ const y4 = {
9390
9403
  ])
9391
9404
  ];
9392
9405
  }) : T("", !0),
9393
- E(z(Qe), Ee({
9406
+ I(z(Qe), Ee({
9394
9407
  class: ["ao-list-kanban__list", d.value ? "ao-list-kanban__transition" : void 0],
9395
9408
  list: r.list,
9396
9409
  "item-key": "id",
@@ -9410,7 +9423,7 @@ const y4 = {
9410
9423
  item: U(({ element: u }) => {
9411
9424
  var p, m, w, A, _, $, y, L;
9412
9425
  return [
9413
- E(Ua, {
9426
+ I(Ua, {
9414
9427
  id: u.id,
9415
9428
  name: u.name,
9416
9429
  "project-name": (p = u.project) == null ? void 0 : p.name,
@@ -9455,7 +9468,7 @@ const y4 = {
9455
9468
  }),
9456
9469
  footer: U(() => [
9457
9470
  r.isLoading ? (f(), h("div", w4, [
9458
- E(ce, { name: "Loading" })
9471
+ I(ce, { name: "Loading" })
9459
9472
  ])) : r.hasMore ? (f(), h("div", {
9460
9473
  key: 2,
9461
9474
  ref_key: "scrollEnd",
@@ -9505,11 +9518,11 @@ const S4 = { class: "ao-field ao-search-field" }, E4 = ["value", "placeholder",
9505
9518
  (...d) => z(s) && z(s)(...d)),
9506
9519
  onKeypress: Ye(n, ["enter"])
9507
9520
  }, null, 40, E4),
9508
- E(ce, {
9521
+ I(ce, {
9509
9522
  name: "SearchRounded",
9510
9523
  class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
9511
9524
  }, null, 8, ["class"]),
9512
- E(fe, {
9525
+ I(fe, {
9513
9526
  "icon-name": "CloseRounded",
9514
9527
  size: "sm",
9515
9528
  color: "primary",
@@ -9637,9 +9650,9 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9637
9650
  c.value = !1, e("clear:searchText", k);
9638
9651
  }, te = (k) => {
9639
9652
  i.value && e("addSubtask", k);
9640
- }, I = (k) => {
9653
+ }, E = (k) => {
9641
9654
  i.value && e("updateSubtask", k);
9642
- }, ee = (k) => {
9655
+ }, J = (k) => {
9643
9656
  i.value && e("deleteSubtask", k);
9644
9657
  }, g = (k) => {
9645
9658
  e("addFiles", k);
@@ -9694,7 +9707,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9694
9707
  return (k, K) => {
9695
9708
  var ie;
9696
9709
  return f(), h("div", D4, [
9697
- E(d1, null, {
9710
+ I(d1, null, {
9698
9711
  primary: U(() => [
9699
9712
  v("div", H4, [
9700
9713
  a.project ? (f(), N(Ra, {
@@ -9706,7 +9719,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9706
9719
  H && k.$router.push({ name: z(He).project });
9707
9720
  })
9708
9721
  }, null, 8, ["right-label", "left-label"])) : T("", !0),
9709
- E(I4, {
9722
+ I(I4, {
9710
9723
  "model-value": k.searchText,
9711
9724
  placeholder: k.$t("feed.search.placeholder"),
9712
9725
  class: "ao-feed__search",
@@ -9735,7 +9748,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9735
9748
  placeholder: k.$t("feed.filters.activityType.placeholder"),
9736
9749
  "onUpdate:modelValue": K[2] || (K[2] = (H) => m(z(dt).type, H))
9737
9750
  }, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
9738
- E(be, {
9751
+ I(be, {
9739
9752
  "model-value": k.filters[z(dt).assignee],
9740
9753
  mode: "tags",
9741
9754
  options: $.value,
@@ -9749,7 +9762,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9749
9762
  option: H,
9750
9763
  handleTagRemove: O
9751
9764
  }) => [
9752
- E(gt, {
9765
+ I(gt, {
9753
9766
  "user-name": H.label,
9754
9767
  "avatar-url": H.avatar,
9755
9768
  "is-closable": !0,
@@ -9759,7 +9772,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9759
9772
  _: 1
9760
9773
  }, 8, ["model-value", "options", "placeholder"])
9761
9774
  ]),
9762
- E(fe, {
9775
+ I(fe, {
9763
9776
  class: "ao-feed__show-archived",
9764
9777
  size: "sm",
9765
9778
  "icon-name": k.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -9805,8 +9818,8 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9805
9818
  onClose: K[6] || (K[6] = () => l(null)),
9806
9819
  "onUpdate:activity": y,
9807
9820
  onAddSubtask: te,
9808
- onUpdateSubtask: I,
9809
- onDeleteSubtask: ee,
9821
+ onUpdateSubtask: E,
9822
+ onDeleteSubtask: J,
9810
9823
  onAddFiles: g,
9811
9824
  onRemoveFile: S,
9812
9825
  onAddComment: P,
@@ -9819,7 +9832,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9819
9832
  v("div", B4, [
9820
9833
  re.value && !a.project ? (f(), h("label", N4, [
9821
9834
  v("span", R4, q(k.$t("activity.project.label")), 1),
9822
- E(be, {
9835
+ I(be, {
9823
9836
  options: re.value,
9824
9837
  value: (H = z(i).project) == null ? void 0 : H.id,
9825
9838
  searchable: !0,
@@ -9830,7 +9843,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9830
9843
  ])) : T("", !0),
9831
9844
  M.value ? (f(), h("label", U4, [
9832
9845
  v("span", j4, q(k.$t("activity.milestone.label")), 1),
9833
- E(be, {
9846
+ I(be, {
9834
9847
  options: M.value,
9835
9848
  value: (O = z(i).milestone) == null ? void 0 : O.id,
9836
9849
  searchable: !0,
@@ -9841,7 +9854,7 @@ const D4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, P4 = { clas
9841
9854
  ])) : T("", !0),
9842
9855
  ae.value ? (f(), h("label", Z4, [
9843
9856
  v("span", F4, q(k.$t("activity.status.label")), 1),
9844
- E(be, {
9857
+ I(be, {
9845
9858
  options: ae.value,
9846
9859
  value: (R = z(i).status) == null ? void 0 : R.id,
9847
9860
  "can-clear": !1,
@@ -9988,9 +10001,9 @@ const ft = {
9988
10001
  }
9989
10002
  };
9990
10003
  return (l, d) => (f(), h("div", K4, [
9991
- E(d1, null, {
10004
+ I(d1, null, {
9992
10005
  secondary: U(() => [
9993
- E(fe, {
10006
+ I(fe, {
9994
10007
  label: l.$t("templates.new"),
9995
10008
  color: "primary",
9996
10009
  "icon-name": "Add",
@@ -10000,7 +10013,7 @@ const ft = {
10000
10013
  ]),
10001
10014
  _: 1
10002
10015
  }),
10003
- E(z(Qe), {
10016
+ I(z(Qe), {
10004
10017
  "model-value": l.templates,
10005
10018
  class: "ao-templates__list",
10006
10019
  "item-key": "id",
@@ -10010,7 +10023,7 @@ const ft = {
10010
10023
  item: U(({ element: r }) => {
10011
10024
  var c;
10012
10025
  return [
10013
- E(P0, {
10026
+ I(P0, {
10014
10027
  id: r.id,
10015
10028
  title: r.name,
10016
10029
  phases: r.phases,