@26lights/orcha 0.7.30 → 0.7.31

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 K, openBlock as u, createBlock as N, unref as O, mergeProps as Ee, createElementBlock as C, createElementVNode as r, pushScopeId as Nt, popScopeId as jt, createStaticVNode as Rt, computed as f, resolveDynamicComponent as ze, normalizeClass as F, renderSlot as Y, toDisplayString as j, createCommentVNode as w, ref as x, watch as de, nextTick as He, withKeys as a1, toHandlers as Ut, withCtx as R, createTextVNode as Z1, createVNode as b, Fragment as le, renderList as pe, withModifiers as ke, toRefs as ge, getCurrentInstance as Oe, onMounted as m1, onUnmounted as qt, withDirectives as Ue, vModelText as l1, vModelCheckbox as zt, toRef as xe, Teleport as C1, normalizeStyle as Ft, resolveComponent as Kt, toValue as x1, getCurrentScope as Gt, onScopeDispose as Yt, provide as Wt } from "vue";
1
+ import { defineComponent as K, openBlock as u, createBlock as N, unref as O, mergeProps as Ee, createElementBlock as C, createElementVNode as r, pushScopeId as Nt, popScopeId as jt, createStaticVNode as Rt, computed as f, resolveDynamicComponent as ze, normalizeClass as F, renderSlot as Y, toDisplayString as j, createCommentVNode as w, ref as Q, watch as de, nextTick as He, withKeys as a1, toHandlers as Ut, withCtx as R, createTextVNode as Z1, createVNode as b, Fragment as ae, renderList as pe, withModifiers as Ie, toRefs as fe, getCurrentInstance as Oe, onMounted as m1, onUnmounted as qt, withDirectives as Ue, vModelText as l1, vModelCheckbox as zt, toRef as xe, Teleport as C1, normalizeStyle as Ft, resolveComponent as Kt, toValue as x1, getCurrentScope as Gt, onScopeDispose as Yt, provide as Wt } from "vue";
2
2
  import { RouterView as Xt } from "vue-router";
3
3
  import n1 from "vuedraggable";
4
4
  const Nu = /* @__PURE__ */ K({
@@ -89,7 +89,7 @@ const ys = /* @__PURE__ */ L(_s, [["render", gs]]), bs = {}, $s = {
89
89
  function As(s, e) {
90
90
  return u(), C("svg", $s, Ms);
91
91
  }
92
- const ks = /* @__PURE__ */ L(bs, [["render", As]]), Is = {}, Ss = {
92
+ const Is = /* @__PURE__ */ L(bs, [["render", As]]), ks = {}, Ss = {
93
93
  width: "24",
94
94
  height: "24",
95
95
  viewBox: "0 0 24 24",
@@ -104,7 +104,7 @@ const ks = /* @__PURE__ */ L(bs, [["render", As]]), Is = {}, Ss = {
104
104
  function Ts(s, e) {
105
105
  return u(), C("svg", Ss, Ls);
106
106
  }
107
- const Es = /* @__PURE__ */ L(Is, [["render", Ts]]), Hs = {}, Os = {
107
+ const Es = /* @__PURE__ */ L(ks, [["render", Ts]]), Hs = {}, Os = {
108
108
  width: "24",
109
109
  height: "24",
110
110
  viewBox: "0 0 24 24",
@@ -224,7 +224,7 @@ const ya = /* @__PURE__ */ L(_a, [["render", ga]]), ba = {}, $a = {
224
224
  function Aa(s, e) {
225
225
  return u(), C("svg", $a, Ma);
226
226
  }
227
- const ka = /* @__PURE__ */ L(ba, [["render", Aa]]), Ia = {}, Sa = {
227
+ const Ia = /* @__PURE__ */ L(ba, [["render", Aa]]), ka = {}, Sa = {
228
228
  width: "24",
229
229
  height: "24",
230
230
  viewBox: "0 0 24 24",
@@ -239,7 +239,7 @@ const ka = /* @__PURE__ */ L(ba, [["render", Aa]]), Ia = {}, Sa = {
239
239
  function Ta(s, e) {
240
240
  return u(), C("svg", Sa, La);
241
241
  }
242
- const Ea = /* @__PURE__ */ L(Ia, [["render", Ta]]), Ha = {}, Oa = {
242
+ const Ea = /* @__PURE__ */ L(ka, [["render", Ta]]), Ha = {}, Oa = {
243
243
  width: "24",
244
244
  height: "24",
245
245
  viewBox: "0 0 24 24",
@@ -359,7 +359,7 @@ const yl = /* @__PURE__ */ L(_l, [["render", gl]]), bl = {}, $l = {
359
359
  function Al(s, e) {
360
360
  return u(), C("svg", $l, Ml);
361
361
  }
362
- const kl = /* @__PURE__ */ L(bl, [["render", Al]]), Il = {}, Sl = {
362
+ const Il = /* @__PURE__ */ L(bl, [["render", Al]]), kl = {}, Sl = {
363
363
  width: "24",
364
364
  height: "24",
365
365
  viewBox: "0 0 24 24",
@@ -374,7 +374,7 @@ const kl = /* @__PURE__ */ L(bl, [["render", Al]]), Il = {}, Sl = {
374
374
  function Tl(s, e) {
375
375
  return u(), C("svg", Sl, Ll);
376
376
  }
377
- const El = /* @__PURE__ */ L(Il, [["render", Tl]]), Hl = {}, Ol = {
377
+ const El = /* @__PURE__ */ L(kl, [["render", Tl]]), Hl = {}, Ol = {
378
378
  width: "24",
379
379
  height: "24",
380
380
  viewBox: "0 0 24 24",
@@ -491,10 +491,10 @@ const bn = /* @__PURE__ */ L(mn, [["render", yn]]), $n = {}, wn = {
491
491
  }, null, -1), An = [
492
492
  Mn
493
493
  ];
494
- function kn(s, e) {
494
+ function In(s, e) {
495
495
  return u(), C("svg", wn, An);
496
496
  }
497
- const In = /* @__PURE__ */ L($n, [["render", kn]]), Sn = {}, Vn = {
497
+ const kn = /* @__PURE__ */ L($n, [["render", In]]), Sn = {}, Vn = {
498
498
  width: "24",
499
499
  height: "24",
500
500
  viewBox: "0 0 24 24",
@@ -637,14 +637,14 @@ const wi = /* @__PURE__ */ L(mi, [["render", $i], ["__scopeId", "data-v-ad6da4a9
637
637
  viewBox: "0 0 24 24",
638
638
  fill: "none",
639
639
  xmlns: "http://www.w3.org/2000/svg"
640
- }, ki = /* @__PURE__ */ r("path", {
640
+ }, Ii = /* @__PURE__ */ r("path", {
641
641
  d: "M15.325 16.275C15.1417 16.0583 15.05 15.8127 15.05 15.538C15.05 15.2633 15.1417 15.034 15.325 14.85L17.175 13H10C9.71667 13 9.479 12.904 9.287 12.712C9.095 12.52 8.99934 12.2827 9 12C9 11.7167 9.096 11.479 9.288 11.287C9.48 11.095 9.71734 10.9993 10 11H17.175L15.325 9.15C15.125 8.95 15.025 8.71234 15.025 8.437C15.025 8.16167 15.125 7.92434 15.325 7.725C15.5083 7.525 15.7377 7.425 16.013 7.425C16.2883 7.425 16.5173 7.51667 16.7 7.7L20.3 11.3C20.4 11.4 20.471 11.5083 20.513 11.625C20.555 11.7417 20.5757 11.8667 20.575 12C20.575 12.1333 20.5543 12.2583 20.513 12.375C20.4717 12.4917 20.4007 12.6 20.3 12.7L16.7 16.3C16.4833 16.5167 16.2457 16.6127 15.987 16.588C15.7283 16.5633 15.5077 16.459 15.325 16.275ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H11C11.2833 3 11.521 3.096 11.713 3.288C11.905 3.48 12.0007 3.71734 12 4C12 4.28334 11.904 4.521 11.712 4.713C11.52 4.905 11.2827 5.00067 11 5H5V19H11C11.2833 19 11.521 19.096 11.713 19.288C11.905 19.48 12.0007 19.7173 12 20C12 20.2833 11.904 20.521 11.712 20.713C11.52 20.905 11.2827 21.0007 11 21H5Z",
642
642
  fill: "black"
643
- }, null, -1), Ii = [
644
- ki
643
+ }, null, -1), ki = [
644
+ Ii
645
645
  ];
646
646
  function Si(s, e) {
647
- return u(), C("svg", Ai, Ii);
647
+ return u(), C("svg", Ai, ki);
648
648
  }
649
649
  const Vi = /* @__PURE__ */ L(Mi, [["render", Si]]), Li = {}, Ti = {
650
650
  width: "24",
@@ -766,20 +766,20 @@ const fo = /* @__PURE__ */ L(vo, [["render", ho]]), go = {}, yo = {
766
766
  function wo(s, e) {
767
767
  return u(), C("svg", yo, $o);
768
768
  }
769
- const Mo = /* @__PURE__ */ L(go, [["render", wo]]), Ao = {}, ko = {
769
+ const Mo = /* @__PURE__ */ L(go, [["render", wo]]), Ao = {}, Io = {
770
770
  width: "24",
771
771
  height: "24",
772
772
  viewBox: "0 0 24 24",
773
773
  fill: "none",
774
774
  xmlns: "http://www.w3.org/2000/svg"
775
- }, Io = /* @__PURE__ */ r("path", {
775
+ }, ko = /* @__PURE__ */ r("path", {
776
776
  d: "M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",
777
777
  fill: "black"
778
778
  }, null, -1), So = [
779
- Io
779
+ ko
780
780
  ];
781
781
  function Vo(s, e) {
782
- return u(), C("svg", ko, So);
782
+ return u(), C("svg", Io, So);
783
783
  }
784
784
  const Lo = /* @__PURE__ */ L(Ao, [["render", Vo]]), To = {}, Eo = {
785
785
  width: "24",
@@ -898,20 +898,20 @@ const f2 = /* @__PURE__ */ L(v2, [["render", h2]]), g2 = {}, y2 = {
898
898
  function w2(s, e) {
899
899
  return u(), C("svg", y2, $2);
900
900
  }
901
- const M2 = /* @__PURE__ */ L(g2, [["render", w2]]), A2 = {}, k2 = {
901
+ const M2 = /* @__PURE__ */ L(g2, [["render", w2]]), A2 = {}, I2 = {
902
902
  width: "24",
903
903
  height: "24",
904
904
  viewBox: "0 0 24 24",
905
905
  fill: "none",
906
906
  xmlns: "http://www.w3.org/2000/svg"
907
- }, I2 = /* @__PURE__ */ r("path", {
907
+ }, k2 = /* @__PURE__ */ r("path", {
908
908
  d: "M10.925 15.125L9.525 13.725C9.425 13.625 9.31667 13.55 9.2 13.5C9.08334 13.45 8.96267 13.425 8.838 13.425C8.71267 13.425 8.58767 13.45 8.463 13.5C8.33834 13.55 8.22567 13.625 8.125 13.725C7.925 13.925 7.825 14.1627 7.825 14.438C7.825 14.7133 7.925 14.9507 8.125 15.15L10.25 17.3C10.35 17.4 10.4583 17.471 10.575 17.513C10.6917 17.555 10.8167 17.5757 10.95 17.575C11.0833 17.575 11.2083 17.554 11.325 17.512C11.4417 17.47 11.55 17.3993 11.65 17.3L15.875 13.075C16.075 12.875 16.175 12.6333 16.175 12.35C16.175 12.0667 16.075 11.825 15.875 11.625C15.675 11.425 15.4333 11.325 15.15 11.325C14.8667 11.325 14.625 11.425 14.425 11.625L10.925 15.125ZM6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V20C20 20.55 19.804 21.021 19.412 21.413C19.02 21.805 18.5493 22.0007 18 22H6ZM13 8V4H6V20H18V9H14C13.7167 9 13.479 8.904 13.287 8.712C13.095 8.52 12.9993 8.28267 13 8Z",
909
909
  fill: "black"
910
910
  }, null, -1), S2 = [
911
- I2
911
+ k2
912
912
  ];
913
913
  function V2(s, e) {
914
- return u(), C("svg", k2, S2);
914
+ return u(), C("svg", I2, S2);
915
915
  }
916
916
  const L2 = /* @__PURE__ */ L(A2, [["render", V2]]), T2 = {}, E2 = {
917
917
  width: "24",
@@ -1039,7 +1039,7 @@ const Mr = /* @__PURE__ */ L(gr, [["render", wr]]), Ar = /* @__PURE__ */ Object.
1039
1039
  AccountCircle: rs,
1040
1040
  AccountTreeOutlineRounded: Cs,
1041
1041
  AccountTreeRounded: ys,
1042
- Add: ks,
1042
+ Add: Is,
1043
1043
  AddBoxOutlineRounded: Es,
1044
1044
  ArchiveOutlineRounded: Ps,
1045
1045
  ArrowBackRounded: zs,
@@ -1048,7 +1048,7 @@ const Mr = /* @__PURE__ */ L(gr, [["render", wr]]), Ar = /* @__PURE__ */ Object.
1048
1048
  AssignmentOutlineRounded: ra,
1049
1049
  AttachFileRounded: Ca,
1050
1050
  CalendarTodayOutlineRounded: ya,
1051
- ChatOutline: ka,
1051
+ ChatOutline: Ia,
1052
1052
  CheckBoxOutlineBlank: Ea,
1053
1053
  CheckBoxOutlineBlankSharp: Pa,
1054
1054
  CheckBoxOutlineRounded: za,
@@ -1057,7 +1057,7 @@ const Mr = /* @__PURE__ */ L(gr, [["render", wr]]), Ar = /* @__PURE__ */ Object.
1057
1057
  ChevronLeft: rl,
1058
1058
  ChevronRight: Cl,
1059
1059
  CloseRounded: yl,
1060
- ContactsOutlineRounded: kl,
1060
+ ContactsOutlineRounded: Il,
1061
1061
  ContentCopyOutline: El,
1062
1062
  DeleteOutlineRounded: Pl,
1063
1063
  DragIndicator: zl,
@@ -1066,7 +1066,7 @@ const Mr = /* @__PURE__ */ L(gr, [["render", wr]]), Ar = /* @__PURE__ */ Object.
1066
1066
  ErrorOutlineRounded: un,
1067
1067
  FilterListRounded: _n,
1068
1068
  FlagRounded: bn,
1069
- FlowsheetOutlineRounded: In,
1069
+ FlowsheetOutlineRounded: kn,
1070
1070
  GifBox: Hn,
1071
1071
  GroupsOutline: Nn,
1072
1072
  HomeOutlineRounded: Fn,
@@ -1102,7 +1102,7 @@ const Mr = /* @__PURE__ */ L(gr, [["render", wr]]), Ar = /* @__PURE__ */ Object.
1102
1102
  WarningOutlineRounded: pr,
1103
1103
  WarningRounded: fr,
1104
1104
  WaterfallChartRounded: Mr
1105
- }, Symbol.toStringTag, { value: "Module" })), kr = {
1105
+ }, Symbol.toStringTag, { value: "Module" })), Ir = {
1106
1106
  SOLID: "solid",
1107
1107
  GHOST: "ghost",
1108
1108
  OUTLINE: "outline"
@@ -1111,14 +1111,14 @@ const Mr = /* @__PURE__ */ L(gr, [["render", wr]]), Ar = /* @__PURE__ */ Object.
1111
1111
  MD: "md",
1112
1112
  LG: "lg",
1113
1113
  XL: "xl"
1114
- }, Ir = {
1114
+ }, kr = {
1115
1115
  PRIMARY: "primary",
1116
1116
  NEUTRAL: "neutral",
1117
1117
  BLACK: "black"
1118
1118
  }, it = {
1119
1119
  ROUND: "round",
1120
1120
  ROUNDED: "rounded"
1121
- }, ne = /* @__PURE__ */ K({
1121
+ }, le = /* @__PURE__ */ K({
1122
1122
  __name: "AoIcon",
1123
1123
  props: {
1124
1124
  name: {},
@@ -1138,7 +1138,7 @@ const Sr = ["type"], Vr = {
1138
1138
  __name: "AoButton",
1139
1139
  props: {
1140
1140
  label: { default: () => "" },
1141
- variant: { default: () => kr.SOLID },
1141
+ variant: { default: () => Ir.SOLID },
1142
1142
  iconName: {},
1143
1143
  iconPosition: {},
1144
1144
  type: { default: () => "button" },
@@ -1166,7 +1166,7 @@ const Sr = ["type"], Vr = {
1166
1166
  Y(a.$slots, "default", {}, () => [
1167
1167
  a.label ? (u(), C("span", Vr, j(a.label), 1)) : w("", !0)
1168
1168
  ]),
1169
- n.value ? (u(), N(ne, {
1169
+ n.value ? (u(), N(le, {
1170
1170
  key: 0,
1171
1171
  name: n.value,
1172
1172
  class: "ao-button__icon",
@@ -1176,23 +1176,23 @@ const Sr = ["type"], Vr = {
1176
1176
  }
1177
1177
  });
1178
1178
  function ot(s) {
1179
- const e = x(!1), t = x(""), n = f(() => "value" in s.value ? "value" : "innerHTML"), a = () => {
1179
+ const e = Q(!1), t = Q(""), n = f(() => "value" in s.value ? "value" : "innerHTML"), a = () => {
1180
1180
  e.value = !e.value;
1181
- }, i = (d) => {
1182
- e.value = d;
1183
- }, l = (d) => async () => {
1181
+ }, i = (c) => {
1182
+ e.value = c;
1183
+ }, l = (c) => async () => {
1184
1184
  i(!1), await He(() => {
1185
- s.value[n.value] = t.value, d == null || d();
1185
+ s.value[n.value] = t.value, c == null || c();
1186
1186
  });
1187
- }, o = (d) => async (c) => {
1187
+ }, o = (c) => async (d) => {
1188
1188
  i(!1), await He(() => {
1189
- d(s.value[n.value], c);
1189
+ c(s.value[n.value], d);
1190
1190
  });
1191
1191
  };
1192
- return de(e, async (d) => {
1192
+ return de(e, async (c) => {
1193
1193
  await He(() => {
1194
1194
  setTimeout(() => {
1195
- s.value && d && (s.value.focus(), t.value = s.value[n.value]);
1195
+ s.value && c && (s.value.focus(), t.value = s.value[n.value]);
1196
1196
  }, 1);
1197
1197
  });
1198
1198
  }), {
@@ -1214,15 +1214,15 @@ const ce = /* @__PURE__ */ K({
1214
1214
  },
1215
1215
  emits: ["update:title", "toggle-is-editing"],
1216
1216
  setup(s, { emit: e }) {
1217
- const t = s, n = x(null), { isEditing: a, setIsEditing: i, onUpdate: l, onDiscard: o } = ot(n), d = f(() => a.value ? "input" : t.tag || `h${t.level}`), c = f(() => t.isEditable ? a.value ? {
1217
+ const t = s, n = Q(null), { isEditing: a, setIsEditing: i, onUpdate: l, onDiscard: o } = ot(n), c = f(() => a.value ? "input" : t.tag || `h${t.level}`), d = f(() => t.isEditable ? a.value ? {
1218
1218
  change: p,
1219
1219
  click: (E) => E.stopPropagation(),
1220
1220
  blur: m
1221
1221
  } : {
1222
1222
  click: V,
1223
1223
  focus: V
1224
- } : {}), p = l((E, k) => {
1225
- const y = k.target.value;
1224
+ } : {}), p = l((E, I) => {
1225
+ const y = I.target.value;
1226
1226
  e("update:title", y);
1227
1227
  }), _ = o(), m = async () => {
1228
1228
  a.value && i(!1);
@@ -1236,7 +1236,7 @@ const ce = /* @__PURE__ */ K({
1236
1236
  (E) => {
1237
1237
  E || _();
1238
1238
  }
1239
- ), (E, k) => (u(), N(ze(d.value), Ee({
1239
+ ), (E, I) => (u(), N(ze(c.value), Ee({
1240
1240
  ref_key: "target",
1241
1241
  ref: n,
1242
1242
  class: [
@@ -1253,7 +1253,7 @@ const ce = /* @__PURE__ */ K({
1253
1253
  value: O(a) ? E.title : null,
1254
1254
  tabindex: "0",
1255
1255
  onKeyup: a1($, ["enter"])
1256
- }, Ut(c.value), {
1256
+ }, Ut(d.value), {
1257
1257
  onKeydown: a1(O(_), ["esc"])
1258
1258
  }), {
1259
1259
  default: R(() => [
@@ -1305,14 +1305,14 @@ const Lr = {
1305
1305
  }, {
1306
1306
  default: R(() => [
1307
1307
  n.isDraggable ? (u(), C("div", Lr, [
1308
- b(ne, {
1308
+ b(le, {
1309
1309
  name: "DragIndicator",
1310
1310
  class: "ao-card-horiz__drag-handle"
1311
1311
  })
1312
1312
  ])) : w("", !0),
1313
1313
  r("div", Tr, [
1314
1314
  n.icon ? (u(), C("div", Er, [
1315
- b(ne, {
1315
+ b(le, {
1316
1316
  class: "ao-card-horiz__icon",
1317
1317
  name: n.icon,
1318
1318
  size: "xl"
@@ -1384,7 +1384,7 @@ const f1 = /* @__PURE__ */ K({
1384
1384
  class: "ao-tag__close",
1385
1385
  onClick: i[1] || (i[1] = (l) => a.$emit("close", l))
1386
1386
  }, [
1387
- b(ne, {
1387
+ b(le, {
1388
1388
  name: "CloseRounded",
1389
1389
  size: "sm",
1390
1390
  class: "ao-tag__close-icon"
@@ -1393,7 +1393,7 @@ const f1 = /* @__PURE__ */ K({
1393
1393
  ], 2));
1394
1394
  }
1395
1395
  });
1396
- var $e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, be = {}, ut = {}, Je = {}, i1 = {}, Fe = {}, g1 = {};
1396
+ var be = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ye = {}, ut = {}, Je = {}, i1 = {}, Fe = {}, g1 = {};
1397
1397
  Object.defineProperty(g1, "__esModule", { value: !0 });
1398
1398
  g1.lexoHelper = void 0;
1399
1399
  g1.lexoHelper = {
@@ -1468,8 +1468,8 @@ class z {
1468
1468
  const a = Math.max(t.length, n.length), i = new Array(a).fill(0);
1469
1469
  let l = 0;
1470
1470
  for (let o = 0; o < a; ++o) {
1471
- const d = o < t.length ? t[o] : 0, c = o < n.length ? n[o] : 0;
1472
- let p = d + c + l;
1471
+ const c = o < t.length ? t[o] : 0, d = o < n.length ? n[o] : 0;
1472
+ let p = c + d + l;
1473
1473
  for (l = 0; p >= e.getBase(); p -= e.getBase())
1474
1474
  ++l;
1475
1475
  i[o] = p;
@@ -1636,34 +1636,34 @@ z.POSITIVE_SIGN = 1;
1636
1636
  Object.defineProperty(i1, "__esModule", { value: !0 });
1637
1637
  i1.LexoDecimal = void 0;
1638
1638
  const Qe = Fe, Ur = o1;
1639
- class ye {
1639
+ class ge {
1640
1640
  constructor(e, t) {
1641
1641
  this.mag = e, this.sig = t;
1642
1642
  }
1643
1643
  static half(e) {
1644
1644
  const t = e.getBase() / 2 | 0;
1645
- return ye.make(Qe.LexoInteger.make(e, 1, [t]), 1);
1645
+ return ge.make(Qe.LexoInteger.make(e, 1, [t]), 1);
1646
1646
  }
1647
1647
  static parse(e, t) {
1648
1648
  const n = e.indexOf(t.getRadixPointChar());
1649
1649
  if (e.lastIndexOf(t.getRadixPointChar()) !== n)
1650
1650
  throw new Error("More than one " + t.getRadixPointChar());
1651
1651
  if (n < 0)
1652
- return ye.make(Qe.LexoInteger.parse(e, t), 0);
1652
+ return ge.make(Qe.LexoInteger.parse(e, t), 0);
1653
1653
  const a = e.substring(0, n) + e.substring(n + 1);
1654
- return ye.make(Qe.LexoInteger.parse(a, t), e.length - 1 - n);
1654
+ return ge.make(Qe.LexoInteger.parse(a, t), e.length - 1 - n);
1655
1655
  }
1656
1656
  static from(e) {
1657
- return ye.make(e, 0);
1657
+ return ge.make(e, 0);
1658
1658
  }
1659
1659
  static make(e, t) {
1660
1660
  if (e.isZero())
1661
- return new ye(e, 0);
1661
+ return new ge(e, 0);
1662
1662
  let n = 0;
1663
1663
  for (let l = 0; l < t && e.getMag(l) === 0; ++l)
1664
1664
  ++n;
1665
1665
  const a = e.shiftRight(n), i = t - n;
1666
- return new ye(a, i);
1666
+ return new ge(a, i);
1667
1667
  }
1668
1668
  getSystem() {
1669
1669
  return this.mag.getSystem();
@@ -1674,7 +1674,7 @@ class ye {
1674
1674
  t = t.shiftLeft();
1675
1675
  for (; n > i; )
1676
1676
  a = a.shiftLeft(), ++i;
1677
- return ye.make(t.add(a), n);
1677
+ return ge.make(t.add(a), n);
1678
1678
  }
1679
1679
  subtract(e) {
1680
1680
  let t = this.mag, n = this.sig, a = e.mag, i;
@@ -1682,10 +1682,10 @@ class ye {
1682
1682
  t = t.shiftLeft();
1683
1683
  for (; n > i; )
1684
1684
  a = a.shiftLeft(), ++i;
1685
- return ye.make(t.subtract(a), n);
1685
+ return ge.make(t.subtract(a), n);
1686
1686
  }
1687
1687
  multiply(e) {
1688
- return ye.make(this.mag.multiply(e.mag), this.sig + e.sig);
1688
+ return ge.make(this.mag.multiply(e.mag), this.sig + e.sig);
1689
1689
  }
1690
1690
  floor() {
1691
1691
  return this.mag.shiftRight(this.sig);
@@ -1713,7 +1713,7 @@ class ye {
1713
1713
  e < 0 && (e = 0);
1714
1714
  const n = this.sig - e;
1715
1715
  let a = this.mag.shiftRight(n);
1716
- return t && (a = a.add(Qe.LexoInteger.one(a.getSystem()))), ye.make(a, e);
1716
+ return t && (a = a.add(Qe.LexoInteger.one(a.getSystem()))), ge.make(a, e);
1717
1717
  }
1718
1718
  compareTo(e) {
1719
1719
  if (this === e)
@@ -1739,7 +1739,7 @@ class ye {
1739
1739
  return this.format();
1740
1740
  }
1741
1741
  }
1742
- i1.LexoDecimal = ye;
1742
+ i1.LexoDecimal = ge;
1743
1743
  var v1 = {}, et;
1744
1744
  function ct() {
1745
1745
  if (et)
@@ -1767,19 +1767,19 @@ function ct() {
1767
1767
  }
1768
1768
  static from(a) {
1769
1769
  const i = s.LexoInteger.parse(a, e.LexoRank.NUMERAL_SYSTEM), l = t.VALUES, o = l.length;
1770
- for (let d = 0; d < o; ++d) {
1771
- const c = l[d];
1772
- if (c.value.equals(i))
1773
- return c;
1770
+ for (let c = 0; c < o; ++c) {
1771
+ const d = l[c];
1772
+ if (d.value.equals(i))
1773
+ return d;
1774
1774
  }
1775
1775
  throw new Error("Unknown bucket: " + a);
1776
1776
  }
1777
1777
  static resolve(a) {
1778
1778
  const i = t.VALUES, l = i.length;
1779
1779
  for (let o = 0; o < l; ++o) {
1780
- const d = i[o];
1781
- if (d.equals(t.from(a.toString())))
1782
- return d;
1780
+ const c = i[o];
1781
+ if (c.equals(t.from(a.toString())))
1782
+ return c;
1783
1783
  }
1784
1784
  throw new Error("No bucket found with id " + a);
1785
1785
  }
@@ -1895,7 +1895,7 @@ class Fr {
1895
1895
  }
1896
1896
  $1.LexoNumeralSystem64 = Fr;
1897
1897
  (function(s) {
1898
- var e = $e && $e.__createBinding || (Object.create ? function(n, a, i, l) {
1898
+ var e = be && be.__createBinding || (Object.create ? function(n, a, i, l) {
1899
1899
  l === void 0 && (l = i);
1900
1900
  var o = Object.getOwnPropertyDescriptor(a, i);
1901
1901
  (!o || ("get" in o ? !a.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: function() {
@@ -1903,7 +1903,7 @@ $1.LexoNumeralSystem64 = Fr;
1903
1903
  } }), Object.defineProperty(n, l, o);
1904
1904
  } : function(n, a, i, l) {
1905
1905
  l === void 0 && (l = i), n[l] = a[i];
1906
- }), t = $e && $e.__exportStar || function(n, a) {
1906
+ }), t = be && be.__exportStar || function(n, a) {
1907
1907
  for (var i in n)
1908
1908
  i !== "default" && !Object.prototype.hasOwnProperty.call(a, i) && e(a, n, i);
1909
1909
  };
@@ -1962,27 +1962,27 @@ function pt() {
1962
1962
  static between(l, o) {
1963
1963
  if (l.getSystem().getBase() !== o.getSystem().getBase())
1964
1964
  throw new Error("Expected same system");
1965
- let d = l, c = o, p;
1965
+ let c = l, d = o, p;
1966
1966
  if (l.getScale() < o.getScale()) {
1967
1967
  if (p = o.setScale(l.getScale(), !1), l.compareTo(p) >= 0)
1968
1968
  return a.mid(l, o);
1969
- c = p;
1969
+ d = p;
1970
1970
  }
1971
- if (l.getScale() > c.getScale()) {
1972
- if (p = l.setScale(c.getScale(), !0), p.compareTo(c) >= 0)
1971
+ if (l.getScale() > d.getScale()) {
1972
+ if (p = l.setScale(d.getScale(), !0), p.compareTo(d) >= 0)
1973
1973
  return a.mid(l, o);
1974
- d = p;
1974
+ c = p;
1975
1975
  }
1976
1976
  let _;
1977
- for (let V = d.getScale(); V > 0; c = _) {
1978
- const E = V - 1, k = d.setScale(E, !0);
1979
- if (_ = c.setScale(E, !1), k.compareTo(_) === 0)
1980
- return a.checkMid(l, o, k);
1981
- if (k.compareTo(_) > 0)
1977
+ for (let V = c.getScale(); V > 0; d = _) {
1978
+ const E = V - 1, I = c.setScale(E, !0);
1979
+ if (_ = d.setScale(E, !1), I.compareTo(_) === 0)
1980
+ return a.checkMid(l, o, I);
1981
+ if (I.compareTo(_) > 0)
1982
1982
  break;
1983
- V = E, d = k;
1983
+ V = E, c = I;
1984
1984
  }
1985
- let m = a.middleInternal(l, o, d, c), $;
1985
+ let m = a.middleInternal(l, o, c, d), $;
1986
1986
  for (let V = m.getScale(); V > 0; V = $) {
1987
1987
  $ = V - 1;
1988
1988
  const E = m.setScale($);
@@ -1993,56 +1993,56 @@ function pt() {
1993
1993
  return m;
1994
1994
  }
1995
1995
  static parse(l) {
1996
- const o = l.split("|"), d = e.default.from(o[0]), c = s.LexoDecimal.parse(o[1], a.NUMERAL_SYSTEM);
1997
- return new a(d, c);
1996
+ const o = l.split("|"), c = e.default.from(o[0]), d = s.LexoDecimal.parse(o[1], a.NUMERAL_SYSTEM);
1997
+ return new a(c, d);
1998
1998
  }
1999
1999
  static from(l, o) {
2000
2000
  if (o.getSystem().getBase() !== a.NUMERAL_SYSTEM.getBase())
2001
2001
  throw new Error("Expected different system");
2002
2002
  return new a(l, o);
2003
2003
  }
2004
- static middleInternal(l, o, d, c) {
2005
- const p = a.mid(d, c);
2004
+ static middleInternal(l, o, c, d) {
2005
+ const p = a.mid(c, d);
2006
2006
  return a.checkMid(l, o, p);
2007
2007
  }
2008
- static checkMid(l, o, d) {
2009
- return l.compareTo(d) >= 0 || d.compareTo(o) >= 0 ? a.mid(l, o) : d;
2008
+ static checkMid(l, o, c) {
2009
+ return l.compareTo(c) >= 0 || c.compareTo(o) >= 0 ? a.mid(l, o) : c;
2010
2010
  }
2011
2011
  static mid(l, o) {
2012
- const c = l.add(o).multiply(s.LexoDecimal.half(l.getSystem())), p = l.getScale() > o.getScale() ? l.getScale() : o.getScale();
2013
- if (c.getScale() > p) {
2014
- const _ = c.setScale(p, !1);
2012
+ const d = l.add(o).multiply(s.LexoDecimal.half(l.getSystem())), p = l.getScale() > o.getScale() ? l.getScale() : o.getScale();
2013
+ if (d.getScale() > p) {
2014
+ const _ = d.setScale(p, !1);
2015
2015
  if (_.compareTo(l) > 0)
2016
2016
  return _;
2017
- const m = c.setScale(p, !0);
2017
+ const m = d.setScale(p, !0);
2018
2018
  if (m.compareTo(o) < 0)
2019
2019
  return m;
2020
2020
  }
2021
- return c;
2021
+ return d;
2022
2022
  }
2023
2023
  static formatDecimal(l) {
2024
- const o = l.format(), d = new t.default(o);
2025
- let c = o.indexOf(a.NUMERAL_SYSTEM.getRadixPointChar());
2024
+ const o = l.format(), c = new t.default(o);
2025
+ let d = o.indexOf(a.NUMERAL_SYSTEM.getRadixPointChar());
2026
2026
  const p = a.NUMERAL_SYSTEM.toChar(0);
2027
- for (c < 0 && (c = o.length, d.append(a.NUMERAL_SYSTEM.getRadixPointChar())); c < 6; )
2028
- d.insert(0, p), ++c;
2029
- for (; d[d.length - 1] === p; )
2030
- d.length = d.length - 1;
2031
- return d.toString();
2027
+ for (d < 0 && (d = o.length, c.append(a.NUMERAL_SYSTEM.getRadixPointChar())); d < 6; )
2028
+ c.insert(0, p), ++d;
2029
+ for (; c[c.length - 1] === p; )
2030
+ c.length = c.length - 1;
2031
+ return c.toString();
2032
2032
  }
2033
2033
  genPrev() {
2034
2034
  if (this.isMax())
2035
2035
  return new a(this.bucket, a.INITIAL_MAX_DECIMAL);
2036
2036
  const l = this.decimal.floor();
2037
- let d = s.LexoDecimal.from(l).subtract(a.EIGHT_DECIMAL);
2038
- return d.compareTo(a.MIN_DECIMAL) <= 0 && (d = a.between(a.MIN_DECIMAL, this.decimal)), new a(this.bucket, d);
2037
+ let c = s.LexoDecimal.from(l).subtract(a.EIGHT_DECIMAL);
2038
+ return c.compareTo(a.MIN_DECIMAL) <= 0 && (c = a.between(a.MIN_DECIMAL, this.decimal)), new a(this.bucket, c);
2039
2039
  }
2040
2040
  genNext() {
2041
2041
  if (this.isMin())
2042
2042
  return new a(this.bucket, a.INITIAL_MIN_DECIMAL);
2043
2043
  const l = this.decimal.ceil();
2044
- let d = s.LexoDecimal.from(l).add(a.EIGHT_DECIMAL);
2045
- return d.compareTo(a.MAX_DECIMAL) >= 0 && (d = a.between(this.decimal, a.MAX_DECIMAL)), new a(this.bucket, d);
2044
+ let c = s.LexoDecimal.from(l).add(a.EIGHT_DECIMAL);
2045
+ return c.compareTo(a.MAX_DECIMAL) >= 0 && (c = a.between(this.decimal, a.MAX_DECIMAL)), new a(this.bucket, c);
2046
2046
  }
2047
2047
  between(l) {
2048
2048
  if (!this.bucket.equals(l.bucket))
@@ -2088,7 +2088,7 @@ function pt() {
2088
2088
  return Je.LexoRank = a, Je;
2089
2089
  }
2090
2090
  (function(s) {
2091
- var e = $e && $e.__createBinding || (Object.create ? function(n, a, i, l) {
2091
+ var e = be && be.__createBinding || (Object.create ? function(n, a, i, l) {
2092
2092
  l === void 0 && (l = i);
2093
2093
  var o = Object.getOwnPropertyDescriptor(a, i);
2094
2094
  (!o || ("get" in o ? !a.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: function() {
@@ -2096,14 +2096,14 @@ function pt() {
2096
2096
  } }), Object.defineProperty(n, l, o);
2097
2097
  } : function(n, a, i, l) {
2098
2098
  l === void 0 && (l = i), n[l] = a[i];
2099
- }), t = $e && $e.__exportStar || function(n, a) {
2099
+ }), t = be && be.__exportStar || function(n, a) {
2100
2100
  for (var i in n)
2101
2101
  i !== "default" && !Object.prototype.hasOwnProperty.call(a, i) && e(a, n, i);
2102
2102
  };
2103
2103
  Object.defineProperty(s, "__esModule", { value: !0 }), t(pt(), s), t(ct(), s), t(i1, s), t(Fe, s);
2104
2104
  })(ut);
2105
2105
  (function(s) {
2106
- var e = $e && $e.__createBinding || (Object.create ? function(n, a, i, l) {
2106
+ var e = be && be.__createBinding || (Object.create ? function(n, a, i, l) {
2107
2107
  l === void 0 && (l = i);
2108
2108
  var o = Object.getOwnPropertyDescriptor(a, i);
2109
2109
  (!o || ("get" in o ? !a.__esModule : o.writable || o.configurable)) && (o = { enumerable: !0, get: function() {
@@ -2111,12 +2111,12 @@ function pt() {
2111
2111
  } }), Object.defineProperty(n, l, o);
2112
2112
  } : function(n, a, i, l) {
2113
2113
  l === void 0 && (l = i), n[l] = a[i];
2114
- }), t = $e && $e.__exportStar || function(n, a) {
2114
+ }), t = be && be.__exportStar || function(n, a) {
2115
2115
  for (var i in n)
2116
2116
  i !== "default" && !Object.prototype.hasOwnProperty.call(a, i) && e(a, n, i);
2117
2117
  };
2118
2118
  Object.defineProperty(s, "__esModule", { value: !0 }), t(ut, s), t(N1, s);
2119
- })(be);
2119
+ })(ye);
2120
2120
  function vt(s) {
2121
2121
  return (s == null ? void 0 : s.reduce((e, t) => {
2122
2122
  var n;
@@ -2155,7 +2155,7 @@ function D1(s, e, t) {
2155
2155
  const l = e > t ? -1 : 1;
2156
2156
  i = s[t + l];
2157
2157
  }
2158
- return !a && i ? be.LexoRank.parse(i.rank).genPrev().format() : a && !i ? be.LexoRank.parse(a.rank).genNext().format() : a && i ? be.LexoRank.parse(i.rank).between(be.LexoRank.parse(a.rank)).format() : be.LexoRank.parse(n.rank).genNext().format();
2158
+ return !a && i ? ye.LexoRank.parse(i.rank).genPrev().format() : a && !i ? ye.LexoRank.parse(a.rank).genNext().format() : a && i ? ye.LexoRank.parse(i.rank).between(ye.LexoRank.parse(a.rank)).format() : ye.LexoRank.parse(n.rank).genNext().format();
2159
2159
  }
2160
2160
  const Wr = ["title"], Xr = { className: "ao-avatar__initials" }, Ke = /* @__PURE__ */ K({
2161
2161
  __name: "AoAvatar",
@@ -2218,14 +2218,14 @@ const Jr = { class: "ao-card-template__subitems" }, Qr = { class: "ao-card-templ
2218
2218
  subtitle: R(() => [
2219
2219
  r("ul", Jr, [
2220
2220
  r("li", Qr, [
2221
- b(ne, {
2221
+ b(le, {
2222
2222
  name: "MountainFlagOutlineRounded",
2223
2223
  size: "sm"
2224
2224
  }),
2225
2225
  r("span", xr, j(n.milestones), 1)
2226
2226
  ]),
2227
2227
  r("li", e3, [
2228
- b(ne, {
2228
+ b(le, {
2229
2229
  name: "TaskOutlineRounded",
2230
2230
  size: "sm"
2231
2231
  }),
@@ -2237,14 +2237,14 @@ const Jr = { class: "ao-card-template__subitems" }, Qr = { class: "ao-card-templ
2237
2237
  r("div", s3, [
2238
2238
  r("div", a3, [
2239
2239
  r("div", l3, [
2240
- b(ne, {
2240
+ b(le, {
2241
2241
  name: "WaterfallChartRounded",
2242
2242
  size: "sm"
2243
2243
  }),
2244
2244
  r("span", n3, j(n.$t("template.phases.title")), 1)
2245
2245
  ]),
2246
2246
  n.phases ? (u(), C("ul", i3, [
2247
- (u(!0), C(le, null, pe(n.phases, (i) => (u(), N(f1, {
2247
+ (u(!0), C(ae, null, pe(n.phases, (i) => (u(), N(f1, {
2248
2248
  key: i.id,
2249
2249
  label: i.name || i.id,
2250
2250
  color: "primary",
@@ -2311,7 +2311,7 @@ const y3 = ["type"], b3 = {
2311
2311
  iconName: {},
2312
2312
  iconPosition: {},
2313
2313
  type: { default: () => "button" },
2314
- color: { default: () => Ir.BLACK },
2314
+ color: { default: () => kr.BLACK },
2315
2315
  size: { default: () => h1.MD },
2316
2316
  isLoading: { type: Boolean, default: () => !1 },
2317
2317
  corners: { default: () => it.ROUNDED }
@@ -2330,7 +2330,7 @@ const y3 = ["type"], b3 = {
2330
2330
  Y(a.$slots, "default", {}, () => [
2331
2331
  a.label ? (u(), C("span", b3, j(a.label), 1)) : w("", !0)
2332
2332
  ]),
2333
- n.value ? (u(), N(ne, {
2333
+ n.value ? (u(), N(le, {
2334
2334
  key: 0,
2335
2335
  name: n.value,
2336
2336
  class: "ao-button-card__icon",
@@ -2365,13 +2365,13 @@ const $3 = { class: "ao-card-template-item__footer" }, w3 = {
2365
2365
  return (l, o) => (u(), N(rt, { "onUpdate:title": t }, {
2366
2366
  footer: R(() => [
2367
2367
  r("ul", $3, [
2368
- (u(), C(le, null, pe(n, (d) => (u(), C(le, { key: d }, [
2369
- l.$props[d] ? (u(), C("li", w3, [
2370
- b(ne, {
2371
- name: a[d],
2368
+ (u(), C(ae, null, pe(n, (c) => (u(), C(ae, { key: c }, [
2369
+ l.$props[c] ? (u(), C("li", w3, [
2370
+ b(le, {
2371
+ name: a[c],
2372
2372
  size: "sm"
2373
2373
  }, null, 8, ["name"]),
2374
- r("span", M3, j(l.$props[d]), 1)
2374
+ r("span", M3, j(l.$props[c]), 1)
2375
2375
  ])) : w("", !0)
2376
2376
  ], 64))), 64))
2377
2377
  ])
@@ -2383,7 +2383,7 @@ const $3 = { class: "ao-card-template-item__footer" }, w3 = {
2383
2383
  variant: "ghost",
2384
2384
  size: "md",
2385
2385
  corners: "round",
2386
- onClick: ke(i, ["stop"])
2386
+ onClick: Ie(i, ["stop"])
2387
2387
  }, null, 8, ["onClick"])
2388
2388
  ])
2389
2389
  ]),
@@ -2391,7 +2391,7 @@ const $3 = { class: "ao-card-template-item__footer" }, w3 = {
2391
2391
  }));
2392
2392
  }
2393
2393
  });
2394
- const k3 = /* @__PURE__ */ K({
2394
+ const I3 = /* @__PURE__ */ K({
2395
2395
  __name: "AoCardTemplateItemPhase",
2396
2396
  props: {
2397
2397
  id: {},
@@ -2414,7 +2414,7 @@ const k3 = /* @__PURE__ */ K({
2414
2414
  _: 3
2415
2415
  }, 16, ["title", "activities", "milestones"]));
2416
2416
  }
2417
- }), I3 = /* @__PURE__ */ K({
2417
+ }), k3 = /* @__PURE__ */ K({
2418
2418
  __name: "AoCardTemplateItemMilestone",
2419
2419
  props: {
2420
2420
  activities: {}
@@ -2448,14 +2448,14 @@ const k3 = /* @__PURE__ */ K({
2448
2448
  e("updateMilestone", o);
2449
2449
  }, l = (o) => {
2450
2450
  if (o.moved) {
2451
- const d = w1(o, t.phase.milestones);
2451
+ const c = w1(o, t.phase.milestones);
2452
2452
  e("updateMilestone", {
2453
2453
  id: o.moved.element.id,
2454
- rank: d
2454
+ rank: c
2455
2455
  });
2456
2456
  }
2457
2457
  };
2458
- return (o, d) => o.phase ? (u(), N(O(n1), {
2458
+ return (o, c) => o.phase ? (u(), N(O(n1), {
2459
2459
  key: 0,
2460
2460
  "model-value": o.phase.milestones,
2461
2461
  class: "ao-templates__list",
@@ -2471,20 +2471,20 @@ const k3 = /* @__PURE__ */ K({
2471
2471
  class: "ao-list__title"
2472
2472
  })
2473
2473
  ]),
2474
- item: R(({ element: c }) => [
2475
- (u(), N(I3, {
2476
- key: c.id,
2477
- title: c.name,
2478
- activities: c.activities,
2479
- "is-active": o.milestoneId === c.id,
2474
+ item: R(({ element: d }) => [
2475
+ (u(), N(k3, {
2476
+ key: d.id,
2477
+ title: d.name,
2478
+ activities: d.activities,
2479
+ "is-active": o.milestoneId === d.id,
2480
2480
  "is-draggable": !0,
2481
- "onUpdate:title": (p) => i({ id: c.id, name: p }),
2481
+ "onUpdate:title": (p) => i({ id: d.id, name: p }),
2482
2482
  onClick: (p) => o.$router.push({
2483
2483
  params: {
2484
- milestoneId: c.id
2484
+ milestoneId: d.id
2485
2485
  }
2486
2486
  }),
2487
- onRemove: () => a(c.id)
2487
+ onRemove: () => a(d.id)
2488
2488
  }, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
2489
2489
  ]),
2490
2490
  footer: R(() => [
@@ -2537,14 +2537,14 @@ const k3 = /* @__PURE__ */ K({
2537
2537
  e("removeActivity", { id: o });
2538
2538
  }, l = (o) => {
2539
2539
  if (o.moved) {
2540
- const d = w1(o, t.milestone.activities);
2540
+ const c = w1(o, t.milestone.activities);
2541
2541
  e("updateActivity", {
2542
2542
  id: o.moved.element.id,
2543
- rank: d
2543
+ rank: c
2544
2544
  });
2545
2545
  }
2546
2546
  };
2547
- return (o, d) => o.milestone ? (u(), N(O(n1), {
2547
+ return (o, c) => o.milestone ? (u(), N(O(n1), {
2548
2548
  key: 0,
2549
2549
  "model-value": o.milestone.activities,
2550
2550
  title: o.$t("template.activities.title"),
@@ -2560,16 +2560,16 @@ const k3 = /* @__PURE__ */ K({
2560
2560
  class: "ao-list__title"
2561
2561
  })
2562
2562
  ]),
2563
- item: R(({ element: c }) => [
2563
+ item: R(({ element: d }) => [
2564
2564
  (u(), N(L3, {
2565
- key: c.id,
2566
- title: c.name,
2567
- subtasks: c.subtasks,
2568
- "is-active": o.activityId === c.id,
2565
+ key: d.id,
2566
+ title: d.name,
2567
+ subtasks: d.subtasks,
2568
+ "is-active": o.activityId === d.id,
2569
2569
  "is-draggable": !0,
2570
- "onUpdate:title": (p) => a({ id: c.id, name: p }),
2571
- onClick: (p) => o.$router.push({ params: { activityId: c.id } }),
2572
- onRemove: () => i(c.id)
2570
+ "onUpdate:title": (p) => a({ id: d.id, name: p }),
2571
+ onClick: (p) => o.$router.push({ params: { activityId: d.id } }),
2572
+ onRemove: () => i(d.id)
2573
2573
  }, null, 8, ["title", "subtasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
2574
2574
  ]),
2575
2575
  footer: R(() => [
@@ -2589,28 +2589,28 @@ function Ae(s) {
2589
2589
  return [null, void 0].indexOf(s) !== -1;
2590
2590
  }
2591
2591
  function H3(s, e, t) {
2592
- const { object: n, valueProp: a, mode: i } = ge(s), l = Oe().proxy, o = t.iv, d = (_, m = !0) => {
2592
+ const { object: n, valueProp: a, mode: i } = fe(s), l = Oe().proxy, o = t.iv, c = (_, m = !0) => {
2593
2593
  o.value = p(_);
2594
- const $ = c(_);
2594
+ const $ = d(_);
2595
2595
  e.emit("change", $, l), m && (e.emit("input", $), e.emit("update:modelValue", $));
2596
- }, c = (_) => n.value || Ae(_) ? _ : Array.isArray(_) ? _.map((m) => m[a.value]) : _[a.value], p = (_) => Ae(_) ? i.value === "single" ? {} : [] : _;
2596
+ }, d = (_) => n.value || Ae(_) ? _ : Array.isArray(_) ? _.map((m) => m[a.value]) : _[a.value], p = (_) => Ae(_) ? i.value === "single" ? {} : [] : _;
2597
2597
  return {
2598
- update: d
2598
+ update: c
2599
2599
  };
2600
2600
  }
2601
2601
  function O3(s, e) {
2602
- const { value: t, modelValue: n, mode: a, valueProp: i } = ge(s), l = x(a.value !== "single" ? [] : {}), o = n && n.value !== void 0 ? n : t, d = f(() => a.value === "single" ? l.value[i.value] : l.value.map((p) => p[i.value])), c = f(() => a.value !== "single" ? l.value.map((p) => p[i.value]).join(",") : l.value[i.value]);
2602
+ const { value: t, modelValue: n, mode: a, valueProp: i } = fe(s), l = Q(a.value !== "single" ? [] : {}), o = n && n.value !== void 0 ? n : t, c = f(() => a.value === "single" ? l.value[i.value] : l.value.map((p) => p[i.value])), d = f(() => a.value !== "single" ? l.value.map((p) => p[i.value]).join(",") : l.value[i.value]);
2603
2603
  return {
2604
2604
  iv: l,
2605
2605
  internalValue: l,
2606
2606
  ev: o,
2607
2607
  externalValue: o,
2608
- textValue: c,
2609
- plainValue: d
2608
+ textValue: d,
2609
+ plainValue: c
2610
2610
  };
2611
2611
  }
2612
2612
  function B3(s, e, t) {
2613
- const { regex: n } = ge(s), a = Oe().proxy, i = t.isOpen, l = t.open, o = x(null), d = x(null), c = () => {
2613
+ const { regex: n } = fe(s), a = Oe().proxy, i = t.isOpen, l = t.open, o = Q(null), c = Q(null), d = () => {
2614
2614
  o.value = "";
2615
2615
  }, p = ($) => {
2616
2616
  o.value = $.target.value;
@@ -2622,8 +2622,8 @@ function B3(s, e, t) {
2622
2622
  }, m = ($) => {
2623
2623
  if (n && n.value) {
2624
2624
  let E = ($.clipboardData || /* istanbul ignore next */
2625
- window.clipboardData).getData("Text"), k = n.value;
2626
- typeof k == "string" && (k = new RegExp(k)), E.split("").every((M) => !!M.match(k)) || $.preventDefault();
2625
+ window.clipboardData).getData("Text"), I = n.value;
2626
+ typeof I == "string" && (I = new RegExp(I)), E.split("").every((M) => !!M.match(I)) || $.preventDefault();
2627
2627
  }
2628
2628
  e.emit("paste", $, a);
2629
2629
  };
@@ -2631,22 +2631,22 @@ function B3(s, e, t) {
2631
2631
  !i.value && $ && l(), e.emit("search-change", $, a);
2632
2632
  }), {
2633
2633
  search: o,
2634
- input: d,
2635
- clearSearch: c,
2634
+ input: c,
2635
+ clearSearch: d,
2636
2636
  handleSearchInput: p,
2637
2637
  handleKeypress: _,
2638
2638
  handlePaste: m
2639
2639
  };
2640
2640
  }
2641
2641
  function D3(s, e, t) {
2642
- const { groupSelect: n, mode: a, groups: i, disabledProp: l } = ge(s), o = x(null), d = (p) => {
2642
+ const { groupSelect: n, mode: a, groups: i, disabledProp: l } = fe(s), o = Q(null), c = (p) => {
2643
2643
  p === void 0 || p !== null && p[l.value] || i.value && p && p.group && (a.value === "single" || !n.value) || (o.value = p);
2644
2644
  };
2645
2645
  return {
2646
2646
  pointer: o,
2647
- setPointer: d,
2647
+ setPointer: c,
2648
2648
  clearPointer: () => {
2649
- d(null);
2649
+ c(null);
2650
2650
  }
2651
2651
  };
2652
2652
  }
@@ -2669,45 +2669,45 @@ function N3(s, e, t) {
2669
2669
  trackBy: i,
2670
2670
  limit: l,
2671
2671
  hideSelected: o,
2672
- createTag: d,
2673
- createOption: c,
2672
+ createTag: c,
2673
+ createOption: d,
2674
2674
  label: p,
2675
2675
  appendNewTag: _,
2676
2676
  appendNewOption: m,
2677
2677
  multipleLabel: $,
2678
2678
  object: V,
2679
2679
  loading: E,
2680
- delay: k,
2680
+ delay: I,
2681
2681
  resolveOnLoad: M,
2682
2682
  minChars: y,
2683
2683
  filterResults: B,
2684
- clearOnSearch: ee,
2684
+ clearOnSearch: x,
2685
2685
  clearOnSelect: te,
2686
2686
  valueProp: h,
2687
2687
  allowAbsent: H,
2688
2688
  groupLabel: U,
2689
2689
  canDeselect: se,
2690
2690
  max: re,
2691
- strict: _e,
2691
+ strict: Ce,
2692
2692
  closeOnSelect: Z,
2693
2693
  closeOnDeselect: X,
2694
2694
  groups: A,
2695
2695
  reverse: W,
2696
- infinite: me,
2696
+ infinite: _e,
2697
2697
  groupOptions: g,
2698
2698
  groupHideEmpty: D,
2699
2699
  groupSelect: T,
2700
2700
  onCreate: G,
2701
- disabledProp: Q,
2702
- searchStart: Ce,
2703
- searchFilter: he
2704
- } = ge(s), ae = Oe().proxy, q = t.iv, I = t.ev, P = t.search, fe = t.clearSearch, Ie = t.update, ht = t.pointer, De = t.clearPointer, ft = t.focus, gt = t.deactivate, Ze = t.close, yt = t.localize, Ye = x([]), Le = x([]), we = x(!1), A1 = x(null), k1 = x(me.value && l.value === -1 ? 10 : l.value), z1 = f(() => d.value || c.value || !1), bt = f(() => _.value !== void 0 ? _.value : m.value !== void 0 ? m.value : !0), Te = f(() => {
2701
+ disabledProp: ee,
2702
+ searchStart: me,
2703
+ searchFilter: $e
2704
+ } = fe(s), ne = Oe().proxy, q = t.iv, k = t.ev, P = t.search, he = t.clearSearch, ke = t.update, ht = t.pointer, De = t.clearPointer, ft = t.focus, gt = t.deactivate, Ze = t.close, yt = t.localize, Ye = Q([]), Le = Q([]), we = Q(!1), A1 = Q(null), I1 = Q(_e.value && l.value === -1 ? 10 : l.value), z1 = f(() => c.value || d.value || !1), bt = f(() => _.value !== void 0 ? _.value : m.value !== void 0 ? m.value : !0), Te = f(() => {
2705
2705
  if (A.value) {
2706
2706
  let v = r1.value || /* istanbul ignore next */
2707
2707
  [], S = [];
2708
2708
  return v.forEach((J) => {
2709
- E1(J[g.value]).forEach((ie) => {
2710
- S.push(Object.assign({}, ie, J[Q.value] ? { [Q.value]: !0 } : {}));
2709
+ E1(J[g.value]).forEach((oe) => {
2710
+ S.push(Object.assign({}, oe, J[ee.value] ? { [ee.value]: !0 } : {}));
2711
2711
  });
2712
2712
  }), S;
2713
2713
  } else {
@@ -2720,7 +2720,7 @@ function N3(s, e, t) {
2720
2720
  return W.value && (v = v.reverse()), Pe.value.length && (v = Pe.value.concat(v)), T1(v);
2721
2721
  }), We = f(() => {
2722
2722
  let v = F1.value;
2723
- return k1.value > 0 && (v = v.slice(0, k1.value)), v;
2723
+ return I1.value > 0 && (v = v.slice(0, I1.value)), v;
2724
2724
  }), r1 = f(() => {
2725
2725
  if (!A.value)
2726
2726
  return [];
@@ -2744,16 +2744,16 @@ function N3(s, e, t) {
2744
2744
  let v = $t.value;
2745
2745
  return Zt((v || /* istanbul ignore next */
2746
2746
  []).map((S, J) => {
2747
- const ie = E1(S[g.value]);
2747
+ const oe = E1(S[g.value]);
2748
2748
  return {
2749
2749
  ...S,
2750
2750
  index: J,
2751
2751
  group: !0,
2752
- [g.value]: T1(ie, !1).map((Xe) => Object.assign({}, Xe, S[Q.value] ? { [Q.value]: !0 } : {})),
2753
- __VISIBLE__: T1(ie).map((Xe) => Object.assign({}, Xe, S[Q.value] ? { [Q.value]: !0 } : {}))
2752
+ [g.value]: T1(oe, !1).map((Xe) => Object.assign({}, Xe, S[ee.value] ? { [ee.value]: !0 } : {})),
2753
+ __VISIBLE__: T1(oe).map((Xe) => Object.assign({}, Xe, S[ee.value] ? { [ee.value]: !0 } : {}))
2754
2754
  };
2755
2755
  }));
2756
- }), I1 = f(() => {
2756
+ }), k1 = f(() => {
2757
2757
  switch (a.value) {
2758
2758
  case "single":
2759
2759
  return !Ae(q.value[h.value]);
@@ -2761,12 +2761,12 @@ function N3(s, e, t) {
2761
2761
  case "tags":
2762
2762
  return !Ae(q.value) && q.value.length > 0;
2763
2763
  }
2764
- }), wt = f(() => $ !== void 0 && $.value !== void 0 ? $.value(q.value, ae) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), Mt = f(() => !Te.value.length && !we.value && !Pe.value.length), At = f(() => Te.value.length > 0 && We.value.length == 0 && (P.value && A.value || !A.value)), Pe = f(() => z1.value === !1 || !P.value ? [] : Ot(P.value) !== -1 ? [] : [{
2764
+ }), wt = f(() => $ !== void 0 && $.value !== void 0 ? $.value(q.value, ne) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), Mt = f(() => !Te.value.length && !we.value && !Pe.value.length), At = f(() => Te.value.length > 0 && We.value.length == 0 && (P.value && A.value || !A.value)), Pe = f(() => z1.value === !1 || !P.value ? [] : Ot(P.value) !== -1 ? [] : [{
2765
2765
  [h.value]: P.value,
2766
2766
  [Me.value]: P.value,
2767
2767
  [p.value]: P.value,
2768
2768
  __CREATE__: !0
2769
- }]), Me = f(() => i.value || p.value), kt = f(() => {
2769
+ }]), Me = f(() => i.value || p.value), It = f(() => {
2770
2770
  switch (a.value) {
2771
2771
  case "single":
2772
2772
  return null;
@@ -2774,17 +2774,17 @@ function N3(s, e, t) {
2774
2774
  case "tags":
2775
2775
  return [];
2776
2776
  }
2777
- }), It = f(() => E.value || we.value), Ne = (v) => {
2777
+ }), kt = f(() => E.value || we.value), Ne = (v) => {
2778
2778
  switch (typeof v != "object" && (v = Ve(v)), a.value) {
2779
2779
  case "single":
2780
- Ie(v);
2780
+ ke(v);
2781
2781
  break;
2782
2782
  case "multiple":
2783
2783
  case "tags":
2784
- Ie(q.value.concat(v));
2784
+ ke(q.value.concat(v));
2785
2785
  break;
2786
2786
  }
2787
- e.emit("select", G1(v), v, ae);
2787
+ e.emit("select", G1(v), v, ne);
2788
2788
  }, je = (v) => {
2789
2789
  switch (typeof v != "object" && (v = Ve(v)), a.value) {
2790
2790
  case "single":
@@ -2792,10 +2792,10 @@ function N3(s, e, t) {
2792
2792
  break;
2793
2793
  case "tags":
2794
2794
  case "multiple":
2795
- Ie(Array.isArray(v) ? q.value.filter((S) => v.map((J) => J[h.value]).indexOf(S[h.value]) === -1) : q.value.filter((S) => S[h.value] != v[h.value]));
2795
+ ke(Array.isArray(v) ? q.value.filter((S) => v.map((J) => J[h.value]).indexOf(S[h.value]) === -1) : q.value.filter((S) => S[h.value] != v[h.value]));
2796
2796
  break;
2797
2797
  }
2798
- e.emit("deselect", G1(v), v, ae);
2798
+ e.emit("deselect", G1(v), v, ne);
2799
2799
  }, G1 = (v) => V.value ? v : v[h.value], Y1 = (v) => {
2800
2800
  je(v);
2801
2801
  }, St = (v, S) => {
@@ -2805,7 +2805,7 @@ function N3(s, e, t) {
2805
2805
  }
2806
2806
  Y1(v);
2807
2807
  }, W1 = () => {
2808
- e.emit("clear", ae), Ie(kt.value);
2808
+ e.emit("clear", ne), ke(It.value);
2809
2809
  }, Se = (v) => {
2810
2810
  if (v.group !== void 0)
2811
2811
  return a.value === "single" ? !1 : Ht(v[g.value]) && v[g.value].length;
@@ -2816,9 +2816,9 @@ function N3(s, e, t) {
2816
2816
  case "multiple":
2817
2817
  return !Ae(q.value) && q.value.map((S) => S[h.value]).indexOf(v[h.value]) !== -1;
2818
2818
  }
2819
- }, S1 = (v) => v[Q.value] === !0, V1 = () => re === void 0 || re.value === -1 || !I1.value && re.value > 0 ? !1 : q.value.length >= re.value, Vt = (v) => {
2819
+ }, S1 = (v) => v[ee.value] === !0, V1 = () => re === void 0 || re.value === -1 || !k1.value && re.value > 0 ? !1 : q.value.length >= re.value, Vt = (v) => {
2820
2820
  if (!S1(v)) {
2821
- if (G && G.value && !Se(v) && v.__CREATE__ && (v = { ...v }, delete v.__CREATE__, v = G.value(v, ae), v instanceof Promise)) {
2821
+ if (G && G.value && !Se(v) && v.__CREATE__ && (v = { ...v }, delete v.__CREATE__, v = G.value(v, ne), v instanceof Promise)) {
2822
2822
  we.value = !0, v.then((S) => {
2823
2823
  we.value = !1, X1(S);
2824
2824
  });
@@ -2833,7 +2833,7 @@ function N3(s, e, t) {
2833
2833
  se.value && je(v), X.value && (De(), Ze());
2834
2834
  return;
2835
2835
  }
2836
- v && L1(v), te.value && fe(), Z.value && (De(), Ze()), v && Ne(v);
2836
+ v && L1(v), te.value && he(), Z.value && (De(), Ze()), v && Ne(v);
2837
2837
  break;
2838
2838
  case "multiple":
2839
2839
  if (v && Se(v)) {
@@ -2841,10 +2841,10 @@ function N3(s, e, t) {
2841
2841
  return;
2842
2842
  }
2843
2843
  if (V1()) {
2844
- e.emit("max", ae);
2844
+ e.emit("max", ne);
2845
2845
  return;
2846
2846
  }
2847
- v && (L1(v), Ne(v)), te.value && fe(), o.value && De(), Z.value && Ze();
2847
+ v && (L1(v), Ne(v)), te.value && he(), o.value && De(), Z.value && Ze();
2848
2848
  break;
2849
2849
  case "tags":
2850
2850
  if (v && Se(v)) {
@@ -2852,10 +2852,10 @@ function N3(s, e, t) {
2852
2852
  return;
2853
2853
  }
2854
2854
  if (V1()) {
2855
- e.emit("max", ae);
2855
+ e.emit("max", ne);
2856
2856
  return;
2857
2857
  }
2858
- v && L1(v), te.value && fe(), v && Ne(v), o.value && De(), Z.value && Ze();
2858
+ v && L1(v), te.value && he(), v && Ne(v), o.value && De(), Z.value && Ze();
2859
2859
  break;
2860
2860
  }
2861
2861
  Z.value || ft();
@@ -2865,17 +2865,17 @@ function N3(s, e, t) {
2865
2865
  case "multiple":
2866
2866
  case "tags":
2867
2867
  Et(v[g.value]) ? je(v[g.value]) : Ne(
2868
- v[g.value].filter((S) => q.value.map((J) => J[h.value]).indexOf(S[h.value]) === -1).filter((S) => !S[Q.value]).filter((S, J) => q.value.length + 1 + J <= re.value || re.value === -1)
2868
+ v[g.value].filter((S) => q.value.map((J) => J[h.value]).indexOf(S[h.value]) === -1).filter((S) => !S[ee.value]).filter((S, J) => q.value.length + 1 + J <= re.value || re.value === -1)
2869
2869
  );
2870
2870
  break;
2871
2871
  }
2872
2872
  Z.value && gt();
2873
2873
  }
2874
2874
  }, L1 = (v) => {
2875
- Ve(v[h.value]) === void 0 && z1.value && (e.emit("tag", v[h.value], ae), e.emit("option", v[h.value], ae), e.emit("create", v[h.value], ae), bt.value && Dt(v), fe());
2875
+ Ve(v[h.value]) === void 0 && z1.value && (e.emit("tag", v[h.value], ne), e.emit("option", v[h.value], ne), e.emit("create", v[h.value], ne), bt.value && Dt(v), he());
2876
2876
  }, Tt = () => {
2877
2877
  a.value !== "single" && Ne(We.value.filter((v) => !v.disabled && !Se(v)));
2878
- }, Et = (v) => v.find((S) => !Se(S) && !S[Q.value]) === void 0, Ht = (v) => v.find((S) => !Se(S)) === void 0, Ve = (v) => Te.value[Te.value.map((S) => String(S[h.value])).indexOf(String(v))], Ot = (v, S = !0) => Te.value.map((J) => parseInt(J[Me.value]) == J[Me.value] ? parseInt(J[Me.value]) : J[Me.value]).indexOf(
2878
+ }, Et = (v) => v.find((S) => !Se(S) && !S[ee.value]) === void 0, Ht = (v) => v.find((S) => !Se(S)) === void 0, Ve = (v) => Te.value[Te.value.map((S) => String(S[h.value])).indexOf(String(v))], Ot = (v, S = !0) => Te.value.map((J) => parseInt(J[Me.value]) == J[Me.value] ? parseInt(J[Me.value]) : J[Me.value]).indexOf(
2879
2879
  parseInt(v) == v ? parseInt(v) : v
2880
2880
  ), Bt = (v) => ["tags", "multiple"].indexOf(a.value) !== -1 && o.value && Se(v), Dt = (v) => {
2881
2881
  Ye.value.push(v);
@@ -2884,43 +2884,43 @@ function N3(s, e, t) {
2884
2884
  ) : v.filter((S) => P.value ? S.__VISIBLE__.length : !0), T1 = (v, S = !0) => {
2885
2885
  let J = v;
2886
2886
  if (P.value && B.value) {
2887
- let ie = he.value;
2888
- ie || (ie = (Xe, Bu) => {
2889
- let Q1 = O1(yt(Xe[Me.value]), _e.value);
2890
- return Ce.value ? Q1.startsWith(O1(P.value, _e.value)) : Q1.indexOf(O1(P.value, _e.value)) !== -1;
2891
- }), J = J.filter(ie);
2887
+ let oe = $e.value;
2888
+ oe || (oe = (Xe, Bu) => {
2889
+ let Q1 = O1(yt(Xe[Me.value]), Ce.value);
2890
+ return me.value ? Q1.startsWith(O1(P.value, Ce.value)) : Q1.indexOf(O1(P.value, Ce.value)) !== -1;
2891
+ }), J = J.filter(oe);
2892
2892
  }
2893
- return o.value && S && (J = J.filter((ie) => !Bt(ie))), J;
2893
+ return o.value && S && (J = J.filter((oe) => !Bt(oe))), J;
2894
2894
  }, E1 = (v) => {
2895
2895
  let S = v;
2896
2896
  return Z3(S) && (S = Object.keys(S).map((J) => {
2897
- let ie = S[J];
2898
- return { [h.value]: J, [Me.value]: ie, [p.value]: ie };
2897
+ let oe = S[J];
2898
+ return { [h.value]: J, [Me.value]: oe, [p.value]: oe };
2899
2899
  })), S = S.map((J) => typeof J == "object" ? J : { [h.value]: J, [Me.value]: J, [p.value]: J }), S;
2900
2900
  }, u1 = () => {
2901
- Ae(I.value) || (q.value = d1(I.value));
2901
+ Ae(k.value) || (q.value = d1(k.value));
2902
2902
  }, c1 = (v) => (we.value = !0, new Promise((S, J) => {
2903
- n.value(P.value, ae).then((ie) => {
2904
- Le.value = ie || [], typeof v == "function" && v(ie), we.value = !1;
2905
- }).catch((ie) => {
2906
- console.error(ie), Le.value = [], we.value = !1;
2903
+ n.value(P.value, ne).then((oe) => {
2904
+ Le.value = oe || [], typeof v == "function" && v(oe), we.value = !1;
2905
+ }).catch((oe) => {
2906
+ console.error(oe), Le.value = [], we.value = !1;
2907
2907
  }).finally(() => {
2908
2908
  S();
2909
2909
  });
2910
2910
  })), H1 = () => {
2911
- if (I1.value)
2911
+ if (k1.value)
2912
2912
  if (a.value === "single") {
2913
2913
  let v = Ve(q.value[h.value]);
2914
2914
  if (v !== void 0) {
2915
2915
  let S = v[p.value];
2916
- q.value[p.value] = S, V.value && (I.value[p.value] = S);
2916
+ q.value[p.value] = S, V.value && (k.value[p.value] = S);
2917
2917
  }
2918
2918
  } else
2919
2919
  q.value.forEach((v, S) => {
2920
2920
  let J = Ve(q.value[S][h.value]);
2921
2921
  if (J !== void 0) {
2922
- let ie = J[p.value];
2923
- q.value[S][p.value] = ie, V.value && (I.value[S][p.value] = ie);
2922
+ let oe = J[p.value];
2923
+ q.value[S][p.value] = oe, V.value && (k.value[S][p.value] = oe);
2924
2924
  }
2925
2925
  });
2926
2926
  }, Pt = (v) => {
@@ -2935,34 +2935,34 @@ function N3(s, e, t) {
2935
2935
  [Me.value]: S
2936
2936
  }), J1 = () => {
2937
2937
  A1.value = de(P, (v) => {
2938
- v.length < y.value || !v && y.value !== 0 || (we.value = !0, ee.value && (Le.value = []), setTimeout(() => {
2939
- v == P.value && n.value(P.value, ae).then((S) => {
2940
- (v == P.value || !P.value) && (Le.value = S, ht.value = We.value.filter((J) => J[Q.value] !== !0)[0] || null, we.value = !1);
2938
+ v.length < y.value || !v && y.value !== 0 || (we.value = !0, x.value && (Le.value = []), setTimeout(() => {
2939
+ v == P.value && n.value(P.value, ne).then((S) => {
2940
+ (v == P.value || !P.value) && (Le.value = S, ht.value = We.value.filter((J) => J[ee.value] !== !0)[0] || null, we.value = !1);
2941
2941
  }).catch(
2942
2942
  /* istanbul ignore next */
2943
2943
  (S) => {
2944
2944
  console.error(S);
2945
2945
  }
2946
2946
  );
2947
- }, k.value));
2947
+ }, I.value));
2948
2948
  }, { flush: "sync" });
2949
2949
  };
2950
- if (a.value !== "single" && !Ae(I.value) && !Array.isArray(I.value))
2950
+ if (a.value !== "single" && !Ae(k.value) && !Array.isArray(k.value))
2951
2951
  throw new Error(`v-model must be an array when using "${a.value}" mode`);
2952
- return n && typeof n.value == "function" ? M.value ? c1(u1) : V.value == !0 && u1() : (Le.value = n.value, u1()), k.value > -1 && J1(), de(k, (v, S) => {
2952
+ return n && typeof n.value == "function" ? M.value ? c1(u1) : V.value == !0 && u1() : (Le.value = n.value, u1()), I.value > -1 && J1(), de(I, (v, S) => {
2953
2953
  A1.value && A1.value(), v >= 0 && J1();
2954
- }), de(I, (v) => {
2954
+ }), de(k, (v) => {
2955
2955
  if (Ae(v)) {
2956
- Ie(d1(v), !1);
2956
+ ke(d1(v), !1);
2957
2957
  return;
2958
2958
  }
2959
2959
  switch (a.value) {
2960
2960
  case "single":
2961
- (V.value ? v[h.value] != q.value[h.value] : v != q.value[h.value]) && Ie(d1(v), !1);
2961
+ (V.value ? v[h.value] != q.value[h.value] : v != q.value[h.value]) && ke(d1(v), !1);
2962
2962
  break;
2963
2963
  case "multiple":
2964
2964
  case "tags":
2965
- P3(V.value ? v.map((S) => S[h.value]) : v, q.value.map((S) => S[h.value])) || Ie(d1(v), !1);
2965
+ P3(V.value ? v.map((S) => S[h.value]) : v, q.value.map((S) => S[h.value])) || ke(d1(v), !1);
2966
2966
  break;
2967
2967
  }
2968
2968
  }, { deep: !0 }), de(n, (v, S) => {
@@ -2971,7 +2971,7 @@ function N3(s, e, t) {
2971
2971
  pfo: F1,
2972
2972
  fo: We,
2973
2973
  filteredOptions: We,
2974
- hasSelected: I1,
2974
+ hasSelected: k1,
2975
2975
  multipleLabelText: wt,
2976
2976
  eo: Te,
2977
2977
  extendedOptions: Te,
@@ -2982,8 +2982,8 @@ function N3(s, e, t) {
2982
2982
  noOptions: Mt,
2983
2983
  noResults: At,
2984
2984
  resolving: we,
2985
- busy: It,
2986
- offset: k1,
2985
+ busy: kt,
2986
+ offset: I1,
2987
2987
  select: Ne,
2988
2988
  deselect: je,
2989
2989
  remove: Y1,
@@ -3008,76 +3008,76 @@ function j3(s, e, t) {
3008
3008
  searchable: i,
3009
3009
  groupLabel: l,
3010
3010
  groups: o,
3011
- mode: d,
3012
- groupSelect: c,
3011
+ mode: c,
3012
+ groupSelect: d,
3013
3013
  disabledProp: p,
3014
3014
  groupOptions: _
3015
- } = ge(s), m = t.fo, $ = t.fg, V = t.handleOptionClick, E = t.handleGroupClick, k = t.search, M = t.pointer, y = t.setPointer, B = t.clearPointer, ee = t.multiselect, te = t.isOpen, h = f(() => m.value.filter((I) => !I[p.value])), H = f(() => $.value.filter((I) => !I[p.value])), U = f(() => d.value !== "single" && c.value), se = f(() => M.value && M.value.group), re = f(() => ae(M.value)), _e = f(() => {
3016
- const I = se.value ? M.value : (
3015
+ } = fe(s), m = t.fo, $ = t.fg, V = t.handleOptionClick, E = t.handleGroupClick, I = t.search, M = t.pointer, y = t.setPointer, B = t.clearPointer, x = t.multiselect, te = t.isOpen, h = f(() => m.value.filter((k) => !k[p.value])), H = f(() => $.value.filter((k) => !k[p.value])), U = f(() => c.value !== "single" && d.value), se = f(() => M.value && M.value.group), re = f(() => ne(M.value)), Ce = f(() => {
3016
+ const k = se.value ? M.value : (
3017
3017
  /* istanbul ignore next */
3018
- ae(M.value)
3019
- ), P = H.value.map((Ie) => Ie[l.value]).indexOf(I[l.value]);
3020
- let fe = H.value[P - 1];
3021
- return fe === void 0 && (fe = X.value), fe;
3018
+ ne(M.value)
3019
+ ), P = H.value.map((ke) => ke[l.value]).indexOf(k[l.value]);
3020
+ let he = H.value[P - 1];
3021
+ return he === void 0 && (he = X.value), he;
3022
3022
  }), Z = f(() => {
3023
- let I = H.value.map((P) => P.label).indexOf(se.value ? M.value[l.value] : ae(M.value)[l.value]) + 1;
3024
- return H.value.length <= I && (I = 0), H.value[I];
3025
- }), X = f(() => [...H.value].slice(-1)[0]), A = f(() => M.value.__VISIBLE__.filter((I) => !I[p.value])[0]), W = f(() => {
3026
- const I = re.value.__VISIBLE__.filter((P) => !P[p.value]);
3027
- return I[I.map((P) => P[n.value]).indexOf(M.value[n.value]) - 1];
3028
- }), me = f(() => {
3029
- const I = ae(M.value).__VISIBLE__.filter((P) => !P[p.value]);
3030
- return I[I.map((P) => P[n.value]).indexOf(M.value[n.value]) + 1];
3031
- }), g = f(() => [..._e.value.__VISIBLE__.filter((I) => !I[p.value])].slice(-1)[0]), D = f(() => [...X.value.__VISIBLE__.filter((I) => !I[p.value])].slice(-1)[0]), T = (I) => M.value && (!I.group && M.value[n.value] === I[n.value] || I.group !== void 0 && M.value[l.value] === I[l.value]) ? !0 : void 0, G = () => {
3023
+ let k = H.value.map((P) => P.label).indexOf(se.value ? M.value[l.value] : ne(M.value)[l.value]) + 1;
3024
+ return H.value.length <= k && (k = 0), H.value[k];
3025
+ }), X = f(() => [...H.value].slice(-1)[0]), A = f(() => M.value.__VISIBLE__.filter((k) => !k[p.value])[0]), W = f(() => {
3026
+ const k = re.value.__VISIBLE__.filter((P) => !P[p.value]);
3027
+ return k[k.map((P) => P[n.value]).indexOf(M.value[n.value]) - 1];
3028
+ }), _e = f(() => {
3029
+ const k = ne(M.value).__VISIBLE__.filter((P) => !P[p.value]);
3030
+ return k[k.map((P) => P[n.value]).indexOf(M.value[n.value]) + 1];
3031
+ }), g = f(() => [...Ce.value.__VISIBLE__.filter((k) => !k[p.value])].slice(-1)[0]), D = f(() => [...X.value.__VISIBLE__.filter((k) => !k[p.value])].slice(-1)[0]), T = (k) => M.value && (!k.group && M.value[n.value] === k[n.value] || k.group !== void 0 && M.value[l.value] === k[l.value]) ? !0 : void 0, G = () => {
3032
3032
  y(h.value[0] || null);
3033
- }, Q = () => {
3033
+ }, ee = () => {
3034
3034
  !M.value || M.value[p.value] === !0 || (se.value ? E(M.value) : V(M.value));
3035
- }, Ce = () => {
3035
+ }, me = () => {
3036
3036
  if (M.value === null)
3037
3037
  y((o.value && U.value ? H.value[0].__CREATE__ ? h.value[0] : H.value[0] : h.value[0]) || null);
3038
3038
  else if (o.value && U.value) {
3039
- let I = se.value ? A.value : me.value;
3040
- I === void 0 && (I = Z.value, I.__CREATE__ && (I = I[_.value][0])), y(I || /* istanbul ignore next */
3039
+ let k = se.value ? A.value : _e.value;
3040
+ k === void 0 && (k = Z.value, k.__CREATE__ && (k = k[_.value][0])), y(k || /* istanbul ignore next */
3041
3041
  null);
3042
3042
  } else {
3043
- let I = h.value.map((P) => P[n.value]).indexOf(M.value[n.value]) + 1;
3044
- h.value.length <= I && (I = 0), y(h.value[I] || null);
3043
+ let k = h.value.map((P) => P[n.value]).indexOf(M.value[n.value]) + 1;
3044
+ h.value.length <= k && (k = 0), y(h.value[k] || null);
3045
3045
  }
3046
3046
  He(() => {
3047
3047
  q();
3048
3048
  });
3049
- }, he = () => {
3049
+ }, $e = () => {
3050
3050
  if (M.value === null) {
3051
- let I = h.value[h.value.length - 1];
3052
- o.value && U.value && (I = D.value, I === void 0 && (I = X.value)), y(I || null);
3051
+ let k = h.value[h.value.length - 1];
3052
+ o.value && U.value && (k = D.value, k === void 0 && (k = X.value)), y(k || null);
3053
3053
  } else if (o.value && U.value) {
3054
- let I = se.value ? g.value : W.value;
3055
- I === void 0 && (I = se.value ? _e.value : re.value, I.__CREATE__ && (I = g.value, I === void 0 && (I = _e.value))), y(I || /* istanbul ignore next */
3054
+ let k = se.value ? g.value : W.value;
3055
+ k === void 0 && (k = se.value ? Ce.value : re.value, k.__CREATE__ && (k = g.value, k === void 0 && (k = Ce.value))), y(k || /* istanbul ignore next */
3056
3056
  null);
3057
3057
  } else {
3058
- let I = h.value.map((P) => P[n.value]).indexOf(M.value[n.value]) - 1;
3059
- I < 0 && (I = h.value.length - 1), y(h.value[I] || null);
3058
+ let k = h.value.map((P) => P[n.value]).indexOf(M.value[n.value]) - 1;
3059
+ k < 0 && (k = h.value.length - 1), y(h.value[k] || null);
3060
3060
  }
3061
3061
  He(() => {
3062
3062
  q();
3063
3063
  });
3064
- }, ae = (I) => H.value.find((P) => P.__VISIBLE__.map((fe) => fe[n.value]).indexOf(I[n.value]) !== -1), q = () => {
3065
- let I = ee.value.querySelector("[data-pointed]");
3066
- if (!I)
3064
+ }, ne = (k) => H.value.find((P) => P.__VISIBLE__.map((he) => he[n.value]).indexOf(k[n.value]) !== -1), q = () => {
3065
+ let k = x.value.querySelector("[data-pointed]");
3066
+ if (!k)
3067
3067
  return;
3068
- let P = I.parentElement.parentElement;
3069
- o.value && (P = se.value ? I.parentElement.parentElement.parentElement : I.parentElement.parentElement.parentElement.parentElement), I.offsetTop + I.offsetHeight > P.clientHeight + P.scrollTop && (P.scrollTop = I.offsetTop + I.offsetHeight - P.clientHeight), I.offsetTop < P.scrollTop && (P.scrollTop = I.offsetTop);
3068
+ let P = k.parentElement.parentElement;
3069
+ o.value && (P = se.value ? k.parentElement.parentElement.parentElement : k.parentElement.parentElement.parentElement.parentElement), k.offsetTop + k.offsetHeight > P.clientHeight + P.scrollTop && (P.scrollTop = k.offsetTop + k.offsetHeight - P.clientHeight), k.offsetTop < P.scrollTop && (P.scrollTop = k.offsetTop);
3070
3070
  };
3071
- return de(k, (I) => {
3072
- i.value && (I.length && a.value ? G() : B());
3073
- }), de(te, (I) => {
3074
- if (I) {
3075
- let P = ee.value.querySelectorAll("[data-selected]")[0];
3071
+ return de(I, (k) => {
3072
+ i.value && (k.length && a.value ? G() : B());
3073
+ }), de(te, (k) => {
3074
+ if (k) {
3075
+ let P = x.value.querySelectorAll("[data-selected]")[0];
3076
3076
  if (!P)
3077
3077
  return;
3078
- let fe = P.parentElement.parentElement;
3078
+ let he = P.parentElement.parentElement;
3079
3079
  He(() => {
3080
- fe.scrollTop > 0 || (fe.scrollTop = P.offsetTop);
3080
+ he.scrollTop > 0 || (he.scrollTop = P.offsetTop);
3081
3081
  });
3082
3082
  }
3083
3083
  }), {
@@ -3085,13 +3085,13 @@ function j3(s, e, t) {
3085
3085
  canPointGroups: U,
3086
3086
  isPointed: T,
3087
3087
  setPointerFirst: G,
3088
- selectPointer: Q,
3089
- forwardPointer: Ce,
3090
- backwardPointer: he
3088
+ selectPointer: ee,
3089
+ forwardPointer: me,
3090
+ backwardPointer: $e
3091
3091
  };
3092
3092
  }
3093
3093
  function R3(s, e, t) {
3094
- const { disabled: n } = ge(s), a = Oe().proxy, i = x(!1);
3094
+ const { disabled: n } = fe(s), a = Oe().proxy, i = Q(!1);
3095
3095
  return {
3096
3096
  isOpen: i,
3097
3097
  open: () => {
@@ -3103,40 +3103,40 @@ function R3(s, e, t) {
3103
3103
  };
3104
3104
  }
3105
3105
  function U3(s, e, t) {
3106
- const { searchable: n, disabled: a, clearOnBlur: i } = ge(s), l = t.input, o = t.open, d = t.close, c = t.clearSearch, p = t.isOpen, _ = x(null), m = x(null), $ = x(null), V = x(!1), E = x(!1), k = f(() => n.value || a.value ? -1 : 0), M = () => {
3106
+ const { searchable: n, disabled: a, clearOnBlur: i } = fe(s), l = t.input, o = t.open, c = t.close, d = t.clearSearch, p = t.isOpen, _ = Q(null), m = Q(null), $ = Q(null), V = Q(!1), E = Q(!1), I = f(() => n.value || a.value ? -1 : 0), M = () => {
3107
3107
  n.value && l.value.blur(), m.value.blur();
3108
3108
  }, y = () => {
3109
3109
  n.value && !a.value && l.value.focus();
3110
3110
  }, B = (se = !0) => {
3111
3111
  a.value || (V.value = !0, se && o());
3112
- }, ee = () => {
3112
+ }, x = () => {
3113
3113
  V.value = !1, setTimeout(() => {
3114
- V.value || (d(), i.value && c());
3114
+ V.value || (c(), i.value && d());
3115
3115
  }, 1);
3116
3116
  };
3117
3117
  return {
3118
3118
  multiselect: _,
3119
3119
  wrapper: m,
3120
3120
  tags: $,
3121
- tabindex: k,
3121
+ tabindex: I,
3122
3122
  isActive: V,
3123
3123
  mouseClicked: E,
3124
3124
  blur: M,
3125
3125
  focus: y,
3126
3126
  activate: B,
3127
- deactivate: ee,
3127
+ deactivate: x,
3128
3128
  handleFocusIn: (se) => {
3129
3129
  se.target.closest("[data-tags]") && se.target.nodeName !== "INPUT" || se.target.closest("[data-clear]") || B(E.value);
3130
3130
  },
3131
3131
  handleFocusOut: () => {
3132
- ee();
3132
+ x();
3133
3133
  },
3134
3134
  handleCaretClick: () => {
3135
- ee(), M();
3135
+ x(), M();
3136
3136
  },
3137
3137
  handleMousedown: (se) => {
3138
3138
  E.value = !0, p.value && (se.target.isEqualNode(m.value) || se.target.isEqualNode($.value)) ? setTimeout(() => {
3139
- ee();
3139
+ x();
3140
3140
  }, 0) : document.activeElement.isEqualNode(m.value) && !p.value && B(), setTimeout(() => {
3141
3141
  E.value = !1;
3142
3142
  }, 0);
@@ -3150,15 +3150,15 @@ function q3(s, e, t) {
3150
3150
  openDirection: i,
3151
3151
  searchable: l,
3152
3152
  showOptions: o,
3153
- valueProp: d,
3154
- groups: c,
3153
+ valueProp: c,
3154
+ groups: d,
3155
3155
  addOptionOn: p,
3156
3156
  createTag: _,
3157
3157
  createOption: m,
3158
3158
  reverse: $
3159
- } = ge(s), V = Oe().proxy, E = t.iv, k = t.update, M = t.search, y = t.setPointer, B = t.selectPointer, ee = t.backwardPointer, te = t.forwardPointer, h = t.multiselect, H = t.wrapper, U = t.tags, se = t.isOpen, re = t.open, _e = t.blur, Z = t.fo, X = f(() => _.value || m.value || !1), A = f(() => a.value !== void 0 ? a.value : p.value !== void 0 ? p.value : ["enter"]), W = () => {
3160
- n.value === "tags" && !o.value && X.value && l.value && !c.value && y(Z.value[Z.value.map((T) => T[d.value]).indexOf(M.value)]);
3161
- }, me = (T) => {
3159
+ } = fe(s), V = Oe().proxy, E = t.iv, I = t.update, M = t.search, y = t.setPointer, B = t.selectPointer, x = t.backwardPointer, te = t.forwardPointer, h = t.multiselect, H = t.wrapper, U = t.tags, se = t.isOpen, re = t.open, Ce = t.blur, Z = t.fo, X = f(() => _.value || m.value || !1), A = f(() => a.value !== void 0 ? a.value : p.value !== void 0 ? p.value : ["enter"]), W = () => {
3160
+ n.value === "tags" && !o.value && X.value && l.value && !d.value && y(Z.value[Z.value.map((T) => T[c.value]).indexOf(M.value)]);
3161
+ }, _e = (T) => {
3162
3162
  let G = T.length - 1;
3163
3163
  for (; G >= 0 && (T[G].remove === !1 || T[G].disabled); )
3164
3164
  G--;
@@ -3167,18 +3167,18 @@ function q3(s, e, t) {
3167
3167
  return {
3168
3168
  handleKeydown: (T) => {
3169
3169
  e.emit("keydown", T, V);
3170
- let G, Q;
3171
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(T.key) !== -1 && n.value === "tags" && (G = [...h.value.querySelectorAll("[data-tags] > *")].filter((Ce) => Ce !== U.value), Q = G.findIndex((Ce) => Ce === document.activeElement)), T.key) {
3170
+ let G, ee;
3171
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(T.key) !== -1 && n.value === "tags" && (G = [...h.value.querySelectorAll("[data-tags] > *")].filter((me) => me !== U.value), ee = G.findIndex((me) => me === document.activeElement)), T.key) {
3172
3172
  case "Backspace":
3173
3173
  if (n.value === "single" || l.value && [null, ""].indexOf(M.value) === -1 || E.value.length === 0)
3174
3174
  return;
3175
- k(me([...E.value]));
3175
+ I(_e([...E.value]));
3176
3176
  break;
3177
3177
  case "Enter":
3178
3178
  if (T.preventDefault(), T.keyCode === 229)
3179
3179
  return;
3180
- if (Q !== -1 && Q !== void 0) {
3181
- k([...E.value].filter((Ce, he) => he !== Q)), Q === G.length - 1 && (G.length - 1 ? G[G.length - 2].focus() : l.value ? U.value.querySelector("input").focus() : H.value.focus());
3180
+ if (ee !== -1 && ee !== void 0) {
3181
+ I([...E.value].filter((me, $e) => $e !== ee)), ee === G.length - 1 && (G.length - 1 ? G[G.length - 2].focus() : l.value ? U.value.querySelector("input").focus() : H.value.focus());
3182
3182
  return;
3183
3183
  }
3184
3184
  if (A.value.indexOf("enter") === -1 && X.value)
@@ -3204,12 +3204,12 @@ function q3(s, e, t) {
3204
3204
  W(), B(), T.preventDefault();
3205
3205
  break;
3206
3206
  case "Escape":
3207
- _e();
3207
+ Ce();
3208
3208
  break;
3209
3209
  case "ArrowUp":
3210
3210
  if (T.preventDefault(), !o.value)
3211
3211
  return;
3212
- se.value || re(), ee();
3212
+ se.value || re(), x();
3213
3213
  break;
3214
3214
  case "ArrowDown":
3215
3215
  if (T.preventDefault(), !o.value)
@@ -3219,12 +3219,12 @@ function q3(s, e, t) {
3219
3219
  case "ArrowLeft":
3220
3220
  if (l.value && U.value && U.value.querySelector("input").selectionStart || T.shiftKey || n.value !== "tags" || !E.value || !E.value.length)
3221
3221
  return;
3222
- T.preventDefault(), Q === -1 ? G[G.length - 1].focus() : Q > 0 && G[Q - 1].focus();
3222
+ T.preventDefault(), ee === -1 ? G[G.length - 1].focus() : ee > 0 && G[ee - 1].focus();
3223
3223
  break;
3224
3224
  case "ArrowRight":
3225
- if (Q === -1 || T.shiftKey || n.value !== "tags" || !E.value || !E.value.length)
3225
+ if (ee === -1 || T.shiftKey || n.value !== "tags" || !E.value || !E.value.length)
3226
3226
  return;
3227
- T.preventDefault(), G.length > Q + 1 ? G[Q + 1].focus() : l.value ? U.value.querySelector("input").focus() : l.value || H.value.focus();
3227
+ T.preventDefault(), G.length > ee + 1 ? G[ee + 1].focus() : l.value ? U.value.querySelector("input").focus() : l.value || H.value.focus();
3228
3228
  break;
3229
3229
  }
3230
3230
  },
@@ -3240,7 +3240,7 @@ function z3(s, e, t) {
3240
3240
  disabled: a,
3241
3241
  openDirection: i,
3242
3242
  showOptions: l
3243
- } = ge(s), o = t.isOpen, d = t.isPointed, c = t.isSelected, p = t.isDisabled, _ = t.isActive, m = t.canPointGroups, $ = t.resolving, V = t.fo, E = f(() => ({
3243
+ } = fe(s), o = t.isOpen, c = t.isPointed, d = t.isSelected, p = t.isDisabled, _ = t.isActive, m = t.canPointGroups, $ = t.resolving, V = t.fo, E = f(() => ({
3244
3244
  container: "multiselect",
3245
3245
  containerDisabled: "is-disabled",
3246
3246
  containerOpen: "is-open",
@@ -3293,12 +3293,12 @@ function z3(s, e, t) {
3293
3293
  assist: "multiselect-assistive-text",
3294
3294
  spacer: "multiselect-spacer",
3295
3295
  ...n.value
3296
- })), k = f(() => !!(o.value && l.value && (!$.value || $.value && V.value.length)));
3296
+ })), I = f(() => !!(o.value && l.value && (!$.value || $.value && V.value.length)));
3297
3297
  return {
3298
3298
  classList: f(() => {
3299
3299
  const y = E.value;
3300
3300
  return {
3301
- container: [y.container].concat(a.value ? y.containerDisabled : []).concat(k.value && i.value === "top" ? y.containerOpenTop : []).concat(k.value && i.value !== "top" ? y.containerOpen : []).concat(_.value ? y.containerActive : []),
3301
+ container: [y.container].concat(a.value ? y.containerDisabled : []).concat(I.value && i.value === "top" ? y.containerOpenTop : []).concat(I.value && i.value !== "top" ? y.containerOpen : []).concat(_.value ? y.containerActive : []),
3302
3302
  wrapper: y.wrapper,
3303
3303
  spacer: y.spacer,
3304
3304
  singleLabel: y.singleLabel,
@@ -3320,17 +3320,17 @@ function z3(s, e, t) {
3320
3320
  spinner: y.spinner,
3321
3321
  inifinite: y.inifinite,
3322
3322
  inifiniteSpinner: y.inifiniteSpinner,
3323
- dropdown: [y.dropdown].concat(i.value === "top" ? y.dropdownTop : []).concat(!o.value || !l.value || !k.value ? y.dropdownHidden : []),
3323
+ dropdown: [y.dropdown].concat(i.value === "top" ? y.dropdownTop : []).concat(!o.value || !l.value || !I.value ? y.dropdownHidden : []),
3324
3324
  options: [y.options].concat(i.value === "top" ? y.optionsTop : []),
3325
3325
  group: y.group,
3326
3326
  groupLabel: (B) => {
3327
- let ee = [y.groupLabel];
3328
- return d(B) ? ee.push(c(B) ? y.groupLabelSelectedPointed : y.groupLabelPointed) : c(B) && m.value ? ee.push(p(B) ? y.groupLabelSelectedDisabled : y.groupLabelSelected) : p(B) && ee.push(y.groupLabelDisabled), m.value && ee.push(y.groupLabelPointable), ee;
3327
+ let x = [y.groupLabel];
3328
+ return c(B) ? x.push(d(B) ? y.groupLabelSelectedPointed : y.groupLabelPointed) : d(B) && m.value ? x.push(p(B) ? y.groupLabelSelectedDisabled : y.groupLabelSelected) : p(B) && x.push(y.groupLabelDisabled), m.value && x.push(y.groupLabelPointable), x;
3329
3329
  },
3330
3330
  groupOptions: y.groupOptions,
3331
- option: (B, ee) => {
3331
+ option: (B, x) => {
3332
3332
  let te = [y.option];
3333
- return d(B) ? te.push(c(B) ? y.optionSelectedPointed : y.optionPointed) : c(B) ? te.push(p(B) ? y.optionSelectedDisabled : y.optionSelected) : (p(B) || ee && p(ee)) && te.push(y.optionDisabled), te;
3333
+ return c(B) ? te.push(d(B) ? y.optionSelectedPointed : y.optionPointed) : d(B) ? te.push(p(B) ? y.optionSelectedDisabled : y.optionSelected) : (p(B) || x && p(x)) && te.push(y.optionDisabled), te;
3334
3334
  },
3335
3335
  noOptions: y.noOptions,
3336
3336
  noResults: y.noResults,
@@ -3338,29 +3338,29 @@ function z3(s, e, t) {
3338
3338
  fakeInput: y.fakeInput
3339
3339
  };
3340
3340
  }),
3341
- showDropdown: k
3341
+ showDropdown: I
3342
3342
  };
3343
3343
  }
3344
3344
  function F3(s, e, t) {
3345
3345
  const {
3346
3346
  limit: n,
3347
3347
  infinite: a
3348
- } = ge(s), i = t.isOpen, l = t.offset, o = t.search, d = t.pfo, c = t.eo, p = x(null), _ = x(null), m = f(() => l.value < d.value.length), $ = (E) => {
3349
- const { isIntersecting: k, target: M } = E[0];
3350
- if (k) {
3348
+ } = fe(s), i = t.isOpen, l = t.offset, o = t.search, c = t.pfo, d = t.eo, p = Q(null), _ = Q(null), m = f(() => l.value < c.value.length), $ = (E) => {
3349
+ const { isIntersecting: I, target: M } = E[0];
3350
+ if (I) {
3351
3351
  const y = M.offsetParent, B = y.scrollTop;
3352
3352
  l.value += n.value == -1 ? 10 : n.value, He(() => {
3353
3353
  y.scrollTop = B;
3354
3354
  });
3355
3355
  }
3356
3356
  }, V = () => {
3357
- i.value && l.value < d.value.length ? p.value.observe(_.value) : !i.value && p.value && p.value.disconnect();
3357
+ i.value && l.value < c.value.length ? p.value.observe(_.value) : !i.value && p.value && p.value.disconnect();
3358
3358
  };
3359
3359
  return de(i, () => {
3360
3360
  a.value && V();
3361
3361
  }), de(o, () => {
3362
3362
  a.value && (l.value = n.value, V());
3363
- }, { flush: "post" }), de(c, () => {
3363
+ }, { flush: "post" }), de(d, () => {
3364
3364
  a.value && V();
3365
3365
  }, { immediate: !1, flush: "post" }), m1(() => {
3366
3366
  window && window.IntersectionObserver && (p.value = new IntersectionObserver($));
@@ -3376,10 +3376,10 @@ function K3(s, e, t) {
3376
3376
  valueProp: i,
3377
3377
  label: l,
3378
3378
  mode: o,
3379
- groupLabel: d,
3380
- aria: c,
3379
+ groupLabel: c,
3380
+ aria: d,
3381
3381
  searchable: p
3382
- } = ge(s), _ = t.pointer, m = t.iv, $ = t.hasSelected, V = t.multipleLabelText, E = x(null), k = f(() => {
3382
+ } = fe(s), _ = t.pointer, m = t.iv, $ = t.hasSelected, V = t.multipleLabelText, E = Q(null), I = f(() => {
3383
3383
  let Z = [];
3384
3384
  return a && a.value && Z.push(a.value), Z.push("assist"), Z.join("-");
3385
3385
  }), M = f(() => {
@@ -3389,12 +3389,12 @@ function K3(s, e, t) {
3389
3389
  let Z = [];
3390
3390
  if (a && a.value && Z.push(a.value), _.value)
3391
3391
  return Z.push(_.value.group ? "multiselect-group" : "multiselect-option"), Z.push(_.value.group ? _.value.index : _.value[i.value]), Z.join("-");
3392
- }), B = f(() => n.value), ee = f(() => o.value !== "single"), te = f(() => {
3392
+ }), B = f(() => n.value), x = f(() => o.value !== "single"), te = f(() => {
3393
3393
  let Z = "";
3394
3394
  return o.value === "single" && $.value && (Z += m.value[l.value]), o.value === "multiple" && $.value && (Z += V.value), o.value === "tags" && $.value && (Z += m.value.map((X) => X[l.value]).join(", ")), Z;
3395
3395
  }), h = f(() => {
3396
- let Z = { ...c.value };
3397
- return p.value && (Z["aria-labelledby"] = Z["aria-labelledby"] ? `${k.value} ${Z["aria-labelledby"]}` : k.value, te.value && Z["aria-label"] && (Z["aria-label"] = `${te.value}, ${Z["aria-label"]}`)), Z;
3396
+ let Z = { ...d.value };
3397
+ return p.value && (Z["aria-labelledby"] = Z["aria-labelledby"] ? `${I.value} ${Z["aria-labelledby"]}` : I.value, te.value && Z["aria-label"] && (Z["aria-label"] = `${te.value}, ${Z["aria-label"]}`)), Z;
3398
3398
  }), H = (Z) => {
3399
3399
  let X = [];
3400
3400
  return a && a.value && X.push(a.value), X.push("multiselect-option"), X.push(Z[i.value]), X.join("-");
@@ -3407,7 +3407,7 @@ function K3(s, e, t) {
3407
3407
  }, re = (Z) => {
3408
3408
  let X = [];
3409
3409
  return X.push(Z), X.join(" ");
3410
- }, _e = (Z) => `${Z} ❎`;
3410
+ }, Ce = (Z) => `${Z} ❎`;
3411
3411
  return m1(() => {
3412
3412
  if (a && a.value && document && document.querySelector) {
3413
3413
  let Z = document.querySelector(`[for="${a.value}"]`);
@@ -3416,23 +3416,23 @@ function K3(s, e, t) {
3416
3416
  }), {
3417
3417
  arias: h,
3418
3418
  ariaLabel: te,
3419
- ariaAssist: k,
3419
+ ariaAssist: I,
3420
3420
  ariaControls: M,
3421
3421
  ariaPlaceholder: B,
3422
- ariaMultiselectable: ee,
3422
+ ariaMultiselectable: x,
3423
3423
  ariaActiveDescendant: y,
3424
3424
  ariaOptionId: H,
3425
3425
  ariaOptionLabel: se,
3426
3426
  ariaGroupId: U,
3427
3427
  ariaGroupLabel: re,
3428
- ariaTagLabel: _e
3428
+ ariaTagLabel: Ce
3429
3429
  };
3430
3430
  }
3431
3431
  function G3(s, e, t) {
3432
3432
  const {
3433
3433
  locale: n,
3434
3434
  fallbackLocale: a
3435
- } = ge(s);
3435
+ } = fe(s);
3436
3436
  return {
3437
3437
  localize: (l) => !l || typeof l != "object" ? l : l && l[n.value] ? l[n.value] : l && n.value && l[n.value.toUpperCase()] ? l[n.value.toUpperCase()] : l && l[a.value] ? l[a.value] : l && a.value && l[a.value.toUpperCase()] ? l[a.value.toUpperCase()] : l && Object.keys(l)[0] ? l[Object.keys(l)[0]] : ""
3438
3438
  };
@@ -3833,7 +3833,7 @@ function _5(s, e, t, n, a, i) {
3833
3833
  id: t.searchable ? t.id : void 0,
3834
3834
  onInput: e[0] || (e[0] = (...l) => s.handleSearchInput && s.handleSearchInput(...l)),
3835
3835
  onKeypress: e[1] || (e[1] = (...l) => s.handleKeypress && s.handleKeypress(...l)),
3836
- onPaste: e[2] || (e[2] = ke((...l) => s.handlePaste && s.handlePaste(...l), ["stop"])),
3836
+ onPaste: e[2] || (e[2] = Ie((...l) => s.handlePaste && s.handlePaste(...l), ["stop"])),
3837
3837
  ref: "input",
3838
3838
  "aria-controls": s.ariaControls,
3839
3839
  "aria-placeholder": s.ariaPlaceholder,
@@ -3855,9 +3855,9 @@ function _5(s, e, t, n, a, i) {
3855
3855
  },
3856
3856
  [
3857
3857
  (u(!0), C(
3858
- le,
3858
+ ae,
3859
3859
  null,
3860
- pe(s.iv, (l, o, d) => Y(s.$slots, "tag", {
3860
+ pe(s.iv, (l, o, c) => Y(s.$slots, "tag", {
3861
3861
  option: l,
3862
3862
  handleTagRemove: s.handleTagRemove,
3863
3863
  disabled: t.disabled
@@ -3868,8 +3868,8 @@ function _5(s, e, t, n, a, i) {
3868
3868
  l.disabled ? s.classList.tagDisabled : null
3869
3869
  ]),
3870
3870
  tabindex: "-1",
3871
- onKeyup: a1((c) => s.handleTagRemove(l, c), ["enter"]),
3872
- key: d,
3871
+ onKeyup: a1((d) => s.handleTagRemove(l, d), ["enter"]),
3872
+ key: c,
3873
3873
  "aria-label": s.ariaTagLabel(s.localize(l[t.label]))
3874
3874
  }, [
3875
3875
  Z1(
@@ -3880,7 +3880,7 @@ function _5(s, e, t, n, a, i) {
3880
3880
  !t.disabled && !l.disabled ? (u(), C("span", {
3881
3881
  key: 0,
3882
3882
  class: F(s.classList.tagRemove),
3883
- onClick: ke((c) => s.handleTagRemove(l, c), ["stop"])
3883
+ onClick: Ie((d) => s.handleTagRemove(l, d), ["stop"])
3884
3884
  }, [
3885
3885
  r(
3886
3886
  "span",
@@ -3925,7 +3925,7 @@ function _5(s, e, t, n, a, i) {
3925
3925
  autocomplete: t.autocomplete,
3926
3926
  onInput: e[3] || (e[3] = (...l) => s.handleSearchInput && s.handleSearchInput(...l)),
3927
3927
  onKeypress: e[4] || (e[4] = (...l) => s.handleKeypress && s.handleKeypress(...l)),
3928
- onPaste: e[5] || (e[5] = ke((...l) => s.handlePaste && s.handlePaste(...l), ["stop"])),
3928
+ onPaste: e[5] || (e[5] = Ie((...l) => s.handlePaste && s.handlePaste(...l), ["stop"])),
3929
3929
  ref: "input",
3930
3930
  "aria-controls": s.ariaControls,
3931
3931
  "aria-placeholder": s.ariaPlaceholder,
@@ -4068,11 +4068,11 @@ function _5(s, e, t, n, a, i) {
4068
4068
  role: "listbox"
4069
4069
  }, [
4070
4070
  t.groups ? (u(!0), C(
4071
- le,
4071
+ ae,
4072
4072
  { key: 0 },
4073
- pe(s.fg, (l, o, d) => (u(), C("li", {
4073
+ pe(s.fg, (l, o, c) => (u(), C("li", {
4074
4074
  class: F(s.classList.group),
4075
- key: d,
4075
+ key: c,
4076
4076
  id: s.ariaGroupId(l),
4077
4077
  "aria-label": s.ariaGroupLabel(s.localize(l[t.groupLabel])),
4078
4078
  "aria-selected": s.isSelected(l),
@@ -4082,8 +4082,8 @@ function _5(s, e, t, n, a, i) {
4082
4082
  key: 0,
4083
4083
  class: F(s.classList.groupLabel(l)),
4084
4084
  "data-pointed": s.isPointed(l),
4085
- onMouseenter: (c) => s.setPointer(l, o),
4086
- onClick: (c) => s.handleGroupClick(l)
4085
+ onMouseenter: (d) => s.setPointer(l, o),
4086
+ onClick: (d) => s.handleGroupClick(l)
4087
4087
  }, [
4088
4088
  Y(s.$slots, "grouplabel", {
4089
4089
  group: l,
@@ -4101,22 +4101,22 @@ function _5(s, e, t, n, a, i) {
4101
4101
  role: "group"
4102
4102
  }, [
4103
4103
  (u(!0), C(
4104
- le,
4104
+ ae,
4105
4105
  null,
4106
- pe(l.__VISIBLE__, (c, p, _) => (u(), C("li", {
4107
- class: F(s.classList.option(c, l)),
4108
- "data-pointed": s.isPointed(c),
4109
- "data-selected": s.isSelected(c) || void 0,
4106
+ pe(l.__VISIBLE__, (d, p, _) => (u(), C("li", {
4107
+ class: F(s.classList.option(d, l)),
4108
+ "data-pointed": s.isPointed(d),
4109
+ "data-selected": s.isSelected(d) || void 0,
4110
4110
  key: _,
4111
- onMouseenter: (m) => s.setPointer(c),
4112
- onClick: (m) => s.handleOptionClick(c),
4113
- id: s.ariaOptionId(c),
4114
- "aria-selected": s.isSelected(c),
4115
- "aria-label": s.ariaOptionLabel(s.localize(c[t.label])),
4111
+ onMouseenter: (m) => s.setPointer(d),
4112
+ onClick: (m) => s.handleOptionClick(d),
4113
+ id: s.ariaOptionId(d),
4114
+ "aria-selected": s.isSelected(d),
4115
+ "aria-label": s.ariaOptionLabel(s.localize(d[t.label])),
4116
4116
  role: "option"
4117
4117
  }, [
4118
4118
  Y(s.$slots, "option", {
4119
- option: c,
4119
+ option: d,
4120
4120
  isSelected: s.isSelected,
4121
4121
  isPointed: s.isPointed,
4122
4122
  search: s.search
@@ -4124,7 +4124,7 @@ function _5(s, e, t, n, a, i) {
4124
4124
  r(
4125
4125
  "span",
4126
4126
  null,
4127
- j(s.localize(c[t.label])),
4127
+ j(s.localize(d[t.label])),
4128
4128
  1
4129
4129
  /* TEXT */
4130
4130
  )
@@ -4138,15 +4138,15 @@ function _5(s, e, t, n, a, i) {
4138
4138
  128
4139
4139
  /* KEYED_FRAGMENT */
4140
4140
  )) : (u(!0), C(
4141
- le,
4141
+ ae,
4142
4142
  { key: 1 },
4143
- pe(s.fo, (l, o, d) => (u(), C("li", {
4143
+ pe(s.fo, (l, o, c) => (u(), C("li", {
4144
4144
  class: F(s.classList.option(l)),
4145
4145
  "data-pointed": s.isPointed(l),
4146
4146
  "data-selected": s.isSelected(l) || void 0,
4147
- key: d,
4148
- onMouseenter: (c) => s.setPointer(l),
4149
- onClick: (c) => s.handleOptionClick(l),
4147
+ key: c,
4148
+ onMouseenter: (d) => s.setPointer(l),
4149
+ onClick: (d) => s.handleOptionClick(l),
4150
4150
  id: s.ariaOptionId(l),
4151
4151
  "aria-selected": s.isSelected(l),
4152
4152
  "aria-label": s.ariaOptionLabel(s.localize(l[t.label])),
@@ -4221,7 +4221,7 @@ function _5(s, e, t, n, a, i) {
4221
4221
  }, null, 10, d5)) : w("v-if", !0),
4222
4222
  w(" Native input support "),
4223
4223
  t.nativeSupport ? (u(), C(
4224
- le,
4224
+ ae,
4225
4225
  { key: 1 },
4226
4226
  [
4227
4227
  t.mode == "single" ? (u(), C("input", {
@@ -4230,7 +4230,7 @@ function _5(s, e, t, n, a, i) {
4230
4230
  name: t.name,
4231
4231
  value: s.plainValue !== void 0 ? s.plainValue : ""
4232
4232
  }, null, 8, p5)) : (u(!0), C(
4233
- le,
4233
+ ae,
4234
4234
  { key: 1 },
4235
4235
  pe(s.plainValue, (l, o) => (u(), C("input", {
4236
4236
  type: "hidden",
@@ -4333,7 +4333,7 @@ K({
4333
4333
  };
4334
4334
  }
4335
4335
  });
4336
- const w5 = { class: "ao-subtasks" }, M5 = { class: "ao-subtasks__list" }, A5 = ["value", "onChange"], k5 = { class: "ao-subtasks__list-footer" }, I5 = /* @__PURE__ */ K({
4336
+ const w5 = { class: "ao-subtasks" }, M5 = { class: "ao-subtasks__list" }, A5 = ["value", "onChange"], I5 = { class: "ao-subtasks__list-footer" }, k5 = /* @__PURE__ */ K({
4337
4337
  __name: "AoActivitySubtasks",
4338
4338
  props: {
4339
4339
  activityId: {},
@@ -4368,9 +4368,9 @@ const w5 = { class: "ao-subtasks" }, M5 = { class: "ao-subtasks__list" }, A5 = [
4368
4368
  id: p,
4369
4369
  isDone: _
4370
4370
  });
4371
- }, d = (p) => {
4371
+ }, c = (p) => {
4372
4372
  e("delete", { id: p });
4373
- }, c = (p, _) => {
4373
+ }, d = (p, _) => {
4374
4374
  e("update", {
4375
4375
  id: _,
4376
4376
  assigneeId: p
@@ -4378,7 +4378,7 @@ const w5 = { class: "ao-subtasks" }, M5 = { class: "ao-subtasks__list" }, A5 = [
4378
4378
  };
4379
4379
  return (p, _) => (u(), C("div", w5, [
4380
4380
  r("ul", M5, [
4381
- (u(!0), C(le, null, pe(p.subtasks, (m) => {
4381
+ (u(!0), C(ae, null, pe(p.subtasks, (m) => {
4382
4382
  var $;
4383
4383
  return u(), C("li", {
4384
4384
  key: m.id,
@@ -4405,13 +4405,13 @@ const w5 = { class: "ao-subtasks" }, M5 = { class: "ao-subtasks__list" }, A5 = [
4405
4405
  searchable: !0,
4406
4406
  class: "ao-subtask__assignees",
4407
4407
  placeholder: p.$t("feed.filters.assignee.placeholder"),
4408
- onChange: (V) => c(V, m.id)
4408
+ onChange: (V) => d(V, m.id)
4409
4409
  }, {
4410
4410
  tag: R(({ option: V, handleTagRemove: E }) => [
4411
4411
  b(Ke, {
4412
4412
  "user-name": V.label,
4413
4413
  "is-closable": !0,
4414
- onClose: (k) => E(V, k)
4414
+ onClose: (I) => E(V, I)
4415
4415
  }, null, 8, ["user-name", "onClose"])
4416
4416
  ]),
4417
4417
  _: 2
@@ -4420,12 +4420,12 @@ const w5 = { class: "ao-subtasks" }, M5 = { class: "ao-subtasks__list" }, A5 = [
4420
4420
  class: "ao-subtask__delete",
4421
4421
  "icon-name": "CloseRounded",
4422
4422
  variant: "ghost",
4423
- onClick: () => d(m.id)
4423
+ onClick: () => c(m.id)
4424
4424
  }, null, 8, ["onClick"])
4425
4425
  ]);
4426
4426
  }), 128))
4427
4427
  ]),
4428
- r("div", k5, [
4428
+ r("div", I5, [
4429
4429
  b(ue, {
4430
4430
  label: p.$t("activity.subtasks.add"),
4431
4431
  "icon-name": "Add",
@@ -4450,41 +4450,41 @@ const S5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V5 = {
4450
4450
  },
4451
4451
  emits: ["add", "toggleIsDropActive", "remove"],
4452
4452
  setup(s, { emit: e }) {
4453
- const t = (c) => {
4454
- e("remove", c);
4455
- }, n = (c) => {
4456
- const p = c.target, _ = Array.from(p.files ?? []);
4453
+ const t = (d) => {
4454
+ e("remove", d);
4455
+ }, n = (d) => {
4456
+ const p = d.target, _ = Array.from(p.files ?? []);
4457
4457
  e("add", _);
4458
4458
  }, a = ["dragenter", "dragover", "dragleave", "drop"];
4459
4459
  m1(() => {
4460
- a.forEach((c) => {
4461
- document.body.addEventListener(c, (p) => p.preventDefault());
4460
+ a.forEach((d) => {
4461
+ document.body.addEventListener(d, (p) => p.preventDefault());
4462
4462
  });
4463
4463
  }), qt(() => {
4464
- a.forEach((c) => {
4464
+ a.forEach((d) => {
4465
4465
  document.body.removeEventListener(
4466
- c,
4466
+ d,
4467
4467
  (p) => p.preventDefault()
4468
4468
  );
4469
4469
  });
4470
4470
  });
4471
- const i = x(!1);
4471
+ const i = Q(!1);
4472
4472
  function l() {
4473
4473
  i.value = !0;
4474
4474
  }
4475
4475
  function o() {
4476
4476
  i.value = !1;
4477
4477
  }
4478
- de(i, (c) => {
4479
- e("toggleIsDropActive", c);
4478
+ de(i, (d) => {
4479
+ e("toggleIsDropActive", d);
4480
4480
  });
4481
- function d(c) {
4481
+ function c(d) {
4482
4482
  var _;
4483
4483
  o();
4484
- const p = Array.from(((_ = c.dataTransfer) == null ? void 0 : _.files) || []);
4485
- c.dataTransfer && e("add", p);
4484
+ const p = Array.from(((_ = d.dataTransfer) == null ? void 0 : _.files) || []);
4485
+ d.dataTransfer && e("add", p);
4486
4486
  }
4487
- return (c, p) => {
4487
+ return (d, p) => {
4488
4488
  var _;
4489
4489
  return u(), C("div", {
4490
4490
  class: F([
@@ -4493,13 +4493,13 @@ const S5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V5 = {
4493
4493
  "ao-files__wrapper--drop-active": i.value
4494
4494
  }
4495
4495
  ]),
4496
- onDrop: ke(d, ["prevent"]),
4497
- onDragenter: ke(l, ["prevent"]),
4498
- onDragover: ke(l, ["prevent"]),
4499
- onDragleave: ke(o, ["prevent"])
4496
+ onDrop: Ie(c, ["prevent"]),
4497
+ onDragenter: Ie(l, ["prevent"]),
4498
+ onDragover: Ie(l, ["prevent"]),
4499
+ onDragleave: Ie(o, ["prevent"])
4500
4500
  }, [
4501
- (_ = c.attachments) != null && _.length && c.attachments.length > 0 ? (u(), C("ul", V5, [
4502
- (u(!0), C(le, null, pe(c.attachments, (m) => (u(), C("li", {
4501
+ (_ = d.attachments) != null && _.length && d.attachments.length > 0 ? (u(), C("ul", V5, [
4502
+ (u(!0), C(ae, null, pe(d.attachments, (m) => (u(), C("li", {
4503
4503
  key: m.id,
4504
4504
  class: "ao-file"
4505
4505
  }, [
@@ -4509,7 +4509,7 @@ const S5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V5 = {
4509
4509
  target: "_blank",
4510
4510
  rel: "noopener noreferrer"
4511
4511
  }, [
4512
- b(ne, {
4512
+ b(le, {
4513
4513
  class: "ao-file__icon",
4514
4514
  name: "AttachFileRounded",
4515
4515
  size: "sm"
@@ -4528,7 +4528,7 @@ const S5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V5 = {
4528
4528
  ]))), 128))
4529
4529
  ])) : (u(), C("div", E5, [
4530
4530
  r("label", H5, [
4531
- r("span", O5, j(c.$t("activity.attachment.button.resting")), 1),
4531
+ r("span", O5, j(d.$t("activity.attachment.button.resting")), 1),
4532
4532
  r("input", {
4533
4533
  class: "input-field",
4534
4534
  type: "file",
@@ -4538,7 +4538,7 @@ const S5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V5 = {
4538
4538
  onChange: n
4539
4539
  }, null, 32)
4540
4540
  ]),
4541
- r("span", B5, j(c.$t("activity.attachment.placeholder.resting")), 1)
4541
+ r("span", B5, j(d.$t("activity.attachment.placeholder.resting")), 1)
4542
4542
  ]))
4543
4543
  ], 42, S5);
4544
4544
  };
@@ -4595,10 +4595,10 @@ const Z5 = {
4595
4595
  set(h) {
4596
4596
  e("update:activity", { id: t.activity.id, typeId: h });
4597
4597
  }
4598
- }), d = f(() => t.templateActivities.filter((h) => h.id !== t.activity.id).map((h) => ({
4598
+ }), c = f(() => t.templateActivities.filter((h) => h.id !== t.activity.id).map((h) => ({
4599
4599
  label: h.name,
4600
4600
  value: h.id
4601
- }))), c = f({
4601
+ }))), d = f({
4602
4602
  get() {
4603
4603
  return t.activity.dependingOn;
4604
4604
  },
@@ -4608,7 +4608,7 @@ const Z5 = {
4608
4608
  dependingOn: h
4609
4609
  });
4610
4610
  }
4611
- }), p = f(() => d.value.map((h) => {
4611
+ }), p = f(() => c.value.map((h) => {
4612
4612
  var H;
4613
4613
  return {
4614
4614
  ...h,
@@ -4624,7 +4624,7 @@ const Z5 = {
4624
4624
  blocking: h
4625
4625
  });
4626
4626
  }
4627
- }), m = f(() => d.value.map((h) => {
4627
+ }), m = f(() => c.value.map((h) => {
4628
4628
  var H;
4629
4629
  return {
4630
4630
  ...h,
@@ -4645,7 +4645,7 @@ const Z5 = {
4645
4645
  }
4646
4646
  }), E = (h) => {
4647
4647
  e("addSubtask", h);
4648
- }, k = (h) => {
4648
+ }, I = (h) => {
4649
4649
  e("updateSubtask", h);
4650
4650
  }, M = (h) => {
4651
4651
  e("deleteSubtask", h);
@@ -4666,7 +4666,7 @@ const Z5 = {
4666
4666
  assigneeId: h
4667
4667
  });
4668
4668
  }
4669
- }), ee = (h) => {
4669
+ }), x = (h) => {
4670
4670
  e("addFiles", {
4671
4671
  activityId: t.activity.id,
4672
4672
  files: h
@@ -4791,7 +4791,7 @@ const Z5 = {
4791
4791
  ]),
4792
4792
  r("fieldset", e7, [
4793
4793
  r("div", t7, [
4794
- b(ne, { name: "FlowsheetOutlineRounded" }),
4794
+ b(le, { name: "FlowsheetOutlineRounded" }),
4795
4795
  b(ce, {
4796
4796
  level: 4,
4797
4797
  title: h.$t("activity.dependencies.title")
@@ -4801,8 +4801,8 @@ const Z5 = {
4801
4801
  r("label", a7, [
4802
4802
  r("span", l7, j(h.$t("activity.dependingOn.label")), 1),
4803
4803
  b(O(ve), {
4804
- modelValue: c.value,
4805
- "onUpdate:modelValue": H[5] || (H[5] = (U) => c.value = U),
4804
+ modelValue: d.value,
4805
+ "onUpdate:modelValue": H[5] || (H[5] = (U) => d.value = U),
4806
4806
  class: "ao-field__multiselect",
4807
4807
  mode: "tags",
4808
4808
  "close-on-select": !1,
@@ -4842,19 +4842,19 @@ const Z5 = {
4842
4842
  ]),
4843
4843
  r("fieldset", d7, [
4844
4844
  r("div", p7, [
4845
- b(ne, { name: "SelectCheckBox" }),
4845
+ b(le, { name: "SelectCheckBox" }),
4846
4846
  b(ce, {
4847
4847
  level: 4,
4848
4848
  title: h.$t("activity.subtasks.title")
4849
4849
  }, null, 8, ["title"])
4850
4850
  ]),
4851
- b(I5, {
4851
+ b(k5, {
4852
4852
  class: "ao-activity-details__subtasks",
4853
4853
  subtasks: h.activity.tasks || [],
4854
4854
  "activity-id": h.activity.id,
4855
4855
  users: h.users,
4856
4856
  onAdd: E,
4857
- onUpdate: k,
4857
+ onUpdate: I,
4858
4858
  onDelete: M
4859
4859
  }, null, 8, ["subtasks", "activity-id", "users"])
4860
4860
  ]),
@@ -4862,7 +4862,7 @@ const Z5 = {
4862
4862
  ]),
4863
4863
  r("div", v7, [
4864
4864
  r("div", C7, [
4865
- b(ne, { name: "AttachFileRounded" }),
4865
+ b(le, { name: "AttachFileRounded" }),
4866
4866
  b(ce, {
4867
4867
  level: 4,
4868
4868
  title: h.$t("activity.attachments.title")
@@ -4870,7 +4870,7 @@ const Z5 = {
4870
4870
  ]),
4871
4871
  b(D5, {
4872
4872
  attachments: h.activity.attachments,
4873
- onAdd: ee,
4873
+ onAdd: x,
4874
4874
  onRemove: te
4875
4875
  }, null, 8, ["attachments"])
4876
4876
  ])
@@ -4903,7 +4903,7 @@ const _7 = {
4903
4903
  DAYS: "days",
4904
4904
  WEEKS: "weeks",
4905
4905
  MONTHS: "months"
4906
- }, oe = {
4906
+ }, ie = {
4907
4907
  TEMPLATES: "templates",
4908
4908
  PHASES: "phases",
4909
4909
  MILESTONES: "milestones",
@@ -4931,7 +4931,7 @@ const Uu = {
4931
4931
  emits: ["update:rule", "close"],
4932
4932
  setup(s, { emit: e }) {
4933
4933
  const t = s, n = xe(
4934
- t.rule.itemType || oe.ACTIVITIES
4934
+ t.rule.itemType || ie.ACTIVITIES
4935
4935
  ), a = f({
4936
4936
  get() {
4937
4937
  return n.value;
@@ -4943,7 +4943,7 @@ const Uu = {
4943
4943
  subItemId: void 0
4944
4944
  });
4945
4945
  }
4946
- }), i = f(() => Object.values(oe)), l = f({
4946
+ }), i = f(() => Object.values(ie)), l = f({
4947
4947
  get() {
4948
4948
  return t.rule.subItemId;
4949
4949
  },
@@ -4957,16 +4957,16 @@ const Uu = {
4957
4957
  }), o = f(() => {
4958
4958
  var y;
4959
4959
  return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (y = {
4960
- [oe.ACTIVITIES]: t.templateActivities,
4961
- [oe.MILESTONES]: t.templateMilestones,
4962
- [oe.PHASES]: t.templatePhases
4960
+ [ie.ACTIVITIES]: t.templateActivities,
4961
+ [ie.MILESTONES]: t.templateMilestones,
4962
+ [ie.PHASES]: t.templatePhases
4963
4963
  }[n.value]) == null ? void 0 : y.map((B) => ({
4964
4964
  value: B.id,
4965
4965
  label: B.name
4966
4966
  }));
4967
- }), d = xe(t.rule.comparator), c = f({
4967
+ }), c = xe(t.rule.comparator), d = f({
4968
4968
  get() {
4969
- return d.value;
4969
+ return c.value;
4970
4970
  },
4971
4971
  set(M) {
4972
4972
  e("update:rule", { ...t.rule, comparator: M });
@@ -4992,7 +4992,7 @@ const Uu = {
4992
4992
  set(M) {
4993
4993
  e("update:rule", { ...t.rule, durationUnit: M });
4994
4994
  }
4995
- }), k = f(() => Object.values(f7));
4995
+ }), I = f(() => Object.values(f7));
4996
4996
  return (M, y) => (u(), N(ze(M.tagName), { class: "ao-rule-line" }, {
4997
4997
  default: R(() => [
4998
4998
  b(O(ve), {
@@ -5011,8 +5011,8 @@ const Uu = {
5011
5011
  options: $.value
5012
5012
  }, null, 8, ["modelValue", "options"]),
5013
5013
  b(O(ve), {
5014
- modelValue: c.value,
5015
- "onUpdate:modelValue": y[3] || (y[3] = (B) => c.value = B),
5014
+ modelValue: d.value,
5015
+ "onUpdate:modelValue": y[3] || (y[3] = (B) => d.value = B),
5016
5016
  options: p.value
5017
5017
  }, null, 8, ["modelValue", "options"]),
5018
5018
  Ue(r("input", {
@@ -5030,7 +5030,7 @@ const Uu = {
5030
5030
  b(O(ve), {
5031
5031
  modelValue: E.value,
5032
5032
  "onUpdate:modelValue": y[5] || (y[5] = (B) => E.value = B),
5033
- options: k.value
5033
+ options: I.value
5034
5034
  }, null, 8, ["modelValue", "options"]),
5035
5035
  b(ue, {
5036
5036
  class: "ao-rule-line__remove",
@@ -5069,7 +5069,7 @@ const b7 = { class: "ao-template-rules__body" }, $7 = { class: "ao-template-rule
5069
5069
  default: R(() => [
5070
5070
  r("div", b7, [
5071
5071
  r("ul", $7, [
5072
- (u(!0), C(le, null, pe(a.rules, (l) => (u(), N(y7, {
5072
+ (u(!0), C(ae, null, pe(a.rules, (l) => (u(), N(y7, {
5073
5073
  key: l.id,
5074
5074
  rule: l,
5075
5075
  "template-phases": a.templatePhases,
@@ -5091,7 +5091,7 @@ const b7 = { class: "ao-template-rules__body" }, $7 = { class: "ao-template-rule
5091
5091
  }
5092
5092
  });
5093
5093
  function e1(s, e, t) {
5094
- const n = s.length, a = s.at(-1), i = a ? be.LexoRank.parse(a.rank).genNext() : be.LexoRank.middle();
5094
+ const n = s.length, a = s.at(-1), i = a ? ye.LexoRank.parse(a.rank).genNext() : ye.LexoRank.middle();
5095
5095
  return {
5096
5096
  name: t(`template.defaultName.${e}`, { idx: n + 1 }),
5097
5097
  rank: i.format()
@@ -5100,7 +5100,7 @@ function e1(s, e, t) {
5100
5100
  const M7 = {
5101
5101
  key: 0,
5102
5102
  class: "ao-template-details"
5103
- }, A7 = { class: "ao-template-details__body" }, k7 = { class: "ao-template-details__cols" }, I7 = { class: "ao-template-details__col" }, S7 = { class: "ao-list__footer" }, V7 = { class: "ao-template-details__col" }, L7 = { class: "ao-template-details__col" }, T7 = /* @__PURE__ */ K({
5103
+ }, A7 = { class: "ao-template-details__body" }, I7 = { class: "ao-template-details__cols" }, k7 = { class: "ao-template-details__col" }, S7 = { class: "ao-list__footer" }, V7 = { class: "ao-template-details__col" }, L7 = { class: "ao-template-details__col" }, T7 = /* @__PURE__ */ K({
5104
5104
  __name: "AoTemplateDetails",
5105
5105
  props: {
5106
5106
  templateId: {},
@@ -5129,19 +5129,19 @@ const M7 = {
5129
5129
  }), o = f(() => {
5130
5130
  var g, D;
5131
5131
  return ((D = (g = a.value) == null ? void 0 : g.phases) == null ? void 0 : D.reduce((T, G) => {
5132
- const Q = G.milestones || [];
5133
- return [...T, ...Q];
5132
+ const ee = G.milestones || [];
5133
+ return [...T, ...ee];
5134
5134
  }, [])) || [];
5135
- }), d = f(() => {
5135
+ }), c = f(() => {
5136
5136
  var g, D;
5137
5137
  return ((D = (g = a.value) == null ? void 0 : g.phases) == null ? void 0 : D.reduce((T, G) => {
5138
- const Ce = (G.milestones || []).reduce(
5139
- (he, ae) => ae.activities ? [...he, ...ae.activities] : he,
5138
+ const me = (G.milestones || []).reduce(
5139
+ ($e, ne) => ne.activities ? [...$e, ...ne.activities] : $e,
5140
5140
  []
5141
5141
  );
5142
- return [...T, ...Ce];
5142
+ return [...T, ...me];
5143
5143
  }, [])) || [];
5144
- }), c = f(() => {
5144
+ }), d = f(() => {
5145
5145
  var g, D;
5146
5146
  return (D = (g = l.value) == null ? void 0 : g.activities) == null ? void 0 : D.find(
5147
5147
  (T) => T.id === t.activityId
@@ -5164,7 +5164,7 @@ const M7 = {
5164
5164
  n
5165
5165
  );
5166
5166
  e("addItem", {
5167
- type: oe.PHASES,
5167
+ type: ie.PHASES,
5168
5168
  templateId: t.templateId,
5169
5169
  item: {
5170
5170
  name: g,
@@ -5176,12 +5176,12 @@ const M7 = {
5176
5176
  e("updateItem", {
5177
5177
  templateId: t.templateId,
5178
5178
  id: t.templateId,
5179
- itemType: oe.TEMPLATES,
5179
+ itemType: ie.TEMPLATES,
5180
5180
  data: { name: g }
5181
5181
  });
5182
5182
  }, V = (g) => {
5183
5183
  e("removeItem", {
5184
- type: oe.PHASES,
5184
+ type: ie.PHASES,
5185
5185
  templateId: t.templateId,
5186
5186
  data: {
5187
5187
  id: g
@@ -5191,10 +5191,10 @@ const M7 = {
5191
5191
  e("updateItem", {
5192
5192
  templateId: t.templateId,
5193
5193
  id: g,
5194
- itemType: oe.PHASES,
5194
+ itemType: ie.PHASES,
5195
5195
  data: { name: D }
5196
5196
  });
5197
- }, k = (g) => {
5197
+ }, I = (g) => {
5198
5198
  e("updateItem", g);
5199
5199
  }, M = (g) => {
5200
5200
  if (!i.value)
@@ -5205,7 +5205,7 @@ const M7 = {
5205
5205
  n
5206
5206
  );
5207
5207
  e("addItem", {
5208
- type: oe.MILESTONES,
5208
+ type: ie.MILESTONES,
5209
5209
  templateId: t.templateId,
5210
5210
  phaseId: g.phaseId,
5211
5211
  item: {
@@ -5216,7 +5216,7 @@ const M7 = {
5216
5216
  });
5217
5217
  }, y = (g) => {
5218
5218
  e("removeItem", {
5219
- type: oe.MILESTONES,
5219
+ type: ie.MILESTONES,
5220
5220
  templateId: t.templateId,
5221
5221
  phaseId: g.phaseId,
5222
5222
  data: {
@@ -5226,12 +5226,12 @@ const M7 = {
5226
5226
  }, B = (g) => {
5227
5227
  const { id: D, ...T } = g;
5228
5228
  e("updateItem", {
5229
- itemType: oe.MILESTONES,
5229
+ itemType: ie.MILESTONES,
5230
5230
  id: D,
5231
5231
  templateId: t.templateId,
5232
5232
  data: T
5233
5233
  });
5234
- }, ee = (g) => {
5234
+ }, x = (g) => {
5235
5235
  const { milestoneId: D } = g;
5236
5236
  if (!l.value)
5237
5237
  return;
@@ -5241,14 +5241,14 @@ const M7 = {
5241
5241
  n
5242
5242
  );
5243
5243
  e("addItem", {
5244
- type: oe.ACTIVITIES,
5244
+ type: ie.ACTIVITIES,
5245
5245
  milestoneId: D,
5246
5246
  item: { name: T, rank: G, milestoneId: D }
5247
5247
  });
5248
5248
  }, te = (g) => {
5249
5249
  const { phaseId: D, milestoneId: T } = g;
5250
5250
  e("removeItem", {
5251
- type: oe.ACTIVITIES,
5251
+ type: ie.ACTIVITIES,
5252
5252
  templateId: t.templateId,
5253
5253
  phaseId: D,
5254
5254
  milestoneId: T,
@@ -5259,23 +5259,23 @@ const M7 = {
5259
5259
  }, h = (g) => {
5260
5260
  const { id: D, ...T } = g;
5261
5261
  e("updateItem", {
5262
- itemType: oe.ACTIVITIES,
5262
+ itemType: ie.ACTIVITIES,
5263
5263
  id: D,
5264
5264
  templateId: t.templateId,
5265
5265
  data: T
5266
5266
  });
5267
- }, H = x(!1), U = () => {
5267
+ }, H = Q(!1), U = () => {
5268
5268
  H.value = !H.value;
5269
5269
  }, se = () => {
5270
5270
  e("addRule", { templateId: t.templateId });
5271
5271
  }, re = (g) => {
5272
5272
  e("removeRule", { id: g, templateId: t.templateId });
5273
- }, _e = (g) => {
5273
+ }, Ce = (g) => {
5274
5274
  var D;
5275
5275
  if (g.moved) {
5276
5276
  const T = w1(g, ((D = a.value) == null ? void 0 : D.phases) ?? []);
5277
5277
  e("updateItem", {
5278
- itemType: oe.PHASES,
5278
+ itemType: ie.PHASES,
5279
5279
  id: g.moved.element.id,
5280
5280
  templateId: t.templateId,
5281
5281
  data: {
@@ -5284,8 +5284,8 @@ const M7 = {
5284
5284
  });
5285
5285
  }
5286
5286
  }, Z = (g) => {
5287
- !i.value || !l.value || !c.value || e("addItem", {
5288
- type: oe.SUBTASKS,
5287
+ !i.value || !l.value || !d.value || e("addItem", {
5288
+ type: ie.SUBTASKS,
5289
5289
  activityId: g.activityId,
5290
5290
  milestoneId: l.value.id,
5291
5291
  phaseId: i.value.id,
@@ -5293,23 +5293,19 @@ const M7 = {
5293
5293
  item: g
5294
5294
  });
5295
5295
  }, X = (g) => {
5296
- var G, Q, Ce, he;
5297
- if (!i.value || !l.value || !c.value)
5298
- return;
5299
- const D = [...((G = c.value) == null ? void 0 : G.subtasks) || []], T = D.findIndex((ae) => ae.id === g.id);
5300
- D[T] = {
5301
- ...D[T],
5302
- ...g
5303
- }, h({
5304
- id: (Q = c.value) == null ? void 0 : Q.id,
5305
- phaseId: (Ce = i.value) == null ? void 0 : Ce.id,
5306
- milestoneId: (he = l.value) == null ? void 0 : he.id,
5307
- subtasks: D
5296
+ var D, T, G;
5297
+ !i.value || !l.value || !d.value || e("updateItem", {
5298
+ itemType: ie.SUBTASKS,
5299
+ phaseId: (D = i.value) == null ? void 0 : D.id,
5300
+ milestoneId: (T = l.value) == null ? void 0 : T.id,
5301
+ activityId: (G = d.value) == null ? void 0 : G.id,
5302
+ templateId: t.templateId,
5303
+ data: g
5308
5304
  });
5309
5305
  }, A = (g) => {
5310
- !i.value || !l.value || !c.value || e("removeItem", {
5311
- type: oe.SUBTASKS,
5312
- activityId: c.value.id,
5306
+ !i.value || !l.value || !d.value || e("removeItem", {
5307
+ type: ie.SUBTASKS,
5308
+ activityId: d.value.id,
5313
5309
  milestoneId: l.value.id,
5314
5310
  phaseId: i.value.id,
5315
5311
  templateId: t.templateId,
@@ -5317,11 +5313,11 @@ const M7 = {
5317
5313
  });
5318
5314
  }, W = (g) => {
5319
5315
  e("addFiles", g);
5320
- }, me = (g) => {
5316
+ }, _e = (g) => {
5321
5317
  e("removeFile", g);
5322
5318
  };
5323
5319
  return (g, D) => {
5324
- var T, G, Q, Ce, he, ae;
5320
+ var T, G, ee, me, $e, ne;
5325
5321
  return a.value ? (u(), C("div", M7, [
5326
5322
  b(M1, {
5327
5323
  "can-go-back": !0,
@@ -5349,14 +5345,14 @@ const M7 = {
5349
5345
  _: 1
5350
5346
  }),
5351
5347
  r("div", A7, [
5352
- r("ol", k7, [
5353
- r("li", I7, [
5348
+ r("ol", I7, [
5349
+ r("li", k7, [
5354
5350
  b(O(n1), {
5355
5351
  "model-value": a.value.phases,
5356
5352
  class: "ao-templates__list",
5357
5353
  "item-key": "id",
5358
5354
  handle: ".ao-card__drag",
5359
- onChange: _e
5355
+ onChange: Ce
5360
5356
  }, {
5361
5357
  header: R(() => [
5362
5358
  b(ce, {
@@ -5366,13 +5362,13 @@ const M7 = {
5366
5362
  }, null, 8, ["title"])
5367
5363
  ]),
5368
5364
  item: R(({ element: q }) => {
5369
- var I;
5365
+ var k;
5370
5366
  return [
5371
- b(k3, {
5367
+ b(I3, {
5372
5368
  id: q.id,
5373
5369
  name: q.name,
5374
5370
  milestones: q.milestones,
5375
- "is-active": ((I = i.value) == null ? void 0 : I.id) === q.id,
5371
+ "is-active": ((k = i.value) == null ? void 0 : k.id) === q.id,
5376
5372
  "is-draggable": !0,
5377
5373
  onClick: (P) => g.$router.push({
5378
5374
  params: { templateId: g.templateId, phaseId: q.id }
@@ -5404,7 +5400,7 @@ const M7 = {
5404
5400
  "milestone-id": (T = l.value) == null ? void 0 : T.id,
5405
5401
  onAddMilestone: M,
5406
5402
  onUpdateMilestone: B,
5407
- onUpdatePhase: k,
5403
+ onUpdatePhase: I,
5408
5404
  onRemoveMilestone: y
5409
5405
  }, null, 8, ["template-id", "phase", "milestone-id"])) : w("", !0)
5410
5406
  ]),
@@ -5414,8 +5410,8 @@ const M7 = {
5414
5410
  "template-id": g.templateId,
5415
5411
  "phase-id": (G = i.value) == null ? void 0 : G.id,
5416
5412
  milestone: l.value,
5417
- "activity-id": (Q = c.value) == null ? void 0 : Q.id,
5418
- onAddActivity: ee,
5413
+ "activity-id": (ee = d.value) == null ? void 0 : ee.id,
5414
+ onAddActivity: x,
5419
5415
  onUpdateActivity: h,
5420
5416
  onRemoveActivity: te
5421
5417
  }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : w("", !0)
@@ -5423,24 +5419,24 @@ const M7 = {
5423
5419
  ])
5424
5420
  ]),
5425
5421
  (u(), N(C1, { to: "body" }, [
5426
- c.value ? (u(), N(R1, {
5422
+ d.value ? (u(), N(R1, {
5427
5423
  key: 0,
5428
- activity: c.value,
5424
+ activity: d.value,
5429
5425
  "activity-types": p.value,
5430
- breadcrumbs: `${a.value.name} / ${(Ce = i.value) == null ? void 0 : Ce.name} / ${(he = l.value) == null ? void 0 : he.name}`,
5431
- "milestone-id": (ae = l.value) == null ? void 0 : ae.id,
5432
- "template-activities": d.value,
5426
+ breadcrumbs: `${a.value.name} / ${(me = i.value) == null ? void 0 : me.name} / ${($e = l.value) == null ? void 0 : $e.name}`,
5427
+ "milestone-id": (ne = l.value) == null ? void 0 : ne.id,
5428
+ "template-activities": c.value,
5433
5429
  "template-milestones": o.value,
5434
5430
  "is-template": !0,
5435
5431
  "onUpdate:activity": D[2] || (D[2] = (q) => {
5436
- c.value && h(q);
5432
+ d.value && h(q);
5437
5433
  }),
5438
5434
  onClose: g.$router.back,
5439
5435
  onAddSubtask: Z,
5440
5436
  onUpdateSubtask: X,
5441
5437
  onDeleteSubtask: A,
5442
5438
  onAddFiles: W,
5443
- onRemoveFile: me
5439
+ onRemoveFile: _e
5444
5440
  }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : w("", !0)
5445
5441
  ])),
5446
5442
  (u(), N(C1, { to: "body" }, [
@@ -5450,7 +5446,7 @@ const M7 = {
5450
5446
  rules: a.value.rules || [],
5451
5447
  "template-phases": a.value.phases,
5452
5448
  "template-milestones": o.value,
5453
- "template-activities": d.value,
5449
+ "template-activities": c.value,
5454
5450
  onClose: U,
5455
5451
  onAddRule: se,
5456
5452
  onRemoveRule: re
@@ -5503,7 +5499,7 @@ const q1 = /* @__PURE__ */ K({
5503
5499
  class: F(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
5504
5500
  role: "meter"
5505
5501
  }, [
5506
- (u(!0), C(le, null, pe(t.value, (i) => (u(), C("div", {
5502
+ (u(!0), C(ae, null, pe(t.value, (i) => (u(), C("div", {
5507
5503
  key: i,
5508
5504
  class: F(["ao-progress__progress"]),
5509
5505
  style: Ft({ width: `${i * 100}%` })
@@ -5551,9 +5547,9 @@ const B7 = { class: "ao-card-project-phase__header" }, D7 = { class: "ao-card-pr
5551
5547
  footer: R(() => [
5552
5548
  r("div", D7, [
5553
5549
  r("div", Z7, [
5554
- t.value ? (u(), C(le, { key: 0 }, [
5550
+ t.value ? (u(), C(ae, { key: 0 }, [
5555
5551
  r("div", P7, [
5556
- b(ne, {
5552
+ b(le, {
5557
5553
  name: "MountainFlagOutlineRounded",
5558
5554
  size: "sm"
5559
5555
  }),
@@ -5592,8 +5588,8 @@ const U7 = { class: "ao-card-project-phase__footer" }, q7 = { class: "ao-card-pr
5592
5588
  }), n = f(() => {
5593
5589
  var i;
5594
5590
  return (i = e.activities) == null ? void 0 : i.filter((l) => {
5595
- var o, d;
5596
- return ((o = l.status) == null ? void 0 : o.id) === ((d = e.doneStatus) == null ? void 0 : d.id);
5591
+ var o, c;
5592
+ return ((o = l.status) == null ? void 0 : o.id) === ((c = e.doneStatus) == null ? void 0 : c.id);
5597
5593
  }).length;
5598
5594
  }), a = f(() => (n.value || 0) / (t.value || 1));
5599
5595
  return (i, l) => (u(), N(U1, {
@@ -5610,9 +5606,9 @@ const U7 = { class: "ao-card-project-phase__footer" }, q7 = { class: "ao-card-pr
5610
5606
  footer: R(() => [
5611
5607
  r("div", U7, [
5612
5608
  r("div", q7, [
5613
- t.value ? (u(), C(le, { key: 0 }, [
5609
+ t.value ? (u(), C(ae, { key: 0 }, [
5614
5610
  r("div", z7, [
5615
- b(ne, {
5611
+ b(le, {
5616
5612
  name: "SelectCheckBox",
5617
5613
  size: "sm"
5618
5614
  }),
@@ -5642,8 +5638,8 @@ const Y7 = { class: "ao-project-phase" }, W7 = { class: "ao-project-phase__col-p
5642
5638
  emits: ["addMilestone"],
5643
5639
  setup(s, { emit: e }) {
5644
5640
  const t = s, { t: n } = Ge(), a = f(() => t.phase.milestones), i = (l) => {
5645
- const { name: o, rank: d } = e1(a.value ?? [], "milestone", n);
5646
- e("addMilestone", { name: o, rank: d, phaseId: l });
5641
+ const { name: o, rank: c } = e1(a.value ?? [], "milestone", n);
5642
+ e("addMilestone", { name: o, rank: c, phaseId: l });
5647
5643
  };
5648
5644
  return (l, o) => (u(), C("li", Y7, [
5649
5645
  r("div", W7, [
@@ -5657,15 +5653,15 @@ const Y7 = { class: "ao-project-phase" }, W7 = { class: "ao-project-phase__col-p
5657
5653
  r("div", X7, [
5658
5654
  r("div", J7, [
5659
5655
  r("ul", Q7, [
5660
- (u(!0), C(le, null, pe(a.value, (d) => (u(), N(G7, {
5661
- id: d.id,
5662
- key: d.id,
5663
- name: d.name,
5664
- activities: d.activities,
5656
+ (u(!0), C(ae, null, pe(a.value, (c) => (u(), N(G7, {
5657
+ id: c.id,
5658
+ key: c.id,
5659
+ name: c.name,
5660
+ activities: c.activities,
5665
5661
  class: "ao-project-phase__milestone",
5666
- onClick: (c) => l.$router.push({
5662
+ onClick: (d) => l.$router.push({
5667
5663
  name: O(qe).milestone,
5668
- params: { phaseId: l.phase.id, milestoneId: d.id }
5664
+ params: { phaseId: l.phase.id, milestoneId: c.id }
5669
5665
  })
5670
5666
  }, null, 8, ["id", "name", "activities", "onClick"]))), 128))
5671
5667
  ]),
@@ -5691,51 +5687,51 @@ const t0 = { class: "ao-project" }, s0 = { class: "ao-project__body" }, a0 = { c
5691
5687
  },
5692
5688
  emits: ["addPhase", "addMilestone", "addActivity", "update:activity", "addSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
5693
5689
  setup(s, { emit: e }) {
5694
- const t = s, { t: n } = Ge(), a = f(() => t.phases.reduce((k, M) => [...k, ...M.milestones || []], [])), i = () => {
5695
- const { name: k, rank: M } = e1(t.phases, "phase", n);
5696
- e("addPhase", { name: k, rank: M, projectId: t.project.id });
5697
- }, l = (k) => {
5698
- e("addMilestone", k);
5699
- }, o = (k) => {
5700
- e("addActivity", k);
5701
- }, d = (k) => {
5702
- e("update:activity", k);
5703
- }, c = (k) => {
5690
+ const t = s, { t: n } = Ge(), a = f(() => t.phases.reduce((I, M) => [...I, ...M.milestones || []], [])), i = () => {
5691
+ const { name: I, rank: M } = e1(t.phases, "phase", n);
5692
+ e("addPhase", { name: I, rank: M, projectId: t.project.id });
5693
+ }, l = (I) => {
5694
+ e("addMilestone", I);
5695
+ }, o = (I) => {
5696
+ e("addActivity", I);
5697
+ }, c = (I) => {
5698
+ e("update:activity", I);
5699
+ }, d = (I) => {
5704
5700
  var B;
5705
- const M = t.phases.find((ee) => {
5701
+ const M = t.phases.find((x) => {
5706
5702
  var te;
5707
- return (te = ee.milestones) == null ? void 0 : te.find((h) => {
5703
+ return (te = x.milestones) == null ? void 0 : te.find((h) => {
5708
5704
  var H;
5709
- return (H = h.activities) == null ? void 0 : H.find((U) => U.id === k.activityId);
5705
+ return (H = h.activities) == null ? void 0 : H.find((U) => U.id === I.activityId);
5710
5706
  });
5711
- }), y = (B = M == null ? void 0 : M.milestones) == null ? void 0 : B.find((ee) => {
5707
+ }), y = (B = M == null ? void 0 : M.milestones) == null ? void 0 : B.find((x) => {
5712
5708
  var te;
5713
- return (te = ee.activities) == null ? void 0 : te.find((h) => h.id === k.activityId);
5709
+ return (te = x.activities) == null ? void 0 : te.find((h) => h.id === I.activityId);
5714
5710
  });
5715
5711
  e("addSubtask", {
5716
5712
  milestoneId: y == null ? void 0 : y.id,
5717
5713
  phaseId: M == null ? void 0 : M.id,
5718
- ...k
5714
+ ...I
5719
5715
  });
5720
- }, p = f(() => a.value.reduce((k, M) => [...k, ...M.activities || []], [])), _ = (k) => {
5721
- e("addFiles", k);
5722
- }, m = (k) => {
5723
- e("removeFile", k);
5724
- }, $ = (k) => {
5725
- e("addComment", k);
5726
- }, V = (k) => {
5727
- e("updateComment", k);
5728
- }, E = (k) => {
5729
- e("removeComment", k);
5716
+ }, p = f(() => a.value.reduce((I, M) => [...I, ...M.activities || []], [])), _ = (I) => {
5717
+ e("addFiles", I);
5718
+ }, m = (I) => {
5719
+ e("removeFile", I);
5720
+ }, $ = (I) => {
5721
+ e("addComment", I);
5722
+ }, V = (I) => {
5723
+ e("updateComment", I);
5724
+ }, E = (I) => {
5725
+ e("removeComment", I);
5730
5726
  };
5731
- return (k, M) => {
5727
+ return (I, M) => {
5732
5728
  const y = Kt("RouterView");
5733
- return u(), C(le, null, [
5729
+ return u(), C(ae, null, [
5734
5730
  r("div", t0, [
5735
5731
  b(M1, null, {
5736
5732
  primary: R(() => [
5737
5733
  b(ue, {
5738
- label: k.$t("project.phases.add"),
5734
+ label: I.$t("project.phases.add"),
5739
5735
  color: "primary",
5740
5736
  onClick: i
5741
5737
  }, null, 8, ["label"])
@@ -5746,36 +5742,36 @@ const t0 = { class: "ao-project" }, s0 = { class: "ao-project__body" }, a0 = { c
5746
5742
  r("header", a0, [
5747
5743
  r("div", l0, [
5748
5744
  r("div", n0, [
5749
- b(ne, {
5745
+ b(le, {
5750
5746
  class: "ao-project__col-title-icon",
5751
5747
  name: "WaterfallChartRounded",
5752
5748
  size: "md"
5753
5749
  }),
5754
5750
  b(ce, {
5755
5751
  level: 3,
5756
- title: k.$t("project.phases.title")
5752
+ title: I.$t("project.phases.title")
5757
5753
  }, null, 8, ["title"])
5758
5754
  ])
5759
5755
  ]),
5760
5756
  r("div", i0, [
5761
5757
  r("div", o0, [
5762
- b(ne, {
5758
+ b(le, {
5763
5759
  class: "ao-project__col-title-icon",
5764
5760
  name: "MountainFlagOutlineRounded",
5765
5761
  size: "md"
5766
5762
  }),
5767
5763
  b(ce, {
5768
5764
  level: 3,
5769
- title: k.$t("project.milestones.title")
5765
+ title: I.$t("project.milestones.title")
5770
5766
  }, null, 8, ["title"])
5771
5767
  ])
5772
5768
  ])
5773
5769
  ]),
5774
5770
  r("ul", r0, [
5775
- (u(!0), C(le, null, pe(k.phases, (B) => (u(), N(e0, {
5771
+ (u(!0), C(ae, null, pe(I.phases, (B) => (u(), N(e0, {
5776
5772
  key: B.id,
5777
5773
  phase: B,
5778
- "project-name": k.project.name,
5774
+ "project-name": I.project.name,
5779
5775
  onAddMilestone: l
5780
5776
  }, null, 8, ["phase", "project-name"]))), 128))
5781
5777
  ])
@@ -5784,17 +5780,17 @@ const t0 = { class: "ao-project" }, s0 = { class: "ao-project__body" }, a0 = { c
5784
5780
  b(y, {
5785
5781
  class: "ao-project__sidebar",
5786
5782
  milestones: a.value,
5787
- "project-name": k.project.name,
5788
- users: k.users,
5789
- onClose: M[0] || (M[0] = (B) => k.$router.push({ name: O(qe).project })),
5783
+ "project-name": I.project.name,
5784
+ users: I.users,
5785
+ onClose: M[0] || (M[0] = (B) => I.$router.push({ name: O(qe).project })),
5790
5786
  onAddActivity: o
5791
5787
  }, null, 8, ["milestones", "project-name", "users"]),
5792
5788
  (u(), N(C1, { to: "body" }, [
5793
5789
  b(y, {
5794
5790
  name: "modal",
5795
5791
  activities: p.value,
5796
- "onUpdate:activity": d,
5797
- onAddSubtask: c,
5792
+ "onUpdate:activity": c,
5793
+ onAddSubtask: d,
5798
5794
  onAddFiles: _,
5799
5795
  onRemoveFile: m,
5800
5796
  onAddComment: $,
@@ -5830,7 +5826,7 @@ const c0 = { class: "ao-card-feed__header" }, d0 = {
5830
5826
  }, w0 = { class: "ao-card-feed__subitem" }, M0 = { class: "ao-card-feed__footer-row" }, A0 = {
5831
5827
  key: 0,
5832
5828
  class: "ao-card-feed__progress-wrapper"
5833
- }, k0 = { class: "ao-card-feed__subitem" }, I0 = { class: "ao-card-feed__subitem" }, _t = /* @__PURE__ */ K({
5829
+ }, I0 = { class: "ao-card-feed__subitem" }, k0 = { class: "ao-card-feed__subitem" }, _t = /* @__PURE__ */ K({
5834
5830
  __name: "AoCardFeed",
5835
5831
  props: {
5836
5832
  id: {},
@@ -5864,13 +5860,13 @@ const c0 = { class: "ao-card-feed__header" }, d0 = {
5864
5860
  return m && $ ? `${m} ${$}` : "";
5865
5861
  }, o = (_) => {
5866
5862
  e("removeAssignee", _);
5867
- }, d = f(() => {
5863
+ }, c = f(() => {
5868
5864
  var _;
5869
5865
  return (_ = t.subtasks) == null ? void 0 : _.length;
5870
- }), c = f(() => {
5866
+ }), d = f(() => {
5871
5867
  var _;
5872
5868
  return (_ = t.subtasks) == null ? void 0 : _.filter((m) => m.isDone).length;
5873
- }), p = f(() => (c.value || 0) / (d.value || 1));
5869
+ }), p = f(() => (d.value || 0) / (c.value || 1));
5874
5870
  return (_, m) => (u(), N(U1, {
5875
5871
  class: "ao-card-feed",
5876
5872
  "is-clickable": !0
@@ -5884,7 +5880,7 @@ const c0 = { class: "ao-card-feed__header" }, d0 = {
5884
5880
  variant: "solid",
5885
5881
  color: "primary"
5886
5882
  }, null, 8, ["label"])) : w("", !0),
5887
- _.isImportant ? (u(), N(ne, {
5883
+ _.isImportant ? (u(), N(le, {
5888
5884
  key: 1,
5889
5885
  name: "FlagRounded",
5890
5886
  class: "ao-card-feed__important ao-card-feed__header-secondary",
@@ -5911,7 +5907,7 @@ const c0 = { class: "ao-card-feed__header" }, d0 = {
5911
5907
  r("div", _0, [
5912
5908
  r("div", m0, [
5913
5909
  r("ul", h0, [
5914
- (u(!0), C(le, null, pe(i.value, ($) => (u(), C(le, {
5910
+ (u(!0), C(ae, null, pe(i.value, ($) => (u(), C(ae, {
5915
5911
  key: $.id
5916
5912
  }, [
5917
5913
  $ ? (u(), C("li", f0, [
@@ -5925,14 +5921,14 @@ const c0 = { class: "ao-card-feed__header" }, d0 = {
5925
5921
  ]),
5926
5922
  _.comments || _.attachments ? (u(), C("ul", g0, [
5927
5923
  _.comments ? (u(), C("li", y0, [
5928
- b(ne, {
5924
+ b(le, {
5929
5925
  name: "ChatOutline",
5930
5926
  size: "sm"
5931
5927
  }),
5932
5928
  r("span", b0, j(_.comments), 1)
5933
5929
  ])) : w("", !0),
5934
5930
  _.attachments ? (u(), C("li", $0, [
5935
- b(ne, {
5931
+ b(le, {
5936
5932
  name: "AttachFileRounded",
5937
5933
  size: "sm"
5938
5934
  }),
@@ -5942,12 +5938,12 @@ const c0 = { class: "ao-card-feed__header" }, d0 = {
5942
5938
  ]),
5943
5939
  r("div", M0, [
5944
5940
  _.subtasks ? (u(), C("div", A0, [
5945
- r("div", k0, [
5946
- b(ne, {
5941
+ r("div", I0, [
5942
+ b(le, {
5947
5943
  name: "SelectCheckBox",
5948
5944
  size: "sm"
5949
5945
  }),
5950
- r("span", I0, j(c.value) + " / " + j(d.value), 1)
5946
+ r("span", k0, j(d.value) + " / " + j(c.value), 1)
5951
5947
  ]),
5952
5948
  b(q1, {
5953
5949
  percentages: p.value,
@@ -5975,7 +5971,7 @@ const S0 = { class: "ao-project-milestone" }, V0 = { class: "ao-project-mileston
5975
5971
  setup(s, { emit: e }) {
5976
5972
  const t = s, n = f(() => {
5977
5973
  var o;
5978
- return (o = t.milestones) == null ? void 0 : o.find((d) => d.id === t.milestoneId);
5974
+ return (o = t.milestones) == null ? void 0 : o.find((c) => c.id === t.milestoneId);
5979
5975
  }), a = f(() => {
5980
5976
  var o;
5981
5977
  return (o = n.value) == null ? void 0 : o.activities;
@@ -5987,14 +5983,14 @@ const S0 = { class: "ao-project-milestone" }, V0 = { class: "ao-project-mileston
5987
5983
  phaseId: t.phaseId
5988
5984
  });
5989
5985
  };
5990
- return (o, d) => {
5991
- var c;
5986
+ return (o, c) => {
5987
+ var d;
5992
5988
  return u(), C("div", S0, [
5993
5989
  r("header", V0, [
5994
5990
  r("div", L0, [
5995
5991
  r("span", null, j(o.$t("project.milestone.title")), 1),
5996
5992
  b(ce, {
5997
- title: ((c = n.value) == null ? void 0 : c.name) || o.milestoneId,
5993
+ title: ((d = n.value) == null ? void 0 : d.name) || o.milestoneId,
5998
5994
  level: 5
5999
5995
  }, null, 8, ["title"])
6000
5996
  ]),
@@ -6006,7 +6002,7 @@ const S0 = { class: "ao-project-milestone" }, V0 = { class: "ao-project-mileston
6006
6002
  ]),
6007
6003
  r("div", T0, [
6008
6004
  r("ul", E0, [
6009
- (u(!0), C(le, null, pe(a.value, (p) => {
6005
+ (u(!0), C(ae, null, pe(a.value, (p) => {
6010
6006
  var _, m, $;
6011
6007
  return u(), N(_t, {
6012
6008
  key: p.id,
@@ -6040,7 +6036,7 @@ const S0 = { class: "ao-project-milestone" }, V0 = { class: "ao-project-mileston
6040
6036
  };
6041
6037
  }
6042
6038
  });
6043
- const lt = x([]), nt = x("");
6039
+ const lt = Q([]), nt = Q("");
6044
6040
  function O0() {
6045
6041
  return {
6046
6042
  init: (e) => {
@@ -6067,7 +6063,7 @@ const B0 = { class: "ao-comment" }, D0 = { class: "ao-comment__body" }, Z0 = ["c
6067
6063
  const t = s, n = f(() => {
6068
6064
  const m = t.user;
6069
6065
  return m ? `${m == null ? void 0 : m.firstName} ${m == null ? void 0 : m.lastName}` : null;
6070
- }), a = x(null), { isEditing: i, toggleIsEditing: l, onUpdate: o, onDiscard: d } = ot(a), c = d(), p = o((m) => {
6066
+ }), a = Q(null), { isEditing: i, toggleIsEditing: l, onUpdate: o, onDiscard: c } = ot(a), d = c(), p = o((m) => {
6071
6067
  e("edit", m);
6072
6068
  }), _ = () => {
6073
6069
  e("remove");
@@ -6088,13 +6084,13 @@ const B0 = { class: "ao-comment" }, D0 = { class: "ao-comment__body" }, Z0 = ["c
6088
6084
  r("span", P0, j(m.editedAt || m.createdAt), 1)
6089
6085
  ]),
6090
6086
  m.isEditable ? (u(), C("div", N0, [
6091
- O(i) ? (u(), C(le, { key: 0 }, [
6087
+ O(i) ? (u(), C(ae, { key: 0 }, [
6092
6088
  b(ue, {
6093
6089
  "icon-name": "CloseRounded",
6094
6090
  size: "sm",
6095
6091
  variant: "ghost",
6096
6092
  color: "neutral",
6097
- onClick: O(c)
6093
+ onClick: O(d)
6098
6094
  }, null, 8, ["onClick"]),
6099
6095
  b(ue, {
6100
6096
  "icon-name": "CheckSmallRounded",
@@ -6103,7 +6099,7 @@ const B0 = { class: "ao-comment" }, D0 = { class: "ao-comment__body" }, Z0 = ["c
6103
6099
  color: "neutral",
6104
6100
  onClick: O(p)
6105
6101
  }, null, 8, ["onClick"])
6106
- ], 64)) : (u(), C(le, { key: 1 }, [
6102
+ ], 64)) : (u(), C(ae, { key: 1 }, [
6107
6103
  b(ue, {
6108
6104
  label: m.$t("activity.comment.delete"),
6109
6105
  size: "sm",
@@ -6136,47 +6132,47 @@ const R0 = { class: "ao-comments" }, U0 = {
6136
6132
  },
6137
6133
  emits: ["createComment", "updateComment", "removeComment"],
6138
6134
  setup(s, { emit: e }) {
6139
- const t = s, n = (c) => t.users.find((_) => _.id === c), a = xe(t.newComment || ""), i = f({
6135
+ const t = s, n = (d) => t.users.find((_) => _.id === d), a = xe(t.newComment || ""), i = f({
6140
6136
  get() {
6141
6137
  return a.value;
6142
6138
  },
6143
- set(c) {
6144
- a.value = c;
6139
+ set(d) {
6140
+ a.value = d;
6145
6141
  }
6146
6142
  }), l = () => {
6147
- const c = a.value.trim();
6148
- c && (e("createComment", c), a.value = "");
6149
- }, o = (c, p) => {
6143
+ const d = a.value.trim();
6144
+ d && (e("createComment", d), a.value = "");
6145
+ }, o = (d, p) => {
6150
6146
  e("updateComment", {
6151
- id: c,
6147
+ id: d,
6152
6148
  content: p
6153
6149
  });
6154
- }, d = (c) => {
6155
- e("removeComment", c);
6150
+ }, c = (d) => {
6151
+ e("removeComment", d);
6156
6152
  };
6157
- return (c, p) => {
6153
+ return (d, p) => {
6158
6154
  var _;
6159
6155
  return u(), C("div", R0, [
6160
- ((_ = c.comments) == null ? void 0 : _.length) > 0 ? (u(), C("ul", U0, [
6161
- (u(!0), C(le, null, pe(c.comments, (m) => (u(), N(j0, {
6156
+ ((_ = d.comments) == null ? void 0 : _.length) > 0 ? (u(), C("ul", U0, [
6157
+ (u(!0), C(ae, null, pe(d.comments, (m) => (u(), N(j0, {
6162
6158
  key: m.id,
6163
6159
  user: n(m.userId),
6164
6160
  content: m.content,
6165
6161
  "created-at": m.createdAt,
6166
6162
  "edited-at": m.editedAt,
6167
- "is-editable": m.userId === c.userId,
6163
+ "is-editable": m.userId === d.userId,
6168
6164
  class: "ao-comment",
6169
6165
  onEdit: ($) => o(m.id, $),
6170
- onRemove: () => d(m.id)
6166
+ onRemove: () => c(m.id)
6171
6167
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
6172
6168
  ])) : w("", !0),
6173
6169
  r("div", q0, [
6174
6170
  r("form", {
6175
6171
  class: "ao-comments__form",
6176
- onSubmit: ke(l, ["prevent"])
6172
+ onSubmit: Ie(l, ["prevent"])
6177
6173
  }, [
6178
6174
  r("label", F0, [
6179
- r("span", K0, j(c.$t("activity.comment.label")), 1),
6175
+ r("span", K0, j(d.$t("activity.comment.label")), 1),
6180
6176
  Ue(r("textarea", {
6181
6177
  "onUpdate:modelValue": p[0] || (p[0] = (m) => i.value = m),
6182
6178
  rows: "4",
@@ -6196,7 +6192,7 @@ const R0 = { class: "ao-comments" }, U0 = {
6196
6192
  "icon-name": "SendRounded",
6197
6193
  color: "primary",
6198
6194
  variant: "solid",
6199
- label: c.$t("activity.comment.submit")
6195
+ label: d.$t("activity.comment.submit")
6200
6196
  }, null, 8, ["label"])
6201
6197
  ])
6202
6198
  ], 40, z0)
@@ -6229,7 +6225,7 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
6229
6225
  }), o = (m) => {
6230
6226
  const { id: $ } = m;
6231
6227
  i.value && i.value.projectId && e("update:activity", {
6232
- itemType: oe.ACTIVITIES,
6228
+ itemType: ie.ACTIVITIES,
6233
6229
  id: $,
6234
6230
  projectId: i.value.projectId,
6235
6231
  data: {
@@ -6239,13 +6235,13 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
6239
6235
  milestoneId: t.milestoneId
6240
6236
  }
6241
6237
  });
6242
- }, d = (m) => {
6238
+ }, c = (m) => {
6243
6239
  e("addSubtask", {
6244
6240
  ...m,
6245
6241
  milestoneId: t.milestoneId,
6246
6242
  phaseId: t.phaseId
6247
6243
  });
6248
- }, c = (m) => {
6244
+ }, d = (m) => {
6249
6245
  i.value && e("addComment", {
6250
6246
  activityId: i.value.id,
6251
6247
  comment: m
@@ -6271,12 +6267,12 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
6271
6267
  ...V
6272
6268
  });
6273
6269
  }),
6274
- onAddSubtask: d
6270
+ onAddSubtask: c
6275
6271
  }, {
6276
6272
  default: R(() => [
6277
6273
  r("fieldset", Y0, [
6278
6274
  r("div", W0, [
6279
- b(ne, { name: "ChatOutline" }),
6275
+ b(le, { name: "ChatOutline" }),
6280
6276
  b(ce, {
6281
6277
  level: 4,
6282
6278
  title: m.$t("activity.comments.title")
@@ -6286,7 +6282,7 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
6286
6282
  comments: i.value.comments,
6287
6283
  users: O(n),
6288
6284
  "user-id": O(a),
6289
- onCreateComment: c,
6285
+ onCreateComment: d,
6290
6286
  onUpdateComment: p,
6291
6287
  onRemoveComment: _
6292
6288
  }, null, 8, ["comments", "users", "user-id"])
@@ -6361,34 +6357,34 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
6361
6357
  setup(s, { emit: e }) {
6362
6358
  const t = s, { t: n } = Ge(), a = () => {
6363
6359
  var _, m;
6364
- const o = (_ = t.templates) == null ? void 0 : _.at(-1), d = o ? be.LexoRank.parse(o.rank).genNext() : be.LexoRank.middle(), c = ((m = t.templates) == null ? void 0 : m.length) ?? 0, p = {
6365
- name: n("template.defaultName.template", { idx: c + 1 }),
6366
- rank: d.format()
6360
+ const o = (_ = t.templates) == null ? void 0 : _.at(-1), c = o ? ye.LexoRank.parse(o.rank).genNext() : ye.LexoRank.middle(), d = ((m = t.templates) == null ? void 0 : m.length) ?? 0, p = {
6361
+ name: n("template.defaultName.template", { idx: d + 1 }),
6362
+ rank: c.format()
6367
6363
  };
6368
6364
  e("addTemplate", p);
6369
- }, i = (o, d) => {
6365
+ }, i = (o, c) => {
6370
6366
  e("updateItem", {
6371
- itemType: oe.TEMPLATES,
6367
+ itemType: ie.TEMPLATES,
6372
6368
  id: o,
6373
6369
  templateId: o,
6374
6370
  data: {
6375
- name: d
6371
+ name: c
6376
6372
  }
6377
6373
  });
6378
6374
  }, l = (o) => {
6379
6375
  if (o.moved) {
6380
- const d = w1(o, t.templates ?? []);
6376
+ const c = w1(o, t.templates ?? []);
6381
6377
  e("updateItem", {
6382
- itemType: oe.TEMPLATES,
6378
+ itemType: ie.TEMPLATES,
6383
6379
  id: o.moved.element.id,
6384
6380
  templateId: o.moved.element.id,
6385
6381
  data: {
6386
- rank: d
6382
+ rank: c
6387
6383
  }
6388
6384
  });
6389
6385
  }
6390
6386
  };
6391
- return (o, d) => (u(), C("div", J0, [
6387
+ return (o, c) => (u(), C("div", J0, [
6392
6388
  b(M1, null, {
6393
6389
  secondary: R(() => [
6394
6390
  b(ue, {
@@ -6408,20 +6404,20 @@ const Y0 = { class: "ao-fieldset" }, W0 = { class: "ao-fieldset__title" }, X0 =
6408
6404
  handle: ".ao-card__drag",
6409
6405
  onChange: l
6410
6406
  }, {
6411
- item: R(({ element: c }) => {
6407
+ item: R(({ element: d }) => {
6412
6408
  var p;
6413
6409
  return [
6414
6410
  b(m3, {
6415
- title: c.name || c.id,
6416
- phases: c.phases,
6417
- milestones: (p = c.phases) != null && p.length ? O(Kr)(c.phases) : 0,
6418
- activities: c.phases ? O(Gr)(c.phases) : 0,
6419
- "updated-at": c.updatedAt,
6420
- "updated-by": c.updatedBy,
6421
- onUpdateTitle: (_) => i(c.id, _),
6411
+ title: d.name || d.id,
6412
+ phases: d.phases,
6413
+ milestones: (p = d.phases) != null && p.length ? O(Kr)(d.phases) : 0,
6414
+ activities: d.phases ? O(Gr)(d.phases) : 0,
6415
+ "updated-at": d.updatedAt,
6416
+ "updated-by": d.updatedBy,
6417
+ onUpdateTitle: (_) => i(d.id, _),
6422
6418
  onClick: (_) => o.$router.push({
6423
6419
  name: O(t1).TEMPLATE_DETAILS,
6424
- params: { templateId: c.id }
6420
+ params: { templateId: d.id }
6425
6421
  })
6426
6422
  }, null, 8, ["title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
6427
6423
  ];
@@ -6476,13 +6472,13 @@ function nu(s, e = {}) {
6476
6472
  clearTimeout(o), a(), a = s1;
6477
6473
  };
6478
6474
  return (o) => {
6479
- const d = _1(s), c = _1(e.maxWait);
6480
- return t && i(t), d <= 0 || c !== void 0 && c <= 0 ? (n && (i(n), n = null), Promise.resolve(o())) : new Promise((p, _) => {
6481
- a = e.rejectOnCancel ? _ : p, c && !n && (n = setTimeout(() => {
6475
+ const c = _1(s), d = _1(e.maxWait);
6476
+ return t && i(t), c <= 0 || d !== void 0 && d <= 0 ? (n && (i(n), n = null), Promise.resolve(o())) : new Promise((p, _) => {
6477
+ a = e.rejectOnCancel ? _ : p, d && !n && (n = setTimeout(() => {
6482
6478
  t && i(t), n = null, p(o());
6483
- }, c)), t = setTimeout(() => {
6479
+ }, d)), t = setTimeout(() => {
6484
6480
  n && i(n), n = null, p(o());
6485
- }, d);
6481
+ }, c);
6486
6482
  });
6487
6483
  };
6488
6484
  }
@@ -6499,7 +6495,7 @@ function B1(s) {
6499
6495
  }
6500
6496
  const ou = su ? window : void 0;
6501
6497
  function ru() {
6502
- const s = x(!1);
6498
+ const s = Q(!1);
6503
6499
  return Oe() && m1(() => {
6504
6500
  s.value = !0;
6505
6501
  }), s;
@@ -6515,17 +6511,17 @@ function cu(s, e, t = {}) {
6515
6511
  threshold: i = 0.1,
6516
6512
  window: l = ou,
6517
6513
  immediate: o = !0
6518
- } = t, d = uu(() => l && "IntersectionObserver" in l), c = f(() => {
6514
+ } = t, c = uu(() => l && "IntersectionObserver" in l), d = f(() => {
6519
6515
  const V = _1(s);
6520
6516
  return (Array.isArray(V) ? V : [V]).map(B1).filter(au);
6521
6517
  });
6522
6518
  let p = s1;
6523
- const _ = x(o), m = d.value ? de(
6524
- () => [c.value, B1(n), _.value],
6519
+ const _ = Q(o), m = c.value ? de(
6520
+ () => [d.value, B1(n), _.value],
6525
6521
  ([V, E]) => {
6526
6522
  if (p(), !_.value || !V.length)
6527
6523
  return;
6528
- const k = new IntersectionObserver(
6524
+ const I = new IntersectionObserver(
6529
6525
  e,
6530
6526
  {
6531
6527
  root: B1(E),
@@ -6533,8 +6529,8 @@ function cu(s, e, t = {}) {
6533
6529
  threshold: i
6534
6530
  }
6535
6531
  );
6536
- V.forEach((M) => M && k.observe(M)), p = () => {
6537
- k.disconnect(), p = s1;
6532
+ V.forEach((M) => M && I.observe(M)), p = () => {
6533
+ I.disconnect(), p = s1;
6538
6534
  };
6539
6535
  },
6540
6536
  { immediate: o, flush: "post" }
@@ -6542,7 +6538,7 @@ function cu(s, e, t = {}) {
6542
6538
  p(), m(), _.value = !1;
6543
6539
  };
6544
6540
  return tu($), {
6545
- isSupported: d,
6541
+ isSupported: c,
6546
6542
  isActive: _,
6547
6543
  pause() {
6548
6544
  p(), _.value = !1;
@@ -6583,50 +6579,50 @@ const du = {
6583
6579
  },
6584
6580
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
6585
6581
  setup(s, { emit: e }) {
6586
- const t = s, n = x(!1), a = x(null);
6587
- cu(a, ([{ isIntersecting: d }]) => {
6588
- n.value = d;
6589
- }), de(n, (d) => {
6590
- d && t.hasMore && !t.isLoading && e("loadMore");
6582
+ const t = s, n = Q(!1), a = Q(null);
6583
+ cu(a, ([{ isIntersecting: c }]) => {
6584
+ n.value = c;
6585
+ }), de(n, (c) => {
6586
+ c && t.hasMore && !t.isLoading && e("loadMore");
6591
6587
  });
6592
- const i = (d) => {
6593
- e("selectActivity", d);
6594
- }, l = (d) => {
6595
- e("updateActivity", d);
6596
- }, o = (d) => {
6597
- "added" in d ? e("updateActivity", {
6598
- id: d.added.element.id,
6588
+ const i = (c) => {
6589
+ e("selectActivity", c);
6590
+ }, l = (c) => {
6591
+ e("updateActivity", c);
6592
+ }, o = (c) => {
6593
+ "added" in c ? e("updateActivity", {
6594
+ id: c.added.element.id,
6599
6595
  statusId: t.status.id,
6600
- rank: D1(t.list, 0, d.added.newIndex)
6601
- }) : "removed" in d || "moved" in d && e("updateActivity", {
6602
- id: d.moved.element.id,
6596
+ rank: D1(t.list, 0, c.added.newIndex)
6597
+ }) : "removed" in c || "moved" in c && e("updateActivity", {
6598
+ id: c.moved.element.id,
6603
6599
  rank: D1(
6604
6600
  t.list,
6605
- d.moved.oldIndex,
6606
- d.moved.newIndex
6601
+ c.moved.oldIndex,
6602
+ c.moved.newIndex
6607
6603
  )
6608
6604
  });
6609
6605
  };
6610
- return (d, c) => (u(), C("div", du, [
6611
- d.title || d.$slots.header ? Y(d.$slots, "header", { key: 0 }, () => {
6606
+ return (c, d) => (u(), C("div", du, [
6607
+ c.title || c.$slots.header ? Y(c.$slots, "header", { key: 0 }, () => {
6612
6608
  var p;
6613
6609
  return [
6614
6610
  r("div", pu, [
6615
- d.title ? (u(), N(eu, {
6611
+ c.title ? (u(), N(eu, {
6616
6612
  key: 0,
6617
- title: d.title,
6613
+ title: c.title,
6618
6614
  level: 3,
6619
- items: (p = d.list) == null ? void 0 : p.length
6615
+ items: (p = c.list) == null ? void 0 : p.length
6620
6616
  }, null, 8, ["title", "items"])) : w("", !0)
6621
6617
  ])
6622
6618
  ];
6623
6619
  }) : w("", !0),
6624
6620
  b(O(n1), Ee({
6625
6621
  class: "ao-list-kanban__list",
6626
- list: d.list,
6622
+ list: c.list,
6627
6623
  "item-key": "id",
6628
6624
  group: "kanban"
6629
- }, d.$attrs, { onChange: o }), {
6625
+ }, c.$attrs, { onChange: o }), {
6630
6626
  item: R(({ element: p }) => {
6631
6627
  var _, m, $;
6632
6628
  return [
@@ -6650,7 +6646,7 @@ const du = {
6650
6646
  "icon-name": "ArchiveOutlineRounded",
6651
6647
  size: "sm",
6652
6648
  corners: "round",
6653
- onClick: ke(() => d.$emit("archiveActivity", p.id), ["stop"])
6649
+ onClick: Ie(() => c.$emit("archiveActivity", p.id), ["stop"])
6654
6650
  }, null, 8, ["onClick"])
6655
6651
  ]),
6656
6652
  _: 2
@@ -6658,25 +6654,25 @@ const du = {
6658
6654
  ];
6659
6655
  }),
6660
6656
  footer: R(() => [
6661
- d.isLoading ? (u(), C("div", vu, [
6662
- b(ne, { name: "Loading" })
6663
- ])) : d.hasMore ? (u(), C("div", {
6657
+ c.isLoading ? (u(), C("div", vu, [
6658
+ b(le, { name: "Loading" })
6659
+ ])) : c.hasMore ? (u(), C("div", {
6664
6660
  key: 2,
6665
6661
  ref_key: "scrollEnd",
6666
6662
  ref: a,
6667
6663
  class: "ao-list-kanban__end"
6668
6664
  }, null, 512)) : (u(), C("div", Cu, [
6669
- d.noMoreLabel ? (u(), C("span", _u, j(d.noMoreLabel), 1)) : (u(), C("span", mu))
6665
+ c.noMoreLabel ? (u(), C("span", _u, j(c.noMoreLabel), 1)) : (u(), C("span", mu))
6670
6666
  ]))
6671
6667
  ]),
6672
6668
  _: 1
6673
6669
  }, 16, ["list"]),
6674
- d.$slots.footer || d.footerLabel ? (u(), C("div", hu, [
6675
- Y(d.$slots, "footer", {}, () => [
6670
+ c.$slots.footer || c.footerLabel ? (u(), C("div", hu, [
6671
+ Y(c.$slots, "footer", {}, () => [
6676
6672
  b(Be, {
6677
6673
  "icon-name": "AddBoxOutlineRounded",
6678
- label: d.footerLabel,
6679
- onClick: c[0] || (c[0] = (p) => d.$emit("add"))
6674
+ label: c.footerLabel,
6675
+ onClick: d[0] || (d[0] = (p) => c.$emit("add"))
6680
6676
  }, null, 8, ["label"])
6681
6677
  ])
6682
6678
  ])) : w("", !0)
@@ -6693,8 +6689,8 @@ const gu = { class: "ao-field ao-search-field" }, yu = ["value", "placeholder",
6693
6689
  emits: ["update:modelValue", "clear"],
6694
6690
  setup(s, { emit: e }) {
6695
6691
  const t = s, n = async (l) => {
6696
- const d = l.target.value;
6697
- e("update:modelValue", d, l);
6692
+ const c = l.target.value;
6693
+ e("update:modelValue", c, l);
6698
6694
  }, a = iu(n, t.delay), i = (l) => {
6699
6695
  e("clear", l);
6700
6696
  };
@@ -6705,10 +6701,10 @@ const gu = { class: "ao-field ao-search-field" }, yu = ["value", "placeholder",
6705
6701
  class: "ao-field__input ao-search-field__input",
6706
6702
  placeholder: l.placeholder,
6707
6703
  onInput: o[0] || (o[0] = //@ts-ignore
6708
- (...d) => O(a) && O(a)(...d)),
6704
+ (...c) => O(a) && O(a)(...c)),
6709
6705
  onKeypress: a1(n, ["enter"])
6710
6706
  }, null, 40, yu),
6711
- b(ne, {
6707
+ b(le, {
6712
6708
  name: "SearchRounded",
6713
6709
  class: F(`ao-search-field__icon ao-search-field__action ${l.modelValue ? "" : "ao-search-field__action--visible"}`)
6714
6710
  }, null, 8, ["class"]),
@@ -6724,7 +6720,7 @@ const gu = { class: "ao-field ao-search-field" }, yu = ["value", "placeholder",
6724
6720
  }
6725
6721
  });
6726
6722
  function $u(s) {
6727
- const e = x(), t = f(
6723
+ const e = Q(), t = f(
6728
6724
  () => s.value.find(
6729
6725
  (a) => a.id === e.value
6730
6726
  )
@@ -6742,7 +6738,7 @@ function Mu(s) {
6742
6738
  const e = $u(s);
6743
6739
  return Wt(wu, e), e;
6744
6740
  }
6745
- const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { class: "ao-feed__body" }, Su = { class: "ao-field" }, Vu = { class: "ao-field__label" }, Lu = { class: "ao-fieldset" }, Tu = { class: "ao-field" }, Eu = { class: "ao-field__label" }, Hu = { class: "ao-fieldset" }, Ou = { class: "ao-fieldset__title" }, Fu = /* @__PURE__ */ K({
6741
+ const Au = { class: "ao-feed" }, Iu = { class: "ao-feed__filters" }, ku = { class: "ao-feed__body" }, Su = { class: "ao-field" }, Vu = { class: "ao-field__label" }, Lu = { class: "ao-fieldset" }, Tu = { class: "ao-field" }, Eu = { class: "ao-field__label" }, Hu = { class: "ao-fieldset" }, Ou = { class: "ao-fieldset__title" }, Fu = /* @__PURE__ */ K({
6746
6742
  __name: "AoFeed",
6747
6743
  props: {
6748
6744
  activities: {},
@@ -6756,28 +6752,28 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6756
6752
  },
6757
6753
  emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
6758
6754
  setup(s, { emit: e }) {
6759
- const t = s, { t: n } = Ge(), a = xe(t, "activities"), { selectActivity: i, selectedActivity: l } = Mu(a), o = x({});
6755
+ const t = s, { t: n } = Ge(), a = xe(t, "activities"), { selectActivity: i, selectedActivity: l } = Mu(a), o = Q({});
6760
6756
  de(
6761
6757
  [() => t.statuses, () => t.activities],
6762
6758
  ([A, W]) => {
6763
6759
  o.value = Object.fromEntries(
6764
- A.map((me) => [
6765
- me.id,
6766
- W.filter((g) => g.status.id === me.id)
6760
+ A.map((_e) => [
6761
+ _e.id,
6762
+ W.filter((g) => g.status.id === _e.id)
6767
6763
  ])
6768
6764
  );
6769
6765
  },
6770
6766
  { immediate: !0 }
6771
6767
  );
6772
- const d = (A) => {
6768
+ const c = (A) => {
6773
6769
  var T, G;
6774
- const W = (T = t.activities) == null ? void 0 : T.at(-1), me = W ? be.LexoRank.parse(W.rank).genNext() : be.LexoRank.middle(), g = ((G = t.activities) == null ? void 0 : G.length) ?? 0, D = {
6770
+ const W = (T = t.activities) == null ? void 0 : T.at(-1), _e = W ? ye.LexoRank.parse(W.rank).genNext() : ye.LexoRank.middle(), g = ((G = t.activities) == null ? void 0 : G.length) ?? 0, D = {
6775
6771
  name: n("activity.defaultName", { idx: g + 1 }),
6776
- rank: me.format(),
6772
+ rank: _e.format(),
6777
6773
  statusId: A.id
6778
6774
  };
6779
6775
  e("addActivity", D);
6780
- }, c = (A, W) => {
6776
+ }, d = (A, W) => {
6781
6777
  e("update:filters", { ...t.filters, [A]: W });
6782
6778
  }, p = f(() => t.projects.map((A) => ({
6783
6779
  value: A.id,
@@ -6792,7 +6788,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6792
6788
  l.value && e("update:activity", A);
6793
6789
  }, V = (A) => {
6794
6790
  e("update:activity", A);
6795
- }, E = x(null), k = (A) => {
6791
+ }, E = Q(null), I = (A) => {
6796
6792
  l.value && e("update:activity", {
6797
6793
  id: l.value.id,
6798
6794
  name: A
@@ -6812,7 +6808,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6812
6808
  }
6813
6809
  }), B = (A) => {
6814
6810
  e("clear:searchText", A);
6815
- }, ee = (A) => {
6811
+ }, x = (A) => {
6816
6812
  l.value && e("addSubtask", A);
6817
6813
  }, te = (A) => {
6818
6814
  l.value && e("updateSubtask", A);
@@ -6830,7 +6826,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6830
6826
  }, re = (A) => {
6831
6827
  const { id: W } = l.value || {};
6832
6828
  W && e("updateComment", { ...A, activityId: W });
6833
- }, _e = (A) => {
6829
+ }, Ce = (A) => {
6834
6830
  const { id: W } = l.value || {};
6835
6831
  W && e("removeComment", { id: A, activityId: W });
6836
6832
  }, Z = f(() => t.statuses.map((A) => ({
@@ -6843,7 +6839,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6843
6839
  });
6844
6840
  };
6845
6841
  return (A, W) => {
6846
- var me;
6842
+ var _e;
6847
6843
  return u(), C("div", Au, [
6848
6844
  b(M1, null, {
6849
6845
  primary: R(() => [
@@ -6853,7 +6849,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6853
6849
  "onUpdate:modelValue": W[0] || (W[0] = (g) => A.$emit("update:searchText", g)),
6854
6850
  onClear: B
6855
6851
  }, null, 8, ["model-value", "placeholder"]),
6856
- r("div", ku, [
6852
+ r("div", Iu, [
6857
6853
  b(O(ve), {
6858
6854
  "model-value": A.filters[O(Re).project],
6859
6855
  mode: "tags",
@@ -6862,7 +6858,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6862
6858
  searchable: !0,
6863
6859
  class: "ao-feed__filter",
6864
6860
  placeholder: A.$t("feed.filters.project.placeholder"),
6865
- "onUpdate:modelValue": W[1] || (W[1] = (g) => c(O(Re).project, g))
6861
+ "onUpdate:modelValue": W[1] || (W[1] = (g) => d(O(Re).project, g))
6866
6862
  }, null, 8, ["model-value", "options", "placeholder"]),
6867
6863
  b(O(ve), {
6868
6864
  "model-value": A.filters[O(Re).type],
@@ -6872,7 +6868,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6872
6868
  searchable: !0,
6873
6869
  class: "ao-feed__filter",
6874
6870
  placeholder: A.$t("feed.filters.activityType.placeholder"),
6875
- "onUpdate:modelValue": W[2] || (W[2] = (g) => c(O(Re).type, g))
6871
+ "onUpdate:modelValue": W[2] || (W[2] = (g) => d(O(Re).type, g))
6876
6872
  }, null, 8, ["model-value", "options", "placeholder"]),
6877
6873
  b(O(ve), {
6878
6874
  "model-value": A.filters[O(Re).assignee],
@@ -6882,7 +6878,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6882
6878
  searchable: !0,
6883
6879
  class: "ao-feed__filter",
6884
6880
  placeholder: A.$t("feed.filters.assignee.placeholder"),
6885
- "onUpdate:modelValue": W[3] || (W[3] = (g) => c(O(Re).assignee, g))
6881
+ "onUpdate:modelValue": W[3] || (W[3] = (g) => d(O(Re).assignee, g))
6886
6882
  }, {
6887
6883
  tag: R(({ option: g, handleTagRemove: D }) => [
6888
6884
  b(Ke, {
@@ -6897,14 +6893,14 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6897
6893
  ]),
6898
6894
  _: 1
6899
6895
  }),
6900
- r("div", Iu, [
6901
- (u(!0), C(le, null, pe(A.statuses, (g) => (u(), N(fu, {
6896
+ r("div", ku, [
6897
+ (u(!0), C(ae, null, pe(A.statuses, (g) => (u(), N(fu, {
6902
6898
  key: g.id,
6903
6899
  status: g,
6904
6900
  list: o.value[g.id],
6905
6901
  title: g.name,
6906
6902
  "footer-label": A.$t("feed.activity.add"),
6907
- onAdd: () => d(g),
6903
+ onAdd: () => c(g),
6908
6904
  onSelectActivity: O(i),
6909
6905
  onArchiveActivity: M,
6910
6906
  onUpdateActivity: V
@@ -6915,12 +6911,12 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6915
6911
  key: 0,
6916
6912
  activity: O(l),
6917
6913
  "activity-types": _.value,
6918
- "milestone-id": (me = O(l).milestone) == null ? void 0 : me.id,
6914
+ "milestone-id": (_e = O(l).milestone) == null ? void 0 : _e.id,
6919
6915
  "template-activities": a.value,
6920
6916
  users: A.users,
6921
6917
  onClose: W[5] || (W[5] = () => O(i)(null)),
6922
6918
  "onUpdate:activity": $,
6923
- onAddSubtask: ee,
6919
+ onAddSubtask: x,
6924
6920
  onUpdateSubtask: te,
6925
6921
  onDeleteSubtask: h,
6926
6922
  onAddFiles: H,
@@ -6933,7 +6929,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6933
6929
  title: O(l).name || O(l).id,
6934
6930
  level: 4,
6935
6931
  "is-editable": !0,
6936
- "onUpdate:title": k
6932
+ "onUpdate:title": I
6937
6933
  }, null, 8, ["title"]),
6938
6934
  r("label", Su, [
6939
6935
  r("span", Vu, j(A.$t("activity.status.label")), 1),
@@ -6964,7 +6960,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6964
6960
  ]),
6965
6961
  r("fieldset", Hu, [
6966
6962
  r("div", Ou, [
6967
- b(ne, { name: "ChatOutline" }),
6963
+ b(le, { name: "ChatOutline" }),
6968
6964
  b(ce, {
6969
6965
  level: 4,
6970
6966
  title: A.$t("activity.comments.title")
@@ -6976,7 +6972,7 @@ const Au = { class: "ao-feed" }, ku = { class: "ao-feed__filters" }, Iu = { clas
6976
6972
  "user-id": A.userId,
6977
6973
  onCreateComment: se,
6978
6974
  onUpdateComment: re,
6979
- onRemoveComment: _e
6975
+ onRemoveComment: Ce
6980
6976
  }, null, 8, ["comments", "users", "user-id"])
6981
6977
  ])
6982
6978
  ]),
@@ -7004,6 +7000,6 @@ export {
7004
7000
  m7 as ruleComparators,
7005
7001
  f7 as ruleDurationUnits,
7006
7002
  h7 as ruleTriggerTypes,
7007
- oe as templateItemType,
7003
+ ie as templateItemType,
7008
7004
  t1 as templateRouteNames
7009
7005
  };