@finos/legend-extension-dsl-diagram 5.0.3 → 5.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  /// <reference types="react" resolution-mode="require"/>
17
- import type { Class } from '@finos/legend-graph';
17
+ import { type Class } from '@finos/legend-graph';
18
18
  export declare const ClassDiagramPreview: ((props: {
19
19
  _class: Class;
20
20
  }) => JSX.Element) & {
@@ -1 +1 @@
1
- {"version":3,"file":"ClassDiagramPreview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/ClassDiagramPreview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAMH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAKjD,eAAO,MAAM,mBAAmB,WAAoB;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE;;CAkEnE,CAAC"}
1
+ {"version":3,"file":"ClassDiagramPreview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/ClassDiagramPreview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAMH,OAAO,EAAE,KAAK,KAAK,EAAqB,MAAM,qBAAqB,CAAC;AAIpE,eAAO,MAAM,mBAAmB,WAAoB;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE;;CAiEnE,CAAC"}
@@ -18,14 +18,13 @@ import { useState, useRef, useEffect, useCallback } from 'react';
18
18
  import { useResizeDetector } from 'react-resize-detector';
19
19
  import { observer } from 'mobx-react-lite';
20
20
  import { useApplicationStore } from '@finos/legend-application';
21
+ import { isElementReadOnly } from '@finos/legend-graph';
21
22
  import { InheritanceDiagramRenderer } from './InheritanceDiagramRenderer.js';
22
23
  import { DSL_DIAGRAM_TEST_ID } from './DSLDiagram_TestID.js';
23
- import { useEditorStore } from '@finos/legend-application-studio';
24
24
  export const ClassDiagramPreview = observer((props) => {
25
25
  const { _class } = props;
26
26
  const applicationStore = useApplicationStore();
27
- const editorStore = useEditorStore();
28
- const classHash = editorStore.graphManagerState.isElementReadOnly(_class)
27
+ const classHash = isElementReadOnly(_class)
29
28
  ? undefined
30
29
  : applicationStore.notifyAndReturnAlternativeOnError(() => _class.hashCode, undefined); // attempting to read the hashCode of immutable element will throw an error
31
30
  const [diagramRenderer, setDiagramRenderer] = useState();
@@ -1 +1 @@
1
- {"version":3,"file":"ClassDiagramPreview.js","sourceRoot":"","sources":["../../../src/components/studio/ClassDiagramPreview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAElE,MAAM,CAAC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,CAAC,KAAwB,EAAE,EAAE;IACvE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,SAAS,GAAG,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,MAAM,CAAC;QACvE,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,gBAAgB,CAAC,iCAAiC,CAChD,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,EACrB,SAAS,CACV,CAAC,CAAC,2EAA2E;IAClF,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GACzC,QAAQ,EAA8B,CAAC;IAC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ACL,cACE,GAAG,EAAE,GAAG,EACR,SAAS,EAAC,+BAA+B,iBAC5B,mBAAmB,CAAC,qBAAqB,YAEtD,cACE,GAAG,EAAE,MAAM,EACX,SAAS,EAAC,gBAAgB,EAC1B,QAAQ,EAAE,CAAC,EACX,aAAa,EAAE,CAAC,KAAK,EAAQ,EAAE,CAAC,KAAK,CAAC,cAAc,EAAE,GACtD,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAy4CH,eAAO,MAAM,aAAa;;CAuDxB,CAAC"}
1
+ {"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAw4CH,eAAO,MAAM,aAAa;;CAuDxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditor.js","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAU,GACX,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAA0B,OAAO,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAIL,6BAA6B,EAC7B,0CAA0C,EAC1C,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,WAAW,EACX,gCA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kBAAkB,EAAE,kBAAkB,GAAI,CACjE,EACD,MAAC,WAAW,IACV,SAAS,EAAC,uBAAuB,EACjC,OAAO,EACL,KAAC,wBAAwB,IAAC,kBAAkB,EAAE,kBAAkB,GAAI,EAEtE,QAAQ,EAAE,CAAC,kBAAkB,CAAC,eAAe,EAC7C,SAAS,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAC3B,OAAO,EAAE,kBAAkB,aAE1B,kBAAkB,CAAC,4BAA4B,IAAI,CAClD,KAAC,sBAAsB,IAAC,kBAAkB,EAAE,kBAAkB,GAAI,CACnE,EACD,KAAC,0BAA0B,IACzB,kBAAkB,EAAE,kBAAkB,EACtC,GAAG,EAAE,gBAAgB,GACrB,EACD,kBAAkB,CAAC,4BAA4B,IAAI,CAClD,8BACE,KAAC,iCAAiC,IAChC,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,GACtC,IACD,CACJ,IACW,IACV,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"DiagramEditor.js","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAU,GACX,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAA0B,OAAO,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAIL,6BAA6B,EAC7B,0CAA0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AC,yBAAyB,aACrC,kBAAkB,CAAC,4BAA4B,IAAI,CAClD,KAAC,oBAAoB,IAAC,kBAAkB,EAAE,kBAAkB,GAAI,CACjE,EACD,MAAC,WAAW,IACV,SAAS,EAAC,uBAAuB,EACjC,OAAO,EACL,KAAC,wBAAwB,IAAC,kBAAkB,EAAE,kBAAkB,GAAI,EAEtE,QAAQ,EAAE,CAAC,kBAAkB,CAAC,eAAe,EAC7C,SAAS,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,EAC3B,OAAO,EAAE,kBAAkB,aAE1B,kBAAkB,CAAC,4BAA4B,IAAI,CAClD,KAAC,sBAAsB,IAAC,kBAAkB,EAAE,kBAAkB,GAAI,CACnE,EACD,KAAC,0BAA0B,IACzB,kBAAkB,EAAE,kBAAkB,EACtC,GAAG,EAAE,gBAAgB,GACrB,EACD,kBAAkB,CAAC,4BAA4B,IAAI,CAClD,8BACE,KAAC,iCAAiC,IAChC,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,GACtC,IACD,CACJ,IACW,IACV,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-diagram v5.0.3
1
+ /** @license @finos/legend-extension-dsl-diagram v5.0.4
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -49,7 +49,7 @@
49
49
  "@finos/legend-graph": "workspace:*",
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-storage": "workspace:*",
52
- "@types/react": "18.0.15",
52
+ "@types/react": "18.0.17",
53
53
  "mobx": "6.6.1",
54
54
  "mobx-react-lite": "3.4.0",
55
55
  "react": "18.2.0",
@@ -63,12 +63,12 @@
63
63
  "@jest/globals": "28.1.3",
64
64
  "@testing-library/react": "13.3.0",
65
65
  "cross-env": "7.0.3",
66
- "eslint": "8.21.0",
66
+ "eslint": "8.22.0",
67
67
  "jest": "28.1.3",
68
68
  "jest-canvas-mock": "2.4.0",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
- "sass": "1.54.0",
71
+ "sass": "1.54.4",
72
72
  "typescript": "4.7.4"
73
73
  },
74
74
  "peerDependencies": {
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditorState.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DiagramEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAuB,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EAOvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAChB,gBAAgB,EAChB,kBAAkB,EAEnB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gFAAgF,CAAC;AAChH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qFAAqF,CAAC;AACjH,OAAO,EAAE,OAAO,EAAE,MAAM,8EAA8E,CAAC;AAyBvG,8BAAsB,2BAA2B;IAC/C,QAAQ,CAAC,IAAI,SAAU;IACvB,WAAW,EAAE,WAAW,CAAC;IACzB,kBAAkB,EAAE,kBAAkB,CAAC;gBAGrC,WAAW,EAAE,WAAW,EACxB,kBAAkB,EAAE,kBAAkB;CAKzC;AAED,oB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GAAG,EAAE,OAAO,GAAG,IAAI;IAItC,uBAAuB,CAAC,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,IAAI;IAIzD,gBAAgB,IAAI,IAAI;IAIxB,aAAa,IAAI,IAAI;IAoHrB,OAAO,IAAI,IAAI;IAIf,OAAO,CAAC,yBAAyB,CAuBrB;IAEZ,SAAS,CACP,UAAU,EAAE,kBAAkB,EAC9B,WAAW,EAAE,WAAW,GACvB,kBAAkB;CAItB"}
@@ -17,7 +17,7 @@ import { computed, action, makeObservable, observable } from 'mobx';
17
17
  import { guaranteeNonNullable, guaranteeType, isType, uuid, } from '@finos/legend-shared';
18
18
  import { DIAGRAM_INTERACTION_MODE, } from '../../DiagramRenderer.js';
19
19
  import { HotkeyConfiguration, PanelDisplayState } from '@finos/legend-art';
20
- import { GenericTypeExplicitReference, PRIMITIVE_TYPE, TYPICAL_MULTIPLICITY_TYPE, Property, GenericType, PropertyExplicitReference, } from '@finos/legend-graph';
20
+ import { GenericTypeExplicitReference, PRIMITIVE_TYPE, TYPICAL_MULTIPLICITY_TYPE, Property, GenericType, PropertyExplicitReference, isElementReadOnly, } from '@finos/legend-graph';
21
21
  import { ClassEditorState, ElementEditorState, class_addProperty, } from '@finos/legend-application-studio';
22
22
  import { Diagram } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
23
23
  var DIAGRAM_EDITOR_HOTKEY;
@@ -197,20 +197,20 @@ export class DiagramEditorState extends ElementEditorState {
197
197
  }
198
198
  else if (this.renderer.mouseOverClassProperty) {
199
199
  return this.isReadOnly ||
200
- this.editorStore.graphManagerState.isElementReadOnly(this.renderer.mouseOverClassProperty._OWNER)
200
+ isElementReadOnly(this.renderer.mouseOverClassProperty._OWNER)
201
201
  ? 'diagram-editor__cursor--not-allowed'
202
202
  : 'diagram-editor__cursor--text';
203
203
  }
204
204
  else if (this.renderer.mouseOverPropertyHolderViewLabel) {
205
205
  return this.isReadOnly ||
206
- this.editorStore.graphManagerState.isElementReadOnly(this.renderer.mouseOverPropertyHolderViewLabel.property.value
206
+ isElementReadOnly(this.renderer.mouseOverPropertyHolderViewLabel.property.value
207
207
  ._OWNER)
208
208
  ? 'diagram-editor__cursor--not-allowed'
209
209
  : 'diagram-editor__cursor--text';
210
210
  }
211
211
  else if (this.renderer.mouseOverClassName) {
212
212
  return this.isReadOnly ||
213
- this.editorStore.graphManagerState.isElementReadOnly(this.renderer.mouseOverClassName.class.value)
213
+ isElementReadOnly(this.renderer.mouseOverClassName.class.value)
214
214
  ? 'diagram-editor__cursor--not-allowed'
215
215
  : 'diagram-editor__cursor--text';
216
216
  }
@@ -270,22 +270,19 @@ export class DiagramEditorState extends ElementEditorState {
270
270
  this.setContextMenuClassView(classView);
271
271
  };
272
272
  this.renderer.onClassNameDoubleClick = (classView, point) => {
273
- if (!this.isReadOnly &&
274
- !this.editorStore.graphManagerState.isElementReadOnly(classView.class.value)) {
273
+ if (!this.isReadOnly && !isElementReadOnly(classView.class.value)) {
275
274
  this.setInlineClassRenamerState(new DiagramEditorInlineClassRenamerState(this, classView, point));
276
275
  }
277
276
  };
278
277
  const editProperty = (property, point, propertyHolderView) => {
279
- if (!this.isReadOnly &&
280
- !this.editorStore.graphManagerState.isElementReadOnly(property._OWNER)) {
278
+ if (!this.isReadOnly && !isElementReadOnly(property._OWNER)) {
281
279
  this.setInlinePropertyEditorState(new DiagramEditorInlinePropertyEditorState(this, property, point, Boolean(propertyHolderView)));
282
280
  }
283
281
  };
284
282
  this.renderer.onClassPropertyDoubleClick = editProperty;
285
283
  this.renderer.handleEditProperty = editProperty;
286
284
  this.renderer.handleAddSimpleProperty = (classView) => {
287
- if (!this.isReadOnly &&
288
- !this.editorStore.graphManagerState.isElementReadOnly(classView.class.value)) {
285
+ if (!this.isReadOnly && !isElementReadOnly(classView.class.value)) {
289
286
  const _class = classView.class.value;
290
287
  class_addProperty(_class, new Property(`property_${_class.properties.length + 1}`, this.editorStore.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE), GenericTypeExplicitReference.create(new GenericType(this.editorStore.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.STRING))), _class));
291
288
  this.renderer.render();
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditorState.js","sourceRoot":"","sources":["../../../src/stores/studio/DiagramEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,MAAM,EACN,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,wBAAwB,GACzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAIL,4BAA4B,EAC5B,cAAc,EACd,yBAAyB,EACzB,QAAQ,EACR,WAAW,EACX,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,OAAO,EAAE,MAAM,8EAA8E,CAAC;AAGvG,IAAK,qBASJ;AATD,WAAK,qBAAqB;IACxB,8CAAqB,CAAA;IACrB,wDAA+B,CAAA;IAC/B,wDAA+B,CAAA;IAC/B,sDAA6B,CAAA;IAC7B,gEAAuC,CAAA;IACvC,sEAA6C,CAAA;IAC7C,gDAAuB,CAAA;IACvB,0DAAiC,CAAA;AACnC,CAAC,EATI,qBAAqB,KAArB,qBAAqB,QASzB;AAED,MAAM,yBAAyB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9C,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,GAAG;IACrC,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,GAAG;IAC1C,CAAC,qBAAqB,CAAC,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,CAAC,OAAO,CAAC,WAAW,EAAE,CAC7C,CAAC,EACJ;YACA,OAAO,CAAC,KAAK,CAAC,CAAC;SAChB;IACH,CAAC,EAAE,KAAK,CAAC,CAAC;IAEZ,SAAS,CACP,UAA8B,EAC9B,WAAwB;QAExB,MAAM,kBAAkB,GAAG,IAAI,kBAAkB,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;QAC3E,OAAO,kBAAkB,CAAC;IAC5B,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "5.0.3",
3
+ "version": "5.0.4",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,13 +43,13 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "7.0.4",
47
- "@finos/legend-application-studio": "13.0.3",
48
- "@finos/legend-art": "2.1.0",
49
- "@finos/legend-graph": "13.0.2",
50
- "@finos/legend-shared": "5.0.3",
51
- "@finos/legend-storage": "3.0.3",
52
- "@types/react": "18.0.15",
46
+ "@finos/legend-application": "7.1.0",
47
+ "@finos/legend-application-studio": "13.1.0",
48
+ "@finos/legend-art": "3.0.0",
49
+ "@finos/legend-graph": "14.0.0",
50
+ "@finos/legend-shared": "6.0.0",
51
+ "@finos/legend-storage": "3.0.4",
52
+ "@types/react": "18.0.17",
53
53
  "mobx": "6.6.1",
54
54
  "mobx-react-lite": "3.4.0",
55
55
  "react": "18.2.0",
@@ -59,16 +59,16 @@
59
59
  "serializr": "2.0.5"
60
60
  },
61
61
  "devDependencies": {
62
- "@finos/legend-dev-utils": "2.0.9",
62
+ "@finos/legend-dev-utils": "2.0.10",
63
63
  "@jest/globals": "28.1.3",
64
64
  "@testing-library/react": "13.3.0",
65
65
  "cross-env": "7.0.3",
66
- "eslint": "8.21.0",
66
+ "eslint": "8.22.0",
67
67
  "jest": "28.1.3",
68
68
  "jest-canvas-mock": "2.4.0",
69
69
  "npm-run-all": "4.1.5",
70
70
  "rimraf": "3.0.2",
71
- "sass": "1.54.0",
71
+ "sass": "1.54.4",
72
72
  "typescript": "4.7.4"
73
73
  },
74
74
  "peerDependencies": {
@@ -18,16 +18,14 @@ import { useState, useRef, useEffect, useCallback } from 'react';
18
18
  import { useResizeDetector } from 'react-resize-detector';
19
19
  import { observer } from 'mobx-react-lite';
20
20
  import { useApplicationStore } from '@finos/legend-application';
21
- import type { Class } from '@finos/legend-graph';
21
+ import { type Class, isElementReadOnly } from '@finos/legend-graph';
22
22
  import { InheritanceDiagramRenderer } from './InheritanceDiagramRenderer.js';
23
23
  import { DSL_DIAGRAM_TEST_ID } from './DSLDiagram_TestID.js';
24
- import { useEditorStore } from '@finos/legend-application-studio';
25
24
 
26
25
  export const ClassDiagramPreview = observer((props: { _class: Class }) => {
27
26
  const { _class } = props;
28
27
  const applicationStore = useApplicationStore();
29
- const editorStore = useEditorStore();
30
- const classHash = editorStore.graphManagerState.isElementReadOnly(_class)
28
+ const classHash = isElementReadOnly(_class)
31
29
  ? undefined
32
30
  : applicationStore.notifyAndReturnAlternativeOnError(
33
31
  () => _class.hashCode,
@@ -1228,11 +1228,10 @@ const DiagramEditorDiagramCanvas = observer(
1228
1228
  },
1229
1229
  [diagramEditorState, isReadOnly],
1230
1230
  );
1231
- const [, dropConnector] = useDrop(
1231
+ const [, dropConnector] = useDrop<ElementDragSource>(
1232
1232
  () => ({
1233
1233
  accept: CORE_DND_TYPE.PROJECT_EXPLORER_CLASS,
1234
- drop: (item: ElementDragSource, monitor): void =>
1235
- handleDrop(item, monitor),
1234
+ drop: (item, monitor): void => handleDrop(item, monitor),
1236
1235
  }),
1237
1236
  [handleDrop],
1238
1237
  );
@@ -36,6 +36,7 @@ import {
36
36
  Property,
37
37
  GenericType,
38
38
  PropertyExplicitReference,
39
+ isElementReadOnly,
39
40
  } from '@finos/legend-graph';
40
41
  import {
41
42
  type EditorStore,
@@ -276,14 +277,12 @@ export class DiagramEditorState extends ElementEditorState {
276
277
  return 'diagram-editor__cursor--resize';
277
278
  } else if (this.renderer.mouseOverClassProperty) {
278
279
  return this.isReadOnly ||
279
- this.editorStore.graphManagerState.isElementReadOnly(
280
- this.renderer.mouseOverClassProperty._OWNER,
281
- )
280
+ isElementReadOnly(this.renderer.mouseOverClassProperty._OWNER)
282
281
  ? 'diagram-editor__cursor--not-allowed'
283
282
  : 'diagram-editor__cursor--text';
284
283
  } else if (this.renderer.mouseOverPropertyHolderViewLabel) {
285
284
  return this.isReadOnly ||
286
- this.editorStore.graphManagerState.isElementReadOnly(
285
+ isElementReadOnly(
287
286
  this.renderer.mouseOverPropertyHolderViewLabel.property.value
288
287
  ._OWNER,
289
288
  )
@@ -291,9 +290,7 @@ export class DiagramEditorState extends ElementEditorState {
291
290
  : 'diagram-editor__cursor--text';
292
291
  } else if (this.renderer.mouseOverClassName) {
293
292
  return this.isReadOnly ||
294
- this.editorStore.graphManagerState.isElementReadOnly(
295
- this.renderer.mouseOverClassName.class.value,
296
- )
293
+ isElementReadOnly(this.renderer.mouseOverClassName.class.value)
297
294
  ? 'diagram-editor__cursor--not-allowed'
298
295
  : 'diagram-editor__cursor--text';
299
296
  } else if (this.renderer.mouseOverClassView) {
@@ -382,12 +379,7 @@ export class DiagramEditorState extends ElementEditorState {
382
379
  classView: ClassView,
383
380
  point: Point,
384
381
  ): void => {
385
- if (
386
- !this.isReadOnly &&
387
- !this.editorStore.graphManagerState.isElementReadOnly(
388
- classView.class.value,
389
- )
390
- ) {
382
+ if (!this.isReadOnly && !isElementReadOnly(classView.class.value)) {
391
383
  this.setInlineClassRenamerState(
392
384
  new DiagramEditorInlineClassRenamerState(this, classView, point),
393
385
  );
@@ -398,10 +390,7 @@ export class DiagramEditorState extends ElementEditorState {
398
390
  point: Point,
399
391
  propertyHolderView: PropertyHolderView | undefined,
400
392
  ): void => {
401
- if (
402
- !this.isReadOnly &&
403
- !this.editorStore.graphManagerState.isElementReadOnly(property._OWNER)
404
- ) {
393
+ if (!this.isReadOnly && !isElementReadOnly(property._OWNER)) {
405
394
  this.setInlinePropertyEditorState(
406
395
  new DiagramEditorInlinePropertyEditorState(
407
396
  this,
@@ -415,12 +404,7 @@ export class DiagramEditorState extends ElementEditorState {
415
404
  this.renderer.onClassPropertyDoubleClick = editProperty;
416
405
  this.renderer.handleEditProperty = editProperty;
417
406
  this.renderer.handleAddSimpleProperty = (classView: ClassView): void => {
418
- if (
419
- !this.isReadOnly &&
420
- !this.editorStore.graphManagerState.isElementReadOnly(
421
- classView.class.value,
422
- )
423
- ) {
407
+ if (!this.isReadOnly && !isElementReadOnly(classView.class.value)) {
424
408
  const _class = classView.class.value;
425
409
  class_addProperty(
426
410
  _class,