@26lights/orcha 0.36.26 → 0.36.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/orcha.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as z, openBlock as p, createBlock as P, unref as Q, mergeProps as He, createElementBlock as g, createElementVNode as v, pushScopeId as Oi, popScopeId as Ei, createStaticVNode as Ii, computed as S, resolveDynamicComponent as ht, normalizeClass as K, renderSlot as te, toDisplayString as G, createCommentVNode as T, ref as ee, watch as de, nextTick as De, withKeys as dt, toHandlers as Li, withCtx as W, createTextVNode as Fa, createVNode as M, normalizeStyle as wn, withModifiers as fe, createSlots as Ua, Fragment as ve, renderList as _e, onMounted as xt, onBeforeUnmount as Ts, onUnmounted as $n, Teleport as Nt, toRefs as Me, getCurrentInstance as At, toRef as Pt, normalizeProps as pa, guardReactiveProps as fa, withDirectives as Ke, vShow as Hi, onUpdated as Di, vModelText as ut, resolveComponent as Fe, getCurrentScope as Pi, onScopeDispose as Vi, toHandlerKey as Bi } from "vue";
2
2
  import { RouterView as Ri } from "vue-router";
3
3
  import mt from "vuedraggable";
4
- const u8 = /* @__PURE__ */ z({
4
+ const c8 = /* @__PURE__ */ z({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -1441,11 +1441,11 @@ const hn = {
1441
1441
  todo: "todo",
1442
1442
  done: "done",
1443
1443
  archived: "archived"
1444
- }, c8 = {
1444
+ }, d8 = {
1445
1445
  months: "months",
1446
1446
  weeks: "weeks",
1447
1447
  days: "days"
1448
- }, d8 = {
1448
+ }, p8 = {
1449
1449
  future: "future",
1450
1450
  this_month: "this_month",
1451
1451
  this_week: "this_week",
@@ -1469,7 +1469,7 @@ const hn = {
1469
1469
  TASKS: "tasks"
1470
1470
  };
1471
1471
  var F2 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(F2 || {});
1472
- const p8 = {
1472
+ const f8 = {
1473
1473
  add: "add",
1474
1474
  remove: "remove",
1475
1475
  moved: "moved"
@@ -5343,7 +5343,7 @@ function i7(t, e, a) {
5343
5343
  let oe = $;
5344
5344
  if (X.value && C.value) {
5345
5345
  let me = ne.value;
5346
- me || (me = (bt, is, i8) => yt.value.some((Ti) => {
5346
+ me || (me = (bt, is, o8) => yt.value.some((Ti) => {
5347
5347
  let os = fn(ya(bt[Ti]), x.value);
5348
5348
  return le.value ? os.startsWith(fn(is, x.value)) : os.indexOf(fn(is, x.value)) !== -1;
5349
5349
  })), oe = oe.filter((bt) => me(bt, X.value, re));
@@ -9453,19 +9453,19 @@ const E9 = { class: "ao-card-project-phase__header" }, I9 = { class: "ao-card-pr
9453
9453
  ]), 1032, ["is-clickable"]));
9454
9454
  }
9455
9455
  });
9456
- const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
9456
+ const R9 = { class: "ao-card-project-milestone__default" }, N9 = { style: { display: "flex", gap: "8px" } }, j9 = {
9457
9457
  key: 0,
9458
9458
  class: "ao-card-project-milestone__archive"
9459
- }, j9 = { class: "ao-card-project-milestone__activities" }, F9 = { class: "ao-card-project-milestone__activities-row" }, U9 = { class: "ao-card-project-milestone__subitem" }, Z9 = { class: "ao-card-project-milestone__subitem" }, W9 = {
9459
+ }, F9 = { class: "ao-card-project-milestone__activities" }, U9 = { class: "ao-card-project-milestone__activities-row" }, Z9 = { class: "ao-card-project-milestone__subitem" }, W9 = { class: "ao-card-project-milestone__subitem" }, q9 = {
9460
9460
  key: 1,
9461
9461
  class: "ao-card-project-milestone__secondary"
9462
- }, q9 = { class: "ao-card-project-milestone__footer" }, z9 = {
9462
+ }, z9 = { class: "ao-card-project-milestone__footer" }, x9 = {
9463
9463
  key: 1,
9464
9464
  class: "ao-field ao-card-project-milestone__deadline"
9465
- }, x9 = { class: "ao-field__label" }, Y9 = {
9465
+ }, Y9 = { class: "ao-field__label" }, K9 = {
9466
9466
  key: 2,
9467
9467
  class: "ao-card-project-milestone__assignee"
9468
- }, K9 = /* @__PURE__ */ z({
9468
+ }, G9 = /* @__PURE__ */ z({
9469
9469
  __name: "AoCardProjectItemMilestone",
9470
9470
  props: {
9471
9471
  id: {},
@@ -9510,16 +9510,18 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
9510
9510
  }, {
9511
9511
  default: W(() => [
9512
9512
  v("div", R9, [
9513
- M(u, { color: l.color }, null, 8, ["color"]),
9514
- M(ye, {
9515
- id: l.id,
9516
- title: n.value || "",
9517
- level: 5,
9518
- "is-editable": !l.readonly && l.isEditable,
9519
- class: "ao-card-project-milestone__title",
9520
- "onUpdate:title": r
9521
- }, null, 8, ["id", "title", "is-editable"]),
9522
- !l.readonly && l.isEditable ? (p(), g("div", N9, [
9513
+ v("div", N9, [
9514
+ M(u, { color: l.color }, null, 8, ["color"]),
9515
+ M(ye, {
9516
+ id: l.id,
9517
+ title: n.value || "",
9518
+ level: 5,
9519
+ "is-editable": !l.readonly && l.isEditable,
9520
+ class: "ao-card-project-milestone__title",
9521
+ "onUpdate:title": r
9522
+ }, null, 8, ["id", "title", "is-editable"])
9523
+ ]),
9524
+ !l.readonly && l.isEditable ? (p(), g("div", j9, [
9523
9525
  M(ce, {
9524
9526
  color: l.isSelected ? void 0 : "primary",
9525
9527
  variant: "ghost",
@@ -9532,29 +9534,29 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
9532
9534
  }, null, 8, ["color", "label"])
9533
9535
  ])) : T("", !0)
9534
9536
  ]),
9535
- v("div", j9, [
9536
- v("div", F9, [
9537
+ v("div", F9, [
9538
+ v("div", U9, [
9537
9539
  s.value ? (p(), g(ve, { key: 0 }, [
9538
- v("div", U9, [
9540
+ v("div", Z9, [
9539
9541
  M(pe, {
9540
9542
  name: "SelectCheckBox",
9541
9543
  size: "sm"
9542
9544
  }),
9543
- v("span", Z9, G(o.value) + " / " + G(s.value), 1)
9545
+ v("span", W9, G(o.value) + " / " + G(s.value), 1)
9544
9546
  ]),
9545
9547
  M(qn, {
9546
9548
  percentages: i.value,
9547
9549
  class: "ao-card-project-milestone__progress"
9548
9550
  }, null, 8, ["percentages"])
9549
9551
  ], 64)) : T("", !0),
9550
- l.$slots.secondary ? (p(), g("div", W9, [
9552
+ l.$slots.secondary ? (p(), g("div", q9, [
9551
9553
  te(l.$slots, "secondary")
9552
9554
  ])) : T("", !0)
9553
9555
  ])
9554
9556
  ])
9555
9557
  ]),
9556
9558
  footer: W(() => [
9557
- v("div", q9, [
9559
+ v("div", z9, [
9558
9560
  l.important ? (p(), P(pe, {
9559
9561
  key: 0,
9560
9562
  name: "FlagRounded",
@@ -9563,10 +9565,10 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
9563
9565
  ),
9564
9566
  size: "sm"
9565
9567
  }, null, 8, ["class"])) : T("", !0),
9566
- l.deadline ? (p(), g("label", z9, [
9567
- v("span", x9, G(Q(Tn)(l.deadline)), 1)
9568
+ l.deadline ? (p(), g("label", x9, [
9569
+ v("span", Y9, G(Q(Tn)(l.deadline)), 1)
9568
9570
  ])) : T("", !0),
9569
- l.assignee ? (p(), g("div", Y9, [
9571
+ l.assignee ? (p(), g("div", K9, [
9570
9572
  M(Je, {
9571
9573
  "user-name": Q(zs)(l.assignee),
9572
9574
  "avatar-url": l.assignee.avatarUrl,
@@ -9581,10 +9583,10 @@ const R9 = { class: "ao-card-project-milestone__default" }, N9 = {
9581
9583
  };
9582
9584
  }
9583
9585
  });
9584
- const G9 = {
9586
+ const X9 = {
9585
9587
  key: 0,
9586
9588
  class: "ao-project-phase__drag ao-card__drag"
9587
- }, X9 = { class: "ao-project-phase__col-phase" }, Q9 = { class: "ao-project-phase__col-milestones" }, J9 = { class: "ao-project-phase__milestones" }, ev = { class: "ao-project-phase__milestones-list-footer" }, tv = /* @__PURE__ */ z({
9589
+ }, Q9 = { class: "ao-project-phase__col-phase" }, J9 = { class: "ao-project-phase__col-milestones" }, ev = { class: "ao-project-phase__milestones" }, tv = { class: "ao-project-phase__milestones-list-footer" }, av = /* @__PURE__ */ z({
9588
9590
  __name: "AoProjectPhase",
9589
9591
  props: {
9590
9592
  phase: {},
@@ -9641,13 +9643,13 @@ const G9 = {
9641
9643
  { "ao-project-phase--selected": d.phase.id === ((w = d.$route.params) == null ? void 0 : w.phaseId) }
9642
9644
  ])
9643
9645
  }, [
9644
- d.isEditable ? (p(), g("div", G9, [
9646
+ d.isEditable ? (p(), g("div", X9, [
9645
9647
  M(pe, {
9646
9648
  name: "DragIndicator",
9647
9649
  class: "ao-project-phase__drag-handle"
9648
9650
  })
9649
9651
  ])) : T("", !0),
9650
- v("div", X9, [
9652
+ v("div", Q9, [
9651
9653
  M(B9, {
9652
9654
  id: d.phase.id,
9653
9655
  milestones: i.value,
@@ -9659,8 +9661,8 @@ const G9 = {
9659
9661
  onArchivePhase: u
9660
9662
  }, null, 8, ["id", "milestones", "name", "deadline", "is-editable"])
9661
9663
  ]),
9662
- v("div", Q9, [
9663
- v("div", J9, [
9664
+ v("div", J9, [
9665
+ v("div", ev, [
9664
9666
  M(Q(mt), He({
9665
9667
  class: "ao-project-phase__milestones-list",
9666
9668
  list: i.value,
@@ -9671,7 +9673,7 @@ const G9 = {
9671
9673
  item: W(({ element: b }) => {
9672
9674
  var y;
9673
9675
  return [
9674
- M(K9, {
9676
+ M(G9, {
9675
9677
  id: b.id,
9676
9678
  name: b.name,
9677
9679
  color: b.color,
@@ -9696,7 +9698,7 @@ const G9 = {
9696
9698
  }),
9697
9699
  _: 1
9698
9700
  }, 16, ["list", "disabled"]),
9699
- v("div", ev, [
9701
+ v("div", tv, [
9700
9702
  d.isEditable ? (p(), P(Ct, {
9701
9703
  key: 0,
9702
9704
  label: d.$t("project.milestone.add"),
@@ -9711,10 +9713,10 @@ const G9 = {
9711
9713
  };
9712
9714
  }
9713
9715
  });
9714
- const av = { class: "ao-project__phases" }, nv = {
9716
+ const nv = { class: "ao-project__phases" }, sv = {
9715
9717
  key: 0,
9716
9718
  class: "ao-project-phase__phases-list-footer"
9717
- }, sv = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), iv = { class: "ao-project-phase__col-phase" }, ov = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), rv = /* @__PURE__ */ z({
9719
+ }, iv = /* @__PURE__ */ v("div", { class: "ao-project-phase__empty_drag" }, null, -1), ov = { class: "ao-project-phase__col-phase" }, rv = /* @__PURE__ */ v("div", { class: "ao-project-phase__col-milestones" }, null, -1), lv = /* @__PURE__ */ z({
9718
9720
  __name: "AoProjectPhases",
9719
9721
  props: {
9720
9722
  phases: {},
@@ -9750,7 +9752,7 @@ const av = { class: "ao-project__phases" }, nv = {
9750
9752
  }, c = (u) => {
9751
9753
  e("addPhase", u);
9752
9754
  };
9753
- return (u, f) => (p(), g("div", av, [
9755
+ return (u, f) => (p(), g("div", nv, [
9754
9756
  M(Q(mt), {
9755
9757
  class: "ao-project-phase__phases-list",
9756
9758
  "model-value": u.phases,
@@ -9759,7 +9761,7 @@ const av = { class: "ao-project__phases" }, nv = {
9759
9761
  onChange: r
9760
9762
  }, {
9761
9763
  item: W(({ element: d }) => [
9762
- M(tv, {
9764
+ M(av, {
9763
9765
  phase: d,
9764
9766
  "is-editable": !u.readonly && u.isEditable,
9765
9767
  "closed-status": u.closedStatus,
@@ -9774,9 +9776,9 @@ const av = { class: "ao-project__phases" }, nv = {
9774
9776
  ]),
9775
9777
  _: 1
9776
9778
  }, 8, ["model-value"]),
9777
- u.isEditable ? (p(), g("div", nv, [
9778
- sv,
9779
- v("div", iv, [
9779
+ u.isEditable ? (p(), g("div", sv, [
9780
+ iv,
9781
+ v("div", ov, [
9780
9782
  M(Ct, {
9781
9783
  label: u.$t("project.phases.add"),
9782
9784
  "icon-name": "Add",
@@ -9784,12 +9786,12 @@ const av = { class: "ao-project__phases" }, nv = {
9784
9786
  onClick: c
9785
9787
  }, null, 8, ["label"])
9786
9788
  ]),
9787
- ov
9789
+ rv
9788
9790
  ])) : T("", !0)
9789
9791
  ]));
9790
9792
  }
9791
9793
  });
9792
- const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv = { class: "field__row" }, dv = { class: "ao-add-template-modal__form-footer" }, pv = /* @__PURE__ */ z({
9794
+ const uv = ["onSubmit"], cv = { class: "ao-add-template-modal__form-body" }, dv = { class: "field__row" }, pv = { class: "ao-add-template-modal__form-footer" }, fv = /* @__PURE__ */ z({
9793
9795
  __name: "AoAddTemplateModal",
9794
9796
  props: {
9795
9797
  projectId: {},
@@ -9817,8 +9819,8 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9817
9819
  class: "ao-add-template-modal__form",
9818
9820
  onSubmit: fe(i, ["prevent"])
9819
9821
  }, [
9820
- v("div", uv, [
9821
- v("div", cv, [
9822
+ v("div", cv, [
9823
+ v("div", dv, [
9822
9824
  M($e, {
9823
9825
  value: s.value,
9824
9826
  options: n.value,
@@ -9827,7 +9829,7 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9827
9829
  }, null, 8, ["value", "options"])
9828
9830
  ])
9829
9831
  ]),
9830
- v("footer", dv, [
9832
+ v("footer", pv, [
9831
9833
  M(ce, {
9832
9834
  label: r.$t("project.template.add.label"),
9833
9835
  type: "submit",
@@ -9836,13 +9838,13 @@ const lv = ["onSubmit"], uv = { class: "ao-add-template-modal__form-body" }, cv
9836
9838
  onClick: i
9837
9839
  }, null, 8, ["label"])
9838
9840
  ])
9839
- ], 40, lv)
9841
+ ], 40, uv)
9840
9842
  ]),
9841
9843
  _: 1
9842
9844
  }));
9843
9845
  }
9844
9846
  });
9845
- const fv = z({
9847
+ const vv = z({
9846
9848
  props: {
9847
9849
  isLeft: {
9848
9850
  type: Boolean,
@@ -9871,9 +9873,9 @@ const fv = z({
9871
9873
  }
9872
9874
  }
9873
9875
  });
9874
- const vv = { class: "toggle-wrapper" };
9875
- function hv(t, e, a, n, s, o) {
9876
- return p(), g("div", vv, [
9876
+ const hv = { class: "toggle-wrapper" };
9877
+ function mv(t, e, a, n, s, o) {
9878
+ return p(), g("div", hv, [
9877
9879
  v("button", {
9878
9880
  class: K({
9879
9881
  button: !0,
@@ -9894,7 +9896,7 @@ function hv(t, e, a, n, s, o) {
9894
9896
  }, G(t.rightLabel), 3)
9895
9897
  ]);
9896
9898
  }
9897
- const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527"]]), mv = { class: "ao-project" }, Cv = { class: "ao-project__body" }, gv = /* @__PURE__ */ z({
9899
+ const ci = /* @__PURE__ */ j(vv, [["render", mv], ["__scopeId", "data-v-cbe33527"]]), Cv = { class: "ao-project" }, gv = { class: "ao-project__body" }, _v = /* @__PURE__ */ z({
9898
9900
  __name: "AoProjectOverviewProject",
9899
9901
  props: {
9900
9902
  project: {},
@@ -9960,7 +9962,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
9960
9962
  const R = Fe("RouterView");
9961
9963
  return p(), g(ve, null, [
9962
9964
  v("div", He({ class: "ao-project-overview" }, O.$attrs), [
9963
- v("div", mv, [
9965
+ v("div", Cv, [
9964
9966
  M(Ya, null, {
9965
9967
  primary: W(() => [
9966
9968
  M(ci, {
@@ -9995,8 +9997,8 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
9995
9997
  ]),
9996
9998
  _: 1
9997
9999
  }),
9998
- v("div", Cv, [
9999
- M(rv, {
10000
+ v("div", gv, [
10001
+ M(lv, {
10000
10002
  phases: O.phases,
10001
10003
  "closed-status": O.closedStatus,
10002
10004
  "is-editable": O.isEditable === !0,
@@ -10061,7 +10063,7 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10061
10063
  ]))
10062
10064
  ], 16),
10063
10065
  (p(), P(Nt, { to: "body" }, [
10064
- U.value ? (p(), P(pv, {
10066
+ U.value ? (p(), P(fv, {
10065
10067
  key: 0,
10066
10068
  "project-id": O.project.id,
10067
10069
  templates: O.templates,
@@ -10073,36 +10075,36 @@ const ci = /* @__PURE__ */ j(fv, [["render", hv], ["__scopeId", "data-v-cbe33527
10073
10075
  };
10074
10076
  }
10075
10077
  });
10076
- const _v = { class: "ao-card-feed__header" }, yv = {
10078
+ const yv = { class: "ao-card-feed__header" }, bv = {
10077
10079
  key: 1,
10078
10080
  class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
10079
- }, bv = {
10081
+ }, wv = {
10080
10082
  key: 2,
10081
10083
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
10082
- }, wv = { class: "ao-card-feed__body" }, $v = {
10084
+ }, $v = { class: "ao-card-feed__body" }, kv = {
10083
10085
  key: 0,
10084
10086
  class: "ao-card-feed__breadcrumbs"
10085
- }, kv = {
10086
- class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
10087
10087
  }, Sv = {
10088
+ class: /* @__PURE__ */ K(["ao-card-feed__title-group"])
10089
+ }, Mv = {
10088
10090
  key: 1,
10089
10091
  class: "ao-card-feed__deadline"
10090
- }, Mv = { class: "ao-card-feed__footer" }, Av = { class: "ao-card-feed__footer-row" }, Tv = { class: "ao-assignees" }, Ov = {
10092
+ }, Av = { class: "ao-card-feed__footer" }, Tv = { class: "ao-card-feed__footer-row" }, Ov = { class: "ao-assignees" }, Ev = {
10091
10093
  key: 0,
10092
10094
  class: "ao-assignee"
10093
- }, Ev = {
10095
+ }, Iv = {
10094
10096
  key: 0,
10095
10097
  class: "ao-card-feed__subitems"
10096
- }, Iv = {
10098
+ }, Lv = {
10097
10099
  key: 0,
10098
10100
  class: "ao-card-feed__subitem"
10099
- }, Lv = { class: "ao-card-feed__subitem" }, Hv = {
10101
+ }, Hv = { class: "ao-card-feed__subitem" }, Dv = {
10100
10102
  key: 1,
10101
10103
  class: "ao-card-feed__subitem"
10102
- }, Dv = { class: "ao-card-feed__subitem" }, Pv = { class: "ao-card-feed__footer-row" }, Vv = {
10104
+ }, Pv = { class: "ao-card-feed__subitem" }, Vv = { class: "ao-card-feed__footer-row" }, Bv = {
10103
10105
  key: 0,
10104
10106
  class: "ao-card-feed__progress-wrapper"
10105
- }, Bv = { class: "ao-card-feed__subitem" }, Rv = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ z({
10107
+ }, Rv = { class: "ao-card-feed__subitem" }, Nv = { class: "ao-card-feed__subitem" }, di = /* @__PURE__ */ z({
10106
10108
  __name: "AoCardFeed",
10107
10109
  props: {
10108
10110
  id: {},
@@ -10144,7 +10146,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10144
10146
  "is-clickable": !0
10145
10147
  }, {
10146
10148
  header: W(() => [
10147
- v("div", _v, [
10149
+ v("div", yv, [
10148
10150
  n.value ? (p(), P(Mn, {
10149
10151
  key: 0,
10150
10152
  label: n.value,
@@ -10153,7 +10155,7 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10153
10155
  color: h.projectColor ? void 0 : "primary",
10154
10156
  "raw-color": s.value
10155
10157
  }, null, 8, ["label", "color", "raw-color"])) : T("", !0),
10156
- h.isPrivate || h.important || h.isClosed ? (p(), g("div", yv, [
10158
+ h.isPrivate || h.important || h.isClosed ? (p(), g("div", bv, [
10157
10159
  h.isPrivate ? (p(), P(pe, {
10158
10160
  key: 0,
10159
10161
  name: "Lock",
@@ -10172,15 +10174,15 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10172
10174
  class: "ao-card-feed__closed"
10173
10175
  })) : T("", !0)
10174
10176
  ])) : T("", !0),
10175
- h.$slots.secondary ? (p(), g("div", bv, [
10177
+ h.$slots.secondary ? (p(), g("div", wv, [
10176
10178
  te(h.$slots, "secondary")
10177
10179
  ])) : T("", !0)
10178
10180
  ])
10179
10181
  ]),
10180
10182
  default: W(() => [
10181
- v("div", wv, [
10182
- i.value ? (p(), g("span", $v, G(i.value), 1)) : T("", !0),
10183
- v("div", kv, [
10183
+ v("div", $v, [
10184
+ i.value ? (p(), g("span", kv, G(i.value), 1)) : T("", !0),
10185
+ v("div", Sv, [
10184
10186
  M(ye, {
10185
10187
  id: h.id,
10186
10188
  title: h.name,
@@ -10189,17 +10191,17 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10189
10191
  "onUpdate:title": o
10190
10192
  }, null, 8, ["id", "title", "is-editable"])
10191
10193
  ]),
10192
- h.deadline ? (p(), g("span", Sv, G(l.value), 1)) : T("", !0)
10194
+ h.deadline ? (p(), g("span", Mv, G(l.value), 1)) : T("", !0)
10193
10195
  ])
10194
10196
  ]),
10195
10197
  footer: W(() => [
10196
- v("div", Mv, [
10197
- v("div", Av, [
10198
- v("ul", Tv, [
10198
+ v("div", Av, [
10199
+ v("div", Tv, [
10200
+ v("ul", Ov, [
10199
10201
  (p(!0), g(ve, null, _e(r.value, (b) => (p(), g(ve, {
10200
10202
  key: b.id
10201
10203
  }, [
10202
- b ? (p(), g("li", Ov, [
10204
+ b ? (p(), g("li", Ev, [
10203
10205
  M(Je, {
10204
10206
  "user-name": Q(zs)(b),
10205
10207
  "avatar-url": b.avatarUrl,
@@ -10209,31 +10211,31 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10209
10211
  ])) : T("", !0)
10210
10212
  ], 64))), 128))
10211
10213
  ]),
10212
- h.comments || h.attachments ? (p(), g("ul", Ev, [
10213
- h.comments ? (p(), g("li", Iv, [
10214
+ h.comments || h.attachments ? (p(), g("ul", Iv, [
10215
+ h.comments ? (p(), g("li", Lv, [
10214
10216
  M(pe, {
10215
10217
  name: "ChatOutline",
10216
10218
  size: "sm"
10217
10219
  }),
10218
- v("span", Lv, G(h.comments), 1)
10220
+ v("span", Hv, G(h.comments), 1)
10219
10221
  ])) : T("", !0),
10220
- h.attachments ? (p(), g("li", Hv, [
10222
+ h.attachments ? (p(), g("li", Dv, [
10221
10223
  M(pe, {
10222
10224
  name: "AttachFileRounded",
10223
10225
  size: "sm"
10224
10226
  }),
10225
- v("span", Dv, G(h.attachments), 1)
10227
+ v("span", Pv, G(h.attachments), 1)
10226
10228
  ])) : T("", !0)
10227
10229
  ])) : T("", !0)
10228
10230
  ]),
10229
- v("div", Pv, [
10230
- h.tasks && h.tasks.length ? (p(), g("div", Vv, [
10231
- v("div", Bv, [
10231
+ v("div", Vv, [
10232
+ h.tasks && h.tasks.length ? (p(), g("div", Bv, [
10233
+ v("div", Rv, [
10232
10234
  M(pe, {
10233
10235
  name: "SelectCheckBox",
10234
10236
  size: "sm"
10235
10237
  }),
10236
- v("span", Rv, G(f.value) + " / " + G(u.value), 1)
10238
+ v("span", Nv, G(f.value) + " / " + G(u.value), 1)
10237
10239
  ]),
10238
10240
  M(qn, {
10239
10241
  percentages: d.value,
@@ -10254,8 +10256,8 @@ const _v = { class: "ao-card-feed__header" }, yv = {
10254
10256
  */
10255
10257
  function wt(t) {
10256
10258
  let e = { r: 0, g: 0, b: 0, a: 1 };
10257
- /#/.test(t) ? e = jv(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
10258
- const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Fv(e);
10259
+ /#/.test(t) ? e = Fv(t) : /rgb/.test(t) ? e = Ms(t) : typeof t == "string" ? e = Ms(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
10260
+ const { r: a, g: n, b: s, a: o } = e, { h: i, s: r, v: l } = Uv(e);
10259
10261
  return { r: a, g: n, b: s, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
10260
10262
  }
10261
10263
  function zn(t) {
@@ -10266,11 +10268,11 @@ function bn(t, e, a, n, s, o) {
10266
10268
  const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : n);
10267
10269
  r.addColorStop(0.01, s), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, n);
10268
10270
  }
10269
- function Nv({ r: t, g: e, b: a }, n) {
10271
+ function jv({ r: t, g: e, b: a }, n) {
10270
10272
  const s = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${s(t)}${s(e)}${s(a)}`;
10271
10273
  return n ? o.toUpperCase() : o;
10272
10274
  }
10273
- function jv(t) {
10275
+ function Fv(t) {
10274
10276
  t = t.slice(1);
10275
10277
  const e = (a) => parseInt(a, 16) || 0;
10276
10278
  return {
@@ -10287,7 +10289,7 @@ function Ms(t) {
10287
10289
  a: Number(t[3] ? t[3] : 1)
10288
10290
  }) : t;
10289
10291
  }
10290
- function Fv({ r: t, g: e, b: a }) {
10292
+ function Uv({ r: t, g: e, b: a }) {
10291
10293
  t = t / 255, e = e / 255, a = a / 255;
10292
10294
  const n = Math.max(t, e, a), s = Math.min(t, e, a), o = n - s;
10293
10295
  let i = 0;
@@ -10354,8 +10356,8 @@ var xn = z({
10354
10356
  }
10355
10357
  }
10356
10358
  });
10357
- const Uv = { ref: "canvasSaturation" };
10358
- function Zv(t, e, a, n, s, o) {
10359
+ const Zv = { ref: "canvasSaturation" };
10360
+ function Wv(t, e, a, n, s, o) {
10359
10361
  return p(), P(
10360
10362
  "div",
10361
10363
  {
@@ -10365,7 +10367,7 @@ function Zv(t, e, a, n, s, o) {
10365
10367
  [
10366
10368
  M(
10367
10369
  "canvas",
10368
- Uv,
10370
+ Zv,
10369
10371
  null,
10370
10372
  512
10371
10373
  /* NEED_PATCH */
@@ -10385,7 +10387,7 @@ function Zv(t, e, a, n, s, o) {
10385
10387
  /* HYDRATE_EVENTS */
10386
10388
  );
10387
10389
  }
10388
- xn.render = Zv;
10390
+ xn.render = Wv;
10389
10391
  xn.__file = "src/color/Saturation.vue";
10390
10392
  var Yn = z({
10391
10393
  props: {
@@ -10440,8 +10442,8 @@ var Yn = z({
10440
10442
  }
10441
10443
  }
10442
10444
  });
10443
- const Wv = { ref: "canvasHue" };
10444
- function qv(t, e, a, n, s, o) {
10445
+ const qv = { ref: "canvasHue" };
10446
+ function zv(t, e, a, n, s, o) {
10445
10447
  return p(), P(
10446
10448
  "div",
10447
10449
  {
@@ -10451,7 +10453,7 @@ function qv(t, e, a, n, s, o) {
10451
10453
  [
10452
10454
  M(
10453
10455
  "canvas",
10454
- Wv,
10456
+ qv,
10455
10457
  null,
10456
10458
  512
10457
10459
  /* NEED_PATCH */
@@ -10471,7 +10473,7 @@ function qv(t, e, a, n, s, o) {
10471
10473
  /* HYDRATE_EVENTS */
10472
10474
  );
10473
10475
  }
10474
- Yn.render = qv;
10476
+ Yn.render = zv;
10475
10477
  Yn.__file = "src/color/Hue.vue";
10476
10478
  var Kn = z({
10477
10479
  props: {
@@ -10535,8 +10537,8 @@ var Kn = z({
10535
10537
  }
10536
10538
  }
10537
10539
  });
10538
- const zv = { ref: "canvasAlpha" };
10539
- function xv(t, e, a, n, s, o) {
10540
+ const xv = { ref: "canvasAlpha" };
10541
+ function Yv(t, e, a, n, s, o) {
10540
10542
  return p(), P(
10541
10543
  "div",
10542
10544
  {
@@ -10546,7 +10548,7 @@ function xv(t, e, a, n, s, o) {
10546
10548
  [
10547
10549
  M(
10548
10550
  "canvas",
10549
- zv,
10551
+ xv,
10550
10552
  null,
10551
10553
  512
10552
10554
  /* NEED_PATCH */
@@ -10566,7 +10568,7 @@ function xv(t, e, a, n, s, o) {
10566
10568
  /* HYDRATE_EVENTS */
10567
10569
  );
10568
10570
  }
10569
- Kn.render = xv;
10571
+ Kn.render = Yv;
10570
10572
  Kn.__file = "src/color/Alpha.vue";
10571
10573
  var Gn = z({
10572
10574
  props: {
@@ -10603,10 +10605,10 @@ var Gn = z({
10603
10605
  }
10604
10606
  }
10605
10607
  });
10606
- function Yv(t, e, a, n, s, o) {
10608
+ function Kv(t, e, a, n, s, o) {
10607
10609
  return p(), P("canvas");
10608
10610
  }
10609
- Gn.render = Yv;
10611
+ Gn.render = Kv;
10610
10612
  Gn.__file = "src/color/Preview.vue";
10611
10613
  var Xn = z({
10612
10614
  props: {
@@ -10669,19 +10671,19 @@ var Xn = z({
10669
10671
  }
10670
10672
  }
10671
10673
  });
10672
- const Kv = /* @__PURE__ */ M(
10674
+ const Gv = /* @__PURE__ */ M(
10673
10675
  "path",
10674
10676
  { d: "M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1" },
10675
10677
  null,
10676
10678
  -1
10677
10679
  /* HOISTED */
10678
- ), Gv = {
10680
+ ), Xv = {
10679
10681
  key: 1,
10680
10682
  class: "sucker",
10681
10683
  viewBox: "-16 -16 68 68",
10682
10684
  xmlns: "http://www.w3.org/2000/svg",
10683
10685
  stroke: "#9099a4"
10684
- }, Xv = /* @__PURE__ */ M(
10686
+ }, Qv = /* @__PURE__ */ M(
10685
10687
  "g",
10686
10688
  {
10687
10689
  fill: "none",
@@ -10713,7 +10715,7 @@ const Kv = /* @__PURE__ */ M(
10713
10715
  -1
10714
10716
  /* HOISTED */
10715
10717
  );
10716
- function Qv(t, e, a, n, s, o) {
10718
+ function Jv(t, e, a, n, s, o) {
10717
10719
  return p(), P("div", null, [
10718
10720
  t.isSucking ? T("v-if", !0) : (p(), P(
10719
10721
  "svg",
@@ -10725,17 +10727,17 @@ function Qv(t, e, a, n, s, o) {
10725
10727
  onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
10726
10728
  },
10727
10729
  [
10728
- Kv
10730
+ Gv
10729
10731
  ],
10730
10732
  2
10731
10733
  /* CLASS */
10732
10734
  )),
10733
- t.isSucking ? (p(), P("svg", Gv, [
10734
- Xv
10735
+ t.isSucking ? (p(), P("svg", Xv, [
10736
+ Qv
10735
10737
  ])) : T("v-if", !0)
10736
10738
  ]);
10737
10739
  }
10738
- Xn.render = Qv;
10740
+ Xn.render = Jv;
10739
10741
  Xn.__file = "src/color/Sucker.vue";
10740
10742
  var Qn = z({
10741
10743
  props: {
@@ -10768,12 +10770,12 @@ var Qn = z({
10768
10770
  };
10769
10771
  }
10770
10772
  });
10771
- const Jv = { class: "color-type" }, e4 = { class: "name" };
10772
- function t4(t, e, a, n, s, o) {
10773
- return p(), P("div", Jv, [
10773
+ const e4 = { class: "color-type" }, t4 = { class: "name" };
10774
+ function a4(t, e, a, n, s, o) {
10775
+ return p(), P("div", e4, [
10774
10776
  M(
10775
10777
  "span",
10776
- e4,
10778
+ t4,
10777
10779
  G(t.name),
10778
10780
  1
10779
10781
  /* TEXT */
@@ -10794,7 +10796,7 @@ function t4(t, e, a, n, s, o) {
10794
10796
  ])
10795
10797
  ]);
10796
10798
  }
10797
- Qn.render = t4;
10799
+ Qn.render = a4;
10798
10800
  Qn.__file = "src/color/Box.vue";
10799
10801
  var Jn = z({
10800
10802
  name: "ColorPicker",
@@ -10836,13 +10838,13 @@ var Jn = z({
10836
10838
  };
10837
10839
  }
10838
10840
  });
10839
- const a4 = { class: "colors" }, n4 = {
10841
+ const n4 = { class: "colors" }, s4 = {
10840
10842
  key: 0,
10841
10843
  class: "colors history"
10842
10844
  };
10843
- function s4(t, e, a, n, s, o) {
10845
+ function i4(t, e, a, n, s, o) {
10844
10846
  return p(), P("div", null, [
10845
- M("ul", a4, [
10847
+ M("ul", n4, [
10846
10848
  (p(!0), P(
10847
10849
  ve,
10848
10850
  null,
@@ -10876,7 +10878,7 @@ function s4(t, e, a, n, s, o) {
10876
10878
  /* KEYED_FRAGMENT */
10877
10879
  ))
10878
10880
  ]),
10879
- t.colorsHistory.length ? (p(), P("ul", n4, [
10881
+ t.colorsHistory.length ? (p(), P("ul", s4, [
10880
10882
  (p(!0), P(
10881
10883
  ve,
10882
10884
  null,
@@ -10912,7 +10914,7 @@ function s4(t, e, a, n, s, o) {
10912
10914
  ])) : T("v-if", !0)
10913
10915
  ]);
10914
10916
  }
10915
- Jn.render = s4;
10917
+ Jn.render = i4;
10916
10918
  Jn.__file = "src/color/Colors.vue";
10917
10919
  var Rt = z({
10918
10920
  components: {
@@ -11023,7 +11025,7 @@ var Rt = z({
11023
11025
  return `rgba(${this.rgbaStringShort})`;
11024
11026
  },
11025
11027
  hexString() {
11026
- return Nv(this.rgba, !0);
11028
+ return jv(this.rgba, !0);
11027
11029
  }
11028
11030
  },
11029
11031
  created() {
@@ -11087,8 +11089,8 @@ var Rt = z({
11087
11089
  }
11088
11090
  }
11089
11091
  });
11090
- const i4 = { class: "color-set" };
11091
- function o4(t, e, a, n, s, o) {
11092
+ const o4 = { class: "color-set" };
11093
+ function r4(t, e, a, n, s, o) {
11092
11094
  const i = Fe("Saturation"), r = Fe("Hue"), l = Fe("Alpha"), c = Fe("Preview"), u = Fe("Sucker"), f = Fe("Box"), d = Fe("Colors");
11093
11095
  return p(), P(
11094
11096
  "div",
@@ -11097,7 +11099,7 @@ function o4(t, e, a, n, s, o) {
11097
11099
  style: { width: t.totalWidth + "px" }
11098
11100
  },
11099
11101
  [
11100
- M("div", i4, [
11102
+ M("div", o4, [
11101
11103
  M(i, {
11102
11104
  ref: "saturation",
11103
11105
  color: t.rgbString,
@@ -11171,12 +11173,12 @@ function o4(t, e, a, n, s, o) {
11171
11173
  /* CLASS, STYLE */
11172
11174
  );
11173
11175
  }
11174
- Rt.render = o4;
11176
+ Rt.render = r4;
11175
11177
  Rt.__file = "src/color/ColorPicker.vue";
11176
11178
  Rt.install = (t) => {
11177
11179
  t.component(Rt.name, Rt);
11178
11180
  };
11179
- const r4 = {
11181
+ const l4 = {
11180
11182
  props: {
11181
11183
  color: {
11182
11184
  type: String,
@@ -11200,10 +11202,10 @@ const r4 = {
11200
11202
  this.$emit("update:color", o);
11201
11203
  }
11202
11204
  }
11203
- }, l4 = { class: "color-picker-wrapper" };
11204
- function u4(t, e, a, n, s, o) {
11205
+ }, u4 = { class: "color-picker-wrapper" };
11206
+ function c4(t, e, a, n, s, o) {
11205
11207
  const i = Fe("ColorPicker");
11206
- return p(), g("div", l4, [
11208
+ return p(), g("div", u4, [
11207
11209
  v("button", {
11208
11210
  style: wn({ backgroundColor: a.color }),
11209
11211
  class: "color-button",
@@ -11218,10 +11220,10 @@ function u4(t, e, a, n, s, o) {
11218
11220
  }, null, 8, ["color", "onChangeColor"])) : T("", !0)
11219
11221
  ]);
11220
11222
  }
11221
- const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-milestone" }, p4 = { class: "ao-project-milestone__header" }, f4 = { class: "ao-project-milestone__header_line" }, v4 = { class: "ao-project-milestone__header_line" }, h4 = { class: "ao-project-milestone__title" }, m4 = {
11223
+ const d4 = /* @__PURE__ */ j(l4, [["render", c4]]), p4 = { class: "ao-project-milestone" }, f4 = { class: "ao-project-milestone__header" }, v4 = { class: "ao-project-milestone__header_line" }, h4 = { class: "ao-project-milestone__header_line" }, m4 = { class: "ao-project-milestone__title" }, C4 = {
11222
11224
  key: 0,
11223
11225
  class: "ao-fieldset ao-milestone__fieldset"
11224
- }, C4 = { class: "ao-field__row ao-milestone__field-row" }, g4 = { class: "ao-field ao-field--inline" }, _4 = { class: "ao-field__row ao-milestone__field-row" }, y4 = { class: "ao-field ao-milestone__field-multiselect" }, b4 = { class: "ao-project-milestone__body" }, w4 = {
11226
+ }, g4 = { class: "ao-field__row ao-milestone__field-row" }, _4 = { class: "ao-field ao-field--inline" }, y4 = { class: "ao-field__row ao-milestone__field-row" }, b4 = { class: "ao-field ao-milestone__field-multiselect" }, w4 = { class: "ao-project-milestone__body" }, $4 = {
11225
11227
  key: 0,
11226
11228
  class: "ao-project-milestone__footer"
11227
11229
  }, As = /* @__PURE__ */ z({
@@ -11328,9 +11330,9 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11328
11330
  });
11329
11331
  return (_, C) => {
11330
11332
  var D;
11331
- return p(), g("div", d4, [
11332
- v("header", p4, [
11333
- v("div", f4, [
11333
+ return p(), g("div", p4, [
11334
+ v("header", f4, [
11335
+ v("div", v4, [
11334
11336
  M(ce, {
11335
11337
  "icon-name": "CloseRounded",
11336
11338
  variant: "ghost",
@@ -11339,8 +11341,8 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11339
11341
  onClick: l
11340
11342
  })
11341
11343
  ]),
11342
- v("div", v4, [
11343
- v("div", h4, [
11344
+ v("div", h4, [
11345
+ v("div", m4, [
11344
11346
  M(ye, {
11345
11347
  title: ((D = i.value) == null ? void 0 : D.name) || _.milestoneId,
11346
11348
  level: 5
@@ -11359,9 +11361,9 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11359
11361
  }, null, 8, ["modelValue", "disabled", "label"])
11360
11362
  ])
11361
11363
  ]),
11362
- i.value ? (p(), g("div", m4, [
11363
- v("div", C4, [
11364
- v("label", g4, [
11364
+ i.value ? (p(), g("div", C4, [
11365
+ v("div", g4, [
11366
+ v("label", _4, [
11365
11367
  Ke(v("input", {
11366
11368
  "onUpdate:modelValue": C[1] || (C[1] = (L) => h.value = L),
11367
11369
  class: "ao-milestone__field ao-milestone__date-field",
@@ -11376,8 +11378,8 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11376
11378
  ])
11377
11379
  ])
11378
11380
  ]),
11379
- v("div", _4, [
11380
- v("label", y4, [
11381
+ v("div", y4, [
11382
+ v("label", b4, [
11381
11383
  M($e, {
11382
11384
  modelValue: y.value,
11383
11385
  "onUpdate:modelValue": C[2] || (C[2] = (L) => y.value = L),
@@ -11406,13 +11408,13 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11406
11408
  }, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
11407
11409
  ])
11408
11410
  ]),
11409
- M(c4, {
11411
+ M(d4, {
11410
11412
  color: d.value,
11411
11413
  "onUpdate:color": C[3] || (C[3] = (L) => d.value = L)
11412
11414
  }, null, 8, ["color"])
11413
11415
  ])) : T("", !0)
11414
11416
  ]),
11415
- v("div", b4, [
11417
+ v("div", w4, [
11416
11418
  M(Q(mt), He({
11417
11419
  class: "ao-project-milestone__activities",
11418
11420
  list: r.value,
@@ -11482,7 +11484,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11482
11484
  }),
11483
11485
  _: 1
11484
11486
  }, 16, ["list", "disabled"]),
11485
- _.isEditable ? (p(), g("div", w4, [
11487
+ _.isEditable ? (p(), g("div", $4, [
11486
11488
  M(Ct, {
11487
11489
  "icon-name": "Add",
11488
11490
  label: _.$t("project.activity.add"),
@@ -11494,7 +11496,7 @@ const c4 = /* @__PURE__ */ j(r4, [["render", u4]]), d4 = { class: "ao-project-mi
11494
11496
  };
11495
11497
  }
11496
11498
  });
11497
- const $4 = /* @__PURE__ */ z({
11499
+ const k4 = /* @__PURE__ */ z({
11498
11500
  __name: "AoProjectOverviewActivityDetails",
11499
11501
  props: {
11500
11502
  phaseId: {},
@@ -11581,14 +11583,14 @@ const $4 = /* @__PURE__ */ z({
11581
11583
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "onClose"])) : T("", !0);
11582
11584
  };
11583
11585
  }
11584
- }), k4 = { class: "ao-col-header" }, S4 = /* @__PURE__ */ z({
11586
+ }), S4 = { class: "ao-col-header" }, M4 = /* @__PURE__ */ z({
11585
11587
  __name: "AoColHeader",
11586
11588
  props: {
11587
11589
  title: {},
11588
11590
  items: {}
11589
11591
  },
11590
11592
  setup(t) {
11591
- return (e, a) => (p(), g("header", k4, [
11593
+ return (e, a) => (p(), g("header", S4, [
11592
11594
  M(ye, {
11593
11595
  title: e.title,
11594
11596
  class: "ao-col-header__title",
@@ -11604,17 +11606,17 @@ const $4 = /* @__PURE__ */ z({
11604
11606
  ]));
11605
11607
  }
11606
11608
  });
11607
- function M4(t) {
11609
+ function A4(t) {
11608
11610
  return Pi() ? (Vi(t), !0) : !1;
11609
11611
  }
11610
11612
  function ja(t) {
11611
11613
  return typeof t == "function" ? t() : Q(t);
11612
11614
  }
11613
- const A4 = typeof window < "u" && typeof document < "u";
11615
+ const T4 = typeof window < "u" && typeof document < "u";
11614
11616
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
11615
- const T4 = (t) => t != null, oa = () => {
11617
+ const O4 = (t) => t != null, oa = () => {
11616
11618
  };
11617
- function O4(t, e) {
11619
+ function E4(t, e) {
11618
11620
  function a(...n) {
11619
11621
  return new Promise((s, o) => {
11620
11622
  Promise.resolve(t(() => e.apply(this, n), { fn: e, thisArg: this, args: n })).then(s).catch(o);
@@ -11622,7 +11624,7 @@ function O4(t, e) {
11622
11624
  }
11623
11625
  return a;
11624
11626
  }
11625
- function E4(t, e = {}) {
11627
+ function I4(t, e = {}) {
11626
11628
  let a, n, s = oa;
11627
11629
  const o = (r) => {
11628
11630
  clearTimeout(r), s(), s = oa;
@@ -11638,9 +11640,9 @@ function E4(t, e = {}) {
11638
11640
  });
11639
11641
  };
11640
11642
  }
11641
- function I4(t, e = 200, a = {}) {
11642
- return O4(
11643
- E4(e, a),
11643
+ function L4(t, e = 200, a = {}) {
11644
+ return E4(
11645
+ I4(e, a),
11644
11646
  t
11645
11647
  );
11646
11648
  }
@@ -11649,27 +11651,27 @@ function vn(t) {
11649
11651
  const a = ja(t);
11650
11652
  return (e = a == null ? void 0 : a.$el) != null ? e : a;
11651
11653
  }
11652
- const L4 = A4 ? window : void 0;
11653
- function H4() {
11654
+ const H4 = T4 ? window : void 0;
11655
+ function D4() {
11654
11656
  const t = ee(!1), e = At();
11655
11657
  return e && xt(() => {
11656
11658
  t.value = !0;
11657
11659
  }, e), t;
11658
11660
  }
11659
- function D4(t) {
11660
- const e = H4();
11661
+ function P4(t) {
11662
+ const e = D4();
11661
11663
  return S(() => (e.value, !!t()));
11662
11664
  }
11663
- function P4(t, e, a = {}) {
11665
+ function V4(t, e, a = {}) {
11664
11666
  const {
11665
11667
  root: n,
11666
11668
  rootMargin: s = "0px",
11667
11669
  threshold: o = 0.1,
11668
- window: i = L4,
11670
+ window: i = H4,
11669
11671
  immediate: r = !0
11670
- } = a, l = D4(() => i && "IntersectionObserver" in i), c = S(() => {
11672
+ } = a, l = P4(() => i && "IntersectionObserver" in i), c = S(() => {
11671
11673
  const w = ja(t);
11672
- return (Array.isArray(w) ? w : [w]).map(vn).filter(T4);
11674
+ return (Array.isArray(w) ? w : [w]).map(vn).filter(O4);
11673
11675
  });
11674
11676
  let u = oa;
11675
11677
  const f = ee(r), d = l.value ? de(
@@ -11693,7 +11695,7 @@ function P4(t, e, a = {}) {
11693
11695
  ) : oa, h = () => {
11694
11696
  u(), d(), f.value = !1;
11695
11697
  };
11696
- return M4(h), {
11698
+ return A4(h), {
11697
11699
  isSupported: l,
11698
11700
  isActive: f,
11699
11701
  pause() {
@@ -11705,24 +11707,24 @@ function P4(t, e, a = {}) {
11705
11707
  stop: h
11706
11708
  };
11707
11709
  }
11708
- const V4 = {
11710
+ const B4 = {
11709
11711
  class: /* @__PURE__ */ K(["ao-list-kanban"])
11710
- }, B4 = { class: "ao-list-kanban__header" }, R4 = {
11712
+ }, R4 = { class: "ao-list-kanban__header" }, N4 = {
11711
11713
  key: 0,
11712
11714
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
11713
- }, N4 = {
11715
+ }, j4 = {
11714
11716
  key: 1,
11715
11717
  class: "ao-list-kanban__end"
11716
- }, j4 = {
11718
+ }, F4 = {
11717
11719
  key: 0,
11718
11720
  class: "ao-list-kanban__no-more"
11719
- }, F4 = {
11721
+ }, U4 = {
11720
11722
  key: 1,
11721
11723
  class: "ao-list-kanban__divider"
11722
- }, U4 = {
11724
+ }, Z4 = {
11723
11725
  key: 1,
11724
11726
  class: "ao-list-kanban__footer"
11725
- }, Z4 = /* @__PURE__ */ z({
11727
+ }, W4 = /* @__PURE__ */ z({
11726
11728
  __name: "AoListKanban",
11727
11729
  props: {
11728
11730
  list: {},
@@ -11740,7 +11742,7 @@ const V4 = {
11740
11742
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity"],
11741
11743
  setup(t, { emit: e }) {
11742
11744
  const a = t, n = ee(!1), s = ee(null);
11743
- P4(s, ([{ isIntersecting: u }]) => {
11745
+ V4(s, ([{ isIntersecting: u }]) => {
11744
11746
  n.value = u;
11745
11747
  }), de(n, (u) => {
11746
11748
  u && a.hasMore && !a.isLoading && e("loadMore");
@@ -11765,12 +11767,12 @@ const V4 = {
11765
11767
  )
11766
11768
  });
11767
11769
  }, c = ee(!1);
11768
- return (u, f) => (p(), g("div", V4, [
11770
+ return (u, f) => (p(), g("div", B4, [
11769
11771
  u.title || u.$slots.header ? te(u.$slots, "header", { key: 0 }, () => {
11770
11772
  var d;
11771
11773
  return [
11772
- v("div", B4, [
11773
- u.title ? (p(), P(S4, {
11774
+ v("div", R4, [
11775
+ u.title ? (p(), P(M4, {
11774
11776
  key: 0,
11775
11777
  title: u.title,
11776
11778
  level: 3,
@@ -11855,20 +11857,20 @@ const V4 = {
11855
11857
  ];
11856
11858
  }),
11857
11859
  footer: W(() => [
11858
- u.isLoading ? (p(), g("div", R4, [
11860
+ u.isLoading ? (p(), g("div", N4, [
11859
11861
  M(pe, { name: "Loading" })
11860
11862
  ])) : u.hasMore ? (p(), g("div", {
11861
11863
  key: 2,
11862
11864
  ref_key: "scrollEnd",
11863
11865
  ref: s,
11864
11866
  class: "ao-list-kanban__end"
11865
- }, null, 512)) : (p(), g("div", N4, [
11866
- u.noMoreLabel ? (p(), g("span", j4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", F4)) : T("", !0)
11867
+ }, null, 512)) : (p(), g("div", j4, [
11868
+ u.noMoreLabel ? (p(), g("span", F4, G(u.noMoreLabel), 1)) : u.isEditable ? (p(), g("span", U4)) : T("", !0)
11867
11869
  ]))
11868
11870
  ]),
11869
11871
  _: 1
11870
11872
  }, 16, ["class", "list", "disabled"]),
11871
- u.$slots.footer || u.footerLabel ? (p(), g("div", U4, [
11873
+ u.$slots.footer || u.footerLabel ? (p(), g("div", Z4, [
11872
11874
  te(u.$slots, "footer", {}, () => [
11873
11875
  u.isEditable ? (p(), P(Ct, {
11874
11876
  key: 0,
@@ -11881,7 +11883,7 @@ const V4 = {
11881
11883
  ]));
11882
11884
  }
11883
11885
  });
11884
- const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder", "onKeypress"], z4 = /* @__PURE__ */ z({
11886
+ const q4 = { class: "ao-field ao-search-field" }, z4 = ["value", "placeholder", "onKeypress"], x4 = /* @__PURE__ */ z({
11885
11887
  __name: "AoSearchField",
11886
11888
  props: {
11887
11889
  modelValue: {},
@@ -11893,10 +11895,10 @@ const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder",
11893
11895
  const a = t, n = async (i) => {
11894
11896
  const l = i.target.value;
11895
11897
  e("update:modelValue", l, i);
11896
- }, s = I4(n, a.delay), o = (i) => {
11898
+ }, s = L4(n, a.delay), o = (i) => {
11897
11899
  e("clear", i);
11898
11900
  };
11899
- return (i, r) => (p(), g("div", W4, [
11901
+ return (i, r) => (p(), g("div", q4, [
11900
11902
  v("input", {
11901
11903
  value: i.modelValue,
11902
11904
  type: "text",
@@ -11905,7 +11907,7 @@ const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder",
11905
11907
  onInput: r[0] || (r[0] = //@ts-ignore
11906
11908
  (...l) => Q(s) && Q(s)(...l)),
11907
11909
  onKeypress: dt(n, ["enter"])
11908
- }, null, 40, q4),
11910
+ }, null, 40, z4),
11909
11911
  M(pe, {
11910
11912
  name: "SearchRounded",
11911
11913
  class: K(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
@@ -11921,7 +11923,7 @@ const W4 = { class: "ao-field ao-search-field" }, q4 = ["value", "placeholder",
11921
11923
  ]));
11922
11924
  }
11923
11925
  });
11924
- const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { class: "ao-feed__body" }, G4 = /* @__PURE__ */ z({
11926
+ const Y4 = { class: "ao-feed" }, K4 = { class: "ao-feed__filters" }, G4 = { class: "ao-feed__body" }, X4 = /* @__PURE__ */ z({
11925
11927
  __name: "AoFeed",
11926
11928
  props: {
11927
11929
  activities: {},
@@ -12026,10 +12028,10 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12026
12028
  };
12027
12029
  return (E, N) => {
12028
12030
  var A;
12029
- return p(), g("div", x4, [
12031
+ return p(), g("div", Y4, [
12030
12032
  M(Ya, null, {
12031
12033
  primary: W(() => [
12032
- v("div", Y4, [
12034
+ v("div", K4, [
12033
12035
  a.project ? (p(), P(ci, {
12034
12036
  key: 0,
12035
12037
  "is-left": !1,
@@ -12039,7 +12041,7 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12039
12041
  m && E.$router.push({ name: Q(Ue).project });
12040
12042
  })
12041
12043
  }, null, 8, ["right-label", "left-label"])) : T("", !0),
12042
- M(z4, {
12044
+ M(x4, {
12043
12045
  "model-value": E.searchText,
12044
12046
  placeholder: E.$t("feed.search.placeholder"),
12045
12047
  class: "ao-feed__search",
@@ -12120,8 +12122,8 @@ const x4 = { class: "ao-feed" }, Y4 = { class: "ao-feed__filters" }, K4 = { clas
12120
12122
  ]),
12121
12123
  _: 1
12122
12124
  }),
12123
- v("div", K4, [
12124
- (p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(Z4, {
12125
+ v("div", G4, [
12126
+ (p(!0), g(ve, null, _e(E.statuses, (m) => (p(), P(W4, {
12125
12127
  key: m.id,
12126
12128
  status: m,
12127
12129
  list: i.value[m.id],
@@ -12178,7 +12180,7 @@ const Dt = {
12178
12180
  TEMPLATES: "templates",
12179
12181
  TEMPLATE_DETAILS: "template_details",
12180
12182
  TEMPLATES_LIST: "templates_list"
12181
- }, f8 = (t, e = {}) => [
12183
+ }, v8 = (t, e = {}) => [
12182
12184
  {
12183
12185
  path: t,
12184
12186
  name: Dt.TEMPLATES,
@@ -12188,7 +12190,7 @@ const Dt = {
12188
12190
  {
12189
12191
  path: "",
12190
12192
  name: Dt.TEMPLATES_LIST,
12191
- component: Q4
12193
+ component: J4
12192
12194
  },
12193
12195
  {
12194
12196
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
@@ -12203,7 +12205,7 @@ const Dt = {
12203
12205
  feed: "AoProjectFeed",
12204
12206
  milestone: "AoMilestone",
12205
12207
  activity: "AoActivity"
12206
- }, v8 = (t, e = {}) => [
12208
+ }, h8 = (t, e = {}) => [
12207
12209
  {
12208
12210
  path: t,
12209
12211
  ...e,
@@ -12212,7 +12214,7 @@ const Dt = {
12212
12214
  {
12213
12215
  path: "",
12214
12216
  name: Ue.project,
12215
- component: gv,
12217
+ component: _v,
12216
12218
  props: !0,
12217
12219
  children: [
12218
12220
  {
@@ -12227,7 +12229,7 @@ const Dt = {
12227
12229
  props: { default: !0, modal: !0 },
12228
12230
  components: {
12229
12231
  default: As,
12230
- modal: $4
12232
+ modal: k4
12231
12233
  }
12232
12234
  }
12233
12235
  ]
@@ -12235,12 +12237,12 @@ const Dt = {
12235
12237
  {
12236
12238
  path: "feed",
12237
12239
  name: Ue.feed,
12238
- component: G4,
12240
+ component: X4,
12239
12241
  props: !0
12240
12242
  }
12241
12243
  ]
12242
12244
  }
12243
- ], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ z({
12245
+ ], Q4 = { class: "ao-templates" }, J4 = /* @__PURE__ */ z({
12244
12246
  __name: "AoTemplatesList",
12245
12247
  props: {
12246
12248
  templates: {}
@@ -12280,7 +12282,7 @@ const Dt = {
12280
12282
  });
12281
12283
  }
12282
12284
  };
12283
- return (r, l) => (p(), g("div", X4, [
12285
+ return (r, l) => (p(), g("div", Q4, [
12284
12286
  M(Ya, null, {
12285
12287
  secondary: W(() => [
12286
12288
  M(ce, {
@@ -12324,7 +12326,7 @@ const Dt = {
12324
12326
  ]));
12325
12327
  }
12326
12328
  });
12327
- const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12329
+ const e8 = { class: "ao-field__label" }, t8 = /* @__PURE__ */ z({
12328
12330
  __name: "AoField",
12329
12331
  props: {
12330
12332
  label: {},
@@ -12334,11 +12336,11 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12334
12336
  return (e, a) => (p(), g("label", {
12335
12337
  class: K(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
12336
12338
  }, [
12337
- v("span", J4, G(e.label), 1),
12339
+ v("span", e8, G(e.label), 1),
12338
12340
  te(e.$slots, "default")
12339
12341
  ], 2));
12340
12342
  }
12341
- }), t8 = ["type", "value", "disabled", "readonly"], h8 = /* @__PURE__ */ z({
12343
+ }), a8 = ["type", "value", "disabled", "readonly"], m8 = /* @__PURE__ */ z({
12342
12344
  __name: "AoInputField",
12343
12345
  props: {
12344
12346
  label: { default: "" },
@@ -12355,7 +12357,7 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12355
12357
  ), s = (o) => {
12356
12358
  a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
12357
12359
  };
12358
- return (o, i) => (p(), P(e8, { label: o.label }, {
12360
+ return (o, i) => (p(), P(t8, { label: o.label }, {
12359
12361
  default: W(() => [
12360
12362
  v("input", He({
12361
12363
  class: "ao-field__input",
@@ -12365,12 +12367,12 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12365
12367
  readonly: o.isReadonly
12366
12368
  }, {
12367
12369
  [Bi(n.value)]: i[0] || (i[0] = (r) => s(r.target.value))
12368
- }), null, 16, t8)
12370
+ }), null, 16, a8)
12369
12371
  ]),
12370
12372
  _: 1
12371
12373
  }, 8, ["label"]));
12372
12374
  }
12373
- }), a8 = { class: "ao-field" }, n8 = { class: "ao-field__label" }, s8 = ["checked", "disabled"], m8 = /* @__PURE__ */ z({
12375
+ }), n8 = { class: "ao-field" }, s8 = { class: "ao-field__label" }, i8 = ["checked", "disabled"], C8 = /* @__PURE__ */ z({
12374
12376
  __name: "AoCheckboxField",
12375
12377
  props: {
12376
12378
  label: { default: "" },
@@ -12380,8 +12382,8 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12380
12382
  },
12381
12383
  emits: ["update:modelValue"],
12382
12384
  setup(t) {
12383
- return (e, a) => (p(), g("label", a8, [
12384
- v("span", n8, G(e.label), 1),
12385
+ return (e, a) => (p(), g("label", n8, [
12386
+ v("span", s8, G(e.label), 1),
12385
12387
  v("input", {
12386
12388
  class: "ao-field__input",
12387
12389
  type: "checkbox",
@@ -12394,28 +12396,28 @@ const J4 = { class: "ao-field__label" }, e8 = /* @__PURE__ */ z({
12394
12396
  ((s = n.target) == null ? void 0 : s.checked) ?? !1
12395
12397
  );
12396
12398
  })
12397
- }, null, 40, s8)
12399
+ }, null, 40, i8)
12398
12400
  ]));
12399
12401
  }
12400
12402
  });
12401
12403
  export {
12402
12404
  di as AoCardFeed,
12403
- m8 as AoCheckboxField,
12404
- G4 as AoFeed,
12405
- e8 as AoField,
12406
- h8 as AoInputField,
12405
+ C8 as AoCheckboxField,
12406
+ X4 as AoFeed,
12407
+ t8 as AoField,
12408
+ m8 as AoInputField,
12407
12409
  $e as AoMultiselect,
12408
- rv as AoProjectPhases,
12410
+ lv as AoProjectPhases,
12409
12411
  M9 as AoTemplateDetails,
12410
- u8 as AoTemplates,
12411
- Q4 as AoTemplatesList,
12412
+ c8 as AoTemplates,
12413
+ J4 as AoTemplatesList,
12412
12414
  F2 as TemplateItemTypeEnum,
12413
- d8 as activityFeedStatus,
12414
- c8 as durationTypes,
12415
+ p8 as activityFeedStatus,
12416
+ d8 as durationTypes,
12415
12417
  Lt as feedFilterTypes,
12416
- v8 as getProjectOverviewRoutes,
12417
- f8 as getTemplateRoutes,
12418
- p8 as listUpdateTypes,
12418
+ h8 as getProjectOverviewRoutes,
12419
+ v8 as getTemplateRoutes,
12420
+ f8 as listUpdateTypes,
12419
12421
  hn as milestoneStatus,
12420
12422
  Ue as projectOverviewRoutes,
12421
12423
  R2 as ruleComparators,