@finos/legend-extension-dsl-data-space 1.0.13 → 1.0.17
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/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"DataSpaceViewer.d.ts","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkCH,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,gCAAgC,CAAC;AA8XxC,eAAO,MAAM,eAAe,WAClB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAgLvD,CAAC"}
|
|
@@ -14,14 +14,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { useRef, useEffect } from 'react';
|
|
17
|
+
import { useRef, useEffect, forwardRef } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { useResizeDetector } from 'react-resize-detector';
|
|
20
20
|
import { BlankPanelContent, ShapesIcon, PlayIcon, QuestionCircleIcon, EnvelopIcon, clsx, CustomSelectorInput, PURE_MappingIcon, PURE_RuntimeIcon, CogIcon, KeyIcon, FlaskIcon, ExternalLinkSquareIcon, ExternalLinkIcon, ShieldIcon, TagsIcon, LightBulbIcon, } from '@finos/legend-art';
|
|
21
21
|
import { DiagramRenderer, } from '@finos/legend-extension-dsl-diagram';
|
|
22
22
|
import { DataSpaceSupportEmail, } from '../models/metamodels/pure/model/packageableElements/dataSpace/DataSpace';
|
|
23
23
|
import { DATA_SPACE_VIEWER_ACTIVITY_MODE, } from '../stores/DataSpaceViewerState';
|
|
24
|
-
const DataSpaceDiagramCanvas = observer((props, ref)
|
|
24
|
+
const DataSpaceDiagramCanvas = observer(forwardRef(function DataSpaceDiagramCanvas(props, ref) {
|
|
25
25
|
const { dataSpaceViewerState, diagram } = props;
|
|
26
26
|
const diagramCanvasRef = ref;
|
|
27
27
|
const { width, height } = useResizeDetector({
|
|
@@ -44,7 +44,7 @@ const DataSpaceDiagramCanvas = observer((props, ref) => {
|
|
|
44
44
|
}
|
|
45
45
|
}, [dataSpaceViewerState, width, height]);
|
|
46
46
|
return (_jsx("div", { ref: diagramCanvasRef, className: clsx('diagram-canvas ', dataSpaceViewerState.diagramCursorClass), tabIndex: 0, onContextMenu: (event) => event.preventDefault() }, void 0));
|
|
47
|
-
}
|
|
47
|
+
}));
|
|
48
48
|
const buildDiagramOption = (diagram) => ({
|
|
49
49
|
label: diagram.name,
|
|
50
50
|
value: diagram,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSpaceViewer.js","sourceRoot":"","sources":["../../src/components/DataSpaceViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,QAAQ,EACR,kBAAkB,EAClB,WAAW,EACX,IAAI,EACJ,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,OAAO,EACP,SAAS,EACT,sBAAsB,EACtB,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,eAAe,GAChB,MAAM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C,SAAS,IAAI,CAC7C,KAAC,wBAAwB,IACvB,oBAAoB,EAAE,oBAAoB,WAC1C,CACH,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,WAAW,IAAI,CAC/C,KAAC,iBAAiB,oEAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,SAAS,IAAI,CAC7C,KAAC,iBAAiB,4DAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,aAAa,IAAI,CACjD,KAAC,iBAAiB,gEAEE,CACrB,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,IAAI,IAAI,CACxC,KAAC,aAAa,IAAC,oBAAoB,EAAE,oBAAoB,WAAI,CAC9D,EACA,oBAAoB,CAAC,eAAe;oCACnC,+BAA+B,CAAC,OAAO,IAAI,CAC3C,cAAK,SAAS,EAAC,0EAA0E,YACvF,KAAC,+BAA+B,IAC9B,oBAAoB,EAAE,oBAAoB,EAC1C,oBAAoB,EAAE,SAAS,CAAC,WAAW,WAC3C,WACE,CACP,YACG,YACF,WACF,YACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
package/lib/index.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finos/legend-extension-dsl-data-space",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"description": "Legend extension for Data Space DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"legend",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
"test:watch": "jest --watch"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@finos/legend-application": "1.1.
|
|
44
|
-
"@finos/legend-art": "0.3.
|
|
45
|
-
"@finos/legend-extension-dsl-diagram": "1.0.
|
|
46
|
-
"@finos/legend-graph": "1.
|
|
47
|
-
"@finos/legend-model-storage": "0.0.
|
|
48
|
-
"@finos/legend-query": "0.
|
|
49
|
-
"@finos/legend-server-depot": "0.0.
|
|
50
|
-
"@finos/legend-shared": "1.1
|
|
51
|
-
"@finos/legend-studio": "2.4.
|
|
52
|
-
"@types/react": "17.0.
|
|
43
|
+
"@finos/legend-application": "1.1.9",
|
|
44
|
+
"@finos/legend-art": "0.3.6",
|
|
45
|
+
"@finos/legend-extension-dsl-diagram": "1.0.17",
|
|
46
|
+
"@finos/legend-graph": "1.1.2",
|
|
47
|
+
"@finos/legend-model-storage": "0.0.19",
|
|
48
|
+
"@finos/legend-query": "0.8.1",
|
|
49
|
+
"@finos/legend-server-depot": "0.0.22",
|
|
50
|
+
"@finos/legend-shared": "1.2.1",
|
|
51
|
+
"@finos/legend-studio": "2.4.7",
|
|
52
|
+
"@types/react": "17.0.39",
|
|
53
53
|
"@types/react-router-dom": "5.3.2",
|
|
54
|
-
"mobx": "6.
|
|
55
|
-
"mobx-react-lite": "3.
|
|
56
|
-
"monaco-editor": "0.
|
|
54
|
+
"mobx": "6.4.1",
|
|
55
|
+
"mobx-react-lite": "3.3.0",
|
|
56
|
+
"monaco-editor": "0.32.1",
|
|
57
57
|
"react": "17.0.2",
|
|
58
58
|
"react-dom": "17.0.2",
|
|
59
59
|
"react-resize-detector": "7.0.0",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"serializr": "2.0.5"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@finos/legend-dev-utils": "0.3.
|
|
65
|
+
"@finos/legend-dev-utils": "0.3.10",
|
|
66
66
|
"cross-env": "7.0.3",
|
|
67
|
-
"eslint": "8.
|
|
68
|
-
"jest": "27.
|
|
67
|
+
"eslint": "8.9.0",
|
|
68
|
+
"jest": "27.5.1",
|
|
69
69
|
"npm-run-all": "4.1.5",
|
|
70
70
|
"rimraf": "3.0.2",
|
|
71
|
-
"sass": "1.49.
|
|
71
|
+
"sass": "1.49.9",
|
|
72
72
|
"typescript": "4.5.5"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { useRef, useEffect } from 'react';
|
|
17
|
+
import { useRef, useEffect, forwardRef } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { useResizeDetector } from 'react-resize-detector';
|
|
20
20
|
import {
|
|
@@ -58,13 +58,13 @@ interface DataSpaceViewerActivityConfig {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
const DataSpaceDiagramCanvas = observer(
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
forwardRef<
|
|
62
|
+
HTMLDivElement,
|
|
63
|
+
{
|
|
63
64
|
dataSpaceViewerState: DataSpaceViewerState;
|
|
64
65
|
diagram: Diagram;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
) => {
|
|
66
|
+
}
|
|
67
|
+
>(function DataSpaceDiagramCanvas(props, ref) {
|
|
68
68
|
const { dataSpaceViewerState, diagram } = props;
|
|
69
69
|
const diagramCanvasRef =
|
|
70
70
|
ref as React.MutableRefObject<HTMLDivElement | null>;
|
|
@@ -102,8 +102,7 @@ const DataSpaceDiagramCanvas = observer(
|
|
|
102
102
|
onContextMenu={(event): void => event.preventDefault()}
|
|
103
103
|
/>
|
|
104
104
|
);
|
|
105
|
-
},
|
|
106
|
-
{ forwardRef: true },
|
|
105
|
+
}),
|
|
107
106
|
);
|
|
108
107
|
|
|
109
108
|
type DiagramOption = { label: string; value: Diagram };
|