@26lights/orcha 0.7.13 → 0.7.14

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 c, createBlock as q, unref as P, mergeProps as De, createElementBlock as C, createElementVNode as r, pushScopeId as Ut, popScopeId as qt, createStaticVNode as Ft, computed as _, resolveDynamicComponent as Ke, normalizeClass as G, renderSlot as x, toDisplayString as U, createCommentVNode as A, ref as J, watch as _e, nextTick as je, withKeys as a1, toHandlers as zt, withCtx as F, createTextVNode as N1, createVNode as b, Fragment as ie, renderList as he, withModifiers as Te, toRefs as we, getCurrentInstance as Be, onMounted as _1, onUnmounted as Gt, withDirectives as Fe, vModelText as n1, vModelCheckbox as Kt, toRef as m1, Teleport as C1, normalizeStyle as xt, resolveComponent as Wt, toValue as ze, getCurrentScope as Yt, onScopeDispose as Xt } from "vue";
1
+ import { defineComponent as K, openBlock as c, createBlock as q, unref as P, mergeProps as De, createElementBlock as C, createElementVNode as r, pushScopeId as Ut, popScopeId as qt, createStaticVNode as Ft, computed as _, resolveDynamicComponent as Ke, normalizeClass as G, renderSlot as x, toDisplayString as U, createCommentVNode as A, ref as J, watch as _e, nextTick as je, withKeys as a1, toHandlers as zt, withCtx as F, createTextVNode as N1, createVNode as b, Fragment as oe, renderList as me, withModifiers as Le, toRefs as we, getCurrentInstance as Be, onMounted as _1, onUnmounted as Gt, withDirectives as Fe, vModelText as n1, vModelCheckbox as Kt, toRef as m1, Teleport as C1, normalizeStyle as xt, resolveComponent as Wt, toValue as ze, getCurrentScope as Yt, onScopeDispose as Xt } from "vue";
2
2
  import { RouterView as Qt } from "vue-router";
3
3
  import i1 from "vuedraggable";
4
4
  const Uc = /* @__PURE__ */ K({
@@ -89,7 +89,7 @@ const ws = /* @__PURE__ */ H(_s, [["render", bs]]), $s = {}, Is = {
89
89
  function As(s, e) {
90
90
  return c(), C("svg", Is, Ms);
91
91
  }
92
- const ks = /* @__PURE__ */ H($s, [["render", As]]), Ts = {}, Ls = {
92
+ const ks = /* @__PURE__ */ H($s, [["render", As]]), Ls = {}, Ts = {
93
93
  width: "24",
94
94
  height: "24",
95
95
  viewBox: "0 0 24 24",
@@ -102,9 +102,9 @@ const ks = /* @__PURE__ */ H($s, [["render", As]]), Ts = {}, Ls = {
102
102
  Vs
103
103
  ];
104
104
  function Hs(s, e) {
105
- return c(), C("svg", Ls, Es);
105
+ return c(), C("svg", Ts, Es);
106
106
  }
107
- const Os = /* @__PURE__ */ H(Ts, [["render", Hs]]), Ds = {}, js = {
107
+ const Os = /* @__PURE__ */ H(Ls, [["render", Hs]]), Ds = {}, js = {
108
108
  width: "24",
109
109
  height: "24",
110
110
  viewBox: "0 0 24 24",
@@ -224,7 +224,7 @@ const wa = /* @__PURE__ */ H(_a, [["render", ba]]), $a = {}, Ia = {
224
224
  function Aa(s, e) {
225
225
  return c(), C("svg", Ia, Ma);
226
226
  }
227
- const ka = /* @__PURE__ */ H($a, [["render", Aa]]), Ta = {}, La = {
227
+ const ka = /* @__PURE__ */ H($a, [["render", Aa]]), La = {}, Ta = {
228
228
  width: "24",
229
229
  height: "24",
230
230
  viewBox: "0 0 24 24",
@@ -237,9 +237,9 @@ const ka = /* @__PURE__ */ H($a, [["render", Aa]]), Ta = {}, La = {
237
237
  Va
238
238
  ];
239
239
  function Ha(s, e) {
240
- return c(), C("svg", La, Ea);
240
+ return c(), C("svg", Ta, Ea);
241
241
  }
242
- const Oa = /* @__PURE__ */ H(Ta, [["render", Ha]]), Da = {}, ja = {
242
+ const Oa = /* @__PURE__ */ H(La, [["render", Ha]]), Da = {}, ja = {
243
243
  width: "24",
244
244
  height: "24",
245
245
  viewBox: "0 0 24 24",
@@ -359,7 +359,7 @@ const $n = /* @__PURE__ */ H(fn, [["render", wn]]), In = {}, Sn = {
359
359
  function kn(s, e) {
360
360
  return c(), C("svg", Sn, An);
361
361
  }
362
- const Tn = /* @__PURE__ */ H(In, [["render", kn]]), Ln = {}, Vn = {
362
+ const Ln = /* @__PURE__ */ H(In, [["render", kn]]), Tn = {}, Vn = {
363
363
  width: "24",
364
364
  height: "24",
365
365
  viewBox: "0 0 24 24",
@@ -374,7 +374,7 @@ const Tn = /* @__PURE__ */ H(In, [["render", kn]]), Ln = {}, Vn = {
374
374
  function On(s, e) {
375
375
  return c(), C("svg", Vn, Hn);
376
376
  }
377
- const Dn = /* @__PURE__ */ H(Ln, [["render", On]]), jn = {}, Bn = {
377
+ const Dn = /* @__PURE__ */ H(Tn, [["render", On]]), jn = {}, Bn = {
378
378
  width: "24",
379
379
  height: "24",
380
380
  viewBox: "0 0 24 24",
@@ -494,7 +494,7 @@ const $i = /* @__PURE__ */ H(fi, [["render", wi]]), Ii = {}, Si = {
494
494
  function ki(s, e) {
495
495
  return c(), C("svg", Si, Ai);
496
496
  }
497
- const Ti = /* @__PURE__ */ H(Ii, [["render", ki]]), Li = {}, Vi = {
497
+ const Li = /* @__PURE__ */ H(Ii, [["render", ki]]), Ti = {}, Vi = {
498
498
  width: "24",
499
499
  height: "24",
500
500
  viewBox: "0 0 24 24",
@@ -509,7 +509,7 @@ const Ti = /* @__PURE__ */ H(Ii, [["render", ki]]), Li = {}, Vi = {
509
509
  function Oi(s, e) {
510
510
  return c(), C("svg", Vi, Hi);
511
511
  }
512
- const Di = /* @__PURE__ */ H(Li, [["render", Oi]]), ji = {}, Bi = {
512
+ const Di = /* @__PURE__ */ H(Ti, [["render", Oi]]), ji = {}, Bi = {
513
513
  width: "24",
514
514
  height: "24",
515
515
  viewBox: "0 0 24 24",
@@ -637,14 +637,14 @@ const Mo = /* @__PURE__ */ H(go, [["render", So], ["__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
- }, To = /* @__PURE__ */ r("path", {
640
+ }, Lo = /* @__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), Lo = [
644
- To
643
+ }, null, -1), To = [
644
+ Lo
645
645
  ];
646
646
  function Vo(s, e) {
647
- return c(), C("svg", ko, Lo);
647
+ return c(), C("svg", ko, To);
648
648
  }
649
649
  const Eo = /* @__PURE__ */ H(Ao, [["render", Vo]]), Ho = {}, Oo = {
650
650
  width: "24",
@@ -772,14 +772,14 @@ const Ml = /* @__PURE__ */ H(bl, [["render", Sl]]), Al = {}, kl = {
772
772
  viewBox: "0 0 24 24",
773
773
  fill: "none",
774
774
  xmlns: "http://www.w3.org/2000/svg"
775
- }, Tl = /* @__PURE__ */ r("path", {
775
+ }, Ll = /* @__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
- }, null, -1), Ll = [
779
- Tl
778
+ }, null, -1), Tl = [
779
+ Ll
780
780
  ];
781
781
  function Vl(s, e) {
782
- return c(), C("svg", kl, Ll);
782
+ return c(), C("svg", kl, Tl);
783
783
  }
784
784
  const El = /* @__PURE__ */ H(Al, [["render", Vl]]), Hl = {}, Ol = {
785
785
  width: "24",
@@ -904,14 +904,14 @@ const M2 = /* @__PURE__ */ H(b2, [["render", S2]]), A2 = {}, k2 = {
904
904
  viewBox: "0 0 24 24",
905
905
  fill: "none",
906
906
  xmlns: "http://www.w3.org/2000/svg"
907
- }, T2 = /* @__PURE__ */ r("path", {
907
+ }, L2 = /* @__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
- }, null, -1), L2 = [
911
- T2
910
+ }, null, -1), T2 = [
911
+ L2
912
912
  ];
913
913
  function V2(s, e) {
914
- return c(), C("svg", k2, L2);
914
+ return c(), C("svg", k2, T2);
915
915
  }
916
916
  const E2 = /* @__PURE__ */ H(A2, [["render", V2]]), H2 = {}, O2 = {
917
917
  width: "24",
@@ -1057,7 +1057,7 @@ const Mr = /* @__PURE__ */ H(br, [["render", Sr]]), Ar = /* @__PURE__ */ Object.
1057
1057
  ChevronLeft: un,
1058
1058
  ChevronRight: _n,
1059
1059
  CloseRounded: $n,
1060
- ContactsOutlineRounded: Tn,
1060
+ ContactsOutlineRounded: Ln,
1061
1061
  ContentCopyOutline: Dn,
1062
1062
  DeleteOutlineRounded: Rn,
1063
1063
  DragIndicator: Kn,
@@ -1066,7 +1066,7 @@ const Mr = /* @__PURE__ */ H(br, [["render", Sr]]), Ar = /* @__PURE__ */ Object.
1066
1066
  ErrorOutlineRounded: ui,
1067
1067
  FilterListRounded: _i,
1068
1068
  FlagRounded: $i,
1069
- FlowsheetOutlineRounded: Ti,
1069
+ FlowsheetOutlineRounded: Li,
1070
1070
  GifBox: Di,
1071
1071
  GroupsOutline: Ri,
1072
1072
  HomeOutlineRounded: Ki,
@@ -1111,14 +1111,14 @@ const Mr = /* @__PURE__ */ H(br, [["render", Sr]]), Ar = /* @__PURE__ */ Object.
1111
1111
  MD: "md",
1112
1112
  LG: "lg",
1113
1113
  XL: "xl"
1114
- }, Tr = {
1114
+ }, Lr = {
1115
1115
  PRIMARY: "primary",
1116
1116
  NEUTRAL: "neutral",
1117
1117
  BLACK: "black"
1118
1118
  }, rt = {
1119
1119
  ROUND: "round",
1120
1120
  ROUNDED: "rounded"
1121
- }, oe = /* @__PURE__ */ K({
1121
+ }, le = /* @__PURE__ */ K({
1122
1122
  __name: "AoIcon",
1123
1123
  props: {
1124
1124
  name: {},
@@ -1131,7 +1131,7 @@ const Mr = /* @__PURE__ */ H(br, [["render", Sr]]), Ar = /* @__PURE__ */ Object.
1131
1131
  }, null, 8, ["class"]));
1132
1132
  }
1133
1133
  });
1134
- const Lr = ["type"], Vr = {
1134
+ const Tr = ["type"], Vr = {
1135
1135
  key: 0,
1136
1136
  class: "ao-button__label"
1137
1137
  }, ue = /* @__PURE__ */ K({
@@ -1166,13 +1166,13 @@ const Lr = ["type"], Vr = {
1166
1166
  x(a.$slots, "default", {}, () => [
1167
1167
  a.label ? (c(), C("span", Vr, U(a.label), 1)) : A("", !0)
1168
1168
  ]),
1169
- n.value ? (c(), q(oe, {
1169
+ n.value ? (c(), q(le, {
1170
1170
  key: 0,
1171
1171
  name: n.value,
1172
1172
  class: "ao-button__icon",
1173
1173
  size: t.value
1174
1174
  }, null, 8, ["name", "size"])) : A("", !0)
1175
- ], 10, Lr));
1175
+ ], 10, Tr));
1176
1176
  }
1177
1177
  });
1178
1178
  function ct(s) {
@@ -1216,48 +1216,48 @@ const pe = /* @__PURE__ */ K({
1216
1216
  setup(s, { emit: e }) {
1217
1217
  const t = s, n = J(null), { isEditing: a, setIsEditing: o, onUpdate: i, onDiscard: l } = ct(n), p = _(() => a.value ? "input" : t.tag || `h${t.level}`), d = _(() => t.isEditable ? a.value ? {
1218
1218
  change: h,
1219
- click: ($) => $.stopPropagation(),
1219
+ click: (I) => I.stopPropagation(),
1220
1220
  blur: g
1221
1221
  } : {
1222
- click: L,
1223
- focus: L
1224
- } : {}), h = i(($, O) => {
1222
+ click: T,
1223
+ focus: T
1224
+ } : {}), h = i((I, O) => {
1225
1225
  const w = O.target.value;
1226
1226
  e("update:title", w);
1227
1227
  }), f = l(), g = async () => {
1228
1228
  a.value && o(!1);
1229
1229
  }, y = () => {
1230
1230
  e("toggle-is-editing", !1);
1231
- }, L = ($) => {
1232
- $.stopPropagation(), a.value || o(!0);
1231
+ }, T = (I) => {
1232
+ I.stopPropagation(), a.value || o(!0);
1233
1233
  };
1234
1234
  return _e(
1235
1235
  () => t.isEditable,
1236
- ($) => {
1237
- $ || f();
1236
+ (I) => {
1237
+ I || f();
1238
1238
  }
1239
- ), ($, O) => (c(), q(Ke(p.value), De({
1239
+ ), (I, O) => (c(), q(Ke(p.value), De({
1240
1240
  ref_key: "target",
1241
1241
  ref: n,
1242
1242
  class: [
1243
1243
  "ao-title",
1244
- `ao-title--${$.level}`,
1244
+ `ao-title--${I.level}`,
1245
1245
  {
1246
- [`ao-title--${$.color}`]: !!$.color,
1247
- "ao-title--editable": $.isEditable,
1246
+ [`ao-title--${I.color}`]: !!I.color,
1247
+ "ao-title--editable": I.isEditable,
1248
1248
  "ao-field__input ao-title--editing": P(a),
1249
1249
  "ao-title--readonly": !P(a)
1250
1250
  }
1251
1251
  ],
1252
1252
  type: P(a) ? "text" : null,
1253
- value: P(a) ? $.title : null,
1253
+ value: P(a) ? I.title : null,
1254
1254
  tabindex: "0",
1255
1255
  onKeyup: a1(y, ["enter"])
1256
1256
  }, zt(d.value), {
1257
1257
  onKeydown: a1(P(f), ["esc"])
1258
1258
  }), {
1259
1259
  default: F(() => [
1260
- N1(U($.title), 1)
1260
+ N1(U(I.title), 1)
1261
1261
  ]),
1262
1262
  _: 1
1263
1263
  }, 16, ["class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1305,14 +1305,14 @@ const Er = {
1305
1305
  }, {
1306
1306
  default: F(() => [
1307
1307
  n.isDraggable ? (c(), C("div", Er, [
1308
- b(oe, {
1308
+ b(le, {
1309
1309
  name: "DragIndicator",
1310
1310
  class: "ao-card-horiz__drag-handle"
1311
1311
  })
1312
1312
  ])) : A("", !0),
1313
1313
  r("div", Hr, [
1314
1314
  n.icon ? (c(), C("div", Or, [
1315
- b(oe, {
1315
+ b(le, {
1316
1316
  class: "ao-card-horiz__icon",
1317
1317
  name: n.icon,
1318
1318
  size: "xl"
@@ -1384,7 +1384,7 @@ const g1 = /* @__PURE__ */ K({
1384
1384
  class: "ao-tag__close",
1385
1385
  onClick: o[1] || (o[1] = (i) => a.$emit("close", i))
1386
1386
  }, [
1387
- b(oe, {
1387
+ b(le, {
1388
1388
  name: "CloseRounded",
1389
1389
  size: "sm",
1390
1390
  class: "ao-tag__close-icon"
@@ -1393,7 +1393,7 @@ const g1 = /* @__PURE__ */ K({
1393
1393
  ], 2));
1394
1394
  }
1395
1395
  });
1396
- var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, ve = {}, ut = {}, Je = {}, o1 = {}, xe = {}, y1 = {};
1396
+ var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, he = {}, ut = {}, Je = {}, o1 = {}, xe = {}, y1 = {};
1397
1397
  Object.defineProperty(y1, "__esModule", { value: !0 });
1398
1398
  y1.lexoHelper = void 0;
1399
1399
  y1.lexoHelper = {
@@ -1974,21 +1974,21 @@ function mt() {
1974
1974
  p = h;
1975
1975
  }
1976
1976
  let f;
1977
- for (let L = p.getScale(); L > 0; d = f) {
1978
- const $ = L - 1, O = p.setScale($, !0);
1979
- if (f = d.setScale($, !1), O.compareTo(f) === 0)
1977
+ for (let T = p.getScale(); T > 0; d = f) {
1978
+ const I = T - 1, O = p.setScale(I, !0);
1979
+ if (f = d.setScale(I, !1), O.compareTo(f) === 0)
1980
1980
  return a.checkMid(i, l, O);
1981
1981
  if (O.compareTo(f) > 0)
1982
1982
  break;
1983
- L = $, p = O;
1983
+ T = I, p = O;
1984
1984
  }
1985
1985
  let g = a.middleInternal(i, l, p, d), y;
1986
- for (let L = g.getScale(); L > 0; L = y) {
1987
- y = L - 1;
1988
- const $ = g.setScale(y);
1989
- if (i.compareTo($) >= 0 || $.compareTo(l) >= 0)
1986
+ for (let T = g.getScale(); T > 0; T = y) {
1987
+ y = T - 1;
1988
+ const I = g.setScale(y);
1989
+ if (i.compareTo(I) >= 0 || I.compareTo(l) >= 0)
1990
1990
  break;
1991
- g = $;
1991
+ g = I;
1992
1992
  }
1993
1993
  return g;
1994
1994
  }
@@ -2116,7 +2116,7 @@ function mt() {
2116
2116
  o !== "default" && !Object.prototype.hasOwnProperty.call(a, o) && e(a, n, o);
2117
2117
  };
2118
2118
  Object.defineProperty(s, "__esModule", { value: !0 }), t(ut, s), t(U1, s);
2119
- })(ve);
2119
+ })(he);
2120
2120
  function Ct(s) {
2121
2121
  return (s == null ? void 0 : s.reduce((e, t) => {
2122
2122
  var n;
@@ -2143,12 +2143,12 @@ function I1(s, e) {
2143
2143
  if (s.moved) {
2144
2144
  const { newIndex: t } = s.moved;
2145
2145
  if (t === 0 && e.length > 0)
2146
- return ve.LexoRank.parse(e[0].rank).genPrev().format();
2146
+ return he.LexoRank.parse(e[0].rank).genPrev().format();
2147
2147
  if (t === e.length - 1)
2148
- return ve.LexoRank.parse(e.at(-1).rank).genNext().format();
2148
+ return he.LexoRank.parse(e.at(-1).rank).genNext().format();
2149
2149
  {
2150
2150
  const n = e[t - 1], a = e[t];
2151
- return ve.LexoRank.parse(a.rank).between(ve.LexoRank.parse(n.rank)).format();
2151
+ return he.LexoRank.parse(a.rank).between(he.LexoRank.parse(n.rank)).format();
2152
2152
  }
2153
2153
  }
2154
2154
  }
@@ -2213,14 +2213,14 @@ const Jr = { class: "ao-card-template__subitems" }, e3 = { class: "ao-card-templ
2213
2213
  subtitle: F(() => [
2214
2214
  r("ul", Jr, [
2215
2215
  r("li", e3, [
2216
- b(oe, {
2216
+ b(le, {
2217
2217
  name: "MountainFlagOutlineRounded",
2218
2218
  size: "sm"
2219
2219
  }),
2220
2220
  r("span", t3, U(n.milestones), 1)
2221
2221
  ]),
2222
2222
  r("li", s3, [
2223
- b(oe, {
2223
+ b(le, {
2224
2224
  name: "TaskOutlineRounded",
2225
2225
  size: "sm"
2226
2226
  }),
@@ -2232,14 +2232,14 @@ const Jr = { class: "ao-card-template__subitems" }, e3 = { class: "ao-card-templ
2232
2232
  r("div", n3, [
2233
2233
  r("div", i3, [
2234
2234
  r("div", o3, [
2235
- b(oe, {
2235
+ b(le, {
2236
2236
  name: "WaterfallChartRounded",
2237
2237
  size: "sm"
2238
2238
  }),
2239
2239
  r("span", l3, U(n.$t("template.phases.title")), 1)
2240
2240
  ]),
2241
2241
  n.phases ? (c(), C("ul", r3, [
2242
- (c(!0), C(ie, null, he(n.phases, (o) => (c(), q(g1, {
2242
+ (c(!0), C(oe, null, me(n.phases, (o) => (c(), q(g1, {
2243
2243
  key: o.id,
2244
2244
  label: o.name || o.id,
2245
2245
  color: "primary",
@@ -2306,7 +2306,7 @@ const w3 = ["type"], $3 = {
2306
2306
  iconName: {},
2307
2307
  iconPosition: {},
2308
2308
  type: { default: () => "button" },
2309
- color: { default: () => Tr.BLACK },
2309
+ color: { default: () => Lr.BLACK },
2310
2310
  size: { default: () => f1.MD },
2311
2311
  isLoading: { type: Boolean, default: () => !1 },
2312
2312
  corners: { default: () => rt.ROUNDED }
@@ -2325,7 +2325,7 @@ const w3 = ["type"], $3 = {
2325
2325
  x(a.$slots, "default", {}, () => [
2326
2326
  a.label ? (c(), C("span", $3, U(a.label), 1)) : A("", !0)
2327
2327
  ]),
2328
- n.value ? (c(), q(oe, {
2328
+ n.value ? (c(), q(le, {
2329
2329
  key: 0,
2330
2330
  name: n.value,
2331
2331
  class: "ao-button-card__icon",
@@ -2360,9 +2360,9 @@ const I3 = { class: "ao-card-template-item__footer" }, S3 = {
2360
2360
  return (i, l) => (c(), q(dt, { "onUpdate:title": t }, {
2361
2361
  footer: F(() => [
2362
2362
  r("ul", I3, [
2363
- (c(), C(ie, null, he(n, (p) => (c(), C(ie, { key: p }, [
2363
+ (c(), C(oe, null, me(n, (p) => (c(), C(oe, { key: p }, [
2364
2364
  i.$props[p] ? (c(), C("li", S3, [
2365
- b(oe, {
2365
+ b(le, {
2366
2366
  name: a[p],
2367
2367
  size: "sm"
2368
2368
  }, null, 8, ["name"]),
@@ -2378,7 +2378,7 @@ const I3 = { class: "ao-card-template-item__footer" }, S3 = {
2378
2378
  variant: "ghost",
2379
2379
  size: "md",
2380
2380
  corners: "round",
2381
- onClick: Te(o, ["stop"])
2381
+ onClick: Le(o, ["stop"])
2382
2382
  }, null, 8, ["onClick"])
2383
2383
  ])
2384
2384
  ]),
@@ -2409,7 +2409,7 @@ const k3 = /* @__PURE__ */ K({
2409
2409
  _: 3
2410
2410
  }, 16, ["title", "activities", "milestones"]));
2411
2411
  }
2412
- }), T3 = /* @__PURE__ */ K({
2412
+ }), L3 = /* @__PURE__ */ K({
2413
2413
  __name: "AoCardTemplateItemMilestone",
2414
2414
  props: {
2415
2415
  activities: {}
@@ -2426,7 +2426,7 @@ const k3 = /* @__PURE__ */ K({
2426
2426
  _: 3
2427
2427
  }, 8, ["activities"]));
2428
2428
  }
2429
- }), L3 = { class: "ao-list__footer" }, V3 = /* @__PURE__ */ K({
2429
+ }), T3 = { class: "ao-list__footer" }, V3 = /* @__PURE__ */ K({
2430
2430
  __name: "AoTemplateDetailsMilestones",
2431
2431
  props: {
2432
2432
  templateId: {},
@@ -2467,7 +2467,7 @@ const k3 = /* @__PURE__ */ K({
2467
2467
  })
2468
2468
  ]),
2469
2469
  item: F(({ element: d }) => [
2470
- (c(), q(T3, {
2470
+ (c(), q(L3, {
2471
2471
  key: d.id,
2472
2472
  title: d.name,
2473
2473
  activities: d.activities,
@@ -2483,7 +2483,7 @@ const k3 = /* @__PURE__ */ K({
2483
2483
  }, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
2484
2484
  ]),
2485
2485
  footer: F(() => [
2486
- r("div", L3, [
2486
+ r("div", T3, [
2487
2487
  b(Pe, {
2488
2488
  "icon-name": "AddBoxOutlineRounded",
2489
2489
  label: l.$t("template.milestones.add"),
@@ -2611,14 +2611,14 @@ function B3(s, e, t) {
2611
2611
  l.value = y.target.value;
2612
2612
  }, f = (y) => {
2613
2613
  if (n && n.value) {
2614
- let L = n.value;
2615
- typeof L == "string" && (L = new RegExp(L)), y.key.match(L) || y.preventDefault();
2614
+ let T = n.value;
2615
+ typeof T == "string" && (T = new RegExp(T)), y.key.match(T) || y.preventDefault();
2616
2616
  }
2617
2617
  }, g = (y) => {
2618
2618
  if (n && n.value) {
2619
- let $ = (y.clipboardData || /* istanbul ignore next */
2619
+ let I = (y.clipboardData || /* istanbul ignore next */
2620
2620
  window.clipboardData).getData("Text"), O = n.value;
2621
- typeof O == "string" && (O = new RegExp(O)), $.split("").every((V) => !!V.match(O)) || y.preventDefault();
2621
+ typeof O == "string" && (O = new RegExp(O)), I.split("").every((V) => !!V.match(O)) || y.preventDefault();
2622
2622
  }
2623
2623
  e.emit("paste", y, a);
2624
2624
  };
@@ -2670,12 +2670,12 @@ function R3(s, e, t) {
2670
2670
  appendNewTag: f,
2671
2671
  appendNewOption: g,
2672
2672
  multipleLabel: y,
2673
- object: L,
2674
- loading: $,
2673
+ object: T,
2674
+ loading: I,
2675
2675
  delay: O,
2676
2676
  resolveOnLoad: V,
2677
2677
  minChars: w,
2678
- filterResults: D,
2678
+ filterResults: j,
2679
2679
  clearOnSearch: X,
2680
2680
  clearOnSelect: se,
2681
2681
  valueProp: v,
@@ -2688,23 +2688,23 @@ function R3(s, e, t) {
2688
2688
  closeOnDeselect: W,
2689
2689
  groups: ge,
2690
2690
  reverse: ye,
2691
- infinite: Le,
2691
+ infinite: Te,
2692
2692
  groupOptions: u,
2693
- groupHideEmpty: I,
2693
+ groupHideEmpty: $,
2694
2694
  groupSelect: S,
2695
2695
  onCreate: k,
2696
- disabledProp: j,
2696
+ disabledProp: D,
2697
2697
  searchStart: te,
2698
- searchFilter: le
2699
- } = we(s), Q = Be().proxy, R = t.iv, M = t.ev, B = t.search, Ce = t.clearSearch, Se = t.update, yt = t.pointer, Ze = t.clearPointer, bt = t.focus, wt = t.deactivate, Ne = t.close, $t = t.localize, Ye = J([]), He = J([]), Me = J(!1), A1 = J(null), k1 = J(Le.value && i.value === -1 ? 10 : i.value), K1 = _(() => p.value || d.value || !1), It = _(() => f.value !== void 0 ? f.value : g.value !== void 0 ? g.value : !0), Oe = _(() => {
2698
+ searchFilter: ae
2699
+ } = we(s), Q = Be().proxy, R = t.iv, M = t.ev, B = t.search, ve = t.clearSearch, Se = t.update, yt = t.pointer, Ze = t.clearPointer, bt = t.focus, wt = t.deactivate, Ne = t.close, $t = t.localize, Ye = J([]), He = J([]), Me = J(!1), A1 = J(null), k1 = J(Te.value && i.value === -1 ? 10 : i.value), K1 = _(() => p.value || d.value || !1), It = _(() => f.value !== void 0 ? f.value : g.value !== void 0 ? g.value : !0), Oe = _(() => {
2700
2700
  if (ge.value) {
2701
2701
  let m = r1.value || /* istanbul ignore next */
2702
- [], T = [];
2702
+ [], L = [];
2703
2703
  return m.forEach((Y) => {
2704
2704
  O1(Y[u.value]).forEach((re) => {
2705
- T.push(Object.assign({}, re, Y[j.value] ? { [j.value]: !0 } : {}));
2705
+ L.push(Object.assign({}, re, Y[D.value] ? { [D.value]: !0 } : {}));
2706
2706
  });
2707
- }), T;
2707
+ }), L;
2708
2708
  } else {
2709
2709
  let m = O1(He.value || /* istanbul ignore next */
2710
2710
  []);
@@ -2719,15 +2719,15 @@ function R3(s, e, t) {
2719
2719
  }), r1 = _(() => {
2720
2720
  if (!ge.value)
2721
2721
  return [];
2722
- let m = [], T = He.value || /* istanbul ignore next */
2722
+ let m = [], L = He.value || /* istanbul ignore next */
2723
2723
  [];
2724
2724
  return Ye.value.length && m.push({
2725
2725
  [N.value]: " ",
2726
2726
  [u.value]: [...Ye.value],
2727
2727
  __CREATE__: !0
2728
- }), m.concat(T);
2728
+ }), m.concat(L);
2729
2729
  }), St = _(() => {
2730
- let m = [...r1.value].map((T) => ({ ...T }));
2730
+ let m = [...r1.value].map((L) => ({ ...L }));
2731
2731
  return Re.value.length && (m[0] && m[0].__CREATE__ ? m[0][u.value] = [...Re.value, ...m[0][u.value]] : m = [{
2732
2732
  [N.value]: " ",
2733
2733
  [u.value]: [...Re.value],
@@ -2738,17 +2738,17 @@ function R3(s, e, t) {
2738
2738
  return [];
2739
2739
  let m = St.value;
2740
2740
  return Nt((m || /* istanbul ignore next */
2741
- []).map((T, Y) => {
2742
- const re = O1(T[u.value]);
2741
+ []).map((L, Y) => {
2742
+ const re = O1(L[u.value]);
2743
2743
  return {
2744
- ...T,
2744
+ ...L,
2745
2745
  index: Y,
2746
2746
  group: !0,
2747
- [u.value]: H1(re, !1).map((Qe) => Object.assign({}, Qe, T[j.value] ? { [j.value]: !0 } : {})),
2748
- __VISIBLE__: H1(re).map((Qe) => Object.assign({}, Qe, T[j.value] ? { [j.value]: !0 } : {}))
2747
+ [u.value]: H1(re, !1).map((Qe) => Object.assign({}, Qe, L[D.value] ? { [D.value]: !0 } : {})),
2748
+ __VISIBLE__: H1(re).map((Qe) => Object.assign({}, Qe, L[D.value] ? { [D.value]: !0 } : {}))
2749
2749
  };
2750
2750
  }));
2751
- }), T1 = _(() => {
2751
+ }), L1 = _(() => {
2752
2752
  switch (a.value) {
2753
2753
  case "single":
2754
2754
  return !ke(R.value[v.value]);
@@ -2761,7 +2761,7 @@ function R3(s, e, t) {
2761
2761
  [Ae.value]: B.value,
2762
2762
  [h.value]: B.value,
2763
2763
  __CREATE__: !0
2764
- }]), Ae = _(() => o.value || h.value), Tt = _(() => {
2764
+ }]), Ae = _(() => o.value || h.value), Lt = _(() => {
2765
2765
  switch (a.value) {
2766
2766
  case "single":
2767
2767
  return null;
@@ -2769,7 +2769,7 @@ function R3(s, e, t) {
2769
2769
  case "tags":
2770
2770
  return [];
2771
2771
  }
2772
- }), Lt = _(() => $.value || Me.value), Ue = (m) => {
2772
+ }), Tt = _(() => I.value || Me.value), Ue = (m) => {
2773
2773
  switch (typeof m != "object" && (m = Ee(m)), a.value) {
2774
2774
  case "single":
2775
2775
  Se(m);
@@ -2787,20 +2787,20 @@ function R3(s, e, t) {
2787
2787
  break;
2788
2788
  case "tags":
2789
2789
  case "multiple":
2790
- Se(Array.isArray(m) ? R.value.filter((T) => m.map((Y) => Y[v.value]).indexOf(T[v.value]) === -1) : R.value.filter((T) => T[v.value] != m[v.value]));
2790
+ Se(Array.isArray(m) ? R.value.filter((L) => m.map((Y) => Y[v.value]).indexOf(L[v.value]) === -1) : R.value.filter((L) => L[v.value] != m[v.value]));
2791
2791
  break;
2792
2792
  }
2793
2793
  e.emit("deselect", Y1(m), m, Q);
2794
- }, Y1 = (m) => L.value ? m : m[v.value], X1 = (m) => {
2794
+ }, Y1 = (m) => T.value ? m : m[v.value], X1 = (m) => {
2795
2795
  qe(m);
2796
- }, Vt = (m, T) => {
2797
- if (T.button !== 0) {
2798
- T.preventDefault();
2796
+ }, Vt = (m, L) => {
2797
+ if (L.button !== 0) {
2798
+ L.preventDefault();
2799
2799
  return;
2800
2800
  }
2801
2801
  X1(m);
2802
2802
  }, Q1 = () => {
2803
- e.emit("clear", Q), Se(Tt.value);
2803
+ e.emit("clear", Q), Se(Lt.value);
2804
2804
  }, Ve = (m) => {
2805
2805
  if (m.group !== void 0)
2806
2806
  return a.value === "single" ? !1 : jt(m[u.value]) && m[u.value].length;
@@ -2809,13 +2809,13 @@ function R3(s, e, t) {
2809
2809
  return !ke(R.value) && R.value[v.value] == m[v.value];
2810
2810
  case "tags":
2811
2811
  case "multiple":
2812
- return !ke(R.value) && R.value.map((T) => T[v.value]).indexOf(m[v.value]) !== -1;
2812
+ return !ke(R.value) && R.value.map((L) => L[v.value]).indexOf(m[v.value]) !== -1;
2813
2813
  }
2814
- }, L1 = (m) => m[j.value] === !0, V1 = () => ce === void 0 || ce.value === -1 || !T1.value && ce.value > 0 ? !1 : R.value.length >= ce.value, Et = (m) => {
2815
- if (!L1(m)) {
2814
+ }, T1 = (m) => m[D.value] === !0, V1 = () => ce === void 0 || ce.value === -1 || !L1.value && ce.value > 0 ? !1 : R.value.length >= ce.value, Et = (m) => {
2815
+ if (!T1(m)) {
2816
2816
  if (k && k.value && !Ve(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = k.value(m, Q), m instanceof Promise)) {
2817
- Me.value = !0, m.then((T) => {
2818
- Me.value = !1, J1(T);
2817
+ Me.value = !0, m.then((L) => {
2818
+ Me.value = !1, J1(L);
2819
2819
  });
2820
2820
  return;
2821
2821
  }
@@ -2828,7 +2828,7 @@ function R3(s, e, t) {
2828
2828
  ee.value && qe(m), W.value && (Ze(), Ne());
2829
2829
  return;
2830
2830
  }
2831
- m && E1(m), se.value && Ce(), Z.value && (Ze(), Ne()), m && Ue(m);
2831
+ m && E1(m), se.value && ve(), Z.value && (Ze(), Ne()), m && Ue(m);
2832
2832
  break;
2833
2833
  case "multiple":
2834
2834
  if (m && Ve(m)) {
@@ -2839,7 +2839,7 @@ function R3(s, e, t) {
2839
2839
  e.emit("max", Q);
2840
2840
  return;
2841
2841
  }
2842
- m && (E1(m), Ue(m)), se.value && Ce(), l.value && Ze(), Z.value && Ne();
2842
+ m && (E1(m), Ue(m)), se.value && ve(), l.value && Ze(), Z.value && Ne();
2843
2843
  break;
2844
2844
  case "tags":
2845
2845
  if (m && Ve(m)) {
@@ -2850,93 +2850,93 @@ function R3(s, e, t) {
2850
2850
  e.emit("max", Q);
2851
2851
  return;
2852
2852
  }
2853
- m && E1(m), se.value && Ce(), m && Ue(m), l.value && Ze(), Z.value && Ne();
2853
+ m && E1(m), se.value && ve(), m && Ue(m), l.value && Ze(), Z.value && Ne();
2854
2854
  break;
2855
2855
  }
2856
2856
  Z.value || bt();
2857
2857
  }, Ht = (m) => {
2858
- if (!(L1(m) || a.value === "single" || !S.value)) {
2858
+ if (!(T1(m) || a.value === "single" || !S.value)) {
2859
2859
  switch (a.value) {
2860
2860
  case "multiple":
2861
2861
  case "tags":
2862
2862
  Dt(m[u.value]) ? qe(m[u.value]) : Ue(
2863
- m[u.value].filter((T) => R.value.map((Y) => Y[v.value]).indexOf(T[v.value]) === -1).filter((T) => !T[j.value]).filter((T, Y) => R.value.length + 1 + Y <= ce.value || ce.value === -1)
2863
+ m[u.value].filter((L) => R.value.map((Y) => Y[v.value]).indexOf(L[v.value]) === -1).filter((L) => !L[D.value]).filter((L, Y) => R.value.length + 1 + Y <= ce.value || ce.value === -1)
2864
2864
  );
2865
2865
  break;
2866
2866
  }
2867
2867
  Z.value && wt();
2868
2868
  }
2869
2869
  }, E1 = (m) => {
2870
- Ee(m[v.value]) === void 0 && K1.value && (e.emit("tag", m[v.value], Q), e.emit("option", m[v.value], Q), e.emit("create", m[v.value], Q), It.value && Zt(m), Ce());
2870
+ Ee(m[v.value]) === void 0 && K1.value && (e.emit("tag", m[v.value], Q), e.emit("option", m[v.value], Q), e.emit("create", m[v.value], Q), It.value && Zt(m), ve());
2871
2871
  }, Ot = () => {
2872
2872
  a.value !== "single" && Ue(Xe.value.filter((m) => !m.disabled && !Ve(m)));
2873
- }, Dt = (m) => m.find((T) => !Ve(T) && !T[j.value]) === void 0, jt = (m) => m.find((T) => !Ve(T)) === void 0, Ee = (m) => Oe.value[Oe.value.map((T) => String(T[v.value])).indexOf(String(m))], Bt = (m, T = !0) => Oe.value.map((Y) => parseInt(Y[Ae.value]) == Y[Ae.value] ? parseInt(Y[Ae.value]) : Y[Ae.value]).indexOf(
2873
+ }, Dt = (m) => m.find((L) => !Ve(L) && !L[D.value]) === void 0, jt = (m) => m.find((L) => !Ve(L)) === void 0, Ee = (m) => Oe.value[Oe.value.map((L) => String(L[v.value])).indexOf(String(m))], Bt = (m, L = !0) => Oe.value.map((Y) => parseInt(Y[Ae.value]) == Y[Ae.value] ? parseInt(Y[Ae.value]) : Y[Ae.value]).indexOf(
2874
2874
  parseInt(m) == m ? parseInt(m) : m
2875
2875
  ), Pt = (m) => ["tags", "multiple"].indexOf(a.value) !== -1 && l.value && Ve(m), Zt = (m) => {
2876
2876
  Ye.value.push(m);
2877
- }, Nt = (m) => I.value ? m.filter(
2878
- (T) => B.value ? T.__VISIBLE__.length : T[u.value].length
2879
- ) : m.filter((T) => B.value ? T.__VISIBLE__.length : !0), H1 = (m, T = !0) => {
2877
+ }, Nt = (m) => $.value ? m.filter(
2878
+ (L) => B.value ? L.__VISIBLE__.length : L[u.value].length
2879
+ ) : m.filter((L) => B.value ? L.__VISIBLE__.length : !0), H1 = (m, L = !0) => {
2880
2880
  let Y = m;
2881
- if (B.value && D.value) {
2882
- let re = le.value;
2881
+ if (B.value && j.value) {
2882
+ let re = ae.value;
2883
2883
  re || (re = (Qe, Pc) => {
2884
2884
  let tt = j1($t(Qe[Ae.value]), fe.value);
2885
2885
  return te.value ? tt.startsWith(j1(B.value, fe.value)) : tt.indexOf(j1(B.value, fe.value)) !== -1;
2886
2886
  }), Y = Y.filter(re);
2887
2887
  }
2888
- return l.value && T && (Y = Y.filter((re) => !Pt(re))), Y;
2888
+ return l.value && L && (Y = Y.filter((re) => !Pt(re))), Y;
2889
2889
  }, O1 = (m) => {
2890
- let T = m;
2891
- return Z3(T) && (T = Object.keys(T).map((Y) => {
2892
- let re = T[Y];
2890
+ let L = m;
2891
+ return Z3(L) && (L = Object.keys(L).map((Y) => {
2892
+ let re = L[Y];
2893
2893
  return { [v.value]: Y, [Ae.value]: re, [h.value]: re };
2894
- })), T = T.map((Y) => typeof Y == "object" ? Y : { [v.value]: Y, [Ae.value]: Y, [h.value]: Y }), T;
2894
+ })), L = L.map((Y) => typeof Y == "object" ? Y : { [v.value]: Y, [Ae.value]: Y, [h.value]: Y }), L;
2895
2895
  }, c1 = () => {
2896
2896
  ke(M.value) || (R.value = u1(M.value));
2897
- }, d1 = (m) => (Me.value = !0, new Promise((T, Y) => {
2897
+ }, d1 = (m) => (Me.value = !0, new Promise((L, Y) => {
2898
2898
  n.value(B.value, Q).then((re) => {
2899
2899
  He.value = re || [], typeof m == "function" && m(re), Me.value = !1;
2900
2900
  }).catch((re) => {
2901
2901
  console.error(re), He.value = [], Me.value = !1;
2902
2902
  }).finally(() => {
2903
- T();
2903
+ L();
2904
2904
  });
2905
2905
  })), D1 = () => {
2906
- if (T1.value)
2906
+ if (L1.value)
2907
2907
  if (a.value === "single") {
2908
2908
  let m = Ee(R.value[v.value]);
2909
2909
  if (m !== void 0) {
2910
- let T = m[h.value];
2911
- R.value[h.value] = T, L.value && (M.value[h.value] = T);
2910
+ let L = m[h.value];
2911
+ R.value[h.value] = L, T.value && (M.value[h.value] = L);
2912
2912
  }
2913
2913
  } else
2914
- R.value.forEach((m, T) => {
2915
- let Y = Ee(R.value[T][v.value]);
2914
+ R.value.forEach((m, L) => {
2915
+ let Y = Ee(R.value[L][v.value]);
2916
2916
  if (Y !== void 0) {
2917
2917
  let re = Y[h.value];
2918
- R.value[T][h.value] = re, L.value && (M.value[T][h.value] = re);
2918
+ R.value[L][h.value] = re, T.value && (M.value[L][h.value] = re);
2919
2919
  }
2920
2920
  });
2921
2921
  }, Rt = (m) => {
2922
2922
  d1(m);
2923
- }, u1 = (m) => ke(m) ? a.value === "single" ? {} : [] : L.value ? m : a.value === "single" ? Ee(m) || (E.value ? {
2923
+ }, u1 = (m) => ke(m) ? a.value === "single" ? {} : [] : T.value ? m : a.value === "single" ? Ee(m) || (E.value ? {
2924
2924
  [h.value]: m,
2925
2925
  [v.value]: m,
2926
2926
  [Ae.value]: m
2927
- } : {}) : m.filter((T) => !!Ee(T) || E.value).map((T) => Ee(T) || {
2928
- [h.value]: T,
2929
- [v.value]: T,
2930
- [Ae.value]: T
2927
+ } : {}) : m.filter((L) => !!Ee(L) || E.value).map((L) => Ee(L) || {
2928
+ [h.value]: L,
2929
+ [v.value]: L,
2930
+ [Ae.value]: L
2931
2931
  }), et = () => {
2932
2932
  A1.value = _e(B, (m) => {
2933
2933
  m.length < w.value || !m && w.value !== 0 || (Me.value = !0, X.value && (He.value = []), setTimeout(() => {
2934
- m == B.value && n.value(B.value, Q).then((T) => {
2935
- (m == B.value || !B.value) && (He.value = T, yt.value = Xe.value.filter((Y) => Y[j.value] !== !0)[0] || null, Me.value = !1);
2934
+ m == B.value && n.value(B.value, Q).then((L) => {
2935
+ (m == B.value || !B.value) && (He.value = L, yt.value = Xe.value.filter((Y) => Y[D.value] !== !0)[0] || null, Me.value = !1);
2936
2936
  }).catch(
2937
2937
  /* istanbul ignore next */
2938
- (T) => {
2939
- console.error(T);
2938
+ (L) => {
2939
+ console.error(L);
2940
2940
  }
2941
2941
  );
2942
2942
  }, O.value));
@@ -2944,7 +2944,7 @@ function R3(s, e, t) {
2944
2944
  };
2945
2945
  if (a.value !== "single" && !ke(M.value) && !Array.isArray(M.value))
2946
2946
  throw new Error(`v-model must be an array when using "${a.value}" mode`);
2947
- return n && typeof n.value == "function" ? V.value ? d1(c1) : L.value == !0 && c1() : (He.value = n.value, c1()), O.value > -1 && et(), _e(O, (m, T) => {
2947
+ return n && typeof n.value == "function" ? V.value ? d1(c1) : T.value == !0 && c1() : (He.value = n.value, c1()), O.value > -1 && et(), _e(O, (m, L) => {
2948
2948
  A1.value && A1.value(), m >= 0 && et();
2949
2949
  }), _e(M, (m) => {
2950
2950
  if (ke(m)) {
@@ -2953,20 +2953,20 @@ function R3(s, e, t) {
2953
2953
  }
2954
2954
  switch (a.value) {
2955
2955
  case "single":
2956
- (L.value ? m[v.value] != R.value[v.value] : m != R.value[v.value]) && Se(u1(m), !1);
2956
+ (T.value ? m[v.value] != R.value[v.value] : m != R.value[v.value]) && Se(u1(m), !1);
2957
2957
  break;
2958
2958
  case "multiple":
2959
2959
  case "tags":
2960
- N3(L.value ? m.map((T) => T[v.value]) : m, R.value.map((T) => T[v.value])) || Se(u1(m), !1);
2960
+ N3(T.value ? m.map((L) => L[v.value]) : m, R.value.map((L) => L[v.value])) || Se(u1(m), !1);
2961
2961
  break;
2962
2962
  }
2963
- }, { deep: !0 }), _e(n, (m, T) => {
2964
- typeof s.options == "function" ? V.value && (!T || m && m.toString() !== T.toString()) && d1() : (He.value = s.options, Object.keys(R.value).length || c1(), D1());
2963
+ }, { deep: !0 }), _e(n, (m, L) => {
2964
+ typeof s.options == "function" ? V.value && (!L || m && m.toString() !== L.toString()) && d1() : (He.value = s.options, Object.keys(R.value).length || c1(), D1());
2965
2965
  }), _e(h, D1), {
2966
2966
  pfo: x1,
2967
2967
  fo: Xe,
2968
2968
  filteredOptions: Xe,
2969
- hasSelected: T1,
2969
+ hasSelected: L1,
2970
2970
  multipleLabelText: Mt,
2971
2971
  eo: Oe,
2972
2972
  extendedOptions: Oe,
@@ -2977,7 +2977,7 @@ function R3(s, e, t) {
2977
2977
  noOptions: At,
2978
2978
  noResults: kt,
2979
2979
  resolving: Me,
2980
- busy: Lt,
2980
+ busy: Tt,
2981
2981
  offset: k1,
2982
2982
  select: Ue,
2983
2983
  deselect: qe,
@@ -2985,7 +2985,7 @@ function R3(s, e, t) {
2985
2985
  selectAll: Ot,
2986
2986
  clear: Q1,
2987
2987
  isSelected: Ve,
2988
- isDisabled: L1,
2988
+ isDisabled: T1,
2989
2989
  isMax: V1,
2990
2990
  getOption: Ee,
2991
2991
  handleOptionClick: Et,
@@ -3007,31 +3007,31 @@ function U3(s, e, t) {
3007
3007
  groupSelect: d,
3008
3008
  disabledProp: h,
3009
3009
  groupOptions: f
3010
- } = we(s), g = t.fo, y = t.fg, L = t.handleOptionClick, $ = t.handleGroupClick, O = t.search, V = t.pointer, w = t.setPointer, D = t.clearPointer, X = t.multiselect, se = t.isOpen, v = _(() => g.value.filter((M) => !M[h.value])), E = _(() => y.value.filter((M) => !M[h.value])), N = _(() => p.value !== "single" && d.value), ee = _(() => V.value && V.value.group), ce = _(() => Q(V.value)), fe = _(() => {
3010
+ } = we(s), g = t.fo, y = t.fg, T = t.handleOptionClick, I = t.handleGroupClick, O = t.search, V = t.pointer, w = t.setPointer, j = t.clearPointer, X = t.multiselect, se = t.isOpen, v = _(() => g.value.filter((M) => !M[h.value])), E = _(() => y.value.filter((M) => !M[h.value])), N = _(() => p.value !== "single" && d.value), ee = _(() => V.value && V.value.group), ce = _(() => Q(V.value)), fe = _(() => {
3011
3011
  const M = ee.value ? V.value : (
3012
3012
  /* istanbul ignore next */
3013
3013
  Q(V.value)
3014
3014
  ), B = E.value.map((Se) => Se[i.value]).indexOf(M[i.value]);
3015
- let Ce = E.value[B - 1];
3016
- return Ce === void 0 && (Ce = W.value), Ce;
3015
+ let ve = E.value[B - 1];
3016
+ return ve === void 0 && (ve = W.value), ve;
3017
3017
  }), Z = _(() => {
3018
3018
  let M = E.value.map((B) => B.label).indexOf(ee.value ? V.value[i.value] : Q(V.value)[i.value]) + 1;
3019
3019
  return E.value.length <= M && (M = 0), E.value[M];
3020
3020
  }), W = _(() => [...E.value].slice(-1)[0]), ge = _(() => V.value.__VISIBLE__.filter((M) => !M[h.value])[0]), ye = _(() => {
3021
3021
  const M = ce.value.__VISIBLE__.filter((B) => !B[h.value]);
3022
3022
  return M[M.map((B) => B[n.value]).indexOf(V.value[n.value]) - 1];
3023
- }), Le = _(() => {
3023
+ }), Te = _(() => {
3024
3024
  const M = Q(V.value).__VISIBLE__.filter((B) => !B[h.value]);
3025
3025
  return M[M.map((B) => B[n.value]).indexOf(V.value[n.value]) + 1];
3026
- }), u = _(() => [...fe.value.__VISIBLE__.filter((M) => !M[h.value])].slice(-1)[0]), I = _(() => [...W.value.__VISIBLE__.filter((M) => !M[h.value])].slice(-1)[0]), S = (M) => V.value && (!M.group && V.value[n.value] === M[n.value] || M.group !== void 0 && V.value[i.value] === M[i.value]) ? !0 : void 0, k = () => {
3026
+ }), u = _(() => [...fe.value.__VISIBLE__.filter((M) => !M[h.value])].slice(-1)[0]), $ = _(() => [...W.value.__VISIBLE__.filter((M) => !M[h.value])].slice(-1)[0]), S = (M) => V.value && (!M.group && V.value[n.value] === M[n.value] || M.group !== void 0 && V.value[i.value] === M[i.value]) ? !0 : void 0, k = () => {
3027
3027
  w(v.value[0] || null);
3028
- }, j = () => {
3029
- !V.value || V.value[h.value] === !0 || (ee.value ? $(V.value) : L(V.value));
3028
+ }, D = () => {
3029
+ !V.value || V.value[h.value] === !0 || (ee.value ? I(V.value) : T(V.value));
3030
3030
  }, te = () => {
3031
3031
  if (V.value === null)
3032
3032
  w((l.value && N.value ? E.value[0].__CREATE__ ? v.value[0] : E.value[0] : v.value[0]) || null);
3033
3033
  else if (l.value && N.value) {
3034
- let M = ee.value ? ge.value : Le.value;
3034
+ let M = ee.value ? ge.value : Te.value;
3035
3035
  M === void 0 && (M = Z.value, M.__CREATE__ && (M = M[f.value][0])), w(M || /* istanbul ignore next */
3036
3036
  null);
3037
3037
  } else {
@@ -3041,10 +3041,10 @@ function U3(s, e, t) {
3041
3041
  je(() => {
3042
3042
  R();
3043
3043
  });
3044
- }, le = () => {
3044
+ }, ae = () => {
3045
3045
  if (V.value === null) {
3046
3046
  let M = v.value[v.value.length - 1];
3047
- l.value && N.value && (M = I.value, M === void 0 && (M = W.value)), w(M || null);
3047
+ l.value && N.value && (M = $.value, M === void 0 && (M = W.value)), w(M || null);
3048
3048
  } else if (l.value && N.value) {
3049
3049
  let M = ee.value ? u.value : ye.value;
3050
3050
  M === void 0 && (M = ee.value ? fe.value : ce.value, M.__CREATE__ && (M = u.value, M === void 0 && (M = fe.value))), w(M || /* istanbul ignore next */
@@ -3056,7 +3056,7 @@ function U3(s, e, t) {
3056
3056
  je(() => {
3057
3057
  R();
3058
3058
  });
3059
- }, Q = (M) => E.value.find((B) => B.__VISIBLE__.map((Ce) => Ce[n.value]).indexOf(M[n.value]) !== -1), R = () => {
3059
+ }, Q = (M) => E.value.find((B) => B.__VISIBLE__.map((ve) => ve[n.value]).indexOf(M[n.value]) !== -1), R = () => {
3060
3060
  let M = X.value.querySelector("[data-pointed]");
3061
3061
  if (!M)
3062
3062
  return;
@@ -3064,15 +3064,15 @@ function U3(s, e, t) {
3064
3064
  l.value && (B = ee.value ? M.parentElement.parentElement.parentElement : M.parentElement.parentElement.parentElement.parentElement), M.offsetTop + M.offsetHeight > B.clientHeight + B.scrollTop && (B.scrollTop = M.offsetTop + M.offsetHeight - B.clientHeight), M.offsetTop < B.scrollTop && (B.scrollTop = M.offsetTop);
3065
3065
  };
3066
3066
  return _e(O, (M) => {
3067
- o.value && (M.length && a.value ? k() : D());
3067
+ o.value && (M.length && a.value ? k() : j());
3068
3068
  }), _e(se, (M) => {
3069
3069
  if (M) {
3070
3070
  let B = X.value.querySelectorAll("[data-selected]")[0];
3071
3071
  if (!B)
3072
3072
  return;
3073
- let Ce = B.parentElement.parentElement;
3073
+ let ve = B.parentElement.parentElement;
3074
3074
  je(() => {
3075
- Ce.scrollTop > 0 || (Ce.scrollTop = B.offsetTop);
3075
+ ve.scrollTop > 0 || (ve.scrollTop = B.offsetTop);
3076
3076
  });
3077
3077
  }
3078
3078
  }), {
@@ -3080,9 +3080,9 @@ function U3(s, e, t) {
3080
3080
  canPointGroups: N,
3081
3081
  isPointed: S,
3082
3082
  setPointerFirst: k,
3083
- selectPointer: j,
3083
+ selectPointer: D,
3084
3084
  forwardPointer: te,
3085
- backwardPointer: le
3085
+ backwardPointer: ae
3086
3086
  };
3087
3087
  }
3088
3088
  function q3(s, e, t) {
@@ -3098,15 +3098,15 @@ function q3(s, e, t) {
3098
3098
  };
3099
3099
  }
3100
3100
  function F3(s, e, t) {
3101
- const { searchable: n, disabled: a, clearOnBlur: o } = we(s), i = t.input, l = t.open, p = t.close, d = t.clearSearch, h = t.isOpen, f = J(null), g = J(null), y = J(null), L = J(!1), $ = J(!1), O = _(() => n.value || a.value ? -1 : 0), V = () => {
3101
+ const { searchable: n, disabled: a, clearOnBlur: o } = we(s), i = t.input, l = t.open, p = t.close, d = t.clearSearch, h = t.isOpen, f = J(null), g = J(null), y = J(null), T = J(!1), I = J(!1), O = _(() => n.value || a.value ? -1 : 0), V = () => {
3102
3102
  n.value && i.value.blur(), g.value.blur();
3103
3103
  }, w = () => {
3104
3104
  n.value && !a.value && i.value.focus();
3105
- }, D = (ee = !0) => {
3106
- a.value || (L.value = !0, ee && l());
3105
+ }, j = (ee = !0) => {
3106
+ a.value || (T.value = !0, ee && l());
3107
3107
  }, X = () => {
3108
- L.value = !1, setTimeout(() => {
3109
- L.value || (p(), o.value && d());
3108
+ T.value = !1, setTimeout(() => {
3109
+ T.value || (p(), o.value && d());
3110
3110
  }, 1);
3111
3111
  };
3112
3112
  return {
@@ -3114,14 +3114,14 @@ function F3(s, e, t) {
3114
3114
  wrapper: g,
3115
3115
  tags: y,
3116
3116
  tabindex: O,
3117
- isActive: L,
3118
- mouseClicked: $,
3117
+ isActive: T,
3118
+ mouseClicked: I,
3119
3119
  blur: V,
3120
3120
  focus: w,
3121
- activate: D,
3121
+ activate: j,
3122
3122
  deactivate: X,
3123
3123
  handleFocusIn: (ee) => {
3124
- ee.target.closest("[data-tags]") && ee.target.nodeName !== "INPUT" || ee.target.closest("[data-clear]") || D($.value);
3124
+ ee.target.closest("[data-tags]") && ee.target.nodeName !== "INPUT" || ee.target.closest("[data-clear]") || j(I.value);
3125
3125
  },
3126
3126
  handleFocusOut: () => {
3127
3127
  X();
@@ -3130,10 +3130,10 @@ function F3(s, e, t) {
3130
3130
  X(), V();
3131
3131
  },
3132
3132
  handleMousedown: (ee) => {
3133
- $.value = !0, h.value && (ee.target.isEqualNode(g.value) || ee.target.isEqualNode(y.value)) ? setTimeout(() => {
3133
+ I.value = !0, h.value && (ee.target.isEqualNode(g.value) || ee.target.isEqualNode(y.value)) ? setTimeout(() => {
3134
3134
  X();
3135
- }, 0) : document.activeElement.isEqualNode(g.value) && !h.value && D(), setTimeout(() => {
3136
- $.value = !1;
3135
+ }, 0) : document.activeElement.isEqualNode(g.value) && !h.value && j(), setTimeout(() => {
3136
+ I.value = !1;
3137
3137
  }, 0);
3138
3138
  }
3139
3139
  };
@@ -3151,9 +3151,9 @@ function z3(s, e, t) {
3151
3151
  createTag: f,
3152
3152
  createOption: g,
3153
3153
  reverse: y
3154
- } = we(s), L = Be().proxy, $ = t.iv, O = t.update, V = t.search, w = t.setPointer, D = t.selectPointer, X = t.backwardPointer, se = t.forwardPointer, v = t.multiselect, E = t.wrapper, N = t.tags, ee = t.isOpen, ce = t.open, fe = t.blur, Z = t.fo, W = _(() => f.value || g.value || !1), ge = _(() => a.value !== void 0 ? a.value : h.value !== void 0 ? h.value : ["enter"]), ye = () => {
3154
+ } = we(s), T = Be().proxy, I = t.iv, O = t.update, V = t.search, w = t.setPointer, j = t.selectPointer, X = t.backwardPointer, se = t.forwardPointer, v = t.multiselect, E = t.wrapper, N = t.tags, ee = t.isOpen, ce = t.open, fe = t.blur, Z = t.fo, W = _(() => f.value || g.value || !1), ge = _(() => a.value !== void 0 ? a.value : h.value !== void 0 ? h.value : ["enter"]), ye = () => {
3155
3155
  n.value === "tags" && !l.value && W.value && i.value && !d.value && w(Z.value[Z.value.map((S) => S[p.value]).indexOf(V.value)]);
3156
- }, Le = (S) => {
3156
+ }, Te = (S) => {
3157
3157
  let k = S.length - 1;
3158
3158
  for (; k >= 0 && (S[k].remove === !1 || S[k].disabled); )
3159
3159
  k--;
@@ -3161,42 +3161,42 @@ function z3(s, e, t) {
3161
3161
  };
3162
3162
  return {
3163
3163
  handleKeydown: (S) => {
3164
- e.emit("keydown", S, L);
3165
- let k, j;
3166
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(S.key) !== -1 && n.value === "tags" && (k = [...v.value.querySelectorAll("[data-tags] > *")].filter((te) => te !== N.value), j = k.findIndex((te) => te === document.activeElement)), S.key) {
3164
+ e.emit("keydown", S, T);
3165
+ let k, D;
3166
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(S.key) !== -1 && n.value === "tags" && (k = [...v.value.querySelectorAll("[data-tags] > *")].filter((te) => te !== N.value), D = k.findIndex((te) => te === document.activeElement)), S.key) {
3167
3167
  case "Backspace":
3168
- if (n.value === "single" || i.value && [null, ""].indexOf(V.value) === -1 || $.value.length === 0)
3168
+ if (n.value === "single" || i.value && [null, ""].indexOf(V.value) === -1 || I.value.length === 0)
3169
3169
  return;
3170
- O(Le([...$.value]));
3170
+ O(Te([...I.value]));
3171
3171
  break;
3172
3172
  case "Enter":
3173
3173
  if (S.preventDefault(), S.keyCode === 229)
3174
3174
  return;
3175
- if (j !== -1 && j !== void 0) {
3176
- O([...$.value].filter((te, le) => le !== j)), j === k.length - 1 && (k.length - 1 ? k[k.length - 2].focus() : i.value ? N.value.querySelector("input").focus() : E.value.focus());
3175
+ if (D !== -1 && D !== void 0) {
3176
+ O([...I.value].filter((te, ae) => ae !== D)), D === k.length - 1 && (k.length - 1 ? k[k.length - 2].focus() : i.value ? N.value.querySelector("input").focus() : E.value.focus());
3177
3177
  return;
3178
3178
  }
3179
3179
  if (ge.value.indexOf("enter") === -1 && W.value)
3180
3180
  return;
3181
- ye(), D();
3181
+ ye(), j();
3182
3182
  break;
3183
3183
  case " ":
3184
3184
  if (!W.value && !i.value) {
3185
- S.preventDefault(), ye(), D();
3185
+ S.preventDefault(), ye(), j();
3186
3186
  return;
3187
3187
  }
3188
3188
  if (!W.value)
3189
3189
  return !1;
3190
3190
  if (ge.value.indexOf("space") === -1 && W.value)
3191
3191
  return;
3192
- S.preventDefault(), ye(), D();
3192
+ S.preventDefault(), ye(), j();
3193
3193
  break;
3194
3194
  case "Tab":
3195
3195
  case ";":
3196
3196
  case ",":
3197
3197
  if (ge.value.indexOf(S.key.toLowerCase()) === -1 || !W.value)
3198
3198
  return;
3199
- ye(), D(), S.preventDefault();
3199
+ ye(), j(), S.preventDefault();
3200
3200
  break;
3201
3201
  case "Escape":
3202
3202
  fe();
@@ -3212,19 +3212,19 @@ function z3(s, e, t) {
3212
3212
  ee.value || ce(), se();
3213
3213
  break;
3214
3214
  case "ArrowLeft":
3215
- if (i.value && N.value && N.value.querySelector("input").selectionStart || S.shiftKey || n.value !== "tags" || !$.value || !$.value.length)
3215
+ if (i.value && N.value && N.value.querySelector("input").selectionStart || S.shiftKey || n.value !== "tags" || !I.value || !I.value.length)
3216
3216
  return;
3217
- S.preventDefault(), j === -1 ? k[k.length - 1].focus() : j > 0 && k[j - 1].focus();
3217
+ S.preventDefault(), D === -1 ? k[k.length - 1].focus() : D > 0 && k[D - 1].focus();
3218
3218
  break;
3219
3219
  case "ArrowRight":
3220
- if (j === -1 || S.shiftKey || n.value !== "tags" || !$.value || !$.value.length)
3220
+ if (D === -1 || S.shiftKey || n.value !== "tags" || !I.value || !I.value.length)
3221
3221
  return;
3222
- S.preventDefault(), k.length > j + 1 ? k[j + 1].focus() : i.value ? N.value.querySelector("input").focus() : i.value || E.value.focus();
3222
+ S.preventDefault(), k.length > D + 1 ? k[D + 1].focus() : i.value ? N.value.querySelector("input").focus() : i.value || E.value.focus();
3223
3223
  break;
3224
3224
  }
3225
3225
  },
3226
3226
  handleKeyup: (S) => {
3227
- e.emit("keyup", S, L);
3227
+ e.emit("keyup", S, T);
3228
3228
  },
3229
3229
  preparePointer: ye
3230
3230
  };
@@ -3235,7 +3235,7 @@ function G3(s, e, t) {
3235
3235
  disabled: a,
3236
3236
  openDirection: o,
3237
3237
  showOptions: i
3238
- } = we(s), l = t.isOpen, p = t.isPointed, d = t.isSelected, h = t.isDisabled, f = t.isActive, g = t.canPointGroups, y = t.resolving, L = t.fo, $ = _(() => ({
3238
+ } = we(s), l = t.isOpen, p = t.isPointed, d = t.isSelected, h = t.isDisabled, f = t.isActive, g = t.canPointGroups, y = t.resolving, T = t.fo, I = _(() => ({
3239
3239
  container: "multiselect",
3240
3240
  containerDisabled: "is-disabled",
3241
3241
  containerOpen: "is-open",
@@ -3288,10 +3288,10 @@ function G3(s, e, t) {
3288
3288
  assist: "multiselect-assistive-text",
3289
3289
  spacer: "multiselect-spacer",
3290
3290
  ...n.value
3291
- })), O = _(() => !!(l.value && i.value && (!y.value || y.value && L.value.length)));
3291
+ })), O = _(() => !!(l.value && i.value && (!y.value || y.value && T.value.length)));
3292
3292
  return {
3293
3293
  classList: _(() => {
3294
- const w = $.value;
3294
+ const w = I.value;
3295
3295
  return {
3296
3296
  container: [w.container].concat(a.value ? w.containerDisabled : []).concat(O.value && o.value === "top" ? w.containerOpenTop : []).concat(O.value && o.value !== "top" ? w.containerOpen : []).concat(f.value ? w.containerActive : []),
3297
3297
  wrapper: w.wrapper,
@@ -3318,14 +3318,14 @@ function G3(s, e, t) {
3318
3318
  dropdown: [w.dropdown].concat(o.value === "top" ? w.dropdownTop : []).concat(!l.value || !i.value || !O.value ? w.dropdownHidden : []),
3319
3319
  options: [w.options].concat(o.value === "top" ? w.optionsTop : []),
3320
3320
  group: w.group,
3321
- groupLabel: (D) => {
3321
+ groupLabel: (j) => {
3322
3322
  let X = [w.groupLabel];
3323
- return p(D) ? X.push(d(D) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : d(D) && g.value ? X.push(h(D) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : h(D) && X.push(w.groupLabelDisabled), g.value && X.push(w.groupLabelPointable), X;
3323
+ return p(j) ? X.push(d(j) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : d(j) && g.value ? X.push(h(j) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : h(j) && X.push(w.groupLabelDisabled), g.value && X.push(w.groupLabelPointable), X;
3324
3324
  },
3325
3325
  groupOptions: w.groupOptions,
3326
- option: (D, X) => {
3326
+ option: (j, X) => {
3327
3327
  let se = [w.option];
3328
- return p(D) ? se.push(d(D) ? w.optionSelectedPointed : w.optionPointed) : d(D) ? se.push(h(D) ? w.optionSelectedDisabled : w.optionSelected) : (h(D) || X && h(X)) && se.push(w.optionDisabled), se;
3328
+ return p(j) ? se.push(d(j) ? w.optionSelectedPointed : w.optionPointed) : d(j) ? se.push(h(j) ? w.optionSelectedDisabled : w.optionSelected) : (h(j) || X && h(X)) && se.push(w.optionDisabled), se;
3329
3329
  },
3330
3330
  noOptions: w.noOptions,
3331
3331
  noResults: w.noResults,
@@ -3340,23 +3340,23 @@ function K3(s, e, t) {
3340
3340
  const {
3341
3341
  limit: n,
3342
3342
  infinite: a
3343
- } = we(s), o = t.isOpen, i = t.offset, l = t.search, p = t.pfo, d = t.eo, h = J(null), f = J(null), g = _(() => i.value < p.value.length), y = ($) => {
3344
- const { isIntersecting: O, target: V } = $[0];
3343
+ } = we(s), o = t.isOpen, i = t.offset, l = t.search, p = t.pfo, d = t.eo, h = J(null), f = J(null), g = _(() => i.value < p.value.length), y = (I) => {
3344
+ const { isIntersecting: O, target: V } = I[0];
3345
3345
  if (O) {
3346
- const w = V.offsetParent, D = w.scrollTop;
3346
+ const w = V.offsetParent, j = w.scrollTop;
3347
3347
  i.value += n.value == -1 ? 10 : n.value, je(() => {
3348
- w.scrollTop = D;
3348
+ w.scrollTop = j;
3349
3349
  });
3350
3350
  }
3351
- }, L = () => {
3351
+ }, T = () => {
3352
3352
  o.value && i.value < p.value.length ? h.value.observe(f.value) : !o.value && h.value && h.value.disconnect();
3353
3353
  };
3354
3354
  return _e(o, () => {
3355
- a.value && L();
3355
+ a.value && T();
3356
3356
  }), _e(l, () => {
3357
- a.value && (i.value = n.value, L());
3357
+ a.value && (i.value = n.value, T());
3358
3358
  }, { flush: "post" }), _e(d, () => {
3359
- a.value && L();
3359
+ a.value && T();
3360
3360
  }, { immediate: !1, flush: "post" }), _1(() => {
3361
3361
  window && window.IntersectionObserver && (h.value = new IntersectionObserver(y));
3362
3362
  }), {
@@ -3374,7 +3374,7 @@ function x3(s, e, t) {
3374
3374
  groupLabel: p,
3375
3375
  aria: d,
3376
3376
  searchable: h
3377
- } = we(s), f = t.pointer, g = t.iv, y = t.hasSelected, L = t.multipleLabelText, $ = J(null), O = _(() => {
3377
+ } = we(s), f = t.pointer, g = t.iv, y = t.hasSelected, T = t.multipleLabelText, I = J(null), O = _(() => {
3378
3378
  let Z = [];
3379
3379
  return a && a.value && Z.push(a.value), Z.push("assist"), Z.join("-");
3380
3380
  }), V = _(() => {
@@ -3384,9 +3384,9 @@ function x3(s, e, t) {
3384
3384
  let Z = [];
3385
3385
  if (a && a.value && Z.push(a.value), f.value)
3386
3386
  return Z.push(f.value.group ? "multiselect-group" : "multiselect-option"), Z.push(f.value.group ? f.value.index : f.value[o.value]), Z.join("-");
3387
- }), D = _(() => n.value), X = _(() => l.value !== "single"), se = _(() => {
3387
+ }), j = _(() => n.value), X = _(() => l.value !== "single"), se = _(() => {
3388
3388
  let Z = "";
3389
- return l.value === "single" && y.value && (Z += g.value[i.value]), l.value === "multiple" && y.value && (Z += L.value), l.value === "tags" && y.value && (Z += g.value.map((W) => W[i.value]).join(", ")), Z;
3389
+ return l.value === "single" && y.value && (Z += g.value[i.value]), l.value === "multiple" && y.value && (Z += T.value), l.value === "tags" && y.value && (Z += g.value.map((W) => W[i.value]).join(", ")), Z;
3390
3390
  }), v = _(() => {
3391
3391
  let Z = { ...d.value };
3392
3392
  return h.value && (Z["aria-labelledby"] = Z["aria-labelledby"] ? `${O.value} ${Z["aria-labelledby"]}` : O.value, se.value && Z["aria-label"] && (Z["aria-label"] = `${se.value}, ${Z["aria-label"]}`)), Z;
@@ -3406,14 +3406,14 @@ function x3(s, e, t) {
3406
3406
  return _1(() => {
3407
3407
  if (a && a.value && document && document.querySelector) {
3408
3408
  let Z = document.querySelector(`[for="${a.value}"]`);
3409
- $.value = Z ? Z.innerText : null;
3409
+ I.value = Z ? Z.innerText : null;
3410
3410
  }
3411
3411
  }), {
3412
3412
  arias: v,
3413
3413
  ariaLabel: se,
3414
3414
  ariaAssist: O,
3415
3415
  ariaControls: V,
3416
- ariaPlaceholder: D,
3416
+ ariaPlaceholder: j,
3417
3417
  ariaMultiselectable: X,
3418
3418
  ariaActiveDescendant: w,
3419
3419
  ariaOptionId: E,
@@ -3440,7 +3440,7 @@ function Y3(s, e, t, n = {}) {
3440
3440
  });
3441
3441
  }), n;
3442
3442
  }
3443
- var me = {
3443
+ var Ce = {
3444
3444
  name: "Multiselect",
3445
3445
  emits: [
3446
3446
  "paste",
@@ -3828,7 +3828,7 @@ function _0(s, e, t, n, a, o) {
3828
3828
  id: t.searchable ? t.id : void 0,
3829
3829
  onInput: e[0] || (e[0] = (...i) => s.handleSearchInput && s.handleSearchInput(...i)),
3830
3830
  onKeypress: e[1] || (e[1] = (...i) => s.handleKeypress && s.handleKeypress(...i)),
3831
- onPaste: e[2] || (e[2] = Te((...i) => s.handlePaste && s.handlePaste(...i), ["stop"])),
3831
+ onPaste: e[2] || (e[2] = Le((...i) => s.handlePaste && s.handlePaste(...i), ["stop"])),
3832
3832
  ref: "input",
3833
3833
  "aria-controls": s.ariaControls,
3834
3834
  "aria-placeholder": s.ariaPlaceholder,
@@ -3850,9 +3850,9 @@ function _0(s, e, t, n, a, o) {
3850
3850
  },
3851
3851
  [
3852
3852
  (c(!0), C(
3853
- ie,
3853
+ oe,
3854
3854
  null,
3855
- he(s.iv, (i, l, p) => x(s.$slots, "tag", {
3855
+ me(s.iv, (i, l, p) => x(s.$slots, "tag", {
3856
3856
  option: i,
3857
3857
  handleTagRemove: s.handleTagRemove,
3858
3858
  disabled: t.disabled
@@ -3875,7 +3875,7 @@ function _0(s, e, t, n, a, o) {
3875
3875
  !t.disabled && !i.disabled ? (c(), C("span", {
3876
3876
  key: 0,
3877
3877
  class: G(s.classList.tagRemove),
3878
- onClick: Te((d) => s.handleTagRemove(i, d), ["stop"])
3878
+ onClick: Le((d) => s.handleTagRemove(i, d), ["stop"])
3879
3879
  }, [
3880
3880
  r(
3881
3881
  "span",
@@ -3920,7 +3920,7 @@ function _0(s, e, t, n, a, o) {
3920
3920
  autocomplete: t.autocomplete,
3921
3921
  onInput: e[3] || (e[3] = (...i) => s.handleSearchInput && s.handleSearchInput(...i)),
3922
3922
  onKeypress: e[4] || (e[4] = (...i) => s.handleKeypress && s.handleKeypress(...i)),
3923
- onPaste: e[5] || (e[5] = Te((...i) => s.handlePaste && s.handlePaste(...i), ["stop"])),
3923
+ onPaste: e[5] || (e[5] = Le((...i) => s.handlePaste && s.handlePaste(...i), ["stop"])),
3924
3924
  ref: "input",
3925
3925
  "aria-controls": s.ariaControls,
3926
3926
  "aria-placeholder": s.ariaPlaceholder,
@@ -4063,9 +4063,9 @@ function _0(s, e, t, n, a, o) {
4063
4063
  role: "listbox"
4064
4064
  }, [
4065
4065
  t.groups ? (c(!0), C(
4066
- ie,
4066
+ oe,
4067
4067
  { key: 0 },
4068
- he(s.fg, (i, l, p) => (c(), C("li", {
4068
+ me(s.fg, (i, l, p) => (c(), C("li", {
4069
4069
  class: G(s.classList.group),
4070
4070
  key: p,
4071
4071
  id: s.ariaGroupId(i),
@@ -4096,9 +4096,9 @@ function _0(s, e, t, n, a, o) {
4096
4096
  role: "group"
4097
4097
  }, [
4098
4098
  (c(!0), C(
4099
- ie,
4099
+ oe,
4100
4100
  null,
4101
- he(i.__VISIBLE__, (d, h, f) => (c(), C("li", {
4101
+ me(i.__VISIBLE__, (d, h, f) => (c(), C("li", {
4102
4102
  class: G(s.classList.option(d, i)),
4103
4103
  "data-pointed": s.isPointed(d),
4104
4104
  "data-selected": s.isSelected(d) || void 0,
@@ -4133,9 +4133,9 @@ function _0(s, e, t, n, a, o) {
4133
4133
  128
4134
4134
  /* KEYED_FRAGMENT */
4135
4135
  )) : (c(!0), C(
4136
- ie,
4136
+ oe,
4137
4137
  { key: 1 },
4138
- he(s.fo, (i, l, p) => (c(), C("li", {
4138
+ me(s.fo, (i, l, p) => (c(), C("li", {
4139
4139
  class: G(s.classList.option(i)),
4140
4140
  "data-pointed": s.isPointed(i),
4141
4141
  "data-selected": s.isSelected(i) || void 0,
@@ -4216,7 +4216,7 @@ function _0(s, e, t, n, a, o) {
4216
4216
  }, null, 10, h0)) : A("v-if", !0),
4217
4217
  A(" Native input support "),
4218
4218
  t.nativeSupport ? (c(), C(
4219
- ie,
4219
+ oe,
4220
4220
  { key: 1 },
4221
4221
  [
4222
4222
  t.mode == "single" ? (c(), C("input", {
@@ -4225,9 +4225,9 @@ function _0(s, e, t, n, a, o) {
4225
4225
  name: t.name,
4226
4226
  value: s.plainValue !== void 0 ? s.plainValue : ""
4227
4227
  }, null, 8, m0)) : (c(!0), C(
4228
- ie,
4228
+ oe,
4229
4229
  { key: 1 },
4230
- he(s.plainValue, (i, l) => (c(), C("input", {
4230
+ me(s.plainValue, (i, l) => (c(), C("input", {
4231
4231
  type: "hidden",
4232
4232
  name: `${t.name}[]`,
4233
4233
  value: i,
@@ -4259,8 +4259,8 @@ function _0(s, e, t, n, a, o) {
4259
4259
  )
4260
4260
  ], 42, X3);
4261
4261
  }
4262
- me.render = _0;
4263
- me.__file = "src/Multiselect.vue";
4262
+ Ce.render = _0;
4263
+ Ce.__file = "src/Multiselect.vue";
4264
4264
  const f0 = { class: "ao-modal__wrapper" }, g0 = { class: "ao-modal" }, y0 = { class: "ao-modal__header" }, b0 = { class: "ao-modal__header-meta" }, w0 = {
4265
4265
  key: 0,
4266
4266
  class: "ao-modal__title-group"
@@ -4328,7 +4328,7 @@ K({
4328
4328
  };
4329
4329
  }
4330
4330
  });
4331
- const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = ["value", "onChange"], k0 = { class: "ao-subtasks__list-footer" }, T0 = /* @__PURE__ */ K({
4331
+ const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = ["value", "onChange"], k0 = { class: "ao-subtasks__list-footer" }, L0 = /* @__PURE__ */ K({
4332
4332
  __name: "AoActivitySubtasks",
4333
4333
  props: {
4334
4334
  activityId: {},
@@ -4339,7 +4339,7 @@ const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = [
4339
4339
  emits: ["add", "delete", "update"],
4340
4340
  setup(s, { emit: e }) {
4341
4341
  const t = s, { t: n } = M1(), a = () => {
4342
- const d = t.subtasks.length, h = t.subtasks.at(-1), f = h ? ve.LexoRank.parse(h.rank).genNext() : ve.LexoRank.middle(), g = {
4342
+ const d = t.subtasks.length, h = t.subtasks.at(-1), f = h ? he.LexoRank.parse(h.rank).genNext() : he.LexoRank.middle(), g = {
4343
4343
  name: n("template.defaultName.subtask", { idx: d + 1 }),
4344
4344
  rank: f.format(),
4345
4345
  activityId: t.activityId
@@ -4366,7 +4366,7 @@ const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = [
4366
4366
  };
4367
4367
  return (d, h) => (c(), C("div", S0, [
4368
4368
  r("ul", M0, [
4369
- (c(!0), C(ie, null, he(d.subtasks, (f) => (c(), C("li", {
4369
+ (c(!0), C(oe, null, me(d.subtasks, (f) => (c(), C("li", {
4370
4370
  key: f.id,
4371
4371
  class: "ao-subtask"
4372
4372
  }, [
@@ -4383,7 +4383,7 @@ const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = [
4383
4383
  type: "text",
4384
4384
  onChange: (g) => o(g, f.id)
4385
4385
  }, null, 40, A0),
4386
- b(P(me), {
4386
+ b(P(Ce), {
4387
4387
  mode: "tags",
4388
4388
  value: f.assignees,
4389
4389
  options: d.assigneesOptions,
@@ -4397,7 +4397,7 @@ const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = [
4397
4397
  b(We, {
4398
4398
  "user-name": g.label,
4399
4399
  "is-closable": !0,
4400
- onClose: (L) => y(g, L)
4400
+ onClose: (T) => y(g, T)
4401
4401
  }, null, 8, ["user-name", "onClose"])
4402
4402
  ]),
4403
4403
  _: 2
@@ -4422,7 +4422,7 @@ const S0 = { class: "ao-subtasks" }, M0 = { class: "ao-subtasks__list" }, A0 = [
4422
4422
  ]));
4423
4423
  }
4424
4424
  });
4425
- const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4425
+ const T0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4426
4426
  key: 0,
4427
4427
  class: "ao-files__list"
4428
4428
  }, E0 = ["href"], H0 = { class: "ao-file__title" }, O0 = {
@@ -4478,13 +4478,13 @@ const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4478
4478
  "ao-files__wrapper--drop-active": o.value
4479
4479
  }
4480
4480
  ]),
4481
- onDrop: Te(p, ["prevent"]),
4482
- onDragenter: Te(i, ["prevent"]),
4483
- onDragover: Te(i, ["prevent"]),
4484
- onDragleave: Te(l, ["prevent"])
4481
+ onDrop: Le(p, ["prevent"]),
4482
+ onDragenter: Le(i, ["prevent"]),
4483
+ onDragover: Le(i, ["prevent"]),
4484
+ onDragleave: Le(l, ["prevent"])
4485
4485
  }, [
4486
4486
  (f = d.attachments) != null && f.length && d.attachments.length > 0 ? (c(), C("ul", V0, [
4487
- (c(!0), C(ie, null, he(d.attachments, (g) => (c(), C("li", {
4487
+ (c(!0), C(oe, null, me(d.attachments, (g) => (c(), C("li", {
4488
4488
  key: g.id,
4489
4489
  class: "ao-file"
4490
4490
  }, [
@@ -4494,7 +4494,7 @@ const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4494
4494
  target: "_blank",
4495
4495
  rel: "noopener noreferrer"
4496
4496
  }, [
4497
- b(oe, {
4497
+ b(le, {
4498
4498
  class: "ao-file__icon",
4499
4499
  name: "AttachFileRounded",
4500
4500
  size: "sm"
@@ -4525,7 +4525,7 @@ const L0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], V0 = {
4525
4525
  ]),
4526
4526
  r("span", B0, U(d.$t("activity.attachment.placeholder.resting")), 1)
4527
4527
  ]))
4528
- ], 42, L0);
4528
+ ], 42, T0);
4529
4529
  };
4530
4530
  }
4531
4531
  });
@@ -4618,7 +4618,7 @@ const Z0 = {
4618
4618
  })), y = _(() => (t.templateMilestones || []).filter((E) => E.id !== t.milestoneId).map((E) => ({
4619
4619
  label: E.name,
4620
4620
  value: E.id
4621
- }))), L = _({
4621
+ }))), T = _({
4622
4622
  get() {
4623
4623
  return t.activity.dependingMilestones;
4624
4624
  },
@@ -4628,7 +4628,7 @@ const Z0 = {
4628
4628
  dependingMilestones: v
4629
4629
  });
4630
4630
  }
4631
- }), $ = (v) => {
4631
+ }), I = (v) => {
4632
4632
  e("addSubtask", v);
4633
4633
  }, O = (v) => {
4634
4634
  const E = [...t.activity.tasks || []], N = E.findIndex((ee) => ee.id === v.id);
@@ -4645,7 +4645,7 @@ const Z0 = {
4645
4645
  label: `${E.firstName} ${E.lastName}`,
4646
4646
  value: E.id
4647
4647
  }))) || [];
4648
- }), D = _({
4648
+ }), j = _({
4649
4649
  get() {
4650
4650
  var v;
4651
4651
  return (v = t.activity.assignee) == null ? void 0 : v.id;
@@ -4743,9 +4743,9 @@ const Z0 = {
4743
4743
  r("div", Y0, [
4744
4744
  r("div", X0, [
4745
4745
  r("span", Q0, U(v.$t("activity.assignee.label")), 1),
4746
- b(P(me), {
4747
- modelValue: D.value,
4748
- "onUpdate:modelValue": E[3] || (E[3] = (N) => D.value = N),
4746
+ b(P(Ce), {
4747
+ modelValue: j.value,
4748
+ "onUpdate:modelValue": E[3] || (E[3] = (N) => j.value = N),
4749
4749
  options: w.value,
4750
4750
  "close-on-select": !1,
4751
4751
  searchable: !0,
@@ -4766,7 +4766,7 @@ const Z0 = {
4766
4766
  r("div", J0, [
4767
4767
  r("label", e5, [
4768
4768
  r("span", t5, U(v.$t("activity.type.label")), 1),
4769
- b(P(me), {
4769
+ b(P(Ce), {
4770
4770
  modelValue: l.value,
4771
4771
  "onUpdate:modelValue": E[4] || (E[4] = (N) => l.value = N),
4772
4772
  class: "ao-field__multiselect",
@@ -4781,7 +4781,7 @@ const Z0 = {
4781
4781
  ]),
4782
4782
  r("fieldset", s5, [
4783
4783
  r("div", a5, [
4784
- b(oe, { name: "FlowsheetOutlineRounded" }),
4784
+ b(le, { name: "FlowsheetOutlineRounded" }),
4785
4785
  b(pe, {
4786
4786
  level: 4,
4787
4787
  title: v.$t("activity.dependencies.title")
@@ -4790,7 +4790,7 @@ const Z0 = {
4790
4790
  r("div", n5, [
4791
4791
  r("label", i5, [
4792
4792
  r("span", o5, U(v.$t("activity.dependingOn.label")), 1),
4793
- b(P(me), {
4793
+ b(P(Ce), {
4794
4794
  modelValue: d.value,
4795
4795
  "onUpdate:modelValue": E[5] || (E[5] = (N) => d.value = N),
4796
4796
  class: "ao-field__multiselect",
@@ -4804,7 +4804,7 @@ const Z0 = {
4804
4804
  r("div", l5, [
4805
4805
  r("label", r5, [
4806
4806
  r("span", c5, U(v.$t("activity.blocking.label")), 1),
4807
- b(P(me), {
4807
+ b(P(Ce), {
4808
4808
  modelValue: f.value,
4809
4809
  "onUpdate:modelValue": E[6] || (E[6] = (N) => f.value = N),
4810
4810
  class: "ao-field__multiselect",
@@ -4818,9 +4818,9 @@ const Z0 = {
4818
4818
  r("div", d5, [
4819
4819
  r("label", u5, [
4820
4820
  r("span", p5, U(v.$t("activity.dependingMilestone.label")), 1),
4821
- b(P(me), {
4822
- modelValue: L.value,
4823
- "onUpdate:modelValue": E[7] || (E[7] = (N) => L.value = N),
4821
+ b(P(Ce), {
4822
+ modelValue: T.value,
4823
+ "onUpdate:modelValue": E[7] || (E[7] = (N) => T.value = N),
4824
4824
  class: "ao-field__multiselect",
4825
4825
  mode: "tags",
4826
4826
  "close-on-select": !1,
@@ -4832,18 +4832,18 @@ const Z0 = {
4832
4832
  ]),
4833
4833
  r("fieldset", h5, [
4834
4834
  r("div", m5, [
4835
- b(oe, { name: "SelectCheckBox" }),
4835
+ b(le, { name: "SelectCheckBox" }),
4836
4836
  b(pe, {
4837
4837
  level: 4,
4838
4838
  title: v.$t("activity.subtasks.title")
4839
4839
  }, null, 8, ["title"])
4840
4840
  ]),
4841
- b(T0, {
4841
+ b(L0, {
4842
4842
  class: "ao-activity-details__subtasks",
4843
4843
  subtasks: v.activity.tasks || [],
4844
4844
  "activity-id": v.activity.id,
4845
4845
  "assignees-options": w.value,
4846
- onAdd: $,
4846
+ onAdd: I,
4847
4847
  onUpdate: O,
4848
4848
  onDelete: V
4849
4849
  }, null, 8, ["subtasks", "activity-id", "assignees-options"])
@@ -4852,7 +4852,7 @@ const Z0 = {
4852
4852
  ]),
4853
4853
  r("div", C5, [
4854
4854
  r("div", v5, [
4855
- b(oe, { name: "AttachFileRounded" }),
4855
+ b(le, { name: "AttachFileRounded" }),
4856
4856
  b(pe, {
4857
4857
  level: 4,
4858
4858
  title: v.$t("activity.attachments.title")
@@ -4950,9 +4950,9 @@ const Fc = {
4950
4950
  [de.ACTIVITIES]: t.templateActivities,
4951
4951
  [de.MILESTONES]: t.templateMilestones,
4952
4952
  [de.PHASES]: t.templatePhases
4953
- }[n.value]) == null ? void 0 : w.map((D) => ({
4954
- value: D.id,
4955
- label: D.name
4953
+ }[n.value]) == null ? void 0 : w.map((j) => ({
4954
+ value: j.id,
4955
+ label: j.name
4956
4956
  }));
4957
4957
  }), p = m1(t.rule.comparator), d = _({
4958
4958
  get() {
@@ -4968,14 +4968,14 @@ const Fc = {
4968
4968
  set(V) {
4969
4969
  e("update:rule", { ...t.rule, trigger: V });
4970
4970
  }
4971
- }), y = _(() => Object.values(y5)), L = _({
4971
+ }), y = _(() => Object.values(y5)), T = _({
4972
4972
  get() {
4973
4973
  return t.rule.duration;
4974
4974
  },
4975
4975
  set(V) {
4976
4976
  e("update:rule", { ...t.rule, duration: V });
4977
4977
  }
4978
- }), $ = _({
4978
+ }), I = _({
4979
4979
  get() {
4980
4980
  return t.rule.durationUnit;
4981
4981
  },
@@ -4985,48 +4985,48 @@ const Fc = {
4985
4985
  }), O = _(() => Object.values(b5));
4986
4986
  return (V, w) => (c(), q(Ke(V.tagName), { class: "ao-rule-line" }, {
4987
4987
  default: F(() => [
4988
- b(P(me), {
4988
+ b(P(Ce), {
4989
4989
  modelValue: a.value,
4990
- "onUpdate:modelValue": w[0] || (w[0] = (D) => a.value = D),
4990
+ "onUpdate:modelValue": w[0] || (w[0] = (j) => a.value = j),
4991
4991
  options: o.value
4992
4992
  }, null, 8, ["modelValue", "options"]),
4993
- b(P(me), {
4993
+ b(P(Ce), {
4994
4994
  modelValue: i.value,
4995
- "onUpdate:modelValue": w[1] || (w[1] = (D) => i.value = D),
4995
+ "onUpdate:modelValue": w[1] || (w[1] = (j) => i.value = j),
4996
4996
  options: l.value
4997
4997
  }, null, 8, ["modelValue", "options"]),
4998
- b(P(me), {
4998
+ b(P(Ce), {
4999
4999
  modelValue: g.value,
5000
- "onUpdate:modelValue": w[2] || (w[2] = (D) => g.value = D),
5000
+ "onUpdate:modelValue": w[2] || (w[2] = (j) => g.value = j),
5001
5001
  options: y.value
5002
5002
  }, null, 8, ["modelValue", "options"]),
5003
- b(P(me), {
5003
+ b(P(Ce), {
5004
5004
  modelValue: d.value,
5005
- "onUpdate:modelValue": w[3] || (w[3] = (D) => d.value = D),
5005
+ "onUpdate:modelValue": w[3] || (w[3] = (j) => d.value = j),
5006
5006
  options: h.value
5007
5007
  }, null, 8, ["modelValue", "options"]),
5008
5008
  Fe(r("input", {
5009
- "onUpdate:modelValue": w[4] || (w[4] = (D) => L.value = D),
5009
+ "onUpdate:modelValue": w[4] || (w[4] = (j) => T.value = j),
5010
5010
  type: "number",
5011
5011
  min: "0"
5012
5012
  }, null, 512), [
5013
5013
  [
5014
5014
  n1,
5015
- L.value,
5015
+ T.value,
5016
5016
  void 0,
5017
5017
  { number: !0 }
5018
5018
  ]
5019
5019
  ]),
5020
- b(P(me), {
5021
- modelValue: $.value,
5022
- "onUpdate:modelValue": w[5] || (w[5] = (D) => $.value = D),
5020
+ b(P(Ce), {
5021
+ modelValue: I.value,
5022
+ "onUpdate:modelValue": w[5] || (w[5] = (j) => I.value = j),
5023
5023
  options: O.value
5024
5024
  }, null, 8, ["modelValue", "options"]),
5025
5025
  b(ue, {
5026
5026
  class: "ao-rule-line__remove",
5027
5027
  "icon-name": "CloseRounded",
5028
5028
  variant: "ghost",
5029
- onClick: w[6] || (w[6] = (D) => V.$emit("close"))
5029
+ onClick: w[6] || (w[6] = (j) => V.$emit("close"))
5030
5030
  })
5031
5031
  ]),
5032
5032
  _: 1
@@ -5059,7 +5059,7 @@ const I5 = { class: "ao-template-rules__body" }, S5 = { class: "ao-template-rule
5059
5059
  default: F(() => [
5060
5060
  r("div", I5, [
5061
5061
  r("ul", S5, [
5062
- (c(!0), C(ie, null, he(a.rules, (i) => (c(), q($5, {
5062
+ (c(!0), C(oe, null, me(a.rules, (i) => (c(), q($5, {
5063
5063
  key: i.id,
5064
5064
  rule: i,
5065
5065
  "template-phases": a.templatePhases,
@@ -5083,7 +5083,7 @@ const I5 = { class: "ao-template-rules__body" }, S5 = { class: "ao-template-rule
5083
5083
  const A5 = {
5084
5084
  key: 0,
5085
5085
  class: "ao-template-details"
5086
- }, k5 = { class: "ao-template-details__body" }, T5 = { class: "ao-template-details__cols" }, L5 = { class: "ao-template-details__col" }, V5 = { class: "ao-list__footer" }, E5 = { class: "ao-template-details__col" }, H5 = { class: "ao-template-details__col" }, O5 = /* @__PURE__ */ K({
5086
+ }, k5 = { class: "ao-template-details__body" }, L5 = { class: "ao-template-details__cols" }, T5 = { class: "ao-template-details__col" }, V5 = { class: "ao-list__footer" }, E5 = { class: "ao-template-details__col" }, H5 = { class: "ao-template-details__col" }, O5 = /* @__PURE__ */ K({
5087
5087
  __name: "AoTemplateDetails",
5088
5088
  props: {
5089
5089
  templateId: {},
@@ -5098,51 +5098,51 @@ const A5 = {
5098
5098
  const t = s, { t: n } = M1(), a = _(
5099
5099
  () => {
5100
5100
  var u;
5101
- return (u = t.templates) == null ? void 0 : u.find((I) => I.id === t.templateId);
5101
+ return (u = t.templates) == null ? void 0 : u.find(($) => $.id === t.templateId);
5102
5102
  }
5103
5103
  );
5104
5104
  _({
5105
5105
  get() {
5106
5106
  var S;
5107
- return [...((S = a.value) == null ? void 0 : S.phases) || []].sort((k, j) => k.order - j.order);
5107
+ return [...((S = a.value) == null ? void 0 : S.phases) || []].sort((k, D) => k.order - D.order);
5108
5108
  },
5109
5109
  set(u) {
5110
- u.map((I, S) => (I.order = S, I));
5110
+ u.map(($, S) => ($.order = S, $));
5111
5111
  }
5112
5112
  });
5113
5113
  const o = _(() => {
5114
- var u, I;
5115
- return (I = (u = a == null ? void 0 : a.value) == null ? void 0 : u.phases) == null ? void 0 : I.find((S) => S.id === t.phaseId);
5114
+ var u, $;
5115
+ return ($ = (u = a == null ? void 0 : a.value) == null ? void 0 : u.phases) == null ? void 0 : $.find((S) => S.id === t.phaseId);
5116
5116
  }), i = _(() => {
5117
- var u, I;
5118
- return (I = (u = o.value) == null ? void 0 : u.milestones) == null ? void 0 : I.find(
5117
+ var u, $;
5118
+ return ($ = (u = o.value) == null ? void 0 : u.milestones) == null ? void 0 : $.find(
5119
5119
  (S) => S.id === t.milestoneId
5120
5120
  );
5121
5121
  }), l = _(() => {
5122
- var u, I;
5123
- return ((I = (u = a.value) == null ? void 0 : u.phases) == null ? void 0 : I.reduce((S, k) => {
5124
- const j = k.milestones || [];
5125
- return [...S, ...j];
5122
+ var u, $;
5123
+ return (($ = (u = a.value) == null ? void 0 : u.phases) == null ? void 0 : $.reduce((S, k) => {
5124
+ const D = k.milestones || [];
5125
+ return [...S, ...D];
5126
5126
  }, [])) || [];
5127
5127
  }), p = _(() => {
5128
- var u, I;
5129
- return ((I = (u = a.value) == null ? void 0 : u.phases) == null ? void 0 : I.reduce((S, k) => {
5128
+ var u, $;
5129
+ return (($ = (u = a.value) == null ? void 0 : u.phases) == null ? void 0 : $.reduce((S, k) => {
5130
5130
  const te = (k.milestones || []).reduce(
5131
- (le, Q) => Q.activities ? [...le, ...Q.activities] : le,
5131
+ (ae, Q) => Q.activities ? [...ae, ...Q.activities] : ae,
5132
5132
  []
5133
5133
  );
5134
5134
  return [...S, ...te];
5135
5135
  }, [])) || [];
5136
5136
  }), d = _(() => {
5137
- var u, I;
5138
- return (I = (u = i.value) == null ? void 0 : u.activities) == null ? void 0 : I.find(
5137
+ var u, $;
5138
+ return ($ = (u = i.value) == null ? void 0 : u.activities) == null ? void 0 : $.find(
5139
5139
  (S) => S.id === t.activityId
5140
5140
  );
5141
5141
  }), h = _(() => {
5142
5142
  var u;
5143
- return ((u = t.activityTypes) == null ? void 0 : u.map((I) => ({
5144
- label: I.name,
5145
- value: I.id
5143
+ return ((u = t.activityTypes) == null ? void 0 : u.map(($) => ({
5144
+ label: $.name,
5145
+ value: $.id
5146
5146
  }))) || [];
5147
5147
  }), f = _(() => {
5148
5148
  var u;
@@ -5150,7 +5150,7 @@ const A5 = {
5150
5150
  }), g = () => {
5151
5151
  if (!a.value)
5152
5152
  return;
5153
- const u = a.value.phases.length, I = a.value.phases.at(-1), S = I ? ve.LexoRank.parse(I.rank).genNext() : ve.LexoRank.middle(), k = {
5153
+ const u = a.value.phases.length, $ = a.value.phases.at(-1), S = $ ? he.LexoRank.parse($.rank).genNext() : he.LexoRank.middle(), k = {
5154
5154
  name: n("template.defaultName.phase", { idx: u + 1 }),
5155
5155
  rank: S.format(),
5156
5156
  templateId: t.templateId
@@ -5167,7 +5167,7 @@ const A5 = {
5167
5167
  itemType: de.TEMPLATES,
5168
5168
  data: { name: u }
5169
5169
  });
5170
- }, L = (u) => {
5170
+ }, T = (u) => {
5171
5171
  e("removeItem", {
5172
5172
  type: de.PHASES,
5173
5173
  templateId: t.templateId,
@@ -5175,20 +5175,20 @@ const A5 = {
5175
5175
  id: u
5176
5176
  }
5177
5177
  });
5178
- }, $ = (u, I) => {
5178
+ }, I = (u, $) => {
5179
5179
  e("updateItem", {
5180
5180
  templateId: t.templateId,
5181
5181
  id: u,
5182
5182
  itemType: de.PHASES,
5183
- data: { name: I }
5183
+ data: { name: $ }
5184
5184
  });
5185
5185
  }, O = (u) => {
5186
5186
  e("updateItem", u);
5187
5187
  }, V = (u) => {
5188
5188
  if (!o.value)
5189
5189
  return;
5190
- const I = o.value.milestones.length, S = o.value.milestones.at(-1), k = S ? ve.LexoRank.parse(S.rank).genNext() : ve.LexoRank.middle(), j = {
5191
- name: n("template.defaultName.milestone", { idx: I + 1 }),
5190
+ const $ = o.value.milestones.length, S = o.value.milestones.at(-1), k = S ? he.LexoRank.parse(S.rank).genNext() : he.LexoRank.middle(), D = {
5191
+ name: n("template.defaultName.milestone", { idx: $ + 1 }),
5192
5192
  rank: k.format(),
5193
5193
  phaseId: u.phaseId
5194
5194
  };
@@ -5196,7 +5196,7 @@ const A5 = {
5196
5196
  type: de.MILESTONES,
5197
5197
  templateId: t.templateId,
5198
5198
  phaseId: u.phaseId,
5199
- item: j
5199
+ item: D
5200
5200
  });
5201
5201
  }, w = (u) => {
5202
5202
  e("removeItem", {
@@ -5207,44 +5207,44 @@ const A5 = {
5207
5207
  id: u.id
5208
5208
  }
5209
5209
  });
5210
- }, D = (u) => {
5211
- const { id: I, ...S } = u;
5210
+ }, j = (u) => {
5211
+ const { id: $, ...S } = u;
5212
5212
  e("updateItem", {
5213
5213
  itemType: de.MILESTONES,
5214
- id: I,
5214
+ id: $,
5215
5215
  templateId: t.templateId,
5216
5216
  data: S
5217
5217
  });
5218
5218
  }, X = (u) => {
5219
- const { milestoneId: I } = u;
5219
+ const { milestoneId: $ } = u;
5220
5220
  if (!i.value)
5221
5221
  return;
5222
- const S = i.value.activities.length, k = i.value.activities.at(-1), j = k ? ve.LexoRank.parse(k.rank).genNext() : ve.LexoRank.middle(), te = {
5222
+ const S = i.value.activities.length, k = i.value.activities.at(-1), D = k ? he.LexoRank.parse(k.rank).genNext() : he.LexoRank.middle(), te = {
5223
5223
  name: n("template.defaultName.activity", { idx: S + 1 }),
5224
- rank: j.format(),
5225
- milestoneId: I
5224
+ rank: D.format(),
5225
+ milestoneId: $
5226
5226
  };
5227
5227
  e("addItem", {
5228
5228
  type: de.ACTIVITIES,
5229
- milestoneId: I,
5229
+ milestoneId: $,
5230
5230
  item: te
5231
5231
  });
5232
5232
  }, se = (u) => {
5233
- const { phaseId: I, milestoneId: S } = u;
5233
+ const { phaseId: $, milestoneId: S } = u;
5234
5234
  e("removeItem", {
5235
5235
  type: de.ACTIVITIES,
5236
5236
  templateId: t.templateId,
5237
- phaseId: I,
5237
+ phaseId: $,
5238
5238
  milestoneId: S,
5239
5239
  data: {
5240
5240
  id: u.id
5241
5241
  }
5242
5242
  });
5243
5243
  }, v = (u) => {
5244
- const { id: I, ...S } = u;
5244
+ const { id: $, ...S } = u;
5245
5245
  e("updateItem", {
5246
5246
  itemType: de.ACTIVITIES,
5247
- id: I,
5247
+ id: $,
5248
5248
  templateId: t.templateId,
5249
5249
  data: S
5250
5250
  });
@@ -5255,9 +5255,9 @@ const A5 = {
5255
5255
  }, ce = (u) => {
5256
5256
  e("removeRule", { id: u, templateId: t.templateId });
5257
5257
  }, fe = (u) => {
5258
- var I;
5258
+ var $;
5259
5259
  if (u.moved) {
5260
- const S = I1(u, ((I = a.value) == null ? void 0 : I.phases) ?? []);
5260
+ const S = I1(u, (($ = a.value) == null ? void 0 : $.phases) ?? []);
5261
5261
  e("updateItem", {
5262
5262
  itemType: de.PHASES,
5263
5263
  id: u.moved.element.id,
@@ -5277,50 +5277,50 @@ const A5 = {
5277
5277
  item: u
5278
5278
  });
5279
5279
  }, W = (u) => {
5280
- var k, j, te, le;
5280
+ var k, D, te, ae;
5281
5281
  if (!o.value || !i.value || !d.value)
5282
5282
  return;
5283
- const I = [...((k = d.value) == null ? void 0 : k.subtasks) || []], S = I.findIndex((Q) => Q.id === u.id);
5284
- I[S] = {
5285
- ...I[S],
5283
+ const $ = [...((k = d.value) == null ? void 0 : k.subtasks) || []], S = $.findIndex((Q) => Q.id === u.id);
5284
+ $[S] = {
5285
+ ...$[S],
5286
5286
  ...u
5287
5287
  }, v({
5288
- id: (j = d.value) == null ? void 0 : j.id,
5288
+ id: (D = d.value) == null ? void 0 : D.id,
5289
5289
  phaseId: (te = o.value) == null ? void 0 : te.id,
5290
- milestoneId: (le = i.value) == null ? void 0 : le.id,
5291
- subtasks: I
5290
+ milestoneId: (ae = i.value) == null ? void 0 : ae.id,
5291
+ subtasks: $
5292
5292
  });
5293
5293
  }, ge = (u) => {
5294
- var S, k, j, te;
5294
+ var S, k, D, te;
5295
5295
  if (!o.value || !i.value || !d.value)
5296
5296
  return;
5297
- const I = [...((S = d.value) == null ? void 0 : S.subtasks) || []].filter(
5298
- (le) => le.id !== u
5297
+ const $ = [...((S = d.value) == null ? void 0 : S.subtasks) || []].filter(
5298
+ (ae) => ae.id !== u
5299
5299
  );
5300
5300
  v({
5301
5301
  id: (k = d.value) == null ? void 0 : k.id,
5302
- phaseId: (j = o.value) == null ? void 0 : j.id,
5302
+ phaseId: (D = o.value) == null ? void 0 : D.id,
5303
5303
  milestoneId: (te = i.value) == null ? void 0 : te.id,
5304
- subtasks: I
5304
+ subtasks: $
5305
5305
  });
5306
5306
  }, ye = (u) => {
5307
5307
  e("addFiles", u);
5308
- }, Le = (u) => {
5308
+ }, Te = (u) => {
5309
5309
  e("removeFile", u);
5310
5310
  };
5311
- return (u, I) => {
5312
- var S, k, j, te, le, Q;
5311
+ return (u, $) => {
5312
+ var S, k, D, te, ae, Q;
5313
5313
  return a.value ? (c(), C("div", A5, [
5314
5314
  b(S1, {
5315
5315
  "can-go-back": !0,
5316
- onGoBack: I[1] || (I[1] = (R) => u.$router.push({ name: P(t1).TEMPLATES_LIST }))
5316
+ onGoBack: $[1] || ($[1] = (R) => u.$router.push({ name: P(t1).TEMPLATES_LIST }))
5317
5317
  }, {
5318
5318
  primary: F(() => [
5319
5319
  b(pe, {
5320
5320
  title: f.value,
5321
5321
  level: 2,
5322
5322
  "is-editable": !0,
5323
- "onUpdate:title": I[0] || (I[0] = (R) => {
5323
+ "onUpdate:title": $[0] || ($[0] = (R) => {
5324
5324
  y(R);
5325
5325
  })
5326
5326
  }, null, 8, ["title"])
@@ -5337,8 +5337,8 @@ const A5 = {
5337
5337
  _: 1
5338
5338
  }),
5339
5339
  r("div", k5, [
5340
- r("ol", T5, [
5341
- r("li", L5, [
5340
+ r("ol", L5, [
5341
+ r("li", T5, [
5342
5342
  b(P(i1), {
5343
5343
  "model-value": a.value.phases,
5344
5344
  class: "ao-templates__list",
@@ -5366,9 +5366,9 @@ const A5 = {
5366
5366
  params: { templateId: u.templateId, phaseId: R.id }
5367
5367
  }),
5368
5368
  "onUpdate:title": (B) => {
5369
- $(R.id, B);
5369
+ I(R.id, B);
5370
5370
  },
5371
- onRemove: () => L(R.id)
5371
+ onRemove: () => T(R.id)
5372
5372
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
5373
5373
  ];
5374
5374
  }),
@@ -5391,7 +5391,7 @@ const A5 = {
5391
5391
  phase: o.value,
5392
5392
  "milestone-id": (S = i.value) == null ? void 0 : S.id,
5393
5393
  onAddMilestone: V,
5394
- onUpdateMilestone: D,
5394
+ onUpdateMilestone: j,
5395
5395
  onUpdatePhase: O,
5396
5396
  onRemoveMilestone: w
5397
5397
  }, null, 8, ["template-id", "phase", "milestone-id"])) : A("", !0)
@@ -5402,7 +5402,7 @@ const A5 = {
5402
5402
  "template-id": u.templateId,
5403
5403
  "phase-id": (k = o.value) == null ? void 0 : k.id,
5404
5404
  milestone: i.value,
5405
- "activity-id": (j = d.value) == null ? void 0 : j.id,
5405
+ "activity-id": (D = d.value) == null ? void 0 : D.id,
5406
5406
  onAddActivity: X,
5407
5407
  onUpdateActivity: v,
5408
5408
  onRemoveActivity: se
@@ -5415,12 +5415,12 @@ const A5 = {
5415
5415
  key: 0,
5416
5416
  activity: d.value,
5417
5417
  "activity-types": h.value,
5418
- breadcrumbs: `${a.value.name} / ${(te = o.value) == null ? void 0 : te.name} / ${(le = i.value) == null ? void 0 : le.name}`,
5418
+ breadcrumbs: `${a.value.name} / ${(te = o.value) == null ? void 0 : te.name} / ${(ae = i.value) == null ? void 0 : ae.name}`,
5419
5419
  "milestone-id": (Q = i.value) == null ? void 0 : Q.id,
5420
5420
  "template-activities": p.value,
5421
5421
  "template-milestones": l.value,
5422
5422
  "is-template": !0,
5423
- "onUpdate:activity": I[2] || (I[2] = (R) => {
5423
+ "onUpdate:activity": $[2] || ($[2] = (R) => {
5424
5424
  u.phaseId && u.milestoneId && d.value && v({
5425
5425
  ...R,
5426
5426
  phaseId: u.phaseId,
@@ -5432,7 +5432,7 @@ const A5 = {
5432
5432
  onUpdateSubtask: W,
5433
5433
  onDeleteSubtask: ge,
5434
5434
  onAddFiles: ye,
5435
- onRemoveFile: Le
5435
+ onRemoveFile: Te
5436
5436
  }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : A("", !0)
5437
5437
  ])),
5438
5438
  (c(), q(C1, { to: "body" }, [
@@ -5495,7 +5495,7 @@ const G1 = /* @__PURE__ */ K({
5495
5495
  class: G(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
5496
5496
  role: "meter"
5497
5497
  }, [
5498
- (c(!0), C(ie, null, he(t.value, (o) => (c(), C("div", {
5498
+ (c(!0), C(oe, null, me(t.value, (o) => (c(), C("div", {
5499
5499
  key: o,
5500
5500
  class: G(["ao-progress__progress"]),
5501
5501
  style: xt({ width: `${o * 100}%` })
@@ -5543,9 +5543,9 @@ const P5 = { class: "ao-card-project-phase__header" }, Z5 = { class: "ao-card-pr
5543
5543
  footer: F(() => [
5544
5544
  r("div", Z5, [
5545
5545
  r("div", N5, [
5546
- t.value ? (c(), C(ie, { key: 0 }, [
5546
+ t.value ? (c(), C(oe, { key: 0 }, [
5547
5547
  r("div", R5, [
5548
- b(oe, {
5548
+ b(le, {
5549
5549
  name: "MountainFlagOutlineRounded",
5550
5550
  size: "sm"
5551
5551
  }),
@@ -5602,9 +5602,9 @@ const z5 = { class: "ao-card-project-phase__footer" }, G5 = { class: "ao-card-pr
5602
5602
  footer: F(() => [
5603
5603
  r("div", z5, [
5604
5604
  r("div", G5, [
5605
- t.value ? (c(), C(ie, { key: 0 }, [
5605
+ t.value ? (c(), C(oe, { key: 0 }, [
5606
5606
  r("div", K5, [
5607
- b(oe, {
5607
+ b(le, {
5608
5608
  name: "SelectCheckBox",
5609
5609
  size: "sm"
5610
5610
  }),
@@ -5648,7 +5648,7 @@ const X5 = { class: "ao-project-phase" }, Q5 = { class: "ao-project-phase__col-p
5648
5648
  r("div", J5, [
5649
5649
  r("div", e7, [
5650
5650
  r("ul", t7, [
5651
- (c(!0), C(ie, null, he(n.value, (l) => (c(), q(Y5, {
5651
+ (c(!0), C(oe, null, me(n.value, (l) => (c(), q(Y5, {
5652
5652
  id: l.id,
5653
5653
  key: l.id,
5654
5654
  name: l.name,
@@ -5682,50 +5682,50 @@ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { c
5682
5682
  },
5683
5683
  emits: ["addPhase", "addMilestone", "addActivity", "update:activity", "addSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
5684
5684
  setup(s, { emit: e }) {
5685
- const t = s, n = _(() => t.phases.reduce(($, O) => [...$, ...O.milestones || []], [])), a = () => {
5685
+ const t = s, n = _(() => t.phases.reduce((I, O) => [...I, ...O.milestones || []], [])), a = () => {
5686
5686
  e("addPhase");
5687
- }, o = ($) => {
5688
- e("addMilestone", $);
5689
- }, i = ($) => {
5690
- e("addActivity", $);
5691
- }, l = ($) => {
5692
- e("update:activity", $);
5693
- }, p = ($) => {
5687
+ }, o = (I) => {
5688
+ e("addMilestone", I);
5689
+ }, i = (I) => {
5690
+ e("addActivity", I);
5691
+ }, l = (I) => {
5692
+ e("update:activity", I);
5693
+ }, p = (I) => {
5694
5694
  var w;
5695
- const O = t.phases.find((D) => {
5695
+ const O = t.phases.find((j) => {
5696
5696
  var X;
5697
- return (X = D.milestones) == null ? void 0 : X.find((se) => {
5697
+ return (X = j.milestones) == null ? void 0 : X.find((se) => {
5698
5698
  var v;
5699
- return (v = se.activities) == null ? void 0 : v.find((E) => E.id === $.activityId);
5699
+ return (v = se.activities) == null ? void 0 : v.find((E) => E.id === I.activityId);
5700
5700
  });
5701
- }), V = (w = O == null ? void 0 : O.milestones) == null ? void 0 : w.find((D) => {
5701
+ }), V = (w = O == null ? void 0 : O.milestones) == null ? void 0 : w.find((j) => {
5702
5702
  var X;
5703
- return (X = D.activities) == null ? void 0 : X.find((se) => se.id === $.activityId);
5703
+ return (X = j.activities) == null ? void 0 : X.find((se) => se.id === I.activityId);
5704
5704
  });
5705
5705
  e("addSubtask", {
5706
5706
  milestoneId: V == null ? void 0 : V.id,
5707
5707
  phaseId: O == null ? void 0 : O.id,
5708
- ...$
5708
+ ...I
5709
5709
  });
5710
- }, d = _(() => n.value.reduce(($, O) => [...$, ...O.activities || []], [])), h = ($) => {
5711
- e("addFiles", $);
5712
- }, f = ($) => {
5713
- e("removeFile", $);
5714
- }, g = ($) => {
5715
- e("addComment", $);
5716
- }, y = ($) => {
5717
- e("updateComment", $);
5718
- }, L = ($) => {
5719
- e("removeComment", $);
5710
+ }, d = _(() => n.value.reduce((I, O) => [...I, ...O.activities || []], [])), h = (I) => {
5711
+ e("addFiles", I);
5712
+ }, f = (I) => {
5713
+ e("removeFile", I);
5714
+ }, g = (I) => {
5715
+ e("addComment", I);
5716
+ }, y = (I) => {
5717
+ e("updateComment", I);
5718
+ }, T = (I) => {
5719
+ e("removeComment", I);
5720
5720
  };
5721
- return ($, O) => {
5721
+ return (I, O) => {
5722
5722
  const V = Wt("RouterView");
5723
- return c(), C(ie, null, [
5723
+ return c(), C(oe, null, [
5724
5724
  r("div", n7, [
5725
5725
  b(S1, null, {
5726
5726
  primary: F(() => [
5727
5727
  b(ue, {
5728
- label: $.$t("project.phases.add"),
5728
+ label: I.$t("project.phases.add"),
5729
5729
  color: "primary",
5730
5730
  onClick: a
5731
5731
  }, null, 8, ["label"])
@@ -5736,36 +5736,36 @@ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { c
5736
5736
  r("header", o7, [
5737
5737
  r("div", l7, [
5738
5738
  r("div", r7, [
5739
- b(oe, {
5739
+ b(le, {
5740
5740
  class: "ao-project__col-title-icon",
5741
5741
  name: "WaterfallChartRounded",
5742
5742
  size: "md"
5743
5743
  }),
5744
5744
  b(pe, {
5745
5745
  level: 3,
5746
- title: $.$t("project.phases.title")
5746
+ title: I.$t("project.phases.title")
5747
5747
  }, null, 8, ["title"])
5748
5748
  ])
5749
5749
  ]),
5750
5750
  r("div", c7, [
5751
5751
  r("div", d7, [
5752
- b(oe, {
5752
+ b(le, {
5753
5753
  class: "ao-project__col-title-icon",
5754
5754
  name: "MountainFlagOutlineRounded",
5755
5755
  size: "md"
5756
5756
  }),
5757
5757
  b(pe, {
5758
5758
  level: 3,
5759
- title: $.$t("project.milestones.title")
5759
+ title: I.$t("project.milestones.title")
5760
5760
  }, null, 8, ["title"])
5761
5761
  ])
5762
5762
  ])
5763
5763
  ]),
5764
5764
  r("ul", u7, [
5765
- (c(!0), C(ie, null, he($.phases, (w) => (c(), q(a7, {
5765
+ (c(!0), C(oe, null, me(I.phases, (w) => (c(), q(a7, {
5766
5766
  key: w.id,
5767
5767
  phase: w,
5768
- "project-name": $.project.projectName,
5768
+ "project-name": I.project.projectName,
5769
5769
  onAddMilestone: o
5770
5770
  }, null, 8, ["phase", "project-name"]))), 128))
5771
5771
  ])
@@ -5774,9 +5774,9 @@ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { c
5774
5774
  b(V, {
5775
5775
  class: "ao-project__sidebar",
5776
5776
  milestones: n.value,
5777
- "project-name": $.project.projectName,
5778
- users: $.users,
5779
- onClose: O[0] || (O[0] = (w) => $.$router.push({ name: P(Ge).project })),
5777
+ "project-name": I.project.projectName,
5778
+ users: I.users,
5779
+ onClose: O[0] || (O[0] = (w) => I.$router.push({ name: P(Ge).project })),
5780
5780
  onAddActivity: i
5781
5781
  }, null, 8, ["milestones", "project-name", "users"]),
5782
5782
  (c(), q(C1, { to: "body" }, [
@@ -5789,7 +5789,7 @@ const n7 = { class: "ao-project" }, i7 = { class: "ao-project__body" }, o7 = { c
5789
5789
  onRemoveFile: f,
5790
5790
  onAddComment: g,
5791
5791
  onUpdateComment: y,
5792
- onRemoveComment: L
5792
+ onRemoveComment: T
5793
5793
  }, null, 8, ["activities"])
5794
5794
  ]))
5795
5795
  ], 64);
@@ -5820,7 +5820,7 @@ const h7 = { class: "ao-card-feed__header" }, m7 = {
5820
5820
  }, M7 = { class: "ao-card-feed__subitem" }, A7 = { class: "ao-card-feed__footer-row" }, k7 = {
5821
5821
  key: 0,
5822
5822
  class: "ao-card-feed__progress-wrapper"
5823
- }, T7 = { class: "ao-card-feed__subitem" }, L7 = { class: "ao-card-feed__subitem" }, _t = /* @__PURE__ */ K({
5823
+ }, L7 = { class: "ao-card-feed__subitem" }, T7 = { class: "ao-card-feed__subitem" }, _t = /* @__PURE__ */ K({
5824
5824
  __name: "AoCardFeed",
5825
5825
  props: {
5826
5826
  id: {},
@@ -5847,13 +5847,13 @@ const h7 = { class: "ao-card-feed__header" }, m7 = {
5847
5847
  });
5848
5848
  }, i = _(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), l = _(() => {
5849
5849
  var y;
5850
- return (y = t.assignees) == null ? void 0 : y.map((L) => {
5851
- var $;
5852
- return ($ = t.users) == null ? void 0 : $.find((O) => O.id === L);
5850
+ return (y = t.assignees) == null ? void 0 : y.map((T) => {
5851
+ var I;
5852
+ return (I = t.users) == null ? void 0 : I.find((O) => O.id === T);
5853
5853
  });
5854
5854
  }), p = (y) => {
5855
- const { firstName: L, lastName: $ } = y || {};
5856
- return L && $ ? `${L} ${$}` : "";
5855
+ const { firstName: T, lastName: I } = y || {};
5856
+ return T && I ? `${T} ${I}` : "";
5857
5857
  }, d = (y) => {
5858
5858
  e("removeAssignee", y);
5859
5859
  }, h = _(() => {
@@ -5861,9 +5861,9 @@ const h7 = { class: "ao-card-feed__header" }, m7 = {
5861
5861
  return (y = t.subtasks) == null ? void 0 : y.length;
5862
5862
  }), f = _(() => {
5863
5863
  var y;
5864
- return (y = t.subtasks) == null ? void 0 : y.filter((L) => L.isDone).length;
5864
+ return (y = t.subtasks) == null ? void 0 : y.filter((T) => T.isDone).length;
5865
5865
  }), g = _(() => (f.value || 0) / (h.value || 1));
5866
- return (y, L) => (c(), q(z1, {
5866
+ return (y, T) => (c(), q(z1, {
5867
5867
  class: "ao-card-feed",
5868
5868
  "is-clickable": !0
5869
5869
  }, {
@@ -5876,7 +5876,7 @@ const h7 = { class: "ao-card-feed__header" }, m7 = {
5876
5876
  variant: "solid",
5877
5877
  color: "primary"
5878
5878
  }, null, 8, ["label"])) : A("", !0),
5879
- y.isImportant ? (c(), q(oe, {
5879
+ y.isImportant ? (c(), q(le, {
5880
5880
  key: 1,
5881
5881
  name: "FlagRounded",
5882
5882
  class: "ao-card-feed__important ao-card-feed__header-secondary",
@@ -5905,28 +5905,28 @@ const h7 = { class: "ao-card-feed__header" }, m7 = {
5905
5905
  r("div", f7, [
5906
5906
  r("div", g7, [
5907
5907
  r("ul", y7, [
5908
- (c(!0), C(ie, null, he(l.value, ($) => (c(), C(ie, {
5909
- key: $.id
5908
+ (c(!0), C(oe, null, me(l.value, (I) => (c(), C(oe, {
5909
+ key: I.id
5910
5910
  }, [
5911
- $ ? (c(), C("li", b7, [
5911
+ I ? (c(), C("li", b7, [
5912
5912
  b(We, {
5913
- "user-name": p($),
5913
+ "user-name": p(I),
5914
5914
  "is-closable": !0,
5915
- onClose: () => d($.id)
5915
+ onClose: () => d(I.id)
5916
5916
  }, null, 8, ["user-name", "onClose"])
5917
5917
  ])) : A("", !0)
5918
5918
  ], 64))), 128))
5919
5919
  ]),
5920
5920
  y.comments || y.attachments ? (c(), C("ul", w7, [
5921
5921
  y.comments ? (c(), C("li", $7, [
5922
- b(oe, {
5922
+ b(le, {
5923
5923
  name: "ChatOutline",
5924
5924
  size: "sm"
5925
5925
  }),
5926
5926
  r("span", I7, U(y.comments), 1)
5927
5927
  ])) : A("", !0),
5928
5928
  y.attachments ? (c(), C("li", S7, [
5929
- b(oe, {
5929
+ b(le, {
5930
5930
  name: "AttachFileRounded",
5931
5931
  size: "sm"
5932
5932
  }),
@@ -5936,12 +5936,12 @@ const h7 = { class: "ao-card-feed__header" }, m7 = {
5936
5936
  ]),
5937
5937
  r("div", A7, [
5938
5938
  y.subtasks ? (c(), C("div", k7, [
5939
- r("div", T7, [
5940
- b(oe, {
5939
+ r("div", L7, [
5940
+ b(le, {
5941
5941
  name: "SelectCheckBox",
5942
5942
  size: "sm"
5943
5943
  }),
5944
- r("span", L7, U(f.value) + " / " + U(h.value), 1)
5944
+ r("span", T7, U(f.value) + " / " + U(h.value), 1)
5945
5945
  ]),
5946
5946
  b(G1, {
5947
5947
  percentages: g.value,
@@ -6000,7 +6000,7 @@ const V7 = { class: "ao-project-milestone" }, E7 = { class: "ao-project-mileston
6000
6000
  ]),
6001
6001
  r("div", O7, [
6002
6002
  r("ul", D7, [
6003
- (c(!0), C(ie, null, he(a.value, (h) => {
6003
+ (c(!0), C(oe, null, me(a.value, (h) => {
6004
6004
  var f, g, y;
6005
6005
  return c(), q(_t, {
6006
6006
  key: h.id,
@@ -6015,7 +6015,7 @@ const V7 = { class: "ao-project-milestone" }, E7 = { class: "ao-project-mileston
6015
6015
  comments: (g = h.comments) == null ? void 0 : g.length,
6016
6016
  attachments: (y = h.attachments) == null ? void 0 : y.length,
6017
6017
  subtasks: h.subtasks,
6018
- onClick: (L) => l.$router.push({
6018
+ onClick: (T) => l.$router.push({
6019
6019
  name: P(Ge).activity,
6020
6020
  params: { phaseId: l.phaseId, milestoneId: l.milestoneId, activityId: h.id }
6021
6021
  })
@@ -6082,7 +6082,7 @@ const P7 = { class: "ao-comment" }, Z7 = { class: "ao-comment__body" }, N7 = ["c
6082
6082
  r("span", R7, U(g.editedAt || g.createdAt), 1)
6083
6083
  ]),
6084
6084
  g.isEditable ? (c(), C("div", U7, [
6085
- P(o) ? (c(), C(ie, { key: 0 }, [
6085
+ P(o) ? (c(), C(oe, { key: 0 }, [
6086
6086
  b(ue, {
6087
6087
  "icon-name": "CloseRounded",
6088
6088
  size: "sm",
@@ -6097,7 +6097,7 @@ const P7 = { class: "ao-comment" }, Z7 = { class: "ao-comment__body" }, N7 = ["c
6097
6097
  color: "neutral",
6098
6098
  onClick: P(h)
6099
6099
  }, null, 8, ["onClick"])
6100
- ], 64)) : (c(), C(ie, { key: 1 }, [
6100
+ ], 64)) : (c(), C(oe, { key: 1 }, [
6101
6101
  b(ue, {
6102
6102
  label: g.$t("activity.comment.delete"),
6103
6103
  size: "sm",
@@ -6147,7 +6147,7 @@ const F7 = { class: "ao-comments" }, z7 = { class: "ao-comments__list" }, G7 = {
6147
6147
  };
6148
6148
  return (d, h) => (c(), C("div", F7, [
6149
6149
  r("ul", z7, [
6150
- (c(!0), C(ie, null, he(d.comments, (f) => (c(), q(q7, {
6150
+ (c(!0), C(oe, null, me(d.comments, (f) => (c(), q(q7, {
6151
6151
  key: f.id,
6152
6152
  user: n(f.userId),
6153
6153
  content: f.content,
@@ -6162,7 +6162,7 @@ const F7 = { class: "ao-comments" }, z7 = { class: "ao-comments__list" }, G7 = {
6162
6162
  r("div", G7, [
6163
6163
  r("form", {
6164
6164
  class: "ao-comments__form",
6165
- onSubmit: Te(i, ["prevent"])
6165
+ onSubmit: Le(i, ["prevent"])
6166
6166
  }, [
6167
6167
  r("label", x7, [
6168
6168
  r("span", W7, U(d.$t("activity.comment.label")), 1),
@@ -6254,9 +6254,9 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6254
6254
  "is-template": !1,
6255
6255
  users: P(n),
6256
6256
  onClose: g.$router.back,
6257
- "onUpdate:activity": y[0] || (y[0] = (L) => {
6257
+ "onUpdate:activity": y[0] || (y[0] = (T) => {
6258
6258
  l({
6259
- ...L
6259
+ ...T
6260
6260
  });
6261
6261
  }),
6262
6262
  onAddSubtask: p
@@ -6264,7 +6264,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6264
6264
  default: F(() => [
6265
6265
  r("fieldset", X7, [
6266
6266
  r("div", Q7, [
6267
- b(oe, { name: "ChatOutline" }),
6267
+ b(le, { name: "ChatOutline" }),
6268
6268
  b(pe, {
6269
6269
  level: 4,
6270
6270
  title: g.$t("activity.comments.title")
@@ -6347,7 +6347,7 @@ const X7 = { class: "ao-fieldset" }, Q7 = { class: "ao-fieldset__title" }, J7 =
6347
6347
  setup(s, { emit: e }) {
6348
6348
  const t = s, { t: n } = M1(), a = () => {
6349
6349
  var f, g;
6350
- const l = (f = t.templates) == null ? void 0 : f.at(-1), p = l ? ve.LexoRank.parse(l.rank).genNext() : ve.LexoRank.middle(), d = ((g = t.templates) == null ? void 0 : g.length) ?? 0, h = {
6350
+ const l = (f = t.templates) == null ? void 0 : f.at(-1), p = l ? he.LexoRank.parse(l.rank).genNext() : he.LexoRank.middle(), d = ((g = t.templates) == null ? void 0 : g.length) ?? 0, h = {
6351
6351
  name: n("template.defaultName.template", { idx: d + 1 }),
6352
6352
  rank: p.format()
6353
6353
  };
@@ -6502,24 +6502,24 @@ function hc(s, e, t = {}) {
6502
6502
  window: i = dc,
6503
6503
  immediate: l = !0
6504
6504
  } = t, p = pc(() => i && "IntersectionObserver" in i), d = _(() => {
6505
- const L = v1(s);
6506
- return (Array.isArray(L) ? L : [L]).map(P1).filter(oc);
6505
+ const T = v1(s);
6506
+ return (Array.isArray(T) ? T : [T]).map(P1).filter(oc);
6507
6507
  });
6508
6508
  let h = s1;
6509
6509
  const f = J(l), g = p.value ? _e(
6510
6510
  () => [d.value, P1(n), f.value],
6511
- ([L, $]) => {
6512
- if (h(), !f.value || !L.length)
6511
+ ([T, I]) => {
6512
+ if (h(), !f.value || !T.length)
6513
6513
  return;
6514
6514
  const O = new IntersectionObserver(
6515
6515
  e,
6516
6516
  {
6517
- root: P1($),
6517
+ root: P1(I),
6518
6518
  rootMargin: a,
6519
6519
  threshold: o
6520
6520
  }
6521
6521
  );
6522
- L.forEach((V) => V && O.observe(V)), h = () => {
6522
+ T.forEach((V) => V && O.observe(V)), h = () => {
6523
6523
  O.disconnect(), h = s1;
6524
6524
  };
6525
6525
  },
@@ -6628,7 +6628,7 @@ const mc = {
6628
6628
  "icon-name": "ArchiveOutlineRounded",
6629
6629
  size: "sm",
6630
6630
  corners: "round",
6631
- onClick: Te(() => p.$emit("archiveActivity", h.id), ["stop"])
6631
+ onClick: Le(() => p.$emit("archiveActivity", h.id), ["stop"])
6632
6632
  }, null, 8, ["onClick"])
6633
6633
  ]),
6634
6634
  _: 2
@@ -6637,7 +6637,7 @@ const mc = {
6637
6637
  }),
6638
6638
  footer: F(() => [
6639
6639
  p.isLoading ? (c(), C("div", vc, [
6640
- b(oe, { name: "Loading" })
6640
+ b(le, { name: "Loading" })
6641
6641
  ])) : p.hasMore ? (c(), C("div", {
6642
6642
  key: 2,
6643
6643
  ref_key: "scrollEnd",
@@ -6686,7 +6686,7 @@ const wc = { class: "ao-field ao-search-field" }, $c = ["value", "placeholder",
6686
6686
  (...p) => P(a) && P(a)(...p)),
6687
6687
  onKeypress: a1(n, ["enter"])
6688
6688
  }, null, 40, $c),
6689
- b(oe, {
6689
+ b(le, {
6690
6690
  name: "SearchRounded",
6691
6691
  class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
6692
6692
  }, null, 8, ["class"]),
@@ -6702,19 +6702,19 @@ const wc = { class: "ao-field ao-search-field" }, $c = ["value", "placeholder",
6702
6702
  }
6703
6703
  });
6704
6704
  const be = (s) => {
6705
- let e = ve.LexoRank.middle();
6705
+ let e = he.LexoRank.middle();
6706
6706
  for (let t = 0; t < s; t++)
6707
6707
  e = e.genNext();
6708
6708
  return e.format();
6709
6709
  };
6710
6710
  be(0), be(0), be(0), be(0), be(1), be(0), be(2), be(1), be(0), be(1), be(2), be(1);
6711
- const ae = {
6711
+ const ne = {
6712
6712
  id: "0",
6713
6713
  name: "architect_tunnel.jpg",
6714
6714
  createdAt: 1688404422941,
6715
6715
  url: "https://placekitten.com/400/400",
6716
6716
  type: "image/jpeg"
6717
- }, ne = [
6717
+ }, ie = [
6718
6718
  {
6719
6719
  id: "1-1-2-1",
6720
6720
  name: "add URQL dependency",
@@ -6730,7 +6730,7 @@ const ae = {
6730
6730
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6731
6731
  estimation: 3,
6732
6732
  dependingMilestones: ["1-2"],
6733
- subtasks: ne,
6733
+ subtasks: ie,
6734
6734
  comments: [
6735
6735
  {
6736
6736
  id: "0",
@@ -6745,7 +6745,7 @@ const ae = {
6745
6745
  createdAt: "2023-07-10"
6746
6746
  }
6747
6747
  ],
6748
- attachments: [ae],
6748
+ attachments: [ne],
6749
6749
  endDate: "08/06/2023",
6750
6750
  milestoneId: "0",
6751
6751
  feedStatus: "today"
@@ -6759,7 +6759,7 @@ const ae = {
6759
6759
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6760
6760
  estimation: 3,
6761
6761
  dependingMilestones: ["1-2"],
6762
- subtasks: ne,
6762
+ subtasks: ie,
6763
6763
  comments: [
6764
6764
  {
6765
6765
  id: "0",
@@ -6774,7 +6774,7 @@ const ae = {
6774
6774
  createdAt: "2023-07-10"
6775
6775
  }
6776
6776
  ],
6777
- attachments: [ae],
6777
+ attachments: [ne],
6778
6778
  endDate: "08/06/2023",
6779
6779
  milestoneId: "0",
6780
6780
  feedStatus: "this_week"
@@ -6788,7 +6788,7 @@ const ae = {
6788
6788
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6789
6789
  estimation: 3,
6790
6790
  dependingMilestones: ["1-2"],
6791
- subtasks: ne,
6791
+ subtasks: ie,
6792
6792
  comments: [
6793
6793
  {
6794
6794
  id: "0",
@@ -6803,7 +6803,7 @@ const ae = {
6803
6803
  createdAt: "2023-07-10"
6804
6804
  }
6805
6805
  ],
6806
- attachments: [ae],
6806
+ attachments: [ne],
6807
6807
  endDate: "08/06/2023",
6808
6808
  milestoneId: "0",
6809
6809
  feedStatus: "today"
@@ -6817,7 +6817,7 @@ const ae = {
6817
6817
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6818
6818
  estimation: 3,
6819
6819
  dependingMilestones: ["1-2"],
6820
- subtasks: ne,
6820
+ subtasks: ie,
6821
6821
  comments: [
6822
6822
  {
6823
6823
  id: "0",
@@ -6832,7 +6832,7 @@ const ae = {
6832
6832
  createdAt: "2023-07-10"
6833
6833
  }
6834
6834
  ],
6835
- attachments: [ae],
6835
+ attachments: [ne],
6836
6836
  endDate: "08/06/2023",
6837
6837
  milestoneId: "0",
6838
6838
  feedStatus: "this_month"
@@ -6846,7 +6846,7 @@ const ae = {
6846
6846
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6847
6847
  estimation: 3,
6848
6848
  dependingMilestones: ["1-2"],
6849
- subtasks: ne,
6849
+ subtasks: ie,
6850
6850
  comments: [
6851
6851
  {
6852
6852
  id: "0",
@@ -6861,7 +6861,7 @@ const ae = {
6861
6861
  createdAt: "2023-07-10"
6862
6862
  }
6863
6863
  ],
6864
- attachments: [ae],
6864
+ attachments: [ne],
6865
6865
  endDate: "08/06/2023",
6866
6866
  milestoneId: "3",
6867
6867
  feedStatus: "today"
@@ -6875,7 +6875,7 @@ const ae = {
6875
6875
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6876
6876
  estimation: 3,
6877
6877
  dependingMilestones: ["1-2"],
6878
- subtasks: ne,
6878
+ subtasks: ie,
6879
6879
  comments: [
6880
6880
  {
6881
6881
  id: "0",
@@ -6890,7 +6890,7 @@ const ae = {
6890
6890
  createdAt: "2023-07-10"
6891
6891
  }
6892
6892
  ],
6893
- attachments: [ae],
6893
+ attachments: [ne],
6894
6894
  endDate: "08/06/2023",
6895
6895
  milestoneId: "4",
6896
6896
  feedStatus: "this_month"
@@ -6904,7 +6904,7 @@ const ae = {
6904
6904
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6905
6905
  estimation: 3,
6906
6906
  dependingMilestones: ["1-2"],
6907
- subtasks: ne,
6907
+ subtasks: ie,
6908
6908
  comments: [
6909
6909
  {
6910
6910
  id: "0",
@@ -6919,7 +6919,7 @@ const ae = {
6919
6919
  createdAt: "2023-07-10"
6920
6920
  }
6921
6921
  ],
6922
- attachments: [ae],
6922
+ attachments: [ne],
6923
6923
  endDate: "08/06/2023",
6924
6924
  milestoneId: "1",
6925
6925
  feedStatus: "future"
@@ -6933,7 +6933,7 @@ const ae = {
6933
6933
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6934
6934
  estimation: 3,
6935
6935
  dependingMilestones: ["1-2"],
6936
- subtasks: ne,
6936
+ subtasks: ie,
6937
6937
  comments: [
6938
6938
  {
6939
6939
  id: "0",
@@ -6948,7 +6948,7 @@ const ae = {
6948
6948
  createdAt: "2023-07-10"
6949
6949
  }
6950
6950
  ],
6951
- attachments: [ae],
6951
+ attachments: [ne],
6952
6952
  endDate: "08/06/2023",
6953
6953
  milestoneId: "4",
6954
6954
  feedStatus: "today"
@@ -6962,7 +6962,7 @@ const ae = {
6962
6962
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6963
6963
  estimation: 3,
6964
6964
  dependingMilestones: ["1-2"],
6965
- subtasks: ne,
6965
+ subtasks: ie,
6966
6966
  comments: [
6967
6967
  {
6968
6968
  id: "0",
@@ -6977,7 +6977,7 @@ const ae = {
6977
6977
  createdAt: "2023-07-10"
6978
6978
  }
6979
6979
  ],
6980
- attachments: [ae],
6980
+ attachments: [ne],
6981
6981
  endDate: "08/06/2023",
6982
6982
  milestoneId: "3",
6983
6983
  feedStatus: "this_week"
@@ -6991,7 +6991,7 @@ const ae = {
6991
6991
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
6992
6992
  estimation: 3,
6993
6993
  dependingMilestones: ["1-2"],
6994
- subtasks: ne,
6994
+ subtasks: ie,
6995
6995
  comments: [
6996
6996
  {
6997
6997
  id: "0",
@@ -7006,7 +7006,7 @@ const ae = {
7006
7006
  createdAt: "2023-07-10"
7007
7007
  }
7008
7008
  ],
7009
- attachments: [ae],
7009
+ attachments: [ne],
7010
7010
  endDate: "08/06/2023",
7011
7011
  milestoneId: "8",
7012
7012
  feedStatus: "today"
@@ -7020,7 +7020,7 @@ const ae = {
7020
7020
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7021
7021
  estimation: 3,
7022
7022
  dependingMilestones: ["1-2"],
7023
- subtasks: ne,
7023
+ subtasks: ie,
7024
7024
  comments: [
7025
7025
  {
7026
7026
  id: "0",
@@ -7035,7 +7035,7 @@ const ae = {
7035
7035
  createdAt: "2023-07-10"
7036
7036
  }
7037
7037
  ],
7038
- attachments: [ae],
7038
+ attachments: [ne],
7039
7039
  endDate: "08/06/2023",
7040
7040
  milestoneId: "2",
7041
7041
  feedStatus: "done"
@@ -7049,7 +7049,7 @@ const ae = {
7049
7049
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7050
7050
  estimation: 3,
7051
7051
  dependingMilestones: ["1-2"],
7052
- subtasks: ne,
7052
+ subtasks: ie,
7053
7053
  comments: [
7054
7054
  {
7055
7055
  id: "0",
@@ -7064,7 +7064,7 @@ const ae = {
7064
7064
  createdAt: "2023-07-10"
7065
7065
  }
7066
7066
  ],
7067
- attachments: [ae],
7067
+ attachments: [ne],
7068
7068
  endDate: "08/06/2023",
7069
7069
  milestoneId: "11",
7070
7070
  feedStatus: "this_week"
@@ -7078,7 +7078,7 @@ const ae = {
7078
7078
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7079
7079
  estimation: 3,
7080
7080
  dependingMilestones: ["1-2"],
7081
- subtasks: ne,
7081
+ subtasks: ie,
7082
7082
  comments: [
7083
7083
  {
7084
7084
  id: "0",
@@ -7093,7 +7093,7 @@ const ae = {
7093
7093
  createdAt: "2023-07-10"
7094
7094
  }
7095
7095
  ],
7096
- attachments: [ae],
7096
+ attachments: [ne],
7097
7097
  endDate: "08/06/2023",
7098
7098
  milestoneId: "6",
7099
7099
  feedStatus: "this_week"
@@ -7107,7 +7107,7 @@ const ae = {
7107
7107
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7108
7108
  estimation: 3,
7109
7109
  dependingMilestones: ["1-2"],
7110
- subtasks: ne,
7110
+ subtasks: ie,
7111
7111
  comments: [
7112
7112
  {
7113
7113
  id: "0",
@@ -7122,7 +7122,7 @@ const ae = {
7122
7122
  createdAt: "2023-07-10"
7123
7123
  }
7124
7124
  ],
7125
- attachments: [ae],
7125
+ attachments: [ne],
7126
7126
  endDate: "08/06/2023",
7127
7127
  milestoneId: "1",
7128
7128
  feedStatus: "future"
@@ -7136,7 +7136,7 @@ const ae = {
7136
7136
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7137
7137
  estimation: 3,
7138
7138
  dependingMilestones: ["1-2"],
7139
- subtasks: ne,
7139
+ subtasks: ie,
7140
7140
  comments: [
7141
7141
  {
7142
7142
  id: "0",
@@ -7151,7 +7151,7 @@ const ae = {
7151
7151
  createdAt: "2023-07-10"
7152
7152
  }
7153
7153
  ],
7154
- attachments: [ae],
7154
+ attachments: [ne],
7155
7155
  endDate: "08/06/2023",
7156
7156
  milestoneId: "11",
7157
7157
  feedStatus: "this_week"
@@ -7165,7 +7165,7 @@ const ae = {
7165
7165
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7166
7166
  estimation: 3,
7167
7167
  dependingMilestones: ["1-2"],
7168
- subtasks: ne,
7168
+ subtasks: ie,
7169
7169
  comments: [
7170
7170
  {
7171
7171
  id: "0",
@@ -7180,7 +7180,7 @@ const ae = {
7180
7180
  createdAt: "2023-07-10"
7181
7181
  }
7182
7182
  ],
7183
- attachments: [ae],
7183
+ attachments: [ne],
7184
7184
  endDate: "08/06/2023",
7185
7185
  milestoneId: "10",
7186
7186
  feedStatus: "today"
@@ -7194,7 +7194,7 @@ const ae = {
7194
7194
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7195
7195
  estimation: 3,
7196
7196
  dependingMilestones: ["1-2"],
7197
- subtasks: ne,
7197
+ subtasks: ie,
7198
7198
  comments: [
7199
7199
  {
7200
7200
  id: "0",
@@ -7209,7 +7209,7 @@ const ae = {
7209
7209
  createdAt: "2023-07-10"
7210
7210
  }
7211
7211
  ],
7212
- attachments: [ae],
7212
+ attachments: [ne],
7213
7213
  endDate: "08/06/2023",
7214
7214
  milestoneId: "5",
7215
7215
  feedStatus: "future"
@@ -7223,7 +7223,7 @@ const ae = {
7223
7223
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7224
7224
  estimation: 3,
7225
7225
  dependingMilestones: ["1-2"],
7226
- subtasks: ne,
7226
+ subtasks: ie,
7227
7227
  comments: [
7228
7228
  {
7229
7229
  id: "0",
@@ -7238,7 +7238,7 @@ const ae = {
7238
7238
  createdAt: "2023-07-10"
7239
7239
  }
7240
7240
  ],
7241
- attachments: [ae],
7241
+ attachments: [ne],
7242
7242
  endDate: "08/06/2023",
7243
7243
  milestoneId: "1",
7244
7244
  feedStatus: "this_week"
@@ -7252,7 +7252,7 @@ const ae = {
7252
7252
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7253
7253
  estimation: 3,
7254
7254
  dependingMilestones: ["1-2"],
7255
- subtasks: ne,
7255
+ subtasks: ie,
7256
7256
  comments: [
7257
7257
  {
7258
7258
  id: "0",
@@ -7267,7 +7267,7 @@ const ae = {
7267
7267
  createdAt: "2023-07-10"
7268
7268
  }
7269
7269
  ],
7270
- attachments: [ae],
7270
+ attachments: [ne],
7271
7271
  endDate: "08/06/2023",
7272
7272
  milestoneId: "12",
7273
7273
  feedStatus: "future"
@@ -7281,7 +7281,7 @@ const ae = {
7281
7281
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7282
7282
  estimation: 3,
7283
7283
  dependingMilestones: ["1-2"],
7284
- subtasks: ne,
7284
+ subtasks: ie,
7285
7285
  comments: [
7286
7286
  {
7287
7287
  id: "0",
@@ -7296,7 +7296,7 @@ const ae = {
7296
7296
  createdAt: "2023-07-10"
7297
7297
  }
7298
7298
  ],
7299
- attachments: [ae],
7299
+ attachments: [ne],
7300
7300
  endDate: "08/06/2023",
7301
7301
  milestoneId: "5",
7302
7302
  feedStatus: "future"
@@ -7310,7 +7310,7 @@ const ae = {
7310
7310
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7311
7311
  estimation: 3,
7312
7312
  dependingMilestones: ["1-2"],
7313
- subtasks: ne,
7313
+ subtasks: ie,
7314
7314
  comments: [
7315
7315
  {
7316
7316
  id: "0",
@@ -7325,7 +7325,7 @@ const ae = {
7325
7325
  createdAt: "2023-07-10"
7326
7326
  }
7327
7327
  ],
7328
- attachments: [ae],
7328
+ attachments: [ne],
7329
7329
  endDate: "08/06/2023",
7330
7330
  milestoneId: "3",
7331
7331
  feedStatus: "today"
@@ -7339,7 +7339,7 @@ const ae = {
7339
7339
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7340
7340
  estimation: 3,
7341
7341
  dependingMilestones: ["1-2"],
7342
- subtasks: ne,
7342
+ subtasks: ie,
7343
7343
  comments: [
7344
7344
  {
7345
7345
  id: "0",
@@ -7354,7 +7354,7 @@ const ae = {
7354
7354
  createdAt: "2023-07-10"
7355
7355
  }
7356
7356
  ],
7357
- attachments: [ae],
7357
+ attachments: [ne],
7358
7358
  endDate: "08/06/2023",
7359
7359
  milestoneId: "2",
7360
7360
  feedStatus: "future"
@@ -7368,7 +7368,7 @@ const ae = {
7368
7368
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7369
7369
  estimation: 3,
7370
7370
  dependingMilestones: ["1-2"],
7371
- subtasks: ne,
7371
+ subtasks: ie,
7372
7372
  comments: [
7373
7373
  {
7374
7374
  id: "0",
@@ -7383,7 +7383,7 @@ const ae = {
7383
7383
  createdAt: "2023-07-10"
7384
7384
  }
7385
7385
  ],
7386
- attachments: [ae],
7386
+ attachments: [ne],
7387
7387
  endDate: "08/06/2023",
7388
7388
  milestoneId: "8",
7389
7389
  feedStatus: "today"
@@ -7397,7 +7397,7 @@ const ae = {
7397
7397
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7398
7398
  estimation: 3,
7399
7399
  dependingMilestones: ["1-2"],
7400
- subtasks: ne,
7400
+ subtasks: ie,
7401
7401
  comments: [
7402
7402
  {
7403
7403
  id: "0",
@@ -7412,7 +7412,7 @@ const ae = {
7412
7412
  createdAt: "2023-07-10"
7413
7413
  }
7414
7414
  ],
7415
- attachments: [ae],
7415
+ attachments: [ne],
7416
7416
  endDate: "08/06/2023",
7417
7417
  milestoneId: "18",
7418
7418
  feedStatus: "future"
@@ -7426,7 +7426,7 @@ const ae = {
7426
7426
  description: "Try to generate the SCSI array, maybe it will bypass the open-source hard drive!",
7427
7427
  estimation: 3,
7428
7428
  dependingMilestones: ["1-2"],
7429
- subtasks: ne,
7429
+ subtasks: ie,
7430
7430
  comments: [
7431
7431
  {
7432
7432
  id: "0",
@@ -7441,7 +7441,7 @@ const ae = {
7441
7441
  createdAt: "2023-07-10"
7442
7442
  }
7443
7443
  ],
7444
- attachments: [ae],
7444
+ attachments: [ne],
7445
7445
  endDate: "08/06/2023",
7446
7446
  milestoneId: "21",
7447
7447
  feedStatus: "this_week"
@@ -7462,7 +7462,7 @@ function Ac() {
7462
7462
  }
7463
7463
  };
7464
7464
  }
7465
- const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { class: "ao-feed__body" }, Vc = { class: "ao-field" }, Ec = { class: "ao-field__label" }, Hc = { class: "ao-fieldset" }, Oc = { class: "ao-field" }, Dc = { class: "ao-field__label" }, jc = { class: "ao-fieldset" }, Bc = { class: "ao-fieldset__title" }, Kc = /* @__PURE__ */ K({
7465
+ const kc = { class: "ao-feed" }, Lc = { class: "ao-feed__filters" }, Tc = { class: "ao-feed__body" }, Vc = { class: "ao-field" }, Ec = { class: "ao-field__label" }, Hc = { class: "ao-fieldset" }, Oc = { class: "ao-field" }, Dc = { class: "ao-field__label" }, jc = { class: "ao-fieldset" }, Bc = { class: "ao-fieldset__title" }, Kc = /* @__PURE__ */ K({
7466
7466
  __name: "AoFeed",
7467
7467
  props: {
7468
7468
  activities: {},
@@ -7477,28 +7477,34 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7477
7477
  emits: ["change:activities", "addActivity", "update:filter", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "addSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
7478
7478
  setup(s, { emit: e }) {
7479
7479
  const t = s, { t: n } = M1(), { selectActivity: a, selectedActivity: o } = Ac(), i = _(
7480
- () => t.activities.reduce((u, I) => {
7481
- var k, j;
7482
- const S = u[(k = I.status) == null ? void 0 : k.id] ?? [];
7483
- return S.push(I), {
7480
+ () => t.activities.reduce((u, $) => {
7481
+ var k, D;
7482
+ const S = u[(k = $.status) == null ? void 0 : k.id] ?? [];
7483
+ return S.push($), {
7484
7484
  ...u,
7485
- [(j = I.status) == null ? void 0 : j.id]: S
7485
+ [(D = $.status) == null ? void 0 : D.id]: S
7486
7486
  };
7487
7487
  }, {})
7488
7488
  ), l = (u) => {
7489
7489
  e("change:activities", u);
7490
7490
  }, p = (u) => {
7491
- e("addActivity", { statusId: u.id });
7491
+ var te, ae;
7492
+ const $ = (te = t.activities) == null ? void 0 : te.at(-1), S = $ ? he.LexoRank.parse($.rank).genNext() : he.LexoRank.middle(), k = ((ae = t.activities) == null ? void 0 : ae.length) ?? 0, D = {
7493
+ name: n("activity.defaultName.activity", { idx: k + 1 }),
7494
+ rank: S.format(),
7495
+ statusId: u.id
7496
+ };
7497
+ e("addActivity", D);
7492
7498
  }, d = _({
7493
7499
  get() {
7494
7500
  return ze(t.filters.project);
7495
7501
  },
7496
7502
  set(u) {
7497
- const I = {
7503
+ const $ = {
7498
7504
  type: B1.project,
7499
7505
  values: u
7500
7506
  };
7501
- e("update:filter", I);
7507
+ e("update:filter", $);
7502
7508
  }
7503
7509
  }), h = _(() => t.projects.map((u) => ({
7504
7510
  value: u.id,
@@ -7508,11 +7514,11 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7508
7514
  return ze(t.filters.activity_type);
7509
7515
  },
7510
7516
  set(u) {
7511
- const I = {
7517
+ const $ = {
7512
7518
  type: B1.activity_type,
7513
7519
  values: u
7514
7520
  };
7515
- e("update:filter", I);
7521
+ e("update:filter", $);
7516
7522
  }
7517
7523
  }), g = _(() => t.activityTypes.map((u) => ({
7518
7524
  value: u,
@@ -7522,16 +7528,16 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7522
7528
  return ze(t.filters.assignee);
7523
7529
  },
7524
7530
  set(u) {
7525
- const I = {
7531
+ const $ = {
7526
7532
  type: B1.assignee,
7527
7533
  values: u
7528
7534
  };
7529
- e("update:filter", I);
7535
+ e("update:filter", $);
7530
7536
  }
7531
- }), L = _(() => t.users.map((u) => ({
7537
+ }), T = _(() => t.users.map((u) => ({
7532
7538
  value: u.id,
7533
7539
  label: `${u.firstName} ${u.lastName}`
7534
- }))), $ = (u) => {
7540
+ }))), I = (u) => {
7535
7541
  o.value && o.value.project && e("update:activity", u);
7536
7542
  }, O = (u) => {
7537
7543
  e("update:activity", u);
@@ -7540,15 +7546,15 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7540
7546
  id: o.value.id,
7541
7547
  name: u
7542
7548
  });
7543
- }, D = (u) => {
7549
+ }, j = (u) => {
7544
7550
  e("archiveActivity", u);
7545
7551
  }, X = _({
7546
7552
  get() {
7547
7553
  var u;
7548
- return (u = o.value) == null ? void 0 : u.endDate;
7554
+ return (u = o.value) == null ? void 0 : u.deadline;
7549
7555
  },
7550
7556
  set(u) {
7551
- o.value && $({
7557
+ o.value && I({
7552
7558
  id: o.value.id,
7553
7559
  deadline: u
7554
7560
  });
@@ -7563,27 +7569,27 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7563
7569
  e("update:searchText", u);
7564
7570
  }
7565
7571
  }), E = (u) => {
7566
- var j, te;
7572
+ var D, te;
7567
7573
  if (!o.value)
7568
7574
  return;
7569
- const I = t.projects.find((le) => {
7575
+ const $ = t.projects.find((ae) => {
7570
7576
  var Q;
7571
- return (Q = le.phases) == null ? void 0 : Q.find((R) => {
7577
+ return (Q = ae.phases) == null ? void 0 : Q.find((R) => {
7572
7578
  var M;
7573
7579
  return (M = R.milestones) == null ? void 0 : M.find((B) => {
7574
- var Ce;
7575
- return (Ce = B.activities) == null ? void 0 : Ce.find((Se) => Se.id === u.activityId);
7580
+ var ve;
7581
+ return (ve = B.activities) == null ? void 0 : ve.find((Se) => Se.id === u.activityId);
7576
7582
  });
7577
7583
  });
7578
- }), S = (j = I == null ? void 0 : I.phases) == null ? void 0 : j.find((le) => {
7584
+ }), S = (D = $ == null ? void 0 : $.phases) == null ? void 0 : D.find((ae) => {
7579
7585
  var Q;
7580
- return (Q = le.milestones) == null ? void 0 : Q.find((R) => {
7586
+ return (Q = ae.milestones) == null ? void 0 : Q.find((R) => {
7581
7587
  var M;
7582
7588
  return (M = R.activities) == null ? void 0 : M.find((B) => B.id === u.activityId);
7583
7589
  });
7584
- }), k = (te = S == null ? void 0 : S.milestones) == null ? void 0 : te.find((le) => {
7590
+ }), k = (te = S == null ? void 0 : S.milestones) == null ? void 0 : te.find((ae) => {
7585
7591
  var Q;
7586
- return (Q = le.activities) == null ? void 0 : Q.find((R) => R.id === u.activityId);
7592
+ return (Q = ae.activities) == null ? void 0 : Q.find((R) => R.id === u.activityId);
7587
7593
  });
7588
7594
  e("addSubtask", {
7589
7595
  ...u,
@@ -7591,22 +7597,22 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7591
7597
  phaseId: S == null ? void 0 : S.id
7592
7598
  });
7593
7599
  }, N = (u) => {
7594
- var k, j;
7600
+ var k, D;
7595
7601
  if (!o.value)
7596
7602
  return;
7597
- const I = [...((k = o.value) == null ? void 0 : k.tasks) || []], S = I.findIndex((te) => te.id === u.id);
7598
- I[S] = {
7599
- ...I[S],
7603
+ const $ = [...((k = o.value) == null ? void 0 : k.tasks) || []], S = $.findIndex((te) => te.id === u.id);
7604
+ $[S] = {
7605
+ ...$[S],
7600
7606
  ...u
7601
- }, $({ id: (j = o.value) == null ? void 0 : j.id, tasks: I });
7607
+ }, I({ id: (D = o.value) == null ? void 0 : D.id, tasks: $ });
7602
7608
  }, ee = (u) => {
7603
7609
  var S, k;
7604
7610
  if (!o.value)
7605
7611
  return;
7606
- const I = [...((S = o.value) == null ? void 0 : S.tasks) || []].filter(
7607
- (j) => j.id !== u
7612
+ const $ = [...((S = o.value) == null ? void 0 : S.tasks) || []].filter(
7613
+ (D) => D.id !== u
7608
7614
  );
7609
- $({ id: (k = o.value) == null ? void 0 : k.id, tasks: I });
7615
+ I({ id: (k = o.value) == null ? void 0 : k.id, tasks: $ });
7610
7616
  }, ce = (u) => {
7611
7617
  e("addFiles", u);
7612
7618
  }, fe = (u) => {
@@ -7617,15 +7623,15 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7617
7623
  comment: u
7618
7624
  });
7619
7625
  }, W = (u) => {
7620
- const { id: I } = o.value || {};
7621
- I && e("updateComment", { ...u, activityId: I });
7626
+ const { id: $ } = o.value || {};
7627
+ $ && e("updateComment", { ...u, activityId: $ });
7622
7628
  }, ge = (u) => {
7623
- const { id: I } = o.value || {};
7624
- I && e("removeComment", { id: u, activityId: I });
7629
+ const { id: $ } = o.value || {};
7630
+ $ && e("removeComment", { id: u, activityId: $ });
7625
7631
  }, ye = _(() => Object.values(f5).map((u) => ({
7626
7632
  value: u,
7627
7633
  label: n(`activity.feedStatus.${u}`)
7628
- }))), Le = (u) => {
7634
+ }))), Te = (u) => {
7629
7635
  o.value && o.value.projectId && e("update:activity", {
7630
7636
  subItemType: templateSubItemType.ACTIVITIES,
7631
7637
  id: o.value.id,
@@ -7636,21 +7642,21 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7636
7642
  }
7637
7643
  });
7638
7644
  };
7639
- return (u, I) => {
7645
+ return (u, $) => {
7640
7646
  var S;
7641
7647
  return c(), C("div", kc, [
7642
7648
  b(S1, null, {
7643
7649
  primary: F(() => [
7644
7650
  b(Ic, {
7645
7651
  modelValue: v.value,
7646
- "onUpdate:modelValue": I[0] || (I[0] = (k) => v.value = k),
7652
+ "onUpdate:modelValue": $[0] || ($[0] = (k) => v.value = k),
7647
7653
  placeholder: u.$t("feed.search.placeholder"),
7648
7654
  onClear: se
7649
7655
  }, null, 8, ["modelValue", "placeholder"]),
7650
- r("div", Tc, [
7651
- b(P(me), {
7656
+ r("div", Lc, [
7657
+ b(P(Ce), {
7652
7658
  modelValue: d.value,
7653
- "onUpdate:modelValue": I[1] || (I[1] = (k) => d.value = k),
7659
+ "onUpdate:modelValue": $[1] || ($[1] = (k) => d.value = k),
7654
7660
  mode: "tags",
7655
7661
  options: h.value,
7656
7662
  "close-on-select": !1,
@@ -7658,9 +7664,9 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7658
7664
  class: "ao-feed__filter",
7659
7665
  placeholder: u.$t("feed.filters.project.placeholder")
7660
7666
  }, null, 8, ["modelValue", "options", "placeholder"]),
7661
- b(P(me), {
7667
+ b(P(Ce), {
7662
7668
  modelValue: f.value,
7663
- "onUpdate:modelValue": I[2] || (I[2] = (k) => f.value = k),
7669
+ "onUpdate:modelValue": $[2] || ($[2] = (k) => f.value = k),
7664
7670
  mode: "tags",
7665
7671
  options: g.value,
7666
7672
  "close-on-select": !1,
@@ -7668,21 +7674,21 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7668
7674
  class: "ao-feed__filter",
7669
7675
  placeholder: u.$t("feed.filters.activityType.placeholder")
7670
7676
  }, null, 8, ["modelValue", "options", "placeholder"]),
7671
- b(P(me), {
7677
+ b(P(Ce), {
7672
7678
  modelValue: y.value,
7673
- "onUpdate:modelValue": I[3] || (I[3] = (k) => y.value = k),
7679
+ "onUpdate:modelValue": $[3] || ($[3] = (k) => y.value = k),
7674
7680
  mode: "tags",
7675
- options: L.value,
7681
+ options: T.value,
7676
7682
  "close-on-select": !1,
7677
7683
  searchable: !0,
7678
7684
  class: "ao-feed__filter",
7679
7685
  placeholder: u.$t("feed.filters.assignee.placeholder")
7680
7686
  }, {
7681
- tag: F(({ option: k, handleTagRemove: j }) => [
7687
+ tag: F(({ option: k, handleTagRemove: D }) => [
7682
7688
  b(We, {
7683
7689
  "user-name": k.label,
7684
7690
  "is-closable": !0,
7685
- onClose: (te) => j(k, te)
7691
+ onClose: (te) => D(k, te)
7686
7692
  }, null, 8, ["user-name", "onClose"])
7687
7693
  ]),
7688
7694
  _: 1
@@ -7691,8 +7697,8 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7691
7697
  ]),
7692
7698
  _: 1
7693
7699
  }),
7694
- r("div", Lc, [
7695
- (c(!0), C(ie, null, he(u.statuses, (k) => (c(), q(bc, {
7700
+ r("div", Tc, [
7701
+ (c(!0), C(oe, null, me(u.statuses, (k) => (c(), q(bc, {
7696
7702
  key: k.id,
7697
7703
  status: k,
7698
7704
  list: i.value[k.id],
@@ -7701,7 +7707,7 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7701
7707
  onAdd: () => p(k),
7702
7708
  onSelectActivity: P(a),
7703
7709
  "onChange:list": l,
7704
- onArchiveActivity: D,
7710
+ onArchiveActivity: j,
7705
7711
  onUpdateActivity: O
7706
7712
  }, null, 8, ["status", "list", "title", "footer-label", "onAdd", "onSelectActivity"]))), 128))
7707
7713
  ]),
@@ -7713,9 +7719,9 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7713
7719
  "milestone-id": (S = P(o).milestone) == null ? void 0 : S.id,
7714
7720
  "template-activities": u.activities,
7715
7721
  users: u.users,
7716
- onClose: I[5] || (I[5] = () => P(a)(null)),
7717
- "onUpdate:activity": I[6] || (I[6] = (k) => {
7718
- $({
7722
+ onClose: $[5] || ($[5] = () => P(a)(null)),
7723
+ "onUpdate:activity": $[6] || ($[6] = (k) => {
7724
+ I({
7719
7725
  ...k
7720
7726
  });
7721
7727
  }),
@@ -7736,10 +7742,10 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7736
7742
  }, null, 8, ["title"]),
7737
7743
  r("label", Vc, [
7738
7744
  r("span", Ec, U(u.$t("activity.feedStatus.label")), 1),
7739
- b(P(me), {
7745
+ b(P(Ce), {
7740
7746
  options: ye.value,
7741
7747
  value: P(o).feedStatus,
7742
- onChange: Le
7748
+ onChange: Te
7743
7749
  }, null, 8, ["options", "value"])
7744
7750
  ])
7745
7751
  ]),
@@ -7748,7 +7754,7 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7748
7754
  r("label", Oc, [
7749
7755
  r("span", Dc, U(u.$t("activity.endDate.label")), 1),
7750
7756
  Fe(r("input", {
7751
- "onUpdate:modelValue": I[4] || (I[4] = (k) => X.value = k),
7757
+ "onUpdate:modelValue": $[4] || ($[4] = (k) => X.value = k),
7752
7758
  class: "ao-field__input",
7753
7759
  type: "date"
7754
7760
  }, null, 512), [
@@ -7763,7 +7769,7 @@ const kc = { class: "ao-feed" }, Tc = { class: "ao-feed__filters" }, Lc = { clas
7763
7769
  ]),
7764
7770
  r("fieldset", jc, [
7765
7771
  r("div", Bc, [
7766
- b(oe, { name: "ChatOutline" }),
7772
+ b(le, { name: "ChatOutline" }),
7767
7773
  b(pe, {
7768
7774
  level: 4,
7769
7775
  title: u.$t("activity.comments.title")