@sepveneto/dnde-core 0.4.0 → 0.4.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.
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  __async,
3
- __spreadProps,
4
3
  __spreadValues
5
- } from "./chunk-6FNC3XMI.js";
4
+ } from "./chunk-HJO26HIQ.js";
6
5
 
7
6
  // src/class/Node.ts
8
7
  import { v4 } from "uuid";
@@ -86,16 +85,16 @@ var Node = class _Node {
86
85
  }
87
86
  parse() {
88
87
  var _a;
89
- const res = __spreadProps(__spreadValues({
88
+ const res = {
90
89
  _uuid: this.wid,
91
90
  _name: this.name,
92
91
  _view: this.type,
93
92
  // TODO
94
- isShow: true
95
- }, this.data), {
93
+ isShow: true,
94
+ data: this.data,
96
95
  style: this.style,
97
96
  list: (_a = this.list) == null ? void 0 : _a.map((item) => item.parse())
98
- });
97
+ };
99
98
  return res;
100
99
  }
101
100
  };
@@ -1,6 +1,4 @@
1
1
  var __defProp = Object.defineProperty;
2
- var __defProps = Object.defineProperties;
3
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
2
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
3
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
4
  var __propIsEnum = Object.prototype.propertyIsEnumerable;
@@ -16,7 +14,6 @@ var __spreadValues = (a, b) => {
16
14
  }
17
15
  return a;
18
16
  };
19
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
17
  var __async = (__this, __arguments, generator) => {
21
18
  return new Promise((resolve, reject) => {
22
19
  var fulfilled = (value) => {
@@ -40,6 +37,5 @@ var __async = (__this, __arguments, generator) => {
40
37
 
41
38
  export {
42
39
  __spreadValues,
43
- __spreadProps,
44
40
  __async
45
41
  };
@@ -2,7 +2,7 @@ import {
2
2
  Container
3
3
  } from "../chunk-ZNYRMDSU.js";
4
4
  import "../chunk-KHPFRVKB.js";
5
- import "../chunk-6FNC3XMI.js";
5
+ import "../chunk-HJO26HIQ.js";
6
6
  export {
7
7
  Container
8
8
  };
@@ -1,8 +1,6 @@
1
1
  "use strict";
2
2
  var __defProp = Object.defineProperty;
3
- var __defProps = Object.defineProperties;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
5
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
@@ -19,7 +17,6 @@ var __spreadValues = (a, b) => {
19
17
  }
20
18
  return a;
21
19
  };
22
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
23
20
  var __export = (target, all) => {
24
21
  for (var name in all)
25
22
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -142,16 +139,16 @@ var Node = class _Node {
142
139
  }
143
140
  parse() {
144
141
  var _a;
145
- const res = __spreadProps(__spreadValues({
142
+ const res = {
146
143
  _uuid: this.wid,
147
144
  _name: this.name,
148
145
  _view: this.type,
149
146
  // TODO
150
- isShow: true
151
- }, this.data), {
147
+ isShow: true,
148
+ data: this.data,
152
149
  style: this.style,
153
150
  list: (_a = this.list) == null ? void 0 : _a.map((item) => item.parse())
154
- });
151
+ };
155
152
  return res;
156
153
  }
157
154
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Node,
3
3
  RootNode
4
- } from "../chunk-N5D6Y2DY.js";
5
- import "../chunk-6FNC3XMI.js";
4
+ } from "../chunk-6MWWYHG2.js";
5
+ import "../chunk-HJO26HIQ.js";
6
6
  export {
7
7
  Node,
8
8
  RootNode
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Widget
3
3
  } from "../chunk-KHPFRVKB.js";
4
- import "../chunk-6FNC3XMI.js";
4
+ import "../chunk-HJO26HIQ.js";
5
5
  export {
6
6
  Widget
7
7
  };
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
- var __defProps = Object.defineProperties;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
6
  var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
7
  var __getProtoOf = Object.getPrototypeOf;
@@ -21,7 +19,6 @@ var __spreadValues = (a, b) => {
21
19
  }
22
20
  return a;
23
21
  };
24
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
22
  var __export = (target, all) => {
26
23
  for (var name in all)
27
24
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -225,16 +222,16 @@ var Node = class _Node {
225
222
  }
226
223
  parse() {
227
224
  var _a;
228
- const res = __spreadProps(__spreadValues({
225
+ const res = {
229
226
  _uuid: this.wid,
230
227
  _name: this.name,
231
228
  _view: this.type,
232
229
  // TODO
233
- isShow: true
234
- }, this.data), {
230
+ isShow: true,
231
+ data: this.data,
235
232
  style: this.style,
236
233
  list: (_a = this.list) == null ? void 0 : _a.map((item) => item.parse())
237
- });
234
+ };
238
235
  return res;
239
236
  }
240
237
  };
@@ -4,11 +4,11 @@ import {
4
4
  import {
5
5
  Node,
6
6
  RootNode
7
- } from "../chunk-N5D6Y2DY.js";
7
+ } from "../chunk-6MWWYHG2.js";
8
8
  import {
9
9
  Widget
10
10
  } from "../chunk-KHPFRVKB.js";
11
- import "../chunk-6FNC3XMI.js";
11
+ import "../chunk-HJO26HIQ.js";
12
12
  export {
13
13
  Container,
14
14
  Node,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  EventEmitter
3
3
  } from "../chunk-W776G2UQ.js";
4
- import "../chunk-6FNC3XMI.js";
4
+ import "../chunk-HJO26HIQ.js";
5
5
  export {
6
6
  EventEmitter
7
7
  };
@@ -10,7 +10,7 @@ import {
10
10
  widgetType
11
11
  } from "../chunk-VRAKS4JU.js";
12
12
  import "../chunk-XJ2IJHKH.js";
13
- import "../chunk-6FNC3XMI.js";
13
+ import "../chunk-HJO26HIQ.js";
14
14
  export {
15
15
  EventEmitter,
16
16
  schema,
@@ -2,7 +2,7 @@ import {
2
2
  schema
3
3
  } from "../chunk-SIPKDBVZ.js";
4
4
  import "../chunk-XJ2IJHKH.js";
5
- import "../chunk-6FNC3XMI.js";
5
+ import "../chunk-HJO26HIQ.js";
6
6
  export {
7
7
  schema
8
8
  };
@@ -2,7 +2,7 @@ import {
2
2
  widget,
3
3
  widgetType
4
4
  } from "../chunk-VRAKS4JU.js";
5
- import "../chunk-6FNC3XMI.js";
5
+ import "../chunk-HJO26HIQ.js";
6
6
  export {
7
7
  widget,
8
8
  widgetType
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  isBox
21
21
  } from "./chunk-4QIIKQ6B.js";
22
22
  import "./chunk-XJ2IJHKH.js";
23
- import "./chunk-6FNC3XMI.js";
23
+ import "./chunk-HJO26HIQ.js";
24
24
  export {
25
25
  EventEmitter,
26
26
  createCopy,
package/dist/internal.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  createCopy,
3
3
  createDelete
4
4
  } from "./chunk-TM53N6AZ.js";
5
- import "./chunk-6FNC3XMI.js";
5
+ import "./chunk-HJO26HIQ.js";
6
6
  export {
7
7
  createCopy,
8
8
  createDelete
package/dist/tokens.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  editorContextKey
3
3
  } from "./chunk-D2MSIUE2.js";
4
- import "./chunk-6FNC3XMI.js";
4
+ import "./chunk-HJO26HIQ.js";
5
5
  export {
6
6
  editorContextKey
7
7
  };
package/dist/types.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isBox
3
3
  } from "./chunk-4QIIKQ6B.js";
4
- import "./chunk-6FNC3XMI.js";
4
+ import "./chunk-HJO26HIQ.js";
5
5
  export {
6
6
  isBox
7
7
  };
package/dist/utils.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  likeArray
3
3
  } from "./chunk-XJ2IJHKH.js";
4
- import "./chunk-6FNC3XMI.js";
4
+ import "./chunk-HJO26HIQ.js";
5
5
  export {
6
6
  likeArray
7
7
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sepveneto/dnde-core",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "description": "",
6
6
  "author": "sepveneto",
7
7
  "license": "MIT",