@finos/legend-application-query 13.4.0 → 13.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. package/lib/__lib__/DSL_DataSpace_LegendQueryDocumentation.d.ts +19 -0
  2. package/lib/__lib__/DSL_DataSpace_LegendQueryDocumentation.d.ts.map +1 -0
  3. package/lib/__lib__/DSL_DataSpace_LegendQueryDocumentation.js +20 -0
  4. package/lib/__lib__/DSL_DataSpace_LegendQueryDocumentation.js.map +1 -0
  5. package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.d.ts +53 -0
  6. package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.d.ts.map +1 -0
  7. package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.js +59 -0
  8. package/lib/__lib__/DSL_DataSpace_LegendQueryNavigation.js.map +1 -0
  9. package/lib/components/Core_LegendQueryApplicationPlugin.d.ts.map +1 -1
  10. package/lib/components/Core_LegendQueryApplicationPlugin.js +14 -1
  11. package/lib/components/Core_LegendQueryApplicationPlugin.js.map +1 -1
  12. package/lib/components/LegendQueryWebApplication.d.ts.map +1 -1
  13. package/lib/components/LegendQueryWebApplication.js +18 -10
  14. package/lib/components/LegendQueryWebApplication.js.map +1 -1
  15. package/lib/components/QueryEditor.d.ts.map +1 -1
  16. package/lib/components/QueryEditor.js +47 -18
  17. package/lib/components/QueryEditor.js.map +1 -1
  18. package/lib/components/data-space/DataSpaceQueryCreator.d.ts +19 -0
  19. package/lib/components/data-space/DataSpaceQueryCreator.d.ts.map +1 -0
  20. package/lib/components/data-space/DataSpaceQueryCreator.js +43 -0
  21. package/lib/components/data-space/DataSpaceQueryCreator.js.map +1 -0
  22. package/lib/components/data-space/DataSpaceQuerySetup.d.ts +21 -0
  23. package/lib/components/data-space/DataSpaceQuerySetup.d.ts.map +1 -0
  24. package/lib/components/data-space/DataSpaceQuerySetup.js +64 -0
  25. package/lib/components/data-space/DataSpaceQuerySetup.js.map +1 -0
  26. package/lib/components/data-space/DataSpaceTemplateQueryCreator.d.ts +19 -0
  27. package/lib/components/data-space/DataSpaceTemplateQueryCreator.d.ts.map +1 -0
  28. package/lib/components/data-space/DataSpaceTemplateQueryCreator.js +39 -0
  29. package/lib/components/data-space/DataSpaceTemplateQueryCreator.js.map +1 -0
  30. package/lib/components/data-space/QueryDataSpaceUtil.d.ts +19 -0
  31. package/lib/components/data-space/QueryDataSpaceUtil.d.ts.map +1 -0
  32. package/lib/components/data-space/QueryDataSpaceUtil.js +25 -0
  33. package/lib/components/data-space/QueryDataSpaceUtil.js.map +1 -0
  34. package/lib/index.css +1 -1
  35. package/lib/package.json +2 -1
  36. package/lib/stores/LegendQueryApplicationPlugin.d.ts +0 -16
  37. package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
  38. package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
  39. package/lib/stores/QueryEditorStore.d.ts +2 -0
  40. package/lib/stores/QueryEditorStore.d.ts.map +1 -1
  41. package/lib/stores/QueryEditorStore.js +96 -11
  42. package/lib/stores/QueryEditorStore.js.map +1 -1
  43. package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts +37 -0
  44. package/lib/stores/data-space/DataSpaceQueryCreatorStore.d.ts.map +1 -0
  45. package/lib/stores/data-space/DataSpaceQueryCreatorStore.js +132 -0
  46. package/lib/stores/data-space/DataSpaceQueryCreatorStore.js.map +1 -0
  47. package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts +51 -0
  48. package/lib/stores/data-space/DataSpaceQuerySetupState.d.ts.map +1 -0
  49. package/lib/stores/data-space/DataSpaceQuerySetupState.js +107 -0
  50. package/lib/stores/data-space/DataSpaceQuerySetupState.js.map +1 -0
  51. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.d.ts +36 -0
  52. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.d.ts.map +1 -0
  53. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js +104 -0
  54. package/lib/stores/data-space/DataSpaceTemplateQueryCreatorStore.js.map +1 -0
  55. package/package.json +5 -4
  56. package/src/__lib__/DSL_DataSpace_LegendQueryDocumentation.ts +19 -0
  57. package/src/__lib__/DSL_DataSpace_LegendQueryNavigation.ts +123 -0
  58. package/src/components/Core_LegendQueryApplicationPlugin.tsx +18 -0
  59. package/src/components/LegendQueryWebApplication.tsx +48 -12
  60. package/src/components/QueryEditor.tsx +112 -24
  61. package/src/components/data-space/DataSpaceQueryCreator.tsx +99 -0
  62. package/src/components/data-space/DataSpaceQuerySetup.tsx +165 -0
  63. package/src/components/data-space/DataSpaceTemplateQueryCreator.tsx +82 -0
  64. package/src/components/data-space/QueryDataSpaceUtil.ts +34 -0
  65. package/src/stores/LegendQueryApplicationPlugin.ts +0 -22
  66. package/src/stores/QueryEditorStore.ts +187 -12
  67. package/src/stores/data-space/DataSpaceQueryCreatorStore.ts +286 -0
  68. package/src/stores/data-space/DataSpaceQuerySetupState.ts +208 -0
  69. package/src/stores/data-space/DataSpaceTemplateQueryCreatorStore.ts +204 -0
  70. package/tsconfig.json +10 -1
@@ -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 enum DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY {
17
+ CURATED_TEMPLATE_QUERY = "dsl-dataspace.curated-template-query"
18
+ }
19
+ //# sourceMappingURL=DSL_DataSpace_LegendQueryDocumentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryDocumentation.d.ts","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendQueryDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,6CAA6C;IACvD,sBAAsB,yCAAyC;CAChE"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export var DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY;
17
+ (function (DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY) {
18
+ DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY["CURATED_TEMPLATE_QUERY"] = "dsl-dataspace.curated-template-query";
19
+ })(DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY || (DSL_DATA_SPACE_LEGEND_QUERY_DOCUMENTATION_KEY = {}));
20
+ //# sourceMappingURL=DSL_DataSpace_LegendQueryDocumentation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryDocumentation.js","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendQueryDocumentation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,6CAEX;AAFD,WAAY,6CAA6C;IACvD,gHAA+D,CAAA;AACjE,CAAC,EAFW,6CAA6C,KAA7C,6CAA6C,QAExD"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export declare enum DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN {
17
+ GAV = "gav",
18
+ DATA_SPACE_PATH = "dataSpacePath",
19
+ EXECUTION_CONTEXT = "executionContext",
20
+ RUNTIME_PATH = "runtimePath"
21
+ }
22
+ export declare enum DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN {
23
+ CLASS_PATH = "class"
24
+ }
25
+ export declare enum DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN {
26
+ GAV = "gav",
27
+ DATA_SPACE_PATH = "dataSpacePath",
28
+ TEMPLATE = "template",
29
+ TEMPLATE_QUERY_ID = "templateQueryId"
30
+ }
31
+ export type DataSpaceQueryCreatorPathParams = {
32
+ [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string;
33
+ [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: string;
34
+ [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT]: string;
35
+ [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH]?: string;
36
+ };
37
+ export type DataSpaceTemplateQueryCreatorPathParams = {
38
+ [DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: string;
39
+ [DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: string;
40
+ [DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID]: string;
41
+ };
42
+ export type DataSpaceQueryEditorQueryParams = {
43
+ [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]?: string | undefined;
44
+ };
45
+ export declare const DATA_SPACE_QUERY_ROUTE_PATTERN: Readonly<{
46
+ SETUP: "/dataspace";
47
+ CREATE: "/dataspace/:gav/:dataSpacePath/:executionContext/:runtimePath?";
48
+ TEMPLATE_QUERY: "/dataspace/:gav/:dataSpacePath/:template/:templateQueryId";
49
+ }>;
50
+ export declare const generateDataSpaceQuerySetupRoute: () => string;
51
+ 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, templateQueryId: string) => string;
53
+ //# sourceMappingURL=DSL_DataSpace_LegendQueryNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/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,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,+BAA+B,GAAG;IAC5C,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9E,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;EAIzC,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"}
@@ -0,0 +1,59 @@
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 { generateExtensionUrlPattern, generatePath, } from '@finos/legend-application/browser';
17
+ import { addQueryParametersToUrl, stringifyQueryParams, } from '@finos/legend-shared';
18
+ import { generateGAVCoordinates } from '@finos/legend-storage';
19
+ export var DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN;
20
+ (function (DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN) {
21
+ DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["GAV"] = "gav";
22
+ DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["DATA_SPACE_PATH"] = "dataSpacePath";
23
+ DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["EXECUTION_CONTEXT"] = "executionContext";
24
+ DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["RUNTIME_PATH"] = "runtimePath";
25
+ })(DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN || (DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN = {}));
26
+ export var DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN;
27
+ (function (DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN) {
28
+ DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN["CLASS_PATH"] = "class";
29
+ })(DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN || (DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN = {}));
30
+ export var DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN;
31
+ (function (DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN) {
32
+ DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["GAV"] = "gav";
33
+ DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN["DATA_SPACE_PATH"] = "dataSpacePath";
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
+ })(DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN || (DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN = {}));
37
+ export const DATA_SPACE_QUERY_ROUTE_PATTERN = Object.freeze({
38
+ SETUP: `/dataspace`,
39
+ 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}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID}`,
41
+ });
42
+ export const generateDataSpaceQuerySetupRoute = () => generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.SETUP), {});
43
+ export const generateDataSpaceQueryCreatorRoute = (groupId, artifactId, versionId, dataSpacePath, executionContextKey, runtimePath, classPath) => addQueryParametersToUrl(generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.CREATE), {
44
+ [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: generateGAVCoordinates(groupId, artifactId, versionId),
45
+ [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: dataSpacePath,
46
+ [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.EXECUTION_CONTEXT]: executionContextKey,
47
+ [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.RUNTIME_PATH]: runtimePath,
48
+ }), stringifyQueryParams({
49
+ [DATA_SPACE_QUERY_CREATOR_QUERY_PARAM_TOKEN.CLASS_PATH]: classPath
50
+ ? encodeURIComponent(classPath)
51
+ : undefined,
52
+ }));
53
+ export const generateDataSpaceTemplateQueryCreatorRoute = (groupId, artifactId, versionId, dataSpacePath, templateQueryId) => generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.TEMPLATE_QUERY), {
54
+ [DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.GAV]: generateGAVCoordinates(groupId, artifactId, versionId),
55
+ [DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.DATA_SPACE_PATH]: dataSpacePath,
56
+ [DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE]: DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE,
57
+ [DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_ID]: templateQueryId,
58
+ });
59
+ //# sourceMappingURL=DSL_DataSpace_LegendQueryNavigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryNavigation.js","sourceRoot":"","sources":["../../src/__lib__/DSL_DataSpace_LegendQueryNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,YAAY,GACb,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,uBAAu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BAAuB,CACrB,YAAY,CACV,2BAA2B,CAAC,8BAA8B,CAAC,MAAM,CAAC,EAClE;IACE,CAAC,4CAA4C,CAAC,GAAG,CAAC,EAChD,sBAAsB,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC;IACxD,CAAC,4CAA4C,CAAC,eAAe,CAAC,EAC5D,aAAa;IACf,CAAC,4CAA4C,CAAC,iBAAiB,CAAC,EAC9D,mBAAmB;IACrB,CAAC,4CAA4C,CAAC,YAAY,CAAC,EACzD,WAAW;CACd,CACF,EACD,oBAAoB,CAAC;IACnB,CAAC,0CAA0C,CAAC,UAAU,CAAC,EAAE,SAAS;QAChE,CAAC,CAAC,kBAAkB,CAAC,SAAS,CAAC;QAC/B,CAAC,CAAC,SAAS;CACd,CAAC,CACH,CAAC;AAEJ,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,eAAuB,EACf,EAAE,CACV,YAAY,CACV,2BAA2B,CAAC,8BAA8B,CAAC,cAAc,CAAC,EAC1E;IACE,CAAC,qDAAqD,CAAC,GAAG,CAAC,EACzD,sBAAsB,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,CAAC;IACxD,CAAC,qDAAqD,CAAC,eAAe,CAAC,EACrE,aAAa;IACf,CAAC,qDAAqD,CAAC,QAAQ,CAAC,EAC9D,qDAAqD,CAAC,QAAQ;IAChE,CAAC,qDAAqD,CAAC,iBAAiB,CAAC,EACvE,eAAe;CAClB,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAE5B,KAAK,6BAA6B,EACnC,MAAM,2CAA2C,CAAC;AAmBnD,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAUnC,qBAAa,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,SAAiD;;IAMnD,yBAAyB,IAAI,sBAAsB,EAAE;IASrD,8BAA8B,IAAI,oBAAoB,EAAE;IA+BxD,sCAAsC,IAAI,6BAA6B,EAAE;CAwFnF"}
1
+ {"version":3,"file":"Core_LegendQueryApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAE5B,KAAK,6BAA6B,EACnC,MAAM,2CAA2C,CAAC;AAoBnD,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAWnC,qBAAa,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,SAAiD;;IAMnD,yBAAyB,IAAI,sBAAsB,EAAE;IASrD,8BAA8B,IAAI,oBAAoB,EAAE;IA+BxD,sCAAsC,IAAI,6BAA6B,EAAE;CAwGnF"}
@@ -16,7 +16,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
16
16
  */
17
17
  import { LegendQueryApplicationPlugin, QuerySetupActionTag, } from '../stores/LegendQueryApplicationPlugin.js';
18
18
  import packageJson from '../../package.json' assert { type: 'json' };
19
- import { ArrowCircleUpIcon, DroidIcon, ManageSearchIcon, PlusIcon, RobotIcon, } from '@finos/legend-art';
19
+ import { ArrowCircleUpIcon, DroidIcon, ManageSearchIcon, PlusIcon, RobotIcon, SquareIcon, } from '@finos/legend-art';
20
20
  import { generateCloneServiceQuerySetupRoute, generateCreateMappingQuerySetupRoute, generateEditExistingQuerySetupRoute, generateLoadProjectServiceQuerySetup, generateQueryProductionizerSetupRoute, generateUpdateExistingServiceQuerySetup, LEGEND_QUERY_ROUTE_PATTERN, } from '../__lib__/LegendQueryNavigation.js';
21
21
  import {} from '@finos/legend-application';
22
22
  import { CloneQueryServiceSetup } from './CloneQueryServiceSetup.js';
@@ -24,6 +24,7 @@ import { QueryProductionizerSetup } from './QueryProductionizerSetup.js';
24
24
  import { UpdateExistingServiceQuerySetup } from './UpdateExistingServiceQuerySetup.js';
25
25
  import { LoadProjectServiceQuerySetup } from './LoadProjectServiceQuerySetup.js';
26
26
  import { configureCodeEditorComponent, setupPureLanguageService, } from '@finos/legend-lego/code-editor';
27
+ import { generateDataSpaceQuerySetupRoute } from '../__lib__/DSL_DataSpace_LegendQueryNavigation.js';
27
28
  export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlugin {
28
29
  static NAME = packageJson.extensions.applicationQueryPlugin;
29
30
  constructor() {
@@ -139,6 +140,18 @@ export class Core_LegendQueryApplicationPlugin extends LegendQueryApplicationPlu
139
140
  className: 'query-setup__landing-page__action--productionize-query',
140
141
  icon: _jsx(ArrowCircleUpIcon, {}),
141
142
  },
143
+ // data space
144
+ {
145
+ key: 'create-query-from-data-space',
146
+ isAdvanced: false,
147
+ isCreateAction: true,
148
+ action: async (setupStore) => {
149
+ setupStore.applicationStore.navigationService.navigator.goToLocation(generateDataSpaceQuerySetupRoute());
150
+ },
151
+ label: 'Create query from data space',
152
+ className: 'query-setup__landing-page__action--data-space',
153
+ icon: (_jsx(SquareIcon, { className: "query-setup__landing-page__icon--data-space" })),
154
+ },
142
155
  ];
143
156
  }
144
157
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,GAEpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,WAAW,MAAM,oBAAoB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAErE,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,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;SACF,CAAC;IACJ,CAAC"}
1
+ {"version":3,"file":"Core_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendQueryApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,GAEpB,MAAM,2CAA2C,CAAC;AACnD,OAAO,WAAW,MAAM,oBAAoB,CAAC,SAAS,IAAI,EAAE,MAAM,EAAE,CAAC;AAErE,OAAO,EACL,iBAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,mCAAmC,EACnC,oCAAoC,EACpC,mCAAmC,EACnC,oCAAoC,EACpC,qCAAqC,EACrC,uCAAuC,EACvC,0BAA0B,GAC3B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAGN,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AAErG,MAAM,OAAO,iCAAkC,SAAQ,4BAA4B;IACjF,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,sBAAsB,CAAC;IAE5D;QACE,KAAK,CAAC,iCAAiC,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACrE,CAAC;IAEQ,yBAAyB;QAChC,OAAO;YACL,KAAK,EAAE,gBAAgB,EAAE,EAAE;gBACzB,MAAM,4BAA4B,CAAC,gBAAgB,CA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;gBAC7D,IAAI,EAAE,KAAC,SAAS,KAAG;aACpB;YACD;gBACE,GAAG,EAAE,qBAAqB;gBAC1B,UAAU,EAAE,KAAK;gBACjB,cAAc,EAAE,IAAI;gBACpB,GAAG,EAAE,mBAAmB,CAAC,iBAAiB;gBAC1C,MAAM,EAAE,KAAK,EAAE,UAAsC,EAAE,EAAE;oBACvD,UAAU,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,YAAY,CAClE,qCAAqC,EAAE,CACxC,CAAC;gBACJ,CAAC;gBACD,KAAK,EAAE,iCAAiC;gBACxC,SAAS,EAAE,wDAAwD;gBACnE,IAAI,EAAE,KAAC,iBAAiB,KAAG;aAC5B;YACD,aAAa;YACb;gBACE,GAAG,EAAE,8BAA8B;gBACnC,UAAU,EAAE,KAAK;gBACjB,cAAc,EAAE,IAAI;gBACpB,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE;oBAC3B,UAAU,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,SAAS,CAAC,YAAY,CAClE,gCAAgC,EAAE,CACnC,CAAC;gBACJ,CAAC;gBACD,KAAK,EAAE,8BAA8B;gBACrC,SAAS,EAAE,+CAA+C;gBAC1D,IAAI,EAAE,CACJ,KAAC,UAAU,IAAC,SAAS,EAAC,6CAA6C,GAAG,CACvE;aACF;SACF,CAAC;IACJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"LegendQueryWebApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendQueryWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2HH,eAAO,MAAM,yBAAyB,WAC5B;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;;CAW5B,CAAC"}
1
+ {"version":3,"file":"LegendQueryWebApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendQueryWebApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+JH,eAAO,MAAM,yBAAyB,WAC5B;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;;CAW5B,CAAC"}
@@ -24,20 +24,16 @@ import { EditExistingQuerySetup } from './EditExistingQuerySetup.js';
24
24
  import { CreateMappingQuerySetup } from './CreateMappingQuerySetup.js';
25
25
  import { useEffect } from 'react';
26
26
  import { flowResult } from 'mobx';
27
- import { guaranteeNonNullable, isNonNullable } from '@finos/legend-shared';
27
+ import { DATA_SPACE_QUERY_ROUTE_PATTERN } from '../__lib__/DSL_DataSpace_LegendQueryNavigation.js';
28
+ import { DataSpaceQuerySetup } from './data-space/DataSpaceQuerySetup.js';
29
+ import { DataSpaceTemplateQueryCreator } from './data-space/DataSpaceTemplateQueryCreator.js';
30
+ import { DataSpaceQueryCreator } from './data-space/DataSpaceQueryCreator.js';
28
31
  const LegendQueryWebApplicationRouter = observer(() => {
29
32
  const applicationStore = useLegendQueryApplicationStore();
30
33
  const baseStore = useLegendQueryBaseStore();
31
34
  const extraApplicationPageEntries = applicationStore.pluginManager
32
35
  .getApplicationPlugins()
33
36
  .flatMap((plugin) => plugin.getExtraApplicationPageEntries?.() ?? []);
34
- const setupRoot = applicationStore.pluginManager
35
- .getApplicationPlugins()
36
- .flatMap((plugin) => plugin.getExtraRootAppRedirectPath?.())
37
- .filter(isNonNullable);
38
- const rootRedirect = setupRoot.length === 1
39
- ? generateExtensionUrlPattern(guaranteeNonNullable(setupRoot[0]))
40
- : LEGEND_QUERY_ROUTE_PATTERN.SETUP;
41
37
  useEffect(() => {
42
38
  flowResult(baseStore.initialize()).catch(applicationStore.alertUnhandledError);
43
39
  }, [applicationStore, baseStore]);
@@ -53,9 +49,21 @@ const LegendQueryWebApplicationRouter = observer(() => {
53
49
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
54
50
  ServiceQueryCreator }), _jsx(Route, { exact: true, path: LEGEND_QUERY_ROUTE_PATTERN.CREATE_FROM_MAPPING_QUERY, component:
55
51
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
56
- MappingQueryCreator }), extraApplicationPageEntries.map((entry) => (_jsx(Route, { exact: true, path: entry.addressPatterns.map(generateExtensionUrlPattern), component:
52
+ MappingQueryCreator }), _jsx(Route, { exact: true, path: [
53
+ generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.SETUP),
54
+ ], component:
55
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
56
+ DataSpaceQuerySetup }), _jsx(Route, { exact: true, path: [
57
+ generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.TEMPLATE_QUERY),
58
+ ], component:
59
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
60
+ DataSpaceTemplateQueryCreator }), _jsx(Route, { exact: true, path: [
61
+ generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.CREATE),
62
+ ], component:
63
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
64
+ DataSpaceQueryCreator }), extraApplicationPageEntries.map((entry) => (_jsx(Route, { exact: true, path: entry.addressPatterns.map(generateExtensionUrlPattern), component:
57
65
  // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
58
- entry.renderer }, entry.key))), _jsx(Redirect, { to: rootRedirect })] })) }));
66
+ entry.renderer }, entry.key))), _jsx(Redirect, { to: generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.SETUP) })] })) }));
59
67
  });
60
68
  export const LegendQueryWebApplication = observer((props) => {
61
69
  const { baseUrl } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"LegendQueryWebApplication.js","sourceRoot":"","sources":["../../src/components/LegendQueryWebApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EACL,mBAAmB,EACnB,m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P,mEAAmE;oBACnE,KAAK,CAAC,QAA+C,IALlD,KAAK,CAAC,GAAG,CAOd,CACH,CAAC,EACF,KAAC,QAAQ,IAAC,EAAE,EAAE,YAAY,GAAI,IACvB,CACV,GACG,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAC/C,CAAC,KAA0B,EAAE,EAAE;IAC7B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,OAAO,CACL,KAAC,0BAA0B,IAAC,OAAO,EAAE,OAAO,YAC1C,KAAC,4BAA4B,cAC3B,KAAC,+BAA+B,KAAG,GACN,GACJ,CAC9B,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"LegendQueryWebApplication.js","sourceRoot":"","sources":["../../src/components/LegendQueryWebApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,0BAA0B,EAC1B,QAAQ,EACR,KAAK,EACL,MAAM,EACN,2BAA2B,GAE5B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,4BAA4B,EAC5B,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,8BAA8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C,CAAC;AAEH,MAAM,CAAC,MAAM,yBAAyB,GAAG,QAAQ,CAC/C,CAAC,KAA0B,EAAE,EAAE;IAC7B,MAAM,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE1B,OAAO,CACL,KAAC,0BAA0B,IAAC,OAAO,EAAE,OAAO,YAC1C,KAAC,4BAA4B,cAC3B,KAAC,+BAA+B,KAAG,GACN,GACJ,CAC9B,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAu2BH,eAAO,MAAM,WAAW;;CA2HtB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAS9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAmB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC"}
1
+ {"version":3,"file":"QueryEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA+7BH,eAAO,MAAM,WAAW;;CA2HtB,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAS9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAmB9B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;CAe9B,CAAC"}
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { Dialog, PanelLoadingIndicator, BlankPanelContent, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, MenuIcon, MenuContentDivider, MenuContentItemIcon, CheckIcon, MenuContentItemLabel, Modal, ModalHeader, ModalBody, ModalFooter, ModalTitle, ModalFooterButton, ManageSearchIcon, LightBulbIcon, EmptyLightBulbIcon, SaveCurrIcon, SaveAsIcon, ExclamationTriangleIcon, PanelListItem, Button, clsx, ModalHeaderActions, TimesIcon, Panel, PanelFullContent, CustomSelectorInput, } from '@finos/legend-art';
17
+ import { Dialog, PanelLoadingIndicator, BlankPanelContent, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, MenuIcon, MenuContentDivider, MenuContentItemIcon, CheckIcon, MenuContentItemLabel, Modal, ModalHeader, ModalBody, ModalFooter, ModalTitle, ModalFooterButton, ManageSearchIcon, LightBulbIcon, EmptyLightBulbIcon, SaveCurrIcon, SaveAsIcon, ExclamationTriangleIcon, PanelListItem, Button, clsx, ModalHeaderActions, TimesIcon, Panel, PanelFullContent, CustomSelectorInput, ArrowCircleUpIcon, } from '@finos/legend-art';
18
18
  import { observer } from 'mobx-react-lite';
19
19
  import { Fragment, useEffect, useMemo, useRef, useState } from 'react';
20
20
  import { LEGEND_QUERY_QUERY_PARAM_TOKEN, LEGEND_QUERY_ROUTE_PATTERN_TOKEN, generateQuerySetupRoute, generateExistingQueryEditorRoute, generateMappingQueryCreatorRoute, } from '../__lib__/LegendQueryNavigation.js';
@@ -26,13 +26,17 @@ import { flowResult } from 'mobx';
26
26
  import { useLegendQueryApplicationStore } from './LegendQueryFrameworkProvider.js';
27
27
  import { QueryBuilder, QueryBuilderNavigationBlocker, QueryLoaderDialog, QueryBuilderDiffViewPanel, } from '@finos/legend-query-builder';
28
28
  import { QUERY_DOCUMENTATION_KEY } from '../application/LegendQueryDocumentation.js';
29
- import { debounce, guaranteeNonNullable, isNonNullable, } from '@finos/legend-shared';
29
+ import { buildUrl, debounce } from '@finos/legend-shared';
30
30
  import { LegendQueryTelemetryHelper } from '../__lib__/LegendQueryTelemetryHelper.js';
31
31
  import { QUERY_EDITOR_TEST_ID } from '../__lib__/LegendQueryTesting.js';
32
- import { compareSemVerVersions, generateGAVCoordinates, } from '@finos/legend-storage';
33
- import { LATEST_VERSION_ALIAS } from '@finos/legend-server-depot';
32
+ import { compareSemVerVersions, generateGAVCoordinates, parseProjectIdentifier, } from '@finos/legend-storage';
33
+ import { LATEST_VERSION_ALIAS, StoreProjectData, } from '@finos/legend-server-depot';
34
34
  import { buildVersionOption } from './QuerySetup.js';
35
35
  import { QueryEditorExistingQueryVersionRevertModal } from './QueryEdtiorExistingQueryVersionRevertModal.js';
36
+ import { DataSpaceQueryBuilderState, generateDataSpaceTemplateQueryPromotionRoute, } from '@finos/legend-extension-dsl-data-space/application';
37
+ import { getDataSpaceQueryInfo } from './data-space/QueryDataSpaceUtil.js';
38
+ import { generateDataSpaceQueryCreatorRoute } from '../__lib__/DSL_DataSpace_LegendQueryNavigation.js';
39
+ import { DataSpaceTemplateQueryCreatorStore } from '../stores/data-space/DataSpaceTemplateQueryCreatorStore.js';
36
40
  const CreateQueryDialog = observer(() => {
37
41
  const editorStore = useQueryEditorStore();
38
42
  const createQueryState = editorStore.queryCreatorState;
@@ -217,13 +221,12 @@ const QueryEditorHeaderContent = observer((props) => {
217
221
  if (editorStore instanceof ExistingQueryEditorStore) {
218
222
  const query = editorStore.query;
219
223
  if (query) {
220
- const paths = applicationStore.pluginManager
221
- .getApplicationPlugins()
222
- .flatMap((plugin) => plugin.getExtraNewQueryNavigationPaths?.() ?? [])
223
- .map((callback) => callback(query, editorStore))
224
- .filter(isNonNullable);
225
- if (paths.length) {
226
- editorStore.applicationStore.navigationService.navigator.goToLocation(guaranteeNonNullable(paths[0]));
224
+ const dataSpacePath = getDataSpaceQueryInfo(query);
225
+ if (dataSpacePath &&
226
+ queryBuilderState instanceof DataSpaceQueryBuilderState) {
227
+ editorStore.applicationStore.navigationService.navigator.goToLocation(generateDataSpaceQueryCreatorRoute(query.groupId, query.artifactId, query.versionId, dataSpacePath,
228
+ // TODO: fix execution key once that is fixed
229
+ queryBuilderState.executionContext.name, undefined, undefined));
227
230
  }
228
231
  else {
229
232
  editorStore.applicationStore.navigationService.navigator.goToLocation(generateMappingQueryCreatorRoute(query.groupId, query.artifactId, query.versionId, query.mapping.value.path, query.runtime.value.path));
@@ -247,22 +250,48 @@ const QueryEditorHeaderContent = observer((props) => {
247
250
  if (editorStore instanceof ExistingQueryEditorStore) {
248
251
  return (_jsx(QueryEditorExistingQueryHeader, { queryBuilderState: queryBuilderState, existingEditorStore: editorStore }));
249
252
  }
250
- const extensionHeader = applicationStore.pluginManager
251
- .getApplicationPlugins()
252
- .flatMap((plugin) => plugin.getExtraQueryHeaders?.() ?? [])
253
- .map((renderFunc) => renderFunc(editorStore))
254
- .find((element) => element !== undefined);
255
- return (extensionHeader ?? (_jsx("div", { className: "query-editor__header__content__main query-editor__header__content__title" })));
253
+ else if (editorStore instanceof DataSpaceTemplateQueryCreatorStore) {
254
+ 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" })] }));
255
+ }
256
+ return (_jsx("div", { className: "query-editor__header__content__main query-editor__header__content__title" }));
256
257
  };
257
258
  const extraHelpMenuContentItems = applicationStore.pluginManager
258
259
  .getApplicationPlugins()
259
260
  .flatMap((plugin) => plugin.getExtraQueryEditorHelpMenuActionConfigurations?.() ?? [])
260
261
  .map((item) => (_jsxs(MenuContentItem, { title: item.title ?? '', onClick: () => item.onClick(editorStore), children: [item.icon && _jsx(MenuContentItemIcon, { children: item.icon }), _jsx(MenuContentItemLabel, { children: item.label })] }, item.key)));
262
+ const proceedCuratedTemplateQueryPromotion = async () => {
263
+ if (!(editorStore instanceof ExistingQueryEditorStore &&
264
+ queryBuilderState instanceof DataSpaceQueryBuilderState)) {
265
+ return;
266
+ }
267
+ // fetch project data
268
+ const project = StoreProjectData.serialization.fromJson(await editorStore.depotServerClient.getProject(editorStore.lightQuery.groupId, editorStore.lightQuery.artifactId));
269
+ // find the matching SDLC instance
270
+ const projectIDPrefix = parseProjectIdentifier(project.projectId).prefix;
271
+ const matchingSDLCEntry = editorStore.applicationStore.config.studioInstances.find((entry) => entry.sdlcProjectIDPrefix === projectIDPrefix);
272
+ if (matchingSDLCEntry) {
273
+ editorStore.applicationStore.navigationService.navigator.visitAddress(buildUrl([
274
+ editorStore.applicationStore.config.studioApplicationUrl,
275
+ generateDataSpaceTemplateQueryPromotionRoute(editorStore.lightQuery.groupId, editorStore.lightQuery.artifactId, editorStore.lightQuery.versionId, queryBuilderState.dataSpace.path, editorStore.lightQuery.id),
276
+ ]));
277
+ }
278
+ else {
279
+ editorStore.applicationStore.notificationService.notifyWarning(`Can't find the corresponding SDLC instance to productionize the query`);
280
+ }
281
+ };
282
+ const proceedTemplate = () => {
283
+ queryBuilderState.changeDetectionState.alertUnsavedChanges(() => {
284
+ proceedCuratedTemplateQueryPromotion().catch(editorStore.applicationStore.alertUnhandledError);
285
+ });
286
+ };
261
287
  return (_jsxs("div", { className: "query-editor__header__content", "data-testid": QUERY_EDITOR_TEST_ID.QUERY_EDITOR_ACTIONS, children: [renderQueryTitle(), _jsxs("div", { className: "query-editor__header__actions", children: [applicationStore.pluginManager
262
288
  .getApplicationPlugins()
263
289
  .flatMap((plugin) => plugin.getExtraQueryEditorActionConfigurations?.(editorStore) ??
264
290
  [])
265
- .map((actionConfig) => (_jsx(Fragment, { children: actionConfig.renderer(editorStore, queryBuilderState) }, actionConfig.key))), _jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: editorStore.isPerformingBlockingAction, onClick: openQueryLoader, title: "Load query...", children: [_jsx(ManageSearchIcon, { className: "query-editor__header__action__icon--load" }), _jsx("div", { className: "query-editor__header__action__label", children: "Load Query" })] }), isExistingQuery && (_jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: editorStore.isPerformingBlockingAction, onClick: handleNewQuery, title: "New query", children: [_jsx(SaveCurrIcon, {}), _jsx("div", { className: "query-editor__header__action__label", children: "New Query" })] })), _jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: !isExistingQuery || editorStore.isPerformingBlockingAction, onClick: openSaveQueryModal, title: "Save query", children: [_jsx(SaveCurrIcon, {}), _jsx("div", { className: "query-editor__header__action__label", children: "Save" })] }), _jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: editorStore.isPerformingBlockingAction, onClick: handleQuerySaveAs, title: "Save as new query", children: [_jsx(SaveAsIcon, {}), _jsx("div", { className: "query-editor__header__action__label", children: "Save As..." })] }), _jsxs(DropdownMenu, { className: "query-editor__header__action btn--dark", disabled: editorStore.isViewProjectActionDisabled, content: _jsxs(MenuContent, { children: [extraHelpMenuContentItems, queryDocEntry && (_jsxs(MenuContentItem, { onClick: openQueryTutorial, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { children: "Open Documentation" })] })), _jsxs(MenuContentItem, { onClick: toggleAssistant, children: [_jsx(MenuContentItemIcon, { children: !applicationStore.assistantService.isHidden ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Virtual Assistant" })] })] }), children: [_jsx("div", { className: "query-editor__header__action__label", title: "See more options", children: "Help..." }), _jsx(CaretDownIcon, { className: "query-editor__header__action__dropdown-trigger" })] }), editorStore.queryLoaderState.isQueryLoaderDialogOpen && (_jsx(QueryLoaderDialog, { queryLoaderState: editorStore.queryLoaderState, title: "Load query" })), _jsx("button", { title: "Toggle light/dark mode", onClick: TEMPORARY__toggleLightDarkMode, className: "query-editor__header__action query-editor__header__action__theme-toggler", children: applicationStore.layoutService
291
+ .map((actionConfig) => (_jsx(Fragment, { children: actionConfig.renderer(editorStore, queryBuilderState) }, actionConfig.key))), _jsx(_Fragment, { children: editorStore instanceof ExistingQueryEditorStore &&
292
+ queryBuilderState instanceof DataSpaceQueryBuilderState && (_jsxs("button", { className: "query-editor__header__action btn--dark", tabIndex: -1, onClick: proceedTemplate, title: !(editorStore instanceof ExistingQueryEditorStore)
293
+ ? 'Please save your query first before promoting'
294
+ : '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" })] })) }), _jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: editorStore.isPerformingBlockingAction, onClick: openQueryLoader, title: "Load query...", children: [_jsx(ManageSearchIcon, { className: "query-editor__header__action__icon--load" }), _jsx("div", { className: "query-editor__header__action__label", children: "Load Query" })] }), isExistingQuery && (_jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: editorStore.isPerformingBlockingAction, onClick: handleNewQuery, title: "New query", children: [_jsx(SaveCurrIcon, {}), _jsx("div", { className: "query-editor__header__action__label", children: "New Query" })] })), _jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: !isExistingQuery || editorStore.isPerformingBlockingAction, onClick: openSaveQueryModal, title: "Save query", children: [_jsx(SaveCurrIcon, {}), _jsx("div", { className: "query-editor__header__action__label", children: "Save" })] }), _jsxs(Button, { className: "query-editor__header__action btn--dark", disabled: editorStore.isPerformingBlockingAction, onClick: handleQuerySaveAs, title: "Save as new query", children: [_jsx(SaveAsIcon, {}), _jsx("div", { className: "query-editor__header__action__label", children: "Save As..." })] }), _jsxs(DropdownMenu, { className: "query-editor__header__action btn--dark", disabled: editorStore.isViewProjectActionDisabled, content: _jsxs(MenuContent, { children: [extraHelpMenuContentItems, queryDocEntry && (_jsxs(MenuContentItem, { onClick: openQueryTutorial, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { children: "Open Documentation" })] })), _jsxs(MenuContentItem, { onClick: toggleAssistant, children: [_jsx(MenuContentItemIcon, { children: !applicationStore.assistantService.isHidden ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Virtual Assistant" })] })] }), children: [_jsx("div", { className: "query-editor__header__action__label", title: "See more options", children: "Help..." }), _jsx(CaretDownIcon, { className: "query-editor__header__action__dropdown-trigger" })] }), editorStore.queryLoaderState.isQueryLoaderDialogOpen && (_jsx(QueryLoaderDialog, { queryLoaderState: editorStore.queryLoaderState, title: "Load query" })), _jsx("button", { title: "Toggle light/dark mode", onClick: TEMPORARY__toggleLightDarkMode, className: "query-editor__header__action query-editor__header__action__theme-toggler", children: applicationStore.layoutService
266
295
  .TEMPORARY__isLightColorThemeEnabled ? (_jsx(_Fragment, { children: _jsx(LightBulbIcon, { className: "query-editor__header__action__icon--bulb--light" }) })) : (_jsx(_Fragment, { children: _jsx(EmptyLightBulbIcon, { className: "query-editor__header__action__icon--bulb--dark" }) })) }), _jsxs(DropdownMenu, { className: "query-editor__header__action btn--medium", disabled: editorStore.isViewProjectActionDisabled, content: _jsxs(MenuContent, { children: [isExistingQuery && (_jsx(MenuContentItem, { className: "query-editor__header__action__options", onClick: renameQuery, disabled: !isExistingQuery, children: "Rename Query" })), isExistingQuery && (_jsx(MenuContentItem, { className: "query-editor__header__action__options", onClick: showQueryInfo, disabled: !isExistingQuery, children: "Get Query Info" })), _jsx(MenuContentItem, { className: "query-editor__header__action__options", disabled: editorStore.isViewProjectActionDisabled, onClick: viewProject, children: "Go to Project" }), _jsx(MenuContentItem, { className: "query-editor__header__action__options", disabled: editorStore.isViewProjectActionDisabled, onClick: viewSDLCProject, children: "Go to SDLC project" })] }), children: [_jsx("div", { className: "query-editor__header__action__label", title: "See more options", children: "More Actions..." }), _jsx(CaretDownIcon, { className: "query-editor__header__action__dropdown-trigger" })] }), editorStore.queryCreatorState.showCreateModal && (_jsx(CreateQueryDialog, {})), isExistingQuery &&
267
296
  editorStore.updateState.showQueryInfo &&
268
297
  editorStore.query && (_jsx(QueryEditorExistingQueryInfoModal, { existingEditorStore: editorStore, query: editorStore.query }))] })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,KAAK,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AC,gCAAgC,CAAC,GAAG,CAAC,CAAC;IACzD,MAAM,WAAW,GAAG,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CAAC;IAC1E,MAAM,WAAW,GAAG,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CAAC;IAE1E,OAAO,CACL,KAAC,gCAAgC,IAC/B,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,YAExB,KAAC,WAAW,KAAG,GACkB,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"QueryEditor.js","sourceRoot":"","sources":["../../src/components/QueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,QAAQ,EACR,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,YAAY,EACZ,UAAU,EACV,uBAAuB,EACvB,aAAa,EACb,MAAM,EACN,IAAI,EACJ,kBAAkB,EAClB,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAIL,8BAA8B,EAC9B,gCAAgC,EAChC,uBAAuB,EACvB,gCAAgC,EAChC,gCAAgC,GACjC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM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,CAAC,CAAC;IAC1E,MAAM,WAAW,GAAG,MAAM,CAAC,gCAAgC,CAAC,YAAY,CAAC,CAAC;IAE1E,OAAO,CACL,KAAC,gCAAgC,IAC/B,GAAG,EAAE,GAAG,EACR,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,YAExB,KAAC,WAAW,KAAG,GACkB,CACpC,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -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 DataSpaceQueryCreator: (() => import("react/jsx-runtime").JSX.Element) & {
17
+ displayName: string;
18
+ };
19
+ //# sourceMappingURL=DataSpaceQueryCreator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataSpaceQueryCreator.d.ts","sourceRoot":"","sources":["../../../src/components/data-space/DataSpaceQueryCreator.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0DH,eAAO,MAAM,qBAAqB;;CA0BhC,CAAC"}