microboard-temp 0.4.56 → 0.4.57
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/cjs/browser.js +2 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/node.js +2 -1
- package/dist/esm/browser.js +2 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/node.js +2 -1
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -53609,6 +53609,7 @@ class Board {
|
|
|
53609
53609
|
const data = Array.from(items.children).map((el) => this.parseHTML(el));
|
|
53610
53610
|
for (const parsedData of data) {
|
|
53611
53611
|
if ("childrenMap" in parsedData) {
|
|
53612
|
+
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
53612
53613
|
const addedChildren = Object.values(parsedData.childrenMap).map((childData) => {
|
|
53613
53614
|
const created = this.createItem(this.getNewItemId(), childData);
|
|
53614
53615
|
const added = this.add(created);
|
|
@@ -53621,8 +53622,8 @@ class Board {
|
|
|
53621
53622
|
}
|
|
53622
53623
|
return added;
|
|
53623
53624
|
});
|
|
53625
|
+
addedFrame.addChildItems(addedChildren);
|
|
53624
53626
|
parsedData.data.children = addedChildren.map((item) => item.getId());
|
|
53625
|
-
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
53626
53627
|
idsMap[parsedData.data.id] = addedFrame.getId();
|
|
53627
53628
|
} else {
|
|
53628
53629
|
const added = this.add(this.createItem(this.getNewItemId(), parsedData));
|
package/dist/cjs/index.js
CHANGED
|
@@ -53609,6 +53609,7 @@ class Board {
|
|
|
53609
53609
|
const data = Array.from(items.children).map((el) => this.parseHTML(el));
|
|
53610
53610
|
for (const parsedData of data) {
|
|
53611
53611
|
if ("childrenMap" in parsedData) {
|
|
53612
|
+
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
53612
53613
|
const addedChildren = Object.values(parsedData.childrenMap).map((childData) => {
|
|
53613
53614
|
const created = this.createItem(this.getNewItemId(), childData);
|
|
53614
53615
|
const added = this.add(created);
|
|
@@ -53621,8 +53622,8 @@ class Board {
|
|
|
53621
53622
|
}
|
|
53622
53623
|
return added;
|
|
53623
53624
|
});
|
|
53625
|
+
addedFrame.addChildItems(addedChildren);
|
|
53624
53626
|
parsedData.data.children = addedChildren.map((item) => item.getId());
|
|
53625
|
-
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
53626
53627
|
idsMap[parsedData.data.id] = addedFrame.getId();
|
|
53627
53628
|
} else {
|
|
53628
53629
|
const added = this.add(this.createItem(this.getNewItemId(), parsedData));
|
package/dist/cjs/node.js
CHANGED
|
@@ -56082,6 +56082,7 @@ class Board {
|
|
|
56082
56082
|
const data = Array.from(items.children).map((el) => this.parseHTML(el));
|
|
56083
56083
|
for (const parsedData of data) {
|
|
56084
56084
|
if ("childrenMap" in parsedData) {
|
|
56085
|
+
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
56085
56086
|
const addedChildren = Object.values(parsedData.childrenMap).map((childData) => {
|
|
56086
56087
|
const created = this.createItem(this.getNewItemId(), childData);
|
|
56087
56088
|
const added = this.add(created);
|
|
@@ -56094,8 +56095,8 @@ class Board {
|
|
|
56094
56095
|
}
|
|
56095
56096
|
return added;
|
|
56096
56097
|
});
|
|
56098
|
+
addedFrame.addChildItems(addedChildren);
|
|
56097
56099
|
parsedData.data.children = addedChildren.map((item) => item.getId());
|
|
56098
|
-
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
56099
56100
|
idsMap[parsedData.data.id] = addedFrame.getId();
|
|
56100
56101
|
} else {
|
|
56101
56102
|
const added = this.add(this.createItem(this.getNewItemId(), parsedData));
|
package/dist/esm/browser.js
CHANGED
|
@@ -53459,6 +53459,7 @@ class Board {
|
|
|
53459
53459
|
const data = Array.from(items.children).map((el) => this.parseHTML(el));
|
|
53460
53460
|
for (const parsedData of data) {
|
|
53461
53461
|
if ("childrenMap" in parsedData) {
|
|
53462
|
+
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
53462
53463
|
const addedChildren = Object.values(parsedData.childrenMap).map((childData) => {
|
|
53463
53464
|
const created = this.createItem(this.getNewItemId(), childData);
|
|
53464
53465
|
const added = this.add(created);
|
|
@@ -53471,8 +53472,8 @@ class Board {
|
|
|
53471
53472
|
}
|
|
53472
53473
|
return added;
|
|
53473
53474
|
});
|
|
53475
|
+
addedFrame.addChildItems(addedChildren);
|
|
53474
53476
|
parsedData.data.children = addedChildren.map((item) => item.getId());
|
|
53475
|
-
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
53476
53477
|
idsMap[parsedData.data.id] = addedFrame.getId();
|
|
53477
53478
|
} else {
|
|
53478
53479
|
const added = this.add(this.createItem(this.getNewItemId(), parsedData));
|
package/dist/esm/index.js
CHANGED
|
@@ -53452,6 +53452,7 @@ class Board {
|
|
|
53452
53452
|
const data = Array.from(items.children).map((el) => this.parseHTML(el));
|
|
53453
53453
|
for (const parsedData of data) {
|
|
53454
53454
|
if ("childrenMap" in parsedData) {
|
|
53455
|
+
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
53455
53456
|
const addedChildren = Object.values(parsedData.childrenMap).map((childData) => {
|
|
53456
53457
|
const created = this.createItem(this.getNewItemId(), childData);
|
|
53457
53458
|
const added = this.add(created);
|
|
@@ -53464,8 +53465,8 @@ class Board {
|
|
|
53464
53465
|
}
|
|
53465
53466
|
return added;
|
|
53466
53467
|
});
|
|
53468
|
+
addedFrame.addChildItems(addedChildren);
|
|
53467
53469
|
parsedData.data.children = addedChildren.map((item) => item.getId());
|
|
53468
|
-
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
53469
53470
|
idsMap[parsedData.data.id] = addedFrame.getId();
|
|
53470
53471
|
} else {
|
|
53471
53472
|
const added = this.add(this.createItem(this.getNewItemId(), parsedData));
|
package/dist/esm/node.js
CHANGED
|
@@ -55920,6 +55920,7 @@ class Board {
|
|
|
55920
55920
|
const data = Array.from(items.children).map((el) => this.parseHTML(el));
|
|
55921
55921
|
for (const parsedData of data) {
|
|
55922
55922
|
if ("childrenMap" in parsedData) {
|
|
55923
|
+
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
55923
55924
|
const addedChildren = Object.values(parsedData.childrenMap).map((childData) => {
|
|
55924
55925
|
const created = this.createItem(this.getNewItemId(), childData);
|
|
55925
55926
|
const added = this.add(created);
|
|
@@ -55932,8 +55933,8 @@ class Board {
|
|
|
55932
55933
|
}
|
|
55933
55934
|
return added;
|
|
55934
55935
|
});
|
|
55936
|
+
addedFrame.addChildItems(addedChildren);
|
|
55935
55937
|
parsedData.data.children = addedChildren.map((item) => item.getId());
|
|
55936
|
-
const addedFrame = this.add(this.createItem(this.getNewItemId(), parsedData.data));
|
|
55937
55938
|
idsMap[parsedData.data.id] = addedFrame.getId();
|
|
55938
55939
|
} else {
|
|
55939
55940
|
const added = this.add(this.createItem(this.getNewItemId(), parsedData));
|