@cardenelabs/cdl 0.40.5 → 0.40.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/react.cjs CHANGED
@@ -9534,6 +9534,18 @@ var DRAW_KINDS = /* @__PURE__ */ new Set([
9534
9534
  ]);
9535
9535
  var KINDS = new Set(NODE_KINDS);
9536
9536
  var ENG_BANNED = /\b(FUNCTION|STORAGE|EVENT LOG|BALANCES MAPPING|READ|WRITE|EMIT|CALL)\b/;
9537
+ var \u56F3\u8868\u306E\u8377\u306E\u6B04 = [
9538
+ "chartData",
9539
+ "ganttData",
9540
+ "mindData",
9541
+ "funnelData",
9542
+ "quadrantData",
9543
+ "treeData",
9544
+ "journeyData"
9545
+ ];
9546
+ function \u56F3\u8868\u306E\u7BC0(n) {
9547
+ return \u56F3\u8868\u306E\u8377\u306E\u6B04.some((\u6B04) => n[\u6B04] !== void 0);
9548
+ }
9537
9549
  function validate(diag) {
9538
9550
  const errors = [];
9539
9551
  const warnings = [];
@@ -9691,7 +9703,7 @@ function validate(diag) {
9691
9703
  for (const id of p.activate) allActivated.add(id);
9692
9704
  }
9693
9705
  for (const n of diag.nodes) {
9694
- if (!allActivated.has(n.id)) {
9706
+ if (!allActivated.has(n.id) && !\u56F3\u8868\u306E\u7BC0(n)) {
9695
9707
  warnings.push(`node "${n.id}" \u304C\u3069\u306E phase \u3067\u3082 activate \u3055\u308C\u3066\u3044\u306A\u3044 (unused\u3001 typo \u306E\u53EF\u80FD\u6027)`);
9696
9708
  }
9697
9709
  }