@eqproject/eqp-dynamic-module 2.8.24 → 2.8.26
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/esm2020/lib/components/private/form-records/hlist-form-record/hlist-form-record.component.mjs +329 -108
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +350 -127
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +348 -127
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/private/form-records/hlist-form-record/hlist-form-record.component.d.ts +9 -3
- package/package.json +1 -1
package/lib/components/private/form-records/hlist-form-record/hlist-form-record.component.d.ts
CHANGED
|
@@ -7,10 +7,12 @@ import { DynamicModuleListFormRecordActionsDefault } from "../../../../models/dy
|
|
|
7
7
|
import { DynamicModuleListConfig } from "../../../../models/dynamicModuleListConfig.model";
|
|
8
8
|
import { EndPointConfiguration } from "../../../../models/endPointConfiguration.model";
|
|
9
9
|
import { ModeEnum } from "tmw-picker";
|
|
10
|
+
import { DatePipe } from "@angular/common";
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
export declare class HListFormRecordComponent implements OnInit, OnChanges {
|
|
12
13
|
private utilityHelperService;
|
|
13
14
|
private changeDetector;
|
|
15
|
+
private datepipe;
|
|
14
16
|
configurations: DynamicModuleListConfig;
|
|
15
17
|
endPointConfiguration: EndPointConfiguration;
|
|
16
18
|
formID: string;
|
|
@@ -32,12 +34,12 @@ export declare class HListFormRecordComponent implements OnInit, OnChanges {
|
|
|
32
34
|
modes: typeof ModeEnum;
|
|
33
35
|
minDate: Date;
|
|
34
36
|
maxDate: Date;
|
|
35
|
-
properties:
|
|
37
|
+
properties: any[];
|
|
36
38
|
propertiesLabel: any[];
|
|
37
39
|
selectedProperties: string[];
|
|
38
40
|
filteredAnswers: any;
|
|
39
41
|
displayedColumns: any[];
|
|
40
|
-
constructor(utilityHelperService: UtilityHelperService, changeDetector: ChangeDetectorRef);
|
|
42
|
+
constructor(utilityHelperService: UtilityHelperService, changeDetector: ChangeDetectorRef, datepipe: DatePipe);
|
|
41
43
|
ngOnInit(): void;
|
|
42
44
|
ngOnChanges(changes: SimpleChanges): void;
|
|
43
45
|
getFormByID(id?: string): Promise<void>;
|
|
@@ -70,7 +72,6 @@ export declare class HListFormRecordComponent implements OnInit, OnChanges {
|
|
|
70
72
|
* @param field BaseField per cui creare la colonna nella eqp-table
|
|
71
73
|
* @returns Restituisce una ConfigColumn per la eqp-table
|
|
72
74
|
*/
|
|
73
|
-
private createFieldColumn;
|
|
74
75
|
viewRecord(record: Record): void;
|
|
75
76
|
/**
|
|
76
77
|
* Metodo che scatena l'evento di Output per mostrare o modificare il record
|
|
@@ -94,8 +95,13 @@ export declare class HListFormRecordComponent implements OnInit, OnChanges {
|
|
|
94
95
|
* @param selectedProperties
|
|
95
96
|
*/
|
|
96
97
|
onSelectionChange(selectedProperties: any): void;
|
|
98
|
+
/**
|
|
99
|
+
* funzione che filtra le risposte in base al range di date basandosi sul campo fisso AnswerDate per il paragone
|
|
100
|
+
*/
|
|
97
101
|
filterDataAnswers(): void;
|
|
98
102
|
setMinMaxDates(): void;
|
|
103
|
+
printValue(fieldType: any, value: any, fieldconfig: any, record: any): any;
|
|
104
|
+
private resizeBase64Image;
|
|
99
105
|
static ɵfac: i0.ɵɵFactoryDeclaration<HListFormRecordComponent, never>;
|
|
100
106
|
static ɵcmp: i0.ɵɵComponentDeclaration<HListFormRecordComponent, "hlist-form-record", never, { "configurations": "configurations"; "endPointConfiguration": "endPointConfiguration"; "formID": "formID"; "form": "form"; "externalButtons": "externalButtons"; }, { "onViewRecord": "onViewRecord"; "onAddViewEditRecord": "onAddViewEditRecord"; "onDeleteRecord": "onDeleteRecord"; "onAfterDeleteRecord": "onAfterDeleteRecord"; }, never, never, false, never>;
|
|
101
107
|
}
|