@26lights/orcha 0.20.2 → 0.20.3

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,5 +1,5 @@
1
- import { defineComponent as K, openBlock as c, createBlock as R, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as ls, popScopeId as rs, createStaticVNode as us, computed as b, resolveDynamicComponent as at, normalizeClass as x, renderSlot as X, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as ds, withCtx as U, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as cs, onUnmounted as da, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as fs, guardReactiveProps as vs, onUpdated as ps, withDirectives as et, vModelText as Et, vModelCheckbox as x1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
2
- import { RouterView as ys } from "vue-router";
1
+ import { defineComponent as K, openBlock as c, createBlock as R, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as ls, popScopeId as rs, createStaticVNode as us, computed as y, resolveDynamicComponent as at, normalizeClass as x, renderSlot as Q, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as ds, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as be, onMounted as Dt, onBeforeUnmount as cs, onUnmounted as da, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as fs, guardReactiveProps as vs, onUpdated as ps, withDirectives as et, vModelText as Et, vModelCheckbox as x1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
2
+ import { RouterView as bs } from "vue-router";
3
3
  import Xe from "vuedraggable";
4
4
  const o8 = /* @__PURE__ */ K({
5
5
  __name: "AoTemplates",
@@ -7,14 +7,14 @@ const o8 = /* @__PURE__ */ K({
7
7
  templates: {}
8
8
  },
9
9
  setup(a) {
10
- return (e, t) => (c(), R(q(ys), Ee({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, t) => (c(), R(q(bs), Ee({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), P = (a, e) => {
13
13
  const t = a.__vccOpts || a;
14
14
  for (const [n, s] of e)
15
15
  t[n] = s;
16
16
  return t;
17
- }, bs = {}, ws = {
17
+ }, ys = {}, ws = {
18
18
  width: "24",
19
19
  height: "24",
20
20
  viewBox: "0 0 24 24",
@@ -29,7 +29,7 @@ const o8 = /* @__PURE__ */ K({
29
29
  function ks(a, e) {
30
30
  return c(), m("svg", ws, Ms);
31
31
  }
32
- const As = /* @__PURE__ */ P(bs, [["render", ks]]), Ts = {}, Ss = {
32
+ const As = /* @__PURE__ */ P(ys, [["render", ks]]), Ts = {}, Ss = {
33
33
  width: "24",
34
34
  height: "24",
35
35
  viewBox: "0 0 24 24",
@@ -146,10 +146,10 @@ const hn = /* @__PURE__ */ P(dn, [["render", pn]]), mn = {}, Cn = {
146
146
  }, null, -1), gn = [
147
147
  _n
148
148
  ];
149
- function yn(a, e) {
149
+ function bn(a, e) {
150
150
  return c(), m("svg", Cn, gn);
151
151
  }
152
- const bn = /* @__PURE__ */ P(mn, [["render", yn]]), wn = {}, $n = {
152
+ const yn = /* @__PURE__ */ P(mn, [["render", bn]]), wn = {}, $n = {
153
153
  width: "24",
154
154
  height: "24",
155
155
  viewBox: "0 0 24 24",
@@ -281,10 +281,10 @@ const hi = /* @__PURE__ */ P(di, [["render", pi]]), mi = {}, Ci = {
281
281
  }, null, -1), gi = [
282
282
  _i
283
283
  ];
284
- function yi(a, e) {
284
+ function bi(a, e) {
285
285
  return c(), m("svg", Ci, gi);
286
286
  }
287
- const bi = /* @__PURE__ */ P(mi, [["render", yi]]), wi = {}, $i = {
287
+ const yi = /* @__PURE__ */ P(mi, [["render", bi]]), wi = {}, $i = {
288
288
  width: "24",
289
289
  height: "24",
290
290
  viewBox: "0 0 24 24",
@@ -413,13 +413,13 @@ const mo = /* @__PURE__ */ P(co, [["render", ho]]), Co = {}, _o = {
413
413
  }, go = /* @__PURE__ */ f("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
- }, null, -1), yo = [
416
+ }, null, -1), bo = [
417
417
  go
418
418
  ];
419
- function bo(a, e) {
420
- return c(), m("svg", _o, yo);
419
+ function yo(a, e) {
420
+ return c(), m("svg", _o, bo);
421
421
  }
422
- const wo = /* @__PURE__ */ P(Co, [["render", bo]]), $o = {}, Mo = {
422
+ const wo = /* @__PURE__ */ P(Co, [["render", yo]]), $o = {}, Mo = {
423
423
  width: "24",
424
424
  height: "24",
425
425
  viewBox: "0 0 24 24",
@@ -548,13 +548,13 @@ const ml = /* @__PURE__ */ P(cl, [["render", hl]]), Cl = {}, _l = {
548
548
  }, gl = /* @__PURE__ */ f("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
- }, null, -1), yl = [
551
+ }, null, -1), bl = [
552
552
  gl
553
553
  ];
554
- function bl(a, e) {
555
- return c(), m("svg", _l, yl);
554
+ function yl(a, e) {
555
+ return c(), m("svg", _l, bl);
556
556
  }
557
- const wl = /* @__PURE__ */ P(Cl, [["render", bl]]), $l = {}, Ml = {
557
+ const wl = /* @__PURE__ */ P(Cl, [["render", yl]]), $l = {}, Ml = {
558
558
  width: "24",
559
559
  height: "24",
560
560
  viewBox: "0 0 24 24",
@@ -687,20 +687,20 @@ const fr = /* @__PURE__ */ P(lr, [["render", cr]]), vr = {}, pr = {
687
687
  function Cr(a, e) {
688
688
  return c(), m("svg", pr, mr);
689
689
  }
690
- const _r = /* @__PURE__ */ P(vr, [["render", Cr]]), gr = {}, yr = {
690
+ const _r = /* @__PURE__ */ P(vr, [["render", Cr]]), gr = {}, br = {
691
691
  width: "24",
692
692
  height: "24",
693
693
  viewBox: "0 0 24 24",
694
694
  fill: "none",
695
695
  xmlns: "http://www.w3.org/2000/svg"
696
- }, br = /* @__PURE__ */ f("path", {
696
+ }, yr = /* @__PURE__ */ f("path", {
697
697
  d: "M6 14C5.45 14 4.979 13.804 4.587 13.412C4.195 13.02 3.99934 12.5493 4 12C4 11.45 4.196 10.979 4.588 10.587C4.98 10.195 5.45067 9.99934 6 10C6.55 10 7.021 10.196 7.413 10.588C7.805 10.98 8.00067 11.4507 8 12C8 12.55 7.804 13.021 7.412 13.413C7.02 13.805 6.54934 14.0007 6 14ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM18 14C17.45 14 16.979 13.804 16.587 13.412C16.195 13.02 15.9993 12.5493 16 12C16 11.45 16.196 10.979 16.588 10.587C16.98 10.195 17.4507 9.99934 18 10C18.55 10 19.021 10.196 19.413 10.588C19.805 10.98 20.0007 11.4507 20 12C20 12.55 19.804 13.021 19.412 13.413C19.02 13.805 18.5493 14.0007 18 14Z",
698
698
  fill: "black"
699
699
  }, null, -1), wr = [
700
- br
700
+ yr
701
701
  ];
702
702
  function $r(a, e) {
703
- return c(), m("svg", yr, wr);
703
+ return c(), m("svg", br, wr);
704
704
  }
705
705
  const Mr = /* @__PURE__ */ P(gr, [["render", $r]]), kr = {}, Ar = {
706
706
  width: "24",
@@ -822,20 +822,20 @@ const f2 = /* @__PURE__ */ P(l2, [["render", c2]]), v2 = {}, p2 = {
822
822
  function C2(a, e) {
823
823
  return c(), m("svg", p2, m2);
824
824
  }
825
- const _2 = /* @__PURE__ */ P(v2, [["render", C2]]), g2 = {}, y2 = {
825
+ const _2 = /* @__PURE__ */ P(v2, [["render", C2]]), g2 = {}, b2 = {
826
826
  width: "24",
827
827
  height: "24",
828
828
  viewBox: "0 0 24 24",
829
829
  fill: "none",
830
830
  xmlns: "http://www.w3.org/2000/svg"
831
- }, b2 = /* @__PURE__ */ f("path", {
831
+ }, y2 = /* @__PURE__ */ f("path", {
832
832
  d: "M6 13C5.71667 13 5.479 12.904 5.287 12.712C5.095 12.52 4.99934 12.2827 5 12C5 11.7167 5.096 11.479 5.288 11.287C5.48 11.095 5.71734 10.9993 6 11H18C18.2833 11 18.521 11.096 18.713 11.288C18.905 11.48 19.0007 11.7173 19 12C19 12.2833 18.904 12.521 18.712 12.713C18.52 12.905 18.2827 13.0007 18 13H6Z",
833
833
  fill: "black"
834
834
  }, null, -1), w2 = [
835
- b2
835
+ y2
836
836
  ];
837
837
  function $2(a, e) {
838
- return c(), m("svg", y2, w2);
838
+ return c(), m("svg", b2, w2);
839
839
  }
840
840
  const M2 = /* @__PURE__ */ P(g2, [["render", $2]]), k2 = {}, A2 = {
841
841
  width: "26",
@@ -954,20 +954,20 @@ const fu = /* @__PURE__ */ P(lu, [["render", cu]]), vu = {}, pu = {
954
954
  function Cu(a, e) {
955
955
  return c(), m("svg", pu, mu);
956
956
  }
957
- const _u = /* @__PURE__ */ P(vu, [["render", Cu]]), gu = {}, yu = {
957
+ const _u = /* @__PURE__ */ P(vu, [["render", Cu]]), gu = {}, bu = {
958
958
  width: "24",
959
959
  height: "24",
960
960
  viewBox: "0 0 24 24",
961
961
  fill: "none",
962
962
  xmlns: "http://www.w3.org/2000/svg"
963
- }, bu = /* @__PURE__ */ f("path", {
963
+ }, yu = /* @__PURE__ */ f("path", {
964
964
  d: "M9 3V1H15V3H9ZM11 14H13V8H11V14ZM12 22C10.7667 22 9.604 21.7623 8.512 21.287C7.42 20.8117 6.466 20.166 5.65 19.35C4.83333 18.5333 4.18733 17.579 3.712 16.487C3.23667 15.395 2.99933 14.2327 3 13C3 11.7667 3.23767 10.604 3.713 9.512C4.18833 8.42 4.834 7.466 5.65 6.65C6.46667 5.83333 7.421 5.18733 8.513 4.712C9.605 4.23667 10.7673 3.99933 12 4C13.0333 4 14.025 4.16667 14.975 4.5C15.925 4.83333 16.8167 5.31667 17.65 5.95L19.05 4.55L20.45 5.95L19.05 7.35C19.6833 8.18333 20.1667 9.075 20.5 10.025C20.8333 10.975 21 11.9667 21 13C21 14.2333 20.7623 15.396 20.287 16.488C19.8117 17.58 19.166 18.534 18.35 19.35C17.5333 20.1667 16.579 20.8127 15.487 21.288C14.395 21.7633 13.2327 22.0007 12 22ZM12 20C13.9333 20 15.5833 19.3167 16.95 17.95C18.3167 16.5833 19 14.9333 19 13C19 11.0667 18.3167 9.41667 16.95 8.05C15.5833 6.68333 13.9333 6 12 6C10.0667 6 8.41667 6.68333 7.05 8.05C5.68333 9.41667 5 11.0667 5 13C5 14.9333 5.68333 16.5833 7.05 17.95C8.41667 19.3167 10.0667 20 12 20Z",
965
965
  fill: "black"
966
966
  }, null, -1), wu = [
967
- bu
967
+ yu
968
968
  ];
969
969
  function $u(a, e) {
970
- return c(), m("svg", yu, wu);
970
+ return c(), m("svg", bu, wu);
971
971
  }
972
972
  const Mu = /* @__PURE__ */ P(gu, [["render", $u]]), ku = {}, Au = {
973
973
  width: "24",
@@ -1069,7 +1069,7 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1069
1069
  AddBoxOutlineRounded: an,
1070
1070
  ArchiveOutlineRounded: un,
1071
1071
  ArrowBackRounded: hn,
1072
- ArrowDropDownRounded: bn,
1072
+ ArrowDropDownRounded: yn,
1073
1073
  ArrowForwardRounded: Tn,
1074
1074
  AssignmentOutlineRounded: Vn,
1075
1075
  AttachFileRounded: Rn,
@@ -1078,7 +1078,7 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1078
1078
  ChatOutline: si,
1079
1079
  CheckBoxOutlineBlank: ui,
1080
1080
  CheckBoxOutlineBlankSharp: hi,
1081
- CheckBoxOutlineRounded: bi,
1081
+ CheckBoxOutlineRounded: yi,
1082
1082
  CheckSmallRounded: Ti,
1083
1083
  ChecklistRounded: Vi,
1084
1084
  ChevronLeft: Ri,
@@ -1153,7 +1153,7 @@ const od = /* @__PURE__ */ P(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1153
1153
  size: { default: a1.MD }
1154
1154
  },
1155
1155
  setup(a) {
1156
- const e = a, t = b(() => ld[e.name]);
1156
+ const e = a, t = y(() => ld[e.name]);
1157
1157
  return (n, s) => (c(), R(at(t.value), {
1158
1158
  class: x(["ao-icon", `ao-icon--${n.size}`])
1159
1159
  }, null, 8, ["class"]));
@@ -1177,7 +1177,7 @@ const dd = ["type"], cd = {
1177
1177
  corners: { default: () => ca.ROUNDED }
1178
1178
  },
1179
1179
  setup(a) {
1180
- const e = a, t = b(() => e.size), n = b(() => e.isLoading ? "Loading" : e.iconName);
1180
+ const e = a, t = y(() => e.size), n = y(() => e.isLoading ? "Loading" : e.iconName);
1181
1181
  return (s, o) => (c(), m("button", {
1182
1182
  type: s.type,
1183
1183
  class: x([
@@ -1191,7 +1191,7 @@ const dd = ["type"], cd = {
1191
1191
  s.$attrs.disabled ? "ao-button--is-disabled" : ""
1192
1192
  ])
1193
1193
  }, [
1194
- X(s.$slots, "default", {}, () => [
1194
+ Q(s.$slots, "default", {}, () => [
1195
1195
  s.label ? (c(), m("span", cd, Z(s.label), 1)) : k("", !0)
1196
1196
  ]),
1197
1197
  n.value ? (c(), R(ce, {
@@ -1204,7 +1204,7 @@ const dd = ["type"], cd = {
1204
1204
  }
1205
1205
  });
1206
1206
  function fa(a) {
1207
- const e = J(!1), t = J(""), n = b(() => "value" in a.value ? "value" : "innerHTML"), s = () => {
1207
+ const e = J(!1), t = J(""), n = y(() => "value" in a.value ? "value" : "innerHTML"), s = () => {
1208
1208
  e.value = !e.value;
1209
1209
  }, o = (r) => {
1210
1210
  e.value = r;
@@ -1244,7 +1244,7 @@ const Ce = /* @__PURE__ */ K({
1244
1244
  },
1245
1245
  emits: ["update:title", "toggle-is-editing"],
1246
1246
  setup(a, { emit: e }) {
1247
- const t = a, n = J(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: l } = fa(n), r = b(() => s.value ? "input" : t.tag || `h${t.level}`), d = b(() => t.isEditable ? s.value ? {
1247
+ const t = a, n = J(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: l } = fa(n), r = y(() => s.value ? "input" : t.tag || `h${t.level}`), d = y(() => t.isEditable ? s.value ? {
1248
1248
  change: u,
1249
1249
  click: ($) => $.stopPropagation(),
1250
1250
  blur: p
@@ -1252,8 +1252,8 @@ const Ce = /* @__PURE__ */ K({
1252
1252
  click: w,
1253
1253
  focus: w
1254
1254
  } : {}), u = i(($, A) => {
1255
- const y = A.target.value;
1256
- e("update:title", y);
1255
+ const b = A.target.value;
1256
+ e("update:title", b);
1257
1257
  }), v = l(), p = async () => {
1258
1258
  s.value && o(!1);
1259
1259
  }, C = () => {
@@ -1287,7 +1287,7 @@ const Ce = /* @__PURE__ */ K({
1287
1287
  }, ds(d.value), {
1288
1288
  onKeydown: Ye(q(v), ["esc"])
1289
1289
  }), {
1290
- default: U(() => [
1290
+ default: j(() => [
1291
1291
  e1(Z($.title), 1)
1292
1292
  ]),
1293
1293
  _: 1
@@ -1312,7 +1312,7 @@ const fd = {
1312
1312
  }, gd = {
1313
1313
  key: 2,
1314
1314
  class: "ao-card-horiz__footer"
1315
- }, yd = {
1315
+ }, bd = {
1316
1316
  key: 3,
1317
1317
  class: "ao-card-horiz__secondary"
1318
1318
  }, va = /* @__PURE__ */ K({
@@ -1335,7 +1335,7 @@ const fd = {
1335
1335
  return (n, s) => (c(), R(at(n.tagName), {
1336
1336
  class: x(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1337
1337
  }, {
1338
- default: U(() => [
1338
+ default: j(() => [
1339
1339
  n.isDraggable ? (c(), m("div", fd, [
1340
1340
  T(ce, {
1341
1341
  name: "DragIndicator",
@@ -1359,22 +1359,22 @@ const fd = {
1359
1359
  "is-editable": !0,
1360
1360
  "onUpdate:title": t
1361
1361
  }, null, 8, ["id", "title"]),
1362
- X(n.$slots, "subtitle", {}, () => [
1362
+ Q(n.$slots, "subtitle", {}, () => [
1363
1363
  n.subtitle ? (c(), m("span", md, Z(n.subtitle), 1)) : k("", !0)
1364
1364
  ])
1365
1365
  ]),
1366
1366
  n.$slots.header ? (c(), m("div", Cd, [
1367
- X(n.$slots, "header")
1367
+ Q(n.$slots, "header")
1368
1368
  ])) : k("", !0)
1369
1369
  ]),
1370
1370
  n.$slots.default ? (c(), m("div", _d, [
1371
- X(n.$slots, "default")
1371
+ Q(n.$slots, "default")
1372
1372
  ])) : k("", !0),
1373
1373
  n.$slots.footer ? (c(), m("div", gd, [
1374
- X(n.$slots, "footer")
1374
+ Q(n.$slots, "footer")
1375
1375
  ])) : k("", !0),
1376
- n.$slots.secondary ? (c(), m("div", yd, [
1377
- X(n.$slots, "secondary")
1376
+ n.$slots.secondary ? (c(), m("div", bd, [
1377
+ Q(n.$slots, "secondary")
1378
1378
  ])) : k("", !0)
1379
1379
  ]),
1380
1380
  _: 3
@@ -1393,7 +1393,7 @@ const E1 = /* @__PURE__ */ K({
1393
1393
  },
1394
1394
  emits: ["click", "close"],
1395
1395
  setup(a) {
1396
- const e = a, t = b(() => e.clickable ? "button" : "span"), n = b(
1396
+ const e = a, t = y(() => e.clickable ? "button" : "span"), n = y(
1397
1397
  () => t.value === "button" ? { type: "button" } : {}
1398
1398
  );
1399
1399
  return (s, o) => (c(), m("div", {
@@ -1409,7 +1409,7 @@ const E1 = /* @__PURE__ */ K({
1409
1409
  (c(), R(at(t.value), Ee({ class: "ao-tag__label" }, n.value, {
1410
1410
  onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
1411
1411
  }), {
1412
- default: U(() => [
1412
+ default: j(() => [
1413
1413
  e1(Z(s.label), 1)
1414
1414
  ]),
1415
1415
  _: 1
@@ -1442,7 +1442,7 @@ const k1 = {
1442
1442
  this_week: "this_week",
1443
1443
  today: "today",
1444
1444
  done: "done"
1445
- }, bd = {
1445
+ }, yd = {
1446
1446
  BEFORE: "before",
1447
1447
  AFTER: "after"
1448
1448
  }, wd = {
@@ -2372,7 +2372,7 @@ var Kd = {
2372
2372
  return typeof o == "string" ? s = o : t === 1 ? s = o.one : s = o.other.replace("{{count}}", t.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + s : s + " ago" : s;
2373
2373
  };
2374
2374
  const xd = Gd;
2375
- function b1(a) {
2375
+ function y1(a) {
2376
2376
  return function() {
2377
2377
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.width ? String(e.width) : a.defaultWidth, n = a.formats[t] || a.formats[a.defaultWidth];
2378
2378
  return n;
@@ -2394,15 +2394,15 @@ var Xd = {
2394
2394
  medium: "{{date}}, {{time}}",
2395
2395
  short: "{{date}}, {{time}}"
2396
2396
  }, ec = {
2397
- date: b1({
2397
+ date: y1({
2398
2398
  formats: Xd,
2399
2399
  defaultWidth: "full"
2400
2400
  }),
2401
- time: b1({
2401
+ time: y1({
2402
2402
  formats: Qd,
2403
2403
  defaultWidth: "full"
2404
2404
  }),
2405
- dateTime: b1({
2405
+ dateTime: y1({
2406
2406
  formats: Jd,
2407
2407
  defaultWidth: "full"
2408
2408
  })
@@ -2602,9 +2602,9 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
2602
2602
  narrow: /^(b|a)/i,
2603
2603
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
2604
2604
  wide: /^(before christ|before common era|anno domini|common era)/i
2605
- }, yc = {
2606
- any: [/^b/i, /^(a|c)/i]
2607
2605
  }, bc = {
2606
+ any: [/^b/i, /^(a|c)/i]
2607
+ }, yc = {
2608
2608
  narrow: /^[1234]/i,
2609
2609
  abbreviated: /^q[1234]/i,
2610
2610
  wide: /^[1234](th|st|nd|rd)? quarter/i
@@ -2650,11 +2650,11 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
2650
2650
  era: Mt({
2651
2651
  matchPatterns: gc,
2652
2652
  defaultMatchWidth: "wide",
2653
- parsePatterns: yc,
2653
+ parsePatterns: bc,
2654
2654
  defaultParseWidth: "any"
2655
2655
  }),
2656
2656
  quarter: Mt({
2657
- matchPatterns: bc,
2657
+ matchPatterns: yc,
2658
2658
  defaultMatchWidth: "wide",
2659
2659
  parsePatterns: wc,
2660
2660
  defaultParseWidth: "any",
@@ -2697,12 +2697,12 @@ var Oc = {
2697
2697
  const Lc = Oc;
2698
2698
  var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hc = /^'([^]*?)'?$/, Pc = /''/g, Bc = /[a-zA-Z]/;
2699
2699
  function Nc(a, e, t) {
2700
- var n, s, o, i, l, r, d, u, v, p, C, w, $, A, g, y, L, j;
2700
+ var n, s, o, i, l, r, d, u, v, p, C, w, $, A, g, b, L, U;
2701
2701
  ge(2, arguments);
2702
2702
  var W = String(e), H = s1(), G = (n = (s = t == null ? void 0 : t.locale) !== null && s !== void 0 ? s : H.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (r = t == null ? void 0 : t.firstWeekContainsDate) !== null && r !== void 0 ? r : t == null || (d = t.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : H.firstWeekContainsDate) !== null && i !== void 0 ? i : (v = H.locale) === null || v === void 0 || (p = v.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2703
2703
  if (!(te >= 1 && te <= 7))
2704
2704
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2705
- var E = Ke((C = (w = ($ = (A = t == null ? void 0 : t.weekStartsOn) !== null && A !== void 0 ? A : t == null || (g = t.locale) === null || g === void 0 || (y = g.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && $ !== void 0 ? $ : H.weekStartsOn) !== null && w !== void 0 ? w : (L = H.locale) === null || L === void 0 || (j = L.options) === null || j === void 0 ? void 0 : j.weekStartsOn) !== null && C !== void 0 ? C : 0);
2705
+ var E = Ke((C = (w = ($ = (A = t == null ? void 0 : t.weekStartsOn) !== null && A !== void 0 ? A : t == null || (g = t.locale) === null || g === void 0 || (b = g.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && $ !== void 0 ? $ : H.weekStartsOn) !== null && w !== void 0 ? w : (L = H.locale) === null || L === void 0 || (U = L.options) === null || U === void 0 ? void 0 : U.weekStartsOn) !== null && C !== void 0 ? C : 0);
2706
2706
  if (!(E >= 0 && E <= 6))
2707
2707
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2708
2708
  if (!G.localize)
@@ -2839,14 +2839,14 @@ function Gc(a, e, t) {
2839
2839
  return n.setUTCDate(n.getUTCDate() + o), n;
2840
2840
  }
2841
2841
  var xc = [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
2842
- function ya(a) {
2842
+ function ba(a) {
2843
2843
  return a % 400 === 0 || a % 4 === 0 && a % 100 !== 0;
2844
2844
  }
2845
2845
  function Xc(a, e, t) {
2846
- return e >= 0 && e <= 11 && t >= 1 && t <= (xc[e] || (ya(a) ? 29 : 28));
2846
+ return e >= 0 && e <= 11 && t >= 1 && t <= (xc[e] || (ba(a) ? 29 : 28));
2847
2847
  }
2848
2848
  function Qc(a, e) {
2849
- return e >= 1 && e <= (ya(a) ? 366 : 365);
2849
+ return e >= 1 && e <= (ba(a) ? 366 : 365);
2850
2850
  }
2851
2851
  function Jc(a, e, t) {
2852
2852
  return e >= 1 && e <= 53 && t >= 0 && t <= 6;
@@ -2857,7 +2857,7 @@ function e0(a, e, t) {
2857
2857
  function t0(a, e) {
2858
2858
  return e >= 0 && e <= 59;
2859
2859
  }
2860
- var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, ba = {}, At = {}, Ht = {}, _t = {}, n1 = {};
2860
+ var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, ya = {}, At = {}, Ht = {}, _t = {}, n1 = {};
2861
2861
  Object.defineProperty(n1, "__esModule", { value: !0 });
2862
2862
  n1.lexoHelper = void 0;
2863
2863
  n1.lexoHelper = {
@@ -2898,7 +2898,7 @@ Pt.default = s0;
2898
2898
  Object.defineProperty(_t, "__esModule", { value: !0 });
2899
2899
  _t.LexoInteger = void 0;
2900
2900
  const qt = n1, n0 = Pt;
2901
- class Q {
2901
+ class X {
2902
2902
  constructor(e, t, n) {
2903
2903
  this.sys = e, this.sign = t, this.mag = n;
2904
2904
  }
@@ -2909,24 +2909,24 @@ class Q {
2909
2909
  let i = o.length - 1;
2910
2910
  for (let l = 0; i >= 0; ++l)
2911
2911
  o[l] = t.toDigit(n.charAt(i)), --i;
2912
- return Q.make(t, s, o);
2912
+ return X.make(t, s, o);
2913
2913
  }
2914
2914
  static zero(e) {
2915
- return new Q(e, 0, Q.ZERO_MAG);
2915
+ return new X(e, 0, X.ZERO_MAG);
2916
2916
  }
2917
2917
  static one(e) {
2918
- return Q.make(e, 1, Q.ONE_MAG);
2918
+ return X.make(e, 1, X.ONE_MAG);
2919
2919
  }
2920
2920
  static make(e, t, n) {
2921
2921
  let s;
2922
2922
  for (s = n.length; s > 0 && n[s - 1] === 0; --s)
2923
2923
  ;
2924
2924
  if (s === 0)
2925
- return Q.zero(e);
2925
+ return X.zero(e);
2926
2926
  if (s === n.length)
2927
- return new Q(e, t, n);
2927
+ return new X(e, t, n);
2928
2928
  const o = new Array(s).fill(0);
2929
- return qt.lexoHelper.arrayCopy(n, 0, o, 0, s), new Q(e, t, o);
2929
+ return qt.lexoHelper.arrayCopy(n, 0, o, 0, s), new X(e, t, o);
2930
2930
  }
2931
2931
  static add(e, t, n) {
2932
2932
  const s = Math.max(t.length, n.length), o = new Array(s).fill(0);
@@ -2938,7 +2938,7 @@ class Q {
2938
2938
  ++i;
2939
2939
  o[l] = u;
2940
2940
  }
2941
- return Q.extendWithCarry(o, i);
2941
+ return X.extendWithCarry(o, i);
2942
2942
  }
2943
2943
  static extendWithCarry(e, t) {
2944
2944
  if (t > 0) {
@@ -2948,8 +2948,8 @@ class Q {
2948
2948
  return e;
2949
2949
  }
2950
2950
  static subtract(e, t, n) {
2951
- const s = Q.complement(e, n, t.length), o = Q.add(e, t, s);
2952
- return o[o.length - 1] = 0, Q.add(e, o, Q.ONE_MAG);
2951
+ const s = X.complement(e, n, t.length), o = X.add(e, t, s);
2952
+ return o[o.length - 1] = 0, X.add(e, o, X.ONE_MAG);
2953
2953
  }
2954
2954
  static multiply(e, t, n) {
2955
2955
  const s = new Array(t.length + n.length).fill(0);
@@ -2991,8 +2991,8 @@ class Q {
2991
2991
  let n;
2992
2992
  return this.sign === -1 ? (n = this.negate(), n.subtract(e).negate()) : (n = e.negate(), this.subtract(n));
2993
2993
  }
2994
- const t = Q.add(this.sys, this.mag, e.mag);
2995
- return Q.make(this.sys, this.sign, t);
2994
+ const t = X.add(this.sys, this.mag, e.mag);
2995
+ return X.make(this.sys, this.sign, t);
2996
2996
  }
2997
2997
  subtract(e) {
2998
2998
  if (this.checkSystem(e), this.isZero())
@@ -3003,8 +3003,8 @@ class Q {
3003
3003
  let n;
3004
3004
  return this.sign === -1 ? (n = this.negate(), n.add(e).negate()) : (n = e.negate(), this.add(n));
3005
3005
  }
3006
- const t = Q.compare(this.mag, e.mag);
3007
- return t === 0 ? Q.zero(this.sys) : t < 0 ? Q.make(this.sys, this.sign === -1 ? 1 : -1, Q.subtract(this.sys, e.mag, this.mag)) : Q.make(this.sys, this.sign === -1 ? -1 : 1, Q.subtract(this.sys, this.mag, e.mag));
3006
+ const t = X.compare(this.mag, e.mag);
3007
+ return t === 0 ? X.zero(this.sys) : t < 0 ? X.make(this.sys, this.sign === -1 ? 1 : -1, X.subtract(this.sys, e.mag, this.mag)) : X.make(this.sys, this.sign === -1 ? -1 : 1, X.subtract(this.sys, this.mag, e.mag));
3008
3008
  }
3009
3009
  multiply(e) {
3010
3010
  if (this.checkSystem(e), this.isZero())
@@ -3012,14 +3012,14 @@ class Q {
3012
3012
  if (e.isZero())
3013
3013
  return e;
3014
3014
  if (this.isOneish())
3015
- return this.sign === e.sign ? Q.make(this.sys, 1, e.mag) : Q.make(this.sys, -1, e.mag);
3015
+ return this.sign === e.sign ? X.make(this.sys, 1, e.mag) : X.make(this.sys, -1, e.mag);
3016
3016
  if (e.isOneish())
3017
- return this.sign === e.sign ? Q.make(this.sys, 1, this.mag) : Q.make(this.sys, -1, this.mag);
3018
- const t = Q.multiply(this.sys, this.mag, e.mag);
3019
- return this.sign === e.sign ? Q.make(this.sys, 1, t) : Q.make(this.sys, -1, t);
3017
+ return this.sign === e.sign ? X.make(this.sys, 1, this.mag) : X.make(this.sys, -1, this.mag);
3018
+ const t = X.multiply(this.sys, this.mag, e.mag);
3019
+ return this.sign === e.sign ? X.make(this.sys, 1, t) : X.make(this.sys, -1, t);
3020
3020
  }
3021
3021
  negate() {
3022
- return this.isZero() ? this : Q.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
3022
+ return this.isZero() ? this : X.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
3023
3023
  }
3024
3024
  shiftLeft(e = 1) {
3025
3025
  if (e === 0)
@@ -3027,19 +3027,19 @@ class Q {
3027
3027
  if (e < 0)
3028
3028
  return this.shiftRight(Math.abs(e));
3029
3029
  const t = new Array(this.mag.length + e).fill(0);
3030
- return qt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), Q.make(this.sys, this.sign, t);
3030
+ return qt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), X.make(this.sys, this.sign, t);
3031
3031
  }
3032
3032
  shiftRight(e = 1) {
3033
3033
  if (this.mag.length - e <= 0)
3034
- return Q.zero(this.sys);
3034
+ return X.zero(this.sys);
3035
3035
  const t = new Array(this.mag.length - e).fill(0);
3036
- return qt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), Q.make(this.sys, this.sign, t);
3036
+ return qt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), X.make(this.sys, this.sign, t);
3037
3037
  }
3038
3038
  complement() {
3039
3039
  return this.complementDigits(this.mag.length);
3040
3040
  }
3041
3041
  complementDigits(e) {
3042
- return Q.make(this.sys, this.sign, Q.complement(this.sys, this.mag, e));
3042
+ return X.make(this.sys, this.sign, X.complement(this.sys, this.mag, e));
3043
3043
  }
3044
3044
  isZero() {
3045
3045
  return this.sign === 0 && this.mag.length === 1 && this.mag[0] === 0;
@@ -3057,12 +3057,12 @@ class Q {
3057
3057
  return 1;
3058
3058
  if (this.sign === -1) {
3059
3059
  if (e.sign === -1) {
3060
- const t = Q.compare(this.mag, e.mag);
3060
+ const t = X.compare(this.mag, e.mag);
3061
3061
  return t === -1 ? 1 : t === 1 ? -1 : 0;
3062
3062
  }
3063
3063
  return -1;
3064
3064
  }
3065
- return this.sign === 1 ? e.sign === 1 ? Q.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
3065
+ return this.sign === 1 ? e.sign === 1 ? X.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
3066
3066
  }
3067
3067
  getSystem() {
3068
3068
  return this.sys;
@@ -3091,12 +3091,12 @@ class Q {
3091
3091
  throw new Error("Expected numbers of same numeral sys");
3092
3092
  }
3093
3093
  }
3094
- _t.LexoInteger = Q;
3095
- Q.ZERO_MAG = [0];
3096
- Q.ONE_MAG = [1];
3097
- Q.NEGATIVE_SIGN = -1;
3098
- Q.ZERO_SIGN = 0;
3099
- Q.POSITIVE_SIGN = 1;
3094
+ _t.LexoInteger = X;
3095
+ X.ZERO_MAG = [0];
3096
+ X.ONE_MAG = [1];
3097
+ X.NEGATIVE_SIGN = -1;
3098
+ X.ZERO_SIGN = 0;
3099
+ X.POSITIVE_SIGN = 1;
3100
3100
  Object.defineProperty(Ht, "__esModule", { value: !0 });
3101
3101
  Ht.LexoDecimal = void 0;
3102
3102
  const Tt = _t, i0 = Pt;
@@ -3565,7 +3565,7 @@ function Ma() {
3565
3565
  o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
3566
3566
  };
3567
3567
  Object.defineProperty(a, "__esModule", { value: !0 }), t(Ma(), a), t(wa(), a), t(Ht, a), t(_t, a);
3568
- })(ba);
3568
+ })(ya);
3569
3569
  (function(a) {
3570
3570
  var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
3571
3571
  i === void 0 && (i = o);
@@ -3579,7 +3579,7 @@ function Ma() {
3579
3579
  for (var o in n)
3580
3580
  o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
3581
3581
  };
3582
- Object.defineProperty(a, "__esModule", { value: !0 }), t(ba, a), t(I1, a);
3582
+ Object.defineProperty(a, "__esModule", { value: !0 }), t(ya, a), t(I1, a);
3583
3583
  })(Te);
3584
3584
  function ka(a) {
3585
3585
  return (a == null ? void 0 : a.reduce((e, t) => {
@@ -3677,7 +3677,7 @@ const p0 = ["title"], h0 = {
3677
3677
  ], 10, p0));
3678
3678
  }
3679
3679
  });
3680
- const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-template__subitem" }, g0 = { class: "ao-card-template__subitem-number" }, y0 = { class: "ao-card-template__subitem" }, b0 = { class: "ao-card-template__subitem" }, w0 = { class: "ao-card-template__body" }, $0 = { class: "ao-card-template__col ao-card-template__col--phases" }, M0 = { class: "ao-card-template__col-title" }, k0 = { class: "ao-card-template__col-label" }, A0 = {
3680
+ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-template__subitem" }, g0 = { class: "ao-card-template__subitem-number" }, b0 = { class: "ao-card-template__subitem" }, y0 = { class: "ao-card-template__subitem" }, w0 = { class: "ao-card-template__body" }, $0 = { class: "ao-card-template__col ao-card-template__col--phases" }, M0 = { class: "ao-card-template__col-title" }, k0 = { class: "ao-card-template__col-label" }, A0 = {
3681
3681
  key: 0,
3682
3682
  class: "ao-card-template__col-body ao-card-template__phases-list"
3683
3683
  }, T0 = { class: "ao-card-template__footer" }, S0 = {
@@ -3708,7 +3708,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3708
3708
  "is-draggable": !0,
3709
3709
  "onUpdate:title": t
3710
3710
  }, t1({
3711
- subtitle: U(() => [
3711
+ subtitle: j(() => [
3712
3712
  f("ul", C0, [
3713
3713
  f("li", _0, [
3714
3714
  T(ce, {
@@ -3717,16 +3717,16 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3717
3717
  }),
3718
3718
  f("span", g0, Z(n.milestones), 1)
3719
3719
  ]),
3720
- f("li", y0, [
3720
+ f("li", b0, [
3721
3721
  T(ce, {
3722
3722
  name: "TaskOutlineRounded",
3723
3723
  size: "sm"
3724
3724
  }),
3725
- f("span", b0, Z(n.activities), 1)
3725
+ f("span", y0, Z(n.activities), 1)
3726
3726
  ])
3727
3727
  ])
3728
3728
  ]),
3729
- default: U(() => [
3729
+ default: j(() => [
3730
3730
  f("div", w0, [
3731
3731
  f("div", $0, [
3732
3732
  f("div", M0, [
@@ -3737,7 +3737,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3737
3737
  f("span", k0, Z(n.$t("template.phases.title")), 1)
3738
3738
  ]),
3739
3739
  n.phases ? (c(), m("ul", A0, [
3740
- (c(!0), m(ve, null, ye(n.phases, (o) => (c(), R(E1, {
3740
+ (c(!0), m(ve, null, be(n.phases, (o) => (c(), R(E1, {
3741
3741
  key: o.id,
3742
3742
  label: o.name || o.id,
3743
3743
  color: "primary",
@@ -3751,7 +3751,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3751
3751
  }, [
3752
3752
  n.updatedBy || n.updatedAt ? {
3753
3753
  name: "footer",
3754
- fn: U(() => [
3754
+ fn: j(() => [
3755
3755
  f("div", T0, [
3756
3756
  n.updatedAt ? (c(), m("div", S0, [
3757
3757
  f("div", E0, [
@@ -3794,10 +3794,10 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
3794
3794
  variant: "ghost",
3795
3795
  onClick: t[0] || (t[0] = (n) => e.$emit("goBack"))
3796
3796
  })) : k("", !0),
3797
- X(e.$slots, "primary")
3797
+ Q(e.$slots, "primary")
3798
3798
  ]),
3799
3799
  e.$slots.secondary ? (c(), m("div", R0, [
3800
- X(e.$slots, "secondary")
3800
+ Q(e.$slots, "secondary")
3801
3801
  ])) : k("", !0)
3802
3802
  ]));
3803
3803
  }
@@ -3818,7 +3818,7 @@ const U0 = ["type"], j0 = {
3818
3818
  corners: { default: () => ca.ROUNDED }
3819
3819
  },
3820
3820
  setup(a) {
3821
- const e = a, t = b(() => e.size), n = b(() => e.isLoading ? "Loading" : e.iconName);
3821
+ const e = a, t = y(() => e.size), n = y(() => e.isLoading ? "Loading" : e.iconName);
3822
3822
  return (s, o) => (c(), m("button", {
3823
3823
  type: s.type,
3824
3824
  class: x([
@@ -3828,7 +3828,7 @@ const U0 = ["type"], j0 = {
3828
3828
  s.$attrs.disabled ? "ao-button-card--is-disabled" : ""
3829
3829
  ])
3830
3830
  }, [
3831
- X(s.$slots, "default", {}, () => [
3831
+ Q(s.$slots, "default", {}, () => [
3832
3832
  s.label ? (c(), m("span", j0, Z(s.label), 1)) : k("", !0)
3833
3833
  ]),
3834
3834
  n.value ? (c(), R(ce, {
@@ -3864,9 +3864,9 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3864
3864
  e("remove");
3865
3865
  };
3866
3866
  return (i, l) => (c(), R(va, { "onUpdate:title": t }, {
3867
- footer: U(() => [
3867
+ footer: j(() => [
3868
3868
  f("ul", Z0, [
3869
- (c(), m(ve, null, ye(n, (r) => (c(), m(ve, { key: r }, [
3869
+ (c(), m(ve, null, be(n, (r) => (c(), m(ve, { key: r }, [
3870
3870
  i.$props[r] ? (c(), m("li", F0, [
3871
3871
  T(ce, {
3872
3872
  name: s[r],
@@ -3877,7 +3877,7 @@ const Z0 = { class: "ao-card-template-item__footer" }, F0 = {
3877
3877
  ], 64))), 64))
3878
3878
  ])
3879
3879
  ]),
3880
- secondary: U(() => [
3880
+ secondary: j(() => [
3881
3881
  f("div", z0, [
3882
3882
  T(fe, {
3883
3883
  "icon-name": "DeleteOutlineRounded",
@@ -3900,18 +3900,18 @@ const W0 = /* @__PURE__ */ K({
3900
3900
  milestones: {}
3901
3901
  },
3902
3902
  setup(a) {
3903
- const e = a, t = b(() => {
3903
+ const e = a, t = y(() => {
3904
3904
  var s;
3905
3905
  return (s = e.milestones) == null ? void 0 : s.length;
3906
- }), n = b(() => e.milestones ? ka(e.milestones) : 0);
3906
+ }), n = y(() => e.milestones ? ka(e.milestones) : 0);
3907
3907
  return (s, o) => (c(), R(O1, Ee({
3908
3908
  id: s.id,
3909
3909
  title: s.name,
3910
3910
  activities: n.value,
3911
3911
  milestones: t.value
3912
3912
  }, s.$attrs), {
3913
- default: U(() => [
3914
- X(s.$slots, "default")
3913
+ default: j(() => [
3914
+ Q(s.$slots, "default")
3915
3915
  ]),
3916
3916
  _: 3
3917
3917
  }, 16, ["id", "title", "activities", "milestones"]));
@@ -3922,13 +3922,13 @@ const W0 = /* @__PURE__ */ K({
3922
3922
  activities: {}
3923
3923
  },
3924
3924
  setup(a) {
3925
- const e = a, t = b(() => {
3925
+ const e = a, t = y(() => {
3926
3926
  var n;
3927
3927
  return ((n = e.activities) == null ? void 0 : n.length) || 0;
3928
3928
  });
3929
3929
  return (n, s) => (c(), R(O1, { activities: t.value }, {
3930
- default: U(() => [
3931
- X(n.$slots, "default")
3930
+ default: j(() => [
3931
+ Q(n.$slots, "default")
3932
3932
  ]),
3933
3933
  _: 3
3934
3934
  }, 8, ["activities"]));
@@ -3966,14 +3966,14 @@ const W0 = /* @__PURE__ */ K({
3966
3966
  "item-key": "id",
3967
3967
  onChange: i
3968
3968
  }, {
3969
- header: U(() => [
3969
+ header: j(() => [
3970
3970
  T(Ce, {
3971
3971
  title: "Milestones",
3972
3972
  level: 3,
3973
3973
  class: "ao-list__title"
3974
3974
  })
3975
3975
  ]),
3976
- item: U(({ element: d }) => [
3976
+ item: j(({ element: d }) => [
3977
3977
  (c(), R(Y0, {
3978
3978
  id: d.id,
3979
3979
  key: d.id,
@@ -3990,7 +3990,7 @@ const W0 = /* @__PURE__ */ K({
3990
3990
  onRemove: () => s(d.id)
3991
3991
  }, null, 8, ["id", "title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
3992
3992
  ]),
3993
- footer: U(() => [
3993
+ footer: j(() => [
3994
3994
  f("div", K0, [
3995
3995
  T(Qe, {
3996
3996
  "icon-name": "AddBoxOutlineRounded",
@@ -4009,13 +4009,13 @@ const W0 = /* @__PURE__ */ K({
4009
4009
  tasks: {}
4010
4010
  },
4011
4011
  setup(a) {
4012
- const e = a, t = b(() => {
4012
+ const e = a, t = y(() => {
4013
4013
  var n;
4014
4014
  return ((n = e.tasks) == null ? void 0 : n.length) || 0;
4015
4015
  });
4016
4016
  return (n, s) => (c(), R(O1, { tasks: t.value }, {
4017
- default: U(() => [
4018
- X(n.$slots, "default")
4017
+ default: j(() => [
4018
+ Q(n.$slots, "default")
4019
4019
  ]),
4020
4020
  _: 3
4021
4021
  }, 8, ["tasks"]));
@@ -4056,14 +4056,14 @@ const W0 = /* @__PURE__ */ K({
4056
4056
  "item-key": "id",
4057
4057
  onChange: i
4058
4058
  }, {
4059
- header: U(() => [
4059
+ header: j(() => [
4060
4060
  T(Ce, {
4061
4061
  title: "Activities",
4062
4062
  level: 3,
4063
4063
  class: "ao-list__title"
4064
4064
  })
4065
4065
  ]),
4066
- item: U(({ element: d }) => [
4066
+ item: j(({ element: d }) => [
4067
4067
  (c(), R(x0, {
4068
4068
  id: d.id,
4069
4069
  key: d.id,
@@ -4076,7 +4076,7 @@ const W0 = /* @__PURE__ */ K({
4076
4076
  onRemove: () => o(d.id)
4077
4077
  }, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
4078
4078
  ]),
4079
- footer: U(() => [
4079
+ footer: j(() => [
4080
4080
  f("div", X0, [
4081
4081
  T(Qe, {
4082
4082
  "icon-name": "AddBoxOutlineRounded",
@@ -4119,14 +4119,14 @@ const W0 = /* @__PURE__ */ K({
4119
4119
  })
4120
4120
  ]),
4121
4121
  e.$slots.header ? (c(), m("header", a3, [
4122
- X(e.$slots, "header")
4122
+ Q(e.$slots, "header")
4123
4123
  ])) : k("", !0)
4124
4124
  ]),
4125
4125
  f("div", s3, [
4126
- X(e.$slots, "default")
4126
+ Q(e.$slots, "default")
4127
4127
  ]),
4128
4128
  e.$slots.footer ? (c(), m("footer", n3, [
4129
- X(e.$slots, "footer")
4129
+ Q(e.$slots, "footer")
4130
4130
  ])) : k("", !0)
4131
4131
  ])
4132
4132
  ], 2));
@@ -4293,9 +4293,9 @@ const p3 = async (a, e, t) => {
4293
4293
  name: A,
4294
4294
  fn: g
4295
4295
  } = l[$], {
4296
- x: y,
4296
+ x: b,
4297
4297
  y: L,
4298
- data: j,
4298
+ data: U,
4299
4299
  reset: W
4300
4300
  } = await g({
4301
4301
  x: u,
@@ -4311,11 +4311,11 @@ const p3 = async (a, e, t) => {
4311
4311
  floating: e
4312
4312
  }
4313
4313
  });
4314
- if (u = y ?? u, v = L ?? v, C = {
4314
+ if (u = b ?? u, v = L ?? v, C = {
4315
4315
  ...C,
4316
4316
  [A]: {
4317
4317
  ...C[A],
4318
- ...j
4318
+ ...U
4319
4319
  }
4320
4320
  }, W && w <= 50) {
4321
4321
  w++, typeof W == "object" && (W.placement && (p = W.placement), W.rects && (d = W.rects === !0 ? await i.getElementRects({
@@ -4358,26 +4358,26 @@ async function Ea(a, e) {
4358
4358
  boundary: d,
4359
4359
  rootBoundary: u,
4360
4360
  strategy: r
4361
- })), y = v === "floating" ? {
4361
+ })), b = v === "floating" ? {
4362
4362
  ...i.floating,
4363
4363
  x: n,
4364
4364
  y: s
4365
- } : i.reference, L = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)), j = await (o.isElement == null ? void 0 : o.isElement(L)) ? await (o.getScale == null ? void 0 : o.getScale(L)) || {
4365
+ } : i.reference, L = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)), U = await (o.isElement == null ? void 0 : o.isElement(L)) ? await (o.getScale == null ? void 0 : o.getScale(L)) || {
4366
4366
  x: 1,
4367
4367
  y: 1
4368
4368
  } : {
4369
4369
  x: 1,
4370
4370
  y: 1
4371
4371
  }, W = Qt(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4372
- rect: y,
4372
+ rect: b,
4373
4373
  offsetParent: L,
4374
4374
  strategy: r
4375
- }) : y);
4375
+ }) : b);
4376
4376
  return {
4377
- top: (g.top - W.top + w.top) / j.y,
4378
- bottom: (W.bottom - g.bottom + w.bottom) / j.y,
4379
- left: (g.left - W.left + w.left) / j.x,
4380
- right: (W.right - g.right + w.right) / j.x
4377
+ top: (g.top - W.top + w.top) / U.y,
4378
+ bottom: (W.bottom - g.bottom + w.bottom) / U.y,
4379
+ left: (g.left - W.left + w.left) / U.x,
4380
+ right: (W.right - g.right + w.right) / U.x
4381
4381
  };
4382
4382
  }
4383
4383
  const h3 = function(a) {
@@ -4404,9 +4404,9 @@ const h3 = function(a) {
4404
4404
  } = V1(a, e);
4405
4405
  if ((t = o.arrow) != null && t.alignmentOffset)
4406
4406
  return {};
4407
- const g = mt(s), y = mt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), j = p || (y || !$ ? [Xt(l)] : u3(l));
4408
- !p && w !== "none" && j.push(...c3(l, $, w, L));
4409
- const W = [l, ...j], H = await Ea(e, A), G = [];
4407
+ const g = mt(s), b = mt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), U = p || (b || !$ ? [Xt(l)] : u3(l));
4408
+ !p && w !== "none" && U.push(...c3(l, $, w, L));
4409
+ const W = [l, ...U], H = await Ea(e, A), G = [];
4410
4410
  let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4411
4411
  if (u && G.push(H[g]), v) {
4412
4412
  const h = r3(s, i, L);
@@ -4471,22 +4471,22 @@ const h3 = function(a) {
4471
4471
  } = n.floating;
4472
4472
  let w, $;
4473
4473
  d === "top" || d === "bottom" ? (w = d, $ = u === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : ($ = d, w = u === "end" ? "top" : "bottom");
4474
- const A = C - r[w], g = p - r[$], y = !e.middlewareData.shift;
4475
- let L = A, j = g;
4474
+ const A = C - r[w], g = p - r[$], b = !e.middlewareData.shift;
4475
+ let L = A, U = g;
4476
4476
  if (v) {
4477
4477
  const H = p - r.left - r.right;
4478
- j = u || y ? Lt(g, H) : H;
4478
+ U = u || b ? Lt(g, H) : H;
4479
4479
  } else {
4480
4480
  const H = C - r.top - r.bottom;
4481
- L = u || y ? Lt(A, H) : H;
4481
+ L = u || b ? Lt(A, H) : H;
4482
4482
  }
4483
- if (y && !u) {
4483
+ if (b && !u) {
4484
4484
  const H = Ae(r.left, 0), G = Ae(r.right, 0), te = Ae(r.top, 0), E = Ae(r.bottom, 0);
4485
- v ? j = p - 2 * (H !== 0 || G !== 0 ? H + G : Ae(r.left, r.right)) : L = C - 2 * (te !== 0 || E !== 0 ? te + E : Ae(r.top, r.bottom));
4485
+ v ? U = p - 2 * (H !== 0 || G !== 0 ? H + G : Ae(r.left, r.right)) : L = C - 2 * (te !== 0 || E !== 0 ? te + E : Ae(r.top, r.bottom));
4486
4486
  }
4487
4487
  await i({
4488
4488
  ...e,
4489
- availableWidth: j,
4489
+ availableWidth: U,
4490
4490
  availableHeight: L
4491
4491
  });
4492
4492
  const W = await s.getDimensions(o.floating);
@@ -4622,7 +4622,7 @@ function Va(a) {
4622
4622
  y: e.visualViewport.offsetTop
4623
4623
  };
4624
4624
  }
4625
- function y3(a, e, t) {
4625
+ function b3(a, e, t) {
4626
4626
  return e === void 0 && (e = !1), !t || e && t !== we(a) ? !1 : e;
4627
4627
  }
4628
4628
  function tt(a, e, t, n) {
@@ -4630,14 +4630,14 @@ function tt(a, e, t, n) {
4630
4630
  const s = a.getBoundingClientRect(), o = B1(a);
4631
4631
  let i = Ge(1);
4632
4632
  e && (n ? je(n) && (i = pt(n)) : i = pt(a));
4633
- const l = y3(o, t, n) ? Va(o) : Ge(0);
4633
+ const l = b3(o, t, n) ? Va(o) : Ge(0);
4634
4634
  let r = (s.left + l.x) / i.x, d = (s.top + l.y) / i.y, u = s.width / i.x, v = s.height / i.y;
4635
4635
  if (o) {
4636
4636
  const p = we(o), C = n && je(n) ? we(n) : n;
4637
4637
  let w = p.frameElement;
4638
4638
  for (; w && n && C !== p; ) {
4639
- const $ = pt(w), A = w.getBoundingClientRect(), g = Ie(w), y = A.left + (w.clientLeft + parseFloat(g.paddingLeft)) * $.x, L = A.top + (w.clientTop + parseFloat(g.paddingTop)) * $.y;
4640
- r *= $.x, d *= $.y, u *= $.x, v *= $.y, r += y, d += L, w = we(w).frameElement;
4639
+ const $ = pt(w), A = w.getBoundingClientRect(), g = Ie(w), b = A.left + (w.clientLeft + parseFloat(g.paddingLeft)) * $.x, L = A.top + (w.clientTop + parseFloat(g.paddingTop)) * $.y;
4640
+ r *= $.x, d *= $.y, u *= $.x, v *= $.y, r += b, d += L, w = we(w).frameElement;
4641
4641
  }
4642
4642
  }
4643
4643
  return Qt({
@@ -4647,7 +4647,7 @@ function tt(a, e, t, n) {
4647
4647
  y: d
4648
4648
  });
4649
4649
  }
4650
- function b3(a) {
4650
+ function y3(a) {
4651
4651
  let {
4652
4652
  rect: e,
4653
4653
  offsetParent: t,
@@ -4821,7 +4821,7 @@ function O3(a) {
4821
4821
  return Ie(a).direction === "rtl";
4822
4822
  }
4823
4823
  const L3 = {
4824
- convertOffsetParentRelativeRectToViewportRelativeRect: b3,
4824
+ convertOffsetParentRelativeRectToViewportRelativeRect: y3,
4825
4825
  getDocumentElement: Ze,
4826
4826
  getClippingRect: T3,
4827
4827
  getOffsetParent: Pa,
@@ -4848,12 +4848,12 @@ function V3(a, e) {
4848
4848
  } = a.getBoundingClientRect();
4849
4849
  if (l || e(), !v || !p)
4850
4850
  return;
4851
- const C = Wt(u), w = Wt(s.clientWidth - (d + v)), $ = Wt(s.clientHeight - (u + p)), A = Wt(d), y = {
4851
+ const C = Wt(u), w = Wt(s.clientWidth - (d + v)), $ = Wt(s.clientHeight - (u + p)), A = Wt(d), b = {
4852
4852
  rootMargin: -C + "px " + -w + "px " + -$ + "px " + -A + "px",
4853
4853
  threshold: Ae(0, Lt(1, r)) || 1
4854
4854
  };
4855
4855
  let L = !0;
4856
- function j(W) {
4856
+ function U(W) {
4857
4857
  const H = W[0].intersectionRatio;
4858
4858
  if (H !== r) {
4859
4859
  if (!L)
@@ -4865,13 +4865,13 @@ function V3(a, e) {
4865
4865
  L = !1;
4866
4866
  }
4867
4867
  try {
4868
- t = new IntersectionObserver(j, {
4869
- ...y,
4868
+ t = new IntersectionObserver(U, {
4869
+ ...b,
4870
4870
  // Handle <iframe>s
4871
4871
  root: s.ownerDocument
4872
4872
  });
4873
4873
  } catch {
4874
- t = new IntersectionObserver(j, y);
4874
+ t = new IntersectionObserver(U, b);
4875
4875
  }
4876
4876
  t.observe(a);
4877
4877
  }
@@ -4894,8 +4894,8 @@ function D3(a, e, t, n) {
4894
4894
  const v = d && l ? V3(d, t) : null;
4895
4895
  let p = -1, C = null;
4896
4896
  i && (C = new ResizeObserver((g) => {
4897
- let [y] = g;
4898
- y && y.target === d && C && (C.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
4897
+ let [b] = g;
4898
+ b && b.target === d && C && (C.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
4899
4899
  C && C.observe(e);
4900
4900
  })), t();
4901
4901
  }), d && !r && C.observe(d), C.observe(e));
@@ -5003,7 +5003,7 @@ function B3(a, e, t) {
5003
5003
  };
5004
5004
  }
5005
5005
  function N3(a, e) {
5006
- const { value: t, modelValue: n, mode: s, valueProp: o } = $e(a), i = J(s.value !== "single" ? [] : {}), l = n && n.value !== void 0 ? n : t, r = b(() => s.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), d = b(() => s.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
5006
+ const { value: t, modelValue: n, mode: s, valueProp: o } = $e(a), i = J(s.value !== "single" ? [] : {}), l = n && n.value !== void 0 ? n : t, r = y(() => s.value === "single" ? i.value[o.value] : i.value.map((u) => u[o.value])), d = y(() => s.value !== "single" ? i.value.map((u) => u[o.value]).join(",") : i.value[o.value]);
5007
5007
  return {
5008
5008
  iv: i,
5009
5009
  internalValue: i,
@@ -5083,9 +5083,9 @@ function F3(a, e, t) {
5083
5083
  loading: $,
5084
5084
  delay: A,
5085
5085
  resolveOnLoad: g,
5086
- minChars: y,
5086
+ minChars: b,
5087
5087
  filterResults: L,
5088
- clearOnSearch: j,
5088
+ clearOnSearch: U,
5089
5089
  clearOnSelect: W,
5090
5090
  valueProp: H,
5091
5091
  allowAbsent: G,
@@ -5105,7 +5105,7 @@ function F3(a, e, t) {
5105
5105
  disabledProp: ne,
5106
5106
  searchStart: M,
5107
5107
  searchFilter: Y
5108
- } = $e(a), ie = st().proxy, B = t.iv, S = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, Ra = t.pointer, it = t.clearPointer, Ua = t.focus, ja = t.deactivate, ot = t.close, Za = t.localize, yt = J([]), Fe = J([]), Le = J(!1), f1 = J(null), v1 = J(re.value && i.value === -1 ? 10 : i.value), j1 = b(() => r.value || d.value || !1), Fa = b(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
5108
+ } = $e(a), ie = st().proxy, B = t.iv, S = t.ev, N = t.search, pe = t.clearSearch, Me = t.update, Ra = t.pointer, it = t.clearPointer, Ua = t.focus, ja = t.deactivate, ot = t.close, Za = t.localize, bt = J([]), Fe = J([]), Le = J(!1), f1 = J(null), v1 = J(re.value && i.value === -1 ? 10 : i.value), j1 = y(() => r.value || d.value || !1), Fa = y(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = y(() => {
5109
5109
  if (z.value) {
5110
5110
  let _ = Rt.value || /* istanbul ignore next */
5111
5111
  [], D = [];
@@ -5117,32 +5117,32 @@ function F3(a, e, t) {
5117
5117
  } else {
5118
5118
  let _ = g1(Fe.value || /* istanbul ignore next */
5119
5119
  []);
5120
- return yt.value.length && (_ = _.concat(yt.value)), _;
5120
+ return bt.value.length && (_ = _.concat(bt.value)), _;
5121
5121
  }
5122
- }), Z1 = b(() => {
5122
+ }), Z1 = y(() => {
5123
5123
  let _ = qe.value;
5124
5124
  return ae.value && (_ = _.reverse()), lt.value.length && (_ = lt.value.concat(_)), _1(_);
5125
- }), bt = b(() => {
5125
+ }), yt = y(() => {
5126
5126
  let _ = Z1.value;
5127
5127
  return v1.value > 0 && (_ = _.slice(0, v1.value)), _;
5128
- }), Rt = b(() => {
5128
+ }), Rt = y(() => {
5129
5129
  if (!z.value)
5130
5130
  return [];
5131
5131
  let _ = [], D = Fe.value || /* istanbul ignore next */
5132
5132
  [];
5133
- return yt.value.length && _.push({
5133
+ return bt.value.length && _.push({
5134
5134
  [te.value]: " ",
5135
- [oe.value]: [...yt.value],
5135
+ [oe.value]: [...bt.value],
5136
5136
  __CREATE__: !0
5137
5137
  }), _.concat(D);
5138
- }), qa = b(() => {
5138
+ }), qa = y(() => {
5139
5139
  let _ = [...Rt.value].map((D) => ({ ...D }));
5140
5140
  return lt.value.length && (_[0] && _[0].__CREATE__ ? _[0][oe.value] = [...lt.value, ..._[0][oe.value]] : _ = [{
5141
5141
  [te.value]: " ",
5142
5142
  [oe.value]: [...lt.value],
5143
5143
  __CREATE__: !0
5144
5144
  }].concat(_)), _;
5145
- }), F1 = b(() => {
5145
+ }), F1 = y(() => {
5146
5146
  if (!z.value)
5147
5147
  return [];
5148
5148
  let _ = qa.value;
@@ -5157,7 +5157,7 @@ function F3(a, e, t) {
5157
5157
  __VISIBLE__: _1(he).map((wt) => Object.assign({}, wt, D[ne.value] ? { [ne.value]: !0 } : {}))
5158
5158
  };
5159
5159
  }));
5160
- }), p1 = b(() => {
5160
+ }), p1 = y(() => {
5161
5161
  switch (s.value) {
5162
5162
  case "single":
5163
5163
  return !De(B.value[H.value]);
@@ -5165,12 +5165,12 @@ function F3(a, e, t) {
5165
5165
  case "tags":
5166
5166
  return !De(B.value) && B.value.length > 0;
5167
5167
  }
5168
- }), za = b(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Wa = b(() => !qe.value.length && !Le.value && !lt.value.length), Ya = b(() => qe.value.length > 0 && bt.value.length == 0 && (N.value && z.value || !z.value)), lt = b(() => j1.value === !1 || !N.value ? [] : as(N.value) !== -1 ? [] : [{
5168
+ }), za = y(() => C !== void 0 && C.value !== void 0 ? C.value(B.value, ie) : B.value && B.value.length > 1 ? `${B.value.length} options selected` : "1 option selected"), Wa = y(() => !qe.value.length && !Le.value && !lt.value.length), Ya = y(() => qe.value.length > 0 && yt.value.length == 0 && (N.value && z.value || !z.value)), lt = y(() => j1.value === !1 || !N.value ? [] : as(N.value) !== -1 ? [] : [{
5169
5169
  [H.value]: N.value,
5170
5170
  [Ve.value]: N.value,
5171
5171
  [u.value]: N.value,
5172
5172
  __CREATE__: !0
5173
- }]), Ve = b(() => o.value || u.value), Ka = b(() => {
5173
+ }]), Ve = y(() => o.value || u.value), Ka = y(() => {
5174
5174
  switch (s.value) {
5175
5175
  case "single":
5176
5176
  return null;
@@ -5178,7 +5178,7 @@ function F3(a, e, t) {
5178
5178
  case "tags":
5179
5179
  return [];
5180
5180
  }
5181
- }), Ga = b(() => $.value || Le.value), rt = (_) => {
5181
+ }), Ga = y(() => $.value || Le.value), rt = (_) => {
5182
5182
  switch (typeof _ != "object" && (_ = Re(_)), s.value) {
5183
5183
  case "single":
5184
5184
  Me(_);
@@ -5278,11 +5278,11 @@ function F3(a, e, t) {
5278
5278
  }, C1 = (_) => {
5279
5279
  Re(_[H.value]) === void 0 && j1.value && (e.emit("tag", _[H.value], ie), e.emit("option", _[H.value], ie), e.emit("create", _[H.value], ie), Fa.value && ns(_), pe());
5280
5280
  }, Ja = () => {
5281
- s.value !== "single" && rt(bt.value.filter((_) => !_.disabled && !Ne(_)));
5281
+ s.value !== "single" && rt(yt.value.filter((_) => !_.disabled && !Ne(_)));
5282
5282
  }, es = (_) => _.find((D) => !Ne(D) && !D[ne.value]) === void 0, ts = (_) => _.find((D) => !Ne(D)) === void 0, Re = (_) => qe.value[qe.value.map((D) => String(D[H.value])).indexOf(String(_))], as = (_, D = !0) => qe.value.map((se) => parseInt(se[Ve.value]) == se[Ve.value] ? parseInt(se[Ve.value]) : se[Ve.value]).indexOf(
5283
5283
  parseInt(_) == _ ? parseInt(_) : _
5284
5284
  ), ss = (_) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(_), ns = (_) => {
5285
- yt.value.push(_);
5285
+ bt.value.push(_);
5286
5286
  }, is = (_) => I.value ? _.filter(
5287
5287
  (D) => N.value ? D.__VISIBLE__.length : D[oe.value].length
5288
5288
  ) : _.filter((D) => N.value ? D.__VISIBLE__.length : !0), _1 = (_, D = !0) => {
@@ -5311,7 +5311,7 @@ function F3(a, e, t) {
5311
5311
  }).finally(() => {
5312
5312
  D();
5313
5313
  });
5314
- })), y1 = () => {
5314
+ })), b1 = () => {
5315
5315
  if (p1.value)
5316
5316
  if (s.value === "single") {
5317
5317
  let _ = Re(B.value[H.value]);
@@ -5339,9 +5339,9 @@ function F3(a, e, t) {
5339
5339
  [Ve.value]: D
5340
5340
  }), K1 = () => {
5341
5341
  f1.value = ue(N, (_) => {
5342
- _.length < y.value || !_ && y.value !== 0 || (Le.value = !0, j.value && (Fe.value = []), setTimeout(() => {
5342
+ _.length < b.value || !_ && b.value !== 0 || (Le.value = !0, U.value && (Fe.value = []), setTimeout(() => {
5343
5343
  _ == N.value && n.value(N.value, ie).then((D) => {
5344
- (_ == N.value || !N.value) && (Fe.value = D, Ra.value = bt.value.filter((se) => se[ne.value] !== !0)[0] || null, Le.value = !1);
5344
+ (_ == N.value || !N.value) && (Fe.value = D, Ra.value = yt.value.filter((se) => se[ne.value] !== !0)[0] || null, Le.value = !1);
5345
5345
  }).catch(
5346
5346
  /* istanbul ignore next */
5347
5347
  (D) => {
@@ -5370,11 +5370,11 @@ function F3(a, e, t) {
5370
5370
  break;
5371
5371
  }
5372
5372
  }, { deep: !0 }), ue(n, (_, D) => {
5373
- typeof a.options == "function" ? g.value && (!D || _ && _.toString() !== D.toString()) && jt() : (Fe.value = a.options, Object.keys(B.value).length || Ut(), y1());
5374
- }), ue(u, y1), {
5373
+ typeof a.options == "function" ? g.value && (!D || _ && _.toString() !== D.toString()) && jt() : (Fe.value = a.options, Object.keys(B.value).length || Ut(), b1());
5374
+ }), ue(u, b1), {
5375
5375
  pfo: Z1,
5376
- fo: bt,
5377
- filteredOptions: bt,
5376
+ fo: yt,
5377
+ filteredOptions: yt,
5378
5378
  hasSelected: p1,
5379
5379
  multipleLabelText: za,
5380
5380
  eo: qe,
@@ -5402,7 +5402,7 @@ function F3(a, e, t) {
5402
5402
  handleTagRemove: xa,
5403
5403
  refreshOptions: os,
5404
5404
  resolveOptions: jt,
5405
- refreshLabels: y1
5405
+ refreshLabels: b1
5406
5406
  };
5407
5407
  }
5408
5408
  function q3(a, e, t) {
@@ -5416,36 +5416,36 @@ function q3(a, e, t) {
5416
5416
  groupSelect: d,
5417
5417
  disabledProp: u,
5418
5418
  groupOptions: v
5419
- } = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, y = t.setPointer, L = t.clearPointer, j = t.multiselect, W = t.isOpen, H = b(() => p.value.filter((S) => !S[u.value])), G = b(() => C.value.filter((S) => !S[u.value])), te = b(() => r.value !== "single" && d.value), E = b(() => g.value && g.value.group), ee = b(() => ie(g.value)), de = b(() => {
5419
+ } = $e(a), p = t.fo, C = t.fg, w = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, g = t.pointer, b = t.setPointer, L = t.clearPointer, U = t.multiselect, W = t.isOpen, H = y(() => p.value.filter((S) => !S[u.value])), G = y(() => C.value.filter((S) => !S[u.value])), te = y(() => r.value !== "single" && d.value), E = y(() => g.value && g.value.group), ee = y(() => ie(g.value)), de = y(() => {
5420
5420
  const S = E.value ? g.value : (
5421
5421
  /* istanbul ignore next */
5422
5422
  ie(g.value)
5423
5423
  ), N = G.value.map((Me) => Me[i.value]).indexOf(S[i.value]);
5424
5424
  let pe = G.value[N - 1];
5425
5425
  return pe === void 0 && (pe = O.value), pe;
5426
- }), h = b(() => {
5426
+ }), h = y(() => {
5427
5427
  let S = G.value.map((N) => N.label).indexOf(E.value ? g.value[i.value] : ie(g.value)[i.value]) + 1;
5428
5428
  return G.value.length <= S && (S = 0), G.value[S];
5429
- }), O = b(() => [...G.value].slice(-1)[0]), z = b(() => g.value.__VISIBLE__.filter((S) => !S[u.value])[0]), ae = b(() => {
5429
+ }), O = y(() => [...G.value].slice(-1)[0]), z = y(() => g.value.__VISIBLE__.filter((S) => !S[u.value])[0]), ae = y(() => {
5430
5430
  const S = ee.value.__VISIBLE__.filter((N) => !N[u.value]);
5431
5431
  return S[S.map((N) => N[n.value]).indexOf(g.value[n.value]) - 1];
5432
- }), re = b(() => {
5432
+ }), re = y(() => {
5433
5433
  const S = ie(g.value).__VISIBLE__.filter((N) => !N[u.value]);
5434
5434
  return S[S.map((N) => N[n.value]).indexOf(g.value[n.value]) + 1];
5435
- }), oe = b(() => [...de.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), I = b(() => [...O.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), V = (S) => g.value && (!S.group && g.value[n.value] === S[n.value] || S.group !== void 0 && g.value[i.value] === S[i.value]) ? !0 : void 0, F = () => {
5436
- y(H.value[0] || null);
5435
+ }), oe = y(() => [...de.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), I = y(() => [...O.value.__VISIBLE__.filter((S) => !S[u.value])].slice(-1)[0]), V = (S) => g.value && (!S.group && g.value[n.value] === S[n.value] || S.group !== void 0 && g.value[i.value] === S[i.value]) ? !0 : void 0, F = () => {
5436
+ b(H.value[0] || null);
5437
5437
  }, ne = () => {
5438
5438
  !g.value || g.value[u.value] === !0 || (E.value ? $(g.value) : w(g.value));
5439
5439
  }, M = () => {
5440
5440
  if (g.value === null)
5441
- y((l.value && te.value ? G.value[0].__CREATE__ ? H.value[0] : G.value[0] : H.value[0]) || null);
5441
+ b((l.value && te.value ? G.value[0].__CREATE__ ? H.value[0] : G.value[0] : H.value[0]) || null);
5442
5442
  else if (l.value && te.value) {
5443
5443
  let S = E.value ? z.value : re.value;
5444
- S === void 0 && (S = h.value, S.__CREATE__ && (S = S[v.value][0])), y(S || /* istanbul ignore next */
5444
+ S === void 0 && (S = h.value, S.__CREATE__ && (S = S[v.value][0])), b(S || /* istanbul ignore next */
5445
5445
  null);
5446
5446
  } else {
5447
5447
  let S = H.value.map((N) => N[n.value]).indexOf(g.value[n.value]) + 1;
5448
- H.value.length <= S && (S = 0), y(H.value[S] || null);
5448
+ H.value.length <= S && (S = 0), b(H.value[S] || null);
5449
5449
  }
5450
5450
  Oe(() => {
5451
5451
  B();
@@ -5453,20 +5453,20 @@ function q3(a, e, t) {
5453
5453
  }, Y = () => {
5454
5454
  if (g.value === null) {
5455
5455
  let S = H.value[H.value.length - 1];
5456
- l.value && te.value && (S = I.value, S === void 0 && (S = O.value)), y(S || null);
5456
+ l.value && te.value && (S = I.value, S === void 0 && (S = O.value)), b(S || null);
5457
5457
  } else if (l.value && te.value) {
5458
5458
  let S = E.value ? oe.value : ae.value;
5459
- S === void 0 && (S = E.value ? de.value : ee.value, S.__CREATE__ && (S = oe.value, S === void 0 && (S = de.value))), y(S || /* istanbul ignore next */
5459
+ S === void 0 && (S = E.value ? de.value : ee.value, S.__CREATE__ && (S = oe.value, S === void 0 && (S = de.value))), b(S || /* istanbul ignore next */
5460
5460
  null);
5461
5461
  } else {
5462
5462
  let S = H.value.map((N) => N[n.value]).indexOf(g.value[n.value]) - 1;
5463
- S < 0 && (S = H.value.length - 1), y(H.value[S] || null);
5463
+ S < 0 && (S = H.value.length - 1), b(H.value[S] || null);
5464
5464
  }
5465
5465
  Oe(() => {
5466
5466
  B();
5467
5467
  });
5468
5468
  }, ie = (S) => G.value.find((N) => N.__VISIBLE__.map((pe) => pe[n.value]).indexOf(S[n.value]) !== -1), B = () => {
5469
- let S = j.value.querySelector("[data-pointed]");
5469
+ let S = U.value.querySelector("[data-pointed]");
5470
5470
  if (!S)
5471
5471
  return;
5472
5472
  let N = S.parentElement.parentElement;
@@ -5476,7 +5476,7 @@ function q3(a, e, t) {
5476
5476
  o.value && (S.length && s.value ? F() : L());
5477
5477
  }), ue(W, (S) => {
5478
5478
  if (S) {
5479
- let N = j.value.querySelectorAll("[data-selected]")[0];
5479
+ let N = U.value.querySelectorAll("[data-selected]")[0];
5480
5480
  if (!N)
5481
5481
  return;
5482
5482
  let pe = N.parentElement.parentElement;
@@ -5507,13 +5507,13 @@ function z3(a, e, t) {
5507
5507
  };
5508
5508
  }
5509
5509
  function W3(a, e, t) {
5510
- const { searchable: n, disabled: s, clearOnBlur: o } = $e(a), i = t.input, l = t.open, r = t.close, d = t.clearSearch, u = t.isOpen, v = J(null), p = J(null), C = J(null), w = J(!1), $ = J(!1), A = b(() => n.value || s.value ? -1 : 0), g = () => {
5510
+ const { searchable: n, disabled: s, clearOnBlur: o } = $e(a), i = t.input, l = t.open, r = t.close, d = t.clearSearch, u = t.isOpen, v = J(null), p = J(null), C = J(null), w = J(!1), $ = J(!1), A = y(() => n.value || s.value ? -1 : 0), g = () => {
5511
5511
  n.value && i.value.blur(), p.value.blur();
5512
- }, y = () => {
5512
+ }, b = () => {
5513
5513
  n.value && !s.value && i.value.focus();
5514
5514
  }, L = (E = !0) => {
5515
5515
  s.value || (w.value = !0, E && l());
5516
- }, j = () => {
5516
+ }, U = () => {
5517
5517
  w.value = !1, setTimeout(() => {
5518
5518
  w.value || (r(), o.value && d());
5519
5519
  }, 1);
@@ -5526,21 +5526,21 @@ function W3(a, e, t) {
5526
5526
  isActive: w,
5527
5527
  mouseClicked: $,
5528
5528
  blur: g,
5529
- focus: y,
5529
+ focus: b,
5530
5530
  activate: L,
5531
- deactivate: j,
5531
+ deactivate: U,
5532
5532
  handleFocusIn: (E) => {
5533
5533
  E.target.closest("[data-tags]") && E.target.nodeName !== "INPUT" || E.target.closest("[data-clear]") || L($.value);
5534
5534
  },
5535
5535
  handleFocusOut: () => {
5536
- j();
5536
+ U();
5537
5537
  },
5538
5538
  handleCaretClick: () => {
5539
- j(), g();
5539
+ U(), g();
5540
5540
  },
5541
5541
  handleMousedown: (E) => {
5542
5542
  $.value = !0, u.value && (E.target.isEqualNode(p.value) || E.target.isEqualNode(C.value)) ? setTimeout(() => {
5543
- j();
5543
+ U();
5544
5544
  }, 0) : document.activeElement.isEqualNode(p.value) && !u.value && L(), setTimeout(() => {
5545
5545
  $.value = !1;
5546
5546
  }, 0);
@@ -5560,8 +5560,8 @@ function Y3(a, e, t) {
5560
5560
  createTag: v,
5561
5561
  createOption: p,
5562
5562
  reverse: C
5563
- } = $e(a), w = st().proxy, $ = t.iv, A = t.update, g = t.search, y = t.setPointer, L = t.selectPointer, j = t.backwardPointer, W = t.forwardPointer, H = t.multiselect, G = t.wrapper, te = t.tags, E = t.isOpen, ee = t.open, de = t.blur, h = t.fo, O = b(() => v.value || p.value || !1), z = b(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
5564
- n.value === "tags" && !l.value && O.value && i.value && !d.value && y(h.value[h.value.map((V) => V[r.value]).indexOf(g.value)]);
5563
+ } = $e(a), w = st().proxy, $ = t.iv, A = t.update, g = t.search, b = t.setPointer, L = t.selectPointer, U = t.backwardPointer, W = t.forwardPointer, H = t.multiselect, G = t.wrapper, te = t.tags, E = t.isOpen, ee = t.open, de = t.blur, h = t.fo, O = y(() => v.value || p.value || !1), z = y(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
5564
+ n.value === "tags" && !l.value && O.value && i.value && !d.value && b(h.value[h.value.map((V) => V[r.value]).indexOf(g.value)]);
5565
5565
  }, re = (V) => {
5566
5566
  let F = V.length - 1;
5567
5567
  for (; F >= 0 && (V[F].remove === !1 || V[F].disabled); )
@@ -5613,7 +5613,7 @@ function Y3(a, e, t) {
5613
5613
  case "ArrowUp":
5614
5614
  if (V.preventDefault(), !l.value)
5615
5615
  return;
5616
- E.value || ee(), j();
5616
+ E.value || ee(), U();
5617
5617
  break;
5618
5618
  case "ArrowDown":
5619
5619
  if (V.preventDefault(), !l.value)
@@ -5644,7 +5644,7 @@ function K3(a, e, t) {
5644
5644
  disabled: s,
5645
5645
  openDirection: o,
5646
5646
  showOptions: i
5647
- } = $e(a), l = t.isOpen, r = t.isPointed, d = t.isSelected, u = t.isDisabled, v = t.isActive, p = t.canPointGroups, C = t.resolving, w = t.fo, $ = b(() => ({
5647
+ } = $e(a), l = t.isOpen, r = t.isPointed, d = t.isSelected, u = t.isDisabled, v = t.isActive, p = t.canPointGroups, C = t.resolving, w = t.fo, $ = y(() => ({
5648
5648
  container: "multiselect",
5649
5649
  containerDisabled: "is-disabled",
5650
5650
  containerOpen: "is-open",
@@ -5697,49 +5697,49 @@ function K3(a, e, t) {
5697
5697
  assist: "multiselect-assistive-text",
5698
5698
  spacer: "multiselect-spacer",
5699
5699
  ...n.value
5700
- })), A = b(() => !!(l.value && i.value && (!C.value || C.value && w.value.length)));
5700
+ })), A = y(() => !!(l.value && i.value && (!C.value || C.value && w.value.length)));
5701
5701
  return {
5702
- classList: b(() => {
5703
- const y = $.value;
5702
+ classList: y(() => {
5703
+ const b = $.value;
5704
5704
  return {
5705
- container: [y.container].concat(s.value ? y.containerDisabled : []).concat(A.value && o.value === "top" ? y.containerOpenTop : []).concat(A.value && o.value !== "top" ? y.containerOpen : []).concat(v.value ? y.containerActive : []),
5706
- wrapper: y.wrapper,
5707
- spacer: y.spacer,
5708
- singleLabel: y.singleLabel,
5709
- singleLabelText: y.singleLabelText,
5710
- multipleLabel: y.multipleLabel,
5711
- search: y.search,
5712
- tags: y.tags,
5713
- tag: [y.tag].concat(s.value ? y.tagDisabled : []),
5714
- tagDisabled: y.tagDisabled,
5715
- tagRemove: y.tagRemove,
5716
- tagRemoveIcon: y.tagRemoveIcon,
5717
- tagsSearchWrapper: y.tagsSearchWrapper,
5718
- tagsSearch: y.tagsSearch,
5719
- tagsSearchCopy: y.tagsSearchCopy,
5720
- placeholder: y.placeholder,
5721
- caret: [y.caret].concat(l.value ? y.caretOpen : []),
5722
- clear: y.clear,
5723
- clearIcon: y.clearIcon,
5724
- spinner: y.spinner,
5725
- inifinite: y.inifinite,
5726
- inifiniteSpinner: y.inifiniteSpinner,
5727
- dropdown: [y.dropdown].concat(o.value === "top" ? y.dropdownTop : []).concat(!l.value || !i.value || !A.value ? y.dropdownHidden : []),
5728
- options: [y.options].concat(o.value === "top" ? y.optionsTop : []),
5729
- group: y.group,
5705
+ container: [b.container].concat(s.value ? b.containerDisabled : []).concat(A.value && o.value === "top" ? b.containerOpenTop : []).concat(A.value && o.value !== "top" ? b.containerOpen : []).concat(v.value ? b.containerActive : []),
5706
+ wrapper: b.wrapper,
5707
+ spacer: b.spacer,
5708
+ singleLabel: b.singleLabel,
5709
+ singleLabelText: b.singleLabelText,
5710
+ multipleLabel: b.multipleLabel,
5711
+ search: b.search,
5712
+ tags: b.tags,
5713
+ tag: [b.tag].concat(s.value ? b.tagDisabled : []),
5714
+ tagDisabled: b.tagDisabled,
5715
+ tagRemove: b.tagRemove,
5716
+ tagRemoveIcon: b.tagRemoveIcon,
5717
+ tagsSearchWrapper: b.tagsSearchWrapper,
5718
+ tagsSearch: b.tagsSearch,
5719
+ tagsSearchCopy: b.tagsSearchCopy,
5720
+ placeholder: b.placeholder,
5721
+ caret: [b.caret].concat(l.value ? b.caretOpen : []),
5722
+ clear: b.clear,
5723
+ clearIcon: b.clearIcon,
5724
+ spinner: b.spinner,
5725
+ inifinite: b.inifinite,
5726
+ inifiniteSpinner: b.inifiniteSpinner,
5727
+ dropdown: [b.dropdown].concat(o.value === "top" ? b.dropdownTop : []).concat(!l.value || !i.value || !A.value ? b.dropdownHidden : []),
5728
+ options: [b.options].concat(o.value === "top" ? b.optionsTop : []),
5729
+ group: b.group,
5730
5730
  groupLabel: (L) => {
5731
- let j = [y.groupLabel];
5732
- return r(L) ? j.push(d(L) ? y.groupLabelSelectedPointed : y.groupLabelPointed) : d(L) && p.value ? j.push(u(L) ? y.groupLabelSelectedDisabled : y.groupLabelSelected) : u(L) && j.push(y.groupLabelDisabled), p.value && j.push(y.groupLabelPointable), j;
5731
+ let U = [b.groupLabel];
5732
+ return r(L) ? U.push(d(L) ? b.groupLabelSelectedPointed : b.groupLabelPointed) : d(L) && p.value ? U.push(u(L) ? b.groupLabelSelectedDisabled : b.groupLabelSelected) : u(L) && U.push(b.groupLabelDisabled), p.value && U.push(b.groupLabelPointable), U;
5733
5733
  },
5734
- groupOptions: y.groupOptions,
5735
- option: (L, j) => {
5736
- let W = [y.option];
5737
- return r(L) ? W.push(d(L) ? y.optionSelectedPointed : y.optionPointed) : d(L) ? W.push(u(L) ? y.optionSelectedDisabled : y.optionSelected) : (u(L) || j && u(j)) && W.push(y.optionDisabled), W;
5734
+ groupOptions: b.groupOptions,
5735
+ option: (L, U) => {
5736
+ let W = [b.option];
5737
+ return r(L) ? W.push(d(L) ? b.optionSelectedPointed : b.optionPointed) : d(L) ? W.push(u(L) ? b.optionSelectedDisabled : b.optionSelected) : (u(L) || U && u(U)) && W.push(b.optionDisabled), W;
5738
5738
  },
5739
- noOptions: y.noOptions,
5740
- noResults: y.noResults,
5741
- assist: y.assist,
5742
- fakeInput: y.fakeInput
5739
+ noOptions: b.noOptions,
5740
+ noResults: b.noResults,
5741
+ assist: b.assist,
5742
+ fakeInput: b.fakeInput
5743
5743
  };
5744
5744
  }),
5745
5745
  showDropdown: A
@@ -5749,12 +5749,12 @@ function G3(a, e, t) {
5749
5749
  const {
5750
5750
  limit: n,
5751
5751
  infinite: s
5752
- } = $e(a), o = t.isOpen, i = t.offset, l = t.search, r = t.pfo, d = t.eo, u = J(null), v = J(null), p = b(() => i.value < r.value.length), C = ($) => {
5752
+ } = $e(a), o = t.isOpen, i = t.offset, l = t.search, r = t.pfo, d = t.eo, u = J(null), v = J(null), p = y(() => i.value < r.value.length), C = ($) => {
5753
5753
  const { isIntersecting: A, target: g } = $[0];
5754
5754
  if (A) {
5755
- const y = g.offsetParent, L = y.scrollTop;
5755
+ const b = g.offsetParent, L = b.scrollTop;
5756
5756
  i.value += n.value == -1 ? 10 : n.value, Oe(() => {
5757
- y.scrollTop = L;
5757
+ b.scrollTop = L;
5758
5758
  });
5759
5759
  }
5760
5760
  }, w = () => {
@@ -5783,20 +5783,20 @@ function x3(a, e, t) {
5783
5783
  groupLabel: r,
5784
5784
  aria: d,
5785
5785
  searchable: u
5786
- } = $e(a), v = t.pointer, p = t.iv, C = t.hasSelected, w = t.multipleLabelText, $ = J(null), A = b(() => {
5786
+ } = $e(a), v = t.pointer, p = t.iv, C = t.hasSelected, w = t.multipleLabelText, $ = J(null), A = y(() => {
5787
5787
  let h = [];
5788
5788
  return s && s.value && h.push(s.value), h.push("assist"), h.join("-");
5789
- }), g = b(() => {
5789
+ }), g = y(() => {
5790
5790
  let h = [];
5791
5791
  return s && s.value && h.push(s.value), h.push("multiselect-options"), h.join("-");
5792
- }), y = b(() => {
5792
+ }), b = y(() => {
5793
5793
  let h = [];
5794
5794
  if (s && s.value && h.push(s.value), v.value)
5795
5795
  return h.push(v.value.group ? "multiselect-group" : "multiselect-option"), h.push(v.value.group ? v.value.index : v.value[o.value]), h.join("-");
5796
- }), L = b(() => n.value), j = b(() => l.value !== "single"), W = b(() => {
5796
+ }), L = y(() => n.value), U = y(() => l.value !== "single"), W = y(() => {
5797
5797
  let h = "";
5798
5798
  return l.value === "single" && C.value && (h += p.value[i.value]), l.value === "multiple" && C.value && (h += w.value), l.value === "tags" && C.value && (h += p.value.map((O) => O[i.value]).join(", ")), h;
5799
- }), H = b(() => {
5799
+ }), H = y(() => {
5800
5800
  let h = { ...d.value };
5801
5801
  return u.value && (h["aria-labelledby"] = h["aria-labelledby"] ? `${A.value} ${h["aria-labelledby"]}` : A.value, W.value && h["aria-label"] && (h["aria-label"] = `${W.value}, ${h["aria-label"]}`)), h;
5802
5802
  }), G = (h) => {
@@ -5823,8 +5823,8 @@ function x3(a, e, t) {
5823
5823
  ariaAssist: A,
5824
5824
  ariaControls: g,
5825
5825
  ariaPlaceholder: L,
5826
- ariaMultiselectable: j,
5827
- ariaActiveDescendant: y,
5826
+ ariaMultiselectable: U,
5827
+ ariaActiveDescendant: b,
5828
5828
  ariaOptionId: G,
5829
5829
  ariaOptionLabel: E,
5830
5830
  ariaGroupId: te,
@@ -6261,7 +6261,7 @@ function g5(a, e, t, n, s, o) {
6261
6261
  (c(!0), m(
6262
6262
  ve,
6263
6263
  null,
6264
- ye(a.iv, (i, l, r) => X(a.$slots, "tag", {
6264
+ be(a.iv, (i, l, r) => Q(a.$slots, "tag", {
6265
6265
  option: i,
6266
6266
  handleTagRemove: a.handleTagRemove,
6267
6267
  disabled: t.disabled
@@ -6350,7 +6350,7 @@ function g5(a, e, t, n, s, o) {
6350
6350
  /* CLASS */
6351
6351
  )) : k("v-if", !0),
6352
6352
  k(" Single label "),
6353
- t.mode == "single" && a.hasSelected && !a.search && a.iv ? X(a.$slots, "singlelabel", {
6353
+ t.mode == "single" && a.hasSelected && !a.search && a.iv ? Q(a.$slots, "singlelabel", {
6354
6354
  key: 2,
6355
6355
  value: a.iv
6356
6356
  }, () => [
@@ -6375,7 +6375,7 @@ function g5(a, e, t, n, s, o) {
6375
6375
  )
6376
6376
  ]) : k("v-if", !0),
6377
6377
  k(" Multiple label "),
6378
- t.mode == "multiple" && a.hasSelected && !a.search ? X(a.$slots, "multiplelabel", {
6378
+ t.mode == "multiple" && a.hasSelected && !a.search ? Q(a.$slots, "multiplelabel", {
6379
6379
  key: 3,
6380
6380
  values: a.iv
6381
6381
  }, () => [
@@ -6385,7 +6385,7 @@ function g5(a, e, t, n, s, o) {
6385
6385
  }, null, 10, i5)
6386
6386
  ]) : k("v-if", !0),
6387
6387
  k(" Placeholder "),
6388
- t.placeholder && !a.hasSelected && !a.search ? X(a.$slots, "placeholder", { key: 4 }, () => [
6388
+ t.placeholder && !a.hasSelected && !a.search ? Q(a.$slots, "placeholder", { key: 4 }, () => [
6389
6389
  f(
6390
6390
  "div",
6391
6391
  {
@@ -6398,7 +6398,7 @@ function g5(a, e, t, n, s, o) {
6398
6398
  )
6399
6399
  ]) : k("v-if", !0),
6400
6400
  k(" Spinner "),
6401
- t.loading || a.resolving ? X(a.$slots, "spinner", { key: 5 }, () => [
6401
+ t.loading || a.resolving ? Q(a.$slots, "spinner", { key: 5 }, () => [
6402
6402
  f(
6403
6403
  "span",
6404
6404
  {
@@ -6411,7 +6411,7 @@ function g5(a, e, t, n, s, o) {
6411
6411
  )
6412
6412
  ]) : k("v-if", !0),
6413
6413
  k(" Clear "),
6414
- a.hasSelected && !t.disabled && t.canClear && !a.busy ? X(a.$slots, "clear", {
6414
+ a.hasSelected && !t.disabled && t.canClear && !a.busy ? Q(a.$slots, "clear", {
6415
6415
  key: 6,
6416
6416
  clear: a.clear
6417
6417
  }, () => [
@@ -6443,7 +6443,7 @@ function g5(a, e, t, n, s, o) {
6443
6443
  )
6444
6444
  ]) : k("v-if", !0),
6445
6445
  k(" Caret "),
6446
- t.caret && t.showOptions ? X(a.$slots, "caret", { key: 7 }, () => [
6446
+ t.caret && t.showOptions ? Q(a.$slots, "caret", { key: 7 }, () => [
6447
6447
  f(
6448
6448
  "span",
6449
6449
  {
@@ -6465,7 +6465,7 @@ function g5(a, e, t, n, s, o) {
6465
6465
  tabindex: "-1"
6466
6466
  },
6467
6467
  [
6468
- X(a.$slots, "beforelist", { options: a.fo }),
6468
+ Q(a.$slots, "beforelist", { options: a.fo }),
6469
6469
  f("ul", {
6470
6470
  class: x(a.classList.options),
6471
6471
  id: a.ariaControls,
@@ -6474,7 +6474,7 @@ function g5(a, e, t, n, s, o) {
6474
6474
  t.groups ? (c(!0), m(
6475
6475
  ve,
6476
6476
  { key: 0 },
6477
- ye(a.fg, (i, l, r) => (c(), m("li", {
6477
+ be(a.fg, (i, l, r) => (c(), m("li", {
6478
6478
  class: x(a.classList.group),
6479
6479
  key: r,
6480
6480
  id: a.ariaGroupId(i),
@@ -6489,7 +6489,7 @@ function g5(a, e, t, n, s, o) {
6489
6489
  onMouseenter: (d) => a.setPointer(i, l),
6490
6490
  onClick: (d) => a.handleGroupClick(i)
6491
6491
  }, [
6492
- X(a.$slots, "grouplabel", {
6492
+ Q(a.$slots, "grouplabel", {
6493
6493
  group: i,
6494
6494
  isSelected: a.isSelected,
6495
6495
  isPointed: a.isPointed
@@ -6507,7 +6507,7 @@ function g5(a, e, t, n, s, o) {
6507
6507
  (c(!0), m(
6508
6508
  ve,
6509
6509
  null,
6510
- ye(i.__VISIBLE__, (d, u, v) => (c(), m("li", {
6510
+ be(i.__VISIBLE__, (d, u, v) => (c(), m("li", {
6511
6511
  class: x(a.classList.option(d, i)),
6512
6512
  "data-pointed": a.isPointed(d),
6513
6513
  "data-selected": a.isSelected(d) || void 0,
@@ -6519,7 +6519,7 @@ function g5(a, e, t, n, s, o) {
6519
6519
  "aria-label": a.ariaOptionLabel(a.localize(d[t.label])),
6520
6520
  role: "option"
6521
6521
  }, [
6522
- X(a.$slots, "option", {
6522
+ Q(a.$slots, "option", {
6523
6523
  option: d,
6524
6524
  isSelected: a.isSelected,
6525
6525
  isPointed: a.isPointed,
@@ -6544,7 +6544,7 @@ function g5(a, e, t, n, s, o) {
6544
6544
  )) : (c(!0), m(
6545
6545
  ve,
6546
6546
  { key: 1 },
6547
- ye(a.fo, (i, l, r) => (c(), m("li", {
6547
+ be(a.fo, (i, l, r) => (c(), m("li", {
6548
6548
  class: x(a.classList.option(i)),
6549
6549
  "data-pointed": a.isPointed(i),
6550
6550
  "data-selected": a.isSelected(i) || void 0,
@@ -6556,7 +6556,7 @@ function g5(a, e, t, n, s, o) {
6556
6556
  "aria-label": a.ariaOptionLabel(a.localize(i[t.label])),
6557
6557
  role: "option"
6558
6558
  }, [
6559
- X(a.$slots, "option", {
6559
+ Q(a.$slots, "option", {
6560
6560
  option: i,
6561
6561
  isSelected: a.isSelected,
6562
6562
  isPointed: a.isPointed,
@@ -6575,13 +6575,13 @@ function g5(a, e, t, n, s, o) {
6575
6575
  /* KEYED_FRAGMENT */
6576
6576
  ))
6577
6577
  ], 10, o5),
6578
- a.noOptions ? X(a.$slots, "nooptions", { key: 0 }, () => [
6578
+ a.noOptions ? Q(a.$slots, "nooptions", { key: 0 }, () => [
6579
6579
  f("div", {
6580
6580
  class: x(a.classList.noOptions),
6581
6581
  innerHTML: a.localize(t.noOptionsText)
6582
6582
  }, null, 10, v5)
6583
6583
  ]) : k("v-if", !0),
6584
- a.noResults ? X(a.$slots, "noresults", { key: 1 }, () => [
6584
+ a.noResults ? Q(a.$slots, "noresults", { key: 1 }, () => [
6585
6585
  f("div", {
6586
6586
  class: x(a.classList.noResults),
6587
6587
  innerHTML: a.localize(t.noResultsText)
@@ -6595,7 +6595,7 @@ function g5(a, e, t, n, s, o) {
6595
6595
  ref: "infiniteLoader"
6596
6596
  },
6597
6597
  [
6598
- X(a.$slots, "infinite", {}, () => [
6598
+ Q(a.$slots, "infinite", {}, () => [
6599
6599
  f(
6600
6600
  "span",
6601
6601
  {
@@ -6610,7 +6610,7 @@ function g5(a, e, t, n, s, o) {
6610
6610
  2
6611
6611
  /* CLASS */
6612
6612
  )) : k("v-if", !0),
6613
- X(a.$slots, "afterlist", { options: a.fo })
6613
+ Q(a.$slots, "afterlist", { options: a.fo })
6614
6614
  ],
6615
6615
  2
6616
6616
  /* CLASS */
@@ -6636,7 +6636,7 @@ function g5(a, e, t, n, s, o) {
6636
6636
  }, null, 8, m5)) : (c(!0), m(
6637
6637
  ve,
6638
6638
  { key: 1 },
6639
- ye(a.plainValue, (i, l) => (c(), m("input", {
6639
+ be(a.plainValue, (i, l) => (c(), m("input", {
6640
6640
  type: "hidden",
6641
6641
  name: `${t.name}[]`,
6642
6642
  value: i,
@@ -6670,7 +6670,7 @@ function g5(a, e, t, n, s, o) {
6670
6670
  }
6671
6671
  We.render = g5;
6672
6672
  We.__file = "src/Multiselect.vue";
6673
- const be = /* @__PURE__ */ K({
6673
+ const ye = /* @__PURE__ */ K({
6674
6674
  __name: "AoMultiselect",
6675
6675
  props: {
6676
6676
  detached: { type: Boolean },
@@ -6686,10 +6686,10 @@ const be = /* @__PURE__ */ K({
6686
6686
  ref: n,
6687
6687
  class: "ao-multiselect"
6688
6688
  }, t1({ _: 2 }, [
6689
- ye(s.$slots, (i, l) => ({
6689
+ be(s.$slots, (i, l) => ({
6690
6690
  name: l,
6691
- fn: U((r) => [
6692
- X(s.$slots, l, fs(vs(r ?? {})))
6691
+ fn: j((r) => [
6692
+ Q(s.$slots, l, fs(vs(r ?? {})))
6693
6693
  ])
6694
6694
  }))
6695
6695
  ]), 1536));
@@ -6697,13 +6697,13 @@ const be = /* @__PURE__ */ K({
6697
6697
  });
6698
6698
  var la;
6699
6699
  function nt() {
6700
- const a = y5(), e = a.appContext.config.globalProperties;
6700
+ const a = b5(), e = a.appContext.config.globalProperties;
6701
6701
  return {
6702
6702
  i18next: e.$i18next,
6703
6703
  t: e.$t.bind(a.proxy)
6704
6704
  };
6705
6705
  }
6706
- function y5() {
6706
+ function b5() {
6707
6707
  const a = st();
6708
6708
  if (!a)
6709
6709
  throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
@@ -6746,7 +6746,7 @@ async function Ue(a, e) {
6746
6746
  i == null || i.select();
6747
6747
  }
6748
6748
  }
6749
- const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"], M5 = { class: "ao-tasks__list-footer" }, k5 = /* @__PURE__ */ K({
6749
+ const y5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id", "value", "readonly", "onChange", "onKeyup"], M5 = { class: "ao-tasks__list-footer" }, k5 = /* @__PURE__ */ K({
6750
6750
  __name: "AoActivityTasks",
6751
6751
  props: {
6752
6752
  activityId: {},
@@ -6762,7 +6762,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6762
6762
  ue(() => t.tasks, (v, p) => {
6763
6763
  Ue(v, p);
6764
6764
  });
6765
- const s = b(
6765
+ const s = y(
6766
6766
  () => {
6767
6767
  var v;
6768
6768
  return ((v = t.users) == null ? void 0 : v.map((p) => ({
@@ -6799,9 +6799,9 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6799
6799
  const p = v.target;
6800
6800
  p == null || p.blur();
6801
6801
  };
6802
- return (v, p) => (c(), m("div", b5, [
6802
+ return (v, p) => (c(), m("div", y5, [
6803
6803
  f("ul", w5, [
6804
- (c(!0), m(ve, null, ye(v.tasks, (C) => {
6804
+ (c(!0), m(ve, null, be(v.tasks, (C) => {
6805
6805
  var w, $;
6806
6806
  return c(), m("li", {
6807
6807
  key: C.id,
@@ -6824,7 +6824,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6824
6824
  onChange: (A) => i(A, C.id),
6825
6825
  onKeyup: Ye(u, ["enter"])
6826
6826
  }, null, 40, $5),
6827
- !v.isTemplate && v.users ? (c(), R(be, {
6827
+ !v.isTemplate && v.users ? (c(), R(ye, {
6828
6828
  key: 1,
6829
6829
  value: ($ = C.assignee) != null && $.id ? [C.assignee.id] : [],
6830
6830
  options: s.value,
@@ -6838,12 +6838,12 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6838
6838
  caret: v.isEditable,
6839
6839
  onChange: (A) => d(A, C.id)
6840
6840
  }, {
6841
- tag: U(({ option: A, handleTagRemove: g }) => [
6841
+ tag: j(({ option: A, handleTagRemove: g }) => [
6842
6842
  T(gt, {
6843
6843
  "user-name": A.label,
6844
6844
  "avatar-url": A.avatar,
6845
6845
  "is-closable": !0,
6846
- onClose: (y) => g(A, y)
6846
+ onClose: (b) => g(A, b)
6847
6847
  }, null, 8, ["user-name", "avatar-url", "onClose"])
6848
6848
  ]),
6849
6849
  _: 2
@@ -6936,7 +6936,7 @@ const A5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], T5 = {
6936
6936
  onDragleave: _e(l, ["prevent"])
6937
6937
  }, [
6938
6938
  (v = d.attachments) != null && v.length && d.attachments.length > 0 ? (c(), m("ul", T5, [
6939
- (c(!0), m(ve, null, ye(d.attachments, (p) => (c(), m("li", {
6939
+ (c(!0), m(ve, null, be(d.attachments, (p) => (c(), m("li", {
6940
6940
  key: p.id,
6941
6941
  class: "ao-file"
6942
6942
  }, [
@@ -6997,10 +6997,10 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
6997
6997
  },
6998
6998
  emits: ["edit", "remove"],
6999
6999
  setup(a, { emit: e }) {
7000
- const t = a, n = b(() => {
7000
+ const t = a, n = y(() => {
7001
7001
  const A = t.user;
7002
7002
  return A ? `${A == null ? void 0 : A.firstName} ${A == null ? void 0 : A.lastName}` : null;
7003
- }), s = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = fa(s), d = b(() => A1(t.createdAt)), u = b(() => A1(t.editedAt)), v = b(() => o.value ? "textarea" : "p"), p = r(), C = l((A) => {
7003
+ }), s = J(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = fa(s), d = y(() => A1(t.createdAt)), u = y(() => A1(t.editedAt)), v = y(() => o.value ? "textarea" : "p"), p = r(), C = l((A) => {
7004
7004
  e("edit", A);
7005
7005
  }), w = () => {
7006
7006
  e("remove");
@@ -7014,11 +7014,11 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7014
7014
  }
7015
7015
  });
7016
7016
  }), (A, g) => {
7017
- var y;
7017
+ var b;
7018
7018
  return c(), m("li", H5, [
7019
7019
  n.value ? (c(), R(gt, {
7020
7020
  key: 0,
7021
- "avatar-url": (y = A.user) == null ? void 0 : y.avatarUrl,
7021
+ "avatar-url": (b = A.user) == null ? void 0 : b.avatarUrl,
7022
7022
  "user-name": n.value,
7023
7023
  class: "ao-comment__avatar"
7024
7024
  }, null, 8, ["avatar-url", "user-name"])) : k("", !0),
@@ -7035,7 +7035,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7035
7035
  Ye(_e(q(C), ["ctrl"]), ["enter"])
7036
7036
  ]
7037
7037
  }, {
7038
- default: U(() => [
7038
+ default: j(() => [
7039
7039
  e1(Z(A.content), 1)
7040
7040
  ]),
7041
7041
  _: 1
@@ -7097,7 +7097,7 @@ const j5 = {
7097
7097
  Oe(() => {
7098
7098
  s.value && (s.value.scrollTop = s.value.scrollHeight);
7099
7099
  });
7100
- const o = vt(t.newComment), i = b({
7100
+ const o = vt(t.newComment), i = y({
7101
7101
  get() {
7102
7102
  return o.value;
7103
7103
  },
@@ -7123,7 +7123,7 @@ const j5 = {
7123
7123
  class: "ao-comments"
7124
7124
  }, [
7125
7125
  ((p = u.comments) == null ? void 0 : p.length) > 0 ? (c(), m("ul", j5, [
7126
- (c(!0), m(ve, null, ye(u.comments, (C) => (c(), R(U5, {
7126
+ (c(!0), m(ve, null, be(u.comments, (C) => (c(), R(U5, {
7127
7127
  key: C.id,
7128
7128
  user: n(C.author.id),
7129
7129
  content: C.message,
@@ -7182,7 +7182,7 @@ const K5 = {
7182
7182
  }, c7 = { class: "ao-field__label" }, f7 = ["disabled"], v7 = {
7183
7183
  key: 0,
7184
7184
  class: "ao-fieldset"
7185
- }, p7 = { class: "ao-fieldset__title" }, h7 = { class: "ao-fieldset__body" }, m7 = { class: "ao-field__row" }, C7 = { class: "ao-field ao-field--multiselect" }, _7 = { class: "ao-fieldset" }, g7 = { class: "ao-fieldset__title" }, y7 = { class: "ao-fieldset__body" }, b7 = { class: "ao-fieldset" }, w7 = { class: "ao-fieldset__title" }, $7 = { class: "ao-fieldset__body" }, M7 = { class: "ao-field__row" }, k7 = { class: "ao-field ao-field--multiselect" }, A7 = { class: "ao-field__label" }, T7 = { class: "ao-field__row" }, S7 = { class: "ao-field ao-field--multiselect" }, E7 = { class: "ao-field__label" }, I7 = { class: "ao-field__row" }, O7 = { class: "ao-field ao-field--multiselect" }, L7 = { class: "ao-field__label" }, V7 = { class: "ao-fieldset" }, D7 = {
7185
+ }, p7 = { class: "ao-fieldset__title" }, h7 = { class: "ao-fieldset__body" }, m7 = { class: "ao-field__row" }, C7 = { class: "ao-field ao-field--multiselect" }, _7 = { class: "ao-fieldset" }, g7 = { class: "ao-fieldset__title" }, b7 = { class: "ao-fieldset__body" }, y7 = { class: "ao-fieldset" }, w7 = { class: "ao-fieldset__title" }, $7 = { class: "ao-fieldset__body" }, M7 = { class: "ao-field__row" }, k7 = { class: "ao-field ao-field--multiselect" }, A7 = { class: "ao-field__label" }, T7 = { class: "ao-field__row" }, S7 = { class: "ao-field ao-field--multiselect" }, E7 = { class: "ao-field__label" }, I7 = { class: "ao-field__row" }, O7 = { class: "ao-field ao-field--multiselect" }, L7 = { class: "ao-field__label" }, V7 = { class: "ao-fieldset" }, D7 = {
7186
7186
  key: 0,
7187
7187
  class: "ao-field__row"
7188
7188
  }, H7 = { class: "ao-field ao-field--multiselect" }, P7 = { class: "ao-field__label" }, B7 = {
@@ -7211,35 +7211,35 @@ const K5 = {
7211
7211
  id: t.activity.id,
7212
7212
  name: h
7213
7213
  });
7214
- }, s = b({
7214
+ }, s = y({
7215
7215
  get() {
7216
7216
  return t.activity.description ?? "";
7217
7217
  },
7218
7218
  set(h) {
7219
7219
  e("update:activity", { id: t.activity.id, description: h });
7220
7220
  }
7221
- }), o = b({
7221
+ }), o = y({
7222
7222
  get() {
7223
7223
  return t.activity.estimation ?? 0;
7224
7224
  },
7225
7225
  set(h) {
7226
7226
  e("update:activity", { id: t.activity.id, estimation: h });
7227
7227
  }
7228
- }), i = b({
7228
+ }), i = y({
7229
7229
  get() {
7230
7230
  return t.activity.important ?? !1;
7231
7231
  },
7232
7232
  set(h) {
7233
7233
  e("update:activity", { id: t.activity.id, important: h });
7234
7234
  }
7235
- }), l = b({
7235
+ }), l = y({
7236
7236
  get() {
7237
7237
  return t.activity.private ?? !1;
7238
7238
  },
7239
7239
  set(h) {
7240
7240
  e("update:activity", { id: t.activity.id, private: h });
7241
7241
  }
7242
- }), r = b({
7242
+ }), r = y({
7243
7243
  get() {
7244
7244
  var h;
7245
7245
  return (h = t.activity.type) == null ? void 0 : h.id;
@@ -7247,10 +7247,10 @@ const K5 = {
7247
7247
  set(h) {
7248
7248
  e("update:activity", { id: t.activity.id, typeId: h });
7249
7249
  }
7250
- }), d = b(() => t.templateActivities.filter((h) => h.id !== t.activity.id).map((h) => ({
7250
+ }), d = y(() => t.templateActivities.filter((h) => h.id !== t.activity.id).map((h) => ({
7251
7251
  label: h.name,
7252
7252
  value: h.id
7253
- }))), u = b({
7253
+ }))), u = y({
7254
7254
  get() {
7255
7255
  var h;
7256
7256
  return (h = t.activity.dependingOn) == null ? void 0 : h.map((O) => O.id);
@@ -7261,13 +7261,13 @@ const K5 = {
7261
7261
  dependingOn: h
7262
7262
  });
7263
7263
  }
7264
- }), v = b(() => d.value.map((h) => {
7264
+ }), v = y(() => d.value.map((h) => {
7265
7265
  var O;
7266
7266
  return {
7267
7267
  ...h,
7268
7268
  disabled: (O = t.activity.blocking) == null ? void 0 : O.some((z) => z.id === h.value)
7269
7269
  };
7270
- })), p = b({
7270
+ })), p = y({
7271
7271
  get() {
7272
7272
  var h;
7273
7273
  return (h = t.activity.blocking) == null ? void 0 : h.map((O) => O.id);
@@ -7278,7 +7278,7 @@ const K5 = {
7278
7278
  blocking: h
7279
7279
  });
7280
7280
  }
7281
- }), C = b(() => d.value.map((h) => {
7281
+ }), C = y(() => d.value.map((h) => {
7282
7282
  var O;
7283
7283
  return {
7284
7284
  ...h,
@@ -7286,10 +7286,10 @@ const K5 = {
7286
7286
  (z) => z.id === h.value
7287
7287
  )
7288
7288
  };
7289
- })), w = b(() => (t.templateMilestones || []).filter((O) => O.id !== t.milestoneId).map((O) => ({
7289
+ })), w = y(() => (t.templateMilestones || []).filter((O) => O.id !== t.milestoneId).map((O) => ({
7290
7290
  label: O.name,
7291
7291
  value: O.id
7292
- }))), $ = b({
7292
+ }))), $ = y({
7293
7293
  get() {
7294
7294
  return t.activity.dependingMilestones;
7295
7295
  },
@@ -7303,16 +7303,16 @@ const K5 = {
7303
7303
  e("addSubtask", h);
7304
7304
  }, g = (h) => {
7305
7305
  e("updateSubtask", h);
7306
- }, y = (h) => {
7306
+ }, b = (h) => {
7307
7307
  e("deleteSubtask", h);
7308
- }, L = b(() => {
7308
+ }, L = y(() => {
7309
7309
  var h;
7310
7310
  return ((h = t.users) == null ? void 0 : h.map((O) => ({
7311
7311
  label: `${O.firstName} ${O.lastName}`,
7312
7312
  value: O.id,
7313
7313
  avatar: O.avatarUrl
7314
7314
  }))) || [];
7315
- }), j = b({
7315
+ }), U = y({
7316
7316
  get() {
7317
7317
  var h, O;
7318
7318
  return (h = t.activity.assignee) != null && h.id ? [(O = t.activity.assignee) == null ? void 0 : O.id] : [];
@@ -7334,7 +7334,7 @@ const K5 = {
7334
7334
  activityId: t.activity.id,
7335
7335
  file: h
7336
7336
  });
7337
- }, G = b(() => {
7337
+ }, G = y(() => {
7338
7338
  var h;
7339
7339
  return (h = t.statuses) == null ? void 0 : h.map((O) => ({
7340
7340
  value: O.id,
@@ -7358,7 +7358,7 @@ const K5 = {
7358
7358
  return (h, O) => (c(), R(L1, {
7359
7359
  onClose: O[9] || (O[9] = (z) => h.$emit("close"))
7360
7360
  }, {
7361
- header: U(() => [
7361
+ header: j(() => [
7362
7362
  h.breadcrumbs ? (c(), m("div", K5, Z(h.breadcrumbs), 1)) : k("", !0),
7363
7363
  T(Ce, {
7364
7364
  title: h.activity.name || "",
@@ -7366,12 +7366,12 @@ const K5 = {
7366
7366
  "is-editable": h.isEditable,
7367
7367
  "onUpdate:title": n
7368
7368
  }, null, 8, ["title", "is-editable"]),
7369
- X(h.$slots, "header", {}, () => {
7369
+ Q(h.$slots, "header", {}, () => {
7370
7370
  var z;
7371
7371
  return [
7372
7372
  G.value ? (c(), m("label", G5, [
7373
7373
  f("span", x5, Z(h.$t("activity.status.label")), 1),
7374
- T(be, {
7374
+ T(ye, {
7375
7375
  options: G.value,
7376
7376
  value: (z = h.activity.status) == null ? void 0 : z.id,
7377
7377
  "can-clear": !1,
@@ -7384,7 +7384,7 @@ const K5 = {
7384
7384
  ];
7385
7385
  })
7386
7386
  ]),
7387
- default: U(() => [
7387
+ default: j(() => [
7388
7388
  f("div", X5, [
7389
7389
  f("fieldset", Q5, [
7390
7390
  f("div", J5, [
@@ -7474,9 +7474,9 @@ const K5 = {
7474
7474
  f("div", h7, [
7475
7475
  f("div", m7, [
7476
7476
  f("div", C7, [
7477
- T(be, {
7478
- modelValue: j.value,
7479
- "onUpdate:modelValue": O[4] || (O[4] = (z) => j.value = z),
7477
+ T(ye, {
7478
+ modelValue: U.value,
7479
+ "onUpdate:modelValue": O[4] || (O[4] = (z) => U.value = z),
7480
7480
  options: L.value,
7481
7481
  "close-on-select": !0,
7482
7482
  searchable: !0,
@@ -7487,7 +7487,7 @@ const K5 = {
7487
7487
  disabled: !h.isEditable,
7488
7488
  caret: h.isEditable
7489
7489
  }, {
7490
- tag: U(({
7490
+ tag: j(({
7491
7491
  option: z,
7492
7492
  handleTagRemove: ae
7493
7493
  }) => [
@@ -7512,7 +7512,7 @@ const K5 = {
7512
7512
  title: h.$t("activity.tasks.title")
7513
7513
  }, null, 8, ["title"])
7514
7514
  ]),
7515
- f("div", y7, [
7515
+ f("div", b7, [
7516
7516
  T(k5, {
7517
7517
  class: "ao-activity-details__tasks ao-field__row",
7518
7518
  tasks: h.activity.tasks || [],
@@ -7523,11 +7523,11 @@ const K5 = {
7523
7523
  "is-template": h.isTemplate,
7524
7524
  onAdd: A,
7525
7525
  onUpdate: g,
7526
- onDelete: y
7526
+ onDelete: b
7527
7527
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
7528
7528
  ])
7529
7529
  ]),
7530
- f("fieldset", b7, [
7530
+ f("fieldset", y7, [
7531
7531
  f("div", w7, [
7532
7532
  T(ce, { name: "FlowsheetOutlineRounded" }),
7533
7533
  T(Ce, {
@@ -7539,7 +7539,7 @@ const K5 = {
7539
7539
  f("div", M7, [
7540
7540
  f("label", k7, [
7541
7541
  f("span", A7, Z(h.$t("activity.dependingOn.label")), 1),
7542
- T(be, {
7542
+ T(ye, {
7543
7543
  modelValue: u.value,
7544
7544
  "onUpdate:modelValue": O[5] || (O[5] = (z) => u.value = z),
7545
7545
  mode: "tags",
@@ -7554,7 +7554,7 @@ const K5 = {
7554
7554
  f("div", T7, [
7555
7555
  f("label", S7, [
7556
7556
  f("span", E7, Z(h.$t("activity.blocking.label")), 1),
7557
- T(be, {
7557
+ T(ye, {
7558
7558
  modelValue: p.value,
7559
7559
  "onUpdate:modelValue": O[6] || (O[6] = (z) => p.value = z),
7560
7560
  mode: "tags",
@@ -7569,7 +7569,7 @@ const K5 = {
7569
7569
  f("div", I7, [
7570
7570
  f("label", O7, [
7571
7571
  f("span", L7, Z(h.$t("activity.dependingMilestone.label")), 1),
7572
- T(be, {
7572
+ T(ye, {
7573
7573
  modelValue: $.value,
7574
7574
  "onUpdate:modelValue": O[7] || (O[7] = (z) => $.value = z),
7575
7575
  mode: "tags",
@@ -7587,7 +7587,7 @@ const K5 = {
7587
7587
  h.activityTypes ? (c(), m("div", D7, [
7588
7588
  f("label", H7, [
7589
7589
  f("span", P7, Z(h.$t("activity.type.label")), 1),
7590
- T(be, {
7590
+ T(ye, {
7591
7591
  modelValue: r.value,
7592
7592
  "onUpdate:modelValue": O[8] || (O[8] = (z) => r.value = z),
7593
7593
  mode: "single",
@@ -7599,7 +7599,7 @@ const K5 = {
7599
7599
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
7600
7600
  ])
7601
7601
  ])) : k("", !0),
7602
- X(h.$slots, "default")
7602
+ Q(h.$slots, "default")
7603
7603
  ])
7604
7604
  ]),
7605
7605
  h.isTemplate !== !0 && h.userId ? (c(), m("div", B7, [
@@ -7650,7 +7650,7 @@ const U7 = /* @__PURE__ */ K({
7650
7650
  setup(a, { emit: e }) {
7651
7651
  const t = a, n = vt(
7652
7652
  t.rule.itemType || me.ACTIVITIES
7653
- ), s = b({
7653
+ ), s = y({
7654
7654
  get() {
7655
7655
  return n.value;
7656
7656
  },
@@ -7661,7 +7661,7 @@ const U7 = /* @__PURE__ */ K({
7661
7661
  subItemId: void 0
7662
7662
  });
7663
7663
  }
7664
- }), o = b(() => Object.values(me)), i = b({
7664
+ }), o = y(() => Object.values(me)), i = y({
7665
7665
  get() {
7666
7666
  return t.rule.subItemId;
7667
7667
  },
@@ -7672,69 +7672,69 @@ const U7 = /* @__PURE__ */ K({
7672
7672
  itemType: t.rule.itemType || s.value
7673
7673
  });
7674
7674
  }
7675
- }), l = b(() => {
7676
- var y;
7677
- return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (y = {
7675
+ }), l = y(() => {
7676
+ var b;
7677
+ return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (b = {
7678
7678
  [me.ACTIVITIES]: t.templateActivities,
7679
7679
  [me.MILESTONES]: t.templateMilestones,
7680
7680
  [me.PHASES]: t.templatePhases
7681
- }[n.value]) == null ? void 0 : y.map((L) => ({
7681
+ }[n.value]) == null ? void 0 : b.map((L) => ({
7682
7682
  value: L.id,
7683
7683
  label: L.name
7684
7684
  }));
7685
- }), r = vt(t.rule.comparator), d = b({
7685
+ }), r = vt(t.rule.comparator), d = y({
7686
7686
  get() {
7687
7687
  return r.value;
7688
7688
  },
7689
7689
  set(g) {
7690
7690
  e("update:rule", { ...t.rule, comparator: g });
7691
7691
  }
7692
- }), u = b(() => Object.values(bd)), v = vt(t.rule.trigger), p = b({
7692
+ }), u = y(() => Object.values(yd)), v = vt(t.rule.trigger), p = y({
7693
7693
  get() {
7694
7694
  return v.value;
7695
7695
  },
7696
7696
  set(g) {
7697
7697
  e("update:rule", { ...t.rule, trigger: g });
7698
7698
  }
7699
- }), C = b(() => Object.values(wd)), w = b({
7699
+ }), C = y(() => Object.values(wd)), w = y({
7700
7700
  get() {
7701
7701
  return t.rule.duration;
7702
7702
  },
7703
7703
  set(g) {
7704
7704
  e("update:rule", { ...t.rule, duration: g });
7705
7705
  }
7706
- }), $ = b({
7706
+ }), $ = y({
7707
7707
  get() {
7708
7708
  return t.rule.durationUnit;
7709
7709
  },
7710
7710
  set(g) {
7711
7711
  e("update:rule", { ...t.rule, durationUnit: g });
7712
7712
  }
7713
- }), A = b(() => Object.values($d));
7714
- return (g, y) => (c(), R(at(g.tagName), { class: "ao-rule-line" }, {
7715
- default: U(() => [
7713
+ }), A = y(() => Object.values($d));
7714
+ return (g, b) => (c(), R(at(g.tagName), { class: "ao-rule-line" }, {
7715
+ default: j(() => [
7716
7716
  T(q(We), {
7717
7717
  modelValue: s.value,
7718
- "onUpdate:modelValue": y[0] || (y[0] = (L) => s.value = L),
7718
+ "onUpdate:modelValue": b[0] || (b[0] = (L) => s.value = L),
7719
7719
  options: o.value
7720
7720
  }, null, 8, ["modelValue", "options"]),
7721
7721
  T(q(We), {
7722
7722
  modelValue: i.value,
7723
- "onUpdate:modelValue": y[1] || (y[1] = (L) => i.value = L),
7723
+ "onUpdate:modelValue": b[1] || (b[1] = (L) => i.value = L),
7724
7724
  options: l.value
7725
7725
  }, null, 8, ["modelValue", "options"]),
7726
7726
  T(q(We), {
7727
7727
  modelValue: p.value,
7728
- "onUpdate:modelValue": y[2] || (y[2] = (L) => p.value = L),
7728
+ "onUpdate:modelValue": b[2] || (b[2] = (L) => p.value = L),
7729
7729
  options: C.value
7730
7730
  }, null, 8, ["modelValue", "options"]),
7731
7731
  T(q(We), {
7732
7732
  modelValue: d.value,
7733
- "onUpdate:modelValue": y[3] || (y[3] = (L) => d.value = L),
7733
+ "onUpdate:modelValue": b[3] || (b[3] = (L) => d.value = L),
7734
7734
  options: u.value
7735
7735
  }, null, 8, ["modelValue", "options"]),
7736
7736
  et(f("input", {
7737
- "onUpdate:modelValue": y[4] || (y[4] = (L) => w.value = L),
7737
+ "onUpdate:modelValue": b[4] || (b[4] = (L) => w.value = L),
7738
7738
  type: "number",
7739
7739
  min: "0"
7740
7740
  }, null, 512), [
@@ -7747,14 +7747,14 @@ const U7 = /* @__PURE__ */ K({
7747
7747
  ]),
7748
7748
  T(q(We), {
7749
7749
  modelValue: $.value,
7750
- "onUpdate:modelValue": y[5] || (y[5] = (L) => $.value = L),
7750
+ "onUpdate:modelValue": b[5] || (b[5] = (L) => $.value = L),
7751
7751
  options: A.value
7752
7752
  }, null, 8, ["modelValue", "options"]),
7753
7753
  T(fe, {
7754
7754
  class: "ao-rule-line__remove",
7755
7755
  "icon-name": "CloseRounded",
7756
7756
  variant: "ghost",
7757
- onClick: y[6] || (y[6] = (L) => g.$emit("close"))
7757
+ onClick: b[6] || (b[6] = (L) => g.$emit("close"))
7758
7758
  })
7759
7759
  ]),
7760
7760
  _: 1
@@ -7778,16 +7778,16 @@ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rule
7778
7778
  e("removeRule", s);
7779
7779
  };
7780
7780
  return (s, o) => (c(), R(L1, null, {
7781
- header: U(() => [
7781
+ header: j(() => [
7782
7782
  T(Ce, {
7783
7783
  title: s.$t("template.rules.title"),
7784
7784
  level: 2
7785
7785
  }, null, 8, ["title"])
7786
7786
  ]),
7787
- default: U(() => [
7787
+ default: j(() => [
7788
7788
  f("div", j7, [
7789
7789
  f("ul", Z7, [
7790
- (c(!0), m(ve, null, ye(s.rules, (i) => (c(), R(U7, {
7790
+ (c(!0), m(ve, null, be(s.rules, (i) => (c(), R(U7, {
7791
7791
  key: i.id,
7792
7792
  rule: i,
7793
7793
  "template-phases": s.templatePhases,
@@ -7831,7 +7831,7 @@ const q7 = {
7831
7831
  },
7832
7832
  emits: ["addItem", "removeItem", "updateItem", "addRule", "removeRule", "addFiles", "removeFile"],
7833
7833
  setup(a, { emit: e }) {
7834
- const t = a, { t: n } = nt(), s = b(
7834
+ const t = a, { t: n } = nt(), s = y(
7835
7835
  () => {
7836
7836
  var I;
7837
7837
  return (I = t.templates) == null ? void 0 : I.find((V) => V.id === t.templateId);
@@ -7849,7 +7849,7 @@ const q7 = {
7849
7849
  o.value && Ue(I, V);
7850
7850
  }
7851
7851
  );
7852
- const i = b(() => {
7852
+ const i = y(() => {
7853
7853
  var I, V;
7854
7854
  return (V = (I = s == null ? void 0 : s.value) == null ? void 0 : I.phases) == null ? void 0 : V.find((F) => F.id === t.phaseId);
7855
7855
  });
@@ -7862,7 +7862,7 @@ const q7 = {
7862
7862
  o.value && Ue(I, V);
7863
7863
  }
7864
7864
  );
7865
- const l = b(() => {
7865
+ const l = y(() => {
7866
7866
  var I, V;
7867
7867
  return (V = (I = i.value) == null ? void 0 : I.milestones) == null ? void 0 : V.find(
7868
7868
  (F) => F.id === t.milestoneId
@@ -7877,13 +7877,13 @@ const q7 = {
7877
7877
  o.value && Ue(I, V);
7878
7878
  }
7879
7879
  );
7880
- const r = b(() => {
7880
+ const r = y(() => {
7881
7881
  var I, V;
7882
7882
  return ((V = (I = s.value) == null ? void 0 : I.phases) == null ? void 0 : V.reduce((F, ne) => {
7883
7883
  const M = ne.milestones || [];
7884
7884
  return [...F, ...M];
7885
7885
  }, [])) || [];
7886
- }), d = b(() => {
7886
+ }), d = y(() => {
7887
7887
  var I, V;
7888
7888
  return ((V = (I = s.value) == null ? void 0 : I.phases) == null ? void 0 : V.reduce((F, ne) => {
7889
7889
  const Y = (ne.milestones || []).reduce(
@@ -7892,18 +7892,18 @@ const q7 = {
7892
7892
  );
7893
7893
  return [...F, ...Y];
7894
7894
  }, [])) || [];
7895
- }), u = b(() => {
7895
+ }), u = y(() => {
7896
7896
  var I, V;
7897
7897
  return (V = (I = l.value) == null ? void 0 : I.activities) == null ? void 0 : V.find(
7898
7898
  (F) => F.id === t.activityId
7899
7899
  );
7900
- }), v = b(() => {
7900
+ }), v = y(() => {
7901
7901
  var I;
7902
7902
  return (I = t.activityTypes) == null ? void 0 : I.map((V) => ({
7903
7903
  label: V.name,
7904
7904
  value: V.id
7905
7905
  }));
7906
- }), p = b(() => {
7906
+ }), p = y(() => {
7907
7907
  var I;
7908
7908
  return ((I = s.value) == null ? void 0 : I.name) || t.templateId;
7909
7909
  }), C = () => {
@@ -7946,7 +7946,7 @@ const q7 = {
7946
7946
  });
7947
7947
  }, g = (I) => {
7948
7948
  e("updateItem", I);
7949
- }, y = (I) => {
7949
+ }, b = (I) => {
7950
7950
  if (!i.value)
7951
7951
  return;
7952
7952
  const { name: V, rank: F } = ht(
@@ -7973,7 +7973,7 @@ const q7 = {
7973
7973
  id: I.id
7974
7974
  }
7975
7975
  });
7976
- }, j = (I) => {
7976
+ }, U = (I) => {
7977
7977
  const { id: V, ...F } = I;
7978
7978
  e("updateItem", {
7979
7979
  itemType: me.MILESTONES,
@@ -8071,7 +8071,7 @@ const q7 = {
8071
8071
  "can-go-back": !0,
8072
8072
  onGoBack: V[1] || (V[1] = (S) => I.$router.push({ name: q(ft).TEMPLATES_LIST }))
8073
8073
  }, {
8074
- primary: U(() => [
8074
+ primary: j(() => [
8075
8075
  T(Ce, {
8076
8076
  title: p.value,
8077
8077
  level: 2,
@@ -8093,14 +8093,14 @@ const q7 = {
8093
8093
  handle: ".ao-card__drag",
8094
8094
  onChange: h
8095
8095
  }, {
8096
- header: U(() => [
8096
+ header: j(() => [
8097
8097
  T(Ce, {
8098
8098
  title: I.$t("template.phases.title"),
8099
8099
  level: 3,
8100
8100
  class: "ao-list__title"
8101
8101
  }, null, 8, ["title"])
8102
8102
  ]),
8103
- item: U(({ element: S }) => {
8103
+ item: j(({ element: S }) => {
8104
8104
  var N;
8105
8105
  return [
8106
8106
  T(W0, {
@@ -8119,7 +8119,7 @@ const q7 = {
8119
8119
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
8120
8120
  ];
8121
8121
  }),
8122
- footer: U(() => [
8122
+ footer: j(() => [
8123
8123
  f("div", K7, [
8124
8124
  T(Qe, {
8125
8125
  "icon-name": "AddBoxOutlineRounded",
@@ -8137,8 +8137,8 @@ const q7 = {
8137
8137
  "template-id": I.templateId,
8138
8138
  phase: i.value,
8139
8139
  "milestone-id": (F = l.value) == null ? void 0 : F.id,
8140
- onAddMilestone: y,
8141
- onUpdateMilestone: j,
8140
+ onAddMilestone: b,
8141
+ onUpdateMilestone: U,
8142
8142
  onUpdatePhase: g,
8143
8143
  onRemoveMilestone: L
8144
8144
  }, null, 8, ["template-id", "phase", "milestone-id"])) : k("", !0)
@@ -8179,8 +8179,8 @@ const q7 = {
8179
8179
  onAddFiles: re,
8180
8180
  onRemoveFile: oe
8181
8181
  }, {
8182
- default: U(() => [
8183
- X(I.$slots, "activityDetailsBody")
8182
+ default: j(() => [
8183
+ Q(I.$slots, "activityDetailsBody")
8184
8184
  ]),
8185
8185
  _: 3
8186
8186
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : k("", !0)
@@ -8218,15 +8218,15 @@ const Q7 = {
8218
8218
  return (e, t) => (c(), R(at(e.tagName), {
8219
8219
  class: x(["ao-card", { "ao-card--clickable": e.isClickable }])
8220
8220
  }, {
8221
- default: U(() => [
8221
+ default: j(() => [
8222
8222
  e.$slots.header ? (c(), m("header", Q7, [
8223
- X(e.$slots, "header")
8223
+ Q(e.$slots, "header")
8224
8224
  ])) : k("", !0),
8225
8225
  f("div", J7, [
8226
- X(e.$slots, "default")
8226
+ Q(e.$slots, "default")
8227
8227
  ]),
8228
8228
  e.$slots.footer ? (c(), m("footer", e9, [
8229
- X(e.$slots, "footer")
8229
+ Q(e.$slots, "footer")
8230
8230
  ])) : k("", !0)
8231
8231
  ]),
8232
8232
  _: 3
@@ -8240,12 +8240,12 @@ const U1 = /* @__PURE__ */ K({
8240
8240
  status: {}
8241
8241
  },
8242
8242
  setup(a) {
8243
- const e = a, t = b(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
8243
+ const e = a, t = y(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
8244
8244
  return (n, s) => (c(), m("div", {
8245
8245
  class: x(["ao-progress", n.status ? `ao-progress--${n.status}` : ""]),
8246
8246
  role: "meter"
8247
8247
  }, [
8248
- (c(!0), m(ve, null, ye(t.value, (o) => (c(), m("div", {
8248
+ (c(!0), m(ve, null, be(t.value, (o) => (c(), m("div", {
8249
8249
  key: o,
8250
8250
  class: x(["ao-progress__progress"]),
8251
8251
  style: ua({ width: `${o * 100}%` })
@@ -8269,15 +8269,15 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8269
8269
  setup(a, { emit: e }) {
8270
8270
  const t = a, n = (l) => {
8271
8271
  e("update:title", l);
8272
- }, s = b(() => {
8272
+ }, s = y(() => {
8273
8273
  var l;
8274
8274
  return (l = t.milestones) == null ? void 0 : l.length;
8275
- }), o = b(() => {
8275
+ }), o = y(() => {
8276
8276
  var l;
8277
8277
  return (l = t.milestones) == null ? void 0 : l.filter((r) => r.status === k1.done).length;
8278
- }), i = b(() => (o.value || 0) / (s.value || 1));
8278
+ }), i = y(() => (o.value || 0) / (s.value || 1));
8279
8279
  return (l, r) => (c(), R(R1, { class: "ao-card-project-phase" }, t1({
8280
- default: U(() => [
8280
+ default: j(() => [
8281
8281
  T(Ce, {
8282
8282
  id: l.id,
8283
8283
  class: "ao-card-project-phase__title",
@@ -8287,7 +8287,7 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8287
8287
  "onUpdate:title": n
8288
8288
  }, null, 8, ["id", "title", "is-editable"])
8289
8289
  ]),
8290
- footer: U(() => [
8290
+ footer: j(() => [
8291
8291
  f("div", a9, [
8292
8292
  f("div", s9, [
8293
8293
  s.value ? (c(), m(ve, { key: 0 }, [
@@ -8304,7 +8304,7 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8304
8304
  }, null, 8, ["percentages"])
8305
8305
  ], 64)) : k("", !0),
8306
8306
  l.$slots.secondary ? (c(), m("div", o9, [
8307
- X(l.$slots, "secondary")
8307
+ Q(l.$slots, "secondary")
8308
8308
  ])) : k("", !0)
8309
8309
  ])
8310
8310
  ])
@@ -8313,7 +8313,7 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8313
8313
  }, [
8314
8314
  l.isEditable ? {
8315
8315
  name: "header",
8316
- fn: U(() => [
8316
+ fn: j(() => [
8317
8317
  f("div", t9, [
8318
8318
  T(fe, {
8319
8319
  class: "ao-card-project-phase__archive",
@@ -8350,13 +8350,13 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8350
8350
  },
8351
8351
  emits: ["updateMilestone", "archiveMilestone"],
8352
8352
  setup(a, { emit: e }) {
8353
- const t = a, n = b(() => {
8353
+ const t = a, n = y(() => {
8354
8354
  var l;
8355
8355
  return (l = t.activities) == null ? void 0 : l.length;
8356
- }), s = b(() => {
8356
+ }), s = y(() => {
8357
8357
  var l;
8358
8358
  return (l = t.activities) == null ? void 0 : l.filter((r) => Aa(r, t.closedStatus)).length;
8359
- }), o = b(() => (s.value || 0) / (n.value || 1)), i = (l) => {
8359
+ }), o = y(() => (s.value || 0) / (n.value || 1)), i = (l) => {
8360
8360
  e("updateMilestone", { id: t.id, name: l });
8361
8361
  };
8362
8362
  return (l, r) => (c(), R(R1, {
@@ -8364,7 +8364,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8364
8364
  "is-clickable": !0,
8365
8365
  "tag-name": "li"
8366
8366
  }, {
8367
- default: U(() => [
8367
+ default: j(() => [
8368
8368
  f("div", r9, [
8369
8369
  T(Ce, {
8370
8370
  id: l.id,
@@ -8388,7 +8388,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8388
8388
  ])) : k("", !0)
8389
8389
  ])
8390
8390
  ]),
8391
- footer: U(() => [
8391
+ footer: j(() => [
8392
8392
  f("div", d9, [
8393
8393
  f("div", c9, [
8394
8394
  n.value ? (c(), m(ve, { key: 0 }, [
@@ -8405,7 +8405,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8405
8405
  }, null, 8, ["percentages"])
8406
8406
  ], 64)) : k("", !0),
8407
8407
  l.$slots.secondary ? (c(), m("div", p9, [
8408
- X(l.$slots, "secondary")
8408
+ Q(l.$slots, "secondary")
8409
8409
  ])) : k("", !0)
8410
8410
  ])
8411
8411
  ])
@@ -8417,7 +8417,7 @@ const r9 = { class: "ao-card-project-milestone__default" }, u9 = {
8417
8417
  const m9 = { class: "ao-project-phase" }, C9 = {
8418
8418
  key: 0,
8419
8419
  class: "ao-project-phase__drag ao-card__drag"
8420
- }, _9 = { class: "ao-project-phase__col-phase" }, g9 = { class: "ao-project-phase__col-milestones" }, y9 = { class: "ao-project-phase__milestones" }, b9 = { class: "ao-project-phase__milestones-list-footer" }, w9 = /* @__PURE__ */ K({
8420
+ }, _9 = { class: "ao-project-phase__col-phase" }, g9 = { class: "ao-project-phase__col-milestones" }, b9 = { class: "ao-project-phase__milestones" }, y9 = { class: "ao-project-phase__milestones-list-footer" }, w9 = /* @__PURE__ */ K({
8421
8421
  __name: "AoProjectPhase",
8422
8422
  props: {
8423
8423
  phase: {},
@@ -8432,7 +8432,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8432
8432
  });
8433
8433
  const s = (v) => {
8434
8434
  e("updatePhase", { id: t.phase.id, name: v });
8435
- }, o = b(() => t.phase.milestones.map((v) => v0(v, t.closedStatus))), i = (v) => {
8435
+ }, o = y(() => t.phase.milestones.map((v) => v0(v, t.closedStatus))), i = (v) => {
8436
8436
  const { name: p, rank: C } = ht(o.value ?? [], "milestone", n);
8437
8437
  e("addMilestone", { name: p, rank: C, phaseId: v });
8438
8438
  }, l = (v) => {
@@ -8469,7 +8469,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8469
8469
  }, null, 8, ["id", "milestones", "name", "is-editable"])
8470
8470
  ]),
8471
8471
  f("div", g9, [
8472
- f("div", y9, [
8472
+ f("div", b9, [
8473
8473
  T(q(Xe), Ee({
8474
8474
  class: "ao-project-phase__milestones-list",
8475
8475
  list: o.value,
@@ -8477,7 +8477,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8477
8477
  "item-key": "id",
8478
8478
  group: "kanban"
8479
8479
  }, v.$attrs, { onChange: u }), {
8480
- item: U(({ element: C }) => [
8480
+ item: j(({ element: C }) => [
8481
8481
  T(h9, {
8482
8482
  id: C.id,
8483
8483
  name: C.name,
@@ -8496,7 +8496,7 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8496
8496
  ]),
8497
8497
  _: 1
8498
8498
  }, 16, ["list", "disabled"]),
8499
- f("div", b9, [
8499
+ f("div", y9, [
8500
8500
  v.isEditable ? (c(), R(Qe, {
8501
8501
  key: 0,
8502
8502
  label: v.$t("project.milestone.add"),
@@ -8555,7 +8555,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
8555
8555
  handle: ".ao-card__drag",
8556
8556
  onChange: l
8557
8557
  }, {
8558
- item: U(({ element: p }) => [
8558
+ item: j(({ element: p }) => [
8559
8559
  T(w9, {
8560
8560
  phase: p,
8561
8561
  "is-editable": u.isEditable,
@@ -8592,7 +8592,7 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
8592
8592
  },
8593
8593
  emits: ["apply"],
8594
8594
  setup(a, { emit: e }) {
8595
- const t = a, n = b(() => t.templates.map((l) => ({
8595
+ const t = a, n = y(() => t.templates.map((l) => ({
8596
8596
  value: l.id,
8597
8597
  label: l.name
8598
8598
  }))), s = J(null), o = (l) => {
@@ -8601,20 +8601,20 @@ const E9 = ["onSubmit"], I9 = { class: "ao-add-template-modal__form-body" }, O9
8601
8601
  s.value && e("apply", s.value, t.projectId);
8602
8602
  };
8603
8603
  return (l, r) => (c(), R(L1, { size: "sm" }, {
8604
- header: U(() => [
8604
+ header: j(() => [
8605
8605
  T(Ce, {
8606
8606
  title: l.$t("project.template.add.title"),
8607
8607
  level: 3
8608
8608
  }, null, 8, ["title"])
8609
8609
  ]),
8610
- default: U(() => [
8610
+ default: j(() => [
8611
8611
  f("form", {
8612
8612
  class: "ao-add-template-modal__form",
8613
8613
  onSubmit: _e(i, ["prevent"])
8614
8614
  }, [
8615
8615
  f("div", I9, [
8616
8616
  f("div", O9, [
8617
- T(be, {
8617
+ T(ye, {
8618
8618
  value: s.value,
8619
8619
  options: n.value,
8620
8620
  detached: !0,
@@ -8704,7 +8704,7 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8704
8704
  },
8705
8705
  emits: ["addPhase", "updatePhase", "archivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "addActivity", "update:activity", "archiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate"],
8706
8706
  setup(a, { emit: e }) {
8707
- const t = a, { t: n } = nt(), s = b(
8707
+ const t = a, { t: n } = nt(), s = y(
8708
8708
  () => t.phases.flatMap((E) => E.milestones)
8709
8709
  ), o = () => {
8710
8710
  const { name: E, rank: ee } = ht(t.phases, "phase", n);
@@ -8731,13 +8731,13 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8731
8731
  e("updateSubtask", E);
8732
8732
  }, A = (E) => {
8733
8733
  e("deleteSubtask", E);
8734
- }, g = b(
8734
+ }, g = y(
8735
8735
  () => s.value.flatMap((E) => E.activities)
8736
- ), y = (E) => {
8736
+ ), b = (E) => {
8737
8737
  e("addFiles", E);
8738
8738
  }, L = (E) => {
8739
8739
  e("removeFile", E);
8740
- }, j = (E) => {
8740
+ }, U = (E) => {
8741
8741
  e("addComment", E);
8742
8742
  }, W = (E) => {
8743
8743
  e("updateComment", E);
@@ -8752,7 +8752,7 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8752
8752
  f("div", Ee({ class: "ao-project-overview" }, E.$attrs), [
8753
8753
  f("div", B9, [
8754
8754
  T(r1, null, {
8755
- primary: U(() => [
8755
+ primary: j(() => [
8756
8756
  T(Ba, {
8757
8757
  "is-left": !0,
8758
8758
  "right-label": E.$t("project.switch.feed"),
@@ -8811,17 +8811,12 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8811
8811
  onAddSubtask: w,
8812
8812
  onUpdateSubtask: $,
8813
8813
  onDeleteSubtask: A,
8814
- onAddFiles: y,
8814
+ onAddFiles: b,
8815
8815
  onRemoveFile: L,
8816
- onAddComment: j,
8816
+ onAddComment: U,
8817
8817
  onUpdateComment: W,
8818
8818
  onRemoveComment: H
8819
- }, {
8820
- default: U(() => [
8821
- X(E.$slots, "activityDetailsBody")
8822
- ]),
8823
- _: 3
8824
- }, 8, ["activities", "is-task-checkable", "statuses", "phases", "users", "user-id", "is-editable"])
8819
+ }, null, 8, ["activities", "is-task-checkable", "statuses", "phases", "users", "user-id", "is-editable"])
8825
8820
  ]))
8826
8821
  ], 16),
8827
8822
  (c(), R(It, { to: "body" }, [
@@ -8889,23 +8884,23 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8889
8884
  id: t.id,
8890
8885
  name: p
8891
8886
  });
8892
- }, s = b(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = b(() => t.assignee ? [t.assignee] : []), i = b(() => A1(t.deadline)), l = (p) => {
8887
+ }, s = y(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = y(() => t.assignee ? [t.assignee] : []), i = y(() => A1(t.deadline)), l = (p) => {
8893
8888
  const { firstName: C, lastName: w } = p || {};
8894
8889
  return `${C ?? ""}${C ? " " : ""}${w ?? ""}`;
8895
8890
  }, r = (p) => {
8896
8891
  e("removeAssignee", p);
8897
- }, d = b(() => {
8892
+ }, d = y(() => {
8898
8893
  var p;
8899
8894
  return (p = t.tasks) == null ? void 0 : p.length;
8900
- }), u = b(() => {
8895
+ }), u = y(() => {
8901
8896
  var p;
8902
8897
  return (p = t.tasks) == null ? void 0 : p.filter((C) => C.isDone).length;
8903
- }), v = b(() => (u.value || 0) / (d.value || 1));
8898
+ }), v = y(() => (u.value || 0) / (d.value || 1));
8904
8899
  return (p, C) => (c(), R(R1, {
8905
8900
  class: "ao-card-feed",
8906
8901
  "is-clickable": !0
8907
8902
  }, {
8908
- header: U(() => [
8903
+ header: j(() => [
8909
8904
  f("div", U9, [
8910
8905
  p.projectName ? (c(), R(E1, {
8911
8906
  key: 0,
@@ -8930,11 +8925,11 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8930
8925
  })) : k("", !0)
8931
8926
  ])) : k("", !0),
8932
8927
  p.$slots.secondary ? (c(), m("div", Z9, [
8933
- X(p.$slots, "secondary")
8928
+ Q(p.$slots, "secondary")
8934
8929
  ])) : k("", !0)
8935
8930
  ])
8936
8931
  ]),
8937
- default: U(() => [
8932
+ default: j(() => [
8938
8933
  f("div", F9, [
8939
8934
  s.value ? (c(), m("span", q9, Z(s.value), 1)) : k("", !0),
8940
8935
  T(Ce, {
@@ -8947,11 +8942,11 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8947
8942
  p.deadline ? (c(), m("span", z9, Z(i.value), 1)) : k("", !0)
8948
8943
  ])
8949
8944
  ]),
8950
- footer: U(() => [
8945
+ footer: j(() => [
8951
8946
  f("div", W9, [
8952
8947
  f("div", Y9, [
8953
8948
  f("ul", K9, [
8954
- (c(!0), m(ve, null, ye(o.value, (w) => (c(), m(ve, {
8949
+ (c(!0), m(ve, null, be(o.value, (w) => (c(), m(ve, {
8955
8950
  key: w.id
8956
8951
  }, [
8957
8952
  w ? (c(), m("li", G9, [
@@ -9017,16 +9012,16 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9017
9012
  },
9018
9013
  emits: ["close", "addActivity", "updateActivity", "archiveActivity"],
9019
9014
  setup(a, { emit: e }) {
9020
- const t = a, { t: n } = nt(), s = b(() => {
9015
+ const t = a, { t: n } = nt(), s = y(() => {
9021
9016
  var p;
9022
9017
  return (p = t.phases) == null ? void 0 : p.find((C) => C.id === t.phaseId);
9023
- }), o = b(() => {
9018
+ }), o = y(() => {
9024
9019
  var p;
9025
9020
  return (p = t.phases) == null ? void 0 : p.flatMap((C) => C.milestones);
9026
- }), i = b(() => {
9021
+ }), i = y(() => {
9027
9022
  var p;
9028
9023
  return (p = o.value) == null ? void 0 : p.find((C) => C.id === t.milestoneId);
9029
- }), l = b(() => {
9024
+ }), l = y(() => {
9030
9025
  var p;
9031
9026
  return (p = i.value) == null ? void 0 : p.activities;
9032
9027
  });
@@ -9080,8 +9075,8 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9080
9075
  "item-key": "id",
9081
9076
  group: "kanban"
9082
9077
  }, p.$attrs, { onChange: v }), {
9083
- item: U(({ element: $ }) => {
9084
- var A, g, y, L;
9078
+ item: j(({ element: $ }) => {
9079
+ var A, g, b, L;
9085
9080
  return [
9086
9081
  T(Na, {
9087
9082
  id: $.id,
@@ -9092,12 +9087,12 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9092
9087
  important: $.important,
9093
9088
  users: p.users,
9094
9089
  assignee: $.assignee,
9095
- comments: (y = $.comments) == null ? void 0 : y.length,
9090
+ comments: (b = $.comments) == null ? void 0 : b.length,
9096
9091
  attachments: (L = $.attachments) == null ? void 0 : L.length,
9097
9092
  tasks: $.tasks,
9098
9093
  "is-editable": p.isEditable,
9099
9094
  "is-private": $.private,
9100
- onClick: (j) => p.$router.push({
9095
+ onClick: (U) => p.$router.push({
9101
9096
  name: q(He).activity,
9102
9097
  params: { milestoneId: p.milestoneId, activityId: $.id }
9103
9098
  }),
@@ -9106,7 +9101,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9106
9101
  }, t1({ _: 2 }, [
9107
9102
  p.isEditable ? {
9108
9103
  name: "secondary",
9109
- fn: U(() => [
9104
+ fn: j(() => [
9110
9105
  T(fe, {
9111
9106
  color: "primary",
9112
9107
  variant: "ghost",
@@ -9155,23 +9150,23 @@ const d4 = /* @__PURE__ */ K({
9155
9150
  },
9156
9151
  emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
9157
9152
  setup(a, { emit: e }) {
9158
- const t = a, n = b(() => {
9153
+ const t = a, n = y(() => {
9159
9154
  var g;
9160
- return (g = t.phases) == null ? void 0 : g.find((y) => y.id === t.phaseId);
9161
- }), s = b(() => {
9155
+ return (g = t.phases) == null ? void 0 : g.find((b) => b.id === t.phaseId);
9156
+ }), s = y(() => {
9162
9157
  var g;
9163
- return (g = t.phases) == null ? void 0 : g.flatMap((y) => y.milestones);
9164
- }), o = b(() => {
9158
+ return (g = t.phases) == null ? void 0 : g.flatMap((b) => b.milestones);
9159
+ }), o = y(() => {
9165
9160
  var g;
9166
- return (g = s.value) == null ? void 0 : g.find((y) => y.id === t.milestoneId);
9167
- }), i = b(() => {
9161
+ return (g = s.value) == null ? void 0 : g.find((b) => b.id === t.milestoneId);
9162
+ }), i = y(() => {
9168
9163
  var g;
9169
- return (g = t.activities) == null ? void 0 : g.find((y) => y.id === t.activityId);
9170
- }), l = b(() => {
9164
+ return (g = t.activities) == null ? void 0 : g.find((b) => b.id === t.activityId);
9165
+ }), l = y(() => {
9171
9166
  var g;
9172
- return (g = t.activityTypes) == null ? void 0 : g.map((y) => ({
9173
- value: y,
9174
- label: y
9167
+ return (g = t.activityTypes) == null ? void 0 : g.map((b) => ({
9168
+ value: b,
9169
+ label: b
9175
9170
  }));
9176
9171
  }), r = (g) => {
9177
9172
  e("update:activity", g);
@@ -9192,8 +9187,8 @@ const d4 = /* @__PURE__ */ K({
9192
9187
  }, A = (g) => {
9193
9188
  e("removeComment", g);
9194
9189
  };
9195
- return (g, y) => {
9196
- var L, j;
9190
+ return (g, b) => {
9191
+ var L, U;
9197
9192
  return i.value ? (c(), R(N1, {
9198
9193
  key: 0,
9199
9194
  activity: i.value,
@@ -9205,7 +9200,7 @@ const d4 = /* @__PURE__ */ K({
9205
9200
  "user-id": g.userId,
9206
9201
  "is-task-checkable": g.isTaskCheckable,
9207
9202
  statuses: g.statuses,
9208
- breadcrumbs: `${(L = n.value) == null ? void 0 : L.name} / ${(j = o.value) == null ? void 0 : j.name}`,
9203
+ breadcrumbs: `${(L = n.value) == null ? void 0 : L.name} / ${(U = o.value) == null ? void 0 : U.name}`,
9209
9204
  "is-editable": g.isEditable,
9210
9205
  onClose: g.$router.back,
9211
9206
  "onUpdate:activity": r,
@@ -9287,15 +9282,15 @@ function M1(a) {
9287
9282
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
9288
9283
  }
9289
9284
  const g4 = p4 ? window : void 0;
9290
- function y4() {
9285
+ function b4() {
9291
9286
  const a = J(!1);
9292
9287
  return st() && Dt(() => {
9293
9288
  a.value = !0;
9294
9289
  }), a;
9295
9290
  }
9296
- function b4(a) {
9297
- const e = y4();
9298
- return b(() => (e.value, !!a()));
9291
+ function y4(a) {
9292
+ const e = b4();
9293
+ return y(() => (e.value, !!a()));
9299
9294
  }
9300
9295
  function w4(a, e, t = {}) {
9301
9296
  const {
@@ -9304,7 +9299,7 @@ function w4(a, e, t = {}) {
9304
9299
  threshold: o = 0.1,
9305
9300
  window: i = g4,
9306
9301
  immediate: l = !0
9307
- } = t, r = b4(() => i && "IntersectionObserver" in i), d = b(() => {
9302
+ } = t, r = y4(() => i && "IntersectionObserver" in i), d = y(() => {
9308
9303
  const w = Jt(a);
9309
9304
  return (Array.isArray(w) ? w : [w]).map(M1).filter(h4);
9310
9305
  });
@@ -9399,7 +9394,7 @@ const $4 = {
9399
9394
  });
9400
9395
  };
9401
9396
  return (r, d) => (c(), m("div", $4, [
9402
- r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
9397
+ r.title || r.$slots.header ? Q(r.$slots, "header", { key: 0 }, () => {
9403
9398
  var u;
9404
9399
  return [
9405
9400
  f("div", M4, [
@@ -9421,8 +9416,8 @@ const $4 = {
9421
9416
  disabled: !r.isEditable,
9422
9417
  onChange: l
9423
9418
  }), {
9424
- item: U(({ element: u }) => {
9425
- var v, p, C, w, $, A, g, y;
9419
+ item: j(({ element: u }) => {
9420
+ var v, p, C, w, $, A, g, b;
9426
9421
  return [
9427
9422
  T(Na, {
9428
9423
  id: u.id,
@@ -9438,7 +9433,7 @@ const $4 = {
9438
9433
  important: u.important,
9439
9434
  type: u.type,
9440
9435
  comments: (g = u.comments) == null ? void 0 : g.length,
9441
- attachments: (y = u.attachments) == null ? void 0 : y.length,
9436
+ attachments: (b = u.attachments) == null ? void 0 : b.length,
9442
9437
  users: r.users,
9443
9438
  assignee: u.assignee,
9444
9439
  "is-editable": r.isEditable,
@@ -9450,7 +9445,7 @@ const $4 = {
9450
9445
  onClick: () => o(u.id),
9451
9446
  onRemoveAssignee: () => r.isEditable && i({ id: u.id, assigneeId: null })
9452
9447
  }, {
9453
- secondary: U(() => [
9448
+ secondary: j(() => [
9454
9449
  r.isEditable ? (c(), R(fe, {
9455
9450
  key: 0,
9456
9451
  color: "primary",
@@ -9467,7 +9462,7 @@ const $4 = {
9467
9462
  }, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "is-private", "onClick", "onRemoveAssignee"])
9468
9463
  ];
9469
9464
  }),
9470
- footer: U(() => [
9465
+ footer: j(() => [
9471
9466
  r.isLoading ? (c(), m("div", k4, [
9472
9467
  T(ce, { name: "Loading" })
9473
9468
  ])) : r.hasMore ? (c(), m("div", {
@@ -9482,7 +9477,7 @@ const $4 = {
9482
9477
  _: 1
9483
9478
  }, 16, ["list", "disabled"]),
9484
9479
  r.$slots.footer || r.footerLabel ? (c(), m("div", E4, [
9485
- X(r.$slots, "footer", {}, () => [
9480
+ Q(r.$slots, "footer", {}, () => [
9486
9481
  r.isEditable ? (c(), R(Qe, {
9487
9482
  key: 0,
9488
9483
  "icon-name": "AddBoxOutlineRounded",
@@ -9535,7 +9530,7 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
9535
9530
  }
9536
9531
  });
9537
9532
  function D4(a) {
9538
- const e = J(), t = b(
9533
+ const e = J(), t = y(
9539
9534
  () => a.value.find(
9540
9535
  (s) => s.id === e.value
9541
9536
  )
@@ -9600,7 +9595,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9600
9595
  },
9601
9596
  { immediate: !0 }
9602
9597
  );
9603
- const v = b(() => {
9598
+ const v = y(() => {
9604
9599
  var M;
9605
9600
  return !i.value || !i.value.milestone ? "" : `${((M = i.value.milestone.phase) == null ? void 0 : M.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
9606
9601
  }), p = (M) => {
@@ -9613,32 +9608,32 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9613
9608
  t.filters.assigneeId.length > 0 && (S.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (S.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (S.typeId = t.filters.typeId[0]), u.value = !0, e("addActivity", S);
9614
9609
  }, C = (M, Y) => {
9615
9610
  u.value = !1, e("update:filters", { ...t.filters, [M]: Y });
9616
- }, w = b(() => t.project ? [t.project] : t.projects ?? []), $ = b(() => w.value.map((M) => ({
9611
+ }, w = y(() => t.project ? [t.project] : t.projects ?? []), $ = y(() => w.value.map((M) => ({
9617
9612
  value: M.id,
9618
9613
  label: M.name
9619
- }))), A = b(() => {
9614
+ }))), A = y(() => {
9620
9615
  var M;
9621
9616
  return (M = t.activityTypes) == null ? void 0 : M.map((Y) => ({
9622
9617
  value: Y.id,
9623
9618
  label: Y.name
9624
9619
  }));
9625
- }), g = b(() => t.users.map((M) => ({
9620
+ }), g = y(() => t.users.map((M) => ({
9626
9621
  value: M.id,
9627
9622
  label: `${M.firstName} ${M.lastName}`,
9628
9623
  avatar: M.avatarUrl
9629
- }))), y = (M) => {
9624
+ }))), b = (M) => {
9630
9625
  i.value && e("update:activity", M);
9631
9626
  }, L = (M) => {
9632
9627
  e("update:activity", M);
9633
- }, j = (M) => {
9628
+ }, U = (M) => {
9634
9629
  e("archiveActivity", M);
9635
- }, W = b({
9630
+ }, W = y({
9636
9631
  get() {
9637
9632
  var M;
9638
9633
  return (M = i.value) == null ? void 0 : M.deadline;
9639
9634
  },
9640
9635
  set(M) {
9641
- i.value && y({
9636
+ i.value && b({
9642
9637
  id: i.value.id,
9643
9638
  deadline: M
9644
9639
  });
@@ -9668,10 +9663,10 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9668
9663
  }, ae = (M) => {
9669
9664
  const { id: Y } = i.value || {};
9670
9665
  Y && e("removeComment", M);
9671
- }, re = b(() => w.value.map((M) => ({
9666
+ }, re = y(() => w.value.map((M) => ({
9672
9667
  value: M.id,
9673
9668
  label: M.name
9674
- }))), oe = b(() => {
9669
+ }))), oe = y(() => {
9675
9670
  var Y, ie, B;
9676
9671
  const M = (B = (ie = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : ie.phases) == null ? void 0 : B.reduce((S, N) => [...S, ...N.milestones], []);
9677
9672
  return M == null ? void 0 : M.map((S) => ({
@@ -9688,7 +9683,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9688
9683
  id: i.value.id,
9689
9684
  milestoneId: M
9690
9685
  });
9691
- }, F = b(() => {
9686
+ }, F = y(() => {
9692
9687
  var M;
9693
9688
  return (M = t.statuses) == null ? void 0 : M.map((Y) => ({
9694
9689
  value: Y.id,
@@ -9704,7 +9699,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9704
9699
  var ie;
9705
9700
  return c(), m("div", B4, [
9706
9701
  T(r1, null, {
9707
- primary: U(() => [
9702
+ primary: j(() => [
9708
9703
  f("div", N4, [
9709
9704
  t.project ? (c(), R(Ba, {
9710
9705
  key: 0,
@@ -9722,7 +9717,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9722
9717
  "onUpdate:modelValue": H,
9723
9718
  onClear: G
9724
9719
  }, null, 8, ["model-value", "placeholder"]),
9725
- t.project ? k("", !0) : (c(), R(be, {
9720
+ t.project ? k("", !0) : (c(), R(ye, {
9726
9721
  key: 1,
9727
9722
  "model-value": M.filters[q(dt).project],
9728
9723
  mode: "tags",
@@ -9733,7 +9728,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9733
9728
  placeholder: M.$t("feed.filters.project.placeholder"),
9734
9729
  "onUpdate:modelValue": Y[1] || (Y[1] = (B) => C(q(dt).project, B))
9735
9730
  }, null, 8, ["model-value", "options", "placeholder"])),
9736
- A.value ? (c(), R(be, {
9731
+ A.value ? (c(), R(ye, {
9737
9732
  key: 2,
9738
9733
  "model-value": M.filters[q(dt).type],
9739
9734
  mode: "tags",
@@ -9744,7 +9739,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9744
9739
  placeholder: M.$t("feed.filters.activityType.placeholder"),
9745
9740
  "onUpdate:modelValue": Y[2] || (Y[2] = (B) => C(q(dt).type, B))
9746
9741
  }, null, 8, ["model-value", "options", "placeholder"])) : k("", !0),
9747
- T(be, {
9742
+ T(ye, {
9748
9743
  "model-value": M.filters[q(dt).assignee],
9749
9744
  mode: "tags",
9750
9745
  options: g.value,
@@ -9754,7 +9749,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9754
9749
  placeholder: M.$t("feed.filters.assignee.placeholder"),
9755
9750
  "onUpdate:modelValue": Y[3] || (Y[3] = (B) => C(q(dt).assignee, B))
9756
9751
  }, {
9757
- tag: U(({ option: B, handleTagRemove: S }) => [
9752
+ tag: j(({ option: B, handleTagRemove: S }) => [
9758
9753
  T(gt, {
9759
9754
  "user-name": B.label,
9760
9755
  "avatar-url": B.avatar,
@@ -9781,7 +9776,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9781
9776
  _: 1
9782
9777
  }),
9783
9778
  f("div", R4, [
9784
- (c(!0), m(ve, null, ye(M.statuses, (B) => (c(), R(I4, {
9779
+ (c(!0), m(ve, null, be(M.statuses, (B) => (c(), R(I4, {
9785
9780
  key: B.id,
9786
9781
  status: B,
9787
9782
  list: r.value[B.id],
@@ -9791,7 +9786,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9791
9786
  "is-editable": M.isEditable,
9792
9787
  onAdd: () => p(B),
9793
9788
  onSelectActivity: l,
9794
- onArchiveActivity: j,
9789
+ onArchiveActivity: U,
9795
9790
  onUpdateActivity: L
9796
9791
  }, null, 8, ["status", "list", "title", "footer-label", "users", "is-editable", "onAdd"]))), 128))
9797
9792
  ]),
@@ -9809,7 +9804,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9809
9804
  breadcrumbs: v.value,
9810
9805
  "is-editable": M.isEditable,
9811
9806
  onClose: Y[6] || (Y[6] = () => l(null)),
9812
- "onUpdate:activity": y,
9807
+ "onUpdate:activity": b,
9813
9808
  onAddSubtask: te,
9814
9809
  onUpdateSubtask: E,
9815
9810
  onDeleteSubtask: ee,
@@ -9819,13 +9814,13 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9819
9814
  onUpdateComment: z,
9820
9815
  onRemoveComment: ae
9821
9816
  }, {
9822
- header: U(() => {
9817
+ header: j(() => {
9823
9818
  var B, S, N;
9824
9819
  return [
9825
9820
  f("div", U4, [
9826
9821
  re.value && !t.project ? (c(), m("label", j4, [
9827
9822
  f("span", Z4, Z(M.$t("activity.project.label")), 1),
9828
- T(be, {
9823
+ T(ye, {
9829
9824
  options: re.value,
9830
9825
  value: (B = q(i).project) == null ? void 0 : B.id,
9831
9826
  searchable: !0,
@@ -9836,7 +9831,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9836
9831
  ])) : k("", !0),
9837
9832
  oe.value ? (c(), m("label", F4, [
9838
9833
  f("span", q4, Z(M.$t("activity.milestone.label")), 1),
9839
- T(be, {
9834
+ T(ye, {
9840
9835
  options: oe.value,
9841
9836
  value: (S = q(i).milestone) == null ? void 0 : S.id,
9842
9837
  searchable: !0,
@@ -9847,7 +9842,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9847
9842
  ])) : k("", !0),
9848
9843
  F.value ? (c(), m("label", z4, [
9849
9844
  f("span", W4, Z(M.$t("activity.status.label")), 1),
9850
- T(be, {
9845
+ T(ye, {
9851
9846
  options: F.value,
9852
9847
  value: (N = q(i).status) == null ? void 0 : N.id,
9853
9848
  "can-clear": !1,
@@ -9860,7 +9855,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9860
9855
  ])
9861
9856
  ];
9862
9857
  }),
9863
- default: U(() => [
9858
+ default: j(() => [
9864
9859
  f("div", Y4, [
9865
9860
  f("label", K4, [
9866
9861
  f("span", G4, Z(M.$t("activity.deadline.label")), 1),
@@ -9878,7 +9873,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9878
9873
  ])
9879
9874
  ])
9880
9875
  ]),
9881
- X(M.$slots, "activityDetailsBody")
9876
+ Q(M.$slots, "activityDetailsBody")
9882
9877
  ]),
9883
9878
  _: 3
9884
9879
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : k("", !0)
@@ -9995,7 +9990,7 @@ const ft = {
9995
9990
  };
9996
9991
  return (l, r) => (c(), m("div", X4, [
9997
9992
  T(r1, null, {
9998
- secondary: U(() => [
9993
+ secondary: j(() => [
9999
9994
  T(fe, {
10000
9995
  label: l.$t("templates.new"),
10001
9996
  color: "primary",
@@ -10013,7 +10008,7 @@ const ft = {
10013
10008
  handle: ".ao-card__drag",
10014
10009
  onChange: i
10015
10010
  }, {
10016
- item: U(({ element: d }) => {
10011
+ item: j(({ element: d }) => {
10017
10012
  var u;
10018
10013
  return [
10019
10014
  T(P0, {
@@ -10049,7 +10044,7 @@ const J4 = { class: "ao-field" }, e8 = { class: "ao-field__label" }, t8 = ["type
10049
10044
  },
10050
10045
  emits: ["update:modelValue"],
10051
10046
  setup(a) {
10052
- const e = a, t = b(
10047
+ const e = a, t = y(
10053
10048
  () => e.modelModifiers.lazy ? "change" : "input"
10054
10049
  );
10055
10050
  return (n, s) => (c(), m("label", J4, [
@@ -10081,7 +10076,7 @@ export {
10081
10076
  u8 as listUpdateTypes,
10082
10077
  k1 as milestoneStatus,
10083
10078
  He as projectOverviewRoutes,
10084
- bd as ruleComparators,
10079
+ yd as ruleComparators,
10085
10080
  $d as ruleDurationUnits,
10086
10081
  wd as ruleTriggerTypes,
10087
10082
  me as templateItemType,