@26lights/orcha 0.41.96 → 0.41.98

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 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";
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";
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(), D(J(qo), Me({ templates: e.templates }, e.$attrs), null, 16, ["templates"]));
10
+ return (e, a) => (p(), B(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(), D(mt(a.value), {
1171
+ return (s, n) => (p(), B(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(), D(pe, {
1211
+ s.value ? (p(), B(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(), D(mt(r.value), Me({
1283
+ ), (_, g) => (p(), B(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(), D(mt(s.tagName), {
1349
+ return (s, n) => (p(), B(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(), D(mt(a.value), Me({ class: "ao-tag__label" }, s.value, {
1424
+ (p(), B(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(), D(pe, {
1429
+ n.variant === J(V2).SOLID_ICON && n.iconName ? (p(), B(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(), 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);
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);
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 (!B.localize)
2745
+ if (!D.localize)
2746
2746
  throw new RangeError("locale must contain localize property");
2747
- if (!B.formatLong)
2747
+ if (!D.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: B,
2755
+ locale: D,
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, B.formatLong);
2761
+ return L(se, D.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, B.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, D.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(), D(re, {
3756
+ o.isClosable ? (p(), B(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(), D(Vn, {
3797
+ return (l, r) => (p(), B(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(), D(ra, {
3832
+ (p(!0), C(fe, null, Ce(i.value, (d) => (p(), B(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(), D(ra, {
3838
+ o.value > 0 ? (p(), B(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(), D(re, {
3900
+ e.canGoBack ? (p(), B(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(), D(pe, {
3943
+ s.value ? (p(), B(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(), D(Vn, { "onUpdate:title": a }, {
3975
+ return (o, l) => (p(), B(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(), D(Vs, Me({
4016
+ return (n, i) => (p(), B(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(), D(Vs, { activities: a.value }, {
4038
+ return (s, n) => (p(), B(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(), D(J(gt), {
4069
+ return (l, r) => l.phase ? (p(), B(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(), D(b5, {
4086
+ (p(), B(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(), D(Vs, { tasks: a.value }, {
4125
+ return (s, n) => (p(), B(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(), D(J(gt), {
4159
+ return (l, r) => l.milestone ? (p(), B(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(), D(k5, {
4176
+ (p(), B(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), B = [];
4518
+ const P = [l, ...I], A = await Jn(e, g), D = [];
4519
4519
  let R = ((s = i.flip) == null ? void 0 : s.overflows) || [];
4520
- if (u && B.push(A[$]), c) {
4520
+ if (u && D.push(A[$]), c) {
4521
4521
  const N = D5(n, o, m);
4522
- B.push(A[N[0]], A[N[1]]);
4522
+ D.push(A[N[0]], A[N[1]]);
4523
4523
  }
4524
4524
  if (R = [...R, {
4525
4525
  placement: n,
4526
- overflows: B
4527
- }], !B.every((N) => N <= 0)) {
4526
+ overflows: D
4527
+ }], !D.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), 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));
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));
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: B,
5199
+ allowAbsent: D,
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) || (B.value ? {
5438
+ }, Oa = (S) => Fe(S) ? n.value === "single" ? {} : [] : w.value ? S : n.value === "single" ? Ge(S) || (D.value ? {
5439
5439
  [u.value]: S,
5440
5440
  [A.value]: S,
5441
5441
  [wt.value[0]]: S
5442
- } : {}) : S.filter((j) => !!Ge(j) || B.value).map((j) => Ge(j) || {
5442
+ } : {}) : S.filter((j) => !!Ge(j) || D.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])), 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(() => {
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(() => {
5528
5528
  const H = Z.value ? $.value : (
5529
5529
  /* istanbul ignore next */
5530
5530
  ne($.value)
5531
- ), X = B.value.map((Se) => Se[o.value]).indexOf(H[o.value]);
5532
- let he = B.value[X - 1];
5531
+ ), X = D.value.map((Se) => Se[o.value]).indexOf(H[o.value]);
5532
+ let he = D.value[X - 1];
5533
5533
  return he === void 0 && (he = G.value), he;
5534
5534
  }), N = 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(() => {
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(() => {
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 ? B.value[0].__CREATE__ ? A.value[0] : B.value[0] : A.value[0]) || null);
5549
+ b((l.value && R.value ? D.value[0].__CREATE__ ? A.value[0] : D.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) => B.value.find((X) => X.__VISIBLE__.map((he) => he[s.value]).indexOf(H[s.value]) !== -1), z = () => {
5576
+ }, ne = (H) => D.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), B = 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), D = vo({
5965
5965
  reference: A,
5966
5966
  element: m,
5967
5967
  strategy: "absolute",
5968
5968
  placement: n
5969
- }), R = Ss(Object.assign({}, m, B)), Z = v === oa ? R : A, K = {
5969
+ }), R = Ss(Object.assign({}, m, D)), 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, B = P.options, R = B === void 0 ? {} : B, Z = P.name;
6045
+ var P = u.orderedModifiers[I], A = P.fn, D = P.options, R = D === void 0 ? {} : D, 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), 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) {
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) {
6158
6158
  I = Ye;
6159
6159
  var Z = c && A === P && P.visualViewport ? P.visualViewport.height : (
6160
6160
  // $FlowFixMe[prop-missing]
6161
- A[B]
6161
+ A[D]
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, B = 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, D = 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 ? B[ee] : R[ee], V = b === Yt ? -R[ee] : -B[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 ? D[ee] : R[ee], V = b === Yt ? -R[ee] : -D[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, 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);
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);
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 - 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);
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);
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, B = /* @__PURE__ */ new Map(), R = !0, Z = I[0], K = 0; K < I.length; K++) {
6370
+ }, []), P = e.rects.reference, A = e.rects.popper, D = /* @__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
- B.set(te, k);
6386
+ D.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 = B.get(X);
6391
+ var he = D.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, 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 = () => {
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 = () => {
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 = [...B.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 = [...D.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
- }), B = (N) => {
6780
+ }), D = (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: B,
6806
+ ariaOptionId: D,
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(), D(Tt, {
7485
+ (p(), B(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(), D(J(ct), {
7709
+ }), (n, i) => (p(), B(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(), D(re, {
7835
+ ((w = c.isCheckable) == null ? void 0 : w.call(c, h)) ?? !1 ? (p(), B(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(), D(Ae, {
7854
+ !c.isTemplate && c.users ? (p(), B(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(), D(re, {
7878
+ c.isEditable ? (p(), B(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(), D(re, {
7891
+ c.isEditable ? (p(), B(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(), D(re, {
7981
+ u.isEditable ? (p(), B(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(), D(et, {
8056
+ s.value ? (p(), B(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(), D(mt(u.value), {
8065
+ (p(), B(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, B) => t0(ca(A.createdAt), ca(B.createdAt))
8136
- )), n = (P) => a.users.find((B) => B.id === P), i = q();
8135
+ (A, D) => t0(ca(A.createdAt), ca(D.createdAt))
8136
+ )), n = (P) => a.users.find((D) => D.id === P), i = q();
8137
8137
  $e(() => {
8138
8138
  i.value && (i.value.scrollTop = i.value.scrollHeight);
8139
8139
  });
@@ -8146,7 +8146,10 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8146
8146
  }
8147
8147
  }), r = () => {
8148
8148
  const P = o.value.trim();
8149
- P && (e("createComment", { authorId: a.userId, message: P }), o.value = "");
8149
+ if (!P)
8150
+ return;
8151
+ const A = Array.from(P.matchAll(/@(\w+)/g)).map((R) => R[1]), D = c.value.filter((R) => A.includes(R.name)).map((R) => R.id);
8152
+ e("createComment", { authorId: a.userId, message: P, mentionedUserIds: D }), o.value = "";
8150
8153
  }, d = (P, A) => {
8151
8154
  e("updateComment", {
8152
8155
  id: P,
@@ -8154,34 +8157,36 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8154
8157
  });
8155
8158
  }, u = (P) => {
8156
8159
  e("removeComment", { id: P });
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, B = A.selectionStart, Z = A.value.slice(0, B).match(/@(\w*)$/);
8160
+ }, c = M(
8161
+ () => a.users.filter((P) => P.firstName || P.lastName).map(
8162
+ (P) => {
8163
+ const A = [P.firstName, P.lastName].filter(Boolean).join("_");
8164
+ return { id: P.id, name: A };
8165
+ }
8166
+ )
8167
+ ), v = q(""), h = q(!1), w = q({ top: 0, left: 0 }), _ = q(), g = (P) => {
8168
+ const A = P.target, D = A.selectionStart, Z = A.value.slice(0, D).match(/@(\w*)$/);
8159
8169
  Z ? (v.value = Z[1], h.value = !0, $e(() => {
8160
- const { top: K, left: te } = I(A, B);
8170
+ const { top: K, left: te } = I(A, D);
8161
8171
  w.value = { top: K, left: te };
8162
8172
  })) : h.value = !1;
8163
8173
  }, $ = (P) => {
8164
8174
  P.key === "Escape" && h.value && (h.value = !1);
8165
8175
  }, b = M(
8166
- () => (
8167
- // userSuggestions.value.filter((u) =>
8168
- // u.name.toLowerCase().includes(mentionQuery.value.toLowerCase()),
8169
- // ),
8170
- c.filter(
8171
- (P) => P.name.toLowerCase().includes(v.value.toLowerCase())
8172
- )
8176
+ () => c.value.filter(
8177
+ (P) => P.name.toLowerCase().includes(v.value.toLowerCase())
8173
8178
  )
8174
8179
  ), m = (P) => {
8175
8180
  const A = _.value;
8176
8181
  if (!A)
8177
8182
  return;
8178
- const B = A.selectionStart, R = o.value, Z = R.slice(0, B).replace(/@(\w*)$/, `@${P} `), K = R.slice(B);
8183
+ const D = A.selectionStart, R = o.value, Z = R.slice(0, D).replace(/@(\w*)$/, `@${P} `), K = R.slice(D);
8179
8184
  o.value = Z + K, h.value = !1, $e(() => {
8180
8185
  A.focus(), A.setSelectionRange(Z.length, Z.length);
8181
8186
  });
8182
8187
  };
8183
8188
  function I(P, A) {
8184
- const B = document.createElement("div"), R = document.createElement("span"), Z = window.getComputedStyle(P), K = [
8189
+ const D = document.createElement("div"), R = document.createElement("span"), Z = window.getComputedStyle(P), K = [
8185
8190
  "boxSizing",
8186
8191
  "width",
8187
8192
  "height",
@@ -8209,20 +8214,20 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8209
8214
  "letterSpacing",
8210
8215
  "wordSpacing"
8211
8216
  ];
8212
- B.style.position = "absolute", B.style.visibility = "hidden", B.style.whiteSpace = "pre-wrap", B.style.overflow = "hidden", K.forEach((O) => {
8213
- B.style[O] = Z.getPropertyValue(O);
8214
- }), B.style.width = Z.getPropertyValue("width"), B.scrollTop = P.scrollTop, B.scrollLeft = P.scrollLeft;
8217
+ D.style.position = "absolute", D.style.visibility = "hidden", D.style.whiteSpace = "pre-wrap", D.style.overflow = "hidden", K.forEach((O) => {
8218
+ D.style[O] = Z.getPropertyValue(O);
8219
+ }), D.style.width = Z.getPropertyValue("width"), D.scrollTop = P.scrollTop, D.scrollLeft = P.scrollLeft;
8215
8220
  const te = P.value.substring(0, A), N = P.value.substring(A) || ".";
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
- return document.body.removeChild(B), {
8219
- top: ee + 50,
8221
+ D.textContent = te, R.textContent = N[0], D.appendChild(R), document.body.appendChild(D);
8222
+ 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;
8223
+ return document.body.removeChild(D), {
8224
+ top: ee + 40,
8220
8225
  // adjust vertical offset for dropdown
8221
8226
  left: L
8222
8227
  };
8223
8228
  }
8224
8229
  return (P, A) => {
8225
- var B;
8230
+ var D;
8226
8231
  return p(), C("div", {
8227
8232
  ref_key: "commentsContainer",
8228
8233
  ref: i,
@@ -8262,8 +8267,8 @@ const bv = { class: "ao-comments__header" }, wv = ["onSubmit"], $v = ["placehold
8262
8267
  ])
8263
8268
  ], 40, wv)
8264
8269
  ]),
8265
- ((B = s.value) == null ? void 0 : B.length) > 0 ? (p(), C("ul", Sv, [
8266
- (p(!0), C(fe, null, Ce(s.value, (R) => (p(), D(yv, {
8270
+ ((D = s.value) == null ? void 0 : D.length) > 0 ? (p(), C("ul", Sv, [
8271
+ (p(!0), C(fe, null, Ce(s.value, (R) => (p(), B(yv, {
8267
8272
  key: R.id,
8268
8273
  user: n(R.author.id),
8269
8274
  content: R.message,
@@ -8300,7 +8305,7 @@ const As = /* @__PURE__ */ x({
8300
8305
  const a = t, s = () => {
8301
8306
  e("update:modelValue", !a.modelValue);
8302
8307
  };
8303
- return (n, i) => (p(), D(re, {
8308
+ return (n, i) => (p(), B(re, {
8304
8309
  color: n.modelValue ? n.color : J(Ls).NEUTRAL,
8305
8310
  "icon-position": "start",
8306
8311
  onClick: i[0] || (i[0] = () => s())
@@ -8457,10 +8462,10 @@ const As = /* @__PURE__ */ x({
8457
8462
  e("deleteSubtask", y);
8458
8463
  };
8459
8464
  function I() {
8460
- a.userId ? B.value = [a.userId] : console.error("Failed assigning to self: userId is missing");
8465
+ a.userId ? D.value = [a.userId] : console.error("Failed assigning to self: userId is missing");
8461
8466
  }
8462
8467
  function P(y) {
8463
- B.value = [y];
8468
+ D.value = [y];
8464
8469
  }
8465
8470
  const A = M(() => {
8466
8471
  var y;
@@ -8469,7 +8474,7 @@ const As = /* @__PURE__ */ x({
8469
8474
  value: V.id,
8470
8475
  avatar: V.avatarUrl
8471
8476
  }))) || [];
8472
- }), B = M({
8477
+ }), D = M({
8473
8478
  get() {
8474
8479
  var y, V;
8475
8480
  return (y = a.activity.assignee) != null && y.id ? [(V = a.activity.assignee) == null ? void 0 : V.id] : [];
@@ -8546,7 +8551,7 @@ const As = /* @__PURE__ */ x({
8546
8551
  console.log("Failed to copy link"), e("toast", "clipboard.copy.error", "error");
8547
8552
  });
8548
8553
  }
8549
- return (y, V) => (p(), D(Ja, {
8554
+ return (y, V) => (p(), B(Ja, {
8550
8555
  onClose: V[10] || (V[10] = (le) => y.$emit("close"))
8551
8556
  }, {
8552
8557
  default: F(() => {
@@ -8555,7 +8560,7 @@ const As = /* @__PURE__ */ x({
8555
8560
  f("div", Tv, [
8556
8561
  f("div", Ov, [
8557
8562
  f("div", Ev, [
8558
- y.activity.slug ? (p(), D(ra, {
8563
+ y.activity.slug ? (p(), B(ra, {
8559
8564
  key: 0,
8560
8565
  label: y.activity.slug,
8561
8566
  clickable: !0,
@@ -8732,8 +8737,8 @@ const As = /* @__PURE__ */ x({
8732
8737
  }, null, 8, ["label"])
8733
8738
  ]),
8734
8739
  T(Ae, {
8735
- modelValue: B.value,
8736
- "onUpdate:modelValue": V[3] || (V[3] = (H) => B.value = H),
8740
+ modelValue: D.value,
8741
+ "onUpdate:modelValue": V[3] || (V[3] = (H) => D.value = H),
8737
8742
  class: "ao-activity-details__assignees ao-activity-details__multiselect",
8738
8743
  options: A.value,
8739
8744
  "close-on-select": !0,
@@ -8960,7 +8965,7 @@ const Of = /* @__PURE__ */ x({
8960
8965
  e("update:rule", { ...a.rule, durationUnit: $ });
8961
8966
  }
8962
8967
  }), g = M(() => Object.values(K2));
8963
- return ($, b) => (p(), D(mt($.tagName), { class: "ao-rule-line" }, {
8968
+ return ($, b) => (p(), B(mt($.tagName), { class: "ao-rule-line" }, {
8964
8969
  default: F(() => [
8965
8970
  T(J(ct), {
8966
8971
  modelValue: n.value,
@@ -9026,7 +9031,7 @@ const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rule
9026
9031
  }, s = (n) => {
9027
9032
  e("removeRule", n);
9028
9033
  };
9029
- return (n, i) => (p(), D(Ja, null, {
9034
+ return (n, i) => (p(), B(Ja, null, {
9030
9035
  header: F(() => [
9031
9036
  T(be, {
9032
9037
  title: n.$t("template.rules.title"),
@@ -9036,7 +9041,7 @@ const Ef = { class: "ao-template-rules__body" }, If = { class: "ao-template-rule
9036
9041
  default: F(() => [
9037
9042
  f("div", Ef, [
9038
9043
  f("ul", If, [
9039
- (p(!0), C(fe, null, Ce(n.rules, (o) => (p(), D(Of, {
9044
+ (p(!0), C(fe, null, Ce(n.rules, (o) => (p(), B(Of, {
9040
9045
  key: o.id,
9041
9046
  rule: o,
9042
9047
  "template-phases": n.templatePhases,
@@ -9258,8 +9263,8 @@ const Pf = {
9258
9263
  templateId: a.templateId,
9259
9264
  data: k
9260
9265
  });
9261
- }, B = q(!1), R = () => {
9262
- B.value = !B.value;
9266
+ }, D = q(!1), R = () => {
9267
+ D.value = !D.value;
9263
9268
  }, Z = () => {
9264
9269
  e("addRule", { templateId: a.templateId });
9265
9270
  }, K = (L) => {
@@ -9375,7 +9380,7 @@ const Pf = {
9375
9380
  }, 8, ["model-value"])
9376
9381
  ]),
9377
9382
  f("li", Rf, [
9378
- o.value ? (p(), D($5, {
9383
+ o.value ? (p(), B($5, {
9379
9384
  key: 0,
9380
9385
  "template-id": L.templateId,
9381
9386
  phase: o.value,
@@ -9387,7 +9392,7 @@ const Pf = {
9387
9392
  }, null, 8, ["template-id", "phase", "milestone-id"])) : E("", !0)
9388
9393
  ]),
9389
9394
  f("li", jf, [
9390
- o.value && l.value ? (p(), D(A5, {
9395
+ o.value && l.value ? (p(), B(A5, {
9391
9396
  key: 0,
9392
9397
  "template-id": L.templateId,
9393
9398
  "phase-id": (U = o.value) == null ? void 0 : U.id,
@@ -9400,8 +9405,8 @@ const Pf = {
9400
9405
  ])
9401
9406
  ])
9402
9407
  ]),
9403
- (p(), D(Tt, { to: "body" }, [
9404
- u.value ? (p(), D(Ys, {
9408
+ (p(), B(Tt, { to: "body" }, [
9409
+ u.value ? (p(), B(Ys, {
9405
9410
  key: 0,
9406
9411
  activity: u.value,
9407
9412
  "activity-types": L.activityTypes,
@@ -9429,8 +9434,8 @@ const Pf = {
9429
9434
  _: 3
9430
9435
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : E("", !0)
9431
9436
  ])),
9432
- (p(), D(Tt, { to: "body" }, [
9433
- B.value ? (p(), D(Lf, {
9437
+ (p(), B(Tt, { to: "body" }, [
9438
+ D.value ? (p(), B(Lf, {
9434
9439
  key: 0,
9435
9440
  "template-id": n.value.id,
9436
9441
  rules: n.value.rules || [],
@@ -9462,7 +9467,7 @@ const Uf = { class: "ao-card__content" }, Ff = {
9462
9467
  withLeftBorder: { type: Boolean, default: !1 }
9463
9468
  },
9464
9469
  setup(t) {
9465
- return (e, a) => (p(), D(mt(e.tagName), {
9470
+ return (e, a) => (p(), B(mt(e.tagName), {
9466
9471
  class: Q([
9467
9472
  "ao-card",
9468
9473
  {
@@ -9626,7 +9631,7 @@ var Ks = x({
9626
9631
  });
9627
9632
  const xf = { ref: "canvasSaturation" };
9628
9633
  function Kf(t, e, a, s, n, i) {
9629
- return p(), D(
9634
+ return p(), B(
9630
9635
  "div",
9631
9636
  {
9632
9637
  class: "saturation",
@@ -9712,7 +9717,7 @@ var Gs = x({
9712
9717
  });
9713
9718
  const Gf = { ref: "canvasHue" };
9714
9719
  function Xf(t, e, a, s, n, i) {
9715
- return p(), D(
9720
+ return p(), B(
9716
9721
  "div",
9717
9722
  {
9718
9723
  class: "hue",
@@ -9807,7 +9812,7 @@ var Xs = x({
9807
9812
  });
9808
9813
  const Qf = { ref: "canvasAlpha" };
9809
9814
  function Jf(t, e, a, s, n, i) {
9810
- return p(), D(
9815
+ return p(), B(
9811
9816
  "div",
9812
9817
  {
9813
9818
  class: "color-alpha",
@@ -9874,7 +9879,7 @@ var Qs = x({
9874
9879
  }
9875
9880
  });
9876
9881
  function eh(t, e, a, s, n, i) {
9877
- return p(), D("canvas");
9882
+ return p(), B("canvas");
9878
9883
  }
9879
9884
  Qs.render = eh;
9880
9885
  Qs.__file = "src/color/Preview.vue";
@@ -9984,8 +9989,8 @@ const th = /* @__PURE__ */ T(
9984
9989
  /* HOISTED */
9985
9990
  );
9986
9991
  function nh(t, e, a, s, n, i) {
9987
- return p(), D("div", null, [
9988
- t.isSucking ? E("v-if", !0) : (p(), D(
9992
+ return p(), B("div", null, [
9993
+ t.isSucking ? E("v-if", !0) : (p(), B(
9989
9994
  "svg",
9990
9995
  {
9991
9996
  key: 0,
@@ -10000,7 +10005,7 @@ function nh(t, e, a, s, n, i) {
10000
10005
  2
10001
10006
  /* CLASS */
10002
10007
  )),
10003
- t.isSucking ? (p(), D("svg", ah, [
10008
+ t.isSucking ? (p(), B("svg", ah, [
10004
10009
  sh
10005
10010
  ])) : E("v-if", !0)
10006
10011
  ]);
@@ -10040,7 +10045,7 @@ var en = x({
10040
10045
  });
10041
10046
  const oh = { class: "color-type" }, ih = { class: "name" };
10042
10047
  function lh(t, e, a, s, n, i) {
10043
- return p(), D("div", oh, [
10048
+ return p(), B("div", oh, [
10044
10049
  T(
10045
10050
  "span",
10046
10051
  ih,
@@ -10111,12 +10116,12 @@ const rh = { class: "colors" }, uh = {
10111
10116
  class: "colors history"
10112
10117
  };
10113
10118
  function ch(t, e, a, s, n, i) {
10114
- return p(), D("div", null, [
10119
+ return p(), B("div", null, [
10115
10120
  T("ul", rh, [
10116
- (p(!0), D(
10121
+ (p(!0), B(
10117
10122
  fe,
10118
10123
  null,
10119
- Ce(t.colorsDefault, (o) => (p(), D("li", {
10124
+ Ce(t.colorsDefault, (o) => (p(), B("li", {
10120
10125
  key: o,
10121
10126
  class: "item",
10122
10127
  onClick: (l) => t.selectColor(o)
@@ -10146,11 +10151,11 @@ function ch(t, e, a, s, n, i) {
10146
10151
  /* KEYED_FRAGMENT */
10147
10152
  ))
10148
10153
  ]),
10149
- t.colorsHistory.length ? (p(), D("ul", uh, [
10150
- (p(!0), D(
10154
+ t.colorsHistory.length ? (p(), B("ul", uh, [
10155
+ (p(!0), B(
10151
10156
  fe,
10152
10157
  null,
10153
- Ce(t.colorsHistory, (o) => (p(), D("li", {
10158
+ Ce(t.colorsHistory, (o) => (p(), B("li", {
10154
10159
  key: o,
10155
10160
  class: "item",
10156
10161
  onClick: (l) => t.selectColor(o)
@@ -10360,7 +10365,7 @@ var Ut = x({
10360
10365
  const dh = { class: "color-set" };
10361
10366
  function ph(t, e, a, s, n, i) {
10362
10367
  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(), D(
10368
+ return p(), B(
10364
10369
  "div",
10365
10370
  {
10366
10371
  class: ["hu-color-picker", { light: t.isLightTheme }],
@@ -10403,7 +10408,7 @@ function ph(t, e, a, s, n, i) {
10403
10408
  width: t.previewWidth,
10404
10409
  height: t.previewHeight
10405
10410
  }, null, 8, ["color", "width", "height"]),
10406
- t.suckerHide ? E("v-if", !0) : (p(), D(u, {
10411
+ t.suckerHide ? E("v-if", !0) : (p(), B(u, {
10407
10412
  key: 0,
10408
10413
  "sucker-canvas": t.suckerCanvas,
10409
10414
  "sucker-area": t.suckerArea,
@@ -10554,7 +10559,7 @@ const fh = { class: "ao-card-project-phase__header" }, hh = { class: "ao-card-pr
10554
10559
  const h = c.target;
10555
10560
  h.closest("button") || h.closest("input") || h.closest(".ao-title") || v(h);
10556
10561
  };
10557
- return (c, v) => (p(), D(an, {
10562
+ return (c, v) => (p(), B(an, {
10558
10563
  color: d.value,
10559
10564
  "onUpdate:color": v[2] || (v[2] = (h) => d.value = h)
10560
10565
  }, {
@@ -10708,7 +10713,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
10708
10713
  }), o = M(() => (i.value || 0) / (n.value || 1)), l = (r) => {
10709
10714
  e("updateMilestone", { id: a.id, name: r });
10710
10715
  };
10711
- return (r, d) => (p(), D(is, {
10716
+ return (r, d) => (p(), B(is, {
10712
10717
  class: Q([
10713
10718
  "ao-card-project-milestone"
10714
10719
  ]),
@@ -10775,7 +10780,7 @@ const Sh = { class: "ao-card-project-milestone__default" }, Ah = { class: "ao-ti
10775
10780
  ]),
10776
10781
  footer: F(() => [
10777
10782
  f("div", Vh, [
10778
- r.important ? (p(), D(pe, {
10783
+ r.important ? (p(), B(pe, {
10779
10784
  key: 0,
10780
10785
  name: "FlagRounded",
10781
10786
  class: Q(
@@ -10855,7 +10860,7 @@ const Nh = { class: "ao-mapping-card-project-phase__header" }, Uh = { class: "ao
10855
10860
  const h = c.target;
10856
10861
  h.closest("button") || h.closest("input") || h.closest(".ao-title") || v();
10857
10862
  };
10858
- return (c, v) => (p(), D(an, {
10863
+ return (c, v) => (p(), B(an, {
10859
10864
  color: d.value,
10860
10865
  "onUpdate:color": v[2] || (v[2] = (h) => d.value = h)
10861
10866
  }, {
@@ -11106,7 +11111,7 @@ const Gh = { class: "ao-project-phase" }, Xh = {
11106
11111
  _: 1
11107
11112
  }, 16, ["list", "disabled"]),
11108
11113
  f("div", t9, [
11109
- b.isEditable ? (p(), D(Ct, {
11114
+ b.isEditable ? (p(), B(Ct, {
11110
11115
  key: 0,
11111
11116
  label: b.$t("project.milestone.add"),
11112
11117
  class: "ao-project-phase__milestone-add",
@@ -11219,7 +11224,7 @@ const r9 = ["onSubmit"], u9 = { class: "ao-add-template-modal__form-body" }, c9
11219
11224
  }, o = () => {
11220
11225
  n.value && e("apply", n.value, a.projectId);
11221
11226
  };
11222
- return (l, r) => (p(), D(Ja, { size: "sm" }, {
11227
+ return (l, r) => (p(), B(Ja, { size: "sm" }, {
11223
11228
  header: F(() => [
11224
11229
  T(be, {
11225
11230
  title: l.$t("project.template.apply.title"),
@@ -11271,7 +11276,7 @@ const p9 = ["onSubmit"], v9 = { class: "ao-save-template-modal__form-body" }, f9
11271
11276
  const i = () => {
11272
11277
  s.value && e("save", s.value, n.value);
11273
11278
  };
11274
- return (o, l) => (p(), D(Ja, { size: "sm" }, {
11279
+ return (o, l) => (p(), B(Ja, { size: "sm" }, {
11275
11280
  header: F(() => [
11276
11281
  T(be, {
11277
11282
  title: o.$t("project.template.save.title"),
@@ -11415,7 +11420,7 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11415
11420
  () => n.value.flatMap((O) => O.activities)
11416
11421
  ), A = (O) => {
11417
11422
  e("addFiles", O);
11418
- }, B = (O) => {
11423
+ }, D = (O) => {
11419
11424
  e("removeFile", O);
11420
11425
  }, R = (O) => {
11421
11426
  e("addComment", O);
@@ -11462,14 +11467,14 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11462
11467
  }, null, 8, ["icon-name", "label", "aria-checked"])
11463
11468
  ]),
11464
11469
  secondary: F(() => [
11465
- O.isEditable === !0 ? (p(), D(re, {
11470
+ O.isEditable === !0 ? (p(), B(re, {
11466
11471
  key: 0,
11467
11472
  class: "ao-project-overview__save-as-template",
11468
11473
  color: "primary",
11469
11474
  label: O.$t("project.template.save.label"),
11470
11475
  onClick: k[2] || (k[2] = (y) => N.value = !0)
11471
11476
  }, null, 8, ["label"])) : E("", !0),
11472
- O.isEditable === !0 ? (p(), D(re, {
11477
+ O.isEditable === !0 ? (p(), B(re, {
11473
11478
  key: 1,
11474
11479
  class: "ao-project-overview__add-template",
11475
11480
  color: "primary",
@@ -11512,7 +11517,7 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11512
11517
  onArchiveActivity: g,
11513
11518
  onUnarchiveActivity: $
11514
11519
  }, null, 8, ["phases", "project-id", "project-name", "users", "is-editable", "closed-status"]),
11515
- (p(), D(Tt, { to: "body" }, [
11520
+ (p(), B(Tt, { to: "body" }, [
11516
11521
  T(U, {
11517
11522
  name: "modal",
11518
11523
  activities: P.value,
@@ -11530,13 +11535,13 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11530
11535
  onUpdateSubtask: m,
11531
11536
  onDeleteSubtask: I,
11532
11537
  onAddFiles: A,
11533
- onRemoveFile: B,
11538
+ onRemoveFile: D,
11534
11539
  onAddComment: R,
11535
11540
  onUpdateComment: Z,
11536
11541
  onRemoveComment: K
11537
11542
  }, {
11538
11543
  default: F(({ Component: y }) => [
11539
- (p(), D(mt(y), null, {
11544
+ (p(), B(mt(y), null, {
11540
11545
  default: F((V) => [
11541
11546
  ae(O.$slots, "activityDetailsBody", ha(ma(V)))
11542
11547
  ]),
@@ -11547,14 +11552,14 @@ const sn = /* @__PURE__ */ W(w9, [["render", S9], ["__scopeId", "data-v-ff4e3297
11547
11552
  }, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled"])
11548
11553
  ]))
11549
11554
  ], 16),
11550
- (p(), D(Tt, { to: "body" }, [
11551
- N.value ? (p(), D(go, {
11555
+ (p(), B(Tt, { to: "body" }, [
11556
+ N.value ? (p(), B(go, {
11552
11557
  key: 0,
11553
11558
  phases: O.phases,
11554
11559
  onClose: k[5] || (k[5] = (y) => N.value = !1),
11555
11560
  onSave: ie
11556
11561
  }, null, 8, ["phases"])) : E("", !0),
11557
- te.value ? (p(), D(mo, {
11562
+ te.value ? (p(), B(mo, {
11558
11563
  key: 1,
11559
11564
  "project-id": O.project.id,
11560
11565
  templates: O.templates,
@@ -11636,13 +11641,13 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
11636
11641
  var h;
11637
11642
  return (h = a.tasks) == null ? void 0 : h.filter((w) => w.isDone).length;
11638
11643
  }), v = M(() => (c.value || 0) / (u.value || 1));
11639
- return (h, w) => (p(), D(is, {
11644
+ return (h, w) => (p(), B(is, {
11640
11645
  class: Q(["ao-card-feed", { "ao-card-feed--closed": h.isClosed }]),
11641
11646
  "is-clickable": !0
11642
11647
  }, {
11643
11648
  header: F(() => [
11644
11649
  f("div", O9, [
11645
- s.value ? (p(), D(ra, {
11650
+ s.value ? (p(), B(ra, {
11646
11651
  key: 0,
11647
11652
  label: s.value,
11648
11653
  class: "ao-card-feed__project",
@@ -11651,19 +11656,19 @@ const O9 = { class: "ao-card-feed__header" }, E9 = {
11651
11656
  "raw-color": n.value
11652
11657
  }, null, 8, ["label", "color", "raw-color"])) : E("", !0),
11653
11658
  h.isPrivate || h.important || h.isClosed ? (p(), C("div", E9, [
11654
- h.isPrivate ? (p(), D(pe, {
11659
+ h.isPrivate ? (p(), B(pe, {
11655
11660
  key: 0,
11656
11661
  name: "Lock",
11657
11662
  class: "ao-card-feed__warning",
11658
11663
  size: "sm"
11659
11664
  })) : E("", !0),
11660
- h.important ? (p(), D(pe, {
11665
+ h.important ? (p(), B(pe, {
11661
11666
  key: 1,
11662
11667
  name: "FlagRounded",
11663
11668
  class: "ao-card-feed__important",
11664
11669
  size: "sm"
11665
11670
  })) : E("", !0),
11666
- h.isClosed ? (p(), D(pe, {
11671
+ h.isClosed ? (p(), B(pe, {
11667
11672
  key: 2,
11668
11673
  name: "CheckSmallRounded",
11669
11674
  class: "ao-card-feed__closed"
@@ -11926,13 +11931,13 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
11926
11931
  }, {
11927
11932
  tag: F(({
11928
11933
  option: A,
11929
- handleTagRemove: B
11934
+ handleTagRemove: D
11930
11935
  }) => [
11931
11936
  T(et, {
11932
11937
  "user-name": A.label,
11933
11938
  "avatar-url": A.avatar,
11934
11939
  "is-closable": !0,
11935
- onClose: (R) => B(A, R)
11940
+ onClose: (R) => D(A, R)
11936
11941
  }, null, 8, ["user-name", "avatar-url", "onClose"])
11937
11942
  ]),
11938
11943
  _: 1
@@ -11943,9 +11948,9 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
11943
11948
  color: v.value,
11944
11949
  "onUpdate:color": I[3] || (I[3] = (A) => v.value = A)
11945
11950
  }, {
11946
- clickable: F(({ openPicker: A, bgColor: B }) => [
11951
+ clickable: F(({ openPicker: A, bgColor: D }) => [
11947
11952
  f("button", {
11948
- style: We({ background: B }),
11953
+ style: We({ background: D }),
11949
11954
  class: "color-button",
11950
11955
  onClick: (R) => b(R, A)
11951
11956
  }, null, 12, l4)
@@ -11963,12 +11968,12 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
11963
11968
  group: "kanban"
11964
11969
  }, m.$attrs, { onChange: c }), {
11965
11970
  item: F(({ element: A }) => {
11966
- var B, R, Z, K, te;
11971
+ var D, R, Z, K, te;
11967
11972
  return [
11968
11973
  T(Co, {
11969
11974
  id: A.id,
11970
11975
  name: A.name || A.id,
11971
- "phase-name": (B = n.value) == null ? void 0 : B.name,
11976
+ "phase-name": (D = n.value) == null ? void 0 : D.name,
11972
11977
  "milestone-name": (R = o.value) == null ? void 0 : R.name,
11973
11978
  "milestone-color": (Z = o.value) == null ? void 0 : Z.color,
11974
11979
  deadline: A.deadline,
@@ -11992,7 +11997,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
11992
11997
  m.isEditable ? {
11993
11998
  name: "secondary",
11994
11999
  fn: F(() => [
11995
- m.isEditable && A.active ? (p(), D(re, {
12000
+ m.isEditable && A.active ? (p(), B(re, {
11996
12001
  key: 0,
11997
12002
  color: "primary",
11998
12003
  variant: "ghost",
@@ -12003,7 +12008,7 @@ const X9 = { class: "ao-project-milestone" }, Q9 = { class: "ao-project-mileston
12003
12008
  label: m.$t("archive"),
12004
12009
  onClick: ve(() => m.$emit("archiveActivity", { id: A.id }), ["stop"])
12005
12010
  }, null, 8, ["label", "onClick"])) : E("", !0),
12006
- m.isEditable && !A.active ? (p(), D(re, {
12011
+ m.isEditable && !A.active ? (p(), B(re, {
12007
12012
  key: 1,
12008
12013
  color: "primary",
12009
12014
  variant: "ghost",
@@ -12091,7 +12096,7 @@ const c4 = /* @__PURE__ */ x({
12091
12096
  };
12092
12097
  return (g, $) => {
12093
12098
  var b, m;
12094
- return o.value ? (p(), D(Ys, {
12099
+ return o.value ? (p(), B(Ys, {
12095
12100
  key: 0,
12096
12101
  activity: o.value,
12097
12102
  "activity-types": g.activityTypes,
@@ -12137,7 +12142,7 @@ const c4 = /* @__PURE__ */ x({
12137
12142
  class: "ao-col-header__title",
12138
12143
  level: 4
12139
12144
  }, null, 8, ["title"]),
12140
- e.items ? (p(), D(ra, {
12145
+ e.items ? (p(), B(ra, {
12141
12146
  key: 0,
12142
12147
  label: e.items,
12143
12148
  class: "ao-col-header__items",
@@ -12313,7 +12318,7 @@ const $4 = {
12313
12318
  var v;
12314
12319
  return [
12315
12320
  f("div", k4, [
12316
- u.title ? (p(), D(p4, {
12321
+ u.title ? (p(), B(p4, {
12317
12322
  key: 0,
12318
12323
  title: u.title,
12319
12324
  level: 3,
@@ -12371,7 +12376,7 @@ const $4 = {
12371
12376
  onRemoveAssignee: () => i(v) && l({ id: v.id, assigneeId: null })
12372
12377
  }, {
12373
12378
  secondary: F(() => [
12374
- i(v) && v.active ? (p(), D(re, {
12379
+ i(v) && v.active ? (p(), B(re, {
12375
12380
  key: 0,
12376
12381
  color: "primary",
12377
12382
  variant: "ghost",
@@ -12382,7 +12387,7 @@ const $4 = {
12382
12387
  label: u.$t("feed.activity.archive"),
12383
12388
  onClick: ve(() => u.$emit("archiveActivity", { id: v.id }), ["stop"])
12384
12389
  }, null, 8, ["label", "onClick"])) : E("", !0),
12385
- i(v) && !v.active ? (p(), D(re, {
12390
+ i(v) && !v.active ? (p(), B(re, {
12386
12391
  key: 1,
12387
12392
  color: "primary",
12388
12393
  variant: "ghost",
@@ -12414,7 +12419,7 @@ const $4 = {
12414
12419
  }, 16, ["class", "list", "disabled"]),
12415
12420
  u.$slots.footer || u.footerLabel ? (p(), C("div", O4, [
12416
12421
  ae(u.$slots, "footer", {}, () => [
12417
- u.isEditable ? (p(), D(Ct, {
12422
+ u.isEditable ? (p(), B(Ct, {
12418
12423
  key: 0,
12419
12424
  "icon-name": "AddBoxOutlineRounded",
12420
12425
  label: u.footerLabel,
@@ -12550,7 +12555,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12550
12555
  e("unarchiveActivity", k);
12551
12556
  }, A = (k) => {
12552
12557
  d.value = !1, e("update:searchText", k);
12553
- }, B = (k) => {
12558
+ }, D = (k) => {
12554
12559
  d.value = !1, e("clear:searchText", k);
12555
12560
  }, R = (k) => {
12556
12561
  a.selectedActivity && e("addSubtask", k);
@@ -12596,9 +12601,9 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12596
12601
  placeholder: k.$t("feed.search.placeholder"),
12597
12602
  class: "ao-feed__search",
12598
12603
  "onUpdate:modelValue": A,
12599
- onClear: B
12604
+ onClear: D
12600
12605
  }, null, 8, ["model-value", "placeholder"]),
12601
- a.project ? E("", !0) : (p(), D(Ae, {
12606
+ a.project ? E("", !0) : (p(), B(Ae, {
12602
12607
  key: 0,
12603
12608
  "model-value": k.filters[J(Dt).project],
12604
12609
  mode: "tags",
@@ -12609,7 +12614,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12609
12614
  placeholder: k.$t("feed.filters.project.placeholder"),
12610
12615
  "onUpdate:modelValue": U[1] || (U[1] = (V) => h(J(Dt).project, V))
12611
12616
  }, null, 8, ["model-value", "options", "placeholder"])),
12612
- g.value ? (p(), D(Ae, {
12617
+ g.value ? (p(), B(Ae, {
12613
12618
  key: 1,
12614
12619
  "model-value": k.filters[J(Dt).type],
12615
12620
  mode: "tags",
@@ -12620,7 +12625,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12620
12625
  placeholder: k.$t("feed.filters.activityType.placeholder"),
12621
12626
  "onUpdate:modelValue": U[2] || (U[2] = (V) => h(J(Dt).type, V))
12622
12627
  }, null, 8, ["model-value", "options", "placeholder"])) : E("", !0),
12623
- $.value.length ? (p(), D(Ae, {
12628
+ $.value.length ? (p(), B(Ae, {
12624
12629
  key: 2,
12625
12630
  "model-value": k.filters[J(Dt).assignee],
12626
12631
  mode: "tags",
@@ -12685,7 +12690,7 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12685
12690
  _: 1
12686
12691
  }),
12687
12692
  f("div", D4, [
12688
- (p(!0), C(fe, null, Ce(k.statuses, (V) => (p(), D(E4, {
12693
+ (p(!0), C(fe, null, Ce(k.statuses, (V) => (p(), B(E4, {
12689
12694
  key: V.id,
12690
12695
  status: V,
12691
12696
  list: l.value[V.id],
@@ -12702,8 +12707,8 @@ const H4 = { class: "ao-feed" }, V4 = { class: "ao-feed__filters" }, D4 = { clas
12702
12707
  onUpdateActivity: m
12703
12708
  }, null, 8, ["status", "list", "title", "footer-label", "users", "user-id", "is-editable", "tagType", "onAdd"]))), 128))
12704
12709
  ]),
12705
- (p(), D(Tt, { to: "body" }, [
12706
- k.selectedActivity ? (p(), D(Ys, {
12710
+ (p(), B(Tt, { to: "body" }, [
12711
+ k.selectedActivity ? (p(), B(Ys, {
12707
12712
  key: 0,
12708
12713
  activity: k.selectedActivity,
12709
12714
  "activity-types": k.activityTypes,
@@ -12808,14 +12813,14 @@ const R4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
12808
12813
  }, null, 8, ["icon-name", "label", "aria-checked"])
12809
12814
  ]),
12810
12815
  secondary: F(() => [
12811
- g.isEditable === !0 ? (p(), D(re, {
12816
+ g.isEditable === !0 ? (p(), B(re, {
12812
12817
  key: 0,
12813
12818
  class: "ao-project-mapping-overview__save-as-template",
12814
12819
  color: "primary",
12815
12820
  label: g.$t("project.template.save.label"),
12816
12821
  onClick: $[2] || ($[2] = (b) => u.value = !0)
12817
12822
  }, null, 8, ["label"])) : E("", !0),
12818
- g.isEditable === !0 ? (p(), D(re, {
12823
+ g.isEditable === !0 ? (p(), B(re, {
12819
12824
  key: 1,
12820
12825
  class: "ao-project-mapping-overview__add-template",
12821
12826
  color: "primary",
@@ -12849,14 +12854,14 @@ const R4 = { class: "ao-project-mapping" }, j4 = { class: "ao-project-mapping-ma
12849
12854
  ])
12850
12855
  ])
12851
12856
  ], 16),
12852
- (p(), D(Tt, { to: "body" }, [
12853
- u.value ? (p(), D(go, {
12857
+ (p(), B(Tt, { to: "body" }, [
12858
+ u.value ? (p(), B(go, {
12854
12859
  key: 0,
12855
12860
  phases: g.phases,
12856
12861
  onClose: $[4] || ($[4] = (b) => u.value = !1),
12857
12862
  onSave: v
12858
12863
  }, null, 8, ["phases"])) : E("", !0),
12859
- d.value ? (p(), D(mo, {
12864
+ d.value ? (p(), B(mo, {
12860
12865
  key: 1,
12861
12866
  "project-id": g.project.id,
12862
12867
  templates: g.templates,
@@ -13065,7 +13070,7 @@ const q4 = { class: "ao-field__label" }, Y4 = /* @__PURE__ */ x({
13065
13070
  ), n = (i) => {
13066
13071
  a.modelModifiers.number && (i = Number(i)), e("update:modelValue", i);
13067
13072
  };
13068
- return (i, o) => (p(), D(Y4, { label: i.label }, {
13073
+ return (i, o) => (p(), B(Y4, { label: i.label }, {
13069
13074
  default: F(() => [
13070
13075
  f("input", Me({
13071
13076
  class: "ao-field__input",