@26lights/orcha 0.20.3 → 0.21.1

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,20 +1,20 @@
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
- import Xe from "vuedraggable";
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 Xe, 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 tt, 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";
3
+ import Qe from "vuedraggable";
4
4
  const o8 = /* @__PURE__ */ K({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
8
8
  },
9
9
  setup(a) {
10
- return (e, t) => (c(), R(q(bs), Ee({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, t) => (c(), R(q(ys), 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
- }, ys = {}, ws = {
17
+ }, bs = {}, 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(ys, [["render", ks]]), Ts = {}, Ss = {
32
+ const As = /* @__PURE__ */ P(bs, [["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 bn(a, e) {
149
+ function yn(a, e) {
150
150
  return c(), m("svg", Cn, gn);
151
151
  }
152
- const yn = /* @__PURE__ */ P(mn, [["render", bn]]), wn = {}, $n = {
152
+ const bn = /* @__PURE__ */ P(mn, [["render", yn]]), 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 bi(a, e) {
284
+ function yi(a, e) {
285
285
  return c(), m("svg", Ci, gi);
286
286
  }
287
- const yi = /* @__PURE__ */ P(mi, [["render", bi]]), wi = {}, $i = {
287
+ const bi = /* @__PURE__ */ P(mi, [["render", yi]]), 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), bo = [
416
+ }, null, -1), yo = [
417
417
  go
418
418
  ];
419
- function yo(a, e) {
420
- return c(), m("svg", _o, bo);
419
+ function bo(a, e) {
420
+ return c(), m("svg", _o, yo);
421
421
  }
422
- const wo = /* @__PURE__ */ P(Co, [["render", yo]]), $o = {}, Mo = {
422
+ const wo = /* @__PURE__ */ P(Co, [["render", bo]]), $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), bl = [
551
+ }, null, -1), yl = [
552
552
  gl
553
553
  ];
554
- function yl(a, e) {
555
- return c(), m("svg", _l, bl);
554
+ function bl(a, e) {
555
+ return c(), m("svg", _l, yl);
556
556
  }
557
- const wl = /* @__PURE__ */ P(Cl, [["render", yl]]), $l = {}, Ml = {
557
+ const wl = /* @__PURE__ */ P(Cl, [["render", bl]]), $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 = {}, br = {
690
+ const _r = /* @__PURE__ */ P(vr, [["render", Cr]]), gr = {}, yr = {
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
- }, yr = /* @__PURE__ */ f("path", {
696
+ }, br = /* @__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
- yr
700
+ br
701
701
  ];
702
702
  function $r(a, e) {
703
- return c(), m("svg", br, wr);
703
+ return c(), m("svg", yr, 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 = {}, b2 = {
825
+ const _2 = /* @__PURE__ */ P(v2, [["render", C2]]), g2 = {}, y2 = {
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
- }, y2 = /* @__PURE__ */ f("path", {
831
+ }, b2 = /* @__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
- y2
835
+ b2
836
836
  ];
837
837
  function $2(a, e) {
838
- return c(), m("svg", b2, w2);
838
+ return c(), m("svg", y2, 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 = {}, bu = {
957
+ const _u = /* @__PURE__ */ P(vu, [["render", Cu]]), gu = {}, yu = {
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
- }, yu = /* @__PURE__ */ f("path", {
963
+ }, bu = /* @__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
- yu
967
+ bu
968
968
  ];
969
969
  function $u(a, e) {
970
- return c(), m("svg", bu, wu);
970
+ return c(), m("svg", yu, 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: yn,
1072
+ ArrowDropDownRounded: bn,
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: yi,
1081
+ CheckBoxOutlineRounded: bi,
1082
1082
  CheckSmallRounded: Ti,
1083
1083
  ChecklistRounded: Vi,
1084
1084
  ChevronLeft: Ri,
@@ -1153,8 +1153,8 @@ 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 = y(() => ld[e.name]);
1157
- return (n, s) => (c(), R(at(t.value), {
1156
+ const e = a, t = b(() => ld[e.name]);
1157
+ return (n, s) => (c(), R(Xe(t.value), {
1158
1158
  class: x(["ao-icon", `ao-icon--${n.size}`])
1159
1159
  }, null, 8, ["class"]));
1160
1160
  }
@@ -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 = y(() => e.size), n = y(() => e.isLoading ? "Loading" : e.iconName);
1180
+ const e = a, t = b(() => e.size), n = b(() => 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
- Q(s.$slots, "default", {}, () => [
1194
+ X(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 = y(() => "value" in a.value ? "value" : "innerHTML"), s = () => {
1207
+ const e = J(!1), t = J(""), n = b(() => "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 = y(() => s.value ? "input" : t.tag || `h${t.level}`), d = y(() => t.isEditable ? s.value ? {
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 ? {
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 b = A.target.value;
1256
- e("update:title", b);
1255
+ const y = A.target.value;
1256
+ e("update:title", y);
1257
1257
  }), v = l(), p = async () => {
1258
1258
  s.value && o(!1);
1259
1259
  }, C = () => {
@@ -1266,7 +1266,7 @@ const Ce = /* @__PURE__ */ K({
1266
1266
  ($) => {
1267
1267
  $ || v();
1268
1268
  }
1269
- ), ($, A) => (c(), R(at(r.value), Ee({
1269
+ ), ($, A) => (c(), R(Xe(r.value), Ee({
1270
1270
  id: $.id,
1271
1271
  ref_key: "target",
1272
1272
  ref: n,
@@ -1287,7 +1287,7 @@ const Ce = /* @__PURE__ */ K({
1287
1287
  }, ds(d.value), {
1288
1288
  onKeydown: Ye(q(v), ["esc"])
1289
1289
  }), {
1290
- default: j(() => [
1290
+ default: U(() => [
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
- }, bd = {
1315
+ }, yd = {
1316
1316
  key: 3,
1317
1317
  class: "ao-card-horiz__secondary"
1318
1318
  }, va = /* @__PURE__ */ K({
@@ -1332,10 +1332,10 @@ const fd = {
1332
1332
  const t = (n) => {
1333
1333
  e("update:title", n);
1334
1334
  };
1335
- return (n, s) => (c(), R(at(n.tagName), {
1335
+ return (n, s) => (c(), R(Xe(n.tagName), {
1336
1336
  class: x(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1337
1337
  }, {
1338
- default: j(() => [
1338
+ default: U(() => [
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
- Q(n.$slots, "subtitle", {}, () => [
1362
+ X(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
- Q(n.$slots, "header")
1367
+ X(n.$slots, "header")
1368
1368
  ])) : k("", !0)
1369
1369
  ]),
1370
1370
  n.$slots.default ? (c(), m("div", _d, [
1371
- Q(n.$slots, "default")
1371
+ X(n.$slots, "default")
1372
1372
  ])) : k("", !0),
1373
1373
  n.$slots.footer ? (c(), m("div", gd, [
1374
- Q(n.$slots, "footer")
1374
+ X(n.$slots, "footer")
1375
1375
  ])) : k("", !0),
1376
- n.$slots.secondary ? (c(), m("div", bd, [
1377
- Q(n.$slots, "secondary")
1376
+ n.$slots.secondary ? (c(), m("div", yd, [
1377
+ X(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 = y(() => e.clickable ? "button" : "span"), n = y(
1396
+ const e = a, t = b(() => e.clickable ? "button" : "span"), n = b(
1397
1397
  () => t.value === "button" ? { type: "button" } : {}
1398
1398
  );
1399
1399
  return (s, o) => (c(), m("div", {
@@ -1406,10 +1406,10 @@ const E1 = /* @__PURE__ */ K({
1406
1406
  ]),
1407
1407
  style: ua(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
1408
1408
  }, [
1409
- (c(), R(at(t.value), Ee({ class: "ao-tag__label" }, n.value, {
1409
+ (c(), R(Xe(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: j(() => [
1412
+ default: U(() => [
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
- }, yd = {
1445
+ }, bd = {
1446
1446
  BEFORE: "before",
1447
1447
  AFTER: "after"
1448
1448
  }, wd = {
@@ -2136,11 +2136,11 @@ var ct = {
2136
2136
  return Q1(i);
2137
2137
  case "XXXX":
2138
2138
  case "XX":
2139
- return Je(i);
2139
+ return et(i);
2140
2140
  case "XXXXX":
2141
2141
  case "XXX":
2142
2142
  default:
2143
- return Je(i, ":");
2143
+ return et(i, ":");
2144
2144
  }
2145
2145
  },
2146
2146
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -2151,11 +2151,11 @@ var ct = {
2151
2151
  return Q1(i);
2152
2152
  case "xxxx":
2153
2153
  case "xx":
2154
- return Je(i);
2154
+ return et(i);
2155
2155
  case "xxxxx":
2156
2156
  case "xxx":
2157
2157
  default:
2158
- return Je(i, ":");
2158
+ return et(i, ":");
2159
2159
  }
2160
2160
  },
2161
2161
  // Timezone (GMT)
@@ -2168,7 +2168,7 @@ var ct = {
2168
2168
  return "GMT" + X1(i, ":");
2169
2169
  case "OOOO":
2170
2170
  default:
2171
- return "GMT" + Je(i, ":");
2171
+ return "GMT" + et(i, ":");
2172
2172
  }
2173
2173
  },
2174
2174
  // Timezone (specific non-location)
@@ -2181,7 +2181,7 @@ var ct = {
2181
2181
  return "GMT" + X1(i, ":");
2182
2182
  case "zzzz":
2183
2183
  default:
2184
- return "GMT" + Je(i, ":");
2184
+ return "GMT" + et(i, ":");
2185
2185
  }
2186
2186
  },
2187
2187
  // Seconds timestamp
@@ -2207,9 +2207,9 @@ function Q1(a, e) {
2207
2207
  var t = a > 0 ? "-" : "+";
2208
2208
  return t + le(Math.abs(a) / 60, 2);
2209
2209
  }
2210
- return Je(a, e);
2210
+ return et(a, e);
2211
2211
  }
2212
- function Je(a, e) {
2212
+ function et(a, e) {
2213
2213
  var t = e || "", n = a > 0 ? "-" : "+", s = Math.abs(a), o = le(Math.floor(s / 60), 2), i = le(s % 60, 2);
2214
2214
  return n + o + t + i;
2215
2215
  }
@@ -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 y1(a) {
2375
+ function b1(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: y1({
2397
+ date: b1({
2398
2398
  formats: Xd,
2399
2399
  defaultWidth: "full"
2400
2400
  }),
2401
- time: y1({
2401
+ time: b1({
2402
2402
  formats: Qd,
2403
2403
  defaultWidth: "full"
2404
2404
  }),
2405
- dateTime: y1({
2405
+ dateTime: b1({
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
- }, bc = {
2606
- any: [/^b/i, /^(a|c)/i]
2607
2605
  }, yc = {
2606
+ any: [/^b/i, /^(a|c)/i]
2607
+ }, bc = {
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: bc,
2653
+ parsePatterns: yc,
2654
2654
  defaultParseWidth: "any"
2655
2655
  }),
2656
2656
  quarter: Mt({
2657
- matchPatterns: yc,
2657
+ matchPatterns: bc,
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, b, L, U;
2700
+ var n, s, o, i, l, r, d, u, v, p, C, w, $, A, g, y, L, j;
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 || (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);
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);
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 ba(a) {
2842
+ function ya(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] || (ba(a) ? 29 : 28));
2846
+ return e >= 0 && e <= 11 && t >= 1 && t <= (xc[e] || (ya(a) ? 29 : 28));
2847
2847
  }
2848
2848
  function Qc(a, e) {
2849
- return e >= 1 && e <= (ba(a) ? 366 : 365);
2849
+ return e >= 1 && e <= (ya(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 = {}, ya = {}, At = {}, Ht = {}, _t = {}, n1 = {};
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 = {};
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 X {
2901
+ class Q {
2902
2902
  constructor(e, t, n) {
2903
2903
  this.sys = e, this.sign = t, this.mag = n;
2904
2904
  }
@@ -2909,24 +2909,24 @@ class X {
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 X.make(t, s, o);
2912
+ return Q.make(t, s, o);
2913
2913
  }
2914
2914
  static zero(e) {
2915
- return new X(e, 0, X.ZERO_MAG);
2915
+ return new Q(e, 0, Q.ZERO_MAG);
2916
2916
  }
2917
2917
  static one(e) {
2918
- return X.make(e, 1, X.ONE_MAG);
2918
+ return Q.make(e, 1, Q.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 X.zero(e);
2925
+ return Q.zero(e);
2926
2926
  if (s === n.length)
2927
- return new X(e, t, n);
2927
+ return new Q(e, t, n);
2928
2928
  const o = new Array(s).fill(0);
2929
- return qt.lexoHelper.arrayCopy(n, 0, o, 0, s), new X(e, t, o);
2929
+ return qt.lexoHelper.arrayCopy(n, 0, o, 0, s), new Q(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 X {
2938
2938
  ++i;
2939
2939
  o[l] = u;
2940
2940
  }
2941
- return X.extendWithCarry(o, i);
2941
+ return Q.extendWithCarry(o, i);
2942
2942
  }
2943
2943
  static extendWithCarry(e, t) {
2944
2944
  if (t > 0) {
@@ -2948,8 +2948,8 @@ class X {
2948
2948
  return e;
2949
2949
  }
2950
2950
  static subtract(e, t, n) {
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);
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);
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 X {
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 = X.add(this.sys, this.mag, e.mag);
2995
- return X.make(this.sys, this.sign, t);
2994
+ const t = Q.add(this.sys, this.mag, e.mag);
2995
+ return Q.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 X {
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 = 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));
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));
3008
3008
  }
3009
3009
  multiply(e) {
3010
3010
  if (this.checkSystem(e), this.isZero())
@@ -3012,14 +3012,14 @@ class X {
3012
3012
  if (e.isZero())
3013
3013
  return e;
3014
3014
  if (this.isOneish())
3015
- return this.sign === e.sign ? X.make(this.sys, 1, e.mag) : X.make(this.sys, -1, e.mag);
3015
+ return this.sign === e.sign ? Q.make(this.sys, 1, e.mag) : Q.make(this.sys, -1, e.mag);
3016
3016
  if (e.isOneish())
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);
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);
3020
3020
  }
3021
3021
  negate() {
3022
- return this.isZero() ? this : X.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
3022
+ return this.isZero() ? this : Q.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 X {
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), X.make(this.sys, this.sign, t);
3030
+ return qt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), Q.make(this.sys, this.sign, t);
3031
3031
  }
3032
3032
  shiftRight(e = 1) {
3033
3033
  if (this.mag.length - e <= 0)
3034
- return X.zero(this.sys);
3034
+ return Q.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), X.make(this.sys, this.sign, t);
3036
+ return qt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), Q.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 X.make(this.sys, this.sign, X.complement(this.sys, this.mag, e));
3042
+ return Q.make(this.sys, this.sign, Q.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 X {
3057
3057
  return 1;
3058
3058
  if (this.sign === -1) {
3059
3059
  if (e.sign === -1) {
3060
- const t = X.compare(this.mag, e.mag);
3060
+ const t = Q.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 ? X.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
3065
+ return this.sign === 1 ? e.sign === 1 ? Q.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 X {
3091
3091
  throw new Error("Expected numbers of same numeral sys");
3092
3092
  }
3093
3093
  }
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;
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;
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
- })(ya);
3568
+ })(ba);
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(ya, a), t(I1, a);
3582
+ Object.defineProperty(a, "__esModule", { value: !0 }), t(ba, 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" }, 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 = {
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 = {
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: j(() => [
3711
+ subtitle: U(() => [
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", b0, [
3720
+ f("li", y0, [
3721
3721
  T(ce, {
3722
3722
  name: "TaskOutlineRounded",
3723
3723
  size: "sm"
3724
3724
  }),
3725
- f("span", y0, Z(n.activities), 1)
3725
+ f("span", b0, Z(n.activities), 1)
3726
3726
  ])
3727
3727
  ])
3728
3728
  ]),
3729
- default: j(() => [
3729
+ default: U(() => [
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, be(n.phases, (o) => (c(), R(E1, {
3740
+ (c(!0), m(ve, null, ye(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: j(() => [
3754
+ fn: U(() => [
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
- Q(e.$slots, "primary")
3797
+ X(e.$slots, "primary")
3798
3798
  ]),
3799
3799
  e.$slots.secondary ? (c(), m("div", R0, [
3800
- Q(e.$slots, "secondary")
3800
+ X(e.$slots, "secondary")
3801
3801
  ])) : k("", !0)
3802
3802
  ]));
3803
3803
  }
@@ -3805,7 +3805,7 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
3805
3805
  const U0 = ["type"], j0 = {
3806
3806
  key: 0,
3807
3807
  class: "ao-button-card__label"
3808
- }, Qe = /* @__PURE__ */ K({
3808
+ }, Je = /* @__PURE__ */ K({
3809
3809
  __name: "AoButtonCard",
3810
3810
  props: {
3811
3811
  label: { default: () => "" },
@@ -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 = y(() => e.size), n = y(() => e.isLoading ? "Loading" : e.iconName);
3821
+ const e = a, t = b(() => e.size), n = b(() => 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
- Q(s.$slots, "default", {}, () => [
3831
+ X(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: j(() => [
3867
+ footer: U(() => [
3868
3868
  f("ul", Z0, [
3869
- (c(), m(ve, null, be(n, (r) => (c(), m(ve, { key: r }, [
3869
+ (c(), m(ve, null, ye(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: j(() => [
3880
+ secondary: U(() => [
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 = y(() => {
3903
+ const e = a, t = b(() => {
3904
3904
  var s;
3905
3905
  return (s = e.milestones) == null ? void 0 : s.length;
3906
- }), n = y(() => e.milestones ? ka(e.milestones) : 0);
3906
+ }), n = b(() => 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: j(() => [
3914
- Q(s.$slots, "default")
3913
+ default: U(() => [
3914
+ X(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 = y(() => {
3925
+ const e = a, t = b(() => {
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: j(() => [
3931
- Q(n.$slots, "default")
3930
+ default: U(() => [
3931
+ X(n.$slots, "default")
3932
3932
  ]),
3933
3933
  _: 3
3934
3934
  }, 8, ["activities"]));
@@ -3957,7 +3957,7 @@ const W0 = /* @__PURE__ */ K({
3957
3957
  });
3958
3958
  }
3959
3959
  };
3960
- return (l, r) => l.phase ? (c(), R(q(Xe), {
3960
+ return (l, r) => l.phase ? (c(), R(q(Qe), {
3961
3961
  key: 0,
3962
3962
  "model-value": l.phase.milestones,
3963
3963
  class: "ao-templates__list",
@@ -3966,14 +3966,14 @@ const W0 = /* @__PURE__ */ K({
3966
3966
  "item-key": "id",
3967
3967
  onChange: i
3968
3968
  }, {
3969
- header: j(() => [
3969
+ header: U(() => [
3970
3970
  T(Ce, {
3971
3971
  title: "Milestones",
3972
3972
  level: 3,
3973
3973
  class: "ao-list__title"
3974
3974
  })
3975
3975
  ]),
3976
- item: j(({ element: d }) => [
3976
+ item: U(({ element: d }) => [
3977
3977
  (c(), R(Y0, {
3978
3978
  id: d.id,
3979
3979
  key: d.id,
@@ -3990,9 +3990,9 @@ 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: j(() => [
3993
+ footer: U(() => [
3994
3994
  f("div", K0, [
3995
- T(Qe, {
3995
+ T(Je, {
3996
3996
  "icon-name": "AddBoxOutlineRounded",
3997
3997
  label: l.$t("template.milestones.add"),
3998
3998
  onClick: n
@@ -4009,13 +4009,13 @@ const W0 = /* @__PURE__ */ K({
4009
4009
  tasks: {}
4010
4010
  },
4011
4011
  setup(a) {
4012
- const e = a, t = y(() => {
4012
+ const e = a, t = b(() => {
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: j(() => [
4018
- Q(n.$slots, "default")
4017
+ default: U(() => [
4018
+ X(n.$slots, "default")
4019
4019
  ]),
4020
4020
  _: 3
4021
4021
  }, 8, ["tasks"]));
@@ -4047,7 +4047,7 @@ const W0 = /* @__PURE__ */ K({
4047
4047
  });
4048
4048
  }
4049
4049
  };
4050
- return (l, r) => l.milestone ? (c(), R(q(Xe), {
4050
+ return (l, r) => l.milestone ? (c(), R(q(Qe), {
4051
4051
  key: 0,
4052
4052
  "model-value": l.milestone.activities,
4053
4053
  title: l.$t("template.activities.title"),
@@ -4056,14 +4056,14 @@ const W0 = /* @__PURE__ */ K({
4056
4056
  "item-key": "id",
4057
4057
  onChange: i
4058
4058
  }, {
4059
- header: j(() => [
4059
+ header: U(() => [
4060
4060
  T(Ce, {
4061
4061
  title: "Activities",
4062
4062
  level: 3,
4063
4063
  class: "ao-list__title"
4064
4064
  })
4065
4065
  ]),
4066
- item: j(({ element: d }) => [
4066
+ item: U(({ element: d }) => [
4067
4067
  (c(), R(x0, {
4068
4068
  id: d.id,
4069
4069
  key: d.id,
@@ -4076,9 +4076,9 @@ 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: j(() => [
4079
+ footer: U(() => [
4080
4080
  f("div", X0, [
4081
- T(Qe, {
4081
+ T(Je, {
4082
4082
  "icon-name": "AddBoxOutlineRounded",
4083
4083
  label: l.$t("template.activities.add"),
4084
4084
  onClick: n
@@ -4119,14 +4119,14 @@ const W0 = /* @__PURE__ */ K({
4119
4119
  })
4120
4120
  ]),
4121
4121
  e.$slots.header ? (c(), m("header", a3, [
4122
- Q(e.$slots, "header")
4122
+ X(e.$slots, "header")
4123
4123
  ])) : k("", !0)
4124
4124
  ]),
4125
4125
  f("div", s3, [
4126
- Q(e.$slots, "default")
4126
+ X(e.$slots, "default")
4127
4127
  ]),
4128
4128
  e.$slots.footer ? (c(), m("footer", n3, [
4129
- Q(e.$slots, "footer")
4129
+ X(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: b,
4296
+ x: y,
4297
4297
  y: L,
4298
- data: U,
4298
+ data: j,
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 = b ?? u, v = L ?? v, C = {
4314
+ if (u = y ?? u, v = L ?? v, C = {
4315
4315
  ...C,
4316
4316
  [A]: {
4317
4317
  ...C[A],
4318
- ...U
4318
+ ...j
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
- })), b = v === "floating" ? {
4361
+ })), y = 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)), U = 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)), j = 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: b,
4372
+ rect: y,
4373
4373
  offsetParent: L,
4374
4374
  strategy: r
4375
- }) : b);
4375
+ }) : y);
4376
4376
  return {
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
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
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), 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 = [];
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 = [];
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[$], b = !e.middlewareData.shift;
4475
- let L = A, U = g;
4474
+ const A = C - r[w], g = p - r[$], y = !e.middlewareData.shift;
4475
+ let L = A, j = g;
4476
4476
  if (v) {
4477
4477
  const H = p - r.left - r.right;
4478
- U = u || b ? Lt(g, H) : H;
4478
+ j = u || y ? Lt(g, H) : H;
4479
4479
  } else {
4480
4480
  const H = C - r.top - r.bottom;
4481
- L = u || b ? Lt(A, H) : H;
4481
+ L = u || y ? Lt(A, H) : H;
4482
4482
  }
4483
- if (b && !u) {
4483
+ if (y && !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 ? 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));
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));
4486
4486
  }
4487
4487
  await i({
4488
4488
  ...e,
4489
- availableWidth: U,
4489
+ availableWidth: j,
4490
4490
  availableHeight: L
4491
4491
  });
4492
4492
  const W = await s.getDimensions(o.floating);
@@ -4622,22 +4622,22 @@ function Va(a) {
4622
4622
  y: e.visualViewport.offsetTop
4623
4623
  };
4624
4624
  }
4625
- function b3(a, e, t) {
4625
+ function y3(a, e, t) {
4626
4626
  return e === void 0 && (e = !1), !t || e && t !== we(a) ? !1 : e;
4627
4627
  }
4628
- function tt(a, e, t, n) {
4628
+ function at(a, e, t, n) {
4629
4629
  e === void 0 && (e = !1), t === void 0 && (t = !1);
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 = b3(o, t, n) ? Va(o) : Ge(0);
4633
+ const l = y3(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), 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;
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;
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 y3(a) {
4650
+ function b3(a) {
4651
4651
  let {
4652
4652
  rect: e,
4653
4653
  offsetParent: t,
@@ -4662,7 +4662,7 @@ function y3(a) {
4662
4662
  }, l = Ge(1);
4663
4663
  const r = Ge(0);
4664
4664
  if ((s || !s && n !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i = c1(t)), Pe(t))) {
4665
- const d = tt(t);
4665
+ const d = at(t);
4666
4666
  l = pt(t), r.x = d.x + t.clientLeft, r.y = d.y + t.clientTop;
4667
4667
  }
4668
4668
  return {
@@ -4676,7 +4676,7 @@ function w3(a) {
4676
4676
  return Array.from(a.getClientRects());
4677
4677
  }
4678
4678
  function Da(a) {
4679
- return tt(Ze(a)).left + c1(a).scrollLeft;
4679
+ return at(Ze(a)).left + c1(a).scrollLeft;
4680
4680
  }
4681
4681
  function $3(a) {
4682
4682
  const e = Ze(a), t = c1(a), n = a.ownerDocument.body, s = Ae(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = Ae(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
@@ -4705,7 +4705,7 @@ function M3(a, e) {
4705
4705
  };
4706
4706
  }
4707
4707
  function k3(a, e) {
4708
- const t = tt(a, !0, e === "fixed"), n = t.top + a.clientTop, s = t.left + a.clientLeft, o = Pe(a) ? pt(a) : Ge(1), i = a.clientWidth * o.x, l = a.clientHeight * o.y, r = s * o.x, d = n * o.y;
4708
+ const t = at(a, !0, e === "fixed"), n = t.top + a.clientTop, s = t.left + a.clientLeft, o = Pe(a) ? pt(a) : Ge(1), i = a.clientWidth * o.x, l = a.clientHeight * o.y, r = s * o.x, d = n * o.y;
4709
4709
  return {
4710
4710
  width: i,
4711
4711
  height: l,
@@ -4770,7 +4770,7 @@ function S3(a) {
4770
4770
  return La(a);
4771
4771
  }
4772
4772
  function E3(a, e, t) {
4773
- const n = Pe(e), s = Ze(e), o = t === "fixed", i = tt(a, !0, o, e);
4773
+ const n = Pe(e), s = Ze(e), o = t === "fixed", i = at(a, !0, o, e);
4774
4774
  let l = {
4775
4775
  scrollLeft: 0,
4776
4776
  scrollTop: 0
@@ -4778,7 +4778,7 @@ function E3(a, e, t) {
4778
4778
  const r = Ge(0);
4779
4779
  if (n || !n && !o)
4780
4780
  if ((xe(e) !== "body" || Nt(s)) && (l = c1(e)), n) {
4781
- const d = tt(e, !0, o, e);
4781
+ const d = at(e, !0, o, e);
4782
4782
  r.x = d.x + e.clientLeft, r.y = d.y + e.clientTop;
4783
4783
  } else
4784
4784
  s && (r.x = Da(s));
@@ -4821,7 +4821,7 @@ function O3(a) {
4821
4821
  return Ie(a).direction === "rtl";
4822
4822
  }
4823
4823
  const L3 = {
4824
- convertOffsetParentRelativeRectToViewportRelativeRect: y3,
4824
+ convertOffsetParentRelativeRectToViewportRelativeRect: b3,
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), b = {
4851
+ const C = Wt(u), w = Wt(s.clientWidth - (d + v)), $ = Wt(s.clientHeight - (u + p)), A = Wt(d), y = {
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 U(W) {
4856
+ function j(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(U, {
4869
- ...b,
4868
+ t = new IntersectionObserver(j, {
4869
+ ...y,
4870
4870
  // Handle <iframe>s
4871
4871
  root: s.ownerDocument
4872
4872
  });
4873
4873
  } catch {
4874
- t = new IntersectionObserver(U, b);
4874
+ t = new IntersectionObserver(j, y);
4875
4875
  }
4876
4876
  t.observe(a);
4877
4877
  }
@@ -4894,15 +4894,15 @@ 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 [b] = g;
4898
- b && b.target === d && C && (C.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
4897
+ let [y] = g;
4898
+ y && y.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));
4902
- let w, $ = r ? tt(a) : null;
4902
+ let w, $ = r ? at(a) : null;
4903
4903
  r && A();
4904
4904
  function A() {
4905
- const g = tt(a);
4905
+ const g = at(a);
4906
4906
  $ && (g.x !== $.x || g.y !== $.y || g.width !== $.width || g.height !== $.height) && t(), $ = g, w = requestAnimationFrame(A);
4907
4907
  }
4908
4908
  return t(), () => {
@@ -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 = 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]);
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]);
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: b,
5086
+ minChars: y,
5087
5087
  filterResults: L,
5088
- clearOnSearch: U,
5088
+ clearOnSearch: j,
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, 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(() => {
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(() => {
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 bt.value.length && (_ = _.concat(bt.value)), _;
5120
+ return yt.value.length && (_ = _.concat(yt.value)), _;
5121
5121
  }
5122
- }), Z1 = y(() => {
5122
+ }), Z1 = b(() => {
5123
5123
  let _ = qe.value;
5124
5124
  return ae.value && (_ = _.reverse()), lt.value.length && (_ = lt.value.concat(_)), _1(_);
5125
- }), yt = y(() => {
5125
+ }), bt = b(() => {
5126
5126
  let _ = Z1.value;
5127
5127
  return v1.value > 0 && (_ = _.slice(0, v1.value)), _;
5128
- }), Rt = y(() => {
5128
+ }), Rt = b(() => {
5129
5129
  if (!z.value)
5130
5130
  return [];
5131
5131
  let _ = [], D = Fe.value || /* istanbul ignore next */
5132
5132
  [];
5133
- return bt.value.length && _.push({
5133
+ return yt.value.length && _.push({
5134
5134
  [te.value]: " ",
5135
- [oe.value]: [...bt.value],
5135
+ [oe.value]: [...yt.value],
5136
5136
  __CREATE__: !0
5137
5137
  }), _.concat(D);
5138
- }), qa = y(() => {
5138
+ }), qa = b(() => {
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 = y(() => {
5145
+ }), F1 = b(() => {
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 = y(() => {
5160
+ }), p1 = b(() => {
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 = 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 ? [] : [{
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 ? [] : [{
5169
5169
  [H.value]: N.value,
5170
5170
  [Ve.value]: N.value,
5171
5171
  [u.value]: N.value,
5172
5172
  __CREATE__: !0
5173
- }]), Ve = y(() => o.value || u.value), Ka = y(() => {
5173
+ }]), Ve = b(() => o.value || u.value), Ka = b(() => {
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 = y(() => $.value || Le.value), rt = (_) => {
5181
+ }), Ga = b(() => $.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(yt.value.filter((_) => !_.disabled && !Ne(_)));
5281
+ s.value !== "single" && rt(bt.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
- bt.value.push(_);
5285
+ yt.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
- })), b1 = () => {
5314
+ })), y1 = () => {
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 < b.value || !_ && b.value !== 0 || (Le.value = !0, U.value && (Fe.value = []), setTimeout(() => {
5342
+ _.length < y.value || !_ && y.value !== 0 || (Le.value = !0, j.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 = yt.value.filter((se) => se[ne.value] !== !0)[0] || null, Le.value = !1);
5344
+ (_ == N.value || !N.value) && (Fe.value = D, Ra.value = bt.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(), b1());
5374
- }), ue(u, b1), {
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), {
5375
5375
  pfo: Z1,
5376
- fo: yt,
5377
- filteredOptions: yt,
5376
+ fo: bt,
5377
+ filteredOptions: bt,
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: b1
5405
+ refreshLabels: y1
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, 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(() => {
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(() => {
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 = y(() => {
5426
+ }), h = b(() => {
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 = y(() => [...G.value].slice(-1)[0]), z = y(() => g.value.__VISIBLE__.filter((S) => !S[u.value])[0]), ae = y(() => {
5429
+ }), O = b(() => [...G.value].slice(-1)[0]), z = b(() => g.value.__VISIBLE__.filter((S) => !S[u.value])[0]), ae = b(() => {
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 = y(() => {
5432
+ }), re = b(() => {
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 = 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);
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);
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
- b((l.value && te.value ? G.value[0].__CREATE__ ? H.value[0] : G.value[0] : H.value[0]) || null);
5441
+ y((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])), b(S || /* istanbul ignore next */
5444
+ S === void 0 && (S = h.value, S.__CREATE__ && (S = S[v.value][0])), y(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), b(H.value[S] || null);
5448
+ H.value.length <= S && (S = 0), y(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)), b(S || null);
5456
+ l.value && te.value && (S = I.value, S === void 0 && (S = O.value)), y(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))), b(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))), y(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), b(H.value[S] || null);
5463
+ S < 0 && (S = H.value.length - 1), y(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 = U.value.querySelector("[data-pointed]");
5469
+ let S = j.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 = U.value.querySelectorAll("[data-selected]")[0];
5479
+ let N = j.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 = y(() => 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 = b(() => n.value || s.value ? -1 : 0), g = () => {
5511
5511
  n.value && i.value.blur(), p.value.blur();
5512
- }, b = () => {
5512
+ }, y = () => {
5513
5513
  n.value && !s.value && i.value.focus();
5514
5514
  }, L = (E = !0) => {
5515
5515
  s.value || (w.value = !0, E && l());
5516
- }, U = () => {
5516
+ }, j = () => {
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: b,
5529
+ focus: y,
5530
5530
  activate: L,
5531
- deactivate: U,
5531
+ deactivate: j,
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
- U();
5536
+ j();
5537
5537
  },
5538
5538
  handleCaretClick: () => {
5539
- U(), g();
5539
+ j(), 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
- U();
5543
+ j();
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, 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)]);
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)]);
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(), U();
5616
+ E.value || ee(), j();
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, $ = y(() => ({
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(() => ({
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 = y(() => !!(l.value && i.value && (!C.value || C.value && w.value.length)));
5700
+ })), A = b(() => !!(l.value && i.value && (!C.value || C.value && w.value.length)));
5701
5701
  return {
5702
- classList: y(() => {
5703
- const b = $.value;
5702
+ classList: b(() => {
5703
+ const y = $.value;
5704
5704
  return {
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,
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,
5730
5730
  groupLabel: (L) => {
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;
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;
5733
5733
  },
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;
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;
5738
5738
  },
5739
- noOptions: b.noOptions,
5740
- noResults: b.noResults,
5741
- assist: b.assist,
5742
- fakeInput: b.fakeInput
5739
+ noOptions: y.noOptions,
5740
+ noResults: y.noResults,
5741
+ assist: y.assist,
5742
+ fakeInput: y.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 = y(() => 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 = b(() => i.value < r.value.length), C = ($) => {
5753
5753
  const { isIntersecting: A, target: g } = $[0];
5754
5754
  if (A) {
5755
- const b = g.offsetParent, L = b.scrollTop;
5755
+ const y = g.offsetParent, L = y.scrollTop;
5756
5756
  i.value += n.value == -1 ? 10 : n.value, Oe(() => {
5757
- b.scrollTop = L;
5757
+ y.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 = y(() => {
5786
+ } = $e(a), v = t.pointer, p = t.iv, C = t.hasSelected, w = t.multipleLabelText, $ = J(null), A = b(() => {
5787
5787
  let h = [];
5788
5788
  return s && s.value && h.push(s.value), h.push("assist"), h.join("-");
5789
- }), g = y(() => {
5789
+ }), g = b(() => {
5790
5790
  let h = [];
5791
5791
  return s && s.value && h.push(s.value), h.push("multiselect-options"), h.join("-");
5792
- }), b = y(() => {
5792
+ }), y = b(() => {
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 = y(() => n.value), U = y(() => l.value !== "single"), W = y(() => {
5796
+ }), L = b(() => n.value), j = b(() => l.value !== "single"), W = b(() => {
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 = y(() => {
5799
+ }), H = b(() => {
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: U,
5827
- ariaActiveDescendant: b,
5826
+ ariaMultiselectable: j,
5827
+ ariaActiveDescendant: y,
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
- be(a.iv, (i, l, r) => Q(a.$slots, "tag", {
6264
+ ye(a.iv, (i, l, r) => X(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 ? Q(a.$slots, "singlelabel", {
6353
+ t.mode == "single" && a.hasSelected && !a.search && a.iv ? X(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 ? Q(a.$slots, "multiplelabel", {
6378
+ t.mode == "multiple" && a.hasSelected && !a.search ? X(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 ? Q(a.$slots, "placeholder", { key: 4 }, () => [
6388
+ t.placeholder && !a.hasSelected && !a.search ? X(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 ? Q(a.$slots, "spinner", { key: 5 }, () => [
6401
+ t.loading || a.resolving ? X(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 ? Q(a.$slots, "clear", {
6414
+ a.hasSelected && !t.disabled && t.canClear && !a.busy ? X(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 ? Q(a.$slots, "caret", { key: 7 }, () => [
6446
+ t.caret && t.showOptions ? X(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
- Q(a.$slots, "beforelist", { options: a.fo }),
6468
+ X(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
- be(a.fg, (i, l, r) => (c(), m("li", {
6477
+ ye(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
- Q(a.$slots, "grouplabel", {
6492
+ X(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
- be(i.__VISIBLE__, (d, u, v) => (c(), m("li", {
6510
+ ye(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
- Q(a.$slots, "option", {
6522
+ X(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
- be(a.fo, (i, l, r) => (c(), m("li", {
6547
+ ye(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
- Q(a.$slots, "option", {
6559
+ X(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 ? Q(a.$slots, "nooptions", { key: 0 }, () => [
6578
+ a.noOptions ? X(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 ? Q(a.$slots, "noresults", { key: 1 }, () => [
6584
+ a.noResults ? X(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
- Q(a.$slots, "infinite", {}, () => [
6598
+ X(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
- Q(a.$slots, "afterlist", { options: a.fo })
6613
+ X(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
- be(a.plainValue, (i, l) => (c(), m("input", {
6639
+ ye(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 ye = /* @__PURE__ */ K({
6673
+ const be = /* @__PURE__ */ K({
6674
6674
  __name: "AoMultiselect",
6675
6675
  props: {
6676
6676
  detached: { type: Boolean },
@@ -6686,10 +6686,10 @@ const ye = /* @__PURE__ */ K({
6686
6686
  ref: n,
6687
6687
  class: "ao-multiselect"
6688
6688
  }, t1({ _: 2 }, [
6689
- be(s.$slots, (i, l) => ({
6689
+ ye(s.$slots, (i, l) => ({
6690
6690
  name: l,
6691
- fn: j((r) => [
6692
- Q(s.$slots, l, fs(vs(r ?? {})))
6691
+ fn: U((r) => [
6692
+ X(s.$slots, l, fs(vs(r ?? {})))
6693
6693
  ])
6694
6694
  }))
6695
6695
  ]), 1536));
@@ -6697,13 +6697,13 @@ const ye = /* @__PURE__ */ K({
6697
6697
  });
6698
6698
  var la;
6699
6699
  function nt() {
6700
- const a = b5(), e = a.appContext.config.globalProperties;
6700
+ const a = y5(), 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 b5() {
6706
+ function y5() {
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 y5 = { 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 b5 = { 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 y5 = { 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 = y(
6765
+ const s = b(
6766
6766
  () => {
6767
6767
  var v;
6768
6768
  return ((v = t.users) == null ? void 0 : v.map((p) => ({
@@ -6799,9 +6799,9 @@ const y5 = { 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", y5, [
6802
+ return (v, p) => (c(), m("div", b5, [
6803
6803
  f("ul", w5, [
6804
- (c(!0), m(ve, null, be(v.tasks, (C) => {
6804
+ (c(!0), m(ve, null, ye(v.tasks, (C) => {
6805
6805
  var w, $;
6806
6806
  return c(), m("li", {
6807
6807
  key: C.id,
@@ -6824,7 +6824,7 @@ const y5 = { 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(ye, {
6827
+ !v.isTemplate && v.users ? (c(), R(be, {
6828
6828
  key: 1,
6829
6829
  value: ($ = C.assignee) != null && $.id ? [C.assignee.id] : [],
6830
6830
  options: s.value,
@@ -6838,12 +6838,12 @@ const y5 = { 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: j(({ option: A, handleTagRemove: g }) => [
6841
+ tag: U(({ 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: (b) => g(A, b)
6846
+ onClose: (y) => g(A, y)
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, be(d.attachments, (p) => (c(), m("li", {
6939
+ (c(!0), m(ve, null, ye(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 = y(() => {
7000
+ const t = a, n = b(() => {
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 = y(() => A1(t.createdAt)), u = y(() => A1(t.editedAt)), v = y(() => o.value ? "textarea" : "p"), p = r(), C = l((A) => {
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) => {
7004
7004
  e("edit", A);
7005
7005
  }), w = () => {
7006
7006
  e("remove");
@@ -7014,17 +7014,17 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7014
7014
  }
7015
7015
  });
7016
7016
  }), (A, g) => {
7017
- var b;
7017
+ var y;
7018
7018
  return c(), m("li", H5, [
7019
7019
  n.value ? (c(), R(gt, {
7020
7020
  key: 0,
7021
- "avatar-url": (b = A.user) == null ? void 0 : b.avatarUrl,
7021
+ "avatar-url": (y = A.user) == null ? void 0 : y.avatarUrl,
7022
7022
  "user-name": n.value,
7023
7023
  class: "ao-comment__avatar"
7024
7024
  }, null, 8, ["avatar-url", "user-name"])) : k("", !0),
7025
7025
  f("div", P5, [
7026
7026
  f("div", B5, [
7027
- (c(), R(at(v.value), {
7027
+ (c(), R(Xe(v.value), {
7028
7028
  ref_key: "commentContent",
7029
7029
  ref: s,
7030
7030
  class: "ao-comment__content",
@@ -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: j(() => [
7038
+ default: U(() => [
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 = y({
7100
+ const o = vt(t.newComment), i = b({
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, be(u.comments, (C) => (c(), R(U5, {
7126
+ (c(!0), m(ve, null, ye(u.comments, (C) => (c(), R(U5, {
7127
7127
  key: C.id,
7128
7128
  user: n(C.author.id),
7129
7129
  content: C.message,
@@ -7142,7 +7142,7 @@ const j5 = {
7142
7142
  }, [
7143
7143
  f("label", q5, [
7144
7144
  f("span", z5, Z(u.$t("activity.comment.label")), 1),
7145
- et(f("textarea", {
7145
+ tt(f("textarea", {
7146
7146
  "onUpdate:modelValue": v[0] || (v[0] = (C) => i.value = C),
7147
7147
  rows: "4",
7148
7148
  class: "ao-field__textarea"
@@ -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" }, 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 = {
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 = {
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 = y({
7214
+ }, s = b({
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 = y({
7221
+ }), o = b({
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 = y({
7228
+ }), i = b({
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 = y({
7235
+ }), l = b({
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 = y({
7242
+ }), r = b({
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 = y(() => t.templateActivities.filter((h) => h.id !== t.activity.id).map((h) => ({
7250
+ }), d = b(() => t.templateActivities.filter((h) => h.id !== t.activity.id).map((h) => ({
7251
7251
  label: h.name,
7252
7252
  value: h.id
7253
- }))), u = y({
7253
+ }))), u = b({
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 = y(() => d.value.map((h) => {
7264
+ }), v = b(() => 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 = y({
7270
+ })), p = b({
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 = y(() => d.value.map((h) => {
7281
+ }), C = b(() => 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 = y(() => (t.templateMilestones || []).filter((O) => O.id !== t.milestoneId).map((O) => ({
7289
+ })), w = b(() => (t.templateMilestones || []).filter((O) => O.id !== t.milestoneId).map((O) => ({
7290
7290
  label: O.name,
7291
7291
  value: O.id
7292
- }))), $ = y({
7292
+ }))), $ = b({
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
- }, b = (h) => {
7306
+ }, y = (h) => {
7307
7307
  e("deleteSubtask", h);
7308
- }, L = y(() => {
7308
+ }, L = b(() => {
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
- }), U = y({
7315
+ }), j = b({
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 = y(() => {
7337
+ }, G = b(() => {
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: j(() => [
7361
+ header: U(() => [
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
- Q(h.$slots, "header", {}, () => {
7369
+ X(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(ye, {
7374
+ T(be, {
7375
7375
  options: G.value,
7376
7376
  value: (z = h.activity.status) == null ? void 0 : z.id,
7377
7377
  "can-clear": !1,
@@ -7384,13 +7384,13 @@ const K5 = {
7384
7384
  ];
7385
7385
  })
7386
7386
  ]),
7387
- default: j(() => [
7387
+ default: U(() => [
7388
7388
  f("div", X5, [
7389
7389
  f("fieldset", Q5, [
7390
7390
  f("div", J5, [
7391
7391
  f("label", e7, [
7392
7392
  f("span", t7, Z(h.$t("activity.description.label")), 1),
7393
- et(f("textarea", {
7393
+ tt(f("textarea", {
7394
7394
  "onUpdate:modelValue": O[0] || (O[0] = (z) => s.value = z),
7395
7395
  readonly: !h.isEditable,
7396
7396
  rows: "4",
@@ -7411,7 +7411,7 @@ const K5 = {
7411
7411
  f("div", s7, [
7412
7412
  f("label", n7, [
7413
7413
  f("span", i7, Z(h.$t("activity.estimation.label")), 1),
7414
- et(f("input", {
7414
+ tt(f("input", {
7415
7415
  "onUpdate:modelValue": O[1] || (O[1] = (z) => o.value = z),
7416
7416
  readonly: !h.isEditable,
7417
7417
  class: "ao-field__input",
@@ -7431,7 +7431,7 @@ const K5 = {
7431
7431
  ]),
7432
7432
  f("label", l7, [
7433
7433
  f("span", r7, Z(h.$t("activity.important.label")), 1),
7434
- et(f("input", {
7434
+ tt(f("input", {
7435
7435
  "onUpdate:modelValue": O[2] || (O[2] = (z) => i.value = z),
7436
7436
  disabled: !h.isEditable,
7437
7437
  class: "ao-field__input",
@@ -7447,7 +7447,7 @@ const K5 = {
7447
7447
  ]),
7448
7448
  h.isTemplate !== !0 && h.activity.createdBy.id === h.userId ? (c(), m("label", d7, [
7449
7449
  f("span", c7, Z(h.$t("activity.private.label")), 1),
7450
- et(f("input", {
7450
+ tt(f("input", {
7451
7451
  "onUpdate:modelValue": O[3] || (O[3] = (z) => l.value = z),
7452
7452
  disabled: !h.isEditable,
7453
7453
  class: "ao-field__input",
@@ -7474,9 +7474,9 @@ const K5 = {
7474
7474
  f("div", h7, [
7475
7475
  f("div", m7, [
7476
7476
  f("div", C7, [
7477
- T(ye, {
7478
- modelValue: U.value,
7479
- "onUpdate:modelValue": O[4] || (O[4] = (z) => U.value = z),
7477
+ T(be, {
7478
+ modelValue: j.value,
7479
+ "onUpdate:modelValue": O[4] || (O[4] = (z) => j.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: j(({
7490
+ tag: U(({
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", b7, [
7515
+ f("div", y7, [
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: b
7526
+ onDelete: y
7527
7527
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
7528
7528
  ])
7529
7529
  ]),
7530
- f("fieldset", y7, [
7530
+ f("fieldset", b7, [
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(ye, {
7542
+ T(be, {
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(ye, {
7557
+ T(be, {
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(ye, {
7572
+ T(be, {
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(ye, {
7590
+ T(be, {
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
- Q(h.$slots, "default")
7602
+ X(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 = y({
7653
+ ), s = b({
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 = y(() => Object.values(me)), i = y({
7664
+ }), o = b(() => Object.values(me)), i = b({
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 = y(() => {
7676
- var b;
7677
- return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (b = {
7675
+ }), l = b(() => {
7676
+ var y;
7677
+ return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (y = {
7678
7678
  [me.ACTIVITIES]: t.templateActivities,
7679
7679
  [me.MILESTONES]: t.templateMilestones,
7680
7680
  [me.PHASES]: t.templatePhases
7681
- }[n.value]) == null ? void 0 : b.map((L) => ({
7681
+ }[n.value]) == null ? void 0 : y.map((L) => ({
7682
7682
  value: L.id,
7683
7683
  label: L.name
7684
7684
  }));
7685
- }), r = vt(t.rule.comparator), d = y({
7685
+ }), r = vt(t.rule.comparator), d = b({
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 = y(() => Object.values(yd)), v = vt(t.rule.trigger), p = y({
7692
+ }), u = b(() => Object.values(bd)), v = vt(t.rule.trigger), p = b({
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 = y(() => Object.values(wd)), w = y({
7699
+ }), C = b(() => Object.values(wd)), w = b({
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
- }), $ = y({
7706
+ }), $ = b({
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 = y(() => Object.values($d));
7714
- return (g, b) => (c(), R(at(g.tagName), { class: "ao-rule-line" }, {
7715
- default: j(() => [
7713
+ }), A = b(() => Object.values($d));
7714
+ return (g, y) => (c(), R(Xe(g.tagName), { class: "ao-rule-line" }, {
7715
+ default: U(() => [
7716
7716
  T(q(We), {
7717
7717
  modelValue: s.value,
7718
- "onUpdate:modelValue": b[0] || (b[0] = (L) => s.value = L),
7718
+ "onUpdate:modelValue": y[0] || (y[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": b[1] || (b[1] = (L) => i.value = L),
7723
+ "onUpdate:modelValue": y[1] || (y[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": b[2] || (b[2] = (L) => p.value = L),
7728
+ "onUpdate:modelValue": y[2] || (y[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": b[3] || (b[3] = (L) => d.value = L),
7733
+ "onUpdate:modelValue": y[3] || (y[3] = (L) => d.value = L),
7734
7734
  options: u.value
7735
7735
  }, null, 8, ["modelValue", "options"]),
7736
- et(f("input", {
7737
- "onUpdate:modelValue": b[4] || (b[4] = (L) => w.value = L),
7736
+ tt(f("input", {
7737
+ "onUpdate:modelValue": y[4] || (y[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": b[5] || (b[5] = (L) => $.value = L),
7750
+ "onUpdate:modelValue": y[5] || (y[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: b[6] || (b[6] = (L) => g.$emit("close"))
7757
+ onClick: y[6] || (y[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: j(() => [
7781
+ header: U(() => [
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: j(() => [
7787
+ default: U(() => [
7788
7788
  f("div", j7, [
7789
7789
  f("ul", Z7, [
7790
- (c(!0), m(ve, null, be(s.rules, (i) => (c(), R(U7, {
7790
+ (c(!0), m(ve, null, ye(s.rules, (i) => (c(), R(U7, {
7791
7791
  key: i.id,
7792
7792
  rule: i,
7793
7793
  "template-phases": s.templatePhases,
@@ -7797,7 +7797,7 @@ const j7 = { class: "ao-template-rules__body" }, Z7 = { class: "ao-template-rule
7797
7797
  onClose: () => n(i.id)
7798
7798
  }, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
7799
7799
  ]),
7800
- T(Qe, {
7800
+ T(Je, {
7801
7801
  label: s.$t("template.rules.add"),
7802
7802
  "icon-name": "Add",
7803
7803
  onClick: t
@@ -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 = y(
7834
+ const t = a, { t: n } = nt(), s = b(
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 = y(() => {
7852
+ const i = b(() => {
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 = y(() => {
7865
+ const l = b(() => {
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 = y(() => {
7880
+ const r = b(() => {
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 = y(() => {
7886
+ }), d = b(() => {
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 = y(() => {
7895
+ }), u = b(() => {
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 = y(() => {
7900
+ }), v = b(() => {
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 = y(() => {
7906
+ }), p = b(() => {
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
- }, b = (I) => {
7949
+ }, y = (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
- }, U = (I) => {
7976
+ }, j = (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: j(() => [
8074
+ primary: U(() => [
8075
8075
  T(Ce, {
8076
8076
  title: p.value,
8077
8077
  level: 2,
@@ -8086,21 +8086,21 @@ const q7 = {
8086
8086
  f("div", z7, [
8087
8087
  f("ol", W7, [
8088
8088
  f("li", Y7, [
8089
- T(q(Xe), {
8089
+ T(q(Qe), {
8090
8090
  "model-value": s.value.phases,
8091
8091
  class: "ao-templates__list",
8092
8092
  "item-key": "id",
8093
8093
  handle: ".ao-card__drag",
8094
8094
  onChange: h
8095
8095
  }, {
8096
- header: j(() => [
8096
+ header: U(() => [
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: j(({ element: S }) => {
8103
+ item: U(({ element: S }) => {
8104
8104
  var N;
8105
8105
  return [
8106
8106
  T(W0, {
@@ -8119,9 +8119,9 @@ const q7 = {
8119
8119
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
8120
8120
  ];
8121
8121
  }),
8122
- footer: j(() => [
8122
+ footer: U(() => [
8123
8123
  f("div", K7, [
8124
- T(Qe, {
8124
+ T(Je, {
8125
8125
  "icon-name": "AddBoxOutlineRounded",
8126
8126
  label: I.$t("template.phases.add"),
8127
8127
  onClick: C
@@ -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: b,
8141
- onUpdateMilestone: U,
8140
+ onAddMilestone: y,
8141
+ onUpdateMilestone: j,
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: j(() => [
8183
- Q(I.$slots, "activityDetailsBody")
8182
+ default: U(() => [
8183
+ X(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)
@@ -8215,18 +8215,18 @@ const Q7 = {
8215
8215
  tagName: { default: "div" }
8216
8216
  },
8217
8217
  setup(a) {
8218
- return (e, t) => (c(), R(at(e.tagName), {
8218
+ return (e, t) => (c(), R(Xe(e.tagName), {
8219
8219
  class: x(["ao-card", { "ao-card--clickable": e.isClickable }])
8220
8220
  }, {
8221
- default: j(() => [
8221
+ default: U(() => [
8222
8222
  e.$slots.header ? (c(), m("header", Q7, [
8223
- Q(e.$slots, "header")
8223
+ X(e.$slots, "header")
8224
8224
  ])) : k("", !0),
8225
8225
  f("div", J7, [
8226
- Q(e.$slots, "default")
8226
+ X(e.$slots, "default")
8227
8227
  ]),
8228
8228
  e.$slots.footer ? (c(), m("footer", e9, [
8229
- Q(e.$slots, "footer")
8229
+ X(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 = y(() => typeof e.percentages == "number" ? [e.percentages] : e.percentages ?? []);
8243
+ const e = a, t = b(() => 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, be(t.value, (o) => (c(), m("div", {
8248
+ (c(!0), m(ve, null, ye(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 = y(() => {
8272
+ }, s = b(() => {
8273
8273
  var l;
8274
8274
  return (l = t.milestones) == null ? void 0 : l.length;
8275
- }), o = y(() => {
8275
+ }), o = b(() => {
8276
8276
  var l;
8277
8277
  return (l = t.milestones) == null ? void 0 : l.filter((r) => r.status === k1.done).length;
8278
- }), i = y(() => (o.value || 0) / (s.value || 1));
8278
+ }), i = b(() => (o.value || 0) / (s.value || 1));
8279
8279
  return (l, r) => (c(), R(R1, { class: "ao-card-project-phase" }, t1({
8280
- default: j(() => [
8280
+ default: U(() => [
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: j(() => [
8290
+ footer: U(() => [
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
- Q(l.$slots, "secondary")
8307
+ X(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: j(() => [
8316
+ fn: U(() => [
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 = y(() => {
8353
+ const t = a, n = b(() => {
8354
8354
  var l;
8355
8355
  return (l = t.activities) == null ? void 0 : l.length;
8356
- }), s = y(() => {
8356
+ }), s = b(() => {
8357
8357
  var l;
8358
8358
  return (l = t.activities) == null ? void 0 : l.filter((r) => Aa(r, t.closedStatus)).length;
8359
- }), o = y(() => (s.value || 0) / (n.value || 1)), i = (l) => {
8359
+ }), o = b(() => (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: j(() => [
8367
+ default: U(() => [
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: j(() => [
8391
+ footer: U(() => [
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
- Q(l.$slots, "secondary")
8408
+ X(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" }, b9 = { class: "ao-project-phase__milestones" }, y9 = { 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" }, y9 = { class: "ao-project-phase__milestones" }, b9 = { 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 = y(() => t.phase.milestones.map((v) => v0(v, t.closedStatus))), i = (v) => {
8435
+ }, o = b(() => 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,15 +8469,15 @@ 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", b9, [
8473
- T(q(Xe), Ee({
8472
+ f("div", y9, [
8473
+ T(q(Qe), Ee({
8474
8474
  class: "ao-project-phase__milestones-list",
8475
8475
  list: o.value,
8476
8476
  disabled: !v.isEditable,
8477
8477
  "item-key": "id",
8478
8478
  group: "kanban"
8479
8479
  }, v.$attrs, { onChange: u }), {
8480
- item: j(({ element: C }) => [
8480
+ item: U(({ element: C }) => [
8481
8481
  T(h9, {
8482
8482
  id: C.id,
8483
8483
  name: C.name,
@@ -8496,8 +8496,8 @@ const m9 = { class: "ao-project-phase" }, C9 = {
8496
8496
  ]),
8497
8497
  _: 1
8498
8498
  }, 16, ["list", "disabled"]),
8499
- f("div", y9, [
8500
- v.isEditable ? (c(), R(Qe, {
8499
+ f("div", b9, [
8500
+ v.isEditable ? (c(), R(Je, {
8501
8501
  key: 0,
8502
8502
  label: v.$t("project.milestone.add"),
8503
8503
  class: "ao-project-phase__milestone-add",
@@ -8548,14 +8548,14 @@ const $9 = { class: "ao-project__phases" }, M9 = {
8548
8548
  e("addPhase", u);
8549
8549
  };
8550
8550
  return (u, v) => (c(), m("div", $9, [
8551
- T(q(Xe), {
8551
+ T(q(Qe), {
8552
8552
  class: "ao-project-phase__phases-list",
8553
8553
  "model-value": u.phases,
8554
8554
  "item-key": "id",
8555
8555
  handle: ".ao-card__drag",
8556
8556
  onChange: l
8557
8557
  }, {
8558
- item: j(({ element: p }) => [
8558
+ item: U(({ element: p }) => [
8559
8559
  T(w9, {
8560
8560
  phase: p,
8561
8561
  "is-editable": u.isEditable,
@@ -8572,7 +8572,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
8572
8572
  u.isEditable ? (c(), m("div", M9, [
8573
8573
  k9,
8574
8574
  f("div", A9, [
8575
- T(Qe, {
8575
+ T(Je, {
8576
8576
  label: u.$t("project.phases.add"),
8577
8577
  "icon-name": "Add",
8578
8578
  class: "ao-project-phase__add-phase",
@@ -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 = y(() => t.templates.map((l) => ({
8595
+ const t = a, n = b(() => 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: j(() => [
8604
+ header: U(() => [
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: j(() => [
8610
+ default: U(() => [
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(ye, {
8617
+ T(be, {
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 = y(
8707
+ const t = a, { t: n } = nt(), s = b(
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 = y(
8734
+ }, g = b(
8735
8735
  () => s.value.flatMap((E) => E.activities)
8736
- ), b = (E) => {
8736
+ ), y = (E) => {
8737
8737
  e("addFiles", E);
8738
8738
  }, L = (E) => {
8739
8739
  e("removeFile", E);
8740
- }, U = (E) => {
8740
+ }, j = (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: j(() => [
8755
+ primary: U(() => [
8756
8756
  T(Ba, {
8757
8757
  "is-left": !0,
8758
8758
  "right-label": E.$t("project.switch.feed"),
@@ -8811,12 +8811,22 @@ const Ba = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8811
8811
  onAddSubtask: w,
8812
8812
  onUpdateSubtask: $,
8813
8813
  onDeleteSubtask: A,
8814
- onAddFiles: b,
8814
+ onAddFiles: y,
8815
8815
  onRemoveFile: L,
8816
- onAddComment: U,
8816
+ onAddComment: j,
8817
8817
  onUpdateComment: W,
8818
8818
  onRemoveComment: H
8819
- }, null, 8, ["activities", "is-task-checkable", "statuses", "phases", "users", "user-id", "is-editable"])
8819
+ }, {
8820
+ default: U(({ Component: h }) => [
8821
+ (c(), R(Xe(h), null, {
8822
+ activityDetailsBody: U(() => [
8823
+ X(E.$slots, "activityDetailsBody")
8824
+ ]),
8825
+ _: 2
8826
+ }, 1024))
8827
+ ]),
8828
+ _: 3
8829
+ }, 8, ["activities", "is-task-checkable", "statuses", "phases", "users", "user-id", "is-editable"])
8820
8830
  ]))
8821
8831
  ], 16),
8822
8832
  (c(), R(It, { to: "body" }, [
@@ -8884,23 +8894,23 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8884
8894
  id: t.id,
8885
8895
  name: p
8886
8896
  });
8887
- }, s = y(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = y(() => t.assignee ? [t.assignee] : []), i = y(() => A1(t.deadline)), l = (p) => {
8897
+ }, s = b(() => t.phaseName && t.milestoneName ? `${t.phaseName} / ${t.milestoneName}` : ""), o = b(() => t.assignee ? [t.assignee] : []), i = b(() => A1(t.deadline)), l = (p) => {
8888
8898
  const { firstName: C, lastName: w } = p || {};
8889
8899
  return `${C ?? ""}${C ? " " : ""}${w ?? ""}`;
8890
8900
  }, r = (p) => {
8891
8901
  e("removeAssignee", p);
8892
- }, d = y(() => {
8902
+ }, d = b(() => {
8893
8903
  var p;
8894
8904
  return (p = t.tasks) == null ? void 0 : p.length;
8895
- }), u = y(() => {
8905
+ }), u = b(() => {
8896
8906
  var p;
8897
8907
  return (p = t.tasks) == null ? void 0 : p.filter((C) => C.isDone).length;
8898
- }), v = y(() => (u.value || 0) / (d.value || 1));
8908
+ }), v = b(() => (u.value || 0) / (d.value || 1));
8899
8909
  return (p, C) => (c(), R(R1, {
8900
8910
  class: "ao-card-feed",
8901
8911
  "is-clickable": !0
8902
8912
  }, {
8903
- header: j(() => [
8913
+ header: U(() => [
8904
8914
  f("div", U9, [
8905
8915
  p.projectName ? (c(), R(E1, {
8906
8916
  key: 0,
@@ -8925,11 +8935,11 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8925
8935
  })) : k("", !0)
8926
8936
  ])) : k("", !0),
8927
8937
  p.$slots.secondary ? (c(), m("div", Z9, [
8928
- Q(p.$slots, "secondary")
8938
+ X(p.$slots, "secondary")
8929
8939
  ])) : k("", !0)
8930
8940
  ])
8931
8941
  ]),
8932
- default: j(() => [
8942
+ default: U(() => [
8933
8943
  f("div", F9, [
8934
8944
  s.value ? (c(), m("span", q9, Z(s.value), 1)) : k("", !0),
8935
8945
  T(Ce, {
@@ -8942,11 +8952,11 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8942
8952
  p.deadline ? (c(), m("span", z9, Z(i.value), 1)) : k("", !0)
8943
8953
  ])
8944
8954
  ]),
8945
- footer: j(() => [
8955
+ footer: U(() => [
8946
8956
  f("div", W9, [
8947
8957
  f("div", Y9, [
8948
8958
  f("ul", K9, [
8949
- (c(!0), m(ve, null, be(o.value, (w) => (c(), m(ve, {
8959
+ (c(!0), m(ve, null, ye(o.value, (w) => (c(), m(ve, {
8950
8960
  key: w.id
8951
8961
  }, [
8952
8962
  w ? (c(), m("li", G9, [
@@ -9012,16 +9022,16 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9012
9022
  },
9013
9023
  emits: ["close", "addActivity", "updateActivity", "archiveActivity"],
9014
9024
  setup(a, { emit: e }) {
9015
- const t = a, { t: n } = nt(), s = y(() => {
9025
+ const t = a, { t: n } = nt(), s = b(() => {
9016
9026
  var p;
9017
9027
  return (p = t.phases) == null ? void 0 : p.find((C) => C.id === t.phaseId);
9018
- }), o = y(() => {
9028
+ }), o = b(() => {
9019
9029
  var p;
9020
9030
  return (p = t.phases) == null ? void 0 : p.flatMap((C) => C.milestones);
9021
- }), i = y(() => {
9031
+ }), i = b(() => {
9022
9032
  var p;
9023
9033
  return (p = o.value) == null ? void 0 : p.find((C) => C.id === t.milestoneId);
9024
- }), l = y(() => {
9034
+ }), l = b(() => {
9025
9035
  var p;
9026
9036
  return (p = i.value) == null ? void 0 : p.activities;
9027
9037
  });
@@ -9068,15 +9078,15 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9068
9078
  })
9069
9079
  ]),
9070
9080
  f("div", r4, [
9071
- T(q(Xe), Ee({
9081
+ T(q(Qe), Ee({
9072
9082
  class: "ao-project-milestone__activities",
9073
9083
  list: l.value,
9074
9084
  disabled: !p.isEditable,
9075
9085
  "item-key": "id",
9076
9086
  group: "kanban"
9077
9087
  }, p.$attrs, { onChange: v }), {
9078
- item: j(({ element: $ }) => {
9079
- var A, g, b, L;
9088
+ item: U(({ element: $ }) => {
9089
+ var A, g, y, L;
9080
9090
  return [
9081
9091
  T(Na, {
9082
9092
  id: $.id,
@@ -9087,12 +9097,12 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9087
9097
  important: $.important,
9088
9098
  users: p.users,
9089
9099
  assignee: $.assignee,
9090
- comments: (b = $.comments) == null ? void 0 : b.length,
9100
+ comments: (y = $.comments) == null ? void 0 : y.length,
9091
9101
  attachments: (L = $.attachments) == null ? void 0 : L.length,
9092
9102
  tasks: $.tasks,
9093
9103
  "is-editable": p.isEditable,
9094
9104
  "is-private": $.private,
9095
- onClick: (U) => p.$router.push({
9105
+ onClick: (j) => p.$router.push({
9096
9106
  name: q(He).activity,
9097
9107
  params: { milestoneId: p.milestoneId, activityId: $.id }
9098
9108
  }),
@@ -9101,7 +9111,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9101
9111
  }, t1({ _: 2 }, [
9102
9112
  p.isEditable ? {
9103
9113
  name: "secondary",
9104
- fn: j(() => [
9114
+ fn: U(() => [
9105
9115
  T(fe, {
9106
9116
  color: "primary",
9107
9117
  variant: "ghost",
@@ -9121,7 +9131,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9121
9131
  _: 1
9122
9132
  }, 16, ["list", "disabled"]),
9123
9133
  p.isEditable ? (c(), m("div", u4, [
9124
- T(Qe, {
9134
+ T(Je, {
9125
9135
  "icon-name": "Add",
9126
9136
  label: p.$t("project.activity.add"),
9127
9137
  onClick: d
@@ -9150,23 +9160,23 @@ const d4 = /* @__PURE__ */ K({
9150
9160
  },
9151
9161
  emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
9152
9162
  setup(a, { emit: e }) {
9153
- const t = a, n = y(() => {
9163
+ const t = a, n = b(() => {
9154
9164
  var g;
9155
- return (g = t.phases) == null ? void 0 : g.find((b) => b.id === t.phaseId);
9156
- }), s = y(() => {
9165
+ return (g = t.phases) == null ? void 0 : g.find((y) => y.id === t.phaseId);
9166
+ }), s = b(() => {
9157
9167
  var g;
9158
- return (g = t.phases) == null ? void 0 : g.flatMap((b) => b.milestones);
9159
- }), o = y(() => {
9168
+ return (g = t.phases) == null ? void 0 : g.flatMap((y) => y.milestones);
9169
+ }), o = b(() => {
9160
9170
  var g;
9161
- return (g = s.value) == null ? void 0 : g.find((b) => b.id === t.milestoneId);
9162
- }), i = y(() => {
9171
+ return (g = s.value) == null ? void 0 : g.find((y) => y.id === t.milestoneId);
9172
+ }), i = b(() => {
9163
9173
  var g;
9164
- return (g = t.activities) == null ? void 0 : g.find((b) => b.id === t.activityId);
9165
- }), l = y(() => {
9174
+ return (g = t.activities) == null ? void 0 : g.find((y) => y.id === t.activityId);
9175
+ }), l = b(() => {
9166
9176
  var g;
9167
- return (g = t.activityTypes) == null ? void 0 : g.map((b) => ({
9168
- value: b,
9169
- label: b
9177
+ return (g = t.activityTypes) == null ? void 0 : g.map((y) => ({
9178
+ value: y,
9179
+ label: y
9170
9180
  }));
9171
9181
  }), r = (g) => {
9172
9182
  e("update:activity", g);
@@ -9187,8 +9197,8 @@ const d4 = /* @__PURE__ */ K({
9187
9197
  }, A = (g) => {
9188
9198
  e("removeComment", g);
9189
9199
  };
9190
- return (g, b) => {
9191
- var L, U;
9200
+ return (g, y) => {
9201
+ var L, j;
9192
9202
  return i.value ? (c(), R(N1, {
9193
9203
  key: 0,
9194
9204
  activity: i.value,
@@ -9200,7 +9210,7 @@ const d4 = /* @__PURE__ */ K({
9200
9210
  "user-id": g.userId,
9201
9211
  "is-task-checkable": g.isTaskCheckable,
9202
9212
  statuses: g.statuses,
9203
- breadcrumbs: `${(L = n.value) == null ? void 0 : L.name} / ${(U = o.value) == null ? void 0 : U.name}`,
9213
+ breadcrumbs: `${(L = n.value) == null ? void 0 : L.name} / ${(j = o.value) == null ? void 0 : j.name}`,
9204
9214
  "is-editable": g.isEditable,
9205
9215
  onClose: g.$router.back,
9206
9216
  "onUpdate:activity": r,
@@ -9282,15 +9292,15 @@ function M1(a) {
9282
9292
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
9283
9293
  }
9284
9294
  const g4 = p4 ? window : void 0;
9285
- function b4() {
9295
+ function y4() {
9286
9296
  const a = J(!1);
9287
9297
  return st() && Dt(() => {
9288
9298
  a.value = !0;
9289
9299
  }), a;
9290
9300
  }
9291
- function y4(a) {
9292
- const e = b4();
9293
- return y(() => (e.value, !!a()));
9301
+ function b4(a) {
9302
+ const e = y4();
9303
+ return b(() => (e.value, !!a()));
9294
9304
  }
9295
9305
  function w4(a, e, t = {}) {
9296
9306
  const {
@@ -9299,7 +9309,7 @@ function w4(a, e, t = {}) {
9299
9309
  threshold: o = 0.1,
9300
9310
  window: i = g4,
9301
9311
  immediate: l = !0
9302
- } = t, r = y4(() => i && "IntersectionObserver" in i), d = y(() => {
9312
+ } = t, r = b4(() => i && "IntersectionObserver" in i), d = b(() => {
9303
9313
  const w = Jt(a);
9304
9314
  return (Array.isArray(w) ? w : [w]).map(M1).filter(h4);
9305
9315
  });
@@ -9394,7 +9404,7 @@ const $4 = {
9394
9404
  });
9395
9405
  };
9396
9406
  return (r, d) => (c(), m("div", $4, [
9397
- r.title || r.$slots.header ? Q(r.$slots, "header", { key: 0 }, () => {
9407
+ r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
9398
9408
  var u;
9399
9409
  return [
9400
9410
  f("div", M4, [
@@ -9407,7 +9417,7 @@ const $4 = {
9407
9417
  ])
9408
9418
  ];
9409
9419
  }) : k("", !0),
9410
- T(q(Xe), Ee({
9420
+ T(q(Qe), Ee({
9411
9421
  class: "ao-list-kanban__list",
9412
9422
  list: r.list,
9413
9423
  "item-key": "id",
@@ -9416,8 +9426,8 @@ const $4 = {
9416
9426
  disabled: !r.isEditable,
9417
9427
  onChange: l
9418
9428
  }), {
9419
- item: j(({ element: u }) => {
9420
- var v, p, C, w, $, A, g, b;
9429
+ item: U(({ element: u }) => {
9430
+ var v, p, C, w, $, A, g, y;
9421
9431
  return [
9422
9432
  T(Na, {
9423
9433
  id: u.id,
@@ -9433,7 +9443,7 @@ const $4 = {
9433
9443
  important: u.important,
9434
9444
  type: u.type,
9435
9445
  comments: (g = u.comments) == null ? void 0 : g.length,
9436
- attachments: (b = u.attachments) == null ? void 0 : b.length,
9446
+ attachments: (y = u.attachments) == null ? void 0 : y.length,
9437
9447
  users: r.users,
9438
9448
  assignee: u.assignee,
9439
9449
  "is-editable": r.isEditable,
@@ -9445,7 +9455,7 @@ const $4 = {
9445
9455
  onClick: () => o(u.id),
9446
9456
  onRemoveAssignee: () => r.isEditable && i({ id: u.id, assigneeId: null })
9447
9457
  }, {
9448
- secondary: j(() => [
9458
+ secondary: U(() => [
9449
9459
  r.isEditable ? (c(), R(fe, {
9450
9460
  key: 0,
9451
9461
  color: "primary",
@@ -9462,7 +9472,7 @@ const $4 = {
9462
9472
  }, 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"])
9463
9473
  ];
9464
9474
  }),
9465
- footer: j(() => [
9475
+ footer: U(() => [
9466
9476
  r.isLoading ? (c(), m("div", k4, [
9467
9477
  T(ce, { name: "Loading" })
9468
9478
  ])) : r.hasMore ? (c(), m("div", {
@@ -9477,8 +9487,8 @@ const $4 = {
9477
9487
  _: 1
9478
9488
  }, 16, ["list", "disabled"]),
9479
9489
  r.$slots.footer || r.footerLabel ? (c(), m("div", E4, [
9480
- Q(r.$slots, "footer", {}, () => [
9481
- r.isEditable ? (c(), R(Qe, {
9490
+ X(r.$slots, "footer", {}, () => [
9491
+ r.isEditable ? (c(), R(Je, {
9482
9492
  key: 0,
9483
9493
  "icon-name": "AddBoxOutlineRounded",
9484
9494
  label: r.footerLabel,
@@ -9530,7 +9540,7 @@ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder",
9530
9540
  }
9531
9541
  });
9532
9542
  function D4(a) {
9533
- const e = J(), t = y(
9543
+ const e = J(), t = b(
9534
9544
  () => a.value.find(
9535
9545
  (s) => s.id === e.value
9536
9546
  )
@@ -9595,7 +9605,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9595
9605
  },
9596
9606
  { immediate: !0 }
9597
9607
  );
9598
- const v = y(() => {
9608
+ const v = b(() => {
9599
9609
  var M;
9600
9610
  return !i.value || !i.value.milestone ? "" : `${((M = i.value.milestone.phase) == null ? void 0 : M.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
9601
9611
  }), p = (M) => {
@@ -9608,32 +9618,32 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9608
9618
  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);
9609
9619
  }, C = (M, Y) => {
9610
9620
  u.value = !1, e("update:filters", { ...t.filters, [M]: Y });
9611
- }, w = y(() => t.project ? [t.project] : t.projects ?? []), $ = y(() => w.value.map((M) => ({
9621
+ }, w = b(() => t.project ? [t.project] : t.projects ?? []), $ = b(() => w.value.map((M) => ({
9612
9622
  value: M.id,
9613
9623
  label: M.name
9614
- }))), A = y(() => {
9624
+ }))), A = b(() => {
9615
9625
  var M;
9616
9626
  return (M = t.activityTypes) == null ? void 0 : M.map((Y) => ({
9617
9627
  value: Y.id,
9618
9628
  label: Y.name
9619
9629
  }));
9620
- }), g = y(() => t.users.map((M) => ({
9630
+ }), g = b(() => t.users.map((M) => ({
9621
9631
  value: M.id,
9622
9632
  label: `${M.firstName} ${M.lastName}`,
9623
9633
  avatar: M.avatarUrl
9624
- }))), b = (M) => {
9634
+ }))), y = (M) => {
9625
9635
  i.value && e("update:activity", M);
9626
9636
  }, L = (M) => {
9627
9637
  e("update:activity", M);
9628
- }, U = (M) => {
9638
+ }, j = (M) => {
9629
9639
  e("archiveActivity", M);
9630
- }, W = y({
9640
+ }, W = b({
9631
9641
  get() {
9632
9642
  var M;
9633
9643
  return (M = i.value) == null ? void 0 : M.deadline;
9634
9644
  },
9635
9645
  set(M) {
9636
- i.value && b({
9646
+ i.value && y({
9637
9647
  id: i.value.id,
9638
9648
  deadline: M
9639
9649
  });
@@ -9663,10 +9673,10 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9663
9673
  }, ae = (M) => {
9664
9674
  const { id: Y } = i.value || {};
9665
9675
  Y && e("removeComment", M);
9666
- }, re = y(() => w.value.map((M) => ({
9676
+ }, re = b(() => w.value.map((M) => ({
9667
9677
  value: M.id,
9668
9678
  label: M.name
9669
- }))), oe = y(() => {
9679
+ }))), oe = b(() => {
9670
9680
  var Y, ie, B;
9671
9681
  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], []);
9672
9682
  return M == null ? void 0 : M.map((S) => ({
@@ -9683,7 +9693,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9683
9693
  id: i.value.id,
9684
9694
  milestoneId: M
9685
9695
  });
9686
- }, F = y(() => {
9696
+ }, F = b(() => {
9687
9697
  var M;
9688
9698
  return (M = t.statuses) == null ? void 0 : M.map((Y) => ({
9689
9699
  value: Y.id,
@@ -9699,7 +9709,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9699
9709
  var ie;
9700
9710
  return c(), m("div", B4, [
9701
9711
  T(r1, null, {
9702
- primary: j(() => [
9712
+ primary: U(() => [
9703
9713
  f("div", N4, [
9704
9714
  t.project ? (c(), R(Ba, {
9705
9715
  key: 0,
@@ -9717,7 +9727,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9717
9727
  "onUpdate:modelValue": H,
9718
9728
  onClear: G
9719
9729
  }, null, 8, ["model-value", "placeholder"]),
9720
- t.project ? k("", !0) : (c(), R(ye, {
9730
+ t.project ? k("", !0) : (c(), R(be, {
9721
9731
  key: 1,
9722
9732
  "model-value": M.filters[q(dt).project],
9723
9733
  mode: "tags",
@@ -9728,7 +9738,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9728
9738
  placeholder: M.$t("feed.filters.project.placeholder"),
9729
9739
  "onUpdate:modelValue": Y[1] || (Y[1] = (B) => C(q(dt).project, B))
9730
9740
  }, null, 8, ["model-value", "options", "placeholder"])),
9731
- A.value ? (c(), R(ye, {
9741
+ A.value ? (c(), R(be, {
9732
9742
  key: 2,
9733
9743
  "model-value": M.filters[q(dt).type],
9734
9744
  mode: "tags",
@@ -9739,7 +9749,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9739
9749
  placeholder: M.$t("feed.filters.activityType.placeholder"),
9740
9750
  "onUpdate:modelValue": Y[2] || (Y[2] = (B) => C(q(dt).type, B))
9741
9751
  }, null, 8, ["model-value", "options", "placeholder"])) : k("", !0),
9742
- T(ye, {
9752
+ T(be, {
9743
9753
  "model-value": M.filters[q(dt).assignee],
9744
9754
  mode: "tags",
9745
9755
  options: g.value,
@@ -9749,7 +9759,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9749
9759
  placeholder: M.$t("feed.filters.assignee.placeholder"),
9750
9760
  "onUpdate:modelValue": Y[3] || (Y[3] = (B) => C(q(dt).assignee, B))
9751
9761
  }, {
9752
- tag: j(({ option: B, handleTagRemove: S }) => [
9762
+ tag: U(({ option: B, handleTagRemove: S }) => [
9753
9763
  T(gt, {
9754
9764
  "user-name": B.label,
9755
9765
  "avatar-url": B.avatar,
@@ -9776,7 +9786,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9776
9786
  _: 1
9777
9787
  }),
9778
9788
  f("div", R4, [
9779
- (c(!0), m(ve, null, be(M.statuses, (B) => (c(), R(I4, {
9789
+ (c(!0), m(ve, null, ye(M.statuses, (B) => (c(), R(I4, {
9780
9790
  key: B.id,
9781
9791
  status: B,
9782
9792
  list: r.value[B.id],
@@ -9786,7 +9796,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9786
9796
  "is-editable": M.isEditable,
9787
9797
  onAdd: () => p(B),
9788
9798
  onSelectActivity: l,
9789
- onArchiveActivity: U,
9799
+ onArchiveActivity: j,
9790
9800
  onUpdateActivity: L
9791
9801
  }, null, 8, ["status", "list", "title", "footer-label", "users", "is-editable", "onAdd"]))), 128))
9792
9802
  ]),
@@ -9804,7 +9814,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9804
9814
  breadcrumbs: v.value,
9805
9815
  "is-editable": M.isEditable,
9806
9816
  onClose: Y[6] || (Y[6] = () => l(null)),
9807
- "onUpdate:activity": b,
9817
+ "onUpdate:activity": y,
9808
9818
  onAddSubtask: te,
9809
9819
  onUpdateSubtask: E,
9810
9820
  onDeleteSubtask: ee,
@@ -9814,13 +9824,13 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9814
9824
  onUpdateComment: z,
9815
9825
  onRemoveComment: ae
9816
9826
  }, {
9817
- header: j(() => {
9827
+ header: U(() => {
9818
9828
  var B, S, N;
9819
9829
  return [
9820
9830
  f("div", U4, [
9821
9831
  re.value && !t.project ? (c(), m("label", j4, [
9822
9832
  f("span", Z4, Z(M.$t("activity.project.label")), 1),
9823
- T(ye, {
9833
+ T(be, {
9824
9834
  options: re.value,
9825
9835
  value: (B = q(i).project) == null ? void 0 : B.id,
9826
9836
  searchable: !0,
@@ -9831,7 +9841,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9831
9841
  ])) : k("", !0),
9832
9842
  oe.value ? (c(), m("label", F4, [
9833
9843
  f("span", q4, Z(M.$t("activity.milestone.label")), 1),
9834
- T(ye, {
9844
+ T(be, {
9835
9845
  options: oe.value,
9836
9846
  value: (S = q(i).milestone) == null ? void 0 : S.id,
9837
9847
  searchable: !0,
@@ -9842,7 +9852,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9842
9852
  ])) : k("", !0),
9843
9853
  F.value ? (c(), m("label", z4, [
9844
9854
  f("span", W4, Z(M.$t("activity.status.label")), 1),
9845
- T(ye, {
9855
+ T(be, {
9846
9856
  options: F.value,
9847
9857
  value: (N = q(i).status) == null ? void 0 : N.id,
9848
9858
  "can-clear": !1,
@@ -9855,11 +9865,11 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9855
9865
  ])
9856
9866
  ];
9857
9867
  }),
9858
- default: j(() => [
9868
+ default: U(() => [
9859
9869
  f("div", Y4, [
9860
9870
  f("label", K4, [
9861
9871
  f("span", G4, Z(M.$t("activity.deadline.label")), 1),
9862
- et(f("input", {
9872
+ tt(f("input", {
9863
9873
  "onUpdate:modelValue": Y[5] || (Y[5] = (B) => W.value = B),
9864
9874
  class: "ao-field__input",
9865
9875
  type: "date"
@@ -9873,7 +9883,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9873
9883
  ])
9874
9884
  ])
9875
9885
  ]),
9876
- Q(M.$slots, "activityDetailsBody")
9886
+ X(M.$slots, "activityDetailsBody")
9877
9887
  ]),
9878
9888
  _: 3
9879
9889
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : k("", !0)
@@ -9990,7 +10000,7 @@ const ft = {
9990
10000
  };
9991
10001
  return (l, r) => (c(), m("div", X4, [
9992
10002
  T(r1, null, {
9993
- secondary: j(() => [
10003
+ secondary: U(() => [
9994
10004
  T(fe, {
9995
10005
  label: l.$t("templates.new"),
9996
10006
  color: "primary",
@@ -10001,14 +10011,14 @@ const ft = {
10001
10011
  ]),
10002
10012
  _: 1
10003
10013
  }),
10004
- T(q(Xe), {
10014
+ T(q(Qe), {
10005
10015
  "model-value": l.templates,
10006
10016
  class: "ao-templates__list",
10007
10017
  "item-key": "id",
10008
10018
  handle: ".ao-card__drag",
10009
10019
  onChange: i
10010
10020
  }, {
10011
- item: j(({ element: d }) => {
10021
+ item: U(({ element: d }) => {
10012
10022
  var u;
10013
10023
  return [
10014
10024
  T(P0, {
@@ -10044,7 +10054,7 @@ const J4 = { class: "ao-field" }, e8 = { class: "ao-field__label" }, t8 = ["type
10044
10054
  },
10045
10055
  emits: ["update:modelValue"],
10046
10056
  setup(a) {
10047
- const e = a, t = y(
10057
+ const e = a, t = b(
10048
10058
  () => e.modelModifiers.lazy ? "change" : "input"
10049
10059
  );
10050
10060
  return (n, s) => (c(), m("label", J4, [
@@ -10076,7 +10086,7 @@ export {
10076
10086
  u8 as listUpdateTypes,
10077
10087
  k1 as milestoneStatus,
10078
10088
  He as projectOverviewRoutes,
10079
- yd as ruleComparators,
10089
+ bd as ruleComparators,
10080
10090
  $d as ruleDurationUnits,
10081
10091
  wd as ruleTriggerTypes,
10082
10092
  me as templateItemType,