@26lights/orcha 0.37.53 → 0.37.54

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
@@ -1258,8 +1258,8 @@ const ye = /* @__PURE__ */ x({
1258
1258
  click: (g) => g.stopPropagation(),
1259
1259
  blur: h
1260
1260
  } : {
1261
- click: b,
1262
- focus: b
1261
+ click: y,
1262
+ focus: y
1263
1263
  } : {}), f = i((g, S) => {
1264
1264
  const m = S.target.value;
1265
1265
  e("update:title", m);
@@ -1267,7 +1267,7 @@ const ye = /* @__PURE__ */ x({
1267
1267
  s.value && o(!1);
1268
1268
  }, w = () => {
1269
1269
  e("toggle-is-editing", !1);
1270
- }, b = (g) => {
1270
+ }, y = (g) => {
1271
1271
  g.stopPropagation(), s.value || o(!0);
1272
1272
  };
1273
1273
  return de(
@@ -1597,10 +1597,10 @@ function Vs(t, e) {
1597
1597
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1598
1598
  var w = /* @__PURE__ */ new Date(0);
1599
1599
  w.setUTCFullYear(f + 1, 0, h), w.setUTCHours(0, 0, 0, 0);
1600
- var b = Pa(w, e), g = /* @__PURE__ */ new Date(0);
1600
+ var y = Pa(w, e), g = /* @__PURE__ */ new Date(0);
1601
1601
  g.setUTCFullYear(f, 0, h), g.setUTCHours(0, 0, 0, 0);
1602
1602
  var S = Pa(g, e);
1603
- return u.getTime() >= b.getTime() ? f + 1 : u.getTime() >= S.getTime() ? f : f - 1;
1603
+ return u.getTime() >= y.getTime() ? f + 1 : u.getTime() >= S.getTime() ? f : f - 1;
1604
1604
  }
1605
1605
  function J2(t, e) {
1606
1606
  var a, n, s, o, i, r, l, c;
@@ -2722,12 +2722,12 @@ var K0 = {
2722
2722
  const Rs = K0;
2723
2723
  var G0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, X0 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Q0 = /^'([^]*?)'?$/, J0 = /''/g, e3 = /[a-zA-Z]/;
2724
2724
  function Ns(t, e, a) {
2725
- var n, s, o, i, r, l, c, u, f, d, h, w, b, g, S, _, m, D;
2725
+ var n, s, o, i, r, l, c, u, f, d, h, w, y, g, S, _, m, D;
2726
2726
  ge(2, arguments);
2727
2727
  var I = String(e), L = va(), U = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : L.locale) !== null && n !== void 0 ? n : Rs, Z = Qe((o = (i = (r = (l = a == null ? void 0 : a.firstWeekContainsDate) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (f = L.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2728
2728
  if (!(Z >= 1 && Z <= 7))
2729
2729
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2730
- var Y = Qe((h = (w = (b = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || (S = a.locale) === null || S === void 0 || (_ = S.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && b !== void 0 ? b : L.weekStartsOn) !== null && w !== void 0 ? w : (m = L.locale) === null || m === void 0 || (D = m.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && h !== void 0 ? h : 0);
2730
+ var Y = Qe((h = (w = (y = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || (S = a.locale) === null || S === void 0 || (_ = S.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && y !== void 0 ? y : L.weekStartsOn) !== null && w !== void 0 ? w : (m = L.locale) === null || m === void 0 || (D = m.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && h !== void 0 ? h : 0);
2731
2731
  if (!(Y >= 0 && Y <= 6))
2732
2732
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2733
2733
  if (!U.localize)
@@ -2771,7 +2771,7 @@ function t3(t) {
2771
2771
  function a3(t, e, a) {
2772
2772
  var n, s, o, i, r, l, c, u, f, d;
2773
2773
  ge(2, arguments);
2774
- var h = be(t), w = be(e), b = va(), g = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : b.locale) !== null && n !== void 0 ? n : Rs, S = Qe((o = (i = (r = (l = a == null ? void 0 : a.weekStartsOn) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : b.weekStartsOn) !== null && i !== void 0 ? i : (f = b.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && o !== void 0 ? o : 0);
2774
+ var h = be(t), w = be(e), y = va(), g = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : y.locale) !== null && n !== void 0 ? n : Rs, S = Qe((o = (i = (r = (l = a == null ? void 0 : a.weekStartsOn) !== null && l !== void 0 ? l : a == null || (c = a.locale) === null || c === void 0 || (u = c.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : y.weekStartsOn) !== null && i !== void 0 ? i : (f = y.locale) === null || f === void 0 || (d = f.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && o !== void 0 ? o : 0);
2775
2775
  if (!g.localize)
2776
2776
  throw new RangeError("locale must contain localize property");
2777
2777
  if (!g.formatLong)
@@ -3488,20 +3488,20 @@ function Ws() {
3488
3488
  }
3489
3489
  let f;
3490
3490
  for (let w = l.getScale(); w > 0; c = f) {
3491
- const b = w - 1, g = l.setScale(b, !0);
3492
- if (f = c.setScale(b, !1), g.compareTo(f) === 0)
3491
+ const y = w - 1, g = l.setScale(y, !0);
3492
+ if (f = c.setScale(y, !1), g.compareTo(f) === 0)
3493
3493
  return s.checkMid(i, r, g);
3494
3494
  if (g.compareTo(f) > 0)
3495
3495
  break;
3496
- w = b, l = g;
3496
+ w = y, l = g;
3497
3497
  }
3498
3498
  let d = s.middleInternal(i, r, l, c), h;
3499
3499
  for (let w = d.getScale(); w > 0; w = h) {
3500
3500
  h = w - 1;
3501
- const b = d.setScale(h);
3502
- if (i.compareTo(b) >= 0 || b.compareTo(r) >= 0)
3501
+ const y = d.setScale(h);
3502
+ if (i.compareTo(y) >= 0 || y.compareTo(r) >= 0)
3503
3503
  break;
3504
- d = b;
3504
+ d = y;
3505
3505
  }
3506
3506
  return d;
3507
3507
  }
@@ -4345,11 +4345,11 @@ const E5 = async (t, e, a) => {
4345
4345
  x: u,
4346
4346
  y: f
4347
4347
  } = vs(c, n, l), d = n, h = {}, w = 0;
4348
- for (let b = 0; b < r.length; b++) {
4348
+ for (let y = 0; y < r.length; y++) {
4349
4349
  const {
4350
4350
  name: g,
4351
4351
  fn: S
4352
- } = r[b], {
4352
+ } = r[y], {
4353
4353
  x: _,
4354
4354
  y: m,
4355
4355
  data: D,
@@ -4382,7 +4382,7 @@ const E5 = async (t, e, a) => {
4382
4382
  }) : I.rects), {
4383
4383
  x: u,
4384
4384
  y: f
4385
- } = vs(c, d, l)), b = -1;
4385
+ } = vs(c, d, l)), y = -1;
4386
4386
  continue;
4387
4387
  }
4388
4388
  }
@@ -4456,13 +4456,13 @@ const I5 = function(t) {
4456
4456
  fallbackPlacements: d,
4457
4457
  fallbackStrategy: h = "bestFit",
4458
4458
  fallbackAxisSideDirection: w = "none",
4459
- flipAlignment: b = !0,
4459
+ flipAlignment: y = !0,
4460
4460
  ...g
4461
4461
  } = Ln(t, e);
4462
4462
  if ((a = o.arrow) != null && a.alignmentOffset)
4463
4463
  return {};
4464
- const S = Ft(s), _ = Ft(r) === r, m = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !b ? [Ba(r)] : S5(r));
4465
- !d && w !== "none" && D.push(...M5(r, b, w, m));
4464
+ const S = Ft(s), _ = Ft(r) === r, m = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !y ? [Ba(r)] : S5(r));
4465
+ !d && w !== "none" && D.push(...M5(r, y, w, m));
4466
4466
  const I = [r, ...D], L = await Ks(e, g), U = [];
4467
4467
  let Z = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4468
4468
  if (u && U.push(L[S]), f) {
@@ -4526,9 +4526,9 @@ const I5 = function(t) {
4526
4526
  width: d,
4527
4527
  height: h
4528
4528
  } = n.floating;
4529
- let w, b;
4530
- c === "top" || c === "bottom" ? (w = c, b = u === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (b = c, w = u === "end" ? "top" : "bottom");
4531
- const g = h - l[w], S = d - l[b], _ = !e.middlewareData.shift;
4529
+ let w, y;
4530
+ c === "top" || c === "bottom" ? (w = c, y = u === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (y = c, w = u === "end" ? "top" : "bottom");
4531
+ const g = h - l[w], S = d - l[y], _ = !e.middlewareData.shift;
4532
4532
  let m = g, D = S;
4533
4533
  if (f) {
4534
4534
  const L = d - l.left - l.right;
@@ -4693,8 +4693,8 @@ function St(t, e, a, n) {
4693
4693
  const d = ke(o), h = n && et(n) ? ke(n) : n;
4694
4694
  let w = d.frameElement;
4695
4695
  for (; w && n && h !== d; ) {
4696
- const b = Vt(w), g = w.getBoundingClientRect(), S = Ve(w), _ = g.left + (w.clientLeft + parseFloat(S.paddingLeft)) * b.x, m = g.top + (w.clientTop + parseFloat(S.paddingTop)) * b.y;
4697
- l *= b.x, c *= b.y, u *= b.x, f *= b.y, l += _, c += m, w = ke(w).frameElement;
4696
+ const y = Vt(w), g = w.getBoundingClientRect(), S = Ve(w), _ = g.left + (w.clientLeft + parseFloat(S.paddingLeft)) * y.x, m = g.top + (w.clientTop + parseFloat(S.paddingTop)) * y.y;
4697
+ l *= y.x, c *= y.y, u *= y.x, f *= y.y, l += _, c += m, w = ke(w).frameElement;
4698
4698
  }
4699
4699
  }
4700
4700
  return Ra({
@@ -4905,8 +4905,8 @@ function K5(t, e) {
4905
4905
  } = t.getBoundingClientRect();
4906
4906
  if (r || e(), !f || !d)
4907
4907
  return;
4908
- const h = Oa(u), w = Oa(s.clientWidth - (c + f)), b = Oa(s.clientHeight - (u + d)), g = Oa(c), _ = {
4909
- rootMargin: -h + "px " + -w + "px " + -b + "px " + -g + "px",
4908
+ const h = Oa(u), w = Oa(s.clientWidth - (c + f)), y = Oa(s.clientHeight - (u + d)), g = Oa(c), _ = {
4909
+ rootMargin: -h + "px " + -w + "px " + -y + "px " + -g + "px",
4910
4910
  threshold: Ee(0, ua(1, l)) || 1
4911
4911
  };
4912
4912
  let m = !0;
@@ -4956,11 +4956,11 @@ function G5(t, e, a, n) {
4956
4956
  h && h.observe(e);
4957
4957
  })), a();
4958
4958
  }), c && !l && h.observe(c), h.observe(e));
4959
- let w, b = l ? St(t) : null;
4959
+ let w, y = l ? St(t) : null;
4960
4960
  l && g();
4961
4961
  function g() {
4962
4962
  const S = St(t);
4963
- b && (S.x !== b.x || S.y !== b.y || S.width !== b.width || S.height !== b.height) && a(), b = S, w = requestAnimationFrame(g);
4963
+ y && (S.x !== y.x || S.y !== y.y || S.width !== y.width || S.height !== y.height) && a(), y = S, w = requestAnimationFrame(g);
4964
4964
  }
4965
4965
  return a(), () => {
4966
4966
  u.forEach((S) => {
@@ -5083,8 +5083,8 @@ function t7(t, e, a) {
5083
5083
  }, f = (d) => {
5084
5084
  if (n && n.value) {
5085
5085
  let w = (d.clipboardData || /* istanbul ignore next */
5086
- window.clipboardData).getData("Text"), b = n.value;
5087
- typeof b == "string" && (b = new RegExp(b)), w.split("").every((g) => !!g.match(b)) || d.preventDefault();
5086
+ window.clipboardData).getData("Text"), y = n.value;
5087
+ typeof y == "string" && (y = new RegExp(y)), w.split("").every((g) => !!g.match(y)) || d.preventDefault();
5088
5088
  }
5089
5089
  e.emit("paste", d, s);
5090
5090
  };
@@ -5136,7 +5136,7 @@ function i7(t, e, a) {
5136
5136
  appendNewOption: d,
5137
5137
  multipleLabel: h,
5138
5138
  object: w,
5139
- loading: b,
5139
+ loading: y,
5140
5140
  delay: g,
5141
5141
  resolveOnLoad: S,
5142
5142
  minChars: _,
@@ -5158,7 +5158,7 @@ function i7(t, e, a) {
5158
5158
  groupHideEmpty: F,
5159
5159
  groupSelect: V,
5160
5160
  onCreate: se,
5161
- disabledProp: y,
5161
+ disabledProp: b,
5162
5162
  searchStart: R,
5163
5163
  searchFilter: le
5164
5164
  } = Ae(t), ie = Mt().proxy, q = a.iv, H = a.ev, G = a.search, ve = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, _a = a.focus, nn = a.deactivate, st = a.close, ya = a.localize, it = ee([]), Ne = ee([]), Me = ee(!1), Be = ee(null), qe = ee(O.value && i.value === -1 ? 10 : i.value), Xt = A(() => l.value || c.value || !1), ba = A(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = A(() => {
@@ -5167,7 +5167,7 @@ function i7(t, e, a) {
5167
5167
  [], B = [];
5168
5168
  return $.forEach((re) => {
5169
5169
  dn(re[k.value]).forEach((me) => {
5170
- B.push(Object.assign({}, me, re[y.value] ? { [y.value]: !0 } : {}));
5170
+ B.push(Object.assign({}, me, re[b.value] ? { [b.value]: !0 } : {}));
5171
5171
  });
5172
5172
  }), B;
5173
5173
  } else {
@@ -5209,8 +5209,8 @@ function i7(t, e, a) {
5209
5209
  ...B,
5210
5210
  index: re,
5211
5211
  group: !0,
5212
- [k.value]: cn(me, !1).map((bt) => Object.assign({}, bt, B[y.value] ? { [y.value]: !0 } : {})),
5213
- __VISIBLE__: cn(me).map((bt) => Object.assign({}, bt, B[y.value] ? { [y.value]: !0 } : {}))
5212
+ [k.value]: cn(me, !1).map((bt) => Object.assign({}, bt, B[b.value] ? { [b.value]: !0 } : {})),
5213
+ __VISIBLE__: cn(me).map((bt) => Object.assign({}, bt, B[b.value] ? { [b.value]: !0 } : {}))
5214
5214
  };
5215
5215
  }));
5216
5216
  }), on = A(() => {
@@ -5234,7 +5234,7 @@ function i7(t, e, a) {
5234
5234
  case "tags":
5235
5235
  return [];
5236
5236
  }
5237
- }), mi = A(() => b.value || Me.value), Et = ($) => {
5237
+ }), mi = A(() => y.value || Me.value), Et = ($) => {
5238
5238
  switch (typeof $ != "object" && ($ = xe($)), s.value) {
5239
5239
  case "single":
5240
5240
  we($);
@@ -5276,7 +5276,7 @@ function i7(t, e, a) {
5276
5276
  case "multiple":
5277
5277
  return !je(q.value) && q.value.map((B) => B[L.value]).indexOf($[L.value]) !== -1;
5278
5278
  }
5279
- }, rn = ($) => $[y.value] === !0, ln = () => E === void 0 || E.value === -1 || !on.value && E.value > 0 ? !1 : q.value.length >= E.value, gi = ($) => {
5279
+ }, rn = ($) => $[b.value] === !0, ln = () => E === void 0 || E.value === -1 || !on.value && E.value > 0 ? !1 : q.value.length >= E.value, gi = ($) => {
5280
5280
  if (!rn($)) {
5281
5281
  if (se && se.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = se.value($, ie), $ instanceof Promise)) {
5282
5282
  Me.value = !0, $.then((B) => {
@@ -5325,8 +5325,8 @@ function i7(t, e, a) {
5325
5325
  case "multiple":
5326
5326
  case "tags":
5327
5327
  bi($[k.value]) ? It($[k.value]) : Et(
5328
- $[k.value].filter((B) => q.value.map((re) => re[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[y.value]).filter((B, re) => q.value.length + 1 + re <= E.value || E.value === -1)
5329
- ), r.value && Kt.value && Gt(sn.value.filter((B) => !B[y.value])[Kt.value.index]);
5328
+ $[k.value].filter((B) => q.value.map((re) => re[L.value]).indexOf(B[L.value]) === -1).filter((B) => !B[b.value]).filter((B, re) => q.value.length + 1 + re <= E.value || E.value === -1)
5329
+ ), r.value && Kt.value && Gt(sn.value.filter((B) => !B[b.value])[Kt.value.index]);
5330
5330
  break;
5331
5331
  }
5332
5332
  N.value && nn();
@@ -5335,7 +5335,7 @@ function i7(t, e, a) {
5335
5335
  xe($[L.value]) === void 0 && Xt.value && (e.emit("tag", $[L.value], ie), e.emit("option", $[L.value], ie), e.emit("create", $[L.value], ie), ba.value && Si($), ve());
5336
5336
  }, yi = () => {
5337
5337
  s.value !== "single" && Et(ot.value.filter(($) => !$.disabled && !ze($)));
5338
- }, bi = ($) => $.find((B) => !ze(B) && !B[y.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[L.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((re) => (parseInt(B[re]) == B[re] ? parseInt(B[re]) : B[re]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
5338
+ }, bi = ($) => $.find((B) => !ze(B) && !B[b.value]) === void 0, wi = ($) => $.find((B) => !ze(B)) === void 0, xe = ($) => Te.value[Te.value.map((B) => String(B[L.value])).indexOf(String($))], $i = ($) => Te.value.findIndex((B) => yt.value.some((re) => (parseInt(B[re]) == B[re] ? parseInt(B[re]) : B[re]) === (parseInt($) == $ ? parseInt($) : $))), ki = ($) => ["tags", "multiple"].indexOf(s.value) !== -1 && r.value && ze($), Si = ($) => {
5339
5339
  it.value.push($);
5340
5340
  }, Ai = ($) => F.value ? $.filter(
5341
5341
  (B) => G.value ? B.__VISIBLE__.length : B[k.value].length
@@ -5395,7 +5395,7 @@ function i7(t, e, a) {
5395
5395
  Be.value = de(G, ($) => {
5396
5396
  $.length < _.value || !$ && _.value !== 0 || (Me.value = !0, D.value && (Ne.value = []), setTimeout(() => {
5397
5397
  $ == G.value && n.value(G.value, ie).then((B) => {
5398
- ($ == G.value || !G.value) && (Ne.value = B, Kt.value = ot.value.filter((re) => re[y.value] !== !0)[0] || null, Me.value = !1);
5398
+ ($ == G.value || !G.value) && (Ne.value = B, Kt.value = ot.value.filter((re) => re[b.value] !== !0)[0] || null, Me.value = !1);
5399
5399
  }).catch(
5400
5400
  /* istanbul ignore next */
5401
5401
  (B) => {
@@ -5472,7 +5472,7 @@ function o7(t, e, a) {
5472
5472
  groupSelect: c,
5473
5473
  disabledProp: u,
5474
5474
  groupOptions: f
5475
- } = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, b = a.handleGroupClick, g = a.search, S = a.pointer, _ = a.setPointer, m = a.clearPointer, D = a.multiselect, I = a.isOpen, L = A(() => d.value.filter((H) => !H[u.value])), U = A(() => h.value.filter((H) => !H[u.value])), Z = A(() => l.value !== "single" && c.value), Y = A(() => S.value && S.value.group), E = A(() => ie(S.value)), K = A(() => {
5475
+ } = Ae(t), d = a.fo, h = a.fg, w = a.handleOptionClick, y = a.handleGroupClick, g = a.search, S = a.pointer, _ = a.setPointer, m = a.clearPointer, D = a.multiselect, I = a.isOpen, L = A(() => d.value.filter((H) => !H[u.value])), U = A(() => h.value.filter((H) => !H[u.value])), Z = A(() => l.value !== "single" && c.value), Y = A(() => S.value && S.value.group), E = A(() => ie(S.value)), K = A(() => {
5476
5476
  const H = Y.value ? S.value : (
5477
5477
  /* istanbul ignore next */
5478
5478
  ie(S.value)
@@ -5490,8 +5490,8 @@ function o7(t, e, a) {
5490
5490
  return H[H.map((G) => G[n.value]).indexOf(S.value[n.value]) + 1];
5491
5491
  }), k = A(() => [...K.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), F = A(() => [...W.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), V = (H) => S.value && (!H.group && S.value[n.value] === H[n.value] || H.group !== void 0 && S.value[i.value] === H[i.value]) ? !0 : void 0, se = () => {
5492
5492
  _(L.value[0] || null);
5493
- }, y = () => {
5494
- !S.value || S.value[u.value] === !0 || (Y.value ? b(S.value) : w(S.value));
5493
+ }, b = () => {
5494
+ !S.value || S.value[u.value] === !0 || (Y.value ? y(S.value) : w(S.value));
5495
5495
  }, R = () => {
5496
5496
  if (S.value === null)
5497
5497
  _((r.value && Z.value ? U.value[0].__CREATE__ ? L.value[0] : U.value[0] : L.value[0]) || null);
@@ -5545,7 +5545,7 @@ function o7(t, e, a) {
5545
5545
  canPointGroups: Z,
5546
5546
  isPointed: V,
5547
5547
  setPointerFirst: se,
5548
- selectPointer: y,
5548
+ selectPointer: b,
5549
5549
  forwardPointer: R,
5550
5550
  backwardPointer: le
5551
5551
  };
@@ -5909,7 +5909,7 @@ function B7(t, e) {
5909
5909
  }
5910
5910
  function Un(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, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, b = a.padding, g = b === void 0 ? 0 : b, S = V7(typeof g != "number" ? g : B7(g, an)), _ = d === sa ? v7 : sa, m = t.rects.popper, D = t.elements[w ? _ : d], I = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), L = Wt(t.elements.reference), U = li({
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, l = r === void 0 ? f7 : r, c = a.rootBoundary, u = c === void 0 ? oi : c, f = a.elementContext, d = f === void 0 ? sa : f, h = a.altBoundary, w = h === void 0 ? !1 : h, y = a.padding, g = y === void 0 ? 0 : y, S = V7(typeof g != "number" ? g : B7(g, an)), _ = d === sa ? v7 : sa, m = t.rects.popper, D = t.elements[w ? _ : d], I = P7(At(D) ? D : D.contextElement || gt(t.elements.popper), l, u, i), L = Wt(t.elements.reference), U = li({
5913
5913
  reference: L,
5914
5914
  element: m,
5915
5915
  strategy: "absolute",
@@ -5961,7 +5961,7 @@ function R7(t) {
5961
5961
  state: u,
5962
5962
  setOptions: function(S) {
5963
5963
  var _ = typeof S == "function" ? S(u.options) : S;
5964
- b(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
5964
+ y(), u.options = Object.assign({}, o, u.options, _), u.scrollParents = {
5965
5965
  reference: At(r) ? ia(r) : r.contextElement ? ia(r.contextElement) : [],
5966
5966
  popper: ia(l)
5967
5967
  };
@@ -6009,7 +6009,7 @@ function R7(t) {
6009
6009
  });
6010
6010
  }),
6011
6011
  destroy: function() {
6012
- b(), d = !0;
6012
+ y(), d = !0;
6013
6013
  }
6014
6014
  };
6015
6015
  if (!ws(r, l))
@@ -6032,7 +6032,7 @@ function R7(t) {
6032
6032
  }
6033
6033
  });
6034
6034
  }
6035
- function b() {
6035
+ function y() {
6036
6036
  f.forEach(function(g) {
6037
6037
  return g();
6038
6038
  }), f = [];
@@ -6091,14 +6091,14 @@ function W7(t, e) {
6091
6091
  };
6092
6092
  }
6093
6093
  function $s(t) {
6094
- var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, f = t.isFixed, d = i.x, h = d === void 0 ? 0 : d, w = i.y, b = w === void 0 ? 0 : w, g = typeof u == "function" ? u({
6094
+ var e, a = t.popper, n = t.popperRect, s = t.placement, o = t.variation, i = t.offsets, r = t.position, l = t.gpuAcceleration, c = t.adaptive, u = t.roundOffsets, f = t.isFixed, d = i.x, h = d === void 0 ? 0 : d, w = i.y, y = w === void 0 ? 0 : w, g = typeof u == "function" ? u({
6095
6095
  x: h,
6096
- y: b
6096
+ y
6097
6097
  }) : {
6098
6098
  x: h,
6099
- y: b
6099
+ y
6100
6100
  };
6101
- h = g.x, b = g.y;
6101
+ h = g.x, y = g.y;
6102
6102
  var S = i.hasOwnProperty("x"), _ = i.hasOwnProperty("y"), m = Ge, D = Re, I = window;
6103
6103
  if (c) {
6104
6104
  var L = tn(a), U = "clientHeight", Z = "clientWidth";
@@ -6108,7 +6108,7 @@ function $s(t) {
6108
6108
  // $FlowFixMe[prop-missing]
6109
6109
  L[U]
6110
6110
  );
6111
- b -= Y - n.height, b *= l ? 1 : -1;
6111
+ y -= Y - n.height, y *= l ? 1 : -1;
6112
6112
  }
6113
6113
  if (s === Ge || (s === Re || s === We) && o === da) {
6114
6114
  m = vt;
@@ -6123,16 +6123,16 @@ function $s(t) {
6123
6123
  position: r
6124
6124
  }, c && Z7), N = u === !0 ? W7({
6125
6125
  x: h,
6126
- y: b
6126
+ y
6127
6127
  }, Se(a)) : {
6128
6128
  x: h,
6129
- y: b
6129
+ y
6130
6130
  };
6131
- if (h = N.x, b = N.y, l) {
6131
+ if (h = N.x, y = N.y, l) {
6132
6132
  var W;
6133
- return Object.assign({}, K, (W = {}, W[D] = _ ? "0" : "", W[m] = S ? "0" : "", W.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + b + "px)" : "translate3d(" + h + "px, " + b + "px, 0)", W));
6133
+ return Object.assign({}, K, (W = {}, W[D] = _ ? "0" : "", W[m] = S ? "0" : "", W.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + y + "px)" : "translate3d(" + h + "px, " + y + "px, 0)", W));
6134
6134
  }
6135
- return Object.assign({}, K, (e = {}, e[D] = _ ? b + "px" : "", e[m] = S ? h + "px" : "", e.transform = "", e));
6135
+ return Object.assign({}, K, (e = {}, e[D] = _ ? y + "px" : "", e[m] = S ? h + "px" : "", e.transform = "", e));
6136
6136
  }
6137
6137
  function q7(t) {
6138
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, l = r === void 0 ? !0 : r, c = {
@@ -6219,14 +6219,14 @@ function J7(t, e, a) {
6219
6219
  return n > a ? a : n;
6220
6220
  }
6221
6221
  function ep(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, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, b = w === void 0 ? 0 : w, g = Un(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, l = a.boundary, c = a.rootBoundary, u = a.altBoundary, f = a.padding, d = a.tether, h = d === void 0 ? !0 : d, w = a.tetherOffset, y = w === void 0 ? 0 : w, g = Un(e, {
6223
6223
  boundary: l,
6224
6224
  rootBoundary: c,
6225
6225
  padding: f,
6226
6226
  altBoundary: u
6227
- }), S = ct(e.placement), _ = zt(e.placement), m = !_, D = ri(S), I = Q7(D), L = e.modifiersData.popperOffsets, U = e.rects.reference, Z = e.rects.popper, Y = typeof b == "function" ? b(Object.assign({}, e.rects, {
6227
+ }), S = ct(e.placement), _ = zt(e.placement), m = !_, D = ri(S), I = Q7(D), L = e.modifiersData.popperOffsets, U = e.rects.reference, Z = e.rects.popper, Y = typeof y == "function" ? y(Object.assign({}, e.rects, {
6228
6228
  placement: e.placement
6229
- })) : b, E = typeof Y == "number" ? {
6229
+ })) : y, E = typeof Y == "number" ? {
6230
6230
  mainAxis: Y,
6231
6231
  altAxis: Y
6232
6232
  } : Object.assign({
@@ -6238,10 +6238,10 @@ function ep(t) {
6238
6238
  };
6239
6239
  if (L) {
6240
6240
  if (o) {
6241
- var W, oe = D === "y" ? Re : Ge, ne = D === "y" ? We : vt, O = D === "y" ? "height" : "width", k = L[D], F = k + g[oe], V = k - g[ne], se = h ? -Z[O] / 2 : 0, y = _ === qt ? U[O] : Z[O], R = _ === qt ? -Z[O] : -U[O], le = e.elements.arrow, ie = h && le ? si(le) : {
6241
+ var W, oe = D === "y" ? Re : Ge, ne = D === "y" ? We : vt, O = D === "y" ? "height" : "width", k = L[D], F = k + g[oe], V = k - g[ne], se = h ? -Z[O] / 2 : 0, b = _ === qt ? U[O] : Z[O], R = _ === qt ? -Z[O] : -U[O], le = e.elements.arrow, ie = h && le ? si(le) : {
6242
6242
  width: 0,
6243
6243
  height: 0
6244
- }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[oe], G = q[ne], ve = Ia(0, U[O], ie[O]), we = m ? U[O] / 2 - se - ve - H - E.mainAxis : y - ve - H - E.mainAxis, Kt = m ? -U[O] / 2 + se + ve + G + E.mainAxis : R + ve + G + E.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (W = K == null ? void 0 : K[D]) != null ? W : 0, nn = k + we - _a - nt, st = k + Kt - _a, ya = Ia(h ? Na(F, nn) : F, k, h ? kt(V, st) : V);
6244
+ }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[oe], G = q[ne], ve = Ia(0, U[O], ie[O]), we = m ? U[O] / 2 - se - ve - H - E.mainAxis : b - ve - H - E.mainAxis, Kt = m ? -U[O] / 2 + se + ve + G + E.mainAxis : R + ve + G + E.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (W = K == null ? void 0 : K[D]) != null ? W : 0, nn = k + we - _a - nt, st = k + Kt - _a, ya = Ia(h ? Na(F, nn) : F, k, h ? kt(V, st) : V);
6245
6245
  L[D] = ya, N[D] = ya - k;
6246
6246
  }
6247
6247
  if (r) {
@@ -6285,16 +6285,16 @@ function sp(t, e) {
6285
6285
  return c.indexOf(w) >= 0;
6286
6286
  });
6287
6287
  d.length === 0 && (d = f);
6288
- var h = d.reduce(function(w, b) {
6289
- return w[b] = Un(t, {
6290
- placement: b,
6288
+ var h = d.reduce(function(w, y) {
6289
+ return w[y] = Un(t, {
6290
+ placement: y,
6291
6291
  boundary: s,
6292
6292
  rootBoundary: o,
6293
6293
  padding: i
6294
- })[ct(b)], w;
6294
+ })[ct(y)], w;
6295
6295
  }, {});
6296
- return Object.keys(h).sort(function(w, b) {
6297
- return h[w] - h[b];
6296
+ return Object.keys(h).sort(function(w, y) {
6297
+ return h[w] - h[y];
6298
6298
  });
6299
6299
  }
6300
6300
  function ip(t) {
@@ -6306,14 +6306,14 @@ function ip(t) {
6306
6306
  function op(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, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, b = a.allowedAutoPlacements, g = e.options.placement, S = ct(g), _ = S === g, m = l || (_ || !w ? [La(g)] : ip(g)), D = [g].concat(m).reduce(function(ie, q) {
6309
+ for (var s = a.mainAxis, o = s === void 0 ? !0 : s, i = a.altAxis, r = i === void 0 ? !0 : i, l = a.fallbackPlacements, c = a.padding, u = a.boundary, f = a.rootBoundary, d = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, y = a.allowedAutoPlacements, g = e.options.placement, S = ct(g), _ = S === g, m = l || (_ || !w ? [La(g)] : ip(g)), D = [g].concat(m).reduce(function(ie, q) {
6310
6310
  return ie.concat(ct(q) === Fn ? sp(e, {
6311
6311
  placement: q,
6312
6312
  boundary: u,
6313
6313
  rootBoundary: f,
6314
6314
  padding: c,
6315
6315
  flipVariations: w,
6316
- allowedAutoPlacements: b
6316
+ allowedAutoPlacements: y
6317
6317
  }) : q);
6318
6318
  }, []), I = e.rects.reference, L = e.rects.popper, U = /* @__PURE__ */ new Map(), Z = !0, Y = D[0], E = 0; E < D.length; E++) {
6319
6319
  var K = D[E], N = ct(K), W = zt(K) === qt, oe = [Re, We].indexOf(N) >= 0, ne = oe ? "width" : "height", O = Un(e, {
@@ -6334,7 +6334,7 @@ function op(t) {
6334
6334
  U.set(K, V);
6335
6335
  }
6336
6336
  if (Z)
6337
- for (var se = w ? 3 : 1, y = function(q) {
6337
+ for (var se = w ? 3 : 1, b = function(q) {
6338
6338
  var H = D.find(function(G) {
6339
6339
  var ve = U.get(G);
6340
6340
  if (ve)
@@ -6345,7 +6345,7 @@ function op(t) {
6345
6345
  if (H)
6346
6346
  return Y = H, "break";
6347
6347
  }, R = se; R > 0; R--) {
6348
- var le = y(R);
6348
+ var le = b(R);
6349
6349
  if (le === "break")
6350
6350
  break;
6351
6351
  }
@@ -6363,7 +6363,7 @@ var rp = {
6363
6363
  }
6364
6364
  };
6365
6365
  function lp(t, e, a) {
6366
- const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = ee(!1), f = ee(null), d = ee(null), h = A(() => s.value || o.value), w = A(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), b = () => {
6366
+ const { disabled: n, appendTo: s, appendToBody: o, openDirection: i } = Ae(t), r = Mt().proxy, l = a.multiselect, c = a.dropdown, u = ee(!1), f = ee(null), d = ee(null), h = A(() => s.value || o.value), w = A(() => i.value === "top" && d.value === "bottom" || i.value === "bottom" && d.value !== "top" ? "bottom" : "top"), y = () => {
6367
6367
  u.value || n.value || (u.value = !0, e.emit("open", r), h.value && De(() => {
6368
6368
  S();
6369
6369
  }));
@@ -6430,14 +6430,14 @@ function lp(t, e, a) {
6430
6430
  }), {
6431
6431
  popper: f,
6432
6432
  isOpen: u,
6433
- open: b,
6433
+ open: y,
6434
6434
  close: g,
6435
6435
  placement: w,
6436
6436
  updatePopper: S
6437
6437
  };
6438
6438
  }
6439
6439
  function up(t, e, a) {
6440
- const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, f = a.wrapper, d = a.tags, h = ee(!1), w = ee(!1), b = A(() => n.value || s.value ? -1 : 0), g = () => {
6440
+ const { searchable: n, disabled: s, clearOnBlur: o } = Ae(t), i = a.input, r = a.open, l = a.close, c = a.clearSearch, u = a.isOpen, f = a.wrapper, d = a.tags, h = ee(!1), w = ee(!1), y = A(() => n.value || s.value ? -1 : 0), g = () => {
6441
6441
  n.value && i.value.blur(), f.value.blur();
6442
6442
  }, S = () => {
6443
6443
  n.value && !s.value && i.value.focus();
@@ -6449,7 +6449,7 @@ function up(t, e, a) {
6449
6449
  }, 1);
6450
6450
  };
6451
6451
  return {
6452
- tabindex: b,
6452
+ tabindex: y,
6453
6453
  isActive: h,
6454
6454
  mouseClicked: w,
6455
6455
  blur: g,
@@ -6487,25 +6487,25 @@ function cp(t, e, a) {
6487
6487
  createTag: f,
6488
6488
  createOption: d,
6489
6489
  reverse: h
6490
- } = Ae(t), w = Mt().proxy, b = a.iv, g = a.update, S = a.deselect, _ = a.search, m = a.setPointer, D = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, U = a.multiselect, Z = a.wrapper, Y = a.tags, E = a.isOpen, K = a.open, N = a.blur, W = a.fo, oe = A(() => f.value || d.value || !1), ne = A(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), O = () => {
6490
+ } = Ae(t), w = Mt().proxy, y = a.iv, g = a.update, S = a.deselect, _ = a.search, m = a.setPointer, D = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, U = a.multiselect, Z = a.wrapper, Y = a.tags, E = a.isOpen, K = a.open, N = a.blur, W = a.fo, oe = A(() => f.value || d.value || !1), ne = A(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), O = () => {
6491
6491
  n.value === "tags" && !r.value && oe.value && i.value && !c.value && m(W.value[W.value.map((V) => V[l.value]).indexOf(_.value)]);
6492
6492
  };
6493
6493
  return {
6494
6494
  handleKeydown: (V) => {
6495
6495
  e.emit("keydown", V, w);
6496
- let se, y;
6497
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && n.value === "tags" && (se = [...U.value.querySelectorAll("[data-tags] > *")].filter((R) => R !== Y.value), y = se.findIndex((R) => R === document.activeElement)), V.key) {
6496
+ let se, b;
6497
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && n.value === "tags" && (se = [...U.value.querySelectorAll("[data-tags] > *")].filter((R) => R !== Y.value), b = se.findIndex((R) => R === document.activeElement)), V.key) {
6498
6498
  case "Backspace":
6499
- if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || b.value.length === 0)
6499
+ if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || y.value.length === 0)
6500
6500
  return;
6501
- let R = b.value.filter((le) => !le.disabled && le.remove !== !1);
6501
+ let R = y.value.filter((le) => !le.disabled && le.remove !== !1);
6502
6502
  R.length && S(R[R.length - 1]);
6503
6503
  break;
6504
6504
  case "Enter":
6505
6505
  if (V.preventDefault(), V.keyCode === 229)
6506
6506
  return;
6507
- if (y !== -1 && y !== void 0) {
6508
- g([...b.value].filter((le, ie) => ie !== y)), y === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? Y.value.querySelector("input").focus() : Z.value.focus());
6507
+ if (b !== -1 && b !== void 0) {
6508
+ g([...y.value].filter((le, ie) => ie !== b)), b === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? Y.value.querySelector("input").focus() : Z.value.focus());
6509
6509
  return;
6510
6510
  }
6511
6511
  if (ne.value.indexOf("enter") === -1 && oe.value)
@@ -6544,14 +6544,14 @@ function cp(t, e, a) {
6544
6544
  E.value || K(), L();
6545
6545
  break;
6546
6546
  case "ArrowLeft":
6547
- if (i.value && Y.value && Y.value.querySelector("input").selectionStart || V.shiftKey || n.value !== "tags" || !b.value || !b.value.length)
6547
+ if (i.value && Y.value && Y.value.querySelector("input").selectionStart || V.shiftKey || n.value !== "tags" || !y.value || !y.value.length)
6548
6548
  return;
6549
- V.preventDefault(), y === -1 ? se[se.length - 1].focus() : y > 0 && se[y - 1].focus();
6549
+ V.preventDefault(), b === -1 ? se[se.length - 1].focus() : b > 0 && se[b - 1].focus();
6550
6550
  break;
6551
6551
  case "ArrowRight":
6552
- if (y === -1 || V.shiftKey || n.value !== "tags" || !b.value || !b.value.length)
6552
+ if (b === -1 || V.shiftKey || n.value !== "tags" || !y.value || !y.value.length)
6553
6553
  return;
6554
- V.preventDefault(), se.length > y + 1 ? se[y + 1].focus() : i.value ? Y.value.querySelector("input").focus() : i.value || Z.value.focus();
6554
+ V.preventDefault(), se.length > b + 1 ? se[b + 1].focus() : i.value ? Y.value.querySelector("input").focus() : i.value || Z.value.focus();
6555
6555
  break;
6556
6556
  }
6557
6557
  },
@@ -6567,7 +6567,7 @@ function dp(t, e, a) {
6567
6567
  disabled: s,
6568
6568
  showOptions: o,
6569
6569
  breakTags: i
6570
- } = Ae(t), r = a.isOpen, l = a.isPointed, c = a.isSelected, u = a.isDisabled, f = a.isActive, d = a.canPointGroups, h = a.resolving, w = a.fo, b = a.placement, g = A(() => ({
6570
+ } = Ae(t), r = a.isOpen, l = a.isPointed, c = a.isSelected, u = a.isDisabled, f = a.isActive, d = a.canPointGroups, h = a.resolving, w = a.fo, y = a.placement, g = A(() => ({
6571
6571
  container: "multiselect",
6572
6572
  containerDisabled: "is-disabled",
6573
6573
  containerOpen: "is-open",
@@ -6627,7 +6627,7 @@ function dp(t, e, a) {
6627
6627
  classList: A(() => {
6628
6628
  const m = g.value;
6629
6629
  return {
6630
- container: [m.container].concat(s.value ? m.containerDisabled : []).concat(S.value && b.value === "top" ? m.containerOpenTop : []).concat(S.value && b.value !== "top" ? m.containerOpen : []).concat(f.value ? m.containerActive : []),
6630
+ container: [m.container].concat(s.value ? m.containerDisabled : []).concat(S.value && y.value === "top" ? m.containerOpenTop : []).concat(S.value && y.value !== "top" ? m.containerOpen : []).concat(f.value ? m.containerActive : []),
6631
6631
  wrapper: m.wrapper,
6632
6632
  spacer: m.spacer,
6633
6633
  singleLabel: m.singleLabel,
@@ -6650,8 +6650,8 @@ function dp(t, e, a) {
6650
6650
  spinner: m.spinner,
6651
6651
  inifinite: m.inifinite,
6652
6652
  inifiniteSpinner: m.inifiniteSpinner,
6653
- dropdown: [m.dropdown].concat(b.value === "top" ? m.dropdownTop : []).concat(!r.value || !o.value || !S.value ? m.dropdownHidden : []),
6654
- options: [m.options].concat(b.value === "top" ? m.optionsTop : []),
6653
+ dropdown: [m.dropdown].concat(y.value === "top" ? m.dropdownTop : []).concat(!r.value || !o.value || !S.value ? m.dropdownHidden : []),
6654
+ options: [m.options].concat(y.value === "top" ? m.optionsTop : []),
6655
6655
  group: m.group,
6656
6656
  groupLabel: (D) => {
6657
6657
  let I = [m.groupLabel];
@@ -6675,8 +6675,8 @@ function pp(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, l = a.pfo, c = a.eo, u = ee(null), f = ee(null), d = A(() => i.value < l.value.length), h = (b) => {
6679
- const { isIntersecting: g, target: S } = b[0];
6678
+ } = Ae(t), o = a.isOpen, i = a.offset, r = a.search, l = a.pfo, c = a.eo, u = ee(null), f = ee(null), d = A(() => i.value < l.value.length), h = (y) => {
6679
+ const { isIntersecting: g, target: S } = y[0];
6680
6680
  if (g) {
6681
6681
  const _ = S.offsetParent, m = _.scrollTop;
6682
6682
  i.value += n.value == -1 ? 10 : n.value, De(() => {
@@ -6709,7 +6709,7 @@ function fp(t, e, a) {
6709
6709
  groupLabel: l,
6710
6710
  aria: c,
6711
6711
  searchable: u
6712
- } = Ae(t), f = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText, b = ee(null), g = A(() => {
6712
+ } = Ae(t), f = a.pointer, d = a.iv, h = a.hasSelected, w = a.multipleLabelText, y = ee(null), g = A(() => {
6713
6713
  let N = [];
6714
6714
  return s && s.value && N.push(s.value), N.push("assist"), N.join("-");
6715
6715
  }), S = A(() => {
@@ -6741,7 +6741,7 @@ function fp(t, e, a) {
6741
6741
  return xt(() => {
6742
6742
  if (s && s.value && document && document.querySelector) {
6743
6743
  let N = document.querySelector(`[for="${s.value}"]`);
6744
- b.value = N ? N.innerText : null;
6744
+ y.value = N ? N.innerText : null;
6745
6745
  }
6746
6746
  }), {
6747
6747
  arias: L,
@@ -7775,7 +7775,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7775
7775
  return (f, d) => (p(), C("div", jp, [
7776
7776
  v("ul", Fp, [
7777
7777
  (p(!0), C(he, null, _e(f.tasks, (h) => {
7778
- var w, b;
7778
+ var w, y;
7779
7779
  return p(), C("li", {
7780
7780
  key: h.id,
7781
7781
  class: "ao-subtask"
@@ -7801,7 +7801,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7801
7801
  Fa(". "),
7802
7802
  !f.isTemplate && f.users ? (p(), P($e, {
7803
7803
  key: 1,
7804
- value: (b = h.assignee) != null && b.id ? [h.assignee.id] : [],
7804
+ value: (y = h.assignee) != null && y.id ? [h.assignee.id] : [],
7805
7805
  options: s.value,
7806
7806
  "close-on-select": !0,
7807
7807
  searchable: !0,
@@ -7980,30 +7980,30 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
7980
7980
  emits: ["edit", "remove"],
7981
7981
  setup(t, { emit: e }) {
7982
7982
  const a = t, n = A(() => {
7983
- const b = a.user;
7984
- return b ? `${b == null ? void 0 : b.firstName} ${b == null ? void 0 : b.lastName}` : null;
7983
+ const y = a.user;
7984
+ return y ? `${y == null ? void 0 : y.firstName} ${y == null ? void 0 : y.lastName}` : null;
7985
7985
  }), s = ee(null), { isEditing: o, toggleIsEditing: i, onUpdate: r, onDiscard: l } = Es(s), c = A(() => {
7986
- const b = a.editedAt && la(a.editedAt), g = la(a.createdAt), S = /* @__PURE__ */ new Date(), _ = b ?? g;
7986
+ const y = a.editedAt && la(a.editedAt), g = la(a.createdAt), S = /* @__PURE__ */ new Date(), _ = y ?? g;
7987
7987
  return _ && a3(_, S);
7988
- }), u = A(() => o.value ? "textarea" : "p"), f = l(), d = r((b) => {
7989
- e("edit", b);
7988
+ }), u = A(() => o.value ? "textarea" : "p"), f = l(), d = r((y) => {
7989
+ e("edit", y);
7990
7990
  }), h = () => {
7991
7991
  e("remove");
7992
7992
  }, w = ee(2);
7993
7993
  return Di(() => {
7994
7994
  De(() => {
7995
- var b;
7995
+ var y;
7996
7996
  if (!o.value) {
7997
- const g = (b = s.value) == null ? void 0 : b.getClientRects().length;
7997
+ const g = (y = s.value) == null ? void 0 : y.getClientRects().length;
7998
7998
  w.value = g || 2;
7999
7999
  }
8000
8000
  });
8001
- }), (b, g) => {
8001
+ }), (y, g) => {
8002
8002
  var S;
8003
8003
  return p(), C("li", nf, [
8004
8004
  n.value ? (p(), P(Je, {
8005
8005
  key: 0,
8006
- "avatar-url": (S = b.user) == null ? void 0 : S.avatarUrl,
8006
+ "avatar-url": (S = y.user) == null ? void 0 : S.avatarUrl,
8007
8007
  "user-name": n.value,
8008
8008
  class: "ao-comment__avatar"
8009
8009
  }, null, 8, ["avatar-url", "user-name"])) : T("", !0),
@@ -8014,7 +8014,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8014
8014
  ref_key: "commentContent",
8015
8015
  ref: s,
8016
8016
  class: "ao-comment__content",
8017
- value: J(o) ? b.content : null,
8017
+ value: J(o) ? y.content : null,
8018
8018
  rows: J(o) ? w.value : null,
8019
8019
  onKeyup: [
8020
8020
  dt(J(f), ["esc"]),
@@ -8022,13 +8022,13 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8022
8022
  ]
8023
8023
  }, {
8024
8024
  default: z(() => [
8025
- Fa(Q(b.content), 1)
8025
+ Fa(Q(y.content), 1)
8026
8026
  ]),
8027
8027
  _: 1
8028
8028
  }, 40, ["value", "rows", "onKeyup"]))
8029
8029
  ])
8030
8030
  ]),
8031
- b.isEditable ? (p(), C("div", lf, [
8031
+ y.isEditable ? (p(), C("div", lf, [
8032
8032
  J(o) ? (p(), C(he, { key: 0 }, [
8033
8033
  M(ue, {
8034
8034
  "icon-name": "CloseRounded",
@@ -8047,14 +8047,14 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8047
8047
  }, null, 8, ["onClick"])
8048
8048
  ], 64)) : (p(), C(he, { key: 1 }, [
8049
8049
  M(ue, {
8050
- label: b.$t("activity.comment.delete"),
8050
+ label: y.$t("activity.comment.delete"),
8051
8051
  size: "sm",
8052
8052
  variant: "ghost",
8053
8053
  color: "neutral",
8054
8054
  onClick: h
8055
8055
  }, null, 8, ["label"]),
8056
8056
  M(ue, {
8057
- label: b.$t("activity.comment.edit"),
8057
+ label: y.$t("activity.comment.edit"),
8058
8058
  size: "sm",
8059
8059
  variant: "ghost",
8060
8060
  color: "neutral",
@@ -8149,7 +8149,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
8149
8149
  "edited-at": w.updatedAt,
8150
8150
  "is-editable": w.author.id === f.userId,
8151
8151
  class: "ao-comment",
8152
- onEdit: (b) => c(w.id, b),
8152
+ onEdit: (y) => c(w.id, y),
8153
8153
  onRemove: () => u(w.id)
8154
8154
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
8155
8155
  ])) : T("", !0)
@@ -8222,200 +8222,200 @@ const wn = /* @__PURE__ */ x({
8222
8222
  emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
8223
8223
  setup(t, { emit: e }) {
8224
8224
  const a = t, n = A(() => {
8225
- var y;
8226
- return a.isEditable === !0 ? !0 : a.userId && a.isEditable === "only-own" ? a.userId === ((y = a.activity.assignee) == null ? void 0 : y.id) : !1;
8227
- }), s = (y) => {
8225
+ var b;
8226
+ return a.isEditable === !0 ? !0 : a.userId && a.isEditable === "only-own" ? a.userId === ((b = a.activity.assignee) == null ? void 0 : b.id) : !1;
8227
+ }), s = (b) => {
8228
8228
  e("update:activity", {
8229
8229
  id: a.activity.id,
8230
- name: y
8230
+ name: b
8231
8231
  });
8232
8232
  }, o = A({
8233
8233
  get() {
8234
8234
  return a.activity.description ?? "";
8235
8235
  },
8236
- set(y) {
8237
- e("update:activity", { id: a.activity.id, description: y });
8236
+ set(b) {
8237
+ e("update:activity", { id: a.activity.id, description: b });
8238
8238
  }
8239
8239
  }), i = A({
8240
8240
  get() {
8241
8241
  return a.activity.estimation ?? 0;
8242
8242
  },
8243
- set(y) {
8244
- e("update:activity", { id: a.activity.id, estimation: y });
8243
+ set(b) {
8244
+ e("update:activity", { id: a.activity.id, estimation: b });
8245
8245
  }
8246
8246
  }), r = A({
8247
8247
  get() {
8248
8248
  return a.activity.important ?? !1;
8249
8249
  },
8250
- set(y) {
8251
- e("update:activity", { id: a.activity.id, important: y });
8250
+ set(b) {
8251
+ e("update:activity", { id: a.activity.id, important: b });
8252
8252
  }
8253
8253
  }), l = A({
8254
8254
  get() {
8255
8255
  return a.activity.private ?? !1;
8256
8256
  },
8257
- set(y) {
8258
- e("update:activity", { id: a.activity.id, private: y });
8257
+ set(b) {
8258
+ e("update:activity", { id: a.activity.id, private: b });
8259
8259
  }
8260
8260
  }), c = A({
8261
8261
  get() {
8262
8262
  return a.activity.deadline;
8263
8263
  },
8264
- set(y) {
8265
- e("update:activity", { id: a.activity.id, deadline: y });
8264
+ set(b) {
8265
+ e("update:activity", { id: a.activity.id, deadline: b });
8266
8266
  }
8267
8267
  }), u = A(() => {
8268
- var y;
8269
- return (y = a.activityTypes) == null ? void 0 : y.map((R) => ({
8268
+ var b;
8269
+ return (b = a.activityTypes) == null ? void 0 : b.map((R) => ({
8270
8270
  label: R.name,
8271
8271
  value: R.id
8272
8272
  }));
8273
8273
  }), f = A({
8274
8274
  get() {
8275
- var y;
8276
- return (y = a.activity.type) == null ? void 0 : y.id;
8275
+ var b;
8276
+ return (b = a.activity.type) == null ? void 0 : b.id;
8277
8277
  },
8278
- set(y) {
8279
- e("update:activity", { id: a.activity.id, typeId: y });
8278
+ set(b) {
8279
+ e("update:activity", { id: a.activity.id, typeId: b });
8280
8280
  }
8281
- }), d = A(() => a.templateActivities.filter((y) => y.id !== a.activity.id).map((y) => ({
8282
- label: y.name,
8283
- value: y.id
8281
+ }), d = A(() => a.templateActivities.filter((b) => b.id !== a.activity.id).map((b) => ({
8282
+ label: b.name,
8283
+ value: b.id
8284
8284
  }))), h = A({
8285
8285
  get() {
8286
- var y;
8287
- return (y = a.activity.dependingOn) == null ? void 0 : y.map((R) => R.id);
8286
+ var b;
8287
+ return (b = a.activity.dependingOn) == null ? void 0 : b.map((R) => R.id);
8288
8288
  },
8289
- set(y) {
8290
- y && e("update:activity", {
8289
+ set(b) {
8290
+ b && e("update:activity", {
8291
8291
  id: a.activity.id,
8292
- dependingOn: y
8292
+ dependingOn: b
8293
8293
  });
8294
8294
  }
8295
- }), w = A(() => d.value.map((y) => {
8295
+ }), w = A(() => d.value.map((b) => {
8296
8296
  var R;
8297
8297
  return {
8298
- ...y,
8299
- disabled: (R = a.activity.blocking) == null ? void 0 : R.some((le) => le.id === y.value)
8298
+ ...b,
8299
+ disabled: (R = a.activity.blocking) == null ? void 0 : R.some((le) => le.id === b.value)
8300
8300
  };
8301
- })), b = A({
8301
+ })), y = A({
8302
8302
  get() {
8303
- var y;
8304
- return (y = a.activity.blocking) == null ? void 0 : y.map((R) => R.id);
8303
+ var b;
8304
+ return (b = a.activity.blocking) == null ? void 0 : b.map((R) => R.id);
8305
8305
  },
8306
- set(y) {
8307
- y && e("update:activity", {
8306
+ set(b) {
8307
+ b && e("update:activity", {
8308
8308
  id: a.activity.id,
8309
- blocking: y
8309
+ blocking: b
8310
8310
  });
8311
8311
  }
8312
- }), g = A(() => d.value.map((y) => {
8312
+ }), g = A(() => d.value.map((b) => {
8313
8313
  var R;
8314
8314
  return {
8315
- ...y,
8315
+ ...b,
8316
8316
  disabled: (R = a.activity.dependingOn) == null ? void 0 : R.some(
8317
- (le) => le.id === y.value
8317
+ (le) => le.id === b.value
8318
8318
  )
8319
8319
  };
8320
- })), S = (y) => {
8321
- e("addSubtask", y);
8322
- }, _ = (y) => {
8323
- e("updateSubtask", y);
8324
- }, m = (y) => {
8325
- e("deleteSubtask", y);
8320
+ })), S = (b) => {
8321
+ e("addSubtask", b);
8322
+ }, _ = (b) => {
8323
+ e("updateSubtask", b);
8324
+ }, m = (b) => {
8325
+ e("deleteSubtask", b);
8326
8326
  };
8327
8327
  function D() {
8328
8328
  a.userId ? U.value = [a.userId] : console.error("Failed assigning to self: userId is missing");
8329
8329
  }
8330
- function I(y) {
8331
- U.value = [y];
8330
+ function I(b) {
8331
+ U.value = [b];
8332
8332
  }
8333
8333
  const L = A(() => {
8334
- var y;
8335
- return ((y = a.users) == null ? void 0 : y.map((R) => ({
8334
+ var b;
8335
+ return ((b = a.users) == null ? void 0 : b.map((R) => ({
8336
8336
  label: `${R.firstName} ${R.lastName}`,
8337
8337
  value: R.id,
8338
8338
  avatar: R.avatarUrl
8339
8339
  }))) || [];
8340
8340
  }), U = A({
8341
8341
  get() {
8342
- var y, R;
8343
- return (y = a.activity.assignee) != null && y.id ? [(R = a.activity.assignee) == null ? void 0 : R.id] : [];
8342
+ var b, R;
8343
+ return (b = a.activity.assignee) != null && b.id ? [(R = a.activity.assignee) == null ? void 0 : R.id] : [];
8344
8344
  },
8345
- set(y) {
8345
+ set(b) {
8346
8346
  e("update:activity", {
8347
8347
  id: a.activity.id,
8348
- assigneeId: y[0] ?? null
8348
+ assigneeId: b[0] ?? null
8349
8349
  // `undefined` is not a value for GraphQL, we have to use `null` to reset a value
8350
8350
  });
8351
8351
  }
8352
- }), Z = (y) => {
8352
+ }), Z = (b) => {
8353
8353
  e("addFiles", {
8354
8354
  activityId: a.activity.id,
8355
- files: y
8355
+ files: b
8356
8356
  });
8357
- }, Y = (y) => {
8357
+ }, Y = (b) => {
8358
8358
  e("removeFile", {
8359
8359
  activityId: a.activity.id,
8360
- file: y
8360
+ file: b
8361
8361
  });
8362
- }, E = A(() => a.projects.map((y) => ({
8363
- value: y.id,
8364
- label: y.name
8362
+ }, E = A(() => a.projects.map((b) => ({
8363
+ value: b.id,
8364
+ label: b.name
8365
8365
  }))), K = A(() => {
8366
8366
  var R, le, ie;
8367
- const y = (ie = (le = (R = a.activity) == null ? void 0 : R.project) == null ? void 0 : le.phases) == null ? void 0 : ie.reduce(
8367
+ const b = (ie = (le = (R = a.activity) == null ? void 0 : R.project) == null ? void 0 : le.phases) == null ? void 0 : ie.reduce(
8368
8368
  (q, H) => [...q, ...H.milestones],
8369
8369
  []
8370
8370
  );
8371
- return y == null ? void 0 : y.map((q) => ({
8371
+ return b == null ? void 0 : b.map((q) => ({
8372
8372
  value: q.id,
8373
8373
  label: q.name
8374
8374
  }));
8375
- }), N = (y) => {
8375
+ }), N = (b) => {
8376
8376
  a.activity && e("update:activity", {
8377
8377
  id: a.activity.id,
8378
- projectId: y
8378
+ projectId: b
8379
8379
  });
8380
- }, W = (y) => {
8380
+ }, W = (b) => {
8381
8381
  a.activity && e("update:activity", {
8382
8382
  id: a.activity.id,
8383
- milestoneId: y
8383
+ milestoneId: b
8384
8384
  });
8385
8385
  }, oe = A(() => {
8386
- var y;
8387
- return (y = a.statuses) == null ? void 0 : y.map((R) => ({
8386
+ var b;
8387
+ return (b = a.statuses) == null ? void 0 : b.map((R) => ({
8388
8388
  value: R.id,
8389
8389
  label: R.name
8390
8390
  }));
8391
- }), ne = (y) => {
8391
+ }), ne = (b) => {
8392
8392
  e("update:activity", {
8393
8393
  id: a.activity.id,
8394
- statusId: y
8394
+ statusId: b
8395
8395
  });
8396
- }, O = (y) => {
8396
+ }, O = (b) => {
8397
8397
  e("addComment", {
8398
- ...y,
8398
+ ...b,
8399
8399
  activityId: a.activity.id
8400
8400
  });
8401
- }, k = (y) => {
8402
- e("updateComment", y);
8403
- }, F = (y) => {
8404
- e("removeComment", y);
8401
+ }, k = (b) => {
8402
+ e("updateComment", b);
8403
+ }, F = (b) => {
8404
+ e("removeComment", b);
8405
8405
  }, V = A(() => {
8406
- var y, R;
8407
- return ((y = a.activity.createdBy) == null ? void 0 : y.firstName) && ((R = a.activity.createdBy) == null ? void 0 : R.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
8406
+ var b, R;
8407
+ return ((b = a.activity.createdBy) == null ? void 0 : b.firstName) && ((R = a.activity.createdBy) == null ? void 0 : R.lastName) && `${a.activity.createdBy.firstName} ${a.activity.createdBy.lastName}`;
8408
8408
  });
8409
8409
  function se() {
8410
- const y = window.location.origin, R = a.activity.slug, le = `${y}/activity-feed/slug/${R}`;
8410
+ const b = window.location.origin, R = a.activity.slug, le = `${b}/activity-feed/slug/${R}`;
8411
8411
  navigator.clipboard.writeText(le).then(() => {
8412
8412
  console.log(`Link copied to clipboard: ${le}`), e("toast", "Link copied to clipboard!", "success");
8413
8413
  }).catch(() => {
8414
8414
  console.log("Failed to copy link"), e("toast", "Failed to copy link.", "error");
8415
8415
  });
8416
8416
  }
8417
- return (y, R) => (p(), P(In, {
8418
- onClose: R[10] || (R[10] = (le) => y.$emit("close"))
8417
+ return (b, R) => (p(), P(In, {
8418
+ onClose: R[10] || (R[10] = (le) => b.$emit("close"))
8419
8419
  }, {
8420
8420
  default: z(() => {
8421
8421
  var le, ie, q;
@@ -8423,28 +8423,28 @@ const wn = /* @__PURE__ */ x({
8423
8423
  v("div", mf, [
8424
8424
  v("div", Cf, [
8425
8425
  v("div", gf, [
8426
- y.activity.slug ? (p(), P(qa, {
8426
+ b.activity.slug ? (p(), P(qa, {
8427
8427
  key: 0,
8428
- label: y.activity.slug,
8428
+ label: b.activity.slug,
8429
8429
  clickable: !0,
8430
8430
  variant: "solid",
8431
8431
  color: "primary",
8432
8432
  class: "ao-activity__ao-tag",
8433
8433
  onClick: se
8434
8434
  }, null, 8, ["label"])) : T("", !0),
8435
- y.breadcrumbs ? (p(), C("div", _f, Q(y.breadcrumbs), 1)) : T("", !0),
8435
+ b.breadcrumbs ? (p(), C("div", _f, Q(b.breadcrumbs), 1)) : T("", !0),
8436
8436
  M(ye, {
8437
- title: y.activity.name || "",
8437
+ title: b.activity.name || "",
8438
8438
  level: 4,
8439
8439
  "is-editable": n.value,
8440
8440
  "onUpdate:title": s
8441
8441
  }, null, 8, ["title", "is-editable"]),
8442
8442
  v("div", yf, [
8443
8443
  E.value ? (p(), C("label", bf, [
8444
- v("span", wf, Q(y.$t("activity.project.label")), 1),
8444
+ v("span", wf, Q(b.$t("activity.project.label")), 1),
8445
8445
  M($e, {
8446
8446
  options: E.value,
8447
- value: (le = y.activity.project) == null ? void 0 : le.id,
8447
+ value: (le = b.activity.project) == null ? void 0 : le.id,
8448
8448
  searchable: !0,
8449
8449
  disabled: !n.value,
8450
8450
  caret: n.value,
@@ -8452,10 +8452,10 @@ const wn = /* @__PURE__ */ x({
8452
8452
  }, null, 8, ["options", "value", "disabled", "caret"])
8453
8453
  ])) : T("", !0),
8454
8454
  K.value ? (p(), C("label", $f, [
8455
- v("span", kf, Q(y.$t("activity.milestone.label")), 1),
8455
+ v("span", kf, Q(b.$t("activity.milestone.label")), 1),
8456
8456
  M($e, {
8457
8457
  options: K.value,
8458
- value: (ie = y.activity.milestone) == null ? void 0 : ie.id,
8458
+ value: (ie = b.activity.milestone) == null ? void 0 : ie.id,
8459
8459
  searchable: !0,
8460
8460
  disabled: !n.value,
8461
8461
  caret: n.value,
@@ -8463,20 +8463,20 @@ const wn = /* @__PURE__ */ x({
8463
8463
  }, null, 8, ["options", "value", "disabled", "caret"])
8464
8464
  ])) : T("", !0)
8465
8465
  ]),
8466
- te(y.$slots, "header")
8466
+ te(b.$slots, "header")
8467
8467
  ]),
8468
8468
  v("div", Sf, [
8469
8469
  v("fieldset", Af, [
8470
8470
  v("div", Mf, [
8471
8471
  M(af, {
8472
- attachments: y.activity.attachments,
8473
- "is-editable": y.attachmentEnabled && n.value && y.isTemplate !== !0 && !!y.userId,
8472
+ attachments: b.activity.attachments,
8473
+ "is-editable": b.attachmentEnabled && n.value && b.isTemplate !== !0 && !!b.userId,
8474
8474
  onAdd: Z,
8475
8475
  onRemove: Y
8476
8476
  }, {
8477
8477
  default: z(() => [
8478
8478
  v("label", Tf, [
8479
- v("span", Of, Q(y.$t("activity.description.label")), 1),
8479
+ v("span", Of, Q(b.$t("activity.description.label")), 1),
8480
8480
  Ke(v("textarea", {
8481
8481
  "onUpdate:modelValue": R[0] || (R[0] = (H) => o.value = H),
8482
8482
  readonly: !n.value,
@@ -8500,7 +8500,7 @@ const wn = /* @__PURE__ */ x({
8500
8500
  ]),
8501
8501
  v("div", If, [
8502
8502
  v("label", Lf, [
8503
- v("span", Hf, Q(y.$t("activity.estimation.label")), 1),
8503
+ v("span", Hf, Q(b.$t("activity.estimation.label")), 1),
8504
8504
  Ke(v("input", {
8505
8505
  "onUpdate:modelValue": R[1] || (R[1] = (H) => i.value = H),
8506
8506
  readonly: !n.value,
@@ -8526,36 +8526,36 @@ const wn = /* @__PURE__ */ x({
8526
8526
  M(pe, { name: "SelectCheckBox" }),
8527
8527
  M(ye, {
8528
8528
  level: 4,
8529
- title: y.$t("activity.tasks.title")
8529
+ title: b.$t("activity.tasks.title")
8530
8530
  }, null, 8, ["title"])
8531
8531
  ]),
8532
8532
  v("div", Bf, [
8533
8533
  M(Wp, {
8534
8534
  class: "ao-activity-details__tasks ao-field__row",
8535
- tasks: y.activity.tasks || [],
8536
- "activity-id": y.activity.id,
8537
- users: y.users,
8538
- "is-checkable": y.isTaskCheckable,
8535
+ tasks: b.activity.tasks || [],
8536
+ "activity-id": b.activity.id,
8537
+ users: b.users,
8538
+ "is-checkable": b.isTaskCheckable,
8539
8539
  "is-editable": n.value,
8540
- "is-template": y.isTemplate,
8540
+ "is-template": b.isTemplate,
8541
8541
  onAdd: S,
8542
8542
  onUpdate: _,
8543
8543
  onDelete: m
8544
8544
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
8545
8545
  ])
8546
8546
  ]),
8547
- y.isTemplate !== !0 && y.userId ? (p(), C("div", Rf, [
8547
+ b.isTemplate !== !0 && b.userId ? (p(), C("div", Rf, [
8548
8548
  v("div", Nf, [
8549
8549
  M(pe, { name: "ChatOutline" }),
8550
8550
  M(ye, {
8551
8551
  level: 4,
8552
- title: y.$t("activity.comments.title")
8552
+ title: b.$t("activity.comments.title")
8553
8553
  }, null, 8, ["title"])
8554
8554
  ]),
8555
8555
  M(hf, {
8556
- comments: y.activity.comments,
8557
- users: y.users,
8558
- "user-id": y.userId,
8556
+ comments: b.activity.comments,
8557
+ users: b.users,
8558
+ "user-id": b.userId,
8559
8559
  onCreateComment: O,
8560
8560
  onUpdateComment: k,
8561
8561
  onRemoveComment: F
@@ -8567,16 +8567,16 @@ const wn = /* @__PURE__ */ x({
8567
8567
  v("div", Ff, [
8568
8568
  M(pe, {
8569
8569
  name: "CloseRounded",
8570
- onClick: R[2] || (R[2] = (H) => y.$emit("close"))
8570
+ onClick: R[2] || (R[2] = (H) => b.$emit("close"))
8571
8571
  })
8572
8572
  ]),
8573
8573
  oe.value ? (p(), C("div", Uf, [
8574
8574
  v("label", Zf, [
8575
- v("span", Wf, Q(y.$t("activity.status.label")), 1),
8575
+ v("span", Wf, Q(b.$t("activity.status.label")), 1),
8576
8576
  M($e, {
8577
8577
  class: "ao-activity-details__multiselect",
8578
8578
  options: oe.value,
8579
- value: (q = y.activity.status) == null ? void 0 : q.id,
8579
+ value: (q = b.activity.status) == null ? void 0 : q.id,
8580
8580
  "can-clear": !1,
8581
8581
  "can-deselect": !1,
8582
8582
  disabled: !n.value,
@@ -8588,9 +8588,9 @@ const wn = /* @__PURE__ */ x({
8588
8588
  v("div", qf, [
8589
8589
  v("div", zf, [
8590
8590
  v("div", xf, [
8591
- v("span", Yf, Q(y.$t("activity.assignee.label")), 1),
8591
+ v("span", Yf, Q(b.$t("activity.assignee.label")), 1),
8592
8592
  M(ue, {
8593
- label: y.$t("activity.assignee.toMe"),
8593
+ label: b.$t("activity.assignee.toMe"),
8594
8594
  type: "button",
8595
8595
  color: "primary",
8596
8596
  variant: "solid",
@@ -8605,7 +8605,7 @@ const wn = /* @__PURE__ */ x({
8605
8605
  options: L.value,
8606
8606
  "close-on-select": !0,
8607
8607
  searchable: !0,
8608
- placeholder: y.$t("activity.filters.assignee.placeholder"),
8608
+ placeholder: b.$t("activity.filters.assignee.placeholder"),
8609
8609
  mode: "tags",
8610
8610
  disabled: !n.value,
8611
8611
  caret: n.value,
@@ -8627,9 +8627,9 @@ const wn = /* @__PURE__ */ x({
8627
8627
  ])
8628
8628
  ]),
8629
8629
  v("div", Kf, [
8630
- y.isTemplate !== !0 && y.userId ? (p(), C("div", Gf, [
8630
+ b.isTemplate !== !0 && b.userId ? (p(), C("div", Gf, [
8631
8631
  v("label", Xf, [
8632
- v("span", Qf, Q(y.$t("activity.deadline.label")), 1),
8632
+ v("span", Qf, Q(b.$t("activity.deadline.label")), 1),
8633
8633
  Ke(v("input", {
8634
8634
  "onUpdate:modelValue": R[4] || (R[4] = (H) => c.value = H),
8635
8635
  readonly: !n.value,
@@ -8656,20 +8656,20 @@ const wn = /* @__PURE__ */ x({
8656
8656
  mode: "single",
8657
8657
  searchable: !0,
8658
8658
  options: u.value,
8659
- placeholder: y.$t("activity.filters.type.placeholder"),
8659
+ placeholder: b.$t("activity.filters.type.placeholder"),
8660
8660
  disabled: !n.value,
8661
8661
  caret: n.value
8662
8662
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
8663
8663
  ])
8664
8664
  ])) : T("", !0),
8665
- te(y.$slots, "default", { activity: y.activity })
8665
+ te(b.$slots, "default", { activity: b.activity })
8666
8666
  ]),
8667
8667
  v("div", nv, [
8668
8668
  M(wn, {
8669
8669
  modelValue: r.value,
8670
8670
  "onUpdate:modelValue": R[6] || (R[6] = (H) => r.value = H),
8671
8671
  modelModifiers: { lazy: !0 },
8672
- label: y.$t("activity.important.label"),
8672
+ label: b.$t("activity.important.label"),
8673
8673
  disabled: !n.value,
8674
8674
  variant: "ghost",
8675
8675
  "icon-name": "FlagRounded",
@@ -8679,12 +8679,12 @@ const wn = /* @__PURE__ */ x({
8679
8679
  size: "sm"
8680
8680
  }, null, 8, ["modelValue", "label", "disabled"])
8681
8681
  ]),
8682
- y.isTemplate !== !0 && y.activity.createdBy.id === y.userId ? (p(), C("div", sv, [
8682
+ b.isTemplate !== !0 && b.activity.createdBy.id === b.userId ? (p(), C("div", sv, [
8683
8683
  M(wn, {
8684
8684
  modelValue: l.value,
8685
8685
  "onUpdate:modelValue": R[7] || (R[7] = (H) => l.value = H),
8686
8686
  modelModifiers: { lazy: !0 },
8687
- label: y.$t("activity.private.label"),
8687
+ label: b.$t("activity.private.label"),
8688
8688
  disabled: !n.value,
8689
8689
  variant: "ghost",
8690
8690
  "icon-name": "Lock",
@@ -8698,13 +8698,13 @@ const wn = /* @__PURE__ */ x({
8698
8698
  M(pe, { name: "FlowsheetOutlineRounded" }),
8699
8699
  M(ye, {
8700
8700
  level: 4,
8701
- title: y.$t("activity.dependencies.title")
8701
+ title: b.$t("activity.dependencies.title")
8702
8702
  }, null, 8, ["title"])
8703
8703
  ]),
8704
8704
  v("div", rv, [
8705
8705
  v("div", lv, [
8706
8706
  v("label", uv, [
8707
- v("span", cv, Q(y.$t("activity.dependingOn.label")), 1),
8707
+ v("span", cv, Q(b.$t("activity.dependingOn.label")), 1),
8708
8708
  M($e, {
8709
8709
  modelValue: h.value,
8710
8710
  "onUpdate:modelValue": R[8] || (R[8] = (H) => h.value = H),
@@ -8720,10 +8720,10 @@ const wn = /* @__PURE__ */ x({
8720
8720
  ]),
8721
8721
  v("div", dv, [
8722
8722
  v("label", pv, [
8723
- v("span", fv, Q(y.$t("activity.blocking.label")), 1),
8723
+ v("span", fv, Q(b.$t("activity.blocking.label")), 1),
8724
8724
  M($e, {
8725
- modelValue: b.value,
8726
- "onUpdate:modelValue": R[9] || (R[9] = (H) => b.value = H),
8725
+ modelValue: y.value,
8726
+ "onUpdate:modelValue": R[9] || (R[9] = (H) => y.value = H),
8727
8727
  class: "ao-activity-details__multiselect",
8728
8728
  mode: "tags",
8729
8729
  "close-on-select": !1,
@@ -8736,7 +8736,7 @@ const wn = /* @__PURE__ */ x({
8736
8736
  ])
8737
8737
  ])
8738
8738
  ]),
8739
- y.isTemplate !== !0 && V.value ? (p(), C("div", vv, [
8739
+ b.isTemplate !== !0 && V.value ? (p(), C("div", vv, [
8740
8740
  v("div", hv, [
8741
8741
  M(Je, {
8742
8742
  "user-name": V.value,
@@ -8819,7 +8819,7 @@ const mv = /* @__PURE__ */ x({
8819
8819
  set(S) {
8820
8820
  e("update:rule", { ...a.rule, duration: S });
8821
8821
  }
8822
- }), b = A({
8822
+ }), y = A({
8823
8823
  get() {
8824
8824
  return a.rule.durationUnit;
8825
8825
  },
@@ -8862,8 +8862,8 @@ const mv = /* @__PURE__ */ x({
8862
8862
  ]
8863
8863
  ]),
8864
8864
  M(J(lt), {
8865
- modelValue: b.value,
8866
- "onUpdate:modelValue": _[5] || (_[5] = (m) => b.value = m),
8865
+ modelValue: y.value,
8866
+ "onUpdate:modelValue": _[5] || (_[5] = (m) => y.value = m),
8867
8867
  options: g.value
8868
8868
  }, null, 8, ["modelValue", "options"]),
8869
8869
  M(ue, {
@@ -8996,8 +8996,8 @@ const yv = {
8996
8996
  const l = A(() => {
8997
8997
  var k, F;
8998
8998
  return ((F = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((V, se) => {
8999
- const y = se.milestones || [];
9000
- return [...V, ...y];
8999
+ const b = se.milestones || [];
9000
+ return [...V, ...b];
9001
9001
  }, [])) || [];
9002
9002
  }), c = A(() => {
9003
9003
  var k, F;
@@ -9047,7 +9047,7 @@ const yv = {
9047
9047
  id: k
9048
9048
  }
9049
9049
  });
9050
- }, b = (k, F) => {
9050
+ }, y = (k, F) => {
9051
9051
  e("updateItem", {
9052
9052
  templateId: a.templateId,
9053
9053
  id: k,
@@ -9175,7 +9175,7 @@ const yv = {
9175
9175
  e("removeFile", k);
9176
9176
  };
9177
9177
  return (k, F) => {
9178
- var V, se, y, R, le, ie;
9178
+ var V, se, b, R, le, ie;
9179
9179
  return s.value ? (p(), C("div", yv, [
9180
9180
  M(Ga, {
9181
9181
  "can-go-back": !0,
@@ -9223,7 +9223,7 @@ const yv = {
9223
9223
  params: { templateId: k.templateId, phaseId: q.id }
9224
9224
  }),
9225
9225
  "onUpdate:title": (G) => {
9226
- b(q.id, G);
9226
+ y(q.id, G);
9227
9227
  },
9228
9228
  onRemove: () => w(q.id)
9229
9229
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
@@ -9259,7 +9259,7 @@ const yv = {
9259
9259
  "template-id": k.templateId,
9260
9260
  "phase-id": (se = i.value) == null ? void 0 : se.id,
9261
9261
  milestone: r.value,
9262
- "activity-id": (y = u.value) == null ? void 0 : y.id,
9262
+ "activity-id": (b = u.value) == null ? void 0 : b.id,
9263
9263
  onAddActivity: D,
9264
9264
  onUpdateActivity: L,
9265
9265
  onRemoveActivity: I
@@ -9396,7 +9396,7 @@ const Iv = { class: "ao-card-project-phase__header" }, Lv = { class: "ao-card-pr
9396
9396
  const c = (u = a.milestones) == null ? void 0 : u.reduce(
9397
9397
  (f, d) => {
9398
9398
  var h;
9399
- return f + ((h = d.activities) == null ? void 0 : h.reduce((w, b) => w + (b.estimation || 0), 0));
9399
+ return f + ((h = d.activities) == null ? void 0 : h.reduce((w, y) => w + (y.estimation || 0), 0));
9400
9400
  },
9401
9401
  0
9402
9402
  );
@@ -9715,26 +9715,26 @@ const Jv = {
9715
9715
  "item-key": "id",
9716
9716
  group: "kanban"
9717
9717
  }, d.$attrs, { onChange: f }), {
9718
- item: z(({ element: b }) => {
9718
+ item: z(({ element: y }) => {
9719
9719
  var g;
9720
9720
  return [
9721
9721
  M(Qv, {
9722
- id: b.id,
9723
- name: b.name,
9724
- color: b.color,
9725
- activities: b.activities,
9726
- deadline: b.deadline,
9722
+ id: y.id,
9723
+ name: y.name,
9724
+ color: y.color,
9725
+ activities: y.activities,
9726
+ deadline: y.deadline,
9727
9727
  "is-editable": !d.readonly && d.isEditable,
9728
9728
  "is-draggable": !d.readonly && d.isEditable,
9729
9729
  "closed-status": d.closedStatus,
9730
- "is-selected": b.id === ((g = d.$route.params) == null ? void 0 : g.milestoneId),
9731
- assignee: b.assignee,
9732
- important: b.important,
9730
+ "is-selected": y.id === ((g = d.$route.params) == null ? void 0 : g.milestoneId),
9731
+ assignee: y.assignee,
9732
+ important: y.important,
9733
9733
  readonly: d.readonly,
9734
9734
  class: X(["ao-project-phase__milestone"]),
9735
9735
  onClick: (S) => !d.readonly && d.$router.push({
9736
9736
  name: J(Fe).milestone,
9737
- params: { phaseId: d.phase.id, milestoneId: b.id }
9737
+ params: { phaseId: d.phase.id, milestoneId: y.id }
9738
9738
  }),
9739
9739
  onUpdateMilestone: l,
9740
9740
  onArchiveMilestone: c
@@ -9982,7 +9982,7 @@ const ci = /* @__PURE__ */ j(m9, [["render", g9], ["__scopeId", "data-v-cbe33527
9982
9982
  e("archiveActivity", E);
9983
9983
  }, w = (E) => {
9984
9984
  e("unarchiveActivity", E);
9985
- }, b = (E) => {
9985
+ }, y = (E) => {
9986
9986
  e("addSubtask", E);
9987
9987
  }, g = (E) => {
9988
9988
  e("updateSubtask", E);
@@ -10086,7 +10086,7 @@ const ci = /* @__PURE__ */ j(m9, [["render", g9], ["__scopeId", "data-v-cbe33527
10086
10086
  "is-editable": E.isEditable,
10087
10087
  "attachment-enabled": E.attachmentEnabled,
10088
10088
  "onUpdate:activity": d,
10089
- onAddSubtask: b,
10089
+ onAddSubtask: y,
10090
10090
  onUpdateSubtask: g,
10091
10091
  onDeleteSubtask: S,
10092
10092
  onAddFiles: m,
@@ -10185,8 +10185,8 @@ const w9 = { class: "ao-card-feed__header" }, $9 = {
10185
10185
  var g;
10186
10186
  const h = a.assignee ? [a.assignee] : [];
10187
10187
  console.log(JSON.stringify(a.tasks, null, 2));
10188
- const w = ((g = a.tasks) == null ? void 0 : g.map((S) => S.assignee).filter((S) => S !== void 0)) || [];
10189
- return [.../* @__PURE__ */ new Set([...h, ...w])];
10188
+ const w = ((g = a.tasks) == null ? void 0 : g.map((S) => S == null ? void 0 : S.assignee).filter((S) => S !== void 0)) || [], y = [.../* @__PURE__ */ new Set([...h, ...w])];
10189
+ return console.log("*********************************"), console.log(JSON.stringify(y, null, 2)), y;
10190
10190
  }), l = A(() => Tn(a.deadline)), c = (h) => {
10191
10191
  e("removeAssignee", h);
10192
10192
  }, u = A(() => {
@@ -10257,15 +10257,15 @@ const w9 = { class: "ao-card-feed__header" }, $9 = {
10257
10257
  v("div", I9, [
10258
10258
  v("div", L9, [
10259
10259
  v("ul", H9, [
10260
- (p(!0), C(he, null, _e(r.value, (b) => (p(), C(he, {
10261
- key: b.id
10260
+ (p(!0), C(he, null, _e(r.value, (y) => (p(), C(he, {
10261
+ key: y.id
10262
10262
  }, [
10263
- b ? (p(), C("li", D9, [
10263
+ y ? (p(), C("li", D9, [
10264
10264
  M(Je, {
10265
- "user-name": J(zs)(b),
10266
- "avatar-url": b.avatarUrl,
10265
+ "user-name": J(zs)(y),
10266
+ "avatar-url": y.avatarUrl,
10267
10267
  "is-closable": !0,
10268
- onClose: () => c(b.id)
10268
+ onClose: () => c(y.id)
10269
10269
  }, null, 8, ["user-name", "avatar-url", "onClose"])
10270
10270
  ])) : T("", !0)
10271
10271
  ], 64))), 128))
@@ -10703,8 +10703,8 @@ var Xn = x({
10703
10703
  const { clientX: e, clientY: a } = t, { top: n, left: s, width: o, height: i } = this.suckerCanvas.getBoundingClientRect(), r = e - s, l = a - n, u = this.suckerCanvas.getContext("2d").getImageData(Math.min(r, o - 1), Math.min(l, i - 1), 1, 1);
10704
10704
  let [f, d, h, w] = u.data;
10705
10705
  w = parseFloat((w / 255).toFixed(2));
10706
- const b = this.suckerPreview.style;
10707
- Object.assign(b, {
10706
+ const y = this.suckerPreview.style;
10707
+ Object.assign(y, {
10708
10708
  position: "absolute",
10709
10709
  left: e + 20 + "px",
10710
10710
  top: a - 36 + "px",
@@ -10719,13 +10719,13 @@ var Xn = x({
10719
10719
  e >= this.suckerArea[0] && // @ts-ignore
10720
10720
  a >= this.suckerArea[1] && // @ts-ignore
10721
10721
  e <= this.suckerArea[2] && // @ts-ignore
10722
- a <= this.suckerArea[3] ? b.display = "" : b.display = "none";
10722
+ a <= this.suckerArea[3] ? y.display = "" : y.display = "none";
10723
10723
  },
10724
10724
  suckColor(t) {
10725
10725
  t && t.tagName !== "CANVAS" || (this.suckerPreview = document.createElement("div"), this.suckerPreview && document.body.appendChild(this.suckerPreview), document.addEventListener("mousemove", this.mousemoveHandler), document.addEventListener("mouseup", this.mousemoveHandler), t.addEventListener("click", (e) => {
10726
10726
  const { clientX: a, clientY: n } = e, { top: s, left: o, width: i, height: r } = t.getBoundingClientRect(), l = a - o, c = n - s, f = t.getContext("2d").getImageData(Math.min(l, i - 1), Math.min(c, r - 1), 1, 1);
10727
- let [d, h, w, b] = f.data;
10728
- b = parseFloat((b / 255).toFixed(2)), this.$emit("selectSucker", { r: d, g: h, b: w, a: b });
10727
+ let [d, h, w, y] = f.data;
10728
+ y = parseFloat((y / 255).toFixed(2)), this.$emit("selectSucker", { r: d, g: h, b: w, a: y });
10729
10729
  }));
10730
10730
  }
10731
10731
  }
@@ -11359,7 +11359,7 @@ const h4 = /* @__PURE__ */ j(p4, [["render", v4]]), m4 = { class: "ao-project-mi
11359
11359
  deadline: _ != null && _.length ? _ : null
11360
11360
  });
11361
11361
  }
11362
- }), w = (_) => a.closedStatus ? On(_, a.closedStatus) : !1, b = A(() => {
11362
+ }), w = (_) => a.closedStatus ? On(_, a.closedStatus) : !1, y = A(() => {
11363
11363
  var _;
11364
11364
  return ((_ = a.users) == null ? void 0 : _.map((m) => ({
11365
11365
  label: `${m.firstName} ${m.lastName}`,
@@ -11442,7 +11442,7 @@ const h4 = /* @__PURE__ */ j(p4, [["render", v4]]), m4 = { class: "ao-project-mi
11442
11442
  M($e, {
11443
11443
  modelValue: g.value,
11444
11444
  "onUpdate:modelValue": m[2] || (m[2] = (I) => g.value = I),
11445
- options: b.value,
11445
+ options: y.value,
11446
11446
  "close-on-select": !0,
11447
11447
  searchable: !0,
11448
11448
  max: 1,
@@ -11605,7 +11605,7 @@ const T4 = /* @__PURE__ */ x({
11605
11605
  e("addComment", g);
11606
11606
  }, w = (g) => {
11607
11607
  e("updateComment", g);
11608
- }, b = (g) => {
11608
+ }, y = (g) => {
11609
11609
  e("removeComment", g);
11610
11610
  };
11611
11611
  return (g, S) => {
@@ -11634,7 +11634,7 @@ const T4 = /* @__PURE__ */ x({
11634
11634
  onRemoveFile: d,
11635
11635
  onAddComment: h,
11636
11636
  onUpdateComment: w,
11637
- onRemoveComment: b
11637
+ onRemoveComment: y
11638
11638
  }, {
11639
11639
  default: z((D) => [
11640
11640
  te(g.$slots, "default", pa(fa(D)))
@@ -11736,13 +11736,13 @@ function j4(t, e, a = {}) {
11736
11736
  let u = oa;
11737
11737
  const f = ee(r), d = l.value ? de(
11738
11738
  () => [c.value, mn(n), f.value],
11739
- ([w, b]) => {
11739
+ ([w, y]) => {
11740
11740
  if (u(), !f.value || !w.length)
11741
11741
  return;
11742
11742
  const g = new IntersectionObserver(
11743
11743
  e,
11744
11744
  {
11745
- root: mn(b),
11745
+ root: mn(y),
11746
11746
  rootMargin: s,
11747
11747
  threshold: o
11748
11748
  }
@@ -11860,7 +11860,7 @@ const F4 = {
11860
11860
  }
11861
11861
  }), {
11862
11862
  item: z(({ element: d }) => {
11863
- var h, w, b, g, S, _, m, D, I;
11863
+ var h, w, y, g, S, _, m, D, I;
11864
11864
  return [
11865
11865
  M(di, {
11866
11866
  class: X(o(d) ? "ao-list-draggable" : ""),
@@ -11868,7 +11868,7 @@ const F4 = {
11868
11868
  name: d.name,
11869
11869
  "project-name": (h = d.project) == null ? void 0 : h.name,
11870
11870
  "project-color": (w = d.project) == null ? void 0 : w.color,
11871
- "phase-name": (g = (b = d.milestone) == null ? void 0 : b.phase) == null ? void 0 : g.name,
11871
+ "phase-name": (g = (y = d.milestone) == null ? void 0 : y.phase) == null ? void 0 : g.name,
11872
11872
  "milestone-name": (S = d.milestone) == null ? void 0 : S.name,
11873
11873
  "milestone-color": (_ = d.milestone) == null ? void 0 : _.color,
11874
11874
  deadline: d.deadline,
@@ -12017,7 +12017,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
12017
12017
  de(
12018
12018
  [() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
12019
12019
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
12020
- async ([O, k, F, V], [se, y]) => {
12020
+ async ([O, k, F, V], [se, b]) => {
12021
12021
  r.value = Object.fromEntries(
12022
12022
  O.map((R) => [
12023
12023
  R.id,
@@ -12026,7 +12026,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
12026
12026
  return ((ie = le.status) == null ? void 0 : ie.id) === R.id;
12027
12027
  })
12028
12028
  ])
12029
- ), F && !l.value ? (i(F, null), l.value = !0) : V && !l.value && (i(null, V), l.value = !0), c.value && Xe(k, y);
12029
+ ), F && !l.value ? (i(F, null), l.value = !0) : V && !l.value && (i(null, V), l.value = !0), c.value && Xe(k, b);
12030
12030
  },
12031
12031
  { immediate: !0 }
12032
12032
  );
@@ -12034,8 +12034,8 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
12034
12034
  var O;
12035
12035
  return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((O = a.selectedActivity.milestone.phase) == null ? void 0 : O.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
12036
12036
  }), d = (O) => {
12037
- var y, R;
12038
- const k = (y = a.activities) == null ? void 0 : y.at(-1), F = k ? Ie.LexoRank.parse(k.rank).genNext() : Ie.LexoRank.middle(), V = ((R = a.activities) == null ? void 0 : R.length) ?? 0, se = {
12037
+ var b, R;
12038
+ const k = (b = a.activities) == null ? void 0 : b.at(-1), F = k ? Ie.LexoRank.parse(k.rank).genNext() : Ie.LexoRank.middle(), V = ((R = a.activities) == null ? void 0 : R.length) ?? 0, se = {
12039
12039
  name: n("activity.defaultName", { idx: V + 1 }),
12040
12040
  rank: F.format(),
12041
12041
  statusId: O.id
@@ -12045,7 +12045,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
12045
12045
  c.value = !1, e("update:filters", { ...a.filters, [O]: k });
12046
12046
  }, w = A(
12047
12047
  () => a.project ? [a.project] : a.projects ?? []
12048
- ), b = A(() => w.value.map((O) => ({
12048
+ ), y = A(() => w.value.map((O) => ({
12049
12049
  value: O.id,
12050
12050
  label: O.name
12051
12051
  }))), g = A(() => {
@@ -12118,7 +12118,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
12118
12118
  key: 1,
12119
12119
  "model-value": O.filters[J(Lt).project],
12120
12120
  mode: "tags",
12121
- options: b.value,
12121
+ options: y.value,
12122
12122
  "close-on-select": !1,
12123
12123
  searchable: !0,
12124
12124
  class: "ao-feed__filter ao-feed__filter__projects",
@@ -12155,7 +12155,7 @@ const Q4 = { class: "ao-feed" }, J4 = { class: "ao-feed__filters" }, e8 = { clas
12155
12155
  "user-name": V.label,
12156
12156
  "avatar-url": V.avatar,
12157
12157
  "is-closable": !0,
12158
- onClose: (y) => se(V, y)
12158
+ onClose: (b) => se(V, b)
12159
12159
  }, null, 8, ["user-name", "avatar-url", "onClose"])
12160
12160
  ]),
12161
12161
  _: 1