@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.
Files changed (186) hide show
  1. package/lib/components/QueryBuilder.js.map +1 -1
  2. package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
  3. package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
  4. package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
  5. package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
  6. package/lib/components/QueryBuilderSideBar.d.ts +2 -2
  7. package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
  8. package/lib/components/QueryBuilderSideBar.js.map +1 -1
  9. package/lib/components/QueryLoader.js.map +1 -1
  10. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
  11. package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
  12. package/lib/components/data-access/DataAccessOverview.js.map +1 -1
  13. package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
  14. package/lib/components/execution-plan/DataTypeResultTypeViewer.js.map +1 -1
  15. package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
  16. package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.d.ts.map +1 -1
  17. package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +1 -2
  18. package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
  19. package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
  20. package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
  21. package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
  22. package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
  23. package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
  24. package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -1
  25. package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
  26. package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
  27. package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
  28. package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
  29. package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
  30. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
  31. package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
  32. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
  33. package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
  34. package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
  35. package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
  36. package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -1
  37. package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
  38. package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
  39. package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
  40. package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
  41. package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
  42. package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
  43. package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
  44. package/lib/components/shared/BasicValueSpecificationEditor.d.ts +0 -1
  45. package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
  46. package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
  47. package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
  48. package/lib/components/shared/CustomDatePicker.js +2 -1
  49. package/lib/components/shared/CustomDatePicker.js.map +1 -1
  50. package/lib/components/shared/LambdaEditor.js +1 -1
  51. package/lib/components/shared/LambdaEditor.js.map +1 -1
  52. package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
  53. package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
  54. package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
  55. package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
  56. package/lib/components/watermark/QueryBuilderWatermark.js.map +1 -1
  57. package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
  58. package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
  59. package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
  60. package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
  61. package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
  62. package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
  63. package/lib/index.css +1 -1
  64. package/lib/package.json +16 -16
  65. package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
  66. package/lib/stores/QueryBuilderChangeHistoryState.js.map +1 -1
  67. package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
  68. package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -1
  69. package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
  70. package/lib/stores/QueryBuilderPropertyEditorState.js +2 -1
  71. package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
  72. package/lib/stores/QueryBuilderResultState.js.map +1 -1
  73. package/lib/stores/QueryBuilderState.js.map +1 -1
  74. package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
  75. package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
  76. package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
  77. package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
  78. package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
  79. package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
  80. package/lib/stores/QueryLoaderState.js.map +1 -1
  81. package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
  82. package/lib/stores/data-access/DataAccessState.js.map +1 -1
  83. package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
  84. package/lib/stores/execution-plan/ExecutionPlanState.js.map +1 -1
  85. package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
  86. package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
  87. package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -1
  88. package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
  89. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
  90. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
  91. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
  92. package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
  93. package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
  94. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
  95. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +1 -0
  96. package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
  97. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -1
  98. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -1
  99. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
  100. package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
  101. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
  102. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
  103. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
  104. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
  105. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
  106. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
  107. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
  108. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
  109. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
  110. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
  111. package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
  112. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js.map +1 -1
  113. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
  114. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
  115. package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
  116. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
  117. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
  118. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
  119. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
  120. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
  121. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
  122. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
  123. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
  124. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
  125. package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
  126. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
  127. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
  128. package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
  129. package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.js.map +1 -1
  130. package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.js.map +1 -1
  131. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
  132. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +1 -1
  133. package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
  134. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js.map +1 -1
  135. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js.map +1 -1
  136. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js.map +1 -1
  137. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js.map +1 -1
  138. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js.map +1 -1
  139. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js.map +1 -1
  140. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js.map +1 -1
  141. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js.map +1 -1
  142. package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js.map +1 -1
  143. package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
  144. package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
  145. package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
  146. package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
  147. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
  148. package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
  149. package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
  150. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
  151. package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
  152. package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
  153. package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
  154. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
  155. package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
  156. package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
  157. package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
  158. package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
  159. package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
  160. package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
  161. package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
  162. package/lib/stores/shared/LambdaEditorState.js.map +1 -1
  163. package/lib/stores/shared/LambdaParameterState.js.map +1 -1
  164. package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
  165. package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
  166. package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -1
  167. package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
  168. package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
  169. package/package.json +24 -24
  170. package/src/components/QueryBuilderConstantExpressionPanel.tsx +5 -5
  171. package/src/components/QueryBuilderParametersPanel.tsx +7 -7
  172. package/src/components/execution-plan/FunctionParametersValidationNodeViewer.tsx +3 -2
  173. package/src/components/explorer/QueryBuilderExplorerPanel.tsx +4 -4
  174. package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +4 -4
  175. package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +2 -2
  176. package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +4 -4
  177. package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +4 -4
  178. package/src/components/filter/QueryBuilderFilterPanel.tsx +6 -6
  179. package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +2 -2
  180. package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +1 -1
  181. package/src/components/shared/CustomDatePicker.tsx +12 -11
  182. package/src/stores/QueryBuilderPropertyEditorState.ts +2 -3
  183. package/src/stores/explorer/QueryBuilderExplorerState.ts +2 -2
  184. package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +1 -0
  185. package/tsconfig.json +17 -1
  186. 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
- ? 'Empty column name'
788
- : undefined
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
- ? 'Empty column name'
815
- : undefined
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
- ? `${nonColoperator.getLabel()} of ${columnState.columnName}`
98
- : columnState.columnName;
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
- ? 'Invalid column order'
1193
- : undefined
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
- ? targetDropNode
309
- : filterState.getParentNode(targetDropNode);
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
- ? targetDropNode
323
- : filterState.getParentNode(targetDropNode);
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
- ? QUERY_BUILDER_FILTER_DND_TYPE.CONDITION
1096
- : QUERY_BUILDER_FILTER_DND_TYPE.BLANK_CONDITION,
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
- ? [postFilterEqualOperator, postFilterInOperator]
387
- : [postFilterNotEqualOperator, postFilterNotInOperator],
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] as QueryBuilderTDSResultCellDataType);
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
- 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;
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
- ).values[0]?.value.name}`,
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
- processedChunks.length - 1
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
- ? parentNode.multiplicity
590
- : Multiplicity.ONE,
589
+ ? parentNode.multiplicity
590
+ : Multiplicity.ONE,
591
591
  );
592
592
  subTypeNode.childrenIds =
593
593
  generateExplorerTreeClassNodeChildrenIDs(subTypeNode);
@@ -149,6 +149,7 @@ export class QueryBuilderTDSState
149
149
  addColumn: action,
150
150
  moveColumn: action,
151
151
  removeAllColumns: action,
152
+ removeColumn: action,
152
153
  replaceColumn: action,
153
154
  initialize: action,
154
155
  initializeWithQuery: action,
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
  {
@@ -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"