@infomaximum/widget-sdk 7.0.0-31 → 7.0.0-33
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 +14 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +6 -7
- package/dist/index.js +6 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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-33](https://github.com/Infomaximum/widget-sdk/compare/v7.0.0-32...v7.0.0-33) (2026-08-12)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **BI-15638:** add apiVersion 20 for dimension aggregation format migration ([d084ba8](https://github.com/Infomaximum/widget-sdk/commit/d084ba80df4b4f35ef1d2ecea08ad24063af6fd8))
|
|
11
|
+
|
|
12
|
+
## [7.0.0-32](https://github.com/Infomaximum/widget-sdk/compare/v7.0.0-31...v7.0.0-32) (2026-08-10)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **BI-15425:** remove INTEGER to Float64 substitution in range filters ([9fd2c0e](https://github.com/Infomaximum/widget-sdk/commit/9fd2c0e6b41e7f9f859fb6136ceb712afe60b167))
|
|
18
|
+
|
|
5
19
|
## [7.0.0-31](https://github.com/Infomaximum/widget-sdk/compare/v7.0.0-30...v7.0.0-31) (2026-06-22)
|
|
6
20
|
|
|
7
21
|
|
package/dist/index.d.ts
CHANGED
|
@@ -28371,13 +28371,13 @@ declare const availableFormatsBySimpleType: {
|
|
|
28371
28371
|
type TVersion = `${number}`;
|
|
28372
28372
|
type TMigrationStruct = Record<string, any>;
|
|
28373
28373
|
/** Массив версий в строгом порядке, по которому последовательно выполняется миграция */
|
|
28374
|
-
declare const apiVersions: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "10.1", "10.2", "10.3", "11", "12", "13", "13.1", "14", "15", "15.1", "15.2", "16", "16.1", "16.2", "17", "18", "19"];
|
|
28374
|
+
declare const apiVersions: readonly ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "10.1", "10.2", "10.3", "11", "12", "13", "13.1", "14", "15", "15.1", "15.2", "16", "16.1", "16.2", "17", "18", "19", "20"];
|
|
28375
28375
|
type TApiVersion = (typeof apiVersions)[number];
|
|
28376
28376
|
/**
|
|
28377
28377
|
* Актуальная версия settings, с которой работает система.
|
|
28378
28378
|
* Используется единая версия для settings виджетов и показателей.
|
|
28379
28379
|
*/
|
|
28380
|
-
declare const apiVersion: "17" | "1" | "19" | "3" | "2" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "10.1" | "10.2" | "11" | "10.3" | "12" | "13" | "14" | "15" | "13.1" | "16" | "18" | "15.1" | "15.2" | "16.1" | "16.2";
|
|
28380
|
+
declare const apiVersion: "17" | "1" | "19" | "3" | "2" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "10.1" | "10.2" | "11" | "10.3" | "12" | "13" | "14" | "15" | "13.1" | "16" | "18" | "15.1" | "15.2" | "20" | "16.1" | "16.2";
|
|
28381
28381
|
interface IWidgetStruct<Settings extends IBaseWidgetSettings = IBaseWidgetSettings> {
|
|
28382
28382
|
key: string;
|
|
28383
28383
|
apiVersion: TApiVersion;
|
package/dist/index.esm.js
CHANGED
|
@@ -32,6 +32,7 @@ var apiVersions = [
|
|
|
32
32
|
"17", // 2508
|
|
33
33
|
"18", // 2601
|
|
34
34
|
"19", // 2602
|
|
35
|
+
"20", // BI-15638
|
|
35
36
|
];
|
|
36
37
|
/**
|
|
37
38
|
* Актуальная версия settings, с которой работает система.
|
|
@@ -3271,13 +3272,11 @@ var mapFormulaFilterToCalculatorInput = function (filterValue) {
|
|
|
3271
3272
|
dbDataType = dbBaseDataType;
|
|
3272
3273
|
formula = applyIndexToArrayFormula(formula, sliceIndex);
|
|
3273
3274
|
}
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
}
|
|
3280
|
-
}
|
|
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 в режиме диапазона.
|
|
3281
3280
|
return {
|
|
3282
3281
|
formula: formula,
|
|
3283
3282
|
filteringMethod: filteringMethod,
|
package/dist/index.js
CHANGED
|
@@ -33,6 +33,7 @@ var apiVersions = [
|
|
|
33
33
|
"17", // 2508
|
|
34
34
|
"18", // 2601
|
|
35
35
|
"19", // 2602
|
|
36
|
+
"20", // BI-15638
|
|
36
37
|
];
|
|
37
38
|
/**
|
|
38
39
|
* Актуальная версия settings, с которой работает система.
|
|
@@ -3272,13 +3273,11 @@ var mapFormulaFilterToCalculatorInput = function (filterValue) {
|
|
|
3272
3273
|
dbDataType = dbBaseDataType;
|
|
3273
3274
|
formula = applyIndexToArrayFormula(formula, sliceIndex);
|
|
3274
3275
|
}
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
}
|
|
3281
|
-
}
|
|
3276
|
+
// Подмена INTEGER → Float64 для IN_RANGE/NOT_IN_RANGE отсюда убрана (BI-15425).
|
|
3277
|
+
// Правило выбора типа каста теперь единое и живёт в потребителе —
|
|
3278
|
+
// Calculator.prepareFilters (packages/bi-data/src/calculators/calculator.ts).
|
|
3279
|
+
// Подмена здесь искажала ICalculatorFilter.dbDataType для всех потребителей
|
|
3280
|
+
// маппера и тихо отключала точный каст UInt128 из BI-14465 в режиме диапазона.
|
|
3282
3281
|
return {
|
|
3283
3282
|
formula: formula,
|
|
3284
3283
|
filteringMethod: filteringMethod,
|