@26lights/orcha 0.41.120 → 0.41.122

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,7 +1,7 @@
1
- import { defineComponent as G, openBlock as v, createBlock as D, unref as F, mergeProps as Ae, createElementBlock as _, createElementVNode as f, pushScopeId as Bo, popScopeId as Ro, createStaticVNode as jo, computed as M, resolveDynamicComponent as It, normalizeClass as J, renderSlot as ae, toDisplayString as Y, createCommentVNode as E, ref as q, watch as ce, nextTick as $e, withKeys as vt, toHandlers as No, withCtx as Z, createTextVNode as As, createVNode as A, normalizeStyle as Fe, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as Ce, onMounted as Lt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ie, getCurrentInstance as Pt, toRef as dt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as Te, vShow as Uo, onUpdated as Fo, vModelText as Ne, resolveComponent as ut, vModelCheckbox as Zo, getCurrentScope as Wo, onScopeDispose as zo, toHandlerKey as qo } from "vue";
1
+ import { defineComponent as K, openBlock as v, createBlock as D, unref as F, mergeProps as Ae, createElementBlock as _, createElementVNode as f, pushScopeId as Bo, popScopeId as jo, createStaticVNode as Ro, computed as M, resolveDynamicComponent as It, normalizeClass as J, renderSlot as ae, toDisplayString as Y, createCommentVNode as E, ref as q, watch as ce, nextTick as $e, withKeys as vt, toHandlers as No, withCtx as Z, createTextVNode as As, createVNode as A, normalizeStyle as Fe, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as Ce, onMounted as Lt, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ie, getCurrentInstance as Pt, toRef as dt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as Te, vShow as Uo, onUpdated as Fo, vModelText as Ne, resolveComponent as ut, vModelCheckbox as Zo, getCurrentScope as Wo, onScopeDispose as zo, toHandlerKey as qo } from "vue";
2
2
  import { RouterView as Yo, useRoute as xo, useRouter as Es } from "vue-router";
3
3
  import gt from "vuedraggable";
4
- const l8 = /* @__PURE__ */ G({
4
+ const l8 = /* @__PURE__ */ K({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -119,20 +119,20 @@ const Ei = /* @__PURE__ */ W(Si, [["render", Oi]]), Ii = {}, Li = {
119
119
  function Vi(t, e) {
120
120
  return v(), _("svg", Li, Hi);
121
121
  }
122
- const Di = /* @__PURE__ */ W(Ii, [["render", Vi]]), Bi = {}, Ri = {
122
+ const Di = /* @__PURE__ */ W(Ii, [["render", Vi]]), Bi = {}, ji = {
123
123
  width: "24",
124
124
  height: "24",
125
125
  viewBox: "0 0 24 24",
126
126
  fill: "none",
127
127
  xmlns: "http://www.w3.org/2000/svg"
128
- }, ji = /* @__PURE__ */ f("path", {
128
+ }, Ri = /* @__PURE__ */ f("path", {
129
129
  d: "M10.875 19.3001L4.275 12.7001C4.175 12.6001 4.104 12.4917 4.062 12.3751C4.02067 12.2584 4 12.1334 4 12.0001C4 11.8667 4.02067 11.7417 4.062 11.6251C4.104 11.5084 4.175 11.4001 4.275 11.3001L10.875 4.70008C11.0583 4.51675 11.2873 4.42075 11.562 4.41208C11.8373 4.40408 12.075 4.50008 12.275 4.70008C12.475 4.88342 12.5793 5.11242 12.588 5.38708C12.596 5.66242 12.5 5.90008 12.3 6.10008L7.4 11.0001H18.575C18.8583 11.0001 19.096 11.0957 19.288 11.2871C19.4793 11.4791 19.575 11.7167 19.575 12.0001C19.575 12.2834 19.4793 12.5207 19.288 12.7121C19.096 12.9041 18.8583 13.0001 18.575 13.0001H7.4L12.3 17.9001C12.4833 18.0834 12.5793 18.3167 12.588 18.6001C12.596 18.8834 12.5 19.1167 12.3 19.3001C12.1167 19.5001 11.8833 19.6001 11.6 19.6001C11.3167 19.6001 11.075 19.5001 10.875 19.3001V19.3001Z",
130
130
  fill: "black"
131
131
  }, null, -1), Ni = [
132
- ji
132
+ Ri
133
133
  ];
134
134
  function Ui(t, e) {
135
- return v(), _("svg", Ri, Ni);
135
+ return v(), _("svg", ji, Ni);
136
136
  }
137
137
  const Fi = /* @__PURE__ */ W(Bi, [["render", Ui]]), Zi = {}, Wi = {
138
138
  width: "24",
@@ -254,20 +254,20 @@ const El = /* @__PURE__ */ W(Sl, [["render", Ol]]), Il = {}, Ll = {
254
254
  function Vl(t, e) {
255
255
  return v(), _("svg", Ll, Hl);
256
256
  }
257
- const Dl = /* @__PURE__ */ W(Il, [["render", Vl]]), Bl = {}, Rl = {
257
+ const Dl = /* @__PURE__ */ W(Il, [["render", Vl]]), Bl = {}, jl = {
258
258
  width: "24",
259
259
  height: "24",
260
260
  viewBox: "0 0 24 24",
261
261
  fill: "none",
262
262
  xmlns: "http://www.w3.org/2000/svg"
263
- }, jl = /* @__PURE__ */ f("path", {
263
+ }, Rl = /* @__PURE__ */ f("path", {
264
264
  d: "M3 21V3H21V21H3ZM5 19H19V5H5V19Z",
265
265
  fill: "black"
266
266
  }, null, -1), Nl = [
267
- jl
267
+ Rl
268
268
  ];
269
269
  function Ul(t, e) {
270
- return v(), _("svg", Rl, Nl);
270
+ return v(), _("svg", jl, Nl);
271
271
  }
272
272
  const Fl = /* @__PURE__ */ W(Bl, [["render", Ul]]), Zl = {}, Wl = {
273
273
  width: "24",
@@ -389,20 +389,20 @@ const E1 = /* @__PURE__ */ W(S1, [["render", O1]]), I1 = {}, L1 = {
389
389
  function V1(t, e) {
390
390
  return v(), _("svg", L1, H1);
391
391
  }
392
- const D1 = /* @__PURE__ */ W(I1, [["render", V1]]), B1 = {}, R1 = {
392
+ const D1 = /* @__PURE__ */ W(I1, [["render", V1]]), B1 = {}, j1 = {
393
393
  width: "24",
394
394
  height: "24",
395
395
  viewBox: "0 0 24 24",
396
396
  fill: "none",
397
397
  xmlns: "http://www.w3.org/2000/svg"
398
- }, j1 = /* @__PURE__ */ f("path", {
398
+ }, R1 = /* @__PURE__ */ f("path", {
399
399
  d: "M7 21C6.45 21 5.979 20.804 5.587 20.412C5.195 20.02 4.99934 19.5493 5 19V6C4.71667 6 4.479 5.904 4.287 5.712C4.095 5.52 3.99934 5.28267 4 5C4 4.71667 4.096 4.479 4.288 4.287C4.48 4.095 4.71734 3.99934 5 4H9C9 3.71667 9.096 3.479 9.288 3.287C9.48 3.095 9.71734 2.99934 10 3H14C14.2833 3 14.521 3.096 14.713 3.288C14.905 3.48 15.0007 3.71734 15 4H19C19.2833 4 19.521 4.096 19.713 4.288C19.905 4.48 20.0007 4.71734 20 5C20 5.28334 19.904 5.521 19.712 5.713C19.52 5.905 19.2827 6.00067 19 6V19C19 19.55 18.804 20.021 18.412 20.413C18.02 20.805 17.5493 21.0007 17 21H7ZM7 6V19H17V6H7ZM9 16C9 16.2833 9.096 16.521 9.288 16.713C9.48 16.905 9.71734 17.0007 10 17C10.2833 17 10.521 16.904 10.713 16.712C10.905 16.52 11.0007 16.2827 11 16V9C11 8.71667 10.904 8.479 10.712 8.287C10.52 8.095 10.2827 7.99934 10 8C9.71667 8 9.479 8.096 9.287 8.288C9.095 8.48 8.99934 8.71734 9 9V16ZM13 16C13 16.2833 13.096 16.521 13.288 16.713C13.48 16.905 13.7173 17.0007 14 17C14.2833 17 14.521 16.904 14.713 16.712C14.905 16.52 15.0007 16.2827 15 16V9C15 8.71667 14.904 8.479 14.712 8.287C14.52 8.095 14.2827 7.99934 14 8C13.7167 8 13.479 8.096 13.287 8.288C13.095 8.48 12.9993 8.71734 13 9V16Z",
400
400
  fill: "black"
401
401
  }, null, -1), N1 = [
402
- j1
402
+ R1
403
403
  ];
404
404
  function U1(t, e) {
405
- return v(), _("svg", R1, N1);
405
+ return v(), _("svg", j1, N1);
406
406
  }
407
407
  const F1 = /* @__PURE__ */ W(B1, [["render", U1]]), Z1 = {}, W1 = {
408
408
  width: "24",
@@ -524,20 +524,20 @@ const Er = /* @__PURE__ */ W(Sr, [["render", Or]]), Ir = {}, Lr = {
524
524
  function Vr(t, e) {
525
525
  return v(), _("svg", Lr, Hr);
526
526
  }
527
- const Dr = /* @__PURE__ */ W(Ir, [["render", Vr]]), Br = {}, Rr = {
527
+ const Dr = /* @__PURE__ */ W(Ir, [["render", Vr]]), Br = {}, jr = {
528
528
  width: "24",
529
529
  height: "24",
530
530
  viewBox: "0 0 24 24",
531
531
  fill: "none",
532
532
  xmlns: "http://www.w3.org/2000/svg"
533
- }, jr = /* @__PURE__ */ f("path", {
533
+ }, Rr = /* @__PURE__ */ f("path", {
534
534
  d: "M0 18V16.425C0 15.7083 0.366667 15.125 1.1 14.675C1.83333 14.225 2.8 14 4 14C4.21667 14 4.425 14.0043 4.625 14.013C4.825 14.0217 5.01667 14.0423 5.2 14.075C4.96667 14.425 4.79167 14.7917 4.675 15.175C4.55833 15.5583 4.5 15.9583 4.5 16.375V18H0ZM6 18V16.375C6 15.8417 6.146 15.354 6.438 14.912C6.73 14.47 7.14233 14.0827 7.675 13.75C8.20833 13.4167 8.846 13.1667 9.588 13C10.33 12.8333 11.134 12.75 12 12.75C12.8833 12.75 13.696 12.8333 14.438 13C15.18 13.1667 15.8173 13.4167 16.35 13.75C16.8833 14.0833 17.2917 14.471 17.575 14.913C17.8583 15.355 18 15.8423 18 16.375V18H6ZM19.5 18V16.375C19.5 15.9417 19.4457 15.5333 19.337 15.15C19.2283 14.7667 19.066 14.4083 18.85 14.075C19.0333 14.0417 19.221 14.021 19.413 14.013C19.605 14.005 19.8007 14.0007 20 14C21.2 14 22.1667 14.221 22.9 14.663C23.6333 15.105 24 15.6923 24 16.425V18H19.5ZM8.125 16H15.9C15.7333 15.6667 15.2707 15.375 14.512 15.125C13.7533 14.875 12.916 14.75 12 14.75C11.0833 14.75 10.2457 14.875 9.487 15.125C8.72833 15.375 8.27467 15.6667 8.126 16H8.125ZM4 13C3.45 13 2.979 12.804 2.587 12.412C2.195 12.02 1.99933 11.5493 2 11C2 10.4333 2.196 9.95833 2.588 9.575C2.98 9.19167 3.45067 9 4 9C4.56667 9 5.04167 9.19167 5.425 9.575C5.80833 9.95833 6 10.4333 6 11C6 11.55 5.80833 12.021 5.425 12.413C5.04167 12.805 4.56667 13.0007 4 13ZM20 13C19.45 13 18.979 12.804 18.587 12.412C18.195 12.02 17.9993 11.5493 18 11C18 10.4333 18.196 9.95833 18.588 9.575C18.98 9.19167 19.4507 9 20 9C20.5667 9 21.0417 9.19167 21.425 9.575C21.8083 9.95833 22 10.4333 22 11C22 11.55 21.8083 12.021 21.425 12.413C21.0417 12.805 20.5667 13.0007 20 13ZM12 12C11.1667 12 10.4583 11.7083 9.875 11.125C9.29167 10.5417 9 9.83333 9 9C9 8.15 9.29167 7.43733 9.875 6.862C10.4583 6.28667 11.1667 5.99933 12 6C12.85 6 13.5627 6.28767 14.138 6.863C14.7133 7.43833 15.0007 8.15067 15 9C15 9.83333 14.7123 10.5417 14.137 11.125C13.5617 11.7083 12.8493 12 12 12ZM12 10C12.2833 10 12.521 9.904 12.713 9.712C12.905 9.52 13.0007 9.28267 13 9C13 8.71667 12.904 8.479 12.712 8.287C12.52 8.095 12.2827 7.99933 12 8C11.7167 8 11.479 8.096 11.287 8.288C11.095 8.48 10.9993 8.71733 11 9C11 9.28333 11.096 9.521 11.288 9.713C11.48 9.905 11.7173 10.0007 12 10Z",
535
535
  fill: "black"
536
536
  }, null, -1), Nr = [
537
- jr
537
+ Rr
538
538
  ];
539
539
  function Ur(t, e) {
540
- return v(), _("svg", Rr, Nr);
540
+ return v(), _("svg", jr, Nr);
541
541
  }
542
542
  const Fr = /* @__PURE__ */ W(Br, [["render", Ur]]), Zr = {}, Wr = {
543
543
  width: "24",
@@ -614,10 +614,10 @@ const pu = /* @__PURE__ */ W(lu, [["render", du]]), vu = {}, fu = {
614
614
  function gu(t, e) {
615
615
  return v(), _("svg", fu, mu);
616
616
  }
617
- const Cu = /* @__PURE__ */ W(vu, [["render", gu]]), _u = G({
617
+ const Cu = /* @__PURE__ */ W(vu, [["render", gu]]), _u = K({
618
618
  name: "LoadingIcon"
619
619
  });
620
- const Is = (t) => (Bo("data-v-ad6da4a9"), t = t(), Ro(), t), yu = {
620
+ const Is = (t) => (Bo("data-v-ad6da4a9"), t = t(), jo(), t), yu = {
621
621
  width: "24",
622
622
  height: "24",
623
623
  viewBox: "0 0 24 24",
@@ -672,7 +672,7 @@ const Lu = /* @__PURE__ */ W(Au, [["render", Iu]]), Pu = {}, Hu = {
672
672
  function Bu(t, e) {
673
673
  return v(), _("svg", Hu, Du);
674
674
  }
675
- const Ru = /* @__PURE__ */ W(Pu, [["render", Bu]]), ju = {}, Nu = {
675
+ const ju = /* @__PURE__ */ W(Pu, [["render", Bu]]), Ru = {}, Nu = {
676
676
  width: "24",
677
677
  height: "24",
678
678
  viewBox: "0 0 24 24",
@@ -687,7 +687,7 @@ const Ru = /* @__PURE__ */ W(Pu, [["render", Bu]]), ju = {}, Nu = {
687
687
  function Zu(t, e) {
688
688
  return v(), _("svg", Nu, Fu);
689
689
  }
690
- const Wu = /* @__PURE__ */ W(ju, [["render", Zu]]), zu = {}, qu = {
690
+ const Wu = /* @__PURE__ */ W(Ru, [["render", Zu]]), zu = {}, qu = {
691
691
  width: "24",
692
692
  height: "24",
693
693
  viewBox: "0 0 24 24",
@@ -807,7 +807,7 @@ const Lc = /* @__PURE__ */ W(Ac, [["render", Ic]]), Pc = {}, Hc = {
807
807
  function Bc(t, e) {
808
808
  return v(), _("svg", Hc, Dc);
809
809
  }
810
- const Rc = /* @__PURE__ */ W(Pc, [["render", Bc]]), jc = {}, Nc = {
810
+ const jc = /* @__PURE__ */ W(Pc, [["render", Bc]]), Rc = {}, Nc = {
811
811
  width: "24",
812
812
  height: "24",
813
813
  viewBox: "0 0 24 24",
@@ -822,7 +822,7 @@ const Rc = /* @__PURE__ */ W(Pc, [["render", Bc]]), jc = {}, Nc = {
822
822
  function Zc(t, e) {
823
823
  return v(), _("svg", Nc, Fc);
824
824
  }
825
- const Wc = /* @__PURE__ */ W(jc, [["render", Zc]]), zc = {}, qc = {
825
+ const Wc = /* @__PURE__ */ W(Rc, [["render", Zc]]), zc = {}, qc = {
826
826
  width: "24",
827
827
  height: "24",
828
828
  viewBox: "0 0 24 24",
@@ -843,7 +843,7 @@ const Gc = /* @__PURE__ */ W(zc, [["render", Kc]]), Xc = {}, Qc = {
843
843
  viewBox: "0 0 26 29",
844
844
  fill: "none",
845
845
  xmlns: "http://www.w3.org/2000/svg"
846
- }, Jc = /* @__PURE__ */ jo('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), ed = [
846
+ }, Jc = /* @__PURE__ */ Ro('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>', 2), ed = [
847
847
  Jc
848
848
  ];
849
849
  function td(t, e) {
@@ -939,7 +939,7 @@ const Ld = /* @__PURE__ */ W(Ad, [["render", Id]]), Pd = {}, Hd = {
939
939
  function Bd(t, e) {
940
940
  return v(), _("svg", Hd, Dd);
941
941
  }
942
- const Rd = /* @__PURE__ */ W(Pd, [["render", Bd]]), jd = {}, Nd = {
942
+ const jd = /* @__PURE__ */ W(Pd, [["render", Bd]]), Rd = {}, Nd = {
943
943
  width: "24",
944
944
  height: "24",
945
945
  viewBox: "0 0 24 24",
@@ -954,7 +954,7 @@ const Rd = /* @__PURE__ */ W(Pd, [["render", Bd]]), jd = {}, Nd = {
954
954
  function Zd(t, e) {
955
955
  return v(), _("svg", Nd, Fd);
956
956
  }
957
- const Wd = /* @__PURE__ */ W(jd, [["render", Zd]]), zd = {}, qd = {
957
+ const Wd = /* @__PURE__ */ W(Rd, [["render", Zd]]), zd = {}, qd = {
958
958
  width: "24",
959
959
  height: "24",
960
960
  viewBox: "0 0 24 24",
@@ -1103,7 +1103,7 @@ const L2 = /* @__PURE__ */ W(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1103
1103
  KeyboardArrowUp: Cu,
1104
1104
  Loading: Mu,
1105
1105
  Lock: Lu,
1106
- LogoutRounded: Ru,
1106
+ LogoutRounded: ju,
1107
1107
  Menu: Wu,
1108
1108
  MoreHoriz: Gu,
1109
1109
  MoreTimeRounded: ac,
@@ -1112,7 +1112,7 @@ const L2 = /* @__PURE__ */ W(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1112
1112
  PersonAddOutlineRounded: yc,
1113
1113
  PictureAsPdfRounded: Mc,
1114
1114
  RadioButtonChecked: Lc,
1115
- RadioButtonCheckedOutline: Rc,
1115
+ RadioButtonCheckedOutline: jc,
1116
1116
  RadioButtonUnchecked: Wc,
1117
1117
  RemoveRounded: Gc,
1118
1118
  SearchRounded: ad,
@@ -1121,7 +1121,7 @@ const L2 = /* @__PURE__ */ W(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1121
1121
  Settings: yd,
1122
1122
  SlideshowRounded: Md,
1123
1123
  Target: Ld,
1124
- TaskOutlineRounded: Rd,
1124
+ TaskOutlineRounded: jd,
1125
1125
  TextSnippetRounded: Wd,
1126
1126
  TimerOutline: Gd,
1127
1127
  ViewComfyAltRounded: a2,
@@ -1160,7 +1160,7 @@ const Pn = {
1160
1160
  SOLID: "solid",
1161
1161
  OUTLINE: "outline",
1162
1162
  SOLID_ICON: "solid_icon"
1163
- }, de = /* @__PURE__ */ G({
1163
+ }, de = /* @__PURE__ */ K({
1164
1164
  __name: "AoIcon",
1165
1165
  props: {
1166
1166
  name: {},
@@ -1173,10 +1173,10 @@ const Pn = {
1173
1173
  }, null, 8, ["class"]));
1174
1174
  }
1175
1175
  });
1176
- const B2 = ["type"], R2 = {
1176
+ const B2 = ["type"], j2 = {
1177
1177
  key: 0,
1178
1178
  class: "ao-button__label"
1179
- }, re = /* @__PURE__ */ G({
1179
+ }, re = /* @__PURE__ */ K({
1180
1180
  __name: "AoButton",
1181
1181
  props: {
1182
1182
  label: { default: () => "" },
@@ -1206,7 +1206,7 @@ const B2 = ["type"], R2 = {
1206
1206
  ])
1207
1207
  }, [
1208
1208
  ae(n.$slots, "default", {}, () => [
1209
- n.label ? (v(), _("span", R2, Y(n.label), 1)) : E("", !0)
1209
+ n.label ? (v(), _("span", j2, Y(n.label), 1)) : E("", !0)
1210
1210
  ]),
1211
1211
  s.value ? (v(), D(de, {
1212
1212
  key: 0,
@@ -1246,7 +1246,7 @@ function Hn(t) {
1246
1246
  onDiscard: o
1247
1247
  };
1248
1248
  }
1249
- const be = /* @__PURE__ */ G({
1249
+ const be = /* @__PURE__ */ K({
1250
1250
  __name: "AoTitle",
1251
1251
  props: {
1252
1252
  id: {},
@@ -1308,7 +1308,7 @@ const be = /* @__PURE__ */ G({
1308
1308
  }, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
1309
1309
  }
1310
1310
  });
1311
- const j2 = {
1311
+ const R2 = {
1312
1312
  key: 0,
1313
1313
  class: "ao-card-horiz__drag ao-card__drag"
1314
1314
  }, N2 = { class: "ao-card-horiz__header" }, U2 = {
@@ -1329,7 +1329,7 @@ const j2 = {
1329
1329
  }, Y2 = {
1330
1330
  key: 3,
1331
1331
  class: "ao-card-horiz__secondary"
1332
- }, Vn = /* @__PURE__ */ G({
1332
+ }, Vn = /* @__PURE__ */ K({
1333
1333
  __name: "AoCardHoriz",
1334
1334
  props: {
1335
1335
  id: {},
@@ -1350,7 +1350,7 @@ const j2 = {
1350
1350
  class: J(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1351
1351
  }, {
1352
1352
  default: Z(() => [
1353
- s.isDraggable ? (v(), _("div", j2, [
1353
+ s.isDraggable ? (v(), _("div", R2, [
1354
1354
  A(de, {
1355
1355
  name: "DragIndicator",
1356
1356
  class: "ao-card-horiz__drag-handle"
@@ -1395,7 +1395,7 @@ const j2 = {
1395
1395
  }, 8, ["class"]));
1396
1396
  }
1397
1397
  });
1398
- const ra = /* @__PURE__ */ G({
1398
+ const ra = /* @__PURE__ */ K({
1399
1399
  __name: "AoTag",
1400
1400
  props: {
1401
1401
  label: {},
@@ -1490,13 +1490,13 @@ const c8 = {
1490
1490
  type: "typeId",
1491
1491
  assignee: "assigneeId"
1492
1492
  };
1493
- function Ra(t) {
1493
+ function ja(t) {
1494
1494
  "@babel/helpers - typeof";
1495
- return Ra = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1495
+ return ja = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1496
1496
  return typeof e;
1497
1497
  } : function(e) {
1498
1498
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1499
- }, Ra(t);
1499
+ }, ja(t);
1500
1500
  }
1501
1501
  function Je(t) {
1502
1502
  if (t === null || t === !0 || t === !1)
@@ -1511,7 +1511,7 @@ function _e(t, e) {
1511
1511
  function ke(t) {
1512
1512
  _e(1, arguments);
1513
1513
  var e = Object.prototype.toString.call(t);
1514
- return t instanceof Date || Ra(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1514
+ return t instanceof Date || ja(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1515
1515
  }
1516
1516
  function Q2(t, e) {
1517
1517
  _e(2, arguments);
@@ -1544,9 +1544,9 @@ function a0(t, e) {
1544
1544
  }
1545
1545
  var Dn = 6e4, Bn = 36e5;
1546
1546
  function s0(t) {
1547
- return _e(1, arguments), t instanceof Date || Ra(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
1547
+ return _e(1, arguments), t instanceof Date || ja(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
1548
1548
  }
1549
- function Rn(t) {
1549
+ function jn(t) {
1550
1550
  if (_e(1, arguments), !s0(t) && typeof t != "number")
1551
1551
  return !1;
1552
1552
  var e = ke(t);
@@ -1565,31 +1565,31 @@ function o0(t) {
1565
1565
  var s = e.getTime(), n = a - s;
1566
1566
  return Math.floor(n / n0) + 1;
1567
1567
  }
1568
- function ja(t) {
1568
+ function Ra(t) {
1569
1569
  _e(1, arguments);
1570
1570
  var e = 1, a = ke(t), s = a.getUTCDay(), n = (s < e ? 7 : 0) + s - e;
1571
1571
  return a.setUTCDate(a.getUTCDate() - n), a.setUTCHours(0, 0, 0, 0), a;
1572
1572
  }
1573
- function jn(t) {
1573
+ function Rn(t) {
1574
1574
  _e(1, arguments);
1575
1575
  var e = ke(t), a = e.getUTCFullYear(), s = /* @__PURE__ */ new Date(0);
1576
1576
  s.setUTCFullYear(a + 1, 0, 4), s.setUTCHours(0, 0, 0, 0);
1577
- var n = ja(s), i = /* @__PURE__ */ new Date(0);
1577
+ var n = Ra(s), i = /* @__PURE__ */ new Date(0);
1578
1578
  i.setUTCFullYear(a, 0, 4), i.setUTCHours(0, 0, 0, 0);
1579
- var o = ja(i);
1579
+ var o = Ra(i);
1580
1580
  return e.getTime() >= n.getTime() ? a + 1 : e.getTime() >= o.getTime() ? a : a - 1;
1581
1581
  }
1582
1582
  function i0(t) {
1583
1583
  _e(1, arguments);
1584
- var e = jn(t), a = /* @__PURE__ */ new Date(0);
1584
+ var e = Rn(t), a = /* @__PURE__ */ new Date(0);
1585
1585
  a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
1586
- var s = ja(a);
1586
+ var s = Ra(a);
1587
1587
  return s;
1588
1588
  }
1589
1589
  var l0 = 6048e5;
1590
1590
  function r0(t) {
1591
1591
  _e(1, arguments);
1592
- var e = ke(t), a = ja(e).getTime() - i0(e).getTime();
1592
+ var e = ke(t), a = Ra(e).getTime() - i0(e).getTime();
1593
1593
  return Math.round(a / l0) + 1;
1594
1594
  }
1595
1595
  function Na(t, e) {
@@ -1687,7 +1687,7 @@ var p0 = {
1687
1687
  }
1688
1688
  };
1689
1689
  const rt = p0;
1690
- var Rt = {
1690
+ var jt = {
1691
1691
  am: "am",
1692
1692
  pm: "pm",
1693
1693
  midnight: "midnight",
@@ -1741,7 +1741,7 @@ var Rt = {
1741
1741
  },
1742
1742
  // ISO week-numbering year
1743
1743
  R: function(e, a) {
1744
- var s = jn(e);
1744
+ var s = Rn(e);
1745
1745
  return pe(s, a.length);
1746
1746
  },
1747
1747
  // Extended year. This is a single number designating the year of this calendar system.
@@ -2068,7 +2068,7 @@ var Rt = {
2068
2068
  // AM, PM, midnight, noon
2069
2069
  b: function(e, a, s) {
2070
2070
  var n = e.getUTCHours(), i;
2071
- switch (n === 12 ? i = Rt.noon : n === 0 ? i = Rt.midnight : i = n / 12 >= 1 ? "pm" : "am", a) {
2071
+ switch (n === 12 ? i = jt.noon : n === 0 ? i = jt.midnight : i = n / 12 >= 1 ? "pm" : "am", a) {
2072
2072
  case "b":
2073
2073
  case "bb":
2074
2074
  return s.dayPeriod(i, {
@@ -2096,7 +2096,7 @@ var Rt = {
2096
2096
  // in the morning, in the afternoon, in the evening, at night
2097
2097
  B: function(e, a, s) {
2098
2098
  var n = e.getUTCHours(), i;
2099
- switch (n >= 17 ? i = Rt.evening : n >= 12 ? i = Rt.afternoon : n >= 4 ? i = Rt.morning : i = Rt.night, a) {
2099
+ switch (n >= 17 ? i = jt.evening : n >= 12 ? i = jt.afternoon : n >= 4 ? i = jt.morning : i = jt.night, a) {
2100
2100
  case "B":
2101
2101
  case "BB":
2102
2102
  case "BBB":
@@ -2518,7 +2518,7 @@ var P0 = {
2518
2518
  evening: "evening",
2519
2519
  night: "night"
2520
2520
  }
2521
- }, R0 = {
2521
+ }, j0 = {
2522
2522
  narrow: {
2523
2523
  am: "a",
2524
2524
  pm: "p",
@@ -2549,7 +2549,7 @@ var P0 = {
2549
2549
  evening: "in the evening",
2550
2550
  night: "at night"
2551
2551
  }
2552
- }, j0 = function(e, a) {
2552
+ }, R0 = function(e, a) {
2553
2553
  var s = Number(e), n = s % 100;
2554
2554
  if (n > 20 || n < 10)
2555
2555
  switch (n % 10) {
@@ -2562,7 +2562,7 @@ var P0 = {
2562
2562
  }
2563
2563
  return s + "th";
2564
2564
  }, N0 = {
2565
- ordinalNumber: j0,
2565
+ ordinalNumber: R0,
2566
2566
  era: ea({
2567
2567
  values: P0,
2568
2568
  defaultWidth: "wide"
@@ -2585,7 +2585,7 @@ var P0 = {
2585
2585
  dayPeriod: ea({
2586
2586
  values: B0,
2587
2587
  defaultWidth: "wide",
2588
- formattingValues: R0,
2588
+ formattingValues: j0,
2589
2589
  defaultFormattingWidth: "wide"
2590
2590
  })
2591
2591
  };
@@ -2736,22 +2736,22 @@ var i3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, l3 = /P+p+|P+|
2736
2736
  function Zn(t, e, a) {
2737
2737
  var s, n, i, o, l, r, d, u, c, p, h, g, $, m, k, w, b, y;
2738
2738
  _e(2, arguments);
2739
- var I = String(e), T = ga(), V = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : T.locale) !== null && s !== void 0 ? s : Fn, R = Je((i = (o = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : T.firstWeekContainsDate) !== null && o !== void 0 ? o : (c = T.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
2740
- if (!(R >= 1 && R <= 7))
2739
+ var I = String(e), T = ga(), V = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : T.locale) !== null && s !== void 0 ? s : Fn, U = Je((i = (o = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : T.firstWeekContainsDate) !== null && o !== void 0 ? o : (c = T.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
2740
+ if (!(U >= 1 && U <= 7))
2741
2741
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2742
- var K = Je((h = (g = ($ = (m = a == null ? void 0 : a.weekStartsOn) !== null && m !== void 0 ? m : a == null || (k = a.locale) === null || k === void 0 || (w = k.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && $ !== void 0 ? $ : T.weekStartsOn) !== null && g !== void 0 ? g : (b = T.locale) === null || b === void 0 || (y = b.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && h !== void 0 ? h : 0);
2743
- if (!(K >= 0 && K <= 6))
2742
+ var x = Je((h = (g = ($ = (m = a == null ? void 0 : a.weekStartsOn) !== null && m !== void 0 ? m : a == null || (k = a.locale) === null || k === void 0 || (w = k.options) === null || w === void 0 ? void 0 : w.weekStartsOn) !== null && $ !== void 0 ? $ : T.weekStartsOn) !== null && g !== void 0 ? g : (b = T.locale) === null || b === void 0 || (y = b.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && h !== void 0 ? h : 0);
2743
+ if (!(x >= 0 && x <= 6))
2744
2744
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2745
2745
  if (!V.localize)
2746
2746
  throw new RangeError("locale must contain localize property");
2747
2747
  if (!V.formatLong)
2748
2748
  throw new RangeError("locale must contain formatLong property");
2749
2749
  var ee = ke(t);
2750
- if (!Rn(ee))
2750
+ if (!jn(ee))
2751
2751
  throw new RangeError("Invalid time value");
2752
- var se = ua(ee), N = bs(ee, se), X = {
2753
- firstWeekContainsDate: R,
2754
- weekStartsOn: K,
2752
+ var se = ua(ee), R = bs(ee, se), X = {
2753
+ firstWeekContainsDate: U,
2754
+ weekStartsOn: x,
2755
2755
  locale: V,
2756
2756
  _originalDate: ee
2757
2757
  }, le = I.match(l3).map(function(oe) {
@@ -2769,7 +2769,7 @@ function Zn(t, e, a) {
2769
2769
  return d3(oe);
2770
2770
  var P = f0[te];
2771
2771
  if (P)
2772
- return !(a != null && a.useAdditionalWeekYearTokens) && b0(oe) && mn(oe, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && y0(oe) && mn(oe, e, String(t)), P(N, oe, V.localize, X);
2772
+ return !(a != null && a.useAdditionalWeekYearTokens) && b0(oe) && mn(oe, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && y0(oe) && mn(oe, e, String(t)), P(R, oe, V.localize, X);
2773
2773
  if (te.match(c3))
2774
2774
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + te + "`");
2775
2775
  return oe;
@@ -3687,18 +3687,18 @@ function Xa(t, e = "dd/MM/yyyy") {
3687
3687
  if (!t)
3688
3688
  return "";
3689
3689
  const a = ca(t);
3690
- return Rn(a) ? Zn(a, e) : "";
3690
+ return jn(a) ? Zn(a, e) : "";
3691
3691
  }
3692
3692
  function Hs(t, e) {
3693
3693
  return t.status.id === e.id;
3694
3694
  }
3695
- function R3(t, e) {
3695
+ function j3(t, e) {
3696
3696
  return t.activities.length === 0 ? !1 : !t.activities.some((a) => !Hs(a, e));
3697
3697
  }
3698
- function j3(t, e) {
3698
+ function R3(t, e) {
3699
3699
  return {
3700
3700
  ...t,
3701
- status: R3(t, e) ? Ba.done : Ba.todo
3701
+ status: j3(t, e) ? Ba.done : Ba.todo
3702
3702
  };
3703
3703
  }
3704
3704
  const Gn = (t) => {
@@ -3806,7 +3806,7 @@ function F3(t, e) {
3806
3806
  const Z3 = ["title"], W3 = {
3807
3807
  key: 0,
3808
3808
  className: "ao-avatar__initials"
3809
- }, z3 = ["src"], et = /* @__PURE__ */ G({
3809
+ }, z3 = ["src"], et = /* @__PURE__ */ K({
3810
3810
  __name: "AoAvatar",
3811
3811
  props: {
3812
3812
  userName: {},
@@ -3854,7 +3854,7 @@ const q3 = { class: "ao-card-template__subitems" }, Y3 = { class: "ao-card-templ
3854
3854
  }, n5 = { class: "ao-card-template__col-title" }, o5 = { class: "ao-card-template__col-label" }, i5 = { class: "ao-card-template__col-body" }, l5 = {
3855
3855
  key: 1,
3856
3856
  class: "ao-card-template__col ao-card-template__col--updated-by"
3857
- }, r5 = { class: "ao-card-template__col-title" }, u5 = { class: "ao-card-template__col-label" }, c5 = { class: "ao-card-template__col-body" }, d5 = { class: "ao-card-template-item__secondary" }, Cs = 5, p5 = /* @__PURE__ */ G({
3857
+ }, r5 = { class: "ao-card-template__col-title" }, u5 = { class: "ao-card-template__col-label" }, c5 = { class: "ao-card-template__col-body" }, d5 = { class: "ao-card-template-item__secondary" }, Cs = 5, p5 = /* @__PURE__ */ K({
3858
3858
  __name: "AoCardTemplate",
3859
3859
  props: {
3860
3860
  id: {},
@@ -3969,7 +3969,7 @@ const q3 = { class: "ao-card-template__subitems" }, Y3 = { class: "ao-card-templ
3969
3969
  const v5 = { class: "ao-page-header" }, f5 = { class: "ao-page-header-main" }, h5 = {
3970
3970
  key: 0,
3971
3971
  class: "ao-page-header-secondary"
3972
- }, ba = /* @__PURE__ */ G({
3972
+ }, ba = /* @__PURE__ */ K({
3973
3973
  __name: "AoPageHeader",
3974
3974
  props: {
3975
3975
  canGoBack: { type: Boolean }
@@ -3995,7 +3995,7 @@ const v5 = { class: "ao-page-header" }, f5 = { class: "ao-page-header-main" }, h
3995
3995
  const m5 = ["type"], g5 = {
3996
3996
  key: 0,
3997
3997
  class: "ao-button-card__label"
3998
- }, Ct = /* @__PURE__ */ G({
3998
+ }, Ct = /* @__PURE__ */ K({
3999
3999
  __name: "AoButtonCard",
4000
4000
  props: {
4001
4001
  label: { default: () => "" },
@@ -4033,7 +4033,7 @@ const m5 = ["type"], g5 = {
4033
4033
  const C5 = { class: "ao-card-template-item__footer" }, _5 = {
4034
4034
  key: 0,
4035
4035
  class: "ao-card-template-item__subitem"
4036
- }, y5 = { class: "ao-card-template-item__subitem-number" }, b5 = { class: "ao-card-template-item__secondary" }, Vs = /* @__PURE__ */ G({
4036
+ }, y5 = { class: "ao-card-template-item__subitem-number" }, b5 = { class: "ao-card-template-item__secondary" }, Vs = /* @__PURE__ */ K({
4037
4037
  __name: "AoCardTemplateItem",
4038
4038
  props: {
4039
4039
  milestones: {},
@@ -4082,7 +4082,7 @@ const C5 = { class: "ao-card-template-item__footer" }, _5 = {
4082
4082
  }));
4083
4083
  }
4084
4084
  });
4085
- const w5 = /* @__PURE__ */ G({
4085
+ const w5 = /* @__PURE__ */ K({
4086
4086
  __name: "AoCardTemplateItemPhase",
4087
4087
  props: {
4088
4088
  id: {},
@@ -4106,7 +4106,7 @@ const w5 = /* @__PURE__ */ G({
4106
4106
  _: 3
4107
4107
  }, 16, ["id", "title", "activities", "milestones"]));
4108
4108
  }
4109
- }), $5 = /* @__PURE__ */ G({
4109
+ }), $5 = /* @__PURE__ */ K({
4110
4110
  __name: "AoCardTemplateItemMilestone",
4111
4111
  props: {
4112
4112
  activities: {}
@@ -4123,7 +4123,7 @@ const w5 = /* @__PURE__ */ G({
4123
4123
  _: 3
4124
4124
  }, 8, ["activities"]));
4125
4125
  }
4126
- }), k5 = { class: "ao-list__footer" }, S5 = /* @__PURE__ */ G({
4126
+ }), k5 = { class: "ao-list__footer" }, S5 = /* @__PURE__ */ K({
4127
4127
  __name: "AoTemplateDetailsMilestones",
4128
4128
  props: {
4129
4129
  templateId: {},
@@ -4192,7 +4192,7 @@ const w5 = /* @__PURE__ */ G({
4192
4192
  _: 1
4193
4193
  }, 8, ["model-value", "title"])) : E("", !0);
4194
4194
  }
4195
- }), M5 = /* @__PURE__ */ G({
4195
+ }), M5 = /* @__PURE__ */ K({
4196
4196
  __name: "AoCardTemplateItemActivity",
4197
4197
  props: {
4198
4198
  name: {},
@@ -4210,7 +4210,7 @@ const w5 = /* @__PURE__ */ G({
4210
4210
  _: 3
4211
4211
  }, 8, ["tasks"]));
4212
4212
  }
4213
- }), A5 = { class: "ao-list__footer" }, T5 = /* @__PURE__ */ G({
4213
+ }), A5 = { class: "ao-list__footer" }, T5 = /* @__PURE__ */ K({
4214
4214
  __name: "AoTemplateDetailsActivities",
4215
4215
  props: {
4216
4216
  templateId: {},
@@ -4284,7 +4284,7 @@ const w5 = /* @__PURE__ */ G({
4284
4284
  }, I5 = { class: "ao-modal__header-meta" }, L5 = { class: "ao-modal__title-group" }, P5 = { class: "ao-modal__body" }, H5 = {
4285
4285
  key: 1,
4286
4286
  class: "ao-modal__footer"
4287
- }, Qa = /* @__PURE__ */ G({
4287
+ }, Qa = /* @__PURE__ */ K({
4288
4288
  __name: "AoModal",
4289
4289
  props: {
4290
4290
  size: { default: "md" }
@@ -4355,13 +4355,13 @@ function Bs(t) {
4355
4355
  function Jn(t) {
4356
4356
  return B5(Bs(t));
4357
4357
  }
4358
- function R5(t, e, a) {
4358
+ function j5(t, e, a) {
4359
4359
  a === void 0 && (a = !1);
4360
4360
  const s = Ja(t), n = Jn(t), i = Qn(n);
4361
4361
  let o = n === "x" ? s === (a ? "end" : "start") ? "right" : "left" : s === "start" ? "bottom" : "top";
4362
4362
  return e.reference[i] > e.floating[i] && (o = Fa(o)), [o, Fa(o)];
4363
4363
  }
4364
- function j5(t) {
4364
+ function R5(t) {
4365
4365
  const e = Fa(t);
4366
4366
  return [ws(t), e, ws(e)];
4367
4367
  }
@@ -4594,36 +4594,36 @@ const z5 = function(t) {
4594
4594
  } = Ds(t, e);
4595
4595
  if ((a = i.arrow) != null && a.alignmentOffset)
4596
4596
  return {};
4597
- const k = Zt(n), w = Zt(l) === l, b = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), y = p || (w || !$ ? [Fa(l)] : j5(l));
4597
+ const k = Zt(n), w = Zt(l) === l, b = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), y = p || (w || !$ ? [Fa(l)] : R5(l));
4598
4598
  !p && g !== "none" && y.push(...U5(l, $, g, b));
4599
4599
  const I = [l, ...y], T = await eo(e, m), V = [];
4600
- let R = ((s = i.flip) == null ? void 0 : s.overflows) || [];
4600
+ let U = ((s = i.flip) == null ? void 0 : s.overflows) || [];
4601
4601
  if (u && V.push(T[k]), c) {
4602
- const N = R5(n, o, b);
4603
- V.push(T[N[0]], T[N[1]]);
4602
+ const R = j5(n, o, b);
4603
+ V.push(T[R[0]], T[R[1]]);
4604
4604
  }
4605
- if (R = [...R, {
4605
+ if (U = [...U, {
4606
4606
  placement: n,
4607
4607
  overflows: V
4608
- }], !V.every((N) => N <= 0)) {
4609
- var K, ee;
4610
- const N = (((K = i.flip) == null ? void 0 : K.index) || 0) + 1, X = I[N];
4608
+ }], !V.every((R) => R <= 0)) {
4609
+ var x, ee;
4610
+ const R = (((x = i.flip) == null ? void 0 : x.index) || 0) + 1, X = I[R];
4611
4611
  if (X)
4612
4612
  return {
4613
4613
  data: {
4614
- index: N,
4615
- overflows: R
4614
+ index: R,
4615
+ overflows: U
4616
4616
  },
4617
4617
  reset: {
4618
4618
  placement: X
4619
4619
  }
4620
4620
  };
4621
- let le = (ee = R.filter((oe) => oe.overflows[0] <= 0).sort((oe, te) => oe.overflows[1] - te.overflows[1])[0]) == null ? void 0 : ee.placement;
4621
+ let le = (ee = U.filter((oe) => oe.overflows[0] <= 0).sort((oe, te) => oe.overflows[1] - te.overflows[1])[0]) == null ? void 0 : ee.placement;
4622
4622
  if (!le)
4623
4623
  switch (h) {
4624
4624
  case "bestFit": {
4625
4625
  var se;
4626
- const oe = (se = R.map((te) => [te.placement, te.overflows.filter((P) => P > 0).reduce((P, O) => P + O, 0)]).sort((te, P) => te[1] - P[1])[0]) == null ? void 0 : se[0];
4626
+ const oe = (se = U.map((te) => [te.placement, te.overflows.filter((P) => P > 0).reduce((P, O) => P + O, 0)]).sort((te, P) => te[1] - P[1])[0]) == null ? void 0 : se[0];
4627
4627
  oe && (le = oe);
4628
4628
  break;
4629
4629
  }
@@ -4671,8 +4671,8 @@ const z5 = function(t) {
4671
4671
  b = u || w ? da(m, T) : T;
4672
4672
  }
4673
4673
  if (w && !u) {
4674
- const T = Ve(r.left, 0), V = Ve(r.right, 0), R = Ve(r.top, 0), K = Ve(r.bottom, 0);
4675
- c ? y = p - 2 * (T !== 0 || V !== 0 ? T + V : Ve(r.left, r.right)) : b = h - 2 * (R !== 0 || K !== 0 ? R + K : Ve(r.top, r.bottom));
4674
+ const T = Ve(r.left, 0), V = Ve(r.right, 0), U = Ve(r.top, 0), x = Ve(r.bottom, 0);
4675
+ c ? y = p - 2 * (T !== 0 || V !== 0 ? T + V : Ve(r.left, r.right)) : b = h - 2 * (U !== 0 || x !== 0 ? U + x : Ve(r.top, r.bottom));
4676
4676
  }
4677
4677
  await o({
4678
4678
  ...e,
@@ -4717,32 +4717,32 @@ function wa(t) {
4717
4717
  overflowX: a,
4718
4718
  overflowY: s,
4719
4719
  display: n
4720
- } = Re(t);
4720
+ } = je(t);
4721
4721
  return /auto|scroll|overlay|hidden|clip/.test(e + s + a) && !["inline", "contents"].includes(n);
4722
4722
  }
4723
4723
  function Y5(t) {
4724
4724
  return ["table", "td", "th"].includes(ht(t));
4725
4725
  }
4726
- function Rs(t) {
4727
- const e = js(), a = Re(t);
4726
+ function js(t) {
4727
+ const e = Rs(), a = je(t);
4728
4728
  return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((s) => (a.willChange || "").includes(s)) || ["paint", "layout", "strict", "content"].some((s) => (a.contain || "").includes(s));
4729
4729
  }
4730
4730
  function x5(t) {
4731
4731
  let e = Wt(t);
4732
4732
  for (; ze(e) && !es(e); ) {
4733
- if (Rs(e))
4733
+ if (js(e))
4734
4734
  return e;
4735
4735
  e = Wt(e);
4736
4736
  }
4737
4737
  return null;
4738
4738
  }
4739
- function js() {
4739
+ function Rs() {
4740
4740
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
4741
4741
  }
4742
4742
  function es(t) {
4743
4743
  return ["html", "body", "#document"].includes(ht(t));
4744
4744
  }
4745
- function Re(t) {
4745
+ function je(t) {
4746
4746
  return Oe(t).getComputedStyle(t);
4747
4747
  }
4748
4748
  function ts(t) {
@@ -4777,7 +4777,7 @@ function pa(t, e, a) {
4777
4777
  return i ? e.concat(o, o.visualViewport || [], wa(n) ? n : [], o.frameElement && a ? pa(o.frameElement) : []) : e.concat(n, pa(n));
4778
4778
  }
4779
4779
  function so(t) {
4780
- const e = Re(t);
4780
+ const e = je(t);
4781
4781
  let a = parseFloat(e.width) || 0, s = parseFloat(e.height) || 0;
4782
4782
  const n = ze(t), i = n ? t.offsetWidth : a, o = n ? t.offsetHeight : s, l = Ua(a) !== i || Ua(s) !== o;
4783
4783
  return l && (a = i, s = o), {
@@ -4807,7 +4807,7 @@ function Nt(t) {
4807
4807
  const K5 = /* @__PURE__ */ ft(0);
4808
4808
  function no(t) {
4809
4809
  const e = Oe(t);
4810
- return !js() || !e.visualViewport ? K5 : {
4810
+ return !Rs() || !e.visualViewport ? K5 : {
4811
4811
  x: e.visualViewport.offsetLeft,
4812
4812
  y: e.visualViewport.offsetTop
4813
4813
  };
@@ -4826,7 +4826,7 @@ function Ot(t, e, a, s) {
4826
4826
  const p = Oe(i), h = s && tt(s) ? Oe(s) : s;
4827
4827
  let g = p.frameElement;
4828
4828
  for (; g && s && h !== p; ) {
4829
- const $ = Nt(g), m = g.getBoundingClientRect(), k = Re(g), w = m.left + (g.clientLeft + parseFloat(k.paddingLeft)) * $.x, b = m.top + (g.clientTop + parseFloat(k.paddingTop)) * $.y;
4829
+ const $ = Nt(g), m = g.getBoundingClientRect(), k = je(g), w = m.left + (g.clientLeft + parseFloat(k.paddingLeft)) * $.x, b = m.top + (g.clientTop + parseFloat(k.paddingTop)) * $.y;
4830
4830
  r *= $.x, d *= $.y, u *= $.x, c *= $.y, r += w, d += b, g = Oe(g).frameElement;
4831
4831
  }
4832
4832
  }
@@ -4872,7 +4872,7 @@ function J5(t) {
4872
4872
  const e = st(t), a = ts(t), s = t.ownerDocument.body, n = Ve(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), i = Ve(e.scrollHeight, e.clientHeight, s.scrollHeight, s.clientHeight);
4873
4873
  let o = -a.scrollLeft + oo(t);
4874
4874
  const l = -a.scrollTop;
4875
- return Re(s).direction === "rtl" && (o += Ve(e.clientWidth, s.clientWidth) - n), {
4875
+ return je(s).direction === "rtl" && (o += Ve(e.clientWidth, s.clientWidth) - n), {
4876
4876
  width: n,
4877
4877
  height: i,
4878
4878
  x: o,
@@ -4884,7 +4884,7 @@ function e7(t, e) {
4884
4884
  let i = s.clientWidth, o = s.clientHeight, l = 0, r = 0;
4885
4885
  if (n) {
4886
4886
  i = n.width, o = n.height;
4887
- const d = js();
4887
+ const d = Rs();
4888
4888
  (!d || d && e === "fixed") && (l = n.offsetLeft, r = n.offsetTop);
4889
4889
  }
4890
4890
  return {
@@ -4923,17 +4923,17 @@ function bn(t, e, a) {
4923
4923
  }
4924
4924
  function io(t, e) {
4925
4925
  const a = Wt(t);
4926
- return a === e || !tt(a) || es(a) ? !1 : Re(a).position === "fixed" || io(a, e);
4926
+ return a === e || !tt(a) || es(a) ? !1 : je(a).position === "fixed" || io(a, e);
4927
4927
  }
4928
4928
  function a7(t, e) {
4929
4929
  const a = e.get(t);
4930
4930
  if (a)
4931
4931
  return a;
4932
4932
  let s = pa(t, [], !1).filter((l) => tt(l) && ht(l) !== "body"), n = null;
4933
- const i = Re(t).position === "fixed";
4933
+ const i = je(t).position === "fixed";
4934
4934
  let o = i ? Wt(t) : t;
4935
4935
  for (; tt(o) && !es(o); ) {
4936
- const l = Re(o), r = Rs(o);
4936
+ const l = je(o), r = js(o);
4937
4937
  !r && l.position === "fixed" && (n = null), (i ? !r && !n : !r && l.position === "static" && !!n && ["absolute", "fixed"].includes(n.position) || wa(o) && !r && io(t, o)) ? s = s.filter((u) => u !== o) : n = l, o = Wt(o);
4938
4938
  }
4939
4939
  return e.set(t, s), s;
@@ -4980,16 +4980,16 @@ function o7(t, e, a) {
4980
4980
  };
4981
4981
  }
4982
4982
  function wn(t, e) {
4983
- return !ze(t) || Re(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4983
+ return !ze(t) || je(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
4984
4984
  }
4985
4985
  function lo(t, e) {
4986
4986
  const a = Oe(t);
4987
4987
  if (!ze(t))
4988
4988
  return a;
4989
4989
  let s = wn(t, e);
4990
- for (; s && Y5(s) && Re(s).position === "static"; )
4990
+ for (; s && Y5(s) && je(s).position === "static"; )
4991
4991
  s = wn(s, e);
4992
- return s && (ht(s) === "html" || ht(s) === "body" && Re(s).position === "static" && !Rs(s)) ? a : s || x5(t) || a;
4992
+ return s && (ht(s) === "html" || ht(s) === "body" && je(s).position === "static" && !js(s)) ? a : s || x5(t) || a;
4993
4993
  }
4994
4994
  const i7 = async function(t) {
4995
4995
  let {
@@ -5008,7 +5008,7 @@ const i7 = async function(t) {
5008
5008
  };
5009
5009
  };
5010
5010
  function l7(t) {
5011
- return Re(t).direction === "rtl";
5011
+ return je(t).direction === "rtl";
5012
5012
  }
5013
5013
  const r7 = {
5014
5014
  convertOffsetParentRelativeRectToViewportRelativeRect: X5,
@@ -5278,23 +5278,23 @@ function _7(t, e, a) {
5278
5278
  clearOnSelect: I,
5279
5279
  valueProp: T,
5280
5280
  allowAbsent: V,
5281
- groupLabel: R,
5282
- canDeselect: K,
5281
+ groupLabel: U,
5282
+ canDeselect: x,
5283
5283
  max: ee,
5284
5284
  strict: se,
5285
- closeOnSelect: N,
5285
+ closeOnSelect: R,
5286
5286
  closeOnDeselect: X,
5287
5287
  groups: le,
5288
5288
  reverse: oe,
5289
5289
  infinite: te,
5290
5290
  groupOptions: P,
5291
5291
  groupHideEmpty: O,
5292
- groupSelect: U,
5292
+ groupSelect: N,
5293
5293
  onCreate: L,
5294
5294
  disabledProp: C,
5295
5295
  searchStart: B,
5296
- searchFilter: x
5297
- } = Ie(t), ne = Pt().proxy, z = a.iv, H = a.ev, Q = a.search, he = a.clearSearch, Se = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, ls = a.deactivate, ot = a.close, ka = a.localize, it = q([]), Ze = q([]), Le = q(!1), je = q(null), xe = q(te.value && o.value === -1 ? 10 : o.value), Qt = M(() => r.value || d.value || !1), Sa = M(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Pe = M(() => {
5296
+ searchFilter: G
5297
+ } = Ie(t), ne = Pt().proxy, z = a.iv, H = a.ev, Q = a.search, he = a.clearSearch, Se = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, ls = a.deactivate, ot = a.close, ka = a.localize, it = q([]), Ze = q([]), Le = q(!1), Re = q(null), xe = q(te.value && o.value === -1 ? 10 : o.value), Qt = M(() => r.value || d.value || !1), Sa = M(() => c.value !== void 0 ? c.value : p.value !== void 0 ? p.value : !0), Pe = M(() => {
5298
5298
  if (le.value) {
5299
5299
  let S = bt.value || /* istanbul ignore next */
5300
5300
  [], j = [];
@@ -5320,14 +5320,14 @@ function _7(t, e, a) {
5320
5320
  let S = [], j = Ze.value || /* istanbul ignore next */
5321
5321
  [];
5322
5322
  return it.value.length && S.push({
5323
- [R.value]: " ",
5323
+ [U.value]: " ",
5324
5324
  [P.value]: [...it.value],
5325
5325
  __CREATE__: !0
5326
5326
  }), S.concat(j);
5327
5327
  }), Ma = M(() => {
5328
5328
  let S = [...bt.value].map((j) => ({ ...j }));
5329
5329
  return Ht.value.length && (S[0] && S[0].__CREATE__ ? S[0][P.value] = [...Ht.value, ...S[0][P.value]] : S = [{
5330
- [R.value]: " ",
5330
+ [U.value]: " ",
5331
5331
  [P.value]: [...Ht.value],
5332
5332
  __CREATE__: !0
5333
5333
  }].concat(S)), S;
@@ -5423,10 +5423,10 @@ function _7(t, e, a) {
5423
5423
  switch (S.__CREATE__ && (S = { ...S }, delete S.__CREATE__), n.value) {
5424
5424
  case "single":
5425
5425
  if (S && Ke(S)) {
5426
- K.value && Dt(S), X.value && (nt(), ot());
5426
+ x.value && Dt(S), X.value && (nt(), ot());
5427
5427
  return;
5428
5428
  }
5429
- S && ps(S), I.value && he(), N.value && (nt(), ot()), S && Vt(S);
5429
+ S && ps(S), I.value && he(), R.value && (nt(), ot()), S && Vt(S);
5430
5430
  break;
5431
5431
  case "multiple":
5432
5432
  if (S && Ke(S)) {
@@ -5437,7 +5437,7 @@ function _7(t, e, a) {
5437
5437
  e.emit("max", ne);
5438
5438
  return;
5439
5439
  }
5440
- S && (ps(S), Vt(S)), I.value && he(), l.value && nt(), N.value && ot();
5440
+ S && (ps(S), Vt(S)), I.value && he(), l.value && nt(), R.value && ot();
5441
5441
  break;
5442
5442
  case "tags":
5443
5443
  if (S && Ke(S)) {
@@ -5448,12 +5448,12 @@ function _7(t, e, a) {
5448
5448
  e.emit("max", ne);
5449
5449
  return;
5450
5450
  }
5451
- S && ps(S), I.value && he(), S && Vt(S), l.value && nt(), N.value && ot();
5451
+ S && ps(S), I.value && he(), S && Vt(S), l.value && nt(), R.value && ot();
5452
5452
  break;
5453
5453
  }
5454
- N.value || $a();
5454
+ R.value || $a();
5455
5455
  }, Ao = (S) => {
5456
- if (!(cs(S) || n.value === "single" || !U.value)) {
5456
+ if (!(cs(S) || n.value === "single" || !N.value)) {
5457
5457
  switch (n.value) {
5458
5458
  case "multiple":
5459
5459
  case "tags":
@@ -5462,7 +5462,7 @@ function _7(t, e, a) {
5462
5462
  ), l.value && Gt.value && Xt(rs.value.filter((j) => !j[C.value])[Gt.value.index]);
5463
5463
  break;
5464
5464
  }
5465
- N.value && ls();
5465
+ R.value && ls();
5466
5466
  }
5467
5467
  }, ps = (S) => {
5468
5468
  Ge(S[T.value]) === void 0 && Qt.value && (e.emit("tag", S[T.value], ne), e.emit("option", S[T.value], ne), e.emit("create", S[T.value], ne), Sa.value && Po(S), he());
@@ -5475,7 +5475,7 @@ function _7(t, e, a) {
5475
5475
  ) : S.filter((j) => Q.value ? j.__VISIBLE__.length : !0), vs = (S, j = !0) => {
5476
5476
  let ue = S;
5477
5477
  if (Q.value && b.value) {
5478
- let ge = x.value;
5478
+ let ge = G.value;
5479
5479
  ge || (ge = ($t, cn, s8) => wt.value.some((Do) => {
5480
5480
  let dn = _s(ka($t[Do]), se.value);
5481
5481
  return B.value ? dn.startsWith(_s(cn, se.value)) : dn.indexOf(_s(cn, se.value)) !== -1;
@@ -5525,7 +5525,7 @@ function _7(t, e, a) {
5525
5525
  [T.value]: j,
5526
5526
  [wt.value[0]]: j
5527
5527
  }), un = () => {
5528
- je.value = ce(Q, (S) => {
5528
+ Re.value = ce(Q, (S) => {
5529
5529
  S.length < w.value || !S && w.value !== 0 || (Le.value = !0, y.value && (Ze.value = []), setTimeout(() => {
5530
5530
  S == Q.value && s.value(Q.value, ne).then((j) => {
5531
5531
  (S == Q.value || !Q.value) && (Ze.value = j, Gt.value = lt.value.filter((ue) => ue[C.value] !== !0)[0] || null, Le.value = !1);
@@ -5541,7 +5541,7 @@ function _7(t, e, a) {
5541
5541
  if (n.value !== "single" && !We(H.value) && !Array.isArray(H.value))
5542
5542
  throw new Error(`v-model must be an array when using "${n.value}" mode`);
5543
5543
  return s && typeof s.value == "function" ? k.value ? Ta(Aa) : g.value == !0 && Aa() : (Ze.value = s.value, Aa()), m.value > -1 && un(), ce(m, (S, j) => {
5544
- je.value && je.value(), S >= 0 && un();
5544
+ Re.value && Re.value(), S >= 0 && un();
5545
5545
  }), ce(H, (S) => {
5546
5546
  if (We(S)) {
5547
5547
  Se(Oa(S), !1);
@@ -5605,15 +5605,15 @@ function y7(t, e, a) {
5605
5605
  groupSelect: d,
5606
5606
  disabledProp: u,
5607
5607
  groupOptions: c
5608
- } = Ie(t), p = a.fo, h = a.fg, g = a.handleOptionClick, $ = a.handleGroupClick, m = a.search, k = a.pointer, w = a.setPointer, b = a.clearPointer, y = a.multiselect, I = a.isOpen, T = M(() => p.value.filter((H) => !H[u.value])), V = M(() => h.value.filter((H) => !H[u.value])), R = M(() => r.value !== "single" && d.value), K = M(() => k.value && k.value.group), ee = M(() => ne(k.value)), se = M(() => {
5609
- const H = K.value ? k.value : (
5608
+ } = Ie(t), p = a.fo, h = a.fg, g = a.handleOptionClick, $ = a.handleGroupClick, m = a.search, k = a.pointer, w = a.setPointer, b = a.clearPointer, y = a.multiselect, I = a.isOpen, T = M(() => p.value.filter((H) => !H[u.value])), V = M(() => h.value.filter((H) => !H[u.value])), U = M(() => r.value !== "single" && d.value), x = M(() => k.value && k.value.group), ee = M(() => ne(k.value)), se = M(() => {
5609
+ const H = x.value ? k.value : (
5610
5610
  /* istanbul ignore next */
5611
5611
  ne(k.value)
5612
5612
  ), Q = V.value.map((Se) => Se[o.value]).indexOf(H[o.value]);
5613
5613
  let he = V.value[Q - 1];
5614
5614
  return he === void 0 && (he = X.value), he;
5615
- }), N = M(() => {
5616
- let H = V.value.map((Q) => Q.label).indexOf(K.value ? k.value[o.value] : ne(k.value)[o.value]) + 1;
5615
+ }), R = M(() => {
5616
+ let H = V.value.map((Q) => Q.label).indexOf(x.value ? k.value[o.value] : ne(k.value)[o.value]) + 1;
5617
5617
  return V.value.length <= H && (H = 0), V.value[H];
5618
5618
  }), X = M(() => [...V.value].slice(-1)[0]), le = M(() => k.value.__VISIBLE__.filter((H) => !H[u.value])[0]), oe = M(() => {
5619
5619
  const H = ee.value.__VISIBLE__.filter((Q) => !Q[u.value]);
@@ -5621,16 +5621,16 @@ function y7(t, e, a) {
5621
5621
  }), te = M(() => {
5622
5622
  const H = ne(k.value).__VISIBLE__.filter((Q) => !Q[u.value]);
5623
5623
  return H[H.map((Q) => Q[s.value]).indexOf(k.value[s.value]) + 1];
5624
- }), P = M(() => [...se.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), O = M(() => [...X.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), U = (H) => k.value && (!H.group && k.value[s.value] === H[s.value] || H.group !== void 0 && k.value[o.value] === H[o.value]) ? !0 : void 0, L = () => {
5624
+ }), P = M(() => [...se.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), O = M(() => [...X.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), N = (H) => k.value && (!H.group && k.value[s.value] === H[s.value] || H.group !== void 0 && k.value[o.value] === H[o.value]) ? !0 : void 0, L = () => {
5625
5625
  w(T.value[0] || null);
5626
5626
  }, C = () => {
5627
- !k.value || k.value[u.value] === !0 || (K.value ? $(k.value) : g(k.value));
5627
+ !k.value || k.value[u.value] === !0 || (x.value ? $(k.value) : g(k.value));
5628
5628
  }, B = () => {
5629
5629
  if (k.value === null)
5630
- w((l.value && R.value ? V.value[0].__CREATE__ ? T.value[0] : V.value[0] : T.value[0]) || null);
5631
- else if (l.value && R.value) {
5632
- let H = K.value ? le.value : te.value;
5633
- H === void 0 && (H = N.value, H.__CREATE__ && (H = H[c.value][0])), w(H || /* istanbul ignore next */
5630
+ w((l.value && U.value ? V.value[0].__CREATE__ ? T.value[0] : V.value[0] : T.value[0]) || null);
5631
+ else if (l.value && U.value) {
5632
+ let H = x.value ? le.value : te.value;
5633
+ H === void 0 && (H = R.value, H.__CREATE__ && (H = H[c.value][0])), w(H || /* istanbul ignore next */
5634
5634
  null);
5635
5635
  } else {
5636
5636
  let H = T.value.map((Q) => Q[s.value]).indexOf(k.value[s.value]) + 1;
@@ -5639,13 +5639,13 @@ function y7(t, e, a) {
5639
5639
  $e(() => {
5640
5640
  z();
5641
5641
  });
5642
- }, x = () => {
5642
+ }, G = () => {
5643
5643
  if (k.value === null) {
5644
5644
  let H = T.value[T.value.length - 1];
5645
- l.value && R.value && (H = O.value, H === void 0 && (H = X.value)), w(H || null);
5646
- } else if (l.value && R.value) {
5647
- let H = K.value ? P.value : oe.value;
5648
- H === void 0 && (H = K.value ? se.value : ee.value, H.__CREATE__ && (H = P.value, H === void 0 && (H = se.value))), w(H || /* istanbul ignore next */
5645
+ l.value && U.value && (H = O.value, H === void 0 && (H = X.value)), w(H || null);
5646
+ } else if (l.value && U.value) {
5647
+ let H = x.value ? P.value : oe.value;
5648
+ H === void 0 && (H = x.value ? se.value : ee.value, H.__CREATE__ && (H = P.value, H === void 0 && (H = se.value))), w(H || /* istanbul ignore next */
5649
5649
  null);
5650
5650
  } else {
5651
5651
  let H = T.value.map((Q) => Q[s.value]).indexOf(k.value[s.value]) - 1;
@@ -5659,7 +5659,7 @@ function y7(t, e, a) {
5659
5659
  if (!H)
5660
5660
  return;
5661
5661
  let Q = H.parentElement.parentElement;
5662
- l.value && (Q = K.value ? H.parentElement.parentElement.parentElement : H.parentElement.parentElement.parentElement.parentElement), H.offsetTop + H.offsetHeight > Q.clientHeight + Q.scrollTop && (Q.scrollTop = H.offsetTop + H.offsetHeight - Q.clientHeight), H.offsetTop < Q.scrollTop && (Q.scrollTop = H.offsetTop);
5662
+ l.value && (Q = x.value ? H.parentElement.parentElement.parentElement : H.parentElement.parentElement.parentElement.parentElement), H.offsetTop + H.offsetHeight > Q.clientHeight + Q.scrollTop && (Q.scrollTop = H.offsetTop + H.offsetHeight - Q.clientHeight), H.offsetTop < Q.scrollTop && (Q.scrollTop = H.offsetTop);
5663
5663
  };
5664
5664
  return ce(m, (H) => {
5665
5665
  i.value && (H.length && n.value ? L() : b());
@@ -5675,12 +5675,12 @@ function y7(t, e, a) {
5675
5675
  }
5676
5676
  }), {
5677
5677
  pointer: k,
5678
- canPointGroups: R,
5679
- isPointed: U,
5678
+ canPointGroups: U,
5679
+ isPointed: N,
5680
5680
  setPointerFirst: L,
5681
5681
  selectPointer: C,
5682
5682
  forwardPointer: B,
5683
- backwardPointer: x
5683
+ backwardPointer: G
5684
5684
  };
5685
5685
  }
5686
5686
  function Ee(t) {
@@ -5853,7 +5853,7 @@ var Ue = "top", Ye = "bottom", mt = "right", Xe = "left", zs = "auto", ns = [Ue,
5853
5853
  return t.concat([e + "-" + Yt, e + "-" + va]);
5854
5854
  }, []), O7 = /* @__PURE__ */ [].concat(ns, [zs]).reduce(function(t, e) {
5855
5855
  return t.concat([e, e + "-" + Yt, e + "-" + va]);
5856
- }, []), E7 = "beforeRead", I7 = "read", L7 = "afterRead", P7 = "beforeMain", H7 = "main", V7 = "afterMain", D7 = "beforeWrite", B7 = "write", R7 = "afterWrite", j7 = [E7, I7, L7, P7, H7, V7, D7, B7, R7];
5856
+ }, []), E7 = "beforeRead", I7 = "read", L7 = "afterRead", P7 = "beforeMain", H7 = "main", V7 = "afterMain", D7 = "beforeWrite", B7 = "write", j7 = "afterWrite", R7 = [E7, I7, L7, P7, H7, V7, D7, B7, j7];
5857
5857
  function N7(t) {
5858
5858
  var e = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set(), s = [];
5859
5859
  t.forEach(function(i) {
@@ -5875,7 +5875,7 @@ function N7(t) {
5875
5875
  }
5876
5876
  function U7(t) {
5877
5877
  var e = N7(t);
5878
- return j7.reduce(function(a, s) {
5878
+ return R7.reduce(function(a, s) {
5879
5879
  return a.concat(e.filter(function(n) {
5880
5880
  return n.phase === s;
5881
5881
  }));
@@ -6047,17 +6047,17 @@ function qs(t, e) {
6047
6047
  element: b,
6048
6048
  strategy: "absolute",
6049
6049
  placement: n
6050
- }), R = ks(Object.assign({}, b, V)), K = p === oa ? R : T, ee = {
6051
- top: I.top - K.top + k.top,
6052
- bottom: K.bottom - I.bottom + k.bottom,
6053
- left: I.left - K.left + k.left,
6054
- right: K.right - I.right + k.right
6050
+ }), U = ks(Object.assign({}, b, V)), x = p === oa ? U : T, ee = {
6051
+ top: I.top - x.top + k.top,
6052
+ bottom: x.bottom - I.bottom + k.bottom,
6053
+ left: I.left - x.left + k.left,
6054
+ right: x.right - I.right + k.right
6055
6055
  }, se = t.modifiersData.offset;
6056
6056
  if (p === oa && se) {
6057
- var N = se[n];
6057
+ var R = se[n];
6058
6058
  Object.keys(ee).forEach(function(X) {
6059
6059
  var le = [mt, Ye].indexOf(X) >= 0 ? 1 : -1, oe = [Ue, Ye].indexOf(X) >= 0 ? "y" : "x";
6060
- ee[X] += N[oe] * le;
6060
+ ee[X] += R[oe] * le;
6061
6061
  });
6062
6062
  }
6063
6063
  return ee;
@@ -6123,11 +6123,11 @@ function Q7(t) {
6123
6123
  u.reset = !1, y = -1;
6124
6124
  continue;
6125
6125
  }
6126
- var I = u.orderedModifiers[y], T = I.fn, V = I.options, R = V === void 0 ? {} : V, K = I.name;
6126
+ var I = u.orderedModifiers[y], T = I.fn, V = I.options, U = V === void 0 ? {} : V, x = I.name;
6127
6127
  typeof T == "function" && (u = T({
6128
6128
  state: u,
6129
- options: R,
6130
- name: K,
6129
+ options: U,
6130
+ name: x,
6131
6131
  instance: h
6132
6132
  }) || u);
6133
6133
  }
@@ -6234,34 +6234,34 @@ function Tn(t) {
6234
6234
  h = m.x, $ = m.y;
6235
6235
  var k = o.hasOwnProperty("x"), w = o.hasOwnProperty("y"), b = Xe, y = Ue, I = window;
6236
6236
  if (d) {
6237
- var T = ss(a), V = "clientHeight", R = "clientWidth";
6238
- if (T === Ee(a) && (T = _t(a), at(T).position !== "static" && l === "absolute" && (V = "scrollHeight", R = "scrollWidth")), T = T, n === Ue || (n === Xe || n === mt) && i === va) {
6237
+ var T = ss(a), V = "clientHeight", U = "clientWidth";
6238
+ if (T === Ee(a) && (T = _t(a), at(T).position !== "static" && l === "absolute" && (V = "scrollHeight", U = "scrollWidth")), T = T, n === Ue || (n === Xe || n === mt) && i === va) {
6239
6239
  y = Ye;
6240
- var K = c && T === I && I.visualViewport ? I.visualViewport.height : (
6240
+ var x = c && T === I && I.visualViewport ? I.visualViewport.height : (
6241
6241
  // $FlowFixMe[prop-missing]
6242
6242
  T[V]
6243
6243
  );
6244
- $ -= K - s.height, $ *= r ? 1 : -1;
6244
+ $ -= x - s.height, $ *= r ? 1 : -1;
6245
6245
  }
6246
6246
  if (n === Xe || (n === Ue || n === Ye) && i === va) {
6247
6247
  b = mt;
6248
6248
  var ee = c && T === I && I.visualViewport ? I.visualViewport.width : (
6249
6249
  // $FlowFixMe[prop-missing]
6250
- T[R]
6250
+ T[U]
6251
6251
  );
6252
6252
  h -= ee - s.width, h *= r ? 1 : -1;
6253
6253
  }
6254
6254
  }
6255
6255
  var se = Object.assign({
6256
6256
  position: l
6257
- }, d && sp), N = u === !0 ? np({
6257
+ }, d && sp), R = u === !0 ? np({
6258
6258
  x: h,
6259
6259
  y: $
6260
6260
  }, Ee(a)) : {
6261
6261
  x: h,
6262
6262
  y: $
6263
6263
  };
6264
- if (h = N.x, $ = N.y, r) {
6264
+ if (h = R.x, $ = R.y, r) {
6265
6265
  var X;
6266
6266
  return Object.assign({}, se, (X = {}, X[y] = w ? "0" : "", X[b] = k ? "0" : "", X.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + $ + "px)" : "translate3d(" + h + "px, " + $ + "px, 0)", X));
6267
6267
  }
@@ -6357,31 +6357,31 @@ function fp(t) {
6357
6357
  rootBoundary: d,
6358
6358
  padding: c,
6359
6359
  altBoundary: u
6360
- }), k = pt(e.placement), w = xt(e.placement), b = !w, y = vo(k), I = pp(y), T = e.modifiersData.popperOffsets, V = e.rects.reference, R = e.rects.popper, K = typeof $ == "function" ? $(Object.assign({}, e.rects, {
6360
+ }), k = pt(e.placement), w = xt(e.placement), b = !w, y = vo(k), I = pp(y), T = e.modifiersData.popperOffsets, V = e.rects.reference, U = e.rects.popper, x = typeof $ == "function" ? $(Object.assign({}, e.rects, {
6361
6361
  placement: e.placement
6362
- })) : $, ee = typeof K == "number" ? {
6363
- mainAxis: K,
6364
- altAxis: K
6362
+ })) : $, ee = typeof x == "number" ? {
6363
+ mainAxis: x,
6364
+ altAxis: x
6365
6365
  } : Object.assign({
6366
6366
  mainAxis: 0,
6367
6367
  altAxis: 0
6368
- }, K), se = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, N = {
6368
+ }, x), se = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, R = {
6369
6369
  x: 0,
6370
6370
  y: 0
6371
6371
  };
6372
6372
  if (T) {
6373
6373
  if (i) {
6374
- var X, le = y === "y" ? Ue : Xe, oe = y === "y" ? Ye : mt, te = y === "y" ? "height" : "width", P = T[y], O = P + m[le], U = P - m[oe], L = h ? -R[te] / 2 : 0, C = w === Yt ? V[te] : R[te], B = w === Yt ? -R[te] : -V[te], x = e.elements.arrow, ne = h && x ? uo(x) : {
6374
+ var X, le = y === "y" ? Ue : Xe, oe = y === "y" ? Ye : mt, te = y === "y" ? "height" : "width", P = T[y], O = P + m[le], N = P - m[oe], L = h ? -U[te] / 2 : 0, C = w === Yt ? V[te] : U[te], B = w === Yt ? -U[te] : -V[te], G = e.elements.arrow, ne = h && G ? uo(G) : {
6375
6375
  width: 0,
6376
6376
  height: 0
6377
- }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ho(), H = z[le], Q = z[oe], he = Va(0, V[te], ne[te]), Se = b ? V[te] / 2 - L - he - H - ee.mainAxis : C - he - H - ee.mainAxis, Gt = b ? -V[te] / 2 + L + he + Q + ee.mainAxis : B + he + Q + ee.mainAxis, Xt = e.elements.arrow && ss(e.elements.arrow), nt = Xt ? y === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (X = se == null ? void 0 : se[y]) != null ? X : 0, ls = P + Se - $a - nt, ot = P + Gt - $a, ka = Va(h ? Wa(O, ls) : O, P, h ? Mt(U, ot) : U);
6378
- T[y] = ka, N[y] = ka - P;
6377
+ }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ho(), H = z[le], Q = z[oe], he = Va(0, V[te], ne[te]), Se = b ? V[te] / 2 - L - he - H - ee.mainAxis : C - he - H - ee.mainAxis, Gt = b ? -V[te] / 2 + L + he + Q + ee.mainAxis : B + he + Q + ee.mainAxis, Xt = e.elements.arrow && ss(e.elements.arrow), nt = Xt ? y === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (X = se == null ? void 0 : se[y]) != null ? X : 0, ls = P + Se - $a - nt, ot = P + Gt - $a, ka = Va(h ? Wa(O, ls) : O, P, h ? Mt(N, ot) : N);
6378
+ T[y] = ka, R[y] = ka - P;
6379
6379
  }
6380
6380
  if (l) {
6381
- var it, Ze = y === "x" ? Ue : Xe, Le = y === "x" ? Ye : mt, je = T[I], xe = I === "y" ? "height" : "width", Qt = je + m[Ze], Sa = je - m[Le], Pe = [Ue, Xe].indexOf(k) !== -1, Jt = (it = se == null ? void 0 : se[I]) != null ? it : 0, lt = Pe ? Qt : je - V[xe] - R[xe] - Jt + ee.altAxis, bt = Pe ? je + V[xe] + R[xe] - Jt - ee.altAxis : Sa, Ma = h && Pe ? vp(lt, je, bt) : Va(h ? lt : Qt, je, h ? bt : Sa);
6382
- T[I] = Ma, N[I] = Ma - je;
6381
+ var it, Ze = y === "x" ? Ue : Xe, Le = y === "x" ? Ye : mt, Re = T[I], xe = I === "y" ? "height" : "width", Qt = Re + m[Ze], Sa = Re - m[Le], Pe = [Ue, Xe].indexOf(k) !== -1, Jt = (it = se == null ? void 0 : se[I]) != null ? it : 0, lt = Pe ? Qt : Re - V[xe] - U[xe] - Jt + ee.altAxis, bt = Pe ? Re + V[xe] + U[xe] - Jt - ee.altAxis : Sa, Ma = h && Pe ? vp(lt, Re, bt) : Va(h ? lt : Qt, Re, h ? bt : Sa);
6382
+ T[I] = Ma, R[I] = Ma - Re;
6383
6383
  }
6384
- e.modifiersData[s] = N;
6384
+ e.modifiersData[s] = R;
6385
6385
  }
6386
6386
  }
6387
6387
  var hp = {
@@ -6448,8 +6448,8 @@ function yp(t) {
6448
6448
  flipVariations: g,
6449
6449
  allowedAutoPlacements: $
6450
6450
  }) : z);
6451
- }, []), I = e.rects.reference, T = e.rects.popper, V = /* @__PURE__ */ new Map(), R = !0, K = y[0], ee = 0; ee < y.length; ee++) {
6452
- var se = y[ee], N = pt(se), X = xt(se) === Yt, le = [Ue, Ye].indexOf(N) >= 0, oe = le ? "width" : "height", te = qs(e, {
6451
+ }, []), I = e.rects.reference, T = e.rects.popper, V = /* @__PURE__ */ new Map(), U = !0, x = y[0], ee = 0; ee < y.length; ee++) {
6452
+ var se = y[ee], R = pt(se), X = xt(se) === Yt, le = [Ue, Ye].indexOf(R) >= 0, oe = le ? "width" : "height", te = qs(e, {
6453
6453
  placement: se,
6454
6454
  boundary: u,
6455
6455
  rootBoundary: c,
@@ -6457,16 +6457,16 @@ function yp(t) {
6457
6457
  padding: d
6458
6458
  }), P = le ? X ? mt : Xe : X ? Ye : Ue;
6459
6459
  I[oe] > T[oe] && (P = Da(P));
6460
- var O = Da(P), U = [];
6461
- if (i && U.push(te[N] <= 0), l && U.push(te[P] <= 0, te[O] <= 0), U.every(function(ne) {
6460
+ var O = Da(P), N = [];
6461
+ if (i && N.push(te[R] <= 0), l && N.push(te[P] <= 0, te[O] <= 0), N.every(function(ne) {
6462
6462
  return ne;
6463
6463
  })) {
6464
- K = se, R = !1;
6464
+ x = se, U = !1;
6465
6465
  break;
6466
6466
  }
6467
- V.set(se, U);
6467
+ V.set(se, N);
6468
6468
  }
6469
- if (R)
6469
+ if (U)
6470
6470
  for (var L = g ? 3 : 1, C = function(z) {
6471
6471
  var H = y.find(function(Q) {
6472
6472
  var he = V.get(Q);
@@ -6476,13 +6476,13 @@ function yp(t) {
6476
6476
  });
6477
6477
  });
6478
6478
  if (H)
6479
- return K = H, "break";
6479
+ return x = H, "break";
6480
6480
  }, B = L; B > 0; B--) {
6481
- var x = C(B);
6482
- if (x === "break")
6481
+ var G = C(B);
6482
+ if (G === "break")
6483
6483
  break;
6484
6484
  }
6485
- e.placement !== K && (e.modifiersData[s]._skip = !0, e.placement = K, e.reset = !0);
6485
+ e.placement !== x && (e.modifiersData[s]._skip = !0, e.placement = x, e.reset = !0);
6486
6486
  }
6487
6487
  }
6488
6488
  var bp = {
@@ -6574,8 +6574,8 @@ function $p(t, e, a) {
6574
6574
  s.value && o.value.blur(), c.value.blur();
6575
6575
  }, k = () => {
6576
6576
  s.value && !n.value && o.value.focus();
6577
- }, w = (R = !0) => {
6578
- n.value || (h.value = !0, R && l());
6577
+ }, w = (U = !0) => {
6578
+ n.value || (h.value = !0, U && l());
6579
6579
  }, b = () => {
6580
6580
  h.value = !1, setTimeout(() => {
6581
6581
  h.value || (r(), i.value && d());
@@ -6589,8 +6589,8 @@ function $p(t, e, a) {
6589
6589
  focus: k,
6590
6590
  activate: w,
6591
6591
  deactivate: b,
6592
- handleFocusIn: (R) => {
6593
- R.target.closest("[data-tags]") && R.target.nodeName !== "INPUT" || R.target.closest("[data-clear]") || w(g.value);
6592
+ handleFocusIn: (U) => {
6593
+ U.target.closest("[data-tags]") && U.target.nodeName !== "INPUT" || U.target.closest("[data-clear]") || w(g.value);
6594
6594
  },
6595
6595
  handleFocusOut: () => {
6596
6596
  b();
@@ -6598,8 +6598,8 @@ function $p(t, e, a) {
6598
6598
  handleCaretClick: () => {
6599
6599
  b(), m();
6600
6600
  },
6601
- handleMousedown: (R) => {
6602
- g.value = !0, u.value && (R.target.isEqualNode(c.value) || R.target.isEqualNode(p.value)) ? setTimeout(() => {
6601
+ handleMousedown: (U) => {
6602
+ g.value = !0, u.value && (U.target.isEqualNode(c.value) || U.target.isEqualNode(p.value)) ? setTimeout(() => {
6603
6603
  b();
6604
6604
  }, 0) : !u.value && (document.activeElement.isEqualNode(c.value) || document.activeElement.isEqualNode(o.value)) && w(), setTimeout(() => {
6605
6605
  g.value = !1;
@@ -6620,25 +6620,25 @@ function kp(t, e, a) {
6620
6620
  createTag: c,
6621
6621
  createOption: p,
6622
6622
  reverse: h
6623
- } = Ie(t), g = Pt().proxy, $ = a.iv, m = a.update, k = a.deselect, w = a.search, b = a.setPointer, y = a.selectPointer, I = a.backwardPointer, T = a.forwardPointer, V = a.multiselect, R = a.wrapper, K = a.tags, ee = a.isOpen, se = a.open, N = a.blur, X = a.fo, le = M(() => c.value || p.value || !1), oe = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), te = () => {
6624
- s.value === "tags" && !l.value && le.value && o.value && !d.value && b(X.value[X.value.map((U) => U[r.value]).indexOf(w.value)]);
6623
+ } = Ie(t), g = Pt().proxy, $ = a.iv, m = a.update, k = a.deselect, w = a.search, b = a.setPointer, y = a.selectPointer, I = a.backwardPointer, T = a.forwardPointer, V = a.multiselect, U = a.wrapper, x = a.tags, ee = a.isOpen, se = a.open, R = a.blur, X = a.fo, le = M(() => c.value || p.value || !1), oe = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), te = () => {
6624
+ s.value === "tags" && !l.value && le.value && o.value && !d.value && b(X.value[X.value.map((N) => N[r.value]).indexOf(w.value)]);
6625
6625
  };
6626
6626
  return {
6627
- handleKeydown: (U) => {
6628
- e.emit("keydown", U, g);
6627
+ handleKeydown: (N) => {
6628
+ e.emit("keydown", N, g);
6629
6629
  let L, C;
6630
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(U.key) !== -1 && s.value === "tags" && (L = [...V.value.querySelectorAll("[data-tags] > *")].filter((B) => B !== K.value), C = L.findIndex((B) => B === document.activeElement)), U.key) {
6630
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(N.key) !== -1 && s.value === "tags" && (L = [...V.value.querySelectorAll("[data-tags] > *")].filter((B) => B !== x.value), C = L.findIndex((B) => B === document.activeElement)), N.key) {
6631
6631
  case "Backspace":
6632
6632
  if (s.value === "single" || o.value && [null, ""].indexOf(w.value) === -1 || $.value.length === 0)
6633
6633
  return;
6634
- let B = $.value.filter((x) => !x.disabled && x.remove !== !1);
6634
+ let B = $.value.filter((G) => !G.disabled && G.remove !== !1);
6635
6635
  B.length && k(B[B.length - 1]);
6636
6636
  break;
6637
6637
  case "Enter":
6638
- if (U.preventDefault(), U.keyCode === 229)
6638
+ if (N.preventDefault(), N.keyCode === 229)
6639
6639
  return;
6640
6640
  if (C !== -1 && C !== void 0) {
6641
- m([...$.value].filter((x, ne) => ne !== C)), C === L.length - 1 && (L.length - 1 ? L[L.length - 2].focus() : o.value ? K.value.querySelector("input").focus() : R.value.focus());
6641
+ m([...$.value].filter((G, ne) => ne !== C)), C === L.length - 1 && (L.length - 1 ? L[L.length - 2].focus() : o.value ? x.value.querySelector("input").focus() : U.value.focus());
6642
6642
  return;
6643
6643
  }
6644
6644
  if (oe.value.indexOf("enter") === -1 && le.value)
@@ -6647,49 +6647,49 @@ function kp(t, e, a) {
6647
6647
  break;
6648
6648
  case " ":
6649
6649
  if (!le.value && !o.value) {
6650
- U.preventDefault(), te(), y();
6650
+ N.preventDefault(), te(), y();
6651
6651
  return;
6652
6652
  }
6653
6653
  if (!le.value)
6654
6654
  return !1;
6655
6655
  if (oe.value.indexOf("space") === -1 && le.value)
6656
6656
  return;
6657
- U.preventDefault(), te(), y();
6657
+ N.preventDefault(), te(), y();
6658
6658
  break;
6659
6659
  case "Tab":
6660
6660
  case ";":
6661
6661
  case ",":
6662
- if (oe.value.indexOf(U.key.toLowerCase()) === -1 || !le.value)
6662
+ if (oe.value.indexOf(N.key.toLowerCase()) === -1 || !le.value)
6663
6663
  return;
6664
- te(), y(), U.preventDefault();
6664
+ te(), y(), N.preventDefault();
6665
6665
  break;
6666
6666
  case "Escape":
6667
- N();
6667
+ R();
6668
6668
  break;
6669
6669
  case "ArrowUp":
6670
- if (U.preventDefault(), !l.value)
6670
+ if (N.preventDefault(), !l.value)
6671
6671
  return;
6672
6672
  ee.value || se(), I();
6673
6673
  break;
6674
6674
  case "ArrowDown":
6675
- if (U.preventDefault(), !l.value)
6675
+ if (N.preventDefault(), !l.value)
6676
6676
  return;
6677
6677
  ee.value || se(), T();
6678
6678
  break;
6679
6679
  case "ArrowLeft":
6680
- if (o.value && K.value && K.value.querySelector("input").selectionStart || U.shiftKey || s.value !== "tags" || !$.value || !$.value.length)
6680
+ if (o.value && x.value && x.value.querySelector("input").selectionStart || N.shiftKey || s.value !== "tags" || !$.value || !$.value.length)
6681
6681
  return;
6682
- U.preventDefault(), C === -1 ? L[L.length - 1].focus() : C > 0 && L[C - 1].focus();
6682
+ N.preventDefault(), C === -1 ? L[L.length - 1].focus() : C > 0 && L[C - 1].focus();
6683
6683
  break;
6684
6684
  case "ArrowRight":
6685
- if (C === -1 || U.shiftKey || s.value !== "tags" || !$.value || !$.value.length)
6685
+ if (C === -1 || N.shiftKey || s.value !== "tags" || !$.value || !$.value.length)
6686
6686
  return;
6687
- U.preventDefault(), L.length > C + 1 ? L[C + 1].focus() : o.value ? K.value.querySelector("input").focus() : o.value || R.value.focus();
6687
+ N.preventDefault(), L.length > C + 1 ? L[C + 1].focus() : o.value ? x.value.querySelector("input").focus() : o.value || U.value.focus();
6688
6688
  break;
6689
6689
  }
6690
6690
  },
6691
- handleKeyup: (U) => {
6692
- e.emit("keyup", U, g);
6691
+ handleKeyup: (N) => {
6692
+ e.emit("keyup", N, g);
6693
6693
  },
6694
6694
  preparePointer: te
6695
6695
  };
@@ -6843,38 +6843,38 @@ function Ap(t, e, a) {
6843
6843
  aria: d,
6844
6844
  searchable: u
6845
6845
  } = Ie(t), c = a.pointer, p = a.iv, h = a.hasSelected, g = a.multipleLabelText, $ = q(null), m = M(() => {
6846
- let N = [];
6847
- return n && n.value && N.push(n.value), N.push("assist"), N.join("-");
6846
+ let R = [];
6847
+ return n && n.value && R.push(n.value), R.push("assist"), R.join("-");
6848
6848
  }), k = M(() => {
6849
- let N = [];
6850
- return n && n.value && N.push(n.value), N.push("multiselect-options"), N.join("-");
6849
+ let R = [];
6850
+ return n && n.value && R.push(n.value), R.push("multiselect-options"), R.join("-");
6851
6851
  }), w = M(() => {
6852
- let N = [];
6853
- if (n && n.value && N.push(n.value), c.value)
6854
- return N.push(c.value.group ? "multiselect-group" : "multiselect-option"), N.push(c.value.group ? c.value.index : c.value[i.value]), N.join("-");
6852
+ let R = [];
6853
+ if (n && n.value && R.push(n.value), c.value)
6854
+ return R.push(c.value.group ? "multiselect-group" : "multiselect-option"), R.push(c.value.group ? c.value.index : c.value[i.value]), R.join("-");
6855
6855
  }), b = M(() => s.value), y = M(() => l.value !== "single"), I = M(() => {
6856
- let N = "";
6857
- return l.value === "single" && h.value && (N += p.value[o.value]), l.value === "multiple" && h.value && (N += g.value), l.value === "tags" && h.value && (N += p.value.map((X) => X[o.value]).join(", ")), N;
6856
+ let R = "";
6857
+ return l.value === "single" && h.value && (R += p.value[o.value]), l.value === "multiple" && h.value && (R += g.value), l.value === "tags" && h.value && (R += p.value.map((X) => X[o.value]).join(", ")), R;
6858
6858
  }), T = M(() => {
6859
- let N = { ...d.value };
6860
- return u.value && (N["aria-labelledby"] = N["aria-labelledby"] ? `${m.value} ${N["aria-labelledby"]}` : m.value, I.value && N["aria-label"] && (N["aria-label"] = `${I.value}, ${N["aria-label"]}`)), N;
6861
- }), V = (N) => {
6859
+ let R = { ...d.value };
6860
+ return u.value && (R["aria-labelledby"] = R["aria-labelledby"] ? `${m.value} ${R["aria-labelledby"]}` : m.value, I.value && R["aria-label"] && (R["aria-label"] = `${I.value}, ${R["aria-label"]}`)), R;
6861
+ }), V = (R) => {
6862
6862
  let X = [];
6863
- return n && n.value && X.push(n.value), X.push("multiselect-option"), X.push(N[i.value]), X.join("-");
6864
- }, R = (N) => {
6863
+ return n && n.value && X.push(n.value), X.push("multiselect-option"), X.push(R[i.value]), X.join("-");
6864
+ }, U = (R) => {
6865
6865
  let X = [];
6866
- return n && n.value && X.push(n.value), X.push("multiselect-group"), X.push(N.index), X.join("-");
6867
- }, K = (N) => {
6866
+ return n && n.value && X.push(n.value), X.push("multiselect-group"), X.push(R.index), X.join("-");
6867
+ }, x = (R) => {
6868
6868
  let X = [];
6869
- return X.push(N), X.join(" ");
6870
- }, ee = (N) => {
6869
+ return X.push(R), X.join(" ");
6870
+ }, ee = (R) => {
6871
6871
  let X = [];
6872
- return X.push(N), X.join(" ");
6873
- }, se = (N) => `${N} ❎`;
6872
+ return X.push(R), X.join(" ");
6873
+ }, se = (R) => `${R} ❎`;
6874
6874
  return Lt(() => {
6875
6875
  if (n && n.value && document && document.querySelector) {
6876
- let N = document.querySelector(`[for="${n.value}"]`);
6877
- $.value = N ? N.innerText : null;
6876
+ let R = document.querySelector(`[for="${n.value}"]`);
6877
+ $.value = R ? R.innerText : null;
6878
6878
  }
6879
6879
  }), {
6880
6880
  arias: T,
@@ -6885,8 +6885,8 @@ function Ap(t, e, a) {
6885
6885
  ariaMultiselectable: y,
6886
6886
  ariaActiveDescendant: w,
6887
6887
  ariaOptionId: V,
6888
- ariaOptionLabel: K,
6889
- ariaGroupId: R,
6888
+ ariaOptionLabel: x,
6889
+ ariaGroupId: U,
6890
6890
  ariaGroupLabel: ee,
6891
6891
  ariaTagLabel: se
6892
6892
  };
@@ -7299,7 +7299,7 @@ var ct = {
7299
7299
  }));
7300
7300
  }
7301
7301
  };
7302
- const Ip = ["id", "dir"], Lp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Pp = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Hp = ["onKeyup", "aria-label"], Vp = ["onClick"], Dp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Bp = ["innerHTML"], Rp = ["id"], jp = ["id"], Np = ["id", "aria-label", "aria-selected"], Up = ["data-pointed", "onMouseenter", "onMousedown"], Fp = ["innerHTML"], Zp = ["aria-label"], Wp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], zp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], qp = ["innerHTML"], Yp = ["innerHTML"], xp = ["value"], Kp = ["name", "value"], Gp = ["name", "value"], Xp = ["id"];
7302
+ const Ip = ["id", "dir"], Lp = ["tabindex", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable", "role"], Pp = ["type", "modelValue", "value", "autocomplete", "id", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Hp = ["onKeyup", "aria-label"], Vp = ["onClick"], Dp = ["type", "modelValue", "value", "id", "autocomplete", "aria-controls", "aria-placeholder", "aria-expanded", "aria-activedescendant", "aria-multiselectable"], Bp = ["innerHTML"], jp = ["id"], Rp = ["id"], Np = ["id", "aria-label", "aria-selected"], Up = ["data-pointed", "onMouseenter", "onMousedown"], Fp = ["innerHTML"], Zp = ["aria-label"], Wp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], zp = ["data-pointed", "data-selected", "onMouseenter", "onMousedown", "id", "aria-selected", "aria-label"], qp = ["innerHTML"], Yp = ["innerHTML"], xp = ["value"], Kp = ["name", "value"], Gp = ["name", "value"], Xp = ["id"];
7303
7303
  function Qp(t, e, a, s, n, i) {
7304
7304
  return v(), _("div", {
7305
7305
  ref: "multiselect",
@@ -7682,7 +7682,7 @@ function Qp(t, e, a, s, n, i) {
7682
7682
  128
7683
7683
  /* KEYED_FRAGMENT */
7684
7684
  ))
7685
- ], 10, jp),
7685
+ ], 10, Rp),
7686
7686
  t.noOptions ? ae(t.$slots, "nooptions", { key: 0 }, () => [
7687
7687
  f("div", {
7688
7688
  class: J(t.classList.noOptions),
@@ -7719,7 +7719,7 @@ function Qp(t, e, a, s, n, i) {
7719
7719
  /* CLASS */
7720
7720
  )) : E("v-if", !0),
7721
7721
  ae(t.$slots, "afterlist", { options: t.fo })
7722
- ], 10, Rp)
7722
+ ], 10, jp)
7723
7723
  ], 8, ["to", "disabled"])),
7724
7724
  E(" Hacky input element to show HTML5 required warning "),
7725
7725
  a.required ? (v(), _("input", {
@@ -7776,7 +7776,7 @@ function Qp(t, e, a, s, n, i) {
7776
7776
  }
7777
7777
  ct.render = Qp;
7778
7778
  ct.__file = "src/Multiselect.vue";
7779
- const Me = /* @__PURE__ */ G({
7779
+ const Me = /* @__PURE__ */ K({
7780
7780
  __name: "AoMultiselect",
7781
7781
  props: {
7782
7782
  detached: { type: Boolean },
@@ -7815,7 +7815,7 @@ function Jp() {
7815
7815
  throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");
7816
7816
  return t;
7817
7817
  }
7818
- G({
7818
+ K({
7819
7819
  props: {
7820
7820
  translation: {
7821
7821
  type: String,
@@ -7852,7 +7852,7 @@ async function Qe(t, e) {
7852
7852
  o == null || o.select();
7853
7853
  }
7854
7854
  }
7855
- const ev = { class: "ao-tasks" }, tv = { class: "ao-tasks__list" }, av = ["id", "value", "readonly", "onChange", "onKeyup"], sv = { class: "ao-tasks__list-footer" }, nv = /* @__PURE__ */ G({
7855
+ const ev = { class: "ao-tasks" }, tv = { class: "ao-tasks__list" }, av = ["id", "value", "readonly", "onChange", "onKeyup"], sv = { class: "ao-tasks__list-footer" }, nv = /* @__PURE__ */ K({
7856
7856
  __name: "AoActivityTasks",
7857
7857
  props: {
7858
7858
  activityId: {},
@@ -7984,7 +7984,7 @@ const ev = { class: "ao-tasks" }, tv = { class: "ao-tasks__list" }, av = ["id",
7984
7984
  const ov = ["onDrop", "onDragenter", "onDragover", "onDragleave"], iv = { class: "ao-files__placeholder" }, lv = {
7985
7985
  key: 0,
7986
7986
  class: "ao-files__list"
7987
- }, rv = ["href"], uv = { class: "ao-file__title" }, cv = { key: 0 }, dv = { class: "ao-files__input" }, pv = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, vv = { class: "ao-button__label" }, fv = { class: "ao-files__dropzone" }, hv = { class: "ao-files__dropzone-label" }, mv = /* @__PURE__ */ G({
7987
+ }, rv = ["href"], uv = { class: "ao-file__title" }, cv = { key: 0 }, dv = { class: "ao-files__input" }, pv = { class: "ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm" }, vv = { class: "ao-button__label" }, fv = { class: "ao-files__dropzone" }, hv = { class: "ao-files__dropzone-label" }, mv = /* @__PURE__ */ K({
7988
7988
  __name: "AoActivityDetailsFiles",
7989
7989
  props: {
7990
7990
  attachments: {},
@@ -8104,7 +8104,7 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8104
8104
  }, wv = ["rows"], $v = ["onClick"], kv = {
8105
8105
  key: 1,
8106
8106
  class: "ao-comment__footer"
8107
- }, Sv = /* @__PURE__ */ G({
8107
+ }, Sv = /* @__PURE__ */ K({
8108
8108
  __name: "AoComment",
8109
8109
  props: {
8110
8110
  user: {},
@@ -8120,8 +8120,8 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8120
8120
  const I = a.user;
8121
8121
  return I ? `${I == null ? void 0 : I.firstName} ${I == null ? void 0 : I.lastName}` : null;
8122
8122
  }), n = q(null), i = q(a.content), { isEditing: o, toggleIsEditing: l, onUpdate: r, onDiscard: d } = Hn(n), u = M(() => {
8123
- const I = a.editedAt && ca(a.editedAt), T = ca(a.createdAt), V = /* @__PURE__ */ new Date(), R = I ?? T;
8124
- return R && p3(R, V);
8123
+ const I = a.editedAt && ca(a.editedAt), T = ca(a.createdAt), V = /* @__PURE__ */ new Date(), U = I ?? T;
8124
+ return U && p3(U, V);
8125
8125
  });
8126
8126
  M(() => o.value ? "textarea" : "p");
8127
8127
  const c = d(), p = r((I) => {
@@ -8163,21 +8163,21 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8163
8163
  ref_key: "commentContent",
8164
8164
  ref: n,
8165
8165
  class: "ao-comment__content",
8166
- "onUpdate:modelValue": T[0] || (T[0] = (R) => i.value = R),
8166
+ "onUpdate:modelValue": T[0] || (T[0] = (U) => i.value = U),
8167
8167
  rows: g.value,
8168
8168
  onInput: T[1] || (T[1] = //@ts-ignore
8169
- (...R) => F(w) && F(w)(...R)),
8169
+ (...U) => F(w) && F(w)(...U)),
8170
8170
  onKeydown: T[2] || (T[2] = //@ts-ignore
8171
- (...R) => F(b) && F(b)(...R)),
8171
+ (...U) => F(b) && F(b)(...U)),
8172
8172
  onKeyup: [
8173
8173
  T[3] || (T[3] = vt(
8174
8174
  //@ts-ignore
8175
- (...R) => F(c) && F(c)(...R),
8175
+ (...U) => F(c) && F(c)(...U),
8176
8176
  ["esc"]
8177
8177
  )),
8178
8178
  T[4] || (T[4] = vt(ve(
8179
8179
  //@ts-ignore
8180
- (...R) => F(p) && F(p)(...R),
8180
+ (...U) => F(p) && F(p)(...U),
8181
8181
  ["ctrl"]
8182
8182
  ), ["enter"]))
8183
8183
  ]
@@ -8189,10 +8189,10 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8189
8189
  class: "mention-list",
8190
8190
  style: Fe({ top: F(m).top + "px", left: F(m).left + "px" })
8191
8191
  }, [
8192
- (v(!0), _(fe, null, Ce(F(k), (R) => (v(), _("li", {
8193
- key: R.id,
8194
- onClick: (K) => F(y)(R.name)
8195
- }, " @" + Y(R.name), 9, $v))), 128))
8192
+ (v(!0), _(fe, null, Ce(F(k), (U) => (v(), _("li", {
8193
+ key: U.id,
8194
+ onClick: (x) => F(y)(U.name)
8195
+ }, " @" + Y(U.name), 9, $v))), 128))
8196
8196
  ], 4)) : E("", !0)
8197
8197
  ])
8198
8198
  ]),
@@ -8237,7 +8237,7 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8237
8237
  const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placeholder"], Ov = { class: "ao-comments__form-submit" }, Ev = {
8238
8238
  key: 0,
8239
8239
  class: "ao-comments__list"
8240
- }, Iv = ["onClick"], Lv = /* @__PURE__ */ G({
8240
+ }, Iv = ["onClick"], Lv = /* @__PURE__ */ K({
8241
8241
  __name: "AoActivityDetailsComments",
8242
8242
  props: {
8243
8243
  comments: { default: () => [] },
@@ -8347,7 +8347,7 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
8347
8347
  };
8348
8348
  }
8349
8349
  });
8350
- const Ss = /* @__PURE__ */ G({
8350
+ const Ss = /* @__PURE__ */ K({
8351
8351
  __name: "AoButtonCheck",
8352
8352
  props: {
8353
8353
  modelValue: { type: Boolean },
@@ -8367,10 +8367,10 @@ const Ss = /* @__PURE__ */ G({
8367
8367
  }), Pv = { class: "ao-activity-details" }, Hv = { class: "ao-activity-details__main" }, Vv = { class: "ao-activity-details__header" }, Dv = {
8368
8368
  key: 1,
8369
8369
  class: "ao-activity__category"
8370
- }, Bv = { class: "ao-feed__activity-details__header" }, Rv = {
8370
+ }, Bv = { class: "ao-feed__activity-details__header" }, jv = {
8371
8371
  key: 0,
8372
8372
  class: "ao-field ao-feed__activity-details__project"
8373
- }, jv = { class: "ao-field__label" }, Nv = {
8373
+ }, Rv = { class: "ao-field__label" }, Nv = {
8374
8374
  key: 1,
8375
8375
  class: "ao-field ao-feed__activity-details__project"
8376
8376
  }, Uv = { class: "ao-field__label" }, Fv = { class: "ao-activity-details__content" }, Zv = { class: "ao-fieldset" }, Wv = { class: "ao-field__row" }, zv = { class: "ao-field ao-field--full" }, qv = { class: "ao-field__label" }, Yv = ["readonly"], xv = { class: "ao-field__row" }, Kv = { class: "ao-field ao-field--inline" }, Gv = { class: "ao-field__label" }, Xv = ["readonly"], Qv = { class: "ao-fieldset" }, Jv = { class: "ao-fieldset__title" }, ef = { class: "ao-fieldset__body" }, tf = {
@@ -8391,7 +8391,7 @@ const Ss = /* @__PURE__ */ G({
8391
8391
  }, $f = { class: "ao-fieldset ao-activity-details__aside-section" }, kf = { class: "ao-fieldset__title" }, Sf = { class: "ao-fieldset__body" }, Mf = { class: "ao-field__row" }, Af = { class: "ao-field ao-field--multiselect" }, Tf = { class: "ao-field__label" }, Of = { class: "ao-field__row" }, Ef = { class: "ao-field ao-field--multiselect" }, If = { class: "ao-field__label" }, Lf = {
8392
8392
  key: 2,
8393
8393
  class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
8394
- }, Pf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ G({
8394
+ }, Pf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ K({
8395
8395
  __name: "AoActivityDetails",
8396
8396
  props: {
8397
8397
  activity: {},
@@ -8486,7 +8486,7 @@ const Ss = /* @__PURE__ */ G({
8486
8486
  var B;
8487
8487
  return {
8488
8488
  ...C,
8489
- disabled: (B = a.activity.blocking) == null ? void 0 : B.some((x) => x.id === C.value)
8489
+ disabled: (B = a.activity.blocking) == null ? void 0 : B.some((G) => G.id === C.value)
8490
8490
  };
8491
8491
  })), $ = M({
8492
8492
  get() {
@@ -8504,7 +8504,7 @@ const Ss = /* @__PURE__ */ G({
8504
8504
  return {
8505
8505
  ...C,
8506
8506
  disabled: (B = a.activity.dependingOn) == null ? void 0 : B.some(
8507
- (x) => x.id === C.value
8507
+ (G) => G.id === C.value
8508
8508
  )
8509
8509
  };
8510
8510
  })), k = (C) => {
@@ -8539,12 +8539,12 @@ const Ss = /* @__PURE__ */ G({
8539
8539
  // `undefined` is not a value for GraphQL, we have to use `null` to reset a value
8540
8540
  });
8541
8541
  }
8542
- }), R = (C) => {
8542
+ }), U = (C) => {
8543
8543
  e("addFiles", {
8544
8544
  activityId: a.activity.id,
8545
8545
  files: C
8546
8546
  });
8547
- }, K = (C) => {
8547
+ }, x = (C) => {
8548
8548
  e("removeFile", {
8549
8549
  activityId: a.activity.id,
8550
8550
  file: C
@@ -8553,8 +8553,8 @@ const Ss = /* @__PURE__ */ G({
8553
8553
  value: C.id,
8554
8554
  label: C.name
8555
8555
  }))), se = M(() => {
8556
- var B, x, ne;
8557
- const C = (ne = (x = (B = a.activity) == null ? void 0 : B.project) == null ? void 0 : x.phases) == null ? void 0 : ne.reduce(
8556
+ var B, G, ne;
8557
+ const C = (ne = (G = (B = a.activity) == null ? void 0 : B.project) == null ? void 0 : G.phases) == null ? void 0 : ne.reduce(
8558
8558
  (z, H) => [...z, ...H.milestones],
8559
8559
  []
8560
8560
  );
@@ -8562,7 +8562,7 @@ const Ss = /* @__PURE__ */ G({
8562
8562
  value: z.id,
8563
8563
  label: z.name
8564
8564
  }));
8565
- }), N = (C) => {
8565
+ }), R = (C) => {
8566
8566
  a.activity && e("update:activity", {
8567
8567
  id: a.activity.id,
8568
8568
  projectId: C
@@ -8592,23 +8592,23 @@ const Ss = /* @__PURE__ */ G({
8592
8592
  e("updateComment", C);
8593
8593
  }, O = (C) => {
8594
8594
  e("removeComment", C);
8595
- }, U = M(() => {
8595
+ }, N = M(() => {
8596
8596
  var C, B;
8597
8597
  return ((C = a.activity.createdBy) == null ? void 0 : C.firstName) && ((B = a.activity.createdBy) == null ? void 0 : B.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
8598
8598
  });
8599
8599
  function L() {
8600
- const C = window.location.origin, B = a.activity.slug, x = `${C}/activity-feed/slug/${B}`;
8601
- navigator.clipboard.writeText(x).then(() => {
8602
- console.log(`Link copied to clipboard: ${x}`), e("toast", "clipboard.copy.success", "success");
8600
+ const C = window.location.origin, B = a.activity.slug, G = `${C}/activity-feed/slug/${B}`;
8601
+ navigator.clipboard.writeText(G).then(() => {
8602
+ console.log(`Link copied to clipboard: ${G}`), e("toast", "clipboard.copy.success", "success");
8603
8603
  }).catch(() => {
8604
8604
  console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
8605
8605
  });
8606
8606
  }
8607
8607
  return (C, B) => (v(), D(Qa, {
8608
- onClose: B[10] || (B[10] = (x) => C.$emit("close"))
8608
+ onClose: B[10] || (B[10] = (G) => C.$emit("close"))
8609
8609
  }, {
8610
8610
  default: Z(() => {
8611
- var x, ne, z;
8611
+ var G, ne, z;
8612
8612
  return [
8613
8613
  f("div", Pv, [
8614
8614
  f("div", Hv, [
@@ -8631,15 +8631,15 @@ const Ss = /* @__PURE__ */ G({
8631
8631
  "onUpdate:title": n
8632
8632
  }, null, 8, ["title", "is-editable"]),
8633
8633
  f("div", Bv, [
8634
- ee.value ? (v(), _("label", Rv, [
8635
- f("span", jv, Y(C.$t("activity.project.label")), 1),
8634
+ ee.value ? (v(), _("label", jv, [
8635
+ f("span", Rv, Y(C.$t("activity.project.label")), 1),
8636
8636
  A(Me, {
8637
8637
  options: ee.value,
8638
- value: (x = C.activity.project) == null ? void 0 : x.id,
8638
+ value: (G = C.activity.project) == null ? void 0 : G.id,
8639
8639
  searchable: !0,
8640
8640
  disabled: !s.value,
8641
8641
  caret: s.value,
8642
- onChange: N
8642
+ onChange: R
8643
8643
  }, null, 8, ["options", "value", "disabled", "caret"])
8644
8644
  ])) : E("", !0),
8645
8645
  se.value ? (v(), _("label", Nv, [
@@ -8662,8 +8662,8 @@ const Ss = /* @__PURE__ */ G({
8662
8662
  A(mv, {
8663
8663
  attachments: C.activity.attachments,
8664
8664
  "is-editable": C.attachmentEnabled && s.value && C.isTemplate !== !0 && !!C.userId,
8665
- onAdd: R,
8666
- onRemove: K
8665
+ onAdd: U,
8666
+ onRemove: x
8667
8667
  }, {
8668
8668
  default: Z(() => [
8669
8669
  f("label", zv, [
@@ -8927,13 +8927,13 @@ const Ss = /* @__PURE__ */ G({
8927
8927
  ])
8928
8928
  ])
8929
8929
  ]),
8930
- C.isTemplate !== !0 && U.value ? (v(), _("div", Lf, [
8930
+ C.isTemplate !== !0 && N.value ? (v(), _("div", Lf, [
8931
8931
  f("div", Pf, [
8932
8932
  A(et, {
8933
- "user-name": U.value,
8933
+ "user-name": N.value,
8934
8934
  color: "black"
8935
8935
  }, null, 8, ["user-name"]),
8936
- f("span", null, Y(U.value), 1)
8936
+ f("span", null, Y(N.value), 1)
8937
8937
  ])
8938
8938
  ])) : E("", !0)
8939
8939
  ])
@@ -8944,7 +8944,7 @@ const Ss = /* @__PURE__ */ G({
8944
8944
  }));
8945
8945
  }
8946
8946
  });
8947
- const Hf = /* @__PURE__ */ G({
8947
+ const Hf = /* @__PURE__ */ K({
8948
8948
  __name: "AoRuleLine",
8949
8949
  props: {
8950
8950
  rule: {},
@@ -9068,7 +9068,7 @@ const Hf = /* @__PURE__ */ G({
9068
9068
  }));
9069
9069
  }
9070
9070
  });
9071
- const Vf = { class: "ao-template-rules__body" }, Df = { class: "ao-template-rules__list" }, Bf = /* @__PURE__ */ G({
9071
+ const Vf = { class: "ao-template-rules__body" }, Df = { class: "ao-template-rules__list" }, Bf = /* @__PURE__ */ K({
9072
9072
  __name: "AoTemplateRules",
9073
9073
  props: {
9074
9074
  templateId: {},
@@ -9122,10 +9122,10 @@ function At(t, e, a) {
9122
9122
  rank: i.format()
9123
9123
  };
9124
9124
  }
9125
- const Rf = {
9125
+ const jf = {
9126
9126
  key: 0,
9127
9127
  class: "ao-template-details"
9128
- }, jf = { class: "ao-template-details__body" }, Nf = { class: "ao-template-details__cols" }, Uf = { class: "ao-template-details__col" }, Ff = { class: "ao-list__footer" }, Zf = { class: "ao-template-details__col" }, Wf = { class: "ao-template-details__col" }, zf = /* @__PURE__ */ G({
9128
+ }, Rf = { class: "ao-template-details__body" }, Nf = { class: "ao-template-details__cols" }, Uf = { class: "ao-template-details__col" }, Ff = { class: "ao-list__footer" }, Zf = { class: "ao-template-details__col" }, Wf = { class: "ao-template-details__col" }, zf = /* @__PURE__ */ K({
9129
9129
  __name: "AoTemplateDetails",
9130
9130
  props: {
9131
9131
  templateId: {},
@@ -9158,7 +9158,7 @@ const Rf = {
9158
9158
  );
9159
9159
  const o = M(() => {
9160
9160
  var P, O;
9161
- return (O = (P = n == null ? void 0 : n.value) == null ? void 0 : P.phases) == null ? void 0 : O.find((U) => U.id === a.phaseId);
9161
+ return (O = (P = n == null ? void 0 : n.value) == null ? void 0 : P.phases) == null ? void 0 : O.find((N) => N.id === a.phaseId);
9162
9162
  });
9163
9163
  ce(
9164
9164
  () => {
@@ -9172,7 +9172,7 @@ const Rf = {
9172
9172
  const l = M(() => {
9173
9173
  var P, O;
9174
9174
  return (O = (P = o.value) == null ? void 0 : P.milestones) == null ? void 0 : O.find(
9175
- (U) => U.id === a.milestoneId
9175
+ (N) => N.id === a.milestoneId
9176
9176
  );
9177
9177
  });
9178
9178
  ce(
@@ -9186,23 +9186,23 @@ const Rf = {
9186
9186
  );
9187
9187
  const r = M(() => {
9188
9188
  var P, O;
9189
- return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((U, L) => {
9189
+ return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((N, L) => {
9190
9190
  const C = L.milestones || [];
9191
- return [...U, ...C];
9191
+ return [...N, ...C];
9192
9192
  }, [])) || [];
9193
9193
  }), d = M(() => {
9194
9194
  var P, O;
9195
- return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((U, L) => {
9195
+ return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((N, L) => {
9196
9196
  const B = (L.milestones || []).reduce(
9197
- (x, ne) => ne.activities ? [...x, ...ne.activities] : x,
9197
+ (G, ne) => ne.activities ? [...G, ...ne.activities] : G,
9198
9198
  []
9199
9199
  );
9200
- return [...U, ...B];
9200
+ return [...N, ...B];
9201
9201
  }, [])) || [];
9202
9202
  }), u = M(() => {
9203
9203
  var P, O;
9204
9204
  return (O = (P = l.value) == null ? void 0 : P.activities) == null ? void 0 : O.find(
9205
- (U) => U.id === a.activityId
9205
+ (N) => N.id === a.activityId
9206
9206
  );
9207
9207
  }), c = M(() => {
9208
9208
  var P;
@@ -9250,7 +9250,7 @@ const Rf = {
9250
9250
  }, k = (P) => {
9251
9251
  if (!o.value)
9252
9252
  return;
9253
- const { name: O, rank: U } = At(
9253
+ const { name: O, rank: N } = At(
9254
9254
  o.value.milestones,
9255
9255
  "milestone",
9256
9256
  s
@@ -9261,7 +9261,7 @@ const Rf = {
9261
9261
  phaseId: P.phaseId,
9262
9262
  item: {
9263
9263
  name: O,
9264
- rank: U,
9264
+ rank: N,
9265
9265
  phaseId: P.phaseId
9266
9266
  }
9267
9267
  });
@@ -9275,18 +9275,18 @@ const Rf = {
9275
9275
  }
9276
9276
  });
9277
9277
  }, b = (P) => {
9278
- const { id: O, ...U } = P;
9278
+ const { id: O, ...N } = P;
9279
9279
  e("updateItem", {
9280
9280
  itemType: me.MILESTONES,
9281
9281
  id: O,
9282
9282
  templateId: a.templateId,
9283
- data: U
9283
+ data: N
9284
9284
  });
9285
9285
  }, y = (P) => {
9286
9286
  const { milestoneId: O } = P;
9287
9287
  if (!l.value)
9288
9288
  return;
9289
- const { name: U, rank: L } = At(
9289
+ const { name: N, rank: L } = At(
9290
9290
  l.value.activities,
9291
9291
  "activity",
9292
9292
  s
@@ -9295,47 +9295,47 @@ const Rf = {
9295
9295
  type: me.ACTIVITIES,
9296
9296
  milestoneId: O,
9297
9297
  templateId: a.templateId,
9298
- item: { name: U, rank: L, milestoneId: O }
9298
+ item: { name: N, rank: L, milestoneId: O }
9299
9299
  });
9300
9300
  }, I = (P) => {
9301
- var O, U;
9301
+ var O, N;
9302
9302
  e("removeItem", {
9303
9303
  itemType: me.ACTIVITIES,
9304
9304
  templateId: a.templateId,
9305
9305
  phaseId: (O = o.value) == null ? void 0 : O.id,
9306
- milestoneId: (U = l.value) == null ? void 0 : U.id,
9306
+ milestoneId: (N = l.value) == null ? void 0 : N.id,
9307
9307
  data: {
9308
9308
  id: P.id
9309
9309
  }
9310
9310
  });
9311
9311
  }, T = (P) => {
9312
- const { id: O, ...U } = P;
9312
+ const { id: O, ...N } = P;
9313
9313
  e("updateItem", {
9314
9314
  itemType: me.ACTIVITIES,
9315
9315
  id: O,
9316
9316
  templateId: a.templateId,
9317
- data: U
9317
+ data: N
9318
9318
  });
9319
- }, V = q(!1), R = () => {
9319
+ }, V = q(!1), U = () => {
9320
9320
  V.value = !V.value;
9321
- }, K = () => {
9321
+ }, x = () => {
9322
9322
  e("addRule", { templateId: a.templateId });
9323
9323
  }, ee = (P) => {
9324
9324
  e("removeRule", { id: P, templateId: a.templateId });
9325
9325
  }, se = (P) => {
9326
9326
  var O;
9327
9327
  if (P.moved) {
9328
- const U = ya(P, ((O = n.value) == null ? void 0 : O.phases) ?? []);
9328
+ const N = ya(P, ((O = n.value) == null ? void 0 : O.phases) ?? []);
9329
9329
  e("updateItem", {
9330
9330
  itemType: me.PHASES,
9331
9331
  id: P.moved.element.id,
9332
9332
  templateId: a.templateId,
9333
9333
  data: {
9334
- rank: U
9334
+ rank: N
9335
9335
  }
9336
9336
  });
9337
9337
  }
9338
- }, N = (P) => {
9338
+ }, R = (P) => {
9339
9339
  !o.value || !l.value || !u.value || e("addItem", {
9340
9340
  type: me.TASKS,
9341
9341
  activityId: P.activityId,
@@ -9366,11 +9366,11 @@ const Rf = {
9366
9366
  e("removeFile", P);
9367
9367
  };
9368
9368
  return (P, O) => {
9369
- var U, L, C, B, x, ne;
9370
- return n.value ? (v(), _("div", Rf, [
9369
+ var N, L, C, B, G, ne;
9370
+ return n.value ? (v(), _("div", jf, [
9371
9371
  A(ba, {
9372
9372
  "can-go-back": !0,
9373
- onGoBack: O[1] || (O[1] = (z) => P.$router.push({ name: F(jt).TEMPLATES_LIST }))
9373
+ onGoBack: O[1] || (O[1] = (z) => P.$router.push({ name: F(Rt).TEMPLATES_LIST }))
9374
9374
  }, {
9375
9375
  primary: Z(() => [
9376
9376
  A(be, {
@@ -9384,7 +9384,7 @@ const Rf = {
9384
9384
  ]),
9385
9385
  _: 1
9386
9386
  }),
9387
- f("div", jf, [
9387
+ f("div", Rf, [
9388
9388
  f("ol", Nf, [
9389
9389
  f("li", Uf, [
9390
9390
  A(F(gt), {
@@ -9437,7 +9437,7 @@ const Rf = {
9437
9437
  key: 0,
9438
9438
  "template-id": P.templateId,
9439
9439
  phase: o.value,
9440
- "milestone-id": (U = l.value) == null ? void 0 : U.id,
9440
+ "milestone-id": (N = l.value) == null ? void 0 : N.id,
9441
9441
  onAddMilestone: k,
9442
9442
  onUpdateMilestone: b,
9443
9443
  onUpdatePhase: m,
@@ -9463,7 +9463,7 @@ const Rf = {
9463
9463
  key: 0,
9464
9464
  activity: u.value,
9465
9465
  "activity-types": P.activityTypes,
9466
- breadcrumbs: `${n.value.name} / ${(B = o.value) == null ? void 0 : B.name} / ${(x = l.value) == null ? void 0 : x.name}`,
9466
+ breadcrumbs: `${n.value.name} / ${(B = o.value) == null ? void 0 : B.name} / ${(G = l.value) == null ? void 0 : G.name}`,
9467
9467
  "milestone-id": (ne = l.value) == null ? void 0 : ne.id,
9468
9468
  "template-activities": d.value,
9469
9469
  "template-milestones": r.value,
@@ -9475,7 +9475,7 @@ const Rf = {
9475
9475
  }),
9476
9476
  "attachment-enabled": !1,
9477
9477
  onClose: P.$router.back,
9478
- onAddSubtask: N,
9478
+ onAddSubtask: R,
9479
9479
  onUpdateSubtask: X,
9480
9480
  onDeleteSubtask: le,
9481
9481
  onAddFiles: oe,
@@ -9495,8 +9495,8 @@ const Rf = {
9495
9495
  "template-phases": n.value.phases,
9496
9496
  "template-milestones": r.value,
9497
9497
  "template-activities": d.value,
9498
- onClose: R,
9499
- onAddRule: K,
9498
+ onClose: U,
9499
+ onAddRule: x,
9500
9500
  onRemoveRule: ee
9501
9501
  }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : E("", !0)
9502
9502
  ]))
@@ -9510,7 +9510,7 @@ const qf = { class: "ao-card__content" }, Yf = {
9510
9510
  }, xf = { class: "ao-card__body" }, Kf = {
9511
9511
  key: 1,
9512
9512
  class: "ao-card__footer"
9513
- }, os = /* @__PURE__ */ G({
9513
+ }, os = /* @__PURE__ */ K({
9514
9514
  __name: "AoCard",
9515
9515
  props: {
9516
9516
  isClickable: { type: Boolean },
@@ -9551,7 +9551,7 @@ const qf = { class: "ao-card__content" }, Yf = {
9551
9551
  }, 8, ["class", "style"]));
9552
9552
  }
9553
9553
  });
9554
- const is = /* @__PURE__ */ G({
9554
+ const is = /* @__PURE__ */ K({
9555
9555
  __name: "AoProgress",
9556
9556
  props: {
9557
9557
  percentages: {},
@@ -9623,7 +9623,7 @@ function Qf({ r: t, g: e, b: a }) {
9623
9623
  let l = parseFloat((s === 0 ? 0 : 1 - n / s).toFixed(2)), r = parseFloat(s.toFixed(2));
9624
9624
  return { h: o, s: l, v: r };
9625
9625
  }
9626
- var Ks = G({
9626
+ var Ks = K({
9627
9627
  props: {
9628
9628
  color: {
9629
9629
  type: String,
@@ -9715,7 +9715,7 @@ function eh(t, e, a, s, n, i) {
9715
9715
  }
9716
9716
  Ks.render = eh;
9717
9717
  Ks.__file = "src/color/Saturation.vue";
9718
- var Gs = G({
9718
+ var Gs = K({
9719
9719
  props: {
9720
9720
  hsv: {
9721
9721
  type: Object,
@@ -9801,7 +9801,7 @@ function ah(t, e, a, s, n, i) {
9801
9801
  }
9802
9802
  Gs.render = ah;
9803
9803
  Gs.__file = "src/color/Hue.vue";
9804
- var Xs = G({
9804
+ var Xs = K({
9805
9805
  props: {
9806
9806
  color: {
9807
9807
  type: String,
@@ -9896,7 +9896,7 @@ function nh(t, e, a, s, n, i) {
9896
9896
  }
9897
9897
  Xs.render = nh;
9898
9898
  Xs.__file = "src/color/Alpha.vue";
9899
- var Qs = G({
9899
+ var Qs = K({
9900
9900
  props: {
9901
9901
  color: {
9902
9902
  type: String,
@@ -9936,7 +9936,7 @@ function oh(t, e, a, s, n, i) {
9936
9936
  }
9937
9937
  Qs.render = oh;
9938
9938
  Qs.__file = "src/color/Preview.vue";
9939
- var Js = G({
9939
+ var Js = K({
9940
9940
  props: {
9941
9941
  suckerCanvas: {
9942
9942
  type: Object,
@@ -10065,7 +10065,7 @@ function uh(t, e, a, s, n, i) {
10065
10065
  }
10066
10066
  Js.render = uh;
10067
10067
  Js.__file = "src/color/Sucker.vue";
10068
- var en = G({
10068
+ var en = K({
10069
10069
  props: {
10070
10070
  name: {
10071
10071
  type: String,
@@ -10124,7 +10124,7 @@ function ph(t, e, a, s, n, i) {
10124
10124
  }
10125
10125
  en.render = ph;
10126
10126
  en.__file = "src/color/Box.vue";
10127
- var tn = G({
10127
+ var tn = K({
10128
10128
  name: "ColorPicker",
10129
10129
  props: {
10130
10130
  color: {
@@ -10242,7 +10242,7 @@ function hh(t, e, a, s, n, i) {
10242
10242
  }
10243
10243
  tn.render = hh;
10244
10244
  tn.__file = "src/color/Colors.vue";
10245
- var Ut = G({
10245
+ var Ut = K({
10246
10246
  components: {
10247
10247
  Saturation: Ks,
10248
10248
  Hue: Gs,
@@ -10504,7 +10504,7 @@ Ut.__file = "src/color/ColorPicker.vue";
10504
10504
  Ut.install = (t) => {
10505
10505
  t.component(Ut.name, Ut);
10506
10506
  };
10507
- const Ch = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ G({
10507
+ const Ch = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ K({
10508
10508
  __name: "AoColorPicker",
10509
10509
  props: {
10510
10510
  color: {}
@@ -10566,7 +10566,7 @@ const _h = { class: "ao-card-project-phase__header" }, yh = { class: "ao-card-pr
10566
10566
  }, kh = { class: "ao-card-project-phase__subitem" }, Sh = { class: "ao-card-project-phase__subitem" }, Mh = {
10567
10567
  key: 0,
10568
10568
  class: "ao-card-project-phase__secondary"
10569
- }, Ah = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Th = /* @__PURE__ */ G({
10569
+ }, Ah = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Th = /* @__PURE__ */ K({
10570
10570
  __name: "AoCardProjectItemPhase",
10571
10571
  props: {
10572
10572
  id: {},
@@ -10706,7 +10706,7 @@ const _h = { class: "ao-card-project-phase__header" }, yh = { class: "ao-card-pr
10706
10706
  }, 8, ["color"]));
10707
10707
  }
10708
10708
  });
10709
- const Oh = /* @__PURE__ */ G({
10709
+ const Oh = /* @__PURE__ */ K({
10710
10710
  __name: "AoBadge",
10711
10711
  props: {
10712
10712
  color: {}
@@ -10724,7 +10724,7 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10724
10724
  }, Hh = {
10725
10725
  key: 0,
10726
10726
  class: "ao-card-project-milestone__archive"
10727
- }, Vh = { class: "ao-card-project-milestone__activities" }, Dh = { class: "ao-card-project-milestone__activities-row" }, Bh = { class: "ao-card-project-milestone__subitem" }, Rh = { class: "ao-card-project-milestone__subitem" }, jh = {
10727
+ }, Vh = { class: "ao-card-project-milestone__activities" }, Dh = { class: "ao-card-project-milestone__activities-row" }, Bh = { class: "ao-card-project-milestone__subitem" }, jh = { class: "ao-card-project-milestone__subitem" }, Rh = {
10728
10728
  key: 1,
10729
10729
  class: "ao-card-project-milestone__secondary"
10730
10730
  }, Nh = { class: "ao-card-project-milestone__footer" }, Uh = {
@@ -10733,7 +10733,7 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10733
10733
  }, Fh = { class: "ao-field__label" }, Zh = {
10734
10734
  key: 2,
10735
10735
  class: "ao-card-project-milestone__assignee"
10736
- }, Wh = /* @__PURE__ */ G({
10736
+ }, Wh = /* @__PURE__ */ K({
10737
10737
  __name: "AoCardProjectItemMilestone",
10738
10738
  props: {
10739
10739
  id: {},
@@ -10817,7 +10817,7 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10817
10817
  name: "SelectCheckBox",
10818
10818
  size: "sm"
10819
10819
  }),
10820
- f("span", Rh, Y(i.value) + " / " + Y(n.value), 1)
10820
+ f("span", jh, Y(i.value) + " / " + Y(n.value), 1)
10821
10821
  ]),
10822
10822
  A(is, {
10823
10823
  percentages: o.value,
@@ -10825,7 +10825,7 @@ const Eh = { class: "ao-card-project-milestone__default" }, Ih = { class: "ao-ti
10825
10825
  class: "ao-card-project-milestone__progress"
10826
10826
  }, null, 8, ["percentages", "color"])
10827
10827
  ], 64)) : E("", !0),
10828
- r.$slots.secondary ? (v(), _("div", jh, [
10828
+ r.$slots.secondary ? (v(), _("div", Rh, [
10829
10829
  ae(r.$slots, "secondary")
10830
10830
  ])) : E("", !0)
10831
10831
  ])
@@ -10867,7 +10867,7 @@ const zh = { class: "ao-mapping-card-project-phase__header" }, qh = { class: "ao
10867
10867
  }, Gh = { class: "ao-mapping-card-project-phase__subitem" }, Xh = { class: "ao-mapping-card-project-phase__subitem" }, Qh = {
10868
10868
  key: 0,
10869
10869
  class: "ao-mapping-card-project-phase__secondary"
10870
- }, Jh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, e9 = /* @__PURE__ */ G({
10870
+ }, Jh = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, e9 = /* @__PURE__ */ K({
10871
10871
  __name: "AoCondensedCardProjectItemPhase",
10872
10872
  props: {
10873
10873
  id: {},
@@ -11019,7 +11019,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
11019
11019
  }, o9 = {
11020
11020
  key: 0,
11021
11021
  class: "ao-project-phase__col-milestones"
11022
- }, i9 = { class: "ao-project-phase__milestones-list-footer" }, l9 = /* @__PURE__ */ G({
11022
+ }, i9 = { class: "ao-project-phase__milestones-list-footer" }, l9 = /* @__PURE__ */ K({
11023
11023
  __name: "AoProjectPhase",
11024
11024
  props: {
11025
11025
  phase: {},
@@ -11045,7 +11045,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
11045
11045
  e("updatePhase", w);
11046
11046
  }, l = M(
11047
11047
  () => a.phase.milestones.map(
11048
- (w) => j3(w, a.closedStatus)
11048
+ (w) => R3(w, a.closedStatus)
11049
11049
  )
11050
11050
  ), r = (w) => {
11051
11051
  const { name: b, rank: y } = At(
@@ -11180,7 +11180,7 @@ const t9 = { class: "ao-project-phase" }, a9 = {
11180
11180
  const r9 = { class: "ao-project__phases" }, u9 = {
11181
11181
  key: 0,
11182
11182
  class: "ao-project-phase__phases-list-footer"
11183
- }, c9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), d9 = { class: "ao-project-phase__col-phase" }, p9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), mo = /* @__PURE__ */ G({
11183
+ }, c9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__empty_drag" }, null, -1), d9 = { class: "ao-project-phase__col-phase" }, p9 = /* @__PURE__ */ f("div", { class: "ao-project-phase__col-milestones" }, null, -1), mo = /* @__PURE__ */ K({
11184
11184
  __name: "AoProjectPhases",
11185
11185
  props: {
11186
11186
  phases: {},
@@ -11261,7 +11261,7 @@ const r9 = { class: "ao-project__phases" }, u9 = {
11261
11261
  ]));
11262
11262
  }
11263
11263
  });
11264
- const v9 = ["onSubmit"], f9 = { class: "ao-add-template-modal__form-body" }, h9 = { class: "field__row" }, m9 = { class: "ao-add-template-modal__form-footer" }, go = /* @__PURE__ */ G({
11264
+ const v9 = ["onSubmit"], f9 = { class: "ao-add-template-modal__form-body" }, h9 = { class: "field__row" }, m9 = { class: "ao-add-template-modal__form-footer" }, go = /* @__PURE__ */ K({
11265
11265
  __name: "AoAddTemplateModal",
11266
11266
  props: {
11267
11267
  projectId: {},
@@ -11315,7 +11315,7 @@ const v9 = ["onSubmit"], f9 = { class: "ao-add-template-modal__form-body" }, h9
11315
11315
  }));
11316
11316
  }
11317
11317
  });
11318
- const g9 = ["onSubmit"], C9 = { class: "ao-save-template-modal__form-body" }, _9 = { class: "field__row" }, y9 = { class: "ao-field ao-field--inline" }, b9 = { class: "ao-field__label" }, w9 = { class: "ao-save-template-modal__phases" }, $9 = { class: "ao-field__label" }, k9 = { class: "ao-save-template-modal__phases-list" }, S9 = ["value"], M9 = { class: "ao-save-template-modal__form-footer" }, Co = /* @__PURE__ */ G({
11318
+ const g9 = ["onSubmit"], C9 = { class: "ao-save-template-modal__form-body" }, _9 = { class: "field__row" }, y9 = { class: "ao-field ao-field--inline" }, b9 = { class: "ao-field__label" }, w9 = { class: "ao-save-template-modal__phases" }, $9 = { class: "ao-field__label" }, k9 = { class: "ao-save-template-modal__phases-list" }, S9 = ["value"], M9 = { class: "ao-save-template-modal__form-footer" }, Co = /* @__PURE__ */ K({
11319
11319
  __name: "AoSaveTemplateModal",
11320
11320
  props: {
11321
11321
  phases: {}
@@ -11387,7 +11387,7 @@ const g9 = ["onSubmit"], C9 = { class: "ao-save-template-modal__form-body" }, _9
11387
11387
  }));
11388
11388
  }
11389
11389
  });
11390
- const A9 = G({
11390
+ const A9 = K({
11391
11391
  props: {
11392
11392
  modelValue: {
11393
11393
  type: [String, Number],
@@ -11416,7 +11416,7 @@ function E9(t, e, a, s, n, i) {
11416
11416
  }, Y(o.label), 11, O9))), 128))
11417
11417
  ]);
11418
11418
  }
11419
- const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297"]]), I9 = { class: "ao-project" }, L9 = { class: "ao-project__body" }, P9 = /* @__PURE__ */ G({
11419
+ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297"]]), I9 = { class: "ao-project" }, L9 = { class: "ao-project__body" }, P9 = /* @__PURE__ */ K({
11420
11420
  __name: "AoProjectOverviewProject",
11421
11421
  props: {
11422
11422
  project: {},
@@ -11437,8 +11437,8 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11437
11437
  const a = t, { t: s } = yt(), n = M(
11438
11438
  () => a.phases.flatMap((O) => O.milestones)
11439
11439
  ), i = () => {
11440
- const { name: O, rank: U } = At(a.phases, "phase", s);
11441
- e("addPhase", { name: O, rank: U, projectId: a.project.id });
11440
+ const { name: O, rank: N } = At(a.phases, "phase", s);
11441
+ e("addPhase", { name: O, rank: N, projectId: a.project.id });
11442
11442
  }, o = (O) => {
11443
11443
  e("updatePhase", O);
11444
11444
  }, l = (O) => {
@@ -11475,18 +11475,18 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11475
11475
  e("addFiles", O);
11476
11476
  }, V = (O) => {
11477
11477
  e("removeFile", O);
11478
- }, R = (O) => {
11478
+ }, U = (O) => {
11479
11479
  e("addComment", O);
11480
- }, K = (O) => {
11480
+ }, x = (O) => {
11481
11481
  e("updateComment", O);
11482
11482
  }, ee = (O) => {
11483
11483
  e("removeComment", O);
11484
- }, se = q(!1), N = q(!1), X = (O, U) => {
11485
- e("applyTemplate", { templateId: O, projectId: U }), se.value = !1;
11486
- }, le = (O, U) => {
11484
+ }, se = q(!1), R = q(!1), X = (O, N) => {
11485
+ e("applyTemplate", { templateId: O, projectId: N }), se.value = !1;
11486
+ }, le = (O, N) => {
11487
11487
  var B;
11488
11488
  const L = (B = a.templates) == null ? void 0 : B.at(-1), C = L ? we.LexoRank.parse(L.rank).genNext() : we.LexoRank.middle();
11489
- e("saveTemplate", { templateName: O, rank: C.format(), phaseIds: U }), N.value = !1;
11489
+ e("saveTemplate", { templateName: O, rank: C.format(), phaseIds: N }), R.value = !1;
11490
11490
  }, oe = Es(), te = q("overview"), P = [
11491
11491
  { label: "Overview", value: "overview" },
11492
11492
  { label: "Feed", value: "feed" },
@@ -11494,7 +11494,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11494
11494
  ];
11495
11495
  return ce(te, (O) => {
11496
11496
  O === "feed" ? (oe.push({ name: ye.feed }), console.log("Navigating to feed...")) : O === "overview" ? (oe.push({ name: ye.project }), console.log("Navigating to feed...")) : O === "mapping" && (oe.push({ name: ye.mapping }), console.log("Navigating to feed..."));
11497
- }), (O, U) => {
11497
+ }), (O, N) => {
11498
11498
  const L = ut("RouterView");
11499
11499
  return v(), _(fe, null, [
11500
11500
  f("div", Ae({ class: "ao-project-overview" }, O.$attrs), [
@@ -11504,7 +11504,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11504
11504
  A(sn, {
11505
11505
  tabs: P,
11506
11506
  modelValue: te.value,
11507
- "onUpdate:modelValue": U[0] || (U[0] = (C) => te.value = C)
11507
+ "onUpdate:modelValue": N[0] || (N[0] = (C) => te.value = C)
11508
11508
  }, null, 8, ["modelValue"]),
11509
11509
  A(re, {
11510
11510
  class: "ao-feed__show-archived",
@@ -11516,7 +11516,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11516
11516
  label: O.$t("feed.filters.showsArchived.label"),
11517
11517
  role: "checkbox",
11518
11518
  "aria-checked": O.showsArchived,
11519
- onClick: U[1] || (U[1] = (C) => O.$emit("update:showsArchived", !O.showsArchived))
11519
+ onClick: N[1] || (N[1] = (C) => O.$emit("update:showsArchived", !O.showsArchived))
11520
11520
  }, null, 8, ["icon-name", "label", "aria-checked"])
11521
11521
  ]),
11522
11522
  secondary: Z(() => [
@@ -11525,14 +11525,14 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11525
11525
  class: "ao-project-overview__save-as-template",
11526
11526
  color: "primary",
11527
11527
  label: O.$t("project.template.save.label"),
11528
- onClick: U[2] || (U[2] = (C) => N.value = !0)
11528
+ onClick: N[2] || (N[2] = (C) => R.value = !0)
11529
11529
  }, null, 8, ["label"])) : E("", !0),
11530
11530
  O.isEditable === !0 ? (v(), D(re, {
11531
11531
  key: 1,
11532
11532
  class: "ao-project-overview__add-template",
11533
11533
  color: "primary",
11534
11534
  label: O.$t("project.template.apply.label"),
11535
- onClick: U[3] || (U[3] = (C) => se.value = !0)
11535
+ onClick: N[3] || (N[3] = (C) => se.value = !0)
11536
11536
  }, null, 8, ["label"])) : E("", !0)
11537
11537
  ]),
11538
11538
  _: 1
@@ -11563,7 +11563,7 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11563
11563
  users: O.users,
11564
11564
  "is-editable": O.isEditable === !0,
11565
11565
  "closed-status": O.closedStatus,
11566
- onClose: U[4] || (U[4] = (C) => O.$router.push({ name: F(ye).project })),
11566
+ onClose: N[4] || (N[4] = (C) => O.$router.push({ name: F(ye).project })),
11567
11567
  onUpdateMilestone: c,
11568
11568
  onAddActivity: g,
11569
11569
  onUpdateActivity: $,
@@ -11589,8 +11589,8 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11589
11589
  onDeleteSubtask: y,
11590
11590
  onAddFiles: T,
11591
11591
  onRemoveFile: V,
11592
- onAddComment: R,
11593
- onUpdateComment: K,
11592
+ onAddComment: U,
11593
+ onUpdateComment: x,
11594
11594
  onRemoveComment: ee
11595
11595
  }, {
11596
11596
  default: Z(({ Component: C }) => [
@@ -11606,17 +11606,17 @@ const sn = /* @__PURE__ */ W(A9, [["render", E9], ["__scopeId", "data-v-ff4e3297
11606
11606
  ]))
11607
11607
  ], 16),
11608
11608
  (v(), D(Tt, { to: "body" }, [
11609
- N.value ? (v(), D(Co, {
11609
+ R.value ? (v(), D(Co, {
11610
11610
  key: 0,
11611
11611
  phases: O.phases,
11612
- onClose: U[5] || (U[5] = (C) => N.value = !1),
11612
+ onClose: N[5] || (N[5] = (C) => R.value = !1),
11613
11613
  onSave: le
11614
11614
  }, null, 8, ["phases"])) : E("", !0),
11615
11615
  se.value ? (v(), D(go, {
11616
11616
  key: 1,
11617
11617
  "project-id": O.project.id,
11618
11618
  templates: O.templates,
11619
- onClose: U[6] || (U[6] = (C) => se.value = !1),
11619
+ onClose: N[6] || (N[6] = (C) => se.value = !1),
11620
11620
  onApply: X
11621
11621
  }, null, 8, ["project-id", "templates"])) : E("", !0)
11622
11622
  ]))
@@ -11630,10 +11630,10 @@ const H9 = { class: "ao-card-feed__header" }, V9 = {
11630
11630
  }, D9 = {
11631
11631
  key: 2,
11632
11632
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
11633
- }, B9 = { class: "ao-card-feed__body" }, R9 = {
11633
+ }, B9 = { class: "ao-card-feed__body" }, j9 = {
11634
11634
  key: 0,
11635
11635
  class: "ao-card-feed__breadcrumbs"
11636
- }, j9 = {
11636
+ }, R9 = {
11637
11637
  class: /* @__PURE__ */ J(["ao-card-feed__title-group"])
11638
11638
  }, N9 = { class: "ao-card-feed__title-line" }, U9 = {
11639
11639
  key: 0,
@@ -11656,12 +11656,13 @@ const H9 = { class: "ao-card-feed__header" }, V9 = {
11656
11656
  }, X9 = { class: "ao-card-feed__subitem" }, Q9 = { class: "ao-card-feed__footer-row" }, J9 = {
11657
11657
  key: 0,
11658
11658
  class: "ao-card-feed__progress-wrapper"
11659
- }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__subitem" }, _o = /* @__PURE__ */ G({
11659
+ }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__subitem" }, _o = /* @__PURE__ */ K({
11660
11660
  __name: "AoCardFeed",
11661
11661
  props: {
11662
11662
  id: {},
11663
11663
  name: {},
11664
11664
  projectName: {},
11665
+ projectId: {},
11665
11666
  projectColor: {},
11666
11667
  phaseName: {},
11667
11668
  milestoneName: {},
@@ -11688,7 +11689,13 @@ const H9 = { class: "ao-card-feed__header" }, V9 = {
11688
11689
  }, o = M(() => a.tagType === "milestone" && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), l = M(() => a.assignee ? [a.assignee] : []), r = M(() => Xa(a.deadline)), d = (g) => {
11689
11690
  e("removeAssignee", g);
11690
11691
  }, u = () => {
11691
- e("startTimer", a.name, a.projectName, a.slug);
11692
+ e("startTimer", {
11693
+ activityId: a.id,
11694
+ name: a.name,
11695
+ project: a.projectName,
11696
+ projectId: a.projectId,
11697
+ slug: a.slug
11698
+ });
11692
11699
  }, c = M(() => {
11693
11700
  var g;
11694
11701
  return (g = a.tasks) == null ? void 0 : g.length;
@@ -11742,8 +11749,8 @@ const H9 = { class: "ao-card-feed__header" }, V9 = {
11742
11749
  ]),
11743
11750
  default: Z(() => [
11744
11751
  f("div", B9, [
11745
- o.value ? (v(), _("span", R9, Y(o.value), 1)) : E("", !0),
11746
- f("div", j9, [
11752
+ o.value ? (v(), _("span", j9, Y(o.value), 1)) : E("", !0),
11753
+ f("div", R9, [
11747
11754
  f("div", N9, [
11748
11755
  g.slug ? (v(), _("span", U9, Y(g.slug) + ": ", 1)) : E("", !0),
11749
11756
  A(be, {
@@ -11820,7 +11827,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
11820
11827
  }, r4 = { class: "ao-field__row ao-milestone__field-row" }, u4 = { class: "ao-field ao-field--inline" }, c4 = { class: "ao-field__row ao-milestone__field-row" }, d4 = { class: "ao-field ao-milestone__field-multiselect" }, p4 = ["onClick"], v4 = { class: "ao-project-milestone__body" }, f4 = {
11821
11828
  key: 0,
11822
11829
  class: "ao-project-milestone__footer"
11823
- }, Ln = /* @__PURE__ */ G({
11830
+ }, Ln = /* @__PURE__ */ K({
11824
11831
  __name: "AoProjectOverviewMilestoneDetails",
11825
11832
  props: {
11826
11833
  milestoneId: {},
@@ -11833,11 +11840,11 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
11833
11840
  },
11834
11841
  emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity", "startTimer"],
11835
11842
  setup(t, { emit: e }) {
11836
- const a = t, { t: s } = yt(), n = (y, I, T) => {
11837
- var V;
11838
- e("startTimer", y, I, T), (V = window.parent) == null || V.postMessage({
11843
+ const a = t, { t: s } = yt(), n = (y) => {
11844
+ var I;
11845
+ e("startTimer", y), (I = window.parent) == null || I.postMessage({
11839
11846
  type: "startTimer",
11840
- data: { name: y, project: I, slug: T }
11847
+ data: y
11841
11848
  }, "*");
11842
11849
  }, i = M(() => {
11843
11850
  var y;
@@ -11998,13 +12005,13 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
11998
12005
  }, {
11999
12006
  tag: Z(({
12000
12007
  option: V,
12001
- handleTagRemove: R
12008
+ handleTagRemove: U
12002
12009
  }) => [
12003
12010
  A(et, {
12004
12011
  "user-name": V.label,
12005
12012
  "avatar-url": V.avatar,
12006
12013
  "is-closable": !0,
12007
- onClose: (K) => R(V, K)
12014
+ onClose: (x) => U(V, x)
12008
12015
  }, null, 8, ["user-name", "avatar-url", "onClose"])
12009
12016
  ]),
12010
12017
  _: 1
@@ -12015,11 +12022,11 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12015
12022
  color: h.value,
12016
12023
  "onUpdate:color": I[3] || (I[3] = (V) => h.value = V)
12017
12024
  }, {
12018
- clickable: Z(({ openPicker: V, bgColor: R }) => [
12025
+ clickable: Z(({ openPicker: V, bgColor: U }) => [
12019
12026
  f("button", {
12020
- style: Fe({ background: R }),
12027
+ style: Fe({ background: U }),
12021
12028
  class: "color-button",
12022
- onClick: (K) => b(K, V)
12029
+ onClick: (x) => b(x, V)
12023
12030
  }, null, 12, p4)
12024
12031
  ]),
12025
12032
  _: 1
@@ -12035,13 +12042,14 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12035
12042
  group: "kanban"
12036
12043
  }, y.$attrs, { onChange: p }), {
12037
12044
  item: Z(({ element: V }) => {
12038
- var R, K, ee, se, N;
12045
+ var U, x, ee, se, R;
12039
12046
  return [
12040
12047
  A(_o, {
12041
12048
  id: V.id,
12042
12049
  name: V.name || V.id,
12043
- "phase-name": (R = i.value) == null ? void 0 : R.name,
12044
- "milestone-name": (K = l.value) == null ? void 0 : K.name,
12050
+ "project-id": y.projectId,
12051
+ "phase-name": (U = i.value) == null ? void 0 : U.name,
12052
+ "milestone-name": (x = l.value) == null ? void 0 : x.name,
12045
12053
  "milestone-color": (ee = l.value) == null ? void 0 : ee.color,
12046
12054
  deadline: V.deadline,
12047
12055
  important: V.important,
@@ -12049,7 +12057,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12049
12057
  assignee: V.assignee,
12050
12058
  slug: V.slug,
12051
12059
  comments: (se = V.comments) == null ? void 0 : se.length,
12052
- attachments: (N = V.attachments) == null ? void 0 : N.length,
12060
+ attachments: (R = V.attachments) == null ? void 0 : R.length,
12053
12061
  tasks: V.tasks,
12054
12062
  "is-editable": y.isEditable,
12055
12063
  "is-private": V.private,
@@ -12093,7 +12101,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12093
12101
  ]),
12094
12102
  key: "0"
12095
12103
  } : void 0
12096
- ]), 1032, ["id", "name", "phase-name", "milestone-name", "milestone-color", "deadline", "important", "users", "assignee", "slug", "comments", "attachments", "tasks", "is-editable", "is-private", "is-closed", "onClick", "onRemoveAssignee"])
12104
+ ]), 1032, ["id", "name", "project-id", "phase-name", "milestone-name", "milestone-color", "deadline", "important", "users", "assignee", "slug", "comments", "attachments", "tasks", "is-editable", "is-private", "is-closed", "onClick", "onRemoveAssignee"])
12097
12105
  ];
12098
12106
  }),
12099
12107
  _: 1
@@ -12110,7 +12118,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
12110
12118
  };
12111
12119
  }
12112
12120
  });
12113
- const h4 = /* @__PURE__ */ G({
12121
+ const h4 = /* @__PURE__ */ K({
12114
12122
  __name: "AoProjectOverviewActivityDetails",
12115
12123
  props: {
12116
12124
  phaseId: {},
@@ -12197,7 +12205,7 @@ const h4 = /* @__PURE__ */ G({
12197
12205
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : E("", !0);
12198
12206
  };
12199
12207
  }
12200
- }), m4 = { class: "ao-col-header" }, g4 = /* @__PURE__ */ G({
12208
+ }), m4 = { class: "ao-col-header" }, g4 = /* @__PURE__ */ K({
12201
12209
  __name: "AoColHeader",
12202
12210
  props: {
12203
12211
  title: {},
@@ -12338,7 +12346,7 @@ const T4 = {
12338
12346
  }, H4 = {
12339
12347
  key: 1,
12340
12348
  class: "ao-list-kanban__footer"
12341
- }, V4 = /* @__PURE__ */ G({
12349
+ }, V4 = /* @__PURE__ */ K({
12342
12350
  __name: "AoListKanban",
12343
12351
  props: {
12344
12352
  list: {},
@@ -12414,35 +12422,36 @@ const T4 = {
12414
12422
  }
12415
12423
  }), {
12416
12424
  item: Z(({ element: p }) => {
12417
- var h, g, $, m, k, w, b, y, I;
12425
+ var h, g, $, m, k, w, b, y, I, T;
12418
12426
  return [
12419
12427
  A(_o, {
12420
12428
  class: J(i(p) ? "ao-list-draggable" : ""),
12421
12429
  id: p.id,
12422
12430
  name: p.name,
12423
12431
  "project-name": (h = p.project) == null ? void 0 : h.name,
12424
- "project-color": (g = p.project) == null ? void 0 : g.color,
12425
- "phase-name": (m = ($ = p.milestone) == null ? void 0 : $.phase) == null ? void 0 : m.name,
12426
- "milestone-name": (k = p.milestone) == null ? void 0 : k.name,
12427
- "milestone-color": (w = p.milestone) == null ? void 0 : w.color,
12432
+ "project-id": (g = p.project) == null ? void 0 : g.id,
12433
+ "project-color": ($ = p.project) == null ? void 0 : $.color,
12434
+ "phase-name": (k = (m = p.milestone) == null ? void 0 : m.phase) == null ? void 0 : k.name,
12435
+ "milestone-name": (w = p.milestone) == null ? void 0 : w.name,
12436
+ "milestone-color": (b = p.milestone) == null ? void 0 : b.color,
12428
12437
  deadline: p.deadline,
12429
- rules: ((b = p.rules) == null ? void 0 : b.length) || 0,
12438
+ rules: ((y = p.rules) == null ? void 0 : y.length) || 0,
12430
12439
  tasks: p.tasks,
12431
12440
  description: p.description,
12432
12441
  important: p.important,
12433
12442
  type: p.type,
12434
- comments: (y = p.comments) == null ? void 0 : y.length,
12435
- attachments: (I = p.attachments) == null ? void 0 : I.length,
12443
+ comments: (I = p.comments) == null ? void 0 : I.length,
12444
+ attachments: (T = p.attachments) == null ? void 0 : T.length,
12436
12445
  users: u.users,
12437
12446
  assignee: p.assignee,
12438
12447
  slug: p.slug,
12439
12448
  "is-editable": i(p),
12440
12449
  "is-private": p.private,
12441
12450
  "tag-type": u.tagType,
12442
- onUpdateActivity: [(T) => i(p) && l(T), () => i(p) && l],
12451
+ onUpdateActivity: [(V) => i(p) && l(V), () => i(p) && l],
12443
12452
  onClick: () => o(p.id),
12444
12453
  onRemoveAssignee: () => i(p) && l({ id: p.id, assigneeId: null }),
12445
- onStartTimer: c[0] || (c[0] = (T, V, R) => u.$emit("startTimer", T, V, R))
12454
+ onStartTimer: c[0] || (c[0] = (V) => u.$emit("startTimer", V))
12446
12455
  }, {
12447
12456
  secondary: Z(() => [
12448
12457
  i(p) && p.active ? (v(), D(re, {
@@ -12469,7 +12478,7 @@ const T4 = {
12469
12478
  }, null, 8, ["label", "onClick"])) : E("", !0)
12470
12479
  ]),
12471
12480
  _: 2
12472
- }, 1032, ["class", "id", "name", "project-name", "project-color", "phase-name", "milestone-name", "milestone-color", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "slug", "is-editable", "is-private", "tag-type", "onUpdateActivity", "onClick", "onRemoveAssignee"])
12481
+ }, 1032, ["class", "id", "name", "project-name", "project-id", "project-color", "phase-name", "milestone-name", "milestone-color", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "slug", "is-editable", "is-private", "tag-type", "onUpdateActivity", "onClick", "onRemoveAssignee"])
12473
12482
  ];
12474
12483
  }),
12475
12484
  footer: Z(() => [
@@ -12499,7 +12508,7 @@ const T4 = {
12499
12508
  ]));
12500
12509
  }
12501
12510
  });
12502
- const D4 = { class: "ao-field ao-search-field" }, B4 = ["value", "placeholder", "onKeypress"], R4 = /* @__PURE__ */ G({
12511
+ const D4 = { class: "ao-field ao-search-field" }, B4 = ["value", "placeholder", "onKeypress"], j4 = /* @__PURE__ */ K({
12503
12512
  __name: "AoSearchField",
12504
12513
  props: {
12505
12514
  modelValue: {},
@@ -12539,7 +12548,7 @@ const D4 = { class: "ao-field ao-search-field" }, B4 = ["value", "placeholder",
12539
12548
  ]));
12540
12549
  }
12541
12550
  });
12542
- const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { class: "ao-feed__body" }, F4 = /* @__PURE__ */ G({
12551
+ const R4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { class: "ao-feed__body" }, F4 = /* @__PURE__ */ K({
12543
12552
  __name: "AoFeed",
12544
12553
  props: {
12545
12554
  activities: {},
@@ -12573,7 +12582,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12573
12582
  ce(
12574
12583
  [() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
12575
12584
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
12576
- async ([L, C, B, x], [ne, z]) => {
12585
+ async ([L, C, B, G], [ne, z]) => {
12577
12586
  l.value = Object.fromEntries(
12578
12587
  L.map((H) => [
12579
12588
  H.id,
@@ -12582,7 +12591,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12582
12591
  return ((he = Q.status) == null ? void 0 : he.id) === H.id;
12583
12592
  })
12584
12593
  ])
12585
- ), B && !r.value ? (o(B, null), r.value = !0) : x && !r.value && (o(null, x), r.value = !0), d.value && Qe(C, z);
12594
+ ), B && !r.value ? (o(B, null), r.value = !0) : G && !r.value && (o(null, G), r.value = !0), d.value && Qe(C, z);
12586
12595
  },
12587
12596
  { immediate: !0 }
12588
12597
  );
@@ -12591,8 +12600,8 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12591
12600
  return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((L = a.selectedActivity.milestone.phase) == null ? void 0 : L.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
12592
12601
  }), p = (L) => {
12593
12602
  var z, H;
12594
- const C = (z = a.activities) == null ? void 0 : z.at(-1), B = C ? we.LexoRank.parse(C.rank).genNext() : we.LexoRank.middle(), x = ((H = a.activities) == null ? void 0 : H.length) ?? 0, ne = {
12595
- name: s("activity.defaultName", { idx: x + 1 }),
12603
+ const C = (z = a.activities) == null ? void 0 : z.at(-1), B = C ? we.LexoRank.parse(C.rank).genNext() : we.LexoRank.middle(), G = ((H = a.activities) == null ? void 0 : H.length) ?? 0, ne = {
12604
+ name: s("activity.defaultName", { idx: G + 1 }),
12596
12605
  rank: B.format(),
12597
12606
  statusId: L.id
12598
12607
  };
@@ -12622,23 +12631,23 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12622
12631
  e("archiveActivity", L);
12623
12632
  }, I = (L) => {
12624
12633
  e("unarchiveActivity", L);
12625
- }, T = (L, C, B) => {
12626
- var x;
12627
- e("startTimer", L, C, B), (x = window.parent) == null || x.postMessage({
12634
+ }, T = (L) => {
12635
+ var C;
12636
+ e("startTimer", L), (C = window.parent) == null || C.postMessage({
12628
12637
  type: "startTimer",
12629
- data: { name: L, project: C, slug: B }
12638
+ data: L
12630
12639
  }, "*");
12631
12640
  }, V = (L) => {
12632
12641
  d.value = !1, e("update:searchText", L);
12633
- }, R = (L) => {
12642
+ }, U = (L) => {
12634
12643
  d.value = !1, e("clear:searchText", L);
12635
- }, K = (L) => {
12644
+ }, x = (L) => {
12636
12645
  a.selectedActivity && e("addSubtask", L);
12637
12646
  }, ee = (L) => {
12638
12647
  a.selectedActivity && e("updateSubtask", L);
12639
12648
  }, se = (L) => {
12640
12649
  a.selectedActivity && e("deleteSubtask", L);
12641
- }, N = (L) => {
12650
+ }, R = (L) => {
12642
12651
  e("addFiles", L);
12643
12652
  }, X = (L) => {
12644
12653
  e("removeFile", L);
@@ -12653,7 +12662,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12653
12662
  }, te = (L) => {
12654
12663
  const { id: C } = a.selectedActivity || {};
12655
12664
  C && e("removeComment", L);
12656
- }, P = Es(), O = q("feed"), U = [
12665
+ }, P = Es(), O = q("feed"), N = [
12657
12666
  { label: "Overview", value: "overview" },
12658
12667
  { label: "Feed", value: "feed" },
12659
12668
  { label: "Mapping", value: "mapping" }
@@ -12662,21 +12671,21 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12662
12671
  L === "feed" ? (P.push({ name: ye.feed }), console.log("Navigating to feed...")) : L === "overview" ? (P.push({ name: ye.project }), console.log("Navigating to feed...")) : L === "mapping" && (P.push({ name: ye.mapping }), console.log("Navigating to feed..."));
12663
12672
  }), (L, C) => {
12664
12673
  var B;
12665
- return v(), _("div", j4, [
12674
+ return v(), _("div", R4, [
12666
12675
  A(ba, null, {
12667
12676
  primary: Z(() => [
12668
12677
  f("div", N4, [
12669
12678
  A(sn, {
12670
- tabs: U,
12679
+ tabs: N,
12671
12680
  modelValue: O.value,
12672
- "onUpdate:modelValue": C[0] || (C[0] = (x) => O.value = x)
12681
+ "onUpdate:modelValue": C[0] || (C[0] = (G) => O.value = G)
12673
12682
  }, null, 8, ["modelValue"]),
12674
- A(R4, {
12683
+ A(j4, {
12675
12684
  "model-value": L.searchText,
12676
12685
  placeholder: L.$t("feed.search.placeholder"),
12677
12686
  class: "ao-feed__search",
12678
12687
  "onUpdate:modelValue": V,
12679
- onClear: R
12688
+ onClear: U
12680
12689
  }, null, 8, ["model-value", "placeholder"]),
12681
12690
  a.project ? E("", !0) : (v(), D(Me, {
12682
12691
  key: 0,
@@ -12687,7 +12696,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12687
12696
  searchable: !0,
12688
12697
  class: "ao-feed__filter ao-feed__filter__projects",
12689
12698
  placeholder: L.$t("feed.filters.project.placeholder"),
12690
- "onUpdate:modelValue": C[1] || (C[1] = (x) => h(F(Bt).project, x))
12699
+ "onUpdate:modelValue": C[1] || (C[1] = (G) => h(F(Bt).project, G))
12691
12700
  }, null, 8, ["model-value", "options", "placeholder"])),
12692
12701
  m.value ? (v(), D(Me, {
12693
12702
  key: 1,
@@ -12698,7 +12707,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12698
12707
  searchable: !0,
12699
12708
  class: "ao-feed__filter ao-feed__filter__types",
12700
12709
  placeholder: L.$t("feed.filters.activityType.placeholder"),
12701
- "onUpdate:modelValue": C[2] || (C[2] = (x) => h(F(Bt).type, x))
12710
+ "onUpdate:modelValue": C[2] || (C[2] = (G) => h(F(Bt).type, G))
12702
12711
  }, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
12703
12712
  k.value.length ? (v(), D(Me, {
12704
12713
  key: 2,
@@ -12709,17 +12718,17 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12709
12718
  searchable: !0,
12710
12719
  class: "ao-feed__filter ao-feed__filter__assignees",
12711
12720
  placeholder: L.$t("feed.filters.assignee.placeholder"),
12712
- "onUpdate:modelValue": C[3] || (C[3] = (x) => h(F(Bt).assignee, x))
12721
+ "onUpdate:modelValue": C[3] || (C[3] = (G) => h(F(Bt).assignee, G))
12713
12722
  }, {
12714
12723
  tag: Z(({
12715
- option: x,
12724
+ option: G,
12716
12725
  handleTagRemove: ne
12717
12726
  }) => [
12718
12727
  A(et, {
12719
- "user-name": x.label,
12720
- "avatar-url": x.avatar,
12728
+ "user-name": G.label,
12729
+ "avatar-url": G.avatar,
12721
12730
  "is-closable": !0,
12722
- onClose: (z) => ne(x, z)
12731
+ onClose: (z) => ne(G, z)
12723
12732
  }, null, 8, ["user-name", "avatar-url", "onClose"])
12724
12733
  ]),
12725
12734
  _: 1
@@ -12735,7 +12744,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12735
12744
  label: L.$t("feed.filters.showsOnlyNonAssigned.label"),
12736
12745
  role: "checkbox",
12737
12746
  "aria-checked": L.showsOnlyNonAssigned,
12738
- onClick: C[4] || (C[4] = (x) => L.$emit("update:showsOnlyNonAssigned", !L.showsOnlyNonAssigned))
12747
+ onClick: C[4] || (C[4] = (G) => L.$emit("update:showsOnlyNonAssigned", !L.showsOnlyNonAssigned))
12739
12748
  }, null, 8, ["icon-name", "label", "aria-checked"]),
12740
12749
  A(re, {
12741
12750
  class: "ao-feed__only-important",
@@ -12747,7 +12756,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12747
12756
  label: L.$t("feed.filters.showsOnlyImportant.label"),
12748
12757
  role: "checkbox",
12749
12758
  "aria-checked": L.showsOnlyImportant,
12750
- onClick: C[5] || (C[5] = (x) => L.$emit("update:showsOnlyImportant", !L.showsOnlyImportant))
12759
+ onClick: C[5] || (C[5] = (G) => L.$emit("update:showsOnlyImportant", !L.showsOnlyImportant))
12751
12760
  }, null, 8, ["icon-name", "label", "aria-checked"]),
12752
12761
  A(re, {
12753
12762
  class: "ao-feed__show-archived",
@@ -12759,23 +12768,23 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12759
12768
  label: L.$t("feed.filters.showsArchivedActivities.label"),
12760
12769
  role: "checkbox",
12761
12770
  "aria-checked": L.showsArchivedActivities,
12762
- onClick: C[6] || (C[6] = (x) => L.$emit("update:showsArchivedActivities", !L.showsArchivedActivities))
12771
+ onClick: C[6] || (C[6] = (G) => L.$emit("update:showsArchivedActivities", !L.showsArchivedActivities))
12763
12772
  }, null, 8, ["icon-name", "label", "aria-checked"])
12764
12773
  ]),
12765
12774
  _: 1
12766
12775
  }),
12767
12776
  f("div", U4, [
12768
- (v(!0), _(fe, null, Ce(L.statuses, (x) => (v(), D(V4, {
12769
- key: x.id,
12770
- status: x,
12771
- list: l.value[x.id],
12772
- title: x.name,
12777
+ (v(!0), _(fe, null, Ce(L.statuses, (G) => (v(), D(V4, {
12778
+ key: G.id,
12779
+ status: G,
12780
+ list: l.value[G.id],
12781
+ title: G.name,
12773
12782
  "footer-label": L.$t("feed.activity.add"),
12774
12783
  users: L.users,
12775
12784
  "user-id": L.userId,
12776
12785
  "is-editable": L.isEditable,
12777
12786
  tagType: u.value,
12778
- onAdd: () => p(x),
12787
+ onAdd: () => p(G),
12779
12788
  onSelectActivity: o,
12780
12789
  onArchiveActivity: y,
12781
12790
  onUnarchiveActivity: I,
@@ -12800,18 +12809,18 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12800
12809
  projects: g.value,
12801
12810
  onClose: C[7] || (C[7] = () => o(null, null)),
12802
12811
  "onUpdate:activity": w,
12803
- onAddSubtask: K,
12812
+ onAddSubtask: x,
12804
12813
  onUpdateSubtask: ee,
12805
12814
  onDeleteSubtask: se,
12806
- onAddFiles: N,
12815
+ onAddFiles: R,
12807
12816
  onRemoveFile: X,
12808
12817
  onAddComment: le,
12809
12818
  onUpdateComment: oe,
12810
12819
  onRemoveComment: te,
12811
12820
  onToast: n
12812
12821
  }, {
12813
- default: Z((x) => [
12814
- ae(L.$slots, "activityDetailsBody", ha(ma(x)))
12822
+ default: Z((G) => [
12823
+ ae(L.$slots, "activityDetailsBody", ha(ma(G)))
12815
12824
  ]),
12816
12825
  _: 3
12817
12826
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : E("", !0)
@@ -12823,7 +12832,7 @@ const j4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, U4 = { clas
12823
12832
  const Z4 = { class: "ao-project-mapping" }, W4 = { class: "ao-project-mapping-mapping__body" }, z4 = { class: "ao-project-mapping-mapping__phases" }, q4 = {
12824
12833
  key: 0,
12825
12834
  class: "ao-project-mapping-mapping__image-wrapper"
12826
- }, Y4 = ["src", "alt"], x4 = /* @__PURE__ */ G({
12835
+ }, Y4 = ["src", "alt"], x4 = /* @__PURE__ */ K({
12827
12836
  __name: "AoMapping",
12828
12837
  props: {
12829
12838
  project: {},
@@ -12948,25 +12957,25 @@ const Z4 = { class: "ao-project-mapping" }, W4 = { class: "ao-project-mapping-ma
12948
12957
  ], 64));
12949
12958
  }
12950
12959
  });
12951
- const jt = {
12960
+ const Rt = {
12952
12961
  TEMPLATES: "templates",
12953
12962
  TEMPLATE_DETAILS: "template_details",
12954
12963
  TEMPLATES_LIST: "templates_list"
12955
12964
  }, d8 = (t, e = {}) => [
12956
12965
  {
12957
12966
  path: t,
12958
- name: jt.TEMPLATES,
12959
- redirect: { name: jt.TEMPLATES_LIST },
12967
+ name: Rt.TEMPLATES,
12968
+ redirect: { name: Rt.TEMPLATES_LIST },
12960
12969
  ...e,
12961
12970
  children: [
12962
12971
  {
12963
12972
  path: "",
12964
- name: jt.TEMPLATES_LIST,
12973
+ name: Rt.TEMPLATES_LIST,
12965
12974
  component: G4
12966
12975
  },
12967
12976
  {
12968
12977
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
12969
- name: jt.TEMPLATE_DETAILS,
12978
+ name: Rt.TEMPLATE_DETAILS,
12970
12979
  component: zf,
12971
12980
  props: !0
12972
12981
  }
@@ -13021,7 +13030,7 @@ const jt = {
13021
13030
  }
13022
13031
  ]
13023
13032
  }
13024
- ], K4 = { class: "ao-templates" }, G4 = /* @__PURE__ */ G({
13033
+ ], K4 = { class: "ao-templates" }, G4 = /* @__PURE__ */ K({
13025
13034
  __name: "AoTemplatesList",
13026
13035
  props: {
13027
13036
  templates: {}
@@ -13103,7 +13112,7 @@ const jt = {
13103
13112
  "updated-by": u.updatedBy,
13104
13113
  onUpdateTitle: (p) => i(u.id, p),
13105
13114
  onClick: (p) => r.$router.push({
13106
- name: F(jt).TEMPLATE_DETAILS,
13115
+ name: F(Rt).TEMPLATE_DETAILS,
13107
13116
  params: { templateId: u.id }
13108
13117
  }),
13109
13118
  onDeleteItem: d[0] || (d[0] = (p, h) => o(p, h))
@@ -13115,7 +13124,7 @@ const jt = {
13115
13124
  ]));
13116
13125
  }
13117
13126
  });
13118
- const X4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ G({
13127
+ const X4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
13119
13128
  __name: "AoField",
13120
13129
  props: {
13121
13130
  label: {},
@@ -13129,7 +13138,7 @@ const X4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ G({
13129
13138
  ae(e.$slots, "default")
13130
13139
  ], 2));
13131
13140
  }
13132
- }), J4 = ["type", "value", "disabled", "readonly"], v8 = /* @__PURE__ */ G({
13141
+ }), J4 = ["type", "value", "disabled", "readonly"], v8 = /* @__PURE__ */ K({
13133
13142
  __name: "AoInputField",
13134
13143
  props: {
13135
13144
  label: { default: "" },
@@ -13161,7 +13170,7 @@ const X4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ G({
13161
13170
  _: 1
13162
13171
  }, 8, ["label"]));
13163
13172
  }
13164
- }), e8 = { class: "ao-field" }, t8 = { class: "ao-field__label" }, a8 = ["checked", "disabled"], f8 = /* @__PURE__ */ G({
13173
+ }), e8 = { class: "ao-field" }, t8 = { class: "ao-field__label" }, a8 = ["checked", "disabled"], f8 = /* @__PURE__ */ K({
13165
13174
  __name: "AoCheckboxField",
13166
13175
  props: {
13167
13176
  label: { default: "" },
@@ -13215,5 +13224,5 @@ export {
13215
13224
  G2 as ruleDurationUnits,
13216
13225
  K2 as ruleTriggerTypes,
13217
13226
  me as templateItemType,
13218
- jt as templateRouteNames
13227
+ Rt as templateRouteNames
13219
13228
  };