@finos/legend-extension-dsl-diagram 2.0.3 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. package/lib/DSLDiagram_Extension.d.ts +0 -2
  2. package/lib/DSLDiagram_Extension.d.ts.map +1 -1
  3. package/lib/DSLDiagram_Extension.js +8 -9
  4. package/lib/DSLDiagram_Extension.js.map +1 -1
  5. package/lib/DiagramRenderer.d.ts +8 -8
  6. package/lib/DiagramRenderer.d.ts.map +1 -1
  7. package/lib/DiagramRenderer.js +26 -30
  8. package/lib/DiagramRenderer.js.map +1 -1
  9. package/lib/components/studio/ClassDiagramPreview.js +2 -2
  10. package/lib/components/studio/ClassDiagramPreview.js.map +1 -1
  11. package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.d.ts +4 -14
  12. package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.d.ts.map +1 -1
  13. package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.js +8 -6
  14. package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.js.map +1 -1
  15. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.d.ts.map +1 -1
  16. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js +10 -10
  17. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +1 -1
  18. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts +3 -3
  19. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts.map +1 -1
  20. package/lib/components/studio/DSLDiagram_TestID.js +1 -1
  21. package/lib/components/studio/DSLDiagram_TestID.js.map +1 -1
  22. package/lib/components/studio/DiagramEditor.js +5 -5
  23. package/lib/components/studio/DiagramEditor.js.map +1 -1
  24. package/lib/components/studio/InheritanceDiagramRenderer.d.ts +1 -1
  25. package/lib/components/studio/InheritanceDiagramRenderer.d.ts.map +1 -1
  26. package/lib/components/studio/InheritanceDiagramRenderer.js +3 -3
  27. package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
  28. package/lib/graph/DSLDiagram_PureGraphPlugin.js +2 -2
  29. package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +1 -1
  30. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts +1 -1
  31. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts.map +1 -1
  32. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js +1 -1
  33. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js.map +1 -1
  34. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js +2 -2
  35. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
  36. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts +9 -9
  37. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts.map +1 -1
  38. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js +1 -1
  39. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js.map +1 -1
  40. package/lib/helpers/{DiagramHelper.d.ts → DSLDiagram_Helper.d.ts} +28 -6
  41. package/lib/helpers/DSLDiagram_Helper.d.ts.map +1 -0
  42. package/lib/helpers/{DiagramHelper.js → DSLDiagram_Helper.js} +56 -9
  43. package/lib/helpers/{DiagramHelper.js.map → DSLDiagram_Helper.js.map} +1 -1
  44. package/lib/index.css +1 -1
  45. package/lib/index.d.ts +18 -18
  46. package/lib/index.d.ts.map +1 -1
  47. package/lib/index.js +18 -18
  48. package/lib/index.js.map +1 -1
  49. package/lib/models/DSLDiagram_ModelUtils.js +1 -1
  50. package/lib/models/DSLDiagram_ModelUtils.js.map +1 -1
  51. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts +3 -3
  52. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +1 -1
  53. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js +2 -2
  54. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +1 -1
  55. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts +2 -2
  56. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +1 -1
  57. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js +4 -4
  58. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +1 -1
  59. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts +2 -2
  60. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +1 -1
  61. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts +4 -4
  62. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +1 -1
  63. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js +1 -1
  64. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +1 -1
  65. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts +1 -1
  66. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +1 -1
  67. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js +2 -2
  68. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +1 -1
  69. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts +3 -3
  70. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +1 -1
  71. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js +2 -2
  72. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +1 -1
  73. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts +1 -1
  74. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +1 -1
  75. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js +2 -2
  76. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +1 -1
  77. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts +4 -4
  78. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts.map +1 -1
  79. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js +3 -3
  80. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js.map +1 -1
  81. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts +4 -4
  82. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +1 -1
  83. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js +16 -8
  84. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -1
  85. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts +0 -2
  86. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +1 -1
  87. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js +1 -7
  88. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +1 -1
  89. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts +3 -9
  90. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +1 -1
  91. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js +11 -22
  92. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +1 -1
  93. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js +1 -1
  94. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +1 -1
  95. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js +6 -6
  96. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -1
  97. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts +1 -1
  98. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +1 -1
  99. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js +2 -2
  100. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +1 -1
  101. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts +3 -3
  102. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +1 -1
  103. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js +1 -1
  104. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +1 -1
  105. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts +2 -2
  106. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +1 -1
  107. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js +2 -2
  108. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +1 -1
  109. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts +1 -1
  110. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +1 -1
  111. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js +2 -2
  112. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +1 -1
  113. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts +1 -1
  114. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +1 -1
  115. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js +2 -2
  116. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +1 -1
  117. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts +1 -1
  118. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +1 -1
  119. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js +1 -1
  120. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +1 -1
  121. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts +1 -1
  122. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +1 -1
  123. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js +1 -1
  124. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +1 -1
  125. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts +2 -2
  126. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +1 -1
  127. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js +1 -1
  128. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +1 -1
  129. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js +1 -1
  130. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +1 -1
  131. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts +7 -7
  132. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +1 -1
  133. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js +7 -7
  134. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +1 -1
  135. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts +2 -2
  136. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +1 -1
  137. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js +7 -7
  138. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +1 -1
  139. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts +1 -1
  140. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +1 -1
  141. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js +7 -7
  142. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +1 -1
  143. package/lib/package.json +10 -9
  144. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts +10 -10
  145. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts.map +1 -1
  146. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js +8 -8
  147. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js.map +1 -1
  148. package/lib/stores/studio/DiagramEditorState.d.ts +4 -4
  149. package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
  150. package/lib/stores/studio/DiagramEditorState.js +3 -3
  151. package/lib/stores/studio/DiagramEditorState.js.map +1 -1
  152. package/package.json +17 -16
  153. package/src/DSLDiagram_Extension.ts +8 -11
  154. package/src/DiagramRenderer.ts +39 -36
  155. package/src/components/studio/ClassDiagramPreview.tsx +2 -2
  156. package/src/components/studio/DSLDiagram_LegendStudioDocumentation.ts +13 -6
  157. package/src/components/studio/DSLDiagram_LegendStudioPlugin.tsx +14 -13
  158. package/src/components/studio/DSLDiagram_LegendStudioPlugin_Extension.tsx +2 -2
  159. package/src/components/studio/DiagramEditor.tsx +6 -6
  160. package/src/components/studio/InheritanceDiagramRenderer.ts +3 -3
  161. package/src/graph/DSLDiagram_PureGraphPlugin.ts +2 -2
  162. package/src/graphManager/DSLDiagram_GraphManagerHelper.ts +1 -1
  163. package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +2 -2
  164. package/src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts +10 -10
  165. package/src/helpers/{DiagramHelper.ts → DSLDiagram_Helper.ts} +102 -11
  166. package/src/index.ts +21 -18
  167. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts +4 -4
  168. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.ts +5 -5
  169. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts +2 -2
  170. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.ts +5 -5
  171. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts +2 -2
  172. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts +4 -4
  173. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts +2 -2
  174. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts +5 -4
  175. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts +18 -10
  176. package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts +1 -9
  177. package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts +12 -42
  178. package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts +1 -1
  179. package/src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +6 -6
  180. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts +2 -2
  181. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts +4 -4
  182. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts +3 -3
  183. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts +2 -2
  184. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts +2 -2
  185. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts +2 -2
  186. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.ts +1 -1
  187. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.ts +1 -1
  188. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.ts +3 -3
  189. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.ts +1 -1
  190. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts +13 -13
  191. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts +12 -12
  192. package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts +7 -7
  193. package/src/stores/studio/DSLDiagram_GraphModifierHelper.ts +20 -18
  194. package/src/stores/studio/DiagramEditorState.ts +5 -5
  195. package/tsconfig.json +4 -10
  196. package/tsconfig.package.json +1 -4
  197. package/lib/helpers/DiagramHelper.d.ts.map +0 -1
  198. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts +0 -26
  199. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts.map +0 -1
  200. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js +0 -37
  201. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js.map +0 -1
  202. package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.ts +0 -44
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/DiagramHelper';
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,wBAAwB,CAAC;AACvC,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAClG,cAAc,6DAA6D,CAAC;AAE5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,yEAAyE,CAAC;AAClG,OAAO,EAAE,SAAS,EAAE,MAAM,2EAA2E,CAAC;AACtG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kFAAkF,CAAC;AACpH,OAAO,EAAE,kBAAkB,EAAE,MAAM,oFAAoF,CAAC;AACxH,OAAO,EAAE,YAAY,EAAE,MAAM,8EAA8E,CAAC;AAC5G,OAAO,EAAE,eAAe,EAAE,MAAM,iFAAiF,CAAC;AAClH,OAAO,EAAE,kBAAkB,EAAE,MAAM,oFAAoF,CAAC;AACxH,OAAO,EAAE,KAAK,EAAE,MAAM,gFAAgF,CAAC;AACvG,OAAO,EAAE,SAAS,EAAE,MAAM,oFAAoF,CAAC;AAC/G,OAAO,EAAE,mBAAmB,EAAE,MAAM,8FAA8F,CAAC;AAEnI,cAAc,yBAAyB,CAAC;AACxC,cAAc,8CAA8C,CAAC;AAC7D,OAAO,EAAE,2CAA2C,EAAE,MAAM,gEAAgE,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/DiagramHelper';
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,wBAAwB,CAAC;AACvC,OAAO,EAAE,6BAA6B,EAAE,MAAM,mDAAmD,CAAC;AAClG,cAAc,6DAA6D,CAAC;AAE5E,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAO,EAAE,eAAe,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,yEAAyE,CAAC;AAClG,OAAO,EAAE,SAAS,EAAE,MAAM,2EAA2E,CAAC;AACtG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kFAAkF,CAAC;AACpH,OAAO,EAAE,kBAAkB,EAAE,MAAM,oFAAoF,CAAC;AACxH,OAAO,EAAE,YAAY,EAAE,MAAM,8EAA8E,CAAC;AAC5G,OAAO,EAAE,eAAe,EAAE,MAAM,iFAAiF,CAAC;AAClH,OAAO,EAAE,kBAAkB,EAAE,MAAM,oFAAoF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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"}
@@ -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>;
@@ -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,iCAAiC,CAAC;AACrE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,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"}
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"}
@@ -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) {
@@ -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,iCAAiC,CAAC;AAGrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAO3E,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"}
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,8 +14,8 @@
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;
@@ -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,2CAA2C,CAAC;AAGhF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEpD,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"}
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,10 +14,10 @@
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;
@@ -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,2CAA2C,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAG3E,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"}
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"}
@@ -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,sBAAsB,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,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"}
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"}
@@ -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,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,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"}
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,mCAAmC,CAAC;AAE3E,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"}
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"}
@@ -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,+BAA+B,CAAC;AAGjE,qBAAa,kBAAmB,SAAQ,gBAAiB,YAAW,QAAQ;IAC1E,IAAa,QAAQ,IAAI,MAAM,CAK9B;CACF"}
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"}
@@ -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([
@@ -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,+BAA+B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,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"}
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"}
@@ -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,+BAA+B,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,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"}
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"}
@@ -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) {
@@ -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,+BAA+B,CAAC;AAIjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,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"}
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
  }
@@ -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,iCAAiC,CAAC;AAGrE,qBAAa,YAAa,SAAQ,kBAAmB,YAAW,QAAQ;IACtE,IAAa,QAAQ,IAAI,MAAM,CAE9B;CACF"}
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]);
@@ -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,iCAAiC,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,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"}
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"}
@@ -13,16 +13,16 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { ClassViewReference } from './DSLDiagram_ClassViewReference';
16
+ import type { ClassViewReference } from './DSLDiagram_ClassViewReference.js';
17
17
  export declare class RelationshipEdgeView {
18
- classView: ClassViewReference;
19
18
  /**
20
19
  * Offsets from the center of the class view.
21
20
  *
22
21
  * These offsets can be used to compute the end points of relationship views.
23
22
  */
24
- offsetX?: number | undefined;
25
- offsetY?: number | undefined;
23
+ _offsetX?: number | undefined;
24
+ _offsetY?: number | undefined;
25
+ classView: ClassViewReference;
26
26
  constructor(classView: ClassViewReference);
27
27
  }
28
28
  //# sourceMappingURL=DSLDiagram_RelationshipEdgeView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_RelationshipEdgeView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAE1E,qBAAa,oBAAoB;IAC/B,SAAS,EAAE,kBAAkB,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAEjB,SAAS,EAAE,kBAAkB;CAG1C"}
1
+ {"version":3,"file":"DSLDiagram_RelationshipEdgeView.d.ts","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAE7E,qBAAa,oBAAoB;IAC/B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAE9B,SAAS,EAAE,kBAAkB,CAAC;gBAElB,SAAS,EAAE,kBAAkB;CAG1C"}
@@ -14,14 +14,14 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  export class RelationshipEdgeView {
17
- classView;
18
17
  /**
19
18
  * Offsets from the center of the class view.
20
19
  *
21
20
  * These offsets can be used to compute the end points of relationship views.
22
21
  */
23
- offsetX;
24
- offsetY;
22
+ _offsetX;
23
+ _offsetY;
24
+ classView;
25
25
  constructor(classView) {
26
26
  this.classView = classView;
27
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_RelationshipEdgeView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,OAAO,oBAAoB;IAC/B,SAAS,CAAqB;IAC9B;;;;OAIG;IACH,OAAO,CAAsB;IAC7B,OAAO,CAAsB;IAE7B,YAAY,SAA6B;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;CACF"}
1
+ {"version":3,"file":"DSLDiagram_RelationshipEdgeView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,MAAM,OAAO,oBAAoB;IAC/B;;;;OAIG;IACH,QAAQ,CAAsB;IAC9B,QAAQ,CAAsB;IAE9B,SAAS,CAAqB;IAE9B,YAAY,SAA6B;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,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 { RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView';
18
- import { Point } from './geometry/DSLDiagram_Point';
19
- import type { ClassView } from './DSLDiagram_ClassView';
20
- import type { Diagram } from './DSLDiagram_Diagram';
17
+ import { RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView.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
22
  readonly _OWNER: Diagram;
23
23
  from: RelationshipEdgeView;
@@ -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,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAIpD,qBAAa,gBAAiB,YAAW,QAAQ;IAC/C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAEzB,IAAI,EAAE,oBAAoB,CAAC;IAC3B,EAAE,EAAE,oBAAoB,CAAC;IACzB;;;;;;;;;OASG;IACH,IAAI,EAAE,KAAK,EAAE,CAAM;gBAEP,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS;IAQ1D;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAkB3B;;;;;;OAMG;IACH,aAAa,CAAC,WAAW,UAAO,GAAG,KAAK,EAAE;IAQ1C;;;OAGG;IACH,MAAM,CAAC,4BAA4B,SAC3B,KAAK,EAAE,QACP,SAAS,MACX,SAAS,KACZ,KAAK,EAAE,CA6BR;IAEF;;OAEG;IACH,IAAI,oBAAoB,IAAI,KAAK,EAAE,CAMlC;IAED,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
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,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,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,oBAAoB,CAAC;IAC3B,EAAE,EAAE,oBAAoB,CAAC;IACzB;;;;;;;;;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"}
@@ -14,10 +14,10 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { hashArray } from '@finos/legend-shared';
17
- import { RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView';
18
- import { Point } from './geometry/DSLDiagram_Point';
19
- import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference';
20
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
17
+ import { RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView.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;
@@ -38,23 +38,27 @@ export class RelationshipView {
38
38
  this.from = new RelationshipEdgeView(ClassViewExplicitReference.create(from));
39
39
  this.to = new RelationshipEdgeView(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.offsetX ?? 0);
48
- const newY = center.y + (edgeView.offsetY ?? 0);
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.offsetX = 0;
54
- edgeView.offsetY = 0;
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
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_RelationshipView.js","sourceRoot":"","sources":["../../../../../../src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AAGpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E,MAAM,OAAO,gBAAgB;IAClB,MAAM,CAAU;IAEzB,IAAI,CAAuB;IAC3B,EAAE,CAAuB;IACzB;;;;;;;;;OASG;IACH,IAAI,GAAY,EAAE,CAAC;IAEnB,YAAY,KAAc,EAAE,IAAe,EAAE,EAAa;QACxD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,IAAI,CAAC,IAAI,GAAG,IAAI,oBAAoB,CAClC,0BAA0B,CAAC,MAAM,CAAC,IAAI,CAAC,CACxC,CAAC;QACF,IAAI,CAAC,EAAE,GAAG,IAAI,oBAAoB,CAAC,0BAA0B,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;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QAC1B,IAAI,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAU,CAAC;QAElC,OAAO,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE;YACrD,GAAG,EAAE,CAAC;YACN,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAU,CAAC;SAC/B;QAED,mEAAmE;QACnE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,CAAC,CAAC;IACxC,CAAC,CAAC;IAEF,0CAA0C;IAC1C,2DAA2D;IAC3D;;OAEG;IACH,IAAI,oBAAoB;QACtB,OAAO,gBAAgB,CAAC,4BAA4B,CAClD,IAAI,CAAC,aAAa,EAAE,EACpB,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EACzB,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,CACxB,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,iBAAiB;YACxC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAC5B,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE;YAC1B,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC;SACrC,CAAC,CAAC;IACL,CAAC"}
@@ -18,8 +18,6 @@ export declare class Point implements Hashable {
18
18
  readonly x: number;
19
19
  readonly y: number;
20
20
  constructor(x: number, y: number);
21
- rotateX(angle: number): number;
22
- rotateY(angle: number): number;
23
21
  get hashCode(): string;
24
22
  }
25
23
  //# sourceMappingURL=DSLDiagram_Point.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_Point.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,KAAM,YAAW,QAAQ;IACpC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;gBAEP,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAKhC,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAI9B,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAI9B,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
1
+ {"version":3,"file":"DSLDiagram_Point.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,KAAM,YAAW,QAAQ;IACpC,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,EAAE,MAAM,CAAC;gBAEP,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM;IAKhC,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { hashArray } from '@finos/legend-shared';
17
- import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils';
17
+ import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils.js';
18
18
  export class Point {
19
19
  x;
20
20
  y;
@@ -22,12 +22,6 @@ export class Point {
22
22
  this.x = x;
23
23
  this.y = y;
24
24
  }
25
- rotateX(angle) {
26
- return this.x * Math.cos(angle) - this.y * Math.sin(angle);
27
- }
28
- rotateY(angle) {
29
- return this.x * Math.sin(angle) + this.y * Math.cos(angle);
30
- }
31
25
  get hashCode() {
32
26
  return hashArray([
33
27
  DIAGRAM_HASH_STRUCTURE.POINT,