microboard-ui-temp 0.1.69 → 0.1.71
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/index.js +6 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -262009,7 +262009,7 @@ class Board {
|
|
|
262009
262009
|
itemData.transformation.translateX = translateX - minX + x;
|
|
262010
262010
|
itemData.transformation.translateY = translateY - minY + y;
|
|
262011
262011
|
}
|
|
262012
|
-
if ("children" in itemData && itemData.children?.length) {
|
|
262012
|
+
if (itemData.itemType !== "RichText" && "children" in itemData && itemData.children?.length) {
|
|
262013
262013
|
itemData.children = itemData.children.map((childId) => newItemIdMap[childId]);
|
|
262014
262014
|
}
|
|
262015
262015
|
newMap[newItemId] = itemData;
|
|
@@ -446293,7 +446293,11 @@ var pasteWelcomeBoardData = (board, lang) => {
|
|
|
446293
446293
|
}
|
|
446294
446294
|
return [id3, item];
|
|
446295
446295
|
}));
|
|
446296
|
-
|
|
446296
|
+
try {
|
|
446297
|
+
board.paste(filteredBoardData, false, false);
|
|
446298
|
+
} catch (e15) {
|
|
446299
|
+
console.error(e15);
|
|
446300
|
+
}
|
|
446297
446301
|
const mbr = board.items.getMbr();
|
|
446298
446302
|
board.selection.removeAll();
|
|
446299
446303
|
board.camera.zoomToFit(mbr);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-ui-temp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.71",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
61
61
|
"js-cookie": "^3.0.5",
|
|
62
62
|
"jwt-decode": "^4.0.0",
|
|
63
|
-
"microboard-temp": "^0.5.
|
|
63
|
+
"microboard-temp": "^0.5.23",
|
|
64
64
|
"nanoid": "^5.1.5",
|
|
65
65
|
"prop-types": "^15.8.1",
|
|
66
66
|
"react-hot-toast": "2.4.1",
|