@26lights/orcha 0.34.19 → 0.34.21

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
@@ -9880,13 +9880,12 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
9880
9880
  statuses: {},
9881
9881
  activityTypes: {},
9882
9882
  isEditable: { type: Boolean },
9883
- showsArchived: { type: Boolean }
9883
+ showsArchived: { type: Boolean },
9884
+ attachmentEnabled: { type: Boolean }
9884
9885
  },
9885
9886
  emits: ["addPhase", "updatePhase", "archivePhase", "addMilestone", "updateMilestone", "archiveMilestone", "addActivity", "update:activity", "archiveActivity", "unarchiveActivity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment", "applyTemplate", "update:showsArchived"],
9886
9887
  setup(t, { emit: e }) {
9887
- const a = t, { t: n } = At();
9888
- console.log({ overviewProject: a.project });
9889
- const s = k(
9888
+ const a = t, { t: n } = At(), s = k(
9890
9889
  () => a.phases.flatMap((S) => S.milestones)
9891
9890
  ), o = () => {
9892
9891
  const { name: S, rank: W } = Pt(a.phases, "phase", n);
@@ -10007,9 +10006,11 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
10007
10006
  statuses: S.statuses,
10008
10007
  "activity-types": S.activityTypes,
10009
10008
  phases: S.phases,
10009
+ project: S.project,
10010
10010
  users: S.users,
10011
10011
  "user-id": S.userId,
10012
10012
  "is-editable": S.isEditable,
10013
+ "attachment-enabled": S.attachmentEnabled,
10013
10014
  "onUpdate:activity": m,
10014
10015
  onAddSubtask: _,
10015
10016
  onUpdateSubtask: y,
@@ -10029,7 +10030,7 @@ const Xn = /* @__PURE__ */ j(t8, [["render", n8], ["__scopeId", "data-v-cbe33527
10029
10030
  }, 1024))
10030
10031
  ]),
10031
10032
  _: 3
10032
- }, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "users", "user-id", "is-editable"])
10033
+ }, 8, ["activities", "is-task-checkable", "statuses", "activity-types", "phases", "project", "users", "user-id", "is-editable", "attachment-enabled"])
10033
10034
  ]))
10034
10035
  ], 16),
10035
10036
  (v(), R(Ht, { to: "body" }, [
@@ -10236,9 +10237,7 @@ const T8 = { class: "ao-project-milestone" }, S8 = { class: "ao-project-mileston
10236
10237
  },
10237
10238
  emits: ["close", "addActivity", "updateMilestone", "updateActivity", "archiveActivity", "unarchiveActivity"],
10238
10239
  setup(t, { emit: e }) {
10239
- const a = t, { t: n } = At();
10240
- console.log({ milestoneProps: { ...a } });
10241
- const s = k(() => {
10240
+ const a = t, { t: n } = At(), s = k(() => {
10242
10241
  var h;
10243
10242
  return (h = a.phases) == null ? void 0 : h.find((M) => M.id === a.phaseId);
10244
10243
  }), o = k(
@@ -10487,7 +10486,6 @@ const N8 = /* @__PURE__ */ J({
10487
10486
  activityId: {},
10488
10487
  activityTypes: {},
10489
10488
  activities: {},
10490
- assigneesOptions: {},
10491
10489
  isTaskCheckable: { type: Function },
10492
10490
  statuses: {},
10493
10491
  phases: {},
@@ -10499,9 +10497,7 @@ const N8 = /* @__PURE__ */ J({
10499
10497
  },
10500
10498
  emits: ["update:activity", "addSubtask", "updateSubtask", "deleteSubtask", "addFiles", "removeFile", "addComment", "updateComment", "removeComment"],
10501
10499
  setup(t, { emit: e }) {
10502
- const a = t;
10503
- console.log({ props: { ...a }, project: a.project });
10504
- const n = k(() => {
10500
+ const a = t, n = k(() => {
10505
10501
  var y;
10506
10502
  return (y = a.phases) == null ? void 0 : y.find((h) => h.id === a.phaseId);
10507
10503
  }), s = k(