@26lights/orcha 0.9.21 → 0.9.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, openBlock as v, createBlock as U, unref as F, mergeProps as Ve, createElementBlock as C, createElementVNode as d, pushScopeId as an, popScopeId as nn, createStaticVNode as sn, computed as b, resolveDynamicComponent as et, normalizeClass as G, renderSlot as Q, toDisplayString as W, createCommentVNode as E, ref as X, watch as ue, nextTick as Ee, withKeys as ze, toHandlers as on, withCtx as R, createTextVNode as t1, createVNode as k, withModifiers as _e, createSlots as Ht, Fragment as fe, renderList as ye, onMounted as Dt, onBeforeUnmount as ln, onUnmounted as la, toRefs as $e, getCurrentInstance as tt, toRef as ct, normalizeProps as rn, guardReactiveProps as un, onUpdated as cn, withDirectives as dt, vModelText as Et, vModelCheckbox as dn, Teleport as It, normalizeStyle as fn, resolveComponent as vn, getCurrentScope as hn, onScopeDispose as pn, provide as mn } from "vue";
1
+ import { defineComponent as x, openBlock as v, createBlock as U, unref as F, mergeProps as Ve, createElementBlock as C, createElementVNode as d, pushScopeId as nn, popScopeId as sn, createStaticVNode as on, computed as b, resolveDynamicComponent as et, normalizeClass as G, renderSlot as Q, toDisplayString as W, createCommentVNode as E, ref as X, watch as ue, nextTick as Ee, withKeys as ze, toHandlers as ln, withCtx as R, createTextVNode as t1, createVNode as k, normalizeStyle as la, withModifiers as _e, createSlots as Ht, Fragment as fe, renderList as ye, onMounted as Dt, onBeforeUnmount as rn, onUnmounted as ra, toRefs as $e, getCurrentInstance as tt, toRef as ct, normalizeProps as un, guardReactiveProps as cn, onUpdated as dn, withDirectives as dt, vModelText as Et, vModelCheckbox as fn, Teleport as It, resolveComponent as vn, getCurrentScope as pn, onScopeDispose as hn, provide as mn } from "vue";
2
2
  import { RouterView as Cn } from "vue-router";
3
3
  import Ge from "vuedraggable";
4
4
  const P4 = /* @__PURE__ */ x({
@@ -140,14 +140,14 @@ const ds = /* @__PURE__ */ P(os, [["render", cs]]), fs = {}, vs = {
140
140
  viewBox: "0 0 24 24",
141
141
  fill: "none",
142
142
  xmlns: "http://www.w3.org/2000/svg"
143
- }, hs = /* @__PURE__ */ d("path", {
143
+ }, ps = /* @__PURE__ */ d("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), ps = [
147
- hs
146
+ }, null, -1), hs = [
147
+ ps
148
148
  ];
149
149
  function ms(a, e) {
150
- return v(), C("svg", vs, ps);
150
+ return v(), C("svg", vs, hs);
151
151
  }
152
152
  const Cs = /* @__PURE__ */ P(fs, [["render", ms]]), _s = {}, gs = {
153
153
  width: "24",
@@ -275,14 +275,14 @@ const di = /* @__PURE__ */ P(oi, [["render", ci]]), fi = {}, vi = {
275
275
  viewBox: "0 0 24 24",
276
276
  fill: "none",
277
277
  xmlns: "http://www.w3.org/2000/svg"
278
- }, hi = /* @__PURE__ */ d("path", {
278
+ }, pi = /* @__PURE__ */ d("path", {
279
279
  d: "M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03334 10.975 7.75 10.975C7.46667 10.975 7.23334 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63334 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 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 21H5ZM5 19H19V5H5V19Z",
280
280
  fill: "black"
281
- }, null, -1), pi = [
282
- hi
281
+ }, null, -1), hi = [
282
+ pi
283
283
  ];
284
284
  function mi(a, e) {
285
- return v(), C("svg", vi, pi);
285
+ return v(), C("svg", vi, hi);
286
286
  }
287
287
  const Ci = /* @__PURE__ */ P(fi, [["render", mi]]), _i = {}, gi = {
288
288
  width: "24",
@@ -404,20 +404,20 @@ const io = /* @__PURE__ */ P(eo, [["render", so]]), oo = {}, lo = {
404
404
  function co(a, e) {
405
405
  return v(), C("svg", lo, uo);
406
406
  }
407
- const fo = /* @__PURE__ */ P(oo, [["render", co]]), vo = {}, ho = {
407
+ const fo = /* @__PURE__ */ P(oo, [["render", co]]), vo = {}, po = {
408
408
  width: "24",
409
409
  height: "24",
410
410
  viewBox: "0 0 24 24",
411
411
  fill: "none",
412
412
  xmlns: "http://www.w3.org/2000/svg"
413
- }, po = /* @__PURE__ */ d("path", {
413
+ }, ho = /* @__PURE__ */ d("path", {
414
414
  d: "M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",
415
415
  fill: "black"
416
416
  }, null, -1), mo = [
417
- po
417
+ ho
418
418
  ];
419
419
  function Co(a, e) {
420
- return v(), C("svg", ho, mo);
420
+ return v(), C("svg", po, mo);
421
421
  }
422
422
  const _o = /* @__PURE__ */ P(vo, [["render", Co]]), go = {}, yo = {
423
423
  width: "24",
@@ -539,20 +539,20 @@ const ol = /* @__PURE__ */ P(tl, [["render", il]]), ll = {}, rl = {
539
539
  function dl(a, e) {
540
540
  return v(), C("svg", rl, cl);
541
541
  }
542
- const fl = /* @__PURE__ */ P(ll, [["render", dl]]), vl = {}, hl = {
542
+ const fl = /* @__PURE__ */ P(ll, [["render", dl]]), vl = {}, pl = {
543
543
  width: "24",
544
544
  height: "24",
545
545
  viewBox: "0 0 24 24",
546
546
  fill: "none",
547
547
  xmlns: "http://www.w3.org/2000/svg"
548
- }, pl = /* @__PURE__ */ d("path", {
548
+ }, hl = /* @__PURE__ */ d("path", {
549
549
  d: "M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",
550
550
  fill: "black"
551
551
  }, null, -1), ml = [
552
- pl
552
+ hl
553
553
  ];
554
554
  function Cl(a, e) {
555
- return v(), C("svg", hl, ml);
555
+ return v(), C("svg", pl, ml);
556
556
  }
557
557
  const _l = /* @__PURE__ */ P(vl, [["render", Cl]]), gl = {}, yl = {
558
558
  width: "24",
@@ -617,7 +617,7 @@ function Zl(a, e) {
617
617
  const jl = /* @__PURE__ */ P(Bl, [["render", Zl]]), Fl = x({
618
618
  name: "LoadingIcon"
619
619
  });
620
- const T1 = (a) => (an("data-v-ad6da4a9"), a = a(), nn(), a), ql = {
620
+ const T1 = (a) => (nn("data-v-ad6da4a9"), a = a(), sn(), a), ql = {
621
621
  width: "24",
622
622
  height: "24",
623
623
  viewBox: "0 0 24 24",
@@ -691,7 +691,7 @@ const rr = /* @__PURE__ */ P(nr, [["render", lr]]), ur = {}, cr = {
691
691
  function vr(a, e) {
692
692
  return v(), C("svg", cr, fr);
693
693
  }
694
- const hr = /* @__PURE__ */ P(ur, [["render", vr]]), pr = {}, mr = {
694
+ const pr = /* @__PURE__ */ P(ur, [["render", vr]]), hr = {}, mr = {
695
695
  width: "24",
696
696
  height: "24",
697
697
  viewBox: "0 0 24 24",
@@ -706,7 +706,7 @@ const hr = /* @__PURE__ */ P(ur, [["render", vr]]), pr = {}, mr = {
706
706
  function gr(a, e) {
707
707
  return v(), C("svg", mr, _r);
708
708
  }
709
- const yr = /* @__PURE__ */ P(pr, [["render", gr]]), br = {}, wr = {
709
+ const yr = /* @__PURE__ */ P(hr, [["render", gr]]), br = {}, wr = {
710
710
  width: "24",
711
711
  height: "24",
712
712
  viewBox: "0 0 24 24",
@@ -826,19 +826,19 @@ const r2 = /* @__PURE__ */ P(n2, [["render", l2]]), u2 = {}, c2 = {
826
826
  function v2(a, e) {
827
827
  return v(), C("svg", c2, f2);
828
828
  }
829
- const h2 = /* @__PURE__ */ P(u2, [["render", v2]]), p2 = {}, m2 = {
829
+ const p2 = /* @__PURE__ */ P(u2, [["render", v2]]), h2 = {}, m2 = {
830
830
  width: "26",
831
831
  height: "29",
832
832
  viewBox: "0 0 26 29",
833
833
  fill: "none",
834
834
  xmlns: "http://www.w3.org/2000/svg"
835
- }, C2 = /* @__PURE__ */ sn('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), _2 = [
835
+ }, C2 = /* @__PURE__ */ on('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), _2 = [
836
836
  C2
837
837
  ];
838
838
  function g2(a, e) {
839
839
  return v(), C("svg", m2, _2);
840
840
  }
841
- const y2 = /* @__PURE__ */ P(p2, [["render", g2]]), b2 = {}, w2 = {
841
+ const y2 = /* @__PURE__ */ P(h2, [["render", g2]]), b2 = {}, w2 = {
842
842
  width: "24",
843
843
  height: "24",
844
844
  viewBox: "0 0 24 24",
@@ -958,7 +958,7 @@ const ru = /* @__PURE__ */ P(nu, [["render", lu]]), uu = {}, cu = {
958
958
  function vu(a, e) {
959
959
  return v(), C("svg", cu, fu);
960
960
  }
961
- const hu = /* @__PURE__ */ P(uu, [["render", vu]]), pu = {}, mu = {
961
+ const pu = /* @__PURE__ */ P(uu, [["render", vu]]), hu = {}, mu = {
962
962
  width: "24",
963
963
  height: "24",
964
964
  viewBox: "0 0 24 24",
@@ -973,7 +973,7 @@ const hu = /* @__PURE__ */ P(uu, [["render", vu]]), pu = {}, mu = {
973
973
  function gu(a, e) {
974
974
  return v(), C("svg", mu, _u);
975
975
  }
976
- const yu = /* @__PURE__ */ P(pu, [["render", gu]]), bu = {}, wu = {
976
+ const yu = /* @__PURE__ */ P(hu, [["render", gu]]), bu = {}, wu = {
977
977
  width: "24",
978
978
  height: "24",
979
979
  viewBox: "0 0 24 24",
@@ -1093,7 +1093,7 @@ const Gu = /* @__PURE__ */ P(Wu, [["render", Ku]]), Xu = /* @__PURE__ */ Object.
1093
1093
  Loading: Gl,
1094
1094
  LogoutRounded: ar,
1095
1095
  Menu: rr,
1096
- MoreHoriz: hr,
1096
+ MoreHoriz: pr,
1097
1097
  MoreTimeRounded: yr,
1098
1098
  MoreVert: Ar,
1099
1099
  MountainFlagOutlineRounded: Lr,
@@ -1102,7 +1102,7 @@ const Gu = /* @__PURE__ */ P(Wu, [["render", Ku]]), Xu = /* @__PURE__ */ Object.
1102
1102
  RadioButtonChecked: Gr,
1103
1103
  RadioButtonCheckedOutline: a2,
1104
1104
  RadioButtonUnchecked: r2,
1105
- RemoveRounded: h2,
1105
+ RemoveRounded: p2,
1106
1106
  SearchRounded: y2,
1107
1107
  SelectCheckBox: A2,
1108
1108
  SendRounded: L2,
@@ -1111,7 +1111,7 @@ const Gu = /* @__PURE__ */ P(Wu, [["render", Ku]]), Xu = /* @__PURE__ */ Object.
1111
1111
  Target: G2,
1112
1112
  TaskOutlineRounded: au,
1113
1113
  TextSnippetRounded: ru,
1114
- TimerOutline: hu,
1114
+ TimerOutline: pu,
1115
1115
  ViewComfyAltRounded: yu,
1116
1116
  ViewCompactAltRounded: Au,
1117
1117
  ViewTimelineRounded: Lu,
@@ -1131,7 +1131,7 @@ const Gu = /* @__PURE__ */ P(Wu, [["render", Ku]]), Xu = /* @__PURE__ */ Object.
1131
1131
  PRIMARY: "primary",
1132
1132
  NEUTRAL: "neutral",
1133
1133
  BLACK: "black"
1134
- }, ra = {
1134
+ }, ua = {
1135
1135
  ROUND: "round",
1136
1136
  ROUNDED: "rounded"
1137
1137
  }, de = /* @__PURE__ */ x({
@@ -1162,7 +1162,7 @@ const ec = ["type"], tc = {
1162
1162
  footer: { type: Boolean, default: () => !1 },
1163
1163
  size: { default: () => a1.MD },
1164
1164
  isLoading: { type: Boolean, default: () => !1 },
1165
- corners: { default: () => ra.ROUNDED }
1165
+ corners: { default: () => ua.ROUNDED }
1166
1166
  },
1167
1167
  setup(a) {
1168
1168
  const e = a, t = b(() => e.size), s = b(() => e.isLoading ? "Loading" : e.iconName);
@@ -1191,7 +1191,7 @@ const ec = ["type"], tc = {
1191
1191
  ], 10, ec));
1192
1192
  }
1193
1193
  });
1194
- function ua(a) {
1194
+ function ca(a) {
1195
1195
  const e = X(!1), t = X(""), s = b(() => "value" in a.value ? "value" : "innerHTML"), n = () => {
1196
1196
  e.value = !e.value;
1197
1197
  }, o = (r) => {
@@ -1220,7 +1220,7 @@ function ua(a) {
1220
1220
  onDiscard: i
1221
1221
  };
1222
1222
  }
1223
- const pe = /* @__PURE__ */ x({
1223
+ const he = /* @__PURE__ */ x({
1224
1224
  __name: "AoTitle",
1225
1225
  props: {
1226
1226
  id: {},
@@ -1232,19 +1232,19 @@ const pe = /* @__PURE__ */ x({
1232
1232
  },
1233
1233
  emits: ["update:title", "toggle-is-editing"],
1234
1234
  setup(a, { emit: e }) {
1235
- const t = a, s = X(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = ua(s), r = b(() => n.value ? "input" : t.tag || `h${t.level}`), c = b(() => t.isEditable ? n.value ? {
1235
+ const t = a, s = X(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = ca(s), r = b(() => n.value ? "input" : t.tag || `h${t.level}`), c = b(() => t.isEditable ? n.value ? {
1236
1236
  change: u,
1237
1237
  click: ($) => $.stopPropagation(),
1238
- blur: h
1238
+ blur: p
1239
1239
  } : {
1240
1240
  click: g,
1241
1241
  focus: g
1242
1242
  } : {}), u = i(($, T) => {
1243
1243
  const w = T.target.value;
1244
1244
  e("update:title", w);
1245
- }), f = l(), h = async () => {
1245
+ }), f = l(), p = async () => {
1246
1246
  n.value && o(!1);
1247
- }, p = () => {
1247
+ }, h = () => {
1248
1248
  e("toggle-is-editing", !1);
1249
1249
  }, g = ($) => {
1250
1250
  $.stopPropagation(), n.value || o(!0);
@@ -1271,8 +1271,8 @@ const pe = /* @__PURE__ */ x({
1271
1271
  type: F(n) ? "text" : null,
1272
1272
  value: F(n) ? $.title : null,
1273
1273
  tabindex: "0",
1274
- onKeyup: ze(p, ["enter"])
1275
- }, on(c.value), {
1274
+ onKeyup: ze(h, ["enter"])
1275
+ }, ln(c.value), {
1276
1276
  onKeydown: ze(F(f), ["esc"])
1277
1277
  }), {
1278
1278
  default: R(() => [
@@ -1303,7 +1303,7 @@ const ac = {
1303
1303
  }, cc = {
1304
1304
  key: 3,
1305
1305
  class: "ao-card-horiz__secondary"
1306
- }, ca = /* @__PURE__ */ x({
1306
+ }, da = /* @__PURE__ */ x({
1307
1307
  __name: "AoCardHoriz",
1308
1308
  props: {
1309
1309
  id: {},
@@ -1339,7 +1339,7 @@ const ac = {
1339
1339
  }, null, 8, ["name"])
1340
1340
  ])) : E("", !0),
1341
1341
  d("div", ic, [
1342
- k(pe, {
1342
+ k(he, {
1343
1343
  id: s.id,
1344
1344
  class: "ao-card-horiz__title",
1345
1345
  level: 4,
@@ -1374,6 +1374,7 @@ const S1 = /* @__PURE__ */ x({
1374
1374
  props: {
1375
1375
  label: {},
1376
1376
  color: {},
1377
+ rawColor: {},
1377
1378
  clickable: { type: Boolean },
1378
1379
  closable: { type: Boolean },
1379
1380
  variant: {}
@@ -1390,7 +1391,8 @@ const S1 = /* @__PURE__ */ x({
1390
1391
  n.clickable ? "ao-tag--clickable" : "",
1391
1392
  n.closable ? "ao-tag--closable" : "",
1392
1393
  n.variant ? `ao-tag--${n.variant}` : ""
1393
- ])
1394
+ ]),
1395
+ style: la(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
1394
1396
  }, [
1395
1397
  (v(), U(et(t.value), Ve({ class: "ao-tag__label" }, s.value, {
1396
1398
  onClick: o[0] || (o[0] = (i) => n.$emit("click", i))
@@ -1411,7 +1413,7 @@ const S1 = /* @__PURE__ */ x({
1411
1413
  class: "ao-tag__close-icon"
1412
1414
  })
1413
1415
  ])) : E("", !0)
1414
- ], 2));
1416
+ ], 6));
1415
1417
  }
1416
1418
  });
1417
1419
  function Yt(a) {
@@ -1450,17 +1452,17 @@ function vc(a) {
1450
1452
  var e = new Date(Date.UTC(a.getFullYear(), a.getMonth(), a.getDate(), a.getHours(), a.getMinutes(), a.getSeconds(), a.getMilliseconds()));
1451
1453
  return e.setUTCFullYear(a.getFullYear()), a.getTime() - e.getTime();
1452
1454
  }
1453
- var da = 6e4, fa = 36e5;
1454
- function hc(a) {
1455
+ var fa = 6e4, va = 36e5;
1456
+ function pc(a) {
1455
1457
  return ge(1, arguments), a instanceof Date || Yt(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
1456
1458
  }
1457
- function va(a) {
1458
- if (ge(1, arguments), !hc(a) && typeof a != "number")
1459
+ function pa(a) {
1460
+ if (ge(1, arguments), !pc(a) && typeof a != "number")
1459
1461
  return !1;
1460
1462
  var e = De(a);
1461
1463
  return !isNaN(Number(e));
1462
1464
  }
1463
- function pc(a, e) {
1465
+ function hc(a, e) {
1464
1466
  ge(2, arguments);
1465
1467
  var t = xe(e);
1466
1468
  return dc(a, -t);
@@ -1506,28 +1508,28 @@ function Gt(a, e) {
1506
1508
  var u = n1(), f = xe((t = (s = (n = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && n !== void 0 ? n : u.weekStartsOn) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && t !== void 0 ? t : 0);
1507
1509
  if (!(f >= 0 && f <= 6))
1508
1510
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1509
- var h = De(a), p = h.getUTCDay(), g = (p < f ? 7 : 0) + p - f;
1510
- return h.setUTCDate(h.getUTCDate() - g), h.setUTCHours(0, 0, 0, 0), h;
1511
+ var p = De(a), h = p.getUTCDay(), g = (h < f ? 7 : 0) + h - f;
1512
+ return p.setUTCDate(p.getUTCDate() - g), p.setUTCHours(0, 0, 0, 0), p;
1511
1513
  }
1512
- function pa(a, e) {
1514
+ function ma(a, e) {
1513
1515
  var t, s, n, o, i, l, r, c;
1514
1516
  ge(1, arguments);
1515
- var u = De(a), f = u.getUTCFullYear(), h = n1(), p = xe((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : h.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = h.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1516
- if (!(p >= 1 && p <= 7))
1517
+ var u = De(a), f = u.getUTCFullYear(), p = n1(), h = xe((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : p.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = p.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && t !== void 0 ? t : 1);
1518
+ if (!(h >= 1 && h <= 7))
1517
1519
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1518
1520
  var g = /* @__PURE__ */ new Date(0);
1519
- g.setUTCFullYear(f + 1, 0, p), g.setUTCHours(0, 0, 0, 0);
1521
+ g.setUTCFullYear(f + 1, 0, h), g.setUTCHours(0, 0, 0, 0);
1520
1522
  var $ = Gt(g, e), T = /* @__PURE__ */ new Date(0);
1521
- T.setUTCFullYear(f, 0, p), T.setUTCHours(0, 0, 0, 0);
1523
+ T.setUTCFullYear(f, 0, h), T.setUTCHours(0, 0, 0, 0);
1522
1524
  var M = Gt(T, e);
1523
1525
  return u.getTime() >= $.getTime() ? f + 1 : u.getTime() >= M.getTime() ? f : f - 1;
1524
1526
  }
1525
1527
  function bc(a, e) {
1526
1528
  var t, s, n, o, i, l, r, c;
1527
1529
  ge(1, arguments);
1528
- var u = n1(), f = xe((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), h = pa(a, e), p = /* @__PURE__ */ new Date(0);
1529
- p.setUTCFullYear(h, 0, f), p.setUTCHours(0, 0, 0, 0);
1530
- var g = Gt(p, e);
1530
+ var u = n1(), f = xe((t = (s = (n = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && n !== void 0 ? n : u.firstWeekContainsDate) !== null && s !== void 0 ? s : (r = u.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p = ma(a, e), h = /* @__PURE__ */ new Date(0);
1531
+ h.setUTCFullYear(p, 0, f), h.setUTCHours(0, 0, 0, 0);
1532
+ var g = Gt(h, e);
1531
1533
  return g;
1532
1534
  }
1533
1535
  var wc = 6048e5;
@@ -1638,7 +1640,7 @@ var rt = {
1638
1640
  },
1639
1641
  // Local week-numbering year
1640
1642
  Y: function(e, t, s, n) {
1641
- var o = pa(e, n), i = o > 0 ? o : 1 - o;
1643
+ var o = ma(e, n), i = o > 0 ? o : 1 - o;
1642
1644
  if (t === "YY") {
1643
1645
  var l = i % 100;
1644
1646
  return ie(l, 2);
@@ -2179,7 +2181,7 @@ var X1 = function(e, t) {
2179
2181
  width: "full"
2180
2182
  });
2181
2183
  }
2182
- }, ma = function(e, t) {
2184
+ }, Ca = function(e, t) {
2183
2185
  switch (e) {
2184
2186
  case "p":
2185
2187
  return t.time({
@@ -2227,9 +2229,9 @@ var X1 = function(e, t) {
2227
2229
  });
2228
2230
  break;
2229
2231
  }
2230
- return i.replace("{{date}}", X1(n, t)).replace("{{time}}", ma(o, t));
2232
+ return i.replace("{{date}}", X1(n, t)).replace("{{time}}", Ca(o, t));
2231
2233
  }, Sc = {
2232
- p: ma,
2234
+ p: Ca,
2233
2235
  P: Tc
2234
2236
  };
2235
2237
  const Ec = Sc;
@@ -2573,7 +2575,7 @@ var nd = /^(\d+)(th|st|nd|rd)?/i, sd = /\d+/i, id = {
2573
2575
  }, vd = {
2574
2576
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
2575
2577
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
2576
- }, hd = {
2578
+ }, pd = {
2577
2579
  any: {
2578
2580
  am: /^a/i,
2579
2581
  pm: /^p/i,
@@ -2584,7 +2586,7 @@ var nd = /^(\d+)(th|st|nd|rd)?/i, sd = /\d+/i, id = {
2584
2586
  evening: /evening/i,
2585
2587
  night: /night/i
2586
2588
  }
2587
- }, pd = {
2589
+ }, hd = {
2588
2590
  ordinalNumber: ad({
2589
2591
  matchPattern: nd,
2590
2592
  parsePattern: sd,
@@ -2622,11 +2624,11 @@ var nd = /^(\d+)(th|st|nd|rd)?/i, sd = /\d+/i, id = {
2622
2624
  dayPeriod: $t({
2623
2625
  matchPatterns: vd,
2624
2626
  defaultMatchWidth: "any",
2625
- parsePatterns: hd,
2627
+ parsePatterns: pd,
2626
2628
  defaultParseWidth: "any"
2627
2629
  })
2628
2630
  };
2629
- const md = pd;
2631
+ const md = hd;
2630
2632
  var Cd = {
2631
2633
  code: "en-US",
2632
2634
  formatDistance: Pc,
@@ -2642,12 +2644,12 @@ var Cd = {
2642
2644
  const _d = Cd;
2643
2645
  var gd = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, yd = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, bd = /^'([^]*?)'?$/, wd = /''/g, $d = /[a-zA-Z]/;
2644
2646
  function Md(a, e, t) {
2645
- var s, n, o, i, l, r, c, u, f, h, p, g, $, T, M, w, L, Z;
2647
+ var s, n, o, i, l, r, c, u, f, p, h, g, $, T, M, w, L, Z;
2646
2648
  ge(2, arguments);
2647
- var j = String(e), V = n1(), I = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : V.locale) !== null && s !== void 0 ? s : _d, z = xe((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (c = t.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = V.locale) === null || f === void 0 || (h = f.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2649
+ var j = String(e), V = n1(), I = (s = (n = t == null ? void 0 : t.locale) !== null && n !== void 0 ? n : V.locale) !== null && s !== void 0 ? s : _d, z = xe((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (c = t.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = V.locale) === null || f === void 0 || (p = f.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2648
2650
  if (!(z >= 1 && z <= 7))
2649
2651
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2650
- var Y = xe((p = (g = ($ = (T = t == null ? void 0 : t.weekStartsOn) !== null && T !== void 0 ? T : t == null || (M = t.locale) === null || M === void 0 || (w = M.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && $ !== void 0 ? $ : V.weekStartsOn) !== null && g !== void 0 ? g : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && p !== void 0 ? p : 0);
2652
+ var Y = xe((h = (g = ($ = (T = t == null ? void 0 : t.weekStartsOn) !== null && T !== void 0 ? T : t == null || (M = t.locale) === null || M === void 0 || (w = M.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && $ !== void 0 ? $ : V.weekStartsOn) !== null && g !== void 0 ? g : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && h !== void 0 ? h : 0);
2651
2653
  if (!(Y >= 0 && Y <= 6))
2652
2654
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2653
2655
  if (!I.localize)
@@ -2655,9 +2657,9 @@ function Md(a, e, t) {
2655
2657
  if (!I.formatLong)
2656
2658
  throw new RangeError("locale must contain formatLong property");
2657
2659
  var ne = De(a);
2658
- if (!va(ne))
2660
+ if (!pa(ne))
2659
2661
  throw new RangeError("Invalid time value");
2660
- var y = vc(ne), S = pc(ne, y), D = {
2662
+ var y = vc(ne), S = hc(ne, y), D = {
2661
2663
  firstWeekContainsDate: z,
2662
2664
  weekStartsOn: Y,
2663
2665
  locale: I,
@@ -2763,7 +2765,7 @@ function Vd(a) {
2763
2765
  if (!e)
2764
2766
  return NaN;
2765
2767
  var t = w1(e[1]), s = w1(e[2]), n = w1(e[3]);
2766
- return Ud(t, s, n) ? t * fa + s * da + n * 1e3 : NaN;
2768
+ return Ud(t, s, n) ? t * va + s * fa + n * 1e3 : NaN;
2767
2769
  }
2768
2770
  function w1(a) {
2769
2771
  return a && parseFloat(a.replace(",", ".")) || 0;
@@ -2775,7 +2777,7 @@ function Hd(a) {
2775
2777
  if (!e)
2776
2778
  return 0;
2777
2779
  var t = e[1] === "+" ? -1 : 1, s = parseInt(e[2]), n = e[3] && parseInt(e[3]) || 0;
2778
- return Zd(s, n) ? t * (s * fa + n * da) : NaN;
2780
+ return Zd(s, n) ? t * (s * va + n * fa) : NaN;
2779
2781
  }
2780
2782
  function Dd(a, e, t) {
2781
2783
  var s = /* @__PURE__ */ new Date(0);
@@ -2784,14 +2786,14 @@ function Dd(a, e, t) {
2784
2786
  return s.setUTCDate(s.getUTCDate() + o), s;
2785
2787
  }
2786
2788
  var Pd = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
2787
- function Ca(a) {
2789
+ function _a(a) {
2788
2790
  return a % 400 === 0 || a % 4 === 0 && a % 100 !== 0;
2789
2791
  }
2790
2792
  function Bd(a, e, t) {
2791
- return e >= 0 && e <= 11 && t >= 1 && t <= (Pd[e] || (Ca(a) ? 29 : 28));
2793
+ return e >= 0 && e <= 11 && t >= 1 && t <= (Pd[e] || (_a(a) ? 29 : 28));
2792
2794
  }
2793
2795
  function Nd(a, e) {
2794
- return e >= 1 && e <= (Ca(a) ? 366 : 365);
2796
+ return e >= 1 && e <= (_a(a) ? 366 : 365);
2795
2797
  }
2796
2798
  function Rd(a, e, t) {
2797
2799
  return e >= 1 && e <= 53 && t >= 0 && t <= 6;
@@ -2802,7 +2804,7 @@ function Ud(a, e, t) {
2802
2804
  function Zd(a, e) {
2803
2805
  return e >= 0 && e <= 59;
2804
2806
  }
2805
- var Te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ae = {}, _a = {}, kt = {}, Pt = {}, Ct = {}, s1 = {};
2807
+ var Te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ae = {}, ga = {}, kt = {}, Pt = {}, Ct = {}, s1 = {};
2806
2808
  Object.defineProperty(s1, "__esModule", { value: !0 });
2807
2809
  s1.lexoHelper = void 0;
2808
2810
  s1.lexoHelper = {
@@ -3150,11 +3152,11 @@ class Me {
3150
3152
  }
3151
3153
  Pt.LexoDecimal = Me;
3152
3154
  var zt = {}, J1;
3153
- function ga() {
3155
+ function ya() {
3154
3156
  if (J1)
3155
3157
  return zt;
3156
3158
  J1 = 1, Object.defineProperty(zt, "__esModule", { value: !0 });
3157
- const a = Ct, e = ba();
3159
+ const a = Ct, e = wa();
3158
3160
  class t {
3159
3161
  constructor(n) {
3160
3162
  this.value = a.LexoInteger.parse(n, e.LexoRank.NUMERAL_SYSTEM);
@@ -3207,8 +3209,8 @@ function ga() {
3207
3209
  }
3208
3210
  return zt.default = t, zt;
3209
3211
  }
3210
- var E1 = {}, ya = {};
3211
- Object.defineProperty(ya, "__esModule", { value: !0 });
3212
+ var E1 = {}, ba = {};
3213
+ Object.defineProperty(ba, "__esModule", { value: !0 });
3212
3214
  var i1 = {};
3213
3215
  Object.defineProperty(i1, "__esModule", { value: !0 });
3214
3216
  i1.LexoNumeralSystem10 = void 0;
@@ -3316,14 +3318,14 @@ l1.LexoNumeralSystem64 = Yd;
3316
3318
  for (var o in s)
3317
3319
  o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
3318
3320
  };
3319
- Object.defineProperty(a, "__esModule", { value: !0 }), t(ya, a), t(i1, a), t(o1, a), t(l1, a);
3321
+ Object.defineProperty(a, "__esModule", { value: !0 }), t(ba, a), t(i1, a), t(o1, a), t(l1, a);
3320
3322
  })(E1);
3321
3323
  var ea;
3322
- function ba() {
3324
+ function wa() {
3323
3325
  if (ea)
3324
3326
  return kt;
3325
3327
  ea = 1, Object.defineProperty(kt, "__esModule", { value: !0 }), kt.LexoRank = void 0;
3326
- const a = Pt, e = ga(), t = Bt, s = E1;
3328
+ const a = Pt, e = ya(), t = Bt, s = E1;
3327
3329
  class n {
3328
3330
  constructor(i, l) {
3329
3331
  this.value = i.format() + "|" + n.formatDecimal(l), this.bucket = i, this.decimal = l;
@@ -3391,15 +3393,15 @@ function ba() {
3391
3393
  break;
3392
3394
  g = $, r = T;
3393
3395
  }
3394
- let h = n.middleInternal(i, l, r, c), p;
3395
- for (let g = h.getScale(); g > 0; g = p) {
3396
- p = g - 1;
3397
- const $ = h.setScale(p);
3396
+ let p = n.middleInternal(i, l, r, c), h;
3397
+ for (let g = p.getScale(); g > 0; g = h) {
3398
+ h = g - 1;
3399
+ const $ = p.setScale(h);
3398
3400
  if (i.compareTo($) >= 0 || $.compareTo(l) >= 0)
3399
3401
  break;
3400
- h = $;
3402
+ p = $;
3401
3403
  }
3402
- return h;
3404
+ return p;
3403
3405
  }
3404
3406
  static parse(i) {
3405
3407
  const l = i.split("|"), r = e.default.from(l[0]), c = a.LexoDecimal.parse(l[1], n.NUMERAL_SYSTEM);
@@ -3423,9 +3425,9 @@ function ba() {
3423
3425
  const f = c.setScale(u, !1);
3424
3426
  if (f.compareTo(i) > 0)
3425
3427
  return f;
3426
- const h = c.setScale(u, !0);
3427
- if (h.compareTo(l) < 0)
3428
- return h;
3428
+ const p = c.setScale(u, !0);
3429
+ if (p.compareTo(l) < 0)
3430
+ return p;
3429
3431
  }
3430
3432
  return c;
3431
3433
  }
@@ -3509,8 +3511,8 @@ function ba() {
3509
3511
  for (var o in s)
3510
3512
  o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
3511
3513
  };
3512
- Object.defineProperty(a, "__esModule", { value: !0 }), t(ba(), a), t(ga(), a), t(Pt, a), t(Ct, a);
3513
- })(_a);
3514
+ Object.defineProperty(a, "__esModule", { value: !0 }), t(wa(), a), t(ya(), a), t(Pt, a), t(Ct, a);
3515
+ })(ga);
3514
3516
  (function(a) {
3515
3517
  var e = Te && Te.__createBinding || (Object.create ? function(s, n, o, i) {
3516
3518
  i === void 0 && (i = o);
@@ -3524,9 +3526,9 @@ function ba() {
3524
3526
  for (var o in s)
3525
3527
  o !== "default" && !Object.prototype.hasOwnProperty.call(n, o) && e(n, s, o);
3526
3528
  };
3527
- Object.defineProperty(a, "__esModule", { value: !0 }), t(_a, a), t(E1, a);
3529
+ Object.defineProperty(a, "__esModule", { value: !0 }), t(ga, a), t(E1, a);
3528
3530
  })(Ae);
3529
- function wa(a) {
3531
+ function $a(a) {
3530
3532
  return (a == null ? void 0 : a.reduce((e, t) => {
3531
3533
  var s;
3532
3534
  return e + (((s = t.activities) == null ? void 0 : s.length) ?? 0);
@@ -3541,7 +3543,7 @@ function Kd(a) {
3541
3543
  function Gd(a) {
3542
3544
  return (a == null ? void 0 : a.reduce((e, t) => {
3543
3545
  var n;
3544
- const s = (n = t.milestones) != null && n.length ? wa(t.milestones) : 0;
3546
+ const s = (n = t.milestones) != null && n.length ? $a(t.milestones) : 0;
3545
3547
  return e + s;
3546
3548
  }, 0)) ?? 0;
3547
3549
  }
@@ -3570,7 +3572,7 @@ function k1(a, e = "dd/MM/yyyy") {
3570
3572
  if (!a)
3571
3573
  return "";
3572
3574
  const t = Ad(a);
3573
- return va(t) ? Md(t, e) : "";
3575
+ return pa(t) ? Md(t, e) : "";
3574
3576
  }
3575
3577
  const Qd = ["title"], Jd = { className: "ao-avatar__initials" }, _t = /* @__PURE__ */ x({
3576
3578
  __name: "AoAvatar",
@@ -3601,16 +3603,16 @@ const Qd = ["title"], Jd = { className: "ao-avatar__initials" }, _t = /* @__PURE
3601
3603
  ], 10, Qd));
3602
3604
  }
3603
3605
  });
3604
- const e3 = { class: "ao-card-template__subitems" }, t3 = { class: "ao-card-template__subitem" }, a3 = { class: "ao-card-template__subitem-number" }, n3 = { class: "ao-card-template__subitem" }, s3 = { class: "ao-card-template__subitem" }, i3 = { class: "ao-card-template__body" }, o3 = { class: "ao-card-template__col ao-card-template__col--phases" }, l3 = { class: "ao-card-template__col-title" }, r3 = { class: "ao-card-template__col-label" }, u3 = {
3606
+ const e0 = { class: "ao-card-template__subitems" }, t0 = { class: "ao-card-template__subitem" }, a0 = { class: "ao-card-template__subitem-number" }, n0 = { class: "ao-card-template__subitem" }, s0 = { class: "ao-card-template__subitem" }, i0 = { class: "ao-card-template__body" }, o0 = { class: "ao-card-template__col ao-card-template__col--phases" }, l0 = { class: "ao-card-template__col-title" }, r0 = { class: "ao-card-template__col-label" }, u0 = {
3605
3607
  key: 0,
3606
3608
  class: "ao-card-template__col-body ao-card-template__phases-list"
3607
- }, c3 = { class: "ao-card-template__footer" }, d3 = {
3609
+ }, c0 = { class: "ao-card-template__footer" }, d0 = {
3608
3610
  key: 0,
3609
3611
  class: "ao-card-template__col ao-card-template__col--updated-at"
3610
- }, f3 = { class: "ao-card-template__col-title" }, v3 = { class: "ao-card-template__col-label" }, h3 = { class: "ao-card-template__col-body" }, p3 = {
3612
+ }, f0 = { class: "ao-card-template__col-title" }, v0 = { class: "ao-card-template__col-label" }, p0 = { class: "ao-card-template__col-body" }, h0 = {
3611
3613
  key: 1,
3612
3614
  class: "ao-card-template__col ao-card-template__col--updated-by"
3613
- }, m3 = { class: "ao-card-template__col-title" }, C3 = { class: "ao-card-template__col-label" }, _3 = { class: "ao-card-template__col-body" }, g3 = /* @__PURE__ */ x({
3615
+ }, m0 = { class: "ao-card-template__col-title" }, C0 = { class: "ao-card-template__col-label" }, _0 = { class: "ao-card-template__col-body" }, g0 = /* @__PURE__ */ x({
3614
3616
  __name: "AoCardTemplate",
3615
3617
  props: {
3616
3618
  id: {},
@@ -3626,41 +3628,41 @@ const e3 = { class: "ao-card-template__subitems" }, t3 = { class: "ao-card-templ
3626
3628
  const t = (s) => {
3627
3629
  e("updateTitle", s);
3628
3630
  };
3629
- return (s, n) => (v(), U(ca, {
3631
+ return (s, n) => (v(), U(da, {
3630
3632
  id: s.id,
3631
3633
  title: s.title,
3632
3634
  "is-draggable": !0,
3633
3635
  "onUpdate:title": t
3634
3636
  }, Ht({
3635
3637
  subtitle: R(() => [
3636
- d("ul", e3, [
3637
- d("li", t3, [
3638
+ d("ul", e0, [
3639
+ d("li", t0, [
3638
3640
  k(de, {
3639
3641
  name: "MountainFlagOutlineRounded",
3640
3642
  size: "sm"
3641
3643
  }),
3642
- d("span", a3, W(s.milestones), 1)
3644
+ d("span", a0, W(s.milestones), 1)
3643
3645
  ]),
3644
- d("li", n3, [
3646
+ d("li", n0, [
3645
3647
  k(de, {
3646
3648
  name: "TaskOutlineRounded",
3647
3649
  size: "sm"
3648
3650
  }),
3649
- d("span", s3, W(s.activities), 1)
3651
+ d("span", s0, W(s.activities), 1)
3650
3652
  ])
3651
3653
  ])
3652
3654
  ]),
3653
3655
  default: R(() => [
3654
- d("div", i3, [
3655
- d("div", o3, [
3656
- d("div", l3, [
3656
+ d("div", i0, [
3657
+ d("div", o0, [
3658
+ d("div", l0, [
3657
3659
  k(de, {
3658
3660
  name: "WaterfallChartRounded",
3659
3661
  size: "sm"
3660
3662
  }),
3661
- d("span", r3, W(s.$t("template.phases.title")), 1)
3663
+ d("span", r0, W(s.$t("template.phases.title")), 1)
3662
3664
  ]),
3663
- s.phases ? (v(), C("ul", u3, [
3665
+ s.phases ? (v(), C("ul", u0, [
3664
3666
  (v(!0), C(fe, null, ye(s.phases, (o) => (v(), U(S1, {
3665
3667
  key: o.id,
3666
3668
  label: o.name || o.id,
@@ -3676,20 +3678,20 @@ const e3 = { class: "ao-card-template__subitems" }, t3 = { class: "ao-card-templ
3676
3678
  s.updatedBy || s.updatedAt ? {
3677
3679
  name: "footer",
3678
3680
  fn: R(() => [
3679
- d("div", c3, [
3680
- s.updatedAt ? (v(), C("div", d3, [
3681
- d("div", f3, [
3682
- d("span", v3, W(s.$t("template.updatedAt.label")), 1)
3681
+ d("div", c0, [
3682
+ s.updatedAt ? (v(), C("div", d0, [
3683
+ d("div", f0, [
3684
+ d("span", v0, W(s.$t("template.updatedAt.label")), 1)
3683
3685
  ]),
3684
- d("div", h3, [
3686
+ d("div", p0, [
3685
3687
  d("span", null, W(s.updatedAt), 1)
3686
3688
  ])
3687
3689
  ])) : E("", !0),
3688
- s.updatedBy ? (v(), C("div", p3, [
3689
- d("div", m3, [
3690
- d("span", C3, W(s.$t("template.updatedBy.label")), 1)
3690
+ s.updatedBy ? (v(), C("div", h0, [
3691
+ d("div", m0, [
3692
+ d("span", C0, W(s.$t("template.updatedBy.label")), 1)
3691
3693
  ]),
3692
- d("div", _3, [
3694
+ d("div", _0, [
3693
3695
  k(_t, { "user-name": s.updatedBy }, null, 8, ["user-name"])
3694
3696
  ])
3695
3697
  ])) : E("", !0)
@@ -3700,7 +3702,7 @@ const e3 = { class: "ao-card-template__subitems" }, t3 = { class: "ao-card-templ
3700
3702
  ]), 1032, ["id", "title"]));
3701
3703
  }
3702
3704
  });
3703
- const y3 = { class: "ao-page-header" }, b3 = { class: "ao-page-header-main" }, w3 = {
3705
+ const y0 = { class: "ao-page-header" }, b0 = { class: "ao-page-header-main" }, w0 = {
3704
3706
  key: 0,
3705
3707
  class: "ao-page-header-secondary"
3706
3708
  }, r1 = /* @__PURE__ */ x({
@@ -3710,8 +3712,8 @@ const y3 = { class: "ao-page-header" }, b3 = { class: "ao-page-header-main" }, w
3710
3712
  },
3711
3713
  emits: ["goBack"],
3712
3714
  setup(a) {
3713
- return (e, t) => (v(), C("header", y3, [
3714
- d("div", b3, [
3715
+ return (e, t) => (v(), C("header", y0, [
3716
+ d("div", b0, [
3715
3717
  e.canGoBack ? (v(), U(ce, {
3716
3718
  key: 0,
3717
3719
  "icon-name": "ArrowBackRounded",
@@ -3720,13 +3722,13 @@ const y3 = { class: "ao-page-header" }, b3 = { class: "ao-page-header-main" }, w
3720
3722
  })) : E("", !0),
3721
3723
  Q(e.$slots, "primary")
3722
3724
  ]),
3723
- e.$slots.secondary ? (v(), C("div", w3, [
3725
+ e.$slots.secondary ? (v(), C("div", w0, [
3724
3726
  Q(e.$slots, "secondary")
3725
3727
  ])) : E("", !0)
3726
3728
  ]));
3727
3729
  }
3728
3730
  });
3729
- const $3 = ["type"], M3 = {
3731
+ const $0 = ["type"], M0 = {
3730
3732
  key: 0,
3731
3733
  class: "ao-button-card__label"
3732
3734
  }, Xe = /* @__PURE__ */ x({
@@ -3739,7 +3741,7 @@ const $3 = ["type"], M3 = {
3739
3741
  color: { default: () => Ju.BLACK },
3740
3742
  size: { default: () => a1.MD },
3741
3743
  isLoading: { type: Boolean, default: () => !1 },
3742
- corners: { default: () => ra.ROUNDED }
3744
+ corners: { default: () => ua.ROUNDED }
3743
3745
  },
3744
3746
  setup(a) {
3745
3747
  const e = a, t = b(() => e.size), s = b(() => e.isLoading ? "Loading" : e.iconName);
@@ -3753,7 +3755,7 @@ const $3 = ["type"], M3 = {
3753
3755
  ])
3754
3756
  }, [
3755
3757
  Q(n.$slots, "default", {}, () => [
3756
- n.label ? (v(), C("span", M3, W(n.label), 1)) : E("", !0)
3758
+ n.label ? (v(), C("span", M0, W(n.label), 1)) : E("", !0)
3757
3759
  ]),
3758
3760
  s.value ? (v(), U(de, {
3759
3761
  key: 0,
@@ -3761,13 +3763,13 @@ const $3 = ["type"], M3 = {
3761
3763
  class: "ao-button-card__icon",
3762
3764
  size: t.value
3763
3765
  }, null, 8, ["name", "size"])) : E("", !0)
3764
- ], 10, $3));
3766
+ ], 10, $0));
3765
3767
  }
3766
3768
  });
3767
- const k3 = { class: "ao-card-template-item__footer" }, A3 = {
3769
+ const k0 = { class: "ao-card-template-item__footer" }, A0 = {
3768
3770
  key: 0,
3769
3771
  class: "ao-card-template-item__subitem"
3770
- }, T3 = { class: "ao-card-template-item__subitem-number" }, S3 = { class: "ao-card-template-item__secondary" }, I1 = /* @__PURE__ */ x({
3772
+ }, T0 = { class: "ao-card-template-item__subitem-number" }, S0 = { class: "ao-card-template-item__secondary" }, I1 = /* @__PURE__ */ x({
3771
3773
  __name: "AoCardTemplateItem",
3772
3774
  props: {
3773
3775
  milestones: {},
@@ -3787,22 +3789,22 @@ const k3 = { class: "ao-card-template-item__footer" }, A3 = {
3787
3789
  }, o = () => {
3788
3790
  e("remove");
3789
3791
  };
3790
- return (i, l) => (v(), U(ca, { "onUpdate:title": t }, {
3792
+ return (i, l) => (v(), U(da, { "onUpdate:title": t }, {
3791
3793
  footer: R(() => [
3792
- d("ul", k3, [
3794
+ d("ul", k0, [
3793
3795
  (v(), C(fe, null, ye(s, (r) => (v(), C(fe, { key: r }, [
3794
- i.$props[r] ? (v(), C("li", A3, [
3796
+ i.$props[r] ? (v(), C("li", A0, [
3795
3797
  k(de, {
3796
3798
  name: n[r],
3797
3799
  size: "sm"
3798
3800
  }, null, 8, ["name"]),
3799
- d("span", T3, W(i.$props[r]), 1)
3801
+ d("span", T0, W(i.$props[r]), 1)
3800
3802
  ])) : E("", !0)
3801
3803
  ], 64))), 64))
3802
3804
  ])
3803
3805
  ]),
3804
3806
  secondary: R(() => [
3805
- d("div", S3, [
3807
+ d("div", S0, [
3806
3808
  k(ce, {
3807
3809
  "icon-name": "DeleteOutlineRounded",
3808
3810
  variant: "ghost",
@@ -3816,7 +3818,7 @@ const k3 = { class: "ao-card-template-item__footer" }, A3 = {
3816
3818
  }));
3817
3819
  }
3818
3820
  });
3819
- const E3 = /* @__PURE__ */ x({
3821
+ const E0 = /* @__PURE__ */ x({
3820
3822
  __name: "AoCardTemplateItemPhase",
3821
3823
  props: {
3822
3824
  id: {},
@@ -3827,7 +3829,7 @@ const E3 = /* @__PURE__ */ x({
3827
3829
  const e = a, t = b(() => {
3828
3830
  var n;
3829
3831
  return (n = e.milestones) == null ? void 0 : n.length;
3830
- }), s = b(() => e.milestones ? wa(e.milestones) : 0);
3832
+ }), s = b(() => e.milestones ? $a(e.milestones) : 0);
3831
3833
  return (n, o) => (v(), U(I1, Ve({
3832
3834
  id: n.id,
3833
3835
  title: n.name,
@@ -3840,7 +3842,7 @@ const E3 = /* @__PURE__ */ x({
3840
3842
  _: 3
3841
3843
  }, 16, ["id", "title", "activities", "milestones"]));
3842
3844
  }
3843
- }), I3 = /* @__PURE__ */ x({
3845
+ }), I0 = /* @__PURE__ */ x({
3844
3846
  __name: "AoCardTemplateItemMilestone",
3845
3847
  props: {
3846
3848
  activities: {}
@@ -3857,7 +3859,7 @@ const E3 = /* @__PURE__ */ x({
3857
3859
  _: 3
3858
3860
  }, 8, ["activities"]));
3859
3861
  }
3860
- }), O3 = { class: "ao-list__footer" }, L3 = /* @__PURE__ */ x({
3862
+ }), O0 = { class: "ao-list__footer" }, L0 = /* @__PURE__ */ x({
3861
3863
  __name: "AoTemplateDetailsMilestones",
3862
3864
  props: {
3863
3865
  templateId: {},
@@ -3891,14 +3893,14 @@ const E3 = /* @__PURE__ */ x({
3891
3893
  onChange: i
3892
3894
  }, {
3893
3895
  header: R(() => [
3894
- k(pe, {
3896
+ k(he, {
3895
3897
  title: "Milestones",
3896
3898
  level: 3,
3897
3899
  class: "ao-list__title"
3898
3900
  })
3899
3901
  ]),
3900
3902
  item: R(({ element: c }) => [
3901
- (v(), U(I3, {
3903
+ (v(), U(I0, {
3902
3904
  id: c.id,
3903
3905
  key: c.id,
3904
3906
  title: c.name,
@@ -3915,7 +3917,7 @@ const E3 = /* @__PURE__ */ x({
3915
3917
  }, null, 8, ["id", "title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
3916
3918
  ]),
3917
3919
  footer: R(() => [
3918
- d("div", O3, [
3920
+ d("div", O0, [
3919
3921
  k(Xe, {
3920
3922
  "icon-name": "AddBoxOutlineRounded",
3921
3923
  label: l.$t("template.milestones.add"),
@@ -3926,7 +3928,7 @@ const E3 = /* @__PURE__ */ x({
3926
3928
  _: 1
3927
3929
  }, 8, ["model-value", "title"])) : E("", !0);
3928
3930
  }
3929
- }), V3 = /* @__PURE__ */ x({
3931
+ }), V0 = /* @__PURE__ */ x({
3930
3932
  __name: "AoCardTemplateItemActivity",
3931
3933
  props: {
3932
3934
  name: {},
@@ -3944,7 +3946,7 @@ const E3 = /* @__PURE__ */ x({
3944
3946
  _: 3
3945
3947
  }, 8, ["tasks"]));
3946
3948
  }
3947
- }), H3 = { class: "ao-list__footer" }, D3 = /* @__PURE__ */ x({
3949
+ }), H0 = { class: "ao-list__footer" }, D0 = /* @__PURE__ */ x({
3948
3950
  __name: "AoTemplateDetailsActivities",
3949
3951
  props: {
3950
3952
  templateId: {},
@@ -3981,14 +3983,14 @@ const E3 = /* @__PURE__ */ x({
3981
3983
  onChange: i
3982
3984
  }, {
3983
3985
  header: R(() => [
3984
- k(pe, {
3986
+ k(he, {
3985
3987
  title: "Activities",
3986
3988
  level: 3,
3987
3989
  class: "ao-list__title"
3988
3990
  })
3989
3991
  ]),
3990
3992
  item: R(({ element: c }) => [
3991
- (v(), U(V3, {
3993
+ (v(), U(V0, {
3992
3994
  id: c.id,
3993
3995
  key: c.id,
3994
3996
  title: c.name,
@@ -4001,7 +4003,7 @@ const E3 = /* @__PURE__ */ x({
4001
4003
  }, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
4002
4004
  ]),
4003
4005
  footer: R(() => [
4004
- d("div", H3, [
4006
+ d("div", H0, [
4005
4007
  k(Xe, {
4006
4008
  "icon-name": "AddBoxOutlineRounded",
4007
4009
  label: l.$t("template.activities.add"),
@@ -4012,10 +4014,10 @@ const E3 = /* @__PURE__ */ x({
4012
4014
  _: 1
4013
4015
  }, 8, ["model-value", "title"])) : E("", !0);
4014
4016
  }
4015
- }), P3 = { class: "ao-modal" }, B3 = { class: "ao-modal__header" }, N3 = { class: "ao-modal__header-meta" }, R3 = {
4017
+ }), P0 = { class: "ao-modal" }, B0 = { class: "ao-modal__header" }, N0 = { class: "ao-modal__header-meta" }, R0 = {
4016
4018
  key: 0,
4017
4019
  class: "ao-modal__title-group"
4018
- }, U3 = { class: "ao-modal__body" }, Z3 = {
4020
+ }, U0 = { class: "ao-modal__body" }, Z0 = {
4019
4021
  key: 0,
4020
4022
  class: "ao-modal__footer"
4021
4023
  }, O1 = /* @__PURE__ */ x({
@@ -4032,9 +4034,9 @@ const E3 = /* @__PURE__ */ x({
4032
4034
  class: "ao-modal__backdrop",
4033
4035
  onClick: t[0] || (t[0] = (s) => e.$emit("close"))
4034
4036
  }),
4035
- d("div", P3, [
4036
- d("div", B3, [
4037
- d("div", N3, [
4037
+ d("div", P0, [
4038
+ d("div", B0, [
4039
+ d("div", N0, [
4038
4040
  k(ce, {
4039
4041
  "icon-name": "CloseRounded",
4040
4042
  variant: "ghost",
@@ -4042,14 +4044,14 @@ const E3 = /* @__PURE__ */ x({
4042
4044
  onClick: t[1] || (t[1] = (s) => e.$emit("close"))
4043
4045
  })
4044
4046
  ]),
4045
- e.$slots.header ? (v(), C("header", R3, [
4047
+ e.$slots.header ? (v(), C("header", R0, [
4046
4048
  Q(e.$slots, "header")
4047
4049
  ])) : E("", !0)
4048
4050
  ]),
4049
- d("div", U3, [
4051
+ d("div", U0, [
4050
4052
  Q(e.$slots, "default")
4051
4053
  ]),
4052
- e.$slots.footer ? (v(), C("footer", Z3, [
4054
+ e.$slots.footer ? (v(), C("footer", Z0, [
4053
4055
  Q(e.$slots, "footer")
4054
4056
  ])) : E("", !0)
4055
4057
  ])
@@ -4059,50 +4061,50 @@ const E3 = /* @__PURE__ */ x({
4059
4061
  const Lt = Math.min, ke = Math.max, Xt = Math.round, xt = Math.floor, Ye = (a) => ({
4060
4062
  x: a,
4061
4063
  y: a
4062
- }), j3 = {
4064
+ }), j0 = {
4063
4065
  left: "right",
4064
4066
  right: "left",
4065
4067
  bottom: "top",
4066
4068
  top: "bottom"
4067
- }, F3 = {
4069
+ }, F0 = {
4068
4070
  start: "end",
4069
4071
  end: "start"
4070
4072
  };
4071
4073
  function L1(a, e) {
4072
4074
  return typeof a == "function" ? a(e) : a;
4073
4075
  }
4074
- function pt(a) {
4076
+ function ht(a) {
4075
4077
  return a.split("-")[0];
4076
4078
  }
4077
4079
  function u1(a) {
4078
4080
  return a.split("-")[1];
4079
4081
  }
4080
- function q3(a) {
4082
+ function q0(a) {
4081
4083
  return a === "x" ? "y" : "x";
4082
4084
  }
4083
- function $a(a) {
4085
+ function Ma(a) {
4084
4086
  return a === "y" ? "height" : "width";
4085
4087
  }
4086
4088
  function V1(a) {
4087
- return ["top", "bottom"].includes(pt(a)) ? "y" : "x";
4089
+ return ["top", "bottom"].includes(ht(a)) ? "y" : "x";
4088
4090
  }
4089
- function Ma(a) {
4090
- return q3(V1(a));
4091
+ function ka(a) {
4092
+ return q0(V1(a));
4091
4093
  }
4092
- function W3(a, e, t) {
4094
+ function W0(a, e, t) {
4093
4095
  t === void 0 && (t = !1);
4094
- const s = u1(a), n = Ma(a), o = $a(n);
4096
+ const s = u1(a), n = ka(a), o = Ma(n);
4095
4097
  let i = n === "x" ? s === (t ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
4096
4098
  return e.reference[o] > e.floating[o] && (i = Qt(i)), [i, Qt(i)];
4097
4099
  }
4098
- function z3(a) {
4100
+ function z0(a) {
4099
4101
  const e = Qt(a);
4100
4102
  return [A1(a), e, A1(e)];
4101
4103
  }
4102
4104
  function A1(a) {
4103
- return a.replace(/start|end/g, (e) => F3[e]);
4105
+ return a.replace(/start|end/g, (e) => F0[e]);
4104
4106
  }
4105
- function x3(a, e, t) {
4107
+ function x0(a, e, t) {
4106
4108
  const s = ["left", "right"], n = ["right", "left"], o = ["top", "bottom"], i = ["bottom", "top"];
4107
4109
  switch (a) {
4108
4110
  case "top":
@@ -4115,15 +4117,15 @@ function x3(a, e, t) {
4115
4117
  return [];
4116
4118
  }
4117
4119
  }
4118
- function Y3(a, e, t, s) {
4120
+ function Y0(a, e, t, s) {
4119
4121
  const n = u1(a);
4120
- let o = x3(pt(a), t === "start", s);
4122
+ let o = x0(ht(a), t === "start", s);
4121
4123
  return n && (o = o.map((i) => i + "-" + n), e && (o = o.concat(o.map(A1)))), o;
4122
4124
  }
4123
4125
  function Qt(a) {
4124
- return a.replace(/left|right|bottom|top/g, (e) => j3[e]);
4126
+ return a.replace(/left|right|bottom|top/g, (e) => j0[e]);
4125
4127
  }
4126
- function K3(a) {
4128
+ function K0(a) {
4127
4129
  return {
4128
4130
  top: 0,
4129
4131
  right: 0,
@@ -4132,8 +4134,8 @@ function K3(a) {
4132
4134
  ...a
4133
4135
  };
4134
4136
  }
4135
- function G3(a) {
4136
- return typeof a != "number" ? K3(a) : {
4137
+ function G0(a) {
4138
+ return typeof a != "number" ? K0(a) : {
4137
4139
  top: a,
4138
4140
  right: a,
4139
4141
  bottom: a,
@@ -4154,50 +4156,50 @@ function ta(a, e, t) {
4154
4156
  reference: s,
4155
4157
  floating: n
4156
4158
  } = a;
4157
- const o = V1(e), i = Ma(e), l = $a(i), r = pt(e), c = o === "y", u = s.x + s.width / 2 - n.width / 2, f = s.y + s.height / 2 - n.height / 2, h = s[l] / 2 - n[l] / 2;
4158
- let p;
4159
+ const o = V1(e), i = ka(e), l = Ma(i), r = ht(e), c = o === "y", u = s.x + s.width / 2 - n.width / 2, f = s.y + s.height / 2 - n.height / 2, p = s[l] / 2 - n[l] / 2;
4160
+ let h;
4159
4161
  switch (r) {
4160
4162
  case "top":
4161
- p = {
4163
+ h = {
4162
4164
  x: u,
4163
4165
  y: s.y - n.height
4164
4166
  };
4165
4167
  break;
4166
4168
  case "bottom":
4167
- p = {
4169
+ h = {
4168
4170
  x: u,
4169
4171
  y: s.y + s.height
4170
4172
  };
4171
4173
  break;
4172
4174
  case "right":
4173
- p = {
4175
+ h = {
4174
4176
  x: s.x + s.width,
4175
4177
  y: f
4176
4178
  };
4177
4179
  break;
4178
4180
  case "left":
4179
- p = {
4181
+ h = {
4180
4182
  x: s.x - n.width,
4181
4183
  y: f
4182
4184
  };
4183
4185
  break;
4184
4186
  default:
4185
- p = {
4187
+ h = {
4186
4188
  x: s.x,
4187
4189
  y: s.y
4188
4190
  };
4189
4191
  }
4190
4192
  switch (u1(e)) {
4191
4193
  case "start":
4192
- p[i] -= h * (t && c ? -1 : 1);
4194
+ h[i] -= p * (t && c ? -1 : 1);
4193
4195
  break;
4194
4196
  case "end":
4195
- p[i] += h * (t && c ? -1 : 1);
4197
+ h[i] += p * (t && c ? -1 : 1);
4196
4198
  break;
4197
4199
  }
4198
- return p;
4200
+ return h;
4199
4201
  }
4200
- const X3 = async (a, e, t) => {
4202
+ const X0 = async (a, e, t) => {
4201
4203
  const {
4202
4204
  placement: s = "bottom",
4203
4205
  strategy: n = "absolute",
@@ -4211,7 +4213,7 @@ const X3 = async (a, e, t) => {
4211
4213
  }), {
4212
4214
  x: u,
4213
4215
  y: f
4214
- } = ta(c, s, r), h = s, p = {}, g = 0;
4216
+ } = ta(c, s, r), p = s, h = {}, g = 0;
4215
4217
  for (let $ = 0; $ < l.length; $++) {
4216
4218
  const {
4217
4219
  name: T,
@@ -4225,9 +4227,9 @@ const X3 = async (a, e, t) => {
4225
4227
  x: u,
4226
4228
  y: f,
4227
4229
  initialPlacement: s,
4228
- placement: h,
4230
+ placement: p,
4229
4231
  strategy: n,
4230
- middlewareData: p,
4232
+ middlewareData: h,
4231
4233
  rects: c,
4232
4234
  platform: i,
4233
4235
  elements: {
@@ -4235,33 +4237,33 @@ const X3 = async (a, e, t) => {
4235
4237
  floating: e
4236
4238
  }
4237
4239
  });
4238
- if (u = w ?? u, f = L ?? f, p = {
4239
- ...p,
4240
+ if (u = w ?? u, f = L ?? f, h = {
4241
+ ...h,
4240
4242
  [T]: {
4241
- ...p[T],
4243
+ ...h[T],
4242
4244
  ...Z
4243
4245
  }
4244
4246
  }, j && g <= 50) {
4245
- g++, typeof j == "object" && (j.placement && (h = j.placement), j.rects && (c = j.rects === !0 ? await i.getElementRects({
4247
+ g++, typeof j == "object" && (j.placement && (p = j.placement), j.rects && (c = j.rects === !0 ? await i.getElementRects({
4246
4248
  reference: a,
4247
4249
  floating: e,
4248
4250
  strategy: n
4249
4251
  }) : j.rects), {
4250
4252
  x: u,
4251
4253
  y: f
4252
- } = ta(c, h, r)), $ = -1;
4254
+ } = ta(c, p, r)), $ = -1;
4253
4255
  continue;
4254
4256
  }
4255
4257
  }
4256
4258
  return {
4257
4259
  x: u,
4258
4260
  y: f,
4259
- placement: h,
4261
+ placement: p,
4260
4262
  strategy: n,
4261
- middlewareData: p
4263
+ middlewareData: h
4262
4264
  };
4263
4265
  };
4264
- async function ka(a, e) {
4266
+ async function Aa(a, e) {
4265
4267
  var t;
4266
4268
  e === void 0 && (e = {});
4267
4269
  const {
@@ -4275,9 +4277,9 @@ async function ka(a, e) {
4275
4277
  boundary: c = "clippingAncestors",
4276
4278
  rootBoundary: u = "viewport",
4277
4279
  elementContext: f = "floating",
4278
- altBoundary: h = !1,
4279
- padding: p = 0
4280
- } = L1(e, a), g = G3(p), T = l[h ? f === "floating" ? "reference" : "floating" : f], M = Jt(await o.getClippingRect({
4280
+ altBoundary: p = !1,
4281
+ padding: h = 0
4282
+ } = L1(e, a), g = G0(h), T = l[p ? f === "floating" ? "reference" : "floating" : f], M = Jt(await o.getClippingRect({
4281
4283
  element: (t = await (o.isElement == null ? void 0 : o.isElement(T))) == null || t ? T : T.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
4282
4284
  boundary: c,
4283
4285
  rootBoundary: u,
@@ -4304,7 +4306,7 @@ async function ka(a, e) {
4304
4306
  right: (j.right - M.right + g.right) / Z.x
4305
4307
  };
4306
4308
  }
4307
- const Q3 = function(a) {
4309
+ const Q0 = function(a) {
4308
4310
  return a === void 0 && (a = {}), {
4309
4311
  name: "flip",
4310
4312
  options: a,
@@ -4320,20 +4322,20 @@ const Q3 = function(a) {
4320
4322
  } = e, {
4321
4323
  mainAxis: u = !0,
4322
4324
  crossAxis: f = !0,
4323
- fallbackPlacements: h,
4324
- fallbackStrategy: p = "bestFit",
4325
+ fallbackPlacements: p,
4326
+ fallbackStrategy: h = "bestFit",
4325
4327
  fallbackAxisSideDirection: g = "none",
4326
4328
  flipAlignment: $ = !0,
4327
4329
  ...T
4328
4330
  } = L1(a, e);
4329
4331
  if ((t = o.arrow) != null && t.alignmentOffset)
4330
4332
  return {};
4331
- const M = pt(n), w = pt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), Z = h || (w || !$ ? [Qt(l)] : z3(l));
4332
- !h && g !== "none" && Z.push(...Y3(l, $, g, L));
4333
- const j = [l, ...Z], V = await ka(e, T), I = [];
4333
+ const M = ht(n), w = ht(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(c.floating)), Z = p || (w || !$ ? [Qt(l)] : z0(l));
4334
+ !p && g !== "none" && Z.push(...Y0(l, $, g, L));
4335
+ const j = [l, ...Z], V = await Aa(e, T), I = [];
4334
4336
  let z = ((s = o.flip) == null ? void 0 : s.overflows) || [];
4335
4337
  if (u && I.push(V[M]), f) {
4336
- const S = W3(n, i, L);
4338
+ const S = W0(n, i, L);
4337
4339
  I.push(V[S[0]], V[S[1]]);
4338
4340
  }
4339
4341
  if (z = [...z, {
@@ -4354,7 +4356,7 @@ const Q3 = function(a) {
4354
4356
  };
4355
4357
  let le = (ne = z.filter((J) => J.overflows[0] <= 0).sort((J, re) => J.overflows[1] - re.overflows[1])[0]) == null ? void 0 : ne.placement;
4356
4358
  if (!le)
4357
- switch (p) {
4359
+ switch (h) {
4358
4360
  case "bestFit": {
4359
4361
  var y;
4360
4362
  const J = (y = z.map((re) => [re.placement, re.overflows.filter((ae) => ae > 0).reduce((ae, m) => ae + m, 0)]).sort((re, ae) => re[1] - ae[1])[0]) == null ? void 0 : y[0];
@@ -4375,7 +4377,7 @@ const Q3 = function(a) {
4375
4377
  return {};
4376
4378
  }
4377
4379
  };
4378
- }, J3 = function(a) {
4380
+ }, J0 = function(a) {
4379
4381
  return a === void 0 && (a = {}), {
4380
4382
  name: "size",
4381
4383
  options: a,
@@ -4389,24 +4391,24 @@ const Q3 = function(a) {
4389
4391
  apply: i = () => {
4390
4392
  },
4391
4393
  ...l
4392
- } = L1(a, e), r = await ka(e, l), c = pt(t), u = u1(t), f = V1(t) === "y", {
4393
- width: h,
4394
- height: p
4394
+ } = L1(a, e), r = await Aa(e, l), c = ht(t), u = u1(t), f = V1(t) === "y", {
4395
+ width: p,
4396
+ height: h
4395
4397
  } = s.floating;
4396
4398
  let g, $;
4397
4399
  c === "top" || c === "bottom" ? (g = c, $ = u === (await (n.isRTL == null ? void 0 : n.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : ($ = c, g = u === "end" ? "top" : "bottom");
4398
- const T = p - r[g], M = h - r[$], w = !e.middlewareData.shift;
4400
+ const T = h - r[g], M = p - r[$], w = !e.middlewareData.shift;
4399
4401
  let L = T, Z = M;
4400
4402
  if (f) {
4401
- const V = h - r.left - r.right;
4403
+ const V = p - r.left - r.right;
4402
4404
  Z = u || w ? Lt(M, V) : V;
4403
4405
  } else {
4404
- const V = p - r.top - r.bottom;
4406
+ const V = h - r.top - r.bottom;
4405
4407
  L = u || w ? Lt(T, V) : V;
4406
4408
  }
4407
4409
  if (w && !u) {
4408
4410
  const V = ke(r.left, 0), I = ke(r.right, 0), z = ke(r.top, 0), Y = ke(r.bottom, 0);
4409
- f ? Z = h - 2 * (V !== 0 || I !== 0 ? V + I : ke(r.left, r.right)) : L = p - 2 * (z !== 0 || Y !== 0 ? z + Y : ke(r.top, r.bottom));
4411
+ f ? Z = p - 2 * (V !== 0 || I !== 0 ? V + I : ke(r.left, r.right)) : L = h - 2 * (z !== 0 || Y !== 0 ? z + Y : ke(r.top, r.bottom));
4410
4412
  }
4411
4413
  await i({
4412
4414
  ...e,
@@ -4414,7 +4416,7 @@ const Q3 = function(a) {
4414
4416
  availableHeight: L
4415
4417
  });
4416
4418
  const j = await n.getDimensions(o.floating);
4417
- return h !== j.width || p !== j.height ? {
4419
+ return p !== j.width || h !== j.height ? {
4418
4420
  reset: {
4419
4421
  rects: !0
4420
4422
  }
@@ -4423,7 +4425,7 @@ const Q3 = function(a) {
4423
4425
  };
4424
4426
  };
4425
4427
  function Ke(a) {
4426
- return Aa(a) ? (a.nodeName || "").toLowerCase() : "#document";
4428
+ return Ta(a) ? (a.nodeName || "").toLowerCase() : "#document";
4427
4429
  }
4428
4430
  function we(a) {
4429
4431
  var e;
@@ -4431,9 +4433,9 @@ function we(a) {
4431
4433
  }
4432
4434
  function Ze(a) {
4433
4435
  var e;
4434
- return (e = (Aa(a) ? a.ownerDocument : a.document) || window.document) == null ? void 0 : e.documentElement;
4436
+ return (e = (Ta(a) ? a.ownerDocument : a.document) || window.document) == null ? void 0 : e.documentElement;
4435
4437
  }
4436
- function Aa(a) {
4438
+ function Ta(a) {
4437
4439
  return a instanceof Node || a instanceof we(a).Node;
4438
4440
  }
4439
4441
  function Ue(a) {
@@ -4454,14 +4456,14 @@ function Rt(a) {
4454
4456
  } = Se(a);
4455
4457
  return /auto|scroll|overlay|hidden|clip/.test(e + s + t) && !["inline", "contents"].includes(n);
4456
4458
  }
4457
- function e0(a) {
4459
+ function e3(a) {
4458
4460
  return ["table", "td", "th"].includes(Ke(a));
4459
4461
  }
4460
4462
  function H1(a) {
4461
4463
  const e = D1(), t = Se(a);
4462
4464
  return t.transform !== "none" || t.perspective !== "none" || (t.containerType ? t.containerType !== "normal" : !1) || !e && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !e && (t.filter ? t.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (t.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (t.contain || "").includes(s));
4463
4465
  }
4464
- function t0(a) {
4466
+ function t3(a) {
4465
4467
  let e = mt(a);
4466
4468
  for (; He(e) && !c1(e); ) {
4467
4469
  if (H1(e))
@@ -4500,17 +4502,17 @@ function mt(a) {
4500
4502
  );
4501
4503
  return aa(e) ? e.host : e;
4502
4504
  }
4503
- function Ta(a) {
4505
+ function Sa(a) {
4504
4506
  const e = mt(a);
4505
- return c1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : He(e) && Rt(e) ? e : Ta(e);
4507
+ return c1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : He(e) && Rt(e) ? e : Sa(e);
4506
4508
  }
4507
4509
  function Vt(a, e, t) {
4508
4510
  var s;
4509
4511
  e === void 0 && (e = []), t === void 0 && (t = !0);
4510
- const n = Ta(a), o = n === ((s = a.ownerDocument) == null ? void 0 : s.body), i = we(n);
4512
+ const n = Sa(a), o = n === ((s = a.ownerDocument) == null ? void 0 : s.body), i = we(n);
4511
4513
  return o ? e.concat(i, i.visualViewport || [], Rt(n) ? n : [], i.frameElement && t ? Vt(i.frameElement) : []) : e.concat(n, Vt(n));
4512
4514
  }
4513
- function Sa(a) {
4515
+ function Ea(a) {
4514
4516
  const e = Se(a);
4515
4517
  let t = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
4516
4518
  const n = He(a), o = n ? a.offsetWidth : t, i = n ? a.offsetHeight : s, l = Xt(t) !== o || Xt(s) !== i;
@@ -4531,22 +4533,22 @@ function ft(a) {
4531
4533
  width: s,
4532
4534
  height: n,
4533
4535
  $: o
4534
- } = Sa(e);
4536
+ } = Ea(e);
4535
4537
  let i = (o ? Xt(t.width) : t.width) / s, l = (o ? Xt(t.height) : t.height) / n;
4536
4538
  return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
4537
4539
  x: i,
4538
4540
  y: l
4539
4541
  };
4540
4542
  }
4541
- const a0 = /* @__PURE__ */ Ye(0);
4542
- function Ea(a) {
4543
+ const a3 = /* @__PURE__ */ Ye(0);
4544
+ function Ia(a) {
4543
4545
  const e = we(a);
4544
- return !D1() || !e.visualViewport ? a0 : {
4546
+ return !D1() || !e.visualViewport ? a3 : {
4545
4547
  x: e.visualViewport.offsetLeft,
4546
4548
  y: e.visualViewport.offsetTop
4547
4549
  };
4548
4550
  }
4549
- function n0(a, e, t) {
4551
+ function n3(a, e, t) {
4550
4552
  return e === void 0 && (e = !1), !t || e && t !== we(a) ? !1 : e;
4551
4553
  }
4552
4554
  function Je(a, e, t, s) {
@@ -4554,12 +4556,12 @@ function Je(a, e, t, s) {
4554
4556
  const n = a.getBoundingClientRect(), o = P1(a);
4555
4557
  let i = Ye(1);
4556
4558
  e && (s ? Ue(s) && (i = ft(s)) : i = ft(a));
4557
- const l = n0(o, t, s) ? Ea(o) : Ye(0);
4559
+ const l = n3(o, t, s) ? Ia(o) : Ye(0);
4558
4560
  let r = (n.left + l.x) / i.x, c = (n.top + l.y) / i.y, u = n.width / i.x, f = n.height / i.y;
4559
4561
  if (o) {
4560
- const h = we(o), p = s && Ue(s) ? we(s) : s;
4561
- let g = h.frameElement;
4562
- for (; g && s && p !== h; ) {
4562
+ const p = we(o), h = s && Ue(s) ? we(s) : s;
4563
+ let g = p.frameElement;
4564
+ for (; g && s && h !== p; ) {
4563
4565
  const $ = ft(g), T = g.getBoundingClientRect(), M = Se(g), w = T.left + (g.clientLeft + parseFloat(M.paddingLeft)) * $.x, L = T.top + (g.clientTop + parseFloat(M.paddingTop)) * $.y;
4564
4566
  r *= $.x, c *= $.y, u *= $.x, f *= $.y, r += w, c += L, g = we(g).frameElement;
4565
4567
  }
@@ -4571,7 +4573,7 @@ function Je(a, e, t, s) {
4571
4573
  y: c
4572
4574
  });
4573
4575
  }
4574
- function s0(a) {
4576
+ function s3(a) {
4575
4577
  let {
4576
4578
  rect: e,
4577
4579
  offsetParent: t,
@@ -4596,15 +4598,15 @@ function s0(a) {
4596
4598
  y: e.y * l.y - i.scrollTop * l.y + r.y
4597
4599
  };
4598
4600
  }
4599
- function i0(a) {
4601
+ function i3(a) {
4600
4602
  return Array.from(a.getClientRects());
4601
4603
  }
4602
- function Ia(a) {
4604
+ function Oa(a) {
4603
4605
  return Je(Ze(a)).left + d1(a).scrollLeft;
4604
4606
  }
4605
- function o0(a) {
4607
+ function o3(a) {
4606
4608
  const e = Ze(a), t = d1(a), s = a.ownerDocument.body, n = ke(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), o = ke(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
4607
- let i = -t.scrollLeft + Ia(a);
4609
+ let i = -t.scrollLeft + Oa(a);
4608
4610
  const l = -t.scrollTop;
4609
4611
  return Se(s).direction === "rtl" && (i += ke(e.clientWidth, s.clientWidth) - n), {
4610
4612
  width: n,
@@ -4613,7 +4615,7 @@ function o0(a) {
4613
4615
  y: l
4614
4616
  };
4615
4617
  }
4616
- function l0(a, e) {
4618
+ function l3(a, e) {
4617
4619
  const t = we(a), s = Ze(a), n = t.visualViewport;
4618
4620
  let o = s.clientWidth, i = s.clientHeight, l = 0, r = 0;
4619
4621
  if (n) {
@@ -4628,7 +4630,7 @@ function l0(a, e) {
4628
4630
  y: r
4629
4631
  };
4630
4632
  }
4631
- function r0(a, e) {
4633
+ function r3(a, e) {
4632
4634
  const t = Je(a, !0, e === "fixed"), s = t.top + a.clientTop, n = t.left + a.clientLeft, o = He(a) ? ft(a) : Ye(1), i = a.clientWidth * o.x, l = a.clientHeight * o.y, r = n * o.x, c = s * o.y;
4633
4635
  return {
4634
4636
  width: i,
@@ -4640,13 +4642,13 @@ function r0(a, e) {
4640
4642
  function na(a, e, t) {
4641
4643
  let s;
4642
4644
  if (e === "viewport")
4643
- s = l0(a, t);
4645
+ s = l3(a, t);
4644
4646
  else if (e === "document")
4645
- s = o0(Ze(a));
4647
+ s = o3(Ze(a));
4646
4648
  else if (Ue(e))
4647
- s = r0(e, t);
4649
+ s = r3(e, t);
4648
4650
  else {
4649
- const n = Ea(a);
4651
+ const n = Ia(a);
4650
4652
  s = {
4651
4653
  ...e,
4652
4654
  x: e.x - n.x,
@@ -4655,11 +4657,11 @@ function na(a, e, t) {
4655
4657
  }
4656
4658
  return Jt(s);
4657
4659
  }
4658
- function Oa(a, e) {
4660
+ function La(a, e) {
4659
4661
  const t = mt(a);
4660
- return t === e || !Ue(t) || c1(t) ? !1 : Se(t).position === "fixed" || Oa(t, e);
4662
+ return t === e || !Ue(t) || c1(t) ? !1 : Se(t).position === "fixed" || La(t, e);
4661
4663
  }
4662
- function u0(a, e) {
4664
+ function u3(a, e) {
4663
4665
  const t = e.get(a);
4664
4666
  if (t)
4665
4667
  return t;
@@ -4668,18 +4670,18 @@ function u0(a, e) {
4668
4670
  let i = o ? mt(a) : a;
4669
4671
  for (; Ue(i) && !c1(i); ) {
4670
4672
  const l = Se(i), r = H1(i);
4671
- !r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || Rt(i) && !r && Oa(a, i)) ? s = s.filter((u) => u !== i) : n = l, i = mt(i);
4673
+ !r && l.position === "fixed" && (n = null), (o ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || Rt(i) && !r && La(a, i)) ? s = s.filter((u) => u !== i) : n = l, i = mt(i);
4672
4674
  }
4673
4675
  return e.set(a, s), s;
4674
4676
  }
4675
- function c0(a) {
4677
+ function c3(a) {
4676
4678
  let {
4677
4679
  element: e,
4678
4680
  boundary: t,
4679
4681
  rootBoundary: s,
4680
4682
  strategy: n
4681
4683
  } = a;
4682
- const i = [...t === "clippingAncestors" ? u0(e, this._c) : [].concat(t), s], l = i[0], r = i.reduce((c, u) => {
4684
+ const i = [...t === "clippingAncestors" ? u3(e, this._c) : [].concat(t), s], l = i[0], r = i.reduce((c, u) => {
4683
4685
  const f = na(e, u, n);
4684
4686
  return c.top = ke(f.top, c.top), c.right = Lt(f.right, c.right), c.bottom = Lt(f.bottom, c.bottom), c.left = ke(f.left, c.left), c;
4685
4687
  }, na(e, l, n));
@@ -4690,10 +4692,10 @@ function c0(a) {
4690
4692
  y: r.top
4691
4693
  };
4692
4694
  }
4693
- function d0(a) {
4694
- return Sa(a);
4695
+ function d3(a) {
4696
+ return Ea(a);
4695
4697
  }
4696
- function f0(a, e, t) {
4698
+ function f3(a, e, t) {
4697
4699
  const s = He(e), n = Ze(e), o = t === "fixed", i = Je(a, !0, o, e);
4698
4700
  let l = {
4699
4701
  scrollLeft: 0,
@@ -4705,7 +4707,7 @@ function f0(a, e, t) {
4705
4707
  const c = Je(e, !0, o, e);
4706
4708
  r.x = c.x + e.clientLeft, r.y = c.y + e.clientTop;
4707
4709
  } else
4708
- n && (r.x = Ia(n));
4710
+ n && (r.x = Oa(n));
4709
4711
  return {
4710
4712
  x: i.left + l.scrollLeft - r.x,
4711
4713
  y: i.top + l.scrollTop - r.y,
@@ -4716,24 +4718,24 @@ function f0(a, e, t) {
4716
4718
  function sa(a, e) {
4717
4719
  return !He(a) || Se(a).position === "fixed" ? null : e ? e(a) : a.offsetParent;
4718
4720
  }
4719
- function La(a, e) {
4721
+ function Va(a, e) {
4720
4722
  const t = we(a);
4721
4723
  if (!He(a))
4722
4724
  return t;
4723
4725
  let s = sa(a, e);
4724
- for (; s && e0(s) && Se(s).position === "static"; )
4726
+ for (; s && e3(s) && Se(s).position === "static"; )
4725
4727
  s = sa(s, e);
4726
- return s && (Ke(s) === "html" || Ke(s) === "body" && Se(s).position === "static" && !H1(s)) ? t : s || t0(a) || t;
4728
+ return s && (Ke(s) === "html" || Ke(s) === "body" && Se(s).position === "static" && !H1(s)) ? t : s || t3(a) || t;
4727
4729
  }
4728
- const v0 = async function(a) {
4730
+ const v3 = async function(a) {
4729
4731
  let {
4730
4732
  reference: e,
4731
4733
  floating: t,
4732
4734
  strategy: s
4733
4735
  } = a;
4734
- const n = this.getOffsetParent || La, o = this.getDimensions;
4736
+ const n = this.getOffsetParent || Va, o = this.getDimensions;
4735
4737
  return {
4736
- reference: f0(e, await n(t), s),
4738
+ reference: f3(e, await n(t), s),
4737
4739
  floating: {
4738
4740
  x: 0,
4739
4741
  y: 0,
@@ -4741,22 +4743,22 @@ const v0 = async function(a) {
4741
4743
  }
4742
4744
  };
4743
4745
  };
4744
- function h0(a) {
4746
+ function p3(a) {
4745
4747
  return Se(a).direction === "rtl";
4746
4748
  }
4747
- const p0 = {
4748
- convertOffsetParentRelativeRectToViewportRelativeRect: s0,
4749
+ const h3 = {
4750
+ convertOffsetParentRelativeRectToViewportRelativeRect: s3,
4749
4751
  getDocumentElement: Ze,
4750
- getClippingRect: c0,
4751
- getOffsetParent: La,
4752
- getElementRects: v0,
4753
- getClientRects: i0,
4754
- getDimensions: d0,
4752
+ getClippingRect: c3,
4753
+ getOffsetParent: Va,
4754
+ getElementRects: v3,
4755
+ getClientRects: i3,
4756
+ getDimensions: d3,
4755
4757
  getScale: ft,
4756
4758
  isElement: Ue,
4757
- isRTL: h0
4759
+ isRTL: p3
4758
4760
  };
4759
- function m0(a, e) {
4761
+ function m3(a, e) {
4760
4762
  let t = null, s;
4761
4763
  const n = Ze(a);
4762
4764
  function o() {
@@ -4768,12 +4770,12 @@ function m0(a, e) {
4768
4770
  left: c,
4769
4771
  top: u,
4770
4772
  width: f,
4771
- height: h
4773
+ height: p
4772
4774
  } = a.getBoundingClientRect();
4773
- if (l || e(), !f || !h)
4775
+ if (l || e(), !f || !p)
4774
4776
  return;
4775
- const p = xt(u), g = xt(n.clientWidth - (c + f)), $ = xt(n.clientHeight - (u + h)), T = xt(c), w = {
4776
- rootMargin: -p + "px " + -g + "px " + -$ + "px " + -T + "px",
4777
+ const h = xt(u), g = xt(n.clientWidth - (c + f)), $ = xt(n.clientHeight - (u + p)), T = xt(c), w = {
4778
+ rootMargin: -h + "px " + -g + "px " + -$ + "px " + -T + "px",
4777
4779
  threshold: ke(0, Lt(1, r)) || 1
4778
4780
  };
4779
4781
  let L = !0;
@@ -4801,7 +4803,7 @@ function m0(a, e) {
4801
4803
  }
4802
4804
  return i(!0), o;
4803
4805
  }
4804
- function C0(a, e, t, s) {
4806
+ function C3(a, e, t, s) {
4805
4807
  s === void 0 && (s = {});
4806
4808
  const {
4807
4809
  ancestorScroll: n = !0,
@@ -4815,14 +4817,14 @@ function C0(a, e, t, s) {
4815
4817
  passive: !0
4816
4818
  }), o && M.addEventListener("resize", t);
4817
4819
  });
4818
- const f = c && l ? m0(c, t) : null;
4819
- let h = -1, p = null;
4820
- i && (p = new ResizeObserver((M) => {
4820
+ const f = c && l ? m3(c, t) : null;
4821
+ let p = -1, h = null;
4822
+ i && (h = new ResizeObserver((M) => {
4821
4823
  let [w] = M;
4822
- w && w.target === c && p && (p.unobserve(e), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
4823
- p && p.observe(e);
4824
+ w && w.target === c && h && (h.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
4825
+ h && h.observe(e);
4824
4826
  })), t();
4825
- }), c && !r && p.observe(c), p.observe(e));
4827
+ }), c && !r && h.observe(c), h.observe(e));
4826
4828
  let g, $ = r ? Je(a) : null;
4827
4829
  r && T();
4828
4830
  function T() {
@@ -4832,22 +4834,22 @@ function C0(a, e, t, s) {
4832
4834
  return t(), () => {
4833
4835
  u.forEach((M) => {
4834
4836
  n && M.removeEventListener("scroll", t), o && M.removeEventListener("resize", t);
4835
- }), f && f(), p && p.disconnect(), p = null, r && cancelAnimationFrame(g);
4837
+ }), f && f(), h && h.disconnect(), h = null, r && cancelAnimationFrame(g);
4836
4838
  };
4837
4839
  }
4838
- const _0 = (a, e, t) => {
4840
+ const _3 = (a, e, t) => {
4839
4841
  const s = /* @__PURE__ */ new Map(), n = {
4840
- platform: p0,
4842
+ platform: h3,
4841
4843
  ...t
4842
4844
  }, o = {
4843
4845
  ...n.platform,
4844
4846
  _c: s
4845
4847
  };
4846
- return X3(a, e, {
4848
+ return X0(a, e, {
4847
4849
  ...n,
4848
4850
  platform: o
4849
4851
  });
4850
- }, g0 = (a) => {
4852
+ }, g3 = (a) => {
4851
4853
  const e = X(!1), t = X(), s = X(), n = X(0);
4852
4854
  function o() {
4853
4855
  const f = F(a.appendTo);
@@ -4859,10 +4861,10 @@ const _0 = (a, e, t) => {
4859
4861
  f.relatedTarget && s.value && s.value.contains(f.relatedTarget) || a.multiselect.value.deactivate();
4860
4862
  }
4861
4863
  function c() {
4862
- const f = a.multiselect.value.$el, h = f.querySelector(".multiselect-dropdown");
4863
- if (!h || !f || e.value === !0)
4864
+ const f = a.multiselect.value.$el, p = f.querySelector(".multiselect-dropdown");
4865
+ if (!p || !f || e.value === !0)
4864
4866
  return;
4865
- s.value = h, t.value = f, getComputedStyle(h).getPropertyValue("display") === "none" && (h.style.display = "flex"), n.value = h.offsetHeight, h.style.removeProperty("display"), Object.assign(h.style, {
4867
+ s.value = p, t.value = f, getComputedStyle(p).getPropertyValue("display") === "none" && (p.style.display = "flex"), n.value = p.offsetHeight, p.style.removeProperty("display"), Object.assign(p.style, {
4866
4868
  position: "absolute",
4867
4869
  width: "max-content",
4868
4870
  top: 0,
@@ -4871,62 +4873,62 @@ const _0 = (a, e, t) => {
4871
4873
  bottom: "auto",
4872
4874
  transform: "none",
4873
4875
  marginTop: 0
4874
- }), i.appendChild(h), a.multiselect.value.handleFocusOut = r;
4875
- const g = C0(t.value, s.value, u);
4876
+ }), i.appendChild(p), a.multiselect.value.handleFocusOut = r;
4877
+ const g = C3(t.value, s.value, u);
4876
4878
  l.value = () => {
4877
4879
  s.value && i.contains(s.value) && i.removeChild(s.value), g();
4878
4880
  };
4879
4881
  }
4880
4882
  function u() {
4881
- !s.value || !t.value || _0(t.value, s.value, {
4883
+ !s.value || !t.value || _3(t.value, s.value, {
4882
4884
  strategy: "absolute",
4883
4885
  placement: "bottom-start",
4884
4886
  middleware: [
4885
- Q3({
4887
+ Q0({
4886
4888
  fallbackStrategy: "initialPlacement",
4887
4889
  fallbackPlacements: ["top-start", "bottom-start"]
4888
4890
  }),
4889
- J3({
4890
- apply({ availableWidth: f, availableHeight: h, elements: p, rects: g }) {
4891
- Object.assign(p.floating.style, {
4891
+ J0({
4892
+ apply({ availableWidth: f, availableHeight: p, elements: h, rects: g }) {
4893
+ Object.assign(h.floating.style, {
4892
4894
  minHeight: `${n.value}px`,
4893
4895
  width: `${g.reference.width}px`,
4894
4896
  maxWidth: `${f}px`,
4895
- maxHeight: `${h}px`
4897
+ maxHeight: `${p}px`
4896
4898
  // These numbers are pleasant defaults/control for screen size.
4897
4899
  });
4898
4900
  }
4899
4901
  })
4900
4902
  ]
4901
- }).then(({ x: f, y: h }) => {
4903
+ }).then(({ x: f, y: p }) => {
4902
4904
  Object.assign(s.value.style, {
4903
4905
  left: `${f}px`,
4904
- top: `${h}px`
4906
+ top: `${p}px`
4905
4907
  });
4906
4908
  });
4907
4909
  }
4908
4910
  Dt(() => {
4909
4911
  c();
4910
- }), ln(() => {
4912
+ }), rn(() => {
4911
4913
  l.value();
4912
- }), la(() => {
4914
+ }), ra(() => {
4913
4915
  l.value();
4914
4916
  });
4915
4917
  };
4916
4918
  function Le(a) {
4917
4919
  return [null, void 0].indexOf(a) !== -1;
4918
4920
  }
4919
- function y0(a, e, t) {
4920
- const { object: s, valueProp: n, mode: o } = $e(a), i = tt().proxy, l = t.iv, r = (f, h = !0) => {
4921
+ function y3(a, e, t) {
4922
+ const { object: s, valueProp: n, mode: o } = $e(a), i = tt().proxy, l = t.iv, r = (f, p = !0) => {
4921
4923
  l.value = u(f);
4922
- const p = c(f);
4923
- e.emit("change", p, i), h && (e.emit("input", p), e.emit("update:modelValue", p));
4924
- }, c = (f) => s.value || Le(f) ? f : Array.isArray(f) ? f.map((h) => h[n.value]) : f[n.value], u = (f) => Le(f) ? o.value === "single" ? {} : [] : f;
4924
+ const h = c(f);
4925
+ e.emit("change", h, i), p && (e.emit("input", h), e.emit("update:modelValue", h));
4926
+ }, c = (f) => s.value || Le(f) ? f : Array.isArray(f) ? f.map((p) => p[n.value]) : f[n.value], u = (f) => Le(f) ? o.value === "single" ? {} : [] : f;
4925
4927
  return {
4926
4928
  update: r
4927
4929
  };
4928
4930
  }
4929
- function b0(a, e) {
4931
+ function b3(a, e) {
4930
4932
  const { value: t, modelValue: s, mode: n, valueProp: o } = $e(a), i = X(n.value !== "single" ? [] : {}), l = s && s.value !== void 0 ? s : t, r = b(() => n.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), c = b(() => n.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
4931
4933
  return {
4932
4934
  iv: i,
@@ -4937,36 +4939,36 @@ function b0(a, e) {
4937
4939
  plainValue: r
4938
4940
  };
4939
4941
  }
4940
- function w0(a, e, t) {
4942
+ function w3(a, e, t) {
4941
4943
  const { regex: s } = $e(a), n = tt().proxy, o = t.isOpen, i = t.open, l = X(null), r = X(null), c = () => {
4942
4944
  l.value = "";
4943
- }, u = (p) => {
4944
- l.value = p.target.value;
4945
- }, f = (p) => {
4945
+ }, u = (h) => {
4946
+ l.value = h.target.value;
4947
+ }, f = (h) => {
4946
4948
  if (s && s.value) {
4947
4949
  let g = s.value;
4948
- typeof g == "string" && (g = new RegExp(g)), p.key.match(g) || p.preventDefault();
4950
+ typeof g == "string" && (g = new RegExp(g)), h.key.match(g) || h.preventDefault();
4949
4951
  }
4950
- }, h = (p) => {
4952
+ }, p = (h) => {
4951
4953
  if (s && s.value) {
4952
- let $ = (p.clipboardData || /* istanbul ignore next */
4954
+ let $ = (h.clipboardData || /* istanbul ignore next */
4953
4955
  window.clipboardData).getData("Text"), T = s.value;
4954
- typeof T == "string" && (T = new RegExp(T)), $.split("").every((M) => !!M.match(T)) || p.preventDefault();
4956
+ typeof T == "string" && (T = new RegExp(T)), $.split("").every((M) => !!M.match(T)) || h.preventDefault();
4955
4957
  }
4956
- e.emit("paste", p, n);
4958
+ e.emit("paste", h, n);
4957
4959
  };
4958
- return ue(l, (p) => {
4959
- !o.value && p && i(), e.emit("search-change", p, n);
4960
+ return ue(l, (h) => {
4961
+ !o.value && h && i(), e.emit("search-change", h, n);
4960
4962
  }), {
4961
4963
  search: l,
4962
4964
  input: r,
4963
4965
  clearSearch: c,
4964
4966
  handleSearchInput: u,
4965
4967
  handleKeypress: f,
4966
- handlePaste: h
4968
+ handlePaste: p
4967
4969
  };
4968
4970
  }
4969
- function $0(a, e, t) {
4971
+ function $3(a, e, t) {
4970
4972
  const { groupSelect: s, mode: n, groups: o, disabledProp: i } = $e(a), l = X(null), r = (u) => {
4971
4973
  u === void 0 || u !== null && u[i.value] || o.value && u && u.group && (n.value === "single" || !s.value) || (l.value = u);
4972
4974
  };
@@ -4981,16 +4983,16 @@ function $0(a, e, t) {
4981
4983
  function $1(a, e = !0) {
4982
4984
  return e ? String(a).toLowerCase().trim() : String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g), "ae").replace(new RegExp(/œ/g), "oe").replace(new RegExp(/ø/g), "o").replace(/\p{Diacritic}/gu, "");
4983
4985
  }
4984
- function M0(a) {
4986
+ function M3(a) {
4985
4987
  return Object.prototype.toString.call(a) === "[object Object]";
4986
4988
  }
4987
- function k0(a, e) {
4989
+ function k3(a, e) {
4988
4990
  const t = e.slice().sort();
4989
4991
  return a.length === e.length && a.slice().sort().every(function(s, n) {
4990
4992
  return s === t[n];
4991
4993
  });
4992
4994
  }
4993
- function A0(a, e, t) {
4995
+ function A3(a, e, t) {
4994
4996
  const {
4995
4997
  options: s,
4996
4998
  mode: n,
@@ -5001,8 +5003,8 @@ function A0(a, e, t) {
5001
5003
  createOption: c,
5002
5004
  label: u,
5003
5005
  appendNewTag: f,
5004
- appendNewOption: h,
5005
- multipleLabel: p,
5006
+ appendNewOption: p,
5007
+ multipleLabel: h,
5006
5008
  object: g,
5007
5009
  loading: $,
5008
5010
  delay: T,
@@ -5029,7 +5031,7 @@ function A0(a, e, t) {
5029
5031
  disabledProp: B,
5030
5032
  searchStart: oe,
5031
5033
  searchFilter: me
5032
- } = $e(a), se = tt().proxy, ee = t.iv, O = t.ev, q = t.search, Ce = t.clearSearch, Pe = t.update, Ha = t.pointer, nt = t.clearPointer, Da = t.focus, Pa = t.deactivate, st = t.close, Ba = t.localize, gt = X([]), je = X([]), Ie = X(!1), f1 = X(null), v1 = X(re.value && i.value === -1 ? 10 : i.value), U1 = b(() => r.value || c.value || !1), Na = b(() => f.value !== void 0 ? f.value : h.value !== void 0 ? h.value : !0), Fe = b(() => {
5034
+ } = $e(a), se = tt().proxy, ee = t.iv, O = t.ev, q = t.search, Ce = t.clearSearch, Pe = t.update, Da = t.pointer, nt = t.clearPointer, Pa = t.focus, Ba = t.deactivate, st = t.close, Na = t.localize, gt = X([]), je = X([]), Ie = X(!1), f1 = X(null), v1 = X(re.value && i.value === -1 ? 10 : i.value), U1 = b(() => r.value || c.value || !1), Ra = b(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), Fe = b(() => {
5033
5035
  if (le.value) {
5034
5036
  let _ = Ut.value || /* istanbul ignore next */
5035
5037
  [], H = [];
@@ -5059,7 +5061,7 @@ function A0(a, e, t) {
5059
5061
  [ae.value]: [...gt.value],
5060
5062
  __CREATE__: !0
5061
5063
  }), _.concat(H);
5062
- }), Ra = b(() => {
5064
+ }), Ua = b(() => {
5063
5065
  let _ = [...Ut.value].map((H) => ({ ...H }));
5064
5066
  return it.value.length && (_[0] && _[0].__CREATE__ ? _[0][ae.value] = [...it.value, ..._[0][ae.value]] : _ = [{
5065
5067
  [z.value]: " ",
@@ -5069,8 +5071,8 @@ function A0(a, e, t) {
5069
5071
  }), j1 = b(() => {
5070
5072
  if (!le.value)
5071
5073
  return [];
5072
- let _ = Ra.value;
5073
- return en((_ || /* istanbul ignore next */
5074
+ let _ = Ua.value;
5075
+ return tn((_ || /* istanbul ignore next */
5074
5076
  []).map((H, te) => {
5075
5077
  const ve = g1(H[ae.value]);
5076
5078
  return {
@@ -5081,7 +5083,7 @@ function A0(a, e, t) {
5081
5083
  __VISIBLE__: _1(ve).map((bt) => Object.assign({}, bt, H[B.value] ? { [B.value]: !0 } : {}))
5082
5084
  };
5083
5085
  }));
5084
- }), h1 = b(() => {
5086
+ }), p1 = b(() => {
5085
5087
  switch (n.value) {
5086
5088
  case "single":
5087
5089
  return !Le(ee.value[V.value]);
@@ -5089,12 +5091,12 @@ function A0(a, e, t) {
5089
5091
  case "tags":
5090
5092
  return !Le(ee.value) && ee.value.length > 0;
5091
5093
  }
5092
- }), Ua = b(() => p !== void 0 && p.value !== void 0 ? p.value(ee.value, se) : ee.value && ee.value.length > 1 ? `${ee.value.length} options selected` : "1 option selected"), Za = b(() => !Fe.value.length && !Ie.value && !it.value.length), ja = b(() => Fe.value.length > 0 && yt.value.length == 0 && (q.value && le.value || !le.value)), it = b(() => U1.value === !1 || !q.value ? [] : Xa(q.value) !== -1 ? [] : [{
5094
+ }), Za = b(() => h !== void 0 && h.value !== void 0 ? h.value(ee.value, se) : ee.value && ee.value.length > 1 ? `${ee.value.length} options selected` : "1 option selected"), ja = b(() => !Fe.value.length && !Ie.value && !it.value.length), Fa = b(() => Fe.value.length > 0 && yt.value.length == 0 && (q.value && le.value || !le.value)), it = b(() => U1.value === !1 || !q.value ? [] : Qa(q.value) !== -1 ? [] : [{
5093
5095
  [V.value]: q.value,
5094
5096
  [Oe.value]: q.value,
5095
5097
  [u.value]: q.value,
5096
5098
  __CREATE__: !0
5097
- }]), Oe = b(() => o.value || u.value), Fa = b(() => {
5099
+ }]), Oe = b(() => o.value || u.value), qa = b(() => {
5098
5100
  switch (n.value) {
5099
5101
  case "single":
5100
5102
  return null;
@@ -5102,7 +5104,7 @@ function A0(a, e, t) {
5102
5104
  case "tags":
5103
5105
  return [];
5104
5106
  }
5105
- }), qa = b(() => $.value || Ie.value), ot = (_) => {
5107
+ }), Wa = b(() => $.value || Ie.value), ot = (_) => {
5106
5108
  switch (typeof _ != "object" && (_ = Ne(_)), n.value) {
5107
5109
  case "single":
5108
5110
  Pe(_);
@@ -5126,17 +5128,17 @@ function A0(a, e, t) {
5126
5128
  e.emit("deselect", F1(_), _, se);
5127
5129
  }, F1 = (_) => g.value ? _ : _[V.value], q1 = (_) => {
5128
5130
  lt(_);
5129
- }, Wa = (_, H) => {
5131
+ }, za = (_, H) => {
5130
5132
  if (H.button !== 0) {
5131
5133
  H.preventDefault();
5132
5134
  return;
5133
5135
  }
5134
5136
  q1(_);
5135
5137
  }, W1 = () => {
5136
- e.emit("clear", se), Pe(Fa.value);
5138
+ e.emit("clear", se), Pe(qa.value);
5137
5139
  }, Be = (_) => {
5138
5140
  if (_.group !== void 0)
5139
- return n.value === "single" ? !1 : Ga(_[ae.value]) && _[ae.value].length;
5141
+ return n.value === "single" ? !1 : Xa(_[ae.value]) && _[ae.value].length;
5140
5142
  switch (n.value) {
5141
5143
  case "single":
5142
5144
  return !Le(ee.value) && ee.value[V.value] == _[V.value];
@@ -5144,8 +5146,8 @@ function A0(a, e, t) {
5144
5146
  case "multiple":
5145
5147
  return !Le(ee.value) && ee.value.map((H) => H[V.value]).indexOf(_[V.value]) !== -1;
5146
5148
  }
5147
- }, p1 = (_) => _[B.value] === !0, m1 = () => ne === void 0 || ne.value === -1 || !h1.value && ne.value > 0 ? !1 : ee.value.length >= ne.value, za = (_) => {
5148
- if (!p1(_)) {
5149
+ }, h1 = (_) => _[B.value] === !0, m1 = () => ne === void 0 || ne.value === -1 || !p1.value && ne.value > 0 ? !1 : ee.value.length >= ne.value, xa = (_) => {
5150
+ if (!h1(_)) {
5149
5151
  if (N && N.value && !Be(_) && _.__CREATE__ && (_ = { ..._ }, delete _.__CREATE__, _ = N.value(_, se), _ instanceof Promise)) {
5150
5152
  Ie.value = !0, _.then((H) => {
5151
5153
  Ie.value = !1, z1(H);
@@ -5186,42 +5188,42 @@ function A0(a, e, t) {
5186
5188
  _ && C1(_), j.value && Ce(), _ && ot(_), l.value && nt(), S.value && st();
5187
5189
  break;
5188
5190
  }
5189
- S.value || Da();
5190
- }, xa = (_) => {
5191
- if (!(p1(_) || n.value === "single" || !A.value)) {
5191
+ S.value || Pa();
5192
+ }, Ya = (_) => {
5193
+ if (!(h1(_) || n.value === "single" || !A.value)) {
5192
5194
  switch (n.value) {
5193
5195
  case "multiple":
5194
5196
  case "tags":
5195
- Ka(_[ae.value]) ? lt(_[ae.value]) : ot(
5197
+ Ga(_[ae.value]) ? lt(_[ae.value]) : ot(
5196
5198
  _[ae.value].filter((H) => ee.value.map((te) => te[V.value]).indexOf(H[V.value]) === -1).filter((H) => !H[B.value]).filter((H, te) => ee.value.length + 1 + te <= ne.value || ne.value === -1)
5197
5199
  );
5198
5200
  break;
5199
5201
  }
5200
- S.value && Pa();
5202
+ S.value && Ba();
5201
5203
  }
5202
5204
  }, C1 = (_) => {
5203
- Ne(_[V.value]) === void 0 && U1.value && (e.emit("tag", _[V.value], se), e.emit("option", _[V.value], se), e.emit("create", _[V.value], se), Na.value && Ja(_), Ce());
5204
- }, Ya = () => {
5205
+ Ne(_[V.value]) === void 0 && U1.value && (e.emit("tag", _[V.value], se), e.emit("option", _[V.value], se), e.emit("create", _[V.value], se), Ra.value && en(_), Ce());
5206
+ }, Ka = () => {
5205
5207
  n.value !== "single" && ot(yt.value.filter((_) => !_.disabled && !Be(_)));
5206
- }, Ka = (_) => _.find((H) => !Be(H) && !H[B.value]) === void 0, Ga = (_) => _.find((H) => !Be(H)) === void 0, Ne = (_) => Fe.value[Fe.value.map((H) => String(H[V.value])).indexOf(String(_))], Xa = (_, H = !0) => Fe.value.map((te) => parseInt(te[Oe.value]) == te[Oe.value] ? parseInt(te[Oe.value]) : te[Oe.value]).indexOf(
5208
+ }, Ga = (_) => _.find((H) => !Be(H) && !H[B.value]) === void 0, Xa = (_) => _.find((H) => !Be(H)) === void 0, Ne = (_) => Fe.value[Fe.value.map((H) => String(H[V.value])).indexOf(String(_))], Qa = (_, H = !0) => Fe.value.map((te) => parseInt(te[Oe.value]) == te[Oe.value] ? parseInt(te[Oe.value]) : te[Oe.value]).indexOf(
5207
5209
  parseInt(_) == _ ? parseInt(_) : _
5208
- ), Qa = (_) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Be(_), Ja = (_) => {
5210
+ ), Ja = (_) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Be(_), en = (_) => {
5209
5211
  gt.value.push(_);
5210
- }, en = (_) => m.value ? _.filter(
5212
+ }, tn = (_) => m.value ? _.filter(
5211
5213
  (H) => q.value ? H.__VISIBLE__.length : H[ae.value].length
5212
5214
  ) : _.filter((H) => q.value ? H.__VISIBLE__.length : !0), _1 = (_, H = !0) => {
5213
5215
  let te = _;
5214
5216
  if (q.value && L.value) {
5215
5217
  let ve = me.value;
5216
5218
  ve || (ve = (bt, L4) => {
5217
- let Y1 = $1(Ba(bt[Oe.value]), y.value);
5219
+ let Y1 = $1(Na(bt[Oe.value]), y.value);
5218
5220
  return oe.value ? Y1.startsWith($1(q.value, y.value)) : Y1.indexOf($1(q.value, y.value)) !== -1;
5219
5221
  }), te = te.filter(ve);
5220
5222
  }
5221
- return l.value && H && (te = te.filter((ve) => !Qa(ve))), te;
5223
+ return l.value && H && (te = te.filter((ve) => !Ja(ve))), te;
5222
5224
  }, g1 = (_) => {
5223
5225
  let H = _;
5224
- return M0(H) && (H = Object.keys(H).map((te) => {
5226
+ return M3(H) && (H = Object.keys(H).map((te) => {
5225
5227
  let ve = H[te];
5226
5228
  return { [V.value]: te, [Oe.value]: ve, [u.value]: ve };
5227
5229
  })), H = H.map((te) => typeof te == "object" ? te : { [V.value]: te, [Oe.value]: te, [u.value]: te }), H;
@@ -5236,7 +5238,7 @@ function A0(a, e, t) {
5236
5238
  H();
5237
5239
  });
5238
5240
  })), y1 = () => {
5239
- if (h1.value)
5241
+ if (p1.value)
5240
5242
  if (n.value === "single") {
5241
5243
  let _ = Ne(ee.value[V.value]);
5242
5244
  if (_ !== void 0) {
@@ -5251,7 +5253,7 @@ function A0(a, e, t) {
5251
5253
  ee.value[H][u.value] = ve, g.value && (O.value[H][u.value] = ve);
5252
5254
  }
5253
5255
  });
5254
- }, tn = (_) => {
5256
+ }, an = (_) => {
5255
5257
  jt(_);
5256
5258
  }, Ft = (_) => Le(_) ? n.value === "single" ? {} : [] : g.value ? _ : n.value === "single" ? Ne(_) || (I.value ? {
5257
5259
  [u.value]: _,
@@ -5265,7 +5267,7 @@ function A0(a, e, t) {
5265
5267
  f1.value = ue(q, (_) => {
5266
5268
  _.length < w.value || !_ && w.value !== 0 || (Ie.value = !0, Z.value && (je.value = []), setTimeout(() => {
5267
5269
  _ == q.value && s.value(q.value, se).then((H) => {
5268
- (_ == q.value || !q.value) && (je.value = H, Ha.value = yt.value.filter((te) => te[B.value] !== !0)[0] || null, Ie.value = !1);
5270
+ (_ == q.value || !q.value) && (je.value = H, Da.value = yt.value.filter((te) => te[B.value] !== !0)[0] || null, Ie.value = !1);
5269
5271
  }).catch(
5270
5272
  /* istanbul ignore next */
5271
5273
  (H) => {
@@ -5290,7 +5292,7 @@ function A0(a, e, t) {
5290
5292
  break;
5291
5293
  case "multiple":
5292
5294
  case "tags":
5293
- k0(g.value ? _.map((H) => H[V.value]) : _, ee.value.map((H) => H[V.value])) || Pe(Ft(_), !1);
5295
+ k3(g.value ? _.map((H) => H[V.value]) : _, ee.value.map((H) => H[V.value])) || Pe(Ft(_), !1);
5294
5296
  break;
5295
5297
  }
5296
5298
  }, { deep: !0 }), ue(s, (_, H) => {
@@ -5299,37 +5301,37 @@ function A0(a, e, t) {
5299
5301
  pfo: Z1,
5300
5302
  fo: yt,
5301
5303
  filteredOptions: yt,
5302
- hasSelected: h1,
5303
- multipleLabelText: Ua,
5304
+ hasSelected: p1,
5305
+ multipleLabelText: Za,
5304
5306
  eo: Fe,
5305
5307
  extendedOptions: Fe,
5306
5308
  eg: Ut,
5307
5309
  extendedGroups: Ut,
5308
5310
  fg: j1,
5309
5311
  filteredGroups: j1,
5310
- noOptions: Za,
5311
- noResults: ja,
5312
+ noOptions: ja,
5313
+ noResults: Fa,
5312
5314
  resolving: Ie,
5313
- busy: qa,
5315
+ busy: Wa,
5314
5316
  offset: v1,
5315
5317
  select: ot,
5316
5318
  deselect: lt,
5317
5319
  remove: q1,
5318
- selectAll: Ya,
5320
+ selectAll: Ka,
5319
5321
  clear: W1,
5320
5322
  isSelected: Be,
5321
- isDisabled: p1,
5323
+ isDisabled: h1,
5322
5324
  isMax: m1,
5323
5325
  getOption: Ne,
5324
- handleOptionClick: za,
5325
- handleGroupClick: xa,
5326
- handleTagRemove: Wa,
5327
- refreshOptions: tn,
5326
+ handleOptionClick: xa,
5327
+ handleGroupClick: Ya,
5328
+ handleTagRemove: za,
5329
+ refreshOptions: an,
5328
5330
  resolveOptions: jt,
5329
5331
  refreshLabels: y1
5330
5332
  };
5331
5333
  }
5332
- function T0(a, e, t) {
5334
+ function T3(a, e, t) {
5333
5335
  const {
5334
5336
  valueProp: s,
5335
5337
  showOptions: n,
@@ -5340,7 +5342,7 @@ function T0(a, e, t) {
5340
5342
  groupSelect: c,
5341
5343
  disabledProp: u,
5342
5344
  groupOptions: f
5343
- } = $e(a), h = t.fo, p = t.fg, g = t.handleOptionClick, $ = t.handleGroupClick, T = t.search, M = t.pointer, w = t.setPointer, L = t.clearPointer, Z = t.multiselect, j = t.isOpen, V = b(() => h.value.filter((O) => !O[u.value])), I = b(() => p.value.filter((O) => !O[u.value])), z = b(() => r.value !== "single" && c.value), Y = b(() => M.value && M.value.group), ne = b(() => se(M.value)), y = b(() => {
5345
+ } = $e(a), p = t.fo, h = t.fg, g = t.handleOptionClick, $ = t.handleGroupClick, T = t.search, M = t.pointer, w = t.setPointer, L = t.clearPointer, Z = t.multiselect, j = t.isOpen, V = b(() => p.value.filter((O) => !O[u.value])), I = b(() => h.value.filter((O) => !O[u.value])), z = b(() => r.value !== "single" && c.value), Y = b(() => M.value && M.value.group), ne = b(() => se(M.value)), y = b(() => {
5344
5346
  const O = Y.value ? M.value : (
5345
5347
  /* istanbul ignore next */
5346
5348
  se(M.value)
@@ -5418,7 +5420,7 @@ function T0(a, e, t) {
5418
5420
  backwardPointer: me
5419
5421
  };
5420
5422
  }
5421
- function S0(a, e, t) {
5423
+ function S3(a, e, t) {
5422
5424
  const { disabled: s } = $e(a), n = tt().proxy, o = X(!1);
5423
5425
  return {
5424
5426
  isOpen: o,
@@ -5430,9 +5432,9 @@ function S0(a, e, t) {
5430
5432
  }
5431
5433
  };
5432
5434
  }
5433
- function E0(a, e, t) {
5434
- const { searchable: s, disabled: n, clearOnBlur: o } = $e(a), i = t.input, l = t.open, r = t.close, c = t.clearSearch, u = t.isOpen, f = X(null), h = X(null), p = X(null), g = X(!1), $ = X(!1), T = b(() => s.value || n.value ? -1 : 0), M = () => {
5435
- s.value && i.value.blur(), h.value.blur();
5435
+ function E3(a, e, t) {
5436
+ const { searchable: s, disabled: n, clearOnBlur: o } = $e(a), i = t.input, l = t.open, r = t.close, c = t.clearSearch, u = t.isOpen, f = X(null), p = X(null), h = X(null), g = X(!1), $ = X(!1), T = b(() => s.value || n.value ? -1 : 0), M = () => {
5437
+ s.value && i.value.blur(), p.value.blur();
5436
5438
  }, w = () => {
5437
5439
  s.value && !n.value && i.value.focus();
5438
5440
  }, L = (Y = !0) => {
@@ -5444,8 +5446,8 @@ function E0(a, e, t) {
5444
5446
  };
5445
5447
  return {
5446
5448
  multiselect: f,
5447
- wrapper: h,
5448
- tags: p,
5449
+ wrapper: p,
5450
+ tags: h,
5449
5451
  tabindex: T,
5450
5452
  isActive: g,
5451
5453
  mouseClicked: $,
@@ -5463,15 +5465,15 @@ function E0(a, e, t) {
5463
5465
  Z(), M();
5464
5466
  },
5465
5467
  handleMousedown: (Y) => {
5466
- $.value = !0, u.value && (Y.target.isEqualNode(h.value) || Y.target.isEqualNode(p.value)) ? setTimeout(() => {
5468
+ $.value = !0, u.value && (Y.target.isEqualNode(p.value) || Y.target.isEqualNode(h.value)) ? setTimeout(() => {
5467
5469
  Z();
5468
- }, 0) : document.activeElement.isEqualNode(h.value) && !u.value && L(), setTimeout(() => {
5470
+ }, 0) : document.activeElement.isEqualNode(p.value) && !u.value && L(), setTimeout(() => {
5469
5471
  $.value = !1;
5470
5472
  }, 0);
5471
5473
  }
5472
5474
  };
5473
5475
  }
5474
- function I0(a, e, t) {
5476
+ function I3(a, e, t) {
5475
5477
  const {
5476
5478
  mode: s,
5477
5479
  addTagOn: n,
@@ -5482,9 +5484,9 @@ function I0(a, e, t) {
5482
5484
  groups: c,
5483
5485
  addOptionOn: u,
5484
5486
  createTag: f,
5485
- createOption: h,
5486
- reverse: p
5487
- } = $e(a), g = tt().proxy, $ = t.iv, T = t.update, M = t.search, w = t.setPointer, L = t.selectPointer, Z = t.backwardPointer, j = t.forwardPointer, V = t.multiselect, I = t.wrapper, z = t.tags, Y = t.isOpen, ne = t.open, y = t.blur, S = t.fo, D = b(() => f.value || h.value || !1), le = b(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), J = () => {
5487
+ createOption: p,
5488
+ reverse: h
5489
+ } = $e(a), g = tt().proxy, $ = t.iv, T = t.update, M = t.search, w = t.setPointer, L = t.selectPointer, Z = t.backwardPointer, j = t.forwardPointer, V = t.multiselect, I = t.wrapper, z = t.tags, Y = t.isOpen, ne = t.open, y = t.blur, S = t.fo, D = b(() => f.value || p.value || !1), le = b(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), J = () => {
5488
5490
  s.value === "tags" && !l.value && D.value && i.value && !c.value && w(S.value[S.value.map((A) => A[r.value]).indexOf(M.value)]);
5489
5491
  }, re = (A) => {
5490
5492
  let N = A.length - 1;
@@ -5562,13 +5564,13 @@ function I0(a, e, t) {
5562
5564
  preparePointer: J
5563
5565
  };
5564
5566
  }
5565
- function O0(a, e, t) {
5567
+ function O3(a, e, t) {
5566
5568
  const {
5567
5569
  classes: s,
5568
5570
  disabled: n,
5569
5571
  openDirection: o,
5570
5572
  showOptions: i
5571
- } = $e(a), l = t.isOpen, r = t.isPointed, c = t.isSelected, u = t.isDisabled, f = t.isActive, h = t.canPointGroups, p = t.resolving, g = t.fo, $ = b(() => ({
5573
+ } = $e(a), l = t.isOpen, r = t.isPointed, c = t.isSelected, u = t.isDisabled, f = t.isActive, p = t.canPointGroups, h = t.resolving, g = t.fo, $ = b(() => ({
5572
5574
  container: "multiselect",
5573
5575
  containerDisabled: "is-disabled",
5574
5576
  containerOpen: "is-open",
@@ -5621,7 +5623,7 @@ function O0(a, e, t) {
5621
5623
  assist: "multiselect-assistive-text",
5622
5624
  spacer: "multiselect-spacer",
5623
5625
  ...s.value
5624
- })), T = b(() => !!(l.value && i.value && (!p.value || p.value && g.value.length)));
5626
+ })), T = b(() => !!(l.value && i.value && (!h.value || h.value && g.value.length)));
5625
5627
  return {
5626
5628
  classList: b(() => {
5627
5629
  const w = $.value;
@@ -5653,7 +5655,7 @@ function O0(a, e, t) {
5653
5655
  group: w.group,
5654
5656
  groupLabel: (L) => {
5655
5657
  let Z = [w.groupLabel];
5656
- return r(L) ? Z.push(c(L) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : c(L) && h.value ? Z.push(u(L) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : u(L) && Z.push(w.groupLabelDisabled), h.value && Z.push(w.groupLabelPointable), Z;
5658
+ return r(L) ? Z.push(c(L) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : c(L) && p.value ? Z.push(u(L) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : u(L) && Z.push(w.groupLabelDisabled), p.value && Z.push(w.groupLabelPointable), Z;
5657
5659
  },
5658
5660
  groupOptions: w.groupOptions,
5659
5661
  option: (L, Z) => {
@@ -5669,11 +5671,11 @@ function O0(a, e, t) {
5669
5671
  showDropdown: T
5670
5672
  };
5671
5673
  }
5672
- function L0(a, e, t) {
5674
+ function L3(a, e, t) {
5673
5675
  const {
5674
5676
  limit: s,
5675
5677
  infinite: n
5676
- } = $e(a), o = t.isOpen, i = t.offset, l = t.search, r = t.pfo, c = t.eo, u = X(null), f = X(null), h = b(() => i.value < r.value.length), p = ($) => {
5678
+ } = $e(a), o = t.isOpen, i = t.offset, l = t.search, r = t.pfo, c = t.eo, u = X(null), f = X(null), p = b(() => i.value < r.value.length), h = ($) => {
5677
5679
  const { isIntersecting: T, target: M } = $[0];
5678
5680
  if (T) {
5679
5681
  const w = M.offsetParent, L = w.scrollTop;
@@ -5691,13 +5693,13 @@ function L0(a, e, t) {
5691
5693
  }, { flush: "post" }), ue(c, () => {
5692
5694
  n.value && g();
5693
5695
  }, { immediate: !1, flush: "post" }), Dt(() => {
5694
- window && window.IntersectionObserver && (u.value = new IntersectionObserver(p));
5696
+ window && window.IntersectionObserver && (u.value = new IntersectionObserver(h));
5695
5697
  }), {
5696
- hasMore: h,
5698
+ hasMore: p,
5697
5699
  infiniteLoader: f
5698
5700
  };
5699
5701
  }
5700
- function V0(a, e, t) {
5702
+ function V3(a, e, t) {
5701
5703
  const {
5702
5704
  placeholder: s,
5703
5705
  id: n,
@@ -5707,7 +5709,7 @@ function V0(a, e, t) {
5707
5709
  groupLabel: r,
5708
5710
  aria: c,
5709
5711
  searchable: u
5710
- } = $e(a), f = t.pointer, h = t.iv, p = t.hasSelected, g = t.multipleLabelText, $ = X(null), T = b(() => {
5712
+ } = $e(a), f = t.pointer, p = t.iv, h = t.hasSelected, g = t.multipleLabelText, $ = X(null), T = b(() => {
5711
5713
  let S = [];
5712
5714
  return n && n.value && S.push(n.value), S.push("assist"), S.join("-");
5713
5715
  }), M = b(() => {
@@ -5719,7 +5721,7 @@ function V0(a, e, t) {
5719
5721
  return S.push(f.value.group ? "multiselect-group" : "multiselect-option"), S.push(f.value.group ? f.value.index : f.value[o.value]), S.join("-");
5720
5722
  }), L = b(() => s.value), Z = b(() => l.value !== "single"), j = b(() => {
5721
5723
  let S = "";
5722
- return l.value === "single" && p.value && (S += h.value[i.value]), l.value === "multiple" && p.value && (S += g.value), l.value === "tags" && p.value && (S += h.value.map((D) => D[i.value]).join(", ")), S;
5724
+ return l.value === "single" && h.value && (S += p.value[i.value]), l.value === "multiple" && h.value && (S += g.value), l.value === "tags" && h.value && (S += p.value.map((D) => D[i.value]).join(", ")), S;
5723
5725
  }), V = b(() => {
5724
5726
  let S = { ...c.value };
5725
5727
  return u.value && (S["aria-labelledby"] = S["aria-labelledby"] ? `${T.value} ${S["aria-labelledby"]}` : T.value, j.value && S["aria-label"] && (S["aria-label"] = `${j.value}, ${S["aria-label"]}`)), S;
@@ -5756,7 +5758,7 @@ function V0(a, e, t) {
5756
5758
  ariaTagLabel: y
5757
5759
  };
5758
5760
  }
5759
- function H0(a, e, t) {
5761
+ function H3(a, e, t) {
5760
5762
  const {
5761
5763
  locale: s,
5762
5764
  fallbackLocale: n
@@ -5765,7 +5767,7 @@ function H0(a, e, t) {
5765
5767
  localize: (i) => !i || typeof i != "object" ? i : i && i[s.value] ? i[s.value] : i && s.value && i[s.value.toUpperCase()] ? i[s.value.toUpperCase()] : i && i[n.value] ? i[n.value] : i && n.value && i[n.value.toUpperCase()] ? i[n.value.toUpperCase()] : i && Object.keys(i)[0] ? i[Object.keys(i)[0]] : ""
5766
5768
  };
5767
5769
  }
5768
- function D0(a, e, t, s = {}) {
5770
+ function D3(a, e, t, s = {}) {
5769
5771
  return t.forEach((n) => {
5770
5772
  n && (s = {
5771
5773
  ...s,
@@ -6109,24 +6111,24 @@ var We = {
6109
6111
  }
6110
6112
  },
6111
6113
  setup(a, e) {
6112
- return D0(a, e, [
6113
- H0,
6114
- b0,
6115
- $0,
6116
- S0,
6117
- w0,
6118
- y0,
6119
- E0,
6120
- A0,
6121
- L0,
6122
- T0,
6123
- I0,
6124
- O0,
6125
- V0
6114
+ return D3(a, e, [
6115
+ H3,
6116
+ b3,
6117
+ $3,
6118
+ S3,
6119
+ w3,
6120
+ y3,
6121
+ E3,
6122
+ A3,
6123
+ L3,
6124
+ T3,
6125
+ I3,
6126
+ O3,
6127
+ V3
6126
6128
  ]);
6127
6129
  }
6128
6130
  };
6129
- const P0 = ["id", "dir"], B0 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], N0 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], R0 = ["onKeyup", "aria-label"], U0 = ["onClick"], Z0 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], j0 = ["innerHTML"], F0 = ["id"], q0 = ["id", "aria-label", "aria-selected"], W0 = ["data-pointed", "onMouseenter", "onClick"], z0 = ["innerHTML"], x0 = ["aria-label"], Y0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], K0 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], G0 = ["innerHTML"], X0 = ["innerHTML"], Q0 = ["value"], J0 = ["name", "value"], e5 = ["name", "value"], t5 = ["id"];
6131
+ const P3 = ["id", "dir"], B3 = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], N3 = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], R3 = ["onKeyup", "aria-label"], U3 = ["onClick"], Z3 = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], j3 = ["innerHTML"], F3 = ["id"], q3 = ["id", "aria-label", "aria-selected"], W3 = ["data-pointed", "onMouseenter", "onClick"], z3 = ["innerHTML"], x3 = ["aria-label"], Y3 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], K3 = ["data-pointed", "data-selected", "onMouseenter", "onClick", "id", "aria-selected", "aria-label"], G3 = ["innerHTML"], X3 = ["innerHTML"], Q3 = ["value"], J3 = ["name", "value"], e5 = ["name", "value"], t5 = ["id"];
6130
6132
  function a5(a, e, t, s, n, o) {
6131
6133
  return v(), C("div", {
6132
6134
  ref: "multiselect",
@@ -6172,7 +6174,7 @@ function a5(a, e, t, s, n, o) {
6172
6174
  }, {
6173
6175
  ...t.attrs,
6174
6176
  ...a.arias
6175
- }), null, 16, N0)) : E("v-if", !0),
6177
+ }), null, 16, N3)) : E("v-if", !0),
6176
6178
  E(" Tags (with search) "),
6177
6179
  t.mode == "tags" ? (v(), C(
6178
6180
  "div",
@@ -6219,8 +6221,8 @@ function a5(a, e, t, s, n, o) {
6219
6221
  2
6220
6222
  /* CLASS */
6221
6223
  )
6222
- ], 10, U0)) : E("v-if", !0)
6223
- ], 42, R0))
6224
+ ], 10, U3)) : E("v-if", !0)
6225
+ ], 42, R3))
6224
6226
  ])),
6225
6227
  256
6226
6228
  /* UNKEYED_FRAGMENT */
@@ -6264,7 +6266,7 @@ function a5(a, e, t, s, n, o) {
6264
6266
  }, {
6265
6267
  ...t.attrs,
6266
6268
  ...a.arias
6267
- }), null, 16, Z0)) : E("v-if", !0)
6269
+ }), null, 16, Z3)) : E("v-if", !0)
6268
6270
  ],
6269
6271
  2
6270
6272
  /* CLASS */
@@ -6306,7 +6308,7 @@ function a5(a, e, t, s, n, o) {
6306
6308
  d("div", {
6307
6309
  class: G(a.classList.multipleLabel),
6308
6310
  innerHTML: a.multipleLabelText
6309
- }, null, 10, j0)
6311
+ }, null, 10, j3)
6310
6312
  ]) : E("v-if", !0),
6311
6313
  E(" Placeholder "),
6312
6314
  t.placeholder && !a.hasSelected && !a.search ? Q(a.$slots, "placeholder", { key: 4 }, () => [
@@ -6380,7 +6382,7 @@ function a5(a, e, t, s, n, o) {
6380
6382
  /* CLASS */
6381
6383
  )
6382
6384
  ]) : E("v-if", !0)
6383
- ], 16, B0),
6385
+ ], 16, B3),
6384
6386
  E(" Options "),
6385
6387
  d(
6386
6388
  "div",
@@ -6420,9 +6422,9 @@ function a5(a, e, t, s, n, o) {
6420
6422
  }, () => [
6421
6423
  d("span", {
6422
6424
  innerHTML: a.localize(i[t.groupLabel])
6423
- }, null, 8, z0)
6425
+ }, null, 8, z3)
6424
6426
  ])
6425
- ], 42, W0)),
6427
+ ], 42, W3)),
6426
6428
  d("ul", {
6427
6429
  class: G(a.classList.groupOptions),
6428
6430
  "aria-label": a.ariaGroupLabel(a.localize(i[t.groupLabel])),
@@ -6436,8 +6438,8 @@ function a5(a, e, t, s, n, o) {
6436
6438
  "data-pointed": a.isPointed(c),
6437
6439
  "data-selected": a.isSelected(c) || void 0,
6438
6440
  key: f,
6439
- onMouseenter: (h) => a.setPointer(c),
6440
- onClick: (h) => a.handleOptionClick(c),
6441
+ onMouseenter: (p) => a.setPointer(c),
6442
+ onClick: (p) => a.handleOptionClick(c),
6441
6443
  id: a.ariaOptionId(c),
6442
6444
  "aria-selected": a.isSelected(c),
6443
6445
  "aria-label": a.ariaOptionLabel(a.localize(c[t.label])),
@@ -6457,12 +6459,12 @@ function a5(a, e, t, s, n, o) {
6457
6459
  /* TEXT */
6458
6460
  )
6459
6461
  ])
6460
- ], 42, Y0))),
6462
+ ], 42, Y3))),
6461
6463
  128
6462
6464
  /* KEYED_FRAGMENT */
6463
6465
  ))
6464
- ], 10, x0)
6465
- ], 10, q0))),
6466
+ ], 10, x3)
6467
+ ], 10, q3))),
6466
6468
  128
6467
6469
  /* KEYED_FRAGMENT */
6468
6470
  )) : (v(!0), C(
@@ -6494,22 +6496,22 @@ function a5(a, e, t, s, n, o) {
6494
6496
  /* TEXT */
6495
6497
  )
6496
6498
  ])
6497
- ], 42, K0))),
6499
+ ], 42, K3))),
6498
6500
  128
6499
6501
  /* KEYED_FRAGMENT */
6500
6502
  ))
6501
- ], 10, F0),
6503
+ ], 10, F3),
6502
6504
  a.noOptions ? Q(a.$slots, "nooptions", { key: 0 }, () => [
6503
6505
  d("div", {
6504
6506
  class: G(a.classList.noOptions),
6505
6507
  innerHTML: a.localize(t.noOptionsText)
6506
- }, null, 10, G0)
6508
+ }, null, 10, G3)
6507
6509
  ]) : E("v-if", !0),
6508
6510
  a.noResults ? Q(a.$slots, "noresults", { key: 1 }, () => [
6509
6511
  d("div", {
6510
6512
  class: G(a.classList.noResults),
6511
6513
  innerHTML: a.localize(t.noResultsText)
6512
- }, null, 10, X0)
6514
+ }, null, 10, X3)
6513
6515
  ]) : E("v-if", !0),
6514
6516
  t.infinite && a.hasMore ? (v(), C(
6515
6517
  "div",
@@ -6546,7 +6548,7 @@ function a5(a, e, t, s, n, o) {
6546
6548
  tabindex: "-1",
6547
6549
  value: a.textValue,
6548
6550
  required: ""
6549
- }, null, 10, Q0)) : E("v-if", !0),
6551
+ }, null, 10, Q3)) : E("v-if", !0),
6550
6552
  E(" Native input support "),
6551
6553
  t.nativeSupport ? (v(), C(
6552
6554
  fe,
@@ -6557,7 +6559,7 @@ function a5(a, e, t, s, n, o) {
6557
6559
  type: "hidden",
6558
6560
  name: t.name,
6559
6561
  value: a.plainValue !== void 0 ? a.plainValue : ""
6560
- }, null, 8, J0)) : (v(!0), C(
6562
+ }, null, 8, J3)) : (v(!0), C(
6561
6563
  fe,
6562
6564
  { key: 1 },
6563
6565
  ye(a.plainValue, (i, l) => (v(), C("input", {
@@ -6590,7 +6592,7 @@ function a5(a, e, t, s, n, o) {
6590
6592
  2
6591
6593
  /* CLASS */
6592
6594
  )
6593
- ], 42, P0);
6595
+ ], 42, P3);
6594
6596
  }
6595
6597
  We.render = a5;
6596
6598
  We.__file = "src/Multiselect.vue";
@@ -6602,7 +6604,7 @@ const be = /* @__PURE__ */ x({
6602
6604
  },
6603
6605
  setup(a) {
6604
6606
  const e = a, t = ct(() => e.appendTo), s = X();
6605
- return e.detached && g0({
6607
+ return e.detached && g3({
6606
6608
  multiselect: s,
6607
6609
  appendTo: t.value
6608
6610
  }), (n, o) => (v(), U(F(We), {
@@ -6613,7 +6615,7 @@ const be = /* @__PURE__ */ x({
6613
6615
  ye(n.$slots, (i, l) => ({
6614
6616
  name: l,
6615
6617
  fn: R((r) => [
6616
- Q(n.$slots, l, rn(un(r ?? {})))
6618
+ Q(n.$slots, l, un(cn(r ?? {})))
6617
6619
  ])
6618
6620
  }))
6619
6621
  ]), 1536));
@@ -6682,73 +6684,73 @@ const s5 = { class: "ao-tasks" }, i5 = { class: "ao-tasks__list" }, o5 = ["id",
6682
6684
  emits: ["add", "delete", "update"],
6683
6685
  setup(a, { emit: e }) {
6684
6686
  const t = a, { t: s } = at();
6685
- ue(() => t.tasks, (f, h) => {
6686
- Re(f, h);
6687
+ ue(() => t.tasks, (f, p) => {
6688
+ Re(f, p);
6687
6689
  });
6688
6690
  const n = b(
6689
6691
  () => {
6690
6692
  var f;
6691
- return ((f = t.users) == null ? void 0 : f.map((h) => ({
6692
- label: `${h.firstName} ${h.lastName}`,
6693
- value: h.id
6693
+ return ((f = t.users) == null ? void 0 : f.map((p) => ({
6694
+ label: `${p.firstName} ${p.lastName}`,
6695
+ value: p.id
6694
6696
  }))) ?? [];
6695
6697
  }
6696
6698
  ), o = () => {
6697
- const f = t.tasks.length, h = {
6699
+ const f = t.tasks.length, p = {
6698
6700
  name: s("task.defaultName", { idx: f + 1 }),
6699
6701
  activityId: t.activityId
6700
6702
  };
6701
- e("add", h);
6702
- }, i = (f, h) => {
6703
+ e("add", p);
6704
+ }, i = (f, p) => {
6703
6705
  const g = f.target.value;
6704
6706
  e("update", {
6705
- id: h,
6707
+ id: p,
6706
6708
  name: g
6707
6709
  });
6708
- }, l = (f, h) => {
6710
+ }, l = (f, p) => {
6709
6711
  t.isEditable && e("update", {
6710
6712
  id: f,
6711
- isDone: h
6713
+ isDone: p
6712
6714
  });
6713
6715
  }, r = (f) => {
6714
6716
  e("delete", { id: f });
6715
- }, c = (f, h) => {
6717
+ }, c = (f, p) => {
6716
6718
  e("update", {
6717
- id: h,
6719
+ id: p,
6718
6720
  assigneeId: f[0]
6719
6721
  });
6720
6722
  }, u = (f) => {
6721
- const h = f.target;
6722
- h == null || h.blur();
6723
+ const p = f.target;
6724
+ p == null || p.blur();
6723
6725
  };
6724
- return (f, h) => (v(), C("div", s5, [
6726
+ return (f, p) => (v(), C("div", s5, [
6725
6727
  d("ul", i5, [
6726
- (v(!0), C(fe, null, ye(f.tasks, (p) => {
6728
+ (v(!0), C(fe, null, ye(f.tasks, (h) => {
6727
6729
  var g, $;
6728
6730
  return v(), C("li", {
6729
- key: p.id,
6731
+ key: h.id,
6730
6732
  class: "ao-subtask"
6731
6733
  }, [
6732
- ((g = f.isCheckable) == null ? void 0 : g.call(f, p)) ?? !1 ? (v(), U(ce, {
6734
+ ((g = f.isCheckable) == null ? void 0 : g.call(f, h)) ?? !1 ? (v(), U(ce, {
6733
6735
  key: 0,
6734
6736
  class: "ao-subtask__check",
6735
- "icon-name": p.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
6737
+ "icon-name": h.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
6736
6738
  disabled: !f.isEditable,
6737
6739
  variant: "ghost",
6738
- onClick: () => l(p.id, !p.isDone)
6740
+ onClick: () => l(h.id, !h.isDone)
6739
6741
  }, null, 8, ["icon-name", "disabled", "onClick"])) : E("", !0),
6740
6742
  d("input", {
6741
- id: p.id,
6742
- value: p.name,
6743
+ id: h.id,
6744
+ value: h.name,
6743
6745
  readonly: !f.isEditable,
6744
6746
  class: "ao-field__input ao-subtask__field",
6745
6747
  type: "text",
6746
- onChange: (T) => i(T, p.id),
6748
+ onChange: (T) => i(T, h.id),
6747
6749
  onKeyup: ze(u, ["enter"])
6748
6750
  }, null, 40, o5),
6749
6751
  f.users ? (v(), U(be, {
6750
6752
  key: 1,
6751
- value: [($ = p.assignee) == null ? void 0 : $.id],
6753
+ value: [($ = h.assignee) == null ? void 0 : $.id],
6752
6754
  options: n.value,
6753
6755
  "close-on-select": !1,
6754
6756
  searchable: !0,
@@ -6758,7 +6760,7 @@ const s5 = { class: "ao-tasks" }, i5 = { class: "ao-tasks__list" }, o5 = ["id",
6758
6760
  placeholder: f.$t("feed.filters.assignee.placeholder"),
6759
6761
  disabled: !f.isEditable,
6760
6762
  caret: f.isEditable,
6761
- onChange: (T) => c(T, p.id)
6763
+ onChange: (T) => c(T, h.id)
6762
6764
  }, {
6763
6765
  tag: R(({ option: T, handleTagRemove: M }) => [
6764
6766
  k(_t, {
@@ -6776,7 +6778,7 @@ const s5 = { class: "ao-tasks" }, i5 = { class: "ao-tasks__list" }, o5 = ["id",
6776
6778
  size: "sm",
6777
6779
  variant: "ghost",
6778
6780
  color: "neutral",
6779
- onClick: () => r(p.id)
6781
+ onClick: () => r(h.id)
6780
6782
  }, null, 8, ["onClick"])) : E("", !0)
6781
6783
  ]);
6782
6784
  }), 128))
@@ -6800,7 +6802,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6800
6802
  }, d5 = ["href"], f5 = { class: "ao-file__title" }, v5 = {
6801
6803
  key: 1,
6802
6804
  class: "ao-files__dropzone"
6803
- }, h5 = { class: "ao-files__input" }, p5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, m5 = { class: "ao-files__placeholder" }, C5 = /* @__PURE__ */ x({
6805
+ }, p5 = { class: "ao-files__input" }, h5 = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost" }, m5 = { class: "ao-files__placeholder" }, C5 = /* @__PURE__ */ x({
6804
6806
  __name: "AoActivityDetailsFiles",
6805
6807
  props: {
6806
6808
  attachments: {},
@@ -6818,7 +6820,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6818
6820
  n.forEach((c) => {
6819
6821
  document.body.addEventListener(c, (u) => u.preventDefault());
6820
6822
  });
6821
- }), la(() => {
6823
+ }), ra(() => {
6822
6824
  n.forEach((c) => {
6823
6825
  document.body.removeEventListener(
6824
6826
  c,
@@ -6857,13 +6859,13 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6857
6859
  onDragleave: _e(l, ["prevent"])
6858
6860
  }, [
6859
6861
  (f = c.attachments) != null && f.length && c.attachments.length > 0 ? (v(), C("ul", c5, [
6860
- (v(!0), C(fe, null, ye(c.attachments, (h) => (v(), C("li", {
6861
- key: h.id,
6862
+ (v(!0), C(fe, null, ye(c.attachments, (p) => (v(), C("li", {
6863
+ key: p.id,
6862
6864
  class: "ao-file"
6863
6865
  }, [
6864
6866
  d("a", {
6865
6867
  class: "ao-file__link",
6866
- href: h.url,
6868
+ href: p.url,
6867
6869
  target: "_blank",
6868
6870
  rel: "noopener noreferrer"
6869
6871
  }, [
@@ -6872,7 +6874,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6872
6874
  name: "AttachFileRounded",
6873
6875
  size: "sm"
6874
6876
  }),
6875
- d("span", f5, W(h.name), 1)
6877
+ d("span", f5, W(p.name), 1)
6876
6878
  ], 8, d5),
6877
6879
  c.isEditable ? (v(), U(ce, {
6878
6880
  key: 0,
@@ -6882,13 +6884,13 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6882
6884
  color: "primary",
6883
6885
  size: "md",
6884
6886
  corners: "round",
6885
- onClick: () => t(h)
6887
+ onClick: () => t(p)
6886
6888
  }, null, 8, ["onClick"])) : E("", !0)
6887
6889
  ]))), 128))
6888
6890
  ])) : E("", !0),
6889
6891
  c.isEditable ? (v(), C("div", v5, [
6890
- d("label", h5, [
6891
- d("span", p5, W(c.$t("activity.attachment.button.resting")), 1),
6892
+ d("label", p5, [
6893
+ d("span", h5, W(c.$t("activity.attachment.button.resting")), 1),
6892
6894
  d("input", {
6893
6895
  class: "input-field",
6894
6896
  type: "file",
@@ -6921,12 +6923,12 @@ const _5 = { class: "ao-comment" }, g5 = { class: "ao-comment__body" }, y5 = { c
6921
6923
  const t = a, s = b(() => {
6922
6924
  const T = t.user;
6923
6925
  return T ? `${T == null ? void 0 : T.firstName} ${T == null ? void 0 : T.lastName}` : null;
6924
- }), n = X(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = ua(n), c = b(() => k1(t.createdAt)), u = b(() => k1(t.editedAt)), f = b(() => o.value ? "textarea" : "p"), h = r(), p = l((T) => {
6926
+ }), n = X(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = ca(n), c = b(() => k1(t.createdAt)), u = b(() => k1(t.editedAt)), f = b(() => o.value ? "textarea" : "p"), p = r(), h = l((T) => {
6925
6927
  e("edit", T);
6926
6928
  }), g = () => {
6927
6929
  e("remove");
6928
6930
  }, $ = X(2);
6929
- return cn(() => {
6931
+ return dn(() => {
6930
6932
  Ee(() => {
6931
6933
  var T;
6932
6934
  if (!o.value) {
@@ -6949,8 +6951,8 @@ const _5 = { class: "ao-comment" }, g5 = { class: "ao-comment__body" }, y5 = { c
6949
6951
  value: F(o) ? T.content : null,
6950
6952
  rows: F(o) ? $.value : null,
6951
6953
  onKeyup: [
6952
- ze(F(h), ["esc"]),
6953
- ze(_e(F(p), ["ctrl"]), ["enter"])
6954
+ ze(F(p), ["esc"]),
6955
+ ze(_e(F(h), ["ctrl"]), ["enter"])
6954
6956
  ]
6955
6957
  }, {
6956
6958
  default: R(() => [
@@ -6968,14 +6970,14 @@ const _5 = { class: "ao-comment" }, g5 = { class: "ao-comment__body" }, y5 = { c
6968
6970
  size: "sm",
6969
6971
  variant: "ghost",
6970
6972
  color: "neutral",
6971
- onClick: F(h)
6973
+ onClick: F(p)
6972
6974
  }, null, 8, ["onClick"]),
6973
6975
  k(ce, {
6974
6976
  "icon-name": "CheckSmallRounded",
6975
6977
  size: "sm",
6976
6978
  variant: "solid",
6977
6979
  color: "neutral",
6978
- onClick: F(p)
6980
+ onClick: F(h)
6979
6981
  }, null, 8, ["onClick"])
6980
6982
  ], 64)) : (v(), C(fe, { key: 1 }, [
6981
6983
  k(ce, {
@@ -7010,7 +7012,7 @@ const M5 = {
7010
7012
  },
7011
7013
  emits: ["createComment", "updateComment", "removeComment"],
7012
7014
  setup(a, { emit: e }) {
7013
- const t = a, s = (u) => t.users.find((h) => h.id === u), n = X();
7015
+ const t = a, s = (u) => t.users.find((p) => p.id === u), n = X();
7014
7016
  Ee(() => {
7015
7017
  n.value && (n.value.scrollTop = n.value.scrollHeight);
7016
7018
  });
@@ -7033,23 +7035,23 @@ const M5 = {
7033
7035
  e("removeComment", { id: u });
7034
7036
  };
7035
7037
  return (u, f) => {
7036
- var h;
7038
+ var p;
7037
7039
  return v(), C("div", {
7038
7040
  ref_key: "commentsContainer",
7039
7041
  ref: n,
7040
7042
  class: "ao-comments"
7041
7043
  }, [
7042
- ((h = u.comments) == null ? void 0 : h.length) > 0 ? (v(), C("ul", M5, [
7043
- (v(!0), C(fe, null, ye(u.comments, (p) => (v(), U($5, {
7044
- key: p.id,
7045
- user: s(p.author.id),
7046
- content: p.message,
7047
- "created-at": p.createdAt,
7048
- "edited-at": p.updatedAt,
7049
- "is-editable": p.author.id === u.userId,
7044
+ ((p = u.comments) == null ? void 0 : p.length) > 0 ? (v(), C("ul", M5, [
7045
+ (v(!0), C(fe, null, ye(u.comments, (h) => (v(), U($5, {
7046
+ key: h.id,
7047
+ user: s(h.author.id),
7048
+ content: h.message,
7049
+ "created-at": h.createdAt,
7050
+ "edited-at": h.updatedAt,
7051
+ "is-editable": h.author.id === u.userId,
7050
7052
  class: "ao-comment",
7051
- onEdit: (g) => r(p.id, g),
7052
- onRemove: () => c(p.id)
7053
+ onEdit: (g) => r(h.id, g),
7054
+ onRemove: () => c(h.id)
7053
7055
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
7054
7056
  ])) : E("", !0),
7055
7057
  d("div", k5, [
@@ -7060,7 +7062,7 @@ const M5 = {
7060
7062
  d("label", T5, [
7061
7063
  d("span", S5, W(u.$t("activity.comment.label")), 1),
7062
7064
  dt(d("textarea", {
7063
- "onUpdate:modelValue": f[0] || (f[0] = (p) => i.value = p),
7065
+ "onUpdate:modelValue": f[0] || (f[0] = (h) => i.value = h),
7064
7066
  rows: "4",
7065
7067
  class: "ao-field__textarea"
7066
7068
  }, null, 512), [
@@ -7093,7 +7095,7 @@ const O5 = {
7093
7095
  }, L5 = {
7094
7096
  key: 0,
7095
7097
  class: "ao-field"
7096
- }, V5 = { class: "ao-field__label" }, H5 = { class: "ao-activity-details__content" }, D5 = { class: "ao-fieldset" }, P5 = { class: "ao-field__row" }, B5 = { class: "ao-field ao-field--full" }, N5 = { class: "ao-field__label" }, R5 = ["readonly"], U5 = { class: "ao-field__row" }, Z5 = { class: "ao-field" }, j5 = { class: "ao-field__label" }, F5 = ["readonly"], q5 = { class: "ao-field" }, W5 = { class: "ao-field__label" }, z5 = ["disabled"], x5 = { class: "ao-fieldset" }, Y5 = { class: "ao-fieldset__title" }, K5 = { class: "ao-fieldset__body" }, G5 = { class: "ao-field__row" }, X5 = { class: "ao-field ao-field--multiselect" }, Q5 = { class: "ao-fieldset" }, J5 = { class: "ao-fieldset__title" }, e7 = { class: "ao-fieldset__body" }, t7 = { class: "ao-fieldset" }, a7 = { class: "ao-fieldset__title" }, n7 = { class: "ao-fieldset__body" }, s7 = { class: "ao-field__row" }, i7 = { class: "ao-field ao-field--multiselect" }, o7 = { class: "ao-field__label" }, l7 = { class: "ao-field__row" }, r7 = { class: "ao-field ao-field--multiselect" }, u7 = { class: "ao-field__label" }, c7 = { class: "ao-field__row" }, d7 = { class: "ao-field ao-field--multiselect" }, f7 = { class: "ao-field__label" }, v7 = { class: "ao-fieldset" }, h7 = { class: "ao-field__row" }, p7 = { class: "ao-field ao-field--multiselect" }, m7 = { class: "ao-field__label" }, C7 = {
7098
+ }, V5 = { class: "ao-field__label" }, H5 = { class: "ao-activity-details__content" }, D5 = { class: "ao-fieldset" }, P5 = { class: "ao-field__row" }, B5 = { class: "ao-field ao-field--full" }, N5 = { class: "ao-field__label" }, R5 = ["readonly"], U5 = { class: "ao-field__row" }, Z5 = { class: "ao-field" }, j5 = { class: "ao-field__label" }, F5 = ["readonly"], q5 = { class: "ao-field" }, W5 = { class: "ao-field__label" }, z5 = ["disabled"], x5 = { class: "ao-fieldset" }, Y5 = { class: "ao-fieldset__title" }, K5 = { class: "ao-fieldset__body" }, G5 = { class: "ao-field__row" }, X5 = { class: "ao-field ao-field--multiselect" }, Q5 = { class: "ao-fieldset" }, J5 = { class: "ao-fieldset__title" }, e7 = { class: "ao-fieldset__body" }, t7 = { class: "ao-fieldset" }, a7 = { class: "ao-fieldset__title" }, n7 = { class: "ao-fieldset__body" }, s7 = { class: "ao-field__row" }, i7 = { class: "ao-field ao-field--multiselect" }, o7 = { class: "ao-field__label" }, l7 = { class: "ao-field__row" }, r7 = { class: "ao-field ao-field--multiselect" }, u7 = { class: "ao-field__label" }, c7 = { class: "ao-field__row" }, d7 = { class: "ao-field ao-field--multiselect" }, f7 = { class: "ao-field__label" }, v7 = { class: "ao-fieldset" }, p7 = { class: "ao-field__row" }, h7 = { class: "ao-field ao-field--multiselect" }, m7 = { class: "ao-field__label" }, C7 = {
7097
7099
  key: 0,
7098
7100
  class: "ao-activity-details__aside"
7099
7101
  }, _7 = { class: "ao-fieldset__title" }, g7 = { class: "ao-fieldset__title" }, B1 = /* @__PURE__ */ x({
@@ -7179,13 +7181,13 @@ const O5 = {
7179
7181
  blocking: y
7180
7182
  });
7181
7183
  }
7182
- }), h = b(() => r.value.map((y) => {
7184
+ }), p = b(() => r.value.map((y) => {
7183
7185
  var S;
7184
7186
  return {
7185
7187
  ...y,
7186
7188
  disabled: (S = t.activity.dependingOn) == null ? void 0 : S.some((D) => D.id === y.value)
7187
7189
  };
7188
- })), p = b(() => (t.templateMilestones || []).filter((S) => S.id !== t.milestoneId).map((S) => ({
7190
+ })), h = b(() => (t.templateMilestones || []).filter((S) => S.id !== t.milestoneId).map((S) => ({
7189
7191
  label: S.name,
7190
7192
  value: S.id
7191
7193
  }))), g = b({
@@ -7257,7 +7259,7 @@ const O5 = {
7257
7259
  }, {
7258
7260
  header: R(() => [
7259
7261
  y.breadcrumbs ? (v(), C("div", O5, W(y.breadcrumbs), 1)) : E("", !0),
7260
- k(pe, {
7262
+ k(he, {
7261
7263
  title: y.activity.name || "",
7262
7264
  level: 4,
7263
7265
  "is-editable": y.isEditable,
@@ -7335,7 +7337,7 @@ const O5 = {
7335
7337
  type: "checkbox"
7336
7338
  }, null, 8, z5), [
7337
7339
  [
7338
- dn,
7340
+ fn,
7339
7341
  i.value,
7340
7342
  void 0,
7341
7343
  { lazy: !0 }
@@ -7347,7 +7349,7 @@ const O5 = {
7347
7349
  d("fieldset", x5, [
7348
7350
  d("div", Y5, [
7349
7351
  k(de, { name: "AccountBoxSharp" }),
7350
- k(pe, {
7352
+ k(he, {
7351
7353
  level: 4,
7352
7354
  title: y.$t("activity.assignee.title")
7353
7355
  }, null, 8, ["title"])
@@ -7384,7 +7386,7 @@ const O5 = {
7384
7386
  d("fieldset", Q5, [
7385
7387
  d("div", J5, [
7386
7388
  k(de, { name: "SelectCheckBox" }),
7387
- k(pe, {
7389
+ k(he, {
7388
7390
  level: 4,
7389
7391
  title: y.$t("activity.tasks.title")
7390
7392
  }, null, 8, ["title"])
@@ -7406,7 +7408,7 @@ const O5 = {
7406
7408
  d("fieldset", t7, [
7407
7409
  d("div", a7, [
7408
7410
  k(de, { name: "FlowsheetOutlineRounded" }),
7409
- k(pe, {
7411
+ k(he, {
7410
7412
  level: 4,
7411
7413
  title: y.$t("activity.dependencies.title")
7412
7414
  }, null, 8, ["title"])
@@ -7436,7 +7438,7 @@ const O5 = {
7436
7438
  mode: "tags",
7437
7439
  "close-on-select": !1,
7438
7440
  searchable: !0,
7439
- options: h.value,
7441
+ options: p.value,
7440
7442
  disabled: !y.isEditable,
7441
7443
  caret: y.isEditable
7442
7444
  }, null, 8, ["modelValue", "options", "disabled", "caret"])
@@ -7451,7 +7453,7 @@ const O5 = {
7451
7453
  mode: "tags",
7452
7454
  "close-on-select": !1,
7453
7455
  searchable: !0,
7454
- options: p.value,
7456
+ options: h.value,
7455
7457
  disabled: !y.isEditable,
7456
7458
  caret: y.isEditable
7457
7459
  }, null, 8, ["modelValue", "options", "disabled", "caret"])
@@ -7460,8 +7462,8 @@ const O5 = {
7460
7462
  ])
7461
7463
  ]),
7462
7464
  d("fieldset", v7, [
7463
- d("div", h7, [
7464
- d("label", p7, [
7465
+ d("div", p7, [
7466
+ d("label", h7, [
7465
7467
  d("span", m7, W(y.$t("activity.type.label")), 1),
7466
7468
  k(be, {
7467
7469
  modelValue: l.value,
@@ -7481,7 +7483,7 @@ const O5 = {
7481
7483
  y.isTemplate !== !0 && y.userId ? (v(), C("div", C7, [
7482
7484
  d("div", _7, [
7483
7485
  k(de, { name: "AttachFileRounded" }),
7484
- k(pe, {
7486
+ k(he, {
7485
7487
  level: 4,
7486
7488
  title: y.$t("activity.attachments.title")
7487
7489
  }, null, 8, ["title"])
@@ -7494,7 +7496,7 @@ const O5 = {
7494
7496
  }, null, 8, ["attachments", "is-editable"]),
7495
7497
  d("div", g7, [
7496
7498
  k(de, { name: "ChatOutline" }),
7497
- k(pe, {
7499
+ k(he, {
7498
7500
  level: 4,
7499
7501
  title: y.$t("activity.comments.title")
7500
7502
  }, null, 8, ["title"])
@@ -7537,7 +7539,7 @@ const y7 = {
7537
7539
  DAYS: "days",
7538
7540
  WEEKS: "weeks",
7539
7541
  MONTHS: "months"
7540
- }, he = {
7542
+ }, pe = {
7541
7543
  TEMPLATES: "templates",
7542
7544
  PHASES: "phases",
7543
7545
  MILESTONES: "milestones",
@@ -7565,7 +7567,7 @@ const R4 = {
7565
7567
  emits: ["update:rule", "close"],
7566
7568
  setup(a, { emit: e }) {
7567
7569
  const t = a, s = ct(
7568
- t.rule.itemType || he.ACTIVITIES
7570
+ t.rule.itemType || pe.ACTIVITIES
7569
7571
  ), n = b({
7570
7572
  get() {
7571
7573
  return s.value;
@@ -7577,7 +7579,7 @@ const R4 = {
7577
7579
  subItemId: void 0
7578
7580
  });
7579
7581
  }
7580
- }), o = b(() => Object.values(he)), i = b({
7582
+ }), o = b(() => Object.values(pe)), i = b({
7581
7583
  get() {
7582
7584
  return t.rule.subItemId;
7583
7585
  },
@@ -7591,9 +7593,9 @@ const R4 = {
7591
7593
  }), l = b(() => {
7592
7594
  var w;
7593
7595
  return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (w = {
7594
- [he.ACTIVITIES]: t.templateActivities,
7595
- [he.MILESTONES]: t.templateMilestones,
7596
- [he.PHASES]: t.templatePhases
7596
+ [pe.ACTIVITIES]: t.templateActivities,
7597
+ [pe.MILESTONES]: t.templateMilestones,
7598
+ [pe.PHASES]: t.templatePhases
7597
7599
  }[s.value]) == null ? void 0 : w.map((L) => ({
7598
7600
  value: L.id,
7599
7601
  label: L.name
@@ -7605,14 +7607,14 @@ const R4 = {
7605
7607
  set(M) {
7606
7608
  e("update:rule", { ...t.rule, comparator: M });
7607
7609
  }
7608
- }), u = b(() => Object.values(b7)), f = ct(t.rule.trigger), h = b({
7610
+ }), u = b(() => Object.values(b7)), f = ct(t.rule.trigger), p = b({
7609
7611
  get() {
7610
7612
  return f.value;
7611
7613
  },
7612
7614
  set(M) {
7613
7615
  e("update:rule", { ...t.rule, trigger: M });
7614
7616
  }
7615
- }), p = b(() => Object.values(w7)), g = b({
7617
+ }), h = b(() => Object.values(w7)), g = b({
7616
7618
  get() {
7617
7619
  return t.rule.duration;
7618
7620
  },
@@ -7640,9 +7642,9 @@ const R4 = {
7640
7642
  options: l.value
7641
7643
  }, null, 8, ["modelValue", "options"]),
7642
7644
  k(F(We), {
7643
- modelValue: h.value,
7644
- "onUpdate:modelValue": w[2] || (w[2] = (L) => h.value = L),
7645
- options: p.value
7645
+ modelValue: p.value,
7646
+ "onUpdate:modelValue": w[2] || (w[2] = (L) => p.value = L),
7647
+ options: h.value
7646
7648
  }, null, 8, ["modelValue", "options"]),
7647
7649
  k(F(We), {
7648
7650
  modelValue: c.value,
@@ -7695,7 +7697,7 @@ const A7 = { class: "ao-template-rules__body" }, T7 = { class: "ao-template-rule
7695
7697
  };
7696
7698
  return (n, o) => (v(), U(O1, null, {
7697
7699
  header: R(() => [
7698
- k(pe, {
7700
+ k(he, {
7699
7701
  title: n.$t("template.rules.title"),
7700
7702
  level: 2
7701
7703
  }, null, 8, ["title"])
@@ -7807,10 +7809,10 @@ const E7 = {
7807
7809
  label: A.name,
7808
7810
  value: A.id
7809
7811
  }))) || [];
7810
- }), h = b(() => {
7812
+ }), p = b(() => {
7811
7813
  var m;
7812
7814
  return ((m = n.value) == null ? void 0 : m.name) || t.templateId;
7813
- }), p = () => {
7815
+ }), h = () => {
7814
7816
  if (!n.value)
7815
7817
  return;
7816
7818
  const { name: m, rank: A } = vt(
@@ -7819,7 +7821,7 @@ const E7 = {
7819
7821
  s
7820
7822
  );
7821
7823
  o.value = !0, e("addItem", {
7822
- type: he.PHASES,
7824
+ type: pe.PHASES,
7823
7825
  templateId: t.templateId,
7824
7826
  item: {
7825
7827
  name: m,
@@ -7830,12 +7832,12 @@ const E7 = {
7830
7832
  e("updateItem", {
7831
7833
  templateId: t.templateId,
7832
7834
  id: t.templateId,
7833
- itemType: he.TEMPLATES,
7835
+ itemType: pe.TEMPLATES,
7834
7836
  data: { name: m }
7835
7837
  });
7836
7838
  }, $ = (m) => {
7837
7839
  e("removeItem", {
7838
- type: he.PHASES,
7840
+ type: pe.PHASES,
7839
7841
  templateId: t.templateId,
7840
7842
  data: {
7841
7843
  id: m
@@ -7845,7 +7847,7 @@ const E7 = {
7845
7847
  e("updateItem", {
7846
7848
  templateId: t.templateId,
7847
7849
  id: m,
7848
- itemType: he.PHASES,
7850
+ itemType: pe.PHASES,
7849
7851
  data: { name: A }
7850
7852
  });
7851
7853
  }, M = (m) => {
@@ -7859,7 +7861,7 @@ const E7 = {
7859
7861
  s
7860
7862
  );
7861
7863
  o.value = !0, e("addItem", {
7862
- type: he.MILESTONES,
7864
+ type: pe.MILESTONES,
7863
7865
  templateId: t.templateId,
7864
7866
  phaseId: m.phaseId,
7865
7867
  item: {
@@ -7870,7 +7872,7 @@ const E7 = {
7870
7872
  });
7871
7873
  }, L = (m) => {
7872
7874
  e("removeItem", {
7873
- type: he.MILESTONES,
7875
+ type: pe.MILESTONES,
7874
7876
  templateId: t.templateId,
7875
7877
  phaseId: m.phaseId,
7876
7878
  data: {
@@ -7880,7 +7882,7 @@ const E7 = {
7880
7882
  }, Z = (m) => {
7881
7883
  const { id: A, ...N } = m;
7882
7884
  e("updateItem", {
7883
- itemType: he.MILESTONES,
7885
+ itemType: pe.MILESTONES,
7884
7886
  id: A,
7885
7887
  templateId: t.templateId,
7886
7888
  data: N
@@ -7895,7 +7897,7 @@ const E7 = {
7895
7897
  s
7896
7898
  );
7897
7899
  o.value = !0, e("addItem", {
7898
- type: he.ACTIVITIES,
7900
+ type: pe.ACTIVITIES,
7899
7901
  milestoneId: A,
7900
7902
  templateId: t.templateId,
7901
7903
  item: { name: N, rank: B, milestoneId: A }
@@ -7903,7 +7905,7 @@ const E7 = {
7903
7905
  }, V = (m) => {
7904
7906
  var A, N;
7905
7907
  e("removeItem", {
7906
- type: he.ACTIVITIES,
7908
+ type: pe.ACTIVITIES,
7907
7909
  templateId: t.templateId,
7908
7910
  phaseId: (A = i.value) == null ? void 0 : A.id,
7909
7911
  milestoneId: (N = l.value) == null ? void 0 : N.id,
@@ -7914,7 +7916,7 @@ const E7 = {
7914
7916
  }, I = (m) => {
7915
7917
  const { id: A, ...N } = m;
7916
7918
  e("updateItem", {
7917
- itemType: he.ACTIVITIES,
7919
+ itemType: pe.ACTIVITIES,
7918
7920
  id: A,
7919
7921
  templateId: t.templateId,
7920
7922
  data: N
@@ -7930,7 +7932,7 @@ const E7 = {
7930
7932
  if (m.moved) {
7931
7933
  const N = Nt(m, ((A = n.value) == null ? void 0 : A.phases) ?? []);
7932
7934
  e("updateItem", {
7933
- itemType: he.PHASES,
7935
+ itemType: pe.PHASES,
7934
7936
  id: m.moved.element.id,
7935
7937
  templateId: t.templateId,
7936
7938
  data: {
@@ -7940,7 +7942,7 @@ const E7 = {
7940
7942
  }
7941
7943
  }, D = (m) => {
7942
7944
  !i.value || !l.value || !u.value || e("addItem", {
7943
- type: he.TASKS,
7945
+ type: pe.TASKS,
7944
7946
  activityId: m.activityId,
7945
7947
  milestoneId: l.value.id,
7946
7948
  phaseId: i.value.id,
@@ -7949,14 +7951,14 @@ const E7 = {
7949
7951
  });
7950
7952
  }, le = (m) => {
7951
7953
  !i.value || !l.value || !u.value || e("updateItem", {
7952
- itemType: he.TASKS,
7954
+ itemType: pe.TASKS,
7953
7955
  id: m.id,
7954
7956
  templateId: t.templateId,
7955
7957
  data: m
7956
7958
  });
7957
7959
  }, J = (m) => {
7958
7960
  !i.value || !l.value || !u.value || e("removeItem", {
7959
- type: he.TASKS,
7961
+ type: pe.TASKS,
7960
7962
  activityId: u.value.id,
7961
7963
  milestoneId: l.value.id,
7962
7964
  phaseId: i.value.id,
@@ -7976,8 +7978,8 @@ const E7 = {
7976
7978
  onGoBack: A[1] || (A[1] = (O) => m.$router.push({ name: F(Tt).TEMPLATES_LIST }))
7977
7979
  }, {
7978
7980
  primary: R(() => [
7979
- k(pe, {
7980
- title: h.value,
7981
+ k(he, {
7982
+ title: p.value,
7981
7983
  level: 2,
7982
7984
  "is-editable": !0,
7983
7985
  "onUpdate:title": A[0] || (A[0] = (O) => {
@@ -8007,7 +8009,7 @@ const E7 = {
8007
8009
  onChange: S
8008
8010
  }, {
8009
8011
  header: R(() => [
8010
- k(pe, {
8012
+ k(he, {
8011
8013
  title: m.$t("template.phases.title"),
8012
8014
  level: 3,
8013
8015
  class: "ao-list__title"
@@ -8016,7 +8018,7 @@ const E7 = {
8016
8018
  item: R(({ element: O }) => {
8017
8019
  var q;
8018
8020
  return [
8019
- k(E3, {
8021
+ k(E0, {
8020
8022
  id: O.id,
8021
8023
  name: O.name,
8022
8024
  milestones: O.milestones,
@@ -8037,7 +8039,7 @@ const E7 = {
8037
8039
  k(Xe, {
8038
8040
  "icon-name": "AddBoxOutlineRounded",
8039
8041
  label: m.$t("template.phases.add"),
8040
- onClick: p
8042
+ onClick: h
8041
8043
  }, null, 8, ["label"])
8042
8044
  ])
8043
8045
  ]),
@@ -8045,7 +8047,7 @@ const E7 = {
8045
8047
  }, 8, ["model-value"])
8046
8048
  ]),
8047
8049
  d("li", H7, [
8048
- i.value ? (v(), U(L3, {
8050
+ i.value ? (v(), U(L0, {
8049
8051
  key: 0,
8050
8052
  "template-id": m.templateId,
8051
8053
  phase: i.value,
@@ -8057,7 +8059,7 @@ const E7 = {
8057
8059
  }, null, 8, ["template-id", "phase", "milestone-id"])) : E("", !0)
8058
8060
  ]),
8059
8061
  d("li", D7, [
8060
- i.value && l.value ? (v(), U(D3, {
8062
+ i.value && l.value ? (v(), U(D0, {
8061
8063
  key: 0,
8062
8064
  "template-id": m.templateId,
8063
8065
  "phase-id": (B = i.value) == null ? void 0 : B.id,
@@ -8155,7 +8157,7 @@ const R1 = /* @__PURE__ */ x({
8155
8157
  (v(!0), C(fe, null, ye(t.value, (o) => (v(), C("div", {
8156
8158
  key: o,
8157
8159
  class: G(["ao-progress__progress"]),
8158
- style: fn({ width: `${o * 100}%` })
8160
+ style: la({ width: `${o * 100}%` })
8159
8161
  }, null, 4))), 128))
8160
8162
  ], 2));
8161
8163
  }
@@ -8185,7 +8187,7 @@ const U7 = { class: "ao-card-project-phase__header" }, Z7 = { class: "ao-card-pr
8185
8187
  }), i = b(() => (o.value || 0) / (n.value || 1));
8186
8188
  return (l, r) => (v(), U(N1, { class: "ao-card-project-phase" }, Ht({
8187
8189
  default: R(() => [
8188
- k(pe, {
8190
+ k(he, {
8189
8191
  id: l.id,
8190
8192
  class: "ao-card-project-phase__title",
8191
8193
  title: l.name || "",
@@ -8276,7 +8278,7 @@ const x7 = { class: "ao-card-project-milestone__default" }, Y7 = {
8276
8278
  }, {
8277
8279
  default: R(() => [
8278
8280
  d("div", x7, [
8279
- k(pe, {
8281
+ k(he, {
8280
8282
  id: l.id,
8281
8283
  title: l.name || "",
8282
8284
  level: 5,
@@ -8336,14 +8338,14 @@ const t9 = { class: "ao-project-phase" }, a9 = {
8336
8338
  emits: ["addMilestone", "updateMilestone", "archiveMilestone", "updatePhase", "archivePhase"],
8337
8339
  setup(a, { emit: e }) {
8338
8340
  const t = a, { t: s } = at();
8339
- ue(() => t.phase.milestones, (f, h) => {
8340
- Re(f, h);
8341
+ ue(() => t.phase.milestones, (f, p) => {
8342
+ Re(f, p);
8341
8343
  });
8342
8344
  const n = (f) => {
8343
8345
  e("updatePhase", { id: t.phase.id, name: f });
8344
8346
  }, o = b(() => t.phase.milestones), i = (f) => {
8345
- const { name: h, rank: p } = vt(o.value ?? [], "milestone", s);
8346
- e("addMilestone", { name: h, rank: p, phaseId: f });
8347
+ const { name: p, rank: h } = vt(o.value ?? [], "milestone", s);
8348
+ e("addMilestone", { name: p, rank: h, phaseId: f });
8347
8349
  }, l = (f) => {
8348
8350
  e("updateMilestone", f);
8349
8351
  }, r = (f) => {
@@ -8360,7 +8362,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
8360
8362
  )
8361
8363
  });
8362
8364
  };
8363
- return (f, h) => (v(), C("li", t9, [
8365
+ return (f, p) => (v(), C("li", t9, [
8364
8366
  f.isEditable ? (v(), C("div", a9, [
8365
8367
  k(de, {
8366
8368
  name: "DragIndicator",
@@ -8386,17 +8388,17 @@ const t9 = { class: "ao-project-phase" }, a9 = {
8386
8388
  "item-key": "id",
8387
8389
  group: "kanban"
8388
8390
  }, f.$attrs, { onChange: u }), {
8389
- item: R(({ element: p }) => [
8391
+ item: R(({ element: h }) => [
8390
8392
  k(e9, {
8391
- id: p.id,
8392
- name: p.name,
8393
- activities: p.activities,
8393
+ id: h.id,
8394
+ name: h.name,
8395
+ activities: h.activities,
8394
8396
  "is-editable": f.isEditable,
8395
8397
  "is-draggable": f.isEditable,
8396
8398
  class: "ao-project-phase__milestone",
8397
8399
  onClick: (g) => f.$router.push({
8398
- name: F(ht).milestone,
8399
- params: { phaseId: f.phase.id, milestoneId: p.id }
8400
+ name: F(pt).milestone,
8401
+ params: { phaseId: f.phase.id, milestoneId: h.id }
8400
8402
  }),
8401
8403
  onUpdateMilestone: l,
8402
8404
  onArchiveMilestone: r
@@ -8410,7 +8412,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
8410
8412
  label: f.$t("project.milestone.add"),
8411
8413
  class: "ao-project-phase__milestone-add",
8412
8414
  "icon-name": "Add",
8413
- onClick: h[0] || (h[0] = () => i(f.phase.id))
8415
+ onClick: p[0] || (p[0] = () => i(f.phase.id))
8414
8416
  }, null, 8, ["label"])) : E("", !0)
8415
8417
  ])
8416
8418
  ])
@@ -8462,9 +8464,9 @@ const r9 = { class: "ao-project__phases" }, u9 = {
8462
8464
  handle: ".ao-card__drag",
8463
8465
  onChange: l
8464
8466
  }, {
8465
- item: R(({ element: h }) => [
8467
+ item: R(({ element: p }) => [
8466
8468
  k(l9, {
8467
- phase: h,
8469
+ phase: p,
8468
8470
  "is-editable": u.isEditable,
8469
8471
  onAddMilestone: s,
8470
8472
  onUpdateMilestone: n,
@@ -8490,7 +8492,7 @@ const r9 = { class: "ao-project__phases" }, u9 = {
8490
8492
  ]));
8491
8493
  }
8492
8494
  });
8493
- const h9 = ["onSubmit"], p9 = { class: "ao-add-template-modal__form-body" }, m9 = { class: "field__row" }, C9 = { class: "ao-add-template-modal__form-footer" }, _9 = /* @__PURE__ */ x({
8495
+ const p9 = ["onSubmit"], h9 = { class: "ao-add-template-modal__form-body" }, m9 = { class: "field__row" }, C9 = { class: "ao-add-template-modal__form-footer" }, _9 = /* @__PURE__ */ x({
8494
8496
  __name: "AoAddTemplateModal",
8495
8497
  props: {
8496
8498
  projectId: {},
@@ -8508,7 +8510,7 @@ const h9 = ["onSubmit"], p9 = { class: "ao-add-template-modal__form-body" }, m9
8508
8510
  };
8509
8511
  return (l, r) => (v(), U(O1, { size: "sm" }, {
8510
8512
  header: R(() => [
8511
- k(pe, {
8513
+ k(he, {
8512
8514
  title: l.$t("project.template.add.title"),
8513
8515
  level: 3
8514
8516
  }, null, 8, ["title"])
@@ -8518,7 +8520,7 @@ const h9 = ["onSubmit"], p9 = { class: "ao-add-template-modal__form-body" }, m9
8518
8520
  class: "ao-add-template-modal__form",
8519
8521
  onSubmit: _e(i, ["prevent"])
8520
8522
  }, [
8521
- d("div", p9, [
8523
+ d("div", h9, [
8522
8524
  d("div", m9, [
8523
8525
  k(be, {
8524
8526
  value: n.value,
@@ -8537,7 +8539,7 @@ const h9 = ["onSubmit"], p9 = { class: "ao-add-template-modal__form-body" }, m9
8537
8539
  onClick: i
8538
8540
  }, null, 8, ["label"])
8539
8541
  ])
8540
- ], 40, h9)
8542
+ ], 40, p9)
8541
8543
  ]),
8542
8544
  _: 1
8543
8545
  }));
@@ -8574,9 +8576,9 @@ const g9 = { class: "ao-project-overview" }, y9 = { class: "ao-project" }, b9 =
8574
8576
  e("archiveMilestone", I);
8575
8577
  }, f = (I) => {
8576
8578
  e("addActivity", I);
8577
- }, h = (I) => {
8578
- e("update:activity", I);
8579
8579
  }, p = (I) => {
8580
+ e("update:activity", I);
8581
+ }, h = (I) => {
8580
8582
  e("archiveActivity", I);
8581
8583
  }, g = (I) => {
8582
8584
  e("addSubtask", I);
@@ -8634,10 +8636,10 @@ const g9 = { class: "ao-project-overview" }, y9 = { class: "ao-project" }, b9 =
8634
8636
  "project-name": I.project.name,
8635
8637
  users: I.users,
8636
8638
  "is-editable": I.isEditable,
8637
- onClose: z[1] || (z[1] = (ne) => I.$router.push({ name: F(ht).project })),
8639
+ onClose: z[1] || (z[1] = (ne) => I.$router.push({ name: F(pt).project })),
8638
8640
  onAddActivity: f,
8639
- onUpdateActivity: h,
8640
- onArchiveActivity: p
8641
+ onUpdateActivity: p,
8642
+ onArchiveActivity: h
8641
8643
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable"]),
8642
8644
  (v(), U(It, { to: "body" }, [
8643
8645
  k(Y, {
@@ -8649,7 +8651,7 @@ const g9 = { class: "ao-project-overview" }, y9 = { class: "ao-project" }, b9 =
8649
8651
  users: I.users,
8650
8652
  "user-id": I.userId,
8651
8653
  "is-editable": I.isEditable,
8652
- "onUpdate:activity": h,
8654
+ "onUpdate:activity": p,
8653
8655
  onAddSubtask: g,
8654
8656
  onAddFiles: T,
8655
8657
  onRemoveFile: M,
@@ -8696,12 +8698,13 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8696
8698
  }, P9 = { class: "ao-card-feed__subitem" }, B9 = { class: "ao-card-feed__footer-row" }, N9 = {
8697
8699
  key: 0,
8698
8700
  class: "ao-card-feed__progress-wrapper"
8699
- }, R9 = { class: "ao-card-feed__subitem" }, U9 = { class: "ao-card-feed__subitem" }, Va = /* @__PURE__ */ x({
8701
+ }, R9 = { class: "ao-card-feed__subitem" }, U9 = { class: "ao-card-feed__subitem" }, Ha = /* @__PURE__ */ x({
8700
8702
  __name: "AoCardFeed",
8701
8703
  props: {
8702
8704
  id: {},
8703
8705
  name: {},
8704
8706
  projectName: {},
8707
+ projectColor: {},
8705
8708
  phaseName: {},
8706
8709
  milestoneName: {},
8707
8710
  deadline: {},
@@ -8714,58 +8717,59 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8714
8717
  },
8715
8718
  emits: ["removeAssignee", "updateActivity"],
8716
8719
  setup(a, { emit: e }) {
8717
- const t = a, s = (h) => {
8720
+ const t = a, s = (p) => {
8718
8721
  e("updateActivity", {
8719
8722
  id: t.id,
8720
- name: h
8723
+ name: p
8721
8724
  });
8722
- }, n = b(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = b(() => t.assignee ? [t.assignee] : []), i = b(() => k1(t.deadline)), l = (h) => {
8723
- const { firstName: p, lastName: g } = h || {};
8724
- return `${p ?? ""}${p ? " " : ""}${g ?? ""}`;
8725
- }, r = (h) => {
8726
- e("removeAssignee", h);
8725
+ }, n = b(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = b(() => t.assignee ? [t.assignee] : []), i = b(() => k1(t.deadline)), l = (p) => {
8726
+ const { firstName: h, lastName: g } = p || {};
8727
+ return `${h ?? ""}${h ? " " : ""}${g ?? ""}`;
8728
+ }, r = (p) => {
8729
+ e("removeAssignee", p);
8727
8730
  }, c = b(() => {
8728
- var h;
8729
- return (h = t.tasks) == null ? void 0 : h.length;
8731
+ var p;
8732
+ return (p = t.tasks) == null ? void 0 : p.length;
8730
8733
  }), u = b(() => {
8731
- var h;
8732
- return (h = t.tasks) == null ? void 0 : h.filter((p) => p.isDone).length;
8734
+ var p;
8735
+ return (p = t.tasks) == null ? void 0 : p.filter((h) => h.isDone).length;
8733
8736
  }), f = b(() => (u.value || 0) / (c.value || 1));
8734
- return (h, p) => (v(), U(N1, {
8737
+ return (p, h) => (v(), U(N1, {
8735
8738
  class: "ao-card-feed",
8736
8739
  "is-clickable": !0
8737
8740
  }, {
8738
8741
  header: R(() => [
8739
8742
  d("div", $9, [
8740
- h.projectName ? (v(), U(S1, {
8743
+ p.projectName ? (v(), U(S1, {
8741
8744
  key: 0,
8742
- label: h.projectName,
8745
+ label: p.projectName,
8743
8746
  class: "ao-card-feed__project",
8744
8747
  variant: "solid",
8745
- color: "primary"
8746
- }, null, 8, ["label"])) : E("", !0),
8747
- h.important ? (v(), U(de, {
8748
+ color: p.projectColor ? void 0 : "primary",
8749
+ "raw-color": p.projectColor
8750
+ }, null, 8, ["label", "color", "raw-color"])) : E("", !0),
8751
+ p.important ? (v(), U(de, {
8748
8752
  key: 1,
8749
8753
  name: "FlagRounded",
8750
8754
  class: "ao-card-feed__important ao-card-feed__header-secondary",
8751
8755
  size: "sm"
8752
8756
  })) : E("", !0),
8753
- h.$slots.secondary ? (v(), C("div", M9, [
8754
- Q(h.$slots, "secondary")
8757
+ p.$slots.secondary ? (v(), C("div", M9, [
8758
+ Q(p.$slots, "secondary")
8755
8759
  ])) : E("", !0)
8756
8760
  ])
8757
8761
  ]),
8758
8762
  default: R(() => [
8759
8763
  d("div", k9, [
8760
8764
  n.value ? (v(), C("span", A9, W(n.value), 1)) : E("", !0),
8761
- k(pe, {
8762
- id: h.id,
8763
- title: h.name,
8765
+ k(he, {
8766
+ id: p.id,
8767
+ title: p.name,
8764
8768
  level: 5,
8765
- "is-editable": h.isEditable,
8769
+ "is-editable": p.isEditable,
8766
8770
  "onUpdate:title": s
8767
8771
  }, null, 8, ["id", "title", "is-editable"]),
8768
- h.deadline ? (v(), C("span", T9, W(i.value), 1)) : E("", !0)
8772
+ p.deadline ? (v(), C("span", T9, W(i.value), 1)) : E("", !0)
8769
8773
  ])
8770
8774
  ]),
8771
8775
  footer: R(() => [
@@ -8784,25 +8788,25 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8784
8788
  ])) : E("", !0)
8785
8789
  ], 64))), 128))
8786
8790
  ]),
8787
- h.comments || h.attachments ? (v(), C("ul", L9, [
8788
- h.comments ? (v(), C("li", V9, [
8791
+ p.comments || p.attachments ? (v(), C("ul", L9, [
8792
+ p.comments ? (v(), C("li", V9, [
8789
8793
  k(de, {
8790
8794
  name: "ChatOutline",
8791
8795
  size: "sm"
8792
8796
  }),
8793
- d("span", H9, W(h.comments), 1)
8797
+ d("span", H9, W(p.comments), 1)
8794
8798
  ])) : E("", !0),
8795
- h.attachments ? (v(), C("li", D9, [
8799
+ p.attachments ? (v(), C("li", D9, [
8796
8800
  k(de, {
8797
8801
  name: "AttachFileRounded",
8798
8802
  size: "sm"
8799
8803
  }),
8800
- d("span", P9, W(h.attachments), 1)
8804
+ d("span", P9, W(p.attachments), 1)
8801
8805
  ])) : E("", !0)
8802
8806
  ])) : E("", !0)
8803
8807
  ]),
8804
8808
  d("div", B9, [
8805
- h.tasks ? (v(), C("div", N9, [
8809
+ p.tasks ? (v(), C("div", N9, [
8806
8810
  d("div", R9, [
8807
8811
  k(de, {
8808
8812
  name: "SelectCheckBox",
@@ -8838,51 +8842,51 @@ const Z9 = { class: "ao-project-milestone" }, j9 = { class: "ao-project-mileston
8838
8842
  emits: ["close", "addActivity", "updateActivity", "archiveActivity"],
8839
8843
  setup(a, { emit: e }) {
8840
8844
  const t = a, { t: s } = at(), n = b(() => {
8841
- var h;
8842
- return (h = t.phases) == null ? void 0 : h.find((p) => p.id === t.phaseId);
8845
+ var p;
8846
+ return (p = t.phases) == null ? void 0 : p.find((h) => h.id === t.phaseId);
8843
8847
  }), o = b(() => {
8844
- var h;
8845
- return (h = t.phases) == null ? void 0 : h.flatMap((p) => p.milestones);
8848
+ var p;
8849
+ return (p = t.phases) == null ? void 0 : p.flatMap((h) => h.milestones);
8846
8850
  }), i = b(() => {
8847
- var h;
8848
- return (h = o.value) == null ? void 0 : h.find((p) => p.id === t.milestoneId);
8851
+ var p;
8852
+ return (p = o.value) == null ? void 0 : p.find((h) => h.id === t.milestoneId);
8849
8853
  }), l = b(() => {
8850
- var h;
8851
- return (h = i.value) == null ? void 0 : h.activities;
8854
+ var p;
8855
+ return (p = i.value) == null ? void 0 : p.activities;
8852
8856
  });
8853
- ue(l, (h, p) => {
8854
- Re(h, p);
8857
+ ue(l, (p, h) => {
8858
+ Re(p, h);
8855
8859
  });
8856
- const r = (h) => {
8857
- e("close", h);
8860
+ const r = (p) => {
8861
+ e("close", p);
8858
8862
  }, c = () => {
8859
- const { name: h, rank: p } = vt(l.value ?? [], "activity", s);
8863
+ const { name: p, rank: h } = vt(l.value ?? [], "activity", s);
8860
8864
  e("addActivity", {
8861
8865
  milestoneId: t.milestoneId,
8862
- name: h,
8863
- rank: p,
8866
+ name: p,
8867
+ rank: h,
8864
8868
  projectId: t.projectId
8865
8869
  });
8866
- }, u = (h) => {
8867
- e("updateActivity", h);
8868
- }, f = (h) => {
8869
- l.value && "moved" in h && e("updateActivity", {
8870
- id: h.moved.element.id,
8870
+ }, u = (p) => {
8871
+ e("updateActivity", p);
8872
+ }, f = (p) => {
8873
+ l.value && "moved" in p && e("updateActivity", {
8874
+ id: p.moved.element.id,
8871
8875
  rank: Ot(
8872
8876
  l.value,
8873
- h.moved.oldIndex,
8874
- h.moved.newIndex
8877
+ p.moved.oldIndex,
8878
+ p.moved.newIndex
8875
8879
  )
8876
8880
  });
8877
8881
  };
8878
- return (h, p) => {
8882
+ return (p, h) => {
8879
8883
  var g;
8880
8884
  return v(), C("div", Z9, [
8881
8885
  d("header", j9, [
8882
8886
  d("div", F9, [
8883
- d("span", null, W(h.$t("project.milestone.title")), 1),
8884
- k(pe, {
8885
- title: ((g = i.value) == null ? void 0 : g.name) || h.milestoneId,
8887
+ d("span", null, W(p.$t("project.milestone.title")), 1),
8888
+ k(he, {
8889
+ title: ((g = i.value) == null ? void 0 : g.name) || p.milestoneId,
8886
8890
  level: 5
8887
8891
  }, null, 8, ["title"])
8888
8892
  ]),
@@ -8896,34 +8900,34 @@ const Z9 = { class: "ao-project-milestone" }, j9 = { class: "ao-project-mileston
8896
8900
  k(F(Ge), Ve({
8897
8901
  class: "ao-project-milestone__activities",
8898
8902
  list: l.value,
8899
- disabled: !h.isEditable,
8903
+ disabled: !p.isEditable,
8900
8904
  "item-key": "id",
8901
8905
  group: "kanban"
8902
- }, h.$attrs, { onChange: f }), {
8906
+ }, p.$attrs, { onChange: f }), {
8903
8907
  item: R(({ element: $ }) => {
8904
8908
  var T, M, w, L;
8905
8909
  return [
8906
- k(Va, {
8910
+ k(Ha, {
8907
8911
  id: $.id,
8908
8912
  name: $.name || $.id,
8909
8913
  "phase-name": (T = n.value) == null ? void 0 : T.name,
8910
8914
  "milestone-name": (M = i.value) == null ? void 0 : M.name,
8911
8915
  deadline: $.deadline,
8912
8916
  important: $.important,
8913
- users: h.users,
8917
+ users: p.users,
8914
8918
  assignee: $.assignee,
8915
8919
  comments: (w = $.comments) == null ? void 0 : w.length,
8916
8920
  attachments: (L = $.attachments) == null ? void 0 : L.length,
8917
8921
  tasks: $.tasks,
8918
- "is-editable": h.isEditable,
8919
- onClick: (Z) => h.$router.push({
8920
- name: F(ht).activity,
8921
- params: { milestoneId: h.milestoneId, activityId: $.id }
8922
+ "is-editable": p.isEditable,
8923
+ onClick: (Z) => p.$router.push({
8924
+ name: F(pt).activity,
8925
+ params: { milestoneId: p.milestoneId, activityId: $.id }
8922
8926
  }),
8923
8927
  onUpdateActivity: u,
8924
8928
  onRemoveAssignee: () => u({ id: $.id, assigneeId: null })
8925
8929
  }, Ht({ _: 2 }, [
8926
- h.isEditable ? {
8930
+ p.isEditable ? {
8927
8931
  name: "secondary",
8928
8932
  fn: R(() => [
8929
8933
  k(ce, {
@@ -8933,8 +8937,8 @@ const Z9 = { class: "ao-project-milestone" }, j9 = { class: "ao-project-mileston
8933
8937
  size: "sm",
8934
8938
  "icon-position": "start",
8935
8939
  corners: "round",
8936
- label: h.$t("archive"),
8937
- onClick: _e(() => h.$emit("archiveActivity", { id: $.id }), ["stop"])
8940
+ label: p.$t("archive"),
8941
+ onClick: _e(() => p.$emit("archiveActivity", { id: $.id }), ["stop"])
8938
8942
  }, null, 8, ["label", "onClick"])
8939
8943
  ]),
8940
8944
  key: "0"
@@ -8944,10 +8948,10 @@ const Z9 = { class: "ao-project-milestone" }, j9 = { class: "ao-project-mileston
8944
8948
  }),
8945
8949
  _: 1
8946
8950
  }, 16, ["list", "disabled"]),
8947
- h.isEditable ? (v(), C("div", W9, [
8951
+ p.isEditable ? (v(), C("div", W9, [
8948
8952
  k(Xe, {
8949
8953
  "icon-name": "Add",
8950
- label: h.$t("project.activity.add"),
8954
+ label: p.$t("project.activity.add"),
8951
8955
  onClick: c
8952
8956
  }, null, 8, ["label"])
8953
8957
  ])) : E("", !0)
@@ -8975,55 +8979,55 @@ const z9 = /* @__PURE__ */ x({
8975
8979
  emits: ["update:activity", "addSubtask", "addComment", "updateComment", "removeComment"],
8976
8980
  setup(a, { emit: e }) {
8977
8981
  const t = a, s = b(() => {
8978
- var p;
8979
- return (p = t.phases) == null ? void 0 : p.find((g) => g.id === t.phaseId);
8982
+ var h;
8983
+ return (h = t.phases) == null ? void 0 : h.find((g) => g.id === t.phaseId);
8980
8984
  }), n = b(() => {
8981
- var p;
8982
- return (p = t.phases) == null ? void 0 : p.flatMap((g) => g.milestones);
8985
+ var h;
8986
+ return (h = t.phases) == null ? void 0 : h.flatMap((g) => g.milestones);
8983
8987
  }), o = b(() => {
8984
- var p;
8985
- return (p = n.value) == null ? void 0 : p.find((g) => g.id === t.milestoneId);
8988
+ var h;
8989
+ return (h = n.value) == null ? void 0 : h.find((g) => g.id === t.milestoneId);
8986
8990
  }), i = b(() => {
8987
- var p;
8988
- return (p = t.activities) == null ? void 0 : p.find((g) => g.id === t.activityId);
8991
+ var h;
8992
+ return (h = t.activities) == null ? void 0 : h.find((g) => g.id === t.activityId);
8989
8993
  }), l = b(() => {
8990
- var p;
8991
- return ((p = t.activityTypes) == null ? void 0 : p.map((g) => ({
8994
+ var h;
8995
+ return ((h = t.activityTypes) == null ? void 0 : h.map((g) => ({
8992
8996
  value: g,
8993
8997
  label: g
8994
8998
  }))) || [];
8995
- }), r = (p) => {
8996
- e("update:activity", p);
8997
- }, c = (p) => {
8998
- e("addSubtask", p);
8999
- }, u = (p) => {
9000
- e("addComment", p);
9001
- }, f = (p) => {
9002
- e("updateComment", p);
9003
- }, h = (p) => {
9004
- e("removeComment", p);
8999
+ }), r = (h) => {
9000
+ e("update:activity", h);
9001
+ }, c = (h) => {
9002
+ e("addSubtask", h);
9003
+ }, u = (h) => {
9004
+ e("addComment", h);
9005
+ }, f = (h) => {
9006
+ e("updateComment", h);
9007
+ }, p = (h) => {
9008
+ e("removeComment", h);
9005
9009
  };
9006
- return (p, g) => {
9010
+ return (h, g) => {
9007
9011
  var $, T;
9008
9012
  return i.value ? (v(), U(B1, {
9009
9013
  key: 0,
9010
9014
  activity: i.value,
9011
9015
  "activity-types": l.value,
9012
- "milestone-id": p.milestoneId,
9013
- "template-activities": p.activities,
9016
+ "milestone-id": h.milestoneId,
9017
+ "template-activities": h.activities,
9014
9018
  "is-template": !1,
9015
- users: p.users,
9016
- "user-id": p.userId,
9017
- "is-task-checkable": p.isTaskCheckable,
9018
- statuses: p.statuses,
9019
+ users: h.users,
9020
+ "user-id": h.userId,
9021
+ "is-task-checkable": h.isTaskCheckable,
9022
+ statuses: h.statuses,
9019
9023
  breadcrumbs: `${($ = s.value) == null ? void 0 : $.name} / ${(T = o.value) == null ? void 0 : T.name}`,
9020
- "is-editable": p.isEditable,
9021
- onClose: p.$router.back,
9024
+ "is-editable": h.isEditable,
9025
+ onClose: h.$router.back,
9022
9026
  "onUpdate:activity": r,
9023
9027
  onAddSubtask: c,
9024
9028
  onAddComment: u,
9025
9029
  onUpdateComment: f,
9026
- onRemoveComment: h
9030
+ onRemoveComment: p
9027
9031
  }, null, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : E("", !0);
9028
9032
  };
9029
9033
  }
@@ -9050,7 +9054,7 @@ const z9 = /* @__PURE__ */ x({
9050
9054
  }
9051
9055
  ]
9052
9056
  }
9053
- ], ht = {
9057
+ ], pt = {
9054
9058
  project: "AoProject",
9055
9059
  milestone: "AoMilestone",
9056
9060
  activity: "AoActivity"
@@ -9061,19 +9065,19 @@ const z9 = /* @__PURE__ */ x({
9061
9065
  children: [
9062
9066
  {
9063
9067
  path: "",
9064
- name: ht.project,
9068
+ name: pt.project,
9065
9069
  component: w9,
9066
9070
  props: !0,
9067
9071
  children: [
9068
9072
  {
9069
9073
  path: ":phaseId/:milestoneId",
9070
- name: ht.milestone,
9074
+ name: pt.milestone,
9071
9075
  component: oa,
9072
9076
  props: !0
9073
9077
  },
9074
9078
  {
9075
9079
  path: ":phaseId/:milestoneId/:activityId",
9076
- name: ht.activity,
9080
+ name: pt.activity,
9077
9081
  props: { default: !0, modal: !0 },
9078
9082
  components: {
9079
9083
  default: oa,
@@ -9096,15 +9100,15 @@ const z9 = /* @__PURE__ */ x({
9096
9100
  Re(l, r);
9097
9101
  });
9098
9102
  const n = () => {
9099
- var f, h;
9100
- const l = (f = t.templates) == null ? void 0 : f.at(-1), r = l ? Ae.LexoRank.parse(l.rank).genNext() : Ae.LexoRank.middle(), c = ((h = t.templates) == null ? void 0 : h.length) ?? 0, u = {
9103
+ var f, p;
9104
+ const l = (f = t.templates) == null ? void 0 : f.at(-1), r = l ? Ae.LexoRank.parse(l.rank).genNext() : Ae.LexoRank.middle(), c = ((p = t.templates) == null ? void 0 : p.length) ?? 0, u = {
9101
9105
  name: s("template.defaultName.template", { idx: c + 1 }),
9102
9106
  rank: r.format()
9103
9107
  };
9104
9108
  e("addTemplate", u);
9105
9109
  }, o = (l, r) => {
9106
9110
  e("updateItem", {
9107
- itemType: he.TEMPLATES,
9111
+ itemType: pe.TEMPLATES,
9108
9112
  id: l,
9109
9113
  templateId: l,
9110
9114
  data: {
@@ -9115,7 +9119,7 @@ const z9 = /* @__PURE__ */ x({
9115
9119
  if (l.moved) {
9116
9120
  const r = Nt(l, t.templates ?? []);
9117
9121
  e("updateItem", {
9118
- itemType: he.TEMPLATES,
9122
+ itemType: pe.TEMPLATES,
9119
9123
  id: l.moved.element.id,
9120
9124
  templateId: l.moved.element.id,
9121
9125
  data: {
@@ -9147,7 +9151,7 @@ const z9 = /* @__PURE__ */ x({
9147
9151
  item: R(({ element: c }) => {
9148
9152
  var u;
9149
9153
  return [
9150
- k(g3, {
9154
+ k(g0, {
9151
9155
  id: c.id,
9152
9156
  title: c.name,
9153
9157
  phases: c.phases,
@@ -9176,7 +9180,7 @@ const K9 = { class: "ao-col-header" }, G9 = /* @__PURE__ */ x({
9176
9180
  },
9177
9181
  setup(a) {
9178
9182
  return (e, t) => (v(), C("header", K9, [
9179
- k(pe, {
9183
+ k(he, {
9180
9184
  title: e.title,
9181
9185
  class: "ao-col-header__title",
9182
9186
  level: 4
@@ -9192,7 +9196,7 @@ const K9 = { class: "ao-col-header" }, G9 = /* @__PURE__ */ x({
9192
9196
  }
9193
9197
  });
9194
9198
  function X9(a) {
9195
- return hn() ? (pn(a), !0) : !1;
9199
+ return pn() ? (hn(a), !0) : !1;
9196
9200
  }
9197
9201
  function e1(a) {
9198
9202
  return typeof a == "function" ? a() : F(a);
@@ -9257,7 +9261,7 @@ function o4(a, e, t = {}) {
9257
9261
  return (Array.isArray(g) ? g : [g]).map(M1).filter(J9);
9258
9262
  });
9259
9263
  let u = St;
9260
- const f = X(l), h = r.value ? ue(
9264
+ const f = X(l), p = r.value ? ue(
9261
9265
  () => [c.value, M1(s), f.value],
9262
9266
  ([g, $]) => {
9263
9267
  if (u(), !f.value || !g.length)
@@ -9275,10 +9279,10 @@ function o4(a, e, t = {}) {
9275
9279
  };
9276
9280
  },
9277
9281
  { immediate: l, flush: "post" }
9278
- ) : St, p = () => {
9279
- u(), h(), f.value = !1;
9282
+ ) : St, h = () => {
9283
+ u(), p(), f.value = !1;
9280
9284
  };
9281
- return X9(p), {
9285
+ return X9(h), {
9282
9286
  isSupported: r,
9283
9287
  isActive: f,
9284
9288
  pause() {
@@ -9287,7 +9291,7 @@ function o4(a, e, t = {}) {
9287
9291
  resume() {
9288
9292
  f.value = !0;
9289
9293
  },
9290
- stop: p
9294
+ stop: h
9291
9295
  };
9292
9296
  }
9293
9297
  const l4 = {
@@ -9307,7 +9311,7 @@ const l4 = {
9307
9311
  }, v4 = {
9308
9312
  key: 1,
9309
9313
  class: "ao-list-kanban__footer"
9310
- }, h4 = /* @__PURE__ */ x({
9314
+ }, p4 = /* @__PURE__ */ x({
9311
9315
  __name: "AoListKanban",
9312
9316
  props: {
9313
9317
  list: {},
@@ -9366,22 +9370,23 @@ const l4 = {
9366
9370
  group: "kanban"
9367
9371
  }, r.$attrs, { onChange: l }), {
9368
9372
  item: R(({ element: u }) => {
9369
- var f, h, p, g, $, T, M;
9373
+ var f, p, h, g, $, T, M, w;
9370
9374
  return [
9371
- k(Va, {
9375
+ k(Ha, {
9372
9376
  id: u.id,
9373
9377
  name: u.name,
9374
9378
  "project-name": (f = u.project) == null ? void 0 : f.name,
9375
- "phase-name": (p = (h = u.milestone) == null ? void 0 : h.phase) == null ? void 0 : p.name,
9376
- "milestone-name": (g = u.milestone) == null ? void 0 : g.name,
9379
+ "project-color": (p = u.project) == null ? void 0 : p.color,
9380
+ "phase-name": (g = (h = u.milestone) == null ? void 0 : h.phase) == null ? void 0 : g.name,
9381
+ "milestone-name": ($ = u.milestone) == null ? void 0 : $.name,
9377
9382
  deadline: u.deadline,
9378
- rules: (($ = u.rules) == null ? void 0 : $.length) || 0,
9383
+ rules: ((T = u.rules) == null ? void 0 : T.length) || 0,
9379
9384
  tasks: u.tasks,
9380
9385
  description: u.description,
9381
9386
  important: u.important,
9382
9387
  type: u.type,
9383
- comments: (T = u.comments) == null ? void 0 : T.length,
9384
- attachments: (M = u.attachments) == null ? void 0 : M.length,
9388
+ comments: (M = u.comments) == null ? void 0 : M.length,
9389
+ attachments: (w = u.attachments) == null ? void 0 : w.length,
9385
9390
  users: r.users,
9386
9391
  assignee: u.assignee,
9387
9392
  onClick: () => o(u.id),
@@ -9401,7 +9406,7 @@ const l4 = {
9401
9406
  }, null, 8, ["label", "onClick"])
9402
9407
  ]),
9403
9408
  _: 2
9404
- }, 1032, ["id", "name", "project-name", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "onClick", "onRemoveAssignee"])
9409
+ }, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "onClick", "onRemoveAssignee"])
9405
9410
  ];
9406
9411
  }),
9407
9412
  footer: R(() => [
@@ -9430,7 +9435,7 @@ const l4 = {
9430
9435
  ]));
9431
9436
  }
9432
9437
  });
9433
- const p4 = { class: "ao-field ao-search-field" }, m4 = ["value", "placeholder", "onKeypress"], C4 = /* @__PURE__ */ x({
9438
+ const h4 = { class: "ao-field ao-search-field" }, m4 = ["value", "placeholder", "onKeypress"], C4 = /* @__PURE__ */ x({
9434
9439
  __name: "AoSearchField",
9435
9440
  props: {
9436
9441
  modelValue: {},
@@ -9445,7 +9450,7 @@ const p4 = { class: "ao-field ao-search-field" }, m4 = ["value", "placeholder",
9445
9450
  }, n = a4(s, t.delay), o = (i) => {
9446
9451
  e("clear", i);
9447
9452
  };
9448
- return (i, l) => (v(), C("div", p4, [
9453
+ return (i, l) => (v(), C("div", h4, [
9449
9454
  d("input", {
9450
9455
  value: i.modelValue,
9451
9456
  type: "text",
@@ -9541,9 +9546,9 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9541
9546
  statusId: m.id
9542
9547
  };
9543
9548
  t.filters.assigneeId.length > 0 && (oe.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (oe.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (oe.typeId = t.filters.typeId[0]), c.value = !0, e("addActivity", oe);
9544
- }, h = (m, A) => {
9549
+ }, p = (m, A) => {
9545
9550
  c.value = !1, e("update:filters", { ...t.filters, [m]: A });
9546
- }, p = b(() => t.projects.map((m) => ({
9551
+ }, h = b(() => t.projects.map((m) => ({
9547
9552
  value: m.id,
9548
9553
  label: m.name
9549
9554
  }))), g = b(() => t.activityTypes.map((m) => ({
@@ -9633,12 +9638,12 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9633
9638
  k(be, {
9634
9639
  "model-value": m.filters[F(ut).project],
9635
9640
  mode: "tags",
9636
- options: p.value,
9641
+ options: h.value,
9637
9642
  "close-on-select": !1,
9638
9643
  searchable: !0,
9639
9644
  class: "ao-feed__filter ao-feed__filter__projects",
9640
9645
  placeholder: m.$t("feed.filters.project.placeholder"),
9641
- "onUpdate:modelValue": A[0] || (A[0] = (B) => h(F(ut).project, B))
9646
+ "onUpdate:modelValue": A[0] || (A[0] = (B) => p(F(ut).project, B))
9642
9647
  }, null, 8, ["model-value", "options", "placeholder"]),
9643
9648
  k(be, {
9644
9649
  "model-value": m.filters[F(ut).type],
@@ -9648,7 +9653,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9648
9653
  searchable: !0,
9649
9654
  class: "ao-feed__filter ao-feed__filter__types",
9650
9655
  placeholder: m.$t("feed.filters.activityType.placeholder"),
9651
- "onUpdate:modelValue": A[1] || (A[1] = (B) => h(F(ut).type, B))
9656
+ "onUpdate:modelValue": A[1] || (A[1] = (B) => p(F(ut).type, B))
9652
9657
  }, null, 8, ["model-value", "options", "placeholder"]),
9653
9658
  k(be, {
9654
9659
  "model-value": m.filters[F(ut).assignee],
@@ -9658,7 +9663,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9658
9663
  searchable: !0,
9659
9664
  class: "ao-feed__filter ao-feed__filter__assignees",
9660
9665
  placeholder: m.$t("feed.filters.assignee.placeholder"),
9661
- "onUpdate:modelValue": A[2] || (A[2] = (B) => h(F(ut).assignee, B))
9666
+ "onUpdate:modelValue": A[2] || (A[2] = (B) => p(F(ut).assignee, B))
9662
9667
  }, {
9663
9668
  tag: R(({ option: B, handleTagRemove: oe }) => [
9664
9669
  k(_t, {
@@ -9686,7 +9691,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9686
9691
  _: 1
9687
9692
  }),
9688
9693
  d("div", $4, [
9689
- (v(!0), C(fe, null, ye(m.statuses, (B) => (v(), U(h4, {
9694
+ (v(!0), C(fe, null, ye(m.statuses, (B) => (v(), U(p4, {
9690
9695
  key: B.id,
9691
9696
  status: B,
9692
9697
  list: r.value[B.id],
@@ -9732,6 +9737,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9732
9737
  k(be, {
9733
9738
  options: le.value,
9734
9739
  value: (B = F(i).project) == null ? void 0 : B.id,
9740
+ searchable: !0,
9735
9741
  onChange: J
9736
9742
  }, null, 8, ["options", "value"])
9737
9743
  ])) : E("", !0),
@@ -9787,10 +9793,10 @@ export {
9787
9793
  U4 as getTemplateRoutes,
9788
9794
  R4 as listUpdateTypes,
9789
9795
  y7 as milestoneStatus,
9790
- ht as projectOverviewRoutes,
9796
+ pt as projectOverviewRoutes,
9791
9797
  b7 as ruleComparators,
9792
9798
  $7 as ruleDurationUnits,
9793
9799
  w7 as ruleTriggerTypes,
9794
- he as templateItemType,
9800
+ pe as templateItemType,
9795
9801
  Tt as templateRouteNames
9796
9802
  };