@26lights/orcha 0.5.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as e1, openBlock as d, createBlock as Y, unref as G, mergeProps as T1, createElementBlock as C, createElementVNode as r, pushScopeId as wt, popScopeId as $t, createStaticVNode as Mt, computed as m, resolveDynamicComponent as G1, normalizeClass as j, renderSlot as K, toDisplayString as x, createCommentVNode as V, ref as J, watch as d1, nextTick as k1, withKeys as le, toHandlers as It, withCtx as F, createTextVNode as Me, createVNode as E, withModifiers as A1, Fragment as f1, renderList as $1, toRefs as p1, getCurrentInstance as N1, onMounted as Ie, onUnmounted as St, withDirectives as ae, vModelText as $e, vModelCheckbox as Lt, toRef as ye, Teleport as Ue } from "vue";
1
+ import { defineComponent as e1, openBlock as d, createBlock as Y, unref as G, mergeProps as H1, createElementBlock as C, createElementVNode as r, pushScopeId as wt, popScopeId as $t, createStaticVNode as Mt, computed as m, resolveDynamicComponent as G1, normalizeClass as j, renderSlot as K, toDisplayString as x, createCommentVNode as V, ref as J, watch as d1, nextTick as k1, withKeys as le, toHandlers as It, withCtx as F, createTextVNode as Me, createVNode as T, withModifiers as A1, Fragment as f1, renderList as $1, toRefs as p1, getCurrentInstance as N1, onMounted as Ie, onUnmounted as St, withDirectives as ae, vModelText as $e, vModelCheckbox as Lt, toRef as ye, Teleport as Ue } from "vue";
2
2
  import { RouterView as At } from "vue-router";
3
3
  import ne from "vuedraggable";
4
4
  const _o = /* @__PURE__ */ e1({
@@ -7,27 +7,27 @@ const _o = /* @__PURE__ */ e1({
7
7
  templates: {}
8
8
  },
9
9
  setup(s) {
10
- return (e, t) => (d(), Y(G(At), T1({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, t) => (d(), Y(G(At), H1({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), M = (s, e) => {
13
13
  const t = s.__vccOpts || s;
14
14
  for (const [n, a] of e)
15
15
  t[n] = a;
16
16
  return t;
17
- }, Vt = {}, Et = {
17
+ }, Vt = {}, Tt = {
18
18
  width: "24",
19
19
  height: "24",
20
20
  viewBox: "0 0 24 24",
21
21
  fill: "none",
22
22
  xmlns: "http://www.w3.org/2000/svg"
23
- }, Ht = /* @__PURE__ */ r("path", {
23
+ }, Et = /* @__PURE__ */ r("path", {
24
24
  d: "M12 13C12.9667 13 13.7917 12.6583 14.475 11.975C15.1583 11.2917 15.5 10.4667 15.5 9.5C15.5 8.53333 15.1583 7.70833 14.475 7.025C13.7917 6.34167 12.9667 6 12 6C11.0333 6 10.2083 6.34167 9.525 7.025C8.84167 7.70833 8.5 8.53333 8.5 9.5C8.5 10.4667 8.84167 11.2917 9.525 11.975C10.2083 12.6583 11.0333 13 12 13ZM3 21V3H21V21H3ZM5 19H19V17.85C18.1 16.9667 17.054 16.271 15.862 15.763C14.67 15.255 13.3827 15.0007 12 15C10.6167 15 9.329 15.2543 8.137 15.763C6.945 16.2717 5.89933 16.9673 5 17.85V19Z",
25
25
  fill: "black"
26
- }, null, -1), Tt = [
27
- Ht
26
+ }, null, -1), Ht = [
27
+ Et
28
28
  ];
29
29
  function kt(s, e) {
30
- return d(), C("svg", Et, Tt);
30
+ return d(), C("svg", Tt, Ht);
31
31
  }
32
32
  const Ot = /* @__PURE__ */ M(Vt, [["render", kt]]), Bt = {}, Zt = {
33
33
  width: "24",
@@ -149,20 +149,20 @@ const w2 = /* @__PURE__ */ M(_2, [["render", y2]]), $2 = {}, M2 = {
149
149
  function L2(s, e) {
150
150
  return d(), C("svg", M2, S2);
151
151
  }
152
- const A2 = /* @__PURE__ */ M($2, [["render", L2]]), V2 = {}, E2 = {
152
+ const A2 = /* @__PURE__ */ M($2, [["render", L2]]), V2 = {}, T2 = {
153
153
  width: "24",
154
154
  height: "24",
155
155
  viewBox: "0 0 24 24",
156
156
  fill: "none",
157
157
  xmlns: "http://www.w3.org/2000/svg"
158
- }, H2 = /* @__PURE__ */ r("path", {
158
+ }, E2 = /* @__PURE__ */ r("path", {
159
159
  d: "M11.3 19.3C11.1167 19.1167 11.0207 18.8834 11.012 18.6C11.004 18.3167 11.0917 18.0834 11.275 17.9L16.175 13H5C4.71667 13 4.479 12.904 4.287 12.712C4.09567 12.5207 4 12.2834 4 12C4 11.7167 4.09567 11.479 4.287 11.287C4.479 11.0957 4.71667 11 5 11H16.175L11.275 6.10005C11.0917 5.91672 11.004 5.68338 11.012 5.40005C11.0207 5.11672 11.1167 4.88338 11.3 4.70005C11.4833 4.51672 11.7167 4.42505 12 4.42505C12.2833 4.42505 12.5167 4.51672 12.7 4.70005L19.3 11.3C19.4 11.3834 19.471 11.4874 19.513 11.612C19.5543 11.7374 19.575 11.8667 19.575 12C19.575 12.1334 19.5543 12.2584 19.513 12.375C19.471 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4834 12.2833 19.575 12 19.575C11.7167 19.575 11.4833 19.4834 11.3 19.3V19.3Z",
160
160
  fill: "black"
161
- }, null, -1), T2 = [
162
- H2
161
+ }, null, -1), H2 = [
162
+ E2
163
163
  ];
164
164
  function k2(s, e) {
165
- return d(), C("svg", E2, T2);
165
+ return d(), C("svg", T2, H2);
166
166
  }
167
167
  const O2 = /* @__PURE__ */ M(V2, [["render", k2]]), B2 = {}, Z2 = {
168
168
  width: "24",
@@ -284,20 +284,20 @@ const ws = /* @__PURE__ */ M(_s, [["render", ys]]), $s = {}, Ms = {
284
284
  function Ls(s, e) {
285
285
  return d(), C("svg", Ms, Ss);
286
286
  }
287
- const As = /* @__PURE__ */ M($s, [["render", Ls]]), Vs = {}, Es = {
287
+ const As = /* @__PURE__ */ M($s, [["render", Ls]]), Vs = {}, Ts = {
288
288
  width: "24",
289
289
  height: "24",
290
290
  viewBox: "0 0 24 24",
291
291
  fill: "none",
292
292
  xmlns: "http://www.w3.org/2000/svg"
293
- }, Hs = /* @__PURE__ */ r("path", {
293
+ }, Es = /* @__PURE__ */ r("path", {
294
294
  d: "M14 8.99989C13.7167 8.99989 13.479 8.90389 13.287 8.71189C13.095 8.51989 12.9994 8.28255 13 7.99989C13 7.71655 13.096 7.47889 13.288 7.28689C13.48 7.09489 13.7174 6.99922 14 6.99989H21C21.2834 6.99989 21.521 7.09589 21.713 7.28789C21.905 7.47989 22.0007 7.71722 22 7.99989C22 8.28322 21.904 8.52089 21.712 8.71289C21.52 8.90489 21.2827 9.00055 21 8.99989H14ZM14 16.9999C13.7167 16.9999 13.479 16.9039 13.287 16.7119C13.095 16.5199 12.9994 16.2826 13 15.9999C13 15.7166 13.096 15.4789 13.288 15.2869C13.48 15.0949 13.7174 14.9992 14 14.9999H21C21.2834 14.9999 21.521 15.0959 21.713 15.2879C21.905 15.4799 22.0007 15.7172 22 15.9999C22 16.2832 21.904 16.5209 21.712 16.7129C21.52 16.9049 21.2827 17.0006 21 16.9999H14ZM4.85005 10.2999L2.70005 8.14989C2.51672 7.96655 2.42505 7.73322 2.42505 7.44989C2.42505 7.16655 2.51672 6.93322 2.70005 6.74989C2.88338 6.56655 3.11672 6.47489 3.40005 6.47489C3.68338 6.47489 3.91672 6.56655 4.10005 6.74989L5.52505 8.17489L9.07505 4.62489C9.27505 4.42489 9.50838 4.32889 9.77505 4.33689C10.0417 4.34489 10.275 4.44922 10.475 4.64989C10.6584 4.84989 10.75 5.08322 10.75 5.34989C10.75 5.61655 10.6584 5.84989 10.475 6.04989L6.25005 10.2999C6.05005 10.4999 5.81672 10.5999 5.55005 10.5999C5.28338 10.5999 5.05005 10.4999 4.85005 10.2999ZM4.85005 18.2999L2.70005 16.1499C2.51672 15.9666 2.42505 15.7332 2.42505 15.4499C2.42505 15.1666 2.51672 14.9332 2.70005 14.7499C2.88338 14.5666 3.11672 14.4749 3.40005 14.4749C3.68338 14.4749 3.91672 14.5666 4.10005 14.7499L5.52505 16.1749L9.07505 12.6249C9.27505 12.4249 9.50838 12.3292 9.77505 12.3379C10.0417 12.3466 10.275 12.4506 10.475 12.6499C10.6584 12.8499 10.75 13.0832 10.75 13.3499C10.75 13.6166 10.6584 13.8499 10.475 14.0499L6.25005 18.2999C6.05005 18.4999 5.81672 18.5999 5.55005 18.5999C5.28338 18.5999 5.05005 18.4999 4.85005 18.2999Z",
295
295
  fill: "black"
296
- }, null, -1), Ts = [
297
- Hs
296
+ }, null, -1), Hs = [
297
+ Es
298
298
  ];
299
299
  function ks(s, e) {
300
- return d(), C("svg", Es, Ts);
300
+ return d(), C("svg", Ts, Hs);
301
301
  }
302
302
  const Os = /* @__PURE__ */ M(Vs, [["render", ks]]), Bs = {}, Zs = {
303
303
  width: "24",
@@ -419,20 +419,20 @@ const wa = /* @__PURE__ */ M(_a, [["render", ya]]), $a = {}, Ma = {
419
419
  function La(s, e) {
420
420
  return d(), C("svg", Ma, Sa);
421
421
  }
422
- const Aa = /* @__PURE__ */ M($a, [["render", La]]), Va = {}, Ea = {
422
+ const Aa = /* @__PURE__ */ M($a, [["render", La]]), Va = {}, Ta = {
423
423
  width: "24",
424
424
  height: "24",
425
425
  viewBox: "0 0 24 24",
426
426
  fill: "none",
427
427
  xmlns: "http://www.w3.org/2000/svg"
428
- }, Ha = /* @__PURE__ */ r("path", {
428
+ }, Ea = /* @__PURE__ */ r("path", {
429
429
  d: "M5 19H6.4L15.025 10.375L13.625 8.975L5 17.6V19ZM19.3 8.925L15.05 4.725L16.45 3.325C16.8333 2.94167 17.3043 2.75 17.863 2.75C18.4217 2.75 18.8923 2.94167 19.275 3.325L20.675 4.725C21.0583 5.10833 21.2583 5.571 21.275 6.113C21.2917 6.655 21.1083 7.11733 20.725 7.5L19.3 8.925ZM17.85 10.4L7.25 21H3V16.75L13.6 6.15L17.85 10.4ZM14.325 9.675L13.625 8.975L15.025 10.375L14.325 9.675Z",
430
430
  fill: "black"
431
- }, null, -1), Ta = [
432
- Ha
431
+ }, null, -1), Ha = [
432
+ Ea
433
433
  ];
434
434
  function ka(s, e) {
435
- return d(), C("svg", Ea, Ta);
435
+ return d(), C("svg", Ta, Ha);
436
436
  }
437
437
  const Oa = /* @__PURE__ */ M(Va, [["render", ka]]), Ba = {}, Za = {
438
438
  width: "24",
@@ -554,20 +554,20 @@ const wl = /* @__PURE__ */ M(_l, [["render", yl]]), $l = {}, Ml = {
554
554
  function Ll(s, e) {
555
555
  return d(), C("svg", Ml, Sl);
556
556
  }
557
- const Al = /* @__PURE__ */ M($l, [["render", Ll]]), Vl = {}, El = {
557
+ const Al = /* @__PURE__ */ M($l, [["render", Ll]]), Vl = {}, Tl = {
558
558
  width: "24",
559
559
  height: "24",
560
560
  viewBox: "0 0 24 24",
561
561
  fill: "none",
562
562
  xmlns: "http://www.w3.org/2000/svg"
563
- }, Hl = /* @__PURE__ */ r("path", {
563
+ }, El = /* @__PURE__ */ r("path", {
564
564
  d: "M11 17H13V11H11V17ZM12 9C12.2833 9 12.521 8.904 12.713 8.712C12.905 8.52 13.0007 8.28267 13 8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8C11 8.28333 11.096 8.521 11.288 8.713C11.48 8.905 11.7173 9.00067 12 9ZM12 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 22Z",
565
565
  fill: "black"
566
- }, null, -1), Tl = [
567
- Hl
566
+ }, null, -1), Hl = [
567
+ El
568
568
  ];
569
569
  function kl(s, e) {
570
- return d(), C("svg", El, Tl);
570
+ return d(), C("svg", Tl, Hl);
571
571
  }
572
572
  const Ol = /* @__PURE__ */ M(Vl, [["render", kl]]), Bl = {}, Zl = {
573
573
  width: "24",
@@ -703,10 +703,10 @@ const In = /* @__PURE__ */ M(bn, [["render", Mn]]), Sn = {}, Ln = {
703
703
  }, null, -1), Vn = [
704
704
  An
705
705
  ];
706
- function En(s, e) {
706
+ function Tn(s, e) {
707
707
  return d(), C("svg", Ln, Vn);
708
708
  }
709
- const Hn = /* @__PURE__ */ M(Sn, [["render", En]]), Tn = {}, kn = {
709
+ const En = /* @__PURE__ */ M(Sn, [["render", Tn]]), Hn = {}, kn = {
710
710
  width: "24",
711
711
  height: "24",
712
712
  viewBox: "0 0 24 24",
@@ -721,7 +721,7 @@ const Hn = /* @__PURE__ */ M(Sn, [["render", En]]), Tn = {}, kn = {
721
721
  function Zn(s, e) {
722
722
  return d(), C("svg", kn, Bn);
723
723
  }
724
- const Dn = /* @__PURE__ */ M(Tn, [["render", Zn]]), Pn = {}, Nn = {
724
+ const Dn = /* @__PURE__ */ M(Hn, [["render", Zn]]), Pn = {}, Nn = {
725
725
  width: "24",
726
726
  height: "24",
727
727
  viewBox: "0 0 24 24",
@@ -835,10 +835,10 @@ const Ii = /* @__PURE__ */ M(bi, [["render", Mi]]), Si = {}, Li = {
835
835
  }, null, -1), Vi = [
836
836
  Ai
837
837
  ];
838
- function Ei(s, e) {
838
+ function Ti(s, e) {
839
839
  return d(), C("svg", Li, Vi);
840
840
  }
841
- const Hi = /* @__PURE__ */ M(Si, [["render", Ei]]), Ti = {}, ki = {
841
+ const Ei = /* @__PURE__ */ M(Si, [["render", Ti]]), Hi = {}, ki = {
842
842
  width: "24",
843
843
  height: "24",
844
844
  viewBox: "0 0 24 24",
@@ -853,7 +853,7 @@ const Hi = /* @__PURE__ */ M(Si, [["render", Ei]]), Ti = {}, ki = {
853
853
  function Zi(s, e) {
854
854
  return d(), C("svg", ki, Bi);
855
855
  }
856
- const Di = /* @__PURE__ */ M(Ti, [["render", Zi]]), Pi = {}, Ni = {
856
+ const Di = /* @__PURE__ */ M(Hi, [["render", Zi]]), Pi = {}, Ni = {
857
857
  width: "24",
858
858
  height: "24",
859
859
  viewBox: "0 0 24 24",
@@ -970,10 +970,10 @@ const I3 = /* @__PURE__ */ M(b3, [["render", M3]]), S3 = {}, L3 = {
970
970
  }, null, -1), V3 = [
971
971
  A3
972
972
  ];
973
- function E3(s, e) {
973
+ function T3(s, e) {
974
974
  return d(), C("svg", L3, V3);
975
975
  }
976
- const H3 = /* @__PURE__ */ M(S3, [["render", E3]]), T3 = {}, k3 = {
976
+ const E3 = /* @__PURE__ */ M(S3, [["render", T3]]), H3 = {}, k3 = {
977
977
  width: "24",
978
978
  height: "24",
979
979
  viewBox: "0 0 24 24",
@@ -988,7 +988,7 @@ const H3 = /* @__PURE__ */ M(S3, [["render", E3]]), T3 = {}, k3 = {
988
988
  function Z3(s, e) {
989
989
  return d(), C("svg", k3, B3);
990
990
  }
991
- const D3 = /* @__PURE__ */ M(T3, [["render", Z3]]), P3 = {}, N3 = {
991
+ const D3 = /* @__PURE__ */ M(H3, [["render", Z3]]), P3 = {}, N3 = {
992
992
  width: "24",
993
993
  height: "24",
994
994
  viewBox: "0 0 24 24",
@@ -1079,7 +1079,7 @@ const t5 = /* @__PURE__ */ M(X3, [["render", e5]]), s5 = /* @__PURE__ */ Object.
1079
1079
  Menu: vn,
1080
1080
  MoreHoriz: gn,
1081
1081
  MoreTimeRounded: In,
1082
- MoreVert: Hn,
1082
+ MoreVert: En,
1083
1083
  MountainFlagOutlineRounded: Dn,
1084
1084
  PersonAddOutlineRounded: jn,
1085
1085
  PictureAsPdfRounded: Yn,
@@ -1088,7 +1088,7 @@ const t5 = /* @__PURE__ */ M(X3, [["render", e5]]), s5 = /* @__PURE__ */ Object.
1088
1088
  RadioButtonUnchecked: vi,
1089
1089
  RemoveRounded: gi,
1090
1090
  SearchRounded: Ii,
1091
- SelectCheckBox: Hi,
1091
+ SelectCheckBox: Ei,
1092
1092
  SendRounded: Di,
1093
1093
  Settings: ji,
1094
1094
  SlideshowRounded: Yi,
@@ -1097,7 +1097,7 @@ const t5 = /* @__PURE__ */ M(X3, [["render", e5]]), s5 = /* @__PURE__ */ Object.
1097
1097
  TextSnippetRounded: v3,
1098
1098
  TimerOutline: g3,
1099
1099
  ViewComfyAltRounded: I3,
1100
- ViewCompactAltRounded: H3,
1100
+ ViewCompactAltRounded: E3,
1101
1101
  ViewTimelineRounded: D3,
1102
1102
  WarningOutlineRounded: j3,
1103
1103
  WarningRounded: Y3,
@@ -1220,10 +1220,10 @@ const M1 = /* @__PURE__ */ e1({
1220
1220
  a.value && i(!1);
1221
1221
  }, I = (A) => {
1222
1222
  console.log("enterPressed", { ...A }), e("toggleIsEditing", !1);
1223
- }, T = (A) => {
1223
+ }, H = (A) => {
1224
1224
  A.stopPropagation(), a.value || i(!0);
1225
1225
  };
1226
- return (A, R) => (d(), Y(G1(p.value), T1({
1226
+ return (A, R) => (d(), Y(G1(p.value), H1({
1227
1227
  ref: (P) => n.value = P,
1228
1228
  class: [
1229
1229
  "ao-title",
@@ -1241,8 +1241,8 @@ const M1 = /* @__PURE__ */ e1({
1241
1241
  click: (P) => P.stopPropagation(),
1242
1242
  blur: y
1243
1243
  } : {
1244
- click: T,
1245
- focus: T
1244
+ click: H,
1245
+ focus: H
1246
1246
  }
1247
1247
  ), {
1248
1248
  onKeydown: le(G(v), ["esc"])
@@ -1298,14 +1298,14 @@ const r5 = {
1298
1298
  }, {
1299
1299
  default: F(() => [
1300
1300
  i.isDraggable ? (d(), C("div", r5, [
1301
- E(v1, {
1301
+ T(v1, {
1302
1302
  name: "DragIndicator",
1303
1303
  class: "ao-card-horiz__drag-handle"
1304
1304
  })
1305
1305
  ])) : V("", !0),
1306
1306
  r("div", u5, [
1307
1307
  i.icon ? (d(), C("div", c5, [
1308
- E(v1, {
1308
+ T(v1, {
1309
1309
  class: "ao-card-horiz__icon",
1310
1310
  name: i.icon,
1311
1311
  size: "xl"
@@ -1316,7 +1316,7 @@ const r5 = {
1316
1316
  onClick: l[0] || (l[0] = A1(() => {
1317
1317
  }, ["stop"]))
1318
1318
  }, [
1319
- E(M1, {
1319
+ T(M1, {
1320
1320
  class: "ao-card-horiz__title",
1321
1321
  level: 4,
1322
1322
  title: i.title || "",
@@ -1369,7 +1369,7 @@ const f5 = /* @__PURE__ */ e1({
1369
1369
  a.variant ? `ao-tag--${a.variant}` : ""
1370
1370
  ])
1371
1371
  }, [
1372
- (d(), Y(G1(t.value), T1({ class: "ao-tag__label" }, n.value, {
1372
+ (d(), Y(G1(t.value), H1({ class: "ao-tag__label" }, n.value, {
1373
1373
  onClick: i[0] || (i[0] = (l) => a.$emit("click", l))
1374
1374
  }), {
1375
1375
  default: F(() => [
@@ -1382,7 +1382,7 @@ const f5 = /* @__PURE__ */ e1({
1382
1382
  class: "ao-tag__close",
1383
1383
  onClick: i[1] || (i[1] = (l) => a.$emit("close", l))
1384
1384
  }, [
1385
- E(v1, {
1385
+ T(v1, {
1386
1386
  name: "CloseRounded",
1387
1387
  size: "sm",
1388
1388
  class: "ao-tag__close-icon"
@@ -1980,10 +1980,10 @@ function Xe() {
1980
1980
  break;
1981
1981
  A = R, p = P;
1982
1982
  }
1983
- let I = a.middleInternal(l, o, p, u), T;
1984
- for (let A = I.getScale(); A > 0; A = T) {
1985
- T = A - 1;
1986
- const R = I.setScale(T);
1983
+ let I = a.middleInternal(l, o, p, u), H;
1984
+ for (let A = I.getScale(); A > 0; A = H) {
1985
+ H = A - 1;
1986
+ const R = I.setScale(H);
1987
1987
  if (l.compareTo(R) >= 0 || R.compareTo(o) >= 0)
1988
1988
  break;
1989
1989
  I = R;
@@ -2179,7 +2179,7 @@ const L5 = ["title"], A5 = { className: "ao-avatar__initials" }, Ve = /* @__PURE
2179
2179
  ], 10, L5));
2180
2180
  }
2181
2181
  });
2182
- const V5 = { class: "ao-card-template__subitems" }, E5 = { class: "ao-card-template__subitem" }, H5 = { class: "ao-card-template__subitem-number" }, T5 = { class: "ao-card-template__subitem" }, k5 = { class: "ao-card-template__subitem" }, O5 = { class: "ao-card-template__body" }, B5 = { class: "ao-card-template__col ao-card-template__col--phases" }, Z5 = { class: "ao-card-template__col-title" }, D5 = { class: "ao-card-template__col-label" }, P5 = {
2182
+ const V5 = { class: "ao-card-template__subitems" }, T5 = { class: "ao-card-template__subitem" }, E5 = { class: "ao-card-template__subitem-number" }, H5 = { class: "ao-card-template__subitem" }, k5 = { class: "ao-card-template__subitem" }, O5 = { class: "ao-card-template__body" }, B5 = { class: "ao-card-template__col ao-card-template__col--phases" }, Z5 = { class: "ao-card-template__col-title" }, D5 = { class: "ao-card-template__col-label" }, P5 = {
2183
2183
  key: 0,
2184
2184
  class: "ao-card-template__col-body ao-card-template__phases-list"
2185
2185
  }, N5 = { class: "ao-card-template__footer" }, R5 = { class: "ao-card-template__col ao-card-template__col--updated-at" }, U5 = { class: "ao-card-template__col-title" }, q5 = { class: "ao-card-template__col-label" }, j5 = { class: "ao-card-template__col-body" }, z5 = {
@@ -2195,26 +2195,31 @@ const V5 = { class: "ao-card-template__subitems" }, E5 = { class: "ao-card-templ
2195
2195
  updatedAt: {},
2196
2196
  updatedBy: {}
2197
2197
  },
2198
- setup(s) {
2199
- return (e, t) => (d(), Y(Ke, {
2200
- title: e.title,
2201
- "is-draggable": !0
2198
+ emits: ["updateTitle"],
2199
+ setup(s, { emit: e }) {
2200
+ const t = (n) => {
2201
+ e("updateTitle", n);
2202
+ };
2203
+ return (n, a) => (d(), Y(Ke, {
2204
+ title: n.title,
2205
+ "is-draggable": !0,
2206
+ "onUpdate:title": t
2202
2207
  }, {
2203
2208
  subtitle: F(() => [
2204
2209
  r("ul", V5, [
2205
- r("li", E5, [
2206
- E(v1, {
2210
+ r("li", T5, [
2211
+ T(v1, {
2207
2212
  name: "MountainFlagOutlineRounded",
2208
2213
  size: "sm"
2209
2214
  }),
2210
- r("span", H5, x(e.milestones), 1)
2215
+ r("span", E5, x(n.milestones), 1)
2211
2216
  ]),
2212
- r("li", T5, [
2213
- E(v1, {
2217
+ r("li", H5, [
2218
+ T(v1, {
2214
2219
  name: "TaskOutlineRounded",
2215
2220
  size: "sm"
2216
2221
  }),
2217
- r("span", k5, x(e.activities), 1)
2222
+ r("span", k5, x(n.activities), 1)
2218
2223
  ])
2219
2224
  ])
2220
2225
  ]),
@@ -2222,16 +2227,16 @@ const V5 = { class: "ao-card-template__subitems" }, E5 = { class: "ao-card-templ
2222
2227
  r("div", O5, [
2223
2228
  r("div", B5, [
2224
2229
  r("div", Z5, [
2225
- E(v1, {
2230
+ T(v1, {
2226
2231
  name: "WaterfallChartRounded",
2227
2232
  size: "sm"
2228
2233
  }),
2229
- r("span", D5, x(e.$t("template.phases.title")), 1)
2234
+ r("span", D5, x(n.$t("template.phases.title")), 1)
2230
2235
  ]),
2231
- e.phases ? (d(), C("ul", P5, [
2232
- (d(!0), C(f1, null, $1(e.phases, (n) => (d(), Y(f5, {
2233
- key: n.id,
2234
- label: n.name || n.id,
2236
+ n.phases ? (d(), C("ul", P5, [
2237
+ (d(!0), C(f1, null, $1(n.phases, (i) => (d(), Y(f5, {
2238
+ key: i.id,
2239
+ label: i.name || i.id,
2235
2240
  color: "primary",
2236
2241
  variant: "solid"
2237
2242
  }, null, 8, ["label"]))), 128))
@@ -2243,18 +2248,18 @@ const V5 = { class: "ao-card-template__subitems" }, E5 = { class: "ao-card-templ
2243
2248
  r("div", N5, [
2244
2249
  r("div", R5, [
2245
2250
  r("div", U5, [
2246
- r("span", q5, x(e.$t("template.updatedAt.label")), 1)
2251
+ r("span", q5, x(n.$t("template.updatedAt.label")), 1)
2247
2252
  ]),
2248
2253
  r("div", j5, [
2249
- r("span", null, x(e.updatedAt), 1)
2254
+ r("span", null, x(n.updatedAt), 1)
2250
2255
  ])
2251
2256
  ]),
2252
- e.updatedBy ? (d(), C("div", z5, [
2257
+ n.updatedBy ? (d(), C("div", z5, [
2253
2258
  r("div", x5, [
2254
- r("span", K5, x(e.$t("template.updatedBy.label")), 1)
2259
+ r("span", K5, x(n.$t("template.updatedBy.label")), 1)
2255
2260
  ]),
2256
2261
  r("div", G5, [
2257
- E(Ve, { "user-name": e.updatedBy }, null, 8, ["user-name"])
2262
+ T(Ve, { "user-name": n.updatedBy }, null, 8, ["user-name"])
2258
2263
  ])
2259
2264
  ])) : V("", !0)
2260
2265
  ])
@@ -2327,7 +2332,7 @@ const J5 = ["type"], Q5 = {
2327
2332
  const e7 = { class: "ao-card-template-item__footer" }, t7 = {
2328
2333
  key: 0,
2329
2334
  class: "ao-card-template-item__subitem"
2330
- }, s7 = { class: "ao-card-template-item__subitem-number" }, a7 = { class: "ao-card-template-item__secondary" }, Ee = /* @__PURE__ */ e1({
2335
+ }, s7 = { class: "ao-card-template-item__subitem-number" }, a7 = { class: "ao-card-template-item__secondary" }, Te = /* @__PURE__ */ e1({
2331
2336
  __name: "AoCardTemplateItem",
2332
2337
  props: {
2333
2338
  milestones: {},
@@ -2352,7 +2357,7 @@ const e7 = { class: "ao-card-template-item__footer" }, t7 = {
2352
2357
  r("ul", e7, [
2353
2358
  (d(), C(f1, null, $1(n, (p) => (d(), C(f1, { key: p }, [
2354
2359
  l.$props[p] ? (d(), C("li", t7, [
2355
- E(v1, {
2360
+ T(v1, {
2356
2361
  name: a[p],
2357
2362
  size: "sm"
2358
2363
  }, null, 8, ["name"]),
@@ -2363,7 +2368,7 @@ const e7 = { class: "ao-card-template-item__footer" }, t7 = {
2363
2368
  ]),
2364
2369
  secondary: F(() => [
2365
2370
  r("div", a7, [
2366
- E(g1, {
2371
+ T(g1, {
2367
2372
  "icon-name": "DeleteOutlineRounded",
2368
2373
  variant: "ghost",
2369
2374
  size: "md",
@@ -2388,7 +2393,7 @@ const l7 = /* @__PURE__ */ e1({
2388
2393
  var a;
2389
2394
  return (a = e.milestones) == null ? void 0 : a.length;
2390
2395
  }), n = m(() => e.milestones ? We(e.milestones) : 0);
2391
- return (a, i) => (d(), Y(Ee, T1({
2396
+ return (a, i) => (d(), Y(Te, H1({
2392
2397
  title: a.name,
2393
2398
  activities: n.value,
2394
2399
  milestones: t.value
@@ -2409,7 +2414,7 @@ const l7 = /* @__PURE__ */ e1({
2409
2414
  var n;
2410
2415
  return ((n = e.activities) == null ? void 0 : n.length) || 0;
2411
2416
  });
2412
- return (n, a) => (d(), Y(Ee, { activities: t.value }, {
2417
+ return (n, a) => (d(), Y(Te, { activities: t.value }, {
2413
2418
  default: F(() => [
2414
2419
  K(n.$slots, "default")
2415
2420
  ]),
@@ -2515,7 +2520,7 @@ const yo = {
2515
2520
  onChange: l
2516
2521
  }, {
2517
2522
  header: F(() => [
2518
- E(M1, {
2523
+ T(M1, {
2519
2524
  title: "Milestones",
2520
2525
  level: 3,
2521
2526
  class: "ao-list__title"
@@ -2539,7 +2544,7 @@ const yo = {
2539
2544
  ]),
2540
2545
  footer: F(() => [
2541
2546
  r("div", c7, [
2542
- E(de, {
2547
+ T(de, {
2543
2548
  "icon-name": "AddBoxOutlineRounded",
2544
2549
  label: o.$t("template.milestones.add"),
2545
2550
  onClick: n
@@ -2560,7 +2565,7 @@ const yo = {
2560
2565
  var n;
2561
2566
  return ((n = e.subtasks) == null ? void 0 : n.length) || 0;
2562
2567
  });
2563
- return (n, a) => (d(), Y(Ee, { subtasks: t.value }, {
2568
+ return (n, a) => (d(), Y(Te, { subtasks: t.value }, {
2564
2569
  default: F(() => [
2565
2570
  K(n.$slots, "default")
2566
2571
  ]),
@@ -2618,7 +2623,7 @@ const yo = {
2618
2623
  "item-key": "id"
2619
2624
  }, {
2620
2625
  header: F(() => [
2621
- E(M1, {
2626
+ T(M1, {
2622
2627
  title: "Activities",
2623
2628
  level: 3,
2624
2629
  class: "ao-list__title"
@@ -2638,7 +2643,7 @@ const yo = {
2638
2643
  ]),
2639
2644
  footer: F(() => [
2640
2645
  r("div", v7, [
2641
- E(de, {
2646
+ T(de, {
2642
2647
  "icon-name": "AddBoxOutlineRounded",
2643
2648
  label: o.$t("template.activities.add"),
2644
2649
  onClick: n
@@ -2655,8 +2660,8 @@ function w1(s) {
2655
2660
  function h7(s, e, t) {
2656
2661
  const { object: n, valueProp: a, mode: i } = p1(s), l = N1().proxy, o = t.iv, p = (y, I = !0) => {
2657
2662
  o.value = v(y);
2658
- const T = u(y);
2659
- e.emit("change", T, l), I && (e.emit("input", T), e.emit("update:modelValue", T));
2663
+ const H = u(y);
2664
+ e.emit("change", H, l), I && (e.emit("input", H), e.emit("update:modelValue", H));
2660
2665
  }, u = (y) => n.value || w1(y) ? y : Array.isArray(y) ? y.map((I) => I[a.value]) : y[a.value], v = (y) => w1(y) ? i.value === "single" ? {} : [] : y;
2661
2666
  return {
2662
2667
  update: p
@@ -2676,23 +2681,23 @@ function f7(s, e) {
2676
2681
  function _7(s, e, t) {
2677
2682
  const { regex: n } = p1(s), a = N1().proxy, i = t.isOpen, l = t.open, o = J(null), p = J(null), u = () => {
2678
2683
  o.value = "";
2679
- }, v = (T) => {
2680
- o.value = T.target.value;
2681
- }, y = (T) => {
2684
+ }, v = (H) => {
2685
+ o.value = H.target.value;
2686
+ }, y = (H) => {
2682
2687
  if (n && n.value) {
2683
2688
  let A = n.value;
2684
- typeof A == "string" && (A = new RegExp(A)), T.key.match(A) || T.preventDefault();
2689
+ typeof A == "string" && (A = new RegExp(A)), H.key.match(A) || H.preventDefault();
2685
2690
  }
2686
- }, I = (T) => {
2691
+ }, I = (H) => {
2687
2692
  if (n && n.value) {
2688
- let R = (T.clipboardData || /* istanbul ignore next */
2693
+ let R = (H.clipboardData || /* istanbul ignore next */
2689
2694
  window.clipboardData).getData("Text"), P = n.value;
2690
- typeof P == "string" && (P = new RegExp(P)), R.split("").every((L) => !!L.match(P)) || T.preventDefault();
2695
+ typeof P == "string" && (P = new RegExp(P)), R.split("").every((L) => !!L.match(P)) || H.preventDefault();
2691
2696
  }
2692
- e.emit("paste", T, a);
2697
+ e.emit("paste", H, a);
2693
2698
  };
2694
- return d1(o, (T) => {
2695
- !i.value && T && l(), e.emit("search-change", T, a);
2699
+ return d1(o, (H) => {
2700
+ !i.value && H && l(), e.emit("search-change", H, a);
2696
2701
  }), {
2697
2702
  search: o,
2698
2703
  input: p,
@@ -2738,7 +2743,7 @@ function y7(s, e, t) {
2738
2743
  label: v,
2739
2744
  appendNewTag: y,
2740
2745
  appendNewOption: I,
2741
- multipleLabel: T,
2746
+ multipleLabel: H,
2742
2747
  object: A,
2743
2748
  loading: R,
2744
2749
  delay: P,
@@ -2753,11 +2758,11 @@ function y7(s, e, t) {
2753
2758
  canDeselect: $,
2754
2759
  max: D,
2755
2760
  strict: o1,
2756
- closeOnSelect: H,
2761
+ closeOnSelect: E,
2757
2762
  closeOnDeselect: z,
2758
2763
  groups: c1,
2759
2764
  reverse: m1,
2760
- infinite: H1,
2765
+ infinite: E1,
2761
2766
  groupOptions: n1,
2762
2767
  groupHideEmpty: b,
2763
2768
  groupSelect: g,
@@ -2765,7 +2770,7 @@ function y7(s, e, t) {
2765
2770
  disabledProp: Z,
2766
2771
  searchStart: Q,
2767
2772
  searchFilter: i1
2768
- } = p1(s), W = N1().proxy, U = t.iv, f = t.ev, O = t.search, r1 = t.clearSearch, I1 = t.update, et = t.pointer, O1 = t.clearPointer, tt = t.focus, st = t.deactivate, B1 = t.close, at = t.localize, U1 = J([]), V1 = J([]), b1 = J(!1), Ce = J(null), ve = J(H1.value && l.value === -1 ? 10 : l.value), Te = m(() => p.value || u.value || !1), lt = m(() => y.value !== void 0 ? y.value : I.value !== void 0 ? I.value : !0), E1 = m(() => {
2773
+ } = p1(s), W = N1().proxy, U = t.iv, f = t.ev, O = t.search, r1 = t.clearSearch, I1 = t.update, et = t.pointer, O1 = t.clearPointer, tt = t.focus, st = t.deactivate, B1 = t.close, at = t.localize, U1 = J([]), V1 = J([]), b1 = J(!1), Ce = J(null), ve = J(E1.value && l.value === -1 ? 10 : l.value), He = m(() => p.value || u.value || !1), lt = m(() => y.value !== void 0 ? y.value : I.value !== void 0 ? I.value : !0), T1 = m(() => {
2769
2774
  if (c1.value) {
2770
2775
  let c = X1.value || /* istanbul ignore next */
2771
2776
  [], w = [];
@@ -2780,7 +2785,7 @@ function y7(s, e, t) {
2780
2785
  return U1.value.length && (c = c.concat(U1.value)), c;
2781
2786
  }
2782
2787
  }), ke = m(() => {
2783
- let c = E1.value;
2788
+ let c = T1.value;
2784
2789
  return m1.value && (c = c.reverse()), Z1.value.length && (c = Z1.value.concat(c)), me(c);
2785
2790
  }), q1 = m(() => {
2786
2791
  let c = ke.value;
@@ -2825,7 +2830,7 @@ function y7(s, e, t) {
2825
2830
  case "tags":
2826
2831
  return !w1(U.value) && U.value.length > 0;
2827
2832
  }
2828
- }), it = m(() => T !== void 0 && T.value !== void 0 ? T.value(U.value, W) : U.value && U.value.length > 1 ? `${U.value.length} options selected` : "1 option selected"), ot = m(() => !E1.value.length && !b1.value && !Z1.value.length), rt = m(() => E1.value.length > 0 && q1.value.length == 0 && (O.value && c1.value || !c1.value)), Z1 = m(() => Te.value === !1 || !O.value ? [] : _t(O.value) !== -1 ? [] : [{
2833
+ }), it = m(() => H !== void 0 && H.value !== void 0 ? H.value(U.value, W) : U.value && U.value.length > 1 ? `${U.value.length} options selected` : "1 option selected"), ot = m(() => !T1.value.length && !b1.value && !Z1.value.length), rt = m(() => T1.value.length > 0 && q1.value.length == 0 && (O.value && c1.value || !c1.value)), Z1 = m(() => He.value === !1 || !O.value ? [] : _t(O.value) !== -1 ? [] : [{
2829
2834
  [k.value]: O.value,
2830
2835
  [y1.value]: O.value,
2831
2836
  [v.value]: O.value,
@@ -2897,7 +2902,7 @@ function y7(s, e, t) {
2897
2902
  $.value && P1(c), z.value && (O1(), B1());
2898
2903
  return;
2899
2904
  }
2900
- c && _e(c), s1.value && r1(), H.value && (O1(), B1()), c && D1(c);
2905
+ c && _e(c), s1.value && r1(), E.value && (O1(), B1()), c && D1(c);
2901
2906
  break;
2902
2907
  case "multiple":
2903
2908
  if (c && S1(c)) {
@@ -2908,7 +2913,7 @@ function y7(s, e, t) {
2908
2913
  e.emit("max", W);
2909
2914
  return;
2910
2915
  }
2911
- c && (_e(c), D1(c)), s1.value && r1(), o.value && O1(), H.value && B1();
2916
+ c && (_e(c), D1(c)), s1.value && r1(), o.value && O1(), E.value && B1();
2912
2917
  break;
2913
2918
  case "tags":
2914
2919
  if (c && S1(c)) {
@@ -2919,10 +2924,10 @@ function y7(s, e, t) {
2919
2924
  e.emit("max", W);
2920
2925
  return;
2921
2926
  }
2922
- c && _e(c), s1.value && r1(), c && D1(c), o.value && O1(), H.value && B1();
2927
+ c && _e(c), s1.value && r1(), c && D1(c), o.value && O1(), E.value && B1();
2923
2928
  break;
2924
2929
  }
2925
- H.value || tt();
2930
+ E.value || tt();
2926
2931
  }, vt = (c) => {
2927
2932
  if (!(he(c) || a.value === "single" || !g.value)) {
2928
2933
  switch (a.value) {
@@ -2933,13 +2938,13 @@ function y7(s, e, t) {
2933
2938
  );
2934
2939
  break;
2935
2940
  }
2936
- H.value && st();
2941
+ E.value && st();
2937
2942
  }
2938
2943
  }, _e = (c) => {
2939
- L1(c[k.value]) === void 0 && Te.value && (e.emit("tag", c[k.value], W), e.emit("option", c[k.value], W), e.emit("create", c[k.value], W), lt.value && gt(c), r1());
2944
+ L1(c[k.value]) === void 0 && He.value && (e.emit("tag", c[k.value], W), e.emit("option", c[k.value], W), e.emit("create", c[k.value], W), lt.value && gt(c), r1());
2940
2945
  }, pt = () => {
2941
2946
  a.value !== "single" && D1(q1.value.filter((c) => !c.disabled && !S1(c)));
2942
- }, ht = (c) => c.find((w) => !S1(w) && !w[Z.value]) === void 0, ft = (c) => c.find((w) => !S1(w)) === void 0, L1 = (c) => E1.value[E1.value.map((w) => String(w[k.value])).indexOf(String(c))], _t = (c, w = !0) => E1.value.map((q) => parseInt(q[y1.value]) == q[y1.value] ? parseInt(q[y1.value]) : q[y1.value]).indexOf(
2947
+ }, ht = (c) => c.find((w) => !S1(w) && !w[Z.value]) === void 0, ft = (c) => c.find((w) => !S1(w)) === void 0, L1 = (c) => T1.value[T1.value.map((w) => String(w[k.value])).indexOf(String(c))], _t = (c, w = !0) => T1.value.map((q) => parseInt(q[y1.value]) == q[y1.value] ? parseInt(q[y1.value]) : q[y1.value]).indexOf(
2943
2948
  parseInt(c) == c ? parseInt(c) : c
2944
2949
  ), mt = (c) => ["tags", "multiple"].indexOf(a.value) !== -1 && o.value && S1(c), gt = (c) => {
2945
2950
  U1.value.push(c);
@@ -3037,8 +3042,8 @@ function y7(s, e, t) {
3037
3042
  filteredOptions: q1,
3038
3043
  hasSelected: pe,
3039
3044
  multipleLabelText: it,
3040
- eo: E1,
3041
- extendedOptions: E1,
3045
+ eo: T1,
3046
+ extendedOptions: T1,
3042
3047
  eg: X1,
3043
3048
  extendedGroups: X1,
3044
3049
  fg: Oe,
@@ -3076,20 +3081,20 @@ function w7(s, e, t) {
3076
3081
  groupSelect: u,
3077
3082
  disabledProp: v,
3078
3083
  groupOptions: y
3079
- } = p1(s), I = t.fo, T = t.fg, A = t.handleOptionClick, R = t.handleGroupClick, P = t.search, L = t.pointer, h = t.setPointer, B = t.clearPointer, X = t.multiselect, s1 = t.isOpen, k = m(() => I.value.filter((f) => !f[v.value])), t1 = m(() => T.value.filter((f) => !f[v.value])), _ = m(() => p.value !== "single" && u.value), $ = m(() => L.value && L.value.group), D = m(() => W(L.value)), o1 = m(() => {
3084
+ } = p1(s), I = t.fo, H = t.fg, A = t.handleOptionClick, R = t.handleGroupClick, P = t.search, L = t.pointer, h = t.setPointer, B = t.clearPointer, X = t.multiselect, s1 = t.isOpen, k = m(() => I.value.filter((f) => !f[v.value])), t1 = m(() => H.value.filter((f) => !f[v.value])), _ = m(() => p.value !== "single" && u.value), $ = m(() => L.value && L.value.group), D = m(() => W(L.value)), o1 = m(() => {
3080
3085
  const f = $.value ? L.value : (
3081
3086
  /* istanbul ignore next */
3082
3087
  W(L.value)
3083
3088
  ), O = t1.value.map((I1) => I1[l.value]).indexOf(f[l.value]);
3084
3089
  let r1 = t1.value[O - 1];
3085
3090
  return r1 === void 0 && (r1 = z.value), r1;
3086
- }), H = m(() => {
3091
+ }), E = m(() => {
3087
3092
  let f = t1.value.map((O) => O.label).indexOf($.value ? L.value[l.value] : W(L.value)[l.value]) + 1;
3088
3093
  return t1.value.length <= f && (f = 0), t1.value[f];
3089
3094
  }), z = m(() => [...t1.value].slice(-1)[0]), c1 = m(() => L.value.__VISIBLE__.filter((f) => !f[v.value])[0]), m1 = m(() => {
3090
3095
  const f = D.value.__VISIBLE__.filter((O) => !O[v.value]);
3091
3096
  return f[f.map((O) => O[n.value]).indexOf(L.value[n.value]) - 1];
3092
- }), H1 = m(() => {
3097
+ }), E1 = m(() => {
3093
3098
  const f = W(L.value).__VISIBLE__.filter((O) => !O[v.value]);
3094
3099
  return f[f.map((O) => O[n.value]).indexOf(L.value[n.value]) + 1];
3095
3100
  }), n1 = m(() => [...o1.value.__VISIBLE__.filter((f) => !f[v.value])].slice(-1)[0]), b = m(() => [...z.value.__VISIBLE__.filter((f) => !f[v.value])].slice(-1)[0]), g = (f) => L.value && (!f.group && L.value[n.value] === f[n.value] || f.group !== void 0 && L.value[l.value] === f[l.value]) ? !0 : void 0, S = () => {
@@ -3100,8 +3105,8 @@ function w7(s, e, t) {
3100
3105
  if (L.value === null)
3101
3106
  h((o.value && _.value ? t1.value[0].__CREATE__ ? k.value[0] : t1.value[0] : k.value[0]) || null);
3102
3107
  else if (o.value && _.value) {
3103
- let f = $.value ? c1.value : H1.value;
3104
- f === void 0 && (f = H.value, f.__CREATE__ && (f = f[y.value][0])), h(f || /* istanbul ignore next */
3108
+ let f = $.value ? c1.value : E1.value;
3109
+ f === void 0 && (f = E.value, f.__CREATE__ && (f = f[y.value][0])), h(f || /* istanbul ignore next */
3105
3110
  null);
3106
3111
  } else {
3107
3112
  let f = k.value.map((O) => O[n.value]).indexOf(L.value[n.value]) + 1;
@@ -3167,7 +3172,7 @@ function $7(s, e, t) {
3167
3172
  };
3168
3173
  }
3169
3174
  function M7(s, e, t) {
3170
- const { searchable: n, disabled: a, clearOnBlur: i } = p1(s), l = t.input, o = t.open, p = t.close, u = t.clearSearch, v = t.isOpen, y = J(null), I = J(null), T = J(null), A = J(!1), R = J(!1), P = m(() => n.value || a.value ? -1 : 0), L = () => {
3175
+ const { searchable: n, disabled: a, clearOnBlur: i } = p1(s), l = t.input, o = t.open, p = t.close, u = t.clearSearch, v = t.isOpen, y = J(null), I = J(null), H = J(null), A = J(!1), R = J(!1), P = m(() => n.value || a.value ? -1 : 0), L = () => {
3171
3176
  n.value && l.value.blur(), I.value.blur();
3172
3177
  }, h = () => {
3173
3178
  n.value && !a.value && l.value.focus();
@@ -3181,7 +3186,7 @@ function M7(s, e, t) {
3181
3186
  return {
3182
3187
  multiselect: y,
3183
3188
  wrapper: I,
3184
- tags: T,
3189
+ tags: H,
3185
3190
  tabindex: P,
3186
3191
  isActive: A,
3187
3192
  mouseClicked: R,
@@ -3199,7 +3204,7 @@ function M7(s, e, t) {
3199
3204
  X(), L();
3200
3205
  },
3201
3206
  handleMousedown: ($) => {
3202
- R.value = !0, v.value && ($.target.isEqualNode(I.value) || $.target.isEqualNode(T.value)) ? setTimeout(() => {
3207
+ R.value = !0, v.value && ($.target.isEqualNode(I.value) || $.target.isEqualNode(H.value)) ? setTimeout(() => {
3203
3208
  X();
3204
3209
  }, 0) : document.activeElement.isEqualNode(I.value) && !v.value && B(), setTimeout(() => {
3205
3210
  R.value = !1;
@@ -3219,10 +3224,10 @@ function I7(s, e, t) {
3219
3224
  addOptionOn: v,
3220
3225
  createTag: y,
3221
3226
  createOption: I,
3222
- reverse: T
3223
- } = p1(s), A = N1().proxy, R = t.iv, P = t.update, L = t.search, h = t.setPointer, B = t.selectPointer, X = t.backwardPointer, s1 = t.forwardPointer, k = t.multiselect, t1 = t.wrapper, _ = t.tags, $ = t.isOpen, D = t.open, o1 = t.blur, H = t.fo, z = m(() => y.value || I.value || !1), c1 = m(() => a.value !== void 0 ? a.value : v.value !== void 0 ? v.value : ["enter"]), m1 = () => {
3224
- n.value === "tags" && !o.value && z.value && l.value && !u.value && h(H.value[H.value.map((g) => g[p.value]).indexOf(L.value)]);
3225
- }, H1 = (g) => {
3227
+ reverse: H
3228
+ } = p1(s), A = N1().proxy, R = t.iv, P = t.update, L = t.search, h = t.setPointer, B = t.selectPointer, X = t.backwardPointer, s1 = t.forwardPointer, k = t.multiselect, t1 = t.wrapper, _ = t.tags, $ = t.isOpen, D = t.open, o1 = t.blur, E = t.fo, z = m(() => y.value || I.value || !1), c1 = m(() => a.value !== void 0 ? a.value : v.value !== void 0 ? v.value : ["enter"]), m1 = () => {
3229
+ n.value === "tags" && !o.value && z.value && l.value && !u.value && h(E.value[E.value.map((g) => g[p.value]).indexOf(L.value)]);
3230
+ }, E1 = (g) => {
3226
3231
  let S = g.length - 1;
3227
3232
  for (; S >= 0 && (g[S].remove === !1 || g[S].disabled); )
3228
3233
  S--;
@@ -3236,7 +3241,7 @@ function I7(s, e, t) {
3236
3241
  case "Backspace":
3237
3242
  if (n.value === "single" || l.value && [null, ""].indexOf(L.value) === -1 || R.value.length === 0)
3238
3243
  return;
3239
- P(H1([...R.value]));
3244
+ P(E1([...R.value]));
3240
3245
  break;
3241
3246
  case "Enter":
3242
3247
  if (g.preventDefault(), g.keyCode === 229)
@@ -3304,7 +3309,7 @@ function S7(s, e, t) {
3304
3309
  disabled: a,
3305
3310
  openDirection: i,
3306
3311
  showOptions: l
3307
- } = p1(s), o = t.isOpen, p = t.isPointed, u = t.isSelected, v = t.isDisabled, y = t.isActive, I = t.canPointGroups, T = t.resolving, A = t.fo, R = m(() => ({
3312
+ } = p1(s), o = t.isOpen, p = t.isPointed, u = t.isSelected, v = t.isDisabled, y = t.isActive, I = t.canPointGroups, H = t.resolving, A = t.fo, R = m(() => ({
3308
3313
  container: "multiselect",
3309
3314
  containerDisabled: "is-disabled",
3310
3315
  containerOpen: "is-open",
@@ -3357,7 +3362,7 @@ function S7(s, e, t) {
3357
3362
  assist: "multiselect-assistive-text",
3358
3363
  spacer: "multiselect-spacer",
3359
3364
  ...n.value
3360
- })), P = m(() => !!(o.value && l.value && (!T.value || T.value && A.value.length)));
3365
+ })), P = m(() => !!(o.value && l.value && (!H.value || H.value && A.value.length)));
3361
3366
  return {
3362
3367
  classList: m(() => {
3363
3368
  const h = R.value;
@@ -3409,7 +3414,7 @@ function L7(s, e, t) {
3409
3414
  const {
3410
3415
  limit: n,
3411
3416
  infinite: a
3412
- } = p1(s), i = t.isOpen, l = t.offset, o = t.search, p = t.pfo, u = t.eo, v = J(null), y = J(null), I = m(() => l.value < p.value.length), T = (R) => {
3417
+ } = p1(s), i = t.isOpen, l = t.offset, o = t.search, p = t.pfo, u = t.eo, v = J(null), y = J(null), I = m(() => l.value < p.value.length), H = (R) => {
3413
3418
  const { isIntersecting: P, target: L } = R[0];
3414
3419
  if (P) {
3415
3420
  const h = L.offsetParent, B = h.scrollTop;
@@ -3427,7 +3432,7 @@ function L7(s, e, t) {
3427
3432
  }, { flush: "post" }), d1(u, () => {
3428
3433
  a.value && A();
3429
3434
  }, { immediate: !1, flush: "post" }), Ie(() => {
3430
- window && window.IntersectionObserver && (v.value = new IntersectionObserver(T));
3435
+ window && window.IntersectionObserver && (v.value = new IntersectionObserver(H));
3431
3436
  }), {
3432
3437
  hasMore: I,
3433
3438
  infiniteLoader: y
@@ -3443,39 +3448,39 @@ function A7(s, e, t) {
3443
3448
  groupLabel: p,
3444
3449
  aria: u,
3445
3450
  searchable: v
3446
- } = p1(s), y = t.pointer, I = t.iv, T = t.hasSelected, A = t.multipleLabelText, R = J(null), P = m(() => {
3447
- let H = [];
3448
- return a && a.value && H.push(a.value), H.push("assist"), H.join("-");
3451
+ } = p1(s), y = t.pointer, I = t.iv, H = t.hasSelected, A = t.multipleLabelText, R = J(null), P = m(() => {
3452
+ let E = [];
3453
+ return a && a.value && E.push(a.value), E.push("assist"), E.join("-");
3449
3454
  }), L = m(() => {
3450
- let H = [];
3451
- return a && a.value && H.push(a.value), H.push("multiselect-options"), H.join("-");
3455
+ let E = [];
3456
+ return a && a.value && E.push(a.value), E.push("multiselect-options"), E.join("-");
3452
3457
  }), h = m(() => {
3453
- let H = [];
3454
- if (a && a.value && H.push(a.value), y.value)
3455
- return H.push(y.value.group ? "multiselect-group" : "multiselect-option"), H.push(y.value.group ? y.value.index : y.value[i.value]), H.join("-");
3458
+ let E = [];
3459
+ if (a && a.value && E.push(a.value), y.value)
3460
+ return E.push(y.value.group ? "multiselect-group" : "multiselect-option"), E.push(y.value.group ? y.value.index : y.value[i.value]), E.join("-");
3456
3461
  }), B = m(() => n.value), X = m(() => o.value !== "single"), s1 = m(() => {
3457
- let H = "";
3458
- return o.value === "single" && T.value && (H += I.value[l.value]), o.value === "multiple" && T.value && (H += A.value), o.value === "tags" && T.value && (H += I.value.map((z) => z[l.value]).join(", ")), H;
3462
+ let E = "";
3463
+ return o.value === "single" && H.value && (E += I.value[l.value]), o.value === "multiple" && H.value && (E += A.value), o.value === "tags" && H.value && (E += I.value.map((z) => z[l.value]).join(", ")), E;
3459
3464
  }), k = m(() => {
3460
- let H = { ...u.value };
3461
- return v.value && (H["aria-labelledby"] = H["aria-labelledby"] ? `${P.value} ${H["aria-labelledby"]}` : P.value, s1.value && H["aria-label"] && (H["aria-label"] = `${s1.value}, ${H["aria-label"]}`)), H;
3462
- }), t1 = (H) => {
3465
+ let E = { ...u.value };
3466
+ return v.value && (E["aria-labelledby"] = E["aria-labelledby"] ? `${P.value} ${E["aria-labelledby"]}` : P.value, s1.value && E["aria-label"] && (E["aria-label"] = `${s1.value}, ${E["aria-label"]}`)), E;
3467
+ }), t1 = (E) => {
3463
3468
  let z = [];
3464
- return a && a.value && z.push(a.value), z.push("multiselect-option"), z.push(H[i.value]), z.join("-");
3465
- }, _ = (H) => {
3469
+ return a && a.value && z.push(a.value), z.push("multiselect-option"), z.push(E[i.value]), z.join("-");
3470
+ }, _ = (E) => {
3466
3471
  let z = [];
3467
- return a && a.value && z.push(a.value), z.push("multiselect-group"), z.push(H.index), z.join("-");
3468
- }, $ = (H) => {
3472
+ return a && a.value && z.push(a.value), z.push("multiselect-group"), z.push(E.index), z.join("-");
3473
+ }, $ = (E) => {
3469
3474
  let z = [];
3470
- return z.push(H), z.join(" ");
3471
- }, D = (H) => {
3475
+ return z.push(E), z.join(" ");
3476
+ }, D = (E) => {
3472
3477
  let z = [];
3473
- return z.push(H), z.join(" ");
3474
- }, o1 = (H) => `${H} ❎`;
3478
+ return z.push(E), z.join(" ");
3479
+ }, o1 = (E) => `${E} ❎`;
3475
3480
  return Ie(() => {
3476
3481
  if (a && a.value && document && document.querySelector) {
3477
- let H = document.querySelector(`[for="${a.value}"]`);
3478
- R.value = H ? H.innerText : null;
3482
+ let E = document.querySelector(`[for="${a.value}"]`);
3483
+ R.value = E ? E.innerText : null;
3479
3484
  }
3480
3485
  }), {
3481
3486
  arias: k,
@@ -3501,7 +3506,7 @@ function V7(s, e, t) {
3501
3506
  localize: (l) => !l || typeof l != "object" ? l : l && l[n.value] ? l[n.value] : l && n.value && l[n.value.toUpperCase()] ? l[n.value.toUpperCase()] : l && l[a.value] ? l[a.value] : l && a.value && l[a.value.toUpperCase()] ? l[a.value.toUpperCase()] : l && Object.keys(l)[0] ? l[Object.keys(l)[0]] : ""
3502
3507
  };
3503
3508
  }
3504
- function E7(s, e, t, n = {}) {
3509
+ function T7(s, e, t, n = {}) {
3505
3510
  return t.forEach((a) => {
3506
3511
  a && (n = {
3507
3512
  ...n,
@@ -3845,7 +3850,7 @@ var C1 = {
3845
3850
  }
3846
3851
  },
3847
3852
  setup(s, e) {
3848
- return E7(s, e, [
3853
+ return T7(s, e, [
3849
3854
  V7,
3850
3855
  f7,
3851
3856
  m7,
@@ -3862,7 +3867,7 @@ var C1 = {
3862
3867
  ]);
3863
3868
  }
3864
3869
  };
3865
- const H7 = ["id", "dir"], T7 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], k7 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], O7 = ["onKeyup", "aria-label"], B7 = ["onClick"], Z7 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], D7 = ["innerHTML"], P7 = ["id"], N7 = ["id", "aria-label", "aria-selected"], R7 = ["data-pointed", "onMouseenter", "onClick"], U7 = ["innerHTML"], q7 = ["aria-label"], j7 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], z7 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], x7 = ["innerHTML"], K7 = ["innerHTML"], G7 = ["value"], F7 = ["name", "value"], Y7 = ["name", "value"], X7 = ["id"];
3870
+ const E7 = ["id", "dir"], H7 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], k7 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], O7 = ["onKeyup", "aria-label"], B7 = ["onClick"], Z7 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], D7 = ["innerHTML"], P7 = ["id"], N7 = ["id", "aria-label", "aria-selected"], R7 = ["data-pointed", "onMouseenter", "onClick"], U7 = ["innerHTML"], q7 = ["aria-label"], j7 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], z7 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], x7 = ["innerHTML"], K7 = ["innerHTML"], G7 = ["value"], F7 = ["name", "value"], Y7 = ["name", "value"], X7 = ["id"];
3866
3871
  function W7(s, e, t, n, a, i) {
3867
3872
  return d(), C("div", {
3868
3873
  ref: "multiselect",
@@ -3874,7 +3879,7 @@ function W7(s, e, t, n, a, i) {
3874
3879
  onKeyup: e[12] || (e[12] = (...l) => s.handleKeyup && s.handleKeyup(...l)),
3875
3880
  onKeydown: e[13] || (e[13] = (...l) => s.handleKeydown && s.handleKeydown(...l))
3876
3881
  }, [
3877
- r("div", T1({
3882
+ r("div", H1({
3878
3883
  class: s.classList.wrapper,
3879
3884
  onMousedown: e[9] || (e[9] = (...l) => s.handleMousedown && s.handleMousedown(...l)),
3880
3885
  ref: "wrapper",
@@ -3887,7 +3892,7 @@ function W7(s, e, t, n, a, i) {
3887
3892
  role: t.searchable ? void 0 : "combobox"
3888
3893
  }, t.searchable ? {} : s.arias), [
3889
3894
  V(" Search "),
3890
- t.mode !== "tags" && t.searchable && !t.disabled ? (d(), C("input", T1({
3895
+ t.mode !== "tags" && t.searchable && !t.disabled ? (d(), C("input", H1({
3891
3896
  key: 0,
3892
3897
  type: t.inputType,
3893
3898
  modelValue: s.search,
@@ -3979,7 +3984,7 @@ function W7(s, e, t, n, a, i) {
3979
3984
  /* TEXT, CLASS */
3980
3985
  ),
3981
3986
  V(" Actual search input "),
3982
- t.searchable && !t.disabled ? (d(), C("input", T1({
3987
+ t.searchable && !t.disabled ? (d(), C("input", H1({
3983
3988
  key: 0,
3984
3989
  type: t.inputType,
3985
3990
  modelValue: s.search,
@@ -4116,7 +4121,7 @@ function W7(s, e, t, n, a, i) {
4116
4121
  /* CLASS */
4117
4122
  )
4118
4123
  ]) : V("v-if", !0)
4119
- ], 16, T7),
4124
+ ], 16, H7),
4120
4125
  V(" Options "),
4121
4126
  r(
4122
4127
  "div",
@@ -4326,7 +4331,7 @@ function W7(s, e, t, n, a, i) {
4326
4331
  2
4327
4332
  /* CLASS */
4328
4333
  )
4329
- ], 42, H7);
4334
+ ], 42, E7);
4330
4335
  }
4331
4336
  C1.render = W7;
4332
4337
  C1.__file = "src/Multiselect.vue";
@@ -4345,7 +4350,7 @@ const J7 = { class: "ao-modal__wrapper" }, Q7 = { class: "ao-modal" }, e0 = { cl
4345
4350
  r("div", Q7, [
4346
4351
  r("div", e0, [
4347
4352
  r("div", t0, [
4348
- E(g1, {
4353
+ T(g1, {
4349
4354
  "icon-name": "CloseRounded",
4350
4355
  variant: "ghost",
4351
4356
  color: "primary",
@@ -4364,7 +4369,7 @@ const J7 = { class: "ao-modal__wrapper" }, Q7 = { class: "ao-modal" }, e0 = { cl
4364
4369
  }
4365
4370
  });
4366
4371
  var ze;
4367
- function He() {
4372
+ function Ee() {
4368
4373
  const s = l0(), e = s.appContext.config.globalProperties;
4369
4374
  return {
4370
4375
  i18next: e.$i18next,
@@ -4407,7 +4412,7 @@ const n0 = { class: "ao-subtasks" }, i0 = { class: "ao-subtasks__list" }, o0 = [
4407
4412
  },
4408
4413
  emits: ["add", "delete", "update"],
4409
4414
  setup(s, { emit: e }) {
4410
- const t = s, { t: n } = He(), a = () => {
4415
+ const t = s, { t: n } = Ee(), a = () => {
4411
4416
  const u = t.subtasks.length, v = t.subtasks.at(-1), y = v ? u1.LexoRank.parse(v.rank).genNext() : u1.LexoRank.middle(), I = {
4412
4417
  name: n("template.defaultName.subtask", { idx: u + 1 }),
4413
4418
  rank: y.format(),
@@ -4455,7 +4460,7 @@ const n0 = { class: "ao-subtasks" }, i0 = { class: "ao-subtasks__list" }, o0 = [
4455
4460
  type: "text",
4456
4461
  onChange: (I) => i(I, y.id)
4457
4462
  }, null, 40, o0),
4458
- E(G(C1), {
4463
+ T(G(C1), {
4459
4464
  mode: "tags",
4460
4465
  value: y.assignees,
4461
4466
  options: u.assigneesOptions,
@@ -4465,16 +4470,16 @@ const n0 = { class: "ao-subtasks" }, i0 = { class: "ao-subtasks__list" }, o0 = [
4465
4470
  placeholder: u.$t("feed.filters.assignee.placeholder"),
4466
4471
  onChange: (I) => p(I, y.id)
4467
4472
  }, {
4468
- tag: F(({ option: I, handleTagRemove: T }) => [
4469
- E(Ve, {
4473
+ tag: F(({ option: I, handleTagRemove: H }) => [
4474
+ T(Ve, {
4470
4475
  "user-name": I.label,
4471
4476
  "is-closable": !0,
4472
- onClose: (A) => T(I, A)
4477
+ onClose: (A) => H(I, A)
4473
4478
  }, null, 8, ["user-name", "onClose"])
4474
4479
  ]),
4475
4480
  _: 2
4476
4481
  }, 1032, ["value", "options", "placeholder", "onChange"]),
4477
- E(g1, {
4482
+ T(g1, {
4478
4483
  class: "ao-subtask__delete",
4479
4484
  "icon-name": "CloseRounded",
4480
4485
  variant: "ghost",
@@ -4483,7 +4488,7 @@ const n0 = { class: "ao-subtasks" }, i0 = { class: "ao-subtasks__list" }, o0 = [
4483
4488
  ]))), 128))
4484
4489
  ]),
4485
4490
  r("div", r0, [
4486
- E(g1, {
4491
+ T(g1, {
4487
4492
  label: u.$t("activity.subtasks.add"),
4488
4493
  "icon-name": "Add",
4489
4494
  variant: "ghost",
@@ -4566,14 +4571,14 @@ const c0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], d0 = {
4566
4571
  target: "_blank",
4567
4572
  rel: "noopener noreferrer"
4568
4573
  }, [
4569
- E(v1, {
4574
+ T(v1, {
4570
4575
  class: "ao-file__icon",
4571
4576
  name: "AttachFileRounded",
4572
4577
  size: "sm"
4573
4578
  }),
4574
4579
  r("span", v0, x(I.name), 1)
4575
4580
  ], 8, C0),
4576
- E(g1, {
4581
+ T(g1, {
4577
4582
  class: "ao-files__delete-button",
4578
4583
  "icon-name": "DeleteOutlineRounded",
4579
4584
  variant: "ghost",
@@ -4604,7 +4609,7 @@ const c0 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], d0 = {
4604
4609
  const g0 = {
4605
4610
  key: 0,
4606
4611
  class: "ao-activity__category"
4607
- }, b0 = { class: "ao-activity-details__content" }, y0 = { class: "ao-fieldset" }, w0 = { class: "ao-field__row" }, $0 = { class: "ao-field ao-field--full" }, M0 = { class: "ao-field__label" }, I0 = { class: "ao-field__row" }, S0 = { class: "ao-field" }, L0 = { class: "ao-field__label" }, A0 = { class: "ao-field" }, V0 = { class: "ao-field__label" }, E0 = { class: "ao-field__row" }, H0 = { class: "ao-field ao-field--multiselect" }, T0 = { class: "ao-field__label" }, k0 = { class: "ao-field__row" }, O0 = { class: "ao-field ao-field--multiselect" }, B0 = { class: "ao-field__label" }, Z0 = { class: "ao-fieldset" }, D0 = { class: "ao-fieldset__title" }, P0 = { class: "ao-field__row" }, N0 = { class: "ao-field ao-field--multiselect" }, R0 = { class: "ao-field__label" }, U0 = { class: "ao-field__row" }, q0 = { class: "ao-field ao-field--multiselect" }, j0 = { class: "ao-field__label" }, z0 = { class: "ao-field__row" }, x0 = { class: "ao-field ao-field--multiselect" }, K0 = { class: "ao-field__label" }, G0 = { class: "ao-fieldset" }, F0 = { class: "ao-fieldset__title" }, Y0 = { class: "ao-activity-details__aside" }, X0 = { class: "ao-fieldset__title" }, W0 = /* @__PURE__ */ e1({
4612
+ }, b0 = { class: "ao-activity-details__content" }, y0 = { class: "ao-fieldset" }, w0 = { class: "ao-field__row" }, $0 = { class: "ao-field ao-field--full" }, M0 = { class: "ao-field__label" }, I0 = { class: "ao-field__row" }, S0 = { class: "ao-field" }, L0 = { class: "ao-field__label" }, A0 = { class: "ao-field" }, V0 = { class: "ao-field__label" }, T0 = { class: "ao-field__row" }, E0 = { class: "ao-field ao-field--multiselect" }, H0 = { class: "ao-field__label" }, k0 = { class: "ao-field__row" }, O0 = { class: "ao-field ao-field--multiselect" }, B0 = { class: "ao-field__label" }, Z0 = { class: "ao-fieldset" }, D0 = { class: "ao-fieldset__title" }, P0 = { class: "ao-field__row" }, N0 = { class: "ao-field ao-field--multiselect" }, R0 = { class: "ao-field__label" }, U0 = { class: "ao-field__row" }, q0 = { class: "ao-field ao-field--multiselect" }, j0 = { class: "ao-field__label" }, z0 = { class: "ao-field__row" }, x0 = { class: "ao-field ao-field--multiselect" }, K0 = { class: "ao-field__label" }, G0 = { class: "ao-fieldset" }, F0 = { class: "ao-fieldset__title" }, Y0 = { class: "ao-activity-details__aside" }, X0 = { class: "ao-fieldset__title" }, W0 = /* @__PURE__ */ e1({
4608
4613
  __name: "AoActivityDetails",
4609
4614
  props: {
4610
4615
  activity: {},
@@ -4672,7 +4677,7 @@ const g0 = {
4672
4677
  ..._,
4673
4678
  disabled: ($ = t.activity.blocking) == null ? void 0 : $.some((D) => D === _.value)
4674
4679
  };
4675
- })), T = m({
4680
+ })), H = m({
4676
4681
  get() {
4677
4682
  return t.activity.blocking;
4678
4683
  },
@@ -4747,7 +4752,7 @@ const g0 = {
4747
4752
  header: F(() => [
4748
4753
  K(_.$slots, "header", {}, () => [
4749
4754
  _.breadcrumbs ? (d(), C("div", g0, x(_.breadcrumbs), 1)) : V("", !0),
4750
- E(M1, {
4755
+ T(M1, {
4751
4756
  title: _.activity.name || _.activity.id,
4752
4757
  level: 4,
4753
4758
  "is-editing": n.value,
@@ -4815,10 +4820,10 @@ const g0 = {
4815
4820
  ])
4816
4821
  ])
4817
4822
  ]),
4818
- r("div", E0, [
4819
- r("div", H0, [
4820
- r("span", T0, x(_.$t("activity.assignees.label")), 1),
4821
- E(G(C1), {
4823
+ r("div", T0, [
4824
+ r("div", E0, [
4825
+ r("span", H0, x(_.$t("activity.assignees.label")), 1),
4826
+ T(G(C1), {
4822
4827
  modelValue: s1.value,
4823
4828
  "onUpdate:modelValue": $[3] || ($[3] = (D) => s1.value = D),
4824
4829
  mode: "tags",
@@ -4829,10 +4834,10 @@ const g0 = {
4829
4834
  placeholder: _.$t("feed.filters.assignee.placeholder")
4830
4835
  }, {
4831
4836
  tag: F(({ option: D, handleTagRemove: o1 }) => [
4832
- E(Ve, {
4837
+ T(Ve, {
4833
4838
  "user-name": D.label,
4834
4839
  "is-closable": !0,
4835
- onClose: (H) => o1(D, H)
4840
+ onClose: (E) => o1(D, E)
4836
4841
  }, null, 8, ["user-name", "onClose"])
4837
4842
  ]),
4838
4843
  _: 1
@@ -4842,7 +4847,7 @@ const g0 = {
4842
4847
  r("div", k0, [
4843
4848
  r("label", O0, [
4844
4849
  r("span", B0, x(_.$t("activity.type.label")), 1),
4845
- E(G(C1), {
4850
+ T(G(C1), {
4846
4851
  modelValue: u.value,
4847
4852
  "onUpdate:modelValue": $[4] || ($[4] = (D) => u.value = D),
4848
4853
  class: "ao-field__multiselect",
@@ -4856,8 +4861,8 @@ const g0 = {
4856
4861
  ]),
4857
4862
  r("fieldset", Z0, [
4858
4863
  r("div", D0, [
4859
- E(v1, { name: "FlowsheetOutlineRounded" }),
4860
- E(M1, {
4864
+ T(v1, { name: "FlowsheetOutlineRounded" }),
4865
+ T(M1, {
4861
4866
  level: 4,
4862
4867
  title: _.$t("activity.dependencies.title")
4863
4868
  }, null, 8, ["title"])
@@ -4865,7 +4870,7 @@ const g0 = {
4865
4870
  r("div", P0, [
4866
4871
  r("label", N0, [
4867
4872
  r("span", R0, x(_.$t("activity.dependingOn.label")), 1),
4868
- E(G(C1), {
4873
+ T(G(C1), {
4869
4874
  modelValue: y.value,
4870
4875
  "onUpdate:modelValue": $[5] || ($[5] = (D) => y.value = D),
4871
4876
  class: "ao-field__multiselect",
@@ -4879,9 +4884,9 @@ const g0 = {
4879
4884
  r("div", U0, [
4880
4885
  r("label", q0, [
4881
4886
  r("span", j0, x(_.$t("activity.blocking.label")), 1),
4882
- E(G(C1), {
4883
- modelValue: T.value,
4884
- "onUpdate:modelValue": $[6] || ($[6] = (D) => T.value = D),
4887
+ T(G(C1), {
4888
+ modelValue: H.value,
4889
+ "onUpdate:modelValue": $[6] || ($[6] = (D) => H.value = D),
4885
4890
  class: "ao-field__multiselect",
4886
4891
  mode: "tags",
4887
4892
  "close-on-select": !1,
@@ -4893,7 +4898,7 @@ const g0 = {
4893
4898
  r("div", z0, [
4894
4899
  r("label", x0, [
4895
4900
  r("span", K0, x(_.$t("activity.dependingMilestone.label")), 1),
4896
- E(G(C1), {
4901
+ T(G(C1), {
4897
4902
  modelValue: P.value,
4898
4903
  "onUpdate:modelValue": $[7] || ($[7] = (D) => P.value = D),
4899
4904
  class: "ao-field__multiselect",
@@ -4907,13 +4912,13 @@ const g0 = {
4907
4912
  ]),
4908
4913
  r("fieldset", G0, [
4909
4914
  r("div", F0, [
4910
- E(v1, { name: "SelectCheckBox" }),
4911
- E(M1, {
4915
+ T(v1, { name: "SelectCheckBox" }),
4916
+ T(M1, {
4912
4917
  level: 4,
4913
4918
  title: _.$t("activity.subtasks.title")
4914
4919
  }, null, 8, ["title"])
4915
4920
  ]),
4916
- E(u0, {
4921
+ T(u0, {
4917
4922
  class: "ao-activity-details__subtasks",
4918
4923
  subtasks: _.activity.subtasks || [],
4919
4924
  "activity-id": _.activity.id,
@@ -4927,13 +4932,13 @@ const g0 = {
4927
4932
  ]),
4928
4933
  r("div", Y0, [
4929
4934
  r("div", X0, [
4930
- E(v1, { name: "AttachFileRounded" }),
4931
- E(M1, {
4935
+ T(v1, { name: "AttachFileRounded" }),
4936
+ T(M1, {
4932
4937
  level: 4,
4933
4938
  title: _.$t("activity.attachments.title")
4934
4939
  }, null, 8, ["title"])
4935
4940
  ]),
4936
- E(m0, {
4941
+ T(m0, {
4937
4942
  attachments: _.activity.attachments,
4938
4943
  onAdd: k,
4939
4944
  onRemove: t1
@@ -5003,7 +5008,7 @@ const J0 = /* @__PURE__ */ e1({
5003
5008
  set(L) {
5004
5009
  e("update:rule", { ...t.rule, trigger: L });
5005
5010
  }
5006
- }), T = m(() => Object.values(o7)), A = m({
5011
+ }), H = m(() => Object.values(o7)), A = m({
5007
5012
  get() {
5008
5013
  return t.rule.duration;
5009
5014
  },
@@ -5020,22 +5025,22 @@ const J0 = /* @__PURE__ */ e1({
5020
5025
  }), P = m(() => Object.values(r7));
5021
5026
  return (L, h) => (d(), Y(G1(L.tagName), { class: "ao-rule-line" }, {
5022
5027
  default: F(() => [
5023
- E(G(C1), {
5028
+ T(G(C1), {
5024
5029
  modelValue: a.value,
5025
5030
  "onUpdate:modelValue": h[0] || (h[0] = (B) => a.value = B),
5026
5031
  options: i.value
5027
5032
  }, null, 8, ["modelValue", "options"]),
5028
- E(G(C1), {
5033
+ T(G(C1), {
5029
5034
  modelValue: l.value,
5030
5035
  "onUpdate:modelValue": h[1] || (h[1] = (B) => l.value = B),
5031
5036
  options: o.value
5032
5037
  }, null, 8, ["modelValue", "options"]),
5033
- E(G(C1), {
5038
+ T(G(C1), {
5034
5039
  modelValue: I.value,
5035
5040
  "onUpdate:modelValue": h[2] || (h[2] = (B) => I.value = B),
5036
- options: T.value
5041
+ options: H.value
5037
5042
  }, null, 8, ["modelValue", "options"]),
5038
- E(G(C1), {
5043
+ T(G(C1), {
5039
5044
  modelValue: u.value,
5040
5045
  "onUpdate:modelValue": h[3] || (h[3] = (B) => u.value = B),
5041
5046
  options: v.value
@@ -5052,12 +5057,12 @@ const J0 = /* @__PURE__ */ e1({
5052
5057
  { number: !0 }
5053
5058
  ]
5054
5059
  ]),
5055
- E(G(C1), {
5060
+ T(G(C1), {
5056
5061
  modelValue: R.value,
5057
5062
  "onUpdate:modelValue": h[5] || (h[5] = (B) => R.value = B),
5058
5063
  options: P.value
5059
5064
  }, null, 8, ["modelValue", "options"]),
5060
- E(g1, {
5065
+ T(g1, {
5061
5066
  class: "ao-rule-line__remove",
5062
5067
  "icon-name": "CloseRounded",
5063
5068
  variant: "ghost",
@@ -5086,7 +5091,7 @@ const Q0 = { class: "ao-template-rules__body" }, eo = { class: "ao-template-rule
5086
5091
  };
5087
5092
  return (a, i) => (d(), Y(Qe, null, {
5088
5093
  header: F(() => [
5089
- E(M1, {
5094
+ T(M1, {
5090
5095
  title: a.$t("template.rules.title"),
5091
5096
  level: 2
5092
5097
  }, null, 8, ["title"])
@@ -5104,7 +5109,7 @@ const Q0 = { class: "ao-template-rules__body" }, eo = { class: "ao-template-rule
5104
5109
  onClose: () => n(l.id)
5105
5110
  }, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
5106
5111
  ]),
5107
- E(de, {
5112
+ T(de, {
5108
5113
  label: a.$t("template.rules.add"),
5109
5114
  "icon-name": "Add",
5110
5115
  onClick: t
@@ -5130,7 +5135,7 @@ const so = {
5130
5135
  },
5131
5136
  emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
5132
5137
  setup(s, { emit: e }) {
5133
- const t = s, { t: n } = He(), a = m(
5138
+ const t = s, { t: n } = Ee(), a = m(
5134
5139
  () => {
5135
5140
  var b;
5136
5141
  return (b = t.templates) == null ? void 0 : b.find((g) => g.id === t.templateId);
@@ -5182,7 +5187,7 @@ const so = {
5182
5187
  }), y = m(() => {
5183
5188
  var b;
5184
5189
  return ((b = a.value) == null ? void 0 : b.name) || t.templateId;
5185
- }), I = J(!1), T = () => {
5190
+ }), I = J(!1), H = () => {
5186
5191
  if (!a.value)
5187
5192
  return;
5188
5193
  const b = a.value.phases.length, g = a.value.phases.at(-1), S = g ? u1.LexoRank.parse(g.rank).genNext() : u1.LexoRank.middle(), Z = {
@@ -5289,7 +5294,7 @@ const so = {
5289
5294
  e("addRule", { templateId: t.templateId });
5290
5295
  }, o1 = (b) => {
5291
5296
  e("removeRule", { id: b, templateId: t.templateId });
5292
- }, H = (b) => {
5297
+ }, E = (b) => {
5293
5298
  var g;
5294
5299
  if (b.moved) {
5295
5300
  const S = Ae(b, ((g = a.value) == null ? void 0 : g.phases) ?? []);
@@ -5338,7 +5343,7 @@ const so = {
5338
5343
  milestoneId: (i1 = l.value) == null ? void 0 : i1.id,
5339
5344
  subtasks: g
5340
5345
  });
5341
- }, H1 = (b) => {
5346
+ }, E1 = (b) => {
5342
5347
  e("addFiles", b);
5343
5348
  }, n1 = (b) => {
5344
5349
  e("removeFile", b);
@@ -5346,12 +5351,12 @@ const so = {
5346
5351
  return (b, g) => {
5347
5352
  var S, Z, Q, i1, W, U;
5348
5353
  return a.value ? (d(), C("div", so, [
5349
- E(Je, {
5354
+ T(Je, {
5350
5355
  "can-go-back": !0,
5351
5356
  onGoBack: g[2] || (g[2] = (f) => b.$router.push({ name: G(K1).TEMPLATES_LIST }))
5352
5357
  }, {
5353
5358
  primary: F(() => [
5354
- E(M1, {
5359
+ T(M1, {
5355
5360
  title: y.value,
5356
5361
  level: 2,
5357
5362
  "is-editing": I.value,
@@ -5364,7 +5369,7 @@ const so = {
5364
5369
  }, null, 8, ["title", "is-editing"])
5365
5370
  ]),
5366
5371
  secondary: F(() => [
5367
- E(g1, {
5372
+ T(g1, {
5368
5373
  label: b.$t("template.rules.edit"),
5369
5374
  color: "primary",
5370
5375
  "icon-name": "Settings",
@@ -5377,15 +5382,15 @@ const so = {
5377
5382
  r("div", ao, [
5378
5383
  r("ol", lo, [
5379
5384
  r("li", no, [
5380
- E(G(ne), {
5385
+ T(G(ne), {
5381
5386
  "model-value": a.value.phases,
5382
5387
  class: "ao-templates__list",
5383
5388
  "item-key": "id",
5384
5389
  handle: ".ao-card__drag",
5385
- onChange: H
5390
+ onChange: E
5386
5391
  }, {
5387
5392
  header: F(() => [
5388
- E(M1, {
5393
+ T(M1, {
5389
5394
  title: b.$t("template.phases.title"),
5390
5395
  level: 3,
5391
5396
  class: "ao-list__title"
@@ -5394,7 +5399,7 @@ const so = {
5394
5399
  item: F(({ element: f }) => {
5395
5400
  var O;
5396
5401
  return [
5397
- E(l7, {
5402
+ T(l7, {
5398
5403
  id: f.id,
5399
5404
  name: f.name,
5400
5405
  milestones: f.milestones,
@@ -5412,10 +5417,10 @@ const so = {
5412
5417
  }),
5413
5418
  footer: F(() => [
5414
5419
  r("div", io, [
5415
- E(de, {
5420
+ T(de, {
5416
5421
  "icon-name": "AddBoxOutlineRounded",
5417
5422
  label: b.$t("template.phases.add"),
5418
- onClick: T
5423
+ onClick: H
5419
5424
  }, null, 8, ["label"])
5420
5425
  ])
5421
5426
  ]),
@@ -5470,7 +5475,7 @@ const so = {
5470
5475
  onAddSubtask: z,
5471
5476
  onUpdateSubtask: c1,
5472
5477
  onDeleteSubtask: m1,
5473
- onAddFiles: H1,
5478
+ onAddFiles: E1,
5474
5479
  onRemoveFile: n1
5475
5480
  }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : V("", !0)
5476
5481
  ])),
@@ -5521,9 +5526,9 @@ const K1 = {
5521
5526
  props: {
5522
5527
  templates: {}
5523
5528
  },
5524
- emits: ["addTemplate", "updateTemplates"],
5529
+ emits: ["addTemplate", "updateTemplates", "updateItem"],
5525
5530
  setup(s, { emit: e }) {
5526
- const t = s, { t: n } = He(), a = () => {
5531
+ const t = s, { t: n } = Ee(), a = () => {
5527
5532
  var y, I;
5528
5533
  const o = (y = t.templates) == null ? void 0 : y.at(-1), p = o ? u1.LexoRank.parse(o.rank).genNext() : u1.LexoRank.middle(), u = ((I = t.templates) == null ? void 0 : I.length) ?? 0, v = {
5529
5534
  name: n("template.defaultName.template", { idx: u + 1 }),
@@ -5553,9 +5558,9 @@ const K1 = {
5553
5558
  }
5554
5559
  };
5555
5560
  return (o, p) => (d(), C("div", co, [
5556
- E(Je, null, {
5561
+ T(Je, null, {
5557
5562
  secondary: F(() => [
5558
- E(g1, {
5563
+ T(g1, {
5559
5564
  label: o.$t("templates.new"),
5560
5565
  color: "primary",
5561
5566
  "icon-name": "Add",
@@ -5565,7 +5570,7 @@ const K1 = {
5565
5570
  ]),
5566
5571
  _: 1
5567
5572
  }),
5568
- E(G(ne), {
5573
+ T(G(ne), {
5569
5574
  "model-value": o.templates,
5570
5575
  class: "ao-templates__list",
5571
5576
  "item-key": "id",
@@ -5575,19 +5580,19 @@ const K1 = {
5575
5580
  item: F(({ element: u }) => {
5576
5581
  var v;
5577
5582
  return [
5578
- E(F5, {
5583
+ T(F5, {
5579
5584
  title: u.name || u.id,
5580
5585
  phases: u.phases,
5581
5586
  milestones: (v = u.phases) != null && v.length ? G(M5)(u.phases) : 0,
5582
5587
  activities: u.phases ? G(I5)(u.phases) : 0,
5583
5588
  "updated-at": u.updatedAt,
5584
5589
  "updated-by": u.updatedBy,
5585
- "onUpdate:title": (y) => i(u.id, y),
5590
+ onUpdateTitle: (y) => i(u.id, y),
5586
5591
  onClick: (y) => o.$router.push({
5587
5592
  name: G(K1).TEMPLATE_DETAILS,
5588
5593
  params: { templateId: u.id }
5589
5594
  })
5590
- }, null, 8, ["title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdate:title", "onClick"])
5595
+ }, null, 8, ["title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
5591
5596
  ];
5592
5597
  }),
5593
5598
  _: 1