@eqproject/eqp-dynamic-module 2.3.4 → 2.3.6

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.
@@ -3300,7 +3300,7 @@ class ListViewFormRecordComponent {
3300
3300
  // ].map(() => false);
3301
3301
  this.defaultListActions = this.configurations.defaultListActions;
3302
3302
  this.showTitle = this.configurations.showTitle;
3303
- this.outCompileConfigurations = new DynamicModuleCompileConfig(this.compileConfigurations.showTitle, this.compileConfigurations.showSaveButton, this.compileConfigurations.showBackButton, this.compileConfigurations.userID);
3303
+ this.outCompileConfigurations = new DynamicModuleCompileConfig(this.compileConfigurations.showTitle, this.compileConfigurations.showSaveButton, this.compileConfigurations.showBackButton, this.compileConfigurations.userID, this.compileConfigurations.additionalParams);
3304
3304
  this.debugLog("outcompileConfigurations ", this.outCompileConfigurations);
3305
3305
  this.getFormByID();
3306
3306
  this.configureListviewButtons();
@@ -3940,6 +3940,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImpor
3940
3940
  args: ['formJson', { static: false }]
3941
3941
  }] } });
3942
3942
 
3943
+ class Statistic {
3944
+ }
3945
+ class FilterStatistic {
3946
+ constructor() {
3947
+ this.Statistics = new Array();
3948
+ }
3949
+ }
3950
+
3943
3951
  var LogicOperatorNumeric;
3944
3952
  (function (LogicOperatorNumeric) {
3945
3953
  LogicOperatorNumeric[LogicOperatorNumeric["="] = 1] = "=";
@@ -3976,9 +3984,6 @@ var LogicOperatorListValue;
3976
3984
  LogicOperatorListValue[LogicOperatorListValue["!="] = 2] = "!=";
3977
3985
  })(LogicOperatorListValue || (LogicOperatorListValue = {}));
3978
3986
 
3979
- class Statistic {
3980
- }
3981
-
3982
3987
  class TextFilterTemplateComponent {
3983
3988
  constructor(voiceservice) {
3984
3989
  this.voiceservice = voiceservice;
@@ -4861,7 +4866,7 @@ class FilterFormStatisticComponent {
4861
4866
  this.saveRecordEvent = new EventEmitter();
4862
4867
  this.afterSaveRecordEvent = new EventEmitter();
4863
4868
  this.afterFilter = new EventEmitter();
4864
- this.filters = new Array();
4869
+ this.filters = new FilterStatistic();
4865
4870
  }
4866
4871
  ngOnInit() {
4867
4872
  // add può funzionare anche come modifica e come preview
@@ -4913,18 +4918,19 @@ class FilterFormStatisticComponent {
4913
4918
  * Serve ad aggiornare il valore di tutti i campi che hanno una formula.
4914
4919
  */
4915
4920
  onFilterChange(ev) {
4916
- this.filters = this.filters.filter(x => x.key != ev.key);
4921
+ this.filters.Statistics = this.filters.Statistics.filter(x => x.key != ev.key);
4917
4922
  if (ev.logicoperator != null) {
4918
- this.filters.push(ev);
4923
+ this.filters.Statistics.push(ev);
4919
4924
  }
4920
4925
  }
4921
4926
  ApplyFilter() {
4927
+ this.filters.AdditionalParams = this.configurations.additionalParams;
4922
4928
  var filterParams = [
4923
4929
  {
4924
4930
  ParamName: "filter",
4925
4931
  ParamValue: this.filters,
4926
4932
  ParamType: ParamTypeEnum["In Body"],
4927
- },
4933
+ }
4928
4934
  ];
4929
4935
  this.utilityService.RunEndPointCall(this.endPointConfiguration.Records.ApplyFilter, filterParams, (res) => {
4930
4936
  this.filterResults = res;