@infomaximum/widget-sdk 5.18.0 → 5.19.1-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,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.19.1-0](https://github.com/Infomaximum/widget-sdk/compare/v5.19.0...v5.19.1-0) (2025-05-30)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * поддержан null для значения переменных ([0e18f96](https://github.com/Infomaximum/widget-sdk/commit/0e18f9630a5e508b71678da994bd0a46ebc7215c))
11
+
12
+ ## [5.19.0](https://github.com/Infomaximum/widget-sdk/compare/v5.18.0...v5.19.0) (2025-05-19)
13
+
14
+
15
+ ### Features
16
+
17
+ * добавлено поле dbDataType в настройки способов ввода ([58e9f49](https://github.com/Infomaximum/widget-sdk/commit/58e9f4994bf31c99eefe077935deb9482e68aa22))
18
+
5
19
  ## [5.18.0](https://github.com/Infomaximum/widget-sdk/compare/v5.18.0-0...v5.18.0) (2025-04-30)
6
20
 
7
21
  ## [5.18.0-0](https://github.com/Infomaximum/widget-sdk/compare/v5.17.0...v5.18.0-0) (2025-04-30)
package/dist/index.d.ts CHANGED
@@ -659,7 +659,7 @@ interface IWidgetStaticVariable extends IBaseWidgetVariable {
659
659
  /** Тип переменной */
660
660
  type: EIndicatorType.STATIC;
661
661
  /** Значение */
662
- value: string;
662
+ value: string | null;
663
663
  /** Обобщенный тип данных */
664
664
  simpleInputType: ESimpleInputType;
665
665
  }
@@ -671,7 +671,7 @@ interface IWidgetStaticListVariable extends IBaseWidgetVariable {
671
671
  /** Тип переменной */
672
672
  type: EIndicatorType.STATIC_LIST;
673
673
  /** Значение */
674
- value: string | string[];
674
+ value: string | string[] | null;
675
675
  /** Элементы статического списка */
676
676
  /** @deprecated поле будет удалено, необходимо использовать labeledOptions */
677
677
  options: string[];
@@ -684,7 +684,7 @@ interface IWidgetDynamicListVariable extends IBaseWidgetVariable {
684
684
  /** Тип переменной */
685
685
  type: EIndicatorType.DYNAMIC_LIST;
686
686
  /** Значение */
687
- value: string | string[];
687
+ value: string | (string | null)[] | null;
688
688
  /** Формула для отображения списка */
689
689
  listFormula: TNullable<string>;
690
690
  /** Тип данных */
@@ -702,7 +702,7 @@ interface IWidgetColumnListVariable extends IBaseWidgetVariable {
702
702
  /** Имя таблицы */
703
703
  tableName: string;
704
704
  /** Значение (имя колонки) */
705
- value: string;
705
+ value: string | null;
706
706
  }
707
707
  type TWidgetVariable = IWidgetStaticVariable | IWidgetStaticListVariable | IWidgetDynamicListVariable | IWidgetColumnListVariable;
708
708
  declare function isDimensionsHierarchy(indicator: IWidgetColumnIndicator): indicator is IWidgetDimensionHierarchy;
@@ -968,6 +968,7 @@ interface IParameterFromColumn {
968
968
  inputMethod: EWidgetActionInputMethod.COLUMN;
969
969
  tableName: string;
970
970
  columnName: string;
971
+ dbDataType?: string;
971
972
  }
972
973
  interface IParameterFromVariable {
973
974
  inputMethod: EWidgetActionInputMethod.VARIABLE;
@@ -977,11 +978,13 @@ interface IParameterFromFormula {
977
978
  inputMethod: EWidgetActionInputMethod.FORMULA;
978
979
  formula: string;
979
980
  considerFilters: boolean;
981
+ dbDataType?: string;
980
982
  }
981
983
  interface IParameterFromAggregation {
982
984
  inputMethod: EWidgetActionInputMethod.AGGREGATION;
983
985
  formula: string;
984
986
  considerFilters: boolean;
987
+ dbDataType?: string;
985
988
  }
986
989
  interface IParameterFromEvent {
987
990
  inputMethod: EWidgetActionInputMethod.EVENT;
@@ -996,6 +999,7 @@ interface IParameterFromManualInput {
996
999
  inputMethod: EWidgetActionInputMethod.MANUALLY;
997
1000
  description: string;
998
1001
  defaultValue?: string;
1002
+ dbDataType?: string;
999
1003
  filterByRows?: boolean;
1000
1004
  }
1001
1005
  interface IParameterFromStaticList {
@@ -1007,6 +1011,7 @@ interface IParameterFromDynamicList {
1007
1011
  inputMethod: EWidgetActionInputMethod.DYNAMIC_LIST;
1008
1012
  options: string;
1009
1013
  defaultValue: string;
1014
+ dbDataType?: string;
1010
1015
  displayOptions: string;
1011
1016
  filters: TExtendedFormulaFilterValue[];
1012
1017
  filterByRows?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "5.18.0",
3
+ "version": "5.19.1-0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -13,10 +13,10 @@
13
13
  "scripts": {
14
14
  "build": "rollup -c",
15
15
  "lint": "tsc --noEmit",
16
- "release": "npm run lint && standard-version && npm run build",
17
- "prerelease": "npm run lint && standard-version -p && npm run build",
16
+ "release": "standard-version",
17
+ "release:rc": "standard-version -p",
18
18
  "format": "prettier --find-config-path --write 'src/**/*'",
19
- "prepublishOnly": "npm run build",
19
+ "prepublishOnly": "npm run lint && npm run build",
20
20
  "test": "jest"
21
21
  },
22
22
  "dependencies": {