@finos/legend-extension-dsl-data-space 10.1.96 → 10.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.d.ts +18 -6
  2. package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.d.ts.map +1 -1
  3. package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.js +18 -6
  4. package/lib/__lib__/query/DSL_DataSpace_LegendQueryNavigation.js.map +1 -1
  5. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.d.ts.map +1 -1
  6. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js +1 -0
  7. package/lib/components/DSL_DataSpace_LegendApplicationPlugin.js.map +1 -1
  8. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts +4 -1
  9. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.d.ts.map +1 -1
  10. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js +55 -5
  11. package/lib/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.js.map +1 -1
  12. package/lib/components/query/DataSpaceAdvancedSearchModal.d.ts.map +1 -1
  13. package/lib/components/query/DataSpaceAdvancedSearchModal.js +5 -17
  14. package/lib/components/query/DataSpaceAdvancedSearchModal.js.map +1 -1
  15. package/lib/components/query/DataSpaceQueryBuilder.d.ts.map +1 -1
  16. package/lib/components/query/DataSpaceQueryBuilder.js +4 -16
  17. package/lib/components/query/DataSpaceQueryBuilder.js.map +1 -1
  18. package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js +1 -1
  19. package/lib/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.js.map +1 -1
  20. package/lib/components/query/DataSpaceQuerySetup.d.ts.map +1 -1
  21. package/lib/components/query/DataSpaceQuerySetup.js +3 -16
  22. package/lib/components/query/DataSpaceQuerySetup.js.map +1 -1
  23. package/lib/components/query/DataSpaceTemplateQueryCreator.js +4 -4
  24. package/lib/components/query/DataSpaceTemplateQueryCreator.js.map +1 -1
  25. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts +2 -0
  26. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.d.ts.map +1 -1
  27. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js +13 -0
  28. package/lib/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.js.map +1 -1
  29. package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.d.ts +19 -0
  30. package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.d.ts.map +1 -0
  31. package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js +79 -0
  32. package/lib/components/studio/DataSpaceTemplateQueryPromoteReview.js.map +1 -0
  33. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts +1 -0
  34. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.d.ts.map +1 -1
  35. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js +2 -0
  36. package/lib/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js.map +1 -1
  37. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts +1 -0
  38. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.d.ts.map +1 -1
  39. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js +1 -0
  40. package/lib/graph-manager/action/analytics/DataSpaceAnalysis.js.map +1 -1
  41. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts +10 -1
  42. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
  43. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
  44. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.d.ts.map +1 -1
  45. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js +2 -0
  46. package/lib/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.js.map +1 -1
  47. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts +12 -1
  48. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.d.ts.map +1 -1
  49. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js +28 -3
  50. package/lib/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.js.map +1 -1
  51. package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts +1 -0
  52. package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.d.ts.map +1 -1
  53. package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js +2 -0
  54. package/lib/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.js.map +1 -1
  55. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts +1 -0
  56. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.d.ts.map +1 -1
  57. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js +2 -0
  58. package/lib/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.js.map +1 -1
  59. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.d.ts.map +1 -1
  60. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js +1 -0
  61. package/lib/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.js.map +1 -1
  62. package/lib/index.css +2 -2
  63. package/lib/index.css.map +1 -1
  64. package/lib/package.json +2 -1
  65. package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts +1 -1
  66. package/lib/stores/query/DataSpaceAdvancedSearchState.d.ts.map +1 -1
  67. package/lib/stores/query/DataSpaceAdvancedSearchState.js +3 -6
  68. package/lib/stores/query/DataSpaceAdvancedSearchState.js.map +1 -1
  69. package/lib/stores/query/DataSpaceQueryBuilderState.d.ts +1 -1
  70. package/lib/stores/query/DataSpaceQueryBuilderState.d.ts.map +1 -1
  71. package/lib/stores/query/DataSpaceQueryBuilderState.js +3 -6
  72. package/lib/stores/query/DataSpaceQueryBuilderState.js.map +1 -1
  73. package/lib/stores/query/DataSpaceQuerySetupStore.d.ts +1 -1
  74. package/lib/stores/query/DataSpaceQuerySetupStore.d.ts.map +1 -1
  75. package/lib/stores/query/DataSpaceQuerySetupStore.js +3 -6
  76. package/lib/stores/query/DataSpaceQuerySetupStore.js.map +1 -1
  77. package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.d.ts +3 -2
  78. package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.d.ts.map +1 -1
  79. package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.js +9 -13
  80. package/lib/stores/query/DataSpaceTemplateQueryCreatorStore.js.map +1 -1
  81. package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.d.ts +61 -0
  82. package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.d.ts.map +1 -0
  83. package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js +407 -0
  84. package/lib/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.js.map +1 -0
  85. package/package.json +11 -10
  86. package/src/__lib__/query/DSL_DataSpace_LegendQueryNavigation.ts +43 -9
  87. package/src/components/DSL_DataSpace_LegendApplicationPlugin.tsx +1 -0
  88. package/src/components/query/DSL_DataSpace_LegendQueryApplicationPlugin.tsx +117 -3
  89. package/src/components/query/DataSpaceAdvancedSearchModal.tsx +4 -25
  90. package/src/components/query/DataSpaceQueryBuilder.tsx +3 -23
  91. package/src/components/query/DataSpaceQueryBuilderTemplateQueryPanelContent.tsx +1 -1
  92. package/src/components/query/DataSpaceQuerySetup.tsx +2 -24
  93. package/src/components/query/DataSpaceTemplateQueryCreator.tsx +6 -6
  94. package/src/components/studio/DSL_DataSpace_LegendStudioApplicationPlugin.tsx +18 -1
  95. package/src/components/studio/DataSpaceTemplateQueryPromoteReview.tsx +285 -0
  96. package/src/graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.ts +2 -0
  97. package/src/graph-manager/action/analytics/DataSpaceAnalysis.ts +1 -0
  98. package/src/graph-manager/protocol/pure/DSL_DataSpace_PureGraphManagerExtension.ts +15 -0
  99. package/src/graph-manager/protocol/pure/DSL_DataSpace_PureProtocolProcessorPlugin.ts +2 -0
  100. package/src/graph-manager/protocol/pure/v1/V1_DSL_DataSpace_PureGraphManagerExtension.ts +66 -2
  101. package/src/graph-manager/protocol/pure/v1/engine/analytics/V1_DataSpaceAnalysis.ts +2 -0
  102. package/src/graph-manager/protocol/pure/v1/model/packageableElements/dataSpace/V1_DSL_DataSpace_DataSpace.ts +2 -0
  103. package/src/graph-manager/protocol/pure/v1/transformation/pureProtocol/V1_DSL_DataSpace_ProtocolHelper.ts +1 -0
  104. package/src/stores/query/DataSpaceAdvancedSearchState.ts +3 -11
  105. package/src/stores/query/DataSpaceQueryBuilderState.ts +3 -11
  106. package/src/stores/query/DataSpaceQuerySetupStore.ts +3 -11
  107. package/src/stores/query/DataSpaceTemplateQueryCreatorStore.ts +12 -24
  108. package/src/stores/query/DataSpaceTemplateQueryPromotionReviewerStore.ts +636 -0
  109. 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
- TEMPLATE_QUERY_TITLE = "templateQueryTitle"
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.TEMPLATE_QUERY_TITLE]: string;
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/:templateQueryTitle";
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, templateQueryTitle: string) => 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;;;;;;;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,MAaA,CAAC"}
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["TEMPLATE_QUERY_TITLE"] = "templateQueryTitle";
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}/:${DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE}/:${DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_TITLE}`,
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, templateQueryTitle) => generatePath(generateExtensionUrlPattern(DATA_SPACE_QUERY_ROUTE_PATTERN.TEMPLATE_QUERY), {
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
- [DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE]: DATA_SPACE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE,
57
- [DATA_SPACE_TEMPLATE_QUERY_CREATOR_ROUTE_PATTERN_TOKEN.TEMPLATE_QUERY_TITLE]: templateQueryTitle,
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,4CAMX;AAND,WAAY,4CAA4C;IACtD,2DAAW,CAAA;IACX,iFAAiC,CAAA;IACjC,sFAAsC,CAAA;IACtC,4EAA4B,CAAA;IAC5B,qEAAqB,CAAA;AACvB,CAAC,EANW,4CAA4C,KAA5C,4CAA4C,QAMvD;AAED,MAAM,CAAN,IAAY,0CAEX;AAFD,WAAY,0CAA0C;IACpD,kEAAoB,CAAA;AACtB,CAAC,EAFW,0CAA0C,KAA1C,0CAA0C,QAErD;AAED,MAAM,CAAN,IAAY,qDAIX;AAJD,WAAY,qDAAqD;IAC/D,oEAAW,CAAA;IACX,0FAAiC,CAAA;IACjC,oGAA2C,CAAA;AAC7C,CAAC,EA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OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,kBAA0B,EAClB,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,4CAA4C,CAAC,QAAQ,CAAC,EACrD,4CAA4C,CAAC,QAAQ;IACvD,CAAC,qDAAqD,CAAC,oBAAoB,CAAC,EAC1E,kBAAkB;CACrB,CACF,CAAC"}
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,KAA5C,4CAA4C,QAKvD;AAED,MAAM,CAAN,IAAY,0CAEX;AAFD,WAAY,0CAA0C;IACpD,kEAAoB,CAAA;AACtB,CAAC,EAFW,0CAA0C,KAA1C,0CAA0C,QAErD;AAED,MAAM,CAAN,IAAY,qDAKX;AALD,WAAY,qDAAqD;IAC/D,oEAAW,CAAA;IACX,0FAAiC,CAAA;IACjC,8EAAqB,CAAA;IACrB,8FAAqC,CAAA;AACvC,CAAC,EALW,qDAAqD,KAArD,qDAAqD,QAKhE;AAED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C,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;AAEJ,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAC1D,OAAe,EACf,UAAkB,EAClB,SAAiB,EACjB,aAAqB,EACrB,OAA2B,EACnB,EAAE,CACV,YAAY,CACV,2BAA2B,CACzB,8BAA8B,CAAC,sBAAsB,CACtD,EACD;IACE,CAAC,uDAAuD,CAAC,GAAG,CAAC,EAC3D,sBAAsB,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,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;CAyD7E"}
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,CAAC;AAExH,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,oDAAoD,EAAE,MAAM,2DAA2D,CAAC;AACjI,OAAO,EAAE,2BAA2B,EAAE,MAAM,wFAAwF,CAAC;AACrI,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,MAAM,OAAO,qCACX,SAAQ,uBAAuB;IAG/B,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAEvD;QACE,KAAK,CAAC,qCAAqC,CAAC,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O,EAAE,CAAC;gBACZ,CAAC;gBACD,wBAAwB,EAAE,CACxB,aAAmC,EACnC,iBAAoC,EAC9B,EAAE;oBACR,IAAI,iBAAiB,YAAY,0BAA0B,EAAE;wBAC3D,IACE,iBAAiB,CAAC,gBAAgB,CAAC,IAAI;4BACvC,aAAa,CAAC,mBAAmB,EACjC;4BACA,MAAM,gBAAgB,GACpB,iBAAiB,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,CAChD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,aAAa,CAAC,mBAAmB,CACpD,CAAC;4BACJ,IAAI,gBAAgB,EAAE;gCACpB,iBAAiB,CAAC,mBAAmB,CAAC,gBAAgB,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"}
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,MA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the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { type QuerySetupActionConfiguration, type ExistingQueryEditorStateBuilder, LegendQueryApplicationPlugin } from '@finos/legend-application-query';
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;AAGH,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,+BAA+B,EAEpC,4BAA4B,EAI7B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AA8DnC,qBAAa,0CAA2C,SAAQ,4BAA4B;;IAKjF,8BAA8B,IAAI,oBAAoB,EAAE;IAwBxD,sCAAsC,IAAI,6BAA6B,EAAE;IAoBzE,wCAAwC,IAAI,+BAA+B,EAAE;CAqKvF"}
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,GAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACL,qBAAqB,EACrB,eAAe,GAEhB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,8BAA8B,EAC9B,kCAAkC,EAClC,gCAAgC,GACjC,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,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B,EAAE,oBAAoB;qCACjD,UAAU,EACb;gCACA,OAAO,EAAE,CAAC;6BACX;iCAAM;gCACL,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,kBAAkB,CAAC;oCAC3D,OAAO,EAAE;kCACK;oCACd,IAAI,EAAE,eAAe,CAAC,OAAO;oCAC7B,OAAO,EAAE;wCACP;4CACE,KAAK,EAAE,wBAAwB;4CAC/B,IAAI,EAAE,qBAAqB,CAAC,oBAAoB;4CAChD,OAAO,EAAE,GAAG,EAAE;gDACZ,qBAAqB,EAAE,CAAC,KAAK,CAC3B,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CACjD,CAAC;4CACJ,CAAC;yCACF;wCACD;4CACE,KAAK,EAAE,OAAO;4CACd,IAAI,EAAE,qBAAqB,CAAC,OAAO;4CACnC,OAAO,EAAE,IAAI;yCACd;qCACF;iCACF,CAAC,CAAC;6BACJ;yBACF;6BAAM;4BACL,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CAC5D,kEAAkE,CACnE,CAAC;yBACH;oBACH,CAAC,EACD,IAAI,EACJ,uBAAuB,EACvB,SAAS,EACT,SAAS,EACT,SAAS,EACT,WAAW,EACX,WAAW,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,EAC9D,UAAU,CACX,CAAC;oBACF,MAAM,kCAAkC,GACtC,uBAAuB,EAAE,sBAAsB,CAAC,GAAG,CACjD,wBAAwB,CAAC,IAAI,CAC9B,EAAE,kCAAkC,CAAC;oBACxC,IAAI,kCAAkC,EAAE;wBACtC,0BAA0B,CAAC,aAAa,CAAC,kCAAkC;4BACzE,kCAAkC,CAAC;qBACtC;oBACD,OAAO,0BAA0B,CAAC;iBACnC;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSL_DataSpace_LegendQueryApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/query/DSL_DataSpace_L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AC;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"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAdvancedSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2BH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAQvG,eAAO,MAAM,4BAA4B,WAC/B;IACN,WAAW,EAAE,4BAA4B,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;;CA2MF,CAAC"}
1
+ {"version":3,"file":"DataSpaceAdvancedSearchModal.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA2BH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAQvG,eAAO,MAAM,4BAA4B,WAC/B;IACN,WAAW,EAAE,4BAA4B,CAAC;IAC1C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;;CAsLF,CAAC"}
@@ -17,10 +17,10 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
17
17
  import { useApplicationStore } from '@finos/legend-application';
18
18
  import { BoltIcon, clsx, BlankPanelContent, TimesCircleIcon, PanelLoadingIndicator, CustomSelectorInput, SearchIcon, Dialog, TimesIcon, ArrowRightIcon, Modal, ModalHeader, ModalTitle, ModalHeaderActions, } from '@finos/legend-art';
19
19
  import { generateGAVCoordinates } from '@finos/legend-storage';
20
- import { debounce, guaranteeNonNullable } from '@finos/legend-shared';
20
+ import { guaranteeNonNullable } from '@finos/legend-shared';
21
21
  import { flowResult } from 'mobx';
22
22
  import { observer } from 'mobx-react-lite';
23
- import { useEffect, useMemo, useRef, useState } from 'react';
23
+ import { useEffect, useRef } from 'react';
24
24
  import { DataSpaceViewer } from '../DataSpaceViewer.js';
25
25
  const buildDataSpaceOption = (value) => ({
26
26
  label: value.title ?? value.name,
@@ -30,14 +30,13 @@ export const DataSpaceAdvancedSearchModal = observer((props) => {
30
30
  const { searchState, onClose } = props;
31
31
  const applicationStore = useApplicationStore();
32
32
  const dataSpaceSearchRef = useRef(null);
33
- const [searchText, setSearchText] = useState('');
34
33
  const handleEnter = () => dataSpaceSearchRef.current?.focus();
35
34
  const proceedToCreateQuery = () => {
36
35
  flowResult(searchState.proceedToCreateQuery()).catch(applicationStore.alertUnhandledError);
37
36
  };
38
37
  const toggleGetSnapshot = () => {
39
38
  searchState.setToGetSnapShot(!searchState.toGetSnapShot);
40
- flowResult(searchState.loadDataSpaces(searchText)).catch(applicationStore.alertUnhandledError);
39
+ flowResult(searchState.loadDataSpaces()).catch(applicationStore.alertUnhandledError);
41
40
  };
42
41
  // data space
43
42
  const dataSpaceOptions = searchState.dataSpaces.map(buildDataSpaceOption);
@@ -55,19 +54,8 @@ export const DataSpaceAdvancedSearchModal = observer((props) => {
55
54
  return (_jsxs("div", { className: "data-space-advanced-search__dialog__option", title: `${option.label} - ${option.value.path} - ${generateGAVCoordinates(groupId, artifactId, versionId)}`, children: [_jsx("div", { className: "data-space-advanced-search__dialog__option__label", children: option.label }), _jsx("div", { className: "data-space-advanced-search__dialog__option__path", children: option.value.path }), _jsx("div", { className: "data-space-advanced-search__dialog__option__gav", children: generateGAVCoordinates(groupId, artifactId, versionId) })] }));
56
55
  };
57
56
  // search text
58
- const debouncedLoadDataSpaces = useMemo(() => debounce((input) => {
59
- flowResult(searchState.loadDataSpaces(input)).catch(applicationStore.alertUnhandledError);
60
- }, 500), [applicationStore, searchState]);
61
- const onSearchTextChange = (value) => {
62
- if (value !== searchText) {
63
- setSearchText(value);
64
- debouncedLoadDataSpaces.cancel();
65
- debouncedLoadDataSpaces(value);
66
- }
67
- };
68
57
  useEffect(() => {
69
- searchState.loadDataSpaces('');
70
- flowResult(searchState.loadDataSpaces('')).catch(applicationStore.alertUnhandledError);
58
+ flowResult(searchState.loadDataSpaces()).catch(applicationStore.alertUnhandledError);
71
59
  }, [searchState, applicationStore]);
72
60
  useEffect(() => {
73
61
  if (searchState.currentDataSpace) {
@@ -80,7 +68,7 @@ export const DataSpaceAdvancedSearchModal = observer((props) => {
80
68
  paper: 'editor-modal__content data-space-advanced-search__dialog__container__content',
81
69
  }, TransitionProps: {
82
70
  onEnter: handleEnter,
83
- }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal data-space-advanced-search__dialog", children: [_jsxs(ModalHeader, { className: "data-space-advanced-search__dialog__header", children: [_jsx(ModalTitle, { title: "Search for data space " }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", title: "Close", onClick: onClose, children: _jsx(TimesIcon, {}) }) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__content", children: [_jsxs("div", { className: "data-space-advanced-search__dialog__input", children: [_jsx("div", { className: "data-space-advanced-search__dialog__input__icon", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "data-space-advanced-search__dialog__input__selector", options: dataSpaceOptions, isLoading: searchState.loadDataSpacesState.isInProgress, onInputChange: onSearchTextChange, inputValue: searchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space by name...", isClearable: true, escapeClearsValue: true, darkMode: !applicationStore.layoutService
71
+ }, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal data-space-advanced-search__dialog", children: [_jsxs(ModalHeader, { className: "data-space-advanced-search__dialog__header", children: [_jsx(ModalTitle, { title: "Search for data space " }), _jsx(ModalHeaderActions, { children: _jsx("button", { className: "modal__header__action", title: "Close", onClick: onClose, children: _jsx(TimesIcon, {}) }) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__content", children: [_jsxs("div", { className: "data-space-advanced-search__dialog__input", children: [_jsx("div", { className: "data-space-advanced-search__dialog__input__icon", children: _jsx(SearchIcon, {}) }), _jsx(CustomSelectorInput, { ref: dataSpaceSearchRef, className: "data-space-advanced-search__dialog__input__selector", options: dataSpaceOptions, isLoading: searchState.loadDataSpacesState.isInProgress, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space by name...", isClearable: true, escapeClearsValue: true, darkMode: !applicationStore.layoutService
84
72
  .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatDataSpaceOptionLabel }), _jsx("button", { className: clsx('data-space-advanced-search__dialog__input__use-snapshot-btn', {
85
73
  'data-space-advanced-search__dialog__input__use-snapshot-btn--active': searchState.toGetSnapShot,
86
74
  }), tabIndex: -1, title: `[${searchState.toGetSnapShot ? 'on' : 'off'}] Toggle show data spaces from snapshot releases instead of latest releases`, onClick: toggleGetSnapshot, children: _jsx(BoltIcon, {}) }), _jsx("button", { className: "data-space-advanced-search__dialog__input__proceed-btn", tabIndex: -1, title: "Proceed to create query", onClick: proceedToCreateQuery, children: _jsx(ArrowRightIcon, {}) })] }), _jsxs("div", { className: "data-space-advanced-search__dialog__view", children: [_jsx(PanelLoadingIndicator, { isLoading: searchState.loadDataSpaceState.isInProgress }), searchState.dataSpaceViewerState && (_jsx(DataSpaceViewer, { dataSpaceViewerState: searchState.dataSpaceViewerState })), !searchState.dataSpaceViewerState && (_jsxs(_Fragment, { children: [searchState.loadDataSpaceState.isInProgress && (_jsx(BlankPanelContent, { children: searchState.loadDataSpaceState.message })), searchState.loadDataSpaceState.hasFailed && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "data-space-advanced-search__dialog__view--failed", children: [_jsx("div", { className: "data-space-advanced-search__dialog__view--failed__icon", children: _jsx(TimesCircleIcon, {}) }), _jsx("div", { className: "data-space-advanced-search__dialog__view--failed__text", children: `Can't load data space` })] }) }))] }))] })] })] }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceAdvancedSearchModal.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,MAAM,EACN,SAAS,EACT,cAAc,EACd,KAAK,EACL,WAAW,EACX,UAAU,EACV,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAKxD,MAAM,oBAAoB,GAAG,CAAC,KAAoB,EAAmB,EAAE,CAAC,CAAC;IACvE,KAAK,EAAE,KAAK,CAAC,KAAK,IA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IAAI,CAC9C,KAAC,iBAAiB,cACf,WAAW,CAAC,kBAAkB,CAAC,OAAO,GACrB,CACrB,EACA,WAAW,CAAC,kBAAkB,CAAC,SAAS,IAAI,CAC3C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,kDAAkD,aAC/D,cAAK,SAAS,EAAC,wDAAwD,YACrE,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,wDAAwD,YACpE,uBAAuB,GACpB,IACF,GACY,CACrB,IACA,CACJ,IACG,IACF,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"DataSpaceAdvancedSearchModal.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceAdvancedSearchModal.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,mBAAmB,EACnB,UAAU,EACV,MAAM,EACN,SAAS,EACT,cAAc,EACd,KAAK,EACL,WAAW,EACX,UAAU,EACV,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAKxD,MAAM,oBAAoB,GAAG,CAAC,KAAoB,EAAmB,EAAE,CAAC,CAAC;IACvE,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI;IAChC,KAAK;CACN,CA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AAiB,YAE1B,KAAC,QAAQ,KAAG,GACL,EACT,iBACE,SAAS,EAAC,wDAAwD,EAClE,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,yBAAyB,EAC/B,OAAO,EAAE,oBAAoB,YAE7B,KAAC,cAAc,KAAG,GACX,IACL,EACN,eAAK,SAAS,EAAC,0CAA0C,aACvD,KAAC,qBAAqB,IACpB,SAAS,EAAE,WAAW,CAAC,kBAAkB,CAAC,YAAY,GACtD,EACD,WAAW,CAAC,oBAAoB,IAAI,CACnC,KAAC,eAAe,IACd,oBAAoB,EAAE,WAAW,CAAC,oBAAoB,GACtD,CACH,EACA,CAAC,WAAW,CAAC,oBAAoB,IAAI,CACpC,8BACG,WAAW,CAAC,kBAAkB,CAAC,YAAY,IAAI,CAC9C,KAAC,iBAAiB,cACf,WAAW,CAAC,kBAAkB,CAAC,OAAO,GACrB,CACrB,EACA,WAAW,CAAC,kBAAkB,CAAC,SAAS,IAAI,CAC3C,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,kDAAkD,aAC/D,cAAK,SAAS,EAAC,wDAAwD,YACrE,KAAC,eAAe,KAAG,GACf,EACN,cAAK,SAAS,EAAC,wDAAwD,YACpE,uBAAuB,GACpB,IACF,GACY,CACrB,IACA,CACJ,IACG,IACF,IACA,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,EACL,0BAA0B,EAE3B,MAAM,kDAAkD,CAAC;AAY1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAKzE,OAAO,EACL,SAAS,EAEV,MAAM,2FAA2F,CAAC;AAGnG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,oBAAoB,UACxB,aAAa,KACnB,eAGD,CAAC;AACH,eAAO,MAAM,0BAA0B,WAC7B,eAAe,KACtB,MAAM,SAiCR,CAAC;AA0RF,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,MAAM,SAIR,CAAC;AAEF,eAAO,MAAM,cAAc,cACd,SAAS,eACP,WAAW,KACvB,QAAQ,IAAI,CAqDd,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkBH,OAAO,EACL,0BAA0B,EAE3B,MAAM,kDAAkD,CAAC;AAY1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAKzE,OAAO,EACL,SAAS,EAEV,MAAM,2FAA2F,CAAC;AAGnG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;CACtB,CAAC;AACF,eAAO,MAAM,oBAAoB,UACxB,aAAa,KACnB,eAGD,CAAC;AACH,eAAO,MAAM,0BAA0B,WAC7B,eAAe,KACtB,MAAM,SAiCR,CAAC;AAsQF,eAAO,MAAM,4CAA4C,sBACpC,0BAA0B,KAC5C,MAAM,SAIR,CAAC;AAEF,eAAO,MAAM,cAAc,cACd,SAAS,eACP,WAAW,KACvB,QAAQ,IAAI,CAqDd,CAAC"}
@@ -21,8 +21,8 @@ import { DataSpaceQueryBuilderState, resolveUsableDataSpaceClasses, } from '../.
21
21
  import { buildRuntimeValueOption, getRuntimeOptionFormatter, QueryBuilderClassSelector, } from '@finos/legend-query-builder';
22
22
  import { getMappingCompatibleRuntimes, PackageableElementExplicitReference, RuntimePointer, } from '@finos/legend-graph';
23
23
  import { generateGAVCoordinates } from '@finos/legend-storage';
24
- import { useEffect, useMemo, useState } from 'react';
25
- import { debounce, guaranteeType } from '@finos/legend-shared';
24
+ import { useEffect } from 'react';
25
+ import { guaranteeType } from '@finos/legend-shared';
26
26
  import { flowResult } from 'mobx';
27
27
  import { DataSpace, } from '../../graph/metamodel/pure/model/packageableElements/dataSpace/DSL_DataSpace_DataSpace.js';
28
28
  import { DataSpaceIcon } from '../DSL_DataSpace_Icon.js';
@@ -52,7 +52,6 @@ const buildExecutionContextOption = (value) => ({
52
52
  const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
53
53
  const { queryBuilderState } = props;
54
54
  const applicationStore = useApplicationStore();
55
- const [dataSpaceSearchText, setDataSpaceSearchText] = useState('');
56
55
  // data space
57
56
  const dataSpaceOptions = queryBuilderState.dataSpaces.map(buildDataSpaceOption);
58
57
  const selectedDataSpaceOption = {
@@ -70,17 +69,6 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
70
69
  const onDataSpaceOptionChange = (option) => {
71
70
  queryBuilderState.onDataSpaceChange(option.value);
72
71
  };
73
- // data space search text
74
- const debouncedLoadDataSpaces = useMemo(() => debounce((input) => {
75
- flowResult(queryBuilderState.loadDataSpaces(input)).catch(applicationStore.alertUnhandledError);
76
- }, 500), [applicationStore, queryBuilderState]);
77
- const onDataSpaceSearchTextChange = (value) => {
78
- if (value !== dataSpaceSearchText) {
79
- setDataSpaceSearchText(value);
80
- debouncedLoadDataSpaces.cancel();
81
- debouncedLoadDataSpaces(value);
82
- }
83
- };
84
72
  const openDataSpaceAdvancedSearch = () => queryBuilderState.showAdvancedSearchPanel();
85
73
  // execution context
86
74
  const executionContextOptions = queryBuilderState.dataSpace.executionContexts.map(buildExecutionContextOption);
@@ -117,12 +105,12 @@ const DataSpaceQueryBuilderSetupPanelContent = observer((props) => {
117
105
  // class
118
106
  const classes = resolveUsableDataSpaceClasses(queryBuilderState.dataSpace, queryBuilderState.executionContext.mapping.value, queryBuilderState.graphManagerState);
119
107
  useEffect(() => {
120
- flowResult(queryBuilderState.loadDataSpaces('')).catch(applicationStore.alertUnhandledError);
108
+ flowResult(queryBuilderState.loadDataSpaces()).catch(applicationStore.alertUnhandledError);
121
109
  }, [queryBuilderState, applicationStore]);
122
110
  return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "query-builder__setup__config-group", children: [_jsxs("div", { className: "query-builder__setup__config-group__header", children: [_jsx("div", { className: "query-builder__setup__config-group__header__title", children: "data space execution context" }), _jsx(DropdownMenu, { className: "query-builder__setup__config-group__header__dropdown-trigger", title: "Show Settings...", content: _jsx(MenuContent, { children: _jsxs(MenuContentItem, { onClick: () => queryBuilderState.setShowRuntimeSelector(!queryBuilderState.showRuntimeSelector), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showRuntimeSelector ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Runtime Selector" })] }) }), menuProps: {
123
111
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
124
112
  transformOrigin: { vertical: 'top', horizontal: 'right' },
125
- }, children: _jsx(MoreHorizontalIcon, {}) })] }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "data space", children: _jsx(DataSpaceIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", options: dataSpaceOptions, isLoading: queryBuilderState.loadDataSpacesState.isInProgress, onInputChange: onDataSpaceSearchTextChange, inputValue: dataSpaceSearchText, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space...", escapeClearsValue: true, darkMode: !applicationStore.layoutService
113
+ }, children: _jsx(MoreHorizontalIcon, {}) })] }), _jsxs("div", { className: "query-builder__setup__config-group__content", children: [_jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "data space", children: _jsx(DataSpaceIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", options: dataSpaceOptions, isLoading: queryBuilderState.loadDataSpacesState.isInProgress, onChange: onDataSpaceOptionChange, value: selectedDataSpaceOption, placeholder: "Search for data space...", escapeClearsValue: true, darkMode: !applicationStore.layoutService
126
114
  .TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: formatDataSpaceOptionLabel }), queryBuilderState.isAdvancedDataSpaceSearchEnabled && (_jsxs(_Fragment, { children: [_jsx("button", { tabIndex: -1, className: "query-builder__setup__data-space-searcher__btn btn--dark", onClick: openDataSpaceAdvancedSearch, title: "Open advanced search for data space...", children: _jsx(SearchIcon, {}) }), queryBuilderState.advancedSearchState && (_jsx(DataSpaceAdvancedSearchModal, { searchState: queryBuilderState.advancedSearchState, onClose: () => queryBuilderState.hideAdvancedSearchPanel() }))] }))] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "execution context", children: _jsx(PlayIcon, { className: "query-builder__setup__data-space__icon__execution-context" }) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose an execution context...", options: executionContextOptions, disabled: executionContextOptions.length < 1 ||
127
115
  (executionContextOptions.length === 1 &&
128
116
  Boolean(selectedExecutionContextOption)), onChange: onExecutionContextOptionChange, value: selectedExecutionContextOption, darkMode: !applicationStore.layoutService
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,kBAAkB,EAClB,eAAe,E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CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"DataSpaceQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,SAAS,EACT,oBAAoB,EACpB,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,0BAA0B,EAC1B,6BAA6B,GAC9B,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEL,4BAA4B,EAC5B,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACL,SAAS,GAEV,MAAM,2FAA2F,CAAC;AACnG,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAOjF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,KAAoB,EACH,EAAE,CAAC,CAAC;IACrB,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI;IAChC,KAAK;CACN,CAAC,CAAC;AACH,MAAM,CAAC,MAAM,0BAA0B,G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AS,CAAC,uBAAuB,EACjC,CAAC,aAA4B,EAAE,EAAE;gBAC/B,iBAAiB,CAAC,SAAS,GAAG,aAAa,CACzC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAClD,aAAa,CAAC,IAAI,CACnB,EACD,SAAS,CACV,CAAC;gBACF,iBAAiB,CAAC,mBAAmB,CACnC,iBAAiB,CAAC,SAAS,CAAC,uBAAuB,CACpD,CAAC;gBACF,iBAAiB,CAAC,+BAA+B,CAC/C,iBAAiB,CAAC,SAAS,CAAC,uBAAuB,CACpD,CAAC;YACJ,CAAC,EACD,KAAK,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,WAAW,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,EAC9D,UAAU,CACX,CAAC;YACF,iBAAiB,CAAC,mBAAmB,CACnC,SAAS,CAAC,uBAAuB,CAClC,CAAC;YACF,iBAAiB,CAAC,+BAA+B,CAC/C,SAAS,CAAC,uBAAuB,CAClC,CAAC;YACF,OAAO,iBAAiB,CAAC;QAC3B,CAAC;QACD,aAAa,EAAE,EAAE;QACjB,cAAc,EAAE,IAAI;KACrB,CAAC,CACH,CAAC;AACJ,CAAC,CAAC"}
@@ -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.title)));
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,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,iBAA6C,EAC5B,EAAE,CAAC,CACpB,KAAC,uCAAuC,IACtC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,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,iBAAiB,CAAC,gB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EAAE,iBAAiB,GACpC,CACH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoBH,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,gDAAgD,CAAC;AA2BxD,eAAO,MAAM,mBAAmB;;CAI9B,CAAC;AAkHH,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
1
+ {"version":3,"file":"DataSpaceQuerySetup.d.ts","sourceRoot":"","sources":["../../../src/components/query/DataSpaceQuerySetup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,gDAAgD,CAAC;AA2BxD,eAAO,MAAM,mBAAmB;;CAI9B,CAAC;AA6FH,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}