@finos/legend-query-builder 3.2.1 → 3.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/lib/components/QueryBuilder.d.ts.map +1 -1
  2. package/lib/components/QueryBuilder.js +11 -23
  3. package/lib/components/QueryBuilder.js.map +1 -1
  4. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts +0 -1
  5. package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
  6. package/lib/components/QueryBuilder_LegendApplicationPlugin.js +7 -6
  7. package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
  8. package/lib/components/data-access/DataAccessOverview.js +2 -2
  9. package/lib/components/data-access/DataAccessOverview.js.map +1 -1
  10. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
  11. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +2 -2
  12. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  13. package/lib/index.css +17 -1
  14. package/lib/index.css.map +1 -1
  15. package/lib/package.json +5 -5
  16. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +2 -2
  17. package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
  18. package/lib/stores/data-access/DataAccessState.d.ts +9 -5
  19. package/lib/stores/data-access/DataAccessState.d.ts.map +1 -1
  20. package/lib/stores/data-access/DataAccessState.js +10 -6
  21. package/lib/stores/data-access/DataAccessState.js.map +1 -1
  22. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.d.ts.map +1 -1
  23. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +5 -5
  24. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  25. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.d.ts.map +1 -1
  26. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +2 -0
  27. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
  28. package/package.json +9 -9
  29. package/src/components/QueryBuilder.tsx +43 -70
  30. package/src/components/QueryBuilder_LegendApplicationPlugin.ts +10 -7
  31. package/src/components/data-access/DataAccessOverview.tsx +2 -2
  32. package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +2 -3
  33. package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +8 -2
  34. package/src/stores/data-access/DataAccessState.ts +30 -15
  35. package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +8 -30
  36. package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +4 -0
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -50,13 +50,15 @@
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-storage": "workspace:*",
52
52
  "@testing-library/react": "14.0.0",
53
- "@types/react": "18.2.0",
54
- "@types/react-dom": "18.2.1",
53
+ "@types/react": "18.2.2",
54
+ "@types/react-dom": "18.2.3",
55
+ "chart.js": "4.3.0",
55
56
  "mathjs": "11.8.0",
56
57
  "mobx": "6.9.0",
57
58
  "mobx-react-lite": "3.4.3",
58
59
  "monaco-editor": "0.38.0",
59
60
  "react": "18.2.0",
61
+ "react-chartjs-2": "5.2.0",
60
62
  "react-dnd": "16.0.1",
61
63
  "react-dom": "18.2.0",
62
64
  "serializr": "3.0.2",
@@ -65,12 +67,10 @@
65
67
  "devDependencies": {
66
68
  "@finos/legend-dev-utils": "workspace:*",
67
69
  "@jest/globals": "29.5.0",
68
- "chart.js": "4.3.0",
69
70
  "cross-env": "7.0.3",
70
71
  "eslint": "8.39.0",
71
72
  "jest": "29.5.0",
72
73
  "npm-run-all": "4.1.5",
73
- "react-chartjs-2": "5.2.0",
74
74
  "rimraf": "5.0.0",
75
75
  "sass": "1.62.1",
76
76
  "typescript": "5.0.4"
@@ -17,14 +17,14 @@
17
17
  import type { LegendApplicationPlugin } from '@finos/legend-application';
18
18
  import type { QueryBuilderState } from './QueryBuilderState.js';
19
19
  import type { QuerySearchSpecification } from '@finos/legend-graph';
20
- import type { DatasetAccessInfo } from './data-access/DataAccessState.js';
20
+ import type { DataAccessState, DatasetAccessInfo } from './data-access/DataAccessState.js';
21
21
  export type LoadQueryFilterOption = {
22
22
  key: string;
23
23
  label: (queryBuilderState: QueryBuilderState) => string | undefined;
24
24
  filterFunction: (searchSpecification: QuerySearchSpecification, queryBuilderState: QueryBuilderState) => QuerySearchSpecification;
25
25
  };
26
26
  export type DatasetEntitlementAccessReportActionConfiguration = {
27
- renderer: (info: DatasetAccessInfo) => React.ReactNode;
27
+ renderer: (info: DatasetAccessInfo, dataAccessState: DataAccessState) => React.ReactNode;
28
28
  };
29
29
  export interface QueryBuilder_LegendApplicationPlugin_Extension extends LegendApplicationPlugin {
30
30
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,cAAc,EAAE,CACd,mBAAmB,EAAE,wBAAwB,EAC7C,iBAAiB,EAAE,iBAAiB,KACjC,wBAAwB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG;IAC9D,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,KAAK,CAAC,SAAS,CAAC;CACxD,CAAC;AAEF,MAAM,WAAW,8CACf,SAAQ,uBAAuB;IAC/B;;OAEG;IACH,8BAA8B,CAAC,IAAI,qBAAqB,EAAE,CAAC;IAE3D;;OAEG;IACH,oEAAoE,CAAC,IAAI,iDAAiD,EAAE,CAAC;CAC9H"}
1
+ {"version":3,"file":"QueryBuilder_LegendApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EAClB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,KAAK,MAAM,GAAG,SAAS,CAAC;IACpE,cAAc,EAAE,CACd,mBAAmB,EAAE,wBAAwB,EAC7C,iBAAiB,EAAE,iBAAiB,KACjC,wBAAwB,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG;IAC9D,QAAQ,EAAE,CACR,IAAI,EAAE,iBAAiB,EACvB,eAAe,EAAE,eAAe,KAC7B,KAAK,CAAC,SAAS,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,8CACf,SAAQ,uBAAuB;IAC/B;;OAEG;IACH,8BAA8B,CAAC,IAAI,qBAAqB,EAAE,CAAC;IAE3D;;OAEG;IACH,oEAAoE,CAAC,IAAI,iDAAiD,EAAE,CAAC;CAC9H"}
@@ -14,7 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import type { GenericLegendApplicationStore } from '@finos/legend-application';
17
- import { type BasicGraphManagerState, type DatasetEntitlementReport, type DatasetSpecification } from '@finos/legend-graph';
17
+ import { type BasicGraphManagerState, type DatasetEntitlementReport, type DatasetSpecification, type RawLambda, type GraphData } from '@finos/legend-graph';
18
18
  import { ActionState, type GeneratorFn } from '@finos/legend-shared';
19
19
  export declare class DatasetAccessInfo {
20
20
  readonly uuid: string;
@@ -35,16 +35,20 @@ type EntitlementCheckInfo = {
35
35
  export declare class DataAccessState {
36
36
  readonly applicationStore: GenericLegendApplicationStore;
37
37
  readonly graphManagerState: BasicGraphManagerState;
38
- readonly surveyDatasets: () => Promise<DatasetSpecification[]>;
39
- readonly checkDatasetEntitlements: (datasets: DatasetSpecification[]) => Promise<DatasetEntitlementReport[]>;
40
38
  readonly initialDatasets?: DatasetSpecification[] | undefined;
39
+ readonly mapping: string;
40
+ readonly runtime: string;
41
+ readonly graphData: GraphData;
42
+ readonly getQuery: () => Promise<RawLambda | undefined>;
41
43
  readonly surveyDatasetsState: ActionState;
42
44
  readonly checkEntitlementsState: ActionState;
43
45
  datasets: DatasetAccessInfo[];
44
46
  constructor(applicationStore: GenericLegendApplicationStore, graphManagerState: BasicGraphManagerState, options: {
45
47
  initialDatasets?: DatasetSpecification[] | undefined;
46
- surveyDatasets: () => Promise<DatasetSpecification[]>;
47
- checkDatasetEntitlements: (datasets: DatasetSpecification[]) => Promise<DatasetEntitlementReport[]>;
48
+ mapping: string;
49
+ runtime: string;
50
+ graphData: GraphData;
51
+ getQuery: () => Promise<RawLambda | undefined>;
48
52
  });
49
53
  get entitlementCheckInfo(): EntitlementCheckInfo;
50
54
  fetchDatasetSpecifications(): GeneratorFn<void>;
@@ -1 +1 @@
1
- {"version":3,"file":"DataAccessState.d.ts","sourceRoot":"","sources":["../../../src/stores/data-access/DataAccessState.ts"],"names":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,9 +35,11 @@ export class DatasetAccessInfo {
35
35
  export class DataAccessState {
36
36
  applicationStore;
37
37
  graphManagerState;
38
- surveyDatasets;
39
- checkDatasetEntitlements;
40
38
  initialDatasets;
39
+ mapping;
40
+ runtime;
41
+ graphData;
42
+ getQuery;
41
43
  surveyDatasetsState = ActionState.create();
42
44
  checkEntitlementsState = ActionState.create();
43
45
  datasets = [];
@@ -52,8 +54,10 @@ export class DataAccessState {
52
54
  this.graphManagerState = graphManagerState;
53
55
  this.initialDatasets = options.initialDatasets;
54
56
  this.datasets = (options.initialDatasets ?? []).map((dataset) => new DatasetAccessInfo(dataset));
55
- this.surveyDatasets = options.surveyDatasets;
56
- this.checkDatasetEntitlements = options.checkDatasetEntitlements;
57
+ this.mapping = options.mapping;
58
+ this.runtime = options.runtime;
59
+ this.graphData = options.graphData;
60
+ this.getQuery = options.getQuery;
57
61
  }
58
62
  get entitlementCheckInfo() {
59
63
  const total = this.datasets.length;
@@ -147,7 +151,7 @@ export class DataAccessState {
147
151
  *fetchDatasetSpecifications() {
148
152
  this.surveyDatasetsState.inProgress();
149
153
  try {
150
- const datasets = (yield this.surveyDatasets());
154
+ const datasets = (yield this.graphManagerState.graphManager.surveyDatasets(this.mapping, this.runtime, (yield this.getQuery()), this.graphData));
151
155
  this.datasets = datasets.map((dataset) => {
152
156
  const existingDataset = this.datasets.find((ds) => ds.specification.hashCode === dataset.hashCode);
153
157
  if (existingDataset) {
@@ -167,7 +171,7 @@ export class DataAccessState {
167
171
  *fetchDatasetEntitlementReports() {
168
172
  this.checkEntitlementsState.inProgress();
169
173
  try {
170
- const reports = (yield this.checkDatasetEntitlements(this.datasets.map((dataset) => dataset.specification)));
174
+ const reports = (yield this.graphManagerState.graphManager.checkDatasetEntitlements(this.datasets.map((dataset) => dataset.specification), this.mapping, this.runtime, (yield this.getQuery()), this.graphData));
171
175
  this.datasets.forEach((dataset) => {
172
176
  const matchingReport = reports.find((report) => report.dataset.hashCode === dataset.specification.hashCode);
173
177
  if (matchingReport) {
@@ -1 +1 @@
1
- {"version":3,"file":"DataAccessState.js","sourceRoot":"","sources":["../../../src/stores/data-access/DataAccessState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,qCAAqC,EAIrC,sCAAsC,EACtC,uCAAuC,EACvC,wCAAwC,EACxC,mCAAmC,GACpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,IAAI,EAEJ,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAExF,MAAM,OAAO,iBAAiB;IACnB,IAAI,GAAG,IAAI,EAAE,CAAC;IACd,aAAa,CAAwB;IAE9C,iBAAiB,CAAwC;IAEzD,YAAY,aAAmC;QAC7C,cAAc,CAAC,IAAI,EAAE;YACnB,iBAAiB,EAAE,UAAU;YAC7B,oBAAoB,EAAE,MAAM;SAC7B,CAAC,CAAC;QAEH,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IAED,oBAAoB,CAAC,GAAyC;QAC5D,IAAI,CAAC,iBAAiB,GAAG,GAAG,CAAC;IAC/B,CAAC;CACF;AAOD,MAAM,OAAO,eAAe;IACjB,gBAAgB,CAAgC;IAChD,iBAAiB,CAAyB;IAE1C,cAAc,CAAwC;IACtD,wBAAwB,CAEQ;IAEhC,eAAe,CAAsC;IACrD,mBAAmB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAC3C,sBAAsB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC;IAEvD,QAAQ,GAAwB,EAAE,CAAC;IAEnC,YACE,gBAA+C,EAC/C,iBAAyC,EACzC,OAMC;QAED,cAAc,CAAC,IAAI,EAAE;YACnB,QAAQ,EAAE,UAA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AAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;oBACzD,UAAU,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;oBACxC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;iBAC9B;YACH,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;SACnD;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC9D;gBAAS;YACR,IAAI,CAAC,sBAAsB,CAAC,QAAQ,EAAE,CAAC;SACxC;IACH,CAAC;IAED,KAAK,CAAC,SAAS;QACb,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACzB,MAAM,UAAU,CAAC,IAAI,CAAC,0BAA0B,EAAE,CAAC,CAAC;YACpD,MAAM,UAAU,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC;SACzD;aAAM;YACL,MAAM,UAAU,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC;SACzD;IACH,CAAC;IAED,KAAK,CAAC,OAAO;QACX,MAAM,UAAU,CAAC,IAAI,CAAC,0BAA0B,EAAE,CAAC,CAAC;QACpD,MAAM,UAAU,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF"}
1
+ {"version":3,"file":"DataAccessState.js","sourceRoot":"","sources":["../../../src/stores/data-access/DataAccessState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,qCAAqC,EAIrC,sCAAsC,EACtC,uCAAuC,EACvC,wCAAwC,EACxC,mCAAmC,GAGpC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,IAAI,EAEJ,mBAAm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,CAAC,aAAa,CAAC,QAAQ,KAAK,MAAM,CAAC,OAAO,CAAC,QAAQ,CAC7D,CAAC;gBACF,IAAI,CAAC,eAAe,EAAE;oBACpB,MAAM,UAAU,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;oBACzD,UAAU,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;oBACxC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;iBAC9B;YACH,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;SACnD;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SAC9D;gBAAS;YACR,IAAI,CAAC,sBAAsB,CAAC,QAAQ,EAAE,CAAC;SACxC;IACH,CAAC;IAED,KAAK,CAAC,SAAS;QACb,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;YACzB,MAAM,UAAU,CAAC,IAAI,CAAC,0BAA0B,EAAE,CAAC,CAAC;YACpD,MAAM,UAAU,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC;SACzD;aAAM;YACL,MAAM,UAAU,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC;SACzD;IACH,CAAC;IAED,KAAK,CAAC,OAAO;QACX,MAAM,UAAU,CAAC,IAAI,CAAC,0BAA0B,EAAE,CAAC,CAAC;QACpD,MAAM,UAAU,CAAC,IAAI,CAAC,8BAA8B,EAAE,CAAC,CAAC;IAC1D,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderCheckEntitlementsState.d.ts","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAQpE,qBAAa,kCAAmC,YAAW,QAAQ;IACjE,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAE9C,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,2BAA2B,UAAS;gBAExB,iBAAiB,EAAE,iBAAiB;IAWhD,8BAA8B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAyClD,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderCheckEntitlementsState.d.ts","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAGpE,qBAAa,kCAAmC,YAAW,QAAQ;IACjE,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAE9C,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IAC9C,2BAA2B,UAAS;gBAExB,iBAAiB,EAAE,iBAAiB;IAWhD,8BAA8B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAwBlD,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
@@ -17,7 +17,7 @@ import { hashArray } from '@finos/legend-shared';
17
17
  import { makeObservable, observable, action, computed } from 'mobx';
18
18
  import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
19
19
  import { DataAccessState } from '../data-access/DataAccessState.js';
20
- import { RuntimePointer, InMemoryGraphData, } from '@finos/legend-graph';
20
+ import { RuntimePointer, InMemoryGraphData } from '@finos/legend-graph';
21
21
  export class QueryBuilderCheckEntitlementsState {
22
22
  queryBuilderState;
23
23
  dataAccessState;
@@ -36,11 +36,11 @@ export class QueryBuilderCheckEntitlementsState {
36
36
  this.dataAccessState = undefined;
37
37
  if (this.queryBuilderState.mapping &&
38
38
  this.queryBuilderState.runtimeValue instanceof RuntimePointer) {
39
- const mappingPath = this.queryBuilderState.mapping.path;
40
- const runtimePath = this.queryBuilderState.runtimeValue.packageableRuntime.value.path;
41
39
  this.dataAccessState = new DataAccessState(this.queryBuilderState.applicationStore, this.queryBuilderState.graphManagerState, {
42
- surveyDatasets: async () => this.queryBuilderState.graphManagerState.graphManager.surveyDatasets(mappingPath, runtimePath, this.queryBuilderState.buildQuery(), new InMemoryGraphData(this.queryBuilderState.graphManagerState.graph)),
43
- checkDatasetEntitlements: async (datasets) => this.queryBuilderState.graphManagerState.graphManager.checkDatasetEntitlements(datasets, mappingPath, runtimePath, this.queryBuilderState.buildQuery(), new InMemoryGraphData(this.queryBuilderState.graphManagerState.graph)),
40
+ mapping: this.queryBuilderState.mapping.path,
41
+ runtime: this.queryBuilderState.runtimeValue.packageableRuntime.value.path,
42
+ getQuery: async () => this.queryBuilderState.buildQuery(),
43
+ graphData: new InMemoryGraphData(this.queryBuilderState.graphManagerState.graph),
44
44
  });
45
45
  }
46
46
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderCheckEntitlementsState.js","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,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F;gBACH,wBAAwB,EAAE,KAAK,EAC7B,QAAgC,EACK,EAAE,CACvC,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,wBAAwB,CAC5E,QAAQ,EACR,WAAW,EACX,WAAW,EACX,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE,EACnC,IAAI,iBAAiB,CACnB,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CACF;aACJ,CACF,CAAC;SACH;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;YAC3D,IAAI,CAAC,2BAA2B;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderCheckEntitlementsState.js","sourceRoot":"","sources":["../../../src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExE,MAAM,OAAO,kCAAkC;IACpC,iBAAiB,CAAoB;IAE9C,eAAe,CAA+B;IAC9C,2BAA2B,GAAG,KAAK,CAAC;IAEpC,YAAY,iBAAoC;QAC9C,cAAc,CAAC,IAAI,EAAE;YACnB,2BAA2B,EAAE,UAAU;YACvC,eAAe,EAAE,UAAU;YAC3B,8BAA8B,EAAE,MAAM;YACtC,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,8BAA8B,CAAC,GAAY;QACzC,IAAI,CAAC,2BAA2B,GAAG,GAAG,CAAC;QAEvC,IAAI,CAAC,eAAe,GAAG,SAAS,CAAC;QACjC,IACE,IAAI,CAAC,iBAAiB,CAAC,OAAO;YAC9B,IAAI,CAAC,iBAAiB,CAAC,YAAY,YAAY,cAAc,EAC7D;YACA,IAAI,CAAC,eAAe,GAAG,IAAI,eAAe,CACxC,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,EACvC,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,EACxC;gBACE,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,IAAI;gBAC5C,OAAO,EACL,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI;gBACnE,QAAQ,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,UAAU,EAAE;gBACzD,SAAS,EAAE,IAAI,iBAAiB,CAC9B,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C;aACF,CACF,CAAC;SACH;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;YAC3D,IAAI,CAAC,2BAA2B;SACjC,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWindowState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqB,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAML,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;AAI9B,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAA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;IAkC9D,YAAY,CAAC,MAAM,EAAE,gBAAgB,GAAG,SAAS,GAAG,IAAI;IAkBxD,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF;AAED,qBAAa,uBAAwB,YAAW,QAAQ;IACtD,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC,aAAa,EAAE,6BAA6B,EAAE,CAAM;IACpD,SAAS,EAAE,8BAA8B,EAAE,CAAC;IAC5C,UAAU,EAAE,6BAA6B,GAAG,SAAS,CAAC;gBAGpD,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,8BAA8B,EAAE;IAgB7C,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,wBAAwB,IAAI,mCAAmC,EAAE,CA2BpE;IAED,IAAI,sBAAsB,IAAI,MAAM,EAAE,CAkBrC;IAED,IAAI,oBAAoB,IAAI,0BAA0B,EAAE,CAEvD;IAED,aAAa,CAAC,GAAG,EAAE,6BAA6B,GAAG,SAAS,GAAG,IAAI;IAInE,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,8BAA8B,GAAG,SAAS;IAItE,eAAe,CAAC,SAAS,EAAE,6BAA6B,GAAG,IAAI;IAI/D,YAAY,CAAC,MAAM,EAAE,6BAA6B,GAAG,IAAI;IAIzD,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IASpD,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO;IAMnE,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
1
+ {"version":3,"file":"QueryBuilderWindowState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAqB,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAML,KAAK,QAAQ,EACd,MAAM,sBAAsB,CAAC;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AAG,IAAI;IAInD,yBAAyB,CACvB,EAAE,EAAE,8BAA8B,GACjC,0BAA0B,EAAE;IAS/B,cAAc,CAAC,QAAQ,EAAE,8BAA8B,GAAG,IAAI;IAsC9D,YAAY,CAAC,MAAM,EAAE,gBAAgB,GAAG,SAAS,GAAG,IAAI;IAkBxD,IAAI,QAAQ,IAAI,MAAM,CAQrB;CACF;AAED,qBAAa,uBAAwB,YAAW,QAAQ;IACtD,QAAQ,CAAC,QAAQ,EAAE,oBAAoB,CAAC;IACxC,aAAa,EAAE,6BAA6B,EAAE,CAAM;IACpD,SAAS,EAAE,8BAA8B,EAAE,CAAC;IAC5C,UAAU,EAAE,6BAA6B,GAAG,SAAS,CAAC;gBAGpD,QAAQ,EAAE,oBAAoB,EAC9B,SAAS,EAAE,8BAA8B,EAAE;IAgB7C,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,IAAI,wBAAwB,IAAI,mCAAmC,EAAE,CA2BpE;IAED,IAAI,sBAAsB,IAAI,MAAM,EAAE,CAkBrC;IAED,IAAI,oBAAoB,IAAI,0BAA0B,EAAE,CAEvD;IAED,aAAa,CAAC,GAAG,EAAE,6BAA6B,GAAG,SAAS,GAAG,IAAI;IAInE,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,8BAA8B,GAAG,SAAS;IAItE,eAAe,CAAC,SAAS,EAAE,6BAA6B,GAAG,IAAI;IAI/D,YAAY,CAAC,MAAM,EAAE,6BAA6B,GAAG,IAAI;IAIzD,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IASpD,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO;IAMnE,IAAI,QAAQ,IAAI,MAAM,CAKrB;CACF"}
@@ -190,10 +190,12 @@ export class QueryBuilderWindowColumnState extends QueryBuilderTDSColumnState {
190
190
  : this.possibleAggregatedColumns(windowOp)[0];
191
191
  if (compatibleAggCol) {
192
192
  this.setOperatorState(new QueryBuilderTDS_WindowAggreationOperatorState(this.windowState, windowOp, compatibleAggCol));
193
+ this.setColumnName(`${windowOp.getLabel()} of ${compatibleAggCol.columnName}`);
193
194
  }
194
195
  }
195
196
  else {
196
197
  this.setOperatorState(new QueryBuilderTDS_WindowRankOperatorState(this.windowState, windowOp));
198
+ this.setColumnName(`${windowOp.getLabel()}`);
197
199
  }
198
200
  }
199
201
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QueryBuilderWindowState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAa,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAK9E,MAAM,CAAC,MAAM,oCAAoC,GAAG,eAAe,CAAC;AAepE,MAAM,OAAO,8BAA8B;IACzC,WAAW,CAA6B;IACxC,QAAQ,CAAmB;IAE3B,YACE,WAAuC,EACvC,QAA0B;QAE1B,cAAc,CAAC,IAAI,EAAE;YACnB,WAAW,EAAE,UAAU;YACvB,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,MAAM;YACtB,WAAW,EAAE,MAAM;SACpB,CAAC,CAAC;QAEH,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED,cAAc,CAAC,QAAoC;QACjD,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AAI,KAAK,EAAE;YACpB,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC;YACtC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;SACvC;IACH,CAAC;IAED,kBAAkB,CAAC,UAAkB,EAAE,UAAkB;QACvD,OAAO,IAAI,CAAC,aAAa;aACtB,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;aACpB,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,KAAK,UAAU,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;YAC3D,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;CACF"}
1
+ {"version":3,"file":"QueryBuilderWindowState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,iBAAiB,EAAa,MAAM,qBAAqB,CAAC;AACnE,OAAO,EACL,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,SAAS,EACT,IAAI,GAEL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAC5F,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAK9E,MAAM,CAAC,MAAM,oCAAoC,GAAG,eAAe,CAAC;AAepE,MAAM,OAAO,8BAA8B;IACzC,WAAW,CAA6B;IACxC,QAAQ,CAAmB;IAE3B,YACE,WAAuC,EACvC,QAA0B;QAE1B,cAAc,CAAC,IAAI,EAAE;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AE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;IACzE,CAAC;IAED,eAAe,CAAC,SAAwC;QACtD,cAAc,CAAC,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;IAChD,CAAC;IAED,YAAY,CAAC,MAAqC;QAChD,WAAW,CAAC,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;IAED,UAAU,CAAC,SAAiB,EAAE,OAAe;QAC3C,MAAM,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QAC1C,IAAI,OAAO,IAAI,KAAK,EAAE;YACpB,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC;YACtC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;SACvC;IACH,CAAC;IAED,kBAAkB,CAAC,UAAkB,EAAE,UAAkB;QACvD,OAAO,IAAI,CAAC,aAAa;aACtB,KAAK,CAAC,CAAC,EAAE,UAAU,CAAC;aACpB,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,KAAK,UAAU,CAAC,CAAC;IAClD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,wBAAwB;YAC3D,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC;SAC9B,CAAC,CAAC;IACL,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-query-builder",
3
- "version": "3.2.1",
3
+ "version": "3.2.3",
4
4
  "description": "Legend query builder core",
5
5
  "keywords": [
6
6
  "legend",
@@ -42,35 +42,35 @@
42
42
  "test:watch": "jest --watch"
43
43
  },
44
44
  "dependencies": {
45
- "@finos/legend-application": "15.0.8",
46
- "@finos/legend-art": "7.0.9",
45
+ "@finos/legend-application": "15.0.10",
46
+ "@finos/legend-art": "7.0.11",
47
47
  "@finos/legend-graph": "28.1.5",
48
- "@finos/legend-lego": "1.0.0",
48
+ "@finos/legend-lego": "1.0.2",
49
49
  "@finos/legend-server-depot": "6.0.5",
50
50
  "@finos/legend-shared": "10.0.4",
51
51
  "@finos/legend-storage": "3.0.54",
52
52
  "@testing-library/react": "14.0.0",
53
- "@types/react": "18.2.0",
54
- "@types/react-dom": "18.2.1",
53
+ "@types/react": "18.2.2",
54
+ "@types/react-dom": "18.2.3",
55
+ "chart.js": "4.3.0",
55
56
  "mathjs": "11.8.0",
56
57
  "mobx": "6.9.0",
57
58
  "mobx-react-lite": "3.4.3",
58
59
  "monaco-editor": "0.38.0",
59
60
  "react": "18.2.0",
61
+ "react-chartjs-2": "5.2.0",
60
62
  "react-dnd": "16.0.1",
61
63
  "react-dom": "18.2.0",
62
64
  "serializr": "3.0.2",
63
65
  "sql-formatter": "12.2.0"
64
66
  },
65
67
  "devDependencies": {
66
- "@finos/legend-dev-utils": "2.0.58",
68
+ "@finos/legend-dev-utils": "2.0.59",
67
69
  "@jest/globals": "29.5.0",
68
- "chart.js": "4.3.0",
69
70
  "cross-env": "7.0.3",
70
71
  "eslint": "8.39.0",
71
72
  "jest": "29.5.0",
72
73
  "npm-run-all": "4.1.5",
73
- "react-chartjs-2": "5.2.0",
74
74
  "rimraf": "5.0.0",
75
75
  "sass": "1.62.1",
76
76
  "typescript": "5.0.4"
@@ -69,7 +69,6 @@ import { QueryBuilderGraphFetchTreeState } from '../stores/fetch-structure/graph
69
69
  import { QueryBuilderPostTDSPanel } from './fetch-structure/QueryBuilderPostTDSPanel.js';
70
70
  import { QueryBuilderWatermarkEditor } from './watermark/QueryBuilderWatermark.js';
71
71
  import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpressionPanel.js';
72
- import { QueryBuilder_LegendApplicationPlugin } from './QueryBuilder_LegendApplicationPlugin.js';
73
72
  import { QUERY_BUILDER_SETTING_KEY } from '../__lib__/QueryBuilderSetting.js';
74
73
  import { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './QueryBuilderComponentElement.js';
75
74
  import { DataAccessOverview } from './data-access/DataAccessOverview.js';
@@ -200,63 +199,6 @@ const QueryBuilderPostGraphFetchPanel = observer(
200
199
  },
201
200
  );
202
201
 
203
- const renderCheckEntitlementsEditor = (
204
- queryBuilderState: QueryBuilderState,
205
- plugins: QueryBuilder_LegendApplicationPlugin[],
206
- ): React.ReactNode => {
207
- const checkEntitlementsEditorRenderers = plugins.flatMap(
208
- (plugin) => plugin.getCheckEntitlementsEditorRender() ?? [],
209
- );
210
- for (const editorRenderer of checkEntitlementsEditorRenderers) {
211
- const editor = editorRenderer(queryBuilderState);
212
- if (editor) {
213
- return editor;
214
- }
215
- }
216
-
217
- const handleClose = (): void => {
218
- queryBuilderState.checkEntitlementsState.setShowCheckEntitlementsViewer(
219
- false,
220
- );
221
- };
222
-
223
- return (
224
- <Dialog
225
- open={
226
- queryBuilderState.checkEntitlementsState.showCheckEntitlementsViewer
227
- }
228
- onClose={handleClose}
229
- classes={{
230
- root: 'editor-modal__root-container',
231
- container: 'editor-modal__container',
232
- paper: 'editor-modal__content',
233
- }}
234
- >
235
- <Modal darkMode={true} className="editor-modal">
236
- <ModalHeader title="Query Entitlements" />
237
- <ModalBody className="query-builder__data-access-overview">
238
- <div className="query-builder__data-access-overview__container">
239
- {queryBuilderState.checkEntitlementsState.dataAccessState ? (
240
- <DataAccessOverview
241
- dataAccessState={
242
- queryBuilderState.checkEntitlementsState.dataAccessState
243
- }
244
- />
245
- ) : (
246
- <BlankPanelContent>
247
- No data access information available
248
- </BlankPanelContent>
249
- )}
250
- </div>
251
- </ModalBody>
252
- <ModalFooter>
253
- <ModalFooterButton text="Close" onClick={handleClose} />
254
- </ModalFooter>
255
- </Modal>
256
- </Dialog>
257
- );
258
- };
259
-
260
202
  export const QueryBuilder = observer(
261
203
  (props: { queryBuilderState: QueryBuilderState }) => {
262
204
  const { queryBuilderState } = props;
@@ -264,7 +206,6 @@ export const QueryBuilder = observer(
264
206
  const fetchStructureState = queryBuilderState.fetchStructureState;
265
207
  const isTDSState =
266
208
  fetchStructureState.implementation instanceof QueryBuilderTDSState;
267
- const applicationStore = queryBuilderState.applicationStore;
268
209
  const openLambdaEditor = (mode: QueryBuilderTextEditorMode): void =>
269
210
  queryBuilderState.textEditorState.openModal(mode);
270
211
  const toggleShowFunctionPanel = (): void => {
@@ -366,7 +307,11 @@ export const QueryBuilder = observer(
366
307
  true,
367
308
  );
368
309
  };
369
-
310
+ const handleClose = (): void => {
311
+ queryBuilderState.checkEntitlementsState.setShowCheckEntitlementsViewer(
312
+ false,
313
+ );
314
+ };
370
315
  useCommands(queryBuilderState);
371
316
  const toggleShowOLAPGroupByPanel = (): void => {
372
317
  if (isTDSState) {
@@ -725,16 +670,44 @@ export const QueryBuilder = observer(
725
670
  <QueryBuilderTextEditor queryBuilderState={queryBuilderState} />
726
671
  )}
727
672
  {queryBuilderState.checkEntitlementsState
728
- .showCheckEntitlementsViewer &&
729
- renderCheckEntitlementsEditor(
730
- queryBuilderState,
731
- applicationStore.pluginManager
732
- .getApplicationPlugins()
733
- .filter(
734
- (plugin) =>
735
- plugin instanceof QueryBuilder_LegendApplicationPlugin,
736
- ) as QueryBuilder_LegendApplicationPlugin[],
737
- )}
673
+ .showCheckEntitlementsViewer && (
674
+ <Dialog
675
+ open={
676
+ queryBuilderState.checkEntitlementsState
677
+ .showCheckEntitlementsViewer
678
+ }
679
+ onClose={handleClose}
680
+ classes={{
681
+ root: 'editor-modal__root-container',
682
+ container: 'editor-modal__container',
683
+ paper: 'editor-modal__content',
684
+ }}
685
+ >
686
+ <Modal darkMode={true} className="editor-modal">
687
+ <ModalHeader title="Query Entitlements" />
688
+ <ModalBody className="query-builder__data-access-overview">
689
+ <div className="query-builder__data-access-overview__container">
690
+ {queryBuilderState.checkEntitlementsState
691
+ .dataAccessState ? (
692
+ <DataAccessOverview
693
+ dataAccessState={
694
+ queryBuilderState.checkEntitlementsState
695
+ .dataAccessState
696
+ }
697
+ />
698
+ ) : (
699
+ <BlankPanelContent>
700
+ No data access information available
701
+ </BlankPanelContent>
702
+ )}
703
+ </div>
704
+ </ModalBody>
705
+ <ModalFooter>
706
+ <ModalFooterButton text="Close" onClick={handleClose} />
707
+ </ModalFooter>
708
+ </Modal>
709
+ </Dialog>
710
+ )}
738
711
  </div>
739
712
  <QueryBuilderStatusBar queryBuilderState={queryBuilderState} />
740
713
  </div>
@@ -28,7 +28,7 @@ import { QUERY_BUILDER_SETTING_CONFIG } from '../__lib__/QueryBuilderSetting.js'
28
28
  import { QUERY_BUILDER_COMMAND_CONFIG } from '../stores/QueryBuilderCommand.js';
29
29
  import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
30
30
  import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
31
- import { Chart as ChartJS, ArcElement, Tooltip } from 'chart.js';
31
+ import { Chart as ChartJS, ArcElement, Tooltip, LinearScale } from 'chart.js';
32
32
 
33
33
  export type CheckEntitlementEditorRender = (
34
34
  queryBuilderState: QueryBuilderState,
@@ -53,7 +53,15 @@ export class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugi
53
53
  configureDataGridComponent();
54
54
 
55
55
  // configure chart component
56
- ChartJS.register(ArcElement, Tooltip);
56
+ ChartJS.register(
57
+ ArcElement,
58
+ Tooltip,
59
+ // NOTE: this is a workaround for a production bundle problem where LinearScale seems to be required
60
+ // in only production build
61
+ // See https://github.com/chartjs/Chart.js/issues/10895
62
+ // See https://github.com/chartjs/Chart.js/issues/11157#issue-1592988375
63
+ LinearScale,
64
+ );
57
65
  },
58
66
  ];
59
67
  }
@@ -69,9 +77,4 @@ export class QueryBuilder_LegendApplicationPlugin extends LegendApplicationPlugi
69
77
  QUERY_BUILDER_SETTING_CONFIG,
70
78
  );
71
79
  }
72
-
73
- // TODO: rework and move this to query builder plugin (to be created) or `QueryBuilder_LegendApplicationPlugin_Extension`
74
- getCheckEntitlementsEditorRender(): CheckEntitlementEditorRender | undefined {
75
- return undefined;
76
- }
77
80
  }
@@ -127,7 +127,7 @@ const AccessStatusCellRenderer = observer(
127
127
  dataAccessState: DataAccessState;
128
128
  },
129
129
  ) => {
130
- const { data } = params;
130
+ const { data, dataAccessState } = params;
131
131
  const applicationStore = useApplicationStore();
132
132
 
133
133
  if (!data) {
@@ -193,7 +193,7 @@ const AccessStatusCellRenderer = observer(
193
193
  );
194
194
  let action: React.ReactNode | undefined;
195
195
  for (const plugin of plugins) {
196
- action = plugin.renderer(data);
196
+ action = plugin.renderer(data, dataAccessState);
197
197
  if (action) {
198
198
  break;
199
199
  }
@@ -30,6 +30,7 @@ import {
30
30
  DropdownMenu,
31
31
  MenuContent,
32
32
  MenuContentItem,
33
+ ModalFooterButton,
33
34
  } from '@finos/legend-art';
34
35
  import {
35
36
  COLUMN_SORT_TYPE,
@@ -262,9 +263,7 @@ export const QueryResultModifierModal = observer(
262
263
  </div>
263
264
  </ModalBody>
264
265
  <ModalFooter>
265
- <button className="btn modal__footer__close-btn" onClick={close}>
266
- Close
267
- </button>
266
+ <ModalFooterButton onClick={close} text="Close" />
268
267
  </ModalFooter>
269
268
  </Modal>
270
269
  </Dialog>
@@ -17,7 +17,10 @@
17
17
  import type { LegendApplicationPlugin } from '@finos/legend-application';
18
18
  import type { QueryBuilderState } from './QueryBuilderState.js';
19
19
  import type { QuerySearchSpecification } from '@finos/legend-graph';
20
- import type { DatasetAccessInfo } from './data-access/DataAccessState.js';
20
+ import type {
21
+ DataAccessState,
22
+ DatasetAccessInfo,
23
+ } from './data-access/DataAccessState.js';
21
24
 
22
25
  export type LoadQueryFilterOption = {
23
26
  key: string;
@@ -29,7 +32,10 @@ export type LoadQueryFilterOption = {
29
32
  };
30
33
 
31
34
  export type DatasetEntitlementAccessReportActionConfiguration = {
32
- renderer: (info: DatasetAccessInfo) => React.ReactNode;
35
+ renderer: (
36
+ info: DatasetAccessInfo,
37
+ dataAccessState: DataAccessState,
38
+ ) => React.ReactNode;
33
39
  };
34
40
 
35
41
  export interface QueryBuilder_LegendApplicationPlugin_Extension