@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.
Files changed (208) 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 +42 -44
  8. package/lib/DiagramRenderer.js.map +1 -1
  9. package/lib/components/studio/ClassDiagramPreview.d.ts +1 -1
  10. package/lib/components/studio/ClassDiagramPreview.js +2 -2
  11. package/lib/components/studio/ClassDiagramPreview.js.map +1 -1
  12. package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.d.ts +4 -14
  13. package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.d.ts.map +1 -1
  14. package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.js +8 -6
  15. package/lib/components/studio/DSLDiagram_LegendStudioDocumentation.js.map +1 -1
  16. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.d.ts.map +1 -1
  17. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js +10 -10
  18. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +1 -1
  19. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts +3 -3
  20. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts.map +1 -1
  21. package/lib/components/studio/DSLDiagram_TestID.js +1 -1
  22. package/lib/components/studio/DSLDiagram_TestID.js.map +1 -1
  23. package/lib/components/studio/DiagramEditor.d.ts +1 -1
  24. package/lib/components/studio/DiagramEditor.js +5 -5
  25. package/lib/components/studio/DiagramEditor.js.map +1 -1
  26. package/lib/components/studio/InheritanceDiagramRenderer.d.ts +1 -1
  27. package/lib/components/studio/InheritanceDiagramRenderer.d.ts.map +1 -1
  28. package/lib/components/studio/InheritanceDiagramRenderer.js +3 -3
  29. package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
  30. package/lib/graph/DSLDiagram_PureGraphPlugin.js +2 -2
  31. package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +1 -1
  32. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts +1 -1
  33. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts.map +1 -1
  34. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js +1 -1
  35. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js.map +1 -1
  36. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js +2 -2
  37. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
  38. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts +10 -10
  39. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.d.ts.map +1 -1
  40. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js +1 -1
  41. package/lib/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js.map +1 -1
  42. package/lib/helpers/{DiagramHelper.d.ts → DSLDiagram_Helper.d.ts} +28 -6
  43. package/lib/helpers/DSLDiagram_Helper.d.ts.map +1 -0
  44. package/lib/helpers/{DiagramHelper.js → DSLDiagram_Helper.js} +56 -9
  45. package/lib/helpers/{DiagramHelper.js.map → DSLDiagram_Helper.js.map} +1 -1
  46. package/lib/index.css +1 -1
  47. package/lib/index.d.ts +18 -18
  48. package/lib/index.d.ts.map +1 -1
  49. package/lib/index.js +18 -18
  50. package/lib/index.js.map +1 -1
  51. package/lib/models/DSLDiagram_ModelUtils.js +1 -1
  52. package/lib/models/DSLDiagram_ModelUtils.js.map +1 -1
  53. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts +3 -3
  54. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +1 -1
  55. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js +2 -2
  56. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +1 -1
  57. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts +3 -3
  58. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +1 -1
  59. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js +6 -6
  60. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +1 -1
  61. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts +2 -2
  62. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +1 -1
  63. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js +1 -1
  64. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +1 -1
  65. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts +4 -4
  66. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +1 -1
  67. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js +1 -1
  68. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +1 -1
  69. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts +1 -1
  70. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +1 -1
  71. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js +2 -2
  72. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +1 -1
  73. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts +3 -3
  74. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +1 -1
  75. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js +2 -2
  76. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +1 -1
  77. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts +1 -1
  78. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +1 -1
  79. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js +2 -2
  80. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +1 -1
  81. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts +7 -7
  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 +20 -12
  84. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -1
  85. package/lib/models/metamodels/pure/packageableElements/diagram/{DSLDiagram_RelationshipEdgeView.d.ts → DSLDiagram_RelationshipViewEnd.d.ts} +6 -6
  86. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.d.ts.map +1 -0
  87. package/lib/models/metamodels/pure/packageableElements/diagram/{DSLDiagram_RelationshipEdgeView.js → DSLDiagram_RelationshipViewEnd.js} +5 -5
  88. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js.map +1 -0
  89. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts +0 -2
  90. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +1 -1
  91. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js +1 -7
  92. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +1 -1
  93. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts +3 -9
  94. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +1 -1
  95. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js +11 -22
  96. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +1 -1
  97. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js +1 -1
  98. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +1 -1
  99. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js +6 -6
  100. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -1
  101. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts +1 -1
  102. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +1 -1
  103. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js +2 -2
  104. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +1 -1
  105. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts +3 -3
  106. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +1 -1
  107. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js +1 -1
  108. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +1 -1
  109. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts +2 -2
  110. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +1 -1
  111. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js +2 -2
  112. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +1 -1
  113. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts +1 -1
  114. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +1 -1
  115. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js +2 -2
  116. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +1 -1
  117. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts +1 -1
  118. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +1 -1
  119. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js +2 -2
  120. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +1 -1
  121. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts +1 -1
  122. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +1 -1
  123. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js +1 -1
  124. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +1 -1
  125. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts +1 -1
  126. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +1 -1
  127. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js +1 -1
  128. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +1 -1
  129. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts +2 -2
  130. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +1 -1
  131. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js +1 -1
  132. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +1 -1
  133. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js +1 -1
  134. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +1 -1
  135. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts +7 -7
  136. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +1 -1
  137. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js +8 -8
  138. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +1 -1
  139. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts +2 -2
  140. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +1 -1
  141. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js +7 -7
  142. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +1 -1
  143. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts +1 -1
  144. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +1 -1
  145. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js +7 -7
  146. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +1 -1
  147. package/lib/package.json +15 -14
  148. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts +12 -12
  149. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.d.ts.map +1 -1
  150. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js +8 -8
  151. package/lib/stores/studio/DSLDiagram_GraphModifierHelper.js.map +1 -1
  152. package/lib/stores/studio/DiagramEditorState.d.ts +5 -5
  153. package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
  154. package/lib/stores/studio/DiagramEditorState.js +6 -6
  155. package/lib/stores/studio/DiagramEditorState.js.map +1 -1
  156. package/package.json +22 -21
  157. package/src/DSLDiagram_Extension.ts +8 -11
  158. package/src/DiagramRenderer.ts +64 -53
  159. package/src/components/studio/ClassDiagramPreview.tsx +2 -2
  160. package/src/components/studio/DSLDiagram_LegendStudioDocumentation.ts +13 -6
  161. package/src/components/studio/DSLDiagram_LegendStudioPlugin.tsx +14 -13
  162. package/src/components/studio/DSLDiagram_LegendStudioPlugin_Extension.tsx +2 -2
  163. package/src/components/studio/DiagramEditor.tsx +6 -6
  164. package/src/components/studio/InheritanceDiagramRenderer.ts +3 -3
  165. package/src/graph/DSLDiagram_PureGraphPlugin.ts +2 -2
  166. package/src/graphManager/DSLDiagram_GraphManagerHelper.ts +1 -1
  167. package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +2 -2
  168. package/src/graphManager/action/changeDetection/DSLDiagram_ObserverHelper.ts +11 -11
  169. package/src/helpers/{DiagramHelper.ts → DSLDiagram_Helper.ts} +102 -11
  170. package/src/index.ts +21 -18
  171. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.ts +4 -4
  172. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.ts +8 -7
  173. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.ts +3 -3
  174. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.ts +5 -5
  175. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.ts +2 -2
  176. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.ts +4 -4
  177. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.ts +2 -2
  178. package/src/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.ts +26 -17
  179. package/src/models/metamodels/pure/packageableElements/diagram/{DSLDiagram_RelationshipEdgeView.ts → DSLDiagram_RelationshipViewEnd.ts} +6 -5
  180. package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.ts +1 -9
  181. package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.ts +12 -42
  182. package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.ts +1 -1
  183. package/src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +6 -6
  184. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.ts +2 -2
  185. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.ts +4 -4
  186. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.ts +3 -3
  187. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.ts +2 -2
  188. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.ts +2 -2
  189. package/src/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.ts +2 -2
  190. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.ts +1 -1
  191. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.ts +1 -1
  192. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.ts +3 -3
  193. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.ts +1 -1
  194. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts +14 -14
  195. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts +13 -13
  196. package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts +7 -7
  197. package/src/stores/studio/DSLDiagram_GraphModifierHelper.ts +22 -20
  198. package/src/stores/studio/DiagramEditorState.ts +9 -9
  199. package/tsconfig.json +5 -11
  200. package/tsconfig.package.json +1 -4
  201. package/lib/helpers/DiagramHelper.d.ts.map +0 -1
  202. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts.map +0 -1
  203. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js.map +0 -1
  204. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts +0 -26
  205. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts.map +0 -1
  206. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js +0 -37
  207. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js.map +0 -1
  208. package/src/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.ts +0 -44
@@ -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 V1_Rectangle {
19
19
  width;
20
20
  height;
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSLDiagram_Rectangle.js","sourceRoot":"","sources":["../../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4CAA4C,CAAC;AAEpF,MAAM,OAAO,YAAY;IACvB,KAAK,CAAU;IACf,MAAM,CAAU;IAEhB,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,SAAS;YAChC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;YACrB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"V1_DSLDiagram_Rectangle.js","sourceRoot":"","sources":["../../../../../../../../../src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAiB,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+CAA+C,CAAC;AAEvF,MAAM,OAAO,YAAY;IACvB,KAAK,CAAU;IACf,MAAM,CAAU;IAEhB,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,sBAAsB,CAAC,SAAS;YAChC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;YACrB,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE;SACvB,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -14,13 +14,13 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { PackageableElementImplicitReference, V1_GraphBuilderContext } from '@finos/legend-graph';
17
- import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
18
- import { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
19
- import { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
20
- import { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
21
- import type { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView';
22
- import type { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView';
23
- import type { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView';
17
+ import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
18
+ import { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
19
+ import { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
20
+ import { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
21
+ import type { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView.js';
22
+ import type { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js';
23
+ import type { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js';
24
24
  export declare const V1_buildClassView: (classView: V1_ClassView, context: V1_GraphBuilderContext, diagram: Diagram) => ClassView;
25
25
  export declare const V1_buildPropertyView: (propertyView: V1_PropertyView, context: V1_GraphBuilderContext, diagram: Diagram) => PropertyView;
26
26
  export declare const V1_buildGeneralizationView: (generalizationView: V1_GeneralizationView, diagram: Diagram) => GeneralizationView;
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSLDiagram_GraphBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,mCAAmC,EACnC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+EAA+E,CAAC;AAC7G,OAAO,EAAE,SAAS,EAAE,MAAM,iFAAiF,CAAC;AAG5G,OAAO,EAAE,YAAY,EAAE,MAAM,oFAAoF,CAAC;AAClH,OAAO,EAAE,kBAAkB,EAAE,MAAM,0FAA0F,CAAC;AAC9H,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iEAAiE,CAAC;AAGpG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAC;AAC1G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0EAA0E,CAAC;AAwBtH,eAAO,MAAM,iBAAiB,cACjB,YAAY,WACd,sBAAsB,WACtB,OAAO,KACf,SA4BF,CAAC;AAEF,eAAO,MAAM,oBAAoB,iBACjB,eAAe,WACpB,sBAAsB,WACtB,OAAO,KACf,YAwBF,CAAC;AAEF,eAAO,MAAM,0BAA0B,uBACjB,qBAAqB,WAChC,OAAO,KACf,kBAqBF,CAAC;AAEF,eAAO,MAAM,iBAAiB,SACtB,MAAM,WACH,sBAAsB,KAC9B,oCAAoC,OAAO,CAG3C,CAAC"}
1
+ {"version":3,"file":"V1_DSLDiagram_GraphBuilderHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,mCAAmC,EACnC,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAChH,OAAO,EAAE,SAAS,EAAE,MAAM,oFAAoF,CAAC;AAG/G,OAAO,EAAE,YAAY,EAAE,MAAM,uFAAuF,CAAC;AACrH,OAAO,EAAE,kBAAkB,EAAE,MAAM,6FAA6F,CAAC;AACjI,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oEAAoE,CAAC;AAGvG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uEAAuE,CAAC;AAC7G,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6EAA6E,CAAC;AAwBzH,eAAO,MAAM,iBAAiB,cACjB,YAAY,WACd,sBAAsB,WACtB,OAAO,KACf,SA4BF,CAAC;AAEF,eAAO,MAAM,oBAAoB,iBACjB,eAAe,WACpB,sBAAsB,WACtB,OAAO,KACf,YAwBF,CAAC;AAEF,eAAO,MAAM,0BAA0B,uBACjB,qBAAqB,WAChC,OAAO,KACf,kBAqBF,CAAC;AAEF,eAAO,MAAM,iBAAiB,SACtB,MAAM,WACH,sBAAsB,KAC9B,oCAAoC,OAAO,CAG3C,CAAC"}
@@ -13,14 +13,14 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { getDiagram } from '../../../../../../graphManager/DSLDiagram_GraphManagerHelper';
16
+ import { getDiagram } from '../../../../../../graphManager/DSLDiagram_GraphManagerHelper.js';
17
17
  import { assertNonEmptyString, assertNonNullable, guaranteeNonNullable, } from '@finos/legend-shared';
18
- import { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
19
- import { Point } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
20
- import { Rectangle } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
21
- import { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
22
- import { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
23
- import { getClassView, _relationshipView_simplifyPath, } from '../../../../../../helpers/DiagramHelper';
18
+ import { ClassView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
19
+ import { Point } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
20
+ import { Rectangle } from '../../../../../metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
21
+ import { PropertyView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
22
+ import { GeneralizationView } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
23
+ import { getClassView, _relationshipView_simplifyPath, } from '../../../../../../helpers/DSLDiagram_Helper.js';
24
24
  const buildPoint = (point) => {
25
25
  const x = guaranteeNonNullable(point.x, `Point 'x' coordinate is missing`);
26
26
  const y = guaranteeNonNullable(point.y, `Point 'y' coordinate is missing`);
@@ -49,7 +49,7 @@ export const V1_buildPropertyView = (propertyView, context, diagram) => {
49
49
  assertNonNullable(propertyView.line, `Property view 'line' field is missing`);
50
50
  const sourceClassView = guaranteeNonNullable(getClassView(diagram, guaranteeNonNullable(propertyView.sourceView)), `Property view 'sourceView' field is missing`);
51
51
  const targetClassView = guaranteeNonNullable(getClassView(diagram, guaranteeNonNullable(propertyView.targetView)), `Property view 'targetView' field is missing`);
52
- const property = context.resolveOwnedProperty(propertyView.property);
52
+ const property = context.resolveOwnProperty(propertyView.property);
53
53
  const view = new PropertyView(diagram, property, sourceClassView, targetClassView);
54
54
  view.path = propertyView.line.points.map((point) => buildPoint(point));
55
55
  _relationshipView_simplifyPath(view); // transform the line because we store only 2 end points that are inside points and we will calculate the offset
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSLDiagram_GraphBuilderHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAC;AAK1F,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,iF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AC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IACvE,8BAA8B,CAAC,IAAI,CAAC,CAAC,CAAC,gHAAgH;IACtJ,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,kBAAyC,EACzC,OAAgB,EACI,EAAE;IACtB,iBAAiB,CACf,kBAAkB,CAAC,IAAI,EACvB,6CAA6C,CAC9C,CAAC;IACF,MAAM,eAAe,GAAG,oBAAoB,CAC1C,YAAY,CAAC,OAAO,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,EAC1E,mDAAmD,CACpD,CAAC;IACF,MAAM,eAAe,GAAG,oBAAoB,CAC1C,YAAY,CAAC,OAAO,EAAE,oBAAoB,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,EAC1E,mDAAmD,CACpD,CAAC;IACF,MAAM,IAAI,GAAG,IAAI,kBAAkB,CACjC,OAAO,EACP,eAAe,EACf,eAAe,CAChB,CAAC;IACF,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;IAC7E,8BAA8B,CAAC,IAAI,CAAC,CAAC,CAAC,gHAAgH;IACtJ,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,IAAY,EACZ,OAA+B,EACe,EAAE,CAChD,OAAO,CAAC,yCAAyC,CAAC,IAAI,EAAE,CAAC,KAAa,EAAE,EAAE,CACxE,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CACjC,CAAC"}
1
+ {"version":3,"file":"V1_DSLDiagram_GraphBuilderHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphB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C,IAAI,EAAE,CAAC,KAAa,EAAE,EAAE,CACxE,UAAU,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CACjC,CAAC"}
@@ -13,7 +13,7 @@
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 '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
17
- import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram';
16
+ import type { Diagram } from '../../../../../metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
17
+ import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram.js';
18
18
  export declare const V1_transformDiagram: (element: Diagram) => V1_Diagram;
19
19
  //# sourceMappingURL=V1_DSLDiagram_TransformerHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSLDiagram_TransformerHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,+EAA+E,CAAC;AAM7G,OAAO,EAAE,UAAU,EAAE,MAAM,+DAA+D,CAAC;AAkE3F,eAAO,MAAM,mBAAmB,YAAa,OAAO,KAAG,UAStD,CAAC"}
1
+ {"version":3,"file":"V1_DSLDiagram_TransformerHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kFAAkF,CAAC;AAMhH,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAC;AAkE9F,eAAO,MAAM,mBAAmB,YAAa,OAAO,KAAG,UAStD,CAAC"}
@@ -13,13 +13,13 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point';
17
- import { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView';
18
- import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram';
19
- import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView';
20
- import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Line';
21
- import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle';
22
- import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView';
16
+ import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js';
17
+ import { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView.js';
18
+ import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram.js';
19
+ import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js';
20
+ import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js';
21
+ import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js';
22
+ import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js';
23
23
  import { V1_initPackageableElement, V1_transformElementReference, V1_transformPropertyReference, } from '@finos/legend-graph';
24
24
  const relationshipEdgeViewTransformer = (value) => value.classView.value.id;
25
25
  const createRectangle = (height, width) => {
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSLDiagram_TransformerHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAE,QAAQ,EAAE,MAAM,sEAAsE,CAAC;AACh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,UAAU,CAAC,SAAS,GAAG,eAAe,CACpC,OAAO,CAAC,SAAS,CAAC,MAAM,EACxB,OAAO,CAAC,SAAS,CAAC,KAAK,CACxB,CAAC;IACF,OAAO,UAAU,CAAC;AACpB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,OAAgB,EAAc,EAAE;IAClE,MAAM,OAAO,GAAG,IAAI,UAAU,EAAE,CAAC;IACjC,yBAAyB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC5C,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;IAChE,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,GAAG,CAC3D,uBAAuB,CACxB,CAAC;IACF,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACzE,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
1
+ {"version":3,"file":"V1_DSLDiagram_TransformerHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAE,QAAQ,EAAE,MAAM,yEAAyE,CAAC;AACnG,OAAO,EAAE,YAAY,EAAE,MAAM,oEAAoE,CAAC;AAClG,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAC;AAC9F,OAAO,EAAE,qBAAqB,EAAE,MAAM,6EAA6E,CAAC;AACpH,OAAO,EAAE,OAAO,EAAE,MAAM,wEAAwE,CAAC;AACjG,OAAO,EAAE,YAAY,EAAE,MAAM,6EAA6E,CAAC;AAC3G,OAAO,EAAE,eAAe,EAAE,MAAM,uEAAuE,CAAC;AACxG,OAAO,EACL,yBAAyB,EACzB,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,qBAAqB,CA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,kBAAkB,CAAC,CAAC;IAChE,OAAO,CAAC,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,GAAG,CAC3D,uBAAuB,CACxB,CAAC;IACF,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACzE,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
@@ -13,7 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram';
16
+ import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram.js';
17
17
  export declare const V1_DIAGRAM_ELEMENT_PROTOCOL_TYPE = "diagram";
18
18
  export declare const V1_diagramModelSchema: import("serializr").ModelSchema<V1_Diagram>;
19
19
  //# sourceMappingURL=V1_DSLDiagram_ProtocolHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSLDiagram_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAAE,UAAU,EAAE,MAAM,+DAA+D,CAAC;AAQ3F,eAAO,MAAM,gCAAgC,YAAY,CAAC;AAuC1D,eAAO,MAAM,qBAAqB,6CAOhC,CAAC"}
1
+ {"version":3,"file":"V1_DSLDiagram_ProtocolHelper.d.ts","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAC;AAQ9F,eAAO,MAAM,gCAAgC,YAAY,CAAC;AAuC1D,eAAO,MAAM,qBAAqB,6CAOhC,CAAC"}
@@ -15,13 +15,13 @@
15
15
  */
16
16
  import { createModelSchema, list, optional, primitive } from 'serializr';
17
17
  import { usingConstantValueSchema, usingModelSchema, } from '@finos/legend-shared';
18
- import { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView';
19
- import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram';
20
- import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point';
21
- import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle';
22
- import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Line';
23
- import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView';
24
- import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView';
18
+ import { V1_ClassView } from '../../model/packageableElements/diagram/V1_DSLDiagram_ClassView.js';
19
+ import { V1_Diagram } from '../../model/packageableElements/diagram/V1_DSLDiagram_Diagram.js';
20
+ import { V1_Point } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js';
21
+ import { V1_Rectangle } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js';
22
+ import { V1_Line } from '../../model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js';
23
+ import { V1_PropertyView } from '../../model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js';
24
+ import { V1_GeneralizationView } from '../../model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js';
25
25
  import { V1_propertyPointerModelSchema } from '@finos/legend-graph';
26
26
  export const V1_DIAGRAM_ELEMENT_PROTOCOL_TYPE = 'diagram';
27
27
  const pointModelSchema = createModelSchema(V1_Point, {
@@ -1 +1 @@
1
- {"version":3,"file":"V1_DSLDiagram_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;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,QAAQ,CAAC,SAAS,EAAE,CAAC;IACvC,EAAE,EAAE,SAAS,EAAE;IACf,QAAQ,EAAE,gBAAgB,CAAC,gBAAgB,CAAC;IAC5C,SAAS,EAAE,gBAAgB,CAAC,qBAAqB,CAAC;CACnD,CAAC,CAAC;AAEH,MAAM,uBAAuB,GAAG,iBAAiB,CAAC,eAAe,EAAE;IACjE,IAAI,EAAE,gBAAgB,CAAC,eAAe,CAAC;IACvC,QAAQ,EAAE,gBAAgB,CAAC,6BAA6B,CAAC;IACzD,UAAU,EAAE,SAAS,EAAE;IACvB,UAAU,EAAE,SAAS,EAAE;CACxB,CAAC,CAAC;AAEH,MAAM,6BAA6B,GAAG,iBAAiB,CAAC,qBAAqB,EAAE;IAC7E,IAAI,EAAE,gBAAgB,CAAC,eAAe,CAAC;IACvC,UAAU,EAAE,SAAS,EAAE;IACvB,UAAU,EAAE,SAAS,EAAE;CACxB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,iBAAiB,CAAC,UAAU,EAAE;IACjE,KAAK,EAAE,wBAAwB,CAAC,gCAAgC,CAAC;IACjE,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IACxD,mBAAmB,EAAE,IAAI,CAAC,gBAAgB,CAAC,6BAA6B,CAAC,CAAC;IAC1E,IAAI,EAAE,SAAS,EAAE;IACjB,OAAO,EAAE,SAAS,EAAE;IACpB,aAAa,EAAE,IAAI,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAC;CAC/D,CAAC,CAAC"}
1
+ {"version":3,"file":"V1_DSLDiagram_ProtocolHelper.js","sourceRoot":"","sources":["../../../../../../../src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACzE,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C;IAC5C,SAAS,EAAE,gBAAgB,CAAC,qBAAqB,CAAC;CACnD,CAAC,CAAC;AAEH,MAAM,uBAAuB,GAAG,iBAAiB,CAAC,eAAe,EAAE;IACjE,IAAI,EAAE,gBAAgB,CAAC,eAAe,CAAC;IACvC,QAAQ,EAAE,gBAAgB,CAAC,6BAA6B,CAAC;IACzD,UAAU,EAAE,SAAS,EAAE;IACvB,UAAU,EAAE,SAAS,EAAE;CACxB,CAAC,CAAC;AAEH,MAAM,6BAA6B,GAAG,iBAAiB,CAAC,qBAAqB,EAAE;IAC7E,IAAI,EAAE,gBAAgB,CAAC,eAAe,CAAC;IACvC,UAAU,EAAE,SAAS,EAAE;IACvB,UAAU,EAAE,SAAS,EAAE;CACxB,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,iBAAiB,CAAC,UAAU,EAAE;IACjE,KAAK,EAAE,wBAAwB,CAAC,gCAAgC,CAAC;IACjE,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;IACxD,mBAAmB,EAAE,IAAI,CAAC,gBAAgB,CAAC,6BAA6B,CAAC,CAAC;IAC1E,IAAI,EAAE,SAAS,EAAE;IACjB,OAAO,EAAE,SAAS,EAAE;IACpB,aAAa,EAAE,IAAI,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAC;CAC/D,CAAC,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "2.0.2",
3
+ "version": "4.0.0",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -49,29 +49,30 @@
49
49
  "@finos/legend-model-storage": "workspace:*",
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-studio": "workspace:*",
52
- "@types/react": "17.0.44",
53
- "mobx": "6.5.0",
54
- "mobx-react-lite": "3.3.0",
55
- "react": "17.0.2",
56
- "react-dnd": "15.1.2",
57
- "react-dom": "17.0.2",
58
- "react-resize-detector": "7.0.0",
52
+ "@types/react": "18.0.14",
53
+ "mobx": "6.6.0",
54
+ "mobx-react-lite": "3.4.0",
55
+ "react": "18.2.0",
56
+ "react-dnd": "16.0.1",
57
+ "react-dom": "18.2.0",
58
+ "react-resize-detector": "7.1.2",
59
59
  "serializr": "2.0.5"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@finos/legend-dev-utils": "workspace:*",
63
- "@testing-library/react": "12.1.5",
63
+ "@jest/globals": "28.1.1",
64
+ "@testing-library/react": "13.3.0",
64
65
  "cross-env": "7.0.3",
65
- "eslint": "8.14.0",
66
- "jest": "28.0.3",
66
+ "eslint": "8.18.0",
67
+ "jest": "28.1.1",
67
68
  "jest-canvas-mock": "2.4.0",
68
69
  "npm-run-all": "4.1.5",
69
70
  "rimraf": "3.0.2",
70
- "sass": "1.51.0",
71
- "typescript": "4.6.4"
71
+ "sass": "1.52.3",
72
+ "typescript": "4.7.4"
72
73
  },
73
74
  "peerDependencies": {
74
- "react": "^17.0.0"
75
+ "react": "^18.0.0"
75
76
  },
76
77
  "publishConfig": {
77
78
  "directory": "build/publishContent"
@@ -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 { AssociationView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView';
17
- import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
18
- import type { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
19
- import type { GeneralizationView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
20
- import type { PropertyView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
21
- import type { RelationshipEdgeView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView';
22
- import type { RelationshipView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView';
23
- import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
24
- import type { PositionedRectangle } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle';
25
- import type { Rectangle } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
16
+ import type { AssociationView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js';
17
+ import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
18
+ import type { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
19
+ import type { GeneralizationView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js';
20
+ import type { PropertyView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js';
21
+ import type { RelationshipViewEnd } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipViewEnd.js';
22
+ import type { RelationshipView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js';
23
+ import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
24
+ import type { PositionedRectangle } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js';
25
+ import type { Rectangle } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js';
26
26
  export declare const diagram_setClassViews: (diagram: Diagram, val: ClassView[]) => void;
27
27
  export declare const diagram_addClassView: (diagram: Diagram, val: ClassView) => void;
28
28
  export declare const diagram_deleteClassView: (diagram: Diagram, val: ClassView) => void;
@@ -37,8 +37,8 @@ export declare const diagram_deletePropertyView: (diagram: Diagram, val: Propert
37
37
  export declare const classView_setHideProperties: (cv: ClassView, val: boolean) => void;
38
38
  export declare const classView_setHideStereotypes: (cv: ClassView, val: boolean) => void;
39
39
  export declare const classView_setHideTaggedValues: (cv: ClassView, val: boolean) => void;
40
- export declare const relationshipEdgeView_setOffsetX: (r: RelationshipEdgeView, val: number) => void;
41
- export declare const relationshipEdgeView_setOffsetY: (r: RelationshipEdgeView, val: number) => void;
40
+ export declare const relationshipEdgeView_setOffsetX: (r: RelationshipViewEnd, val: number) => void;
41
+ export declare const relationshipEdgeView_setOffsetY: (r: RelationshipViewEnd, val: number) => void;
42
42
  export declare const relationshipView_changePoint: (v: RelationshipView, val: Point, newVal: Point) => void;
43
43
  export declare const relationshipView_simplifyPath: (relationshipView: RelationshipView) => void;
44
44
  export declare const findOrBuildPoint: (relationshipView: RelationshipView, x: number, y: number, zoom: number, allowChange: boolean) => Point | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_GraphModifierHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DSLDiagram_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qFAAqF,CAAC;AAC3H,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+EAA+E,CAAC;AAC/G,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6EAA6E,CAAC;AAC3G,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wFAAwF,CAAC;AAMjI,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kFAAkF,CAAC;AACrH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0FAA0F,CAAC;AACrI,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sFAAsF,CAAC;AAC7H,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oFAAoF,CAAC;AAChH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kGAAkG,CAAC;AAC5I,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wFAAwF,CAAC;AAQxH,eAAO,MAAM,qBAAqB,YACtB,OAAO,OAAO,SAAS,EAAE,KAAG,IAGvC,CAAC;AACF,eAA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IAG1C,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oCAAoC,OAC1C,mBAAmB,KAAG,IAG5B,CAAC"}
@@ -15,8 +15,8 @@
15
15
  */
16
16
  import { addUniqueEntry, changeEntry, deleteEntry } from '@finos/legend-shared';
17
17
  import { action } from 'mobx';
18
- import { _findOrBuildPoint, _relationshipView_simplifyPath, _relationshipView_setPath, } from '../../helpers/DiagramHelper';
19
- import { observe_AssociationView, observe_ClassView, observe_GeneralizationView, observe_PropertyView, } from '../../graphManager/action/changeDetection/DSLDiagram_ObserverHelper';
18
+ import { _findOrBuildPoint, _relationshipView_simplifyPath, _relationshipView_setPath, } from '../../helpers/DSLDiagram_Helper.js';
19
+ import { observe_AssociationView, observe_ClassView, observe_GeneralizationView, observe_PropertyView, } from '../../graphManager/action/changeDetection/DSLDiagram_ObserverHelper.js';
20
20
  export const diagram_setClassViews = action((diagram, val) => {
21
21
  diagram.classViews = val.map(observe_ClassView);
22
22
  });
@@ -60,23 +60,23 @@ export const classView_setHideTaggedValues = action((cv, val) => {
60
60
  cv.hideTaggedValues = val;
61
61
  });
62
62
  export const relationshipEdgeView_setOffsetX = action((r, val) => {
63
- r.offsetX = val;
63
+ r._offsetX = val;
64
64
  });
65
65
  export const relationshipEdgeView_setOffsetY = action((r, val) => {
66
- r.offsetY = val;
66
+ r._offsetY = val;
67
67
  });
68
- // To optimize performance we will not observe point (path)
68
+ // NOTE: To optimize performance, for now, we will not observe point (path)
69
69
  export const relationshipView_changePoint = action((v, val, newVal) => {
70
70
  changeEntry(v.path, val, newVal);
71
71
  });
72
72
  export const relationshipView_simplifyPath = action(_relationshipView_simplifyPath);
73
73
  export const findOrBuildPoint = action(_findOrBuildPoint);
74
74
  export const relationshipView_setPath = action(_relationshipView_setPath);
75
- // To optimize performance we will not observe rectangle
75
+ // NOTE: To optimize performance, for now, we will not observe rectangle
76
76
  export const positionedRectangle_setRectangle = action((pR, value) => {
77
77
  pR.rectangle = value;
78
78
  });
79
- // To optimize performance we will not observe point (path)
79
+ // NOTE: To optimize performance, for now, we will not observe point (path)
80
80
  export const positionedRectangle_setPosition = action((pR, value) => {
81
81
  pR.position = value;
82
82
  });
@@ -89,6 +89,6 @@ export const positionedRectangle_setPosition = action((pR, value) => {
89
89
  * for the whole diagram instead?
90
90
  */
91
91
  export const positionedRectangle_forceRefreshHash = action((pR) => {
92
- pR.dummyObservable = {};
92
+ pR._dummyObservable = {};
93
93
  });
94
94
  //# sourceMappingURL=DSLDiagram_GraphModifierHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_GraphModifierHelper.js","sourceRoot":"","sources":["../../../src/stores/studio/DSLDiagram_GraphModifierHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAK9B,OAAO,EACL,iBAAiB,EACjB,8BAA8B,EAC9B,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AAOrC,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,qEAAqE,CAAC;AAE7E,MAAM,CAAC,MAAM,qBAAqB,GAAG,MAAM,CACzC,CAAC,OAAgB,EAAE,GAAgB,EAAQ,EAAE;IAC3C,OAAO,CAAC,UAAU,GAAG,GAAG,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;AAClD,CAAC,CACF,CAAC;AACF,MAAM,CAAC,MAAM,oBAAoB,GAAG,MAAM,CACxC,CAAC,OAAgB,EAAE,GAAc,EAAQ,EAAE;IACzC,cAAc,CAAC,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;AAC7D,CAAC,CACF,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAC3C,CAAC,OAAgB,EAAE,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,EAAuB,EAAQ,EAAE;IAChC,EAAE,CAAC,gBAAgB,GAAG,EAAE,CAAC;AAC3B,CAAC,CACF,CAAC"}
@@ -13,15 +13,15 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type DiagramRenderer } from '../../DiagramRenderer';
16
+ import { type DiagramRenderer } from '../../DiagramRenderer.js';
17
17
  import { PanelDisplayState } from '@finos/legend-art';
18
18
  import { type PackageableElement, type AbstractProperty, type PropertyReference } from '@finos/legend-graph';
19
19
  import { type EditorStore, ClassEditorState, ElementEditorState } from '@finos/legend-studio';
20
- import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
21
- import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
22
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
20
+ import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
21
+ import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
22
+ import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
23
23
  export declare abstract class DiagramEditorSidePanelState {
24
- uuid: string;
24
+ readonly uuid: string;
25
25
  editorStore: EditorStore;
26
26
  diagramEditorState: DiagramEditorState;
27
27
  constructor(editorStore: EditorStore, diagramEditorState: DiagramEditorState);
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditorState.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DiagramEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAuB,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EAOvB,MAAM,qBAAqB,CA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AO,CAE1C;IAMD,IAAI,kBAAkB,IAAI,MAAM,CAqE/B;IAED,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,IAAI;IAIvC,uBAAuB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI3C,iBAAiB,CAAC,GAAG,EAAE,2BAA2B,GAAG,SAAS,GAAG,IAAI;IAIrE,4BAA4B,CAC1B,GAAG,EAAE,sCAAsC,GAAG,SAAS,GACtD,IAAI;IAIP,0BAA0B,CACxB,GAAG,EAAE,oCAAoC,GAAG,SAAS,GACpD,IAAI;IAIP,0BAA0B,CACxB,GAAG,EAAE,oCAAoC,GAAG,SAAS,GACpD,IAAI;IAIP,kBAAkB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAItC,uBAAuB,CAAC,GAAG,EAAE,SAAS,GAAG,SAAS,GAAG,IAAI;IAIzD,gBAAgB,IAAI,IAAI;IAIxB,aAAa,IAAI,IAAI;IAiIrB,OAAO,IAAI,IAAI;IAIf,OAAO,CAAC,yBAAyB,CAuBrB;IAEZ,SAAS,CACP,UAAU,EAAE,kBAAkB,EAC9B,WAAW,EAAE,WAAW,GACvB,kBAAkB;CAItB"}
@@ -15,11 +15,11 @@
15
15
  */
16
16
  import { computed, action, makeObservable, observable } from 'mobx';
17
17
  import { guaranteeNonNullable, guaranteeType, isType, uuid, } from '@finos/legend-shared';
18
- import { DIAGRAM_INTERACTION_MODE, } from '../../DiagramRenderer';
18
+ import { DIAGRAM_INTERACTION_MODE, } from '../../DiagramRenderer.js';
19
19
  import { HotkeyConfiguration, PanelDisplayState } from '@finos/legend-art';
20
20
  import { GenericTypeExplicitReference, PRIMITIVE_TYPE, TYPICAL_MULTIPLICITY_TYPE, Property, GenericType, PropertyExplicitReference, } from '@finos/legend-graph';
21
21
  import { ClassEditorState, ElementEditorState, class_addProperty, } from '@finos/legend-studio';
22
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
22
+ import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
23
23
  var DIAGRAM_EDITOR_HOTKEY;
24
24
  (function (DIAGRAM_EDITOR_HOTKEY) {
25
25
  DIAGRAM_EDITOR_HOTKEY["RECENTER"] = "RECENTER";
@@ -54,7 +54,7 @@ export var DIAGRAM_EDITOR_SIDE_PANEL_TAB;
54
54
  (function (DIAGRAM_EDITOR_SIDE_PANEL_TAB) {
55
55
  DIAGRAM_EDITOR_SIDE_PANEL_TAB["ELEMENT"] = "ELEMENT";
56
56
  DIAGRAM_EDITOR_SIDE_PANEL_TAB["VIEW"] = "VIEW";
57
- })(DIAGRAM_EDITOR_SIDE_PANEL_TAB || (DIAGRAM_EDITOR_SIDE_PANEL_TAB = {}));
57
+ })(DIAGRAM_EDITOR_SIDE_PANEL_TAB = DIAGRAM_EDITOR_SIDE_PANEL_TAB || (DIAGRAM_EDITOR_SIDE_PANEL_TAB = {}));
58
58
  export class DiagramEditorClassViewEditorSidePanelState extends DiagramEditorSidePanelState {
59
59
  classEditorState;
60
60
  classView;
@@ -197,14 +197,14 @@ export class DiagramEditorState extends ElementEditorState {
197
197
  }
198
198
  else if (this.renderer.mouseOverClassProperty) {
199
199
  return this.isReadOnly ||
200
- this.editorStore.graphManagerState.isElementReadOnly(this.renderer.mouseOverClassProperty.owner)
200
+ this.editorStore.graphManagerState.isElementReadOnly(this.renderer.mouseOverClassProperty._OWNER)
201
201
  ? 'diagram-editor__cursor--not-allowed'
202
202
  : 'diagram-editor__cursor--text';
203
203
  }
204
204
  else if (this.renderer.mouseOverPropertyHolderViewLabel) {
205
205
  return this.isReadOnly ||
206
206
  this.editorStore.graphManagerState.isElementReadOnly(this.renderer.mouseOverPropertyHolderViewLabel.property.value
207
- .owner)
207
+ ._OWNER)
208
208
  ? 'diagram-editor__cursor--not-allowed'
209
209
  : 'diagram-editor__cursor--text';
210
210
  }
@@ -277,7 +277,7 @@ export class DiagramEditorState extends ElementEditorState {
277
277
  };
278
278
  const editProperty = (property, point, propertyHolderView) => {
279
279
  if (!this.isReadOnly &&
280
- !this.editorStore.graphManagerState.isElementReadOnly(property.owner)) {
280
+ !this.editorStore.graphManagerState.isElementReadOnly(property._OWNER)) {
281
281
  this.setInlinePropertyEditorState(new DiagramEditorInlinePropertyEditorState(this, property, point, Boolean(propertyHolderView)));
282
282
  }
283
283
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditorState.js","sourceRoot":"","sources":["../../../src/stores/studio/DiagramEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,oBAAoB,EACpB,aAAa,EACb,MAAM,EACN,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAIL,4BAA4B,EAC5B,cAAc,EACd,yBAAyB,EACzB,QAAQ,EACR,WAAW,EACX,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,OAAO,EAAE,MAAM,6EAA6E,CAAC;AAGtG,IAAK,qBASJ;AATD,WAAK,qBAAqB;IACxB,8CAAqB,CAAA;IACrB,wDAA+B,CAAA;IAC/B,wDAA+B,CAAA;IAC/B,sDAA6B,CAAA;IAC7B,gEAAuC,CAAA;IACvC,sEAA6C,CAAA;IAC7C,gDAAuB,CAAA;IACvB,0DAAiC,CAAA;AACnC,CAAC,EATI,qBAAqB,KAArB,qBAAqB,QASzB;AAED,MAAM,yBAAyB,GAAG,MAAM,CAAC,MAAM,CAAC;IAC9C,CAAC,qBAAqB,CAAC,QAAQ,CAA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