@eqproject/eqp-dynamic-module 2.10.17 → 2.10.19

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.
@@ -72,6 +72,7 @@ export declare class AddFormFieldComponent implements OnInit {
72
72
  key: string;
73
73
  value: string;
74
74
  }>;
75
+ aggregationFunctionEnum: any;
75
76
  fieldTypeFormTemplate: TemplateRef<any>;
76
77
  textFieldFormTemplate: TemplateRef<any>;
77
78
  labelFieldFormTemplate: TemplateRef<any>;
@@ -123,6 +124,7 @@ export declare class AddFormFieldComponent implements OnInit {
123
124
  DMGetterCardinalities: typeof DataGetterCardinalityEnum;
124
125
  platform: string;
125
126
  loadedFieldExtra: boolean;
127
+ aggregationFieldLoaded: boolean;
126
128
  constructor(formBuilder: UntypedFormBuilder, enumHelper: EnumHelper, dialog: MatDialog, cdr: ChangeDetectorRef, httpClient: HttpClient, utilityHelperService: UtilityHelperService);
127
129
  ngOnInit(): Promise<void>;
128
130
  /**
@@ -151,6 +153,7 @@ export declare class AddFormFieldComponent implements OnInit {
151
153
  * @param control è il nome del GroupControl di cui leggere se ci sono errori
152
154
  */
153
155
  getFormValidationErrors(control: string): string;
156
+ setAggregation(enumType: any, reset: boolean): void;
154
157
  /**
155
158
  * Metodo chiamato quando cambia il FieldType del BaseField che si sta aggiungendo/modificando.
156
159
  * Ricrea l'oggetto field popolando solo le proprietà del BaseField inserite dall'utente
@@ -9,6 +9,7 @@ import { EndPointConfiguration } from "../../../../models/endPointConfiguration.
9
9
  import { ModeEnum } from "tmw-picker";
10
10
  import { DatePipe } from "@angular/common";
11
11
  import { ActionButton } from '../../../../models/trigger.model';
12
+ import { NumberAggregationFunctionEnum } from '../../../../models/statistic.model';
12
13
  import * as i0 from "@angular/core";
13
14
  export declare class HListFormRecordComponent implements OnInit, OnChanges {
14
15
  private utilityHelperService;
@@ -42,6 +43,8 @@ export declare class HListFormRecordComponent implements OnInit, OnChanges {
42
43
  selectedProperties: string[];
43
44
  filteredAnswers: any;
44
45
  displayedColumns: any[];
46
+ existingAggregations: Array<NumberAggregationFunctionEnum>;
47
+ numberAggregationFunctionEnum: typeof NumberAggregationFunctionEnum;
45
48
  constructor(utilityHelperService: UtilityHelperService, changeDetector: ChangeDetectorRef, datepipe: DatePipe);
46
49
  ngOnInit(): void;
47
50
  ngOnChanges(changes: SimpleChanges): void;
@@ -103,6 +106,8 @@ export declare class HListFormRecordComponent implements OnInit, OnChanges {
103
106
  */
104
107
  filterDataAnswers(): void;
105
108
  setMinMaxDates(): void;
109
+ fillAggregationColumns(): void;
110
+ standardDeviation(arr: any, usePopulation?: boolean): number;
106
111
  printValue(fieldType: any, value: any, fieldconfig: any, record: any): any;
107
112
  private resizeBase64Image;
108
113
  static ɵfac: i0.ɵɵFactoryDeclaration<HListFormRecordComponent, never>;
@@ -1,6 +1,7 @@
1
1
  import { UntypedFormGroup } from '@angular/forms';
2
2
  import { BaseObj } from './baseObj.model';
3
3
  import { Contestualization } from './getter.model';
4
+ import { NotNumberAggregationFunctionEnum, NumberAggregationFunctionEnum } from './statistic.model';
4
5
  /**
5
6
  * Contiene le informazioni di base del campo, indipendentemente dal tipo.
6
7
  * Questa classe è volutamente astratta perché il tipo di campo è dettato dal tipo
@@ -20,6 +21,7 @@ export declare class BaseField extends BaseObj {
20
21
  Disabled: boolean;
21
22
  Readonly: boolean;
22
23
  ReadonlyIf: string;
24
+ Aggregations: Array<NumberAggregationFunctionEnum> | Array<NotNumberAggregationFunctionEnum>;
23
25
  FieldstyleCSS: string;
24
26
  LabelstyleCSS: string;
25
27
  AnswerStyle: AnswerStyle;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "EqProject"
6
6
  },
7
- "version": "2.10.17",
7
+ "version": "2.10.19",
8
8
  "peerDependencies": {
9
9
  "@angular-material-components/datetime-picker": "^15.0.0",
10
10
  "@angular-material-components/moment-adapter": "^15.0.0",