@26lights/orcha 0.16.4 → 0.16.6

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 c, createBlock as R, unref as F, mergeProps as He, createElementBlock as m, createElementVNode as f, pushScopeId as rn, popScopeId as un, createStaticVNode as dn, computed as y, resolveDynamicComponent as at, normalizeClass as G, renderSlot as ee, toDisplayString as q, createCommentVNode as k, ref as Q, watch as ue, nextTick as Ie, withKeys as Ye, toHandlers as cn, withCtx as j, createTextVNode as e1, createVNode as T, normalizeStyle as ua, withModifiers as _e, createSlots as t1, Fragment as ve, renderList as be, onMounted as Ht, onBeforeUnmount as fn, onUnmounted as da, toRefs as $e, getCurrentInstance as nt, toRef as ft, normalizeProps as vn, guardReactiveProps as pn, onUpdated as hn, withDirectives as et, vModelText as Et, vModelCheckbox as x1, Teleport as It, resolveComponent as mn, getCurrentScope as Cn, onScopeDispose as _n, provide as gn } from "vue";
2
2
  import { RouterView as bn } from "vue-router";
3
3
  import Xe from "vuedraggable";
4
- const a8 = /* @__PURE__ */ x({
4
+ const n8 = /* @__PURE__ */ x({
5
5
  __name: "AoTemplates",
6
6
  props: {
7
7
  templates: {}
@@ -1432,11 +1432,11 @@ const k1 = {
1432
1432
  todo: "todo",
1433
1433
  done: "done",
1434
1434
  archived: "archived"
1435
- }, n8 = {
1435
+ }, s8 = {
1436
1436
  months: "months",
1437
1437
  weeks: "weeks",
1438
1438
  days: "days"
1439
- }, s8 = {
1439
+ }, i8 = {
1440
1440
  future: "future",
1441
1441
  this_month: "this_month",
1442
1442
  this_week: "this_week",
@@ -1460,7 +1460,7 @@ const k1 = {
1460
1460
  TASKS: "tasks"
1461
1461
  };
1462
1462
  var $d = /* @__PURE__ */ ((a) => (a.PHASES = "phases", a.MILESTONES = "milestones", a.ACTIVITIES = "activities", a))($d || {});
1463
- const i8 = {
1463
+ const o8 = {
1464
1464
  add: "add",
1465
1465
  remove: "remove",
1466
1466
  moved: "moved"
@@ -5289,7 +5289,7 @@ function Z3(a, e, t) {
5289
5289
  let ne = _;
5290
5290
  if (N.value && L.value) {
5291
5291
  let he = Y.value;
5292
- he || (he = (yt, Q4) => {
5292
+ he || (he = (yt, J4) => {
5293
5293
  let G1 = $1(Za(yt[Le.value]), de.value);
5294
5294
  return M.value ? G1.startsWith($1(N.value, de.value)) : G1.indexOf($1(N.value, de.value)) !== -1;
5295
5295
  }), ne = ne.filter(he);
@@ -8817,30 +8817,33 @@ const Ba = /* @__PURE__ */ P(V9, [["render", D9], ["__scopeId", "data-v-8f286655
8817
8817
  }
8818
8818
  });
8819
8819
  const U9 = { class: "ao-card-feed__header" }, j9 = {
8820
- key: 3,
8820
+ key: 1,
8821
+ class: "ao-card-feed__header-secondary ao-card-feed__header-icons"
8822
+ }, Z9 = {
8823
+ key: 2,
8821
8824
  class: "ao-card-feed__header-secondary ao-card-feed__secondary"
8822
- }, Z9 = { class: "ao-card-feed__body" }, F9 = {
8825
+ }, F9 = { class: "ao-card-feed__body" }, q9 = {
8823
8826
  key: 0,
8824
8827
  class: "ao-card-feed__breadcrumbs"
8825
- }, q9 = {
8828
+ }, z9 = {
8826
8829
  key: 1,
8827
8830
  class: "ao-card-feed__deadline"
8828
- }, z9 = { class: "ao-card-feed__footer" }, W9 = { class: "ao-card-feed__footer-row" }, Y9 = { class: "ao-assignees" }, K9 = {
8831
+ }, W9 = { class: "ao-card-feed__footer" }, Y9 = { class: "ao-card-feed__footer-row" }, K9 = { class: "ao-assignees" }, G9 = {
8829
8832
  key: 0,
8830
8833
  class: "ao-assignee"
8831
- }, G9 = {
8834
+ }, x9 = {
8832
8835
  key: 0,
8833
8836
  class: "ao-card-feed__subitems"
8834
- }, x9 = {
8837
+ }, X9 = {
8835
8838
  key: 0,
8836
8839
  class: "ao-card-feed__subitem"
8837
- }, X9 = { class: "ao-card-feed__subitem" }, Q9 = {
8840
+ }, Q9 = { class: "ao-card-feed__subitem" }, J9 = {
8838
8841
  key: 1,
8839
8842
  class: "ao-card-feed__subitem"
8840
- }, J9 = { class: "ao-card-feed__subitem" }, e4 = { class: "ao-card-feed__footer-row" }, t4 = {
8843
+ }, e4 = { class: "ao-card-feed__subitem" }, t4 = { class: "ao-card-feed__footer-row" }, a4 = {
8841
8844
  key: 0,
8842
8845
  class: "ao-card-feed__progress-wrapper"
8843
- }, a4 = { class: "ao-card-feed__subitem" }, n4 = { class: "ao-card-feed__subitem" }, Na = /* @__PURE__ */ x({
8846
+ }, n4 = { class: "ao-card-feed__subitem" }, s4 = { class: "ao-card-feed__subitem" }, Na = /* @__PURE__ */ x({
8844
8847
  __name: "AoCardFeed",
8845
8848
  props: {
8846
8849
  id: {},
@@ -8891,26 +8894,28 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8891
8894
  color: p.projectColor ? void 0 : "primary",
8892
8895
  "raw-color": p.projectColor
8893
8896
  }, null, 8, ["label", "color", "raw-color"])) : k("", !0),
8894
- p.isPrivate ? (c(), R(ce, {
8895
- key: 1,
8896
- name: "Lock",
8897
- class: "ao-card-feed__warning ao-card-feed__header-secondary",
8898
- size: "sm"
8899
- })) : k("", !0),
8900
- p.important ? (c(), R(ce, {
8901
- key: 2,
8902
- name: "FlagRounded",
8903
- class: "ao-card-feed__important ao-card-feed__header-secondary",
8904
- size: "sm"
8905
- })) : k("", !0),
8906
- p.$slots.secondary ? (c(), m("div", j9, [
8897
+ p.isPrivate || p.important ? (c(), m("div", j9, [
8898
+ p.isPrivate ? (c(), R(ce, {
8899
+ key: 0,
8900
+ name: "Lock",
8901
+ class: "ao-card-feed__warning",
8902
+ size: "sm"
8903
+ })) : k("", !0),
8904
+ p.important ? (c(), R(ce, {
8905
+ key: 1,
8906
+ name: "FlagRounded",
8907
+ class: "ao-card-feed__important",
8908
+ size: "sm"
8909
+ })) : k("", !0)
8910
+ ])) : k("", !0),
8911
+ p.$slots.secondary ? (c(), m("div", Z9, [
8907
8912
  ee(p.$slots, "secondary")
8908
8913
  ])) : k("", !0)
8909
8914
  ])
8910
8915
  ]),
8911
8916
  default: j(() => [
8912
- f("div", Z9, [
8913
- n.value ? (c(), m("span", F9, q(n.value), 1)) : k("", !0),
8917
+ f("div", F9, [
8918
+ n.value ? (c(), m("span", q9, q(n.value), 1)) : k("", !0),
8914
8919
  T(Ce, {
8915
8920
  id: p.id,
8916
8921
  title: p.name,
@@ -8918,17 +8923,17 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8918
8923
  "is-editable": p.isEditable,
8919
8924
  "onUpdate:title": s
8920
8925
  }, null, 8, ["id", "title", "is-editable"]),
8921
- p.deadline ? (c(), m("span", q9, q(i.value), 1)) : k("", !0)
8926
+ p.deadline ? (c(), m("span", z9, q(i.value), 1)) : k("", !0)
8922
8927
  ])
8923
8928
  ]),
8924
8929
  footer: j(() => [
8925
- f("div", z9, [
8926
- f("div", W9, [
8927
- f("ul", Y9, [
8930
+ f("div", W9, [
8931
+ f("div", Y9, [
8932
+ f("ul", K9, [
8928
8933
  (c(!0), m(ve, null, be(o.value, (w) => (c(), m(ve, {
8929
8934
  key: w.id
8930
8935
  }, [
8931
- w ? (c(), m("li", K9, [
8936
+ w ? (c(), m("li", G9, [
8932
8937
  T(_t, {
8933
8938
  "user-name": l(w),
8934
8939
  "avatar-url": w.avatarUrl,
@@ -8938,31 +8943,31 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8938
8943
  ])) : k("", !0)
8939
8944
  ], 64))), 128))
8940
8945
  ]),
8941
- p.comments || p.attachments ? (c(), m("ul", G9, [
8942
- p.comments ? (c(), m("li", x9, [
8946
+ p.comments || p.attachments ? (c(), m("ul", x9, [
8947
+ p.comments ? (c(), m("li", X9, [
8943
8948
  T(ce, {
8944
8949
  name: "ChatOutline",
8945
8950
  size: "sm"
8946
8951
  }),
8947
- f("span", X9, q(p.comments), 1)
8952
+ f("span", Q9, q(p.comments), 1)
8948
8953
  ])) : k("", !0),
8949
- p.attachments ? (c(), m("li", Q9, [
8954
+ p.attachments ? (c(), m("li", J9, [
8950
8955
  T(ce, {
8951
8956
  name: "AttachFileRounded",
8952
8957
  size: "sm"
8953
8958
  }),
8954
- f("span", J9, q(p.attachments), 1)
8959
+ f("span", e4, q(p.attachments), 1)
8955
8960
  ])) : k("", !0)
8956
8961
  ])) : k("", !0)
8957
8962
  ]),
8958
- f("div", e4, [
8959
- p.tasks && p.tasks.length ? (c(), m("div", t4, [
8960
- f("div", a4, [
8963
+ f("div", t4, [
8964
+ p.tasks && p.tasks.length ? (c(), m("div", a4, [
8965
+ f("div", n4, [
8961
8966
  T(ce, {
8962
8967
  name: "SelectCheckBox",
8963
8968
  size: "sm"
8964
8969
  }),
8965
- f("span", n4, q(u.value) + " / " + q(d.value), 1)
8970
+ f("span", s4, q(u.value) + " / " + q(d.value), 1)
8966
8971
  ]),
8967
8972
  T(U1, {
8968
8973
  percentages: v.value,
@@ -8976,7 +8981,7 @@ const U9 = { class: "ao-card-feed__header" }, j9 = {
8976
8981
  }));
8977
8982
  }
8978
8983
  });
8979
- const s4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-milestone__header" }, o4 = { class: "ao-project-milestone__title" }, l4 = { class: "ao-project-milestone__body" }, r4 = {
8984
+ const i4 = { class: "ao-project-milestone" }, o4 = { class: "ao-project-milestone__header" }, l4 = { class: "ao-project-milestone__title" }, r4 = { class: "ao-project-milestone__body" }, u4 = {
8980
8985
  key: 0,
8981
8986
  class: "ao-project-milestone__footer"
8982
8987
  }, ra = /* @__PURE__ */ x({
@@ -9031,9 +9036,9 @@ const s4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
9031
9036
  };
9032
9037
  return (p, C) => {
9033
9038
  var w;
9034
- return c(), m("div", s4, [
9035
- f("header", i4, [
9036
- f("div", o4, [
9039
+ return c(), m("div", i4, [
9040
+ f("header", o4, [
9041
+ f("div", l4, [
9037
9042
  f("span", null, q(p.$t("project.milestone.title")), 1),
9038
9043
  T(Ce, {
9039
9044
  title: ((w = i.value) == null ? void 0 : w.name) || p.milestoneId,
@@ -9046,7 +9051,7 @@ const s4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
9046
9051
  onClick: r
9047
9052
  })
9048
9053
  ]),
9049
- f("div", l4, [
9054
+ f("div", r4, [
9050
9055
  T(F(Xe), He({
9051
9056
  class: "ao-project-milestone__activities",
9052
9057
  list: l.value,
@@ -9099,7 +9104,7 @@ const s4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
9099
9104
  }),
9100
9105
  _: 1
9101
9106
  }, 16, ["list", "disabled"]),
9102
- p.isEditable ? (c(), m("div", r4, [
9107
+ p.isEditable ? (c(), m("div", u4, [
9103
9108
  T(Qe, {
9104
9109
  "icon-name": "Add",
9105
9110
  label: p.$t("project.activity.add"),
@@ -9111,7 +9116,7 @@ const s4 = { class: "ao-project-milestone" }, i4 = { class: "ao-project-mileston
9111
9116
  };
9112
9117
  }
9113
9118
  });
9114
- const u4 = /* @__PURE__ */ x({
9119
+ const d4 = /* @__PURE__ */ x({
9115
9120
  __name: "AoProjectOverviewActivityDetails",
9116
9121
  props: {
9117
9122
  phaseId: {},
@@ -9194,14 +9199,14 @@ const u4 = /* @__PURE__ */ x({
9194
9199
  }, null, 8, ["activity", "activity-types", "milestone-id", "template-activities", "users", "user-id", "is-task-checkable", "statuses", "breadcrumbs", "is-editable", "onClose"])) : k("", !0);
9195
9200
  };
9196
9201
  }
9197
- }), d4 = { class: "ao-col-header" }, c4 = /* @__PURE__ */ x({
9202
+ }), c4 = { class: "ao-col-header" }, f4 = /* @__PURE__ */ x({
9198
9203
  __name: "AoColHeader",
9199
9204
  props: {
9200
9205
  title: {},
9201
9206
  items: {}
9202
9207
  },
9203
9208
  setup(a) {
9204
- return (e, t) => (c(), m("header", d4, [
9209
+ return (e, t) => (c(), m("header", c4, [
9205
9210
  T(Ce, {
9206
9211
  title: e.title,
9207
9212
  class: "ao-col-header__title",
@@ -9217,15 +9222,15 @@ const u4 = /* @__PURE__ */ x({
9217
9222
  ]));
9218
9223
  }
9219
9224
  });
9220
- function f4(a) {
9225
+ function v4(a) {
9221
9226
  return Cn() ? (_n(a), !0) : !1;
9222
9227
  }
9223
9228
  function Jt(a) {
9224
9229
  return typeof a == "function" ? a() : F(a);
9225
9230
  }
9226
- const v4 = typeof window < "u", p4 = (a) => a != null, Tt = () => {
9231
+ const p4 = typeof window < "u", h4 = (a) => a != null, Tt = () => {
9227
9232
  };
9228
- function h4(a, e) {
9233
+ function m4(a, e) {
9229
9234
  function t(...s) {
9230
9235
  return new Promise((n, o) => {
9231
9236
  Promise.resolve(a(() => e.apply(this, s), { fn: e, thisArg: this, args: s })).then(n).catch(o);
@@ -9233,7 +9238,7 @@ function h4(a, e) {
9233
9238
  }
9234
9239
  return t;
9235
9240
  }
9236
- function m4(a, e = {}) {
9241
+ function C4(a, e = {}) {
9237
9242
  let t, s, n = Tt;
9238
9243
  const o = (l) => {
9239
9244
  clearTimeout(l), n(), n = Tt;
@@ -9249,9 +9254,9 @@ function m4(a, e = {}) {
9249
9254
  });
9250
9255
  };
9251
9256
  }
9252
- function C4(a, e = 200, t = {}) {
9253
- return h4(
9254
- m4(e, t),
9257
+ function _4(a, e = 200, t = {}) {
9258
+ return m4(
9259
+ C4(e, t),
9255
9260
  a
9256
9261
  );
9257
9262
  }
@@ -9260,27 +9265,27 @@ function M1(a) {
9260
9265
  const t = Jt(a);
9261
9266
  return (e = t == null ? void 0 : t.$el) != null ? e : t;
9262
9267
  }
9263
- const _4 = v4 ? window : void 0;
9264
- function g4() {
9268
+ const g4 = p4 ? window : void 0;
9269
+ function b4() {
9265
9270
  const a = Q(!1);
9266
9271
  return nt() && Ht(() => {
9267
9272
  a.value = !0;
9268
9273
  }), a;
9269
9274
  }
9270
- function b4(a) {
9271
- const e = g4();
9275
+ function y4(a) {
9276
+ const e = b4();
9272
9277
  return y(() => (e.value, !!a()));
9273
9278
  }
9274
- function y4(a, e, t = {}) {
9279
+ function w4(a, e, t = {}) {
9275
9280
  const {
9276
9281
  root: s,
9277
9282
  rootMargin: n = "0px",
9278
9283
  threshold: o = 0.1,
9279
- window: i = _4,
9284
+ window: i = g4,
9280
9285
  immediate: l = !0
9281
- } = t, r = b4(() => i && "IntersectionObserver" in i), d = y(() => {
9286
+ } = t, r = y4(() => i && "IntersectionObserver" in i), d = y(() => {
9282
9287
  const w = Jt(a);
9283
- return (Array.isArray(w) ? w : [w]).map(M1).filter(p4);
9288
+ return (Array.isArray(w) ? w : [w]).map(M1).filter(h4);
9284
9289
  });
9285
9290
  let u = Tt;
9286
9291
  const v = Q(l), p = r.value ? ue(
@@ -9304,7 +9309,7 @@ function y4(a, e, t = {}) {
9304
9309
  ) : Tt, C = () => {
9305
9310
  u(), p(), v.value = !1;
9306
9311
  };
9307
- return f4(C), {
9312
+ return v4(C), {
9308
9313
  isSupported: r,
9309
9314
  isActive: v,
9310
9315
  pause() {
@@ -9316,24 +9321,24 @@ function y4(a, e, t = {}) {
9316
9321
  stop: C
9317
9322
  };
9318
9323
  }
9319
- const w4 = {
9324
+ const $4 = {
9320
9325
  class: /* @__PURE__ */ G(["ao-list-kanban"])
9321
- }, $4 = { class: "ao-list-kanban__header" }, M4 = {
9326
+ }, M4 = { class: "ao-list-kanban__header" }, k4 = {
9322
9327
  key: 0,
9323
9328
  class: "ao-list-kanban__end ao-list-kanban__end--loading"
9324
- }, k4 = {
9329
+ }, A4 = {
9325
9330
  key: 1,
9326
9331
  class: "ao-list-kanban__end"
9327
- }, A4 = {
9332
+ }, T4 = {
9328
9333
  key: 0,
9329
9334
  class: "ao-list-kanban__no-more"
9330
- }, T4 = {
9335
+ }, S4 = {
9331
9336
  key: 1,
9332
9337
  class: "ao-list-kanban__divider"
9333
- }, S4 = {
9338
+ }, E4 = {
9334
9339
  key: 1,
9335
9340
  class: "ao-list-kanban__footer"
9336
- }, E4 = /* @__PURE__ */ x({
9341
+ }, I4 = /* @__PURE__ */ x({
9337
9342
  __name: "AoListKanban",
9338
9343
  props: {
9339
9344
  list: {},
@@ -9349,7 +9354,7 @@ const w4 = {
9349
9354
  emits: ["add", "update:list", "change:list", "loadMore", "selectActivity", "archiveActivity", "updateActivity"],
9350
9355
  setup(a, { emit: e }) {
9351
9356
  const t = a, s = Q(!1), n = Q(null);
9352
- y4(n, ([{ isIntersecting: r }]) => {
9357
+ w4(n, ([{ isIntersecting: r }]) => {
9353
9358
  s.value = r;
9354
9359
  }), ue(s, (r) => {
9355
9360
  r && t.hasMore && !t.isLoading && e("loadMore");
@@ -9372,12 +9377,12 @@ const w4 = {
9372
9377
  )
9373
9378
  });
9374
9379
  };
9375
- return (r, d) => (c(), m("div", w4, [
9380
+ return (r, d) => (c(), m("div", $4, [
9376
9381
  r.title || r.$slots.header ? ee(r.$slots, "header", { key: 0 }, () => {
9377
9382
  var u;
9378
9383
  return [
9379
- f("div", $4, [
9380
- r.title ? (c(), R(c4, {
9384
+ f("div", M4, [
9385
+ r.title ? (c(), R(f4, {
9381
9386
  key: 0,
9382
9387
  title: r.title,
9383
9388
  level: 3,
@@ -9442,20 +9447,20 @@ const w4 = {
9442
9447
  ];
9443
9448
  }),
9444
9449
  footer: j(() => [
9445
- r.isLoading ? (c(), m("div", M4, [
9450
+ r.isLoading ? (c(), m("div", k4, [
9446
9451
  T(ce, { name: "Loading" })
9447
9452
  ])) : r.hasMore ? (c(), m("div", {
9448
9453
  key: 2,
9449
9454
  ref_key: "scrollEnd",
9450
9455
  ref: n,
9451
9456
  class: "ao-list-kanban__end"
9452
- }, null, 512)) : (c(), m("div", k4, [
9453
- r.noMoreLabel ? (c(), m("span", A4, q(r.noMoreLabel), 1)) : r.isEditable ? (c(), m("span", T4)) : k("", !0)
9457
+ }, null, 512)) : (c(), m("div", A4, [
9458
+ r.noMoreLabel ? (c(), m("span", T4, q(r.noMoreLabel), 1)) : r.isEditable ? (c(), m("span", S4)) : k("", !0)
9454
9459
  ]))
9455
9460
  ]),
9456
9461
  _: 1
9457
9462
  }, 16, ["list", "disabled"]),
9458
- r.$slots.footer || r.footerLabel ? (c(), m("div", S4, [
9463
+ r.$slots.footer || r.footerLabel ? (c(), m("div", E4, [
9459
9464
  ee(r.$slots, "footer", {}, () => [
9460
9465
  r.isEditable ? (c(), R(Qe, {
9461
9466
  key: 0,
@@ -9468,7 +9473,7 @@ const w4 = {
9468
9473
  ]));
9469
9474
  }
9470
9475
  });
9471
- const I4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder", "onKeypress"], L4 = /* @__PURE__ */ x({
9476
+ const O4 = { class: "ao-field ao-search-field" }, L4 = ["value", "placeholder", "onKeypress"], V4 = /* @__PURE__ */ x({
9472
9477
  __name: "AoSearchField",
9473
9478
  props: {
9474
9479
  modelValue: {},
@@ -9480,10 +9485,10 @@ const I4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder",
9480
9485
  const t = a, s = async (i) => {
9481
9486
  const r = i.target.value;
9482
9487
  e("update:modelValue", r, i);
9483
- }, n = C4(s, t.delay), o = (i) => {
9488
+ }, n = _4(s, t.delay), o = (i) => {
9484
9489
  e("clear", i);
9485
9490
  };
9486
- return (i, l) => (c(), m("div", I4, [
9491
+ return (i, l) => (c(), m("div", O4, [
9487
9492
  f("input", {
9488
9493
  value: i.modelValue,
9489
9494
  type: "text",
@@ -9492,7 +9497,7 @@ const I4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder",
9492
9497
  onInput: l[0] || (l[0] = //@ts-ignore
9493
9498
  (...r) => F(n) && F(n)(...r)),
9494
9499
  onKeypress: Ye(s, ["enter"])
9495
- }, null, 40, O4),
9500
+ }, null, 40, L4),
9496
9501
  T(ce, {
9497
9502
  name: "SearchRounded",
9498
9503
  class: G(`ao-search-field__icon ao-search-field__action ${i.modelValue ? "" : "ao-search-field__action--visible"}`)
@@ -9508,7 +9513,7 @@ const I4 = { class: "ao-field ao-search-field" }, O4 = ["value", "placeholder",
9508
9513
  ]));
9509
9514
  }
9510
9515
  });
9511
- function V4(a) {
9516
+ function H4(a) {
9512
9517
  const e = Q(), t = y(
9513
9518
  () => a.value.find(
9514
9519
  (n) => n.id === e.value
@@ -9522,21 +9527,21 @@ function V4(a) {
9522
9527
  }
9523
9528
  };
9524
9529
  }
9525
- const H4 = Symbol.for("FeedStore");
9526
- function D4(a) {
9527
- const e = V4(a);
9528
- return gn(H4, e), e;
9530
+ const D4 = Symbol.for("FeedStore");
9531
+ function P4(a) {
9532
+ const e = H4(a);
9533
+ return gn(D4, e), e;
9529
9534
  }
9530
- const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { class: "ao-feed__body" }, R4 = { class: "ao-feed__activity-details__header" }, U4 = {
9535
+ const B4 = { class: "ao-feed" }, N4 = { class: "ao-feed__filters" }, R4 = { class: "ao-feed__body" }, U4 = { class: "ao-feed__activity-details__header" }, j4 = {
9531
9536
  key: 0,
9532
9537
  class: "ao-field ao-feed__activity-details__project"
9533
- }, j4 = { class: "ao-field__label" }, Z4 = {
9538
+ }, Z4 = { class: "ao-field__label" }, F4 = {
9534
9539
  key: 1,
9535
9540
  class: "ao-field ao-feed__activity-details__project"
9536
- }, F4 = { class: "ao-field__label" }, q4 = {
9541
+ }, q4 = { class: "ao-field__label" }, z4 = {
9537
9542
  key: 2,
9538
9543
  class: "ao-field ao-feed__activity-details__status"
9539
- }, z4 = { class: "ao-field__label" }, W4 = { class: "ao-field__row" }, Y4 = { class: "ao-field" }, K4 = { class: "ao-field__label" }, G4 = /* @__PURE__ */ x({
9544
+ }, W4 = { class: "ao-field__label" }, Y4 = { class: "ao-field__row" }, K4 = { class: "ao-field" }, G4 = { class: "ao-field__label" }, x4 = /* @__PURE__ */ x({
9540
9545
  __name: "AoFeed",
9541
9546
  props: {
9542
9547
  activities: {},
@@ -9555,7 +9560,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
9555
9560
  },
9556
9561
  emits: ["change:activities", "addActivity", "update:filters", "selectActivity", "update:activity", "archiveActivity", "update:searchText", "clear:searchText", "update:showsArchivedActivities", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
9557
9562
  setup(a, { emit: e }) {
9558
- const t = a, { t: s } = st(), n = ft(t, "activities"), { selectActivity: o, selectedActivity: i } = D4(n), l = (M) => {
9563
+ const t = a, { t: s } = st(), n = ft(t, "activities"), { selectActivity: o, selectedActivity: i } = P4(n), l = (M) => {
9559
9564
  o(M), e("selectActivity", M);
9560
9565
  }, r = Q({}), d = Q(!1), u = Q(!1);
9561
9566
  ue(
@@ -9676,10 +9681,10 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
9676
9681
  };
9677
9682
  return (M, Y) => {
9678
9683
  var ie;
9679
- return c(), m("div", P4, [
9684
+ return c(), m("div", B4, [
9680
9685
  T(r1, null, {
9681
9686
  primary: j(() => [
9682
- f("div", B4, [
9687
+ f("div", N4, [
9683
9688
  t.project ? (c(), R(Ba, {
9684
9689
  key: 0,
9685
9690
  "is-left": !1,
@@ -9689,7 +9694,7 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
9689
9694
  B && M.$router.push({ name: F(Re).project });
9690
9695
  })
9691
9696
  }, null, 8, ["right-label", "left-label"])) : k("", !0),
9692
- T(L4, {
9697
+ T(V4, {
9693
9698
  "model-value": M.searchText,
9694
9699
  placeholder: M.$t("feed.search.placeholder"),
9695
9700
  class: "ao-feed__search",
@@ -9754,8 +9759,8 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
9754
9759
  ]),
9755
9760
  _: 1
9756
9761
  }),
9757
- f("div", N4, [
9758
- (c(!0), m(ve, null, be(M.statuses, (B) => (c(), R(E4, {
9762
+ f("div", R4, [
9763
+ (c(!0), m(ve, null, be(M.statuses, (B) => (c(), R(I4, {
9759
9764
  key: B.id,
9760
9765
  status: B,
9761
9766
  list: r.value[B.id],
@@ -9796,9 +9801,9 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
9796
9801
  header: j(() => {
9797
9802
  var B, S, N;
9798
9803
  return [
9799
- f("div", R4, [
9800
- re.value && !t.project ? (c(), m("label", U4, [
9801
- f("span", j4, q(M.$t("activity.project.label")), 1),
9804
+ f("div", U4, [
9805
+ re.value && !t.project ? (c(), m("label", j4, [
9806
+ f("span", Z4, q(M.$t("activity.project.label")), 1),
9802
9807
  T(ye, {
9803
9808
  options: re.value,
9804
9809
  value: (B = F(i).project) == null ? void 0 : B.id,
@@ -9808,8 +9813,8 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
9808
9813
  onChange: I
9809
9814
  }, null, 8, ["options", "value", "disabled", "caret"])
9810
9815
  ])) : k("", !0),
9811
- oe.value ? (c(), m("label", Z4, [
9812
- f("span", F4, q(M.$t("activity.milestone.label")), 1),
9816
+ oe.value ? (c(), m("label", F4, [
9817
+ f("span", q4, q(M.$t("activity.milestone.label")), 1),
9813
9818
  T(ye, {
9814
9819
  options: oe.value,
9815
9820
  value: (S = F(i).milestone) == null ? void 0 : S.id,
@@ -9819,8 +9824,8 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
9819
9824
  onChange: V
9820
9825
  }, null, 8, ["options", "value", "disabled", "caret"])
9821
9826
  ])) : k("", !0),
9822
- Z.value ? (c(), m("label", q4, [
9823
- f("span", z4, q(M.$t("activity.status.label")), 1),
9827
+ Z.value ? (c(), m("label", z4, [
9828
+ f("span", W4, q(M.$t("activity.status.label")), 1),
9824
9829
  T(ye, {
9825
9830
  options: Z.value,
9826
9831
  value: (N = F(i).status) == null ? void 0 : N.id,
@@ -9835,9 +9840,9 @@ const P4 = { class: "ao-feed" }, B4 = { class: "ao-feed__filters" }, N4 = { clas
9835
9840
  ];
9836
9841
  }),
9837
9842
  default: j(() => [
9838
- f("div", W4, [
9839
- f("label", Y4, [
9840
- f("span", K4, q(M.$t("activity.deadline.label")), 1),
9843
+ f("div", Y4, [
9844
+ f("label", K4, [
9845
+ f("span", G4, q(M.$t("activity.deadline.label")), 1),
9841
9846
  et(f("input", {
9842
9847
  "onUpdate:modelValue": Y[5] || (Y[5] = (B) => W.value = B),
9843
9848
  class: "ao-field__input",
@@ -9864,7 +9869,7 @@ const St = {
9864
9869
  TEMPLATES: "templates",
9865
9870
  TEMPLATE_DETAILS: "template_details",
9866
9871
  TEMPLATES_LIST: "templates_list"
9867
- }, o8 = (a, e = {}) => [
9872
+ }, l8 = (a, e = {}) => [
9868
9873
  {
9869
9874
  path: a,
9870
9875
  name: St.TEMPLATES,
@@ -9873,7 +9878,7 @@ const St = {
9873
9878
  {
9874
9879
  path: "",
9875
9880
  name: St.TEMPLATES_LIST,
9876
- component: X4
9881
+ component: Q4
9877
9882
  },
9878
9883
  {
9879
9884
  path: ":templateId/:phaseId?/:milestoneId?/:activityId?",
@@ -9888,7 +9893,7 @@ const St = {
9888
9893
  feed: "AoProjectFeed",
9889
9894
  milestone: "AoMilestone",
9890
9895
  activity: "AoActivity"
9891
- }, l8 = (a, e = {}) => [
9896
+ }, r8 = (a, e = {}) => [
9892
9897
  {
9893
9898
  path: a,
9894
9899
  ...e,
@@ -9911,7 +9916,7 @@ const St = {
9911
9916
  props: { default: !0, modal: !0 },
9912
9917
  components: {
9913
9918
  default: ra,
9914
- modal: u4
9919
+ modal: d4
9915
9920
  }
9916
9921
  }
9917
9922
  ]
@@ -9919,12 +9924,12 @@ const St = {
9919
9924
  {
9920
9925
  path: "feed",
9921
9926
  name: Re.feed,
9922
- component: G4,
9927
+ component: x4,
9923
9928
  props: !0
9924
9929
  }
9925
9930
  ]
9926
9931
  }
9927
- ], x4 = { class: "ao-templates" }, X4 = /* @__PURE__ */ x({
9932
+ ], X4 = { class: "ao-templates" }, Q4 = /* @__PURE__ */ x({
9928
9933
  __name: "AoTemplatesList",
9929
9934
  props: {
9930
9935
  templates: {}
@@ -9964,7 +9969,7 @@ const St = {
9964
9969
  });
9965
9970
  }
9966
9971
  };
9967
- return (l, r) => (c(), m("div", x4, [
9972
+ return (l, r) => (c(), m("div", X4, [
9968
9973
  T(r1, null, {
9969
9974
  secondary: j(() => [
9970
9975
  T(fe, {
@@ -10009,17 +10014,17 @@ const St = {
10009
10014
  }
10010
10015
  });
10011
10016
  export {
10012
- G4 as AoFeed,
10017
+ x4 as AoFeed,
10013
10018
  x7 as AoTemplateDetails,
10014
- a8 as AoTemplates,
10015
- X4 as AoTemplatesList,
10019
+ n8 as AoTemplates,
10020
+ Q4 as AoTemplatesList,
10016
10021
  $d as TemplateItemTypeEnum,
10017
- s8 as activityFeedStatus,
10018
- n8 as durationTypes,
10022
+ i8 as activityFeedStatus,
10023
+ s8 as durationTypes,
10019
10024
  dt as feedFilterTypes,
10020
- l8 as getProjectOverviewRoutes,
10021
- o8 as getTemplateRoutes,
10022
- i8 as listUpdateTypes,
10025
+ r8 as getProjectOverviewRoutes,
10026
+ l8 as getTemplateRoutes,
10027
+ o8 as listUpdateTypes,
10023
10028
  k1 as milestoneStatus,
10024
10029
  Re as projectOverviewRoutes,
10025
10030
  bd as ruleComparators,