@26lights/orcha 0.7.39 → 0.8.0

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,13 +1,13 @@
1
- import { defineComponent as Y, openBlock as c, createBlock as U, unref as H, mergeProps as Pe, createElementBlock as f, createElementVNode as r, pushScopeId as ha, popScopeId as pa, createStaticVNode as Ca, computed as _, resolveDynamicComponent as Je, normalizeClass as W, renderSlot as K, toDisplayString as R, createCommentVNode as k, ref as ee, watch as fe, nextTick as Ze, withKeys as mt, toHandlers as _a, withCtx as q, createTextVNode as t1, createVNode as M, withModifiers as ke, Fragment as oe, renderList as he, toRefs as ye, getCurrentInstance as Ue, onMounted as Ot, onUnmounted as ga, withDirectives as xe, vModelText as ft, vModelCheckbox as ya, toRef as ct, Teleport as kt, normalizeStyle as ba, toValue as C1, onBeforeMount as wa, resolveComponent as $a, getCurrentScope as Ma, onScopeDispose as ka, provide as Sa } from "vue";
2
- import { RouterView as Ta } from "vue-router";
1
+ import { defineComponent as Y, openBlock as c, createBlock as R, unref as H, mergeProps as Pe, createElementBlock as f, createElementVNode as r, pushScopeId as ha, popScopeId as pa, createStaticVNode as Ca, computed as _, resolveDynamicComponent as Je, normalizeClass as W, renderSlot as K, toDisplayString as j, createCommentVNode as T, ref as ee, watch as fe, nextTick as Ze, withKeys as mt, toHandlers as _a, withCtx as F, createTextVNode as t1, createVNode as M, withModifiers as ke, Fragment as oe, renderList as he, toRefs as ye, getCurrentInstance as Ue, onMounted as Ot, onUnmounted as ga, withDirectives as xe, vModelText as ft, vModelCheckbox as ya, toRef as ct, Teleport as kt, normalizeStyle as ba, toValue as C1, onBeforeMount as wa, resolveComponent as $a, getCurrentScope as Ma, onScopeDispose as ka, provide as Ta } from "vue";
2
+ import { RouterView as Sa } from "vue-router";
3
3
  import ht from "vuedraggable";
4
- const Yd = /* @__PURE__ */ Y({
4
+ const xd = /* @__PURE__ */ Y({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
8
8
  },
9
9
  setup(a) {
10
- return (e, t) => (c(), U(H(Ta), Pe({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, t) => (c(), R(H(Sa), Pe({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), O = (a, e) => {
13
13
  const t = a.__vccOpts || a;
@@ -53,13 +53,13 @@ const Za = /* @__PURE__ */ O(Ha, [["render", Ba]]), Ua = {}, ja = {
53
53
  }, Ra = /* @__PURE__ */ r("path", {
54
54
  d: "M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17ZM17 9H20V5H17V9ZM17 19H20V15H17V19ZM4 9H7V5H4V9Z",
55
55
  fill: "black"
56
- }, null, -1), qa = [
56
+ }, null, -1), Fa = [
57
57
  Ra
58
58
  ];
59
- function Fa(a, e) {
60
- return c(), f("svg", ja, qa);
59
+ function qa(a, e) {
60
+ return c(), f("svg", ja, Fa);
61
61
  }
62
- const za = /* @__PURE__ */ O(Ua, [["render", Fa]]), Wa = {}, Ya = {
62
+ const za = /* @__PURE__ */ O(Ua, [["render", qa]]), Wa = {}, Ya = {
63
63
  width: "24",
64
64
  height: "24",
65
65
  viewBox: "0 0 24 24",
@@ -143,13 +143,13 @@ const wn = /* @__PURE__ */ O(Cn, [["render", bn]]), $n = {}, Mn = {
143
143
  }, kn = /* @__PURE__ */ r("path", {
144
144
  d: "M11.3 14.3L8.70001 11.7C8.38335 11.3833 8.31268 11.021 8.48801 10.613C8.66268 10.2043 8.97501 10 9.42501 10H14.575C15.025 10 15.3373 10.2043 15.512 10.613C15.6873 11.021 15.6167 11.3833 15.3 11.7L12.7 14.3C12.6 14.4 12.4917 14.475 12.375 14.525C12.2583 14.575 12.1333 14.6 12 14.6C11.8667 14.6 11.7417 14.575 11.625 14.525C11.5083 14.475 11.4 14.4 11.3 14.3V14.3Z",
145
145
  fill: "black"
146
- }, null, -1), Sn = [
146
+ }, null, -1), Tn = [
147
147
  kn
148
148
  ];
149
- function Tn(a, e) {
150
- return c(), f("svg", Mn, Sn);
149
+ function Sn(a, e) {
150
+ return c(), f("svg", Mn, Tn);
151
151
  }
152
- const An = /* @__PURE__ */ O($n, [["render", Tn]]), In = {}, On = {
152
+ const An = /* @__PURE__ */ O($n, [["render", Sn]]), In = {}, On = {
153
153
  width: "24",
154
154
  height: "24",
155
155
  viewBox: "0 0 24 24",
@@ -185,14 +185,14 @@ const Un = /* @__PURE__ */ O(Dn, [["render", Zn]]), jn = {}, Rn = {
185
185
  viewBox: "0 0 24 24",
186
186
  fill: "none",
187
187
  xmlns: "http://www.w3.org/2000/svg"
188
- }, qn = /* @__PURE__ */ r("path", {
188
+ }, Fn = /* @__PURE__ */ r("path", {
189
189
  d: "M11.5 22C9.96667 22 8.66667 21.4667 7.6 20.4C6.53333 19.3333 6 18.0333 6 16.5V6C6 4.9 6.39167 3.95833 7.175 3.175C7.95833 2.39167 8.9 2 10 2C11.1 2 12.0417 2.39167 12.825 3.175C13.6083 3.95833 14 4.9 14 6V15.5C14 16.2 13.7583 16.7917 13.275 17.275C12.7917 17.7583 12.2 18 11.5 18C10.8 18 10.2083 17.7583 9.725 17.275C9.24167 16.7917 9 16.2 9 15.5V6.75C9 6.53333 9.071 6.35433 9.213 6.213C9.355 6.07167 9.534 6.00067 9.75 6C9.96667 6 10.1457 6.071 10.287 6.213C10.4283 6.355 10.4993 6.534 10.5 6.75V15.5C10.5 15.7833 10.596 16.021 10.788 16.213C10.98 16.405 11.2173 16.5007 11.5 16.5C11.7833 16.5 12.021 16.404 12.213 16.212C12.405 16.02 12.5007 15.7827 12.5 15.5V6C12.5 5.3 12.2583 4.70833 11.775 4.225C11.2917 3.74167 10.7 3.5 10 3.5C9.3 3.5 8.70833 3.74167 8.225 4.225C7.74167 4.70833 7.5 5.3 7.5 6V16.5C7.5 17.6 7.89167 18.5417 8.675 19.325C9.45833 20.1083 10.4 20.5 11.5 20.5C12.6 20.5 13.5417 20.1083 14.325 19.325C15.1083 18.5417 15.5 17.6 15.5 16.5V6.75C15.5 6.53333 15.571 6.35433 15.713 6.213C15.855 6.07167 16.034 6.00067 16.25 6C16.4667 6 16.6457 6.071 16.787 6.213C16.9283 6.355 16.9993 6.534 17 6.75V16.5C17 18.0333 16.4667 19.3333 15.4 20.4C14.3333 21.4667 13.0333 22 11.5 22Z",
190
190
  fill: "black"
191
- }, null, -1), Fn = [
192
- qn
191
+ }, null, -1), qn = [
192
+ Fn
193
193
  ];
194
194
  function zn(a, e) {
195
- return c(), f("svg", Rn, Fn);
195
+ return c(), f("svg", Rn, qn);
196
196
  }
197
197
  const Wn = /* @__PURE__ */ O(jn, [["render", zn]]), Yn = {}, Gn = {
198
198
  width: "24",
@@ -278,13 +278,13 @@ const ws = /* @__PURE__ */ O(Cs, [["render", bs]]), $s = {}, Ms = {
278
278
  }, ks = /* @__PURE__ */ r("path", {
279
279
  d: "M10 13.6L15.9 7.70005C16.0834 7.51672 16.3167 7.42505 16.6 7.42505C16.8834 7.42505 17.1167 7.51672 17.3 7.70005C17.4834 7.88338 17.575 8.11671 17.575 8.40005C17.575 8.68338 17.4834 8.91672 17.3 9.10005L10.7 15.7C10.5 15.9 10.2667 16 10 16C9.73338 16 9.50005 15.9 9.30005 15.7L6.70005 13.1C6.51672 12.9167 6.42505 12.6834 6.42505 12.4C6.42505 12.1167 6.51672 11.8834 6.70005 11.7C6.88338 11.5167 7.11672 11.425 7.40005 11.425C7.68338 11.425 7.91672 11.5167 8.10005 11.7L10 13.6Z",
280
280
  fill: "black"
281
- }, null, -1), Ss = [
281
+ }, null, -1), Ts = [
282
282
  ks
283
283
  ];
284
- function Ts(a, e) {
285
- return c(), f("svg", Ms, Ss);
284
+ function Ss(a, e) {
285
+ return c(), f("svg", Ms, Ts);
286
286
  }
287
- const As = /* @__PURE__ */ O($s, [["render", Ts]]), Is = {}, Os = {
287
+ const As = /* @__PURE__ */ O($s, [["render", Ss]]), Is = {}, Os = {
288
288
  width: "24",
289
289
  height: "24",
290
290
  viewBox: "0 0 24 24",
@@ -320,14 +320,14 @@ const Us = /* @__PURE__ */ O(Ds, [["render", Zs]]), js = {}, Rs = {
320
320
  viewBox: "0 0 24 24",
321
321
  fill: "none",
322
322
  xmlns: "http://www.w3.org/2000/svg"
323
- }, qs = /* @__PURE__ */ r("path", {
323
+ }, Fs = /* @__PURE__ */ r("path", {
324
324
  d: "M9.4 18L8 16.6L12.6 12L8 7.4L9.4 6L15.4 12L9.4 18Z",
325
325
  fill: "black"
326
- }, null, -1), Fs = [
327
- qs
326
+ }, null, -1), qs = [
327
+ Fs
328
328
  ];
329
329
  function zs(a, e) {
330
- return c(), f("svg", Rs, Fs);
330
+ return c(), f("svg", Rs, qs);
331
331
  }
332
332
  const Ws = /* @__PURE__ */ O(js, [["render", zs]]), Ys = {}, Gs = {
333
333
  width: "24",
@@ -413,13 +413,13 @@ const wi = /* @__PURE__ */ O(Ci, [["render", bi]]), $i = {}, Mi = {
413
413
  }, ki = /* @__PURE__ */ r("path", {
414
414
  d: "M6 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.825V11.1L12 19.075V22H6ZM14.5 22C14.3667 22 14.25 21.95 14.15 21.85C14.05 21.75 14 21.6333 14 21.5V20.3C14 20.1667 14.0293 20.0333 14.088 19.9C14.1467 19.7667 14.2173 19.6583 14.3 19.575L19.15 14.7L21.3 16.8L16.425 21.7C16.3417 21.8 16.2333 21.875 16.1 21.925C15.9667 21.975 15.8333 22 15.7 22H14.5ZM22.025 16.1L19.9 13.975L20.6 13.275C20.8 13.075 21.0417 12.975 21.325 12.975C21.6083 12.975 21.8417 13.075 22.025 13.275L22.725 14C22.9083 14.2 23 14.4377 23 14.713C23 14.9883 22.9083 15.2173 22.725 15.4L22.025 16.1ZM14 9H18L13 4V8C13 8.28334 13.096 8.521 13.288 8.713C13.48 8.905 13.7173 9.00067 14 9Z",
415
415
  fill: "black"
416
- }, null, -1), Si = [
416
+ }, null, -1), Ti = [
417
417
  ki
418
418
  ];
419
- function Ti(a, e) {
420
- return c(), f("svg", Mi, Si);
419
+ function Si(a, e) {
420
+ return c(), f("svg", Mi, Ti);
421
421
  }
422
- const Ai = /* @__PURE__ */ O($i, [["render", Ti]]), Ii = {}, Oi = {
422
+ const Ai = /* @__PURE__ */ O($i, [["render", Si]]), Ii = {}, Oi = {
423
423
  width: "24",
424
424
  height: "24",
425
425
  viewBox: "0 0 24 24",
@@ -455,14 +455,14 @@ const Ui = /* @__PURE__ */ O(Di, [["render", Zi]]), ji = {}, Ri = {
455
455
  viewBox: "0 0 24 24",
456
456
  fill: "none",
457
457
  xmlns: "http://www.w3.org/2000/svg"
458
- }, qi = /* @__PURE__ */ r("path", {
458
+ }, Fi = /* @__PURE__ */ r("path", {
459
459
  d: "M11 18C10.7167 18 10.479 17.904 10.287 17.712C10.095 17.52 9.99934 17.2827 10 17C10 16.7167 10.096 16.479 10.288 16.287C10.48 16.095 10.7173 15.9993 11 16H13C13.2833 16 13.521 16.096 13.713 16.288C13.905 16.48 14.0007 16.7173 14 17C14 17.2833 13.904 17.521 13.712 17.713C13.52 17.905 13.2827 18.0007 13 18H11ZM4 8C3.71667 8 3.479 7.904 3.287 7.712C3.095 7.52 2.99934 7.28267 3 7C3 6.71667 3.096 6.479 3.288 6.287C3.48 6.095 3.71734 5.99934 4 6H20C20.2833 6 20.521 6.096 20.713 6.288C20.905 6.48 21.0007 6.71734 21 7C21 7.28334 20.904 7.521 20.712 7.713C20.52 7.905 20.2827 8.00067 20 8H4ZM7 13C6.71667 13 6.479 12.904 6.287 12.712C6.095 12.52 5.99934 12.2827 6 12C6 11.7167 6.096 11.479 6.288 11.287C6.48 11.095 6.71734 10.9993 7 11H17C17.2833 11 17.521 11.096 17.713 11.288C17.905 11.48 18.0007 11.7173 18 12C18 12.2833 17.904 12.521 17.712 12.713C17.52 12.905 17.2827 13.0007 17 13H7Z",
460
460
  fill: "black"
461
- }, null, -1), Fi = [
462
- qi
461
+ }, null, -1), qi = [
462
+ Fi
463
463
  ];
464
464
  function zi(a, e) {
465
- return c(), f("svg", Ri, Fi);
465
+ return c(), f("svg", Ri, qi);
466
466
  }
467
467
  const Wi = /* @__PURE__ */ O(ji, [["render", zi]]), Yi = {}, Gi = {
468
468
  width: "24",
@@ -548,13 +548,13 @@ const wl = /* @__PURE__ */ O(Cl, [["render", bl]]), $l = {}, Ml = {
548
548
  }, kl = /* @__PURE__ */ r("path", {
549
549
  d: "M5 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 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM7 17H17C17.2 17 17.35 16.9083 17.45 16.725C17.55 16.5417 17.5333 16.3667 17.4 16.2L14.65 12.525C14.55 12.3917 14.4167 12.325 14.25 12.325C14.0833 12.325 13.95 12.3917 13.85 12.525L11.25 16L9.4 13.525C9.3 13.3917 9.16667 13.325 9 13.325C8.83334 13.325 8.7 13.3917 8.6 13.525L6.6 16.2C6.46667 16.3667 6.45 16.5417 6.55 16.725C6.65 16.9083 6.8 17 7 17Z",
550
550
  fill: "black"
551
- }, null, -1), Sl = [
551
+ }, null, -1), Tl = [
552
552
  kl
553
553
  ];
554
- function Tl(a, e) {
555
- return c(), f("svg", Ml, Sl);
554
+ function Sl(a, e) {
555
+ return c(), f("svg", Ml, Tl);
556
556
  }
557
- const Al = /* @__PURE__ */ O($l, [["render", Tl]]), Il = {}, Ol = {
557
+ const Al = /* @__PURE__ */ O($l, [["render", Sl]]), Il = {}, Ol = {
558
558
  width: "24",
559
559
  height: "24",
560
560
  viewBox: "0 0 24 24",
@@ -590,14 +590,14 @@ const Ul = /* @__PURE__ */ O(Dl, [["render", Zl]]), jl = {}, Rl = {
590
590
  viewBox: "0 0 24 24",
591
591
  fill: "none",
592
592
  xmlns: "http://www.w3.org/2000/svg"
593
- }, ql = /* @__PURE__ */ r("path", {
593
+ }, Fl = /* @__PURE__ */ r("path", {
594
594
  d: "M7.4 15.4L6 14L12 8L18 14L16.6 15.4L12 10.8L7.4 15.4Z",
595
595
  fill: "black"
596
- }, null, -1), Fl = [
597
- ql
596
+ }, null, -1), ql = [
597
+ Fl
598
598
  ];
599
599
  function zl(a, e) {
600
- return c(), f("svg", Rl, Fl);
600
+ return c(), f("svg", Rl, ql);
601
601
  }
602
602
  const Wl = /* @__PURE__ */ O(jl, [["render", zl]]), Yl = Y({
603
603
  name: "LoadingIcon"
@@ -691,7 +691,7 @@ const go = /* @__PURE__ */ O(fo, [["render", _o]]), yo = {}, bo = {
691
691
  function Mo(a, e) {
692
692
  return c(), f("svg", bo, $o);
693
693
  }
694
- const ko = /* @__PURE__ */ O(yo, [["render", Mo]]), So = {}, To = {
694
+ const ko = /* @__PURE__ */ O(yo, [["render", Mo]]), To = {}, So = {
695
695
  width: "24",
696
696
  height: "24",
697
697
  viewBox: "0 0 24 24",
@@ -704,9 +704,9 @@ const ko = /* @__PURE__ */ O(yo, [["render", Mo]]), So = {}, To = {
704
704
  Ao
705
705
  ];
706
706
  function Oo(a, e) {
707
- return c(), f("svg", To, Io);
707
+ return c(), f("svg", So, Io);
708
708
  }
709
- const Lo = /* @__PURE__ */ O(So, [["render", Oo]]), Eo = {}, Vo = {
709
+ const Lo = /* @__PURE__ */ O(To, [["render", Oo]]), Eo = {}, Vo = {
710
710
  width: "24",
711
711
  height: "24",
712
712
  viewBox: "0 0 24 24",
@@ -736,7 +736,7 @@ const No = /* @__PURE__ */ O(Eo, [["render", Po]]), Bo = {}, Zo = {
736
736
  function Ro(a, e) {
737
737
  return c(), f("svg", Zo, jo);
738
738
  }
739
- const qo = /* @__PURE__ */ O(Bo, [["render", Ro]]), Fo = {}, zo = {
739
+ const Fo = /* @__PURE__ */ O(Bo, [["render", Ro]]), qo = {}, zo = {
740
740
  width: "24",
741
741
  height: "24",
742
742
  viewBox: "0 0 24 24",
@@ -751,7 +751,7 @@ const qo = /* @__PURE__ */ O(Bo, [["render", Ro]]), Fo = {}, zo = {
751
751
  function Go(a, e) {
752
752
  return c(), f("svg", zo, Yo);
753
753
  }
754
- const Ko = /* @__PURE__ */ O(Fo, [["render", Go]]), xo = {}, Xo = {
754
+ const Ko = /* @__PURE__ */ O(qo, [["render", Go]]), xo = {}, Xo = {
755
755
  width: "24",
756
756
  height: "24",
757
757
  viewBox: "0 0 24 24",
@@ -823,7 +823,7 @@ const gr = /* @__PURE__ */ O(fr, [["render", _r]]), yr = {}, br = {
823
823
  function Mr(a, e) {
824
824
  return c(), f("svg", br, $r);
825
825
  }
826
- const kr = /* @__PURE__ */ O(yr, [["render", Mr]]), Sr = {}, Tr = {
826
+ const kr = /* @__PURE__ */ O(yr, [["render", Mr]]), Tr = {}, Sr = {
827
827
  width: "24",
828
828
  height: "24",
829
829
  viewBox: "0 0 24 24",
@@ -836,9 +836,9 @@ const kr = /* @__PURE__ */ O(yr, [["render", Mr]]), Sr = {}, Tr = {
836
836
  Ar
837
837
  ];
838
838
  function Or(a, e) {
839
- return c(), f("svg", Tr, Ir);
839
+ return c(), f("svg", Sr, Ir);
840
840
  }
841
- const Lr = /* @__PURE__ */ O(Sr, [["render", Or]]), Er = {}, Vr = {
841
+ const Lr = /* @__PURE__ */ O(Tr, [["render", Or]]), Er = {}, Vr = {
842
842
  width: "24",
843
843
  height: "24",
844
844
  viewBox: "0 0 24 24",
@@ -868,7 +868,7 @@ const Nr = /* @__PURE__ */ O(Er, [["render", Pr]]), Br = {}, Zr = {
868
868
  function Rr(a, e) {
869
869
  return c(), f("svg", Zr, jr);
870
870
  }
871
- const qr = /* @__PURE__ */ O(Br, [["render", Rr]]), Fr = {}, zr = {
871
+ const Fr = /* @__PURE__ */ O(Br, [["render", Rr]]), qr = {}, zr = {
872
872
  width: "24",
873
873
  height: "24",
874
874
  viewBox: "0 0 24 24",
@@ -883,7 +883,7 @@ const qr = /* @__PURE__ */ O(Br, [["render", Rr]]), Fr = {}, zr = {
883
883
  function Gr(a, e) {
884
884
  return c(), f("svg", zr, Yr);
885
885
  }
886
- const Kr = /* @__PURE__ */ O(Fr, [["render", Gr]]), xr = {}, Xr = {
886
+ const Kr = /* @__PURE__ */ O(qr, [["render", Gr]]), xr = {}, Xr = {
887
887
  width: "24",
888
888
  height: "24",
889
889
  viewBox: "0 0 24 24",
@@ -958,7 +958,7 @@ const g2 = /* @__PURE__ */ O(f2, [["render", _2]]), y2 = {}, b2 = {
958
958
  function M2(a, e) {
959
959
  return c(), f("svg", b2, $2);
960
960
  }
961
- const k2 = /* @__PURE__ */ O(y2, [["render", M2]]), S2 = {}, T2 = {
961
+ const k2 = /* @__PURE__ */ O(y2, [["render", M2]]), T2 = {}, S2 = {
962
962
  width: "24",
963
963
  height: "24",
964
964
  viewBox: "0 0 24 24",
@@ -971,9 +971,9 @@ const k2 = /* @__PURE__ */ O(y2, [["render", M2]]), S2 = {}, T2 = {
971
971
  A2
972
972
  ];
973
973
  function O2(a, e) {
974
- return c(), f("svg", T2, I2);
974
+ return c(), f("svg", S2, I2);
975
975
  }
976
- const L2 = /* @__PURE__ */ O(S2, [["render", O2]]), E2 = {}, V2 = {
976
+ const L2 = /* @__PURE__ */ O(T2, [["render", O2]]), E2 = {}, V2 = {
977
977
  width: "24",
978
978
  height: "24",
979
979
  viewBox: "0 0 24 24",
@@ -1003,7 +1003,7 @@ const N2 = /* @__PURE__ */ O(E2, [["render", P2]]), B2 = {}, Z2 = {
1003
1003
  function R2(a, e) {
1004
1004
  return c(), f("svg", Z2, j2);
1005
1005
  }
1006
- const q2 = /* @__PURE__ */ O(B2, [["render", R2]]), F2 = {}, z2 = {
1006
+ const F2 = /* @__PURE__ */ O(B2, [["render", R2]]), q2 = {}, z2 = {
1007
1007
  width: "24",
1008
1008
  height: "24",
1009
1009
  viewBox: "0 0 24 24",
@@ -1018,7 +1018,7 @@ const q2 = /* @__PURE__ */ O(B2, [["render", R2]]), F2 = {}, z2 = {
1018
1018
  function G2(a, e) {
1019
1019
  return c(), f("svg", z2, Y2);
1020
1020
  }
1021
- const K2 = /* @__PURE__ */ O(F2, [["render", G2]]), x2 = {}, X2 = {
1021
+ const K2 = /* @__PURE__ */ O(q2, [["render", G2]]), x2 = {}, X2 = {
1022
1022
  width: "24",
1023
1023
  height: "24",
1024
1024
  viewBox: "0 0 24 24",
@@ -1081,7 +1081,7 @@ const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.
1081
1081
  MoreTimeRounded: ko,
1082
1082
  MoreVert: Lo,
1083
1083
  MountainFlagOutlineRounded: No,
1084
- PersonAddOutlineRounded: qo,
1084
+ PersonAddOutlineRounded: Fo,
1085
1085
  PictureAsPdfRounded: Ko,
1086
1086
  RadioButtonChecked: tr,
1087
1087
  RadioButtonCheckedOutline: or,
@@ -1090,7 +1090,7 @@ const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.
1090
1090
  SearchRounded: kr,
1091
1091
  SelectCheckBox: Lr,
1092
1092
  SendRounded: Nr,
1093
- Settings: qr,
1093
+ Settings: Fr,
1094
1094
  SlideshowRounded: Kr,
1095
1095
  Target: t2,
1096
1096
  TaskOutlineRounded: o2,
@@ -1099,7 +1099,7 @@ const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.
1099
1099
  ViewComfyAltRounded: k2,
1100
1100
  ViewCompactAltRounded: L2,
1101
1101
  ViewTimelineRounded: N2,
1102
- WarningOutlineRounded: q2,
1102
+ WarningOutlineRounded: F2,
1103
1103
  WarningRounded: K2,
1104
1104
  WaterfallChartRounded: tu
1105
1105
  }, Symbol.toStringTag, { value: "Module" })), nu = {
@@ -1126,7 +1126,7 @@ const tu = /* @__PURE__ */ O(x2, [["render", eu]]), au = /* @__PURE__ */ Object.
1126
1126
  },
1127
1127
  setup(a) {
1128
1128
  const e = a, t = _(() => au[e.name]);
1129
- return (s, n) => (c(), U(Je(t.value), {
1129
+ return (s, n) => (c(), R(Je(t.value), {
1130
1130
  class: W(["ao-icon", `ao-icon--${s.size}`])
1131
1131
  }, null, 8, ["class"]));
1132
1132
  }
@@ -1164,14 +1164,14 @@ const iu = ["type"], lu = {
1164
1164
  ])
1165
1165
  }, [
1166
1166
  K(n.$slots, "default", {}, () => [
1167
- n.label ? (c(), f("span", lu, R(n.label), 1)) : k("", !0)
1167
+ n.label ? (c(), f("span", lu, j(n.label), 1)) : T("", !0)
1168
1168
  ]),
1169
- s.value ? (c(), U(ie, {
1169
+ s.value ? (c(), R(ie, {
1170
1170
  key: 0,
1171
1171
  name: s.value,
1172
1172
  class: "ao-button__icon",
1173
1173
  size: t.value
1174
- }, null, 8, ["name", "size"])) : k("", !0)
1174
+ }, null, 8, ["name", "size"])) : T("", !0)
1175
1175
  ], 10, iu));
1176
1176
  }
1177
1177
  });
@@ -1216,48 +1216,48 @@ const ve = /* @__PURE__ */ Y({
1216
1216
  setup(a, { emit: e }) {
1217
1217
  const t = a, s = ee(null), { isEditing: n, setIsEditing: l, onUpdate: i, onDiscard: o } = I1(s), v = _(() => n.value ? "input" : t.tag || `h${t.level}`), d = _(() => t.isEditable ? n.value ? {
1218
1218
  change: u,
1219
- click: (I) => I.stopPropagation(),
1219
+ click: (A) => A.stopPropagation(),
1220
1220
  blur: h
1221
1221
  } : {
1222
- click: w,
1223
- focus: w
1224
- } : {}), u = i((I, E) => {
1225
- const $ = E.target.value;
1226
- e("update:title", $);
1222
+ click: $,
1223
+ focus: $
1224
+ } : {}), u = i((A, E) => {
1225
+ const w = E.target.value;
1226
+ e("update:title", w);
1227
1227
  }), p = o(), h = async () => {
1228
1228
  n.value && l(!1);
1229
1229
  }, y = () => {
1230
1230
  e("toggle-is-editing", !1);
1231
- }, w = (I) => {
1232
- I.stopPropagation(), n.value || l(!0);
1231
+ }, $ = (A) => {
1232
+ A.stopPropagation(), n.value || l(!0);
1233
1233
  };
1234
1234
  return fe(
1235
1235
  () => t.isEditable,
1236
- (I) => {
1237
- I || p();
1236
+ (A) => {
1237
+ A || p();
1238
1238
  }
1239
- ), (I, E) => (c(), U(Je(v.value), Pe({
1239
+ ), (A, E) => (c(), R(Je(v.value), Pe({
1240
1240
  ref_key: "target",
1241
1241
  ref: s,
1242
1242
  class: [
1243
1243
  "ao-title",
1244
- `ao-title--${I.level}`,
1244
+ `ao-title--${A.level}`,
1245
1245
  {
1246
- [`ao-title--${I.color}`]: !!I.color,
1247
- "ao-title--editable": I.isEditable,
1246
+ [`ao-title--${A.color}`]: !!A.color,
1247
+ "ao-title--editable": A.isEditable,
1248
1248
  "ao-field__input ao-title--editing": H(n),
1249
1249
  "ao-title--readonly": !H(n)
1250
1250
  }
1251
1251
  ],
1252
1252
  type: H(n) ? "text" : null,
1253
- value: H(n) ? I.title : null,
1253
+ value: H(n) ? A.title : null,
1254
1254
  tabindex: "0",
1255
1255
  onKeyup: mt(y, ["enter"])
1256
1256
  }, _a(d.value), {
1257
1257
  onKeydown: mt(H(p), ["esc"])
1258
1258
  }), {
1259
- default: q(() => [
1260
- t1(R(I.title), 1)
1259
+ default: F(() => [
1260
+ t1(j(A.title), 1)
1261
1261
  ]),
1262
1262
  _: 1
1263
1263
  }, 16, ["class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1300,16 +1300,16 @@ const ou = {
1300
1300
  const t = (s) => {
1301
1301
  e("update:title", s);
1302
1302
  };
1303
- return (s, n) => (c(), U(Je(s.tagName), {
1303
+ return (s, n) => (c(), R(Je(s.tagName), {
1304
1304
  class: W(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1305
1305
  }, {
1306
- default: q(() => [
1306
+ default: F(() => [
1307
1307
  s.isDraggable ? (c(), f("div", ou, [
1308
1308
  M(ie, {
1309
1309
  name: "DragIndicator",
1310
1310
  class: "ao-card-horiz__drag-handle"
1311
1311
  })
1312
- ])) : k("", !0),
1312
+ ])) : T("", !0),
1313
1313
  r("div", ru, [
1314
1314
  s.icon ? (c(), f("div", uu, [
1315
1315
  M(ie, {
@@ -1317,7 +1317,7 @@ const ou = {
1317
1317
  name: s.icon,
1318
1318
  size: "xl"
1319
1319
  }, null, 8, ["name"])
1320
- ])) : k("", !0),
1320
+ ])) : T("", !0),
1321
1321
  r("div", cu, [
1322
1322
  M(ve, {
1323
1323
  class: "ao-card-horiz__title",
@@ -1327,22 +1327,22 @@ const ou = {
1327
1327
  "onUpdate:title": t
1328
1328
  }, null, 8, ["title"]),
1329
1329
  K(s.$slots, "subtitle", {}, () => [
1330
- s.subtitle ? (c(), f("span", du, R(s.subtitle), 1)) : k("", !0)
1330
+ s.subtitle ? (c(), f("span", du, j(s.subtitle), 1)) : T("", !0)
1331
1331
  ])
1332
1332
  ]),
1333
1333
  s.$slots.header ? (c(), f("div", vu, [
1334
1334
  K(s.$slots, "header")
1335
- ])) : k("", !0)
1335
+ ])) : T("", !0)
1336
1336
  ]),
1337
1337
  s.$slots.default ? (c(), f("div", mu, [
1338
1338
  K(s.$slots, "default")
1339
- ])) : k("", !0),
1339
+ ])) : T("", !0),
1340
1340
  s.$slots.footer ? (c(), f("div", fu, [
1341
1341
  K(s.$slots, "footer")
1342
- ])) : k("", !0),
1342
+ ])) : T("", !0),
1343
1343
  s.$slots.secondary ? (c(), f("div", hu, [
1344
1344
  K(s.$slots, "secondary")
1345
- ])) : k("", !0)
1345
+ ])) : T("", !0)
1346
1346
  ]),
1347
1347
  _: 3
1348
1348
  }, 8, ["class"]));
@@ -1371,11 +1371,11 @@ const Et = /* @__PURE__ */ Y({
1371
1371
  n.variant ? `ao-tag--${n.variant}` : ""
1372
1372
  ])
1373
1373
  }, [
1374
- (c(), U(Je(t.value), Pe({ class: "ao-tag__label" }, s.value, {
1374
+ (c(), R(Je(t.value), Pe({ class: "ao-tag__label" }, s.value, {
1375
1375
  onClick: l[0] || (l[0] = (i) => n.$emit("click", i))
1376
1376
  }), {
1377
- default: q(() => [
1378
- t1(R(n.label), 1)
1377
+ default: F(() => [
1378
+ t1(j(n.label), 1)
1379
1379
  ]),
1380
1380
  _: 1
1381
1381
  }, 16)),
@@ -1389,17 +1389,17 @@ const Et = /* @__PURE__ */ Y({
1389
1389
  size: "sm",
1390
1390
  class: "ao-tag__close-icon"
1391
1391
  })
1392
- ])) : k("", !0)
1392
+ ])) : T("", !0)
1393
1393
  ], 2));
1394
1394
  }
1395
1395
  });
1396
- function St(a) {
1396
+ function Tt(a) {
1397
1397
  "@babel/helpers - typeof";
1398
- return St = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1398
+ return Tt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1399
1399
  return typeof e;
1400
1400
  } : function(e) {
1401
1401
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1402
- }, St(a);
1402
+ }, Tt(a);
1403
1403
  }
1404
1404
  function Ne(a) {
1405
1405
  if (a === null || a === !0 || a === !1)
@@ -1414,7 +1414,7 @@ function Ce(a, e) {
1414
1414
  function Ie(a) {
1415
1415
  Ce(1, arguments);
1416
1416
  var e = Object.prototype.toString.call(a);
1417
- return a instanceof Date || St(a) === "object" && e === "[object Date]" ? new Date(a.getTime()) : typeof a == "number" || e === "[object Number]" ? new Date(a) : ((typeof a == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1417
+ return a instanceof Date || Tt(a) === "object" && e === "[object Date]" ? new Date(a.getTime()) : typeof a == "number" || e === "[object Number]" ? new Date(a) : ((typeof a == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1418
1418
  }
1419
1419
  function pu(a, e) {
1420
1420
  Ce(2, arguments);
@@ -1431,7 +1431,7 @@ function _u(a) {
1431
1431
  }
1432
1432
  var L1 = 6e4, E1 = 36e5;
1433
1433
  function gu(a) {
1434
- return Ce(1, arguments), a instanceof Date || St(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
1434
+ return Ce(1, arguments), a instanceof Date || Tt(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
1435
1435
  }
1436
1436
  function V1(a) {
1437
1437
  if (Ce(1, arguments), !gu(a) && typeof a != "number")
@@ -1452,7 +1452,7 @@ function wu(a) {
1452
1452
  var s = e.getTime(), n = t - s;
1453
1453
  return Math.floor(n / bu) + 1;
1454
1454
  }
1455
- function Tt(a) {
1455
+ function St(a) {
1456
1456
  Ce(1, arguments);
1457
1457
  var e = 1, t = Ie(a), s = t.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
1458
1458
  return t.setUTCDate(t.getUTCDate() - n), t.setUTCHours(0, 0, 0, 0), t;
@@ -1461,22 +1461,22 @@ function H1(a) {
1461
1461
  Ce(1, arguments);
1462
1462
  var e = Ie(a), t = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
1463
1463
  s.setUTCFullYear(t + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
1464
- var n = Tt(s), l = /* @__PURE__ */ new Date(0);
1464
+ var n = St(s), l = /* @__PURE__ */ new Date(0);
1465
1465
  l.setUTCFullYear(t, 0, 4), l.setUTCHours(0, 0, 0, 0);
1466
- var i = Tt(l);
1466
+ var i = St(l);
1467
1467
  return e.getTime() >= n.getTime() ? t + 1 : e.getTime() >= i.getTime() ? t : t - 1;
1468
1468
  }
1469
1469
  function $u(a) {
1470
1470
  Ce(1, arguments);
1471
1471
  var e = H1(a), t = /* @__PURE__ */ new Date(0);
1472
1472
  t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
1473
- var s = Tt(t);
1473
+ var s = St(t);
1474
1474
  return s;
1475
1475
  }
1476
1476
  var Mu = 6048e5;
1477
1477
  function ku(a) {
1478
1478
  Ce(1, arguments);
1479
- var e = Ie(a), t = Tt(e).getTime() - $u(e).getTime();
1479
+ var e = Ie(a), t = St(e).getTime() - $u(e).getTime();
1480
1480
  return Math.round(t / Mu) + 1;
1481
1481
  }
1482
1482
  function At(a, e) {
@@ -1485,8 +1485,8 @@ function At(a, e) {
1485
1485
  var u = Vt(), p = Ne((t = (s = (n = (l = e == null ? void 0 : e.weekStartsOn) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (v = u.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
1486
1486
  if (!(p >= 0 && p <= 6))
1487
1487
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1488
- var h = Ie(a), y = h.getUTCDay(), w = (y < p ? 7 : 0) + y - p;
1489
- return h.setUTCDate(h.getUTCDate() - w), h.setUTCHours(0, 0, 0, 0), h;
1488
+ var h = Ie(a), y = h.getUTCDay(), $ = (y < p ? 7 : 0) + y - p;
1489
+ return h.setUTCDate(h.getUTCDate() - $), h.setUTCHours(0, 0, 0, 0), h;
1490
1490
  }
1491
1491
  function D1(a, e) {
1492
1492
  var t, s, n, l, i, o, v, d;
@@ -1494,26 +1494,26 @@ function D1(a, e) {
1494
1494
  var u = Ie(a), p = u.getUTCFullYear(), h = Vt(), y = Ne((t = (s = (n = (l = e == null ? void 0 : e.firstWeekContainsDate) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && n !== void 0 ? n : h.firstWeekContainsDate) !== null && s !== void 0 ? s : (v = h.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1495
1495
  if (!(y >= 1 && y <= 7))
1496
1496
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1497
- var w = /* @__PURE__ */ new Date(0);
1498
- w.setUTCFullYear(p + 1, 0, y), w.setUTCHours(0, 0, 0, 0);
1499
- var I = At(w, e), E = /* @__PURE__ */ new Date(0);
1497
+ var $ = /* @__PURE__ */ new Date(0);
1498
+ $.setUTCFullYear(p + 1, 0, y), $.setUTCHours(0, 0, 0, 0);
1499
+ var A = At($, e), E = /* @__PURE__ */ new Date(0);
1500
1500
  E.setUTCFullYear(p, 0, y), E.setUTCHours(0, 0, 0, 0);
1501
1501
  var b = At(E, e);
1502
- return u.getTime() >= I.getTime() ? p + 1 : u.getTime() >= b.getTime() ? p : p - 1;
1502
+ return u.getTime() >= A.getTime() ? p + 1 : u.getTime() >= b.getTime() ? p : p - 1;
1503
1503
  }
1504
- function Su(a, e) {
1504
+ function Tu(a, e) {
1505
1505
  var t, s, n, l, i, o, v, d;
1506
1506
  Ce(1, arguments);
1507
1507
  var u = Vt(), p = Ne((t = (s = (n = (l = e == null ? void 0 : e.firstWeekContainsDate) !== null && l !== void 0 ? l : e == null || (i = e.locale) === null || i === void 0 || (o = i.options) === null || o === void 0 ? void 0 : o.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (v = u.locale) === null || v === void 0 || (d = v.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), h = D1(a, e), y = /* @__PURE__ */ new Date(0);
1508
1508
  y.setUTCFullYear(h, 0, p), y.setUTCHours(0, 0, 0, 0);
1509
- var w = At(y, e);
1510
- return w;
1509
+ var $ = At(y, e);
1510
+ return $;
1511
1511
  }
1512
- var Tu = 6048e5;
1512
+ var Su = 6048e5;
1513
1513
  function Au(a, e) {
1514
1514
  Ce(1, arguments);
1515
- var t = Ie(a), s = At(t, e).getTime() - Su(t, e).getTime();
1516
- return Math.round(s / Tu) + 1;
1515
+ var t = Ie(a), s = At(t, e).getTime() - Tu(t, e).getTime();
1516
+ return Math.round(s / Su) + 1;
1517
1517
  }
1518
1518
  function ae(a, e) {
1519
1519
  for (var t = a < 0 ? "-" : "", s = Math.abs(a).toString(); s.length < e; )
@@ -2307,12 +2307,12 @@ var Ru = {
2307
2307
  long: "MMMM do, y",
2308
2308
  medium: "MMM d, y",
2309
2309
  short: "MM/dd/yyyy"
2310
- }, qu = {
2310
+ }, Fu = {
2311
2311
  full: "h:mm:ss a zzzz",
2312
2312
  long: "h:mm:ss a z",
2313
2313
  medium: "h:mm:ss a",
2314
2314
  short: "h:mm a"
2315
- }, Fu = {
2315
+ }, qu = {
2316
2316
  full: "{{date}} 'at' {{time}}",
2317
2317
  long: "{{date}} 'at' {{time}}",
2318
2318
  medium: "{{date}}, {{time}}",
@@ -2323,11 +2323,11 @@ var Ru = {
2323
2323
  defaultWidth: "full"
2324
2324
  }),
2325
2325
  time: Kt({
2326
- formats: qu,
2326
+ formats: Fu,
2327
2327
  defaultWidth: "full"
2328
2328
  }),
2329
2329
  dateTime: Kt({
2330
- formats: Fu,
2330
+ formats: qu,
2331
2331
  defaultWidth: "full"
2332
2332
  })
2333
2333
  };
@@ -2619,14 +2619,14 @@ var w3 = {
2619
2619
  }
2620
2620
  };
2621
2621
  const $3 = w3;
2622
- var M3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, k3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, S3 = /^'([^]*?)'?$/, T3 = /''/g, A3 = /[a-zA-Z]/;
2622
+ var M3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, k3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, T3 = /^'([^]*?)'?$/, S3 = /''/g, A3 = /[a-zA-Z]/;
2623
2623
  function I3(a, e, t) {
2624
- var s, n, l, i, o, v, d, u, p, h, y, w, I, E, b, $, D, X;
2624
+ var s, n, l, i, o, v, d, u, p, h, y, $, A, E, b, w, D, X;
2625
2625
  Ce(2, arguments);
2626
- var ne = String(e), C = Vt(), L = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : C.locale) !== null && s !== void 0 ? s : $3, B = Ne((l = (i = (o = (v = t == null ? void 0 : t.firstWeekContainsDate) !== null && v !== void 0 ? v : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && o !== void 0 ? o : C.firstWeekContainsDate) !== null && i !== void 0 ? i : (p = C.locale) === null || p === void 0 || (h = p.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && l !== void 0 ? l : 1);
2627
- if (!(B >= 1 && B <= 7))
2626
+ var ne = String(e), C = Vt(), L = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : C.locale) !== null && s !== void 0 ? s : $3, Z = Ne((l = (i = (o = (v = t == null ? void 0 : t.firstWeekContainsDate) !== null && v !== void 0 ? v : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && o !== void 0 ? o : C.firstWeekContainsDate) !== null && i !== void 0 ? i : (p = C.locale) === null || p === void 0 || (h = p.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && l !== void 0 ? l : 1);
2627
+ if (!(Z >= 1 && Z <= 7))
2628
2628
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2629
- var J = Ne((y = (w = (I = (E = t == null ? void 0 : t.weekStartsOn) !== null && E !== void 0 ? E : t == null || (b = t.locale) === null || b === void 0 || ($ = b.options) === null || $ === void 0 ? void 0 : $.weekStartsOn) !== null && I !== void 0 ? I : C.weekStartsOn) !== null && w !== void 0 ? w : (D = C.locale) === null || D === void 0 || (X = D.options) === null || X === void 0 ? void 0 : X.weekStartsOn) !== null && y !== void 0 ? y : 0);
2629
+ var J = Ne((y = ($ = (A = (E = t == null ? void 0 : t.weekStartsOn) !== null && E !== void 0 ? E : t == null || (b = t.locale) === null || b === void 0 || (w = b.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && A !== void 0 ? A : C.weekStartsOn) !== null && $ !== void 0 ? $ : (D = C.locale) === null || D === void 0 || (X = D.options) === null || X === void 0 ? void 0 : X.weekStartsOn) !== null && y !== void 0 ? y : 0);
2630
2630
  if (!(J >= 0 && J <= 6))
2631
2631
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2632
2632
  if (!L.localize)
@@ -2637,35 +2637,35 @@ function I3(a, e, t) {
2637
2637
  if (!V1(se))
2638
2638
  throw new RangeError("Invalid time value");
2639
2639
  var me = _u(se), N = yu(se, me), x = {
2640
- firstWeekContainsDate: B,
2640
+ firstWeekContainsDate: Z,
2641
2641
  weekStartsOn: J,
2642
2642
  locale: L,
2643
2643
  _originalDate: se
2644
- }, S = ne.match(k3).map(function(j) {
2645
- var le = j[0];
2644
+ }, k = ne.match(k3).map(function(B) {
2645
+ var le = B[0];
2646
2646
  if (le === "p" || le === "P") {
2647
2647
  var g = Hu[le];
2648
- return g(j, L.formatLong);
2648
+ return g(B, L.formatLong);
2649
2649
  }
2650
- return j;
2651
- }).join("").match(M3).map(function(j) {
2652
- if (j === "''")
2650
+ return B;
2651
+ }).join("").match(M3).map(function(B) {
2652
+ if (B === "''")
2653
2653
  return "'";
2654
- var le = j[0];
2654
+ var le = B[0];
2655
2655
  if (le === "'")
2656
- return O3(j);
2656
+ return O3(B);
2657
2657
  var g = Lu[le];
2658
2658
  if (g)
2659
- return !(t != null && t.useAdditionalWeekYearTokens) && Bu(j) && b1(j, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Nu(j) && b1(j, e, String(a)), g(N, j, L.localize, x);
2659
+ return !(t != null && t.useAdditionalWeekYearTokens) && Bu(B) && b1(B, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Nu(B) && b1(B, e, String(a)), g(N, B, L.localize, x);
2660
2660
  if (le.match(A3))
2661
2661
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + le + "`");
2662
- return j;
2662
+ return B;
2663
2663
  }).join("");
2664
- return S;
2664
+ return k;
2665
2665
  }
2666
2666
  function O3(a) {
2667
- var e = a.match(S3);
2668
- return e ? e[1].replace(T3, "'") : a;
2667
+ var e = a.match(T3);
2668
+ return e ? e[1].replace(S3, "'") : a;
2669
2669
  }
2670
2670
  function L3(a, e) {
2671
2671
  var t;
@@ -2730,9 +2730,9 @@ function N3(a, e) {
2730
2730
  return /* @__PURE__ */ new Date(NaN);
2731
2731
  var s = !!t[4], n = ot(t[1]), l = ot(t[2]) - 1, i = ot(t[3]), o = ot(t[4]), v = ot(t[5]) - 1;
2732
2732
  if (s)
2733
- return F3(e, o, v) ? U3(e, o, v) : /* @__PURE__ */ new Date(NaN);
2733
+ return q3(e, o, v) ? U3(e, o, v) : /* @__PURE__ */ new Date(NaN);
2734
2734
  var d = /* @__PURE__ */ new Date(0);
2735
- return !R3(e, l, i) || !q3(e, n) ? /* @__PURE__ */ new Date(NaN) : (d.setUTCFullYear(e, l, Math.max(n, i)), d);
2735
+ return !R3(e, l, i) || !F3(e, n) ? /* @__PURE__ */ new Date(NaN) : (d.setUTCFullYear(e, l, Math.max(n, i)), d);
2736
2736
  }
2737
2737
  function ot(a) {
2738
2738
  return a ? parseInt(a) : 1;
@@ -2769,10 +2769,10 @@ function N1(a) {
2769
2769
  function R3(a, e, t) {
2770
2770
  return e >= 0 && e <= 11 && t >= 1 && t <= (j3[e] || (N1(a) ? 29 : 28));
2771
2771
  }
2772
- function q3(a, e) {
2772
+ function F3(a, e) {
2773
2773
  return e >= 1 && e <= (N1(a) ? 366 : 365);
2774
2774
  }
2775
- function F3(a, e, t) {
2775
+ function q3(a, e, t) {
2776
2776
  return e >= 1 && e <= 53 && t >= 0 && t <= 6;
2777
2777
  }
2778
2778
  function z3(a, e, t) {
@@ -3362,21 +3362,21 @@ function j1() {
3362
3362
  v = u;
3363
3363
  }
3364
3364
  let p;
3365
- for (let w = v.getScale(); w > 0; d = p) {
3366
- const I = w - 1, E = v.setScale(I, !0);
3367
- if (p = d.setScale(I, !1), E.compareTo(p) === 0)
3365
+ for (let $ = v.getScale(); $ > 0; d = p) {
3366
+ const A = $ - 1, E = v.setScale(A, !0);
3367
+ if (p = d.setScale(A, !1), E.compareTo(p) === 0)
3368
3368
  return n.checkMid(i, o, E);
3369
3369
  if (E.compareTo(p) > 0)
3370
3370
  break;
3371
- w = I, v = E;
3371
+ $ = A, v = E;
3372
3372
  }
3373
3373
  let h = n.middleInternal(i, o, v, d), y;
3374
- for (let w = h.getScale(); w > 0; w = y) {
3375
- y = w - 1;
3376
- const I = h.setScale(y);
3377
- if (i.compareTo(I) >= 0 || I.compareTo(o) >= 0)
3374
+ for (let $ = h.getScale(); $ > 0; $ = y) {
3375
+ y = $ - 1;
3376
+ const A = h.setScale(y);
3377
+ if (i.compareTo(A) >= 0 || A.compareTo(o) >= 0)
3378
3378
  break;
3379
- h = I;
3379
+ h = A;
3380
3380
  }
3381
3381
  return h;
3382
3382
  }
@@ -3568,15 +3568,15 @@ const n0 = ["title"], s0 = { className: "ao-avatar__initials" }, tt = /* @__PURE
3568
3568
  class: W(["ao-avatar", `ao-avatar--${l.size}`]),
3569
3569
  title: l.userName
3570
3570
  }, [
3571
- r("span", s0, R(H(s)), 1),
3572
- l.isClosable ? (c(), U(de, {
3571
+ r("span", s0, j(H(s)), 1),
3572
+ l.isClosable ? (c(), R(de, {
3573
3573
  key: 0,
3574
3574
  "icon-name": "CloseRounded",
3575
3575
  class: "ao-avatar__close",
3576
3576
  color: "primary",
3577
3577
  corners: "round",
3578
3578
  onClick: ke(n, ["stop"])
3579
- }, null, 8, ["onClick"])) : k("", !0)
3579
+ }, null, 8, ["onClick"])) : T("", !0)
3580
3580
  ], 10, n0));
3581
3581
  }
3582
3582
  });
@@ -3604,30 +3604,30 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
3604
3604
  const t = (s) => {
3605
3605
  e("updateTitle", s);
3606
3606
  };
3607
- return (s, n) => (c(), U(O1, {
3607
+ return (s, n) => (c(), R(O1, {
3608
3608
  title: s.title,
3609
3609
  "is-draggable": !0,
3610
3610
  "onUpdate:title": t
3611
3611
  }, {
3612
- subtitle: q(() => [
3612
+ subtitle: F(() => [
3613
3613
  r("ul", i0, [
3614
3614
  r("li", l0, [
3615
3615
  M(ie, {
3616
3616
  name: "MountainFlagOutlineRounded",
3617
3617
  size: "sm"
3618
3618
  }),
3619
- r("span", o0, R(s.milestones), 1)
3619
+ r("span", o0, j(s.milestones), 1)
3620
3620
  ]),
3621
3621
  r("li", r0, [
3622
3622
  M(ie, {
3623
3623
  name: "TaskOutlineRounded",
3624
3624
  size: "sm"
3625
3625
  }),
3626
- r("span", u0, R(s.activities), 1)
3626
+ r("span", u0, j(s.activities), 1)
3627
3627
  ])
3628
3628
  ])
3629
3629
  ]),
3630
- default: q(() => [
3630
+ default: F(() => [
3631
3631
  r("div", c0, [
3632
3632
  r("div", d0, [
3633
3633
  r("div", v0, [
@@ -3635,44 +3635,44 @@ const i0 = { class: "ao-card-template__subitems" }, l0 = { class: "ao-card-templ
3635
3635
  name: "WaterfallChartRounded",
3636
3636
  size: "sm"
3637
3637
  }),
3638
- r("span", m0, R(s.$t("template.phases.title")), 1)
3638
+ r("span", m0, j(s.$t("template.phases.title")), 1)
3639
3639
  ]),
3640
3640
  s.phases ? (c(), f("ul", f0, [
3641
- (c(!0), f(oe, null, he(s.phases, (l) => (c(), U(Et, {
3641
+ (c(!0), f(oe, null, he(s.phases, (l) => (c(), R(Et, {
3642
3642
  key: l.id,
3643
3643
  label: l.name || l.id,
3644
3644
  color: "primary",
3645
3645
  variant: "solid"
3646
3646
  }, null, 8, ["label"]))), 128))
3647
- ])) : k("", !0)
3647
+ ])) : T("", !0)
3648
3648
  ])
3649
3649
  ])
3650
3650
  ]),
3651
- footer: q(() => [
3651
+ footer: F(() => [
3652
3652
  r("div", h0, [
3653
3653
  s.updatedAt ? (c(), f("div", p0, [
3654
3654
  r("div", C0, [
3655
- r("span", _0, R(s.$t("template.updatedAt.label")), 1)
3655
+ r("span", _0, j(s.$t("template.updatedAt.label")), 1)
3656
3656
  ]),
3657
3657
  r("div", g0, [
3658
- r("span", null, R(s.updatedAt), 1)
3658
+ r("span", null, j(s.updatedAt), 1)
3659
3659
  ])
3660
- ])) : k("", !0),
3660
+ ])) : T("", !0),
3661
3661
  s.updatedBy ? (c(), f("div", y0, [
3662
3662
  r("div", b0, [
3663
- r("span", w0, R(s.$t("template.updatedBy.label")), 1)
3663
+ r("span", w0, j(s.$t("template.updatedBy.label")), 1)
3664
3664
  ]),
3665
3665
  r("div", $0, [
3666
3666
  M(tt, { "user-name": s.updatedBy }, null, 8, ["user-name"])
3667
3667
  ])
3668
- ])) : k("", !0)
3668
+ ])) : T("", !0)
3669
3669
  ])
3670
3670
  ]),
3671
3671
  _: 1
3672
3672
  }, 8, ["title"]));
3673
3673
  }
3674
3674
  });
3675
- const k0 = { class: "ao-page-header" }, S0 = { class: "ao-page-header-main" }, T0 = { class: "ao-page-header-secondary" }, Zt = /* @__PURE__ */ Y({
3675
+ const k0 = { class: "ao-page-header" }, T0 = { class: "ao-page-header-main" }, S0 = { class: "ao-page-header-secondary" }, Zt = /* @__PURE__ */ Y({
3676
3676
  __name: "AoPageHeader",
3677
3677
  props: {
3678
3678
  canGoBack: { type: Boolean }
@@ -3680,16 +3680,16 @@ const k0 = { class: "ao-page-header" }, S0 = { class: "ao-page-header-main" }, T
3680
3680
  emits: ["goBack"],
3681
3681
  setup(a) {
3682
3682
  return (e, t) => (c(), f("header", k0, [
3683
- r("div", S0, [
3684
- e.canGoBack ? (c(), U(de, {
3683
+ r("div", T0, [
3684
+ e.canGoBack ? (c(), R(de, {
3685
3685
  key: 0,
3686
3686
  "icon-name": "ArrowBackRounded",
3687
3687
  variant: "ghost",
3688
3688
  onClick: t[0] || (t[0] = (s) => e.$emit("goBack"))
3689
- })) : k("", !0),
3689
+ })) : T("", !0),
3690
3690
  K(e.$slots, "primary")
3691
3691
  ]),
3692
- r("div", T0, [
3692
+ r("div", S0, [
3693
3693
  K(e.$slots, "secondary")
3694
3694
  ])
3695
3695
  ]));
@@ -3722,14 +3722,14 @@ const A0 = ["type"], I0 = {
3722
3722
  ])
3723
3723
  }, [
3724
3724
  K(n.$slots, "default", {}, () => [
3725
- n.label ? (c(), f("span", I0, R(n.label), 1)) : k("", !0)
3725
+ n.label ? (c(), f("span", I0, j(n.label), 1)) : T("", !0)
3726
3726
  ]),
3727
- s.value ? (c(), U(ie, {
3727
+ s.value ? (c(), R(ie, {
3728
3728
  key: 0,
3729
3729
  name: s.value,
3730
3730
  class: "ao-button-card__icon",
3731
3731
  size: t.value
3732
- }, null, 8, ["name", "size"])) : k("", !0)
3732
+ }, null, 8, ["name", "size"])) : T("", !0)
3733
3733
  ], 10, A0));
3734
3734
  }
3735
3735
  });
@@ -3756,8 +3756,8 @@ const O0 = { class: "ao-card-template-item__footer" }, L0 = {
3756
3756
  }, l = () => {
3757
3757
  e("remove");
3758
3758
  };
3759
- return (i, o) => (c(), U(O1, { "onUpdate:title": t }, {
3760
- footer: q(() => [
3759
+ return (i, o) => (c(), R(O1, { "onUpdate:title": t }, {
3760
+ footer: F(() => [
3761
3761
  r("ul", O0, [
3762
3762
  (c(), f(oe, null, he(s, (v) => (c(), f(oe, { key: v }, [
3763
3763
  i.$props[v] ? (c(), f("li", L0, [
@@ -3765,12 +3765,12 @@ const O0 = { class: "ao-card-template-item__footer" }, L0 = {
3765
3765
  name: n[v],
3766
3766
  size: "sm"
3767
3767
  }, null, 8, ["name"]),
3768
- r("span", E0, R(i.$props[v]), 1)
3769
- ])) : k("", !0)
3768
+ r("span", E0, j(i.$props[v]), 1)
3769
+ ])) : T("", !0)
3770
3770
  ], 64))), 64))
3771
3771
  ])
3772
3772
  ]),
3773
- secondary: q(() => [
3773
+ secondary: F(() => [
3774
3774
  r("div", V0, [
3775
3775
  M(de, {
3776
3776
  "icon-name": "DeleteOutlineRounded",
@@ -3797,12 +3797,12 @@ const H0 = /* @__PURE__ */ Y({
3797
3797
  var n;
3798
3798
  return (n = e.milestones) == null ? void 0 : n.length;
3799
3799
  }), s = _(() => e.milestones ? R1(e.milestones) : 0);
3800
- return (n, l) => (c(), U(s1, Pe({
3800
+ return (n, l) => (c(), R(s1, Pe({
3801
3801
  title: n.name,
3802
3802
  activities: s.value,
3803
3803
  milestones: t.value
3804
3804
  }, n.$attrs), {
3805
- default: q(() => [
3805
+ default: F(() => [
3806
3806
  K(n.$slots, "default")
3807
3807
  ]),
3808
3808
  _: 3
@@ -3818,8 +3818,8 @@ const H0 = /* @__PURE__ */ Y({
3818
3818
  var s;
3819
3819
  return ((s = e.activities) == null ? void 0 : s.length) || 0;
3820
3820
  });
3821
- return (s, n) => (c(), U(s1, { activities: t.value }, {
3822
- default: q(() => [
3821
+ return (s, n) => (c(), R(s1, { activities: t.value }, {
3822
+ default: F(() => [
3823
3823
  K(s.$slots, "default")
3824
3824
  ]),
3825
3825
  _: 3
@@ -3849,7 +3849,7 @@ const H0 = /* @__PURE__ */ Y({
3849
3849
  });
3850
3850
  }
3851
3851
  };
3852
- return (o, v) => o.phase ? (c(), U(H(ht), {
3852
+ return (o, v) => o.phase ? (c(), R(H(ht), {
3853
3853
  key: 0,
3854
3854
  "model-value": o.phase.milestones,
3855
3855
  class: "ao-templates__list",
@@ -3858,15 +3858,15 @@ const H0 = /* @__PURE__ */ Y({
3858
3858
  "item-key": "id",
3859
3859
  onChange: i
3860
3860
  }, {
3861
- header: q(() => [
3861
+ header: F(() => [
3862
3862
  M(ve, {
3863
3863
  title: "Milestones",
3864
3864
  level: 3,
3865
3865
  class: "ao-list__title"
3866
3866
  })
3867
3867
  ]),
3868
- item: q(({ element: d }) => [
3869
- (c(), U(D0, {
3868
+ item: F(({ element: d }) => [
3869
+ (c(), R(D0, {
3870
3870
  key: d.id,
3871
3871
  title: d.name,
3872
3872
  activities: d.activities,
@@ -3881,7 +3881,7 @@ const H0 = /* @__PURE__ */ Y({
3881
3881
  onRemove: () => n(d.id)
3882
3882
  }, null, 8, ["title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
3883
3883
  ]),
3884
- footer: q(() => [
3884
+ footer: F(() => [
3885
3885
  r("div", P0, [
3886
3886
  M(je, {
3887
3887
  "icon-name": "AddBoxOutlineRounded",
@@ -3891,7 +3891,7 @@ const H0 = /* @__PURE__ */ Y({
3891
3891
  ])
3892
3892
  ]),
3893
3893
  _: 1
3894
- }, 8, ["model-value", "title"])) : k("", !0);
3894
+ }, 8, ["model-value", "title"])) : T("", !0);
3895
3895
  }
3896
3896
  }), B0 = /* @__PURE__ */ Y({
3897
3897
  __name: "AoCardTemplateItemActivity",
@@ -3904,8 +3904,8 @@ const H0 = /* @__PURE__ */ Y({
3904
3904
  var s;
3905
3905
  return ((s = e.tasks) == null ? void 0 : s.length) || 0;
3906
3906
  });
3907
- return (s, n) => (c(), U(s1, { tasks: t.value }, {
3908
- default: q(() => [
3907
+ return (s, n) => (c(), R(s1, { tasks: t.value }, {
3908
+ default: F(() => [
3909
3909
  K(s.$slots, "default")
3910
3910
  ]),
3911
3911
  _: 3
@@ -3938,7 +3938,7 @@ const H0 = /* @__PURE__ */ Y({
3938
3938
  });
3939
3939
  }
3940
3940
  };
3941
- return (o, v) => o.milestone ? (c(), U(H(ht), {
3941
+ return (o, v) => o.milestone ? (c(), R(H(ht), {
3942
3942
  key: 0,
3943
3943
  "model-value": o.milestone.activities,
3944
3944
  title: o.$t("template.activities.title"),
@@ -3947,15 +3947,15 @@ const H0 = /* @__PURE__ */ Y({
3947
3947
  "item-key": "id",
3948
3948
  onChange: i
3949
3949
  }, {
3950
- header: q(() => [
3950
+ header: F(() => [
3951
3951
  M(ve, {
3952
3952
  title: "Activities",
3953
3953
  level: 3,
3954
3954
  class: "ao-list__title"
3955
3955
  })
3956
3956
  ]),
3957
- item: q(({ element: d }) => [
3958
- (c(), U(B0, {
3957
+ item: F(({ element: d }) => [
3958
+ (c(), R(B0, {
3959
3959
  key: d.id,
3960
3960
  title: d.name,
3961
3961
  tasks: d.tasks,
@@ -3966,7 +3966,7 @@ const H0 = /* @__PURE__ */ Y({
3966
3966
  onRemove: () => l(d.id)
3967
3967
  }, null, 8, ["title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
3968
3968
  ]),
3969
- footer: q(() => [
3969
+ footer: F(() => [
3970
3970
  r("div", Z0, [
3971
3971
  M(je, {
3972
3972
  "icon-name": "AddBoxOutlineRounded",
@@ -3976,7 +3976,7 @@ const H0 = /* @__PURE__ */ Y({
3976
3976
  ])
3977
3977
  ]),
3978
3978
  _: 1
3979
- }, 8, ["model-value", "title"])) : k("", !0);
3979
+ }, 8, ["model-value", "title"])) : T("", !0);
3980
3980
  }
3981
3981
  });
3982
3982
  function Ae(a) {
@@ -4003,21 +4003,21 @@ function R0(a, e) {
4003
4003
  plainValue: v
4004
4004
  };
4005
4005
  }
4006
- function q0(a, e, t) {
4006
+ function F0(a, e, t) {
4007
4007
  const { regex: s } = ye(a), n = Ue().proxy, l = t.isOpen, i = t.open, o = ee(null), v = ee(null), d = () => {
4008
4008
  o.value = "";
4009
4009
  }, u = (y) => {
4010
4010
  o.value = y.target.value;
4011
4011
  }, p = (y) => {
4012
4012
  if (s && s.value) {
4013
- let w = s.value;
4014
- typeof w == "string" && (w = new RegExp(w)), y.key.match(w) || y.preventDefault();
4013
+ let $ = s.value;
4014
+ typeof $ == "string" && ($ = new RegExp($)), y.key.match($) || y.preventDefault();
4015
4015
  }
4016
4016
  }, h = (y) => {
4017
4017
  if (s && s.value) {
4018
- let I = (y.clipboardData || /* istanbul ignore next */
4018
+ let A = (y.clipboardData || /* istanbul ignore next */
4019
4019
  window.clipboardData).getData("Text"), E = s.value;
4020
- typeof E == "string" && (E = new RegExp(E)), I.split("").every((b) => !!b.match(E)) || y.preventDefault();
4020
+ typeof E == "string" && (E = new RegExp(E)), A.split("").every((b) => !!b.match(E)) || y.preventDefault();
4021
4021
  }
4022
4022
  e.emit("paste", y, n);
4023
4023
  };
@@ -4032,7 +4032,7 @@ function q0(a, e, t) {
4032
4032
  handlePaste: h
4033
4033
  };
4034
4034
  }
4035
- function F0(a, e, t) {
4035
+ function q0(a, e, t) {
4036
4036
  const { groupSelect: s, mode: n, groups: l, disabledProp: i } = ye(a), o = ee(null), v = (u) => {
4037
4037
  u === void 0 || u !== null && u[i.value] || l.value && u && u.group && (n.value === "single" || !s.value) || (o.value = u);
4038
4038
  };
@@ -4069,24 +4069,24 @@ function Y0(a, e, t) {
4069
4069
  appendNewTag: p,
4070
4070
  appendNewOption: h,
4071
4071
  multipleLabel: y,
4072
- object: w,
4073
- loading: I,
4072
+ object: $,
4073
+ loading: A,
4074
4074
  delay: E,
4075
4075
  resolveOnLoad: b,
4076
- minChars: $,
4076
+ minChars: w,
4077
4077
  filterResults: D,
4078
4078
  clearOnSearch: X,
4079
4079
  clearOnSelect: ne,
4080
4080
  valueProp: C,
4081
4081
  allowAbsent: L,
4082
- groupLabel: B,
4082
+ groupLabel: Z,
4083
4083
  canDeselect: J,
4084
4084
  max: se,
4085
4085
  strict: me,
4086
4086
  closeOnSelect: N,
4087
4087
  closeOnDeselect: x,
4088
- groups: S,
4089
- reverse: j,
4088
+ groups: k,
4089
+ reverse: B,
4090
4090
  infinite: le,
4091
4091
  groupOptions: g,
4092
4092
  groupHideEmpty: P,
@@ -4095,15 +4095,15 @@ function Y0(a, e, t) {
4095
4095
  disabledProp: te,
4096
4096
  searchStart: _e,
4097
4097
  searchFilter: Me
4098
- } = ye(a), re = Ue().proxy, F = t.iv, T = t.ev, Z = t.search, ge = t.clearSearch, Oe = t.update, Y1 = t.pointer, qe = t.clearPointer, G1 = t.focus, K1 = t.deactivate, Fe = t.close, x1 = t.localize, at = ee([]), Ve = ee([]), Se = ee(!1), Ut = ee(null), jt = ee(le.value && i.value === -1 ? 10 : i.value), r1 = _(() => v.value || d.value || !1), X1 = _(() => p.value !== void 0 ? p.value : h.value !== void 0 ? h.value : !0), He = _(() => {
4099
- if (S.value) {
4098
+ } = ye(a), re = Ue().proxy, q = t.iv, S = t.ev, U = t.search, ge = t.clearSearch, Oe = t.update, Y1 = t.pointer, Fe = t.clearPointer, G1 = t.focus, K1 = t.deactivate, qe = t.close, x1 = t.localize, at = ee([]), Ve = ee([]), Te = ee(!1), Ut = ee(null), jt = ee(le.value && i.value === -1 ? 10 : i.value), r1 = _(() => v.value || d.value || !1), X1 = _(() => p.value !== void 0 ? p.value : h.value !== void 0 ? h.value : !0), He = _(() => {
4099
+ if (k.value) {
4100
4100
  let m = _t.value || /* istanbul ignore next */
4101
- [], A = [];
4101
+ [], I = [];
4102
4102
  return m.forEach((Q) => {
4103
4103
  Yt(Q[g.value]).forEach((ce) => {
4104
- A.push(Object.assign({}, ce, Q[te.value] ? { [te.value]: !0 } : {}));
4104
+ I.push(Object.assign({}, ce, Q[te.value] ? { [te.value]: !0 } : {}));
4105
4105
  });
4106
- }), A;
4106
+ }), I;
4107
4107
  } else {
4108
4108
  let m = Yt(Ve.value || /* istanbul ignore next */
4109
4109
  []);
@@ -4111,56 +4111,56 @@ function Y0(a, e, t) {
4111
4111
  }
4112
4112
  }), u1 = _(() => {
4113
4113
  let m = He.value;
4114
- return j.value && (m = m.reverse()), ze.value.length && (m = ze.value.concat(m)), Wt(m);
4114
+ return B.value && (m = m.reverse()), ze.value.length && (m = ze.value.concat(m)), Wt(m);
4115
4115
  }), nt = _(() => {
4116
4116
  let m = u1.value;
4117
4117
  return jt.value > 0 && (m = m.slice(0, jt.value)), m;
4118
4118
  }), _t = _(() => {
4119
- if (!S.value)
4119
+ if (!k.value)
4120
4120
  return [];
4121
- let m = [], A = Ve.value || /* istanbul ignore next */
4121
+ let m = [], I = Ve.value || /* istanbul ignore next */
4122
4122
  [];
4123
4123
  return at.value.length && m.push({
4124
- [B.value]: " ",
4124
+ [Z.value]: " ",
4125
4125
  [g.value]: [...at.value],
4126
4126
  __CREATE__: !0
4127
- }), m.concat(A);
4127
+ }), m.concat(I);
4128
4128
  }), Q1 = _(() => {
4129
- let m = [..._t.value].map((A) => ({ ...A }));
4129
+ let m = [..._t.value].map((I) => ({ ...I }));
4130
4130
  return ze.value.length && (m[0] && m[0].__CREATE__ ? m[0][g.value] = [...ze.value, ...m[0][g.value]] : m = [{
4131
- [B.value]: " ",
4131
+ [Z.value]: " ",
4132
4132
  [g.value]: [...ze.value],
4133
4133
  __CREATE__: !0
4134
4134
  }].concat(m)), m;
4135
4135
  }), c1 = _(() => {
4136
- if (!S.value)
4136
+ if (!k.value)
4137
4137
  return [];
4138
4138
  let m = Q1.value;
4139
4139
  return ma((m || /* istanbul ignore next */
4140
- []).map((A, Q) => {
4141
- const ce = Yt(A[g.value]);
4140
+ []).map((I, Q) => {
4141
+ const ce = Yt(I[g.value]);
4142
4142
  return {
4143
- ...A,
4143
+ ...I,
4144
4144
  index: Q,
4145
4145
  group: !0,
4146
- [g.value]: Wt(ce, !1).map((st) => Object.assign({}, st, A[te.value] ? { [te.value]: !0 } : {})),
4147
- __VISIBLE__: Wt(ce).map((st) => Object.assign({}, st, A[te.value] ? { [te.value]: !0 } : {}))
4146
+ [g.value]: Wt(ce, !1).map((st) => Object.assign({}, st, I[te.value] ? { [te.value]: !0 } : {})),
4147
+ __VISIBLE__: Wt(ce).map((st) => Object.assign({}, st, I[te.value] ? { [te.value]: !0 } : {}))
4148
4148
  };
4149
4149
  }));
4150
4150
  }), Rt = _(() => {
4151
4151
  switch (n.value) {
4152
4152
  case "single":
4153
- return !Ae(F.value[C.value]);
4153
+ return !Ae(q.value[C.value]);
4154
4154
  case "multiple":
4155
4155
  case "tags":
4156
- return !Ae(F.value) && F.value.length > 0;
4156
+ return !Ae(q.value) && q.value.length > 0;
4157
4157
  }
4158
- }), J1 = _(() => y !== void 0 && y.value !== void 0 ? y.value(F.value, re) : F.value && F.value.length > 1 ? `${F.value.length} options selected` : "1 option selected"), ea = _(() => !He.value.length && !Se.value && !ze.value.length), ta = _(() => He.value.length > 0 && nt.value.length == 0 && (Z.value && S.value || !S.value)), ze = _(() => r1.value === !1 || !Z.value ? [] : ca(Z.value) !== -1 ? [] : [{
4159
- [C.value]: Z.value,
4160
- [Te.value]: Z.value,
4161
- [u.value]: Z.value,
4158
+ }), J1 = _(() => y !== void 0 && y.value !== void 0 ? y.value(q.value, re) : q.value && q.value.length > 1 ? `${q.value.length} options selected` : "1 option selected"), ea = _(() => !He.value.length && !Te.value && !ze.value.length), ta = _(() => He.value.length > 0 && nt.value.length == 0 && (U.value && k.value || !k.value)), ze = _(() => r1.value === !1 || !U.value ? [] : ca(U.value) !== -1 ? [] : [{
4159
+ [C.value]: U.value,
4160
+ [Se.value]: U.value,
4161
+ [u.value]: U.value,
4162
4162
  __CREATE__: !0
4163
- }]), Te = _(() => l.value || u.value), aa = _(() => {
4163
+ }]), Se = _(() => l.value || u.value), aa = _(() => {
4164
4164
  switch (n.value) {
4165
4165
  case "single":
4166
4166
  return null;
@@ -4168,14 +4168,14 @@ function Y0(a, e, t) {
4168
4168
  case "tags":
4169
4169
  return [];
4170
4170
  }
4171
- }), na = _(() => I.value || Se.value), We = (m) => {
4171
+ }), na = _(() => A.value || Te.value), We = (m) => {
4172
4172
  switch (typeof m != "object" && (m = Ee(m)), n.value) {
4173
4173
  case "single":
4174
4174
  Oe(m);
4175
4175
  break;
4176
4176
  case "multiple":
4177
4177
  case "tags":
4178
- Oe(F.value.concat(m));
4178
+ Oe(q.value.concat(m));
4179
4179
  break;
4180
4180
  }
4181
4181
  e.emit("select", d1(m), m, re);
@@ -4186,15 +4186,15 @@ function Y0(a, e, t) {
4186
4186
  break;
4187
4187
  case "tags":
4188
4188
  case "multiple":
4189
- Oe(Array.isArray(m) ? F.value.filter((A) => m.map((Q) => Q[C.value]).indexOf(A[C.value]) === -1) : F.value.filter((A) => A[C.value] != m[C.value]));
4189
+ Oe(Array.isArray(m) ? q.value.filter((I) => m.map((Q) => Q[C.value]).indexOf(I[C.value]) === -1) : q.value.filter((I) => I[C.value] != m[C.value]));
4190
4190
  break;
4191
4191
  }
4192
4192
  e.emit("deselect", d1(m), m, re);
4193
- }, d1 = (m) => w.value ? m : m[C.value], v1 = (m) => {
4193
+ }, d1 = (m) => $.value ? m : m[C.value], v1 = (m) => {
4194
4194
  Ye(m);
4195
- }, sa = (m, A) => {
4196
- if (A.button !== 0) {
4197
- A.preventDefault();
4195
+ }, sa = (m, I) => {
4196
+ if (I.button !== 0) {
4197
+ I.preventDefault();
4198
4198
  return;
4199
4199
  }
4200
4200
  v1(m);
@@ -4205,16 +4205,16 @@ function Y0(a, e, t) {
4205
4205
  return n.value === "single" ? !1 : ua(m[g.value]) && m[g.value].length;
4206
4206
  switch (n.value) {
4207
4207
  case "single":
4208
- return !Ae(F.value) && F.value[C.value] == m[C.value];
4208
+ return !Ae(q.value) && q.value[C.value] == m[C.value];
4209
4209
  case "tags":
4210
4210
  case "multiple":
4211
- return !Ae(F.value) && F.value.map((A) => A[C.value]).indexOf(m[C.value]) !== -1;
4211
+ return !Ae(q.value) && q.value.map((I) => I[C.value]).indexOf(m[C.value]) !== -1;
4212
4212
  }
4213
- }, qt = (m) => m[te.value] === !0, Ft = () => se === void 0 || se.value === -1 || !Rt.value && se.value > 0 ? !1 : F.value.length >= se.value, ia = (m) => {
4214
- if (!qt(m)) {
4213
+ }, Ft = (m) => m[te.value] === !0, qt = () => se === void 0 || se.value === -1 || !Rt.value && se.value > 0 ? !1 : q.value.length >= se.value, ia = (m) => {
4214
+ if (!Ft(m)) {
4215
4215
  if (G && G.value && !Le(m) && m.__CREATE__ && (m = { ...m }, delete m.__CREATE__, m = G.value(m, re), m instanceof Promise)) {
4216
- Se.value = !0, m.then((A) => {
4217
- Se.value = !1, f1(A);
4216
+ Te.value = !0, m.then((I) => {
4217
+ Te.value = !1, f1(I);
4218
4218
  });
4219
4219
  return;
4220
4220
  }
@@ -4224,42 +4224,42 @@ function Y0(a, e, t) {
4224
4224
  switch (m.__CREATE__ && (m = { ...m }, delete m.__CREATE__), n.value) {
4225
4225
  case "single":
4226
4226
  if (m && Le(m)) {
4227
- J.value && Ye(m), x.value && (qe(), Fe());
4227
+ J.value && Ye(m), x.value && (Fe(), qe());
4228
4228
  return;
4229
4229
  }
4230
- m && zt(m), ne.value && ge(), N.value && (qe(), Fe()), m && We(m);
4230
+ m && zt(m), ne.value && ge(), N.value && (Fe(), qe()), m && We(m);
4231
4231
  break;
4232
4232
  case "multiple":
4233
4233
  if (m && Le(m)) {
4234
- Ye(m), x.value && (qe(), Fe());
4234
+ Ye(m), x.value && (Fe(), qe());
4235
4235
  return;
4236
4236
  }
4237
- if (Ft()) {
4237
+ if (qt()) {
4238
4238
  e.emit("max", re);
4239
4239
  return;
4240
4240
  }
4241
- m && (zt(m), We(m)), ne.value && ge(), o.value && qe(), N.value && Fe();
4241
+ m && (zt(m), We(m)), ne.value && ge(), o.value && Fe(), N.value && qe();
4242
4242
  break;
4243
4243
  case "tags":
4244
4244
  if (m && Le(m)) {
4245
- Ye(m), x.value && (qe(), Fe());
4245
+ Ye(m), x.value && (Fe(), qe());
4246
4246
  return;
4247
4247
  }
4248
- if (Ft()) {
4248
+ if (qt()) {
4249
4249
  e.emit("max", re);
4250
4250
  return;
4251
4251
  }
4252
- m && zt(m), ne.value && ge(), m && We(m), o.value && qe(), N.value && Fe();
4252
+ m && zt(m), ne.value && ge(), m && We(m), o.value && Fe(), N.value && qe();
4253
4253
  break;
4254
4254
  }
4255
4255
  N.value || G1();
4256
4256
  }, la = (m) => {
4257
- if (!(qt(m) || n.value === "single" || !V.value)) {
4257
+ if (!(Ft(m) || n.value === "single" || !V.value)) {
4258
4258
  switch (n.value) {
4259
4259
  case "multiple":
4260
4260
  case "tags":
4261
4261
  ra(m[g.value]) ? Ye(m[g.value]) : We(
4262
- m[g.value].filter((A) => F.value.map((Q) => Q[C.value]).indexOf(A[C.value]) === -1).filter((A) => !A[te.value]).filter((A, Q) => F.value.length + 1 + Q <= se.value || se.value === -1)
4262
+ m[g.value].filter((I) => q.value.map((Q) => Q[C.value]).indexOf(I[C.value]) === -1).filter((I) => !I[te.value]).filter((I, Q) => q.value.length + 1 + Q <= se.value || se.value === -1)
4263
4263
  );
4264
4264
  break;
4265
4265
  }
@@ -4269,98 +4269,98 @@ function Y0(a, e, t) {
4269
4269
  Ee(m[C.value]) === void 0 && r1.value && (e.emit("tag", m[C.value], re), e.emit("option", m[C.value], re), e.emit("create", m[C.value], re), X1.value && va(m), ge());
4270
4270
  }, oa = () => {
4271
4271
  n.value !== "single" && We(nt.value.filter((m) => !m.disabled && !Le(m)));
4272
- }, ra = (m) => m.find((A) => !Le(A) && !A[te.value]) === void 0, ua = (m) => m.find((A) => !Le(A)) === void 0, Ee = (m) => He.value[He.value.map((A) => String(A[C.value])).indexOf(String(m))], ca = (m, A = !0) => He.value.map((Q) => parseInt(Q[Te.value]) == Q[Te.value] ? parseInt(Q[Te.value]) : Q[Te.value]).indexOf(
4272
+ }, ra = (m) => m.find((I) => !Le(I) && !I[te.value]) === void 0, ua = (m) => m.find((I) => !Le(I)) === void 0, Ee = (m) => He.value[He.value.map((I) => String(I[C.value])).indexOf(String(m))], ca = (m, I = !0) => He.value.map((Q) => parseInt(Q[Se.value]) == Q[Se.value] ? parseInt(Q[Se.value]) : Q[Se.value]).indexOf(
4273
4273
  parseInt(m) == m ? parseInt(m) : m
4274
4274
  ), da = (m) => ["tags", "multiple"].indexOf(n.value) !== -1 && o.value && Le(m), va = (m) => {
4275
4275
  at.value.push(m);
4276
4276
  }, ma = (m) => P.value ? m.filter(
4277
- (A) => Z.value ? A.__VISIBLE__.length : A[g.value].length
4278
- ) : m.filter((A) => Z.value ? A.__VISIBLE__.length : !0), Wt = (m, A = !0) => {
4277
+ (I) => U.value ? I.__VISIBLE__.length : I[g.value].length
4278
+ ) : m.filter((I) => U.value ? I.__VISIBLE__.length : !0), Wt = (m, I = !0) => {
4279
4279
  let Q = m;
4280
- if (Z.value && D.value) {
4280
+ if (U.value && D.value) {
4281
4281
  let ce = Me.value;
4282
- ce || (ce = (st, qd) => {
4283
- let p1 = Xt(x1(st[Te.value]), me.value);
4284
- return _e.value ? p1.startsWith(Xt(Z.value, me.value)) : p1.indexOf(Xt(Z.value, me.value)) !== -1;
4282
+ ce || (ce = (st, Wd) => {
4283
+ let p1 = Xt(x1(st[Se.value]), me.value);
4284
+ return _e.value ? p1.startsWith(Xt(U.value, me.value)) : p1.indexOf(Xt(U.value, me.value)) !== -1;
4285
4285
  }), Q = Q.filter(ce);
4286
4286
  }
4287
- return o.value && A && (Q = Q.filter((ce) => !da(ce))), Q;
4287
+ return o.value && I && (Q = Q.filter((ce) => !da(ce))), Q;
4288
4288
  }, Yt = (m) => {
4289
- let A = m;
4290
- return z0(A) && (A = Object.keys(A).map((Q) => {
4291
- let ce = A[Q];
4292
- return { [C.value]: Q, [Te.value]: ce, [u.value]: ce };
4293
- })), A = A.map((Q) => typeof Q == "object" ? Q : { [C.value]: Q, [Te.value]: Q, [u.value]: Q }), A;
4289
+ let I = m;
4290
+ return z0(I) && (I = Object.keys(I).map((Q) => {
4291
+ let ce = I[Q];
4292
+ return { [C.value]: Q, [Se.value]: ce, [u.value]: ce };
4293
+ })), I = I.map((Q) => typeof Q == "object" ? Q : { [C.value]: Q, [Se.value]: Q, [u.value]: Q }), I;
4294
4294
  }, gt = () => {
4295
- Ae(T.value) || (F.value = bt(T.value));
4296
- }, yt = (m) => (Se.value = !0, new Promise((A, Q) => {
4297
- s.value(Z.value, re).then((ce) => {
4298
- Ve.value = ce || [], typeof m == "function" && m(ce), Se.value = !1;
4295
+ Ae(S.value) || (q.value = bt(S.value));
4296
+ }, yt = (m) => (Te.value = !0, new Promise((I, Q) => {
4297
+ s.value(U.value, re).then((ce) => {
4298
+ Ve.value = ce || [], typeof m == "function" && m(ce), Te.value = !1;
4299
4299
  }).catch((ce) => {
4300
- console.error(ce), Ve.value = [], Se.value = !1;
4300
+ console.error(ce), Ve.value = [], Te.value = !1;
4301
4301
  }).finally(() => {
4302
- A();
4302
+ I();
4303
4303
  });
4304
4304
  })), Gt = () => {
4305
4305
  if (Rt.value)
4306
4306
  if (n.value === "single") {
4307
- let m = Ee(F.value[C.value]);
4307
+ let m = Ee(q.value[C.value]);
4308
4308
  if (m !== void 0) {
4309
- let A = m[u.value];
4310
- F.value[u.value] = A, w.value && (T.value[u.value] = A);
4309
+ let I = m[u.value];
4310
+ q.value[u.value] = I, $.value && (S.value[u.value] = I);
4311
4311
  }
4312
4312
  } else
4313
- F.value.forEach((m, A) => {
4314
- let Q = Ee(F.value[A][C.value]);
4313
+ q.value.forEach((m, I) => {
4314
+ let Q = Ee(q.value[I][C.value]);
4315
4315
  if (Q !== void 0) {
4316
4316
  let ce = Q[u.value];
4317
- F.value[A][u.value] = ce, w.value && (T.value[A][u.value] = ce);
4317
+ q.value[I][u.value] = ce, $.value && (S.value[I][u.value] = ce);
4318
4318
  }
4319
4319
  });
4320
4320
  }, fa = (m) => {
4321
4321
  yt(m);
4322
- }, bt = (m) => Ae(m) ? n.value === "single" ? {} : [] : w.value ? m : n.value === "single" ? Ee(m) || (L.value ? {
4322
+ }, bt = (m) => Ae(m) ? n.value === "single" ? {} : [] : $.value ? m : n.value === "single" ? Ee(m) || (L.value ? {
4323
4323
  [u.value]: m,
4324
4324
  [C.value]: m,
4325
- [Te.value]: m
4326
- } : {}) : m.filter((A) => !!Ee(A) || L.value).map((A) => Ee(A) || {
4327
- [u.value]: A,
4328
- [C.value]: A,
4329
- [Te.value]: A
4325
+ [Se.value]: m
4326
+ } : {}) : m.filter((I) => !!Ee(I) || L.value).map((I) => Ee(I) || {
4327
+ [u.value]: I,
4328
+ [C.value]: I,
4329
+ [Se.value]: I
4330
4330
  }), h1 = () => {
4331
- Ut.value = fe(Z, (m) => {
4332
- m.length < $.value || !m && $.value !== 0 || (Se.value = !0, X.value && (Ve.value = []), setTimeout(() => {
4333
- m == Z.value && s.value(Z.value, re).then((A) => {
4334
- (m == Z.value || !Z.value) && (Ve.value = A, Y1.value = nt.value.filter((Q) => Q[te.value] !== !0)[0] || null, Se.value = !1);
4331
+ Ut.value = fe(U, (m) => {
4332
+ m.length < w.value || !m && w.value !== 0 || (Te.value = !0, X.value && (Ve.value = []), setTimeout(() => {
4333
+ m == U.value && s.value(U.value, re).then((I) => {
4334
+ (m == U.value || !U.value) && (Ve.value = I, Y1.value = nt.value.filter((Q) => Q[te.value] !== !0)[0] || null, Te.value = !1);
4335
4335
  }).catch(
4336
4336
  /* istanbul ignore next */
4337
- (A) => {
4338
- console.error(A);
4337
+ (I) => {
4338
+ console.error(I);
4339
4339
  }
4340
4340
  );
4341
4341
  }, E.value));
4342
4342
  }, { flush: "sync" });
4343
4343
  };
4344
- if (n.value !== "single" && !Ae(T.value) && !Array.isArray(T.value))
4344
+ if (n.value !== "single" && !Ae(S.value) && !Array.isArray(S.value))
4345
4345
  throw new Error(`v-model must be an array when using "${n.value}" mode`);
4346
- return s && typeof s.value == "function" ? b.value ? yt(gt) : w.value == !0 && gt() : (Ve.value = s.value, gt()), E.value > -1 && h1(), fe(E, (m, A) => {
4346
+ return s && typeof s.value == "function" ? b.value ? yt(gt) : $.value == !0 && gt() : (Ve.value = s.value, gt()), E.value > -1 && h1(), fe(E, (m, I) => {
4347
4347
  Ut.value && Ut.value(), m >= 0 && h1();
4348
- }), fe(T, (m) => {
4348
+ }), fe(S, (m) => {
4349
4349
  if (Ae(m)) {
4350
4350
  Oe(bt(m), !1);
4351
4351
  return;
4352
4352
  }
4353
4353
  switch (n.value) {
4354
4354
  case "single":
4355
- (w.value ? m[C.value] != F.value[C.value] : m != F.value[C.value]) && Oe(bt(m), !1);
4355
+ ($.value ? m[C.value] != q.value[C.value] : m != q.value[C.value]) && Oe(bt(m), !1);
4356
4356
  break;
4357
4357
  case "multiple":
4358
4358
  case "tags":
4359
- W0(w.value ? m.map((A) => A[C.value]) : m, F.value.map((A) => A[C.value])) || Oe(bt(m), !1);
4359
+ W0($.value ? m.map((I) => I[C.value]) : m, q.value.map((I) => I[C.value])) || Oe(bt(m), !1);
4360
4360
  break;
4361
4361
  }
4362
- }, { deep: !0 }), fe(s, (m, A) => {
4363
- typeof a.options == "function" ? b.value && (!A || m && m.toString() !== A.toString()) && yt() : (Ve.value = a.options, Object.keys(F.value).length || gt(), Gt());
4362
+ }, { deep: !0 }), fe(s, (m, I) => {
4363
+ typeof a.options == "function" ? b.value && (!I || m && m.toString() !== I.toString()) && yt() : (Ve.value = a.options, Object.keys(q.value).length || gt(), Gt());
4364
4364
  }), fe(u, Gt), {
4365
4365
  pfo: u1,
4366
4366
  fo: nt,
@@ -4375,7 +4375,7 @@ function Y0(a, e, t) {
4375
4375
  filteredGroups: c1,
4376
4376
  noOptions: ea,
4377
4377
  noResults: ta,
4378
- resolving: Se,
4378
+ resolving: Te,
4379
4379
  busy: na,
4380
4380
  offset: jt,
4381
4381
  select: We,
@@ -4384,8 +4384,8 @@ function Y0(a, e, t) {
4384
4384
  selectAll: oa,
4385
4385
  clear: m1,
4386
4386
  isSelected: Le,
4387
- isDisabled: qt,
4388
- isMax: Ft,
4387
+ isDisabled: Ft,
4388
+ isMax: qt,
4389
4389
  getOption: Ee,
4390
4390
  handleOptionClick: ia,
4391
4391
  handleGroupClick: la,
@@ -4406,77 +4406,77 @@ function G0(a, e, t) {
4406
4406
  groupSelect: d,
4407
4407
  disabledProp: u,
4408
4408
  groupOptions: p
4409
- } = ye(a), h = t.fo, y = t.fg, w = t.handleOptionClick, I = t.handleGroupClick, E = t.search, b = t.pointer, $ = t.setPointer, D = t.clearPointer, X = t.multiselect, ne = t.isOpen, C = _(() => h.value.filter((T) => !T[u.value])), L = _(() => y.value.filter((T) => !T[u.value])), B = _(() => v.value !== "single" && d.value), J = _(() => b.value && b.value.group), se = _(() => re(b.value)), me = _(() => {
4410
- const T = J.value ? b.value : (
4409
+ } = ye(a), h = t.fo, y = t.fg, $ = t.handleOptionClick, A = t.handleGroupClick, E = t.search, b = t.pointer, w = t.setPointer, D = t.clearPointer, X = t.multiselect, ne = t.isOpen, C = _(() => h.value.filter((S) => !S[u.value])), L = _(() => y.value.filter((S) => !S[u.value])), Z = _(() => v.value !== "single" && d.value), J = _(() => b.value && b.value.group), se = _(() => re(b.value)), me = _(() => {
4410
+ const S = J.value ? b.value : (
4411
4411
  /* istanbul ignore next */
4412
4412
  re(b.value)
4413
- ), Z = L.value.map((Oe) => Oe[i.value]).indexOf(T[i.value]);
4414
- let ge = L.value[Z - 1];
4413
+ ), U = L.value.map((Oe) => Oe[i.value]).indexOf(S[i.value]);
4414
+ let ge = L.value[U - 1];
4415
4415
  return ge === void 0 && (ge = x.value), ge;
4416
4416
  }), N = _(() => {
4417
- let T = L.value.map((Z) => Z.label).indexOf(J.value ? b.value[i.value] : re(b.value)[i.value]) + 1;
4418
- return L.value.length <= T && (T = 0), L.value[T];
4419
- }), x = _(() => [...L.value].slice(-1)[0]), S = _(() => b.value.__VISIBLE__.filter((T) => !T[u.value])[0]), j = _(() => {
4420
- const T = se.value.__VISIBLE__.filter((Z) => !Z[u.value]);
4421
- return T[T.map((Z) => Z[s.value]).indexOf(b.value[s.value]) - 1];
4417
+ let S = L.value.map((U) => U.label).indexOf(J.value ? b.value[i.value] : re(b.value)[i.value]) + 1;
4418
+ return L.value.length <= S && (S = 0), L.value[S];
4419
+ }), x = _(() => [...L.value].slice(-1)[0]), k = _(() => b.value.__VISIBLE__.filter((S) => !S[u.value])[0]), B = _(() => {
4420
+ const S = se.value.__VISIBLE__.filter((U) => !U[u.value]);
4421
+ return S[S.map((U) => U[s.value]).indexOf(b.value[s.value]) - 1];
4422
4422
  }), le = _(() => {
4423
- const T = re(b.value).__VISIBLE__.filter((Z) => !Z[u.value]);
4424
- return T[T.map((Z) => Z[s.value]).indexOf(b.value[s.value]) + 1];
4425
- }), g = _(() => [...me.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), P = _(() => [...x.value.__VISIBLE__.filter((T) => !T[u.value])].slice(-1)[0]), V = (T) => b.value && (!T.group && b.value[s.value] === T[s.value] || T.group !== void 0 && b.value[i.value] === T[i.value]) ? !0 : void 0, G = () => {
4426
- $(C.value[0] || null);
4423
+ const S = re(b.value).__VISIBLE__.filter((U) => !U[u.value]);
4424
+ return S[S.map((U) => U[s.value]).indexOf(b.value[s.value]) + 1];
4425
+ }), g = _(() => [...me.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), P = _(() => [...x.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), V = (S) => b.value && (!S.group && b.value[s.value] === S[s.value] || S.group !== void 0 && b.value[i.value] === S[i.value]) ? !0 : void 0, G = () => {
4426
+ w(C.value[0] || null);
4427
4427
  }, te = () => {
4428
- !b.value || b.value[u.value] === !0 || (J.value ? I(b.value) : w(b.value));
4428
+ !b.value || b.value[u.value] === !0 || (J.value ? A(b.value) : $(b.value));
4429
4429
  }, _e = () => {
4430
4430
  if (b.value === null)
4431
- $((o.value && B.value ? L.value[0].__CREATE__ ? C.value[0] : L.value[0] : C.value[0]) || null);
4432
- else if (o.value && B.value) {
4433
- let T = J.value ? S.value : le.value;
4434
- T === void 0 && (T = N.value, T.__CREATE__ && (T = T[p.value][0])), $(T || /* istanbul ignore next */
4431
+ w((o.value && Z.value ? L.value[0].__CREATE__ ? C.value[0] : L.value[0] : C.value[0]) || null);
4432
+ else if (o.value && Z.value) {
4433
+ let S = J.value ? k.value : le.value;
4434
+ S === void 0 && (S = N.value, S.__CREATE__ && (S = S[p.value][0])), w(S || /* istanbul ignore next */
4435
4435
  null);
4436
4436
  } else {
4437
- let T = C.value.map((Z) => Z[s.value]).indexOf(b.value[s.value]) + 1;
4438
- C.value.length <= T && (T = 0), $(C.value[T] || null);
4437
+ let S = C.value.map((U) => U[s.value]).indexOf(b.value[s.value]) + 1;
4438
+ C.value.length <= S && (S = 0), w(C.value[S] || null);
4439
4439
  }
4440
4440
  Ze(() => {
4441
- F();
4441
+ q();
4442
4442
  });
4443
4443
  }, Me = () => {
4444
4444
  if (b.value === null) {
4445
- let T = C.value[C.value.length - 1];
4446
- o.value && B.value && (T = P.value, T === void 0 && (T = x.value)), $(T || null);
4447
- } else if (o.value && B.value) {
4448
- let T = J.value ? g.value : j.value;
4449
- T === void 0 && (T = J.value ? me.value : se.value, T.__CREATE__ && (T = g.value, T === void 0 && (T = me.value))), $(T || /* istanbul ignore next */
4445
+ let S = C.value[C.value.length - 1];
4446
+ o.value && Z.value && (S = P.value, S === void 0 && (S = x.value)), w(S || null);
4447
+ } else if (o.value && Z.value) {
4448
+ let S = J.value ? g.value : B.value;
4449
+ S === void 0 && (S = J.value ? me.value : se.value, S.__CREATE__ && (S = g.value, S === void 0 && (S = me.value))), w(S || /* istanbul ignore next */
4450
4450
  null);
4451
4451
  } else {
4452
- let T = C.value.map((Z) => Z[s.value]).indexOf(b.value[s.value]) - 1;
4453
- T < 0 && (T = C.value.length - 1), $(C.value[T] || null);
4452
+ let S = C.value.map((U) => U[s.value]).indexOf(b.value[s.value]) - 1;
4453
+ S < 0 && (S = C.value.length - 1), w(C.value[S] || null);
4454
4454
  }
4455
4455
  Ze(() => {
4456
- F();
4456
+ q();
4457
4457
  });
4458
- }, re = (T) => L.value.find((Z) => Z.__VISIBLE__.map((ge) => ge[s.value]).indexOf(T[s.value]) !== -1), F = () => {
4459
- let T = X.value.querySelector("[data-pointed]");
4460
- if (!T)
4458
+ }, re = (S) => L.value.find((U) => U.__VISIBLE__.map((ge) => ge[s.value]).indexOf(S[s.value]) !== -1), q = () => {
4459
+ let S = X.value.querySelector("[data-pointed]");
4460
+ if (!S)
4461
4461
  return;
4462
- let Z = T.parentElement.parentElement;
4463
- o.value && (Z = J.value ? T.parentElement.parentElement.parentElement : T.parentElement.parentElement.parentElement.parentElement), T.offsetTop + T.offsetHeight > Z.clientHeight + Z.scrollTop && (Z.scrollTop = T.offsetTop + T.offsetHeight - Z.clientHeight), T.offsetTop < Z.scrollTop && (Z.scrollTop = T.offsetTop);
4462
+ let U = S.parentElement.parentElement;
4463
+ o.value && (U = J.value ? S.parentElement.parentElement.parentElement : S.parentElement.parentElement.parentElement.parentElement), S.offsetTop + S.offsetHeight > U.clientHeight + U.scrollTop && (U.scrollTop = S.offsetTop + S.offsetHeight - U.clientHeight), S.offsetTop < U.scrollTop && (U.scrollTop = S.offsetTop);
4464
4464
  };
4465
- return fe(E, (T) => {
4466
- l.value && (T.length && n.value ? G() : D());
4467
- }), fe(ne, (T) => {
4468
- if (T) {
4469
- let Z = X.value.querySelectorAll("[data-selected]")[0];
4470
- if (!Z)
4465
+ return fe(E, (S) => {
4466
+ l.value && (S.length && n.value ? G() : D());
4467
+ }), fe(ne, (S) => {
4468
+ if (S) {
4469
+ let U = X.value.querySelectorAll("[data-selected]")[0];
4470
+ if (!U)
4471
4471
  return;
4472
- let ge = Z.parentElement.parentElement;
4472
+ let ge = U.parentElement.parentElement;
4473
4473
  Ze(() => {
4474
- ge.scrollTop > 0 || (ge.scrollTop = Z.offsetTop);
4474
+ ge.scrollTop > 0 || (ge.scrollTop = U.offsetTop);
4475
4475
  });
4476
4476
  }
4477
4477
  }), {
4478
4478
  pointer: b,
4479
- canPointGroups: B,
4479
+ canPointGroups: Z,
4480
4480
  isPointed: V,
4481
4481
  setPointerFirst: G,
4482
4482
  selectPointer: te,
@@ -4497,15 +4497,15 @@ function K0(a, e, t) {
4497
4497
  };
4498
4498
  }
4499
4499
  function x0(a, e, t) {
4500
- const { searchable: s, disabled: n, clearOnBlur: l } = ye(a), i = t.input, o = t.open, v = t.close, d = t.clearSearch, u = t.isOpen, p = ee(null), h = ee(null), y = ee(null), w = ee(!1), I = ee(!1), E = _(() => s.value || n.value ? -1 : 0), b = () => {
4500
+ const { searchable: s, disabled: n, clearOnBlur: l } = ye(a), i = t.input, o = t.open, v = t.close, d = t.clearSearch, u = t.isOpen, p = ee(null), h = ee(null), y = ee(null), $ = ee(!1), A = ee(!1), E = _(() => s.value || n.value ? -1 : 0), b = () => {
4501
4501
  s.value && i.value.blur(), h.value.blur();
4502
- }, $ = () => {
4502
+ }, w = () => {
4503
4503
  s.value && !n.value && i.value.focus();
4504
4504
  }, D = (J = !0) => {
4505
- n.value || (w.value = !0, J && o());
4505
+ n.value || ($.value = !0, J && o());
4506
4506
  }, X = () => {
4507
- w.value = !1, setTimeout(() => {
4508
- w.value || (v(), l.value && d());
4507
+ $.value = !1, setTimeout(() => {
4508
+ $.value || (v(), l.value && d());
4509
4509
  }, 1);
4510
4510
  };
4511
4511
  return {
@@ -4513,14 +4513,14 @@ function x0(a, e, t) {
4513
4513
  wrapper: h,
4514
4514
  tags: y,
4515
4515
  tabindex: E,
4516
- isActive: w,
4517
- mouseClicked: I,
4516
+ isActive: $,
4517
+ mouseClicked: A,
4518
4518
  blur: b,
4519
- focus: $,
4519
+ focus: w,
4520
4520
  activate: D,
4521
4521
  deactivate: X,
4522
4522
  handleFocusIn: (J) => {
4523
- J.target.closest("[data-tags]") && J.target.nodeName !== "INPUT" || J.target.closest("[data-clear]") || D(I.value);
4523
+ J.target.closest("[data-tags]") && J.target.nodeName !== "INPUT" || J.target.closest("[data-clear]") || D(A.value);
4524
4524
  },
4525
4525
  handleFocusOut: () => {
4526
4526
  X();
@@ -4529,10 +4529,10 @@ function x0(a, e, t) {
4529
4529
  X(), b();
4530
4530
  },
4531
4531
  handleMousedown: (J) => {
4532
- I.value = !0, u.value && (J.target.isEqualNode(h.value) || J.target.isEqualNode(y.value)) ? setTimeout(() => {
4532
+ A.value = !0, u.value && (J.target.isEqualNode(h.value) || J.target.isEqualNode(y.value)) ? setTimeout(() => {
4533
4533
  X();
4534
4534
  }, 0) : document.activeElement.isEqualNode(h.value) && !u.value && D(), setTimeout(() => {
4535
- I.value = !1;
4535
+ A.value = !1;
4536
4536
  }, 0);
4537
4537
  }
4538
4538
  };
@@ -4550,8 +4550,8 @@ function X0(a, e, t) {
4550
4550
  createTag: p,
4551
4551
  createOption: h,
4552
4552
  reverse: y
4553
- } = ye(a), w = Ue().proxy, I = t.iv, E = t.update, b = t.search, $ = t.setPointer, D = t.selectPointer, X = t.backwardPointer, ne = t.forwardPointer, C = t.multiselect, L = t.wrapper, B = t.tags, J = t.isOpen, se = t.open, me = t.blur, N = t.fo, x = _(() => p.value || h.value || !1), S = _(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), j = () => {
4554
- s.value === "tags" && !o.value && x.value && i.value && !d.value && $(N.value[N.value.map((V) => V[v.value]).indexOf(b.value)]);
4553
+ } = ye(a), $ = Ue().proxy, A = t.iv, E = t.update, b = t.search, w = t.setPointer, D = t.selectPointer, X = t.backwardPointer, ne = t.forwardPointer, C = t.multiselect, L = t.wrapper, Z = t.tags, J = t.isOpen, se = t.open, me = t.blur, N = t.fo, x = _(() => p.value || h.value || !1), k = _(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), B = () => {
4554
+ s.value === "tags" && !o.value && x.value && i.value && !d.value && w(N.value[N.value.map((V) => V[v.value]).indexOf(b.value)]);
4555
4555
  }, le = (V) => {
4556
4556
  let G = V.length - 1;
4557
4557
  for (; G >= 0 && (V[G].remove === !1 || V[G].disabled); )
@@ -4560,42 +4560,42 @@ function X0(a, e, t) {
4560
4560
  };
4561
4561
  return {
4562
4562
  handleKeydown: (V) => {
4563
- e.emit("keydown", V, w);
4563
+ e.emit("keydown", V, $);
4564
4564
  let G, te;
4565
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && s.value === "tags" && (G = [...C.value.querySelectorAll("[data-tags] > *")].filter((_e) => _e !== B.value), te = G.findIndex((_e) => _e === document.activeElement)), V.key) {
4565
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && s.value === "tags" && (G = [...C.value.querySelectorAll("[data-tags] > *")].filter((_e) => _e !== Z.value), te = G.findIndex((_e) => _e === document.activeElement)), V.key) {
4566
4566
  case "Backspace":
4567
- if (s.value === "single" || i.value && [null, ""].indexOf(b.value) === -1 || I.value.length === 0)
4567
+ if (s.value === "single" || i.value && [null, ""].indexOf(b.value) === -1 || A.value.length === 0)
4568
4568
  return;
4569
- E(le([...I.value]));
4569
+ E(le([...A.value]));
4570
4570
  break;
4571
4571
  case "Enter":
4572
4572
  if (V.preventDefault(), V.keyCode === 229)
4573
4573
  return;
4574
4574
  if (te !== -1 && te !== void 0) {
4575
- E([...I.value].filter((_e, Me) => Me !== te)), te === G.length - 1 && (G.length - 1 ? G[G.length - 2].focus() : i.value ? B.value.querySelector("input").focus() : L.value.focus());
4575
+ E([...A.value].filter((_e, Me) => Me !== te)), te === G.length - 1 && (G.length - 1 ? G[G.length - 2].focus() : i.value ? Z.value.querySelector("input").focus() : L.value.focus());
4576
4576
  return;
4577
4577
  }
4578
- if (S.value.indexOf("enter") === -1 && x.value)
4578
+ if (k.value.indexOf("enter") === -1 && x.value)
4579
4579
  return;
4580
- j(), D();
4580
+ B(), D();
4581
4581
  break;
4582
4582
  case " ":
4583
4583
  if (!x.value && !i.value) {
4584
- V.preventDefault(), j(), D();
4584
+ V.preventDefault(), B(), D();
4585
4585
  return;
4586
4586
  }
4587
4587
  if (!x.value)
4588
4588
  return !1;
4589
- if (S.value.indexOf("space") === -1 && x.value)
4589
+ if (k.value.indexOf("space") === -1 && x.value)
4590
4590
  return;
4591
- V.preventDefault(), j(), D();
4591
+ V.preventDefault(), B(), D();
4592
4592
  break;
4593
4593
  case "Tab":
4594
4594
  case ";":
4595
4595
  case ",":
4596
- if (S.value.indexOf(V.key.toLowerCase()) === -1 || !x.value)
4596
+ if (k.value.indexOf(V.key.toLowerCase()) === -1 || !x.value)
4597
4597
  return;
4598
- j(), D(), V.preventDefault();
4598
+ B(), D(), V.preventDefault();
4599
4599
  break;
4600
4600
  case "Escape":
4601
4601
  me();
@@ -4611,21 +4611,21 @@ function X0(a, e, t) {
4611
4611
  J.value || se(), ne();
4612
4612
  break;
4613
4613
  case "ArrowLeft":
4614
- if (i.value && B.value && B.value.querySelector("input").selectionStart || V.shiftKey || s.value !== "tags" || !I.value || !I.value.length)
4614
+ if (i.value && Z.value && Z.value.querySelector("input").selectionStart || V.shiftKey || s.value !== "tags" || !A.value || !A.value.length)
4615
4615
  return;
4616
4616
  V.preventDefault(), te === -1 ? G[G.length - 1].focus() : te > 0 && G[te - 1].focus();
4617
4617
  break;
4618
4618
  case "ArrowRight":
4619
- if (te === -1 || V.shiftKey || s.value !== "tags" || !I.value || !I.value.length)
4619
+ if (te === -1 || V.shiftKey || s.value !== "tags" || !A.value || !A.value.length)
4620
4620
  return;
4621
- V.preventDefault(), G.length > te + 1 ? G[te + 1].focus() : i.value ? B.value.querySelector("input").focus() : i.value || L.value.focus();
4621
+ V.preventDefault(), G.length > te + 1 ? G[te + 1].focus() : i.value ? Z.value.querySelector("input").focus() : i.value || L.value.focus();
4622
4622
  break;
4623
4623
  }
4624
4624
  },
4625
4625
  handleKeyup: (V) => {
4626
- e.emit("keyup", V, w);
4626
+ e.emit("keyup", V, $);
4627
4627
  },
4628
- preparePointer: j
4628
+ preparePointer: B
4629
4629
  };
4630
4630
  }
4631
4631
  function Q0(a, e, t) {
@@ -4634,7 +4634,7 @@ function Q0(a, e, t) {
4634
4634
  disabled: n,
4635
4635
  openDirection: l,
4636
4636
  showOptions: i
4637
- } = ye(a), o = t.isOpen, v = t.isPointed, d = t.isSelected, u = t.isDisabled, p = t.isActive, h = t.canPointGroups, y = t.resolving, w = t.fo, I = _(() => ({
4637
+ } = ye(a), o = t.isOpen, v = t.isPointed, d = t.isSelected, u = t.isDisabled, p = t.isActive, h = t.canPointGroups, y = t.resolving, $ = t.fo, A = _(() => ({
4638
4638
  container: "multiselect",
4639
4639
  containerDisabled: "is-disabled",
4640
4640
  containerOpen: "is-open",
@@ -4687,49 +4687,49 @@ function Q0(a, e, t) {
4687
4687
  assist: "multiselect-assistive-text",
4688
4688
  spacer: "multiselect-spacer",
4689
4689
  ...s.value
4690
- })), E = _(() => !!(o.value && i.value && (!y.value || y.value && w.value.length)));
4690
+ })), E = _(() => !!(o.value && i.value && (!y.value || y.value && $.value.length)));
4691
4691
  return {
4692
4692
  classList: _(() => {
4693
- const $ = I.value;
4693
+ const w = A.value;
4694
4694
  return {
4695
- container: [$.container].concat(n.value ? $.containerDisabled : []).concat(E.value && l.value === "top" ? $.containerOpenTop : []).concat(E.value && l.value !== "top" ? $.containerOpen : []).concat(p.value ? $.containerActive : []),
4696
- wrapper: $.wrapper,
4697
- spacer: $.spacer,
4698
- singleLabel: $.singleLabel,
4699
- singleLabelText: $.singleLabelText,
4700
- multipleLabel: $.multipleLabel,
4701
- search: $.search,
4702
- tags: $.tags,
4703
- tag: [$.tag].concat(n.value ? $.tagDisabled : []),
4704
- tagDisabled: $.tagDisabled,
4705
- tagRemove: $.tagRemove,
4706
- tagRemoveIcon: $.tagRemoveIcon,
4707
- tagsSearchWrapper: $.tagsSearchWrapper,
4708
- tagsSearch: $.tagsSearch,
4709
- tagsSearchCopy: $.tagsSearchCopy,
4710
- placeholder: $.placeholder,
4711
- caret: [$.caret].concat(o.value ? $.caretOpen : []),
4712
- clear: $.clear,
4713
- clearIcon: $.clearIcon,
4714
- spinner: $.spinner,
4715
- inifinite: $.inifinite,
4716
- inifiniteSpinner: $.inifiniteSpinner,
4717
- dropdown: [$.dropdown].concat(l.value === "top" ? $.dropdownTop : []).concat(!o.value || !i.value || !E.value ? $.dropdownHidden : []),
4718
- options: [$.options].concat(l.value === "top" ? $.optionsTop : []),
4719
- group: $.group,
4695
+ container: [w.container].concat(n.value ? w.containerDisabled : []).concat(E.value && l.value === "top" ? w.containerOpenTop : []).concat(E.value && l.value !== "top" ? w.containerOpen : []).concat(p.value ? w.containerActive : []),
4696
+ wrapper: w.wrapper,
4697
+ spacer: w.spacer,
4698
+ singleLabel: w.singleLabel,
4699
+ singleLabelText: w.singleLabelText,
4700
+ multipleLabel: w.multipleLabel,
4701
+ search: w.search,
4702
+ tags: w.tags,
4703
+ tag: [w.tag].concat(n.value ? w.tagDisabled : []),
4704
+ tagDisabled: w.tagDisabled,
4705
+ tagRemove: w.tagRemove,
4706
+ tagRemoveIcon: w.tagRemoveIcon,
4707
+ tagsSearchWrapper: w.tagsSearchWrapper,
4708
+ tagsSearch: w.tagsSearch,
4709
+ tagsSearchCopy: w.tagsSearchCopy,
4710
+ placeholder: w.placeholder,
4711
+ caret: [w.caret].concat(o.value ? w.caretOpen : []),
4712
+ clear: w.clear,
4713
+ clearIcon: w.clearIcon,
4714
+ spinner: w.spinner,
4715
+ inifinite: w.inifinite,
4716
+ inifiniteSpinner: w.inifiniteSpinner,
4717
+ dropdown: [w.dropdown].concat(l.value === "top" ? w.dropdownTop : []).concat(!o.value || !i.value || !E.value ? w.dropdownHidden : []),
4718
+ options: [w.options].concat(l.value === "top" ? w.optionsTop : []),
4719
+ group: w.group,
4720
4720
  groupLabel: (D) => {
4721
- let X = [$.groupLabel];
4722
- return v(D) ? X.push(d(D) ? $.groupLabelSelectedPointed : $.groupLabelPointed) : d(D) && h.value ? X.push(u(D) ? $.groupLabelSelectedDisabled : $.groupLabelSelected) : u(D) && X.push($.groupLabelDisabled), h.value && X.push($.groupLabelPointable), X;
4721
+ let X = [w.groupLabel];
4722
+ return v(D) ? X.push(d(D) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : d(D) && h.value ? X.push(u(D) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : u(D) && X.push(w.groupLabelDisabled), h.value && X.push(w.groupLabelPointable), X;
4723
4723
  },
4724
- groupOptions: $.groupOptions,
4724
+ groupOptions: w.groupOptions,
4725
4725
  option: (D, X) => {
4726
- let ne = [$.option];
4727
- return v(D) ? ne.push(d(D) ? $.optionSelectedPointed : $.optionPointed) : d(D) ? ne.push(u(D) ? $.optionSelectedDisabled : $.optionSelected) : (u(D) || X && u(X)) && ne.push($.optionDisabled), ne;
4726
+ let ne = [w.option];
4727
+ return v(D) ? ne.push(d(D) ? w.optionSelectedPointed : w.optionPointed) : d(D) ? ne.push(u(D) ? w.optionSelectedDisabled : w.optionSelected) : (u(D) || X && u(X)) && ne.push(w.optionDisabled), ne;
4728
4728
  },
4729
- noOptions: $.noOptions,
4730
- noResults: $.noResults,
4731
- assist: $.assist,
4732
- fakeInput: $.fakeInput
4729
+ noOptions: w.noOptions,
4730
+ noResults: w.noResults,
4731
+ assist: w.assist,
4732
+ fakeInput: w.fakeInput
4733
4733
  };
4734
4734
  }),
4735
4735
  showDropdown: E
@@ -4739,23 +4739,23 @@ function J0(a, e, t) {
4739
4739
  const {
4740
4740
  limit: s,
4741
4741
  infinite: n
4742
- } = ye(a), l = t.isOpen, i = t.offset, o = t.search, v = t.pfo, d = t.eo, u = ee(null), p = ee(null), h = _(() => i.value < v.value.length), y = (I) => {
4743
- const { isIntersecting: E, target: b } = I[0];
4742
+ } = ye(a), l = t.isOpen, i = t.offset, o = t.search, v = t.pfo, d = t.eo, u = ee(null), p = ee(null), h = _(() => i.value < v.value.length), y = (A) => {
4743
+ const { isIntersecting: E, target: b } = A[0];
4744
4744
  if (E) {
4745
- const $ = b.offsetParent, D = $.scrollTop;
4745
+ const w = b.offsetParent, D = w.scrollTop;
4746
4746
  i.value += s.value == -1 ? 10 : s.value, Ze(() => {
4747
- $.scrollTop = D;
4747
+ w.scrollTop = D;
4748
4748
  });
4749
4749
  }
4750
- }, w = () => {
4750
+ }, $ = () => {
4751
4751
  l.value && i.value < v.value.length ? u.value.observe(p.value) : !l.value && u.value && u.value.disconnect();
4752
4752
  };
4753
4753
  return fe(l, () => {
4754
- n.value && w();
4754
+ n.value && $();
4755
4755
  }), fe(o, () => {
4756
- n.value && (i.value = s.value, w());
4756
+ n.value && (i.value = s.value, $());
4757
4757
  }, { flush: "post" }), fe(d, () => {
4758
- n.value && w();
4758
+ n.value && $();
4759
4759
  }, { immediate: !1, flush: "post" }), Ot(() => {
4760
4760
  window && window.IntersectionObserver && (u.value = new IntersectionObserver(y));
4761
4761
  }), {
@@ -4773,26 +4773,26 @@ function e5(a, e, t) {
4773
4773
  groupLabel: v,
4774
4774
  aria: d,
4775
4775
  searchable: u
4776
- } = ye(a), p = t.pointer, h = t.iv, y = t.hasSelected, w = t.multipleLabelText, I = ee(null), E = _(() => {
4776
+ } = ye(a), p = t.pointer, h = t.iv, y = t.hasSelected, $ = t.multipleLabelText, A = ee(null), E = _(() => {
4777
4777
  let N = [];
4778
4778
  return n && n.value && N.push(n.value), N.push("assist"), N.join("-");
4779
4779
  }), b = _(() => {
4780
4780
  let N = [];
4781
4781
  return n && n.value && N.push(n.value), N.push("multiselect-options"), N.join("-");
4782
- }), $ = _(() => {
4782
+ }), w = _(() => {
4783
4783
  let N = [];
4784
4784
  if (n && n.value && N.push(n.value), p.value)
4785
4785
  return N.push(p.value.group ? "multiselect-group" : "multiselect-option"), N.push(p.value.group ? p.value.index : p.value[l.value]), N.join("-");
4786
4786
  }), D = _(() => s.value), X = _(() => o.value !== "single"), ne = _(() => {
4787
4787
  let N = "";
4788
- return o.value === "single" && y.value && (N += h.value[i.value]), o.value === "multiple" && y.value && (N += w.value), o.value === "tags" && y.value && (N += h.value.map((x) => x[i.value]).join(", ")), N;
4788
+ return o.value === "single" && y.value && (N += h.value[i.value]), o.value === "multiple" && y.value && (N += $.value), o.value === "tags" && y.value && (N += h.value.map((x) => x[i.value]).join(", ")), N;
4789
4789
  }), C = _(() => {
4790
4790
  let N = { ...d.value };
4791
4791
  return u.value && (N["aria-labelledby"] = N["aria-labelledby"] ? `${E.value} ${N["aria-labelledby"]}` : E.value, ne.value && N["aria-label"] && (N["aria-label"] = `${ne.value}, ${N["aria-label"]}`)), N;
4792
4792
  }), L = (N) => {
4793
4793
  let x = [];
4794
4794
  return n && n.value && x.push(n.value), x.push("multiselect-option"), x.push(N[l.value]), x.join("-");
4795
- }, B = (N) => {
4795
+ }, Z = (N) => {
4796
4796
  let x = [];
4797
4797
  return n && n.value && x.push(n.value), x.push("multiselect-group"), x.push(N.index), x.join("-");
4798
4798
  }, J = (N) => {
@@ -4805,7 +4805,7 @@ function e5(a, e, t) {
4805
4805
  return Ot(() => {
4806
4806
  if (n && n.value && document && document.querySelector) {
4807
4807
  let N = document.querySelector(`[for="${n.value}"]`);
4808
- I.value = N ? N.innerText : null;
4808
+ A.value = N ? N.innerText : null;
4809
4809
  }
4810
4810
  }), {
4811
4811
  arias: C,
@@ -4814,10 +4814,10 @@ function e5(a, e, t) {
4814
4814
  ariaControls: b,
4815
4815
  ariaPlaceholder: D,
4816
4816
  ariaMultiselectable: X,
4817
- ariaActiveDescendant: $,
4817
+ ariaActiveDescendant: w,
4818
4818
  ariaOptionId: L,
4819
4819
  ariaOptionLabel: J,
4820
- ariaGroupId: B,
4820
+ ariaGroupId: Z,
4821
4821
  ariaGroupLabel: se,
4822
4822
  ariaTagLabel: me
4823
4823
  };
@@ -5178,9 +5178,9 @@ var pe = {
5178
5178
  return a5(a, e, [
5179
5179
  t5,
5180
5180
  R0,
5181
- F0,
5182
- K0,
5183
5181
  q0,
5182
+ K0,
5183
+ F0,
5184
5184
  j0,
5185
5185
  x0,
5186
5186
  Y0,
@@ -5216,7 +5216,7 @@ function $5(a, e, t, s, n, l) {
5216
5216
  "aria-multiselectable": t.searchable ? void 0 : a.ariaMultiselectable,
5217
5217
  role: t.searchable ? void 0 : "combobox"
5218
5218
  }, t.searchable ? {} : a.arias), [
5219
- k(" Search "),
5219
+ T(" Search "),
5220
5220
  t.mode !== "tags" && t.searchable && !t.disabled ? (c(), f("input", Pe({
5221
5221
  key: 0,
5222
5222
  type: t.inputType,
@@ -5238,8 +5238,8 @@ function $5(a, e, t, s, n, l) {
5238
5238
  }, {
5239
5239
  ...t.attrs,
5240
5240
  ...a.arias
5241
- }), null, 16, i5)) : k("v-if", !0),
5242
- k(" Tags (with search) "),
5241
+ }), null, 16, i5)) : T("v-if", !0),
5242
+ T(" Tags (with search) "),
5243
5243
  t.mode == "tags" ? (c(), f(
5244
5244
  "div",
5245
5245
  {
@@ -5267,7 +5267,7 @@ function $5(a, e, t, s, n, l) {
5267
5267
  "aria-label": a.ariaTagLabel(a.localize(i[t.label]))
5268
5268
  }, [
5269
5269
  t1(
5270
- R(a.localize(i[t.label])) + " ",
5270
+ j(a.localize(i[t.label])) + " ",
5271
5271
  1
5272
5272
  /* TEXT */
5273
5273
  ),
@@ -5285,7 +5285,7 @@ function $5(a, e, t, s, n, l) {
5285
5285
  2
5286
5286
  /* CLASS */
5287
5287
  )
5288
- ], 10, o5)) : k("v-if", !0)
5288
+ ], 10, o5)) : T("v-if", !0)
5289
5289
  ], 42, l5))
5290
5290
  ])),
5291
5291
  256
@@ -5298,17 +5298,17 @@ function $5(a, e, t, s, n, l) {
5298
5298
  ref: "tags"
5299
5299
  },
5300
5300
  [
5301
- k(" Used for measuring search width "),
5301
+ T(" Used for measuring search width "),
5302
5302
  r(
5303
5303
  "span",
5304
5304
  {
5305
5305
  class: W(a.classList.tagsSearchCopy)
5306
5306
  },
5307
- R(a.search),
5307
+ j(a.search),
5308
5308
  3
5309
5309
  /* TEXT, CLASS */
5310
5310
  ),
5311
- k(" Actual search input "),
5311
+ T(" Actual search input "),
5312
5312
  t.searchable && !t.disabled ? (c(), f("input", Pe({
5313
5313
  key: 0,
5314
5314
  type: t.inputType,
@@ -5330,7 +5330,7 @@ function $5(a, e, t, s, n, l) {
5330
5330
  }, {
5331
5331
  ...t.attrs,
5332
5332
  ...a.arias
5333
- }), null, 16, r5)) : k("v-if", !0)
5333
+ }), null, 16, r5)) : T("v-if", !0)
5334
5334
  ],
5335
5335
  2
5336
5336
  /* CLASS */
@@ -5338,8 +5338,8 @@ function $5(a, e, t, s, n, l) {
5338
5338
  ],
5339
5339
  2
5340
5340
  /* CLASS */
5341
- )) : k("v-if", !0),
5342
- k(" Single label "),
5341
+ )) : T("v-if", !0),
5342
+ T(" Single label "),
5343
5343
  t.mode == "single" && a.hasSelected && !a.search && a.iv ? K(a.$slots, "singlelabel", {
5344
5344
  key: 2,
5345
5345
  value: a.iv
@@ -5355,7 +5355,7 @@ function $5(a, e, t, s, n, l) {
5355
5355
  {
5356
5356
  class: W(a.classList.singleLabelText)
5357
5357
  },
5358
- R(a.localize(a.iv[t.label])),
5358
+ j(a.localize(a.iv[t.label])),
5359
5359
  3
5360
5360
  /* TEXT, CLASS */
5361
5361
  )
@@ -5363,8 +5363,8 @@ function $5(a, e, t, s, n, l) {
5363
5363
  2
5364
5364
  /* CLASS */
5365
5365
  )
5366
- ]) : k("v-if", !0),
5367
- k(" Multiple label "),
5366
+ ]) : T("v-if", !0),
5367
+ T(" Multiple label "),
5368
5368
  t.mode == "multiple" && a.hasSelected && !a.search ? K(a.$slots, "multiplelabel", {
5369
5369
  key: 3,
5370
5370
  values: a.iv
@@ -5373,8 +5373,8 @@ function $5(a, e, t, s, n, l) {
5373
5373
  class: W(a.classList.multipleLabel),
5374
5374
  innerHTML: a.multipleLabelText
5375
5375
  }, null, 10, u5)
5376
- ]) : k("v-if", !0),
5377
- k(" Placeholder "),
5376
+ ]) : T("v-if", !0),
5377
+ T(" Placeholder "),
5378
5378
  t.placeholder && !a.hasSelected && !a.search ? K(a.$slots, "placeholder", { key: 4 }, () => [
5379
5379
  r(
5380
5380
  "div",
@@ -5382,12 +5382,12 @@ function $5(a, e, t, s, n, l) {
5382
5382
  class: W(a.classList.placeholder),
5383
5383
  "aria-hidden": "true"
5384
5384
  },
5385
- R(t.placeholder),
5385
+ j(t.placeholder),
5386
5386
  3
5387
5387
  /* TEXT, CLASS */
5388
5388
  )
5389
- ]) : k("v-if", !0),
5390
- k(" Spinner "),
5389
+ ]) : T("v-if", !0),
5390
+ T(" Spinner "),
5391
5391
  t.loading || a.resolving ? K(a.$slots, "spinner", { key: 5 }, () => [
5392
5392
  r(
5393
5393
  "span",
@@ -5399,8 +5399,8 @@ function $5(a, e, t, s, n, l) {
5399
5399
  2
5400
5400
  /* CLASS */
5401
5401
  )
5402
- ]) : k("v-if", !0),
5403
- k(" Clear "),
5402
+ ]) : T("v-if", !0),
5403
+ T(" Clear "),
5404
5404
  a.hasSelected && !t.disabled && t.canClear && !a.busy ? K(a.$slots, "clear", {
5405
5405
  key: 6,
5406
5406
  clear: a.clear
@@ -5431,8 +5431,8 @@ function $5(a, e, t, s, n, l) {
5431
5431
  34
5432
5432
  /* CLASS, HYDRATE_EVENTS */
5433
5433
  )
5434
- ]) : k("v-if", !0),
5435
- k(" Caret "),
5434
+ ]) : T("v-if", !0),
5435
+ T(" Caret "),
5436
5436
  t.caret && t.showOptions ? K(a.$slots, "caret", { key: 7 }, () => [
5437
5437
  r(
5438
5438
  "span",
@@ -5445,9 +5445,9 @@ function $5(a, e, t, s, n, l) {
5445
5445
  2
5446
5446
  /* CLASS */
5447
5447
  )
5448
- ]) : k("v-if", !0)
5448
+ ]) : T("v-if", !0)
5449
5449
  ], 16, s5),
5450
- k(" Options "),
5450
+ T(" Options "),
5451
5451
  r(
5452
5452
  "div",
5453
5453
  {
@@ -5472,7 +5472,7 @@ function $5(a, e, t, s, n, l) {
5472
5472
  "aria-selected": a.isSelected(i),
5473
5473
  role: "option"
5474
5474
  }, [
5475
- i.__CREATE__ ? k("v-if", !0) : (c(), f("div", {
5475
+ i.__CREATE__ ? T("v-if", !0) : (c(), f("div", {
5476
5476
  key: 0,
5477
5477
  class: W(a.classList.groupLabel(i)),
5478
5478
  "data-pointed": a.isPointed(i),
@@ -5518,7 +5518,7 @@ function $5(a, e, t, s, n, l) {
5518
5518
  r(
5519
5519
  "span",
5520
5520
  null,
5521
- R(a.localize(d[t.label])),
5521
+ j(a.localize(d[t.label])),
5522
5522
  1
5523
5523
  /* TEXT */
5524
5524
  )
@@ -5555,7 +5555,7 @@ function $5(a, e, t, s, n, l) {
5555
5555
  r(
5556
5556
  "span",
5557
5557
  null,
5558
- R(a.localize(i[t.label])),
5558
+ j(a.localize(i[t.label])),
5559
5559
  1
5560
5560
  /* TEXT */
5561
5561
  )
@@ -5570,13 +5570,13 @@ function $5(a, e, t, s, n, l) {
5570
5570
  class: W(a.classList.noOptions),
5571
5571
  innerHTML: a.localize(t.noOptionsText)
5572
5572
  }, null, 10, C5)
5573
- ]) : k("v-if", !0),
5573
+ ]) : T("v-if", !0),
5574
5574
  a.noResults ? K(a.$slots, "noresults", { key: 1 }, () => [
5575
5575
  r("div", {
5576
5576
  class: W(a.classList.noResults),
5577
5577
  innerHTML: a.localize(t.noResultsText)
5578
5578
  }, null, 10, _5)
5579
- ]) : k("v-if", !0),
5579
+ ]) : T("v-if", !0),
5580
5580
  t.infinite && a.hasMore ? (c(), f(
5581
5581
  "div",
5582
5582
  {
@@ -5599,21 +5599,21 @@ function $5(a, e, t, s, n, l) {
5599
5599
  ],
5600
5600
  2
5601
5601
  /* CLASS */
5602
- )) : k("v-if", !0),
5602
+ )) : T("v-if", !0),
5603
5603
  K(a.$slots, "afterlist", { options: a.fo })
5604
5604
  ],
5605
5605
  2
5606
5606
  /* CLASS */
5607
5607
  ),
5608
- k(" Hacky input element to show HTML5 required warning "),
5608
+ T(" Hacky input element to show HTML5 required warning "),
5609
5609
  t.required ? (c(), f("input", {
5610
5610
  key: 0,
5611
5611
  class: W(a.classList.fakeInput),
5612
5612
  tabindex: "-1",
5613
5613
  value: a.textValue,
5614
5614
  required: ""
5615
- }, null, 10, g5)) : k("v-if", !0),
5616
- k(" Native input support "),
5615
+ }, null, 10, g5)) : T("v-if", !0),
5616
+ T(" Native input support "),
5617
5617
  t.nativeSupport ? (c(), f(
5618
5618
  oe,
5619
5619
  { key: 1 },
@@ -5638,15 +5638,15 @@ function $5(a, e, t, s, n, l) {
5638
5638
  ],
5639
5639
  64
5640
5640
  /* STABLE_FRAGMENT */
5641
- )) : k("v-if", !0),
5642
- k(" Screen reader assistive text "),
5641
+ )) : T("v-if", !0),
5642
+ T(" Screen reader assistive text "),
5643
5643
  t.searchable && a.hasSelected ? (c(), f("div", {
5644
5644
  key: 2,
5645
5645
  class: W(a.classList.assist),
5646
5646
  id: a.ariaAssist,
5647
5647
  "aria-hidden": "true"
5648
- }, R(a.ariaLabel), 11, w5)) : k("v-if", !0),
5649
- k(" Create height for empty input "),
5648
+ }, j(a.ariaLabel), 11, w5)) : T("v-if", !0),
5649
+ T(" Create height for empty input "),
5650
5650
  r(
5651
5651
  "div",
5652
5652
  {
@@ -5660,10 +5660,10 @@ function $5(a, e, t, s, n, l) {
5660
5660
  }
5661
5661
  pe.render = $5;
5662
5662
  pe.__file = "src/Multiselect.vue";
5663
- const M5 = { class: "ao-modal__wrapper" }, k5 = { class: "ao-modal" }, S5 = { class: "ao-modal__header" }, T5 = { class: "ao-modal__header-meta" }, A5 = {
5663
+ const M5 = { class: "ao-modal__wrapper" }, k5 = { class: "ao-modal" }, T5 = { class: "ao-modal__header" }, S5 = { class: "ao-modal__header-meta" }, A5 = {
5664
5664
  key: 0,
5665
5665
  class: "ao-modal__title-group"
5666
- }, I5 = { class: "ao-modal__body" }, q1 = /* @__PURE__ */ Y({
5666
+ }, I5 = { class: "ao-modal__body" }, F1 = /* @__PURE__ */ Y({
5667
5667
  __name: "AoModal",
5668
5668
  emits: ["close"],
5669
5669
  setup(a) {
@@ -5673,8 +5673,8 @@ const M5 = { class: "ao-modal__wrapper" }, k5 = { class: "ao-modal" }, S5 = { cl
5673
5673
  onClick: t[0] || (t[0] = (s) => e.$emit("close"))
5674
5674
  }),
5675
5675
  r("div", k5, [
5676
- r("div", S5, [
5677
- r("div", T5, [
5676
+ r("div", T5, [
5677
+ r("div", S5, [
5678
5678
  M(de, {
5679
5679
  "icon-name": "CloseRounded",
5680
5680
  variant: "ghost",
@@ -5684,7 +5684,7 @@ const M5 = { class: "ao-modal__wrapper" }, k5 = { class: "ao-modal" }, S5 = { cl
5684
5684
  ]),
5685
5685
  e.$slots.header ? (c(), f("header", A5, [
5686
5686
  K(e.$slots, "header")
5687
- ])) : k("", !0)
5687
+ ])) : T("", !0)
5688
5688
  ]),
5689
5689
  r("div", I5, [
5690
5690
  K(e.$slots, "default")
@@ -5732,7 +5732,7 @@ const L5 = { class: "ao-tasks" }, E5 = { class: "ao-tasks__list" }, V5 = ["value
5732
5732
  props: {
5733
5733
  activityId: {},
5734
5734
  tasks: {},
5735
- isCheckable: { type: Boolean },
5735
+ isCheckable: { type: Function },
5736
5736
  users: {}
5737
5737
  },
5738
5738
  emits: ["add", "delete", "update"],
@@ -5773,43 +5773,43 @@ const L5 = { class: "ao-tasks" }, E5 = { class: "ao-tasks__list" }, V5 = ["value
5773
5773
  return (u, p) => (c(), f("div", L5, [
5774
5774
  r("ul", E5, [
5775
5775
  (c(!0), f(oe, null, he(u.tasks, (h) => {
5776
- var y;
5776
+ var y, $;
5777
5777
  return c(), f("li", {
5778
5778
  key: h.id,
5779
5779
  class: "ao-subtask"
5780
5780
  }, [
5781
- u.isCheckable ? (c(), U(de, {
5781
+ ((y = u.isCheckable) == null ? void 0 : y.call(u, h)) ?? !1 ? (c(), R(de, {
5782
5782
  key: 0,
5783
5783
  class: "ao-subtask__delete",
5784
5784
  "icon-name": h.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
5785
5785
  variant: "ghost",
5786
5786
  onClick: () => o(h.id, !h.isDone)
5787
- }, null, 8, ["icon-name", "onClick"])) : k("", !0),
5787
+ }, null, 8, ["icon-name", "onClick"])) : T("", !0),
5788
5788
  r("input", {
5789
5789
  value: h.name,
5790
5790
  class: "ao-field__input ao-subtask__field",
5791
5791
  type: "text",
5792
- onChange: (w) => i(w, h.id)
5792
+ onChange: (A) => i(A, h.id)
5793
5793
  }, null, 40, V5),
5794
- u.users ? (c(), U(H(pe), {
5794
+ u.users ? (c(), R(H(pe), {
5795
5795
  key: 1,
5796
- value: (y = h.assignee) == null ? void 0 : y.id,
5796
+ value: ($ = h.assignee) == null ? void 0 : $.id,
5797
5797
  options: n.value,
5798
5798
  "close-on-select": !1,
5799
5799
  searchable: !0,
5800
5800
  class: "ao-subtask__assignees",
5801
5801
  placeholder: u.$t("feed.filters.assignee.placeholder"),
5802
- onChange: (w) => d(w, h.id)
5802
+ onChange: (A) => d(A, h.id)
5803
5803
  }, {
5804
- tag: q(({ option: w, handleTagRemove: I }) => [
5804
+ tag: F(({ option: A, handleTagRemove: E }) => [
5805
5805
  M(tt, {
5806
- "user-name": w.label,
5806
+ "user-name": A.label,
5807
5807
  "is-closable": !0,
5808
- onClose: (E) => I(w, E)
5808
+ onClose: (b) => E(A, b)
5809
5809
  }, null, 8, ["user-name", "onClose"])
5810
5810
  ]),
5811
5811
  _: 2
5812
- }, 1032, ["value", "options", "placeholder", "onChange"])) : k("", !0),
5812
+ }, 1032, ["value", "options", "placeholder", "onChange"])) : T("", !0),
5813
5813
  M(de, {
5814
5814
  class: "ao-subtask__delete",
5815
5815
  "icon-name": "CloseRounded",
@@ -5837,7 +5837,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
5837
5837
  }, B5 = ["href"], Z5 = { class: "ao-file__title" }, U5 = {
5838
5838
  key: 1,
5839
5839
  class: "ao-files__dropzone"
5840
- }, j5 = { class: "ao-files__input" }, R5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, q5 = { class: "ao-files__placeholder" }, F5 = /* @__PURE__ */ Y({
5840
+ }, j5 = { class: "ao-files__input" }, R5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, F5 = { class: "ao-files__placeholder" }, q5 = /* @__PURE__ */ Y({
5841
5841
  __name: "AoActivityDetailsFiles",
5842
5842
  props: {
5843
5843
  attachments: {}
@@ -5908,7 +5908,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
5908
5908
  name: "AttachFileRounded",
5909
5909
  size: "sm"
5910
5910
  }),
5911
- r("span", Z5, R(h.name), 1)
5911
+ r("span", Z5, j(h.name), 1)
5912
5912
  ], 8, B5),
5913
5913
  M(de, {
5914
5914
  class: "ao-files__delete-button",
@@ -5922,7 +5922,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
5922
5922
  ]))), 128))
5923
5923
  ])) : (c(), f("div", U5, [
5924
5924
  r("label", j5, [
5925
- r("span", R5, R(d.$t("activity.attachment.button.resting")), 1),
5925
+ r("span", R5, j(d.$t("activity.attachment.button.resting")), 1),
5926
5926
  r("input", {
5927
5927
  class: "input-field",
5928
5928
  type: "file",
@@ -5932,7 +5932,7 @@ const P5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], N5 = {
5932
5932
  onChange: s
5933
5933
  }, null, 32)
5934
5934
  ]),
5935
- r("span", q5, R(d.$t("activity.attachment.placeholder.resting")), 1)
5935
+ r("span", F5, j(d.$t("activity.attachment.placeholder.resting")), 1)
5936
5936
  ]))
5937
5937
  ], 42, P5);
5938
5938
  };
@@ -5951,7 +5951,8 @@ const z5 = {
5951
5951
  templateActivities: {},
5952
5952
  templateMilestones: {},
5953
5953
  isTemplate: { type: Boolean },
5954
- users: {}
5954
+ users: {},
5955
+ isTaskCheckable: { type: Function }
5955
5956
  },
5956
5957
  emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile"],
5957
5958
  setup(a, { emit: e }) {
@@ -6006,7 +6007,7 @@ const z5 = {
6006
6007
  var L;
6007
6008
  return {
6008
6009
  ...C,
6009
- disabled: (L = t.activity.blocking) == null ? void 0 : L.some((B) => B === C.value)
6010
+ disabled: (L = t.activity.blocking) == null ? void 0 : L.some((Z) => Z === C.value)
6010
6011
  };
6011
6012
  })), p = _({
6012
6013
  get() {
@@ -6022,12 +6023,12 @@ const z5 = {
6022
6023
  var L;
6023
6024
  return {
6024
6025
  ...C,
6025
- disabled: (L = t.activity.dependingOn) == null ? void 0 : L.some((B) => B === C.value)
6026
+ disabled: (L = t.activity.dependingOn) == null ? void 0 : L.some((Z) => Z === C.value)
6026
6027
  };
6027
6028
  })), y = _(() => (t.templateMilestones || []).filter((L) => L.id !== t.milestoneId).map((L) => ({
6028
6029
  label: L.name,
6029
6030
  value: L.id
6030
- }))), w = _({
6031
+ }))), $ = _({
6031
6032
  get() {
6032
6033
  return t.activity.dependingMilestones;
6033
6034
  },
@@ -6037,13 +6038,13 @@ const z5 = {
6037
6038
  dependingMilestones: C
6038
6039
  });
6039
6040
  }
6040
- }), I = (C) => {
6041
+ }), A = (C) => {
6041
6042
  e("addSubtask", C);
6042
6043
  }, E = (C) => {
6043
6044
  e("updateSubtask", C);
6044
6045
  }, b = (C) => {
6045
6046
  e("deleteSubtask", C);
6046
- }, $ = _(() => {
6047
+ }, w = _(() => {
6047
6048
  var C;
6048
6049
  return ((C = t.users) == null ? void 0 : C.map((L) => ({
6049
6050
  label: `${L.firstName} ${L.lastName}`,
@@ -6071,12 +6072,12 @@ const z5 = {
6071
6072
  file: C
6072
6073
  });
6073
6074
  };
6074
- return (C, L) => (c(), U(q1, {
6075
- onClose: L[8] || (L[8] = (B) => C.$emit("close"))
6075
+ return (C, L) => (c(), R(F1, {
6076
+ onClose: L[8] || (L[8] = (Z) => C.$emit("close"))
6076
6077
  }, {
6077
- header: q(() => [
6078
+ header: F(() => [
6078
6079
  K(C.$slots, "header", {}, () => [
6079
- C.breadcrumbs ? (c(), f("div", z5, R(C.breadcrumbs), 1)) : k("", !0),
6080
+ C.breadcrumbs ? (c(), f("div", z5, j(C.breadcrumbs), 1)) : T("", !0),
6080
6081
  M(ve, {
6081
6082
  title: C.activity.name || C.activity.id,
6082
6083
  level: 4,
@@ -6085,14 +6086,14 @@ const z5 = {
6085
6086
  }, null, 8, ["title"])
6086
6087
  ])
6087
6088
  ]),
6088
- default: q(() => [
6089
+ default: F(() => [
6089
6090
  r("div", W5, [
6090
6091
  r("fieldset", Y5, [
6091
6092
  r("div", G5, [
6092
6093
  r("label", K5, [
6093
- r("span", x5, R(C.$t("activity.description.label")), 1),
6094
+ r("span", x5, j(C.$t("activity.description.label")), 1),
6094
6095
  xe(r("textarea", {
6095
- "onUpdate:modelValue": L[0] || (L[0] = (B) => n.value = B),
6096
+ "onUpdate:modelValue": L[0] || (L[0] = (Z) => n.value = Z),
6096
6097
  rows: "4",
6097
6098
  class: "ao-field__textarea"
6098
6099
  }, null, 512), [
@@ -6110,9 +6111,9 @@ const z5 = {
6110
6111
  ]),
6111
6112
  r("div", X5, [
6112
6113
  r("label", Q5, [
6113
- r("span", J5, R(C.$t("activity.estimation.label")), 1),
6114
+ r("span", J5, j(C.$t("activity.estimation.label")), 1),
6114
6115
  xe(r("input", {
6115
- "onUpdate:modelValue": L[1] || (L[1] = (B) => l.value = B),
6116
+ "onUpdate:modelValue": L[1] || (L[1] = (Z) => l.value = Z),
6116
6117
  class: "ao-field__input",
6117
6118
  type: "number",
6118
6119
  min: "0"
@@ -6129,9 +6130,9 @@ const z5 = {
6129
6130
  ])
6130
6131
  ]),
6131
6132
  r("label", e7, [
6132
- r("span", t7, R(C.$t("activity.important.label")), 1),
6133
+ r("span", t7, j(C.$t("activity.important.label")), 1),
6133
6134
  xe(r("input", {
6134
- "onUpdate:modelValue": L[2] || (L[2] = (B) => i.value = B),
6135
+ "onUpdate:modelValue": L[2] || (L[2] = (Z) => i.value = Z),
6135
6136
  class: "ao-field__input",
6136
6137
  type: "checkbox"
6137
6138
  }, null, 512), [
@@ -6146,21 +6147,21 @@ const z5 = {
6146
6147
  ]),
6147
6148
  r("div", a7, [
6148
6149
  r("div", n7, [
6149
- r("span", s7, R(C.$t("activity.assignee.label")), 1),
6150
+ r("span", s7, j(C.$t("activity.assignee.label")), 1),
6150
6151
  M(H(pe), {
6151
6152
  modelValue: D.value,
6152
- "onUpdate:modelValue": L[3] || (L[3] = (B) => D.value = B),
6153
- options: $.value,
6153
+ "onUpdate:modelValue": L[3] || (L[3] = (Z) => D.value = Z),
6154
+ options: w.value,
6154
6155
  "close-on-select": !1,
6155
6156
  searchable: !0,
6156
6157
  class: "ao-activity-details__assignees",
6157
6158
  placeholder: C.$t("activity.filters.assignee.placeholder")
6158
6159
  }, {
6159
- tag: q(({ option: B, handleTagRemove: J }) => [
6160
+ tag: F(({ option: Z, handleTagRemove: J }) => [
6160
6161
  M(tt, {
6161
- "user-name": B.label,
6162
+ "user-name": Z.label,
6162
6163
  "is-closable": !0,
6163
- onClose: (se) => J(B, se)
6164
+ onClose: (se) => J(Z, se)
6164
6165
  }, null, 8, ["user-name", "onClose"])
6165
6166
  ]),
6166
6167
  _: 1
@@ -6169,10 +6170,10 @@ const z5 = {
6169
6170
  ]),
6170
6171
  r("div", i7, [
6171
6172
  r("label", l7, [
6172
- r("span", o7, R(C.$t("activity.type.label")), 1),
6173
+ r("span", o7, j(C.$t("activity.type.label")), 1),
6173
6174
  M(H(pe), {
6174
6175
  modelValue: o.value,
6175
- "onUpdate:modelValue": L[4] || (L[4] = (B) => o.value = B),
6176
+ "onUpdate:modelValue": L[4] || (L[4] = (Z) => o.value = Z),
6176
6177
  class: "ao-field__multiselect",
6177
6178
  mode: "single",
6178
6179
  searchable: !0,
@@ -6193,10 +6194,10 @@ const z5 = {
6193
6194
  ]),
6194
6195
  r("div", c7, [
6195
6196
  r("label", d7, [
6196
- r("span", v7, R(C.$t("activity.dependingOn.label")), 1),
6197
+ r("span", v7, j(C.$t("activity.dependingOn.label")), 1),
6197
6198
  M(H(pe), {
6198
6199
  modelValue: d.value,
6199
- "onUpdate:modelValue": L[5] || (L[5] = (B) => d.value = B),
6200
+ "onUpdate:modelValue": L[5] || (L[5] = (Z) => d.value = Z),
6200
6201
  class: "ao-field__multiselect",
6201
6202
  mode: "tags",
6202
6203
  "close-on-select": !1,
@@ -6207,10 +6208,10 @@ const z5 = {
6207
6208
  ]),
6208
6209
  r("div", m7, [
6209
6210
  r("label", f7, [
6210
- r("span", h7, R(C.$t("activity.blocking.label")), 1),
6211
+ r("span", h7, j(C.$t("activity.blocking.label")), 1),
6211
6212
  M(H(pe), {
6212
6213
  modelValue: p.value,
6213
- "onUpdate:modelValue": L[6] || (L[6] = (B) => p.value = B),
6214
+ "onUpdate:modelValue": L[6] || (L[6] = (Z) => p.value = Z),
6214
6215
  class: "ao-field__multiselect",
6215
6216
  mode: "tags",
6216
6217
  "close-on-select": !1,
@@ -6221,10 +6222,10 @@ const z5 = {
6221
6222
  ]),
6222
6223
  r("div", p7, [
6223
6224
  r("label", C7, [
6224
- r("span", _7, R(C.$t("activity.dependingMilestone.label")), 1),
6225
+ r("span", _7, j(C.$t("activity.dependingMilestone.label")), 1),
6225
6226
  M(H(pe), {
6226
- modelValue: w.value,
6227
- "onUpdate:modelValue": L[7] || (L[7] = (B) => w.value = B),
6227
+ modelValue: $.value,
6228
+ "onUpdate:modelValue": L[7] || (L[7] = (Z) => $.value = Z),
6228
6229
  class: "ao-field__multiselect",
6229
6230
  mode: "tags",
6230
6231
  "close-on-select": !1,
@@ -6247,10 +6248,11 @@ const z5 = {
6247
6248
  tasks: C.activity.tasks || [],
6248
6249
  "activity-id": C.activity.id,
6249
6250
  users: C.users,
6250
- onAdd: I,
6251
+ "is-checkable": C.isTaskCheckable,
6252
+ onAdd: A,
6251
6253
  onUpdate: E,
6252
6254
  onDelete: b
6253
- }, null, 8, ["tasks", "activity-id", "users"])
6255
+ }, null, 8, ["tasks", "activity-id", "users", "is-checkable"])
6254
6256
  ]),
6255
6257
  K(C.$slots, "default")
6256
6258
  ]),
@@ -6262,7 +6264,7 @@ const z5 = {
6262
6264
  title: C.$t("activity.attachments.title")
6263
6265
  }, null, 8, ["title"])
6264
6266
  ]),
6265
- M(F5, {
6267
+ M(q5, {
6266
6268
  attachments: C.activity.attachments,
6267
6269
  onAdd: X,
6268
6270
  onRemove: ne
@@ -6277,11 +6279,11 @@ const $7 = {
6277
6279
  todo: "todo",
6278
6280
  done: "done",
6279
6281
  archived: "archived"
6280
- }, Gd = {
6282
+ }, Xd = {
6281
6283
  months: "months",
6282
6284
  weeks: "weeks",
6283
6285
  days: "days"
6284
- }, Kd = {
6286
+ }, Qd = {
6285
6287
  future: "future",
6286
6288
  this_month: "this_month",
6287
6289
  this_week: "this_week",
@@ -6293,7 +6295,7 @@ const $7 = {
6293
6295
  }, k7 = {
6294
6296
  START: "start",
6295
6297
  end: "end"
6296
- }, S7 = {
6298
+ }, T7 = {
6297
6299
  DAYS: "days",
6298
6300
  WEEKS: "weeks",
6299
6301
  MONTHS: "months"
@@ -6304,8 +6306,8 @@ const $7 = {
6304
6306
  ACTIVITIES: "activities",
6305
6307
  TASKS: "tasks"
6306
6308
  };
6307
- var T7 = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))(T7 || {});
6308
- const xd = {
6309
+ var S7 = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))(S7 || {});
6310
+ const Jd = {
6309
6311
  add: "add",
6310
6312
  remove: "remove",
6311
6313
  moved: "moved"
@@ -6349,12 +6351,12 @@ const xd = {
6349
6351
  });
6350
6352
  }
6351
6353
  }), o = _(() => {
6352
- var $;
6353
- return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : ($ = {
6354
+ var w;
6355
+ return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (w = {
6354
6356
  [ue.ACTIVITIES]: t.templateActivities,
6355
6357
  [ue.MILESTONES]: t.templateMilestones,
6356
6358
  [ue.PHASES]: t.templatePhases
6357
- }[s.value]) == null ? void 0 : $.map((D) => ({
6359
+ }[s.value]) == null ? void 0 : w.map((D) => ({
6358
6360
  value: D.id,
6359
6361
  label: D.name
6360
6362
  }));
@@ -6372,65 +6374,65 @@ const xd = {
6372
6374
  set(b) {
6373
6375
  e("update:rule", { ...t.rule, trigger: b });
6374
6376
  }
6375
- }), y = _(() => Object.values(k7)), w = _({
6377
+ }), y = _(() => Object.values(k7)), $ = _({
6376
6378
  get() {
6377
6379
  return t.rule.duration;
6378
6380
  },
6379
6381
  set(b) {
6380
6382
  e("update:rule", { ...t.rule, duration: b });
6381
6383
  }
6382
- }), I = _({
6384
+ }), A = _({
6383
6385
  get() {
6384
6386
  return t.rule.durationUnit;
6385
6387
  },
6386
6388
  set(b) {
6387
6389
  e("update:rule", { ...t.rule, durationUnit: b });
6388
6390
  }
6389
- }), E = _(() => Object.values(S7));
6390
- return (b, $) => (c(), U(Je(b.tagName), { class: "ao-rule-line" }, {
6391
- default: q(() => [
6391
+ }), E = _(() => Object.values(T7));
6392
+ return (b, w) => (c(), R(Je(b.tagName), { class: "ao-rule-line" }, {
6393
+ default: F(() => [
6392
6394
  M(H(pe), {
6393
6395
  modelValue: n.value,
6394
- "onUpdate:modelValue": $[0] || ($[0] = (D) => n.value = D),
6396
+ "onUpdate:modelValue": w[0] || (w[0] = (D) => n.value = D),
6395
6397
  options: l.value
6396
6398
  }, null, 8, ["modelValue", "options"]),
6397
6399
  M(H(pe), {
6398
6400
  modelValue: i.value,
6399
- "onUpdate:modelValue": $[1] || ($[1] = (D) => i.value = D),
6401
+ "onUpdate:modelValue": w[1] || (w[1] = (D) => i.value = D),
6400
6402
  options: o.value
6401
6403
  }, null, 8, ["modelValue", "options"]),
6402
6404
  M(H(pe), {
6403
6405
  modelValue: h.value,
6404
- "onUpdate:modelValue": $[2] || ($[2] = (D) => h.value = D),
6406
+ "onUpdate:modelValue": w[2] || (w[2] = (D) => h.value = D),
6405
6407
  options: y.value
6406
6408
  }, null, 8, ["modelValue", "options"]),
6407
6409
  M(H(pe), {
6408
6410
  modelValue: d.value,
6409
- "onUpdate:modelValue": $[3] || ($[3] = (D) => d.value = D),
6411
+ "onUpdate:modelValue": w[3] || (w[3] = (D) => d.value = D),
6410
6412
  options: u.value
6411
6413
  }, null, 8, ["modelValue", "options"]),
6412
6414
  xe(r("input", {
6413
- "onUpdate:modelValue": $[4] || ($[4] = (D) => w.value = D),
6415
+ "onUpdate:modelValue": w[4] || (w[4] = (D) => $.value = D),
6414
6416
  type: "number",
6415
6417
  min: "0"
6416
6418
  }, null, 512), [
6417
6419
  [
6418
6420
  ft,
6419
- w.value,
6421
+ $.value,
6420
6422
  void 0,
6421
6423
  { number: !0 }
6422
6424
  ]
6423
6425
  ]),
6424
6426
  M(H(pe), {
6425
- modelValue: I.value,
6426
- "onUpdate:modelValue": $[5] || ($[5] = (D) => I.value = D),
6427
+ modelValue: A.value,
6428
+ "onUpdate:modelValue": w[5] || (w[5] = (D) => A.value = D),
6427
6429
  options: E.value
6428
6430
  }, null, 8, ["modelValue", "options"]),
6429
6431
  M(de, {
6430
6432
  class: "ao-rule-line__remove",
6431
6433
  "icon-name": "CloseRounded",
6432
6434
  variant: "ghost",
6433
- onClick: $[6] || ($[6] = (D) => b.$emit("close"))
6435
+ onClick: w[6] || (w[6] = (D) => b.$emit("close"))
6434
6436
  })
6435
6437
  ]),
6436
6438
  _: 1
@@ -6453,17 +6455,17 @@ const I7 = { class: "ao-template-rules__body" }, O7 = { class: "ao-template-rule
6453
6455
  }, s = (n) => {
6454
6456
  e("removeRule", n);
6455
6457
  };
6456
- return (n, l) => (c(), U(q1, null, {
6457
- header: q(() => [
6458
+ return (n, l) => (c(), R(F1, null, {
6459
+ header: F(() => [
6458
6460
  M(ve, {
6459
6461
  title: n.$t("template.rules.title"),
6460
6462
  level: 2
6461
6463
  }, null, 8, ["title"])
6462
6464
  ]),
6463
- default: q(() => [
6465
+ default: F(() => [
6464
6466
  r("div", I7, [
6465
6467
  r("ul", O7, [
6466
- (c(!0), f(oe, null, he(n.rules, (i) => (c(), U(A7, {
6468
+ (c(!0), f(oe, null, he(n.rules, (i) => (c(), R(A7, {
6467
6469
  key: i.id,
6468
6470
  rule: i,
6469
6471
  "template-phases": n.templatePhases,
@@ -6573,7 +6575,7 @@ const E7 = {
6573
6575
  itemType: ue.TEMPLATES,
6574
6576
  data: { name: g }
6575
6577
  });
6576
- }, w = (g) => {
6578
+ }, $ = (g) => {
6577
6579
  e("removeItem", {
6578
6580
  type: ue.PHASES,
6579
6581
  templateId: t.templateId,
@@ -6581,7 +6583,7 @@ const E7 = {
6581
6583
  id: g
6582
6584
  }
6583
6585
  });
6584
- }, I = (g, P) => {
6586
+ }, A = (g, P) => {
6585
6587
  e("updateItem", {
6586
6588
  templateId: t.templateId,
6587
6589
  id: g,
@@ -6608,7 +6610,7 @@ const E7 = {
6608
6610
  phaseId: g.phaseId
6609
6611
  }
6610
6612
  });
6611
- }, $ = (g) => {
6613
+ }, w = (g) => {
6612
6614
  e("removeItem", {
6613
6615
  type: ue.MILESTONES,
6614
6616
  templateId: t.templateId,
@@ -6658,7 +6660,7 @@ const E7 = {
6658
6660
  templateId: t.templateId,
6659
6661
  data: V
6660
6662
  });
6661
- }, L = ee(!1), B = () => {
6663
+ }, L = ee(!1), Z = () => {
6662
6664
  L.value = !L.value;
6663
6665
  }, J = () => {
6664
6666
  e("addRule", { templateId: t.templateId });
@@ -6696,7 +6698,7 @@ const E7 = {
6696
6698
  templateId: t.templateId,
6697
6699
  data: g
6698
6700
  });
6699
- }, S = (g) => {
6701
+ }, k = (g) => {
6700
6702
  !l.value || !i.value || !d.value || e("removeItem", {
6701
6703
  type: ue.TASKS,
6702
6704
  activityId: d.value.id,
@@ -6705,7 +6707,7 @@ const E7 = {
6705
6707
  templateId: t.templateId,
6706
6708
  data: g
6707
6709
  });
6708
- }, j = (g) => {
6710
+ }, B = (g) => {
6709
6711
  e("addFiles", g);
6710
6712
  }, le = (g) => {
6711
6713
  e("removeFile", g);
@@ -6715,25 +6717,25 @@ const E7 = {
6715
6717
  return n.value ? (c(), f("div", E7, [
6716
6718
  M(Zt, {
6717
6719
  "can-go-back": !0,
6718
- onGoBack: P[1] || (P[1] = (F) => g.$router.push({ name: H(dt).TEMPLATES_LIST }))
6720
+ onGoBack: P[1] || (P[1] = (q) => g.$router.push({ name: H(dt).TEMPLATES_LIST }))
6719
6721
  }, {
6720
- primary: q(() => [
6722
+ primary: F(() => [
6721
6723
  M(ve, {
6722
6724
  title: p.value,
6723
6725
  level: 2,
6724
6726
  "is-editable": !0,
6725
- "onUpdate:title": P[0] || (P[0] = (F) => {
6726
- y(F);
6727
+ "onUpdate:title": P[0] || (P[0] = (q) => {
6728
+ y(q);
6727
6729
  })
6728
6730
  }, null, 8, ["title"])
6729
6731
  ]),
6730
- secondary: q(() => [
6732
+ secondary: F(() => [
6731
6733
  M(de, {
6732
6734
  label: g.$t("template.rules.edit"),
6733
6735
  color: "primary",
6734
6736
  "icon-name": "Settings",
6735
6737
  "icon-position": "start",
6736
- onClick: B
6738
+ onClick: Z
6737
6739
  }, null, 8, ["label"])
6738
6740
  ]),
6739
6741
  _: 1
@@ -6748,33 +6750,33 @@ const E7 = {
6748
6750
  handle: ".ao-card__drag",
6749
6751
  onChange: me
6750
6752
  }, {
6751
- header: q(() => [
6753
+ header: F(() => [
6752
6754
  M(ve, {
6753
6755
  title: g.$t("template.phases.title"),
6754
6756
  level: 3,
6755
6757
  class: "ao-list__title"
6756
6758
  }, null, 8, ["title"])
6757
6759
  ]),
6758
- item: q(({ element: F }) => {
6759
- var T;
6760
+ item: F(({ element: q }) => {
6761
+ var S;
6760
6762
  return [
6761
6763
  M(H0, {
6762
- id: F.id,
6763
- name: F.name,
6764
- milestones: F.milestones,
6765
- "is-active": ((T = l.value) == null ? void 0 : T.id) === F.id,
6764
+ id: q.id,
6765
+ name: q.name,
6766
+ milestones: q.milestones,
6767
+ "is-active": ((S = l.value) == null ? void 0 : S.id) === q.id,
6766
6768
  "is-draggable": !0,
6767
- onClick: (Z) => g.$router.push({
6768
- params: { templateId: g.templateId, phaseId: F.id }
6769
+ onClick: (U) => g.$router.push({
6770
+ params: { templateId: g.templateId, phaseId: q.id }
6769
6771
  }),
6770
- "onUpdate:title": (Z) => {
6771
- I(F.id, Z);
6772
+ "onUpdate:title": (U) => {
6773
+ A(q.id, U);
6772
6774
  },
6773
- onRemove: () => w(F.id)
6775
+ onRemove: () => $(q.id)
6774
6776
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
6775
6777
  ];
6776
6778
  }),
6777
- footer: q(() => [
6779
+ footer: F(() => [
6778
6780
  r("div", P7, [
6779
6781
  M(je, {
6780
6782
  "icon-name": "AddBoxOutlineRounded",
@@ -6787,7 +6789,7 @@ const E7 = {
6787
6789
  }, 8, ["model-value"])
6788
6790
  ]),
6789
6791
  r("li", N7, [
6790
- l.value ? (c(), U(N0, {
6792
+ l.value ? (c(), R(N0, {
6791
6793
  key: 0,
6792
6794
  "template-id": g.templateId,
6793
6795
  phase: l.value,
@@ -6795,11 +6797,11 @@ const E7 = {
6795
6797
  onAddMilestone: b,
6796
6798
  onUpdateMilestone: D,
6797
6799
  onUpdatePhase: E,
6798
- onRemoveMilestone: $
6799
- }, null, 8, ["template-id", "phase", "milestone-id"])) : k("", !0)
6800
+ onRemoveMilestone: w
6801
+ }, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
6800
6802
  ]),
6801
6803
  r("li", B7, [
6802
- l.value && i.value ? (c(), U(U0, {
6804
+ l.value && i.value ? (c(), R(U0, {
6803
6805
  key: 0,
6804
6806
  "template-id": g.templateId,
6805
6807
  "phase-id": (G = l.value) == null ? void 0 : G.id,
@@ -6808,12 +6810,12 @@ const E7 = {
6808
6810
  onAddActivity: X,
6809
6811
  onUpdateActivity: C,
6810
6812
  onRemoveActivity: ne
6811
- }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : k("", !0)
6813
+ }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : T("", !0)
6812
6814
  ])
6813
6815
  ])
6814
6816
  ]),
6815
- (c(), U(kt, { to: "body" }, [
6816
- d.value ? (c(), U(i1, {
6817
+ (c(), R(kt, { to: "body" }, [
6818
+ d.value ? (c(), R(i1, {
6817
6819
  key: 0,
6818
6820
  activity: d.value,
6819
6821
  "activity-types": u.value,
@@ -6822,31 +6824,31 @@ const E7 = {
6822
6824
  "template-activities": v.value,
6823
6825
  "template-milestones": o.value,
6824
6826
  "is-template": !0,
6825
- "onUpdate:activity": P[2] || (P[2] = (F) => {
6826
- d.value && C(F);
6827
+ "onUpdate:activity": P[2] || (P[2] = (q) => {
6828
+ d.value && C(q);
6827
6829
  }),
6828
6830
  onClose: g.$router.back,
6829
6831
  onAddSubtask: N,
6830
6832
  onUpdateSubtask: x,
6831
- onDeleteSubtask: S,
6832
- onAddFiles: j,
6833
+ onDeleteSubtask: k,
6834
+ onAddFiles: B,
6833
6835
  onRemoveFile: le
6834
- }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : k("", !0)
6836
+ }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "onClose"])) : T("", !0)
6835
6837
  ])),
6836
- (c(), U(kt, { to: "body" }, [
6837
- L.value ? (c(), U(L7, {
6838
+ (c(), R(kt, { to: "body" }, [
6839
+ L.value ? (c(), R(L7, {
6838
6840
  key: 0,
6839
6841
  "template-id": n.value.id,
6840
6842
  rules: n.value.rules || [],
6841
6843
  "template-phases": n.value.phases,
6842
6844
  "template-milestones": o.value,
6843
6845
  "template-activities": v.value,
6844
- onClose: B,
6846
+ onClose: Z,
6845
6847
  onAddRule: J,
6846
6848
  onRemoveRule: se
6847
- }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : k("", !0)
6849
+ }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : T("", !0)
6848
6850
  ]))
6849
- ])) : k("", !0);
6851
+ ])) : T("", !0);
6850
6852
  };
6851
6853
  }
6852
6854
  });
@@ -6863,19 +6865,19 @@ const U7 = {
6863
6865
  tagName: { default: "div" }
6864
6866
  },
6865
6867
  setup(a) {
6866
- return (e, t) => (c(), U(Je(e.tagName), {
6868
+ return (e, t) => (c(), R(Je(e.tagName), {
6867
6869
  class: W(["ao-card", { "ao-card--clickable": e.isClickable }])
6868
6870
  }, {
6869
- default: q(() => [
6871
+ default: F(() => [
6870
6872
  e.$slots.header ? (c(), f("header", U7, [
6871
6873
  K(e.$slots, "header")
6872
- ])) : k("", !0),
6874
+ ])) : T("", !0),
6873
6875
  r("div", j7, [
6874
6876
  K(e.$slots, "default")
6875
6877
  ]),
6876
6878
  e.$slots.footer ? (c(), f("footer", R7, [
6877
6879
  K(e.$slots, "footer")
6878
- ])) : k("", !0)
6880
+ ])) : T("", !0)
6879
6881
  ]),
6880
6882
  _: 3
6881
6883
  }, 8, ["class"]));
@@ -6901,7 +6903,7 @@ const o1 = /* @__PURE__ */ Y({
6901
6903
  ], 2));
6902
6904
  }
6903
6905
  });
6904
- const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-project-phase__footer" }, z7 = { class: "ao-card-project-phase__footer-row" }, W7 = { class: "ao-card-project-phase__subitem" }, Y7 = { class: "ao-card-project-phase__subitem" }, G7 = {
6906
+ const F7 = { class: "ao-card-project-phase__header" }, q7 = { class: "ao-card-project-phase__footer" }, z7 = { class: "ao-card-project-phase__footer-row" }, W7 = { class: "ao-card-project-phase__subitem" }, Y7 = { class: "ao-card-project-phase__subitem" }, G7 = {
6905
6907
  key: 1,
6906
6908
  class: "ao-card-project-phase__secondary"
6907
6909
  }, K7 = /* @__PURE__ */ Y({
@@ -6920,26 +6922,26 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
6920
6922
  var l;
6921
6923
  return (l = e.milestones) == null ? void 0 : l.filter((i) => i.status === $7.done).length;
6922
6924
  }), n = _(() => (s.value || 0) / (t.value || 1));
6923
- return (l, i) => (c(), U(l1, { class: "ao-card-project-phase" }, {
6924
- header: q(() => [
6925
- r("div", q7, [
6926
- l.projectName ? (c(), U(Et, {
6925
+ return (l, i) => (c(), R(l1, { class: "ao-card-project-phase" }, {
6926
+ header: F(() => [
6927
+ r("div", F7, [
6928
+ l.projectName ? (c(), R(Et, {
6927
6929
  key: 0,
6928
6930
  label: l.projectName,
6929
6931
  class: "ao-card-project-phase__project",
6930
6932
  variant: "solid",
6931
6933
  color: "primary"
6932
- }, null, 8, ["label"])) : k("", !0)
6934
+ }, null, 8, ["label"])) : T("", !0)
6933
6935
  ])
6934
6936
  ]),
6935
- default: q(() => [
6937
+ default: F(() => [
6936
6938
  M(ve, {
6937
6939
  title: l.name || l.id,
6938
6940
  level: 4
6939
6941
  }, null, 8, ["title"])
6940
6942
  ]),
6941
- footer: q(() => [
6942
- r("div", F7, [
6943
+ footer: F(() => [
6944
+ r("div", q7, [
6943
6945
  r("div", z7, [
6944
6946
  t.value ? (c(), f(oe, { key: 0 }, [
6945
6947
  r("div", W7, [
@@ -6947,16 +6949,16 @@ const q7 = { class: "ao-card-project-phase__header" }, F7 = { class: "ao-card-pr
6947
6949
  name: "MountainFlagOutlineRounded",
6948
6950
  size: "sm"
6949
6951
  }),
6950
- r("span", Y7, R(s.value) + " / " + R(t.value), 1)
6952
+ r("span", Y7, j(s.value) + " / " + j(t.value), 1)
6951
6953
  ]),
6952
6954
  M(o1, {
6953
6955
  percentages: n.value,
6954
6956
  class: "ao-card-project-phase__progress"
6955
6957
  }, null, 8, ["percentages"])
6956
- ], 64)) : k("", !0),
6958
+ ], 64)) : T("", !0),
6957
6959
  l.$slots.secondary ? (c(), f("div", G7, [
6958
6960
  K(l.$slots, "secondary")
6959
- ])) : k("", !0)
6961
+ ])) : T("", !0)
6960
6962
  ])
6961
6963
  ])
6962
6964
  ]),
@@ -6986,18 +6988,18 @@ const x7 = { class: "ao-card-project-phase__footer" }, X7 = { class: "ao-card-pr
6986
6988
  return ((o = i.status) == null ? void 0 : o.id) === ((v = e.doneStatus) == null ? void 0 : v.id);
6987
6989
  }).length;
6988
6990
  }), n = _(() => (s.value || 0) / (t.value || 1));
6989
- return (l, i) => (c(), U(l1, {
6991
+ return (l, i) => (c(), R(l1, {
6990
6992
  class: "ao-card-project-milestone",
6991
6993
  "is-clickable": !0,
6992
6994
  "tag-name": "li"
6993
6995
  }, {
6994
- default: q(() => [
6996
+ default: F(() => [
6995
6997
  M(ve, {
6996
6998
  title: l.name || l.id,
6997
6999
  level: 5
6998
7000
  }, null, 8, ["title"])
6999
7001
  ]),
7000
- footer: q(() => [
7002
+ footer: F(() => [
7001
7003
  r("div", x7, [
7002
7004
  r("div", X7, [
7003
7005
  t.value ? (c(), f(oe, { key: 0 }, [
@@ -7006,16 +7008,16 @@ const x7 = { class: "ao-card-project-phase__footer" }, X7 = { class: "ao-card-pr
7006
7008
  name: "SelectCheckBox",
7007
7009
  size: "sm"
7008
7010
  }),
7009
- r("span", J7, R(s.value) + " / " + R(t.value), 1)
7011
+ r("span", J7, j(s.value) + " / " + j(t.value), 1)
7010
7012
  ]),
7011
7013
  M(o1, {
7012
7014
  percentages: n.value,
7013
7015
  class: "ao-card-project-phase__progress"
7014
7016
  }, null, 8, ["percentages"])
7015
- ], 64)) : k("", !0),
7017
+ ], 64)) : T("", !0),
7016
7018
  l.$slots.secondary ? (c(), f("div", ec, [
7017
7019
  K(l.$slots, "secondary")
7018
- ])) : k("", !0)
7020
+ ])) : T("", !0)
7019
7021
  ])
7020
7022
  ])
7021
7023
  ]),
@@ -7047,7 +7049,7 @@ const ac = { class: "ao-project-phase" }, nc = { class: "ao-project-phase__col-p
7047
7049
  r("div", sc, [
7048
7050
  r("div", ic, [
7049
7051
  r("ul", lc, [
7050
- (c(!0), f(oe, null, he(n.value, (v) => (c(), U(tc, {
7052
+ (c(!0), f(oe, null, he(n.value, (v) => (c(), R(tc, {
7051
7053
  id: v.id,
7052
7054
  key: v.id,
7053
7055
  name: v.name,
@@ -7072,14 +7074,14 @@ const ac = { class: "ao-project-phase" }, nc = { class: "ao-project-phase__col-p
7072
7074
  ]));
7073
7075
  }
7074
7076
  });
7075
- const k1 = ee([]), S1 = ee("");
7076
- function F1() {
7077
+ const k1 = ee([]), T1 = ee("");
7078
+ function q1() {
7077
7079
  return {
7078
7080
  init: (e) => {
7079
- k1.value = C1(e.users), S1.value = C1(e.userId);
7081
+ k1.value = C1(e.users), T1.value = C1(e.userId);
7080
7082
  },
7081
7083
  users: k1,
7082
- userId: S1
7084
+ userId: T1
7083
7085
  };
7084
7086
  }
7085
7087
  const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc = { class: "ao-project__body" }, vc = { class: "ao-project__col-header" }, mc = { class: "ao-project__col ao-project__col--phases" }, fc = { class: "ao-project__col-title" }, hc = { class: "ao-project__col ao-project__col--milestones" }, pc = { class: "ao-project__col-title" }, Cc = { class: "ao-project__phases" }, _c = /* @__PURE__ */ Y({
@@ -7092,13 +7094,13 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7092
7094
  },
7093
7095
  emits: ["addPhase", "addMilestone", "addActivity", "update:activity", "addSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
7094
7096
  setup(a, { emit: e }) {
7095
- const t = a, { t: s } = Re(), { init: n } = F1();
7097
+ const t = a, { t: s } = Re(), { init: n } = q1();
7096
7098
  wa(() => {
7097
7099
  n({ users: t.users, userId: t.userId });
7098
7100
  });
7099
7101
  const l = _(() => t.phases.flatMap((b) => b.milestones)), i = () => {
7100
- const { name: b, rank: $ } = Xe(t.phases, "phase", s);
7101
- e("addPhase", { name: b, rank: $, projectId: t.project.id });
7102
+ const { name: b, rank: w } = Xe(t.phases, "phase", s);
7103
+ e("addPhase", { name: b, rank: w, projectId: t.project.id });
7102
7104
  }, o = (b) => {
7103
7105
  e("addMilestone", b);
7104
7106
  }, v = (b) => {
@@ -7113,19 +7115,19 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7113
7115
  e("addFiles", b);
7114
7116
  }, y = (b) => {
7115
7117
  e("removeFile", b);
7116
- }, w = (b) => {
7118
+ }, $ = (b) => {
7117
7119
  e("addComment", b);
7118
- }, I = (b) => {
7120
+ }, A = (b) => {
7119
7121
  e("updateComment", b);
7120
7122
  }, E = (b) => {
7121
7123
  e("removeComment", b);
7122
7124
  };
7123
- return (b, $) => {
7125
+ return (b, w) => {
7124
7126
  const D = $a("RouterView");
7125
7127
  return c(), f("div", uc, [
7126
7128
  r("div", cc, [
7127
7129
  M(Zt, null, {
7128
- primary: q(() => [
7130
+ primary: F(() => [
7129
7131
  M(de, {
7130
7132
  label: b.$t("project.phases.add"),
7131
7133
  color: "primary",
@@ -7164,7 +7166,7 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7164
7166
  ])
7165
7167
  ]),
7166
7168
  r("ul", Cc, [
7167
- (c(!0), f(oe, null, he(b.phases, (X) => (c(), U(rc, {
7169
+ (c(!0), f(oe, null, he(b.phases, (X) => (c(), R(rc, {
7168
7170
  key: X.id,
7169
7171
  phase: X,
7170
7172
  "project-name": b.project.name,
@@ -7179,10 +7181,10 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7179
7181
  "project-id": b.project.id,
7180
7182
  "project-name": b.project.name,
7181
7183
  users: b.users,
7182
- onClose: $[0] || ($[0] = (X) => b.$router.push({ name: H(Qe).project })),
7184
+ onClose: w[0] || (w[0] = (X) => b.$router.push({ name: H(Qe).project })),
7183
7185
  onAddActivity: v
7184
7186
  }, null, 8, ["phases", "project-id", "project-name", "users"]),
7185
- (c(), U(kt, { to: "body" }, [
7187
+ (c(), R(kt, { to: "body" }, [
7186
7188
  M(D, {
7187
7189
  name: "modal",
7188
7190
  activities: p.value,
@@ -7190,8 +7192,8 @@ const uc = { class: "ao-project-overview" }, cc = { class: "ao-project" }, dc =
7190
7192
  onAddSubtask: u,
7191
7193
  onAddFiles: h,
7192
7194
  onRemoveFile: y,
7193
- onAddComment: w,
7194
- onUpdateComment: I,
7195
+ onAddComment: $,
7196
+ onUpdateComment: A,
7195
7197
  onRemoveComment: E
7196
7198
  }, null, 8, ["activities"])
7197
7199
  ]))
@@ -7208,7 +7210,7 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7208
7210
  }, $c = {
7209
7211
  key: 1,
7210
7212
  class: "ao-card-feed__deadline"
7211
- }, Mc = { class: "ao-card-feed__footer" }, kc = { class: "ao-card-feed__footer-row" }, Sc = { class: "ao-assignees" }, Tc = {
7213
+ }, Mc = { class: "ao-card-feed__footer" }, kc = { class: "ao-card-feed__footer-row" }, Tc = { class: "ao-assignees" }, Sc = {
7212
7214
  key: 0,
7213
7215
  class: "ao-assignee"
7214
7216
  }, Ac = {
@@ -7246,8 +7248,8 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7246
7248
  name: h
7247
7249
  });
7248
7250
  }, n = _(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), l = _(() => t.assignee ? [t.assignee] : []), i = _(() => e1(t.deadline)), o = (h) => {
7249
- const { firstName: y, lastName: w } = h || {};
7250
- return y && w ? `${y} ${w}` : "";
7251
+ const { firstName: y, lastName: $ } = h || {};
7252
+ return y && $ ? `${y} ${$}` : "";
7251
7253
  }, v = (h) => {
7252
7254
  e("removeAssignee", h);
7253
7255
  }, d = _(() => {
@@ -7257,56 +7259,56 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7257
7259
  var h;
7258
7260
  return (h = t.tasks) == null ? void 0 : h.filter((y) => y.isDone).length;
7259
7261
  }), p = _(() => (u.value || 0) / (d.value || 1));
7260
- return (h, y) => (c(), U(l1, {
7262
+ return (h, y) => (c(), R(l1, {
7261
7263
  class: "ao-card-feed",
7262
7264
  "is-clickable": !0
7263
7265
  }, {
7264
- header: q(() => [
7266
+ header: F(() => [
7265
7267
  r("div", gc, [
7266
- h.projectName ? (c(), U(Et, {
7268
+ h.projectName ? (c(), R(Et, {
7267
7269
  key: 0,
7268
7270
  label: h.projectName,
7269
7271
  class: "ao-card-feed__project",
7270
7272
  variant: "solid",
7271
7273
  color: "primary"
7272
- }, null, 8, ["label"])) : k("", !0),
7273
- h.important ? (c(), U(ie, {
7274
+ }, null, 8, ["label"])) : T("", !0),
7275
+ h.important ? (c(), R(ie, {
7274
7276
  key: 1,
7275
7277
  name: "FlagRounded",
7276
7278
  class: "ao-card-feed__important ao-card-feed__header-secondary",
7277
7279
  size: "sm"
7278
- })) : k("", !0),
7280
+ })) : T("", !0),
7279
7281
  h.$slots.secondary ? (c(), f("div", yc, [
7280
7282
  K(h.$slots, "secondary")
7281
- ])) : k("", !0)
7283
+ ])) : T("", !0)
7282
7284
  ])
7283
7285
  ]),
7284
- default: q(() => [
7286
+ default: F(() => [
7285
7287
  r("div", bc, [
7286
- n.value ? (c(), f("span", wc, R(n.value), 1)) : k("", !0),
7288
+ n.value ? (c(), f("span", wc, j(n.value), 1)) : T("", !0),
7287
7289
  M(ve, {
7288
7290
  title: h.name,
7289
7291
  level: 5,
7290
7292
  "is-editable": !0,
7291
7293
  "onUpdate:title": s
7292
7294
  }, null, 8, ["title"]),
7293
- h.deadline ? (c(), f("span", $c, R(i.value), 1)) : k("", !0)
7295
+ h.deadline ? (c(), f("span", $c, j(i.value), 1)) : T("", !0)
7294
7296
  ])
7295
7297
  ]),
7296
- footer: q(() => [
7298
+ footer: F(() => [
7297
7299
  r("div", Mc, [
7298
7300
  r("div", kc, [
7299
- r("ul", Sc, [
7300
- (c(!0), f(oe, null, he(l.value, (w) => (c(), f(oe, {
7301
- key: w.id
7301
+ r("ul", Tc, [
7302
+ (c(!0), f(oe, null, he(l.value, ($) => (c(), f(oe, {
7303
+ key: $.id
7302
7304
  }, [
7303
- w ? (c(), f("li", Tc, [
7305
+ $ ? (c(), f("li", Sc, [
7304
7306
  M(tt, {
7305
- "user-name": o(w),
7307
+ "user-name": o($),
7306
7308
  "is-closable": !0,
7307
- onClose: () => v(w.id)
7309
+ onClose: () => v($.id)
7308
7310
  }, null, 8, ["user-name", "onClose"])
7309
- ])) : k("", !0)
7311
+ ])) : T("", !0)
7310
7312
  ], 64))), 128))
7311
7313
  ]),
7312
7314
  h.comments || h.attachments ? (c(), f("ul", Ac, [
@@ -7315,16 +7317,16 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7315
7317
  name: "ChatOutline",
7316
7318
  size: "sm"
7317
7319
  }),
7318
- r("span", Oc, R(h.comments), 1)
7319
- ])) : k("", !0),
7320
+ r("span", Oc, j(h.comments), 1)
7321
+ ])) : T("", !0),
7320
7322
  h.attachments ? (c(), f("li", Lc, [
7321
7323
  M(ie, {
7322
7324
  name: "AttachFileRounded",
7323
7325
  size: "sm"
7324
7326
  }),
7325
- r("span", Ec, R(h.attachments), 1)
7326
- ])) : k("", !0)
7327
- ])) : k("", !0)
7327
+ r("span", Ec, j(h.attachments), 1)
7328
+ ])) : T("", !0)
7329
+ ])) : T("", !0)
7328
7330
  ]),
7329
7331
  r("div", Vc, [
7330
7332
  h.tasks ? (c(), f("div", Hc, [
@@ -7333,13 +7335,13 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7333
7335
  name: "SelectCheckBox",
7334
7336
  size: "sm"
7335
7337
  }),
7336
- r("span", Pc, R(u.value) + " / " + R(d.value), 1)
7338
+ r("span", Pc, j(u.value) + " / " + j(d.value), 1)
7337
7339
  ]),
7338
7340
  M(o1, {
7339
7341
  percentages: p.value,
7340
7342
  class: "ao-card-feed__progress"
7341
7343
  }, null, 8, ["percentages"])
7342
- ])) : k("", !0)
7344
+ ])) : T("", !0)
7343
7345
  ])
7344
7346
  ])
7345
7347
  ]),
@@ -7347,7 +7349,7 @@ const gc = { class: "ao-card-feed__header" }, yc = {
7347
7349
  }));
7348
7350
  }
7349
7351
  });
7350
- const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-milestone__header" }, Zc = { class: "ao-project-milestone__title" }, Uc = { class: "ao-project-milestone__body" }, jc = { class: "ao-project-milestone__activities" }, Rc = { class: "ao-project-milestone__footer" }, T1 = /* @__PURE__ */ Y({
7352
+ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-milestone__header" }, Zc = { class: "ao-project-milestone__title" }, Uc = { class: "ao-project-milestone__body" }, jc = { class: "ao-project-milestone__activities" }, Rc = { class: "ao-project-milestone__footer" }, S1 = /* @__PURE__ */ Y({
7351
7353
  __name: "AoProjectOverviewMilestoneDetails",
7352
7354
  props: {
7353
7355
  milestoneId: {},
@@ -7387,7 +7389,7 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
7387
7389
  return c(), f("div", Nc, [
7388
7390
  r("header", Bc, [
7389
7391
  r("div", Zc, [
7390
- r("span", null, R(u.$t("project.milestone.title")), 1),
7392
+ r("span", null, j(u.$t("project.milestone.title")), 1),
7391
7393
  M(ve, {
7392
7394
  title: ((h = i.value) == null ? void 0 : h.name) || u.milestoneId,
7393
7395
  level: 5
@@ -7402,14 +7404,14 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
7402
7404
  r("div", Uc, [
7403
7405
  r("ul", jc, [
7404
7406
  (c(!0), f(oe, null, he(o.value, (y) => {
7405
- var w, I, E, b;
7406
- return c(), U(z1, {
7407
+ var $, A, E, b;
7408
+ return c(), R(z1, {
7407
7409
  id: y.id,
7408
7410
  key: y.id,
7409
7411
  name: y.name || y.id,
7410
7412
  "project-name": u.projectName,
7411
- "phase-name": (w = n.value) == null ? void 0 : w.name,
7412
- "milestone-name": (I = i.value) == null ? void 0 : I.name,
7413
+ "phase-name": ($ = n.value) == null ? void 0 : $.name,
7414
+ "milestone-name": (A = i.value) == null ? void 0 : A.name,
7413
7415
  deadline: y.deadline,
7414
7416
  important: y.important,
7415
7417
  users: u.users,
@@ -7417,7 +7419,7 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
7417
7419
  comments: (E = y.comments) == null ? void 0 : E.length,
7418
7420
  attachments: (b = y.attachments) == null ? void 0 : b.length,
7419
7421
  tasks: y.tasks,
7420
- onClick: ($) => u.$router.push({
7422
+ onClick: (w) => u.$router.push({
7421
7423
  name: H(Qe).activity,
7422
7424
  params: { milestoneId: u.milestoneId, activityId: y.id }
7423
7425
  })
@@ -7436,7 +7438,7 @@ const Nc = { class: "ao-project-milestone" }, Bc = { class: "ao-project-mileston
7436
7438
  };
7437
7439
  }
7438
7440
  });
7439
- const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["contenteditable"], Wc = { class: "ao-comment__created-at" }, Yc = {
7441
+ const Fc = { class: "ao-comment" }, qc = { class: "ao-comment__body" }, zc = ["contenteditable"], Wc = { class: "ao-comment__created-at" }, Yc = {
7440
7442
  key: 1,
7441
7443
  class: "ao-comment__footer"
7442
7444
  }, Gc = /* @__PURE__ */ Y({
@@ -7451,29 +7453,29 @@ const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["c
7451
7453
  emits: ["edit", "remove"],
7452
7454
  setup(a, { emit: e }) {
7453
7455
  const t = a, s = _(() => {
7454
- const w = t.user;
7455
- return w ? `${w == null ? void 0 : w.firstName} ${w == null ? void 0 : w.lastName}` : null;
7456
- }), n = ee(null), { isEditing: l, toggleIsEditing: i, onUpdate: o, onDiscard: v } = I1(n), d = _(() => e1(t.createdAt)), u = _(() => e1(t.editedAt)), p = v(), h = o((w) => {
7457
- e("edit", w);
7456
+ const $ = t.user;
7457
+ return $ ? `${$ == null ? void 0 : $.firstName} ${$ == null ? void 0 : $.lastName}` : null;
7458
+ }), n = ee(null), { isEditing: l, toggleIsEditing: i, onUpdate: o, onDiscard: v } = I1(n), d = _(() => e1(t.createdAt)), u = _(() => e1(t.editedAt)), p = v(), h = o(($) => {
7459
+ e("edit", $);
7458
7460
  }), y = () => {
7459
7461
  e("remove");
7460
7462
  };
7461
- return (w, I) => (c(), f("li", qc, [
7462
- s.value ? (c(), U(tt, {
7463
+ return ($, A) => (c(), f("li", Fc, [
7464
+ s.value ? (c(), R(tt, {
7463
7465
  key: 0,
7464
7466
  "user-name": s.value,
7465
7467
  class: "ao-comment__avatar"
7466
- }, null, 8, ["user-name"])) : k("", !0),
7467
- r("div", Fc, [
7468
+ }, null, 8, ["user-name"])) : T("", !0),
7469
+ r("div", qc, [
7468
7470
  r("p", {
7469
7471
  ref_key: "commentContent",
7470
7472
  ref: n,
7471
7473
  class: "ao-comment__content",
7472
7474
  contenteditable: H(l)
7473
- }, R(w.content), 9, zc),
7474
- r("span", Wc, R(u.value || d.value), 1)
7475
+ }, j($.content), 9, zc),
7476
+ r("span", Wc, j(u.value || d.value), 1)
7475
7477
  ]),
7476
- w.isEditable ? (c(), f("div", Yc, [
7478
+ $.isEditable ? (c(), f("div", Yc, [
7477
7479
  H(l) ? (c(), f(oe, { key: 0 }, [
7478
7480
  M(de, {
7479
7481
  "icon-name": "CloseRounded",
@@ -7491,21 +7493,21 @@ const qc = { class: "ao-comment" }, Fc = { class: "ao-comment__body" }, zc = ["c
7491
7493
  }, null, 8, ["onClick"])
7492
7494
  ], 64)) : (c(), f(oe, { key: 1 }, [
7493
7495
  M(de, {
7494
- label: w.$t("activity.comment.delete"),
7496
+ label: $.$t("activity.comment.delete"),
7495
7497
  size: "sm",
7496
7498
  variant: "ghost",
7497
7499
  color: "neutral",
7498
7500
  onClick: y
7499
7501
  }, null, 8, ["label"]),
7500
7502
  M(de, {
7501
- label: w.$t("activity.comment.edit"),
7503
+ label: $.$t("activity.comment.edit"),
7502
7504
  size: "sm",
7503
7505
  variant: "ghost",
7504
7506
  color: "neutral",
7505
7507
  onClick: H(i)
7506
7508
  }, null, 8, ["label", "onClick"])
7507
7509
  ], 64))
7508
- ])) : k("", !0)
7510
+ ])) : T("", !0)
7509
7511
  ]));
7510
7512
  }
7511
7513
  });
@@ -7544,7 +7546,7 @@ const Kc = { class: "ao-comments" }, xc = {
7544
7546
  var p;
7545
7547
  return c(), f("div", Kc, [
7546
7548
  ((p = d.comments) == null ? void 0 : p.length) > 0 ? (c(), f("ul", xc, [
7547
- (c(!0), f(oe, null, he(d.comments, (h) => (c(), U(Gc, {
7549
+ (c(!0), f(oe, null, he(d.comments, (h) => (c(), R(Gc, {
7548
7550
  key: h.id,
7549
7551
  user: s(h.author.id),
7550
7552
  content: h.message,
@@ -7555,14 +7557,14 @@ const Kc = { class: "ao-comments" }, xc = {
7555
7557
  onEdit: (y) => o(h.id, y),
7556
7558
  onRemove: () => v(h.id)
7557
7559
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
7558
- ])) : k("", !0),
7560
+ ])) : T("", !0),
7559
7561
  r("div", Xc, [
7560
7562
  r("form", {
7561
7563
  class: "ao-comments__form",
7562
7564
  onSubmit: ke(i, ["prevent"])
7563
7565
  }, [
7564
7566
  r("label", Jc, [
7565
- r("span", ed, R(d.$t("activity.comment.label")), 1),
7567
+ r("span", ed, j(d.$t("activity.comment.label")), 1),
7566
7568
  xe(r("textarea", {
7567
7569
  "onUpdate:modelValue": u[0] || (u[0] = (h) => l.value = h),
7568
7570
  rows: "4",
@@ -7603,7 +7605,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7603
7605
  },
7604
7606
  emits: ["update:activity", "addSubtask", "addComment", "updateComment", "removeComment"],
7605
7607
  setup(a, { emit: e }) {
7606
- const t = a, { users: s, userId: n } = F1(), l = _(() => {
7608
+ const t = a, { users: s, userId: n } = q1(), l = _(() => {
7607
7609
  var h;
7608
7610
  return (h = t.activities) == null ? void 0 : h.find((y) => y.id === t.activityId);
7609
7611
  }), i = _(() => {
@@ -7643,7 +7645,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7643
7645
  const { id: y } = l.value || {};
7644
7646
  y && e("removeComment", { id: h, activityId: y });
7645
7647
  };
7646
- return (h, y) => l.value ? (c(), U(i1, {
7648
+ return (h, y) => l.value ? (c(), R(i1, {
7647
7649
  key: 0,
7648
7650
  activity: l.value,
7649
7651
  "activity-types": i.value,
@@ -7652,14 +7654,14 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7652
7654
  "is-template": !1,
7653
7655
  users: H(s),
7654
7656
  onClose: h.$router.back,
7655
- "onUpdate:activity": y[0] || (y[0] = (w) => {
7657
+ "onUpdate:activity": y[0] || (y[0] = ($) => {
7656
7658
  o({
7657
- ...w
7659
+ ...$
7658
7660
  });
7659
7661
  }),
7660
7662
  onAddSubtask: v
7661
7663
  }, {
7662
- default: q(() => [
7664
+ default: F(() => [
7663
7665
  r("fieldset", ad, [
7664
7666
  r("div", nd, [
7665
7667
  M(ie, { name: "ChatOutline" }),
@@ -7679,13 +7681,13 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7679
7681
  ])
7680
7682
  ]),
7681
7683
  _: 1
7682
- }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "onClose"])) : k("", !0);
7684
+ }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "onClose"])) : T("", !0);
7683
7685
  }
7684
7686
  }), dt = {
7685
7687
  TEMPLATES: "templates",
7686
7688
  TEMPLATE_DETAILS: "template_details",
7687
7689
  TEMPLATES_LIST: "templates_list"
7688
- }, Xd = (a, e = {}) => [
7690
+ }, e9 = (a, e = {}) => [
7689
7691
  {
7690
7692
  path: a,
7691
7693
  name: dt.TEMPLATES,
@@ -7708,7 +7710,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7708
7710
  project: "AoProject",
7709
7711
  milestone: "AoMilestone",
7710
7712
  activity: "AoActivity"
7711
- }, Qd = (a, e = {}) => [
7713
+ }, t9 = (a, e = {}) => [
7712
7714
  {
7713
7715
  path: a,
7714
7716
  ...e,
@@ -7722,7 +7724,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7722
7724
  {
7723
7725
  path: ":phaseId/:milestoneId",
7724
7726
  name: Qe.milestone,
7725
- component: T1,
7727
+ component: S1,
7726
7728
  props: !0
7727
7729
  },
7728
7730
  {
@@ -7730,7 +7732,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7730
7732
  name: Qe.activity,
7731
7733
  props: { default: !0, modal: !0 },
7732
7734
  components: {
7733
- default: T1,
7735
+ default: S1,
7734
7736
  modal: sd
7735
7737
  }
7736
7738
  }
@@ -7776,7 +7778,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7776
7778
  };
7777
7779
  return (o, v) => (c(), f("div", id, [
7778
7780
  M(Zt, null, {
7779
- secondary: q(() => [
7781
+ secondary: F(() => [
7780
7782
  M(de, {
7781
7783
  label: o.$t("templates.new"),
7782
7784
  color: "primary",
@@ -7794,7 +7796,7 @@ const ad = { class: "ao-fieldset" }, nd = { class: "ao-fieldset__title" }, sd =
7794
7796
  handle: ".ao-card__drag",
7795
7797
  onChange: i
7796
7798
  }, {
7797
- item: q(({ element: d }) => {
7799
+ item: F(({ element: d }) => {
7798
7800
  var u;
7799
7801
  return [
7800
7802
  M(M0, {
@@ -7830,13 +7832,13 @@ const od = { class: "ao-col-header" }, rd = /* @__PURE__ */ Y({
7830
7832
  class: "ao-col-header__title",
7831
7833
  level: 4
7832
7834
  }, null, 8, ["title"]),
7833
- e.items ? (c(), U(Et, {
7835
+ e.items ? (c(), R(Et, {
7834
7836
  key: 0,
7835
7837
  label: e.items,
7836
7838
  class: "ao-col-header__items",
7837
7839
  variant: "solid",
7838
7840
  color: "primary"
7839
- }, null, 8, ["label"])) : k("", !0)
7841
+ }, null, 8, ["label"])) : T("", !0)
7840
7842
  ]));
7841
7843
  }
7842
7844
  });
@@ -7902,24 +7904,24 @@ function _d(a, e, t = {}) {
7902
7904
  window: i = hd,
7903
7905
  immediate: o = !0
7904
7906
  } = t, v = Cd(() => i && "IntersectionObserver" in i), d = _(() => {
7905
- const w = It(a);
7906
- return (Array.isArray(w) ? w : [w]).map(Qt).filter(dd);
7907
+ const $ = It(a);
7908
+ return (Array.isArray($) ? $ : [$]).map(Qt).filter(dd);
7907
7909
  });
7908
7910
  let u = vt;
7909
7911
  const p = ee(o), h = v.value ? fe(
7910
7912
  () => [d.value, Qt(s), p.value],
7911
- ([w, I]) => {
7912
- if (u(), !p.value || !w.length)
7913
+ ([$, A]) => {
7914
+ if (u(), !p.value || !$.length)
7913
7915
  return;
7914
7916
  const E = new IntersectionObserver(
7915
7917
  e,
7916
7918
  {
7917
- root: Qt(I),
7919
+ root: Qt(A),
7918
7920
  rootMargin: n,
7919
7921
  threshold: l
7920
7922
  }
7921
7923
  );
7922
- w.forEach((b) => b && E.observe(b)), u = () => {
7924
+ $.forEach((b) => b && E.observe(b)), u = () => {
7923
7925
  E.disconnect(), u = vt;
7924
7926
  };
7925
7927
  },
@@ -7956,7 +7958,7 @@ const gd = {
7956
7958
  }, kd = {
7957
7959
  key: 1,
7958
7960
  class: "ao-list-kanban__footer"
7959
- }, Sd = /* @__PURE__ */ Y({
7961
+ }, Td = /* @__PURE__ */ Y({
7960
7962
  __name: "AoListKanban",
7961
7963
  props: {
7962
7964
  list: {},
@@ -7999,32 +8001,32 @@ const gd = {
7999
8001
  var u;
8000
8002
  return [
8001
8003
  r("div", yd, [
8002
- v.title ? (c(), U(rd, {
8004
+ v.title ? (c(), R(rd, {
8003
8005
  key: 0,
8004
8006
  title: v.title,
8005
8007
  level: 3,
8006
8008
  items: (u = v.list) == null ? void 0 : u.length
8007
- }, null, 8, ["title", "items"])) : k("", !0)
8009
+ }, null, 8, ["title", "items"])) : T("", !0)
8008
8010
  ])
8009
8011
  ];
8010
- }) : k("", !0),
8012
+ }) : T("", !0),
8011
8013
  M(H(ht), Pe({
8012
8014
  class: "ao-list-kanban__list",
8013
8015
  list: v.list,
8014
8016
  "item-key": "id",
8015
8017
  group: "kanban"
8016
8018
  }, v.$attrs, { onChange: o }), {
8017
- item: q(({ element: u }) => {
8018
- var p, h, y, w, I, E, b;
8019
+ item: F(({ element: u }) => {
8020
+ var p, h, y, $, A, E, b;
8019
8021
  return [
8020
8022
  M(z1, {
8021
8023
  id: u.id,
8022
8024
  name: u.name,
8023
8025
  "project-name": (p = u.project) == null ? void 0 : p.name,
8024
8026
  "phase-name": (y = (h = u.milestone) == null ? void 0 : h.phase) == null ? void 0 : y.name,
8025
- "milestone-name": (w = u.milestone) == null ? void 0 : w.name,
8027
+ "milestone-name": ($ = u.milestone) == null ? void 0 : $.name,
8026
8028
  deadline: u.deadline,
8027
- rules: ((I = u.rules) == null ? void 0 : I.length) || 0,
8029
+ rules: ((A = u.rules) == null ? void 0 : A.length) || 0,
8028
8030
  tasks: u.tasks,
8029
8031
  description: u.description,
8030
8032
  important: u.important,
@@ -8037,7 +8039,7 @@ const gd = {
8037
8039
  onUpdateActivity: i,
8038
8040
  onRemoveAssignee: () => i({ id: u.id, assigneeId: null })
8039
8041
  }, {
8040
- secondary: q(() => [
8042
+ secondary: F(() => [
8041
8043
  M(de, {
8042
8044
  color: "primary",
8043
8045
  variant: "ghost",
@@ -8053,7 +8055,7 @@ const gd = {
8053
8055
  }, 1032, ["id", "name", "project-name", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "onClick", "onRemoveAssignee"])
8054
8056
  ];
8055
8057
  }),
8056
- footer: q(() => [
8058
+ footer: F(() => [
8057
8059
  v.isLoading ? (c(), f("div", bd, [
8058
8060
  M(ie, { name: "Loading" })
8059
8061
  ])) : v.hasMore ? (c(), f("div", {
@@ -8062,7 +8064,7 @@ const gd = {
8062
8064
  ref: n,
8063
8065
  class: "ao-list-kanban__end"
8064
8066
  }, null, 512)) : (c(), f("div", wd, [
8065
- v.noMoreLabel ? (c(), f("span", $d, R(v.noMoreLabel), 1)) : (c(), f("span", Md))
8067
+ v.noMoreLabel ? (c(), f("span", $d, j(v.noMoreLabel), 1)) : (c(), f("span", Md))
8066
8068
  ]))
8067
8069
  ]),
8068
8070
  _: 1
@@ -8075,11 +8077,11 @@ const gd = {
8075
8077
  onClick: d[0] || (d[0] = (u) => v.$emit("add"))
8076
8078
  }, null, 8, ["label"])
8077
8079
  ])
8078
- ])) : k("", !0)
8080
+ ])) : T("", !0)
8079
8081
  ]));
8080
8082
  }
8081
8083
  });
8082
- const Td = { class: "ao-field ao-search-field" }, Ad = ["value", "placeholder", "onKeypress"], Id = /* @__PURE__ */ Y({
8084
+ const Sd = { class: "ao-field ao-search-field" }, Ad = ["value", "placeholder", "onKeypress"], Id = /* @__PURE__ */ Y({
8083
8085
  __name: "AoSearchField",
8084
8086
  props: {
8085
8087
  modelValue: {},
@@ -8094,7 +8096,7 @@ const Td = { class: "ao-field ao-search-field" }, Ad = ["value", "placeholder",
8094
8096
  }, n = fd(s, t.delay), l = (i) => {
8095
8097
  e("clear", i);
8096
8098
  };
8097
- return (i, o) => (c(), f("div", Td, [
8099
+ return (i, o) => (c(), f("div", Sd, [
8098
8100
  r("input", {
8099
8101
  value: i.modelValue,
8100
8102
  type: "text",
@@ -8136,9 +8138,9 @@ function Od(a) {
8136
8138
  const Ld = Symbol.for("FeedStore");
8137
8139
  function Ed(a) {
8138
8140
  const e = Od(a);
8139
- return Sa(Ld, e), e;
8141
+ return Ta(Ld, e), e;
8140
8142
  }
8141
- const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { class: "ao-feed__body" }, Pd = { class: "ao-field" }, Nd = { class: "ao-field__label" }, Bd = { class: "ao-fieldset" }, Zd = { class: "ao-field" }, Ud = { class: "ao-field__label" }, jd = { class: "ao-fieldset" }, Rd = { class: "ao-fieldset__title" }, Jd = /* @__PURE__ */ Y({
8143
+ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { class: "ao-field ao-field--inline" }, Pd = ["checked"], Nd = { class: "ao-field__label" }, Bd = { class: "ao-feed__body" }, Zd = { class: "ao-field" }, Ud = { class: "ao-field__label" }, jd = { class: "ao-fieldset" }, Rd = { class: "ao-field" }, Fd = { class: "ao-field__label" }, qd = { class: "ao-fieldset" }, zd = { class: "ao-fieldset__title" }, a9 = /* @__PURE__ */ Y({
8142
8144
  __name: "AoFeed",
8143
8145
  props: {
8144
8146
  activities: {},
@@ -8148,139 +8150,141 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8148
8150
  activityTypes: {},
8149
8151
  users: {},
8150
8152
  userId: {},
8151
- searchText: { default: "" }
8153
+ searchText: { default: "" },
8154
+ showsArchivedActivities: { type: Boolean },
8155
+ isTaskCheckable: {}
8152
8156
  },
8153
- emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
8157
+ emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
8154
8158
  setup(a, { emit: e }) {
8155
8159
  const t = a, { t: s } = Re(), n = ct(t, "activities"), { selectActivity: l, selectedActivity: i } = Ed(n), o = ee({});
8156
8160
  fe(
8157
8161
  [() => t.statuses, () => t.activities],
8158
- ([S, j]) => {
8162
+ ([k, B]) => {
8159
8163
  o.value = Object.fromEntries(
8160
- S.map((le) => [
8164
+ k.map((le) => [
8161
8165
  le.id,
8162
- j.filter((g) => g.status.id === le.id)
8166
+ B.filter((g) => g.status.id === le.id)
8163
8167
  ])
8164
8168
  );
8165
8169
  },
8166
8170
  { immediate: !0 }
8167
8171
  );
8168
- const v = (S) => {
8172
+ const v = (k) => {
8169
8173
  var V, G;
8170
- const j = (V = t.activities) == null ? void 0 : V.at(-1), le = j ? we.LexoRank.parse(j.rank).genNext() : we.LexoRank.middle(), g = ((G = t.activities) == null ? void 0 : G.length) ?? 0, P = {
8174
+ const B = (V = t.activities) == null ? void 0 : V.at(-1), le = B ? we.LexoRank.parse(B.rank).genNext() : we.LexoRank.middle(), g = ((G = t.activities) == null ? void 0 : G.length) ?? 0, P = {
8171
8175
  name: s("activity.defaultName", { idx: g + 1 }),
8172
8176
  rank: le.format(),
8173
- statusId: S.id
8177
+ statusId: k.id
8174
8178
  };
8175
8179
  e("addActivity", P);
8176
- }, d = (S, j) => {
8177
- e("update:filters", { ...t.filters, [S]: j });
8178
- }, u = _(() => t.projects.map((S) => ({
8179
- value: S.id,
8180
- label: S.name
8181
- }))), p = _(() => t.activityTypes.map((S) => ({
8182
- value: S.id,
8183
- label: S.name
8184
- }))), h = _(() => t.users.map((S) => ({
8185
- value: S.id,
8186
- label: `${S.firstName} ${S.lastName}`
8187
- }))), y = (S) => {
8188
- i.value && e("update:activity", S);
8189
- }, w = (S) => {
8190
- e("update:activity", S);
8191
- }, I = ee(null), E = (S) => {
8180
+ }, d = (k, B) => {
8181
+ e("update:filters", { ...t.filters, [k]: B });
8182
+ }, u = _(() => t.projects.map((k) => ({
8183
+ value: k.id,
8184
+ label: k.name
8185
+ }))), p = _(() => t.activityTypes.map((k) => ({
8186
+ value: k.id,
8187
+ label: k.name
8188
+ }))), h = _(() => t.users.map((k) => ({
8189
+ value: k.id,
8190
+ label: `${k.firstName} ${k.lastName}`
8191
+ }))), y = (k) => {
8192
+ i.value && e("update:activity", k);
8193
+ }, $ = (k) => {
8194
+ e("update:activity", k);
8195
+ }, A = ee(null), E = (k) => {
8192
8196
  i.value && e("update:activity", {
8193
8197
  id: i.value.id,
8194
- name: S
8198
+ name: k
8195
8199
  });
8196
- }, b = (S) => {
8197
- e("archiveActivity", S);
8198
- }, $ = _({
8200
+ }, b = (k) => {
8201
+ e("archiveActivity", k);
8202
+ }, w = _({
8199
8203
  get() {
8200
- var S;
8201
- return (S = i.value) == null ? void 0 : S.deadline;
8204
+ var k;
8205
+ return (k = i.value) == null ? void 0 : k.deadline;
8202
8206
  },
8203
- set(S) {
8207
+ set(k) {
8204
8208
  i.value && y({
8205
8209
  id: i.value.id,
8206
- deadline: S
8210
+ deadline: k
8207
8211
  });
8208
8212
  }
8209
- }), D = (S) => {
8210
- e("clear:searchText", S);
8211
- }, X = (S) => {
8212
- i.value && e("addSubtask", S);
8213
- }, ne = (S) => {
8214
- i.value && e("updateSubtask", S);
8215
- }, C = (S) => {
8216
- i.value && e("deleteSubtask", S);
8217
- }, L = (S) => {
8218
- e("addFiles", S);
8219
- }, B = (S) => {
8220
- e("removeFile", S);
8221
- }, J = (S) => {
8213
+ }), D = (k) => {
8214
+ e("clear:searchText", k);
8215
+ }, X = (k) => {
8216
+ i.value && e("addSubtask", k);
8217
+ }, ne = (k) => {
8218
+ i.value && e("updateSubtask", k);
8219
+ }, C = (k) => {
8220
+ i.value && e("deleteSubtask", k);
8221
+ }, L = (k) => {
8222
+ e("addFiles", k);
8223
+ }, Z = (k) => {
8224
+ e("removeFile", k);
8225
+ }, J = (k) => {
8222
8226
  i.value && e("addComment", {
8223
- ...S,
8227
+ ...k,
8224
8228
  activityId: i.value.id
8225
8229
  });
8226
- }, se = (S) => {
8227
- const { id: j } = i.value || {};
8228
- j && e("updateComment", S);
8229
- }, me = (S) => {
8230
- const { id: j } = i.value || {};
8231
- j && e("removeComment", S);
8232
- }, N = _(() => t.statuses.map((S) => ({
8233
- value: S.id,
8234
- label: S.name
8235
- }))), x = (S) => {
8230
+ }, se = (k) => {
8231
+ const { id: B } = i.value || {};
8232
+ B && e("updateComment", k);
8233
+ }, me = (k) => {
8234
+ const { id: B } = i.value || {};
8235
+ B && e("removeComment", k);
8236
+ }, N = _(() => t.statuses.map((k) => ({
8237
+ value: k.id,
8238
+ label: k.name
8239
+ }))), x = (k) => {
8236
8240
  i.value && e("update:activity", {
8237
8241
  id: i.value.id,
8238
- statusId: S
8242
+ statusId: k
8239
8243
  });
8240
8244
  };
8241
- return (S, j) => {
8245
+ return (k, B) => {
8242
8246
  var le;
8243
8247
  return c(), f("div", Vd, [
8244
8248
  M(Zt, null, {
8245
- primary: q(() => [
8249
+ primary: F(() => [
8246
8250
  M(Id, {
8247
- "model-value": S.searchText,
8248
- placeholder: S.$t("feed.search.placeholder"),
8249
- "onUpdate:modelValue": j[0] || (j[0] = (g) => S.$emit("update:searchText", g)),
8251
+ "model-value": k.searchText,
8252
+ placeholder: k.$t("feed.search.placeholder"),
8253
+ "onUpdate:modelValue": B[0] || (B[0] = (g) => k.$emit("update:searchText", g)),
8250
8254
  onClear: D
8251
8255
  }, null, 8, ["model-value", "placeholder"]),
8252
8256
  r("div", Hd, [
8253
8257
  M(H(pe), {
8254
- "model-value": S.filters[H(Ke).project],
8258
+ "model-value": k.filters[H(Ke).project],
8255
8259
  mode: "tags",
8256
8260
  options: u.value,
8257
8261
  "close-on-select": !1,
8258
8262
  searchable: !0,
8259
8263
  class: "ao-feed__filter",
8260
- placeholder: S.$t("feed.filters.project.placeholder"),
8261
- "onUpdate:modelValue": j[1] || (j[1] = (g) => d(H(Ke).project, g))
8264
+ placeholder: k.$t("feed.filters.project.placeholder"),
8265
+ "onUpdate:modelValue": B[1] || (B[1] = (g) => d(H(Ke).project, g))
8262
8266
  }, null, 8, ["model-value", "options", "placeholder"]),
8263
8267
  M(H(pe), {
8264
- "model-value": S.filters[H(Ke).type],
8268
+ "model-value": k.filters[H(Ke).type],
8265
8269
  mode: "tags",
8266
8270
  options: p.value,
8267
8271
  "close-on-select": !1,
8268
8272
  searchable: !0,
8269
8273
  class: "ao-feed__filter",
8270
- placeholder: S.$t("feed.filters.activityType.placeholder"),
8271
- "onUpdate:modelValue": j[2] || (j[2] = (g) => d(H(Ke).type, g))
8274
+ placeholder: k.$t("feed.filters.activityType.placeholder"),
8275
+ "onUpdate:modelValue": B[2] || (B[2] = (g) => d(H(Ke).type, g))
8272
8276
  }, null, 8, ["model-value", "options", "placeholder"]),
8273
8277
  M(H(pe), {
8274
- "model-value": S.filters[H(Ke).assignee],
8278
+ "model-value": k.filters[H(Ke).assignee],
8275
8279
  mode: "tags",
8276
8280
  options: h.value,
8277
8281
  "close-on-select": !1,
8278
8282
  searchable: !0,
8279
8283
  class: "ao-feed__filter",
8280
- placeholder: S.$t("feed.filters.assignee.placeholder"),
8281
- "onUpdate:modelValue": j[3] || (j[3] = (g) => d(H(Ke).assignee, g))
8284
+ placeholder: k.$t("feed.filters.assignee.placeholder"),
8285
+ "onUpdate:modelValue": B[3] || (B[3] = (g) => d(H(Ke).assignee, g))
8282
8286
  }, {
8283
- tag: q(({ option: g, handleTagRemove: P }) => [
8287
+ tag: F(({ option: g, handleTagRemove: P }) => [
8284
8288
  M(tt, {
8285
8289
  "user-name": g.label,
8286
8290
  "is-closable": !0,
@@ -8288,52 +8292,65 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8288
8292
  }, null, 8, ["user-name", "onClose"])
8289
8293
  ]),
8290
8294
  _: 1
8291
- }, 8, ["model-value", "options", "placeholder"])
8295
+ }, 8, ["model-value", "options", "placeholder"]),
8296
+ r("label", Dd, [
8297
+ r("input", {
8298
+ checked: k.showsArchivedActivities,
8299
+ class: "ao-field__input",
8300
+ type: "checkbox",
8301
+ onChange: B[4] || (B[4] = (g) => k.$emit(
8302
+ "update:showsArchivedActivities",
8303
+ g.target.checked
8304
+ ))
8305
+ }, null, 40, Pd),
8306
+ r("span", Nd, j(k.$t("feed.filters.showsArchivedActivities.label")), 1)
8307
+ ])
8292
8308
  ])
8293
8309
  ]),
8294
8310
  _: 1
8295
8311
  }),
8296
- r("div", Dd, [
8297
- (c(!0), f(oe, null, he(S.statuses, (g) => (c(), U(Sd, {
8312
+ r("div", Bd, [
8313
+ (c(!0), f(oe, null, he(k.statuses, (g) => (c(), R(Td, {
8298
8314
  key: g.id,
8299
8315
  status: g,
8300
8316
  list: o.value[g.id],
8301
8317
  title: g.name,
8302
- "footer-label": S.$t("feed.activity.add"),
8303
- users: S.users,
8318
+ "footer-label": k.$t("feed.activity.add"),
8319
+ users: k.users,
8304
8320
  onAdd: () => v(g),
8305
8321
  onSelectActivity: H(l),
8306
8322
  onArchiveActivity: b,
8307
- onUpdateActivity: w
8323
+ onUpdateActivity: $
8308
8324
  }, null, 8, ["status", "list", "title", "footer-label", "users", "onAdd", "onSelectActivity"]))), 128))
8309
8325
  ]),
8310
- (c(), U(kt, { to: "body" }, [
8311
- H(i) ? (c(), U(i1, {
8326
+ (c(), R(kt, { to: "body" }, [
8327
+ H(i) ? (c(), R(i1, {
8312
8328
  key: 0,
8313
8329
  activity: H(i),
8314
8330
  "activity-types": p.value,
8315
8331
  "milestone-id": (le = H(i).milestone) == null ? void 0 : le.id,
8316
8332
  "template-activities": n.value,
8317
- users: S.users,
8318
- onClose: j[5] || (j[5] = () => H(l)(null)),
8333
+ users: k.users,
8334
+ "is-task-checkable": k.isTaskCheckable,
8335
+ onClose: B[6] || (B[6] = () => H(l)(null)),
8319
8336
  "onUpdate:activity": y,
8320
8337
  onAddSubtask: X,
8321
8338
  onUpdateSubtask: ne,
8322
8339
  onDeleteSubtask: C,
8323
8340
  onAddFiles: L,
8324
- onRemoveFile: B
8341
+ onRemoveFile: Z
8325
8342
  }, {
8326
- header: q(() => [
8343
+ header: F(() => [
8327
8344
  M(ve, {
8328
8345
  ref_key: "target",
8329
- ref: I,
8346
+ ref: A,
8330
8347
  title: H(i).name || H(i).id,
8331
8348
  level: 4,
8332
8349
  "is-editable": !0,
8333
8350
  "onUpdate:title": E
8334
8351
  }, null, 8, ["title"]),
8335
- r("label", Pd, [
8336
- r("span", Nd, R(S.$t("activity.status.label")), 1),
8352
+ r("label", Zd, [
8353
+ r("span", Ud, j(k.$t("activity.status.label")), 1),
8337
8354
  M(H(pe), {
8338
8355
  options: N.value,
8339
8356
  value: H(i).status.id,
@@ -8341,36 +8358,36 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8341
8358
  }, null, 8, ["options", "value"])
8342
8359
  ])
8343
8360
  ]),
8344
- default: q(() => [
8345
- r("fieldset", Bd, [
8346
- r("label", Zd, [
8347
- r("span", Ud, R(S.$t("activity.deadline.label")), 1),
8361
+ default: F(() => [
8362
+ r("fieldset", jd, [
8363
+ r("label", Rd, [
8364
+ r("span", Fd, j(k.$t("activity.deadline.label")), 1),
8348
8365
  xe(r("input", {
8349
- "onUpdate:modelValue": j[4] || (j[4] = (g) => $.value = g),
8366
+ "onUpdate:modelValue": B[5] || (B[5] = (g) => w.value = g),
8350
8367
  class: "ao-field__input",
8351
8368
  type: "date"
8352
8369
  }, null, 512), [
8353
8370
  [
8354
8371
  ft,
8355
- $.value,
8372
+ w.value,
8356
8373
  void 0,
8357
8374
  { lazy: !0 }
8358
8375
  ]
8359
8376
  ])
8360
8377
  ])
8361
8378
  ]),
8362
- r("fieldset", jd, [
8363
- r("div", Rd, [
8379
+ r("fieldset", qd, [
8380
+ r("div", zd, [
8364
8381
  M(ie, { name: "ChatOutline" }),
8365
8382
  M(ve, {
8366
8383
  level: 4,
8367
- title: S.$t("activity.comments.title")
8384
+ title: k.$t("activity.comments.title")
8368
8385
  }, null, 8, ["title"])
8369
8386
  ]),
8370
8387
  M(W1, {
8371
8388
  comments: H(i).comments,
8372
- users: S.users,
8373
- "user-id": S.userId,
8389
+ users: k.users,
8390
+ "user-id": k.userId,
8374
8391
  onCreateComment: J,
8375
8392
  onUpdateComment: se,
8376
8393
  onRemoveComment: me
@@ -8378,28 +8395,28 @@ const Vd = { class: "ao-feed" }, Hd = { class: "ao-feed__filters" }, Dd = { clas
8378
8395
  ])
8379
8396
  ]),
8380
8397
  _: 1
8381
- }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users"])) : k("", !0)
8398
+ }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "is-task-checkable"])) : T("", !0)
8382
8399
  ]))
8383
8400
  ]);
8384
8401
  };
8385
8402
  }
8386
8403
  });
8387
8404
  export {
8388
- Jd as AoFeed,
8405
+ a9 as AoFeed,
8389
8406
  Z7 as AoTemplateDetails,
8390
- Yd as AoTemplates,
8407
+ xd as AoTemplates,
8391
8408
  ld as AoTemplatesList,
8392
- T7 as TemplateItemTypeEnum,
8393
- Kd as activityFeedStatus,
8394
- Gd as durationTypes,
8409
+ S7 as TemplateItemTypeEnum,
8410
+ Qd as activityFeedStatus,
8411
+ Xd as durationTypes,
8395
8412
  Ke as feedFilterTypes,
8396
- Qd as getProjectOverviewRoutes,
8397
- Xd as getTemplateRoutes,
8398
- xd as listUpdateTypes,
8413
+ t9 as getProjectOverviewRoutes,
8414
+ e9 as getTemplateRoutes,
8415
+ Jd as listUpdateTypes,
8399
8416
  $7 as milestoneStatus,
8400
8417
  Qe as projectOverviewRoutes,
8401
8418
  M7 as ruleComparators,
8402
- S7 as ruleDurationUnits,
8419
+ T7 as ruleDurationUnits,
8403
8420
  k7 as ruleTriggerTypes,
8404
8421
  ue as templateItemType,
8405
8422
  dt as templateRouteNames