@26lights/orcha 0.42.38 → 0.42.39

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 X, openBlock as v, createBlock as B, unref as W, mergeProps as Ae, createElementBlock as y, createElementVNode as h, pushScopeId as Ni, popScopeId as Ui, createStaticVNode as Fi, computed as S, resolveDynamicComponent as Lt, normalizeClass as ee, renderSlot as ae, toDisplayString as z, createCommentVNode as E, ref as x, watch as de, nextTick as Se, withKeys as vt, toHandlers as Zi, withCtx as q, createTextVNode as In, createVNode as T, normalizeStyle as Fe, withModifiers as fe, createSlots as ha, Fragment as he, renderList as Ce, onMounted as Pt, onBeforeUnmount as Ln, onUnmounted as Pn, Teleport as Ot, toRefs as Ee, getCurrentInstance as Dt, toRef as dt, normalizeProps as ma, guardReactiveProps as ga, withDirectives as be, vShow as Va, onUpdated as Wi, vModelText as Ne, resolveComponent as ut, vModelCheckbox as zi, getCurrentScope as qi, onScopeDispose as Yi, toHandlerKey as xi } from "vue";
2
2
  import { RouterView as Ki, useRoute as Gi, useRouter as Dn } from "vue-router";
3
3
  import gt from "vuedraggable";
4
- const c4 = /* @__PURE__ */ X({
4
+ const p4 = /* @__PURE__ */ X({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -1453,11 +1453,11 @@ const Ra = {
1453
1453
  todo: "todo",
1454
1454
  done: "done",
1455
1455
  archived: "archived"
1456
- }, d4 = {
1456
+ }, v4 = {
1457
1457
  months: "months",
1458
1458
  weeks: "weeks",
1459
1459
  days: "days"
1460
- }, p4 = {
1460
+ }, f4 = {
1461
1461
  future: "future",
1462
1462
  this_month: "this_month",
1463
1463
  this_week: "this_week",
@@ -1481,7 +1481,7 @@ const Ra = {
1481
1481
  TASKS: "tasks"
1482
1482
  };
1483
1483
  var e0 = /* @__PURE__ */ ((t) => (t.PHASES = "phases", t.MILESTONES = "milestones", t.ACTIVITIES = "activities", t))(e0 || {});
1484
- const v4 = {
1484
+ const h4 = {
1485
1485
  add: "add",
1486
1486
  remove: "remove",
1487
1487
  moved: "moved"
@@ -5497,7 +5497,7 @@ function k7(t, e, a) {
5497
5497
  let ce = M;
5498
5498
  if (K.value && C.value) {
5499
5499
  let ge = k.value;
5500
- ge || (ge = (kt, ps, o4) => $t.value.some((Ri) => {
5500
+ ge || (ge = (kt, ps, l4) => $t.value.some((Ri) => {
5501
5501
  let vs = kn(Sa(kt[Ri]), ne.value);
5502
5502
  return oe.value ? vs.startsWith(kn(ps, ne.value)) : vs.indexOf(kn(ps, ne.value)) !== -1;
5503
5503
  })), ce = ce.filter((kt) => ge(kt, K.value, H));
@@ -8408,8 +8408,11 @@ const Ci = /* @__PURE__ */ X({
8408
8408
  }
8409
8409
  }
8410
8410
  });
8411
- const Rv = ["onClick"];
8412
- function Nv(t, e, a, s, n, o) {
8411
+ const Rv = ["onClick"], Nv = { class: "tab-button__label" }, Uv = {
8412
+ key: 0,
8413
+ class: "tab-button__badge"
8414
+ };
8415
+ function Fv(t, e, a, s, n, o) {
8413
8416
  return v(), y("div", {
8414
8417
  class: ee(["tabbar-wrapper", { "tabbar-wrapper--underline": t.variant === "underline" }])
8415
8418
  }, [
@@ -8422,28 +8425,31 @@ function Nv(t, e, a, s, n, o) {
8422
8425
  ]),
8423
8426
  type: "button",
8424
8427
  onClick: (r) => t.selectTab(i.value)
8425
- }, z(i.label), 11, Rv))), 128))
8428
+ }, [
8429
+ h("span", Nv, z(i.label), 1),
8430
+ i.count !== void 0 && i.count > 0 ? (v(), y("span", Uv, z(i.count), 1)) : E("", !0)
8431
+ ], 10, Rv))), 128))
8426
8432
  ], 2);
8427
8433
  }
8428
- const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b"]]), Uv = { class: "ao-activity-details" }, Fv = { class: "ao-activity-details__main" }, Zv = { class: "ao-activity-details__header" }, Wv = {
8434
+ const un = /* @__PURE__ */ Y(jv, [["render", Fv], ["__scopeId", "data-v-3e3bce6d"]]), Zv = { class: "ao-activity-details" }, Wv = { class: "ao-activity-details__main" }, zv = { class: "ao-activity-details__header" }, qv = {
8429
8435
  key: 1,
8430
8436
  class: "ao-activity__category"
8431
- }, zv = { class: "ao-feed__activity-details__header" }, qv = {
8437
+ }, Yv = { class: "ao-feed__activity-details__header" }, xv = {
8432
8438
  key: 0,
8433
8439
  class: "ao-field ao-feed__activity-details__project"
8434
- }, Yv = { class: "ao-field__label" }, xv = {
8440
+ }, Kv = { class: "ao-field__label" }, Gv = {
8435
8441
  key: 1,
8436
8442
  class: "ao-field ao-feed__activity-details__project"
8437
- }, Kv = { class: "ao-field__label" }, Gv = { class: "ao-activity-details__content" }, Xv = { class: "ao-activity-details__tab-content" }, Qv = { class: "ao-fieldset" }, Jv = { class: "ao-field__row" }, ef = ["readonly"], tf = { class: "ao-activity-details__tab-content" }, af = { class: "ao-fieldset" }, nf = { class: "ao-fieldset__body" }, sf = { class: "ao-activity-details__tab-content" }, of = {
8443
+ }, Xv = { class: "ao-field__label" }, Qv = { class: "ao-activity-details__content" }, Jv = { class: "ao-activity-details__tab-content" }, ef = { class: "ao-fieldset" }, tf = { class: "ao-field__row" }, af = ["readonly"], nf = { class: "ao-activity-details__tab-content" }, sf = { class: "ao-fieldset" }, of = { class: "ao-fieldset__body" }, rf = { class: "ao-activity-details__tab-content" }, lf = {
8438
8444
  key: 0,
8439
8445
  class: "ao-fieldset"
8440
- }, rf = { class: "ao-activity-details__aside" }, lf = { class: "ao-activity-details__close-button" }, uf = {
8446
+ }, uf = { class: "ao-activity-details__aside" }, cf = { class: "ao-activity-details__close-button" }, df = {
8441
8447
  key: 0,
8442
8448
  class: "ao-activity-details__aside-section"
8443
- }, cf = { class: "ao-field" }, df = { class: "ao-field__label" }, pf = { class: "ao-activity-details__aside-section" }, vf = { class: "ao-field ao-field--multiselect" }, ff = { class: "assignee-inline" }, hf = { class: "ao-field__label" }, mf = { class: "ao-activity-details__aside-section" }, gf = {
8449
+ }, pf = { class: "ao-field" }, vf = { class: "ao-field__label" }, ff = { class: "ao-activity-details__aside-section" }, hf = { class: "ao-field ao-field--multiselect" }, mf = { class: "assignee-inline" }, gf = { class: "ao-field__label" }, Cf = { class: "ao-activity-details__aside-section" }, _f = {
8444
8450
  key: 0,
8445
8451
  class: "ao-field__row"
8446
- }, Cf = { class: "ao-field" }, _f = { class: "ao-field__label" }, yf = ["readonly"], bf = { class: "ao-activity-details__aside-section" }, wf = { class: "ao-field__row" }, $f = { class: "ao-field ao-field--inline" }, kf = { class: "ao-field__label" }, Sf = ["readonly"], Mf = { class: "ao-field__row" }, Af = { class: "ao-field ao-field--inline" }, Tf = { class: "ao-field__label" }, Of = { class: "ao-field__input ao-field__input--estim ao-field__input--readonly" }, Ef = { class: "ao-activity-details__aside-section" }, If = { class: "ao-fieldset ao-activity-details__aside-section" }, Lf = { class: "ao-fieldset__title" }, Pf = { class: "ao-fieldset__body" }, Df = { class: "ao-field__row" }, Hf = { class: "ao-field ao-field--multiselect" }, Vf = { class: "ao-field__label" }, Bf = { class: "ao-field__row" }, jf = { class: "ao-field ao-field--multiselect" }, Rf = { class: "ao-field__label" }, Xn = /* @__PURE__ */ X({
8452
+ }, yf = { class: "ao-field" }, bf = { class: "ao-field__label" }, wf = ["readonly"], $f = { class: "ao-activity-details__aside-section" }, kf = { class: "ao-field__row" }, Sf = { class: "ao-field ao-field--inline" }, Mf = { class: "ao-field__label" }, Af = ["readonly"], Tf = { class: "ao-field__row" }, Of = { class: "ao-field ao-field--inline" }, Ef = { class: "ao-field__label" }, If = { class: "ao-field__input ao-field__input--estim ao-field__input--readonly" }, Lf = { class: "ao-activity-details__aside-section" }, Pf = { class: "ao-fieldset ao-activity-details__aside-section" }, Df = { class: "ao-fieldset__title" }, Hf = { class: "ao-fieldset__body" }, Vf = { class: "ao-field__row" }, Bf = { class: "ao-field ao-field--multiselect" }, jf = { class: "ao-field__label" }, Rf = { class: "ao-field__row" }, Nf = { class: "ao-field ao-field--multiselect" }, Uf = { class: "ao-field__label" }, Xn = /* @__PURE__ */ X({
8447
8453
  __name: "AoActivityDetails",
8448
8454
  props: {
8449
8455
  activity: {},
@@ -8464,11 +8470,22 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8464
8470
  },
8465
8471
  emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
8466
8472
  setup(t, { emit: e }) {
8467
- const a = t, { t: s } = nt(), n = x("description"), o = S(() => [
8468
- { label: s("activity.description.label") || "Description", value: "description" },
8469
- { label: s("activity.tasks.title") || "Checklist", value: "checklist" },
8470
- { label: s("activity.comments.title") || "Commentaires", value: "comments" }
8471
- ]), i = S(() => {
8473
+ const a = t, { t: s } = nt(), n = x("description"), o = S(() => {
8474
+ var k, H;
8475
+ return [
8476
+ { label: s("activity.description.label") || "Description", value: "description" },
8477
+ {
8478
+ label: s("activity.tasks.title") || "Checklist",
8479
+ value: "checklist",
8480
+ count: ((k = a.activity.tasks) == null ? void 0 : k.length) ?? 0
8481
+ },
8482
+ {
8483
+ label: s("activity.comments.title") || "Commentaires",
8484
+ value: "comments",
8485
+ count: ((H = a.activity.comments) == null ? void 0 : H.length) ?? 0
8486
+ }
8487
+ ];
8488
+ }), i = S(() => {
8472
8489
  var k;
8473
8490
  return a.isEditable === !0 ? !0 : a.userId && a.isEditable === "only-own" ? a.userId === ((k = a.activity.assignee) == null ? void 0 : k.id) : !1;
8474
8491
  }), r = (k) => {
@@ -8690,9 +8707,9 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8690
8707
  default: q(() => {
8691
8708
  var N, V, K;
8692
8709
  return [
8693
- h("div", Uv, [
8694
- h("div", Fv, [
8695
- h("div", Zv, [
8710
+ h("div", Zv, [
8711
+ h("div", Wv, [
8712
+ h("div", zv, [
8696
8713
  k.activity.slug ? (v(), B(ua, {
8697
8714
  key: 0,
8698
8715
  label: k.activity.slug,
@@ -8703,16 +8720,16 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8703
8720
  class: "ao-activity__ao-tag",
8704
8721
  onClick: oe
8705
8722
  }, null, 8, ["label"])) : E("", !0),
8706
- k.breadcrumbs ? (v(), y("div", Wv, z(k.breadcrumbs), 1)) : E("", !0),
8723
+ k.breadcrumbs ? (v(), y("div", qv, z(k.breadcrumbs), 1)) : E("", !0),
8707
8724
  T($e, {
8708
8725
  title: k.activity.name || "",
8709
8726
  level: 4,
8710
8727
  "is-editable": i.value,
8711
8728
  "onUpdate:title": r
8712
8729
  }, null, 8, ["title", "is-editable"]),
8713
- h("div", zv, [
8714
- Q.value ? (v(), y("label", qv, [
8715
- h("span", Yv, z(k.$t("activity.project.label")), 1),
8730
+ h("div", Yv, [
8731
+ Q.value ? (v(), y("label", xv, [
8732
+ h("span", Kv, z(k.$t("activity.project.label")), 1),
8716
8733
  T(He, {
8717
8734
  options: Q.value,
8718
8735
  value: (N = k.activity.project) == null ? void 0 : N.id,
@@ -8722,8 +8739,8 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8722
8739
  onChange: ie
8723
8740
  }, null, 8, ["options", "value", "disabled", "caret"])
8724
8741
  ])) : E("", !0),
8725
- le.value ? (v(), y("label", xv, [
8726
- h("span", Kv, z(k.$t("activity.milestone.label")), 1),
8742
+ le.value ? (v(), y("label", Gv, [
8743
+ h("span", Xv, z(k.$t("activity.milestone.label")), 1),
8727
8744
  T(He, {
8728
8745
  options: le.value,
8729
8746
  value: (V = k.activity.milestone) == null ? void 0 : V.id,
@@ -8736,7 +8753,7 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8736
8753
  ]),
8737
8754
  ae(k.$slots, "header")
8738
8755
  ]),
8739
- h("div", Gv, [
8756
+ h("div", Qv, [
8740
8757
  T(un, {
8741
8758
  modelValue: n.value,
8742
8759
  "onUpdate:modelValue": H[0] || (H[0] = (se) => n.value = se),
@@ -8744,9 +8761,9 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8744
8761
  variant: "underline",
8745
8762
  class: "ao-activity-details__tabs"
8746
8763
  }, null, 8, ["modelValue", "tabs"]),
8747
- be(h("div", Xv, [
8748
- h("fieldset", Qv, [
8749
- h("div", Jv, [
8764
+ be(h("div", Jv, [
8765
+ h("fieldset", ef, [
8766
+ h("div", tf, [
8750
8767
  T(bv, {
8751
8768
  attachments: k.activity.attachments,
8752
8769
  "is-editable": k.attachmentEnabled && i.value && k.isTemplate !== !0 && !!k.userId,
@@ -8759,7 +8776,7 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8759
8776
  readonly: !i.value,
8760
8777
  rows: "6",
8761
8778
  class: "ao-activity-details__description-textarea"
8762
- }, null, 8, ef), [
8779
+ }, null, 8, af), [
8763
8780
  [
8764
8781
  Ne,
8765
8782
  l.value,
@@ -8778,9 +8795,9 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8778
8795
  ], 512), [
8779
8796
  [Va, n.value === "description"]
8780
8797
  ]),
8781
- be(h("div", tf, [
8782
- h("fieldset", af, [
8783
- h("div", nf, [
8798
+ be(h("div", nf, [
8799
+ h("fieldset", sf, [
8800
+ h("div", of, [
8784
8801
  T(uv, {
8785
8802
  class: "ao-activity-details__tasks ao-field__row",
8786
8803
  tasks: k.activity.tasks || [],
@@ -8798,8 +8815,8 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8798
8815
  ], 512), [
8799
8816
  [Va, n.value === "checklist"]
8800
8817
  ]),
8801
- be(h("div", sf, [
8802
- k.isTemplate !== !0 && k.userId ? (v(), y("div", of, [
8818
+ be(h("div", rf, [
8819
+ k.isTemplate !== !0 && k.userId ? (v(), y("div", lf, [
8803
8820
  T(Bv, {
8804
8821
  comments: k.activity.comments,
8805
8822
  users: k.users,
@@ -8814,16 +8831,16 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8814
8831
  ])
8815
8832
  ])
8816
8833
  ]),
8817
- h("div", rf, [
8818
- h("div", lf, [
8834
+ h("div", uf, [
8835
+ h("div", cf, [
8819
8836
  T(ve, {
8820
8837
  name: "CloseRounded",
8821
8838
  onClick: H[2] || (H[2] = (se) => k.$emit("close"))
8822
8839
  })
8823
8840
  ]),
8824
- P.value ? (v(), y("div", uf, [
8825
- h("label", cf, [
8826
- h("span", df, z(k.$t("activity.status.label")), 1),
8841
+ P.value ? (v(), y("div", df, [
8842
+ h("label", pf, [
8843
+ h("span", vf, z(k.$t("activity.status.label")), 1),
8827
8844
  T(He, {
8828
8845
  class: "ao-activity-details__multiselect",
8829
8846
  options: P.value,
@@ -8836,10 +8853,10 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8836
8853
  }, null, 8, ["options", "value", "disabled", "caret"])
8837
8854
  ])
8838
8855
  ])) : E("", !0),
8839
- h("div", pf, [
8840
- h("div", vf, [
8841
- h("div", ff, [
8842
- h("span", hf, z(k.$t("activity.assignee.label")), 1),
8856
+ h("div", ff, [
8857
+ h("div", hf, [
8858
+ h("div", mf, [
8859
+ h("span", gf, z(k.$t("activity.assignee.label")), 1),
8843
8860
  T(ue, {
8844
8861
  label: k.$t("activity.assignee.toMe"),
8845
8862
  type: "button",
@@ -8877,16 +8894,16 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8877
8894
  }, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
8878
8895
  ])
8879
8896
  ]),
8880
- h("div", mf, [
8881
- k.isTemplate !== !0 && k.userId ? (v(), y("div", gf, [
8882
- h("label", Cf, [
8883
- h("span", _f, z(k.$t("activity.deadline.label")), 1),
8897
+ h("div", Cf, [
8898
+ k.isTemplate !== !0 && k.userId ? (v(), y("div", _f, [
8899
+ h("label", yf, [
8900
+ h("span", bf, z(k.$t("activity.deadline.label")), 1),
8884
8901
  be(h("input", {
8885
8902
  "onUpdate:modelValue": H[4] || (H[4] = (se) => f.value = se),
8886
8903
  readonly: !i.value,
8887
8904
  class: "ao-field__input",
8888
8905
  type: "date"
8889
- }, null, 8, yf), [
8906
+ }, null, 8, wf), [
8890
8907
  [
8891
8908
  Ne,
8892
8909
  f.value,
@@ -8897,17 +8914,17 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8897
8914
  ])
8898
8915
  ])) : E("", !0)
8899
8916
  ]),
8900
- h("div", bf, [
8901
- h("div", wf, [
8902
- h("label", $f, [
8903
- h("span", kf, z(k.$t("activity.estimation.label")) + " (" + z(d.value) + ")", 1),
8917
+ h("div", $f, [
8918
+ h("div", kf, [
8919
+ h("label", Sf, [
8920
+ h("span", Mf, z(k.$t("activity.estimation.label")) + " (" + z(d.value) + ")", 1),
8904
8921
  be(h("input", {
8905
8922
  "onUpdate:modelValue": H[5] || (H[5] = (se) => c.value = se),
8906
8923
  readonly: !i.value,
8907
8924
  class: "ao-field__input ao-field__input--estim",
8908
8925
  type: "number",
8909
8926
  min: "0"
8910
- }, null, 8, Sf), [
8927
+ }, null, 8, Af), [
8911
8928
  [
8912
8929
  Ne,
8913
8930
  c.value,
@@ -8920,14 +8937,14 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8920
8937
  ])
8921
8938
  ])
8922
8939
  ]),
8923
- h("div", Mf, [
8924
- h("label", Af, [
8925
- h("span", Tf, z(k.$t("activity.timeSpent.label")) + " (" + z(d.value) + ")", 1),
8926
- h("span", Of, z(p.value), 1)
8940
+ h("div", Tf, [
8941
+ h("label", Of, [
8942
+ h("span", Ef, z(k.$t("activity.timeSpent.label")) + " (" + z(d.value) + ")", 1),
8943
+ h("span", If, z(p.value), 1)
8927
8944
  ])
8928
8945
  ])
8929
8946
  ]),
8930
- h("div", Ef, [
8947
+ h("div", Lf, [
8931
8948
  T(Ci, {
8932
8949
  modelValue: g.value,
8933
8950
  "onUpdate:modelValue": H[6] || (H[6] = (se) => g.value = se),
@@ -8942,18 +8959,18 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8942
8959
  size: "sm"
8943
8960
  }, null, 8, ["modelValue", "label", "disabled"])
8944
8961
  ]),
8945
- h("fieldset", If, [
8946
- h("div", Lf, [
8962
+ h("fieldset", Pf, [
8963
+ h("div", Df, [
8947
8964
  T(ve, { name: "FlowsheetOutlineRounded" }),
8948
8965
  T($e, {
8949
8966
  level: 4,
8950
8967
  title: k.$t("activity.dependencies.title")
8951
8968
  }, null, 8, ["title"])
8952
8969
  ]),
8953
- h("div", Pf, [
8954
- h("div", Df, [
8955
- h("label", Hf, [
8956
- h("span", Vf, z(k.$t("activity.dependingOn.label")), 1),
8970
+ h("div", Hf, [
8971
+ h("div", Vf, [
8972
+ h("label", Bf, [
8973
+ h("span", jf, z(k.$t("activity.dependingOn.label")), 1),
8957
8974
  T(He, {
8958
8975
  modelValue: m.value,
8959
8976
  "onUpdate:modelValue": H[7] || (H[7] = (se) => m.value = se),
@@ -8967,9 +8984,9 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8967
8984
  }, null, 8, ["modelValue", "options", "disabled", "caret"])
8968
8985
  ])
8969
8986
  ]),
8970
- h("div", Bf, [
8971
- h("label", jf, [
8972
- h("span", Rf, z(k.$t("activity.blocking.label")), 1),
8987
+ h("div", Rf, [
8988
+ h("label", Nf, [
8989
+ h("span", Uf, z(k.$t("activity.blocking.label")), 1),
8973
8990
  T(He, {
8974
8991
  modelValue: _.value,
8975
8992
  "onUpdate:modelValue": H[8] || (H[8] = (se) => _.value = se),
@@ -8994,7 +9011,7 @@ const un = /* @__PURE__ */ Y(jv, [["render", Nv], ["__scopeId", "data-v-a17bd60b
8994
9011
  }));
8995
9012
  }
8996
9013
  });
8997
- const Nf = /* @__PURE__ */ X({
9014
+ const Ff = /* @__PURE__ */ X({
8998
9015
  __name: "AoRuleLine",
8999
9016
  props: {
9000
9017
  rule: {},
@@ -9118,7 +9135,7 @@ const Nf = /* @__PURE__ */ X({
9118
9135
  }));
9119
9136
  }
9120
9137
  });
9121
- const Uf = { class: "ao-template-rules__body" }, Ff = { class: "ao-template-rules__list" }, Zf = /* @__PURE__ */ X({
9138
+ const Zf = { class: "ao-template-rules__body" }, Wf = { class: "ao-template-rules__list" }, zf = /* @__PURE__ */ X({
9122
9139
  __name: "AoTemplateRules",
9123
9140
  props: {
9124
9141
  templateId: {},
@@ -9142,9 +9159,9 @@ const Uf = { class: "ao-template-rules__body" }, Ff = { class: "ao-template-rule
9142
9159
  }, null, 8, ["title"])
9143
9160
  ]),
9144
9161
  default: q(() => [
9145
- h("div", Uf, [
9146
- h("ul", Ff, [
9147
- (v(!0), y(he, null, Ce(n.rules, (i) => (v(), B(Nf, {
9162
+ h("div", Zf, [
9163
+ h("ul", Wf, [
9164
+ (v(!0), y(he, null, Ce(n.rules, (i) => (v(), B(Ff, {
9148
9165
  key: i.id,
9149
9166
  rule: i,
9150
9167
  "template-phases": n.templatePhases,
@@ -9172,10 +9189,10 @@ function Tt(t, e, a) {
9172
9189
  rank: o.format()
9173
9190
  };
9174
9191
  }
9175
- const Wf = {
9192
+ const qf = {
9176
9193
  key: 0,
9177
9194
  class: "ao-template-details"
9178
- }, zf = { class: "ao-template-details__body" }, qf = { class: "ao-template-details__cols" }, Yf = { class: "ao-template-details__col" }, xf = { class: "ao-list__footer" }, Kf = { class: "ao-template-details__col" }, Gf = { class: "ao-template-details__col" }, Xf = /* @__PURE__ */ X({
9195
+ }, Yf = { class: "ao-template-details__body" }, xf = { class: "ao-template-details__cols" }, Kf = { class: "ao-template-details__col" }, Gf = { class: "ao-list__footer" }, Xf = { class: "ao-template-details__col" }, Qf = { class: "ao-template-details__col" }, Jf = /* @__PURE__ */ X({
9179
9196
  __name: "AoTemplateDetails",
9180
9197
  props: {
9181
9198
  templateId: {},
@@ -9417,7 +9434,7 @@ const Wf = {
9417
9434
  };
9418
9435
  return (P, A) => {
9419
9436
  var F, L, Z, oe, k, H;
9420
- return n.value ? (v(), y("div", Wf, [
9437
+ return n.value ? (v(), y("div", qf, [
9421
9438
  T(wa, {
9422
9439
  "can-go-back": !0,
9423
9440
  onGoBack: A[1] || (A[1] = (N) => P.$router.push({ name: W(Nt).TEMPLATES_LIST }))
@@ -9434,9 +9451,9 @@ const Wf = {
9434
9451
  ]),
9435
9452
  _: 1
9436
9453
  }),
9437
- h("div", zf, [
9438
- h("ol", qf, [
9439
- h("li", Yf, [
9454
+ h("div", Yf, [
9455
+ h("ol", xf, [
9456
+ h("li", Kf, [
9440
9457
  T(W(gt), {
9441
9458
  "model-value": n.value.phases,
9442
9459
  class: "ao-templates__list",
@@ -9471,7 +9488,7 @@ const Wf = {
9471
9488
  ];
9472
9489
  }),
9473
9490
  footer: q(() => [
9474
- h("div", xf, [
9491
+ h("div", Gf, [
9475
9492
  T(_t, {
9476
9493
  "icon-name": "AddBoxOutlineRounded",
9477
9494
  label: P.$t("template.phases.add"),
@@ -9482,7 +9499,7 @@ const Wf = {
9482
9499
  _: 1
9483
9500
  }, 8, ["model-value"])
9484
9501
  ]),
9485
- h("li", Kf, [
9502
+ h("li", Xf, [
9486
9503
  i.value ? (v(), B(E5, {
9487
9504
  key: 0,
9488
9505
  "template-id": P.templateId,
@@ -9494,7 +9511,7 @@ const Wf = {
9494
9511
  onRemoveMilestone: _
9495
9512
  }, null, 8, ["template-id", "phase", "milestone-id"])) : E("", !0)
9496
9513
  ]),
9497
- h("li", Gf, [
9514
+ h("li", Qf, [
9498
9515
  i.value && r.value ? (v(), B(P5, {
9499
9516
  key: 0,
9500
9517
  "template-id": P.templateId,
@@ -9538,7 +9555,7 @@ const Wf = {
9538
9555
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : E("", !0)
9539
9556
  ])),
9540
9557
  (v(), B(Ot, { to: "body" }, [
9541
- D.value ? (v(), B(Zf, {
9558
+ D.value ? (v(), B(zf, {
9542
9559
  key: 0,
9543
9560
  "template-id": n.value.id,
9544
9561
  rules: n.value.rules || [],
@@ -9554,10 +9571,10 @@ const Wf = {
9554
9571
  };
9555
9572
  }
9556
9573
  });
9557
- const Qf = { class: "ao-card__content" }, Jf = {
9574
+ const eh = { class: "ao-card__content" }, th = {
9558
9575
  key: 0,
9559
9576
  class: "ao-card__header"
9560
- }, eh = { class: "ao-card__body" }, th = {
9577
+ }, ah = { class: "ao-card__body" }, nh = {
9561
9578
  key: 1,
9562
9579
  class: "ao-card__footer"
9563
9580
  }, cn = /* @__PURE__ */ X({
@@ -9585,14 +9602,14 @@ const Qf = { class: "ao-card__content" }, Jf = {
9585
9602
  class: "ao-card__left-border",
9586
9603
  style: Fe({ backgroundColor: e.color })
9587
9604
  }, null, 4)) : E("", !0),
9588
- h("div", Qf, [
9589
- e.$slots.header ? (v(), y("header", Jf, [
9605
+ h("div", eh, [
9606
+ e.$slots.header ? (v(), y("header", th, [
9590
9607
  ae(e.$slots, "header")
9591
9608
  ])) : E("", !0),
9592
- h("div", eh, [
9609
+ h("div", ah, [
9593
9610
  ae(e.$slots, "default")
9594
9611
  ]),
9595
- e.$slots.footer ? (v(), y("footer", th, [
9612
+ e.$slots.footer ? (v(), y("footer", nh, [
9596
9613
  ae(e.$slots, "footer")
9597
9614
  ])) : E("", !0)
9598
9615
  ])
@@ -9632,8 +9649,8 @@ const dn = /* @__PURE__ */ X({
9632
9649
  */
9633
9650
  function St(t) {
9634
9651
  let e = { r: 0, g: 0, b: 0, a: 1 };
9635
- /#/.test(t) ? e = nh(t) : /rgb/.test(t) ? e = Ds(t) : typeof t == "string" ? e = Ds(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
9636
- const { r: a, g: s, b: n, a: o } = e, { h: i, s: r, v: l } = sh(e);
9652
+ /#/.test(t) ? e = ih(t) : /rgb/.test(t) ? e = Ds(t) : typeof t == "string" ? e = Ds(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
9653
+ const { r: a, g: s, b: n, a: o } = e, { h: i, s: r, v: l } = oh(e);
9637
9654
  return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
9638
9655
  }
9639
9656
  function Qn(t) {
@@ -9644,11 +9661,11 @@ function En(t, e, a, s, n, o) {
9644
9661
  const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
9645
9662
  r.addColorStop(0.01, n), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, s);
9646
9663
  }
9647
- function ah({ r: t, g: e, b: a }, s) {
9664
+ function sh({ r: t, g: e, b: a }, s) {
9648
9665
  const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
9649
9666
  return s ? o.toUpperCase() : o;
9650
9667
  }
9651
- function nh(t) {
9668
+ function ih(t) {
9652
9669
  t = t.slice(1);
9653
9670
  const e = (a) => parseInt(a, 16) || 0;
9654
9671
  return {
@@ -9665,7 +9682,7 @@ function Ds(t) {
9665
9682
  a: Number(t[3] ? t[3] : 1)
9666
9683
  }) : t;
9667
9684
  }
9668
- function sh({ r: t, g: e, b: a }) {
9685
+ function oh({ r: t, g: e, b: a }) {
9669
9686
  t = t / 255, e = e / 255, a = a / 255;
9670
9687
  const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
9671
9688
  let i = 0;
@@ -9732,8 +9749,8 @@ var Jn = X({
9732
9749
  }
9733
9750
  }
9734
9751
  });
9735
- const ih = { ref: "canvasSaturation" };
9736
- function oh(t, e, a, s, n, o) {
9752
+ const rh = { ref: "canvasSaturation" };
9753
+ function lh(t, e, a, s, n, o) {
9737
9754
  return v(), B(
9738
9755
  "div",
9739
9756
  {
@@ -9743,7 +9760,7 @@ function oh(t, e, a, s, n, o) {
9743
9760
  [
9744
9761
  T(
9745
9762
  "canvas",
9746
- ih,
9763
+ rh,
9747
9764
  null,
9748
9765
  512
9749
9766
  /* NEED_PATCH */
@@ -9763,7 +9780,7 @@ function oh(t, e, a, s, n, o) {
9763
9780
  /* HYDRATE_EVENTS */
9764
9781
  );
9765
9782
  }
9766
- Jn.render = oh;
9783
+ Jn.render = lh;
9767
9784
  Jn.__file = "src/color/Saturation.vue";
9768
9785
  var es = X({
9769
9786
  props: {
@@ -9818,8 +9835,8 @@ var es = X({
9818
9835
  }
9819
9836
  }
9820
9837
  });
9821
- const rh = { ref: "canvasHue" };
9822
- function lh(t, e, a, s, n, o) {
9838
+ const uh = { ref: "canvasHue" };
9839
+ function ch(t, e, a, s, n, o) {
9823
9840
  return v(), B(
9824
9841
  "div",
9825
9842
  {
@@ -9829,7 +9846,7 @@ function lh(t, e, a, s, n, o) {
9829
9846
  [
9830
9847
  T(
9831
9848
  "canvas",
9832
- rh,
9849
+ uh,
9833
9850
  null,
9834
9851
  512
9835
9852
  /* NEED_PATCH */
@@ -9849,7 +9866,7 @@ function lh(t, e, a, s, n, o) {
9849
9866
  /* HYDRATE_EVENTS */
9850
9867
  );
9851
9868
  }
9852
- es.render = lh;
9869
+ es.render = ch;
9853
9870
  es.__file = "src/color/Hue.vue";
9854
9871
  var ts = X({
9855
9872
  props: {
@@ -9913,8 +9930,8 @@ var ts = X({
9913
9930
  }
9914
9931
  }
9915
9932
  });
9916
- const uh = { ref: "canvasAlpha" };
9917
- function ch(t, e, a, s, n, o) {
9933
+ const dh = { ref: "canvasAlpha" };
9934
+ function ph(t, e, a, s, n, o) {
9918
9935
  return v(), B(
9919
9936
  "div",
9920
9937
  {
@@ -9924,7 +9941,7 @@ function ch(t, e, a, s, n, o) {
9924
9941
  [
9925
9942
  T(
9926
9943
  "canvas",
9927
- uh,
9944
+ dh,
9928
9945
  null,
9929
9946
  512
9930
9947
  /* NEED_PATCH */
@@ -9944,7 +9961,7 @@ function ch(t, e, a, s, n, o) {
9944
9961
  /* HYDRATE_EVENTS */
9945
9962
  );
9946
9963
  }
9947
- ts.render = ch;
9964
+ ts.render = ph;
9948
9965
  ts.__file = "src/color/Alpha.vue";
9949
9966
  var as = X({
9950
9967
  props: {
@@ -9981,10 +9998,10 @@ var as = X({
9981
9998
  }
9982
9999
  }
9983
10000
  });
9984
- function dh(t, e, a, s, n, o) {
10001
+ function vh(t, e, a, s, n, o) {
9985
10002
  return v(), B("canvas");
9986
10003
  }
9987
- as.render = dh;
10004
+ as.render = vh;
9988
10005
  as.__file = "src/color/Preview.vue";
9989
10006
  var ns = X({
9990
10007
  props: {
@@ -10047,19 +10064,19 @@ var ns = X({
10047
10064
  }
10048
10065
  }
10049
10066
  });
10050
- const ph = /* @__PURE__ */ T(
10067
+ const fh = /* @__PURE__ */ T(
10051
10068
  "path",
10052
10069
  { 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" },
10053
10070
  null,
10054
10071
  -1
10055
10072
  /* HOISTED */
10056
- ), vh = {
10073
+ ), hh = {
10057
10074
  key: 1,
10058
10075
  class: "sucker",
10059
10076
  viewBox: "-16 -16 68 68",
10060
10077
  xmlns: "http://www.w3.org/2000/svg",
10061
10078
  stroke: "#9099a4"
10062
- }, fh = /* @__PURE__ */ T(
10079
+ }, mh = /* @__PURE__ */ T(
10063
10080
  "g",
10064
10081
  {
10065
10082
  fill: "none",
@@ -10091,7 +10108,7 @@ const ph = /* @__PURE__ */ T(
10091
10108
  -1
10092
10109
  /* HOISTED */
10093
10110
  );
10094
- function hh(t, e, a, s, n, o) {
10111
+ function gh(t, e, a, s, n, o) {
10095
10112
  return v(), B("div", null, [
10096
10113
  t.isSucking ? E("v-if", !0) : (v(), B(
10097
10114
  "svg",
@@ -10103,17 +10120,17 @@ function hh(t, e, a, s, n, o) {
10103
10120
  onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
10104
10121
  },
10105
10122
  [
10106
- ph
10123
+ fh
10107
10124
  ],
10108
10125
  2
10109
10126
  /* CLASS */
10110
10127
  )),
10111
- t.isSucking ? (v(), B("svg", vh, [
10112
- fh
10128
+ t.isSucking ? (v(), B("svg", hh, [
10129
+ mh
10113
10130
  ])) : E("v-if", !0)
10114
10131
  ]);
10115
10132
  }
10116
- ns.render = hh;
10133
+ ns.render = gh;
10117
10134
  ns.__file = "src/color/Sucker.vue";
10118
10135
  var ss = X({
10119
10136
  props: {
@@ -10146,12 +10163,12 @@ var ss = X({
10146
10163
  };
10147
10164
  }
10148
10165
  });
10149
- const mh = { class: "color-type" }, gh = { class: "name" };
10150
- function Ch(t, e, a, s, n, o) {
10151
- return v(), B("div", mh, [
10166
+ const Ch = { class: "color-type" }, _h = { class: "name" };
10167
+ function yh(t, e, a, s, n, o) {
10168
+ return v(), B("div", Ch, [
10152
10169
  T(
10153
10170
  "span",
10154
- gh,
10171
+ _h,
10155
10172
  z(t.name),
10156
10173
  1
10157
10174
  /* TEXT */
@@ -10172,7 +10189,7 @@ function Ch(t, e, a, s, n, o) {
10172
10189
  ])
10173
10190
  ]);
10174
10191
  }
10175
- ss.render = Ch;
10192
+ ss.render = yh;
10176
10193
  ss.__file = "src/color/Box.vue";
10177
10194
  var is = X({
10178
10195
  name: "ColorPicker",
@@ -10214,13 +10231,13 @@ var is = X({
10214
10231
  };
10215
10232
  }
10216
10233
  });
10217
- const _h = { class: "colors" }, yh = {
10234
+ const bh = { class: "colors" }, wh = {
10218
10235
  key: 0,
10219
10236
  class: "colors history"
10220
10237
  };
10221
- function bh(t, e, a, s, n, o) {
10238
+ function $h(t, e, a, s, n, o) {
10222
10239
  return v(), B("div", null, [
10223
- T("ul", _h, [
10240
+ T("ul", bh, [
10224
10241
  (v(!0), B(
10225
10242
  he,
10226
10243
  null,
@@ -10254,7 +10271,7 @@ function bh(t, e, a, s, n, o) {
10254
10271
  /* KEYED_FRAGMENT */
10255
10272
  ))
10256
10273
  ]),
10257
- t.colorsHistory.length ? (v(), B("ul", yh, [
10274
+ t.colorsHistory.length ? (v(), B("ul", wh, [
10258
10275
  (v(!0), B(
10259
10276
  he,
10260
10277
  null,
@@ -10290,7 +10307,7 @@ function bh(t, e, a, s, n, o) {
10290
10307
  ])) : E("v-if", !0)
10291
10308
  ]);
10292
10309
  }
10293
- is.render = bh;
10310
+ is.render = $h;
10294
10311
  is.__file = "src/color/Colors.vue";
10295
10312
  var Ft = X({
10296
10313
  components: {
@@ -10401,7 +10418,7 @@ var Ft = X({
10401
10418
  return `rgba(${this.rgbaStringShort})`;
10402
10419
  },
10403
10420
  hexString() {
10404
- return ah(this.rgba, !0);
10421
+ return sh(this.rgba, !0);
10405
10422
  }
10406
10423
  },
10407
10424
  created() {
@@ -10465,8 +10482,8 @@ var Ft = X({
10465
10482
  }
10466
10483
  }
10467
10484
  });
10468
- const wh = { class: "color-set" };
10469
- function $h(t, e, a, s, n, o) {
10485
+ const kh = { class: "color-set" };
10486
+ function Sh(t, e, a, s, n, o) {
10470
10487
  const i = ut("Saturation"), r = ut("Hue"), l = ut("Alpha"), c = ut("Preview"), u = ut("Sucker"), d = ut("Box"), p = ut("Colors");
10471
10488
  return v(), B(
10472
10489
  "div",
@@ -10475,7 +10492,7 @@ function $h(t, e, a, s, n, o) {
10475
10492
  style: { width: t.totalWidth + "px" }
10476
10493
  },
10477
10494
  [
10478
- T("div", wh, [
10495
+ T("div", kh, [
10479
10496
  T(i, {
10480
10497
  ref: "saturation",
10481
10498
  color: t.rgbString,
@@ -10549,12 +10566,12 @@ function $h(t, e, a, s, n, o) {
10549
10566
  /* CLASS, STYLE */
10550
10567
  );
10551
10568
  }
10552
- Ft.render = $h;
10569
+ Ft.render = Sh;
10553
10570
  Ft.__file = "src/color/ColorPicker.vue";
10554
10571
  Ft.install = (t) => {
10555
10572
  t.component(Ft.name, Ft);
10556
10573
  };
10557
- const kh = { class: "color-picker-wrapper" }, os = /* @__PURE__ */ X({
10574
+ const Mh = { class: "color-picker-wrapper" }, os = /* @__PURE__ */ X({
10558
10575
  __name: "AoColorPicker",
10559
10576
  props: {
10560
10577
  color: {}
@@ -10585,7 +10602,7 @@ const kh = { class: "color-picker-wrapper" }, os = /* @__PURE__ */ X({
10585
10602
  const { r: f, g: w, b: m, a: $ } = g.rgba;
10586
10603
  d.value = `rgba(${f}, ${w}, ${m}, ${$})`;
10587
10604
  };
10588
- return (g, f) => (v(), y("div", kh, [
10605
+ return (g, f) => (v(), y("div", Mh, [
10589
10606
  ae(g.$slots, "clickable", {
10590
10607
  openPicker: l,
10591
10608
  bgColor: g.color
@@ -10607,16 +10624,16 @@ const kh = { class: "color-picker-wrapper" }, os = /* @__PURE__ */ X({
10607
10624
  ]));
10608
10625
  }
10609
10626
  });
10610
- const Sh = { class: "ao-card-project-phase__header" }, Mh = { class: "ao-card-project-item__title-line" }, Ah = {
10627
+ const Ah = { class: "ao-card-project-phase__header" }, Th = { class: "ao-card-project-item__title-line" }, Oh = {
10611
10628
  key: 0,
10612
10629
  class: "ao-card-project-item-phase__estimation"
10613
- }, Th = { class: "ao-card-project-phase__footer" }, Oh = {
10630
+ }, Eh = { class: "ao-card-project-phase__footer" }, Ih = {
10614
10631
  key: 0,
10615
10632
  class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
10616
- }, Eh = { class: "ao-card-project-phase__subitem" }, Ih = { class: "ao-card-project-phase__subitem" }, Lh = {
10633
+ }, Lh = { class: "ao-card-project-phase__subitem" }, Ph = { class: "ao-card-project-phase__subitem" }, Dh = {
10617
10634
  key: 0,
10618
10635
  class: "ao-card-project-phase__secondary"
10619
- }, Ph = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Dh = /* @__PURE__ */ X({
10636
+ }, Hh = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Vh = /* @__PURE__ */ X({
10620
10637
  __name: "AoCardProjectItemPhase",
10621
10638
  props: {
10622
10639
  id: {},
@@ -10684,7 +10701,7 @@ const Sh = { class: "ao-card-project-phase__header" }, Mh = { class: "ao-card-pr
10684
10701
  onClick: (_) => g(_, m)
10685
10702
  }, ha({
10686
10703
  default: q(() => [
10687
- h("div", Mh, [
10704
+ h("div", Th, [
10688
10705
  T($e, {
10689
10706
  id: f.id,
10690
10707
  class: "ao-card-project-phase__title",
@@ -10693,25 +10710,25 @@ const Sh = { class: "ao-card-project-phase__header" }, Mh = { class: "ao-card-pr
10693
10710
  "is-editable": f.isEditable,
10694
10711
  "onUpdate:title": s
10695
10712
  }, null, 8, ["id", "title", "is-editable"]),
10696
- n.value || o.value ? (v(), y("span", Ah, " (" + z(r.value) + "/" + z(n.value) + z(i.value) + ")", 1)) : E("", !0)
10713
+ n.value || o.value ? (v(), y("span", Oh, " (" + z(r.value) + "/" + z(n.value) + z(i.value) + ")", 1)) : E("", !0)
10697
10714
  ])
10698
10715
  ]),
10699
10716
  footer: q(() => [
10700
- h("div", Th, [
10701
- l.value ? (v(), y("div", Oh, [
10702
- h("div", Eh, [
10717
+ h("div", Eh, [
10718
+ l.value ? (v(), y("div", Ih, [
10719
+ h("div", Lh, [
10703
10720
  T(ve, {
10704
10721
  name: "MountainFlagOutlineRounded",
10705
10722
  size: "sm"
10706
10723
  }),
10707
- h("span", Ih, z(c.value) + " / " + z(l.value), 1)
10724
+ h("span", Ph, z(c.value) + " / " + z(l.value), 1)
10708
10725
  ]),
10709
10726
  T(dn, {
10710
10727
  percentages: u.value,
10711
10728
  class: "ao-card-project-phase__progress",
10712
10729
  color: f.color
10713
10730
  }, null, 8, ["percentages", "color"]),
10714
- f.$slots.secondary ? (v(), y("div", Lh, [
10731
+ f.$slots.secondary ? (v(), y("div", Dh, [
10715
10732
  ae(f.$slots, "secondary")
10716
10733
  ])) : E("", !0)
10717
10734
  ])) : E("", !0),
@@ -10731,7 +10748,7 @@ const Sh = { class: "ao-card-project-phase__header" }, Mh = { class: "ao-card-pr
10731
10748
  { lazy: !0 }
10732
10749
  ]
10733
10750
  ]) : E("", !0),
10734
- h("span", Ph, z(W(en)(f.deadline)), 1)
10751
+ h("span", Hh, z(W(en)(f.deadline)), 1)
10735
10752
  ], 2)
10736
10753
  ])
10737
10754
  ]),
@@ -10740,7 +10757,7 @@ const Sh = { class: "ao-card-project-phase__header" }, Mh = { class: "ao-card-pr
10740
10757
  f.isEditable ? {
10741
10758
  name: "header",
10742
10759
  fn: q(() => [
10743
- h("div", Sh, [
10760
+ h("div", Ah, [
10744
10761
  T(ue, {
10745
10762
  class: "ao-card-project-phase__archive",
10746
10763
  color: "primary",
@@ -10765,7 +10782,7 @@ const Sh = { class: "ao-card-project-phase__header" }, Mh = { class: "ao-card-pr
10765
10782
  }, 8, ["color"]));
10766
10783
  }
10767
10784
  });
10768
- const Hh = /* @__PURE__ */ X({
10785
+ const Bh = /* @__PURE__ */ X({
10769
10786
  __name: "AoBadge",
10770
10787
  props: {
10771
10788
  color: {}
@@ -10777,22 +10794,22 @@ const Hh = /* @__PURE__ */ X({
10777
10794
  }, null, 4));
10778
10795
  }
10779
10796
  });
10780
- const Vh = { class: "ao-card-project-milestone__default" }, Bh = { class: "ao-title-with-badge-wrapper" }, jh = { class: "ao-card-project-item__title-line" }, Rh = {
10797
+ const jh = { class: "ao-card-project-milestone__default" }, Rh = { class: "ao-title-with-badge-wrapper" }, Nh = { class: "ao-card-project-item__title-line" }, Uh = {
10781
10798
  key: 0,
10782
10799
  class: "ao-card-project-item-milestone__estimation"
10783
- }, Nh = {
10800
+ }, Fh = {
10784
10801
  key: 0,
10785
10802
  class: "ao-card-project-milestone__archive"
10786
- }, Uh = { class: "ao-card-project-milestone__activities" }, Fh = { class: "ao-card-project-milestone__activities-row" }, Zh = { class: "ao-card-project-milestone__subitem" }, Wh = { class: "ao-card-project-milestone__subitem" }, zh = {
10803
+ }, Zh = { class: "ao-card-project-milestone__activities" }, Wh = { class: "ao-card-project-milestone__activities-row" }, zh = { class: "ao-card-project-milestone__subitem" }, qh = { class: "ao-card-project-milestone__subitem" }, Yh = {
10787
10804
  key: 1,
10788
10805
  class: "ao-card-project-milestone__secondary"
10789
- }, qh = { class: "ao-card-project-milestone__footer" }, Yh = {
10806
+ }, xh = { class: "ao-card-project-milestone__footer" }, Kh = {
10790
10807
  key: 1,
10791
10808
  class: "ao-field ao-card-project-milestone__deadline"
10792
- }, xh = { class: "ao-field__label" }, Kh = {
10809
+ }, Gh = { class: "ao-field__label" }, Xh = {
10793
10810
  key: 2,
10794
10811
  class: "ao-card-project-milestone__assignee"
10795
- }, Gh = /* @__PURE__ */ X({
10812
+ }, Qh = /* @__PURE__ */ X({
10796
10813
  __name: "AoCardProjectItemMilestone",
10797
10814
  props: {
10798
10815
  id: {},
@@ -10846,12 +10863,12 @@ const Vh = { class: "ao-card-project-milestone__default" }, Bh = { class: "ao-ti
10846
10863
  color: d.phaseColor
10847
10864
  }, {
10848
10865
  default: q(() => [
10849
- h("div", Vh, [
10850
- h("div", Bh, [
10851
- T(Hh, {
10866
+ h("div", jh, [
10867
+ h("div", Rh, [
10868
+ T(Bh, {
10852
10869
  color: d.color || ""
10853
10870
  }, null, 8, ["color"]),
10854
- h("div", jh, [
10871
+ h("div", Nh, [
10855
10872
  T($e, {
10856
10873
  id: d.id,
10857
10874
  title: d.name || "",
@@ -10860,10 +10877,10 @@ const Vh = { class: "ao-card-project-milestone__default" }, Bh = { class: "ao-ti
10860
10877
  class: "ao-card-project-milestone__title",
10861
10878
  "onUpdate:title": u
10862
10879
  }, null, 8, ["id", "title", "is-editable"]),
10863
- s.value || n.value ? (v(), y("span", Rh, " (" + z(i.value) + "/" + z(s.value) + z(o.value) + ")", 1)) : E("", !0)
10880
+ s.value || n.value ? (v(), y("span", Uh, " (" + z(i.value) + "/" + z(s.value) + z(o.value) + ")", 1)) : E("", !0)
10864
10881
  ])
10865
10882
  ]),
10866
- !d.readonly && d.isEditable ? (v(), y("div", Nh, [
10883
+ !d.readonly && d.isEditable ? (v(), y("div", Fh, [
10867
10884
  T(ue, {
10868
10885
  color: "primary",
10869
10886
  variant: "ghost",
@@ -10879,15 +10896,15 @@ const Vh = { class: "ao-card-project-milestone__default" }, Bh = { class: "ao-ti
10879
10896
  }, null, 8, ["label"])
10880
10897
  ])) : E("", !0)
10881
10898
  ]),
10882
- h("div", Uh, [
10883
- h("div", Fh, [
10899
+ h("div", Zh, [
10900
+ h("div", Wh, [
10884
10901
  r.value ? (v(), y(he, { key: 0 }, [
10885
- h("div", Zh, [
10902
+ h("div", zh, [
10886
10903
  T(ve, {
10887
10904
  name: "SelectCheckBox",
10888
10905
  size: "sm"
10889
10906
  }),
10890
- h("span", Wh, z(l.value) + " / " + z(r.value), 1)
10907
+ h("span", qh, z(l.value) + " / " + z(r.value), 1)
10891
10908
  ]),
10892
10909
  T(dn, {
10893
10910
  percentages: c.value,
@@ -10895,14 +10912,14 @@ const Vh = { class: "ao-card-project-milestone__default" }, Bh = { class: "ao-ti
10895
10912
  class: "ao-card-project-milestone__progress"
10896
10913
  }, null, 8, ["percentages", "color"])
10897
10914
  ], 64)) : E("", !0),
10898
- d.$slots.secondary ? (v(), y("div", zh, [
10915
+ d.$slots.secondary ? (v(), y("div", Yh, [
10899
10916
  ae(d.$slots, "secondary")
10900
10917
  ])) : E("", !0)
10901
10918
  ])
10902
10919
  ])
10903
10920
  ]),
10904
10921
  footer: q(() => [
10905
- h("div", qh, [
10922
+ h("div", xh, [
10906
10923
  d.important ? (v(), B(ve, {
10907
10924
  key: 0,
10908
10925
  name: "FlagRounded",
@@ -10911,10 +10928,10 @@ const Vh = { class: "ao-card-project-milestone__default" }, Bh = { class: "ao-ti
10911
10928
  ),
10912
10929
  size: "sm"
10913
10930
  }, null, 8, ["class"])) : E("", !0),
10914
- d.deadline ? (v(), y("label", Yh, [
10915
- h("span", xh, z(W(en)(d.deadline)), 1)
10931
+ d.deadline ? (v(), y("label", Kh, [
10932
+ h("span", Gh, z(W(en)(d.deadline)), 1)
10916
10933
  ])) : E("", !0),
10917
- d.assignee ? (v(), y("div", Kh, [
10934
+ d.assignee ? (v(), y("div", Xh, [
10918
10935
  T(Ct, {
10919
10936
  "user-name": W(Js)(d.assignee),
10920
10937
  "avatar-url": d.assignee.avatarUrl,
@@ -10928,16 +10945,16 @@ const Vh = { class: "ao-card-project-milestone__default" }, Bh = { class: "ao-ti
10928
10945
  }, 8, ["is-clickable", "is-selected", "color"]));
10929
10946
  }
10930
10947
  });
10931
- const Xh = { class: "ao-mapping-card-project-phase__header" }, Qh = { class: "ao-card-project-item__title-line" }, Jh = {
10948
+ const Jh = { class: "ao-mapping-card-project-phase__header" }, e9 = { class: "ao-card-project-item__title-line" }, t9 = {
10932
10949
  key: 0,
10933
10950
  class: "ao-card-project-item-phase__estimation"
10934
- }, e9 = { class: "ao-mapping-card-project-phase__footer" }, t9 = {
10951
+ }, a9 = { class: "ao-mapping-card-project-phase__footer" }, n9 = {
10935
10952
  key: 0,
10936
10953
  class: "ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"
10937
- }, a9 = { class: "ao-mapping-card-project-phase__subitem" }, n9 = { class: "ao-mapping-card-project-phase__subitem" }, s9 = {
10954
+ }, s9 = { class: "ao-mapping-card-project-phase__subitem" }, i9 = { class: "ao-mapping-card-project-phase__subitem" }, o9 = {
10938
10955
  key: 0,
10939
10956
  class: "ao-mapping-card-project-phase__secondary"
10940
- }, i9 = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, o9 = /* @__PURE__ */ X({
10957
+ }, r9 = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, l9 = /* @__PURE__ */ X({
10941
10958
  __name: "AoCondensedCardProjectItemPhase",
10942
10959
  props: {
10943
10960
  id: {},
@@ -11005,7 +11022,7 @@ const Xh = { class: "ao-mapping-card-project-phase__header" }, Qh = { class: "ao
11005
11022
  onClick: (_) => g(_, m)
11006
11023
  }, ha({
11007
11024
  default: q(() => [
11008
- h("div", Qh, [
11025
+ h("div", e9, [
11009
11026
  T($e, {
11010
11027
  id: f.id,
11011
11028
  class: "ao-mapping-card-project-phase__title",
@@ -11014,25 +11031,25 @@ const Xh = { class: "ao-mapping-card-project-phase__header" }, Qh = { class: "ao
11014
11031
  "is-editable": f.isEditable,
11015
11032
  "onUpdate:title": s
11016
11033
  }, null, 8, ["id", "title", "is-editable"]),
11017
- n.value || o.value ? (v(), y("span", Jh, " (" + z(r.value) + "/" + z(n.value) + z(i.value) + ")", 1)) : E("", !0)
11034
+ n.value || o.value ? (v(), y("span", t9, " (" + z(r.value) + "/" + z(n.value) + z(i.value) + ")", 1)) : E("", !0)
11018
11035
  ])
11019
11036
  ]),
11020
11037
  footer: q(() => [
11021
- h("div", e9, [
11022
- l.value ? (v(), y("div", t9, [
11023
- h("div", a9, [
11038
+ h("div", a9, [
11039
+ l.value ? (v(), y("div", n9, [
11040
+ h("div", s9, [
11024
11041
  T(ve, {
11025
11042
  name: "MountainFlagOutlineRounded",
11026
11043
  size: "sm"
11027
11044
  }),
11028
- h("span", n9, z(c.value) + " / " + z(l.value), 1)
11045
+ h("span", i9, z(c.value) + " / " + z(l.value), 1)
11029
11046
  ]),
11030
11047
  T(dn, {
11031
11048
  percentages: u.value,
11032
11049
  class: "ao-mapping-card-project-phase__progress",
11033
11050
  color: p.value
11034
11051
  }, null, 8, ["percentages", "color"]),
11035
- f.$slots.secondary ? (v(), y("div", s9, [
11052
+ f.$slots.secondary ? (v(), y("div", o9, [
11036
11053
  ae(f.$slots, "secondary")
11037
11054
  ])) : E("", !0)
11038
11055
  ])) : E("", !0),
@@ -11052,7 +11069,7 @@ const Xh = { class: "ao-mapping-card-project-phase__header" }, Qh = { class: "ao
11052
11069
  { lazy: !0 }
11053
11070
  ]
11054
11071
  ]) : E("", !0),
11055
- h("span", i9, z(W(en)(f.deadline)), 1)
11072
+ h("span", r9, z(W(en)(f.deadline)), 1)
11056
11073
  ], 2)
11057
11074
  ])
11058
11075
  ]),
@@ -11061,7 +11078,7 @@ const Xh = { class: "ao-mapping-card-project-phase__header" }, Qh = { class: "ao
11061
11078
  f.isEditable ? {
11062
11079
  name: "header",
11063
11080
  fn: q(() => [
11064
- h("div", Xh, [
11081
+ h("div", Jh, [
11065
11082
  T(ue, {
11066
11083
  class: "ao-mapping-card-project-phase__archive",
11067
11084
  color: "primary",
@@ -11086,19 +11103,19 @@ const Xh = { class: "ao-mapping-card-project-phase__header" }, Qh = { class: "ao
11086
11103
  }, 8, ["color"]));
11087
11104
  }
11088
11105
  });
11089
- const r9 = { class: "ao-project-phase" }, l9 = {
11106
+ const u9 = { class: "ao-project-phase" }, c9 = {
11090
11107
  key: 0,
11091
11108
  class: "ao-project-phase__drag ao-card__drag"
11092
- }, u9 = {
11109
+ }, d9 = {
11093
11110
  key: 1,
11094
11111
  class: "ao-project-phase__col-phase"
11095
- }, c9 = {
11112
+ }, p9 = {
11096
11113
  key: 2,
11097
11114
  class: "ao-mapping-project-phase__col-phase"
11098
- }, d9 = {
11115
+ }, v9 = {
11099
11116
  key: 0,
11100
11117
  class: "ao-project-phase__col-milestones"
11101
- }, p9 = { class: "ao-project-phase__milestones-list-footer" }, v9 = /* @__PURE__ */ X({
11118
+ }, f9 = { class: "ao-project-phase__milestones-list-footer" }, h9 = /* @__PURE__ */ X({
11102
11119
  __name: "AoProjectPhase",
11103
11120
  props: {
11104
11121
  phase: {},
@@ -11158,19 +11175,19 @@ const r9 = { class: "ao-project-phase" }, l9 = {
11158
11175
  var _;
11159
11176
  return a.phase.id !== ((_ = w.params) == null ? void 0 : _.phaseId) ? { backgroundColor: "var(--ao-color-sheet)" } : a.phase.color ? { backgroundColor: q3(a.phase.color) } : { backgroundColor: "var(--ao-color-primary-lightest)" };
11160
11177
  });
11161
- return (_, C) => (v(), y("li", r9, [
11178
+ return (_, C) => (v(), y("li", u9, [
11162
11179
  h("div", {
11163
11180
  class: "ao-project-phases__draggable-card",
11164
11181
  style: Fe($.value)
11165
11182
  }, [
11166
- _.isEditable ? (v(), y("div", l9, [
11183
+ _.isEditable ? (v(), y("div", c9, [
11167
11184
  T(ve, {
11168
11185
  name: "DragIndicator",
11169
11186
  class: "ao-project-phase__drag-handle"
11170
11187
  })
11171
11188
  ])) : E("", !0),
11172
- m.value ? (v(), y("div", c9, [
11173
- T(o9, {
11189
+ m.value ? (v(), y("div", p9, [
11190
+ T(l9, {
11174
11191
  id: _.phase.id,
11175
11192
  milestones: r.value,
11176
11193
  name: _.phase.name,
@@ -11185,8 +11202,8 @@ const r9 = { class: "ao-project-phase" }, l9 = {
11185
11202
  onUnarchivePhase: g,
11186
11203
  onUpdatePhase: i
11187
11204
  }, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color", "estimation-unit"])
11188
- ])) : (v(), y("div", u9, [
11189
- T(Dh, {
11205
+ ])) : (v(), y("div", d9, [
11206
+ T(Vh, {
11190
11207
  id: _.phase.id,
11191
11208
  milestones: r.value,
11192
11209
  name: _.phase.name,
@@ -11204,7 +11221,7 @@ const r9 = { class: "ao-project-phase" }, l9 = {
11204
11221
  }, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color", "time-tracking-data", "estimation-unit"])
11205
11222
  ]))
11206
11223
  ], 4),
11207
- m.value ? E("", !0) : (v(), y("div", d9, [
11224
+ m.value ? E("", !0) : (v(), y("div", v9, [
11208
11225
  h("div", {
11209
11226
  class: "ao-project-phase__milestones",
11210
11227
  style: Fe($.value)
@@ -11219,7 +11236,7 @@ const r9 = { class: "ao-project-phase" }, l9 = {
11219
11236
  item: q(({ element: b }) => {
11220
11237
  var I;
11221
11238
  return [
11222
- T(Gh, {
11239
+ T(Qh, {
11223
11240
  id: b.id,
11224
11241
  name: b.name,
11225
11242
  color: b.color,
@@ -11249,7 +11266,7 @@ const r9 = { class: "ao-project-phase" }, l9 = {
11249
11266
  }),
11250
11267
  _: 1
11251
11268
  }, 16, ["list", "disabled"]),
11252
- h("div", p9, [
11269
+ h("div", f9, [
11253
11270
  _.isEditable ? (v(), B(_t, {
11254
11271
  key: 0,
11255
11272
  label: _.$t("project.milestone.add"),
@@ -11263,10 +11280,10 @@ const r9 = { class: "ao-project-phase" }, l9 = {
11263
11280
  ]));
11264
11281
  }
11265
11282
  });
11266
- const f9 = { class: "ao-project__phases" }, h9 = {
11283
+ const m9 = { class: "ao-project__phases" }, g9 = {
11267
11284
  key: 0,
11268
11285
  class: "ao-project-phase__phases-list-footer"
11269
- }, m9 = /* @__PURE__ */ h("div", { class: "ao-project-phase__empty_drag" }, null, -1), g9 = { class: "ao-project-phase__col-phase" }, C9 = /* @__PURE__ */ h("div", { class: "ao-project-phase__col-milestones" }, null, -1), _i = /* @__PURE__ */ X({
11286
+ }, C9 = /* @__PURE__ */ h("div", { class: "ao-project-phase__empty_drag" }, null, -1), _9 = { class: "ao-project-phase__col-phase" }, y9 = /* @__PURE__ */ h("div", { class: "ao-project-phase__col-milestones" }, null, -1), _i = /* @__PURE__ */ X({
11270
11287
  __name: "AoProjectPhases",
11271
11288
  props: {
11272
11289
  phases: {},
@@ -11308,7 +11325,7 @@ const f9 = { class: "ao-project__phases" }, h9 = {
11308
11325
  }, d = (p) => {
11309
11326
  e("addPhase", p);
11310
11327
  };
11311
- return (p, g) => (v(), y("div", f9, [
11328
+ return (p, g) => (v(), y("div", m9, [
11312
11329
  T(W(gt), {
11313
11330
  class: "ao-project-phase__phases-list",
11314
11331
  "model-value": p.phases,
@@ -11317,7 +11334,7 @@ const f9 = { class: "ao-project__phases" }, h9 = {
11317
11334
  onChange: c
11318
11335
  }, {
11319
11336
  item: q(({ element: f }) => [
11320
- T(v9, {
11337
+ T(h9, {
11321
11338
  phase: f,
11322
11339
  "is-editable": !p.readonly && p.isEditable,
11323
11340
  "closed-status": p.closedStatus,
@@ -11336,9 +11353,9 @@ const f9 = { class: "ao-project__phases" }, h9 = {
11336
11353
  ]),
11337
11354
  _: 1
11338
11355
  }, 8, ["model-value"]),
11339
- p.isEditable ? (v(), y("div", h9, [
11340
- m9,
11341
- h("div", g9, [
11356
+ p.isEditable ? (v(), y("div", g9, [
11357
+ C9,
11358
+ h("div", _9, [
11342
11359
  T(_t, {
11343
11360
  label: p.$t("project.phases.add"),
11344
11361
  "icon-name": "Add",
@@ -11346,12 +11363,12 @@ const f9 = { class: "ao-project__phases" }, h9 = {
11346
11363
  onClick: d
11347
11364
  }, null, 8, ["label"])
11348
11365
  ]),
11349
- C9
11366
+ y9
11350
11367
  ])) : E("", !0)
11351
11368
  ]));
11352
11369
  }
11353
11370
  });
11354
- const _9 = ["onSubmit"], y9 = { class: "ao-add-template-modal__form-body" }, b9 = { class: "field__row" }, w9 = { class: "ao-add-template-modal__form-footer" }, yi = /* @__PURE__ */ X({
11371
+ const b9 = ["onSubmit"], w9 = { class: "ao-add-template-modal__form-body" }, $9 = { class: "field__row" }, k9 = { class: "ao-add-template-modal__form-footer" }, yi = /* @__PURE__ */ X({
11355
11372
  __name: "AoAddTemplateModal",
11356
11373
  props: {
11357
11374
  projectId: {},
@@ -11380,8 +11397,8 @@ const _9 = ["onSubmit"], y9 = { class: "ao-add-template-modal__form-body" }, b9
11380
11397
  onSubmit: fe(i, ["prevent"])
11381
11398
  }, [
11382
11399
  h("p", null, z(r.$t("project.template.apply.notice")), 1),
11383
- h("div", y9, [
11384
- h("div", b9, [
11400
+ h("div", w9, [
11401
+ h("div", $9, [
11385
11402
  T(He, {
11386
11403
  value: n.value,
11387
11404
  options: s.value,
@@ -11390,7 +11407,7 @@ const _9 = ["onSubmit"], y9 = { class: "ao-add-template-modal__form-body" }, b9
11390
11407
  }, null, 8, ["value", "options"])
11391
11408
  ])
11392
11409
  ]),
11393
- h("footer", w9, [
11410
+ h("footer", k9, [
11394
11411
  T(ue, {
11395
11412
  label: r.$t("project.template.apply.label"),
11396
11413
  type: "submit",
@@ -11399,13 +11416,13 @@ const _9 = ["onSubmit"], y9 = { class: "ao-add-template-modal__form-body" }, b9
11399
11416
  onClick: i
11400
11417
  }, null, 8, ["label"])
11401
11418
  ])
11402
- ], 40, _9)
11419
+ ], 40, b9)
11403
11420
  ]),
11404
11421
  _: 1
11405
11422
  }));
11406
11423
  }
11407
11424
  });
11408
- const $9 = ["onSubmit"], k9 = { class: "ao-save-template-modal__form-body" }, S9 = { class: "field__row" }, M9 = { class: "ao-field ao-field--inline" }, A9 = { class: "ao-field__label" }, T9 = { class: "ao-save-template-modal__phases" }, O9 = { class: "ao-field__label" }, E9 = { class: "ao-save-template-modal__phases-list" }, I9 = ["value"], L9 = { class: "ao-save-template-modal__form-footer" }, bi = /* @__PURE__ */ X({
11425
+ const S9 = ["onSubmit"], M9 = { class: "ao-save-template-modal__form-body" }, A9 = { class: "field__row" }, T9 = { class: "ao-field ao-field--inline" }, O9 = { class: "ao-field__label" }, E9 = { class: "ao-save-template-modal__phases" }, I9 = { class: "ao-field__label" }, L9 = { class: "ao-save-template-modal__phases-list" }, P9 = ["value"], D9 = { class: "ao-save-template-modal__form-footer" }, bi = /* @__PURE__ */ X({
11409
11426
  __name: "AoSaveTemplateModal",
11410
11427
  props: {
11411
11428
  phases: {}
@@ -11431,10 +11448,10 @@ const $9 = ["onSubmit"], k9 = { class: "ao-save-template-modal__form-body" }, S9
11431
11448
  class: "ao-save-template-modal__form",
11432
11449
  onSubmit: fe(o, ["prevent"])
11433
11450
  }, [
11434
- h("div", k9, [
11435
- h("div", S9, [
11436
- h("label", M9, [
11437
- h("span", A9, z(i.$t("project.template.name.label")) + ": ", 1),
11451
+ h("div", M9, [
11452
+ h("div", A9, [
11453
+ h("label", T9, [
11454
+ h("span", O9, z(i.$t("project.template.name.label")) + ": ", 1),
11438
11455
  be(h("input", {
11439
11456
  "onUpdate:modelValue": r[0] || (r[0] = (l) => s.value = l),
11440
11457
  type: "text"
@@ -11443,9 +11460,9 @@ const $9 = ["onSubmit"], k9 = { class: "ao-save-template-modal__form-body" }, S9
11443
11460
  ])
11444
11461
  ])
11445
11462
  ]),
11446
- h("div", T9, [
11447
- h("div", O9, z(i.$t("project.template.phases.label")), 1),
11448
- h("div", E9, [
11463
+ h("div", E9, [
11464
+ h("div", I9, z(i.$t("project.template.phases.label")), 1),
11465
+ h("div", L9, [
11449
11466
  (v(!0), y(he, null, Ce(a.phases, (l) => (v(), y("label", {
11450
11467
  class: "ao-field ao-field--checkbox",
11451
11468
  key: l.id
@@ -11454,7 +11471,7 @@ const $9 = ["onSubmit"], k9 = { class: "ao-save-template-modal__form-body" }, S9
11454
11471
  type: "checkbox",
11455
11472
  value: l.id,
11456
11473
  "onUpdate:modelValue": r[1] || (r[1] = (c) => n.value = c)
11457
- }, null, 8, I9), [
11474
+ }, null, 8, P9), [
11458
11475
  [zi, n.value]
11459
11476
  ]),
11460
11477
  h("span", null, z(l.name), 1)
@@ -11462,7 +11479,7 @@ const $9 = ["onSubmit"], k9 = { class: "ao-save-template-modal__form-body" }, S9
11462
11479
  ])
11463
11480
  ])
11464
11481
  ]),
11465
- h("footer", L9, [
11482
+ h("footer", D9, [
11466
11483
  T(ue, {
11467
11484
  label: i.$t("project.template.save.label"),
11468
11485
  type: "submit",
@@ -11471,13 +11488,13 @@ const $9 = ["onSubmit"], k9 = { class: "ao-save-template-modal__form-body" }, S9
11471
11488
  onClick: o
11472
11489
  }, null, 8, ["label"])
11473
11490
  ])
11474
- ], 40, $9)
11491
+ ], 40, S9)
11475
11492
  ]),
11476
11493
  _: 1
11477
11494
  }));
11478
11495
  }
11479
11496
  });
11480
- const P9 = { class: "ao-project" }, D9 = { class: "ao-project__body" }, H9 = /* @__PURE__ */ X({
11497
+ const H9 = { class: "ao-project" }, V9 = { class: "ao-project__body" }, B9 = /* @__PURE__ */ X({
11481
11498
  __name: "AoProjectOverviewProject",
11482
11499
  props: {
11483
11500
  project: {},
@@ -11561,7 +11578,7 @@ const P9 = { class: "ao-project" }, D9 = { class: "ao-project__body" }, H9 = /*
11561
11578
  const L = ut("RouterView");
11562
11579
  return v(), y(he, null, [
11563
11580
  h("div", Ae({ class: "ao-project-overview" }, A.$attrs), [
11564
- h("div", P9, [
11581
+ h("div", H9, [
11565
11582
  T(wa, null, {
11566
11583
  primary: q(() => [
11567
11584
  T(un, {
@@ -11600,7 +11617,7 @@ const P9 = { class: "ao-project" }, D9 = { class: "ao-project__body" }, H9 = /*
11600
11617
  ]),
11601
11618
  _: 1
11602
11619
  }),
11603
- h("div", D9, [
11620
+ h("div", V9, [
11604
11621
  T(_i, {
11605
11622
  phases: A.phases,
11606
11623
  "closed-status": A.closedStatus,
@@ -11691,39 +11708,39 @@ const P9 = { class: "ao-project" }, D9 = { class: "ao-project__body" }, H9 = /*
11691
11708
  };
11692
11709
  }
11693
11710
  });
11694
- const V9 = { class: "ao-card-feed__header" }, B9 = {
11711
+ const j9 = { class: "ao-card-feed__header" }, R9 = {
11695
11712
  key: 1,
11696
11713
  class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
11697
- }, j9 = {
11714
+ }, N9 = {
11698
11715
  key: 2,
11699
11716
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
11700
- }, R9 = { class: "ao-card-feed__body" }, N9 = {
11717
+ }, U9 = { class: "ao-card-feed__body" }, F9 = {
11701
11718
  key: 0,
11702
11719
  class: "ao-card-feed__breadcrumbs"
11703
- }, U9 = {
11720
+ }, Z9 = {
11704
11721
  class: /* @__PURE__ */ ee(["ao-card-feed__title-group"])
11705
- }, F9 = { class: "ao-card-feed__title-line" }, Z9 = {
11722
+ }, W9 = { class: "ao-card-feed__title-line" }, z9 = {
11706
11723
  key: 0,
11707
11724
  class: "ao-card-feed__slug"
11708
- }, W9 = {
11725
+ }, q9 = {
11709
11726
  key: 1,
11710
11727
  class: "ao-card-feed__deadline"
11711
- }, z9 = { class: "ao-card-feed__footer" }, q9 = { class: "ao-card-feed__footer-row" }, Y9 = { class: "ao-assignees" }, x9 = {
11728
+ }, Y9 = { class: "ao-card-feed__footer" }, x9 = { class: "ao-card-feed__footer-row" }, K9 = { class: "ao-assignees" }, G9 = {
11712
11729
  key: 0,
11713
11730
  class: "ao-assignee"
11714
- }, K9 = {
11731
+ }, X9 = {
11715
11732
  key: 0,
11716
11733
  class: "ao-card-feed__subitems"
11717
- }, G9 = {
11734
+ }, Q9 = {
11718
11735
  key: 0,
11719
11736
  class: "ao-card-feed__subitem"
11720
- }, X9 = { class: "ao-card-feed__subitem" }, Q9 = {
11737
+ }, J9 = { class: "ao-card-feed__subitem" }, em = {
11721
11738
  key: 1,
11722
11739
  class: "ao-card-feed__subitem"
11723
- }, J9 = { class: "ao-card-feed__subitem" }, em = { class: "ao-card-feed__timer-wrapper" }, tm = { class: "ao-card-feed__footer-row" }, am = {
11740
+ }, tm = { class: "ao-card-feed__subitem" }, am = { class: "ao-card-feed__timer-wrapper" }, nm = { class: "ao-card-feed__footer-row" }, sm = {
11724
11741
  key: 0,
11725
11742
  class: "ao-card-feed__progress-wrapper"
11726
- }, nm = { class: "ao-card-feed__subitem" }, sm = { class: "ao-card-feed__subitem" }, wi = /* @__PURE__ */ X({
11743
+ }, im = { class: "ao-card-feed__subitem" }, om = { class: "ao-card-feed__subitem" }, wi = /* @__PURE__ */ X({
11727
11744
  __name: "AoCardFeed",
11728
11745
  props: {
11729
11746
  id: {},
@@ -11775,7 +11792,7 @@ const V9 = { class: "ao-card-feed__header" }, B9 = {
11775
11792
  "is-clickable": !0
11776
11793
  }, {
11777
11794
  header: q(() => [
11778
- h("div", V9, [
11795
+ h("div", j9, [
11779
11796
  s.value ? (v(), B(ua, {
11780
11797
  key: 0,
11781
11798
  label: s.value,
@@ -11784,7 +11801,7 @@ const V9 = { class: "ao-card-feed__header" }, B9 = {
11784
11801
  color: f.projectColor ? void 0 : "primary",
11785
11802
  "raw-color": n.value
11786
11803
  }, null, 8, ["label", "color", "raw-color"])) : E("", !0),
11787
- f.isPrivate || f.important || f.isClosed ? (v(), y("div", B9, [
11804
+ f.isPrivate || f.important || f.isClosed ? (v(), y("div", R9, [
11788
11805
  f.isPrivate ? (v(), B(ve, {
11789
11806
  key: 0,
11790
11807
  name: "Lock",
@@ -11803,17 +11820,17 @@ const V9 = { class: "ao-card-feed__header" }, B9 = {
11803
11820
  class: "ao-card-feed__closed"
11804
11821
  })) : E("", !0)
11805
11822
  ])) : E("", !0),
11806
- f.$slots.secondary ? (v(), y("div", j9, [
11823
+ f.$slots.secondary ? (v(), y("div", N9, [
11807
11824
  ae(f.$slots, "secondary")
11808
11825
  ])) : E("", !0)
11809
11826
  ])
11810
11827
  ]),
11811
11828
  default: q(() => [
11812
- h("div", R9, [
11813
- i.value ? (v(), y("span", N9, z(i.value), 1)) : E("", !0),
11814
- h("div", U9, [
11815
- h("div", F9, [
11816
- f.slug ? (v(), y("span", Z9, z(f.slug) + ": ", 1)) : E("", !0),
11829
+ h("div", U9, [
11830
+ i.value ? (v(), y("span", F9, z(i.value), 1)) : E("", !0),
11831
+ h("div", Z9, [
11832
+ h("div", W9, [
11833
+ f.slug ? (v(), y("span", z9, z(f.slug) + ": ", 1)) : E("", !0),
11817
11834
  T($e, {
11818
11835
  id: f.id,
11819
11836
  title: f.name,
@@ -11824,17 +11841,17 @@ const V9 = { class: "ao-card-feed__header" }, B9 = {
11824
11841
  }, null, 8, ["id", "title", "is-editable"])
11825
11842
  ])
11826
11843
  ]),
11827
- f.deadline ? (v(), y("span", W9, z(l.value), 1)) : E("", !0)
11844
+ f.deadline ? (v(), y("span", q9, z(l.value), 1)) : E("", !0)
11828
11845
  ])
11829
11846
  ]),
11830
11847
  footer: q(() => [
11831
- h("div", z9, [
11832
- h("div", q9, [
11833
- h("ul", Y9, [
11848
+ h("div", Y9, [
11849
+ h("div", x9, [
11850
+ h("ul", K9, [
11834
11851
  (v(!0), y(he, null, Ce(r.value, (m) => (v(), y(he, {
11835
11852
  key: m.id
11836
11853
  }, [
11837
- m ? (v(), y("li", x9, [
11854
+ m ? (v(), y("li", G9, [
11838
11855
  T(Ct, {
11839
11856
  "user-name": W(Js)(m),
11840
11857
  "avatar-url": m.avatarUrl,
@@ -11844,23 +11861,23 @@ const V9 = { class: "ao-card-feed__header" }, B9 = {
11844
11861
  ])) : E("", !0)
11845
11862
  ], 64))), 128))
11846
11863
  ]),
11847
- f.comments || f.attachments ? (v(), y("ul", K9, [
11848
- f.comments ? (v(), y("li", G9, [
11864
+ f.comments || f.attachments ? (v(), y("ul", X9, [
11865
+ f.comments ? (v(), y("li", Q9, [
11849
11866
  T(ve, {
11850
11867
  name: "ChatOutline",
11851
11868
  size: "sm"
11852
11869
  }),
11853
- h("span", X9, z(f.comments), 1)
11870
+ h("span", J9, z(f.comments), 1)
11854
11871
  ])) : E("", !0),
11855
- f.attachments ? (v(), y("li", Q9, [
11872
+ f.attachments ? (v(), y("li", em, [
11856
11873
  T(ve, {
11857
11874
  name: "AttachFileRounded",
11858
11875
  size: "sm"
11859
11876
  }),
11860
- h("span", J9, z(f.attachments), 1)
11877
+ h("span", tm, z(f.attachments), 1)
11861
11878
  ])) : E("", !0)
11862
11879
  ])) : E("", !0),
11863
- h("div", em, [
11880
+ h("div", am, [
11864
11881
  T(ve, {
11865
11882
  name: "TimerOutline",
11866
11883
  class: "ao-card-feed__timer",
@@ -11869,14 +11886,14 @@ const V9 = { class: "ao-card-feed__header" }, B9 = {
11869
11886
  }, null, 8, ["onClick"])
11870
11887
  ])
11871
11888
  ]),
11872
- h("div", tm, [
11873
- f.tasks && f.tasks.length ? (v(), y("div", am, [
11874
- h("div", nm, [
11889
+ h("div", nm, [
11890
+ f.tasks && f.tasks.length ? (v(), y("div", sm, [
11891
+ h("div", im, [
11875
11892
  T(ve, {
11876
11893
  name: "SelectCheckBox",
11877
11894
  size: "sm"
11878
11895
  }),
11879
- h("span", sm, z(p.value) + " / " + z(d.value), 1)
11896
+ h("span", om, z(p.value) + " / " + z(d.value), 1)
11880
11897
  ]),
11881
11898
  T(dn, {
11882
11899
  percentages: g.value,
@@ -11890,10 +11907,10 @@ const V9 = { class: "ao-card-feed__header" }, B9 = {
11890
11907
  }, 8, ["class"]));
11891
11908
  }
11892
11909
  });
11893
- const im = { class: "ao-project-milestone" }, om = { class: "ao-project-milestone__header" }, rm = { class: "ao-project-milestone__header_line" }, lm = { class: "ao-project-milestone__header_line" }, um = { class: "ao-project-milestone__title" }, cm = {
11910
+ const rm = { class: "ao-project-milestone" }, lm = { class: "ao-project-milestone__header" }, um = { class: "ao-project-milestone__header_line" }, cm = { class: "ao-project-milestone__header_line" }, dm = { class: "ao-project-milestone__title" }, pm = {
11894
11911
  key: 0,
11895
11912
  class: "ao-fieldset ao-milestone__fieldset"
11896
- }, dm = { class: "ao-field__row ao-milestone__field-row" }, pm = { class: "ao-field ao-field--inline" }, vm = { class: "ao-field__row ao-milestone__field-row" }, fm = { class: "ao-field ao-milestone__field-multiselect" }, hm = ["onClick"], mm = { class: "ao-project-milestone__body" }, gm = {
11913
+ }, vm = { class: "ao-field__row ao-milestone__field-row" }, fm = { class: "ao-field ao-field--inline" }, hm = { class: "ao-field__row ao-milestone__field-row" }, mm = { class: "ao-field ao-milestone__field-multiselect" }, gm = ["onClick"], Cm = { class: "ao-project-milestone__body" }, _m = {
11897
11914
  key: 0,
11898
11915
  class: "ao-project-milestone__footer"
11899
11916
  }, Hs = /* @__PURE__ */ X({
@@ -12013,9 +12030,9 @@ const im = { class: "ao-project-milestone" }, om = { class: "ao-project-mileston
12013
12030
  };
12014
12031
  return (b, I) => {
12015
12032
  var O;
12016
- return v(), y("div", im, [
12017
- h("header", om, [
12018
- h("div", rm, [
12033
+ return v(), y("div", rm, [
12034
+ h("header", lm, [
12035
+ h("div", um, [
12019
12036
  T(ue, {
12020
12037
  "icon-name": "CloseRounded",
12021
12038
  variant: "ghost",
@@ -12024,8 +12041,8 @@ const im = { class: "ao-project-milestone" }, om = { class: "ao-project-mileston
12024
12041
  onClick: c
12025
12042
  })
12026
12043
  ]),
12027
- h("div", lm, [
12028
- h("div", um, [
12044
+ h("div", cm, [
12045
+ h("div", dm, [
12029
12046
  T($e, {
12030
12047
  title: ((O = r.value) == null ? void 0 : O.name) || b.milestoneId,
12031
12048
  level: 5
@@ -12044,9 +12061,9 @@ const im = { class: "ao-project-milestone" }, om = { class: "ao-project-mileston
12044
12061
  }, null, 8, ["modelValue", "disabled", "label"])
12045
12062
  ])
12046
12063
  ]),
12047
- r.value ? (v(), y("div", cm, [
12048
- h("div", dm, [
12049
- h("label", pm, [
12064
+ r.value ? (v(), y("div", pm, [
12065
+ h("div", vm, [
12066
+ h("label", fm, [
12050
12067
  be(h("input", {
12051
12068
  "onUpdate:modelValue": I[1] || (I[1] = (D) => f.value = D),
12052
12069
  class: "ao-milestone__field ao-milestone__date-field",
@@ -12061,8 +12078,8 @@ const im = { class: "ao-project-milestone" }, om = { class: "ao-project-mileston
12061
12078
  ])
12062
12079
  ])
12063
12080
  ]),
12064
- h("div", vm, [
12065
- h("label", fm, [
12081
+ h("div", hm, [
12082
+ h("label", mm, [
12066
12083
  T(He, {
12067
12084
  modelValue: $.value,
12068
12085
  "onUpdate:modelValue": I[2] || (I[2] = (D) => $.value = D),
@@ -12100,13 +12117,13 @@ const im = { class: "ao-project-milestone" }, om = { class: "ao-project-mileston
12100
12117
  style: Fe({ background: U }),
12101
12118
  class: "color-button",
12102
12119
  onClick: (G) => C(G, D)
12103
- }, null, 12, hm)
12120
+ }, null, 12, gm)
12104
12121
  ]),
12105
12122
  _: 1
12106
12123
  }, 8, ["color"])
12107
12124
  ])) : E("", !0)
12108
12125
  ]),
12109
- h("div", mm, [
12126
+ h("div", Cm, [
12110
12127
  T(W(gt), Ae({
12111
12128
  class: "ao-project-milestone__activities",
12112
12129
  list: l.value,
@@ -12179,7 +12196,7 @@ const im = { class: "ao-project-milestone" }, om = { class: "ao-project-mileston
12179
12196
  }),
12180
12197
  _: 1
12181
12198
  }, 16, ["list", "disabled"]),
12182
- b.isEditable ? (v(), y("div", gm, [
12199
+ b.isEditable ? (v(), y("div", _m, [
12183
12200
  T(_t, {
12184
12201
  "icon-name": "Add",
12185
12202
  label: b.$t("project.activity.add"),
@@ -12191,7 +12208,7 @@ const im = { class: "ao-project-milestone" }, om = { class: "ao-project-mileston
12191
12208
  };
12192
12209
  }
12193
12210
  });
12194
- const Cm = /* @__PURE__ */ X({
12211
+ const ym = /* @__PURE__ */ X({
12195
12212
  __name: "AoProjectOverviewActivityDetails",
12196
12213
  props: {
12197
12214
  phaseId: {},
@@ -12280,14 +12297,14 @@ const Cm = /* @__PURE__ */ X({
12280
12297
  }, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "attachment-enabled", "projects", "time-tracking-data", "onClose"])) : E("", !0);
12281
12298
  };
12282
12299
  }
12283
- }), _m = { class: "ao-col-header" }, ym = /* @__PURE__ */ X({
12300
+ }), bm = { class: "ao-col-header" }, wm = /* @__PURE__ */ X({
12284
12301
  __name: "AoColHeader",
12285
12302
  props: {
12286
12303
  title: {},
12287
12304
  items: {}
12288
12305
  },
12289
12306
  setup(t) {
12290
- return (e, a) => (v(), y("header", _m, [
12307
+ return (e, a) => (v(), y("header", bm, [
12291
12308
  T($e, {
12292
12309
  title: e.title,
12293
12310
  class: "ao-col-header__title",
@@ -12303,17 +12320,17 @@ const Cm = /* @__PURE__ */ X({
12303
12320
  ]));
12304
12321
  }
12305
12322
  });
12306
- function bm(t) {
12323
+ function $m(t) {
12307
12324
  return qi() ? (Yi(t), !0) : !1;
12308
12325
  }
12309
12326
  function Ya(t) {
12310
12327
  return typeof t == "function" ? t() : W(t);
12311
12328
  }
12312
- const wm = typeof window < "u" && typeof document < "u";
12329
+ const km = typeof window < "u" && typeof document < "u";
12313
12330
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
12314
- const $m = (t) => t != null, la = () => {
12331
+ const Sm = (t) => t != null, la = () => {
12315
12332
  };
12316
- function km(t, e) {
12333
+ function Mm(t, e) {
12317
12334
  function a(...s) {
12318
12335
  return new Promise((n, o) => {
12319
12336
  Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
@@ -12321,7 +12338,7 @@ function km(t, e) {
12321
12338
  }
12322
12339
  return a;
12323
12340
  }
12324
- function Sm(t, e = {}) {
12341
+ function Am(t, e = {}) {
12325
12342
  let a, s, n = la;
12326
12343
  const o = (r) => {
12327
12344
  clearTimeout(r), n(), n = la;
@@ -12337,9 +12354,9 @@ function Sm(t, e = {}) {
12337
12354
  });
12338
12355
  };
12339
12356
  }
12340
- function Mm(t, e = 200, a = {}) {
12341
- return km(
12342
- Sm(e, a),
12357
+ function Tm(t, e = 200, a = {}) {
12358
+ return Mm(
12359
+ Am(e, a),
12343
12360
  t
12344
12361
  );
12345
12362
  }
@@ -12348,27 +12365,27 @@ function Sn(t) {
12348
12365
  const a = Ya(t);
12349
12366
  return (e = a == null ? void 0 : a.$el) != null ? e : a;
12350
12367
  }
12351
- const Am = wm ? window : void 0;
12352
- function Tm() {
12368
+ const Om = km ? window : void 0;
12369
+ function Em() {
12353
12370
  const t = x(!1), e = Dt();
12354
12371
  return e && Pt(() => {
12355
12372
  t.value = !0;
12356
12373
  }, e), t;
12357
12374
  }
12358
- function Om(t) {
12359
- const e = Tm();
12375
+ function Im(t) {
12376
+ const e = Em();
12360
12377
  return S(() => (e.value, !!t()));
12361
12378
  }
12362
- function Em(t, e, a = {}) {
12379
+ function Lm(t, e, a = {}) {
12363
12380
  const {
12364
12381
  root: s,
12365
12382
  rootMargin: n = "0px",
12366
12383
  threshold: o = 0.1,
12367
- window: i = Am,
12384
+ window: i = Om,
12368
12385
  immediate: r = !0
12369
- } = a, l = Om(() => i && "IntersectionObserver" in i), c = S(() => {
12386
+ } = a, l = Im(() => i && "IntersectionObserver" in i), c = S(() => {
12370
12387
  const f = Ya(t);
12371
- return (Array.isArray(f) ? f : [f]).map(Sn).filter($m);
12388
+ return (Array.isArray(f) ? f : [f]).map(Sn).filter(Sm);
12372
12389
  });
12373
12390
  let u = la;
12374
12391
  const d = x(r), p = l.value ? de(
@@ -12392,7 +12409,7 @@ function Em(t, e, a = {}) {
12392
12409
  ) : la, g = () => {
12393
12410
  u(), p(), d.value = !1;
12394
12411
  };
12395
- return bm(g), {
12412
+ return $m(g), {
12396
12413
  isSupported: l,
12397
12414
  isActive: d,
12398
12415
  pause() {
@@ -12404,24 +12421,24 @@ function Em(t, e, a = {}) {
12404
12421
  stop: g
12405
12422
  };
12406
12423
  }
12407
- const Im = {
12424
+ const Pm = {
12408
12425
  class: /* @__PURE__ */ ee(["ao-list-kanban"])
12409
- }, Lm = { class: "ao-list-kanban__header" }, Pm = {
12426
+ }, Dm = { class: "ao-list-kanban__header" }, Hm = {
12410
12427
  key: 0,
12411
12428
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
12412
- }, Dm = {
12429
+ }, Vm = {
12413
12430
  key: 1,
12414
12431
  class: "ao-list-kanban__end"
12415
- }, Hm = {
12432
+ }, Bm = {
12416
12433
  key: 0,
12417
12434
  class: "ao-list-kanban__no-more"
12418
- }, Vm = {
12435
+ }, jm = {
12419
12436
  key: 1,
12420
12437
  class: "ao-list-kanban__divider"
12421
- }, Bm = {
12438
+ }, Rm = {
12422
12439
  key: 1,
12423
12440
  class: "ao-list-kanban__footer"
12424
- }, jm = /* @__PURE__ */ X({
12441
+ }, Nm = /* @__PURE__ */ X({
12425
12442
  __name: "AoListKanban",
12426
12443
  props: {
12427
12444
  list: {},
@@ -12439,7 +12456,7 @@ const Im = {
12439
12456
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity", "startTimer"],
12440
12457
  setup(t, { emit: e }) {
12441
12458
  const a = t, s = x(!1), n = x(null);
12442
- Em(n, ([{ isIntersecting: u }]) => {
12459
+ Lm(n, ([{ isIntersecting: u }]) => {
12443
12460
  s.value = u;
12444
12461
  }), de(s, (u) => {
12445
12462
  u && a.hasMore && !a.isLoading && e("loadMore");
@@ -12464,12 +12481,12 @@ const Im = {
12464
12481
  )
12465
12482
  });
12466
12483
  }, c = x(!1);
12467
- return (u, d) => (v(), y("div", Im, [
12484
+ return (u, d) => (v(), y("div", Pm, [
12468
12485
  u.title || u.$slots.header ? ae(u.$slots, "header", { key: 0 }, () => {
12469
12486
  var p;
12470
12487
  return [
12471
- h("div", Lm, [
12472
- u.title ? (v(), B(ym, {
12488
+ h("div", Dm, [
12489
+ u.title ? (v(), B(wm, {
12473
12490
  key: 0,
12474
12491
  title: u.title,
12475
12492
  level: 3,
@@ -12557,20 +12574,20 @@ const Im = {
12557
12574
  ];
12558
12575
  }),
12559
12576
  footer: q(() => [
12560
- u.isLoading ? (v(), y("div", Pm, [
12577
+ u.isLoading ? (v(), y("div", Hm, [
12561
12578
  T(ve, { name: "Loading" })
12562
12579
  ])) : u.hasMore ? (v(), y("div", {
12563
12580
  key: 2,
12564
12581
  ref_key: "scrollEnd",
12565
12582
  ref: n,
12566
12583
  class: "ao-list-kanban__end"
12567
- }, null, 512)) : (v(), y("div", Dm, [
12568
- u.noMoreLabel ? (v(), y("span", Hm, z(u.noMoreLabel), 1)) : u.isEditable ? (v(), y("span", Vm)) : E("", !0)
12584
+ }, null, 512)) : (v(), y("div", Vm, [
12585
+ u.noMoreLabel ? (v(), y("span", Bm, z(u.noMoreLabel), 1)) : u.isEditable ? (v(), y("span", jm)) : E("", !0)
12569
12586
  ]))
12570
12587
  ]),
12571
12588
  _: 1
12572
12589
  }, 16, ["class", "list", "disabled"]),
12573
- u.$slots.footer || u.footerLabel ? (v(), y("div", Bm, [
12590
+ u.$slots.footer || u.footerLabel ? (v(), y("div", Rm, [
12574
12591
  ae(u.$slots, "footer", {}, () => [
12575
12592
  u.isEditable ? (v(), B(_t, {
12576
12593
  key: 0,
@@ -12583,7 +12600,7 @@ const Im = {
12583
12600
  ]));
12584
12601
  }
12585
12602
  });
12586
- const Rm = { class: "ao-field ao-search-field" }, Nm = ["value", "placeholder", "onKeypress"], Um = /* @__PURE__ */ X({
12603
+ const Um = { class: "ao-field ao-search-field" }, Fm = ["value", "placeholder", "onKeypress"], Zm = /* @__PURE__ */ X({
12587
12604
  __name: "AoSearchField",
12588
12605
  props: {
12589
12606
  modelValue: {},
@@ -12595,10 +12612,10 @@ const Rm = { class: "ao-field ao-search-field" }, Nm = ["value", "placeholder",
12595
12612
  const a = t, s = async (i) => {
12596
12613
  const l = i.target.value;
12597
12614
  e("update:modelValue", l, i);
12598
- }, n = Mm(s, a.delay), o = (i) => {
12615
+ }, n = Tm(s, a.delay), o = (i) => {
12599
12616
  e("clear", i);
12600
12617
  };
12601
- return (i, r) => (v(), y("div", Rm, [
12618
+ return (i, r) => (v(), y("div", Um, [
12602
12619
  h("input", {
12603
12620
  value: i.modelValue,
12604
12621
  type: "text",
@@ -12607,7 +12624,7 @@ const Rm = { class: "ao-field ao-search-field" }, Nm = ["value", "placeholder",
12607
12624
  onInput: r[0] || (r[0] = //@ts-ignore
12608
12625
  (...l) => W(n) && W(n)(...l)),
12609
12626
  onKeypress: vt(s, ["enter"])
12610
- }, null, 40, Nm),
12627
+ }, null, 40, Fm),
12611
12628
  T(ve, {
12612
12629
  name: "SearchRounded",
12613
12630
  class: ee(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
@@ -12623,7 +12640,7 @@ const Rm = { class: "ao-field ao-search-field" }, Nm = ["value", "placeholder",
12623
12640
  ]));
12624
12641
  }
12625
12642
  });
12626
- const Fm = { class: "ao-feed" }, Zm = { class: "ao-feed__filters" }, Wm = { class: "ao-feed__body" }, zm = /* @__PURE__ */ X({
12643
+ const Wm = { class: "ao-feed" }, zm = { class: "ao-feed__filters" }, qm = { class: "ao-feed__body" }, Ym = /* @__PURE__ */ X({
12627
12644
  __name: "AoFeed",
12628
12645
  props: {
12629
12646
  activities: {},
@@ -12747,16 +12764,16 @@ const Fm = { class: "ao-feed" }, Zm = { class: "ao-feed__filters" }, Wm = { clas
12747
12764
  L === "feed" ? (P.push({ name: ye.feed }), console.log("Navigating to feed...")) : L === "overview" ? (P.push({ name: ye.project }), console.log("Navigating to feed...")) : L === "mapping" && (P.push({ name: ye.mapping }), console.log("Navigating to feed..."));
12748
12765
  }), (L, Z) => {
12749
12766
  var oe;
12750
- return v(), y("div", Fm, [
12767
+ return v(), y("div", Wm, [
12751
12768
  T(wa, null, {
12752
12769
  primary: q(() => [
12753
- h("div", Zm, [
12770
+ h("div", zm, [
12754
12771
  T(un, {
12755
12772
  tabs: F,
12756
12773
  modelValue: A.value,
12757
12774
  "onUpdate:modelValue": Z[0] || (Z[0] = (k) => A.value = k)
12758
12775
  }, null, 8, ["modelValue"]),
12759
- T(Um, {
12776
+ T(Zm, {
12760
12777
  "model-value": L.searchText,
12761
12778
  placeholder: L.$t("feed.search.placeholder"),
12762
12779
  class: "ao-feed__search",
@@ -12849,8 +12866,8 @@ const Fm = { class: "ao-feed" }, Zm = { class: "ao-feed__filters" }, Wm = { clas
12849
12866
  ]),
12850
12867
  _: 1
12851
12868
  }),
12852
- h("div", Wm, [
12853
- (v(!0), y(he, null, Ce(L.statuses, (k) => (v(), B(jm, {
12869
+ h("div", qm, [
12870
+ (v(!0), y(he, null, Ce(L.statuses, (k) => (v(), B(Nm, {
12854
12871
  key: k.id,
12855
12872
  status: k,
12856
12873
  list: r.value[k.id],
@@ -12906,10 +12923,10 @@ const Fm = { class: "ao-feed" }, Zm = { class: "ao-feed__filters" }, Wm = { clas
12906
12923
  };
12907
12924
  }
12908
12925
  });
12909
- const qm = { class: "ao-project-mapping" }, Ym = { class: "ao-project-mapping-mapping__body" }, xm = { class: "ao-project-mapping-mapping__phases" }, Km = {
12926
+ const xm = { class: "ao-project-mapping" }, Km = { class: "ao-project-mapping-mapping__body" }, Gm = { class: "ao-project-mapping-mapping__phases" }, Xm = {
12910
12927
  key: 0,
12911
12928
  class: "ao-project-mapping-mapping__image-wrapper"
12912
- }, Gm = ["src", "alt"], Xm = /* @__PURE__ */ X({
12929
+ }, Qm = ["src", "alt"], Jm = /* @__PURE__ */ X({
12913
12930
  __name: "AoMapping",
12914
12931
  props: {
12915
12932
  project: {},
@@ -12955,7 +12972,7 @@ const qm = { class: "ao-project-mapping" }, Ym = { class: "ao-project-mapping-ma
12955
12972
  var _;
12956
12973
  return v(), y(he, null, [
12957
12974
  h("div", Ae({ class: "ao-project-mapping-overview" }, m.$attrs), [
12958
- h("div", qm, [
12975
+ h("div", xm, [
12959
12976
  T(wa, null, {
12960
12977
  primary: q(() => [
12961
12978
  T(un, {
@@ -12994,8 +13011,8 @@ const qm = { class: "ao-project-mapping" }, Ym = { class: "ao-project-mapping-ma
12994
13011
  ]),
12995
13012
  _: 1
12996
13013
  }),
12997
- h("div", Ym, [
12998
- h("div", xm, [
13014
+ h("div", Km, [
13015
+ h("div", Gm, [
12999
13016
  T(_i, {
13000
13017
  phases: m.phases,
13001
13018
  "closed-status": m.closedStatus,
@@ -13009,12 +13026,12 @@ const qm = { class: "ao-project-mapping" }, Ym = { class: "ao-project-mapping-ma
13009
13026
  onCopyPhaseToTemplate: l
13010
13027
  }, null, 8, ["phases", "closed-status", "is-editable", "users", "estimation-unit"])
13011
13028
  ]),
13012
- m.project.architectureImage ? (v(), y("div", Km, [
13029
+ m.project.architectureImage ? (v(), y("div", Xm, [
13013
13030
  h("img", {
13014
13031
  class: "architecture-image",
13015
13032
  src: m.project.architectureImage.url,
13016
13033
  alt: W(s)("architectureImage.alt")
13017
- }, null, 8, Gm)
13034
+ }, null, 8, Qm)
13018
13035
  ])) : E("", !0)
13019
13036
  ])
13020
13037
  ])
@@ -13042,7 +13059,7 @@ const Nt = {
13042
13059
  TEMPLATES: "templates",
13043
13060
  TEMPLATE_DETAILS: "template_details",
13044
13061
  TEMPLATES_LIST: "templates_list"
13045
- }, f4 = (t, e = {}) => [
13062
+ }, m4 = (t, e = {}) => [
13046
13063
  {
13047
13064
  path: t,
13048
13065
  name: Nt.TEMPLATES,
@@ -13052,12 +13069,12 @@ const Nt = {
13052
13069
  {
13053
13070
  path: "",
13054
13071
  name: Nt.TEMPLATES_LIST,
13055
- component: Jm
13072
+ component: t4
13056
13073
  },
13057
13074
  {
13058
13075
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
13059
13076
  name: Nt.TEMPLATE_DETAILS,
13060
- component: Xf,
13077
+ component: Jf,
13061
13078
  props: !0
13062
13079
  }
13063
13080
  ]
@@ -13068,7 +13085,7 @@ const Nt = {
13068
13085
  mapping: "AoProjectMapping",
13069
13086
  milestone: "AoMilestone",
13070
13087
  activity: "AoActivity"
13071
- }, h4 = (t, e = {}) => [
13088
+ }, g4 = (t, e = {}) => [
13072
13089
  {
13073
13090
  path: t,
13074
13091
  ...e,
@@ -13077,7 +13094,7 @@ const Nt = {
13077
13094
  {
13078
13095
  path: "",
13079
13096
  name: ye.project,
13080
- component: H9,
13097
+ component: B9,
13081
13098
  props: !0,
13082
13099
  children: [
13083
13100
  {
@@ -13092,7 +13109,7 @@ const Nt = {
13092
13109
  props: { default: !0, modal: !0 },
13093
13110
  components: {
13094
13111
  default: Hs,
13095
- modal: Cm
13112
+ modal: ym
13096
13113
  }
13097
13114
  }
13098
13115
  ]
@@ -13100,18 +13117,18 @@ const Nt = {
13100
13117
  {
13101
13118
  path: "feed",
13102
13119
  name: ye.feed,
13103
- component: zm,
13120
+ component: Ym,
13104
13121
  props: !0
13105
13122
  },
13106
13123
  {
13107
13124
  path: "mapping",
13108
13125
  name: ye.mapping,
13109
- component: Xm,
13126
+ component: Jm,
13110
13127
  props: !0
13111
13128
  }
13112
13129
  ]
13113
13130
  }
13114
- ], Qm = { class: "ao-templates" }, Jm = /* @__PURE__ */ X({
13131
+ ], e4 = { class: "ao-templates" }, t4 = /* @__PURE__ */ X({
13115
13132
  __name: "AoTemplatesList",
13116
13133
  props: {
13117
13134
  templates: {}
@@ -13160,7 +13177,7 @@ const Nt = {
13160
13177
  });
13161
13178
  }
13162
13179
  };
13163
- return (l, c) => (v(), y("div", Qm, [
13180
+ return (l, c) => (v(), y("div", e4, [
13164
13181
  T(wa, null, {
13165
13182
  secondary: q(() => [
13166
13183
  T(ue, {
@@ -13205,7 +13222,7 @@ const Nt = {
13205
13222
  ]));
13206
13223
  }
13207
13224
  });
13208
- const e4 = { class: "ao-field__label" }, t4 = /* @__PURE__ */ X({
13225
+ const a4 = { class: "ao-field__label" }, n4 = /* @__PURE__ */ X({
13209
13226
  __name: "AoField",
13210
13227
  props: {
13211
13228
  label: {},
@@ -13215,11 +13232,11 @@ const e4 = { class: "ao-field__label" }, t4 = /* @__PURE__ */ X({
13215
13232
  return (e, a) => (v(), y("label", {
13216
13233
  class: ee(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
13217
13234
  }, [
13218
- h("span", e4, z(e.label), 1),
13235
+ h("span", a4, z(e.label), 1),
13219
13236
  ae(e.$slots, "default")
13220
13237
  ], 2));
13221
13238
  }
13222
- }), a4 = ["type", "value", "disabled", "readonly"], m4 = /* @__PURE__ */ X({
13239
+ }), s4 = ["type", "value", "disabled", "readonly"], C4 = /* @__PURE__ */ X({
13223
13240
  __name: "AoInputField",
13224
13241
  props: {
13225
13242
  label: { default: "" },
@@ -13236,7 +13253,7 @@ const e4 = { class: "ao-field__label" }, t4 = /* @__PURE__ */ X({
13236
13253
  ), n = (o) => {
13237
13254
  a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
13238
13255
  };
13239
- return (o, i) => (v(), B(t4, { label: o.label }, {
13256
+ return (o, i) => (v(), B(n4, { label: o.label }, {
13240
13257
  default: q(() => [
13241
13258
  h("input", Ae({
13242
13259
  class: "ao-field__input",
@@ -13246,12 +13263,12 @@ const e4 = { class: "ao-field__label" }, t4 = /* @__PURE__ */ X({
13246
13263
  readonly: o.isReadonly
13247
13264
  }, {
13248
13265
  [xi(s.value)]: i[0] || (i[0] = (r) => n(r.target.value))
13249
- }), null, 16, a4)
13266
+ }), null, 16, s4)
13250
13267
  ]),
13251
13268
  _: 1
13252
13269
  }, 8, ["label"]));
13253
13270
  }
13254
- }), n4 = { class: "ao-field" }, s4 = { class: "ao-field__label" }, i4 = ["checked", "disabled"], g4 = /* @__PURE__ */ X({
13271
+ }), i4 = { class: "ao-field" }, o4 = { class: "ao-field__label" }, r4 = ["checked", "disabled"], _4 = /* @__PURE__ */ X({
13255
13272
  __name: "AoCheckboxField",
13256
13273
  props: {
13257
13274
  label: { default: "" },
@@ -13261,8 +13278,8 @@ const e4 = { class: "ao-field__label" }, t4 = /* @__PURE__ */ X({
13261
13278
  },
13262
13279
  emits: ["update:modelValue"],
13263
13280
  setup(t) {
13264
- return (e, a) => (v(), y("label", n4, [
13265
- h("span", s4, z(e.label), 1),
13281
+ return (e, a) => (v(), y("label", i4, [
13282
+ h("span", o4, z(e.label), 1),
13266
13283
  h("input", {
13267
13284
  class: "ao-field__input",
13268
13285
  type: "checkbox",
@@ -13275,32 +13292,32 @@ const e4 = { class: "ao-field__label" }, t4 = /* @__PURE__ */ X({
13275
13292
  ((n = s.target) == null ? void 0 : n.checked) ?? !1
13276
13293
  );
13277
13294
  })
13278
- }, null, 40, i4)
13295
+ }, null, 40, r4)
13279
13296
  ]));
13280
13297
  }
13281
13298
  });
13282
13299
  export {
13283
13300
  Ct as AoAvatar,
13284
13301
  wi as AoCardFeed,
13285
- g4 as AoCheckboxField,
13302
+ _4 as AoCheckboxField,
13286
13303
  os as AoColorPicker,
13287
- zm as AoFeed,
13288
- t4 as AoField,
13289
- m4 as AoInputField,
13304
+ Ym as AoFeed,
13305
+ n4 as AoField,
13306
+ C4 as AoInputField,
13290
13307
  He as AoMultiselect,
13291
13308
  _i as AoProjectPhases,
13292
13309
  un as AoTabBar,
13293
- Xf as AoTemplateDetails,
13294
- c4 as AoTemplates,
13295
- Jm as AoTemplatesList,
13310
+ Jf as AoTemplateDetails,
13311
+ p4 as AoTemplates,
13312
+ t4 as AoTemplatesList,
13296
13313
  t0 as EstimationUnit,
13297
13314
  e0 as TemplateItemTypeEnum,
13298
- p4 as activityFeedStatus,
13299
- d4 as durationTypes,
13315
+ f4 as activityFeedStatus,
13316
+ v4 as durationTypes,
13300
13317
  jt as feedFilterTypes,
13301
- h4 as getProjectOverviewRoutes,
13302
- f4 as getTemplateRoutes,
13303
- v4 as listUpdateTypes,
13318
+ g4 as getProjectOverviewRoutes,
13319
+ m4 as getTemplateRoutes,
13320
+ h4 as listUpdateTypes,
13304
13321
  Ra as milestoneStatus,
13305
13322
  ye as projectOverviewRoutes,
13306
13323
  X2 as ruleComparators,