@infomaximum/widget-sdk 5.17.0 → 5.19.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 +18 -0
- package/dist/index.d.ts +9 -0
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
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.19.0](https://github.com/Infomaximum/widget-sdk/compare/v5.18.0...v5.19.0) (2025-05-19)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* добавлено поле dbDataType в настройки способов ввода ([58e9f49](https://github.com/Infomaximum/widget-sdk/commit/58e9f4994bf31c99eefe077935deb9482e68aa22))
|
|
11
|
+
|
|
12
|
+
## [5.18.0](https://github.com/Infomaximum/widget-sdk/compare/v5.18.0-0...v5.18.0) (2025-04-30)
|
|
13
|
+
|
|
14
|
+
## [5.18.0-0](https://github.com/Infomaximum/widget-sdk/compare/v5.17.0...v5.18.0-0) (2025-04-30)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **InputNumberControl:** в props добавлена настройка layout для ориентации поля ([5545657](https://github.com/Infomaximum/widget-sdk/commit/554565767a432ef2748533c2d0b4dccb1a98c0ba))
|
|
20
|
+
* IParameterFromDynamicList расширен флагом enableCustomValue ([4ed6d23](https://github.com/Infomaximum/widget-sdk/commit/4ed6d234828c65350e24e8fee480381462304522))
|
|
21
|
+
* для переменной динамический список добавлен флаг considerFilters ([bf55aad](https://github.com/Infomaximum/widget-sdk/commit/bf55aaddc3bd2b72f5440d3071e2f30c874b05eb))
|
|
22
|
+
|
|
5
23
|
## [5.17.0](https://github.com/Infomaximum/widget-sdk/compare/v5.16.0...v5.17.0) (2025-04-23)
|
|
6
24
|
|
|
7
25
|
|
package/dist/index.d.ts
CHANGED
|
@@ -693,6 +693,8 @@ interface IWidgetDynamicListVariable extends IBaseWidgetVariable {
|
|
|
693
693
|
multipleChoice: boolean;
|
|
694
694
|
/** Фильтры */
|
|
695
695
|
filters: TExtendedFormulaFilterValue[];
|
|
696
|
+
/** Флаг применения фильтров отчета для отображаемого списка */
|
|
697
|
+
considerFilters: boolean;
|
|
696
698
|
}
|
|
697
699
|
interface IWidgetColumnListVariable extends IBaseWidgetVariable {
|
|
698
700
|
/** Тип переменной */
|
|
@@ -966,6 +968,7 @@ interface IParameterFromColumn {
|
|
|
966
968
|
inputMethod: EWidgetActionInputMethod.COLUMN;
|
|
967
969
|
tableName: string;
|
|
968
970
|
columnName: string;
|
|
971
|
+
dbDataType?: string;
|
|
969
972
|
}
|
|
970
973
|
interface IParameterFromVariable {
|
|
971
974
|
inputMethod: EWidgetActionInputMethod.VARIABLE;
|
|
@@ -975,11 +978,13 @@ interface IParameterFromFormula {
|
|
|
975
978
|
inputMethod: EWidgetActionInputMethod.FORMULA;
|
|
976
979
|
formula: string;
|
|
977
980
|
considerFilters: boolean;
|
|
981
|
+
dbDataType?: string;
|
|
978
982
|
}
|
|
979
983
|
interface IParameterFromAggregation {
|
|
980
984
|
inputMethod: EWidgetActionInputMethod.AGGREGATION;
|
|
981
985
|
formula: string;
|
|
982
986
|
considerFilters: boolean;
|
|
987
|
+
dbDataType?: string;
|
|
983
988
|
}
|
|
984
989
|
interface IParameterFromEvent {
|
|
985
990
|
inputMethod: EWidgetActionInputMethod.EVENT;
|
|
@@ -994,6 +999,7 @@ interface IParameterFromManualInput {
|
|
|
994
999
|
inputMethod: EWidgetActionInputMethod.MANUALLY;
|
|
995
1000
|
description: string;
|
|
996
1001
|
defaultValue?: string;
|
|
1002
|
+
dbDataType?: string;
|
|
997
1003
|
filterByRows?: boolean;
|
|
998
1004
|
}
|
|
999
1005
|
interface IParameterFromStaticList {
|
|
@@ -1005,10 +1011,12 @@ interface IParameterFromDynamicList {
|
|
|
1005
1011
|
inputMethod: EWidgetActionInputMethod.DYNAMIC_LIST;
|
|
1006
1012
|
options: string;
|
|
1007
1013
|
defaultValue: string;
|
|
1014
|
+
dbDataType?: string;
|
|
1008
1015
|
displayOptions: string;
|
|
1009
1016
|
filters: TExtendedFormulaFilterValue[];
|
|
1010
1017
|
filterByRows?: boolean;
|
|
1011
1018
|
considerFilters: boolean;
|
|
1019
|
+
enableCustomValue?: boolean;
|
|
1012
1020
|
}
|
|
1013
1021
|
interface IParameterFromDataModelBase {
|
|
1014
1022
|
inputMethod: EWidgetActionInputMethod.DATA_MODEL;
|
|
@@ -1517,6 +1525,7 @@ interface IInputNumberControl {
|
|
|
1517
1525
|
unitLabel?: string;
|
|
1518
1526
|
isClearable?: boolean;
|
|
1519
1527
|
disabled?: boolean;
|
|
1528
|
+
layout?: "vertical" | "horizontal";
|
|
1520
1529
|
};
|
|
1521
1530
|
}
|
|
1522
1531
|
interface IInputRangeControl {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infomaximum/widget-sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.19.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": {
|