Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: cleanup
Wenzhao Hu254bbb42489f
diff --git a/.vscode/extensions.json b/.vscode/extensions.jsonindex 9d734fb796..34ada270a8 100644--- a/.vscode/extensions.json+++ b/.vscode/extensions.json@@ -1,10 +1,11 @@-{- "recommendations": [- "dbaeumer.vscode-eslint",- "editorconfig.editorconfig",- "esbenp.prettier-vscode",- "gruntfuggly.todo-tree",- "intellsmi.comment-translate",- "streetsidesoftware.code-spell-checker"- ]+{+ "recommendations": [+ "dbaeumer.vscode-eslint",+ "editorconfig.editorconfig",+ "esbenp.prettier-vscode",+ "gruntfuggly.todo-tree",+ "intellsmi.comment-translate",+ "streetsidesoftware.code-spell-checker",+ "tldraw-org.tldraw-vscode"+ ]}\ No newline at end of filediff --git a/docs/univer-arch.tldr b/docs/univer-arch.tldrnew file mode 100644index 0000000000..3c3cec313e--- /dev/null+++ b/docs/univer-arch.tldr@@ -0,0 +1,3623 @@+{+ "tldrawFileFormatVersion": 1,+ "schema": {+ "schemaVersion": 1,+ "storeVersion": 4,+ "recordVersions": {+ "asset": {+ "version": 1,+ "subTypeKey": "type",+ "subTypeVersions": {+ "image": 2,+ "video": 2,+ "bookmark": 0+ }+ },+ "camera": {+ "version": 1+ },+ "document": {+ "version": 2+ },+ "instance": {+ "version": 17+ },+ "instance_page_state": {+ "version": 3+ },+ "page": {+ "version": 1+ },+ "shape": {+ "version": 3,+ "subTypeKey": "type",+ "subTypeVersions": {+ "group": 0,+ "embed": 4,+ "bookmark": 1,+ "image": 2,+ "text": 1,+ "draw": 1,+ "geo": 7,+ "line": 0,+ "note": 4,+ "frame": 0,+ "arrow": 1,+ "highlight": 0,+ "video": 1+ }+ },+ "instance_presence": {+ "version": 4+ },+ "pointer": {+ "version": 1+ }+ }+ },+ "records": [+ {+ "gridSize": 10,+ "name": "",+ "meta": {},+ "id": "document:document",+ "typeName": "document"+ },+ {+ "meta": {},+ "id": "page:SR3O2XliBzlZM_OfK5hKh",+ "name": "Basic Plugin System Guide",+ "index": "a1",+ "typeName": "page"+ },+ {+ "meta": {},+ "id": "page:obmrElWgLsmgKMITgQNBU",+ "name": "Toolbar / Context Menu",+ "index": "a2",+ "typeName": "page"+ },+ {+ "meta": {},+ "id": "page:Hkftm43HcoOaIojpHwvxJ",+ "name": "Layers",+ "index": "a3",+ "typeName": "page"+ },+ {+ "id": "pointer:pointer",+ "typeName": "pointer",+ "x": 965.2353119082316,+ "y": 1140.1621290653752,+ "lastActivityTimestamp": 1691157465564,+ "meta": {}+ },+ {+ "followingUserId": null,+ "opacityForNextShape": 1,+ "stylesForNextShape": {+ "tldraw:color": "orange",+ "tldraw:size": "m",+ "tldraw:dash": "dotted",+ "tldraw:geo": "ellipse",+ "tldraw:fill": "solid",+ "tldraw:arrowheadStart": "arrow"+ },+ "brush": null,+ "scribble": null,+ "cursor": {+ "type": "default",+ "color": "black",+ "rotation": 0+ },+ "isFocusMode": false,+ "exportBackground": true,+ "isDebugMode": false,+ "isToolLocked": false,+ "screenBounds": {+ "x": 0,+ "y": 0,+ "w": 1464,+ "h": 837+ },+ "zoomBrush": null,+ "isGridMode": false,+ "isPenMode": false,+ "chatMessage": "",+ "isChatting": false,+ "highlightedUserIds": [],+ "meta": {},+ "id": "instance:instance",+ "currentPageId": "page:obmrElWgLsmgKMITgQNBU",+ "typeName": "instance"+ },+ {+ "editingId": null,+ "croppingId": null,+ "selectedIds": [],+ "hoveredId": null,+ "erasingIds": [],+ "hintingIds": [],+ "focusLayerId": null,+ "meta": {},+ "id": "instance_page_state:page:SR3O2XliBzlZM_OfK5hKh",+ "pageId": "page:SR3O2XliBzlZM_OfK5hKh",+ "typeName": "instance_page_state"+ },+ {+ "editingId": null,+ "croppingId": null,+ "selectedIds": [],+ "hoveredId": null,+ "erasingIds": [],+ "hintingIds": [],+ "focusLayerId": null,+ "meta": {},+ "id": "instance_page_state:page:obmrElWgLsmgKMITgQNBU",+ "pageId": "page:obmrElWgLsmgKMITgQNBU",+ "typeName": "instance_page_state"+ },+ {+ "editingId": null,+ "croppingId": null,+ "selectedIds": [],+ "hoveredId": null,+ "erasingIds": [],+ "hintingIds": [],+ "focusLayerId": null,+ "meta": {},+ "id": "instance_page_state:page:Hkftm43HcoOaIojpHwvxJ",+ "pageId": "page:Hkftm43HcoOaIojpHwvxJ",+ "typeName": "instance_page_state"+ },+ {+ "x": 985.9669607703805,+ "y": 74.76151426598216,+ "z": 0.44371658359249294,+ "meta": {},+ "id": "camera:page:SR3O2XliBzlZM_OfK5hKh",+ "typeName": "camera"+ },+ {+ "x": 133.12985187765668,+ "y": 980.3873544512667,+ "z": 0.3065280096279813,+ "meta": {},+ "id": "camera:page:obmrElWgLsmgKMITgQNBU",+ "typeName": "camera"+ },+ {+ "x": 383.07101442796784,+ "y": 643.0690506528053,+ "z": 0.5509922830523355,+ "meta": {},+ "id": "camera:page:Hkftm43HcoOaIojpHwvxJ",+ "typeName": "camera"+ },+ {+ "x": 400.2126551140982,+ "y": 1577.9747059354304,+ "z": 0.20776086253539966,+ "meta": {},+ "id": "camera:page:Zau1eymft8jnPP1dorg2g",+ "typeName": "camera"+ },+ {+ "editingId": null,+ "croppingId": null,+ "selectedIds": [],+ "hoveredId": null,+ "erasingIds": [],+ "hintingIds": [],+ "focusLayerId": null,+ "meta": {},+ "id": "instance_page_state:page:Zau1eymft8jnPP1dorg2g",+ "pageId": "page:Zau1eymft8jnPP1dorg2g",+ "typeName": "instance_page_state"+ },+ {+ "meta": {},+ "id": "page:Zau1eymft8jnPP1dorg2g",+ "name": "[Scene] Magic Share",+ "index": "a4",+ "typeName": "page"+ },+ {+ "x": 594.6702373554386,+ "y": 899.3157871706525,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 656.9009148865317,+ "h": 135.1915208331061,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Univer",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a2",+ "id": "shape:4BnOmyBans7WhuMtqQnIN",+ "typeName": "shape"+ },+ {+ "x": -41.1444091796875,+ "y": 548.8536551339287,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 464.59765625,+ "h": 115.6953125,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": " Business Level Plugin",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a1",+ "id": "shape:C9PifLphfiDssvusJ03R0",+ "typeName": "shape"+ },+ {+ "x": 570.1642459408412,+ "y": 871.8993689545641,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 61.6953125,+ "h": 61.6953125,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "DI",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a7",+ "id": "shape:Pm7VGMRvVkC0n9Lb9V3fB",+ "typeName": "shape"+ },+ {+ "x": 507.307672669377,+ "y": 750.1854126275149,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 218.64265779033587,+ "h": 103.00649814395445,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Univer Sheet",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a3",+ "id": "shape:Rkdx-QTy0ZZ4Gy51qfZXC",+ "typeName": "shape"+ },+ {+ "x": 472.5973758260843,+ "y": 720.3434309254371,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 61.6953125,+ "h": 61.6953125,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "DI",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a6",+ "id": "shape:kWGAQSqaDTxZD7RcGm_1w",+ "typeName": "shape"+ },+ {+ "x": 1063.04316775958,+ "y": 747.9609390423905,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 218.64265779033587,+ "h": 103.00649814395445,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "dashed",+ "size": "m",+ "font": "draw",+ "text": "Univer Slide",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a5",+ "id": "shape:nQPLmTsO1NwVWf3EJsqpw",+ "typeName": "shape"+ },+ {+ "x": 785.1754202144784,+ "y": 750.8722036524304,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 218.64265779033587,+ "h": 103.00649814395445,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "dashed",+ "size": "m",+ "font": "draw",+ "text": "Univer Doc",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a4",+ "id": "shape:vh6Gmyg2XKtxkjOE1c2SB",+ "typeName": "shape"+ },+ {+ "x": 260.66026952776514,+ "y": 501.3241734478256,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 141,+ "h": 91.390625,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public Services",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a8",+ "id": "shape:qJ99mSYtLRQ7roYAy0Hf6",+ "typeName": "shape"+ },+ {+ "x": 261.3735813117078,+ "y": 605.9956569561379,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 141,+ "h": 91.390625,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "dotted",+ "size": "m",+ "font": "draw",+ "text": "Internal Services",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a9",+ "id": "shape:NDi_evReQlnQN_n3Arr9x",+ "typeName": "shape"+ },+ {+ "x": 393.44859390550255,+ "y": 556.0245156826105,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a8V",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": -55.286096446686905,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:qJ99mSYtLRQ7roYAy0Hf6",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:kWGAQSqaDTxZD7RcGm_1w",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:6bBagKDt8xG5975XTO4SA",+ "typeName": "shape"+ },+ {+ "x": 321.4658866377128,+ "y": 648.7044979411778,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aA",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:NDi_evReQlnQN_n3Arr9x",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:kWGAQSqaDTxZD7RcGm_1w",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:TJDCORx0of1m5t5cqNonu",+ "typeName": "shape"+ },+ {+ "x": 205.9762423578676,+ "y": 293.570996127749,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 464.59765625,+ "h": 115.6953125,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Business Level Plugin 2",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aC",+ "id": "shape:KoltzJl9KsQwXVIh1GdAi",+ "typeName": "shape"+ },+ {+ "x": 507.78092106532023,+ "y": 246.04151444164597,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 141,+ "h": 91.390625,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public Services",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aD",+ "id": "shape:qiRwbkGBieUSprgK-GlrX",+ "typeName": "shape"+ },+ {+ "x": 508.4942328492629,+ "y": 350.7129979499582,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 141,+ "h": 91.390625,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "dotted",+ "size": "m",+ "font": "draw",+ "text": "Internal Services",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aE",+ "id": "shape:eU_Dc0T6Cwu0dxBZYmT0H",+ "typeName": "shape"+ },+ {+ "x": 591.862882603463,+ "y": 404.61367812909316,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aF",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": -44.35313237926475,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:eU_Dc0T6Cwu0dxBZYmT0H",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:kWGAQSqaDTxZD7RcGm_1w",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:lpeaXyrh8GLGu3Oi7CkWo",+ "typeName": "shape"+ },+ {+ "x": 615.1546069857334,+ "y": 297.10937847275613,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aDV",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": -140.31713085478637,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:qiRwbkGBieUSprgK-GlrX",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:kWGAQSqaDTxZD7RcGm_1w",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:AGSoebbrPTu377UzImsXl",+ "typeName": "shape"+ },+ {+ "x": 568.1691749839799,+ "y": 402.11439104555285,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aG",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:eU_Dc0T6Cwu0dxBZYmT0H",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:qJ99mSYtLRQ7roYAy0Hf6",+ "normalizedAnchor": {+ "x": 0.6912748304293146,+ "y": 0.36914046795084704+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:C2FKXObrQh0mPrwBgqMjl",+ "typeName": "shape"+ },+ {+ "x": 562.8560052399503,+ "y": 288.0385393373897,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aDG",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:qiRwbkGBieUSprgK-GlrX",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:qJ99mSYtLRQ7roYAy0Hf6",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:lewVjPwtZXe4iT2_YDcRI",+ "typeName": "shape"+ },+ {+ "x": 500.14387954921835,+ "y": 764.0991828350953,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "a7V",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "yellow",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:kWGAQSqaDTxZD7RcGm_1w",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:Pm7VGMRvVkC0n9Lb9V3fB",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:EUZ_vxr0AJ_HvA8_p4fp-",+ "typeName": "shape"+ },+ {+ "x": -71.46498959160567,+ "y": 829.2803215257031,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 464.59765625,+ "h": 115.6953125,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Univer Level Plugin",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aH",+ "id": "shape:_B6NWDLTdjW2hJaGSD7GN",+ "typeName": "shape"+ },+ {+ "x": 230.33968911584697,+ "y": 781.7508398396001,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 141,+ "h": 91.390625,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public Services",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aI",+ "id": "shape:iwH2_Ua0rR0eG_4EFF-Mt",+ "typeName": "shape"+ },+ {+ "x": 231.05300089978965,+ "y": 886.4223233479123,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 141,+ "h": 91.390625,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "dotted",+ "size": "m",+ "font": "draw",+ "text": "Internal Services",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aJ",+ "id": "shape:apo7bIQqzpo9LtkKofNcq",+ "typeName": "shape"+ },+ {+ "x": 339.61361962946853,+ "y": 821.2815453798125,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aIV",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:iwH2_Ua0rR0eG_4EFF-Mt",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:Pm7VGMRvVkC0n9Lb9V3fB",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:dFXltdcNAN3FuRX2JtVL_",+ "typeName": "shape"+ },+ {+ "x": 313.6719414214598,+ "y": 941.2737864118556,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aK",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:apo7bIQqzpo9LtkKofNcq",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:Pm7VGMRvVkC0n9Lb9V3fB",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:gDIpoIJ3Le_OTwFD0ijKz",+ "typeName": "shape"+ },+ {+ "x": 301.98749698846916,+ "y": 551.0428299068981,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aIG",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 96.19226893914764,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:qJ99mSYtLRQ7roYAy0Hf6",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:iwH2_Ua0rR0eG_4EFF-Mt",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:IVE9nuF0awRgRXuJYh8-8",+ "typeName": "shape"+ },+ {+ "x": 342.2306403068892,+ "y": 655.745772671419,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aI8",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:NDi_evReQlnQN_n3Arr9x",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:iwH2_Ua0rR0eG_4EFF-Mt",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:4XBzgCqjOw1IcKNC8oSFM",+ "typeName": "shape"+ },+ {+ "x": 179.50942910209005,+ "y": 1154.9572577624822,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "text",+ "props": {+ "color": "black",+ "size": "m",+ "w": 1087.03125,+ "text": "1. Plugin could be registered at Business Level or Univer Level. When a univer instance\nor a business instance get instantiated, registered services (and controllers etc as well)\nwould be instantiated by the DI system, too.\n2. Plugin should export tokens of public services only, so other \nplugins can inject these public services but cannot inject internal services.",+ "font": "draw",+ "align": "start",+ "autoSize": true,+ "scale": 1+ },+ "parentId": "page:SR3O2XliBzlZM_OfK5hKh",+ "index": "aL",+ "id": "shape:iRoSwbcKCFi5vv1FxhGjN",+ "typeName": "shape"+ },+ {+ "x": 549.8671875,+ "y": 362.8359375,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 1198.381901931864,+ "h": 592.8007747168215,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "UI Plugin",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "a1",+ "id": "shape:RJeyneQH2vAlq4EJz473w",+ "typeName": "shape"+ },+ {+ "x": 721.4150416882023,+ "y": 411.83352775878694,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 948.6350887777378,+ "h": 371.11802690170714,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "a2",+ "id": "shape:gatYQ1d9_klDup5MDqmy2",+ "typeName": "shape"+ },+ {+ "x": 719.862578696815,+ "y": 800.9971593408493,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 948.6350887777378,+ "h": 109.42332041939677,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Private \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "a3",+ "id": "shape:5sOq4LxgW8_3BtMET4aCx",+ "typeName": "shape"+ },+ {+ "x": 1768.1501796263608,+ "y": 1006.4765272748803,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 139.60122465596442,+ "h": 139.60122465596442,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Univer DI",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "a4",+ "id": "shape:geP2U43mcUmlAiYIDHwbw",+ "typeName": "shape"+ },+ {+ "x": 1483.8816941671826,+ "y": 864.6615725377649,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "a5",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:5sOq4LxgW8_3BtMET4aCx",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:geP2U43mcUmlAiYIDHwbw",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:pRIkir2xdzzwZcs4qMcf2",+ "typeName": "shape"+ },+ {+ "x": 1561.685792173172,+ "y": 522.9467914727198,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "a4V",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": -290.0684954732267,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:gatYQ1d9_klDup5MDqmy2",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:geP2U43mcUmlAiYIDHwbw",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:-T0T-PxL2OBK6DXiIS7Ha",+ "typeName": "shape"+ },+ {+ "x": 1030.8884845058938,+ "y": -343.3760991545995,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 1198.381901931864,+ "h": 592.8007747168215,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Base\nSheet\nPlugin",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "a6",+ "id": "shape:Ubt0hTH6GnN2jfg8gdS2X",+ "typeName": "shape"+ },+ {+ "x": 1202.436338694096,+ "y": -294.37850889581256,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 948.6350887777378,+ "h": 317.82122800125023,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "a7",+ "id": "shape:FmJsG4uEiU54_t56K79mP",+ "typeName": "shape"+ },+ {+ "x": 1200.8838757027088,+ "y": 80.49134024168177,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 948.6350887777378,+ "h": 123.71710286396478,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Private\nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "a8",+ "id": "shape:9kLxGfQDUMDQ-91scf8oC",+ "typeName": "shape"+ },+ {+ "x": 2042.7070891790659,+ "y": -183.26524518187966,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aOV",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": -563.9063094791065,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:FmJsG4uEiU54_t56K79mP",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:QQRvB05GCLaG16dWehOYe",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:vHbYaYAniZi6PQ3GFTHag",+ "typeName": "shape"+ },+ {+ "x": 1964.9029911730763,+ "y": 158.44953588316537,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aP",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": -194.2124100283801,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:9kLxGfQDUMDQ-91scf8oC",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:QQRvB05GCLaG16dWehOYe",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:x6DUnm8NDl24Oon94cazT",+ "typeName": "shape"+ },+ {+ "x": 1354.428658172039,+ "y": 517.437537333707,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 253.26785520300382,+ "h": 70.7883899202476,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "IKeyboradService",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aB",+ "id": "shape:FhiLh9n5Zgajsu9wWNUGc",+ "typeName": "shape"+ },+ {+ "x": 1352.60927457666,+ "y": 609.0427524460965,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 275.2710759826955,+ "h": 71.18897853619046,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "IContextMenuService",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aC",+ "id": "shape:5qlC5utG_0Mwfzm-kwPLI",+ "typeName": "shape"+ },+ {+ "x": 857.9036141672564,+ "y": 518.804589151005,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 211.6162000501037,+ "h": 70.25706102125955,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "IToolbarService",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aD",+ "id": "shape:e3cmUYCr2RbMLTwDC5NZu",+ "typeName": "shape"+ },+ {+ "x": 1105.5737859729425,+ "y": 517.163606087771,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 212.80090044351437,+ "h": 70.65038425365884,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "IPanelService",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aE",+ "id": "shape:rsVqvGr0Px5LhO1xD4un4",+ "typeName": "shape"+ },+ {+ "x": 859.8776620468525,+ "y": 610.2219111118928,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 211.6162000501037,+ "h": 70.25706102125955,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "IToastService",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aF",+ "id": "shape:NC5hsT-jhBa2jN36whPP3",+ "typeName": "shape"+ },+ {+ "x": 1105.6511181150508,+ "y": 609.6763063731818,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 212.80090044351437,+ "h": 70.65038425365884,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "IDialogService",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aG",+ "id": "shape:UGbypT6zyEFlsnlSt22oU",+ "typeName": "shape"+ },+ {+ "x": 864.0721046169508,+ "y": 824.9605139516494,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 275.2710759826955,+ "h": 61.6953125,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "CanvasArranger",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aH",+ "id": "shape:RKuec72wM5wjq_eO4DRij",+ "typeName": "shape"+ },+ {+ "x": 1335.6305827598708,+ "y": -256.6990379961922,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 263.7320354298761,+ "h": 75.16212399965156,+ "geo": "rectangle",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "CellspanController",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aI",+ "id": "shape:5AsyI5D_RHwa8PEVaMniw",+ "typeName": "shape"+ },+ {+ "x": 1339.0604670195512,+ "y": 102.66291579079086,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 263.7320354298761,+ "h": 75.16212399965156,+ "geo": "rectangle",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "CellspanCommand",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aJ",+ "id": "shape:jdDgK-38NKnxVPRM4eHl-",+ "typeName": "shape"+ },+ {+ "x": 1432.5665083061883,+ "y": -217.81009659097833,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aIV",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 94.99761640190387,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:5AsyI5D_RHwa8PEVaMniw",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:e3cmUYCr2RbMLTwDC5NZu",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:ETa_xIaexjP_JyJNYv0LE",+ "typeName": "shape"+ },+ {+ "x": 1432.5665083061883,+ "y": -217.81009659097833,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aFV",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 73.74714715625991,+ "start": {+ "type": "point",+ "x": -18.272750565676006,+ "y": 36.273182594437685+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:NC5hsT-jhBa2jN36whPP3",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:RFB6y5izpglYkYIGTFfED",+ "typeName": "shape"+ },+ {+ "x": 1469.642614479013,+ "y": -228.81038078111618,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aK",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:5AsyI5D_RHwa8PEVaMniw",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:jdDgK-38NKnxVPRM4eHl-",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:v7ejzgVwDn7aDjvtWbXee",+ "typeName": "shape"+ },+ {+ "x": 2414.711225089518,+ "y": 415.09517427702247,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 1198.381901931864,+ "h": 592.8007747168215,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Core",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aL",+ "id": "shape:cuSmxMPnMznLophLMN7aO",+ "typeName": "shape"+ },+ {+ "x": 2586.25907927772,+ "y": 464.0927645358094,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 948.6350887777378,+ "h": 317.82122800125023,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aM",+ "id": "shape:Xz8DfI5-g_sXgwv74ug45",+ "typeName": "shape"+ },+ {+ "x": 2584.706616286333,+ "y": 838.9626136733037,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 948.6350887777378,+ "h": 123.71710286396478,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Private\nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aN",+ "id": "shape:EF2VibmLEeMDi7hVFUcm4",+ "typeName": "shape"+ },+ {+ "x": 2009.9976615097355,+ "y": 577.5459018811598,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 139.60122465596442,+ "h": 139.60122465596442,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Sheet DI",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aO",+ "id": "shape:QQRvB05GCLaG16dWehOYe",+ "typeName": "shape"+ },+ {+ "x": 2069.7150500511866,+ "y": 652.1365775013339,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aQ",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "yellow",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:QQRvB05GCLaG16dWehOYe",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:geP2U43mcUmlAiYIDHwbw",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:TZyFbn2cGCLTMdaAwoEkb",+ "typeName": "shape"+ },+ {+ "x": 2762.1607342224693,+ "y": 585.8737582178142,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 253.26785520300382,+ "h": 70.7883899202476,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "CommandManager",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aR",+ "id": "shape:l2xZFxRxor70wqmbUSW8m",+ "typeName": "shape"+ },+ {+ "x": 2883.268867789081,+ "y": 614.0067286040634,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aS",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:l2xZFxRxor70wqmbUSW8m",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:geP2U43mcUmlAiYIDHwbw",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:bpfsW1M3emDNIIjra1U2A",+ "typeName": "shape"+ },+ {+ "x": 1520.7988425879275,+ "y": -223.93921980969571,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aRV",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:5AsyI5D_RHwa8PEVaMniw",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:l2xZFxRxor70wqmbUSW8m",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:n1Ov08mol3LYHeVatF74J",+ "typeName": "shape"+ },+ {+ "x": 1495.843040052746,+ "y": 134.53890227883824,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:obmrElWgLsmgKMITgQNBU",+ "index": "aOG",+ "props": {+ "dash": "dotted",+ "size": "m",+ "fill": "solid",+ "color": "blue",+ "labelColor": "black",+ "bend": -64.7026718030842,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:jdDgK-38NKnxVPRM4eHl-",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:QQRvB05GCLaG16dWehOYe",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:YrAmUl54n0yDxgIUSUWtB",+ "typeName": "shape"+ },+ {+ "x": 593.751953125,+ "y": 448.5859375,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 416.546875,+ "h": 73.4140625,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Univer",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Hkftm43HcoOaIojpHwvxJ",+ "index": "a1",+ "id": "shape:ZASmjTVNUumil1-p8F7FZ",+ "typeName": "shape"+ },+ {+ "x": 593.751953125,+ "y": 202.732421875,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 416.546875,+ "h": 221.83984375,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Plugins",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Hkftm43HcoOaIojpHwvxJ",+ "index": "a2",+ "id": "shape:gYsVb57-oTp_rBhaP7oEm",+ "typeName": "shape"+ },+ {+ "x": 593.751953125,+ "y": 105.3046875,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 416.546875,+ "h": 73.4140625,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Facade",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Hkftm43HcoOaIojpHwvxJ",+ "index": "a3",+ "id": "shape:Di1KGXVAkFDs-Trh8xRS0",+ "typeName": "shape"+ },+ {+ "x": 2287.7259298192,+ "y": 379.05403894154347,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 139.60122465596442,+ "h": 139.60122465596442,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Univer DI",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "a4",+ "id": "shape:XIILNwQwyjrOv7Ihn8PnF",+ "typeName": "shape"+ },+ {+ "x": 1790.9554761892598,+ "y": -381.55314264489925,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 686.8361119882084,+ "h": 317.99254602568533,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Base\nSheet\nPlugin",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "a7",+ "id": "shape:vUphMfCzXpoDY_QokJjm6",+ "typeName": "shape"+ },+ {+ "x": 1918.7125745247363,+ "y": -315.07901053320865,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 496.016149621458,+ "h": 181.2439510804706,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "a8",+ "id": "shape:bhSMFqMp9cokQbgQwt_ej",+ "typeName": "shape"+ },+ {+ "x": 2071.9045368534253,+ "y": -260.15794611996864,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 263.7320354298761,+ "h": 75.16212399965156,+ "geo": "rectangle",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "SelectionController",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aI",+ "id": "shape:zXR2OQBQQwNfSWdJCHany",+ "typeName": "shape"+ },+ {+ "x": 2477.2617021866226,+ "y": 475.7180527339964,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 722.2590923725834,+ "h": 309.7964635745043,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Core",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aM",+ "id": "shape:hz8_RKGQcsTTlJfscQ7Pf",+ "typeName": "shape"+ },+ {+ "x": 2586.25907927772,+ "y": 526.5709498362112,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 527.4178988142402,+ "h": 192.86485740044677,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aN",+ "id": "shape:jaj3AkuPsXw4Gh07Z-md2",+ "typeName": "shape"+ },+ {+ "x": 2283.351017792227,+ "y": 151.55745333527693,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 139.60122465596442,+ "h": 139.60122465596442,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Sheet DI",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aP",+ "id": "shape:9SgF2IMvcji0fJGTHF5DW",+ "typeName": "shape"+ },+ {+ "x": 2563.813546861301,+ "y": -286.21573851789526,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aQ",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 6.38988922200119,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:zXR2OQBQQwNfSWdJCHany",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:9SgF2IMvcji0fJGTHF5DW",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:MgCVjnXOOY4ZsT7NUVkJW",+ "typeName": "shape"+ },+ {+ "x": 2069.7150500511866,+ "y": 652.1365775013339,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aT",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "yellow",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:9SgF2IMvcji0fJGTHF5DW",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:XIILNwQwyjrOv7Ihn8PnF",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:NByifMJQ8usj-KIBH8QNa",+ "typeName": "shape"+ },+ {+ "x": 2762.1607342224693,+ "y": 585.8737582178142,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "geo",+ "props": {+ "w": 253.26785520300382,+ "h": 70.7883899202476,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "CommandManager",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aU",+ "id": "shape:JQqP1oZ8-ZMD3Ivfox1o5",+ "typeName": "shape"+ },+ {+ "x": 2041.9053002701623,+ "y": -326.8897131457113,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aV",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:zXR2OQBQQwNfSWdJCHany",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:JQqP1oZ8-ZMD3Ivfox1o5",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:T1trWpqTL4JLLGhCx25gs",+ "typeName": "shape"+ },+ {+ "x": 2883.268867789081,+ "y": 614.0067286040634,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aW",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:JQqP1oZ8-ZMD3Ivfox1o5",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:XIILNwQwyjrOv7Ihn8PnF",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "id": "shape:b3tTiPgN8BCIf3LbXqJbn",+ "typeName": "shape"+ },+ {+ "x": 2712.6992106282,+ "y": -0.45261139237823045,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:TytQDUQc-z7vgw2fWgOxx",+ "type": "geo",+ "props": {+ "w": 718.0029128417059,+ "h": 323.26081071040267,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "MagicShare\nPlugin",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aX",+ "typeName": "shape"+ },+ {+ "x": 2884.2470648164026,+ "y": 61.53039284915053,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:ENEuxRgdsy89R2-D8WdcG",+ "type": "geo",+ "props": {+ "w": 485.05490594639497,+ "h": 197.43731354189947,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aY",+ "typeName": "shape"+ },+ {+ "x": 3041.993410337368,+ "y": 120.27388601305142,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:oLNSuKb54ZVkXChDZUnK9",+ "type": "geo",+ "props": {+ "w": 263.7320354298761,+ "h": 75.16212399965156,+ "geo": "rectangle",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "MagicShareService",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "aa",+ "typeName": "shape"+ },+ {+ "x": 3202.609568710234,+ "y": 71.77772470559216,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:ouELoC0aoh5lLXCb608mC",+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "ad",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:oLNSuKb54ZVkXChDZUnK9",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:XIILNwQwyjrOv7Ihn8PnF",+ "normalizedAnchor": {+ "x": 0.7606853087184019,+ "y": 0.3263894804604825+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "typeName": "shape"+ },+ {+ "x": 3178.782858753869,+ "y": 80.43871900305737,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:LIO2lEbqDDloLiX2jkU9u",+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "ae",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "none",+ "color": "light-green",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:oLNSuKb54ZVkXChDZUnK9",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:JQqP1oZ8-ZMD3Ivfox1o5",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "Listen",+ "font": "draw"+ },+ "typeName": "shape"+ },+ {+ "x": 2084.350462402274,+ "y": -516.7918255163321,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:QmNLCXdXLITIGVnPR81ih",+ "type": "text",+ "props": {+ "color": "black",+ "size": "xl",+ "w": 103.4375,+ "text": "Host",+ "font": "draw",+ "align": "middle",+ "autoSize": true,+ "scale": 1+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b01",+ "typeName": "shape"+ },+ {+ "x": 2476.34912451433,+ "y": 128.23391076828113,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:tqq5QejJcnhxKaMlnGo-y",+ "type": "geo",+ "props": {+ "w": 138.71594410319267,+ "h": 124.4475060466806,+ "geo": "ellipse",+ "color": "orange",+ "labelColor": "black",+ "fill": "solid",+ "dash": "dotted",+ "size": "m",+ "font": "draw",+ "text": "Set\nSelection\nOp",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b02",+ "typeName": "shape"+ },+ {+ "x": 5149.055585226772,+ "y": 244.5917977203842,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:MGAmMhfZSikB03JkRCQKt",+ "type": "geo",+ "props": {+ "w": 139.60122465596442,+ "h": 139.60122465596442,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Univer DI",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b03",+ "typeName": "shape"+ },+ {+ "x": 4685.608706809839,+ "y": -543.6607809014569,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:76iY3wWaQoP7NV8aH141X",+ "type": "geo",+ "props": {+ "w": 686.8361119882084,+ "h": 317.99254602568533,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Base\nSheet\nPlugin",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b04",+ "typeName": "shape"+ },+ {+ "x": 4813.365805145315,+ "y": -477.18664878976625,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:SH5cGO52wYT0wV_lrPDwa",+ "type": "geo",+ "props": {+ "w": 496.016149621458,+ "h": 181.2439510804706,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b05",+ "typeName": "shape"+ },+ {+ "x": 4966.557767474004,+ "y": -422.26558437652625,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:gnOJVfiMe5Pr_Os3zZuDW",+ "type": "geo",+ "props": {+ "w": 263.7320354298761,+ "h": 75.16212399965156,+ "geo": "rectangle",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "SelectionController",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b06",+ "typeName": "shape"+ },+ {+ "x": 4557.090151871734,+ "y": 409.61759779992065,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:dTgwTO8aFkvGWJWcxzRPG",+ "type": "geo",+ "props": {+ "w": 722.2590923725834,+ "h": 309.7964635745043,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Core",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b07",+ "typeName": "shape"+ },+ {+ "x": 4666.087528962832,+ "y": 460.47049490213544,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:jE-7-sYr68vJL2K6qAox5",+ "type": "geo",+ "props": {+ "w": 527.4178988142402,+ "h": 192.86485740044677,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b08",+ "typeName": "shape"+ },+ {+ "x": 5128.391632519617,+ "y": 48.318979642187514,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:C-DJu97DaVXDWQ4DPjMMh",+ "type": "geo",+ "props": {+ "w": 139.60122465596442,+ "h": 139.60122465596442,+ "geo": "ellipse",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Sheet DI",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b09",+ "typeName": "shape"+ },+ {+ "x": 5458.46677748188,+ "y": -448.32337677445287,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:yidzwO2gz6dkr2lBmdRGP",+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0A",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 6.38988922200119,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:gnOJVfiMe5Pr_Os3zZuDW",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:C-DJu97DaVXDWQ4DPjMMh",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "typeName": "shape"+ },+ {+ "x": 4149.543499736298,+ "y": 586.0361225672582,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:E0SEfRaGw_ekLwV2wTex9",+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0B",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "yellow",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:C-DJu97DaVXDWQ4DPjMMh",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:MGAmMhfZSikB03JkRCQKt",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "typeName": "shape"+ },+ {+ "x": 4841.989183907581,+ "y": 519.7733032837384,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:IMfAkmy53ZrIDOQLzAxZ4",+ "type": "geo",+ "props": {+ "w": 253.26785520300382,+ "h": 70.7883899202476,+ "geo": "rectangle",+ "color": "light-violet",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "CommandManager",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0C",+ "typeName": "shape"+ },+ {+ "x": 4953.940962554795,+ "y": -493.83063654688453,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:IynzoRHNGNhwUq4ndpkfJ",+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0D",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-green",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:gnOJVfiMe5Pr_Os3zZuDW",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:IMfAkmy53ZrIDOQLzAxZ4",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "typeName": "shape"+ },+ {+ "x": 4963.097317474193,+ "y": 547.9062736699876,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:Zk3dsQytRpg3dJ4sb_pLH",+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0E",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:IMfAkmy53ZrIDOQLzAxZ4",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:MGAmMhfZSikB03JkRCQKt",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "typeName": "shape"+ },+ {+ "x": 3807.8157267499187,+ "y": -97.0210490516431,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:WvOElOem5BZLTc9oBm2Ej",+ "type": "geo",+ "props": {+ "w": 718.0029128417059,+ "h": 323.26081071040267,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "MagicShare\nPlugin",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0F",+ "typeName": "shape"+ },+ {+ "x": 3979.3635809381217,+ "y": -35.03804481011434,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:vdLDFBzLroLNmE_Ow3KWA",+ "type": "geo",+ "props": {+ "w": 485.05490594639497,+ "h": 197.43731354189947,+ "geo": "rectangle",+ "color": "black",+ "labelColor": "black",+ "fill": "none",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "Public \nServices",+ "align": "start",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0G",+ "typeName": "shape"+ },+ {+ "x": 4137.109926459087,+ "y": 23.70544835378655,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:oTcWaTAOTChzyLEXFaqtS",+ "type": "geo",+ "props": {+ "w": 263.7320354298761,+ "h": 75.16212399965156,+ "geo": "rectangle",+ "color": "yellow",+ "labelColor": "black",+ "fill": "solid",+ "dash": "draw",+ "size": "m",+ "font": "draw",+ "text": "MagicShareService",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0H",+ "typeName": "shape"+ },+ {+ "x": 4123.654798749349,+ "y": 72.43624427542409,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:Xrth7OfvV3ARa8itZIfkU",+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0I",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "solid",+ "color": "light-blue",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:oTcWaTAOTChzyLEXFaqtS",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:MGAmMhfZSikB03JkRCQKt",+ "normalizedAnchor": {+ "x": 0.7606853087184019,+ "y": 0.3263894804604825+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "",+ "font": "draw"+ },+ "typeName": "shape"+ },+ {+ "x": 4099.828088792984,+ "y": 81.0972385728893,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:O9IGTmKNCXrHgyh5mUPsx",+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0J",+ "props": {+ "dash": "draw",+ "size": "m",+ "fill": "none",+ "color": "light-green",+ "labelColor": "black",+ "bend": 0,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:oTcWaTAOTChzyLEXFaqtS",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:IMfAkmy53ZrIDOQLzAxZ4",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "none",+ "arrowheadEnd": "arrow",+ "text": "Deserialize and get registered option",+ "font": "draw"+ },+ "typeName": "shape"+ },+ {+ "x": 4979.0036930228525,+ "y": -678.8994637728897,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:77hPA0uMpcOive3gzrUTd",+ "type": "text",+ "props": {+ "color": "black",+ "size": "xl",+ "w": 103.4375,+ "text": "Host",+ "font": "draw",+ "align": "middle",+ "autoSize": true,+ "scale": 1+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0K",+ "typeName": "shape"+ },+ {+ "x": 4962.906595302255,+ "y": -26.34423957661295,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:D91zCCfk-K2Lz8EqiG50a",+ "type": "geo",+ "props": {+ "w": 138.71594410319267,+ "h": 124.4475060466806,+ "geo": "ellipse",+ "color": "orange",+ "labelColor": "black",+ "fill": "solid",+ "dash": "dotted",+ "size": "m",+ "font": "draw",+ "text": "Set\nSelection\nOp",+ "align": "middle",+ "verticalAlign": "middle",+ "growY": 0,+ "url": ""+ },+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0L",+ "typeName": "shape"+ },+ {+ "x": 3432.9491530075356,+ "y": 77.33162718662527,+ "rotation": 0,+ "isLocked": false,+ "opacity": 1,+ "meta": {},+ "id": "shape:zA342MLQj6t8HQhoRIUDu",+ "type": "arrow",+ "parentId": "page:Zau1eymft8jnPP1dorg2g",+ "index": "b0HV",+ "props": {+ "dash": "dotted",+ "size": "m",+ "fill": "solid",+ "color": "orange",+ "labelColor": "black",+ "bend": 1.0983458963162807,+ "start": {+ "type": "binding",+ "boundShapeId": "shape:oLNSuKb54ZVkXChDZUnK9",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "end": {+ "type": "binding",+ "boundShapeId": "shape:oTcWaTAOTChzyLEXFaqtS",+ "normalizedAnchor": {+ "x": 0.5,+ "y": 0.5+ },+ "isExact": false+ },+ "arrowheadStart": "arrow",+ "arrowheadEnd": "arrow",+ "text": "Transfer",+ "font": "draw"+ },+ "typeName": "shape"+ }+ ]+}\ No newline at end of filediff --git a/packages/core/test/DI/Async/async.base.ts b/packages/core/test/DI/Async/async.base.tsdeleted file mode 100644index 99f6c7a661..0000000000--- a/packages/core/test/DI/Async/async.base.ts+++ /dev/null@@ -1,12 +0,0 @@-import { createIdentifier } from '../../../src/DI/Decorators';--export class AA {- key = 'aa';-}--export interface BB {- key: string;- getConstructedTime?(): number;-}--export const bbI = createIdentifier<BB>('bb');diff --git a/packages/core/test/DI/Async/async.dead.ts b/packages/core/test/DI/Async/async.dead.tsdeleted file mode 100644index 1e14df5446..0000000000--- a/packages/core/test/DI/Async/async.dead.ts+++ /dev/null@@ -1 +0,0 @@-export class A {}diff --git a/packages/core/test/DI/Async/async.item.ts b/packages/core/test/DI/Async/async.item.tsdeleted file mode 100644index ac4e2f5767..0000000000--- a/packages/core/test/DI/Async/async.item.ts+++ /dev/null@@ -1,40 +0,0 @@-import { DependencyPair } from '../../../src/DI/DependencyCollection';-import { Inject } from '../../../src/DI/DependencyQuantity';-import { AA, BB, bbI } from './async.base';--export class BBImpl implements BB {- static counter = 0;-- constructor(@Inject(AA) private readonly aa: AA) {- BBImpl.counter += 1;- }-- get key(): string {- return `${this.aa.key}bb`;- }-- getConstructedTime(): number {- return BBImpl.counter;- }-}--export const BBFactory: DependencyPair<BB> = [- bbI,- {- useFactory: (aa: AA) => ({- key: `${aa.key}bb2`,- }),- deps: [AA],- },-];--export const BBLoader: DependencyPair<any> = [- 'dead',- {- useAsync: () => import('./async.dead').then((module) => module.A),- },-];--export const BBValue: BB = {- key: 'bb3',-};diff --git a/packages/core/test/DI/Util/ExpectToThrow.ts b/packages/core/test/DI/Util/ExpectToThrow.tsdeleted file mode 100644index c1d9c5bbca..0000000000--- a/packages/core/test/DI/Util/ExpectToThrow.ts+++ /dev/null@@ -1,18 +0,0 @@-/**- * Helps prevent error logs blowing up as a result of expecting an error to be thrown,- * when using a library (such as enzyme)- *- * @param func Function that you would normally pass to `expect(func).toThrow()`- */-export const expectToThrow = (func: () => unknown, error?: string): void => {- // Even though the error is caught, it still gets printed to the console- // so we mock that out to avoid the wall of red text.- const spy = jest.spyOn(console, 'error');- spy.mockImplementation(() => {- // empty- });-- expect(func).toThrow(error);-- spy.mockRestore();-};diff --git a/packages/core/test/DI/core.test.ts b/packages/core/test/DI/core.test.tsdeleted file mode 100644index 0648b25499..0000000000--- a/packages/core/test/DI/core.test.ts+++ /dev/null@@ -1,1028 +0,0 @@-/* eslint-disable max-lines-per-function */--import { setDependencies } from '../../src/DI/DependencyDeclare';-import { forwardRef } from '../../src/DI/DependencyForwardRef';-import { AsyncHook } from '../../src/DI/DependencyItem';-import { SkipSelf, Self } from '../../src/DI/DependencyLookUp';-import { Inject, Many, Optional } from '../../src/DI/DependencyQuantity';-import { TEST_ONLY_clearSingletonDependencies } from '../../src/DI/DependencySingletons';-import { WithNew } from '../../src/DI/DependencyWithNew';-import { IDisposable } from '../../src/DI/Lifecycle';-import { Injector } from '../../src/DI/Injector';-import { expectToThrow } from './Util/ExpectToThrow';-import { AA, BB, bbI } from './Async/async.base';-import {- TEST_ONLY_clearKnownIdentifiers,- createIdentifier,-} from '../../src/DI/Decorators';--function cleanupTest() {- TEST_ONLY_clearKnownIdentifiers();- TEST_ONLY_clearSingletonDependencies();-}--describe('core', () => {- describe('basics', () => {- afterEach(() => cleanupTest());-- it('should throw error when identifier has been declared before', () => {- createIdentifier('a');-- expectToThrow(- () => createIdentifier('a'),- '[DI]: Identifier "a" already exists.'- );- });-- it('should resolve instance and then cache it', () => {- let createCount = 0;-- class A {- constructor() {- createCount += 1;- }- }-- const j = new Injector([[A]]);-- j.get(A);- expect(createCount).toBe(1);-- j.get(A);- expect(createCount).toBe(1);- });-- it('should support adding dependencies', () => {- const j = new Injector();-- class A {- key = 'a';- }-- class B {- constructor(@Inject(A) public a: A) {}- }-- interface C {- key: string;- }-- const cI = createIdentifier<C>('cI');- const cII = createIdentifier<C>('cII');-- const a = new A();-- j.add(A, a);- j.add(B);- j.add(cI, {- useFactory: (a: A) => ({- key: a.key,- }),- deps: [A],- });- j.add([- cII,- {- useFactory: (a: A) => ({- key: a.key,- }),- deps: [A],- },- ]);-- const b = j.get(B);- expect(b.a).toBe(a);-- const c = j.get(cI);- expect(c.key).toBe('a');-- const cii = j.get(cII);- expect(cii.key).toBe('a');- });-- it('should "createInstance" work', () => {- class A {- key = 'a';- }-- class B {- constructor(@Inject(A) public a: A) {}- }-- const j = new Injector([[A]]);- const b = j.createInstance(B);-- expect(b.a.key).toBe('a');- });-- it('should "createInstance" support custom args', () => {- class A {- key = 'a';- }-- class B {- constructor(- private readonly otherKey: string,- @Inject(A) readonly a: A- ) {}-- get key() {- return `${this.otherKey}a`;- }- }-- const j = new Injector([[A]]);- const b = j.createInstance(B, 'another ');- expect(b.key).toBe('another a');- });-- it('should "createInstance" truncate extra custom args', () => {});-- it('should "createInstance" fill unprovided custom args with "undefined"', () => {- class A {- key = 'a';- }-- class B {- constructor(- private readonly otherKey: string,- private readonly secondKey: string,- @Inject(A) readonly a: A- ) {}-- get key() {- return `${this.otherKey + this.secondKey} ${this.a.key}`;- }- }-- const spy = jest.spyOn(console, 'warn');- spy.mockImplementation(() => {});-- const j = new Injector([[A]]);- const b = j.createInstance(B, 'another ');-- expect(b.key).toBe('another undefined a');- expect(spy).toHaveBeenCalledWith(- '[DI]: Expect 2 custom parameter(s) but get 1.'- );-- spy.mockRestore();- });-- it('should detect circular dependency', () => {- const aI = createIdentifier('aI');- const bI = createIdentifier('bI');-- class A {- constructor(@Inject(bI) private readonly b: any) {}- }-- class B {- constructor(@Inject(aI) private readonly a: any) {}- }-- const j = new Injector([- [aI, { useClass: A }],- [bI, { useClass: B }],- ]);-- expectToThrow(- () => j.get(aI),- `[DI]: Detecting cyclic dependency. The last identifier is "B".`- );- });- });-- describe('different types of dependency items', () => {- describe('class item', () => {- afterEach(() => cleanupTest());-- it('should initialize when lazy class instance is actually accessed', () => {- interface A {- key: string;-- getAnotherKey(): string;- }-- let flag = false;-- const aI = createIdentifier<A>('aI');-- class A1 implements A {- key = 'a';-- constructor() {- flag = true;- }-- getAnotherKey(): string {- return `another ${this.key}`;- }- }-- class B {- constructor(@Inject(aI) private a: A) {}-- get key(): string {- return `${this.a.key}b`;- }-- getAnotherKey(): string {- return `${this.a.getAnotherKey()}b`;- }-- setKey(): void {- this.a.key = 'changed ';- }- }-- const j = new Injector([[B], [aI, { useClass: A1, lazy: true }]]);-- const b = j.get(B);- expect(flag).toBeFalsy();-- expect(b.key).toBe('ab');- expect(flag).toBeTruthy();-- expect(b.getAnotherKey()).toBe('another ab');-- b.setKey();-- expect(b.getAnotherKey()).toBe('another changed b');- });-- it('should support "setDependencies"', () => {- class A {- key = 'a';- }-- class B {- constructor(readonly a: A) {}- }-- setDependencies(B, [[A]]);-- const j = new Injector([[A], [B]]);-- const b = j.get(B);-- expect(b.a.key).toBe('a');- });-- it('should warn use when a dependency is missing', () => {- class A {- constructor(private b: typeof B) {}-- get key(): string {- return typeof this.b === 'undefined'- ? 'undefined'- : `a${this.b.key}`;- }- }-- // mock that B is not assigned to the class constructor- let B: any;-- expectToThrow(() => {- setDependencies(A, [[B]]);- }, '[DI]: It seems that you register "undefined" as dependency on the 1 parameter of "A".');-- B = class {- key = 'b';- };- });- });-- describe('instance item', () => {- afterEach(() => cleanupTest());-- it('should just work', () => {- const a = {- key: 'a',- };-- interface A {- key: string;- }-- const aI = createIdentifier<A>('aI');-- const j = new Injector([[aI, { useValue: a }]]);-- expect(j.get(aI).key).toBe('a');- });- });-- describe('factory item', () => {- afterEach(() => cleanupTest());-- it('should just work with zero dep', () => {- interface A {- key: string;- }-- const aI = createIdentifier<A>('aI');-- const j = new Injector([- [- aI,- {- useFactory: () => ({- key: 'a',- }),- },- ],- ]);-- expect(j.get(aI).key).toBe('a');- });- });-- describe('async item', () => {- afterEach(() => cleanupTest());-- it('should support async loaded ctor', () =>- new Promise<void>((done) => {- const j = new Injector([- [AA],- [- bbI,- {- useAsync: () =>- import('./Async/async.item').then(- (module) => module.BBImpl- ),- },- ],- ]);-- j.getAsync(bbI).then((bb) => {- expect(bb.key).toBe('aabb');- expect(bb.getConstructedTime?.()).toBe(1);- });-- // should check if instantiated in whenReady- j.getAsync(bbI).then((bb) => {- expect(bb.key).toBe('aabb');- expect(bb.getConstructedTime?.()).toBe(1);- });-- // eslint-disable-next-line no-promise-executor-return- new Promise((resolve) => setTimeout(resolve, 3000)).then(() => {- // should use cached value this time- j.getAsync(bbI).then((bb) => {- expect(bb.key).toBe('aabb');- expect(bb.getConstructedTime?.()).toBe(1);- done();- });- });- }));-- it('should support async loaded factory', () =>- new Promise<void>((done) => {- const j = new Injector([- [AA],- [- bbI,- {- useAsync: () =>- import('./Async/async.item').then(- (module) => module.BBFactory- ),- },- ],- ]);-- j.getAsync(bbI).then((bb) => {- expect(bb.key).toBe('aabb2');- done();- });- }));-- it('should support async loaded value', () =>- new Promise<void>((done) => {- const j = new Injector([- [AA],- [- bbI,- {- useAsync: () =>- import('./Async/async.item').then(- (module) => module.BBValue- ),- },- ],- ]);-- j.getAsync(bbI).then((bb) => {- expect(bb.key).toBe('bb3');- done();- });- }));-- it('should "getAsync" support sync dependency items', () =>- new Promise<void>((done) => {- interface A {- key: string;- }-- const iA = createIdentifier<A>('iA');-- const j = new Injector([- [- iA,- {- useValue: {- key: 'a',- },- },- ],- ]);-- j.getAsync(iA).then((a) => {- expect(a.key).toBe('a');- done();- });- }));-- it('should throw error when async loader returns a async loader', () =>- new Promise<void>((done) => {- const j = new Injector([- [AA],- [- bbI,- {- useAsync: () =>- import('./Async/async.item').then(- (module) => module.BBLoader- ),- },- ],- ]);-- j.getAsync(bbI)- .then((bb) => {- expect(bb.key).toBe('aabb2');- })- .catch(() => {- // the test would end up here- done();- });- }));-- it('should throw error when get an async item via "get"', () => {- const j = new Injector([- [AA],- [- bbI,- {- useAsync: () =>- import('./Async/async.item').then(- (module) => module.BBFactory- ),- },- ],- ]);-- expectToThrow(() => {- j.get(bbI);- }, '[DI]: Cannot get async item "bb" from sync api.');- });-- it('should "AsyncHook" work', () =>- new Promise<void>((done) => {- class A {- constructor(@Inject(bbI) private bbILoader: AsyncHook<BB>) {}-- readKey(): Promise<string> {- return this.bbILoader.whenReady().then((bb) => bb.key);- }- }-- const j = new Injector([- [A],- [AA],- [- bbI,- {- useAsync: () =>- import('./Async/async.item').then(- (module) => module.BBFactory- ),- },- ],- ]);-- j.get(A)- .readKey()- .then((key) => {- expect(key).toBe('aabb2');- done();- })- .catch(() => {- expect(false).toBeTruthy(); // intent to make this test fail- done();- });- }));- });-- describe('injector', () => {- afterEach(() => cleanupTest());-- it('should support inject itself', () => {- const a = {- key: 'a',- };-- interface A {- key: string;- }-- const aI = createIdentifier<A>('aI');-- const j = new Injector([[aI, { useValue: a }]]);-- // totally verbose for real use case, but to show this works- expect(j.get(Injector).get(aI).key).toBe('a');- });- });- });-- describe('quantities', () => {- afterEach(() => cleanupTest());-- it('should support "Many"', () => {- interface A {- key: string;- }-- class A1 implements A {- key = 'a1';- }-- class A2 implements A {- key = 'a2';- }-- const aI = createIdentifier<A>('aI');-- class B {- constructor(@Many(aI) private aS: A[]) {}-- get key(): string {- return `${this.aS.map((a) => a.key).join('')}b`;- }- }-- const cI = createIdentifier<A>('cI');-- const j = new Injector([- [aI, { useClass: A1 }],- [aI, { useClass: A2 }],- [B],- [- cI,- {- useFactory: (aS: A[]) => ({- key: `${aS.map((a) => a.key).join('')}c`,- }),- deps: [[new Many(), aI]],- },- ],- ]);-- expect(j.get(B).key).toBe('a1a2b');- expect(j.get(cI).key).toBe('a1a2c');- });-- it('should support "Optional"', () => {- interface A {- key: string;- }-- const aI = createIdentifier<A>('aI');-- class B {- constructor(@Optional() @aI private a?: A) {}-- get key(): string {- return `${this.a?.key || 'no a'}b`;- }- }-- const cI = createIdentifier<A>('cI');-- const j = new Injector([- [B],- [- cI,- {- useFactory: (aS?: A) => ({- key: `${aS?.key || 'no a'}c`,- }),- deps: [[new Optional(), aI]],- },- ],- ]);-- expect(j.get(B).key).toBe('no ab');- expect(j.get(cI).key).toBe('no ac');- });-- it('should throw error when using decorator on a non-injectable parameter', () => {- class A {}-- expectToThrow(() => {- class B {- constructor(@Optional() _a: A) {- // empty- }- }- }, `[DI]: Could not find dependency registered on the 1 parameter of the constructor of "B".`);- });-- it('should throw error when a required / optional dependency is provided with many values', () => {- interface A {- key: string;- }-- const aI = createIdentifier<A>('aI');-- class B {- constructor(@aI private a: A) {}-- get key(): string {- return `${this.a?.key || 'no a'}b`;- }- }-- const j = new Injector([- [B],- [aI, { useValue: { key: 'a1' } }],- [aI, { useValue: { key: 'a2' } }],- ]);-- expectToThrow(- () => j.get(B),- `[DI]: Expect "required" dependency items for id "aI" but get 2.`- );- });- });-- describe('layered injection system', () => {- afterEach(() => cleanupTest());-- it('should get dependencies upwards', () => {- class A {- key = 'a';- }-- const cI = createIdentifier<C>('cI');-- interface C {- key: string;- }-- class B {- constructor(@Inject(A) private a: A, @Inject(cI) private c: C) {}-- get key() {- return `${this.a.key}b${this.c.key}`;- }- }-- class C1 implements C {- key = 'c1';- }-- class C2 implements C {- key = 'c2';- }-- const injector = new Injector([[A], [B], [cI, { useClass: C1 }]]);- const child = injector.createChild([[cI, { useClass: C2 }]]);-- const b = child.get(B);- expect(b.key).toBe('abc1');- });-- it('should work with "SkipSelf"', () => {- class A {- key = 'a';- }-- interface B {- key: string;- }-- const bI = createIdentifier<B>('bI');- const cI = createIdentifier<C>('cI');-- interface C {- key: string;- }-- class C1 implements C {- key = 'c1';- }-- class C2 implements C {- key = 'c2';- }-- class D {- constructor(@SkipSelf() @cI private readonly c: C) {}-- get key(): string {- return `${this.c.key}d`;- }- }-- const injector = new Injector([[A], [cI, { useClass: C1 }]]);- const child = injector.createChild([- [cI, { useClass: C2 }],- [- bI,- {- useFactory: (a: A, c: C) => ({- key: `${a.key}b${c.key}`,- }),- deps: [A, [new SkipSelf(), cI]],- },- ],- [D],- ]);-- const b = child.get(bI);- expect(b.key).toBe('abc1');-- const d = child.get(D);- expect(d.key).toBe('c1d');- });-- it('should throw error if could not resolve with "Self"', () => {- class A {- key = 'a';- }-- interface B {- key: string;- }-- const bI = createIdentifier<B>('bI');- const cI = createIdentifier<C>('cI');-- interface C {- key: string;- }-- class C1 implements C {- key = 'c1';- }-- const injector = new Injector([[A], [cI, { useClass: C1 }]]);- const child = injector.createChild([- [- bI,- {- useFactory: (a: A, c: C) => ({- key: `${a.key}b${c.key}`,- }),- deps: [A, [new Self(), cI]],- },- ],- ]);-- expectToThrow(- () => child.get(bI),- '[DI]: Cannot find "cI" registered by any injector.'- );- });-- it('should throw error when no ancestor injector could provide dependency', () => {- class A {}-- const j = new Injector();-- expectToThrow(- () => j.get(A),- `[DI]: Cannot find "A" registered by any injector.`- );- });- });-- describe('forwardRef', () => {- afterEach(() => cleanupTest());-- it('should throw Error when forwardRef is not used', () => {- expectToThrow(() => {- class A {- constructor(@Inject(B) private b: B) {}-- get key(): string {- return typeof this.b === 'undefined'- ? 'undefined'- : `a${this.b.key}`;- }- }-- class B {- key = 'b';- }- }, `Cannot access 'B' before initialization`);- });-- it('should work when "forwardRef" is used', () => {- class A {- constructor(@Inject(forwardRef(() => B)) private b: any /** B */) {}-- get key(): string {- return typeof this.b === 'undefined'- ? 'undefined'- : `a${this.b.key}`;- }- }-- class B {- key = 'b';- }-- const j = new Injector([[A], [B]]);- expect(j.get(A).key).toBe('ab');- });- });-- describe('non singleton', () => {- it('should work with "WithNew" - classes', () => {- let c = 0;-- class A {- count = c++;- }-- class B {- constructor(@WithNew() @Inject(A) private readonly a: A) {}-- get(): number {- return this.a.count;- }- }-- const j = new Injector([[A], [B]]);- const b1 = j.createInstance(B);- const b2 = j.createInstance(B);-- expect(b1.get()).toBe(0);- expect(b2.get()).toBe(1);- });-- it('should work with "WithNew" - factories', () => {- let c = 0;-- const ICount = createIdentifier<number>('ICount');-- class B {- constructor(@WithNew() @Inject(ICount) readonly count: number) {}- }-- const j = new Injector([[B], [ICount, { useFactory: () => c++ }]]);-- const b1 = j.createInstance(B);- const b2 = j.createInstance(B);-- expect(b1.count).toBe(0);- expect(b2.count).toBe(1);- });- });-- describe('hooks', () => {- afterEach(() => cleanupTest());-- it('should "onInstantiation" work for class dependencies', () => {- interface A {- key: string;-- getAnotherKey(): string;- }-- let flag = false;-- const aI = createIdentifier<A>('aI');-- class A1 implements A {- key = 'a';-- constructor() {- flag = true;- }-- getAnotherKey(): string {- return `another ${this.key}`;- }- }-- class B {- constructor(@Inject(aI) private a: A) {}-- get key(): string {- return `${this.a.key}b`;- }-- getAnotherKey(): string {- return `${this.a.getAnotherKey()}b`;- }-- setKey(): void {- this.a.key = 'changed ';- }- }-- const j = new Injector([- [B],- [- aI,- {- useClass: A1,- lazy: true,- onInstantiation: (i: A) => (i.key = 'a++'),- },- ],- ]);-- const b = j.get(B);- expect(flag).toBeFalsy();-- expect(b.key).toBe('a++b');- expect(flag).toBeTruthy();-- expect(b.getAnotherKey()).toBe('another a++b');-- b.setKey();-- expect(b.getAnotherKey()).toBe('another changed b');- });-- it('should "onInstantiation" work for factory dependencies', () => {- interface A {- key: string;- }-- const aI = createIdentifier<A>('aI');-- const j = new Injector([- [- aI,- {- useFactory: () => ({- key: 'a',- }),- onInstantiation: (i: A) => (i.key = 'a++'),- },- ],- ]);-- expect(j.get(aI).key).toBe('a++');- });- });-- describe('dispose', () => {- afterEach(() => cleanupTest());-- it('should dispose', () => {- let flag = false;-- // for test coverage- class A {- key = 'a';- }-- class B implements IDisposable {- constructor(@Inject(A) private readonly a: A) {}-- get key(): string {- return `${this.a.key}b`;- }-- dispose() {- flag = true;- }- }-- const j = new Injector([[A], [B]]);- j.get(B);-- j.dispose();-- expect(flag).toBeTruthy();- });-- it('should throw error when called after disposing', () => {- class A {}-- const j = new Injector();- j.dispose();-- expectToThrow(() => j.get(A), '');- });- });-});diff --git a/packages/core/test/DI/singleton.test.ts b/packages/core/test/DI/singleton.test.tsdeleted file mode 100644index eb2b4c3793..0000000000--- a/packages/core/test/DI/singleton.test.ts+++ /dev/null@@ -1,75 +0,0 @@-/* eslint-disable max-lines-per-function */-import {- TEST_ONLY_clearKnownIdentifiers,- createIdentifier,-} from '../../src/DI/Decorators';-import {- TEST_ONLY_clearSingletonDependencies,- registerSingleton,-} from '../../src/DI/DependencySingletons';-import { Injector } from '../../src/DI/Injector';--describe('singleton', () => {- beforeAll(() => {- TEST_ONLY_clearSingletonDependencies();- TEST_ONLY_clearKnownIdentifiers();- });-- afterEach(() => {- TEST_ONLY_clearSingletonDependencies();- TEST_ONLY_clearKnownIdentifiers();- });-- it('should just works', () => {- interface A {- key: string;- }-- const aI = createIdentifier<A>('aI');-- registerSingleton(aI, { useValue: { key: 'a' } });-- const j = new Injector();-- expect(j.get(aI).key).toBe('a');- });-- it('should throw error when register an identifier twice', () => {- interface A {- key: string;- }-- const aI = createIdentifier<A>('aI');-- registerSingleton(aI, { useValue: { key: 'a' } });-- expect(() => {- registerSingleton(aI, { useValue: { key: 'a2' } });- }).toThrowError();- });-- it('should warn user when singleton is fetched more than once', () => {- interface A {- key: string;- }-- const aI = createIdentifier<A>('aI');-- registerSingleton(aI, { useValue: { key: 'a' } });-- const j = new Injector();-- expect(j.get(aI).key).toBe('a');-- const spy = jest.spyOn(console, 'warn');- spy.mockImplementation(() => {});-- new Injector();-- expect(spy).toHaveBeenCalledWith(- '[DI]: Singleton dependencies has been fetched before by an other injector. Please avoid fetching singleton dependencies twice.'- );-- spy.mockRestore();- });-});