@sepveneto/dnde-core 0.4.3 → 0.4.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.
|
@@ -14,7 +14,7 @@ var Node = class _Node {
|
|
|
14
14
|
this.hovering = false;
|
|
15
15
|
this.dragging = false;
|
|
16
16
|
this.widget = widget;
|
|
17
|
-
this.wid = v4();
|
|
17
|
+
this.wid = (info == null ? void 0 : info.uuid) || v4();
|
|
18
18
|
this.list = (info == null ? void 0 : info.list) || [];
|
|
19
19
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
20
20
|
this.style = (info == null ? void 0 : info.style) || {};
|
package/dist/class/Node.cjs
CHANGED
|
@@ -68,7 +68,7 @@ var Node = class _Node {
|
|
|
68
68
|
this.hovering = false;
|
|
69
69
|
this.dragging = false;
|
|
70
70
|
this.widget = widget;
|
|
71
|
-
this.wid = (0, import_uuid.v4)();
|
|
71
|
+
this.wid = (info == null ? void 0 : info.uuid) || (0, import_uuid.v4)();
|
|
72
72
|
this.list = (info == null ? void 0 : info.list) || [];
|
|
73
73
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
74
74
|
this.style = (info == null ? void 0 : info.style) || {};
|
package/dist/class/Node.d.cts
CHANGED
package/dist/class/Node.d.ts
CHANGED
package/dist/class/Node.js
CHANGED
package/dist/class/index.cjs
CHANGED
|
@@ -151,7 +151,7 @@ var Node = class _Node {
|
|
|
151
151
|
this.hovering = false;
|
|
152
152
|
this.dragging = false;
|
|
153
153
|
this.widget = widget;
|
|
154
|
-
this.wid = (0, import_uuid.v4)();
|
|
154
|
+
this.wid = (info == null ? void 0 : info.uuid) || (0, import_uuid.v4)();
|
|
155
155
|
this.list = (info == null ? void 0 : info.list) || [];
|
|
156
156
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
157
157
|
this.style = (info == null ? void 0 : info.style) || {};
|
package/dist/class/index.js
CHANGED