@finos/legend-query-builder 4.14.30 → 4.14.32
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +36 -3
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +3 -3
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +23 -15
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +5 -10
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +7 -7
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/graph/QueryBuilderMetaModelConst.d.ts +3 -0
- package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -1
- package/lib/graph/QueryBuilderMetaModelConst.js +5 -0
- package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -1
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +4 -1
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +51 -3
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +17 -1
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +1 -0
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderState.d.ts +4 -1
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +12 -1
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts +2 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +40 -5
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +5 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.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/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +2 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +7 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +4 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderAdvancedWorkflowState.d.ts +2 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderAdvancedWorkflowState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderAdvancedWorkflowState.js +2 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderAdvancedWorkflowState.js.map +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +1 -0
- 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/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts +3 -3
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +9 -2
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +2 -9
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +45 -36
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.d.ts +20 -0
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.js +55 -0
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.js.map +1 -0
- package/{src/stores/workflow/QueryBuilderWorkFlowState.ts → lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.d.ts} +5 -12
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.js +54 -0
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.js.map +1 -0
- package/lib/stores/{workflow → query-workflow}/QueryBuilderWorkFlowState.d.ts +12 -0
- package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts.map +1 -0
- package/lib/stores/{workflow → query-workflow}/QueryBuilderWorkFlowState.js +18 -0
- package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js.map +1 -0
- package/lib/stores/workflows/FunctionQueryBuilderState.d.ts +1 -1
- package/lib/stores/workflows/FunctionQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/components/QueryBuilder.tsx +77 -2
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +34 -20
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +1 -1
- package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +29 -29
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +9 -16
- package/src/graph/QueryBuilderMetaModelConst.ts +7 -0
- package/src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +3 -3
- package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +122 -1
- package/src/index.ts +1 -1
- package/src/stores/QueryBuilderResultState.ts +1 -0
- package/src/stores/QueryBuilderState.ts +17 -1
- package/src/stores/QueryBuilderStateBuilder.ts +83 -10
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +5 -0
- package/src/stores/__test-utils__/QueryBuilderStateTestUtils.ts +1 -1
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +1 -0
- package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +15 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +5 -0
- package/src/stores/fetch-structure/tds/QueryBuilderAdvancedWorkflowState.ts +0 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +5 -0
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +9 -2
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +90 -81
- package/src/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.ts +108 -0
- package/src/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.ts +103 -0
- package/src/stores/query-workflow/QueryBuilderWorkFlowState.ts +64 -0
- package/src/stores/workflows/FunctionQueryBuilderState.ts +1 -1
- package/src/stores/workflows/MappingQueryBuilderState.ts +1 -1
- package/src/stores/workflows/ServiceQueryBuilderState.ts +1 -1
- package/tsconfig.json +4 -1
- package/lib/stores/workflow/QueryBuilderWorkFlowState.d.ts.map +0 -1
- package/lib/stores/workflow/QueryBuilderWorkFlowState.js.map +0 -1
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import type
|
16
|
+
import { type QueryBuilderState } from '../stores/QueryBuilderState.js';
|
17
17
|
export declare const QueryBuilder: ((props: {
|
18
18
|
queryBuilderState: QueryBuilderState;
|
19
19
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,KAAK,
|
1
|
+
{"version":3,"file":"QueryBuilder.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuCH,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,gCAAgC,CAAC;AAkLxC,eAAO,MAAM,YAAY,WACf;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CA6sBjD,CAAC"}
|
@@ -21,6 +21,7 @@ import { QueryBuilderExplorerPanel } from './explorer/QueryBuilderExplorerPanel.
|
|
21
21
|
import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
|
22
22
|
import { QueryBuilderResultPanel } from './result/QueryBuilderResultPanel.js';
|
23
23
|
import { QueryBuilderTextEditor } from './QueryBuilderTextEditor.js';
|
24
|
+
import { QUERY_BUILDER_LAMBDA_WRITER_MODE, } from '../stores/QueryBuilderState.js';
|
24
25
|
import { QueryBuilderTextEditorMode } from '../stores/QueryBuilderTextEditorState.js';
|
25
26
|
import { QueryBuilderFetchStructurePanel } from './fetch-structure/QueryBuilderFetchStructurePanel.js';
|
26
27
|
import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
@@ -42,6 +43,8 @@ import { DataAccessOverview } from './data-access/DataAccessOverview.js';
|
|
42
43
|
import { QueryChat } from './QueryChat.js';
|
43
44
|
import { useEffect, useRef } from 'react';
|
44
45
|
import { RedoButton, UndoButton } from '@finos/legend-lego/application';
|
46
|
+
import { FETCH_STRUCTURE_IMPLEMENTATION } from '../stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js';
|
47
|
+
import { onChangeFetchStructureImplementation } from '../stores/fetch-structure/QueryBuilderFetchStructureState.js';
|
45
48
|
const QueryBuilderPostGraphFetchPanel = observer((props) => {
|
46
49
|
const { graphFetchState } = props;
|
47
50
|
if (!graphFetchState.TEMPORARY__showPostFetchStructurePanel) {
|
@@ -149,6 +152,30 @@ export const QueryBuilder = observer((props) => {
|
|
149
152
|
});
|
150
153
|
}
|
151
154
|
};
|
155
|
+
const toggleTypedRelation = () => {
|
156
|
+
if (queryBuilderState.isFetchStructureTyped) {
|
157
|
+
queryBuilderState.setLambdaWriteMode(QUERY_BUILDER_LAMBDA_WRITER_MODE.STANDARD);
|
158
|
+
}
|
159
|
+
else {
|
160
|
+
queryBuilderState.applicationStore.alertService.setActionAlertInfo({
|
161
|
+
message: 'You are about to change to use typed TDS functions. Please proceed with caution as this is still an experimental feature.',
|
162
|
+
prompt: ' Do you want to proceed?',
|
163
|
+
type: ActionAlertType.CAUTION,
|
164
|
+
actions: [
|
165
|
+
{
|
166
|
+
label: 'Proceed',
|
167
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
168
|
+
handler: () => queryBuilderState.setLambdaWriteMode(QUERY_BUILDER_LAMBDA_WRITER_MODE.TYPED_FETCH_STRUCTURE),
|
169
|
+
},
|
170
|
+
{
|
171
|
+
label: 'Cancel',
|
172
|
+
type: ActionAlertActionType.PROCEED,
|
173
|
+
default: true,
|
174
|
+
},
|
175
|
+
],
|
176
|
+
});
|
177
|
+
}
|
178
|
+
};
|
152
179
|
const editQueryInPure = () => {
|
153
180
|
openLambdaEditor(QueryBuilderTextEditorMode.TEXT);
|
154
181
|
};
|
@@ -197,14 +224,18 @@ export const QueryBuilder = observer((props) => {
|
|
197
224
|
queryBuilderState.changeHistoryState.cacheNewQuery(queryBuilderState.buildQuery());
|
198
225
|
}
|
199
226
|
}, [queryBuilderState, queryBuilderState.hashCode]);
|
200
|
-
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", ref: queryBuilderRef, children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className:
|
227
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER, className: "query-builder", ref: queryBuilderRef, children: [_jsx(BackdropContainer, { elementId: QUERY_BUILDER_COMPONENT_ELEMENT_ID.BACKDROP_CONTAINER }), _jsxs("div", { className: clsx('query-builder__body', {
|
228
|
+
'query-builder__body__status-bar': queryBuilderState.workflowState.showStatusBar,
|
229
|
+
}), children: [_jsx(PanelLoadingIndicator, { isLoading: queryBuilderState.resultState.exportState.isInProgress }), _jsxs("div", { className: "query-builder__content", children: [_jsxs("div", { className: "query-builder__header", children: [_jsxs("div", { className: "query-builder__header__statuses", children: [queryBuilderState.watermarkState.value && (_jsx("button", { className: "query-builder__header__status query-builder__header__status--action", onClick: openWatermark, tabIndex: -1, title: "Used watermark", name: "Used watermark", children: _jsx(WaterDropIcon, {}) })), queryBuilderState.isCalendarEnabled && (_jsx("div", { className: "query-builder__header__status", title: "Used calendar aggregation", children: _jsx(CalendarClockIcon, { className: "query-builder__header__status__icon--calendar" }) })), queryBuilderState.watermarkState.isEditingWatermark && (_jsx(QueryBuilderWatermarkEditor, { queryBuilderState: queryBuilderState }))] }), _jsxs("div", { className: "query-builder__header__actions", children: [_jsxs("div", { className: "query-builder__header__actions__undo-redo", children: [_jsx(UndoButton, { parent: queryBuilderRef, canUndo: queryBuilderState.changeHistoryState.canUndo &&
|
201
230
|
queryBuilderState.isQuerySupported, undo: undo }), _jsx(RedoButton, { parent: queryBuilderRef, canRedo: queryBuilderState.changeHistoryState.canRedo &&
|
202
231
|
queryBuilderState.isQuerySupported, redo: redo })] }), _jsxs(DropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowFunctionPanel, disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showFunctionsExplorerPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Function(s)" })] }), !queryBuilderState.isParameterSupportDisabled && (_jsxs(MenuContentItem, { onClick: toggleShowParameterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
203
232
|
queryBuilderState.parametersState.parameterStates
|
204
233
|
.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.showParametersPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Parameter(s)" })] })), _jsxs(MenuContentItem, { onClick: toggleConstantPanel, disabled: !queryBuilderState.isQuerySupported ||
|
205
234
|
queryBuilderState.constantState.constants.length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.constantState
|
206
235
|
.showConstantPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Constant(s)" })] }), _jsxs(MenuContentItem, { onClick: toggleShowFilterPanel, disabled: !queryBuilderState.isQuerySupported ||
|
207
|
-
Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.filterState.showPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Filter" })] }),
|
236
|
+
Array.from(queryBuilderState.filterState.nodes.values()).length > 0, children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.filterState.showPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Filter" })] }), _jsxs(MenuContentItem, { onClick: onChangeFetchStructureImplementation(isTDSState
|
237
|
+
? FETCH_STRUCTURE_IMPLEMENTATION.GRAPH_FETCH
|
238
|
+
: FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE, fetchStructureState), disabled: !queryBuilderState.isQuerySupported, children: [_jsx(MenuContentItemIcon, { children: isTDSState ? _jsx(CheckIcon, {}) : null }), _jsx(MenuContentItemLabel, { children: "Tabular Data Structure" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: toggleShowOLAPGroupByPanel, disabled: !queryBuilderState.isQuerySupported ||
|
208
239
|
!(queryBuilderState.fetchStructureState
|
209
240
|
.implementation instanceof QueryBuilderTDSState) ||
|
210
241
|
queryBuilderState.fetchStructureState.implementation
|
@@ -218,7 +249,9 @@ export const QueryBuilder = observer((props) => {
|
|
218
249
|
queryBuilderState.fetchStructureState.implementation
|
219
250
|
.showPostFilterPanel ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Post-Filter" })] }), _jsxs(MenuContentItem, { onClick: openWatermark, children: [_jsx(MenuContentItemIcon, { children: _jsx(WaterDropIcon, {}) }), _jsx(MenuContentItemLabel, { children: "Show Watermark" })] }), _jsxs(MenuContentItem, { onClick: toggleEnableCalendar, disabled: !queryBuilderState.isQuerySupported ||
|
220
251
|
!(queryBuilderState.fetchStructureState
|
221
|
-
.implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsx(CheckIcon, {})) : (_jsx(CalendarClockIcon, {})) }), _jsx(MenuContentItemLabel, { children: "Enable Calendar" })] }),
|
252
|
+
.implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isCalendarEnabled ? (_jsx(CheckIcon, {})) : (_jsx(CalendarClockIcon, {})) }), _jsx(MenuContentItemLabel, { children: "Enable Calendar" })] }), _jsxs(MenuContentItem, { onClick: toggleTypedRelation, disabled: !queryBuilderState.isQuerySupported ||
|
253
|
+
!(queryBuilderState.fetchStructureState
|
254
|
+
.implementation instanceof QueryBuilderTDSState), children: [_jsx(MenuContentItemIcon, { children: queryBuilderState.isFetchStructureTyped ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Enable Typed TDS (BETA)" })] }), _jsx(MenuContentDivider, {}), _jsxs(MenuContentItem, { onClick: openCheckEntitlmentsEditor, disabled: queryBuilderState.isQuerySupported &&
|
222
255
|
queryBuilderState.fetchStructureState
|
223
256
|
.implementation instanceof QueryBuilderTDSState &&
|
224
257
|
queryBuilderState.fetchStructureState.implementation
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EACb,QAAQ,EACR,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,QAAQ,EACR,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,aAAa,EACb,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,qBAAqB,EACrB,eAA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C,2BAA2B,EAEhC,OAAO,EAAE,WAAW,EACpB,OAAO,EAAE;4BACP,IAAI,EAAE,8BAA8B;4BACpC,SAAS,EAAE,yBAAyB;4BACpC,KAAK,EAAE,uBAAuB;yBAC/B,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iCAC5B,mCAAmC,EAExC,SAAS,EAAC,cAAc,aAExB,KAAC,WAAW,IAAC,KAAK,EAAC,oBAAoB,GAAG,EAC1C,KAAC,SAAS,IAAC,SAAS,EAAC,qCAAqC,YACxD,cAAK,SAAS,EAAC,gDAAgD,YAC5D,iBAAiB,CAAC,sBAAsB;6CACtC,eAAe,CAAC,CAAC,CAAC,CACnB,KAAC,kBAAkB,IACjB,eAAe,EACb,iBAAiB,CAAC,sBAAsB;iDACrC,eAAe,GAEpB,CACH,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,uDAEE,CACrB,GACG,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,WAAW,GAChB,GACU,IACR,GACD,CACV,IACG,EACL,iBAAiB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAC/C,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilder.js","sourceRoot":"","sources":["../../src/components/QueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,oBAAoB,EACpB,SAAS,EACT,aAAa,EAC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BACpC,SAAS,EAAE,yBAAyB;4BACpC,KAAK,EAAE,uBAAuB;yBAC/B,YAED,MAAC,KAAK,IACJ,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iCAC5B,mCAAmC,EAExC,SAAS,EAAC,cAAc,aAExB,KAAC,WAAW,IAAC,KAAK,EAAC,oBAAoB,GAAG,EAC1C,KAAC,SAAS,IAAC,SAAS,EAAC,qCAAqC,YACxD,cAAK,SAAS,EAAC,gDAAgD,YAC5D,iBAAiB,CAAC,sBAAsB;6CACtC,eAAe,CAAC,CAAC,CAAC,CACnB,KAAC,kBAAkB,IACjB,eAAe,EACb,iBAAiB,CAAC,sBAAsB;iDACrC,eAAe,GAEpB,CACH,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,uDAEE,CACrB,GACG,GACI,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAChB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,WAAW,GAChB,GACU,IACR,GACD,CACV,IACG,EACL,iBAAiB,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAC/C,KAAC,qBAAqB,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -13,7 +13,6 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type ChangeEvent } from 'react';
|
17
16
|
import { type QueryBuilderPropertyExpressionState } from '../stores/QueryBuilderPropertyEditorState.js';
|
18
17
|
import { type QueryBuilderExplorerTreePropertyNodeData } from '../stores/explorer/QueryBuilderExplorerState.js';
|
19
18
|
export declare const QueryBuilderPropertyExpressionEditor: ((props: {
|
@@ -23,9 +22,10 @@ export declare const QueryBuilderPropertyExpressionEditor: ((props: {
|
|
23
22
|
};
|
24
23
|
export declare const QueryBuilderEditablePropertyName: ((props: {
|
25
24
|
columnName: string;
|
26
|
-
|
25
|
+
setColumnName?: ((columnName: string) => void) | undefined;
|
27
26
|
error: string | undefined;
|
28
27
|
title: string;
|
28
|
+
defaultColumnName: string;
|
29
29
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
30
30
|
displayName: string;
|
31
31
|
};
|
@@ -33,7 +33,7 @@ export declare const QueryBuilderPropertyExpressionBadge: ((props: {
|
|
33
33
|
columnName?: string;
|
34
34
|
propertyExpressionState: QueryBuilderPropertyExpressionState;
|
35
35
|
onPropertyExpressionChange: (node: QueryBuilderExplorerTreePropertyNodeData) => void;
|
36
|
-
|
36
|
+
setColumnName?: (columnName: string) => void;
|
37
37
|
error?: string | undefined;
|
38
38
|
}) => import("react/jsx-runtime").JSX.Element) & {
|
39
39
|
displayName: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertyExpressionEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderPropertyExpressionEditor.d.ts","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAuBH,OAAO,EAIL,KAAK,mCAAmC,EACzC,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EAGL,KAAK,wCAAwC,EAC9C,MAAM,iDAAiD,CAAC;AAoQzD,eAAO,MAAM,oCAAoC,WACvC;IAAE,uBAAuB,EAAE,mCAAmC,CAAA;CAAE;;CAuEzE,CAAC;AAEF,eAAO,MAAM,gCAAgC;gBAE7B,MAAM;kCACY,MAAM,KAAK,IAAI;WACtC,MAAM,GAAG,SAAS;WAClB,MAAM;uBACM,MAAM;;;CAsE5B,CAAC;AAEF,eAAO,MAAM,mCAAmC;iBAE/B,MAAM;6BACM,mCAAmC;uCAEpD,wCAAwC,KAC3C,IAAI;iCACoB,MAAM,KAAK,IAAI;YACpC,MAAM,GAAG,SAAS;;;CAyG7B,CAAC"}
|
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { useCallback, useEffect, useRef, useState, } from 'react';
|
18
18
|
import { clsx, Dialog, PanelDropZone, InfoCircleIcon, PanelEntryDropZonePlaceholder, Modal, ModalHeader, ModalBody, ModalFooter, ModalFooterButton, InputWithInlineValidation, } from '@finos/legend-art';
|
19
19
|
import { observer } from 'mobx-react-lite';
|
20
|
-
import { generateValueSpecificationForParameter, } from '../stores/QueryBuilderPropertyEditorState.js';
|
20
|
+
import { generateValueSpecificationForParameter, getPropertyChainName, } from '../stores/QueryBuilderPropertyEditorState.js';
|
21
21
|
import { useDrop } from 'react-dnd';
|
22
22
|
import { QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../stores/explorer/QueryBuilderExplorerState.js';
|
23
23
|
import { Class, Enumeration, PrimitiveType, isSuperType, AbstractPropertyExpression, INTERNAL__PropagatedValue, getMilestoneTemporalStereotype, } from '@finos/legend-graph';
|
@@ -138,40 +138,47 @@ export const QueryBuilderPropertyExpressionEditor = observer((props) => {
|
|
138
138
|
}, children: _jsxs(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder-property-editor", children: [_jsx(ModalHeader, { title: "Derived Property" }), _jsxs(ModalBody, { className: "query-builder-property-editor__content", children: [propertyExpressionState.derivedPropertyExpressionStates.map((pe) => (_jsx(DerivedPropertyExpressionEditor, { derivedPropertyExpressionState: pe }, pe.path))), _jsx(ModalBody, { className: "query-builder__variables__modal__body", children: _jsx(VariableSelector, { queryBuilderState: propertyExpressionState.queryBuilderState, filterBy: (v) => isParameterCompatibleWithDerivedProperty(v, propertyExpressionState.derivedPropertyExpressionStates) }) })] }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { text: "Done", onClick: handleClose }) })] }) }));
|
139
139
|
});
|
140
140
|
export const QueryBuilderEditablePropertyName = observer((props) => {
|
141
|
-
const { columnName,
|
141
|
+
const { columnName, setColumnName, error, title, defaultColumnName } = props;
|
142
142
|
const [isEditingColumnName, setIsEditingColumnName] = useState(false);
|
143
|
+
const [selectedColumnName, setSelectedColumnName] = useState(columnName);
|
143
144
|
const columnNameInputRef = useRef(null);
|
144
145
|
useEffect(() => {
|
145
146
|
if (isEditingColumnName) {
|
146
147
|
columnNameInputRef.current?.focus();
|
147
148
|
}
|
148
149
|
}, [isEditingColumnName, columnNameInputRef]);
|
149
|
-
|
150
|
+
const handleFinishEditing = () => {
|
151
|
+
const trimmedSelectedColumnName = selectedColumnName.trim();
|
152
|
+
if (trimmedSelectedColumnName.length > 0) {
|
153
|
+
setColumnName?.(trimmedSelectedColumnName);
|
154
|
+
setSelectedColumnName(trimmedSelectedColumnName);
|
155
|
+
}
|
156
|
+
else {
|
157
|
+
setColumnName?.(defaultColumnName);
|
158
|
+
setSelectedColumnName(defaultColumnName);
|
159
|
+
}
|
160
|
+
setIsEditingColumnName(false);
|
161
|
+
};
|
162
|
+
return isEditingColumnName ? (_jsx("div", { className: "query-builder__property__name__editor", children: _jsx(InputWithInlineValidation, { className: "query-builder__property__name__editor__input input-group__input", spellCheck: false, value: selectedColumnName, onChange: (event) => setSelectedColumnName(event.target.value), onKeyDown: (event) => {
|
150
163
|
if (event.key === 'Enter') {
|
151
|
-
|
152
|
-
setIsEditingColumnName(false);
|
153
|
-
}
|
154
|
-
}
|
155
|
-
}, onBlur: () => {
|
156
|
-
if (columnName.length > 0) {
|
157
|
-
setIsEditingColumnName(false);
|
164
|
+
handleFinishEditing();
|
158
165
|
}
|
159
|
-
},
|
166
|
+
}, onBlur: handleFinishEditing, ref: columnNameInputRef, draggable: true, onDragStart: (e) => {
|
160
167
|
// The below 2 lines are to allow dragging to select text in the input instead of
|
161
168
|
// dragging the draggable element containing the input.
|
162
169
|
e.preventDefault();
|
163
170
|
e.stopPropagation();
|
164
171
|
} }) })) : (_jsx("div", { className: "query-builder__property__name__display", title: title, children: _jsx("span", { className: clsx('query-builder__property__name__display__content', {
|
165
172
|
'query-builder__property__name__display__content--error': error,
|
166
|
-
'editable-value':
|
173
|
+
'editable-value': setColumnName,
|
167
174
|
}), onClick: () => {
|
168
|
-
if (
|
175
|
+
if (setColumnName) {
|
169
176
|
setIsEditingColumnName(true);
|
170
177
|
}
|
171
178
|
}, children: columnName }) }));
|
172
179
|
});
|
173
180
|
export const QueryBuilderPropertyExpressionBadge = observer((props) => {
|
174
|
-
const { columnName, propertyExpressionState, onPropertyExpressionChange,
|
181
|
+
const { columnName, propertyExpressionState, onPropertyExpressionChange, setColumnName, error, } = props;
|
175
182
|
const type = propertyExpressionState.propertyExpression.func.value.genericType.value
|
176
183
|
.rawType;
|
177
184
|
const hasDerivedPropertyInExpression = Boolean(propertyExpressionState.derivedPropertyExpressionStates.length);
|
@@ -200,7 +207,8 @@ export const QueryBuilderPropertyExpressionBadge = observer((props) => {
|
|
200
207
|
'query-builder-property-expression-badge__content--class': type instanceof Class,
|
201
208
|
'query-builder-property-expression-badge__content--enumeration': type instanceof Enumeration,
|
202
209
|
'query-builder-property-expression-badge__content--primitive': type instanceof PrimitiveType,
|
203
|
-
}), children: [_jsx(QueryBuilderEditablePropertyName, { columnName: columnName ?? propertyExpressionState.title,
|
210
|
+
}), children: [_jsx(QueryBuilderEditablePropertyName, { columnName: columnName ?? propertyExpressionState.title, setColumnName: setColumnName, error: error, title: `${propertyExpressionState.title} - ${propertyExpressionState.path}`, defaultColumnName: getPropertyChainName(propertyExpressionState.propertyExpression, propertyExpressionState.queryBuilderState.explorerState
|
211
|
+
.humanizePropertyName) }), hasDerivedPropertyInExpression && (_jsxs("button", { className: clsx('query-builder-property-expression-badge__action', {
|
204
212
|
'query-builder-property-expression-badge__action--error': !isValid,
|
205
213
|
}), tabIndex: -1, onClick: setDerivedPropertyArguments, title: "Set Derived Property Argument(s)...", children: [!isValid && _jsx(InfoCircleIcon, {}), " (...)"] })), _jsx(QueryBuilderPropertyExpressionEditor, { propertyExpressionState: propertyExpressionState })] }) }) }));
|
206
214
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertyExpressionEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,GAET,MAAM,OAAO,CAAC;AACf,OAAO,EACL,IAAI,EACJ,MAAM,EACN,aAAa,EACb,cAAc,EACd,6BAA6B,EAC7B,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,sCAAsC,GAGvC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,oCAAoC,GAGrC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAGL,KAAK,EACL,WAAW,EACX,aAAa,EACb,WAAW,EACX,0BAA0B,EAC1B,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAEL,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,oCAAoC,EAAE,MAAM,sDAAsD,CAAC;AAC5G,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EACL,wCAAwC,EACxC,iCAAiC,EACjC,8BAA8B,GAC/B,MAAM,wDAAwD,CAAC;AAEhE,MAAM,mCAAm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,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderPropertyExpressionEditor.js","sourceRoot":"","sources":["../../src/components/QueryBuilderPropertyExpressionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,GAET,MAAM,OAAO,CAAC;AACf,OAAO,EACL,IAAI,EACJ,MAAM,EACN,aAAa,EACb,cAAc,EACd,6BAA6B,EAC7B,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,sCAAsC,EACtC,oBAAoB,GAGrB,MAAM,8CAA8C,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,oCAAoC,GAGrC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAGL,KAAK,EACL,WAAW,EACX,aAAa,EACb,WAAW,EACX,0BAA0B,EAC1B,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAEL,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,oCAAoC,EAAE,MAAM,sDAAsD,CAAC;AAC5G,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EACL,wCAAwC,EACxC,iCAAiC,EACjC,8BAA8B,GAC/B,MAAM,wDAAwD,CAAC;AAEhE,MAAM,mCAAmC,GAAG,QAAQ,CAClD,CAAC,KAIA,EAAE,EAAE;IACH,MAAM,EAAE,8BAA8B,EAA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C,iBAAiB,CAAC,aAAa;6BACpD,oBAAoB,CACxB,GACD,EACD,8BAA8B,IAAI,CACjC,kBACE,SAAS,EAAE,IAAI,CACb,iDAAiD,EACjD;4BACE,wDAAwD,EACtD,CAAC,OAAO;yBACX,CACF,EACD,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,2BAA2B,EACpC,KAAK,EAAC,qCAAqC,aAE1C,CAAC,OAAO,IAAI,KAAC,cAAc,KAAG,cACxB,CACV,EACD,KAAC,oCAAoC,IACnC,uBAAuB,EAAE,uBAAuB,GAChD,IACE,GACwB,GAC5B,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -27,7 +27,7 @@ import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
|
27
27
|
import { TEST__LegendApplicationPluginManager, TEST__getGenericApplicationConfig, } from '../../stores/__test-utils__/QueryBuilderStateTestUtils.js';
|
28
28
|
import { STYLE_PREFIX, STYLE_PREFIX__DARK } from '@finos/legend-art';
|
29
29
|
import { expect } from '@jest/globals';
|
30
|
-
import { QueryBuilderAdvancedWorkflowState } from '../../stores/workflow/QueryBuilderWorkFlowState.js';
|
30
|
+
import { QueryBuilderAdvancedWorkflowState } from '../../stores/query-workflow/QueryBuilderWorkFlowState.js';
|
31
31
|
const getSelectorContainerClassName = (lightMode) => '.' + `${lightMode ? STYLE_PREFIX : STYLE_PREFIX__DARK}__value-container`;
|
32
32
|
const getSelectorInputClassName = (lightMode) => '.' + `${lightMode ? STYLE_PREFIX : STYLE_PREFIX__DARK}__single-value`;
|
33
33
|
export const selectFromCustomSelectorInput = (selectorContainer, optionText, lightMode) => {
|
@@ -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,EACT,UAAU,EACV,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,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,oCAAoC,EACpC,iCAAiC,GAClC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAAE,iCAAiC,EAAE,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,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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AAC;IACF,MAAM,OAAO,GAAG,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;IAChE,iBAAiB,CAAC,qBAAqB,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5D,iBAAiB,CAAC,qBAAqB,CAAC,eAAe,CACrD,IAAI,cAAc,CAChB,mCAAmC,CAAC,MAAM,CACxC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAChD,CACF,CACF,CAAC;IAEF,IAAI,qCAAqC,EAAE;QACzC,SAAS,CACP,iBAAiB,CAAC,YAAY,EAC9B,6BAA6B,CAC9B,CAAC,iBAAiB,CACjB,iBAAiB,CAAC,YAAY,CAAC,uCAAuC,CACpE,qCAAqC,EACrC,OAAO,CACR,CACF,CAAC;KACH;IAED,MAAM,YAAY,GAAG,MAAM,CACzB,KAAC,wBAAwB,IAAC,KAAK,EAAE,sBAAsB,YACrD,KAAC,gCAAgC,cAC/B,KAAC,4BAA4B,cAC3B,KAAC,YAAY,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,GACzB,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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFetchStructurePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderFetchStructurePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AA0C3E,eAAO,MAAM,+BAA+B,WAClC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAqDjD,CAAC"}
|
@@ -24,6 +24,7 @@ import { QueryBuilderGraphFetchTreeState } from '../../stores/fetch-structure/gr
|
|
24
24
|
import { QueryBuilderPanelIssueCountBadge } from '../shared/QueryBuilderPanelIssueCountBadge.js';
|
25
25
|
import { FETCH_STRUCTURE_IMPLEMENTATION } from '../../stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js';
|
26
26
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
27
|
+
import { onChangeFetchStructureImplementation } from '../../stores/fetch-structure/QueryBuilderFetchStructureState.js';
|
27
28
|
const QueryBuilderFetchStructureEditor = observer((props) => {
|
28
29
|
const { queryBuilderState } = props;
|
29
30
|
const fetchStructureState = queryBuilderState.fetchStructureState;
|
@@ -39,17 +40,11 @@ const QueryBuilderFetchStructureEditor = observer((props) => {
|
|
39
40
|
export const QueryBuilderFetchStructurePanel = observer((props) => {
|
40
41
|
const { queryBuilderState } = props;
|
41
42
|
const fetchStructureState = queryBuilderState.fetchStructureState;
|
42
|
-
const
|
43
|
-
|
44
|
-
fetchStructureState.implementation.checkBeforeChangingImplementation(() => {
|
45
|
-
fetchStructureState.changeImplementation(implementationType);
|
46
|
-
});
|
47
|
-
}
|
48
|
-
};
|
49
|
-
return (_jsxs(Panel, { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FETCH_STRUCTURE, children: [_jsxs(PanelHeader, { children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: "fetch structure" }), fetchStructureState.implementation.fetchStructureValidationIssues
|
43
|
+
const fetchConfig = queryBuilderState.workflowState.getFetchStructureLayoutConfig(queryBuilderState);
|
44
|
+
return (_jsxs(Panel, { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FETCH_STRUCTURE, children: [_jsxs(PanelHeader, { children: [_jsxs("div", { className: "panel__header__title", children: [_jsx("div", { className: "panel__header__title__label", children: fetchConfig.label }), fetchStructureState.implementation.fetchStructureValidationIssues
|
50
45
|
.length !== 0 && (_jsx(QueryBuilderPanelIssueCountBadge, { issues: fetchStructureState.implementation
|
51
|
-
.fetchStructureValidationIssues }))] }), _jsx(PanelHeaderActions, { children: _jsx("div", { className: "query-builder__fetch__structure__modes", children: Object.values(FETCH_STRUCTURE_IMPLEMENTATION).map((type) => (_jsx("button", { onClick: onChangeFetchStructureImplementation(type), className: clsx('query-builder__fetch__structure__mode', {
|
46
|
+
.fetchStructureValidationIssues }))] }), fetchConfig.showInFetchPanel ? (_jsx(PanelHeaderActions, { children: _jsx("div", { className: "query-builder__fetch__structure__modes", children: Object.values(FETCH_STRUCTURE_IMPLEMENTATION).map((type) => (_jsx("button", { onClick: onChangeFetchStructureImplementation(type, fetchStructureState), className: clsx('query-builder__fetch__structure__mode', {
|
52
47
|
'query-builder__fetch__structure__mode--selected': type === fetchStructureState.implementation.type,
|
53
|
-
}), children: prettyCONSTName(type) }, type))) }) })] }), _jsx(QueryBuilderFetchStructureEditor, { queryBuilderState: queryBuilderState })] }));
|
48
|
+
}), children: prettyCONSTName(type) }, type))) }) })) : null] }), _jsx(QueryBuilderFetchStructureEditor, { queryBuilderState: queryBuilderState })] }));
|
54
49
|
});
|
55
50
|
//# sourceMappingURL=QueryBuilderFetchStructurePanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFetchStructurePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,iBAAiB,EACjB,KAAK,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAChG,OAAO,EAAE,+BAA+B,EAAE,MAAM,6EAA6E,CAAC;AAC9H,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAE,8BAA8B,EAAE,MAAM,+EAA+E,CAAC;AAC/H,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderFetchStructurePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,iBAAiB,EACjB,KAAK,EACL,YAAY,EACZ,WAAW,EACX,kBAAkB,GACnB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAChG,OAAO,EAAE,+BAA+B,EAAE,MAAM,6EAA6E,CAAC;AAC9H,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AACjG,OAAO,EAAE,8BAA8B,EAAE,MAAM,+EAA+E,CAAC;AAC/H,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE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cAAc;qCAC/B,8BAA8B,GAEnC,CACH,IACG,EACL,WAAW,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAC9B,KAAC,kBAAkB,cACjB,cAAK,SAAS,EAAC,wCAAwC,YACpD,MAAM,CAAC,MAAM,CAAC,8BAA8B,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAC3D,iBACE,OAAO,EAAE,oCAAoC,CAC3C,IAAI,EACJ,mBAAmB,CACpB,EACD,SAAS,EAAE,IAAI,CAAC,uCAAuC,EAAE;oCACvD,iDAAiD,EAC/C,IAAI,KAAK,mBAAmB,CAAC,cAAc,CAAC,IAAI;iCACnD,CAAC,YAGD,eAAe,CAAC,IAAI,CAAC,IAFjB,IAAI,CAGF,CACV,CAAC,GACE,GACa,CACtB,CAAC,CAAC,CAAC,IAAI,IACI,EACd,KAAC,gCAAgC,IAC/B,iBAAiB,EAAE,iBAAiB,GACpC,IACI,CACT,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiFH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAm5BrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAiT3C,CAAC"}
|
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
14
14
|
* See the License for the specific language governing permissions and
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
|
-
import { useEffect, useRef, useCallback, useState, forwardRef
|
17
|
+
import { useEffect, useRef, useCallback, useState, forwardRef } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { clsx, BlankPanelPlaceholder, CalculatorIcon, TimesIcon, DropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, ContextMenu, SigmaIcon, PanelDropZone, DragPreviewLayer, useDragPreviewLayer, PlusIcon, PanelContent, TrashIcon, PanelDnDEntry, CalendarIcon, CalendarClockIcon, CustomSelectorInput, PanelEntryDropZonePlaceholder, FunctionIcon, CogIcon, InfoCircleIcon, } from '@finos/legend-art';
|
20
20
|
import { buildPropertyExpressionFromExplorerTreeNodeData, QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
@@ -49,10 +49,10 @@ const QueryBuilderProjectionColumnContextMenu = observer(forwardRef(function Que
|
|
49
49
|
QueryBuilderSimpleProjectionColumnState && (_jsx(MenuContentItem, { onClick: convertToDerivation, children: "Convert To Derivation" })), _jsx(MenuContentItem, { onClick: removeColumn, children: "Remove" })] }));
|
50
50
|
}));
|
51
51
|
const QueryBuilderSimpleProjectionColumnEditor = observer((props) => {
|
52
|
-
const { projectionColumnState,
|
52
|
+
const { projectionColumnState, setColumnName, error } = props;
|
53
53
|
const onPropertyExpressionChange = (node) => projectionColumnState.changeProperty(node, projectionColumnState.tdsState.queryBuilderState.explorerState
|
54
54
|
.humanizePropertyName);
|
55
|
-
return (_jsx(QueryBuilderPropertyExpressionBadge, { columnName: projectionColumnState.columnName, propertyExpressionState: projectionColumnState.propertyExpressionState, onPropertyExpressionChange: onPropertyExpressionChange,
|
55
|
+
return (_jsx(QueryBuilderPropertyExpressionBadge, { columnName: projectionColumnState.columnName, propertyExpressionState: projectionColumnState.propertyExpressionState, onPropertyExpressionChange: onPropertyExpressionChange, setColumnName: setColumnName, error: error }));
|
56
56
|
});
|
57
57
|
const QueryBuilderDerivationProjectionColumnEditor = observer((props) => {
|
58
58
|
const { projectionColumnState } = props;
|
@@ -133,7 +133,7 @@ const QueryBuilderProjectionColumnEditor = observer((props) => {
|
|
133
133
|
const isRemovalDisabled = tdsState.isColumnInUse(projectionColumnState);
|
134
134
|
const removeColumn = () => tdsState.removeColumn(projectionColumnState);
|
135
135
|
// name
|
136
|
-
const
|
136
|
+
const setColumnName = (columnName) => projectionColumnState.setColumnName(columnName);
|
137
137
|
const isDuplicatedColumnName = projectionColumnState.tdsState.isDuplicateColumn(projectionColumnState);
|
138
138
|
// aggregation
|
139
139
|
const aggregateColumnState = tdsState.aggregationState.columns.find((column) => column.projectionColumnState === projectionColumnState);
|
@@ -333,16 +333,16 @@ const QueryBuilderProjectionColumnEditor = observer((props) => {
|
|
333
333
|
QueryBuilderSimpleProjectionColumnState && (_jsxs(_Fragment, { children: [_jsx(QueryBuilderPropertyInfoTooltip, { title: projectionColumnState.propertyExpressionState.title, property: projectionColumnState.propertyExpressionState
|
334
334
|
.propertyExpression.func.value, path: getPropertyPath(projectionColumnState.propertyExpressionState
|
335
335
|
.propertyExpression), isMapped: true, placement: "bottom-start", explorerState: projectionColumnState.propertyExpressionState
|
336
|
-
.queryBuilderState.explorerState, children: _jsx("div", { className: "query-builder-property-expression-badge__property__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("div", { className: "query-builder__projection__column__value", children: _jsx(QueryBuilderSimpleProjectionColumnEditor, { projectionColumnState: projectionColumnState,
|
336
|
+
.queryBuilderState.explorerState, children: _jsx("div", { className: "query-builder-property-expression-badge__property__info", children: _jsx(InfoCircleIcon, {}) }) }), _jsx("div", { className: "query-builder__projection__column__value", children: _jsx(QueryBuilderSimpleProjectionColumnEditor, { projectionColumnState: projectionColumnState, setColumnName: setColumnName, error: isDuplicatedColumnName
|
337
337
|
? 'Duplicated column'
|
338
338
|
: projectionColumnState.columnName.length === 0
|
339
339
|
? 'Empty column name'
|
340
340
|
: undefined }) })] })), projectionColumnState instanceof
|
341
|
-
QueryBuilderDerivationProjectionColumnState && (_jsxs(_Fragment, { children: [_jsx(QueryBuilderDerivationInfoTooltip, { title: projectionColumnState.columnName, type: projectionColumnState.returnType, placement: "bottom-start", children: _jsx("div", { className: "query-builder-property-expression-badge__property__info", children: _jsx(CalculatorIcon, {}) }) }), _jsxs("div", { className: "query-builder__projection__column__value", children: [_jsx(QueryBuilderEditablePropertyName, { columnName: projectionColumnState.columnName,
|
341
|
+
QueryBuilderDerivationProjectionColumnState && (_jsxs(_Fragment, { children: [_jsx(QueryBuilderDerivationInfoTooltip, { title: projectionColumnState.columnName, type: projectionColumnState.returnType, placement: "bottom-start", children: _jsx("div", { className: "query-builder-property-expression-badge__property__info", children: _jsx(CalculatorIcon, {}) }) }), _jsxs("div", { className: "query-builder__projection__column__value", children: [_jsx(QueryBuilderEditablePropertyName, { columnName: projectionColumnState.columnName, setColumnName: setColumnName, error: isDuplicatedColumnName
|
342
342
|
? 'Duplicated column'
|
343
343
|
: projectionColumnState.columnName.length === 0
|
344
344
|
? 'Empty column name'
|
345
|
-
: undefined, title: projectionColumnState.columnName }), _jsx(QueryBuilderDerivationProjectionColumnEditor, { projectionColumnState: projectionColumnState })] })] })), _jsx("div", { className: "query-builder__projection__column__aggregate", children: _jsxs("div", { className: "query-builder__projection__column__aggregate__operator", children: [aggregateColumnState && (_jsx("div", { className: "query-builder__projection__column__aggregate__operator__label", children: aggregateColumnState.operator.getLabel(projectionColumnState) })), isCalendarEnabled &&
|
345
|
+
: undefined, title: projectionColumnState.columnName, defaultColumnName: "(derivation)" }), _jsx(QueryBuilderDerivationProjectionColumnEditor, { projectionColumnState: projectionColumnState })] })] })), _jsx("div", { className: "query-builder__projection__column__aggregate", children: _jsxs("div", { className: "query-builder__projection__column__aggregate__operator", children: [aggregateColumnState && (_jsx("div", { className: "query-builder__projection__column__aggregate__operator__label", children: aggregateColumnState.operator.getLabel(projectionColumnState) })), isCalendarEnabled &&
|
346
346
|
aggregateColumnState &&
|
347
347
|
aggregateCalendarFunctions.length > 0 && (_jsx("div", { className: clsx('query-builder__projection__column__aggregate__calendar__toggler', {
|
348
348
|
'query-builder__projection__column__aggregate__calendar__toggler--active': !aggregateColumnState.hideCalendarColumnState,
|