@finos/legend-query-builder 4.19.22 → 4.19.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +65 -50
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +2 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +2 -2
- 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 +11 -7
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +4 -13
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/sql-playground/SQLPlaygroundEditor.d.ts.map +1 -1
- package/lib/components/sql-playground/SQLPlaygroundEditor.js +4 -4
- package/lib/components/sql-playground/SQLPlaygroundEditor.js.map +1 -1
- package/lib/data-access-overview.css +1 -1
- package/lib/index.css +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/query-workflow/QueryBuilderWorkFlowState.d.ts +10 -0
- package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts.map +1 -1
- package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js +16 -0
- package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js.map +1 -1
- package/package.json +8 -8
- package/src/components/QueryBuilder.tsx +392 -365
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +3 -1
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +383 -371
- package/src/components/shared/LambdaEditor.tsx +10 -13
- package/src/components/sql-playground/SQLPlaygroundEditor.tsx +6 -5
- package/src/index.ts +1 -0
- package/src/stores/query-workflow/QueryBuilderWorkFlowState.ts +19 -0
|
@@ -65,6 +65,7 @@ import { expect } from '@jest/globals';
|
|
|
65
65
|
import {
|
|
66
66
|
QueryBuilderActionConfig,
|
|
67
67
|
QueryBuilderAdvancedWorkflowState,
|
|
68
|
+
type QueryBuilderWorkflowState,
|
|
68
69
|
} from '../../stores/query-workflow/QueryBuilderWorkFlowState.js';
|
|
69
70
|
import { AccessorQueryBuilderState } from '../../stores/workflows/accessor/AccessorQueryBuilderState.js';
|
|
70
71
|
import { Route, Routes } from '@finos/legend-application/browser';
|
|
@@ -238,6 +239,7 @@ export const TEST__setUpQueryBuilder = async (
|
|
|
238
239
|
mappingPath: string,
|
|
239
240
|
runtimePath: string,
|
|
240
241
|
rawMappingModelCoverageAnalysisResult?: RawMappingModelCoverageAnalysisResult,
|
|
242
|
+
workflowState: QueryBuilderWorkflowState = QueryBuilderAdvancedWorkflowState.INSTANCE,
|
|
241
243
|
): Promise<{
|
|
242
244
|
renderResult: RenderResult;
|
|
243
245
|
queryBuilderState: QueryBuilderState;
|
|
@@ -256,7 +258,7 @@ export const TEST__setUpQueryBuilder = async (
|
|
|
256
258
|
const queryBuilderState = new INTERNAL__BasicQueryBuilderState(
|
|
257
259
|
MOCK__applicationStore,
|
|
258
260
|
graphManagerState,
|
|
259
|
-
|
|
261
|
+
workflowState,
|
|
260
262
|
undefined,
|
|
261
263
|
);
|
|
262
264
|
const mapping = graphManagerState.graph.getMapping(mappingPath);
|