@finos/legend-query-builder 4.3.8 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +2 -2
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.d.ts +24 -0
- package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -0
- package/lib/graph-manager/QueryBuilderConfig.js +27 -0
- package/lib/graph-manager/QueryBuilderConfig.js.map +1 -0
- package/lib/index.css +16 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +9 -9
- package/lib/stores/QueryBuilderState.d.ts +3 -1
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +4 -2
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +4 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/lib/stores/workflows/FunctionQueryBuilderState.d.ts +2 -1
- package/lib/stores/workflows/FunctionQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/FunctionQueryBuilderState.js +2 -2
- package/lib/stores/workflows/FunctionQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts +2 -1
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.js +2 -2
- package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +2 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -2
- package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
- package/package.json +17 -17
- package/src/components/QueryBuilder.tsx +16 -14
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +1 -0
- package/src/graph-manager/QueryBuilderConfig.ts +31 -0
- package/src/index.ts +1 -1
- package/src/stores/QueryBuilderState.ts +5 -0
- package/src/stores/__test-utils__/QueryBuilderStateTestUtils.ts +1 -0
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +1 -1
- package/src/stores/workflows/FunctionQueryBuilderState.ts +3 -1
- package/src/stores/workflows/MappingQueryBuilderState.ts +3 -1
- package/src/stores/workflows/ServiceQueryBuilderState.ts +3 -1
- package/tsconfig.json +1 -0
@@ -33,6 +33,7 @@ import {
|
|
33
33
|
import { action, makeObservable, observable } from 'mobx';
|
34
34
|
import { renderServiceQueryBuilderSetupPanelContent } from '../../components/workflows/ServiceQueryBuilder.js';
|
35
35
|
import { QueryBuilderState } from '../QueryBuilderState.js';
|
36
|
+
import type { QueryBuilderConfig } from '../../graph-manager/QueryBuilderConfig.js';
|
36
37
|
|
37
38
|
export type ServiceExecutionContext = {
|
38
39
|
key: string;
|
@@ -64,8 +65,9 @@ export class ServiceQueryBuilderState extends QueryBuilderState {
|
|
64
65
|
onExecutionContextChange?:
|
65
66
|
| ((val: ServiceExecutionContext) => void)
|
66
67
|
| undefined,
|
68
|
+
config?: QueryBuilderConfig | undefined,
|
67
69
|
) {
|
68
|
-
super(applicationStore, graphManagerState);
|
70
|
+
super(applicationStore, graphManagerState, config);
|
69
71
|
|
70
72
|
makeObservable(this, {
|
71
73
|
selectedExecutionContext: observable,
|
package/tsconfig.json
CHANGED
@@ -44,6 +44,7 @@
|
|
44
44
|
"./src/components/QueryBuilder_LegendApplicationPlugin.ts",
|
45
45
|
"./src/components/QuerySetupUtils.ts",
|
46
46
|
"./src/graph/QueryBuilderMetaModelConst.ts",
|
47
|
+
"./src/graph-manager/QueryBuilderConfig.ts",
|
47
48
|
"./src/graph-manager/QueryBuilderConst.ts",
|
48
49
|
"./src/graph-manager/QueryBuilder_GraphManagerPreset.ts",
|
49
50
|
"./src/graph-manager/QueryBuilder_PureGraphManagerPlugin.ts",
|