@finos/legend-query-builder 4.14.28 → 4.14.30
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 +22 -14
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +6 -2
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +2 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +10 -2
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +1 -0
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/index.css +1 -17
- package/lib/index.css.map +1 -1
- 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 +1 -1
- package/lib/stores/QueryBuilderState.d.ts +7 -1
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +10 -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 +2 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/workflow/QueryBuilderWorkFlowState.d.ts +23 -0
- package/lib/stores/workflow/QueryBuilderWorkFlowState.d.ts.map +1 -0
- package/lib/stores/workflow/QueryBuilderWorkFlowState.js +24 -0
- package/lib/stores/workflow/QueryBuilderWorkFlowState.js.map +1 -0
- 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 +1 -1
- package/src/components/QueryBuilder.tsx +106 -24
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +6 -2
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +2 -0
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +10 -2
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +1 -0
- package/src/index.ts +1 -0
- package/src/stores/QueryBuilderState.ts +11 -0
- package/src/stores/__test-utils__/QueryBuilderStateTestUtils.ts +2 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +7 -0
- package/src/stores/workflow/QueryBuilderWorkFlowState.ts +27 -0
- package/src/stores/workflows/FunctionQueryBuilderState.ts +3 -1
- package/src/stores/workflows/MappingQueryBuilderState.ts +9 -1
- package/src/stores/workflows/ServiceQueryBuilderState.ts +9 -1
- package/tsconfig.json +1 -0
@@ -34,6 +34,7 @@ import { action, makeObservable, observable } from 'mobx';
|
|
34
34
|
import { renderServiceQueryBuilderSetupPanelContent } from '../../components/workflows/ServiceQueryBuilder.js';
|
35
35
|
import { QueryBuilderState } from '../QueryBuilderState.js';
|
36
36
|
import type { QueryBuilderConfig } from '../../graph-manager/QueryBuilderConfig.js';
|
37
|
+
import type { QueryBuilderWorkflowState } from '../workflow/QueryBuilderWorkFlowState.js';
|
37
38
|
|
38
39
|
export type ServiceExecutionContext = {
|
39
40
|
key: string;
|
@@ -58,6 +59,7 @@ export class ServiceQueryBuilderState extends QueryBuilderState {
|
|
58
59
|
constructor(
|
59
60
|
applicationStore: GenericLegendApplicationStore,
|
60
61
|
graphManagerState: GraphManagerState,
|
62
|
+
workflowState: QueryBuilderWorkflowState,
|
61
63
|
service: Service,
|
62
64
|
usableServices: Service[] | undefined,
|
63
65
|
executionContextKey?: string | undefined,
|
@@ -68,7 +70,13 @@ export class ServiceQueryBuilderState extends QueryBuilderState {
|
|
68
70
|
config?: QueryBuilderConfig | undefined,
|
69
71
|
sourceInfo?: object | undefined,
|
70
72
|
) {
|
71
|
-
super(
|
73
|
+
super(
|
74
|
+
applicationStore,
|
75
|
+
graphManagerState,
|
76
|
+
workflowState,
|
77
|
+
config,
|
78
|
+
sourceInfo,
|
79
|
+
);
|
72
80
|
|
73
81
|
makeObservable(this, {
|
74
82
|
selectedExecutionContext: observable,
|
package/tsconfig.json
CHANGED
@@ -177,6 +177,7 @@
|
|
177
177
|
"./src/stores/watermark/QueryBuilderWatermarkState.ts",
|
178
178
|
"./src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts",
|
179
179
|
"./src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts",
|
180
|
+
"./src/stores/workflow/QueryBuilderWorkFlowState.ts",
|
180
181
|
"./src/stores/workflows/ClassQueryBuilderState.ts",
|
181
182
|
"./src/stores/workflows/FunctionQueryBuilderState.ts",
|
182
183
|
"./src/stores/workflows/MappingQueryBuilderState.ts",
|