@finos/legend-extension-dsl-data-space 10.2.0 → 10.2.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.d.ts +18 -6
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.d.ts.map +1 -1
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.js +18 -6
- package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.js.map +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +1 -0
- package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts +4 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +55 -5
- package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js +1 -1
- package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js.map +1 -1
- package/lib/components/query/DataSpaceTemplateQueryCreator.js +4 -4
- package/lib/components/query/DataSpaceTemplateQueryCreator.js.map +1 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts +2 -0
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js +13 -0
- package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.d.ts +19 -0
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.d.ts.map +1 -0
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js +79 -0
- package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js.map +1 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts +1 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js +2 -0
- package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts +1 -0
- package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js +1 -0
- package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +10 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js +2 -0
- package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts +12 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +28 -3
- package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +1 -0
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +2 -0
- package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts +1 -0
- package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js +2 -0
- package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js +1 -0
- package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +2 -1
- package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.d.ts +3 -2
- package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.d.ts.map +1 -1
- package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.js +9 -13
- package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.js.map +1 -1
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.d.ts +61 -0
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.d.ts.map +1 -0
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js +407 -0
- package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js.map +1 -0
- package/package.json +8 -7
- package/src/__lib__/query/DSL_DataSpace_LegendQueryNavigation.ts +43 -9
- package/src/components/DSL_DataSpace_LegendApplicationPlugin.tsx +1 -0
- package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +117 -3
- package/src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +1 -1
- package/src/components/query/DataSpaceTemplateQueryCreator.tsx +6 -6
- package/src/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.tsx +18 -1
- package/src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx +285 -0
- package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts +2 -0
- package/src/graph-manager/action/analytics/DataSpaceAnalysis.ts +1 -0
- package/src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +15 -0
- package/src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts +2 -0
- package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +66 -2
- package/src/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +2 -0
- package/src/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts +2 -0
- package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts +1 -0
- package/src/stores/query/DataSpaceTemplateQueryCreatorStore.ts +12 -24
- package/src/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.ts +636 -0
- package/tsconfig.json +2 -0
@@ -17,8 +17,7 @@ export declare enum DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN {
|
|
17
17
|
GAV = "gav",
|
18
18
|
DATA_SPACE_PATH = "dataSpacePath",
|
19
19
|
EXECUTION_CONTEXT = "executionContext",
|
20
|
-
RUNTIME_PATH = "runtimePath"
|
21
|
-
TEMPLATE = "template"
|
20
|
+
RUNTIME_PATH = "runtimePath"
|
22
21
|
}
|
23
22
|
export declare enum DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN {
|
24
23
|
CLASS_PATH = "class"
|
@@ -26,7 +25,13 @@ export declare enum DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN {
|
|
26
25
|
export declare enum DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN {
|
27
26
|
GAV = "gav",
|
28
27
|
DATA_SPACE_PATH = "dataSpacePath",
|
29
|
-
|
28
|
+
TEMPLATE = "template",
|
29
|
+
TEMPLATE_QUERY_ID = "templateQueryId"
|
30
|
+
}
|
31
|
+
export declare enum DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN {
|
32
|
+
GAV = "gav",
|
33
|
+
DATA_SPACE_PATH = "dataSpacePath",
|
34
|
+
QUERY_ID = "queryId"
|
30
35
|
}
|
31
36
|
export type DataSpaceQueryCreatorPathParams = {
|
32
37
|
[DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string;
|
@@ -37,7 +42,12 @@ export type DataSpaceQueryCreatorPathParams = {
|
|
37
42
|
export type DataSpaceTemplateQueryCreatorPathParams = {
|
38
43
|
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string;
|
39
44
|
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: string;
|
40
|
-
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.
|
45
|
+
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID]: string;
|
46
|
+
};
|
47
|
+
export type DataSpaceTemplateQueryPromotionReviewerPathParams = {
|
48
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.GAV]: string;
|
49
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: string;
|
50
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID]: string;
|
41
51
|
};
|
42
52
|
export type DataSpaceQueryEditorQueryParams = {
|
43
53
|
[DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]?: string | undefined;
|
@@ -45,9 +55,11 @@ export type DataSpaceQueryEditorQueryParams = {
|
|
45
55
|
export declare const DATA_SPACE_QUERY_ROUTE_PATTERN: Readonly<{
|
46
56
|
SETUP: "/dataspace";
|
47
57
|
CREATE: "/dataspace/:gav/:dataSpacePath/:executionContext/:runtimePath?";
|
48
|
-
TEMPLATE_QUERY: "/dataspace/:gav/:dataSpacePath/:template/:
|
58
|
+
TEMPLATE_QUERY: "/dataspace/:gav/:dataSpacePath/:template/:templateQueryId";
|
59
|
+
PROMOTE_TEMPLATE_QUERY: "/promote-template-query/:gav/:dataSpacePath/:queryId?";
|
49
60
|
}>;
|
50
61
|
export declare const generateDataSpaceQuerySetupRoute: () => string;
|
51
62
|
export declare const generateDataSpaceQueryCreatorRoute: (groupId: string, artifactId: string, versionId: string, dataSpacePath: string, executionContextKey: string, runtimePath?: string | undefined, classPath?: string | undefined) => string;
|
52
|
-
export declare const generateDataSpaceTemplateQueryCreatorRoute: (groupId: string, artifactId: string, versionId: string, dataSpacePath: string,
|
63
|
+
export declare const generateDataSpaceTemplateQueryCreatorRoute: (groupId: string, artifactId: string, versionId: string, dataSpacePath: string, templateQueryId: string) => string;
|
64
|
+
export declare const generateDataSpaceTemplateQueryPromotionRoute: (groupId: string, artifactId: string, versionId: string, dataSpacePath: string, queryId: string | undefined) => string;
|
53
65
|
//# sourceMappingURL=DSL_DataSpace_LegendQueryNavigation.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendQueryNavigation.d.ts","sourceRoot":"","sources":["../../../src/__lib__/query/DSL_DataSpace_LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,oBAAY,4CAA4C;IACtD,GAAG,QAAQ;IACX,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;IACtC,YAAY,gBAAgB;
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryNavigation.d.ts","sourceRoot":"","sources":["../../../src/__lib__/query/DSL_DataSpace_LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,oBAAY,4CAA4C;IACtD,GAAG,QAAQ;IACX,eAAe,kBAAkB;IACjC,iBAAiB,qBAAqB;IACtC,YAAY,gBAAgB;CAC7B;AAED,oBAAY,0CAA0C;IACpD,UAAU,UAAU;CACrB;AAED,oBAAY,qDAAqD;IAC/D,GAAG,QAAQ;IACX,eAAe,kBAAkB;IACjC,QAAQ,aAAa;IACrB,iBAAiB,oBAAoB;CACtC;AAED,oBAAY,uDAAuD;IACjE,GAAG,QAAQ;IACX,eAAe,kBAAkB;IACjC,QAAQ,YAAY;CACrB;AAED,MAAM,MAAM,+BAA+B,GAAG;IAC5C,CAAC,4CAA4C,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAC3D,CAAC,4CAA4C,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACvE,CAAC,4CAA4C,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACzE,CAAC,4CAA4C,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;CACtE,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG;IACpD,CAAC,qDAAqD,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACpE,CAAC,qDAAqD,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAChF,CAAC,qDAAqD,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CACnF,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG;IAC9D,CAAC,uDAAuD,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IACtE,CAAC,uDAAuD,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClF,CAAC,uDAAuD,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;CAC5E,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9E,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;EAKzC,CAAC;AAEH,eAAO,MAAM,gCAAgC,QAAO,MAIjD,CAAC;AAEJ,eAAO,MAAM,kCAAkC,YACpC,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,uBACA,MAAM,gBACb,MAAM,GAAG,SAAS,cACpB,MAAM,GAAG,SAAS,KAC7B,MAoBA,CAAC;AAEJ,eAAO,MAAM,0CAA0C,YAC5C,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,mBACJ,MAAM,KACtB,MAaA,CAAC;AAEJ,eAAO,MAAM,4CAA4C,YAC9C,MAAM,cACH,MAAM,aACP,MAAM,iBACF,MAAM,WACZ,MAAM,GAAG,SAAS,KAC1B,MAaA,CAAC"}
|
@@ -22,7 +22,6 @@ export var DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN;
|
|
22
22
|
DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["DATA_SPACE_PATH"] = "dataSpacePath";
|
23
23
|
DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["EXECUTION_CONTEXT"] = "executionContext";
|
24
24
|
DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["RUNTIME_PATH"] = "runtimePath";
|
25
|
-
DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["TEMPLATE"] = "template";
|
26
25
|
})(DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN || (DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN = {}));
|
27
26
|
export var DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN;
|
28
27
|
(function (DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN) {
|
@@ -32,12 +31,20 @@ export var DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN;
|
|
32
31
|
(function (DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN) {
|
33
32
|
DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["GAV"] = "gav";
|
34
33
|
DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["DATA_SPACE_PATH"] = "dataSpacePath";
|
35
|
-
DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["
|
34
|
+
DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["TEMPLATE"] = "template";
|
35
|
+
DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["TEMPLATE_QUERY_ID"] = "templateQueryId";
|
36
36
|
})(DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN || (DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN = {}));
|
37
|
+
export var DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN;
|
38
|
+
(function (DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN) {
|
39
|
+
DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN["GAV"] = "gav";
|
40
|
+
DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN["DATA_SPACE_PATH"] = "dataSpacePath";
|
41
|
+
DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN["QUERY_ID"] = "queryId";
|
42
|
+
})(DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN || (DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN = {}));
|
37
43
|
export const DATA_SPACE_QUERY_ROUTE_PATTERN = Object.freeze({
|
38
44
|
SETUP: `/dataspace`,
|
39
45
|
CREATE: `/dataspace/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH}?`,
|
40
|
-
TEMPLATE_QUERY: `/dataspace/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${
|
46
|
+
TEMPLATE_QUERY: `/dataspace/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID}`,
|
47
|
+
PROMOTE_TEMPLATE_QUERY: `/promote-template-query/:${DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.GAV}/:${DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH}/:${DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID}?`,
|
41
48
|
});
|
42
49
|
export const generateDataSpaceQuerySetupRoute = () => generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.SETUP), {});
|
43
50
|
export const generateDataSpaceQueryCreatorRoute = (groupId, artifactId, versionId, dataSpacePath, executionContextKey, runtimePath, classPath) => addQueryParametersToUrl(generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.CREATE), {
|
@@ -50,10 +57,15 @@ export const generateDataSpaceQueryCreatorRoute = (groupId, artifactId, versionI
|
|
50
57
|
? encodeURIComponent(classPath)
|
51
58
|
: undefined,
|
52
59
|
}));
|
53
|
-
export const generateDataSpaceTemplateQueryCreatorRoute = (groupId, artifactId, versionId, dataSpacePath,
|
60
|
+
export const generateDataSpaceTemplateQueryCreatorRoute = (groupId, artifactId, versionId, dataSpacePath, templateQueryId) => generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.TEMPLATE_QUERY), {
|
54
61
|
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: generateGAVCoordinates(groupId, artifactId, versionId),
|
55
62
|
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: dataSpacePath,
|
56
|
-
[
|
57
|
-
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.
|
63
|
+
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE]: DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE,
|
64
|
+
[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID]: templateQueryId,
|
65
|
+
});
|
66
|
+
export const generateDataSpaceTemplateQueryPromotionRoute = (groupId, artifactId, versionId, dataSpacePath, queryId) => generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.PROMOTE_TEMPLATE_QUERY), {
|
67
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.GAV]: generateGAVCoordinates(groupId, artifactId, versionId),
|
68
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: dataSpacePath,
|
69
|
+
[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID]: queryId,
|
58
70
|
});
|
59
71
|
//# sourceMappingURL=DSL_DataSpace_LegendQueryNavigation.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendQueryNavigation.js","sourceRoot":"","sources":["../../../src/__lib__/query/DSL_DataSpace_LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,YAAY,GACb,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryNavigation.js","sourceRoot":"","sources":["../../../src/__lib__/query/DSL_DataSpace_LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,YAAY,GACb,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,uBAAuB,EACvB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,MAAM,CAAN,IAAY,4CAKX;AALD,WAAY,4CAA4C;IACtD,2DAAW,CAAA;IACX,iFAAiC,CAAA;IACjC,sFAAsC,CAAA;IACtC,4EAA4B,CAAA;AAC9B,CAAC,EALW,4CAA4C,KAA5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CAAC;IACxD,CAAC,uDAAuD,CAAC,eAAe,CAAC,EACvE,aAAa;IACf,CAAC,uDAAuD,CAAC,QAAQ,CAAC,EAChE,OAAO;CACV,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,EAEnC,KAAK,uBAAuB,EAC7B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAEV,iCAAiC,EACjC,qBAAqB,EACrB,iBAAiB,EACjB,8CAA8C,EAC9C,iCAAiC,EAClC,MAAM,6BAA6B,CAAC;AAarC,qBAAa,qCACX,SAAQ,uBACR,YAAW,8CAA8C;IAEzD,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,yBAAyB,IAAI,sBAAsB,EAAE;IAQ9D,8BAA8B,IAAI,qBAAqB,EAAE;IAkDzD,2CAA2C,IAAI,CAC7C,iBAAiB,EAAE,iBAAiB,KACjC,MAAM,EAAE;IASb,yCAAyC,IAAI,iCAAiC,EAAE;IAahF,qCAAqC,IAAI,iCAAiC,EAAE;
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,8BAA8B,EAEnC,KAAK,uBAAuB,EAC7B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAEV,iCAAiC,EACjC,qBAAqB,EACrB,iBAAiB,EACjB,8CAA8C,EAC9C,iCAAiC,EAClC,MAAM,6BAA6B,CAAC;AAarC,qBAAa,qCACX,SAAQ,uBACR,YAAW,8CAA8C;IAEzD,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,yBAAyB,IAAI,sBAAsB,EAAE;IAQ9D,8BAA8B,IAAI,qBAAqB,EAAE;IAkDzD,2CAA2C,IAAI,CAC7C,iBAAiB,EAAE,iBAAiB,KACjC,MAAM,EAAE;IASb,yCAAyC,IAAI,iCAAiC,EAAE;IAahF,qCAAqC,IAAI,iCAAiC,EAAE;CA0D7E"}
|
@@ -107,6 +107,7 @@ export class DSL_DataSpace_LegendApplicationPlugin extends LegendApplicationPlug
|
|
107
107
|
const executableTemplates = queryBuilderState.dataSpace.executables?.filter(filterByType(DataSpaceExecutableTemplate));
|
108
108
|
return executableTemplates
|
109
109
|
? executableTemplates.map((e) => ({
|
110
|
+
id: e.id,
|
110
111
|
title: e.title,
|
111
112
|
description: e.description,
|
112
113
|
query: e.query,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/DSL_DataSpace_LegendApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,uBAAuB,EAGvB,0CAA0C,GAE3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AASrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAC3F,OAAO,EACL,2BAA2B,EAC3B,+BAA+B,GAChC,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,gDAAgD,EAAE,MAAM,sDAAsD,C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,CAAC,CAAC;gCACxD,iBAAiB,CAAC,+BAA+B,CAC/C,gBAAgB,CACjB,CAAC;gCACF,iBAAiB,CAAC,mBAAmB,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;gCAC3D,iBAAiB,CAAC,wBAAwB,EAAE,CAAC,gBAAgB,CAAC,CAAC;6BAChE;yBACF;6BAAM;4BACL,iBAAiB,CAAC,mBAAmB,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;yBAC5D;qBACF;gBACH,CAAC;aACF;SACF,CAAC;IACJ,CAAC"}
|
@@ -13,12 +13,15 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
import { type ExistingQueryEditorStateBuilder, type QueryEditorStore, type QuerySetupActionConfiguration, LegendQueryApplicationPlugin, type QueryEditorActionConfiguration } from '@finos/legend-application-query';
|
17
18
|
import { type ApplicationPageEntry } from '@finos/legend-application';
|
18
19
|
export declare class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
|
19
20
|
constructor();
|
20
21
|
getExtraApplicationPageEntries(): ApplicationPageEntry[];
|
21
22
|
getExtraQuerySetupActionConfigurations(): QuerySetupActionConfiguration[];
|
22
23
|
getExtraExistingQueryEditorStateBuilders(): ExistingQueryEditorStateBuilder[];
|
24
|
+
getExtraQueryHeaders(): ((editorStore: QueryEditorStore) => React.ReactNode | undefined)[];
|
25
|
+
getExtraQueryEditorActionConfigurations(): QueryEditorActionConfiguration[];
|
23
26
|
}
|
24
27
|
//# sourceMappingURL=DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,+BAA+B,EACpC,KAAK,gBAAgB,EACrB,KAAK,6BAA6B,EAElC,4BAA4B,EAI5B,KAAK,8BAA8B,EACpC,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AAkEnC,qBAAa,0CAA2C,SAAQ,4BAA4B;;IAKjF,8BAA8B,IAAI,oBAAoB,EAAE;IAwBxD,sCAAsC,IAAI,6BAA6B,EAAE;IAoBzE,wCAAwC,IAAI,+BAA+B,EAAE;IAsK7E,oBAAoB,IAAI,CAAC,CAChC,WAAW,EAAE,gBAAgB,KAC1B,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC,EAAE;IAoB1B,uCAAuC,IAAI,8BAA8B,EAAE;CAqFrF"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
2
2
|
/**
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
4
|
*
|
@@ -15,22 +15,24 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import packageJson from '../../../package.json' assert { type: 'json' };
|
18
|
-
import { LegendQueryApplicationPlugin, LEGEND_QUERY_APP_EVENT, createViewProjectHandler, createViewSDLCProjectHandler, } from '@finos/legend-application-query';
|
19
|
-
import { SquareIcon } from '@finos/legend-art';
|
18
|
+
import { ExistingQueryEditorStore, LegendQueryApplicationPlugin, LEGEND_QUERY_APP_EVENT, createViewProjectHandler, createViewSDLCProjectHandler, } from '@finos/legend-application-query';
|
19
|
+
import { ArrowCircleUpIcon, SquareIcon } from '@finos/legend-art';
|
20
20
|
import { ActionAlertActionType, ActionAlertType, } from '@finos/legend-application';
|
21
|
-
import { DATA_SPACE_QUERY_ROUTE_PATTERN, generateDataSpaceQueryCreatorRoute, generateDataSpaceQuerySetupRoute, } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
21
|
+
import { DATA_SPACE_QUERY_ROUTE_PATTERN, generateDataSpaceQueryCreatorRoute, generateDataSpaceQuerySetupRoute, generateDataSpaceTemplateQueryPromotionRoute, } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
22
22
|
import { DataSpaceQueryCreator } from './DataSpaceQueryCreator.js';
|
23
23
|
import { isValidFullPath, } from '@finos/legend-graph';
|
24
24
|
import { QUERY_PROFILE_PATH, QUERY_PROFILE_TAG_DATA_SPACE, } from '../../graph/DSL_DataSpace_MetaModelConst.js';
|
25
25
|
import { DataSpaceQueryBuilderState, DataSpaceProjectInfo, } from '../../stores/query/DataSpaceQueryBuilderState.js';
|
26
26
|
import { getOwnDataSpace } from '../../graph-manager/DSL_DataSpace_GraphManagerHelper.js';
|
27
|
-
import { assertErrorThrown, guaranteeNonNullable, LogEvent, } from '@finos/legend-shared';
|
27
|
+
import { assertErrorThrown, buildUrl, guaranteeNonNullable, LogEvent, } from '@finos/legend-shared';
|
28
28
|
import { DataSpaceQuerySetup } from './DataSpaceQuerySetup.js';
|
29
29
|
import { DSL_DataSpace_getGraphManagerExtension } from '../../graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js';
|
30
30
|
import { LATEST_VERSION_ALIAS, StoreProjectData, } from '@finos/legend-server-depot';
|
31
31
|
import { retrieveAnalyticsResultCache } from '../../graph-manager/action/analytics/DataSpaceAnalysisHelper.js';
|
32
32
|
import { flowResult } from 'mobx';
|
33
33
|
import { DataSpaceTemplateQueryCreator } from './DataSpaceTemplateQueryCreator.js';
|
34
|
+
import { DataSpaceTemplateQueryCreatorStore } from '../../stores/query/DataSpaceTemplateQueryCreatorStore.js';
|
35
|
+
import { parseProjectIdentifier } from '@finos/legend-storage';
|
34
36
|
const resolveExecutionContext = (dataSpace, queryMapping, queryRuntime) => {
|
35
37
|
const matchingExecContexts = dataSpace.executionContexts.filter((ec) => ec.mapping.value === queryMapping);
|
36
38
|
if (matchingExecContexts.length > 1) {
|
@@ -172,5 +174,53 @@ export class DSL_DataSpace_LegendQueryApplicationPlugin extends LegendQueryAppli
|
|
172
174
|
},
|
173
175
|
];
|
174
176
|
}
|
177
|
+
getExtraQueryHeaders() {
|
178
|
+
return [
|
179
|
+
(editorStore) => {
|
180
|
+
if (editorStore instanceof DataSpaceTemplateQueryCreatorStore) {
|
181
|
+
return (_jsxs("div", { className: "query-editor__dataspace__header", children: [_jsx("div", { className: "query-editor__header__content__main query-editor__header__content__title__text query-editor__dataspace__header__title__text", children: editorStore.templateQueryTitle }), _jsx("div", { className: "query-editor__dataspace__header__title__tag", children: "template" })] }));
|
182
|
+
}
|
183
|
+
return undefined;
|
184
|
+
},
|
185
|
+
];
|
186
|
+
}
|
187
|
+
getExtraQueryEditorActionConfigurations() {
|
188
|
+
return [
|
189
|
+
{
|
190
|
+
key: 'promote-as-curated-template-query',
|
191
|
+
renderer: (editorStore, queryBuilderState) => {
|
192
|
+
const proceedCuratedTemplateQueryPromotion = async () => {
|
193
|
+
if (!(editorStore instanceof ExistingQueryEditorStore &&
|
194
|
+
queryBuilderState instanceof DataSpaceQueryBuilderState)) {
|
195
|
+
return;
|
196
|
+
}
|
197
|
+
// fetch project data
|
198
|
+
const project = StoreProjectData.serialization.fromJson(await editorStore.depotServerClient.getProject(editorStore.lightQuery.groupId, editorStore.lightQuery.artifactId));
|
199
|
+
// find the matching SDLC instance
|
200
|
+
const projectIDPrefix = parseProjectIdentifier(project.projectId).prefix;
|
201
|
+
const matchingSDLCEntry = editorStore.applicationStore.config.studioInstances.find((entry) => entry.sdlcProjectIDPrefix === projectIDPrefix);
|
202
|
+
if (matchingSDLCEntry) {
|
203
|
+
editorStore.applicationStore.navigationService.navigator.visitAddress(buildUrl([
|
204
|
+
editorStore.applicationStore.config.studioApplicationUrl,
|
205
|
+
generateDataSpaceTemplateQueryPromotionRoute(editorStore.lightQuery.groupId, editorStore.lightQuery.artifactId, editorStore.lightQuery.versionId, queryBuilderState.dataSpace.path, editorStore.lightQuery.id),
|
206
|
+
]));
|
207
|
+
}
|
208
|
+
else {
|
209
|
+
editorStore.applicationStore.notificationService.notifyWarning(`Can't find the corresponding SDLC instance to productionize the query`);
|
210
|
+
}
|
211
|
+
};
|
212
|
+
const proceed = () => {
|
213
|
+
queryBuilderState.changeDetectionState.alertUnsavedChanges(() => {
|
214
|
+
proceedCuratedTemplateQueryPromotion().catch(editorStore.applicationStore.alertUnhandledError);
|
215
|
+
});
|
216
|
+
};
|
217
|
+
return (_jsx(_Fragment, { children: editorStore instanceof ExistingQueryEditorStore &&
|
218
|
+
queryBuilderState instanceof DataSpaceQueryBuilderState && (_jsxs("button", { className: "query-editor__header__action btn--dark", tabIndex: -1, onClick: proceed, title: !(editorStore instanceof ExistingQueryEditorStore)
|
219
|
+
? 'Please save your query first before promoting'
|
220
|
+
: 'Promote Curated Template query...', children: [_jsx(ArrowCircleUpIcon, { className: "query-editor__header__action__icon--productionize" }), _jsx("div", { className: "query-editor__header__action__label", children: "Promote as Template Query" })] })) }));
|
221
|
+
},
|
222
|
+
},
|
223
|
+
];
|
224
|
+
}
|
175
225
|
}
|
176
226
|
//# sourceMappingURL=DSL_DataSpace_LegendQueryApplicationPlugin.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AACxE,OAAO,EAIL,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,
|
1
|
+
{"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AACxE,OAAO,EAIL,wBAAwB,EACxB,4BAA4B,EAC5B,sBAAsB,EACtB,wBAAwB,EACxB,4BAA4B,GAE7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EACL,qBAAqB,EACrB,eAAe,GAEhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,8BAA8B,EAC9B,kCAAkC,EAClC,gCAAgC,EAChC,4CAA4C,GAC7C,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAIL,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,4BAA4B,GAC7B,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,0BAA0B,EAC1B,oBAAoB,GACrB,MAAM,kDAAkD,CAAC;AAE1D,OAAO,EAAE,eAAe,EAAE,MAAM,yDAAyD,CAAC;AAC1F,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,oBAAoB,EACpB,QAAQ,GACT,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,sCAAsC,EAAE,MAAM,8EAA8E,CAAC;AACtI,OAAO,EACL,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,4BAA4B,EAAE,MAAM,iEA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EAAE;wBACzB,iBAAiB,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,GAAG,EAAE;4BAC9D,oCAAoC,EAAE,CAAC,KAAK,CAC1C,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACjD,CAAC;wBACJ,CAAC,CAAC,CAAC;oBACL,CAAC,CAAC;oBAEF,OAAO,CACL,4BACG,WAAW,YAAY,wBAAwB;4BAC9C,iBAAiB,YAAY,0BAA0B,IAAI,CACzD,kBACE,SAAS,EAAC,wCAAwC,EAClD,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,CAAC,CAAC,WAAW,YAAY,wBAAwB,CAAC;gCAChD,CAAC,CAAC,+CAA+C;gCACjD,CAAC,CAAC,mCAAmC,aAGzC,KAAC,iBAAiB,IAAC,SAAS,EAAC,mDAAmD,GAAG,EACnF,cAAK,SAAS,EAAC,qCAAqC,0CAE9C,IACC,CACV,GACF,CACJ,CAAC;gBACJ,CAAC;aACF;SACF,CAAC;IACJ,CAAC;CACF"}
|
@@ -66,7 +66,7 @@ const DataSpaceTemplateQueryDialog = observer((props) => {
|
|
66
66
|
};
|
67
67
|
const visitTemplateQuery = (template) => {
|
68
68
|
if (queryBuilderState.projectInfo?.groupId) {
|
69
|
-
applicationStore.navigationService.navigator.visitAddress(applicationStore.navigationService.navigator.generateAddress(generateDataSpaceTemplateQueryCreatorRoute(queryBuilderState.projectInfo.groupId, queryBuilderState.projectInfo.artifactId, queryBuilderState.projectInfo.versionId, queryBuilderState.dataSpace.path, template.
|
69
|
+
applicationStore.navigationService.navigator.visitAddress(applicationStore.navigationService.navigator.generateAddress(generateDataSpaceTemplateQueryCreatorRoute(queryBuilderState.projectInfo.groupId, queryBuilderState.projectInfo.artifactId, queryBuilderState.projectInfo.versionId, queryBuilderState.dataSpace.path, template.id)));
|
70
70
|
}
|
71
71
|
};
|
72
72
|
return (_jsx(ClickAwayListener, { onClickAway: handleClose, children: _jsx("div", { children: _jsx(BasePopover, { open: queryBuilderState.isTemplateQueryDialogOpen, PaperProps: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,2FAA2F,CAAC;AAExI,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,0CAA0C,EAAE,MAAM,4DAA4D,CAAC;AAExH,MAAM,4BAA4B,GAAG,QAAQ,CAC3C,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IACrE,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAS,EAAE;QAC7B,iBAAiB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;IACtD,CAAC,CAAC;IAEF,MAAM,iBAAiB,GAAG,CAAC,QAAqC,EAAQ,EAAE;QACxE,MAAM,gBAAgB,GACpB,iBAAiB,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,CAChD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,mBAAmB,CAC/C,CAAC;QACJ,IACE,gBAAgB;YAChB,gBAAgB,CAAC,QAAQ;gBACvB,iBAAiB,CAAC,gBAAgB,CAAC,QAAQ,EAC7C;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AC,UAAU,EACxC,iBAAiB,CAAC,WAAW,CAAC,SAAS,EACvC,iBAAiB,CAAC,SAAS,CAAC,IAAI,EAChC,QAAQ,CAAC,
|
1
|
+
{"version":3,"file":"DataSpaceQueryBuilderTemplateQueryPanelContent.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,2BAA2B,EAAE,MAAM,2FAA2F,CAAC;AAExI,OAAO,EACL,qBAAqB,EACrB,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,0CAA0C,EAAE,MAAM,4DAA4D,CAAC;AAExH,MAAM,4BAA4B,GAAG,QAAQ,CAC3C,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IACrE,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,WAAW,GAAG,GAAS,EAAE;QAC7B,iBAAiB,CAAC,0BAA0B,CAAC,KAAK,CAAC,CAAC;IACtD,CAAC,CAAC;IAEF,MAAM,iBAAiB,GAAG,CAAC,QAAqC,EAAQ,EAAE;QACxE,MAAM,gBAAgB,GACpB,iBAAiB,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,CAChD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,mBAAmB,CAC/C,CAAC;QACJ,IACE,gBAAgB;YAChB,gBAAgB,CAAC,QAAQ;gBACvB,iB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IACtC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,CAAC"}
|
@@ -20,18 +20,18 @@ import { QueryEditor, QueryEditorStoreContext, useLegendQueryApplicationStore, u
|
|
20
20
|
import { DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN, } from '../../__lib__/query/DSL_DataSpace_LegendQueryNavigation.js';
|
21
21
|
import { parseGAVCoordinates } from '@finos/legend-storage';
|
22
22
|
import { DataSpaceTemplateQueryCreatorStore } from '../../stores/query/DataSpaceTemplateQueryCreatorStore.js';
|
23
|
-
const DataSpaceTemplateQueryCreatorStoreProvider = ({ children, gav, dataSpacePath,
|
23
|
+
const DataSpaceTemplateQueryCreatorStoreProvider = ({ children, gav, dataSpacePath, templateQueryId }) => {
|
24
24
|
const { groupId, artifactId, versionId } = parseGAVCoordinates(gav);
|
25
25
|
const applicationStore = useLegendQueryApplicationStore();
|
26
26
|
const baseStore = useLegendQueryBaseStore();
|
27
|
-
const store = useLocalObservable(() => new DataSpaceTemplateQueryCreatorStore(applicationStore, baseStore.depotServerClient, groupId, artifactId, versionId, dataSpacePath,
|
27
|
+
const store = useLocalObservable(() => new DataSpaceTemplateQueryCreatorStore(applicationStore, baseStore.depotServerClient, groupId, artifactId, versionId, dataSpacePath, templateQueryId));
|
28
28
|
return (_jsx(QueryEditorStoreContext.Provider, { value: store, children: children }));
|
29
29
|
};
|
30
30
|
export const DataSpaceTemplateQueryCreator = observer(() => {
|
31
31
|
const parameters = useParams();
|
32
32
|
const gav = parameters[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV];
|
33
33
|
const dataSpacePath = parameters[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH];
|
34
|
-
const
|
35
|
-
return (_jsx(DataSpaceTemplateQueryCreatorStoreProvider, { gav: gav, dataSpacePath: dataSpacePath,
|
34
|
+
const templateQueryId = parameters[DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID];
|
35
|
+
return (_jsx(DataSpaceTemplateQueryCreatorStoreProvider, { gav: gav, dataSpacePath: dataSpacePath, templateQueryId: templateQueryId, children: _jsx(QueryEditor, {}) }));
|
36
36
|
});
|
37
37
|
//# sourceMappingURL=DataSpaceTemplateQueryCreator.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataSpaceTemplateQueryCreator.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceTemplateQueryCreator.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qDAAqD,GAEtD,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kCAAkC,EAAE,MAAM,0DAA0D,CAAC;AAE9G,MAAM,0CAA0C,GAK3C,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,aAAa,EAAE,
|
1
|
+
{"version":3,"file":"DataSpaceTemplateQueryCreator.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceTemplateQueryCreator.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,qDAAqD,GAEtD,MAAM,4D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|
* limitations under the License.
|
15
15
|
*/
|
16
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';
|
17
18
|
export declare class DSL_DataSpace_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin implements DSL_LegendStudioApplicationPlugin_Extension {
|
18
19
|
constructor();
|
19
20
|
getExtraRequiredDocumentationKeys(): string[];
|
21
|
+
getExtraApplicationPageEntries(): ApplicationPageEntry[];
|
20
22
|
getExtraExplorerContextMenuItemRendererConfigurations(): ExplorerContextMenuItemRendererConfiguration[];
|
21
23
|
getExtraEditorExtensionStateBuilders(): EditorExtensionStateBuilder[];
|
22
24
|
getExtraEditorExtensionComponentRendererConfigurations(): EditorExtensionComponentRendererConfiguration[];
|
@@ -1 +1 @@
|
|
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;
|
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"}
|
@@ -24,6 +24,8 @@ import { DataSpaceIcon } from '../DSL_DataSpace_Icon.js';
|
|
24
24
|
import { DataSpacePreviewState } from '../../stores/studio/DataSpacePreviewState.js';
|
25
25
|
import { DataSpacePreviewDialog, DataSpacePreviewAction, } from './DataSpacePreviewAction.js';
|
26
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';
|
27
29
|
const DATA_SPACE_ELEMENT_TYPE = 'DATA SPACE';
|
28
30
|
const DATA_SPACE_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DATA_SPACE';
|
29
31
|
const PURE_GRAMMAR_DATA_SPACE_PARSER_NAME = 'DataSpace';
|
@@ -38,6 +40,17 @@ export class DSL_DataSpace_LegendStudioApplicationPlugin extends LegendStudioApp
|
|
38
40
|
DSL_DATA_SPACE_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_PARSER,
|
39
41
|
];
|
40
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
|
+
}
|
41
54
|
getExtraExplorerContextMenuItemRendererConfigurations() {
|
42
55
|
return [
|
43
56
|
{
|
@@ -1 +1 @@
|
|
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,MAAM,iEAAiE,CAAC;AACjI,OAAO,EAAE,yBAAyB,EAAE,MAAM,+DAA+D,CAAC;
|
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,MAAM,iEAAiE,CAAC;AACjI,OAAO,EAAE,yBAAyB,EAAE,MAAM,+DAA+D,CAAC;AAK1G,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EACL,sBAAsB,EACtB,sBAAsB,GACvB,MAA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;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"}
|
@@ -0,0 +1,19 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"DataSpaceTemplateQueryPromoteReview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0PH,eAAO,MAAM,uCAAuC;;CAoBlD,CAAC"}
|
@@ -0,0 +1,79 @@
|
|
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
|
+
const TemplateQueryPromotionReviewerStoreContext = createContext(undefined);
|
28
|
+
const DataSpaceTemplateQueryPromotionReviewerStoreProvider = ({ children, dataSpacePath, queryId }) => {
|
29
|
+
const applicationStore = useLegendStudioApplicationStore();
|
30
|
+
const baseStore = useLegendStudioBaseStore();
|
31
|
+
const store = useLocalObservable(() => new DataSpaceTemplateQueryPromotionReviewerStore(applicationStore, baseStore.sdlcServerClient, baseStore.depotServerClient));
|
32
|
+
store.initialize(queryId, dataSpacePath);
|
33
|
+
return (_jsx(TemplateQueryPromotionReviewerStoreContext.Provider, { value: store, children: children }));
|
34
|
+
};
|
35
|
+
const useTemplateQueryPromotionReviewerStore = () => guaranteeNonNullable(useContext(TemplateQueryPromotionReviewerStoreContext), `Can't find query productionizer store in context`);
|
36
|
+
const TemplateQueryPromotionReviewerContent = observer(() => {
|
37
|
+
const applicationStore = useApplicationStore();
|
38
|
+
const queryPromotionReviewerStore = useTemplateQueryPromotionReviewerStore();
|
39
|
+
const isLoadingEditor = !queryPromotionReviewerStore.initState.hasCompleted;
|
40
|
+
// workspace name
|
41
|
+
const changeWorkspaceName = (event) => queryPromotionReviewerStore.setWorkspaceName(event.target.value);
|
42
|
+
// template query
|
43
|
+
const onChangeTemplateQueryId = (event) => queryPromotionReviewerStore.setTemplateQueryId(event.target.value);
|
44
|
+
const onChangeTemplateQueryTitle = (event) => queryPromotionReviewerStore.setTemplateQueryTitle(event.target.value);
|
45
|
+
const onChangeTemplateQueryDescription = (event) => queryPromotionReviewerStore.setTemplateQueryDescription(event.target.value);
|
46
|
+
// actions
|
47
|
+
const promoteTemplateQuery = () => {
|
48
|
+
flowResult(queryPromotionReviewerStore.promoteAsTemplateQuery()).catch(applicationStore.alertUnhandledError);
|
49
|
+
};
|
50
|
+
return (_jsxs("div", { className: "app__page", children: [isLoadingEditor && (_jsx(BlankPanelContent, { children: queryPromotionReviewerStore.initState.message ??
|
51
|
+
queryPromotionReviewerStore.graphManagerState.systemBuildState
|
52
|
+
.message ??
|
53
|
+
queryPromotionReviewerStore.graphManagerState.dependenciesBuildState
|
54
|
+
.message ??
|
55
|
+
queryPromotionReviewerStore.graphManagerState.generationsBuildState
|
56
|
+
.message ??
|
57
|
+
queryPromotionReviewerStore.graphManagerState.graphBuildState
|
58
|
+
.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: [_jsx("div", { className: "template-query-promotor__title", children: "Promote as 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', {
|
59
|
+
'input-group__input--error': !queryPromotionReviewerStore.isWorkspaceNameValid,
|
60
|
+
}), 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', {
|
61
|
+
'input-group__input--error': !queryPromotionReviewerStore.isTemplateQueryIdValid,
|
62
|
+
}), 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 ||
|
63
|
+
!queryPromotionReviewerStore.currentQuery ||
|
64
|
+
!queryPromotionReviewerStore.currentQueryInfo ||
|
65
|
+
!queryPromotionReviewerStore.currentProject ||
|
66
|
+
!queryPromotionReviewerStore
|
67
|
+
.currentProjectConfigurationStatus?.isConfigured ||
|
68
|
+
!queryPromotionReviewerStore.workspaceName ||
|
69
|
+
!queryPromotionReviewerStore.templateQueryTitle ||
|
70
|
+
!queryPromotionReviewerStore.isWorkspaceNameValid ||
|
71
|
+
!queryPromotionReviewerStore.isTemplateQueryIdValid, children: "Promote Query" }) })] }) })] }), _jsx("div", { "data-testid": LEGEND_STUDIO_TEST_ID.STATUS_BAR, className: "editor__status-bar" })] })] }));
|
72
|
+
});
|
73
|
+
export const DataSpaceTemplateQueryPromotionReviewer = observer(() => {
|
74
|
+
const parameters = useParams();
|
75
|
+
const dataSpacePath = parameters[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH];
|
76
|
+
const queryId = parameters[DATA_SPACE_TEMPLATE_QUERY_PROMOTION_ROUTE_PATTERN_TOKEN.QUERY_ID];
|
77
|
+
return (_jsx(DataSpaceTemplateQueryPromotionReviewerStoreProvider, { dataSpacePath: dataSpacePath, queryId: queryId, children: _jsx(TemplateQueryPromotionReviewerContent, {}) }));
|
78
|
+
});
|
79
|
+
//# sourceMappingURL=DataSpaceTemplateQueryPromoteReview.js.map
|
@@ -0,0 +1 @@
|
|
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,OAA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