@26lights/orcha 0.23.1 → 0.23.2

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 c, createBlock as N, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as G, renderSlot as x, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as e1, createVNode as S, normalizeStyle as ca, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as a1, guardReactiveProps as s1, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
1
+ import { defineComponent as Y, openBlock as c, createBlock as N, unref as q, mergeProps as Ee, createElementBlock as m, createElementVNode as f, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Xe, normalizeClass as G, renderSlot as x, toDisplayString as Z, createCommentVNode as k, ref as J, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as S, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
2
2
  import { RouterView as ys } from "vue-router";
3
3
  import Qe from "vuedraggable";
4
4
  const o8 = /* @__PURE__ */ Y({
@@ -1288,7 +1288,7 @@ const Ce = /* @__PURE__ */ Y({
1288
1288
  onKeydown: Ye(q(v), ["esc"])
1289
1289
  }), {
1290
1290
  default: U(() => [
1291
- e1(Z($.title), 1)
1291
+ a1(Z($.title), 1)
1292
1292
  ]),
1293
1293
  _: 1
1294
1294
  }, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1410,7 +1410,7 @@ const O1 = /* @__PURE__ */ Y({
1410
1410
  onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
1411
1411
  }), {
1412
1412
  default: U(() => [
1413
- e1(Z(s.label), 1)
1413
+ a1(Z(s.label), 1)
1414
1414
  ]),
1415
1415
  _: 1
1416
1416
  }, 16)),
@@ -1469,13 +1469,13 @@ const u8 = {
1469
1469
  type: "typeId",
1470
1470
  assignee: "assigneeId"
1471
1471
  };
1472
- function Yt(a) {
1472
+ function Gt(a) {
1473
1473
  "@babel/helpers - typeof";
1474
- return Yt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1474
+ return Gt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1475
1475
  return typeof e;
1476
1476
  } : function(e) {
1477
1477
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1478
- }, Yt(a);
1478
+ }, Gt(a);
1479
1479
  }
1480
1480
  function Ke(a) {
1481
1481
  if (a === null || a === !0 || a === !1)
@@ -1490,7 +1490,7 @@ function ge(a, e) {
1490
1490
  function Be(a) {
1491
1491
  ge(1, arguments);
1492
1492
  var e = Object.prototype.toString.call(a);
1493
- return a instanceof Date || Yt(a) === "object" && e === "[object Date]" ? new Date(a.getTime()) : typeof a == "number" || e === "[object Number]" ? new Date(a) : ((typeof a == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1493
+ return a instanceof Date || Gt(a) === "object" && e === "[object Date]" ? new Date(a.getTime()) : typeof a == "number" || e === "[object Number]" ? new Date(a) : ((typeof a == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1494
1494
  }
1495
1495
  function kd(a, e) {
1496
1496
  ge(2, arguments);
@@ -1507,7 +1507,7 @@ function Td(a) {
1507
1507
  }
1508
1508
  var ma = 6e4, Ca = 36e5;
1509
1509
  function Sd(a) {
1510
- return ge(1, arguments), a instanceof Date || Yt(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
1510
+ return ge(1, arguments), a instanceof Date || Gt(a) === "object" && Object.prototype.toString.call(a) === "[object Date]";
1511
1511
  }
1512
1512
  function _a(a) {
1513
1513
  if (ge(1, arguments), !Sd(a) && typeof a != "number")
@@ -1528,7 +1528,7 @@ function Od(a) {
1528
1528
  var n = e.getTime(), s = t - n;
1529
1529
  return Math.floor(s / Id) + 1;
1530
1530
  }
1531
- function Kt(a) {
1531
+ function xt(a) {
1532
1532
  ge(1, arguments);
1533
1533
  var e = 1, t = Be(a), n = t.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
1534
1534
  return t.setUTCDate(t.getUTCDate() - s), t.setUTCHours(0, 0, 0, 0), t;
@@ -1537,25 +1537,25 @@ function ga(a) {
1537
1537
  ge(1, arguments);
1538
1538
  var e = Be(a), t = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
1539
1539
  n.setUTCFullYear(t + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
1540
- var s = Kt(n), o = /* @__PURE__ */ new Date(0);
1540
+ var s = xt(n), o = /* @__PURE__ */ new Date(0);
1541
1541
  o.setUTCFullYear(t, 0, 4), o.setUTCHours(0, 0, 0, 0);
1542
- var i = Kt(o);
1542
+ var i = xt(o);
1543
1543
  return e.getTime() >= s.getTime() ? t + 1 : e.getTime() >= i.getTime() ? t : t - 1;
1544
1544
  }
1545
1545
  function Ld(a) {
1546
1546
  ge(1, arguments);
1547
1547
  var e = ga(a), t = /* @__PURE__ */ new Date(0);
1548
1548
  t.setUTCFullYear(e, 0, 4), t.setUTCHours(0, 0, 0, 0);
1549
- var n = Kt(t);
1549
+ var n = xt(t);
1550
1550
  return n;
1551
1551
  }
1552
1552
  var Vd = 6048e5;
1553
1553
  function Dd(a) {
1554
1554
  ge(1, arguments);
1555
- var e = Be(a), t = Kt(e).getTime() - Ld(e).getTime();
1555
+ var e = Be(a), t = xt(e).getTime() - Ld(e).getTime();
1556
1556
  return Math.round(t / Vd) + 1;
1557
1557
  }
1558
- function Gt(a, e) {
1558
+ function Xt(a, e) {
1559
1559
  var t, n, s, o, i, l, r, d;
1560
1560
  ge(1, arguments);
1561
1561
  var u = i1(), v = Ke((t = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && t !== void 0 ? t : 0);
@@ -1572,9 +1572,9 @@ function ya(a, e) {
1572
1572
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1573
1573
  var w = /* @__PURE__ */ new Date(0);
1574
1574
  w.setUTCFullYear(v + 1, 0, C), w.setUTCHours(0, 0, 0, 0);
1575
- var $ = Gt(w, e), A = /* @__PURE__ */ new Date(0);
1575
+ var $ = Xt(w, e), A = /* @__PURE__ */ new Date(0);
1576
1576
  A.setUTCFullYear(v, 0, C), A.setUTCHours(0, 0, 0, 0);
1577
- var g = Gt(A, e);
1577
+ var g = Xt(A, e);
1578
1578
  return u.getTime() >= $.getTime() ? v + 1 : u.getTime() >= g.getTime() ? v : v - 1;
1579
1579
  }
1580
1580
  function Hd(a, e) {
@@ -1582,13 +1582,13 @@ function Hd(a, e) {
1582
1582
  ge(1, arguments);
1583
1583
  var u = i1(), v = Ke((t = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (r = u.locale) === null || r === void 0 || (d = r.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && t !== void 0 ? t : 1), p = ya(a, e), C = /* @__PURE__ */ new Date(0);
1584
1584
  C.setUTCFullYear(p, 0, v), C.setUTCHours(0, 0, 0, 0);
1585
- var w = Gt(C, e);
1585
+ var w = Xt(C, e);
1586
1586
  return w;
1587
1587
  }
1588
1588
  var Pd = 6048e5;
1589
1589
  function Bd(a, e) {
1590
1590
  ge(1, arguments);
1591
- var t = Be(a), n = Gt(t, e).getTime() - Hd(t, e).getTime();
1591
+ var t = Be(a), n = Xt(t, e).getTime() - Hd(t, e).getTime();
1592
1592
  return Math.round(n / Pd) + 1;
1593
1593
  }
1594
1594
  function le(a, e) {
@@ -2770,17 +2770,17 @@ function Uc(a, e) {
2770
2770
  }
2771
2771
  return new Date(l + r + d);
2772
2772
  }
2773
- var Ft = {
2773
+ var zt = {
2774
2774
  dateTimeDelimiter: /[T ]/,
2775
2775
  timeZoneDelimiter: /[Z ]/i,
2776
2776
  timezone: /([Z+-].*)$/
2777
2777
  }, jc = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, Zc = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, Fc = /^([+-])(\d{2})(?::?(\d{2}))?$/;
2778
2778
  function qc(a) {
2779
- var e = {}, t = a.split(Ft.dateTimeDelimiter), n;
2779
+ var e = {}, t = a.split(zt.dateTimeDelimiter), n;
2780
2780
  if (t.length > 2)
2781
2781
  return e;
2782
- if (/:/.test(t[0]) ? n = t[0] : (e.date = t[0], n = t[1], Ft.timeZoneDelimiter.test(e.date) && (e.date = a.split(Ft.timeZoneDelimiter)[0], n = a.substr(e.date.length, a.length))), n) {
2783
- var s = Ft.timezone.exec(n);
2782
+ if (/:/.test(t[0]) ? n = t[0] : (e.date = t[0], n = t[1], zt.timeZoneDelimiter.test(e.date) && (e.date = a.split(zt.timeZoneDelimiter)[0], n = a.substr(e.date.length, a.length))), n) {
2783
+ var s = zt.timezone.exec(n);
2784
2784
  s ? (e.time = n.replace(s[1], ""), e.timezone = s[1]) : e.time = n;
2785
2785
  }
2786
2786
  return e;
@@ -2857,7 +2857,7 @@ function e0(a, e, t) {
2857
2857
  function t0(a, e) {
2858
2858
  return e >= 0 && e <= 59;
2859
2859
  }
2860
- var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, $a = {}, At = {}, Ht = {}, _t = {}, o1 = {};
2860
+ var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, $a = {}, At = {}, Bt = {}, _t = {}, o1 = {};
2861
2861
  Object.defineProperty(o1, "__esModule", { value: !0 });
2862
2862
  o1.lexoHelper = void 0;
2863
2863
  o1.lexoHelper = {
@@ -2869,8 +2869,8 @@ function a0(a, e, t, n, s) {
2869
2869
  for (let l = e; l < i; l++)
2870
2870
  t[o] = a[l], ++o;
2871
2871
  }
2872
- var Pt = {};
2873
- Object.defineProperty(Pt, "__esModule", { value: !0 });
2872
+ var Nt = {};
2873
+ Object.defineProperty(Nt, "__esModule", { value: !0 });
2874
2874
  class s0 {
2875
2875
  constructor(e = "") {
2876
2876
  this.str = e;
@@ -2894,10 +2894,10 @@ class s0 {
2894
2894
  return this.str;
2895
2895
  }
2896
2896
  }
2897
- Pt.default = s0;
2897
+ Nt.default = s0;
2898
2898
  Object.defineProperty(_t, "__esModule", { value: !0 });
2899
2899
  _t.LexoInteger = void 0;
2900
- const qt = o1, n0 = Pt;
2900
+ const Wt = o1, n0 = Nt;
2901
2901
  class Q {
2902
2902
  constructor(e, t, n) {
2903
2903
  this.sys = e, this.sign = t, this.mag = n;
@@ -2926,7 +2926,7 @@ class Q {
2926
2926
  if (s === n.length)
2927
2927
  return new Q(e, t, n);
2928
2928
  const o = new Array(s).fill(0);
2929
- return qt.lexoHelper.arrayCopy(n, 0, o, 0, s), new Q(e, t, o);
2929
+ return Wt.lexoHelper.arrayCopy(n, 0, o, 0, s), new Q(e, t, o);
2930
2930
  }
2931
2931
  static add(e, t, n) {
2932
2932
  const s = Math.max(t.length, n.length), o = new Array(s).fill(0);
@@ -2943,7 +2943,7 @@ class Q {
2943
2943
  static extendWithCarry(e, t) {
2944
2944
  if (t > 0) {
2945
2945
  const n = new Array(e.length + 1).fill(0);
2946
- return qt.lexoHelper.arrayCopy(e, 0, n, 0, e.length), n[n.length - 1] = t, n;
2946
+ return Wt.lexoHelper.arrayCopy(e, 0, n, 0, e.length), n[n.length - 1] = t, n;
2947
2947
  }
2948
2948
  return e;
2949
2949
  }
@@ -3027,13 +3027,13 @@ class Q {
3027
3027
  if (e < 0)
3028
3028
  return this.shiftRight(Math.abs(e));
3029
3029
  const t = new Array(this.mag.length + e).fill(0);
3030
- return qt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), Q.make(this.sys, this.sign, t);
3030
+ return Wt.lexoHelper.arrayCopy(this.mag, 0, t, e, this.mag.length), Q.make(this.sys, this.sign, t);
3031
3031
  }
3032
3032
  shiftRight(e = 1) {
3033
3033
  if (this.mag.length - e <= 0)
3034
3034
  return Q.zero(this.sys);
3035
3035
  const t = new Array(this.mag.length - e).fill(0);
3036
- return qt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), Q.make(this.sys, this.sign, t);
3036
+ return Wt.lexoHelper.arrayCopy(this.mag, e, t, 0, t.length), Q.make(this.sys, this.sign, t);
3037
3037
  }
3038
3038
  complement() {
3039
3039
  return this.complementDigits(this.mag.length);
@@ -3097,9 +3097,9 @@ Q.ONE_MAG = [1];
3097
3097
  Q.NEGATIVE_SIGN = -1;
3098
3098
  Q.ZERO_SIGN = 0;
3099
3099
  Q.POSITIVE_SIGN = 1;
3100
- Object.defineProperty(Ht, "__esModule", { value: !0 });
3101
- Ht.LexoDecimal = void 0;
3102
- const Tt = _t, i0 = Pt;
3100
+ Object.defineProperty(Bt, "__esModule", { value: !0 });
3101
+ Bt.LexoDecimal = void 0;
3102
+ const Tt = _t, i0 = Nt;
3103
3103
  class ke {
3104
3104
  constructor(e, t) {
3105
3105
  this.mag = e, this.sig = t;
@@ -3203,12 +3203,12 @@ class ke {
3203
3203
  return this.format();
3204
3204
  }
3205
3205
  }
3206
- Ht.LexoDecimal = ke;
3207
- var zt = {}, sa;
3206
+ Bt.LexoDecimal = ke;
3207
+ var Yt = {}, sa;
3208
3208
  function Ma() {
3209
3209
  if (sa)
3210
- return zt;
3211
- sa = 1, Object.defineProperty(zt, "__esModule", { value: !0 });
3210
+ return Yt;
3211
+ sa = 1, Object.defineProperty(Yt, "__esModule", { value: !0 });
3212
3212
  const a = _t, e = Aa();
3213
3213
  class t {
3214
3214
  constructor(s) {
@@ -3260,7 +3260,7 @@ function Ma() {
3260
3260
  return this === s ? !0 : s ? this.value.equals(s.value) : !1;
3261
3261
  }
3262
3262
  }
3263
- return zt.default = t, zt;
3263
+ return Yt.default = t, Yt;
3264
3264
  }
3265
3265
  var L1 = {}, ka = {};
3266
3266
  Object.defineProperty(ka, "__esModule", { value: !0 });
@@ -3378,7 +3378,7 @@ function Aa() {
3378
3378
  if (na)
3379
3379
  return At;
3380
3380
  na = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.LexoRank = void 0;
3381
- const a = Ht, e = Ma(), t = Pt, n = L1;
3381
+ const a = Bt, e = Ma(), t = Nt, n = L1;
3382
3382
  class s {
3383
3383
  constructor(i, l) {
3384
3384
  this.value = i.format() + "|" + s.formatDecimal(l), this.bucket = i, this.decimal = l;
@@ -3564,7 +3564,7 @@ function Aa() {
3564
3564
  for (var o in n)
3565
3565
  o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
3566
3566
  };
3567
- Object.defineProperty(a, "__esModule", { value: !0 }), t(Aa(), a), t(Ma(), a), t(Ht, a), t(_t, a);
3567
+ Object.defineProperty(a, "__esModule", { value: !0 }), t(Aa(), a), t(Ma(), a), t(Bt, a), t(_t, a);
3568
3568
  })($a);
3569
3569
  (function(a) {
3570
3570
  var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
@@ -3603,7 +3603,7 @@ function d0(a) {
3603
3603
  function c0(a) {
3604
3604
  return a.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
3605
3605
  }
3606
- function Bt(a, e) {
3606
+ function Rt(a, e) {
3607
3607
  if (a.moved)
3608
3608
  return Ot(e, a.moved.oldIndex, a.moved.newIndex);
3609
3609
  }
@@ -3707,7 +3707,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3707
3707
  title: n.title,
3708
3708
  "is-draggable": !0,
3709
3709
  "onUpdate:title": t
3710
- }, t1({
3710
+ }, s1({
3711
3711
  subtitle: U(() => [
3712
3712
  f("ul", C0, [
3713
3713
  f("li", _0, [
@@ -3950,7 +3950,7 @@ const W0 = /* @__PURE__ */ Y({
3950
3950
  e("updateMilestone", l);
3951
3951
  }, i = (l) => {
3952
3952
  if (l.moved) {
3953
- const r = Bt(l, t.phase.milestones);
3953
+ const r = Rt(l, t.phase.milestones);
3954
3954
  e("updateMilestone", {
3955
3955
  id: l.moved.element.id,
3956
3956
  rank: r
@@ -4040,7 +4040,7 @@ const W0 = /* @__PURE__ */ Y({
4040
4040
  e("removeActivity", { id: l });
4041
4041
  }, i = (l) => {
4042
4042
  if (l.moved) {
4043
- const r = Bt(l, t.milestone.activities);
4043
+ const r = Rt(l, t.milestone.activities);
4044
4044
  e("updateActivity", {
4045
4045
  id: l.moved.element.id,
4046
4046
  rank: r
@@ -4132,7 +4132,7 @@ const W0 = /* @__PURE__ */ Y({
4132
4132
  ], 2));
4133
4133
  }
4134
4134
  });
4135
- const Lt = Math.min, Ae = Math.max, xt = Math.round, Wt = Math.floor, Ge = (a) => ({
4135
+ const Lt = Math.min, Ae = Math.max, Qt = Math.round, Kt = Math.floor, Ge = (a) => ({
4136
4136
  x: a,
4137
4137
  y: a
4138
4138
  }), i3 = {
@@ -4169,10 +4169,10 @@ function r3(a, e, t) {
4169
4169
  t === void 0 && (t = !1);
4170
4170
  const n = c1(a), s = Ia(a), o = Ea(s);
4171
4171
  let i = s === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
4172
- return e.reference[o] > e.floating[o] && (i = Xt(i)), [i, Xt(i)];
4172
+ return e.reference[o] > e.floating[o] && (i = Jt(i)), [i, Jt(i)];
4173
4173
  }
4174
4174
  function u3(a) {
4175
- const e = Xt(a);
4175
+ const e = Jt(a);
4176
4176
  return [E1(a), e, E1(e)];
4177
4177
  }
4178
4178
  function E1(a) {
@@ -4196,7 +4196,7 @@ function c3(a, e, t, n) {
4196
4196
  let o = d3(mt(a), t === "start", n);
4197
4197
  return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(E1)))), o;
4198
4198
  }
4199
- function Xt(a) {
4199
+ function Jt(a) {
4200
4200
  return a.replace(/left|right|bottom|top/g, (e) => i3[e]);
4201
4201
  }
4202
4202
  function f3(a) {
@@ -4216,7 +4216,7 @@ function v3(a) {
4216
4216
  left: a
4217
4217
  };
4218
4218
  }
4219
- function Qt(a) {
4219
+ function e1(a) {
4220
4220
  return {
4221
4221
  ...a,
4222
4222
  top: a.y,
@@ -4353,7 +4353,7 @@ async function Oa(a, e) {
4353
4353
  elementContext: v = "floating",
4354
4354
  altBoundary: p = !1,
4355
4355
  padding: C = 0
4356
- } = H1(e, a), w = v3(C), A = l[p ? v === "floating" ? "reference" : "floating" : v], g = Qt(await o.getClippingRect({
4356
+ } = H1(e, a), w = v3(C), A = l[p ? v === "floating" ? "reference" : "floating" : v], g = e1(await o.getClippingRect({
4357
4357
  element: (t = await (o.isElement == null ? void 0 : o.isElement(A))) == null || t ? A : A.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(l.floating)),
4358
4358
  boundary: d,
4359
4359
  rootBoundary: u,
@@ -4368,7 +4368,7 @@ async function Oa(a, e) {
4368
4368
  } : {
4369
4369
  x: 1,
4370
4370
  y: 1
4371
- }, W = Qt(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4371
+ }, W = e1(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4372
4372
  rect: y,
4373
4373
  offsetParent: L,
4374
4374
  strategy: r
@@ -4404,7 +4404,7 @@ const h3 = function(a) {
4404
4404
  } = H1(a, e);
4405
4405
  if ((t = o.arrow) != null && t.alignmentOffset)
4406
4406
  return {};
4407
- const g = mt(s), y = mt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), j = p || (y || !$ ? [Xt(l)] : u3(l));
4407
+ const g = mt(s), y = mt(l) === l, L = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), j = p || (y || !$ ? [Jt(l)] : u3(l));
4408
4408
  !p && w !== "none" && j.push(...c3(l, $, w, L));
4409
4409
  const W = [l, ...j], H = await Oa(e, A), X = [];
4410
4410
  let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
@@ -4521,7 +4521,7 @@ function Pe(a) {
4521
4521
  function oa(a) {
4522
4522
  return typeof ShadowRoot > "u" ? !1 : a instanceof ShadowRoot || a instanceof we(a).ShadowRoot;
4523
4523
  }
4524
- function Nt(a) {
4524
+ function Ut(a) {
4525
4525
  const {
4526
4526
  overflow: e,
4527
4527
  overflowX: t,
@@ -4578,18 +4578,18 @@ function Ct(a) {
4578
4578
  }
4579
4579
  function Va(a) {
4580
4580
  const e = Ct(a);
4581
- return f1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : Pe(e) && Nt(e) ? e : Va(e);
4581
+ return f1(e) ? a.ownerDocument ? a.ownerDocument.body : a.body : Pe(e) && Ut(e) ? e : Va(e);
4582
4582
  }
4583
4583
  function Vt(a, e, t) {
4584
4584
  var n;
4585
4585
  e === void 0 && (e = []), t === void 0 && (t = !0);
4586
4586
  const s = Va(a), o = s === ((n = a.ownerDocument) == null ? void 0 : n.body), i = we(s);
4587
- return o ? e.concat(i, i.visualViewport || [], Nt(s) ? s : [], i.frameElement && t ? Vt(i.frameElement) : []) : e.concat(s, Vt(s));
4587
+ return o ? e.concat(i, i.visualViewport || [], Ut(s) ? s : [], i.frameElement && t ? Vt(i.frameElement) : []) : e.concat(s, Vt(s));
4588
4588
  }
4589
4589
  function Da(a) {
4590
4590
  const e = Ie(a);
4591
4591
  let t = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
4592
- const s = Pe(a), o = s ? a.offsetWidth : t, i = s ? a.offsetHeight : n, l = xt(t) !== o || xt(n) !== i;
4592
+ const s = Pe(a), o = s ? a.offsetWidth : t, i = s ? a.offsetHeight : n, l = Qt(t) !== o || Qt(n) !== i;
4593
4593
  return l && (t = o, n = i), {
4594
4594
  width: t,
4595
4595
  height: n,
@@ -4608,7 +4608,7 @@ function pt(a) {
4608
4608
  height: s,
4609
4609
  $: o
4610
4610
  } = Da(e);
4611
- let i = (o ? xt(t.width) : t.width) / n, l = (o ? xt(t.height) : t.height) / s;
4611
+ let i = (o ? Qt(t.width) : t.width) / n, l = (o ? Qt(t.height) : t.height) / s;
4612
4612
  return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
4613
4613
  x: i,
4614
4614
  y: l
@@ -4640,7 +4640,7 @@ function at(a, e, t, n) {
4640
4640
  r *= $.x, d *= $.y, u *= $.x, v *= $.y, r += y, d += L, w = we(w).frameElement;
4641
4641
  }
4642
4642
  }
4643
- return Qt({
4643
+ return e1({
4644
4644
  width: u,
4645
4645
  height: v,
4646
4646
  x: r,
@@ -4661,7 +4661,7 @@ function b3(a) {
4661
4661
  scrollTop: 0
4662
4662
  }, l = Ge(1);
4663
4663
  const r = Ge(0);
4664
- if ((s || !s && n !== "fixed") && ((xe(t) !== "body" || Nt(o)) && (i = v1(t)), Pe(t))) {
4664
+ if ((s || !s && n !== "fixed") && ((xe(t) !== "body" || Ut(o)) && (i = v1(t)), Pe(t))) {
4665
4665
  const d = at(t);
4666
4666
  l = pt(t), r.x = d.x + t.clientLeft, r.y = d.y + t.clientTop;
4667
4667
  }
@@ -4729,7 +4729,7 @@ function la(a, e, t) {
4729
4729
  y: e.y - s.y
4730
4730
  };
4731
4731
  }
4732
- return Qt(n);
4732
+ return e1(n);
4733
4733
  }
4734
4734
  function Ba(a, e) {
4735
4735
  const t = Ct(a);
@@ -4744,7 +4744,7 @@ function A3(a, e) {
4744
4744
  let i = o ? Ct(a) : a;
4745
4745
  for (; je(i) && !f1(i); ) {
4746
4746
  const l = Ie(i), r = B1(i);
4747
- !r && l.position === "fixed" && (s = null), (o ? !r && !s : !r && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Nt(i) && !r && Ba(a, i)) ? n = n.filter((u) => u !== i) : s = l, i = Ct(i);
4747
+ !r && l.position === "fixed" && (s = null), (o ? !r && !s : !r && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Ut(i) && !r && Ba(a, i)) ? n = n.filter((u) => u !== i) : s = l, i = Ct(i);
4748
4748
  }
4749
4749
  return e.set(a, n), n;
4750
4750
  }
@@ -4777,7 +4777,7 @@ function E3(a, e, t) {
4777
4777
  };
4778
4778
  const r = Ge(0);
4779
4779
  if (n || !n && !o)
4780
- if ((xe(e) !== "body" || Nt(s)) && (l = v1(e)), n) {
4780
+ if ((xe(e) !== "body" || Ut(s)) && (l = v1(e)), n) {
4781
4781
  const d = at(e, !0, o, e);
4782
4782
  r.x = d.x + e.clientLeft, r.y = d.y + e.clientTop;
4783
4783
  } else
@@ -4848,7 +4848,7 @@ function V3(a, e) {
4848
4848
  } = a.getBoundingClientRect();
4849
4849
  if (l || e(), !v || !p)
4850
4850
  return;
4851
- const C = Wt(u), w = Wt(s.clientWidth - (d + v)), $ = Wt(s.clientHeight - (u + p)), A = Wt(d), y = {
4851
+ const C = Kt(u), w = Kt(s.clientWidth - (d + v)), $ = Kt(s.clientHeight - (u + p)), A = Kt(d), y = {
4852
4852
  rootMargin: -C + "px " + -w + "px " + -$ + "px " + -A + "px",
4853
4853
  threshold: Ae(0, Lt(1, r)) || 1
4854
4854
  };
@@ -5107,7 +5107,7 @@ function F3(a, e, t) {
5107
5107
  searchFilter: K
5108
5108
  } = $e(a), ie = st().proxy, B = t.iv, T = t.ev, R = t.search, pe = t.clearSearch, Me = t.update, ja = t.pointer, it = t.clearPointer, Za = t.focus, Fa = t.deactivate, ot = t.close, qa = t.localize, yt = J([]), Fe = J([]), Le = J(!1), p1 = J(null), h1 = J(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => r.value || d.value || !1), za = b(() => v.value !== void 0 ? v.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
5109
5109
  if (z.value) {
5110
- let _ = Rt.value || /* istanbul ignore next */
5110
+ let _ = jt.value || /* istanbul ignore next */
5111
5111
  [], D = [];
5112
5112
  return _.forEach((se) => {
5113
5113
  b1(se[oe.value]).forEach((he) => {
@@ -5125,7 +5125,7 @@ function F3(a, e, t) {
5125
5125
  }), bt = b(() => {
5126
5126
  let _ = q1.value;
5127
5127
  return h1.value > 0 && (_ = _.slice(0, h1.value)), _;
5128
- }), Rt = b(() => {
5128
+ }), jt = b(() => {
5129
5129
  if (!z.value)
5130
5130
  return [];
5131
5131
  let _ = [], D = Fe.value || /* istanbul ignore next */
@@ -5136,7 +5136,7 @@ function F3(a, e, t) {
5136
5136
  __CREATE__: !0
5137
5137
  }), _.concat(D);
5138
5138
  }), Wa = b(() => {
5139
- let _ = [...Rt.value].map((D) => ({ ...D }));
5139
+ let _ = [...jt.value].map((D) => ({ ...D }));
5140
5140
  return lt.value.length && (_[0] && _[0].__CREATE__ ? _[0][oe.value] = [...lt.value, ..._[0][oe.value]] : _ = [{
5141
5141
  [te.value]: " ",
5142
5142
  [oe.value]: [...lt.value],
@@ -5301,9 +5301,9 @@ function F3(a, e, t) {
5301
5301
  let he = D[se];
5302
5302
  return { [H.value]: se, [Ve.value]: he, [u.value]: he };
5303
5303
  })), D = D.map((se) => typeof se == "object" ? se : { [H.value]: se, [Ve.value]: se, [u.value]: se }), D;
5304
- }, Ut = () => {
5305
- De(T.value) || (B.value = Zt(T.value));
5306
- }, jt = (_) => (Le.value = !0, new Promise((D, se) => {
5304
+ }, Zt = () => {
5305
+ De(T.value) || (B.value = qt(T.value));
5306
+ }, Ft = (_) => (Le.value = !0, new Promise((D, se) => {
5307
5307
  n.value(R.value, ie).then((he) => {
5308
5308
  Fe.value = he || [], typeof _ == "function" && _(he), Le.value = !1;
5309
5309
  }).catch((he) => {
@@ -5328,8 +5328,8 @@ function F3(a, e, t) {
5328
5328
  }
5329
5329
  });
5330
5330
  }, rs = (_) => {
5331
- jt(_);
5332
- }, Zt = (_) => De(_) ? s.value === "single" ? {} : [] : w.value ? _ : s.value === "single" ? Re(_) || (X.value ? {
5331
+ Ft(_);
5332
+ }, qt = (_) => De(_) ? s.value === "single" ? {} : [] : w.value ? _ : s.value === "single" ? Re(_) || (X.value ? {
5333
5333
  [u.value]: _,
5334
5334
  [H.value]: _,
5335
5335
  [Ve.value]: _
@@ -5353,24 +5353,24 @@ function F3(a, e, t) {
5353
5353
  };
5354
5354
  if (s.value !== "single" && !De(T.value) && !Array.isArray(T.value))
5355
5355
  throw new Error(`v-model must be an array when using "${s.value}" mode`);
5356
- return n && typeof n.value == "function" ? g.value ? jt(Ut) : w.value == !0 && Ut() : (Fe.value = n.value, Ut()), A.value > -1 && x1(), ue(A, (_, D) => {
5356
+ return n && typeof n.value == "function" ? g.value ? Ft(Zt) : w.value == !0 && Zt() : (Fe.value = n.value, Zt()), A.value > -1 && x1(), ue(A, (_, D) => {
5357
5357
  p1.value && p1.value(), _ >= 0 && x1();
5358
5358
  }), ue(T, (_) => {
5359
5359
  if (De(_)) {
5360
- Me(Zt(_), !1);
5360
+ Me(qt(_), !1);
5361
5361
  return;
5362
5362
  }
5363
5363
  switch (s.value) {
5364
5364
  case "single":
5365
- (w.value ? _[H.value] != B.value[H.value] : _ != B.value[H.value]) && Me(Zt(_), !1);
5365
+ (w.value ? _[H.value] != B.value[H.value] : _ != B.value[H.value]) && Me(qt(_), !1);
5366
5366
  break;
5367
5367
  case "multiple":
5368
5368
  case "tags":
5369
- Z3(w.value ? _.map((D) => D[H.value]) : _, B.value.map((D) => D[H.value])) || Me(Zt(_), !1);
5369
+ Z3(w.value ? _.map((D) => D[H.value]) : _, B.value.map((D) => D[H.value])) || Me(qt(_), !1);
5370
5370
  break;
5371
5371
  }
5372
5372
  }, { deep: !0 }), ue(n, (_, D) => {
5373
- typeof a.options == "function" ? g.value && (!D || _ && _.toString() !== D.toString()) && jt() : (Fe.value = a.options, Object.keys(B.value).length || Ut(), w1());
5373
+ typeof a.options == "function" ? g.value && (!D || _ && _.toString() !== D.toString()) && Ft() : (Fe.value = a.options, Object.keys(B.value).length || Zt(), w1());
5374
5374
  }), ue(u, w1), {
5375
5375
  pfo: q1,
5376
5376
  fo: bt,
@@ -5379,8 +5379,8 @@ function F3(a, e, t) {
5379
5379
  multipleLabelText: Ya,
5380
5380
  eo: qe,
5381
5381
  extendedOptions: qe,
5382
- eg: Rt,
5383
- extendedGroups: Rt,
5382
+ eg: jt,
5383
+ extendedGroups: jt,
5384
5384
  fg: z1,
5385
5385
  filteredGroups: z1,
5386
5386
  noOptions: Ka,
@@ -5401,7 +5401,7 @@ function F3(a, e, t) {
5401
5401
  handleGroupClick: es,
5402
5402
  handleTagRemove: Qa,
5403
5403
  refreshOptions: rs,
5404
- resolveOptions: jt,
5404
+ resolveOptions: Ft,
5405
5405
  refreshLabels: w1
5406
5406
  };
5407
5407
  }
@@ -6276,7 +6276,7 @@ function g5(a, e, t, n, s, o) {
6276
6276
  key: r,
6277
6277
  "aria-label": a.ariaTagLabel(a.localize(i[t.label]))
6278
6278
  }, [
6279
- e1(
6279
+ a1(
6280
6280
  Z(a.localize(i[t.label])) + " ",
6281
6281
  1
6282
6282
  /* TEXT */
@@ -6685,11 +6685,11 @@ const be = /* @__PURE__ */ Y({
6685
6685
  ref_key: "multiselectRef",
6686
6686
  ref: n,
6687
6687
  class: "ao-multiselect"
6688
- }, t1({ _: 2 }, [
6688
+ }, s1({ _: 2 }, [
6689
6689
  ye(s.$slots, (i, l) => ({
6690
6690
  name: l,
6691
6691
  fn: U((r) => [
6692
- x(s.$slots, l, a1(s1(r ?? {})))
6692
+ x(s.$slots, l, Ht(Pt(r ?? {})))
6693
6693
  ])
6694
6694
  }))
6695
6695
  ]), 1536));
@@ -7036,7 +7036,7 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7036
7036
  ]
7037
7037
  }, {
7038
7038
  default: U(() => [
7039
- e1(Z(A.content), 1)
7039
+ a1(Z(A.content), 1)
7040
7040
  ]),
7041
7041
  _: 1
7042
7042
  }, 40, ["value", "rows", "onKeyup"]))
@@ -8024,7 +8024,7 @@ const q7 = {
8024
8024
  }, h = (I) => {
8025
8025
  var V;
8026
8026
  if (I.moved) {
8027
- const F = Bt(I, ((V = s.value) == null ? void 0 : V.phases) ?? []);
8027
+ const F = Rt(I, ((V = s.value) == null ? void 0 : V.phases) ?? []);
8028
8028
  e("updateItem", {
8029
8029
  itemType: me.PHASES,
8030
8030
  id: I.moved.element.id,
@@ -8180,7 +8180,7 @@ const q7 = {
8180
8180
  onRemoveFile: oe
8181
8181
  }, {
8182
8182
  default: U((T) => [
8183
- x(I.$slots, "activityDetailsBody", a1(s1(T)))
8183
+ x(I.$slots, "activityDetailsBody", Ht(Pt(T)))
8184
8184
  ]),
8185
8185
  _: 3
8186
8186
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : k("", !0)
@@ -8276,7 +8276,7 @@ const t9 = { class: "ao-card-project-phase__header" }, a9 = { class: "ao-card-pr
8276
8276
  var l;
8277
8277
  return (l = t.milestones) == null ? void 0 : l.filter((r) => r.status === T1.done).length;
8278
8278
  }), i = b(() => (o.value || 0) / (s.value || 1));
8279
- return (l, r) => (c(), N(j1, { class: "ao-card-project-phase" }, t1({
8279
+ return (l, r) => (c(), N(j1, { class: "ao-card-project-phase" }, s1({
8280
8280
  default: U(() => [
8281
8281
  S(Ce, {
8282
8282
  id: l.id,
@@ -8536,7 +8536,7 @@ const $9 = { class: "ao-project__phases" }, M9 = {
8536
8536
  e("archivePhase", u);
8537
8537
  }, l = (u) => {
8538
8538
  if (u.moved) {
8539
- const v = Bt(u, t.phases ?? []);
8539
+ const v = Rt(u, t.phases ?? []);
8540
8540
  e("updatePhase", {
8541
8541
  id: u.moved.element.id,
8542
8542
  rank: v
@@ -8820,7 +8820,7 @@ const Ra = /* @__PURE__ */ P(D9, [["render", P9], ["__scopeId", "data-v-c0ae9237
8820
8820
  default: U(({ Component: h }) => [
8821
8821
  (c(), N(Xe(h), null, {
8822
8822
  default: U((O) => [
8823
- x(E.$slots, "activityDetailsBody", a1(s1(O)))
8823
+ x(E.$slots, "activityDetailsBody", Ht(Pt(O)))
8824
8824
  ]),
8825
8825
  _: 2
8826
8826
  }, 1024))
@@ -9108,7 +9108,7 @@ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-mileston
9108
9108
  }),
9109
9109
  onUpdateActivity: u,
9110
9110
  onRemoveAssignee: () => u({ id: $.id, assigneeId: null })
9111
- }, t1({ _: 2 }, [
9111
+ }, s1({ _: 2 }, [
9112
9112
  p.isEditable ? {
9113
9113
  name: "secondary",
9114
9114
  fn: U(() => [
@@ -9163,10 +9163,12 @@ const d4 = /* @__PURE__ */ Y({
9163
9163
  const t = a, n = b(() => {
9164
9164
  var g;
9165
9165
  return (g = t.phases) == null ? void 0 : g.find((y) => y.id === t.phaseId);
9166
- }), s = b(() => {
9167
- var g;
9168
- return (g = t.phases) == null ? void 0 : g.flatMap((y) => y.milestones);
9169
- }), o = b(() => {
9166
+ }), s = b(
9167
+ () => {
9168
+ var g;
9169
+ return (g = t.phases) == null ? void 0 : g.flatMap((y) => y.milestones);
9170
+ }
9171
+ ), o = b(() => {
9170
9172
  var g;
9171
9173
  return (g = s.value) == null ? void 0 : g.find((y) => y.id === t.milestoneId);
9172
9174
  }), i = b(() => {
@@ -9223,8 +9225,8 @@ const d4 = /* @__PURE__ */ Y({
9223
9225
  onUpdateComment: $,
9224
9226
  onRemoveComment: A
9225
9227
  }, {
9226
- default: U(() => [
9227
- x(g.$slots, "default")
9228
+ default: U((W) => [
9229
+ x(g.$slots, "default", Ht(Pt(W)))
9228
9230
  ]),
9229
9231
  _: 3
9230
9232
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : k("", !0);
@@ -9256,7 +9258,7 @@ const d4 = /* @__PURE__ */ Y({
9256
9258
  function v4(a) {
9257
9259
  return ms() ? (Cs(a), !0) : !1;
9258
9260
  }
9259
- function Jt(a) {
9261
+ function t1(a) {
9260
9262
  return typeof a == "function" ? a() : q(a);
9261
9263
  }
9262
9264
  const p4 = typeof window < "u", h4 = (a) => a != null, St = () => {
@@ -9275,7 +9277,7 @@ function C4(a, e = {}) {
9275
9277
  clearTimeout(l), s(), s = St;
9276
9278
  };
9277
9279
  return (l) => {
9278
- const r = Jt(a), d = Jt(e.maxWait);
9280
+ const r = t1(a), d = t1(e.maxWait);
9279
9281
  return t && o(t), r <= 0 || d !== void 0 && d <= 0 ? (n && (o(n), n = null), Promise.resolve(l())) : new Promise((u, v) => {
9280
9282
  s = e.rejectOnCancel ? v : u, d && !n && (n = setTimeout(() => {
9281
9283
  t && o(t), n = null, u(l());
@@ -9293,7 +9295,7 @@ function _4(a, e = 200, t = {}) {
9293
9295
  }
9294
9296
  function A1(a) {
9295
9297
  var e;
9296
- const t = Jt(a);
9298
+ const t = t1(a);
9297
9299
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
9298
9300
  }
9299
9301
  const g4 = p4 ? window : void 0;
@@ -9315,7 +9317,7 @@ function w4(a, e, t = {}) {
9315
9317
  window: i = g4,
9316
9318
  immediate: l = !0
9317
9319
  } = t, r = b4(() => i && "IntersectionObserver" in i), d = b(() => {
9318
- const w = Jt(a);
9320
+ const w = t1(a);
9319
9321
  return (Array.isArray(w) ? w : [w]).map(A1).filter(h4);
9320
9322
  });
9321
9323
  let u = St;
@@ -9896,7 +9898,7 @@ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { clas
9896
9898
  ])
9897
9899
  ])
9898
9900
  ]),
9899
- x(M.$slots, "activityDetailsBody", a1(s1(B)))
9901
+ x(M.$slots, "activityDetailsBody", Ht(Pt(B)))
9900
9902
  ]),
9901
9903
  _: 3
9902
9904
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : k("", !0)
@@ -10000,7 +10002,7 @@ const ft = {
10000
10002
  });
10001
10003
  }, i = (l) => {
10002
10004
  if (l.moved) {
10003
- const r = Bt(l, t.templates ?? []);
10005
+ const r = Rt(l, t.templates ?? []);
10004
10006
  e("updateItem", {
10005
10007
  itemType: me.TEMPLATES,
10006
10008
  id: l.moved.element.id,