@26lights/orcha 0.42.37 → 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 v4 = /* @__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
- }, f4 = {
1456
+ }, v4 = {
1457
1457
  months: "months",
1458
1458
  weeks: "weeks",
1459
1459
  days: "days"
1460
- }, h4 = {
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 m4 = {
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, u4) => $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));
@@ -8394,6 +8394,11 @@ const Ci = /* @__PURE__ */ X({
8394
8394
  tabs: {
8395
8395
  type: Array,
8396
8396
  required: !0
8397
+ },
8398
+ variant: {
8399
+ type: String,
8400
+ default: void 0,
8401
+ validator: (t) => ["underline"].includes(t)
8397
8402
  }
8398
8403
  },
8399
8404
  emits: ["update:modelValue"],
@@ -8403,36 +8408,48 @@ const Ci = /* @__PURE__ */ X({
8403
8408
  }
8404
8409
  }
8405
8410
  });
8406
- const Rv = { class: "tabbar-wrapper" }, Nv = ["onClick"];
8407
- function Uv(t, e, a, s, n, o) {
8408
- return v(), y("div", Rv, [
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) {
8416
+ return v(), y("div", {
8417
+ class: ee(["tabbar-wrapper", { "tabbar-wrapper--underline": t.variant === "underline" }])
8418
+ }, [
8409
8419
  (v(!0), y(he, null, Ce(t.tabs, (i) => (v(), y("button", {
8410
8420
  key: i.value,
8411
- class: ee(["tab-button", { "tab-button--active": i.value === t.modelValue }]),
8421
+ class: ee([
8422
+ "tab-button",
8423
+ { "tab-button--active": i.value === t.modelValue },
8424
+ { "tab-button--underline": t.variant === "underline" }
8425
+ ]),
8412
8426
  type: "button",
8413
8427
  onClick: (r) => t.selectTab(i.value)
8414
- }, z(i.label), 11, Nv))), 128))
8415
- ]);
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))
8432
+ ], 2);
8416
8433
  }
8417
- const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297"]]), Fv = { class: "ao-activity-details" }, Zv = { class: "ao-activity-details__main" }, Wv = { class: "ao-activity-details__header" }, zv = {
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 = {
8418
8435
  key: 1,
8419
8436
  class: "ao-activity__category"
8420
- }, qv = { class: "ao-feed__activity-details__header" }, Yv = {
8437
+ }, Yv = { class: "ao-feed__activity-details__header" }, xv = {
8421
8438
  key: 0,
8422
8439
  class: "ao-field ao-feed__activity-details__project"
8423
- }, xv = { class: "ao-field__label" }, Kv = {
8440
+ }, Kv = { class: "ao-field__label" }, Gv = {
8424
8441
  key: 1,
8425
8442
  class: "ao-field ao-feed__activity-details__project"
8426
- }, Gv = { class: "ao-field__label" }, Xv = { class: "ao-activity-details__content" }, Qv = { class: "ao-activity-details__tab-content" }, Jv = { class: "ao-fieldset" }, ef = { class: "ao-field__row" }, tf = { class: "ao-field ao-field--full" }, af = { class: "ao-field__label" }, nf = ["readonly"], sf = { class: "ao-activity-details__tab-content" }, of = { class: "ao-fieldset" }, rf = { class: "ao-fieldset__body" }, lf = { class: "ao-activity-details__tab-content" }, uf = {
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 = {
8427
8444
  key: 0,
8428
8445
  class: "ao-fieldset"
8429
- }, cf = { class: "ao-activity-details__aside" }, df = { class: "ao-activity-details__close-button" }, pf = {
8446
+ }, uf = { class: "ao-activity-details__aside" }, cf = { class: "ao-activity-details__close-button" }, df = {
8430
8447
  key: 0,
8431
8448
  class: "ao-activity-details__aside-section"
8432
- }, vf = { class: "ao-field" }, ff = { class: "ao-field__label" }, hf = { class: "ao-activity-details__aside-section" }, mf = { class: "ao-field ao-field--multiselect" }, gf = { class: "assignee-inline" }, Cf = { class: "ao-field__label" }, _f = { class: "ao-activity-details__aside-section" }, yf = {
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 = {
8433
8450
  key: 0,
8434
8451
  class: "ao-field__row"
8435
- }, bf = { class: "ao-field" }, wf = { class: "ao-field__label" }, $f = ["readonly"], kf = { class: "ao-activity-details__aside-section" }, Sf = { class: "ao-field__row" }, Mf = { class: "ao-field ao-field--inline" }, Af = { class: "ao-field__label" }, Tf = ["readonly"], Of = { class: "ao-field__row" }, Ef = { class: "ao-field ao-field--inline" }, If = { class: "ao-field__label" }, Lf = { class: "ao-field__input ao-field__input--estim ao-field__input--readonly" }, Pf = { class: "ao-activity-details__aside-section" }, Df = { class: "ao-fieldset ao-activity-details__aside-section" }, Hf = { class: "ao-fieldset__title" }, Vf = { class: "ao-fieldset__body" }, Bf = { class: "ao-field__row" }, jf = { class: "ao-field ao-field--multiselect" }, Rf = { class: "ao-field__label" }, Nf = { class: "ao-field__row" }, Uf = { class: "ao-field ao-field--multiselect" }, Ff = { 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({
8436
8453
  __name: "AoActivityDetails",
8437
8454
  props: {
8438
8455
  activity: {},
@@ -8453,11 +8470,22 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8453
8470
  },
8454
8471
  emits: ["update:activity", "close", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "toast"],
8455
8472
  setup(t, { emit: e }) {
8456
- const a = t, { t: s } = nt(), n = x("description"), o = S(() => [
8457
- { label: s("activity.description.label") || "Description", value: "description" },
8458
- { label: s("activity.tasks.title") || "Checklist", value: "checklist" },
8459
- { label: s("activity.comments.title") || "Commentaires", value: "comments" }
8460
- ]), 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(() => {
8461
8489
  var k;
8462
8490
  return a.isEditable === !0 ? !0 : a.userId && a.isEditable === "only-own" ? a.userId === ((k = a.activity.assignee) == null ? void 0 : k.id) : !1;
8463
8491
  }), r = (k) => {
@@ -8679,9 +8707,9 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8679
8707
  default: q(() => {
8680
8708
  var N, V, K;
8681
8709
  return [
8682
- h("div", Fv, [
8683
- h("div", Zv, [
8684
- h("div", Wv, [
8710
+ h("div", Zv, [
8711
+ h("div", Wv, [
8712
+ h("div", zv, [
8685
8713
  k.activity.slug ? (v(), B(ua, {
8686
8714
  key: 0,
8687
8715
  label: k.activity.slug,
@@ -8692,16 +8720,16 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8692
8720
  class: "ao-activity__ao-tag",
8693
8721
  onClick: oe
8694
8722
  }, null, 8, ["label"])) : E("", !0),
8695
- k.breadcrumbs ? (v(), y("div", zv, z(k.breadcrumbs), 1)) : E("", !0),
8723
+ k.breadcrumbs ? (v(), y("div", qv, z(k.breadcrumbs), 1)) : E("", !0),
8696
8724
  T($e, {
8697
8725
  title: k.activity.name || "",
8698
8726
  level: 4,
8699
8727
  "is-editable": i.value,
8700
8728
  "onUpdate:title": r
8701
8729
  }, null, 8, ["title", "is-editable"]),
8702
- h("div", qv, [
8703
- Q.value ? (v(), y("label", Yv, [
8704
- h("span", xv, 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),
8705
8733
  T(He, {
8706
8734
  options: Q.value,
8707
8735
  value: (N = k.activity.project) == null ? void 0 : N.id,
@@ -8711,8 +8739,8 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8711
8739
  onChange: ie
8712
8740
  }, null, 8, ["options", "value", "disabled", "caret"])
8713
8741
  ])) : E("", !0),
8714
- le.value ? (v(), y("label", Kv, [
8715
- h("span", Gv, 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),
8716
8744
  T(He, {
8717
8745
  options: le.value,
8718
8746
  value: (V = k.activity.milestone) == null ? void 0 : V.id,
@@ -8725,16 +8753,17 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8725
8753
  ]),
8726
8754
  ae(k.$slots, "header")
8727
8755
  ]),
8728
- h("div", Xv, [
8756
+ h("div", Qv, [
8729
8757
  T(un, {
8730
8758
  modelValue: n.value,
8731
8759
  "onUpdate:modelValue": H[0] || (H[0] = (se) => n.value = se),
8732
8760
  tabs: o.value,
8761
+ variant: "underline",
8733
8762
  class: "ao-activity-details__tabs"
8734
8763
  }, null, 8, ["modelValue", "tabs"]),
8735
- be(h("div", Qv, [
8736
- h("fieldset", Jv, [
8737
- h("div", ef, [
8764
+ be(h("div", Jv, [
8765
+ h("fieldset", ef, [
8766
+ h("div", tf, [
8738
8767
  T(bv, {
8739
8768
  attachments: k.activity.attachments,
8740
8769
  "is-editable": k.attachmentEnabled && i.value && k.isTemplate !== !0 && !!k.userId,
@@ -8742,24 +8771,21 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8742
8771
  onRemove: R
8743
8772
  }, {
8744
8773
  default: q(() => [
8745
- h("label", tf, [
8746
- h("span", af, z(k.$t("activity.description.label")), 1),
8747
- be(h("textarea", {
8748
- "onUpdate:modelValue": H[1] || (H[1] = (se) => l.value = se),
8749
- readonly: !i.value,
8750
- rows: "4",
8751
- class: "ao-field__textarea"
8752
- }, null, 8, nf), [
8753
- [
8754
- Ne,
8755
- l.value,
8756
- void 0,
8757
- {
8758
- lazy: !0,
8759
- trim: !0
8760
- }
8761
- ]
8762
- ])
8774
+ be(h("textarea", {
8775
+ "onUpdate:modelValue": H[1] || (H[1] = (se) => l.value = se),
8776
+ readonly: !i.value,
8777
+ rows: "6",
8778
+ class: "ao-activity-details__description-textarea"
8779
+ }, null, 8, af), [
8780
+ [
8781
+ Ne,
8782
+ l.value,
8783
+ void 0,
8784
+ {
8785
+ lazy: !0,
8786
+ trim: !0
8787
+ }
8788
+ ]
8763
8789
  ])
8764
8790
  ]),
8765
8791
  _: 1
@@ -8769,9 +8795,9 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8769
8795
  ], 512), [
8770
8796
  [Va, n.value === "description"]
8771
8797
  ]),
8772
- be(h("div", sf, [
8773
- h("fieldset", of, [
8774
- h("div", rf, [
8798
+ be(h("div", nf, [
8799
+ h("fieldset", sf, [
8800
+ h("div", of, [
8775
8801
  T(uv, {
8776
8802
  class: "ao-activity-details__tasks ao-field__row",
8777
8803
  tasks: k.activity.tasks || [],
@@ -8789,8 +8815,8 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8789
8815
  ], 512), [
8790
8816
  [Va, n.value === "checklist"]
8791
8817
  ]),
8792
- be(h("div", lf, [
8793
- k.isTemplate !== !0 && k.userId ? (v(), y("div", uf, [
8818
+ be(h("div", rf, [
8819
+ k.isTemplate !== !0 && k.userId ? (v(), y("div", lf, [
8794
8820
  T(Bv, {
8795
8821
  comments: k.activity.comments,
8796
8822
  users: k.users,
@@ -8805,16 +8831,16 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8805
8831
  ])
8806
8832
  ])
8807
8833
  ]),
8808
- h("div", cf, [
8809
- h("div", df, [
8834
+ h("div", uf, [
8835
+ h("div", cf, [
8810
8836
  T(ve, {
8811
8837
  name: "CloseRounded",
8812
8838
  onClick: H[2] || (H[2] = (se) => k.$emit("close"))
8813
8839
  })
8814
8840
  ]),
8815
- P.value ? (v(), y("div", pf, [
8816
- h("label", vf, [
8817
- h("span", ff, 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),
8818
8844
  T(He, {
8819
8845
  class: "ao-activity-details__multiselect",
8820
8846
  options: P.value,
@@ -8827,10 +8853,10 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8827
8853
  }, null, 8, ["options", "value", "disabled", "caret"])
8828
8854
  ])
8829
8855
  ])) : E("", !0),
8830
- h("div", hf, [
8831
- h("div", mf, [
8832
- h("div", gf, [
8833
- h("span", Cf, 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),
8834
8860
  T(ue, {
8835
8861
  label: k.$t("activity.assignee.toMe"),
8836
8862
  type: "button",
@@ -8868,16 +8894,16 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8868
8894
  }, 8, ["modelValue", "options", "placeholder", "disabled", "caret"])
8869
8895
  ])
8870
8896
  ]),
8871
- h("div", _f, [
8872
- k.isTemplate !== !0 && k.userId ? (v(), y("div", yf, [
8873
- h("label", bf, [
8874
- h("span", wf, 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),
8875
8901
  be(h("input", {
8876
8902
  "onUpdate:modelValue": H[4] || (H[4] = (se) => f.value = se),
8877
8903
  readonly: !i.value,
8878
8904
  class: "ao-field__input",
8879
8905
  type: "date"
8880
- }, null, 8, $f), [
8906
+ }, null, 8, wf), [
8881
8907
  [
8882
8908
  Ne,
8883
8909
  f.value,
@@ -8888,17 +8914,17 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8888
8914
  ])
8889
8915
  ])) : E("", !0)
8890
8916
  ]),
8891
- h("div", kf, [
8892
- h("div", Sf, [
8893
- h("label", Mf, [
8894
- h("span", Af, 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),
8895
8921
  be(h("input", {
8896
8922
  "onUpdate:modelValue": H[5] || (H[5] = (se) => c.value = se),
8897
8923
  readonly: !i.value,
8898
8924
  class: "ao-field__input ao-field__input--estim",
8899
8925
  type: "number",
8900
8926
  min: "0"
8901
- }, null, 8, Tf), [
8927
+ }, null, 8, Af), [
8902
8928
  [
8903
8929
  Ne,
8904
8930
  c.value,
@@ -8911,14 +8937,14 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8911
8937
  ])
8912
8938
  ])
8913
8939
  ]),
8914
- h("div", Of, [
8915
- h("label", Ef, [
8916
- h("span", If, z(k.$t("activity.timeSpent.label")) + " (" + z(d.value) + ")", 1),
8917
- h("span", Lf, 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)
8918
8944
  ])
8919
8945
  ])
8920
8946
  ]),
8921
- h("div", Pf, [
8947
+ h("div", Lf, [
8922
8948
  T(Ci, {
8923
8949
  modelValue: g.value,
8924
8950
  "onUpdate:modelValue": H[6] || (H[6] = (se) => g.value = se),
@@ -8933,18 +8959,18 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8933
8959
  size: "sm"
8934
8960
  }, null, 8, ["modelValue", "label", "disabled"])
8935
8961
  ]),
8936
- h("fieldset", Df, [
8937
- h("div", Hf, [
8962
+ h("fieldset", Pf, [
8963
+ h("div", Df, [
8938
8964
  T(ve, { name: "FlowsheetOutlineRounded" }),
8939
8965
  T($e, {
8940
8966
  level: 4,
8941
8967
  title: k.$t("activity.dependencies.title")
8942
8968
  }, null, 8, ["title"])
8943
8969
  ]),
8944
- h("div", Vf, [
8945
- h("div", Bf, [
8946
- h("label", jf, [
8947
- h("span", Rf, 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),
8948
8974
  T(He, {
8949
8975
  modelValue: m.value,
8950
8976
  "onUpdate:modelValue": H[7] || (H[7] = (se) => m.value = se),
@@ -8958,9 +8984,9 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8958
8984
  }, null, 8, ["modelValue", "options", "disabled", "caret"])
8959
8985
  ])
8960
8986
  ]),
8961
- h("div", Nf, [
8962
- h("label", Uf, [
8963
- h("span", Ff, 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),
8964
8990
  T(He, {
8965
8991
  modelValue: _.value,
8966
8992
  "onUpdate:modelValue": H[8] || (H[8] = (se) => _.value = se),
@@ -8985,7 +9011,7 @@ const un = /* @__PURE__ */ Y(jv, [["render", Uv], ["__scopeId", "data-v-ff4e3297
8985
9011
  }));
8986
9012
  }
8987
9013
  });
8988
- const Zf = /* @__PURE__ */ X({
9014
+ const Ff = /* @__PURE__ */ X({
8989
9015
  __name: "AoRuleLine",
8990
9016
  props: {
8991
9017
  rule: {},
@@ -9109,7 +9135,7 @@ const Zf = /* @__PURE__ */ X({
9109
9135
  }));
9110
9136
  }
9111
9137
  });
9112
- const Wf = { class: "ao-template-rules__body" }, zf = { class: "ao-template-rules__list" }, qf = /* @__PURE__ */ X({
9138
+ const Zf = { class: "ao-template-rules__body" }, Wf = { class: "ao-template-rules__list" }, zf = /* @__PURE__ */ X({
9113
9139
  __name: "AoTemplateRules",
9114
9140
  props: {
9115
9141
  templateId: {},
@@ -9133,9 +9159,9 @@ const Wf = { class: "ao-template-rules__body" }, zf = { class: "ao-template-rule
9133
9159
  }, null, 8, ["title"])
9134
9160
  ]),
9135
9161
  default: q(() => [
9136
- h("div", Wf, [
9137
- h("ul", zf, [
9138
- (v(!0), y(he, null, Ce(n.rules, (i) => (v(), B(Zf, {
9162
+ h("div", Zf, [
9163
+ h("ul", Wf, [
9164
+ (v(!0), y(he, null, Ce(n.rules, (i) => (v(), B(Ff, {
9139
9165
  key: i.id,
9140
9166
  rule: i,
9141
9167
  "template-phases": n.templatePhases,
@@ -9163,10 +9189,10 @@ function Tt(t, e, a) {
9163
9189
  rank: o.format()
9164
9190
  };
9165
9191
  }
9166
- const Yf = {
9192
+ const qf = {
9167
9193
  key: 0,
9168
9194
  class: "ao-template-details"
9169
- }, xf = { class: "ao-template-details__body" }, Kf = { class: "ao-template-details__cols" }, Gf = { class: "ao-template-details__col" }, Xf = { class: "ao-list__footer" }, Qf = { class: "ao-template-details__col" }, Jf = { class: "ao-template-details__col" }, eh = /* @__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({
9170
9196
  __name: "AoTemplateDetails",
9171
9197
  props: {
9172
9198
  templateId: {},
@@ -9408,7 +9434,7 @@ const Yf = {
9408
9434
  };
9409
9435
  return (P, A) => {
9410
9436
  var F, L, Z, oe, k, H;
9411
- return n.value ? (v(), y("div", Yf, [
9437
+ return n.value ? (v(), y("div", qf, [
9412
9438
  T(wa, {
9413
9439
  "can-go-back": !0,
9414
9440
  onGoBack: A[1] || (A[1] = (N) => P.$router.push({ name: W(Nt).TEMPLATES_LIST }))
@@ -9425,9 +9451,9 @@ const Yf = {
9425
9451
  ]),
9426
9452
  _: 1
9427
9453
  }),
9428
- h("div", xf, [
9429
- h("ol", Kf, [
9430
- h("li", Gf, [
9454
+ h("div", Yf, [
9455
+ h("ol", xf, [
9456
+ h("li", Kf, [
9431
9457
  T(W(gt), {
9432
9458
  "model-value": n.value.phases,
9433
9459
  class: "ao-templates__list",
@@ -9462,7 +9488,7 @@ const Yf = {
9462
9488
  ];
9463
9489
  }),
9464
9490
  footer: q(() => [
9465
- h("div", Xf, [
9491
+ h("div", Gf, [
9466
9492
  T(_t, {
9467
9493
  "icon-name": "AddBoxOutlineRounded",
9468
9494
  label: P.$t("template.phases.add"),
@@ -9473,7 +9499,7 @@ const Yf = {
9473
9499
  _: 1
9474
9500
  }, 8, ["model-value"])
9475
9501
  ]),
9476
- h("li", Qf, [
9502
+ h("li", Xf, [
9477
9503
  i.value ? (v(), B(E5, {
9478
9504
  key: 0,
9479
9505
  "template-id": P.templateId,
@@ -9485,7 +9511,7 @@ const Yf = {
9485
9511
  onRemoveMilestone: _
9486
9512
  }, null, 8, ["template-id", "phase", "milestone-id"])) : E("", !0)
9487
9513
  ]),
9488
- h("li", Jf, [
9514
+ h("li", Qf, [
9489
9515
  i.value && r.value ? (v(), B(P5, {
9490
9516
  key: 0,
9491
9517
  "template-id": P.templateId,
@@ -9529,7 +9555,7 @@ const Yf = {
9529
9555
  }, 8, ["activity", "activity-types", "breadcrumbs", "milestone-id", "template-activities", "template-milestones", "users", "onClose"])) : E("", !0)
9530
9556
  ])),
9531
9557
  (v(), B(Ot, { to: "body" }, [
9532
- D.value ? (v(), B(qf, {
9558
+ D.value ? (v(), B(zf, {
9533
9559
  key: 0,
9534
9560
  "template-id": n.value.id,
9535
9561
  rules: n.value.rules || [],
@@ -9545,10 +9571,10 @@ const Yf = {
9545
9571
  };
9546
9572
  }
9547
9573
  });
9548
- const th = { class: "ao-card__content" }, ah = {
9574
+ const eh = { class: "ao-card__content" }, th = {
9549
9575
  key: 0,
9550
9576
  class: "ao-card__header"
9551
- }, nh = { class: "ao-card__body" }, sh = {
9577
+ }, ah = { class: "ao-card__body" }, nh = {
9552
9578
  key: 1,
9553
9579
  class: "ao-card__footer"
9554
9580
  }, cn = /* @__PURE__ */ X({
@@ -9576,14 +9602,14 @@ const th = { class: "ao-card__content" }, ah = {
9576
9602
  class: "ao-card__left-border",
9577
9603
  style: Fe({ backgroundColor: e.color })
9578
9604
  }, null, 4)) : E("", !0),
9579
- h("div", th, [
9580
- e.$slots.header ? (v(), y("header", ah, [
9605
+ h("div", eh, [
9606
+ e.$slots.header ? (v(), y("header", th, [
9581
9607
  ae(e.$slots, "header")
9582
9608
  ])) : E("", !0),
9583
- h("div", nh, [
9609
+ h("div", ah, [
9584
9610
  ae(e.$slots, "default")
9585
9611
  ]),
9586
- e.$slots.footer ? (v(), y("footer", sh, [
9612
+ e.$slots.footer ? (v(), y("footer", nh, [
9587
9613
  ae(e.$slots, "footer")
9588
9614
  ])) : E("", !0)
9589
9615
  ])
@@ -9623,8 +9649,8 @@ const dn = /* @__PURE__ */ X({
9623
9649
  */
9624
9650
  function St(t) {
9625
9651
  let e = { r: 0, g: 0, b: 0, a: 1 };
9626
- /#/.test(t) ? e = oh(t) : /rgb/.test(t) ? e = Ds(t) : typeof t == "string" ? e = Ds(`rgba(${t})`) : Object.prototype.toString.call(t) === "[object Object]" && (e = t);
9627
- const { r: a, g: s, b: n, a: o } = e, { h: i, s: r, v: l } = rh(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);
9628
9654
  return { r: a, g: s, b: n, a: o === void 0 ? 1 : o, h: i, s: r, v: l };
9629
9655
  }
9630
9656
  function Qn(t) {
@@ -9635,11 +9661,11 @@ function En(t, e, a, s, n, o) {
9635
9661
  const i = t === "l", r = e.createLinearGradient(0, 0, i ? a : 0, i ? 0 : s);
9636
9662
  r.addColorStop(0.01, n), r.addColorStop(0.99, o), e.fillStyle = r, e.fillRect(0, 0, a, s);
9637
9663
  }
9638
- function ih({ r: t, g: e, b: a }, s) {
9664
+ function sh({ r: t, g: e, b: a }, s) {
9639
9665
  const n = (i) => ("0" + Number(i).toString(16)).slice(-2), o = `#${n(t)}${n(e)}${n(a)}`;
9640
9666
  return s ? o.toUpperCase() : o;
9641
9667
  }
9642
- function oh(t) {
9668
+ function ih(t) {
9643
9669
  t = t.slice(1);
9644
9670
  const e = (a) => parseInt(a, 16) || 0;
9645
9671
  return {
@@ -9656,7 +9682,7 @@ function Ds(t) {
9656
9682
  a: Number(t[3] ? t[3] : 1)
9657
9683
  }) : t;
9658
9684
  }
9659
- function rh({ r: t, g: e, b: a }) {
9685
+ function oh({ r: t, g: e, b: a }) {
9660
9686
  t = t / 255, e = e / 255, a = a / 255;
9661
9687
  const s = Math.max(t, e, a), n = Math.min(t, e, a), o = s - n;
9662
9688
  let i = 0;
@@ -9723,8 +9749,8 @@ var Jn = X({
9723
9749
  }
9724
9750
  }
9725
9751
  });
9726
- const lh = { ref: "canvasSaturation" };
9727
- function uh(t, e, a, s, n, o) {
9752
+ const rh = { ref: "canvasSaturation" };
9753
+ function lh(t, e, a, s, n, o) {
9728
9754
  return v(), B(
9729
9755
  "div",
9730
9756
  {
@@ -9734,7 +9760,7 @@ function uh(t, e, a, s, n, o) {
9734
9760
  [
9735
9761
  T(
9736
9762
  "canvas",
9737
- lh,
9763
+ rh,
9738
9764
  null,
9739
9765
  512
9740
9766
  /* NEED_PATCH */
@@ -9754,7 +9780,7 @@ function uh(t, e, a, s, n, o) {
9754
9780
  /* HYDRATE_EVENTS */
9755
9781
  );
9756
9782
  }
9757
- Jn.render = uh;
9783
+ Jn.render = lh;
9758
9784
  Jn.__file = "src/color/Saturation.vue";
9759
9785
  var es = X({
9760
9786
  props: {
@@ -9809,8 +9835,8 @@ var es = X({
9809
9835
  }
9810
9836
  }
9811
9837
  });
9812
- const ch = { ref: "canvasHue" };
9813
- function dh(t, e, a, s, n, o) {
9838
+ const uh = { ref: "canvasHue" };
9839
+ function ch(t, e, a, s, n, o) {
9814
9840
  return v(), B(
9815
9841
  "div",
9816
9842
  {
@@ -9820,7 +9846,7 @@ function dh(t, e, a, s, n, o) {
9820
9846
  [
9821
9847
  T(
9822
9848
  "canvas",
9823
- ch,
9849
+ uh,
9824
9850
  null,
9825
9851
  512
9826
9852
  /* NEED_PATCH */
@@ -9840,7 +9866,7 @@ function dh(t, e, a, s, n, o) {
9840
9866
  /* HYDRATE_EVENTS */
9841
9867
  );
9842
9868
  }
9843
- es.render = dh;
9869
+ es.render = ch;
9844
9870
  es.__file = "src/color/Hue.vue";
9845
9871
  var ts = X({
9846
9872
  props: {
@@ -9904,8 +9930,8 @@ var ts = X({
9904
9930
  }
9905
9931
  }
9906
9932
  });
9907
- const ph = { ref: "canvasAlpha" };
9908
- function vh(t, e, a, s, n, o) {
9933
+ const dh = { ref: "canvasAlpha" };
9934
+ function ph(t, e, a, s, n, o) {
9909
9935
  return v(), B(
9910
9936
  "div",
9911
9937
  {
@@ -9915,7 +9941,7 @@ function vh(t, e, a, s, n, o) {
9915
9941
  [
9916
9942
  T(
9917
9943
  "canvas",
9918
- ph,
9944
+ dh,
9919
9945
  null,
9920
9946
  512
9921
9947
  /* NEED_PATCH */
@@ -9935,7 +9961,7 @@ function vh(t, e, a, s, n, o) {
9935
9961
  /* HYDRATE_EVENTS */
9936
9962
  );
9937
9963
  }
9938
- ts.render = vh;
9964
+ ts.render = ph;
9939
9965
  ts.__file = "src/color/Alpha.vue";
9940
9966
  var as = X({
9941
9967
  props: {
@@ -9972,10 +9998,10 @@ var as = X({
9972
9998
  }
9973
9999
  }
9974
10000
  });
9975
- function fh(t, e, a, s, n, o) {
10001
+ function vh(t, e, a, s, n, o) {
9976
10002
  return v(), B("canvas");
9977
10003
  }
9978
- as.render = fh;
10004
+ as.render = vh;
9979
10005
  as.__file = "src/color/Preview.vue";
9980
10006
  var ns = X({
9981
10007
  props: {
@@ -10038,19 +10064,19 @@ var ns = X({
10038
10064
  }
10039
10065
  }
10040
10066
  });
10041
- const hh = /* @__PURE__ */ T(
10067
+ const fh = /* @__PURE__ */ T(
10042
10068
  "path",
10043
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" },
10044
10070
  null,
10045
10071
  -1
10046
10072
  /* HOISTED */
10047
- ), mh = {
10073
+ ), hh = {
10048
10074
  key: 1,
10049
10075
  class: "sucker",
10050
10076
  viewBox: "-16 -16 68 68",
10051
10077
  xmlns: "http://www.w3.org/2000/svg",
10052
10078
  stroke: "#9099a4"
10053
- }, gh = /* @__PURE__ */ T(
10079
+ }, mh = /* @__PURE__ */ T(
10054
10080
  "g",
10055
10081
  {
10056
10082
  fill: "none",
@@ -10082,7 +10108,7 @@ const hh = /* @__PURE__ */ T(
10082
10108
  -1
10083
10109
  /* HOISTED */
10084
10110
  );
10085
- function Ch(t, e, a, s, n, o) {
10111
+ function gh(t, e, a, s, n, o) {
10086
10112
  return v(), B("div", null, [
10087
10113
  t.isSucking ? E("v-if", !0) : (v(), B(
10088
10114
  "svg",
@@ -10094,17 +10120,17 @@ function Ch(t, e, a, s, n, o) {
10094
10120
  onClick: e[1] || (e[1] = (...i) => t.openSucker && t.openSucker(...i))
10095
10121
  },
10096
10122
  [
10097
- hh
10123
+ fh
10098
10124
  ],
10099
10125
  2
10100
10126
  /* CLASS */
10101
10127
  )),
10102
- t.isSucking ? (v(), B("svg", mh, [
10103
- gh
10128
+ t.isSucking ? (v(), B("svg", hh, [
10129
+ mh
10104
10130
  ])) : E("v-if", !0)
10105
10131
  ]);
10106
10132
  }
10107
- ns.render = Ch;
10133
+ ns.render = gh;
10108
10134
  ns.__file = "src/color/Sucker.vue";
10109
10135
  var ss = X({
10110
10136
  props: {
@@ -10137,12 +10163,12 @@ var ss = X({
10137
10163
  };
10138
10164
  }
10139
10165
  });
10140
- const _h = { class: "color-type" }, yh = { class: "name" };
10141
- function bh(t, e, a, s, n, o) {
10142
- return v(), B("div", _h, [
10166
+ const Ch = { class: "color-type" }, _h = { class: "name" };
10167
+ function yh(t, e, a, s, n, o) {
10168
+ return v(), B("div", Ch, [
10143
10169
  T(
10144
10170
  "span",
10145
- yh,
10171
+ _h,
10146
10172
  z(t.name),
10147
10173
  1
10148
10174
  /* TEXT */
@@ -10163,7 +10189,7 @@ function bh(t, e, a, s, n, o) {
10163
10189
  ])
10164
10190
  ]);
10165
10191
  }
10166
- ss.render = bh;
10192
+ ss.render = yh;
10167
10193
  ss.__file = "src/color/Box.vue";
10168
10194
  var is = X({
10169
10195
  name: "ColorPicker",
@@ -10205,13 +10231,13 @@ var is = X({
10205
10231
  };
10206
10232
  }
10207
10233
  });
10208
- const wh = { class: "colors" }, $h = {
10234
+ const bh = { class: "colors" }, wh = {
10209
10235
  key: 0,
10210
10236
  class: "colors history"
10211
10237
  };
10212
- function kh(t, e, a, s, n, o) {
10238
+ function $h(t, e, a, s, n, o) {
10213
10239
  return v(), B("div", null, [
10214
- T("ul", wh, [
10240
+ T("ul", bh, [
10215
10241
  (v(!0), B(
10216
10242
  he,
10217
10243
  null,
@@ -10245,7 +10271,7 @@ function kh(t, e, a, s, n, o) {
10245
10271
  /* KEYED_FRAGMENT */
10246
10272
  ))
10247
10273
  ]),
10248
- t.colorsHistory.length ? (v(), B("ul", $h, [
10274
+ t.colorsHistory.length ? (v(), B("ul", wh, [
10249
10275
  (v(!0), B(
10250
10276
  he,
10251
10277
  null,
@@ -10281,7 +10307,7 @@ function kh(t, e, a, s, n, o) {
10281
10307
  ])) : E("v-if", !0)
10282
10308
  ]);
10283
10309
  }
10284
- is.render = kh;
10310
+ is.render = $h;
10285
10311
  is.__file = "src/color/Colors.vue";
10286
10312
  var Ft = X({
10287
10313
  components: {
@@ -10392,7 +10418,7 @@ var Ft = X({
10392
10418
  return `rgba(${this.rgbaStringShort})`;
10393
10419
  },
10394
10420
  hexString() {
10395
- return ih(this.rgba, !0);
10421
+ return sh(this.rgba, !0);
10396
10422
  }
10397
10423
  },
10398
10424
  created() {
@@ -10456,8 +10482,8 @@ var Ft = X({
10456
10482
  }
10457
10483
  }
10458
10484
  });
10459
- const Sh = { class: "color-set" };
10460
- function Mh(t, e, a, s, n, o) {
10485
+ const kh = { class: "color-set" };
10486
+ function Sh(t, e, a, s, n, o) {
10461
10487
  const i = ut("Saturation"), r = ut("Hue"), l = ut("Alpha"), c = ut("Preview"), u = ut("Sucker"), d = ut("Box"), p = ut("Colors");
10462
10488
  return v(), B(
10463
10489
  "div",
@@ -10466,7 +10492,7 @@ function Mh(t, e, a, s, n, o) {
10466
10492
  style: { width: t.totalWidth + "px" }
10467
10493
  },
10468
10494
  [
10469
- T("div", Sh, [
10495
+ T("div", kh, [
10470
10496
  T(i, {
10471
10497
  ref: "saturation",
10472
10498
  color: t.rgbString,
@@ -10540,12 +10566,12 @@ function Mh(t, e, a, s, n, o) {
10540
10566
  /* CLASS, STYLE */
10541
10567
  );
10542
10568
  }
10543
- Ft.render = Mh;
10569
+ Ft.render = Sh;
10544
10570
  Ft.__file = "src/color/ColorPicker.vue";
10545
10571
  Ft.install = (t) => {
10546
10572
  t.component(Ft.name, Ft);
10547
10573
  };
10548
- const Ah = { class: "color-picker-wrapper" }, os = /* @__PURE__ */ X({
10574
+ const Mh = { class: "color-picker-wrapper" }, os = /* @__PURE__ */ X({
10549
10575
  __name: "AoColorPicker",
10550
10576
  props: {
10551
10577
  color: {}
@@ -10576,7 +10602,7 @@ const Ah = { class: "color-picker-wrapper" }, os = /* @__PURE__ */ X({
10576
10602
  const { r: f, g: w, b: m, a: $ } = g.rgba;
10577
10603
  d.value = `rgba(${f}, ${w}, ${m}, ${$})`;
10578
10604
  };
10579
- return (g, f) => (v(), y("div", Ah, [
10605
+ return (g, f) => (v(), y("div", Mh, [
10580
10606
  ae(g.$slots, "clickable", {
10581
10607
  openPicker: l,
10582
10608
  bgColor: g.color
@@ -10598,16 +10624,16 @@ const Ah = { class: "color-picker-wrapper" }, os = /* @__PURE__ */ X({
10598
10624
  ]));
10599
10625
  }
10600
10626
  });
10601
- const Th = { class: "ao-card-project-phase__header" }, Oh = { class: "ao-card-project-item__title-line" }, Eh = {
10627
+ const Ah = { class: "ao-card-project-phase__header" }, Th = { class: "ao-card-project-item__title-line" }, Oh = {
10602
10628
  key: 0,
10603
10629
  class: "ao-card-project-item-phase__estimation"
10604
- }, Ih = { class: "ao-card-project-phase__footer" }, Lh = {
10630
+ }, Eh = { class: "ao-card-project-phase__footer" }, Ih = {
10605
10631
  key: 0,
10606
10632
  class: "ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"
10607
- }, Ph = { class: "ao-card-project-phase__subitem" }, Dh = { class: "ao-card-project-phase__subitem" }, Hh = {
10633
+ }, Lh = { class: "ao-card-project-phase__subitem" }, Ph = { class: "ao-card-project-phase__subitem" }, Dh = {
10608
10634
  key: 0,
10609
10635
  class: "ao-card-project-phase__secondary"
10610
- }, Vh = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Bh = /* @__PURE__ */ X({
10636
+ }, Hh = { class: "ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly" }, Vh = /* @__PURE__ */ X({
10611
10637
  __name: "AoCardProjectItemPhase",
10612
10638
  props: {
10613
10639
  id: {},
@@ -10675,7 +10701,7 @@ const Th = { class: "ao-card-project-phase__header" }, Oh = { class: "ao-card-pr
10675
10701
  onClick: (_) => g(_, m)
10676
10702
  }, ha({
10677
10703
  default: q(() => [
10678
- h("div", Oh, [
10704
+ h("div", Th, [
10679
10705
  T($e, {
10680
10706
  id: f.id,
10681
10707
  class: "ao-card-project-phase__title",
@@ -10684,25 +10710,25 @@ const Th = { class: "ao-card-project-phase__header" }, Oh = { class: "ao-card-pr
10684
10710
  "is-editable": f.isEditable,
10685
10711
  "onUpdate:title": s
10686
10712
  }, null, 8, ["id", "title", "is-editable"]),
10687
- n.value || o.value ? (v(), y("span", Eh, " (" + 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)
10688
10714
  ])
10689
10715
  ]),
10690
10716
  footer: q(() => [
10691
- h("div", Ih, [
10692
- l.value ? (v(), y("div", Lh, [
10693
- h("div", Ph, [
10717
+ h("div", Eh, [
10718
+ l.value ? (v(), y("div", Ih, [
10719
+ h("div", Lh, [
10694
10720
  T(ve, {
10695
10721
  name: "MountainFlagOutlineRounded",
10696
10722
  size: "sm"
10697
10723
  }),
10698
- h("span", Dh, z(c.value) + " / " + z(l.value), 1)
10724
+ h("span", Ph, z(c.value) + " / " + z(l.value), 1)
10699
10725
  ]),
10700
10726
  T(dn, {
10701
10727
  percentages: u.value,
10702
10728
  class: "ao-card-project-phase__progress",
10703
10729
  color: f.color
10704
10730
  }, null, 8, ["percentages", "color"]),
10705
- f.$slots.secondary ? (v(), y("div", Hh, [
10731
+ f.$slots.secondary ? (v(), y("div", Dh, [
10706
10732
  ae(f.$slots, "secondary")
10707
10733
  ])) : E("", !0)
10708
10734
  ])) : E("", !0),
@@ -10722,7 +10748,7 @@ const Th = { class: "ao-card-project-phase__header" }, Oh = { class: "ao-card-pr
10722
10748
  { lazy: !0 }
10723
10749
  ]
10724
10750
  ]) : E("", !0),
10725
- h("span", Vh, z(W(en)(f.deadline)), 1)
10751
+ h("span", Hh, z(W(en)(f.deadline)), 1)
10726
10752
  ], 2)
10727
10753
  ])
10728
10754
  ]),
@@ -10731,7 +10757,7 @@ const Th = { class: "ao-card-project-phase__header" }, Oh = { class: "ao-card-pr
10731
10757
  f.isEditable ? {
10732
10758
  name: "header",
10733
10759
  fn: q(() => [
10734
- h("div", Th, [
10760
+ h("div", Ah, [
10735
10761
  T(ue, {
10736
10762
  class: "ao-card-project-phase__archive",
10737
10763
  color: "primary",
@@ -10756,7 +10782,7 @@ const Th = { class: "ao-card-project-phase__header" }, Oh = { class: "ao-card-pr
10756
10782
  }, 8, ["color"]));
10757
10783
  }
10758
10784
  });
10759
- const jh = /* @__PURE__ */ X({
10785
+ const Bh = /* @__PURE__ */ X({
10760
10786
  __name: "AoBadge",
10761
10787
  props: {
10762
10788
  color: {}
@@ -10768,22 +10794,22 @@ const jh = /* @__PURE__ */ X({
10768
10794
  }, null, 4));
10769
10795
  }
10770
10796
  });
10771
- const Rh = { class: "ao-card-project-milestone__default" }, Nh = { class: "ao-title-with-badge-wrapper" }, Uh = { class: "ao-card-project-item__title-line" }, Fh = {
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 = {
10772
10798
  key: 0,
10773
10799
  class: "ao-card-project-item-milestone__estimation"
10774
- }, Zh = {
10800
+ }, Fh = {
10775
10801
  key: 0,
10776
10802
  class: "ao-card-project-milestone__archive"
10777
- }, Wh = { class: "ao-card-project-milestone__activities" }, zh = { class: "ao-card-project-milestone__activities-row" }, qh = { class: "ao-card-project-milestone__subitem" }, Yh = { class: "ao-card-project-milestone__subitem" }, xh = {
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 = {
10778
10804
  key: 1,
10779
10805
  class: "ao-card-project-milestone__secondary"
10780
- }, Kh = { class: "ao-card-project-milestone__footer" }, Gh = {
10806
+ }, xh = { class: "ao-card-project-milestone__footer" }, Kh = {
10781
10807
  key: 1,
10782
10808
  class: "ao-field ao-card-project-milestone__deadline"
10783
- }, Xh = { class: "ao-field__label" }, Qh = {
10809
+ }, Gh = { class: "ao-field__label" }, Xh = {
10784
10810
  key: 2,
10785
10811
  class: "ao-card-project-milestone__assignee"
10786
- }, Jh = /* @__PURE__ */ X({
10812
+ }, Qh = /* @__PURE__ */ X({
10787
10813
  __name: "AoCardProjectItemMilestone",
10788
10814
  props: {
10789
10815
  id: {},
@@ -10837,12 +10863,12 @@ const Rh = { class: "ao-card-project-milestone__default" }, Nh = { class: "ao-ti
10837
10863
  color: d.phaseColor
10838
10864
  }, {
10839
10865
  default: q(() => [
10840
- h("div", Rh, [
10841
- h("div", Nh, [
10842
- T(jh, {
10866
+ h("div", jh, [
10867
+ h("div", Rh, [
10868
+ T(Bh, {
10843
10869
  color: d.color || ""
10844
10870
  }, null, 8, ["color"]),
10845
- h("div", Uh, [
10871
+ h("div", Nh, [
10846
10872
  T($e, {
10847
10873
  id: d.id,
10848
10874
  title: d.name || "",
@@ -10851,10 +10877,10 @@ const Rh = { class: "ao-card-project-milestone__default" }, Nh = { class: "ao-ti
10851
10877
  class: "ao-card-project-milestone__title",
10852
10878
  "onUpdate:title": u
10853
10879
  }, null, 8, ["id", "title", "is-editable"]),
10854
- s.value || n.value ? (v(), y("span", Fh, " (" + 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)
10855
10881
  ])
10856
10882
  ]),
10857
- !d.readonly && d.isEditable ? (v(), y("div", Zh, [
10883
+ !d.readonly && d.isEditable ? (v(), y("div", Fh, [
10858
10884
  T(ue, {
10859
10885
  color: "primary",
10860
10886
  variant: "ghost",
@@ -10870,15 +10896,15 @@ const Rh = { class: "ao-card-project-milestone__default" }, Nh = { class: "ao-ti
10870
10896
  }, null, 8, ["label"])
10871
10897
  ])) : E("", !0)
10872
10898
  ]),
10873
- h("div", Wh, [
10874
- h("div", zh, [
10899
+ h("div", Zh, [
10900
+ h("div", Wh, [
10875
10901
  r.value ? (v(), y(he, { key: 0 }, [
10876
- h("div", qh, [
10902
+ h("div", zh, [
10877
10903
  T(ve, {
10878
10904
  name: "SelectCheckBox",
10879
10905
  size: "sm"
10880
10906
  }),
10881
- h("span", Yh, z(l.value) + " / " + z(r.value), 1)
10907
+ h("span", qh, z(l.value) + " / " + z(r.value), 1)
10882
10908
  ]),
10883
10909
  T(dn, {
10884
10910
  percentages: c.value,
@@ -10886,14 +10912,14 @@ const Rh = { class: "ao-card-project-milestone__default" }, Nh = { class: "ao-ti
10886
10912
  class: "ao-card-project-milestone__progress"
10887
10913
  }, null, 8, ["percentages", "color"])
10888
10914
  ], 64)) : E("", !0),
10889
- d.$slots.secondary ? (v(), y("div", xh, [
10915
+ d.$slots.secondary ? (v(), y("div", Yh, [
10890
10916
  ae(d.$slots, "secondary")
10891
10917
  ])) : E("", !0)
10892
10918
  ])
10893
10919
  ])
10894
10920
  ]),
10895
10921
  footer: q(() => [
10896
- h("div", Kh, [
10922
+ h("div", xh, [
10897
10923
  d.important ? (v(), B(ve, {
10898
10924
  key: 0,
10899
10925
  name: "FlagRounded",
@@ -10902,10 +10928,10 @@ const Rh = { class: "ao-card-project-milestone__default" }, Nh = { class: "ao-ti
10902
10928
  ),
10903
10929
  size: "sm"
10904
10930
  }, null, 8, ["class"])) : E("", !0),
10905
- d.deadline ? (v(), y("label", Gh, [
10906
- 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)
10907
10933
  ])) : E("", !0),
10908
- d.assignee ? (v(), y("div", Qh, [
10934
+ d.assignee ? (v(), y("div", Xh, [
10909
10935
  T(Ct, {
10910
10936
  "user-name": W(Js)(d.assignee),
10911
10937
  "avatar-url": d.assignee.avatarUrl,
@@ -10919,16 +10945,16 @@ const Rh = { class: "ao-card-project-milestone__default" }, Nh = { class: "ao-ti
10919
10945
  }, 8, ["is-clickable", "is-selected", "color"]));
10920
10946
  }
10921
10947
  });
10922
- const e9 = { class: "ao-mapping-card-project-phase__header" }, t9 = { class: "ao-card-project-item__title-line" }, a9 = {
10948
+ const Jh = { class: "ao-mapping-card-project-phase__header" }, e9 = { class: "ao-card-project-item__title-line" }, t9 = {
10923
10949
  key: 0,
10924
10950
  class: "ao-card-project-item-phase__estimation"
10925
- }, n9 = { class: "ao-mapping-card-project-phase__footer" }, s9 = {
10951
+ }, a9 = { class: "ao-mapping-card-project-phase__footer" }, n9 = {
10926
10952
  key: 0,
10927
10953
  class: "ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"
10928
- }, i9 = { class: "ao-mapping-card-project-phase__subitem" }, o9 = { class: "ao-mapping-card-project-phase__subitem" }, r9 = {
10954
+ }, s9 = { class: "ao-mapping-card-project-phase__subitem" }, i9 = { class: "ao-mapping-card-project-phase__subitem" }, o9 = {
10929
10955
  key: 0,
10930
10956
  class: "ao-mapping-card-project-phase__secondary"
10931
- }, l9 = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, u9 = /* @__PURE__ */ X({
10957
+ }, r9 = { class: "ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly" }, l9 = /* @__PURE__ */ X({
10932
10958
  __name: "AoCondensedCardProjectItemPhase",
10933
10959
  props: {
10934
10960
  id: {},
@@ -10996,7 +11022,7 @@ const e9 = { class: "ao-mapping-card-project-phase__header" }, t9 = { class: "ao
10996
11022
  onClick: (_) => g(_, m)
10997
11023
  }, ha({
10998
11024
  default: q(() => [
10999
- h("div", t9, [
11025
+ h("div", e9, [
11000
11026
  T($e, {
11001
11027
  id: f.id,
11002
11028
  class: "ao-mapping-card-project-phase__title",
@@ -11005,25 +11031,25 @@ const e9 = { class: "ao-mapping-card-project-phase__header" }, t9 = { class: "ao
11005
11031
  "is-editable": f.isEditable,
11006
11032
  "onUpdate:title": s
11007
11033
  }, null, 8, ["id", "title", "is-editable"]),
11008
- n.value || o.value ? (v(), y("span", a9, " (" + 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)
11009
11035
  ])
11010
11036
  ]),
11011
11037
  footer: q(() => [
11012
- h("div", n9, [
11013
- l.value ? (v(), y("div", s9, [
11014
- h("div", i9, [
11038
+ h("div", a9, [
11039
+ l.value ? (v(), y("div", n9, [
11040
+ h("div", s9, [
11015
11041
  T(ve, {
11016
11042
  name: "MountainFlagOutlineRounded",
11017
11043
  size: "sm"
11018
11044
  }),
11019
- h("span", o9, z(c.value) + " / " + z(l.value), 1)
11045
+ h("span", i9, z(c.value) + " / " + z(l.value), 1)
11020
11046
  ]),
11021
11047
  T(dn, {
11022
11048
  percentages: u.value,
11023
11049
  class: "ao-mapping-card-project-phase__progress",
11024
11050
  color: p.value
11025
11051
  }, null, 8, ["percentages", "color"]),
11026
- f.$slots.secondary ? (v(), y("div", r9, [
11052
+ f.$slots.secondary ? (v(), y("div", o9, [
11027
11053
  ae(f.$slots, "secondary")
11028
11054
  ])) : E("", !0)
11029
11055
  ])) : E("", !0),
@@ -11043,7 +11069,7 @@ const e9 = { class: "ao-mapping-card-project-phase__header" }, t9 = { class: "ao
11043
11069
  { lazy: !0 }
11044
11070
  ]
11045
11071
  ]) : E("", !0),
11046
- h("span", l9, z(W(en)(f.deadline)), 1)
11072
+ h("span", r9, z(W(en)(f.deadline)), 1)
11047
11073
  ], 2)
11048
11074
  ])
11049
11075
  ]),
@@ -11052,7 +11078,7 @@ const e9 = { class: "ao-mapping-card-project-phase__header" }, t9 = { class: "ao
11052
11078
  f.isEditable ? {
11053
11079
  name: "header",
11054
11080
  fn: q(() => [
11055
- h("div", e9, [
11081
+ h("div", Jh, [
11056
11082
  T(ue, {
11057
11083
  class: "ao-mapping-card-project-phase__archive",
11058
11084
  color: "primary",
@@ -11077,19 +11103,19 @@ const e9 = { class: "ao-mapping-card-project-phase__header" }, t9 = { class: "ao
11077
11103
  }, 8, ["color"]));
11078
11104
  }
11079
11105
  });
11080
- const c9 = { class: "ao-project-phase" }, d9 = {
11106
+ const u9 = { class: "ao-project-phase" }, c9 = {
11081
11107
  key: 0,
11082
11108
  class: "ao-project-phase__drag ao-card__drag"
11083
- }, p9 = {
11109
+ }, d9 = {
11084
11110
  key: 1,
11085
11111
  class: "ao-project-phase__col-phase"
11086
- }, v9 = {
11112
+ }, p9 = {
11087
11113
  key: 2,
11088
11114
  class: "ao-mapping-project-phase__col-phase"
11089
- }, f9 = {
11115
+ }, v9 = {
11090
11116
  key: 0,
11091
11117
  class: "ao-project-phase__col-milestones"
11092
- }, h9 = { class: "ao-project-phase__milestones-list-footer" }, m9 = /* @__PURE__ */ X({
11118
+ }, f9 = { class: "ao-project-phase__milestones-list-footer" }, h9 = /* @__PURE__ */ X({
11093
11119
  __name: "AoProjectPhase",
11094
11120
  props: {
11095
11121
  phase: {},
@@ -11149,19 +11175,19 @@ const c9 = { class: "ao-project-phase" }, d9 = {
11149
11175
  var _;
11150
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)" };
11151
11177
  });
11152
- return (_, C) => (v(), y("li", c9, [
11178
+ return (_, C) => (v(), y("li", u9, [
11153
11179
  h("div", {
11154
11180
  class: "ao-project-phases__draggable-card",
11155
11181
  style: Fe($.value)
11156
11182
  }, [
11157
- _.isEditable ? (v(), y("div", d9, [
11183
+ _.isEditable ? (v(), y("div", c9, [
11158
11184
  T(ve, {
11159
11185
  name: "DragIndicator",
11160
11186
  class: "ao-project-phase__drag-handle"
11161
11187
  })
11162
11188
  ])) : E("", !0),
11163
- m.value ? (v(), y("div", v9, [
11164
- T(u9, {
11189
+ m.value ? (v(), y("div", p9, [
11190
+ T(l9, {
11165
11191
  id: _.phase.id,
11166
11192
  milestones: r.value,
11167
11193
  name: _.phase.name,
@@ -11176,8 +11202,8 @@ const c9 = { class: "ao-project-phase" }, d9 = {
11176
11202
  onUnarchivePhase: g,
11177
11203
  onUpdatePhase: i
11178
11204
  }, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color", "estimation-unit"])
11179
- ])) : (v(), y("div", p9, [
11180
- T(Bh, {
11205
+ ])) : (v(), y("div", d9, [
11206
+ T(Vh, {
11181
11207
  id: _.phase.id,
11182
11208
  milestones: r.value,
11183
11209
  name: _.phase.name,
@@ -11195,7 +11221,7 @@ const c9 = { class: "ao-project-phase" }, d9 = {
11195
11221
  }, null, 8, ["id", "milestones", "name", "deadline", "active", "is-editable", "color", "time-tracking-data", "estimation-unit"])
11196
11222
  ]))
11197
11223
  ], 4),
11198
- m.value ? E("", !0) : (v(), y("div", f9, [
11224
+ m.value ? E("", !0) : (v(), y("div", v9, [
11199
11225
  h("div", {
11200
11226
  class: "ao-project-phase__milestones",
11201
11227
  style: Fe($.value)
@@ -11210,7 +11236,7 @@ const c9 = { class: "ao-project-phase" }, d9 = {
11210
11236
  item: q(({ element: b }) => {
11211
11237
  var I;
11212
11238
  return [
11213
- T(Jh, {
11239
+ T(Qh, {
11214
11240
  id: b.id,
11215
11241
  name: b.name,
11216
11242
  color: b.color,
@@ -11240,7 +11266,7 @@ const c9 = { class: "ao-project-phase" }, d9 = {
11240
11266
  }),
11241
11267
  _: 1
11242
11268
  }, 16, ["list", "disabled"]),
11243
- h("div", h9, [
11269
+ h("div", f9, [
11244
11270
  _.isEditable ? (v(), B(_t, {
11245
11271
  key: 0,
11246
11272
  label: _.$t("project.milestone.add"),
@@ -11254,10 +11280,10 @@ const c9 = { class: "ao-project-phase" }, d9 = {
11254
11280
  ]));
11255
11281
  }
11256
11282
  });
11257
- const g9 = { class: "ao-project__phases" }, C9 = {
11283
+ const m9 = { class: "ao-project__phases" }, g9 = {
11258
11284
  key: 0,
11259
11285
  class: "ao-project-phase__phases-list-footer"
11260
- }, _9 = /* @__PURE__ */ h("div", { class: "ao-project-phase__empty_drag" }, null, -1), y9 = { class: "ao-project-phase__col-phase" }, b9 = /* @__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({
11261
11287
  __name: "AoProjectPhases",
11262
11288
  props: {
11263
11289
  phases: {},
@@ -11299,7 +11325,7 @@ const g9 = { class: "ao-project__phases" }, C9 = {
11299
11325
  }, d = (p) => {
11300
11326
  e("addPhase", p);
11301
11327
  };
11302
- return (p, g) => (v(), y("div", g9, [
11328
+ return (p, g) => (v(), y("div", m9, [
11303
11329
  T(W(gt), {
11304
11330
  class: "ao-project-phase__phases-list",
11305
11331
  "model-value": p.phases,
@@ -11308,7 +11334,7 @@ const g9 = { class: "ao-project__phases" }, C9 = {
11308
11334
  onChange: c
11309
11335
  }, {
11310
11336
  item: q(({ element: f }) => [
11311
- T(m9, {
11337
+ T(h9, {
11312
11338
  phase: f,
11313
11339
  "is-editable": !p.readonly && p.isEditable,
11314
11340
  "closed-status": p.closedStatus,
@@ -11327,9 +11353,9 @@ const g9 = { class: "ao-project__phases" }, C9 = {
11327
11353
  ]),
11328
11354
  _: 1
11329
11355
  }, 8, ["model-value"]),
11330
- p.isEditable ? (v(), y("div", C9, [
11331
- _9,
11332
- h("div", y9, [
11356
+ p.isEditable ? (v(), y("div", g9, [
11357
+ C9,
11358
+ h("div", _9, [
11333
11359
  T(_t, {
11334
11360
  label: p.$t("project.phases.add"),
11335
11361
  "icon-name": "Add",
@@ -11337,12 +11363,12 @@ const g9 = { class: "ao-project__phases" }, C9 = {
11337
11363
  onClick: d
11338
11364
  }, null, 8, ["label"])
11339
11365
  ]),
11340
- b9
11366
+ y9
11341
11367
  ])) : E("", !0)
11342
11368
  ]));
11343
11369
  }
11344
11370
  });
11345
- const w9 = ["onSubmit"], $9 = { class: "ao-add-template-modal__form-body" }, k9 = { class: "field__row" }, S9 = { 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({
11346
11372
  __name: "AoAddTemplateModal",
11347
11373
  props: {
11348
11374
  projectId: {},
@@ -11371,8 +11397,8 @@ const w9 = ["onSubmit"], $9 = { class: "ao-add-template-modal__form-body" }, k9
11371
11397
  onSubmit: fe(i, ["prevent"])
11372
11398
  }, [
11373
11399
  h("p", null, z(r.$t("project.template.apply.notice")), 1),
11374
- h("div", $9, [
11375
- h("div", k9, [
11400
+ h("div", w9, [
11401
+ h("div", $9, [
11376
11402
  T(He, {
11377
11403
  value: n.value,
11378
11404
  options: s.value,
@@ -11381,7 +11407,7 @@ const w9 = ["onSubmit"], $9 = { class: "ao-add-template-modal__form-body" }, k9
11381
11407
  }, null, 8, ["value", "options"])
11382
11408
  ])
11383
11409
  ]),
11384
- h("footer", S9, [
11410
+ h("footer", k9, [
11385
11411
  T(ue, {
11386
11412
  label: r.$t("project.template.apply.label"),
11387
11413
  type: "submit",
@@ -11390,13 +11416,13 @@ const w9 = ["onSubmit"], $9 = { class: "ao-add-template-modal__form-body" }, k9
11390
11416
  onClick: i
11391
11417
  }, null, 8, ["label"])
11392
11418
  ])
11393
- ], 40, w9)
11419
+ ], 40, b9)
11394
11420
  ]),
11395
11421
  _: 1
11396
11422
  }));
11397
11423
  }
11398
11424
  });
11399
- const M9 = ["onSubmit"], A9 = { class: "ao-save-template-modal__form-body" }, T9 = { class: "field__row" }, O9 = { class: "ao-field ao-field--inline" }, E9 = { class: "ao-field__label" }, I9 = { class: "ao-save-template-modal__phases" }, L9 = { class: "ao-field__label" }, P9 = { class: "ao-save-template-modal__phases-list" }, D9 = ["value"], H9 = { 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({
11400
11426
  __name: "AoSaveTemplateModal",
11401
11427
  props: {
11402
11428
  phases: {}
@@ -11422,10 +11448,10 @@ const M9 = ["onSubmit"], A9 = { class: "ao-save-template-modal__form-body" }, T9
11422
11448
  class: "ao-save-template-modal__form",
11423
11449
  onSubmit: fe(o, ["prevent"])
11424
11450
  }, [
11425
- h("div", A9, [
11426
- h("div", T9, [
11427
- h("label", O9, [
11428
- h("span", E9, 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),
11429
11455
  be(h("input", {
11430
11456
  "onUpdate:modelValue": r[0] || (r[0] = (l) => s.value = l),
11431
11457
  type: "text"
@@ -11434,9 +11460,9 @@ const M9 = ["onSubmit"], A9 = { class: "ao-save-template-modal__form-body" }, T9
11434
11460
  ])
11435
11461
  ])
11436
11462
  ]),
11437
- h("div", I9, [
11438
- h("div", L9, z(i.$t("project.template.phases.label")), 1),
11439
- h("div", P9, [
11463
+ h("div", E9, [
11464
+ h("div", I9, z(i.$t("project.template.phases.label")), 1),
11465
+ h("div", L9, [
11440
11466
  (v(!0), y(he, null, Ce(a.phases, (l) => (v(), y("label", {
11441
11467
  class: "ao-field ao-field--checkbox",
11442
11468
  key: l.id
@@ -11445,7 +11471,7 @@ const M9 = ["onSubmit"], A9 = { class: "ao-save-template-modal__form-body" }, T9
11445
11471
  type: "checkbox",
11446
11472
  value: l.id,
11447
11473
  "onUpdate:modelValue": r[1] || (r[1] = (c) => n.value = c)
11448
- }, null, 8, D9), [
11474
+ }, null, 8, P9), [
11449
11475
  [zi, n.value]
11450
11476
  ]),
11451
11477
  h("span", null, z(l.name), 1)
@@ -11453,7 +11479,7 @@ const M9 = ["onSubmit"], A9 = { class: "ao-save-template-modal__form-body" }, T9
11453
11479
  ])
11454
11480
  ])
11455
11481
  ]),
11456
- h("footer", H9, [
11482
+ h("footer", D9, [
11457
11483
  T(ue, {
11458
11484
  label: i.$t("project.template.save.label"),
11459
11485
  type: "submit",
@@ -11462,13 +11488,13 @@ const M9 = ["onSubmit"], A9 = { class: "ao-save-template-modal__form-body" }, T9
11462
11488
  onClick: o
11463
11489
  }, null, 8, ["label"])
11464
11490
  ])
11465
- ], 40, M9)
11491
+ ], 40, S9)
11466
11492
  ]),
11467
11493
  _: 1
11468
11494
  }));
11469
11495
  }
11470
11496
  });
11471
- const V9 = { class: "ao-project" }, B9 = { class: "ao-project__body" }, j9 = /* @__PURE__ */ X({
11497
+ const H9 = { class: "ao-project" }, V9 = { class: "ao-project__body" }, B9 = /* @__PURE__ */ X({
11472
11498
  __name: "AoProjectOverviewProject",
11473
11499
  props: {
11474
11500
  project: {},
@@ -11552,7 +11578,7 @@ const V9 = { class: "ao-project" }, B9 = { class: "ao-project__body" }, j9 = /*
11552
11578
  const L = ut("RouterView");
11553
11579
  return v(), y(he, null, [
11554
11580
  h("div", Ae({ class: "ao-project-overview" }, A.$attrs), [
11555
- h("div", V9, [
11581
+ h("div", H9, [
11556
11582
  T(wa, null, {
11557
11583
  primary: q(() => [
11558
11584
  T(un, {
@@ -11591,7 +11617,7 @@ const V9 = { class: "ao-project" }, B9 = { class: "ao-project__body" }, j9 = /*
11591
11617
  ]),
11592
11618
  _: 1
11593
11619
  }),
11594
- h("div", B9, [
11620
+ h("div", V9, [
11595
11621
  T(_i, {
11596
11622
  phases: A.phases,
11597
11623
  "closed-status": A.closedStatus,
@@ -11682,39 +11708,39 @@ const V9 = { class: "ao-project" }, B9 = { class: "ao-project__body" }, j9 = /*
11682
11708
  };
11683
11709
  }
11684
11710
  });
11685
- const R9 = { class: "ao-card-feed__header" }, N9 = {
11711
+ const j9 = { class: "ao-card-feed__header" }, R9 = {
11686
11712
  key: 1,
11687
11713
  class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
11688
- }, U9 = {
11714
+ }, N9 = {
11689
11715
  key: 2,
11690
11716
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
11691
- }, F9 = { class: "ao-card-feed__body" }, Z9 = {
11717
+ }, U9 = { class: "ao-card-feed__body" }, F9 = {
11692
11718
  key: 0,
11693
11719
  class: "ao-card-feed__breadcrumbs"
11694
- }, W9 = {
11720
+ }, Z9 = {
11695
11721
  class: /* @__PURE__ */ ee(["ao-card-feed__title-group"])
11696
- }, z9 = { class: "ao-card-feed__title-line" }, q9 = {
11722
+ }, W9 = { class: "ao-card-feed__title-line" }, z9 = {
11697
11723
  key: 0,
11698
11724
  class: "ao-card-feed__slug"
11699
- }, Y9 = {
11725
+ }, q9 = {
11700
11726
  key: 1,
11701
11727
  class: "ao-card-feed__deadline"
11702
- }, x9 = { class: "ao-card-feed__footer" }, K9 = { class: "ao-card-feed__footer-row" }, G9 = { class: "ao-assignees" }, X9 = {
11728
+ }, Y9 = { class: "ao-card-feed__footer" }, x9 = { class: "ao-card-feed__footer-row" }, K9 = { class: "ao-assignees" }, G9 = {
11703
11729
  key: 0,
11704
11730
  class: "ao-assignee"
11705
- }, Q9 = {
11731
+ }, X9 = {
11706
11732
  key: 0,
11707
11733
  class: "ao-card-feed__subitems"
11708
- }, J9 = {
11734
+ }, Q9 = {
11709
11735
  key: 0,
11710
11736
  class: "ao-card-feed__subitem"
11711
- }, em = { class: "ao-card-feed__subitem" }, tm = {
11737
+ }, J9 = { class: "ao-card-feed__subitem" }, em = {
11712
11738
  key: 1,
11713
11739
  class: "ao-card-feed__subitem"
11714
- }, am = { class: "ao-card-feed__subitem" }, nm = { class: "ao-card-feed__timer-wrapper" }, sm = { class: "ao-card-feed__footer-row" }, im = {
11740
+ }, tm = { class: "ao-card-feed__subitem" }, am = { class: "ao-card-feed__timer-wrapper" }, nm = { class: "ao-card-feed__footer-row" }, sm = {
11715
11741
  key: 0,
11716
11742
  class: "ao-card-feed__progress-wrapper"
11717
- }, om = { class: "ao-card-feed__subitem" }, rm = { class: "ao-card-feed__subitem" }, wi = /* @__PURE__ */ X({
11743
+ }, im = { class: "ao-card-feed__subitem" }, om = { class: "ao-card-feed__subitem" }, wi = /* @__PURE__ */ X({
11718
11744
  __name: "AoCardFeed",
11719
11745
  props: {
11720
11746
  id: {},
@@ -11766,7 +11792,7 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
11766
11792
  "is-clickable": !0
11767
11793
  }, {
11768
11794
  header: q(() => [
11769
- h("div", R9, [
11795
+ h("div", j9, [
11770
11796
  s.value ? (v(), B(ua, {
11771
11797
  key: 0,
11772
11798
  label: s.value,
@@ -11775,7 +11801,7 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
11775
11801
  color: f.projectColor ? void 0 : "primary",
11776
11802
  "raw-color": n.value
11777
11803
  }, null, 8, ["label", "color", "raw-color"])) : E("", !0),
11778
- f.isPrivate || f.important || f.isClosed ? (v(), y("div", N9, [
11804
+ f.isPrivate || f.important || f.isClosed ? (v(), y("div", R9, [
11779
11805
  f.isPrivate ? (v(), B(ve, {
11780
11806
  key: 0,
11781
11807
  name: "Lock",
@@ -11794,17 +11820,17 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
11794
11820
  class: "ao-card-feed__closed"
11795
11821
  })) : E("", !0)
11796
11822
  ])) : E("", !0),
11797
- f.$slots.secondary ? (v(), y("div", U9, [
11823
+ f.$slots.secondary ? (v(), y("div", N9, [
11798
11824
  ae(f.$slots, "secondary")
11799
11825
  ])) : E("", !0)
11800
11826
  ])
11801
11827
  ]),
11802
11828
  default: q(() => [
11803
- h("div", F9, [
11804
- i.value ? (v(), y("span", Z9, z(i.value), 1)) : E("", !0),
11805
- h("div", W9, [
11806
- h("div", z9, [
11807
- f.slug ? (v(), y("span", q9, 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),
11808
11834
  T($e, {
11809
11835
  id: f.id,
11810
11836
  title: f.name,
@@ -11815,17 +11841,17 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
11815
11841
  }, null, 8, ["id", "title", "is-editable"])
11816
11842
  ])
11817
11843
  ]),
11818
- f.deadline ? (v(), y("span", Y9, z(l.value), 1)) : E("", !0)
11844
+ f.deadline ? (v(), y("span", q9, z(l.value), 1)) : E("", !0)
11819
11845
  ])
11820
11846
  ]),
11821
11847
  footer: q(() => [
11822
- h("div", x9, [
11823
- h("div", K9, [
11824
- h("ul", G9, [
11848
+ h("div", Y9, [
11849
+ h("div", x9, [
11850
+ h("ul", K9, [
11825
11851
  (v(!0), y(he, null, Ce(r.value, (m) => (v(), y(he, {
11826
11852
  key: m.id
11827
11853
  }, [
11828
- m ? (v(), y("li", X9, [
11854
+ m ? (v(), y("li", G9, [
11829
11855
  T(Ct, {
11830
11856
  "user-name": W(Js)(m),
11831
11857
  "avatar-url": m.avatarUrl,
@@ -11835,23 +11861,23 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
11835
11861
  ])) : E("", !0)
11836
11862
  ], 64))), 128))
11837
11863
  ]),
11838
- f.comments || f.attachments ? (v(), y("ul", Q9, [
11839
- f.comments ? (v(), y("li", J9, [
11864
+ f.comments || f.attachments ? (v(), y("ul", X9, [
11865
+ f.comments ? (v(), y("li", Q9, [
11840
11866
  T(ve, {
11841
11867
  name: "ChatOutline",
11842
11868
  size: "sm"
11843
11869
  }),
11844
- h("span", em, z(f.comments), 1)
11870
+ h("span", J9, z(f.comments), 1)
11845
11871
  ])) : E("", !0),
11846
- f.attachments ? (v(), y("li", tm, [
11872
+ f.attachments ? (v(), y("li", em, [
11847
11873
  T(ve, {
11848
11874
  name: "AttachFileRounded",
11849
11875
  size: "sm"
11850
11876
  }),
11851
- h("span", am, z(f.attachments), 1)
11877
+ h("span", tm, z(f.attachments), 1)
11852
11878
  ])) : E("", !0)
11853
11879
  ])) : E("", !0),
11854
- h("div", nm, [
11880
+ h("div", am, [
11855
11881
  T(ve, {
11856
11882
  name: "TimerOutline",
11857
11883
  class: "ao-card-feed__timer",
@@ -11860,14 +11886,14 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
11860
11886
  }, null, 8, ["onClick"])
11861
11887
  ])
11862
11888
  ]),
11863
- h("div", sm, [
11864
- f.tasks && f.tasks.length ? (v(), y("div", im, [
11865
- h("div", om, [
11889
+ h("div", nm, [
11890
+ f.tasks && f.tasks.length ? (v(), y("div", sm, [
11891
+ h("div", im, [
11866
11892
  T(ve, {
11867
11893
  name: "SelectCheckBox",
11868
11894
  size: "sm"
11869
11895
  }),
11870
- h("span", rm, z(p.value) + " / " + z(d.value), 1)
11896
+ h("span", om, z(p.value) + " / " + z(d.value), 1)
11871
11897
  ]),
11872
11898
  T(dn, {
11873
11899
  percentages: g.value,
@@ -11881,10 +11907,10 @@ const R9 = { class: "ao-card-feed__header" }, N9 = {
11881
11907
  }, 8, ["class"]));
11882
11908
  }
11883
11909
  });
11884
- const lm = { class: "ao-project-milestone" }, um = { class: "ao-project-milestone__header" }, cm = { class: "ao-project-milestone__header_line" }, dm = { class: "ao-project-milestone__header_line" }, pm = { class: "ao-project-milestone__title" }, vm = {
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 = {
11885
11911
  key: 0,
11886
11912
  class: "ao-fieldset ao-milestone__fieldset"
11887
- }, fm = { class: "ao-field__row ao-milestone__field-row" }, hm = { class: "ao-field ao-field--inline" }, mm = { class: "ao-field__row ao-milestone__field-row" }, gm = { class: "ao-field ao-milestone__field-multiselect" }, Cm = ["onClick"], _m = { class: "ao-project-milestone__body" }, ym = {
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 = {
11888
11914
  key: 0,
11889
11915
  class: "ao-project-milestone__footer"
11890
11916
  }, Hs = /* @__PURE__ */ X({
@@ -12004,9 +12030,9 @@ const lm = { class: "ao-project-milestone" }, um = { class: "ao-project-mileston
12004
12030
  };
12005
12031
  return (b, I) => {
12006
12032
  var O;
12007
- return v(), y("div", lm, [
12008
- h("header", um, [
12009
- h("div", cm, [
12033
+ return v(), y("div", rm, [
12034
+ h("header", lm, [
12035
+ h("div", um, [
12010
12036
  T(ue, {
12011
12037
  "icon-name": "CloseRounded",
12012
12038
  variant: "ghost",
@@ -12015,8 +12041,8 @@ const lm = { class: "ao-project-milestone" }, um = { class: "ao-project-mileston
12015
12041
  onClick: c
12016
12042
  })
12017
12043
  ]),
12018
- h("div", dm, [
12019
- h("div", pm, [
12044
+ h("div", cm, [
12045
+ h("div", dm, [
12020
12046
  T($e, {
12021
12047
  title: ((O = r.value) == null ? void 0 : O.name) || b.milestoneId,
12022
12048
  level: 5
@@ -12035,9 +12061,9 @@ const lm = { class: "ao-project-milestone" }, um = { class: "ao-project-mileston
12035
12061
  }, null, 8, ["modelValue", "disabled", "label"])
12036
12062
  ])
12037
12063
  ]),
12038
- r.value ? (v(), y("div", vm, [
12039
- h("div", fm, [
12040
- h("label", hm, [
12064
+ r.value ? (v(), y("div", pm, [
12065
+ h("div", vm, [
12066
+ h("label", fm, [
12041
12067
  be(h("input", {
12042
12068
  "onUpdate:modelValue": I[1] || (I[1] = (D) => f.value = D),
12043
12069
  class: "ao-milestone__field ao-milestone__date-field",
@@ -12052,8 +12078,8 @@ const lm = { class: "ao-project-milestone" }, um = { class: "ao-project-mileston
12052
12078
  ])
12053
12079
  ])
12054
12080
  ]),
12055
- h("div", mm, [
12056
- h("label", gm, [
12081
+ h("div", hm, [
12082
+ h("label", mm, [
12057
12083
  T(He, {
12058
12084
  modelValue: $.value,
12059
12085
  "onUpdate:modelValue": I[2] || (I[2] = (D) => $.value = D),
@@ -12091,13 +12117,13 @@ const lm = { class: "ao-project-milestone" }, um = { class: "ao-project-mileston
12091
12117
  style: Fe({ background: U }),
12092
12118
  class: "color-button",
12093
12119
  onClick: (G) => C(G, D)
12094
- }, null, 12, Cm)
12120
+ }, null, 12, gm)
12095
12121
  ]),
12096
12122
  _: 1
12097
12123
  }, 8, ["color"])
12098
12124
  ])) : E("", !0)
12099
12125
  ]),
12100
- h("div", _m, [
12126
+ h("div", Cm, [
12101
12127
  T(W(gt), Ae({
12102
12128
  class: "ao-project-milestone__activities",
12103
12129
  list: l.value,
@@ -12170,7 +12196,7 @@ const lm = { class: "ao-project-milestone" }, um = { class: "ao-project-mileston
12170
12196
  }),
12171
12197
  _: 1
12172
12198
  }, 16, ["list", "disabled"]),
12173
- b.isEditable ? (v(), y("div", ym, [
12199
+ b.isEditable ? (v(), y("div", _m, [
12174
12200
  T(_t, {
12175
12201
  "icon-name": "Add",
12176
12202
  label: b.$t("project.activity.add"),
@@ -12182,7 +12208,7 @@ const lm = { class: "ao-project-milestone" }, um = { class: "ao-project-mileston
12182
12208
  };
12183
12209
  }
12184
12210
  });
12185
- const bm = /* @__PURE__ */ X({
12211
+ const ym = /* @__PURE__ */ X({
12186
12212
  __name: "AoProjectOverviewActivityDetails",
12187
12213
  props: {
12188
12214
  phaseId: {},
@@ -12271,14 +12297,14 @@ const bm = /* @__PURE__ */ X({
12271
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);
12272
12298
  };
12273
12299
  }
12274
- }), wm = { class: "ao-col-header" }, $m = /* @__PURE__ */ X({
12300
+ }), bm = { class: "ao-col-header" }, wm = /* @__PURE__ */ X({
12275
12301
  __name: "AoColHeader",
12276
12302
  props: {
12277
12303
  title: {},
12278
12304
  items: {}
12279
12305
  },
12280
12306
  setup(t) {
12281
- return (e, a) => (v(), y("header", wm, [
12307
+ return (e, a) => (v(), y("header", bm, [
12282
12308
  T($e, {
12283
12309
  title: e.title,
12284
12310
  class: "ao-col-header__title",
@@ -12294,17 +12320,17 @@ const bm = /* @__PURE__ */ X({
12294
12320
  ]));
12295
12321
  }
12296
12322
  });
12297
- function km(t) {
12323
+ function $m(t) {
12298
12324
  return qi() ? (Yi(t), !0) : !1;
12299
12325
  }
12300
12326
  function Ya(t) {
12301
12327
  return typeof t == "function" ? t() : W(t);
12302
12328
  }
12303
- const Sm = typeof window < "u" && typeof document < "u";
12329
+ const km = typeof window < "u" && typeof document < "u";
12304
12330
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
12305
- const Mm = (t) => t != null, la = () => {
12331
+ const Sm = (t) => t != null, la = () => {
12306
12332
  };
12307
- function Am(t, e) {
12333
+ function Mm(t, e) {
12308
12334
  function a(...s) {
12309
12335
  return new Promise((n, o) => {
12310
12336
  Promise.resolve(t(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
@@ -12312,7 +12338,7 @@ function Am(t, e) {
12312
12338
  }
12313
12339
  return a;
12314
12340
  }
12315
- function Tm(t, e = {}) {
12341
+ function Am(t, e = {}) {
12316
12342
  let a, s, n = la;
12317
12343
  const o = (r) => {
12318
12344
  clearTimeout(r), n(), n = la;
@@ -12328,9 +12354,9 @@ function Tm(t, e = {}) {
12328
12354
  });
12329
12355
  };
12330
12356
  }
12331
- function Om(t, e = 200, a = {}) {
12332
- return Am(
12333
- Tm(e, a),
12357
+ function Tm(t, e = 200, a = {}) {
12358
+ return Mm(
12359
+ Am(e, a),
12334
12360
  t
12335
12361
  );
12336
12362
  }
@@ -12339,27 +12365,27 @@ function Sn(t) {
12339
12365
  const a = Ya(t);
12340
12366
  return (e = a == null ? void 0 : a.$el) != null ? e : a;
12341
12367
  }
12342
- const Em = Sm ? window : void 0;
12343
- function Im() {
12368
+ const Om = km ? window : void 0;
12369
+ function Em() {
12344
12370
  const t = x(!1), e = Dt();
12345
12371
  return e && Pt(() => {
12346
12372
  t.value = !0;
12347
12373
  }, e), t;
12348
12374
  }
12349
- function Lm(t) {
12350
- const e = Im();
12375
+ function Im(t) {
12376
+ const e = Em();
12351
12377
  return S(() => (e.value, !!t()));
12352
12378
  }
12353
- function Pm(t, e, a = {}) {
12379
+ function Lm(t, e, a = {}) {
12354
12380
  const {
12355
12381
  root: s,
12356
12382
  rootMargin: n = "0px",
12357
12383
  threshold: o = 0.1,
12358
- window: i = Em,
12384
+ window: i = Om,
12359
12385
  immediate: r = !0
12360
- } = a, l = Lm(() => i && "IntersectionObserver" in i), c = S(() => {
12386
+ } = a, l = Im(() => i && "IntersectionObserver" in i), c = S(() => {
12361
12387
  const f = Ya(t);
12362
- return (Array.isArray(f) ? f : [f]).map(Sn).filter(Mm);
12388
+ return (Array.isArray(f) ? f : [f]).map(Sn).filter(Sm);
12363
12389
  });
12364
12390
  let u = la;
12365
12391
  const d = x(r), p = l.value ? de(
@@ -12383,7 +12409,7 @@ function Pm(t, e, a = {}) {
12383
12409
  ) : la, g = () => {
12384
12410
  u(), p(), d.value = !1;
12385
12411
  };
12386
- return km(g), {
12412
+ return $m(g), {
12387
12413
  isSupported: l,
12388
12414
  isActive: d,
12389
12415
  pause() {
@@ -12395,24 +12421,24 @@ function Pm(t, e, a = {}) {
12395
12421
  stop: g
12396
12422
  };
12397
12423
  }
12398
- const Dm = {
12424
+ const Pm = {
12399
12425
  class: /* @__PURE__ */ ee(["ao-list-kanban"])
12400
- }, Hm = { class: "ao-list-kanban__header" }, Vm = {
12426
+ }, Dm = { class: "ao-list-kanban__header" }, Hm = {
12401
12427
  key: 0,
12402
12428
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
12403
- }, Bm = {
12429
+ }, Vm = {
12404
12430
  key: 1,
12405
12431
  class: "ao-list-kanban__end"
12406
- }, jm = {
12432
+ }, Bm = {
12407
12433
  key: 0,
12408
12434
  class: "ao-list-kanban__no-more"
12409
- }, Rm = {
12435
+ }, jm = {
12410
12436
  key: 1,
12411
12437
  class: "ao-list-kanban__divider"
12412
- }, Nm = {
12438
+ }, Rm = {
12413
12439
  key: 1,
12414
12440
  class: "ao-list-kanban__footer"
12415
- }, Um = /* @__PURE__ */ X({
12441
+ }, Nm = /* @__PURE__ */ X({
12416
12442
  __name: "AoListKanban",
12417
12443
  props: {
12418
12444
  list: {},
@@ -12430,7 +12456,7 @@ const Dm = {
12430
12456
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "unarchiveActivity", "updateActivity", "startTimer"],
12431
12457
  setup(t, { emit: e }) {
12432
12458
  const a = t, s = x(!1), n = x(null);
12433
- Pm(n, ([{ isIntersecting: u }]) => {
12459
+ Lm(n, ([{ isIntersecting: u }]) => {
12434
12460
  s.value = u;
12435
12461
  }), de(s, (u) => {
12436
12462
  u && a.hasMore && !a.isLoading && e("loadMore");
@@ -12455,12 +12481,12 @@ const Dm = {
12455
12481
  )
12456
12482
  });
12457
12483
  }, c = x(!1);
12458
- return (u, d) => (v(), y("div", Dm, [
12484
+ return (u, d) => (v(), y("div", Pm, [
12459
12485
  u.title || u.$slots.header ? ae(u.$slots, "header", { key: 0 }, () => {
12460
12486
  var p;
12461
12487
  return [
12462
- h("div", Hm, [
12463
- u.title ? (v(), B($m, {
12488
+ h("div", Dm, [
12489
+ u.title ? (v(), B(wm, {
12464
12490
  key: 0,
12465
12491
  title: u.title,
12466
12492
  level: 3,
@@ -12548,20 +12574,20 @@ const Dm = {
12548
12574
  ];
12549
12575
  }),
12550
12576
  footer: q(() => [
12551
- u.isLoading ? (v(), y("div", Vm, [
12577
+ u.isLoading ? (v(), y("div", Hm, [
12552
12578
  T(ve, { name: "Loading" })
12553
12579
  ])) : u.hasMore ? (v(), y("div", {
12554
12580
  key: 2,
12555
12581
  ref_key: "scrollEnd",
12556
12582
  ref: n,
12557
12583
  class: "ao-list-kanban__end"
12558
- }, null, 512)) : (v(), y("div", Bm, [
12559
- u.noMoreLabel ? (v(), y("span", jm, z(u.noMoreLabel), 1)) : u.isEditable ? (v(), y("span", Rm)) : 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)
12560
12586
  ]))
12561
12587
  ]),
12562
12588
  _: 1
12563
12589
  }, 16, ["class", "list", "disabled"]),
12564
- u.$slots.footer || u.footerLabel ? (v(), y("div", Nm, [
12590
+ u.$slots.footer || u.footerLabel ? (v(), y("div", Rm, [
12565
12591
  ae(u.$slots, "footer", {}, () => [
12566
12592
  u.isEditable ? (v(), B(_t, {
12567
12593
  key: 0,
@@ -12574,7 +12600,7 @@ const Dm = {
12574
12600
  ]));
12575
12601
  }
12576
12602
  });
12577
- const Fm = { class: "ao-field ao-search-field" }, Zm = ["value", "placeholder", "onKeypress"], Wm = /* @__PURE__ */ X({
12603
+ const Um = { class: "ao-field ao-search-field" }, Fm = ["value", "placeholder", "onKeypress"], Zm = /* @__PURE__ */ X({
12578
12604
  __name: "AoSearchField",
12579
12605
  props: {
12580
12606
  modelValue: {},
@@ -12586,10 +12612,10 @@ const Fm = { class: "ao-field ao-search-field" }, Zm = ["value", "placeholder",
12586
12612
  const a = t, s = async (i) => {
12587
12613
  const l = i.target.value;
12588
12614
  e("update:modelValue", l, i);
12589
- }, n = Om(s, a.delay), o = (i) => {
12615
+ }, n = Tm(s, a.delay), o = (i) => {
12590
12616
  e("clear", i);
12591
12617
  };
12592
- return (i, r) => (v(), y("div", Fm, [
12618
+ return (i, r) => (v(), y("div", Um, [
12593
12619
  h("input", {
12594
12620
  value: i.modelValue,
12595
12621
  type: "text",
@@ -12598,7 +12624,7 @@ const Fm = { class: "ao-field ao-search-field" }, Zm = ["value", "placeholder",
12598
12624
  onInput: r[0] || (r[0] = //@ts-ignore
12599
12625
  (...l) => W(n) && W(n)(...l)),
12600
12626
  onKeypress: vt(s, ["enter"])
12601
- }, null, 40, Zm),
12627
+ }, null, 40, Fm),
12602
12628
  T(ve, {
12603
12629
  name: "SearchRounded",
12604
12630
  class: ee(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
@@ -12614,7 +12640,7 @@ const Fm = { class: "ao-field ao-search-field" }, Zm = ["value", "placeholder",
12614
12640
  ]));
12615
12641
  }
12616
12642
  });
12617
- const zm = { class: "ao-feed" }, qm = { class: "ao-feed__filters" }, Ym = { class: "ao-feed__body" }, xm = /* @__PURE__ */ X({
12643
+ const Wm = { class: "ao-feed" }, zm = { class: "ao-feed__filters" }, qm = { class: "ao-feed__body" }, Ym = /* @__PURE__ */ X({
12618
12644
  __name: "AoFeed",
12619
12645
  props: {
12620
12646
  activities: {},
@@ -12738,16 +12764,16 @@ const zm = { class: "ao-feed" }, qm = { class: "ao-feed__filters" }, Ym = { clas
12738
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..."));
12739
12765
  }), (L, Z) => {
12740
12766
  var oe;
12741
- return v(), y("div", zm, [
12767
+ return v(), y("div", Wm, [
12742
12768
  T(wa, null, {
12743
12769
  primary: q(() => [
12744
- h("div", qm, [
12770
+ h("div", zm, [
12745
12771
  T(un, {
12746
12772
  tabs: F,
12747
12773
  modelValue: A.value,
12748
12774
  "onUpdate:modelValue": Z[0] || (Z[0] = (k) => A.value = k)
12749
12775
  }, null, 8, ["modelValue"]),
12750
- T(Wm, {
12776
+ T(Zm, {
12751
12777
  "model-value": L.searchText,
12752
12778
  placeholder: L.$t("feed.search.placeholder"),
12753
12779
  class: "ao-feed__search",
@@ -12840,8 +12866,8 @@ const zm = { class: "ao-feed" }, qm = { class: "ao-feed__filters" }, Ym = { clas
12840
12866
  ]),
12841
12867
  _: 1
12842
12868
  }),
12843
- h("div", Ym, [
12844
- (v(!0), y(he, null, Ce(L.statuses, (k) => (v(), B(Um, {
12869
+ h("div", qm, [
12870
+ (v(!0), y(he, null, Ce(L.statuses, (k) => (v(), B(Nm, {
12845
12871
  key: k.id,
12846
12872
  status: k,
12847
12873
  list: r.value[k.id],
@@ -12897,10 +12923,10 @@ const zm = { class: "ao-feed" }, qm = { class: "ao-feed__filters" }, Ym = { clas
12897
12923
  };
12898
12924
  }
12899
12925
  });
12900
- const Km = { class: "ao-project-mapping" }, Gm = { class: "ao-project-mapping-mapping__body" }, Xm = { class: "ao-project-mapping-mapping__phases" }, Qm = {
12926
+ const xm = { class: "ao-project-mapping" }, Km = { class: "ao-project-mapping-mapping__body" }, Gm = { class: "ao-project-mapping-mapping__phases" }, Xm = {
12901
12927
  key: 0,
12902
12928
  class: "ao-project-mapping-mapping__image-wrapper"
12903
- }, Jm = ["src", "alt"], e4 = /* @__PURE__ */ X({
12929
+ }, Qm = ["src", "alt"], Jm = /* @__PURE__ */ X({
12904
12930
  __name: "AoMapping",
12905
12931
  props: {
12906
12932
  project: {},
@@ -12946,7 +12972,7 @@ const Km = { class: "ao-project-mapping" }, Gm = { class: "ao-project-mapping-ma
12946
12972
  var _;
12947
12973
  return v(), y(he, null, [
12948
12974
  h("div", Ae({ class: "ao-project-mapping-overview" }, m.$attrs), [
12949
- h("div", Km, [
12975
+ h("div", xm, [
12950
12976
  T(wa, null, {
12951
12977
  primary: q(() => [
12952
12978
  T(un, {
@@ -12985,8 +13011,8 @@ const Km = { class: "ao-project-mapping" }, Gm = { class: "ao-project-mapping-ma
12985
13011
  ]),
12986
13012
  _: 1
12987
13013
  }),
12988
- h("div", Gm, [
12989
- h("div", Xm, [
13014
+ h("div", Km, [
13015
+ h("div", Gm, [
12990
13016
  T(_i, {
12991
13017
  phases: m.phases,
12992
13018
  "closed-status": m.closedStatus,
@@ -13000,12 +13026,12 @@ const Km = { class: "ao-project-mapping" }, Gm = { class: "ao-project-mapping-ma
13000
13026
  onCopyPhaseToTemplate: l
13001
13027
  }, null, 8, ["phases", "closed-status", "is-editable", "users", "estimation-unit"])
13002
13028
  ]),
13003
- m.project.architectureImage ? (v(), y("div", Qm, [
13029
+ m.project.architectureImage ? (v(), y("div", Xm, [
13004
13030
  h("img", {
13005
13031
  class: "architecture-image",
13006
13032
  src: m.project.architectureImage.url,
13007
13033
  alt: W(s)("architectureImage.alt")
13008
- }, null, 8, Jm)
13034
+ }, null, 8, Qm)
13009
13035
  ])) : E("", !0)
13010
13036
  ])
13011
13037
  ])
@@ -13033,7 +13059,7 @@ const Nt = {
13033
13059
  TEMPLATES: "templates",
13034
13060
  TEMPLATE_DETAILS: "template_details",
13035
13061
  TEMPLATES_LIST: "templates_list"
13036
- }, g4 = (t, e = {}) => [
13062
+ }, m4 = (t, e = {}) => [
13037
13063
  {
13038
13064
  path: t,
13039
13065
  name: Nt.TEMPLATES,
@@ -13043,12 +13069,12 @@ const Nt = {
13043
13069
  {
13044
13070
  path: "",
13045
13071
  name: Nt.TEMPLATES_LIST,
13046
- component: a4
13072
+ component: t4
13047
13073
  },
13048
13074
  {
13049
13075
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
13050
13076
  name: Nt.TEMPLATE_DETAILS,
13051
- component: eh,
13077
+ component: Jf,
13052
13078
  props: !0
13053
13079
  }
13054
13080
  ]
@@ -13059,7 +13085,7 @@ const Nt = {
13059
13085
  mapping: "AoProjectMapping",
13060
13086
  milestone: "AoMilestone",
13061
13087
  activity: "AoActivity"
13062
- }, C4 = (t, e = {}) => [
13088
+ }, g4 = (t, e = {}) => [
13063
13089
  {
13064
13090
  path: t,
13065
13091
  ...e,
@@ -13068,7 +13094,7 @@ const Nt = {
13068
13094
  {
13069
13095
  path: "",
13070
13096
  name: ye.project,
13071
- component: j9,
13097
+ component: B9,
13072
13098
  props: !0,
13073
13099
  children: [
13074
13100
  {
@@ -13083,7 +13109,7 @@ const Nt = {
13083
13109
  props: { default: !0, modal: !0 },
13084
13110
  components: {
13085
13111
  default: Hs,
13086
- modal: bm
13112
+ modal: ym
13087
13113
  }
13088
13114
  }
13089
13115
  ]
@@ -13091,18 +13117,18 @@ const Nt = {
13091
13117
  {
13092
13118
  path: "feed",
13093
13119
  name: ye.feed,
13094
- component: xm,
13120
+ component: Ym,
13095
13121
  props: !0
13096
13122
  },
13097
13123
  {
13098
13124
  path: "mapping",
13099
13125
  name: ye.mapping,
13100
- component: e4,
13126
+ component: Jm,
13101
13127
  props: !0
13102
13128
  }
13103
13129
  ]
13104
13130
  }
13105
- ], t4 = { class: "ao-templates" }, a4 = /* @__PURE__ */ X({
13131
+ ], e4 = { class: "ao-templates" }, t4 = /* @__PURE__ */ X({
13106
13132
  __name: "AoTemplatesList",
13107
13133
  props: {
13108
13134
  templates: {}
@@ -13151,7 +13177,7 @@ const Nt = {
13151
13177
  });
13152
13178
  }
13153
13179
  };
13154
- return (l, c) => (v(), y("div", t4, [
13180
+ return (l, c) => (v(), y("div", e4, [
13155
13181
  T(wa, null, {
13156
13182
  secondary: q(() => [
13157
13183
  T(ue, {
@@ -13196,7 +13222,7 @@ const Nt = {
13196
13222
  ]));
13197
13223
  }
13198
13224
  });
13199
- const n4 = { class: "ao-field__label" }, s4 = /* @__PURE__ */ X({
13225
+ const a4 = { class: "ao-field__label" }, n4 = /* @__PURE__ */ X({
13200
13226
  __name: "AoField",
13201
13227
  props: {
13202
13228
  label: {},
@@ -13206,11 +13232,11 @@ const n4 = { class: "ao-field__label" }, s4 = /* @__PURE__ */ X({
13206
13232
  return (e, a) => (v(), y("label", {
13207
13233
  class: ee(["ao-field", { "ao-field--multiselect": e.isMultiselect }])
13208
13234
  }, [
13209
- h("span", n4, z(e.label), 1),
13235
+ h("span", a4, z(e.label), 1),
13210
13236
  ae(e.$slots, "default")
13211
13237
  ], 2));
13212
13238
  }
13213
- }), i4 = ["type", "value", "disabled", "readonly"], _4 = /* @__PURE__ */ X({
13239
+ }), s4 = ["type", "value", "disabled", "readonly"], C4 = /* @__PURE__ */ X({
13214
13240
  __name: "AoInputField",
13215
13241
  props: {
13216
13242
  label: { default: "" },
@@ -13227,7 +13253,7 @@ const n4 = { class: "ao-field__label" }, s4 = /* @__PURE__ */ X({
13227
13253
  ), n = (o) => {
13228
13254
  a.modelModifiers.number && (o = Number(o)), e("update:modelValue", o);
13229
13255
  };
13230
- return (o, i) => (v(), B(s4, { label: o.label }, {
13256
+ return (o, i) => (v(), B(n4, { label: o.label }, {
13231
13257
  default: q(() => [
13232
13258
  h("input", Ae({
13233
13259
  class: "ao-field__input",
@@ -13237,12 +13263,12 @@ const n4 = { class: "ao-field__label" }, s4 = /* @__PURE__ */ X({
13237
13263
  readonly: o.isReadonly
13238
13264
  }, {
13239
13265
  [xi(s.value)]: i[0] || (i[0] = (r) => n(r.target.value))
13240
- }), null, 16, i4)
13266
+ }), null, 16, s4)
13241
13267
  ]),
13242
13268
  _: 1
13243
13269
  }, 8, ["label"]));
13244
13270
  }
13245
- }), o4 = { class: "ao-field" }, r4 = { class: "ao-field__label" }, l4 = ["checked", "disabled"], y4 = /* @__PURE__ */ X({
13271
+ }), i4 = { class: "ao-field" }, o4 = { class: "ao-field__label" }, r4 = ["checked", "disabled"], _4 = /* @__PURE__ */ X({
13246
13272
  __name: "AoCheckboxField",
13247
13273
  props: {
13248
13274
  label: { default: "" },
@@ -13252,8 +13278,8 @@ const n4 = { class: "ao-field__label" }, s4 = /* @__PURE__ */ X({
13252
13278
  },
13253
13279
  emits: ["update:modelValue"],
13254
13280
  setup(t) {
13255
- return (e, a) => (v(), y("label", o4, [
13256
- h("span", r4, z(e.label), 1),
13281
+ return (e, a) => (v(), y("label", i4, [
13282
+ h("span", o4, z(e.label), 1),
13257
13283
  h("input", {
13258
13284
  class: "ao-field__input",
13259
13285
  type: "checkbox",
@@ -13266,32 +13292,32 @@ const n4 = { class: "ao-field__label" }, s4 = /* @__PURE__ */ X({
13266
13292
  ((n = s.target) == null ? void 0 : n.checked) ?? !1
13267
13293
  );
13268
13294
  })
13269
- }, null, 40, l4)
13295
+ }, null, 40, r4)
13270
13296
  ]));
13271
13297
  }
13272
13298
  });
13273
13299
  export {
13274
13300
  Ct as AoAvatar,
13275
13301
  wi as AoCardFeed,
13276
- y4 as AoCheckboxField,
13302
+ _4 as AoCheckboxField,
13277
13303
  os as AoColorPicker,
13278
- xm as AoFeed,
13279
- s4 as AoField,
13280
- _4 as AoInputField,
13304
+ Ym as AoFeed,
13305
+ n4 as AoField,
13306
+ C4 as AoInputField,
13281
13307
  He as AoMultiselect,
13282
13308
  _i as AoProjectPhases,
13283
13309
  un as AoTabBar,
13284
- eh as AoTemplateDetails,
13285
- v4 as AoTemplates,
13286
- a4 as AoTemplatesList,
13310
+ Jf as AoTemplateDetails,
13311
+ p4 as AoTemplates,
13312
+ t4 as AoTemplatesList,
13287
13313
  t0 as EstimationUnit,
13288
13314
  e0 as TemplateItemTypeEnum,
13289
- h4 as activityFeedStatus,
13290
- f4 as durationTypes,
13315
+ f4 as activityFeedStatus,
13316
+ v4 as durationTypes,
13291
13317
  jt as feedFilterTypes,
13292
- C4 as getProjectOverviewRoutes,
13293
- g4 as getTemplateRoutes,
13294
- m4 as listUpdateTypes,
13318
+ g4 as getProjectOverviewRoutes,
13319
+ m4 as getTemplateRoutes,
13320
+ h4 as listUpdateTypes,
13295
13321
  Ra as milestoneStatus,
13296
13322
  ye as projectOverviewRoutes,
13297
13323
  X2 as ruleComparators,