@26lights/orcha 0.41.127 → 0.41.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as X, openBlock as v, createBlock as B, unref as W, mergeProps as Te, createElementBlock as C, createElementVNode as f, pushScopeId as Bo, popScopeId as jo, createStaticVNode as Ro, computed as M, resolveDynamicComponent as It, normalizeClass as ee, renderSlot as se, toDisplayString as Y, createCommentVNode as E, ref as x, watch as ce, nextTick as ke, 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 Me, vShow as Uo, onUpdated as Fo, vModelText as De, resolveComponent as ut, vModelCheckbox as Zo, getCurrentScope as Wo, onScopeDispose as zo, toHandlerKey as qo } from "vue";
1
+ import { defineComponent as X, openBlock as v, createBlock as B, unref as W, mergeProps as Te, createElementBlock as C, createElementVNode as f, pushScopeId as Bo, popScopeId as jo, createStaticVNode as Ro, computed as M, resolveDynamicComponent as It, normalizeClass as ee, renderSlot as se, toDisplayString as Y, createCommentVNode as E, ref as x, watch as ce, nextTick as ke, 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 Me, vShow as Uo, onUpdated as Fo, vModelText as Ve, 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
4
  const u8 = /* @__PURE__ */ X({
@@ -116,10 +116,10 @@ const Ei = /* @__PURE__ */ q(Si, [["render", Oi]]), Ii = {}, Li = {
116
116
  }, null, -1), Hi = [
117
117
  Pi
118
118
  ];
119
- function Vi(t, e) {
119
+ function Di(t, e) {
120
120
  return v(), C("svg", Li, Hi);
121
121
  }
122
- const Di = /* @__PURE__ */ q(Ii, [["render", Vi]]), Bi = {}, ji = {
122
+ const Vi = /* @__PURE__ */ q(Ii, [["render", Di]]), Bi = {}, ji = {
123
123
  width: "24",
124
124
  height: "24",
125
125
  viewBox: "0 0 24 24",
@@ -251,10 +251,10 @@ const El = /* @__PURE__ */ q(Sl, [["render", Ol]]), Il = {}, Ll = {
251
251
  }, null, -1), Hl = [
252
252
  Pl
253
253
  ];
254
- function Vl(t, e) {
254
+ function Dl(t, e) {
255
255
  return v(), C("svg", Ll, Hl);
256
256
  }
257
- const Dl = /* @__PURE__ */ q(Il, [["render", Vl]]), Bl = {}, jl = {
257
+ const Vl = /* @__PURE__ */ q(Il, [["render", Dl]]), Bl = {}, jl = {
258
258
  width: "24",
259
259
  height: "24",
260
260
  viewBox: "0 0 24 24",
@@ -386,10 +386,10 @@ const E1 = /* @__PURE__ */ q(S1, [["render", O1]]), I1 = {}, L1 = {
386
386
  }, null, -1), H1 = [
387
387
  P1
388
388
  ];
389
- function V1(t, e) {
389
+ function D1(t, e) {
390
390
  return v(), C("svg", L1, H1);
391
391
  }
392
- const D1 = /* @__PURE__ */ q(I1, [["render", V1]]), B1 = {}, j1 = {
392
+ const V1 = /* @__PURE__ */ q(I1, [["render", D1]]), B1 = {}, j1 = {
393
393
  width: "24",
394
394
  height: "24",
395
395
  viewBox: "0 0 24 24",
@@ -521,10 +521,10 @@ const Er = /* @__PURE__ */ q(Sr, [["render", Or]]), Ir = {}, Lr = {
521
521
  }, null, -1), Hr = [
522
522
  Pr
523
523
  ];
524
- function Vr(t, e) {
524
+ function Dr(t, e) {
525
525
  return v(), C("svg", Lr, Hr);
526
526
  }
527
- const Dr = /* @__PURE__ */ q(Ir, [["render", Vr]]), Br = {}, jr = {
527
+ const Vr = /* @__PURE__ */ q(Ir, [["render", Dr]]), Br = {}, jr = {
528
528
  width: "24",
529
529
  height: "24",
530
530
  viewBox: "0 0 24 24",
@@ -663,14 +663,14 @@ const Lu = /* @__PURE__ */ q(Au, [["render", Iu]]), Pu = {}, Hu = {
663
663
  viewBox: "0 0 24 24",
664
664
  fill: "none",
665
665
  xmlns: "http://www.w3.org/2000/svg"
666
- }, Vu = /* @__PURE__ */ f("path", {
666
+ }, Du = /* @__PURE__ */ f("path", {
667
667
  d: "M15.325 16.275C15.1417 16.0583 15.05 15.8127 15.05 15.538C15.05 15.2633 15.1417 15.034 15.325 14.85L17.175 13H10C9.71667 13 9.479 12.904 9.287 12.712C9.095 12.52 8.99934 12.2827 9 12C9 11.7167 9.096 11.479 9.288 11.287C9.48 11.095 9.71734 10.9993 10 11H17.175L15.325 9.15C15.125 8.95 15.025 8.71234 15.025 8.437C15.025 8.16167 15.125 7.92434 15.325 7.725C15.5083 7.525 15.7377 7.425 16.013 7.425C16.2883 7.425 16.5173 7.51667 16.7 7.7L20.3 11.3C20.4 11.4 20.471 11.5083 20.513 11.625C20.555 11.7417 20.5757 11.8667 20.575 12C20.575 12.1333 20.5543 12.2583 20.513 12.375C20.4717 12.4917 20.4007 12.6 20.3 12.7L16.7 16.3C16.4833 16.5167 16.2457 16.6127 15.987 16.588C15.7283 16.5633 15.5077 16.459 15.325 16.275ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H11C11.2833 3 11.521 3.096 11.713 3.288C11.905 3.48 12.0007 3.71734 12 4C12 4.28334 11.904 4.521 11.712 4.713C11.52 4.905 11.2827 5.00067 11 5H5V19H11C11.2833 19 11.521 19.096 11.713 19.288C11.905 19.48 12.0007 19.7173 12 20C12 20.2833 11.904 20.521 11.712 20.713C11.52 20.905 11.2827 21.0007 11 21H5Z",
668
668
  fill: "black"
669
- }, null, -1), Du = [
670
- Vu
669
+ }, null, -1), Vu = [
670
+ Du
671
671
  ];
672
672
  function Bu(t, e) {
673
- return v(), C("svg", Hu, Du);
673
+ return v(), C("svg", Hu, Vu);
674
674
  }
675
675
  const ju = /* @__PURE__ */ q(Pu, [["render", Bu]]), Ru = {}, Nu = {
676
676
  width: "24",
@@ -798,14 +798,14 @@ const Lc = /* @__PURE__ */ q(Ac, [["render", Ic]]), Pc = {}, Hc = {
798
798
  viewBox: "0 0 24 24",
799
799
  fill: "none",
800
800
  xmlns: "http://www.w3.org/2000/svg"
801
- }, Vc = /* @__PURE__ */ f("path", {
801
+ }, Dc = /* @__PURE__ */ f("path", {
802
802
  d: "M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",
803
803
  fill: "black"
804
- }, null, -1), Dc = [
805
- Vc
804
+ }, null, -1), Vc = [
805
+ Dc
806
806
  ];
807
807
  function Bc(t, e) {
808
- return v(), C("svg", Hc, Dc);
808
+ return v(), C("svg", Hc, Vc);
809
809
  }
810
810
  const jc = /* @__PURE__ */ q(Pc, [["render", Bc]]), Rc = {}, Nc = {
811
811
  width: "24",
@@ -930,14 +930,14 @@ const Ld = /* @__PURE__ */ q(Ad, [["render", Id]]), Pd = {}, Hd = {
930
930
  viewBox: "0 0 24 24",
931
931
  fill: "none",
932
932
  xmlns: "http://www.w3.org/2000/svg"
933
- }, Vd = /* @__PURE__ */ f("path", {
933
+ }, Dd = /* @__PURE__ */ f("path", {
934
934
  d: "M10.925 15.125L9.525 13.725C9.425 13.625 9.31667 13.55 9.2 13.5C9.08334 13.45 8.96267 13.425 8.838 13.425C8.71267 13.425 8.58767 13.45 8.463 13.5C8.33834 13.55 8.22567 13.625 8.125 13.725C7.925 13.925 7.825 14.1627 7.825 14.438C7.825 14.7133 7.925 14.9507 8.125 15.15L10.25 17.3C10.35 17.4 10.4583 17.471 10.575 17.513C10.6917 17.555 10.8167 17.5757 10.95 17.575C11.0833 17.575 11.2083 17.554 11.325 17.512C11.4417 17.47 11.55 17.3993 11.65 17.3L15.875 13.075C16.075 12.875 16.175 12.6333 16.175 12.35C16.175 12.0667 16.075 11.825 15.875 11.625C15.675 11.425 15.4333 11.325 15.15 11.325C14.8667 11.325 14.625 11.425 14.425 11.625L10.925 15.125ZM6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V20C20 20.55 19.804 21.021 19.412 21.413C19.02 21.805 18.5493 22.0007 18 22H6ZM13 8V4H6V20H18V9H14C13.7167 9 13.479 8.904 13.287 8.712C13.095 8.52 12.9993 8.28267 13 8Z",
935
935
  fill: "black"
936
- }, null, -1), Dd = [
937
- Vd
936
+ }, null, -1), Vd = [
937
+ Dd
938
938
  ];
939
939
  function Bd(t, e) {
940
- return v(), C("svg", Hd, Dd);
940
+ return v(), C("svg", Hd, Vd);
941
941
  }
942
942
  const jd = /* @__PURE__ */ q(Pd, [["render", Bd]]), Rd = {}, Nd = {
943
943
  width: "24",
@@ -1067,7 +1067,7 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1067
1067
  AccountTreeRounded: Ci,
1068
1068
  Add: ki,
1069
1069
  AddBoxOutlineRounded: Ei,
1070
- ArchiveOutlineRounded: Di,
1070
+ ArchiveOutlineRounded: Vi,
1071
1071
  ArrowBackRounded: Fi,
1072
1072
  ArrowDropDownRounded: xi,
1073
1073
  ArrowForwardRounded: el,
@@ -1076,7 +1076,7 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1076
1076
  CalendarTodayOutlineRounded: Cl,
1077
1077
  CancelRounded: kl,
1078
1078
  ChatOutline: El,
1079
- CheckBoxOutlineBlank: Dl,
1079
+ CheckBoxOutlineBlank: Vl,
1080
1080
  CheckBoxOutlineBlankSharp: Fl,
1081
1081
  CheckBoxOutlineRounded: xl,
1082
1082
  CheckSmallRounded: e1,
@@ -1085,7 +1085,7 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1085
1085
  ChevronRight: C1,
1086
1086
  CloseRounded: k1,
1087
1087
  ContactsOutlineRounded: E1,
1088
- ContentCopyOutline: D1,
1088
+ ContentCopyOutline: V1,
1089
1089
  DeleteOutlineRounded: F1,
1090
1090
  DragIndicator: x1,
1091
1091
  EditDocumentRounded: er,
@@ -1094,7 +1094,7 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1094
1094
  FilterListRounded: Cr,
1095
1095
  FlagRounded: kr,
1096
1096
  FlowsheetOutlineRounded: Er,
1097
- GifBox: Dr,
1097
+ GifBox: Vr,
1098
1098
  GroupsOutline: Fr,
1099
1099
  HomeOutlineRounded: xr,
1100
1100
  ImageRounded: eu,
@@ -1144,19 +1144,19 @@ const L2 = /* @__PURE__ */ q(A2, [["render", I2]]), P2 = /* @__PURE__ */ Object.
1144
1144
  PRIMARY_LIGHTER: "primary-lighter",
1145
1145
  NEUTRAL: "neutral",
1146
1146
  BLACK: "black"
1147
- }, V2 = {
1147
+ }, D2 = {
1148
1148
  WARNING: "warning",
1149
1149
  SUCCESS: "success",
1150
1150
  DANGER: "danger"
1151
1151
  };
1152
1152
  ({
1153
1153
  ...Ls,
1154
- ...V2
1154
+ ...D2
1155
1155
  });
1156
1156
  const Pn = {
1157
1157
  ROUND: "round",
1158
1158
  ROUNDED: "rounded"
1159
- }, D2 = {
1159
+ }, V2 = {
1160
1160
  SOLID: "solid",
1161
1161
  OUTLINE: "outline",
1162
1162
  SOLID_ICON: "solid_icon"
@@ -1329,7 +1329,7 @@ const R2 = {
1329
1329
  }, Y2 = {
1330
1330
  key: 3,
1331
1331
  class: "ao-card-horiz__secondary"
1332
- }, Vn = /* @__PURE__ */ X({
1332
+ }, Dn = /* @__PURE__ */ X({
1333
1333
  __name: "AoCardHoriz",
1334
1334
  props: {
1335
1335
  id: {},
@@ -1426,7 +1426,7 @@ const ra = /* @__PURE__ */ X({
1426
1426
  }), {
1427
1427
  default: z(() => [
1428
1428
  As(Y(n.label) + " ", 1),
1429
- n.variant === W(D2).SOLID_ICON && n.iconName ? (v(), B(de, {
1429
+ n.variant === W(V2).SOLID_ICON && n.iconName ? (v(), B(de, {
1430
1430
  key: 0,
1431
1431
  name: n.iconName,
1432
1432
  class: "ao-tag__icon",
@@ -1542,7 +1542,7 @@ function a0(t, e) {
1542
1542
  var a = Se(t), s = Se(e), n = a.getTime() - s.getTime();
1543
1543
  return n < 0 ? -1 : n > 0 ? 1 : n;
1544
1544
  }
1545
- var Dn = 6e4, Bn = 36e5;
1545
+ var Vn = 6e4, Bn = 36e5;
1546
1546
  function s0(t) {
1547
1547
  return _e(1, arguments), t instanceof Date || ja(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
1548
1548
  }
@@ -2478,11 +2478,11 @@ var P0 = {
2478
2478
  narrow: ["1", "2", "3", "4"],
2479
2479
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
2480
2480
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
2481
- }, V0 = {
2481
+ }, D0 = {
2482
2482
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
2483
2483
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
2484
2484
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
2485
- }, D0 = {
2485
+ }, V0 = {
2486
2486
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
2487
2487
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
2488
2488
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
@@ -2575,11 +2575,11 @@ var P0 = {
2575
2575
  }
2576
2576
  }),
2577
2577
  month: ea({
2578
- values: V0,
2578
+ values: D0,
2579
2579
  defaultWidth: "wide"
2580
2580
  }),
2581
2581
  day: ea({
2582
- values: D0,
2582
+ values: V0,
2583
2583
  defaultWidth: "wide"
2584
2584
  }),
2585
2585
  dayPeriod: ea({
@@ -2879,7 +2879,7 @@ function _3(t) {
2879
2879
  if (!e)
2880
2880
  return NaN;
2881
2881
  var a = gs(e[1]), s = gs(e[2]), n = gs(e[3]);
2882
- return M3(a, s, n) ? a * Bn + s * Dn + n * 1e3 : NaN;
2882
+ return M3(a, s, n) ? a * Bn + s * Vn + n * 1e3 : NaN;
2883
2883
  }
2884
2884
  function gs(t) {
2885
2885
  return t && parseFloat(t.replace(",", ".")) || 0;
@@ -2891,7 +2891,7 @@ function y3(t) {
2891
2891
  if (!e)
2892
2892
  return 0;
2893
2893
  var a = e[1] === "+" ? -1 : 1, s = parseInt(e[2]), n = e[3] && parseInt(e[3]) || 0;
2894
- return A3(s, n) ? a * (s * Bn + n * Dn) : NaN;
2894
+ return A3(s, n) ? a * (s * Bn + n * Vn) : NaN;
2895
2895
  }
2896
2896
  function b3(t, e, a) {
2897
2897
  var s = /* @__PURE__ */ new Date(0);
@@ -3648,13 +3648,13 @@ function Kn(t) {
3648
3648
  return e + (((s = a.activities) == null ? void 0 : s.length) ?? 0);
3649
3649
  }, 0)) ?? 0;
3650
3650
  }
3651
- function V3(t) {
3651
+ function D3(t) {
3652
3652
  return (t == null ? void 0 : t.reduce((e, a) => {
3653
3653
  var s;
3654
3654
  return e + (((s = a.milestones) == null ? void 0 : s.length) ?? 0);
3655
3655
  }, 0)) ?? 0;
3656
3656
  }
3657
- function D3(t) {
3657
+ function V3(t) {
3658
3658
  return (t == null ? void 0 : t.reduce((e, a) => {
3659
3659
  var n;
3660
3660
  const s = (n = a.milestones) != null && n.length ? Kn(a.milestones) : 0;
@@ -3875,7 +3875,7 @@ const q3 = { class: "ao-card-template__subitems" }, Y3 = { class: "ao-card-templ
3875
3875
  var l;
3876
3876
  return ((l = a.phases) == null ? void 0 : l.slice(0, Cs)) ?? [];
3877
3877
  }), o = M(() => a.phases && a.phases.length > Cs ? a.phases.length - Cs : 0);
3878
- return (l, r) => (v(), B(Vn, {
3878
+ return (l, r) => (v(), B(Dn, {
3879
3879
  id: l.id,
3880
3880
  title: l.title,
3881
3881
  "is-draggable": !0,
@@ -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__ */ X({
4036
+ }, y5 = { class: "ao-card-template-item__subitem-number" }, b5 = { class: "ao-card-template-item__secondary" }, Ds = /* @__PURE__ */ X({
4037
4037
  __name: "AoCardTemplateItem",
4038
4038
  props: {
4039
4039
  milestones: {},
@@ -4053,7 +4053,7 @@ const C5 = { class: "ao-card-template-item__footer" }, _5 = {
4053
4053
  }, i = () => {
4054
4054
  e("remove");
4055
4055
  };
4056
- return (o, l) => (v(), B(Vn, { "onUpdate:title": a }, {
4056
+ return (o, l) => (v(), B(Dn, { "onUpdate:title": a }, {
4057
4057
  footer: z(() => [
4058
4058
  f("ul", C5, [
4059
4059
  (v(), C(fe, null, Ce(s, (r) => (v(), C(fe, { key: r }, [
@@ -4094,7 +4094,7 @@ const w5 = /* @__PURE__ */ X({
4094
4094
  var n;
4095
4095
  return (n = e.milestones) == null ? void 0 : n.length;
4096
4096
  }), s = M(() => e.milestones ? Kn(e.milestones) : 0);
4097
- return (n, i) => (v(), B(Vs, Te({
4097
+ return (n, i) => (v(), B(Ds, Te({
4098
4098
  id: n.id,
4099
4099
  title: n.name,
4100
4100
  activities: s.value,
@@ -4116,7 +4116,7 @@ const w5 = /* @__PURE__ */ X({
4116
4116
  var s;
4117
4117
  return ((s = e.activities) == null ? void 0 : s.length) || 0;
4118
4118
  });
4119
- return (s, n) => (v(), B(Vs, { activities: a.value }, {
4119
+ return (s, n) => (v(), B(Ds, { activities: a.value }, {
4120
4120
  default: z(() => [
4121
4121
  se(s.$slots, "default")
4122
4122
  ]),
@@ -4203,7 +4203,7 @@ const w5 = /* @__PURE__ */ X({
4203
4203
  var s;
4204
4204
  return ((s = e.tasks) == null ? void 0 : s.length) || 0;
4205
4205
  });
4206
- return (s, n) => (v(), B(Vs, { tasks: a.value }, {
4206
+ return (s, n) => (v(), B(Ds, { tasks: a.value }, {
4207
4207
  default: z(() => [
4208
4208
  se(s.$slots, "default")
4209
4209
  ]),
@@ -4322,19 +4322,19 @@ const w5 = /* @__PURE__ */ X({
4322
4322
  ], 2));
4323
4323
  }
4324
4324
  });
4325
- const da = Math.min, Ve = Math.max, Ua = Math.round, Pa = Math.floor, ft = (t) => ({
4325
+ const da = Math.min, De = Math.max, Ua = Math.round, Pa = Math.floor, ft = (t) => ({
4326
4326
  x: t,
4327
4327
  y: t
4328
- }), V5 = {
4328
+ }), D5 = {
4329
4329
  left: "right",
4330
4330
  right: "left",
4331
4331
  bottom: "top",
4332
4332
  top: "bottom"
4333
- }, D5 = {
4333
+ }, V5 = {
4334
4334
  start: "end",
4335
4335
  end: "start"
4336
4336
  };
4337
- function Ds(t, e) {
4337
+ function Vs(t, e) {
4338
4338
  return typeof t == "function" ? t(e) : t;
4339
4339
  }
4340
4340
  function Zt(t) {
@@ -4366,7 +4366,7 @@ function R5(t) {
4366
4366
  return [ws(t), e, ws(e)];
4367
4367
  }
4368
4368
  function ws(t) {
4369
- return t.replace(/start|end/g, (e) => D5[e]);
4369
+ return t.replace(/start|end/g, (e) => V5[e]);
4370
4370
  }
4371
4371
  function N5(t, e, a) {
4372
4372
  const s = ["left", "right"], n = ["right", "left"], i = ["top", "bottom"], o = ["bottom", "top"];
@@ -4387,7 +4387,7 @@ function U5(t, e, a, s) {
4387
4387
  return n && (i = i.map((o) => o + "-" + n), e && (i = i.concat(i.map(ws)))), i;
4388
4388
  }
4389
4389
  function Fa(t) {
4390
- return t.replace(/left|right|bottom|top/g, (e) => V5[e]);
4390
+ return t.replace(/left|right|bottom|top/g, (e) => D5[e]);
4391
4391
  }
4392
4392
  function F5(t) {
4393
4393
  return {
@@ -4543,7 +4543,7 @@ async function eo(t, e) {
4543
4543
  elementContext: c = "floating",
4544
4544
  altBoundary: p = !1,
4545
4545
  padding: h = 0
4546
- } = Ds(e, t), g = Z5(h), m = l[p ? c === "floating" ? "reference" : "floating" : c], $ = Za(await i.getClippingRect({
4546
+ } = Vs(e, t), g = Z5(h), m = l[p ? c === "floating" ? "reference" : "floating" : c], $ = Za(await i.getClippingRect({
4547
4547
  element: (a = await (i.isElement == null ? void 0 : i.isElement(m))) == null || a ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(l.floating)),
4548
4548
  boundary: d,
4549
4549
  rootBoundary: u,
@@ -4591,7 +4591,7 @@ const z5 = function(t) {
4591
4591
  fallbackAxisSideDirection: g = "none",
4592
4592
  flipAlignment: w = !0,
4593
4593
  ...m
4594
- } = Ds(t, e);
4594
+ } = Vs(t, e);
4595
4595
  if ((a = i.arrow) != null && a.alignmentOffset)
4596
4596
  return {};
4597
4597
  const $ = Zt(n), b = Zt(l) === l, y = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), _ = p || (b || !w ? [Fa(l)] : R5(l));
@@ -4655,7 +4655,7 @@ const z5 = function(t) {
4655
4655
  apply: o = () => {
4656
4656
  },
4657
4657
  ...l
4658
- } = Ds(t, e), r = await eo(e, l), d = Zt(a), u = Ja(a), c = Bs(a) === "y", {
4658
+ } = Vs(t, e), r = await eo(e, l), d = Zt(a), u = Ja(a), c = Bs(a) === "y", {
4659
4659
  width: p,
4660
4660
  height: h
4661
4661
  } = s.floating;
@@ -4671,8 +4671,8 @@ const z5 = function(t) {
4671
4671
  y = u || b ? da(m, T) : T;
4672
4672
  }
4673
4673
  if (b && !u) {
4674
- const T = Ve(r.left, 0), H = Ve(r.right, 0), R = Ve(r.top, 0), G = Ve(r.bottom, 0);
4675
- c ? _ = p - 2 * (T !== 0 || H !== 0 ? T + H : Ve(r.left, r.right)) : y = h - 2 * (R !== 0 || G !== 0 ? R + G : Ve(r.top, r.bottom));
4674
+ const T = De(r.left, 0), H = De(r.right, 0), R = De(r.top, 0), G = De(r.bottom, 0);
4675
+ c ? _ = p - 2 * (T !== 0 || H !== 0 ? T + H : De(r.left, r.right)) : y = h - 2 * (R !== 0 || G !== 0 ? R + G : De(r.top, r.bottom));
4676
4676
  }
4677
4677
  await o({
4678
4678
  ...e,
@@ -4869,10 +4869,10 @@ function oo(t) {
4869
4869
  return Ot(st(t)).left + ts(t).scrollLeft;
4870
4870
  }
4871
4871
  function J5(t) {
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);
4872
+ const e = st(t), a = ts(t), s = t.ownerDocument.body, n = De(e.scrollWidth, e.clientWidth, s.scrollWidth, s.clientWidth), i = De(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 Re(s).direction === "rtl" && (o += De(e.clientWidth, s.clientWidth) - n), {
4876
4876
  width: n,
4877
4877
  height: i,
4878
4878
  x: o,
@@ -4947,7 +4947,7 @@ function s7(t) {
4947
4947
  } = t;
4948
4948
  const o = [...a === "clippingAncestors" ? a7(e, this._c) : [].concat(a), s], l = o[0], r = o.reduce((d, u) => {
4949
4949
  const c = bn(e, u, n);
4950
- return d.top = Ve(c.top, d.top), d.right = da(c.right, d.right), d.bottom = da(c.bottom, d.bottom), d.left = Ve(c.left, d.left), d;
4950
+ return d.top = De(c.top, d.top), d.right = da(c.right, d.right), d.bottom = da(c.bottom, d.bottom), d.left = De(c.left, d.left), d;
4951
4951
  }, bn(e, l, n));
4952
4952
  return {
4953
4953
  width: r.right - r.left,
@@ -5040,7 +5040,7 @@ function u7(t, e) {
5040
5040
  return;
5041
5041
  const h = Pa(u), g = Pa(n.clientWidth - (d + c)), w = Pa(n.clientHeight - (u + p)), m = Pa(d), b = {
5042
5042
  rootMargin: -h + "px " + -g + "px " + -w + "px " + -m + "px",
5043
- threshold: Ve(0, da(1, r)) || 1
5043
+ threshold: De(0, da(1, r)) || 1
5044
5044
  };
5045
5045
  let y = !0;
5046
5046
  function _(I) {
@@ -5293,8 +5293,8 @@ function _7(t, e, a) {
5293
5293
  onCreate: L,
5294
5294
  disabledProp: j,
5295
5295
  searchStart: k,
5296
- searchFilter: V
5297
- } = Ie(t), J = Pt().proxy, K = a.iv, D = a.ev, F = a.search, he = a.clearSearch, $e = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, ls = a.deactivate, ot = a.close, ka = a.localize, it = x([]), Ze = x([]), Le = x(!1), Ne = x(null), xe = x(ae.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: D
5297
+ } = Ie(t), J = Pt().proxy, K = a.iv, V = a.ev, F = a.search, he = a.clearSearch, $e = a.update, Gt = a.pointer, Xt = a.setPointer, nt = a.clearPointer, $a = a.focus, ls = a.deactivate, ot = a.close, ka = a.localize, it = x([]), Ze = x([]), Le = x(!1), Ne = x(null), xe = x(ae.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
  [], U = [];
@@ -5367,7 +5367,7 @@ function _7(t, e, a) {
5367
5367
  case "tags":
5368
5368
  return [];
5369
5369
  }
5370
- }), ko = M(() => w.value || Le.value), Vt = (S) => {
5370
+ }), ko = M(() => w.value || Le.value), Dt = (S) => {
5371
5371
  switch (typeof S != "object" && (S = Ge(S)), n.value) {
5372
5372
  case "single":
5373
5373
  $e(S);
@@ -5378,7 +5378,7 @@ function _7(t, e, a) {
5378
5378
  break;
5379
5379
  }
5380
5380
  e.emit("select", nn(S), S, J);
5381
- }, Dt = (S) => {
5381
+ }, Vt = (S) => {
5382
5382
  switch (typeof S != "object" && (S = Ge(S)), n.value) {
5383
5383
  case "single":
5384
5384
  ln();
@@ -5390,7 +5390,7 @@ function _7(t, e, a) {
5390
5390
  }
5391
5391
  e.emit("deselect", nn(S), S, J);
5392
5392
  }, nn = (S) => g.value ? S : S[T.value], on = (S) => {
5393
- Dt(S);
5393
+ Vt(S);
5394
5394
  }, So = (S, U) => {
5395
5395
  if (U.button !== 0) {
5396
5396
  U.preventDefault();
@@ -5423,32 +5423,32 @@ 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
- G.value && Dt(S), Q.value && (nt(), ot());
5426
+ G.value && Vt(S), Q.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(), N.value && (nt(), ot()), S && Dt(S);
5430
5430
  break;
5431
5431
  case "multiple":
5432
5432
  if (S && Ke(S)) {
5433
- Dt(S), Q.value && (nt(), ot());
5433
+ Vt(S), Q.value && (nt(), ot());
5434
5434
  return;
5435
5435
  }
5436
5436
  if (ds()) {
5437
5437
  e.emit("max", J);
5438
5438
  return;
5439
5439
  }
5440
- S && (ps(S), Vt(S)), I.value && he(), l.value && nt(), N.value && ot();
5440
+ S && (ps(S), Dt(S)), I.value && he(), l.value && nt(), N.value && ot();
5441
5441
  break;
5442
5442
  case "tags":
5443
5443
  if (S && Ke(S)) {
5444
- Dt(S), Q.value && (nt(), ot());
5444
+ Vt(S), Q.value && (nt(), ot());
5445
5445
  return;
5446
5446
  }
5447
5447
  if (ds()) {
5448
5448
  e.emit("max", J);
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 && Dt(S), l.value && nt(), N.value && ot();
5452
5452
  break;
5453
5453
  }
5454
5454
  N.value || $a();
@@ -5457,7 +5457,7 @@ function _7(t, e, a) {
5457
5457
  switch (n.value) {
5458
5458
  case "multiple":
5459
5459
  case "tags":
5460
- Oo(S[P.value]) ? Dt(S[P.value]) : Vt(
5460
+ Oo(S[P.value]) ? Vt(S[P.value]) : Dt(
5461
5461
  S[P.value].filter((U) => K.value.map((ue) => ue[T.value]).indexOf(U[T.value]) === -1).filter((U) => !U[j.value]).filter((U, ue) => K.value.length + 1 + ue <= te.value || te.value === -1)
5462
5462
  ), l.value && Gt.value && Xt(rs.value.filter((U) => !U[j.value])[Gt.value.index]);
5463
5463
  break;
@@ -5467,7 +5467,7 @@ function _7(t, e, a) {
5467
5467
  }, ps = (S) => {
5468
5468
  Ge(S[T.value]) === void 0 && Qt.value && (e.emit("tag", S[T.value], J), e.emit("option", S[T.value], J), e.emit("create", S[T.value], J), Sa.value && Po(S), he());
5469
5469
  }, To = () => {
5470
- n.value !== "single" && Vt(lt.value.filter((S) => !S.disabled && !Ke(S)));
5470
+ n.value !== "single" && Dt(lt.value.filter((S) => !S.disabled && !Ke(S)));
5471
5471
  }, Oo = (S) => S.find((U) => !Ke(U) && !U[j.value]) === void 0, Eo = (S) => S.find((U) => !Ke(U)) === void 0, Ge = (S) => Pe.value[Pe.value.map((U) => String(U[T.value])).indexOf(String(S))], Io = (S) => Pe.value.findIndex((U) => wt.value.some((ue) => (parseInt(U[ue]) == U[ue] ? parseInt(U[ue]) : U[ue]) === (parseInt(S) == S ? parseInt(S) : S))), Lo = (S) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Ke(S), Po = (S) => {
5472
5472
  it.value.push(S);
5473
5473
  }, Ho = (S) => O.value ? S.filter(
@@ -5475,9 +5475,9 @@ function _7(t, e, a) {
5475
5475
  ) : S.filter((U) => F.value ? U.__VISIBLE__.length : !0), vs = (S, U = !0) => {
5476
5476
  let ue = S;
5477
5477
  if (F.value && y.value) {
5478
- let ge = V.value;
5479
- ge || (ge = ($t, cn, o8) => wt.value.some((Do) => {
5480
- let dn = _s(ka($t[Do]), ne.value);
5478
+ let ge = D.value;
5479
+ ge || (ge = ($t, cn, o8) => wt.value.some((Vo) => {
5480
+ let dn = _s(ka($t[Vo]), ne.value);
5481
5481
  return k.value ? dn.startsWith(_s(cn, ne.value)) : dn.indexOf(_s(cn, ne.value)) !== -1;
5482
5482
  })), ue = ue.filter(($t) => ge($t, F.value, J));
5483
5483
  }
@@ -5489,7 +5489,7 @@ function _7(t, e, a) {
5489
5489
  return { [T.value]: ue, [wt.value[0]]: ge, [u.value]: ge };
5490
5490
  })), U = U.map((ue) => typeof ue == "object" ? ue : { [T.value]: ue, [wt.value[0]]: ue, [u.value]: ue }), U;
5491
5491
  }, Aa = () => {
5492
- We(D.value) || (K.value = Oa(D.value));
5492
+ We(V.value) || (K.value = Oa(V.value));
5493
5493
  }, Ta = (S) => (Le.value = !0, new Promise((U, ue) => {
5494
5494
  s.value(F.value, J).then((ge) => {
5495
5495
  Ze.value = ge || [], typeof S == "function" && S(ge), Le.value = !1;
@@ -5504,17 +5504,17 @@ function _7(t, e, a) {
5504
5504
  let S = Ge(K.value[T.value]);
5505
5505
  if (S !== void 0) {
5506
5506
  let U = S[u.value];
5507
- K.value[u.value] = U, g.value && (D.value[u.value] = U);
5507
+ K.value[u.value] = U, g.value && (V.value[u.value] = U);
5508
5508
  }
5509
5509
  } else
5510
5510
  K.value.forEach((S, U) => {
5511
5511
  let ue = Ge(K.value[U][T.value]);
5512
5512
  if (ue !== void 0) {
5513
5513
  let ge = ue[u.value];
5514
- K.value[U][u.value] = ge, g.value && (D.value[U][u.value] = ge);
5514
+ K.value[U][u.value] = ge, g.value && (V.value[U][u.value] = ge);
5515
5515
  }
5516
5516
  });
5517
- }, Vo = (S) => {
5517
+ }, Do = (S) => {
5518
5518
  Ta(S);
5519
5519
  }, Oa = (S) => We(S) ? n.value === "single" ? {} : [] : g.value ? S : n.value === "single" ? Ge(S) || (H.value ? {
5520
5520
  [u.value]: S,
@@ -5538,11 +5538,11 @@ function _7(t, e, a) {
5538
5538
  }, m.value));
5539
5539
  }, { flush: "sync" });
5540
5540
  };
5541
- if (n.value !== "single" && !We(D.value) && !Array.isArray(D.value))
5541
+ if (n.value !== "single" && !We(V.value) && !Array.isArray(V.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" ? $.value ? Ta(Aa) : g.value == !0 && Aa() : (Ze.value = s.value, Aa()), m.value > -1 && un(), ce(m, (S, U) => {
5544
5544
  Ne.value && Ne.value(), S >= 0 && un();
5545
- }), ce(D, (S) => {
5545
+ }), ce(V, (S) => {
5546
5546
  if (We(S)) {
5547
5547
  $e(Oa(S), !1);
5548
5548
  return;
@@ -5577,8 +5577,8 @@ function _7(t, e, a) {
5577
5577
  resolving: Le,
5578
5578
  busy: ko,
5579
5579
  offset: xe,
5580
- select: Vt,
5581
- deselect: Dt,
5580
+ select: Dt,
5581
+ deselect: Vt,
5582
5582
  remove: on,
5583
5583
  selectAll: To,
5584
5584
  clear: ln,
@@ -5589,7 +5589,7 @@ function _7(t, e, a) {
5589
5589
  handleOptionClick: Mo,
5590
5590
  handleGroupClick: Ao,
5591
5591
  handleTagRemove: So,
5592
- refreshOptions: Vo,
5592
+ refreshOptions: Do,
5593
5593
  resolveOptions: Ta,
5594
5594
  refreshLabels: hs
5595
5595
  };
@@ -5605,23 +5605,23 @@ 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, w = a.handleGroupClick, m = a.search, $ = a.pointer, b = a.setPointer, y = a.clearPointer, _ = a.multiselect, I = a.isOpen, T = M(() => p.value.filter((D) => !D[u.value])), H = M(() => h.value.filter((D) => !D[u.value])), R = M(() => r.value !== "single" && d.value), G = M(() => $.value && $.value.group), te = M(() => J($.value)), ne = M(() => {
5609
- const D = G.value ? $.value : (
5608
+ } = Ie(t), p = a.fo, h = a.fg, g = a.handleOptionClick, w = a.handleGroupClick, m = a.search, $ = a.pointer, b = a.setPointer, y = a.clearPointer, _ = a.multiselect, I = a.isOpen, T = M(() => p.value.filter((V) => !V[u.value])), H = M(() => h.value.filter((V) => !V[u.value])), R = M(() => r.value !== "single" && d.value), G = M(() => $.value && $.value.group), te = M(() => J($.value)), ne = M(() => {
5609
+ const V = G.value ? $.value : (
5610
5610
  /* istanbul ignore next */
5611
5611
  J($.value)
5612
- ), F = H.value.map(($e) => $e[o.value]).indexOf(D[o.value]);
5612
+ ), F = H.value.map(($e) => $e[o.value]).indexOf(V[o.value]);
5613
5613
  let he = H.value[F - 1];
5614
5614
  return he === void 0 && (he = Q.value), he;
5615
5615
  }), N = M(() => {
5616
- let D = H.value.map((F) => F.label).indexOf(G.value ? $.value[o.value] : J($.value)[o.value]) + 1;
5617
- return H.value.length <= D && (D = 0), H.value[D];
5618
- }), Q = M(() => [...H.value].slice(-1)[0]), le = M(() => $.value.__VISIBLE__.filter((D) => !D[u.value])[0]), oe = M(() => {
5619
- const D = te.value.__VISIBLE__.filter((F) => !F[u.value]);
5620
- return D[D.map((F) => F[s.value]).indexOf($.value[s.value]) - 1];
5616
+ let V = H.value.map((F) => F.label).indexOf(G.value ? $.value[o.value] : J($.value)[o.value]) + 1;
5617
+ return H.value.length <= V && (V = 0), H.value[V];
5618
+ }), Q = M(() => [...H.value].slice(-1)[0]), le = M(() => $.value.__VISIBLE__.filter((V) => !V[u.value])[0]), oe = M(() => {
5619
+ const V = te.value.__VISIBLE__.filter((F) => !F[u.value]);
5620
+ return V[V.map((F) => F[s.value]).indexOf($.value[s.value]) - 1];
5621
5621
  }), ae = M(() => {
5622
- const D = J($.value).__VISIBLE__.filter((F) => !F[u.value]);
5623
- return D[D.map((F) => F[s.value]).indexOf($.value[s.value]) + 1];
5624
- }), P = M(() => [...ne.value.__VISIBLE__.filter((D) => !D[u.value])].slice(-1)[0]), O = M(() => [...Q.value.__VISIBLE__.filter((D) => !D[u.value])].slice(-1)[0]), Z = (D) => $.value && (!D.group && $.value[s.value] === D[s.value] || D.group !== void 0 && $.value[o.value] === D[o.value]) ? !0 : void 0, L = () => {
5622
+ const V = J($.value).__VISIBLE__.filter((F) => !F[u.value]);
5623
+ return V[V.map((F) => F[s.value]).indexOf($.value[s.value]) + 1];
5624
+ }), P = M(() => [...ne.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), O = M(() => [...Q.value.__VISIBLE__.filter((V) => !V[u.value])].slice(-1)[0]), Z = (V) => $.value && (!V.group && $.value[s.value] === V[s.value] || V.group !== void 0 && $.value[o.value] === V[o.value]) ? !0 : void 0, L = () => {
5625
5625
  b(T.value[0] || null);
5626
5626
  }, j = () => {
5627
5627
  !$.value || $.value[u.value] === !0 || (G.value ? w($.value) : g($.value));
@@ -5629,42 +5629,42 @@ function y7(t, e, a) {
5629
5629
  if ($.value === null)
5630
5630
  b((l.value && R.value ? H.value[0].__CREATE__ ? T.value[0] : H.value[0] : T.value[0]) || null);
5631
5631
  else if (l.value && R.value) {
5632
- let D = G.value ? le.value : ae.value;
5633
- D === void 0 && (D = N.value, D.__CREATE__ && (D = D[c.value][0])), b(D || /* istanbul ignore next */
5632
+ let V = G.value ? le.value : ae.value;
5633
+ V === void 0 && (V = N.value, V.__CREATE__ && (V = V[c.value][0])), b(V || /* istanbul ignore next */
5634
5634
  null);
5635
5635
  } else {
5636
- let D = T.value.map((F) => F[s.value]).indexOf($.value[s.value]) + 1;
5637
- T.value.length <= D && (D = 0), b(T.value[D] || null);
5636
+ let V = T.value.map((F) => F[s.value]).indexOf($.value[s.value]) + 1;
5637
+ T.value.length <= V && (V = 0), b(T.value[V] || null);
5638
5638
  }
5639
5639
  ke(() => {
5640
5640
  K();
5641
5641
  });
5642
- }, V = () => {
5642
+ }, D = () => {
5643
5643
  if ($.value === null) {
5644
- let D = T.value[T.value.length - 1];
5645
- l.value && R.value && (D = O.value, D === void 0 && (D = Q.value)), b(D || null);
5644
+ let V = T.value[T.value.length - 1];
5645
+ l.value && R.value && (V = O.value, V === void 0 && (V = Q.value)), b(V || null);
5646
5646
  } else if (l.value && R.value) {
5647
- let D = G.value ? P.value : oe.value;
5648
- D === void 0 && (D = G.value ? ne.value : te.value, D.__CREATE__ && (D = P.value, D === void 0 && (D = ne.value))), b(D || /* istanbul ignore next */
5647
+ let V = G.value ? P.value : oe.value;
5648
+ V === void 0 && (V = G.value ? ne.value : te.value, V.__CREATE__ && (V = P.value, V === void 0 && (V = ne.value))), b(V || /* istanbul ignore next */
5649
5649
  null);
5650
5650
  } else {
5651
- let D = T.value.map((F) => F[s.value]).indexOf($.value[s.value]) - 1;
5652
- D < 0 && (D = T.value.length - 1), b(T.value[D] || null);
5651
+ let V = T.value.map((F) => F[s.value]).indexOf($.value[s.value]) - 1;
5652
+ V < 0 && (V = T.value.length - 1), b(T.value[V] || null);
5653
5653
  }
5654
5654
  ke(() => {
5655
5655
  K();
5656
5656
  });
5657
- }, J = (D) => H.value.find((F) => F.__VISIBLE__.map((he) => he[s.value]).indexOf(D[s.value]) !== -1), K = () => {
5658
- let D = _.value.querySelector("[data-pointed]");
5659
- if (!D)
5657
+ }, J = (V) => H.value.find((F) => F.__VISIBLE__.map((he) => he[s.value]).indexOf(V[s.value]) !== -1), K = () => {
5658
+ let V = _.value.querySelector("[data-pointed]");
5659
+ if (!V)
5660
5660
  return;
5661
- let F = D.parentElement.parentElement;
5662
- l.value && (F = G.value ? D.parentElement.parentElement.parentElement : D.parentElement.parentElement.parentElement.parentElement), D.offsetTop + D.offsetHeight > F.clientHeight + F.scrollTop && (F.scrollTop = D.offsetTop + D.offsetHeight - F.clientHeight), D.offsetTop < F.scrollTop && (F.scrollTop = D.offsetTop);
5661
+ let F = V.parentElement.parentElement;
5662
+ l.value && (F = G.value ? V.parentElement.parentElement.parentElement : V.parentElement.parentElement.parentElement.parentElement), V.offsetTop + V.offsetHeight > F.clientHeight + F.scrollTop && (F.scrollTop = V.offsetTop + V.offsetHeight - F.clientHeight), V.offsetTop < F.scrollTop && (F.scrollTop = V.offsetTop);
5663
5663
  };
5664
- return ce(m, (D) => {
5665
- i.value && (D.length && n.value ? L() : y());
5666
- }), ce(I, (D) => {
5667
- if (D) {
5664
+ return ce(m, (V) => {
5665
+ i.value && (V.length && n.value ? L() : y());
5666
+ }), ce(I, (V) => {
5667
+ if (V) {
5668
5668
  let F = _.value.querySelectorAll("[data-selected]")[0];
5669
5669
  if (!F)
5670
5670
  return;
@@ -5680,7 +5680,7 @@ function y7(t, e, a) {
5680
5680
  setPointerFirst: L,
5681
5681
  selectPointer: j,
5682
5682
  forwardPointer: k,
5683
- backwardPointer: V
5683
+ backwardPointer: D
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", j7 = "afterWrite", R7 = [E7, I7, L7, P7, H7, V7, D7, B7, j7];
5856
+ }, []), E7 = "beforeRead", I7 = "read", L7 = "afterRead", P7 = "beforeMain", H7 = "main", D7 = "afterMain", V7 = "beforeWrite", B7 = "write", j7 = "afterWrite", R7 = [E7, I7, L7, P7, H7, D7, V7, 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) {
@@ -6344,11 +6344,11 @@ var up = {
6344
6344
  function pp(t) {
6345
6345
  return t === "x" ? "y" : "x";
6346
6346
  }
6347
- function Va(t, e, a) {
6347
+ function Da(t, e, a) {
6348
6348
  return Mt(t, Wa(e, a));
6349
6349
  }
6350
6350
  function vp(t, e, a) {
6351
- var s = Va(t, e, a);
6351
+ var s = Da(t, e, a);
6352
6352
  return s > a ? a : s;
6353
6353
  }
6354
6354
  function fp(t) {
@@ -6371,14 +6371,14 @@ function fp(t) {
6371
6371
  };
6372
6372
  if (T) {
6373
6373
  if (i) {
6374
- var Q, le = _ === "y" ? Ue : Xe, oe = _ === "y" ? Ye : mt, ae = _ === "y" ? "height" : "width", P = T[_], O = P + m[le], Z = P - m[oe], L = h ? -R[ae] / 2 : 0, j = b === Yt ? H[ae] : R[ae], k = b === Yt ? -R[ae] : -H[ae], V = e.elements.arrow, J = h && V ? uo(V) : {
6374
+ var Q, le = _ === "y" ? Ue : Xe, oe = _ === "y" ? Ye : mt, ae = _ === "y" ? "height" : "width", P = T[_], O = P + m[le], Z = P - m[oe], L = h ? -R[ae] / 2 : 0, j = b === Yt ? H[ae] : R[ae], k = b === Yt ? -R[ae] : -H[ae], D = e.elements.arrow, J = h && D ? uo(D) : {
6375
6375
  width: 0,
6376
6376
  height: 0
6377
- }, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ho(), D = K[le], F = K[oe], he = Va(0, H[ae], J[ae]), $e = y ? H[ae] / 2 - L - he - D - te.mainAxis : j - he - D - te.mainAxis, Gt = y ? -H[ae] / 2 + L + he + F + te.mainAxis : k + he + F + te.mainAxis, Xt = e.elements.arrow && ss(e.elements.arrow), nt = Xt ? _ === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (Q = ne == null ? void 0 : ne[_]) != null ? Q : 0, ls = P + $e - $a - nt, ot = P + Gt - $a, ka = Va(h ? Wa(O, ls) : O, P, h ? Mt(Z, ot) : Z);
6377
+ }, K = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ho(), V = K[le], F = K[oe], he = Da(0, H[ae], J[ae]), $e = y ? H[ae] / 2 - L - he - V - te.mainAxis : j - he - V - te.mainAxis, Gt = y ? -H[ae] / 2 + L + he + F + te.mainAxis : k + he + F + te.mainAxis, Xt = e.elements.arrow && ss(e.elements.arrow), nt = Xt ? _ === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (Q = ne == null ? void 0 : ne[_]) != null ? Q : 0, ls = P + $e - $a - nt, ot = P + Gt - $a, ka = Da(h ? Wa(O, ls) : O, P, h ? Mt(Z, ot) : Z);
6378
6378
  T[_] = ka, N[_] = ka - P;
6379
6379
  }
6380
6380
  if (l) {
6381
- var it, Ze = _ === "x" ? Ue : Xe, Le = _ === "x" ? Ye : mt, Ne = T[I], xe = I === "y" ? "height" : "width", Qt = Ne + m[Ze], Sa = Ne - m[Le], Pe = [Ue, Xe].indexOf($) !== -1, Jt = (it = ne == null ? void 0 : ne[I]) != null ? it : 0, lt = Pe ? Qt : Ne - H[xe] - R[xe] - Jt + te.altAxis, bt = Pe ? Ne + H[xe] + R[xe] - Jt - te.altAxis : Sa, Ma = h && Pe ? vp(lt, Ne, bt) : Va(h ? lt : Qt, Ne, h ? bt : Sa);
6381
+ var it, Ze = _ === "x" ? Ue : Xe, Le = _ === "x" ? Ye : mt, Ne = T[I], xe = I === "y" ? "height" : "width", Qt = Ne + m[Ze], Sa = Ne - m[Le], Pe = [Ue, Xe].indexOf($) !== -1, Jt = (it = ne == null ? void 0 : ne[I]) != null ? it : 0, lt = Pe ? Qt : Ne - H[xe] - R[xe] - Jt + te.altAxis, bt = Pe ? Ne + H[xe] + R[xe] - Jt - te.altAxis : Sa, Ma = h && Pe ? vp(lt, Ne, bt) : Da(h ? lt : Qt, Ne, h ? bt : Sa);
6382
6382
  T[I] = Ma, N[I] = Ma - Ne;
6383
6383
  }
6384
6384
  e.modifiersData[s] = N;
@@ -6396,7 +6396,7 @@ var hp = {
6396
6396
  bottom: "top",
6397
6397
  top: "bottom"
6398
6398
  };
6399
- function Da(t) {
6399
+ function Va(t) {
6400
6400
  return t.replace(/left|right|bottom|top/g, function(e) {
6401
6401
  return mp[e];
6402
6402
  });
@@ -6433,13 +6433,13 @@ function Cp(t, e) {
6433
6433
  function _p(t) {
6434
6434
  if (pt(t) === zs)
6435
6435
  return [];
6436
- var e = Da(t);
6436
+ var e = Va(t);
6437
6437
  return [On(t), e, On(e)];
6438
6438
  }
6439
6439
  function yp(t) {
6440
6440
  var e = t.state, a = t.options, s = t.name;
6441
6441
  if (!e.modifiersData[s]._skip) {
6442
- for (var n = a.mainAxis, i = n === void 0 ? !0 : n, o = a.altAxis, l = o === void 0 ? !0 : o, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, g = h === void 0 ? !0 : h, w = a.allowedAutoPlacements, m = e.options.placement, $ = pt(m), b = $ === m, y = r || (b || !g ? [Da(m)] : _p(m)), _ = [m].concat(y).reduce(function(J, K) {
6442
+ for (var n = a.mainAxis, i = n === void 0 ? !0 : n, o = a.altAxis, l = o === void 0 ? !0 : o, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, g = h === void 0 ? !0 : h, w = a.allowedAutoPlacements, m = e.options.placement, $ = pt(m), b = $ === m, y = r || (b || !g ? [Va(m)] : _p(m)), _ = [m].concat(y).reduce(function(J, K) {
6443
6443
  return J.concat(pt(K) === zs ? Cp(e, {
6444
6444
  placement: K,
6445
6445
  boundary: u,
@@ -6456,8 +6456,8 @@ function yp(t) {
6456
6456
  altBoundary: p,
6457
6457
  padding: d
6458
6458
  }), P = le ? Q ? mt : Xe : Q ? Ye : Ue;
6459
- I[oe] > T[oe] && (P = Da(P));
6460
- var O = Da(P), Z = [];
6459
+ I[oe] > T[oe] && (P = Va(P));
6460
+ var O = Va(P), Z = [];
6461
6461
  if (i && Z.push(ae[N] <= 0), l && Z.push(ae[P] <= 0, ae[O] <= 0), Z.every(function(J) {
6462
6462
  return J;
6463
6463
  })) {
@@ -6468,18 +6468,18 @@ function yp(t) {
6468
6468
  }
6469
6469
  if (R)
6470
6470
  for (var L = g ? 3 : 1, j = function(K) {
6471
- var D = _.find(function(F) {
6471
+ var V = _.find(function(F) {
6472
6472
  var he = H.get(F);
6473
6473
  if (he)
6474
6474
  return he.slice(0, K).every(function($e) {
6475
6475
  return $e;
6476
6476
  });
6477
6477
  });
6478
- if (D)
6479
- return G = D, "break";
6478
+ if (V)
6479
+ return G = V, "break";
6480
6480
  }, k = L; k > 0; k--) {
6481
- var V = j(k);
6482
- if (V === "break")
6481
+ var D = j(k);
6482
+ if (D === "break")
6483
6483
  break;
6484
6484
  }
6485
6485
  e.placement !== G && (e.modifiersData[s]._skip = !0, e.placement = G, e.reset = !0);
@@ -6631,14 +6631,14 @@ function kp(t, e, a) {
6631
6631
  case "Backspace":
6632
6632
  if (s.value === "single" || o.value && [null, ""].indexOf(b.value) === -1 || w.value.length === 0)
6633
6633
  return;
6634
- let k = w.value.filter((V) => !V.disabled && V.remove !== !1);
6634
+ let k = w.value.filter((D) => !D.disabled && D.remove !== !1);
6635
6635
  k.length && $(k[k.length - 1]);
6636
6636
  break;
6637
6637
  case "Enter":
6638
6638
  if (Z.preventDefault(), Z.keyCode === 229)
6639
6639
  return;
6640
6640
  if (j !== -1 && j !== void 0) {
6641
- m([...w.value].filter((V, J) => J !== j)), j === L.length - 1 && (L.length - 1 ? L[L.length - 2].focus() : o.value ? G.value.querySelector("input").focus() : R.value.focus());
6641
+ m([...w.value].filter((D, J) => J !== j)), j === L.length - 1 && (L.length - 1 ? L[L.length - 2].focus() : o.value ? G.value.querySelector("input").focus() : R.value.focus());
6642
6642
  return;
6643
6643
  }
6644
6644
  if (oe.value.indexOf("enter") === -1 && le.value)
@@ -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"], 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"];
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"], Dp = ["onClick"], Vp = ["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(), C("div", {
7305
7305
  ref: "multiselect",
@@ -7396,7 +7396,7 @@ function Qp(t, e, a, s, n, i) {
7396
7396
  2
7397
7397
  /* CLASS */
7398
7398
  )
7399
- ], 10, Vp)) : E("v-if", !0)
7399
+ ], 10, Dp)) : E("v-if", !0)
7400
7400
  ], 42, Hp))
7401
7401
  ])),
7402
7402
  256
@@ -7441,7 +7441,7 @@ function Qp(t, e, a, s, n, i) {
7441
7441
  }, {
7442
7442
  ...a.attrs,
7443
7443
  ...t.arias
7444
- }), null, 16, Dp)) : E("v-if", !0)
7444
+ }), null, 16, Vp)) : E("v-if", !0)
7445
7445
  ],
7446
7446
  2
7447
7447
  /* CLASS */
@@ -8182,7 +8182,7 @@ const gv = { class: "ao-comment" }, Cv = { class: "ao-comment__created-at" }, _v
8182
8182
  ), ["enter"]))
8183
8183
  ]
8184
8184
  }, null, 40, wv)), [
8185
- [De, i.value]
8185
+ [Ve, i.value]
8186
8186
  ]) : (v(), C("p", bv, Y(I.content), 1)),
8187
8187
  W(w) && W($).length > 0 ? (v(), C("ul", {
8188
8188
  key: 2,
@@ -8301,7 +8301,7 @@ const Mv = { class: "ao-comments__header" }, Av = ["onSubmit"], Tv = ["placehold
8301
8301
  (...T) => W(m) && W(m)(...T))
8302
8302
  }, null, 40, Tv), [
8303
8303
  [
8304
- De,
8304
+ Ve,
8305
8305
  l.value,
8306
8306
  void 0,
8307
8307
  { trim: !0 }
@@ -8364,7 +8364,7 @@ const Ss = /* @__PURE__ */ X({
8364
8364
  onClick: i[0] || (i[0] = () => s())
8365
8365
  }, null, 8, ["color"]));
8366
8366
  }
8367
- }), Pv = { class: "ao-activity-details" }, Hv = { class: "ao-activity-details__main" }, Vv = { class: "ao-activity-details__header" }, Dv = {
8367
+ }), Pv = { class: "ao-activity-details" }, Hv = { class: "ao-activity-details__main" }, Dv = { class: "ao-activity-details__header" }, Vv = {
8368
8368
  key: 1,
8369
8369
  class: "ao-activity__category"
8370
8370
  }, Bv = { class: "ao-feed__activity-details__header" }, jv = {
@@ -8391,7 +8391,7 @@ const Ss = /* @__PURE__ */ X({
8391
8391
  }, Sf = { class: "ao-fieldset ao-activity-details__aside-section" }, Mf = { class: "ao-fieldset__title" }, Af = { class: "ao-fieldset__body" }, Tf = { class: "ao-field__row" }, Of = { class: "ao-field ao-field--multiselect" }, Ef = { class: "ao-field__label" }, If = { class: "ao-field__row" }, Lf = { class: "ao-field ao-field--multiselect" }, Pf = { class: "ao-field__label" }, Hf = {
8392
8392
  key: 2,
8393
8393
  class: "ao-activity-details__aside-section ao-activity-details__aside-section--created-by"
8394
- }, Vf = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ X({
8394
+ }, Df = { class: "ao-activity__created-by" }, Ys = /* @__PURE__ */ X({
8395
8395
  __name: "AoActivityDetails",
8396
8396
  props: {
8397
8397
  activity: {},
@@ -8436,9 +8436,9 @@ const Ss = /* @__PURE__ */ X({
8436
8436
  }
8437
8437
  }), l = M({
8438
8438
  get() {
8439
- var V;
8440
- const k = (V = a.timeTrackingData) == null ? void 0 : V[a.activity.id];
8441
- return (k == null ? void 0 : k.timeSpent) ?? a.activity.timeSpent ?? 0;
8439
+ var D;
8440
+ const k = (D = a.timeTrackingData) == null ? void 0 : D[a.activity.id];
8441
+ return (k == null ? void 0 : k.timeSpent) ?? 0;
8442
8442
  },
8443
8443
  set() {
8444
8444
  }
@@ -8465,9 +8465,9 @@ const Ss = /* @__PURE__ */ X({
8465
8465
  }
8466
8466
  }), c = M(() => {
8467
8467
  var k;
8468
- return (k = a.activityTypes) == null ? void 0 : k.map((V) => ({
8469
- label: V.name,
8470
- value: V.id
8468
+ return (k = a.activityTypes) == null ? void 0 : k.map((D) => ({
8469
+ label: D.name,
8470
+ value: D.id
8471
8471
  }));
8472
8472
  }), p = M({
8473
8473
  get() {
@@ -8483,7 +8483,7 @@ const Ss = /* @__PURE__ */ X({
8483
8483
  }))), g = M({
8484
8484
  get() {
8485
8485
  var k;
8486
- return (k = a.activity.dependingOn) == null ? void 0 : k.map((V) => V.id);
8486
+ return (k = a.activity.dependingOn) == null ? void 0 : k.map((D) => D.id);
8487
8487
  },
8488
8488
  set(k) {
8489
8489
  k && e("update:activity", {
@@ -8492,15 +8492,15 @@ const Ss = /* @__PURE__ */ X({
8492
8492
  });
8493
8493
  }
8494
8494
  }), w = M(() => h.value.map((k) => {
8495
- var V;
8495
+ var D;
8496
8496
  return {
8497
8497
  ...k,
8498
- disabled: (V = a.activity.blocking) == null ? void 0 : V.some((J) => J.id === k.value)
8498
+ disabled: (D = a.activity.blocking) == null ? void 0 : D.some((J) => J.id === k.value)
8499
8499
  };
8500
8500
  })), m = M({
8501
8501
  get() {
8502
8502
  var k;
8503
- return (k = a.activity.blocking) == null ? void 0 : k.map((V) => V.id);
8503
+ return (k = a.activity.blocking) == null ? void 0 : k.map((D) => D.id);
8504
8504
  },
8505
8505
  set(k) {
8506
8506
  k && e("update:activity", {
@@ -8509,10 +8509,10 @@ const Ss = /* @__PURE__ */ X({
8509
8509
  });
8510
8510
  }
8511
8511
  }), $ = M(() => h.value.map((k) => {
8512
- var V;
8512
+ var D;
8513
8513
  return {
8514
8514
  ...k,
8515
- disabled: (V = a.activity.dependingOn) == null ? void 0 : V.some(
8515
+ disabled: (D = a.activity.dependingOn) == null ? void 0 : D.some(
8516
8516
  (J) => J.id === k.value
8517
8517
  )
8518
8518
  };
@@ -8531,15 +8531,15 @@ const Ss = /* @__PURE__ */ X({
8531
8531
  }
8532
8532
  const H = M(() => {
8533
8533
  var k;
8534
- return ((k = a.users) == null ? void 0 : k.map((V) => ({
8535
- label: `${V.firstName} ${V.lastName}`,
8536
- value: V.id,
8537
- avatar: V.avatarUrl
8534
+ return ((k = a.users) == null ? void 0 : k.map((D) => ({
8535
+ label: `${D.firstName} ${D.lastName}`,
8536
+ value: D.id,
8537
+ avatar: D.avatarUrl
8538
8538
  }))) || [];
8539
8539
  }), R = M({
8540
8540
  get() {
8541
- var k, V;
8542
- return (k = a.activity.assignee) != null && k.id ? [(V = a.activity.assignee) == null ? void 0 : V.id] : [];
8541
+ var k, D;
8542
+ return (k = a.activity.assignee) != null && k.id ? [(D = a.activity.assignee) == null ? void 0 : D.id] : [];
8543
8543
  },
8544
8544
  set(k) {
8545
8545
  e("update:activity", {
@@ -8562,14 +8562,14 @@ const Ss = /* @__PURE__ */ X({
8562
8562
  value: k.id,
8563
8563
  label: k.name
8564
8564
  }))), N = M(() => {
8565
- var V, J, K;
8566
- const k = (K = (J = (V = a.activity) == null ? void 0 : V.project) == null ? void 0 : J.phases) == null ? void 0 : K.reduce(
8567
- (D, F) => [...D, ...F.milestones],
8565
+ var D, J, K;
8566
+ const k = (K = (J = (D = a.activity) == null ? void 0 : D.project) == null ? void 0 : J.phases) == null ? void 0 : K.reduce(
8567
+ (V, F) => [...V, ...F.milestones],
8568
8568
  []
8569
8569
  );
8570
- return k == null ? void 0 : k.map((D) => ({
8571
- value: D.id,
8572
- label: D.name
8570
+ return k == null ? void 0 : k.map((V) => ({
8571
+ value: V.id,
8572
+ label: V.name
8573
8573
  }));
8574
8574
  }), Q = (k) => {
8575
8575
  a.activity && e("update:activity", {
@@ -8583,9 +8583,9 @@ const Ss = /* @__PURE__ */ X({
8583
8583
  });
8584
8584
  }, oe = M(() => {
8585
8585
  var k;
8586
- return (k = a.statuses) == null ? void 0 : k.map((V) => ({
8587
- value: V.id,
8588
- label: V.name
8586
+ return (k = a.statuses) == null ? void 0 : k.map((D) => ({
8587
+ value: D.id,
8588
+ label: D.name
8589
8589
  }));
8590
8590
  }), ae = (k) => {
8591
8591
  e("update:activity", {
@@ -8602,26 +8602,26 @@ const Ss = /* @__PURE__ */ X({
8602
8602
  }, Z = (k) => {
8603
8603
  e("removeComment", k);
8604
8604
  }, L = M(() => {
8605
- var k, V;
8606
- return ((k = a.activity.createdBy) == null ? void 0 : k.firstName) && ((V = a.activity.createdBy) == null ? void 0 : V.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
8605
+ var k, D;
8606
+ return ((k = a.activity.createdBy) == null ? void 0 : k.firstName) && ((D = a.activity.createdBy) == null ? void 0 : D.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
8607
8607
  });
8608
8608
  function j() {
8609
- const k = window.location.origin, V = a.activity.slug, J = `${k}/activity-feed/slug/${V}`;
8609
+ const k = window.location.origin, D = a.activity.slug, J = `${k}/activity-feed/slug/${D}`;
8610
8610
  navigator.clipboard.writeText(J).then(() => {
8611
8611
  console.log(`Link copied to clipboard: ${J}`), e("toast", "clipboard.copy.success", "success");
8612
8612
  }).catch(() => {
8613
8613
  console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
8614
8614
  });
8615
8615
  }
8616
- return (k, V) => (v(), B(Qa, {
8617
- onClose: V[11] || (V[11] = (J) => k.$emit("close"))
8616
+ return (k, D) => (v(), B(Qa, {
8617
+ onClose: D[11] || (D[11] = (J) => k.$emit("close"))
8618
8618
  }, {
8619
8619
  default: z(() => {
8620
- var J, K, D;
8620
+ var J, K, V;
8621
8621
  return [
8622
8622
  f("div", Pv, [
8623
8623
  f("div", Hv, [
8624
- f("div", Vv, [
8624
+ f("div", Dv, [
8625
8625
  k.activity.slug ? (v(), B(ra, {
8626
8626
  key: 0,
8627
8627
  label: k.activity.slug,
@@ -8632,7 +8632,7 @@ const Ss = /* @__PURE__ */ X({
8632
8632
  class: "ao-activity__ao-tag",
8633
8633
  onClick: j
8634
8634
  }, null, 8, ["label"])) : E("", !0),
8635
- k.breadcrumbs ? (v(), C("div", Dv, Y(k.breadcrumbs), 1)) : E("", !0),
8635
+ k.breadcrumbs ? (v(), C("div", Vv, Y(k.breadcrumbs), 1)) : E("", !0),
8636
8636
  A(be, {
8637
8637
  title: k.activity.name || "",
8638
8638
  level: 4,
@@ -8678,13 +8678,13 @@ const Ss = /* @__PURE__ */ X({
8678
8678
  f("label", zv, [
8679
8679
  f("span", qv, Y(k.$t("activity.description.label")), 1),
8680
8680
  Me(f("textarea", {
8681
- "onUpdate:modelValue": V[0] || (V[0] = (F) => i.value = F),
8681
+ "onUpdate:modelValue": D[0] || (D[0] = (F) => i.value = F),
8682
8682
  readonly: !s.value,
8683
8683
  rows: "4",
8684
8684
  class: "ao-field__textarea"
8685
8685
  }, null, 8, Yv), [
8686
8686
  [
8687
- De,
8687
+ Ve,
8688
8688
  i.value,
8689
8689
  void 0,
8690
8690
  {
@@ -8702,14 +8702,14 @@ const Ss = /* @__PURE__ */ X({
8702
8702
  f("label", Kv, [
8703
8703
  f("span", Gv, Y(k.$t("activity.estimation.label")), 1),
8704
8704
  Me(f("input", {
8705
- "onUpdate:modelValue": V[1] || (V[1] = (F) => o.value = F),
8705
+ "onUpdate:modelValue": D[1] || (D[1] = (F) => o.value = F),
8706
8706
  readonly: !s.value,
8707
8707
  class: "ao-field__input ao-field__input--estim",
8708
8708
  type: "number",
8709
8709
  min: "0"
8710
8710
  }, null, 8, Xv), [
8711
8711
  [
8712
- De,
8712
+ Ve,
8713
8713
  o.value,
8714
8714
  void 0,
8715
8715
  {
@@ -8722,14 +8722,14 @@ const Ss = /* @__PURE__ */ X({
8722
8722
  f("label", Qv, [
8723
8723
  f("span", Jv, Y(k.$t("activity.timeSpent.label")), 1),
8724
8724
  Me(f("input", {
8725
- "onUpdate:modelValue": V[2] || (V[2] = (F) => l.value = F),
8725
+ "onUpdate:modelValue": D[2] || (D[2] = (F) => l.value = F),
8726
8726
  readonly: "",
8727
8727
  class: "ao-field__input ao-field__input--estim",
8728
8728
  type: "number",
8729
8729
  min: "0"
8730
8730
  }, null, 512), [
8731
8731
  [
8732
- De,
8732
+ Ve,
8733
8733
  l.value,
8734
8734
  void 0,
8735
8735
  {
@@ -8787,7 +8787,7 @@ const Ss = /* @__PURE__ */ X({
8787
8787
  f("div", lf, [
8788
8788
  A(de, {
8789
8789
  name: "CloseRounded",
8790
- onClick: V[3] || (V[3] = (F) => k.$emit("close"))
8790
+ onClick: D[3] || (D[3] = (F) => k.$emit("close"))
8791
8791
  })
8792
8792
  ]),
8793
8793
  oe.value ? (v(), C("div", rf, [
@@ -8796,7 +8796,7 @@ const Ss = /* @__PURE__ */ X({
8796
8796
  A(Ae, {
8797
8797
  class: "ao-activity-details__multiselect",
8798
8798
  options: oe.value,
8799
- value: (D = k.activity.status) == null ? void 0 : D.id,
8799
+ value: (V = k.activity.status) == null ? void 0 : V.id,
8800
8800
  "can-clear": !1,
8801
8801
  "can-deselect": !1,
8802
8802
  disabled: !s.value,
@@ -8820,7 +8820,7 @@ const Ss = /* @__PURE__ */ X({
8820
8820
  ]),
8821
8821
  A(Ae, {
8822
8822
  modelValue: R.value,
8823
- "onUpdate:modelValue": V[4] || (V[4] = (F) => R.value = F),
8823
+ "onUpdate:modelValue": D[4] || (D[4] = (F) => R.value = F),
8824
8824
  class: "ao-activity-details__assignees ao-activity-details__multiselect",
8825
8825
  options: H.value,
8826
8826
  "close-on-select": !0,
@@ -8851,13 +8851,13 @@ const Ss = /* @__PURE__ */ X({
8851
8851
  f("label", gf, [
8852
8852
  f("span", Cf, Y(k.$t("activity.deadline.label")), 1),
8853
8853
  Me(f("input", {
8854
- "onUpdate:modelValue": V[5] || (V[5] = (F) => u.value = F),
8854
+ "onUpdate:modelValue": D[5] || (D[5] = (F) => u.value = F),
8855
8855
  readonly: !s.value,
8856
8856
  class: "ao-field__input",
8857
8857
  type: "date"
8858
8858
  }, null, 8, _f), [
8859
8859
  [
8860
- De,
8860
+ Ve,
8861
8861
  u.value,
8862
8862
  void 0,
8863
8863
  { lazy: !0 }
@@ -8871,7 +8871,7 @@ const Ss = /* @__PURE__ */ X({
8871
8871
  f("label", wf, [
8872
8872
  A(Ae, {
8873
8873
  modelValue: p.value,
8874
- "onUpdate:modelValue": V[6] || (V[6] = (F) => p.value = F),
8874
+ "onUpdate:modelValue": D[6] || (D[6] = (F) => p.value = F),
8875
8875
  class: "ao-activity-details__multiselect",
8876
8876
  mode: "single",
8877
8877
  searchable: !0,
@@ -8887,7 +8887,7 @@ const Ss = /* @__PURE__ */ X({
8887
8887
  f("div", $f, [
8888
8888
  A(Ss, {
8889
8889
  modelValue: r.value,
8890
- "onUpdate:modelValue": V[7] || (V[7] = (F) => r.value = F),
8890
+ "onUpdate:modelValue": D[7] || (D[7] = (F) => r.value = F),
8891
8891
  modelModifiers: { lazy: !0 },
8892
8892
  label: k.$t("activity.important.label"),
8893
8893
  disabled: !s.value,
@@ -8902,7 +8902,7 @@ const Ss = /* @__PURE__ */ X({
8902
8902
  k.isTemplate !== !0 && k.activity.createdBy.id === k.userId ? (v(), C("div", kf, [
8903
8903
  A(Ss, {
8904
8904
  modelValue: d.value,
8905
- "onUpdate:modelValue": V[8] || (V[8] = (F) => d.value = F),
8905
+ "onUpdate:modelValue": D[8] || (D[8] = (F) => d.value = F),
8906
8906
  modelModifiers: { lazy: !0 },
8907
8907
  label: k.$t("activity.private.label"),
8908
8908
  disabled: !s.value,
@@ -8927,7 +8927,7 @@ const Ss = /* @__PURE__ */ X({
8927
8927
  f("span", Ef, Y(k.$t("activity.dependingOn.label")), 1),
8928
8928
  A(Ae, {
8929
8929
  modelValue: g.value,
8930
- "onUpdate:modelValue": V[9] || (V[9] = (F) => g.value = F),
8930
+ "onUpdate:modelValue": D[9] || (D[9] = (F) => g.value = F),
8931
8931
  class: "ao-activity-details__multiselect",
8932
8932
  mode: "tags",
8933
8933
  "close-on-select": !1,
@@ -8943,7 +8943,7 @@ const Ss = /* @__PURE__ */ X({
8943
8943
  f("span", Pf, Y(k.$t("activity.blocking.label")), 1),
8944
8944
  A(Ae, {
8945
8945
  modelValue: m.value,
8946
- "onUpdate:modelValue": V[10] || (V[10] = (F) => m.value = F),
8946
+ "onUpdate:modelValue": D[10] || (D[10] = (F) => m.value = F),
8947
8947
  class: "ao-activity-details__multiselect",
8948
8948
  mode: "tags",
8949
8949
  "close-on-select": !1,
@@ -8957,7 +8957,7 @@ const Ss = /* @__PURE__ */ X({
8957
8957
  ])
8958
8958
  ]),
8959
8959
  k.isTemplate !== !0 && L.value ? (v(), C("div", Hf, [
8960
- f("div", Vf, [
8960
+ f("div", Df, [
8961
8961
  A(et, {
8962
8962
  "user-name": L.value,
8963
8963
  color: "black"
@@ -8973,7 +8973,7 @@ const Ss = /* @__PURE__ */ X({
8973
8973
  }));
8974
8974
  }
8975
8975
  });
8976
- const Df = /* @__PURE__ */ X({
8976
+ const Vf = /* @__PURE__ */ X({
8977
8977
  __name: "AoRuleLine",
8978
8978
  props: {
8979
8979
  rule: {},
@@ -9075,7 +9075,7 @@ const Df = /* @__PURE__ */ X({
9075
9075
  min: "0"
9076
9076
  }, null, 512), [
9077
9077
  [
9078
- De,
9078
+ Ve,
9079
9079
  g.value,
9080
9080
  void 0,
9081
9081
  { number: !0 }
@@ -9123,7 +9123,7 @@ const Bf = { class: "ao-template-rules__body" }, jf = { class: "ao-template-rule
9123
9123
  default: z(() => [
9124
9124
  f("div", Bf, [
9125
9125
  f("ul", jf, [
9126
- (v(!0), C(fe, null, Ce(n.rules, (o) => (v(), B(Df, {
9126
+ (v(!0), C(fe, null, Ce(n.rules, (o) => (v(), B(Vf, {
9127
9127
  key: o.id,
9128
9128
  rule: o,
9129
9129
  "template-phases": n.templatePhases,
@@ -9223,7 +9223,7 @@ const Nf = {
9223
9223
  var P, O;
9224
9224
  return ((O = (P = n.value) == null ? void 0 : P.phases) == null ? void 0 : O.reduce((Z, L) => {
9225
9225
  const k = (L.milestones || []).reduce(
9226
- (V, J) => J.activities ? [...V, ...J.activities] : V,
9226
+ (D, J) => J.activities ? [...D, ...J.activities] : D,
9227
9227
  []
9228
9228
  );
9229
9229
  return [...Z, ...k];
@@ -9395,7 +9395,7 @@ const Nf = {
9395
9395
  e("removeFile", P);
9396
9396
  };
9397
9397
  return (P, O) => {
9398
- var Z, L, j, k, V, J;
9398
+ var Z, L, j, k, D, J;
9399
9399
  return n.value ? (v(), C("div", Nf, [
9400
9400
  A(ba, {
9401
9401
  "can-go-back": !0,
@@ -9431,13 +9431,13 @@ const Nf = {
9431
9431
  }, null, 8, ["title"])
9432
9432
  ]),
9433
9433
  item: z(({ element: K }) => {
9434
- var D;
9434
+ var V;
9435
9435
  return [
9436
9436
  A(w5, {
9437
9437
  id: K.id,
9438
9438
  name: K.name,
9439
9439
  milestones: K.milestones,
9440
- "is-active": ((D = o.value) == null ? void 0 : D.id) === K.id,
9440
+ "is-active": ((V = o.value) == null ? void 0 : V.id) === K.id,
9441
9441
  "is-draggable": !0,
9442
9442
  onClick: (F) => P.$router.push({
9443
9443
  params: { templateId: P.templateId, phaseId: K.id }
@@ -9492,7 +9492,7 @@ const Nf = {
9492
9492
  key: 0,
9493
9493
  activity: u.value,
9494
9494
  "activity-types": P.activityTypes,
9495
- breadcrumbs: `${n.value.name} / ${(k = o.value) == null ? void 0 : k.name} / ${(V = l.value) == null ? void 0 : V.name}`,
9495
+ breadcrumbs: `${n.value.name} / ${(k = o.value) == null ? void 0 : k.name} / ${(D = l.value) == null ? void 0 : D.name}`,
9496
9496
  "milestone-id": (J = l.value) == null ? void 0 : J.id,
9497
9497
  "template-activities": d.value,
9498
9498
  "template-milestones": r.value,
@@ -10147,7 +10147,7 @@ function fh(t, e, a, s, n, i) {
10147
10147
  544
10148
10148
  /* HYDRATE_EVENTS, NEED_PATCH */
10149
10149
  ), [
10150
- [De, t.modelColor]
10150
+ [Ve, t.modelColor]
10151
10151
  ])
10152
10152
  ]);
10153
10153
  }
@@ -10695,7 +10695,7 @@ const bh = { class: "ao-card-project-phase__header" }, wh = { class: "ao-card-pr
10695
10695
  type: "date"
10696
10696
  }, null, 512)), [
10697
10697
  [
10698
- De,
10698
+ Ve,
10699
10699
  r.value,
10700
10700
  void 0,
10701
10701
  { lazy: !0 }
@@ -10747,10 +10747,10 @@ const Ih = /* @__PURE__ */ X({
10747
10747
  }, null, 4));
10748
10748
  }
10749
10749
  });
10750
- const Lh = { class: "ao-card-project-milestone__default" }, Ph = { class: "ao-title-with-badge-wrapper" }, Hh = { class: "ao-card-project-item__title-line" }, Vh = {
10750
+ const Lh = { class: "ao-card-project-milestone__default" }, Ph = { class: "ao-title-with-badge-wrapper" }, Hh = { class: "ao-card-project-item__title-line" }, Dh = {
10751
10751
  key: 0,
10752
10752
  class: "ao-card-project-item-milestone__estimation"
10753
- }, Dh = {
10753
+ }, Vh = {
10754
10754
  key: 0,
10755
10755
  class: "ao-card-project-milestone__archive"
10756
10756
  }, Bh = { class: "ao-card-project-milestone__activities" }, jh = { class: "ao-card-project-milestone__activities-row" }, Rh = { class: "ao-card-project-milestone__subitem" }, Nh = { class: "ao-card-project-milestone__subitem" }, Uh = {
@@ -10819,10 +10819,10 @@ const Lh = { class: "ao-card-project-milestone__default" }, Ph = { class: "ao-ti
10819
10819
  class: "ao-card-project-milestone__title",
10820
10820
  "onUpdate:title": l
10821
10821
  }, null, 8, ["id", "title", "is-editable"]),
10822
- s.value ? (v(), C("span", Vh, " (" + Y(s.value) + ")", 1)) : E("", !0)
10822
+ s.value ? (v(), C("span", Dh, " (" + Y(s.value) + ")", 1)) : E("", !0)
10823
10823
  ])
10824
10824
  ]),
10825
- !r.readonly && r.isEditable ? (v(), C("div", Dh, [
10825
+ !r.readonly && r.isEditable ? (v(), C("div", Vh, [
10826
10826
  A(re, {
10827
10827
  color: "primary",
10828
10828
  variant: "ghost",
@@ -10996,7 +10996,7 @@ const Yh = { class: "ao-mapping-card-project-phase__header" }, xh = { class: "ao
10996
10996
  type: "date"
10997
10997
  }, null, 512)), [
10998
10998
  [
10999
- De,
10999
+ Ve,
11000
11000
  r.value,
11001
11001
  void 0,
11002
11002
  { lazy: !0 }
@@ -11378,7 +11378,7 @@ const _9 = ["onSubmit"], y9 = { class: "ao-save-template-modal__form-body" }, b9
11378
11378
  "onUpdate:modelValue": l[0] || (l[0] = (r) => s.value = r),
11379
11379
  type: "text"
11380
11380
  }, null, 512), [
11381
- [De, s.value]
11381
+ [Ve, s.value]
11382
11382
  ])
11383
11383
  ])
11384
11384
  ]),
@@ -11445,7 +11445,7 @@ function L9(t, e, a, s, n, i) {
11445
11445
  }, Y(o.label), 11, I9))), 128))
11446
11446
  ]);
11447
11447
  }
11448
- const sn = /* @__PURE__ */ q(O9, [["render", L9], ["__scopeId", "data-v-ff4e3297"]]), P9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, V9 = /* @__PURE__ */ X({
11448
+ const sn = /* @__PURE__ */ q(O9, [["render", L9], ["__scopeId", "data-v-ff4e3297"]]), P9 = { class: "ao-project" }, H9 = { class: "ao-project__body" }, D9 = /* @__PURE__ */ X({
11449
11449
  __name: "AoProjectOverviewProject",
11450
11450
  props: {
11451
11451
  project: {},
@@ -11653,7 +11653,7 @@ const sn = /* @__PURE__ */ q(O9, [["render", L9], ["__scopeId", "data-v-ff4e3297
11653
11653
  };
11654
11654
  }
11655
11655
  });
11656
- const D9 = { class: "ao-card-feed__header" }, B9 = {
11656
+ const V9 = { class: "ao-card-feed__header" }, B9 = {
11657
11657
  key: 1,
11658
11658
  class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
11659
11659
  }, j9 = {
@@ -11737,7 +11737,7 @@ const D9 = { class: "ao-card-feed__header" }, B9 = {
11737
11737
  "is-clickable": !0
11738
11738
  }, {
11739
11739
  header: z(() => [
11740
- f("div", D9, [
11740
+ f("div", V9, [
11741
11741
  s.value ? (v(), B(ra, {
11742
11742
  key: 0,
11743
11743
  label: s.value,
@@ -12013,7 +12013,7 @@ const n4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
12013
12013
  type: "date"
12014
12014
  }, null, 512), [
12015
12015
  [
12016
- De,
12016
+ Ve,
12017
12017
  g.value,
12018
12018
  void 0,
12019
12019
  { lazy: !0 }
@@ -12166,7 +12166,8 @@ const g4 = /* @__PURE__ */ X({
12166
12166
  project: {},
12167
12167
  userId: {},
12168
12168
  isEditable: { type: Boolean },
12169
- attachmentEnabled: { type: Boolean }
12169
+ attachmentEnabled: { type: Boolean },
12170
+ timeTrackingData: {}
12170
12171
  },
12171
12172
  emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
12172
12173
  setup(t, { emit: e }) {
@@ -12220,6 +12221,7 @@ const g4 = /* @__PURE__ */ X({
12220
12221
  "is-editable": m.isEditable,
12221
12222
  "attachment-enabled": m.attachmentEnabled,
12222
12223
  projects: [m.project],
12224
+ "time-tracking-data": m.timeTrackingData,
12223
12225
  onClose: m.$router.back,
12224
12226
  "onUpdate:activity": l,
12225
12227
  onAddSubtask: r,
@@ -12235,7 +12237,7 @@ const g4 = /* @__PURE__ */ X({
12235
12237
  se(m.$slots, "default", ha(ma(_)))
12236
12238
  ]),
12237
12239
  _: 3
12238
- }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : E("", !0);
12240
+ }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "onClose"])) : E("", !0);
12239
12241
  };
12240
12242
  }
12241
12243
  }), C4 = { class: "ao-col-header" }, _4 = /* @__PURE__ */ X({
@@ -12373,10 +12375,10 @@ const E4 = {
12373
12375
  }, H4 = {
12374
12376
  key: 0,
12375
12377
  class: "ao-list-kanban__no-more"
12376
- }, V4 = {
12378
+ }, D4 = {
12377
12379
  key: 1,
12378
12380
  class: "ao-list-kanban__divider"
12379
- }, D4 = {
12381
+ }, V4 = {
12380
12382
  key: 1,
12381
12383
  class: "ao-list-kanban__footer"
12382
12384
  }, B4 = /* @__PURE__ */ X({
@@ -12523,12 +12525,12 @@ const E4 = {
12523
12525
  ref: n,
12524
12526
  class: "ao-list-kanban__end"
12525
12527
  }, null, 512)) : (v(), C("div", P4, [
12526
- u.noMoreLabel ? (v(), C("span", H4, Y(u.noMoreLabel), 1)) : u.isEditable ? (v(), C("span", V4)) : E("", !0)
12528
+ u.noMoreLabel ? (v(), C("span", H4, Y(u.noMoreLabel), 1)) : u.isEditable ? (v(), C("span", D4)) : E("", !0)
12527
12529
  ]))
12528
12530
  ]),
12529
12531
  _: 1
12530
12532
  }, 16, ["class", "list", "disabled"]),
12531
- u.$slots.footer || u.footerLabel ? (v(), C("div", D4, [
12533
+ u.$slots.footer || u.footerLabel ? (v(), C("div", V4, [
12532
12534
  se(u.$slots, "footer", {}, () => [
12533
12535
  u.isEditable ? (v(), B(Ct, {
12534
12536
  key: 0,
@@ -12616,16 +12618,16 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12616
12618
  ce(
12617
12619
  [() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
12618
12620
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
12619
- async ([L, j, k, V], [J, K]) => {
12621
+ async ([L, j, k, D], [J, K]) => {
12620
12622
  l.value = Object.fromEntries(
12621
- L.map((D) => [
12622
- D.id,
12623
+ L.map((V) => [
12624
+ V.id,
12623
12625
  j.filter((F) => {
12624
12626
  var he;
12625
- return ((he = F.status) == null ? void 0 : he.id) === D.id;
12627
+ return ((he = F.status) == null ? void 0 : he.id) === V.id;
12626
12628
  })
12627
12629
  ])
12628
- ), k && !r.value ? (o(k, null), r.value = !0) : V && !r.value && (o(null, V), r.value = !0), d.value && Qe(j, K);
12630
+ ), k && !r.value ? (o(k, null), r.value = !0) : D && !r.value && (o(null, D), r.value = !0), d.value && Qe(j, K);
12629
12631
  },
12630
12632
  { immediate: !0 }
12631
12633
  );
@@ -12633,9 +12635,9 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12633
12635
  var L;
12634
12636
  return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((L = a.selectedActivity.milestone.phase) == null ? void 0 : L.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
12635
12637
  }), p = (L) => {
12636
- var K, D;
12637
- const j = (K = a.activities) == null ? void 0 : K.at(-1), k = j ? we.LexoRank.parse(j.rank).genNext() : we.LexoRank.middle(), V = ((D = a.activities) == null ? void 0 : D.length) ?? 0, J = {
12638
- name: s("activity.defaultName", { idx: V + 1 }),
12638
+ var K, V;
12639
+ const j = (K = a.activities) == null ? void 0 : K.at(-1), k = j ? we.LexoRank.parse(j.rank).genNext() : we.LexoRank.middle(), D = ((V = a.activities) == null ? void 0 : V.length) ?? 0, J = {
12640
+ name: s("activity.defaultName", { idx: D + 1 }),
12639
12641
  rank: k.format(),
12640
12642
  statusId: L.id
12641
12643
  };
@@ -12712,7 +12714,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12712
12714
  A(sn, {
12713
12715
  tabs: Z,
12714
12716
  modelValue: O.value,
12715
- "onUpdate:modelValue": j[0] || (j[0] = (V) => O.value = V)
12717
+ "onUpdate:modelValue": j[0] || (j[0] = (D) => O.value = D)
12716
12718
  }, null, 8, ["modelValue"]),
12717
12719
  A(N4, {
12718
12720
  "model-value": L.searchText,
@@ -12730,7 +12732,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12730
12732
  searchable: !0,
12731
12733
  class: "ao-feed__filter ao-feed__filter__projects",
12732
12734
  placeholder: L.$t("feed.filters.project.placeholder"),
12733
- "onUpdate:modelValue": j[1] || (j[1] = (V) => h(W(Bt).project, V))
12735
+ "onUpdate:modelValue": j[1] || (j[1] = (D) => h(W(Bt).project, D))
12734
12736
  }, null, 8, ["model-value", "options", "placeholder"])),
12735
12737
  m.value ? (v(), B(Ae, {
12736
12738
  key: 1,
@@ -12741,7 +12743,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12741
12743
  searchable: !0,
12742
12744
  class: "ao-feed__filter ao-feed__filter__types",
12743
12745
  placeholder: L.$t("feed.filters.activityType.placeholder"),
12744
- "onUpdate:modelValue": j[2] || (j[2] = (V) => h(W(Bt).type, V))
12746
+ "onUpdate:modelValue": j[2] || (j[2] = (D) => h(W(Bt).type, D))
12745
12747
  }, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
12746
12748
  $.value.length ? (v(), B(Ae, {
12747
12749
  key: 2,
@@ -12752,17 +12754,17 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12752
12754
  searchable: !0,
12753
12755
  class: "ao-feed__filter ao-feed__filter__assignees",
12754
12756
  placeholder: L.$t("feed.filters.assignee.placeholder"),
12755
- "onUpdate:modelValue": j[3] || (j[3] = (V) => h(W(Bt).assignee, V))
12757
+ "onUpdate:modelValue": j[3] || (j[3] = (D) => h(W(Bt).assignee, D))
12756
12758
  }, {
12757
12759
  tag: z(({
12758
- option: V,
12760
+ option: D,
12759
12761
  handleTagRemove: J
12760
12762
  }) => [
12761
12763
  A(et, {
12762
- "user-name": V.label,
12763
- "avatar-url": V.avatar,
12764
+ "user-name": D.label,
12765
+ "avatar-url": D.avatar,
12764
12766
  "is-closable": !0,
12765
- onClose: (K) => J(V, K)
12767
+ onClose: (K) => J(D, K)
12766
12768
  }, null, 8, ["user-name", "avatar-url", "onClose"])
12767
12769
  ]),
12768
12770
  _: 1
@@ -12778,7 +12780,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12778
12780
  label: L.$t("feed.filters.showsOnlyNonAssigned.label"),
12779
12781
  role: "checkbox",
12780
12782
  "aria-checked": L.showsOnlyNonAssigned,
12781
- onClick: j[4] || (j[4] = (V) => L.$emit("update:showsOnlyNonAssigned", !L.showsOnlyNonAssigned))
12783
+ onClick: j[4] || (j[4] = (D) => L.$emit("update:showsOnlyNonAssigned", !L.showsOnlyNonAssigned))
12782
12784
  }, null, 8, ["icon-name", "label", "aria-checked"]),
12783
12785
  A(re, {
12784
12786
  class: "ao-feed__only-important",
@@ -12790,7 +12792,7 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12790
12792
  label: L.$t("feed.filters.showsOnlyImportant.label"),
12791
12793
  role: "checkbox",
12792
12794
  "aria-checked": L.showsOnlyImportant,
12793
- onClick: j[5] || (j[5] = (V) => L.$emit("update:showsOnlyImportant", !L.showsOnlyImportant))
12795
+ onClick: j[5] || (j[5] = (D) => L.$emit("update:showsOnlyImportant", !L.showsOnlyImportant))
12794
12796
  }, null, 8, ["icon-name", "label", "aria-checked"]),
12795
12797
  A(re, {
12796
12798
  class: "ao-feed__show-archived",
@@ -12802,23 +12804,23 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12802
12804
  label: L.$t("feed.filters.showsArchivedActivities.label"),
12803
12805
  role: "checkbox",
12804
12806
  "aria-checked": L.showsArchivedActivities,
12805
- onClick: j[6] || (j[6] = (V) => L.$emit("update:showsArchivedActivities", !L.showsArchivedActivities))
12807
+ onClick: j[6] || (j[6] = (D) => L.$emit("update:showsArchivedActivities", !L.showsArchivedActivities))
12806
12808
  }, null, 8, ["icon-name", "label", "aria-checked"])
12807
12809
  ]),
12808
12810
  _: 1
12809
12811
  }),
12810
12812
  f("div", Z4, [
12811
- (v(!0), C(fe, null, Ce(L.statuses, (V) => (v(), B(B4, {
12812
- key: V.id,
12813
- status: V,
12814
- list: l.value[V.id],
12815
- title: V.name,
12813
+ (v(!0), C(fe, null, Ce(L.statuses, (D) => (v(), B(B4, {
12814
+ key: D.id,
12815
+ status: D,
12816
+ list: l.value[D.id],
12817
+ title: D.name,
12816
12818
  "footer-label": L.$t("feed.activity.add"),
12817
12819
  users: L.users,
12818
12820
  "user-id": L.userId,
12819
12821
  "is-editable": L.isEditable,
12820
12822
  tagType: u.value,
12821
- onAdd: () => p(V),
12823
+ onAdd: () => p(D),
12822
12824
  onSelectActivity: o,
12823
12825
  onArchiveActivity: _,
12824
12826
  onUnarchiveActivity: I,
@@ -12854,8 +12856,8 @@ const U4 = { class: "ao-feed" }, F4 = { class: "ao-feed__filters" }, Z4 = { clas
12854
12856
  onRemoveComment: ae,
12855
12857
  onToast: n
12856
12858
  }, {
12857
- default: z((V) => [
12858
- se(L.$slots, "activityDetailsBody", ha(ma(V)))
12859
+ default: z((D) => [
12860
+ se(L.$slots, "activityDetailsBody", ha(ma(D)))
12859
12861
  ]),
12860
12862
  _: 3
12861
12863
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data"])) : E("", !0)
@@ -13031,7 +13033,7 @@ const Rt = {
13031
13033
  {
13032
13034
  path: "",
13033
13035
  name: ye.project,
13034
- component: V9,
13036
+ component: D9,
13035
13037
  props: !0,
13036
13038
  children: [
13037
13039
  {
@@ -13141,8 +13143,8 @@ const Rt = {
13141
13143
  id: u.id,
13142
13144
  title: u.name,
13143
13145
  phases: u.phases,
13144
- milestones: (c = u.phases) != null && c.length ? W(V3)(u.phases) : 0,
13145
- activities: u.phases ? W(D3)(u.phases) : 0,
13146
+ milestones: (c = u.phases) != null && c.length ? W(D3)(u.phases) : 0,
13147
+ activities: u.phases ? W(V3)(u.phases) : 0,
13146
13148
  "updated-at": u.updatedAt,
13147
13149
  "updated-by": u.updatedBy,
13148
13150
  onUpdateTitle: (p) => i(u.id, p),