@finos/legend-query-builder 3.1.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. package/lib/__lib__/QueryBuilderColorTheme.d.ts +23 -0
  2. package/lib/__lib__/QueryBuilderColorTheme.d.ts.map +1 -0
  3. package/lib/__lib__/QueryBuilderColorTheme.js +24 -0
  4. package/lib/__lib__/QueryBuilderColorTheme.js.map +1 -0
  5. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +20 -20
  6. package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
  7. package/lib/__lib__/QueryBuilderTelemetryHelper.js +40 -40
  8. package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -1
  9. package/lib/components/QueryBuilder.d.ts.map +1 -1
  10. package/lib/components/QueryBuilder.js +17 -15
  11. package/lib/components/QueryBuilder.js.map +1 -1
  12. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
  13. package/lib/components/QueryBuilder_LegendApplicationPlugin.js +3 -0
  14. package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
  15. package/lib/components/QueryLoader.d.ts +30 -0
  16. package/lib/components/QueryLoader.d.ts.map +1 -0
  17. package/lib/components/QueryLoader.js +164 -0
  18. package/lib/components/QueryLoader.js.map +1 -0
  19. package/lib/components/data-access/DataAccessOverview.d.ts +23 -0
  20. package/lib/components/data-access/DataAccessOverview.d.ts.map +1 -0
  21. package/lib/components/data-access/DataAccessOverview.js +146 -0
  22. package/lib/components/data-access/DataAccessOverview.js.map +1 -0
  23. package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
  24. package/lib/components/execution-plan/ExecutionPlanViewer.js +3 -3
  25. package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
  26. package/lib/components/execution-plan/SQLExecutionNodeViewer.js +1 -1
  27. package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
  28. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +1 -1
  29. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  30. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +0 -18
  31. package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
  32. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +34 -36
  33. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  34. package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
  35. package/lib/components/shared/LambdaEditor.js +7 -19
  36. package/lib/components/shared/LambdaEditor.js.map +1 -1
  37. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -1
  38. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +2 -1
  39. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
  40. package/lib/index.css +1 -17
  41. package/lib/index.css.map +1 -1
  42. package/lib/index.d.ts +5 -0
  43. package/lib/index.d.ts.map +1 -1
  44. package/lib/index.js +5 -0
  45. package/lib/index.js.map +1 -1
  46. package/lib/package.json +4 -2
  47. package/lib/stores/QueryBuilderState.d.ts +3 -3
  48. package/lib/stores/QueryBuilderState.d.ts.map +1 -1
  49. package/lib/stores/QueryBuilderState.js +34 -18
  50. package/lib/stores/QueryBuilderState.js.map +1 -1
  51. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +39 -0
  52. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -0
  53. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.js +17 -0
  54. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.js.map +1 -0
  55. package/lib/stores/QueryLoaderState.d.ts +67 -0
  56. package/lib/stores/QueryLoaderState.d.ts.map +1 -0
  57. package/lib/stores/QueryLoaderState.js +205 -0
  58. package/lib/stores/QueryLoaderState.js.map +1 -0
  59. package/lib/stores/data-access/DataAccessState.d.ts +56 -0
  60. package/lib/stores/data-access/DataAccessState.d.ts.map +1 -0
  61. package/lib/stores/data-access/DataAccessState.js +212 -0
  62. package/lib/stores/data-access/DataAccessState.js.map +1 -0
  63. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts +4 -2
  64. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts.map +1 -1
  65. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +20 -6
  66. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  67. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +3 -1
  68. package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
  69. package/lib/stores/shared/ValueSpecificationEditorHelper.js +7 -1
  70. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  71. package/package.json +12 -10
  72. package/src/__lib__/QueryBuilderColorTheme.ts +23 -0
  73. package/src/__lib__/QueryBuilderTelemetryHelper.ts +40 -59
  74. package/src/components/QueryBuilder.tsx +63 -47
  75. package/src/components/QueryBuilder_LegendApplicationPlugin.ts +4 -0
  76. package/src/components/QueryLoader.tsx +504 -0
  77. package/src/components/data-access/DataAccessOverview.tsx +308 -0
  78. package/src/components/execution-plan/ExecutionPlanViewer.tsx +1 -3
  79. package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +1 -1
  80. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +1 -1
  81. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +99 -102
  82. package/src/components/shared/LambdaEditor.tsx +4 -21
  83. package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +2 -1
  84. package/src/index.ts +7 -0
  85. package/src/stores/QueryBuilderState.ts +65 -19
  86. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +46 -0
  87. package/src/stores/QueryLoaderState.ts +298 -0
  88. package/src/stores/data-access/DataAccessState.ts +322 -0
  89. package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +53 -6
  90. package/src/stores/shared/ValueSpecificationEditorHelper.ts +39 -2
  91. package/tsconfig.json +6 -0
@@ -0,0 +1,23 @@
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 QUERY_BUILDER_COLOR_THEME_KEY {
17
+ DATA_ACCESS_OVERVIEW__CHART__ACCESS_GRANTED = "data-access-overview.chart.access-granted",
18
+ DATA_ACCESS_OVERVIEW__CHART__ACCESS_APPROVED = "data-access-overview.chart.access-approved",
19
+ DATA_ACCESS_OVERVIEW__CHART__ACCESS_REQUESTED = "data-access-overview.chart.access-requested",
20
+ DATA_ACCESS_OVERVIEW__CHART__ACCESS_NOT_GRANTED = "data-access-overview.chart.access-not-granted",
21
+ DATA_ACCESS_OVERVIEW__CHART__UNSUPPORTED_ACCESS = "data-access-overview.chart.unsupported-access"
22
+ }
23
+ //# sourceMappingURL=QueryBuilderColorTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderColorTheme.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderColorTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,6BAA6B;IACvC,2CAA2C,8CAA8C;IACzF,4CAA4C,+CAA+C;IAC3F,6CAA6C,gDAAgD;IAC7F,+CAA+C,kDAAkD;IACjG,+CAA+C,kDAAkD;CAClG"}
@@ -0,0 +1,24 @@
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 QUERY_BUILDER_COLOR_THEME_KEY;
17
+ (function (QUERY_BUILDER_COLOR_THEME_KEY) {
18
+ QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__ACCESS_GRANTED"] = "data-access-overview.chart.access-granted";
19
+ QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__ACCESS_APPROVED"] = "data-access-overview.chart.access-approved";
20
+ QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__ACCESS_REQUESTED"] = "data-access-overview.chart.access-requested";
21
+ QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__ACCESS_NOT_GRANTED"] = "data-access-overview.chart.access-not-granted";
22
+ QUERY_BUILDER_COLOR_THEME_KEY["DATA_ACCESS_OVERVIEW__CHART__UNSUPPORTED_ACCESS"] = "data-access-overview.chart.unsupported-access";
23
+ })(QUERY_BUILDER_COLOR_THEME_KEY = QUERY_BUILDER_COLOR_THEME_KEY || (QUERY_BUILDER_COLOR_THEME_KEY = {}));
24
+ //# sourceMappingURL=QueryBuilderColorTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryBuilderColorTheme.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderColorTheme.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,6BAMX;AAND,WAAY,6BAA6B;IACvC,0HAAyF,CAAA;IACzF,4HAA2F,CAAA;IAC3F,8HAA6F,CAAA;IAC7F,kIAAiG,CAAA;IACjG,kIAAiG,CAAA;AACnG,CAAC,EANW,6BAA6B,GAA7B,6BAA6B,KAA7B,6BAA6B,QAMxC"}
@@ -19,26 +19,26 @@ type QueryExecution_TelemetryData = GraphManagerOperationReport & {
19
19
  dependenciesCount: number;
20
20
  };
21
21
  export declare class QueryBuilderTelemetryHelper {
22
- static logEvent_QueryRunLaunched(telemetryService: TelemetryService): void;
23
- static logEvent_ExecutionPlanGenerationLaunched(telemetryService: TelemetryService): void;
24
- static logEvent_ExecutionPlanDebugLaunched(telemetryService: TelemetryService): void;
25
- static logEvent_QueryRunSucceeded(telemetryService: TelemetryService, data: QueryExecution_TelemetryData): void;
26
- static logEvent_ExecutionPlanGenerationSucceeded(telemetryService: TelemetryService, data: QueryExecution_TelemetryData): void;
27
- static logEvent_ExecutionPlanDebugSucceeded(telemetryService: TelemetryService, data: QueryExecution_TelemetryData): void;
28
- static logEvent_FilterCreateConditionLaunched(telemetryService: TelemetryService): void;
29
- static logEvent_FilterCleanupTreeLaunched(telemetryService: TelemetryService): void;
30
- static logEvent_FilterCollapseTreeLaunched(telemetryService: TelemetryService): void;
31
- static logEvent_FilterCreateGroupFromConditionLaunched(telemetryService: TelemetryService): void;
32
- static logEvent_FilterCreateLogicalGroupLaunched(telemetryService: TelemetryService): void;
33
- static logEvent_FilterExpandTreeLaunched(telemetryService: TelemetryService): void;
34
- static logEvent_FilterSimplifyTreeLaunched(telemetryService: TelemetryService): void;
35
- static logEvent_PostFilterCreateConditionLaunched(telemetryService: TelemetryService): void;
36
- static logEvent_PostFilterCleanupTreeLaunched(telemetryService: TelemetryService): void;
37
- static logEvent_PostFilterCollapseTreeLaunched(telemetryService: TelemetryService): void;
38
- static logEvent_PostFilterCreateGroupFromConditionLaunched(telemetryService: TelemetryService): void;
39
- static logEvent_PostFilterCreateLogicalGroupLaunched(telemetryService: TelemetryService): void;
40
- static logEvent_PostFilterExpandTreeLaunched(telemetryService: TelemetryService): void;
41
- static logEvent_PostFilterSimplifyTreeLaunched(telemetryService: TelemetryService): void;
22
+ static logEvent_QueryRunLaunched(service: TelemetryService): void;
23
+ static logEvent_ExecutionPlanGenerationLaunched(service: TelemetryService): void;
24
+ static logEvent_ExecutionPlanDebugLaunched(service: TelemetryService): void;
25
+ static logEvent_QueryRunSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
26
+ static logEvent_ExecutionPlanGenerationSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
27
+ static logEvent_ExecutionPlanDebugSucceeded(service: TelemetryService, data: QueryExecution_TelemetryData): void;
28
+ static logEvent_FilterCreateConditionLaunched(service: TelemetryService): void;
29
+ static logEvent_FilterCleanupTreeLaunched(service: TelemetryService): void;
30
+ static logEvent_FilterCollapseTreeLaunched(service: TelemetryService): void;
31
+ static logEvent_FilterCreateGroupFromConditionLaunched(service: TelemetryService): void;
32
+ static logEvent_FilterCreateLogicalGroupLaunched(service: TelemetryService): void;
33
+ static logEvent_FilterExpandTreeLaunched(service: TelemetryService): void;
34
+ static logEvent_FilterSimplifyTreeLaunched(service: TelemetryService): void;
35
+ static logEvent_PostFilterCreateConditionLaunched(service: TelemetryService): void;
36
+ static logEvent_PostFilterCleanupTreeLaunched(service: TelemetryService): void;
37
+ static logEvent_PostFilterCollapseTreeLaunched(service: TelemetryService): void;
38
+ static logEvent_PostFilterCreateGroupFromConditionLaunched(service: TelemetryService): void;
39
+ static logEvent_PostFilterCreateLogicalGroupLaunched(service: TelemetryService): void;
40
+ static logEvent_PostFilterExpandTreeLaunched(service: TelemetryService): void;
41
+ static logEvent_PostFilterSimplifyTreeLaunched(service: TelemetryService): void;
42
42
  }
43
43
  export {};
44
44
  //# sourceMappingURL=QueryBuilderTelemetryHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTelemetryHelper.d.ts","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTelemetryHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,E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I,EAAE,4BAA4B,GACjC,IAAI;IAIP,MAAM,CAAC,sCAAsC,CAC3C,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAOP,MAAM,CAAC,kCAAkC,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAO1E,MAAM,CAAC,mCAAmC,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAO3E,MAAM,CAAC,+CAA+C,CACpD,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAOP,MAAM,CAAC,yCAAyC,CAC9C,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAOP,MAAM,CAAC,iCAAiC,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAOzE,MAAM,CAAC,mCAAmC,CAAC,OAAO,EAAE,gBAAgB,GAAG,IAAI;IAO3E,MAAM,CAAC,0CAA0C,CAC/C,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAOP,MAAM,CAAC,sCAAsC,CAC3C,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAOP,MAAM,CAAC,uCAAuC,CAC5C,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAOP,MAAM,CAAC,mDAAmD,CACxD,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAOP,MAAM,CAAC,6CAA6C,CAClD,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAOP,MAAM,CAAC,qCAAqC,CAC1C,OAAO,EAAE,gBAAgB,GACxB,IAAI;IAOP,MAAM,CAAC,uCAAuC,CAC5C,OAAO,EAAE,gBAAgB,GACxB,IAAI;CAMR"}
@@ -15,65 +15,65 @@
15
15
  */
16
16
  import { QUERY_BUILDER_EVENT, QUERY_BUILDER_FILTER_EVENT, QUERY_BUILDER_POST_FILTER_EVENT, } from './QueryBuilderEvent.js';
17
17
  export class QueryBuilderTelemetryHelper {
18
- static logEvent_QueryRunLaunched(telemetryService) {
19
- telemetryService.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__LAUNCH, {});
18
+ static logEvent_QueryRunLaunched(service) {
19
+ service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__LAUNCH, {});
20
20
  }
21
- static logEvent_ExecutionPlanGenerationLaunched(telemetryService) {
22
- telemetryService.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__LAUNCH, {});
21
+ static logEvent_ExecutionPlanGenerationLaunched(service) {
22
+ service.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__LAUNCH, {});
23
23
  }
24
- static logEvent_ExecutionPlanDebugLaunched(telemetryService) {
25
- telemetryService.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__LAUNCH, {});
24
+ static logEvent_ExecutionPlanDebugLaunched(service) {
25
+ service.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__LAUNCH, {});
26
26
  }
27
- static logEvent_QueryRunSucceeded(telemetryService, data) {
28
- telemetryService.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__SUCCESS, data);
27
+ static logEvent_QueryRunSucceeded(service, data) {
28
+ service.logEvent(QUERY_BUILDER_EVENT.RUN_QUERY__SUCCESS, data);
29
29
  }
30
- static logEvent_ExecutionPlanGenerationSucceeded(telemetryService, data) {
31
- telemetryService.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__SUCCESS, data);
30
+ static logEvent_ExecutionPlanGenerationSucceeded(service, data) {
31
+ service.logEvent(QUERY_BUILDER_EVENT.GENERATE_EXECUTION_PLAN__SUCCESS, data);
32
32
  }
33
- static logEvent_ExecutionPlanDebugSucceeded(telemetryService, data) {
34
- telemetryService.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__SUCCESS, data);
33
+ static logEvent_ExecutionPlanDebugSucceeded(service, data) {
34
+ service.logEvent(QUERY_BUILDER_EVENT.DEBUG_EXECUTION_PLAN__SUCCESS, data);
35
35
  }
36
- static logEvent_FilterCreateConditionLaunched(telemetryService) {
37
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
36
+ static logEvent_FilterCreateConditionLaunched(service) {
37
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
38
38
  }
39
- static logEvent_FilterCleanupTreeLaunched(telemetryService) {
40
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
39
+ static logEvent_FilterCleanupTreeLaunched(service) {
40
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
41
41
  }
42
- static logEvent_FilterCollapseTreeLaunched(telemetryService) {
43
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
42
+ static logEvent_FilterCollapseTreeLaunched(service) {
43
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
44
44
  }
45
- static logEvent_FilterCreateGroupFromConditionLaunched(telemetryService) {
46
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
45
+ static logEvent_FilterCreateGroupFromConditionLaunched(service) {
46
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
47
47
  }
48
- static logEvent_FilterCreateLogicalGroupLaunched(telemetryService) {
49
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
48
+ static logEvent_FilterCreateLogicalGroupLaunched(service) {
49
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
50
50
  }
51
- static logEvent_FilterExpandTreeLaunched(telemetryService) {
52
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
51
+ static logEvent_FilterExpandTreeLaunched(service) {
52
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
53
53
  }
54
- static logEvent_FilterSimplifyTreeLaunched(telemetryService) {
55
- telemetryService.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
54
+ static logEvent_FilterSimplifyTreeLaunched(service) {
55
+ service.logEvent(QUERY_BUILDER_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
56
56
  }
57
- static logEvent_PostFilterCreateConditionLaunched(telemetryService) {
58
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
57
+ static logEvent_PostFilterCreateConditionLaunched(service) {
58
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__CONDITION__LAUNCH, {});
59
59
  }
60
- static logEvent_PostFilterCleanupTreeLaunched(telemetryService) {
61
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
60
+ static logEvent_PostFilterCleanupTreeLaunched(service) {
61
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CLEANUP__TREE__LAUNCH, {});
62
62
  }
63
- static logEvent_PostFilterCollapseTreeLaunched(telemetryService) {
64
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
63
+ static logEvent_PostFilterCollapseTreeLaunched(service) {
64
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__COLLAPSE__TREE__LAUNCH, {});
65
65
  }
66
- static logEvent_PostFilterCreateGroupFromConditionLaunched(telemetryService) {
67
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
66
+ static logEvent_PostFilterCreateGroupFromConditionLaunched(service) {
67
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__GROUP__FROM__CONDITION__LAUNCH, {});
68
68
  }
69
- static logEvent_PostFilterCreateLogicalGroupLaunched(telemetryService) {
70
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
69
+ static logEvent_PostFilterCreateLogicalGroupLaunched(service) {
70
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__CREATE__LOGICAL__GROUP__LAUNCH, {});
71
71
  }
72
- static logEvent_PostFilterExpandTreeLaunched(telemetryService) {
73
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
72
+ static logEvent_PostFilterExpandTreeLaunched(service) {
73
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__EXPAND__TREE__LAUNCH, {});
74
74
  }
75
- static logEvent_PostFilterSimplifyTreeLaunched(telemetryService) {
76
- telemetryService.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
75
+ static logEvent_PostFilterSimplifyTreeLaunched(service) {
76
+ service.logEvent(QUERY_BUILDER_POST_FILTER_EVENT.FILTER__SIMPLIFY__TREE__LAUNCH, {});
77
77
  }
78
78
  }
79
79
  //# sourceMappingURL=QueryBuilderTelemetryHelper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderTelemetryHelper.js","sourceRoot":"","sources":["../../src/__lib__/QueryBuilderTelemetryHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,wBAAwB,CAAC;AAMhC,MAAM,OAAO,2BAA2B;IACtC,MAAM,CAAC,yBAAyB,CAAC,gBAAkC;QACjE,gBAAgB,CAAC,QAAQ,CAAC,mBAAmB,CAAC,iBAAiB,EAAE,EAAE,CAAC,C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AAC,mDAAmD,CACxD,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,8CAA8C,EAC9E,EAAE,CACH,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,6CAA6C,CAClD,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,sCAAsC,EACtE,EAAE,CACH,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,qCAAqC,CAC1C,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,4BAA4B,EAC5D,EAAE,CACH,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,uCAAuC,CAC5C,OAAyB;QAEzB,OAAO,CAAC,QAAQ,CACd,+BAA+B,CAAC,8BAA8B,EAC9D,EAAE,CACH,CAAC;IACJ,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAmMxE,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAiejD,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAkNxE,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAkejD,CAAC"}
@@ -15,7 +15,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
15
15
  * limitations under the License.
16
16
  */
17
17
  import { observer } from 'mobx-react-lite';
18
- import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, AssistantIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarIcon, } from '@finos/legend-art';
18
+ import { clsx, HammerIcon, ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, HackerIcon, DropdownMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, CheckIcon, CaretDownIcon, DiffIcon, WaterDropIcon, AssistantIcon, MenuContentDivider, Dialog, Modal, ModalBody, ModalFooter, ModalHeader, BlankPanelContent, ModalFooterButton, CalendarClockIcon, } from '@finos/legend-art';
19
19
  import { QueryBuilderFilterPanel } from './filter/QueryBuilderFilterPanel.js';
20
20
  import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.js';
21
21
  import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
@@ -39,6 +39,7 @@ import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpre
39
39
  import { QueryBuilder_LegendApplicationPlugin } from './QueryBuilder_LegendApplicationPlugin.js';
40
40
  import { QUERY_BUILDER_SETTING_KEY } from '../__lib__/QueryBuilderSetting.js';
41
41
  import { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './QueryBuilderComponentElement.js';
42
+ import { DataAccessOverview } from './data-access/DataAccessOverview.js';
42
43
  const QueryBuilderStatusBar = observer((props) => {
43
44
  const { queryBuilderState } = props;
44
45
  const applicationStore = useApplicationStore();
@@ -76,13 +77,13 @@ const renderCheckEntitlementsEditor = (queryBuilderState, plugins) => {
76
77
  }
77
78
  }
78
79
  const handleClose = () => {
79
- queryBuilderState.checkEntitlementsState.setIsCheckingEntitlements(false);
80
+ queryBuilderState.checkEntitlementsState.setShowCheckEntitlementsViewer(false);
80
81
  };
81
- return (_jsx(Dialog, { open: queryBuilderState.checkEntitlementsState.isCheckingEntitlements, onClose: handleClose, classes: {
82
+ return (_jsx(Dialog, { open: queryBuilderState.checkEntitlementsState.showCheckEntitlementsViewer, onClose: handleClose, classes: {
82
83
  root: 'editor-modal__root-container',
83
84
  container: 'editor-modal__container',
84
85
  paper: 'editor-modal__content',
85
- }, children: _jsxs(Modal, { darkMode: true, className: "editor-modal", children: [_jsx(ModalHeader, { title: "Query Entitlements" }), _jsx(ModalBody, { children: _jsx(BlankPanelContent, { children: "Check Entitlements is not supported yet" }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: handleClose }) })] }) }));
86
+ }, children: _jsxs(Modal, { darkMode: true, className: "editor-modal", children: [_jsx(ModalHeader, { title: "Query Entitlements" }), _jsx(ModalBody, { className: "query-builder__data-access-overview", children: _jsx("div", { className: "query-builder__data-access-overview__container", children: queryBuilderState.checkEntitlementsState.dataAccessState ? (_jsx(DataAccessOverview, { dataAccessState: queryBuilderState.checkEntitlementsState.dataAccessState })) : (_jsx(BlankPanelContent, { children: "No data access information available" })) }) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Close", onClick: handleClose }) })] }) }));
86
87
  };
87
88
  export const QueryBuilder = observer((props) => {
88
89
  const { queryBuilderState } = props;
@@ -166,7 +167,7 @@ export const QueryBuilder = observer((props) => {
166
167
  openLambdaEditor(QueryBuilderTextEditorMode.JSON);
167
168
  };
168
169
  const openCheckEntitlmentsEditor = () => {
169
- queryBuilderState.checkEntitlementsState.setIsCheckingEntitlements(true);
170
+ queryBuilderState.checkEntitlementsState.setShowCheckEntitlementsViewer(true);
170
171
  };
171
172
  useCommands(queryBuilderState);
172
173
  const toggleShowOLAPGroupByPanel = () => {
@@ -187,38 +188,39 @@ export const QueryBuilder = observer((props) => {
187
188
  }
188
189
  return null;
189
190
  };
190
- return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: "query-builder__body", children: [_jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-builder__sub-header", children: [_jsxs("div", { className: "query-builder__sub-header__content__icons", children: [queryBuilderState.watermarkState.value && (_jsx(_Fragment, { children: _jsx("button", { className: "panel__header__action", onClick: openWatermark, tabIndex: -1, title: "Show Watermark", children: _jsx(WaterDropIcon, {}) }) })), queryBuilderState.isCalendarEnabled && (_jsx(_Fragment, { children: _jsx("div", { className: "query-builder__sub-header__content__icon", children: _jsx(CalendarIcon, {}) }) })), queryBuilderState.watermarkState.isEditingWatermark && (_jsx(QueryBuilderWatermarkEditor, { queryBuilderState: queryBuilderState }))] }), _jsx("div", { className: "query-builder__sub-header__content__actions", children: _jsxs(DropdownMenu, { className: "query-builder__sub-header__custom-action", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
191
+ return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: "query-builder__body", children: [_jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-builder__header", children: [_jsxs("div", { className: "query-builder__header__statuses", children: [queryBuilderState.watermarkState.value && (_jsx("button", { className: "query-builder__header__status query-builder__header__status--action", onClick: openWatermark, tabIndex: -1, title: "Used watermark", children: _jsx(WaterDropIcon, {}) })), queryBuilderState.isCalendarEnabled && (_jsx("div", { className: "query-builder__header__status", title: "Used calendar aggregation", children: _jsx(CalendarClockIcon, { className: "query-builder__header__status__icon--calendar" }) })), queryBuilderState.watermarkState.isEditingWatermark && (_jsx(QueryBuilderWatermarkEditor, { queryBuilderState: queryBuilderState }))] }), _jsx("div", { className: "query-builder__header__actions", children: _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
191
192
  queryBuilderState.parametersState.parameterStates
192
- .length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Parameter(s)" })] })), _jsxs(MenuContentItem, { onClick: toggleConstantPanel, disabled: !queryBuilderState.isQuerySupported ||
193
+ .length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Parameter(s)" })] })), _jsxs(MenuContentItem, { onClick: toggleConstantPanel, disabled: !queryBuilderState.isQuerySupported ||
193
194
  queryBuilderState.constantState.constants.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.constantState
194
- .showConstantPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Constant(s)" })] }), _jsxs(MenuContentItem, { onClick: toggleShowFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
195
- Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.filterState.showPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Filter" })] }), _jsxs(MenuContentItem, { onClick: toggleShowOLAPGroupByPanel, disabled: !queryBuilderState.isQuerySupported ||
195
+ .showConstantPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Constant(s)" })] }), _jsxs(MenuContentItem, { onClick: toggleShowFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
196
+ Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.filterState.showPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Filter" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: toggleShowOLAPGroupByPanel, disabled: !queryBuilderState.isQuerySupported ||
196
197
  !(queryBuilderState.fetchStructureState
197
198
  .implementation instanceof QueryBuilderTDSState) ||
198
199
  queryBuilderState.fetchStructureState.implementation
199
200
  .windowState.windowColumns.length > 0, children: [_jsx(MenuContentItemIcon, { children: isTDSState &&
200
201
  guaranteeType(queryBuilderState.fetchStructureState
201
- .implementation, QueryBuilderTDSState).showWindowFuncPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Window Func(s)" })] }), _jsxs(MenuContentItem, { onClick: toggleShowPostFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
202
+ .implementation, QueryBuilderTDSState).showWindowFuncPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Window Function(s)" })] }), _jsxs(MenuContentItem, { onClick: toggleShowPostFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
202
203
  !(queryBuilderState.fetchStructureState
203
204
  .implementation instanceof QueryBuilderTDSState) ||
204
205
  Array.from(queryBuilderState.fetchStructureState.implementation.postFilterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.fetchStructureState
205
206
  .implementation instanceof QueryBuilderTDSState &&
206
207
  queryBuilderState.fetchStructureState.implementation
207
- .showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: openWatermark, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Watermark" })] }), _jsxs(MenuContentItem, { onClick: toggleEnableCalendar, disabled: !queryBuilderState.isQuerySupported ||
208
+ .showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: openWatermark, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { children: "Show Watermark" })] }), _jsxs(MenuContentItem, { onClick: toggleEnableCalendar, disabled: !queryBuilderState.isQuerySupported ||
208
209
  !(queryBuilderState.fetchStructureState
209
- .implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Enable Calendar" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: queryBuilderState.isQuerySupported &&
210
+ .implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Enable Calendar" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: queryBuilderState.isQuerySupported &&
210
211
  queryBuilderState.fetchStructureState
211
212
  .implementation instanceof QueryBuilderTDSState &&
212
213
  queryBuilderState.fetchStructureState.implementation
213
- .projectionColumns.length === 0, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Check Entitlements" })] }), _jsxs(MenuContentItem, { onClick: editQueryInPure, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Edit Query in Pure" })] }), _jsxs(MenuContentItem, { onClick: showQueryProtocol, children: [_jsx(MenuContentItemIcon, { children: null }), _jsx(MenuContentItemLabel, { className: "query-builder__sub-header__menu-content", children: "Show Query Protocol" })] })] }), menuProps: {
214
+ .projectionColumns.length === 0, children: [_jsx(MenuContentItemIcon, {}), _jsx(MenuContentItemLabel, { children: "Check Entitlements" })] }), _jsxs(MenuContentItem, { onClick: editQueryInPure, children: [_jsx(MenuContentItemIcon, {}), _jsx(MenuContentItemLabel, { children: "Edit Query in Pure" })] }), _jsxs(MenuContentItem, { onClick: showQueryProtocol, children: [_jsx(MenuContentItemIcon, {}), _jsx(MenuContentItemLabel, { children: "Show Query Protocol" })] })] }), menuProps: {
214
215
  anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
215
216
  transformOrigin: { vertical: 'top', horizontal: 'right' },
216
217
  elevation: 7,
217
- }, children: [_jsx("div", { className: "query-builder__sub-header__custom-action__label", children: "Advanced" }), _jsx(CaretDownIcon, { className: "query-builder__sub-header__custom-action__icon" })] }) })] }), _jsx("div", { className: "query-builder__main", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 120, children: isQuerySupported ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, minSize: 300, children: _jsx(QueryBuilderSidebar, { queryBuilderState: queryBuilderState, children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 40, direction: 1, children: _jsx(QueryBuilderExplorerPanel, { queryBuilderState: queryBuilderState }) }), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanel, { minSize: 40, direction: queryBuilderState.showParametersPanel
218
+ }, children: [_jsx("div", { className: "query-builder__header__advanced-dropdown__label", children: "Advanced" }), _jsx(CaretDownIcon, { className: "query-builder__header__advanced-dropdown__icon" })] }) })] }), _jsx("div", { className: "query-builder__main", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 120, children: isQuerySupported ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 450, minSize: 300, children: _jsx(QueryBuilderSidebar, { queryBuilderState: queryBuilderState, children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 40, direction: 1, children: _jsx(QueryBuilderExplorerPanel, { queryBuilderState: queryBuilderState }) }), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showFunctionsExplorerPanel && (_jsx(ResizablePanel, { minSize: 40, direction: queryBuilderState.showParametersPanel
218
219
  ? [1, -1]
219
220
  : -1, children: _jsx(QueryBuilderFunctionsExplorerPanel, { queryBuilderState: queryBuilderState }) })), queryBuilderState.showParametersPanel && (_jsx(ResizablePanelSplitter, {})), queryBuilderState.showParametersPanel && (_jsx(ResizablePanel, { minSize: 40, direction: -1, children: _jsx(QueryBuilderParametersPanel, { queryBuilderState: queryBuilderState }) })), queryBuilderState.constantState
220
221
  .showConstantPanel && _jsx(ResizablePanelSplitter, {}), queryBuilderState.constantState
221
- .showConstantPanel && (_jsx(ResizablePanel, { minSize: 40, direction: -1, children: _jsx(QueryBuilderConstantExpressionPanel, { queryBuilderState: queryBuilderState }) }))] }) }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { minSize: 300, children: _jsx(QueryBuilderFetchStructurePanel, { queryBuilderState: queryBuilderState }) }), showPostFetchStructurePanel && (_jsx(ResizablePanelSplitter, {})), showPostFetchStructurePanel && (_jsx(ResizablePanel, { minSize: 300, children: renderPostFetchStructure() }))] })) : (_jsx(QueryBuilderUnsupportedQueryEditor, { queryBuilderState: queryBuilderState })) }), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanelSplitter, {})), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanel, { size: 300, minSize: 40, children: _jsx(QueryBuilderResultPanel, { queryBuilderState: queryBuilderState }) }))] }) })] }), queryBuilderState.textEditorState.mode && (_jsx(QueryBuilderTextEditor, { queryBuilderState: queryBuilderState })), queryBuilderState.checkEntitlementsState.isCheckingEntitlements &&
222
+ .showConstantPanel && (_jsx(ResizablePanel, { minSize: 40, direction: -1, children: _jsx(QueryBuilderConstantExpressionPanel, { queryBuilderState: queryBuilderState }) }))] }) }) }), _jsx(ResizablePanelSplitter, {}), _jsx(ResizablePanel, { minSize: 300, children: _jsx(QueryBuilderFetchStructurePanel, { queryBuilderState: queryBuilderState }) }), showPostFetchStructurePanel && (_jsx(ResizablePanelSplitter, {})), showPostFetchStructurePanel && (_jsx(ResizablePanel, { minSize: 300, children: renderPostFetchStructure() }))] })) : (_jsx(QueryBuilderUnsupportedQueryEditor, { queryBuilderState: queryBuilderState })) }), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanelSplitter, {})), queryBuilderState.isResultPanelHidden ? null : (_jsx(ResizablePanel, { size: 300, minSize: 40, children: _jsx(QueryBuilderResultPanel, { queryBuilderState: queryBuilderState }) }))] }) })] }), queryBuilderState.textEditorState.mode && (_jsx(QueryBuilderTextEditor, { queryBuilderState: queryBuilderState })), queryBuilderState.checkEntitlementsState
223
+ .showCheckEntitlementsViewer &&
222
224
  renderCheckEntitlementsEditor(queryBuilderState, applicationStore.pluginManager
223
225
  .getApplicationPlugins()
224
226
  .filter((plugin) => plugin instanceof QueryBuilder_LegendApplicationPlugin))] }), _jsx(QueryBuilderStatusBar, { queryBuilderState: queryBuilderState })] }));
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,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AiB,EAAE,iBAAiB,GACpC,GACa,CAClB,IACmB,GAClB,IACF,EACL,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,CACzC,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,EACA,iBAAiB,CAAC,sBAAsB,CAAC,sBAAsB;wBAC9D,6BAA6B,CAC3B,iBAAiB,EACjB,gBAAgB,CAAC,aAAa;6BAC3B,qBAAqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC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A2B,IAAI,CAC9B,KAAC,cAAc,IAAC,OAAO,EAAE,GAAG,YACzB,wBAAwB,EAAE,GACZ,CAClB,IACmB,CACvB,CAAC,CAAC,CAAC,CACF,KAAC,kCAAkC,IACjC,iBAAiB,EAAE,iBAAiB,GACpC,CACH,GACc,EAChB,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,sBAAsB,KAAG,CAC3B,EACA,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAC9C,KAAC,cAAc,IAAC,IAAI,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,YACpC,KAAC,uBAAuB,IACtB,iBAAiB,EAAE,iBAAiB,GACpC,GACa,CAClB,IACmB,GAClB,IACF,EACL,iBAAiB,CAAC,eAAe,CAAC,IAAI,IAAI,CACzC,KAAC,sBAAsB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CACjE,EACA,iBAAiB,CAAC,sBAAsB;yBACtC,2BAA2B;wBAC5B,6BAA6B,CAC3B,iBAAiB,EACjB,gBAAgB,CAAC,aAAa;6BAC3B,qBAAqB,EAAE;6BACvB,MAAM,CACL,CAAC,MAAM,EAAE,EAAE,CACT,MAAM,YAAY,oCAAoC,CACf,CAC9C,IACC,EACN,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,IAC3D,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAGL,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAGxE,MAAM,MAAM,4BAA4B,GAAG,CACzC,iBAAiB,EAAE,iBAAiB,KACjC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAEjC,qBAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,yBAAyB,IAAI,sBAAsB,EAAE;IAQrD,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,mCAAmC,IAAI,yBAAyB,EAAE;IAO3E,gCAAgC,IAAI,4BAA4B,GAAG,SAAS;CAG7E"}
1
+ {"version":3,"file":"QueryBuilder_LegendApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,EAGL,uBAAuB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAInC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAIxE,MAAM,MAAM,4BAA4B,GAAG,CACzC,iBAAiB,EAAE,iBAAiB,KACjC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAEjC,qBAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,SAA4C;;IAMvD,OAAO,CACL,aAAa,EAAE,8BAA8B,CAAC,uBAAuB,CAAC,GACrE,IAAI;IAIE,yBAAyB,IAAI,sBAAsB,EAAE;IAWrD,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,mCAAmC,IAAI,yBAAyB,EAAE;IAO3E,gCAAgC,IAAI,4BAA4B,GAAG,SAAS;CAG7E"}
@@ -18,6 +18,7 @@ import packageJson from '../../package.json';
18
18
  import { QUERY_BUILDER_SETTING_CONFIG } from '../__lib__/QueryBuilderSetting.js';
19
19
  import { QUERY_BUILDER_COMMAND_CONFIG } from '../stores/QueryBuilderCommand.js';
20
20
  import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
21
+ import { Chart as ChartJS, ArcElement, Tooltip } from 'chart.js';
21
22
  class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
22
23
  static NAME = packageJson.extensions.applicationPlugin;
23
24
  constructor() {
@@ -30,6 +31,8 @@ class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugin {
30
31
  return [
31
32
  async (applicationStore) => {
32
33
  configureDataGridComponent();
34
+ // configure chart component
35
+ ChartJS.register(ArcElement, Tooltip);
33
36
  },
34
37
  ];
35
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0CAA0C,EAC1C,4CAA4C,EAC5C,uBAAuB,GAKxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAM1E,MAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAEvD;QACE,KAAK,CAAC,oCAAoC,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,OAAO,CACL,aAAsE;QAEtE,aAAa,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IAEQ,yBAAyB;QAChC,OAAO;YACL,KAAK,EAAE,gBAAgB,EAAE,EAAE;gBACzB,0BAA0B,EAAE,CAAC;YAC/B,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,iCAAiC;QACxC,OAAO,0CAA0C,CAC/C,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAEQ,mCAAmC;QAC1C,OAAO,4CAA4C,CACjD,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAED,yHAAyH;IACzH,gCAAgC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC;;SApCU,oCAAoC"}
1
+ {"version":3,"file":"QueryBuilder_LegendApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/QueryBuilder_LegendApplicationPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0CAA0C,EAC1C,4CAA4C,EAC5C,uBAAuB,GAKxB,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAEhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC1E,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAMjE,MAAa,oCAAqC,SAAQ,uBAAuB;IAC/E,MAAM,CAAC,IAAI,GAAG,WAAW,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAEvD;QACE,KAAK,CAAC,oCAAoC,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACxE,CAAC;IAED,OAAO,CACL,aAAsE;QAEtE,aAAa,CAAC,yBAAyB,CAAC,IAAI,CAAC,CAAC;IAChD,CAAC;IAEQ,yBAAyB;QAChC,OAAO;YACL,KAAK,EAAE,gBAAgB,EAAE,EAAE;gBACzB,0BAA0B,EAAE,CAAC;gBAE7B,4BAA4B;gBAC5B,OAAO,CAAC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;YACxC,CAAC;SACF,CAAC;IACJ,CAAC;IAEQ,iCAAiC;QACxC,OAAO,0CAA0C,CAC/C,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAEQ,mCAAmC;QAC1C,OAAO,4CAA4C,CACjD,4BAA4B,CAC7B,CAAC;IACJ,CAAC;IAED,yHAAyH;IACzH,gCAAgC;QAC9B,OAAO,SAAS,CAAC;IACnB,CAAC;;SAvCU,oCAAoC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { type QueryLoaderState } from '../stores/QueryLoaderState.js';
17
+ export declare const QueryLoader: ((props: {
18
+ queryLoaderState: QueryLoaderState;
19
+ loadActionLabel: string;
20
+ }) => JSX.Element) & {
21
+ displayName: string;
22
+ };
23
+ export declare const QueryLoaderDialog: ((props: {
24
+ queryLoaderState: QueryLoaderState;
25
+ title: string;
26
+ loadActionLabel?: string | undefined;
27
+ }) => JSX.Element) & {
28
+ displayName: string;
29
+ };
30
+ //# sourceMappingURL=QueryLoader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryLoader.d.ts","sourceRoot":"","sources":["../../src/components/QueryLoader.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,+BAA+B,CAAC;AA2CvC,eAAO,MAAM,WAAW,WACd;IAAE,gBAAgB,EAAE,gBAAgB,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE;;CA6VxE,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACpB;IACN,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACtC;;CA+CF,CAAC"}