@eqproject/eqp-dynamic-module 2.3.38 → 2.3.39
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 +16 -8
- 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/form-records/add-form-record/add-form-record.component.mjs +10 -7
- package/esm2020/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.mjs +15 -5
- package/esm2020/lib/components/private/form-records/list-view-form-record/single-record/single-record.component.mjs +3 -3
- package/esm2020/lib/components/private/graphs/graph/graph.component.mjs +5 -2
- package/esm2020/lib/models/dynamicModuleCompileConfig.model.mjs +3 -2
- package/esm2020/lib/models/dynamicModuleListConfig.model.mjs +4 -2
- package/esm2020/lib/models/record.model.mjs +1 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +51 -24
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +51 -24
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.d.ts +4 -1
- package/lib/components/private/form-records/add-form-record/add-form-record.component.d.ts +1 -2
- package/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.d.ts +1 -0
- package/lib/models/dynamicModuleCompileConfig.model.d.ts +6 -2
- package/lib/models/dynamicModuleListConfig.model.d.ts +11 -1
- package/lib/models/record.model.d.ts +2 -0
- package/package.json +1 -1
|
@@ -26,12 +26,15 @@ export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit
|
|
|
26
26
|
values: Array<Record>;
|
|
27
27
|
FormJSON: string;
|
|
28
28
|
externalButtons: Array<RecordButton>;
|
|
29
|
+
listViewRecordTitle: Array<string>;
|
|
29
30
|
defaultListViewFunction: Function;
|
|
30
31
|
defaultListActions: DynamicModuleListFormRecordActionsDefault;
|
|
31
32
|
onSaveBackToList: boolean;
|
|
32
33
|
onBackTo: DynamicModuleViewModeEnum;
|
|
33
34
|
filterResultViewMode: DynamicModuleFilterResultViewModeEnum;
|
|
34
35
|
additionalParams: any;
|
|
36
|
+
additionalInfo: any;
|
|
37
|
+
updateInfo: any;
|
|
35
38
|
prefilterParams: any;
|
|
36
39
|
showNewSearchButton: boolean;
|
|
37
40
|
answerToDuplicateId: any;
|
|
@@ -141,5 +144,5 @@ export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit
|
|
|
141
144
|
onAfterDeleteRecord(record: Record): void;
|
|
142
145
|
onAfterFilter(ev: any): void;
|
|
143
146
|
static ɵfac: i0.ɵɵFactoryDeclaration<EqpDynamicModuleComponent, never>;
|
|
144
|
-
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>;
|
|
147
|
+
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"; "listViewRecordTitle": "listViewRecordTitle"; "defaultListViewFunction": "defaultListViewFunction"; "defaultListActions": "defaultListActions"; "onSaveBackToList": "onSaveBackToList"; "onBackTo": "onBackTo"; "filterResultViewMode": "filterResultViewMode"; "additionalParams": "additionalParams"; "additionalInfo": "additionalInfo"; "updateInfo": "updateInfo"; "prefilterParams": "prefilterParams"; "showNewSearchButton": "showNewSearchButton"; "answerToDuplicateId": "answerToDuplicateId"; "highlightFilter": "highlightFilter"; }, { "saveRecord": "saveRecord"; "deleteRecord": "deleteRecord"; "SaveJSON": "SaveJSON"; "afterFilter": "afterFilter"; "afterSaveRecord": "afterSaveRecord"; "afterDeleteRecord": "afterDeleteRecord"; }, never, never, false, never>;
|
|
145
148
|
}
|
|
@@ -19,7 +19,6 @@ export declare class AddFormRecordComponent implements OnInit {
|
|
|
19
19
|
record: Record | string;
|
|
20
20
|
onlyView: boolean;
|
|
21
21
|
isDuplicate: boolean;
|
|
22
|
-
additionalParams: any;
|
|
23
22
|
showTitle: boolean;
|
|
24
23
|
showSaveButton: boolean;
|
|
25
24
|
showBackButton: boolean;
|
|
@@ -83,5 +82,5 @@ export declare class AddFormRecordComponent implements OnInit {
|
|
|
83
82
|
private getResponseTemplate;
|
|
84
83
|
private replaceTemplatePlaceholdersWithValues;
|
|
85
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddFormRecordComponent, never>;
|
|
86
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddFormRecordComponent, "add-form-record", never, { "configurations": "configurations"; "endPointConfiguration": "endPointConfiguration"; "userID": "userID"; "formID": "formID"; "form": "form"; "record": "record"; "onlyView": "onlyView"; "isDuplicate": "isDuplicate";
|
|
85
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddFormRecordComponent, "add-form-record", never, { "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
86
|
}
|
|
@@ -125,6 +125,7 @@ export declare class ListViewFormRecordComponent implements OnInit, OnChanges {
|
|
|
125
125
|
closeGraphs(): void;
|
|
126
126
|
onAddSaveRecord(record: Record): void;
|
|
127
127
|
onAddAfterSaveRecord(record: Record): void;
|
|
128
|
+
printAdditionalInfo(record: Record): string;
|
|
128
129
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListViewFormRecordComponent, never>;
|
|
129
130
|
static ɵcmp: i0.ɵɵComponentDeclaration<ListViewFormRecordComponent, "list-view-form-record", never, { "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>;
|
|
130
131
|
}
|
|
@@ -16,9 +16,13 @@ export declare class DynamicModuleCompileConfig {
|
|
|
16
16
|
*/
|
|
17
17
|
userID: string;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Bag di informazioni utilizzate lato server per filtrare le risposte sulla base di parametnri dell'applicazione ospitante
|
|
20
20
|
*/
|
|
21
21
|
additionalParams: any;
|
|
22
|
+
/**
|
|
23
|
+
* Bag di informazioni utilizzate lato client per operazioni dinamiche come label custom
|
|
24
|
+
*/
|
|
25
|
+
additionalInfo: any;
|
|
22
26
|
/**
|
|
23
27
|
* Prefilter Params for filtering
|
|
24
28
|
*/
|
|
@@ -27,5 +31,5 @@ export declare class DynamicModuleCompileConfig {
|
|
|
27
31
|
* Mostra bottone "nuova ricerca"
|
|
28
32
|
*/
|
|
29
33
|
showNewSearchButton: boolean;
|
|
30
|
-
constructor(showTitle?: boolean, showSaveButton?: boolean, showBackButton?: boolean, userID?: string, additionalParams?: any, prefilterParams?: any, showNewSearchButton?: boolean);
|
|
34
|
+
constructor(showTitle?: boolean, showSaveButton?: boolean, showBackButton?: boolean, userID?: string, additionalParams?: any, additionalInfo?: any, prefilterParams?: any, showNewSearchButton?: boolean);
|
|
31
35
|
}
|
|
@@ -17,9 +17,19 @@ export declare class DynamicModuleListConfig {
|
|
|
17
17
|
* Lista degli eventuali bottoni esterni dipendenti dall'applicazione utilizzatrice in aggiunta ai defaultListActions
|
|
18
18
|
*/
|
|
19
19
|
externalButtons: Array<RecordButton>;
|
|
20
|
+
/**
|
|
21
|
+
* Bag di informazioni utilizzate lato client per operazioni dinamiche come label custom
|
|
22
|
+
* Utilizzata per aggironare alcuni valori dell additionInfo delle risposte
|
|
23
|
+
*/
|
|
24
|
+
updateInfo: any;
|
|
25
|
+
/**
|
|
26
|
+
* Lista di chiavi da utilizzare per comporre il titolo dell'accordion del record
|
|
27
|
+
* le strignhe vengono cercate nell'AdditionalInfo del record e se non trovate non viene stampato niente
|
|
28
|
+
*/
|
|
29
|
+
listViewRecordTitle: Array<string>;
|
|
20
30
|
/**
|
|
21
31
|
* L'Id utente per filtrare le risposte
|
|
22
32
|
*/
|
|
23
33
|
userID: string;
|
|
24
|
-
constructor(showTitle?: boolean, values?: Array<Record>, defaultListActions?: DynamicModuleListFormRecordActionsDefault, userID?: string, externalButtons?: Array<RecordButton
|
|
34
|
+
constructor(showTitle?: boolean, values?: Array<Record>, defaultListActions?: DynamicModuleListFormRecordActionsDefault, userID?: string, externalButtons?: Array<RecordButton>, updateInfo?: any, listViewRecordTitle?: string[]);
|
|
25
35
|
}
|
|
@@ -6,6 +6,7 @@ export declare class Record {
|
|
|
6
6
|
AnswerDate: string;
|
|
7
7
|
HTMLreadableValues: string;
|
|
8
8
|
AdditionalParams: any;
|
|
9
|
+
AdditionalInfo: any;
|
|
9
10
|
[key: string]: any;
|
|
10
11
|
FK_InsertUser: any;
|
|
11
12
|
InsertDate: Date;
|
|
@@ -24,6 +25,7 @@ export declare class DynRecord {
|
|
|
24
25
|
HTMLreadableValues: string;
|
|
25
26
|
AnswerDate: string;
|
|
26
27
|
AdditionalParams: string;
|
|
28
|
+
AdditionalInfo: any;
|
|
27
29
|
PrefilterParams: string;
|
|
28
30
|
FK_InsertUser: any;
|
|
29
31
|
InsertDate: Date;
|