@finos/legend-extension-dsl-data-space-studio 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +3 -0
  3. package/lib/__lib__/DSL_DataSpace_LegendStudioCodeSnippet.d.ts +17 -0
  4. package/lib/__lib__/DSL_DataSpace_LegendStudioCodeSnippet.d.ts.map +1 -0
  5. package/lib/__lib__/DSL_DataSpace_LegendStudioCodeSnippet.js +54 -0
  6. package/lib/__lib__/DSL_DataSpace_LegendStudioCodeSnippet.js.map +1 -0
  7. package/lib/__lib__/DSL_DataSpace_LegendStudioDocumentation.d.ts +21 -0
  8. package/lib/__lib__/DSL_DataSpace_LegendStudioDocumentation.d.ts.map +1 -0
  9. package/lib/__lib__/DSL_DataSpace_LegendStudioDocumentation.js +22 -0
  10. package/lib/__lib__/DSL_DataSpace_LegendStudioDocumentation.js.map +1 -0
  11. package/lib/components/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts +39 -0
  12. package/lib/components/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -0
  13. package/lib/components/DSL_DataSpace_LegendStudioApplicationPlugin.js +206 -0
  14. package/lib/components/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +1 -0
  15. package/lib/components/DataSpacePreviewAction.d.ts +25 -0
  16. package/lib/components/DataSpacePreviewAction.d.ts.map +1 -0
  17. package/lib/components/DataSpacePreviewAction.js +53 -0
  18. package/lib/components/DataSpacePreviewAction.js.map +1 -0
  19. package/lib/components/DataSpaceQueryAction.d.ts +24 -0
  20. package/lib/components/DataSpaceQueryAction.d.ts.map +1 -0
  21. package/lib/components/DataSpaceQueryAction.js +52 -0
  22. package/lib/components/DataSpaceQueryAction.js.map +1 -0
  23. package/lib/components/DataSpaceTemplateQueryPromoteReview.d.ts +19 -0
  24. package/lib/components/DataSpaceTemplateQueryPromoteReview.d.ts.map +1 -0
  25. package/lib/components/DataSpaceTemplateQueryPromoteReview.js +81 -0
  26. package/lib/components/DataSpaceTemplateQueryPromoteReview.js.map +1 -0
  27. package/lib/index.css +17 -0
  28. package/lib/index.css.map +1 -0
  29. package/lib/index.d.ts +17 -0
  30. package/lib/index.d.ts.map +1 -0
  31. package/lib/index.js +17 -0
  32. package/lib/index.js.map +1 -0
  33. package/lib/package.json +75 -0
  34. package/lib/stores/DataSpacePreviewState.d.ts +33 -0
  35. package/lib/stores/DataSpacePreviewState.d.ts.map +1 -0
  36. package/lib/stores/DataSpacePreviewState.js +116 -0
  37. package/lib/stores/DataSpacePreviewState.js.map +1 -0
  38. package/lib/stores/DataSpaceTemplateQueryPromotionReviewerStore.d.ts +61 -0
  39. package/lib/stores/DataSpaceTemplateQueryPromotionReviewerStore.d.ts.map +1 -0
  40. package/lib/stores/DataSpaceTemplateQueryPromotionReviewerStore.js +406 -0
  41. package/lib/stores/DataSpaceTemplateQueryPromotionReviewerStore.js.map +1 -0
  42. package/package.json +75 -0
  43. package/src/__lib__/DSL_DataSpace_LegendStudioCodeSnippet.ts +54 -0
  44. package/src/__lib__/DSL_DataSpace_LegendStudioDocumentation.ts +21 -0
  45. package/src/components/DSL_DataSpace_LegendStudioApplicationPlugin.tsx +299 -0
  46. package/src/components/DataSpacePreviewAction.tsx +136 -0
  47. package/src/components/DataSpaceQueryAction.tsx +100 -0
  48. package/src/components/DataSpaceTemplateQueryPromoteReview.tsx +292 -0
  49. package/src/index.ts +17 -0
  50. package/src/stores/DataSpacePreviewState.ts +199 -0
  51. package/src/stores/DataSpaceTemplateQueryPromotionReviewerStore.ts +636 -0
  52. package/tsconfig.json +54 -0
  53. package/tsconfig.package.json +37 -0
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright (c) 2020-present, Goldman Sachs
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @finos/legend-extension-dsl-data-space-studio
2
+
3
+ Legend extension for Data Space DSL Studio
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare const SIMPLE_DATA_SPACE_SNIPPET = "DataSpace ${1:model::NewDataSpace}\n{\n executionContexts:\n [\n {\n name: '${5:Some Context}';\n title: 'New Execution Context';\n description: 'some information about the execution context';\n mapping: ${6:model::SomeMapping};\n defaultRuntime: ${7:model::SomeRuntime};\n }\n ];\n defaultExecutionContext: '${5:Some Context}';\n // description: 'description of the data models';\n // diagrams:\n // [\n // {\n // title: 'Some Diagram';\n // description: 'some diagram';\n // diagram: model::SomeDiagram;\n // }\n // ];\n // elements:\n // [\n // model::SomeClass,\n // ];\n // executables:\n // [\n // {\n // title: 'Some Executable';\n // description: 'some executable';\n // executable: model::SomeExecutable;\n // }\n // ];\n // supportInfo: Email {\n // address: 'someEmail@test.org';\n // };\n}";
17
+ //# sourceMappingURL=DSL_DataSpace_LegendStudioCodeSnippet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendStudioCodeSnippet.d.ts","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendStudioCodeSnippet.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,yBAAyB,q4BAqCpC,CAAC"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export const SIMPLE_DATA_SPACE_SNIPPET = `DataSpace \${1:model::NewDataSpace}
17
+ {
18
+ executionContexts:
19
+ [
20
+ {
21
+ name: '\${5:Some Context}';
22
+ title: 'New Execution Context';
23
+ description: 'some information about the execution context';
24
+ mapping: \${6:model::SomeMapping};
25
+ defaultRuntime: \${7:model::SomeRuntime};
26
+ }
27
+ ];
28
+ defaultExecutionContext: '\${5:Some Context}';
29
+ // description: 'description of the data models';
30
+ // diagrams:
31
+ // [
32
+ // {
33
+ // title: 'Some Diagram';
34
+ // description: 'some diagram';
35
+ // diagram: model::SomeDiagram;
36
+ // }
37
+ // ];
38
+ // elements:
39
+ // [
40
+ // model::SomeClass,
41
+ // ];
42
+ // executables:
43
+ // [
44
+ // {
45
+ // title: 'Some Executable';
46
+ // description: 'some executable';
47
+ // executable: model::SomeExecutable;
48
+ // }
49
+ // ];
50
+ // supportInfo: Email {
51
+ // address: 'someEmail@test.org';
52
+ // };
53
+ }`;
54
+ //# sourceMappingURL=DSL_DataSpace_LegendStudioCodeSnippet.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendStudioCodeSnippet.js","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendStudioCodeSnippet.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqCvC,CAAC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare enum DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY {
17
+ GRAMMAR_PARSER = "dsl-dataspace.grammar.parser",
18
+ CONCEPT_ELEMENT_DATA_SPACE = "dsl-dataspace.concept.element.data-space",
19
+ CURATED_TEMPLATE_QUERY = "dsl-dataspace.curated-template-query"
20
+ }
21
+ //# sourceMappingURL=DSL_DataSpace_LegendStudioDocumentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendStudioDocumentation.d.ts","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,8CAA8C;IACxD,cAAc,iCAAiC;IAC/C,0BAA0B,6CAA6C;IACvE,sBAAsB,yCAAyC;CAChE"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export var DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY;
17
+ (function (DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY) {
18
+ DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY["GRAMMAR_PARSER"] = "dsl-dataspace.grammar.parser";
19
+ DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY["CONCEPT_ELEMENT_DATA_SPACE"] = "dsl-dataspace.concept.element.data-space";
20
+ DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY["CURATED_TEMPLATE_QUERY"] = "dsl-dataspace.curated-template-query";
21
+ })(DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY || (DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY = {}));
22
+ //# sourceMappingURL=DSL_DataSpace_LegendStudioDocumentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendStudioDocumentation.js","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,8CAIX;AAJD,WAAY,8CAA8C;IACxD,iGAA+C,CAAA;IAC/C,yHAAuE,CAAA;IACvE,iHAA+D,CAAA;AACjE,CAAC,EAJW,8CAA8C,KAA9C,8CAA8C,QAIzD"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { type NewElementFromStateCreator, type ElementClassifier, type DragElementClassifier, type ElementIconGetter, type DSL_LegendStudioApplicationPlugin_Extension, type ElementEditorStateCreator, type PureGrammarParserElementDocumentationGetter, type PureGrammarParserDocumentationGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementSnippetSuggestionsGetter, LegendStudioApplicationPlugin, type ExplorerContextMenuItemRendererConfiguration, type EditorExtensionStateBuilder, type EditorExtensionComponentRendererConfiguration } from '@finos/legend-application-studio';
17
+ import type { ApplicationPageEntry } from '@finos/legend-application';
18
+ export declare class DSL_DataSpace_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin implements DSL_LegendStudioApplicationPlugin_Extension {
19
+ constructor();
20
+ getExtraRequiredDocumentationKeys(): string[];
21
+ getExtraApplicationPageEntries(): ApplicationPageEntry[];
22
+ getExtraExplorerContextMenuItemRendererConfigurations(): ExplorerContextMenuItemRendererConfiguration[];
23
+ getExtraEditorExtensionStateBuilders(): EditorExtensionStateBuilder[];
24
+ getExtraEditorExtensionComponentRendererConfigurations(): EditorExtensionComponentRendererConfiguration[];
25
+ getExtraPureGrammarKeywords(): string[];
26
+ getExtraSupportedElementTypes(): string[];
27
+ getExtraSupportedElementTypesWithCategory?(): Map<string, string[]>;
28
+ getExtraElementClassifiers(): ElementClassifier[];
29
+ getExtraElementIconGetters(): ElementIconGetter[];
30
+ getExtraNewElementFromStateCreators(): NewElementFromStateCreator[];
31
+ getExtraElementEditorStateCreators(): ElementEditorStateCreator[];
32
+ getExtraDragElementClassifiers(): DragElementClassifier[];
33
+ getExtraPureGrammarTextEditorDragElementTypes(): string[];
34
+ getExtraPureGrammarParserElementDocumentationGetters(): PureGrammarParserElementDocumentationGetter[];
35
+ getExtraPureGrammarParserDocumentationGetters(): PureGrammarParserDocumentationGetter[];
36
+ getExtraPureGrammarParserKeywordSuggestionGetters(): PureGrammarParserKeywordSuggestionGetter[];
37
+ getExtraPureGrammarParserElementSnippetSuggestionsGetters(): PureGrammarParserElementSnippetSuggestionsGetter[];
38
+ }
39
+ //# sourceMappingURL=DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,2CAA2C,EAEhD,KAAK,yBAAyB,EAG9B,KAAK,2CAA2C,EAChD,KAAK,oCAAoC,EACzC,KAAK,wCAAwC,EAC7C,KAAK,gDAAgD,EAErD,6BAA6B,EAC7B,KAAK,4CAA4C,EACjD,KAAK,2BAA2B,EAChC,KAAK,6CAA6C,EAEnD,MAAM,kCAAkC,CAAC;AAO1C,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AA2BnC,qBAAa,2CACX,SAAQ,6BACR,YAAW,2CAA2C;;IAM7C,iCAAiC,IAAI,MAAM,EAAE;IAO7C,8BAA8B,IAAI,oBAAoB,EAAE;IAYxD,qDAAqD,IAAI,4CAA4C,EAAE;IAuBvG,oCAAoC,IAAI,2BAA2B,EAAE;IAIrE,sDAAsD,IAAI,6CAA6C,EAAE;IASlH,2BAA2B,IAAI,MAAM,EAAE;IAIvC,6BAA6B,IAAI,MAAM,EAAE;IAIzC,yCAAyC,CAAC,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;IASnE,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,mCAAmC,IAAI,0BAA0B,EAAE;IA0BnE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,6CAA6C,IAAI,MAAM,EAAE;IAIzD,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAgBhH"}
@@ -0,0 +1,206 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import packageJson from '../../package.json' assert { type: 'json' };
18
+ import { UnsupportedElementEditorState, LegendStudioApplicationPlugin, PACKAGEABLE_ELEMENT_GROUP_BY_CATEGORY, } from '@finos/legend-application-studio';
19
+ import { PackageableElementExplicitReference, stub_Mapping, stub_PackageableRuntime, } from '@finos/legend-graph';
20
+ import { DataSpace, DataSpaceExecutionContext, } from '@finos/legend-extension-dsl-data-space/graph';
21
+ import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from '../__lib__/DSL_DataSpace_LegendStudioDocumentation.js';
22
+ import { DataSpacePreviewState } from '../stores/DataSpacePreviewState.js';
23
+ import { SIMPLE_DATA_SPACE_SNIPPET } from '../__lib__/DSL_DataSpace_LegendStudioCodeSnippet.js';
24
+ import { DATA_SPACE_STUDIO_ROUTE_PATTERN, DataSpaceIcon, } from '@finos/legend-extension-dsl-data-space/application';
25
+ import { DataSpaceTemplateQueryPromotionReviewer } from './DataSpaceTemplateQueryPromoteReview.js';
26
+ import { DataSpaceQueryAction } from './DataSpaceQueryAction.js';
27
+ import { DataSpacePreviewAction, DataSpacePreviewDialog, } from './DataSpacePreviewAction.js';
28
+ const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
29
+ const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DATA_SPACE';
30
+ const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';
31
+ const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = 'DataSpace';
32
+ export class DSL_DataSpace_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
33
+ constructor() {
34
+ super(packageJson.extensions.applicationStudioPlugin, packageJson.version);
35
+ }
36
+ getExtraRequiredDocumentationKeys() {
37
+ return [
38
+ DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.CONCEPT_ELEMENT_DATA_SPACE,
39
+ DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
40
+ ];
41
+ }
42
+ getExtraApplicationPageEntries() {
43
+ return [
44
+ {
45
+ key: 'promote-as-curated-template-query-page',
46
+ addressPatterns: [
47
+ DATA_SPACE_STUDIO_ROUTE_PATTERN.PROMOTE_TEMPLATE_QUERY,
48
+ ],
49
+ renderer: DataSpaceTemplateQueryPromotionReviewer,
50
+ },
51
+ ];
52
+ }
53
+ getExtraExplorerContextMenuItemRendererConfigurations() {
54
+ return [
55
+ {
56
+ key: 'data-space-query',
57
+ renderer: (editorStore, element) => {
58
+ if (element instanceof DataSpace) {
59
+ return _jsx(DataSpaceQueryAction, { dataSpace: element });
60
+ }
61
+ return undefined;
62
+ },
63
+ },
64
+ {
65
+ key: 'data-space-preview',
66
+ renderer: (editorStore, element) => {
67
+ if (element instanceof DataSpace) {
68
+ return _jsx(DataSpacePreviewAction, { dataSpace: element });
69
+ }
70
+ return undefined;
71
+ },
72
+ },
73
+ ];
74
+ }
75
+ getExtraEditorExtensionStateBuilders() {
76
+ return [(editorStore) => new DataSpacePreviewState(editorStore)];
77
+ }
78
+ getExtraEditorExtensionComponentRendererConfigurations() {
79
+ return [
80
+ {
81
+ key: 'data-space-preview',
82
+ renderer: (editorStore) => _jsx(DataSpacePreviewDialog, {}),
83
+ },
84
+ ];
85
+ }
86
+ getExtraPureGrammarKeywords() {
87
+ return [PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL];
88
+ }
89
+ getExtraSupportedElementTypes() {
90
+ return [DATA_SPACE_ELEMENT_TYPE];
91
+ }
92
+ getExtraSupportedElementTypesWithCategory() {
93
+ const elementTypesWithCategoryMap = new Map();
94
+ elementTypesWithCategoryMap.set(PACKAGEABLE_ELEMENT_GROUP_BY_CATEGORY.QUERY, [DATA_SPACE_ELEMENT_TYPE]);
95
+ return elementTypesWithCategoryMap;
96
+ }
97
+ getExtraElementClassifiers() {
98
+ return [
99
+ (element) => {
100
+ if (element instanceof DataSpace) {
101
+ return DATA_SPACE_ELEMENT_TYPE;
102
+ }
103
+ return undefined;
104
+ },
105
+ ];
106
+ }
107
+ getExtraElementIconGetters() {
108
+ return [
109
+ (type) => {
110
+ if (type === DATA_SPACE_ELEMENT_TYPE) {
111
+ return _jsx(DataSpaceIcon, {});
112
+ }
113
+ return undefined;
114
+ },
115
+ ];
116
+ }
117
+ getExtraNewElementFromStateCreators() {
118
+ return [
119
+ (type, name, state) => {
120
+ if (type === DATA_SPACE_ELEMENT_TYPE) {
121
+ const dataSpace = new DataSpace(name);
122
+ const dataSpaceExecutionContext = new DataSpaceExecutionContext();
123
+ dataSpaceExecutionContext.name = 'dummyContext';
124
+ dataSpaceExecutionContext.mapping =
125
+ PackageableElementExplicitReference.create(stub_Mapping());
126
+ dataSpaceExecutionContext.defaultRuntime =
127
+ PackageableElementExplicitReference.create(stub_PackageableRuntime());
128
+ dataSpace.executionContexts = [dataSpaceExecutionContext];
129
+ dataSpace.defaultExecutionContext = dataSpaceExecutionContext;
130
+ return dataSpace;
131
+ }
132
+ return undefined;
133
+ },
134
+ ];
135
+ }
136
+ getExtraElementEditorStateCreators() {
137
+ return [
138
+ (editorStore, element) => {
139
+ if (element instanceof DataSpace) {
140
+ return new UnsupportedElementEditorState(editorStore, element);
141
+ }
142
+ return undefined;
143
+ },
144
+ ];
145
+ }
146
+ getExtraDragElementClassifiers() {
147
+ return [
148
+ (element) => {
149
+ if (element instanceof DataSpace) {
150
+ return DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE;
151
+ }
152
+ return undefined;
153
+ },
154
+ ];
155
+ }
156
+ getExtraPureGrammarTextEditorDragElementTypes() {
157
+ return [DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE];
158
+ }
159
+ getExtraPureGrammarParserElementDocumentationGetters() {
160
+ return [
161
+ (editorStore, parserKeyword, elementKeyword) => {
162
+ if (parserKeyword === PURE_GRAMMAR_DATA_SPACE_PARSER_NAME) {
163
+ if (elementKeyword === PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL) {
164
+ return editorStore.applicationStore.documentationService.getDocEntry(DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.CONCEPT_ELEMENT_DATA_SPACE);
165
+ }
166
+ }
167
+ return undefined;
168
+ },
169
+ ];
170
+ }
171
+ getExtraPureGrammarParserDocumentationGetters() {
172
+ return [
173
+ (editorStore, parserKeyword) => {
174
+ if (parserKeyword === PURE_GRAMMAR_DATA_SPACE_PARSER_NAME) {
175
+ return editorStore.applicationStore.documentationService.getDocEntry(DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER);
176
+ }
177
+ return undefined;
178
+ },
179
+ ];
180
+ }
181
+ getExtraPureGrammarParserKeywordSuggestionGetters() {
182
+ return [
183
+ (editorStore) => [
184
+ {
185
+ text: PURE_GRAMMAR_DATA_SPACE_PARSER_NAME,
186
+ description: `(dsl)`,
187
+ documentation: editorStore.applicationStore.documentationService.getDocEntry(DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER),
188
+ insertText: PURE_GRAMMAR_DATA_SPACE_PARSER_NAME,
189
+ },
190
+ ],
191
+ ];
192
+ }
193
+ getExtraPureGrammarParserElementSnippetSuggestionsGetters() {
194
+ return [
195
+ (editorStore, parserKeyword) => parserKeyword === PURE_GRAMMAR_DATA_SPACE_PARSER_NAME
196
+ ? [
197
+ {
198
+ text: PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL,
199
+ insertText: SIMPLE_DATA_SPACE_SNIPPET,
200
+ },
201
+ ]
202
+ : undefined,
203
+ ];
204
+ }
205
+ }
206
+ //# sourceMappingURL=DSL_DataSpace_LegendStudioApplicationPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,oBAAoB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AACrE,OAAO,EAcL,6BAA6B,EAC7B,6BAA6B,EAI7B,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,mCAAmC,EACnC,YAAY,EACZ,uBAAuB,GAExB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EACL,SAAS,EACT,yBAAyB,GAC1B,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,8CAA8C,EAAE,MAAM,uDAAuD,CAAC;AACvH,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,yBAAyB,EAAE,MAAM,qDAAqD,CAAC;AAChG,OAAO,EACL,+BAA+B,EAC/B,aAAa,GACd,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EAAE,uCAAuC,EAAE,MAAM,0CAA0C,CAAC;AACnG,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EACL,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AAErC,MAAM,uBAAuB,GAAG,YAAY,CAAC;AAC7C,MAAM,4CAA4C,GAChD,6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8C,CAAC,cAAc,CAC9D,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,mCAAmC;oBACzC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,8CAA8C,CAAC,cAAc,CAC9D;oBACH,UAAU,EAAE,mCAAmC;iBAChD;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,mCAAmC;gBACnD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,0CAA0C;wBAChD,UAAU,EAAE,yBAAyB;qBACtC;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { DataSpace } from '@finos/legend-extension-dsl-data-space/graph';
17
+ export declare const DataSpacePreviewAction: ((props: {
18
+ dataSpace: DataSpace;
19
+ }) => import("react/jsx-runtime").JSX.Element | null) & {
20
+ displayName: string;
21
+ };
22
+ export declare const DataSpacePreviewDialog: (() => import("react/jsx-runtime").JSX.Element | null) & {
23
+ displayName: string;
24
+ };
25
+ //# sourceMappingURL=DataSpacePreviewAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpacePreviewAction.d.ts","sourceRoot":"","sources":["../../src/components/DataSpacePreviewAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAC;AAI9E,eAAO,MAAM,sBAAsB,WACzB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE;;CAoBjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CA4EjC,CAAC"}