@26lights/orcha 0.8.1 → 0.8.2

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
@@ -7005,7 +7005,7 @@ const Xd = { class: "ao-card-project-phase__footer" }, Qd = { class: "ao-card-pr
7005
7005
  return ((d = u.status) == null ? void 0 : d.id) === ((v = t.doneStatus) == null ? void 0 : v.id);
7006
7006
  }).length;
7007
7007
  }), l = _(() => (n.value || 0) / (s.value || 1)), i = (o) => {
7008
- e("updateMilestone", { id: t.id, data: { name: o } });
7008
+ e("updateMilestone", { id: t.id, name: o });
7009
7009
  };
7010
7010
  return (o, u) => (c(), Z(r1, {
7011
7011
  class: "ao-card-project-milestone",
@@ -7055,7 +7055,7 @@ const n7 = { class: "ao-project-phase" }, s7 = { class: "ao-project-phase__drag
7055
7055
  emits: ["addMilestone", "updateMilestone", "updatePhase"],
7056
7056
  setup(a, { emit: e }) {
7057
7057
  const t = a, { t: s } = Re(), n = (u) => {
7058
- e("updatePhase", { id: t.phase.id, data: { name: u } });
7058
+ e("updatePhase", { id: t.phase.id, name: u });
7059
7059
  }, l = _(() => t.phase.milestones), i = (u) => {
7060
7060
  const { name: d, rank: v } = Xe(l.value ?? [], "milestone", s);
7061
7061
  e("addMilestone", { name: d, rank: v, phaseId: u });
@@ -7124,7 +7124,7 @@ const c7 = /* @__PURE__ */ G({
7124
7124
  const u = gt(o, t.phases ?? []);
7125
7125
  e("updatePhase", {
7126
7126
  id: o.moved.element.id,
7127
- data: { rank: u }
7127
+ rank: u
7128
7128
  });
7129
7129
  }
7130
7130
  }, i = (o) => {