@infomaximum/widget-sdk 5.12.2 → 5.12.4-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 +14 -0
- package/dist/index.d.ts +9 -4
- package/package.json +4 -3
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
|
+
### [5.12.4-0](https://github.com/Infomaximum/widget-sdk/compare/v5.12.3...v5.12.4-0) (2025-05-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* поддержан null для значения переменных ([6d8875b](https://github.com/Infomaximum/widget-sdk/commit/6d8875b6bbd07271c219a6467bd95d90f83babab))
|
|
11
|
+
|
|
12
|
+
### [5.12.3](https://github.com/Infomaximum/widget-sdk/compare/v5.12.2...v5.12.3) (2025-05-19)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* добавлено поле dbDataType в настройки способов ввода ([e165669](https://github.com/Infomaximum/widget-sdk/commit/e1656699ac6df13f41701e978ea4c6ec0f1feddd))
|
|
18
|
+
|
|
5
19
|
### [5.12.2](https://github.com/Infomaximum/widget-sdk/compare/v5.12.1...v5.12.2) (2025-04-22)
|
|
6
20
|
|
|
7
21
|
|
package/dist/index.d.ts
CHANGED
|
@@ -648,7 +648,7 @@ interface IWidgetStaticVariable extends IBaseWidgetVariable {
|
|
|
648
648
|
/** Тип переменной */
|
|
649
649
|
type: EIndicatorType.STATIC;
|
|
650
650
|
/** Значение */
|
|
651
|
-
value: string;
|
|
651
|
+
value: string | null;
|
|
652
652
|
/** Обобщенный тип данных */
|
|
653
653
|
simpleInputType: ESimpleInputType;
|
|
654
654
|
}
|
|
@@ -660,7 +660,7 @@ interface IWidgetStaticListVariable extends IBaseWidgetVariable {
|
|
|
660
660
|
/** Тип переменной */
|
|
661
661
|
type: EIndicatorType.STATIC_LIST;
|
|
662
662
|
/** Значение */
|
|
663
|
-
value: string | string[];
|
|
663
|
+
value: string | string[] | null;
|
|
664
664
|
/** Элементы статического списка */
|
|
665
665
|
/** @deprecated поле будет удалено, необходимо использовать labeledOptions */
|
|
666
666
|
options: string[];
|
|
@@ -673,7 +673,7 @@ interface IWidgetDynamicListVariable extends IBaseWidgetVariable {
|
|
|
673
673
|
/** Тип переменной */
|
|
674
674
|
type: EIndicatorType.DYNAMIC_LIST;
|
|
675
675
|
/** Значение */
|
|
676
|
-
value: string | string[];
|
|
676
|
+
value: string | (string | null)[] | null;
|
|
677
677
|
/** Формула для отображения списка */
|
|
678
678
|
listFormula: TNullable<string>;
|
|
679
679
|
/** Тип данных */
|
|
@@ -689,7 +689,7 @@ interface IWidgetColumnListVariable extends IBaseWidgetVariable {
|
|
|
689
689
|
/** Имя таблицы */
|
|
690
690
|
tableName: string;
|
|
691
691
|
/** Значение (имя колонки) */
|
|
692
|
-
value: string;
|
|
692
|
+
value: string | null;
|
|
693
693
|
}
|
|
694
694
|
type TWidgetVariable = IWidgetStaticVariable | IWidgetStaticListVariable | IWidgetDynamicListVariable | IWidgetColumnListVariable;
|
|
695
695
|
declare function isDimensionsHierarchy(indicator: IWidgetColumnIndicator): indicator is IWidgetDimensionHierarchy;
|
|
@@ -948,6 +948,7 @@ interface IParameterFromColumn {
|
|
|
948
948
|
inputMethod: EWidgetActionInputMethod.COLUMN;
|
|
949
949
|
tableName: string;
|
|
950
950
|
columnName: string;
|
|
951
|
+
dbDataType?: string;
|
|
951
952
|
}
|
|
952
953
|
interface IParameterFromVariable {
|
|
953
954
|
inputMethod: EWidgetActionInputMethod.VARIABLE;
|
|
@@ -956,10 +957,12 @@ interface IParameterFromVariable {
|
|
|
956
957
|
interface IParameterFromFormula {
|
|
957
958
|
inputMethod: EWidgetActionInputMethod.FORMULA;
|
|
958
959
|
formula: string;
|
|
960
|
+
dbDataType?: string;
|
|
959
961
|
}
|
|
960
962
|
interface IParameterFromAggregation {
|
|
961
963
|
inputMethod: EWidgetActionInputMethod.AGGREGATION;
|
|
962
964
|
formula: string;
|
|
965
|
+
dbDataType?: string;
|
|
963
966
|
}
|
|
964
967
|
interface IParameterFromEvent {
|
|
965
968
|
inputMethod: EWidgetActionInputMethod.EVENT;
|
|
@@ -974,6 +977,7 @@ interface IParameterFromManualInput {
|
|
|
974
977
|
inputMethod: EWidgetActionInputMethod.MANUALLY;
|
|
975
978
|
description: string;
|
|
976
979
|
defaultValue?: string;
|
|
980
|
+
dbDataType?: string;
|
|
977
981
|
filterByRows?: boolean;
|
|
978
982
|
}
|
|
979
983
|
interface IParameterFromStaticList {
|
|
@@ -985,6 +989,7 @@ interface IParameterFromDynamicList {
|
|
|
985
989
|
inputMethod: EWidgetActionInputMethod.DYNAMIC_LIST;
|
|
986
990
|
options: string;
|
|
987
991
|
defaultValue: string;
|
|
992
|
+
dbDataType?: string;
|
|
988
993
|
displayOptions: string;
|
|
989
994
|
filters: TExtendedFormulaFilterValue[];
|
|
990
995
|
filterByRows?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infomaximum/widget-sdk",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.4-0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "rollup -c",
|
|
15
15
|
"lint": "tsc --noEmit",
|
|
16
|
-
"release": "
|
|
16
|
+
"release": "standard-version",
|
|
17
|
+
"release:rc": "standard-version -p",
|
|
17
18
|
"format": "prettier --find-config-path --write 'src/**/*'",
|
|
18
|
-
"prepublishOnly": "npm run build",
|
|
19
|
+
"prepublishOnly": "npm run lint && npm run build",
|
|
19
20
|
"test": "jest"
|
|
20
21
|
},
|
|
21
22
|
"dependencies": {
|