@26lights/orcha 0.9.25 → 0.9.27

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 Y, openBlock as v, createBlock as U, unref as Z, mergeProps as Ve, createElementBlock as m, createElementVNode as d, pushScopeId as nn, popScopeId as sn, createStaticVNode as on, computed as b, resolveDynamicComponent as et, normalizeClass as X, renderSlot as J, toDisplayString as q, createCommentVNode as S, ref as Q, watch as re, nextTick as Ee, withKeys as ze, toHandlers as ln, withCtx as R, createTextVNode as t1, createVNode as k, normalizeStyle as la, withModifiers as _e, createSlots as Ht, Fragment as fe, renderList as ye, onMounted as Dt, onBeforeUnmount as rn, onUnmounted as ra, toRefs as $e, getCurrentInstance as tt, toRef as ct, normalizeProps as un, guardReactiveProps as cn, onUpdated as dn, withDirectives as dt, vModelText as Et, vModelCheckbox as fn, Teleport as It, resolveComponent as vn, getCurrentScope as pn, onScopeDispose as hn, provide as mn } from "vue";
1
+ import { defineComponent as Y, openBlock as v, createBlock as U, unref as Z, mergeProps as Ve, createElementBlock as m, createElementVNode as d, pushScopeId as nn, popScopeId as sn, createStaticVNode as on, computed as b, resolveDynamicComponent as et, normalizeClass as X, renderSlot as ee, toDisplayString as q, createCommentVNode as S, ref as Q, watch as re, nextTick as Ee, withKeys as ze, toHandlers as ln, withCtx as R, createTextVNode as t1, createVNode as k, normalizeStyle as la, withModifiers as _e, createSlots as Ht, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as rn, onUnmounted as ra, toRefs as $e, getCurrentInstance as tt, toRef as ct, normalizeProps as un, guardReactiveProps as cn, onUpdated as dn, withDirectives as dt, vModelText as Et, vModelCheckbox as fn, Teleport as It, resolveComponent as vn, getCurrentScope as pn, onScopeDispose as hn, provide as mn } from "vue";
2
2
  import { RouterView as Cn } from "vue-router";
3
3
  import Ge from "vuedraggable";
4
4
  const N4 = /* @__PURE__ */ Y({
@@ -1179,7 +1179,7 @@ const ec = ["type"], tc = {
1179
1179
  n.$attrs.disabled ? "ao-button--is-disabled" : ""
1180
1180
  ])
1181
1181
  }, [
1182
- J(n.$slots, "default", {}, () => [
1182
+ ee(n.$slots, "default", {}, () => [
1183
1183
  n.label ? (v(), m("span", tc, q(n.label), 1)) : S("", !0)
1184
1184
  ]),
1185
1185
  s.value ? (v(), U(de, {
@@ -1347,22 +1347,22 @@ const ac = {
1347
1347
  "is-editable": !0,
1348
1348
  "onUpdate:title": t
1349
1349
  }, null, 8, ["id", "title"]),
1350
- J(s.$slots, "subtitle", {}, () => [
1350
+ ee(s.$slots, "subtitle", {}, () => [
1351
1351
  s.subtitle ? (v(), m("span", oc, q(s.subtitle), 1)) : S("", !0)
1352
1352
  ])
1353
1353
  ]),
1354
1354
  s.$slots.header ? (v(), m("div", lc, [
1355
- J(s.$slots, "header")
1355
+ ee(s.$slots, "header")
1356
1356
  ])) : S("", !0)
1357
1357
  ]),
1358
1358
  s.$slots.default ? (v(), m("div", rc, [
1359
- J(s.$slots, "default")
1359
+ ee(s.$slots, "default")
1360
1360
  ])) : S("", !0),
1361
1361
  s.$slots.footer ? (v(), m("div", uc, [
1362
- J(s.$slots, "footer")
1362
+ ee(s.$slots, "footer")
1363
1363
  ])) : S("", !0),
1364
1364
  s.$slots.secondary ? (v(), m("div", cc, [
1365
- J(s.$slots, "secondary")
1365
+ ee(s.$slots, "secondary")
1366
1366
  ])) : S("", !0)
1367
1367
  ]),
1368
1368
  _: 3
@@ -2664,25 +2664,25 @@ function Md(a, e, t) {
2664
2664
  weekStartsOn: K,
2665
2665
  locale: O,
2666
2666
  _originalDate: ie
2667
- }, le = F.match(yd).map(function(ee) {
2668
- var ue = ee[0];
2667
+ }, le = F.match(yd).map(function(ae) {
2668
+ var ue = ae[0];
2669
2669
  if (ue === "p" || ue === "P") {
2670
2670
  var se = Ec[ue];
2671
- return se(ee, O.formatLong);
2671
+ return se(ae, O.formatLong);
2672
2672
  }
2673
- return ee;
2674
- }).join("").match(gd).map(function(ee) {
2675
- if (ee === "''")
2673
+ return ae;
2674
+ }).join("").match(gd).map(function(ae) {
2675
+ if (ae === "''")
2676
2676
  return "'";
2677
- var ue = ee[0];
2677
+ var ue = ae[0];
2678
2678
  if (ue === "'")
2679
- return kd(ee);
2679
+ return kd(ae);
2680
2680
  var se = Ac[ue];
2681
2681
  if (se)
2682
- return !(t != null && t.useAdditionalWeekYearTokens) && Vc(ee) && Q1(ee, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Lc(ee) && Q1(ee, e, String(a)), se(T, ee, O.localize, P);
2682
+ return !(t != null && t.useAdditionalWeekYearTokens) && Vc(ae) && Q1(ae, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Lc(ae) && Q1(ae, e, String(a)), se(T, ae, O.localize, P);
2683
2683
  if (ue.match($d))
2684
2684
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + ue + "`");
2685
- return ee;
2685
+ return ae;
2686
2686
  }).join("");
2687
2687
  return le;
2688
2688
  }
@@ -3663,7 +3663,7 @@ const e3 = { class: "ao-card-template__subitems" }, t3 = { class: "ao-card-templ
3663
3663
  d("span", r3, q(s.$t("template.phases.title")), 1)
3664
3664
  ]),
3665
3665
  s.phases ? (v(), m("ul", u3, [
3666
- (v(!0), m(fe, null, ye(s.phases, (o) => (v(), U(S1, {
3666
+ (v(!0), m(ve, null, ye(s.phases, (o) => (v(), U(S1, {
3667
3667
  key: o.id,
3668
3668
  label: o.name || o.id,
3669
3669
  color: "primary",
@@ -3720,10 +3720,10 @@ const y3 = { class: "ao-page-header" }, b3 = { class: "ao-page-header-main" }, w
3720
3720
  variant: "ghost",
3721
3721
  onClick: t[0] || (t[0] = (s) => e.$emit("goBack"))
3722
3722
  })) : S("", !0),
3723
- J(e.$slots, "primary")
3723
+ ee(e.$slots, "primary")
3724
3724
  ]),
3725
3725
  e.$slots.secondary ? (v(), m("div", w3, [
3726
- J(e.$slots, "secondary")
3726
+ ee(e.$slots, "secondary")
3727
3727
  ])) : S("", !0)
3728
3728
  ]));
3729
3729
  }
@@ -3754,7 +3754,7 @@ const $3 = ["type"], M3 = {
3754
3754
  n.$attrs.disabled ? "ao-button-card--is-disabled" : ""
3755
3755
  ])
3756
3756
  }, [
3757
- J(n.$slots, "default", {}, () => [
3757
+ ee(n.$slots, "default", {}, () => [
3758
3758
  n.label ? (v(), m("span", M3, q(n.label), 1)) : S("", !0)
3759
3759
  ]),
3760
3760
  s.value ? (v(), U(de, {
@@ -3792,7 +3792,7 @@ const k3 = { class: "ao-card-template-item__footer" }, A3 = {
3792
3792
  return (i, l) => (v(), U(da, { "onUpdate:title": t }, {
3793
3793
  footer: R(() => [
3794
3794
  d("ul", k3, [
3795
- (v(), m(fe, null, ye(s, (r) => (v(), m(fe, { key: r }, [
3795
+ (v(), m(ve, null, ye(s, (r) => (v(), m(ve, { key: r }, [
3796
3796
  i.$props[r] ? (v(), m("li", A3, [
3797
3797
  k(de, {
3798
3798
  name: n[r],
@@ -3837,7 +3837,7 @@ const E3 = /* @__PURE__ */ Y({
3837
3837
  milestones: t.value
3838
3838
  }, n.$attrs), {
3839
3839
  default: R(() => [
3840
- J(n.$slots, "default")
3840
+ ee(n.$slots, "default")
3841
3841
  ]),
3842
3842
  _: 3
3843
3843
  }, 16, ["id", "title", "activities", "milestones"]));
@@ -3854,7 +3854,7 @@ const E3 = /* @__PURE__ */ Y({
3854
3854
  });
3855
3855
  return (s, n) => (v(), U(I1, { activities: t.value }, {
3856
3856
  default: R(() => [
3857
- J(s.$slots, "default")
3857
+ ee(s.$slots, "default")
3858
3858
  ]),
3859
3859
  _: 3
3860
3860
  }, 8, ["activities"]));
@@ -3941,7 +3941,7 @@ const E3 = /* @__PURE__ */ Y({
3941
3941
  });
3942
3942
  return (s, n) => (v(), U(I1, { tasks: t.value }, {
3943
3943
  default: R(() => [
3944
- J(s.$slots, "default")
3944
+ ee(s.$slots, "default")
3945
3945
  ]),
3946
3946
  _: 3
3947
3947
  }, 8, ["tasks"]));
@@ -4045,14 +4045,14 @@ const E3 = /* @__PURE__ */ Y({
4045
4045
  })
4046
4046
  ]),
4047
4047
  e.$slots.header ? (v(), m("header", R3, [
4048
- J(e.$slots, "header")
4048
+ ee(e.$slots, "header")
4049
4049
  ])) : S("", !0)
4050
4050
  ]),
4051
4051
  d("div", U3, [
4052
- J(e.$slots, "default")
4052
+ ee(e.$slots, "default")
4053
4053
  ]),
4054
4054
  e.$slots.footer ? (v(), m("footer", j3, [
4055
- J(e.$slots, "footer")
4055
+ ee(e.$slots, "footer")
4056
4056
  ])) : S("", !0)
4057
4057
  ])
4058
4058
  ], 2));
@@ -4354,13 +4354,13 @@ const Q3 = function(a) {
4354
4354
  placement: P
4355
4355
  }
4356
4356
  };
4357
- let le = (ie = z.filter((ee) => ee.overflows[0] <= 0).sort((ee, ue) => ee.overflows[1] - ue.overflows[1])[0]) == null ? void 0 : ie.placement;
4357
+ let le = (ie = z.filter((ae) => ae.overflows[0] <= 0).sort((ae, ue) => ae.overflows[1] - ue.overflows[1])[0]) == null ? void 0 : ie.placement;
4358
4358
  if (!le)
4359
4359
  switch (h) {
4360
4360
  case "bestFit": {
4361
4361
  var y;
4362
- const ee = (y = z.map((ue) => [ue.placement, ue.overflows.filter((se) => se > 0).reduce((se, E) => se + E, 0)]).sort((ue, se) => ue[1] - se[1])[0]) == null ? void 0 : y[0];
4363
- ee && (le = ee);
4362
+ const ae = (y = z.map((ue) => [ue.placement, ue.overflows.filter((se) => se > 0).reduce((se, E) => se + E, 0)]).sort((ue, se) => ue[1] - se[1])[0]) == null ? void 0 : y[0];
4363
+ ae && (le = ae);
4364
4364
  break;
4365
4365
  }
4366
4366
  case "initialPlacement":
@@ -5022,22 +5022,22 @@ function A0(a, e, t) {
5022
5022
  closeOnSelect: T,
5023
5023
  closeOnDeselect: P,
5024
5024
  groups: le,
5025
- reverse: ee,
5025
+ reverse: ae,
5026
5026
  infinite: ue,
5027
5027
  groupOptions: se,
5028
5028
  groupHideEmpty: E,
5029
5029
  groupSelect: L,
5030
5030
  onCreate: _,
5031
5031
  disabledProp: N,
5032
- searchStart: he,
5033
- searchFilter: ne
5034
- } = $e(a), te = tt().proxy, x = t.iv, I = t.ev, W = t.search, Ce = t.clearSearch, Pe = t.update, Da = t.pointer, nt = t.clearPointer, Pa = t.focus, Ba = t.deactivate, st = t.close, Na = t.localize, gt = Q([]), Ze = Q([]), Ie = Q(!1), f1 = Q(null), v1 = Q(ue.value && i.value === -1 ? 10 : i.value), U1 = b(() => r.value || c.value || !1), Ra = b(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), Fe = b(() => {
5032
+ searchStart: fe,
5033
+ searchFilter: te
5034
+ } = $e(a), J = tt().proxy, x = t.iv, I = t.ev, W = t.search, Ce = t.clearSearch, Pe = t.update, Da = t.pointer, nt = t.clearPointer, Pa = t.focus, Ba = t.deactivate, st = t.close, Na = t.localize, gt = Q([]), Ze = Q([]), Ie = Q(!1), f1 = Q(null), v1 = Q(ue.value && i.value === -1 ? 10 : i.value), U1 = b(() => r.value || c.value || !1), Ra = b(() => f.value !== void 0 ? f.value : p.value !== void 0 ? p.value : !0), Fe = b(() => {
5035
5035
  if (le.value) {
5036
5036
  let C = Ut.value || /* istanbul ignore next */
5037
5037
  [], D = [];
5038
- return C.forEach((ae) => {
5039
- g1(ae[se.value]).forEach((ve) => {
5040
- D.push(Object.assign({}, ve, ae[N.value] ? { [N.value]: !0 } : {}));
5038
+ return C.forEach((ne) => {
5039
+ g1(ne[se.value]).forEach((pe) => {
5040
+ D.push(Object.assign({}, pe, ne[N.value] ? { [N.value]: !0 } : {}));
5041
5041
  });
5042
5042
  }), D;
5043
5043
  } else {
@@ -5047,7 +5047,7 @@ function A0(a, e, t) {
5047
5047
  }
5048
5048
  }), j1 = b(() => {
5049
5049
  let C = Fe.value;
5050
- return ee.value && (C = C.reverse()), it.value.length && (C = it.value.concat(C)), _1(C);
5050
+ return ae.value && (C = C.reverse()), it.value.length && (C = it.value.concat(C)), _1(C);
5051
5051
  }), yt = b(() => {
5052
5052
  let C = j1.value;
5053
5053
  return v1.value > 0 && (C = C.slice(0, v1.value)), C;
@@ -5073,14 +5073,14 @@ function A0(a, e, t) {
5073
5073
  return [];
5074
5074
  let C = Ua.value;
5075
5075
  return tn((C || /* istanbul ignore next */
5076
- []).map((D, ae) => {
5077
- const ve = g1(D[se.value]);
5076
+ []).map((D, ne) => {
5077
+ const pe = g1(D[se.value]);
5078
5078
  return {
5079
5079
  ...D,
5080
- index: ae,
5080
+ index: ne,
5081
5081
  group: !0,
5082
- [se.value]: _1(ve, !1).map((bt) => Object.assign({}, bt, D[N.value] ? { [N.value]: !0 } : {})),
5083
- __VISIBLE__: _1(ve).map((bt) => Object.assign({}, bt, D[N.value] ? { [N.value]: !0 } : {}))
5082
+ [se.value]: _1(pe, !1).map((bt) => Object.assign({}, bt, D[N.value] ? { [N.value]: !0 } : {})),
5083
+ __VISIBLE__: _1(pe).map((bt) => Object.assign({}, bt, D[N.value] ? { [N.value]: !0 } : {}))
5084
5084
  };
5085
5085
  }));
5086
5086
  }), p1 = b(() => {
@@ -5091,7 +5091,7 @@ function A0(a, e, t) {
5091
5091
  case "tags":
5092
5092
  return !Le(x.value) && x.value.length > 0;
5093
5093
  }
5094
- }), ja = b(() => h !== void 0 && h.value !== void 0 ? h.value(x.value, te) : x.value && x.value.length > 1 ? `${x.value.length} options selected` : "1 option selected"), Za = b(() => !Fe.value.length && !Ie.value && !it.value.length), Fa = b(() => Fe.value.length > 0 && yt.value.length == 0 && (W.value && le.value || !le.value)), it = b(() => U1.value === !1 || !W.value ? [] : Qa(W.value) !== -1 ? [] : [{
5094
+ }), ja = b(() => h !== void 0 && h.value !== void 0 ? h.value(x.value, J) : x.value && x.value.length > 1 ? `${x.value.length} options selected` : "1 option selected"), Za = b(() => !Fe.value.length && !Ie.value && !it.value.length), Fa = b(() => Fe.value.length > 0 && yt.value.length == 0 && (W.value && le.value || !le.value)), it = b(() => U1.value === !1 || !W.value ? [] : Qa(W.value) !== -1 ? [] : [{
5095
5095
  [H.value]: W.value,
5096
5096
  [Oe.value]: W.value,
5097
5097
  [u.value]: W.value,
@@ -5114,7 +5114,7 @@ function A0(a, e, t) {
5114
5114
  Pe(x.value.concat(C));
5115
5115
  break;
5116
5116
  }
5117
- e.emit("select", F1(C), C, te);
5117
+ e.emit("select", F1(C), C, J);
5118
5118
  }, lt = (C) => {
5119
5119
  switch (typeof C != "object" && (C = Ne(C)), n.value) {
5120
5120
  case "single":
@@ -5122,10 +5122,10 @@ function A0(a, e, t) {
5122
5122
  break;
5123
5123
  case "tags":
5124
5124
  case "multiple":
5125
- Pe(Array.isArray(C) ? x.value.filter((D) => C.map((ae) => ae[H.value]).indexOf(D[H.value]) === -1) : x.value.filter((D) => D[H.value] != C[H.value]));
5125
+ Pe(Array.isArray(C) ? x.value.filter((D) => C.map((ne) => ne[H.value]).indexOf(D[H.value]) === -1) : x.value.filter((D) => D[H.value] != C[H.value]));
5126
5126
  break;
5127
5127
  }
5128
- e.emit("deselect", F1(C), C, te);
5128
+ e.emit("deselect", F1(C), C, J);
5129
5129
  }, F1 = (C) => g.value ? C : C[H.value], q1 = (C) => {
5130
5130
  lt(C);
5131
5131
  }, za = (C, D) => {
@@ -5135,7 +5135,7 @@ function A0(a, e, t) {
5135
5135
  }
5136
5136
  q1(C);
5137
5137
  }, W1 = () => {
5138
- e.emit("clear", te), Pe(qa.value);
5138
+ e.emit("clear", J), Pe(qa.value);
5139
5139
  }, Be = (C) => {
5140
5140
  if (C.group !== void 0)
5141
5141
  return n.value === "single" ? !1 : Xa(C[se.value]) && C[se.value].length;
@@ -5148,7 +5148,7 @@ function A0(a, e, t) {
5148
5148
  }
5149
5149
  }, h1 = (C) => C[N.value] === !0, m1 = () => ie === void 0 || ie.value === -1 || !p1.value && ie.value > 0 ? !1 : x.value.length >= ie.value, xa = (C) => {
5150
5150
  if (!h1(C)) {
5151
- if (_ && _.value && !Be(C) && C.__CREATE__ && (C = { ...C }, delete C.__CREATE__, C = _.value(C, te), C instanceof Promise)) {
5151
+ if (_ && _.value && !Be(C) && C.__CREATE__ && (C = { ...C }, delete C.__CREATE__, C = _.value(C, J), C instanceof Promise)) {
5152
5152
  Ie.value = !0, C.then((D) => {
5153
5153
  Ie.value = !1, z1(D);
5154
5154
  });
@@ -5171,7 +5171,7 @@ function A0(a, e, t) {
5171
5171
  return;
5172
5172
  }
5173
5173
  if (m1()) {
5174
- e.emit("max", te);
5174
+ e.emit("max", J);
5175
5175
  return;
5176
5176
  }
5177
5177
  C && (C1(C), ot(C)), F.value && Ce(), l.value && nt(), T.value && st();
@@ -5182,7 +5182,7 @@ function A0(a, e, t) {
5182
5182
  return;
5183
5183
  }
5184
5184
  if (m1()) {
5185
- e.emit("max", te);
5185
+ e.emit("max", J);
5186
5186
  return;
5187
5187
  }
5188
5188
  C && C1(C), F.value && Ce(), C && ot(C), l.value && nt(), T.value && st();
@@ -5195,45 +5195,45 @@ function A0(a, e, t) {
5195
5195
  case "multiple":
5196
5196
  case "tags":
5197
5197
  Ga(C[se.value]) ? lt(C[se.value]) : ot(
5198
- C[se.value].filter((D) => x.value.map((ae) => ae[H.value]).indexOf(D[H.value]) === -1).filter((D) => !D[N.value]).filter((D, ae) => x.value.length + 1 + ae <= ie.value || ie.value === -1)
5198
+ C[se.value].filter((D) => x.value.map((ne) => ne[H.value]).indexOf(D[H.value]) === -1).filter((D) => !D[N.value]).filter((D, ne) => x.value.length + 1 + ne <= ie.value || ie.value === -1)
5199
5199
  );
5200
5200
  break;
5201
5201
  }
5202
5202
  T.value && Ba();
5203
5203
  }
5204
5204
  }, C1 = (C) => {
5205
- Ne(C[H.value]) === void 0 && U1.value && (e.emit("tag", C[H.value], te), e.emit("option", C[H.value], te), e.emit("create", C[H.value], te), Ra.value && en(C), Ce());
5205
+ Ne(C[H.value]) === void 0 && U1.value && (e.emit("tag", C[H.value], J), e.emit("option", C[H.value], J), e.emit("create", C[H.value], J), Ra.value && en(C), Ce());
5206
5206
  }, Ka = () => {
5207
5207
  n.value !== "single" && ot(yt.value.filter((C) => !C.disabled && !Be(C)));
5208
- }, Ga = (C) => C.find((D) => !Be(D) && !D[N.value]) === void 0, Xa = (C) => C.find((D) => !Be(D)) === void 0, Ne = (C) => Fe.value[Fe.value.map((D) => String(D[H.value])).indexOf(String(C))], Qa = (C, D = !0) => Fe.value.map((ae) => parseInt(ae[Oe.value]) == ae[Oe.value] ? parseInt(ae[Oe.value]) : ae[Oe.value]).indexOf(
5208
+ }, Ga = (C) => C.find((D) => !Be(D) && !D[N.value]) === void 0, Xa = (C) => C.find((D) => !Be(D)) === void 0, Ne = (C) => Fe.value[Fe.value.map((D) => String(D[H.value])).indexOf(String(C))], Qa = (C, D = !0) => Fe.value.map((ne) => parseInt(ne[Oe.value]) == ne[Oe.value] ? parseInt(ne[Oe.value]) : ne[Oe.value]).indexOf(
5209
5209
  parseInt(C) == C ? parseInt(C) : C
5210
5210
  ), Ja = (C) => ["tags", "multiple"].indexOf(n.value) !== -1 && l.value && Be(C), en = (C) => {
5211
5211
  gt.value.push(C);
5212
5212
  }, tn = (C) => E.value ? C.filter(
5213
5213
  (D) => W.value ? D.__VISIBLE__.length : D[se.value].length
5214
5214
  ) : C.filter((D) => W.value ? D.__VISIBLE__.length : !0), _1 = (C, D = !0) => {
5215
- let ae = C;
5215
+ let ne = C;
5216
5216
  if (W.value && V.value) {
5217
- let ve = ne.value;
5218
- ve || (ve = (bt, H4) => {
5217
+ let pe = te.value;
5218
+ pe || (pe = (bt, H4) => {
5219
5219
  let Y1 = $1(Na(bt[Oe.value]), y.value);
5220
- return he.value ? Y1.startsWith($1(W.value, y.value)) : Y1.indexOf($1(W.value, y.value)) !== -1;
5221
- }), ae = ae.filter(ve);
5220
+ return fe.value ? Y1.startsWith($1(W.value, y.value)) : Y1.indexOf($1(W.value, y.value)) !== -1;
5221
+ }), ne = ne.filter(pe);
5222
5222
  }
5223
- return l.value && D && (ae = ae.filter((ve) => !Ja(ve))), ae;
5223
+ return l.value && D && (ne = ne.filter((pe) => !Ja(pe))), ne;
5224
5224
  }, g1 = (C) => {
5225
5225
  let D = C;
5226
- return M0(D) && (D = Object.keys(D).map((ae) => {
5227
- let ve = D[ae];
5228
- return { [H.value]: ae, [Oe.value]: ve, [u.value]: ve };
5229
- })), D = D.map((ae) => typeof ae == "object" ? ae : { [H.value]: ae, [Oe.value]: ae, [u.value]: ae }), D;
5226
+ return M0(D) && (D = Object.keys(D).map((ne) => {
5227
+ let pe = D[ne];
5228
+ return { [H.value]: ne, [Oe.value]: pe, [u.value]: pe };
5229
+ })), D = D.map((ne) => typeof ne == "object" ? ne : { [H.value]: ne, [Oe.value]: ne, [u.value]: ne }), D;
5230
5230
  }, jt = () => {
5231
5231
  Le(I.value) || (x.value = Ft(I.value));
5232
- }, Zt = (C) => (Ie.value = !0, new Promise((D, ae) => {
5233
- s.value(W.value, te).then((ve) => {
5234
- Ze.value = ve || [], typeof C == "function" && C(ve), Ie.value = !1;
5235
- }).catch((ve) => {
5236
- console.error(ve), Ze.value = [], Ie.value = !1;
5232
+ }, Zt = (C) => (Ie.value = !0, new Promise((D, ne) => {
5233
+ s.value(W.value, J).then((pe) => {
5234
+ Ze.value = pe || [], typeof C == "function" && C(pe), Ie.value = !1;
5235
+ }).catch((pe) => {
5236
+ console.error(pe), Ze.value = [], Ie.value = !1;
5237
5237
  }).finally(() => {
5238
5238
  D();
5239
5239
  });
@@ -5247,10 +5247,10 @@ function A0(a, e, t) {
5247
5247
  }
5248
5248
  } else
5249
5249
  x.value.forEach((C, D) => {
5250
- let ae = Ne(x.value[D][H.value]);
5251
- if (ae !== void 0) {
5252
- let ve = ae[u.value];
5253
- x.value[D][u.value] = ve, g.value && (I.value[D][u.value] = ve);
5250
+ let ne = Ne(x.value[D][H.value]);
5251
+ if (ne !== void 0) {
5252
+ let pe = ne[u.value];
5253
+ x.value[D][u.value] = pe, g.value && (I.value[D][u.value] = pe);
5254
5254
  }
5255
5255
  });
5256
5256
  }, an = (C) => {
@@ -5266,8 +5266,8 @@ function A0(a, e, t) {
5266
5266
  }), x1 = () => {
5267
5267
  f1.value = re(W, (C) => {
5268
5268
  C.length < w.value || !C && w.value !== 0 || (Ie.value = !0, j.value && (Ze.value = []), setTimeout(() => {
5269
- C == W.value && s.value(W.value, te).then((D) => {
5270
- (C == W.value || !W.value) && (Ze.value = D, Da.value = yt.value.filter((ae) => ae[N.value] !== !0)[0] || null, Ie.value = !1);
5269
+ C == W.value && s.value(W.value, J).then((D) => {
5270
+ (C == W.value || !W.value) && (Ze.value = D, Da.value = yt.value.filter((ne) => ne[N.value] !== !0)[0] || null, Ie.value = !1);
5271
5271
  }).catch(
5272
5272
  /* istanbul ignore next */
5273
5273
  (D) => {
@@ -5342,27 +5342,27 @@ function T0(a, e, t) {
5342
5342
  groupSelect: c,
5343
5343
  disabledProp: u,
5344
5344
  groupOptions: f
5345
- } = $e(a), p = t.fo, h = t.fg, g = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, M = t.pointer, w = t.setPointer, V = t.clearPointer, j = t.multiselect, F = t.isOpen, H = b(() => p.value.filter((I) => !I[u.value])), O = b(() => h.value.filter((I) => !I[u.value])), z = b(() => r.value !== "single" && c.value), K = b(() => M.value && M.value.group), ie = b(() => te(M.value)), y = b(() => {
5345
+ } = $e(a), p = t.fo, h = t.fg, g = t.handleOptionClick, $ = t.handleGroupClick, A = t.search, M = t.pointer, w = t.setPointer, V = t.clearPointer, j = t.multiselect, F = t.isOpen, H = b(() => p.value.filter((I) => !I[u.value])), O = b(() => h.value.filter((I) => !I[u.value])), z = b(() => r.value !== "single" && c.value), K = b(() => M.value && M.value.group), ie = b(() => J(M.value)), y = b(() => {
5346
5346
  const I = K.value ? M.value : (
5347
5347
  /* istanbul ignore next */
5348
- te(M.value)
5348
+ J(M.value)
5349
5349
  ), W = O.value.map((Pe) => Pe[i.value]).indexOf(I[i.value]);
5350
5350
  let Ce = O.value[W - 1];
5351
5351
  return Ce === void 0 && (Ce = P.value), Ce;
5352
5352
  }), T = b(() => {
5353
- let I = O.value.map((W) => W.label).indexOf(K.value ? M.value[i.value] : te(M.value)[i.value]) + 1;
5353
+ let I = O.value.map((W) => W.label).indexOf(K.value ? M.value[i.value] : J(M.value)[i.value]) + 1;
5354
5354
  return O.value.length <= I && (I = 0), O.value[I];
5355
- }), P = b(() => [...O.value].slice(-1)[0]), le = b(() => M.value.__VISIBLE__.filter((I) => !I[u.value])[0]), ee = b(() => {
5355
+ }), P = b(() => [...O.value].slice(-1)[0]), le = b(() => M.value.__VISIBLE__.filter((I) => !I[u.value])[0]), ae = b(() => {
5356
5356
  const I = ie.value.__VISIBLE__.filter((W) => !W[u.value]);
5357
5357
  return I[I.map((W) => W[s.value]).indexOf(M.value[s.value]) - 1];
5358
5358
  }), ue = b(() => {
5359
- const I = te(M.value).__VISIBLE__.filter((W) => !W[u.value]);
5359
+ const I = J(M.value).__VISIBLE__.filter((W) => !W[u.value]);
5360
5360
  return I[I.map((W) => W[s.value]).indexOf(M.value[s.value]) + 1];
5361
5361
  }), se = b(() => [...y.value.__VISIBLE__.filter((I) => !I[u.value])].slice(-1)[0]), E = b(() => [...P.value.__VISIBLE__.filter((I) => !I[u.value])].slice(-1)[0]), L = (I) => M.value && (!I.group && M.value[s.value] === I[s.value] || I.group !== void 0 && M.value[i.value] === I[i.value]) ? !0 : void 0, _ = () => {
5362
5362
  w(H.value[0] || null);
5363
5363
  }, N = () => {
5364
5364
  !M.value || M.value[u.value] === !0 || (K.value ? $(M.value) : g(M.value));
5365
- }, he = () => {
5365
+ }, fe = () => {
5366
5366
  if (M.value === null)
5367
5367
  w((l.value && z.value ? O.value[0].__CREATE__ ? H.value[0] : O.value[0] : H.value[0]) || null);
5368
5368
  else if (l.value && z.value) {
@@ -5376,12 +5376,12 @@ function T0(a, e, t) {
5376
5376
  Ee(() => {
5377
5377
  x();
5378
5378
  });
5379
- }, ne = () => {
5379
+ }, te = () => {
5380
5380
  if (M.value === null) {
5381
5381
  let I = H.value[H.value.length - 1];
5382
5382
  l.value && z.value && (I = E.value, I === void 0 && (I = P.value)), w(I || null);
5383
5383
  } else if (l.value && z.value) {
5384
- let I = K.value ? se.value : ee.value;
5384
+ let I = K.value ? se.value : ae.value;
5385
5385
  I === void 0 && (I = K.value ? y.value : ie.value, I.__CREATE__ && (I = se.value, I === void 0 && (I = y.value))), w(I || /* istanbul ignore next */
5386
5386
  null);
5387
5387
  } else {
@@ -5391,7 +5391,7 @@ function T0(a, e, t) {
5391
5391
  Ee(() => {
5392
5392
  x();
5393
5393
  });
5394
- }, te = (I) => O.value.find((W) => W.__VISIBLE__.map((Ce) => Ce[s.value]).indexOf(I[s.value]) !== -1), x = () => {
5394
+ }, J = (I) => O.value.find((W) => W.__VISIBLE__.map((Ce) => Ce[s.value]).indexOf(I[s.value]) !== -1), x = () => {
5395
5395
  let I = j.value.querySelector("[data-pointed]");
5396
5396
  if (!I)
5397
5397
  return;
@@ -5416,8 +5416,8 @@ function T0(a, e, t) {
5416
5416
  isPointed: L,
5417
5417
  setPointerFirst: _,
5418
5418
  selectPointer: N,
5419
- forwardPointer: he,
5420
- backwardPointer: ne
5419
+ forwardPointer: fe,
5420
+ backwardPointer: te
5421
5421
  };
5422
5422
  }
5423
5423
  function S0(a, e, t) {
@@ -5486,7 +5486,7 @@ function I0(a, e, t) {
5486
5486
  createTag: f,
5487
5487
  createOption: p,
5488
5488
  reverse: h
5489
- } = $e(a), g = tt().proxy, $ = t.iv, A = t.update, M = t.search, w = t.setPointer, V = t.selectPointer, j = t.backwardPointer, F = t.forwardPointer, H = t.multiselect, O = t.wrapper, z = t.tags, K = t.isOpen, ie = t.open, y = t.blur, T = t.fo, P = b(() => f.value || p.value || !1), le = b(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
5489
+ } = $e(a), g = tt().proxy, $ = t.iv, A = t.update, M = t.search, w = t.setPointer, V = t.selectPointer, j = t.backwardPointer, F = t.forwardPointer, H = t.multiselect, O = t.wrapper, z = t.tags, K = t.isOpen, ie = t.open, y = t.blur, T = t.fo, P = b(() => f.value || p.value || !1), le = b(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ae = () => {
5490
5490
  s.value === "tags" && !l.value && P.value && i.value && !c.value && w(T.value[T.value.map((L) => L[r.value]).indexOf(M.value)]);
5491
5491
  }, ue = (L) => {
5492
5492
  let _ = L.length - 1;
@@ -5498,7 +5498,7 @@ function I0(a, e, t) {
5498
5498
  handleKeydown: (L) => {
5499
5499
  e.emit("keydown", L, g);
5500
5500
  let _, N;
5501
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(L.key) !== -1 && s.value === "tags" && (_ = [...H.value.querySelectorAll("[data-tags] > *")].filter((he) => he !== z.value), N = _.findIndex((he) => he === document.activeElement)), L.key) {
5501
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(L.key) !== -1 && s.value === "tags" && (_ = [...H.value.querySelectorAll("[data-tags] > *")].filter((fe) => fe !== z.value), N = _.findIndex((fe) => fe === document.activeElement)), L.key) {
5502
5502
  case "Backspace":
5503
5503
  if (s.value === "single" || i.value && [null, ""].indexOf(M.value) === -1 || $.value.length === 0)
5504
5504
  return;
@@ -5508,30 +5508,30 @@ function I0(a, e, t) {
5508
5508
  if (L.preventDefault(), L.keyCode === 229)
5509
5509
  return;
5510
5510
  if (N !== -1 && N !== void 0) {
5511
- A([...$.value].filter((he, ne) => ne !== N)), N === _.length - 1 && (_.length - 1 ? _[_.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : O.value.focus());
5511
+ A([...$.value].filter((fe, te) => te !== N)), N === _.length - 1 && (_.length - 1 ? _[_.length - 2].focus() : i.value ? z.value.querySelector("input").focus() : O.value.focus());
5512
5512
  return;
5513
5513
  }
5514
5514
  if (le.value.indexOf("enter") === -1 && P.value)
5515
5515
  return;
5516
- ee(), V();
5516
+ ae(), V();
5517
5517
  break;
5518
5518
  case " ":
5519
5519
  if (!P.value && !i.value) {
5520
- L.preventDefault(), ee(), V();
5520
+ L.preventDefault(), ae(), V();
5521
5521
  return;
5522
5522
  }
5523
5523
  if (!P.value)
5524
5524
  return !1;
5525
5525
  if (le.value.indexOf("space") === -1 && P.value)
5526
5526
  return;
5527
- L.preventDefault(), ee(), V();
5527
+ L.preventDefault(), ae(), V();
5528
5528
  break;
5529
5529
  case "Tab":
5530
5530
  case ";":
5531
5531
  case ",":
5532
5532
  if (le.value.indexOf(L.key.toLowerCase()) === -1 || !P.value)
5533
5533
  return;
5534
- ee(), V(), L.preventDefault();
5534
+ ae(), V(), L.preventDefault();
5535
5535
  break;
5536
5536
  case "Escape":
5537
5537
  y();
@@ -5561,7 +5561,7 @@ function I0(a, e, t) {
5561
5561
  handleKeyup: (L) => {
5562
5562
  e.emit("keyup", L, g);
5563
5563
  },
5564
- preparePointer: ee
5564
+ preparePointer: ae
5565
5565
  };
5566
5566
  }
5567
5567
  function O0(a, e, t) {
@@ -6185,9 +6185,9 @@ function a5(a, e, t, s, n, o) {
6185
6185
  },
6186
6186
  [
6187
6187
  (v(!0), m(
6188
- fe,
6188
+ ve,
6189
6189
  null,
6190
- ye(a.iv, (i, l, r) => J(a.$slots, "tag", {
6190
+ ye(a.iv, (i, l, r) => ee(a.$slots, "tag", {
6191
6191
  option: i,
6192
6192
  handleTagRemove: a.handleTagRemove,
6193
6193
  disabled: t.disabled
@@ -6276,7 +6276,7 @@ function a5(a, e, t, s, n, o) {
6276
6276
  /* CLASS */
6277
6277
  )) : S("v-if", !0),
6278
6278
  S(" Single label "),
6279
- t.mode == "single" && a.hasSelected && !a.search && a.iv ? J(a.$slots, "singlelabel", {
6279
+ t.mode == "single" && a.hasSelected && !a.search && a.iv ? ee(a.$slots, "singlelabel", {
6280
6280
  key: 2,
6281
6281
  value: a.iv
6282
6282
  }, () => [
@@ -6301,7 +6301,7 @@ function a5(a, e, t, s, n, o) {
6301
6301
  )
6302
6302
  ]) : S("v-if", !0),
6303
6303
  S(" Multiple label "),
6304
- t.mode == "multiple" && a.hasSelected && !a.search ? J(a.$slots, "multiplelabel", {
6304
+ t.mode == "multiple" && a.hasSelected && !a.search ? ee(a.$slots, "multiplelabel", {
6305
6305
  key: 3,
6306
6306
  values: a.iv
6307
6307
  }, () => [
@@ -6311,7 +6311,7 @@ function a5(a, e, t, s, n, o) {
6311
6311
  }, null, 10, Z0)
6312
6312
  ]) : S("v-if", !0),
6313
6313
  S(" Placeholder "),
6314
- t.placeholder && !a.hasSelected && !a.search ? J(a.$slots, "placeholder", { key: 4 }, () => [
6314
+ t.placeholder && !a.hasSelected && !a.search ? ee(a.$slots, "placeholder", { key: 4 }, () => [
6315
6315
  d(
6316
6316
  "div",
6317
6317
  {
@@ -6324,7 +6324,7 @@ function a5(a, e, t, s, n, o) {
6324
6324
  )
6325
6325
  ]) : S("v-if", !0),
6326
6326
  S(" Spinner "),
6327
- t.loading || a.resolving ? J(a.$slots, "spinner", { key: 5 }, () => [
6327
+ t.loading || a.resolving ? ee(a.$slots, "spinner", { key: 5 }, () => [
6328
6328
  d(
6329
6329
  "span",
6330
6330
  {
@@ -6337,7 +6337,7 @@ function a5(a, e, t, s, n, o) {
6337
6337
  )
6338
6338
  ]) : S("v-if", !0),
6339
6339
  S(" Clear "),
6340
- a.hasSelected && !t.disabled && t.canClear && !a.busy ? J(a.$slots, "clear", {
6340
+ a.hasSelected && !t.disabled && t.canClear && !a.busy ? ee(a.$slots, "clear", {
6341
6341
  key: 6,
6342
6342
  clear: a.clear
6343
6343
  }, () => [
@@ -6369,7 +6369,7 @@ function a5(a, e, t, s, n, o) {
6369
6369
  )
6370
6370
  ]) : S("v-if", !0),
6371
6371
  S(" Caret "),
6372
- t.caret && t.showOptions ? J(a.$slots, "caret", { key: 7 }, () => [
6372
+ t.caret && t.showOptions ? ee(a.$slots, "caret", { key: 7 }, () => [
6373
6373
  d(
6374
6374
  "span",
6375
6375
  {
@@ -6391,14 +6391,14 @@ function a5(a, e, t, s, n, o) {
6391
6391
  tabindex: "-1"
6392
6392
  },
6393
6393
  [
6394
- J(a.$slots, "beforelist", { options: a.fo }),
6394
+ ee(a.$slots, "beforelist", { options: a.fo }),
6395
6395
  d("ul", {
6396
6396
  class: X(a.classList.options),
6397
6397
  id: a.ariaControls,
6398
6398
  role: "listbox"
6399
6399
  }, [
6400
6400
  t.groups ? (v(!0), m(
6401
- fe,
6401
+ ve,
6402
6402
  { key: 0 },
6403
6403
  ye(a.fg, (i, l, r) => (v(), m("li", {
6404
6404
  class: X(a.classList.group),
@@ -6415,7 +6415,7 @@ function a5(a, e, t, s, n, o) {
6415
6415
  onMouseenter: (c) => a.setPointer(i, l),
6416
6416
  onClick: (c) => a.handleGroupClick(i)
6417
6417
  }, [
6418
- J(a.$slots, "grouplabel", {
6418
+ ee(a.$slots, "grouplabel", {
6419
6419
  group: i,
6420
6420
  isSelected: a.isSelected,
6421
6421
  isPointed: a.isPointed
@@ -6431,7 +6431,7 @@ function a5(a, e, t, s, n, o) {
6431
6431
  role: "group"
6432
6432
  }, [
6433
6433
  (v(!0), m(
6434
- fe,
6434
+ ve,
6435
6435
  null,
6436
6436
  ye(i.__VISIBLE__, (c, u, f) => (v(), m("li", {
6437
6437
  class: X(a.classList.option(c, i)),
@@ -6445,7 +6445,7 @@ function a5(a, e, t, s, n, o) {
6445
6445
  "aria-label": a.ariaOptionLabel(a.localize(c[t.label])),
6446
6446
  role: "option"
6447
6447
  }, [
6448
- J(a.$slots, "option", {
6448
+ ee(a.$slots, "option", {
6449
6449
  option: c,
6450
6450
  isSelected: a.isSelected,
6451
6451
  isPointed: a.isPointed,
@@ -6468,7 +6468,7 @@ function a5(a, e, t, s, n, o) {
6468
6468
  128
6469
6469
  /* KEYED_FRAGMENT */
6470
6470
  )) : (v(!0), m(
6471
- fe,
6471
+ ve,
6472
6472
  { key: 1 },
6473
6473
  ye(a.fo, (i, l, r) => (v(), m("li", {
6474
6474
  class: X(a.classList.option(i)),
@@ -6482,7 +6482,7 @@ function a5(a, e, t, s, n, o) {
6482
6482
  "aria-label": a.ariaOptionLabel(a.localize(i[t.label])),
6483
6483
  role: "option"
6484
6484
  }, [
6485
- J(a.$slots, "option", {
6485
+ ee(a.$slots, "option", {
6486
6486
  option: i,
6487
6487
  isSelected: a.isSelected,
6488
6488
  isPointed: a.isPointed,
@@ -6501,13 +6501,13 @@ function a5(a, e, t, s, n, o) {
6501
6501
  /* KEYED_FRAGMENT */
6502
6502
  ))
6503
6503
  ], 10, F0),
6504
- a.noOptions ? J(a.$slots, "nooptions", { key: 0 }, () => [
6504
+ a.noOptions ? ee(a.$slots, "nooptions", { key: 0 }, () => [
6505
6505
  d("div", {
6506
6506
  class: X(a.classList.noOptions),
6507
6507
  innerHTML: a.localize(t.noOptionsText)
6508
6508
  }, null, 10, G0)
6509
6509
  ]) : S("v-if", !0),
6510
- a.noResults ? J(a.$slots, "noresults", { key: 1 }, () => [
6510
+ a.noResults ? ee(a.$slots, "noresults", { key: 1 }, () => [
6511
6511
  d("div", {
6512
6512
  class: X(a.classList.noResults),
6513
6513
  innerHTML: a.localize(t.noResultsText)
@@ -6521,7 +6521,7 @@ function a5(a, e, t, s, n, o) {
6521
6521
  ref: "infiniteLoader"
6522
6522
  },
6523
6523
  [
6524
- J(a.$slots, "infinite", {}, () => [
6524
+ ee(a.$slots, "infinite", {}, () => [
6525
6525
  d(
6526
6526
  "span",
6527
6527
  {
@@ -6536,7 +6536,7 @@ function a5(a, e, t, s, n, o) {
6536
6536
  2
6537
6537
  /* CLASS */
6538
6538
  )) : S("v-if", !0),
6539
- J(a.$slots, "afterlist", { options: a.fo })
6539
+ ee(a.$slots, "afterlist", { options: a.fo })
6540
6540
  ],
6541
6541
  2
6542
6542
  /* CLASS */
@@ -6551,7 +6551,7 @@ function a5(a, e, t, s, n, o) {
6551
6551
  }, null, 10, Q0)) : S("v-if", !0),
6552
6552
  S(" Native input support "),
6553
6553
  t.nativeSupport ? (v(), m(
6554
- fe,
6554
+ ve,
6555
6555
  { key: 1 },
6556
6556
  [
6557
6557
  t.mode == "single" ? (v(), m("input", {
@@ -6560,7 +6560,7 @@ function a5(a, e, t, s, n, o) {
6560
6560
  name: t.name,
6561
6561
  value: a.plainValue !== void 0 ? a.plainValue : ""
6562
6562
  }, null, 8, J0)) : (v(!0), m(
6563
- fe,
6563
+ ve,
6564
6564
  { key: 1 },
6565
6565
  ye(a.plainValue, (i, l) => (v(), m("input", {
6566
6566
  type: "hidden",
@@ -6615,7 +6615,7 @@ const be = /* @__PURE__ */ Y({
6615
6615
  ye(n.$slots, (i, l) => ({
6616
6616
  name: l,
6617
6617
  fn: R((r) => [
6618
- J(n.$slots, l, un(cn(r ?? {})))
6618
+ ee(n.$slots, l, un(cn(r ?? {})))
6619
6619
  ])
6620
6620
  }))
6621
6621
  ]), 1536));
@@ -6725,7 +6725,7 @@ const s5 = { class: "ao-tasks" }, i5 = { class: "ao-tasks__list" }, o5 = ["id",
6725
6725
  };
6726
6726
  return (f, p) => (v(), m("div", s5, [
6727
6727
  d("ul", i5, [
6728
- (v(!0), m(fe, null, ye(f.tasks, (h) => {
6728
+ (v(!0), m(ve, null, ye(f.tasks, (h) => {
6729
6729
  var g, $;
6730
6730
  return v(), m("li", {
6731
6731
  key: h.id,
@@ -6859,7 +6859,7 @@ const u5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], c5 = {
6859
6859
  onDragleave: _e(l, ["prevent"])
6860
6860
  }, [
6861
6861
  (f = c.attachments) != null && f.length && c.attachments.length > 0 ? (v(), m("ul", c5, [
6862
- (v(!0), m(fe, null, ye(c.attachments, (p) => (v(), m("li", {
6862
+ (v(!0), m(ve, null, ye(c.attachments, (p) => (v(), m("li", {
6863
6863
  key: p.id,
6864
6864
  class: "ao-file"
6865
6865
  }, [
@@ -6964,7 +6964,7 @@ const _5 = { class: "ao-comment" }, g5 = { class: "ao-comment__body" }, y5 = { c
6964
6964
  d("span", b5, q(u.value || c.value), 1)
6965
6965
  ]),
6966
6966
  A.isEditable ? (v(), m("div", w5, [
6967
- Z(o) ? (v(), m(fe, { key: 0 }, [
6967
+ Z(o) ? (v(), m(ve, { key: 0 }, [
6968
6968
  k(ce, {
6969
6969
  "icon-name": "CloseRounded",
6970
6970
  size: "sm",
@@ -6979,7 +6979,7 @@ const _5 = { class: "ao-comment" }, g5 = { class: "ao-comment__body" }, y5 = { c
6979
6979
  color: "neutral",
6980
6980
  onClick: Z(h)
6981
6981
  }, null, 8, ["onClick"])
6982
- ], 64)) : (v(), m(fe, { key: 1 }, [
6982
+ ], 64)) : (v(), m(ve, { key: 1 }, [
6983
6983
  k(ce, {
6984
6984
  label: A.$t("activity.comment.delete"),
6985
6985
  size: "sm",
@@ -7042,7 +7042,7 @@ const M5 = {
7042
7042
  class: "ao-comments"
7043
7043
  }, [
7044
7044
  ((p = u.comments) == null ? void 0 : p.length) > 0 ? (v(), m("ul", M5, [
7045
- (v(!0), m(fe, null, ye(u.comments, (h) => (v(), U($5, {
7045
+ (v(!0), m(ve, null, ye(u.comments, (h) => (v(), U($5, {
7046
7046
  key: h.id,
7047
7047
  user: s(h.author.id),
7048
7048
  content: h.message,
@@ -7265,7 +7265,7 @@ const O5 = {
7265
7265
  "is-editable": y.isEditable,
7266
7266
  "onUpdate:title": s
7267
7267
  }, null, 8, ["title", "is-editable"]),
7268
- J(y.$slots, "header", {}, () => {
7268
+ ee(y.$slots, "header", {}, () => {
7269
7269
  var P;
7270
7270
  return [
7271
7271
  H.value ? (v(), m("label", L5, [
@@ -7374,7 +7374,7 @@ const O5 = {
7374
7374
  k(_t, {
7375
7375
  "user-name": P.label,
7376
7376
  "is-closable": !0,
7377
- onClose: (ee) => le(P, ee)
7377
+ onClose: (ae) => le(P, ae)
7378
7378
  }, null, 8, ["user-name", "onClose"])
7379
7379
  ]),
7380
7380
  _: 1
@@ -7477,7 +7477,7 @@ const O5 = {
7477
7477
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
7478
7478
  ])
7479
7479
  ]),
7480
- J(y.$slots, "default")
7480
+ ee(y.$slots, "default")
7481
7481
  ])
7482
7482
  ]),
7483
7483
  y.isTemplate !== !0 && y.userId ? (v(), m("div", C7, [
@@ -7539,7 +7539,7 @@ const y7 = {
7539
7539
  DAYS: "days",
7540
7540
  WEEKS: "weeks",
7541
7541
  MONTHS: "months"
7542
- }, pe = {
7542
+ }, he = {
7543
7543
  TEMPLATES: "templates",
7544
7544
  PHASES: "phases",
7545
7545
  MILESTONES: "milestones",
@@ -7567,7 +7567,7 @@ const j4 = {
7567
7567
  emits: ["update:rule", "close"],
7568
7568
  setup(a, { emit: e }) {
7569
7569
  const t = a, s = ct(
7570
- t.rule.itemType || pe.ACTIVITIES
7570
+ t.rule.itemType || he.ACTIVITIES
7571
7571
  ), n = b({
7572
7572
  get() {
7573
7573
  return s.value;
@@ -7579,7 +7579,7 @@ const j4 = {
7579
7579
  subItemId: void 0
7580
7580
  });
7581
7581
  }
7582
- }), o = b(() => Object.values(pe)), i = b({
7582
+ }), o = b(() => Object.values(he)), i = b({
7583
7583
  get() {
7584
7584
  return t.rule.subItemId;
7585
7585
  },
@@ -7593,9 +7593,9 @@ const j4 = {
7593
7593
  }), l = b(() => {
7594
7594
  var w;
7595
7595
  return !t.templateActivities || !t.templateMilestones || !t.templatePhases ? null : (w = {
7596
- [pe.ACTIVITIES]: t.templateActivities,
7597
- [pe.MILESTONES]: t.templateMilestones,
7598
- [pe.PHASES]: t.templatePhases
7596
+ [he.ACTIVITIES]: t.templateActivities,
7597
+ [he.MILESTONES]: t.templateMilestones,
7598
+ [he.PHASES]: t.templatePhases
7599
7599
  }[s.value]) == null ? void 0 : w.map((V) => ({
7600
7600
  value: V.id,
7601
7601
  label: V.name
@@ -7705,7 +7705,7 @@ const A7 = { class: "ao-template-rules__body" }, T7 = { class: "ao-template-rule
7705
7705
  default: R(() => [
7706
7706
  d("div", A7, [
7707
7707
  d("ul", T7, [
7708
- (v(!0), m(fe, null, ye(n.rules, (i) => (v(), U(k7, {
7708
+ (v(!0), m(ve, null, ye(n.rules, (i) => (v(), U(k7, {
7709
7709
  key: i.id,
7710
7710
  rule: i,
7711
7711
  "template-phases": n.templatePhases,
@@ -7786,17 +7786,17 @@ const E7 = {
7786
7786
  const r = b(() => {
7787
7787
  var E, L;
7788
7788
  return ((L = (E = n.value) == null ? void 0 : E.phases) == null ? void 0 : L.reduce((_, N) => {
7789
- const he = N.milestones || [];
7790
- return [..._, ...he];
7789
+ const fe = N.milestones || [];
7790
+ return [..._, ...fe];
7791
7791
  }, [])) || [];
7792
7792
  }), c = b(() => {
7793
7793
  var E, L;
7794
7794
  return ((L = (E = n.value) == null ? void 0 : E.phases) == null ? void 0 : L.reduce((_, N) => {
7795
- const ne = (N.milestones || []).reduce(
7796
- (te, x) => x.activities ? [...te, ...x.activities] : te,
7795
+ const te = (N.milestones || []).reduce(
7796
+ (J, x) => x.activities ? [...J, ...x.activities] : J,
7797
7797
  []
7798
7798
  );
7799
- return [..._, ...ne];
7799
+ return [..._, ...te];
7800
7800
  }, [])) || [];
7801
7801
  }), u = b(() => {
7802
7802
  var E, L;
@@ -7821,7 +7821,7 @@ const E7 = {
7821
7821
  s
7822
7822
  );
7823
7823
  o.value = !0, e("addItem", {
7824
- type: pe.PHASES,
7824
+ type: he.PHASES,
7825
7825
  templateId: t.templateId,
7826
7826
  item: {
7827
7827
  name: E,
@@ -7832,12 +7832,12 @@ const E7 = {
7832
7832
  e("updateItem", {
7833
7833
  templateId: t.templateId,
7834
7834
  id: t.templateId,
7835
- itemType: pe.TEMPLATES,
7835
+ itemType: he.TEMPLATES,
7836
7836
  data: { name: E }
7837
7837
  });
7838
7838
  }, $ = (E) => {
7839
7839
  e("removeItem", {
7840
- type: pe.PHASES,
7840
+ type: he.PHASES,
7841
7841
  templateId: t.templateId,
7842
7842
  data: {
7843
7843
  id: E
@@ -7847,7 +7847,7 @@ const E7 = {
7847
7847
  e("updateItem", {
7848
7848
  templateId: t.templateId,
7849
7849
  id: E,
7850
- itemType: pe.PHASES,
7850
+ itemType: he.PHASES,
7851
7851
  data: { name: L }
7852
7852
  });
7853
7853
  }, M = (E) => {
@@ -7861,7 +7861,7 @@ const E7 = {
7861
7861
  s
7862
7862
  );
7863
7863
  o.value = !0, e("addItem", {
7864
- type: pe.MILESTONES,
7864
+ type: he.MILESTONES,
7865
7865
  templateId: t.templateId,
7866
7866
  phaseId: E.phaseId,
7867
7867
  item: {
@@ -7872,7 +7872,7 @@ const E7 = {
7872
7872
  });
7873
7873
  }, V = (E) => {
7874
7874
  e("removeItem", {
7875
- type: pe.MILESTONES,
7875
+ type: he.MILESTONES,
7876
7876
  templateId: t.templateId,
7877
7877
  phaseId: E.phaseId,
7878
7878
  data: {
@@ -7882,7 +7882,7 @@ const E7 = {
7882
7882
  }, j = (E) => {
7883
7883
  const { id: L, ..._ } = E;
7884
7884
  e("updateItem", {
7885
- itemType: pe.MILESTONES,
7885
+ itemType: he.MILESTONES,
7886
7886
  id: L,
7887
7887
  templateId: t.templateId,
7888
7888
  data: _
@@ -7897,7 +7897,7 @@ const E7 = {
7897
7897
  s
7898
7898
  );
7899
7899
  o.value = !0, e("addItem", {
7900
- type: pe.ACTIVITIES,
7900
+ type: he.ACTIVITIES,
7901
7901
  milestoneId: L,
7902
7902
  templateId: t.templateId,
7903
7903
  item: { name: _, rank: N, milestoneId: L }
@@ -7905,7 +7905,7 @@ const E7 = {
7905
7905
  }, H = (E) => {
7906
7906
  var L, _;
7907
7907
  e("removeItem", {
7908
- type: pe.ACTIVITIES,
7908
+ type: he.ACTIVITIES,
7909
7909
  templateId: t.templateId,
7910
7910
  phaseId: (L = i.value) == null ? void 0 : L.id,
7911
7911
  milestoneId: (_ = l.value) == null ? void 0 : _.id,
@@ -7916,7 +7916,7 @@ const E7 = {
7916
7916
  }, O = (E) => {
7917
7917
  const { id: L, ..._ } = E;
7918
7918
  e("updateItem", {
7919
- itemType: pe.ACTIVITIES,
7919
+ itemType: he.ACTIVITIES,
7920
7920
  id: L,
7921
7921
  templateId: t.templateId,
7922
7922
  data: _
@@ -7932,7 +7932,7 @@ const E7 = {
7932
7932
  if (E.moved) {
7933
7933
  const _ = Nt(E, ((L = n.value) == null ? void 0 : L.phases) ?? []);
7934
7934
  e("updateItem", {
7935
- itemType: pe.PHASES,
7935
+ itemType: he.PHASES,
7936
7936
  id: E.moved.element.id,
7937
7937
  templateId: t.templateId,
7938
7938
  data: {
@@ -7942,7 +7942,7 @@ const E7 = {
7942
7942
  }
7943
7943
  }, P = (E) => {
7944
7944
  !i.value || !l.value || !u.value || e("addItem", {
7945
- type: pe.TASKS,
7945
+ type: he.TASKS,
7946
7946
  activityId: E.activityId,
7947
7947
  milestoneId: l.value.id,
7948
7948
  phaseId: i.value.id,
@@ -7951,14 +7951,14 @@ const E7 = {
7951
7951
  });
7952
7952
  }, le = (E) => {
7953
7953
  !i.value || !l.value || !u.value || e("updateItem", {
7954
- itemType: pe.TASKS,
7954
+ itemType: he.TASKS,
7955
7955
  id: E.id,
7956
7956
  templateId: t.templateId,
7957
7957
  data: E
7958
7958
  });
7959
- }, ee = (E) => {
7959
+ }, ae = (E) => {
7960
7960
  !i.value || !l.value || !u.value || e("removeItem", {
7961
- type: pe.TASKS,
7961
+ type: he.TASKS,
7962
7962
  activityId: u.value.id,
7963
7963
  milestoneId: l.value.id,
7964
7964
  phaseId: i.value.id,
@@ -7971,7 +7971,7 @@ const E7 = {
7971
7971
  e("removeFile", E);
7972
7972
  };
7973
7973
  return (E, L) => {
7974
- var _, N, he, ne, te, x;
7974
+ var _, N, fe, te, J, x;
7975
7975
  return n.value ? (v(), m("div", E7, [
7976
7976
  k(r1, {
7977
7977
  "can-go-back": !0,
@@ -8064,7 +8064,7 @@ const E7 = {
8064
8064
  "template-id": E.templateId,
8065
8065
  "phase-id": (N = i.value) == null ? void 0 : N.id,
8066
8066
  milestone: l.value,
8067
- "activity-id": (he = u.value) == null ? void 0 : he.id,
8067
+ "activity-id": (fe = u.value) == null ? void 0 : fe.id,
8068
8068
  onAddActivity: F,
8069
8069
  onUpdateActivity: O,
8070
8070
  onRemoveActivity: H
@@ -8077,7 +8077,7 @@ const E7 = {
8077
8077
  key: 0,
8078
8078
  activity: u.value,
8079
8079
  "activity-types": f.value,
8080
- breadcrumbs: `${n.value.name} / ${(ne = i.value) == null ? void 0 : ne.name} / ${(te = l.value) == null ? void 0 : te.name}`,
8080
+ breadcrumbs: `${n.value.name} / ${(te = i.value) == null ? void 0 : te.name} / ${(J = l.value) == null ? void 0 : J.name}`,
8081
8081
  "milestone-id": (x = l.value) == null ? void 0 : x.id,
8082
8082
  "template-activities": c.value,
8083
8083
  "template-milestones": r.value,
@@ -8089,7 +8089,7 @@ const E7 = {
8089
8089
  onClose: E.$router.back,
8090
8090
  onAddSubtask: P,
8091
8091
  onUpdateSubtask: le,
8092
- onDeleteSubtask: ee,
8092
+ onDeleteSubtask: ae,
8093
8093
  onAddFiles: ue,
8094
8094
  onRemoveFile: se
8095
8095
  }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : S("", !0)
@@ -8129,13 +8129,13 @@ const B7 = {
8129
8129
  }, {
8130
8130
  default: R(() => [
8131
8131
  e.$slots.header ? (v(), m("header", B7, [
8132
- J(e.$slots, "header")
8132
+ ee(e.$slots, "header")
8133
8133
  ])) : S("", !0),
8134
8134
  d("div", N7, [
8135
- J(e.$slots, "default")
8135
+ ee(e.$slots, "default")
8136
8136
  ]),
8137
8137
  e.$slots.footer ? (v(), m("footer", R7, [
8138
- J(e.$slots, "footer")
8138
+ ee(e.$slots, "footer")
8139
8139
  ])) : S("", !0)
8140
8140
  ]),
8141
8141
  _: 3
@@ -8154,7 +8154,7 @@ const R1 = /* @__PURE__ */ Y({
8154
8154
  class: X(["ao-progress", s.status ? `ao-progress--${s.status}` : ""]),
8155
8155
  role: "meter"
8156
8156
  }, [
8157
- (v(!0), m(fe, null, ye(t.value, (o) => (v(), m("div", {
8157
+ (v(!0), m(ve, null, ye(t.value, (o) => (v(), m("div", {
8158
8158
  key: o,
8159
8159
  class: X(["ao-progress__progress"]),
8160
8160
  style: la({ width: `${o * 100}%` })
@@ -8199,7 +8199,7 @@ const U7 = { class: "ao-card-project-phase__header" }, j7 = { class: "ao-card-pr
8199
8199
  footer: R(() => [
8200
8200
  d("div", j7, [
8201
8201
  d("div", Z7, [
8202
- n.value ? (v(), m(fe, { key: 0 }, [
8202
+ n.value ? (v(), m(ve, { key: 0 }, [
8203
8203
  d("div", F7, [
8204
8204
  k(de, {
8205
8205
  name: "MountainFlagOutlineRounded",
@@ -8213,7 +8213,7 @@ const U7 = { class: "ao-card-project-phase__header" }, j7 = { class: "ao-card-pr
8213
8213
  }, null, 8, ["percentages"])
8214
8214
  ], 64)) : S("", !0),
8215
8215
  l.$slots.secondary ? (v(), m("div", W7, [
8216
- J(l.$slots, "secondary")
8216
+ ee(l.$slots, "secondary")
8217
8217
  ])) : S("", !0)
8218
8218
  ])
8219
8219
  ])
@@ -8303,7 +8303,7 @@ const x7 = { class: "ao-card-project-milestone__default" }, Y7 = {
8303
8303
  footer: R(() => [
8304
8304
  d("div", K7, [
8305
8305
  d("div", G7, [
8306
- s.value ? (v(), m(fe, { key: 0 }, [
8306
+ s.value ? (v(), m(ve, { key: 0 }, [
8307
8307
  d("div", X7, [
8308
8308
  k(de, {
8309
8309
  name: "SelectCheckBox",
@@ -8317,7 +8317,7 @@ const x7 = { class: "ao-card-project-milestone__default" }, Y7 = {
8317
8317
  }, null, 8, ["percentages"])
8318
8318
  ], 64)) : S("", !0),
8319
8319
  l.$slots.secondary ? (v(), m("div", J7, [
8320
- J(l.$slots, "secondary")
8320
+ ee(l.$slots, "secondary")
8321
8321
  ])) : S("", !0)
8322
8322
  ])
8323
8323
  ])
@@ -8599,7 +8599,7 @@ const g9 = { class: "ao-project-overview" }, y9 = { class: "ao-project" }, b9 =
8599
8599
  };
8600
8600
  return (O, z) => {
8601
8601
  const K = vn("RouterView");
8602
- return v(), m(fe, null, [
8602
+ return v(), m(ve, null, [
8603
8603
  d("div", g9, [
8604
8604
  d("div", y9, [
8605
8605
  k(r1, null, Ht({ _: 2 }, [
@@ -8755,7 +8755,7 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8755
8755
  size: "sm"
8756
8756
  })) : S("", !0),
8757
8757
  p.$slots.secondary ? (v(), m("div", M9, [
8758
- J(p.$slots, "secondary")
8758
+ ee(p.$slots, "secondary")
8759
8759
  ])) : S("", !0)
8760
8760
  ])
8761
8761
  ]),
@@ -8776,7 +8776,7 @@ const $9 = { class: "ao-card-feed__header" }, M9 = {
8776
8776
  d("div", S9, [
8777
8777
  d("div", E9, [
8778
8778
  d("ul", I9, [
8779
- (v(!0), m(fe, null, ye(o.value, (g) => (v(), m(fe, {
8779
+ (v(!0), m(ve, null, ye(o.value, (g) => (v(), m(ve, {
8780
8780
  key: g.id
8781
8781
  }, [
8782
8782
  g ? (v(), m("li", O9, [
@@ -9108,7 +9108,7 @@ const z9 = /* @__PURE__ */ Y({
9108
9108
  e("addTemplate", u);
9109
9109
  }, o = (l, r) => {
9110
9110
  e("updateItem", {
9111
- itemType: pe.TEMPLATES,
9111
+ itemType: he.TEMPLATES,
9112
9112
  id: l,
9113
9113
  templateId: l,
9114
9114
  data: {
@@ -9119,7 +9119,7 @@ const z9 = /* @__PURE__ */ Y({
9119
9119
  if (l.moved) {
9120
9120
  const r = Nt(l, t.templates ?? []);
9121
9121
  e("updateItem", {
9122
- itemType: pe.TEMPLATES,
9122
+ itemType: he.TEMPLATES,
9123
9123
  id: l.moved.element.id,
9124
9124
  templateId: l.moved.element.id,
9125
9125
  data: {
@@ -9350,7 +9350,7 @@ const l4 = {
9350
9350
  });
9351
9351
  };
9352
9352
  return (r, c) => (v(), m("div", l4, [
9353
- r.title || r.$slots.header ? J(r.$slots, "header", { key: 0 }, () => {
9353
+ r.title || r.$slots.header ? ee(r.$slots, "header", { key: 0 }, () => {
9354
9354
  var u;
9355
9355
  return [
9356
9356
  d("div", r4, [
@@ -9424,7 +9424,7 @@ const l4 = {
9424
9424
  _: 1
9425
9425
  }, 16, ["list"]),
9426
9426
  r.$slots.footer || r.footerLabel ? (v(), m("div", v4, [
9427
- J(r.$slots, "footer", {}, () => [
9427
+ ee(r.$slots, "footer", {}, () => [
9428
9428
  k(Xe, {
9429
9429
  "icon-name": "AddBoxOutlineRounded",
9430
9430
  label: r.footerLabel,
@@ -9509,7 +9509,6 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9509
9509
  activities: {},
9510
9510
  statuses: {},
9511
9511
  projects: {},
9512
- milestones: {},
9513
9512
  filters: {},
9514
9513
  activityTypes: {},
9515
9514
  users: {},
@@ -9526,16 +9525,16 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9526
9525
  re(
9527
9526
  [() => t.statuses, () => t.activities],
9528
9527
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9529
- async ([_, N], [he, ne]) => {
9528
+ async ([_, N], [fe, te]) => {
9530
9529
  r.value = Object.fromEntries(
9531
- _.map((te) => [
9532
- te.id,
9530
+ _.map((J) => [
9531
+ J.id,
9533
9532
  N.filter((x) => {
9534
9533
  var I;
9535
- return ((I = x.status) == null ? void 0 : I.id) === te.id;
9534
+ return ((I = x.status) == null ? void 0 : I.id) === J.id;
9536
9535
  })
9537
9536
  ])
9538
- ), c.value && Re(N, ne);
9537
+ ), c.value && Re(N, te);
9539
9538
  },
9540
9539
  { immediate: !0 }
9541
9540
  );
@@ -9544,12 +9543,12 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9544
9543
  return !i.value || !i.value.milestone ? "" : `${((_ = i.value.milestone.phase) == null ? void 0 : _.name) ?? ""} / ${i.value.milestone.name ?? ""}`;
9545
9544
  }), f = (_) => {
9546
9545
  var x, I;
9547
- const N = (x = t.activities) == null ? void 0 : x.at(-1), he = N ? Ae.LexoRank.parse(N.rank).genNext() : Ae.LexoRank.middle(), ne = ((I = t.activities) == null ? void 0 : I.length) ?? 0, te = {
9548
- name: s("activity.defaultName", { idx: ne + 1 }),
9549
- rank: he.format(),
9546
+ const N = (x = t.activities) == null ? void 0 : x.at(-1), fe = N ? Ae.LexoRank.parse(N.rank).genNext() : Ae.LexoRank.middle(), te = ((I = t.activities) == null ? void 0 : I.length) ?? 0, J = {
9547
+ name: s("activity.defaultName", { idx: te + 1 }),
9548
+ rank: fe.format(),
9550
9549
  statusId: _.id
9551
9550
  };
9552
- t.filters.assigneeId.length > 0 && (te.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (te.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (te.typeId = t.filters.typeId[0]), c.value = !0, e("addActivity", te);
9551
+ t.filters.assigneeId.length > 0 && (J.assigneeId = t.filters.assigneeId[0]), t.filters.projectId.length > 0 && (J.projectId = t.filters.projectId[0]), t.filters.typeId.length > 0 && (J.typeId = t.filters.typeId[0]), c.value = !0, e("addActivity", J);
9553
9552
  }, p = (_, N) => {
9554
9553
  c.value = !1, e("update:filters", { ...t.filters, [_]: N });
9555
9554
  }, h = b(() => t.projects.map((_) => ({
@@ -9609,11 +9608,12 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9609
9608
  value: N.id,
9610
9609
  label: N.name
9611
9610
  }));
9612
- }), ee = b(() => {
9613
- var _;
9614
- return (_ = t.milestones) == null ? void 0 : _.map((N) => ({
9615
- value: N.id,
9616
- label: N.name
9611
+ }), ae = b(() => {
9612
+ var N, fe, te;
9613
+ const _ = (te = (fe = (N = i.value) == null ? void 0 : N.project) == null ? void 0 : fe.phases) == null ? void 0 : te.reduce((J, x) => [...J, ...x.milestones], []);
9614
+ return console.log({ milestones: _, activity: i.value }), _ == null ? void 0 : _.map((J) => ({
9615
+ value: J.id,
9616
+ label: J.name
9617
9617
  }));
9618
9618
  }), ue = (_) => {
9619
9619
  i.value && e("update:activity", {
@@ -9638,7 +9638,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9638
9638
  });
9639
9639
  };
9640
9640
  return (_, N) => {
9641
- var he;
9641
+ var fe;
9642
9642
  return v(), m("div", b4, [
9643
9643
  k(r1, null, {
9644
9644
  primary: R(() => [
@@ -9658,7 +9658,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9658
9658
  searchable: !0,
9659
9659
  class: "ao-feed__filter ao-feed__filter__projects",
9660
9660
  placeholder: _.$t("feed.filters.project.placeholder"),
9661
- "onUpdate:modelValue": N[0] || (N[0] = (ne) => p(Z(ut).project, ne))
9661
+ "onUpdate:modelValue": N[0] || (N[0] = (te) => p(Z(ut).project, te))
9662
9662
  }, null, 8, ["model-value", "options", "placeholder"]),
9663
9663
  k(be, {
9664
9664
  "model-value": _.filters[Z(ut).type],
@@ -9668,7 +9668,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9668
9668
  searchable: !0,
9669
9669
  class: "ao-feed__filter ao-feed__filter__types",
9670
9670
  placeholder: _.$t("feed.filters.activityType.placeholder"),
9671
- "onUpdate:modelValue": N[1] || (N[1] = (ne) => p(Z(ut).type, ne))
9671
+ "onUpdate:modelValue": N[1] || (N[1] = (te) => p(Z(ut).type, te))
9672
9672
  }, null, 8, ["model-value", "options", "placeholder"]),
9673
9673
  k(be, {
9674
9674
  "model-value": _.filters[Z(ut).assignee],
@@ -9678,13 +9678,13 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9678
9678
  searchable: !0,
9679
9679
  class: "ao-feed__filter ao-feed__filter__assignees",
9680
9680
  placeholder: _.$t("feed.filters.assignee.placeholder"),
9681
- "onUpdate:modelValue": N[2] || (N[2] = (ne) => p(Z(ut).assignee, ne))
9681
+ "onUpdate:modelValue": N[2] || (N[2] = (te) => p(Z(ut).assignee, te))
9682
9682
  }, {
9683
- tag: R(({ option: ne, handleTagRemove: te }) => [
9683
+ tag: R(({ option: te, handleTagRemove: J }) => [
9684
9684
  k(_t, {
9685
- "user-name": ne.label,
9685
+ "user-name": te.label,
9686
9686
  "is-closable": !0,
9687
- onClose: (x) => te(ne, x)
9687
+ onClose: (x) => J(te, x)
9688
9688
  }, null, 8, ["user-name", "onClose"])
9689
9689
  ]),
9690
9690
  _: 1
@@ -9700,20 +9700,20 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9700
9700
  label: _.$t("feed.filters.showsArchivedActivities.label"),
9701
9701
  role: "checkbox",
9702
9702
  "aria-checked": _.showsArchivedActivities,
9703
- onClick: N[3] || (N[3] = (ne) => _.$emit("update:showsArchivedActivities", !_.showsArchivedActivities))
9703
+ onClick: N[3] || (N[3] = (te) => _.$emit("update:showsArchivedActivities", !_.showsArchivedActivities))
9704
9704
  }, null, 8, ["icon-name", "label", "aria-checked"])
9705
9705
  ]),
9706
9706
  _: 1
9707
9707
  }),
9708
9708
  d("div", $4, [
9709
- (v(!0), m(fe, null, ye(_.statuses, (ne) => (v(), U(p4, {
9710
- key: ne.id,
9711
- status: ne,
9712
- list: r.value[ne.id],
9713
- title: ne.name,
9709
+ (v(!0), m(ve, null, ye(_.statuses, (te) => (v(), U(p4, {
9710
+ key: te.id,
9711
+ status: te,
9712
+ list: r.value[te.id],
9713
+ title: te.name,
9714
9714
  "footer-label": _.$t("feed.activity.add"),
9715
9715
  users: _.users,
9716
- onAdd: () => f(ne),
9716
+ onAdd: () => f(te),
9717
9717
  onSelectActivity: l,
9718
9718
  onArchiveActivity: w,
9719
9719
  onUpdateActivity: M
@@ -9724,7 +9724,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9724
9724
  key: 0,
9725
9725
  activity: Z(i),
9726
9726
  "activity-types": g.value,
9727
- "milestone-id": (he = Z(i).milestone) == null ? void 0 : he.id,
9727
+ "milestone-id": (fe = Z(i).milestone) == null ? void 0 : fe.id,
9728
9728
  "template-activities": n.value,
9729
9729
  users: _.users,
9730
9730
  "user-id": _.userId,
@@ -9744,23 +9744,23 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9744
9744
  onRemoveComment: P
9745
9745
  }, {
9746
9746
  header: R(() => {
9747
- var ne, te, x;
9747
+ var te, J, x;
9748
9748
  return [
9749
9749
  d("div", M4, [
9750
9750
  le.value ? (v(), m("label", k4, [
9751
9751
  d("span", A4, q(_.$t("activity.project.label")), 1),
9752
9752
  k(be, {
9753
9753
  options: le.value,
9754
- value: (ne = Z(i).project) == null ? void 0 : ne.id,
9754
+ value: (te = Z(i).project) == null ? void 0 : te.id,
9755
9755
  searchable: !0,
9756
9756
  onChange: ue
9757
9757
  }, null, 8, ["options", "value"])
9758
9758
  ])) : S("", !0),
9759
- ee.value ? (v(), m("label", T4, [
9759
+ ae.value ? (v(), m("label", T4, [
9760
9760
  d("span", S4, q(_.$t("activity.project.label")), 1),
9761
9761
  k(be, {
9762
- options: ee.value,
9763
- value: (te = Z(i).milestone) == null ? void 0 : te.id,
9762
+ options: ae.value,
9763
+ value: (J = Z(i).milestone) == null ? void 0 : J.id,
9764
9764
  searchable: !0,
9765
9765
  onChange: se
9766
9766
  }, null, 8, ["options", "value"])
@@ -9783,7 +9783,7 @@ const b4 = { class: "ao-feed" }, w4 = { class: "ao-feed__filters" }, $4 = { clas
9783
9783
  d("label", L4, [
9784
9784
  d("span", V4, q(_.$t("activity.deadline.label")), 1),
9785
9785
  dt(d("input", {
9786
- "onUpdate:modelValue": N[4] || (N[4] = (ne) => V.value = ne),
9786
+ "onUpdate:modelValue": N[4] || (N[4] = (te) => V.value = te),
9787
9787
  class: "ao-field__input",
9788
9788
  type: "date"
9789
9789
  }, null, 512), [
@@ -9821,6 +9821,6 @@ export {
9821
9821
  b7 as ruleComparators,
9822
9822
  $7 as ruleDurationUnits,
9823
9823
  w7 as ruleTriggerTypes,
9824
- pe as templateItemType,
9824
+ he as templateItemType,
9825
9825
  Tt as templateRouteNames
9826
9826
  };