@infomaximum/widget-sdk 7.0.0-31 → 7.0.0-32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [7.0.0-32](https://github.com/Infomaximum/widget-sdk/compare/v7.0.0-31...v7.0.0-32) (2026-08-10)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **BI-15425:** remove INTEGER to Float64 substitution in range filters ([9fd2c0e](https://github.com/Infomaximum/widget-sdk/commit/9fd2c0e6b41e7f9f859fb6136ceb712afe60b167))
11
+
5
12
  ## [7.0.0-31](https://github.com/Infomaximum/widget-sdk/compare/v7.0.0-30...v7.0.0-31) (2026-06-22)
6
13
 
7
14
 
package/dist/index.esm.js CHANGED
@@ -3271,13 +3271,11 @@ var mapFormulaFilterToCalculatorInput = function (filterValue) {
3271
3271
  dbDataType = dbBaseDataType;
3272
3272
  formula = applyIndexToArrayFormula(formula, sliceIndex);
3273
3273
  }
3274
- if (filteringMethod === formulaFilterMethods.IN_RANGE ||
3275
- filteringMethod === formulaFilterMethods.NOT_IN_RANGE) {
3276
- var simpleType = parseClickHouseType(dbDataType).simpleType;
3277
- if (simpleType === ESimpleDataType.INTEGER) {
3278
- dbDataType = EClickHouseBaseTypes.Float64;
3279
- }
3280
- }
3274
+ // Подмена INTEGER → Float64 для IN_RANGE/NOT_IN_RANGE отсюда убрана (BI-15425).
3275
+ // Правило выбора типа каста теперь единое и живёт в потребителе —
3276
+ // Calculator.prepareFilters (packages/bi-data/src/calculators/calculator.ts).
3277
+ // Подмена здесь искажала ICalculatorFilter.dbDataType для всех потребителей
3278
+ // маппера и тихо отключала точный каст UInt128 из BI-14465 в режиме диапазона.
3281
3279
  return {
3282
3280
  formula: formula,
3283
3281
  filteringMethod: filteringMethod,
package/dist/index.js CHANGED
@@ -3272,13 +3272,11 @@ var mapFormulaFilterToCalculatorInput = function (filterValue) {
3272
3272
  dbDataType = dbBaseDataType;
3273
3273
  formula = applyIndexToArrayFormula(formula, sliceIndex);
3274
3274
  }
3275
- if (filteringMethod === formulaFilterMethods.IN_RANGE ||
3276
- filteringMethod === formulaFilterMethods.NOT_IN_RANGE) {
3277
- var simpleType = parseClickHouseType(dbDataType).simpleType;
3278
- if (simpleType === ESimpleDataType.INTEGER) {
3279
- dbDataType = EClickHouseBaseTypes.Float64;
3280
- }
3281
- }
3275
+ // Подмена INTEGER → Float64 для IN_RANGE/NOT_IN_RANGE отсюда убрана (BI-15425).
3276
+ // Правило выбора типа каста теперь единое и живёт в потребителе —
3277
+ // Calculator.prepareFilters (packages/bi-data/src/calculators/calculator.ts).
3278
+ // Подмена здесь искажала ICalculatorFilter.dbDataType для всех потребителей
3279
+ // маппера и тихо отключала точный каст UInt128 из BI-14465 в режиме диапазона.
3282
3280
  return {
3283
3281
  formula: formula,
3284
3282
  filteringMethod: filteringMethod,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "7.0.0-31",
3
+ "version": "7.0.0-32",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",