@infomaximum/widget-sdk 5.0.0 → 5.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/README.md CHANGED
@@ -11,6 +11,6 @@
11
11
  | Версия `widget-sdk` | Версия системы |
12
12
  | ------------------- | -------------- |
13
13
  | 3.x.x | 2401 - 2407 |
14
- | 4.x.x | 2408 - 2410 |
15
- | 5.x.x | 2411 - latest |
14
+ | 4.x.x | 2408 - 2411 |
15
+ | 5.x.x | 2412 - latest |
16
16
  ---
package/dist/index.d.ts CHANGED
@@ -656,7 +656,8 @@ declare enum EWidgetActionInputMethod {
656
656
  MANUALLY = "MANUALLY",
657
657
  EVENT = "EVENT",
658
658
  START_EVENT = "START_EVENT",
659
- FINISH_EVENT = "FINISH_EVENT"
659
+ FINISH_EVENT = "FINISH_EVENT",
660
+ AGGREGATION = "AGGREGATION"
660
661
  }
661
662
  declare enum EActionTypes {
662
663
  OPEN_URL = "OPEN_URL",
@@ -693,6 +694,10 @@ interface IParameterFromFormula {
693
694
  inputMethod: EWidgetActionInputMethod.FORMULA;
694
695
  formula: string;
695
696
  }
697
+ interface IParameterFromAggregation {
698
+ inputMethod: EWidgetActionInputMethod.AGGREGATION;
699
+ formula: string;
700
+ }
696
701
  interface IParameterFromEvent {
697
702
  inputMethod: EWidgetActionInputMethod.EVENT;
698
703
  }
@@ -726,11 +731,11 @@ interface IWidgetActionParameterCommon {
726
731
  displayName: string;
727
732
  isHidden: boolean;
728
733
  }
729
- type TWidgetActionParameter = IWidgetActionParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromManualInput | IParameterFromStaticList | IParameterFromDynamicList);
734
+ type TWidgetActionParameter = IWidgetActionParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromManualInput | IParameterFromStaticList | IParameterFromDynamicList | IParameterFromAggregation);
730
735
  interface IActionOnClickParameterCommon extends IAutoIdentifiedArrayItem {
731
736
  name: string;
732
737
  }
733
- type TActionOnClickParameter = IActionOnClickParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromEvent | IParameterFromStartEvent | IParameterFromEndEvent);
738
+ type TActionOnClickParameter = IActionOnClickParameterCommon & (IParameterFromColumn | IParameterFromVariable | IParameterFromFormula | IParameterFromEvent | IParameterFromStartEvent | IParameterFromEndEvent | IParameterFromAggregation);
734
739
  interface IActionCommon extends IAutoIdentifiedArrayItem {
735
740
  name: string;
736
741
  }
package/dist/index.esm.js CHANGED
@@ -13,6 +13,7 @@ var EWidgetActionInputMethod;
13
13
  EWidgetActionInputMethod["EVENT"] = "EVENT";
14
14
  EWidgetActionInputMethod["START_EVENT"] = "START_EVENT";
15
15
  EWidgetActionInputMethod["FINISH_EVENT"] = "FINISH_EVENT";
16
+ EWidgetActionInputMethod["AGGREGATION"] = "AGGREGATION";
16
17
  })(EWidgetActionInputMethod || (EWidgetActionInputMethod = {}));
17
18
  var EActionTypes;
18
19
  (function (EActionTypes) {
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ exports.EWidgetActionInputMethod = void 0;
14
14
  EWidgetActionInputMethod["EVENT"] = "EVENT";
15
15
  EWidgetActionInputMethod["START_EVENT"] = "START_EVENT";
16
16
  EWidgetActionInputMethod["FINISH_EVENT"] = "FINISH_EVENT";
17
+ EWidgetActionInputMethod["AGGREGATION"] = "AGGREGATION";
17
18
  })(exports.EWidgetActionInputMethod || (exports.EWidgetActionInputMethod = {}));
18
19
  exports.EActionTypes = void 0;
19
20
  (function (EActionTypes) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infomaximum/widget-sdk",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",