@26lights/orcha 0.38.5 → 0.38.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Y, openBlock as p, createBlock as P, unref as J, mergeProps as He, createElementBlock as m, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as A, resolveDynamicComponent as ht, normalizeClass as Q, renderSlot as te, toDisplayString as x, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as z, createTextVNode as pa, createVNode as M, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as he, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as fa, guardReactiveProps as va, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
1
+ import { defineComponent as Y, openBlock as p, createBlock as P, unref as J, mergeProps as He, createElementBlock as m, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as A, resolveDynamicComponent as ht, normalizeClass as Q, renderSlot as te, toDisplayString as x, createCommentVNode as O, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as z, createTextVNode as Fa, createVNode as M, normalizeStyle as Ua, withModifiers as fe, createSlots as Za, Fragment as he, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as kn, Teleport as Nt, toRefs as Ae, getCurrentInstance as Mt, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Ye, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
2
2
  import { RouterView as Ri } from "vue-router";
3
3
  import mt from "vuedraggable";
4
4
  const g8 = /* @__PURE__ */ Y({
@@ -1201,14 +1201,14 @@ const M2 = ["type"], T2 = {
1201
1201
  ])
1202
1202
  }, [
1203
1203
  te(s.$slots, "default", {}, () => [
1204
- s.label ? (p(), m("span", T2, x(s.label), 1)) : T("", !0)
1204
+ s.label ? (p(), m("span", T2, x(s.label), 1)) : O("", !0)
1205
1205
  ]),
1206
1206
  n.value ? (p(), P(pe, {
1207
1207
  key: 0,
1208
1208
  name: n.value,
1209
1209
  class: "ao-button__icon",
1210
1210
  size: a.value
1211
- }, null, 8, ["name", "size"])) : T("", !0)
1211
+ }, null, 8, ["name", "size"])) : O("", !0)
1212
1212
  ], 10, M2));
1213
1213
  }
1214
1214
  });
@@ -1297,7 +1297,7 @@ const ye = /* @__PURE__ */ Y({
1297
1297
  onKeydown: dt(J(f), ["esc"])
1298
1298
  }), {
1299
1299
  default: z(() => [
1300
- pa(x(g.title), 1)
1300
+ Fa(x(g.title), 1)
1301
1301
  ]),
1302
1302
  _: 1
1303
1303
  }, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1350,7 +1350,7 @@ const O2 = {
1350
1350
  name: "DragIndicator",
1351
1351
  class: "ao-card-horiz__drag-handle"
1352
1352
  })
1353
- ])) : T("", !0),
1353
+ ])) : O("", !0),
1354
1354
  v("div", E2, [
1355
1355
  n.icon ? (p(), m("div", I2, [
1356
1356
  M(pe, {
@@ -1358,7 +1358,7 @@ const O2 = {
1358
1358
  name: n.icon,
1359
1359
  size: "xl"
1360
1360
  }, null, 8, ["name"])
1361
- ])) : T("", !0),
1361
+ ])) : O("", !0),
1362
1362
  v("div", L2, [
1363
1363
  M(ye, {
1364
1364
  id: n.id,
@@ -1369,22 +1369,22 @@ const O2 = {
1369
1369
  "onUpdate:title": a
1370
1370
  }, null, 8, ["id", "title"]),
1371
1371
  te(n.$slots, "subtitle", {}, () => [
1372
- n.subtitle ? (p(), m("span", H2, x(n.subtitle), 1)) : T("", !0)
1372
+ n.subtitle ? (p(), m("span", H2, x(n.subtitle), 1)) : O("", !0)
1373
1373
  ])
1374
1374
  ]),
1375
1375
  n.$slots.header ? (p(), m("div", D2, [
1376
1376
  te(n.$slots, "header")
1377
- ])) : T("", !0)
1377
+ ])) : O("", !0)
1378
1378
  ]),
1379
1379
  n.$slots.default ? (p(), m("div", P2, [
1380
1380
  te(n.$slots, "default")
1381
- ])) : T("", !0),
1381
+ ])) : O("", !0),
1382
1382
  n.$slots.footer ? (p(), m("div", V2, [
1383
1383
  te(n.$slots, "footer")
1384
- ])) : T("", !0),
1384
+ ])) : O("", !0),
1385
1385
  n.$slots.secondary ? (p(), m("div", B2, [
1386
1386
  te(n.$slots, "secondary")
1387
- ])) : T("", !0)
1387
+ ])) : O("", !0)
1388
1388
  ]),
1389
1389
  _: 3
1390
1390
  }, 8, ["class"]));
@@ -1419,7 +1419,7 @@ const qa = /* @__PURE__ */ Y({
1419
1419
  onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
1420
1420
  }), {
1421
1421
  default: z(() => [
1422
- pa(x(s.label), 1)
1422
+ Fa(x(s.label), 1)
1423
1423
  ]),
1424
1424
  _: 1
1425
1425
  }, 16)),
@@ -1433,7 +1433,7 @@ const qa = /* @__PURE__ */ Y({
1433
1433
  size: "sm",
1434
1434
  class: "ao-tag__close-icon"
1435
1435
  })
1436
- ])) : T("", !0)
1436
+ ])) : O("", !0)
1437
1437
  ], 6));
1438
1438
  }
1439
1439
  });
@@ -1478,13 +1478,13 @@ const b8 = {
1478
1478
  type: "typeId",
1479
1479
  assignee: "assigneeId"
1480
1480
  };
1481
- function Da(t) {
1481
+ function Ha(t) {
1482
1482
  "@babel/helpers - typeof";
1483
- return Da = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1483
+ return Ha = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1484
1484
  return typeof e;
1485
1485
  } : function(e) {
1486
1486
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1487
- }, Da(t);
1487
+ }, Ha(t);
1488
1488
  }
1489
1489
  function Qe(t) {
1490
1490
  if (t === null || t === !0 || t === !1)
@@ -1499,7 +1499,7 @@ function ge(t, e) {
1499
1499
  function be(t) {
1500
1500
  ge(1, arguments);
1501
1501
  var e = Object.prototype.toString.call(t);
1502
- return t instanceof Date || Da(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1502
+ return t instanceof Date || Ha(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "string" || e === "[object String]") && typeof console < "u" && (console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"), console.warn(new Error().stack)), /* @__PURE__ */ new Date(NaN));
1503
1503
  }
1504
1504
  function U2(t, e) {
1505
1505
  ge(2, arguments);
@@ -1507,7 +1507,7 @@ function U2(t, e) {
1507
1507
  return new Date(a + n);
1508
1508
  }
1509
1509
  var Z2 = {};
1510
- function ha() {
1510
+ function va() {
1511
1511
  return Z2;
1512
1512
  }
1513
1513
  function ra(t) {
@@ -1532,7 +1532,7 @@ function z2(t, e) {
1532
1532
  }
1533
1533
  var Ls = 6e4, Hs = 36e5;
1534
1534
  function x2(t) {
1535
- return ge(1, arguments), t instanceof Date || Da(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
1535
+ return ge(1, arguments), t instanceof Date || Ha(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
1536
1536
  }
1537
1537
  function Ds(t) {
1538
1538
  if (ge(1, arguments), !x2(t) && typeof t != "number")
@@ -1553,7 +1553,7 @@ function K2(t) {
1553
1553
  var n = e.getTime(), s = a - n;
1554
1554
  return Math.floor(s / Y2) + 1;
1555
1555
  }
1556
- function Pa(t) {
1556
+ function Da(t) {
1557
1557
  ge(1, arguments);
1558
1558
  var e = 1, a = be(t), n = a.getUTCDay(), s = (n < e ? 7 : 0) + n - e;
1559
1559
  return a.setUTCDate(a.getUTCDate() - s), a.setUTCHours(0, 0, 0, 0), a;
@@ -1562,28 +1562,28 @@ function Ps(t) {
1562
1562
  ge(1, arguments);
1563
1563
  var e = be(t), a = e.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
1564
1564
  n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
1565
- var s = Pa(n), o = /* @__PURE__ */ new Date(0);
1565
+ var s = Da(n), o = /* @__PURE__ */ new Date(0);
1566
1566
  o.setUTCFullYear(a, 0, 4), o.setUTCHours(0, 0, 0, 0);
1567
- var i = Pa(o);
1567
+ var i = Da(o);
1568
1568
  return e.getTime() >= s.getTime() ? a + 1 : e.getTime() >= i.getTime() ? a : a - 1;
1569
1569
  }
1570
1570
  function G2(t) {
1571
1571
  ge(1, arguments);
1572
1572
  var e = Ps(t), a = /* @__PURE__ */ new Date(0);
1573
1573
  a.setUTCFullYear(e, 0, 4), a.setUTCHours(0, 0, 0, 0);
1574
- var n = Pa(a);
1574
+ var n = Da(a);
1575
1575
  return n;
1576
1576
  }
1577
1577
  var X2 = 6048e5;
1578
1578
  function Q2(t) {
1579
1579
  ge(1, arguments);
1580
- var e = be(t), a = Pa(e).getTime() - G2(e).getTime();
1580
+ var e = be(t), a = Da(e).getTime() - G2(e).getTime();
1581
1581
  return Math.round(a / X2) + 1;
1582
1582
  }
1583
- function Va(t, e) {
1583
+ function Pa(t, e) {
1584
1584
  var a, n, s, o, i, r, l, c;
1585
1585
  ge(1, arguments);
1586
- var u = ha(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
1586
+ var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && s !== void 0 ? s : u.weekStartsOn) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.weekStartsOn) !== null && a !== void 0 ? a : 0);
1587
1587
  if (!(f >= 0 && f <= 6))
1588
1588
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1589
1589
  var d = be(t), h = d.getUTCDay(), w = (h < f ? 7 : 0) + h - f;
@@ -1592,28 +1592,28 @@ function Va(t, e) {
1592
1592
  function Vs(t, e) {
1593
1593
  var a, n, s, o, i, r, l, c;
1594
1594
  ge(1, arguments);
1595
- var u = be(t), f = u.getUTCFullYear(), d = ha(), h = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = d.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
1595
+ var u = be(t), f = u.getUTCFullYear(), d = va(), h = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : d.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = d.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
1596
1596
  if (!(h >= 1 && h <= 7))
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 g = Va(w, e), b = /* @__PURE__ */ new Date(0);
1600
+ var g = Pa(w, e), b = /* @__PURE__ */ new Date(0);
1601
1601
  b.setUTCFullYear(f, 0, h), b.setUTCHours(0, 0, 0, 0);
1602
- var S = Va(b, e);
1602
+ var S = Pa(b, e);
1603
1603
  return u.getTime() >= g.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;
1607
1607
  ge(1, arguments);
1608
- var u = ha(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d = Vs(t, e), h = /* @__PURE__ */ new Date(0);
1608
+ var u = va(), f = Qe((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (r = i.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && s !== void 0 ? s : u.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = u.locale) === null || l === void 0 || (c = l.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), d = Vs(t, e), h = /* @__PURE__ */ new Date(0);
1609
1609
  h.setUTCFullYear(d, 0, f), h.setUTCHours(0, 0, 0, 0);
1610
- var w = Va(h, e);
1610
+ var w = Pa(h, e);
1611
1611
  return w;
1612
1612
  }
1613
1613
  var e0 = 6048e5;
1614
1614
  function t0(t, e) {
1615
1615
  ge(1, arguments);
1616
- var a = be(t), n = Va(a, e).getTime() - J2(a, e).getTime();
1616
+ var a = be(t), n = Pa(a, e).getTime() - J2(a, e).getTime();
1617
1617
  return Math.round(n / e0) + 1;
1618
1618
  }
1619
1619
  function ce(t, e) {
@@ -2724,7 +2724,7 @@ var G0 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, X0 = /P+p+|P+|
2724
2724
  function Ns(t, e, a) {
2725
2725
  var n, s, o, i, r, l, c, u, f, d, h, w, g, b, S, _, C, D;
2726
2726
  ge(2, arguments);
2727
- var I = String(e), L = ha(), 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);
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
2730
  var K = Qe((h = (w = (g = (b = a == null ? void 0 : a.weekStartsOn) !== null && b !== void 0 ? b : a == null || (S = a.locale) === null || S === void 0 || (_ = S.options) === null || _ === void 0 ? void 0 : _.weekStartsOn) !== null && g !== void 0 ? g : L.weekStartsOn) !== null && w !== void 0 ? w : (C = L.locale) === null || C === void 0 || (D = C.options) === null || D === void 0 ? void 0 : D.weekStartsOn) !== null && h !== void 0 ? h : 0);
@@ -2742,25 +2742,25 @@ function Ns(t, e, a) {
2742
2742
  weekStartsOn: K,
2743
2743
  locale: U,
2744
2744
  _originalDate: E
2745
- }, oe = I.match(X0).map(function(se) {
2746
- var O = se[0];
2747
- if (O === "p" || O === "P") {
2748
- var k = r0[O];
2749
- return k(se, U.formatLong);
2750
- }
2751
- return se;
2752
- }).join("").match(G0).map(function(se) {
2753
- if (se === "''")
2745
+ }, oe = I.match(X0).map(function(ne) {
2746
+ var T = ne[0];
2747
+ if (T === "p" || T === "P") {
2748
+ var k = r0[T];
2749
+ return k(ne, U.formatLong);
2750
+ }
2751
+ return ne;
2752
+ }).join("").match(G0).map(function(ne) {
2753
+ if (ne === "''")
2754
2754
  return "'";
2755
- var O = se[0];
2756
- if (O === "'")
2757
- return t3(se);
2758
- var k = s0[O];
2755
+ var T = ne[0];
2756
+ if (T === "'")
2757
+ return t3(ne);
2758
+ var k = s0[T];
2759
2759
  if (k)
2760
- return !(a != null && a.useAdditionalWeekYearTokens) && d0(se) && ds(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(se) && ds(se, e, String(t)), k(N, se, U.localize, W);
2761
- if (O.match(e3))
2762
- throw new RangeError("Format string contains an unescaped latin alphabet character `" + O + "`");
2763
- return se;
2760
+ return !(a != null && a.useAdditionalWeekYearTokens) && d0(ne) && ds(ne, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && c0(ne) && ds(ne, e, String(t)), k(N, ne, U.localize, W);
2761
+ if (T.match(e3))
2762
+ throw new RangeError("Format string contains an unescaped latin alphabet character `" + T + "`");
2763
+ return ne;
2764
2764
  }).join("");
2765
2765
  return oe;
2766
2766
  }
@@ -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), g = ha(), b = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : g.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 : g.weekStartsOn) !== null && i !== void 0 ? i : (f = g.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), g = va(), b = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : g.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 : g.weekStartsOn) !== null && i !== void 0 ? i : (f = g.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 (!b.localize)
2776
2776
  throw new RangeError("locale must contain localize property");
2777
2777
  if (!b.formatLong)
@@ -2819,17 +2819,17 @@ function la(t, e) {
2819
2819
  }
2820
2820
  return new Date(r + l + c);
2821
2821
  }
2822
- var Ma = {
2822
+ var Aa = {
2823
2823
  dateTimeDelimiter: /[T ]/,
2824
2824
  timeZoneDelimiter: /[Z ]/i,
2825
2825
  timezone: /([Z+-].*)$/
2826
2826
  }, n3 = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/, s3 = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/, i3 = /^([+-])(\d{2})(?::?(\d{2}))?$/;
2827
2827
  function o3(t) {
2828
- var e = {}, a = t.split(Ma.dateTimeDelimiter), n;
2828
+ var e = {}, a = t.split(Aa.dateTimeDelimiter), n;
2829
2829
  if (a.length > 2)
2830
2830
  return e;
2831
- if (/:/.test(a[0]) ? n = a[0] : (e.date = a[0], n = a[1], Ma.timeZoneDelimiter.test(e.date) && (e.date = t.split(Ma.timeZoneDelimiter)[0], n = t.substr(e.date.length, t.length))), n) {
2832
- var s = Ma.timezone.exec(n);
2831
+ if (/:/.test(a[0]) ? n = a[0] : (e.date = a[0], n = a[1], Aa.timeZoneDelimiter.test(e.date) && (e.date = t.split(Aa.timeZoneDelimiter)[0], n = t.substr(e.date.length, t.length))), n) {
2832
+ var s = Aa.timezone.exec(n);
2833
2833
  s ? (e.time = n.replace(s[1], ""), e.timezone = s[1]) : e.time = n;
2834
2834
  }
2835
2835
  return e;
@@ -2906,7 +2906,7 @@ function m3(t, e, a) {
2906
2906
  function C3(t, e) {
2907
2907
  return e >= 0 && e <= 59;
2908
2908
  }
2909
- var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ma = {}, Yt = {}, za = {};
2909
+ var Le = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ie = {}, Fs = {}, aa = {}, ha = {}, Yt = {}, za = {};
2910
2910
  Object.defineProperty(za, "__esModule", { value: !0 });
2911
2911
  za.lexoHelper = void 0;
2912
2912
  za.lexoHelper = {
@@ -2918,8 +2918,8 @@ function g3(t, e, a, n, s) {
2918
2918
  for (let r = e; r < i; r++)
2919
2919
  a[o] = t[r], ++o;
2920
2920
  }
2921
- var Ca = {};
2922
- Object.defineProperty(Ca, "__esModule", { value: !0 });
2921
+ var ma = {};
2922
+ Object.defineProperty(ma, "__esModule", { value: !0 });
2923
2923
  class _3 {
2924
2924
  constructor(e = "") {
2925
2925
  this.str = e;
@@ -2943,11 +2943,11 @@ class _3 {
2943
2943
  return this.str;
2944
2944
  }
2945
2945
  }
2946
- Ca.default = _3;
2946
+ ma.default = _3;
2947
2947
  Object.defineProperty(Yt, "__esModule", { value: !0 });
2948
2948
  Yt.LexoInteger = void 0;
2949
- const Ta = za, y3 = Ca;
2950
- class ne {
2949
+ const Ma = za, y3 = ma;
2950
+ class ae {
2951
2951
  constructor(e, a, n) {
2952
2952
  this.sys = e, this.sign = a, this.mag = n;
2953
2953
  }
@@ -2958,24 +2958,24 @@ class ne {
2958
2958
  let i = o.length - 1;
2959
2959
  for (let r = 0; i >= 0; ++r)
2960
2960
  o[r] = a.toDigit(n.charAt(i)), --i;
2961
- return ne.make(a, s, o);
2961
+ return ae.make(a, s, o);
2962
2962
  }
2963
2963
  static zero(e) {
2964
- return new ne(e, 0, ne.ZERO_MAG);
2964
+ return new ae(e, 0, ae.ZERO_MAG);
2965
2965
  }
2966
2966
  static one(e) {
2967
- return ne.make(e, 1, ne.ONE_MAG);
2967
+ return ae.make(e, 1, ae.ONE_MAG);
2968
2968
  }
2969
2969
  static make(e, a, n) {
2970
2970
  let s;
2971
2971
  for (s = n.length; s > 0 && n[s - 1] === 0; --s)
2972
2972
  ;
2973
2973
  if (s === 0)
2974
- return ne.zero(e);
2974
+ return ae.zero(e);
2975
2975
  if (s === n.length)
2976
- return new ne(e, a, n);
2976
+ return new ae(e, a, n);
2977
2977
  const o = new Array(s).fill(0);
2978
- return Ta.lexoHelper.arrayCopy(n, 0, o, 0, s), new ne(e, a, o);
2978
+ return Ma.lexoHelper.arrayCopy(n, 0, o, 0, s), new ae(e, a, o);
2979
2979
  }
2980
2980
  static add(e, a, n) {
2981
2981
  const s = Math.max(a.length, n.length), o = new Array(s).fill(0);
@@ -2987,18 +2987,18 @@ class ne {
2987
2987
  ++i;
2988
2988
  o[r] = u;
2989
2989
  }
2990
- return ne.extendWithCarry(o, i);
2990
+ return ae.extendWithCarry(o, i);
2991
2991
  }
2992
2992
  static extendWithCarry(e, a) {
2993
2993
  if (a > 0) {
2994
2994
  const n = new Array(e.length + 1).fill(0);
2995
- return Ta.lexoHelper.arrayCopy(e, 0, n, 0, e.length), n[n.length - 1] = a, n;
2995
+ return Ma.lexoHelper.arrayCopy(e, 0, n, 0, e.length), n[n.length - 1] = a, n;
2996
2996
  }
2997
2997
  return e;
2998
2998
  }
2999
2999
  static subtract(e, a, n) {
3000
- const s = ne.complement(e, n, a.length), o = ne.add(e, a, s);
3001
- return o[o.length - 1] = 0, ne.add(e, o, ne.ONE_MAG);
3000
+ const s = ae.complement(e, n, a.length), o = ae.add(e, a, s);
3001
+ return o[o.length - 1] = 0, ae.add(e, o, ae.ONE_MAG);
3002
3002
  }
3003
3003
  static multiply(e, a, n) {
3004
3004
  const s = new Array(a.length + n.length).fill(0);
@@ -3040,8 +3040,8 @@ class ne {
3040
3040
  let n;
3041
3041
  return this.sign === -1 ? (n = this.negate(), n.subtract(e).negate()) : (n = e.negate(), this.subtract(n));
3042
3042
  }
3043
- const a = ne.add(this.sys, this.mag, e.mag);
3044
- return ne.make(this.sys, this.sign, a);
3043
+ const a = ae.add(this.sys, this.mag, e.mag);
3044
+ return ae.make(this.sys, this.sign, a);
3045
3045
  }
3046
3046
  subtract(e) {
3047
3047
  if (this.checkSystem(e), this.isZero())
@@ -3052,8 +3052,8 @@ class ne {
3052
3052
  let n;
3053
3053
  return this.sign === -1 ? (n = this.negate(), n.add(e).negate()) : (n = e.negate(), this.add(n));
3054
3054
  }
3055
- const a = ne.compare(this.mag, e.mag);
3056
- return a === 0 ? ne.zero(this.sys) : a < 0 ? ne.make(this.sys, this.sign === -1 ? 1 : -1, ne.subtract(this.sys, e.mag, this.mag)) : ne.make(this.sys, this.sign === -1 ? -1 : 1, ne.subtract(this.sys, this.mag, e.mag));
3055
+ const a = ae.compare(this.mag, e.mag);
3056
+ return a === 0 ? ae.zero(this.sys) : a < 0 ? ae.make(this.sys, this.sign === -1 ? 1 : -1, ae.subtract(this.sys, e.mag, this.mag)) : ae.make(this.sys, this.sign === -1 ? -1 : 1, ae.subtract(this.sys, this.mag, e.mag));
3057
3057
  }
3058
3058
  multiply(e) {
3059
3059
  if (this.checkSystem(e), this.isZero())
@@ -3061,14 +3061,14 @@ class ne {
3061
3061
  if (e.isZero())
3062
3062
  return e;
3063
3063
  if (this.isOneish())
3064
- return this.sign === e.sign ? ne.make(this.sys, 1, e.mag) : ne.make(this.sys, -1, e.mag);
3064
+ return this.sign === e.sign ? ae.make(this.sys, 1, e.mag) : ae.make(this.sys, -1, e.mag);
3065
3065
  if (e.isOneish())
3066
- return this.sign === e.sign ? ne.make(this.sys, 1, this.mag) : ne.make(this.sys, -1, this.mag);
3067
- const a = ne.multiply(this.sys, this.mag, e.mag);
3068
- return this.sign === e.sign ? ne.make(this.sys, 1, a) : ne.make(this.sys, -1, a);
3066
+ return this.sign === e.sign ? ae.make(this.sys, 1, this.mag) : ae.make(this.sys, -1, this.mag);
3067
+ const a = ae.multiply(this.sys, this.mag, e.mag);
3068
+ return this.sign === e.sign ? ae.make(this.sys, 1, a) : ae.make(this.sys, -1, a);
3069
3069
  }
3070
3070
  negate() {
3071
- return this.isZero() ? this : ne.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
3071
+ return this.isZero() ? this : ae.make(this.sys, this.sign === 1 ? -1 : 1, this.mag);
3072
3072
  }
3073
3073
  shiftLeft(e = 1) {
3074
3074
  if (e === 0)
@@ -3076,19 +3076,19 @@ class ne {
3076
3076
  if (e < 0)
3077
3077
  return this.shiftRight(Math.abs(e));
3078
3078
  const a = new Array(this.mag.length + e).fill(0);
3079
- return Ta.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length), ne.make(this.sys, this.sign, a);
3079
+ return Ma.lexoHelper.arrayCopy(this.mag, 0, a, e, this.mag.length), ae.make(this.sys, this.sign, a);
3080
3080
  }
3081
3081
  shiftRight(e = 1) {
3082
3082
  if (this.mag.length - e <= 0)
3083
- return ne.zero(this.sys);
3083
+ return ae.zero(this.sys);
3084
3084
  const a = new Array(this.mag.length - e).fill(0);
3085
- return Ta.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length), ne.make(this.sys, this.sign, a);
3085
+ return Ma.lexoHelper.arrayCopy(this.mag, e, a, 0, a.length), ae.make(this.sys, this.sign, a);
3086
3086
  }
3087
3087
  complement() {
3088
3088
  return this.complementDigits(this.mag.length);
3089
3089
  }
3090
3090
  complementDigits(e) {
3091
- return ne.make(this.sys, this.sign, ne.complement(this.sys, this.mag, e));
3091
+ return ae.make(this.sys, this.sign, ae.complement(this.sys, this.mag, e));
3092
3092
  }
3093
3093
  isZero() {
3094
3094
  return this.sign === 0 && this.mag.length === 1 && this.mag[0] === 0;
@@ -3106,12 +3106,12 @@ class ne {
3106
3106
  return 1;
3107
3107
  if (this.sign === -1) {
3108
3108
  if (e.sign === -1) {
3109
- const a = ne.compare(this.mag, e.mag);
3109
+ const a = ae.compare(this.mag, e.mag);
3110
3110
  return a === -1 ? 1 : a === 1 ? -1 : 0;
3111
3111
  }
3112
3112
  return -1;
3113
3113
  }
3114
- return this.sign === 1 ? e.sign === 1 ? ne.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
3114
+ return this.sign === 1 ? e.sign === 1 ? ae.compare(this.mag, e.mag) : 1 : e.sign === -1 ? 1 : e.sign === 1 ? -1 : 0;
3115
3115
  }
3116
3116
  getSystem() {
3117
3117
  return this.sys;
@@ -3140,15 +3140,15 @@ class ne {
3140
3140
  throw new Error("Expected numbers of same numeral sys");
3141
3141
  }
3142
3142
  }
3143
- Yt.LexoInteger = ne;
3144
- ne.ZERO_MAG = [0];
3145
- ne.ONE_MAG = [1];
3146
- ne.NEGATIVE_SIGN = -1;
3147
- ne.ZERO_SIGN = 0;
3148
- ne.POSITIVE_SIGN = 1;
3149
- Object.defineProperty(ma, "__esModule", { value: !0 });
3150
- ma.LexoDecimal = void 0;
3151
- const na = Yt, b3 = Ca;
3143
+ Yt.LexoInteger = ae;
3144
+ ae.ZERO_MAG = [0];
3145
+ ae.ONE_MAG = [1];
3146
+ ae.NEGATIVE_SIGN = -1;
3147
+ ae.ZERO_SIGN = 0;
3148
+ ae.POSITIVE_SIGN = 1;
3149
+ Object.defineProperty(ha, "__esModule", { value: !0 });
3150
+ ha.LexoDecimal = void 0;
3151
+ const na = Yt, b3 = ma;
3152
3152
  class Oe {
3153
3153
  constructor(e, a) {
3154
3154
  this.mag = e, this.sig = a;
@@ -3252,12 +3252,12 @@ class Oe {
3252
3252
  return this.format();
3253
3253
  }
3254
3254
  }
3255
- ma.LexoDecimal = Oe;
3256
- var Oa = {}, ps;
3255
+ ha.LexoDecimal = Oe;
3256
+ var Ta = {}, ps;
3257
3257
  function Us() {
3258
3258
  if (ps)
3259
- return Oa;
3260
- ps = 1, Object.defineProperty(Oa, "__esModule", { value: !0 });
3259
+ return Ta;
3260
+ ps = 1, Object.defineProperty(Ta, "__esModule", { value: !0 });
3261
3261
  const t = Yt, e = Ws();
3262
3262
  class a {
3263
3263
  constructor(s) {
@@ -3309,7 +3309,7 @@ function Us() {
3309
3309
  return this === s ? !0 : s ? this.value.equals(s.value) : !1;
3310
3310
  }
3311
3311
  }
3312
- return Oa.default = a, Oa;
3312
+ return Ta.default = a, Ta;
3313
3313
  }
3314
3314
  var Mn = {}, Zs = {};
3315
3315
  Object.defineProperty(Zs, "__esModule", { value: !0 });
@@ -3427,7 +3427,7 @@ function Ws() {
3427
3427
  if (fs)
3428
3428
  return aa;
3429
3429
  fs = 1, Object.defineProperty(aa, "__esModule", { value: !0 }), aa.LexoRank = void 0;
3430
- const t = ma, e = Us(), a = Ca, n = Mn;
3430
+ const t = ha, e = Us(), a = ma, n = Mn;
3431
3431
  class s {
3432
3432
  constructor(i, r) {
3433
3433
  this.value = i.format() + "|" + s.formatDecimal(r), this.bucket = i, this.decimal = r;
@@ -3613,7 +3613,7 @@ function Ws() {
3613
3613
  for (var o in n)
3614
3614
  o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
3615
3615
  };
3616
- Object.defineProperty(t, "__esModule", { value: !0 }), a(Ws(), t), a(Us(), t), a(ma, t), a(Yt, t);
3616
+ Object.defineProperty(t, "__esModule", { value: !0 }), a(Ws(), t), a(Us(), t), a(ha, t), a(Yt, t);
3617
3617
  })(Fs);
3618
3618
  (function(t) {
3619
3619
  var e = Le && Le.__createBinding || (Object.create ? function(n, s, o, i) {
@@ -3652,7 +3652,7 @@ function A3(t) {
3652
3652
  function M3(t) {
3653
3653
  return t.split(" ").slice(0, 2).map((e) => e.charAt(0).toLocaleLowerCase()).join("");
3654
3654
  }
3655
- function ga(t, e) {
3655
+ function Ca(t, e) {
3656
3656
  if (t.moved)
3657
3657
  return jt(e, t.moved.newIndex);
3658
3658
  }
@@ -3717,12 +3717,12 @@ const zs = (t) => {
3717
3717
  class: Q(n.value),
3718
3718
  title: i.userName
3719
3719
  }, [
3720
- i.avatarUrl ? T("", !0) : (p(), m("span", I3, x(J(s)), 1)),
3720
+ i.avatarUrl ? O("", !0) : (p(), m("span", I3, x(J(s)), 1)),
3721
3721
  i.avatarUrl ? (p(), m("img", {
3722
3722
  key: 1,
3723
3723
  className: "ao-avatar__image",
3724
3724
  src: i.avatarUrl
3725
- }, null, 8, L3)) : T("", !0),
3725
+ }, null, 8, L3)) : O("", !0),
3726
3726
  i.isClosable ? (p(), P(ue, {
3727
3727
  key: 2,
3728
3728
  "icon-name": "CloseRounded",
@@ -3730,7 +3730,7 @@ const zs = (t) => {
3730
3730
  color: i.color,
3731
3731
  corners: "round",
3732
3732
  onClick: fe(o, ["stop"])
3733
- }, null, 8, ["color", "onClick"])) : T("", !0)
3733
+ }, null, 8, ["color", "onClick"])) : O("", !0)
3734
3734
  ], 10, E3));
3735
3735
  }
3736
3736
  });
@@ -3800,7 +3800,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3800
3800
  color: "primary",
3801
3801
  variant: "solid"
3802
3802
  }, null, 8, ["label"]))), 128))
3803
- ])) : T("", !0)
3803
+ ])) : O("", !0)
3804
3804
  ])
3805
3805
  ])
3806
3806
  ]),
@@ -3817,7 +3817,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3817
3817
  v("div", x3, [
3818
3818
  v("span", null, x(n.updatedAt), 1)
3819
3819
  ])
3820
- ])) : T("", !0),
3820
+ ])) : O("", !0),
3821
3821
  n.updatedBy ? (p(), m("div", Y3, [
3822
3822
  v("div", K3, [
3823
3823
  v("span", G3, x(n.$t("template.updatedBy.label")), 1)
@@ -3825,7 +3825,7 @@ const H3 = { class: "ao-card-template__subitems" }, D3 = { class: "ao-card-templ
3825
3825
  v("div", X3, [
3826
3826
  M(Je, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3827
3827
  ])
3828
- ])) : T("", !0)
3828
+ ])) : O("", !0)
3829
3829
  ])
3830
3830
  ]),
3831
3831
  key: "0"
@@ -3850,12 +3850,12 @@ const J3 = { class: "ao-page-header" }, e5 = { class: "ao-page-header-main" }, t
3850
3850
  "icon-name": "ArrowBackRounded",
3851
3851
  variant: "ghost",
3852
3852
  onClick: a[0] || (a[0] = (n) => e.$emit("goBack"))
3853
- })) : T("", !0),
3853
+ })) : O("", !0),
3854
3854
  te(e.$slots, "primary")
3855
3855
  ]),
3856
3856
  e.$slots.secondary ? (p(), m("div", t5, [
3857
3857
  te(e.$slots, "secondary")
3858
- ])) : T("", !0)
3858
+ ])) : O("", !0)
3859
3859
  ]));
3860
3860
  }
3861
3861
  });
@@ -3886,14 +3886,14 @@ const a5 = ["type"], n5 = {
3886
3886
  ])
3887
3887
  }, [
3888
3888
  te(s.$slots, "default", {}, () => [
3889
- s.label ? (p(), m("span", n5, x(s.label), 1)) : T("", !0)
3889
+ s.label ? (p(), m("span", n5, x(s.label), 1)) : O("", !0)
3890
3890
  ]),
3891
3891
  n.value ? (p(), P(pe, {
3892
3892
  key: 0,
3893
3893
  name: n.value,
3894
3894
  class: "ao-button-card__icon",
3895
3895
  size: a.value
3896
- }, null, 8, ["name", "size"])) : T("", !0)
3896
+ }, null, 8, ["name", "size"])) : O("", !0)
3897
3897
  ], 10, a5));
3898
3898
  }
3899
3899
  });
@@ -3930,7 +3930,7 @@ const s5 = { class: "ao-card-template-item__footer" }, i5 = {
3930
3930
  size: "sm"
3931
3931
  }, null, 8, ["name"]),
3932
3932
  v("span", o5, x(i.$props[l]), 1)
3933
- ])) : T("", !0)
3933
+ ])) : O("", !0)
3934
3934
  ], 64))), 64))
3935
3935
  ])
3936
3936
  ]),
@@ -4007,7 +4007,7 @@ const l5 = /* @__PURE__ */ Y({
4007
4007
  e("updateMilestone", r);
4008
4008
  }, i = (r) => {
4009
4009
  if (r.moved) {
4010
- const l = ga(r, a.phase.milestones);
4010
+ const l = Ca(r, a.phase.milestones);
4011
4011
  e("updateMilestone", {
4012
4012
  id: r.moved.element.id,
4013
4013
  rank: l
@@ -4057,7 +4057,7 @@ const l5 = /* @__PURE__ */ Y({
4057
4057
  ])
4058
4058
  ]),
4059
4059
  _: 1
4060
- }, 8, ["model-value", "title"])) : T("", !0);
4060
+ }, 8, ["model-value", "title"])) : O("", !0);
4061
4061
  }
4062
4062
  }), p5 = /* @__PURE__ */ Y({
4063
4063
  __name: "AoCardTemplateItemActivity",
@@ -4097,7 +4097,7 @@ const l5 = /* @__PURE__ */ Y({
4097
4097
  e("removeActivity", { id: r });
4098
4098
  }, i = (r) => {
4099
4099
  if (r.moved) {
4100
- const l = ga(r, a.milestone.activities);
4100
+ const l = Ca(r, a.milestone.activities);
4101
4101
  e("updateActivity", {
4102
4102
  id: r.moved.element.id,
4103
4103
  rank: l
@@ -4143,7 +4143,7 @@ const l5 = /* @__PURE__ */ Y({
4143
4143
  ])
4144
4144
  ]),
4145
4145
  _: 1
4146
- }, 8, ["model-value", "title"])) : T("", !0);
4146
+ }, 8, ["model-value", "title"])) : O("", !0);
4147
4147
  }
4148
4148
  }), h5 = { class: "ao-modal" }, m5 = {
4149
4149
  key: 0,
@@ -4178,18 +4178,18 @@ const l5 = /* @__PURE__ */ Y({
4178
4178
  v("header", g5, [
4179
4179
  te(e.$slots, "header")
4180
4180
  ])
4181
- ])) : T("", !0),
4181
+ ])) : O("", !0),
4182
4182
  v("div", _5, [
4183
4183
  te(e.$slots, "default")
4184
4184
  ]),
4185
4185
  e.$slots.footer ? (p(), m("footer", y5, [
4186
4186
  te(e.$slots, "footer")
4187
- ])) : T("", !0)
4187
+ ])) : O("", !0)
4188
4188
  ])
4189
4189
  ], 2));
4190
4190
  }
4191
4191
  });
4192
- const ua = Math.min, Ee = Math.max, Ba = Math.round, Ea = Math.floor, pt = (t) => ({
4192
+ const ua = Math.min, Ee = Math.max, Va = Math.round, Oa = Math.floor, pt = (t) => ({
4193
4193
  x: t,
4194
4194
  y: t
4195
4195
  }), b5 = {
@@ -4226,10 +4226,10 @@ function k5(t, e, a) {
4226
4226
  a === void 0 && (a = !1);
4227
4227
  const n = Xa(t), s = Ys(t), o = xs(s);
4228
4228
  let i = s === "x" ? n === (a ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
4229
- return e.reference[o] > e.floating[o] && (i = Ra(i)), [i, Ra(i)];
4229
+ return e.reference[o] > e.floating[o] && (i = Ba(i)), [i, Ba(i)];
4230
4230
  }
4231
4231
  function S5(t) {
4232
- const e = Ra(t);
4232
+ const e = Ba(t);
4233
4233
  return [_n(t), e, _n(e)];
4234
4234
  }
4235
4235
  function _n(t) {
@@ -4253,7 +4253,7 @@ function M5(t, e, a, n) {
4253
4253
  let o = A5(Ft(t), a === "start", n);
4254
4254
  return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(_n)))), o;
4255
4255
  }
4256
- function Ra(t) {
4256
+ function Ba(t) {
4257
4257
  return t.replace(/left|right|bottom|top/g, (e) => b5[e]);
4258
4258
  }
4259
4259
  function T5(t) {
@@ -4273,7 +4273,7 @@ function O5(t) {
4273
4273
  left: t
4274
4274
  };
4275
4275
  }
4276
- function Na(t) {
4276
+ function Ra(t) {
4277
4277
  return {
4278
4278
  ...t,
4279
4279
  top: t.y,
@@ -4410,7 +4410,7 @@ async function Ks(t, e) {
4410
4410
  elementContext: f = "floating",
4411
4411
  altBoundary: d = !1,
4412
4412
  padding: h = 0
4413
- } = Ln(e, t), w = O5(h), b = r[d ? f === "floating" ? "reference" : "floating" : f], S = Na(await o.getClippingRect({
4413
+ } = Ln(e, t), w = O5(h), b = r[d ? f === "floating" ? "reference" : "floating" : f], S = Ra(await o.getClippingRect({
4414
4414
  element: (a = await (o.isElement == null ? void 0 : o.isElement(b))) == null || a ? b : b.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(r.floating)),
4415
4415
  boundary: c,
4416
4416
  rootBoundary: u,
@@ -4425,7 +4425,7 @@ async function Ks(t, e) {
4425
4425
  } : {
4426
4426
  x: 1,
4427
4427
  y: 1
4428
- }, I = Na(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4428
+ }, I = Ra(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
4429
4429
  rect: _,
4430
4430
  offsetParent: C,
4431
4431
  strategy: l
@@ -4461,7 +4461,7 @@ const I5 = function(t) {
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, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !g ? [Ra(r)] : S5(r));
4464
+ const S = Ft(s), _ = Ft(r) === r, C = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), D = d || (_ || !g ? [Ba(r)] : S5(r));
4465
4465
  !d && w !== "none" && D.push(...M5(r, g, w, C));
4466
4466
  const I = [r, ...D], L = await Ks(e, b), U = [];
4467
4467
  let Z = ((n = o.flip) == null ? void 0 : n.overflows) || [];
@@ -4485,13 +4485,13 @@ const I5 = function(t) {
4485
4485
  placement: W
4486
4486
  }
4487
4487
  };
4488
- let oe = (E = Z.filter((se) => se.overflows[0] <= 0).sort((se, O) => se.overflows[1] - O.overflows[1])[0]) == null ? void 0 : E.placement;
4488
+ let oe = (E = Z.filter((ne) => ne.overflows[0] <= 0).sort((ne, T) => ne.overflows[1] - T.overflows[1])[0]) == null ? void 0 : E.placement;
4489
4489
  if (!oe)
4490
4490
  switch (h) {
4491
4491
  case "bestFit": {
4492
4492
  var G;
4493
- const se = (G = Z.map((O) => [O.placement, O.overflows.filter((k) => k > 0).reduce((k, F) => k + F, 0)]).sort((O, k) => O[1] - k[1])[0]) == null ? void 0 : G[0];
4494
- se && (oe = se);
4493
+ const ne = (G = Z.map((T) => [T.placement, T.overflows.filter((k) => k > 0).reduce((k, F) => k + F, 0)]).sort((T, k) => T[1] - k[1])[0]) == null ? void 0 : G[0];
4494
+ ne && (oe = ne);
4495
4495
  break;
4496
4496
  }
4497
4497
  case "initialPlacement":
@@ -4578,7 +4578,7 @@ function Ue(t) {
4578
4578
  function hs(t) {
4579
4579
  return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof ke(t).ShadowRoot;
4580
4580
  }
4581
- function _a(t) {
4581
+ function ga(t) {
4582
4582
  const {
4583
4583
  overflow: e,
4584
4584
  overflowX: a,
@@ -4635,18 +4635,18 @@ function Ut(t) {
4635
4635
  }
4636
4636
  function Xs(t) {
4637
4637
  const e = Ut(t);
4638
- return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && _a(e) ? e : Xs(e);
4638
+ return Qa(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ue(e) && ga(e) ? e : Xs(e);
4639
4639
  }
4640
4640
  function ca(t, e, a) {
4641
4641
  var n;
4642
4642
  e === void 0 && (e = []), a === void 0 && (a = !0);
4643
4643
  const s = Xs(t), o = s === ((n = t.ownerDocument) == null ? void 0 : n.body), i = ke(s);
4644
- return o ? e.concat(i, i.visualViewport || [], _a(s) ? s : [], i.frameElement && a ? ca(i.frameElement) : []) : e.concat(s, ca(s));
4644
+ return o ? e.concat(i, i.visualViewport || [], ga(s) ? s : [], i.frameElement && a ? ca(i.frameElement) : []) : e.concat(s, ca(s));
4645
4645
  }
4646
4646
  function Qs(t) {
4647
4647
  const e = Ve(t);
4648
4648
  let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
4649
- const s = Ue(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Ba(a) !== o || Ba(n) !== i;
4649
+ const s = Ue(t), o = s ? t.offsetWidth : a, i = s ? t.offsetHeight : n, r = Va(a) !== o || Va(n) !== i;
4650
4650
  return r && (a = o, n = i), {
4651
4651
  width: a,
4652
4652
  height: n,
@@ -4665,7 +4665,7 @@ function Vt(t) {
4665
4665
  height: s,
4666
4666
  $: o
4667
4667
  } = Qs(e);
4668
- let i = (o ? Ba(a.width) : a.width) / n, r = (o ? Ba(a.height) : a.height) / s;
4668
+ let i = (o ? Va(a.width) : a.width) / n, r = (o ? Va(a.height) : a.height) / s;
4669
4669
  return (!i || !Number.isFinite(i)) && (i = 1), (!r || !Number.isFinite(r)) && (r = 1), {
4670
4670
  x: i,
4671
4671
  y: r
@@ -4697,7 +4697,7 @@ function St(t, e, a, n) {
4697
4697
  l *= g.x, c *= g.y, u *= g.x, f *= g.y, l += _, c += C, w = ke(w).frameElement;
4698
4698
  }
4699
4699
  }
4700
- return Na({
4700
+ return Ra({
4701
4701
  width: u,
4702
4702
  height: f,
4703
4703
  x: l,
@@ -4718,7 +4718,7 @@ function B5(t) {
4718
4718
  scrollTop: 0
4719
4719
  }, r = pt(1);
4720
4720
  const l = pt(0);
4721
- if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || _a(o)) && (i = Ja(a)), Ue(a))) {
4721
+ if ((s || !s && n !== "fixed") && ((ft(a) !== "body" || ga(o)) && (i = Ja(a)), Ue(a))) {
4722
4722
  const c = St(a);
4723
4723
  r = Vt(a), l.x = c.x + a.clientLeft, l.y = c.y + a.clientTop;
4724
4724
  }
@@ -4786,7 +4786,7 @@ function ms(t, e, a) {
4786
4786
  y: e.y - s.y
4787
4787
  };
4788
4788
  }
4789
- return Na(n);
4789
+ return Ra(n);
4790
4790
  }
4791
4791
  function ti(t, e) {
4792
4792
  const a = Ut(t);
@@ -4801,7 +4801,7 @@ function U5(t, e) {
4801
4801
  let i = o ? Ut(t) : t;
4802
4802
  for (; et(i) && !Qa(i); ) {
4803
4803
  const r = Ve(i), l = Dn(i);
4804
- !l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || _a(i) && !l && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(i);
4804
+ !l && r.position === "fixed" && (s = null), (o ? !l && !s : !l && r.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ga(i) && !l && ti(t, i)) ? n = n.filter((u) => u !== i) : s = r, i = Ut(i);
4805
4805
  }
4806
4806
  return e.set(t, n), n;
4807
4807
  }
@@ -4834,7 +4834,7 @@ function q5(t, e, a) {
4834
4834
  };
4835
4835
  const l = pt(0);
4836
4836
  if (n || !n && !o)
4837
- if ((ft(e) !== "body" || _a(s)) && (r = Ja(e)), n) {
4837
+ if ((ft(e) !== "body" || ga(s)) && (r = Ja(e)), n) {
4838
4838
  const c = St(e, !0, o, e);
4839
4839
  l.x = c.x + e.clientLeft, l.y = c.y + e.clientTop;
4840
4840
  } else
@@ -4905,7 +4905,7 @@ function K5(t, e) {
4905
4905
  } = t.getBoundingClientRect();
4906
4906
  if (r || e(), !f || !d)
4907
4907
  return;
4908
- const h = Ea(u), w = Ea(s.clientWidth - (c + f)), g = Ea(s.clientHeight - (u + d)), b = Ea(c), _ = {
4908
+ const h = Oa(u), w = Oa(s.clientWidth - (c + f)), g = Oa(s.clientHeight - (u + d)), b = Oa(c), _ = {
4909
4909
  rootMargin: -h + "px " + -w + "px " + -g + "px " + -b + "px",
4910
4910
  threshold: Ee(0, ua(1, l)) || 1
4911
4911
  };
@@ -5152,16 +5152,16 @@ function i7(t, e, a) {
5152
5152
  closeOnSelect: N,
5153
5153
  closeOnDeselect: W,
5154
5154
  groups: oe,
5155
- reverse: se,
5156
- infinite: O,
5155
+ reverse: ne,
5156
+ infinite: T,
5157
5157
  groupOptions: k,
5158
5158
  groupHideEmpty: F,
5159
5159
  groupSelect: V,
5160
- onCreate: ae,
5160
+ onCreate: se,
5161
5161
  disabledProp: y,
5162
5162
  searchStart: R,
5163
5163
  searchFilter: le
5164
- } = Ae(t), ie = Mt().proxy, q = a.iv, H = a.ev, X = a.search, ve = a.clearSearch, we = a.update, Kt = a.pointer, Gt = a.setPointer, nt = a.clearPointer, ya = a.focus, nn = a.deactivate, st = a.close, ba = 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), wa = A(() => f.value !== void 0 ? f.value : d.value !== void 0 ? d.value : !0), Te = A(() => {
5164
+ } = Ae(t), ie = Mt().proxy, q = a.iv, H = a.ev, X = 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(T.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(() => {
5165
5165
  if (oe.value) {
5166
5166
  let $ = _t.value || /* istanbul ignore next */
5167
5167
  [], B = [];
@@ -5177,7 +5177,7 @@ function i7(t, e, a) {
5177
5177
  }
5178
5178
  }), Qt = A(() => {
5179
5179
  let $ = Te.value;
5180
- return se.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), cn($);
5180
+ return ne.value && ($ = $.reverse()), Ot.value.length && ($ = Ot.value.concat($)), cn($);
5181
5181
  }), ot = A(() => {
5182
5182
  let $ = Qt.value;
5183
5183
  return qe.value > 0 && ($ = $.slice(0, qe.value)), $;
@@ -5191,7 +5191,7 @@ function i7(t, e, a) {
5191
5191
  [k.value]: [...it.value],
5192
5192
  __CREATE__: !0
5193
5193
  }), $.concat(B);
5194
- }), $a = A(() => {
5194
+ }), wa = A(() => {
5195
5195
  let $ = [..._t.value].map((B) => ({ ...B }));
5196
5196
  return Ot.value.length && ($[0] && $[0].__CREATE__ ? $[0][k.value] = [...Ot.value, ...$[0][k.value]] : $ = [{
5197
5197
  [Z.value]: " ",
@@ -5201,7 +5201,7 @@ function i7(t, e, a) {
5201
5201
  }), sn = A(() => {
5202
5202
  if (!oe.value)
5203
5203
  return [];
5204
- let $ = $a.value;
5204
+ let $ = wa.value;
5205
5205
  return Ai(($ || /* istanbul ignore next */
5206
5206
  []).map((B, re) => {
5207
5207
  const me = dn(B[k.value]);
@@ -5278,7 +5278,7 @@ function i7(t, e, a) {
5278
5278
  }
5279
5279
  }, rn = ($) => $[y.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
- if (ae && ae.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = ae.value($, ie), $ instanceof Promise)) {
5281
+ if (se && se.value && !ze($) && $.__CREATE__ && ($ = { ...$ }, delete $.__CREATE__, $ = se.value($, ie), $ instanceof Promise)) {
5282
5282
  Me.value = !0, $.then((B) => {
5283
5283
  Me.value = !1, ns(B);
5284
5284
  });
@@ -5318,7 +5318,7 @@ function i7(t, e, a) {
5318
5318
  $ && un($), I.value && ve(), $ && Et($), r.value && nt(), N.value && st();
5319
5319
  break;
5320
5320
  }
5321
- N.value || ya();
5321
+ N.value || _a();
5322
5322
  }, _i = ($) => {
5323
5323
  if (!(rn($) || s.value === "single" || !V.value)) {
5324
5324
  switch (s.value) {
@@ -5332,7 +5332,7 @@ function i7(t, e, a) {
5332
5332
  N.value && nn();
5333
5333
  }
5334
5334
  }, un = ($) => {
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), wa.value && Si($), ve());
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
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 = ($) => {
@@ -5344,7 +5344,7 @@ function i7(t, e, a) {
5344
5344
  if (X.value && C.value) {
5345
5345
  let me = le.value;
5346
5346
  me || (me = (bt, is, v8) => yt.value.some((Ti) => {
5347
- let os = hn(ba(bt[Ti]), G.value);
5347
+ let os = hn(ya(bt[Ti]), G.value);
5348
5348
  return R.value ? os.startsWith(hn(is, G.value)) : os.indexOf(hn(is, G.value)) !== -1;
5349
5349
  })), re = re.filter((bt) => me(bt, X.value, ie));
5350
5350
  }
@@ -5355,9 +5355,9 @@ function i7(t, e, a) {
5355
5355
  let me = B[re];
5356
5356
  return { [L.value]: re, [yt.value[0]]: me, [u.value]: me };
5357
5357
  })), B = B.map((re) => typeof re == "object" ? re : { [L.value]: re, [yt.value[0]]: re, [u.value]: re }), B;
5358
- }, ka = () => {
5359
- je(H.value) || (q.value = Aa(H.value));
5360
- }, Sa = ($) => (Me.value = !0, new Promise((B, re) => {
5358
+ }, $a = () => {
5359
+ je(H.value) || (q.value = Sa(H.value));
5360
+ }, ka = ($) => (Me.value = !0, new Promise((B, re) => {
5361
5361
  n.value(X.value, ie).then((me) => {
5362
5362
  Ne.value = me || [], typeof $ == "function" && $(me), Me.value = !1;
5363
5363
  }).catch((me) => {
@@ -5382,8 +5382,8 @@ function i7(t, e, a) {
5382
5382
  }
5383
5383
  });
5384
5384
  }, Mi = ($) => {
5385
- Sa($);
5386
- }, Aa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (U.value ? {
5385
+ ka($);
5386
+ }, Sa = ($) => je($) ? s.value === "single" ? {} : [] : w.value ? $ : s.value === "single" ? xe($) || (U.value ? {
5387
5387
  [u.value]: $,
5388
5388
  [L.value]: $,
5389
5389
  [yt.value[0]]: $
@@ -5407,26 +5407,26 @@ function i7(t, e, a) {
5407
5407
  };
5408
5408
  if (s.value !== "single" && !je(H.value) && !Array.isArray(H.value))
5409
5409
  throw new Error(`v-model must be an array when using "${s.value}" mode`);
5410
- return n && typeof n.value == "function" ? S.value ? Sa(ka) : w.value == !0 && ka() : (Ne.value = n.value, ka()), b.value > -1 && ss(), de(b, ($, B) => {
5410
+ return n && typeof n.value == "function" ? S.value ? ka($a) : w.value == !0 && $a() : (Ne.value = n.value, $a()), b.value > -1 && ss(), de(b, ($, B) => {
5411
5411
  Be.value && Be.value(), $ >= 0 && ss();
5412
5412
  }), de(H, ($) => {
5413
5413
  if (je($)) {
5414
- we(Aa($), !1);
5414
+ we(Sa($), !1);
5415
5415
  return;
5416
5416
  }
5417
5417
  switch (s.value) {
5418
5418
  case "single":
5419
- (w.value ? $[L.value] != q.value[L.value] : $ != q.value[L.value]) && we(Aa($), !1);
5419
+ (w.value ? $[L.value] != q.value[L.value] : $ != q.value[L.value]) && we(Sa($), !1);
5420
5420
  break;
5421
5421
  case "multiple":
5422
5422
  case "tags":
5423
- s7(w.value ? $.map((B) => B[L.value]) : $, q.value.map((B) => B[L.value])) || we(Aa($), !1);
5423
+ s7(w.value ? $.map((B) => B[L.value]) : $, q.value.map((B) => B[L.value])) || we(Sa($), !1);
5424
5424
  break;
5425
5425
  }
5426
5426
  }, { deep: !0 }), de(n, ($, B) => {
5427
- typeof t.options == "function" ? S.value && (!B || $ && $.toString() !== B.toString()) && Sa() : (Ne.value = t.options, Object.keys(q.value).length || ka(), pn());
5427
+ typeof t.options == "function" ? S.value && (!B || $ && $.toString() !== B.toString()) && ka() : (Ne.value = t.options, Object.keys(q.value).length || $a(), pn());
5428
5428
  }), de(u, pn), de(i, ($, B) => {
5429
- qe.value = O.value && $ === -1 ? 10 : $;
5429
+ qe.value = T.value && $ === -1 ? 10 : $;
5430
5430
  }), {
5431
5431
  pfo: Qt,
5432
5432
  fo: ot,
@@ -5457,7 +5457,7 @@ function i7(t, e, a) {
5457
5457
  handleGroupClick: _i,
5458
5458
  handleTagRemove: Ci,
5459
5459
  refreshOptions: Mi,
5460
- resolveOptions: Sa,
5460
+ resolveOptions: ka,
5461
5461
  refreshLabels: pn
5462
5462
  };
5463
5463
  }
@@ -5482,13 +5482,13 @@ function o7(t, e, a) {
5482
5482
  }), N = A(() => {
5483
5483
  let H = U.value.map((X) => X.label).indexOf(K.value ? S.value[i.value] : ie(S.value)[i.value]) + 1;
5484
5484
  return U.value.length <= H && (H = 0), U.value[H];
5485
- }), W = A(() => [...U.value].slice(-1)[0]), oe = A(() => S.value.__VISIBLE__.filter((H) => !H[u.value])[0]), se = A(() => {
5485
+ }), W = A(() => [...U.value].slice(-1)[0]), oe = A(() => S.value.__VISIBLE__.filter((H) => !H[u.value])[0]), ne = A(() => {
5486
5486
  const H = E.value.__VISIBLE__.filter((X) => !X[u.value]);
5487
5487
  return H[H.map((X) => X[n.value]).indexOf(S.value[n.value]) - 1];
5488
- }), O = A(() => {
5488
+ }), T = A(() => {
5489
5489
  const H = ie(S.value).__VISIBLE__.filter((X) => !X[u.value]);
5490
5490
  return H[H.map((X) => X[n.value]).indexOf(S.value[n.value]) + 1];
5491
- }), k = A(() => [...G.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, ae = () => {
5491
+ }), k = A(() => [...G.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
5493
  }, y = () => {
5494
5494
  !S.value || S.value[u.value] === !0 || (K.value ? g(S.value) : w(S.value));
@@ -5496,7 +5496,7 @@ function o7(t, e, a) {
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);
5498
5498
  else if (r.value && Z.value) {
5499
- let H = K.value ? oe.value : O.value;
5499
+ let H = K.value ? oe.value : T.value;
5500
5500
  H === void 0 && (H = N.value, H.__CREATE__ && (H = H[f.value][0])), _(H || /* istanbul ignore next */
5501
5501
  null);
5502
5502
  } else {
@@ -5511,7 +5511,7 @@ function o7(t, e, a) {
5511
5511
  let H = L.value[L.value.length - 1];
5512
5512
  r.value && Z.value && (H = F.value, H === void 0 && (H = W.value)), _(H || null);
5513
5513
  } else if (r.value && Z.value) {
5514
- let H = K.value ? k.value : se.value;
5514
+ let H = K.value ? k.value : ne.value;
5515
5515
  H === void 0 && (H = K.value ? G.value : E.value, H.__CREATE__ && (H = k.value, H === void 0 && (H = G.value))), _(H || /* istanbul ignore next */
5516
5516
  null);
5517
5517
  } else {
@@ -5529,7 +5529,7 @@ function o7(t, e, a) {
5529
5529
  r.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);
5530
5530
  };
5531
5531
  return de(b, (H) => {
5532
- o.value && (H.length && s.value ? ae() : C());
5532
+ o.value && (H.length && s.value ? se() : C());
5533
5533
  }), de(I, (H) => {
5534
5534
  if (H) {
5535
5535
  let X = D.value.querySelectorAll("[data-selected]")[0];
@@ -5544,7 +5544,7 @@ function o7(t, e, a) {
5544
5544
  pointer: S,
5545
5545
  canPointGroups: Z,
5546
5546
  isPointed: V,
5547
- setPointerFirst: ae,
5547
+ setPointerFirst: se,
5548
5548
  selectPointer: y,
5549
5549
  forwardPointer: R,
5550
5550
  backwardPointer: le
@@ -5573,7 +5573,7 @@ function Bn(t) {
5573
5573
  var e = Se(t).ShadowRoot;
5574
5574
  return t instanceof e || t instanceof ShadowRoot;
5575
5575
  }
5576
- var kt = Math.max, ja = Math.min, Zt = Math.round;
5576
+ var kt = Math.max, Na = Math.min, Zt = Math.round;
5577
5577
  function yn() {
5578
5578
  var t = navigator.userAgentData;
5579
5579
  return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
@@ -5831,7 +5831,7 @@ function D7(t) {
5831
5831
  function P7(t, e, a, n) {
5832
5832
  var s = e === "clippingParents" ? D7(t) : [].concat(e), o = [].concat(s, [a]), i = o[0], r = o.reduce(function(l, c) {
5833
5833
  var u = ys(t, c, n);
5834
- return l.top = kt(u.top, l.top), l.right = ja(u.right, l.right), l.bottom = ja(u.bottom, l.bottom), l.left = kt(u.left, l.left), l;
5834
+ return l.top = kt(u.top, l.top), l.right = Na(u.right, l.right), l.bottom = Na(u.bottom, l.bottom), l.left = kt(u.left, l.left), l;
5835
5835
  }, ys(t, i, n));
5836
5836
  return r.width = r.right - r.left, r.height = r.bottom - r.top, r.x = r.left, r.y = r.top, r;
5837
5837
  }
@@ -5923,8 +5923,8 @@ function Un(t, e) {
5923
5923
  if (d === sa && G) {
5924
5924
  var N = G[s];
5925
5925
  Object.keys(E).forEach(function(W) {
5926
- var oe = [vt, We].indexOf(W) >= 0 ? 1 : -1, se = [Re, We].indexOf(W) >= 0 ? "y" : "x";
5927
- E[W] += N[se] * oe;
5926
+ var oe = [vt, We].indexOf(W) >= 0 ? 1 : -1, ne = [Re, We].indexOf(W) >= 0 ? "y" : "x";
5927
+ E[W] += N[ne] * oe;
5928
5928
  });
5929
5929
  }
5930
5930
  return E;
@@ -6040,17 +6040,17 @@ function R7(t) {
6040
6040
  return h;
6041
6041
  };
6042
6042
  }
6043
- var Ia = {
6043
+ var Ea = {
6044
6044
  passive: !0
6045
6045
  };
6046
6046
  function N7(t) {
6047
6047
  var e = t.state, a = t.instance, n = t.options, s = n.scroll, o = s === void 0 ? !0 : s, i = n.resize, r = i === void 0 ? !0 : i, l = Se(e.elements.popper), c = [].concat(e.scrollParents.reference, e.scrollParents.popper);
6048
6048
  return o && c.forEach(function(u) {
6049
- u.addEventListener("scroll", a.update, Ia);
6050
- }), r && l.addEventListener("resize", a.update, Ia), function() {
6049
+ u.addEventListener("scroll", a.update, Ea);
6050
+ }), r && l.addEventListener("resize", a.update, Ea), function() {
6051
6051
  o && c.forEach(function(u) {
6052
- u.removeEventListener("scroll", a.update, Ia);
6053
- }), r && l.removeEventListener("resize", a.update, Ia);
6052
+ u.removeEventListener("scroll", a.update, Ea);
6053
+ }), r && l.removeEventListener("resize", a.update, Ea);
6054
6054
  };
6055
6055
  }
6056
6056
  var j7 = {
@@ -6211,11 +6211,11 @@ var K7 = {
6211
6211
  function Q7(t) {
6212
6212
  return t === "x" ? "y" : "x";
6213
6213
  }
6214
- function La(t, e, a) {
6215
- return kt(t, ja(e, a));
6214
+ function Ia(t, e, a) {
6215
+ return kt(t, Na(e, a));
6216
6216
  }
6217
6217
  function J7(t, e, a) {
6218
- var n = La(t, e, a);
6218
+ var n = Ia(t, e, a);
6219
6219
  return n > a ? a : n;
6220
6220
  }
6221
6221
  function ep(t) {
@@ -6238,15 +6238,15 @@ function ep(t) {
6238
6238
  };
6239
6239
  if (L) {
6240
6240
  if (o) {
6241
- var W, oe = D === "y" ? Re : Ge, se = D === "y" ? We : vt, O = D === "y" ? "height" : "width", k = L[D], F = k + b[oe], V = k - b[se], ae = 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, T = D === "y" ? "height" : "width", k = L[D], F = k + b[oe], V = k - b[ne], se = h ? -Z[T] / 2 : 0, y = _ === qt ? U[T] : Z[T], R = _ === qt ? -Z[T] : -U[T], 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], X = q[se], ve = La(0, U[O], ie[O]), we = C ? U[O] / 2 - ae - ve - H - E.mainAxis : y - ve - H - E.mainAxis, Kt = C ? -U[O] / 2 + ae + ve + X + E.mainAxis : R + ve + X + E.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, ya = (W = G == null ? void 0 : G[D]) != null ? W : 0, nn = k + we - ya - nt, st = k + Kt - ya, ba = La(h ? ja(F, nn) : F, k, h ? kt(V, st) : V);
6245
- L[D] = ba, N[D] = ba - k;
6244
+ }, q = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ui(), H = q[oe], X = q[ne], ve = Ia(0, U[T], ie[T]), we = C ? U[T] / 2 - se - ve - H - E.mainAxis : y - ve - H - E.mainAxis, Kt = C ? -U[T] / 2 + se + ve + X + E.mainAxis : R + ve + X + E.mainAxis, Gt = e.elements.arrow && tn(e.elements.arrow), nt = Gt ? D === "y" ? Gt.clientTop || 0 : Gt.clientLeft || 0 : 0, _a = (W = G == null ? void 0 : G[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
+ L[D] = ya, N[D] = ya - k;
6246
6246
  }
6247
6247
  if (r) {
6248
- var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = L[I], qe = I === "y" ? "height" : "width", Xt = Be + b[Ne], wa = Be - b[Me], Te = [Re, Ge].indexOf(S) !== -1, Qt = (it = G == null ? void 0 : G[I]) != null ? it : 0, ot = Te ? Xt : Be - U[qe] - Z[qe] - Qt + E.altAxis, _t = Te ? Be + U[qe] + Z[qe] - Qt - E.altAxis : wa, $a = h && Te ? J7(ot, Be, _t) : La(h ? ot : Xt, Be, h ? _t : wa);
6249
- L[I] = $a, N[I] = $a - Be;
6248
+ var it, Ne = D === "x" ? Re : Ge, Me = D === "x" ? We : vt, Be = L[I], qe = I === "y" ? "height" : "width", Xt = Be + b[Ne], ba = Be - b[Me], Te = [Re, Ge].indexOf(S) !== -1, Qt = (it = G == null ? void 0 : G[I]) != null ? it : 0, ot = Te ? Xt : Be - U[qe] - Z[qe] - Qt + E.altAxis, _t = Te ? Be + U[qe] + Z[qe] - Qt - E.altAxis : ba, wa = h && Te ? J7(ot, Be, _t) : Ia(h ? ot : Xt, Be, h ? _t : ba);
6249
+ L[I] = wa, N[I] = wa - Be;
6250
6250
  }
6251
6251
  e.modifiersData[n] = N;
6252
6252
  }
@@ -6263,7 +6263,7 @@ var tp = {
6263
6263
  bottom: "top",
6264
6264
  top: "bottom"
6265
6265
  };
6266
- function Ha(t) {
6266
+ function La(t) {
6267
6267
  return t.replace(/left|right|bottom|top/g, function(e) {
6268
6268
  return ap[e];
6269
6269
  });
@@ -6300,13 +6300,13 @@ function sp(t, e) {
6300
6300
  function ip(t) {
6301
6301
  if (ct(t) === Fn)
6302
6302
  return [];
6303
- var e = Ha(t);
6303
+ var e = La(t);
6304
6304
  return [ks(t), e, ks(e)];
6305
6305
  }
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, g = a.allowedAutoPlacements, b = e.options.placement, S = ct(b), _ = S === b, C = l || (_ || !w ? [Ha(b)] : ip(b)), D = [b].concat(C).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, g = a.allowedAutoPlacements, b = e.options.placement, S = ct(b), _ = S === b, C = l || (_ || !w ? [La(b)] : ip(b)), D = [b].concat(C).reduce(function(ie, q) {
6310
6310
  return ie.concat(ct(q) === Fn ? sp(e, {
6311
6311
  placement: q,
6312
6312
  boundary: u,
@@ -6316,16 +6316,16 @@ function op(t) {
6316
6316
  allowedAutoPlacements: g
6317
6317
  }) : q);
6318
6318
  }, []), I = e.rects.reference, L = e.rects.popper, U = /* @__PURE__ */ new Map(), Z = !0, K = D[0], E = 0; E < D.length; E++) {
6319
- var G = D[E], N = ct(G), W = zt(G) === qt, oe = [Re, We].indexOf(N) >= 0, se = oe ? "width" : "height", O = Un(e, {
6319
+ var G = D[E], N = ct(G), W = zt(G) === qt, oe = [Re, We].indexOf(N) >= 0, ne = oe ? "width" : "height", T = Un(e, {
6320
6320
  placement: G,
6321
6321
  boundary: u,
6322
6322
  rootBoundary: f,
6323
6323
  altBoundary: d,
6324
6324
  padding: c
6325
6325
  }), k = oe ? W ? vt : Ge : W ? We : Re;
6326
- I[se] > L[se] && (k = Ha(k));
6327
- var F = Ha(k), V = [];
6328
- if (o && V.push(O[N] <= 0), r && V.push(O[k] <= 0, O[F] <= 0), V.every(function(ie) {
6326
+ I[ne] > L[ne] && (k = La(k));
6327
+ var F = La(k), V = [];
6328
+ if (o && V.push(T[N] <= 0), r && V.push(T[k] <= 0, T[F] <= 0), V.every(function(ie) {
6329
6329
  return ie;
6330
6330
  })) {
6331
6331
  K = G, Z = !1;
@@ -6334,7 +6334,7 @@ function op(t) {
6334
6334
  U.set(G, V);
6335
6335
  }
6336
6336
  if (Z)
6337
- for (var ae = w ? 3 : 1, y = function(q) {
6337
+ for (var se = w ? 3 : 1, y = function(q) {
6338
6338
  var H = D.find(function(X) {
6339
6339
  var ve = U.get(X);
6340
6340
  if (ve)
@@ -6344,7 +6344,7 @@ function op(t) {
6344
6344
  });
6345
6345
  if (H)
6346
6346
  return K = H, "break";
6347
- }, R = ae; R > 0; R--) {
6347
+ }, R = se; R > 0; R--) {
6348
6348
  var le = y(R);
6349
6349
  if (le === "break")
6350
6350
  break;
@@ -6487,14 +6487,14 @@ function cp(t, e, a) {
6487
6487
  createTag: f,
6488
6488
  createOption: d,
6489
6489
  reverse: h
6490
- } = Ae(t), w = Mt().proxy, g = a.iv, b = a.update, S = a.deselect, _ = a.search, C = a.setPointer, D = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, U = a.multiselect, Z = a.wrapper, K = a.tags, E = a.isOpen, G = a.open, N = a.blur, W = a.fo, oe = A(() => f.value || d.value || !1), se = A(() => s.value !== void 0 ? s.value : u.value !== void 0 ? u.value : ["enter"]), O = () => {
6490
+ } = Ae(t), w = Mt().proxy, g = a.iv, b = a.update, S = a.deselect, _ = a.search, C = a.setPointer, D = a.selectPointer, I = a.backwardPointer, L = a.forwardPointer, U = a.multiselect, Z = a.wrapper, K = a.tags, E = a.isOpen, G = 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"]), T = () => {
6491
6491
  n.value === "tags" && !r.value && oe.value && i.value && !c.value && C(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 ae, y;
6497
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(V.key) !== -1 && n.value === "tags" && (ae = [...U.value.querySelectorAll("[data-tags] > *")].filter((R) => R !== K.value), y = ae.findIndex((R) => R === document.activeElement)), V.key) {
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 !== K.value), y = se.findIndex((R) => R === document.activeElement)), V.key) {
6498
6498
  case "Backspace":
6499
6499
  if (n.value === "single" || i.value && [null, ""].indexOf(_.value) === -1 || g.value.length === 0)
6500
6500
  return;
@@ -6505,30 +6505,30 @@ function cp(t, e, a) {
6505
6505
  if (V.preventDefault(), V.keyCode === 229)
6506
6506
  return;
6507
6507
  if (y !== -1 && y !== void 0) {
6508
- b([...g.value].filter((le, ie) => ie !== y)), y === ae.length - 1 && (ae.length - 1 ? ae[ae.length - 2].focus() : i.value ? K.value.querySelector("input").focus() : Z.value.focus());
6508
+ b([...g.value].filter((le, ie) => ie !== y)), y === se.length - 1 && (se.length - 1 ? se[se.length - 2].focus() : i.value ? K.value.querySelector("input").focus() : Z.value.focus());
6509
6509
  return;
6510
6510
  }
6511
- if (se.value.indexOf("enter") === -1 && oe.value)
6511
+ if (ne.value.indexOf("enter") === -1 && oe.value)
6512
6512
  return;
6513
- O(), D();
6513
+ T(), D();
6514
6514
  break;
6515
6515
  case " ":
6516
6516
  if (!oe.value && !i.value) {
6517
- V.preventDefault(), O(), D();
6517
+ V.preventDefault(), T(), D();
6518
6518
  return;
6519
6519
  }
6520
6520
  if (!oe.value)
6521
6521
  return !1;
6522
- if (se.value.indexOf("space") === -1 && oe.value)
6522
+ if (ne.value.indexOf("space") === -1 && oe.value)
6523
6523
  return;
6524
- V.preventDefault(), O(), D();
6524
+ V.preventDefault(), T(), D();
6525
6525
  break;
6526
6526
  case "Tab":
6527
6527
  case ";":
6528
6528
  case ",":
6529
- if (se.value.indexOf(V.key.toLowerCase()) === -1 || !oe.value)
6529
+ if (ne.value.indexOf(V.key.toLowerCase()) === -1 || !oe.value)
6530
6530
  return;
6531
- O(), D(), V.preventDefault();
6531
+ T(), D(), V.preventDefault();
6532
6532
  break;
6533
6533
  case "Escape":
6534
6534
  N();
@@ -6546,19 +6546,19 @@ function cp(t, e, a) {
6546
6546
  case "ArrowLeft":
6547
6547
  if (i.value && K.value && K.value.querySelector("input").selectionStart || V.shiftKey || n.value !== "tags" || !g.value || !g.value.length)
6548
6548
  return;
6549
- V.preventDefault(), y === -1 ? ae[ae.length - 1].focus() : y > 0 && ae[y - 1].focus();
6549
+ V.preventDefault(), y === -1 ? se[se.length - 1].focus() : y > 0 && se[y - 1].focus();
6550
6550
  break;
6551
6551
  case "ArrowRight":
6552
6552
  if (y === -1 || V.shiftKey || n.value !== "tags" || !g.value || !g.value.length)
6553
6553
  return;
6554
- V.preventDefault(), ae.length > y + 1 ? ae[y + 1].focus() : i.value ? K.value.querySelector("input").focus() : i.value || Z.value.focus();
6554
+ V.preventDefault(), se.length > y + 1 ? se[y + 1].focus() : i.value ? K.value.querySelector("input").focus() : i.value || Z.value.focus();
6555
6555
  break;
6556
6556
  }
6557
6557
  },
6558
6558
  handleKeyup: (V) => {
6559
6559
  e.emit("keyup", V, w);
6560
6560
  },
6561
- preparePointer: O
6561
+ preparePointer: T
6562
6562
  };
6563
6563
  }
6564
6564
  function dp(t, e, a) {
@@ -7190,7 +7190,7 @@ function Rp(t, e, a, n, s, o) {
7190
7190
  "aria-multiselectable": a.searchable ? void 0 : t.ariaMultiselectable,
7191
7191
  role: a.searchable ? void 0 : "combobox"
7192
7192
  }, a.searchable ? {} : t.arias), [
7193
- T(" Search "),
7193
+ O(" Search "),
7194
7194
  a.mode !== "tags" && a.searchable && !a.disabled ? (p(), m("input", He({
7195
7195
  key: 0,
7196
7196
  type: a.inputType,
@@ -7212,8 +7212,8 @@ function Rp(t, e, a, n, s, o) {
7212
7212
  }, {
7213
7213
  ...a.attrs,
7214
7214
  ...t.arias
7215
- }), null, 16, _p)) : T("v-if", !0),
7216
- T(" Tags (with search) "),
7215
+ }), null, 16, _p)) : O("v-if", !0),
7216
+ O(" Tags (with search) "),
7217
7217
  a.mode == "tags" ? (p(), m(
7218
7218
  "div",
7219
7219
  {
@@ -7263,7 +7263,7 @@ function Rp(t, e, a, n, s, o) {
7263
7263
  2
7264
7264
  /* CLASS */
7265
7265
  )
7266
- ], 10, bp)) : T("v-if", !0)
7266
+ ], 10, bp)) : O("v-if", !0)
7267
7267
  ], 42, yp))
7268
7268
  ])),
7269
7269
  256
@@ -7276,7 +7276,7 @@ function Rp(t, e, a, n, s, o) {
7276
7276
  ref: "tags"
7277
7277
  },
7278
7278
  [
7279
- T(" Used for measuring search width "),
7279
+ O(" Used for measuring search width "),
7280
7280
  v(
7281
7281
  "span",
7282
7282
  {
@@ -7286,7 +7286,7 @@ function Rp(t, e, a, n, s, o) {
7286
7286
  3
7287
7287
  /* TEXT, CLASS */
7288
7288
  ),
7289
- T(" Actual search input "),
7289
+ O(" Actual search input "),
7290
7290
  a.searchable && !a.disabled ? (p(), m("input", He({
7291
7291
  key: 0,
7292
7292
  type: a.inputType,
@@ -7308,7 +7308,7 @@ function Rp(t, e, a, n, s, o) {
7308
7308
  }, {
7309
7309
  ...a.attrs,
7310
7310
  ...t.arias
7311
- }), null, 16, wp)) : T("v-if", !0)
7311
+ }), null, 16, wp)) : O("v-if", !0)
7312
7312
  ],
7313
7313
  2
7314
7314
  /* CLASS */
@@ -7316,8 +7316,8 @@ function Rp(t, e, a, n, s, o) {
7316
7316
  ],
7317
7317
  2
7318
7318
  /* CLASS */
7319
- )) : T("v-if", !0),
7320
- T(" Single label "),
7319
+ )) : O("v-if", !0),
7320
+ O(" Single label "),
7321
7321
  a.mode == "single" && t.hasSelected && !t.search && t.iv ? te(t.$slots, "singlelabel", {
7322
7322
  key: 2,
7323
7323
  value: t.iv
@@ -7341,8 +7341,8 @@ function Rp(t, e, a, n, s, o) {
7341
7341
  2
7342
7342
  /* CLASS */
7343
7343
  )
7344
- ]) : T("v-if", !0),
7345
- T(" Multiple label "),
7344
+ ]) : O("v-if", !0),
7345
+ O(" Multiple label "),
7346
7346
  a.mode == "multiple" && t.hasSelected && !t.search ? te(t.$slots, "multiplelabel", {
7347
7347
  key: 3,
7348
7348
  values: t.iv
@@ -7351,8 +7351,8 @@ function Rp(t, e, a, n, s, o) {
7351
7351
  class: Q(t.classList.multipleLabel),
7352
7352
  innerHTML: t.multipleLabelText
7353
7353
  }, null, 10, $p)
7354
- ]) : T("v-if", !0),
7355
- T(" Placeholder "),
7354
+ ]) : O("v-if", !0),
7355
+ O(" Placeholder "),
7356
7356
  a.placeholder && !t.hasSelected && !t.search ? te(t.$slots, "placeholder", { key: 4 }, () => [
7357
7357
  v(
7358
7358
  "div",
@@ -7364,8 +7364,8 @@ function Rp(t, e, a, n, s, o) {
7364
7364
  3
7365
7365
  /* TEXT, CLASS */
7366
7366
  )
7367
- ]) : T("v-if", !0),
7368
- T(" Spinner "),
7367
+ ]) : O("v-if", !0),
7368
+ O(" Spinner "),
7369
7369
  a.loading || t.resolving ? te(t.$slots, "spinner", { key: 5 }, () => [
7370
7370
  v(
7371
7371
  "span",
@@ -7377,8 +7377,8 @@ function Rp(t, e, a, n, s, o) {
7377
7377
  2
7378
7378
  /* CLASS */
7379
7379
  )
7380
- ]) : T("v-if", !0),
7381
- T(" Clear "),
7380
+ ]) : O("v-if", !0),
7381
+ O(" Clear "),
7382
7382
  t.hasSelected && !a.disabled && a.canClear && !t.busy ? te(t.$slots, "clear", {
7383
7383
  key: 6,
7384
7384
  clear: t.clear
@@ -7409,8 +7409,8 @@ function Rp(t, e, a, n, s, o) {
7409
7409
  34
7410
7410
  /* CLASS, HYDRATE_EVENTS */
7411
7411
  )
7412
- ]) : T("v-if", !0),
7413
- T(" Caret "),
7412
+ ]) : O("v-if", !0),
7413
+ O(" Caret "),
7414
7414
  a.caret && a.showOptions ? te(t.$slots, "caret", {
7415
7415
  key: 7,
7416
7416
  handleCaretClick: t.handleCaretClick,
@@ -7427,9 +7427,9 @@ function Rp(t, e, a, n, s, o) {
7427
7427
  2
7428
7428
  /* CLASS */
7429
7429
  )
7430
- ]) : T("v-if", !0)
7430
+ ]) : O("v-if", !0)
7431
7431
  ], 16, gp),
7432
- T(" Options "),
7432
+ O(" Options "),
7433
7433
  (p(), P(Nt, {
7434
7434
  to: a.appendTo || "body",
7435
7435
  disabled: !a.appendToBody && !a.appendTo
@@ -7457,7 +7457,7 @@ function Rp(t, e, a, n, s, o) {
7457
7457
  "aria-selected": t.isSelected(i),
7458
7458
  role: "option"
7459
7459
  }, [
7460
- i.__CREATE__ ? T("v-if", !0) : (p(), m("div", {
7460
+ i.__CREATE__ ? O("v-if", !0) : (p(), m("div", {
7461
7461
  key: 0,
7462
7462
  class: Q(t.classList.groupLabel(i)),
7463
7463
  "data-pointed": t.isPointed(i),
@@ -7555,13 +7555,13 @@ function Rp(t, e, a, n, s, o) {
7555
7555
  class: Q(t.classList.noOptions),
7556
7556
  innerHTML: t.localize(a.noOptionsText)
7557
7557
  }, null, 10, Lp)
7558
- ]) : T("v-if", !0),
7558
+ ]) : O("v-if", !0),
7559
7559
  t.noResults ? te(t.$slots, "noresults", { key: 1 }, () => [
7560
7560
  v("div", {
7561
7561
  class: Q(t.classList.noResults),
7562
7562
  innerHTML: t.localize(a.noResultsText)
7563
7563
  }, null, 10, Hp)
7564
- ]) : T("v-if", !0),
7564
+ ]) : O("v-if", !0),
7565
7565
  a.infinite && t.hasMore ? (p(), m(
7566
7566
  "div",
7567
7567
  {
@@ -7584,19 +7584,19 @@ function Rp(t, e, a, n, s, o) {
7584
7584
  ],
7585
7585
  2
7586
7586
  /* CLASS */
7587
- )) : T("v-if", !0),
7587
+ )) : O("v-if", !0),
7588
7588
  te(t.$slots, "afterlist", { options: t.fo })
7589
7589
  ], 10, kp)
7590
7590
  ], 8, ["to", "disabled"])),
7591
- T(" Hacky input element to show HTML5 required warning "),
7591
+ O(" Hacky input element to show HTML5 required warning "),
7592
7592
  a.required ? (p(), m("input", {
7593
7593
  key: 0,
7594
7594
  class: Q(t.classList.fakeInput),
7595
7595
  tabindex: "-1",
7596
7596
  value: t.textValue,
7597
7597
  required: ""
7598
- }, null, 10, Dp)) : T("v-if", !0),
7599
- T(" Native input support "),
7598
+ }, null, 10, Dp)) : O("v-if", !0),
7599
+ O(" Native input support "),
7600
7600
  a.nativeSupport ? (p(), m(
7601
7601
  he,
7602
7602
  { key: 1 },
@@ -7621,15 +7621,15 @@ function Rp(t, e, a, n, s, o) {
7621
7621
  ],
7622
7622
  64
7623
7623
  /* STABLE_FRAGMENT */
7624
- )) : T("v-if", !0),
7625
- T(" Screen reader assistive text "),
7624
+ )) : O("v-if", !0),
7625
+ O(" Screen reader assistive text "),
7626
7626
  a.searchable && t.hasSelected ? (p(), m("div", {
7627
7627
  key: 2,
7628
7628
  class: Q(t.classList.assist),
7629
7629
  id: t.ariaAssist,
7630
7630
  "aria-hidden": "true"
7631
- }, x(t.ariaLabel), 11, Bp)) : T("v-if", !0),
7632
- T(" Create height for empty input "),
7631
+ }, x(t.ariaLabel), 11, Bp)) : O("v-if", !0),
7632
+ O(" Create height for empty input "),
7633
7633
  v(
7634
7634
  "div",
7635
7635
  {
@@ -7662,7 +7662,7 @@ const $e = /* @__PURE__ */ Y({
7662
7662
  _e(s.$slots, (i, r) => ({
7663
7663
  name: r,
7664
7664
  fn: z((l) => [
7665
- te(s.$slots, r, fa(va(l ?? {})))
7665
+ te(s.$slots, r, pa(fa(l ?? {})))
7666
7666
  ])
7667
7667
  }))
7668
7668
  ]), 1536));
@@ -7788,7 +7788,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7788
7788
  variant: "ghost",
7789
7789
  color: "primary",
7790
7790
  onClick: () => r(h.id, !h.isDone)
7791
- }, null, 8, ["icon-name", "disabled", "onClick"])) : T("", !0),
7791
+ }, null, 8, ["icon-name", "disabled", "onClick"])) : O("", !0),
7792
7792
  v("input", {
7793
7793
  id: h.id,
7794
7794
  value: h.name,
@@ -7798,7 +7798,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7798
7798
  onChange: (b) => i(b, h.id),
7799
7799
  onKeyup: dt(u, ["enter"])
7800
7800
  }, null, 42, Up),
7801
- pa(". "),
7801
+ Fa(". "),
7802
7802
  !f.isTemplate && f.users ? (p(), P($e, {
7803
7803
  key: 1,
7804
7804
  value: (g = h.assignee) != null && g.id ? [h.assignee.id] : [],
@@ -7822,7 +7822,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7822
7822
  }, null, 8, ["user-name", "avatar-url", "onClose"])
7823
7823
  ]),
7824
7824
  _: 2
7825
- }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : T("", !0),
7825
+ }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : O("", !0),
7826
7826
  f.isEditable ? (p(), P(ue, {
7827
7827
  key: 2,
7828
7828
  class: "ao-subtask__delete",
@@ -7831,7 +7831,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7831
7831
  variant: "ghost",
7832
7832
  color: "neutral",
7833
7833
  onClick: () => l(h.id)
7834
- }, null, 8, ["onClick"])) : T("", !0)
7834
+ }, null, 8, ["onClick"])) : O("", !0)
7835
7835
  ]);
7836
7836
  }), 128))
7837
7837
  ]),
@@ -7843,7 +7843,7 @@ const jp = { class: "ao-tasks" }, Fp = { class: "ao-tasks__list" }, Up = ["id",
7843
7843
  variant: "ghost",
7844
7844
  color: "primary",
7845
7845
  onClick: o
7846
- }, null, 8, ["label"])) : T("", !0)
7846
+ }, null, 8, ["label"])) : O("", !0)
7847
7847
  ])
7848
7848
  ]));
7849
7849
  }
@@ -7935,7 +7935,7 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7935
7935
  size: "sm",
7936
7936
  corners: "round",
7937
7937
  onClick: () => n(d)
7938
- }, null, 8, ["onClick"])) : T("", !0)
7938
+ }, null, 8, ["onClick"])) : O("", !0)
7939
7939
  ]))), 128)),
7940
7940
  u.isEditable ? (p(), m("li", Gp, [
7941
7941
  v("label", Xp, [
@@ -7955,8 +7955,8 @@ const qp = ["onDrop", "onDragenter", "onDragover", "onDragleave"], zp = { class:
7955
7955
  onChange: s
7956
7956
  }, null, 32)
7957
7957
  ])
7958
- ])) : T("", !0)
7959
- ])) : T("", !0),
7958
+ ])) : O("", !0)
7959
+ ])) : O("", !0),
7960
7960
  Ke(v("div", ef, [
7961
7961
  v("span", tf, x(u.$t("activity.attachment.placeholder.active")), 1)
7962
7962
  ], 512), [
@@ -8006,7 +8006,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8006
8006
  "avatar-url": (S = g.user) == null ? void 0 : S.avatarUrl,
8007
8007
  "user-name": n.value,
8008
8008
  class: "ao-comment__avatar"
8009
- }, null, 8, ["avatar-url", "user-name"])) : T("", !0),
8009
+ }, null, 8, ["avatar-url", "user-name"])) : O("", !0),
8010
8010
  v("span", sf, x(c.value), 1),
8011
8011
  v("div", of, [
8012
8012
  v("div", rf, [
@@ -8022,7 +8022,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8022
8022
  ]
8023
8023
  }, {
8024
8024
  default: z(() => [
8025
- pa(x(g.content), 1)
8025
+ Fa(x(g.content), 1)
8026
8026
  ]),
8027
8027
  _: 1
8028
8028
  }, 40, ["value", "rows", "onKeyup"]))
@@ -8061,7 +8061,7 @@ const nf = { class: "ao-comment" }, sf = { class: "ao-comment__created-at" }, of
8061
8061
  onClick: J(i)
8062
8062
  }, null, 8, ["label", "onClick"])
8063
8063
  ], 64))
8064
- ])) : T("", !0)
8064
+ ])) : O("", !0)
8065
8065
  ]);
8066
8066
  };
8067
8067
  }
@@ -8152,7 +8152,7 @@ const cf = { class: "ao-comments__header" }, df = ["onSubmit"], pf = ["placehold
8152
8152
  onEdit: (g) => c(w.id, g),
8153
8153
  onRemove: () => u(w.id)
8154
8154
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
8155
- ])) : T("", !0)
8155
+ ])) : O("", !0)
8156
8156
  ], 512);
8157
8157
  };
8158
8158
  }
@@ -8175,7 +8175,7 @@ const wn = /* @__PURE__ */ Y({
8175
8175
  }, null, 8, ["color"]));
8176
8176
  }
8177
8177
  }), mf = { class: "ao-activity-details" }, Cf = { class: "ao-activity-details__main" }, gf = { class: "ao-activity-details__header" }, _f = {
8178
- key: 2,
8178
+ key: 1,
8179
8179
  class: "ao-activity__category"
8180
8180
  }, yf = { class: "ao-feed__activity-details__header" }, bf = {
8181
8181
  key: 0,
@@ -8388,12 +8388,12 @@ const wn = /* @__PURE__ */ Y({
8388
8388
  value: R.id,
8389
8389
  label: R.name
8390
8390
  }));
8391
- }), se = (y) => {
8391
+ }), ne = (y) => {
8392
8392
  e("update:activity", {
8393
8393
  id: a.activity.id,
8394
8394
  statusId: y
8395
8395
  });
8396
- }, O = (y) => {
8396
+ }, T = (y) => {
8397
8397
  e("addComment", {
8398
8398
  ...y,
8399
8399
  activityId: a.activity.id
@@ -8406,7 +8406,7 @@ const wn = /* @__PURE__ */ Y({
8406
8406
  var y, R;
8407
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}`;
8408
8408
  });
8409
- function ae() {
8409
+ function se() {
8410
8410
  const y = window.location.origin, R = a.activity.slug, le = `${y}/activity-feed/slug/${R}`;
8411
8411
  navigator.clipboard.writeText(le).then(() => {
8412
8412
  console.log(`Link copied to clipboard: ${le}`), e("toast", "clipboard.copy.success", "success");
@@ -8423,28 +8423,16 @@ const wn = /* @__PURE__ */ Y({
8423
8423
  v("div", mf, [
8424
8424
  v("div", Cf, [
8425
8425
  v("div", gf, [
8426
- y.activity.slug ? (p(), P(ue, {
8427
- key: 0,
8428
- clickable: !0,
8429
- color: "primary",
8430
- class: "ao-activity__ao-tag",
8431
- onClick: ae
8432
- }, {
8433
- default: z(() => [
8434
- pa(x(y.activity.slug), 1)
8435
- ]),
8436
- _: 1
8437
- })) : T("", !0),
8438
8426
  y.activity.slug ? (p(), P(qa, {
8439
- key: 1,
8427
+ key: 0,
8440
8428
  label: y.activity.slug,
8441
8429
  clickable: !0,
8442
8430
  variant: "solid",
8443
8431
  color: "primary",
8444
8432
  class: "ao-activity__ao-tag",
8445
- onClick: ae
8446
- }, null, 8, ["label"])) : T("", !0),
8447
- y.breadcrumbs ? (p(), m("div", _f, x(y.breadcrumbs), 1)) : T("", !0),
8433
+ onClick: se
8434
+ }, null, 8, ["label"])) : O("", !0),
8435
+ y.breadcrumbs ? (p(), m("div", _f, x(y.breadcrumbs), 1)) : O("", !0),
8448
8436
  M(ye, {
8449
8437
  title: y.activity.name || "",
8450
8438
  level: 4,
@@ -8462,7 +8450,7 @@ const wn = /* @__PURE__ */ Y({
8462
8450
  caret: n.value,
8463
8451
  onChange: N
8464
8452
  }, null, 8, ["options", "value", "disabled", "caret"])
8465
- ])) : T("", !0),
8453
+ ])) : O("", !0),
8466
8454
  G.value ? (p(), m("label", $f, [
8467
8455
  v("span", kf, x(y.$t("activity.milestone.label")), 1),
8468
8456
  M($e, {
@@ -8473,7 +8461,7 @@ const wn = /* @__PURE__ */ Y({
8473
8461
  caret: n.value,
8474
8462
  onChange: W
8475
8463
  }, null, 8, ["options", "value", "disabled", "caret"])
8476
- ])) : T("", !0)
8464
+ ])) : O("", !0)
8477
8465
  ]),
8478
8466
  te(y.$slots, "header")
8479
8467
  ]),
@@ -8568,11 +8556,11 @@ const wn = /* @__PURE__ */ Y({
8568
8556
  comments: y.activity.comments,
8569
8557
  users: y.users,
8570
8558
  "user-id": y.userId,
8571
- onCreateComment: O,
8559
+ onCreateComment: T,
8572
8560
  onUpdateComment: k,
8573
8561
  onRemoveComment: F
8574
8562
  }, null, 8, ["comments", "users", "user-id"])
8575
- ])) : T("", !0)
8563
+ ])) : O("", !0)
8576
8564
  ])
8577
8565
  ]),
8578
8566
  v("div", jf, [
@@ -8593,10 +8581,10 @@ const wn = /* @__PURE__ */ Y({
8593
8581
  "can-deselect": !1,
8594
8582
  disabled: !n.value,
8595
8583
  caret: n.value,
8596
- onChange: se
8584
+ onChange: ne
8597
8585
  }, null, 8, ["options", "value", "disabled", "caret"])
8598
8586
  ])
8599
- ])) : T("", !0),
8587
+ ])) : O("", !0),
8600
8588
  v("div", qf, [
8601
8589
  v("div", zf, [
8602
8590
  v("div", xf, [
@@ -8656,7 +8644,7 @@ const wn = /* @__PURE__ */ Y({
8656
8644
  ]
8657
8645
  ])
8658
8646
  ])
8659
- ])) : T("", !0)
8647
+ ])) : O("", !0)
8660
8648
  ]),
8661
8649
  v("div", ev, [
8662
8650
  u.value ? (p(), m("div", tv, [
@@ -8673,7 +8661,7 @@ const wn = /* @__PURE__ */ Y({
8673
8661
  caret: n.value
8674
8662
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
8675
8663
  ])
8676
- ])) : T("", !0),
8664
+ ])) : O("", !0),
8677
8665
  te(y.$slots, "default", { activity: y.activity })
8678
8666
  ]),
8679
8667
  v("div", nv, [
@@ -8704,7 +8692,7 @@ const wn = /* @__PURE__ */ Y({
8704
8692
  class: "ao-field__input",
8705
8693
  size: "sm"
8706
8694
  }, null, 8, ["modelValue", "label", "disabled"])
8707
- ])) : T("", !0),
8695
+ ])) : O("", !0),
8708
8696
  v("fieldset", iv, [
8709
8697
  v("div", ov, [
8710
8698
  M(pe, { name: "FlowsheetOutlineRounded" }),
@@ -8756,7 +8744,7 @@ const wn = /* @__PURE__ */ Y({
8756
8744
  }, null, 8, ["user-name"]),
8757
8745
  v("span", null, x(V.value), 1)
8758
8746
  ])
8759
- ])) : T("", !0)
8747
+ ])) : O("", !0)
8760
8748
  ])
8761
8749
  ])
8762
8750
  ];
@@ -9007,14 +8995,14 @@ const yv = {
9007
8995
  );
9008
8996
  const l = A(() => {
9009
8997
  var k, F;
9010
- return ((F = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((V, ae) => {
9011
- const y = ae.milestones || [];
8998
+ return ((F = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((V, se) => {
8999
+ const y = se.milestones || [];
9012
9000
  return [...V, ...y];
9013
9001
  }, [])) || [];
9014
9002
  }), c = A(() => {
9015
9003
  var k, F;
9016
- return ((F = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((V, ae) => {
9017
- const R = (ae.milestones || []).reduce(
9004
+ return ((F = (k = s.value) == null ? void 0 : k.phases) == null ? void 0 : F.reduce((V, se) => {
9005
+ const R = (se.milestones || []).reduce(
9018
9006
  (le, ie) => ie.activities ? [...le, ...ie.activities] : le,
9019
9007
  []
9020
9008
  );
@@ -9107,7 +9095,7 @@ const yv = {
9107
9095
  const { milestoneId: F } = k;
9108
9096
  if (!r.value)
9109
9097
  return;
9110
- const { name: V, rank: ae } = Bt(
9098
+ const { name: V, rank: se } = Bt(
9111
9099
  r.value.activities,
9112
9100
  "activity",
9113
9101
  n
@@ -9116,7 +9104,7 @@ const yv = {
9116
9104
  type: Ce.ACTIVITIES,
9117
9105
  milestoneId: F,
9118
9106
  templateId: a.templateId,
9119
- item: { name: V, rank: ae, milestoneId: F }
9107
+ item: { name: V, rank: se, milestoneId: F }
9120
9108
  });
9121
9109
  }, I = (k) => {
9122
9110
  var F, V;
@@ -9146,7 +9134,7 @@ const yv = {
9146
9134
  }, G = (k) => {
9147
9135
  var F;
9148
9136
  if (k.moved) {
9149
- const V = ga(k, ((F = s.value) == null ? void 0 : F.phases) ?? []);
9137
+ const V = Ca(k, ((F = s.value) == null ? void 0 : F.phases) ?? []);
9150
9138
  e("updateItem", {
9151
9139
  itemType: Ce.PHASES,
9152
9140
  id: k.moved.element.id,
@@ -9181,13 +9169,13 @@ const yv = {
9181
9169
  templateId: a.templateId,
9182
9170
  data: k
9183
9171
  });
9184
- }, se = (k) => {
9172
+ }, ne = (k) => {
9185
9173
  e("addFiles", k);
9186
- }, O = (k) => {
9174
+ }, T = (k) => {
9187
9175
  e("removeFile", k);
9188
9176
  };
9189
9177
  return (k, F) => {
9190
- var V, ae, y, R, le, ie;
9178
+ var V, se, y, R, le, ie;
9191
9179
  return s.value ? (p(), m("div", yv, [
9192
9180
  M(Ga, {
9193
9181
  "can-go-back": !0,
@@ -9263,19 +9251,19 @@ const yv = {
9263
9251
  onUpdateMilestone: C,
9264
9252
  onUpdatePhase: b,
9265
9253
  onRemoveMilestone: _
9266
- }, null, 8, ["template-id", "phase", "milestone-id"])) : T("", !0)
9254
+ }, null, 8, ["template-id", "phase", "milestone-id"])) : O("", !0)
9267
9255
  ]),
9268
9256
  v("li", Av, [
9269
9257
  i.value && r.value ? (p(), P(v5, {
9270
9258
  key: 0,
9271
9259
  "template-id": k.templateId,
9272
- "phase-id": (ae = i.value) == null ? void 0 : ae.id,
9260
+ "phase-id": (se = i.value) == null ? void 0 : se.id,
9273
9261
  milestone: r.value,
9274
9262
  "activity-id": (y = u.value) == null ? void 0 : y.id,
9275
9263
  onAddActivity: D,
9276
9264
  onUpdateActivity: L,
9277
9265
  onRemoveActivity: I
9278
- }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : T("", !0)
9266
+ }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : O("", !0)
9279
9267
  ])
9280
9268
  ])
9281
9269
  ]),
@@ -9299,14 +9287,14 @@ const yv = {
9299
9287
  onAddSubtask: N,
9300
9288
  onUpdateSubtask: W,
9301
9289
  onDeleteSubtask: oe,
9302
- onAddFiles: se,
9303
- onRemoveFile: O
9290
+ onAddFiles: ne,
9291
+ onRemoveFile: T
9304
9292
  }, {
9305
9293
  default: z((q) => [
9306
- te(k.$slots, "activityDetailsBody", fa(va(q)))
9294
+ te(k.$slots, "activityDetailsBody", pa(fa(q)))
9307
9295
  ]),
9308
9296
  _: 3
9309
- }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
9297
+ }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : O("", !0)
9310
9298
  ])),
9311
9299
  (p(), P(Nt, { to: "body" }, [
9312
9300
  U.value ? (p(), P(_v, {
@@ -9319,9 +9307,9 @@ const yv = {
9319
9307
  onClose: Z,
9320
9308
  onAddRule: K,
9321
9309
  onRemoveRule: E
9322
- }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : T("", !0)
9310
+ }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : O("", !0)
9323
9311
  ]))
9324
- ])) : T("", !0);
9312
+ ])) : O("", !0);
9325
9313
  };
9326
9314
  }
9327
9315
  });
@@ -9351,13 +9339,13 @@ const Tv = {
9351
9339
  default: z(() => [
9352
9340
  e.$slots.header ? (p(), m("header", Tv, [
9353
9341
  te(e.$slots, "header")
9354
- ])) : T("", !0),
9342
+ ])) : O("", !0),
9355
9343
  v("div", Ov, [
9356
9344
  te(e.$slots, "default")
9357
9345
  ]),
9358
9346
  e.$slots.footer ? (p(), m("footer", Ev, [
9359
9347
  te(e.$slots, "footer")
9360
- ])) : T("", !0)
9348
+ ])) : O("", !0)
9361
9349
  ]),
9362
9350
  _: 3
9363
9351
  }, 8, ["class"]));
@@ -9439,7 +9427,7 @@ const Iv = { class: "ao-card-project-phase__header" }, Lv = { class: "ao-card-pr
9439
9427
  "is-editable": c.isEditable,
9440
9428
  "onUpdate:title": n
9441
9429
  }, null, 8, ["id", "title", "is-editable"]),
9442
- s.value ? (p(), m("span", Hv, " (" + x(s.value) + ")", 1)) : T("", !0)
9430
+ s.value ? (p(), m("span", Hv, " (" + x(s.value) + ")", 1)) : O("", !0)
9443
9431
  ])
9444
9432
  ]),
9445
9433
  footer: z(() => [
@@ -9458,8 +9446,8 @@ const Iv = { class: "ao-card-project-phase__header" }, Lv = { class: "ao-card-pr
9458
9446
  }, null, 8, ["percentages"]),
9459
9447
  c.$slots.secondary ? (p(), m("div", Rv, [
9460
9448
  te(c.$slots, "secondary")
9461
- ])) : T("", !0)
9462
- ])) : T("", !0),
9449
+ ])) : O("", !0)
9450
+ ])) : O("", !0),
9463
9451
  v("div", {
9464
9452
  class: Q(["ao-card-project-phase__footer-row", l.value ? "" : "ao-card-project-phase__no_deadline"])
9465
9453
  }, [
@@ -9475,7 +9463,7 @@ const Iv = { class: "ao-card-project-phase__header" }, Lv = { class: "ao-card-pr
9475
9463
  void 0,
9476
9464
  { lazy: !0 }
9477
9465
  ]
9478
- ]) : T("", !0),
9466
+ ]) : O("", !0),
9479
9467
  v("span", Nv, x(J(Tn)(c.deadline)), 1)
9480
9468
  ], 2)
9481
9469
  ])
@@ -9586,7 +9574,7 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
9586
9574
  class: "ao-card-project-milestone__title",
9587
9575
  "onUpdate:title": r
9588
9576
  }, null, 8, ["id", "title", "is-editable"]),
9589
- n.value ? (p(), m("span", qv, " (" + x(n.value) + ")", 1)) : T("", !0)
9577
+ n.value ? (p(), m("span", qv, " (" + x(n.value) + ")", 1)) : O("", !0)
9590
9578
  ])
9591
9579
  ]),
9592
9580
  !l.readonly && l.isEditable ? (p(), m("div", zv, [
@@ -9600,7 +9588,7 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
9600
9588
  label: l.$t("archive"),
9601
9589
  onClick: c[0] || (c[0] = fe(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
9602
9590
  }, null, 8, ["color", "label"])
9603
- ])) : T("", !0)
9591
+ ])) : O("", !0)
9604
9592
  ]),
9605
9593
  v("div", xv, [
9606
9594
  v("div", Yv, [
@@ -9616,10 +9604,10 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
9616
9604
  percentages: i.value,
9617
9605
  class: "ao-card-project-milestone__progress"
9618
9606
  }, null, 8, ["percentages"])
9619
- ], 64)) : T("", !0),
9607
+ ], 64)) : O("", !0),
9620
9608
  l.$slots.secondary ? (p(), m("div", Xv, [
9621
9609
  te(l.$slots, "secondary")
9622
- ])) : T("", !0)
9610
+ ])) : O("", !0)
9623
9611
  ])
9624
9612
  ])
9625
9613
  ]),
@@ -9632,10 +9620,10 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
9632
9620
  l.isSelected ? "ao-card-project-milestone__important--selected" : "ao-card-project-milestone__important"
9633
9621
  ),
9634
9622
  size: "sm"
9635
- }, null, 8, ["class"])) : T("", !0),
9623
+ }, null, 8, ["class"])) : O("", !0),
9636
9624
  l.deadline ? (p(), m("label", Jv, [
9637
9625
  v("span", e9, x(J(Tn)(l.deadline)), 1)
9638
- ])) : T("", !0),
9626
+ ])) : O("", !0),
9639
9627
  l.assignee ? (p(), m("div", t9, [
9640
9628
  M(Je, {
9641
9629
  "user-name": J(zs)(l.assignee),
@@ -9643,7 +9631,7 @@ const Uv = { class: "ao-card-project-milestone__default" }, Zv = { class: "ao-ti
9643
9631
  color: l.isSelected ? "black" : "primary",
9644
9632
  size: "sm"
9645
9633
  }, null, 8, ["user-name", "avatar-url", "color"])
9646
- ])) : T("", !0)
9634
+ ])) : O("", !0)
9647
9635
  ])
9648
9636
  ]),
9649
9637
  _: 3
@@ -9715,7 +9703,7 @@ const n9 = {
9715
9703
  name: "DragIndicator",
9716
9704
  class: "ao-project-phase__drag-handle"
9717
9705
  })
9718
- ])) : T("", !0),
9706
+ ])) : O("", !0),
9719
9707
  v("div", s9, [
9720
9708
  M(jv, {
9721
9709
  id: d.phase.id,
@@ -9772,7 +9760,7 @@ const n9 = {
9772
9760
  class: "ao-project-phase__milestone-add",
9773
9761
  "icon-name": "Add",
9774
9762
  onClick: h[0] || (h[0] = () => r(d.phase.id))
9775
- }, null, 8, ["label"])) : T("", !0)
9763
+ }, null, 8, ["label"])) : O("", !0)
9776
9764
  ])
9777
9765
  ])
9778
9766
  ])
@@ -9808,7 +9796,7 @@ const u9 = { class: "ao-project__phases" }, c9 = {
9808
9796
  e("archivePhase", u);
9809
9797
  }, r = (u) => {
9810
9798
  if (u.moved) {
9811
- const f = ga(u, a.phases ?? []);
9799
+ const f = Ca(u, a.phases ?? []);
9812
9800
  e("updatePhase", {
9813
9801
  id: u.moved.element.id,
9814
9802
  rank: f
@@ -9854,7 +9842,7 @@ const u9 = { class: "ao-project__phases" }, c9 = {
9854
9842
  }, null, 8, ["label"])
9855
9843
  ]),
9856
9844
  f9
9857
- ])) : T("", !0)
9845
+ ])) : O("", !0)
9858
9846
  ]));
9859
9847
  }
9860
9848
  });
@@ -10060,7 +10048,7 @@ const ci = /* @__PURE__ */ j(y9, [["render", w9], ["__scopeId", "data-v-cbe33527
10060
10048
  color: "primary",
10061
10049
  label: E.$t("project.template.add.label"),
10062
10050
  onClick: G[2] || (G[2] = (W) => Z.value = !0)
10063
- }, null, 8, ["label"])) : T("", !0)
10051
+ }, null, 8, ["label"])) : O("", !0)
10064
10052
  ]),
10065
10053
  _: 1
10066
10054
  }),
@@ -10120,7 +10108,7 @@ const ci = /* @__PURE__ */ j(y9, [["render", w9], ["__scopeId", "data-v-cbe33527
10120
10108
  default: z(({ Component: W }) => [
10121
10109
  (p(), P(ht(W), null, {
10122
10110
  default: z((oe) => [
10123
- te(E.$slots, "activityDetailsBody", fa(va(oe)))
10111
+ te(E.$slots, "activityDetailsBody", pa(fa(oe)))
10124
10112
  ]),
10125
10113
  _: 2
10126
10114
  }, 1024))
@@ -10136,7 +10124,7 @@ const ci = /* @__PURE__ */ j(y9, [["render", w9], ["__scopeId", "data-v-cbe33527
10136
10124
  templates: E.templates,
10137
10125
  onClose: G[4] || (G[4] = (W) => Z.value = !1),
10138
10126
  onApply: K
10139
- }, null, 8, ["project-id", "templates"])) : T("", !0)
10127
+ }, null, 8, ["project-id", "templates"])) : O("", !0)
10140
10128
  ]))
10141
10129
  ], 64);
10142
10130
  };
@@ -10225,37 +10213,37 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
10225
10213
  variant: "solid",
10226
10214
  color: h.projectColor ? void 0 : "primary",
10227
10215
  "raw-color": s.value
10228
- }, null, 8, ["label", "color", "raw-color"])) : T("", !0),
10216
+ }, null, 8, ["label", "color", "raw-color"])) : O("", !0),
10229
10217
  h.isPrivate || h.important || h.isClosed ? (p(), m("div", M9, [
10230
10218
  h.isPrivate ? (p(), P(pe, {
10231
10219
  key: 0,
10232
10220
  name: "Lock",
10233
10221
  class: "ao-card-feed__warning",
10234
10222
  size: "sm"
10235
- })) : T("", !0),
10223
+ })) : O("", !0),
10236
10224
  h.important ? (p(), P(pe, {
10237
10225
  key: 1,
10238
10226
  name: "FlagRounded",
10239
10227
  class: "ao-card-feed__important",
10240
10228
  size: "sm"
10241
- })) : T("", !0),
10229
+ })) : O("", !0),
10242
10230
  h.isClosed ? (p(), P(pe, {
10243
10231
  key: 2,
10244
10232
  name: "CheckSmallRounded",
10245
10233
  class: "ao-card-feed__closed"
10246
- })) : T("", !0)
10247
- ])) : T("", !0),
10234
+ })) : O("", !0)
10235
+ ])) : O("", !0),
10248
10236
  h.$slots.secondary ? (p(), m("div", T9, [
10249
10237
  te(h.$slots, "secondary")
10250
- ])) : T("", !0)
10238
+ ])) : O("", !0)
10251
10239
  ])
10252
10240
  ]),
10253
10241
  default: z(() => [
10254
10242
  v("div", O9, [
10255
- i.value ? (p(), m("span", E9, x(i.value), 1)) : T("", !0),
10243
+ i.value ? (p(), m("span", E9, x(i.value), 1)) : O("", !0),
10256
10244
  v("div", I9, [
10257
10245
  v("div", L9, [
10258
- h.slug ? (p(), m("span", H9, x(h.slug) + ": ", 1)) : T("", !0),
10246
+ h.slug ? (p(), m("span", H9, x(h.slug) + ": ", 1)) : O("", !0),
10259
10247
  M(ye, {
10260
10248
  id: h.id,
10261
10249
  title: h.name,
@@ -10266,7 +10254,7 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
10266
10254
  }, null, 8, ["id", "title", "is-editable"])
10267
10255
  ])
10268
10256
  ]),
10269
- h.deadline ? (p(), m("span", D9, x(l.value), 1)) : T("", !0)
10257
+ h.deadline ? (p(), m("span", D9, x(l.value), 1)) : O("", !0)
10270
10258
  ])
10271
10259
  ]),
10272
10260
  footer: z(() => [
@@ -10283,7 +10271,7 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
10283
10271
  "is-closable": !0,
10284
10272
  onClose: () => c(g.id)
10285
10273
  }, null, 8, ["user-name", "avatar-url", "onClose"])
10286
- ])) : T("", !0)
10274
+ ])) : O("", !0)
10287
10275
  ], 64))), 128))
10288
10276
  ]),
10289
10277
  h.comments || h.attachments ? (p(), m("ul", N9, [
@@ -10293,15 +10281,15 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
10293
10281
  size: "sm"
10294
10282
  }),
10295
10283
  v("span", F9, x(h.comments), 1)
10296
- ])) : T("", !0),
10284
+ ])) : O("", !0),
10297
10285
  h.attachments ? (p(), m("li", U9, [
10298
10286
  M(pe, {
10299
10287
  name: "AttachFileRounded",
10300
10288
  size: "sm"
10301
10289
  }),
10302
10290
  v("span", Z9, x(h.attachments), 1)
10303
- ])) : T("", !0)
10304
- ])) : T("", !0)
10291
+ ])) : O("", !0)
10292
+ ])) : O("", !0)
10305
10293
  ]),
10306
10294
  v("div", W9, [
10307
10295
  h.tasks && h.tasks.length ? (p(), m("div", q9, [
@@ -10316,7 +10304,7 @@ const A9 = { class: "ao-card-feed__header" }, M9 = {
10316
10304
  percentages: d.value,
10317
10305
  class: "ao-card-feed__progress"
10318
10306
  }, null, 8, ["percentages"])
10319
- ])) : T("", !0)
10307
+ ])) : O("", !0)
10320
10308
  ])
10321
10309
  ])
10322
10310
  ]),
@@ -10792,7 +10780,7 @@ const s4 = /* @__PURE__ */ M(
10792
10780
  );
10793
10781
  function r4(t, e, a, n, s, o) {
10794
10782
  return p(), P("div", null, [
10795
- t.isSucking ? T("v-if", !0) : (p(), P(
10783
+ t.isSucking ? O("v-if", !0) : (p(), P(
10796
10784
  "svg",
10797
10785
  {
10798
10786
  key: 0,
@@ -10809,7 +10797,7 @@ function r4(t, e, a, n, s, o) {
10809
10797
  )),
10810
10798
  t.isSucking ? (p(), P("svg", i4, [
10811
10799
  o4
10812
- ])) : T("v-if", !0)
10800
+ ])) : O("v-if", !0)
10813
10801
  ]);
10814
10802
  }
10815
10803
  Xn.render = r4;
@@ -10986,7 +10974,7 @@ function f4(t, e, a, n, s, o) {
10986
10974
  128
10987
10975
  /* KEYED_FRAGMENT */
10988
10976
  ))
10989
- ])) : T("v-if", !0)
10977
+ ])) : O("v-if", !0)
10990
10978
  ]);
10991
10979
  }
10992
10980
  Jn.render = f4;
@@ -11210,7 +11198,7 @@ function h4(t, e, a, n, s, o) {
11210
11198
  width: t.previewWidth,
11211
11199
  height: t.previewHeight
11212
11200
  }, null, 8, ["color", "width", "height"]),
11213
- t.suckerHide ? T("v-if", !0) : (p(), P(u, {
11201
+ t.suckerHide ? O("v-if", !0) : (p(), P(u, {
11214
11202
  key: 0,
11215
11203
  "sucker-canvas": t.suckerCanvas,
11216
11204
  "sucker-area": t.suckerArea,
@@ -11241,7 +11229,7 @@ function h4(t, e, a, n, s, o) {
11241
11229
  "colors-history-key": t.colorsHistoryKey,
11242
11230
  onSelectColor: t.selectColor
11243
11231
  }, null, 8, ["color", "colors-default", "colors-history-key", "onSelectColor"]),
11244
- T(" custom options "),
11232
+ O(" custom options "),
11245
11233
  te(t.$slots, "default")
11246
11234
  ],
11247
11235
  6
@@ -11292,7 +11280,7 @@ function g4(t, e, a, n, s, o) {
11292
11280
  theme: "light",
11293
11281
  color: a.color,
11294
11282
  onChangeColor: o.changeColor
11295
- }, null, 8, ["color", "onChangeColor"])) : T("", !0)
11283
+ }, null, 8, ["color", "onChangeColor"])) : O("", !0)
11296
11284
  ]);
11297
11285
  }
11298
11286
  const _4 = /* @__PURE__ */ j(m4, [["render", g4]]), y4 = { class: "ao-project-milestone" }, b4 = { class: "ao-project-milestone__header" }, w4 = { class: "ao-project-milestone__header_line" }, $4 = { class: "ao-project-milestone__header_line" }, k4 = { class: "ao-project-milestone__title" }, S4 = {
@@ -11487,7 +11475,7 @@ const _4 = /* @__PURE__ */ j(m4, [["render", g4]]), y4 = { class: "ao-project-mi
11487
11475
  color: d.value,
11488
11476
  "onUpdate:color": C[3] || (C[3] = (I) => d.value = I)
11489
11477
  }, null, 8, ["color"])
11490
- ])) : T("", !0)
11478
+ ])) : O("", !0)
11491
11479
  ]),
11492
11480
  v("div", E4, [
11493
11481
  M(J(mt), He({
@@ -11537,7 +11525,7 @@ const _4 = /* @__PURE__ */ j(m4, [["render", g4]]), y4 = { class: "ao-project-mi
11537
11525
  corners: "round",
11538
11526
  label: _.$t("archive"),
11539
11527
  onClick: fe(() => _.$emit("archiveActivity", { id: I.id }), ["stop"])
11540
- }, null, 8, ["label", "onClick"])) : T("", !0),
11528
+ }, null, 8, ["label", "onClick"])) : O("", !0),
11541
11529
  _.isEditable && !I.active ? (p(), P(ue, {
11542
11530
  key: 1,
11543
11531
  color: "primary",
@@ -11551,7 +11539,7 @@ const _4 = /* @__PURE__ */ j(m4, [["render", g4]]), y4 = { class: "ao-project-mi
11551
11539
  () => _.$emit("unarchiveActivity", { id: I.id }),
11552
11540
  ["stop"]
11553
11541
  )
11554
- }, null, 8, ["label", "onClick"])) : T("", !0)
11542
+ }, null, 8, ["label", "onClick"])) : O("", !0)
11555
11543
  ]),
11556
11544
  key: "0"
11557
11545
  } : void 0
@@ -11566,7 +11554,7 @@ const _4 = /* @__PURE__ */ j(m4, [["render", g4]]), y4 = { class: "ao-project-mi
11566
11554
  label: _.$t("project.activity.add"),
11567
11555
  onClick: c
11568
11556
  }, null, 8, ["label"])
11569
- ])) : T("", !0)
11557
+ ])) : O("", !0)
11570
11558
  ])
11571
11559
  ]);
11572
11560
  };
@@ -11653,10 +11641,10 @@ const L4 = /* @__PURE__ */ Y({
11653
11641
  onRemoveComment: g
11654
11642
  }, {
11655
11643
  default: z((D) => [
11656
- te(b.$slots, "default", fa(va(D)))
11644
+ te(b.$slots, "default", pa(fa(D)))
11657
11645
  ]),
11658
11646
  _: 3
11659
- }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
11647
+ }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : O("", !0);
11660
11648
  };
11661
11649
  }
11662
11650
  }), H4 = { class: "ao-col-header" }, D4 = /* @__PURE__ */ Y({
@@ -11678,14 +11666,14 @@ const L4 = /* @__PURE__ */ Y({
11678
11666
  class: "ao-col-header__items",
11679
11667
  variant: "solid",
11680
11668
  color: "primary"
11681
- }, null, 8, ["label"])) : T("", !0)
11669
+ }, null, 8, ["label"])) : O("", !0)
11682
11670
  ]));
11683
11671
  }
11684
11672
  });
11685
11673
  function P4(t) {
11686
11674
  return Pi() ? (Vi(t), !0) : !1;
11687
11675
  }
11688
- function Fa(t) {
11676
+ function ja(t) {
11689
11677
  return typeof t == "function" ? t() : J(t);
11690
11678
  }
11691
11679
  const V4 = typeof window < "u" && typeof document < "u";
@@ -11706,7 +11694,7 @@ function N4(t, e = {}) {
11706
11694
  clearTimeout(r), s(), s = oa;
11707
11695
  };
11708
11696
  return (r) => {
11709
- const l = Fa(t), c = Fa(e.maxWait);
11697
+ const l = ja(t), c = ja(e.maxWait);
11710
11698
  return a && o(a), l <= 0 || c !== void 0 && c <= 0 ? (n && (o(n), n = null), Promise.resolve(r())) : new Promise((u, f) => {
11711
11699
  s = e.rejectOnCancel ? f : u, c && !n && (n = setTimeout(() => {
11712
11700
  a && o(a), n = null, u(r());
@@ -11724,7 +11712,7 @@ function j4(t, e = 200, a = {}) {
11724
11712
  }
11725
11713
  function mn(t) {
11726
11714
  var e;
11727
- const a = Fa(t);
11715
+ const a = ja(t);
11728
11716
  return (e = a == null ? void 0 : a.$el) != null ? e : a;
11729
11717
  }
11730
11718
  const F4 = V4 ? window : void 0;
@@ -11746,7 +11734,7 @@ function W4(t, e, a = {}) {
11746
11734
  window: i = F4,
11747
11735
  immediate: r = !0
11748
11736
  } = a, l = Z4(() => i && "IntersectionObserver" in i), c = A(() => {
11749
- const w = Fa(t);
11737
+ const w = ja(t);
11750
11738
  return (Array.isArray(w) ? w : [w]).map(mn).filter(B4);
11751
11739
  });
11752
11740
  let u = oa;
@@ -11853,10 +11841,10 @@ const q4 = {
11853
11841
  title: u.title,
11854
11842
  level: 3,
11855
11843
  items: (d = u.list) == null ? void 0 : d.length
11856
- }, null, 8, ["title", "items"])) : T("", !0)
11844
+ }, null, 8, ["title", "items"])) : O("", !0)
11857
11845
  ])
11858
11846
  ];
11859
- }) : T("", !0),
11847
+ }) : O("", !0),
11860
11848
  M(J(mt), He({
11861
11849
  class: ["ao-list-kanban__list", c.value ? "ao-list-kanban__transition" : void 0],
11862
11850
  list: u.list,
@@ -11916,7 +11904,7 @@ const q4 = {
11916
11904
  corners: "round",
11917
11905
  label: u.$t("feed.activity.archive"),
11918
11906
  onClick: fe(() => u.$emit("archiveActivity", { id: d.id }), ["stop"])
11919
- }, null, 8, ["label", "onClick"])) : T("", !0),
11907
+ }, null, 8, ["label", "onClick"])) : O("", !0),
11920
11908
  o(d) && !d.active ? (p(), P(ue, {
11921
11909
  key: 1,
11922
11910
  color: "primary",
@@ -11927,7 +11915,7 @@ const q4 = {
11927
11915
  corners: "round",
11928
11916
  label: u.$t("feed.activity.unarchive"),
11929
11917
  onClick: fe(() => u.$emit("unarchiveActivity", { id: d.id }), ["stop"])
11930
- }, null, 8, ["label", "onClick"])) : T("", !0)
11918
+ }, null, 8, ["label", "onClick"])) : O("", !0)
11931
11919
  ]),
11932
11920
  _: 2
11933
11921
  }, 1032, ["class", "id", "name", "project-name", "project-color", "phase-name", "milestone-name", "milestone-color", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "slug", "is-editable", "is-private", "tag-type", "onUpdateActivity", "onClick", "onRemoveAssignee"])
@@ -11942,7 +11930,7 @@ const q4 = {
11942
11930
  ref: s,
11943
11931
  class: "ao-list-kanban__end"
11944
11932
  }, null, 512)) : (p(), m("div", Y4, [
11945
- u.noMoreLabel ? (p(), m("span", K4, x(u.noMoreLabel), 1)) : u.isEditable ? (p(), m("span", G4)) : T("", !0)
11933
+ u.noMoreLabel ? (p(), m("span", K4, x(u.noMoreLabel), 1)) : u.isEditable ? (p(), m("span", G4)) : O("", !0)
11946
11934
  ]))
11947
11935
  ]),
11948
11936
  _: 1
@@ -11954,9 +11942,9 @@ const q4 = {
11954
11942
  "icon-name": "AddBoxOutlineRounded",
11955
11943
  label: u.footerLabel,
11956
11944
  onClick: f[2] || (f[2] = (d) => u.$emit("add"))
11957
- }, null, 8, ["label"])) : T("", !0)
11945
+ }, null, 8, ["label"])) : O("", !0)
11958
11946
  ])
11959
- ])) : T("", !0)
11947
+ ])) : O("", !0)
11960
11948
  ]));
11961
11949
  }
11962
11950
  });
@@ -12016,26 +12004,27 @@ const a8 = { class: "ao-feed" }, n8 = { class: "ao-feed__filters" }, s8 = { clas
12016
12004
  searchText: { default: "" },
12017
12005
  showsArchivedActivities: { type: Boolean },
12018
12006
  showsOnlyImportant: { type: Boolean },
12007
+ showsOnlyNonAssigned: { type: Boolean },
12019
12008
  selectedActivity: {},
12020
12009
  isTaskCheckable: { type: Function, default: void 0 },
12021
12010
  isEditable: { type: [Boolean, String] },
12022
12011
  attachmentEnabled: { type: Boolean, default: !0 }
12023
12012
  },
12024
- emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
12013
+ emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "unarchiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "update:showsOnlyNonAssigned", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
12025
12014
  setup(t, { emit: e }) {
12026
12015
  const a = t, { t: n } = Tt();
12027
- function s(O, k) {
12028
- e("toast", O, k);
12016
+ function s(T, k) {
12017
+ e("toast", T, k);
12029
12018
  }
12030
- const o = Pt(a, "activities"), i = async (O, k) => {
12031
- await e("selectActivity", O, k);
12019
+ const o = Pt(a, "activities"), i = async (T, k) => {
12020
+ await e("selectActivity", T, k);
12032
12021
  }, r = ee({}), l = ee(!1), c = ee(!1), u = A(() => a.project ? "milestone" : "project");
12033
12022
  de(
12034
12023
  [() => a.statuses, () => a.activities, () => a.initialActivityId, () => a.initialActivitySlug],
12035
12024
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
12036
- async ([O, k, F, V], [ae, y]) => {
12025
+ async ([T, k, F, V], [se, y]) => {
12037
12026
  r.value = Object.fromEntries(
12038
- O.map((R) => [
12027
+ T.map((R) => [
12039
12028
  R.id,
12040
12029
  k.filter((le) => {
12041
12030
  var ie;
@@ -12047,68 +12036,68 @@ const a8 = { class: "ao-feed" }, n8 = { class: "ao-feed__filters" }, s8 = { clas
12047
12036
  { immediate: !0 }
12048
12037
  );
12049
12038
  const f = A(() => {
12050
- var O;
12051
- return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((O = a.selectedActivity.milestone.phase) == null ? void 0 : O.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
12052
- }), d = (O) => {
12039
+ var T;
12040
+ return !a.selectedActivity || !a.selectedActivity.milestone ? "" : `${((T = a.selectedActivity.milestone.phase) == null ? void 0 : T.name) ?? ""} / ${a.selectedActivity.milestone.name ?? ""}`;
12041
+ }), d = (T) => {
12053
12042
  var y, R;
12054
- 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, ae = {
12043
+ 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 = {
12055
12044
  name: n("activity.defaultName", { idx: V + 1 }),
12056
12045
  rank: F.format(),
12057
- statusId: O.id
12046
+ statusId: T.id
12058
12047
  };
12059
- a.filters.assigneeId.length > 0 && (ae.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (ae.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (ae.typeId = a.filters.typeId[0]), c.value = !0, e("addActivity", ae);
12060
- }, h = (O, k) => {
12061
- c.value = !1, e("update:filters", { ...a.filters, [O]: k });
12048
+ a.filters.assigneeId.length > 0 && (se.assigneeId = a.filters.assigneeId[0]), a.filters.projectId.length > 0 && (se.projectId = a.filters.projectId[0]), a.filters.typeId.length > 0 && (se.typeId = a.filters.typeId[0]), c.value = !0, e("addActivity", se);
12049
+ }, h = (T, k) => {
12050
+ c.value = !1, e("update:filters", { ...a.filters, [T]: k });
12062
12051
  }, w = A(
12063
12052
  () => a.project ? [a.project] : a.projects ?? []
12064
- ), g = A(() => w.value.map((O) => ({
12065
- value: O.id,
12066
- label: O.name
12053
+ ), g = A(() => w.value.map((T) => ({
12054
+ value: T.id,
12055
+ label: T.name
12067
12056
  }))), b = A(() => {
12068
- var O;
12069
- return (O = a.activityTypes) == null ? void 0 : O.map((k) => ({
12057
+ var T;
12058
+ return (T = a.activityTypes) == null ? void 0 : T.map((k) => ({
12070
12059
  value: k.id,
12071
12060
  label: k.name
12072
12061
  }));
12073
- }), S = A(() => a.users.map((O) => ({
12074
- value: O.id,
12075
- label: `${O.firstName} ${O.lastName}`,
12076
- avatar: O.avatarUrl
12077
- }))), _ = (O) => {
12078
- a.selectedActivity && e("update:activity", O);
12079
- }, C = (O) => {
12080
- e("update:activity", O);
12081
- }, D = (O) => {
12082
- e("archiveActivity", O);
12083
- }, I = (O) => {
12084
- e("unarchiveActivity", O);
12085
- }, L = (O) => {
12086
- c.value = !1, e("update:searchText", O);
12087
- }, U = (O) => {
12088
- c.value = !1, e("clear:searchText", O);
12089
- }, Z = (O) => {
12090
- a.selectedActivity && e("addSubtask", O);
12091
- }, K = (O) => {
12092
- a.selectedActivity && e("updateSubtask", O);
12093
- }, E = (O) => {
12094
- a.selectedActivity && e("deleteSubtask", O);
12095
- }, G = (O) => {
12096
- e("addFiles", O);
12097
- }, N = (O) => {
12098
- e("removeFile", O);
12099
- }, W = (O) => {
12062
+ }), S = A(() => a.users.map((T) => ({
12063
+ value: T.id,
12064
+ label: `${T.firstName} ${T.lastName}`,
12065
+ avatar: T.avatarUrl
12066
+ }))), _ = (T) => {
12067
+ a.selectedActivity && e("update:activity", T);
12068
+ }, C = (T) => {
12069
+ e("update:activity", T);
12070
+ }, D = (T) => {
12071
+ e("archiveActivity", T);
12072
+ }, I = (T) => {
12073
+ e("unarchiveActivity", T);
12074
+ }, L = (T) => {
12075
+ c.value = !1, e("update:searchText", T);
12076
+ }, U = (T) => {
12077
+ c.value = !1, e("clear:searchText", T);
12078
+ }, Z = (T) => {
12079
+ a.selectedActivity && e("addSubtask", T);
12080
+ }, K = (T) => {
12081
+ a.selectedActivity && e("updateSubtask", T);
12082
+ }, E = (T) => {
12083
+ a.selectedActivity && e("deleteSubtask", T);
12084
+ }, G = (T) => {
12085
+ e("addFiles", T);
12086
+ }, N = (T) => {
12087
+ e("removeFile", T);
12088
+ }, W = (T) => {
12100
12089
  a.selectedActivity && e("addComment", {
12101
- ...O,
12090
+ ...T,
12102
12091
  activityId: a.selectedActivity.id
12103
12092
  });
12104
- }, oe = (O) => {
12093
+ }, oe = (T) => {
12105
12094
  const { id: k } = a.selectedActivity || {};
12106
- k && e("updateComment", O);
12107
- }, se = (O) => {
12095
+ k && e("updateComment", T);
12096
+ }, ne = (T) => {
12108
12097
  const { id: k } = a.selectedActivity || {};
12109
- k && e("removeComment", O);
12098
+ k && e("removeComment", T);
12110
12099
  };
12111
- return (O, k) => {
12100
+ return (T, k) => {
12112
12101
  var F;
12113
12102
  return p(), m("div", a8, [
12114
12103
  M(Ga, null, {
@@ -12117,103 +12106,115 @@ const a8 = { class: "ao-feed" }, n8 = { class: "ao-feed__filters" }, s8 = { clas
12117
12106
  a.project ? (p(), P(ci, {
12118
12107
  key: 0,
12119
12108
  "is-left": !1,
12120
- "right-label": O.$t("project.switch.feed"),
12121
- "left-label": O.$t("project.switch.overview"),
12109
+ "right-label": T.$t("project.switch.feed"),
12110
+ "left-label": T.$t("project.switch.overview"),
12122
12111
  "onUpdate:isLeft": k[0] || (k[0] = (V) => {
12123
- V && O.$router.push({ name: J(Fe).project });
12112
+ V && T.$router.push({ name: J(Fe).project });
12124
12113
  })
12125
- }, null, 8, ["right-label", "left-label"])) : T("", !0),
12114
+ }, null, 8, ["right-label", "left-label"])) : O("", !0),
12126
12115
  M(t8, {
12127
- "model-value": O.searchText,
12128
- placeholder: O.$t("feed.search.placeholder"),
12116
+ "model-value": T.searchText,
12117
+ placeholder: T.$t("feed.search.placeholder"),
12129
12118
  class: "ao-feed__search",
12130
12119
  "onUpdate:modelValue": L,
12131
12120
  onClear: U
12132
12121
  }, null, 8, ["model-value", "placeholder"]),
12133
- a.project ? T("", !0) : (p(), P($e, {
12122
+ a.project ? O("", !0) : (p(), P($e, {
12134
12123
  key: 1,
12135
- "model-value": O.filters[J(Lt).project],
12124
+ "model-value": T.filters[J(Lt).project],
12136
12125
  mode: "tags",
12137
12126
  options: g.value,
12138
12127
  "close-on-select": !1,
12139
12128
  searchable: !0,
12140
12129
  class: "ao-feed__filter ao-feed__filter__projects",
12141
- placeholder: O.$t("feed.filters.project.placeholder"),
12130
+ placeholder: T.$t("feed.filters.project.placeholder"),
12142
12131
  "onUpdate:modelValue": k[1] || (k[1] = (V) => h(J(Lt).project, V))
12143
12132
  }, null, 8, ["model-value", "options", "placeholder"])),
12144
12133
  b.value ? (p(), P($e, {
12145
12134
  key: 2,
12146
- "model-value": O.filters[J(Lt).type],
12135
+ "model-value": T.filters[J(Lt).type],
12147
12136
  mode: "tags",
12148
12137
  options: b.value,
12149
12138
  "close-on-select": !1,
12150
12139
  searchable: !0,
12151
12140
  class: "ao-feed__filter ao-feed__filter__types",
12152
- placeholder: O.$t("feed.filters.activityType.placeholder"),
12141
+ placeholder: T.$t("feed.filters.activityType.placeholder"),
12153
12142
  "onUpdate:modelValue": k[2] || (k[2] = (V) => h(J(Lt).type, V))
12154
- }, null, 8, ["model-value", "options", "placeholder"])) : T("", !0),
12143
+ }, null, 8, ["model-value", "options", "placeholder"])) : O("", !0),
12155
12144
  S.value.length ? (p(), P($e, {
12156
12145
  key: 3,
12157
- "model-value": O.filters[J(Lt).assignee],
12146
+ "model-value": T.filters[J(Lt).assignee],
12158
12147
  mode: "tags",
12159
12148
  options: S.value,
12160
12149
  "close-on-select": !1,
12161
12150
  searchable: !0,
12162
12151
  class: "ao-feed__filter ao-feed__filter__assignees",
12163
- placeholder: O.$t("feed.filters.assignee.placeholder"),
12152
+ placeholder: T.$t("feed.filters.assignee.placeholder"),
12164
12153
  "onUpdate:modelValue": k[3] || (k[3] = (V) => h(J(Lt).assignee, V))
12165
12154
  }, {
12166
12155
  tag: z(({
12167
12156
  option: V,
12168
- handleTagRemove: ae
12157
+ handleTagRemove: se
12169
12158
  }) => [
12170
12159
  M(Je, {
12171
12160
  "user-name": V.label,
12172
12161
  "avatar-url": V.avatar,
12173
12162
  "is-closable": !0,
12174
- onClose: (y) => ae(V, y)
12163
+ onClose: (y) => se(V, y)
12175
12164
  }, null, 8, ["user-name", "avatar-url", "onClose"])
12176
12165
  ]),
12177
12166
  _: 1
12178
- }, 8, ["model-value", "options", "placeholder"])) : T("", !0)
12167
+ }, 8, ["model-value", "options", "placeholder"])) : O("", !0)
12179
12168
  ]),
12169
+ M(ue, {
12170
+ class: "ao-feed__only-non-assigned",
12171
+ size: "sm",
12172
+ "icon-name": T.showsOnlyNonAssigned ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
12173
+ "icon-position": "start",
12174
+ color: "primary",
12175
+ variant: "ghost",
12176
+ label: T.$t("feed.filters.showsOnlyImportant.label"),
12177
+ role: "checkbox",
12178
+ "aria-checked": T.showsOnlyNonAssigned,
12179
+ onClick: k[4] || (k[4] = (V) => T.$emit("update:showsOnlyNonAssigned", !T.showsOnlyNonAssigned))
12180
+ }, null, 8, ["icon-name", "label", "aria-checked"]),
12180
12181
  M(ue, {
12181
12182
  class: "ao-feed__only-important",
12182
12183
  size: "sm",
12183
- "icon-name": O.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
12184
+ "icon-name": T.showsOnlyImportant ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
12184
12185
  "icon-position": "start",
12185
12186
  color: "primary",
12186
12187
  variant: "ghost",
12187
- label: O.$t("feed.filters.showsOnlyImportant.label"),
12188
+ label: T.$t("feed.filters.showsOnlyImportant.label"),
12188
12189
  role: "checkbox",
12189
- "aria-checked": O.showsOnlyImportant,
12190
- onClick: k[4] || (k[4] = (V) => O.$emit("update:showsOnlyImportant", !O.showsOnlyImportant))
12190
+ "aria-checked": T.showsOnlyImportant,
12191
+ onClick: k[5] || (k[5] = (V) => T.$emit("update:showsOnlyImportant", !T.showsOnlyImportant))
12191
12192
  }, null, 8, ["icon-name", "label", "aria-checked"]),
12192
12193
  M(ue, {
12193
12194
  class: "ao-feed__show-archived",
12194
12195
  size: "sm",
12195
- "icon-name": O.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
12196
+ "icon-name": T.showsArchivedActivities ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
12196
12197
  "icon-position": "start",
12197
12198
  color: "primary",
12198
12199
  variant: "ghost",
12199
- label: O.$t("feed.filters.showsArchivedActivities.label"),
12200
+ label: T.$t("feed.filters.showsArchivedActivities.label"),
12200
12201
  role: "checkbox",
12201
- "aria-checked": O.showsArchivedActivities,
12202
- onClick: k[5] || (k[5] = (V) => O.$emit("update:showsArchivedActivities", !O.showsArchivedActivities))
12202
+ "aria-checked": T.showsArchivedActivities,
12203
+ onClick: k[6] || (k[6] = (V) => T.$emit("update:showsArchivedActivities", !T.showsArchivedActivities))
12203
12204
  }, null, 8, ["icon-name", "label", "aria-checked"])
12204
12205
  ]),
12205
12206
  _: 1
12206
12207
  }),
12207
12208
  v("div", s8, [
12208
- (p(!0), m(he, null, _e(O.statuses, (V) => (p(), P(Q4, {
12209
+ (p(!0), m(he, null, _e(T.statuses, (V) => (p(), P(Q4, {
12209
12210
  key: V.id,
12210
12211
  status: V,
12211
12212
  list: r.value[V.id],
12212
12213
  title: V.name,
12213
- "footer-label": O.$t("feed.activity.add"),
12214
- users: O.users,
12215
- "user-id": O.userId,
12216
- "is-editable": O.isEditable,
12214
+ "footer-label": T.$t("feed.activity.add"),
12215
+ users: T.users,
12216
+ "user-id": T.userId,
12217
+ "is-editable": T.isEditable,
12217
12218
  tagType: u.value,
12218
12219
  onAdd: () => d(V),
12219
12220
  onSelectActivity: i,
@@ -12223,21 +12224,21 @@ const a8 = { class: "ao-feed" }, n8 = { class: "ao-feed__filters" }, s8 = { clas
12223
12224
  }, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
12224
12225
  ]),
12225
12226
  (p(), P(Nt, { to: "body" }, [
12226
- O.selectedActivity ? (p(), P(Zn, {
12227
+ T.selectedActivity ? (p(), P(Zn, {
12227
12228
  key: 0,
12228
- activity: O.selectedActivity,
12229
- "activity-types": O.activityTypes,
12230
- "milestone-id": (F = O.selectedActivity.milestone) == null ? void 0 : F.id,
12229
+ activity: T.selectedActivity,
12230
+ "activity-types": T.activityTypes,
12231
+ "milestone-id": (F = T.selectedActivity.milestone) == null ? void 0 : F.id,
12231
12232
  "template-activities": o.value,
12232
- users: O.users,
12233
- "user-id": O.userId,
12234
- "is-task-checkable": O.isTaskCheckable,
12235
- statuses: O.statuses,
12233
+ users: T.users,
12234
+ "user-id": T.userId,
12235
+ "is-task-checkable": T.isTaskCheckable,
12236
+ statuses: T.statuses,
12236
12237
  breadcrumbs: f.value,
12237
- "is-editable": O.isEditable,
12238
- "attachment-enabled": O.attachmentEnabled,
12238
+ "is-editable": T.isEditable,
12239
+ "attachment-enabled": T.attachmentEnabled,
12239
12240
  projects: w.value,
12240
- onClose: k[6] || (k[6] = () => i(null, null)),
12241
+ onClose: k[7] || (k[7] = () => i(null, null)),
12241
12242
  "onUpdate:activity": _,
12242
12243
  onAddSubtask: Z,
12243
12244
  onUpdateSubtask: K,
@@ -12246,14 +12247,14 @@ const a8 = { class: "ao-feed" }, n8 = { class: "ao-feed__filters" }, s8 = { clas
12246
12247
  onRemoveFile: N,
12247
12248
  onAddComment: W,
12248
12249
  onUpdateComment: oe,
12249
- onRemoveComment: se,
12250
+ onRemoveComment: ne,
12250
12251
  onToast: s
12251
12252
  }, {
12252
12253
  default: z((V) => [
12253
- te(O.$slots, "activityDetailsBody", fa(va(V)))
12254
+ te(T.$slots, "activityDetailsBody", pa(fa(V)))
12254
12255
  ]),
12255
12256
  _: 3
12256
- }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : T("", !0)
12257
+ }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects"])) : O("", !0)
12257
12258
  ]))
12258
12259
  ]);
12259
12260
  };
@@ -12354,7 +12355,7 @@ const Dt = {
12354
12355
  });
12355
12356
  }, i = (r) => {
12356
12357
  if (r.moved) {
12357
- const l = ga(r, a.templates ?? []);
12358
+ const l = Ca(r, a.templates ?? []);
12358
12359
  e("updateItem", {
12359
12360
  itemType: Ce.TEMPLATES,
12360
12361
  id: r.moved.element.id,