@finos/legend-extension-dsl-diagram 1.0.15 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/lib/components/studio/ClassDiagramPreview.js +1 -1
- package/lib/components/studio/ClassDiagramPreview.js.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js +2 -2
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +1 -1
- package/lib/components/studio/DiagramEditor.d.ts.map +1 -1
- package/lib/components/studio/DiagramEditor.js +34 -36
- package/lib/components/studio/DiagramEditor.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +83 -0
- package/package.json +17 -17
- package/src/components/studio/DiagramEditor.tsx +21 -19
package/CHANGELOG.md
CHANGED
@@ -60,6 +60,6 @@ export const ClassDiagramPreview = observer((props) => {
|
|
60
60
|
diagramRenderer.autoRecenter();
|
61
61
|
}
|
62
62
|
}, [_class, classHash, diagramRenderer]);
|
63
|
-
return (_jsx("div", { ref: ref, className: "class-editor__diagram-preview", "data-testid": DSL_DIAGRAM_TEST_ID.CLASS_DIAGRAM_PREVIEW, children: _jsx("div", { ref: canvas, className: "diagram-canvas", tabIndex: 0, onContextMenu: (event) => event.preventDefault() }
|
63
|
+
return (_jsx("div", { ref: ref, className: "class-editor__diagram-preview", "data-testid": DSL_DIAGRAM_TEST_ID.CLASS_DIAGRAM_PREVIEW, children: _jsx("div", { ref: canvas, className: "diagram-canvas", tabIndex: 0, onContextMenu: (event) => event.preventDefault() }) }));
|
64
64
|
});
|
65
65
|
//# sourceMappingURL=ClassDiagramPreview.js.map
|
@@ -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,iBAAi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Ae,EAAE;gBACpB,MAAM,SAAS,GAAG,IAAI,0BAA0B,CAC9C,MAAM,CAAC,OAAO,EACd,MAAM,CACP,CAAC;gBACF,kBAAkB,CAAC,SAAS,CAAC,CAAC;gBAC9B,eAAe,GAAG,SAAS,CAAC;aAC7B;YACD,eAAe,CAAC,MAAM,EAAE,CAAC;YACzB,eAAe,CAAC,YAAY,EAAE,CAAC;SAChC;IACH,CAAC,EAAE,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC,CAAC;IAE9B,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,eAAe,EAAE;YACnB,eAAe,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;YAClC,eAAe,CAAC,MAAM,EAAE,CAAC;YACzB,eAAe,CAAC,YAAY,EAAE,CAAC;SAChC;IACH,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,eAAe,CAAC,CAAC,CAAC;IAEzC,OAAO,CACL,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"}
|
@@ -29,7 +29,7 @@ export class DSLDiagram_LegendStudioPlugin extends LegendStudioPlugin {
|
|
29
29
|
}
|
30
30
|
getExtraClassPreviewRenderers() {
|
31
31
|
return [
|
32
|
-
(_class) => (_jsx(ClassDiagramPreview, { _class: _class }
|
32
|
+
(_class) => (_jsx(ClassDiagramPreview, { _class: _class })),
|
33
33
|
];
|
34
34
|
}
|
35
35
|
getExtraSupportedElementTypes() {
|
@@ -49,7 +49,7 @@ export class DSLDiagram_LegendStudioPlugin extends LegendStudioPlugin {
|
|
49
49
|
return [
|
50
50
|
(type) => {
|
51
51
|
if (type === DIAGRAM_ELEMENT_TYPE) {
|
52
|
-
return (_jsx("div", { className: "icon color--diagram", children: _jsx(ShapesIcon, {}
|
52
|
+
return (_jsx("div", { className: "icon color--diagram", children: _jsx(ShapesIcon, {}) }));
|
53
53
|
}
|
54
54
|
return undefined;
|
55
55
|
},
|
@@ -1 +1 @@
|
|
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,GAcnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,kEAAkE,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,oBAAoB,GAAG,SAAS,CAAC;AACvC,MAAM,yCAAyC,GAAG,0BAA0B,CAAC;AAE7E,MAAM,OAAO,6BACX,SAAQ,kBAAkB;IAG1B;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAEQ,6BAA6B;QACpC,OAAO;YACL,CAAC,MAAa,EAAmB,EAAE,CAAC,CAClC,KAAC,mBAAmB,IAAC,MAAM,EAAE,MAAM,
|
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,OAA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pC,IAAI,WAAW,CAAC,kBAAkB,YAAY,kBAAkB,EAAE;oBAChE,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBAClD;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA+wCH,eAAO,MAAM,aAAa;;CAmDxB,CAAC"}
|
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
-
import { useRef, useState, useEffect, useCallback, Fragment } from 'react';
|
17
|
+
import { useRef, useState, useEffect, useCallback, Fragment, forwardRef, } from 'react';
|
18
18
|
import { useResizeDetector } from 'react-resize-detector';
|
19
19
|
import { useDrop } from 'react-dnd';
|
20
20
|
import { observer } from 'mobx-react-lite';
|
@@ -28,7 +28,7 @@ import { useApplicationStore, } from '@finos/legend-application';
|
|
28
28
|
import { ClassFormEditor, CORE_DND_TYPE, ElementDragSource, useEditorStore, } from '@finos/legend-studio';
|
29
29
|
import { cleanUpDeadReferencesInDiagram } from '../../helpers/DiagramHelper';
|
30
30
|
import { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/Point';
|
31
|
-
const DiagramEditorContextMenu = observer((props, ref)
|
31
|
+
const DiagramEditorContextMenu = observer(forwardRef(function DiagramEditorContextMenu(props, ref) {
|
32
32
|
const { diagramEditorState } = props;
|
33
33
|
const editorStore = useEditorStore();
|
34
34
|
const extraClassViewContextMenuItems = diagramEditorState.contextMenuClassView
|
@@ -39,17 +39,15 @@ const DiagramEditorContextMenu = observer((props, ref) => {
|
|
39
39
|
.filter(isNonNullable)
|
40
40
|
.map((config) => (_jsx(Fragment, { children: config.renderer(diagramEditorState, guaranteeNonNullable(diagramEditorState.contextMenuClassView)) }, config.key)))
|
41
41
|
: [];
|
42
|
-
return _jsx(MenuContent, { children: extraClassViewContextMenuItems }
|
43
|
-
}
|
42
|
+
return _jsx(MenuContent, { children: extraClassViewContextMenuItems });
|
43
|
+
}));
|
44
44
|
const DiagramRendererHotkeyInfosModal = observer((props) => {
|
45
45
|
const { open, onClose } = props;
|
46
46
|
return (_jsx(Dialog, { open: open, onClose: onClose, classes: {
|
47
47
|
root: 'editor-modal__root-container',
|
48
48
|
container: 'editor-modal__container',
|
49
49
|
paper: 'editor-modal__content--scrollable',
|
50
|
-
},
|
51
|
-
appear: false, // disable transition
|
52
|
-
}, children: _jsxs("div", { className: "modal modal--dark modal--scrollable diagram-editor__hotkeys__dialog", children: [_jsx("div", { className: "modal__header", children: _jsx("div", { className: "modal__title", children: "Diagram Hotkeys" }, void 0) }, void 0), _jsx("div", { className: "modal__body", children: _jsxs("div", { className: "diagram-editor__hotkey__groups", children: [_jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Use view tool" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "V" }, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Use pan tool" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "M" }, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Zoom" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "Z" }, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Recenter" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "R" }, void 0) }, void 0)] }, void 0), _jsx("div", { className: "diagram-editor__hotkey__groups__divider" }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Remove selected element(s)" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "Delete" }, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Edit the selected element" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "E" }, void 0) }, void 0)] }, void 0), _jsx("div", { className: "diagram-editor__hotkey__groups__divider" }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Use property tool" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "P" }, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Use inheritance tool" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "I" }, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Add class" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "C" }, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Add simple property to selected class" }, void 0), _jsxs("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: [_jsx("div", { className: "hotkey__key", children: "Alt" }, void 0), _jsx("div", { className: "hotkey__plus", children: _jsx(PlusIcon, {}, void 0) }, void 0), _jsx("div", { className: "hotkey__key", children: "\u2193" }, void 0)] }, void 0)] }, void 0), _jsx("div", { className: "diagram-editor__hotkey__groups__divider" }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Toggle display for properties of selected classes" }, void 0), _jsxs("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: [_jsx("div", { className: "hotkey__key", children: "Alt" }, void 0), _jsx("div", { className: "hotkey__plus", children: _jsx(PlusIcon, {}, void 0) }, void 0), _jsx("div", { className: "hotkey__key", children: "P" }, void 0)] }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Toggle display for tagged values of selected classes" }, void 0), _jsxs("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: [_jsx("div", { className: "hotkey__key", children: "Alt" }, void 0), _jsx("div", { className: "hotkey__plus", children: _jsx(PlusIcon, {}, void 0) }, void 0), _jsx("div", { className: "hotkey__key", children: "T" }, void 0)] }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Toggle display for stereotypes of selected classes" }, void 0), _jsxs("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: [_jsx("div", { className: "hotkey__key", children: "Alt" }, void 0), _jsx("div", { className: "hotkey__plus", children: _jsx(PlusIcon, {}, void 0) }, void 0), _jsx("div", { className: "hotkey__key", children: "S" }, void 0)] }, void 0)] }, void 0), _jsx("div", { className: "diagram-editor__hotkey__groups__divider" }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Eject the property" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "\u2192" }, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Add subtypes of the selected classes to the diagram" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "\u2193" }, void 0) }, void 0)] }, void 0), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Add supertypes of the selected classes to the diagram" }, void 0), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "\u2191" }, void 0) }, void 0)] }, void 0)] }, void 0) }, void 0)] }, void 0) }, void 0));
|
50
|
+
}, children: _jsxs("div", { className: "modal modal--dark modal--scrollable diagram-editor__hotkeys__dialog", children: [_jsx("div", { className: "modal__header", children: _jsx("div", { className: "modal__title", children: "Diagram Hotkeys" }) }), _jsx("div", { className: "modal__body", children: _jsxs("div", { className: "diagram-editor__hotkey__groups", children: [_jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Use view tool" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "V" }) })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Use pan tool" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "M" }) })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Zoom" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "Z" }) })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Recenter" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "R" }) })] }), _jsx("div", { className: "diagram-editor__hotkey__groups__divider" }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Remove selected element(s)" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "Delete" }) })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Edit the selected element" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "E" }) })] }), _jsx("div", { className: "diagram-editor__hotkey__groups__divider" }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Use property tool" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "P" }) })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Use inheritance tool" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "I" }) })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Add class" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "C" }) })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Add simple property to selected class" }), _jsxs("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: [_jsx("div", { className: "hotkey__key", children: "Alt" }), _jsx("div", { className: "hotkey__plus", children: _jsx(PlusIcon, {}) }), _jsx("div", { className: "hotkey__key", children: "\u2193" })] })] }), _jsx("div", { className: "diagram-editor__hotkey__groups__divider" }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Toggle display for properties of selected classes" }), _jsxs("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: [_jsx("div", { className: "hotkey__key", children: "Alt" }), _jsx("div", { className: "hotkey__plus", children: _jsx(PlusIcon, {}) }), _jsx("div", { className: "hotkey__key", children: "P" })] })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Toggle display for tagged values of selected classes" }), _jsxs("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: [_jsx("div", { className: "hotkey__key", children: "Alt" }), _jsx("div", { className: "hotkey__plus", children: _jsx(PlusIcon, {}) }), _jsx("div", { className: "hotkey__key", children: "T" })] })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Toggle display for stereotypes of selected classes" }), _jsxs("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: [_jsx("div", { className: "hotkey__key", children: "Alt" }), _jsx("div", { className: "hotkey__plus", children: _jsx(PlusIcon, {}) }), _jsx("div", { className: "hotkey__key", children: "S" })] })] }), _jsx("div", { className: "diagram-editor__hotkey__groups__divider" }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Eject the property" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "\u2192" }) })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Add subtypes of the selected classes to the diagram" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "\u2193" }) })] }), _jsxs("div", { className: "diagram-editor__hotkey__group", children: [_jsx("div", { className: "diagram-editor__hotkey__annotation", children: "Add supertypes of the selected classes to the diagram" }), _jsx("div", { className: "hotkey__combination diagram-editor__hotkey__keys", children: _jsx("div", { className: "hotkey__key", children: "\u2191" }) })] })] }) })] }) }));
|
53
51
|
});
|
54
52
|
const DiagramEditorToolPanel = observer((props) => {
|
55
53
|
const { diagramEditorState } = props;
|
@@ -64,30 +62,30 @@ const DiagramEditorToolPanel = observer((props) => {
|
|
64
62
|
};
|
65
63
|
return (_jsxs("div", { className: "diagram-editor__tools", children: [_jsx("button", { className: clsx('diagram-editor__tool', {
|
66
64
|
'diagram-editor__tool--active': renderer.interactionMode === DIAGRAM_INTERACTION_MODE.LAYOUT,
|
67
|
-
}), tabIndex: -1, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.LAYOUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), title: "View Tool (V)", children: _jsx(MousePointerIcon, { className: "diagram-editor__icon--layout" }
|
65
|
+
}), tabIndex: -1, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.LAYOUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), title: "View Tool (V)", children: _jsx(MousePointerIcon, { className: "diagram-editor__icon--layout" }) }), _jsx("button", { className: clsx('diagram-editor__tool', {
|
68
66
|
'diagram-editor__tool--active': renderer.interactionMode === DIAGRAM_INTERACTION_MODE.PAN,
|
69
|
-
}), tabIndex: -1, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.PAN, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), title: "Pan Tool (M)", children: _jsx(MoveIcon, { className: "diagram-editor__icon--pan" }
|
67
|
+
}), tabIndex: -1, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.PAN, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), title: "Pan Tool (M)", children: _jsx(MoveIcon, { className: "diagram-editor__icon--pan" }) }), _jsx("button", { className: clsx('diagram-editor__tool', {
|
70
68
|
'diagram-editor__tool--active': renderer.interactionMode === DIAGRAM_INTERACTION_MODE.ZOOM_IN,
|
71
|
-
}), tabIndex: -1, title: "Zoom In (Z)", onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ZOOM_IN, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), children: _jsx(ZoomInIcon, { className: "diagram-editor__icon--zoom-in" }
|
69
|
+
}), tabIndex: -1, title: "Zoom In (Z)", onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ZOOM_IN, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), children: _jsx(ZoomInIcon, { className: "diagram-editor__icon--zoom-in" }) }), _jsx("button", { className: clsx('diagram-editor__tool', {
|
72
70
|
'diagram-editor__tool--active': renderer.interactionMode === DIAGRAM_INTERACTION_MODE.ZOOM_OUT,
|
73
|
-
}), tabIndex: -1, title: "Zoom Out (Z)", onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ZOOM_OUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), children: _jsx(ZoomOutIcon, { className: "diagram-editor__icon--zoom-out" }
|
71
|
+
}), tabIndex: -1, title: "Zoom Out (Z)", onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ZOOM_OUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), children: _jsx(ZoomOutIcon, { className: "diagram-editor__icon--zoom-out" }) }), _jsx("div", { className: "diagram-editor__tools__divider" }), _jsx("button", { className: clsx('diagram-editor__tool', {
|
74
72
|
'diagram-editor__tool--active': renderer.interactionMode ===
|
75
73
|
DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP &&
|
76
74
|
renderer.relationshipMode ===
|
77
75
|
DIAGRAM_RELATIONSHIP_EDIT_MODE.PROPERTY,
|
78
|
-
}), tabIndex: -1, title: "Property Tool (P)", disabled: isReadOnly, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP, DIAGRAM_RELATIONSHIP_EDIT_MODE.PROPERTY), children: _jsx(MinusIcon, { className: "diagram-editor__icon--property" }
|
76
|
+
}), tabIndex: -1, title: "Property Tool (P)", disabled: isReadOnly, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP, DIAGRAM_RELATIONSHIP_EDIT_MODE.PROPERTY), children: _jsx(MinusIcon, { className: "diagram-editor__icon--property" }) }), _jsx("button", { className: clsx('diagram-editor__tool', {
|
79
77
|
'diagram-editor__tool--active': renderer.interactionMode ===
|
80
78
|
DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP &&
|
81
79
|
renderer.relationshipMode ===
|
82
80
|
DIAGRAM_RELATIONSHIP_EDIT_MODE.INHERITANCE,
|
83
|
-
}), tabIndex: -1, title: "Inheritance Tool (I)", disabled: isReadOnly, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP, DIAGRAM_RELATIONSHIP_EDIT_MODE.INHERITANCE), children: _jsx(TriangleIcon, { className: "diagram-editor__icon--inheritance" }
|
81
|
+
}), tabIndex: -1, title: "Inheritance Tool (I)", disabled: isReadOnly, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP, DIAGRAM_RELATIONSHIP_EDIT_MODE.INHERITANCE), children: _jsx(TriangleIcon, { className: "diagram-editor__icon--inheritance" }) }), _jsx("button", { className: clsx('diagram-editor__tool', {
|
84
82
|
// 'diagram-editor__tool--active':
|
85
83
|
// diagramRenderer.editMode === DIAGRAM_EDIT_MODE.RELATIONSHIP &&
|
86
84
|
// diagramRenderer.relationshipMode ===
|
87
85
|
// DIAGRAM_RELATIONSHIP_EDIT_MODE.ASSOCIATION,
|
88
|
-
}), tabIndex: -1, title: "Association Tool", disabled: true, children: _jsx(ResizeIcon, { className: "diagram-editor__icon--association" }
|
86
|
+
}), tabIndex: -1, title: "Association Tool", disabled: true, children: _jsx(ResizeIcon, { className: "diagram-editor__icon--association" }) }), _jsx("button", { className: clsx('diagram-editor__tool', {
|
89
87
|
'diagram-editor__tool--active': renderer.interactionMode === DIAGRAM_INTERACTION_MODE.ADD_CLASS,
|
90
|
-
}), tabIndex: -1, title: "Add class tool (C)", disabled: isReadOnly, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ADD_CLASS, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), children: _jsx(PlusCircleIcon, { className: "diagram-editor__icon--add-class" }
|
88
|
+
}), tabIndex: -1, title: "Add class tool (C)", disabled: isReadOnly, onClick: createModeSwitcher(DIAGRAM_INTERACTION_MODE.ADD_CLASS, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE), children: _jsx(PlusCircleIcon, { className: "diagram-editor__icon--add-class" }) }), _jsx("div", { className: "diagram-editor__tools__divider" }), _jsx("button", { className: "diagram-editor__tool", tabIndex: -1, title: "Show Hotkeys", onClick: showDiagramRendererHokeysModal, children: _jsx(KeyboardIcon, { className: "diagram-editor__icon--hotkey-info" }) }), _jsx(DiagramRendererHotkeyInfosModal, { open: diagramEditorState.showHotkeyInfosModal, onClose: hideDiagramRendererHokeysModal })] }));
|
91
89
|
});
|
92
90
|
const DiagramEditorClassViewEditor = observer((props) => {
|
93
91
|
const { classViewEditorState } = props;
|
@@ -131,24 +129,24 @@ const DiagramEditorClassViewEditor = observer((props) => {
|
|
131
129
|
};
|
132
130
|
return (_jsxs("div", { className: "diagram-editor__class-view-editor", children: [_jsx("div", { className: "diagram-editor__class-view-editor__header", children: _jsx("div", { className: "diagram-editor__class-view-editor__header__tabs", children: tabs.map((tab) => (_jsx("div", { onClick: changeTab(tab), className: clsx('diagram-editor__class-view-editor__header__tab', {
|
133
131
|
'diagram-editor__class-view-editor__header__tab--active': tab === selectedTab,
|
134
|
-
}), children: prettyCONSTName(tab) }, tab))) }
|
132
|
+
}), children: prettyCONSTName(tab) }, tab))) }) }), _jsxs("div", { className: "diagram-editor__class-view-editor__content", children: [DIAGRAM_EDITOR_SIDE_PANEL_TAB.ELEMENT === selectedTab && (_jsx(ClassFormEditor, { _class: classViewEditorState.classEditorState.class, editorState: classViewEditorState.classEditorState, onHashChange: redrawOnClassChange })), DIAGRAM_EDITOR_SIDE_PANEL_TAB.VIEW === selectedTab && (_jsx("div", { className: "panel__content__form diagram-editor__class-view-editor__content__form", children: _jsxs("div", { className: "panel__content__form__section", children: [_jsxs("div", { className: clsx('panel__content__form__section__toggler'), onClick: toggleHideProperties, children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
|
135
133
|
'panel__content__form__section__toggler__btn--toggled': classView.hideProperties,
|
136
|
-
}), disabled: isReadOnly, children: classView.hideProperties ? (_jsx(CheckSquareIcon, {}
|
134
|
+
}), disabled: isReadOnly, children: classView.hideProperties ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Specifies if properties should be hidden" })] }), _jsxs("div", { className: clsx('panel__content__form__section__toggler'), onClick: toggleHideTaggedValues, children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
|
137
135
|
'panel__content__form__section__toggler__btn--toggled': classView.hideTaggedValues,
|
138
|
-
}), disabled: isReadOnly, children: classView.hideTaggedValues ? (_jsx(CheckSquareIcon, {}
|
136
|
+
}), disabled: isReadOnly, children: classView.hideTaggedValues ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Specifies if tagged values should be hidden" })] }), _jsxs("div", { className: clsx('panel__content__form__section__toggler'), onClick: toggleHideStereotypes, children: [_jsx("button", { className: clsx('panel__content__form__section__toggler__btn', {
|
139
137
|
'panel__content__form__section__toggler__btn--toggled': classView.hideStereotypes,
|
140
|
-
}), disabled: isReadOnly, children: classView.hideStereotypes ? (_jsx(CheckSquareIcon, {}
|
138
|
+
}), disabled: isReadOnly, children: classView.hideStereotypes ? (_jsx(CheckSquareIcon, {})) : (_jsx(SquareIcon, {})) }), _jsx("div", { className: "panel__content__form__section__toggler__prompt", children: "Specifies if stereotypes should be hidden" })] })] }) }))] })] }));
|
141
139
|
});
|
142
140
|
const DiagramEditorOverlay = observer((props) => {
|
143
141
|
const { diagramEditorState } = props;
|
144
142
|
const sidePanelState = diagramEditorState.sidePanelState;
|
145
143
|
const resizeSidePanel = (handleProps) => diagramEditorState.sidePanelDisplayState.setSize(handleProps.domElement.getBoundingClientRect()
|
146
144
|
.width);
|
147
|
-
return (_jsxs(ResizablePanelGroup, { className: "diagram-editor__overlay", orientation: "vertical", children: [_jsx(ResizablePanel, { minSize: 300, children: _jsx("div", { className: "diagram-editor__view-finder" }
|
145
|
+
return (_jsxs(ResizablePanelGroup, { className: "diagram-editor__overlay", orientation: "vertical", children: [_jsx(ResizablePanel, { minSize: 300, children: _jsx("div", { className: "diagram-editor__view-finder" }) }), _jsx(ResizablePanelSplitter, { className: "diagram-editor__overlay__panel-resizer" }), _jsx(ResizablePanel, { ...getControlledResizablePanelProps(diagramEditorState.sidePanelDisplayState.size === 0, {
|
148
146
|
classes: ['diagram-editor__overlay__panel'],
|
149
147
|
onStopResize: resizeSidePanel,
|
150
148
|
}), flex: 0, direction: -1, size: diagramEditorState.sidePanelDisplayState.size, children: _jsxs("div", { className: "panel diagram-editor__side-panel", children: [sidePanelState instanceof
|
151
|
-
DiagramEditorClassViewEditorSidePanelState && (_jsx(DiagramEditorClassViewEditor, { classViewEditorState: sidePanelState }
|
149
|
+
DiagramEditorClassViewEditorSidePanelState && (_jsx(DiagramEditorClassViewEditor, { classViewEditorState: sidePanelState })), !sidePanelState && (_jsx(BlankPanelContent, { children: "No element selected" }))] }) })] }));
|
152
150
|
});
|
153
151
|
const DiagramEditorInlineClassRenamerInner = observer((props) => {
|
154
152
|
const { inlineClassRenamerState } = props;
|
@@ -177,7 +175,7 @@ const DiagramEditorInlineClassRenamerInner = observer((props) => {
|
|
177
175
|
event.preventDefault();
|
178
176
|
if (canRenameClass) {
|
179
177
|
diagramEditorState.setInlineClassRenamerState(undefined);
|
180
|
-
flowResult(editorStore.renameElement(_class, newClassPath)).catch(applicationStore.
|
178
|
+
flowResult(editorStore.renameElement(_class, newClassPath)).catch(applicationStore.alertUnhandledError);
|
181
179
|
}
|
182
180
|
};
|
183
181
|
const pathInputRef = useRef(null);
|
@@ -185,7 +183,7 @@ const DiagramEditorInlineClassRenamerInner = observer((props) => {
|
|
185
183
|
useEffect(() => {
|
186
184
|
pathInputRef.current?.focus();
|
187
185
|
}, [inlineClassRenamerState]);
|
188
|
-
return (_jsxs("form", { className: "diagram-editor__inline-class-creator", children: [_jsxs("div", { className: "input-group", children: [_jsx("input", { className: "diagram-editor__inline-class-creator__path input-group__input input--dark", ref: pathInputRef, disabled: isReadOnly, value: name, placeholder: "Enter class name", onChange: changePath }
|
186
|
+
return (_jsxs("form", { className: "diagram-editor__inline-class-creator", children: [_jsxs("div", { className: "input-group", children: [_jsx("input", { className: "diagram-editor__inline-class-creator__path input-group__input input--dark", ref: pathInputRef, disabled: isReadOnly, value: name, placeholder: "Enter class name", onChange: changePath }), classCreationValidationErrorMessage && (_jsx("div", { className: "input-group__error-message", children: classCreationValidationErrorMessage }))] }), _jsx("button", { type: "submit", className: "diagram-editor__inline-class-creator__close-btn", onClick: close })] }));
|
189
187
|
});
|
190
188
|
const DiagramEditorInlineClassRenamer = observer((props) => {
|
191
189
|
const { diagramEditorState } = props;
|
@@ -201,7 +199,7 @@ const DiagramEditorInlineClassRenamer = observer((props) => {
|
|
201
199
|
top: anchorPositionPoint.y,
|
202
200
|
}, anchorReference: "anchorPosition", open: Boolean(inlineClassRenamerState), BackdropProps: {
|
203
201
|
invisible: true,
|
204
|
-
}, elevation: 0, marginThreshold: 0, disableRestoreFocus: true, children: _jsx("div", { className: "diagram-editor__inline-class-creator__container", children: inlineClassRenamerState && (_jsx(DiagramEditorInlineClassRenamerInner, { inlineClassRenamerState: inlineClassRenamerState }
|
202
|
+
}, elevation: 0, marginThreshold: 0, disableRestoreFocus: true, children: _jsx("div", { className: "diagram-editor__inline-class-creator__container", children: inlineClassRenamerState && (_jsx(DiagramEditorInlineClassRenamerInner, { inlineClassRenamerState: inlineClassRenamerState })) }) }));
|
205
203
|
});
|
206
204
|
const DiagramEditorInlineClassCreatorInner = observer((props) => {
|
207
205
|
const { inlineClassCreatorState } = props;
|
@@ -244,7 +242,7 @@ const DiagramEditorInlineClassCreatorInner = observer((props) => {
|
|
244
242
|
useEffect(() => {
|
245
243
|
pathInputRef.current?.focus();
|
246
244
|
}, [inlineClassCreatorState]);
|
247
|
-
return (_jsxs("form", { className: "diagram-editor__inline-class-creator", children: [_jsxs("div", { className: "input-group", children: [_jsx("input", { className: "diagram-editor__inline-class-creator__path input-group__input input--dark", ref: pathInputRef, disabled: isReadOnly, value: path, placeholder: "Enter class path", onChange: changePath }
|
245
|
+
return (_jsxs("form", { className: "diagram-editor__inline-class-creator", children: [_jsxs("div", { className: "input-group", children: [_jsx("input", { className: "diagram-editor__inline-class-creator__path input-group__input input--dark", ref: pathInputRef, disabled: isReadOnly, value: path, placeholder: "Enter class path", onChange: changePath }), classCreationValidationErrorMessage && (_jsx("div", { className: "input-group__error-message", children: classCreationValidationErrorMessage }))] }), _jsx("button", { type: "submit", className: "diagram-editor__inline-class-creator__close-btn", onClick: close })] }));
|
248
246
|
});
|
249
247
|
const DiagramEditorInlineClassCreator = observer((props) => {
|
250
248
|
const { diagramEditorState } = props;
|
@@ -260,7 +258,7 @@ const DiagramEditorInlineClassCreator = observer((props) => {
|
|
260
258
|
top: anchorPositionPoint.y,
|
261
259
|
}, anchorReference: "anchorPosition", open: Boolean(inlineClassCreatorState), BackdropProps: {
|
262
260
|
invisible: true,
|
263
|
-
}, elevation: 0, marginThreshold: 0, disableRestoreFocus: true, children: _jsx("div", { className: "diagram-editor__inline-class-creator__container", children: inlineClassCreatorState && (_jsx(DiagramEditorInlineClassCreatorInner, { inlineClassCreatorState: inlineClassCreatorState }
|
261
|
+
}, elevation: 0, marginThreshold: 0, disableRestoreFocus: true, children: _jsx("div", { className: "diagram-editor__inline-class-creator__container", children: inlineClassCreatorState && (_jsx(DiagramEditorInlineClassCreatorInner, { inlineClassCreatorState: inlineClassCreatorState })) }) }));
|
264
262
|
});
|
265
263
|
const DiagramEditorInlinePropertyMultiplicityEditor = observer((props) => {
|
266
264
|
const { value, updateValue, isReadOnly } = props;
|
@@ -285,7 +283,7 @@ const DiagramEditorInlinePropertyMultiplicityEditor = observer((props) => {
|
|
285
283
|
setUpperBound(event.target.value);
|
286
284
|
updateMultiplicity(lowerBound, event.target.value);
|
287
285
|
};
|
288
|
-
return (_jsxs("div", { className: "diagram-editor__inline-property-editor__multiplicity-editor", children: [_jsx("input", { className: "diagram-editor__inline-property-editor__multiplicity-editor__bound input--dark", disabled: isReadOnly, spellCheck: false, value: lowerBound, onChange: changeLowerBound }
|
286
|
+
return (_jsxs("div", { className: "diagram-editor__inline-property-editor__multiplicity-editor", children: [_jsx("input", { className: "diagram-editor__inline-property-editor__multiplicity-editor__bound input--dark", disabled: isReadOnly, spellCheck: false, value: lowerBound, onChange: changeLowerBound }), _jsx("div", { className: "diagram-editor__inline-property-editor__multiplicity-editor__range", children: ".." }), _jsx("input", { className: "diagram-editor__inline-property-editor__multiplicity-editor__bound input--dark", disabled: isReadOnly, spellCheck: false, value: upperBound, onChange: changeUpperBound })] }));
|
289
287
|
});
|
290
288
|
const DiagramEditorInlinePropertyEditorInner = observer((props) => {
|
291
289
|
const { inlinePropertyEditorState } = props;
|
@@ -332,7 +330,7 @@ const DiagramEditorInlinePropertyEditorInner = observer((props) => {
|
|
332
330
|
}, [inlinePropertyEditorState]);
|
333
331
|
return (_jsxs("form", { className: clsx('diagram-editor__inline-property-editor', {
|
334
332
|
'diagram-editor__inline-property-editor--with-type': !inlinePropertyEditorState.isEditingPropertyView,
|
335
|
-
}), children: [_jsx("input", { className: "diagram-editor__inline-property-editor__name input--dark", ref: propertyNameInputRef, disabled: isReadOnly, value: property.name, onChange: changePropertyName }
|
333
|
+
}), children: [_jsx("input", { className: "diagram-editor__inline-property-editor__name input--dark", ref: propertyNameInputRef, disabled: isReadOnly, value: property.name, onChange: changePropertyName }), !inlinePropertyEditorState.isEditingPropertyView && (_jsx(CustomSelectorInput, { className: "diagram-editor__inline-property-editor__type", disabled: isReadOnly, options: propertyTypeOptions, onChange: changePropertyType, value: selectedPropertyType, placeholder: "Choose a data type or enumeration", darkMode: true, filterOption: propertyTypeFilterOption })), _jsx(DiagramEditorInlinePropertyMultiplicityEditor, { isReadOnly: isReadOnly, value: property.multiplicity, updateValue: changeMultiplicity }), _jsx("button", { type: "submit", className: "diagram-editor__inline-property-editor__close-btn", onClick: close })] }));
|
336
334
|
});
|
337
335
|
const DiagramEditorInlinePropertyEditor = observer((props) => {
|
338
336
|
const { diagramEditorState } = props;
|
@@ -348,9 +346,9 @@ const DiagramEditorInlinePropertyEditor = observer((props) => {
|
|
348
346
|
top: anchorPositionPoint.y,
|
349
347
|
}, anchorReference: "anchorPosition", open: Boolean(inlinePropertyEditorState), BackdropProps: {
|
350
348
|
invisible: true,
|
351
|
-
}, elevation: 0, marginThreshold: 0, disableRestoreFocus: true, children: _jsx("div", { className: "diagram-editor__inline-property-editor__container", children: inlinePropertyEditorState && (_jsx(DiagramEditorInlinePropertyEditorInner, { inlinePropertyEditorState: inlinePropertyEditorState }
|
349
|
+
}, elevation: 0, marginThreshold: 0, disableRestoreFocus: true, children: _jsx("div", { className: "diagram-editor__inline-property-editor__container", children: inlinePropertyEditorState && (_jsx(DiagramEditorInlinePropertyEditorInner, { inlinePropertyEditorState: inlinePropertyEditorState })) }) }));
|
352
350
|
});
|
353
|
-
const DiagramEditorDiagramCanvas = observer((props, ref)
|
351
|
+
const DiagramEditorDiagramCanvas = observer(forwardRef(function DiagramEditorDiagramCanvas(props, ref) {
|
354
352
|
const { diagramEditorState } = props;
|
355
353
|
const diagramCanvasRef = ref;
|
356
354
|
const isReadOnly = diagramEditorState.isReadOnly;
|
@@ -392,8 +390,8 @@ const DiagramEditorDiagramCanvas = observer((props, ref) => {
|
|
392
390
|
drop: (item, monitor) => handleDrop(item, monitor),
|
393
391
|
}), [handleDrop]);
|
394
392
|
dropConnector(diagramCanvasRef);
|
395
|
-
return (_jsx("div", { ref: diagramCanvasRef, className: clsx('diagram-canvas diagram-editor__canvas', diagramEditorState.diagramCursorClass), tabIndex: 0, onContextMenu: (event) => event.preventDefault() }
|
396
|
-
}
|
393
|
+
return (_jsx("div", { ref: diagramCanvasRef, className: clsx('diagram-canvas diagram-editor__canvas', diagramEditorState.diagramCursorClass), tabIndex: 0, onContextMenu: (event) => event.preventDefault() }));
|
394
|
+
}));
|
397
395
|
const DiagramEditorHeader = observer((props) => {
|
398
396
|
const { diagramEditorState } = props;
|
399
397
|
const createCenterZoomer = (zoomLevel) => () => {
|
@@ -406,19 +404,19 @@ const DiagramEditorHeader = observer((props) => {
|
|
406
404
|
diagramEditorState.setSidePanelState(undefined);
|
407
405
|
}
|
408
406
|
};
|
409
|
-
return (_jsxs(_Fragment, { children: [_jsxs(DropdownMenu, { className: "diagram-editor__header__dropdown", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "diagram-editor__header__zoomer__dropdown__menu__item", onClick: zoomToFit, children: "Fit" }
|
407
|
+
return (_jsxs(_Fragment, { children: [_jsxs(DropdownMenu, { className: "diagram-editor__header__dropdown", content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "diagram-editor__header__zoomer__dropdown__menu__item", onClick: zoomToFit, children: "Fit" }), _jsx(MenuContentDivider, {}), DIAGRAM_ZOOM_LEVELS.map((zoomLevel) => (_jsxs(MenuContentItem, { className: "diagram-editor__header__zoomer__dropdown__menu__item", onClick: createCenterZoomer(zoomLevel), children: [zoomLevel, "%"] }, zoomLevel)))] }), menuProps: {
|
410
408
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
411
409
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
412
410
|
elevation: 7,
|
413
|
-
}, children: [_jsxs("button", { className: "diagram-editor__header__dropdown__label diagram-editor__header__zoomer__dropdown__label", tabIndex: -1, title: "Zoom...", children: [Math.round(diagramEditorState.renderer.zoom * 100), "%"] }
|
411
|
+
}, children: [_jsxs("button", { className: "diagram-editor__header__dropdown__label diagram-editor__header__zoomer__dropdown__label", tabIndex: -1, title: "Zoom...", children: [Math.round(diagramEditorState.renderer.zoom * 100), "%"] }), _jsx("div", { className: "diagram-editor__header__dropdown__trigger diagram-editor__header__zoomer__dropdown__trigger", children: _jsx(CaretDownIcon, {}) })] }), _jsx("div", { className: "diagram-editor__header__actions", children: _jsx("button", { className: clsx('diagram-editor__header__action', {
|
414
412
|
'diagram-editor__header__action--active': diagramEditorState.sidePanelDisplayState.isOpen,
|
415
|
-
}), tabIndex: -1, onClick: toggleSidePanel, children: _jsx(SidebarIcon, { className: "diagram-editor__icon--sidebar" }
|
413
|
+
}), tabIndex: -1, onClick: toggleSidePanel, children: _jsx(SidebarIcon, { className: "diagram-editor__icon--sidebar" }) }) })] }));
|
416
414
|
});
|
417
415
|
export const DiagramEditor = observer(() => {
|
418
416
|
const editorStore = useEditorStore();
|
419
417
|
const diagramEditorState = editorStore.getCurrentEditorState(DiagramEditorState);
|
420
418
|
const diagramCanvasRef = useRef(null);
|
421
419
|
const onContextMenuClose = () => diagramEditorState.closeContextMenu();
|
422
|
-
return (_jsxs("div", { className: "diagram-editor", children: [_jsx("div", { className: "diagram-editor__header", children: diagramEditorState.isDiagramRendererInitialized && (_jsx(DiagramEditorHeader, { diagramEditorState: diagramEditorState }
|
420
|
+
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
421
|
});
|
424
422
|
//# 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,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC3E,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,eAAe,EACf,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAIL,6BAA6B,EAC7B,0CAA0C,EAC1C,kBAAkB,GACnB,MAAM,wCAAwC,CAAC;AAChD,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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B,WACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,WACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,WACtC,YACD,CACJ,YACW,YACV,YACF,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,eAAe,EACf,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAIL,6BAA6B,EAC7B,0CAA0C,EAC1C,kBAAkB,GACnB,MAAM,wCAAwC,CAAC;AAChD,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,EACV,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,MAAM,GACP,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,EACL,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,sBAAsB,EACtB,qBAAqB,EACrB,WAAW,EACX,UAAU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,GAAS,EAAE,CAAC,kBAAkB,CAAC,gBAAgB,EAAE,CAAC;IAE7E,OAAO,CACL,eAAK,SAAS,EAAC,gBAAgB,aAC7B,cAAK,SAAS,EAAC,wBAAwB,YACpC,kBAAkB,CAAC,4BAA4B,IAAI,CAClD,KAAC,mBAAmB,IAAC,kBAAkB,EAAE,kBAAkB,GAAI,CAChE,GACG,EACN,eAAK,SAAS,EAAC,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
package/lib/package.json
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
{
|
2
|
+
"name": "@finos/legend-extension-dsl-diagram",
|
3
|
+
"version": "1.0.19",
|
4
|
+
"description": "Legend extension for Diagram DSL",
|
5
|
+
"keywords": [
|
6
|
+
"legend",
|
7
|
+
"legend-extension",
|
8
|
+
"dsl",
|
9
|
+
"dsl-diagram"
|
10
|
+
],
|
11
|
+
"homepage": "https://github.com/finos/legend-studio/tree/master/packages/legend-extension-dsl-diagram",
|
12
|
+
"bugs": {
|
13
|
+
"url": "https://github.com/finos/legend-studio/issues"
|
14
|
+
},
|
15
|
+
"repository": {
|
16
|
+
"type": "git",
|
17
|
+
"url": "https://github.com/finos/legend-studio.git",
|
18
|
+
"directory": "packages/legend-extension-dsl-diagram"
|
19
|
+
},
|
20
|
+
"license": "Apache-2.0",
|
21
|
+
"sideEffects": false,
|
22
|
+
"type": "module",
|
23
|
+
"main": "lib/index.js",
|
24
|
+
"module": "lib/index.js",
|
25
|
+
"types": "lib/index.d.ts",
|
26
|
+
"scripts": {
|
27
|
+
"build": "yarn clean && yarn build:sass && yarn build:tsc",
|
28
|
+
"build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
|
29
|
+
"build:tsc": "tsc --project ./tsconfig.build.json",
|
30
|
+
"clean": "npm-run-all clean:cache clean:lib",
|
31
|
+
"clean:cache": "rimraf \"build\"",
|
32
|
+
"clean:lib": "rimraf \"lib\"",
|
33
|
+
"dev": "npm-run-all --parallel dev:sass dev:tsc",
|
34
|
+
"dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
|
35
|
+
"dev:tsc": "tsc --watch --preserveWatchOutput",
|
36
|
+
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
|
37
|
+
"publish:prepare": "node ../../scripts/release/preparePublishContent.js",
|
38
|
+
"publish:snapshot": "node ../../scripts/release/publishDevSnapshot.js",
|
39
|
+
"test": "jest",
|
40
|
+
"test:watch": "jest --watch"
|
41
|
+
},
|
42
|
+
"dependencies": {
|
43
|
+
"@finos/legend-application": "workspace:*",
|
44
|
+
"@finos/legend-art": "workspace:*",
|
45
|
+
"@finos/legend-graph": "workspace:*",
|
46
|
+
"@finos/legend-model-storage": "workspace:*",
|
47
|
+
"@finos/legend-shared": "workspace:*",
|
48
|
+
"@finos/legend-studio": "workspace:*",
|
49
|
+
"@types/react": "17.0.39",
|
50
|
+
"mobx": "6.4.2",
|
51
|
+
"mobx-react-lite": "3.3.0",
|
52
|
+
"react": "17.0.2",
|
53
|
+
"react-dnd": "15.1.1",
|
54
|
+
"react-dom": "17.0.2",
|
55
|
+
"react-resize-detector": "7.0.0",
|
56
|
+
"serializr": "2.0.5"
|
57
|
+
},
|
58
|
+
"devDependencies": {
|
59
|
+
"@finos/legend-dev-utils": "workspace:*",
|
60
|
+
"@testing-library/react": "12.1.3",
|
61
|
+
"cross-env": "7.0.3",
|
62
|
+
"eslint": "8.10.0",
|
63
|
+
"jest": "27.5.1",
|
64
|
+
"jest-canvas-mock": "2.3.1",
|
65
|
+
"npm-run-all": "4.1.5",
|
66
|
+
"rimraf": "3.0.2",
|
67
|
+
"sass": "1.49.9",
|
68
|
+
"typescript": "4.6.2"
|
69
|
+
},
|
70
|
+
"peerDependencies": {
|
71
|
+
"react": "^17.0.0"
|
72
|
+
},
|
73
|
+
"publishConfig": {
|
74
|
+
"directory": "build/publishContent"
|
75
|
+
},
|
76
|
+
"extensions": {
|
77
|
+
"graphPreset": "@finos/legend-graph-preset-dsl-diagram",
|
78
|
+
"pureProtocolProcessorPlugin": "@finos/legend-graph-plugin-dsl-diagram-pure-protocol-processor",
|
79
|
+
"pureGraphManagerPlugin": "@finos/legend-graph-plugin-dsl-diagram-pure-graph-manager",
|
80
|
+
"pureGraphPlugin": "@finos/legend-graph-plugin-dsl-diagram-pure-graph",
|
81
|
+
"studioPlugin": "@finos/legend-studio-plugin-dsl-diagram"
|
82
|
+
}
|
83
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-extension-dsl-diagram",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.19",
|
4
4
|
"description": "Legend extension for Diagram DSL",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -40,32 +40,32 @@
|
|
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-graph": "1.1
|
46
|
-
"@finos/legend-model-storage": "0.0.
|
47
|
-
"@finos/legend-shared": "1.2.
|
48
|
-
"@finos/legend-studio": "
|
49
|
-
"@types/react": "17.0.
|
50
|
-
"mobx": "6.
|
51
|
-
"mobx-react-lite": "3.
|
43
|
+
"@finos/legend-application": "1.2.1",
|
44
|
+
"@finos/legend-art": "0.3.8",
|
45
|
+
"@finos/legend-graph": "1.2.1",
|
46
|
+
"@finos/legend-model-storage": "0.0.21",
|
47
|
+
"@finos/legend-shared": "1.2.3",
|
48
|
+
"@finos/legend-studio": "3.0.1",
|
49
|
+
"@types/react": "17.0.39",
|
50
|
+
"mobx": "6.4.2",
|
51
|
+
"mobx-react-lite": "3.3.0",
|
52
52
|
"react": "17.0.2",
|
53
|
-
"react-dnd": "
|
53
|
+
"react-dnd": "15.1.1",
|
54
54
|
"react-dom": "17.0.2",
|
55
55
|
"react-resize-detector": "7.0.0",
|
56
56
|
"serializr": "2.0.5"
|
57
57
|
},
|
58
58
|
"devDependencies": {
|
59
|
-
"@finos/legend-dev-utils": "0.3.
|
60
|
-
"@testing-library/react": "12.1.
|
59
|
+
"@finos/legend-dev-utils": "0.3.12",
|
60
|
+
"@testing-library/react": "12.1.3",
|
61
61
|
"cross-env": "7.0.3",
|
62
|
-
"eslint": "8.
|
63
|
-
"jest": "27.
|
62
|
+
"eslint": "8.10.0",
|
63
|
+
"jest": "27.5.1",
|
64
64
|
"jest-canvas-mock": "2.3.1",
|
65
65
|
"npm-run-all": "4.1.5",
|
66
66
|
"rimraf": "3.0.2",
|
67
|
-
"sass": "1.49.
|
68
|
-
"typescript": "4.
|
67
|
+
"sass": "1.49.9",
|
68
|
+
"typescript": "4.6.2"
|
69
69
|
},
|
70
70
|
"peerDependencies": {
|
71
71
|
"react": "^17.0.0"
|
@@ -14,7 +14,14 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import {
|
17
|
+
import {
|
18
|
+
useRef,
|
19
|
+
useState,
|
20
|
+
useEffect,
|
21
|
+
useCallback,
|
22
|
+
Fragment,
|
23
|
+
forwardRef,
|
24
|
+
} from 'react';
|
18
25
|
import { useResizeDetector } from 'react-resize-detector';
|
19
26
|
import { type DropTargetMonitor, useDrop } from 'react-dnd';
|
20
27
|
import { observer } from 'mobx-react-lite';
|
@@ -99,12 +106,12 @@ import { Point } from '../../models/metamodels/pure/packageableElements/diagram/
|
|
99
106
|
import type { DSLDiagram_LegendStudioPlugin_Extension } from './DSLDiagram_LegendStudioPlugin_Extension';
|
100
107
|
|
101
108
|
const DiagramEditorContextMenu = observer(
|
102
|
-
|
103
|
-
|
109
|
+
forwardRef<
|
110
|
+
HTMLDivElement,
|
111
|
+
{
|
104
112
|
diagramEditorState: DiagramEditorState;
|
105
|
-
}
|
106
|
-
|
107
|
-
) => {
|
113
|
+
}
|
114
|
+
>(function DiagramEditorContextMenu(props, ref) {
|
108
115
|
const { diagramEditorState } = props;
|
109
116
|
const editorStore = useEditorStore();
|
110
117
|
const extraClassViewContextMenuItems =
|
@@ -129,8 +136,7 @@ const DiagramEditorContextMenu = observer(
|
|
129
136
|
))
|
130
137
|
: [];
|
131
138
|
return <MenuContent>{extraClassViewContextMenuItems}</MenuContent>;
|
132
|
-
},
|
133
|
-
{ forwardRef: true },
|
139
|
+
}),
|
134
140
|
);
|
135
141
|
|
136
142
|
const DiagramRendererHotkeyInfosModal = observer(
|
@@ -145,9 +151,6 @@ const DiagramRendererHotkeyInfosModal = observer(
|
|
145
151
|
container: 'editor-modal__container',
|
146
152
|
paper: 'editor-modal__content--scrollable',
|
147
153
|
}}
|
148
|
-
TransitionProps={{
|
149
|
-
appear: false, // disable transition
|
150
|
-
}}
|
151
154
|
>
|
152
155
|
<div className="modal modal--dark modal--scrollable diagram-editor__hotkeys__dialog">
|
153
156
|
<div className="modal__header">
|
@@ -729,7 +732,7 @@ const DiagramEditorInlineClassRenamerInner = observer(
|
|
729
732
|
if (canRenameClass) {
|
730
733
|
diagramEditorState.setInlineClassRenamerState(undefined);
|
731
734
|
flowResult(editorStore.renameElement(_class, newClassPath)).catch(
|
732
|
-
applicationStore.
|
735
|
+
applicationStore.alertUnhandledError,
|
733
736
|
);
|
734
737
|
}
|
735
738
|
};
|
@@ -1145,12 +1148,12 @@ const DiagramEditorInlinePropertyEditor = observer(
|
|
1145
1148
|
);
|
1146
1149
|
|
1147
1150
|
const DiagramEditorDiagramCanvas = observer(
|
1148
|
-
|
1149
|
-
|
1151
|
+
forwardRef<
|
1152
|
+
HTMLDivElement,
|
1153
|
+
{
|
1150
1154
|
diagramEditorState: DiagramEditorState;
|
1151
|
-
}
|
1152
|
-
|
1153
|
-
) => {
|
1155
|
+
}
|
1156
|
+
>(function DiagramEditorDiagramCanvas(props, ref) {
|
1154
1157
|
const { diagramEditorState } = props;
|
1155
1158
|
const diagramCanvasRef =
|
1156
1159
|
ref as React.MutableRefObject<HTMLDivElement | null>;
|
@@ -1226,8 +1229,7 @@ const DiagramEditorDiagramCanvas = observer(
|
|
1226
1229
|
onContextMenu={(event): void => event.preventDefault()}
|
1227
1230
|
/>
|
1228
1231
|
);
|
1229
|
-
},
|
1230
|
-
{ forwardRef: true },
|
1232
|
+
}),
|
1231
1233
|
);
|
1232
1234
|
|
1233
1235
|
const DiagramEditorHeader = observer(
|