@finos/legend-extension-dsl-diagram 2.0.2 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/DSLDiagram_Extension.d.ts +0 -2
- package/lib/DSLDiagram_Extension.d.ts.map +1 -1
- package/lib/DSLDiagram_Extension.js +8 -9
- package/lib/DSLDiagram_Extension.js.map +1 -1
- package/lib/DiagramRenderer.d.ts +8 -8
- package/lib/DiagramRenderer.d.ts.map +1 -1
- package/lib/DiagramRenderer.js +42 -44
- package/lib/DiagramRenderer.js.map +1 -1
- package/lib/components/studio/ClassDiagramPreview.d.ts +1 -1
- package/lib/components/studio/ClassDiagramPreview.js +2 -2
- package/lib/components/studio/ClassDiagramPreview.js.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.d.ts +4 -14
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.d.ts.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.js +8 -6
- package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.js.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js +10 -10
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +1 -1
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts +3 -3
- package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts.map +1 -1
- package/lib/components/studio/DSLDiagram_TestID.js +1 -1
- package/lib/components/studio/DSLDiagram_TestID.js.map +1 -1
- package/lib/components/studio/DiagramEditor.d.ts +1 -1
- package/lib/components/studio/DiagramEditor.js +5 -5
- package/lib/components/studio/DiagramEditor.js.map +1 -1
- package/lib/components/studio/InheritanceDiagramRenderer.d.ts +1 -1
- package/lib/components/studio/InheritanceDiagramRenderer.d.ts.map +1 -1
- package/lib/components/studio/InheritanceDiagramRenderer.js +3 -3
- package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
- package/lib/graph/DSLDiagram_PureGraphPlugin.js +2 -2
- package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +1 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts +1 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts.map +1 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.js +1 -1
- package/lib/graphManager/DSLDiagram_GraphManagerHelper.js.map +1 -1
- package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js +2 -2
- package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts +10 -10
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts.map +1 -1
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js +1 -1
- package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js.map +1 -1
- package/lib/helpers/{DiagramHelper.d.ts → DSLDiagram_Helper.d.ts} +28 -6
- package/lib/helpers/DSLDiagram_Helper.d.ts.map +1 -0
- package/lib/helpers/{DiagramHelper.js → DSLDiagram_Helper.js} +56 -9
- package/lib/helpers/{DiagramHelper.js.map → DSLDiagram_Helper.js.map} +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +18 -18
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +18 -18
- package/lib/index.js.map +1 -1
- package/lib/models/DSLDiagram_ModelUtils.js +1 -1
- package/lib/models/DSLDiagram_ModelUtils.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js +6 -6
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts +4 -4
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts +3 -3
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js +2 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts +7 -7
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js +20 -12
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/{DSLDiagram_RelationshipEdgeView.d.ts → DSLDiagram_RelationshipViewEnd.d.ts} +6 -6
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/{DSLDiagram_RelationshipEdgeView.js → DSLDiagram_RelationshipViewEnd.js} +5 -5
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js.map +1 -0
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts +0 -2
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js +1 -7
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts +3 -9
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js +11 -22
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js +1 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +1 -1
- package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js +6 -6
- package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts +3 -3
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts +2 -2
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js +1 -1
- package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts +7 -7
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js +8 -8
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts +2 -2
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js +7 -7
- package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +1 -1
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js +7 -7
- package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +1 -1
- package/lib/package.json +15 -14
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts +12 -12
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts.map +1 -1
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js +8 -8
- package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js.map +1 -1
- package/lib/stores/studio/DiagramEditorState.d.ts +5 -5
- package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
- package/lib/stores/studio/DiagramEditorState.js +6 -6
- package/lib/stores/studio/DiagramEditorState.js.map +1 -1
- package/package.json +22 -21
- package/src/DSLDiagram_Extension.ts +8 -11
- package/src/DiagramRenderer.ts +64 -53
- package/src/components/studio/ClassDiagramPreview.tsx +2 -2
- package/src/components/studio/DSLDiagram_LegendStudioDocumentation.ts +13 -6
- package/src/components/studio/DSLDiagram_LegendStudioPlugin.tsx +14 -13
- package/src/components/studio/DSLDiagram_LegendStudioPlugin_Extension.tsx +2 -2
- package/src/components/studio/DiagramEditor.tsx +6 -6
- package/src/components/studio/InheritanceDiagramRenderer.ts +3 -3
- package/src/graph/DSLDiagram_PureGraphPlugin.ts +2 -2
- package/src/graphManager/DSLDiagram_GraphManagerHelper.ts +1 -1
- package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +2 -2
- package/src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts +11 -11
- package/src/helpers/{DiagramHelper.ts → DSLDiagram_Helper.ts} +102 -11
- package/src/index.ts +21 -18
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts +4 -4
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.ts +8 -7
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts +3 -3
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.ts +5 -5
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts +2 -2
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts +4 -4
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts +2 -2
- package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts +26 -17
- package/src/models/metamodels/pure/packageableElements/diagram/{DSLDiagram_RelationshipEdgeView.ts → DSLDiagram_RelationshipViewEnd.ts} +6 -5
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts +1 -9
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts +12 -42
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts +1 -1
- package/src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +6 -6
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts +4 -4
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts +3 -3
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts +2 -2
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.ts +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.ts +1 -1
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.ts +3 -3
- package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.ts +1 -1
- package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts +14 -14
- package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts +13 -13
- package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts +7 -7
- package/src/stores/studio/DSLDiagram_GraphModifierHelper.ts +22 -20
- package/src/stores/studio/DiagramEditorState.ts +9 -9
- package/tsconfig.json +5 -11
- package/tsconfig.package.json +1 -4
- package/lib/helpers/DiagramHelper.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts +0 -26
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts.map +0 -1
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js +0 -37
- package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js.map +0 -1
- package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.ts +0 -44
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"
|
1
|
+
{"version":3,"file":"DSLDiagram_Helper.js","sourceRoot":"","sources":["../../src/helpers/DSLDiagram_Helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,sFAAsF,CAAC;AACxH,OAAO,EAAE,KAAK,EAAE,MAAM,oFAAoF,CAAC;AAC3G,OAAO,EAEL,KAAK,EACL,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kGAAkG,CAAC;AACvI,OAAO,EAAE,SAAS,EAAE,MAAM,wFAAwF,CAAC;AAEnH,MAAM,OAAO,MAAM;IACR,CAAC,CAAS;IACV,CAAC,CAAS;IAEnB,YAAY,CAAS,EAAE,CAAS;QAC9B,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;QACX,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,MAAM,CAAC,UAAU,CAAC,CAAQ,EAAE,CAAQ;QAClC,OAAO,IAAI,MAAM,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C;AACJ,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/index.d.ts
CHANGED
@@ -13,22 +13,22 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
export * from './DSLDiagram_Extension';
|
17
|
-
export { DSLDiagram_LegendStudioPlugin } from './components/studio/DSLDiagram_LegendStudioPlugin';
|
18
|
-
export * from './components/studio/DSLDiagram_LegendStudioPlugin_Extension';
|
19
|
-
export { DiagramEditorState } from './stores/studio/DiagramEditorState';
|
20
|
-
export { DiagramRenderer, DIAGRAM_INTERACTION_MODE } from './DiagramRenderer';
|
21
|
-
export { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
22
|
-
export { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
23
|
-
export { RelationshipView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView';
|
24
|
-
export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView';
|
25
|
-
export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
|
26
|
-
export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView';
|
27
|
-
export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
|
28
|
-
export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
|
29
|
-
export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
|
30
|
-
export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle';
|
31
|
-
export * from './helpers/
|
32
|
-
export * from './graphManager/DSLDiagram_GraphManagerHelper';
|
33
|
-
export { V1_DSLDiagram_PackageableElementPointerType } from './models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin';
|
16
|
+
export * from './DSLDiagram_Extension.js';
|
17
|
+
export { DSLDiagram_LegendStudioPlugin } from './components/studio/DSLDiagram_LegendStudioPlugin.js';
|
18
|
+
export * from './components/studio/DSLDiagram_LegendStudioPlugin_Extension.js';
|
19
|
+
export { DiagramEditorState } from './stores/studio/DiagramEditorState.js';
|
20
|
+
export { DiagramRenderer, DIAGRAM_INTERACTION_MODE, } from './DiagramRenderer.js';
|
21
|
+
export { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
|
22
|
+
export { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
|
23
|
+
export { RelationshipView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
|
24
|
+
export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js';
|
25
|
+
export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
|
26
|
+
export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js';
|
27
|
+
export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
|
28
|
+
export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
|
29
|
+
export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
|
30
|
+
export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
|
31
|
+
export * from './helpers/DSLDiagram_Helper.js';
|
32
|
+
export * from './graphManager/DSLDiagram_GraphManagerHelper.js';
|
33
|
+
export { V1_DSLDiagram_PackageableElementPointerType } from './models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js';
|
34
34
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AACrG,cAAc,gEAAgE,CAAC;AAE/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,OAAO,EACL,eAAe,EACf,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,OAAO,EAAE,MAAM,4EAA4E,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,8EAA8E,CAAC;AACzG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qFAAqF,CAAC;AACvH,OAAO,EAAE,kBAAkB,EAAE,MAAM,uFAAuF,CAAC;AAC3H,OAAO,EAAE,YAAY,EAAE,MAAM,iFAAiF,CAAC;AAC/G,OAAO,EAAE,eAAe,EAAE,MAAM,oFAAoF,CAAC;AACrH,OAAO,EAAE,kBAAkB,EAAE,MAAM,uFAAuF,CAAC;AAC3H,OAAO,EAAE,KAAK,EAAE,MAAM,mFAAmF,CAAC;AAC1G,OAAO,EAAE,SAAS,EAAE,MAAM,uFAAuF,CAAC;AAClH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iGAAiG,CAAC;AAEtI,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iDAAiD,CAAC;AAChE,OAAO,EAAE,2CAA2C,EAAE,MAAM,mEAAmE,CAAC"}
|
package/lib/index.js
CHANGED
@@ -13,22 +13,22 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
export * from './DSLDiagram_Extension';
|
17
|
-
export { DSLDiagram_LegendStudioPlugin } from './components/studio/DSLDiagram_LegendStudioPlugin';
|
18
|
-
export * from './components/studio/DSLDiagram_LegendStudioPlugin_Extension';
|
19
|
-
export { DiagramEditorState } from './stores/studio/DiagramEditorState';
|
20
|
-
export { DiagramRenderer, DIAGRAM_INTERACTION_MODE } from './DiagramRenderer';
|
21
|
-
export { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
|
22
|
-
export { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
|
23
|
-
export { RelationshipView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView';
|
24
|
-
export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView';
|
25
|
-
export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
|
26
|
-
export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView';
|
27
|
-
export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
|
28
|
-
export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
|
29
|
-
export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
|
30
|
-
export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle';
|
31
|
-
export * from './helpers/
|
32
|
-
export * from './graphManager/DSLDiagram_GraphManagerHelper';
|
33
|
-
export { V1_DSLDiagram_PackageableElementPointerType } from './models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin';
|
16
|
+
export * from './DSLDiagram_Extension.js';
|
17
|
+
export { DSLDiagram_LegendStudioPlugin } from './components/studio/DSLDiagram_LegendStudioPlugin.js';
|
18
|
+
export * from './components/studio/DSLDiagram_LegendStudioPlugin_Extension.js';
|
19
|
+
export { DiagramEditorState } from './stores/studio/DiagramEditorState.js';
|
20
|
+
export { DiagramRenderer, DIAGRAM_INTERACTION_MODE, } from './DiagramRenderer.js';
|
21
|
+
export { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
|
22
|
+
export { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
|
23
|
+
export { RelationshipView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
|
24
|
+
export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js';
|
25
|
+
export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
|
26
|
+
export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js';
|
27
|
+
export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
|
28
|
+
export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
|
29
|
+
export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
|
30
|
+
export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
|
31
|
+
export * from './helpers/DSLDiagram_Helper.js';
|
32
|
+
export * from './graphManager/DSLDiagram_GraphManagerHelper.js';
|
33
|
+
export { V1_DSLDiagram_PackageableElementPointerType } from './models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js';
|
34
34
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,6BAA6B,EAAE,MAAM,sDAAsD,CAAC;AACrG,cAAc,gEAAgE,CAAC;AAE/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,OAAO,EACL,eAAe,EACf,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,OAAO,EAAE,MAAM,4EAA4E,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,8EAA8E,CAAC;AACzG,OAAO,EAAE,gBAAgB,EAAE,MAAM,qFAAqF,CAAC;AACvH,OAAO,EAAE,kBAAkB,EAAE,MAAM,uFAAuF,CAAC;AAC3H,OAAO,EAAE,YAAY,EAAE,MAAM,iFAAiF,CAAC;AAC/G,OAAO,EAAE,eAAe,EAAE,MAAM,oFAAoF,CAAC;AACrH,OAAO,EAAE,kBAAkB,EAAE,MAAM,uFAAuF,CAAC;AAC3H,OAAO,EAAE,KAAK,EAAE,MAAM,mFAAmF,CAAC;AAC1G,OAAO,EAAE,SAAS,EAAE,MAAM,uFAAuF,CAAC;AAClH,OAAO,EAAE,mBAAmB,EAAE,MAAM,iGAAiG,CAAC;AAEtI,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iDAAiD,CAAC;AAChE,OAAO,EAAE,2CAA2C,EAAE,MAAM,mEAAmE,CAAC"}
|
@@ -25,5 +25,5 @@ export var DIAGRAM_HASH_STRUCTURE;
|
|
25
25
|
DIAGRAM_HASH_STRUCTURE["POINT"] = "POINT";
|
26
26
|
DIAGRAM_HASH_STRUCTURE["RECTANGLE"] = "RECTANGLE";
|
27
27
|
DIAGRAM_HASH_STRUCTURE["POSITIONED_RECTANGLE"] = "POSITIONED_RECTANGLE";
|
28
|
-
})(DIAGRAM_HASH_STRUCTURE || (DIAGRAM_HASH_STRUCTURE = {}));
|
28
|
+
})(DIAGRAM_HASH_STRUCTURE = DIAGRAM_HASH_STRUCTURE || (DIAGRAM_HASH_STRUCTURE = {}));
|
29
29
|
//# sourceMappingURL=DSLDiagram_ModelUtils.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_ModelUtils.js","sourceRoot":"","sources":["../../src/models/DSLDiagram_ModelUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,sBAWX;AAXD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,mDAAyB,CAAA;IACzB,yDAA+B,CAAA;IAC/B,+DAAqC,CAAA;IACrC,uEAA6C,CAAA;IAC7C,qEAA2C,CAAA;IAC3C,iEAAuC,CAAA;IACvC,yCAAe,CAAA;IACf,iDAAuB,CAAA;IACvB,uEAA6C,CAAA;AAC/C,CAAC,EAXW,sBAAsB,KAAtB,sBAAsB,QAWjC"}
|
1
|
+
{"version":3,"file":"DSLDiagram_ModelUtils.js","sourceRoot":"","sources":["../../src/models/DSLDiagram_ModelUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,sBAWX;AAXD,WAAY,sBAAsB;IAChC,6CAAmB,CAAA;IACnB,mDAAyB,CAAA;IACzB,yDAA+B,CAAA;IAC/B,+DAAqC,CAAA;IACrC,uEAA6C,CAAA;IAC7C,qEAA2C,CAAA;IAC3C,iEAAuC,CAAA;IACvC,yCAAe,CAAA;IACf,iDAAuB,CAAA;IACvB,uEAA6C,CAAA;AAC/C,CAAC,EAXW,sBAAsB,GAAtB,sBAAsB,KAAtB,sBAAsB,QAWjC"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts
CHANGED
@@ -14,9 +14,9 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
|
18
|
-
import type { ClassView } from './DSLDiagram_ClassView';
|
19
|
-
import type { Diagram } from './DSLDiagram_Diagram';
|
17
|
+
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView.js';
|
18
|
+
import type { ClassView } from './DSLDiagram_ClassView.js';
|
19
|
+
import type { Diagram } from './DSLDiagram_Diagram.js';
|
20
20
|
import type { Association, PackageableElementReference, PropertyReference } from '@finos/legend-graph';
|
21
21
|
export declare class AssociationView extends PropertyHolderView implements Hashable {
|
22
22
|
association: PackageableElementReference<Association>;
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_AssociationView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_AssociationView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,KAAK,EACV,WAAW,EACX,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAE7B,qBAAa,eAAgB,SAAQ,kBAAmB,YAAW,QAAQ;IACzE,WAAW,EAAE,2BAA2B,CAAC,WAAW,CAAC,CAAC;gBAGpD,KAAK,EAAE,OAAO,EACd,WAAW,EAAE,2BAA2B,CAAC,WAAW,CAAC,EACrD,QAAQ,EAAE,iBAAiB,EAC3B,IAAI,EAAE,SAAS,EACf,EAAE,EAAE,SAAS;IAMf,IAAa,QAAQ,IAAI,MAAM,CAM9B;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView.js';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class AssociationView extends PropertyHolderView {
|
20
20
|
association;
|
21
21
|
constructor(owner, association, property, from, to) {
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_AssociationView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_AssociationView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAGxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAO9E,MAAM,OAAO,eAAgB,SAAQ,kBAAkB;IACrD,WAAW,CAA2C;IAEtD,YACE,KAAc,EACd,WAAqD,EACrD,QAA2B,EAC3B,IAAe,EACf,EAAa;QAEb,KAAK,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;QACjC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,gBAAgB;YACvC,KAAK,CAAC,QAAQ;YACd,IAAI,CAAC,WAAW,CAAC,SAAS;SAC3B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,11 +14,11 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { PositionedRectangle } from './geometry/DSLDiagram_PositionedRectangle';
|
18
|
-
import type { Diagram } from './DSLDiagram_Diagram';
|
17
|
+
import { PositionedRectangle } from './geometry/DSLDiagram_PositionedRectangle.js';
|
18
|
+
import type { Diagram } from './DSLDiagram_Diagram.js';
|
19
19
|
import type { Class, PackageableElementReference } from '@finos/legend-graph';
|
20
20
|
export declare class ClassView extends PositionedRectangle implements Hashable {
|
21
|
-
|
21
|
+
readonly _OWNER: Diagram;
|
22
22
|
class: PackageableElementReference<Class>;
|
23
23
|
id: string;
|
24
24
|
hideProperties?: boolean | undefined;
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_ClassView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_ClassView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAGnF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAEvD,OAAO,KAAK,EAAE,KAAK,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAE9E,qBAAa,SAAU,SAAQ,mBAAoB,YAAW,QAAQ;IACpE,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAEzB,KAAK,EAAE,2BAA2B,CAAC,KAAK,CAAC,CAAC;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,eAAe,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;gBAGpC,KAAK,EAAE,OAAO,EACd,EAAE,EAAE,MAAM,EACV,MAAM,EAAE,2BAA2B,CAAC,KAAK,CAAC;IAQ5C,IAAa,QAAQ,IAAI,MAAM,CAU9B;CACF"}
|
@@ -14,12 +14,12 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { PositionedRectangle } from './geometry/DSLDiagram_PositionedRectangle';
|
18
|
-
import { Rectangle } from './geometry/DSLDiagram_Rectangle';
|
19
|
-
import { Point } from './geometry/DSLDiagram_Point';
|
20
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { PositionedRectangle } from './geometry/DSLDiagram_PositionedRectangle.js';
|
18
|
+
import { Rectangle } from './geometry/DSLDiagram_Rectangle.js';
|
19
|
+
import { Point } from './geometry/DSLDiagram_Point.js';
|
20
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
|
21
21
|
export class ClassView extends PositionedRectangle {
|
22
|
-
|
22
|
+
_OWNER;
|
23
23
|
class;
|
24
24
|
id;
|
25
25
|
hideProperties;
|
@@ -27,7 +27,7 @@ export class ClassView extends PositionedRectangle {
|
|
27
27
|
hideStereotypes;
|
28
28
|
constructor(owner, id, _class) {
|
29
29
|
super(new Point(0, 0), new Rectangle(0, 0));
|
30
|
-
this.
|
30
|
+
this._OWNER = owner;
|
31
31
|
this.id = id;
|
32
32
|
this.class = _class;
|
33
33
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_ClassView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_ClassView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AACnF,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAEvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAG9E,MAAM,OAAO,SAAU,SAAQ,mBAAmB;IACvC,MAAM,CAAU;IAEzB,KAAK,CAAqC;IAC1C,EAAE,CAAS;IACX,cAAc,CAAuB;IACrC,gBAAgB,CAAuB;IACvC,eAAe,CAAuB;IAEtC,YACE,KAAc,EACd,EAAU,EACV,MAA0C;QAE1C,KAAK,CAAC,IAAI,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC;IACtB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,UAAU;YACjC,KAAK,CAAC,QAAQ;YACd,IAAI,CAAC,EAAE;YACP,IAAI,CAAC,KAAK,CAAC,SAAS;YACpB,IAAI,CAAC,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE;YACrC,IAAI,CAAC,gBAAgB,EAAE,QAAQ,EAAE,IAAI,EAAE;YACvC,IAAI,CAAC,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE;SACvC,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts
CHANGED
@@ -13,8 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import type { Diagram } from './DSLDiagram_Diagram';
|
17
|
-
import type { ClassView } from './DSLDiagram_ClassView';
|
16
|
+
import type { Diagram } from './DSLDiagram_Diagram.js';
|
17
|
+
import type { ClassView } from './DSLDiagram_ClassView.js';
|
18
18
|
import { PackageableElementExplicitReference, ReferenceWithOwner, type PackageableElementImplicitReference, type PackageableElementReference } from '@finos/legend-graph';
|
19
19
|
export declare abstract class ClassViewReference extends ReferenceWithOwner {
|
20
20
|
readonly ownerReference: PackageableElementReference<Diagram>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_ClassViewReference.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_ClassViewReference.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,mCAAmC,EACnC,kBAAkB,EAClB,KAAK,mCAAmC,EACxC,KAAK,2BAA2B,EACjC,MAAM,qBAAqB,CAAC;AAE7B,8BAAsB,kBAAmB,SAAQ,kBAAkB;IACjE,SAAkB,cAAc,EAAE,2BAA2B,CAAC,OAAO,CAAC,CAAC;IACvE,KAAK,EAAE,SAAS,CAAC;IAEjB,SAAS,aACP,cAAc,EAAE,2BAA2B,CAAC,OAAO,CAAC,EACpD,KAAK,EAAE,SAAS;CAMnB;AAED,qBAAa,0BAA2B,SAAQ,kBAAkB;IAChE,SAAkB,cAAc,EAAE,mCAAmC,CAAC,OAAO,CAAC,CAAC;IAE/E,OAAO;IAQP,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,SAAS,GAAG,0BAA0B;CAG5D;AAED,qBAAa,0BAA2B,SAAQ,kBAAkB;IAChE,SAAkB,cAAc,EAAE,mCAAmC,CAAC,OAAO,CAAC,CAAC;IAE/E,OAAO;IAQP,MAAM,CAAC,MAAM,CACX,cAAc,EAAE,mCAAmC,CAAC,OAAO,CAAC,EAC5D,KAAK,EAAE,SAAS,GACf,0BAA0B;CAG9B"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js
CHANGED
@@ -26,7 +26,7 @@ export class ClassViewReference extends ReferenceWithOwner {
|
|
26
26
|
export class ClassViewExplicitReference extends ClassViewReference {
|
27
27
|
ownerReference;
|
28
28
|
constructor(value) {
|
29
|
-
const ownerReference = PackageableElementExplicitReference.create(value.
|
29
|
+
const ownerReference = PackageableElementExplicitReference.create(value._OWNER);
|
30
30
|
super(ownerReference, value);
|
31
31
|
this.ownerReference = ownerReference;
|
32
32
|
}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_ClassViewReference.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,mCAAmC,EACnC,kBAAkB,GAGnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAgB,kBAAmB,SAAQ,kBAAkB;IAC/C,cAAc,CAAuC;IACvE,KAAK,CAAY;IAEjB,YACE,cAAoD,EACpD,KAAgB;QAEhB,KAAK,CAAC,cAAc,CAAC,CAAC;QACtB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAED,MAAM,OAAO,0BAA2B,SAAQ,kBAAkB;IAC9C,cAAc,CAA+C;IAE/E,YAAoB,KAAgB;QAClC,MAAM,cAAc,GAAG,mCAAmC,CAAC,MAAM,CAC/D,KAAK,CAAC,
|
1
|
+
{"version":3,"file":"DSLDiagram_ClassViewReference.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,mCAAmC,EACnC,kBAAkB,GAGnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAgB,kBAAmB,SAAQ,kBAAkB;IAC/C,cAAc,CAAuC;IACvE,KAAK,CAAY;IAEjB,YACE,cAAoD,EACpD,KAAgB;QAEhB,KAAK,CAAC,cAAc,CAAC,CAAC;QACtB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAED,MAAM,OAAO,0BAA2B,SAAQ,kBAAkB;IAC9C,cAAc,CAA+C;IAE/E,YAAoB,KAAgB;QAClC,MAAM,cAAc,GAAG,mCAAmC,CAAC,MAAM,CAC/D,KAAK,CAAC,MAAM,CACb,CAAC;QACF,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,KAAgB;QAC5B,OAAO,IAAI,0BAA0B,CAAC,KAAK,CAAC,CAAC;IAC/C,CAAC;CACF;AAED,MAAM,OAAO,0BAA2B,SAAQ,kBAAkB;IAC9C,cAAc,CAA+C;IAE/E,YACE,cAA4D,EAC5D,KAAgB;QAEhB,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;QAC7B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACvC,CAAC;IAED,MAAM,CAAC,MAAM,CACX,cAA4D,EAC5D,KAAgB;QAEhB,OAAO,IAAI,0BAA0B,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IAC/D,CAAC;CACF"}
|
@@ -14,10 +14,10 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import type { ClassView } from './DSLDiagram_ClassView';
|
18
|
-
import type { PropertyView } from './DSLDiagram_PropertyView';
|
19
|
-
import type { GeneralizationView } from './DSLDiagram_GeneralizationView';
|
20
|
-
import type { AssociationView } from './DSLDiagram_AssociationView';
|
17
|
+
import type { ClassView } from './DSLDiagram_ClassView.js';
|
18
|
+
import type { PropertyView } from './DSLDiagram_PropertyView.js';
|
19
|
+
import type { GeneralizationView } from './DSLDiagram_GeneralizationView.js';
|
20
|
+
import type { AssociationView } from './DSLDiagram_AssociationView.js';
|
21
21
|
import { type PackageableElementVisitor, PackageableElement } from '@finos/legend-graph';
|
22
22
|
export declare class Diagram extends PackageableElement implements Hashable {
|
23
23
|
classViews: ClassView[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_Diagram.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_Diagram.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EACL,KAAK,yBAAyB,EAC9B,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAG7B,qBAAa,OAAQ,SAAQ,kBAAmB,YAAW,QAAQ;IACjE,UAAU,EAAE,SAAS,EAAE,CAAM;IAC7B,gBAAgB,EAAE,eAAe,EAAE,CAAM;IACzC,mBAAmB,EAAE,kBAAkB,EAAE,CAAM;IAC/C,aAAa,EAAE,YAAY,EAAE,CAAM;IAEnC,cAAuB,gBAAgB,IAAI,MAAM,CAShD;IAED,gCAAgC,CAAC,CAAC,EAChC,OAAO,EAAE,yBAAyB,CAAC,CAAC,CAAC,GACpC,CAAC;CAGL"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
17
|
import { PackageableElement, } from '@finos/legend-graph';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class Diagram extends PackageableElement {
|
20
20
|
classViews = [];
|
21
21
|
associationViews = [];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_Diagram.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAKhE,OAAO,EAEL,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_Diagram.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAKhE,OAAO,EAEL,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,MAAM,OAAO,OAAQ,SAAQ,kBAAkB;IAC7C,UAAU,GAAgB,EAAE,CAAC;IAC7B,gBAAgB,GAAsB,EAAE,CAAC;IACzC,mBAAmB,GAAyB,EAAE,CAAC;IAC/C,aAAa,GAAmB,EAAE,CAAC;IAEnC,IAAuB,gBAAgB;QACrC,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,OAAO;YAC9B,IAAI,CAAC,IAAI;YACT,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC;YAC1B,0BAA0B;YAC1B,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC;YACnC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;IAED,gCAAgC,CAC9B,OAAqC;QAErC,OAAO,OAAO,CAAC,wBAAwB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { RelationshipView } from './DSLDiagram_RelationshipView';
|
17
|
+
import { RelationshipView } from './DSLDiagram_RelationshipView.js';
|
18
18
|
export declare class GeneralizationView extends RelationshipView implements Hashable {
|
19
19
|
get hashCode(): string;
|
20
20
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_GeneralizationView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM
|
1
|
+
{"version":3,"file":"DSLDiagram_GeneralizationView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGpE,qBAAa,kBAAmB,SAAQ,gBAAiB,YAAW,QAAQ;IAC1E,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { RelationshipView } from './DSLDiagram_RelationshipView';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { RelationshipView } from './DSLDiagram_RelationshipView.js';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class GeneralizationView extends RelationshipView {
|
20
20
|
get hashCode() {
|
21
21
|
return hashArray([
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_GeneralizationView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM
|
1
|
+
{"version":3,"file":"DSLDiagram_GeneralizationView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,MAAM,OAAO,kBAAmB,SAAQ,gBAAgB;IACtD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,mBAAmB;YAC1C,KAAK,CAAC,QAAQ;SACf,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts
CHANGED
@@ -14,9 +14,9 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { RelationshipView } from './DSLDiagram_RelationshipView';
|
18
|
-
import type { ClassView } from './DSLDiagram_ClassView';
|
19
|
-
import type { Diagram } from './DSLDiagram_Diagram';
|
17
|
+
import { RelationshipView } from './DSLDiagram_RelationshipView.js';
|
18
|
+
import type { ClassView } from './DSLDiagram_ClassView.js';
|
19
|
+
import type { Diagram } from './DSLDiagram_Diagram.js';
|
20
20
|
import type { PropertyReference } from '@finos/legend-graph';
|
21
21
|
export declare class PropertyHolderView extends RelationshipView implements Hashable {
|
22
22
|
property: PropertyReference;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_PropertyHolderView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM
|
1
|
+
{"version":3,"file":"DSLDiagram_PropertyHolderView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAG7D,qBAAa,kBAAmB,SAAQ,gBAAiB,YAAW,QAAQ;IAC1E,QAAQ,EAAE,iBAAiB,CAAC;gBAG1B,KAAK,EAAE,OAAO,EACd,QAAQ,EAAE,iBAAiB,EAC3B,IAAI,EAAE,SAAS,EACf,EAAE,EAAE,SAAS;IAMf,IAAa,QAAQ,IAAI,MAAM,CAM9B;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { RelationshipView } from './DSLDiagram_RelationshipView';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { RelationshipView } from './DSLDiagram_RelationshipView.js';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class PropertyHolderView extends RelationshipView {
|
20
20
|
property;
|
21
21
|
constructor(owner, property, from, to) {
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_PropertyHolderView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM
|
1
|
+
{"version":3,"file":"DSLDiagram_PropertyHolderView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAIpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,MAAM,OAAO,kBAAmB,SAAQ,gBAAgB;IACtD,QAAQ,CAAoB;IAE5B,YACE,KAAc,EACd,QAA2B,EAC3B,IAAe,EACf,EAAa;QAEb,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;QACvB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,oBAAoB;YAC3C,KAAK,CAAC,QAAQ;YACd,IAAI,CAAC,QAAQ,CAAC,eAAe;SAC9B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
|
17
|
+
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView.js';
|
18
18
|
export declare class PropertyView extends PropertyHolderView implements Hashable {
|
19
19
|
get hashCode(): string;
|
20
20
|
}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_PropertyView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_PropertyView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAGxE,qBAAa,YAAa,SAAQ,kBAAmB,YAAW,QAAQ;IACtE,IAAa,QAAQ,IAAI,MAAM,CAE9B;CACF"}
|
@@ -14,8 +14,8 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
|
18
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { PropertyHolderView } from './DSLDiagram_PropertyHolderView.js';
|
18
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
|
19
19
|
export class PropertyView extends PropertyHolderView {
|
20
20
|
get hashCode() {
|
21
21
|
return hashArray([DIAGRAM_HASH_STRUCTURE.PROPERTY_VIEW, super.hashCode]);
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_PropertyView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"DSLDiagram_PropertyView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,MAAM,OAAO,YAAa,SAAQ,kBAAkB;IAClD,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC,CAAC,sBAAsB,CAAC,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3E,CAAC;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts
CHANGED
@@ -14,14 +14,14 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { type Hashable } from '@finos/legend-shared';
|
17
|
-
import {
|
18
|
-
import { Point } from './geometry/DSLDiagram_Point';
|
19
|
-
import type { ClassView } from './DSLDiagram_ClassView';
|
20
|
-
import type { Diagram } from './DSLDiagram_Diagram';
|
17
|
+
import { RelationshipViewEnd } from './DSLDiagram_RelationshipViewEnd.js';
|
18
|
+
import { Point } from './geometry/DSLDiagram_Point.js';
|
19
|
+
import type { ClassView } from './DSLDiagram_ClassView.js';
|
20
|
+
import type { Diagram } from './DSLDiagram_Diagram.js';
|
21
21
|
export declare class RelationshipView implements Hashable {
|
22
|
-
|
23
|
-
from:
|
24
|
-
to:
|
22
|
+
readonly _OWNER: Diagram;
|
23
|
+
from: RelationshipViewEnd;
|
24
|
+
to: RelationshipViewEnd;
|
25
25
|
/**
|
26
26
|
* NOTE: Unlike in the protocol model, we don't store the end points in the path but only store the
|
27
27
|
* offsets of that point from the center of the end/start classviews. The main purpose here is to
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSLDiagram_RelationshipView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"DSLDiagram_RelationshipView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAIvD,qBAAa,gBAAiB,YAAW,QAAQ;IAC/C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAEzB,IAAI,EAAE,mBAAmB,CAAC;IAC1B,EAAE,EAAE,mBAAmB,CAAC;IACxB;;;;;;;;;OASG;IACH,IAAI,EAAE,KAAK,EAAE,CAAM;gBAEP,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS;IAU1D;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAoB3B;;;;;;OAMG;IACH,aAAa,CAAC,WAAW,UAAO,GAAG,KAAK,EAAE;IAU1C;;;OAGG;IACH,MAAM,CAAC,4BAA4B,SAC3B,KAAK,EAAE,QACP,SAAS,MACX,SAAS,KACZ,KAAK,EAAE,CA6BR;IAIF;;OAEG;IACH,IAAI,oBAAoB,IAAI,KAAK,EAAE,CAMlC;IAED,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js
CHANGED
@@ -14,12 +14,12 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { hashArray } from '@finos/legend-shared';
|
17
|
-
import {
|
18
|
-
import { Point } from './geometry/DSLDiagram_Point';
|
19
|
-
import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference';
|
20
|
-
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
|
17
|
+
import { RelationshipViewEnd } from './DSLDiagram_RelationshipViewEnd.js';
|
18
|
+
import { Point } from './geometry/DSLDiagram_Point.js';
|
19
|
+
import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference.js';
|
20
|
+
import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils.js';
|
21
21
|
export class RelationshipView {
|
22
|
-
|
22
|
+
_OWNER;
|
23
23
|
from;
|
24
24
|
to;
|
25
25
|
/**
|
@@ -34,27 +34,31 @@ export class RelationshipView {
|
|
34
34
|
*/
|
35
35
|
path = [];
|
36
36
|
constructor(owner, from, to) {
|
37
|
-
this.
|
38
|
-
this.from = new
|
39
|
-
this.to = new
|
37
|
+
this._OWNER = owner;
|
38
|
+
this.from = new RelationshipViewEnd(ClassViewExplicitReference.create(from));
|
39
|
+
this.to = new RelationshipViewEnd(ClassViewExplicitReference.create(to));
|
40
40
|
}
|
41
|
+
// TODO: to be simplified out of metamodel
|
42
|
+
// we will move these when we move hashing out of metamodel
|
41
43
|
/**
|
42
44
|
* Calculate the end points of the edge using offset, otherwise, use the center
|
43
45
|
*/
|
44
46
|
computeEdgeEndpoint(edgeView, allowChange = true) {
|
45
47
|
const box = edgeView.classView.value;
|
46
48
|
const center = edgeView.classView.value.center();
|
47
|
-
const newX = center.x + (edgeView.
|
48
|
-
const newY = center.y + (edgeView.
|
49
|
+
const newX = center.x + (edgeView._offsetX ?? 0);
|
50
|
+
const newY = center.y + (edgeView._offsetY ?? 0);
|
49
51
|
if (box.contains(newX, newY)) {
|
50
52
|
return new Point(newX, newY);
|
51
53
|
}
|
52
54
|
if (allowChange) {
|
53
|
-
edgeView.
|
54
|
-
edgeView.
|
55
|
+
edgeView._offsetX = 0;
|
56
|
+
edgeView._offsetY = 0;
|
55
57
|
}
|
56
58
|
return new Point(center.x, center.y);
|
57
59
|
}
|
60
|
+
// TODO: to be simplified out of metamodel
|
61
|
+
// we will move these when we move hashing out of metamodel
|
58
62
|
/**
|
59
63
|
* Compute the full path for the relationship view (including the ends even if these
|
60
64
|
* ends lie inside of the classviews)
|
@@ -69,6 +73,8 @@ export class RelationshipView {
|
|
69
73
|
this.computeEdgeEndpoint(this.to, allowChange),
|
70
74
|
];
|
71
75
|
}
|
76
|
+
// TODO: to be simplified out of metamodel
|
77
|
+
// we will move these when we move hashing out of metamodel
|
72
78
|
/**
|
73
79
|
* For a path, only keep **at most** 1 point at each end that lies inside the class view.
|
74
80
|
* If there is no inside points, none of kept, so the path only contains outside points.
|
@@ -95,6 +101,8 @@ export class RelationshipView {
|
|
95
101
|
// NOTE: slice upper bound is exclusive, hence the +2 instead of +1
|
96
102
|
return path.slice(start - 1, end + 2);
|
97
103
|
};
|
104
|
+
// TODO: to be simplified out of metamodel
|
105
|
+
// we will move these when we move hashing out of metamodel
|
98
106
|
/**
|
99
107
|
* This method will compute the full path from the offset within class view for serialization and persistence purpose
|
100
108
|
*/
|