@finos/legend-extension-dsl-diagram 1.0.17 → 1.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (229) hide show
  1. package/lib/DiagramRenderer.d.ts +8 -8
  2. package/lib/DiagramRenderer.d.ts.map +1 -1
  3. package/lib/DiagramRenderer.js +9 -10
  4. package/lib/DiagramRenderer.js.map +1 -1
  5. package/lib/components/studio/ClassDiagramPreview.js +1 -1
  6. package/lib/components/studio/ClassDiagramPreview.js.map +1 -1
  7. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js +3 -3
  8. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +1 -1
  9. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts +1 -1
  10. package/lib/components/studio/DSLDiagram_LegendStudioPlugin_Extension.d.ts.map +1 -1
  11. package/lib/components/studio/DiagramEditor.js +30 -30
  12. package/lib/components/studio/DiagramEditor.js.map +1 -1
  13. package/lib/components/studio/InheritanceDiagramRenderer.js +2 -2
  14. package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
  15. package/lib/graph/DSLDiagram_PureGraphPlugin.js +1 -1
  16. package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +1 -1
  17. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts +1 -1
  18. package/lib/graphManager/DSLDiagram_GraphManagerHelper.d.ts.map +1 -1
  19. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js +1 -1
  20. package/lib/graphManager/DSLDiagram_GraphManagerHelper.js.map +1 -1
  21. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js +1 -1
  22. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
  23. package/lib/helpers/DiagramHelper.d.ts +3 -3
  24. package/lib/helpers/DiagramHelper.d.ts.map +1 -1
  25. package/lib/helpers/DiagramHelper.js +1 -1
  26. package/lib/helpers/DiagramHelper.js.map +1 -1
  27. package/lib/index.css +1 -1
  28. package/lib/index.d.ts +10 -10
  29. package/lib/index.d.ts.map +1 -1
  30. package/lib/index.js +10 -10
  31. package/lib/index.js.map +1 -1
  32. package/lib/models/metamodels/pure/packageableElements/diagram/{AssociationView.d.ts → DSLDiagram_AssociationView.d.ts} +4 -4
  33. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.d.ts.map +1 -0
  34. package/lib/models/metamodels/pure/packageableElements/diagram/{AssociationView.js → DSLDiagram_AssociationView.js} +2 -2
  35. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView.js.map +1 -0
  36. package/lib/models/metamodels/pure/packageableElements/diagram/{ClassView.d.ts → DSLDiagram_ClassView.d.ts} +3 -3
  37. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.d.ts.map +1 -0
  38. package/lib/models/metamodels/pure/packageableElements/diagram/{ClassView.js → DSLDiagram_ClassView.js} +4 -4
  39. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView.js.map +1 -0
  40. package/lib/models/metamodels/pure/packageableElements/diagram/{ClassViewReference.d.ts → DSLDiagram_ClassViewReference.d.ts} +3 -3
  41. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.d.ts.map +1 -0
  42. package/lib/models/metamodels/pure/packageableElements/diagram/{ClassViewReference.js → DSLDiagram_ClassViewReference.js} +1 -1
  43. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassViewReference.js.map +1 -0
  44. package/lib/models/metamodels/pure/packageableElements/diagram/{Diagram.d.ts → DSLDiagram_Diagram.d.ts} +5 -5
  45. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.d.ts.map +1 -0
  46. package/lib/models/metamodels/pure/packageableElements/diagram/{Diagram.js → DSLDiagram_Diagram.js} +1 -1
  47. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram.js.map +1 -0
  48. package/lib/models/metamodels/pure/packageableElements/diagram/{GeneralizationView.d.ts → DSLDiagram_GeneralizationView.d.ts} +4 -4
  49. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.d.ts.map +1 -0
  50. package/lib/models/metamodels/pure/packageableElements/diagram/{GeneralizationView.js → DSLDiagram_GeneralizationView.js} +2 -2
  51. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView.js.map +1 -0
  52. package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyHolderView.d.ts → DSLDiagram_PropertyHolderView.d.ts} +4 -4
  53. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.d.ts.map +1 -0
  54. package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyHolderView.js → DSLDiagram_PropertyHolderView.js} +2 -2
  55. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView.js.map +1 -0
  56. package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyView.d.ts → DSLDiagram_PropertyView.d.ts} +4 -4
  57. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.d.ts.map +1 -0
  58. package/lib/models/metamodels/pure/packageableElements/diagram/{PropertyView.js → DSLDiagram_PropertyView.js} +2 -2
  59. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView.js.map +1 -0
  60. package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipEdgeView.d.ts → DSLDiagram_RelationshipEdgeView.d.ts} +2 -2
  61. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.d.ts.map +1 -0
  62. package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipEdgeView.js → DSLDiagram_RelationshipEdgeView.js} +1 -1
  63. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipEdgeView.js.map +1 -0
  64. package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipView.d.ts → DSLDiagram_RelationshipView.d.ts} +5 -5
  65. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.d.ts.map +1 -0
  66. package/lib/models/metamodels/pure/packageableElements/diagram/{RelationshipView.js → DSLDiagram_RelationshipView.js} +5 -5
  67. package/lib/models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView.js.map +1 -0
  68. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Point.d.ts → DSLDiagram_Point.d.ts} +1 -1
  69. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.d.ts.map +1 -0
  70. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Point.js → DSLDiagram_Point.js} +1 -1
  71. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js.map +1 -0
  72. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{PositionedRectangle.d.ts → DSLDiagram_PositionedRectangle.d.ts} +3 -3
  73. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.d.ts.map +1 -0
  74. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{PositionedRectangle.js → DSLDiagram_PositionedRectangle.js} +3 -3
  75. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle.js.map +1 -0
  76. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Rectangle.d.ts → DSLDiagram_Rectangle.d.ts} +1 -1
  77. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.d.ts.map +1 -0
  78. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Rectangle.js → DSLDiagram_Rectangle.js} +1 -1
  79. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle.js.map +1 -0
  80. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Vector.d.ts → DSLDiagram_Vector.d.ts} +2 -2
  81. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.d.ts.map +1 -0
  82. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/{Vector.js → DSLDiagram_Vector.js} +1 -1
  83. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Vector.js.map +1 -0
  84. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js +2 -2
  85. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -1
  86. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_ClassView.d.ts → V1_DSLDiagram_ClassView.d.ts} +2 -2
  87. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.d.ts.map +1 -0
  88. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_ClassView.js → V1_DSLDiagram_ClassView.js} +2 -2
  89. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_ClassView.js.map +1 -0
  90. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_Diagram.d.ts → V1_DSLDiagram_Diagram.d.ts} +4 -4
  91. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.d.ts.map +1 -0
  92. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_Diagram.js → V1_DSLDiagram_Diagram.js} +1 -1
  93. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_Diagram.js.map +1 -0
  94. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_GeneralizationView.d.ts → V1_DSLDiagram_GeneralizationView.d.ts} +3 -3
  95. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.d.ts.map +1 -0
  96. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_GeneralizationView.js → V1_DSLDiagram_GeneralizationView.js} +2 -2
  97. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_GeneralizationView.js.map +1 -0
  98. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyHolderView.d.ts → V1_DSLDiagram_PropertyHolderView.d.ts} +2 -2
  99. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.d.ts.map +1 -0
  100. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyHolderView.js → V1_DSLDiagram_PropertyHolderView.js} +2 -2
  101. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyHolderView.js.map +1 -0
  102. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyView.d.ts → V1_DSLDiagram_PropertyView.d.ts} +2 -2
  103. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.d.ts.map +1 -0
  104. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyView.js → V1_DSLDiagram_PropertyView.js} +2 -2
  105. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_PropertyView.js.map +1 -0
  106. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_RelationshipView.d.ts → V1_DSLDiagram_RelationshipView.d.ts} +2 -2
  107. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.d.ts.map +1 -0
  108. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/{V1_RelationshipView.js → V1_DSLDiagram_RelationshipView.js} +1 -1
  109. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_DSLDiagram_RelationshipView.js.map +1 -0
  110. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Line.d.ts → V1_DSLDiagram_Line.d.ts} +2 -2
  111. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.d.ts.map +1 -0
  112. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Line.js → V1_DSLDiagram_Line.js} +1 -1
  113. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Line.js.map +1 -0
  114. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Point.d.ts → V1_DSLDiagram_Point.d.ts} +1 -1
  115. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.d.ts.map +1 -0
  116. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Point.js → V1_DSLDiagram_Point.js} +1 -1
  117. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Point.js.map +1 -0
  118. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_PositionedRectangle.d.ts → V1_DSLDiagram_PositionedRectangle.d.ts} +3 -3
  119. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.d.ts.map +1 -0
  120. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_PositionedRectangle.js → V1_DSLDiagram_PositionedRectangle.js} +1 -1
  121. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_PositionedRectangle.js.map +1 -0
  122. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Rectangle.d.ts → V1_DSLDiagram_Rectangle.d.ts} +1 -1
  123. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.d.ts.map +1 -0
  124. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Rectangle.js → V1_DSLDiagram_Rectangle.js} +1 -1
  125. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_DSLDiagram_Rectangle.js.map +1 -0
  126. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts +7 -7
  127. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.d.ts.map +1 -1
  128. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js +5 -5
  129. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.js.map +1 -1
  130. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts +2 -2
  131. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.d.ts.map +1 -1
  132. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js +7 -7
  133. package/lib/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.js.map +1 -1
  134. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts +1 -1
  135. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.d.ts.map +1 -1
  136. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js +7 -7
  137. package/lib/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.js.map +1 -1
  138. package/lib/package.json +83 -0
  139. package/lib/stores/studio/DiagramEditorState.d.ts +3 -3
  140. package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
  141. package/lib/stores/studio/DiagramEditorState.js +1 -1
  142. package/lib/stores/studio/DiagramEditorState.js.map +1 -1
  143. package/package.json +17 -17
  144. package/src/DiagramRenderer.ts +11 -12
  145. package/src/components/studio/DSLDiagram_LegendStudioPlugin.tsx +1 -1
  146. package/src/components/studio/DSLDiagram_LegendStudioPlugin_Extension.tsx +1 -1
  147. package/src/components/studio/DiagramEditor.tsx +3 -3
  148. package/src/components/studio/InheritanceDiagramRenderer.ts +2 -2
  149. package/src/graph/DSLDiagram_PureGraphPlugin.ts +1 -1
  150. package/src/graphManager/DSLDiagram_GraphManagerHelper.ts +1 -1
  151. package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +1 -1
  152. package/src/helpers/DiagramHelper.ts +3 -3
  153. package/src/index.ts +10 -10
  154. package/src/models/metamodels/pure/packageableElements/diagram/{AssociationView.ts → DSLDiagram_AssociationView.ts} +3 -3
  155. package/src/models/metamodels/pure/packageableElements/diagram/{ClassView.ts → DSLDiagram_ClassView.ts} +4 -4
  156. package/src/models/metamodels/pure/packageableElements/diagram/{ClassViewReference.ts → DSLDiagram_ClassViewReference.ts} +2 -2
  157. package/src/models/metamodels/pure/packageableElements/diagram/{Diagram.ts → DSLDiagram_Diagram.ts} +4 -4
  158. package/src/models/metamodels/pure/packageableElements/diagram/{GeneralizationView.ts → DSLDiagram_GeneralizationView.ts} +3 -3
  159. package/src/models/metamodels/pure/packageableElements/diagram/{PropertyHolderView.ts → DSLDiagram_PropertyHolderView.ts} +3 -3
  160. package/src/models/metamodels/pure/packageableElements/diagram/{PropertyView.ts → DSLDiagram_PropertyView.ts} +3 -3
  161. package/src/models/metamodels/pure/packageableElements/diagram/{RelationshipEdgeView.ts → DSLDiagram_RelationshipEdgeView.ts} +1 -1
  162. package/src/models/metamodels/pure/packageableElements/diagram/{RelationshipView.ts → DSLDiagram_RelationshipView.ts} +6 -6
  163. package/src/models/metamodels/pure/packageableElements/diagram/geometry/{Point.ts → DSLDiagram_Point.ts} +0 -0
  164. package/src/models/metamodels/pure/packageableElements/diagram/geometry/{PositionedRectangle.ts → DSLDiagram_PositionedRectangle.ts} +2 -2
  165. package/src/models/metamodels/pure/packageableElements/diagram/geometry/{Rectangle.ts → DSLDiagram_Rectangle.ts} +0 -0
  166. package/src/models/metamodels/pure/packageableElements/diagram/geometry/{Vector.ts → DSLDiagram_Vector.ts} +1 -1
  167. package/src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +2 -2
  168. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_ClassView.ts → V1_DSLDiagram_ClassView.ts} +1 -1
  169. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_Diagram.ts → V1_DSLDiagram_Diagram.ts} +3 -3
  170. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_GeneralizationView.ts → V1_DSLDiagram_GeneralizationView.ts} +2 -2
  171. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyHolderView.ts → V1_DSLDiagram_PropertyHolderView.ts} +1 -1
  172. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_PropertyView.ts → V1_DSLDiagram_PropertyView.ts} +1 -1
  173. package/src/models/protocols/pure/v1/model/packageableElements/diagram/{V1_RelationshipView.ts → V1_DSLDiagram_RelationshipView.ts} +1 -1
  174. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Line.ts → V1_DSLDiagram_Line.ts} +1 -1
  175. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Point.ts → V1_DSLDiagram_Point.ts} +0 -0
  176. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_PositionedRectangle.ts → V1_DSLDiagram_PositionedRectangle.ts} +2 -2
  177. package/src/models/protocols/pure/v1/model/packageableElements/diagram/geometry/{V1_Rectangle.ts → V1_DSLDiagram_Rectangle.ts} +0 -0
  178. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_GraphBuilderHelper.ts +11 -11
  179. package/src/models/protocols/pure/v1/transformation/pureGraph/V1_DSLDiagram_TransformerHelper.ts +12 -12
  180. package/src/models/protocols/pure/v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper.ts +7 -7
  181. package/src/stores/studio/DiagramEditorState.ts +4 -4
  182. package/tsconfig.json +23 -23
  183. package/CHANGELOG.md +0 -85
  184. package/lib/models/metamodels/pure/packageableElements/diagram/AssociationView.d.ts.map +0 -1
  185. package/lib/models/metamodels/pure/packageableElements/diagram/AssociationView.js.map +0 -1
  186. package/lib/models/metamodels/pure/packageableElements/diagram/ClassView.d.ts.map +0 -1
  187. package/lib/models/metamodels/pure/packageableElements/diagram/ClassView.js.map +0 -1
  188. package/lib/models/metamodels/pure/packageableElements/diagram/ClassViewReference.d.ts.map +0 -1
  189. package/lib/models/metamodels/pure/packageableElements/diagram/ClassViewReference.js.map +0 -1
  190. package/lib/models/metamodels/pure/packageableElements/diagram/Diagram.d.ts.map +0 -1
  191. package/lib/models/metamodels/pure/packageableElements/diagram/Diagram.js.map +0 -1
  192. package/lib/models/metamodels/pure/packageableElements/diagram/GeneralizationView.d.ts.map +0 -1
  193. package/lib/models/metamodels/pure/packageableElements/diagram/GeneralizationView.js.map +0 -1
  194. package/lib/models/metamodels/pure/packageableElements/diagram/PropertyHolderView.d.ts.map +0 -1
  195. package/lib/models/metamodels/pure/packageableElements/diagram/PropertyHolderView.js.map +0 -1
  196. package/lib/models/metamodels/pure/packageableElements/diagram/PropertyView.d.ts.map +0 -1
  197. package/lib/models/metamodels/pure/packageableElements/diagram/PropertyView.js.map +0 -1
  198. package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipEdgeView.d.ts.map +0 -1
  199. package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipEdgeView.js.map +0 -1
  200. package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipView.d.ts.map +0 -1
  201. package/lib/models/metamodels/pure/packageableElements/diagram/RelationshipView.js.map +0 -1
  202. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Point.d.ts.map +0 -1
  203. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Point.js.map +0 -1
  204. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle.d.ts.map +0 -1
  205. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle.js.map +0 -1
  206. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Rectangle.d.ts.map +0 -1
  207. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Rectangle.js.map +0 -1
  208. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Vector.d.ts.map +0 -1
  209. package/lib/models/metamodels/pure/packageableElements/diagram/geometry/Vector.js.map +0 -1
  210. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_ClassView.d.ts.map +0 -1
  211. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_ClassView.js.map +0 -1
  212. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_Diagram.d.ts.map +0 -1
  213. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_Diagram.js.map +0 -1
  214. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_GeneralizationView.d.ts.map +0 -1
  215. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_GeneralizationView.js.map +0 -1
  216. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyHolderView.d.ts.map +0 -1
  217. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyHolderView.js.map +0 -1
  218. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyView.d.ts.map +0 -1
  219. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_PropertyView.js.map +0 -1
  220. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_RelationshipView.d.ts.map +0 -1
  221. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/V1_RelationshipView.js.map +0 -1
  222. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Line.d.ts.map +0 -1
  223. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Line.js.map +0 -1
  224. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Point.d.ts.map +0 -1
  225. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Point.js.map +0 -1
  226. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_PositionedRectangle.d.ts.map +0 -1
  227. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_PositionedRectangle.js.map +0 -1
  228. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Rectangle.d.ts.map +0 -1
  229. package/lib/models/protocols/pure/v1/model/packageableElements/diagram/geometry/V1_Rectangle.js.map +0 -1
@@ -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;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACzE,OAAO,EACL,wBAAwB,EACxB,gBAAgB,GACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,sDAAsD,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,oDAAoD,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,2DAA2D,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAC7F,OAAO,EAAE,OAAO,EAAE,MAAM,0DAA0D,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,yDAAyD,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,+DAA+D,CAAC;AACtG,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAEpE,MAAM,CAAC,MAAM,gCAAgC,GAAG,SAAS,CAAC;AAE1D,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,QAAQ,EAAE;IACnD,CAAC,EAAE,SAAS,EAAE;IACd,CAAC,EAAE,SAAS,EAAE;CACf,CAAC,CAAC;AAEH,MAAM,qBAAqB,GAAG,iBAAiB,CAAC,YAAY,EAAE;IAC5D,MAAM,EAAE,SAAS,EAAE;IACnB,KAAK,EAAE,SAAS,EAAE;CACnB,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,iBAAiB,CAAC,OAAO,EAAE;IACjD,MAAM,EAAE,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;CACjD,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,YAAY,EAAE;IAC3D,KAAK,EAAE,SAAS,EAAE;IAClB,cAAc,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;IACrC,eAAe,EAAE,QAAQ,CAAC,SAAS,EAAE,CAAC;IACtC,gBAAgB,EAAE,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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AS,EAAE,CAAC;IACtC,gBAAgB,EAAE,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"}
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "@finos/legend-extension-dsl-diagram",
3
+ "version": "1.0.20",
4
+ "description": "Legend extension for Diagram DSL",
5
+ "keywords": [
6
+ "legend",
7
+ "legend-extension",
8
+ "dsl",
9
+ "dsl-diagram"
10
+ ],
11
+ "homepage": "https://github.com/finos/legend-studio/tree/master/packages/legend-extension-dsl-diagram",
12
+ "bugs": {
13
+ "url": "https://github.com/finos/legend-studio/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/finos/legend-studio.git",
18
+ "directory": "packages/legend-extension-dsl-diagram"
19
+ },
20
+ "license": "Apache-2.0",
21
+ "sideEffects": false,
22
+ "type": "module",
23
+ "main": "lib/index.js",
24
+ "module": "lib/index.js",
25
+ "types": "lib/index.d.ts",
26
+ "scripts": {
27
+ "build": "yarn clean && yarn build:sass && yarn build:ts",
28
+ "build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
29
+ "build:ts": "tsc --project ./tsconfig.build.json",
30
+ "clean": "npm-run-all clean:cache clean:lib",
31
+ "clean:cache": "rimraf \"build\"",
32
+ "clean:lib": "rimraf \"lib\"",
33
+ "dev": "npm-run-all --parallel dev:sass dev:ts",
34
+ "dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
35
+ "dev:ts": "tsc --watch --preserveWatchOutput",
36
+ "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
37
+ "publish:prepare": "node ../../scripts/release/preparePublishContent.js",
38
+ "publish:snapshot": "node ../../scripts/release/publishDevSnapshot.js",
39
+ "test": "jest",
40
+ "test:watch": "jest --watch"
41
+ },
42
+ "dependencies": {
43
+ "@finos/legend-application": "workspace:*",
44
+ "@finos/legend-art": "workspace:*",
45
+ "@finos/legend-graph": "workspace:*",
46
+ "@finos/legend-model-storage": "workspace:*",
47
+ "@finos/legend-shared": "workspace:*",
48
+ "@finos/legend-studio": "workspace:*",
49
+ "@types/react": "17.0.41",
50
+ "mobx": "6.5.0",
51
+ "mobx-react-lite": "3.3.0",
52
+ "react": "17.0.2",
53
+ "react-dnd": "15.1.1",
54
+ "react-dom": "17.0.2",
55
+ "react-resize-detector": "7.0.0",
56
+ "serializr": "2.0.5"
57
+ },
58
+ "devDependencies": {
59
+ "@finos/legend-dev-utils": "workspace:*",
60
+ "@testing-library/react": "12.1.4",
61
+ "cross-env": "7.0.3",
62
+ "eslint": "8.11.0",
63
+ "jest": "27.5.1",
64
+ "jest-canvas-mock": "2.3.1",
65
+ "npm-run-all": "4.1.5",
66
+ "rimraf": "3.0.2",
67
+ "sass": "1.49.9",
68
+ "typescript": "4.6.2"
69
+ },
70
+ "peerDependencies": {
71
+ "react": "^17.0.0"
72
+ },
73
+ "publishConfig": {
74
+ "directory": "build/publishContent"
75
+ },
76
+ "extensions": {
77
+ "graphPreset": "@finos/legend-graph-preset-dsl-diagram",
78
+ "pureProtocolProcessorPlugin": "@finos/legend-graph-plugin-dsl-diagram-pure-protocol-processor",
79
+ "pureGraphManagerPlugin": "@finos/legend-graph-plugin-dsl-diagram-pure-graph-manager",
80
+ "pureGraphPlugin": "@finos/legend-graph-plugin-dsl-diagram-pure-graph",
81
+ "studioPlugin": "@finos/legend-studio-plugin-dsl-diagram"
82
+ }
83
+ }
@@ -17,9 +17,9 @@ import { type DiagramRenderer } from '../../DiagramRenderer';
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/ClassView';
21
- import type { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/Point';
22
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/Diagram';
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';
23
23
  export declare abstract class DiagramEditorSidePanelState {
24
24
  uuid: string;
25
25
  editorStore: EditorStore;
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditorState.d.ts","sourceRoot":"","sources":["../../../src/stores/studio/DiagramEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,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,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAChB,gBAAgB,EAChB,kBAAkB,EACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oEAAoE,CAAC;AACpG,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yEAAyE,CAAC;AACrG,OAAO,EAAE,OAAO,EAAE,MAAM,kEAAkE,CAAC;AAyB3F,8BAAsB,2BAA2B;IAC/C,IAAI,SAAU;IACd,WAAW,EAAE,WAAW,CAAC;IACzB,kBAAkB,EAAE,kBAAkB,CAAC;gBAGrC,WAAW,EAAE,WAAW,EACxB,kBAAkB,EAAE,kBAAkB;CAKzC;AAED,oBAAY,6BAA6B;IACvC,OAAO,YAAY;IACnB,IAAI,SAAS;CACd;AAED,qBAAa,0CAA2C,SAAQ,2BAA2B;IACzF,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,gCAAyC;gBAGlD,WAAW,EAAE,WAAW,EACxB,kBAAkB,EAAE,kBAAkB,EACtC,SAAS,EAAE,SAAS;IAoBtB,cAAc,CAAC,GAAG,EAAE,6BAA6B,GAAG,IAAI;CAGzD;AAED,qBAAa,oCAAoC;IAC/C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,KAAK,CAAC;gBAED,kBAAkB,EAAE,kBAAkB,EAAE,KAAK,EAAE,KAAK;CAI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BAAuB,CAAC,EAAE,oCAAoC,GAAG,SAAS,CAAC;IAC3E,uBAAuB,CAAC,EAAE,oCAAoC,GAAG,SAAS,CAAC;IAC3E,eAAe,UAAS;IACxB,oBAAoB,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;gBAEjC,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,kBAAkB;IA4BjE,IAAI,OAAO,IAAI,OAAO,CAMrB;IAED,IAAI,QAAQ,IAAI,eAAe,CAK9B;IAED,IAAI,4BAA4B,IAAI,OAAO,CAE1C;IAMD,IAAI,kBAAkB,IAAI,MAAM,CA+D/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;IAmHrB,OAAO,IAAI,IAAI;IAIf,OAAO,CAAC,yBAAyB,CAuBrB;IAEZ,SAAS,CACP,UAAU,EAAE,kBAAkB,EAC9B,WAAW,EAAE,WAAW,GACvB,kBAAkB;CAItB"}
@@ -19,7 +19,7 @@ import { DIAGRAM_INTERACTION_MODE, } from '../../DiagramRenderer';
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, } from '@finos/legend-studio';
22
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/Diagram';
22
+ import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
23
23
  var DIAGRAM_EDITOR_HOTKEY;
24
24
  (function (DIAGRAM_EDITOR_HOTKEY) {
25
25
  DIAGRAM_EDITOR_HOTKEY["RECENTER"] = "RECENTER";
@@ -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,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,GACnB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,OAAO,EAAE,MAAM,kEAAkE,CAAC;AAG3F,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,yBAA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,CAAC;IAC5B,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "1.0.17",
3
+ "version": "1.0.20",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -24,15 +24,15 @@
24
24
  "module": "lib/index.js",
25
25
  "types": "lib/index.d.ts",
26
26
  "scripts": {
27
- "build": "yarn clean && yarn build:sass && yarn build:tsc",
27
+ "build": "yarn clean && yarn build:sass && yarn build:ts",
28
28
  "build:sass": "cross-env INIT_CWD=$INIT_CWD node ../../scripts/workflow/buildSass.js",
29
- "build:tsc": "tsc --project ./tsconfig.build.json",
29
+ "build:ts": "tsc --project ./tsconfig.build.json",
30
30
  "clean": "npm-run-all clean:cache clean:lib",
31
31
  "clean:cache": "rimraf \"build\"",
32
32
  "clean:lib": "rimraf \"lib\"",
33
- "dev": "npm-run-all --parallel dev:sass dev:tsc",
33
+ "dev": "npm-run-all --parallel dev:sass dev:ts",
34
34
  "dev:sass": "sass style lib --watch --load-path=../../node_modules/@finos/legend-art/scss",
35
- "dev:tsc": "tsc --watch --preserveWatchOutput",
35
+ "dev:ts": "tsc --watch --preserveWatchOutput",
36
36
  "lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\" \"./src/**/*.{js,ts,tsx}\"",
37
37
  "publish:prepare": "node ../../scripts/release/preparePublishContent.js",
38
38
  "publish:snapshot": "node ../../scripts/release/publishDevSnapshot.js",
@@ -40,14 +40,14 @@
40
40
  "test:watch": "jest --watch"
41
41
  },
42
42
  "dependencies": {
43
- "@finos/legend-application": "1.1.9",
44
- "@finos/legend-art": "0.3.6",
45
- "@finos/legend-graph": "1.1.2",
46
- "@finos/legend-model-storage": "0.0.19",
47
- "@finos/legend-shared": "1.2.1",
48
- "@finos/legend-studio": "2.4.7",
49
- "@types/react": "17.0.39",
50
- "mobx": "6.4.1",
43
+ "@finos/legend-application": "1.2.2",
44
+ "@finos/legend-art": "0.3.9",
45
+ "@finos/legend-graph": "1.3.0",
46
+ "@finos/legend-model-storage": "0.0.22",
47
+ "@finos/legend-shared": "1.2.4",
48
+ "@finos/legend-studio": "3.1.0",
49
+ "@types/react": "17.0.41",
50
+ "mobx": "6.5.0",
51
51
  "mobx-react-lite": "3.3.0",
52
52
  "react": "17.0.2",
53
53
  "react-dnd": "15.1.1",
@@ -56,16 +56,16 @@
56
56
  "serializr": "2.0.5"
57
57
  },
58
58
  "devDependencies": {
59
- "@finos/legend-dev-utils": "0.3.10",
60
- "@testing-library/react": "12.1.3",
59
+ "@finos/legend-dev-utils": "0.3.13",
60
+ "@testing-library/react": "12.1.4",
61
61
  "cross-env": "7.0.3",
62
- "eslint": "8.9.0",
62
+ "eslint": "8.11.0",
63
63
  "jest": "27.5.1",
64
64
  "jest-canvas-mock": "2.3.1",
65
65
  "npm-run-all": "4.1.5",
66
66
  "rimraf": "3.0.2",
67
67
  "sass": "1.49.9",
68
- "typescript": "4.5.5"
68
+ "typescript": "4.6.2"
69
69
  },
70
70
  "peerDependencies": {
71
71
  "react": "^17.0.0"
@@ -38,20 +38,20 @@ import {
38
38
  Multiplicity,
39
39
  } from '@finos/legend-graph';
40
40
  import { action, makeObservable, observable } from 'mobx';
41
- import type { Diagram } from './models/metamodels/pure/packageableElements/diagram/Diagram';
42
- import { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/Rectangle';
43
- import { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/Point';
44
- import { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle';
45
- import { ClassView } from './models/metamodels/pure/packageableElements/diagram/ClassView';
46
- import type { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/PropertyHolderView';
47
- import { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/GeneralizationView';
41
+ import type { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
42
+ import { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
43
+ import { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
44
+ import { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle';
45
+ import { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
46
+ import type { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView';
47
+ import { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
48
48
  import {
49
49
  type RelationshipView,
50
50
  manageInsidePointsDynamically,
51
- } from './models/metamodels/pure/packageableElements/diagram/RelationshipView';
52
- import { PropertyView } from './models/metamodels/pure/packageableElements/diagram/PropertyView';
51
+ } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView';
52
+ import { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
53
53
  import { getElementPosition } from './helpers/DiagramHelper';
54
- import { AssociationView } from './models/metamodels/pure/packageableElements/diagram/AssociationView';
54
+ import { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView';
55
55
 
56
56
  export enum DIAGRAM_INTERACTION_MODE {
57
57
  LAYOUT,
@@ -2543,7 +2543,6 @@ export class DiagramRenderer {
2543
2543
  if (this.onBackgroundDoubleClick) {
2544
2544
  this.onBackgroundDoubleClick(eventPointInModelCoordinate);
2545
2545
  }
2546
- return;
2547
2546
  }
2548
2547
 
2549
2548
  mousedown(e: MouseEvent): void {
@@ -3249,7 +3248,7 @@ export class DiagramRenderer {
3249
3248
  });
3250
3249
 
3251
3250
  const generalizationViews = (
3252
- superType ? classViewLevels : classViewLevels.reverse()
3251
+ superType ? classViewLevels : classViewLevels.slice().reverse()
3253
3252
  )
3254
3253
  .slice(0, classViewLevels.length - 1)
3255
3254
  .flatMap((level, idx) =>
@@ -33,7 +33,7 @@ import {
33
33
  } from '@finos/legend-studio';
34
34
  import { ShapesIcon } from '@finos/legend-art';
35
35
  import type { Class, PackageableElement } from '@finos/legend-graph';
36
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/Diagram';
36
+ import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
37
37
  import { DiagramEditorState } from '../../stores/studio/DiagramEditorState';
38
38
  import { DiagramEditor } from './DiagramEditor';
39
39
  import { ClassDiagramPreview } from './ClassDiagramPreview';
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import type { DSL_LegendStudioPlugin_Extension } from '@finos/legend-studio';
18
- import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/ClassView';
18
+ import type { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
19
19
  import type { DiagramEditorState } from '../../stores/studio/DiagramEditorState';
20
20
 
21
21
  export type ClassViewContextMenuItemRendererConfiguration = {
@@ -102,7 +102,7 @@ import {
102
102
  useEditorStore,
103
103
  } from '@finos/legend-studio';
104
104
  import { cleanUpDeadReferencesInDiagram } from '../../helpers/DiagramHelper';
105
- import { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/Point';
105
+ import { Point } from '../../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
106
106
  import type { DSLDiagram_LegendStudioPlugin_Extension } from './DSLDiagram_LegendStudioPlugin_Extension';
107
107
 
108
108
  const DiagramEditorContextMenu = observer(
@@ -195,7 +195,7 @@ const DiagramRendererHotkeyInfosModal = observer(
195
195
  Remove selected element(s)
196
196
  </div>
197
197
  <div className="hotkey__combination diagram-editor__hotkey__keys">
198
- <div className="hotkey__key">Delete</div>
198
+ <div className="hotkey__key">Remove</div>
199
199
  </div>
200
200
  </div>
201
201
  <div className="diagram-editor__hotkey__group">
@@ -732,7 +732,7 @@ const DiagramEditorInlineClassRenamerInner = observer(
732
732
  if (canRenameClass) {
733
733
  diagramEditorState.setInlineClassRenamerState(undefined);
734
734
  flowResult(editorStore.renameElement(_class, newClassPath)).catch(
735
- applicationStore.alertIllegalUnhandledError,
735
+ applicationStore.alertUnhandledError,
736
736
  );
737
737
  }
738
738
  };
@@ -20,8 +20,8 @@ import {
20
20
  type Class,
21
21
  PackageableElementExplicitReference,
22
22
  } from '@finos/legend-graph';
23
- import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/Diagram';
24
- import { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/ClassView';
23
+ import { Diagram } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
24
+ import { ClassView } from '../../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
25
25
 
26
26
  export class InheritanceDiagramRenderer extends DiagramRenderer {
27
27
  constructor(div: HTMLDivElement, _class: Class) {
@@ -22,7 +22,7 @@ import {
22
22
  type PackageableElement,
23
23
  type PureModel,
24
24
  } from '@finos/legend-graph';
25
- import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/Diagram';
25
+ import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
26
26
  import { cleanUpDeadReferencesInDiagram } from '../helpers/DiagramHelper';
27
27
 
28
28
  export class DSLDiagram_PureGraphPlugin extends PureGraphPlugin {
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import type { PureModel } from '@finos/legend-graph';
18
- import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/Diagram';
18
+ import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
19
19
 
20
20
  export const getDiagram = (path: string, graph: PureModel): Diagram =>
21
21
  graph.getExtensionElement(path, Diagram, `Can't find diagram '${path}'`);
@@ -20,7 +20,7 @@ import {
20
20
  type PackageableElement,
21
21
  type PureGrammarElementLabeler,
22
22
  } from '@finos/legend-graph';
23
- import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/Diagram';
23
+ import { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
24
24
 
25
25
  const PURE_GRAMMAR_DIAGRAM_PARSER_NAME = 'Diagram';
26
26
  const PURE_GRAMMAR_DIAGRAM_ELEMENT_TYPE_LABEL = 'Diagram';
@@ -15,9 +15,9 @@
15
15
  */
16
16
 
17
17
  import type { PureModel } from '@finos/legend-graph';
18
- import type { ClassView } from '../models/metamodels/pure/packageableElements/diagram/ClassView';
19
- import type { Diagram } from '../models/metamodels/pure/packageableElements/diagram/Diagram';
20
- import { Point } from '../models/metamodels/pure/packageableElements/diagram/geometry/Point';
18
+ import type { ClassView } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
19
+ import type { Diagram } from '../models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
20
+ import { Point } from '../models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
21
21
 
22
22
  /**
23
23
  * Get absolute position of element on the screen by recursively walking up element tree
package/src/index.ts CHANGED
@@ -22,19 +22,19 @@ export { DiagramEditorState } from './stores/studio/DiagramEditorState';
22
22
 
23
23
  export { DiagramRenderer, DIAGRAM_INTERACTION_MODE } from './DiagramRenderer';
24
24
 
25
- export { Diagram } from './models/metamodels/pure/packageableElements/diagram/Diagram';
26
- export { ClassView } from './models/metamodels/pure/packageableElements/diagram/ClassView';
25
+ export { Diagram } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_Diagram';
26
+ export { ClassView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_ClassView';
27
27
  export {
28
28
  RelationshipView,
29
29
  manageInsidePointsDynamically,
30
- } from './models/metamodels/pure/packageableElements/diagram/RelationshipView';
31
- export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/PropertyHolderView';
32
- export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/PropertyView';
33
- export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/AssociationView';
34
- export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/GeneralizationView';
35
- export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/Point';
36
- export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/Rectangle';
37
- export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/PositionedRectangle';
30
+ } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_RelationshipView';
31
+ export { PropertyHolderView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyHolderView';
32
+ export { PropertyView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_PropertyView';
33
+ export { AssociationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_AssociationView';
34
+ export { GeneralizationView } from './models/metamodels/pure/packageableElements/diagram/DSLDiagram_GeneralizationView';
35
+ export { Point } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Point';
36
+ export { Rectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_Rectangle';
37
+ export { PositionedRectangle } from './models/metamodels/pure/packageableElements/diagram/geometry/DSLDiagram_PositionedRectangle';
38
38
 
39
39
  export * from './helpers/DiagramHelper';
40
40
  export { V1_DSLDiagram_PackageableElementPointerType } from './models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin';
@@ -16,9 +16,9 @@
16
16
 
17
17
  import { computed, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { PropertyHolderView } from './PropertyHolderView';
20
- import type { ClassView } from './ClassView';
21
- import type { Diagram } from './Diagram';
19
+ import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
20
+ import type { ClassView } from './DSLDiagram_ClassView';
21
+ import type { Diagram } from './DSLDiagram_Diagram';
22
22
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
23
23
  import type {
24
24
  Association,
@@ -16,10 +16,10 @@
16
16
 
17
17
  import { computed, observable, action, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { PositionedRectangle } from './geometry/PositionedRectangle';
20
- import { Rectangle } from './geometry/Rectangle';
21
- import { Point } from './geometry/Point';
22
- import type { Diagram } from './Diagram';
19
+ import { PositionedRectangle } from './geometry/DSLDiagram_PositionedRectangle';
20
+ import { Rectangle } from './geometry/DSLDiagram_Rectangle';
21
+ import { Point } from './geometry/DSLDiagram_Point';
22
+ import type { Diagram } from './DSLDiagram_Diagram';
23
23
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
24
24
  import type { Class, PackageableElementReference } from '@finos/legend-graph';
25
25
 
@@ -15,8 +15,8 @@
15
15
  */
16
16
 
17
17
  import { observable, action, makeObservable } from 'mobx';
18
- import type { Diagram } from './Diagram';
19
- import type { ClassView } from './ClassView';
18
+ import type { Diagram } from './DSLDiagram_Diagram';
19
+ import type { ClassView } from './DSLDiagram_ClassView';
20
20
  import {
21
21
  PackageableElementExplicitReference,
22
22
  ReferenceWithOwner,
@@ -21,10 +21,10 @@ import {
21
21
  deleteEntry,
22
22
  type Hashable,
23
23
  } from '@finos/legend-shared';
24
- import type { ClassView } from './ClassView';
25
- import type { PropertyView } from './PropertyView';
26
- import type { GeneralizationView } from './GeneralizationView';
27
- import type { AssociationView } from './AssociationView';
24
+ import type { ClassView } from './DSLDiagram_ClassView';
25
+ import type { PropertyView } from './DSLDiagram_PropertyView';
26
+ import type { GeneralizationView } from './DSLDiagram_GeneralizationView';
27
+ import type { AssociationView } from './DSLDiagram_AssociationView';
28
28
  import {
29
29
  type PackageableElementVisitor,
30
30
  PackageableElement,
@@ -16,9 +16,9 @@
16
16
 
17
17
  import { computed, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { RelationshipView } from './RelationshipView';
20
- import type { Diagram } from './Diagram';
21
- import type { ClassView } from './ClassView';
19
+ import { RelationshipView } from './DSLDiagram_RelationshipView';
20
+ import type { Diagram } from './DSLDiagram_Diagram';
21
+ import type { ClassView } from './DSLDiagram_ClassView';
22
22
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
23
23
 
24
24
  export class GeneralizationView extends RelationshipView implements Hashable {
@@ -15,9 +15,9 @@
15
15
  */
16
16
 
17
17
  import { hashArray, type Hashable } from '@finos/legend-shared';
18
- import { RelationshipView } from './RelationshipView';
19
- import type { ClassView } from './ClassView';
20
- import type { Diagram } from './Diagram';
18
+ import { RelationshipView } from './DSLDiagram_RelationshipView';
19
+ import type { ClassView } from './DSLDiagram_ClassView';
20
+ import type { Diagram } from './DSLDiagram_Diagram';
21
21
  import type { PropertyReference } from '@finos/legend-graph';
22
22
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
23
23
 
@@ -16,9 +16,9 @@
16
16
 
17
17
  import { computed, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { PropertyHolderView } from './PropertyHolderView';
20
- import type { Diagram } from './Diagram';
21
- import type { ClassView } from './ClassView';
19
+ import { PropertyHolderView } from './DSLDiagram_PropertyHolderView';
20
+ import type { Diagram } from './DSLDiagram_Diagram';
21
+ import type { ClassView } from './DSLDiagram_ClassView';
22
22
  import type { PropertyReference } from '@finos/legend-graph';
23
23
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
24
24
 
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { observable, action, makeObservable } from 'mobx';
18
- import type { ClassViewReference } from './ClassViewReference';
18
+ import type { ClassViewReference } from './DSLDiagram_ClassViewReference';
19
19
 
20
20
  export class RelationShipEdgeView {
21
21
  classView: ClassViewReference;
@@ -16,12 +16,12 @@
16
16
 
17
17
  import { observable, action, computed, makeObservable } from 'mobx';
18
18
  import { hashArray, changeEntry, type Hashable } from '@finos/legend-shared';
19
- import { RelationShipEdgeView as RelationshipEdgeView } from './RelationshipEdgeView';
20
- import { Point } from './geometry/Point';
21
- import type { ClassView } from './ClassView';
22
- import { Vector } from './geometry/Vector';
23
- import type { Diagram } from './Diagram';
24
- import { ClassViewExplicitReference } from './ClassViewReference';
19
+ import { RelationShipEdgeView as RelationshipEdgeView } from './DSLDiagram_RelationshipEdgeView';
20
+ import { Point } from './geometry/DSLDiagram_Point';
21
+ import type { ClassView } from './DSLDiagram_ClassView';
22
+ import { Vector } from './geometry/DSLDiagram_Vector';
23
+ import type { Diagram } from './DSLDiagram_Diagram';
24
+ import { ClassViewExplicitReference } from './DSLDiagram_ClassViewReference';
25
25
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../DSLDiagram_ModelUtils';
26
26
 
27
27
  /**
@@ -16,8 +16,8 @@
16
16
 
17
17
  import { observable, action, makeObservable } from 'mobx';
18
18
  import { hashArray, type Hashable } from '@finos/legend-shared';
19
- import { Point } from './Point';
20
- import { Rectangle } from './Rectangle';
19
+ import { Point } from './DSLDiagram_Point';
20
+ import { Rectangle } from './DSLDiagram_Rectangle';
21
21
  import { DIAGRAM_HASH_STRUCTURE } from '../../../../../DSLDiagram_ModelUtils';
22
22
 
23
23
  export class PositionedRectangle implements Hashable {
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import type { Point } from './Point';
17
+ import type { Point } from './DSLDiagram_Point';
18
18
 
19
19
  export class Vector {
20
20
  x: number;