@infomaximum/widget-sdk 5.27.0 → 5.28.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 +9 -2
- 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.28.0](https://github.com/Infomaximum/widget-sdk/compare/v5.27.0...v5.28.0) (2025-07-07)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* для действия запуска скрипта добавлен blockingCondition. удалено поле actionButtons из TActionOpenIn ([920a76e](https://github.com/Infomaximum/widget-sdk/commit/920a76e8d695f73876b1d6a96f33820aad4b17c4))
|
|
11
|
+
|
|
5
12
|
## [5.27.0](https://github.com/Infomaximum/widget-sdk/compare/v5.26.1...v5.27.0) (2025-07-04)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1062,6 +1062,15 @@ interface IActionRunScript extends IActionCommon {
|
|
|
1062
1062
|
parameters: TActionOnClickParameter[];
|
|
1063
1063
|
scriptKey: string;
|
|
1064
1064
|
autoUpdate: EAutoUpdateMode;
|
|
1065
|
+
hideInactiveButton?: boolean;
|
|
1066
|
+
blockingCondition?: {
|
|
1067
|
+
mode: EBlockingConditionMode.FORMULA;
|
|
1068
|
+
formula: string;
|
|
1069
|
+
} | {
|
|
1070
|
+
mode: EBlockingConditionMode.VARIABLE;
|
|
1071
|
+
variableName: string;
|
|
1072
|
+
variableValue: string;
|
|
1073
|
+
};
|
|
1065
1074
|
}
|
|
1066
1075
|
interface IActionUpdateVariable extends IActionCommon {
|
|
1067
1076
|
type: EActionTypes.UPDATE_VARIABLE;
|
|
@@ -1070,7 +1079,6 @@ interface IActionUpdateVariable extends IActionCommon {
|
|
|
1070
1079
|
type TActionOpenIn = {
|
|
1071
1080
|
openIn: EViewOpenIn.DRAWER_WINDOW;
|
|
1072
1081
|
alignment: EDrawerPlacement;
|
|
1073
|
-
actionButtons: boolean;
|
|
1074
1082
|
} | {
|
|
1075
1083
|
openIn: EViewOpenIn.PLACEHOLDER;
|
|
1076
1084
|
placeholderName: string;
|
|
@@ -1080,7 +1088,6 @@ type TActionOpenIn = {
|
|
|
1080
1088
|
openIn: EViewOpenIn.NEW_WINDOW;
|
|
1081
1089
|
} | {
|
|
1082
1090
|
openIn: EViewOpenIn.MODAL_WINDOW;
|
|
1083
|
-
actionButtons: boolean;
|
|
1084
1091
|
positionByClick?: boolean;
|
|
1085
1092
|
}
|
|
1086
1093
|
/** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - false */
|