@finos/legend-query-builder 4.15.5 → 4.15.6
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +4 -6
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +7 -7
- package/package.json +17 -17
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +4 -6
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,EASlB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,SAAS,EAIf,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,mCAAmC,CAAC;AAkB3C,eAAO,MAAM,6BAA6B,sBACrB,WAAW,cAClB,MAAM,cACN,OAAO,KAClB,IA8CF,CAAC;AAEF,eAAO,MAAM,wCAAwC,sBAChC,WAAW,cAClB,OAAO,qBACA,OAAO,KACzB,IAaF,CAAC;AAEF,eAAO,MAAM,2BAA2B,sBACnB,WAAW,cAClB,OAAO,KAClB,MAAM,GAAG,IAWX,CAAC;AAEF,eAAO,MAAM,WAAW,WACd,WAAW,QACb,WAAW,SACV,WAAW,sBACE,MAAM,KACzB,OAAO,CAAC,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,uBAAuB,0BACX,WAAW,SAC3B,MAAM,gBACC,YAAY,YAChB;IACR,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,KACA,OAAO,CAAC,IAAI,CAad,CAAC;AAEF,eAAO,MAAM,uBAAuB,aACxB,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC,KAC5E,OAAO,CAAC;IACT,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,
|
1
|
+
{"version":3,"file":"QueryBuilderComponentTestUtils.d.ts","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,EASlB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EACL,KAAK,qCAAqC,EAC1C,KAAK,SAAS,EAIf,MAAM,qBAAqB,CAAC;AAO7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAEpD,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,mCAAmC,CAAC;AAkB3C,eAAO,MAAM,6BAA6B,sBACrB,WAAW,cAClB,MAAM,cACN,OAAO,KAClB,IA8CF,CAAC;AAEF,eAAO,MAAM,wCAAwC,sBAChC,WAAW,cAClB,OAAO,qBACA,OAAO,KACzB,IAaF,CAAC;AAEF,eAAO,MAAM,2BAA2B,sBACnB,WAAW,cAClB,OAAO,KAClB,MAAM,GAAG,IAWX,CAAC;AAEF,eAAO,MAAM,WAAW,WACd,WAAW,QACb,WAAW,SACV,WAAW,sBACE,MAAM,KACzB,OAAO,CAAC,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,uBAAuB,0BACX,WAAW,SAC3B,MAAM,gBACC,YAAY,YAChB;IACR,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B,KACA,OAAO,CAAC,IAAI,CAad,CAAC;AAEF,eAAO,MAAM,uBAAuB,aACxB,MAAM,EAAE,UACV,SAAS,eACJ,MAAM,eACN,MAAM,0CACqB,qCAAqC,KAC5E,OAAO,CAAC;IACT,YAAY,EAAE,YAAY,CAAC;IAC3B,iBAAiB,EAAE,iBAAiB,CAAC;CACtC,CA4EA,CAAC"}
|
@@ -106,11 +106,9 @@ export const setDerivedPropertyValue = async (derivedPropertyButton, value, rend
|
|
106
106
|
await waitFor(() => expect(renderResult.queryByRole('dialog')).toBeNull());
|
107
107
|
};
|
108
108
|
export const TEST__setUpQueryBuilder = async (entities, lambda, mappingPath, runtimePath, rawMappingModelCoverageAnalysisResult) => {
|
109
|
-
const
|
110
|
-
|
111
|
-
|
112
|
-
]).install();
|
113
|
-
const graphManagerState = new GraphManagerState(MOCK__pluginManager, new LogService());
|
109
|
+
const pluginManager = TEST__LegendApplicationPluginManager.create();
|
110
|
+
pluginManager.usePresets([new QueryBuilder_GraphManagerPreset()]).install();
|
111
|
+
const graphManagerState = new GraphManagerState(pluginManager, new LogService());
|
114
112
|
await graphManagerState.graphManager.initialize({
|
115
113
|
env: 'test',
|
116
114
|
tabSize: 2,
|
@@ -118,7 +116,7 @@ export const TEST__setUpQueryBuilder = async (entities, lambda, mappingPath, run
|
|
118
116
|
});
|
119
117
|
await graphManagerState.initializeSystem();
|
120
118
|
await graphManagerState.graphManager.buildGraph(graphManagerState.graph, entities, graphManagerState.graphBuildState);
|
121
|
-
const MOCK__applicationStore = new ApplicationStore(TEST__getGenericApplicationConfig(),
|
119
|
+
const MOCK__applicationStore = new ApplicationStore(TEST__getGenericApplicationConfig(), pluginManager);
|
122
120
|
const queryBuilderState = new INTERNAL__BasicQueryBuilderState(MOCK__applicationStore, graphManagerState, QueryBuilderAdvancedWorkflowState.INSTANCE, undefined);
|
123
121
|
const mapping = graphManagerState.graph.getMapping(mappingPath);
|
124
122
|
queryBuilderState.executionContextState.setMapping(mapping);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,MAAM,EACN,OAAO,EACP,SAAS,EAC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AAE,KAAK,EAAE;KAClB,CACF,CAAC;IACF,MAAM,kBAAkB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACzC,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;IAChE,MAAM,OAAO,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC;AAC7E,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,KAAK,EAC1C,QAAkB,EAClB,MAAiB,EACjB,WAAmB,EACnB,WAAmB,EACnB,qCAA6E,EAI5E,EAAE;IACH,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,MAAM,EACN,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,SAAS,GACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAGL,iBAAiB,EACjB,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAEL,gCAAgC,GACjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,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AC,wBAAwB,IAAC,KAAK,EAAE,sBAAsB,YACrD,KAAC,gCAAgC,IAAC,cAAc,EAAE,CAAC,GAAG,CAAC,YACrD,KAAC,4BAA4B,cAC3B,KAAC,MAAM,cACL,KAAC,KAAK,IACJ,IAAI,EAAC,GAAG,EACR,OAAO,EAAE,KAAC,YAAY,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,GAC/D,GACK,GACoB,GACE,GACV,CAC5B,CAAC;IAEF,MAAM,OAAO,CAAC,GAAG,EAAE,CACjB,YAAY,CAAC,WAAW,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAC9D,CAAC;IAEF,OAAO;QACL,YAAY;QACZ,iBAAiB;KAClB,CAAC;AACJ,CAAC,CAAC"}
|
package/lib/index.css
CHANGED
package/lib/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.15.
|
3
|
+
"version": "4.15.6",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -54,18 +54,18 @@
|
|
54
54
|
"@testing-library/dom": "10.4.0",
|
55
55
|
"@testing-library/react": "16.0.1",
|
56
56
|
"@types/react": "18.3.11",
|
57
|
-
"@types/react-dom": "18.3.
|
58
|
-
"chart.js": "4.4.
|
57
|
+
"@types/react-dom": "18.3.1",
|
58
|
+
"chart.js": "4.4.5",
|
59
59
|
"mathjs": "13.2.0",
|
60
|
-
"mobx": "6.13.
|
60
|
+
"mobx": "6.13.5",
|
61
61
|
"mobx-react-lite": "4.0.7",
|
62
62
|
"monaco-editor": "0.52.0",
|
63
63
|
"react": "18.3.1",
|
64
64
|
"react-chartjs-2": "5.2.0",
|
65
65
|
"react-dnd": "16.0.1",
|
66
66
|
"react-dom": "18.3.1",
|
67
|
-
"serializr": "3.0.
|
68
|
-
"sql-formatter": "15.4.
|
67
|
+
"serializr": "3.0.3",
|
68
|
+
"sql-formatter": "15.4.4"
|
69
69
|
},
|
70
70
|
"devDependencies": {
|
71
71
|
"@finos/legend-dev-utils": "workspace:*",
|
@@ -75,7 +75,7 @@
|
|
75
75
|
"jest": "29.7.0",
|
76
76
|
"npm-run-all": "4.1.5",
|
77
77
|
"rimraf": "6.0.1",
|
78
|
-
"sass": "1.
|
78
|
+
"sass": "1.80.2",
|
79
79
|
"typescript": "5.6.3"
|
80
80
|
},
|
81
81
|
"peerDependencies": {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.15.
|
3
|
+
"version": "4.15.6",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,40 +42,40 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "16.0.
|
46
|
-
"@finos/legend-art": "7.1.
|
47
|
-
"@finos/legend-code-editor": "2.0.
|
48
|
-
"@finos/legend-data-cube": "0.0.
|
49
|
-
"@finos/legend-graph": "31.10.
|
50
|
-
"@finos/legend-lego": "2.0.
|
51
|
-
"@finos/legend-server-depot": "6.0.
|
52
|
-
"@finos/legend-shared": "10.0.
|
53
|
-
"@finos/legend-storage": "3.0.
|
45
|
+
"@finos/legend-application": "16.0.5",
|
46
|
+
"@finos/legend-art": "7.1.64",
|
47
|
+
"@finos/legend-code-editor": "2.0.7",
|
48
|
+
"@finos/legend-data-cube": "0.0.12",
|
49
|
+
"@finos/legend-graph": "31.10.41",
|
50
|
+
"@finos/legend-lego": "2.0.9",
|
51
|
+
"@finos/legend-server-depot": "6.0.64",
|
52
|
+
"@finos/legend-shared": "10.0.58",
|
53
|
+
"@finos/legend-storage": "3.0.108",
|
54
54
|
"@testing-library/dom": "10.4.0",
|
55
55
|
"@testing-library/react": "16.0.1",
|
56
56
|
"@types/react": "18.3.11",
|
57
|
-
"@types/react-dom": "18.3.
|
58
|
-
"chart.js": "4.4.
|
57
|
+
"@types/react-dom": "18.3.1",
|
58
|
+
"chart.js": "4.4.5",
|
59
59
|
"mathjs": "13.2.0",
|
60
|
-
"mobx": "6.13.
|
60
|
+
"mobx": "6.13.5",
|
61
61
|
"mobx-react-lite": "4.0.7",
|
62
62
|
"monaco-editor": "0.52.0",
|
63
63
|
"react": "18.3.1",
|
64
64
|
"react-chartjs-2": "5.2.0",
|
65
65
|
"react-dnd": "16.0.1",
|
66
66
|
"react-dom": "18.3.1",
|
67
|
-
"serializr": "3.0.
|
68
|
-
"sql-formatter": "15.4.
|
67
|
+
"serializr": "3.0.3",
|
68
|
+
"sql-formatter": "15.4.4"
|
69
69
|
},
|
70
70
|
"devDependencies": {
|
71
|
-
"@finos/legend-dev-utils": "2.1.
|
71
|
+
"@finos/legend-dev-utils": "2.1.26",
|
72
72
|
"@jest/globals": "29.7.0",
|
73
73
|
"cross-env": "7.0.3",
|
74
74
|
"eslint": "9.12.0",
|
75
75
|
"jest": "29.7.0",
|
76
76
|
"npm-run-all": "4.1.5",
|
77
77
|
"rimraf": "6.0.1",
|
78
|
-
"sass": "1.
|
78
|
+
"sass": "1.80.2",
|
79
79
|
"typescript": "5.6.3"
|
80
80
|
},
|
81
81
|
"peerDependencies": {
|
@@ -199,12 +199,10 @@ export const TEST__setUpQueryBuilder = async (
|
|
199
199
|
renderResult: RenderResult;
|
200
200
|
queryBuilderState: QueryBuilderState;
|
201
201
|
}> => {
|
202
|
-
const
|
203
|
-
|
204
|
-
new QueryBuilder_GraphManagerPreset(),
|
205
|
-
]).install();
|
202
|
+
const pluginManager = TEST__LegendApplicationPluginManager.create();
|
203
|
+
pluginManager.usePresets([new QueryBuilder_GraphManagerPreset()]).install();
|
206
204
|
const graphManagerState = new GraphManagerState(
|
207
|
-
|
205
|
+
pluginManager,
|
208
206
|
new LogService(),
|
209
207
|
);
|
210
208
|
|
@@ -222,7 +220,7 @@ export const TEST__setUpQueryBuilder = async (
|
|
222
220
|
|
223
221
|
const MOCK__applicationStore = new ApplicationStore(
|
224
222
|
TEST__getGenericApplicationConfig(),
|
225
|
-
|
223
|
+
pluginManager,
|
226
224
|
);
|
227
225
|
|
228
226
|
const queryBuilderState = new INTERNAL__BasicQueryBuilderState(
|