@finos/legend-extension-dsl-data-space 10.2.3 → 10.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/{components → __lib__}/query/DSL_DataSpace_LegendQueryDocumentation.d.ts +1 -1
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryDocumentation.d.ts.map +1 -0
- package/lib/{components → __lib__}/query/DSL_DataSpace_LegendQueryDocumentation.js +4 -4
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryDocumentation.js.map +1 -0
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.d.ts +0 -12
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.d.ts.map +1 -1
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.js +0 -12
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.js.map +1 -1
- package/lib/__lib__/shared/DSL_DataSpace_LegendNavigation.d.ts +15 -0
- package/lib/__lib__/shared/DSL_DataSpace_LegendNavigation.d.ts.map +1 -0
- package/lib/__lib__/shared/DSL_DataSpace_LegendNavigation.js +32 -0
- package/lib/__lib__/shared/DSL_DataSpace_LegendNavigation.js.map +1 -0
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/index.d.ts +4 -2
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +4 -2
- package/lib/components/index.js.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +3 -2
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilder.d.ts +2 -5
- package/lib/components/query/DataSpaceQueryBuilder.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilder.js +5 -24
- package/lib/components/query/DataSpaceQueryBuilder.js.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts +1 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.d.ts.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js +2 -2
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js.map +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js +1 -1
- package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
- package/lib/components/shared/DSL_DataSpace_Icon.d.ts.map +1 -0
- package/lib/components/shared/DSL_DataSpace_Icon.js.map +1 -0
- package/lib/graph-manager/index.d.ts +3 -0
- package/lib/graph-manager/index.d.ts.map +1 -1
- package/lib/graph-manager/index.js +4 -0
- package/lib/graph-manager/index.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -4
- package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.js +1 -1
- package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.js +1 -1
- package/lib/stores/query/DataSpaceQueryCreatorStore.js.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.d.ts +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js +1 -1
- package/lib/stores/query/DataSpaceQuerySetupStore.js.map +1 -1
- package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.js +1 -1
- package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.js.map +1 -1
- package/lib/stores/{query → query-builder}/DataSpaceQueryBuilderState.d.ts +2 -2
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/{query → query-builder}/DataSpaceQueryBuilderState.js +2 -2
- package/lib/stores/query-builder/DataSpaceQueryBuilderState.js.map +1 -0
- package/lib/stores/shared/DataSpaceInfo.d.ts.map +1 -0
- package/lib/stores/shared/DataSpaceInfo.js.map +1 -0
- package/package.json +6 -9
- package/src/{components → __lib__}/query/DSL_DataSpace_LegendQueryDocumentation.ts +1 -1
- package/src/__lib__/query/DSL_DataSpace_LegendQueryNavigation.ts +0 -34
- package/src/__lib__/shared/DSL_DataSpace_LegendNavigation.ts +57 -0
- package/src/components/DSL_DataSpace_LegendApplicationPlugin.tsx +1 -1
- package/src/components/index.ts +6 -2
- package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +3 -3
- package/src/components/query/DataSpaceAdvancedSearchModal.tsx +1 -1
- package/src/components/query/DataSpaceQueryBuilder.tsx +7 -68
- package/src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +3 -3
- package/src/components/query/DataSpaceQuerySetup.tsx +1 -1
- package/src/graph-manager/index.ts +5 -0
- package/src/stores/query/DataSpaceAdvancedSearchState.ts +4 -1
- package/src/stores/query/DataSpaceQueryCreatorStore.ts +2 -2
- package/src/stores/query/DataSpaceQuerySetupStore.ts +4 -1
- package/src/stores/query/DataSpaceTemplateQueryCreatorStore.ts +2 -2
- package/src/stores/{query → query-builder}/DataSpaceQueryBuilderState.ts +5 -2
- package/tsconfig.json +5 -13
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.d.ts +0 -17
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.d.ts.map +0 -1
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.js +0 -54
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.js.map +0 -1
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts +0 -20
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.d.ts.map +0 -1
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.js +0 -21
- package/lib/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.js.map +0 -1
- package/lib/components/DSL_DataSpace_Icon.d.ts.map +0 -1
- package/lib/components/DSL_DataSpace_Icon.js.map +0 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryDocumentation.d.ts.map +0 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryDocumentation.js.map +0 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts +0 -39
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +0 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js +0 -207
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +0 -1
- package/lib/components/studio/DataSpacePreviewAction.d.ts +0 -25
- package/lib/components/studio/DataSpacePreviewAction.d.ts.map +0 -1
- package/lib/components/studio/DataSpacePreviewAction.js +0 -53
- package/lib/components/studio/DataSpacePreviewAction.js.map +0 -1
- package/lib/components/studio/DataSpaceQueryAction.d.ts +0 -22
- package/lib/components/studio/DataSpaceQueryAction.d.ts.map +0 -1
- package/lib/components/studio/DataSpaceQueryAction.js +0 -29
- package/lib/components/studio/DataSpaceQueryAction.js.map +0 -1
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.d.ts +0 -19
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.d.ts.map +0 -1
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js +0 -81
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js.map +0 -1
- package/lib/components/studio/index.d.ts +0 -17
- package/lib/components/studio/index.d.ts.map +0 -1
- package/lib/components/studio/index.js +0 -17
- package/lib/components/studio/index.js.map +0 -1
- package/lib/stores/query/DataSpaceInfo.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceInfo.js.map +0 -1
- package/lib/stores/query/DataSpaceQueryBuilderState.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceQueryBuilderState.js.map +0 -1
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.d.ts +0 -61
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.d.ts.map +0 -1
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js +0 -407
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js.map +0 -1
- package/lib/stores/studio/DataSpacePreviewState.d.ts +0 -33
- package/lib/stores/studio/DataSpacePreviewState.d.ts.map +0 -1
- package/lib/stores/studio/DataSpacePreviewState.js +0 -117
- package/lib/stores/studio/DataSpacePreviewState.js.map +0 -1
- package/src/__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.ts +0 -54
- package/src/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.ts +0 -20
- package/src/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.tsx +0 -297
- package/src/components/studio/DataSpacePreviewAction.tsx +0 -136
- package/src/components/studio/DataSpaceQueryAction.tsx +0 -34
- package/src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx +0 -292
- package/src/components/studio/index.ts +0 -17
- package/src/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.ts +0 -636
- package/src/stores/studio/DataSpacePreviewState.ts +0 -195
- /package/lib/components/{DSL_DataSpace_Icon.d.ts → shared/DSL_DataSpace_Icon.d.ts} +0 -0
- /package/lib/components/{DSL_DataSpace_Icon.js → shared/DSL_DataSpace_Icon.js} +0 -0
- /package/lib/stores/{query → shared}/DataSpaceInfo.d.ts +0 -0
- /package/lib/stores/{query → shared}/DataSpaceInfo.js +0 -0
- /package/src/components/{DSL_DataSpace_Icon.tsx → shared/DSL_DataSpace_Icon.tsx} +0 -0
- /package/src/stores/{query → shared}/DataSpaceInfo.ts +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendStudioDocumentation.js","sourceRoot":"","sources":["../../../src/__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,8CAGX;AAHD,WAAY,8CAA8C;IACxD,iGAA+C,CAAA;IAC/C,yHAAuE,CAAA;AACzE,CAAC,EAHW,8CAA8C,KAA9C,8CAA8C,QAGzD"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_Icon.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_Icon.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAIH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAIjC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_Icon.js","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_Icon.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAa,GAAG,EAAE,CAAC,CAC3C,cAAK,SAAS,EAAC,uBAAuB,YACpC,KAAC,UAAU,KAAG,GACV,CACP,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendQueryDocumentation.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,4CAA4C;IACtD,sBAAsB,yCAAyC;CAChE"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendQueryDocumentation.js","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,4CAEX;AAFD,WAAY,4CAA4C;IACtD,+GAA+D,CAAA;AACjE,CAAC,EAFW,4CAA4C,KAA5C,4CAA4C,QAEvD"}
|
@@ -1,39 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/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;AAa1C,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,2BAA2B,CAAC;AAmBnC,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"}
|
@@ -1,207 +0,0 @@
|
|
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 '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
21
|
-
import { DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY } from '../../__lib__/studio/DSL_DataSpace_LegendStudioDocumentation.js';
|
22
|
-
import { SIMPLE_DATA_SPACE_SNIPPET } from '../../__lib__/studio/DSL_DataSpace_LegendStudioCodeSnippet.js';
|
23
|
-
import { DataSpaceIcon } from '../DSL_DataSpace_Icon.js';
|
24
|
-
import { DataSpacePreviewState } from '../../stores/studio/DataSpacePreviewState.js';
|
25
|
-
import { DataSpacePreviewDialog, DataSpacePreviewAction, } from './DataSpacePreviewAction.js';
|
26
|
-
import { DataSpaceQueryAction } from './DataSpaceQueryAction.js';
|
27
|
-
import { DataSpaceTemplateQueryPromotionReviewer } from './DataSpaceTemplateQueryPromoteReview.js';
|
28
|
-
import { DATA_SPACE_QUERY_ROUTE_PATTERN } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
29
|
-
const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
|
30
|
-
const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DATA_SPACE';
|
31
|
-
const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';
|
32
|
-
const PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL = 'DataSpace';
|
33
|
-
export class DSL_DataSpace_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
|
34
|
-
constructor() {
|
35
|
-
super(packageJson.extensions.applicationStudioPlugin, packageJson.version);
|
36
|
-
}
|
37
|
-
getExtraRequiredDocumentationKeys() {
|
38
|
-
return [
|
39
|
-
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.CONCEPT_ELEMENT_DATA_SPACE,
|
40
|
-
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
|
41
|
-
];
|
42
|
-
}
|
43
|
-
getExtraApplicationPageEntries() {
|
44
|
-
return [
|
45
|
-
{
|
46
|
-
key: 'promote-as-curated-template-query-page',
|
47
|
-
addressPatterns: [
|
48
|
-
DATA_SPACE_QUERY_ROUTE_PATTERN.PROMOTE_TEMPLATE_QUERY,
|
49
|
-
],
|
50
|
-
renderer: DataSpaceTemplateQueryPromotionReviewer,
|
51
|
-
},
|
52
|
-
];
|
53
|
-
}
|
54
|
-
getExtraExplorerContextMenuItemRendererConfigurations() {
|
55
|
-
return [
|
56
|
-
{
|
57
|
-
key: 'data-space-query',
|
58
|
-
renderer: (editorStore, element) => {
|
59
|
-
if (element instanceof DataSpace) {
|
60
|
-
return _jsx(DataSpaceQueryAction, { dataSpace: element });
|
61
|
-
}
|
62
|
-
return undefined;
|
63
|
-
},
|
64
|
-
},
|
65
|
-
{
|
66
|
-
key: 'data-space-preview',
|
67
|
-
renderer: (editorStore, element) => {
|
68
|
-
if (element instanceof DataSpace) {
|
69
|
-
return _jsx(DataSpacePreviewAction, { dataSpace: element });
|
70
|
-
}
|
71
|
-
return undefined;
|
72
|
-
},
|
73
|
-
},
|
74
|
-
];
|
75
|
-
}
|
76
|
-
getExtraEditorExtensionStateBuilders() {
|
77
|
-
return [(editorStore) => new DataSpacePreviewState(editorStore)];
|
78
|
-
}
|
79
|
-
getExtraEditorExtensionComponentRendererConfigurations() {
|
80
|
-
return [
|
81
|
-
{
|
82
|
-
key: 'data-space-preview',
|
83
|
-
renderer: (editorStore) => _jsx(DataSpacePreviewDialog, {}),
|
84
|
-
},
|
85
|
-
];
|
86
|
-
}
|
87
|
-
getExtraPureGrammarKeywords() {
|
88
|
-
return [PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL];
|
89
|
-
}
|
90
|
-
getExtraSupportedElementTypes() {
|
91
|
-
return [DATA_SPACE_ELEMENT_TYPE];
|
92
|
-
}
|
93
|
-
getExtraSupportedElementTypesWithCategory() {
|
94
|
-
const elementTypesWithCategoryMap = new Map();
|
95
|
-
elementTypesWithCategoryMap.set(PACKAGEABLE_ELEMENT_GROUP_BY_CATEGORY.QUERY, [DATA_SPACE_ELEMENT_TYPE]);
|
96
|
-
return elementTypesWithCategoryMap;
|
97
|
-
}
|
98
|
-
getExtraElementClassifiers() {
|
99
|
-
return [
|
100
|
-
(element) => {
|
101
|
-
if (element instanceof DataSpace) {
|
102
|
-
return DATA_SPACE_ELEMENT_TYPE;
|
103
|
-
}
|
104
|
-
return undefined;
|
105
|
-
},
|
106
|
-
];
|
107
|
-
}
|
108
|
-
getExtraElementIconGetters() {
|
109
|
-
return [
|
110
|
-
(type) => {
|
111
|
-
if (type === DATA_SPACE_ELEMENT_TYPE) {
|
112
|
-
return _jsx(DataSpaceIcon, {});
|
113
|
-
}
|
114
|
-
return undefined;
|
115
|
-
},
|
116
|
-
];
|
117
|
-
}
|
118
|
-
getExtraNewElementFromStateCreators() {
|
119
|
-
return [
|
120
|
-
(type, name, state) => {
|
121
|
-
if (type === DATA_SPACE_ELEMENT_TYPE) {
|
122
|
-
const dataSpace = new DataSpace(name);
|
123
|
-
const dataSpaceExecutionContext = new DataSpaceExecutionContext();
|
124
|
-
dataSpaceExecutionContext.name = 'dummyContext';
|
125
|
-
dataSpaceExecutionContext.mapping =
|
126
|
-
PackageableElementExplicitReference.create(stub_Mapping());
|
127
|
-
dataSpaceExecutionContext.defaultRuntime =
|
128
|
-
PackageableElementExplicitReference.create(stub_PackageableRuntime());
|
129
|
-
dataSpace.executionContexts = [dataSpaceExecutionContext];
|
130
|
-
dataSpace.defaultExecutionContext = dataSpaceExecutionContext;
|
131
|
-
return dataSpace;
|
132
|
-
}
|
133
|
-
return undefined;
|
134
|
-
},
|
135
|
-
];
|
136
|
-
}
|
137
|
-
getExtraElementEditorStateCreators() {
|
138
|
-
return [
|
139
|
-
(editorStore, element) => {
|
140
|
-
if (element instanceof DataSpace) {
|
141
|
-
return new UnsupportedElementEditorState(editorStore, element);
|
142
|
-
}
|
143
|
-
return undefined;
|
144
|
-
},
|
145
|
-
];
|
146
|
-
}
|
147
|
-
getExtraDragElementClassifiers() {
|
148
|
-
return [
|
149
|
-
(element) => {
|
150
|
-
if (element instanceof DataSpace) {
|
151
|
-
return DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE;
|
152
|
-
}
|
153
|
-
return undefined;
|
154
|
-
},
|
155
|
-
];
|
156
|
-
}
|
157
|
-
getExtraPureGrammarTextEditorDragElementTypes() {
|
158
|
-
return [DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE];
|
159
|
-
}
|
160
|
-
getExtraPureGrammarParserElementDocumentationGetters() {
|
161
|
-
return [
|
162
|
-
(editorStore, parserKeyword, elementKeyword) => {
|
163
|
-
if (parserKeyword === PURE_GRAMMAR_DATA_SPACE_PARSER_NAME) {
|
164
|
-
if (elementKeyword === PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL) {
|
165
|
-
return editorStore.applicationStore.documentationService.getDocEntry(DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.CONCEPT_ELEMENT_DATA_SPACE);
|
166
|
-
}
|
167
|
-
}
|
168
|
-
return undefined;
|
169
|
-
},
|
170
|
-
];
|
171
|
-
}
|
172
|
-
getExtraPureGrammarParserDocumentationGetters() {
|
173
|
-
return [
|
174
|
-
(editorStore, parserKeyword) => {
|
175
|
-
if (parserKeyword === PURE_GRAMMAR_DATA_SPACE_PARSER_NAME) {
|
176
|
-
return editorStore.applicationStore.documentationService.getDocEntry(DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER);
|
177
|
-
}
|
178
|
-
return undefined;
|
179
|
-
},
|
180
|
-
];
|
181
|
-
}
|
182
|
-
getExtraPureGrammarParserKeywordSuggestionGetters() {
|
183
|
-
return [
|
184
|
-
(editorStore) => [
|
185
|
-
{
|
186
|
-
text: PURE_GRAMMAR_DATA_SPACE_PARSER_NAME,
|
187
|
-
description: `(dsl)`,
|
188
|
-
documentation: editorStore.applicationStore.documentationService.getDocEntry(DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER),
|
189
|
-
insertText: PURE_GRAMMAR_DATA_SPACE_PARSER_NAME,
|
190
|
-
},
|
191
|
-
],
|
192
|
-
];
|
193
|
-
}
|
194
|
-
getExtraPureGrammarParserElementSnippetSuggestionsGetters() {
|
195
|
-
return [
|
196
|
-
(editorStore, parserKeyword) => parserKeyword === PURE_GRAMMAR_DATA_SPACE_PARSER_NAME
|
197
|
-
? [
|
198
|
-
{
|
199
|
-
text: PURE_GRAMMAR_DATA_SPACE_ELEMENT_TYPE_LABEL,
|
200
|
-
insertText: SIMPLE_DATA_SPACE_SNIPPET,
|
201
|
-
},
|
202
|
-
]
|
203
|
-
: undefined,
|
204
|
-
];
|
205
|
-
}
|
206
|
-
}
|
207
|
-
//# sourceMappingURL=DSL_DataSpace_LegendStudioApplicationPlugin.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AACxE,OAAO,EAcL,6BAA6B,EAC7B,6BAA6B,EAI7B,qCAAqC,GACtC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,mCAAmC,EACnC,YAAY,EACZ,uBAAuB,GAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,SAAS,EACT,yBAAyB,GAC1B,MAAM,2FAA2F,CAAC;AACnG,OAAO,EAAE,8CAA8C,EAAE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AwB,EACxB,aAAqB,EACrB,cAAsB,EACU,EAAE;gBAClC,IAAI,aAAa,KAAK,mCAAmC,EAAE;oBACzD,IAAI,cAAc,KAAK,0CAA0C,EAAE;wBACjE,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,CAAC,0BAA0B,CAC1E,CAAC;qBACH;iBACF;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,6CAA6C;QAC3C,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACW,EAAE;gBAClC,IAAI,aAAa,KAAK,mCAAmC,EAAE;oBACzD,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,8CAA8C,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"}
|
@@ -1,25 +0,0 @@
|
|
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 '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
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
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DataSpacePreviewAction.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DataSpacePreviewAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2FAA2F,CAAC;AAI3H,eAAO,MAAM,sBAAsB,WACzB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE;;CAoBjC,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CA4EjC,CAAC"}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { useApplicationStore } from '@finos/legend-application';
|
18
|
-
import { MenuContentItem, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, Dialog, TimesIcon, Modal, ModalHeader, ModalTitle, ModalHeaderActions, } from '@finos/legend-art';
|
19
|
-
import { flowResult } from 'mobx';
|
20
|
-
import { observer } from 'mobx-react-lite';
|
21
|
-
import { DataSpaceViewer } from '../DataSpaceViewer.js';
|
22
|
-
import { useEditorStore } from '@finos/legend-application-studio';
|
23
|
-
import { DataSpacePreviewState } from '../../stores/studio/DataSpacePreviewState.js';
|
24
|
-
export const DataSpacePreviewAction = observer((props) => {
|
25
|
-
const { dataSpace } = props;
|
26
|
-
const editorStore = useEditorStore();
|
27
|
-
const applicationStore = useApplicationStore();
|
28
|
-
const dataSpacePreviewState = DataSpacePreviewState.retrieveNullableState(editorStore);
|
29
|
-
if (!dataSpacePreviewState) {
|
30
|
-
return null;
|
31
|
-
}
|
32
|
-
const previewDataSpace = () => {
|
33
|
-
flowResult(dataSpacePreviewState.previewDataSpace(dataSpace)).catch(applicationStore.alertUnhandledError);
|
34
|
-
};
|
35
|
-
return (_jsx(MenuContentItem, { onClick: previewDataSpace, children: "Preview" }));
|
36
|
-
});
|
37
|
-
export const DataSpacePreviewDialog = observer(() => {
|
38
|
-
const editorStore = useEditorStore();
|
39
|
-
const applicationStore = editorStore.applicationStore;
|
40
|
-
const dataSpacePreviewState = DataSpacePreviewState.retrieveNullableState(editorStore);
|
41
|
-
if (!dataSpacePreviewState) {
|
42
|
-
return null;
|
43
|
-
}
|
44
|
-
const onClose = () => {
|
45
|
-
dataSpacePreviewState.setDataSpace(undefined);
|
46
|
-
};
|
47
|
-
return (_jsx(Dialog, { open: Boolean(dataSpacePreviewState.dataSpace), onClose: onClose, classes: {
|
48
|
-
root: 'editor-modal__root-container',
|
49
|
-
container: 'editor-modal__container',
|
50
|
-
paper: 'editor-modal__content data-space-preview__dialog__container__content',
|
51
|
-
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal data-space-preview__dialog", children: [_jsxs(ModalHeader, { className: "data-space-preview__dialog__header", children: [_jsx(ModalTitle, { title: "Preview Data Space" }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", title: "Close", onClick: onClose, children: _jsx(TimesIcon, {}) }) })] }), _jsxs("div", { className: "data-space-preview__dialog__content", children: [_jsx(PanelLoadingIndicator, { isLoading: dataSpacePreviewState.loadDataSpaceState.isInProgress }), dataSpacePreviewState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: dataSpacePreviewState.dataSpaceViewerState })), !dataSpacePreviewState.dataSpaceViewerState && (_jsxs(_Fragment, { children: [dataSpacePreviewState.loadDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: dataSpacePreviewState.loadDataSpaceState.message })), dataSpacePreviewState.loadDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "data-space-preview__dialog__content--failed", children: [_jsx("div", { className: "data-space-preview__dialog__content--failed__icon", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "data-space-preview__dialog__content--failed__text", children: `Can't load data space` })] }) }))] }))] })] }) }));
|
52
|
-
});
|
53
|
-
//# sourceMappingURL=DataSpacePreviewAction.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DataSpacePreviewAction.js","sourceRoot":"","sources":["../../../src/components/studio/DataSpacePreviewAction.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,O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ACrD,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,6CAA6C,aAC1D,cAAK,SAAS,EAAC,mDAAmD,YAChE,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,mDAAmD,YAC/D,uBAAuB,GACpB,IACF,GACY,CACrB,IACA,CACJ,IACG,IACA,GACD,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -1,22 +0,0 @@
|
|
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 '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
|
17
|
-
export declare const DataSpaceQueryAction: ((props: {
|
18
|
-
dataSpace: DataSpace;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
|
-
displayName: string;
|
21
|
-
};
|
22
|
-
//# sourceMappingURL=DataSpaceQueryAction.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryAction.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DataSpaceQueryAction.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2FAA2F,CAAC;AAI3H,eAAO,MAAM,oBAAoB,WACvB;IAAE,SAAS,EAAE,SAAS,CAAA;CAAE;;CAUjC,CAAC"}
|
@@ -1,29 +0,0 @@
|
|
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 { MenuContentItem } from '@finos/legend-art';
|
18
|
-
import { observer } from 'mobx-react-lite';
|
19
|
-
import { useEditorStore } from '@finos/legend-application-studio';
|
20
|
-
import { queryDataSpace } from '../query/DataSpaceQueryBuilder.js';
|
21
|
-
export const DataSpaceQueryAction = observer((props) => {
|
22
|
-
const { dataSpace } = props;
|
23
|
-
const editorStore = useEditorStore();
|
24
|
-
const buildQuery = editorStore.applicationStore.guardUnhandledError(async () => {
|
25
|
-
await queryDataSpace(dataSpace, editorStore);
|
26
|
-
});
|
27
|
-
return _jsx(MenuContentItem, { onClick: buildQuery, children: "Query..." });
|
28
|
-
});
|
29
|
-
//# sourceMappingURL=DataSpaceQueryAction.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryAction.js","sourceRoot":"","sources":["../../../src/components/studio/DataSpaceQueryAction.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAEnE,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAC1C,CAAC,KAA+B,EAAE,EAAE;IAClC,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAC5B,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,UAAU,GAAG,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACjE,KAAK,IAAI,EAAE;QACT,MAAM,cAAc,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;IAC/C,CAAC,CACF,CAAC;IACF,OAAO,KAAC,eAAe,IAAC,OAAO,EAAE,UAAU,yBAA4B,CAAC;AAC1E,CAAC,CACF,CAAC"}
|
@@ -1,19 +0,0 @@
|
|
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 DataSpaceTemplateQueryPromotionReviewer: (() => import("react/jsx-runtime").JSX.Element) & {
|
17
|
-
displayName: string;
|
18
|
-
};
|
19
|
-
//# sourceMappingURL=DataSpaceTemplateQueryPromoteReview.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceTemplateQueryPromoteReview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiQH,eAAO,MAAM,uCAAuC;;CAoBlD,CAAC"}
|
@@ -1,81 +0,0 @@
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } 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 { BlankPanelContent, GitBranchIcon, clsx } from '@finos/legend-art';
|
18
|
-
import { observer, useLocalObservable } from 'mobx-react-lite';
|
19
|
-
import { useApplicationStore } from '@finos/legend-application';
|
20
|
-
import { DataSpaceTemplateQueryPromotionReviewerStore } from '../../stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js';
|
21
|
-
import { DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN, } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
22
|
-
import { useParams } from '@finos/legend-application/browser';
|
23
|
-
import { ActivityBarMenu, LEGEND_STUDIO_TEST_ID, useLegendStudioApplicationStore, useLegendStudioBaseStore, } from '@finos/legend-application-studio';
|
24
|
-
import { createContext, useContext } from 'react';
|
25
|
-
import { guaranteeNonNullable } from '@finos/legend-shared';
|
26
|
-
import { flowResult } from 'mobx';
|
27
|
-
import { DocumentationLink } from '@finos/legend-lego/application';
|
28
|
-
import { DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY } from '../query/DSL_DataSpace_LegendQueryDocumentation.js';
|
29
|
-
const TemplateQueryPromotionReviewerStoreContext = createContext(undefined);
|
30
|
-
const DataSpaceTemplateQueryPromotionReviewerStoreProvider = ({ children, dataSpacePath, queryId }) => {
|
31
|
-
const applicationStore = useLegendStudioApplicationStore();
|
32
|
-
const baseStore = useLegendStudioBaseStore();
|
33
|
-
const store = useLocalObservable(() => new DataSpaceTemplateQueryPromotionReviewerStore(applicationStore, baseStore.sdlcServerClient, baseStore.depotServerClient));
|
34
|
-
store.initialize(queryId, dataSpacePath);
|
35
|
-
return (_jsx(TemplateQueryPromotionReviewerStoreContext.Provider, { value: store, children: children }));
|
36
|
-
};
|
37
|
-
const useTemplateQueryPromotionReviewerStore = () => guaranteeNonNullable(useContext(TemplateQueryPromotionReviewerStoreContext), `Can't find query productionizer store in context`);
|
38
|
-
const TemplateQueryPromotionReviewerContent = observer(() => {
|
39
|
-
const applicationStore = useApplicationStore();
|
40
|
-
const queryPromotionReviewerStore = useTemplateQueryPromotionReviewerStore();
|
41
|
-
const isLoadingEditor = !queryPromotionReviewerStore.initState.hasCompleted;
|
42
|
-
// workspace name
|
43
|
-
const changeWorkspaceName = (event) => queryPromotionReviewerStore.setWorkspaceName(event.target.value);
|
44
|
-
// template query
|
45
|
-
const onChangeTemplateQueryId = (event) => queryPromotionReviewerStore.setTemplateQueryId(event.target.value);
|
46
|
-
const onChangeTemplateQueryTitle = (event) => queryPromotionReviewerStore.setTemplateQueryTitle(event.target.value);
|
47
|
-
const onChangeTemplateQueryDescription = (event) => queryPromotionReviewerStore.setTemplateQueryDescription(event.target.value);
|
48
|
-
// actions
|
49
|
-
const promoteTemplateQuery = () => {
|
50
|
-
flowResult(queryPromotionReviewerStore.promoteAsTemplateQuery()).catch(applicationStore.alertUnhandledError);
|
51
|
-
};
|
52
|
-
return (_jsxs("div", { className: "app__page", children: [isLoadingEditor && (_jsx(BlankPanelContent, { children: queryPromotionReviewerStore.initState.message ??
|
53
|
-
queryPromotionReviewerStore.graphManagerState.systemBuildState
|
54
|
-
.message ??
|
55
|
-
queryPromotionReviewerStore.graphManagerState.dependenciesBuildState
|
56
|
-
.message ??
|
57
|
-
queryPromotionReviewerStore.graphManagerState.generationsBuildState
|
58
|
-
.message ??
|
59
|
-
queryPromotionReviewerStore.graphManagerState.graphBuildState
|
60
|
-
.message })), _jsxs("div", { className: "template-query-promotor", children: [_jsxs("div", { className: "template-query-promotor__body", children: [_jsx("div", { className: "activity-bar", children: _jsx(ActivityBarMenu, {}) }), _jsx("div", { className: "template-query-promotor__content", "data-testid": LEGEND_STUDIO_TEST_ID.SETUP__CONTENT, children: _jsxs("div", { className: "template-query-promotor__content__main", children: [_jsxs("div", { className: "template-query-promotor__title", children: ["Promote as Curated Template Query", _jsx(DocumentationLink, { documentationKey: DSL_DATASPACE_LEGEND_QUERY_DOCUMENTATION_KEY.CURATED_TEMPLATE_QUERY })] }), _jsx("div", { className: "template-query-promotor__title__prompt", children: "We will promote this query as a curated template query in dataspace. This automated process will generate a code review and workspace. Please get the generated code review reviewed and approved." }), _jsxs("div", { className: "template-query-promotor__group template-query-promotor__group--workspace", children: [_jsx("div", { className: "template-query-promotor__group__header", children: "workspace" }), _jsx("div", { className: "template-query-promotor__group__content", children: _jsxs("div", { className: "template-query-promotor__input", children: [_jsx("div", { className: "template-query-promotor__input__icon", title: "workspace", children: _jsx(GitBranchIcon, { className: "template-query-promotor__input__icon--workspce" }) }), _jsxs("div", { className: "input-group template-query-promotor__input__input", children: [_jsx("input", { className: clsx('input input--dark input-group__input', {
|
61
|
-
'input-group__input--error': !queryPromotionReviewerStore.isWorkspaceNameValid,
|
62
|
-
}), spellCheck: false, value: queryPromotionReviewerStore.workspaceName, placeholder: "Enter a name for your workspace", onChange: changeWorkspaceName }), !queryPromotionReviewerStore.isWorkspaceNameValid && (_jsx("div", { className: "input-group__error-message", children: "Workspace already existed" }))] })] }) })] }), _jsxs("div", { className: "template-query-promotor__group template-query-promotor__group--template", children: [_jsx("div", { className: "template-query-promotor__group__header", children: "template query" }), _jsxs("div", { className: "template-query-promotor__group__content", children: [_jsxs("div", { className: "template-query-promotor__input", children: [_jsx("div", { className: "template-query-promotor__input__label", children: "id" }), _jsxs("div", { className: "input-group template-query-promotor__input__input", children: [_jsx("input", { className: clsx('input input--dark input-group__input', {
|
63
|
-
'input-group__input--error': !queryPromotionReviewerStore.isTemplateQueryIdValid,
|
64
|
-
}), spellCheck: false, placeholder: "Create an id for your template query", value: queryPromotionReviewerStore.templateQueryId, onChange: onChangeTemplateQueryId }), !queryPromotionReviewerStore.isTemplateQueryIdValid && (_jsx("div", { className: "input-group__error-message", children: "Invalid template query id" }))] })] }), _jsxs("div", { className: "template-query-promotor__input", children: [_jsx("div", { className: "template-query-promotor__input__label", children: "title" }), _jsx("div", { className: "input-group template-query-promotor__input__input", children: _jsx("input", { className: "input input--dark input-group__input", spellCheck: false, placeholder: "Create a title for your template query", value: queryPromotionReviewerStore.templateQueryTitle, onChange: onChangeTemplateQueryTitle }) })] }), _jsxs("div", { className: "template-query-promotor__input", children: [_jsx("div", { className: "template-query-promotor__input__label", children: "description" }), _jsx("div", { className: "input-group template-query-promotor__input__input", children: _jsx("input", { className: "input input--dark input-group__input", spellCheck: false, placeholder: "Add some descriptions for your template query", value: queryPromotionReviewerStore.templateQueryDescription, onChange: onChangeTemplateQueryDescription }) })] })] })] }), _jsx("div", { className: "template-query-promotor__actions", children: _jsx("button", { className: "template-query-promotor__next-btn btn--dark", onClick: promoteTemplateQuery, disabled: queryPromotionReviewerStore.promoteState.isInProgress ||
|
65
|
-
!queryPromotionReviewerStore.currentQuery ||
|
66
|
-
!queryPromotionReviewerStore.currentQueryInfo ||
|
67
|
-
!queryPromotionReviewerStore.currentProject ||
|
68
|
-
!queryPromotionReviewerStore
|
69
|
-
.currentProjectConfigurationStatus?.isConfigured ||
|
70
|
-
!queryPromotionReviewerStore.workspaceName ||
|
71
|
-
!queryPromotionReviewerStore.templateQueryTitle ||
|
72
|
-
!queryPromotionReviewerStore.isWorkspaceNameValid ||
|
73
|
-
!queryPromotionReviewerStore.isTemplateQueryIdValid, children: "Promote Query" }) })] }) })] }), _jsx("div", { "data-testid": LEGEND_STUDIO_TEST_ID.STATUS_BAR, className: "editor__status-bar" })] })] }));
|
74
|
-
});
|
75
|
-
export const DataSpaceTemplateQueryPromotionReviewer = observer(() => {
|
76
|
-
const parameters = useParams();
|
77
|
-
const dataSpacePath = parameters[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH];
|
78
|
-
const queryId = parameters[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID];
|
79
|
-
return (_jsx(DataSpaceTemplateQueryPromotionReviewerStoreProvider, { dataSpacePath: dataSpacePath, queryId: queryId, children: _jsx(TemplateQueryPromotionReviewerContent, {}) }));
|
80
|
-
});
|
81
|
-
//# sourceMappingURL=DataSpaceTemplateQueryPromoteReview.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceTemplateQueryPromoteReview.js","sourceRoot":"","sources":["../../../src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,4CAA4C,EAAE,MAAM,oEAAoE,CAAC;AAClI,OAAO,EACL,uDAAuD,GAExD,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,M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EAAE;IACnE,MAAM,UAAU,GACd,SAAS,EAAqD,CAAC;IACjE,MAAM,aAAa,GACjB,UAAU,CACR,uDAAuD,CAAC,eAAe,CACxE,CAAC;IACJ,MAAM,OAAO,GACX,UAAU,CACR,uDAAuD,CAAC,QAAQ,CACjE,CAAC;IAEJ,OAAO,CACL,KAAC,oDAAoD,IACnD,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,OAAO,YAEhB,KAAC,qCAAqC,KAAG,GACY,CACxD,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -1,17 +0,0 @@
|
|
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 { DSL_DataSpace_LegendStudioApplicationPlugin } from './DSL_DataSpace_LegendStudioApplicationPlugin.js';
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/studio/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,2CAA2C,EAAE,MAAM,kDAAkD,CAAC"}
|
@@ -1,17 +0,0 @@
|
|
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 { DSL_DataSpace_LegendStudioApplicationPlugin } from './DSL_DataSpace_LegendStudioApplicationPlugin.js';
|
17
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/studio/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,2CAA2C,EAAE,MAAM,kDAAkD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceInfo.d.ts","sourceRoot":"","sources":["../../../src/stores/query/DataSpaceInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,YAAY,EAClB,MAAM,4BAA4B,CAAC;AAIpC,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,uBAAuB,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7C;AAED,eAAO,MAAM,oBAAoB,iBACjB,YAAY,cACd,OAAO,KAClB,aAgBD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceInfo.js","sourceRoot":"","sources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