@eqproject/eqp-dynamic-module 2.3.15 → 2.3.17
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/exported/eqp-dynamic-module/eqp-dynamic-module.component.mjs +5 -45
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +1 -1
- package/esm2020/lib/components/private/dynamic-module-field/dynamic-module-field.component.mjs +1 -1
- package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +1 -1
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +7 -3
- package/esm2020/lib/components/private/form-records/list-form-record/list-form-record.component.mjs +6 -19
- package/esm2020/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.mjs +29 -10
- package/esm2020/lib/components/private/form-records/list-view-form-record/single-record/single-record.component.mjs +1 -1
- package/esm2020/lib/components/private/form-statistics/filter-form-statistic/filter-form-statistic.component.mjs +1 -1
- package/esm2020/lib/models/record.model.mjs +1 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +48 -78
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +48 -78
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.d.ts +2 -11
- package/lib/components/private/form-records/add-form-record/add-form-record.component.d.ts +2 -2
- package/lib/components/private/form-records/list-form-record/list-form-record.component.d.ts +1 -8
- package/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.d.ts +4 -3
- package/lib/models/record.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -36,6 +36,7 @@ export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit
|
|
|
36
36
|
prefilterParams: any;
|
|
37
37
|
showNewSearchButton: boolean;
|
|
38
38
|
answerToDuplicateId: any;
|
|
39
|
+
highlightFilter: any;
|
|
39
40
|
context: Context;
|
|
40
41
|
/**
|
|
41
42
|
* Url del server da chiamare per recuperare, salvare o eliminare i record.
|
|
@@ -60,7 +61,6 @@ export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit
|
|
|
60
61
|
*/
|
|
61
62
|
saveRecord: EventEmitter<Record>;
|
|
62
63
|
deleteRecord: EventEmitter<Record>;
|
|
63
|
-
duplicateRecord: EventEmitter<Record>;
|
|
64
64
|
SaveJSON: EventEmitter<string>;
|
|
65
65
|
afterFilter: EventEmitter<Array<DynRecord>>;
|
|
66
66
|
/**
|
|
@@ -69,7 +69,6 @@ export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit
|
|
|
69
69
|
*/
|
|
70
70
|
afterSaveRecord: EventEmitter<Record>;
|
|
71
71
|
afterDeleteRecord: EventEmitter<Record>;
|
|
72
|
-
afterDuplicateRecord: EventEmitter<Record>;
|
|
73
72
|
form: Form;
|
|
74
73
|
lastform: Form;
|
|
75
74
|
FormTypeEnum: typeof FormTypeEnum;
|
|
@@ -135,14 +134,6 @@ export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit
|
|
|
135
134
|
onAfterSaveRecord(event: Record): void;
|
|
136
135
|
onSaveJson(record: string): void;
|
|
137
136
|
reload(): void;
|
|
138
|
-
/**
|
|
139
|
-
* Metodo per duplicare un record presente nella lista.
|
|
140
|
-
* Se è stato configurato un endPoint per la duplicazione lato server allora effettua una chiamata passando nel body
|
|
141
|
-
* un oggetto contenente il record da duplicare, altrimenti scatena l'evento di output "duplicateRecord".
|
|
142
|
-
* @param record Oggetto di tipo Record da duplicare.
|
|
143
|
-
*/
|
|
144
|
-
onDuplicateRecord(record: Record): void;
|
|
145
|
-
onAfterDuplicateRecord(record: Record): void;
|
|
146
137
|
/**
|
|
147
138
|
* Metodo per eliminare un record dalla lista.
|
|
148
139
|
* @param record Record da eliminare selezionato sulla eqp-table.
|
|
@@ -151,5 +142,5 @@ export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit
|
|
|
151
142
|
onAfterDeleteRecord(record: Record): void;
|
|
152
143
|
onAfterFilter(ev: any): void;
|
|
153
144
|
static ɵfac: i0.ɵɵFactoryDeclaration<EqpDynamicModuleComponent, never>;
|
|
154
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EqpDynamicModuleComponent, "eqp-dynamic-module", never, { "debugMode": "debugMode"; "configurations": "configurations"; "formID": "formID"; "starterViewMode": "starterViewMode"; "userID": "userID"; "showTitle": "showTitle"; "showBackButton": "showBackButton"; "showSaveButton": "showSaveButton"; "values": "values"; "FormJSON": "FormJSON"; "externalButtons": "externalButtons"; "defaultListViewFunction": "defaultListViewFunction"; "defaultListActions": "defaultListActions"; "onSaveBackToList": "onSaveBackToList"; "onBackTo": "onBackTo"; "filterResultViewMode": "filterResultViewMode"; "additionalParams": "additionalParams"; "prefilterParams": "prefilterParams"; "showNewSearchButton": "showNewSearchButton"; "answerToDuplicateId": "answerToDuplicateId"; }, { "saveRecord": "saveRecord"; "deleteRecord": "deleteRecord"; "
|
|
145
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EqpDynamicModuleComponent, "eqp-dynamic-module", never, { "debugMode": "debugMode"; "configurations": "configurations"; "formID": "formID"; "starterViewMode": "starterViewMode"; "userID": "userID"; "showTitle": "showTitle"; "showBackButton": "showBackButton"; "showSaveButton": "showSaveButton"; "values": "values"; "FormJSON": "FormJSON"; "externalButtons": "externalButtons"; "defaultListViewFunction": "defaultListViewFunction"; "defaultListActions": "defaultListActions"; "onSaveBackToList": "onSaveBackToList"; "onBackTo": "onBackTo"; "filterResultViewMode": "filterResultViewMode"; "additionalParams": "additionalParams"; "prefilterParams": "prefilterParams"; "showNewSearchButton": "showNewSearchButton"; "answerToDuplicateId": "answerToDuplicateId"; "highlightFilter": "highlightFilter"; }, { "saveRecord": "saveRecord"; "deleteRecord": "deleteRecord"; "SaveJSON": "SaveJSON"; "afterFilter": "afterFilter"; "afterSaveRecord": "afterSaveRecord"; "afterDeleteRecord": "afterDeleteRecord"; }, never, never, false, never>;
|
|
155
146
|
}
|
|
@@ -21,6 +21,7 @@ export declare class AddFormRecordComponent implements OnInit {
|
|
|
21
21
|
record: Record | string;
|
|
22
22
|
onlyView: boolean;
|
|
23
23
|
isDuplicate: boolean;
|
|
24
|
+
additionalParams: any;
|
|
24
25
|
showTitle: boolean;
|
|
25
26
|
showSaveButton: boolean;
|
|
26
27
|
showBackButton: boolean;
|
|
@@ -34,7 +35,6 @@ export declare class AddFormRecordComponent implements OnInit {
|
|
|
34
35
|
saveRecordEvent: EventEmitter<Record>;
|
|
35
36
|
afterSaveRecordEvent: EventEmitter<Record>;
|
|
36
37
|
fieldTemplate: QueryList<DynamicModuleFieldFixComponent>;
|
|
37
|
-
additionalParams: any;
|
|
38
38
|
constructor(cdr: ChangeDetectorRef, utilityService: UtilityHelperService);
|
|
39
39
|
ngOnInit(): void;
|
|
40
40
|
/**
|
|
@@ -84,5 +84,5 @@ export declare class AddFormRecordComponent implements OnInit {
|
|
|
84
84
|
private getResponseTemplate;
|
|
85
85
|
private replaceTemplatePlaceholdersWithValues;
|
|
86
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddFormRecordComponent, never>;
|
|
87
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddFormRecordComponent, "add-form-record", never, { "debugMode": "debugMode"; "configurations": "configurations"; "endPointConfiguration": "endPointConfiguration"; "userID": "userID"; "formID": "formID"; "form": "form"; "record": "record"; "onlyView": "onlyView"; "isDuplicate": "isDuplicate"; }, { "saveRecordEvent": "saveRecordEvent"; "afterSaveRecordEvent": "afterSaveRecordEvent"; }, never, never, false, never>;
|
|
87
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddFormRecordComponent, "add-form-record", never, { "debugMode": "debugMode"; "configurations": "configurations"; "endPointConfiguration": "endPointConfiguration"; "userID": "userID"; "formID": "formID"; "form": "form"; "record": "record"; "onlyView": "onlyView"; "isDuplicate": "isDuplicate"; "additionalParams": "additionalParams"; }, { "saveRecordEvent": "saveRecordEvent"; "afterSaveRecordEvent": "afterSaveRecordEvent"; }, never, never, false, never>;
|
|
88
88
|
}
|
package/lib/components/private/form-records/list-form-record/list-form-record.component.d.ts
CHANGED
|
@@ -27,8 +27,6 @@ export declare class ListFormRecordComponent implements OnInit, OnChanges {
|
|
|
27
27
|
record: Record;
|
|
28
28
|
onlyView: boolean;
|
|
29
29
|
}>;
|
|
30
|
-
onDuplicateRecord: EventEmitter<Record>;
|
|
31
|
-
onAfterDuplicateRecord: EventEmitter<Record>;
|
|
32
30
|
onDeleteRecord: EventEmitter<Record>;
|
|
33
31
|
onAfterDeleteRecord: EventEmitter<Record>;
|
|
34
32
|
constructor(utilityHelperService: UtilityHelperService, changeDetector: ChangeDetectorRef);
|
|
@@ -73,11 +71,6 @@ export declare class ListFormRecordComponent implements OnInit, OnChanges {
|
|
|
73
71
|
* @param onlyView Se TRUE viene mostrato il componente add-form-record in sola lettura.
|
|
74
72
|
*/
|
|
75
73
|
private viewOrEditRecord;
|
|
76
|
-
/**
|
|
77
|
-
* Metodo per duplicare un record della form.
|
|
78
|
-
* @param record Record da duplicare.
|
|
79
|
-
*/
|
|
80
|
-
duplicateRecord(record: Record): void;
|
|
81
74
|
/**
|
|
82
75
|
* Metodo per eliminare un record dalla lista.
|
|
83
76
|
* @param record Record da eliminare selezionato sulla eqp-table.
|
|
@@ -88,5 +81,5 @@ export declare class ListFormRecordComponent implements OnInit, OnChanges {
|
|
|
88
81
|
*/
|
|
89
82
|
private reloadTables;
|
|
90
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListFormRecordComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListFormRecordComponent, "list-form-record", never, { "debugMode": "debugMode"; "configurations": "configurations"; "endPointConfiguration": "endPointConfiguration"; "formID": "formID"; "form": "form"; "externalButtons": "externalButtons"; }, { "onViewRecord": "onViewRecord"; "onAddViewEditRecord": "onAddViewEditRecord"; "
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListFormRecordComponent, "list-form-record", never, { "debugMode": "debugMode"; "configurations": "configurations"; "endPointConfiguration": "endPointConfiguration"; "formID": "formID"; "form": "form"; "externalButtons": "externalButtons"; }, { "onViewRecord": "onViewRecord"; "onAddViewEditRecord": "onAddViewEditRecord"; "onDeleteRecord": "onDeleteRecord"; "onAfterDeleteRecord": "onAfterDeleteRecord"; }, never, never, false, never>;
|
|
92
85
|
}
|
|
@@ -13,6 +13,7 @@ type Panel = {
|
|
|
13
13
|
record: Record;
|
|
14
14
|
isOpen: boolean;
|
|
15
15
|
pageState: string;
|
|
16
|
+
highlighted: boolean;
|
|
16
17
|
};
|
|
17
18
|
export declare class ListViewFormRecordComponent implements OnInit, OnChanges {
|
|
18
19
|
private utilityHelperService;
|
|
@@ -31,6 +32,7 @@ export declare class ListViewFormRecordComponent implements OnInit, OnChanges {
|
|
|
31
32
|
externalButtons: Array<RecordButton>;
|
|
32
33
|
onlyView: boolean;
|
|
33
34
|
records: Array<DynRecord>;
|
|
35
|
+
highlightFilter: any;
|
|
34
36
|
defaultListActions: DynamicModuleListFormRecordActionsDefault;
|
|
35
37
|
showTitle: boolean;
|
|
36
38
|
test: boolean;
|
|
@@ -52,7 +54,6 @@ export declare class ListViewFormRecordComponent implements OnInit, OnChanges {
|
|
|
52
54
|
onlyView: boolean;
|
|
53
55
|
}>;
|
|
54
56
|
onDeleteRecord: EventEmitter<Record>;
|
|
55
|
-
onDuplicateRecord: EventEmitter<Record>;
|
|
56
57
|
saveRecordEvent: EventEmitter<Record>;
|
|
57
58
|
afterSaveRecordEvent: EventEmitter<Record>;
|
|
58
59
|
constructor(utilityHelperService: UtilityHelperService, changeDetector: ChangeDetectorRef, dialog: MatDialog);
|
|
@@ -92,7 +93,7 @@ export declare class ListViewFormRecordComponent implements OnInit, OnChanges {
|
|
|
92
93
|
* Metodo per duplicare un record della form.
|
|
93
94
|
* @param record Record da duplicare.
|
|
94
95
|
*/
|
|
95
|
-
duplicateRecord(
|
|
96
|
+
duplicateRecord(panel: Panel, onlyView: boolean, i: any, ev: Event): void;
|
|
96
97
|
/**
|
|
97
98
|
* Metodo per eliminare un record dalla lista.
|
|
98
99
|
* @param record Record da eliminare selezionato sulla eqp-table.
|
|
@@ -136,6 +137,6 @@ export declare class ListViewFormRecordComponent implements OnInit, OnChanges {
|
|
|
136
137
|
onAddSaveRecord(record: Record): void;
|
|
137
138
|
onAddAfterSaveRecord(record: Record): void;
|
|
138
139
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewFormRecordComponent, never>;
|
|
139
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewFormRecordComponent, "list-view-form-record", never, { "debugMode": "debugMode"; "configurations": "configurations"; "compileConfigurations": "compileConfigurations"; "endPointConfiguration": "endPointConfiguration"; "userID": "userID"; "formID": "formID"; "form": "form"; "defaultListViewFunction": "defaultListViewFunction"; "externalButtons": "externalButtons"; "onlyView": "onlyView"; "records": "records"; }, { "onAddViewEditRecord": "onAddViewEditRecord"; "onDeleteRecord": "onDeleteRecord"; "
|
|
140
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewFormRecordComponent, "list-view-form-record", never, { "debugMode": "debugMode"; "configurations": "configurations"; "compileConfigurations": "compileConfigurations"; "endPointConfiguration": "endPointConfiguration"; "userID": "userID"; "formID": "formID"; "form": "form"; "defaultListViewFunction": "defaultListViewFunction"; "externalButtons": "externalButtons"; "onlyView": "onlyView"; "records": "records"; "highlightFilter": "highlightFilter"; }, { "onAddViewEditRecord": "onAddViewEditRecord"; "onDeleteRecord": "onDeleteRecord"; "saveRecordEvent": "saveRecordEvent"; "afterSaveRecordEvent": "afterSaveRecordEvent"; }, never, never, false, never>;
|
|
140
141
|
}
|
|
141
142
|
export {};
|