@eqproject/eqp-dynamic-module 2.6.19 → 2.6.21
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 +15 -1
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +47 -21
- package/esm2020/lib/models/endPointConfiguration.model.mjs +13 -1
- package/esm2020/lib/services/utilityHelper.services.mjs +1 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +72 -20
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +72 -20
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.d.ts +2 -1
- package/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.d.ts +8 -0
- package/lib/models/endPointConfiguration.model.d.ts +1 -0
- package/lib/services/utilityHelper.services.d.ts +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ import { eventOut } from "../../../directives/dynamic-loader/dynamic-loader.dire
|
|
|
15
15
|
import { FireTrigger } from "../../../models/trigger.model";
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit {
|
|
18
|
-
|
|
18
|
+
utilityHelperService: UtilityHelperService;
|
|
19
19
|
private changeDetector;
|
|
20
20
|
debugMode: boolean;
|
|
21
21
|
configurations: DynamicModuleGeneralConfig;
|
|
@@ -155,6 +155,7 @@ export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit
|
|
|
155
155
|
onDragReleased(): void;
|
|
156
156
|
onExternalComponentOut(ev: eventOut): void;
|
|
157
157
|
onFireTrigger(ev: FireTrigger): void;
|
|
158
|
+
parseValueString(field: any, record: any): any;
|
|
158
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<EqpDynamicModuleComponent, never>;
|
|
159
160
|
static ɵcmp: i0.ɵɵComponentDeclaration<EqpDynamicModuleComponent, "eqp-dynamic-module", never, { "debugMode": "debugMode"; "configurations": "configurations"; "formID": "formID"; "starterViewMode": "starterViewMode"; "userID": "userID"; "orgaID": "orgaID"; "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"; "QueryEditorComponent": "QueryEditorComponent"; }, { "saveRecord": "saveRecord"; "deleteRecord": "deleteRecord"; "SaveJSON": "SaveJSON"; "afterFilter": "afterFilter"; "afterSaveRecord": "afterSaveRecord"; "afterDeleteRecord": "afterDeleteRecord"; "dragStarted": "dragStarted"; "dragReleased": "dragReleased"; "out": "out"; "fireTrigger": "fireTrigger"; }, never, never, false, never>;
|
|
160
161
|
}
|
|
@@ -122,11 +122,19 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit {
|
|
|
122
122
|
onImport(event: any): void;
|
|
123
123
|
importModule(): void;
|
|
124
124
|
closeImport(): void;
|
|
125
|
+
/**
|
|
126
|
+
* Funzione di esportazione modulo
|
|
127
|
+
*/
|
|
128
|
+
export(): void;
|
|
125
129
|
/**
|
|
126
130
|
* Metodo per recuperare tutti i record salvati per una particolare Form.
|
|
127
131
|
* La chiamata viene effettuata solo se è stato configurato l'endPoint da usare.
|
|
128
132
|
*/
|
|
129
133
|
getFormByID(): void;
|
|
134
|
+
/**
|
|
135
|
+
* Configuro l'export del form
|
|
136
|
+
*/
|
|
137
|
+
configureExport(res: Form): void;
|
|
130
138
|
/**
|
|
131
139
|
* Metodo invocato al cambio del tipo di visualizzazione della form.
|
|
132
140
|
* Se l'utente sceglie una visualizzazione raggruppata il metodo aggiunge al FormGroup un nuovo
|
|
@@ -18,6 +18,7 @@ export declare class EndPointConfiguration {
|
|
|
18
18
|
GetByIDAndVersionEndPoint: EndPointData;
|
|
19
19
|
SaveEndPoint: EndPointData;
|
|
20
20
|
SaveAttachmentEndPoint: EndPointData;
|
|
21
|
+
ExportByIDEndPoint: EndPointData;
|
|
21
22
|
};
|
|
22
23
|
constructor(baseUrl?: string, userToken?: string);
|
|
23
24
|
}
|
|
@@ -94,7 +94,7 @@ export declare class UtilityHelperService {
|
|
|
94
94
|
* @param errorCallBack Metodo da eseguire in caso di errore dopo la chiamata http.
|
|
95
95
|
* NOTA: in input viene passato l'errore generato della chiamata stessa.
|
|
96
96
|
*/
|
|
97
|
-
RunEndPointCall(endPointData: EndPointData, dynamicModuleParams?: Array<EndPointDataParams>, callback?: (e: Form | Array<Form> | Record | Array<Record> | DynAttachment | Array<DynAttachment>) => void, errorCallBack?: (err: unknown) => void): void;
|
|
97
|
+
RunEndPointCall(endPointData: EndPointData, dynamicModuleParams?: Array<EndPointDataParams>, callback?: (e: Form | Array<Form> | Record | Array<Record> | DynAttachment | Array<DynAttachment> | string) => void, errorCallBack?: (err: unknown) => void): void;
|
|
98
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<UtilityHelperService, never>;
|
|
99
99
|
static ɵprov: i0.ɵɵInjectableDeclaration<UtilityHelperService>;
|
|
100
100
|
}
|