@26lights/orcha 0.31.2 → 0.31.3

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,7 +1,7 @@
1
- import { defineComponent as K, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as xe, normalizeClass as G, renderSlot as X, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ye, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as E, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as tt, vModelText as Et, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
1
+ import { defineComponent as K, openBlock as f, createBlock as N, unref as z, mergeProps as Ee, createElementBlock as h, createElementVNode as v, pushScopeId as us, popScopeId as ds, createStaticVNode as cs, computed as b, resolveDynamicComponent as Qe, normalizeClass as G, renderSlot as X, toDisplayString as q, createCommentVNode as T, ref as Q, watch as ue, nextTick as Oe, withKeys as Ke, toHandlers as fs, withCtx as U, createTextVNode as a1, createVNode as E, normalizeStyle as ca, withModifiers as _e, createSlots as s1, Fragment as ve, renderList as ye, onMounted as Dt, onBeforeUnmount as vs, onUnmounted as fa, toRefs as $e, getCurrentInstance as st, toRef as vt, normalizeProps as Ht, guardReactiveProps as Pt, onUpdated as ps, withDirectives as Ye, vModelText as mt, vModelCheckbox as Q1, Teleport as It, resolveComponent as hs, getCurrentScope as ms, onScopeDispose as Cs, provide as _s, toHandlerKey as gs } from "vue";
2
2
  import { RouterView as ys } from "vue-router";
3
- import Qe from "vuedraggable";
4
- const l8 = /* @__PURE__ */ K({
3
+ import Je from "vuedraggable";
4
+ const d8 = /* @__PURE__ */ K({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -1154,7 +1154,7 @@ const od = /* @__PURE__ */ B(td, [["render", id]]), ld = /* @__PURE__ */ Object.
1154
1154
  },
1155
1155
  setup(t) {
1156
1156
  const e = t, a = b(() => ld[e.name]);
1157
- return (n, s) => (f(), N(xe(a.value), {
1157
+ return (n, s) => (f(), N(Qe(a.value), {
1158
1158
  class: G(["ao-icon", `ao-icon--${n.size}`])
1159
1159
  }, null, 8, ["class"]));
1160
1160
  }
@@ -1246,49 +1246,49 @@ const Ce = /* @__PURE__ */ K({
1246
1246
  setup(t, { emit: e }) {
1247
1247
  const a = t, n = Q(null), { isEditing: s, setIsEditing: o, onUpdate: i, onDiscard: l } = pa(n), d = b(() => s.value ? "input" : a.tag || `h${a.level}`), r = b(() => a.isEditable ? s.value ? {
1248
1248
  change: c,
1249
- click: (A) => A.stopPropagation(),
1249
+ click: (M) => M.stopPropagation(),
1250
1250
  blur: p
1251
1251
  } : {
1252
1252
  click: w,
1253
1253
  focus: w
1254
- } : {}), c = i((A, _) => {
1254
+ } : {}), c = i((M, _) => {
1255
1255
  const y = _.target.value;
1256
1256
  e("update:title", y);
1257
1257
  }), u = l(), p = async () => {
1258
1258
  s.value && o(!1);
1259
1259
  }, m = () => {
1260
1260
  e("toggle-is-editing", !1);
1261
- }, w = (A) => {
1262
- A.stopPropagation(), s.value || o(!0);
1261
+ }, w = (M) => {
1262
+ M.stopPropagation(), s.value || o(!0);
1263
1263
  };
1264
1264
  return ue(
1265
1265
  () => a.isEditable,
1266
- (A) => {
1267
- A || u();
1266
+ (M) => {
1267
+ M || u();
1268
1268
  }
1269
- ), (A, _) => (f(), N(xe(d.value), Ee({
1270
- id: A.id,
1269
+ ), (M, _) => (f(), N(Qe(d.value), Ee({
1270
+ id: M.id,
1271
1271
  ref_key: "target",
1272
1272
  ref: n,
1273
1273
  class: [
1274
1274
  "ao-title",
1275
- `ao-title--${A.level}`,
1275
+ `ao-title--${M.level}`,
1276
1276
  {
1277
- [`ao-title--${A.color}`]: !!A.color,
1278
- "ao-title--editable": A.isEditable,
1277
+ [`ao-title--${M.color}`]: !!M.color,
1278
+ "ao-title--editable": M.isEditable,
1279
1279
  "ao-field__input ao-title--editing": z(s),
1280
1280
  "ao-title--readonly": !z(s)
1281
1281
  }
1282
1282
  ],
1283
1283
  type: z(s) ? "text" : null,
1284
- value: z(s) ? A.title : null,
1284
+ value: z(s) ? M.title : null,
1285
1285
  tabindex: "0",
1286
- onKeyup: Ye(m, ["enter"])
1286
+ onKeyup: Ke(m, ["enter"])
1287
1287
  }, fs(r.value), {
1288
- onKeydown: Ye(z(u), ["esc"])
1288
+ onKeydown: Ke(z(u), ["esc"])
1289
1289
  }), {
1290
1290
  default: U(() => [
1291
- a1(q(A.title), 1)
1291
+ a1(q(M.title), 1)
1292
1292
  ]),
1293
1293
  _: 1
1294
1294
  }, 16, ["id", "class", "type", "value", "onKeyup", "onKeydown"]));
@@ -1332,7 +1332,7 @@ const fd = {
1332
1332
  const a = (n) => {
1333
1333
  e("update:title", n);
1334
1334
  };
1335
- return (n, s) => (f(), N(xe(n.tagName), {
1335
+ return (n, s) => (f(), N(Qe(n.tagName), {
1336
1336
  class: G(["ao-card-horiz", { "ao-card-horiz--active": n.isActive }])
1337
1337
  }, {
1338
1338
  default: U(() => [
@@ -1406,7 +1406,7 @@ const O1 = /* @__PURE__ */ K({
1406
1406
  ]),
1407
1407
  style: ca(s.rawColor ? { "--ao-tag-bg": s.rawColor } : {})
1408
1408
  }, [
1409
- (f(), N(xe(a.value), Ee({ class: "ao-tag__label" }, n.value, {
1409
+ (f(), N(Qe(a.value), Ee({ class: "ao-tag__label" }, n.value, {
1410
1410
  onClick: o[0] || (o[0] = (i) => s.$emit("click", i))
1411
1411
  }), {
1412
1412
  default: U(() => [
@@ -1432,11 +1432,11 @@ const T1 = {
1432
1432
  todo: "todo",
1433
1433
  done: "done",
1434
1434
  archived: "archived"
1435
- }, r8 = {
1435
+ }, c8 = {
1436
1436
  months: "months",
1437
1437
  weeks: "weeks",
1438
1438
  days: "days"
1439
- }, u8 = {
1439
+ }, f8 = {
1440
1440
  future: "future",
1441
1441
  this_month: "this_month",
1442
1442
  this_week: "this_week",
@@ -1460,7 +1460,7 @@ const T1 = {
1460
1460
  TASKS: "tasks"
1461
1461
  };
1462
1462
  var kd = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(kd || {});
1463
- const d8 = {
1463
+ const v8 = {
1464
1464
  add: "add",
1465
1465
  remove: "remove",
1466
1466
  moved: "moved"
@@ -1477,7 +1477,7 @@ function Gt(t) {
1477
1477
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1478
1478
  }, Gt(t);
1479
1479
  }
1480
- function Ke(t) {
1480
+ function Ge(t) {
1481
1481
  if (t === null || t === !0 || t === !1)
1482
1482
  return NaN;
1483
1483
  var e = Number(t);
@@ -1494,7 +1494,7 @@ function Be(t) {
1494
1494
  }
1495
1495
  function Md(t, e) {
1496
1496
  ge(2, arguments);
1497
- var a = Be(t).getTime(), n = Ke(e);
1497
+ var a = Be(t).getTime(), n = Ge(e);
1498
1498
  return new Date(a + n);
1499
1499
  }
1500
1500
  var Ad = {};
@@ -1517,7 +1517,7 @@ function _a(t) {
1517
1517
  }
1518
1518
  function Ed(t, e) {
1519
1519
  ge(2, arguments);
1520
- var a = Ke(e);
1520
+ var a = Ge(e);
1521
1521
  return Md(t, -a);
1522
1522
  }
1523
1523
  var Id = 864e5;
@@ -1558,7 +1558,7 @@ function Dd(t) {
1558
1558
  function xt(t, e) {
1559
1559
  var a, n, s, o, i, l, d, r;
1560
1560
  ge(1, arguments);
1561
- var c = i1(), u = Ke((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : c.weekStartsOn) !== null && n !== void 0 ? n : (d = c.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && a !== void 0 ? a : 0);
1561
+ var c = i1(), u = Ge((a = (n = (s = (o = e == null ? void 0 : e.weekStartsOn) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.weekStartsOn) !== null && s !== void 0 ? s : c.weekStartsOn) !== null && n !== void 0 ? n : (d = c.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.weekStartsOn) !== null && a !== void 0 ? a : 0);
1562
1562
  if (!(u >= 0 && u <= 6))
1563
1563
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1564
1564
  var p = Be(t), m = p.getUTCDay(), w = (m < u ? 7 : 0) + m - u;
@@ -1567,20 +1567,20 @@ function xt(t, e) {
1567
1567
  function ya(t, e) {
1568
1568
  var a, n, s, o, i, l, d, r;
1569
1569
  ge(1, arguments);
1570
- var c = Be(t), u = c.getUTCFullYear(), p = i1(), m = Ke((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = p.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
1570
+ var c = Be(t), u = c.getUTCFullYear(), p = i1(), m = Ge((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = p.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
1571
1571
  if (!(m >= 1 && m <= 7))
1572
1572
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1573
1573
  var w = /* @__PURE__ */ new Date(0);
1574
1574
  w.setUTCFullYear(u + 1, 0, m), w.setUTCHours(0, 0, 0, 0);
1575
- var A = xt(w, e), _ = /* @__PURE__ */ new Date(0);
1575
+ var M = xt(w, e), _ = /* @__PURE__ */ new Date(0);
1576
1576
  _.setUTCFullYear(u, 0, m), _.setUTCHours(0, 0, 0, 0);
1577
1577
  var k = xt(_, e);
1578
- return c.getTime() >= A.getTime() ? u + 1 : c.getTime() >= k.getTime() ? u : u - 1;
1578
+ return c.getTime() >= M.getTime() ? u + 1 : c.getTime() >= k.getTime() ? u : u - 1;
1579
1579
  }
1580
1580
  function Hd(t, e) {
1581
1581
  var a, n, s, o, i, l, d, r;
1582
1582
  ge(1, arguments);
1583
- var c = i1(), u = Ke((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = c.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = ya(t, e), m = /* @__PURE__ */ new Date(0);
1583
+ var c = i1(), u = Ge((a = (n = (s = (o = e == null ? void 0 : e.firstWeekContainsDate) !== null && o !== void 0 ? o : e == null || (i = e.locale) === null || i === void 0 || (l = i.options) === null || l === void 0 ? void 0 : l.firstWeekContainsDate) !== null && s !== void 0 ? s : c.firstWeekContainsDate) !== null && n !== void 0 ? n : (d = c.locale) === null || d === void 0 || (r = d.options) === null || r === void 0 ? void 0 : r.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = ya(t, e), m = /* @__PURE__ */ new Date(0);
1584
1584
  m.setUTCFullYear(p, 0, u), m.setUTCHours(0, 0, 0, 0);
1585
1585
  var w = xt(m, e);
1586
1586
  return w;
@@ -2136,11 +2136,11 @@ var ct = {
2136
2136
  return ea(i);
2137
2137
  case "XXXX":
2138
2138
  case "XX":
2139
- return et(i);
2139
+ return tt(i);
2140
2140
  case "XXXXX":
2141
2141
  case "XXX":
2142
2142
  default:
2143
- return et(i, ":");
2143
+ return tt(i, ":");
2144
2144
  }
2145
2145
  },
2146
2146
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -2151,11 +2151,11 @@ var ct = {
2151
2151
  return ea(i);
2152
2152
  case "xxxx":
2153
2153
  case "xx":
2154
- return et(i);
2154
+ return tt(i);
2155
2155
  case "xxxxx":
2156
2156
  case "xxx":
2157
2157
  default:
2158
- return et(i, ":");
2158
+ return tt(i, ":");
2159
2159
  }
2160
2160
  },
2161
2161
  // Timezone (GMT)
@@ -2168,7 +2168,7 @@ var ct = {
2168
2168
  return "GMT" + J1(i, ":");
2169
2169
  case "OOOO":
2170
2170
  default:
2171
- return "GMT" + et(i, ":");
2171
+ return "GMT" + tt(i, ":");
2172
2172
  }
2173
2173
  },
2174
2174
  // Timezone (specific non-location)
@@ -2181,7 +2181,7 @@ var ct = {
2181
2181
  return "GMT" + J1(i, ":");
2182
2182
  case "zzzz":
2183
2183
  default:
2184
- return "GMT" + et(i, ":");
2184
+ return "GMT" + tt(i, ":");
2185
2185
  }
2186
2186
  },
2187
2187
  // Seconds timestamp
@@ -2207,9 +2207,9 @@ function ea(t, e) {
2207
2207
  var a = t > 0 ? "-" : "+";
2208
2208
  return a + le(Math.abs(t) / 60, 2);
2209
2209
  }
2210
- return et(t, e);
2210
+ return tt(t, e);
2211
2211
  }
2212
- function et(t, e) {
2212
+ function tt(t, e) {
2213
2213
  var a = e || "", n = t > 0 ? "-" : "+", s = Math.abs(t), o = le(Math.floor(s / 60), 2), i = le(s % 60, 2);
2214
2214
  return n + o + a + i;
2215
2215
  }
@@ -2419,7 +2419,7 @@ var ac = {
2419
2419
  return ac[e];
2420
2420
  };
2421
2421
  const nc = sc;
2422
- function $t(t) {
2422
+ function kt(t) {
2423
2423
  return function(e, a) {
2424
2424
  var n = a != null && a.context ? String(a.context) : "standalone", s;
2425
2425
  if (n === "formatting" && t.formattingValues) {
@@ -2526,26 +2526,26 @@ var ic = {
2526
2526
  return n + "th";
2527
2527
  }, fc = {
2528
2528
  ordinalNumber: cc,
2529
- era: $t({
2529
+ era: kt({
2530
2530
  values: ic,
2531
2531
  defaultWidth: "wide"
2532
2532
  }),
2533
- quarter: $t({
2533
+ quarter: kt({
2534
2534
  values: oc,
2535
2535
  defaultWidth: "wide",
2536
2536
  argumentCallback: function(e) {
2537
2537
  return e - 1;
2538
2538
  }
2539
2539
  }),
2540
- month: $t({
2540
+ month: kt({
2541
2541
  values: lc,
2542
2542
  defaultWidth: "wide"
2543
2543
  }),
2544
- day: $t({
2544
+ day: kt({
2545
2545
  values: rc,
2546
2546
  defaultWidth: "wide"
2547
2547
  }),
2548
- dayPeriod: $t({
2548
+ dayPeriod: kt({
2549
2549
  values: uc,
2550
2550
  defaultWidth: "wide",
2551
2551
  formattingValues: dc,
@@ -2553,7 +2553,7 @@ var ic = {
2553
2553
  })
2554
2554
  };
2555
2555
  const vc = fc;
2556
- function kt(t) {
2556
+ function Mt(t) {
2557
2557
  return function(e) {
2558
2558
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, s = n && t.matchPatterns[n] || t.matchPatterns[t.defaultMatchWidth], o = e.match(s);
2559
2559
  if (!o)
@@ -2647,13 +2647,13 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
2647
2647
  return parseInt(e, 10);
2648
2648
  }
2649
2649
  }),
2650
- era: kt({
2650
+ era: Mt({
2651
2651
  matchPatterns: gc,
2652
2652
  defaultMatchWidth: "wide",
2653
2653
  parsePatterns: yc,
2654
2654
  defaultParseWidth: "any"
2655
2655
  }),
2656
- quarter: kt({
2656
+ quarter: Mt({
2657
2657
  matchPatterns: bc,
2658
2658
  defaultMatchWidth: "wide",
2659
2659
  parsePatterns: wc,
@@ -2662,19 +2662,19 @@ var Cc = /^(\d+)(th|st|nd|rd)?/i, _c = /\d+/i, gc = {
2662
2662
  return e + 1;
2663
2663
  }
2664
2664
  }),
2665
- month: kt({
2665
+ month: Mt({
2666
2666
  matchPatterns: $c,
2667
2667
  defaultMatchWidth: "wide",
2668
2668
  parsePatterns: kc,
2669
2669
  defaultParseWidth: "any"
2670
2670
  }),
2671
- day: kt({
2671
+ day: Mt({
2672
2672
  matchPatterns: Mc,
2673
2673
  defaultMatchWidth: "wide",
2674
2674
  parsePatterns: Ac,
2675
2675
  defaultParseWidth: "any"
2676
2676
  }),
2677
- dayPeriod: kt({
2677
+ dayPeriod: Mt({
2678
2678
  matchPatterns: Tc,
2679
2679
  defaultMatchWidth: "any",
2680
2680
  parsePatterns: Sc,
@@ -2697,12 +2697,12 @@ var Oc = {
2697
2697
  const Lc = Oc;
2698
2698
  var Vc = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Dc = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Hc = /^'([^]*?)'?$/, Pc = /''/g, Bc = /[a-zA-Z]/;
2699
2699
  function Nc(t, e, a) {
2700
- var n, s, o, i, l, d, r, c, u, p, m, w, A, _, k, y, L, Z;
2700
+ var n, s, o, i, l, d, r, c, u, p, m, w, M, _, k, y, L, Z;
2701
2701
  ge(2, arguments);
2702
- var W = String(e), V = i1(), x = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, te = Ke((o = (i = (l = (d = a == null ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : a == null || (r = a.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (u = V.locale) === null || u === void 0 || (p = u.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2702
+ var W = String(e), V = i1(), x = (n = (s = a == null ? void 0 : a.locale) !== null && s !== void 0 ? s : V.locale) !== null && n !== void 0 ? n : Lc, te = Ge((o = (i = (l = (d = a == null ? void 0 : a.firstWeekContainsDate) !== null && d !== void 0 ? d : a == null || (r = a.locale) === null || r === void 0 || (c = r.options) === null || c === void 0 ? void 0 : c.firstWeekContainsDate) !== null && l !== void 0 ? l : V.firstWeekContainsDate) !== null && i !== void 0 ? i : (u = V.locale) === null || u === void 0 || (p = u.options) === null || p === void 0 ? void 0 : p.firstWeekContainsDate) !== null && o !== void 0 ? o : 1);
2703
2703
  if (!(te >= 1 && te <= 7))
2704
2704
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2705
- var I = Ke((m = (w = (A = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || (k = a.locale) === null || k === void 0 || (y = k.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && A !== void 0 ? A : V.weekStartsOn) !== null && w !== void 0 ? w : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && m !== void 0 ? m : 0);
2705
+ var I = Ge((m = (w = (M = (_ = a == null ? void 0 : a.weekStartsOn) !== null && _ !== void 0 ? _ : a == null || (k = a.locale) === null || k === void 0 || (y = k.options) === null || y === void 0 ? void 0 : y.weekStartsOn) !== null && M !== void 0 ? M : V.weekStartsOn) !== null && w !== void 0 ? w : (L = V.locale) === null || L === void 0 || (Z = L.options) === null || Z === void 0 ? void 0 : Z.weekStartsOn) !== null && m !== void 0 ? m : 0);
2706
2706
  if (!(I >= 0 && I <= 6))
2707
2707
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2708
2708
  if (!x.localize)
@@ -2720,8 +2720,8 @@ function Nc(t, e, a) {
2720
2720
  }, ce = W.match(Dc).map(function(se) {
2721
2721
  var re = se[0];
2722
2722
  if (re === "p" || re === "P") {
2723
- var M = Fd[re];
2724
- return M(se, x.formatLong);
2723
+ var A = Fd[re];
2724
+ return A(se, x.formatLong);
2725
2725
  }
2726
2726
  return se;
2727
2727
  }).join("").match(Vc).map(function(se) {
@@ -2730,9 +2730,9 @@ function Nc(t, e, a) {
2730
2730
  var re = se[0];
2731
2731
  if (re === "'")
2732
2732
  return Rc(se);
2733
- var M = Ud[re];
2734
- if (M)
2735
- return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)), M(S, se, x.localize, P);
2733
+ var A = Ud[re];
2734
+ if (A)
2735
+ return !(a != null && a.useAdditionalWeekYearTokens) && Yd(se) && aa(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && Wd(se) && aa(se, e, String(t)), A(S, se, x.localize, P);
2736
2736
  if (re.match(Bc))
2737
2737
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + re + "`");
2738
2738
  return se;
@@ -2746,7 +2746,7 @@ function Rc(t) {
2746
2746
  function Uc(t, e) {
2747
2747
  var a;
2748
2748
  ge(1, arguments);
2749
- var n = Ke((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
2749
+ var n = Ge((a = e == null ? void 0 : e.additionalDigits) !== null && a !== void 0 ? a : 2);
2750
2750
  if (n !== 2 && n !== 1 && n !== 0)
2751
2751
  throw new RangeError("additionalDigits must be 0, 1 or 2");
2752
2752
  if (!(typeof t == "string" || Object.prototype.toString.call(t) === "[object String]"))
@@ -2804,13 +2804,13 @@ function Wc(t, e) {
2804
2804
  var a = t.match(jc);
2805
2805
  if (!a)
2806
2806
  return /* @__PURE__ */ new Date(NaN);
2807
- var n = !!a[4], s = Mt(a[1]), o = Mt(a[2]) - 1, i = Mt(a[3]), l = Mt(a[4]), d = Mt(a[5]) - 1;
2807
+ var n = !!a[4], s = At(a[1]), o = At(a[2]) - 1, i = At(a[3]), l = At(a[4]), d = At(a[5]) - 1;
2808
2808
  if (n)
2809
2809
  return Jc(e, l, d) ? Gc(e, l, d) : /* @__PURE__ */ new Date(NaN);
2810
2810
  var r = /* @__PURE__ */ new Date(0);
2811
2811
  return !xc(e, o, i) || !Qc(e, s) ? /* @__PURE__ */ new Date(NaN) : (r.setUTCFullYear(e, o, Math.max(s, i)), r);
2812
2812
  }
2813
- function Mt(t) {
2813
+ function At(t) {
2814
2814
  return t ? parseInt(t) : 1;
2815
2815
  }
2816
2816
  function Yc(t) {
@@ -2857,7 +2857,7 @@ function e0(t, e, a) {
2857
2857
  function t0(t, e) {
2858
2858
  return e >= 0 && e <= 59;
2859
2859
  }
2860
- var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, $a = {}, At = {}, Bt = {}, _t = {}, o1 = {};
2860
+ var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, $a = {}, Tt = {}, Bt = {}, gt = {}, o1 = {};
2861
2861
  Object.defineProperty(o1, "__esModule", { value: !0 });
2862
2862
  o1.lexoHelper = void 0;
2863
2863
  o1.lexoHelper = {
@@ -2895,8 +2895,8 @@ class s0 {
2895
2895
  }
2896
2896
  }
2897
2897
  Nt.default = s0;
2898
- Object.defineProperty(_t, "__esModule", { value: !0 });
2899
- _t.LexoInteger = void 0;
2898
+ Object.defineProperty(gt, "__esModule", { value: !0 });
2899
+ gt.LexoInteger = void 0;
2900
2900
  const Wt = o1, n0 = Nt;
2901
2901
  class ee {
2902
2902
  constructor(e, a, n) {
@@ -3091,7 +3091,7 @@ class ee {
3091
3091
  throw new Error("Expected numbers of same numeral sys");
3092
3092
  }
3093
3093
  }
3094
- _t.LexoInteger = ee;
3094
+ gt.LexoInteger = ee;
3095
3095
  ee.ZERO_MAG = [0];
3096
3096
  ee.ONE_MAG = [1];
3097
3097
  ee.NEGATIVE_SIGN = -1;
@@ -3099,23 +3099,23 @@ ee.ZERO_SIGN = 0;
3099
3099
  ee.POSITIVE_SIGN = 1;
3100
3100
  Object.defineProperty(Bt, "__esModule", { value: !0 });
3101
3101
  Bt.LexoDecimal = void 0;
3102
- const Tt = _t, i0 = Nt;
3102
+ const St = gt, i0 = Nt;
3103
3103
  class Me {
3104
3104
  constructor(e, a) {
3105
3105
  this.mag = e, this.sig = a;
3106
3106
  }
3107
3107
  static half(e) {
3108
3108
  const a = e.getBase() / 2 | 0;
3109
- return Me.make(Tt.LexoInteger.make(e, 1, [a]), 1);
3109
+ return Me.make(St.LexoInteger.make(e, 1, [a]), 1);
3110
3110
  }
3111
3111
  static parse(e, a) {
3112
3112
  const n = e.indexOf(a.getRadixPointChar());
3113
3113
  if (e.lastIndexOf(a.getRadixPointChar()) !== n)
3114
3114
  throw new Error("More than one " + a.getRadixPointChar());
3115
3115
  if (n < 0)
3116
- return Me.make(Tt.LexoInteger.parse(e, a), 0);
3116
+ return Me.make(St.LexoInteger.parse(e, a), 0);
3117
3117
  const s = e.substring(0, n) + e.substring(n + 1);
3118
- return Me.make(Tt.LexoInteger.parse(s, a), e.length - 1 - n);
3118
+ return Me.make(St.LexoInteger.parse(s, a), e.length - 1 - n);
3119
3119
  }
3120
3120
  static from(e) {
3121
3121
  return Me.make(e, 0);
@@ -3158,7 +3158,7 @@ class Me {
3158
3158
  if (this.isExact())
3159
3159
  return this.mag;
3160
3160
  const e = this.floor();
3161
- return e.add(Tt.LexoInteger.one(e.getSystem()));
3161
+ return e.add(St.LexoInteger.one(e.getSystem()));
3162
3162
  }
3163
3163
  isExact() {
3164
3164
  if (this.sig === 0)
@@ -3177,7 +3177,7 @@ class Me {
3177
3177
  e < 0 && (e = 0);
3178
3178
  const n = this.sig - e;
3179
3179
  let s = this.mag.shiftRight(n);
3180
- return a && (s = s.add(Tt.LexoInteger.one(s.getSystem()))), Me.make(s, e);
3180
+ return a && (s = s.add(St.LexoInteger.one(s.getSystem()))), Me.make(s, e);
3181
3181
  }
3182
3182
  compareTo(e) {
3183
3183
  if (this === e)
@@ -3209,7 +3209,7 @@ function ka() {
3209
3209
  if (sa)
3210
3210
  return Yt;
3211
3211
  sa = 1, Object.defineProperty(Yt, "__esModule", { value: !0 });
3212
- const t = _t, e = Aa();
3212
+ const t = gt, e = Aa();
3213
3213
  class a {
3214
3214
  constructor(s) {
3215
3215
  this.value = t.LexoInteger.parse(s, e.LexoRank.NUMERAL_SYSTEM);
@@ -3376,8 +3376,8 @@ u1.LexoNumeralSystem64 = r0;
3376
3376
  var na;
3377
3377
  function Aa() {
3378
3378
  if (na)
3379
- return At;
3380
- na = 1, Object.defineProperty(At, "__esModule", { value: !0 }), At.LexoRank = void 0;
3379
+ return Tt;
3380
+ na = 1, Object.defineProperty(Tt, "__esModule", { value: !0 }), Tt.LexoRank = void 0;
3381
3381
  const t = Bt, e = ka(), a = Nt, n = L1;
3382
3382
  class s {
3383
3383
  constructor(i, l) {
@@ -3439,20 +3439,20 @@ function Aa() {
3439
3439
  }
3440
3440
  let u;
3441
3441
  for (let w = d.getScale(); w > 0; r = u) {
3442
- const A = w - 1, _ = d.setScale(A, !0);
3443
- if (u = r.setScale(A, !1), _.compareTo(u) === 0)
3442
+ const M = w - 1, _ = d.setScale(M, !0);
3443
+ if (u = r.setScale(M, !1), _.compareTo(u) === 0)
3444
3444
  return s.checkMid(i, l, _);
3445
3445
  if (_.compareTo(u) > 0)
3446
3446
  break;
3447
- w = A, d = _;
3447
+ w = M, d = _;
3448
3448
  }
3449
3449
  let p = s.middleInternal(i, l, d, r), m;
3450
3450
  for (let w = p.getScale(); w > 0; w = m) {
3451
3451
  m = w - 1;
3452
- const A = p.setScale(m);
3453
- if (i.compareTo(A) >= 0 || A.compareTo(l) >= 0)
3452
+ const M = p.setScale(m);
3453
+ if (i.compareTo(M) >= 0 || M.compareTo(l) >= 0)
3454
3454
  break;
3455
- p = A;
3455
+ p = M;
3456
3456
  }
3457
3457
  return p;
3458
3458
  }
@@ -3549,7 +3549,7 @@ function Aa() {
3549
3549
  return this === i ? 0 : i ? this.value.localeCompare(i.value) : 1;
3550
3550
  }
3551
3551
  }
3552
- return At.LexoRank = s, At;
3552
+ return Tt.LexoRank = s, Tt;
3553
3553
  }
3554
3554
  (function(t) {
3555
3555
  var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
@@ -3564,7 +3564,7 @@ function Aa() {
3564
3564
  for (var o in n)
3565
3565
  o !== "default" && !Object.prototype.hasOwnProperty.call(s, o) && e(s, n, o);
3566
3566
  };
3567
- Object.defineProperty(t, "__esModule", { value: !0 }), a(Aa(), t), a(ka(), t), a(Bt, t), a(_t, t);
3567
+ Object.defineProperty(t, "__esModule", { value: !0 }), a(Aa(), t), a(ka(), t), a(Bt, t), a(gt, t);
3568
3568
  })($a);
3569
3569
  (function(t) {
3570
3570
  var e = Se && Se.__createBinding || (Object.create ? function(n, s, o, i) {
@@ -3643,7 +3643,7 @@ function v0(t, e) {
3643
3643
  const p0 = ["title"], h0 = {
3644
3644
  key: 0,
3645
3645
  className: "ao-avatar__initials"
3646
- }, m0 = ["src"], gt = /* @__PURE__ */ K({
3646
+ }, m0 = ["src"], yt = /* @__PURE__ */ K({
3647
3647
  __name: "AoAvatar",
3648
3648
  props: {
3649
3649
  userName: {},
@@ -3767,7 +3767,7 @@ const C0 = { class: "ao-card-template__subitems" }, _0 = { class: "ao-card-templ
3767
3767
  v("span", D0, q(n.$t("template.updatedBy.label")), 1)
3768
3768
  ]),
3769
3769
  v("div", H0, [
3770
- E(gt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3770
+ E(yt, { "user-name": n.updatedBy }, null, 8, ["user-name"])
3771
3771
  ])
3772
3772
  ])) : T("", !0)
3773
3773
  ])
@@ -3806,7 +3806,7 @@ const B0 = { class: "ao-page-header" }, N0 = { class: "ao-page-header-main" }, R
3806
3806
  const U0 = ["type"], j0 = {
3807
3807
  key: 0,
3808
3808
  class: "ao-button-card__label"
3809
- }, Je = /* @__PURE__ */ K({
3809
+ }, et = /* @__PURE__ */ K({
3810
3810
  __name: "AoButtonCard",
3811
3811
  props: {
3812
3812
  label: { default: () => "" },
@@ -3958,7 +3958,7 @@ const W0 = /* @__PURE__ */ K({
3958
3958
  });
3959
3959
  }
3960
3960
  };
3961
- return (l, d) => l.phase ? (f(), N(z(Qe), {
3961
+ return (l, d) => l.phase ? (f(), N(z(Je), {
3962
3962
  key: 0,
3963
3963
  "model-value": l.phase.milestones,
3964
3964
  class: "ao-templates__list",
@@ -3993,7 +3993,7 @@ const W0 = /* @__PURE__ */ K({
3993
3993
  ]),
3994
3994
  footer: U(() => [
3995
3995
  v("div", K0, [
3996
- E(Je, {
3996
+ E(et, {
3997
3997
  "icon-name": "AddBoxOutlineRounded",
3998
3998
  label: l.$t("template.milestones.add"),
3999
3999
  onClick: n
@@ -4048,7 +4048,7 @@ const W0 = /* @__PURE__ */ K({
4048
4048
  });
4049
4049
  }
4050
4050
  };
4051
- return (l, d) => l.milestone ? (f(), N(z(Qe), {
4051
+ return (l, d) => l.milestone ? (f(), N(z(Je), {
4052
4052
  key: 0,
4053
4053
  "model-value": l.milestone.activities,
4054
4054
  title: l.$t("template.activities.title"),
@@ -4079,7 +4079,7 @@ const W0 = /* @__PURE__ */ K({
4079
4079
  ]),
4080
4080
  footer: U(() => [
4081
4081
  v("div", x0, [
4082
- E(Je, {
4082
+ E(et, {
4083
4083
  "icon-name": "AddBoxOutlineRounded",
4084
4084
  label: l.$t("template.activities.add"),
4085
4085
  onClick: n
@@ -4133,7 +4133,7 @@ const W0 = /* @__PURE__ */ K({
4133
4133
  ], 2));
4134
4134
  }
4135
4135
  });
4136
- const Lt = Math.min, Ae = Math.max, Qt = Math.round, Kt = Math.floor, Ge = (t) => ({
4136
+ const Lt = Math.min, Ae = Math.max, Qt = Math.round, Kt = Math.floor, Xe = (t) => ({
4137
4137
  x: t,
4138
4138
  y: t
4139
4139
  }), i3 = {
@@ -4148,7 +4148,7 @@ const Lt = Math.min, Ae = Math.max, Qt = Math.round, Kt = Math.floor, Ge = (t) =
4148
4148
  function H1(t, e) {
4149
4149
  return typeof t == "function" ? t(e) : t;
4150
4150
  }
4151
- function mt(t) {
4151
+ function Ct(t) {
4152
4152
  return t.split("-")[0];
4153
4153
  }
4154
4154
  function c1(t) {
@@ -4161,7 +4161,7 @@ function Ea(t) {
4161
4161
  return t === "y" ? "height" : "width";
4162
4162
  }
4163
4163
  function P1(t) {
4164
- return ["top", "bottom"].includes(mt(t)) ? "y" : "x";
4164
+ return ["top", "bottom"].includes(Ct(t)) ? "y" : "x";
4165
4165
  }
4166
4166
  function Ia(t) {
4167
4167
  return l3(P1(t));
@@ -4194,7 +4194,7 @@ function d3(t, e, a) {
4194
4194
  }
4195
4195
  function c3(t, e, a, n) {
4196
4196
  const s = c1(t);
4197
- let o = d3(mt(t), a === "start", n);
4197
+ let o = d3(Ct(t), a === "start", n);
4198
4198
  return s && (o = o.map((i) => i + "-" + s), e && (o = o.concat(o.map(E1)))), o;
4199
4199
  }
4200
4200
  function Jt(t) {
@@ -4231,7 +4231,7 @@ function ia(t, e, a) {
4231
4231
  reference: n,
4232
4232
  floating: s
4233
4233
  } = t;
4234
- const o = P1(e), i = Ia(e), l = Ea(i), d = mt(e), r = o === "y", c = n.x + n.width / 2 - s.width / 2, u = n.y + n.height / 2 - s.height / 2, p = n[l] / 2 - s[l] / 2;
4234
+ const o = P1(e), i = Ia(e), l = Ea(i), d = Ct(e), r = o === "y", c = n.x + n.width / 2 - s.width / 2, u = n.y + n.height / 2 - s.height / 2, p = n[l] / 2 - s[l] / 2;
4235
4235
  let m;
4236
4236
  switch (d) {
4237
4237
  case "top":
@@ -4289,11 +4289,11 @@ const p3 = async (t, e, a) => {
4289
4289
  x: c,
4290
4290
  y: u
4291
4291
  } = ia(r, n, d), p = n, m = {}, w = 0;
4292
- for (let A = 0; A < l.length; A++) {
4292
+ for (let M = 0; M < l.length; M++) {
4293
4293
  const {
4294
4294
  name: _,
4295
4295
  fn: k
4296
- } = l[A], {
4296
+ } = l[M], {
4297
4297
  x: y,
4298
4298
  y: L,
4299
4299
  data: Z,
@@ -4326,7 +4326,7 @@ const p3 = async (t, e, a) => {
4326
4326
  }) : W.rects), {
4327
4327
  x: c,
4328
4328
  y: u
4329
- } = ia(r, p, d)), A = -1;
4329
+ } = ia(r, p, d)), M = -1;
4330
4330
  continue;
4331
4331
  }
4332
4332
  }
@@ -4400,13 +4400,13 @@ const h3 = function(t) {
4400
4400
  fallbackPlacements: p,
4401
4401
  fallbackStrategy: m = "bestFit",
4402
4402
  fallbackAxisSideDirection: w = "none",
4403
- flipAlignment: A = !0,
4403
+ flipAlignment: M = !0,
4404
4404
  ..._
4405
4405
  } = H1(t, e);
4406
4406
  if ((a = o.arrow) != null && a.alignmentOffset)
4407
4407
  return {};
4408
- const k = mt(s), y = mt(l) === l, L = await (d.isRTL == null ? void 0 : d.isRTL(r.floating)), Z = p || (y || !A ? [Jt(l)] : u3(l));
4409
- !p && w !== "none" && Z.push(...c3(l, A, w, L));
4408
+ const k = Ct(s), y = Ct(l) === l, L = await (d.isRTL == null ? void 0 : d.isRTL(r.floating)), Z = p || (y || !M ? [Jt(l)] : u3(l));
4409
+ !p && w !== "none" && Z.push(...c3(l, M, w, L));
4410
4410
  const W = [l, ...Z], V = await Oa(e, _), x = [];
4411
4411
  let te = ((n = o.flip) == null ? void 0 : n.overflows) || [];
4412
4412
  if (c && x.push(V[k]), u) {
@@ -4434,7 +4434,7 @@ const h3 = function(t) {
4434
4434
  switch (m) {
4435
4435
  case "bestFit": {
4436
4436
  var g;
4437
- const se = (g = te.map((re) => [re.placement, re.overflows.filter((M) => M > 0).reduce((M, F) => M + F, 0)]).sort((re, M) => re[1] - M[1])[0]) == null ? void 0 : g[0];
4437
+ const se = (g = te.map((re) => [re.placement, re.overflows.filter((A) => A > 0).reduce((A, F) => A + F, 0)]).sort((re, A) => re[1] - A[1])[0]) == null ? void 0 : g[0];
4438
4438
  se && (ce = se);
4439
4439
  break;
4440
4440
  }
@@ -4466,13 +4466,13 @@ const h3 = function(t) {
4466
4466
  apply: i = () => {
4467
4467
  },
4468
4468
  ...l
4469
- } = H1(t, e), d = await Oa(e, l), r = mt(a), c = c1(a), u = P1(a) === "y", {
4469
+ } = H1(t, e), d = await Oa(e, l), r = Ct(a), c = c1(a), u = P1(a) === "y", {
4470
4470
  width: p,
4471
4471
  height: m
4472
4472
  } = n.floating;
4473
- let w, A;
4474
- r === "top" || r === "bottom" ? (w = r, A = c === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (A = r, w = c === "end" ? "top" : "bottom");
4475
- const _ = m - d[w], k = p - d[A], y = !e.middlewareData.shift;
4473
+ let w, M;
4474
+ r === "top" || r === "bottom" ? (w = r, M = c === (await (s.isRTL == null ? void 0 : s.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (M = r, w = c === "end" ? "top" : "bottom");
4475
+ const _ = m - d[w], k = p - d[M], y = !e.middlewareData.shift;
4476
4476
  let L = _, Z = k;
4477
4477
  if (u) {
4478
4478
  const V = p - d.left - d.right;
@@ -4499,7 +4499,7 @@ const h3 = function(t) {
4499
4499
  }
4500
4500
  };
4501
4501
  };
4502
- function Xe(t) {
4502
+ function xe(t) {
4503
4503
  return La(t) ? (t.nodeName || "").toLowerCase() : "#document";
4504
4504
  }
4505
4505
  function we(t) {
@@ -4532,18 +4532,18 @@ function Ut(t) {
4532
4532
  return /auto|scroll|overlay|hidden|clip/.test(e + n + a) && !["inline", "contents"].includes(s);
4533
4533
  }
4534
4534
  function C3(t) {
4535
- return ["table", "td", "th"].includes(Xe(t));
4535
+ return ["table", "td", "th"].includes(xe(t));
4536
4536
  }
4537
4537
  function B1(t) {
4538
4538
  const e = N1(), a = Ie(t);
4539
4539
  return a.transform !== "none" || a.perspective !== "none" || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((n) => (a.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (a.contain || "").includes(n));
4540
4540
  }
4541
4541
  function _3(t) {
4542
- let e = Ct(t);
4542
+ let e = _t(t);
4543
4543
  for (; Pe(e) && !f1(e); ) {
4544
4544
  if (B1(e))
4545
4545
  return e;
4546
- e = Ct(e);
4546
+ e = _t(e);
4547
4547
  }
4548
4548
  return null;
4549
4549
  }
@@ -4551,7 +4551,7 @@ function N1() {
4551
4551
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
4552
4552
  }
4553
4553
  function f1(t) {
4554
- return ["html", "body", "#document"].includes(Xe(t));
4554
+ return ["html", "body", "#document"].includes(xe(t));
4555
4555
  }
4556
4556
  function Ie(t) {
4557
4557
  return we(t).getComputedStyle(t);
@@ -4565,8 +4565,8 @@ function v1(t) {
4565
4565
  scrollTop: t.pageYOffset
4566
4566
  };
4567
4567
  }
4568
- function Ct(t) {
4569
- if (Xe(t) === "html")
4568
+ function _t(t) {
4569
+ if (xe(t) === "html")
4570
4570
  return t;
4571
4571
  const e = (
4572
4572
  // Step into the shadow DOM of the parent of a slotted node.
@@ -4578,7 +4578,7 @@ function Ct(t) {
4578
4578
  return oa(e) ? e.host : e;
4579
4579
  }
4580
4580
  function Va(t) {
4581
- const e = Ct(t);
4581
+ const e = _t(t);
4582
4582
  return f1(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Pe(e) && Ut(e) ? e : Va(e);
4583
4583
  }
4584
4584
  function Vt(t, e, a) {
@@ -4603,7 +4603,7 @@ function R1(t) {
4603
4603
  function pt(t) {
4604
4604
  const e = R1(t);
4605
4605
  if (!Pe(e))
4606
- return Ge(1);
4606
+ return Xe(1);
4607
4607
  const a = e.getBoundingClientRect(), {
4608
4608
  width: n,
4609
4609
  height: s,
@@ -4615,7 +4615,7 @@ function pt(t) {
4615
4615
  y: l
4616
4616
  };
4617
4617
  }
4618
- const g3 = /* @__PURE__ */ Ge(0);
4618
+ const g3 = /* @__PURE__ */ Xe(0);
4619
4619
  function Ha(t) {
4620
4620
  const e = we(t);
4621
4621
  return !N1() || !e.visualViewport ? g3 : {
@@ -4629,16 +4629,16 @@ function y3(t, e, a) {
4629
4629
  function at(t, e, a, n) {
4630
4630
  e === void 0 && (e = !1), a === void 0 && (a = !1);
4631
4631
  const s = t.getBoundingClientRect(), o = R1(t);
4632
- let i = Ge(1);
4632
+ let i = Xe(1);
4633
4633
  e && (n ? je(n) && (i = pt(n)) : i = pt(t));
4634
- const l = y3(o, a, n) ? Ha(o) : Ge(0);
4634
+ const l = y3(o, a, n) ? Ha(o) : Xe(0);
4635
4635
  let d = (s.left + l.x) / i.x, r = (s.top + l.y) / i.y, c = s.width / i.x, u = s.height / i.y;
4636
4636
  if (o) {
4637
4637
  const p = we(o), m = n && je(n) ? we(n) : n;
4638
4638
  let w = p.frameElement;
4639
4639
  for (; w && n && m !== p; ) {
4640
- const A = pt(w), _ = w.getBoundingClientRect(), k = Ie(w), y = _.left + (w.clientLeft + parseFloat(k.paddingLeft)) * A.x, L = _.top + (w.clientTop + parseFloat(k.paddingTop)) * A.y;
4641
- d *= A.x, r *= A.y, c *= A.x, u *= A.y, d += y, r += L, w = we(w).frameElement;
4640
+ const M = pt(w), _ = w.getBoundingClientRect(), k = Ie(w), y = _.left + (w.clientLeft + parseFloat(k.paddingLeft)) * M.x, L = _.top + (w.clientTop + parseFloat(k.paddingTop)) * M.y;
4641
+ d *= M.x, r *= M.y, c *= M.x, u *= M.y, d += y, r += L, w = we(w).frameElement;
4642
4642
  }
4643
4643
  }
4644
4644
  return e1({
@@ -4660,9 +4660,9 @@ function b3(t) {
4660
4660
  let i = {
4661
4661
  scrollLeft: 0,
4662
4662
  scrollTop: 0
4663
- }, l = Ge(1);
4664
- const d = Ge(0);
4665
- if ((s || !s && n !== "fixed") && ((Xe(a) !== "body" || Ut(o)) && (i = v1(a)), Pe(a))) {
4663
+ }, l = Xe(1);
4664
+ const d = Xe(0);
4665
+ if ((s || !s && n !== "fixed") && ((xe(a) !== "body" || Ut(o)) && (i = v1(a)), Pe(a))) {
4666
4666
  const r = at(a);
4667
4667
  l = pt(a), d.x = r.x + a.clientLeft, d.y = r.y + a.clientTop;
4668
4668
  }
@@ -4706,7 +4706,7 @@ function k3(t, e) {
4706
4706
  };
4707
4707
  }
4708
4708
  function M3(t, e) {
4709
- const a = at(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Pe(t) ? pt(t) : Ge(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, d = s * o.x, r = n * o.y;
4709
+ const a = at(t, !0, e === "fixed"), n = a.top + t.clientTop, s = a.left + t.clientLeft, o = Pe(t) ? pt(t) : Xe(1), i = t.clientWidth * o.x, l = t.clientHeight * o.y, d = s * o.x, r = n * o.y;
4710
4710
  return {
4711
4711
  width: i,
4712
4712
  height: l,
@@ -4733,19 +4733,19 @@ function la(t, e, a) {
4733
4733
  return e1(n);
4734
4734
  }
4735
4735
  function Ba(t, e) {
4736
- const a = Ct(t);
4736
+ const a = _t(t);
4737
4737
  return a === e || !je(a) || f1(a) ? !1 : Ie(a).position === "fixed" || Ba(a, e);
4738
4738
  }
4739
4739
  function A3(t, e) {
4740
4740
  const a = e.get(t);
4741
4741
  if (a)
4742
4742
  return a;
4743
- let n = Vt(t, [], !1).filter((l) => je(l) && Xe(l) !== "body"), s = null;
4743
+ let n = Vt(t, [], !1).filter((l) => je(l) && xe(l) !== "body"), s = null;
4744
4744
  const o = Ie(t).position === "fixed";
4745
- let i = o ? Ct(t) : t;
4745
+ let i = o ? _t(t) : t;
4746
4746
  for (; je(i) && !f1(i); ) {
4747
4747
  const l = Ie(i), d = B1(i);
4748
- !d && l.position === "fixed" && (s = null), (o ? !d && !s : !d && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Ut(i) && !d && Ba(t, i)) ? n = n.filter((c) => c !== i) : s = l, i = Ct(i);
4748
+ !d && l.position === "fixed" && (s = null), (o ? !d && !s : !d && l.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || Ut(i) && !d && Ba(t, i)) ? n = n.filter((c) => c !== i) : s = l, i = _t(i);
4749
4749
  }
4750
4750
  return e.set(t, n), n;
4751
4751
  }
@@ -4776,9 +4776,9 @@ function E3(t, e, a) {
4776
4776
  scrollLeft: 0,
4777
4777
  scrollTop: 0
4778
4778
  };
4779
- const d = Ge(0);
4779
+ const d = Xe(0);
4780
4780
  if (n || !n && !o)
4781
- if ((Xe(e) !== "body" || Ut(s)) && (l = v1(e)), n) {
4781
+ if ((xe(e) !== "body" || Ut(s)) && (l = v1(e)), n) {
4782
4782
  const r = at(e, !0, o, e);
4783
4783
  d.x = r.x + e.clientLeft, d.y = r.y + e.clientTop;
4784
4784
  } else
@@ -4800,7 +4800,7 @@ function Na(t, e) {
4800
4800
  let n = ra(t, e);
4801
4801
  for (; n && C3(n) && Ie(n).position === "static"; )
4802
4802
  n = ra(n, e);
4803
- return n && (Xe(n) === "html" || Xe(n) === "body" && Ie(n).position === "static" && !B1(n)) ? a : n || _3(t) || a;
4803
+ return n && (xe(n) === "html" || xe(n) === "body" && Ie(n).position === "static" && !B1(n)) ? a : n || _3(t) || a;
4804
4804
  }
4805
4805
  const I3 = async function(t) {
4806
4806
  let {
@@ -4849,8 +4849,8 @@ function V3(t, e) {
4849
4849
  } = t.getBoundingClientRect();
4850
4850
  if (l || e(), !u || !p)
4851
4851
  return;
4852
- const m = Kt(c), w = Kt(s.clientWidth - (r + u)), A = Kt(s.clientHeight - (c + p)), _ = Kt(r), y = {
4853
- rootMargin: -m + "px " + -w + "px " + -A + "px " + -_ + "px",
4852
+ const m = Kt(c), w = Kt(s.clientWidth - (r + u)), M = Kt(s.clientHeight - (c + p)), _ = Kt(r), y = {
4853
+ rootMargin: -m + "px " + -w + "px " + -M + "px " + -_ + "px",
4854
4854
  threshold: Ae(0, Lt(1, d)) || 1
4855
4855
  };
4856
4856
  let L = !0;
@@ -4900,11 +4900,11 @@ function D3(t, e, a, n) {
4900
4900
  m && m.observe(e);
4901
4901
  })), a();
4902
4902
  }), r && !d && m.observe(r), m.observe(e));
4903
- let w, A = d ? at(t) : null;
4903
+ let w, M = d ? at(t) : null;
4904
4904
  d && _();
4905
4905
  function _() {
4906
4906
  const k = at(t);
4907
- A && (k.x !== A.x || k.y !== A.y || k.width !== A.width || k.height !== A.height) && a(), A = k, w = requestAnimationFrame(_);
4907
+ M && (k.x !== M.x || k.y !== M.y || k.width !== M.width || k.height !== M.height) && a(), M = k, w = requestAnimationFrame(_);
4908
4908
  }
4909
4909
  return a(), () => {
4910
4910
  c.forEach((k) => {
@@ -5026,9 +5026,9 @@ function R3(t, e, a) {
5026
5026
  }
5027
5027
  }, p = (m) => {
5028
5028
  if (n && n.value) {
5029
- let A = (m.clipboardData || /* istanbul ignore next */
5029
+ let M = (m.clipboardData || /* istanbul ignore next */
5030
5030
  window.clipboardData).getData("Text"), _ = n.value;
5031
- typeof _ == "string" && (_ = new RegExp(_)), A.split("").every((k) => !!k.match(_)) || m.preventDefault();
5031
+ typeof _ == "string" && (_ = new RegExp(_)), M.split("").every((k) => !!k.match(_)) || m.preventDefault();
5032
5032
  }
5033
5033
  e.emit("paste", m, s);
5034
5034
  };
@@ -5081,7 +5081,7 @@ function F3(t, e, a) {
5081
5081
  appendNewOption: p,
5082
5082
  multipleLabel: m,
5083
5083
  object: w,
5084
- loading: A,
5084
+ loading: M,
5085
5085
  delay: _,
5086
5086
  resolveOnLoad: k,
5087
5087
  minChars: y,
@@ -5099,31 +5099,31 @@ function F3(t, e, a) {
5099
5099
  groups: ce,
5100
5100
  reverse: se,
5101
5101
  infinite: re,
5102
- groupOptions: M,
5102
+ groupOptions: A,
5103
5103
  groupHideEmpty: F,
5104
5104
  groupSelect: j,
5105
5105
  onCreate: ae,
5106
5106
  disabledProp: oe,
5107
5107
  searchStart: $,
5108
5108
  searchFilter: Y
5109
- } = $e(t), ie = st().proxy, H = a.iv, O = a.ev, R = a.search, me = a.clearSearch, ke = a.update, ja = a.pointer, it = a.clearPointer, Za = a.focus, Fa = a.deactivate, ot = a.close, qa = a.localize, yt = Q([]), Fe = Q([]), Le = Q(!1), p1 = Q(null), h1 = Q(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => d.value || r.value || !1), za = b(() => u.value !== void 0 ? u.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
5109
+ } = $e(t), ie = st().proxy, H = a.iv, O = a.ev, R = a.search, me = a.clearSearch, ke = a.update, ja = a.pointer, it = a.clearPointer, Za = a.focus, Fa = a.deactivate, ot = a.close, qa = a.localize, bt = Q([]), Fe = Q([]), Le = Q(!1), p1 = Q(null), h1 = Q(re.value && i.value === -1 ? 10 : i.value), F1 = b(() => d.value || r.value || !1), za = b(() => u.value !== void 0 ? u.value : p.value !== void 0 ? p.value : !0), qe = b(() => {
5110
5110
  if (ce.value) {
5111
5111
  let C = jt.value || /* istanbul ignore next */
5112
5112
  [], D = [];
5113
5113
  return C.forEach((ne) => {
5114
- b1(ne[M.value]).forEach((pe) => {
5114
+ b1(ne[A.value]).forEach((pe) => {
5115
5115
  D.push(Object.assign({}, pe, ne[oe.value] ? { [oe.value]: !0 } : {}));
5116
5116
  });
5117
5117
  }), D;
5118
5118
  } else {
5119
5119
  let C = b1(Fe.value || /* istanbul ignore next */
5120
5120
  []);
5121
- return yt.value.length && (C = C.concat(yt.value)), C;
5121
+ return bt.value.length && (C = C.concat(bt.value)), C;
5122
5122
  }
5123
5123
  }), q1 = b(() => {
5124
5124
  let C = qe.value;
5125
5125
  return se.value && (C = C.reverse()), lt.value.length && (C = lt.value.concat(C)), y1(C);
5126
- }), bt = b(() => {
5126
+ }), wt = b(() => {
5127
5127
  let C = q1.value;
5128
5128
  return h1.value > 0 && (C = C.slice(0, h1.value)), C;
5129
5129
  }), jt = b(() => {
@@ -5131,16 +5131,16 @@ function F3(t, e, a) {
5131
5131
  return [];
5132
5132
  let C = [], D = Fe.value || /* istanbul ignore next */
5133
5133
  [];
5134
- return yt.value.length && C.push({
5134
+ return bt.value.length && C.push({
5135
5135
  [te.value]: " ",
5136
- [M.value]: [...yt.value],
5136
+ [A.value]: [...bt.value],
5137
5137
  __CREATE__: !0
5138
5138
  }), C.concat(D);
5139
5139
  }), Wa = b(() => {
5140
5140
  let C = [...jt.value].map((D) => ({ ...D }));
5141
- return lt.value.length && (C[0] && C[0].__CREATE__ ? C[0][M.value] = [...lt.value, ...C[0][M.value]] : C = [{
5141
+ return lt.value.length && (C[0] && C[0].__CREATE__ ? C[0][A.value] = [...lt.value, ...C[0][A.value]] : C = [{
5142
5142
  [te.value]: " ",
5143
- [M.value]: [...lt.value],
5143
+ [A.value]: [...lt.value],
5144
5144
  __CREATE__: !0
5145
5145
  }].concat(C)), C;
5146
5146
  }), z1 = b(() => {
@@ -5149,13 +5149,13 @@ function F3(t, e, a) {
5149
5149
  let C = Wa.value;
5150
5150
  return ls((C || /* istanbul ignore next */
5151
5151
  []).map((D, ne) => {
5152
- const pe = b1(D[M.value]);
5152
+ const pe = b1(D[A.value]);
5153
5153
  return {
5154
5154
  ...D,
5155
5155
  index: ne,
5156
5156
  group: !0,
5157
- [M.value]: y1(pe, !1).map((wt) => Object.assign({}, wt, D[oe.value] ? { [oe.value]: !0 } : {})),
5158
- __VISIBLE__: y1(pe).map((wt) => Object.assign({}, wt, D[oe.value] ? { [oe.value]: !0 } : {}))
5157
+ [A.value]: y1(pe, !1).map(($t) => Object.assign({}, $t, D[oe.value] ? { [oe.value]: !0 } : {})),
5158
+ __VISIBLE__: y1(pe).map(($t) => Object.assign({}, $t, D[oe.value] ? { [oe.value]: !0 } : {}))
5159
5159
  };
5160
5160
  }));
5161
5161
  }), m1 = b(() => {
@@ -5166,7 +5166,7 @@ function F3(t, e, a) {
5166
5166
  case "tags":
5167
5167
  return !De(H.value) && H.value.length > 0;
5168
5168
  }
5169
- }), Ya = b(() => m !== void 0 && m.value !== void 0 ? m.value(H.value, ie) : H.value && H.value.length > 1 ? `${H.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 && bt.value.length == 0 && (R.value && ce.value || !ce.value)), lt = b(() => F1.value === !1 || !R.value ? [] : ns(R.value) !== -1 ? [] : [{
5169
+ }), Ya = b(() => m !== void 0 && m.value !== void 0 ? m.value(H.value, ie) : H.value && H.value.length > 1 ? `${H.value.length} options selected` : "1 option selected"), Ka = b(() => !qe.value.length && !Le.value && !lt.value.length), Ga = b(() => qe.value.length > 0 && wt.value.length == 0 && (R.value && ce.value || !ce.value)), lt = b(() => F1.value === !1 || !R.value ? [] : ns(R.value) !== -1 ? [] : [{
5170
5170
  [V.value]: R.value,
5171
5171
  [Ve.value]: R.value,
5172
5172
  [c.value]: R.value,
@@ -5179,7 +5179,7 @@ function F3(t, e, a) {
5179
5179
  case "tags":
5180
5180
  return [];
5181
5181
  }
5182
- }), xa = b(() => A.value || Le.value), rt = (C) => {
5182
+ }), xa = b(() => M.value || Le.value), rt = (C) => {
5183
5183
  switch (typeof C != "object" && (C = Re(C)), s.value) {
5184
5184
  case "single":
5185
5185
  ke(C);
@@ -5213,7 +5213,7 @@ function F3(t, e, a) {
5213
5213
  e.emit("clear", ie), ke(Xa.value);
5214
5214
  }, Ne = (C) => {
5215
5215
  if (C.group !== void 0)
5216
- return s.value === "single" ? !1 : ss(C[M.value]) && C[M.value].length;
5216
+ return s.value === "single" ? !1 : ss(C[A.value]) && C[A.value].length;
5217
5217
  switch (s.value) {
5218
5218
  case "single":
5219
5219
  return !De(H.value) && H.value[V.value] == C[V.value];
@@ -5269,8 +5269,8 @@ function F3(t, e, a) {
5269
5269
  switch (s.value) {
5270
5270
  case "multiple":
5271
5271
  case "tags":
5272
- as(C[M.value]) ? ut(C[M.value]) : rt(
5273
- C[M.value].filter((D) => H.value.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1).filter((D) => !D[oe.value]).filter((D, ne) => H.value.length + 1 + ne <= J.value || J.value === -1)
5272
+ as(C[A.value]) ? ut(C[A.value]) : rt(
5273
+ C[A.value].filter((D) => H.value.map((ne) => ne[V.value]).indexOf(D[V.value]) === -1).filter((D) => !D[oe.value]).filter((D, ne) => H.value.length + 1 + ne <= J.value || J.value === -1)
5274
5274
  );
5275
5275
  break;
5276
5276
  }
@@ -5279,19 +5279,19 @@ function F3(t, e, a) {
5279
5279
  }, g1 = (C) => {
5280
5280
  Re(C[V.value]) === void 0 && F1.value && (e.emit("tag", C[V.value], ie), e.emit("option", C[V.value], ie), e.emit("create", C[V.value], ie), za.value && os(C), me());
5281
5281
  }, ts = () => {
5282
- s.value !== "single" && rt(bt.value.filter((C) => !C.disabled && !Ne(C)));
5282
+ s.value !== "single" && rt(wt.value.filter((C) => !C.disabled && !Ne(C)));
5283
5283
  }, as = (C) => C.find((D) => !Ne(D) && !D[oe.value]) === void 0, ss = (C) => C.find((D) => !Ne(D)) === void 0, Re = (C) => qe.value[qe.value.map((D) => String(D[V.value])).indexOf(String(C))], ns = (C, D = !0) => qe.value.map((ne) => parseInt(ne[Ve.value]) == ne[Ve.value] ? parseInt(ne[Ve.value]) : ne[Ve.value]).indexOf(
5284
5284
  parseInt(C) == C ? parseInt(C) : C
5285
5285
  ), is = (C) => ["tags", "multiple"].indexOf(s.value) !== -1 && l.value && Ne(C), os = (C) => {
5286
- yt.value.push(C);
5286
+ bt.value.push(C);
5287
5287
  }, ls = (C) => F.value ? C.filter(
5288
- (D) => R.value ? D.__VISIBLE__.length : D[M.value].length
5288
+ (D) => R.value ? D.__VISIBLE__.length : D[A.value].length
5289
5289
  ) : C.filter((D) => R.value ? D.__VISIBLE__.length : !0), y1 = (C, D = !0) => {
5290
5290
  let ne = C;
5291
5291
  if (R.value && L.value) {
5292
5292
  let pe = Y.value;
5293
- pe || (pe = (wt, s8) => {
5294
- let x1 = M1(qa(wt[Ve.value]), g.value);
5293
+ pe || (pe = ($t, o8) => {
5294
+ let x1 = M1(qa($t[Ve.value]), g.value);
5295
5295
  return $.value ? x1.startsWith(M1(R.value, g.value)) : x1.indexOf(M1(R.value, g.value)) !== -1;
5296
5296
  }), ne = ne.filter(pe);
5297
5297
  }
@@ -5342,7 +5342,7 @@ function F3(t, e, a) {
5342
5342
  p1.value = ue(R, (C) => {
5343
5343
  C.length < y.value || !C && y.value !== 0 || (Le.value = !0, Z.value && (Fe.value = []), setTimeout(() => {
5344
5344
  C == R.value && n.value(R.value, ie).then((D) => {
5345
- (C == R.value || !R.value) && (Fe.value = D, ja.value = bt.value.filter((ne) => ne[oe.value] !== !0)[0] || null, Le.value = !1);
5345
+ (C == R.value || !R.value) && (Fe.value = D, ja.value = wt.value.filter((ne) => ne[oe.value] !== !0)[0] || null, Le.value = !1);
5346
5346
  }).catch(
5347
5347
  /* istanbul ignore next */
5348
5348
  (D) => {
@@ -5374,8 +5374,8 @@ function F3(t, e, a) {
5374
5374
  typeof t.options == "function" ? k.value && (!D || C && C.toString() !== D.toString()) && Ft() : (Fe.value = t.options, Object.keys(H.value).length || Zt(), w1());
5375
5375
  }), ue(c, w1), {
5376
5376
  pfo: q1,
5377
- fo: bt,
5378
- filteredOptions: bt,
5377
+ fo: wt,
5378
+ filteredOptions: wt,
5379
5379
  hasSelected: m1,
5380
5380
  multipleLabelText: Ya,
5381
5381
  eo: qe,
@@ -5417,7 +5417,7 @@ function q3(t, e, a) {
5417
5417
  groupSelect: r,
5418
5418
  disabledProp: c,
5419
5419
  groupOptions: u
5420
- } = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, A = a.handleGroupClick, _ = a.search, k = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])), x = b(() => m.value.filter((O) => !O[c.value])), te = b(() => d.value !== "single" && r.value), I = b(() => k.value && k.value.group), J = b(() => ie(k.value)), g = b(() => {
5420
+ } = $e(t), p = a.fo, m = a.fg, w = a.handleOptionClick, M = a.handleGroupClick, _ = a.search, k = a.pointer, y = a.setPointer, L = a.clearPointer, Z = a.multiselect, W = a.isOpen, V = b(() => p.value.filter((O) => !O[c.value])), x = b(() => m.value.filter((O) => !O[c.value])), te = b(() => d.value !== "single" && r.value), I = b(() => k.value && k.value.group), J = b(() => ie(k.value)), g = b(() => {
5421
5421
  const O = I.value ? k.value : (
5422
5422
  /* istanbul ignore next */
5423
5423
  ie(k.value)
@@ -5433,10 +5433,10 @@ function q3(t, e, a) {
5433
5433
  }), re = b(() => {
5434
5434
  const O = ie(k.value).__VISIBLE__.filter((R) => !R[c.value]);
5435
5435
  return O[O.map((R) => R[n.value]).indexOf(k.value[n.value]) + 1];
5436
- }), M = b(() => [...g.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), F = b(() => [...P.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), j = (O) => k.value && (!O.group && k.value[n.value] === O[n.value] || O.group !== void 0 && k.value[i.value] === O[i.value]) ? !0 : void 0, ae = () => {
5436
+ }), A = b(() => [...g.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), F = b(() => [...P.value.__VISIBLE__.filter((O) => !O[c.value])].slice(-1)[0]), j = (O) => k.value && (!O.group && k.value[n.value] === O[n.value] || O.group !== void 0 && k.value[i.value] === O[i.value]) ? !0 : void 0, ae = () => {
5437
5437
  y(V.value[0] || null);
5438
5438
  }, oe = () => {
5439
- !k.value || k.value[c.value] === !0 || (I.value ? A(k.value) : w(k.value));
5439
+ !k.value || k.value[c.value] === !0 || (I.value ? M(k.value) : w(k.value));
5440
5440
  }, $ = () => {
5441
5441
  if (k.value === null)
5442
5442
  y((l.value && te.value ? x.value[0].__CREATE__ ? V.value[0] : x.value[0] : V.value[0]) || null);
@@ -5456,8 +5456,8 @@ function q3(t, e, a) {
5456
5456
  let O = V.value[V.value.length - 1];
5457
5457
  l.value && te.value && (O = F.value, O === void 0 && (O = P.value)), y(O || null);
5458
5458
  } else if (l.value && te.value) {
5459
- let O = I.value ? M.value : se.value;
5460
- O === void 0 && (O = I.value ? g.value : J.value, O.__CREATE__ && (O = M.value, O === void 0 && (O = g.value))), y(O || /* istanbul ignore next */
5459
+ let O = I.value ? A.value : se.value;
5460
+ O === void 0 && (O = I.value ? g.value : J.value, O.__CREATE__ && (O = A.value, O === void 0 && (O = g.value))), y(O || /* istanbul ignore next */
5461
5461
  null);
5462
5462
  } else {
5463
5463
  let O = V.value.map((R) => R[n.value]).indexOf(k.value[n.value]) - 1;
@@ -5508,7 +5508,7 @@ function z3(t, e, a) {
5508
5508
  };
5509
5509
  }
5510
5510
  function W3(t, e, a) {
5511
- const { searchable: n, disabled: s, clearOnBlur: o } = $e(t), i = a.input, l = a.open, d = a.close, r = a.clearSearch, c = a.isOpen, u = Q(null), p = Q(null), m = Q(null), w = Q(!1), A = Q(!1), _ = b(() => n.value || s.value ? -1 : 0), k = () => {
5511
+ const { searchable: n, disabled: s, clearOnBlur: o } = $e(t), i = a.input, l = a.open, d = a.close, r = a.clearSearch, c = a.isOpen, u = Q(null), p = Q(null), m = Q(null), w = Q(!1), M = Q(!1), _ = b(() => n.value || s.value ? -1 : 0), k = () => {
5512
5512
  n.value && i.value.blur(), p.value.blur();
5513
5513
  }, y = () => {
5514
5514
  n.value && !s.value && i.value.focus();
@@ -5525,13 +5525,13 @@ function W3(t, e, a) {
5525
5525
  tags: m,
5526
5526
  tabindex: _,
5527
5527
  isActive: w,
5528
- mouseClicked: A,
5528
+ mouseClicked: M,
5529
5529
  blur: k,
5530
5530
  focus: y,
5531
5531
  activate: L,
5532
5532
  deactivate: Z,
5533
5533
  handleFocusIn: (I) => {
5534
- I.target.closest("[data-tags]") && I.target.nodeName !== "INPUT" || I.target.closest("[data-clear]") || L(A.value);
5534
+ I.target.closest("[data-tags]") && I.target.nodeName !== "INPUT" || I.target.closest("[data-clear]") || L(M.value);
5535
5535
  },
5536
5536
  handleFocusOut: () => {
5537
5537
  Z();
@@ -5540,10 +5540,10 @@ function W3(t, e, a) {
5540
5540
  Z(), k();
5541
5541
  },
5542
5542
  handleMousedown: (I) => {
5543
- A.value = !0, c.value && (I.target.isEqualNode(p.value) || I.target.isEqualNode(m.value)) ? setTimeout(() => {
5543
+ M.value = !0, c.value && (I.target.isEqualNode(p.value) || I.target.isEqualNode(m.value)) ? setTimeout(() => {
5544
5544
  Z();
5545
5545
  }, 0) : document.activeElement.isEqualNode(p.value) && !c.value && L(), setTimeout(() => {
5546
- A.value = !1;
5546
+ M.value = !1;
5547
5547
  }, 0);
5548
5548
  }
5549
5549
  };
@@ -5561,7 +5561,7 @@ function Y3(t, e, a) {
5561
5561
  createTag: u,
5562
5562
  createOption: p,
5563
5563
  reverse: m
5564
- } = $e(t), w = st().proxy, A = a.iv, _ = a.update, k = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect, x = a.wrapper, te = a.tags, I = a.isOpen, J = a.open, g = a.blur, S = a.fo, P = b(() => u.value || p.value || !1), ce = b(() => s.value !== void 0 ? s.value : c.value !== void 0 ? c.value : ["enter"]), se = () => {
5564
+ } = $e(t), w = st().proxy, M = a.iv, _ = a.update, k = a.search, y = a.setPointer, L = a.selectPointer, Z = a.backwardPointer, W = a.forwardPointer, V = a.multiselect, x = a.wrapper, te = a.tags, I = a.isOpen, J = a.open, g = a.blur, S = a.fo, P = b(() => u.value || p.value || !1), ce = b(() => s.value !== void 0 ? s.value : c.value !== void 0 ? c.value : ["enter"]), se = () => {
5565
5565
  n.value === "tags" && !l.value && P.value && i.value && !r.value && y(S.value[S.value.map((j) => j[d.value]).indexOf(k.value)]);
5566
5566
  }, re = (j) => {
5567
5567
  let ae = j.length - 1;
@@ -5575,15 +5575,15 @@ function Y3(t, e, a) {
5575
5575
  let ae, oe;
5576
5576
  switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(j.key) !== -1 && n.value === "tags" && (ae = [...V.value.querySelectorAll("[data-tags] > *")].filter(($) => $ !== te.value), oe = ae.findIndex(($) => $ === document.activeElement)), j.key) {
5577
5577
  case "Backspace":
5578
- if (n.value === "single" || i.value && [null, ""].indexOf(k.value) === -1 || A.value.length === 0)
5578
+ if (n.value === "single" || i.value && [null, ""].indexOf(k.value) === -1 || M.value.length === 0)
5579
5579
  return;
5580
- _(re([...A.value]));
5580
+ _(re([...M.value]));
5581
5581
  break;
5582
5582
  case "Enter":
5583
5583
  if (j.preventDefault(), j.keyCode === 229)
5584
5584
  return;
5585
5585
  if (oe !== -1 && oe !== void 0) {
5586
- _([...A.value].filter(($, Y) => Y !== oe)), oe === ae.length - 1 && (ae.length - 1 ? ae[ae.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : x.value.focus());
5586
+ _([...M.value].filter(($, Y) => Y !== oe)), oe === ae.length - 1 && (ae.length - 1 ? ae[ae.length - 2].focus() : i.value ? te.value.querySelector("input").focus() : x.value.focus());
5587
5587
  return;
5588
5588
  }
5589
5589
  if (ce.value.indexOf("enter") === -1 && P.value)
@@ -5622,12 +5622,12 @@ function Y3(t, e, a) {
5622
5622
  I.value || J(), W();
5623
5623
  break;
5624
5624
  case "ArrowLeft":
5625
- if (i.value && te.value && te.value.querySelector("input").selectionStart || j.shiftKey || n.value !== "tags" || !A.value || !A.value.length)
5625
+ if (i.value && te.value && te.value.querySelector("input").selectionStart || j.shiftKey || n.value !== "tags" || !M.value || !M.value.length)
5626
5626
  return;
5627
5627
  j.preventDefault(), oe === -1 ? ae[ae.length - 1].focus() : oe > 0 && ae[oe - 1].focus();
5628
5628
  break;
5629
5629
  case "ArrowRight":
5630
- if (oe === -1 || j.shiftKey || n.value !== "tags" || !A.value || !A.value.length)
5630
+ if (oe === -1 || j.shiftKey || n.value !== "tags" || !M.value || !M.value.length)
5631
5631
  return;
5632
5632
  j.preventDefault(), ae.length > oe + 1 ? ae[oe + 1].focus() : i.value ? te.value.querySelector("input").focus() : i.value || x.value.focus();
5633
5633
  break;
@@ -5645,7 +5645,7 @@ function K3(t, e, a) {
5645
5645
  disabled: s,
5646
5646
  openDirection: o,
5647
5647
  showOptions: i
5648
- } = $e(t), l = a.isOpen, d = a.isPointed, r = a.isSelected, c = a.isDisabled, u = a.isActive, p = a.canPointGroups, m = a.resolving, w = a.fo, A = b(() => ({
5648
+ } = $e(t), l = a.isOpen, d = a.isPointed, r = a.isSelected, c = a.isDisabled, u = a.isActive, p = a.canPointGroups, m = a.resolving, w = a.fo, M = b(() => ({
5649
5649
  container: "multiselect",
5650
5650
  containerDisabled: "is-disabled",
5651
5651
  containerOpen: "is-open",
@@ -5701,7 +5701,7 @@ function K3(t, e, a) {
5701
5701
  })), _ = b(() => !!(l.value && i.value && (!m.value || m.value && w.value.length)));
5702
5702
  return {
5703
5703
  classList: b(() => {
5704
- const y = A.value;
5704
+ const y = M.value;
5705
5705
  return {
5706
5706
  container: [y.container].concat(s.value ? y.containerDisabled : []).concat(_.value && o.value === "top" ? y.containerOpenTop : []).concat(_.value && o.value !== "top" ? y.containerOpen : []).concat(u.value ? y.containerActive : []),
5707
5707
  wrapper: y.wrapper,
@@ -5750,8 +5750,8 @@ function G3(t, e, a) {
5750
5750
  const {
5751
5751
  limit: n,
5752
5752
  infinite: s
5753
- } = $e(t), o = a.isOpen, i = a.offset, l = a.search, d = a.pfo, r = a.eo, c = Q(null), u = Q(null), p = b(() => i.value < d.value.length), m = (A) => {
5754
- const { isIntersecting: _, target: k } = A[0];
5753
+ } = $e(t), o = a.isOpen, i = a.offset, l = a.search, d = a.pfo, r = a.eo, c = Q(null), u = Q(null), p = b(() => i.value < d.value.length), m = (M) => {
5754
+ const { isIntersecting: _, target: k } = M[0];
5755
5755
  if (_) {
5756
5756
  const y = k.offsetParent, L = y.scrollTop;
5757
5757
  i.value += n.value == -1 ? 10 : n.value, Oe(() => {
@@ -5784,7 +5784,7 @@ function X3(t, e, a) {
5784
5784
  groupLabel: d,
5785
5785
  aria: r,
5786
5786
  searchable: c
5787
- } = $e(t), u = a.pointer, p = a.iv, m = a.hasSelected, w = a.multipleLabelText, A = Q(null), _ = b(() => {
5787
+ } = $e(t), u = a.pointer, p = a.iv, m = a.hasSelected, w = a.multipleLabelText, M = Q(null), _ = b(() => {
5788
5788
  let S = [];
5789
5789
  return s && s.value && S.push(s.value), S.push("assist"), S.join("-");
5790
5790
  }), k = b(() => {
@@ -5816,7 +5816,7 @@ function X3(t, e, a) {
5816
5816
  return Dt(() => {
5817
5817
  if (s && s.value && document && document.querySelector) {
5818
5818
  let S = document.querySelector(`[for="${s.value}"]`);
5819
- A.value = S ? S.innerText : null;
5819
+ M.value = S ? S.innerText : null;
5820
5820
  }
5821
5821
  }), {
5822
5822
  arias: V,
@@ -6273,7 +6273,7 @@ function g5(t, e, a, n, s, o) {
6273
6273
  i.disabled ? t.classList.tagDisabled : null
6274
6274
  ]),
6275
6275
  tabindex: "-1",
6276
- onKeyup: Ye((r) => t.handleTagRemove(i, r), ["enter"]),
6276
+ onKeyup: Ke((r) => t.handleTagRemove(i, r), ["enter"]),
6277
6277
  key: d,
6278
6278
  "aria-label": t.ariaTagLabel(t.localize(i[a.label]))
6279
6279
  }, [
@@ -6426,7 +6426,7 @@ function g5(t, e, a, n, s, o) {
6426
6426
  "aria-roledescription": "❎",
6427
6427
  class: G(t.classList.clear),
6428
6428
  onClick: e[6] || (e[6] = (...i) => t.clear && t.clear(...i)),
6429
- onKeyup: e[7] || (e[7] = Ye((...i) => t.clear && t.clear(...i), ["enter"]))
6429
+ onKeyup: e[7] || (e[7] = Ke((...i) => t.clear && t.clear(...i), ["enter"]))
6430
6430
  },
6431
6431
  [
6432
6432
  v(
@@ -6803,7 +6803,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6803
6803
  return (u, p) => (f(), h("div", b5, [
6804
6804
  v("ul", w5, [
6805
6805
  (f(!0), h(ve, null, ye(u.tasks, (m) => {
6806
- var w, A;
6806
+ var w, M;
6807
6807
  return f(), h("li", {
6808
6808
  key: m.id,
6809
6809
  class: "ao-subtask"
@@ -6823,11 +6823,11 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6823
6823
  class: "ao-field__input ao-subtask__field",
6824
6824
  type: "text",
6825
6825
  onChange: (_) => i(_, m.id),
6826
- onKeyup: Ye(c, ["enter"])
6826
+ onKeyup: Ke(c, ["enter"])
6827
6827
  }, null, 40, $5),
6828
6828
  !u.isTemplate && u.users ? (f(), N(be, {
6829
6829
  key: 1,
6830
- value: (A = m.assignee) != null && A.id ? [m.assignee.id] : [],
6830
+ value: (M = m.assignee) != null && M.id ? [m.assignee.id] : [],
6831
6831
  options: s.value,
6832
6832
  "close-on-select": !0,
6833
6833
  searchable: !0,
@@ -6840,7 +6840,7 @@ const b5 = { class: "ao-tasks" }, w5 = { class: "ao-tasks__list" }, $5 = ["id",
6840
6840
  onChange: (_) => r(_, m.id)
6841
6841
  }, {
6842
6842
  tag: U(({ option: _, handleTagRemove: k }) => [
6843
- E(gt, {
6843
+ E(yt, {
6844
6844
  "user-name": _.label,
6845
6845
  "avatar-url": _.avatar,
6846
6846
  "is-closable": !0,
@@ -7005,19 +7005,19 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7005
7005
  e("edit", _);
7006
7006
  }), w = () => {
7007
7007
  e("remove");
7008
- }, A = Q(2);
7008
+ }, M = Q(2);
7009
7009
  return ps(() => {
7010
7010
  Oe(() => {
7011
7011
  var _;
7012
7012
  if (!o.value) {
7013
7013
  const k = (_ = s.value) == null ? void 0 : _.getClientRects().length;
7014
- A.value = k || 2;
7014
+ M.value = k || 2;
7015
7015
  }
7016
7016
  });
7017
7017
  }), (_, k) => {
7018
7018
  var y;
7019
7019
  return f(), h("li", H5, [
7020
- n.value ? (f(), N(gt, {
7020
+ n.value ? (f(), N(yt, {
7021
7021
  key: 0,
7022
7022
  "avatar-url": (y = _.user) == null ? void 0 : y.avatarUrl,
7023
7023
  "user-name": n.value,
@@ -7025,15 +7025,15 @@ const H5 = { class: "ao-comment" }, P5 = { class: "ao-comment__body" }, B5 = { c
7025
7025
  }, null, 8, ["avatar-url", "user-name"])) : T("", !0),
7026
7026
  v("div", P5, [
7027
7027
  v("div", B5, [
7028
- (f(), N(xe(u.value), {
7028
+ (f(), N(Qe(u.value), {
7029
7029
  ref_key: "commentContent",
7030
7030
  ref: s,
7031
7031
  class: "ao-comment__content",
7032
7032
  value: z(o) ? _.content : null,
7033
- rows: z(o) ? A.value : null,
7033
+ rows: z(o) ? M.value : null,
7034
7034
  onKeyup: [
7035
- Ye(z(p), ["esc"]),
7036
- Ye(_e(z(m), ["ctrl"]), ["enter"])
7035
+ Ke(z(p), ["esc"]),
7036
+ Ke(_e(z(m), ["ctrl"]), ["enter"])
7037
7037
  ]
7038
7038
  }, {
7039
7039
  default: U(() => [
@@ -7143,13 +7143,13 @@ const j5 = {
7143
7143
  }, [
7144
7144
  v("label", q5, [
7145
7145
  v("span", z5, q(c.$t("activity.comment.label")), 1),
7146
- tt(v("textarea", {
7146
+ Ye(v("textarea", {
7147
7147
  "onUpdate:modelValue": u[0] || (u[0] = (m) => i.value = m),
7148
7148
  rows: "4",
7149
7149
  class: "ao-field__textarea"
7150
7150
  }, null, 512), [
7151
7151
  [
7152
- Et,
7152
+ mt,
7153
7153
  i.value,
7154
7154
  void 0,
7155
7155
  { trim: !0 }
@@ -7293,7 +7293,7 @@ const K5 = {
7293
7293
  (P) => P.id === g.value
7294
7294
  )
7295
7295
  };
7296
- })), A = (g) => {
7296
+ })), M = (g) => {
7297
7297
  e("addSubtask", g);
7298
7298
  }, _ = (g) => {
7299
7299
  e("updateSubtask", g);
@@ -7384,14 +7384,14 @@ const K5 = {
7384
7384
  v("div", J5, [
7385
7385
  v("label", e7, [
7386
7386
  v("span", t7, q(g.$t("activity.description.label")), 1),
7387
- tt(v("textarea", {
7387
+ Ye(v("textarea", {
7388
7388
  "onUpdate:modelValue": S[0] || (S[0] = (P) => s.value = P),
7389
7389
  readonly: !g.isEditable,
7390
7390
  rows: "4",
7391
7391
  class: "ao-field__textarea"
7392
7392
  }, null, 8, a7), [
7393
7393
  [
7394
- Et,
7394
+ mt,
7395
7395
  s.value,
7396
7396
  void 0,
7397
7397
  {
@@ -7405,7 +7405,7 @@ const K5 = {
7405
7405
  v("div", s7, [
7406
7406
  v("label", n7, [
7407
7407
  v("span", i7, q(g.$t("activity.estimation.label")), 1),
7408
- tt(v("input", {
7408
+ Ye(v("input", {
7409
7409
  "onUpdate:modelValue": S[1] || (S[1] = (P) => o.value = P),
7410
7410
  readonly: !g.isEditable,
7411
7411
  class: "ao-field__input",
@@ -7413,7 +7413,7 @@ const K5 = {
7413
7413
  min: "0"
7414
7414
  }, null, 8, o7), [
7415
7415
  [
7416
- Et,
7416
+ mt,
7417
7417
  o.value,
7418
7418
  void 0,
7419
7419
  {
@@ -7425,7 +7425,7 @@ const K5 = {
7425
7425
  ]),
7426
7426
  v("label", l7, [
7427
7427
  v("span", r7, q(g.$t("activity.important.label")), 1),
7428
- tt(v("input", {
7428
+ Ye(v("input", {
7429
7429
  "onUpdate:modelValue": S[2] || (S[2] = (P) => i.value = P),
7430
7430
  disabled: !g.isEditable,
7431
7431
  class: "ao-field__input",
@@ -7441,7 +7441,7 @@ const K5 = {
7441
7441
  ]),
7442
7442
  g.isTemplate !== !0 && g.activity.createdBy.id === g.userId ? (f(), h("label", d7, [
7443
7443
  v("span", c7, q(g.$t("activity.private.label")), 1),
7444
- tt(v("input", {
7444
+ Ye(v("input", {
7445
7445
  "onUpdate:modelValue": S[3] || (S[3] = (P) => l.value = P),
7446
7446
  disabled: !g.isEditable,
7447
7447
  class: "ao-field__input",
@@ -7485,7 +7485,7 @@ const K5 = {
7485
7485
  option: P,
7486
7486
  handleTagRemove: ce
7487
7487
  }) => [
7488
- E(gt, {
7488
+ E(yt, {
7489
7489
  "user-name": P.label,
7490
7490
  "avatar-url": P.avatar,
7491
7491
  "is-closable": !0,
@@ -7515,7 +7515,7 @@ const K5 = {
7515
7515
  "is-checkable": g.isTaskCheckable,
7516
7516
  "is-editable": g.isEditable,
7517
7517
  "is-template": g.isTemplate,
7518
- onAdd: A,
7518
+ onAdd: M,
7519
7519
  onUpdate: _,
7520
7520
  onDelete: k
7521
7521
  }, null, 8, ["tasks", "activity-id", "users", "is-checkable", "is-editable", "is-template"])
@@ -7682,7 +7682,7 @@ const B7 = /* @__PURE__ */ K({
7682
7682
  set(k) {
7683
7683
  e("update:rule", { ...a.rule, duration: k });
7684
7684
  }
7685
- }), A = b({
7685
+ }), M = b({
7686
7686
  get() {
7687
7687
  return a.rule.durationUnit;
7688
7688
  },
@@ -7690,7 +7690,7 @@ const B7 = /* @__PURE__ */ K({
7690
7690
  e("update:rule", { ...a.rule, durationUnit: k });
7691
7691
  }
7692
7692
  }), _ = b(() => Object.values($d));
7693
- return (k, y) => (f(), N(xe(k.tagName), { class: "ao-rule-line" }, {
7693
+ return (k, y) => (f(), N(Qe(k.tagName), { class: "ao-rule-line" }, {
7694
7694
  default: U(() => [
7695
7695
  E(z(We), {
7696
7696
  modelValue: s.value,
@@ -7712,21 +7712,21 @@ const B7 = /* @__PURE__ */ K({
7712
7712
  "onUpdate:modelValue": y[3] || (y[3] = (L) => r.value = L),
7713
7713
  options: c.value
7714
7714
  }, null, 8, ["modelValue", "options"]),
7715
- tt(v("input", {
7715
+ Ye(v("input", {
7716
7716
  "onUpdate:modelValue": y[4] || (y[4] = (L) => w.value = L),
7717
7717
  type: "number",
7718
7718
  min: "0"
7719
7719
  }, null, 512), [
7720
7720
  [
7721
- Et,
7721
+ mt,
7722
7722
  w.value,
7723
7723
  void 0,
7724
7724
  { number: !0 }
7725
7725
  ]
7726
7726
  ]),
7727
7727
  E(z(We), {
7728
- modelValue: A.value,
7729
- "onUpdate:modelValue": y[5] || (y[5] = (L) => A.value = L),
7728
+ modelValue: M.value,
7729
+ "onUpdate:modelValue": y[5] || (y[5] = (L) => M.value = L),
7730
7730
  options: _.value
7731
7731
  }, null, 8, ["modelValue", "options"]),
7732
7732
  E(de, {
@@ -7776,7 +7776,7 @@ const N7 = { class: "ao-template-rules__body" }, R7 = { class: "ao-template-rule
7776
7776
  onClose: () => n(i.id)
7777
7777
  }, null, 8, ["rule", "template-phases", "template-milestones", "template-activities", "onClose"]))), 128))
7778
7778
  ]),
7779
- E(Je, {
7779
+ E(et, {
7780
7780
  label: s.$t("template.rules.add"),
7781
7781
  "icon-name": "Add",
7782
7782
  onClick: a
@@ -7812,8 +7812,8 @@ const j7 = {
7812
7812
  setup(t, { emit: e }) {
7813
7813
  const a = t, { t: n } = nt(), s = b(
7814
7814
  () => {
7815
- var M;
7816
- return (M = a.templates) == null ? void 0 : M.find((F) => F.id === a.templateId);
7815
+ var A;
7816
+ return (A = a.templates) == null ? void 0 : A.find((F) => F.id === a.templateId);
7817
7817
  }
7818
7818
  ), o = Q(!1);
7819
7819
  ue(
@@ -7821,50 +7821,50 @@ const j7 = {
7821
7821
  () => o.value = !1
7822
7822
  ), ue(
7823
7823
  () => {
7824
- var M;
7825
- return (M = s.value) == null ? void 0 : M.phases;
7824
+ var A;
7825
+ return (A = s.value) == null ? void 0 : A.phases;
7826
7826
  },
7827
- (M, F) => {
7828
- o.value && Ue(M, F);
7827
+ (A, F) => {
7828
+ o.value && Ue(A, F);
7829
7829
  }
7830
7830
  );
7831
7831
  const i = b(() => {
7832
- var M, F;
7833
- return (F = (M = s == null ? void 0 : s.value) == null ? void 0 : M.phases) == null ? void 0 : F.find((j) => j.id === a.phaseId);
7832
+ var A, F;
7833
+ return (F = (A = s == null ? void 0 : s.value) == null ? void 0 : A.phases) == null ? void 0 : F.find((j) => j.id === a.phaseId);
7834
7834
  });
7835
7835
  ue(
7836
7836
  () => {
7837
- var M;
7838
- return (M = i.value) == null ? void 0 : M.milestones;
7837
+ var A;
7838
+ return (A = i.value) == null ? void 0 : A.milestones;
7839
7839
  },
7840
- (M, F) => {
7841
- o.value && Ue(M, F);
7840
+ (A, F) => {
7841
+ o.value && Ue(A, F);
7842
7842
  }
7843
7843
  );
7844
7844
  const l = b(() => {
7845
- var M, F;
7846
- return (F = (M = i.value) == null ? void 0 : M.milestones) == null ? void 0 : F.find(
7845
+ var A, F;
7846
+ return (F = (A = i.value) == null ? void 0 : A.milestones) == null ? void 0 : F.find(
7847
7847
  (j) => j.id === a.milestoneId
7848
7848
  );
7849
7849
  });
7850
7850
  ue(
7851
7851
  () => {
7852
- var M;
7853
- return (M = l.value) == null ? void 0 : M.activities;
7852
+ var A;
7853
+ return (A = l.value) == null ? void 0 : A.activities;
7854
7854
  },
7855
- (M, F) => {
7856
- o.value && Ue(M, F);
7855
+ (A, F) => {
7856
+ o.value && Ue(A, F);
7857
7857
  }
7858
7858
  );
7859
7859
  const d = b(() => {
7860
- var M, F;
7861
- return ((F = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : F.reduce((j, ae) => {
7860
+ var A, F;
7861
+ return ((F = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : F.reduce((j, ae) => {
7862
7862
  const oe = ae.milestones || [];
7863
7863
  return [...j, ...oe];
7864
7864
  }, [])) || [];
7865
7865
  }), r = b(() => {
7866
- var M, F;
7867
- return ((F = (M = s.value) == null ? void 0 : M.phases) == null ? void 0 : F.reduce((j, ae) => {
7866
+ var A, F;
7867
+ return ((F = (A = s.value) == null ? void 0 : A.phases) == null ? void 0 : F.reduce((j, ae) => {
7868
7868
  const $ = (ae.milestones || []).reduce(
7869
7869
  (Y, ie) => ie.activities ? [...Y, ...ie.activities] : Y,
7870
7870
  []
@@ -7872,17 +7872,17 @@ const j7 = {
7872
7872
  return [...j, ...$];
7873
7873
  }, [])) || [];
7874
7874
  }), c = b(() => {
7875
- var M, F;
7876
- return (F = (M = l.value) == null ? void 0 : M.activities) == null ? void 0 : F.find(
7875
+ var A, F;
7876
+ return (F = (A = l.value) == null ? void 0 : A.activities) == null ? void 0 : F.find(
7877
7877
  (j) => j.id === a.activityId
7878
7878
  );
7879
7879
  }), u = b(() => {
7880
- var M;
7881
- return ((M = s.value) == null ? void 0 : M.name) || a.templateId;
7880
+ var A;
7881
+ return ((A = s.value) == null ? void 0 : A.name) || a.templateId;
7882
7882
  }), p = () => {
7883
7883
  if (!s.value)
7884
7884
  return;
7885
- const { name: M, rank: F } = ht(
7885
+ const { name: A, rank: F } = ht(
7886
7886
  s.value.phases,
7887
7887
  "phase",
7888
7888
  n
@@ -7891,35 +7891,35 @@ const j7 = {
7891
7891
  type: he.PHASES,
7892
7892
  templateId: a.templateId,
7893
7893
  item: {
7894
- name: M,
7894
+ name: A,
7895
7895
  rank: F
7896
7896
  }
7897
7897
  });
7898
- }, m = (M) => {
7898
+ }, m = (A) => {
7899
7899
  e("updateItem", {
7900
7900
  templateId: a.templateId,
7901
7901
  id: a.templateId,
7902
7902
  itemType: he.TEMPLATES,
7903
- data: { name: M }
7903
+ data: { name: A }
7904
7904
  });
7905
- }, w = (M) => {
7905
+ }, w = (A) => {
7906
7906
  e("removeItem", {
7907
7907
  type: he.PHASES,
7908
7908
  templateId: a.templateId,
7909
7909
  data: {
7910
- id: M
7910
+ id: A
7911
7911
  }
7912
7912
  });
7913
- }, A = (M, F) => {
7913
+ }, M = (A, F) => {
7914
7914
  e("updateItem", {
7915
7915
  templateId: a.templateId,
7916
- id: M,
7916
+ id: A,
7917
7917
  itemType: he.PHASES,
7918
7918
  data: { name: F }
7919
7919
  });
7920
- }, _ = (M) => {
7921
- e("updateItem", M);
7922
- }, k = (M) => {
7920
+ }, _ = (A) => {
7921
+ e("updateItem", A);
7922
+ }, k = (A) => {
7923
7923
  if (!i.value)
7924
7924
  return;
7925
7925
  const { name: F, rank: j } = ht(
@@ -7930,32 +7930,32 @@ const j7 = {
7930
7930
  o.value = !0, e("addItem", {
7931
7931
  type: he.MILESTONES,
7932
7932
  templateId: a.templateId,
7933
- phaseId: M.phaseId,
7933
+ phaseId: A.phaseId,
7934
7934
  item: {
7935
7935
  name: F,
7936
7936
  rank: j,
7937
- phaseId: M.phaseId
7937
+ phaseId: A.phaseId
7938
7938
  }
7939
7939
  });
7940
- }, y = (M) => {
7940
+ }, y = (A) => {
7941
7941
  e("removeItem", {
7942
7942
  type: he.MILESTONES,
7943
7943
  templateId: a.templateId,
7944
- phaseId: M.phaseId,
7944
+ phaseId: A.phaseId,
7945
7945
  data: {
7946
- id: M.id
7946
+ id: A.id
7947
7947
  }
7948
7948
  });
7949
- }, L = (M) => {
7950
- const { id: F, ...j } = M;
7949
+ }, L = (A) => {
7950
+ const { id: F, ...j } = A;
7951
7951
  e("updateItem", {
7952
7952
  itemType: he.MILESTONES,
7953
7953
  id: F,
7954
7954
  templateId: a.templateId,
7955
7955
  data: j
7956
7956
  });
7957
- }, Z = (M) => {
7958
- const { milestoneId: F } = M;
7957
+ }, Z = (A) => {
7958
+ const { milestoneId: F } = A;
7959
7959
  if (!l.value)
7960
7960
  return;
7961
7961
  const { name: j, rank: ae } = ht(
@@ -7969,7 +7969,7 @@ const j7 = {
7969
7969
  templateId: a.templateId,
7970
7970
  item: { name: j, rank: ae, milestoneId: F }
7971
7971
  });
7972
- }, W = (M) => {
7972
+ }, W = (A) => {
7973
7973
  var F, j;
7974
7974
  e("removeItem", {
7975
7975
  type: he.ACTIVITIES,
@@ -7977,11 +7977,11 @@ const j7 = {
7977
7977
  phaseId: (F = i.value) == null ? void 0 : F.id,
7978
7978
  milestoneId: (j = l.value) == null ? void 0 : j.id,
7979
7979
  data: {
7980
- id: M.id
7980
+ id: A.id
7981
7981
  }
7982
7982
  });
7983
- }, V = (M) => {
7984
- const { id: F, ...j } = M;
7983
+ }, V = (A) => {
7984
+ const { id: F, ...j } = A;
7985
7985
  e("updateItem", {
7986
7986
  itemType: he.ACTIVITIES,
7987
7987
  id: F,
@@ -7992,57 +7992,57 @@ const j7 = {
7992
7992
  x.value = !x.value;
7993
7993
  }, I = () => {
7994
7994
  e("addRule", { templateId: a.templateId });
7995
- }, J = (M) => {
7996
- e("removeRule", { id: M, templateId: a.templateId });
7997
- }, g = (M) => {
7995
+ }, J = (A) => {
7996
+ e("removeRule", { id: A, templateId: a.templateId });
7997
+ }, g = (A) => {
7998
7998
  var F;
7999
- if (M.moved) {
8000
- const j = Rt(M, ((F = s.value) == null ? void 0 : F.phases) ?? []);
7999
+ if (A.moved) {
8000
+ const j = Rt(A, ((F = s.value) == null ? void 0 : F.phases) ?? []);
8001
8001
  e("updateItem", {
8002
8002
  itemType: he.PHASES,
8003
- id: M.moved.element.id,
8003
+ id: A.moved.element.id,
8004
8004
  templateId: a.templateId,
8005
8005
  data: {
8006
8006
  rank: j
8007
8007
  }
8008
8008
  });
8009
8009
  }
8010
- }, S = (M) => {
8010
+ }, S = (A) => {
8011
8011
  !i.value || !l.value || !c.value || e("addItem", {
8012
8012
  type: he.TASKS,
8013
- activityId: M.activityId,
8013
+ activityId: A.activityId,
8014
8014
  milestoneId: l.value.id,
8015
8015
  phaseId: i.value.id,
8016
8016
  templateId: a.templateId,
8017
- item: M
8017
+ item: A
8018
8018
  });
8019
- }, P = (M) => {
8019
+ }, P = (A) => {
8020
8020
  !i.value || !l.value || !c.value || e("updateItem", {
8021
8021
  itemType: he.TASKS,
8022
- id: M.id,
8022
+ id: A.id,
8023
8023
  templateId: a.templateId,
8024
- data: M
8024
+ data: A
8025
8025
  });
8026
- }, ce = (M) => {
8026
+ }, ce = (A) => {
8027
8027
  !i.value || !l.value || !c.value || e("removeItem", {
8028
8028
  type: he.TASKS,
8029
8029
  activityId: c.value.id,
8030
8030
  milestoneId: l.value.id,
8031
8031
  phaseId: i.value.id,
8032
8032
  templateId: a.templateId,
8033
- data: M
8033
+ data: A
8034
8034
  });
8035
- }, se = (M) => {
8036
- e("addFiles", M);
8037
- }, re = (M) => {
8038
- e("removeFile", M);
8035
+ }, se = (A) => {
8036
+ e("addFiles", A);
8037
+ }, re = (A) => {
8038
+ e("removeFile", A);
8039
8039
  };
8040
- return (M, F) => {
8040
+ return (A, F) => {
8041
8041
  var j, ae, oe, $, Y, ie;
8042
8042
  return s.value ? (f(), h("div", j7, [
8043
8043
  E(d1, {
8044
8044
  "can-go-back": !0,
8045
- onGoBack: F[1] || (F[1] = (H) => M.$router.push({ name: z(ft).TEMPLATES_LIST }))
8045
+ onGoBack: F[1] || (F[1] = (H) => A.$router.push({ name: z(ft).TEMPLATES_LIST }))
8046
8046
  }, {
8047
8047
  primary: U(() => [
8048
8048
  E(Ce, {
@@ -8059,7 +8059,7 @@ const j7 = {
8059
8059
  v("div", Z7, [
8060
8060
  v("ol", F7, [
8061
8061
  v("li", q7, [
8062
- E(z(Qe), {
8062
+ E(z(Je), {
8063
8063
  "model-value": s.value.phases,
8064
8064
  class: "ao-templates__list",
8065
8065
  "item-key": "id",
@@ -8068,7 +8068,7 @@ const j7 = {
8068
8068
  }, {
8069
8069
  header: U(() => [
8070
8070
  E(Ce, {
8071
- title: M.$t("template.phases.title"),
8071
+ title: A.$t("template.phases.title"),
8072
8072
  level: 3,
8073
8073
  class: "ao-list__title"
8074
8074
  }, null, 8, ["title"])
@@ -8082,11 +8082,11 @@ const j7 = {
8082
8082
  milestones: H.milestones,
8083
8083
  "is-active": ((O = i.value) == null ? void 0 : O.id) === H.id,
8084
8084
  "is-draggable": !0,
8085
- onClick: (R) => M.$router.push({
8086
- params: { templateId: M.templateId, phaseId: H.id }
8085
+ onClick: (R) => A.$router.push({
8086
+ params: { templateId: A.templateId, phaseId: H.id }
8087
8087
  }),
8088
8088
  "onUpdate:title": (R) => {
8089
- A(H.id, R);
8089
+ M(H.id, R);
8090
8090
  },
8091
8091
  onRemove: () => w(H.id)
8092
8092
  }, null, 8, ["id", "name", "milestones", "is-active", "onClick", "onUpdate:title", "onRemove"])
@@ -8094,9 +8094,9 @@ const j7 = {
8094
8094
  }),
8095
8095
  footer: U(() => [
8096
8096
  v("div", z7, [
8097
- E(Je, {
8097
+ E(et, {
8098
8098
  "icon-name": "AddBoxOutlineRounded",
8099
- label: M.$t("template.phases.add"),
8099
+ label: A.$t("template.phases.add"),
8100
8100
  onClick: p
8101
8101
  }, null, 8, ["label"])
8102
8102
  ])
@@ -8107,7 +8107,7 @@ const j7 = {
8107
8107
  v("li", W7, [
8108
8108
  i.value ? (f(), N(G0, {
8109
8109
  key: 0,
8110
- "template-id": M.templateId,
8110
+ "template-id": A.templateId,
8111
8111
  phase: i.value,
8112
8112
  "milestone-id": (j = l.value) == null ? void 0 : j.id,
8113
8113
  onAddMilestone: k,
@@ -8119,7 +8119,7 @@ const j7 = {
8119
8119
  v("li", Y7, [
8120
8120
  i.value && l.value ? (f(), N(Q0, {
8121
8121
  key: 0,
8122
- "template-id": M.templateId,
8122
+ "template-id": A.templateId,
8123
8123
  "phase-id": (ae = i.value) == null ? void 0 : ae.id,
8124
8124
  milestone: l.value,
8125
8125
  "activity-id": (oe = c.value) == null ? void 0 : oe.id,
@@ -8134,18 +8134,18 @@ const j7 = {
8134
8134
  c.value ? (f(), N(U1, {
8135
8135
  key: 0,
8136
8136
  activity: c.value,
8137
- "activity-types": M.activityTypes,
8137
+ "activity-types": A.activityTypes,
8138
8138
  breadcrumbs: `${s.value.name} / ${($ = i.value) == null ? void 0 : $.name} / ${(Y = l.value) == null ? void 0 : Y.name}`,
8139
8139
  "milestone-id": (ie = l.value) == null ? void 0 : ie.id,
8140
8140
  "template-activities": r.value,
8141
8141
  "template-milestones": d.value,
8142
8142
  "is-template": !0,
8143
8143
  "is-editable": !0,
8144
- users: M.users,
8144
+ users: A.users,
8145
8145
  "onUpdate:activity": F[2] || (F[2] = (H) => {
8146
8146
  c.value && V(H);
8147
8147
  }),
8148
- onClose: M.$router.back,
8148
+ onClose: A.$router.back,
8149
8149
  onAddSubtask: S,
8150
8150
  onUpdateSubtask: P,
8151
8151
  onDeleteSubtask: ce,
@@ -8153,7 +8153,7 @@ const j7 = {
8153
8153
  onRemoveFile: re
8154
8154
  }, {
8155
8155
  default: U((H) => [
8156
- X(M.$slots, "activityDetailsBody", Ht(Pt(H)))
8156
+ X(A.$slots, "activityDetailsBody", Ht(Pt(H)))
8157
8157
  ]),
8158
8158
  _: 3
8159
8159
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : T("", !0)
@@ -8188,7 +8188,7 @@ const G7 = {
8188
8188
  tagName: { default: "div" }
8189
8189
  },
8190
8190
  setup(t) {
8191
- return (e, a) => (f(), N(xe(e.tagName), {
8191
+ return (e, a) => (f(), N(Qe(e.tagName), {
8192
8192
  class: G(["ao-card", { "ao-card--clickable": e.isClickable }])
8193
8193
  }, {
8194
8194
  default: U(() => [
@@ -8442,7 +8442,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
8442
8442
  ]),
8443
8443
  v("div", m9, [
8444
8444
  v("div", C9, [
8445
- E(z(Qe), Ee({
8445
+ E(z(Je), Ee({
8446
8446
  class: "ao-project-phase__milestones-list",
8447
8447
  list: o.value,
8448
8448
  disabled: !u.isEditable,
@@ -8469,7 +8469,7 @@ const v9 = { class: "ao-project-phase" }, p9 = {
8469
8469
  _: 1
8470
8470
  }, 16, ["list", "disabled"]),
8471
8471
  v("div", _9, [
8472
- u.isEditable ? (f(), N(Je, {
8472
+ u.isEditable ? (f(), N(et, {
8473
8473
  key: 0,
8474
8474
  label: u.$t("project.milestone.add"),
8475
8475
  class: "ao-project-phase__milestone-add",
@@ -8520,7 +8520,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
8520
8520
  e("addPhase", c);
8521
8521
  };
8522
8522
  return (c, u) => (f(), h("div", y9, [
8523
- E(z(Qe), {
8523
+ E(z(Je), {
8524
8524
  class: "ao-project-phase__phases-list",
8525
8525
  "model-value": c.phases,
8526
8526
  "item-key": "id",
@@ -8544,7 +8544,7 @@ const y9 = { class: "ao-project__phases" }, b9 = {
8544
8544
  c.isEditable ? (f(), h("div", b9, [
8545
8545
  w9,
8546
8546
  v("div", $9, [
8547
- E(Je, {
8547
+ E(et, {
8548
8548
  label: c.$t("project.phases.add"),
8549
8549
  "icon-name": "Add",
8550
8550
  class: "ao-project-phase__add-phase",
@@ -8701,7 +8701,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
8701
8701
  e("archiveActivity", I);
8702
8702
  }, w = (I) => {
8703
8703
  e("addSubtask", I);
8704
- }, A = (I) => {
8704
+ }, M = (I) => {
8705
8705
  e("updateSubtask", I);
8706
8706
  }, _ = (I) => {
8707
8707
  e("deleteSubtask", I);
@@ -8796,7 +8796,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
8796
8796
  "is-editable": I.isEditable,
8797
8797
  "onUpdate:activity": p,
8798
8798
  onAddSubtask: w,
8799
- onUpdateSubtask: A,
8799
+ onUpdateSubtask: M,
8800
8800
  onDeleteSubtask: _,
8801
8801
  onAddFiles: y,
8802
8802
  onRemoveFile: L,
@@ -8805,7 +8805,7 @@ const Ra = /* @__PURE__ */ B(O9, [["render", V9], ["__scopeId", "data-v-5637c519
8805
8805
  onRemoveComment: V
8806
8806
  }, {
8807
8807
  default: U(({ Component: S }) => [
8808
- (f(), N(xe(S), null, {
8808
+ (f(), N(Qe(S), null, {
8809
8809
  default: U((P) => [
8810
8810
  X(I.$slots, "activityDetailsBody", Ht(Pt(P)))
8811
8811
  ]),
@@ -8947,7 +8947,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8947
8947
  key: w.id
8948
8948
  }, [
8949
8949
  w ? (f(), h("li", W9, [
8950
- E(gt, {
8950
+ E(yt, {
8951
8951
  "user-name": l(w),
8952
8952
  "avatar-url": w.avatarUrl,
8953
8953
  "is-closable": !0,
@@ -8994,7 +8994,7 @@ const B9 = { class: "ao-card-feed__header" }, N9 = {
8994
8994
  }));
8995
8995
  }
8996
8996
  });
8997
- const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-milestone__header" }, n4 = { class: "ao-project-milestone__title" }, i4 = { key: 0 }, o4 = { class: "ao-project-milestone__body" }, l4 = {
8997
+ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-milestone__header" }, n4 = { class: "ao-project-milestone__header_line" }, i4 = { class: "ao-project-milestone__title" }, o4 = { key: 0 }, l4 = { class: "ao-field" }, r4 = { class: "ao-field__label" }, u4 = { class: "ao-project-milestone__body" }, d4 = {
8998
8998
  key: 0,
8999
8999
  class: "ao-project-milestone__footer"
9000
9000
  }, da = /* @__PURE__ */ K({
@@ -9051,50 +9051,68 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9051
9051
  return f(), h("div", a4, [
9052
9052
  v("header", s4, [
9053
9053
  v("div", n4, [
9054
- v("span", null, q(p.$t("project.milestone.title")), 1),
9055
- E(Ce, {
9056
- title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
9057
- level: 5
9058
- }, null, 8, ["title"])
9054
+ v("div", i4, [
9055
+ v("span", null, q(p.$t("project.milestone.title")), 1),
9056
+ E(Ce, {
9057
+ title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
9058
+ level: 5
9059
+ }, null, 8, ["title"])
9060
+ ]),
9061
+ E(de, {
9062
+ "icon-name": "CloseRounded",
9063
+ variant: "ghost",
9064
+ onClick: d
9065
+ })
9059
9066
  ]),
9060
- E(de, {
9061
- "icon-name": "CloseRounded",
9062
- variant: "ghost",
9063
- onClick: d
9064
- }),
9065
- i.value ? (f(), h("div", i4, q(i.value.deadline), 1)) : T("", !0)
9067
+ i.value ? (f(), h("div", o4, [
9068
+ v("label", l4, [
9069
+ v("span", r4, q(p.$t("activity.deadline.label")), 1),
9070
+ Ye(v("input", {
9071
+ "onUpdate:modelValue": m[0] || (m[0] = (M) => i.value.deadline = M),
9072
+ class: "ao-field__input",
9073
+ type: "date"
9074
+ }, null, 512), [
9075
+ [
9076
+ mt,
9077
+ i.value.deadline,
9078
+ void 0,
9079
+ { lazy: !0 }
9080
+ ]
9081
+ ])
9082
+ ])
9083
+ ])) : T("", !0)
9066
9084
  ]),
9067
- v("div", o4, [
9068
- E(z(Qe), Ee({
9085
+ v("div", u4, [
9086
+ E(z(Je), Ee({
9069
9087
  class: "ao-project-milestone__activities",
9070
9088
  list: l.value,
9071
9089
  disabled: !p.isEditable,
9072
9090
  "item-key": "id",
9073
9091
  group: "kanban"
9074
9092
  }, p.$attrs, { onChange: u }), {
9075
- item: U(({ element: A }) => {
9093
+ item: U(({ element: M }) => {
9076
9094
  var _, k, y, L;
9077
9095
  return [
9078
9096
  E(Ua, {
9079
- id: A.id,
9080
- name: A.name || A.id,
9097
+ id: M.id,
9098
+ name: M.name || M.id,
9081
9099
  "phase-name": (_ = s.value) == null ? void 0 : _.name,
9082
9100
  "milestone-name": (k = i.value) == null ? void 0 : k.name,
9083
- deadline: A.deadline,
9084
- important: A.important,
9101
+ deadline: M.deadline,
9102
+ important: M.important,
9085
9103
  users: p.users,
9086
- assignee: A.assignee,
9087
- comments: (y = A.comments) == null ? void 0 : y.length,
9088
- attachments: (L = A.attachments) == null ? void 0 : L.length,
9089
- tasks: A.tasks,
9104
+ assignee: M.assignee,
9105
+ comments: (y = M.comments) == null ? void 0 : y.length,
9106
+ attachments: (L = M.attachments) == null ? void 0 : L.length,
9107
+ tasks: M.tasks,
9090
9108
  "is-editable": p.isEditable,
9091
- "is-private": A.private,
9109
+ "is-private": M.private,
9092
9110
  onClick: (Z) => p.$router.push({
9093
9111
  name: z(He).activity,
9094
- params: { milestoneId: p.milestoneId, activityId: A.id }
9112
+ params: { milestoneId: p.milestoneId, activityId: M.id }
9095
9113
  }),
9096
9114
  onUpdateActivity: c,
9097
- onRemoveAssignee: () => c({ id: A.id, assigneeId: null })
9115
+ onRemoveAssignee: () => c({ id: M.id, assigneeId: null })
9098
9116
  }, s1({ _: 2 }, [
9099
9117
  p.isEditable ? {
9100
9118
  name: "secondary",
@@ -9107,7 +9125,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9107
9125
  "icon-position": "start",
9108
9126
  corners: "round",
9109
9127
  label: p.$t("archive"),
9110
- onClick: _e(() => p.$emit("archiveActivity", { id: A.id }), ["stop"])
9128
+ onClick: _e(() => p.$emit("archiveActivity", { id: M.id }), ["stop"])
9111
9129
  }, null, 8, ["label", "onClick"])
9112
9130
  ]),
9113
9131
  key: "0"
@@ -9117,8 +9135,8 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9117
9135
  }),
9118
9136
  _: 1
9119
9137
  }, 16, ["list", "disabled"]),
9120
- p.isEditable ? (f(), h("div", l4, [
9121
- E(Je, {
9138
+ p.isEditable ? (f(), h("div", d4, [
9139
+ E(et, {
9122
9140
  "icon-name": "Add",
9123
9141
  label: p.$t("project.activity.add"),
9124
9142
  onClick: r
@@ -9129,7 +9147,7 @@ const a4 = { class: "ao-project-milestone" }, s4 = { class: "ao-project-mileston
9129
9147
  };
9130
9148
  }
9131
9149
  });
9132
- const r4 = /* @__PURE__ */ K({
9150
+ const c4 = /* @__PURE__ */ K({
9133
9151
  __name: "AoProjectOverviewActivityDetails",
9134
9152
  props: {
9135
9153
  phaseId: {},
@@ -9177,7 +9195,7 @@ const r4 = /* @__PURE__ */ K({
9177
9195
  e("addComment", _);
9178
9196
  }, w = (_) => {
9179
9197
  e("updateComment", _);
9180
- }, A = (_) => {
9198
+ }, M = (_) => {
9181
9199
  e("removeComment", _);
9182
9200
  };
9183
9201
  return (_, k) => {
@@ -9204,7 +9222,7 @@ const r4 = /* @__PURE__ */ K({
9204
9222
  onRemoveFile: p,
9205
9223
  onAddComment: m,
9206
9224
  onUpdateComment: w,
9207
- onRemoveComment: A
9225
+ onRemoveComment: M
9208
9226
  }, {
9209
9227
  default: U((Z) => [
9210
9228
  X(_.$slots, "default", Ht(Pt(Z)))
@@ -9213,14 +9231,14 @@ const r4 = /* @__PURE__ */ K({
9213
9231
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : T("", !0);
9214
9232
  };
9215
9233
  }
9216
- }), u4 = { class: "ao-col-header" }, d4 = /* @__PURE__ */ K({
9234
+ }), f4 = { class: "ao-col-header" }, v4 = /* @__PURE__ */ K({
9217
9235
  __name: "AoColHeader",
9218
9236
  props: {
9219
9237
  title: {},
9220
9238
  items: {}
9221
9239
  },
9222
9240
  setup(t) {
9223
- return (e, a) => (f(), h("header", u4, [
9241
+ return (e, a) => (f(), h("header", f4, [
9224
9242
  E(Ce, {
9225
9243
  title: e.title,
9226
9244
  class: "ao-col-header__title",
@@ -9236,15 +9254,15 @@ const r4 = /* @__PURE__ */ K({
9236
9254
  ]));
9237
9255
  }
9238
9256
  });
9239
- function c4(t) {
9257
+ function p4(t) {
9240
9258
  return ms() ? (Cs(t), !0) : !1;
9241
9259
  }
9242
9260
  function t1(t) {
9243
9261
  return typeof t == "function" ? t() : z(t);
9244
9262
  }
9245
- const f4 = typeof window < "u", v4 = (t) => t != null, St = () => {
9263
+ const h4 = typeof window < "u", m4 = (t) => t != null, Et = () => {
9246
9264
  };
9247
- function p4(t, e) {
9265
+ function C4(t, e) {
9248
9266
  function a(...n) {
9249
9267
  return new Promise((s, o) => {
9250
9268
  Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
@@ -9252,10 +9270,10 @@ function p4(t, e) {
9252
9270
  }
9253
9271
  return a;
9254
9272
  }
9255
- function h4(t, e = {}) {
9256
- let a, n, s = St;
9273
+ function _4(t, e = {}) {
9274
+ let a, n, s = Et;
9257
9275
  const o = (l) => {
9258
- clearTimeout(l), s(), s = St;
9276
+ clearTimeout(l), s(), s = Et;
9259
9277
  };
9260
9278
  return (l) => {
9261
9279
  const d = t1(t), r = t1(e.maxWait);
@@ -9268,9 +9286,9 @@ function h4(t, e = {}) {
9268
9286
  });
9269
9287
  };
9270
9288
  }
9271
- function m4(t, e = 200, a = {}) {
9272
- return p4(
9273
- h4(e, a),
9289
+ function g4(t, e = 200, a = {}) {
9290
+ return C4(
9291
+ _4(e, a),
9274
9292
  t
9275
9293
  );
9276
9294
  }
@@ -9279,51 +9297,51 @@ function A1(t) {
9279
9297
  const a = t1(t);
9280
9298
  return (e = a == null ? void 0 : a.$el) != null ? e : a;
9281
9299
  }
9282
- const C4 = f4 ? window : void 0;
9283
- function _4() {
9300
+ const y4 = h4 ? window : void 0;
9301
+ function b4() {
9284
9302
  const t = Q(!1);
9285
9303
  return st() && Dt(() => {
9286
9304
  t.value = !0;
9287
9305
  }), t;
9288
9306
  }
9289
- function g4(t) {
9290
- const e = _4();
9307
+ function w4(t) {
9308
+ const e = b4();
9291
9309
  return b(() => (e.value, !!t()));
9292
9310
  }
9293
- function y4(t, e, a = {}) {
9311
+ function $4(t, e, a = {}) {
9294
9312
  const {
9295
9313
  root: n,
9296
9314
  rootMargin: s = "0px",
9297
9315
  threshold: o = 0.1,
9298
- window: i = C4,
9316
+ window: i = y4,
9299
9317
  immediate: l = !0
9300
- } = a, d = g4(() => i && "IntersectionObserver" in i), r = b(() => {
9318
+ } = a, d = w4(() => i && "IntersectionObserver" in i), r = b(() => {
9301
9319
  const w = t1(t);
9302
- return (Array.isArray(w) ? w : [w]).map(A1).filter(v4);
9320
+ return (Array.isArray(w) ? w : [w]).map(A1).filter(m4);
9303
9321
  });
9304
- let c = St;
9322
+ let c = Et;
9305
9323
  const u = Q(l), p = d.value ? ue(
9306
9324
  () => [r.value, A1(n), u.value],
9307
- ([w, A]) => {
9325
+ ([w, M]) => {
9308
9326
  if (c(), !u.value || !w.length)
9309
9327
  return;
9310
9328
  const _ = new IntersectionObserver(
9311
9329
  e,
9312
9330
  {
9313
- root: A1(A),
9331
+ root: A1(M),
9314
9332
  rootMargin: s,
9315
9333
  threshold: o
9316
9334
  }
9317
9335
  );
9318
9336
  w.forEach((k) => k && _.observe(k)), c = () => {
9319
- _.disconnect(), c = St;
9337
+ _.disconnect(), c = Et;
9320
9338
  };
9321
9339
  },
9322
9340
  { immediate: l, flush: "post" }
9323
- ) : St, m = () => {
9341
+ ) : Et, m = () => {
9324
9342
  c(), p(), u.value = !1;
9325
9343
  };
9326
- return c4(m), {
9344
+ return p4(m), {
9327
9345
  isSupported: d,
9328
9346
  isActive: u,
9329
9347
  pause() {
@@ -9335,24 +9353,24 @@ function y4(t, e, a = {}) {
9335
9353
  stop: m
9336
9354
  };
9337
9355
  }
9338
- const b4 = {
9356
+ const k4 = {
9339
9357
  class: /* @__PURE__ */ G(["ao-list-kanban"])
9340
- }, w4 = { class: "ao-list-kanban__header" }, $4 = {
9358
+ }, M4 = { class: "ao-list-kanban__header" }, A4 = {
9341
9359
  key: 0,
9342
9360
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
9343
- }, k4 = {
9361
+ }, T4 = {
9344
9362
  key: 1,
9345
9363
  class: "ao-list-kanban__end"
9346
- }, M4 = {
9364
+ }, S4 = {
9347
9365
  key: 0,
9348
9366
  class: "ao-list-kanban__no-more"
9349
- }, A4 = {
9367
+ }, E4 = {
9350
9368
  key: 1,
9351
9369
  class: "ao-list-kanban__divider"
9352
- }, T4 = {
9370
+ }, I4 = {
9353
9371
  key: 1,
9354
9372
  class: "ao-list-kanban__footer"
9355
- }, S4 = /* @__PURE__ */ K({
9373
+ }, O4 = /* @__PURE__ */ K({
9356
9374
  __name: "AoListKanban",
9357
9375
  props: {
9358
9376
  list: {},
@@ -9368,7 +9386,7 @@ const b4 = {
9368
9386
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
9369
9387
  setup(t, { emit: e }) {
9370
9388
  const a = t, n = Q(!1), s = Q(null);
9371
- y4(s, ([{ isIntersecting: r }]) => {
9389
+ $4(s, ([{ isIntersecting: r }]) => {
9372
9390
  n.value = r;
9373
9391
  }), ue(n, (r) => {
9374
9392
  r && a.hasMore && !a.isLoading && e("loadMore");
@@ -9390,12 +9408,12 @@ const b4 = {
9390
9408
  )
9391
9409
  });
9392
9410
  }, d = Q(!1);
9393
- return (r, c) => (f(), h("div", b4, [
9411
+ return (r, c) => (f(), h("div", k4, [
9394
9412
  r.title || r.$slots.header ? X(r.$slots, "header", { key: 0 }, () => {
9395
9413
  var u;
9396
9414
  return [
9397
- v("div", w4, [
9398
- r.title ? (f(), N(d4, {
9415
+ v("div", M4, [
9416
+ r.title ? (f(), N(v4, {
9399
9417
  key: 0,
9400
9418
  title: r.title,
9401
9419
  level: 3,
@@ -9404,7 +9422,7 @@ const b4 = {
9404
9422
  ])
9405
9423
  ];
9406
9424
  }) : T("", !0),
9407
- E(z(Qe), Ee({
9425
+ E(z(Je), Ee({
9408
9426
  class: ["ao-list-kanban__list", d.value ? "ao-list-kanban__transition" : void 0],
9409
9427
  list: r.list,
9410
9428
  "item-key": "id",
@@ -9422,14 +9440,14 @@ const b4 = {
9422
9440
  }
9423
9441
  }), {
9424
9442
  item: U(({ element: u }) => {
9425
- var p, m, w, A, _, k, y, L;
9443
+ var p, m, w, M, _, k, y, L;
9426
9444
  return [
9427
9445
  E(Ua, {
9428
9446
  id: u.id,
9429
9447
  name: u.name,
9430
9448
  "project-name": (p = u.project) == null ? void 0 : p.name,
9431
9449
  "project-color": (m = u.project) == null ? void 0 : m.color,
9432
- "phase-name": (A = (w = u.milestone) == null ? void 0 : w.phase) == null ? void 0 : A.name,
9450
+ "phase-name": (M = (w = u.milestone) == null ? void 0 : w.phase) == null ? void 0 : M.name,
9433
9451
  "milestone-name": (_ = u.milestone) == null ? void 0 : _.name,
9434
9452
  deadline: u.deadline,
9435
9453
  rules: ((k = u.rules) == null ? void 0 : k.length) || 0,
@@ -9468,22 +9486,22 @@ const b4 = {
9468
9486
  ];
9469
9487
  }),
9470
9488
  footer: U(() => [
9471
- r.isLoading ? (f(), h("div", $4, [
9489
+ r.isLoading ? (f(), h("div", A4, [
9472
9490
  E(fe, { name: "Loading" })
9473
9491
  ])) : r.hasMore ? (f(), h("div", {
9474
9492
  key: 2,
9475
9493
  ref_key: "scrollEnd",
9476
9494
  ref: s,
9477
9495
  class: "ao-list-kanban__end"
9478
- }, null, 512)) : (f(), h("div", k4, [
9479
- r.noMoreLabel ? (f(), h("span", M4, q(r.noMoreLabel), 1)) : r.isEditable ? (f(), h("span", A4)) : T("", !0)
9496
+ }, null, 512)) : (f(), h("div", T4, [
9497
+ r.noMoreLabel ? (f(), h("span", S4, q(r.noMoreLabel), 1)) : r.isEditable ? (f(), h("span", E4)) : T("", !0)
9480
9498
  ]))
9481
9499
  ]),
9482
9500
  _: 1
9483
9501
  }, 16, ["class", "list", "disabled"]),
9484
- r.$slots.footer || r.footerLabel ? (f(), h("div", T4, [
9502
+ r.$slots.footer || r.footerLabel ? (f(), h("div", I4, [
9485
9503
  X(r.$slots, "footer", {}, () => [
9486
- r.isEditable ? (f(), N(Je, {
9504
+ r.isEditable ? (f(), N(et, {
9487
9505
  key: 0,
9488
9506
  "icon-name": "AddBoxOutlineRounded",
9489
9507
  label: r.footerLabel,
@@ -9494,7 +9512,7 @@ const b4 = {
9494
9512
  ]));
9495
9513
  }
9496
9514
  });
9497
- const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder", "onKeypress"], O4 = /* @__PURE__ */ K({
9515
+ const L4 = { class: "ao-field ao-search-field" }, V4 = ["value", "placeholder", "onKeypress"], D4 = /* @__PURE__ */ K({
9498
9516
  __name: "AoSearchField",
9499
9517
  props: {
9500
9518
  modelValue: {},
@@ -9506,10 +9524,10 @@ const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder",
9506
9524
  const a = t, n = async (i) => {
9507
9525
  const d = i.target.value;
9508
9526
  e("update:modelValue", d, i);
9509
- }, s = m4(n, a.delay), o = (i) => {
9527
+ }, s = g4(n, a.delay), o = (i) => {
9510
9528
  e("clear", i);
9511
9529
  };
9512
- return (i, l) => (f(), h("div", E4, [
9530
+ return (i, l) => (f(), h("div", L4, [
9513
9531
  v("input", {
9514
9532
  value: i.modelValue,
9515
9533
  type: "text",
@@ -9517,8 +9535,8 @@ const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder",
9517
9535
  placeholder: i.placeholder,
9518
9536
  onInput: l[0] || (l[0] = //@ts-ignore
9519
9537
  (...d) => z(s) && z(s)(...d)),
9520
- onKeypress: Ye(n, ["enter"])
9521
- }, null, 40, I4),
9538
+ onKeypress: Ke(n, ["enter"])
9539
+ }, null, 40, V4),
9522
9540
  E(fe, {
9523
9541
  name: "SearchRounded",
9524
9542
  class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
@@ -9534,7 +9552,7 @@ const E4 = { class: "ao-field ao-search-field" }, I4 = ["value", "placeholder",
9534
9552
  ]));
9535
9553
  }
9536
9554
  });
9537
- function L4(t) {
9555
+ function H4(t) {
9538
9556
  const e = Q(), a = b(
9539
9557
  () => t.value.find(
9540
9558
  (s) => s.id === e.value
@@ -9548,21 +9566,21 @@ function L4(t) {
9548
9566
  }
9549
9567
  };
9550
9568
  }
9551
- const V4 = Symbol.for("FeedStore");
9552
- function D4(t) {
9553
- const e = L4(t);
9554
- return _s(V4, e), e;
9569
+ const P4 = Symbol.for("FeedStore");
9570
+ function B4(t) {
9571
+ const e = H4(t);
9572
+ return _s(P4, e), e;
9555
9573
  }
9556
- const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { class: "ao-feed__body" }, N4 = { class: "ao-feed__activity-details__header" }, R4 = {
9574
+ const N4 = { class: "ao-feed" }, R4 = { class: "ao-feed__filters" }, U4 = { class: "ao-feed__body" }, j4 = { class: "ao-feed__activity-details__header" }, Z4 = {
9557
9575
  key: 0,
9558
9576
  class: "ao-field ao-feed__activity-details__project"
9559
- }, U4 = { class: "ao-field__label" }, j4 = {
9577
+ }, F4 = { class: "ao-field__label" }, q4 = {
9560
9578
  key: 1,
9561
9579
  class: "ao-field ao-feed__activity-details__project"
9562
- }, Z4 = { class: "ao-field__label" }, F4 = {
9580
+ }, z4 = { class: "ao-field__label" }, W4 = {
9563
9581
  key: 2,
9564
9582
  class: "ao-field ao-feed__activity-details__status"
9565
- }, q4 = { class: "ao-field__label" }, z4 = { class: "ao-field__row" }, W4 = { class: "ao-field" }, Y4 = { class: "ao-field__label" }, K4 = /* @__PURE__ */ K({
9583
+ }, Y4 = { class: "ao-field__label" }, K4 = { class: "ao-field__row" }, G4 = { class: "ao-field" }, X4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ K({
9566
9584
  __name: "AoFeed",
9567
9585
  props: {
9568
9586
  activities: {},
@@ -9582,7 +9600,7 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9582
9600
  },
9583
9601
  emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "update:showsOnlyImportant", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
9584
9602
  setup(t, { emit: e }) {
9585
- const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } = D4(s), l = async ($) => {
9603
+ const a = t, { t: n } = nt(), s = vt(a, "activities"), { selectActivity: o, selectedActivity: i } = B4(s), l = async ($) => {
9586
9604
  o($), await e("selectActivity", $);
9587
9605
  }, d = Q({}), r = Q(!1), c = Q(!1);
9588
9606
  ue(
@@ -9616,7 +9634,7 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9616
9634
  c.value = !1, e("update:filters", { ...a.filters, [$]: Y });
9617
9635
  }, w = b(
9618
9636
  () => a.project ? [a.project] : a.projects ?? []
9619
- ), A = b(() => w.value.map(($) => ({
9637
+ ), M = b(() => w.value.map(($) => ({
9620
9638
  value: $.id,
9621
9639
  label: $.name
9622
9640
  }))), _ = b(() => {
@@ -9674,7 +9692,7 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9674
9692
  }, re = b(() => w.value.map(($) => ({
9675
9693
  value: $.id,
9676
9694
  label: $.name
9677
- }))), M = b(() => {
9695
+ }))), A = b(() => {
9678
9696
  var Y, ie, H;
9679
9697
  const $ = (H = (ie = (Y = i.value) == null ? void 0 : Y.project) == null ? void 0 : ie.phases) == null ? void 0 : H.reduce(
9680
9698
  (O, R) => [...O, ...R.milestones],
@@ -9708,10 +9726,10 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9708
9726
  };
9709
9727
  return ($, Y) => {
9710
9728
  var ie;
9711
- return f(), h("div", H4, [
9729
+ return f(), h("div", N4, [
9712
9730
  E(d1, null, {
9713
9731
  primary: U(() => [
9714
- v("div", P4, [
9732
+ v("div", R4, [
9715
9733
  a.project ? (f(), N(Ra, {
9716
9734
  key: 0,
9717
9735
  "is-left": !1,
@@ -9721,7 +9739,7 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9721
9739
  H && $.$router.push({ name: z(He).project });
9722
9740
  })
9723
9741
  }, null, 8, ["right-label", "left-label"])) : T("", !0),
9724
- E(O4, {
9742
+ E(D4, {
9725
9743
  "model-value": $.searchText,
9726
9744
  placeholder: $.$t("feed.search.placeholder"),
9727
9745
  class: "ao-feed__search",
@@ -9732,7 +9750,7 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9732
9750
  key: 1,
9733
9751
  "model-value": $.filters[z(dt).project],
9734
9752
  mode: "tags",
9735
- options: A.value,
9753
+ options: M.value,
9736
9754
  "close-on-select": !1,
9737
9755
  searchable: !0,
9738
9756
  class: "ao-feed__filter ao-feed__filter__projects",
@@ -9764,7 +9782,7 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9764
9782
  option: H,
9765
9783
  handleTagRemove: O
9766
9784
  }) => [
9767
- E(gt, {
9785
+ E(yt, {
9768
9786
  "user-name": H.label,
9769
9787
  "avatar-url": H.avatar,
9770
9788
  "is-closable": !0,
@@ -9801,8 +9819,8 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9801
9819
  ]),
9802
9820
  _: 1
9803
9821
  }),
9804
- v("div", B4, [
9805
- (f(!0), h(ve, null, ye($.statuses, (H) => (f(), N(S4, {
9822
+ v("div", U4, [
9823
+ (f(!0), h(ve, null, ye($.statuses, (H) => (f(), N(O4, {
9806
9824
  key: H.id,
9807
9825
  status: H,
9808
9826
  list: d.value[H.id],
@@ -9843,9 +9861,9 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9843
9861
  header: U(() => {
9844
9862
  var H, O, R;
9845
9863
  return [
9846
- v("div", N4, [
9847
- re.value && !a.project ? (f(), h("label", R4, [
9848
- v("span", U4, q($.$t("activity.project.label")), 1),
9864
+ v("div", j4, [
9865
+ re.value && !a.project ? (f(), h("label", Z4, [
9866
+ v("span", F4, q($.$t("activity.project.label")), 1),
9849
9867
  E(be, {
9850
9868
  options: re.value,
9851
9869
  value: (H = z(i).project) == null ? void 0 : H.id,
@@ -9855,10 +9873,10 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9855
9873
  onChange: F
9856
9874
  }, null, 8, ["options", "value", "disabled", "caret"])
9857
9875
  ])) : T("", !0),
9858
- M.value ? (f(), h("label", j4, [
9859
- v("span", Z4, q($.$t("activity.milestone.label")), 1),
9876
+ A.value ? (f(), h("label", q4, [
9877
+ v("span", z4, q($.$t("activity.milestone.label")), 1),
9860
9878
  E(be, {
9861
- options: M.value,
9879
+ options: A.value,
9862
9880
  value: (O = z(i).milestone) == null ? void 0 : O.id,
9863
9881
  searchable: !0,
9864
9882
  disabled: !$.isEditable,
@@ -9866,8 +9884,8 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9866
9884
  onChange: j
9867
9885
  }, null, 8, ["options", "value", "disabled", "caret"])
9868
9886
  ])) : T("", !0),
9869
- ae.value ? (f(), h("label", F4, [
9870
- v("span", q4, q($.$t("activity.status.label")), 1),
9887
+ ae.value ? (f(), h("label", W4, [
9888
+ v("span", Y4, q($.$t("activity.status.label")), 1),
9871
9889
  E(be, {
9872
9890
  options: ae.value,
9873
9891
  value: (R = z(i).status) == null ? void 0 : R.id,
@@ -9882,16 +9900,16 @@ const H4 = { class: "ao-feed" }, P4 = { class: "ao-feed__filters" }, B4 = { clas
9882
9900
  ];
9883
9901
  }),
9884
9902
  default: U((H) => [
9885
- v("div", z4, [
9886
- v("label", W4, [
9887
- v("span", Y4, q($.$t("activity.deadline.label")), 1),
9888
- tt(v("input", {
9903
+ v("div", K4, [
9904
+ v("label", G4, [
9905
+ v("span", X4, q($.$t("activity.deadline.label")), 1),
9906
+ Ye(v("input", {
9889
9907
  "onUpdate:modelValue": Y[6] || (Y[6] = (O) => W.value = O),
9890
9908
  class: "ao-field__input",
9891
9909
  type: "date"
9892
9910
  }, null, 512), [
9893
9911
  [
9894
- Et,
9912
+ mt,
9895
9913
  W.value,
9896
9914
  void 0,
9897
9915
  { lazy: !0 }
@@ -9912,7 +9930,7 @@ const ft = {
9912
9930
  TEMPLATES: "templates",
9913
9931
  TEMPLATE_DETAILS: "template_details",
9914
9932
  TEMPLATES_LIST: "templates_list"
9915
- }, c8 = (t, e = {}) => [
9933
+ }, p8 = (t, e = {}) => [
9916
9934
  {
9917
9935
  path: t,
9918
9936
  name: ft.TEMPLATES,
@@ -9922,7 +9940,7 @@ const ft = {
9922
9940
  {
9923
9941
  path: "",
9924
9942
  name: ft.TEMPLATES_LIST,
9925
- component: X4
9943
+ component: J4
9926
9944
  },
9927
9945
  {
9928
9946
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
@@ -9937,7 +9955,7 @@ const ft = {
9937
9955
  feed: "AoProjectFeed",
9938
9956
  milestone: "AoMilestone",
9939
9957
  activity: "AoActivity"
9940
- }, f8 = (t, e = {}) => [
9958
+ }, h8 = (t, e = {}) => [
9941
9959
  {
9942
9960
  path: t,
9943
9961
  ...e,
@@ -9961,7 +9979,7 @@ const ft = {
9961
9979
  props: { default: !0, modal: !0 },
9962
9980
  components: {
9963
9981
  default: da,
9964
- modal: r4
9982
+ modal: c4
9965
9983
  }
9966
9984
  }
9967
9985
  ]
@@ -9969,12 +9987,12 @@ const ft = {
9969
9987
  {
9970
9988
  path: "feed",
9971
9989
  name: He.feed,
9972
- component: K4,
9990
+ component: x4,
9973
9991
  props: !0
9974
9992
  }
9975
9993
  ]
9976
9994
  }
9977
- ], G4 = { class: "ao-templates" }, X4 = /* @__PURE__ */ K({
9995
+ ], Q4 = { class: "ao-templates" }, J4 = /* @__PURE__ */ K({
9978
9996
  __name: "AoTemplatesList",
9979
9997
  props: {
9980
9998
  templates: {}
@@ -10014,7 +10032,7 @@ const ft = {
10014
10032
  });
10015
10033
  }
10016
10034
  };
10017
- return (l, d) => (f(), h("div", G4, [
10035
+ return (l, d) => (f(), h("div", Q4, [
10018
10036
  E(d1, null, {
10019
10037
  secondary: U(() => [
10020
10038
  E(de, {
@@ -10027,7 +10045,7 @@ const ft = {
10027
10045
  ]),
10028
10046
  _: 1
10029
10047
  }),
10030
- E(z(Qe), {
10048
+ E(z(Je), {
10031
10049
  "model-value": l.templates,
10032
10050
  class: "ao-templates__list",
10033
10051
  "item-key": "id",
@@ -10058,7 +10076,7 @@ const ft = {
10058
10076
  ]));
10059
10077
  }
10060
10078
  });
10061
- const x4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
10079
+ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ K({
10062
10080
  __name: "AoField",
10063
10081
  props: {
10064
10082
  label: {},
@@ -10068,11 +10086,11 @@ const x4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
10068
10086
  return (e, a) => (f(), h("label", {
10069
10087
  class: G(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
10070
10088
  }, [
10071
- v("span", x4, q(e.label), 1),
10089
+ v("span", e8, q(e.label), 1),
10072
10090
  X(e.$slots, "default")
10073
10091
  ], 2));
10074
10092
  }
10075
- }), J4 = ["type", "value", "disabled", "readonly"], v8 = /* @__PURE__ */ K({
10093
+ }), a8 = ["type", "value", "disabled", "readonly"], m8 = /* @__PURE__ */ K({
10076
10094
  __name: "AoInputField",
10077
10095
  props: {
10078
10096
  label: { default: "" },
@@ -10089,7 +10107,7 @@ const x4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
10089
10107
  ), s = (o) => {
10090
10108
  a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
10091
10109
  };
10092
- return (o, i) => (f(), N(Q4, { label: o.label }, {
10110
+ return (o, i) => (f(), N(t8, { label: o.label }, {
10093
10111
  default: U(() => [
10094
10112
  v("input", Ee({
10095
10113
  class: "ao-field__input",
@@ -10099,12 +10117,12 @@ const x4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
10099
10117
  readonly: o.isReadonly
10100
10118
  }, {
10101
10119
  [gs(n.value)]: i[0] || (i[0] = (l) => s(l.target.value))
10102
- }), null, 16, J4)
10120
+ }), null, 16, a8)
10103
10121
  ]),
10104
10122
  _: 1
10105
10123
  }, 8, ["label"]));
10106
10124
  }
10107
- }), e8 = { class: "ao-field" }, t8 = { class: "ao-field__label" }, a8 = ["checked", "disabled"], p8 = /* @__PURE__ */ K({
10125
+ }), s8 = { class: "ao-field" }, n8 = { class: "ao-field__label" }, i8 = ["checked", "disabled"], C8 = /* @__PURE__ */ K({
10108
10126
  __name: "AoCheckboxField",
10109
10127
  props: {
10110
10128
  label: { default: "" },
@@ -10114,8 +10132,8 @@ const x4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
10114
10132
  },
10115
10133
  emits: ["update:modelValue"],
10116
10134
  setup(t) {
10117
- return (e, a) => (f(), h("label", e8, [
10118
- v("span", t8, q(e.label), 1),
10135
+ return (e, a) => (f(), h("label", s8, [
10136
+ v("span", n8, q(e.label), 1),
10119
10137
  v("input", {
10120
10138
  class: "ao-field__input",
10121
10139
  type: "checkbox",
@@ -10128,27 +10146,27 @@ const x4 = { class: "ao-field__label" }, Q4 = /* @__PURE__ */ K({
10128
10146
  ((s = n.target) == null ? void 0 : s.checked) ?? !1
10129
10147
  );
10130
10148
  })
10131
- }, null, 40, a8)
10149
+ }, null, 40, i8)
10132
10150
  ]));
10133
10151
  }
10134
10152
  });
10135
10153
  export {
10136
10154
  Ua as AoCardFeed,
10137
- p8 as AoCheckboxField,
10138
- K4 as AoFeed,
10139
- Q4 as AoField,
10140
- v8 as AoInputField,
10155
+ C8 as AoCheckboxField,
10156
+ x4 as AoFeed,
10157
+ t8 as AoField,
10158
+ m8 as AoInputField,
10141
10159
  be as AoMultiselect,
10142
10160
  K7 as AoTemplateDetails,
10143
- l8 as AoTemplates,
10144
- X4 as AoTemplatesList,
10161
+ d8 as AoTemplates,
10162
+ J4 as AoTemplatesList,
10145
10163
  kd as TemplateItemTypeEnum,
10146
- u8 as activityFeedStatus,
10147
- r8 as durationTypes,
10164
+ f8 as activityFeedStatus,
10165
+ c8 as durationTypes,
10148
10166
  dt as feedFilterTypes,
10149
- f8 as getProjectOverviewRoutes,
10150
- c8 as getTemplateRoutes,
10151
- d8 as listUpdateTypes,
10167
+ h8 as getProjectOverviewRoutes,
10168
+ p8 as getTemplateRoutes,
10169
+ v8 as listUpdateTypes,
10152
10170
  T1 as milestoneStatus,
10153
10171
  He as projectOverviewRoutes,
10154
10172
  bd as ruleComparators,