@abdellatifui/react 3.1.103 → 3.1.104
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/nextgen.js +2 -2
- package/package.json +1 -1
package/dist/nextgen.js
CHANGED
|
@@ -11176,7 +11176,6 @@ const db = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAA
|
|
|
11176
11176
|
s != null && s.draggingMode && (s != null && s.hideLinksOnDrag) && A($);
|
|
11177
11177
|
},
|
|
11178
11178
|
anchor: "center",
|
|
11179
|
-
"data-id": o == null ? void 0 : o.elementId,
|
|
11180
11179
|
className: B(
|
|
11181
11180
|
"z-[30] hover:z-[31] hover:pointer--none hover:cursor-defaulte",
|
|
11182
11181
|
k && "z-[31]",
|
|
@@ -11185,12 +11184,13 @@ const db = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAA
|
|
|
11185
11184
|
),
|
|
11186
11185
|
onClick: ($) => {
|
|
11187
11186
|
var U;
|
|
11188
|
-
(U = $ == null ? void 0 : $.originalEvent) == null || U.stopPropagation(), f({ event: $, data: o, type: "node", id: E, mapApi: a, ref: x });
|
|
11187
|
+
(U = $ == null ? void 0 : $.originalEvent) == null || U.stopPropagation(), f({ event: $, data: o, type: "node", id: E, elementId: o == null ? void 0 : o.elementId, mapApi: a, ref: x });
|
|
11189
11188
|
},
|
|
11190
11189
|
children: /* @__PURE__ */ c.jsx(
|
|
11191
11190
|
"div",
|
|
11192
11191
|
{
|
|
11193
11192
|
"data-id": o == null ? void 0 : o.elementId,
|
|
11193
|
+
"data-active": (o == null ? void 0 : o.elementId) == (selectedNode == null ? void 0 : selectedNode.elementId) ? "true" : "false",
|
|
11194
11194
|
onContextMenu: ($) => {
|
|
11195
11195
|
f({ event: $, data: o, type: "node", id: E, mapApi: a, ref: x }), p($);
|
|
11196
11196
|
},
|