@finos/legend-extension-dsl-diagram 4.1.2 → 4.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,7 @@ export declare class DSLDiagram_LegendStudioPlugin extends LegendStudioPlugin im
18
18
  constructor();
19
19
  getExtraRequiredDocumentationKeys(): string[];
20
20
  getExtraClassPreviewRenderers(): ClassPreviewRenderer[];
21
+ getExtraAccessEventLoggingApplicationContextKeys(): string[];
21
22
  getExtraSupportedElementTypes(): string[];
22
23
  getExtraElementTypeGetters(): ElementTypeGetter[];
23
24
  getExtraElementIconGetters(): ElementIconGetter[];
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,kBAAkB,EAClB,KAAK,0BAA0B,EAG/B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,EAErC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,EACzC,KAAK,2CAA2C,EAChD,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EACtD,MAAM,sBAAsB,CAAC;AAuB9B,qBAAa,6BACX,SAAQ,kBACR,YAAW,gCAAgC;;IAMlC,iCAAiC,IAAI,MAAM,EAAE;IAO7C,6BAA6B,IAAI,oBAAoB,EAAE;IAQhE,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,mCAAmC,IAAI,0BAA0B,EAAE;IAenE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,qC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,6BAA6B,EAAE;IAWzE,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAgChH"}
@@ -24,6 +24,7 @@ import { ClassDiagramPreview } from './ClassDiagramPreview.js';
24
24
  import { PURE_GRAMMAR_DIAGRAM_ELEMENT_TYPE_LABEL, PURE_GRAMMAR_DIAGRAM_PARSER_NAME, } from '../../graphManager/DSLDiagram_PureGraphManagerPlugin.js';
25
25
  import { DSL_DIAGRAM_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSLDiagram_LegendStudioDocumentation.js';
26
26
  import { EMPTY_DIAGRAM_SNIPPET, getDiagramSnippetWithGeneralizationView, getDiagramSnippetWithOneClassView, getDiagramSnippetWithPropertyView, } from './DSLDiagram_CodeSnippets.js';
27
+ import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.js';
27
28
  const DIAGRAM_ELEMENT_TYPE = 'DIAGRAM';
28
29
  const DIAGRAM_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DIAGRAM';
29
30
  export class DSLDiagram_LegendStudioPlugin extends LegendStudioPlugin {
@@ -41,6 +42,11 @@ export class DSLDiagram_LegendStudioPlugin extends LegendStudioPlugin {
41
42
  (_class) => (_jsx(ClassDiagramPreview, { _class: _class })),
42
43
  ];
43
44
  }
45
+ getExtraAccessEventLoggingApplicationContextKeys() {
46
+ return [
47
+ DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DIAGRAM_EDITOR,
48
+ ];
49
+ }
44
50
  getExtraSupportedElementTypes() {
45
51
  return [DIAGRAM_ELEMENT_TYPE];
46
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_LegendStudioPlugin.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C;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,gCAAgC;oBACtC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,2CAA2C,CAAC,cAAc,CAC3D;oBACH,UAAU,EAAE,gCAAgC;iBAC7C;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,gCAAgC;gBAChD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,SAAS;wBACtB,UAAU,EAAE,qBAAqB;qBAClC;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,YAAY;wBACzB,UAAU,EAAE,iCAAiC,EAAE;qBAChD;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,kBAAkB;wBAC/B,UAAU,EAAE,uCAAuC,EAAE;qBACtD;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,kBAAkB;wBAC/B,UAAU,EAAE,iCAAiC,EAAE;qBAChD;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSLDiagram_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,kBAAkB,GAmBnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,gFAAgF,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,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,2CAA2C,CAAC,cAAc,CAC3D;oBACH,UAAU,EAAE,gCAAgC;iBAC7C;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,gCAAgC;gBAChD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,SAAS;wBACtB,UAAU,EAAE,qBAAqB;qBAClC;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,YAAY;wBACzB,UAAU,EAAE,iCAAiC,EAAE;qBAChD;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,kBAAkB;wBAC/B,UAAU,EAAE,uCAAuC,EAAE;qBACtD;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,kBAAkB;wBAC/B,UAAU,EAAE,iCAAiC,EAAE;qBAChD;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAw4CH,eAAO,MAAM,aAAa;;CAmDxB,CAAC"}
1
+ {"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA04CH,eAAO,MAAM,aAAa;;CAuDxB,CAAC"}
@@ -24,11 +24,12 @@ import { ContextMenu, getControlledResizablePanelProps, BasePopover, BlankPanelC
24
24
  import { Class, DerivedProperty, Property, Multiplicity, ELEMENT_PATH_DELIMITER, MULTIPLICITY_INFINITE, GenericType, createPath, isValidFullPath, isValidPathIdentifier, resolvePackagePathAndElementName, } from '@finos/legend-graph';
25
25
  import { guaranteeNonNullable, isNonNullable, prettyCONSTName, } from '@finos/legend-shared';
26
26
  import { flowResult } from 'mobx';
27
- import { useApplicationStore, } from '@finos/legend-application';
27
+ import { useApplicationStore, useApplicationNavigationContext, } from '@finos/legend-application';
28
28
  import { ClassFormEditor, CORE_DND_TYPE, ElementDragSource, useEditorStore, property_setName, property_setGenericType, property_setMultiplicity, } from '@finos/legend-studio';
29
29
  import { cleanUpDeadReferencesInDiagram } from '../../helpers/DSLDiagram_Helper.js';
30
30
  import { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
31
31
  import { classView_setHideProperties, classView_setHideStereotypes, classView_setHideTaggedValues, } from '../../stores/studio/DSLDiagram_GraphModifierHelper.js';
32
+ import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.js';
32
33
  const DiagramEditorContextMenu = observer(forwardRef(function DiagramEditorContextMenu(props, ref) {
33
34
  const { diagramEditorState } = props;
34
35
  const editorStore = useEditorStore();
@@ -419,6 +420,7 @@ export const DiagramEditor = observer(() => {
419
420
  const diagramEditorState = editorStore.getCurrentEditorState(DiagramEditorState);
420
421
  const diagramCanvasRef = useRef(null);
421
422
  const onContextMenuClose = () => diagramEditorState.closeContextMenu();
423
+ useApplicationNavigationContext(DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DIAGRAM_EDITOR);
422
424
  return (_jsxs("div", { className: "diagram-editor", children: [_jsx("div", { className: "diagram-editor__header", children: diagramEditorState.isDiagramRendererInitialized && (_jsx(DiagramEditorHeader, { diagramEditorState: diagramEditorState })) }), _jsxs("div", { className: "diagram-editor__content", children: [diagramEditorState.isDiagramRendererInitialized && (_jsx(DiagramEditorOverlay, { diagramEditorState: diagramEditorState })), _jsxs(ContextMenu, { className: "diagram-editor__stage", content: _jsx(DiagramEditorContextMenu, { diagramEditorState: diagramEditorState }), disabled: !diagramEditorState.showContextMenu, menuProps: { elevation: 7 }, onClose: onContextMenuClose, children: [diagramEditorState.isDiagramRendererInitialized && (_jsx(DiagramEditorToolPanel, { diagramEditorState: diagramEditorState })), _jsx(DiagramEditorDiagramCanvas, { diagramEditorState: diagramEditorState, ref: diagramCanvasRef }), diagramEditorState.isDiagramRendererInitialized && (_jsxs(_Fragment, { children: [_jsx(DiagramEditorInlinePropertyEditor, { diagramEditorState: diagramEditorState }), _jsx(DiagramEditorInlineClassCreator, { diagramEditorState: diagramEditorState }), _jsx(DiagramEditorInlineClassRenamer, { diagramEditorState: diagramEditorState })] }))] })] })] }));
423
425
  });
424
426
  //# sourceMappingURL=DiagramEditor.js.map
@@ -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,gCAAgC,EAChC,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,sBA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I,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,0CAA0C,EAC1C,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,WAAW,EACX,gCAAgC,EAChC,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,UAAU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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 v4.1.2
1
+ /** @license @finos/legend-extension-dsl-diagram v4.1.5
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": "4.1.2",
3
+ "version": "4.1.5",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -49,7 +49,7 @@
49
49
  "@finos/legend-model-storage": "workspace:*",
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-studio": "workspace:*",
52
- "@types/react": "18.0.14",
52
+ "@types/react": "18.0.15",
53
53
  "mobx": "6.6.1",
54
54
  "mobx-react-lite": "3.4.0",
55
55
  "react": "18.2.0",
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare enum DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY {
17
+ DIAGRAM_EDITOR = "dsl-diagram.studio.editor.diagram-editor"
18
+ }
19
+ //# sourceMappingURL=DSLDiagram_LegendStudioApplicationNavigationContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDiagram_LegendStudioApplicationNavigationContext.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,4DAA4D;IACtE,cAAc,6CAA6C;CAC5D"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export var DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY;
17
+ (function (DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY) {
18
+ DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY["DIAGRAM_EDITOR"] = "dsl-diagram.studio.editor.diagram-editor";
19
+ })(DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY = DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY || (DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY = {}));
20
+ //# sourceMappingURL=DSLDiagram_LegendStudioApplicationNavigationContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSLDiagram_LegendStudioApplicationNavigationContext.js","sourceRoot":"","sources":["../../../src/stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,4DAEX;AAFD,WAAY,4DAA4D;IACtE,2HAA2D,CAAA;AAC7D,CAAC,EAFW,4DAA4D,GAA5D,4DAA4D,KAA5D,4DAA4D,QAEvE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "4.1.2",
3
+ "version": "4.1.5",
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": "5.1.0",
47
- "@finos/legend-art": "2.0.5",
48
- "@finos/legend-graph": "10.0.0",
49
- "@finos/legend-model-storage": "2.0.5",
50
- "@finos/legend-shared": "4.0.2",
51
- "@finos/legend-studio": "10.3.0",
52
- "@types/react": "18.0.14",
46
+ "@finos/legend-application": "6.0.1",
47
+ "@finos/legend-art": "2.0.7",
48
+ "@finos/legend-graph": "10.1.1",
49
+ "@finos/legend-model-storage": "2.0.6",
50
+ "@finos/legend-shared": "4.0.3",
51
+ "@finos/legend-studio": "11.0.2",
52
+ "@types/react": "18.0.15",
53
53
  "mobx": "6.6.1",
54
54
  "mobx-react-lite": "3.4.0",
55
55
  "react": "18.2.0",
@@ -59,7 +59,7 @@
59
59
  "serializr": "2.0.5"
60
60
  },
61
61
  "devDependencies": {
62
- "@finos/legend-dev-utils": "2.0.4",
62
+ "@finos/legend-dev-utils": "2.0.5",
63
63
  "@jest/globals": "28.1.2",
64
64
  "@testing-library/react": "13.3.0",
65
65
  "cross-env": "7.0.3",
@@ -54,6 +54,7 @@ import {
54
54
  getDiagramSnippetWithPropertyView,
55
55
  } from './DSLDiagram_CodeSnippets.js';
56
56
  import type { LegendApplicationDocumentationEntry } from '@finos/legend-application';
57
+ import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.js';
57
58
 
58
59
  const DIAGRAM_ELEMENT_TYPE = 'DIAGRAM';
59
60
  const DIAGRAM_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DIAGRAM';
@@ -81,6 +82,12 @@ export class DSLDiagram_LegendStudioPlugin
81
82
  ];
82
83
  }
83
84
 
85
+ override getExtraAccessEventLoggingApplicationContextKeys(): string[] {
86
+ return [
87
+ DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DIAGRAM_EDITOR,
88
+ ];
89
+ }
90
+
84
91
  getExtraSupportedElementTypes(): string[] {
85
92
  return [DIAGRAM_ELEMENT_TYPE];
86
93
  }
@@ -103,6 +103,7 @@ import { flowResult } from 'mobx';
103
103
  import {
104
104
  type PackageableElementOption,
105
105
  useApplicationStore,
106
+ useApplicationNavigationContext,
106
107
  } from '@finos/legend-application';
107
108
  import {
108
109
  ClassFormEditor,
@@ -121,6 +122,7 @@ import {
121
122
  classView_setHideStereotypes,
122
123
  classView_setHideTaggedValues,
123
124
  } from '../../stores/studio/DSLDiagram_GraphModifierHelper.js';
125
+ import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.js';
124
126
 
125
127
  const DiagramEditorContextMenu = observer(
126
128
  forwardRef<
@@ -1435,6 +1437,10 @@ export const DiagramEditor = observer(() => {
1435
1437
  const diagramCanvasRef = useRef<HTMLDivElement>(null);
1436
1438
  const onContextMenuClose = (): void => diagramEditorState.closeContextMenu();
1437
1439
 
1440
+ useApplicationNavigationContext(
1441
+ DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DIAGRAM_EDITOR,
1442
+ );
1443
+
1438
1444
  return (
1439
1445
  <div className="diagram-editor">
1440
1446
  <div className="diagram-editor__header">
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ export enum DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY {
18
+ DIAGRAM_EDITOR = 'dsl-diagram.studio.editor.diagram-editor',
19
+ }
package/tsconfig.json CHANGED
@@ -73,6 +73,7 @@
73
73
  "./src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts",
74
74
  "./src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts",
75
75
  "./src/stores/studio/DSLDiagram_GraphModifierHelper.ts",
76
+ "./src/stores/studio/DSLDiagram_LegendStudioApplicationNavigationContext.ts",
76
77
  "./src/stores/studio/DiagramEditorState.ts",
77
78
  "./src/components/studio/ClassDiagramPreview.tsx",
78
79
  "./src/components/studio/DSLDiagram_LegendStudioPlugin.tsx",