@handled-ai/design-system 0.5.0 → 0.5.1
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 +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5418,6 +5418,15 @@ function PipelineOverview({
|
|
|
5418
5418
|
...flowNodes,
|
|
5419
5419
|
...dropOffNodes
|
|
5420
5420
|
];
|
|
5421
|
+
const nodeIds = new Set(nodes.map((n) => n.id));
|
|
5422
|
+
for (const link of flowLinks) {
|
|
5423
|
+
for (const endpoint of [link.source, link.target]) {
|
|
5424
|
+
if (!nodeIds.has(endpoint)) {
|
|
5425
|
+
nodes.push({ id: endpoint, nodeColor: dropOffNodeColor != null ? dropOffNodeColor : "#F59E0B" });
|
|
5426
|
+
nodeIds.add(endpoint);
|
|
5427
|
+
}
|
|
5428
|
+
}
|
|
5429
|
+
}
|
|
5421
5430
|
const links = [];
|
|
5422
5431
|
const firstFlowNode = (_f = (_e = flowNodes[0]) == null ? void 0 : _e.id) != null ? _f : "Contacted";
|
|
5423
5432
|
segments.forEach((segment) => {
|