@eqproject/eqp-dynamic-module 2.3.27 → 2.3.29
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 +3 -3
- package/esm2020/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.mjs +2 -11
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +11 -7
- package/esm2020/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.mjs +17 -17
- package/esm2020/lib/components/private/form-records/repair-form-fields/repair-form-fields.component.mjs +27 -8
- package/esm2020/lib/components/private/graphs/graphs.component.mjs +3 -4
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +53 -42
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +53 -42
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/private/form-records/repair-form-fields/repair-form-fields.component.d.ts +8 -2
- package/package.json +1 -1
|
@@ -1959,16 +1959,7 @@ class NumericFieldTemplateComponent {
|
|
|
1959
1959
|
console.log("record changed", this.field.Name);
|
|
1960
1960
|
if (!this.field.Formula) {
|
|
1961
1961
|
if (this.isDirty) {
|
|
1962
|
-
|
|
1963
|
-
//console.log("field modified - original value",this.field.Name,this.record[this.field.Name],"precision",this.eqpNumericOptions.precision);
|
|
1964
|
-
this.record[this.field.Name] = this.record[this.field.Name] == 0 ? 0 : (this.record[this.field.Name] / Math.pow(10, this.eqpNumericOptions.precision)).toFixed(this.eqpNumericOptions.precision);
|
|
1965
|
-
console.log("field modified - final value", this.field.Name, this.record[this.field.Name], "precision", this.eqpNumericOptions.precision);
|
|
1966
|
-
}
|
|
1967
|
-
else {
|
|
1968
|
-
//console.log("field modified - original value",this.field.Name,this.record[this.field.Name],"precision",this.eqpNumericOptions.precision);
|
|
1969
|
-
this.record[this.field.Name] = this.record[this.field.Name] == 0 ? 0 : (this.record[this.field.Name]).toFixed(this.eqpNumericOptions.precision);
|
|
1970
|
-
console.log("field modified - final value", this.field.Name, this.record[this.field.Name], "precision", this.eqpNumericOptions.precision);
|
|
1971
|
-
}
|
|
1962
|
+
this.record[this.field.Name] = this.record[this.field.Name] == 0 ? 0 : (this.record[this.field.Name] / Math.pow(10, this.eqpNumericOptions.precision)).toFixed(this.eqpNumericOptions.precision);
|
|
1972
1963
|
console.log("setDirty OFF", this.field.Name);
|
|
1973
1964
|
this.isDirty = false;
|
|
1974
1965
|
}
|
|
@@ -2944,6 +2935,9 @@ class AddFormRecordComponent {
|
|
|
2944
2935
|
createHTMLreadableValues(record) {
|
|
2945
2936
|
this.debugLog("createHTMLreadableValues - record", record);
|
|
2946
2937
|
this.debugLog("createHTMLreadableValues - form", this.form);
|
|
2938
|
+
var formnames = new Array();
|
|
2939
|
+
this.form.Fields.forEach((field) => { formnames.push(field.Name); });
|
|
2940
|
+
this.debugLog("createHTMLreadableValues - form fields names", formnames);
|
|
2947
2941
|
// alert("continue for values?")
|
|
2948
2942
|
let outputValuesArray = this.getResponseValues(record, this.form);
|
|
2949
2943
|
this.debugLog("createHTMLreadableValues - outputValuesArray", outputValuesArray);
|
|
@@ -2977,7 +2971,7 @@ class AddFormRecordComponent {
|
|
|
2977
2971
|
// this.debugLog("(record).Values", record);
|
|
2978
2972
|
form.Fields.forEach((field) => {
|
|
2979
2973
|
try {
|
|
2980
|
-
this.debugLog("getResponseValues field", field);
|
|
2974
|
+
//this.debugLog("getResponseValues field", field);
|
|
2981
2975
|
// let foundObject = record.find(
|
|
2982
2976
|
// (obj) => obj === field.Name
|
|
2983
2977
|
// );
|
|
@@ -2987,7 +2981,7 @@ class AddFormRecordComponent {
|
|
|
2987
2981
|
// prendere la label corretta
|
|
2988
2982
|
////////////////////////////////////////////////////////////////////////////////
|
|
2989
2983
|
if (field.FieldType == FieldTypeEnum["Elenco generico"]) {
|
|
2990
|
-
if (field.Formula) {
|
|
2984
|
+
if (field.Formula != null && field.Formula) {
|
|
2991
2985
|
// aggiungo a valuepairs i valori calcolati
|
|
2992
2986
|
foundObject.ValuePairs = foundObject.ValuePairs ? foundObject.ValuePairs : {};
|
|
2993
2987
|
var temp = UtilityHelperService.EvaluateFieldFormula(field.Formula, record, null);
|
|
@@ -3001,7 +2995,7 @@ class AddFormRecordComponent {
|
|
|
3001
2995
|
}
|
|
3002
2996
|
outputValuesArray[field.Name] = field.ValuePairs[record[field.Name]];
|
|
3003
2997
|
}
|
|
3004
|
-
else if (field.ValuePairs != null && field.ValuePairs.
|
|
2998
|
+
else if (field.ValuePairs != null && field.ValuePairs.length > 0) {
|
|
3005
2999
|
// va bene così
|
|
3006
3000
|
}
|
|
3007
3001
|
else if (field.ValueString != null && field.ValueString != "") {
|
|
@@ -3009,12 +3003,13 @@ class AddFormRecordComponent {
|
|
|
3009
3003
|
field.ValuePairs = this.stringToValuePairs(field.ValueString);
|
|
3010
3004
|
}
|
|
3011
3005
|
let inverted = {};
|
|
3012
|
-
this.debugLog("(<ListValueField>foundObject).ValuePairs", field.ValuePairs);
|
|
3006
|
+
//this.debugLog("(<ListValueField>foundObject).ValuePairs", (<ListValueField>field).ValuePairs);
|
|
3007
|
+
// ValuePairs: {Si: 'Si', No: 'No'}
|
|
3013
3008
|
for (let key in field.ValuePairs) {
|
|
3014
3009
|
inverted[field.ValuePairs[key]] = key;
|
|
3015
3010
|
}
|
|
3016
3011
|
field.ValuePairs = inverted;
|
|
3017
|
-
if (record[field.Name].
|
|
3012
|
+
if (record[field.Name] != null && field.IsMultiChoiche) {
|
|
3018
3013
|
let value = "";
|
|
3019
3014
|
record[field.Name].forEach((element, i) => {
|
|
3020
3015
|
value += field.ValuePairs[element];
|
|
@@ -3025,7 +3020,7 @@ class AddFormRecordComponent {
|
|
|
3025
3020
|
else {
|
|
3026
3021
|
outputValuesArray[field.Name] = field.ValuePairs[record[field.Name]];
|
|
3027
3022
|
}
|
|
3028
|
-
console.log("outputValuesArray", outputValuesArray)
|
|
3023
|
+
//console.log("outputValuesArray", outputValuesArray)
|
|
3029
3024
|
}
|
|
3030
3025
|
else {
|
|
3031
3026
|
// this.debugLog("record[fieldName]", record[field.Name]);
|
|
@@ -3401,7 +3396,7 @@ class ListViewFormRecordComponent {
|
|
|
3401
3396
|
this.defaultListActions = this.configurations.defaultListActions;
|
|
3402
3397
|
this.showTitle = this.configurations.showTitle;
|
|
3403
3398
|
this.outCompileConfigurations = new DynamicModuleCompileConfig(this.compileConfigurations.showTitle, this.compileConfigurations.showSaveButton, this.compileConfigurations.showBackButton, this.compileConfigurations.userID, this.compileConfigurations.additionalParams, this.compileConfigurations.prefilterParams);
|
|
3404
|
-
this.debugLog("list-view - outcompileConfigurations ", this.outCompileConfigurations);
|
|
3399
|
+
//this.debugLog("list-view - outcompileConfigurations ", this.outCompileConfigurations);
|
|
3405
3400
|
this.getFormByID();
|
|
3406
3401
|
this.configureListviewButtons();
|
|
3407
3402
|
// this.outCompileConfigurations.userID;
|
|
@@ -3409,7 +3404,7 @@ class ListViewFormRecordComponent {
|
|
|
3409
3404
|
// this.configureColumns();
|
|
3410
3405
|
}
|
|
3411
3406
|
ngOnChanges(changes) {
|
|
3412
|
-
this.debugLog('ngOnChanges', changes);
|
|
3407
|
+
//this.debugLog('ngOnChanges', changes);
|
|
3413
3408
|
// Se viene modificato il valore di "ngModelInput" allora aggiorna l'input
|
|
3414
3409
|
if (changes["configurations"] != undefined &&
|
|
3415
3410
|
changes["configurations"].firstChange == false) {
|
|
@@ -3488,7 +3483,7 @@ class ListViewFormRecordComponent {
|
|
|
3488
3483
|
this.getRecordsByFormID();
|
|
3489
3484
|
}
|
|
3490
3485
|
else {
|
|
3491
|
-
this.debugLog('Records Exists', this.records);
|
|
3486
|
+
//this.debugLog('Records Exists', this.records);
|
|
3492
3487
|
this.generateAnswersArray(this.records);
|
|
3493
3488
|
}
|
|
3494
3489
|
}
|
|
@@ -3512,7 +3507,7 @@ class ListViewFormRecordComponent {
|
|
|
3512
3507
|
this.endPointConfiguration.Records.GetByFormIDEndPoint) {
|
|
3513
3508
|
// se non conosco l'utente
|
|
3514
3509
|
await this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Records.GetByFormIDEndPoint, dynamicModuleParams, (res) => {
|
|
3515
|
-
this.debugLog('GetByFormIDEndPoint', res)
|
|
3510
|
+
//this.debugLog('GetByFormIDEndPoint', res)
|
|
3516
3511
|
this.generateAnswersArray(res);
|
|
3517
3512
|
});
|
|
3518
3513
|
}
|
|
@@ -3534,7 +3529,7 @@ class ListViewFormRecordComponent {
|
|
|
3534
3529
|
},
|
|
3535
3530
|
];
|
|
3536
3531
|
await this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Records.GetAllByEntAndUserIDEndPoint, dynamicModuleParams, (res) => {
|
|
3537
|
-
this.debugLog('GetAllByEntAndUserIDEndPoint', res)
|
|
3532
|
+
//this.debugLog('GetAllByEntAndUserIDEndPoint', res)
|
|
3538
3533
|
this.generateAnswersArray(res);
|
|
3539
3534
|
});
|
|
3540
3535
|
}
|
|
@@ -3546,9 +3541,9 @@ class ListViewFormRecordComponent {
|
|
|
3546
3541
|
this.configurations.values = new Array();
|
|
3547
3542
|
this.panels = new Array();
|
|
3548
3543
|
res.forEach((r) => {
|
|
3549
|
-
//
|
|
3544
|
+
//this.debugLog("generateAnswersArray", r)
|
|
3550
3545
|
var tmpRec = new Record();
|
|
3551
|
-
//
|
|
3546
|
+
//this.debugLog("SerializedValues", r.SerializedValues)
|
|
3552
3547
|
tmpRec = JSON.parse(r.SerializedValues);
|
|
3553
3548
|
tmpRec.ID = r.ID;
|
|
3554
3549
|
tmpRec.EntID = r.EntID;
|
|
@@ -3556,7 +3551,7 @@ class ListViewFormRecordComponent {
|
|
|
3556
3551
|
tmpRec.userID = r.userID;
|
|
3557
3552
|
tmpRec.AnswerDate = r.AnswerDate;
|
|
3558
3553
|
tmpRec.HTMLreadableValues = r.HTMLreadableValues;
|
|
3559
|
-
//
|
|
3554
|
+
//this.debugLog("AdditionalParams", r.AdditionalParams)
|
|
3560
3555
|
tmpRec.AdditionalParams = r.AdditionalParams != "" && r.AdditionalParams != null ? JSON.parse(r.AdditionalParams) : "";
|
|
3561
3556
|
this.configurations.values.push(tmpRec);
|
|
3562
3557
|
var isHighlighted = false;
|
|
@@ -3576,9 +3571,9 @@ class ListViewFormRecordComponent {
|
|
|
3576
3571
|
}, 0); // refresh ui
|
|
3577
3572
|
}
|
|
3578
3573
|
togglePanel(panel, record) {
|
|
3579
|
-
this.debugLog('togglePanel')
|
|
3574
|
+
//this.debugLog('togglePanel')
|
|
3580
3575
|
if (this.defaultListViewFunction != null) {
|
|
3581
|
-
this.debugLog('defaultListViewFunction', record)
|
|
3576
|
+
//this.debugLog('defaultListViewFunction', record)
|
|
3582
3577
|
this.defaultListViewFunction(record);
|
|
3583
3578
|
return;
|
|
3584
3579
|
}
|
|
@@ -3629,7 +3624,7 @@ class ListViewFormRecordComponent {
|
|
|
3629
3624
|
* @param onlyView Se TRUE viene mostrato il componente add-form-record in sola lettura.
|
|
3630
3625
|
*/
|
|
3631
3626
|
viewOrEditRecord(record, onlyView, i) {
|
|
3632
|
-
this.debugLog('viewOrEditRecord')
|
|
3627
|
+
//this.debugLog('viewOrEditRecord')
|
|
3633
3628
|
this.loader = false;
|
|
3634
3629
|
this.onAddViewEditRecord2({ record, onlyView });
|
|
3635
3630
|
this.panelOpenState.map(() => false);
|
|
@@ -3639,7 +3634,7 @@ class ListViewFormRecordComponent {
|
|
|
3639
3634
|
viewRecord(panel, onlyView, i, ev) {
|
|
3640
3635
|
ev.preventDefault();
|
|
3641
3636
|
ev.stopPropagation();
|
|
3642
|
-
this.debugLog('viewRecord')
|
|
3637
|
+
//this.debugLog('viewRecord')
|
|
3643
3638
|
let record = panel.record;
|
|
3644
3639
|
this.visualizzaContenuto = true;
|
|
3645
3640
|
this.modificaContenuto = false;
|
|
@@ -3660,7 +3655,7 @@ class ListViewFormRecordComponent {
|
|
|
3660
3655
|
EditRecord(panel, onlyView, i, ev) {
|
|
3661
3656
|
ev.preventDefault();
|
|
3662
3657
|
ev.stopPropagation();
|
|
3663
|
-
this.debugLog('EditRecord')
|
|
3658
|
+
//this.debugLog('EditRecord')
|
|
3664
3659
|
let record = panel.record;
|
|
3665
3660
|
this.visualizzaContenuto = false;
|
|
3666
3661
|
this.modificaContenuto = true;
|
|
@@ -3690,7 +3685,7 @@ class ListViewFormRecordComponent {
|
|
|
3690
3685
|
duplicateRecord(panel, onlyView, i, ev) {
|
|
3691
3686
|
ev.preventDefault();
|
|
3692
3687
|
ev.stopPropagation();
|
|
3693
|
-
this.debugLog('duplicateRecord');
|
|
3688
|
+
//this.debugLog('duplicateRecord');
|
|
3694
3689
|
panel.record.ID = "";
|
|
3695
3690
|
this.selectedRecord = panel.record;
|
|
3696
3691
|
console.log("this.selectedRecord", this.selectedRecord);
|
|
@@ -3845,11 +3840,11 @@ class ListViewFormRecordComponent {
|
|
|
3845
3840
|
* Metodo per salvare i dati inseriti dall'utente una volta conclusa la compilazione della form.
|
|
3846
3841
|
*/
|
|
3847
3842
|
saveOrExitForm(record) {
|
|
3848
|
-
this.debugLog('list-view-form-record save', record)
|
|
3843
|
+
//this.debugLog('list-view-form-record save', record)
|
|
3849
3844
|
this.saveRecordEvent.emit(record);
|
|
3850
3845
|
}
|
|
3851
3846
|
onAfterSaveRecord(event) {
|
|
3852
|
-
this.debugLog('list-view-form-record aftersave', event)
|
|
3847
|
+
//this.debugLog('list-view-form-record aftersave', event)
|
|
3853
3848
|
this.saveRecordEvent.emit(event);
|
|
3854
3849
|
}
|
|
3855
3850
|
/**
|
|
@@ -4032,32 +4027,49 @@ class RepairFormFieldsComponent {
|
|
|
4032
4027
|
console.log(message, element);
|
|
4033
4028
|
}
|
|
4034
4029
|
}
|
|
4035
|
-
constructor() {
|
|
4030
|
+
constructor(utilityHelperService) {
|
|
4031
|
+
this.utilityHelperService = utilityHelperService;
|
|
4036
4032
|
this.debugMode = false;
|
|
4037
4033
|
// @Input() FormJSON: string;
|
|
4038
4034
|
this.onSaveJson = new EventEmitter();
|
|
4039
4035
|
}
|
|
4040
4036
|
ngOnInit() {
|
|
4041
|
-
this.
|
|
4037
|
+
this.getFormByID();
|
|
4042
4038
|
}
|
|
4043
4039
|
printTheJSONInPrettyFormat() {
|
|
4044
4040
|
var badJSON = this.configurations.FormJSON;
|
|
4045
4041
|
var parseJSON = JSON.parse(badJSON);
|
|
4046
4042
|
this.configurations.FormJSON = JSON.stringify(parseJSON, undefined, 4);
|
|
4047
4043
|
}
|
|
4044
|
+
getFormByID(id = this.formID) {
|
|
4045
|
+
const dynamicModuleParams = new Array();
|
|
4046
|
+
dynamicModuleParams.push({
|
|
4047
|
+
ParamName: "id",
|
|
4048
|
+
ParamValue: id,
|
|
4049
|
+
ParamType: ParamTypeEnum["Query param"],
|
|
4050
|
+
});
|
|
4051
|
+
this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Forms.GetByIDEndPoint, dynamicModuleParams, (res) => {
|
|
4052
|
+
this.configurations.FormJSON = JSON.stringify(res.Fields);
|
|
4053
|
+
}, (err) => { });
|
|
4054
|
+
}
|
|
4048
4055
|
saveJson() {
|
|
4049
4056
|
this.onSaveJson.emit(this.configurations.FormJSON);
|
|
4050
4057
|
}
|
|
4051
4058
|
}
|
|
4052
|
-
RepairFormFieldsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RepairFormFieldsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4053
|
-
RepairFormFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RepairFormFieldsComponent, selector: "repair-form-fields", inputs: { debugMode: "debugMode", configurations: "configurations" }, outputs: { onSaveJson: "onSaveJson" }, viewQueries: [{ propertyName: "formulaTextArea", first: true, predicate: ["formJson"], descendants: true }], ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12 pt-2\">\r\n <div class=\"p-1\">\r\n <textarea name=\"formJson\" #formJson type=\"textarea\" id=\"formJson\" rows=\"50\" style=\"width: 100%\"\r\n [(ngModel)]=\"configurations.FormJSON\"></textarea>\r\n </div>\r\n </div>\r\n </div>\r\n <button (click)=\"printTheJSONInPrettyFormat()\">Formatta Json</button>\r\n <button class=\"mr-2 save \" mat-raised-button color=\"primary\" (click)=\"saveJson()\" type=\"button\">\r\n Salva\r\n</button>\r\n</div>\r\n\r\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
4059
|
+
RepairFormFieldsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RepairFormFieldsComponent, deps: [{ token: UtilityHelperService }], target: i0.ɵɵFactoryTarget.Component });
|
|
4060
|
+
RepairFormFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: RepairFormFieldsComponent, selector: "repair-form-fields", inputs: { debugMode: "debugMode", configurations: "configurations", formID: "formID", endPointConfiguration: "endPointConfiguration" }, outputs: { onSaveJson: "onSaveJson" }, viewQueries: [{ propertyName: "formulaTextArea", first: true, predicate: ["formJson"], descendants: true }], ngImport: i0, template: "<div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12 pt-2\">\r\n <div class=\"p-1\">\r\n <textarea name=\"formJson\" #formJson type=\"textarea\" id=\"formJson\" rows=\"50\" style=\"width: 100%\"\r\n [(ngModel)]=\"configurations.FormJSON\"></textarea>\r\n </div>\r\n </div>\r\n </div>\r\n <button (click)=\"printTheJSONInPrettyFormat()\">Formatta Json</button>\r\n <button class=\"mr-2 save \" mat-raised-button color=\"primary\" (click)=\"saveJson()\" type=\"button\">\r\n Salva\r\n</button>\r\n</div>\r\n\r\n", styles: [""], dependencies: [{ kind: "component", type: i2$1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
4054
4061
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: RepairFormFieldsComponent, decorators: [{
|
|
4055
4062
|
type: Component,
|
|
4056
4063
|
args: [{ selector: 'repair-form-fields', template: "<div class=\"container\">\r\n <div class=\"row\">\r\n <div class=\"col-12 pt-2\">\r\n <div class=\"p-1\">\r\n <textarea name=\"formJson\" #formJson type=\"textarea\" id=\"formJson\" rows=\"50\" style=\"width: 100%\"\r\n [(ngModel)]=\"configurations.FormJSON\"></textarea>\r\n </div>\r\n </div>\r\n </div>\r\n <button (click)=\"printTheJSONInPrettyFormat()\">Formatta Json</button>\r\n <button class=\"mr-2 save \" mat-raised-button color=\"primary\" (click)=\"saveJson()\" type=\"button\">\r\n Salva\r\n</button>\r\n</div>\r\n\r\n" }]
|
|
4057
|
-
}], ctorParameters: function () { return []; }, propDecorators: { debugMode: [{
|
|
4064
|
+
}], ctorParameters: function () { return [{ type: UtilityHelperService }]; }, propDecorators: { debugMode: [{
|
|
4058
4065
|
type: Input
|
|
4059
4066
|
}], configurations: [{
|
|
4060
4067
|
type: Input
|
|
4068
|
+
}], formID: [{
|
|
4069
|
+
type: Input,
|
|
4070
|
+
args: ["formID"]
|
|
4071
|
+
}], endPointConfiguration: [{
|
|
4072
|
+
type: Input
|
|
4061
4073
|
}], onSaveJson: [{
|
|
4062
4074
|
type: Output
|
|
4063
4075
|
}], formulaTextArea: [{
|
|
@@ -5610,8 +5622,8 @@ class GraphsComponent {
|
|
|
5610
5622
|
// Azzero le coordinate
|
|
5611
5623
|
this.selectedGeneratedFields.forEach((field) => { field.Coords = new Array(); });
|
|
5612
5624
|
this.eligibleAnswers = JSON.parse(JSON.stringify(this.answers));
|
|
5613
|
-
this.minperiodS = this.datePipe.transform(this.minperiod, "YYYY-
|
|
5614
|
-
this.maxperiodS = this.datePipe.transform(this.maxperiod, "YYYY-
|
|
5625
|
+
this.minperiodS = this.datePipe.transform(this.minperiod, "YYYY-MM-dd");
|
|
5626
|
+
this.maxperiodS = this.datePipe.transform(this.maxperiod, "YYYY-MM-dd");
|
|
5615
5627
|
// Filtro minimo periodo
|
|
5616
5628
|
if (this.minperiod != null) {
|
|
5617
5629
|
this.eligibleAnswers = this.eligibleAnswers.filter(x => x.AnswerDate.split("T")[0] >= this.minperiodS);
|
|
@@ -5633,7 +5645,6 @@ class GraphsComponent {
|
|
|
5633
5645
|
});
|
|
5634
5646
|
});
|
|
5635
5647
|
setTimeout(() => { this.generated = true; }, 1000);
|
|
5636
|
-
console.log("FINAL COORDS", this.selectedGeneratedFields);
|
|
5637
5648
|
}
|
|
5638
5649
|
}
|
|
5639
5650
|
GraphsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GraphsComponent, deps: [{ token: UtilityHelperService }, { token: i6.DatePipe }], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -6007,10 +6018,10 @@ class EqpDynamicModuleComponent {
|
|
|
6007
6018
|
}
|
|
6008
6019
|
}
|
|
6009
6020
|
EqpDynamicModuleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EqpDynamicModuleComponent, deps: [{ token: UtilityHelperService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
6010
|
-
EqpDynamicModuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EqpDynamicModuleComponent, selector: "eqp-dynamic-module", inputs: { 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" }, outputs: { saveRecord: "saveRecord", deleteRecord: "deleteRecord", SaveJSON: "SaveJSON", afterFilter: "afterFilter", afterSaveRecord: "afterSaveRecord", afterDeleteRecord: "afterDeleteRecord" }, ngImport: i0, template: "<eqp-dynamic-module-spinner></eqp-dynamic-module-spinner>\r\n\r\n<!-- [record]=\"'b3d943c0-9c01-4973-948b-7aa418634f72'\" -->\r\n<view-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.VIEW\"\r\n class=\"dynamic-module-view\"\r\n [debugMode]=\"debugMode\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\"\r\n (goBackEvent)=\"onGoBack()\"\r\n>\r\n</view-form-record>\r\n\r\n<graphs\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.GRAPHS\"\r\nclass=\"dynamic-module-view\"\r\n[debugMode]=\"debugMode\"\r\n[endPointConfiguration]=\"endPointConfiguration\"\r\n[form]=\"form\"\r\n[formID]=\"formID\"\r\n[userID]=\"userID\"\r\n[configurations]=\"dynamicModuleCompileConfig\"\r\n>\r\n</graphs>\r\n\r\n<filter-form-statistic\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.FILTER\"\r\n class=\"dynamic-module-compile\"\r\n [debugMode]=\"debugMode\"\r\n [form]=\"form\"\r\n [formID]=\"formID\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [defaultListActions]=\"defaultListActions\"\r\n [filterResultViewMode]=\"filterResultViewMode\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n (afterFilter)=\"onAfterFilter($event)\"\r\n>\r\n</filter-form-statistic>\r\n\r\n<add-form-record\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.COMPILE\"\r\n class=\"dynamic-module-compile\"\r\n [debugMode]=\"debugMode\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [isDuplicate]=\"isDuplicate\"\r\n\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n [additionalParams]=\"dynamicModuleCompileConfig.additionalParams\"\r\n\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n>\r\n</add-form-record>\r\n\r\n<list-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.LIST\"\r\n class=\"dynamic-module-list\"\r\n [debugMode]=\"debugMode\"\r\n [formID]=\"formID\"\r\n\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n\r\n [configurations]=\"dynamicModuleListConfig\"\r\n [externalButtons]=\"externalButtons\"\r\n\r\n (onViewRecord)=\"onViewRecord($event)\"\r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (onAfterDeleteRecord)=\"onAfterDeleteRecord($event)\"\r\n>\r\n</list-form-record>\r\n\r\n<repair-form-fields\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.REPAIR\"\r\n class=\"dynamic-module-repair\"\r\n [debugMode]=\"debugMode\"\r\n\r\n [configurations]=\"dynamicModuleRepairConfig\"\r\n\r\n (onSaveJson)=\"onSaveJson($event)\"\r\n>\r\n</repair-form-fields>\r\n\r\n<list-view-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.LISTWIEW\"\r\n class=\"dynamic-module-list-view\"\r\n [debugMode]=\"debugMode\"\r\n [configurations]=\"dynamicModuleListConfig\"\r\n [compileConfigurations]=\"dynamicModuleCompileConfig\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [formID]=\"formID\"\r\n [userID]=\"userID\"\r\n [highlightFilter]=\"highlightFilter\"\r\n [defaultListViewFunction]=\"defaultListViewFunction\"\r\n [externalButtons]=\"externalButtons\"\r\n [onlyView]=\"!defaultListActions.edit\"\r\n\r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n</list-view-form-record>\r\n", styles: ["::ng-deep mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ListFormRecordComponent, selector: "list-form-record", inputs: ["debugMode", "configurations", "endPointConfiguration", "formID", "form", "externalButtons"], outputs: ["onViewRecord", "onAddViewEditRecord", "onDeleteRecord", "onAfterDeleteRecord"] }, { kind: "component", type: ListViewFormRecordComponent, selector: "list-view-form-record", inputs: ["debugMode", "configurations", "compileConfigurations", "endPointConfiguration", "userID", "formID", "form", "defaultListViewFunction", "externalButtons", "onlyView", "records", "highlightFilter"], outputs: ["onAddViewEditRecord", "onDeleteRecord", "saveRecordEvent", "afterSaveRecordEvent"] }, { kind: "component", type: AddFormRecordComponent, selector: "add-form-record", inputs: ["debugMode", "configurations", "endPointConfiguration", "userID", "formID", "form", "record", "onlyView", "isDuplicate", "additionalParams"], outputs: ["saveRecordEvent", "afterSaveRecordEvent"] }, { kind: "component", type: ViewFormRecordComponent, selector: "view-form-record", inputs: ["debugMode", "endPointConfiguration", "record", "showBackButton"], outputs: ["goBackEvent"] }, { kind: "component", type: SpinnerComponent, selector: "eqp-dynamic-module-spinner" }, { kind: "component", type: RepairFormFieldsComponent, selector: "repair-form-fields", inputs: ["debugMode", "configurations"], outputs: ["onSaveJson"] }, { kind: "component", type: FilterFormStatisticComponent, selector: "filter-form-statistic", inputs: ["debugMode", "configurations", "endPointConfiguration", "userID", "externalButtons", "formID", "form", "record", "onlyView", "defaultListActions", "filterResultViewMode"], outputs: ["saveRecordEvent", "afterSaveRecordEvent", "afterFilter"] }, { kind: "component", type: GraphsComponent, selector: "graphs", inputs: ["debugMode", "configurations", "endPointConfiguration", "userID", "formID", "form"] }] });
|
|
6021
|
+
EqpDynamicModuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EqpDynamicModuleComponent, selector: "eqp-dynamic-module", inputs: { 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" }, outputs: { saveRecord: "saveRecord", deleteRecord: "deleteRecord", SaveJSON: "SaveJSON", afterFilter: "afterFilter", afterSaveRecord: "afterSaveRecord", afterDeleteRecord: "afterDeleteRecord" }, ngImport: i0, template: "<eqp-dynamic-module-spinner></eqp-dynamic-module-spinner>\r\n\r\n<!-- [record]=\"'b3d943c0-9c01-4973-948b-7aa418634f72'\" -->\r\n<view-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.VIEW\"\r\n class=\"dynamic-module-view\"\r\n [debugMode]=\"debugMode\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\"\r\n (goBackEvent)=\"onGoBack()\"\r\n>\r\n</view-form-record>\r\n\r\n<graphs\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.GRAPHS\"\r\nclass=\"dynamic-module-view\"\r\n[debugMode]=\"debugMode\"\r\n[endPointConfiguration]=\"endPointConfiguration\"\r\n[form]=\"form\"\r\n[formID]=\"formID\"\r\n[userID]=\"userID\"\r\n[configurations]=\"dynamicModuleCompileConfig\"\r\n>\r\n</graphs>\r\n\r\n<filter-form-statistic\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.FILTER\"\r\n class=\"dynamic-module-compile\"\r\n [debugMode]=\"debugMode\"\r\n [form]=\"form\"\r\n [formID]=\"formID\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [defaultListActions]=\"defaultListActions\"\r\n [filterResultViewMode]=\"filterResultViewMode\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n (afterFilter)=\"onAfterFilter($event)\"\r\n>\r\n</filter-form-statistic>\r\n\r\n<add-form-record\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.COMPILE\"\r\n class=\"dynamic-module-compile\"\r\n [debugMode]=\"debugMode\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [isDuplicate]=\"isDuplicate\"\r\n\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n [additionalParams]=\"dynamicModuleCompileConfig.additionalParams\"\r\n\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n>\r\n</add-form-record>\r\n\r\n<list-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.LIST\"\r\n class=\"dynamic-module-list\"\r\n [debugMode]=\"debugMode\"\r\n [formID]=\"formID\"\r\n\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n\r\n [configurations]=\"dynamicModuleListConfig\"\r\n [externalButtons]=\"externalButtons\"\r\n\r\n (onViewRecord)=\"onViewRecord($event)\"\r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (onAfterDeleteRecord)=\"onAfterDeleteRecord($event)\"\r\n>\r\n</list-form-record>\r\n\r\n<repair-form-fields\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.REPAIR\"\r\n class=\"dynamic-module-repair\"\r\n [debugMode]=\"debugMode\"\r\n [formID]=\"formID\"\r\n\r\n [configurations]=\"dynamicModuleRepairConfig\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n\r\n (onSaveJson)=\"onSaveJson($event)\"\r\n>\r\n</repair-form-fields>\r\n\r\n<list-view-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.LISTWIEW\"\r\n class=\"dynamic-module-list-view\"\r\n [debugMode]=\"debugMode\"\r\n [configurations]=\"dynamicModuleListConfig\"\r\n [compileConfigurations]=\"dynamicModuleCompileConfig\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [formID]=\"formID\"\r\n [userID]=\"userID\"\r\n [highlightFilter]=\"highlightFilter\"\r\n [defaultListViewFunction]=\"defaultListViewFunction\"\r\n [externalButtons]=\"externalButtons\"\r\n [onlyView]=\"!defaultListActions.edit\"\r\n\r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n</list-view-form-record>\r\n", styles: ["::ng-deep mat-form-field{width:100%}\n"], dependencies: [{ kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ListFormRecordComponent, selector: "list-form-record", inputs: ["debugMode", "configurations", "endPointConfiguration", "formID", "form", "externalButtons"], outputs: ["onViewRecord", "onAddViewEditRecord", "onDeleteRecord", "onAfterDeleteRecord"] }, { kind: "component", type: ListViewFormRecordComponent, selector: "list-view-form-record", inputs: ["debugMode", "configurations", "compileConfigurations", "endPointConfiguration", "userID", "formID", "form", "defaultListViewFunction", "externalButtons", "onlyView", "records", "highlightFilter"], outputs: ["onAddViewEditRecord", "onDeleteRecord", "saveRecordEvent", "afterSaveRecordEvent"] }, { kind: "component", type: AddFormRecordComponent, selector: "add-form-record", inputs: ["debugMode", "configurations", "endPointConfiguration", "userID", "formID", "form", "record", "onlyView", "isDuplicate", "additionalParams"], outputs: ["saveRecordEvent", "afterSaveRecordEvent"] }, { kind: "component", type: ViewFormRecordComponent, selector: "view-form-record", inputs: ["debugMode", "endPointConfiguration", "record", "showBackButton"], outputs: ["goBackEvent"] }, { kind: "component", type: SpinnerComponent, selector: "eqp-dynamic-module-spinner" }, { kind: "component", type: RepairFormFieldsComponent, selector: "repair-form-fields", inputs: ["debugMode", "configurations", "formID", "endPointConfiguration"], outputs: ["onSaveJson"] }, { kind: "component", type: FilterFormStatisticComponent, selector: "filter-form-statistic", inputs: ["debugMode", "configurations", "endPointConfiguration", "userID", "externalButtons", "formID", "form", "record", "onlyView", "defaultListActions", "filterResultViewMode"], outputs: ["saveRecordEvent", "afterSaveRecordEvent", "afterFilter"] }, { kind: "component", type: GraphsComponent, selector: "graphs", inputs: ["debugMode", "configurations", "endPointConfiguration", "userID", "formID", "form"] }] });
|
|
6011
6022
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EqpDynamicModuleComponent, decorators: [{
|
|
6012
6023
|
type: Component,
|
|
6013
|
-
args: [{ selector: "eqp-dynamic-module", template: "<eqp-dynamic-module-spinner></eqp-dynamic-module-spinner>\r\n\r\n<!-- [record]=\"'b3d943c0-9c01-4973-948b-7aa418634f72'\" -->\r\n<view-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.VIEW\"\r\n class=\"dynamic-module-view\"\r\n [debugMode]=\"debugMode\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\"\r\n (goBackEvent)=\"onGoBack()\"\r\n>\r\n</view-form-record>\r\n\r\n<graphs\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.GRAPHS\"\r\nclass=\"dynamic-module-view\"\r\n[debugMode]=\"debugMode\"\r\n[endPointConfiguration]=\"endPointConfiguration\"\r\n[form]=\"form\"\r\n[formID]=\"formID\"\r\n[userID]=\"userID\"\r\n[configurations]=\"dynamicModuleCompileConfig\"\r\n>\r\n</graphs>\r\n\r\n<filter-form-statistic\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.FILTER\"\r\n class=\"dynamic-module-compile\"\r\n [debugMode]=\"debugMode\"\r\n [form]=\"form\"\r\n [formID]=\"formID\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [defaultListActions]=\"defaultListActions\"\r\n [filterResultViewMode]=\"filterResultViewMode\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n (afterFilter)=\"onAfterFilter($event)\"\r\n>\r\n</filter-form-statistic>\r\n\r\n<add-form-record\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.COMPILE\"\r\n class=\"dynamic-module-compile\"\r\n [debugMode]=\"debugMode\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [isDuplicate]=\"isDuplicate\"\r\n\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n [additionalParams]=\"dynamicModuleCompileConfig.additionalParams\"\r\n\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n>\r\n</add-form-record>\r\n\r\n<list-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.LIST\"\r\n class=\"dynamic-module-list\"\r\n [debugMode]=\"debugMode\"\r\n [formID]=\"formID\"\r\n\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n\r\n [configurations]=\"dynamicModuleListConfig\"\r\n [externalButtons]=\"externalButtons\"\r\n\r\n (onViewRecord)=\"onViewRecord($event)\"\r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (onAfterDeleteRecord)=\"onAfterDeleteRecord($event)\"\r\n>\r\n</list-form-record>\r\n\r\n<repair-form-fields\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.REPAIR\"\r\n class=\"dynamic-module-repair\"\r\n [debugMode]=\"debugMode\"\r\n\r\n [configurations]=\"dynamicModuleRepairConfig\"\r\n\r\n (onSaveJson)=\"onSaveJson($event)\"\r\n>\r\n</repair-form-fields>\r\n\r\n<list-view-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.LISTWIEW\"\r\n class=\"dynamic-module-list-view\"\r\n [debugMode]=\"debugMode\"\r\n [configurations]=\"dynamicModuleListConfig\"\r\n [compileConfigurations]=\"dynamicModuleCompileConfig\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [formID]=\"formID\"\r\n [userID]=\"userID\"\r\n [highlightFilter]=\"highlightFilter\"\r\n [defaultListViewFunction]=\"defaultListViewFunction\"\r\n [externalButtons]=\"externalButtons\"\r\n [onlyView]=\"!defaultListActions.edit\"\r\n\r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n</list-view-form-record>\r\n", styles: ["::ng-deep mat-form-field{width:100%}\n"] }]
|
|
6024
|
+
args: [{ selector: "eqp-dynamic-module", template: "<eqp-dynamic-module-spinner></eqp-dynamic-module-spinner>\r\n\r\n<!-- [record]=\"'b3d943c0-9c01-4973-948b-7aa418634f72'\" -->\r\n<view-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.VIEW\"\r\n class=\"dynamic-module-view\"\r\n [debugMode]=\"debugMode\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [record]=\"selectedRecord.ID\"\r\n (goBackEvent)=\"onGoBack()\"\r\n>\r\n</view-form-record>\r\n\r\n<graphs\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.GRAPHS\"\r\nclass=\"dynamic-module-view\"\r\n[debugMode]=\"debugMode\"\r\n[endPointConfiguration]=\"endPointConfiguration\"\r\n[form]=\"form\"\r\n[formID]=\"formID\"\r\n[userID]=\"userID\"\r\n[configurations]=\"dynamicModuleCompileConfig\"\r\n>\r\n</graphs>\r\n\r\n<filter-form-statistic\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.FILTER\"\r\n class=\"dynamic-module-compile\"\r\n [debugMode]=\"debugMode\"\r\n [form]=\"form\"\r\n [formID]=\"formID\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [defaultListActions]=\"defaultListActions\"\r\n [filterResultViewMode]=\"filterResultViewMode\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n (afterFilter)=\"onAfterFilter($event)\"\r\n>\r\n</filter-form-statistic>\r\n\r\n<add-form-record\r\n*ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.COMPILE\"\r\n class=\"dynamic-module-compile\"\r\n [debugMode]=\"debugMode\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n [isDuplicate]=\"isDuplicate\"\r\n\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [userID]=\"userID\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n [additionalParams]=\"dynamicModuleCompileConfig.additionalParams\"\r\n\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n>\r\n</add-form-record>\r\n\r\n<list-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.LIST\"\r\n class=\"dynamic-module-list\"\r\n [debugMode]=\"debugMode\"\r\n [formID]=\"formID\"\r\n\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n\r\n [configurations]=\"dynamicModuleListConfig\"\r\n [externalButtons]=\"externalButtons\"\r\n\r\n (onViewRecord)=\"onViewRecord($event)\"\r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (onAfterDeleteRecord)=\"onAfterDeleteRecord($event)\"\r\n>\r\n</list-form-record>\r\n\r\n<repair-form-fields\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.REPAIR\"\r\n class=\"dynamic-module-repair\"\r\n [debugMode]=\"debugMode\"\r\n [formID]=\"formID\"\r\n\r\n [configurations]=\"dynamicModuleRepairConfig\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n\r\n (onSaveJson)=\"onSaveJson($event)\"\r\n>\r\n</repair-form-fields>\r\n\r\n<list-view-form-record\r\n *ngIf=\"loader && viewMode == dynamicModuleViewModeEnum.LISTWIEW\"\r\n class=\"dynamic-module-list-view\"\r\n [debugMode]=\"debugMode\"\r\n [configurations]=\"dynamicModuleListConfig\"\r\n [compileConfigurations]=\"dynamicModuleCompileConfig\"\r\n [endPointConfiguration]=\"endPointConfiguration\"\r\n [formID]=\"formID\"\r\n [userID]=\"userID\"\r\n [highlightFilter]=\"highlightFilter\"\r\n [defaultListViewFunction]=\"defaultListViewFunction\"\r\n [externalButtons]=\"externalButtons\"\r\n [onlyView]=\"!defaultListActions.edit\"\r\n\r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n (afterSaveRecordEvent)=\"onAfterSaveRecord($event)\"\r\n >\r\n</list-view-form-record>\r\n", styles: ["::ng-deep mat-form-field{width:100%}\n"] }]
|
|
6014
6025
|
}], ctorParameters: function () { return [{ type: UtilityHelperService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { debugMode: [{
|
|
6015
6026
|
type: Input
|
|
6016
6027
|
}], configurations: [{
|