@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) || {};
@@ -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) || {};
@@ -14,6 +14,7 @@ declare class Node {
14
14
  hovering: boolean;
15
15
  dragging: boolean;
16
16
  constructor(widget: Widget, info?: {
17
+ uuid?: string;
17
18
  props?: Node['data'];
18
19
  style?: Node['style'];
19
20
  list?: Node['list'];
@@ -14,6 +14,7 @@ declare class Node {
14
14
  hovering: boolean;
15
15
  dragging: boolean;
16
16
  constructor(widget: Widget, info?: {
17
+ uuid?: string;
17
18
  props?: Node['data'];
18
19
  style?: Node['style'];
19
20
  list?: Node['list'];
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Node,
3
3
  RootNode
4
- } from "../chunk-6MWWYHG2.js";
4
+ } from "../chunk-77RZWUI5.js";
5
5
  import "../chunk-HJO26HIQ.js";
6
6
  export {
7
7
  Node,
@@ -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) || {};
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  Node,
6
6
  RootNode
7
- } from "../chunk-6MWWYHG2.js";
7
+ } from "../chunk-77RZWUI5.js";
8
8
  import {
9
9
  Widget
10
10
  } from "../chunk-KHPFRVKB.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sepveneto/dnde-core",
3
3
  "type": "module",
4
- "version": "0.4.3",
4
+ "version": "0.4.4",
5
5
  "description": "",
6
6
  "author": "sepveneto",
7
7
  "license": "MIT",