@finos/legend-query-builder 4.14.34 → 4.14.35
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +2 -2
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +1 -2
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts +0 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +2 -1
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.js +1 -1
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +16 -16
- package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
- package/lib/stores/QueryBuilderChangeHistoryState.js.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +2 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
- package/lib/stores/data-access/DataAccessState.js.map +1 -1
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
- package/lib/stores/execution-plan/ExecutionPlanState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/shared/LambdaEditorState.js.map +1 -1
- package/lib/stores/shared/LambdaParameterState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
- package/package.json +24 -24
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +5 -5
- package/src/components/QueryBuilderParametersPanel.tsx +7 -7
- package/src/components/execution-plan/FunctionParametersValidationNodeViewer.tsx +3 -2
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +4 -4
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +4 -4
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +2 -2
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +4 -4
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +4 -4
- package/src/components/filter/QueryBuilderFilterPanel.tsx +6 -6
- package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +2 -2
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +1 -1
- package/src/components/shared/CustomDatePicker.tsx +12 -11
- package/src/stores/QueryBuilderPropertyEditorState.ts +2 -3
- package/src/stores/explorer/QueryBuilderExplorerState.ts +2 -2
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +1 -0
- package/tsconfig.json +17 -1
- package/tsconfig.package.json +17 -1
@@ -784,8 +784,8 @@ const QueryBuilderProjectionColumnEditor = observer(
|
|
784
784
|
isDuplicatedColumnName
|
785
785
|
? 'Duplicated column'
|
786
786
|
: projectionColumnState.columnName.length === 0
|
787
|
-
|
788
|
-
|
787
|
+
? 'Empty column name'
|
788
|
+
: undefined
|
789
789
|
}
|
790
790
|
/>
|
791
791
|
</div>
|
@@ -811,8 +811,8 @@ const QueryBuilderProjectionColumnEditor = observer(
|
|
811
811
|
isDuplicatedColumnName
|
812
812
|
? 'Duplicated column'
|
813
813
|
: projectionColumnState.columnName.length === 0
|
814
|
-
|
815
|
-
|
814
|
+
? 'Empty column name'
|
815
|
+
: undefined
|
816
816
|
}
|
817
817
|
title={projectionColumnState.columnName}
|
818
818
|
defaultColumnName="(derivation)"
|
@@ -94,8 +94,8 @@ const createWindowColumnState = (
|
|
94
94
|
? `${operator.getLabel()} of ${columnState.columnName}`
|
95
95
|
: columnState.columnName
|
96
96
|
: nonColoperator.isColumnAggregator()
|
97
|
-
|
98
|
-
|
97
|
+
? `${nonColoperator.getLabel()} of ${columnState.columnName}`
|
98
|
+
: columnState.columnName;
|
99
99
|
if (operator) {
|
100
100
|
const opState = new QueryBuilderTDS_WindowAggreationOperatorState(
|
101
101
|
tdsState.windowState,
|
@@ -1189,8 +1189,8 @@ const QueryBuilderWindowColumnEditor = observer(
|
|
1189
1189
|
isDuplicatedColumnName
|
1190
1190
|
? 'Duplicated column'
|
1191
1191
|
: isInvalidColumnName
|
1192
|
-
|
1193
|
-
|
1192
|
+
? 'Invalid column order'
|
1193
|
+
: undefined
|
1194
1194
|
}
|
1195
1195
|
/>
|
1196
1196
|
</div>
|
@@ -305,8 +305,8 @@ export const buildFilterTreeWithExists = (
|
|
305
305
|
targetDropNode instanceof QueryBuilderFilterTreeConditionNodeData
|
306
306
|
? filterState.newGroupConditionFromNode(targetDropNode)
|
307
307
|
: targetDropNode instanceof QueryBuilderFilterTreeGroupNodeData
|
308
|
-
|
309
|
-
|
308
|
+
? targetDropNode
|
309
|
+
: filterState.getParentNode(targetDropNode);
|
310
310
|
existsLambdaPropertyChains = existsLambdaPropertyChains.slice(
|
311
311
|
parentPropertyChainIndex + 1,
|
312
312
|
);
|
@@ -319,8 +319,8 @@ export const buildFilterTreeWithExists = (
|
|
319
319
|
targetDropNode instanceof QueryBuilderFilterTreeConditionNodeData
|
320
320
|
? filterState.newGroupConditionFromNode(targetDropNode)
|
321
321
|
: targetDropNode instanceof QueryBuilderFilterTreeGroupNodeData
|
322
|
-
|
323
|
-
|
322
|
+
? targetDropNode
|
323
|
+
: filterState.getParentNode(targetDropNode);
|
324
324
|
}
|
325
325
|
}
|
326
326
|
}
|
@@ -1092,8 +1092,8 @@ const QueryBuilderFilterTreeNodeContainer = observer(
|
|
1092
1092
|
node instanceof QueryBuilderFilterTreeGroupNodeData
|
1093
1093
|
? QUERY_BUILDER_FILTER_DND_TYPE.GROUP_CONDITION
|
1094
1094
|
: node instanceof QueryBuilderFilterTreeConditionNodeData
|
1095
|
-
|
1096
|
-
|
1095
|
+
? QUERY_BUILDER_FILTER_DND_TYPE.CONDITION
|
1096
|
+
: QUERY_BUILDER_FILTER_DND_TYPE.BLANK_CONDITION,
|
1097
1097
|
item: () => ({ node }),
|
1098
1098
|
end: (): void => filterState.setRearrangingConditions(false),
|
1099
1099
|
canDrag: () =>
|
@@ -383,8 +383,8 @@ const filterByOrOutValue = (
|
|
383
383
|
_cellData.value === null
|
384
384
|
? [postFilterEmptyOperator, postFilterNotEmptyOperator]
|
385
385
|
: isFilterBy
|
386
|
-
|
387
|
-
|
386
|
+
? [postFilterEqualOperator, postFilterInOperator]
|
387
|
+
: [postFilterNotEqualOperator, postFilterNotInOperator],
|
388
388
|
_cellData.columnName,
|
389
389
|
tdsState.postFilterState,
|
390
390
|
tdsColState,
|
@@ -277,7 +277,7 @@ const QueryResultCellRenderer = observer(
|
|
277
277
|
?.data as QueryBuilderTDSRowDataType,
|
278
278
|
).forEach((entry) => {
|
279
279
|
if (entry[0] !== 'rowNumber') {
|
280
|
-
valueArr.push(entry[1]
|
280
|
+
valueArr.push(entry[1]);
|
281
281
|
}
|
282
282
|
});
|
283
283
|
return valueArr.join(',');
|
@@ -541,14 +541,14 @@ const buildCustomDateOptionDurationValue = (
|
|
541
541
|
return durationParam instanceof PrimitiveInstanceValue
|
542
542
|
? (durationParam.values[0] as number)
|
543
543
|
: durationParam instanceof SimpleFunctionExpression &&
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
544
|
+
matchFunctionName(
|
545
|
+
durationParam.functionName,
|
546
|
+
QUERY_BUILDER_SUPPORTED_FUNCTIONS.MINUS,
|
547
|
+
)
|
548
|
+
? durationParam.parametersValues[0] instanceof PrimitiveInstanceValue
|
549
|
+
? (durationParam.parametersValues[0].values[0] as number)
|
550
|
+
: 0
|
551
|
+
: 0;
|
552
552
|
};
|
553
553
|
|
554
554
|
/**
|
@@ -713,9 +713,10 @@ export const buildDatePickerOption = (
|
|
713
713
|
);
|
714
714
|
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.PREVIOUS_DAY_OF_WEEK:
|
715
715
|
return new CustomPreviousDayOfWeekOption(
|
716
|
-
`Previous ${
|
717
|
-
valueSpecification.parametersValues[0] as EnumValueInstanceValue
|
718
|
-
|
716
|
+
`Previous ${
|
717
|
+
(valueSpecification.parametersValues[0] as EnumValueInstanceValue)
|
718
|
+
.values[0]?.value.name
|
719
|
+
}`,
|
719
720
|
(valueSpecification.parametersValues[0] as EnumValueInstanceValue)
|
720
721
|
.values[0]?.value.name as CUSTOM_DATE_DAY_OF_WEEK,
|
721
722
|
);
|
@@ -107,9 +107,8 @@ export const getPropertyChainName = (
|
|
107
107
|
processedChunks[processedChunks.length - 1],
|
108
108
|
);
|
109
109
|
if (latestProcessedChunk.startsWith(TYPE_CAST_TOKEN)) {
|
110
|
-
processedChunks[
|
111
|
-
|
112
|
-
] = `${latestProcessedChunk}${chunk}`;
|
110
|
+
processedChunks[processedChunks.length - 1] =
|
111
|
+
`${latestProcessedChunk}${chunk}`;
|
113
112
|
} else {
|
114
113
|
processedChunks.push(chunk);
|
115
114
|
}
|
@@ -586,8 +586,8 @@ export const getQueryBuilderSubTypeNodeData = (
|
|
586
586
|
parentNode instanceof QueryBuilderExplorerTreePropertyNodeData
|
587
587
|
? parentNode.property.multiplicity
|
588
588
|
: parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
589
|
-
|
590
|
-
|
589
|
+
? parentNode.multiplicity
|
590
|
+
: Multiplicity.ONE,
|
591
591
|
);
|
592
592
|
subTypeNode.childrenIds =
|
593
593
|
generateExplorerTreeClassNodeChildrenIDs(subTypeNode);
|
package/tsconfig.json
CHANGED
@@ -24,7 +24,23 @@
|
|
24
24
|
"outDir": "./lib",
|
25
25
|
"tsBuildInfoFile": "./build/prod.tsbuildinfo",
|
26
26
|
"rootDir": "./src",
|
27
|
-
"jsx": "react-jsx"
|
27
|
+
"jsx": "react-jsx",
|
28
|
+
"moduleResolution": "nodenext",
|
29
|
+
"moduleDetection": "force",
|
30
|
+
"isolatedModules": true,
|
31
|
+
"esModuleInterop": true,
|
32
|
+
"allowSyntheticDefaultImports": true,
|
33
|
+
"preserveConstEnums": true,
|
34
|
+
"incremental": true,
|
35
|
+
"useDefineForClassFields": true,
|
36
|
+
"noImplicitAny": true,
|
37
|
+
"noImplicitThis": true,
|
38
|
+
"strictNullChecks": true,
|
39
|
+
"strictFunctionTypes": true,
|
40
|
+
"strictBindCallApply": true,
|
41
|
+
"strictPropertyInitialization": true,
|
42
|
+
"alwaysStrict": true,
|
43
|
+
"useUnknownInCatchVariables": true
|
28
44
|
},
|
29
45
|
"references": [
|
30
46
|
{
|
package/tsconfig.package.json
CHANGED
@@ -23,7 +23,23 @@
|
|
23
23
|
"forceConsistentCasingInFileNames": true,
|
24
24
|
"outDir": "./lib",
|
25
25
|
"tsBuildInfoFile": "./build/package.tsbuildinfo",
|
26
|
-
"rootDir": "./"
|
26
|
+
"rootDir": "./",
|
27
|
+
"moduleResolution": "nodenext",
|
28
|
+
"moduleDetection": "force",
|
29
|
+
"isolatedModules": true,
|
30
|
+
"esModuleInterop": true,
|
31
|
+
"allowSyntheticDefaultImports": true,
|
32
|
+
"preserveConstEnums": true,
|
33
|
+
"incremental": true,
|
34
|
+
"useDefineForClassFields": true,
|
35
|
+
"noImplicitAny": true,
|
36
|
+
"noImplicitThis": true,
|
37
|
+
"strictNullChecks": true,
|
38
|
+
"strictFunctionTypes": true,
|
39
|
+
"strictBindCallApply": true,
|
40
|
+
"strictPropertyInitialization": true,
|
41
|
+
"alwaysStrict": true,
|
42
|
+
"useUnknownInCatchVariables": true
|
27
43
|
},
|
28
44
|
"files": [
|
29
45
|
"./package.json"
|