@26lights/orcha 0.35.7 → 0.35.9

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
@@ -1221,10 +1221,10 @@ function C1(t) {
1221
1221
  o(!1), await De(() => {
1222
1222
  t.value[n.value] = a.value, u == null || u();
1223
1223
  });
1224
- }, r = (u) => async (c) => {
1224
+ }, r = (u) => async (d) => {
1225
1225
  const l = t.value[n.value];
1226
1226
  o(!1), await De(() => {
1227
- u(l, c);
1227
+ u(l, d);
1228
1228
  });
1229
1229
  };
1230
1230
  return ce(e, async (u) => {
@@ -1253,7 +1253,7 @@ const _e = /* @__PURE__ */ J({
1253
1253
  },
1254
1254
  emits: ["update:title", "toggle-is-editing"],
1255
1255
  setup(t, { emit: e }) {
1256
- const a = t, n = ae(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = C1(n), u = M(() => s.value ? "input" : a.tag || `h${a.level}`), c = M(() => a.isEditable ? s.value ? {
1256
+ const a = t, n = ae(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: r } = C1(n), u = M(() => s.value ? "input" : a.tag || `h${a.level}`), d = M(() => a.isEditable ? s.value ? {
1257
1257
  change: l,
1258
1258
  click: (_) => _.stopPropagation(),
1259
1259
  blur: f
@@ -1263,7 +1263,7 @@ const _e = /* @__PURE__ */ J({
1263
1263
  } : {}), l = i((_, y) => {
1264
1264
  const A = y.target.value;
1265
1265
  e("update:title", A);
1266
- }), d = r(), f = async () => {
1266
+ }), c = r(), f = async () => {
1267
1267
  s.value && o(!1);
1268
1268
  }, C = () => {
1269
1269
  e("toggle-is-editing", !1);
@@ -1273,7 +1273,7 @@ const _e = /* @__PURE__ */ J({
1273
1273
  return ce(
1274
1274
  () => a.isEditable,
1275
1275
  (_) => {
1276
- _ || d();
1276
+ _ || c();
1277
1277
  }
1278
1278
  ), (_, y) => (v(), R(vt(u.value), Ve({
1279
1279
  id: _.id,
@@ -1293,8 +1293,8 @@ const _e = /* @__PURE__ */ J({
1293
1293
  value: X(s) ? _.title : null,
1294
1294
  tabindex: "0",
1295
1295
  onKeyup: ut(C, ["enter"])
1296
- }, _s(c.value), {
1297
- onKeydown: ut(X(d), ["esc"])
1296
+ }, _s(d.value), {
1297
+ onKeydown: ut(X(c), ["esc"])
1298
1298
  }), {
1299
1299
  default: q(() => [
1300
1300
  Ra(K(_.title), 1)
@@ -1581,32 +1581,32 @@ function j2(t) {
1581
1581
  return Math.round(a / N2) + 1;
1582
1582
  }
1583
1583
  function La(t, e) {
1584
- var a, n, s, o, i, r, u, c;
1584
+ var a, n, s, o, i, r, u, d;
1585
1585
  ge(1, arguments);
1586
- var l = ca(), d = Ke((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && s !== void 0 ? s : l.weekStartsOn) !== null && n !== void 0 ? n : (u = l.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
1587
- if (!(d >= 0 && d <= 6))
1586
+ var l = ca(), c = Ke((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && s !== void 0 ? s : l.weekStartsOn) !== null && n !== void 0 ? n : (u = l.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && a !== void 0 ? a : 0);
1587
+ if (!(c >= 0 && c <= 6))
1588
1588
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1589
- var f = be(t), C = f.getUTCDay(), $ = (C < d ? 7 : 0) + C - d;
1589
+ var f = be(t), C = f.getUTCDay(), $ = (C < c ? 7 : 0) + C - c;
1590
1590
  return f.setUTCDate(f.getUTCDate() - $), f.setUTCHours(0, 0, 0, 0), f;
1591
1591
  }
1592
1592
  function $1(t, e) {
1593
- var a, n, s, o, i, r, u, c;
1593
+ var a, n, s, o, i, r, u, d;
1594
1594
  ge(1, arguments);
1595
- var l = be(t), d = l.getUTCFullYear(), f = ca(), C = Ke((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : f.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = f.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
1595
+ var l = be(t), c = l.getUTCFullYear(), f = ca(), C = Ke((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : f.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = f.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
1596
1596
  if (!(C >= 1 && C <= 7))
1597
1597
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1598
1598
  var $ = /* @__PURE__ */ new Date(0);
1599
- $.setUTCFullYear(d + 1, 0, C), $.setUTCHours(0, 0, 0, 0);
1599
+ $.setUTCFullYear(c + 1, 0, C), $.setUTCHours(0, 0, 0, 0);
1600
1600
  var _ = La($, e), y = /* @__PURE__ */ new Date(0);
1601
- y.setUTCFullYear(d, 0, C), y.setUTCHours(0, 0, 0, 0);
1601
+ y.setUTCFullYear(c, 0, C), y.setUTCHours(0, 0, 0, 0);
1602
1602
  var m = La(y, e);
1603
- return l.getTime() >= _.getTime() ? d + 1 : l.getTime() >= m.getTime() ? d : d - 1;
1603
+ return l.getTime() >= _.getTime() ? c + 1 : l.getTime() >= m.getTime() ? c : c - 1;
1604
1604
  }
1605
1605
  function U2(t, e) {
1606
- var a, n, s, o, i, r, u, c;
1606
+ var a, n, s, o, i, r, u, d;
1607
1607
  ge(1, arguments);
1608
- var l = ca(), d = Ke((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : l.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = l.locale) === null || u === void 0 || (c = u.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), f = $1(t, e), C = /* @__PURE__ */ new Date(0);
1609
- C.setUTCFullYear(f, 0, d), C.setUTCHours(0, 0, 0, 0);
1608
+ var l = ca(), c = Ke((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : l.firstWeekContainsDate) !== null && n !== void 0 ? n : (u = l.locale) === null || u === void 0 || (d = u.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), f = $1(t, e), C = /* @__PURE__ */ new Date(0);
1609
+ C.setUTCFullYear(f, 0, c), C.setUTCHours(0, 0, 0, 0);
1610
1610
  var $ = La(C, e);
1611
1611
  return $;
1612
1612
  }
@@ -2454,8 +2454,8 @@ function Kt(t) {
2454
2454
  var r = t.defaultWidth, u = a != null && a.width ? String(a.width) : t.defaultWidth;
2455
2455
  s = t.values[u] || t.values[r];
2456
2456
  }
2457
- var c = t.argumentCallback ? t.argumentCallback(e) : e;
2458
- return s[c];
2457
+ var d = t.argumentCallback ? t.argumentCallback(e) : e;
2458
+ return s[d];
2459
2459
  };
2460
2460
  }
2461
2461
  var c0 = {
@@ -2583,15 +2583,15 @@ function Xt(t) {
2583
2583
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, s = n && t.matchPatterns[n] || t.matchPatterns[t.defaultMatchWidth], o = e.match(s);
2584
2584
  if (!o)
2585
2585
  return null;
2586
- var i = o[0], r = n && t.parsePatterns[n] || t.parsePatterns[t.defaultParseWidth], u = Array.isArray(r) ? b0(r, function(d) {
2587
- return d.test(i);
2588
- }) : y0(r, function(d) {
2589
- return d.test(i);
2590
- }), c;
2591
- c = t.valueCallback ? t.valueCallback(u) : u, c = a.valueCallback ? a.valueCallback(c) : c;
2586
+ var i = o[0], r = n && t.parsePatterns[n] || t.parsePatterns[t.defaultParseWidth], u = Array.isArray(r) ? b0(r, function(c) {
2587
+ return c.test(i);
2588
+ }) : y0(r, function(c) {
2589
+ return c.test(i);
2590
+ }), d;
2591
+ d = t.valueCallback ? t.valueCallback(u) : u, d = a.valueCallback ? a.valueCallback(d) : d;
2592
2592
  var l = e.slice(i.length);
2593
2593
  return {
2594
- value: c,
2594
+ value: d,
2595
2595
  rest: l
2596
2596
  };
2597
2597
  };
@@ -2722,9 +2722,9 @@ var B0 = {
2722
2722
  const M1 = B0;
2723
2723
  var R0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, N0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, j0 = /^'([^]*?)'?$/, U0 = /''/g, Z0 = /[a-zA-Z]/;
2724
2724
  function A1(t, e, a) {
2725
- var n, s, o, i, r, u, c, l, d, f, C, $, _, y, m, A, w, S;
2725
+ var n, s, o, i, r, u, d, l, c, f, C, $, _, y, m, A, w, S;
2726
2726
  ge(2, arguments);
2727
- var D = String(e), L = ca(), Z = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : L.locale) !== null && n !== void 0 ? n : M1, U = Ke((o = (i = (r = (u = a == null ? void 0 : a.firstWeekContainsDate) !== null && u !== void 0 ? u : a == null || (c = a.locale) === null || c === void 0 || (l = c.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (d = L.locale) === null || d === void 0 || (f = d.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2727
+ var D = String(e), L = ca(), Z = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : L.locale) !== null && n !== void 0 ? n : M1, U = Ke((o = (i = (r = (u = a == null ? void 0 : a.firstWeekContainsDate) !== null && u !== void 0 ? u : a == null || (d = a.locale) === null || d === void 0 || (l = d.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && r !== void 0 ? r : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = L.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2728
2728
  if (!(U >= 1 && U <= 7))
2729
2729
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2730
2730
  var W = Ke((C = ($ = (_ = (y = a == null ? void 0 : a.weekStartsOn) !== null && y !== void 0 ? y : a == null || (m = a.locale) === null || m === void 0 || (A = m.options) === null || A === void 0 ? void 0 : A.weekStartsOn) !== null && _ !== void 0 ? _ : L.weekStartsOn) !== null && $ !== void 0 ? $ : (w = L.locale) === null || w === void 0 || (S = w.options) === null || S === void 0 ? void 0 : S.weekStartsOn) !== null && C !== void 0 ? C : 0);
@@ -2769,9 +2769,9 @@ function F0(t) {
2769
2769
  return e ? e[1].replace(U0, "'") : t;
2770
2770
  }
2771
2771
  function q0(t, e, a) {
2772
- var n, s, o, i, r, u, c, l, d, f;
2772
+ var n, s, o, i, r, u, d, l, c, f;
2773
2773
  ge(2, arguments);
2774
- var C = be(t), $ = be(e), _ = ca(), y = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : _.locale) !== null && n !== void 0 ? n : M1, m = Ke((o = (i = (r = (u = a == null ? void 0 : a.weekStartsOn) !== null && u !== void 0 ? u : a == null || (c = a.locale) === null || c === void 0 || (l = c.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && r !== void 0 ? r : _.weekStartsOn) !== null && i !== void 0 ? i : (d = _.locale) === null || d === void 0 || (f = d.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && o !== void 0 ? o : 0);
2774
+ var C = be(t), $ = be(e), _ = ca(), y = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : _.locale) !== null && n !== void 0 ? n : M1, m = Ke((o = (i = (r = (u = a == null ? void 0 : a.weekStartsOn) !== null && u !== void 0 ? u : a == null || (d = a.locale) === null || d === void 0 || (l = d.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && r !== void 0 ? r : _.weekStartsOn) !== null && i !== void 0 ? i : (c = _.locale) === null || c === void 0 || (f = c.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && o !== void 0 ? o : 0);
2775
2775
  if (!y.localize)
2776
2776
  throw new RangeError("locale must contain localize property");
2777
2777
  if (!y.formatLong)
@@ -2807,17 +2807,17 @@ function ia(t, e) {
2807
2807
  }
2808
2808
  if (!o || isNaN(o.getTime()))
2809
2809
  return /* @__PURE__ */ new Date(NaN);
2810
- var r = o.getTime(), u = 0, c;
2810
+ var r = o.getTime(), u = 0, d;
2811
2811
  if (s.time && (u = X0(s.time), isNaN(u)))
2812
2812
  return /* @__PURE__ */ new Date(NaN);
2813
2813
  if (s.timezone) {
2814
- if (c = Q0(s.timezone), isNaN(c))
2814
+ if (d = Q0(s.timezone), isNaN(d))
2815
2815
  return /* @__PURE__ */ new Date(NaN);
2816
2816
  } else {
2817
- var l = new Date(r + u), d = /* @__PURE__ */ new Date(0);
2818
- return d.setFullYear(l.getUTCFullYear(), l.getUTCMonth(), l.getUTCDate()), d.setHours(l.getUTCHours(), l.getUTCMinutes(), l.getUTCSeconds(), l.getUTCMilliseconds()), d;
2817
+ var l = new Date(r + u), c = /* @__PURE__ */ new Date(0);
2818
+ return c.setFullYear(l.getUTCFullYear(), l.getUTCMonth(), l.getUTCDate()), c.setHours(l.getUTCHours(), l.getUTCMinutes(), l.getUTCSeconds(), l.getUTCMilliseconds()), c;
2819
2819
  }
2820
- return new Date(r + u + c);
2820
+ return new Date(r + u + d);
2821
2821
  }
2822
2822
  var $a = {
2823
2823
  dateTimeDelimiter: /[T ]/,
@@ -2856,8 +2856,8 @@ function K0(t, e) {
2856
2856
  var n = !!a[4], s = Qt(a[1]), o = Qt(a[2]) - 1, i = Qt(a[3]), r = Qt(a[4]), u = Qt(a[5]) - 1;
2857
2857
  if (n)
2858
2858
  return n3(e, r, u) ? J0(e, r, u) : /* @__PURE__ */ new Date(NaN);
2859
- var c = /* @__PURE__ */ new Date(0);
2860
- return !t3(e, o, i) || !a3(e, s) ? /* @__PURE__ */ new Date(NaN) : (c.setUTCFullYear(e, o, Math.max(s, i)), c);
2859
+ var d = /* @__PURE__ */ new Date(0);
2860
+ return !t3(e, o, i) || !a3(e, s) ? /* @__PURE__ */ new Date(NaN) : (d.setUTCFullYear(e, o, Math.max(s, i)), d);
2861
2861
  }
2862
2862
  function Qt(t) {
2863
2863
  return t ? parseInt(t) : 1;
@@ -2981,8 +2981,8 @@ class ie {
2981
2981
  const s = Math.max(a.length, n.length), o = new Array(s).fill(0);
2982
2982
  let i = 0;
2983
2983
  for (let r = 0; r < s; ++r) {
2984
- const u = r < a.length ? a[r] : 0, c = r < n.length ? n[r] : 0;
2985
- let l = u + c + i;
2984
+ const u = r < a.length ? a[r] : 0, d = r < n.length ? n[r] : 0;
2985
+ let l = u + d + i;
2986
2986
  for (i = 0; l >= e.getBase(); l -= e.getBase())
2987
2987
  ++i;
2988
2988
  o[r] = l;
@@ -3281,9 +3281,9 @@ function O1() {
3281
3281
  static from(s) {
3282
3282
  const o = t.LexoInteger.parse(s, e.LexoRank.NUMERAL_SYSTEM), i = a.VALUES, r = i.length;
3283
3283
  for (let u = 0; u < r; ++u) {
3284
- const c = i[u];
3285
- if (c.value.equals(o))
3286
- return c;
3284
+ const d = i[u];
3285
+ if (d.value.equals(o))
3286
+ return d;
3287
3287
  }
3288
3288
  throw new Error("Unknown bucket: " + s);
3289
3289
  }
@@ -3475,27 +3475,27 @@ function I1() {
3475
3475
  static between(i, r) {
3476
3476
  if (i.getSystem().getBase() !== r.getSystem().getBase())
3477
3477
  throw new Error("Expected same system");
3478
- let u = i, c = r, l;
3478
+ let u = i, d = r, l;
3479
3479
  if (i.getScale() < r.getScale()) {
3480
3480
  if (l = r.setScale(i.getScale(), !1), i.compareTo(l) >= 0)
3481
3481
  return s.mid(i, r);
3482
- c = l;
3482
+ d = l;
3483
3483
  }
3484
- if (i.getScale() > c.getScale()) {
3485
- if (l = i.setScale(c.getScale(), !0), l.compareTo(c) >= 0)
3484
+ if (i.getScale() > d.getScale()) {
3485
+ if (l = i.setScale(d.getScale(), !0), l.compareTo(d) >= 0)
3486
3486
  return s.mid(i, r);
3487
3487
  u = l;
3488
3488
  }
3489
- let d;
3490
- for (let $ = u.getScale(); $ > 0; c = d) {
3489
+ let c;
3490
+ for (let $ = u.getScale(); $ > 0; d = c) {
3491
3491
  const _ = $ - 1, y = u.setScale(_, !0);
3492
- if (d = c.setScale(_, !1), y.compareTo(d) === 0)
3492
+ if (c = d.setScale(_, !1), y.compareTo(c) === 0)
3493
3493
  return s.checkMid(i, r, y);
3494
- if (y.compareTo(d) > 0)
3494
+ if (y.compareTo(c) > 0)
3495
3495
  break;
3496
3496
  $ = _, u = y;
3497
3497
  }
3498
- let f = s.middleInternal(i, r, u, c), C;
3498
+ let f = s.middleInternal(i, r, u, d), C;
3499
3499
  for (let $ = f.getScale(); $ > 0; $ = C) {
3500
3500
  C = $ - 1;
3501
3501
  const _ = f.setScale(C);
@@ -3506,39 +3506,39 @@ function I1() {
3506
3506
  return f;
3507
3507
  }
3508
3508
  static parse(i) {
3509
- const r = i.split("|"), u = e.default.from(r[0]), c = t.LexoDecimal.parse(r[1], s.NUMERAL_SYSTEM);
3510
- return new s(u, c);
3509
+ const r = i.split("|"), u = e.default.from(r[0]), d = t.LexoDecimal.parse(r[1], s.NUMERAL_SYSTEM);
3510
+ return new s(u, d);
3511
3511
  }
3512
3512
  static from(i, r) {
3513
3513
  if (r.getSystem().getBase() !== s.NUMERAL_SYSTEM.getBase())
3514
3514
  throw new Error("Expected different system");
3515
3515
  return new s(i, r);
3516
3516
  }
3517
- static middleInternal(i, r, u, c) {
3518
- const l = s.mid(u, c);
3517
+ static middleInternal(i, r, u, d) {
3518
+ const l = s.mid(u, d);
3519
3519
  return s.checkMid(i, r, l);
3520
3520
  }
3521
3521
  static checkMid(i, r, u) {
3522
3522
  return i.compareTo(u) >= 0 || u.compareTo(r) >= 0 ? s.mid(i, r) : u;
3523
3523
  }
3524
3524
  static mid(i, r) {
3525
- const c = i.add(r).multiply(t.LexoDecimal.half(i.getSystem())), l = i.getScale() > r.getScale() ? i.getScale() : r.getScale();
3526
- if (c.getScale() > l) {
3527
- const d = c.setScale(l, !1);
3528
- if (d.compareTo(i) > 0)
3529
- return d;
3530
- const f = c.setScale(l, !0);
3525
+ const d = i.add(r).multiply(t.LexoDecimal.half(i.getSystem())), l = i.getScale() > r.getScale() ? i.getScale() : r.getScale();
3526
+ if (d.getScale() > l) {
3527
+ const c = d.setScale(l, !1);
3528
+ if (c.compareTo(i) > 0)
3529
+ return c;
3530
+ const f = d.setScale(l, !0);
3531
3531
  if (f.compareTo(r) < 0)
3532
3532
  return f;
3533
3533
  }
3534
- return c;
3534
+ return d;
3535
3535
  }
3536
3536
  static formatDecimal(i) {
3537
3537
  const r = i.format(), u = new a.default(r);
3538
- let c = r.indexOf(s.NUMERAL_SYSTEM.getRadixPointChar());
3538
+ let d = r.indexOf(s.NUMERAL_SYSTEM.getRadixPointChar());
3539
3539
  const l = s.NUMERAL_SYSTEM.toChar(0);
3540
- for (c < 0 && (c = r.length, u.append(s.NUMERAL_SYSTEM.getRadixPointChar())); c < 6; )
3541
- u.insert(0, l), ++c;
3540
+ for (d < 0 && (d = r.length, u.append(s.NUMERAL_SYSTEM.getRadixPointChar())); d < 6; )
3541
+ u.insert(0, l), ++d;
3542
3542
  for (; u[u.length - 1] === l; )
3543
3543
  u.length = u.length - 1;
3544
3544
  return u.toString();
@@ -4030,21 +4030,21 @@ const K3 = /* @__PURE__ */ J({
4030
4030
  class: "ao-list__title"
4031
4031
  })
4032
4032
  ]),
4033
- item: q(({ element: c }) => [
4033
+ item: q(({ element: d }) => [
4034
4034
  (v(), R(X3, {
4035
- id: c.id,
4036
- key: c.id,
4037
- title: c.name,
4038
- activities: c.activities,
4039
- "is-active": r.milestoneId === c.id,
4035
+ id: d.id,
4036
+ key: d.id,
4037
+ title: d.name,
4038
+ activities: d.activities,
4039
+ "is-active": r.milestoneId === d.id,
4040
4040
  "is-draggable": !0,
4041
- "onUpdate:title": (l) => o({ id: c.id, name: l }),
4041
+ "onUpdate:title": (l) => o({ id: d.id, name: l }),
4042
4042
  onClick: (l) => r.$router.push({
4043
4043
  params: {
4044
- milestoneId: c.id
4044
+ milestoneId: d.id
4045
4045
  }
4046
4046
  }),
4047
- onRemove: () => s(c.id)
4047
+ onRemove: () => s(d.id)
4048
4048
  }, null, 8, ["id", "title", "activities", "is-active", "onUpdate:title", "onClick", "onRemove"]))
4049
4049
  ]),
4050
4050
  footer: q(() => [
@@ -4120,17 +4120,17 @@ const K3 = /* @__PURE__ */ J({
4120
4120
  class: "ao-list__title"
4121
4121
  })
4122
4122
  ]),
4123
- item: q(({ element: c }) => [
4123
+ item: q(({ element: d }) => [
4124
4124
  (v(), R(e5, {
4125
- id: c.id,
4126
- key: c.id,
4127
- title: c.name,
4128
- tasks: c.tasks,
4129
- "is-active": r.activityId === c.id,
4125
+ id: d.id,
4126
+ key: d.id,
4127
+ title: d.name,
4128
+ tasks: d.tasks,
4129
+ "is-active": r.activityId === d.id,
4130
4130
  "is-draggable": !0,
4131
- "onUpdate:title": (l) => s({ id: c.id, name: l }),
4132
- onClick: (l) => r.$router.push({ params: { activityId: c.id } }),
4133
- onRemove: () => o(c.id)
4131
+ "onUpdate:title": (l) => s({ id: d.id, name: l }),
4132
+ onClick: (l) => r.$router.push({ params: { activityId: d.id } }),
4133
+ onRemove: () => o(d.id)
4134
4134
  }, null, 8, ["id", "title", "tasks", "is-active", "onUpdate:title", "onClick", "onRemove"]))
4135
4135
  ]),
4136
4136
  footer: q(() => [
@@ -4287,7 +4287,7 @@ function e1(t, e, a) {
4287
4287
  reference: n,
4288
4288
  floating: s
4289
4289
  } = t;
4290
- const o = Tn(e), i = P1(e), r = D1(i), u = Rt(e), c = o === "y", l = n.x + n.width / 2 - s.width / 2, d = n.y + n.height / 2 - s.height / 2, f = n[r] / 2 - s[r] / 2;
4290
+ const o = Tn(e), i = P1(e), r = D1(i), u = Rt(e), d = o === "y", l = n.x + n.width / 2 - s.width / 2, c = n.y + n.height / 2 - s.height / 2, f = n[r] / 2 - s[r] / 2;
4291
4291
  let C;
4292
4292
  switch (u) {
4293
4293
  case "top":
@@ -4305,13 +4305,13 @@ function e1(t, e, a) {
4305
4305
  case "right":
4306
4306
  C = {
4307
4307
  x: n.x + n.width,
4308
- y: d
4308
+ y: c
4309
4309
  };
4310
4310
  break;
4311
4311
  case "left":
4312
4312
  C = {
4313
4313
  x: n.x - s.width,
4314
- y: d
4314
+ y: c
4315
4315
  };
4316
4316
  break;
4317
4317
  default:
@@ -4322,10 +4322,10 @@ function e1(t, e, a) {
4322
4322
  }
4323
4323
  switch (za(e)) {
4324
4324
  case "start":
4325
- C[i] -= f * (a && c ? -1 : 1);
4325
+ C[i] -= f * (a && d ? -1 : 1);
4326
4326
  break;
4327
4327
  case "end":
4328
- C[i] += f * (a && c ? -1 : 1);
4328
+ C[i] += f * (a && d ? -1 : 1);
4329
4329
  break;
4330
4330
  }
4331
4331
  return C;
@@ -4337,14 +4337,14 @@ const g5 = async (t, e, a) => {
4337
4337
  middleware: o = [],
4338
4338
  platform: i
4339
4339
  } = a, r = o.filter(Boolean), u = await (i.isRTL == null ? void 0 : i.isRTL(e));
4340
- let c = await i.getElementRects({
4340
+ let d = await i.getElementRects({
4341
4341
  reference: t,
4342
4342
  floating: e,
4343
4343
  strategy: s
4344
4344
  }), {
4345
4345
  x: l,
4346
- y: d
4347
- } = e1(c, n, u), f = n, C = {}, $ = 0;
4346
+ y: c
4347
+ } = e1(d, n, u), f = n, C = {}, $ = 0;
4348
4348
  for (let _ = 0; _ < r.length; _++) {
4349
4349
  const {
4350
4350
  name: y,
@@ -4356,39 +4356,39 @@ const g5 = async (t, e, a) => {
4356
4356
  reset: D
4357
4357
  } = await m({
4358
4358
  x: l,
4359
- y: d,
4359
+ y: c,
4360
4360
  initialPlacement: n,
4361
4361
  placement: f,
4362
4362
  strategy: s,
4363
4363
  middlewareData: C,
4364
- rects: c,
4364
+ rects: d,
4365
4365
  platform: i,
4366
4366
  elements: {
4367
4367
  reference: t,
4368
4368
  floating: e
4369
4369
  }
4370
4370
  });
4371
- if (l = A ?? l, d = w ?? d, C = {
4371
+ if (l = A ?? l, c = w ?? c, C = {
4372
4372
  ...C,
4373
4373
  [y]: {
4374
4374
  ...C[y],
4375
4375
  ...S
4376
4376
  }
4377
4377
  }, D && $ <= 50) {
4378
- $++, typeof D == "object" && (D.placement && (f = D.placement), D.rects && (c = D.rects === !0 ? await i.getElementRects({
4378
+ $++, typeof D == "object" && (D.placement && (f = D.placement), D.rects && (d = D.rects === !0 ? await i.getElementRects({
4379
4379
  reference: t,
4380
4380
  floating: e,
4381
4381
  strategy: s
4382
4382
  }) : D.rects), {
4383
4383
  x: l,
4384
- y: d
4385
- } = e1(c, f, u)), _ = -1;
4384
+ y: c
4385
+ } = e1(d, f, u)), _ = -1;
4386
4386
  continue;
4387
4387
  }
4388
4388
  }
4389
4389
  return {
4390
4390
  x: l,
4391
- y: d,
4391
+ y: c,
4392
4392
  placement: f,
4393
4393
  strategy: s,
4394
4394
  middlewareData: C
@@ -4405,17 +4405,17 @@ async function H1(t, e) {
4405
4405
  elements: r,
4406
4406
  strategy: u
4407
4407
  } = t, {
4408
- boundary: c = "clippingAncestors",
4408
+ boundary: d = "clippingAncestors",
4409
4409
  rootBoundary: l = "viewport",
4410
- elementContext: d = "floating",
4410
+ elementContext: c = "floating",
4411
4411
  altBoundary: f = !1,
4412
4412
  padding: C = 0
4413
- } = An(e, t), $ = C5(C), y = r[f ? d === "floating" ? "reference" : "floating" : d], m = Pa(await o.getClippingRect({
4413
+ } = An(e, t), $ = C5(C), y = r[f ? c === "floating" ? "reference" : "floating" : c], m = Pa(await o.getClippingRect({
4414
4414
  element: (a = await (o.isElement == null ? void 0 : o.isElement(y))) == null || a ? y : y.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
4415
- boundary: c,
4415
+ boundary: d,
4416
4416
  rootBoundary: l,
4417
4417
  strategy: u
4418
- })), A = d === "floating" ? {
4418
+ })), A = c === "floating" ? {
4419
4419
  ...i.floating,
4420
4420
  x: n,
4421
4421
  y: s
@@ -4449,10 +4449,10 @@ const _5 = function(t) {
4449
4449
  rects: i,
4450
4450
  initialPlacement: r,
4451
4451
  platform: u,
4452
- elements: c
4452
+ elements: d
4453
4453
  } = e, {
4454
4454
  mainAxis: l = !0,
4455
- crossAxis: d = !0,
4455
+ crossAxis: c = !0,
4456
4456
  fallbackPlacements: f,
4457
4457
  fallbackStrategy: C = "bestFit",
4458
4458
  fallbackAxisSideDirection: $ = "none",
@@ -4461,11 +4461,11 @@ const _5 = function(t) {
4461
4461
  } = An(t, e);
4462
4462
  if ((a = o.arrow) != null && a.alignmentOffset)
4463
4463
  return {};
4464
- const m = Rt(s), A = Rt(r) === r, w = await (u.isRTL == null ? void 0 : u.isRTL(c.floating)), S = f || (A || !_ ? [Da(r)] : v5(r));
4464
+ const m = Rt(s), A = Rt(r) === r, w = await (u.isRTL == null ? void 0 : u.isRTL(d.floating)), S = f || (A || !_ ? [Da(r)] : v5(r));
4465
4465
  !f && $ !== "none" && S.push(...m5(r, _, $, w));
4466
4466
  const D = [r, ...S], L = await H1(e, y), Z = [];
4467
4467
  let U = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4468
- if (l && Z.push(L[m]), d) {
4468
+ if (l && Z.push(L[m]), c) {
4469
4469
  const B = f5(s, i, w);
4470
4470
  Z.push(L[B[0]], L[B[1]]);
4471
4471
  }
@@ -4522,15 +4522,15 @@ const _5 = function(t) {
4522
4522
  apply: i = () => {
4523
4523
  },
4524
4524
  ...r
4525
- } = An(t, e), u = await H1(e, r), c = Rt(a), l = za(a), d = Tn(a) === "y", {
4525
+ } = An(t, e), u = await H1(e, r), d = Rt(a), l = za(a), c = Tn(a) === "y", {
4526
4526
  width: f,
4527
4527
  height: C
4528
4528
  } = n.floating;
4529
4529
  let $, _;
4530
- c === "top" || c === "bottom" ? ($ = c, _ = l === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (_ = c, $ = l === "end" ? "top" : "bottom");
4530
+ d === "top" || d === "bottom" ? ($ = d, _ = l === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, $ = l === "end" ? "top" : "bottom");
4531
4531
  const y = C - u[$], m = f - u[_], A = !e.middlewareData.shift;
4532
4532
  let w = y, S = m;
4533
- if (d) {
4533
+ if (c) {
4534
4534
  const L = f - u.left - u.right;
4535
4535
  S = l || A ? oa(m, L) : L;
4536
4536
  } else {
@@ -4539,7 +4539,7 @@ const _5 = function(t) {
4539
4539
  }
4540
4540
  if (A && !l) {
4541
4541
  const L = Ee(u.left, 0), Z = Ee(u.right, 0), U = Ee(u.top, 0), W = Ee(u.bottom, 0);
4542
- d ? S = f - 2 * (L !== 0 || Z !== 0 ? L + Z : Ee(u.left, u.right)) : w = C - 2 * (U !== 0 || W !== 0 ? U + W : Ee(u.top, u.bottom));
4542
+ c ? S = f - 2 * (L !== 0 || Z !== 0 ? L + Z : Ee(u.left, u.right)) : w = C - 2 * (U !== 0 || W !== 0 ? U + W : Ee(u.top, u.bottom));
4543
4543
  }
4544
4544
  await i({
4545
4545
  ...e,
@@ -4688,20 +4688,20 @@ function $t(t, e, a, n) {
4688
4688
  let i = dt(1);
4689
4689
  e && (n ? Qe(n) && (i = Dt(n)) : i = Dt(t));
4690
4690
  const r = k5(o, a, n) ? j1(o) : dt(0);
4691
- let u = (s.left + r.x) / i.x, c = (s.top + r.y) / i.y, l = s.width / i.x, d = s.height / i.y;
4691
+ let u = (s.left + r.x) / i.x, d = (s.top + r.y) / i.y, l = s.width / i.x, c = s.height / i.y;
4692
4692
  if (o) {
4693
4693
  const f = ke(o), C = n && Qe(n) ? ke(n) : n;
4694
4694
  let $ = f.frameElement;
4695
4695
  for (; $ && n && C !== f; ) {
4696
4696
  const _ = Dt($), y = $.getBoundingClientRect(), m = He($), A = y.left + ($.clientLeft + parseFloat(m.paddingLeft)) * _.x, w = y.top + ($.clientTop + parseFloat(m.paddingTop)) * _.y;
4697
- u *= _.x, c *= _.y, l *= _.x, d *= _.y, u += A, c += w, $ = ke($).frameElement;
4697
+ u *= _.x, d *= _.y, l *= _.x, c *= _.y, u += A, d += w, $ = ke($).frameElement;
4698
4698
  }
4699
4699
  }
4700
4700
  return Pa({
4701
4701
  width: l,
4702
- height: d,
4702
+ height: c,
4703
4703
  x: u,
4704
- y: c
4704
+ y: d
4705
4705
  });
4706
4706
  }
4707
4707
  function M5(t) {
@@ -4719,8 +4719,8 @@ function M5(t) {
4719
4719
  }, r = dt(1);
4720
4720
  const u = dt(0);
4721
4721
  if ((s || !s && n !== "fixed") && ((ct(a) !== "body" || ma(o)) && (i = Ya(a)), Ze(a))) {
4722
- const c = $t(a);
4723
- r = Dt(a), u.x = c.x + a.clientLeft, u.y = c.y + a.clientTop;
4722
+ const d = $t(a);
4723
+ r = Dt(a), u.x = d.x + a.clientLeft, u.y = d.y + a.clientTop;
4724
4724
  }
4725
4725
  return {
4726
4726
  width: e.width * r.x,
@@ -4751,8 +4751,8 @@ function S5(t, e) {
4751
4751
  let o = n.clientWidth, i = n.clientHeight, r = 0, u = 0;
4752
4752
  if (s) {
4753
4753
  o = s.width, i = s.height;
4754
- const c = On();
4755
- (!c || c && e === "fixed") && (r = s.offsetLeft, u = s.offsetTop);
4754
+ const d = On();
4755
+ (!d || d && e === "fixed") && (r = s.offsetLeft, u = s.offsetTop);
4756
4756
  }
4757
4757
  return {
4758
4758
  width: o,
@@ -4762,12 +4762,12 @@ function S5(t, e) {
4762
4762
  };
4763
4763
  }
4764
4764
  function O5(t, e) {
4765
- const a = $t(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Ze(t) ? Dt(t) : dt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, u = s * o.x, c = n * o.y;
4765
+ const a = $t(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Ze(t) ? Dt(t) : dt(1), i = t.clientWidth * o.x, r = t.clientHeight * o.y, u = s * o.x, d = n * o.y;
4766
4766
  return {
4767
4767
  width: i,
4768
4768
  height: r,
4769
4769
  x: u,
4770
- y: c
4770
+ y: d
4771
4771
  };
4772
4772
  }
4773
4773
  function a1(t, e, a) {
@@ -4812,9 +4812,9 @@ function I5(t) {
4812
4812
  rootBoundary: n,
4813
4813
  strategy: s
4814
4814
  } = t;
4815
- const i = [...a === "clippingAncestors" ? E5(e, this._c) : [].concat(a), n], r = i[0], u = i.reduce((c, l) => {
4816
- const d = a1(e, l, s);
4817
- return c.top = Ee(d.top, c.top), c.right = oa(d.right, c.right), c.bottom = oa(d.bottom, c.bottom), c.left = Ee(d.left, c.left), c;
4815
+ const i = [...a === "clippingAncestors" ? E5(e, this._c) : [].concat(a), n], r = i[0], u = i.reduce((d, l) => {
4816
+ const c = a1(e, l, s);
4817
+ return d.top = Ee(c.top, d.top), d.right = oa(c.right, d.right), d.bottom = oa(c.bottom, d.bottom), d.left = Ee(c.left, d.left), d;
4818
4818
  }, a1(e, r, s));
4819
4819
  return {
4820
4820
  width: u.right - u.left,
@@ -4835,8 +4835,8 @@ function V5(t, e, a) {
4835
4835
  const u = dt(0);
4836
4836
  if (n || !n && !o)
4837
4837
  if ((ct(e) !== "body" || ma(s)) && (r = Ya(e)), n) {
4838
- const c = $t(e, !0, o, e);
4839
- u.x = c.x + e.clientLeft, u.y = c.y + e.clientTop;
4838
+ const d = $t(e, !0, o, e);
4839
+ u.x = d.x + e.clientLeft, u.y = d.y + e.clientTop;
4840
4840
  } else
4841
4841
  s && (u.x = U1(s));
4842
4842
  return {
@@ -4898,14 +4898,14 @@ function B5(t, e) {
4898
4898
  function i(r, u) {
4899
4899
  r === void 0 && (r = !1), u === void 0 && (u = 1), o();
4900
4900
  const {
4901
- left: c,
4901
+ left: d,
4902
4902
  top: l,
4903
- width: d,
4903
+ width: c,
4904
4904
  height: f
4905
4905
  } = t.getBoundingClientRect();
4906
- if (r || e(), !d || !f)
4906
+ if (r || e(), !c || !f)
4907
4907
  return;
4908
- const C = Aa(l), $ = Aa(s.clientWidth - (c + d)), _ = Aa(s.clientHeight - (l + f)), y = Aa(c), A = {
4908
+ const C = Aa(l), $ = Aa(s.clientWidth - (d + c)), _ = Aa(s.clientHeight - (l + f)), y = Aa(d), A = {
4909
4909
  rootMargin: -C + "px " + -$ + "px " + -_ + "px " + -y + "px",
4910
4910
  threshold: Ee(0, oa(1, u)) || 1
4911
4911
  };
@@ -4942,20 +4942,20 @@ function R5(t, e, a, n) {
4942
4942
  elementResize: i = typeof ResizeObserver == "function",
4943
4943
  layoutShift: r = typeof IntersectionObserver == "function",
4944
4944
  animationFrame: u = !1
4945
- } = n, c = En(t), l = s || o ? [...c ? ra(c) : [], ...ra(e)] : [];
4945
+ } = n, d = En(t), l = s || o ? [...d ? ra(d) : [], ...ra(e)] : [];
4946
4946
  l.forEach((m) => {
4947
4947
  s && m.addEventListener("scroll", a, {
4948
4948
  passive: !0
4949
4949
  }), o && m.addEventListener("resize", a);
4950
4950
  });
4951
- const d = c && r ? B5(c, a) : null;
4951
+ const c = d && r ? B5(d, a) : null;
4952
4952
  let f = -1, C = null;
4953
4953
  i && (C = new ResizeObserver((m) => {
4954
4954
  let [A] = m;
4955
- A && A.target === c && C && (C.unobserve(e), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
4955
+ A && A.target === d && C && (C.unobserve(e), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
4956
4956
  C && C.observe(e);
4957
4957
  })), a();
4958
- }), c && !u && C.observe(c), C.observe(e));
4958
+ }), d && !u && C.observe(d), C.observe(e));
4959
4959
  let $, _ = u ? $t(t) : null;
4960
4960
  u && y();
4961
4961
  function y() {
@@ -4965,7 +4965,7 @@ function R5(t, e, a, n) {
4965
4965
  return a(), () => {
4966
4966
  l.forEach((m) => {
4967
4967
  s && m.removeEventListener("scroll", a), o && m.removeEventListener("resize", a);
4968
- }), d && d(), C && C.disconnect(), C = null, u && cancelAnimationFrame($);
4968
+ }), c && c(), C && C.disconnect(), C = null, u && cancelAnimationFrame($);
4969
4969
  };
4970
4970
  }
4971
4971
  const N5 = (t, e, a) => {
@@ -4983,19 +4983,19 @@ const N5 = (t, e, a) => {
4983
4983
  }, j5 = (t) => {
4984
4984
  const e = ae(!1), a = ae(), n = ae(), s = ae(0);
4985
4985
  function o() {
4986
- const d = X(t.appendTo);
4987
- return d ? typeof d == "string" ? document.getElementById(d) ?? document.body : d : document.getElementById("floatingElements") ?? document.body;
4986
+ const c = X(t.appendTo);
4987
+ return c ? typeof c == "string" ? document.getElementById(c) ?? document.body : c : document.getElementById("floatingElements") ?? document.body;
4988
4988
  }
4989
4989
  const i = o(), r = ae(() => {
4990
4990
  });
4991
- function u(d) {
4992
- d.relatedTarget && n.value && n.value.contains(d.relatedTarget) || t.multiselect.value.deactivate();
4991
+ function u(c) {
4992
+ c.relatedTarget && n.value && n.value.contains(c.relatedTarget) || t.multiselect.value.deactivate();
4993
4993
  }
4994
- function c() {
4995
- const d = t.multiselect.value.$el, f = d.querySelector(".multiselect-dropdown");
4996
- if (!f || !d || e.value === !0)
4994
+ function d() {
4995
+ const c = t.multiselect.value.$el, f = c.querySelector(".multiselect-dropdown");
4996
+ if (!f || !c || e.value === !0)
4997
4997
  return;
4998
- n.value = f, a.value = d, getComputedStyle(f).getPropertyValue("display") === "none" && (f.style.display = "flex"), s.value = f.offsetHeight, f.style.removeProperty("display"), Object.assign(f.style, {
4998
+ n.value = f, a.value = c, getComputedStyle(f).getPropertyValue("display") === "none" && (f.style.display = "flex"), s.value = f.offsetHeight, f.style.removeProperty("display"), Object.assign(f.style, {
4999
4999
  position: "absolute",
5000
5000
  width: "max-content",
5001
5001
  top: 0,
@@ -5020,26 +5020,26 @@ const N5 = (t, e, a) => {
5020
5020
  fallbackPlacements: ["top-start", "bottom-start"]
5021
5021
  }),
5022
5022
  y5({
5023
- apply({ availableWidth: d, availableHeight: f, elements: C, rects: $ }) {
5023
+ apply({ availableWidth: c, availableHeight: f, elements: C, rects: $ }) {
5024
5024
  Object.assign(C.floating.style, {
5025
5025
  minHeight: `${s.value}px`,
5026
5026
  width: `${$.reference.width}px`,
5027
- maxWidth: `${d}px`,
5027
+ maxWidth: `${c}px`,
5028
5028
  maxHeight: `${f}px`
5029
5029
  // These numbers are pleasant defaults/control for screen size.
5030
5030
  });
5031
5031
  }
5032
5032
  })
5033
5033
  ]
5034
- }).then(({ x: d, y: f }) => {
5034
+ }).then(({ x: c, y: f }) => {
5035
5035
  Object.assign(n.value.style, {
5036
- left: `${d}px`,
5036
+ left: `${c}px`,
5037
5037
  top: `${f}px`
5038
5038
  });
5039
5039
  });
5040
5040
  }
5041
5041
  qt(() => {
5042
- c();
5042
+ d();
5043
5043
  }), p1(() => {
5044
5044
  r.value();
5045
5045
  }), m1(() => {
@@ -5050,37 +5050,37 @@ function je(t) {
5050
5050
  return [null, void 0].indexOf(t) !== -1;
5051
5051
  }
5052
5052
  function U5(t, e, a) {
5053
- const { object: n, valueProp: s, mode: o } = Ae(t), i = Mt().proxy, r = a.iv, u = (d, f = !0) => {
5054
- r.value = l(d);
5055
- const C = c(d);
5053
+ const { object: n, valueProp: s, mode: o } = Ae(t), i = Mt().proxy, r = a.iv, u = (c, f = !0) => {
5054
+ r.value = l(c);
5055
+ const C = d(c);
5056
5056
  e.emit("change", C, i), f && (e.emit("input", C), e.emit("update:modelValue", C));
5057
- }, c = (d) => n.value || je(d) ? d : Array.isArray(d) ? d.map((f) => f[s.value]) : d[s.value], l = (d) => je(d) ? o.value === "single" ? {} : [] : d;
5057
+ }, d = (c) => n.value || je(c) ? c : Array.isArray(c) ? c.map((f) => f[s.value]) : c[s.value], l = (c) => je(c) ? o.value === "single" ? {} : [] : c;
5058
5058
  return {
5059
5059
  update: u
5060
5060
  };
5061
5061
  }
5062
5062
  function Z5(t, e) {
5063
- const { value: a, modelValue: n, mode: s, valueProp: o } = Ae(t), i = ae(s.value !== "single" ? [] : {}), r = M(() => n && n.value !== void 0 ? n.value : a.value), u = M(() => s.value === "single" ? i.value[o.value] : i.value.map((l) => l[o.value])), c = M(() => s.value !== "single" ? i.value.map((l) => l[o.value]).join(",") : i.value[o.value]);
5063
+ const { value: a, modelValue: n, mode: s, valueProp: o } = Ae(t), i = ae(s.value !== "single" ? [] : {}), r = M(() => n && n.value !== void 0 ? n.value : a.value), u = M(() => s.value === "single" ? i.value[o.value] : i.value.map((l) => l[o.value])), d = M(() => s.value !== "single" ? i.value.map((l) => l[o.value]).join(",") : i.value[o.value]);
5064
5064
  return {
5065
5065
  iv: i,
5066
5066
  internalValue: i,
5067
5067
  ev: r,
5068
5068
  externalValue: r,
5069
- textValue: c,
5069
+ textValue: d,
5070
5070
  plainValue: u
5071
5071
  };
5072
5072
  }
5073
5073
  function F5(t, e, a) {
5074
5074
  const { regex: n } = Ae(t), s = Mt().proxy, o = a.isOpen, i = a.open, r = ae(null), u = () => {
5075
5075
  r.value = "";
5076
- }, c = (f) => {
5076
+ }, d = (f) => {
5077
5077
  r.value = f.target.value;
5078
5078
  }, l = (f) => {
5079
5079
  if (n && n.value) {
5080
5080
  let C = n.value;
5081
5081
  typeof C == "string" && (C = new RegExp(C)), f.key.match(C) || f.preventDefault();
5082
5082
  }
5083
- }, d = (f) => {
5083
+ }, c = (f) => {
5084
5084
  if (n && n.value) {
5085
5085
  let $ = (f.clipboardData || /* istanbul ignore next */
5086
5086
  window.clipboardData).getData("Text"), _ = n.value;
@@ -5093,9 +5093,9 @@ function F5(t, e, a) {
5093
5093
  }), {
5094
5094
  search: r,
5095
5095
  clearSearch: u,
5096
- handleSearchInput: c,
5096
+ handleSearchInput: d,
5097
5097
  handleKeypress: l,
5098
- handlePaste: d
5098
+ handlePaste: c
5099
5099
  };
5100
5100
  }
5101
5101
  function q5(t, e, a) {
@@ -5130,9 +5130,9 @@ function x5(t, e, a) {
5130
5130
  limit: i,
5131
5131
  hideSelected: r,
5132
5132
  createTag: u,
5133
- createOption: c,
5133
+ createOption: d,
5134
5134
  label: l,
5135
- appendNewTag: d,
5135
+ appendNewTag: c,
5136
5136
  appendNewOption: f,
5137
5137
  multipleLabel: C,
5138
5138
  object: $,
@@ -5161,7 +5161,7 @@ function x5(t, e, a) {
5161
5161
  disabledProp: ne,
5162
5162
  searchStart: le,
5163
5163
  searchFilter: se
5164
- } = Ae(t), re = Mt().proxy, z = a.iv, P = a.ev, G = a.search, ve = a.clearSearch, we = a.update, zt = a.pointer, xt = a.setPointer, tt = a.clearPointer, ha = a.focus, Qa = a.deactivate, at = a.close, Ca = a.localize, nt = ae([]), Ne = ae([]), Te = ae(!1), Be = ae(null), We = ae(Q.value && i.value === -1 ? 10 : i.value), Yt = M(() => u.value || c.value || !1), ga = M(() => d.value !== void 0 ? d.value : f.value !== void 0 ? f.value : !0), Se = M(() => {
5164
+ } = Ae(t), re = Mt().proxy, z = a.iv, P = a.ev, G = a.search, ve = a.clearSearch, we = a.update, zt = a.pointer, xt = a.setPointer, tt = a.clearPointer, ha = a.focus, Qa = a.deactivate, at = a.close, Ca = a.localize, nt = ae([]), Ne = ae([]), Te = ae(!1), Be = ae(null), We = ae(Q.value && i.value === -1 ? 10 : i.value), Yt = M(() => u.value || d.value || !1), ga = M(() => c.value !== void 0 ? c.value : f.value !== void 0 ? f.value : !0), Se = M(() => {
5165
5165
  if (E.value) {
5166
5166
  let b = Ct.value || /* istanbul ignore next */
5167
5167
  [], H = [];
@@ -5469,10 +5469,10 @@ function Y5(t, e, a) {
5469
5469
  groupLabel: i,
5470
5470
  groups: r,
5471
5471
  mode: u,
5472
- groupSelect: c,
5472
+ groupSelect: d,
5473
5473
  disabledProp: l,
5474
- groupOptions: d
5475
- } = Ae(t), f = a.fo, C = a.fg, $ = a.handleOptionClick, _ = a.handleGroupClick, y = a.search, m = a.pointer, A = a.setPointer, w = a.clearPointer, S = a.multiselect, D = a.isOpen, L = M(() => f.value.filter((P) => !P[l.value])), Z = M(() => C.value.filter((P) => !P[l.value])), U = M(() => u.value !== "single" && c.value), W = M(() => m.value && m.value.group), O = M(() => re(m.value)), Y = M(() => {
5474
+ groupOptions: c
5475
+ } = Ae(t), f = a.fo, C = a.fg, $ = a.handleOptionClick, _ = a.handleGroupClick, y = a.search, m = a.pointer, A = a.setPointer, w = a.clearPointer, S = a.multiselect, D = a.isOpen, L = M(() => f.value.filter((P) => !P[l.value])), Z = M(() => C.value.filter((P) => !P[l.value])), U = M(() => u.value !== "single" && d.value), W = M(() => m.value && m.value.group), O = M(() => re(m.value)), Y = M(() => {
5476
5476
  const P = W.value ? m.value : (
5477
5477
  /* istanbul ignore next */
5478
5478
  re(m.value)
@@ -5497,7 +5497,7 @@ function Y5(t, e, a) {
5497
5497
  A((r.value && U.value ? Z.value[0].__CREATE__ ? L.value[0] : Z.value[0] : L.value[0]) || null);
5498
5498
  else if (r.value && U.value) {
5499
5499
  let P = W.value ? E.value : Q.value;
5500
- P === void 0 && (P = B.value, P.__CREATE__ && (P = P[d.value][0])), A(P || /* istanbul ignore next */
5500
+ P === void 0 && (P = B.value, P.__CREATE__ && (P = P[c.value][0])), A(P || /* istanbul ignore next */
5501
5501
  null);
5502
5502
  } else {
5503
5503
  let P = L.value.map((G) => G[n.value]).indexOf(m.value[n.value]) + 1;
@@ -5587,15 +5587,15 @@ function Ut(t, e, a) {
5587
5587
  e === void 0 && (e = !1), a === void 0 && (a = !1);
5588
5588
  var n = t.getBoundingClientRect(), s = 1, o = 1;
5589
5589
  e && Pe(t) && (s = t.offsetWidth > 0 && jt(n.width) / t.offsetWidth || 1, o = t.offsetHeight > 0 && jt(n.height) / t.offsetHeight || 1);
5590
- var i = kt(t) ? Me(t) : window, r = i.visualViewport, u = !q1() && a, c = (n.left + (u && r ? r.offsetLeft : 0)) / s, l = (n.top + (u && r ? r.offsetTop : 0)) / o, d = n.width / s, f = n.height / o;
5590
+ var i = kt(t) ? Me(t) : window, r = i.visualViewport, u = !q1() && a, d = (n.left + (u && r ? r.offsetLeft : 0)) / s, l = (n.top + (u && r ? r.offsetTop : 0)) / o, c = n.width / s, f = n.height / o;
5591
5591
  return {
5592
- width: d,
5592
+ width: c,
5593
5593
  height: f,
5594
5594
  top: l,
5595
- right: c + d,
5595
+ right: d + c,
5596
5596
  bottom: l + f,
5597
- left: c,
5598
- x: c,
5597
+ left: d,
5598
+ x: d,
5599
5599
  y: l
5600
5600
  };
5601
5601
  }
@@ -5774,8 +5774,8 @@ function g7(t, e) {
5774
5774
  var a = Me(t), n = ht(t), s = a.visualViewport, o = n.clientWidth, i = n.clientHeight, r = 0, u = 0;
5775
5775
  if (s) {
5776
5776
  o = s.width, i = s.height;
5777
- var c = q1();
5778
- (c || !c && e === "fixed") && (r = s.offsetLeft, u = s.offsetTop);
5777
+ var d = q1();
5778
+ (d || !d && e === "fixed") && (r = s.offsetLeft, u = s.offsetTop);
5779
5779
  }
5780
5780
  return {
5781
5781
  width: o,
@@ -5829,8 +5829,8 @@ function w7(t) {
5829
5829
  }) : [];
5830
5830
  }
5831
5831
  function $7(t, e, a, n) {
5832
- var s = e === "clippingParents" ? w7(t) : [].concat(e), o = [].concat(s, [a]), i = o[0], r = o.reduce(function(u, c) {
5833
- var l = o1(t, c, n);
5832
+ var s = e === "clippingParents" ? w7(t) : [].concat(e), o = [].concat(s, [a]), i = o[0], r = o.reduce(function(u, d) {
5833
+ var l = o1(t, d, n);
5834
5834
  return u.top = wt(l.top, u.top), u.right = Ha(l.right, u.right), u.bottom = Ha(l.bottom, u.bottom), u.left = wt(l.left, u.left), u;
5835
5835
  }, o1(t, i, n));
5836
5836
  return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
@@ -5877,15 +5877,15 @@ function G1(t) {
5877
5877
  y: e.y
5878
5878
  };
5879
5879
  }
5880
- var c = s ? Y1(s) : null;
5881
- if (c != null) {
5882
- var l = c === "y" ? "height" : "width";
5880
+ var d = s ? Y1(s) : null;
5881
+ if (d != null) {
5882
+ var l = d === "y" ? "height" : "width";
5883
5883
  switch (o) {
5884
5884
  case Zt:
5885
- u[c] = u[c] - (e[l] / 2 - a[l] / 2);
5885
+ u[d] = u[d] - (e[l] / 2 - a[l] / 2);
5886
5886
  break;
5887
5887
  case la:
5888
- u[c] = u[c] + (e[l] / 2 - a[l] / 2);
5888
+ u[d] = u[d] + (e[l] / 2 - a[l] / 2);
5889
5889
  break;
5890
5890
  }
5891
5891
  }
@@ -5909,7 +5909,7 @@ function M7(t, e) {
5909
5909
  }
5910
5910
  function Hn(t, e) {
5911
5911
  e === void 0 && (e = {});
5912
- var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, u = r === void 0 ? t7 : r, c = a.rootBoundary, l = c === void 0 ? x1 : c, d = a.elementContext, f = d === void 0 ? ta : d, C = a.altBoundary, $ = C === void 0 ? !1 : C, _ = a.padding, y = _ === void 0 ? 0 : _, m = k7(typeof y != "number" ? y : M7(y, Xa)), A = f === ta ? a7 : ta, w = t.rects.popper, S = t.elements[$ ? A : f], D = $7(kt(S) ? S : S.contextElement || ht(t.elements.popper), u, l, i), L = Ut(t.elements.reference), Z = G1({
5912
+ var a = e, n = a.placement, s = n === void 0 ? t.placement : n, o = a.strategy, i = o === void 0 ? t.strategy : o, r = a.boundary, u = r === void 0 ? t7 : r, d = a.rootBoundary, l = d === void 0 ? x1 : d, c = a.elementContext, f = c === void 0 ? ta : c, C = a.altBoundary, $ = C === void 0 ? !1 : C, _ = a.padding, y = _ === void 0 ? 0 : _, m = k7(typeof y != "number" ? y : M7(y, Xa)), A = f === ta ? a7 : ta, w = t.rects.popper, S = t.elements[$ ? A : f], D = $7(kt(S) ? S : S.contextElement || ht(t.elements.popper), u, l, i), L = Ut(t.elements.reference), Z = G1({
5913
5913
  reference: L,
5914
5914
  element: w,
5915
5915
  strategy: "absolute",
@@ -5944,8 +5944,8 @@ function l1() {
5944
5944
  function A7(t) {
5945
5945
  t === void 0 && (t = {});
5946
5946
  var e = t, a = e.defaultModifiers, n = a === void 0 ? [] : a, s = e.defaultOptions, o = s === void 0 ? r1 : s;
5947
- return function(r, u, c) {
5948
- c === void 0 && (c = o);
5947
+ return function(r, u, d) {
5948
+ d === void 0 && (d = o);
5949
5949
  var l = {
5950
5950
  placement: "bottom",
5951
5951
  orderedModifiers: [],
@@ -5957,7 +5957,7 @@ function A7(t) {
5957
5957
  },
5958
5958
  attributes: {},
5959
5959
  styles: {}
5960
- }, d = [], f = !1, C = {
5960
+ }, c = [], f = !1, C = {
5961
5961
  state: l,
5962
5962
  setOptions: function(m) {
5963
5963
  var A = typeof m == "function" ? m(l.options) : m;
@@ -6014,8 +6014,8 @@ function A7(t) {
6014
6014
  };
6015
6015
  if (!l1(r, u))
6016
6016
  return C;
6017
- C.setOptions(c).then(function(y) {
6018
- !f && c.onFirstUpdate && c.onFirstUpdate(y);
6017
+ C.setOptions(d).then(function(y) {
6018
+ !f && d.onFirstUpdate && d.onFirstUpdate(y);
6019
6019
  });
6020
6020
  function $() {
6021
6021
  l.orderedModifiers.forEach(function(y) {
@@ -6028,14 +6028,14 @@ function A7(t) {
6028
6028
  options: w
6029
6029
  }), L = function() {
6030
6030
  };
6031
- d.push(D || L);
6031
+ c.push(D || L);
6032
6032
  }
6033
6033
  });
6034
6034
  }
6035
6035
  function _() {
6036
- d.forEach(function(y) {
6036
+ c.forEach(function(y) {
6037
6037
  return y();
6038
- }), d = [];
6038
+ }), c = [];
6039
6039
  }
6040
6040
  return C;
6041
6041
  };
@@ -6044,11 +6044,11 @@ var Ta = {
6044
6044
  passive: !0
6045
6045
  };
6046
6046
  function T7(t) {
6047
- var e = t.state, a = t.instance, n = t.options, s = n.scroll, o = s === void 0 ? !0 : s, i = n.resize, r = i === void 0 ? !0 : i, u = Me(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
6048
- return o && c.forEach(function(l) {
6047
+ var e = t.state, a = t.instance, n = t.options, s = n.scroll, o = s === void 0 ? !0 : s, i = n.resize, r = i === void 0 ? !0 : i, u = Me(e.elements.popper), d = [].concat(e.scrollParents.reference, e.scrollParents.popper);
6048
+ return o && d.forEach(function(l) {
6049
6049
  l.addEventListener("scroll", a.update, Ta);
6050
6050
  }), r && u.addEventListener("resize", a.update, Ta), function() {
6051
- o && c.forEach(function(l) {
6051
+ o && d.forEach(function(l) {
6052
6052
  l.removeEventListener("scroll", a.update, Ta);
6053
6053
  }), r && u.removeEventListener("resize", a.update, Ta);
6054
6054
  };
@@ -6091,7 +6091,7 @@ function L7(t, e) {
6091
6091
  };
6092
6092
  }
6093
6093
  function u1(t) {
6094
- var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, u = t.gpuAcceleration, c = t.adaptive, l = t.roundOffsets, d = t.isFixed, f = i.x, C = f === void 0 ? 0 : f, $ = i.y, _ = $ === void 0 ? 0 : $, y = typeof l == "function" ? l({
6094
+ var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, u = t.gpuAcceleration, d = t.adaptive, l = t.roundOffsets, c = t.isFixed, f = i.x, C = f === void 0 ? 0 : f, $ = i.y, _ = $ === void 0 ? 0 : $, y = typeof l == "function" ? l({
6095
6095
  x: C,
6096
6096
  y: _
6097
6097
  }) : {
@@ -6100,11 +6100,11 @@ function u1(t) {
6100
6100
  };
6101
6101
  C = y.x, _ = y.y;
6102
6102
  var m = i.hasOwnProperty("x"), A = i.hasOwnProperty("y"), w = Ye, S = Re, D = window;
6103
- if (c) {
6103
+ if (d) {
6104
6104
  var L = Ka(a), Z = "clientHeight", U = "clientWidth";
6105
6105
  if (L === Me(a) && (L = ht(a), Je(L).position !== "static" && r === "absolute" && (Z = "scrollHeight", U = "scrollWidth")), L = L, s === Re || (s === Ye || s === ft) && o === la) {
6106
6106
  S = qe;
6107
- var W = d && L === D && D.visualViewport ? D.visualViewport.height : (
6107
+ var W = c && L === D && D.visualViewport ? D.visualViewport.height : (
6108
6108
  // $FlowFixMe[prop-missing]
6109
6109
  L[Z]
6110
6110
  );
@@ -6112,7 +6112,7 @@ function u1(t) {
6112
6112
  }
6113
6113
  if (s === Ye || (s === Re || s === qe) && o === la) {
6114
6114
  w = ft;
6115
- var O = d && L === D && D.visualViewport ? D.visualViewport.width : (
6115
+ var O = c && L === D && D.visualViewport ? D.visualViewport.width : (
6116
6116
  // $FlowFixMe[prop-missing]
6117
6117
  L[U]
6118
6118
  );
@@ -6121,7 +6121,7 @@ function u1(t) {
6121
6121
  }
6122
6122
  var Y = Object.assign({
6123
6123
  position: r
6124
- }, c && I7), B = l === !0 ? L7({
6124
+ }, d && I7), B = l === !0 ? L7({
6125
6125
  x: C,
6126
6126
  y: _
6127
6127
  }, Me(a)) : {
@@ -6135,7 +6135,7 @@ function u1(t) {
6135
6135
  return Object.assign({}, Y, (e = {}, e[S] = A ? _ + "px" : "", e[w] = m ? C + "px" : "", e.transform = "", e));
6136
6136
  }
6137
6137
  function V7(t) {
6138
- var e = t.state, a = t.options, n = a.gpuAcceleration, s = n === void 0 ? !0 : n, o = a.adaptive, i = o === void 0 ? !0 : o, r = a.roundOffsets, u = r === void 0 ? !0 : r, c = {
6138
+ var e = t.state, a = t.options, n = a.gpuAcceleration, s = n === void 0 ? !0 : n, o = a.adaptive, i = o === void 0 ? !0 : o, r = a.roundOffsets, u = r === void 0 ? !0 : r, d = {
6139
6139
  placement: lt(e.placement),
6140
6140
  variation: Ft(e.placement),
6141
6141
  popper: e.elements.popper,
@@ -6143,12 +6143,12 @@ function V7(t) {
6143
6143
  gpuAcceleration: s,
6144
6144
  isFixed: e.options.strategy === "fixed"
6145
6145
  };
6146
- e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, u1(Object.assign({}, c, {
6146
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, u1(Object.assign({}, d, {
6147
6147
  offsets: e.modifiersData.popperOffsets,
6148
6148
  position: e.options.strategy,
6149
6149
  adaptive: i,
6150
6150
  roundOffsets: u
6151
- })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, u1(Object.assign({}, c, {
6151
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, u1(Object.assign({}, d, {
6152
6152
  offsets: e.modifiersData.arrow,
6153
6153
  position: "absolute",
6154
6154
  adaptive: !1,
@@ -6189,8 +6189,8 @@ function H7(t) {
6189
6189
  };
6190
6190
  return Object.assign(e.elements.popper.style, a.popper), e.styles = a, e.elements.arrow && Object.assign(e.elements.arrow.style, a.arrow), function() {
6191
6191
  Object.keys(e.elements).forEach(function(n) {
6192
- var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(u, c) {
6193
- return u[c] = "", u;
6192
+ var s = e.elements[n], o = e.attributes[n] || {}, i = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : a[n]), r = i.reduce(function(u, d) {
6193
+ return u[d] = "", u;
6194
6194
  }, {});
6195
6195
  !Pe(s) || !Fe(s) || (Object.assign(s.style, r), Object.keys(o).forEach(function(u) {
6196
6196
  s.removeAttribute(u);
@@ -6219,10 +6219,10 @@ function U7(t, e, a) {
6219
6219
  return n > a ? a : n;
6220
6220
  }
6221
6221
  function Z7(t) {
6222
- var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, u = a.boundary, c = a.rootBoundary, l = a.altBoundary, d = a.padding, f = a.tether, C = f === void 0 ? !0 : f, $ = a.tetherOffset, _ = $ === void 0 ? 0 : $, y = Hn(e, {
6222
+ var e = t.state, a = t.options, n = t.name, s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !1 : i, u = a.boundary, d = a.rootBoundary, l = a.altBoundary, c = a.padding, f = a.tether, C = f === void 0 ? !0 : f, $ = a.tetherOffset, _ = $ === void 0 ? 0 : $, y = Hn(e, {
6223
6223
  boundary: u,
6224
- rootBoundary: c,
6225
- padding: d,
6224
+ rootBoundary: d,
6225
+ padding: c,
6226
6226
  altBoundary: l
6227
6227
  }), m = lt(e.placement), A = Ft(e.placement), w = !A, S = Y1(m), D = j7(S), L = e.modifiersData.popperOffsets, Z = e.rects.reference, U = e.rects.popper, W = typeof _ == "function" ? _(Object.assign({}, e.rects, {
6228
6228
  placement: e.placement
@@ -6279,12 +6279,12 @@ function d1(t) {
6279
6279
  }
6280
6280
  function z7(t, e) {
6281
6281
  e === void 0 && (e = {});
6282
- var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, u = a.allowedAutoPlacements, c = u === void 0 ? n7 : u, l = Ft(n), d = l ? r ? i1 : i1.filter(function($) {
6282
+ var a = e, n = a.placement, s = a.boundary, o = a.rootBoundary, i = a.padding, r = a.flipVariations, u = a.allowedAutoPlacements, d = u === void 0 ? n7 : u, l = Ft(n), c = l ? r ? i1 : i1.filter(function($) {
6283
6283
  return Ft($) === l;
6284
- }) : Xa, f = d.filter(function($) {
6285
- return c.indexOf($) >= 0;
6284
+ }) : Xa, f = c.filter(function($) {
6285
+ return d.indexOf($) >= 0;
6286
6286
  });
6287
- f.length === 0 && (f = d);
6287
+ f.length === 0 && (f = c);
6288
6288
  var C = f.reduce(function($, _) {
6289
6289
  return $[_] = Hn(t, {
6290
6290
  placement: _,
@@ -6306,12 +6306,12 @@ function x7(t) {
6306
6306
  function Y7(t) {
6307
6307
  var e = t.state, a = t.options, n = t.name;
6308
6308
  if (!e.modifiersData[n]._skip) {
6309
- for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, u = a.fallbackPlacements, c = a.padding, l = a.boundary, d = a.rootBoundary, f = a.altBoundary, C = a.flipVariations, $ = C === void 0 ? !0 : C, _ = a.allowedAutoPlacements, y = e.options.placement, m = lt(y), A = m === y, w = u || (A || !$ ? [Oa(y)] : x7(y)), S = [y].concat(w).reduce(function(re, z) {
6309
+ for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, u = a.fallbackPlacements, d = a.padding, l = a.boundary, c = a.rootBoundary, f = a.altBoundary, C = a.flipVariations, $ = C === void 0 ? !0 : C, _ = a.allowedAutoPlacements, y = e.options.placement, m = lt(y), A = m === y, w = u || (A || !$ ? [Oa(y)] : x7(y)), S = [y].concat(w).reduce(function(re, z) {
6310
6310
  return re.concat(lt(z) === Pn ? z7(e, {
6311
6311
  placement: z,
6312
6312
  boundary: l,
6313
- rootBoundary: d,
6314
- padding: c,
6313
+ rootBoundary: c,
6314
+ padding: d,
6315
6315
  flipVariations: $,
6316
6316
  allowedAutoPlacements: _
6317
6317
  }) : z);
@@ -6319,9 +6319,9 @@ function Y7(t) {
6319
6319
  var Y = S[O], B = lt(Y), F = Ft(Y) === Zt, E = [Re, qe].indexOf(B) >= 0, N = E ? "width" : "height", Q = Hn(e, {
6320
6320
  placement: Y,
6321
6321
  boundary: l,
6322
- rootBoundary: d,
6322
+ rootBoundary: c,
6323
6323
  altBoundary: f,
6324
- padding: c
6324
+ padding: d
6325
6325
  }), k = E ? F ? ft : Ye : F ? qe : Re;
6326
6326
  D[N] > L[N] && (k = Oa(k));
6327
6327
  var h = Oa(k), I = [];
@@ -6363,17 +6363,17 @@ var G7 = {
6363
6363
  }
6364
6364
  };
6365
6365
  function K7(t, e, a) {
6366
- const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, u = a.multiselect, c = a.dropdown, l = ae(!1), d = ae(null), f = ae(null), C = M(() => s.value || o.value), $ = M(() => i.value === "top" && f.value === "bottom" || i.value === "bottom" && f.value !== "top" ? "bottom" : "top"), _ = () => {
6366
+ const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, u = a.multiselect, d = a.dropdown, l = ae(!1), c = ae(null), f = ae(null), C = M(() => s.value || o.value), $ = M(() => i.value === "top" && f.value === "bottom" || i.value === "bottom" && f.value !== "top" ? "bottom" : "top"), _ = () => {
6367
6367
  l.value || n.value || (l.value = !0, e.emit("open", r), C.value && De(() => {
6368
6368
  m();
6369
6369
  }));
6370
6370
  }, y = () => {
6371
6371
  l.value && (l.value = !1, e.emit("close", r));
6372
6372
  }, m = () => {
6373
- if (!d.value)
6373
+ if (!c.value)
6374
6374
  return;
6375
- let w = parseInt(window.getComputedStyle(c.value).borderTopWidth.replace("px", "")), S = parseInt(window.getComputedStyle(c.value).borderBottomWidth.replace("px", ""));
6376
- d.value.setOptions((D) => ({
6375
+ let w = parseInt(window.getComputedStyle(d.value).borderTopWidth.replace("px", "")), S = parseInt(window.getComputedStyle(d.value).borderBottomWidth.replace("px", ""));
6376
+ c.value.setOptions((D) => ({
6377
6377
  ...D,
6378
6378
  modifiers: [
6379
6379
  ...D.modifiers,
@@ -6384,7 +6384,7 @@ function K7(t, e, a) {
6384
6384
  }
6385
6385
  }
6386
6386
  ]
6387
- })), d.value.update();
6387
+ })), c.value.update();
6388
6388
  }, A = (w) => {
6389
6389
  for (; w && w !== document.body; ) {
6390
6390
  if (getComputedStyle(w).position === "fixed")
@@ -6394,7 +6394,7 @@ function K7(t, e, a) {
6394
6394
  return !1;
6395
6395
  };
6396
6396
  return qt(() => {
6397
- C.value && (d.value = N7(u.value, c.value, {
6397
+ C.value && (c.value = N7(u.value, d.value, {
6398
6398
  strategy: A(u.value) ? (
6399
6399
  /* istanbul ignore next: UI feature */
6400
6400
  "fixed"
@@ -6426,9 +6426,9 @@ function K7(t, e, a) {
6426
6426
  ]
6427
6427
  }));
6428
6428
  }), p1(() => {
6429
- !C.value || !d.value || (d.value.destroy(), d.value = null);
6429
+ !C.value || !c.value || (c.value.destroy(), c.value = null);
6430
6430
  }), {
6431
- popper: d,
6431
+ popper: c,
6432
6432
  isOpen: l,
6433
6433
  open: _,
6434
6434
  close: y,
@@ -6437,15 +6437,15 @@ function K7(t, e, a) {
6437
6437
  };
6438
6438
  }
6439
6439
  function X7(t, e, a) {
6440
- const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, u = a.close, c = a.clearSearch, l = a.isOpen, d = a.wrapper, f = a.tags, C = ae(!1), $ = ae(!1), _ = M(() => n.value || s.value ? -1 : 0), y = () => {
6441
- n.value && i.value.blur(), d.value.blur();
6440
+ const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, u = a.close, d = a.clearSearch, l = a.isOpen, c = a.wrapper, f = a.tags, C = ae(!1), $ = ae(!1), _ = M(() => n.value || s.value ? -1 : 0), y = () => {
6441
+ n.value && i.value.blur(), c.value.blur();
6442
6442
  }, m = () => {
6443
6443
  n.value && !s.value && i.value.focus();
6444
6444
  }, A = (U = !0) => {
6445
6445
  s.value || (C.value = !0, U && r());
6446
6446
  }, w = () => {
6447
6447
  C.value = !1, setTimeout(() => {
6448
- C.value || (u(), o.value && c());
6448
+ C.value || (u(), o.value && d());
6449
6449
  }, 1);
6450
6450
  };
6451
6451
  return {
@@ -6466,9 +6466,9 @@ function X7(t, e, a) {
6466
6466
  w(), y();
6467
6467
  },
6468
6468
  handleMousedown: (U) => {
6469
- $.value = !0, l.value && (U.target.isEqualNode(d.value) || U.target.isEqualNode(f.value)) ? setTimeout(() => {
6469
+ $.value = !0, l.value && (U.target.isEqualNode(c.value) || U.target.isEqualNode(f.value)) ? setTimeout(() => {
6470
6470
  w();
6471
- }, 0) : !l.value && (document.activeElement.isEqualNode(d.value) || document.activeElement.isEqualNode(i.value)) && A(), setTimeout(() => {
6471
+ }, 0) : !l.value && (document.activeElement.isEqualNode(c.value) || document.activeElement.isEqualNode(i.value)) && A(), setTimeout(() => {
6472
6472
  $.value = !1;
6473
6473
  }, 0);
6474
6474
  }
@@ -6482,13 +6482,13 @@ function Q7(t, e, a) {
6482
6482
  searchable: i,
6483
6483
  showOptions: r,
6484
6484
  valueProp: u,
6485
- groups: c,
6485
+ groups: d,
6486
6486
  addOptionOn: l,
6487
- createTag: d,
6487
+ createTag: c,
6488
6488
  createOption: f,
6489
6489
  reverse: C
6490
- } = Ae(t), $ = Mt().proxy, _ = a.iv, y = a.update, m = a.deselect, A = a.search, w = a.setPointer, S = a.selectPointer, D = a.backwardPointer, L = a.forwardPointer, Z = a.multiselect, U = a.wrapper, W = a.tags, O = a.isOpen, Y = a.open, B = a.blur, F = a.fo, E = M(() => d.value || f.value || !1), N = M(() => s.value !== void 0 ? s.value : l.value !== void 0 ? l.value : ["enter"]), Q = () => {
6491
- n.value === "tags" && !r.value && E.value && i.value && !c.value && w(F.value[F.value.map((I) => I[u.value]).indexOf(A.value)]);
6490
+ } = Ae(t), $ = Mt().proxy, _ = a.iv, y = a.update, m = a.deselect, A = a.search, w = a.setPointer, S = a.selectPointer, D = a.backwardPointer, L = a.forwardPointer, Z = a.multiselect, U = a.wrapper, W = a.tags, O = a.isOpen, Y = a.open, B = a.blur, F = a.fo, E = M(() => c.value || f.value || !1), N = M(() => s.value !== void 0 ? s.value : l.value !== void 0 ? l.value : ["enter"]), Q = () => {
6491
+ n.value === "tags" && !r.value && E.value && i.value && !d.value && w(F.value[F.value.map((I) => I[u.value]).indexOf(A.value)]);
6492
6492
  };
6493
6493
  return {
6494
6494
  handleKeydown: (I) => {
@@ -6567,7 +6567,7 @@ function J7(t, e, a) {
6567
6567
  disabled: s,
6568
6568
  showOptions: o,
6569
6569
  breakTags: i
6570
- } = Ae(t), r = a.isOpen, u = a.isPointed, c = a.isSelected, l = a.isDisabled, d = a.isActive, f = a.canPointGroups, C = a.resolving, $ = a.fo, _ = a.placement, y = M(() => ({
6570
+ } = Ae(t), r = a.isOpen, u = a.isPointed, d = a.isSelected, l = a.isDisabled, c = a.isActive, f = a.canPointGroups, C = a.resolving, $ = a.fo, _ = a.placement, y = M(() => ({
6571
6571
  container: "multiselect",
6572
6572
  containerDisabled: "is-disabled",
6573
6573
  containerOpen: "is-open",
@@ -6627,7 +6627,7 @@ function J7(t, e, a) {
6627
6627
  classList: M(() => {
6628
6628
  const w = y.value;
6629
6629
  return {
6630
- container: [w.container].concat(s.value ? w.containerDisabled : []).concat(m.value && _.value === "top" ? w.containerOpenTop : []).concat(m.value && _.value !== "top" ? w.containerOpen : []).concat(d.value ? w.containerActive : []),
6630
+ container: [w.container].concat(s.value ? w.containerDisabled : []).concat(m.value && _.value === "top" ? w.containerOpenTop : []).concat(m.value && _.value !== "top" ? w.containerOpen : []).concat(c.value ? w.containerActive : []),
6631
6631
  wrapper: w.wrapper,
6632
6632
  spacer: w.spacer,
6633
6633
  singleLabel: w.singleLabel,
@@ -6655,12 +6655,12 @@ function J7(t, e, a) {
6655
6655
  group: w.group,
6656
6656
  groupLabel: (S) => {
6657
6657
  let D = [w.groupLabel];
6658
- return u(S) ? D.push(c(S) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : c(S) && f.value ? D.push(l(S) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : l(S) && D.push(w.groupLabelDisabled), f.value && D.push(w.groupLabelPointable), D;
6658
+ return u(S) ? D.push(d(S) ? w.groupLabelSelectedPointed : w.groupLabelPointed) : d(S) && f.value ? D.push(l(S) ? w.groupLabelSelectedDisabled : w.groupLabelSelected) : l(S) && D.push(w.groupLabelDisabled), f.value && D.push(w.groupLabelPointable), D;
6659
6659
  },
6660
6660
  groupOptions: w.groupOptions,
6661
6661
  option: (S, D) => {
6662
6662
  let L = [w.option];
6663
- return u(S) ? L.push(c(S) ? w.optionSelectedPointed : w.optionPointed) : c(S) ? L.push(l(S) ? w.optionSelectedDisabled : w.optionSelected) : (l(S) || D && l(D)) && L.push(w.optionDisabled), L;
6663
+ return u(S) ? L.push(d(S) ? w.optionSelectedPointed : w.optionPointed) : d(S) ? L.push(l(S) ? w.optionSelectedDisabled : w.optionSelected) : (l(S) || D && l(D)) && L.push(w.optionDisabled), L;
6664
6664
  },
6665
6665
  noOptions: w.noOptions,
6666
6666
  noResults: w.noResults,
@@ -6675,7 +6675,7 @@ function e9(t, e, a) {
6675
6675
  const {
6676
6676
  limit: n,
6677
6677
  infinite: s
6678
- } = Ae(t), o = a.isOpen, i = a.offset, r = a.search, u = a.pfo, c = a.eo, l = ae(null), d = ae(null), f = M(() => i.value < u.value.length), C = (_) => {
6678
+ } = Ae(t), o = a.isOpen, i = a.offset, r = a.search, u = a.pfo, d = a.eo, l = ae(null), c = ae(null), f = M(() => i.value < u.value.length), C = (_) => {
6679
6679
  const { isIntersecting: y, target: m } = _[0];
6680
6680
  if (y) {
6681
6681
  const A = m.offsetParent, w = A.scrollTop;
@@ -6684,19 +6684,19 @@ function e9(t, e, a) {
6684
6684
  });
6685
6685
  }
6686
6686
  }, $ = () => {
6687
- o.value && i.value < u.value.length ? l.value.observe(d.value) : !o.value && l.value && l.value.disconnect();
6687
+ o.value && i.value < u.value.length ? l.value.observe(c.value) : !o.value && l.value && l.value.disconnect();
6688
6688
  };
6689
6689
  return ce(o, () => {
6690
6690
  s.value && $();
6691
6691
  }), ce(r, () => {
6692
6692
  s.value && (i.value = n.value, $());
6693
- }, { flush: "post" }), ce(c, () => {
6693
+ }, { flush: "post" }), ce(d, () => {
6694
6694
  s.value && $();
6695
6695
  }, { immediate: !1, flush: "post" }), qt(() => {
6696
6696
  window && window.IntersectionObserver && (l.value = new IntersectionObserver(C));
6697
6697
  }), {
6698
6698
  hasMore: f,
6699
- infiniteLoader: d
6699
+ infiniteLoader: c
6700
6700
  };
6701
6701
  }
6702
6702
  function t9(t, e, a) {
@@ -6707,9 +6707,9 @@ function t9(t, e, a) {
6707
6707
  label: i,
6708
6708
  mode: r,
6709
6709
  groupLabel: u,
6710
- aria: c,
6710
+ aria: d,
6711
6711
  searchable: l
6712
- } = Ae(t), d = a.pointer, f = a.iv, C = a.hasSelected, $ = a.multipleLabelText, _ = ae(null), y = M(() => {
6712
+ } = Ae(t), c = a.pointer, f = a.iv, C = a.hasSelected, $ = a.multipleLabelText, _ = ae(null), y = M(() => {
6713
6713
  let B = [];
6714
6714
  return s && s.value && B.push(s.value), B.push("assist"), B.join("-");
6715
6715
  }), m = M(() => {
@@ -6717,13 +6717,13 @@ function t9(t, e, a) {
6717
6717
  return s && s.value && B.push(s.value), B.push("multiselect-options"), B.join("-");
6718
6718
  }), A = M(() => {
6719
6719
  let B = [];
6720
- if (s && s.value && B.push(s.value), d.value)
6721
- return B.push(d.value.group ? "multiselect-group" : "multiselect-option"), B.push(d.value.group ? d.value.index : d.value[o.value]), B.join("-");
6720
+ if (s && s.value && B.push(s.value), c.value)
6721
+ return B.push(c.value.group ? "multiselect-group" : "multiselect-option"), B.push(c.value.group ? c.value.index : c.value[o.value]), B.join("-");
6722
6722
  }), w = M(() => n.value), S = M(() => r.value !== "single"), D = M(() => {
6723
6723
  let B = "";
6724
6724
  return r.value === "single" && C.value && (B += f.value[i.value]), r.value === "multiple" && C.value && (B += $.value), r.value === "tags" && C.value && (B += f.value.map((F) => F[i.value]).join(", ")), B;
6725
6725
  }), L = M(() => {
6726
- let B = { ...c.value };
6726
+ let B = { ...d.value };
6727
6727
  return l.value && (B["aria-labelledby"] = B["aria-labelledby"] ? `${y.value} ${B["aria-labelledby"]}` : y.value, D.value && B["aria-label"] && (B["aria-label"] = `${D.value}, ${B["aria-label"]}`)), B;
6728
6728
  }), Z = (B) => {
6729
6729
  let F = [];
@@ -7236,7 +7236,7 @@ function A9(t, e, a, n, s, o) {
7236
7236
  i.disabled ? t.classList.tagDisabled : null
7237
7237
  ]),
7238
7238
  tabindex: "-1",
7239
- onKeyup: ut((c) => t.handleTagRemove(i, c), ["enter"]),
7239
+ onKeyup: ut((d) => t.handleTagRemove(i, d), ["enter"]),
7240
7240
  key: u,
7241
7241
  "aria-label": t.ariaTagLabel(t.localize(i[a.label]))
7242
7242
  }, [
@@ -7252,7 +7252,7 @@ function A9(t, e, a, n, s, o) {
7252
7252
  !a.disabled && !i.disabled ? (v(), g("span", {
7253
7253
  key: 0,
7254
7254
  class: x(t.classList.tagRemove),
7255
- onClick: he((c) => t.handleTagRemove(i, c), ["stop"])
7255
+ onClick: he((d) => t.handleTagRemove(i, d), ["stop"])
7256
7256
  }, [
7257
7257
  p(
7258
7258
  "span",
@@ -7461,8 +7461,8 @@ function A9(t, e, a, n, s, o) {
7461
7461
  key: 0,
7462
7462
  class: x(t.classList.groupLabel(i)),
7463
7463
  "data-pointed": t.isPointed(i),
7464
- onMouseenter: (c) => t.setPointer(i, r),
7465
- onMousedown: he((c) => t.handleGroupClick(i), ["prevent"])
7464
+ onMouseenter: (d) => t.setPointer(i, r),
7465
+ onMousedown: he((d) => t.handleGroupClick(i), ["prevent"])
7466
7466
  }, [
7467
7467
  te(t.$slots, "grouplabel", {
7468
7468
  group: i,
@@ -7482,20 +7482,20 @@ function A9(t, e, a, n, s, o) {
7482
7482
  (v(!0), g(
7483
7483
  Ce,
7484
7484
  null,
7485
- ye(i.__VISIBLE__, (c, l, d) => (v(), g("li", {
7486
- class: x(t.classList.option(c, i)),
7487
- "data-pointed": t.isPointed(c),
7488
- "data-selected": t.isSelected(c) || void 0,
7489
- key: d,
7490
- onMouseenter: (f) => t.setPointer(c),
7491
- onMousedown: he((f) => t.handleOptionClick(c), ["prevent"]),
7492
- id: t.ariaOptionId(c),
7493
- "aria-selected": t.isSelected(c),
7494
- "aria-label": t.ariaOptionLabel(t.localize(c[a.label])),
7485
+ ye(i.__VISIBLE__, (d, l, c) => (v(), g("li", {
7486
+ class: x(t.classList.option(d, i)),
7487
+ "data-pointed": t.isPointed(d),
7488
+ "data-selected": t.isSelected(d) || void 0,
7489
+ key: c,
7490
+ onMouseenter: (f) => t.setPointer(d),
7491
+ onMousedown: he((f) => t.handleOptionClick(d), ["prevent"]),
7492
+ id: t.ariaOptionId(d),
7493
+ "aria-selected": t.isSelected(d),
7494
+ "aria-label": t.ariaOptionLabel(t.localize(d[a.label])),
7495
7495
  role: "option"
7496
7496
  }, [
7497
7497
  te(t.$slots, "option", {
7498
- option: c,
7498
+ option: d,
7499
7499
  isSelected: t.isSelected,
7500
7500
  isPointed: t.isPointed,
7501
7501
  search: t.search
@@ -7503,7 +7503,7 @@ function A9(t, e, a, n, s, o) {
7503
7503
  p(
7504
7504
  "span",
7505
7505
  null,
7506
- K(t.localize(c[a.label])),
7506
+ K(t.localize(d[a.label])),
7507
7507
  1
7508
7508
  /* TEXT */
7509
7509
  )
@@ -7524,8 +7524,8 @@ function A9(t, e, a, n, s, o) {
7524
7524
  "data-pointed": t.isPointed(i),
7525
7525
  "data-selected": t.isSelected(i) || void 0,
7526
7526
  key: u,
7527
- onMouseenter: (c) => t.setPointer(i),
7528
- onMousedown: he((c) => t.handleOptionClick(i), ["prevent"]),
7527
+ onMouseenter: (d) => t.setPointer(i),
7528
+ onMousedown: he((d) => t.handleOptionClick(i), ["prevent"]),
7529
7529
  id: t.ariaOptionId(i),
7530
7530
  "aria-selected": t.isSelected(i),
7531
7531
  "aria-label": t.ariaOptionLabel(t.localize(i[a.label])),
@@ -7732,59 +7732,59 @@ const S9 = { class: "ao-tasks" }, O9 = { class: "ao-tasks__list" }, E9 = ["id",
7732
7732
  emits: ["add", "delete", "update"],
7733
7733
  setup(t, { emit: e }) {
7734
7734
  const a = t, { t: n } = At();
7735
- ce(() => a.tasks, (d, f) => {
7736
- Ge(d, f);
7735
+ ce(() => a.tasks, (c, f) => {
7736
+ Ge(c, f);
7737
7737
  });
7738
7738
  const s = M(
7739
7739
  () => {
7740
- var d;
7741
- return ((d = a.users) == null ? void 0 : d.map((f) => ({
7740
+ var c;
7741
+ return ((c = a.users) == null ? void 0 : c.map((f) => ({
7742
7742
  label: `${f.firstName} ${f.lastName}`,
7743
7743
  value: f.id,
7744
7744
  avatar: f.avatarUrl
7745
7745
  }))) ?? [];
7746
7746
  }
7747
7747
  ), o = () => {
7748
- const d = a.tasks.length, f = {
7749
- name: n("task.defaultName", { idx: d + 1 }),
7748
+ const c = a.tasks.length, f = {
7749
+ name: n("task.defaultName", { idx: c + 1 }),
7750
7750
  activityId: a.activityId
7751
7751
  };
7752
7752
  e("add", f);
7753
- }, i = (d, f) => {
7754
- const $ = d.target.value;
7753
+ }, i = (c, f) => {
7754
+ const $ = c.target.value;
7755
7755
  e("update", {
7756
7756
  id: f,
7757
7757
  name: $
7758
7758
  });
7759
- }, r = (d, f) => {
7759
+ }, r = (c, f) => {
7760
7760
  a.isEditable && e("update", {
7761
- id: d,
7761
+ id: c,
7762
7762
  isDone: f
7763
7763
  });
7764
- }, u = (d) => {
7765
- e("delete", { id: d });
7766
- }, c = (d, f) => {
7764
+ }, u = (c) => {
7765
+ e("delete", { id: c });
7766
+ }, d = (c, f) => {
7767
7767
  e("update", {
7768
7768
  id: f,
7769
- assigneeId: d[0] ?? null
7769
+ assigneeId: c[0] ?? null
7770
7770
  });
7771
- }, l = (d) => {
7772
- const f = d.target;
7771
+ }, l = (c) => {
7772
+ const f = c.target;
7773
7773
  f == null || f.blur();
7774
7774
  };
7775
- return (d, f) => (v(), g("div", S9, [
7775
+ return (c, f) => (v(), g("div", S9, [
7776
7776
  p("ul", O9, [
7777
- (v(!0), g(Ce, null, ye(d.tasks, (C) => {
7777
+ (v(!0), g(Ce, null, ye(c.tasks, (C) => {
7778
7778
  var $, _;
7779
7779
  return v(), g("li", {
7780
7780
  key: C.id,
7781
7781
  class: "ao-subtask"
7782
7782
  }, [
7783
- (($ = d.isCheckable) == null ? void 0 : $.call(d, C)) ?? !1 ? (v(), R(de, {
7783
+ (($ = c.isCheckable) == null ? void 0 : $.call(c, C)) ?? !1 ? (v(), R(de, {
7784
7784
  key: 0,
7785
7785
  class: "ao-subtask__check",
7786
7786
  "icon-name": C.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
7787
- disabled: !d.isEditable,
7787
+ disabled: !c.isEditable,
7788
7788
  variant: "ghost",
7789
7789
  color: "primary",
7790
7790
  onClick: () => r(C.id, !C.isDone)
@@ -7792,14 +7792,14 @@ const S9 = { class: "ao-tasks" }, O9 = { class: "ao-tasks__list" }, E9 = ["id",
7792
7792
  p("input", {
7793
7793
  id: C.id,
7794
7794
  value: C.name,
7795
- readonly: !d.isEditable,
7795
+ readonly: !c.isEditable,
7796
7796
  class: x(["ao-field__input ao-subtask__field", { "ao-subtask__field--checked": C.isDone }]),
7797
7797
  type: "text",
7798
7798
  onChange: (y) => i(y, C.id),
7799
7799
  onKeyup: ut(l, ["enter"])
7800
7800
  }, null, 42, E9),
7801
7801
  Ra(". "),
7802
- !d.isTemplate && d.users ? (v(), R($e, {
7802
+ !c.isTemplate && c.users ? (v(), R($e, {
7803
7803
  key: 1,
7804
7804
  value: (_ = C.assignee) != null && _.id ? [C.assignee.id] : [],
7805
7805
  options: s.value,
@@ -7808,10 +7808,10 @@ const S9 = { class: "ao-tasks" }, O9 = { class: "ao-tasks__list" }, E9 = ["id",
7808
7808
  max: 1,
7809
7809
  class: "ao-subtask__assignees",
7810
7810
  mode: "tags",
7811
- placeholder: d.$t("feed.filters.assignee.placeholder"),
7812
- disabled: !d.isEditable,
7813
- caret: d.isEditable,
7814
- onChange: (y) => c(y, C.id)
7811
+ placeholder: c.$t("feed.filters.assignee.placeholder"),
7812
+ disabled: !c.isEditable,
7813
+ caret: c.isEditable,
7814
+ onChange: (y) => d(y, C.id)
7815
7815
  }, {
7816
7816
  tag: q(({ option: y, handleTagRemove: m }) => [
7817
7817
  V(Xe, {
@@ -7823,7 +7823,7 @@ const S9 = { class: "ao-tasks" }, O9 = { class: "ao-tasks__list" }, E9 = ["id",
7823
7823
  ]),
7824
7824
  _: 2
7825
7825
  }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
7826
- d.isEditable ? (v(), R(de, {
7826
+ c.isEditable ? (v(), R(de, {
7827
7827
  key: 2,
7828
7828
  class: "ao-subtask__delete",
7829
7829
  "icon-name": "CancelRounded",
@@ -7836,9 +7836,9 @@ const S9 = { class: "ao-tasks" }, O9 = { class: "ao-tasks__list" }, E9 = ["id",
7836
7836
  }), 128))
7837
7837
  ]),
7838
7838
  p("div", I9, [
7839
- d.isEditable ? (v(), R(de, {
7839
+ c.isEditable ? (v(), R(de, {
7840
7840
  key: 0,
7841
- label: d.$t("activity.tasks.add"),
7841
+ label: c.$t("activity.tasks.add"),
7842
7842
  "icon-name": "Add",
7843
7843
  variant: "ghost",
7844
7844
  color: "primary",
@@ -7862,18 +7862,18 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
7862
7862
  const a = t, n = (l) => {
7863
7863
  e("remove", l);
7864
7864
  }, s = (l) => {
7865
- const d = l.target, f = Array.from(d.files ?? []);
7865
+ const c = l.target, f = Array.from(c.files ?? []);
7866
7866
  e("add", f);
7867
7867
  }, o = ["dragenter", "dragover", "dragleave", "drop"];
7868
7868
  qt(() => {
7869
7869
  o.forEach((l) => {
7870
- document.body.addEventListener(l, (d) => d.preventDefault());
7870
+ document.body.addEventListener(l, (c) => c.preventDefault());
7871
7871
  });
7872
7872
  }), m1(() => {
7873
7873
  o.forEach((l) => {
7874
7874
  document.body.removeEventListener(
7875
7875
  l,
7876
- (d) => d.preventDefault()
7876
+ (c) => c.preventDefault()
7877
7877
  );
7878
7878
  });
7879
7879
  });
@@ -7887,20 +7887,20 @@ const V9 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], D9 = { class:
7887
7887
  ce(i, (l) => {
7888
7888
  e("toggleIsDropActive", l);
7889
7889
  });
7890
- function c(l) {
7890
+ function d(l) {
7891
7891
  var f;
7892
7892
  u();
7893
- const d = Array.from(((f = l.dataTransfer) == null ? void 0 : f.files) || []);
7894
- l.dataTransfer && e("add", d);
7893
+ const c = Array.from(((f = l.dataTransfer) == null ? void 0 : f.files) || []);
7894
+ l.dataTransfer && e("add", c);
7895
7895
  }
7896
- return (l, d) => (v(), g("div", {
7896
+ return (l, c) => (v(), g("div", {
7897
7897
  class: x([
7898
7898
  "ao-files__wrapper",
7899
7899
  {
7900
7900
  "ao-files__wrapper--drop-active": i.value
7901
7901
  }
7902
7902
  ]),
7903
- onDrop: he(c, ["prevent"]),
7903
+ onDrop: he(d, ["prevent"]),
7904
7904
  onDragenter: he(r, ["prevent"]),
7905
7905
  onDragover: he(r, ["prevent"]),
7906
7906
  onDragleave: he(u, ["prevent"])
@@ -7982,10 +7982,10 @@ const W9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
7982
7982
  const a = t, n = M(() => {
7983
7983
  const _ = a.user;
7984
7984
  return _ ? `${_ == null ? void 0 : _.firstName} ${_ == null ? void 0 : _.lastName}` : null;
7985
- }), s = ae(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: u } = C1(s), c = M(() => {
7985
+ }), s = ae(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: u } = C1(s), d = M(() => {
7986
7986
  const _ = a.editedAt && ia(a.editedAt), y = ia(a.createdAt), m = /* @__PURE__ */ new Date(), A = _ ?? y;
7987
7987
  return A && q0(A, m);
7988
- }), l = M(() => o.value ? "textarea" : "p"), d = u(), f = r((_) => {
7988
+ }), l = M(() => o.value ? "textarea" : "p"), c = u(), f = r((_) => {
7989
7989
  e("edit", _);
7990
7990
  }), C = () => {
7991
7991
  e("remove");
@@ -8007,7 +8007,7 @@ const W9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
8007
8007
  "user-name": n.value,
8008
8008
  class: "ao-comment__avatar"
8009
8009
  }, null, 8, ["avatar-url", "user-name"])) : T("", !0),
8010
- p("span", z9, K(c.value), 1),
8010
+ p("span", z9, K(d.value), 1),
8011
8011
  p("div", x9, [
8012
8012
  p("div", Y9, [
8013
8013
  (v(), R(vt(l.value), {
@@ -8017,7 +8017,7 @@ const W9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
8017
8017
  value: X(o) ? _.content : null,
8018
8018
  rows: X(o) ? $.value : null,
8019
8019
  onKeyup: [
8020
- ut(X(d), ["esc"]),
8020
+ ut(X(c), ["esc"]),
8021
8021
  ut(he(X(f), ["ctrl"]), ["enter"])
8022
8022
  ]
8023
8023
  }, {
@@ -8035,7 +8035,7 @@ const W9 = { class: "ao-comment" }, z9 = { class: "ao-comment__created-at" }, x9
8035
8035
  size: "sm",
8036
8036
  variant: "ghost",
8037
8037
  color: "neutral",
8038
- onClick: X(d)
8038
+ onClick: X(c)
8039
8039
  }, null, 8, ["onClick"]),
8040
8040
  V(de, {
8041
8041
  "icon-name": "CheckSmallRounded",
@@ -8081,7 +8081,7 @@ const X9 = { class: "ao-comments__header" }, Q9 = ["onSubmit"], J9 = ["placehold
8081
8081
  setup(t, { emit: e }) {
8082
8082
  const a = t, n = M(() => (a.comments || []).toSorted(
8083
8083
  (f, C) => D2(ia(f.createdAt), ia(C.createdAt))
8084
- )), s = (d) => a.users.find((C) => C.id === d), o = ae();
8084
+ )), s = (c) => a.users.find((C) => C.id === c), o = ae();
8085
8085
  De(() => {
8086
8086
  o.value && (o.value.scrollTop = o.value.scrollHeight);
8087
8087
  });
@@ -8089,21 +8089,21 @@ const X9 = { class: "ao-comments__header" }, Q9 = ["onSubmit"], J9 = ["placehold
8089
8089
  get() {
8090
8090
  return i.value;
8091
8091
  },
8092
- set(d) {
8093
- i.value = d;
8092
+ set(c) {
8093
+ i.value = c;
8094
8094
  }
8095
8095
  }), u = () => {
8096
- const d = i.value.trim();
8097
- d && (e("createComment", { authorId: a.userId, message: d }), i.value = "");
8098
- }, c = (d, f) => {
8096
+ const c = i.value.trim();
8097
+ c && (e("createComment", { authorId: a.userId, message: c }), i.value = "");
8098
+ }, d = (c, f) => {
8099
8099
  e("updateComment", {
8100
- id: d,
8100
+ id: c,
8101
8101
  message: f
8102
8102
  });
8103
- }, l = (d) => {
8104
- e("removeComment", { id: d });
8103
+ }, l = (c) => {
8104
+ e("removeComment", { id: c });
8105
8105
  };
8106
- return (d, f) => {
8106
+ return (c, f) => {
8107
8107
  var C;
8108
8108
  return v(), g("div", {
8109
8109
  ref_key: "commentsContainer",
@@ -8119,7 +8119,7 @@ const X9 = { class: "ao-comments__header" }, Q9 = ["onSubmit"], J9 = ["placehold
8119
8119
  "onUpdate:modelValue": f[0] || (f[0] = ($) => r.value = $),
8120
8120
  rows: "2",
8121
8121
  class: "ao-field__textarea ao-comments__form-textarea",
8122
- placeholder: d.$t("activity.comment.label")
8122
+ placeholder: c.$t("activity.comment.label")
8123
8123
  }, null, 8, J9), [
8124
8124
  [
8125
8125
  bt,
@@ -8147,9 +8147,9 @@ const X9 = { class: "ao-comments__header" }, Q9 = ["onSubmit"], J9 = ["placehold
8147
8147
  content: $.message,
8148
8148
  "created-at": $.createdAt,
8149
8149
  "edited-at": $.updatedAt,
8150
- "is-editable": $.author.id === d.userId,
8150
+ "is-editable": $.author.id === c.userId,
8151
8151
  class: "ao-comment",
8152
- onEdit: (_) => c($.id, _),
8152
+ onEdit: (_) => d($.id, _),
8153
8153
  onRemove: () => l($.id)
8154
8154
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
8155
8155
  ])) : T("", !0)
@@ -8257,7 +8257,7 @@ const Cn = /* @__PURE__ */ J({
8257
8257
  set(h) {
8258
8258
  e("update:activity", { id: a.activity.id, private: h });
8259
8259
  }
8260
- }), c = M({
8260
+ }), d = M({
8261
8261
  get() {
8262
8262
  return a.activity.deadline;
8263
8263
  },
@@ -8270,7 +8270,7 @@ const Cn = /* @__PURE__ */ J({
8270
8270
  label: I.name,
8271
8271
  value: I.id
8272
8272
  }));
8273
- }), d = M({
8273
+ }), c = M({
8274
8274
  get() {
8275
8275
  var h;
8276
8276
  return (h = a.activity.type) == null ? void 0 : h.id;
@@ -8597,14 +8597,14 @@ const Cn = /* @__PURE__ */ J({
8597
8597
  p("label", B4, [
8598
8598
  p("span", R4, K(h.$t("activity.deadline.label")), 1),
8599
8599
  rt(p("input", {
8600
- "onUpdate:modelValue": I[4] || (I[4] = (se) => c.value = se),
8600
+ "onUpdate:modelValue": I[4] || (I[4] = (se) => d.value = se),
8601
8601
  readonly: !n.value,
8602
8602
  class: "ao-field__input",
8603
8603
  type: "date"
8604
8604
  }, null, 8, N4), [
8605
8605
  [
8606
8606
  bt,
8607
- c.value,
8607
+ d.value,
8608
8608
  void 0,
8609
8609
  { lazy: !0 }
8610
8610
  ]
@@ -8616,8 +8616,8 @@ const Cn = /* @__PURE__ */ J({
8616
8616
  l.value ? (v(), g("div", U4, [
8617
8617
  p("label", Z4, [
8618
8618
  V($e, {
8619
- modelValue: d.value,
8620
- "onUpdate:modelValue": I[5] || (I[5] = (se) => d.value = se),
8619
+ modelValue: c.value,
8620
+ "onUpdate:modelValue": I[5] || (I[5] = (se) => c.value = se),
8621
8621
  class: "ao-activity-details__multiselect",
8622
8622
  mode: "single",
8623
8623
  searchable: !0,
@@ -8764,16 +8764,16 @@ const af = /* @__PURE__ */ J({
8764
8764
  value: w.id,
8765
8765
  label: w.name
8766
8766
  }));
8767
- }), u = Vt(a.rule.comparator), c = M({
8767
+ }), u = Vt(a.rule.comparator), d = M({
8768
8768
  get() {
8769
8769
  return u.value;
8770
8770
  },
8771
8771
  set(m) {
8772
8772
  e("update:rule", { ...a.rule, comparator: m });
8773
8773
  }
8774
- }), l = M(() => Object.values(A2)), d = Vt(a.rule.trigger), f = M({
8774
+ }), l = M(() => Object.values(A2)), c = Vt(a.rule.trigger), f = M({
8775
8775
  get() {
8776
- return d.value;
8776
+ return c.value;
8777
8777
  },
8778
8778
  set(m) {
8779
8779
  e("update:rule", { ...a.rule, trigger: m });
@@ -8811,8 +8811,8 @@ const af = /* @__PURE__ */ J({
8811
8811
  options: C.value
8812
8812
  }, null, 8, ["modelValue", "options"]),
8813
8813
  V(X(ot), {
8814
- modelValue: c.value,
8815
- "onUpdate:modelValue": A[3] || (A[3] = (w) => c.value = w),
8814
+ modelValue: d.value,
8815
+ "onUpdate:modelValue": A[3] || (A[3] = (w) => d.value = w),
8816
8816
  options: l.value
8817
8817
  }, null, 8, ["modelValue", "options"]),
8818
8818
  rt(p("input", {
@@ -8965,7 +8965,7 @@ const rf = {
8965
8965
  const ne = ee.milestones || [];
8966
8966
  return [...I, ...ne];
8967
8967
  }, [])) || [];
8968
- }), c = M(() => {
8968
+ }), d = M(() => {
8969
8969
  var k, h;
8970
8970
  return ((h = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : h.reduce((I, ee) => {
8971
8971
  const le = (ee.milestones || []).reduce(
@@ -8979,7 +8979,7 @@ const rf = {
8979
8979
  return (h = (k = r.value) == null ? void 0 : k.activities) == null ? void 0 : h.find(
8980
8980
  (I) => I.id === a.activityId
8981
8981
  );
8982
- }), d = M(() => {
8982
+ }), c = M(() => {
8983
8983
  var k;
8984
8984
  return ((k = s.value) == null ? void 0 : k.name) || a.templateId;
8985
8985
  }), f = () => {
@@ -9149,7 +9149,7 @@ const rf = {
9149
9149
  }, {
9150
9150
  primary: q(() => [
9151
9151
  V(_e, {
9152
- title: d.value,
9152
+ title: c.value,
9153
9153
  level: 2,
9154
9154
  "is-editable": !0,
9155
9155
  "onUpdate:title": h[0] || (h[0] = (z) => {
@@ -9240,7 +9240,7 @@ const rf = {
9240
9240
  "activity-types": k.activityTypes,
9241
9241
  breadcrumbs: `${s.value.name} / ${(le = i.value) == null ? void 0 : le.name} / ${(se = r.value) == null ? void 0 : se.name}`,
9242
9242
  "milestone-id": (re = r.value) == null ? void 0 : re.id,
9243
- "template-activities": c.value,
9243
+ "template-activities": d.value,
9244
9244
  "template-milestones": u.value,
9245
9245
  "is-template": !0,
9246
9246
  "is-editable": !0,
@@ -9269,7 +9269,7 @@ const rf = {
9269
9269
  rules: s.value.rules || [],
9270
9270
  "template-phases": s.value.phases,
9271
9271
  "template-milestones": u.value,
9272
- "template-activities": c.value,
9272
+ "template-activities": d.value,
9273
9273
  onClose: U,
9274
9274
  onAddRule: W,
9275
9275
  onRemoveRule: O
@@ -9355,73 +9355,82 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
9355
9355
  },
9356
9356
  emits: ["update:title", "update:deadline", "archivePhase"],
9357
9357
  setup(t, { emit: e }) {
9358
- const a = t, n = (u) => {
9359
- e("update:title", u);
9358
+ const a = t, n = (d) => {
9359
+ e("update:title", d);
9360
9360
  }, s = M(() => {
9361
- var u;
9362
- return (u = a.milestones) == null ? void 0 : u.length;
9361
+ var d;
9362
+ return a.name + " (" + ((d = a.milestones) == null ? void 0 : d.reduce(
9363
+ (l, c) => {
9364
+ var f;
9365
+ return l + ((f = c.activities) == null ? void 0 : f.reduce((C, $) => C + ($.estimation || 0), 0));
9366
+ },
9367
+ 0
9368
+ )) + ")";
9363
9369
  }), o = M(() => {
9364
- var u;
9365
- return (u = a.milestones) == null ? void 0 : u.filter((c) => c.status === fn.done).length;
9366
- }), i = M(() => (o.value || 0) / (s.value || 1)), r = M({
9370
+ var d;
9371
+ return (d = a.milestones) == null ? void 0 : d.length;
9372
+ }), i = M(() => {
9373
+ var d;
9374
+ return (d = a.milestones) == null ? void 0 : d.filter((l) => l.status === fn.done).length;
9375
+ }), r = M(() => (i.value || 0) / (o.value || 1)), u = M({
9367
9376
  get: () => a.deadline ?? "",
9368
- set: (u) => e("update:deadline", u != null && u.length ? u : null)
9377
+ set: (d) => e("update:deadline", d != null && d.length ? d : null)
9369
9378
  });
9370
- return (u, c) => (v(), R(Rn, {
9379
+ return (d, l) => (v(), R(Rn, {
9371
9380
  class: "ao-card-project-phase",
9372
- "is-clickable": u.isEditable
9381
+ "is-clickable": d.isEditable
9373
9382
  }, Na({
9374
9383
  default: q(() => [
9375
9384
  V(_e, {
9376
- id: u.id,
9385
+ id: d.id,
9377
9386
  class: "ao-card-project-phase__title",
9378
- title: u.name || "",
9387
+ title: s.value || "",
9379
9388
  level: 4,
9380
- "is-editable": u.isEditable,
9389
+ "is-editable": d.isEditable,
9381
9390
  "onUpdate:title": n
9382
9391
  }, null, 8, ["id", "title", "is-editable"])
9383
9392
  ]),
9384
9393
  footer: q(() => [
9385
9394
  p("div", _f, [
9386
- s.value ? (v(), g("div", yf, [
9395
+ o.value ? (v(), g("div", yf, [
9387
9396
  p("div", bf, [
9388
9397
  V(fe, {
9389
9398
  name: "MountainFlagOutlineRounded",
9390
9399
  size: "sm"
9391
9400
  }),
9392
- p("span", wf, K(o.value) + " / " + K(s.value), 1)
9401
+ p("span", wf, K(i.value) + " / " + K(o.value), 1)
9393
9402
  ]),
9394
9403
  V(Nn, {
9395
- percentages: i.value,
9404
+ percentages: r.value,
9396
9405
  class: "ao-card-project-phase__progress"
9397
9406
  }, null, 8, ["percentages"]),
9398
- u.$slots.secondary ? (v(), g("div", $f, [
9399
- te(u.$slots, "secondary")
9407
+ d.$slots.secondary ? (v(), g("div", $f, [
9408
+ te(d.$slots, "secondary")
9400
9409
  ])) : T("", !0)
9401
9410
  ])) : T("", !0),
9402
9411
  p("div", {
9403
- class: x(["ao-card-project-phase__footer-row", r.value ? "" : "ao-card-project-phase__no_deadline"])
9412
+ class: x(["ao-card-project-phase__footer-row", u.value ? "" : "ao-card-project-phase__no_deadline"])
9404
9413
  }, [
9405
- u.isEditable ? rt((v(), g("input", {
9414
+ d.isEditable ? rt((v(), g("input", {
9406
9415
  key: 0,
9407
- "onUpdate:modelValue": c[1] || (c[1] = (l) => r.value = l),
9416
+ "onUpdate:modelValue": l[1] || (l[1] = (c) => u.value = c),
9408
9417
  class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--input",
9409
9418
  type: "date"
9410
9419
  }, null, 512)), [
9411
9420
  [
9412
9421
  bt,
9413
- r.value,
9422
+ u.value,
9414
9423
  void 0,
9415
9424
  { lazy: !0 }
9416
9425
  ]
9417
9426
  ]) : T("", !0),
9418
- p("span", kf, K(X(wn)(u.deadline)), 1)
9427
+ p("span", kf, K(X(wn)(d.deadline)), 1)
9419
9428
  ], 2)
9420
9429
  ])
9421
9430
  ]),
9422
9431
  _: 2
9423
9432
  }, [
9424
- u.isEditable ? {
9433
+ d.isEditable ? {
9425
9434
  name: "header",
9426
9435
  fn: q(() => [
9427
9436
  p("div", gf, [
@@ -9433,8 +9442,8 @@ const gf = { class: "ao-card-project-phase__header" }, _f = { class: "ao-card-pr
9433
9442
  size: "sm",
9434
9443
  "icon-position": "start",
9435
9444
  corners: "round",
9436
- label: u.$t("archive"),
9437
- onClick: c[0] || (c[0] = he(() => u.$emit("archivePhase", { id: u.id }), ["stop"]))
9445
+ label: d.$t("archive"),
9446
+ onClick: l[0] || (l[0] = he(() => d.$emit("archivePhase", { id: d.id }), ["stop"]))
9438
9447
  }, null, 8, ["label"])
9439
9448
  ])
9440
9449
  ]),
@@ -9471,7 +9480,12 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9471
9480
  },
9472
9481
  emits: ["updateMilestone", "archiveMilestone"],
9473
9482
  setup(t, { emit: e }) {
9474
- const a = t, n = M(() => {
9483
+ const a = t;
9484
+ M(() => {
9485
+ var r;
9486
+ return a.name + " (" + ((r = a.activities) == null ? void 0 : r.reduce((u, d) => u + (d.estimation || 0), 0)) + ")";
9487
+ });
9488
+ const n = M(() => {
9475
9489
  var r;
9476
9490
  return (r = a.activities) == null ? void 0 : r.length;
9477
9491
  }), s = M(() => {
@@ -9501,6 +9515,10 @@ const Af = { class: "ao-card-project-milestone__default" }, Tf = {
9501
9515
  class: "ao-card-project-milestone__title",
9502
9516
  "onUpdate:title": i
9503
9517
  }, null, 8, ["id", "title", "is-editable"]),
9518
+ V(_e, {
9519
+ title: "()",
9520
+ "is-editable": !1
9521
+ }),
9504
9522
  !r.readonly && r.isEditable ? (v(), g("div", Tf, [
9505
9523
  V(de, {
9506
9524
  color: r.isSelected ? void 0 : "primary",
@@ -9600,11 +9618,11 @@ const Rf = {
9600
9618
  e("addMilestone", { name: C, rank: $, phaseId: f });
9601
9619
  }, u = (f) => {
9602
9620
  e("updateMilestone", f);
9603
- }, c = (f) => {
9621
+ }, d = (f) => {
9604
9622
  e("archiveMilestone", f);
9605
9623
  }, l = (f) => {
9606
9624
  e("archivePhase", f);
9607
- }, d = (f) => {
9625
+ }, c = (f) => {
9608
9626
  "added" in f ? e("updateMilestone", {
9609
9627
  id: f.added.element.id,
9610
9628
  phaseId: a.phase.id,
@@ -9648,7 +9666,7 @@ const Rf = {
9648
9666
  disabled: f.readonly || !f.isEditable,
9649
9667
  "item-key": "id",
9650
9668
  group: "kanban"
9651
- }, f.$attrs, { onChange: d }), {
9669
+ }, f.$attrs, { onChange: c }), {
9652
9670
  item: q(({ element: _ }) => {
9653
9671
  var y;
9654
9672
  return [
@@ -9670,7 +9688,7 @@ const Rf = {
9670
9688
  params: { phaseId: f.phase.id, milestoneId: _.id }
9671
9689
  }),
9672
9690
  onUpdateMilestone: u,
9673
- onArchiveMilestone: c
9691
+ onArchiveMilestone: d
9674
9692
  }, null, 8, ["id", "name", "activities", "deadline", "is-editable", "is-draggable", "closed-status", "is-selected", "assignee", "important", "readonly", "onClick"])
9675
9693
  ];
9676
9694
  }),
@@ -9706,8 +9724,8 @@ const qf = { class: "ao-project__phases" }, Wf = {
9706
9724
  emits: ["addMilestone", "updateMilestone", "archiveMilestone", "addPhase", "updatePhase", "archivePhase"],
9707
9725
  setup(t, { emit: e }) {
9708
9726
  const a = t;
9709
- ce(() => a.phases, (l, d) => {
9710
- Ge(l, d);
9727
+ ce(() => a.phases, (l, c) => {
9728
+ Ge(l, c);
9711
9729
  });
9712
9730
  const n = (l) => {
9713
9731
  e("addMilestone", l);
@@ -9719,18 +9737,18 @@ const qf = { class: "ao-project__phases" }, Wf = {
9719
9737
  e("archivePhase", l);
9720
9738
  }, r = (l) => {
9721
9739
  if (l.moved) {
9722
- const d = pa(l, a.phases ?? []);
9740
+ const c = pa(l, a.phases ?? []);
9723
9741
  e("updatePhase", {
9724
9742
  id: l.moved.element.id,
9725
- rank: d
9743
+ rank: c
9726
9744
  });
9727
9745
  }
9728
9746
  }, u = (l) => {
9729
9747
  e("updatePhase", l);
9730
- }, c = (l) => {
9748
+ }, d = (l) => {
9731
9749
  e("addPhase", l);
9732
9750
  };
9733
- return (l, d) => (v(), g("div", qf, [
9751
+ return (l, c) => (v(), g("div", qf, [
9734
9752
  V(X(pt), {
9735
9753
  class: "ao-project-phase__phases-list",
9736
9754
  "model-value": l.phases,
@@ -9761,7 +9779,7 @@ const qf = { class: "ao-project__phases" }, Wf = {
9761
9779
  label: l.$t("project.phases.add"),
9762
9780
  "icon-name": "Add",
9763
9781
  class: "ao-project-phase__add-phase",
9764
- onClick: c
9782
+ onClick: d
9765
9783
  }, null, 8, ["label"])
9766
9784
  ]),
9767
9785
  Yf
@@ -9903,11 +9921,11 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9903
9921
  e("archivePhase", O);
9904
9922
  }, u = (O) => {
9905
9923
  e("addMilestone", O);
9906
- }, c = (O) => {
9924
+ }, d = (O) => {
9907
9925
  e("updateMilestone", O);
9908
9926
  }, l = (O) => {
9909
9927
  e("archiveMilestone", O);
9910
- }, d = (O) => {
9928
+ }, c = (O) => {
9911
9929
  e("addActivity", O);
9912
9930
  }, f = (O) => {
9913
9931
  e("update:activity", O);
@@ -9982,7 +10000,7 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9982
10000
  "is-editable": O.isEditable === !0,
9983
10001
  users: O.users,
9984
10002
  onAddMilestone: u,
9985
- onUpdateMilestone: c,
10003
+ onUpdateMilestone: d,
9986
10004
  onArchiveMilestone: l,
9987
10005
  onAddPhase: o,
9988
10006
  onUpdatePhase: i,
@@ -9999,8 +10017,8 @@ const X1 = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9999
10017
  "is-editable": O.isEditable === !0,
10000
10018
  "closed-status": O.closedStatus,
10001
10019
  onClose: Y[3] || (Y[3] = (F) => O.$router.push({ name: X(Ue).project })),
10002
- onUpdateMilestone: c,
10003
- onAddActivity: d,
10020
+ onUpdateMilestone: d,
10021
+ onAddActivity: c,
10004
10022
  onUpdateActivity: f,
10005
10023
  onArchiveActivity: C,
10006
10024
  onUnarchiveActivity: $
@@ -10104,55 +10122,55 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10104
10122
  },
10105
10123
  emits: ["removeAssignee", "updateActivity"],
10106
10124
  setup(t, { emit: e }) {
10107
- const a = t, n = (d) => {
10125
+ const a = t, n = (c) => {
10108
10126
  e("updateActivity", {
10109
10127
  id: a.id,
10110
- name: d
10128
+ name: c
10111
10129
  });
10112
- }, s = M(() => a.isFeedView && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), o = M(() => a.assignee ? [a.assignee] : []), i = M(() => wn(a.deadline)), r = (d) => {
10113
- e("removeAssignee", d);
10130
+ }, s = M(() => a.isFeedView && a.phaseName ? `${a.phaseName}` : a.phaseName && a.milestoneName ? `${a.phaseName} / ${a.milestoneName}` : ""), o = M(() => a.assignee ? [a.assignee] : []), i = M(() => wn(a.deadline)), r = (c) => {
10131
+ e("removeAssignee", c);
10114
10132
  }, u = M(() => {
10115
- var d;
10116
- return (d = a.tasks) == null ? void 0 : d.length;
10117
- }), c = M(() => {
10118
- var d;
10119
- return (d = a.tasks) == null ? void 0 : d.filter((f) => f.isDone).length;
10120
- }), l = M(() => (c.value || 0) / (u.value || 1));
10121
- return (d, f) => (v(), R(Rn, {
10122
- class: x(["ao-card-feed", { "ao-card-feed--closed": d.isClosed }]),
10133
+ var c;
10134
+ return (c = a.tasks) == null ? void 0 : c.length;
10135
+ }), d = M(() => {
10136
+ var c;
10137
+ return (c = a.tasks) == null ? void 0 : c.filter((f) => f.isDone).length;
10138
+ }), l = M(() => (d.value || 0) / (u.value || 1));
10139
+ return (c, f) => (v(), R(Rn, {
10140
+ class: x(["ao-card-feed", { "ao-card-feed--closed": c.isClosed }]),
10123
10141
  "is-clickable": !0
10124
10142
  }, {
10125
10143
  header: q(() => [
10126
10144
  p("div", r8, [
10127
- (d.isFeedView ? d.milestoneName : d.projectName) ? (v(), R(yn, {
10145
+ (c.isFeedView ? c.milestoneName : c.projectName) ? (v(), R(yn, {
10128
10146
  key: 0,
10129
- label: (d.isFeedView ? d.milestoneName : d.projectName) ?? "",
10147
+ label: (c.isFeedView ? c.milestoneName : c.projectName) ?? "",
10130
10148
  class: "ao-card-feed__project",
10131
10149
  variant: "solid",
10132
- color: d.projectColor ? void 0 : "primary",
10133
- "raw-color": d.projectColor
10150
+ color: c.projectColor ? void 0 : "primary",
10151
+ "raw-color": c.projectColor
10134
10152
  }, null, 8, ["label", "color", "raw-color"])) : T("", !0),
10135
- d.isPrivate || d.important || d.isClosed ? (v(), g("div", l8, [
10136
- d.isPrivate ? (v(), R(fe, {
10153
+ c.isPrivate || c.important || c.isClosed ? (v(), g("div", l8, [
10154
+ c.isPrivate ? (v(), R(fe, {
10137
10155
  key: 0,
10138
10156
  name: "Lock",
10139
10157
  class: "ao-card-feed__warning",
10140
10158
  size: "sm"
10141
10159
  })) : T("", !0),
10142
- d.important ? (v(), R(fe, {
10160
+ c.important ? (v(), R(fe, {
10143
10161
  key: 1,
10144
10162
  name: "FlagRounded",
10145
10163
  class: "ao-card-feed__important",
10146
10164
  size: "sm"
10147
10165
  })) : T("", !0),
10148
- d.isClosed ? (v(), R(fe, {
10166
+ c.isClosed ? (v(), R(fe, {
10149
10167
  key: 2,
10150
10168
  name: "CheckSmallRounded",
10151
10169
  class: "ao-card-feed__closed"
10152
10170
  })) : T("", !0)
10153
10171
  ])) : T("", !0),
10154
- d.$slots.secondary ? (v(), g("div", u8, [
10155
- te(d.$slots, "secondary")
10172
+ c.$slots.secondary ? (v(), g("div", u8, [
10173
+ te(c.$slots, "secondary")
10156
10174
  ])) : T("", !0)
10157
10175
  ])
10158
10176
  ]),
@@ -10161,14 +10179,14 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10161
10179
  s.value ? (v(), g("span", c8, K(s.value), 1)) : T("", !0),
10162
10180
  p("div", f8, [
10163
10181
  V(_e, {
10164
- id: d.id,
10165
- title: d.name,
10182
+ id: c.id,
10183
+ title: c.name,
10166
10184
  level: 5,
10167
- "is-editable": d.isEditable,
10185
+ "is-editable": c.isEditable,
10168
10186
  "onUpdate:title": n
10169
10187
  }, null, 8, ["id", "title", "is-editable"])
10170
10188
  ]),
10171
- d.deadline ? (v(), g("span", v8, K(i.value), 1)) : T("", !0)
10189
+ c.deadline ? (v(), g("span", v8, K(i.value), 1)) : T("", !0)
10172
10190
  ])
10173
10191
  ]),
10174
10192
  footer: q(() => [
@@ -10188,31 +10206,31 @@ const r8 = { class: "ao-card-feed__header" }, l8 = {
10188
10206
  ])) : T("", !0)
10189
10207
  ], 64))), 128))
10190
10208
  ]),
10191
- d.comments || d.attachments ? (v(), g("ul", g8, [
10192
- d.comments ? (v(), g("li", _8, [
10209
+ c.comments || c.attachments ? (v(), g("ul", g8, [
10210
+ c.comments ? (v(), g("li", _8, [
10193
10211
  V(fe, {
10194
10212
  name: "ChatOutline",
10195
10213
  size: "sm"
10196
10214
  }),
10197
- p("span", y8, K(d.comments), 1)
10215
+ p("span", y8, K(c.comments), 1)
10198
10216
  ])) : T("", !0),
10199
- d.attachments ? (v(), g("li", b8, [
10217
+ c.attachments ? (v(), g("li", b8, [
10200
10218
  V(fe, {
10201
10219
  name: "AttachFileRounded",
10202
10220
  size: "sm"
10203
10221
  }),
10204
- p("span", w8, K(d.attachments), 1)
10222
+ p("span", w8, K(c.attachments), 1)
10205
10223
  ])) : T("", !0)
10206
10224
  ])) : T("", !0)
10207
10225
  ]),
10208
10226
  p("div", $8, [
10209
- d.tasks && d.tasks.length ? (v(), g("div", k8, [
10227
+ c.tasks && c.tasks.length ? (v(), g("div", k8, [
10210
10228
  p("div", M8, [
10211
10229
  V(fe, {
10212
10230
  name: "SelectCheckBox",
10213
10231
  size: "sm"
10214
10232
  }),
10215
- p("span", A8, K(c.value) + " / " + K(u.value), 1)
10233
+ p("span", A8, K(d.value) + " / " + K(u.value), 1)
10216
10234
  ]),
10217
10235
  V(Nn, {
10218
10236
  percentages: l.value,
@@ -10265,7 +10283,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10265
10283
  });
10266
10284
  const u = (m) => {
10267
10285
  e("close", m);
10268
- }, c = () => {
10286
+ }, d = () => {
10269
10287
  const { name: m, rank: A } = Pt(
10270
10288
  r.value ?? [],
10271
10289
  "activity",
@@ -10279,7 +10297,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10279
10297
  });
10280
10298
  }, l = (m) => {
10281
10299
  e("updateActivity", m);
10282
- }, d = (m) => {
10300
+ }, c = (m) => {
10283
10301
  r.value && "moved" in m && e("updateActivity", {
10284
10302
  id: m.moved.element.id,
10285
10303
  rank: Bt(r.value, m.moved.newIndex)
@@ -10412,7 +10430,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10412
10430
  disabled: !m.isEditable,
10413
10431
  "item-key": "id",
10414
10432
  group: "kanban"
10415
- }, m.$attrs, { onChange: d }), {
10433
+ }, m.$attrs, { onChange: c }), {
10416
10434
  item: q(({ element: S }) => {
10417
10435
  var D, L, Z, U;
10418
10436
  return [
@@ -10478,7 +10496,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10478
10496
  V(mt, {
10479
10497
  "icon-name": "Add",
10480
10498
  label: m.$t("project.activity.add"),
10481
- onClick: c
10499
+ onClick: d
10482
10500
  }, null, 8, ["label"])
10483
10501
  ])) : T("", !0)
10484
10502
  ])
@@ -10523,11 +10541,11 @@ const N8 = /* @__PURE__ */ J({
10523
10541
  e("update:activity", y);
10524
10542
  }, u = (y) => {
10525
10543
  e("addSubtask", y);
10526
- }, c = (y) => {
10544
+ }, d = (y) => {
10527
10545
  e("updateSubtask", y);
10528
10546
  }, l = (y) => {
10529
10547
  e("deleteSubtask", y);
10530
- }, d = (y) => {
10548
+ }, c = (y) => {
10531
10549
  e("addFiles", y);
10532
10550
  }, f = (y) => {
10533
10551
  e("removeFile", y);
@@ -10558,9 +10576,9 @@ const N8 = /* @__PURE__ */ J({
10558
10576
  onClose: y.$router.back,
10559
10577
  "onUpdate:activity": r,
10560
10578
  onAddSubtask: u,
10561
- onUpdateSubtask: c,
10579
+ onUpdateSubtask: d,
10562
10580
  onDeleteSubtask: l,
10563
- onAddFiles: d,
10581
+ onAddFiles: c,
10564
10582
  onRemoveFile: f,
10565
10583
  onAddComment: C,
10566
10584
  onUpdateComment: $,
@@ -10620,11 +10638,11 @@ function z8(t, e = {}) {
10620
10638
  clearTimeout(r), s(), s = na;
10621
10639
  };
10622
10640
  return (r) => {
10623
- const u = Ba(t), c = Ba(e.maxWait);
10624
- return a && o(a), u <= 0 || c !== void 0 && c <= 0 ? (n && (o(n), n = null), Promise.resolve(r())) : new Promise((l, d) => {
10625
- s = e.rejectOnCancel ? d : l, c && !n && (n = setTimeout(() => {
10641
+ const u = Ba(t), d = Ba(e.maxWait);
10642
+ return a && o(a), u <= 0 || d !== void 0 && d <= 0 ? (n && (o(n), n = null), Promise.resolve(r())) : new Promise((l, c) => {
10643
+ s = e.rejectOnCancel ? c : l, d && !n && (n = setTimeout(() => {
10626
10644
  a && o(a), n = null, l(r());
10627
- }, c)), a = setTimeout(() => {
10645
+ }, d)), a = setTimeout(() => {
10628
10646
  n && o(n), n = null, l(r());
10629
10647
  }, u);
10630
10648
  });
@@ -10659,15 +10677,15 @@ function X8(t, e, a = {}) {
10659
10677
  threshold: o = 0.1,
10660
10678
  window: i = Y8,
10661
10679
  immediate: r = !0
10662
- } = a, u = K8(() => i && "IntersectionObserver" in i), c = M(() => {
10680
+ } = a, u = K8(() => i && "IntersectionObserver" in i), d = M(() => {
10663
10681
  const $ = Ba(t);
10664
10682
  return (Array.isArray($) ? $ : [$]).map(cn).filter(q8);
10665
10683
  });
10666
10684
  let l = na;
10667
- const d = ae(r), f = u.value ? ce(
10668
- () => [c.value, cn(n), d.value],
10685
+ const c = ae(r), f = u.value ? ce(
10686
+ () => [d.value, cn(n), c.value],
10669
10687
  ([$, _]) => {
10670
- if (l(), !d.value || !$.length)
10688
+ if (l(), !c.value || !$.length)
10671
10689
  return;
10672
10690
  const y = new IntersectionObserver(
10673
10691
  e,
@@ -10683,16 +10701,16 @@ function X8(t, e, a = {}) {
10683
10701
  },
10684
10702
  { immediate: r, flush: "post" }
10685
10703
  ) : na, C = () => {
10686
- l(), f(), d.value = !1;
10704
+ l(), f(), c.value = !1;
10687
10705
  };
10688
10706
  return Z8(C), {
10689
10707
  isSupported: u,
10690
- isActive: d,
10708
+ isActive: c,
10691
10709
  pause() {
10692
- l(), d.value = !1;
10710
+ l(), c.value = !1;
10693
10711
  },
10694
10712
  resume() {
10695
- d.value = !0;
10713
+ c.value = !0;
10696
10714
  },
10697
10715
  stop: C
10698
10716
  };
@@ -10738,8 +10756,8 @@ const Q8 = {
10738
10756
  l && a.hasMore && !a.isLoading && e("loadMore");
10739
10757
  });
10740
10758
  const o = (l) => {
10741
- var d;
10742
- return a.isEditable === !0 ? !0 : a.userId && a.isEditable === "only-own" ? a.userId === ((d = l.assignee) == null ? void 0 : d.id) : !1;
10759
+ var c;
10760
+ return a.isEditable === !0 ? !0 : a.userId && a.isEditable === "only-own" ? a.userId === ((c = l.assignee) == null ? void 0 : c.id) : !1;
10743
10761
  }, i = (l) => {
10744
10762
  e("selectActivity", l);
10745
10763
  }, r = (l) => {
@@ -10756,8 +10774,8 @@ const Q8 = {
10756
10774
  l.moved.newIndex
10757
10775
  )
10758
10776
  });
10759
- }, c = ae(!1);
10760
- return (l, d) => (v(), g("div", Q8, [
10777
+ }, d = ae(!1);
10778
+ return (l, c) => (v(), g("div", Q8, [
10761
10779
  l.title || l.$slots.header ? te(l.$slots, "header", { key: 0 }, () => {
10762
10780
  var f;
10763
10781
  return [
@@ -10772,7 +10790,7 @@ const Q8 = {
10772
10790
  ];
10773
10791
  }) : T("", !0),
10774
10792
  V(X(pt), Ve({
10775
- class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
10793
+ class: ["ao-list-kanban__list", d.value ? "ao-list-kanban__transition" : void 0],
10776
10794
  list: l.list,
10777
10795
  "item-key": "id",
10778
10796
  group: "kanban",
@@ -10782,8 +10800,8 @@ const Q8 = {
10782
10800
  draggable: ".ao-list-draggable",
10783
10801
  disabled: !l.isEditable,
10784
10802
  onChange: u,
10785
- onStart: d[0] || (d[0] = (f) => c.value = !0),
10786
- onEnd: d[1] || (d[1] = (f) => c.value = !1),
10803
+ onStart: c[0] || (c[0] = (f) => d.value = !0),
10804
+ onEnd: c[1] || (c[1] = (f) => d.value = !1),
10787
10805
  "component-data": {
10788
10806
  tag: "transition-group",
10789
10807
  name: "ao-list-kanban__transition"
@@ -10865,7 +10883,7 @@ const Q8 = {
10865
10883
  key: 0,
10866
10884
  "icon-name": "AddBoxOutlineRounded",
10867
10885
  label: l.footerLabel,
10868
- onClick: d[2] || (d[2] = (f) => l.$emit("add"))
10886
+ onClick: c[2] || (c[2] = (f) => l.$emit("add"))
10869
10887
  }, null, 8, ["label"])) : T("", !0)
10870
10888
  ])
10871
10889
  ])) : T("", !0)
@@ -10953,7 +10971,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
10953
10971
  },
10954
10972
  { immediate: !0 }
10955
10973
  );
10956
- const c = M(() => {
10974
+ const d = M(() => {
10957
10975
  var E;
10958
10976
  return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((E = a.selectedActivity.milestone.phase) == null ? void 0 : E.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
10959
10977
  }), l = (E) => {
@@ -10964,7 +10982,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
10964
10982
  statusId: E.id
10965
10983
  };
10966
10984
  a.filters.assigneeId.length > 0 && (h.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (h.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (h.typeId = a.filters.typeId[0]), u.value = !0, e("addActivity", h);
10967
- }, d = (E, N) => {
10985
+ }, c = (E, N) => {
10968
10986
  u.value = !1, e("update:filters", { ...a.filters, [E]: N });
10969
10987
  }, f = M(
10970
10988
  () => a.project ? [a.project] : a.projects ?? []
@@ -11046,7 +11064,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11046
11064
  searchable: !0,
11047
11065
  class: "ao-feed__filter ao-feed__filter__projects",
11048
11066
  placeholder: E.$t("feed.filters.project.placeholder"),
11049
- "onUpdate:modelValue": N[1] || (N[1] = (k) => d(X(Et).project, k))
11067
+ "onUpdate:modelValue": N[1] || (N[1] = (k) => c(X(Et).project, k))
11050
11068
  }, null, 8, ["model-value", "options", "placeholder"])),
11051
11069
  $.value ? (v(), R($e, {
11052
11070
  key: 2,
@@ -11057,7 +11075,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11057
11075
  searchable: !0,
11058
11076
  class: "ao-feed__filter ao-feed__filter__types",
11059
11077
  placeholder: E.$t("feed.filters.activityType.placeholder"),
11060
- "onUpdate:modelValue": N[2] || (N[2] = (k) => d(X(Et).type, k))
11078
+ "onUpdate:modelValue": N[2] || (N[2] = (k) => c(X(Et).type, k))
11061
11079
  }, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
11062
11080
  _.value.length ? (v(), R($e, {
11063
11081
  key: 3,
@@ -11068,7 +11086,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11068
11086
  searchable: !0,
11069
11087
  class: "ao-feed__filter ao-feed__filter__assignees",
11070
11088
  placeholder: E.$t("feed.filters.assignee.placeholder"),
11071
- "onUpdate:modelValue": N[3] || (N[3] = (k) => d(X(Et).assignee, k))
11089
+ "onUpdate:modelValue": N[3] || (N[3] = (k) => c(X(Et).assignee, k))
11072
11090
  }, {
11073
11091
  tag: q(({
11074
11092
  option: k,
@@ -11140,7 +11158,7 @@ const uv = { class: "ao-feed" }, dv = { class: "ao-feed__filters" }, cv = { clas
11140
11158
  "user-id": E.userId,
11141
11159
  "is-task-checkable": E.isTaskCheckable,
11142
11160
  statuses: E.statuses,
11143
- breadcrumbs: c.value,
11161
+ breadcrumbs: d.value,
11144
11162
  "is-editable": E.isEditable,
11145
11163
  "attachment-enabled": E.attachmentEnabled,
11146
11164
  projects: f.value,
@@ -11243,9 +11261,9 @@ const Lt = {
11243
11261
  Ge(r, u);
11244
11262
  });
11245
11263
  const s = () => {
11246
- var d, f;
11247
- const r = (d = a.templates) == null ? void 0 : d.at(-1), u = r ? Ie.LexoRank.parse(r.rank).genNext() : Ie.LexoRank.middle(), c = ((f = a.templates) == null ? void 0 : f.length) ?? 0, l = {
11248
- name: n("template.defaultName.template", { idx: c + 1 }),
11264
+ var c, f;
11265
+ const r = (c = a.templates) == null ? void 0 : c.at(-1), u = r ? Ie.LexoRank.parse(r.rank).genNext() : Ie.LexoRank.middle(), d = ((f = a.templates) == null ? void 0 : f.length) ?? 0, l = {
11266
+ name: n("template.defaultName.template", { idx: d + 1 }),
11249
11267
  rank: u.format()
11250
11268
  };
11251
11269
  e("addTemplate", l);
@@ -11291,21 +11309,21 @@ const Lt = {
11291
11309
  handle: ".ao-card__drag",
11292
11310
  onChange: i
11293
11311
  }, {
11294
- item: q(({ element: c }) => {
11312
+ item: q(({ element: d }) => {
11295
11313
  var l;
11296
11314
  return [
11297
11315
  V(j3, {
11298
- id: c.id,
11299
- title: c.name,
11300
- phases: c.phases,
11301
- milestones: (l = c.phases) != null && l.length ? X(v3)(c.phases) : 0,
11302
- activities: c.phases ? X(p3)(c.phases) : 0,
11303
- "updated-at": c.updatedAt,
11304
- "updated-by": c.updatedBy,
11305
- onUpdateTitle: (d) => o(c.id, d),
11306
- onClick: (d) => r.$router.push({
11316
+ id: d.id,
11317
+ title: d.name,
11318
+ phases: d.phases,
11319
+ milestones: (l = d.phases) != null && l.length ? X(v3)(d.phases) : 0,
11320
+ activities: d.phases ? X(p3)(d.phases) : 0,
11321
+ "updated-at": d.updatedAt,
11322
+ "updated-by": d.updatedBy,
11323
+ onUpdateTitle: (c) => o(d.id, c),
11324
+ onClick: (c) => r.$router.push({
11307
11325
  name: X(Lt).TEMPLATE_DETAILS,
11308
- params: { templateId: c.id }
11326
+ params: { templateId: d.id }
11309
11327
  })
11310
11328
  }, null, 8, ["id", "title", "phases", "milestones", "activities", "updated-at", "updated-by", "onUpdateTitle", "onClick"])
11311
11329
  ];