@sepveneto/dnde 0.5.9 → 0.5.10
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/editor.js +5 -3
- package/package.json +2 -2
package/dist/editor.js
CHANGED
|
@@ -104450,7 +104450,7 @@ var Node$1 = class _Node {
|
|
|
104450
104450
|
this.hovering = false;
|
|
104451
104451
|
this.dragging = false;
|
|
104452
104452
|
this.widget = widget;
|
|
104453
|
-
this.wid = v4();
|
|
104453
|
+
this.wid = (info == null ? void 0 : info.uuid) || v4();
|
|
104454
104454
|
this.list = (info == null ? void 0 : info.list) || [];
|
|
104455
104455
|
this.data = (info == null ? void 0 : info.props) || {};
|
|
104456
104456
|
this.style = (info == null ? void 0 : info.style) || {};
|
|
@@ -105540,8 +105540,9 @@ const useEditor = defineStore("editor", () => {
|
|
|
105540
105540
|
const widget2 = app.widgetMap.get(item._view);
|
|
105541
105541
|
if (!widget2)
|
|
105542
105542
|
return;
|
|
105543
|
-
const { style, list, data: data2 } = item;
|
|
105543
|
+
const { _uuid, style, list, data: data2 } = item;
|
|
105544
105544
|
const info = {
|
|
105545
|
+
uuid: _uuid,
|
|
105545
105546
|
props: data2,
|
|
105546
105547
|
style,
|
|
105547
105548
|
list: []
|
|
@@ -105555,8 +105556,9 @@ const useEditor = defineStore("editor", () => {
|
|
|
105555
105556
|
}
|
|
105556
105557
|
function setData(data) {
|
|
105557
105558
|
const widget2 = app.widgetMap.get(data._view) || defaultPage;
|
|
105558
|
-
const { style, list = [], data: props } = data;
|
|
105559
|
+
const { _uuid, style, list = [], data: props } = data;
|
|
105559
105560
|
const info = {
|
|
105561
|
+
uuid: _uuid,
|
|
105560
105562
|
props,
|
|
105561
105563
|
style,
|
|
105562
105564
|
list: []
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sepveneto/dnde",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.10",
|
|
5
5
|
"description": "",
|
|
6
6
|
"author": "",
|
|
7
7
|
"license": "GPL",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"vue": "^3.5.15",
|
|
47
47
|
"vue-router": "^4.5.1",
|
|
48
48
|
"vuedraggable": "^4.1.0",
|
|
49
|
-
"@sepveneto/dnde-core": "0.4.
|
|
49
|
+
"@sepveneto/dnde-core": "0.4.4"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^22.15.23",
|