@infomaximum/widget-sdk 5.22.0 → 5.23.0
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 +7 -0
- package/dist/index.d.ts +4 -4
- package/package.json +1 -1
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
|
+
## [5.23.0](https://github.com/Infomaximum/widget-sdk/compare/v5.22.0...v5.23.0) (2025-05-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* поддержан null для значения переменных ([6b2cd53](https://github.com/Infomaximum/widget-sdk/commit/6b2cd53b28b169e4a1e0500ed9e972870aa46c95))
|
|
11
|
+
|
|
5
12
|
## [5.22.0](https://github.com/Infomaximum/widget-sdk/compare/v5.21.0...v5.22.0) (2025-05-28)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.d.ts
CHANGED
|
@@ -661,7 +661,7 @@ interface IWidgetStaticVariable extends IBaseWidgetVariable {
|
|
|
661
661
|
/** Тип переменной */
|
|
662
662
|
type: EIndicatorType.STATIC;
|
|
663
663
|
/** Значение */
|
|
664
|
-
value: string;
|
|
664
|
+
value: string | null;
|
|
665
665
|
/** Обобщенный тип данных */
|
|
666
666
|
simpleInputType: ESimpleInputType;
|
|
667
667
|
}
|
|
@@ -673,7 +673,7 @@ interface IWidgetStaticListVariable extends IBaseWidgetVariable {
|
|
|
673
673
|
/** Тип переменной */
|
|
674
674
|
type: EIndicatorType.STATIC_LIST;
|
|
675
675
|
/** Значение */
|
|
676
|
-
value: string | string[];
|
|
676
|
+
value: string | string[] | null;
|
|
677
677
|
/** Элементы статического списка */
|
|
678
678
|
/** @deprecated поле будет удалено, необходимо использовать labeledOptions */
|
|
679
679
|
options: string[];
|
|
@@ -686,7 +686,7 @@ interface IWidgetDynamicListVariable extends IBaseWidgetVariable {
|
|
|
686
686
|
/** Тип переменной */
|
|
687
687
|
type: EIndicatorType.DYNAMIC_LIST;
|
|
688
688
|
/** Значение */
|
|
689
|
-
value: string | string[];
|
|
689
|
+
value: string | (string | null)[] | null;
|
|
690
690
|
/** Формула для отображения списка */
|
|
691
691
|
listFormula: TNullable<string>;
|
|
692
692
|
/** Тип данных */
|
|
@@ -704,7 +704,7 @@ interface IWidgetColumnListVariable extends IBaseWidgetVariable {
|
|
|
704
704
|
/** Имя таблицы */
|
|
705
705
|
tableName: string;
|
|
706
706
|
/** Значение (имя колонки) */
|
|
707
|
-
value: string;
|
|
707
|
+
value: string | null;
|
|
708
708
|
}
|
|
709
709
|
type TWidgetVariable = IWidgetStaticVariable | IWidgetStaticListVariable | IWidgetDynamicListVariable | IWidgetColumnListVariable;
|
|
710
710
|
declare function isDimensionsHierarchy(indicator: IWidgetColumnIndicator): indicator is IWidgetDimensionHierarchy;
|