@finos/legend-extension-dsl-diagram 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.d.ts +1 -2
  3. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.d.ts.map +1 -1
  4. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js +0 -3
  5. package/lib/components/studio/DSLDiagram_LegendStudioPlugin.js.map +1 -1
  6. package/lib/graph/DSLDiagram_PureGraphPlugin.d.ts +1 -2
  7. package/lib/graph/DSLDiagram_PureGraphPlugin.d.ts.map +1 -1
  8. package/lib/graph/DSLDiagram_PureGraphPlugin.js +0 -3
  9. package/lib/graph/DSLDiagram_PureGraphPlugin.js.map +1 -1
  10. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.d.ts +1 -2
  11. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.d.ts.map +1 -1
  12. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js +0 -3
  13. package/lib/graphManager/DSLDiagram_PureGraphManagerPlugin.js.map +1 -1
  14. package/lib/index.css +1 -1
  15. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.d.ts +1 -2
  16. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.d.ts.map +1 -1
  17. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js +0 -3
  18. package/lib/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.js.map +1 -1
  19. package/package.json +12 -12
  20. package/src/components/studio/DSLDiagram_LegendStudioPlugin.tsx +0 -5
  21. package/src/graph/DSLDiagram_PureGraphPlugin.ts +0 -5
  22. package/src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts +0 -5
  23. package/src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts +0 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @finos/legend-extension-dsl-diagram
2
2
 
3
+ ## 1.0.3
4
+
3
5
  ## 1.0.2
4
6
 
5
7
  ## 1.0.1
@@ -13,11 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { LegendStudioPluginManager, NewElementFromStateCreator, ElementEditorStateCreator, ElementTypeGetter, ElementProjectExplorerDnDTypeGetter, ElementIconGetter, ElementEditorRenderer, DSL_LegendStudioPlugin_Extension, ElementEditorPostDeleteAction, ElementEditorPostRenameAction, ClassPreviewRenderer } from '@finos/legend-studio';
16
+ import type { NewElementFromStateCreator, ElementEditorStateCreator, ElementTypeGetter, ElementProjectExplorerDnDTypeGetter, ElementIconGetter, ElementEditorRenderer, DSL_LegendStudioPlugin_Extension, ElementEditorPostDeleteAction, ElementEditorPostRenameAction, ClassPreviewRenderer } from '@finos/legend-studio';
17
17
  import { LegendStudioPlugin } from '@finos/legend-studio';
18
18
  export declare class DSLDiagram_LegendStudioPlugin extends LegendStudioPlugin implements DSL_LegendStudioPlugin_Extension {
19
19
  constructor();
20
- install(pluginManager: LegendStudioPluginManager): void;
21
20
  getExtraClassPreviewRenderers(): ClassPreviewRenderer[];
22
21
  getExtraSupportedElementTypes(): string[];
23
22
  getExtraElementTypeGetters(): ElementTypeGetter[];
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_LegendStudioPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_LegendStudioPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,yBAAyB,EACzB,0BAA0B,EAG1B,yBAAyB,EACzB,iBAAiB,EACjB,mCAAmC,EACnC,iBAAiB,EACjB,qBAAqB,EACrB,gCAAgC,EAEhC,6BAA6B,EAC7B,6BAA6B,EAC7B,oBAAoB,EACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAW1D,qBAAa,6BACX,SA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E;IAI7C,sCAAsC,IAAI,6BAA6B,EAAE;IAWzE,sCAAsC,IAAI,6BAA6B,EAAE;CAU1E"}
@@ -27,9 +27,6 @@ export class DSLDiagram_LegendStudioPlugin extends LegendStudioPlugin {
27
27
  constructor() {
28
28
  super(packageJson.extensions.studioPlugin, packageJson.version);
29
29
  }
30
- install(pluginManager) {
31
- pluginManager.registerStudioPlugin(this);
32
- }
33
30
  getExtraClassPreviewRenderers() {
34
31
  return [
35
32
  (_class) => (_jsx(ClassDiagramPreview, { _class: _class }, void 0)),
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAiBhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,kEAAkE,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,MAAM,oBAAoB,GAAG,SAAS,CAAC;AACvC,MAAM,yCAAyC,GAAG,0BAA0B,CAAC;AAE7E,MAAM,OAAO,6BACX,SAAQ,kBAAkB;IAG1B;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,YAAY,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,aAAwC;QAC9C,aAAa,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAEQ,6BAA6B;QACpC,OAAO;YACL,CAAC,MAAa,EAAmB,EAAE,CAAC,CAClC,KAA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C;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,4CAA4C;QAC1C,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,OAAO,EAAE;oBAC9B,OAAO,yCAAyC,CAAC;iBAClD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iCAAiC;QAC/B,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACrD,CAAC;IAED,sCAAsC;QACpC,OAAO;YACL,CAAC,WAAwB,EAAE,OAA2B,EAAQ,EAAE;gBAC9D,oCAAoC;gBACpC,IAAI,WAAW,CAAC,kBAAkB,YAAY,kBAAkB,EAAE;oBAChE,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBAClD;YACH,CAAC;SACF,CAAC;IACJ,CAAC;IAED,sCAAsC;QACpC,OAAO;YACL,CAAC,WAAwB,EAAE,OAA2B,EAAQ,EAAE;gBAC9D,oCAAoC;gBACpC,IAAI,WAAW,CAAC,kBAAkB,YAAY,kBAAkB,EAAE;oBAChE,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBAClD;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSLDiagram_LegendStudioPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_LegendStudioPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAgBhD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,kEAAkE,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CA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gBAClC,IAAI,IAAI,KAAK,oBAAoB,EAAE;oBACjC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;iBAC1B;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,kCAAkC;QAChC,OAAO;YACL,CACE,WAAwB,EACxB,OAA2B,EACK,EAAE;gBAClC,IAAI,OAAO,YAAY,OAAO,EAAE;oBAC9B,OAAO,IAAI,kBAAkB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;iBACrD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,4CAA4C;QAC1C,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,OAAO,EAAE;oBAC9B,OAAO,yCAAyC,CAAC;iBAClD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iCAAiC;QAC/B,OAAO,CAAC,yCAAyC,CAAC,CAAC;IACrD,CAAC;IAED,sCAAsC;QACpC,OAAO;YACL,CAAC,WAAwB,EAAE,OAA2B,EAAQ,EAAE;gBAC9D,oCAAoC;gBACpC,IAAI,WAAW,CAAC,kBAAkB,YAAY,kBAAkB,EAAE;oBAChE,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBAClD;YACH,CAAC;SACF,CAAC;IACJ,CAAC;IAED,sCAAsC;QACpC,OAAO;YACL,CAAC,WAAwB,EAAE,OAA2B,EAAQ,EAAE;gBAC9D,oCAAoC;gBACpC,IAAI,WAAW,CAAC,kBAAkB,YAAY,kBAAkB,EAAE;oBAChE,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;iBAClD;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -14,11 +14,10 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { Clazz } from '@finos/legend-shared';
17
- import type { DeadReferencesCleaner, GraphPluginManager, PackageableElement } from '@finos/legend-graph';
17
+ import type { DeadReferencesCleaner, PackageableElement } from '@finos/legend-graph';
18
18
  import { PureGraphPlugin } from '@finos/legend-graph';
19
19
  export declare class DSLDiagram_PureGraphPlugin extends PureGraphPlugin {
20
20
  constructor();
21
- install(pluginManager: GraphPluginManager): void;
22
21
  getExtraPureGraphExtensionClasses(): Clazz<PackageableElement>[];
23
22
  getExtraDeadReferencesCleaners(): DeadReferencesCleaner[];
24
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_PureGraphPlugin.d.ts","sourceRoot":"","sources":["../../src/graph/DSLDiagram_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EACV,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,qBAAa,0BAA2B,SAAQ,eAAe;;IAK7D,OAAO,CAAC,aAAa,EAAE,kBAAkB,GAAG,IAAI;IAIvC,iCAAiC,IAAI,KAAK,CAAC,kBAAkB,CAAC,EAAE;IAIhE,8BAA8B,IAAI,qBAAqB,EAAE;CAWnE"}
1
+ {"version":3,"file":"DSLDiagram_PureGraphPlugin.d.ts","sourceRoot":"","sources":["../../src/graph/DSLDiagram_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EACV,qBAAqB,EACrB,kBAAkB,EAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,qBAAa,0BAA2B,SAAQ,eAAe;;IAKpD,iCAAiC,IAAI,KAAK,CAAC,kBAAkB,CAAC,EAAE;IAIhE,8BAA8B,IAAI,qBAAqB,EAAE;CAWnE"}
@@ -21,9 +21,6 @@ export class DSLDiagram_PureGraphPlugin extends PureGraphPlugin {
21
21
  constructor() {
22
22
  super(packageJson.extensions.pureGraphPlugin, packageJson.version);
23
23
  }
24
- install(pluginManager) {
25
- pluginManager.registerPureGraphPlugin(this);
26
- }
27
24
  getExtraPureGraphExtensionClasses() {
28
25
  return [Diagram];
29
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLDiagram_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAQ7C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,+DAA+D,CAAC;AACxF,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAE1E,MAAM,OAAO,0BAA2B,SAAQ,eAAe;IAC7D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAED,OAAO,CAAC,aAAiC;QACvC,aAAa,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IAEQ,iCAAiC;QACxC,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEQ,8BAA8B;QACrC,OAAO;YACL,CAAC,KAAgB,EAAQ,EAAE;gBACzB,KAAK;qBACF,2BAA2B,CAAC,OAAO,CAAC;qBACpC,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAC5B,8BAA8B,CAAC,OAAO,EAAE,KAAK,CAAC,CAC/C,CAAC;YACN,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSLDiagram_PureGraphPlugin.js","sourceRoot":"","sources":["../../src/graph/DSLDiagram_PureGraphPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAO7C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,+DAA+D,CAAC;AACxF,OAAO,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAE1E,MAAM,OAAO,0BAA2B,SAAQ,eAAe;IAC7D;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAEQ,iCAAiC;QACxC,OAAO,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAEQ,8BAA8B;QACrC,OAAO;YACL,CAAC,KAAgB,EAAQ,EAAE;gBACzB,KAAK;qBACF,2BAA2B,CAAC,OAAO,CAAC;qBACpC,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAC5B,8BAA8B,CAAC,OAAO,EAAE,KAAK,CAAC,CAC/C,CAAC;YACN,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
@@ -13,11 +13,10 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { GraphPluginManager, PureGrammarElementLabeler } from '@finos/legend-graph';
16
+ import type { PureGrammarElementLabeler } from '@finos/legend-graph';
17
17
  import { PureGraphManagerPlugin } from '@finos/legend-graph';
18
18
  export declare class DSLDiagram_PureGraphManagerPlugin extends PureGraphManagerPlugin {
19
19
  constructor();
20
- install(pluginManager: GraphPluginManager): void;
21
20
  getExtraPureGrammarParserNames(): string[];
22
21
  getExtraPureGrammarKeywords(): string[];
23
22
  getExtraPureGrammarElementLabelers(): PureGrammarElementLabeler[];
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EACV,kBAAkB,EAElB,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAM7D,qBAAa,iCAAkC,SAAQ,sBAAsB;;IAK3E,OAAO,CAAC,aAAa,EAAE,kBAAkB,GAAG,IAAI;IAIvC,8BAA8B,IAAI,MAAM,EAAE;IAI1C,2BAA2B,IAAI,MAAM,EAAE;IAIvC,kCAAkC,IAAI,yBAAyB,EAAE;CAU3E"}
1
+ {"version":3,"file":"DSLDiagram_PureGraphManagerPlugin.d.ts","sourceRoot":"","sources":["../../src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAEV,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAM7D,qBAAa,iCAAkC,SAAQ,sBAAsB;;IAKlE,8BAA8B,IAAI,MAAM,EAAE;IAI1C,2BAA2B,IAAI,MAAM,EAAE;IAIvC,kCAAkC,IAAI,yBAAyB,EAAE;CAU3E"}
@@ -22,9 +22,6 @@ export class DSLDiagram_PureGraphManagerPlugin extends PureGraphManagerPlugin {
22
22
  constructor() {
23
23
  super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
24
24
  }
25
- install(pluginManager) {
26
- pluginManager.registerPureGraphManagerPlugin(this);
27
- }
28
25
  getExtraPureGrammarParserNames() {
29
26
  return [PURE_GRAMMAR_DIAGRAM_PARSER_NAME];
30
27
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_PureGraphManagerPlugin.js","sourceRoot":"","sources":["../../src/graphManager/DSLDiagram_PureGraphManagerPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;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W,CAAC,UAAU,CAAC,sBAAsB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEQ,8BAA8B;QACrC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC5C,CAAC;IAEQ,2BAA2B;QAClC,OAAO,CAAC,uCAAuC,CAAC,CAAC;IACnD,CAAC;IAEQ,kCAAkC;QACzC,OAAO;YACL,CAAC,OAA2B,EAAsB,EAAE;gBAClD,IAAI,OAAO,YAAY,OAAO,EAAE;oBAC9B,OAAO,uCAAuC,CAAC;iBAChD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-diagram v1.0.2
1
+ /** @license @finos/legend-extension-dsl-diagram v1.0.3
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,12 +13,11 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import type { GraphPluginManager, V1_ElementProtocolClassifierPathGetter, V1_ElementProtocolDeserializer, V1_ElementProtocolSerializer, V1_ElementTransformer, V1_PackageableElement } from '@finos/legend-graph';
16
+ import type { V1_ElementProtocolClassifierPathGetter, V1_ElementProtocolDeserializer, V1_ElementProtocolSerializer, V1_ElementTransformer, V1_PackageableElement } from '@finos/legend-graph';
17
17
  import { PureProtocolProcessorPlugin, V1_ElementBuilder } from '@finos/legend-graph';
18
18
  export declare const V1_DSLDiagram_PackageableElementPointerType = "DIAGRAM";
19
19
  export declare class DSLDiagram_PureProtocolProcessorPlugin extends PureProtocolProcessorPlugin {
20
20
  constructor();
21
- install(pluginManager: GraphPluginManager): void;
22
21
  V1_getExtraElementBuilders(): V1_ElementBuilder<V1_PackageableElement>[];
23
22
  V1_getExtraElementClassifierPathGetters(): V1_ElementProtocolClassifierPathGetter[];
24
23
  V1_getExtraElementProtocolSerializers(): V1_ElementProtocolSerializer[];
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EACV,kBAAkB,EAElB,sCAAsC,EACtC,8BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EAGrB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAa7B,eAAO,MAAM,2CAA2C,YAAY,CAAC;AAErE,qBAAa,sCAAuC,SAAQ,2BAA2B;;IAQrF,OAAO,CAAC,aAAa,EAAE,kBAAkB,GAAG,IAAI;IAIvC,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAgDxE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;IAczD,gCAAgC,IAAI,MAAM,EAAE;CAOtD"}
1
+ {"version":3,"file":"DSLDiagram_PureProtocolProcessorPlugin.d.ts","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAEV,sCAAsC,EACtC,8BAA8B,EAC9B,4BAA4B,EAC5B,qBAAqB,EAGrB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AAa7B,eAAO,MAAM,2CAA2C,YAAY,CAAC;AAErE,qBAAa,sCAAuC,SAAQ,2BAA2B;;IAQ5E,0BAA0B,IAAI,iBAAiB,CAAC,qBAAqB,CAAC,EAAE;IAgDxE,uCAAuC,IAAI,sCAAsC,EAAE;IAWnF,qCAAqC,IAAI,4BAA4B,EAAE;IAcvE,uCAAuC,IAAI,8BAA8B,EAAE;IAc3E,8BAA8B,IAAI,qBAAqB,EAAE;IAczD,gCAAgC,IAAI,MAAM,EAAE;CAOtD"}
@@ -29,9 +29,6 @@ export class DSLDiagram_PureProtocolProcessorPlugin extends PureProtocolProcesso
29
29
  constructor() {
30
30
  super(packageJson.extensions.pureProtocolProcessorPlugin, packageJson.version);
31
31
  }
32
- install(pluginManager) {
33
- pluginManager.registerPureProtocolProcessorPlugin(this);
34
- }
35
32
  V1_getExtraElementBuilders() {
36
33
  return [
37
34
  new V1_ElementBuilder({
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,qBAAqB,EACrB,gCAAgC,GACjC,MAAM,+DAA+D,CAAC;AAYvE,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,2DAA2D,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,qDAAqD,CAAC;AACjF,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,gEAAgE,CAAC;AAExE,MAAM,+BAA+B,GACnC,yCA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BACvC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,gCAAgC;QACvC,OAAO;YACL,wBAAwB;YACxB,6BAA6B;YAC7B,6BAA6B;SAC9B,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSLDiagram_PureProtocolProcessorPlugin.js","sourceRoot":"","sources":["../../../../src/models/protocols/pure/DSLDiagram_PureProtocolProcessorPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,mDAAmD,CAAC;AAE/E,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EACL,qBAAqB,EACrB,gCAAgC,GACjC,MAAM,+DAA+D,CAAC;AAWvE,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,2DAA2D,CAAC;AACpF,OAAO,EAAE,UAAU,EAAE,MAAM,qDAAqD,CAAC;AACjF,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,gEAAgE,CAAC;AAExE,MAAM,+BAA+B,GACnC,yCAAyC,CAAC;AAE5C,MAAM,CAAC,MAAM,2CAA2C,GAAG,SAAS,CAAC;AAErE,MAAM,OAAO,sCAAuC,SAAQ,2BAA2B;IACrF;QACE,KAAK,CACH,WAAW,CAAC,UAAU,CAAC,2BAA2B,EAClD,WAAW,CAAC,OAAO,CACpB,CAAC;IACJ,CAAC;IAEQ,0BAA0B;QACjC,OAAO;YACL,IAAI,iBAAiB,CAAa;gBAChC,gBAAgB,EAAE,SAAS;gBAC3B,MAAM,EAAE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;IACJ,CAAC;IAEQ,uCAAuC;QAC9C,OAAO;YACL,CAAC,eAAsC,EAAsB,EAAE;gBAC7D,IAAI,eAAe,YAAY,UAAU,EAAE;oBACzC,OAAO,+BAA+B,CAAC;iBACxC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,qCAAqC;QAC5C,OAAO;YACL,CACE,eAAsC,EACtC,OAAsC,EACU,EAAE;gBAClD,IAAI,eAAe,YAAY,UAAU,EAAE;oBACzC,OAAO,SAAS,CAAC,qBAAqB,EAAE,eAAe,CAAC,CAAC;iBAC1D;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,uCAAuC;QAC9C,OAAO;YACL,CACE,IAAwC,EACxC,OAAsC,EACH,EAAE;gBACrC,IAAI,IAAI,CAAC,KAAK,KAAK,gCAAgC,EAAE;oBACnD,OAAO,WAAW,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;iBACjD;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,8BAA8B;QACrC,OAAO;YACL,CACE,SAA6B,EAC7B,OAAmC,EACA,EAAE;gBACrC,IAAI,SAAS,YAAY,OAAO,EAAE;oBAChC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC;iBACvC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,gCAAgC;QACvC,OAAO;YACL,wBAAwB;YACxB,6BAA6B;YAC7B,6BAA6B;SAC9B,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -38,15 +38,15 @@
38
38
  "test:watch": "jest --watch"
39
39
  },
40
40
  "dependencies": {
41
- "@finos/legend-application": "0.2.2",
42
- "@finos/legend-art": "0.1.2",
43
- "@finos/legend-graph": "0.2.5",
44
- "@finos/legend-model-storage": "0.0.9",
45
- "@finos/legend-shared": "0.0.9",
46
- "@finos/legend-studio": "2.0.2",
41
+ "@finos/legend-application": "1.0.0",
42
+ "@finos/legend-art": "0.2.0",
43
+ "@finos/legend-graph": "0.3.0",
44
+ "@finos/legend-model-storage": "0.0.10",
45
+ "@finos/legend-shared": "1.0.0",
46
+ "@finos/legend-studio": "2.1.0",
47
47
  "@material-ui/core": "4.12.3",
48
- "@types/react": "17.0.36",
49
- "mobx": "6.3.7",
48
+ "@types/react": "17.0.37",
49
+ "mobx": "6.3.8",
50
50
  "mobx-react-lite": "3.2.2",
51
51
  "react": "17.0.2",
52
52
  "react-dnd": "14.0.4",
@@ -56,15 +56,15 @@
56
56
  "serializr": "2.0.5"
57
57
  },
58
58
  "devDependencies": {
59
- "@finos/legend-dev-utils": "0.2.1",
59
+ "@finos/legend-dev-utils": "0.3.0",
60
60
  "@testing-library/react": "12.1.2",
61
61
  "cross-env": "7.0.3",
62
62
  "eslint": "8.3.0",
63
- "jest": "27.3.1",
63
+ "jest": "27.4.3",
64
64
  "jest-canvas-mock": "2.3.1",
65
65
  "npm-run-all": "4.1.5",
66
66
  "rimraf": "3.0.2",
67
- "sass": "1.43.4",
67
+ "sass": "1.44.0",
68
68
  "typescript": "4.5.2"
69
69
  },
70
70
  "peerDependencies": {
@@ -16,7 +16,6 @@
16
16
 
17
17
  import packageJson from '../../../package.json';
18
18
  import type {
19
- LegendStudioPluginManager,
20
19
  NewElementFromStateCreator,
21
20
  EditorStore,
22
21
  ElementEditorState,
@@ -50,10 +49,6 @@ export class DSLDiagram_LegendStudioPlugin
50
49
  super(packageJson.extensions.studioPlugin, packageJson.version);
51
50
  }
52
51
 
53
- install(pluginManager: LegendStudioPluginManager): void {
54
- pluginManager.registerStudioPlugin(this);
55
- }
56
-
57
52
  override getExtraClassPreviewRenderers(): ClassPreviewRenderer[] {
58
53
  return [
59
54
  (_class: Class): React.ReactNode => (
@@ -18,7 +18,6 @@ import packageJson from '../../package.json';
18
18
  import type { Clazz } from '@finos/legend-shared';
19
19
  import type {
20
20
  DeadReferencesCleaner,
21
- GraphPluginManager,
22
21
  PackageableElement,
23
22
  PureModel,
24
23
  } from '@finos/legend-graph';
@@ -31,10 +30,6 @@ export class DSLDiagram_PureGraphPlugin extends PureGraphPlugin {
31
30
  super(packageJson.extensions.pureGraphPlugin, packageJson.version);
32
31
  }
33
32
 
34
- install(pluginManager: GraphPluginManager): void {
35
- pluginManager.registerPureGraphPlugin(this);
36
- }
37
-
38
33
  override getExtraPureGraphExtensionClasses(): Clazz<PackageableElement>[] {
39
34
  return [Diagram];
40
35
  }
@@ -16,7 +16,6 @@
16
16
 
17
17
  import packageJson from '../../package.json';
18
18
  import type {
19
- GraphPluginManager,
20
19
  PackageableElement,
21
20
  PureGrammarElementLabeler,
22
21
  } from '@finos/legend-graph';
@@ -31,10 +30,6 @@ export class DSLDiagram_PureGraphManagerPlugin extends PureGraphManagerPlugin {
31
30
  super(packageJson.extensions.pureGraphManagerPlugin, packageJson.version);
32
31
  }
33
32
 
34
- install(pluginManager: GraphPluginManager): void {
35
- pluginManager.registerPureGraphManagerPlugin(this);
36
- }
37
-
38
33
  override getExtraPureGrammarParserNames(): string[] {
39
34
  return [PURE_GRAMMAR_DIAGRAM_PARSER_NAME];
40
35
  }
@@ -24,7 +24,6 @@ import {
24
24
  V1_DIAGRAM_ELEMENT_PROTOCOL_TYPE,
25
25
  } from './v1/transformation/pureProtocol/V1_DSLDiagram_ProtocolHelper';
26
26
  import type {
27
- GraphPluginManager,
28
27
  PackageableElement,
29
28
  V1_ElementProtocolClassifierPathGetter,
30
29
  V1_ElementProtocolDeserializer,
@@ -60,10 +59,6 @@ export class DSLDiagram_PureProtocolProcessorPlugin extends PureProtocolProcesso
60
59
  );
61
60
  }
62
61
 
63
- install(pluginManager: GraphPluginManager): void {
64
- pluginManager.registerPureProtocolProcessorPlugin(this);
65
- }
66
-
67
62
  override V1_getExtraElementBuilders(): V1_ElementBuilder<V1_PackageableElement>[] {
68
63
  return [
69
64
  new V1_ElementBuilder<V1_Diagram>({