@26lights/orcha 0.41.83 → 0.41.84

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
@@ -1260,49 +1260,49 @@ const be = /* @__PURE__ */ q({
1260
1260
  setup(t, { emit: e }) {
1261
1261
  const a = t, s = Y(null), { isEditing: n, setIsEditing: o, onUpdate: i, onDiscard: l } = Hn(s), r = A(() => n.value ? "input" : a.tag || `h${a.level}`), d = A(() => a.isEditable ? n.value ? {
1262
1262
  change: u,
1263
- click: (y) => y.stopPropagation(),
1263
+ click: (_) => _.stopPropagation(),
1264
1264
  blur: p
1265
1265
  } : {
1266
1266
  click: w,
1267
1267
  focus: w
1268
- } : {}), u = i((y, g) => {
1268
+ } : {}), u = i((_, g) => {
1269
1269
  const m = g.target.value;
1270
1270
  e("update:title", m);
1271
1271
  }), c = l(), p = async () => {
1272
1272
  n.value && o(!1);
1273
1273
  }, h = () => {
1274
1274
  e("toggle-is-editing", !1);
1275
- }, w = (y) => {
1276
- y.stopPropagation(), n.value || o(!0);
1275
+ }, w = (_) => {
1276
+ _.stopPropagation(), n.value || o(!0);
1277
1277
  };
1278
1278
  return ce(
1279
1279
  () => a.isEditable,
1280
- (y) => {
1281
- y || c();
1280
+ (_) => {
1281
+ _ || c();
1282
1282
  }
1283
- ), (y, g) => (v(), D(mt(r.value), Ae({
1284
- id: y.id,
1283
+ ), (_, g) => (v(), D(mt(r.value), Ae({
1284
+ id: _.id,
1285
1285
  ref_key: "target",
1286
1286
  ref: s,
1287
1287
  class: [
1288
1288
  "ao-title",
1289
- `ao-title--${y.level}`,
1289
+ `ao-title--${_.level}`,
1290
1290
  {
1291
- [`ao-title--${y.color}`]: !!y.color,
1292
- "ao-title--editable": y.isEditable,
1291
+ [`ao-title--${_.color}`]: !!_.color,
1292
+ "ao-title--editable": _.isEditable,
1293
1293
  "ao-field__input ao-title--editing": Q(n),
1294
1294
  "ao-title--readonly": !Q(n)
1295
1295
  }
1296
1296
  ],
1297
1297
  type: Q(n) ? "text" : null,
1298
- value: Q(n) ? y.title : null,
1298
+ value: Q(n) ? _.title : null,
1299
1299
  tabindex: "0",
1300
1300
  onKeyup: dt(h, ["enter"])
1301
1301
  }, ji(d.value), {
1302
1302
  onKeydown: dt(Q(c), ["esc"])
1303
1303
  }), {
1304
1304
  default: N(() => [
1305
- qa(W(y.title), 1)
1305
+ qa(W(_.title), 1)
1306
1306
  ]),
1307
1307
  _: 1
1308
1308
  }, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1609,10 +1609,10 @@ function Nn(t, e) {
1609
1609
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1610
1610
  var w = /* @__PURE__ */ new Date(0);
1611
1611
  w.setUTCFullYear(c + 1, 0, h), w.setUTCHours(0, 0, 0, 0);
1612
- var y = Na(w, e), g = /* @__PURE__ */ new Date(0);
1612
+ var _ = Na(w, e), g = /* @__PURE__ */ new Date(0);
1613
1613
  g.setUTCFullYear(c, 0, h), g.setUTCHours(0, 0, 0, 0);
1614
1614
  var $ = Na(g, e);
1615
- return u.getTime() >= y.getTime() ? c + 1 : u.getTime() >= $.getTime() ? c : c - 1;
1615
+ return u.getTime() >= _.getTime() ? c + 1 : u.getTime() >= $.getTime() ? c : c - 1;
1616
1616
  }
1617
1617
  function r0(t, e) {
1618
1618
  var a, s, n, o, i, l, r, d;
@@ -2734,12 +2734,12 @@ var n3 = {
2734
2734
  const Fn = n3;
2735
2735
  var i3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, o3 = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, l3 = /^'([^]*?)'?$/, r3 = /''/g, u3 = /[a-zA-Z]/;
2736
2736
  function Zn(t, e, a) {
2737
- var s, n, o, i, l, r, d, u, c, p, h, w, y, g, $, m, _, P;
2737
+ var s, n, o, i, l, r, d, u, c, p, h, w, _, g, $, m, y, P;
2738
2738
  Ce(2, arguments);
2739
2739
  var I = String(e), L = ga(), F = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : L.locale) !== null && s !== void 0 ? s : Fn, z = Qe((o = (i = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : L.firstWeekContainsDate) !== null && i !== void 0 ? i : (c = L.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2740
2740
  if (!(z >= 1 && z <= 7))
2741
2741
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2742
- var K = Qe((h = (w = (y = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (m = $.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && y !== void 0 ? y : L.weekStartsOn) !== null && w !== void 0 ? w : (_ = L.locale) === null || _ === void 0 || (P = _.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && h !== void 0 ? h : 0);
2742
+ var K = Qe((h = (w = (_ = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (m = $.options) === null || m === void 0 ? void 0 : m.weekStartsOn) !== null && _ !== void 0 ? _ : L.weekStartsOn) !== null && w !== void 0 ? w : (y = L.locale) === null || y === void 0 || (P = y.options) === null || P === void 0 ? void 0 : P.weekStartsOn) !== null && h !== void 0 ? h : 0);
2743
2743
  if (!(K >= 0 && K <= 6))
2744
2744
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2745
2745
  if (!F.localize)
@@ -2783,7 +2783,7 @@ function c3(t) {
2783
2783
  function d3(t, e, a) {
2784
2784
  var s, n, o, i, l, r, d, u, c, p;
2785
2785
  Ce(2, arguments);
2786
- var h = $e(t), w = $e(e), y = ga(), g = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : y.locale) !== null && s !== void 0 ? s : Fn, $ = Qe((o = (i = (l = (r = a == null ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && l !== void 0 ? l : y.weekStartsOn) !== null && i !== void 0 ? i : (c = y.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.weekStartsOn) !== null && o !== void 0 ? o : 0);
2786
+ var h = $e(t), w = $e(e), _ = ga(), g = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : _.locale) !== null && s !== void 0 ? s : Fn, $ = Qe((o = (i = (l = (r = a == null ? void 0 : a.weekStartsOn) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && l !== void 0 ? l : _.weekStartsOn) !== null && i !== void 0 ? i : (c = _.locale) === null || c === void 0 || (p = c.options) === null || p === void 0 ? void 0 : p.weekStartsOn) !== null && o !== void 0 ? o : 0);
2787
2787
  if (!g.localize)
2788
2788
  throw new RangeError("locale must contain localize property");
2789
2789
  if (!g.formatLong)
@@ -2793,9 +2793,9 @@ function d3(t, e, a) {
2793
2793
  var m = e0(h, w);
2794
2794
  if (isNaN(m))
2795
2795
  throw new RangeError("Invalid time value");
2796
- var _;
2797
- m < -6 ? _ = "other" : m < -1 ? _ = "lastWeek" : m < 0 ? _ = "yesterday" : m < 1 ? _ = "today" : m < 2 ? _ = "tomorrow" : m < 7 ? _ = "nextWeek" : _ = "other";
2798
- var P = ws(h, ua(h)), I = ws(w, ua(w)), L = g.formatRelative(_, P, I, {
2796
+ var y;
2797
+ m < -6 ? y = "other" : m < -1 ? y = "lastWeek" : m < 0 ? y = "yesterday" : m < 1 ? y = "today" : m < 2 ? y = "tomorrow" : m < 7 ? y = "nextWeek" : y = "other";
2798
+ var P = ws(h, ua(h)), I = ws(w, ua(w)), L = g.formatRelative(y, P, I, {
2799
2799
  locale: g,
2800
2800
  weekStartsOn: $
2801
2801
  });
@@ -3500,20 +3500,20 @@ function xn() {
3500
3500
  }
3501
3501
  let c;
3502
3502
  for (let w = r.getScale(); w > 0; d = c) {
3503
- const y = w - 1, g = r.setScale(y, !0);
3504
- if (c = d.setScale(y, !1), g.compareTo(c) === 0)
3503
+ const _ = w - 1, g = r.setScale(_, !0);
3504
+ if (c = d.setScale(_, !1), g.compareTo(c) === 0)
3505
3505
  return n.checkMid(i, l, g);
3506
3506
  if (g.compareTo(c) > 0)
3507
3507
  break;
3508
- w = y, r = g;
3508
+ w = _, r = g;
3509
3509
  }
3510
3510
  let p = n.middleInternal(i, l, r, d), h;
3511
3511
  for (let w = p.getScale(); w > 0; w = h) {
3512
3512
  h = w - 1;
3513
- const y = p.setScale(h);
3514
- if (i.compareTo(y) >= 0 || y.compareTo(l) >= 0)
3513
+ const _ = p.setScale(h);
3514
+ if (i.compareTo(_) >= 0 || _.compareTo(l) >= 0)
3515
3515
  break;
3516
- p = y;
3516
+ p = _;
3517
3517
  }
3518
3518
  return p;
3519
3519
  }
@@ -4397,13 +4397,13 @@ const F5 = async (t, e, a) => {
4397
4397
  x: u,
4398
4398
  y: c
4399
4399
  } = _n(d, s, r), p = s, h = {}, w = 0;
4400
- for (let y = 0; y < l.length; y++) {
4400
+ for (let _ = 0; _ < l.length; _++) {
4401
4401
  const {
4402
4402
  name: g,
4403
4403
  fn: $
4404
- } = l[y], {
4404
+ } = l[_], {
4405
4405
  x: m,
4406
- y: _,
4406
+ y,
4407
4407
  data: P,
4408
4408
  reset: I
4409
4409
  } = await $({
@@ -4420,7 +4420,7 @@ const F5 = async (t, e, a) => {
4420
4420
  floating: e
4421
4421
  }
4422
4422
  });
4423
- if (u = m ?? u, c = _ ?? c, h = {
4423
+ if (u = m ?? u, c = y ?? c, h = {
4424
4424
  ...h,
4425
4425
  [g]: {
4426
4426
  ...h[g],
@@ -4434,7 +4434,7 @@ const F5 = async (t, e, a) => {
4434
4434
  }) : I.rects), {
4435
4435
  x: u,
4436
4436
  y: c
4437
- } = _n(d, p, r)), y = -1;
4437
+ } = _n(d, p, r)), _ = -1;
4438
4438
  continue;
4439
4439
  }
4440
4440
  }
@@ -4471,7 +4471,7 @@ async function Jn(t, e) {
4471
4471
  ...i.floating,
4472
4472
  x: s,
4473
4473
  y: n
4474
- } : i.reference, _ = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)), P = await (o.isElement == null ? void 0 : o.isElement(_)) ? await (o.getScale == null ? void 0 : o.getScale(_)) || {
4474
+ } : i.reference, y = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l.floating)), P = await (o.isElement == null ? void 0 : o.isElement(y)) ? await (o.getScale == null ? void 0 : o.getScale(y)) || {
4475
4475
  x: 1,
4476
4476
  y: 1
4477
4477
  } : {
@@ -4479,7 +4479,7 @@ async function Jn(t, e) {
4479
4479
  y: 1
4480
4480
  }, I = Za(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4481
4481
  rect: m,
4482
- offsetParent: _,
4482
+ offsetParent: y,
4483
4483
  strategy: r
4484
4484
  }) : m);
4485
4485
  return {
@@ -4508,17 +4508,17 @@ const Z5 = function(t) {
4508
4508
  fallbackPlacements: p,
4509
4509
  fallbackStrategy: h = "bestFit",
4510
4510
  fallbackAxisSideDirection: w = "none",
4511
- flipAlignment: y = !0,
4511
+ flipAlignment: _ = !0,
4512
4512
  ...g
4513
4513
  } = Ds(t, e);
4514
4514
  if ((a = o.arrow) != null && a.alignmentOffset)
4515
4515
  return {};
4516
- const $ = Zt(n), m = Zt(l) === l, _ = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), P = p || (m || !y ? [Fa(l)] : B5(l));
4517
- !p && w !== "none" && P.push(...R5(l, y, w, _));
4516
+ const $ = Zt(n), m = Zt(l) === l, y = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), P = p || (m || !_ ? [Fa(l)] : B5(l));
4517
+ !p && w !== "none" && P.push(...R5(l, _, w, y));
4518
4518
  const I = [l, ...P], L = await Jn(e, g), F = [];
4519
4519
  let z = ((s = o.flip) == null ? void 0 : s.overflows) || [];
4520
4520
  if (u && F.push(L[$]), c) {
4521
- const j = D5(n, i, _);
4521
+ const j = D5(n, i, y);
4522
4522
  F.push(L[j[0]], L[j[1]]);
4523
4523
  }
4524
4524
  if (z = [...z, {
@@ -4578,25 +4578,25 @@ const Z5 = function(t) {
4578
4578
  width: p,
4579
4579
  height: h
4580
4580
  } = s.floating;
4581
- let w, y;
4582
- d === "top" || d === "bottom" ? (w = d, y = u === (await (n.isRTL == null ? void 0 : n.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (y = d, w = u === "end" ? "top" : "bottom");
4583
- const g = h - r[w], $ = p - r[y], m = !e.middlewareData.shift;
4584
- let _ = g, P = $;
4581
+ let w, _;
4582
+ d === "top" || d === "bottom" ? (w = d, _ = u === (await (n.isRTL == null ? void 0 : n.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (_ = d, w = u === "end" ? "top" : "bottom");
4583
+ const g = h - r[w], $ = p - r[_], m = !e.middlewareData.shift;
4584
+ let y = g, P = $;
4585
4585
  if (c) {
4586
4586
  const L = p - r.left - r.right;
4587
4587
  P = u || m ? da($, L) : L;
4588
4588
  } else {
4589
4589
  const L = h - r.top - r.bottom;
4590
- _ = u || m ? da(g, L) : L;
4590
+ y = u || m ? da(g, L) : L;
4591
4591
  }
4592
4592
  if (m && !u) {
4593
4593
  const L = He(r.left, 0), F = He(r.right, 0), z = He(r.top, 0), K = He(r.bottom, 0);
4594
- c ? P = p - 2 * (L !== 0 || F !== 0 ? L + F : He(r.left, r.right)) : _ = h - 2 * (z !== 0 || K !== 0 ? z + K : He(r.top, r.bottom));
4594
+ c ? P = p - 2 * (L !== 0 || F !== 0 ? L + F : He(r.left, r.right)) : y = h - 2 * (z !== 0 || K !== 0 ? z + K : He(r.top, r.bottom));
4595
4595
  }
4596
4596
  await i({
4597
4597
  ...e,
4598
4598
  availableWidth: P,
4599
- availableHeight: _
4599
+ availableHeight: y
4600
4600
  });
4601
4601
  const I = await n.getDimensions(o.floating);
4602
4602
  return p !== I.width || h !== I.height ? {
@@ -4745,8 +4745,8 @@ function Ot(t, e, a, s) {
4745
4745
  const p = Te(o), h = s && et(s) ? Te(s) : s;
4746
4746
  let w = p.frameElement;
4747
4747
  for (; w && s && h !== p; ) {
4748
- const y = Nt(w), g = w.getBoundingClientRect(), $ = je(w), m = g.left + (w.clientLeft + parseFloat($.paddingLeft)) * y.x, _ = g.top + (w.clientTop + parseFloat($.paddingTop)) * y.y;
4749
- r *= y.x, d *= y.y, u *= y.x, c *= y.y, r += m, d += _, w = Te(w).frameElement;
4748
+ const _ = Nt(w), g = w.getBoundingClientRect(), $ = je(w), m = g.left + (w.clientLeft + parseFloat($.paddingLeft)) * _.x, y = g.top + (w.clientTop + parseFloat($.paddingTop)) * _.y;
4749
+ r *= _.x, d *= _.y, u *= _.x, c *= _.y, r += m, d += y, w = Te(w).frameElement;
4750
4750
  }
4751
4751
  }
4752
4752
  return Za({
@@ -4957,21 +4957,21 @@ function l7(t, e) {
4957
4957
  } = t.getBoundingClientRect();
4958
4958
  if (l || e(), !c || !p)
4959
4959
  return;
4960
- const h = Pa(u), w = Pa(n.clientWidth - (d + c)), y = Pa(n.clientHeight - (u + p)), g = Pa(d), m = {
4961
- rootMargin: -h + "px " + -w + "px " + -y + "px " + -g + "px",
4960
+ const h = Pa(u), w = Pa(n.clientWidth - (d + c)), _ = Pa(n.clientHeight - (u + p)), g = Pa(d), m = {
4961
+ rootMargin: -h + "px " + -w + "px " + -_ + "px " + -g + "px",
4962
4962
  threshold: He(0, da(1, r)) || 1
4963
4963
  };
4964
- let _ = !0;
4964
+ let y = !0;
4965
4965
  function P(I) {
4966
4966
  const L = I[0].intersectionRatio;
4967
4967
  if (L !== r) {
4968
- if (!_)
4968
+ if (!y)
4969
4969
  return i();
4970
4970
  L ? i(!1, L) : s = setTimeout(() => {
4971
4971
  i(!1, 1e-7);
4972
4972
  }, 100);
4973
4973
  }
4974
- _ = !1;
4974
+ y = !1;
4975
4975
  }
4976
4976
  try {
4977
4977
  a = new IntersectionObserver(P, {
@@ -5008,11 +5008,11 @@ function r7(t, e, a, s) {
5008
5008
  h && h.observe(e);
5009
5009
  })), a();
5010
5010
  }), d && !r && h.observe(d), h.observe(e));
5011
- let w, y = r ? Ot(t) : null;
5011
+ let w, _ = r ? Ot(t) : null;
5012
5012
  r && g();
5013
5013
  function g() {
5014
5014
  const $ = Ot(t);
5015
- y && ($.x !== y.x || $.y !== y.y || $.width !== y.width || $.height !== y.height) && a(), y = $, w = requestAnimationFrame(g);
5015
+ _ && ($.x !== _.x || $.y !== _.y || $.width !== _.width || $.height !== _.height) && a(), _ = $, w = requestAnimationFrame(g);
5016
5016
  }
5017
5017
  return a(), () => {
5018
5018
  u.forEach(($) => {
@@ -5135,8 +5135,8 @@ function v7(t, e, a) {
5135
5135
  }, c = (p) => {
5136
5136
  if (s && s.value) {
5137
5137
  let w = (p.clipboardData || /* istanbul ignore next */
5138
- window.clipboardData).getData("Text"), y = s.value;
5139
- typeof y == "string" && (y = new RegExp(y)), w.split("").every((g) => !!g.match(y)) || p.preventDefault();
5138
+ window.clipboardData).getData("Text"), _ = s.value;
5139
+ typeof _ == "string" && (_ = new RegExp(_)), w.split("").every((g) => !!g.match(_)) || p.preventDefault();
5140
5140
  }
5141
5141
  e.emit("paste", p, n);
5142
5142
  };
@@ -5188,11 +5188,11 @@ function g7(t, e, a) {
5188
5188
  appendNewOption: p,
5189
5189
  multipleLabel: h,
5190
5190
  object: w,
5191
- loading: y,
5191
+ loading: _,
5192
5192
  delay: g,
5193
5193
  resolveOnLoad: $,
5194
5194
  minChars: m,
5195
- filterResults: _,
5195
+ filterResults: y,
5196
5196
  clearOnSearch: P,
5197
5197
  clearOnSelect: I,
5198
5198
  valueProp: L,
@@ -5286,7 +5286,7 @@ function g7(t, e, a) {
5286
5286
  case "tags":
5287
5287
  return [];
5288
5288
  }
5289
- }), wi = A(() => y.value || Ie.value), Ht = (S) => {
5289
+ }), wi = A(() => _.value || Ie.value), Ht = (S) => {
5290
5290
  switch (typeof S != "object" && (S = Ke(S)), n.value) {
5291
5291
  case "single":
5292
5292
  ke(S);
@@ -5393,7 +5393,7 @@ function g7(t, e, a) {
5393
5393
  (B) => x.value ? B.__VISIBLE__.length : B[E.value].length
5394
5394
  ) : S.filter((B) => x.value ? B.__VISIBLE__.length : !0), fs = (S, B = !0) => {
5395
5395
  let ue = S;
5396
- if (x.value && _.value) {
5396
+ if (x.value && y.value) {
5397
5397
  let ge = oe.value;
5398
5398
  ge || (ge = ($t, cn, X4) => wt.value.some((Hi) => {
5399
5399
  let dn = ys(ka($t[Hi]), ae.value);
@@ -5524,7 +5524,7 @@ function C7(t, e, a) {
5524
5524
  groupSelect: d,
5525
5525
  disabledProp: u,
5526
5526
  groupOptions: c
5527
- } = Ee(t), p = a.fo, h = a.fg, w = a.handleOptionClick, y = a.handleGroupClick, g = a.search, $ = a.pointer, m = a.setPointer, _ = a.clearPointer, P = a.multiselect, I = a.isOpen, L = A(() => p.value.filter((H) => !H[u.value])), F = A(() => h.value.filter((H) => !H[u.value])), z = A(() => r.value !== "single" && d.value), K = A(() => $.value && $.value.group), J = A(() => ne($.value)), ae = A(() => {
5527
+ } = Ee(t), p = a.fo, h = a.fg, w = a.handleOptionClick, _ = a.handleGroupClick, g = a.search, $ = a.pointer, m = a.setPointer, y = a.clearPointer, P = a.multiselect, I = a.isOpen, L = A(() => p.value.filter((H) => !H[u.value])), F = A(() => h.value.filter((H) => !H[u.value])), z = A(() => r.value !== "single" && d.value), K = A(() => $.value && $.value.group), J = A(() => ne($.value)), ae = A(() => {
5528
5528
  const H = K.value ? $.value : (
5529
5529
  /* istanbul ignore next */
5530
5530
  ne($.value)
@@ -5543,7 +5543,7 @@ function C7(t, e, a) {
5543
5543
  }), E = A(() => [...ae.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), T = A(() => [...G.value.__VISIBLE__.filter((H) => !H[u.value])].slice(-1)[0]), k = (H) => $.value && (!H.group && $.value[s.value] === H[s.value] || H.group !== void 0 && $.value[i.value] === H[i.value]) ? !0 : void 0, R = () => {
5544
5544
  m(L.value[0] || null);
5545
5545
  }, b = () => {
5546
- !$.value || $.value[u.value] === !0 || (K.value ? y($.value) : w($.value));
5546
+ !$.value || $.value[u.value] === !0 || (K.value ? _($.value) : w($.value));
5547
5547
  }, V = () => {
5548
5548
  if ($.value === null)
5549
5549
  m((l.value && z.value ? F.value[0].__CREATE__ ? L.value[0] : F.value[0] : L.value[0]) || null);
@@ -5581,7 +5581,7 @@ function C7(t, e, a) {
5581
5581
  l.value && (x = K.value ? H.parentElement.parentElement.parentElement : H.parentElement.parentElement.parentElement.parentElement), H.offsetTop + H.offsetHeight > x.clientHeight + x.scrollTop && (x.scrollTop = H.offsetTop + H.offsetHeight - x.clientHeight), H.offsetTop < x.scrollTop && (x.scrollTop = H.offsetTop);
5582
5582
  };
5583
5583
  return ce(g, (H) => {
5584
- o.value && (H.length && n.value ? R() : _());
5584
+ o.value && (H.length && n.value ? R() : y());
5585
5585
  }), ce(I, (H) => {
5586
5586
  if (H) {
5587
5587
  let x = P.value.querySelectorAll("[data-selected]")[0];
@@ -5961,12 +5961,12 @@ function K7(t, e) {
5961
5961
  }
5962
5962
  function qs(t, e) {
5963
5963
  e === void 0 && (e = {});
5964
- var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? S7 : l, d = a.rootBoundary, u = d === void 0 ? ci : d, c = a.elementContext, p = c === void 0 ? ia : c, h = a.altBoundary, w = h === void 0 ? !1 : h, y = a.padding, g = y === void 0 ? 0 : y, $ = x7(typeof g != "number" ? g : K7(g, is)), m = p === ia ? A7 : ia, _ = t.rects.popper, P = t.elements[w ? m : p], I = Y7(Et(P) ? P : P.contextElement || _t(t.elements.popper), r, u, i), L = qt(t.elements.reference), F = pi({
5964
+ var a = e, s = a.placement, n = s === void 0 ? t.placement : s, o = a.strategy, i = o === void 0 ? t.strategy : o, l = a.boundary, r = l === void 0 ? S7 : l, d = a.rootBoundary, u = d === void 0 ? ci : d, c = a.elementContext, p = c === void 0 ? ia : c, h = a.altBoundary, w = h === void 0 ? !1 : h, _ = a.padding, g = _ === void 0 ? 0 : _, $ = x7(typeof g != "number" ? g : K7(g, is)), m = p === ia ? A7 : ia, y = t.rects.popper, P = t.elements[w ? m : p], I = Y7(Et(P) ? P : P.contextElement || _t(t.elements.popper), r, u, i), L = qt(t.elements.reference), F = pi({
5965
5965
  reference: L,
5966
- element: _,
5966
+ element: y,
5967
5967
  strategy: "absolute",
5968
5968
  placement: n
5969
- }), z = Ss(Object.assign({}, _, F)), K = p === ia ? z : L, J = {
5969
+ }), z = Ss(Object.assign({}, y, F)), K = p === ia ? z : L, J = {
5970
5970
  top: I.top - K.top + $.top,
5971
5971
  bottom: K.bottom - I.bottom + $.bottom,
5972
5972
  left: I.left - K.left + $.left,
@@ -6013,12 +6013,12 @@ function G7(t) {
6013
6013
  state: u,
6014
6014
  setOptions: function($) {
6015
6015
  var m = typeof $ == "function" ? $(u.options) : $;
6016
- y(), u.options = Object.assign({}, o, u.options, m), u.scrollParents = {
6016
+ _(), u.options = Object.assign({}, o, u.options, m), u.scrollParents = {
6017
6017
  reference: Et(l) ? oa(l) : l.contextElement ? oa(l.contextElement) : [],
6018
6018
  popper: oa(r)
6019
6019
  };
6020
- var _ = R7(U7([].concat(s, u.options.modifiers)));
6021
- return u.orderedModifiers = _.filter(function(P) {
6020
+ var y = R7(U7([].concat(s, u.options.modifiers)));
6021
+ return u.orderedModifiers = y.filter(function(P) {
6022
6022
  return P.enabled;
6023
6023
  }), w(), h.update();
6024
6024
  },
@@ -6029,11 +6029,11 @@ function G7(t) {
6029
6029
  // prefer the async Popper#update method
6030
6030
  forceUpdate: function() {
6031
6031
  if (!p) {
6032
- var $ = u.elements, m = $.reference, _ = $.popper;
6033
- if (Mn(m, _)) {
6032
+ var $ = u.elements, m = $.reference, y = $.popper;
6033
+ if (Mn(m, y)) {
6034
6034
  u.rects = {
6035
- reference: w7(m, ns(_), u.options.strategy === "fixed"),
6036
- popper: ri(_)
6035
+ reference: w7(m, ns(y), u.options.strategy === "fixed"),
6036
+ popper: ri(y)
6037
6037
  }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(J) {
6038
6038
  return u.modifiersData[J.name] = Object.assign({}, J.data);
6039
6039
  });
@@ -6061,7 +6061,7 @@ function G7(t) {
6061
6061
  });
6062
6062
  }),
6063
6063
  destroy: function() {
6064
- y(), p = !0;
6064
+ _(), p = !0;
6065
6065
  }
6066
6066
  };
6067
6067
  if (!Mn(l, r))
@@ -6071,20 +6071,20 @@ function G7(t) {
6071
6071
  });
6072
6072
  function w() {
6073
6073
  u.orderedModifiers.forEach(function(g) {
6074
- var $ = g.name, m = g.options, _ = m === void 0 ? {} : m, P = g.effect;
6074
+ var $ = g.name, m = g.options, y = m === void 0 ? {} : m, P = g.effect;
6075
6075
  if (typeof P == "function") {
6076
6076
  var I = P({
6077
6077
  state: u,
6078
6078
  name: $,
6079
6079
  instance: h,
6080
- options: _
6080
+ options: y
6081
6081
  }), L = function() {
6082
6082
  };
6083
6083
  c.push(I || L);
6084
6084
  }
6085
6085
  });
6086
6086
  }
6087
- function y() {
6087
+ function _() {
6088
6088
  c.forEach(function(g) {
6089
6089
  return g();
6090
6090
  }), c = [];
@@ -6143,15 +6143,15 @@ function ap(t, e) {
6143
6143
  };
6144
6144
  }
6145
6145
  function Tn(t) {
6146
- var e, a = t.popper, s = t.popperRect, n = t.placement, o = t.variation, i = t.offsets, l = t.position, r = t.gpuAcceleration, d = t.adaptive, u = t.roundOffsets, c = t.isFixed, p = i.x, h = p === void 0 ? 0 : p, w = i.y, y = w === void 0 ? 0 : w, g = typeof u == "function" ? u({
6146
+ var e, a = t.popper, s = t.popperRect, n = t.placement, o = t.variation, i = t.offsets, l = t.position, r = t.gpuAcceleration, d = t.adaptive, u = t.roundOffsets, c = t.isFixed, p = i.x, h = p === void 0 ? 0 : p, w = i.y, _ = w === void 0 ? 0 : w, g = typeof u == "function" ? u({
6147
6147
  x: h,
6148
- y
6148
+ y: _
6149
6149
  }) : {
6150
6150
  x: h,
6151
- y
6151
+ y: _
6152
6152
  };
6153
- h = g.x, y = g.y;
6154
- var $ = i.hasOwnProperty("x"), m = i.hasOwnProperty("y"), _ = Ge, P = Ne, I = window;
6153
+ h = g.x, _ = g.y;
6154
+ var $ = i.hasOwnProperty("x"), m = i.hasOwnProperty("y"), y = Ge, P = Ne, I = window;
6155
6155
  if (d) {
6156
6156
  var L = ns(a), F = "clientHeight", z = "clientWidth";
6157
6157
  if (L === Oe(a) && (L = _t(a), tt(L).position !== "static" && l === "absolute" && (F = "scrollHeight", z = "scrollWidth")), L = L, n === Ne || (n === Ge || n === ht) && o === va) {
@@ -6160,10 +6160,10 @@ function Tn(t) {
6160
6160
  // $FlowFixMe[prop-missing]
6161
6161
  L[F]
6162
6162
  );
6163
- y -= K - s.height, y *= r ? 1 : -1;
6163
+ _ -= K - s.height, _ *= r ? 1 : -1;
6164
6164
  }
6165
6165
  if (n === Ge || (n === Ne || n === qe) && o === va) {
6166
- _ = ht;
6166
+ y = ht;
6167
6167
  var J = c && L === I && I.visualViewport ? I.visualViewport.width : (
6168
6168
  // $FlowFixMe[prop-missing]
6169
6169
  L[z]
@@ -6175,16 +6175,16 @@ function Tn(t) {
6175
6175
  position: l
6176
6176
  }, d && tp), j = u === !0 ? ap({
6177
6177
  x: h,
6178
- y
6178
+ y: _
6179
6179
  }, Oe(a)) : {
6180
6180
  x: h,
6181
- y
6181
+ y: _
6182
6182
  };
6183
- if (h = j.x, y = j.y, r) {
6183
+ if (h = j.x, _ = j.y, r) {
6184
6184
  var G;
6185
- return Object.assign({}, ae, (G = {}, G[P] = m ? "0" : "", G[_] = $ ? "0" : "", G.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + y + "px)" : "translate3d(" + h + "px, " + y + "px, 0)", G));
6185
+ return Object.assign({}, ae, (G = {}, G[P] = m ? "0" : "", G[y] = $ ? "0" : "", G.transform = (I.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + _ + "px)" : "translate3d(" + h + "px, " + _ + "px, 0)", G));
6186
6186
  }
6187
- return Object.assign({}, ae, (e = {}, e[P] = m ? y + "px" : "", e[_] = $ ? h + "px" : "", e.transform = "", e));
6187
+ return Object.assign({}, ae, (e = {}, e[P] = m ? _ + "px" : "", e[y] = $ ? h + "px" : "", e.transform = "", e));
6188
6188
  }
6189
6189
  function sp(t) {
6190
6190
  var e = t.state, a = t.options, s = a.gpuAcceleration, n = s === void 0 ? !0 : s, o = a.adaptive, i = o === void 0 ? !0 : o, l = a.roundOffsets, r = l === void 0 ? !0 : l, d = {
@@ -6271,14 +6271,14 @@ function dp(t, e, a) {
6271
6271
  return s > a ? a : s;
6272
6272
  }
6273
6273
  function pp(t) {
6274
- var e = t.state, a = t.options, s = t.name, n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !1 : i, r = a.boundary, d = a.rootBoundary, u = a.altBoundary, c = a.padding, p = a.tether, h = p === void 0 ? !0 : p, w = a.tetherOffset, y = w === void 0 ? 0 : w, g = qs(e, {
6274
+ var e = t.state, a = t.options, s = t.name, n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !1 : i, r = a.boundary, d = a.rootBoundary, u = a.altBoundary, c = a.padding, p = a.tether, h = p === void 0 ? !0 : p, w = a.tetherOffset, _ = w === void 0 ? 0 : w, g = qs(e, {
6275
6275
  boundary: r,
6276
6276
  rootBoundary: d,
6277
6277
  padding: c,
6278
6278
  altBoundary: u
6279
- }), $ = ct(e.placement), m = xt(e.placement), _ = !m, P = di($), I = cp(P), L = e.modifiersData.popperOffsets, F = e.rects.reference, z = e.rects.popper, K = typeof y == "function" ? y(Object.assign({}, e.rects, {
6279
+ }), $ = ct(e.placement), m = xt(e.placement), y = !m, P = di($), I = cp(P), L = e.modifiersData.popperOffsets, F = e.rects.reference, z = e.rects.popper, K = typeof _ == "function" ? _(Object.assign({}, e.rects, {
6280
6280
  placement: e.placement
6281
- })) : y, J = typeof K == "number" ? {
6281
+ })) : _, J = typeof K == "number" ? {
6282
6282
  mainAxis: K,
6283
6283
  altAxis: K
6284
6284
  } : Object.assign({
@@ -6293,7 +6293,7 @@ function pp(t) {
6293
6293
  var G, le = P === "y" ? Ne : Ge, se = P === "y" ? qe : ht, ee = P === "y" ? "height" : "width", E = L[P], T = E + g[le], k = E - g[se], R = h ? -z[ee] / 2 : 0, b = m === Yt ? F[ee] : z[ee], V = m === Yt ? -z[ee] : -F[ee], oe = e.elements.arrow, ne = h && oe ? ri(oe) : {
6294
6294
  width: 0,
6295
6295
  height: 0
6296
- }, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vi(), H = Z[le], x = Z[se], he = Va(0, F[ee], ne[ee]), ke = _ ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Gt = _ ? -F[ee] / 2 + R + he + x + J.mainAxis : V + he + x + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), st = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Gt - $a, ka = Va(h ? Wa(T, rs) : T, E, h ? At(k, nt) : k);
6296
+ }, Z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : vi(), H = Z[le], x = Z[se], he = Va(0, F[ee], ne[ee]), ke = y ? F[ee] / 2 - R - he - H - J.mainAxis : b - he - H - J.mainAxis, Gt = y ? -F[ee] / 2 + R + he + x + J.mainAxis : V + he + x + J.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), st = Xt ? P === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = ae == null ? void 0 : ae[P]) != null ? G : 0, rs = E + ke - $a - st, nt = E + Gt - $a, ka = Va(h ? Wa(T, rs) : T, E, h ? At(k, nt) : k);
6297
6297
  L[P] = ka, j[P] = ka - E;
6298
6298
  }
6299
6299
  if (l) {
@@ -6337,16 +6337,16 @@ function mp(t, e) {
6337
6337
  return d.indexOf(w) >= 0;
6338
6338
  });
6339
6339
  p.length === 0 && (p = c);
6340
- var h = p.reduce(function(w, y) {
6341
- return w[y] = qs(t, {
6342
- placement: y,
6340
+ var h = p.reduce(function(w, _) {
6341
+ return w[_] = qs(t, {
6342
+ placement: _,
6343
6343
  boundary: n,
6344
6344
  rootBoundary: o,
6345
6345
  padding: i
6346
- })[ct(y)], w;
6346
+ })[ct(_)], w;
6347
6347
  }, {});
6348
- return Object.keys(h).sort(function(w, y) {
6349
- return h[w] - h[y];
6348
+ return Object.keys(h).sort(function(w, _) {
6349
+ return h[w] - h[_];
6350
6350
  });
6351
6351
  }
6352
6352
  function gp(t) {
@@ -6358,14 +6358,14 @@ function gp(t) {
6358
6358
  function Cp(t) {
6359
6359
  var e = t.state, a = t.options, s = t.name;
6360
6360
  if (!e.modifiersData[s]._skip) {
6361
- for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, y = a.allowedAutoPlacements, g = e.options.placement, $ = ct(g), m = $ === g, _ = r || (m || !w ? [Da(g)] : gp(g)), P = [g].concat(_).reduce(function(ne, Z) {
6361
+ for (var n = a.mainAxis, o = n === void 0 ? !0 : n, i = a.altAxis, l = i === void 0 ? !0 : i, r = a.fallbackPlacements, d = a.padding, u = a.boundary, c = a.rootBoundary, p = a.altBoundary, h = a.flipVariations, w = h === void 0 ? !0 : h, _ = a.allowedAutoPlacements, g = e.options.placement, $ = ct(g), m = $ === g, y = r || (m || !w ? [Da(g)] : gp(g)), P = [g].concat(y).reduce(function(ne, Z) {
6362
6362
  return ne.concat(ct(Z) === zs ? mp(e, {
6363
6363
  placement: Z,
6364
6364
  boundary: u,
6365
6365
  rootBoundary: c,
6366
6366
  padding: d,
6367
6367
  flipVariations: w,
6368
- allowedAutoPlacements: y
6368
+ allowedAutoPlacements: _
6369
6369
  }) : Z);
6370
6370
  }, []), I = e.rects.reference, L = e.rects.popper, F = /* @__PURE__ */ new Map(), z = !0, K = P[0], J = 0; J < P.length; J++) {
6371
6371
  var ae = P[J], j = ct(ae), G = xt(ae) === Yt, le = [Ne, qe].indexOf(j) >= 0, se = le ? "width" : "height", ee = qs(e, {
@@ -6415,7 +6415,7 @@ var _p = {
6415
6415
  }
6416
6416
  };
6417
6417
  function yp(t, e, a) {
6418
- const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l = Lt().proxy, r = a.multiselect, d = a.dropdown, u = Y(!1), c = Y(null), p = Y(null), h = A(() => n.value || o.value), w = A(() => i.value === "top" && p.value === "bottom" || i.value === "bottom" && p.value !== "top" ? "bottom" : "top"), y = () => {
6418
+ const { disabled: s, appendTo: n, appendToBody: o, openDirection: i } = Ee(t), l = Lt().proxy, r = a.multiselect, d = a.dropdown, u = Y(!1), c = Y(null), p = Y(null), h = A(() => n.value || o.value), w = A(() => i.value === "top" && p.value === "bottom" || i.value === "bottom" && p.value !== "top" ? "bottom" : "top"), _ = () => {
6419
6419
  u.value || s.value || (u.value = !0, e.emit("open", l), h.value && Me(() => {
6420
6420
  $();
6421
6421
  }));
@@ -6424,7 +6424,7 @@ function yp(t, e, a) {
6424
6424
  }, $ = () => {
6425
6425
  if (!c.value)
6426
6426
  return;
6427
- let _ = parseInt(window.getComputedStyle(d.value).borderTopWidth.replace("px", "")), P = parseInt(window.getComputedStyle(d.value).borderBottomWidth.replace("px", ""));
6427
+ let y = parseInt(window.getComputedStyle(d.value).borderTopWidth.replace("px", "")), P = parseInt(window.getComputedStyle(d.value).borderBottomWidth.replace("px", ""));
6428
6428
  c.value.setOptions((I) => ({
6429
6429
  ...I,
6430
6430
  modifiers: [
@@ -6432,16 +6432,16 @@ function yp(t, e, a) {
6432
6432
  {
6433
6433
  name: "offset",
6434
6434
  options: {
6435
- offset: [0, (w.value === "top" ? _ : P) * -1]
6435
+ offset: [0, (w.value === "top" ? y : P) * -1]
6436
6436
  }
6437
6437
  }
6438
6438
  ]
6439
6439
  })), c.value.update();
6440
- }, m = (_) => {
6441
- for (; _ && _ !== document.body; ) {
6442
- if (getComputedStyle(_).position === "fixed")
6440
+ }, m = (y) => {
6441
+ for (; y && y !== document.body; ) {
6442
+ if (getComputedStyle(y).position === "fixed")
6443
6443
  return !0;
6444
- _ = _.parentElement;
6444
+ y = y.parentElement;
6445
6445
  }
6446
6446
  return !1;
6447
6447
  };
@@ -6460,19 +6460,19 @@ function yp(t, e, a) {
6460
6460
  enabled: !0,
6461
6461
  phase: "beforeWrite",
6462
6462
  requires: ["computeStyles"],
6463
- fn: ({ state: _ }) => {
6464
- _.styles.popper.width = `${_.rects.reference.width}px`;
6463
+ fn: ({ state: y }) => {
6464
+ y.styles.popper.width = `${y.rects.reference.width}px`;
6465
6465
  },
6466
- effect: ({ state: _ }) => {
6467
- _.elements.popper.style.width = `${_.elements.reference.offsetWidth}px`;
6466
+ effect: ({ state: y }) => {
6467
+ y.elements.popper.style.width = `${y.elements.reference.offsetWidth}px`;
6468
6468
  }
6469
6469
  },
6470
6470
  {
6471
6471
  name: "toggleClass",
6472
6472
  enabled: !0,
6473
6473
  phase: "write",
6474
- fn({ state: _ }) {
6475
- p.value = _.placement;
6474
+ fn({ state: y }) {
6475
+ p.value = y.placement;
6476
6476
  }
6477
6477
  }
6478
6478
  ]
@@ -6482,44 +6482,44 @@ function yp(t, e, a) {
6482
6482
  }), {
6483
6483
  popper: c,
6484
6484
  isOpen: u,
6485
- open: y,
6485
+ open: _,
6486
6486
  close: g,
6487
6487
  placement: w,
6488
6488
  updatePopper: $
6489
6489
  };
6490
6490
  }
6491
6491
  function bp(t, e, a) {
6492
- const { searchable: s, disabled: n, clearOnBlur: o } = Ee(t), i = a.input, l = a.open, r = a.close, d = a.clearSearch, u = a.isOpen, c = a.wrapper, p = a.tags, h = Y(!1), w = Y(!1), y = A(() => s.value || n.value ? -1 : 0), g = () => {
6492
+ const { searchable: s, disabled: n, clearOnBlur: o } = Ee(t), i = a.input, l = a.open, r = a.close, d = a.clearSearch, u = a.isOpen, c = a.wrapper, p = a.tags, h = Y(!1), w = Y(!1), _ = A(() => s.value || n.value ? -1 : 0), g = () => {
6493
6493
  s.value && i.value.blur(), c.value.blur();
6494
6494
  }, $ = () => {
6495
6495
  s.value && !n.value && i.value.focus();
6496
6496
  }, m = (z = !0) => {
6497
6497
  n.value || (h.value = !0, z && l());
6498
- }, _ = () => {
6498
+ }, y = () => {
6499
6499
  h.value = !1, setTimeout(() => {
6500
6500
  h.value || (r(), o.value && d());
6501
6501
  }, 1);
6502
6502
  };
6503
6503
  return {
6504
- tabindex: y,
6504
+ tabindex: _,
6505
6505
  isActive: h,
6506
6506
  mouseClicked: w,
6507
6507
  blur: g,
6508
6508
  focus: $,
6509
6509
  activate: m,
6510
- deactivate: _,
6510
+ deactivate: y,
6511
6511
  handleFocusIn: (z) => {
6512
6512
  z.target.closest("[data-tags]") && z.target.nodeName !== "INPUT" || z.target.closest("[data-clear]") || m(w.value);
6513
6513
  },
6514
6514
  handleFocusOut: () => {
6515
- _();
6515
+ y();
6516
6516
  },
6517
6517
  handleCaretClick: () => {
6518
- _(), g();
6518
+ y(), g();
6519
6519
  },
6520
6520
  handleMousedown: (z) => {
6521
6521
  w.value = !0, u.value && (z.target.isEqualNode(c.value) || z.target.isEqualNode(p.value)) ? setTimeout(() => {
6522
- _();
6522
+ y();
6523
6523
  }, 0) : !u.value && (document.activeElement.isEqualNode(c.value) || document.activeElement.isEqualNode(i.value)) && m(), setTimeout(() => {
6524
6524
  w.value = !1;
6525
6525
  }, 0);
@@ -6539,8 +6539,8 @@ function wp(t, e, a) {
6539
6539
  createTag: c,
6540
6540
  createOption: p,
6541
6541
  reverse: h
6542
- } = Ee(t), w = Lt().proxy, y = a.iv, g = a.update, $ = a.deselect, m = a.search, _ = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, z = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = A(() => c.value || p.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6543
- s.value === "tags" && !l.value && le.value && i.value && !d.value && _(G.value[G.value.map((k) => k[r.value]).indexOf(m.value)]);
6542
+ } = Ee(t), w = Lt().proxy, _ = a.iv, g = a.update, $ = a.deselect, m = a.search, y = a.setPointer, P = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, F = a.multiselect, z = a.wrapper, K = a.tags, J = a.isOpen, ae = a.open, j = a.blur, G = a.fo, le = A(() => c.value || p.value || !1), se = A(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6543
+ s.value === "tags" && !l.value && le.value && i.value && !d.value && y(G.value[G.value.map((k) => k[r.value]).indexOf(m.value)]);
6544
6544
  };
6545
6545
  return {
6546
6546
  handleKeydown: (k) => {
@@ -6548,16 +6548,16 @@ function wp(t, e, a) {
6548
6548
  let R, b;
6549
6549
  switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(k.key) !== -1 && s.value === "tags" && (R = [...F.value.querySelectorAll("[data-tags] > *")].filter((V) => V !== K.value), b = R.findIndex((V) => V === document.activeElement)), k.key) {
6550
6550
  case "Backspace":
6551
- if (s.value === "single" || i.value && [null, ""].indexOf(m.value) === -1 || y.value.length === 0)
6551
+ if (s.value === "single" || i.value && [null, ""].indexOf(m.value) === -1 || _.value.length === 0)
6552
6552
  return;
6553
- let V = y.value.filter((oe) => !oe.disabled && oe.remove !== !1);
6553
+ let V = _.value.filter((oe) => !oe.disabled && oe.remove !== !1);
6554
6554
  V.length && $(V[V.length - 1]);
6555
6555
  break;
6556
6556
  case "Enter":
6557
6557
  if (k.preventDefault(), k.keyCode === 229)
6558
6558
  return;
6559
6559
  if (b !== -1 && b !== void 0) {
6560
- g([...y.value].filter((oe, ne) => ne !== b)), b === R.length - 1 && (R.length - 1 ? R[R.length - 2].focus() : i.value ? K.value.querySelector("input").focus() : z.value.focus());
6560
+ g([..._.value].filter((oe, ne) => ne !== b)), b === R.length - 1 && (R.length - 1 ? R[R.length - 2].focus() : i.value ? K.value.querySelector("input").focus() : z.value.focus());
6561
6561
  return;
6562
6562
  }
6563
6563
  if (se.value.indexOf("enter") === -1 && le.value)
@@ -6596,12 +6596,12 @@ function wp(t, e, a) {
6596
6596
  J.value || ae(), L();
6597
6597
  break;
6598
6598
  case "ArrowLeft":
6599
- if (i.value && K.value && K.value.querySelector("input").selectionStart || k.shiftKey || s.value !== "tags" || !y.value || !y.value.length)
6599
+ if (i.value && K.value && K.value.querySelector("input").selectionStart || k.shiftKey || s.value !== "tags" || !_.value || !_.value.length)
6600
6600
  return;
6601
6601
  k.preventDefault(), b === -1 ? R[R.length - 1].focus() : b > 0 && R[b - 1].focus();
6602
6602
  break;
6603
6603
  case "ArrowRight":
6604
- if (b === -1 || k.shiftKey || s.value !== "tags" || !y.value || !y.value.length)
6604
+ if (b === -1 || k.shiftKey || s.value !== "tags" || !_.value || !_.value.length)
6605
6605
  return;
6606
6606
  k.preventDefault(), R.length > b + 1 ? R[b + 1].focus() : i.value ? K.value.querySelector("input").focus() : i.value || z.value.focus();
6607
6607
  break;
@@ -6619,7 +6619,7 @@ function $p(t, e, a) {
6619
6619
  disabled: n,
6620
6620
  showOptions: o,
6621
6621
  breakTags: i
6622
- } = Ee(t), l = a.isOpen, r = a.isPointed, d = a.isSelected, u = a.isDisabled, c = a.isActive, p = a.canPointGroups, h = a.resolving, w = a.fo, y = a.placement, g = A(() => ({
6622
+ } = Ee(t), l = a.isOpen, r = a.isPointed, d = a.isSelected, u = a.isDisabled, c = a.isActive, p = a.canPointGroups, h = a.resolving, w = a.fo, _ = a.placement, g = A(() => ({
6623
6623
  container: "multiselect",
6624
6624
  containerDisabled: "is-disabled",
6625
6625
  containerOpen: "is-open",
@@ -6677,47 +6677,47 @@ function $p(t, e, a) {
6677
6677
  })), $ = A(() => !!(l.value && o.value && (!h.value || h.value && w.value.length)));
6678
6678
  return {
6679
6679
  classList: A(() => {
6680
- const _ = g.value;
6680
+ const y = g.value;
6681
6681
  return {
6682
- container: [_.container].concat(n.value ? _.containerDisabled : []).concat($.value && y.value === "top" ? _.containerOpenTop : []).concat($.value && y.value !== "top" ? _.containerOpen : []).concat(c.value ? _.containerActive : []),
6683
- wrapper: _.wrapper,
6684
- spacer: _.spacer,
6685
- singleLabel: _.singleLabel,
6686
- singleLabelText: _.singleLabelText,
6687
- multipleLabel: _.multipleLabel,
6688
- search: _.search,
6689
- tags: _.tags,
6690
- tag: [_.tag].concat(n.value ? _.tagDisabled : []),
6691
- tagWrapper: [_.tagWrapper, i.value ? _.tagWrapperBreak : null],
6692
- tagDisabled: _.tagDisabled,
6693
- tagRemove: _.tagRemove,
6694
- tagRemoveIcon: _.tagRemoveIcon,
6695
- tagsSearchWrapper: _.tagsSearchWrapper,
6696
- tagsSearch: _.tagsSearch,
6697
- tagsSearchCopy: _.tagsSearchCopy,
6698
- placeholder: _.placeholder,
6699
- caret: [_.caret].concat(l.value ? _.caretOpen : []),
6700
- clear: _.clear,
6701
- clearIcon: _.clearIcon,
6702
- spinner: _.spinner,
6703
- inifinite: _.inifinite,
6704
- inifiniteSpinner: _.inifiniteSpinner,
6705
- dropdown: [_.dropdown].concat(y.value === "top" ? _.dropdownTop : []).concat(!l.value || !o.value || !$.value ? _.dropdownHidden : []),
6706
- options: [_.options].concat(y.value === "top" ? _.optionsTop : []),
6707
- group: _.group,
6682
+ container: [y.container].concat(n.value ? y.containerDisabled : []).concat($.value && _.value === "top" ? y.containerOpenTop : []).concat($.value && _.value !== "top" ? y.containerOpen : []).concat(c.value ? y.containerActive : []),
6683
+ wrapper: y.wrapper,
6684
+ spacer: y.spacer,
6685
+ singleLabel: y.singleLabel,
6686
+ singleLabelText: y.singleLabelText,
6687
+ multipleLabel: y.multipleLabel,
6688
+ search: y.search,
6689
+ tags: y.tags,
6690
+ tag: [y.tag].concat(n.value ? y.tagDisabled : []),
6691
+ tagWrapper: [y.tagWrapper, i.value ? y.tagWrapperBreak : null],
6692
+ tagDisabled: y.tagDisabled,
6693
+ tagRemove: y.tagRemove,
6694
+ tagRemoveIcon: y.tagRemoveIcon,
6695
+ tagsSearchWrapper: y.tagsSearchWrapper,
6696
+ tagsSearch: y.tagsSearch,
6697
+ tagsSearchCopy: y.tagsSearchCopy,
6698
+ placeholder: y.placeholder,
6699
+ caret: [y.caret].concat(l.value ? y.caretOpen : []),
6700
+ clear: y.clear,
6701
+ clearIcon: y.clearIcon,
6702
+ spinner: y.spinner,
6703
+ inifinite: y.inifinite,
6704
+ inifiniteSpinner: y.inifiniteSpinner,
6705
+ dropdown: [y.dropdown].concat(_.value === "top" ? y.dropdownTop : []).concat(!l.value || !o.value || !$.value ? y.dropdownHidden : []),
6706
+ options: [y.options].concat(_.value === "top" ? y.optionsTop : []),
6707
+ group: y.group,
6708
6708
  groupLabel: (P) => {
6709
- let I = [_.groupLabel];
6710
- return r(P) ? I.push(d(P) ? _.groupLabelSelectedPointed : _.groupLabelPointed) : d(P) && p.value ? I.push(u(P) ? _.groupLabelSelectedDisabled : _.groupLabelSelected) : u(P) && I.push(_.groupLabelDisabled), p.value && I.push(_.groupLabelPointable), I;
6709
+ let I = [y.groupLabel];
6710
+ return r(P) ? I.push(d(P) ? y.groupLabelSelectedPointed : y.groupLabelPointed) : d(P) && p.value ? I.push(u(P) ? y.groupLabelSelectedDisabled : y.groupLabelSelected) : u(P) && I.push(y.groupLabelDisabled), p.value && I.push(y.groupLabelPointable), I;
6711
6711
  },
6712
- groupOptions: _.groupOptions,
6712
+ groupOptions: y.groupOptions,
6713
6713
  option: (P, I) => {
6714
- let L = [_.option];
6715
- return r(P) ? L.push(d(P) ? _.optionSelectedPointed : _.optionPointed) : d(P) ? L.push(u(P) ? _.optionSelectedDisabled : _.optionSelected) : (u(P) || I && u(I)) && L.push(_.optionDisabled), L;
6714
+ let L = [y.option];
6715
+ return r(P) ? L.push(d(P) ? y.optionSelectedPointed : y.optionPointed) : d(P) ? L.push(u(P) ? y.optionSelectedDisabled : y.optionSelected) : (u(P) || I && u(I)) && L.push(y.optionDisabled), L;
6716
6716
  },
6717
- noOptions: _.noOptions,
6718
- noResults: _.noResults,
6719
- assist: _.assist,
6720
- fakeInput: _.fakeInput
6717
+ noOptions: y.noOptions,
6718
+ noResults: y.noResults,
6719
+ assist: y.assist,
6720
+ fakeInput: y.fakeInput
6721
6721
  };
6722
6722
  }),
6723
6723
  showDropdown: $
@@ -6727,12 +6727,12 @@ function kp(t, e, a) {
6727
6727
  const {
6728
6728
  limit: s,
6729
6729
  infinite: n
6730
- } = Ee(t), o = a.isOpen, i = a.offset, l = a.search, r = a.pfo, d = a.eo, u = Y(null), c = Y(null), p = A(() => i.value < r.value.length), h = (y) => {
6731
- const { isIntersecting: g, target: $ } = y[0];
6730
+ } = Ee(t), o = a.isOpen, i = a.offset, l = a.search, r = a.pfo, d = a.eo, u = Y(null), c = Y(null), p = A(() => i.value < r.value.length), h = (_) => {
6731
+ const { isIntersecting: g, target: $ } = _[0];
6732
6732
  if (g) {
6733
- const m = $.offsetParent, _ = m.scrollTop;
6733
+ const m = $.offsetParent, y = m.scrollTop;
6734
6734
  i.value += s.value == -1 ? 10 : s.value, Me(() => {
6735
- m.scrollTop = _;
6735
+ m.scrollTop = y;
6736
6736
  });
6737
6737
  }
6738
6738
  }, w = () => {
@@ -6761,7 +6761,7 @@ function Sp(t, e, a) {
6761
6761
  groupLabel: r,
6762
6762
  aria: d,
6763
6763
  searchable: u
6764
- } = Ee(t), c = a.pointer, p = a.iv, h = a.hasSelected, w = a.multipleLabelText, y = Y(null), g = A(() => {
6764
+ } = Ee(t), c = a.pointer, p = a.iv, h = a.hasSelected, w = a.multipleLabelText, _ = Y(null), g = A(() => {
6765
6765
  let j = [];
6766
6766
  return n && n.value && j.push(n.value), j.push("assist"), j.join("-");
6767
6767
  }), $ = A(() => {
@@ -6771,7 +6771,7 @@ function Sp(t, e, a) {
6771
6771
  let j = [];
6772
6772
  if (n && n.value && j.push(n.value), c.value)
6773
6773
  return j.push(c.value.group ? "multiselect-group" : "multiselect-option"), j.push(c.value.group ? c.value.index : c.value[o.value]), j.join("-");
6774
- }), _ = A(() => s.value), P = A(() => l.value !== "single"), I = A(() => {
6774
+ }), y = A(() => s.value), P = A(() => l.value !== "single"), I = A(() => {
6775
6775
  let j = "";
6776
6776
  return l.value === "single" && h.value && (j += p.value[i.value]), l.value === "multiple" && h.value && (j += w.value), l.value === "tags" && h.value && (j += p.value.map((G) => G[i.value]).join(", ")), j;
6777
6777
  }), L = A(() => {
@@ -6793,14 +6793,14 @@ function Sp(t, e, a) {
6793
6793
  return It(() => {
6794
6794
  if (n && n.value && document && document.querySelector) {
6795
6795
  let j = document.querySelector(`[for="${n.value}"]`);
6796
- y.value = j ? j.innerText : null;
6796
+ _.value = j ? j.innerText : null;
6797
6797
  }
6798
6798
  }), {
6799
6799
  arias: L,
6800
6800
  ariaLabel: I,
6801
6801
  ariaAssist: g,
6802
6802
  ariaControls: $,
6803
- ariaPlaceholder: _,
6803
+ ariaPlaceholder: y,
6804
6804
  ariaMultiselectable: P,
6805
6805
  ariaActiveDescendant: m,
6806
6806
  ariaOptionId: F,
@@ -7827,7 +7827,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
7827
7827
  return (c, p) => (v(), C("div", Qp, [
7828
7828
  f("ul", Jp, [
7829
7829
  (v(!0), C(fe, null, _e(c.tasks, (h) => {
7830
- var w, y;
7830
+ var w, _;
7831
7831
  return v(), C("li", {
7832
7832
  key: h.id,
7833
7833
  class: "ao-subtask"
@@ -7853,7 +7853,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
7853
7853
  qa(". "),
7854
7854
  !c.isTemplate && c.users ? (v(), D(Se, {
7855
7855
  key: 1,
7856
- value: (y = h.assignee) != null && y.id ? [h.assignee.id] : [],
7856
+ value: (_ = h.assignee) != null && _.id ? [h.assignee.id] : [],
7857
7857
  options: n.value,
7858
7858
  "close-on-select": !0,
7859
7859
  searchable: !0,
@@ -8032,30 +8032,30 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8032
8032
  emits: ["edit", "remove"],
8033
8033
  setup(t, { emit: e }) {
8034
8034
  const a = t, s = A(() => {
8035
- const y = a.user;
8036
- return y ? `${y == null ? void 0 : y.firstName} ${y == null ? void 0 : y.lastName}` : null;
8035
+ const _ = a.user;
8036
+ return _ ? `${_ == null ? void 0 : _.firstName} ${_ == null ? void 0 : _.lastName}` : null;
8037
8037
  }), n = Y(null), { isEditing: o, toggleIsEditing: i, onUpdate: l, onDiscard: r } = Hn(n), d = A(() => {
8038
- const y = a.editedAt && ca(a.editedAt), g = ca(a.createdAt), $ = /* @__PURE__ */ new Date(), m = y ?? g;
8038
+ const _ = a.editedAt && ca(a.editedAt), g = ca(a.createdAt), $ = /* @__PURE__ */ new Date(), m = _ ?? g;
8039
8039
  return m && d3(m, $);
8040
- }), u = A(() => o.value ? "textarea" : "p"), c = r(), p = l((y) => {
8041
- e("edit", y);
8040
+ }), u = A(() => o.value ? "textarea" : "p"), c = r(), p = l((_) => {
8041
+ e("edit", _);
8042
8042
  }), h = () => {
8043
8043
  e("remove");
8044
8044
  }, w = Y(2);
8045
8045
  return Ni(() => {
8046
8046
  Me(() => {
8047
- var y;
8047
+ var _;
8048
8048
  if (!o.value) {
8049
- const g = (y = n.value) == null ? void 0 : y.getClientRects().length;
8049
+ const g = (_ = n.value) == null ? void 0 : _.getClientRects().length;
8050
8050
  w.value = g || 2;
8051
8051
  }
8052
8052
  });
8053
- }), (y, g) => {
8053
+ }), (_, g) => {
8054
8054
  var $;
8055
8055
  return v(), C("li", hv, [
8056
8056
  s.value ? (v(), D(Je, {
8057
8057
  key: 0,
8058
- "avatar-url": ($ = y.user) == null ? void 0 : $.avatarUrl,
8058
+ "avatar-url": ($ = _.user) == null ? void 0 : $.avatarUrl,
8059
8059
  "user-name": s.value,
8060
8060
  class: "ao-comment__avatar"
8061
8061
  }, null, 8, ["avatar-url", "user-name"])) : O("", !0),
@@ -8066,7 +8066,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8066
8066
  ref_key: "commentContent",
8067
8067
  ref: n,
8068
8068
  class: "ao-comment__content",
8069
- value: Q(o) ? y.content : null,
8069
+ value: Q(o) ? _.content : null,
8070
8070
  rows: Q(o) ? w.value : null,
8071
8071
  onKeyup: [
8072
8072
  dt(Q(c), ["esc"]),
@@ -8074,13 +8074,13 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8074
8074
  ]
8075
8075
  }, {
8076
8076
  default: N(() => [
8077
- qa(W(y.content), 1)
8077
+ qa(W(_.content), 1)
8078
8078
  ]),
8079
8079
  _: 1
8080
8080
  }, 40, ["value", "rows", "onKeyup"]))
8081
8081
  ])
8082
8082
  ]),
8083
- y.isEditable ? (v(), C("div", _v, [
8083
+ _.isEditable ? (v(), C("div", _v, [
8084
8084
  Q(o) ? (v(), C(fe, { key: 0 }, [
8085
8085
  M(re, {
8086
8086
  "icon-name": "CloseRounded",
@@ -8099,14 +8099,14 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8099
8099
  }, null, 8, ["onClick"])
8100
8100
  ], 64)) : (v(), C(fe, { key: 1 }, [
8101
8101
  M(re, {
8102
- label: y.$t("activity.comment.delete"),
8102
+ label: _.$t("activity.comment.delete"),
8103
8103
  size: "sm",
8104
8104
  variant: "ghost",
8105
8105
  color: "neutral",
8106
8106
  onClick: h
8107
8107
  }, null, 8, ["label"]),
8108
8108
  M(re, {
8109
- label: y.$t("activity.comment.edit"),
8109
+ label: _.$t("activity.comment.edit"),
8110
8110
  size: "sm",
8111
8111
  variant: "ghost",
8112
8112
  color: "neutral",
@@ -8201,7 +8201,7 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8201
8201
  "edited-at": w.updatedAt,
8202
8202
  "is-editable": w.author.id === c.userId,
8203
8203
  class: "ao-comment",
8204
- onEdit: (y) => d(w.id, y),
8204
+ onEdit: (_) => d(w.id, _),
8205
8205
  onRemove: () => u(w.id)
8206
8206
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
8207
8207
  ])) : O("", !0)
@@ -8350,7 +8350,7 @@ const As = /* @__PURE__ */ q({
8350
8350
  ...b,
8351
8351
  disabled: (V = a.activity.blocking) == null ? void 0 : V.some((oe) => oe.id === b.value)
8352
8352
  };
8353
- })), y = A({
8353
+ })), _ = A({
8354
8354
  get() {
8355
8355
  var b;
8356
8356
  return (b = a.activity.blocking) == null ? void 0 : b.map((V) => V.id);
@@ -8373,7 +8373,7 @@ const As = /* @__PURE__ */ q({
8373
8373
  e("addSubtask", b);
8374
8374
  }, m = (b) => {
8375
8375
  e("updateSubtask", b);
8376
- }, _ = (b) => {
8376
+ }, y = (b) => {
8377
8377
  e("deleteSubtask", b);
8378
8378
  };
8379
8379
  function P() {
@@ -8593,7 +8593,7 @@ const As = /* @__PURE__ */ q({
8593
8593
  "is-template": b.isTemplate,
8594
8594
  onAdd: $,
8595
8595
  onUpdate: m,
8596
- onDelete: _
8596
+ onDelete: y
8597
8597
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
8598
8598
  ])
8599
8599
  ]),
@@ -8775,8 +8775,8 @@ const As = /* @__PURE__ */ q({
8775
8775
  f("label", kf, [
8776
8776
  f("span", Sf, W(b.$t("activity.blocking.label")), 1),
8777
8777
  M(Se, {
8778
- modelValue: y.value,
8779
- "onUpdate:modelValue": V[9] || (V[9] = (H) => y.value = H),
8778
+ modelValue: _.value,
8779
+ "onUpdate:modelValue": V[9] || (V[9] = (H) => _.value = H),
8780
8780
  class: "ao-activity-details__multiselect",
8781
8781
  mode: "tags",
8782
8782
  "close-on-select": !1,
@@ -8847,9 +8847,9 @@ const Tf = /* @__PURE__ */ q({
8847
8847
  [me.ACTIVITIES]: a.templateActivities,
8848
8848
  [me.MILESTONES]: a.templateMilestones,
8849
8849
  [me.PHASES]: a.templatePhases
8850
- }[s.value]) == null ? void 0 : m.map((_) => ({
8851
- value: _.id,
8852
- label: _.name
8850
+ }[s.value]) == null ? void 0 : m.map((y) => ({
8851
+ value: y.id,
8852
+ label: y.name
8853
8853
  }));
8854
8854
  }), r = Rt(a.rule.comparator), d = A({
8855
8855
  get() {
@@ -8872,7 +8872,7 @@ const Tf = /* @__PURE__ */ q({
8872
8872
  set($) {
8873
8873
  e("update:rule", { ...a.rule, duration: $ });
8874
8874
  }
8875
- }), y = A({
8875
+ }), _ = A({
8876
8876
  get() {
8877
8877
  return a.rule.durationUnit;
8878
8878
  },
@@ -8884,26 +8884,26 @@ const Tf = /* @__PURE__ */ q({
8884
8884
  default: N(() => [
8885
8885
  M(Q(ut), {
8886
8886
  modelValue: n.value,
8887
- "onUpdate:modelValue": m[0] || (m[0] = (_) => n.value = _),
8887
+ "onUpdate:modelValue": m[0] || (m[0] = (y) => n.value = y),
8888
8888
  options: o.value
8889
8889
  }, null, 8, ["modelValue", "options"]),
8890
8890
  M(Q(ut), {
8891
8891
  modelValue: i.value,
8892
- "onUpdate:modelValue": m[1] || (m[1] = (_) => i.value = _),
8892
+ "onUpdate:modelValue": m[1] || (m[1] = (y) => i.value = y),
8893
8893
  options: l.value
8894
8894
  }, null, 8, ["modelValue", "options"]),
8895
8895
  M(Q(ut), {
8896
8896
  modelValue: p.value,
8897
- "onUpdate:modelValue": m[2] || (m[2] = (_) => p.value = _),
8897
+ "onUpdate:modelValue": m[2] || (m[2] = (y) => p.value = y),
8898
8898
  options: h.value
8899
8899
  }, null, 8, ["modelValue", "options"]),
8900
8900
  M(Q(ut), {
8901
8901
  modelValue: d.value,
8902
- "onUpdate:modelValue": m[3] || (m[3] = (_) => d.value = _),
8902
+ "onUpdate:modelValue": m[3] || (m[3] = (y) => d.value = y),
8903
8903
  options: u.value
8904
8904
  }, null, 8, ["modelValue", "options"]),
8905
8905
  De(f("input", {
8906
- "onUpdate:modelValue": m[4] || (m[4] = (_) => w.value = _),
8906
+ "onUpdate:modelValue": m[4] || (m[4] = (y) => w.value = y),
8907
8907
  type: "number",
8908
8908
  min: "0"
8909
8909
  }, null, 512), [
@@ -8915,15 +8915,15 @@ const Tf = /* @__PURE__ */ q({
8915
8915
  ]
8916
8916
  ]),
8917
8917
  M(Q(ut), {
8918
- modelValue: y.value,
8919
- "onUpdate:modelValue": m[5] || (m[5] = (_) => y.value = _),
8918
+ modelValue: _.value,
8919
+ "onUpdate:modelValue": m[5] || (m[5] = (y) => _.value = y),
8920
8920
  options: g.value
8921
8921
  }, null, 8, ["modelValue", "options"]),
8922
8922
  M(re, {
8923
8923
  class: "ao-rule-line__remove",
8924
8924
  "icon-name": "CloseRounded",
8925
8925
  variant: "ghost",
8926
- onClick: m[6] || (m[6] = (_) => $.$emit("close"))
8926
+ onClick: m[6] || (m[6] = (y) => $.$emit("close"))
8927
8927
  })
8928
8928
  ]),
8929
8929
  _: 1
@@ -9100,7 +9100,7 @@ const Lf = {
9100
9100
  id: E
9101
9101
  }
9102
9102
  });
9103
- }, y = (E, T) => {
9103
+ }, _ = (E, T) => {
9104
9104
  e("updateItem", {
9105
9105
  templateId: a.templateId,
9106
9106
  id: E,
@@ -9136,7 +9136,7 @@ const Lf = {
9136
9136
  id: E.id
9137
9137
  }
9138
9138
  });
9139
- }, _ = (E) => {
9139
+ }, y = (E) => {
9140
9140
  const { id: T, ...k } = E;
9141
9141
  e("updateItem", {
9142
9142
  itemType: me.MILESTONES,
@@ -9276,7 +9276,7 @@ const Lf = {
9276
9276
  params: { templateId: E.templateId, phaseId: Z.id }
9277
9277
  }),
9278
9278
  "onUpdate:title": (x) => {
9279
- y(Z.id, x);
9279
+ _(Z.id, x);
9280
9280
  },
9281
9281
  onRemove: () => w(Z.id)
9282
9282
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
@@ -9301,7 +9301,7 @@ const Lf = {
9301
9301
  phase: i.value,
9302
9302
  "milestone-id": (k = l.value) == null ? void 0 : k.id,
9303
9303
  onAddMilestone: $,
9304
- onUpdateMilestone: _,
9304
+ onUpdateMilestone: y,
9305
9305
  onUpdatePhase: g,
9306
9306
  onRemoveMilestone: m
9307
9307
  }, null, 8, ["template-id", "phase", "milestone-id"])) : O("", !0)
@@ -9832,8 +9832,8 @@ var Js = q({
9832
9832
  const { clientX: e, clientY: a } = t, { top: s, left: n, width: o, height: i } = this.suckerCanvas.getBoundingClientRect(), l = e - n, r = a - s, u = this.suckerCanvas.getContext("2d").getImageData(Math.min(l, o - 1), Math.min(r, i - 1), 1, 1);
9833
9833
  let [c, p, h, w] = u.data;
9834
9834
  w = parseFloat((w / 255).toFixed(2));
9835
- const y = this.suckerPreview.style;
9836
- Object.assign(y, {
9835
+ const _ = this.suckerPreview.style;
9836
+ Object.assign(_, {
9837
9837
  position: "absolute",
9838
9838
  left: e + 20 + "px",
9839
9839
  top: a - 36 + "px",
@@ -9848,13 +9848,13 @@ var Js = q({
9848
9848
  e >= this.suckerArea[0] && // @ts-ignore
9849
9849
  a >= this.suckerArea[1] && // @ts-ignore
9850
9850
  e <= this.suckerArea[2] && // @ts-ignore
9851
- a <= this.suckerArea[3] ? y.display = "" : y.display = "none";
9851
+ a <= this.suckerArea[3] ? _.display = "" : _.display = "none";
9852
9852
  },
9853
9853
  suckColor(t) {
9854
9854
  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) => {
9855
9855
  const { clientX: a, clientY: s } = e, { top: n, left: o, width: i, height: l } = t.getBoundingClientRect(), r = a - o, d = s - n, c = t.getContext("2d").getImageData(Math.min(r, i - 1), Math.min(d, l - 1), 1, 1);
9856
- let [p, h, w, y] = c.data;
9857
- y = parseFloat((y / 255).toFixed(2)), this.$emit("selectSucker", { r: p, g: h, b: w, a: y });
9856
+ let [p, h, w, _] = c.data;
9857
+ _ = parseFloat((_ / 255).toFixed(2)), this.$emit("selectSucker", { r: p, g: h, b: w, a: _ });
9858
9858
  }));
9859
9859
  }
9860
9860
  }
@@ -10373,40 +10373,46 @@ const ph = { class: "color-picker-wrapper" }, an = /* @__PURE__ */ q({
10373
10373
  },
10374
10374
  emits: ["update:color"],
10375
10375
  setup(t, { emit: e }) {
10376
- const a = t, s = Y(!1), n = Y(null), o = async () => {
10377
- s.value = !0, await Me(), setTimeout(() => {
10378
- window.addEventListener("click", i);
10376
+ const a = t, s = Y(!1), n = Y(null), o = Y("bottom"), i = async () => {
10377
+ s.value = !0;
10378
+ const u = n.value, c = u == null ? void 0 : u.parentElement;
10379
+ if (u && c) {
10380
+ const p = c.getBoundingClientRect(), h = u.offsetHeight, w = window.innerHeight - p.bottom, _ = p.top;
10381
+ o.value = w < h && _ > h ? "top" : "bottom";
10382
+ }
10383
+ await Me(), setTimeout(() => {
10384
+ window.addEventListener("click", l);
10379
10385
  }, 0);
10380
- }, i = (d) => {
10381
- const u = d.target;
10382
- n.value && !n.value.contains(u) && (s.value = !1, e("update:color", l.value), window.removeEventListener("click", i));
10386
+ }, l = (u) => {
10387
+ const c = u.target;
10388
+ n.value && !n.value.contains(c) && (s.value = !1, e("update:color", r.value), window.removeEventListener("click", l));
10383
10389
  };
10384
10390
  Ts(() => {
10385
- window.removeEventListener("click", i);
10386
- }), ce(() => a.color, (d) => {
10387
- s.value || (l.value = d);
10391
+ window.removeEventListener("click", l);
10392
+ }), ce(() => a.color, (u) => {
10393
+ s.value || (r.value = u);
10388
10394
  });
10389
- const l = Y(a.color), r = (d) => {
10390
- const { r: u, g: c, b: p, a: h } = d.rgba;
10391
- l.value = `rgba(${u}, ${c}, ${p}, ${h})`;
10395
+ const r = Y(a.color), d = (u) => {
10396
+ const { r: c, g: p, b: h, a: w } = u.rgba;
10397
+ r.value = `rgba(${c}, ${p}, ${h}, ${w})`;
10392
10398
  };
10393
- return (d, u) => (v(), C("div", ph, [
10394
- te(d.$slots, "clickable", {
10395
- openPicker: o,
10396
- bgColor: d.color
10399
+ return (u, c) => (v(), C("div", ph, [
10400
+ te(u.$slots, "clickable", {
10401
+ openPicker: i,
10402
+ bgColor: u.color
10397
10403
  }),
10398
10404
  s.value ? (v(), C("div", {
10399
10405
  key: 0,
10400
10406
  ref_key: "pickerRef",
10401
- ref: n
10407
+ ref: n,
10408
+ class: X(["color-picker", o.value])
10402
10409
  }, [
10403
10410
  M(Q(Ut), {
10404
- class: "color-picker",
10405
10411
  theme: "light",
10406
- color: d.color,
10407
- onChangeColor: r
10412
+ color: u.color,
10413
+ onChangeColor: d
10408
10414
  }, null, 8, ["color"])
10409
- ], 512)) : O("", !0)
10415
+ ], 2)) : O("", !0)
10410
10416
  ]));
10411
10417
  }
10412
10418
  });
@@ -10440,7 +10446,7 @@ const vh = { class: "ao-card-project-phase__header" }, fh = { class: "ao-card-pr
10440
10446
  return (c = a.milestones) == null ? void 0 : c.reduce(
10441
10447
  (p, h) => {
10442
10448
  var w;
10443
- return p + ((w = h.activities) == null ? void 0 : w.reduce((y, g) => y + (g.estimation || 0), 0));
10449
+ return p + ((w = h.activities) == null ? void 0 : w.reduce((_, g) => _ + (g.estimation || 0), 0));
10444
10450
  },
10445
10451
  0
10446
10452
  );
@@ -10475,7 +10481,7 @@ const vh = { class: "ao-card-project-phase__header" }, fh = { class: "ao-card-pr
10475
10481
  "is-clickable": c.isEditable,
10476
10482
  color: w,
10477
10483
  withLeftBorder: !0,
10478
- onClick: (y) => u(y, h)
10484
+ onClick: (_) => u(_, h)
10479
10485
  }, fa({
10480
10486
  default: N(() => [
10481
10487
  f("div", fh, [
@@ -10514,7 +10520,7 @@ const vh = { class: "ao-card-project-phase__header" }, fh = { class: "ao-card-pr
10514
10520
  }, [
10515
10521
  c.isEditable ? De((v(), C("input", {
10516
10522
  key: 0,
10517
- "onUpdate:modelValue": p[1] || (p[1] = (y) => r.value = y),
10523
+ "onUpdate:modelValue": p[1] || (p[1] = (_) => r.value = _),
10518
10524
  class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--input",
10519
10525
  type: "date"
10520
10526
  }, null, 512)), [
@@ -10741,7 +10747,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
10741
10747
  return (c = a.milestones) == null ? void 0 : c.reduce(
10742
10748
  (p, h) => {
10743
10749
  var w;
10744
- return p + ((w = h.activities) == null ? void 0 : w.reduce((y, g) => y + (g.estimation || 0), 0));
10750
+ return p + ((w = h.activities) == null ? void 0 : w.reduce((_, g) => _ + (g.estimation || 0), 0));
10745
10751
  },
10746
10752
  0
10747
10753
  );
@@ -10776,7 +10782,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
10776
10782
  "is-clickable": c.isEditable,
10777
10783
  color: w,
10778
10784
  withLeftBorder: !0,
10779
- onClick: (y) => u(y, h)
10785
+ onClick: (_) => u(_, h)
10780
10786
  }, fa({
10781
10787
  default: N(() => [
10782
10788
  f("div", Nh, [
@@ -10815,7 +10821,7 @@ const Rh = { class: "ao-mapping-card-project-phase__header" }, Nh = { class: "ao
10815
10821
  }, [
10816
10822
  c.isEditable ? De((v(), C("input", {
10817
10823
  key: 0,
10818
- "onUpdate:modelValue": p[1] || (p[1] = (y) => r.value = y),
10824
+ "onUpdate:modelValue": p[1] || (p[1] = (_) => r.value = _),
10819
10825
  class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--input",
10820
10826
  type: "date"
10821
10827
  }, null, 512)), [
@@ -10886,8 +10892,8 @@ const Kh = { class: "ao-project-phase" }, Gh = {
10886
10892
  const a = t, { t: s } = yt();
10887
10893
  ce(
10888
10894
  () => a.phase.milestones,
10889
- (m, _) => {
10890
- Xe(m, _);
10895
+ (m, y) => {
10896
+ Xe(m, y);
10891
10897
  }
10892
10898
  );
10893
10899
  const n = (m) => {
@@ -10901,12 +10907,12 @@ const Kh = { class: "ao-project-phase" }, Gh = {
10901
10907
  (m) => j3(m, a.closedStatus)
10902
10908
  )
10903
10909
  ), r = (m) => {
10904
- const { name: _, rank: P } = Mt(
10910
+ const { name: y, rank: P } = Mt(
10905
10911
  l.value ?? [],
10906
10912
  "milestone",
10907
10913
  s
10908
10914
  );
10909
- e("addMilestone", { name: _, rank: P, phaseId: m });
10915
+ e("addMilestone", { name: y, rank: P, phaseId: m });
10910
10916
  }, d = (m) => {
10911
10917
  e("updateMilestone", m);
10912
10918
  }, u = (m) => {
@@ -10926,11 +10932,11 @@ const Kh = { class: "ao-project-phase" }, Gh = {
10926
10932
  id: m.moved.element.id,
10927
10933
  rank: Ft(l.value, m.moved.newIndex)
10928
10934
  });
10929
- }, y = qi(), g = A(() => y.path.includes("/mapping")), $ = A(() => {
10935
+ }, _ = qi(), g = A(() => _.path.includes("/mapping")), $ = A(() => {
10930
10936
  var m;
10931
- return a.phase.id !== ((m = y.params) == null ? void 0 : m.phaseId) ? { backgroundColor: "var(--ao-color-sheet)" } : a.phase.color ? { backgroundColor: N3(a.phase.color) } : { backgroundColor: "var(--ao-color-primary-lightest)" };
10937
+ return a.phase.id !== ((m = _.params) == null ? void 0 : m.phaseId) ? { backgroundColor: "var(--ao-color-sheet)" } : a.phase.color ? { backgroundColor: N3(a.phase.color) } : { backgroundColor: "var(--ao-color-primary-lightest)" };
10932
10938
  });
10933
- return (m, _) => (v(), C("li", Kh, [
10939
+ return (m, y) => (v(), C("li", Kh, [
10934
10940
  f("div", {
10935
10941
  class: "ao-project-phases__draggable-card",
10936
10942
  style: pt($.value)
@@ -11022,7 +11028,7 @@ const Kh = { class: "ao-project-phase" }, Gh = {
11022
11028
  label: m.$t("project.milestone.add"),
11023
11029
  class: "ao-project-phase__milestone-add",
11024
11030
  "icon-name": "Add",
11025
- onClick: _[0] || (_[0] = () => r(m.phase.id))
11031
+ onClick: y[0] || (y[0] = () => r(m.phase.id))
11026
11032
  }, null, 8, ["label"])) : O("", !0)
11027
11033
  ])
11028
11034
  ], 4)
@@ -11310,7 +11316,7 @@ const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
11310
11316
  e("unarchiveMilestone", T);
11311
11317
  }, w = (T) => {
11312
11318
  e("addActivity", T);
11313
- }, y = (T) => {
11319
+ }, _ = (T) => {
11314
11320
  e("update:activity", T);
11315
11321
  }, g = (T) => {
11316
11322
  e("archiveActivity", T);
@@ -11318,7 +11324,7 @@ const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
11318
11324
  e("unarchiveActivity", T);
11319
11325
  }, m = (T) => {
11320
11326
  e("addSubtask", T);
11321
- }, _ = (T) => {
11327
+ }, y = (T) => {
11322
11328
  e("updateSubtask", T);
11323
11329
  }, P = (T) => {
11324
11330
  e("deleteSubtask", T);
@@ -11419,7 +11425,7 @@ const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
11419
11425
  onClose: k[4] || (k[4] = (b) => T.$router.push({ name: Q(ye).project })),
11420
11426
  onUpdateMilestone: c,
11421
11427
  onAddActivity: w,
11422
- onUpdateActivity: y,
11428
+ onUpdateActivity: _,
11423
11429
  onArchiveActivity: g,
11424
11430
  onUnarchiveActivity: $
11425
11431
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
@@ -11436,9 +11442,9 @@ const sn = /* @__PURE__ */ U(b9, [["render", k9], ["__scopeId", "data-v-ff4e3297
11436
11442
  "user-id": T.userId,
11437
11443
  "is-editable": T.isEditable,
11438
11444
  "attachment-enabled": T.attachmentEnabled,
11439
- "onUpdate:activity": y,
11445
+ "onUpdate:activity": _,
11440
11446
  onAddSubtask: m,
11441
- onUpdateSubtask: _,
11447
+ onUpdateSubtask: y,
11442
11448
  onDeleteSubtask: P,
11443
11449
  onAddFiles: L,
11444
11450
  onRemoveFile: F,
@@ -11608,15 +11614,15 @@ const T9 = { class: "ao-card-feed__header" }, O9 = {
11608
11614
  f("div", B9, [
11609
11615
  f("div", j9, [
11610
11616
  f("ul", R9, [
11611
- (v(!0), C(fe, null, _e(l.value, (y) => (v(), C(fe, {
11612
- key: y.id
11617
+ (v(!0), C(fe, null, _e(l.value, (_) => (v(), C(fe, {
11618
+ key: _.id
11613
11619
  }, [
11614
- y ? (v(), C("li", N9, [
11620
+ _ ? (v(), C("li", N9, [
11615
11621
  M(Je, {
11616
- "user-name": Q(Gn)(y),
11617
- "avatar-url": y.avatarUrl,
11622
+ "user-name": Q(Gn)(_),
11623
+ "avatar-url": _.avatarUrl,
11618
11624
  "is-closable": !0,
11619
- onClose: () => d(y.id)
11625
+ onClose: () => d(_.id)
11620
11626
  }, null, 8, ["user-name", "avatar-url", "onClose"])
11621
11627
  ])) : O("", !0)
11622
11628
  ], 64))), 128))
@@ -11680,26 +11686,26 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11680
11686
  setup(t, { emit: e }) {
11681
11687
  const a = t, { t: s } = yt(), n = A(() => {
11682
11688
  var m;
11683
- return (m = a.phases) == null ? void 0 : m.find((_) => _.id === a.phaseId);
11689
+ return (m = a.phases) == null ? void 0 : m.find((y) => y.id === a.phaseId);
11684
11690
  }), o = A(
11685
11691
  () => {
11686
11692
  var m;
11687
- return (m = a.phases) == null ? void 0 : m.flatMap((_) => _.milestones);
11693
+ return (m = a.phases) == null ? void 0 : m.flatMap((y) => y.milestones);
11688
11694
  }
11689
11695
  ), i = A(() => {
11690
11696
  var m;
11691
- return (m = o.value) == null ? void 0 : m.find((_) => _.id === a.milestoneId);
11697
+ return (m = o.value) == null ? void 0 : m.find((y) => y.id === a.milestoneId);
11692
11698
  }), l = A(() => {
11693
11699
  var m;
11694
11700
  return (m = i.value) == null ? void 0 : m.activities;
11695
11701
  });
11696
- ce(l, (m, _) => {
11697
- Xe(m, _);
11702
+ ce(l, (m, y) => {
11703
+ Xe(m, y);
11698
11704
  });
11699
11705
  const r = (m) => {
11700
11706
  e("close", m);
11701
11707
  }, d = () => {
11702
- const { name: m, rank: _ } = Mt(
11708
+ const { name: m, rank: y } = Mt(
11703
11709
  l.value ?? [],
11704
11710
  "activity",
11705
11711
  s
@@ -11707,7 +11713,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11707
11713
  e("addActivity", {
11708
11714
  milestoneId: a.milestoneId,
11709
11715
  name: m,
11710
- rank: _,
11716
+ rank: y,
11711
11717
  projectId: a.projectId
11712
11718
  });
11713
11719
  }, u = (m) => {
@@ -11739,17 +11745,17 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11739
11745
  deadline: m != null && m.length ? m : null
11740
11746
  });
11741
11747
  }
11742
- }), w = (m) => a.closedStatus ? Hs(m, a.closedStatus) : !1, y = A(() => {
11748
+ }), w = (m) => a.closedStatus ? Hs(m, a.closedStatus) : !1, _ = A(() => {
11743
11749
  var m;
11744
- return ((m = a.users) == null ? void 0 : m.map((_) => ({
11745
- label: `${_.firstName} ${_.lastName}`,
11746
- value: _.id,
11747
- avatar: _.avatarUrl
11750
+ return ((m = a.users) == null ? void 0 : m.map((y) => ({
11751
+ label: `${y.firstName} ${y.lastName}`,
11752
+ value: y.id,
11753
+ avatar: y.avatarUrl
11748
11754
  }))) || [];
11749
11755
  }), g = A({
11750
11756
  get() {
11751
- var m, _;
11752
- return (_ = (m = i.value) == null ? void 0 : m.assignee) != null && _.id ? [i.value.assignee.id] : [];
11757
+ var m, y;
11758
+ return (y = (m = i.value) == null ? void 0 : m.assignee) != null && y.id ? [i.value.assignee.id] : [];
11753
11759
  },
11754
11760
  set(m) {
11755
11761
  e("updateMilestone", {
@@ -11767,7 +11773,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11767
11773
  e("updateMilestone", { id: a.milestoneId, important: m });
11768
11774
  }
11769
11775
  });
11770
- return (m, _) => {
11776
+ return (m, y) => {
11771
11777
  var P;
11772
11778
  return v(), C("div", G9, [
11773
11779
  f("header", X9, [
@@ -11788,7 +11794,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11788
11794
  }, null, 8, ["title"]),
11789
11795
  M(As, {
11790
11796
  modelValue: $.value,
11791
- "onUpdate:modelValue": _[0] || (_[0] = (I) => $.value = I),
11797
+ "onUpdate:modelValue": y[0] || (y[0] = (I) => $.value = I),
11792
11798
  modelModifiers: { lazy: !0 },
11793
11799
  disabled: !m.isEditable,
11794
11800
  class: "ao-milestone__important",
@@ -11804,7 +11810,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11804
11810
  f("div", a4, [
11805
11811
  f("label", s4, [
11806
11812
  De(f("input", {
11807
- "onUpdate:modelValue": _[1] || (_[1] = (I) => h.value = I),
11813
+ "onUpdate:modelValue": y[1] || (y[1] = (I) => h.value = I),
11808
11814
  class: "ao-milestone__field ao-milestone__date-field",
11809
11815
  type: "date"
11810
11816
  }, null, 512), [
@@ -11821,8 +11827,8 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11821
11827
  f("label", i4, [
11822
11828
  M(Se, {
11823
11829
  modelValue: g.value,
11824
- "onUpdate:modelValue": _[2] || (_[2] = (I) => g.value = I),
11825
- options: y.value,
11830
+ "onUpdate:modelValue": y[2] || (y[2] = (I) => g.value = I),
11831
+ options: _.value,
11826
11832
  "close-on-select": !0,
11827
11833
  searchable: !0,
11828
11834
  max: 1,
@@ -11849,7 +11855,7 @@ const G9 = { class: "ao-project-milestone" }, X9 = { class: "ao-project-mileston
11849
11855
  ]),
11850
11856
  M(an, {
11851
11857
  color: p.value,
11852
- "onUpdate:color": _[3] || (_[3] = (I) => p.value = I)
11858
+ "onUpdate:color": y[3] || (y[3] = (I) => p.value = I)
11853
11859
  }, {
11854
11860
  clickable: N(({ openPicker: I, bgColor: L }) => [
11855
11861
  f("button", {
@@ -11994,11 +12000,11 @@ const u4 = /* @__PURE__ */ q({
11994
12000
  e("addComment", g);
11995
12001
  }, w = (g) => {
11996
12002
  e("updateComment", g);
11997
- }, y = (g) => {
12003
+ }, _ = (g) => {
11998
12004
  e("removeComment", g);
11999
12005
  };
12000
12006
  return (g, $) => {
12001
- var m, _;
12007
+ var m, y;
12002
12008
  return i.value ? (v(), D(Ys, {
12003
12009
  key: 0,
12004
12010
  activity: i.value,
@@ -12010,7 +12016,7 @@ const u4 = /* @__PURE__ */ q({
12010
12016
  "user-id": g.userId,
12011
12017
  "is-task-checkable": g.isTaskCheckable,
12012
12018
  statuses: g.statuses,
12013
- breadcrumbs: `${(m = s.value) == null ? void 0 : m.name} / ${(_ = o.value) == null ? void 0 : _.name}`,
12019
+ breadcrumbs: `${(m = s.value) == null ? void 0 : m.name} / ${(y = o.value) == null ? void 0 : y.name}`,
12014
12020
  "is-editable": g.isEditable,
12015
12021
  "attachment-enabled": g.attachmentEnabled,
12016
12022
  projects: [g.project],
@@ -12023,7 +12029,7 @@ const u4 = /* @__PURE__ */ q({
12023
12029
  onRemoveFile: p,
12024
12030
  onAddComment: h,
12025
12031
  onUpdateComment: w,
12026
- onRemoveComment: y
12032
+ onRemoveComment: _
12027
12033
  }, {
12028
12034
  default: N((P) => [
12029
12035
  te(g.$slots, "default", ha(ma(P)))
@@ -12125,13 +12131,13 @@ function b4(t, e, a = {}) {
12125
12131
  let u = la;
12126
12132
  const c = Y(l), p = r.value ? ce(
12127
12133
  () => [d.value, bs(s), c.value],
12128
- ([w, y]) => {
12134
+ ([w, _]) => {
12129
12135
  if (u(), !c.value || !w.length)
12130
12136
  return;
12131
12137
  const g = new IntersectionObserver(
12132
12138
  e,
12133
12139
  {
12134
- root: bs(y),
12140
+ root: bs(_),
12135
12141
  rootMargin: n,
12136
12142
  threshold: o
12137
12143
  }
@@ -12249,7 +12255,7 @@ const w4 = {
12249
12255
  }
12250
12256
  }), {
12251
12257
  item: N(({ element: p }) => {
12252
- var h, w, y, g, $, m, _, P, I;
12258
+ var h, w, _, g, $, m, y, P, I;
12253
12259
  return [
12254
12260
  M(gi, {
12255
12261
  class: X(o(p) ? "ao-list-draggable" : ""),
@@ -12257,11 +12263,11 @@ const w4 = {
12257
12263
  name: p.name,
12258
12264
  "project-name": (h = p.project) == null ? void 0 : h.name,
12259
12265
  "project-color": (w = p.project) == null ? void 0 : w.color,
12260
- "phase-name": (g = (y = p.milestone) == null ? void 0 : y.phase) == null ? void 0 : g.name,
12266
+ "phase-name": (g = (_ = p.milestone) == null ? void 0 : _.phase) == null ? void 0 : g.name,
12261
12267
  "milestone-name": ($ = p.milestone) == null ? void 0 : $.name,
12262
12268
  "milestone-color": (m = p.milestone) == null ? void 0 : m.color,
12263
12269
  deadline: p.deadline,
12264
- rules: ((_ = p.rules) == null ? void 0 : _.length) || 0,
12270
+ rules: ((y = p.rules) == null ? void 0 : y.length) || 0,
12265
12271
  tasks: p.tasks,
12266
12272
  description: p.description,
12267
12273
  important: p.important,
@@ -12435,7 +12441,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
12435
12441
  d.value = !1, e("update:filters", { ...a.filters, [k]: R });
12436
12442
  }, w = A(
12437
12443
  () => a.project ? [a.project] : a.projects ?? []
12438
- ), y = A(() => w.value.map((k) => ({
12444
+ ), _ = A(() => w.value.map((k) => ({
12439
12445
  value: k.id,
12440
12446
  label: k.name
12441
12447
  }))), g = A(() => {
@@ -12450,7 +12456,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
12450
12456
  avatar: k.avatarUrl
12451
12457
  }))), m = (k) => {
12452
12458
  a.selectedActivity && e("update:activity", k);
12453
- }, _ = (k) => {
12459
+ }, y = (k) => {
12454
12460
  e("update:activity", k);
12455
12461
  }, P = (k) => {
12456
12462
  e("archiveActivity", k);
@@ -12510,7 +12516,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
12510
12516
  key: 0,
12511
12517
  "model-value": k.filters[Q(Dt).project],
12512
12518
  mode: "tags",
12513
- options: y.value,
12519
+ options: _.value,
12514
12520
  "close-on-select": !1,
12515
12521
  searchable: !0,
12516
12522
  class: "ao-feed__filter ao-feed__filter__projects",
@@ -12607,7 +12613,7 @@ const P4 = { class: "ao-feed" }, H4 = { class: "ao-feed__filters" }, V4 = { clas
12607
12613
  onSelectActivity: i,
12608
12614
  onArchiveActivity: P,
12609
12615
  onUnarchiveActivity: I,
12610
- onUpdateActivity: _
12616
+ onUpdateActivity: y
12611
12617
  }, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
12612
12618
  ]),
12613
12619
  (v(), D(Tt, { to: "body" }, [
@@ -12683,9 +12689,9 @@ const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
12683
12689
  e("applyTemplate", { templateId: g, projectId: $ }), d.value = !1;
12684
12690
  }, p = (g, $) => {
12685
12691
  var P;
12686
- const m = (P = a.templates) == null ? void 0 : P.at(-1), _ = m ? we.LexoRank.parse(m.rank).genNext() : we.LexoRank.middle();
12687
- e("saveTemplate", { templateName: g, rank: _.format(), phaseIds: $ }), u.value = !1;
12688
- }, h = Es(), w = Y("mapping"), y = [
12692
+ const m = (P = a.templates) == null ? void 0 : P.at(-1), y = m ? we.LexoRank.parse(m.rank).genNext() : we.LexoRank.middle();
12693
+ e("saveTemplate", { templateName: g, rank: y.format(), phaseIds: $ }), u.value = !1;
12694
+ }, h = Es(), w = Y("mapping"), _ = [
12689
12695
  { label: "Overview", value: "overview" },
12690
12696
  { label: "Feed", value: "feed" },
12691
12697
  { label: "Mapping", value: "mapping" }
@@ -12698,7 +12704,7 @@ const B4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
12698
12704
  M(ba, null, {
12699
12705
  primary: N(() => [
12700
12706
  M(sn, {
12701
- tabs: y,
12707
+ tabs: _,
12702
12708
  modelValue: w.value,
12703
12709
  "onUpdate:modelValue": $[0] || ($[0] = (m) => w.value = m)
12704
12710
  }, null, 8, ["modelValue"]),