@infomaximum/widget-sdk 5.24.1-0 → 5.25.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 CHANGED
@@ -2,12 +2,19 @@
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.24.1-0](https://github.com/Infomaximum/widget-sdk/compare/v5.24.0...v5.24.1-0) (2025-06-25)
5
+ ## [5.25.0](https://github.com/Infomaximum/widget-sdk/compare/v5.24.1...v5.25.0) (2025-06-19)
6
+
7
+
8
+ ### Features
9
+
10
+ * ESimpleInputType расширен логическим типом ([59f9d63](https://github.com/Infomaximum/widget-sdk/commit/59f9d6372e5fc1dc38d92d6032e6d5d64699f328))
11
+
12
+ ### [5.24.1](https://github.com/Infomaximum/widget-sdk/compare/v5.24.0...v5.24.1) (2025-06-17)
6
13
 
7
14
 
8
15
  ### Bug Fixes
9
16
 
10
- * изменено именование поля actinButtons > actionButtons ([ad99479](https://github.com/Infomaximum/widget-sdk/commit/ad99479be23750ca870ffcbb12bfcf105dddc891))
17
+ * entry может не быть ([1a3ea89](https://github.com/Infomaximum/widget-sdk/commit/1a3ea894ab1c62e7e79c14ea334326aee481eeac))
11
18
 
12
19
  ## [5.24.0](https://github.com/Infomaximum/widget-sdk/compare/v5.23.0...v5.24.0) (2025-06-06)
13
20
 
package/dist/index.d.ts CHANGED
@@ -655,7 +655,9 @@ declare enum ESimpleInputType {
655
655
  /** Дата (точность Date) */
656
656
  DATE = "DATE",
657
657
  /** Дата и время (точность DateTime64) */
658
- DATE_AND_TIME = "DATETIME"
658
+ DATE_AND_TIME = "DATETIME",
659
+ /** Логический тип */
660
+ BOOLEAN = "BOOLEAN"
659
661
  }
660
662
  interface IWidgetStaticVariable extends IBaseWidgetVariable {
661
663
  /** Тип переменной */
@@ -1066,7 +1068,7 @@ interface IActionUpdateVariable extends IActionCommon {
1066
1068
  type TActionOpenIn = {
1067
1069
  openIn: EViewOpenIn.DRAWER_WINDOW;
1068
1070
  alignment: EDrawerPlacement;
1069
- actionButtons: boolean;
1071
+ actinButtons: boolean;
1070
1072
  } | {
1071
1073
  openIn: EViewOpenIn.PLACEHOLDER;
1072
1074
  placeholderName: string;
@@ -1076,7 +1078,7 @@ type TActionOpenIn = {
1076
1078
  openIn: EViewOpenIn.NEW_WINDOW;
1077
1079
  } | {
1078
1080
  openIn: EViewOpenIn.MODAL_WINDOW;
1079
- actionButtons: boolean;
1081
+ actinButtons: boolean;
1080
1082
  positionByClick?: boolean;
1081
1083
  }
1082
1084
  /** @deprecated необходимо использовать EViewOpenIn.WINDOW с флагом newWindow - false */
@@ -2559,7 +2561,7 @@ interface IWidgetManifest {
2559
2561
  /** Мажорная версия widget-sdk, использованная при разработке виджета */
2560
2562
  sdk_version?: number;
2561
2563
  /** Путь до js-файла, который является входной точкой виджета */
2562
- entry: string;
2564
+ entry?: string;
2563
2565
  /** Путь до иконки(svg или png) */
2564
2566
  icon?: string;
2565
2567
  /** Находится ли виджет на beta-стадии разработки */
package/dist/index.esm.js CHANGED
@@ -717,6 +717,8 @@ var ESimpleInputType;
717
717
  ESimpleInputType["DATE"] = "DATE";
718
718
  /** Дата и время (точность DateTime64) */
719
719
  ESimpleInputType["DATE_AND_TIME"] = "DATETIME";
720
+ /** Логический тип */
721
+ ESimpleInputType["BOOLEAN"] = "BOOLEAN";
720
722
  })(ESimpleInputType || (ESimpleInputType = {}));
721
723
  function isDimensionsHierarchy(indicator) {
722
724
  return "hierarchyDimensions" in indicator;
package/dist/index.js CHANGED
@@ -718,6 +718,8 @@ exports.ESimpleInputType = void 0;
718
718
  ESimpleInputType["DATE"] = "DATE";
719
719
  /** Дата и время (точность DateTime64) */
720
720
  ESimpleInputType["DATE_AND_TIME"] = "DATETIME";
721
+ /** Логический тип */
722
+ ESimpleInputType["BOOLEAN"] = "BOOLEAN";
721
723
  })(exports.ESimpleInputType || (exports.ESimpleInputType = {}));
722
724
  function isDimensionsHierarchy(indicator) {
723
725
  return "hierarchyDimensions" in indicator;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "5.24.1-0",
3
+ "version": "5.25.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",