@26lights/orcha 0.14.9 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, openBlock as c, createBlock as N, unref as q, mergeProps as Ve, createElementBlock as h, createElementVNode as v, pushScopeId as ln, popScopeId as rn, createStaticVNode as un, computed as w, resolveDynamicComponent as tt, normalizeClass as G, renderSlot as te, toDisplayString as z, createCommentVNode as A, ref as J, watch as re, nextTick as Ee, withKeys as Ye, toHandlers as dn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ra, withModifiers as _e, createSlots as t1, Fragment as fe, renderList as be, onMounted as Dt, onBeforeUnmount as cn, onUnmounted as ua, toRefs as $e, getCurrentInstance as at, toRef as ct, normalizeProps as fn, guardReactiveProps as vn, onUpdated as pn, withDirectives as ft, vModelText as Et, vModelCheckbox as hn, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
1
+ import { defineComponent as x, openBlock as c, createBlock as N, unref as q, mergeProps as Ve, createElementBlock as h, createElementVNode as v, pushScopeId as ln, popScopeId as rn, createStaticVNode as un, computed as w, resolveDynamicComponent as tt, normalizeClass as G, renderSlot as te, toDisplayString as z, createCommentVNode as k, ref as J, watch as re, nextTick as Ee, withKeys as Ye, toHandlers as dn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ra, withModifiers as _e, createSlots as t1, Fragment as fe, renderList as be, onMounted as Dt, onBeforeUnmount as cn, onUnmounted as ua, toRefs as $e, getCurrentInstance as at, toRef as ct, normalizeProps as fn, guardReactiveProps as vn, onUpdated as pn, withDirectives as ft, vModelText as Et, vModelCheckbox as hn, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
2
2
  import { RouterView as bn } from "vue-router";
3
3
  import Xe from "vuedraggable";
4
4
  const Y4 = /* @__PURE__ */ x({
@@ -1180,14 +1180,14 @@ const nd = ["type"], sd = {
1180
1180
  ])
1181
1181
  }, [
1182
1182
  te(n.$slots, "default", {}, () => [
1183
- n.label ? (c(), h("span", sd, z(n.label), 1)) : A("", !0)
1183
+ n.label ? (c(), h("span", sd, z(n.label), 1)) : k("", !0)
1184
1184
  ]),
1185
1185
  s.value ? (c(), N(ce, {
1186
1186
  key: 0,
1187
1187
  name: s.value,
1188
1188
  class: "ao-button__icon",
1189
1189
  size: t.value
1190
- }, null, 8, ["name", "size"])) : A("", !0)
1190
+ }, null, 8, ["name", "size"])) : k("", !0)
1191
1191
  ], 10, nd));
1192
1192
  }
1193
1193
  });
@@ -1329,7 +1329,7 @@ const id = {
1329
1329
  name: "DragIndicator",
1330
1330
  class: "ao-card-horiz__drag-handle"
1331
1331
  })
1332
- ])) : A("", !0),
1332
+ ])) : k("", !0),
1333
1333
  v("div", od, [
1334
1334
  s.icon ? (c(), h("div", ld, [
1335
1335
  T(ce, {
@@ -1337,7 +1337,7 @@ const id = {
1337
1337
  name: s.icon,
1338
1338
  size: "xl"
1339
1339
  }, null, 8, ["name"])
1340
- ])) : A("", !0),
1340
+ ])) : k("", !0),
1341
1341
  v("div", rd, [
1342
1342
  T(me, {
1343
1343
  id: s.id,
@@ -1348,22 +1348,22 @@ const id = {
1348
1348
  "onUpdate:title": t
1349
1349
  }, null, 8, ["id", "title"]),
1350
1350
  te(s.$slots, "subtitle", {}, () => [
1351
- s.subtitle ? (c(), h("span", ud, z(s.subtitle), 1)) : A("", !0)
1351
+ s.subtitle ? (c(), h("span", ud, z(s.subtitle), 1)) : k("", !0)
1352
1352
  ])
1353
1353
  ]),
1354
1354
  s.$slots.header ? (c(), h("div", dd, [
1355
1355
  te(s.$slots, "header")
1356
- ])) : A("", !0)
1356
+ ])) : k("", !0)
1357
1357
  ]),
1358
1358
  s.$slots.default ? (c(), h("div", cd, [
1359
1359
  te(s.$slots, "default")
1360
- ])) : A("", !0),
1360
+ ])) : k("", !0),
1361
1361
  s.$slots.footer ? (c(), h("div", fd, [
1362
1362
  te(s.$slots, "footer")
1363
- ])) : A("", !0),
1363
+ ])) : k("", !0),
1364
1364
  s.$slots.secondary ? (c(), h("div", vd, [
1365
1365
  te(s.$slots, "secondary")
1366
- ])) : A("", !0)
1366
+ ])) : k("", !0)
1367
1367
  ]),
1368
1368
  _: 3
1369
1369
  }, 8, ["class"]));
@@ -1412,7 +1412,7 @@ const E1 = /* @__PURE__ */ x({
1412
1412
  size: "sm",
1413
1413
  class: "ao-tag__close-icon"
1414
1414
  })
1415
- ])) : A("", !0)
1415
+ ])) : k("", !0)
1416
1416
  ], 6));
1417
1417
  }
1418
1418
  });
@@ -2700,7 +2700,7 @@ function Oc(a, e, t) {
2700
2700
  var ee = He(a);
2701
2701
  if (!ha(ee))
2702
2702
  throw new RangeError("Invalid time value");
2703
- var b = bd(ee), k = wd(ee, b), P = {
2703
+ var b = bd(ee), A = wd(ee, b), P = {
2704
2704
  firstWeekContainsDate: ae,
2705
2705
  weekStartsOn: I,
2706
2706
  locale: X,
@@ -2720,7 +2720,7 @@ function Oc(a, e, t) {
2720
2720
  return Lc(ne);
2721
2721
  var ie = Vd[le];
2722
2722
  if (ie)
2723
- return !(t != null && t.useAdditionalWeekYearTokens) && Ud(ne) && J1(ne, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Rd(ne) && J1(ne, e, String(a)), ie(k, ne, X.localize, P);
2723
+ return !(t != null && t.useAdditionalWeekYearTokens) && Ud(ne) && J1(ne, e, String(a)), !(t != null && t.useAdditionalDayOfYearTokens) && Rd(ne) && J1(ne, e, String(a)), ie(A, ne, X.localize, P);
2724
2724
  if (le.match(Ic))
2725
2725
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + le + "`");
2726
2726
  return ne;
@@ -3648,12 +3648,12 @@ const l3 = ["title"], r3 = {
3648
3648
  class: G(o.avatarUrl ? ["ao-avatar-img", `ao-avatar-img--${o.size}`] : ["ao-avatar", `ao-avatar--${o.size}`]),
3649
3649
  title: o.userName
3650
3650
  }, [
3651
- o.avatarUrl ? A("", !0) : (c(), h("span", r3, z(q(s)), 1)),
3651
+ o.avatarUrl ? k("", !0) : (c(), h("span", r3, z(q(s)), 1)),
3652
3652
  o.avatarUrl ? (c(), h("img", {
3653
3653
  key: 1,
3654
3654
  className: "ao-avatar__image",
3655
3655
  src: o.avatarUrl
3656
- }, null, 8, u3)) : A("", !0),
3656
+ }, null, 8, u3)) : k("", !0),
3657
3657
  o.isClosable ? (c(), N(de, {
3658
3658
  key: 2,
3659
3659
  "icon-name": "CloseRounded",
@@ -3661,7 +3661,7 @@ const l3 = ["title"], r3 = {
3661
3661
  color: "primary",
3662
3662
  corners: "round",
3663
3663
  onClick: _e(n, ["stop"])
3664
- }, null, 8, ["onClick"])) : A("", !0)
3664
+ }, null, 8, ["onClick"])) : k("", !0)
3665
3665
  ], 10, l3));
3666
3666
  }
3667
3667
  });
@@ -3731,7 +3731,7 @@ const d3 = { class: "ao-card-template__subitems" }, c3 = { class: "ao-card-templ
3731
3731
  color: "primary",
3732
3732
  variant: "solid"
3733
3733
  }, null, 8, ["label"]))), 128))
3734
- ])) : A("", !0)
3734
+ ])) : k("", !0)
3735
3735
  ])
3736
3736
  ])
3737
3737
  ]),
@@ -3748,7 +3748,7 @@ const d3 = { class: "ao-card-template__subitems" }, c3 = { class: "ao-card-templ
3748
3748
  v("div", M3, [
3749
3749
  v("span", null, z(s.updatedAt), 1)
3750
3750
  ])
3751
- ])) : A("", !0),
3751
+ ])) : k("", !0),
3752
3752
  s.updatedBy ? (c(), h("div", k3, [
3753
3753
  v("div", A3, [
3754
3754
  v("span", S3, z(s.$t("template.updatedBy.label")), 1)
@@ -3756,7 +3756,7 @@ const d3 = { class: "ao-card-template__subitems" }, c3 = { class: "ao-card-templ
3756
3756
  v("div", T3, [
3757
3757
  T(_t, { "user-name": s.updatedBy }, null, 8, ["user-name"])
3758
3758
  ])
3759
- ])) : A("", !0)
3759
+ ])) : k("", !0)
3760
3760
  ])
3761
3761
  ]),
3762
3762
  key: "0"
@@ -3781,12 +3781,12 @@ const I3 = { class: "ao-page-header" }, O3 = { class: "ao-page-header-main" }, L
3781
3781
  "icon-name": "ArrowBackRounded",
3782
3782
  variant: "ghost",
3783
3783
  onClick: t[0] || (t[0] = (s) => e.$emit("goBack"))
3784
- })) : A("", !0),
3784
+ })) : k("", !0),
3785
3785
  te(e.$slots, "primary")
3786
3786
  ]),
3787
3787
  e.$slots.secondary ? (c(), h("div", L3, [
3788
3788
  te(e.$slots, "secondary")
3789
- ])) : A("", !0)
3789
+ ])) : k("", !0)
3790
3790
  ]));
3791
3791
  }
3792
3792
  });
@@ -3817,14 +3817,14 @@ const V3 = ["type"], D3 = {
3817
3817
  ])
3818
3818
  }, [
3819
3819
  te(n.$slots, "default", {}, () => [
3820
- n.label ? (c(), h("span", D3, z(n.label), 1)) : A("", !0)
3820
+ n.label ? (c(), h("span", D3, z(n.label), 1)) : k("", !0)
3821
3821
  ]),
3822
3822
  s.value ? (c(), N(ce, {
3823
3823
  key: 0,
3824
3824
  name: s.value,
3825
3825
  class: "ao-button-card__icon",
3826
3826
  size: t.value
3827
- }, null, 8, ["name", "size"])) : A("", !0)
3827
+ }, null, 8, ["name", "size"])) : k("", !0)
3828
3828
  ], 10, V3));
3829
3829
  }
3830
3830
  });
@@ -3861,7 +3861,7 @@ const H3 = { class: "ao-card-template-item__footer" }, P3 = {
3861
3861
  size: "sm"
3862
3862
  }, null, 8, ["name"]),
3863
3863
  v("span", B3, z(i.$props[r]), 1)
3864
- ])) : A("", !0)
3864
+ ])) : k("", !0)
3865
3865
  ], 64))), 64))
3866
3866
  ])
3867
3867
  ]),
@@ -3988,7 +3988,7 @@ const R3 = /* @__PURE__ */ x({
3988
3988
  ])
3989
3989
  ]),
3990
3990
  _: 1
3991
- }, 8, ["model-value", "title"])) : A("", !0);
3991
+ }, 8, ["model-value", "title"])) : k("", !0);
3992
3992
  }
3993
3993
  }), F3 = /* @__PURE__ */ x({
3994
3994
  __name: "AoCardTemplateItemActivity",
@@ -4074,7 +4074,7 @@ const R3 = /* @__PURE__ */ x({
4074
4074
  ])
4075
4075
  ]),
4076
4076
  _: 1
4077
- }, 8, ["model-value", "title"])) : A("", !0);
4077
+ }, 8, ["model-value", "title"])) : k("", !0);
4078
4078
  }
4079
4079
  }), z3 = { class: "ao-modal" }, Y3 = { class: "ao-modal__header" }, K3 = { class: "ao-modal__header-meta" }, G3 = {
4080
4080
  key: 0,
@@ -4108,14 +4108,14 @@ const R3 = /* @__PURE__ */ x({
4108
4108
  ]),
4109
4109
  e.$slots.header ? (c(), h("header", G3, [
4110
4110
  te(e.$slots, "header")
4111
- ])) : A("", !0)
4111
+ ])) : k("", !0)
4112
4112
  ]),
4113
4113
  v("div", x3, [
4114
4114
  te(e.$slots, "default")
4115
4115
  ]),
4116
4116
  e.$slots.footer ? (c(), h("footer", X3, [
4117
4117
  te(e.$slots, "footer")
4118
- ])) : A("", !0)
4118
+ ])) : k("", !0)
4119
4119
  ])
4120
4120
  ], 2));
4121
4121
  }
@@ -4397,19 +4397,19 @@ const r0 = function(a) {
4397
4397
  const K = [l, ...R], D = await Ta(e, S), X = [];
4398
4398
  let ae = ((s = o.flip) == null ? void 0 : s.overflows) || [];
4399
4399
  if (u && X.push(D[_]), f) {
4400
- const k = t0(n, i, V);
4401
- X.push(D[k[0]], D[k[1]]);
4400
+ const A = t0(n, i, V);
4401
+ X.push(D[A[0]], D[A[1]]);
4402
4402
  }
4403
4403
  if (ae = [...ae, {
4404
4404
  placement: n,
4405
4405
  overflows: X
4406
- }], !X.every((k) => k <= 0)) {
4406
+ }], !X.every((A) => A <= 0)) {
4407
4407
  var I, ee;
4408
- const k = (((I = o.flip) == null ? void 0 : I.index) || 0) + 1, P = K[k];
4408
+ const A = (((I = o.flip) == null ? void 0 : I.index) || 0) + 1, P = K[A];
4409
4409
  if (P)
4410
4410
  return {
4411
4411
  data: {
4412
- index: k,
4412
+ index: A,
4413
4413
  overflows: ae
4414
4414
  },
4415
4415
  reset: {
@@ -5081,7 +5081,7 @@ function P0(a, e, t) {
5081
5081
  canDeselect: I,
5082
5082
  max: ee,
5083
5083
  strict: b,
5084
- closeOnSelect: k,
5084
+ closeOnSelect: A,
5085
5085
  closeOnDeselect: P,
5086
5086
  groups: ue,
5087
5087
  reverse: ne,
@@ -5225,7 +5225,7 @@ function P0(a, e, t) {
5225
5225
  I.value && rt(m), P.value && (st(), it());
5226
5226
  return;
5227
5227
  }
5228
- m && C1(m), K.value && Ce(), k.value && (st(), it()), m && lt(m);
5228
+ m && C1(m), K.value && Ce(), A.value && (st(), it()), m && lt(m);
5229
5229
  break;
5230
5230
  case "multiple":
5231
5231
  if (m && Be(m)) {
@@ -5236,7 +5236,7 @@ function P0(a, e, t) {
5236
5236
  e.emit("max", Z);
5237
5237
  return;
5238
5238
  }
5239
- m && (C1(m), lt(m)), K.value && Ce(), l.value && st(), k.value && it();
5239
+ m && (C1(m), lt(m)), K.value && Ce(), l.value && st(), A.value && it();
5240
5240
  break;
5241
5241
  case "tags":
5242
5242
  if (m && Be(m)) {
@@ -5247,10 +5247,10 @@ function P0(a, e, t) {
5247
5247
  e.emit("max", Z);
5248
5248
  return;
5249
5249
  }
5250
- m && C1(m), K.value && Ce(), m && lt(m), l.value && st(), k.value && it();
5250
+ m && C1(m), K.value && Ce(), m && lt(m), l.value && st(), A.value && it();
5251
5251
  break;
5252
5252
  }
5253
- k.value || Ra();
5253
+ A.value || Ra();
5254
5254
  }, Xa = (m) => {
5255
5255
  if (!(h1(m) || n.value === "single" || !L.value)) {
5256
5256
  switch (n.value) {
@@ -5261,7 +5261,7 @@ function P0(a, e, t) {
5261
5261
  );
5262
5262
  break;
5263
5263
  }
5264
- k.value && Ua();
5264
+ A.value && Ua();
5265
5265
  }
5266
5266
  }, C1 = (m) => {
5267
5267
  Ne(m[D.value]) === void 0 && j1.value && (e.emit("tag", m[D.value], Z), e.emit("option", m[D.value], Z), e.emit("create", m[D.value], Z), Za.value && nn(m), Ce());
@@ -5411,7 +5411,7 @@ function B0(a, e, t) {
5411
5411
  ), U = X.value.map((Pe) => Pe[i.value]).indexOf(E[i.value]);
5412
5412
  let Ce = X.value[U - 1];
5413
5413
  return Ce === void 0 && (Ce = P.value), Ce;
5414
- }), k = w(() => {
5414
+ }), A = w(() => {
5415
5415
  let E = X.value.map((U) => U.label).indexOf(I.value ? _.value[i.value] : Z(_.value)[i.value]) + 1;
5416
5416
  return X.value.length <= E && (E = 0), X.value[E];
5417
5417
  }), P = w(() => [...X.value].slice(-1)[0]), ue = w(() => _.value.__VISIBLE__.filter((E) => !E[u.value])[0]), ne = w(() => {
@@ -5429,7 +5429,7 @@ function B0(a, e, t) {
5429
5429
  g((l.value && ae.value ? X.value[0].__CREATE__ ? D.value[0] : X.value[0] : D.value[0]) || null);
5430
5430
  else if (l.value && ae.value) {
5431
5431
  let E = I.value ? ue.value : le.value;
5432
- E === void 0 && (E = k.value, E.__CREATE__ && (E = E[f.value][0])), g(E || /* istanbul ignore next */
5432
+ E === void 0 && (E = A.value, E.__CREATE__ && (E = E[f.value][0])), g(E || /* istanbul ignore next */
5433
5433
  null);
5434
5434
  } else {
5435
5435
  let E = D.value.map((U) => U[s.value]).indexOf(_.value[s.value]) + 1;
@@ -5548,8 +5548,8 @@ function U0(a, e, t) {
5548
5548
  createTag: f,
5549
5549
  createOption: p,
5550
5550
  reverse: C
5551
- } = $e(a), $ = at().proxy, M = t.iv, S = t.update, _ = t.search, g = t.setPointer, V = t.selectPointer, R = t.backwardPointer, K = t.forwardPointer, D = t.multiselect, X = t.wrapper, ae = t.tags, I = t.isOpen, ee = t.open, b = t.blur, k = t.fo, P = w(() => f.value || p.value || !1), ue = w(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ne = () => {
5552
- s.value === "tags" && !l.value && P.value && i.value && !d.value && g(k.value[k.value.map((L) => L[r.value]).indexOf(_.value)]);
5551
+ } = $e(a), $ = at().proxy, M = t.iv, S = t.update, _ = t.search, g = t.setPointer, V = t.selectPointer, R = t.backwardPointer, K = t.forwardPointer, D = t.multiselect, X = t.wrapper, ae = t.tags, I = t.isOpen, ee = t.open, b = t.blur, A = t.fo, P = w(() => f.value || p.value || !1), ue = w(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ne = () => {
5552
+ s.value === "tags" && !l.value && P.value && i.value && !d.value && g(A.value[A.value.map((L) => L[r.value]).indexOf(_.value)]);
5553
5553
  }, le = (L) => {
5554
5554
  let W = L.length - 1;
5555
5555
  for (; W >= 0 && (L[W].remove === !1 || L[W].disabled); )
@@ -5772,38 +5772,38 @@ function F0(a, e, t) {
5772
5772
  aria: d,
5773
5773
  searchable: u
5774
5774
  } = $e(a), f = t.pointer, p = t.iv, C = t.hasSelected, $ = t.multipleLabelText, M = J(null), S = w(() => {
5775
- let k = [];
5776
- return n && n.value && k.push(n.value), k.push("assist"), k.join("-");
5775
+ let A = [];
5776
+ return n && n.value && A.push(n.value), A.push("assist"), A.join("-");
5777
5777
  }), _ = w(() => {
5778
- let k = [];
5779
- return n && n.value && k.push(n.value), k.push("multiselect-options"), k.join("-");
5778
+ let A = [];
5779
+ return n && n.value && A.push(n.value), A.push("multiselect-options"), A.join("-");
5780
5780
  }), g = w(() => {
5781
- let k = [];
5782
- if (n && n.value && k.push(n.value), f.value)
5783
- return k.push(f.value.group ? "multiselect-group" : "multiselect-option"), k.push(f.value.group ? f.value.index : f.value[o.value]), k.join("-");
5781
+ let A = [];
5782
+ if (n && n.value && A.push(n.value), f.value)
5783
+ return A.push(f.value.group ? "multiselect-group" : "multiselect-option"), A.push(f.value.group ? f.value.index : f.value[o.value]), A.join("-");
5784
5784
  }), V = w(() => s.value), R = w(() => l.value !== "single"), K = w(() => {
5785
- let k = "";
5786
- return l.value === "single" && C.value && (k += p.value[i.value]), l.value === "multiple" && C.value && (k += $.value), l.value === "tags" && C.value && (k += p.value.map((P) => P[i.value]).join(", ")), k;
5785
+ let A = "";
5786
+ return l.value === "single" && C.value && (A += p.value[i.value]), l.value === "multiple" && C.value && (A += $.value), l.value === "tags" && C.value && (A += p.value.map((P) => P[i.value]).join(", ")), A;
5787
5787
  }), D = w(() => {
5788
- let k = { ...d.value };
5789
- return u.value && (k["aria-labelledby"] = k["aria-labelledby"] ? `${S.value} ${k["aria-labelledby"]}` : S.value, K.value && k["aria-label"] && (k["aria-label"] = `${K.value}, ${k["aria-label"]}`)), k;
5790
- }), X = (k) => {
5788
+ let A = { ...d.value };
5789
+ return u.value && (A["aria-labelledby"] = A["aria-labelledby"] ? `${S.value} ${A["aria-labelledby"]}` : S.value, K.value && A["aria-label"] && (A["aria-label"] = `${K.value}, ${A["aria-label"]}`)), A;
5790
+ }), X = (A) => {
5791
5791
  let P = [];
5792
- return n && n.value && P.push(n.value), P.push("multiselect-option"), P.push(k[o.value]), P.join("-");
5793
- }, ae = (k) => {
5792
+ return n && n.value && P.push(n.value), P.push("multiselect-option"), P.push(A[o.value]), P.join("-");
5793
+ }, ae = (A) => {
5794
5794
  let P = [];
5795
- return n && n.value && P.push(n.value), P.push("multiselect-group"), P.push(k.index), P.join("-");
5796
- }, I = (k) => {
5795
+ return n && n.value && P.push(n.value), P.push("multiselect-group"), P.push(A.index), P.join("-");
5796
+ }, I = (A) => {
5797
5797
  let P = [];
5798
- return P.push(k), P.join(" ");
5799
- }, ee = (k) => {
5798
+ return P.push(A), P.join(" ");
5799
+ }, ee = (A) => {
5800
5800
  let P = [];
5801
- return P.push(k), P.join(" ");
5802
- }, b = (k) => `${k} ❎`;
5801
+ return P.push(A), P.join(" ");
5802
+ }, b = (A) => `${A} ❎`;
5803
5803
  return Dt(() => {
5804
5804
  if (n && n.value && document && document.querySelector) {
5805
- let k = document.querySelector(`[for="${n.value}"]`);
5806
- M.value = k ? k.innerText : null;
5805
+ let A = document.querySelector(`[for="${n.value}"]`);
5806
+ M.value = A ? A.innerText : null;
5807
5807
  }
5808
5808
  }), {
5809
5809
  arias: D,
@@ -6214,7 +6214,7 @@ function f5(a, e, t, s, n, o) {
6214
6214
  "aria-multiselectable": t.searchable ? void 0 : a.ariaMultiselectable,
6215
6215
  role: t.searchable ? void 0 : "combobox"
6216
6216
  }, t.searchable ? {} : a.arias), [
6217
- A(" Search "),
6217
+ k(" Search "),
6218
6218
  t.mode !== "tags" && t.searchable && !t.disabled ? (c(), h("input", Ve({
6219
6219
  key: 0,
6220
6220
  type: t.inputType,
@@ -6236,8 +6236,8 @@ function f5(a, e, t, s, n, o) {
6236
6236
  }, {
6237
6237
  ...t.attrs,
6238
6238
  ...a.arias
6239
- }), null, 16, K0)) : A("v-if", !0),
6240
- A(" Tags (with search) "),
6239
+ }), null, 16, K0)) : k("v-if", !0),
6240
+ k(" Tags (with search) "),
6241
6241
  t.mode == "tags" ? (c(), h(
6242
6242
  "div",
6243
6243
  {
@@ -6283,7 +6283,7 @@ function f5(a, e, t, s, n, o) {
6283
6283
  2
6284
6284
  /* CLASS */
6285
6285
  )
6286
- ], 10, x0)) : A("v-if", !0)
6286
+ ], 10, x0)) : k("v-if", !0)
6287
6287
  ], 42, G0))
6288
6288
  ])),
6289
6289
  256
@@ -6296,7 +6296,7 @@ function f5(a, e, t, s, n, o) {
6296
6296
  ref: "tags"
6297
6297
  },
6298
6298
  [
6299
- A(" Used for measuring search width "),
6299
+ k(" Used for measuring search width "),
6300
6300
  v(
6301
6301
  "span",
6302
6302
  {
@@ -6306,7 +6306,7 @@ function f5(a, e, t, s, n, o) {
6306
6306
  3
6307
6307
  /* TEXT, CLASS */
6308
6308
  ),
6309
- A(" Actual search input "),
6309
+ k(" Actual search input "),
6310
6310
  t.searchable && !t.disabled ? (c(), h("input", Ve({
6311
6311
  key: 0,
6312
6312
  type: t.inputType,
@@ -6328,7 +6328,7 @@ function f5(a, e, t, s, n, o) {
6328
6328
  }, {
6329
6329
  ...t.attrs,
6330
6330
  ...a.arias
6331
- }), null, 16, X0)) : A("v-if", !0)
6331
+ }), null, 16, X0)) : k("v-if", !0)
6332
6332
  ],
6333
6333
  2
6334
6334
  /* CLASS */
@@ -6336,8 +6336,8 @@ function f5(a, e, t, s, n, o) {
6336
6336
  ],
6337
6337
  2
6338
6338
  /* CLASS */
6339
- )) : A("v-if", !0),
6340
- A(" Single label "),
6339
+ )) : k("v-if", !0),
6340
+ k(" Single label "),
6341
6341
  t.mode == "single" && a.hasSelected && !a.search && a.iv ? te(a.$slots, "singlelabel", {
6342
6342
  key: 2,
6343
6343
  value: a.iv
@@ -6361,8 +6361,8 @@ function f5(a, e, t, s, n, o) {
6361
6361
  2
6362
6362
  /* CLASS */
6363
6363
  )
6364
- ]) : A("v-if", !0),
6365
- A(" Multiple label "),
6364
+ ]) : k("v-if", !0),
6365
+ k(" Multiple label "),
6366
6366
  t.mode == "multiple" && a.hasSelected && !a.search ? te(a.$slots, "multiplelabel", {
6367
6367
  key: 3,
6368
6368
  values: a.iv
@@ -6371,8 +6371,8 @@ function f5(a, e, t, s, n, o) {
6371
6371
  class: G(a.classList.multipleLabel),
6372
6372
  innerHTML: a.multipleLabelText
6373
6373
  }, null, 10, Q0)
6374
- ]) : A("v-if", !0),
6375
- A(" Placeholder "),
6374
+ ]) : k("v-if", !0),
6375
+ k(" Placeholder "),
6376
6376
  t.placeholder && !a.hasSelected && !a.search ? te(a.$slots, "placeholder", { key: 4 }, () => [
6377
6377
  v(
6378
6378
  "div",
@@ -6384,8 +6384,8 @@ function f5(a, e, t, s, n, o) {
6384
6384
  3
6385
6385
  /* TEXT, CLASS */
6386
6386
  )
6387
- ]) : A("v-if", !0),
6388
- A(" Spinner "),
6387
+ ]) : k("v-if", !0),
6388
+ k(" Spinner "),
6389
6389
  t.loading || a.resolving ? te(a.$slots, "spinner", { key: 5 }, () => [
6390
6390
  v(
6391
6391
  "span",
@@ -6397,8 +6397,8 @@ function f5(a, e, t, s, n, o) {
6397
6397
  2
6398
6398
  /* CLASS */
6399
6399
  )
6400
- ]) : A("v-if", !0),
6401
- A(" Clear "),
6400
+ ]) : k("v-if", !0),
6401
+ k(" Clear "),
6402
6402
  a.hasSelected && !t.disabled && t.canClear && !a.busy ? te(a.$slots, "clear", {
6403
6403
  key: 6,
6404
6404
  clear: a.clear
@@ -6429,8 +6429,8 @@ function f5(a, e, t, s, n, o) {
6429
6429
  34
6430
6430
  /* CLASS, HYDRATE_EVENTS */
6431
6431
  )
6432
- ]) : A("v-if", !0),
6433
- A(" Caret "),
6432
+ ]) : k("v-if", !0),
6433
+ k(" Caret "),
6434
6434
  t.caret && t.showOptions ? te(a.$slots, "caret", { key: 7 }, () => [
6435
6435
  v(
6436
6436
  "span",
@@ -6443,9 +6443,9 @@ function f5(a, e, t, s, n, o) {
6443
6443
  2
6444
6444
  /* CLASS */
6445
6445
  )
6446
- ]) : A("v-if", !0)
6446
+ ]) : k("v-if", !0)
6447
6447
  ], 16, Y0),
6448
- A(" Options "),
6448
+ k(" Options "),
6449
6449
  v(
6450
6450
  "div",
6451
6451
  {
@@ -6470,7 +6470,7 @@ function f5(a, e, t, s, n, o) {
6470
6470
  "aria-selected": a.isSelected(i),
6471
6471
  role: "option"
6472
6472
  }, [
6473
- i.__CREATE__ ? A("v-if", !0) : (c(), h("div", {
6473
+ i.__CREATE__ ? k("v-if", !0) : (c(), h("div", {
6474
6474
  key: 0,
6475
6475
  class: G(a.classList.groupLabel(i)),
6476
6476
  "data-pointed": a.isPointed(i),
@@ -6568,13 +6568,13 @@ function f5(a, e, t, s, n, o) {
6568
6568
  class: G(a.classList.noOptions),
6569
6569
  innerHTML: a.localize(t.noOptionsText)
6570
6570
  }, null, 10, o5)
6571
- ]) : A("v-if", !0),
6571
+ ]) : k("v-if", !0),
6572
6572
  a.noResults ? te(a.$slots, "noresults", { key: 1 }, () => [
6573
6573
  v("div", {
6574
6574
  class: G(a.classList.noResults),
6575
6575
  innerHTML: a.localize(t.noResultsText)
6576
6576
  }, null, 10, l5)
6577
- ]) : A("v-if", !0),
6577
+ ]) : k("v-if", !0),
6578
6578
  t.infinite && a.hasMore ? (c(), h(
6579
6579
  "div",
6580
6580
  {
@@ -6597,21 +6597,21 @@ function f5(a, e, t, s, n, o) {
6597
6597
  ],
6598
6598
  2
6599
6599
  /* CLASS */
6600
- )) : A("v-if", !0),
6600
+ )) : k("v-if", !0),
6601
6601
  te(a.$slots, "afterlist", { options: a.fo })
6602
6602
  ],
6603
6603
  2
6604
6604
  /* CLASS */
6605
6605
  ),
6606
- A(" Hacky input element to show HTML5 required warning "),
6606
+ k(" Hacky input element to show HTML5 required warning "),
6607
6607
  t.required ? (c(), h("input", {
6608
6608
  key: 0,
6609
6609
  class: G(a.classList.fakeInput),
6610
6610
  tabindex: "-1",
6611
6611
  value: a.textValue,
6612
6612
  required: ""
6613
- }, null, 10, r5)) : A("v-if", !0),
6614
- A(" Native input support "),
6613
+ }, null, 10, r5)) : k("v-if", !0),
6614
+ k(" Native input support "),
6615
6615
  t.nativeSupport ? (c(), h(
6616
6616
  fe,
6617
6617
  { key: 1 },
@@ -6636,15 +6636,15 @@ function f5(a, e, t, s, n, o) {
6636
6636
  ],
6637
6637
  64
6638
6638
  /* STABLE_FRAGMENT */
6639
- )) : A("v-if", !0),
6640
- A(" Screen reader assistive text "),
6639
+ )) : k("v-if", !0),
6640
+ k(" Screen reader assistive text "),
6641
6641
  t.searchable && a.hasSelected ? (c(), h("div", {
6642
6642
  key: 2,
6643
6643
  class: G(a.classList.assist),
6644
6644
  id: a.ariaAssist,
6645
6645
  "aria-hidden": "true"
6646
- }, z(a.ariaLabel), 11, c5)) : A("v-if", !0),
6647
- A(" Create height for empty input "),
6646
+ }, z(a.ariaLabel), 11, c5)) : k("v-if", !0),
6647
+ k(" Create height for empty input "),
6648
6648
  v(
6649
6649
  "div",
6650
6650
  {
@@ -6801,7 +6801,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
6801
6801
  disabled: !f.isEditable,
6802
6802
  variant: "ghost",
6803
6803
  onClick: () => l(C.id, !C.isDone)
6804
- }, null, 8, ["icon-name", "disabled", "onClick"])) : A("", !0),
6804
+ }, null, 8, ["icon-name", "disabled", "onClick"])) : k("", !0),
6805
6805
  v("input", {
6806
6806
  id: C.id,
6807
6807
  value: C.name,
@@ -6834,7 +6834,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
6834
6834
  }, null, 8, ["user-name", "avatar-url", "onClose"])
6835
6835
  ]),
6836
6836
  _: 2
6837
- }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : A("", !0),
6837
+ }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : k("", !0),
6838
6838
  f.isEditable ? (c(), N(de, {
6839
6839
  key: 2,
6840
6840
  class: "ao-subtask__delete",
@@ -6843,7 +6843,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
6843
6843
  variant: "ghost",
6844
6844
  color: "neutral",
6845
6845
  onClick: () => r(C.id)
6846
- }, null, 8, ["onClick"])) : A("", !0)
6846
+ }, null, 8, ["onClick"])) : k("", !0)
6847
6847
  ]);
6848
6848
  }), 128))
6849
6849
  ]),
@@ -6855,7 +6855,7 @@ const p5 = { class: "ao-tasks" }, h5 = { class: "ao-tasks__list" }, m5 = ["id",
6855
6855
  variant: "ghost",
6856
6856
  color: "primary",
6857
6857
  onClick: o
6858
- }, null, 8, ["label"])) : A("", !0)
6858
+ }, null, 8, ["label"])) : k("", !0)
6859
6859
  ])
6860
6860
  ]));
6861
6861
  }
@@ -6949,9 +6949,9 @@ const g5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], b5 = {
6949
6949
  size: "md",
6950
6950
  corners: "round",
6951
6951
  onClick: () => t(p)
6952
- }, null, 8, ["onClick"])) : A("", !0)
6952
+ }, null, 8, ["onClick"])) : k("", !0)
6953
6953
  ]))), 128))
6954
- ])) : A("", !0),
6954
+ ])) : k("", !0),
6955
6955
  d.isEditable ? (c(), h("div", $5, [
6956
6956
  v("label", M5, [
6957
6957
  v("span", k5, z(d.$t("activity.attachment.button.resting")), 1),
@@ -6965,7 +6965,7 @@ const g5 = ["onDrop", "onDragenter", "onDragover", "onDragleave"], b5 = {
6965
6965
  }, null, 32)
6966
6966
  ]),
6967
6967
  v("span", A5, z(d.$t("activity.attachment.placeholder.resting")), 1)
6968
- ])) : A("", !0)
6968
+ ])) : k("", !0)
6969
6969
  ], 42, g5);
6970
6970
  };
6971
6971
  }
@@ -7008,7 +7008,7 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
7008
7008
  "avatar-url": (g = S.user) == null ? void 0 : g.avatarUrl,
7009
7009
  "user-name": s.value,
7010
7010
  class: "ao-comment__avatar"
7011
- }, null, 8, ["avatar-url", "user-name"])) : A("", !0),
7011
+ }, null, 8, ["avatar-url", "user-name"])) : k("", !0),
7012
7012
  v("div", E5, [
7013
7013
  v("div", I5, [
7014
7014
  (c(), N(tt(f.value), {
@@ -7062,7 +7062,7 @@ const T5 = { class: "ao-comment" }, E5 = { class: "ao-comment__body" }, I5 = { c
7062
7062
  onClick: q(i)
7063
7063
  }, null, 8, ["label", "onClick"])
7064
7064
  ], 64))
7065
- ])) : A("", !0)
7065
+ ])) : k("", !0)
7066
7066
  ]);
7067
7067
  };
7068
7068
  }
@@ -7121,7 +7121,7 @@ const D5 = {
7121
7121
  onEdit: ($) => r(C.id, $),
7122
7122
  onRemove: () => d(C.id)
7123
7123
  }, null, 8, ["user", "content", "created-at", "edited-at", "is-editable", "onEdit", "onRemove"]))), 128))
7124
- ])) : A("", !0),
7124
+ ])) : k("", !0),
7125
7125
  v("div", H5, [
7126
7126
  v("form", {
7127
7127
  class: "ao-comments__form",
@@ -7227,7 +7227,7 @@ const j5 = {
7227
7227
  }))), d = w({
7228
7228
  get() {
7229
7229
  var b;
7230
- return (b = t.activity.dependingOn) == null ? void 0 : b.map((k) => k.id);
7230
+ return (b = t.activity.dependingOn) == null ? void 0 : b.map((A) => A.id);
7231
7231
  },
7232
7232
  set(b) {
7233
7233
  b && e("update:activity", {
@@ -7236,15 +7236,15 @@ const j5 = {
7236
7236
  });
7237
7237
  }
7238
7238
  }), u = w(() => r.value.map((b) => {
7239
- var k;
7239
+ var A;
7240
7240
  return {
7241
7241
  ...b,
7242
- disabled: (k = t.activity.blocking) == null ? void 0 : k.some((P) => P.id === b.value)
7242
+ disabled: (A = t.activity.blocking) == null ? void 0 : A.some((P) => P.id === b.value)
7243
7243
  };
7244
7244
  })), f = w({
7245
7245
  get() {
7246
7246
  var b;
7247
- return (b = t.activity.blocking) == null ? void 0 : b.map((k) => k.id);
7247
+ return (b = t.activity.blocking) == null ? void 0 : b.map((A) => A.id);
7248
7248
  },
7249
7249
  set(b) {
7250
7250
  b && e("update:activity", {
@@ -7253,14 +7253,14 @@ const j5 = {
7253
7253
  });
7254
7254
  }
7255
7255
  }), p = w(() => r.value.map((b) => {
7256
- var k;
7256
+ var A;
7257
7257
  return {
7258
7258
  ...b,
7259
- disabled: (k = t.activity.dependingOn) == null ? void 0 : k.some((P) => P.id === b.value)
7259
+ disabled: (A = t.activity.dependingOn) == null ? void 0 : A.some((P) => P.id === b.value)
7260
7260
  };
7261
- })), C = w(() => (t.templateMilestones || []).filter((k) => k.id !== t.milestoneId).map((k) => ({
7262
- label: k.name,
7263
- value: k.id
7261
+ })), C = w(() => (t.templateMilestones || []).filter((A) => A.id !== t.milestoneId).map((A) => ({
7262
+ label: A.name,
7263
+ value: A.id
7264
7264
  }))), $ = w({
7265
7265
  get() {
7266
7266
  return t.activity.dependingMilestones;
@@ -7279,15 +7279,15 @@ const j5 = {
7279
7279
  e("deleteSubtask", b);
7280
7280
  }, g = w(() => {
7281
7281
  var b;
7282
- return ((b = t.users) == null ? void 0 : b.map((k) => ({
7283
- label: `${k.firstName} ${k.lastName}`,
7284
- value: k.id,
7285
- avatar: k.avatarUrl
7282
+ return ((b = t.users) == null ? void 0 : b.map((A) => ({
7283
+ label: `${A.firstName} ${A.lastName}`,
7284
+ value: A.id,
7285
+ avatar: A.avatarUrl
7286
7286
  }))) || [];
7287
7287
  }), V = w({
7288
7288
  get() {
7289
- var b, k;
7290
- return (b = t.activity.assignee) != null && b.id ? [(k = t.activity.assignee) == null ? void 0 : k.id] : [];
7289
+ var b, A;
7290
+ return (b = t.activity.assignee) != null && b.id ? [(A = t.activity.assignee) == null ? void 0 : A.id] : [];
7291
7291
  },
7292
7292
  set(b) {
7293
7293
  e("update:activity", {
@@ -7307,9 +7307,9 @@ const j5 = {
7307
7307
  });
7308
7308
  }, D = w(() => {
7309
7309
  var b;
7310
- return (b = t.statuses) == null ? void 0 : b.map((k) => ({
7311
- value: k.id,
7312
- label: k.name
7310
+ return (b = t.statuses) == null ? void 0 : b.map((A) => ({
7311
+ value: A.id,
7312
+ label: A.name
7313
7313
  }));
7314
7314
  }), X = (b) => {
7315
7315
  e("update:activity", {
@@ -7326,11 +7326,11 @@ const j5 = {
7326
7326
  }, ee = (b) => {
7327
7327
  e("removeComment", b);
7328
7328
  };
7329
- return (b, k) => (c(), N(L1, {
7330
- onClose: k[8] || (k[8] = (P) => b.$emit("close"))
7329
+ return (b, A) => (c(), N(L1, {
7330
+ onClose: A[8] || (A[8] = (P) => b.$emit("close"))
7331
7331
  }, {
7332
7332
  header: j(() => [
7333
- b.breadcrumbs ? (c(), h("div", j5, z(b.breadcrumbs), 1)) : A("", !0),
7333
+ b.breadcrumbs ? (c(), h("div", j5, z(b.breadcrumbs), 1)) : k("", !0),
7334
7334
  T(me, {
7335
7335
  title: b.activity.name || "",
7336
7336
  level: 4,
@@ -7351,7 +7351,7 @@ const j5 = {
7351
7351
  caret: b.isEditable,
7352
7352
  onChange: X
7353
7353
  }, null, 8, ["options", "value", "disabled", "caret"])
7354
- ])) : A("", !0)
7354
+ ])) : k("", !0)
7355
7355
  ];
7356
7356
  })
7357
7357
  ]),
@@ -7362,7 +7362,7 @@ const j5 = {
7362
7362
  v("label", Y5, [
7363
7363
  v("span", K5, z(b.$t("activity.description.label")), 1),
7364
7364
  ft(v("textarea", {
7365
- "onUpdate:modelValue": k[0] || (k[0] = (P) => n.value = P),
7365
+ "onUpdate:modelValue": A[0] || (A[0] = (P) => n.value = P),
7366
7366
  readonly: !b.isEditable,
7367
7367
  rows: "4",
7368
7368
  class: "ao-field__textarea"
@@ -7383,7 +7383,7 @@ const j5 = {
7383
7383
  v("label", X5, [
7384
7384
  v("span", Q5, z(b.$t("activity.estimation.label")), 1),
7385
7385
  ft(v("input", {
7386
- "onUpdate:modelValue": k[1] || (k[1] = (P) => o.value = P),
7386
+ "onUpdate:modelValue": A[1] || (A[1] = (P) => o.value = P),
7387
7387
  readonly: !b.isEditable,
7388
7388
  class: "ao-field__input",
7389
7389
  type: "number",
@@ -7403,7 +7403,7 @@ const j5 = {
7403
7403
  v("label", e7, [
7404
7404
  v("span", t7, z(b.$t("activity.important.label")), 1),
7405
7405
  ft(v("input", {
7406
- "onUpdate:modelValue": k[2] || (k[2] = (P) => i.value = P),
7406
+ "onUpdate:modelValue": A[2] || (A[2] = (P) => i.value = P),
7407
7407
  disabled: !b.isEditable,
7408
7408
  class: "ao-field__input",
7409
7409
  type: "checkbox"
@@ -7431,7 +7431,7 @@ const j5 = {
7431
7431
  v("div", l7, [
7432
7432
  T(ye, {
7433
7433
  modelValue: V.value,
7434
- "onUpdate:modelValue": k[3] || (k[3] = (P) => V.value = P),
7434
+ "onUpdate:modelValue": A[3] || (A[3] = (P) => V.value = P),
7435
7435
  options: g.value,
7436
7436
  "close-on-select": !1,
7437
7437
  searchable: !0,
@@ -7492,7 +7492,7 @@ const j5 = {
7492
7492
  v("span", m7, z(b.$t("activity.dependingOn.label")), 1),
7493
7493
  T(ye, {
7494
7494
  modelValue: d.value,
7495
- "onUpdate:modelValue": k[4] || (k[4] = (P) => d.value = P),
7495
+ "onUpdate:modelValue": A[4] || (A[4] = (P) => d.value = P),
7496
7496
  mode: "tags",
7497
7497
  "close-on-select": !1,
7498
7498
  searchable: !0,
@@ -7507,7 +7507,7 @@ const j5 = {
7507
7507
  v("span", g7, z(b.$t("activity.blocking.label")), 1),
7508
7508
  T(ye, {
7509
7509
  modelValue: f.value,
7510
- "onUpdate:modelValue": k[5] || (k[5] = (P) => f.value = P),
7510
+ "onUpdate:modelValue": A[5] || (A[5] = (P) => f.value = P),
7511
7511
  mode: "tags",
7512
7512
  "close-on-select": !1,
7513
7513
  searchable: !0,
@@ -7522,7 +7522,7 @@ const j5 = {
7522
7522
  v("span", w7, z(b.$t("activity.dependingMilestone.label")), 1),
7523
7523
  T(ye, {
7524
7524
  modelValue: $.value,
7525
- "onUpdate:modelValue": k[6] || (k[6] = (P) => $.value = P),
7525
+ "onUpdate:modelValue": A[6] || (A[6] = (P) => $.value = P),
7526
7526
  mode: "tags",
7527
7527
  "close-on-select": !1,
7528
7528
  searchable: !0,
@@ -7540,7 +7540,7 @@ const j5 = {
7540
7540
  v("span", A7, z(b.$t("activity.type.label")), 1),
7541
7541
  T(ye, {
7542
7542
  modelValue: l.value,
7543
- "onUpdate:modelValue": k[7] || (k[7] = (P) => l.value = P),
7543
+ "onUpdate:modelValue": A[7] || (A[7] = (P) => l.value = P),
7544
7544
  mode: "single",
7545
7545
  searchable: !0,
7546
7546
  options: b.activityTypes,
@@ -7549,7 +7549,7 @@ const j5 = {
7549
7549
  caret: b.isEditable
7550
7550
  }, null, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
7551
7551
  ])
7552
- ])) : A("", !0),
7552
+ ])) : k("", !0),
7553
7553
  te(b.$slots, "default")
7554
7554
  ])
7555
7555
  ]),
@@ -7582,7 +7582,7 @@ const j5 = {
7582
7582
  onUpdateComment: I,
7583
7583
  onRemoveComment: ee
7584
7584
  }, null, 8, ["comments", "users", "user-id"])
7585
- ])) : A("", !0)
7585
+ ])) : k("", !0)
7586
7586
  ]),
7587
7587
  _: 3
7588
7588
  }));
@@ -7960,7 +7960,7 @@ const D7 = {
7960
7960
  e("addRule", { templateId: t.templateId });
7961
7961
  }, b = (O) => {
7962
7962
  e("removeRule", { id: O, templateId: t.templateId });
7963
- }, k = (O) => {
7963
+ }, A = (O) => {
7964
7964
  var L;
7965
7965
  if (O.moved) {
7966
7966
  const W = Bt(O, ((L = n.value) == null ? void 0 : L.phases) ?? []);
@@ -8039,7 +8039,7 @@ const D7 = {
8039
8039
  class: "ao-templates__list",
8040
8040
  "item-key": "id",
8041
8041
  handle: ".ao-card__drag",
8042
- onChange: k
8042
+ onChange: A
8043
8043
  }, {
8044
8044
  header: j(() => [
8045
8045
  T(me, {
@@ -8089,7 +8089,7 @@ const D7 = {
8089
8089
  onUpdateMilestone: R,
8090
8090
  onUpdatePhase: _,
8091
8091
  onRemoveMilestone: V
8092
- }, null, 8, ["template-id", "phase", "milestone-id"])) : A("", !0)
8092
+ }, null, 8, ["template-id", "phase", "milestone-id"])) : k("", !0)
8093
8093
  ]),
8094
8094
  v("li", U7, [
8095
8095
  i.value && l.value ? (c(), N(W3, {
@@ -8101,7 +8101,7 @@ const D7 = {
8101
8101
  onAddActivity: K,
8102
8102
  onUpdateActivity: X,
8103
8103
  onRemoveActivity: D
8104
- }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : A("", !0)
8104
+ }, null, 8, ["template-id", "phase-id", "milestone", "activity-id"])) : k("", !0)
8105
8105
  ])
8106
8106
  ])
8107
8107
  ]),
@@ -8125,7 +8125,7 @@ const D7 = {
8125
8125
  onDeleteSubtask: ne,
8126
8126
  onAddFiles: le,
8127
8127
  onRemoveFile: ie
8128
- }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : A("", !0)
8128
+ }, null, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : k("", !0)
8129
8129
  ])),
8130
8130
  (c(), N(It, { to: "body" }, [
8131
8131
  ae.value ? (c(), N(V7, {
@@ -8138,9 +8138,9 @@ const D7 = {
8138
8138
  onClose: I,
8139
8139
  onAddRule: ee,
8140
8140
  onRemoveRule: b
8141
- }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : A("", !0)
8141
+ }, null, 8, ["template-id", "rules", "template-phases", "template-milestones", "template-activities"])) : k("", !0)
8142
8142
  ]))
8143
- ])) : A("", !0);
8143
+ ])) : k("", !0);
8144
8144
  };
8145
8145
  }
8146
8146
  });
@@ -8163,13 +8163,13 @@ const Z7 = {
8163
8163
  default: j(() => [
8164
8164
  e.$slots.header ? (c(), h("header", Z7, [
8165
8165
  te(e.$slots, "header")
8166
- ])) : A("", !0),
8166
+ ])) : k("", !0),
8167
8167
  v("div", F7, [
8168
8168
  te(e.$slots, "default")
8169
8169
  ]),
8170
8170
  e.$slots.footer ? (c(), h("footer", q7, [
8171
8171
  te(e.$slots, "footer")
8172
- ])) : A("", !0)
8172
+ ])) : k("", !0)
8173
8173
  ]),
8174
8174
  _: 3
8175
8175
  }, 8, ["class"]));
@@ -8244,10 +8244,10 @@ const W7 = { class: "ao-card-project-phase__header" }, z7 = { class: "ao-card-pr
8244
8244
  percentages: i.value,
8245
8245
  class: "ao-card-project-phase__progress"
8246
8246
  }, null, 8, ["percentages"])
8247
- ], 64)) : A("", !0),
8247
+ ], 64)) : k("", !0),
8248
8248
  l.$slots.secondary ? (c(), h("div", x7, [
8249
8249
  te(l.$slots, "secondary")
8250
- ])) : A("", !0)
8250
+ ])) : k("", !0)
8251
8251
  ])
8252
8252
  ])
8253
8253
  ]),
@@ -8327,7 +8327,7 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
8327
8327
  label: l.$t("archive"),
8328
8328
  onClick: r[0] || (r[0] = _e(() => l.$emit("archiveMilestone", { id: l.id }), ["stop"]))
8329
8329
  }, null, 8, ["label"])
8330
- ])) : A("", !0)
8330
+ ])) : k("", !0)
8331
8331
  ])
8332
8332
  ]),
8333
8333
  footer: j(() => [
@@ -8345,10 +8345,10 @@ const Q7 = { class: "ao-card-project-milestone__default" }, J7 = {
8345
8345
  percentages: o.value,
8346
8346
  class: "ao-card-project-phase__progress"
8347
8347
  }, null, 8, ["percentages"])
8348
- ], 64)) : A("", !0),
8348
+ ], 64)) : k("", !0),
8349
8349
  l.$slots.secondary ? (c(), h("div", s9, [
8350
8350
  te(l.$slots, "secondary")
8351
- ])) : A("", !0)
8351
+ ])) : k("", !0)
8352
8352
  ])
8353
8353
  ])
8354
8354
  ]),
@@ -8399,7 +8399,7 @@ const o9 = { class: "ao-project-phase" }, l9 = {
8399
8399
  name: "DragIndicator",
8400
8400
  class: "ao-project-phase__drag-handle"
8401
8401
  })
8402
- ])) : A("", !0),
8402
+ ])) : k("", !0),
8403
8403
  v("div", r9, [
8404
8404
  T(X7, {
8405
8405
  id: f.phase.id,
@@ -8445,7 +8445,7 @@ const o9 = { class: "ao-project-phase" }, l9 = {
8445
8445
  class: "ao-project-phase__milestone-add",
8446
8446
  "icon-name": "Add",
8447
8447
  onClick: p[0] || (p[0] = () => i(f.phase.id))
8448
- }, null, 8, ["label"])) : A("", !0)
8448
+ }, null, 8, ["label"])) : k("", !0)
8449
8449
  ])
8450
8450
  ])
8451
8451
  ])
@@ -8522,7 +8522,7 @@ const v9 = { class: "ao-project__phases" }, p9 = {
8522
8522
  }, null, 8, ["label"])
8523
8523
  ]),
8524
8524
  C9
8525
- ])) : A("", !0)
8525
+ ])) : k("", !0)
8526
8526
  ]));
8527
8527
  }
8528
8528
  });
@@ -8699,8 +8699,8 @@ const Pa = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
8699
8699
  "is-left": !0,
8700
8700
  "right-label": I.$t("project.switch.feed"),
8701
8701
  "left-label": I.$t("project.switch.overview"),
8702
- "onUpdate:isLeft": ee[0] || (ee[0] = (k) => {
8703
- k || I.$router.push({ name: q(Re).feed });
8702
+ "onUpdate:isLeft": ee[0] || (ee[0] = (A) => {
8703
+ A || I.$router.push({ name: q(Re).feed });
8704
8704
  })
8705
8705
  }, null, 8, ["right-label", "left-label"]),
8706
8706
  I.isEditable ? (c(), N(de, {
@@ -8708,8 +8708,8 @@ const Pa = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
8708
8708
  class: "ao-project-overview__add-template",
8709
8709
  color: "primary",
8710
8710
  label: I.$t("project.template.add.label"),
8711
- onClick: ee[1] || (ee[1] = (k) => X.value = !0)
8712
- }, null, 8, ["label"])) : A("", !0)
8711
+ onClick: ee[1] || (ee[1] = (A) => X.value = !0)
8712
+ }, null, 8, ["label"])) : k("", !0)
8713
8713
  ]),
8714
8714
  _: 1
8715
8715
  }),
@@ -8734,7 +8734,7 @@ const Pa = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
8734
8734
  "project-name": I.project.name,
8735
8735
  users: I.users,
8736
8736
  "is-editable": I.isEditable,
8737
- onClose: ee[2] || (ee[2] = (k) => I.$router.push({ name: q(Re).project })),
8737
+ onClose: ee[2] || (ee[2] = (A) => I.$router.push({ name: q(Re).project })),
8738
8738
  onAddActivity: f,
8739
8739
  onUpdateActivity: p,
8740
8740
  onArchiveActivity: C
@@ -8766,9 +8766,9 @@ const Pa = /* @__PURE__ */ B(M9, [["render", A9], ["__scopeId", "data-v-8f286655
8766
8766
  key: 0,
8767
8767
  "project-id": I.project.id,
8768
8768
  templates: I.templates,
8769
- onClose: ee[3] || (ee[3] = (k) => X.value = !1),
8769
+ onClose: ee[3] || (ee[3] = (A) => X.value = !1),
8770
8770
  onApply: ae
8771
- }, null, 8, ["project-id", "templates"])) : A("", !0)
8771
+ }, null, 8, ["project-id", "templates"])) : k("", !0)
8772
8772
  ]))
8773
8773
  ], 64);
8774
8774
  };
@@ -8847,21 +8847,21 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
8847
8847
  variant: "solid",
8848
8848
  color: p.projectColor ? void 0 : "primary",
8849
8849
  "raw-color": p.projectColor
8850
- }, null, 8, ["label", "color", "raw-color"])) : A("", !0),
8850
+ }, null, 8, ["label", "color", "raw-color"])) : k("", !0),
8851
8851
  p.important ? (c(), N(ce, {
8852
8852
  key: 1,
8853
8853
  name: "FlagRounded",
8854
8854
  class: "ao-card-feed__important ao-card-feed__header-secondary",
8855
8855
  size: "sm"
8856
- })) : A("", !0),
8856
+ })) : k("", !0),
8857
8857
  p.$slots.secondary ? (c(), h("div", L9, [
8858
8858
  te(p.$slots, "secondary")
8859
- ])) : A("", !0)
8859
+ ])) : k("", !0)
8860
8860
  ])
8861
8861
  ]),
8862
8862
  default: j(() => [
8863
8863
  v("div", V9, [
8864
- n.value ? (c(), h("span", D9, z(n.value), 1)) : A("", !0),
8864
+ n.value ? (c(), h("span", D9, z(n.value), 1)) : k("", !0),
8865
8865
  T(me, {
8866
8866
  id: p.id,
8867
8867
  title: p.name,
@@ -8869,7 +8869,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
8869
8869
  "is-editable": p.isEditable,
8870
8870
  "onUpdate:title": s
8871
8871
  }, null, 8, ["id", "title", "is-editable"]),
8872
- p.deadline ? (c(), h("span", H9, z(i.value), 1)) : A("", !0)
8872
+ p.deadline ? (c(), h("span", H9, z(i.value), 1)) : k("", !0)
8873
8873
  ])
8874
8874
  ]),
8875
8875
  footer: j(() => [
@@ -8886,7 +8886,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
8886
8886
  "is-closable": !0,
8887
8887
  onClose: () => r($.id)
8888
8888
  }, null, 8, ["user-name", "avatar-url", "onClose"])
8889
- ])) : A("", !0)
8889
+ ])) : k("", !0)
8890
8890
  ], 64))), 128))
8891
8891
  ]),
8892
8892
  p.comments || p.attachments ? (c(), h("ul", U9, [
@@ -8896,15 +8896,15 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
8896
8896
  size: "sm"
8897
8897
  }),
8898
8898
  v("span", Z9, z(p.comments), 1)
8899
- ])) : A("", !0),
8899
+ ])) : k("", !0),
8900
8900
  p.attachments ? (c(), h("li", F9, [
8901
8901
  T(ce, {
8902
8902
  name: "AttachFileRounded",
8903
8903
  size: "sm"
8904
8904
  }),
8905
8905
  v("span", q9, z(p.attachments), 1)
8906
- ])) : A("", !0)
8907
- ])) : A("", !0)
8906
+ ])) : k("", !0)
8907
+ ])) : k("", !0)
8908
8908
  ]),
8909
8909
  v("div", W9, [
8910
8910
  p.tasks && p.tasks.length ? (c(), h("div", z9, [
@@ -8919,7 +8919,7 @@ const O9 = { class: "ao-card-feed__header" }, L9 = {
8919
8919
  percentages: f.value,
8920
8920
  class: "ao-card-feed__progress"
8921
8921
  }, null, 8, ["percentages"])
8922
- ])) : A("", !0)
8922
+ ])) : k("", !0)
8923
8923
  ])
8924
8924
  ])
8925
8925
  ]),
@@ -9055,7 +9055,7 @@ const G9 = { class: "ao-project-milestone" }, x9 = { class: "ao-project-mileston
9055
9055
  label: p.$t("project.activity.add"),
9056
9056
  onClick: d
9057
9057
  }, null, 8, ["label"])
9058
- ])) : A("", !0)
9058
+ ])) : k("", !0)
9059
9059
  ])
9060
9060
  ]);
9061
9061
  };
@@ -9141,7 +9141,7 @@ const e4 = /* @__PURE__ */ x({
9141
9141
  onAddComment: $,
9142
9142
  onUpdateComment: M,
9143
9143
  onRemoveComment: S
9144
- }, null, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : A("", !0);
9144
+ }, null, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : k("", !0);
9145
9145
  };
9146
9146
  }
9147
9147
  }), t4 = { class: "ao-col-header" }, a4 = /* @__PURE__ */ x({
@@ -9163,7 +9163,7 @@ const e4 = /* @__PURE__ */ x({
9163
9163
  class: "ao-col-header__items",
9164
9164
  variant: "solid",
9165
9165
  color: "primary"
9166
- }, null, 8, ["label"])) : A("", !0)
9166
+ }, null, 8, ["label"])) : k("", !0)
9167
9167
  ]));
9168
9168
  }
9169
9169
  });
@@ -9332,10 +9332,10 @@ const v4 = {
9332
9332
  title: r.title,
9333
9333
  level: 3,
9334
9334
  items: (u = r.list) == null ? void 0 : u.length
9335
- }, null, 8, ["title", "items"])) : A("", !0)
9335
+ }, null, 8, ["title", "items"])) : k("", !0)
9336
9336
  ])
9337
9337
  ];
9338
- }) : A("", !0),
9338
+ }) : k("", !0),
9339
9339
  T(q(Xe), Ve({
9340
9340
  class: "ao-list-kanban__list",
9341
9341
  list: r.list,
@@ -9381,7 +9381,7 @@ const v4 = {
9381
9381
  corners: "round",
9382
9382
  label: r.$t("feed.activity.archive"),
9383
9383
  onClick: _e(() => r.$emit("archiveActivity", { id: u.id }), ["stop"])
9384
- }, null, 8, ["label", "onClick"])) : A("", !0)
9384
+ }, null, 8, ["label", "onClick"])) : k("", !0)
9385
9385
  ]),
9386
9386
  _: 2
9387
9387
  }, 1032, ["id", "name", "project-name", "project-color", "phase-name", "milestone-name", "deadline", "rules", "tasks", "description", "important", "type", "comments", "attachments", "users", "assignee", "is-editable", "onClick", "onRemoveAssignee"])
@@ -9396,7 +9396,7 @@ const v4 = {
9396
9396
  ref: n,
9397
9397
  class: "ao-list-kanban__end"
9398
9398
  }, null, 512)) : (c(), h("div", m4, [
9399
- r.noMoreLabel ? (c(), h("span", C4, z(r.noMoreLabel), 1)) : (c(), h("span", _4))
9399
+ r.noMoreLabel ? (c(), h("span", C4, z(r.noMoreLabel), 1)) : r.isEditable ? (c(), h("span", _4)) : k("", !0)
9400
9400
  ]))
9401
9401
  ]),
9402
9402
  _: 1
@@ -9408,9 +9408,9 @@ const v4 = {
9408
9408
  "icon-name": "AddBoxOutlineRounded",
9409
9409
  label: r.footerLabel,
9410
9410
  onClick: d[1] || (d[1] = (u) => r.$emit("add"))
9411
- }, null, 8, ["label"])) : A("", !0)
9411
+ }, null, 8, ["label"])) : k("", !0)
9412
9412
  ])
9413
- ])) : A("", !0)
9413
+ ])) : k("", !0)
9414
9414
  ]));
9415
9415
  }
9416
9416
  });
@@ -9576,7 +9576,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
9576
9576
  e("addFiles", y);
9577
9577
  }, b = (y) => {
9578
9578
  e("removeFile", y);
9579
- }, k = (y) => {
9579
+ }, A = (y) => {
9580
9580
  i.value && e("addComment", {
9581
9581
  ...y,
9582
9582
  activityId: i.value.id
@@ -9633,7 +9633,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
9633
9633
  "onUpdate:isLeft": Y[0] || (Y[0] = (Z) => {
9634
9634
  Z && y.$router.push({ name: q(Re).project });
9635
9635
  })
9636
- }, null, 8, ["right-label", "left-label"])) : A("", !0),
9636
+ }, null, 8, ["right-label", "left-label"])) : k("", !0),
9637
9637
  T($4, {
9638
9638
  "model-value": y.searchText,
9639
9639
  placeholder: y.$t("feed.search.placeholder"),
@@ -9641,7 +9641,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
9641
9641
  "onUpdate:modelValue": K,
9642
9642
  onClear: D
9643
9643
  }, null, 8, ["model-value", "placeholder"]),
9644
- t.project ? A("", !0) : (c(), N(ye, {
9644
+ t.project ? k("", !0) : (c(), N(ye, {
9645
9645
  key: 1,
9646
9646
  "model-value": y.filters[q(ut).project],
9647
9647
  mode: "tags",
@@ -9662,7 +9662,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
9662
9662
  class: "ao-feed__filter ao-feed__filter__types",
9663
9663
  placeholder: y.$t("feed.filters.activityType.placeholder"),
9664
9664
  "onUpdate:modelValue": Y[2] || (Y[2] = (Z) => p(q(ut).type, Z))
9665
- }, null, 8, ["model-value", "options", "placeholder"])) : A("", !0),
9665
+ }, null, 8, ["model-value", "options", "placeholder"])) : k("", !0),
9666
9666
  T(ye, {
9667
9667
  "model-value": y.filters[q(ut).assignee],
9668
9668
  mode: "tags",
@@ -9734,7 +9734,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
9734
9734
  onDeleteSubtask: I,
9735
9735
  onAddFiles: ee,
9736
9736
  onRemoveFile: b,
9737
- onAddComment: k,
9737
+ onAddComment: A,
9738
9738
  onUpdateComment: P,
9739
9739
  onRemoveComment: ue
9740
9740
  }, {
@@ -9752,7 +9752,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
9752
9752
  caret: y.isEditable,
9753
9753
  onChange: ie
9754
9754
  }, null, 8, ["options", "value", "disabled", "caret"])
9755
- ])) : A("", !0),
9755
+ ])) : k("", !0),
9756
9756
  le.value ? (c(), h("label", V4, [
9757
9757
  v("span", D4, z(y.$t("activity.milestone.label")), 1),
9758
9758
  T(ye, {
@@ -9763,7 +9763,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
9763
9763
  caret: y.isEditable,
9764
9764
  onChange: O
9765
9765
  }, null, 8, ["options", "value", "disabled", "caret"])
9766
- ])) : A("", !0),
9766
+ ])) : k("", !0),
9767
9767
  L.value ? (c(), h("label", H4, [
9768
9768
  v("span", P4, z(y.$t("activity.status.label")), 1),
9769
9769
  T(ye, {
@@ -9775,7 +9775,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
9775
9775
  caret: y.isEditable,
9776
9776
  onChange: W
9777
9777
  }, null, 8, ["options", "value", "disabled", "caret"])
9778
- ])) : A("", !0)
9778
+ ])) : k("", !0)
9779
9779
  ])
9780
9780
  ];
9781
9781
  }),
@@ -9799,7 +9799,7 @@ const S4 = { class: "ao-feed" }, T4 = { class: "ao-feed__filters" }, E4 = { clas
9799
9799
  ])
9800
9800
  ]),
9801
9801
  _: 1
9802
- }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : A("", !0)
9802
+ }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable"])) : k("", !0)
9803
9803
  ]))
9804
9804
  ]);
9805
9805
  };