@cratis/event-models 0.350.4 → 0.352.0

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/index.js CHANGED
@@ -3231,7 +3231,7 @@ var Po = ({ status: e }) => /* @__PURE__ */ a("svg", {
3231
3231
  color: "color-mix(in srgb, var(--board-ink, #ffffff) 80%, transparent)",
3232
3232
  textAlign: "center"
3233
3233
  }, xc = ({ moduleId: e, name: t, description: n, documentation: r, height: o, collapsed: i, onToggleCollapse: s, onAddModule: d, onAddFeature: l, onRenamed: c, validateName: u, status: m, detailsVisible: v = !1, onToggleDetails: p, onDragStart: g, error: h }) => {
3234
- const b = ne(), f = lt(e), y = kr(e, "module", t), { showStatuses: w = !0 } = Pe(), C = ta(!b.readOnly && !i ? g : void 0), k = b.readOnly ? void 0 : c, R = b.actions, M = hv(e, l, b.editing);
3234
+ const b = ne(), f = lt(e), y = kr(e, "module", t), { showStatuses: w = !1 } = Pe(), C = ta(!b.readOnly && !i ? g : void 0), k = b.readOnly ? void 0 : c, R = b.actions, M = hv(e, l, b.editing);
3235
3235
  return /* @__PURE__ */ S(re, { children: [/* @__PURE__ */ S(Zi, {
3236
3236
  marker: f || y.marker ? /* @__PURE__ */ S(re, { children: [f && /* @__PURE__ */ a(It, {
3237
3237
  change: f,
@@ -4726,7 +4726,7 @@ var gu = ({ type: e }) => /* @__PURE__ */ a("svg", {
4726
4726
  align: "right"
4727
4727
  });
4728
4728
  }, qo = "color-mix(in srgb, var(--board-feature, #a08ce6) 10%, transparent)", wu = "1px solid color-mix(in srgb, var(--board-feature, #a08ce6) 22%, transparent)", Su = ({ featureId: e, name: t, description: n, documentation: r, height: o, collapsed: i, onToggleCollapse: s, onRenamed: d, status: l, selectableStatuses: c, unselectableStatusReason: u, detailsVisible: m = !1, onToggleDetails: v, dragging: p = !1, onDragStart: g, error: h, onAddSubFeature: b, onAddSlice: f }) => {
4729
- const y = ne(), w = lt(e), C = kr(e, "feature", t), { showStatuses: k = !0 } = Pe(), R = ta(!y.readOnly && !i ? g : void 0), M = y.readOnly ? void 0 : d, x = (y.actions.featureHeader ?? []).filter((L) => !L.when || L.when(e)), A = (y.actions.featureHeaderLeading ?? []).filter((L) => !L.when || L.when(e)), V = y.actions.featureHeaderMenu ?? [], Z = pv(e, b, f, y.editing);
4729
+ const y = ne(), w = lt(e), C = kr(e, "feature", t), { showStatuses: k = !1 } = Pe(), R = ta(!y.readOnly && !i ? g : void 0), M = y.readOnly ? void 0 : d, x = (y.actions.featureHeader ?? []).filter((L) => !L.when || L.when(e)), A = (y.actions.featureHeaderLeading ?? []).filter((L) => !L.when || L.when(e)), V = y.actions.featureHeaderMenu ?? [], Z = pv(e, b, f, y.editing);
4730
4730
  return /* @__PURE__ */ S(re, { children: [/* @__PURE__ */ a(Zi, {
4731
4731
  marker: w || C.marker ? /* @__PURE__ */ S(re, { children: [w && /* @__PURE__ */ a(It, {
4732
4732
  change: w,
@@ -9244,7 +9244,7 @@ var hv = (e, t, n) => t ?? (n.onFeatureAdded ? () => n.onFeatureAdded?.(e) : voi
9244
9244
  color: "color-mix(in srgb, var(--board-ink, #ffffff) 80%, transparent)",
9245
9245
  textAlign: "center"
9246
9246
  }, Ua = ({ slice: e, height: t, collapsed: n, selectableStatuses: r, unselectableStatusReason: o, error: i, leading: s, trailing: d, onToggleCollapse: l }) => {
9247
- const c = ne(), u = lt(e.id), m = kr(e.id, "slice", e.name), { showStatuses: v = !0 } = Pe(), { readOnly: p } = bt();
9247
+ const c = ne(), u = lt(e.id), m = kr(e.id, "slice", e.name), { showStatuses: v = !1 } = Pe(), { readOnly: p } = bt();
9248
9248
  Sv("header", i ? [{
9249
9249
  severity: "error",
9250
9250
  message: i