@26lights/orcha 0.42.219 → 0.42.221

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var B0 = Object.defineProperty;
2
2
  var U0 = (t, e, n) => e in t ? B0(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var J = (t, e, n) => (U0(t, typeof e != "symbol" ? e + "" : e, n), n);
4
- import { defineComponent as ue, openBlock as k, createBlock as Y, unref as oe, mergeProps as zt, createElementBlock as $, createElementVNode as b, createStaticVNode as H0, computed as O, resolveDynamicComponent as Pr, normalizeClass as _e, renderSlot as ke, toDisplayString as U, createCommentVNode as F, ref as ee, watch as Ne, nextTick as Zt, withKeys as Wo, toHandlers as z0, withCtx as se, createTextVNode as fn, createVNode as N, normalizeStyle as Gt, withModifiers as Ae, createSlots as $s, Fragment as $e, renderList as Ye, onMounted as Pt, onBeforeUnmount as Ds, onUnmounted as $n, Teleport as Rn, toRefs as _n, getCurrentInstance as Fr, toRef as ni, normalizeProps as Ms, guardReactiveProps as Ls, withDirectives as tt, vShow as hr, provide as q0, inject as j0, useTemplateRef as V0, readonly as W0, toValue as rc, watchEffect as ih, shallowRef as Ma, h as Z0, vModelText as Et, resolveComponent as Po, vModelCheckbox as sh, getCurrentScope as K0, onScopeDispose as G0, toHandlerKey as Y0 } from "vue";
4
+ import { defineComponent as ue, openBlock as k, createBlock as Y, unref as oe, mergeProps as zt, createElementBlock as $, createElementVNode as b, createStaticVNode as H0, computed as O, resolveDynamicComponent as Pr, normalizeClass as _e, renderSlot as ke, toDisplayString as U, createCommentVNode as F, ref as ee, watch as Pe, nextTick as Zt, withKeys as Wo, toHandlers as z0, withCtx as se, createTextVNode as fn, createVNode as N, normalizeStyle as Gt, withModifiers as Ae, createSlots as $s, Fragment as $e, renderList as Ye, onMounted as Pt, onBeforeUnmount as Ds, onUnmounted as $n, Teleport as Rn, toRefs as _n, getCurrentInstance as Fr, toRef as ni, normalizeProps as Ms, guardReactiveProps as Ls, withDirectives as tt, vShow as hr, provide as q0, inject as j0, useTemplateRef as V0, readonly as W0, toValue as rc, watchEffect as ih, shallowRef as Ma, h as Z0, vModelText as Et, resolveComponent as Po, vModelCheckbox as sh, getCurrentScope as K0, onScopeDispose as G0, toHandlerKey as Y0 } from "vue";
5
5
  import { RouterView as J0, useRoute as ah, useRouter as Nu, RouterLink as X0 } from "vue-router";
6
6
  import Xo from "vuedraggable";
7
7
  const N2e = /* @__PURE__ */ ue({
@@ -1255,7 +1255,7 @@ function m5(t) {
1255
1255
  l(u, c);
1256
1256
  });
1257
1257
  };
1258
- return Ne(e, async (l) => {
1258
+ return Pe(e, async (l) => {
1259
1259
  await Zt(() => {
1260
1260
  setTimeout(() => {
1261
1261
  t.value && l && (t.value.focus(), n.value = t.value[o.value]);
@@ -1298,7 +1298,7 @@ const Ot = /* @__PURE__ */ ue({
1298
1298
  }, m = (y) => {
1299
1299
  y.stopPropagation(), i.value || s(!0);
1300
1300
  };
1301
- return Ne(
1301
+ return Pe(
1302
1302
  () => o.isEditable,
1303
1303
  (y) => {
1304
1304
  y || d();
@@ -5253,7 +5253,7 @@ function GC(t, e, n) {
5253
5253
  }
5254
5254
  e.emit("paste", d, r);
5255
5255
  };
5256
- return Ne(a, (d) => {
5256
+ return Pe(a, (d) => {
5257
5257
  !i.value && d && s(), e.emit("search-change", d, r);
5258
5258
  }), {
5259
5259
  search: a,
@@ -5326,7 +5326,7 @@ function QC(t, e, n) {
5326
5326
  disabledProp: be,
5327
5327
  searchStart: he,
5328
5328
  searchFilter: Ve
5329
- } = _n(t), Ce = Fr().proxy, pe = n.iv, Z = n.ev, V = n.search, me = n.clearSearch, Ue = n.update, it = n.pointer, Re = n.setPointer, Pe = n.clearPointer, Ft = n.focus, W = n.deactivate, ge = n.close, De = n.localize, Ee = ee([]), ut = ee([]), We = ee(!1), Ze = ee(null), ot = ee(q.value && s.value === -1 ? 10 : s.value), pt = O(() => l.value || c.value || !1), ht = O(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Ge = O(() => {
5329
+ } = _n(t), Ce = Fr().proxy, pe = n.iv, Z = n.ev, V = n.search, me = n.clearSearch, Ue = n.update, it = n.pointer, Re = n.setPointer, Ie = n.clearPointer, Ft = n.focus, W = n.deactivate, ge = n.close, De = n.localize, Ee = ee([]), ut = ee([]), We = ee(!1), Ze = ee(null), ot = ee(q.value && s.value === -1 ? 10 : s.value), pt = O(() => l.value || c.value || !1), ht = O(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Ge = O(() => {
5330
5330
  if (P.value) {
5331
5331
  let B = on.value || /* istanbul ignore next */
5332
5332
  [], ae = [];
@@ -5455,32 +5455,32 @@ function QC(t, e, n) {
5455
5455
  switch (B.__CREATE__ && (B = { ...B }, delete B.__CREATE__), r.value) {
5456
5456
  case "single":
5457
5457
  if (B && sn(B)) {
5458
- A.value && Le(B), L.value && (Pe(), ge());
5458
+ A.value && Le(B), L.value && (Ie(), ge());
5459
5459
  return;
5460
5460
  }
5461
- B && rr(B), S.value && me(), x.value && (Pe(), ge()), B && Bt(B);
5461
+ B && rr(B), S.value && me(), x.value && (Ie(), ge()), B && Bt(B);
5462
5462
  break;
5463
5463
  case "multiple":
5464
5464
  if (B && sn(B)) {
5465
- Le(B), L.value && (Pe(), ge());
5465
+ Le(B), L.value && (Ie(), ge());
5466
5466
  return;
5467
5467
  }
5468
5468
  if (Mo()) {
5469
5469
  e.emit("max", Ce);
5470
5470
  return;
5471
5471
  }
5472
- B && (rr(B), Bt(B)), S.value && me(), a.value && Pe(), x.value && ge();
5472
+ B && (rr(B), Bt(B)), S.value && me(), a.value && Ie(), x.value && ge();
5473
5473
  break;
5474
5474
  case "tags":
5475
5475
  if (B && sn(B)) {
5476
- Le(B), L.value && (Pe(), ge());
5476
+ Le(B), L.value && (Ie(), ge());
5477
5477
  return;
5478
5478
  }
5479
5479
  if (Mo()) {
5480
5480
  e.emit("max", Ce);
5481
5481
  return;
5482
5482
  }
5483
- B && rr(B), S.value && me(), B && Bt(B), a.value && Pe(), x.value && ge();
5483
+ B && rr(B), S.value && me(), B && Bt(B), a.value && Ie(), x.value && ge();
5484
5484
  break;
5485
5485
  }
5486
5486
  x.value || Ft();
@@ -5557,7 +5557,7 @@ function QC(t, e, n) {
5557
5557
  [C.value]: ae,
5558
5558
  [ye.value[0]]: ae
5559
5559
  }), Bi = () => {
5560
- Ze.value = Ne(V, (B) => {
5560
+ Ze.value = Pe(V, (B) => {
5561
5561
  B.length < g.value || !B && g.value !== 0 || (We.value = !0, w.value && (ut.value = []), setTimeout(() => {
5562
5562
  B == V.value && o.value(V.value, Ce).then((ae) => {
5563
5563
  (B == V.value || !V.value) && (ut.value = ae, it.value = kt.value.filter((Fe) => Fe[be.value] !== !0)[0] || null, We.value = !1);
@@ -5572,9 +5572,9 @@ function QC(t, e, n) {
5572
5572
  };
5573
5573
  if (r.value !== "single" && !Yn(Z.value) && !Array.isArray(Z.value))
5574
5574
  throw new Error(`v-model must be an array when using "${r.value}" mode`);
5575
- return o && typeof o.value == "function" ? _.value ? Mn(Qe) : h.value == !0 && Qe() : (ut.value = o.value, Qe()), y.value > -1 && Bi(), Ne(y, (B, ae) => {
5575
+ return o && typeof o.value == "function" ? _.value ? Mn(Qe) : h.value == !0 && Qe() : (ut.value = o.value, Qe()), y.value > -1 && Bi(), Pe(y, (B, ae) => {
5576
5576
  Ze.value && Ze.value(), B >= 0 && Bi();
5577
- }), Ne(Z, (B) => {
5577
+ }), Pe(Z, (B) => {
5578
5578
  if (Yn(B)) {
5579
5579
  Ue(Oo(B), !1);
5580
5580
  return;
@@ -5588,9 +5588,9 @@ function QC(t, e, n) {
5588
5588
  XC(h.value ? B.map((ae) => ae[C.value]) : B, pe.value.map((ae) => ae[C.value])) || Ue(Oo(B), !1);
5589
5589
  break;
5590
5590
  }
5591
- }, { deep: !0 }), Ne(o, (B, ae) => {
5591
+ }, { deep: !0 }), Pe(o, (B, ae) => {
5592
5592
  typeof t.options == "function" ? _.value && (!ae || B && B.toString() !== ae.toString()) && Mn() : (ut.value = t.options, Object.keys(pe.value).length || Qe(), Ri());
5593
- }), Ne(u, Ri), Ne(s, (B, ae) => {
5593
+ }), Pe(u, Ri), Pe(s, (B, ae) => {
5594
5594
  ot.value = q.value && B === -1 ? 10 : B;
5595
5595
  }), {
5596
5596
  pfo: Rt,
@@ -5693,9 +5693,9 @@ function e9(t, e, n) {
5693
5693
  let V = Z.parentElement.parentElement;
5694
5694
  a.value && (V = A.value ? Z.parentElement.parentElement.parentElement : Z.parentElement.parentElement.parentElement.parentElement), Z.offsetTop + Z.offsetHeight > V.clientHeight + V.scrollTop && (V.scrollTop = Z.offsetTop + Z.offsetHeight - V.clientHeight), Z.offsetTop < V.scrollTop && (V.scrollTop = Z.offsetTop);
5695
5695
  };
5696
- return Ne(y, (Z) => {
5696
+ return Pe(y, (Z) => {
5697
5697
  i.value && (Z.length && r.value ? ie() : v());
5698
- }), Ne(S, (Z) => {
5698
+ }), Pe(S, (Z) => {
5699
5699
  if (Z) {
5700
5700
  let V = w.value.querySelectorAll("[data-selected]")[0];
5701
5701
  if (!V)
@@ -6406,7 +6406,7 @@ function K9(t) {
6406
6406
  var L, P = w === "y" ? Nn : bo, H = w === "y" ? ao : Go, q = w === "y" ? "height" : "width", Q = C[w], j = Q + y[P], G = Q - y[H], ie = p ? -E[q] / 2 : 0, be = g === gi ? T[q] : E[q], he = g === gi ? -E[q] : -T[q], Ve = e.elements.arrow, Ce = p && Ve ? Fh(Ve) : {
6407
6407
  width: 0,
6408
6408
  height: 0
6409
- }, pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zh(), Z = pe[P], V = pe[H], me = xa(0, T[q], Ce[q]), Ue = v ? T[q] / 2 - ie - me - Z - M.mainAxis : be - me - Z - M.mainAxis, it = v ? -T[q] / 2 + ie + me + V + M.mainAxis : he + me + V + M.mainAxis, Re = e.elements.arrow && wl(e.elements.arrow), Pe = Re ? w === "y" ? Re.clientTop || 0 : Re.clientLeft || 0 : 0, Ft = (L = I == null ? void 0 : I[w]) != null ? L : 0, W = Q + Ue - Ft - Pe, ge = Q + it - Ft, De = xa(p ? Ba(j, W) : j, Q, p ? _r(G, ge) : G);
6409
+ }, pe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zh(), Z = pe[P], V = pe[H], me = xa(0, T[q], Ce[q]), Ue = v ? T[q] / 2 - ie - me - Z - M.mainAxis : be - me - Z - M.mainAxis, it = v ? -T[q] / 2 + ie + me + V + M.mainAxis : he + me + V + M.mainAxis, Re = e.elements.arrow && wl(e.elements.arrow), Ie = Re ? w === "y" ? Re.clientTop || 0 : Re.clientLeft || 0 : 0, Ft = (L = I == null ? void 0 : I[w]) != null ? L : 0, W = Q + Ue - Ft - Ie, ge = Q + it - Ft, De = xa(p ? Ba(j, W) : j, Q, p ? _r(G, ge) : G);
6410
6410
  C[w] = De, x[w] = De - Q;
6411
6411
  }
6412
6412
  if (a) {
@@ -6851,11 +6851,11 @@ function s4(t, e, n) {
6851
6851
  }, h = () => {
6852
6852
  i.value && s.value < l.value.length ? u.value.observe(f.value) : !i.value && u.value && u.value.disconnect();
6853
6853
  };
6854
- return Ne(i, () => {
6854
+ return Pe(i, () => {
6855
6855
  r.value && h();
6856
- }), Ne(a, () => {
6856
+ }), Pe(a, () => {
6857
6857
  r.value && (s.value = o.value, h());
6858
- }, { flush: "post" }), Ne(c, () => {
6858
+ }, { flush: "post" }), Pe(c, () => {
6859
6859
  r.value && h();
6860
6860
  }, { immediate: !1, flush: "post" }), Pt(() => {
6861
6861
  window && window.IntersectionObserver && (u.value = new IntersectionObserver(p));
@@ -7914,7 +7914,7 @@ const I4 = { class: "ao-tasks__list" }, N4 = ["id", "value", "readonly", "onChan
7914
7914
  u(), a = null;
7915
7915
  });
7916
7916
  };
7917
- Ne(
7917
+ Pe(
7918
7918
  () => o.tasks,
7919
7919
  (v, w) => {
7920
7920
  Co(v, w), f();
@@ -8109,7 +8109,7 @@ const R4 = { class: "ao-files__placeholder" }, B4 = {
8109
8109
  function f() {
8110
8110
  r.value = !1;
8111
8111
  }
8112
- Ne(r, (p) => {
8112
+ Pe(r, (p) => {
8113
8113
  n(
8114
8114
  "toggleIsDropActive",
8115
8115
  p
@@ -12794,7 +12794,7 @@ function fm() {
12794
12794
  let he = xf();
12795
12795
  e.isSupported = typeof um == "function" && typeof _ == "function" && Q && Q.createHTMLDocument !== void 0;
12796
12796
  const Ve = Sle, Ce = xle, pe = Ale, Z = Ele, V = Tle, me = $le, Ue = Dle, it = Lle;
12797
- let Re = wf, Pe = null;
12797
+ let Re = wf, Ie = null;
12798
12798
  const Ft = He({}, [..._f, ...Sc, ...xc, ...Ac, ...yf]);
12799
12799
  let W = null;
12800
12800
  const ge = He({}, [...bf, ...Ec, ...Cf, ...ha]);
@@ -12892,7 +12892,7 @@ function fm() {
12892
12892
  if (Mn && Mn === D)
12893
12893
  return;
12894
12894
  (!D || typeof D != "object") && (D = {}), D = Ut(D), ir = // eslint-disable-next-line unicorn/prefer-includes
12895
- Pi.indexOf(D.PARSER_MEDIA_TYPE) === -1 ? Fi : D.PARSER_MEDIA_TYPE, Qe = ir === "application/xhtml+xml" ? kc : ns, Pe = No(D, "ALLOWED_TAGS", Ft, {
12895
+ Pi.indexOf(D.PARSER_MEDIA_TYPE) === -1 ? Fi : D.PARSER_MEDIA_TYPE, Qe = ir === "application/xhtml+xml" ? kc : ns, Ie = No(D, "ALLOWED_TAGS", Ft, {
12896
12896
  transform: Qe
12897
12897
  }), W = No(D, "ALLOWED_ATTR", ge, {
12898
12898
  transform: Qe
@@ -12912,7 +12912,7 @@ function fm() {
12912
12912
  transform: Qe
12913
12913
  }), Le = xt(D, "USE_PROFILES") ? D.USE_PROFILES && typeof D.USE_PROFILES == "object" ? Ut(D.USE_PROFILES) : D.USE_PROFILES : !1, Ze = D.ALLOW_ARIA_ATTR !== !1, ot = D.ALLOW_DATA_ATTR !== !1, pt = D.ALLOW_UNKNOWN_PROTOCOLS || !1, ht = D.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Ge = D.SAFE_FOR_TEMPLATES || !1, Rt = D.SAFE_FOR_XML !== !1, kt = D.WHOLE_DOCUMENT || !1, Zn = D.RETURN_DOM || !1, $o = D.RETURN_DOM_FRAGMENT || !1, R = D.RETURN_TRUSTED_TYPE || !1, Wn = D.FORCE_BODY || !1, X = D.SANITIZE_DOM !== !1, ye = D.SANITIZE_NAMED_PROPS || !1, rn = D.KEEP_CONTENT !== !1, Bt = D.IN_PLACE || !1, Re = Cle(D.ALLOWED_URI_REGEXP) ? D.ALLOWED_URI_REGEXP : wf, Lo = typeof D.NAMESPACE == "string" ? D.NAMESPACE : an, ln = xt(D, "MATHML_TEXT_INTEGRATION_POINTS") && D.MATHML_TEXT_INTEGRATION_POINTS && typeof D.MATHML_TEXT_INTEGRATION_POINTS == "object" ? Ut(D.MATHML_TEXT_INTEGRATION_POINTS) : He({}, Qs), Ni = xt(D, "HTML_INTEGRATION_POINTS") && D.HTML_INTEGRATION_POINTS && typeof D.HTML_INTEGRATION_POINTS == "object" ? Ut(D.HTML_INTEGRATION_POINTS) : He({}, ea);
12914
12914
  const z = xt(D, "CUSTOM_ELEMENT_HANDLING") && D.CUSTOM_ELEMENT_HANDLING && typeof D.CUSTOM_ELEMENT_HANDLING == "object" ? Ut(D.CUSTOM_ELEMENT_HANDLING) : Jr(null);
12915
- if (De = Jr(null), xt(z, "tagNameCheck") && ta(z.tagNameCheck) && (De.tagNameCheck = z.tagNameCheck), xt(z, "attributeNameCheck") && ta(z.attributeNameCheck) && (De.attributeNameCheck = z.attributeNameCheck), xt(z, "allowCustomizedBuiltInElements") && typeof z.allowCustomizedBuiltInElements == "boolean" && (De.allowCustomizedBuiltInElements = z.allowCustomizedBuiltInElements), It(De), Ge && (ot = !1), $o && (Zn = !0), Le && (Pe = He({}, yf), W = Jr(null), Le.html === !0 && (He(Pe, _f), He(W, bf)), Le.svg === !0 && (He(Pe, Sc), He(W, Ec), He(W, ha)), Le.svgFilters === !0 && (He(Pe, xc), He(W, Ec), He(W, ha)), Le.mathMl === !0 && (He(Pe, Ac), He(W, Cf), He(W, ha))), We.tagCheck = null, We.attributeCheck = null, xt(D, "ADD_TAGS") && (typeof D.ADD_TAGS == "function" ? We.tagCheck = D.ADD_TAGS : Bo(D.ADD_TAGS) && (Pe === Ft && (Pe = Ut(Pe)), He(Pe, D.ADD_TAGS, Qe))), xt(D, "ADD_ATTR") && (typeof D.ADD_ATTR == "function" ? We.attributeCheck = D.ADD_ATTR : Bo(D.ADD_ATTR) && (W === ge && (W = Ut(W)), He(W, D.ADD_ATTR, Qe))), xt(D, "ADD_URI_SAFE_ATTR") && Bo(D.ADD_URI_SAFE_ATTR) && He(sn, D.ADD_URI_SAFE_ATTR, Qe), xt(D, "FORBID_CONTENTS") && Bo(D.FORBID_CONTENTS) && (jt === Do && (jt = Ut(jt)), He(jt, D.FORBID_CONTENTS, Qe)), xt(D, "ADD_FORBID_CONTENTS") && Bo(D.ADD_FORBID_CONTENTS) && (jt === Do && (jt = Ut(jt)), He(jt, D.ADD_FORBID_CONTENTS, Qe)), rn && (Pe["#text"] = !0), kt && He(Pe, ["html", "head", "body"]), Pe.table && (He(Pe, ["tbody"]), delete Ee.tbody), D.TRUSTED_TYPES_POLICY) {
12915
+ if (De = Jr(null), xt(z, "tagNameCheck") && ta(z.tagNameCheck) && (De.tagNameCheck = z.tagNameCheck), xt(z, "attributeNameCheck") && ta(z.attributeNameCheck) && (De.attributeNameCheck = z.attributeNameCheck), xt(z, "allowCustomizedBuiltInElements") && typeof z.allowCustomizedBuiltInElements == "boolean" && (De.allowCustomizedBuiltInElements = z.allowCustomizedBuiltInElements), It(De), Ge && (ot = !1), $o && (Zn = !0), Le && (Ie = He({}, yf), W = Jr(null), Le.html === !0 && (He(Ie, _f), He(W, bf)), Le.svg === !0 && (He(Ie, Sc), He(W, Ec), He(W, ha)), Le.svgFilters === !0 && (He(Ie, xc), He(W, Ec), He(W, ha)), Le.mathMl === !0 && (He(Ie, Ac), He(W, Cf), He(W, ha))), We.tagCheck = null, We.attributeCheck = null, xt(D, "ADD_TAGS") && (typeof D.ADD_TAGS == "function" ? We.tagCheck = D.ADD_TAGS : Bo(D.ADD_TAGS) && (Ie === Ft && (Ie = Ut(Ie)), He(Ie, D.ADD_TAGS, Qe))), xt(D, "ADD_ATTR") && (typeof D.ADD_ATTR == "function" ? We.attributeCheck = D.ADD_ATTR : Bo(D.ADD_ATTR) && (W === ge && (W = Ut(W)), He(W, D.ADD_ATTR, Qe))), xt(D, "ADD_URI_SAFE_ATTR") && Bo(D.ADD_URI_SAFE_ATTR) && He(sn, D.ADD_URI_SAFE_ATTR, Qe), xt(D, "FORBID_CONTENTS") && Bo(D.FORBID_CONTENTS) && (jt === Do && (jt = Ut(jt)), He(jt, D.FORBID_CONTENTS, Qe)), xt(D, "ADD_FORBID_CONTENTS") && Bo(D.ADD_FORBID_CONTENTS) && (jt === Do && (jt = Ut(jt)), He(jt, D.ADD_FORBID_CONTENTS, Qe)), rn && (Ie["#text"] = !0), kt && He(Ie, ["html", "head", "body"]), Ie.table && (He(Ie, ["tbody"]), delete Ee.tbody), D.TRUSTED_TYPES_POLICY) {
12916
12916
  if (typeof D.TRUSTED_TYPES_POLICY.createHTML != "function")
12917
12917
  throw ar('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
12918
12918
  if (typeof D.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -12968,10 +12968,10 @@ function fm() {
12968
12968
  const te = v(D);
12969
12969
  if (te)
12970
12970
  for (let we = te.length - 1; we >= 0; --we) {
12971
- const xe = te[we], Ie = xe && xe.name;
12972
- if (typeof Ie == "string")
12971
+ const xe = te[we], Ne = xe && xe.name;
12972
+ if (typeof Ne == "string")
12973
12973
  try {
12974
- D.removeAttribute(Ie);
12974
+ D.removeAttribute(Ne);
12975
12975
  } catch {
12976
12976
  }
12977
12977
  }
@@ -13016,8 +13016,8 @@ function fm() {
13016
13016
  (w ? w(te) : te.nodeType) === cn.element && na(te);
13017
13017
  const xe = y(te);
13018
13018
  if (xe)
13019
- for (let Ie = xe.length - 1; Ie >= 0; --Ie)
13020
- z.push(xe[Ie]);
13019
+ for (let Ne = xe.length - 1; Ne >= 0; --Ne)
13020
+ z.push(xe[Ne]);
13021
13021
  }
13022
13022
  }, O0 = function(D) {
13023
13023
  if (!Rt)
@@ -13033,24 +13033,24 @@ function fm() {
13033
13033
  continue;
13034
13034
  }
13035
13035
  if (we === cn.element) {
13036
- const Ie = te, et = Qe(S ? S(te) : te.nodeName);
13036
+ const Ne = te, et = Qe(S ? S(te) : te.nodeName);
13037
13037
  try {
13038
- Ie.hasAttribute && Ie.hasAttribute("patchsrc") && Ie.removeAttribute("patchsrc"), Ie.hasAttribute && Ie.hasAttribute("for") && et !== "label" && et !== "output" && Ie.removeAttribute("for");
13038
+ Ne.hasAttribute && Ne.hasAttribute("patchsrc") && Ne.removeAttribute("patchsrc"), Ne.hasAttribute && Ne.hasAttribute("for") && et !== "label" && et !== "output" && Ne.removeAttribute("for");
13039
13039
  } catch {
13040
13040
  }
13041
13041
  }
13042
13042
  const xe = y(te);
13043
13043
  if (xe)
13044
- for (let Ie = xe.length - 1; Ie >= 0; --Ie)
13045
- z.push(xe[Ie]);
13044
+ for (let Ne = xe.length - 1; Ne >= 0; --Ne)
13045
+ z.push(xe[Ne]);
13046
13046
  }
13047
13047
  }, e1 = function(D) {
13048
13048
  let z = null, te = null;
13049
13049
  if (Wn)
13050
13050
  D = "<remove></remove>" + D;
13051
13051
  else {
13052
- const Ie = hf(D, /^[\r\n\t ]+/);
13053
- te = Ie && Ie[0];
13052
+ const Ne = hf(D, /^[\r\n\t ]+/);
13053
+ te = Ne && Ne[0];
13054
13054
  }
13055
13055
  ir === "application/xhtml+xml" && Lo === an && (D = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + D + "</body></html>");
13056
13056
  const we = T ? L(D) : D;
@@ -13092,8 +13092,8 @@ function fm() {
13092
13092
  let xe = we.nextNode();
13093
13093
  for (; xe; )
13094
13094
  xe.data = oa(xe.data), xe = we.nextNode();
13095
- const Ie = (z = D.querySelectorAll) === null || z === void 0 ? void 0 : z.call(D, "template");
13096
- Ie && Wr(Ie, (et) => {
13095
+ const Ne = (z = D.querySelectorAll) === null || z === void 0 ? void 0 : z.call(D, "template");
13096
+ Ne && Wr(Ne, (et) => {
13097
13097
  qr(et.content) && tc(et.content);
13098
13098
  });
13099
13099
  }, ra = function(D) {
@@ -13152,8 +13152,8 @@ function fm() {
13152
13152
  if (rn && !jt[z]) {
13153
13153
  const we = _(D), xe = y(D);
13154
13154
  if (xe && we) {
13155
- const Ie = xe.length;
13156
- for (let et = Ie - 1; et >= 0; --et) {
13155
+ const Ne = xe.length;
13156
+ for (let et = Ne - 1; et >= 0; --et) {
13157
13157
  const at = D === te ? p(xe[et], !0) : xe[et];
13158
13158
  we.insertBefore(at, m(D));
13159
13159
  }
@@ -13168,14 +13168,14 @@ function fm() {
13168
13168
  if (ra(D))
13169
13169
  return Ln(D), !0;
13170
13170
  const te = Qe(S ? S(D) : D.nodeName);
13171
- if (Pe = n1(he.uponSanitizeElement, Pe, Ft, Dn), Kn(he.uponSanitizeElement, D, {
13171
+ if (Ie = n1(he.uponSanitizeElement, Ie, Ft, Dn), Kn(he.uponSanitizeElement, D, {
13172
13172
  tagName: te,
13173
- allowedTags: Pe
13173
+ allowedTags: Ie
13174
13174
  }), D !== z && _(D) === null)
13175
13175
  return Bt && Hi(D), !0;
13176
13176
  if (I0(D, te))
13177
13177
  return Ln(D), !0;
13178
- if (Ee[te] || !(We.tagCheck instanceof Function && We.tagCheck(te)) && !Pe[te]) {
13178
+ if (Ee[te] || !(We.tagCheck instanceof Function && We.tagCheck(te)) && !Ie[te]) {
13179
13179
  const xe = N0(D, te, z);
13180
13180
  return xe === !1 && Kn(he.afterSanitizeElements, D, null), xe;
13181
13181
  }
@@ -13250,7 +13250,7 @@ function fm() {
13250
13250
  let we = z.length;
13251
13251
  const xe = Qe(D.nodeName);
13252
13252
  for (; we--; ) {
13253
- const Ie = z[we], et = Ie.name, at = Ie.namespaceURI, Xt = Ie.value, Qt = Qe(et), oc = Xt;
13253
+ const Ne = z[we], et = Ne.name, at = Ne.namespaceURI, Xt = Ne.value, Qt = Qe(et), oc = Xt;
13254
13254
  let Vt = et === "value" ? oc : mle(oc);
13255
13255
  if (te.attrName = Qt, te.attrValue = Vt, te.keepAttr = !0, te.forceKeepAttr = void 0, Kn(he.uponSanitizeAttribute, D, te), Vt = te.attrValue, ye && (Qt === "id" || Qt === "name") && mf(Vt, mt) !== 0 && (po(et, D), Vt = mt + Vt), Rt && St(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Vt)) {
13256
13256
  po(et, D);
@@ -13297,14 +13297,14 @@ function fm() {
13297
13297
  ia(te.shadow);
13298
13298
  continue;
13299
13299
  }
13300
- const we = te.node, Ie = (w ? w(we) : we.nodeType) === cn.element, et = y(we);
13300
+ const we = te.node, Ne = (w ? w(we) : we.nodeType) === cn.element, et = y(we);
13301
13301
  if (et)
13302
13302
  for (let at = et.length - 1; at >= 0; --at)
13303
13303
  z.push({
13304
13304
  node: et[at],
13305
13305
  shadow: null
13306
13306
  });
13307
- if (Ie) {
13307
+ if (Ne) {
13308
13308
  const at = S ? S(we) : null;
13309
13309
  if (typeof at == "string" && Qe(at) === "template") {
13310
13310
  const Xt = we.content;
@@ -13314,7 +13314,7 @@ function fm() {
13314
13314
  });
13315
13315
  }
13316
13316
  }
13317
- if (Ie) {
13317
+ if (Ne) {
13318
13318
  const at = g(we);
13319
13319
  qr(at) && z.push({
13320
13320
  node: null,
@@ -13332,14 +13332,14 @@ function fm() {
13332
13332
  throw ar("dirty is not a string, aborting");
13333
13333
  if (!e.isSupported)
13334
13334
  return le;
13335
- on ? (Pe = Dn, W = Vn) : Oo(D), (he.uponSanitizeElement.length > 0 || he.uponSanitizeAttribute.length > 0) && (Pe = Ut(Pe)), he.uponSanitizeAttribute.length > 0 && (W = Ut(W)), e.removed = [];
13336
- const Ie = Bt && typeof le != "string" && zi(le);
13337
- if (Ie) {
13335
+ on ? (Ie = Dn, W = Vn) : Oo(D), (he.uponSanitizeElement.length > 0 || he.uponSanitizeAttribute.length > 0) && (Ie = Ut(Ie)), he.uponSanitizeAttribute.length > 0 && (W = Ut(W)), e.removed = [];
13336
+ const Ne = Bt && typeof le != "string" && zi(le);
13337
+ if (Ne) {
13338
13338
  O0(le);
13339
13339
  const Xt = S ? S(le) : le.nodeName;
13340
13340
  if (typeof Xt == "string") {
13341
13341
  const Qt = Qe(Xt);
13342
- if (!Pe[Qt] || Ee[Qt])
13342
+ if (!Ie[Qt] || Ee[Qt])
13343
13343
  throw Ui(le), ar("root node is forbidden and cannot be sanitized in-place");
13344
13344
  }
13345
13345
  if (ra(le))
@@ -13359,17 +13359,17 @@ function fm() {
13359
13359
  return Zn ? null : R ? E : "";
13360
13360
  }
13361
13361
  z && Wn && Ln(z.firstChild);
13362
- const et = Ie ? le : z;
13362
+ const et = Ne ? le : z;
13363
13363
  try {
13364
13364
  const Xt = t1(et);
13365
13365
  for (; we = Xt.nextNode(); )
13366
13366
  o1(we, et), s1(we), qr(we.content) && ia(we.content);
13367
13367
  } catch (Xt) {
13368
- throw Ie && (Ui(le), Wr(e.removed, (Qt) => {
13368
+ throw Ne && (Ui(le), Wr(e.removed, (Qt) => {
13369
13369
  Qt.element && Hi(Qt.element);
13370
13370
  })), Xt;
13371
13371
  }
13372
- if (Ie)
13372
+ if (Ne)
13373
13373
  return Wr(e.removed, (Xt) => {
13374
13374
  Xt.element && Hi(Xt.element);
13375
13375
  }), Ge && tc(le), le;
@@ -13382,11 +13382,11 @@ function fm() {
13382
13382
  return (W.shadowroot || W.shadowrootmode) && (xe = be.call(o, xe, !0)), xe;
13383
13383
  }
13384
13384
  let at = kt ? z.outerHTML : z.innerHTML;
13385
- return kt && Pe["!doctype"] && z.ownerDocument && z.ownerDocument.doctype && z.ownerDocument.doctype.name && St(Mle, z.ownerDocument.doctype.name) && (at = "<!DOCTYPE " + z.ownerDocument.doctype.name + `>
13385
+ return kt && Ie["!doctype"] && z.ownerDocument && z.ownerDocument.doctype && z.ownerDocument.doctype.name && St(Mle, z.ownerDocument.doctype.name) && (at = "<!DOCTYPE " + z.ownerDocument.doctype.name + `>
13386
13386
  ` + at), Ge && (at = oa(at)), T && R ? L(at) : at;
13387
13387
  }, e.setConfig = function() {
13388
13388
  let le = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
13389
- Oo(le), on = !0, Dn = Pe, Vn = W;
13389
+ Oo(le), on = !0, Dn = Ie, Vn = W;
13390
13390
  }, e.clearConfig = function() {
13391
13391
  Mn = null, on = !1, Dn = null, Vn = null, T = A, E = "";
13392
13392
  }, e.isValidAttribute = function(le, D, z) {
@@ -20960,8 +20960,8 @@ var ide = { exports: {} };
20960
20960
  T && it > T.reach && (T.reach = it);
20961
20961
  var Re = j.prev;
20962
20962
  me && (Re = d(v, Re, me), G += me.length), p(v, Re, be);
20963
- var Pe = new l(E, x ? a.tokenize(V, x) : V, H, V);
20964
- if (j = d(v, Re, Pe), Ue && d(v, j, Ue), be > 1) {
20963
+ var Ie = new l(E, x ? a.tokenize(V, x) : V, H, V);
20964
+ if (j = d(v, Re, Ie), Ue && d(v, j, Ue), be > 1) {
20965
20965
  var Ft = {
20966
20966
  cause: E + "," + M,
20967
20967
  reach: it
@@ -25507,7 +25507,7 @@ const g1e = { class: "ao-comment" }, v1e = { class: "ao-comment__created-at" },
25507
25507
  const h = n.editedAt && gs(n.editedAt), m = gs(n.createdAt), y = /* @__PURE__ */ new Date(), _ = h ?? m;
25508
25508
  return _ && j7(_, y);
25509
25509
  });
25510
- Ne(
25510
+ Pe(
25511
25511
  () => n.content,
25512
25512
  (h) => {
25513
25513
  i.value || (s.value = h);
@@ -25794,7 +25794,7 @@ const x1e = ["aria-label"], A1e = { class: "ao-file-preview__actions" }, E1e = [
25794
25794
  break;
25795
25795
  }
25796
25796
  }
25797
- return Ne(
25797
+ return Pe(
25798
25798
  () => n.currentIndex,
25799
25799
  () => {
25800
25800
  if (n.currentIndex < 0 || n.currentIndex >= n.attachments.length) {
@@ -26420,9 +26420,9 @@ const _fe = { class: "ao-activity-details" }, yfe = { class: "ao-activity-detail
26420
26420
  }
26421
26421
  };
26422
26422
  }), l = ee("description");
26423
- Ne(l, (R, X) => {
26423
+ Pe(l, (R, X) => {
26424
26424
  R === "history" && X !== "history" && r("fetchHistory");
26425
- }), Ne(() => {
26425
+ }), Pe(() => {
26426
26426
  var R;
26427
26427
  return (R = o.activity) == null ? void 0 : R.id;
26428
26428
  }, (R, X) => {
@@ -26466,7 +26466,7 @@ const _fe = { class: "ao-activity-details" }, yfe = { class: "ao-activity-detail
26466
26466
  }, _ = () => {
26467
26467
  f.value = !1;
26468
26468
  };
26469
- Ne(() => o.activity.id, () => {
26469
+ Pe(() => o.activity.id, () => {
26470
26470
  f.value = !1;
26471
26471
  });
26472
26472
  const g = O({
@@ -26637,7 +26637,7 @@ const _fe = { class: "ao-activity-details" }, yfe = { class: "ao-activity-detail
26637
26637
  r("addSubtask", R);
26638
26638
  }, Re = (R) => {
26639
26639
  r("updateSubtask", R);
26640
- }, Pe = (R) => {
26640
+ }, Ie = (R) => {
26641
26641
  r("deleteSubtask", R);
26642
26642
  };
26643
26643
  function Ft() {
@@ -26851,7 +26851,7 @@ const _fe = { class: "ao-activity-details" }, yfe = { class: "ao-activity-detail
26851
26851
  "is-template": t.isTemplate,
26852
26852
  onAdd: it,
26853
26853
  onUpdate: Re,
26854
- onDelete: Pe
26854
+ onDelete: Ie
26855
26855
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
26856
26856
  ])
26857
26857
  ])
@@ -27390,10 +27390,10 @@ const Bpe = {
27390
27390
  return (j = o.templates) == null ? void 0 : j.find((G) => G.id === o.templateId);
27391
27391
  }
27392
27392
  ), s = ee(!1);
27393
- Ne(
27393
+ Pe(
27394
27394
  () => [o.templateId, o.phaseId, o.milestoneId],
27395
27395
  () => s.value = !1
27396
- ), Ne(
27396
+ ), Pe(
27397
27397
  () => {
27398
27398
  var j;
27399
27399
  return (j = i.value) == null ? void 0 : j.phases;
@@ -27406,7 +27406,7 @@ const Bpe = {
27406
27406
  var j, G;
27407
27407
  return (G = (j = i == null ? void 0 : i.value) == null ? void 0 : j.phases) == null ? void 0 : G.find((ie) => ie.id === o.phaseId);
27408
27408
  });
27409
- Ne(
27409
+ Pe(
27410
27410
  () => {
27411
27411
  var j;
27412
27412
  return (j = a.value) == null ? void 0 : j.milestones;
@@ -27421,7 +27421,7 @@ const Bpe = {
27421
27421
  (ie) => ie.id === o.milestoneId
27422
27422
  );
27423
27423
  });
27424
- Ne(
27424
+ Pe(
27425
27425
  () => {
27426
27426
  var j;
27427
27427
  return (j = l.value) == null ? void 0 : j.activities;
@@ -28788,7 +28788,7 @@ const yhe = { class: "color-picker-wrapper" }, Js = /* @__PURE__ */ ue({
28788
28788
  const { r: m, g: y, b: _, a: g } = h.rgba;
28789
28789
  l.value = `rgba(${m}, ${y}, ${_}, ${g})`;
28790
28790
  };
28791
- return Ne(
28791
+ return Pe(
28792
28792
  () => n.color,
28793
28793
  (h) => {
28794
28794
  r.value || (l.value = h);
@@ -29207,7 +29207,7 @@ const Whe = ["onKeydown"], ll = /* @__PURE__ */ ue({
29207
29207
  }, y = () => {
29208
29208
  i.value && c();
29209
29209
  };
29210
- return Ne(i, (_) => {
29210
+ return Pe(i, (_) => {
29211
29211
  _ ? (document.addEventListener(
29212
29212
  "mousedown",
29213
29213
  h,
@@ -29464,7 +29464,7 @@ const Qhe = ["onKeydown"], eme = { class: "ao-modal ao-bulk-insert-modal" }, tme
29464
29464
  u.value.data
29465
29465
  );
29466
29466
  });
29467
- Ne(
29467
+ Pe(
29468
29468
  () => n.open,
29469
29469
  async (w) => {
29470
29470
  var S;
@@ -29818,7 +29818,7 @@ const Tme = { class: "ao-project-phase" }, $me = {
29818
29818
  emits: ["addMilestone", "bulkAddMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "updatePhase", "archivePhase", "unarchivePhase"],
29819
29819
  setup(t, { emit: e }) {
29820
29820
  const { t: n } = Jt(), o = t, r = e;
29821
- Ne(
29821
+ Pe(
29822
29822
  () => o.phase.milestones,
29823
29823
  (E, A) => {
29824
29824
  Co(E, A);
@@ -29880,7 +29880,7 @@ const Tme = { class: "ao-project-phase" }, $me = {
29880
29880
  }
29881
29881
  });
29882
29882
  };
29883
- Ne(_, (E) => {
29883
+ Pe(_, (E) => {
29884
29884
  E && (g.value = !1);
29885
29885
  });
29886
29886
  const w = ah(), S = O(() => w.path.includes("/mapping")), C = O(() => {
@@ -30059,7 +30059,7 @@ const Rme = { class: "ao-project__phases" }, Bme = {
30059
30059
  emits: ["addMilestone", "bulkAddMilestone", "updateMilestone", "archiveMilestone", "unarchiveMilestone", "addPhase", "updatePhase", "archivePhase", "unarchivePhase"],
30060
30060
  setup(t, { emit: e }) {
30061
30061
  const n = t, o = e;
30062
- Ne(() => n.phases, (p, h) => {
30062
+ Pe(() => n.phases, (p, h) => {
30063
30063
  Co(p, h);
30064
30064
  });
30065
30065
  const r = (p) => {
@@ -30356,7 +30356,7 @@ const Qme = { class: "ao-project" }, ege = ["onClick"], tge = ["onClick"], nge =
30356
30356
  }
30357
30357
  });
30358
30358
  };
30359
- Ne(G, (V) => {
30359
+ Pe(G, (V) => {
30360
30360
  V && (ie.value = !1);
30361
30361
  });
30362
30362
  const Ce = Nu(), pe = ee("overview"), Z = [
@@ -30365,7 +30365,7 @@ const Qme = { class: "ao-project" }, ege = ["onClick"], tge = ["onClick"], nge =
30365
30365
  { label: "Dev", value: "dev" },
30366
30366
  { label: "Mapping", value: "mapping" }
30367
30367
  ];
30368
- return Ne(pe, (V) => {
30368
+ return Pe(pe, (V) => {
30369
30369
  V === "feed" ? (Ce.push({ name: nt.feed }), console.log("Navigating to feed...")) : V === "dev" ? (Ce.push({ name: nt.dev }), console.log("Navigating to dev...")) : V === "overview" ? (Ce.push({ name: nt.project }), console.log("Navigating to feed...")) : V === "mapping" && (Ce.push({ name: nt.mapping }), console.log("Navigating to feed..."));
30370
30370
  }), (V, me) => {
30371
30371
  var it;
@@ -30483,46 +30483,45 @@ const Qme = { class: "ao-project" }, ege = ["onClick"], tge = ["onClick"], nge =
30483
30483
  onUnarchiveActivity: S
30484
30484
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status", "time-tracking-data"]),
30485
30485
  (k(), Y(Rn, { to: "body" }, [
30486
- N(Ue, {
30487
- name: "modal",
30488
- activities: A.value,
30489
- "is-task-checkable": t.isTaskCheckable,
30490
- statuses: t.statuses,
30491
- "activity-types": t.activityTypes,
30492
- "dev-statuses": M.value,
30493
- sprints: I.value,
30494
- "selected-activity": t.selectedActivity,
30495
- phases: t.phases,
30496
- project: t.project,
30497
- users: t.users,
30498
- "user-id": t.userId,
30499
- "is-editable": t.isEditable,
30500
- "attachment-enabled": t.attachmentEnabled,
30501
- "time-tracking-data": t.timeTrackingData,
30502
- "load-attachment-preview": t.loadAttachmentPreview,
30503
- history: t.history,
30504
- "history-loading": t.historyLoading,
30505
- "onUpdate:activity": v,
30506
- onAddSubtask: C,
30507
- onUpdateSubtask: T,
30508
- onDeleteSubtask: E,
30509
- onAddFiles: x,
30510
- onRemoveFile: L,
30511
- onAddComment: P,
30512
- onUpdateComment: H,
30513
- onRemoveComment: q,
30514
- onFetchHistory: me[5] || (me[5] = () => r("fetchHistory"))
30515
- }, {
30486
+ N(Ue, { name: "modal" }, {
30516
30487
  default: se(({ Component: Re }) => [
30517
- (k(), Y(Pr(Re), null, {
30518
- default: se((Pe) => [
30519
- ke(V.$slots, "activityDetailsBody", Ms(Ls(Pe)))
30488
+ (k(), Y(Pr(Re), {
30489
+ activities: A.value,
30490
+ "is-task-checkable": t.isTaskCheckable,
30491
+ statuses: t.statuses,
30492
+ "activity-types": t.activityTypes,
30493
+ "dev-statuses": M.value,
30494
+ sprints: I.value,
30495
+ "selected-activity": t.selectedActivity,
30496
+ phases: t.phases,
30497
+ project: t.project,
30498
+ users: t.users,
30499
+ "user-id": t.userId,
30500
+ "is-editable": t.isEditable,
30501
+ "attachment-enabled": t.attachmentEnabled,
30502
+ "time-tracking-data": t.timeTrackingData,
30503
+ "load-attachment-preview": t.loadAttachmentPreview,
30504
+ history: t.history,
30505
+ "history-loading": t.historyLoading,
30506
+ "onUpdate:activity": v,
30507
+ onAddSubtask: C,
30508
+ onUpdateSubtask: T,
30509
+ onDeleteSubtask: E,
30510
+ onAddFiles: x,
30511
+ onRemoveFile: L,
30512
+ onAddComment: P,
30513
+ onUpdateComment: H,
30514
+ onRemoveComment: q,
30515
+ onFetchHistory: me[5] || (me[5] = (Ie) => r("fetchHistory"))
30516
+ }, {
30517
+ default: se((Ie) => [
30518
+ ke(V.$slots, "activityDetailsBody", Ms(Ls(Ie)))
30520
30519
  ]),
30521
30520
  _: 3
30522
- }))
30521
+ }, 40, ["activities", "is-task-checkable", "statuses", "activity-types", "dev-statuses", "sprints", "selected-activity", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled", "time-tracking-data", "load-attachment-preview", "history", "history-loading"]))
30523
30522
  ]),
30524
30523
  _: 3
30525
- }, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "dev-statuses", "sprints", "selected-activity", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled", "time-tracking-data", "load-attachment-preview", "history", "history-loading"])
30524
+ })
30526
30525
  ]))
30527
30526
  ], 16),
30528
30527
  (k(), Y(Rn, { to: "body" }, [
@@ -30802,7 +30801,7 @@ const Ege = { class: "ao-project-milestone" }, Tge = { class: "ao-project-milest
30802
30801
  return (A = l.value) == null ? void 0 : A.activities;
30803
30802
  }
30804
30803
  );
30805
- Ne(
30804
+ Pe(
30806
30805
  c,
30807
30806
  (A, M) => {
30808
30807
  Co(
@@ -30857,7 +30856,7 @@ const Ege = { class: "ao-project-milestone" }, Tge = { class: "ao-project-milest
30857
30856
  }
30858
30857
  });
30859
30858
  };
30860
- Ne(
30859
+ Pe(
30861
30860
  p,
30862
30861
  (A) => {
30863
30862
  A && (h.value = !1);
@@ -31381,7 +31380,7 @@ function r0e(t, e, n = {}) {
31381
31380
  return (Array.isArray(h) ? h : [h]).map(Zc).filter(Jge);
31382
31381
  });
31383
31382
  let u = ps;
31384
- const f = ee(a), d = l.value ? Ne(
31383
+ const f = ee(a), d = l.value ? Pe(
31385
31384
  () => [c.value, Zc(o), f.value],
31386
31385
  ([h, m]) => {
31387
31386
  if (u(), !f.value || !h.length)
@@ -31453,7 +31452,7 @@ const i0e = {
31453
31452
  const n = t, o = e, r = ee(!1), i = ee(null);
31454
31453
  r0e(i, ([{ isIntersecting: f }]) => {
31455
31454
  r.value = f;
31456
- }), Ne(r, (f) => {
31455
+ }), Pe(r, (f) => {
31457
31456
  f && n.hasMore && !n.isLoading && o("loadMore");
31458
31457
  });
31459
31458
  const s = (f) => {
@@ -31886,7 +31885,7 @@ const eve = /* @__PURE__ */ fe(Q0e, [["__scopeId", "data-v-e4ad9a7b"]]), tve = {
31886
31885
  const s = ni(o, "activities"), a = O(() => o.feedMode === "dev" ? o.devStatuses : o.statuses), l = O(() => o.feedMode === "dev" ? s.value.filter((W) => W.activityType === "dev") : s.value), c = async (W, ge) => {
31887
31886
  await r("selectActivity", W, ge);
31888
31887
  }, u = ee({}), f = ee(!1), d = ee(!1), p = O(() => o.project ? "milestone" : "project");
31889
- Ne(
31888
+ Pe(
31890
31889
  [() => a.value, () => l.value, () => o.initialActivityId, () => o.initialActivitySlug, () => o.feedMode],
31891
31890
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
31892
31891
  async ([W, ge, De, Ee], [ut, We]) => {
@@ -32013,7 +32012,7 @@ const eve = /* @__PURE__ */ fe(Q0e, [["__scopeId", "data-v-e4ad9a7b"]]), tve = {
32013
32012
  const { id: ge } = o.selectedActivity || {};
32014
32013
  ge && r("removeComment", W);
32015
32014
  }, Ce = Nu(), pe = ah(), Z = ee("feed");
32016
- Ne(
32015
+ Pe(
32017
32016
  () => pe.name,
32018
32017
  (W) => {
32019
32018
  W === Yr.feed || W === "ActivityFeed" || W === "ActivityFeedWithActivity" ? Z.value = "feed" : W === Yr.dev || W === "ActivityFeedDev" || W === "ActivityFeedDevWithActivity" ? Z.value = "dev" : W === nt.feed ? Z.value = "feed" : W === nt.dev ? Z.value = "dev" : W === nt.project ? Z.value = "overview" : W === nt.mapping && (Z.value = "mapping");
@@ -32025,9 +32024,9 @@ const eve = /* @__PURE__ */ fe(Q0e, [["__scopeId", "data-v-e4ad9a7b"]]), tve = {
32025
32024
  { label: "Feed", value: "feed" },
32026
32025
  { label: "Dev", value: "dev" },
32027
32026
  { label: "Mapping", value: "mapping" }
32028
- ], me = O(() => Ue.value ? V.filter((W) => W.value === "feed" || W.value === "dev") : V), Ue = O(() => !o.project && pe.name && (pe.name === Yr.feed || pe.name === Yr.dev || pe.name === "ActivityFeed" || pe.name === "ActivityFeedDev" || pe.name === "ActivityFeedWithActivity" || pe.name === "ActivityFeedDevWithActivity")), it = O(() => Ue.value ? Yr.feed : nt.feed), Re = O(() => Ue.value ? Yr.dev : nt.dev), Pe = O(() => nt.project), Ft = O(() => nt.mapping);
32029
- return Ne(Z, (W) => {
32030
- W === "feed" ? Ce.push({ name: it.value }) : W === "dev" ? Ce.push({ name: Re.value }) : W === "overview" ? Ce.push({ name: Pe.value }) : W === "mapping" && Ce.push({ name: Ft.value });
32027
+ ], me = O(() => Ue.value ? V.filter((W) => W.value === "feed" || W.value === "dev") : V), Ue = O(() => !o.project && pe.name && (pe.name === Yr.feed || pe.name === Yr.dev || pe.name === "ActivityFeed" || pe.name === "ActivityFeedDev" || pe.name === "ActivityFeedWithActivity" || pe.name === "ActivityFeedDevWithActivity")), it = O(() => Ue.value ? Yr.feed : nt.feed), Re = O(() => Ue.value ? Yr.dev : nt.dev), Ie = O(() => nt.project), Ft = O(() => nt.mapping);
32028
+ return Pe(Z, (W) => {
32029
+ W === "feed" ? Ce.push({ name: it.value }) : W === "dev" ? Ce.push({ name: Re.value }) : W === "overview" ? Ce.push({ name: Ie.value }) : W === "mapping" && Ce.push({ name: Ft.value });
32031
32030
  }), (W, ge) => {
32032
32031
  var De;
32033
32032
  return k(), $("div", tve, [
@@ -32267,7 +32266,7 @@ const rve = { class: "ao-project-mapping" }, ive = { class: "ao-project-mapping-
32267
32266
  { label: "Dev", value: "dev" },
32268
32267
  { label: "Mapping", value: "mapping" }
32269
32268
  ];
32270
- return Ne(y, (g) => {
32269
+ return Pe(y, (g) => {
32271
32270
  g === "feed" ? (m.push({ name: nt.feed }), console.log("Navigating to feed...")) : g === "dev" ? (m.push({ name: nt.dev }), console.log("Navigating to dev...")) : g === "overview" ? (m.push({ name: nt.project }), console.log("Navigating to feed...")) : g === "mapping" && (m.push({ name: nt.mapping }), console.log("Navigating to feed..."));
32272
32271
  }), (g, v) => {
32273
32272
  var w;
@@ -32464,7 +32463,7 @@ const ti = {
32464
32463
  emits: ["addTemplate", "updateTemplates", "updateItem", "removeItem"],
32465
32464
  setup(t, { emit: e }) {
32466
32465
  const { t: n } = Jt(), o = t, r = e;
32467
- Ne(() => o.templates, (c, u) => {
32466
+ Pe(() => o.templates, (c, u) => {
32468
32467
  Co(c, u);
32469
32468
  });
32470
32469
  const i = () => {