@elicdavis/node-flow 0.1.3 → 0.1.4

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
@@ -1449,7 +1449,7 @@ var Port = class {
1449
1449
  __privateSet(this, _dataTypePopupElement, new ContainerRenderElement(
1450
1450
  containerElements,
1451
1451
  {
1452
- BackgroundColor: "rgba(0, 0, 0, 0.75)",
1452
+ BackgroundColor: "rgba(0, 0, 0, 0.85)",
1453
1453
  Border: {
1454
1454
  Radius: 6
1455
1455
  },
@@ -3129,8 +3129,9 @@ recurseBuildMenu_fn = function(graph, name, subMenu, position) {
3129
3129
  const items = [];
3130
3130
  const subMenus = /* @__PURE__ */ new Map();
3131
3131
  for (let [key, nodeConfig] of subMenu) {
3132
- const elements = key.split("/");
3133
- if (elements.length === 1) {
3132
+ const slashIndex = key.indexOf("/");
3133
+ const bracketIndex = key.indexOf("[");
3134
+ if (slashIndex === -1 || bracketIndex < slashIndex) {
3134
3135
  items.push({
3135
3136
  name: key,
3136
3137
  callback: () => {
@@ -3140,6 +3141,7 @@ recurseBuildMenu_fn = function(graph, name, subMenu, position) {
3140
3141
  }
3141
3142
  });
3142
3143
  } else {
3144
+ const elements = key.split("/");
3143
3145
  if (!subMenus.has(elements[0])) {
3144
3146
  subMenus.set(elements[0], /* @__PURE__ */ new Map());
3145
3147
  }