@26lights/orcha 0.41.94 → 0.41.95

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 p, createBlock as B, unref as J, mergeProps as Me, createElementBlock as C, createElementVNode as f, pushScopeId as Do, popScopeId as Bo, createStaticVNode as Ro, computed as M, resolveDynamicComponent as mt, normalizeClass as Q, renderSlot as ae, toDisplayString as Y, createCommentVNode as E, ref as q, watch as ce, nextTick as $e, withKeys as pt, toHandlers as jo, withCtx as F, createTextVNode as qa, createVNode as T, normalizeStyle as We, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as Ce, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as jt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as No, onUpdated as Uo, vModelText as Ze, resolveComponent as ut, vModelCheckbox as Fo, getCurrentScope as Zo, onScopeDispose as Wo, toHandlerKey as zo } from "vue";
1
+ import { defineComponent as x, openBlock as p, createBlock as D, unref as J, mergeProps as Me, createElementBlock as C, createElementVNode as f, pushScopeId as Do, popScopeId as Bo, createStaticVNode as Ro, computed as M, resolveDynamicComponent as mt, normalizeClass as Q, renderSlot as ae, toDisplayString as Y, createCommentVNode as E, ref as q, watch as ce, nextTick as $e, withKeys as pt, toHandlers as jo, withCtx as F, createTextVNode as qa, createVNode as T, normalizeStyle as We, withModifiers as ve, createSlots as fa, Fragment as fe, renderList as Ce, onMounted as It, onBeforeUnmount as Ts, onUnmounted as Os, Teleport as Tt, toRefs as Ee, getCurrentInstance as Lt, toRef as jt, normalizeProps as ha, guardReactiveProps as ma, withDirectives as De, vShow as No, onUpdated as Uo, vModelText as Ze, resolveComponent as ut, vModelCheckbox as Fo, getCurrentScope as Zo, onScopeDispose as Wo, toHandlerKey as zo } from "vue";
2
2
  import { RouterView as qo, useRoute as Yo, useRouter as Es } from "vue-router";
3
3
  import gt from "vuedraggable";
4
4
  const a8 = /* @__PURE__ */ x({
@@ -7,7 +7,7 @@ const a8 = /* @__PURE__ */ x({
7
7
  templates: {}
8
8
  },
9
9
  setup(t) {
10
- return (e, a) => (p(), B(J(qo), Me({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, a) => (p(), D(J(qo), Me({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
11
11
  }
12
12
  }), W = (t, e) => {
13
13
  const a = t.__vccOpts || t;
@@ -1168,7 +1168,7 @@ const Pn = {
1168
1168
  },
1169
1169
  setup(t) {
1170
1170
  const e = t, a = M(() => L2[e.name]);
1171
- return (s, n) => (p(), B(mt(a.value), {
1171
+ return (s, n) => (p(), D(mt(a.value), {
1172
1172
  class: Q(["ao-icon", `ao-icon--${s.size}`])
1173
1173
  }, null, 8, ["class"]));
1174
1174
  }
@@ -1208,7 +1208,7 @@ const D2 = ["type"], B2 = {
1208
1208
  ae(n.$slots, "default", {}, () => [
1209
1209
  n.label ? (p(), C("span", B2, Y(n.label), 1)) : E("", !0)
1210
1210
  ]),
1211
- s.value ? (p(), B(pe, {
1211
+ s.value ? (p(), D(pe, {
1212
1212
  key: 0,
1213
1213
  name: s.value,
1214
1214
  class: "ao-button__icon",
@@ -1280,7 +1280,7 @@ const be = /* @__PURE__ */ x({
1280
1280
  (_) => {
1281
1281
  _ || c();
1282
1282
  }
1283
- ), (_, g) => (p(), B(mt(r.value), Me({
1283
+ ), (_, g) => (p(), D(mt(r.value), Me({
1284
1284
  id: _.id,
1285
1285
  ref_key: "target",
1286
1286
  ref: s,
@@ -1346,7 +1346,7 @@ const R2 = {
1346
1346
  const a = (s) => {
1347
1347
  e("update:title", s);
1348
1348
  };
1349
- return (s, n) => (p(), B(mt(s.tagName), {
1349
+ return (s, n) => (p(), D(mt(s.tagName), {
1350
1350
  class: Q(["ao-card-horiz", { "ao-card-horiz--active": s.isActive }])
1351
1351
  }, {
1352
1352
  default: F(() => [
@@ -1421,12 +1421,12 @@ const ra = /* @__PURE__ */ x({
1421
1421
  ]),
1422
1422
  style: We(n.rawColor ? { "--ao-tag-bg": n.rawColor } : {})
1423
1423
  }, [
1424
- (p(), B(mt(a.value), Me({ class: "ao-tag__label" }, s.value, {
1424
+ (p(), D(mt(a.value), Me({ class: "ao-tag__label" }, s.value, {
1425
1425
  onClick: i[0] || (i[0] = (o) => n.$emit("click", o))
1426
1426
  }), {
1427
1427
  default: F(() => [
1428
1428
  qa(Y(n.label) + " ", 1),
1429
- n.variant === J(V2).SOLID_ICON && n.iconName ? (p(), B(pe, {
1429
+ n.variant === J(V2).SOLID_ICON && n.iconName ? (p(), D(pe, {
1430
1430
  key: 0,
1431
1431
  name: n.iconName,
1432
1432
  class: "ao-tag__icon",
@@ -2736,15 +2736,15 @@ var o3 = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, i3 = /P+p+|P+|
2736
2736
  function Zn(t, e, a) {
2737
2737
  var s, n, i, o, l, r, d, u, c, v, h, w, _, g, $, b, m, I;
2738
2738
  _e(2, arguments);
2739
- var P = String(e), A = ga(), D = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : A.locale) !== null && s !== void 0 ? s : Fn, R = Je((i = (o = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : A.firstWeekContainsDate) !== null && o !== void 0 ? o : (c = A.locale) === null || c === void 0 || (v = c.options) === null || v === void 0 ? void 0 : v.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
2739
+ var P = String(e), A = ga(), B = (s = (n = a == null ? void 0 : a.locale) !== null && n !== void 0 ? n : A.locale) !== null && s !== void 0 ? s : Fn, R = Je((i = (o = (l = (r = a == null ? void 0 : a.firstWeekContainsDate) !== null && r !== void 0 ? r : a == null || (d = a.locale) === null || d === void 0 || (u = d.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && l !== void 0 ? l : A.firstWeekContainsDate) !== null && o !== void 0 ? o : (c = A.locale) === null || c === void 0 || (v = c.options) === null || v === void 0 ? void 0 : v.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
2740
2740
  if (!(R >= 1 && R <= 7))
2741
2741
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
2742
2742
  var Z = Je((h = (w = (_ = (g = a == null ? void 0 : a.weekStartsOn) !== null && g !== void 0 ? g : a == null || ($ = a.locale) === null || $ === void 0 || (b = $.options) === null || b === void 0 ? void 0 : b.weekStartsOn) !== null && _ !== void 0 ? _ : A.weekStartsOn) !== null && w !== void 0 ? w : (m = A.locale) === null || m === void 0 || (I = m.options) === null || I === void 0 ? void 0 : I.weekStartsOn) !== null && h !== void 0 ? h : 0);
2743
2743
  if (!(Z >= 0 && Z <= 6))
2744
2744
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
2745
- if (!D.localize)
2745
+ if (!B.localize)
2746
2746
  throw new RangeError("locale must contain localize property");
2747
- if (!D.formatLong)
2747
+ if (!B.formatLong)
2748
2748
  throw new RangeError("locale must contain formatLong property");
2749
2749
  var K = ke(t);
2750
2750
  if (!Rn(K))
@@ -2752,13 +2752,13 @@ function Zn(t, e, a) {
2752
2752
  var te = ua(K), N = ws(K, te), G = {
2753
2753
  firstWeekContainsDate: R,
2754
2754
  weekStartsOn: Z,
2755
- locale: D,
2755
+ locale: B,
2756
2756
  _originalDate: K
2757
2757
  }, ie = P.match(i3).map(function(se) {
2758
2758
  var ee = se[0];
2759
2759
  if (ee === "p" || ee === "P") {
2760
2760
  var L = m0[ee];
2761
- return L(se, D.formatLong);
2761
+ return L(se, B.formatLong);
2762
2762
  }
2763
2763
  return se;
2764
2764
  }).join("").match(o3).map(function(se) {
@@ -2769,7 +2769,7 @@ function Zn(t, e, a) {
2769
2769
  return c3(se);
2770
2770
  var L = v0[ee];
2771
2771
  if (L)
2772
- return !(a != null && a.useAdditionalWeekYearTokens) && y0(se) && mn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && _0(se) && mn(se, e, String(t)), L(N, se, D.localize, G);
2772
+ return !(a != null && a.useAdditionalWeekYearTokens) && y0(se) && mn(se, e, String(t)), !(a != null && a.useAdditionalDayOfYearTokens) && _0(se) && mn(se, e, String(t)), L(N, se, B.localize, G);
2773
2773
  if (ee.match(u3))
2774
2774
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + ee + "`");
2775
2775
  return se;
@@ -3753,7 +3753,7 @@ const U3 = ["title"], F3 = {
3753
3753
  className: "ao-avatar__image",
3754
3754
  src: o.avatarUrl
3755
3755
  }, null, 8, Z3)) : E("", !0),
3756
- o.isClosable ? (p(), B(re, {
3756
+ o.isClosable ? (p(), D(re, {
3757
3757
  key: 2,
3758
3758
  "icon-name": "CloseRounded",
3759
3759
  class: "ao-avatar__close",
@@ -3794,7 +3794,7 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
3794
3794
  var l;
3795
3795
  return ((l = a.phases) == null ? void 0 : l.slice(0, _s)) ?? [];
3796
3796
  }), o = M(() => a.phases && a.phases.length > _s ? a.phases.length - _s : 0);
3797
- return (l, r) => (p(), B(Vn, {
3797
+ return (l, r) => (p(), D(Vn, {
3798
3798
  id: l.id,
3799
3799
  title: l.title,
3800
3800
  "is-draggable": !0,
@@ -3829,13 +3829,13 @@ const W3 = { class: "ao-card-template__subitems" }, z3 = { class: "ao-card-templ
3829
3829
  f("span", Q3, Y(l.$t("template.phases.title")), 1)
3830
3830
  ]),
3831
3831
  l.phases ? (p(), C("ul", J3, [
3832
- (p(!0), C(fe, null, Ce(i.value, (d) => (p(), B(ra, {
3832
+ (p(!0), C(fe, null, Ce(i.value, (d) => (p(), D(ra, {
3833
3833
  key: d.id,
3834
3834
  label: d.name || d.id,
3835
3835
  color: "primary",
3836
3836
  variant: "solid"
3837
3837
  }, null, 8, ["label"]))), 128)),
3838
- o.value > 0 ? (p(), B(ra, {
3838
+ o.value > 0 ? (p(), D(ra, {
3839
3839
  key: 0,
3840
3840
  label: `+${o.value} more`,
3841
3841
  color: "primary-lighter",
@@ -3897,7 +3897,7 @@ const d5 = { class: "ao-page-header" }, p5 = { class: "ao-page-header-main" }, v
3897
3897
  setup(t) {
3898
3898
  return (e, a) => (p(), C("header", d5, [
3899
3899
  f("div", p5, [
3900
- e.canGoBack ? (p(), B(re, {
3900
+ e.canGoBack ? (p(), D(re, {
3901
3901
  key: 0,
3902
3902
  "icon-name": "ArrowBackRounded",
3903
3903
  variant: "ghost",
@@ -3940,7 +3940,7 @@ const f5 = ["type"], h5 = {
3940
3940
  ae(n.$slots, "default", {}, () => [
3941
3941
  n.label ? (p(), C("span", h5, Y(n.label), 1)) : E("", !0)
3942
3942
  ]),
3943
- s.value ? (p(), B(pe, {
3943
+ s.value ? (p(), D(pe, {
3944
3944
  key: 0,
3945
3945
  name: s.value,
3946
3946
  class: "ao-button-card__icon",
@@ -3972,7 +3972,7 @@ const m5 = { class: "ao-card-template-item__footer" }, g5 = {
3972
3972
  }, i = () => {
3973
3973
  e("remove");
3974
3974
  };
3975
- return (o, l) => (p(), B(Vn, { "onUpdate:title": a }, {
3975
+ return (o, l) => (p(), D(Vn, { "onUpdate:title": a }, {
3976
3976
  footer: F(() => [
3977
3977
  f("ul", m5, [
3978
3978
  (p(), C(fe, null, Ce(s, (r) => (p(), C(fe, { key: r }, [
@@ -4013,7 +4013,7 @@ const y5 = /* @__PURE__ */ x({
4013
4013
  var n;
4014
4014
  return (n = e.milestones) == null ? void 0 : n.length;
4015
4015
  }), s = M(() => e.milestones ? Kn(e.milestones) : 0);
4016
- return (n, i) => (p(), B(Vs, Me({
4016
+ return (n, i) => (p(), D(Vs, Me({
4017
4017
  id: n.id,
4018
4018
  title: n.name,
4019
4019
  activities: s.value,
@@ -4035,7 +4035,7 @@ const y5 = /* @__PURE__ */ x({
4035
4035
  var s;
4036
4036
  return ((s = e.activities) == null ? void 0 : s.length) || 0;
4037
4037
  });
4038
- return (s, n) => (p(), B(Vs, { activities: a.value }, {
4038
+ return (s, n) => (p(), D(Vs, { activities: a.value }, {
4039
4039
  default: F(() => [
4040
4040
  ae(s.$slots, "default")
4041
4041
  ]),
@@ -4066,7 +4066,7 @@ const y5 = /* @__PURE__ */ x({
4066
4066
  });
4067
4067
  }
4068
4068
  };
4069
- return (l, r) => l.phase ? (p(), B(J(gt), {
4069
+ return (l, r) => l.phase ? (p(), D(J(gt), {
4070
4070
  key: 0,
4071
4071
  "model-value": l.phase.milestones,
4072
4072
  class: "ao-templates__list",
@@ -4083,7 +4083,7 @@ const y5 = /* @__PURE__ */ x({
4083
4083
  })
4084
4084
  ]),
4085
4085
  item: F(({ element: d }) => [
4086
- (p(), B(b5, {
4086
+ (p(), D(b5, {
4087
4087
  id: d.id,
4088
4088
  key: d.id,
4089
4089
  title: d.name,
@@ -4122,7 +4122,7 @@ const y5 = /* @__PURE__ */ x({
4122
4122
  var s;
4123
4123
  return ((s = e.tasks) == null ? void 0 : s.length) || 0;
4124
4124
  });
4125
- return (s, n) => (p(), B(Vs, { tasks: a.value }, {
4125
+ return (s, n) => (p(), D(Vs, { tasks: a.value }, {
4126
4126
  default: F(() => [
4127
4127
  ae(s.$slots, "default")
4128
4128
  ]),
@@ -4156,7 +4156,7 @@ const y5 = /* @__PURE__ */ x({
4156
4156
  });
4157
4157
  }
4158
4158
  };
4159
- return (l, r) => l.milestone ? (p(), B(J(gt), {
4159
+ return (l, r) => l.milestone ? (p(), D(J(gt), {
4160
4160
  key: 0,
4161
4161
  "model-value": l.milestone.activities,
4162
4162
  title: l.$t("template.activities.title"),
@@ -4173,7 +4173,7 @@ const y5 = /* @__PURE__ */ x({
4173
4173
  })
4174
4174
  ]),
4175
4175
  item: F(({ element: d }) => [
4176
- (p(), B(k5, {
4176
+ (p(), D(k5, {
4177
4177
  id: d.id,
4178
4178
  key: d.id,
4179
4179
  title: d.name,
@@ -4515,16 +4515,16 @@ const Z5 = function(t) {
4515
4515
  return {};
4516
4516
  const $ = Zt(n), b = Zt(l) === l, m = await (r.isRTL == null ? void 0 : r.isRTL(d.floating)), I = v || (b || !_ ? [Fa(l)] : B5(l));
4517
4517
  !v && w !== "none" && I.push(...j5(l, _, w, m));
4518
- const P = [l, ...I], A = await Jn(e, g), D = [];
4518
+ const P = [l, ...I], A = await Jn(e, g), B = [];
4519
4519
  let R = ((s = i.flip) == null ? void 0 : s.overflows) || [];
4520
- if (u && D.push(A[$]), c) {
4520
+ if (u && B.push(A[$]), c) {
4521
4521
  const N = D5(n, o, m);
4522
- D.push(A[N[0]], A[N[1]]);
4522
+ B.push(A[N[0]], A[N[1]]);
4523
4523
  }
4524
4524
  if (R = [...R, {
4525
4525
  placement: n,
4526
- overflows: D
4527
- }], !D.every((N) => N <= 0)) {
4526
+ overflows: B
4527
+ }], !B.every((N) => N <= 0)) {
4528
4528
  var Z, K;
4529
4529
  const N = (((Z = i.flip) == null ? void 0 : Z.index) || 0) + 1, G = P[N];
4530
4530
  if (G)
@@ -4590,8 +4590,8 @@ const Z5 = function(t) {
4590
4590
  m = u || b ? da(g, A) : A;
4591
4591
  }
4592
4592
  if (b && !u) {
4593
- const A = He(r.left, 0), D = He(r.right, 0), R = He(r.top, 0), Z = He(r.bottom, 0);
4594
- c ? I = v - 2 * (A !== 0 || D !== 0 ? A + D : He(r.left, r.right)) : m = h - 2 * (R !== 0 || Z !== 0 ? R + Z : He(r.top, r.bottom));
4593
+ const A = He(r.left, 0), B = He(r.right, 0), R = He(r.top, 0), Z = He(r.bottom, 0);
4594
+ c ? I = v - 2 * (A !== 0 || B !== 0 ? A + B : He(r.left, r.right)) : m = h - 2 * (R !== 0 || Z !== 0 ? R + Z : He(r.top, r.bottom));
4595
4595
  }
4596
4596
  await o({
4597
4597
  ...e,
@@ -5196,7 +5196,7 @@ function g7(t, e, a) {
5196
5196
  clearOnSearch: I,
5197
5197
  clearOnSelect: P,
5198
5198
  valueProp: A,
5199
- allowAbsent: D,
5199
+ allowAbsent: B,
5200
5200
  groupLabel: R,
5201
5201
  canDeselect: Z,
5202
5202
  max: K,
@@ -5435,11 +5435,11 @@ function g7(t, e, a) {
5435
5435
  });
5436
5436
  }, Ho = (S) => {
5437
5437
  Ta(S);
5438
- }, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : w.value ? S : n.value === "single" ? Ge(S) || (D.value ? {
5438
+ }, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : w.value ? S : n.value === "single" ? Ge(S) || (B.value ? {
5439
5439
  [u.value]: S,
5440
5440
  [A.value]: S,
5441
5441
  [wt.value[0]]: S
5442
- } : {}) : S.filter((j) => !!Ge(j) || D.value).map((j) => Ge(j) || {
5442
+ } : {}) : S.filter((j) => !!Ge(j) || B.value).map((j) => Ge(j) || {
5443
5443
  [u.value]: j,
5444
5444
  [A.value]: j,
5445
5445
  [wt.value[0]]: j
@@ -5524,17 +5524,17 @@ function C7(t, e, a) {
5524
5524
  groupSelect: d,
5525
5525
  disabledProp: u,
5526
5526
  groupOptions: c
5527
- } = Ee(t), v = a.fo, h = a.fg, w = a.handleOptionClick, _ = a.handleGroupClick, g = a.search, $ = a.pointer, b = a.setPointer, m = a.clearPointer, I = a.multiselect, P = a.isOpen, A = M(() => v.value.filter((H) => !H[u.value])), D = M(() => h.value.filter((H) => !H[u.value])), R = M(() => r.value !== "single" && d.value), Z = M(() => $.value && $.value.group), K = M(() => ne($.value)), te = M(() => {
5527
+ } = Ee(t), v = a.fo, h = a.fg, w = a.handleOptionClick, _ = a.handleGroupClick, g = a.search, $ = a.pointer, b = a.setPointer, m = a.clearPointer, I = a.multiselect, P = a.isOpen, A = M(() => v.value.filter((H) => !H[u.value])), B = M(() => h.value.filter((H) => !H[u.value])), R = M(() => r.value !== "single" && d.value), Z = M(() => $.value && $.value.group), K = M(() => ne($.value)), te = M(() => {
5528
5528
  const H = Z.value ? $.value : (
5529
5529
  /* istanbul ignore next */
5530
5530
  ne($.value)
5531
- ), X = D.value.map((Se) => Se[o.value]).indexOf(H[o.value]);
5532
- let he = D.value[X - 1];
5531
+ ), X = B.value.map((Se) => Se[o.value]).indexOf(H[o.value]);
5532
+ let he = B.value[X - 1];
5533
5533
  return he === void 0 && (he = G.value), he;
5534
5534
  }), N = M(() => {
5535
- let H = D.value.map((X) => X.label).indexOf(Z.value ? $.value[o.value] : ne($.value)[o.value]) + 1;
5536
- return D.value.length <= H && (H = 0), D.value[H];
5537
- }), G = M(() => [...D.value].slice(-1)[0]), ie = M(() => $.value.__VISIBLE__.filter((H) => !H[u.value])[0]), se = M(() => {
5535
+ let H = B.value.map((X) => X.label).indexOf(Z.value ? $.value[o.value] : ne($.value)[o.value]) + 1;
5536
+ return B.value.length <= H && (H = 0), B.value[H];
5537
+ }), G = M(() => [...B.value].slice(-1)[0]), ie = M(() => $.value.__VISIBLE__.filter((H) => !H[u.value])[0]), se = M(() => {
5538
5538
  const H = K.value.__VISIBLE__.filter((X) => !X[u.value]);
5539
5539
  return H[H.map((X) => X[s.value]).indexOf($.value[s.value]) - 1];
5540
5540
  }), ee = M(() => {
@@ -5546,7 +5546,7 @@ function C7(t, e, a) {
5546
5546
  !$.value || $.value[u.value] === !0 || (Z.value ? _($.value) : w($.value));
5547
5547
  }, V = () => {
5548
5548
  if ($.value === null)
5549
- b((l.value && R.value ? D.value[0].__CREATE__ ? A.value[0] : D.value[0] : A.value[0]) || null);
5549
+ b((l.value && R.value ? B.value[0].__CREATE__ ? A.value[0] : B.value[0] : A.value[0]) || null);
5550
5550
  else if (l.value && R.value) {
5551
5551
  let H = Z.value ? ie.value : ee.value;
5552
5552
  H === void 0 && (H = N.value, H.__CREATE__ && (H = H[c.value][0])), b(H || /* istanbul ignore next */
@@ -5573,7 +5573,7 @@ function C7(t, e, a) {
5573
5573
  $e(() => {
5574
5574
  z();
5575
5575
  });
5576
- }, ne = (H) => D.value.find((X) => X.__VISIBLE__.map((he) => he[s.value]).indexOf(H[s.value]) !== -1), z = () => {
5576
+ }, ne = (H) => B.value.find((X) => X.__VISIBLE__.map((he) => he[s.value]).indexOf(H[s.value]) !== -1), z = () => {
5577
5577
  let H = I.value.querySelector("[data-pointed]");
5578
5578
  if (!H)
5579
5579
  return;
@@ -5961,12 +5961,12 @@ function K7(t, e) {
5961
5961
  }
5962
5962
  function qs(t, e) {
5963
5963
  e === void 0 && (e = {});
5964
- var a = e, s = a.placement, n = s === void 0 ? t.placement : s, i = a.strategy, o = i === void 0 ? t.strategy : i, l = a.boundary, r = l === void 0 ? S7 : l, d = a.rootBoundary, u = d === void 0 ? co : d, c = a.elementContext, v = c === void 0 ? oa : c, h = a.altBoundary, w = h === void 0 ? !1 : h, _ = a.padding, g = _ === void 0 ? 0 : _, $ = x7(typeof g != "number" ? g : K7(g, os)), b = v === oa ? A7 : oa, m = t.rects.popper, I = t.elements[w ? b : v], P = Y7(Et(I) ? I : I.contextElement || _t(t.elements.popper), r, u, o), A = qt(t.elements.reference), D = vo({
5964
+ var a = e, s = a.placement, n = s === void 0 ? t.placement : s, i = a.strategy, o = i === void 0 ? t.strategy : i, l = a.boundary, r = l === void 0 ? S7 : l, d = a.rootBoundary, u = d === void 0 ? co : d, c = a.elementContext, v = c === void 0 ? oa : c, h = a.altBoundary, w = h === void 0 ? !1 : h, _ = a.padding, g = _ === void 0 ? 0 : _, $ = x7(typeof g != "number" ? g : K7(g, os)), b = v === oa ? A7 : oa, m = t.rects.popper, I = t.elements[w ? b : v], P = Y7(Et(I) ? I : I.contextElement || _t(t.elements.popper), r, u, o), A = qt(t.elements.reference), B = vo({
5965
5965
  reference: A,
5966
5966
  element: m,
5967
5967
  strategy: "absolute",
5968
5968
  placement: n
5969
- }), R = Ss(Object.assign({}, m, D)), Z = v === oa ? R : A, K = {
5969
+ }), R = Ss(Object.assign({}, m, B)), Z = v === oa ? R : A, K = {
5970
5970
  top: P.top - Z.top + $.top,
5971
5971
  bottom: Z.bottom - P.bottom + $.bottom,
5972
5972
  left: P.left - Z.left + $.left,
@@ -6042,7 +6042,7 @@ function G7(t) {
6042
6042
  u.reset = !1, I = -1;
6043
6043
  continue;
6044
6044
  }
6045
- var P = u.orderedModifiers[I], A = P.fn, D = P.options, R = D === void 0 ? {} : D, Z = P.name;
6045
+ var P = u.orderedModifiers[I], A = P.fn, B = P.options, R = B === void 0 ? {} : B, Z = P.name;
6046
6046
  typeof A == "function" && (u = A({
6047
6047
  state: u,
6048
6048
  options: R,
@@ -6153,12 +6153,12 @@ function Tn(t) {
6153
6153
  h = g.x, _ = g.y;
6154
6154
  var $ = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), m = Xe, I = Ne, P = window;
6155
6155
  if (d) {
6156
- var A = ns(a), D = "clientHeight", R = "clientWidth";
6157
- if (A === Oe(a) && (A = _t(a), at(A).position !== "static" && l === "absolute" && (D = "scrollHeight", R = "scrollWidth")), A = A, n === Ne || (n === Xe || n === ht) && i === va) {
6156
+ var A = ns(a), B = "clientHeight", R = "clientWidth";
6157
+ if (A === Oe(a) && (A = _t(a), at(A).position !== "static" && l === "absolute" && (B = "scrollHeight", R = "scrollWidth")), A = A, n === Ne || (n === Xe || n === ht) && i === va) {
6158
6158
  I = Ye;
6159
6159
  var Z = c && A === P && P.visualViewport ? P.visualViewport.height : (
6160
6160
  // $FlowFixMe[prop-missing]
6161
- A[D]
6161
+ A[B]
6162
6162
  );
6163
6163
  _ -= Z - s.height, _ *= r ? 1 : -1;
6164
6164
  }
@@ -6276,7 +6276,7 @@ function pp(t) {
6276
6276
  rootBoundary: d,
6277
6277
  padding: c,
6278
6278
  altBoundary: u
6279
- }), $ = dt(e.placement), b = xt(e.placement), m = !b, I = po($), P = cp(I), A = e.modifiersData.popperOffsets, D = e.rects.reference, R = e.rects.popper, Z = typeof _ == "function" ? _(Object.assign({}, e.rects, {
6279
+ }), $ = dt(e.placement), b = xt(e.placement), m = !b, I = po($), P = cp(I), A = e.modifiersData.popperOffsets, B = e.rects.reference, R = e.rects.popper, Z = typeof _ == "function" ? _(Object.assign({}, e.rects, {
6280
6280
  placement: e.placement
6281
6281
  })) : _, K = typeof Z == "number" ? {
6282
6282
  mainAxis: Z,
@@ -6290,14 +6290,14 @@ function pp(t) {
6290
6290
  };
6291
6291
  if (A) {
6292
6292
  if (i) {
6293
- var G, ie = I === "y" ? Ne : Xe, se = I === "y" ? Ye : ht, ee = I === "y" ? "height" : "width", L = A[I], O = L + g[ie], k = L - g[se], U = h ? -R[ee] / 2 : 0, y = b === Yt ? D[ee] : R[ee], V = b === Yt ? -R[ee] : -D[ee], le = e.elements.arrow, ne = h && le ? ro(le) : {
6293
+ var G, ie = I === "y" ? Ne : Xe, se = I === "y" ? Ye : ht, ee = I === "y" ? "height" : "width", L = A[I], O = L + g[ie], k = L - g[se], U = h ? -R[ee] / 2 : 0, y = b === Yt ? B[ee] : R[ee], V = b === Yt ? -R[ee] : -B[ee], le = e.elements.arrow, ne = h && le ? ro(le) : {
6294
6294
  width: 0,
6295
6295
  height: 0
6296
- }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : fo(), H = z[ie], X = z[se], he = Va(0, D[ee], ne[ee]), Se = m ? D[ee] / 2 - U - he - H - K.mainAxis : y - he - H - K.mainAxis, Gt = m ? -D[ee] / 2 + U + he + X + K.mainAxis : V + he + X + K.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), nt = Xt ? I === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = te == null ? void 0 : te[I]) != null ? G : 0, rs = L + Se - $a - nt, ot = L + Gt - $a, ka = Va(h ? Wa(O, rs) : O, L, h ? At(k, ot) : k);
6296
+ }, z = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : fo(), H = z[ie], X = z[se], he = Va(0, B[ee], ne[ee]), Se = m ? B[ee] / 2 - U - he - H - K.mainAxis : y - he - H - K.mainAxis, Gt = m ? -B[ee] / 2 + U + he + X + K.mainAxis : V + he + X + K.mainAxis, Xt = e.elements.arrow && ns(e.elements.arrow), nt = Xt ? I === "y" ? Xt.clientTop || 0 : Xt.clientLeft || 0 : 0, $a = (G = te == null ? void 0 : te[I]) != null ? G : 0, rs = L + Se - $a - nt, ot = L + Gt - $a, ka = Va(h ? Wa(O, rs) : O, L, h ? At(k, ot) : k);
6297
6297
  A[I] = ka, N[I] = ka - L;
6298
6298
  }
6299
6299
  if (l) {
6300
- var it, Ue = I === "x" ? Ne : Xe, Ie = I === "x" ? Ye : ht, je = A[P], xe = P === "y" ? "height" : "width", Qt = je + g[Ue], Sa = je - g[Ie], Le = [Ne, Xe].indexOf($) !== -1, Jt = (it = te == null ? void 0 : te[P]) != null ? it : 0, lt = Le ? Qt : je - D[xe] - R[xe] - Jt + K.altAxis, bt = Le ? je + D[xe] + R[xe] - Jt - K.altAxis : Sa, Aa = h && Le ? dp(lt, je, bt) : Va(h ? lt : Qt, je, h ? bt : Sa);
6300
+ var it, Ue = I === "x" ? Ne : Xe, Ie = I === "x" ? Ye : ht, je = A[P], xe = P === "y" ? "height" : "width", Qt = je + g[Ue], Sa = je - g[Ie], Le = [Ne, Xe].indexOf($) !== -1, Jt = (it = te == null ? void 0 : te[P]) != null ? it : 0, lt = Le ? Qt : je - B[xe] - R[xe] - Jt + K.altAxis, bt = Le ? je + B[xe] + R[xe] - Jt - K.altAxis : Sa, Aa = h && Le ? dp(lt, je, bt) : Va(h ? lt : Qt, je, h ? bt : Sa);
6301
6301
  A[P] = Aa, N[P] = Aa - je;
6302
6302
  }
6303
6303
  e.modifiersData[s] = N;
@@ -6367,7 +6367,7 @@ function Cp(t) {
6367
6367
  flipVariations: w,
6368
6368
  allowedAutoPlacements: _
6369
6369
  }) : z);
6370
- }, []), P = e.rects.reference, A = e.rects.popper, D = /* @__PURE__ */ new Map(), R = !0, Z = I[0], K = 0; K < I.length; K++) {
6370
+ }, []), P = e.rects.reference, A = e.rects.popper, B = /* @__PURE__ */ new Map(), R = !0, Z = I[0], K = 0; K < I.length; K++) {
6371
6371
  var te = I[K], N = dt(te), G = xt(te) === Yt, ie = [Ne, Ye].indexOf(N) >= 0, se = ie ? "width" : "height", ee = qs(e, {
6372
6372
  placement: te,
6373
6373
  boundary: u,
@@ -6383,12 +6383,12 @@ function Cp(t) {
6383
6383
  Z = te, R = !1;
6384
6384
  break;
6385
6385
  }
6386
- D.set(te, k);
6386
+ B.set(te, k);
6387
6387
  }
6388
6388
  if (R)
6389
6389
  for (var U = w ? 3 : 1, y = function(z) {
6390
6390
  var H = I.find(function(X) {
6391
- var he = D.get(X);
6391
+ var he = B.get(X);
6392
6392
  if (he)
6393
6393
  return he.slice(0, z).every(function(Se) {
6394
6394
  return Se;
@@ -6539,14 +6539,14 @@ function wp(t, e, a) {
6539
6539
  createTag: c,
6540
6540
  createOption: v,
6541
6541
  reverse: h
6542
- } = Ee(t), w = Lt().proxy, _ = a.iv, g = a.update, $ = a.deselect, b = a.search, m = a.setPointer, I = a.selectPointer, P = a.backwardPointer, A = a.forwardPointer, D = a.multiselect, R = a.wrapper, Z = a.tags, K = a.isOpen, te = a.open, N = a.blur, G = a.fo, ie = M(() => c.value || v.value || !1), se = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6542
+ } = Ee(t), w = Lt().proxy, _ = a.iv, g = a.update, $ = a.deselect, b = a.search, m = a.setPointer, I = a.selectPointer, P = a.backwardPointer, A = a.forwardPointer, B = a.multiselect, R = a.wrapper, Z = a.tags, K = a.isOpen, te = a.open, N = a.blur, G = a.fo, ie = M(() => c.value || v.value || !1), se = M(() => n.value !== void 0 ? n.value : u.value !== void 0 ? u.value : ["enter"]), ee = () => {
6543
6543
  s.value === "tags" && !l.value && ie.value && o.value && !d.value && m(G.value[G.value.map((k) => k[r.value]).indexOf(b.value)]);
6544
6544
  };
6545
6545
  return {
6546
6546
  handleKeydown: (k) => {
6547
6547
  e.emit("keydown", k, w);
6548
6548
  let U, y;
6549
- switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(k.key) !== -1 && s.value === "tags" && (U = [...D.value.querySelectorAll("[data-tags] > *")].filter((V) => V !== Z.value), y = U.findIndex((V) => V === document.activeElement)), k.key) {
6549
+ switch (["ArrowLeft", "ArrowRight", "Enter"].indexOf(k.key) !== -1 && s.value === "tags" && (U = [...B.value.querySelectorAll("[data-tags] > *")].filter((V) => V !== Z.value), y = U.findIndex((V) => V === document.activeElement)), k.key) {
6550
6550
  case "Backspace":
6551
6551
  if (s.value === "single" || o.value && [null, ""].indexOf(b.value) === -1 || _.value.length === 0)
6552
6552
  return;
@@ -6777,7 +6777,7 @@ function Sp(t, e, a) {
6777
6777
  }), A = M(() => {
6778
6778
  let N = { ...d.value };
6779
6779
  return u.value && (N["aria-labelledby"] = N["aria-labelledby"] ? `${g.value} ${N["aria-labelledby"]}` : g.value, P.value && N["aria-label"] && (N["aria-label"] = `${P.value}, ${N["aria-label"]}`)), N;
6780
- }), D = (N) => {
6780
+ }), B = (N) => {
6781
6781
  let G = [];
6782
6782
  return n && n.value && G.push(n.value), G.push("multiselect-option"), G.push(N[i.value]), G.join("-");
6783
6783
  }, R = (N) => {
@@ -6803,7 +6803,7 @@ function Sp(t, e, a) {
6803
6803
  ariaPlaceholder: m,
6804
6804
  ariaMultiselectable: I,
6805
6805
  ariaActiveDescendant: b,
6806
- ariaOptionId: D,
6806
+ ariaOptionId: B,
6807
6807
  ariaOptionLabel: Z,
6808
6808
  ariaGroupId: R,
6809
6809
  ariaGroupLabel: K,
@@ -7482,7 +7482,7 @@ function Gp(t, e, a, s, n, i) {
7482
7482
  ]) : E("v-if", !0)
7483
7483
  ], 16, Ep),
7484
7484
  E(" Options "),
7485
- (p(), B(Tt, {
7485
+ (p(), D(Tt, {
7486
7486
  to: a.appendTo || "body",
7487
7487
  disabled: !a.appendToBody && !a.appendTo
7488
7488
  }, [
@@ -7706,7 +7706,7 @@ const Ae = /* @__PURE__ */ x({
7706
7706
  return e.detached && c7({
7707
7707
  multiselect: s,
7708
7708
  appendTo: a.value
7709
- }), (n, i) => (p(), B(J(ct), {
7709
+ }), (n, i) => (p(), D(J(ct), {
7710
7710
  ref_key: "multiselectRef",
7711
7711
  ref: s,
7712
7712
  class: "ao-multiselect"
@@ -7832,7 +7832,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
7832
7832
  key: h.id,
7833
7833
  class: "ao-subtask"
7834
7834
  }, [
7835
- ((w = c.isCheckable) == null ? void 0 : w.call(c, h)) ?? !1 ? (p(), B(re, {
7835
+ ((w = c.isCheckable) == null ? void 0 : w.call(c, h)) ?? !1 ? (p(), D(re, {
7836
7836
  key: 0,
7837
7837
  class: "ao-subtask__check",
7838
7838
  "icon-name": h.isDone ? "CheckBoxOutlineRounded" : "CheckBoxOutlineBlank",
@@ -7851,7 +7851,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
7851
7851
  onKeyup: pt(u, ["enter"])
7852
7852
  }, null, 42, ev),
7853
7853
  qa(". "),
7854
- !c.isTemplate && c.users ? (p(), B(Ae, {
7854
+ !c.isTemplate && c.users ? (p(), D(Ae, {
7855
7855
  key: 1,
7856
7856
  value: (_ = h.assignee) != null && _.id ? [h.assignee.id] : [],
7857
7857
  options: n.value,
@@ -7875,7 +7875,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
7875
7875
  ]),
7876
7876
  _: 2
7877
7877
  }, 1032, ["value", "options", "placeholder", "disabled", "caret", "onChange"])) : E("", !0),
7878
- c.isEditable ? (p(), B(re, {
7878
+ c.isEditable ? (p(), D(re, {
7879
7879
  key: 2,
7880
7880
  class: "ao-subtask__delete",
7881
7881
  "icon-name": "CancelRounded",
@@ -7888,7 +7888,7 @@ const Qp = { class: "ao-tasks" }, Jp = { class: "ao-tasks__list" }, ev = ["id",
7888
7888
  }), 128))
7889
7889
  ]),
7890
7890
  f("div", tv, [
7891
- c.isEditable ? (p(), B(re, {
7891
+ c.isEditable ? (p(), D(re, {
7892
7892
  key: 0,
7893
7893
  label: c.$t("activity.tasks.add"),
7894
7894
  "icon-name": "Add",
@@ -7978,7 +7978,7 @@ const sv = ["onDrop", "onDragenter", "onDragover", "onDragleave"], nv = { class:
7978
7978
  }),
7979
7979
  f("span", lv, Y(v.name), 1)
7980
7980
  ], 8, iv),
7981
- u.isEditable ? (p(), B(re, {
7981
+ u.isEditable ? (p(), D(re, {
7982
7982
  key: 0,
7983
7983
  class: "ao-files__delete-button",
7984
7984
  "icon-name": "DeleteOutlineRounded",
@@ -8053,7 +8053,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8053
8053
  }), (_, g) => {
8054
8054
  var $;
8055
8055
  return p(), C("li", hv, [
8056
- s.value ? (p(), B(et, {
8056
+ s.value ? (p(), D(et, {
8057
8057
  key: 0,
8058
8058
  "avatar-url": ($ = _.user) == null ? void 0 : $.avatarUrl,
8059
8059
  "user-name": s.value,
@@ -8062,7 +8062,7 @@ const hv = { class: "ao-comment" }, mv = { class: "ao-comment__created-at" }, gv
8062
8062
  f("span", mv, Y(d.value), 1),
8063
8063
  f("div", gv, [
8064
8064
  f("div", Cv, [
8065
- (p(), B(mt(u.value), {
8065
+ (p(), D(mt(u.value), {
8066
8066
  ref_key: "commentContent",
8067
8067
  ref: n,
8068
8068
  class: "ao-comment__content",
@@ -8132,8 +8132,8 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8132
8132
  emits: ["createComment", "updateComment", "removeComment"],
8133
8133
  setup(t, { emit: e }) {
8134
8134
  const a = t, s = M(() => (a.comments || []).toSorted(
8135
- (A, D) => t0(ca(A.createdAt), ca(D.createdAt))
8136
- )), n = (P) => a.users.find((D) => D.id === P), i = q();
8135
+ (A, B) => t0(ca(A.createdAt), ca(B.createdAt))
8136
+ )), n = (P) => a.users.find((B) => B.id === P), i = q();
8137
8137
  $e(() => {
8138
8138
  i.value && (i.value.scrollTop = i.value.scrollHeight);
8139
8139
  });
@@ -8155,9 +8155,9 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8155
8155
  }, u = (P) => {
8156
8156
  e("removeComment", { id: P });
8157
8157
  }, c = [{ id: "1", name: "John" }, { id: "2", name: "Jane" }], v = q(""), h = q(!1), w = q({ top: 0, left: 0 }), _ = q(), g = (P) => {
8158
- const A = P.target, D = A.selectionStart, Z = A.value.slice(0, D).match(/@(\w*)$/);
8158
+ const A = P.target, B = A.selectionStart, Z = A.value.slice(0, B).match(/@(\w*)$/);
8159
8159
  Z ? (v.value = Z[1], h.value = !0, $e(() => {
8160
- const { top: K, left: te } = I(A, D);
8160
+ const { top: K, left: te } = I(A, B);
8161
8161
  w.value = { top: K, left: te };
8162
8162
  })) : h.value = !1;
8163
8163
  }, $ = (P) => {
@@ -8175,13 +8175,13 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8175
8175
  const A = _.value;
8176
8176
  if (!A)
8177
8177
  return;
8178
- const D = A.selectionStart, R = o.value, Z = R.slice(0, D).replace(/@(\w*)$/, `@${P} `), K = R.slice(D);
8178
+ const B = A.selectionStart, R = o.value, Z = R.slice(0, B).replace(/@(\w*)$/, `@${P} `), K = R.slice(B);
8179
8179
  o.value = Z + K, h.value = !1, $e(() => {
8180
8180
  A.focus(), A.setSelectionRange(Z.length, Z.length);
8181
8181
  });
8182
8182
  };
8183
8183
  function I(P, A) {
8184
- const D = document.createElement("div"), R = document.createElement("span"), Z = window.getComputedStyle(P), K = [
8184
+ const B = document.createElement("div"), R = document.createElement("span"), Z = window.getComputedStyle(P), K = [
8185
8185
  "boxSizing",
8186
8186
  "width",
8187
8187
  "height",
@@ -8209,20 +8209,22 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8209
8209
  "letterSpacing",
8210
8210
  "wordSpacing"
8211
8211
  ];
8212
- D.style.position = "absolute", D.style.visibility = "hidden", D.style.whiteSpace = "pre-wrap", D.style.wordWrap = "break-word", D.style.overflow = "hidden", K.forEach((O) => {
8213
- D.style[O] = Z.getPropertyValue(O);
8214
- }), D.style.width = Z.getPropertyValue("width"), D.scrollTop = P.scrollTop, D.scrollLeft = P.scrollLeft;
8212
+ B.style.position = "absolute", B.style.visibility = "hidden", B.style.whiteSpace = "pre-wrap", B.style.overflow = "hidden", K.forEach((k) => {
8213
+ B.style[k] = Z.getPropertyValue(k);
8214
+ }), B.style.width = Z.getPropertyValue("width"), B.scrollTop = P.scrollTop, B.scrollLeft = P.scrollLeft;
8215
8215
  const te = P.value.substring(0, A), N = P.value.substring(A) || ".";
8216
- D.textContent = te, R.textContent = N[0], D.appendChild(R), document.body.appendChild(D);
8217
- const G = R.getBoundingClientRect(), ie = D.getBoundingClientRect(), se = P.getBoundingClientRect(), ee = G.top - ie.top + se.top - P.scrollTop, L = G.left - ie.left + se.left - P.scrollLeft;
8218
- return document.body.removeChild(D), {
8219
- top: ee + 20,
8216
+ B.textContent = te, R.textContent = N[0], B.appendChild(R), document.body.appendChild(B);
8217
+ const G = R.getBoundingClientRect(), ie = B.getBoundingClientRect(), se = P.getBoundingClientRect(), ee = G.top - ie.top + se.top - P.scrollTop, L = G.left - ie.left + se.left - P.scrollLeft;
8218
+ document.body.removeChild(B);
8219
+ const O = parseFloat(Z.lineHeight);
8220
+ return {
8221
+ top: ee + O,
8220
8222
  // adjust vertical offset for dropdown
8221
8223
  left: L
8222
8224
  };
8223
8225
  }
8224
8226
  return (P, A) => {
8225
- var D;
8227
+ var B;
8226
8228
  return p(), C("div", {
8227
8229
  ref_key: "commentsContainer",
8228
8230
  ref: i,
@@ -8262,8 +8264,8 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8262
8264
  ])
8263
8265
  ], 40, wv)
8264
8266
  ]),
8265
- ((D = s.value) == null ? void 0 : D.length) > 0 ? (p(), C("ul", Sv, [
8266
- (p(!0), C(fe, null, Ce(s.value, (R) => (p(), B(yv, {
8267
+ ((B = s.value) == null ? void 0 : B.length) > 0 ? (p(), C("ul", Sv, [
8268
+ (p(!0), C(fe, null, Ce(s.value, (R) => (p(), D(yv, {
8267
8269
  key: R.id,
8268
8270
  user: n(R.author.id),
8269
8271
  content: R.message,
@@ -8300,7 +8302,7 @@ const As = /* @__PURE__ */ x({
8300
8302
  const a = t, s = () => {
8301
8303
  e("update:modelValue", !a.modelValue);
8302
8304
  };
8303
- return (n, i) => (p(), B(re, {
8305
+ return (n, i) => (p(), D(re, {
8304
8306
  color: n.modelValue ? n.color : J(Ls).NEUTRAL,
8305
8307
  "icon-position": "start",
8306
8308
  onClick: i[0] || (i[0] = () => s())
@@ -8457,10 +8459,10 @@ const As = /* @__PURE__ */ x({
8457
8459
  e("deleteSubtask", y);
8458
8460
  };
8459
8461
  function I() {
8460
- a.userId ? D.value = [a.userId] : console.error("Failed assigning to self: userId is missing");
8462
+ a.userId ? B.value = [a.userId] : console.error("Failed assigning to self: userId is missing");
8461
8463
  }
8462
8464
  function P(y) {
8463
- D.value = [y];
8465
+ B.value = [y];
8464
8466
  }
8465
8467
  const A = M(() => {
8466
8468
  var y;
@@ -8469,7 +8471,7 @@ const As = /* @__PURE__ */ x({
8469
8471
  value: V.id,
8470
8472
  avatar: V.avatarUrl
8471
8473
  }))) || [];
8472
- }), D = M({
8474
+ }), B = M({
8473
8475
  get() {
8474
8476
  var y, V;
8475
8477
  return (y = a.activity.assignee) != null && y.id ? [(V = a.activity.assignee) == null ? void 0 : V.id] : [];
@@ -8546,7 +8548,7 @@ const As = /* @__PURE__ */ x({
8546
8548
  console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
8547
8549
  });
8548
8550
  }
8549
- return (y, V) => (p(), B(Ja, {
8551
+ return (y, V) => (p(), D(Ja, {
8550
8552
  onClose: V[10] || (V[10] = (le) => y.$emit("close"))
8551
8553
  }, {
8552
8554
  default: F(() => {
@@ -8555,7 +8557,7 @@ const As = /* @__PURE__ */ x({
8555
8557
  f("div", Tv, [
8556
8558
  f("div", Ov, [
8557
8559
  f("div", Ev, [
8558
- y.activity.slug ? (p(), B(ra, {
8560
+ y.activity.slug ? (p(), D(ra, {
8559
8561
  key: 0,
8560
8562
  label: y.activity.slug,
8561
8563
  clickable: !0,
@@ -8732,8 +8734,8 @@ const As = /* @__PURE__ */ x({
8732
8734
  }, null, 8, ["label"])
8733
8735
  ]),
8734
8736
  T(Ae, {
8735
- modelValue: D.value,
8736
- "onUpdate:modelValue": V[3] || (V[3] = (H) => D.value = H),
8737
+ modelValue: B.value,
8738
+ "onUpdate:modelValue": V[3] || (V[3] = (H) => B.value = H),
8737
8739
  class: "ao-activity-details__assignees ao-activity-details__multiselect",
8738
8740
  options: A.value,
8739
8741
  "close-on-select": !0,
@@ -8960,7 +8962,7 @@ const Of = /* @__PURE__ */ x({
8960
8962
  e("update:rule", { ...a.rule, durationUnit: $ });
8961
8963
  }
8962
8964
  }), g = M(() => Object.values(K2));
8963
- return ($, b) => (p(), B(mt($.tagName), { class: "ao-rule-line" }, {
8965
+ return ($, b) => (p(), D(mt($.tagName), { class: "ao-rule-line" }, {
8964
8966
  default: F(() => [
8965
8967
  T(J(ct), {
8966
8968
  modelValue: n.value,
@@ -9026,7 +9028,7 @@ const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rule
9026
9028
  }, s = (n) => {
9027
9029
  e("removeRule", n);
9028
9030
  };
9029
- return (n, i) => (p(), B(Ja, null, {
9031
+ return (n, i) => (p(), D(Ja, null, {
9030
9032
  header: F(() => [
9031
9033
  T(be, {
9032
9034
  title: n.$t("template.rules.title"),
@@ -9036,7 +9038,7 @@ const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rule
9036
9038
  default: F(() => [
9037
9039
  f("div", Ef, [
9038
9040
  f("ul", If, [
9039
- (p(!0), C(fe, null, Ce(n.rules, (o) => (p(), B(Of, {
9041
+ (p(!0), C(fe, null, Ce(n.rules, (o) => (p(), D(Of, {
9040
9042
  key: o.id,
9041
9043
  rule: o,
9042
9044
  "template-phases": n.templatePhases,
@@ -9258,8 +9260,8 @@ const Pf = {
9258
9260
  templateId: a.templateId,
9259
9261
  data: k
9260
9262
  });
9261
- }, D = q(!1), R = () => {
9262
- D.value = !D.value;
9263
+ }, B = q(!1), R = () => {
9264
+ B.value = !B.value;
9263
9265
  }, Z = () => {
9264
9266
  e("addRule", { templateId: a.templateId });
9265
9267
  }, K = (L) => {
@@ -9375,7 +9377,7 @@ const Pf = {
9375
9377
  }, 8, ["model-value"])
9376
9378
  ]),
9377
9379
  f("li", Rf, [
9378
- o.value ? (p(), B($5, {
9380
+ o.value ? (p(), D($5, {
9379
9381
  key: 0,
9380
9382
  "template-id": L.templateId,
9381
9383
  phase: o.value,
@@ -9387,7 +9389,7 @@ const Pf = {
9387
9389
  }, null, 8, ["template-id", "phase", "milestone-id"])) : E("", !0)
9388
9390
  ]),
9389
9391
  f("li", jf, [
9390
- o.value && l.value ? (p(), B(A5, {
9392
+ o.value && l.value ? (p(), D(A5, {
9391
9393
  key: 0,
9392
9394
  "template-id": L.templateId,
9393
9395
  "phase-id": (U = o.value) == null ? void 0 : U.id,
@@ -9400,8 +9402,8 @@ const Pf = {
9400
9402
  ])
9401
9403
  ])
9402
9404
  ]),
9403
- (p(), B(Tt, { to: "body" }, [
9404
- u.value ? (p(), B(Ys, {
9405
+ (p(), D(Tt, { to: "body" }, [
9406
+ u.value ? (p(), D(Ys, {
9405
9407
  key: 0,
9406
9408
  activity: u.value,
9407
9409
  "activity-types": L.activityTypes,
@@ -9429,8 +9431,8 @@ const Pf = {
9429
9431
  _: 3
9430
9432
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : E("", !0)
9431
9433
  ])),
9432
- (p(), B(Tt, { to: "body" }, [
9433
- D.value ? (p(), B(Lf, {
9434
+ (p(), D(Tt, { to: "body" }, [
9435
+ B.value ? (p(), D(Lf, {
9434
9436
  key: 0,
9435
9437
  "template-id": n.value.id,
9436
9438
  rules: n.value.rules || [],
@@ -9462,7 +9464,7 @@ const Uf = { class: "ao-card__content" }, Ff = {
9462
9464
  withLeftBorder: { type: Boolean, default: !1 }
9463
9465
  },
9464
9466
  setup(t) {
9465
- return (e, a) => (p(), B(mt(e.tagName), {
9467
+ return (e, a) => (p(), D(mt(e.tagName), {
9466
9468
  class: Q([
9467
9469
  "ao-card",
9468
9470
  {
@@ -9626,7 +9628,7 @@ var Ks = x({
9626
9628
  });
9627
9629
  const xf = { ref: "canvasSaturation" };
9628
9630
  function Kf(t, e, a, s, n, i) {
9629
- return p(), B(
9631
+ return p(), D(
9630
9632
  "div",
9631
9633
  {
9632
9634
  class: "saturation",
@@ -9712,7 +9714,7 @@ var Gs = x({
9712
9714
  });
9713
9715
  const Gf = { ref: "canvasHue" };
9714
9716
  function Xf(t, e, a, s, n, i) {
9715
- return p(), B(
9717
+ return p(), D(
9716
9718
  "div",
9717
9719
  {
9718
9720
  class: "hue",
@@ -9807,7 +9809,7 @@ var Xs = x({
9807
9809
  });
9808
9810
  const Qf = { ref: "canvasAlpha" };
9809
9811
  function Jf(t, e, a, s, n, i) {
9810
- return p(), B(
9812
+ return p(), D(
9811
9813
  "div",
9812
9814
  {
9813
9815
  class: "color-alpha",
@@ -9874,7 +9876,7 @@ var Qs = x({
9874
9876
  }
9875
9877
  });
9876
9878
  function eh(t, e, a, s, n, i) {
9877
- return p(), B("canvas");
9879
+ return p(), D("canvas");
9878
9880
  }
9879
9881
  Qs.render = eh;
9880
9882
  Qs.__file = "src/color/Preview.vue";
@@ -9984,8 +9986,8 @@ const th = /* @__PURE__ */ T(
9984
9986
  /* HOISTED */
9985
9987
  );
9986
9988
  function nh(t, e, a, s, n, i) {
9987
- return p(), B("div", null, [
9988
- t.isSucking ? E("v-if", !0) : (p(), B(
9989
+ return p(), D("div", null, [
9990
+ t.isSucking ? E("v-if", !0) : (p(), D(
9989
9991
  "svg",
9990
9992
  {
9991
9993
  key: 0,
@@ -10000,7 +10002,7 @@ function nh(t, e, a, s, n, i) {
10000
10002
  2
10001
10003
  /* CLASS */
10002
10004
  )),
10003
- t.isSucking ? (p(), B("svg", ah, [
10005
+ t.isSucking ? (p(), D("svg", ah, [
10004
10006
  sh
10005
10007
  ])) : E("v-if", !0)
10006
10008
  ]);
@@ -10040,7 +10042,7 @@ var en = x({
10040
10042
  });
10041
10043
  const oh = { class: "color-type" }, ih = { class: "name" };
10042
10044
  function lh(t, e, a, s, n, i) {
10043
- return p(), B("div", oh, [
10045
+ return p(), D("div", oh, [
10044
10046
  T(
10045
10047
  "span",
10046
10048
  ih,
@@ -10111,12 +10113,12 @@ const rh = { class: "colors" }, uh = {
10111
10113
  class: "colors history"
10112
10114
  };
10113
10115
  function ch(t, e, a, s, n, i) {
10114
- return p(), B("div", null, [
10116
+ return p(), D("div", null, [
10115
10117
  T("ul", rh, [
10116
- (p(!0), B(
10118
+ (p(!0), D(
10117
10119
  fe,
10118
10120
  null,
10119
- Ce(t.colorsDefault, (o) => (p(), B("li", {
10121
+ Ce(t.colorsDefault, (o) => (p(), D("li", {
10120
10122
  key: o,
10121
10123
  class: "item",
10122
10124
  onClick: (l) => t.selectColor(o)
@@ -10146,11 +10148,11 @@ function ch(t, e, a, s, n, i) {
10146
10148
  /* KEYED_FRAGMENT */
10147
10149
  ))
10148
10150
  ]),
10149
- t.colorsHistory.length ? (p(), B("ul", uh, [
10150
- (p(!0), B(
10151
+ t.colorsHistory.length ? (p(), D("ul", uh, [
10152
+ (p(!0), D(
10151
10153
  fe,
10152
10154
  null,
10153
- Ce(t.colorsHistory, (o) => (p(), B("li", {
10155
+ Ce(t.colorsHistory, (o) => (p(), D("li", {
10154
10156
  key: o,
10155
10157
  class: "item",
10156
10158
  onClick: (l) => t.selectColor(o)
@@ -10360,7 +10362,7 @@ var Ut = x({
10360
10362
  const dh = { class: "color-set" };
10361
10363
  function ph(t, e, a, s, n, i) {
10362
10364
  const o = ut("Saturation"), l = ut("Hue"), r = ut("Alpha"), d = ut("Preview"), u = ut("Sucker"), c = ut("Box"), v = ut("Colors");
10363
- return p(), B(
10365
+ return p(), D(
10364
10366
  "div",
10365
10367
  {
10366
10368
  class: ["hu-color-picker", { light: t.isLightTheme }],
@@ -10403,7 +10405,7 @@ function ph(t, e, a, s, n, i) {
10403
10405
  width: t.previewWidth,
10404
10406
  height: t.previewHeight
10405
10407
  }, null, 8, ["color", "width", "height"]),
10406
- t.suckerHide ? E("v-if", !0) : (p(), B(u, {
10408
+ t.suckerHide ? E("v-if", !0) : (p(), D(u, {
10407
10409
  key: 0,
10408
10410
  "sucker-canvas": t.suckerCanvas,
10409
10411
  "sucker-area": t.suckerArea,
@@ -10554,7 +10556,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
10554
10556
  const h = c.target;
10555
10557
  h.closest("button") || h.closest("input") || h.closest(".ao-title") || v(h);
10556
10558
  };
10557
- return (c, v) => (p(), B(an, {
10559
+ return (c, v) => (p(), D(an, {
10558
10560
  color: d.value,
10559
10561
  "onUpdate:color": v[2] || (v[2] = (h) => d.value = h)
10560
10562
  }, {
@@ -10708,7 +10710,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
10708
10710
  }), o = M(() => (i.value || 0) / (n.value || 1)), l = (r) => {
10709
10711
  e("updateMilestone", { id: a.id, name: r });
10710
10712
  };
10711
- return (r, d) => (p(), B(is, {
10713
+ return (r, d) => (p(), D(is, {
10712
10714
  class: Q([
10713
10715
  "ao-card-project-milestone"
10714
10716
  ]),
@@ -10775,7 +10777,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
10775
10777
  ]),
10776
10778
  footer: F(() => [
10777
10779
  f("div", Vh, [
10778
- r.important ? (p(), B(pe, {
10780
+ r.important ? (p(), D(pe, {
10779
10781
  key: 0,
10780
10782
  name: "FlagRounded",
10781
10783
  class: Q(
@@ -10855,7 +10857,7 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
10855
10857
  const h = c.target;
10856
10858
  h.closest("button") || h.closest("input") || h.closest(".ao-title") || v();
10857
10859
  };
10858
- return (c, v) => (p(), B(an, {
10860
+ return (c, v) => (p(), D(an, {
10859
10861
  color: d.value,
10860
10862
  "onUpdate:color": v[2] || (v[2] = (h) => d.value = h)
10861
10863
  }, {
@@ -11106,7 +11108,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
11106
11108
  _: 1
11107
11109
  }, 16, ["list", "disabled"]),
11108
11110
  f("div", t9, [
11109
- b.isEditable ? (p(), B(Ct, {
11111
+ b.isEditable ? (p(), D(Ct, {
11110
11112
  key: 0,
11111
11113
  label: b.$t("project.milestone.add"),
11112
11114
  class: "ao-project-phase__milestone-add",
@@ -11219,7 +11221,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
11219
11221
  }, o = () => {
11220
11222
  n.value && e("apply", n.value, a.projectId);
11221
11223
  };
11222
- return (l, r) => (p(), B(Ja, { size: "sm" }, {
11224
+ return (l, r) => (p(), D(Ja, { size: "sm" }, {
11223
11225
  header: F(() => [
11224
11226
  T(be, {
11225
11227
  title: l.$t("project.template.apply.title"),
@@ -11271,7 +11273,7 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
11271
11273
  const i = () => {
11272
11274
  s.value && e("save", s.value, n.value);
11273
11275
  };
11274
- return (o, l) => (p(), B(Ja, { size: "sm" }, {
11276
+ return (o, l) => (p(), D(Ja, { size: "sm" }, {
11275
11277
  header: F(() => [
11276
11278
  T(be, {
11277
11279
  title: o.$t("project.template.save.title"),
@@ -11415,7 +11417,7 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11415
11417
  () => n.value.flatMap((O) => O.activities)
11416
11418
  ), A = (O) => {
11417
11419
  e("addFiles", O);
11418
- }, D = (O) => {
11420
+ }, B = (O) => {
11419
11421
  e("removeFile", O);
11420
11422
  }, R = (O) => {
11421
11423
  e("addComment", O);
@@ -11462,14 +11464,14 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11462
11464
  }, null, 8, ["icon-name", "label", "aria-checked"])
11463
11465
  ]),
11464
11466
  secondary: F(() => [
11465
- O.isEditable === !0 ? (p(), B(re, {
11467
+ O.isEditable === !0 ? (p(), D(re, {
11466
11468
  key: 0,
11467
11469
  class: "ao-project-overview__save-as-template",
11468
11470
  color: "primary",
11469
11471
  label: O.$t("project.template.save.label"),
11470
11472
  onClick: k[2] || (k[2] = (y) => N.value = !0)
11471
11473
  }, null, 8, ["label"])) : E("", !0),
11472
- O.isEditable === !0 ? (p(), B(re, {
11474
+ O.isEditable === !0 ? (p(), D(re, {
11473
11475
  key: 1,
11474
11476
  class: "ao-project-overview__add-template",
11475
11477
  color: "primary",
@@ -11512,7 +11514,7 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11512
11514
  onArchiveActivity: g,
11513
11515
  onUnarchiveActivity: $
11514
11516
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
11515
- (p(), B(Tt, { to: "body" }, [
11517
+ (p(), D(Tt, { to: "body" }, [
11516
11518
  T(U, {
11517
11519
  name: "modal",
11518
11520
  activities: P.value,
@@ -11530,13 +11532,13 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11530
11532
  onUpdateSubtask: m,
11531
11533
  onDeleteSubtask: I,
11532
11534
  onAddFiles: A,
11533
- onRemoveFile: D,
11535
+ onRemoveFile: B,
11534
11536
  onAddComment: R,
11535
11537
  onUpdateComment: Z,
11536
11538
  onRemoveComment: K
11537
11539
  }, {
11538
11540
  default: F(({ Component: y }) => [
11539
- (p(), B(mt(y), null, {
11541
+ (p(), D(mt(y), null, {
11540
11542
  default: F((V) => [
11541
11543
  ae(O.$slots, "activityDetailsBody", ha(ma(V)))
11542
11544
  ]),
@@ -11547,14 +11549,14 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11547
11549
  }, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled"])
11548
11550
  ]))
11549
11551
  ], 16),
11550
- (p(), B(Tt, { to: "body" }, [
11551
- N.value ? (p(), B(go, {
11552
+ (p(), D(Tt, { to: "body" }, [
11553
+ N.value ? (p(), D(go, {
11552
11554
  key: 0,
11553
11555
  phases: O.phases,
11554
11556
  onClose: k[5] || (k[5] = (y) => N.value = !1),
11555
11557
  onSave: ie
11556
11558
  }, null, 8, ["phases"])) : E("", !0),
11557
- te.value ? (p(), B(mo, {
11559
+ te.value ? (p(), D(mo, {
11558
11560
  key: 1,
11559
11561
  "project-id": O.project.id,
11560
11562
  templates: O.templates,
@@ -11636,13 +11638,13 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
11636
11638
  var h;
11637
11639
  return (h = a.tasks) == null ? void 0 : h.filter((w) => w.isDone).length;
11638
11640
  }), v = M(() => (c.value || 0) / (u.value || 1));
11639
- return (h, w) => (p(), B(is, {
11641
+ return (h, w) => (p(), D(is, {
11640
11642
  class: Q(["ao-card-feed", { "ao-card-feed--closed": h.isClosed }]),
11641
11643
  "is-clickable": !0
11642
11644
  }, {
11643
11645
  header: F(() => [
11644
11646
  f("div", O9, [
11645
- s.value ? (p(), B(ra, {
11647
+ s.value ? (p(), D(ra, {
11646
11648
  key: 0,
11647
11649
  label: s.value,
11648
11650
  class: "ao-card-feed__project",
@@ -11651,19 +11653,19 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
11651
11653
  "raw-color": n.value
11652
11654
  }, null, 8, ["label", "color", "raw-color"])) : E("", !0),
11653
11655
  h.isPrivate || h.important || h.isClosed ? (p(), C("div", E9, [
11654
- h.isPrivate ? (p(), B(pe, {
11656
+ h.isPrivate ? (p(), D(pe, {
11655
11657
  key: 0,
11656
11658
  name: "Lock",
11657
11659
  class: "ao-card-feed__warning",
11658
11660
  size: "sm"
11659
11661
  })) : E("", !0),
11660
- h.important ? (p(), B(pe, {
11662
+ h.important ? (p(), D(pe, {
11661
11663
  key: 1,
11662
11664
  name: "FlagRounded",
11663
11665
  class: "ao-card-feed__important",
11664
11666
  size: "sm"
11665
11667
  })) : E("", !0),
11666
- h.isClosed ? (p(), B(pe, {
11668
+ h.isClosed ? (p(), D(pe, {
11667
11669
  key: 2,
11668
11670
  name: "CheckSmallRounded",
11669
11671
  class: "ao-card-feed__closed"
@@ -11926,13 +11928,13 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
11926
11928
  }, {
11927
11929
  tag: F(({
11928
11930
  option: A,
11929
- handleTagRemove: D
11931
+ handleTagRemove: B
11930
11932
  }) => [
11931
11933
  T(et, {
11932
11934
  "user-name": A.label,
11933
11935
  "avatar-url": A.avatar,
11934
11936
  "is-closable": !0,
11935
- onClose: (R) => D(A, R)
11937
+ onClose: (R) => B(A, R)
11936
11938
  }, null, 8, ["user-name", "avatar-url", "onClose"])
11937
11939
  ]),
11938
11940
  _: 1
@@ -11943,9 +11945,9 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
11943
11945
  color: v.value,
11944
11946
  "onUpdate:color": I[3] || (I[3] = (A) => v.value = A)
11945
11947
  }, {
11946
- clickable: F(({ openPicker: A, bgColor: D }) => [
11948
+ clickable: F(({ openPicker: A, bgColor: B }) => [
11947
11949
  f("button", {
11948
- style: We({ background: D }),
11950
+ style: We({ background: B }),
11949
11951
  class: "color-button",
11950
11952
  onClick: (R) => b(R, A)
11951
11953
  }, null, 12, l4)
@@ -11963,12 +11965,12 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
11963
11965
  group: "kanban"
11964
11966
  }, m.$attrs, { onChange: c }), {
11965
11967
  item: F(({ element: A }) => {
11966
- var D, R, Z, K, te;
11968
+ var B, R, Z, K, te;
11967
11969
  return [
11968
11970
  T(Co, {
11969
11971
  id: A.id,
11970
11972
  name: A.name || A.id,
11971
- "phase-name": (D = n.value) == null ? void 0 : D.name,
11973
+ "phase-name": (B = n.value) == null ? void 0 : B.name,
11972
11974
  "milestone-name": (R = o.value) == null ? void 0 : R.name,
11973
11975
  "milestone-color": (Z = o.value) == null ? void 0 : Z.color,
11974
11976
  deadline: A.deadline,
@@ -11992,7 +11994,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
11992
11994
  m.isEditable ? {
11993
11995
  name: "secondary",
11994
11996
  fn: F(() => [
11995
- m.isEditable && A.active ? (p(), B(re, {
11997
+ m.isEditable && A.active ? (p(), D(re, {
11996
11998
  key: 0,
11997
11999
  color: "primary",
11998
12000
  variant: "ghost",
@@ -12003,7 +12005,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
12003
12005
  label: m.$t("archive"),
12004
12006
  onClick: ve(() => m.$emit("archiveActivity", { id: A.id }), ["stop"])
12005
12007
  }, null, 8, ["label", "onClick"])) : E("", !0),
12006
- m.isEditable && !A.active ? (p(), B(re, {
12008
+ m.isEditable && !A.active ? (p(), D(re, {
12007
12009
  key: 1,
12008
12010
  color: "primary",
12009
12011
  variant: "ghost",
@@ -12091,7 +12093,7 @@ const c4 = /* @__PURE__ */ x({
12091
12093
  };
12092
12094
  return (g, $) => {
12093
12095
  var b, m;
12094
- return o.value ? (p(), B(Ys, {
12096
+ return o.value ? (p(), D(Ys, {
12095
12097
  key: 0,
12096
12098
  activity: o.value,
12097
12099
  "activity-types": g.activityTypes,
@@ -12137,7 +12139,7 @@ const c4 = /* @__PURE__ */ x({
12137
12139
  class: "ao-col-header__title",
12138
12140
  level: 4
12139
12141
  }, null, 8, ["title"]),
12140
- e.items ? (p(), B(ra, {
12142
+ e.items ? (p(), D(ra, {
12141
12143
  key: 0,
12142
12144
  label: e.items,
12143
12145
  class: "ao-col-header__items",
@@ -12313,7 +12315,7 @@ const $4 = {
12313
12315
  var v;
12314
12316
  return [
12315
12317
  f("div", k4, [
12316
- u.title ? (p(), B(p4, {
12318
+ u.title ? (p(), D(p4, {
12317
12319
  key: 0,
12318
12320
  title: u.title,
12319
12321
  level: 3,
@@ -12371,7 +12373,7 @@ const $4 = {
12371
12373
  onRemoveAssignee: () => i(v) && l({ id: v.id, assigneeId: null })
12372
12374
  }, {
12373
12375
  secondary: F(() => [
12374
- i(v) && v.active ? (p(), B(re, {
12376
+ i(v) && v.active ? (p(), D(re, {
12375
12377
  key: 0,
12376
12378
  color: "primary",
12377
12379
  variant: "ghost",
@@ -12382,7 +12384,7 @@ const $4 = {
12382
12384
  label: u.$t("feed.activity.archive"),
12383
12385
  onClick: ve(() => u.$emit("archiveActivity", { id: v.id }), ["stop"])
12384
12386
  }, null, 8, ["label", "onClick"])) : E("", !0),
12385
- i(v) && !v.active ? (p(), B(re, {
12387
+ i(v) && !v.active ? (p(), D(re, {
12386
12388
  key: 1,
12387
12389
  color: "primary",
12388
12390
  variant: "ghost",
@@ -12414,7 +12416,7 @@ const $4 = {
12414
12416
  }, 16, ["class", "list", "disabled"]),
12415
12417
  u.$slots.footer || u.footerLabel ? (p(), C("div", O4, [
12416
12418
  ae(u.$slots, "footer", {}, () => [
12417
- u.isEditable ? (p(), B(Ct, {
12419
+ u.isEditable ? (p(), D(Ct, {
12418
12420
  key: 0,
12419
12421
  "icon-name": "AddBoxOutlineRounded",
12420
12422
  label: u.footerLabel,
@@ -12550,7 +12552,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12550
12552
  e("unarchiveActivity", k);
12551
12553
  }, A = (k) => {
12552
12554
  d.value = !1, e("update:searchText", k);
12553
- }, D = (k) => {
12555
+ }, B = (k) => {
12554
12556
  d.value = !1, e("clear:searchText", k);
12555
12557
  }, R = (k) => {
12556
12558
  a.selectedActivity && e("addSubtask", k);
@@ -12596,9 +12598,9 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12596
12598
  placeholder: k.$t("feed.search.placeholder"),
12597
12599
  class: "ao-feed__search",
12598
12600
  "onUpdate:modelValue": A,
12599
- onClear: D
12601
+ onClear: B
12600
12602
  }, null, 8, ["model-value", "placeholder"]),
12601
- a.project ? E("", !0) : (p(), B(Ae, {
12603
+ a.project ? E("", !0) : (p(), D(Ae, {
12602
12604
  key: 0,
12603
12605
  "model-value": k.filters[J(Dt).project],
12604
12606
  mode: "tags",
@@ -12609,7 +12611,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12609
12611
  placeholder: k.$t("feed.filters.project.placeholder"),
12610
12612
  "onUpdate:modelValue": U[1] || (U[1] = (V) => h(J(Dt).project, V))
12611
12613
  }, null, 8, ["model-value", "options", "placeholder"])),
12612
- g.value ? (p(), B(Ae, {
12614
+ g.value ? (p(), D(Ae, {
12613
12615
  key: 1,
12614
12616
  "model-value": k.filters[J(Dt).type],
12615
12617
  mode: "tags",
@@ -12620,7 +12622,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12620
12622
  placeholder: k.$t("feed.filters.activityType.placeholder"),
12621
12623
  "onUpdate:modelValue": U[2] || (U[2] = (V) => h(J(Dt).type, V))
12622
12624
  }, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
12623
- $.value.length ? (p(), B(Ae, {
12625
+ $.value.length ? (p(), D(Ae, {
12624
12626
  key: 2,
12625
12627
  "model-value": k.filters[J(Dt).assignee],
12626
12628
  mode: "tags",
@@ -12685,7 +12687,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12685
12687
  _: 1
12686
12688
  }),
12687
12689
  f("div", D4, [
12688
- (p(!0), C(fe, null, Ce(k.statuses, (V) => (p(), B(E4, {
12690
+ (p(!0), C(fe, null, Ce(k.statuses, (V) => (p(), D(E4, {
12689
12691
  key: V.id,
12690
12692
  status: V,
12691
12693
  list: l.value[V.id],
@@ -12702,8 +12704,8 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12702
12704
  onUpdateActivity: m
12703
12705
  }, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
12704
12706
  ]),
12705
- (p(), B(Tt, { to: "body" }, [
12706
- k.selectedActivity ? (p(), B(Ys, {
12707
+ (p(), D(Tt, { to: "body" }, [
12708
+ k.selectedActivity ? (p(), D(Ys, {
12707
12709
  key: 0,
12708
12710
  activity: k.selectedActivity,
12709
12711
  "activity-types": k.activityTypes,
@@ -12808,14 +12810,14 @@ const R4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
12808
12810
  }, null, 8, ["icon-name", "label", "aria-checked"])
12809
12811
  ]),
12810
12812
  secondary: F(() => [
12811
- g.isEditable === !0 ? (p(), B(re, {
12813
+ g.isEditable === !0 ? (p(), D(re, {
12812
12814
  key: 0,
12813
12815
  class: "ao-project-mapping-overview__save-as-template",
12814
12816
  color: "primary",
12815
12817
  label: g.$t("project.template.save.label"),
12816
12818
  onClick: $[2] || ($[2] = (b) => u.value = !0)
12817
12819
  }, null, 8, ["label"])) : E("", !0),
12818
- g.isEditable === !0 ? (p(), B(re, {
12820
+ g.isEditable === !0 ? (p(), D(re, {
12819
12821
  key: 1,
12820
12822
  class: "ao-project-mapping-overview__add-template",
12821
12823
  color: "primary",
@@ -12849,14 +12851,14 @@ const R4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
12849
12851
  ])
12850
12852
  ])
12851
12853
  ], 16),
12852
- (p(), B(Tt, { to: "body" }, [
12853
- u.value ? (p(), B(go, {
12854
+ (p(), D(Tt, { to: "body" }, [
12855
+ u.value ? (p(), D(go, {
12854
12856
  key: 0,
12855
12857
  phases: g.phases,
12856
12858
  onClose: $[4] || ($[4] = (b) => u.value = !1),
12857
12859
  onSave: v
12858
12860
  }, null, 8, ["phases"])) : E("", !0),
12859
- d.value ? (p(), B(mo, {
12861
+ d.value ? (p(), D(mo, {
12860
12862
  key: 1,
12861
12863
  "project-id": g.project.id,
12862
12864
  templates: g.templates,
@@ -13065,7 +13067,7 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ x({
13065
13067
  ), n = (i) => {
13066
13068
  a.modelModifiers.number && (i = Number(i)), e("update:modelValue", i);
13067
13069
  };
13068
- return (i, o) => (p(), B(Y4, { label: i.label }, {
13070
+ return (i, o) => (p(), D(Y4, { label: i.label }, {
13069
13071
  default: F(() => [
13070
13072
  f("input", Me({
13071
13073
  class: "ao-field__input",