@eqproject/eqp-dynamic-module 2.0.3 → 2.0.4
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/README.md +1 -1
- package/esm2020/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.mjs +32 -20
- package/esm2020/lib/components/private/dynamic-module-field/dynamic-module-field.component.mjs +3 -3
- package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +3 -3
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +5 -4
- package/esm2020/lib/components/private/form-records/list-form-record/list-form-record.component.mjs +5 -5
- package/esm2020/lib/models/DynamicModuleViewModeEnum.mjs +7 -0
- package/esm2020/lib/models/dynamicModuleCompileConfig.model.mjs +3 -3
- package/esm2020/lib/models/dynamicModuleGeneralConfig.model.mjs +2 -2
- package/esm2020/lib/models/dynamicModuleListConfig.model.mjs +3 -7
- package/esm2020/lib/models/dynamicModuleListFormRecordActionsDefault.mjs +10 -0
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +58 -49
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +58 -49
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.d.ts +8 -6
- package/lib/components/private/form-records/add-form-record/add-form-record.component.d.ts +1 -0
- package/lib/components/private/form-records/list-form-record/list-form-record.component.d.ts +2 -2
- package/lib/models/DynamicModuleViewModeEnum.d.ts +5 -0
- package/lib/models/dynamicModuleCompileConfig.model.d.ts +5 -5
- package/lib/models/dynamicModuleListConfig.model.d.ts +3 -3
- package/lib/models/dynamicModuleListFormRecordActionsDefault.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/esm2020/lib/models/DynamicMoDuleViewModeEnum.mjs +0 -7
- package/esm2020/lib/models/listFormRecordActionsDefault.mjs +0 -9
- package/lib/models/DynamicMoDuleViewModeEnum.d.ts +0 -5
- package/lib/models/listFormRecordActionsDefault.d.ts +0 -7
|
@@ -73,16 +73,17 @@ class ContextUser {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
class DynamicModuleCompileConfig {
|
|
76
|
-
constructor(showTitle = true,
|
|
76
|
+
constructor(showTitle = true, showSaveButton = true, showBackButton = true, userID = "0") {
|
|
77
77
|
this.showTitle = showTitle;
|
|
78
|
-
this.userMode = userMode;
|
|
79
78
|
this.showSaveButton = showSaveButton;
|
|
79
|
+
this.showBackButton = showBackButton;
|
|
80
80
|
this.userID = userID;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
85
|
-
constructor(view = true, edit = true, duplicate = true, del = true) {
|
|
84
|
+
class DynamicModuleListFormRecordActionsDefault {
|
|
85
|
+
constructor(add = true, view = true, edit = true, duplicate = true, del = true) {
|
|
86
|
+
this.add = add;
|
|
86
87
|
this.view = view;
|
|
87
88
|
this.edit = edit;
|
|
88
89
|
this.duplicate = duplicate;
|
|
@@ -91,15 +92,11 @@ class listFormRecordActionsDefault {
|
|
|
91
92
|
}
|
|
92
93
|
|
|
93
94
|
class DynamicModuleListConfig {
|
|
94
|
-
constructor(showTitle = true, values = null, defaultListActions = new
|
|
95
|
+
constructor(showTitle = true, values = null, defaultListActions = new DynamicModuleListFormRecordActionsDefault()) {
|
|
95
96
|
/**
|
|
96
97
|
* Show/Hide module name in COMPILE/LIST
|
|
97
98
|
*/
|
|
98
99
|
this.showTitle = true;
|
|
99
|
-
/**
|
|
100
|
-
* Lista delle azioni di default da mostrare per visualizzare/modificare/duplicare/eliminare in LIST MODE
|
|
101
|
-
*/
|
|
102
|
-
this.defaultListActions = new listFormRecordActionsDefault();
|
|
103
100
|
this.showTitle = showTitle;
|
|
104
101
|
this.values = values;
|
|
105
102
|
this.defaultListActions = defaultListActions;
|
|
@@ -116,12 +113,12 @@ class DynamicModuleRepairConfig {
|
|
|
116
113
|
}
|
|
117
114
|
}
|
|
118
115
|
|
|
119
|
-
var
|
|
120
|
-
(function (
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
})(
|
|
116
|
+
var DynamicModuleViewModeEnum$1;
|
|
117
|
+
(function (DynamicModuleViewModeEnum) {
|
|
118
|
+
DynamicModuleViewModeEnum[DynamicModuleViewModeEnum["COMPILE"] = 1] = "COMPILE";
|
|
119
|
+
DynamicModuleViewModeEnum[DynamicModuleViewModeEnum["LIST"] = 2] = "LIST";
|
|
120
|
+
DynamicModuleViewModeEnum[DynamicModuleViewModeEnum["REPAIR"] = 3] = "REPAIR";
|
|
121
|
+
})(DynamicModuleViewModeEnum$1 || (DynamicModuleViewModeEnum$1 = {}));
|
|
125
122
|
|
|
126
123
|
class EndPointConfiguration {
|
|
127
124
|
}
|
|
@@ -832,7 +829,7 @@ var DateTimeTypeEnum;
|
|
|
832
829
|
|
|
833
830
|
class ListFormRecordComponent {
|
|
834
831
|
constructor() {
|
|
835
|
-
this.defaultListActions = new
|
|
832
|
+
this.defaultListActions = new DynamicModuleListFormRecordActionsDefault();
|
|
836
833
|
this.showTitle = true;
|
|
837
834
|
this.columns = new Array();
|
|
838
835
|
this.onAddViewEditRecord = new EventEmitter();
|
|
@@ -1031,10 +1028,10 @@ class ListFormRecordComponent {
|
|
|
1031
1028
|
}
|
|
1032
1029
|
}
|
|
1033
1030
|
ListFormRecordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ListFormRecordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1034
|
-
ListFormRecordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: ListFormRecordComponent, selector: "list-form-record", inputs: { configurations: "configurations", form: "form" }, outputs: { onAddViewEditRecord: "onAddViewEditRecord", onDeleteRecord: "onDeleteRecord", onDuplicateRecord: "onDuplicateRecord" }, viewQueries: [{ propertyName: "tableRecords", first: true, predicate: ["tableRecords"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"row eqp-dynamic-module-title\">\r\n <div class=\"col-md-6\">\r\n <h4 *ngIf=\"showTitle\"><b>Elenco {{form.Name}}</b></h4>\r\n </div>\r\n <div class=\"col-md-6 text-right\">\r\n <button class=\"btn btn-primary\" mat-raised-button color=\"primary\" type=\"button\" (click)=\"onAddViewEditRecord.emit(null)\">\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px;\">Aggiungi</span>\r\n </button>\r\n </div>\r\n</div>\r\n\r\n
|
|
1031
|
+
ListFormRecordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: ListFormRecordComponent, selector: "list-form-record", inputs: { configurations: "configurations", form: "form" }, outputs: { onAddViewEditRecord: "onAddViewEditRecord", onDeleteRecord: "onDeleteRecord", onDuplicateRecord: "onDuplicateRecord" }, viewQueries: [{ propertyName: "tableRecords", first: true, predicate: ["tableRecords"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"row eqp-dynamic-module-title\">\r\n <div class=\"col-md-6\">\r\n <h4 *ngIf=\"showTitle\"><b>Elenco {{form.Name}}</b></h4>\r\n </div>\r\n <div class=\"col-md-6 text-right\" *ngIf=\"defaultListActions.add\">\r\n <button class=\"btn btn-primary\" mat-raised-button color=\"primary\" type=\"button\" (click)=\"onAddViewEditRecord.emit(null)\">\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px;\">Aggiungi</span>\r\n </button>\r\n </div>\r\n</div>\r\n\r\n<eqp-table #tableRecords [data]=\"configurations.values\" [columns]=\"columns\"></eqp-table>", styles: ["::ng-deep .error-color{color:var(--danger)}::ng-deep .success-color{color:var(--success)}\n"], dependencies: [{ kind: "component", type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4$1.EqpTableComponent, selector: "eqp-table" }] });
|
|
1035
1032
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: ListFormRecordComponent, decorators: [{
|
|
1036
1033
|
type: Component,
|
|
1037
|
-
args: [{ selector: 'list-form-record', template: "<div class=\"row eqp-dynamic-module-title\">\r\n <div class=\"col-md-6\">\r\n <h4 *ngIf=\"showTitle\"><b>Elenco {{form.Name}}</b></h4>\r\n </div>\r\n <div class=\"col-md-6 text-right\">\r\n <button class=\"btn btn-primary\" mat-raised-button color=\"primary\" type=\"button\" (click)=\"onAddViewEditRecord.emit(null)\">\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px;\">Aggiungi</span>\r\n </button>\r\n </div>\r\n</div>\r\n\r\n
|
|
1034
|
+
args: [{ selector: 'list-form-record', template: "<div class=\"row eqp-dynamic-module-title\">\r\n <div class=\"col-md-6\">\r\n <h4 *ngIf=\"showTitle\"><b>Elenco {{form.Name}}</b></h4>\r\n </div>\r\n <div class=\"col-md-6 text-right\" *ngIf=\"defaultListActions.add\">\r\n <button class=\"btn btn-primary\" mat-raised-button color=\"primary\" type=\"button\" (click)=\"onAddViewEditRecord.emit(null)\">\r\n <mat-icon>add</mat-icon>\r\n <span style=\"margin-left: 10px;\">Aggiungi</span>\r\n </button>\r\n </div>\r\n</div>\r\n\r\n<eqp-table #tableRecords [data]=\"configurations.values\" [columns]=\"columns\"></eqp-table>", styles: ["::ng-deep .error-color{color:var(--danger)}::ng-deep .success-color{color:var(--success)}\n"] }]
|
|
1038
1035
|
}], ctorParameters: function () { return []; }, propDecorators: { configurations: [{
|
|
1039
1036
|
type: Input
|
|
1040
1037
|
}], form: [{
|
|
@@ -2066,7 +2063,7 @@ class DynamicModuleFieldFixComponent {
|
|
|
2066
2063
|
ngOnInit() {
|
|
2067
2064
|
this.configList.values = this.record[this.field.Name];
|
|
2068
2065
|
this.configList.showTitle = true;
|
|
2069
|
-
this.configList.defaultListActions = new
|
|
2066
|
+
this.configList.defaultListActions = new DynamicModuleListFormRecordActionsDefault();
|
|
2070
2067
|
}
|
|
2071
2068
|
/**
|
|
2072
2069
|
* Metodo invocato al cambio del valore di ogni proprietà dell'oggetto record.
|
|
@@ -2175,6 +2172,7 @@ class AddFormRecordComponent {
|
|
|
2175
2172
|
this.form = new Form();
|
|
2176
2173
|
this.showTitle = true;
|
|
2177
2174
|
this.showSaveButton = true;
|
|
2175
|
+
this.showBackButton = true;
|
|
2178
2176
|
this.userMode = true;
|
|
2179
2177
|
this.fieldGroups = {};
|
|
2180
2178
|
this.FormScalarTypeEnum = FormScalarTypeEnum;
|
|
@@ -2184,7 +2182,7 @@ class AddFormRecordComponent {
|
|
|
2184
2182
|
ngOnInit() {
|
|
2185
2183
|
this.showTitle = this.configurations.showTitle;
|
|
2186
2184
|
this.showSaveButton = this.configurations.showSaveButton;
|
|
2187
|
-
this.
|
|
2185
|
+
this.showBackButton = this.configurations.showBackButton;
|
|
2188
2186
|
if (this.record == null) {
|
|
2189
2187
|
this.record = new Record();
|
|
2190
2188
|
}
|
|
@@ -2263,10 +2261,10 @@ class AddFormRecordComponent {
|
|
|
2263
2261
|
}
|
|
2264
2262
|
}
|
|
2265
2263
|
AddFormRecordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: AddFormRecordComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: UtilityHelperService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2266
|
-
AddFormRecordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: AddFormRecordComponent, selector: "add-form-record", inputs: { configurations: "configurations", form: "form", record: "record", onlyView: "onlyView" }, outputs: { saveRecordEvent: "saveRecordEvent" }, viewQueries: [{ propertyName: "fieldTemplate", predicate: ["fieldTemplate"], descendants: true }], ngImport: i0, template: "<div class=\"row eqp-dynamic-module-title\" *ngIf=\"showTitle\">\r\n <div class=\"col-md-12\">\r\n <h4><b>{{form.Name}}</b></h4>\r\n </div>\r\n</div>\r\n\r\n<form [formGroup]=\"formForm\">\r\n\r\n <!-- VISUALIZZAZIONE SEMPLICE -->\r\n <ng-container *ngIf=\"form.FormScalarType == FormScalarTypeEnum.Semplice\" \r\n [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: form.Fields }\">\r\n </ng-container>\r\n\r\n <!-- VISUALIZZAZIONE A STEPPER -->\r\n <mat-horizontal-stepper linear *ngIf=\"form.FormScalarType == FormScalarTypeEnum['A step']\">\r\n <mat-step *ngFor=\"let group of form.FormFieldsGroups\">\r\n <ng-template matStepLabel>\r\n {{group.Name}}\r\n </ng-template>\r\n\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </mat-step>\r\n </mat-horizontal-stepper>\r\n\r\n <!-- VISUALIZZAZIONE A TAB -->\r\n <mat-tab-group *ngIf=\"form.FormScalarType == FormScalarTypeEnum['In tab']\">\r\n <mat-tab *ngFor=\"let group of form.FormFieldsGroups\" [label]=\"group.Name\">\r\n <div class=\"mt-3\">\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </div>\r\n </mat-tab>\r\n </mat-tab-group>\r\n\r\n <!-- VISUALIZZAZIONE AD ACCORDION -->\r\n <mat-accordion multi *ngIf=\"form.FormScalarType == FormScalarTypeEnum['In accordion']\">\r\n <mat-expansion-panel *ngFor=\"let group of form.FormFieldsGroups\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{group.Name}}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n</form>\r\n\r\n<div class=\"row mt-2\" *ngIf=\"
|
|
2264
|
+
AddFormRecordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: AddFormRecordComponent, selector: "add-form-record", inputs: { configurations: "configurations", form: "form", record: "record", onlyView: "onlyView" }, outputs: { saveRecordEvent: "saveRecordEvent" }, viewQueries: [{ propertyName: "fieldTemplate", predicate: ["fieldTemplate"], descendants: true }], ngImport: i0, template: "<div class=\"row eqp-dynamic-module-title\" *ngIf=\"showTitle\">\r\n <div class=\"col-md-12\">\r\n <h4><b>{{form.Name}}</b></h4>\r\n </div>\r\n</div>\r\n\r\n<form [formGroup]=\"formForm\">\r\n\r\n <!-- VISUALIZZAZIONE SEMPLICE -->\r\n <ng-container *ngIf=\"form.FormScalarType == FormScalarTypeEnum.Semplice\" \r\n [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: form.Fields }\">\r\n </ng-container>\r\n\r\n <!-- VISUALIZZAZIONE A STEPPER -->\r\n <mat-horizontal-stepper linear *ngIf=\"form.FormScalarType == FormScalarTypeEnum['A step']\">\r\n <mat-step *ngFor=\"let group of form.FormFieldsGroups\">\r\n <ng-template matStepLabel>\r\n {{group.Name}}\r\n </ng-template>\r\n\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </mat-step>\r\n </mat-horizontal-stepper>\r\n\r\n <!-- VISUALIZZAZIONE A TAB -->\r\n <mat-tab-group *ngIf=\"form.FormScalarType == FormScalarTypeEnum['In tab']\">\r\n <mat-tab *ngFor=\"let group of form.FormFieldsGroups\" [label]=\"group.Name\">\r\n <div class=\"mt-3\">\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </div>\r\n </mat-tab>\r\n </mat-tab-group>\r\n\r\n <!-- VISUALIZZAZIONE AD ACCORDION -->\r\n <mat-accordion multi *ngIf=\"form.FormScalarType == FormScalarTypeEnum['In accordion']\">\r\n <mat-expansion-panel *ngFor=\"let group of form.FormFieldsGroups\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{group.Name}}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n</form>\r\n\r\n<div class=\"row mt-2\" *ngIf=\"showBackButton || showSaveButton\">\r\n <div class=\"col-sm-12 text-right\">\r\n <button class=\"mr-2\" mat-raised-button type=\"button\"\r\n *ngIf=\"showBackButton\"\r\n (click)=\"saveOrExitForm(true)\">\r\n Annulla\r\n </button>\r\n <button class=\"mr-2\" mat-raised-button color=\"primary\" type=\"button\"\r\n *ngIf=\"showSaveButton\"\r\n (click)=\"saveOrExitForm(false)\"\r\n [disabled]=\"formForm.invalid || formForm.disabled\">\r\n Salva\r\n </button>\r\n </div>\r\n</div>\r\n\r\n<!-- TEMPLATE PER LA VISUALIZZAZIONE DEI CAMPI DELLA FORM -->\r\n<ng-template #fieldTemplates let-fields='fields'>\r\n <div class=\"row\">\r\n <div class=\"mt-2\" \r\n *ngFor=\"let field of fields\" \r\n [hidden]=\"!field.InListView\" \r\n [ngClass]=\"utilityService.getFieldSyleClass(field)\">\r\n <dynamic-module-field-fix #fieldTemplate \r\n [field]=\"field\" \r\n [form]=\"form\" \r\n [record]=\"record\"\r\n (recordChange)=\"onRecordChange()\">\r\n </dynamic-module-field-fix>\r\n </div>\r\n </div>\r\n</ng-template>", styles: [""], dependencies: [{ kind: "component", type: i2$1.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatStep, selector: "mat-step", inputs: ["color"], exportAs: ["matStep"] }, { kind: "directive", type: i9.MatStepLabel, selector: "[matStepLabel]" }, { kind: "component", type: i9.MatStepper, selector: "mat-stepper, mat-vertical-stepper, mat-horizontal-stepper, [matStepper]", inputs: ["selectedIndex", "disableRipple", "color", "labelPosition", "headerPosition", "animationDuration"], outputs: ["animationDone"], exportAs: ["matStepper", "matVerticalStepper", "matHorizontalStepper"] }, { kind: "component", type: i4$3.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i4$3.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "directive", type: i5$1.MatAccordion, selector: "mat-accordion", inputs: ["multi", "hideToggle", "displayMode", "togglePosition"], exportAs: ["matAccordion"] }, { kind: "component", type: i5$1.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i5$1.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i5$1.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: DynamicModuleFieldFixComponent, selector: "dynamic-module-field-fix", inputs: ["field", "form", "record"], outputs: ["recordChange"] }] });
|
|
2267
2265
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: AddFormRecordComponent, decorators: [{
|
|
2268
2266
|
type: Component,
|
|
2269
|
-
args: [{ selector: 'add-form-record', template: "<div class=\"row eqp-dynamic-module-title\" *ngIf=\"showTitle\">\r\n <div class=\"col-md-12\">\r\n <h4><b>{{form.Name}}</b></h4>\r\n </div>\r\n</div>\r\n\r\n<form [formGroup]=\"formForm\">\r\n\r\n <!-- VISUALIZZAZIONE SEMPLICE -->\r\n <ng-container *ngIf=\"form.FormScalarType == FormScalarTypeEnum.Semplice\" \r\n [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: form.Fields }\">\r\n </ng-container>\r\n\r\n <!-- VISUALIZZAZIONE A STEPPER -->\r\n <mat-horizontal-stepper linear *ngIf=\"form.FormScalarType == FormScalarTypeEnum['A step']\">\r\n <mat-step *ngFor=\"let group of form.FormFieldsGroups\">\r\n <ng-template matStepLabel>\r\n {{group.Name}}\r\n </ng-template>\r\n\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </mat-step>\r\n </mat-horizontal-stepper>\r\n\r\n <!-- VISUALIZZAZIONE A TAB -->\r\n <mat-tab-group *ngIf=\"form.FormScalarType == FormScalarTypeEnum['In tab']\">\r\n <mat-tab *ngFor=\"let group of form.FormFieldsGroups\" [label]=\"group.Name\">\r\n <div class=\"mt-3\">\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </div>\r\n </mat-tab>\r\n </mat-tab-group>\r\n\r\n <!-- VISUALIZZAZIONE AD ACCORDION -->\r\n <mat-accordion multi *ngIf=\"form.FormScalarType == FormScalarTypeEnum['In accordion']\">\r\n <mat-expansion-panel *ngFor=\"let group of form.FormFieldsGroups\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{group.Name}}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n</form>\r\n\r\n<div class=\"row mt-2\" *ngIf=\"
|
|
2267
|
+
args: [{ selector: 'add-form-record', template: "<div class=\"row eqp-dynamic-module-title\" *ngIf=\"showTitle\">\r\n <div class=\"col-md-12\">\r\n <h4><b>{{form.Name}}</b></h4>\r\n </div>\r\n</div>\r\n\r\n<form [formGroup]=\"formForm\">\r\n\r\n <!-- VISUALIZZAZIONE SEMPLICE -->\r\n <ng-container *ngIf=\"form.FormScalarType == FormScalarTypeEnum.Semplice\" \r\n [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: form.Fields }\">\r\n </ng-container>\r\n\r\n <!-- VISUALIZZAZIONE A STEPPER -->\r\n <mat-horizontal-stepper linear *ngIf=\"form.FormScalarType == FormScalarTypeEnum['A step']\">\r\n <mat-step *ngFor=\"let group of form.FormFieldsGroups\">\r\n <ng-template matStepLabel>\r\n {{group.Name}}\r\n </ng-template>\r\n\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </mat-step>\r\n </mat-horizontal-stepper>\r\n\r\n <!-- VISUALIZZAZIONE A TAB -->\r\n <mat-tab-group *ngIf=\"form.FormScalarType == FormScalarTypeEnum['In tab']\">\r\n <mat-tab *ngFor=\"let group of form.FormFieldsGroups\" [label]=\"group.Name\">\r\n <div class=\"mt-3\">\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </div>\r\n </mat-tab>\r\n </mat-tab-group>\r\n\r\n <!-- VISUALIZZAZIONE AD ACCORDION -->\r\n <mat-accordion multi *ngIf=\"form.FormScalarType == FormScalarTypeEnum['In accordion']\">\r\n <mat-expansion-panel *ngFor=\"let group of form.FormFieldsGroups\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>\r\n {{group.Name}}\r\n </mat-panel-title>\r\n </mat-expansion-panel-header>\r\n\r\n <ng-container [ngTemplateOutlet]=\"fieldTemplates\"\r\n [ngTemplateOutletContext]=\"{ fields: fieldGroups[group.Name] }\">\r\n </ng-container>\r\n </mat-expansion-panel>\r\n </mat-accordion>\r\n</form>\r\n\r\n<div class=\"row mt-2\" *ngIf=\"showBackButton || showSaveButton\">\r\n <div class=\"col-sm-12 text-right\">\r\n <button class=\"mr-2\" mat-raised-button type=\"button\"\r\n *ngIf=\"showBackButton\"\r\n (click)=\"saveOrExitForm(true)\">\r\n Annulla\r\n </button>\r\n <button class=\"mr-2\" mat-raised-button color=\"primary\" type=\"button\"\r\n *ngIf=\"showSaveButton\"\r\n (click)=\"saveOrExitForm(false)\"\r\n [disabled]=\"formForm.invalid || formForm.disabled\">\r\n Salva\r\n </button>\r\n </div>\r\n</div>\r\n\r\n<!-- TEMPLATE PER LA VISUALIZZAZIONE DEI CAMPI DELLA FORM -->\r\n<ng-template #fieldTemplates let-fields='fields'>\r\n <div class=\"row\">\r\n <div class=\"mt-2\" \r\n *ngFor=\"let field of fields\" \r\n [hidden]=\"!field.InListView\" \r\n [ngClass]=\"utilityService.getFieldSyleClass(field)\">\r\n <dynamic-module-field-fix #fieldTemplate \r\n [field]=\"field\" \r\n [form]=\"form\" \r\n [record]=\"record\"\r\n (recordChange)=\"onRecordChange()\">\r\n </dynamic-module-field-fix>\r\n </div>\r\n </div>\r\n</ng-template>" }]
|
|
2270
2268
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: UtilityHelperService }]; }, propDecorators: { configurations: [{
|
|
2271
2269
|
type: Input
|
|
2272
2270
|
}], form: [{
|
|
@@ -2331,13 +2329,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
|
|
|
2331
2329
|
class EqpDynamicModuleComponent {
|
|
2332
2330
|
constructor(utilityHelperService) {
|
|
2333
2331
|
this.utilityHelperService = utilityHelperService;
|
|
2334
|
-
this.starterViewMode =
|
|
2332
|
+
this.starterViewMode = DynamicModuleViewModeEnum$1.LIST;
|
|
2335
2333
|
this.userID = "0";
|
|
2336
2334
|
this.showTitle = true;
|
|
2337
|
-
this.
|
|
2335
|
+
this.showBackButton = true;
|
|
2338
2336
|
this.showSaveButton = true;
|
|
2339
2337
|
this.values = null;
|
|
2340
2338
|
this.FormJSON = "";
|
|
2339
|
+
this.defaultListActions = new DynamicModuleListFormRecordActionsDefault();
|
|
2341
2340
|
this.context = new Context();
|
|
2342
2341
|
/**
|
|
2343
2342
|
* Url del server da chiamare per recuperare, salvare o eliminare i record.
|
|
@@ -2357,7 +2356,7 @@ class EqpDynamicModuleComponent {
|
|
|
2357
2356
|
*/
|
|
2358
2357
|
this.endPointConfiguration = null;
|
|
2359
2358
|
//@Input() form: Form = new Form();
|
|
2360
|
-
// defaultListActions:
|
|
2359
|
+
// defaultListActions: dynamicModuleListFormRecordActionsDefault = new dynamicModuleListFormRecordActionsDefault();
|
|
2361
2360
|
// FormJSON: string = "";
|
|
2362
2361
|
/**
|
|
2363
2362
|
* Eventi emessi quando si salva, elimina o duplica un record
|
|
@@ -2377,12 +2376,12 @@ class EqpDynamicModuleComponent {
|
|
|
2377
2376
|
this.form = new Form();
|
|
2378
2377
|
this.lastform = new Form();
|
|
2379
2378
|
this.FormTypeEnum = FormTypeEnum;
|
|
2380
|
-
this.
|
|
2379
|
+
this.DynamicModuleViewModeEnum = DynamicModuleViewModeEnum$1;
|
|
2381
2380
|
this.loader = false;
|
|
2382
2381
|
}
|
|
2383
2382
|
async ngOnInit() {
|
|
2384
|
-
this.dynamicModuleCompileConfig = new DynamicModuleCompileConfig(this.showTitle, this.
|
|
2385
|
-
this.dynamicModuleListConfig = new DynamicModuleListConfig(this.showTitle, this.values);
|
|
2383
|
+
this.dynamicModuleCompileConfig = new DynamicModuleCompileConfig(this.showTitle, this.showSaveButton, this.showBackButton, this.userID);
|
|
2384
|
+
this.dynamicModuleListConfig = new DynamicModuleListConfig(this.showTitle, this.values, this.defaultListActions);
|
|
2386
2385
|
this.dynamicModuleRepairConfig = new DynamicModuleRepairConfig(this.FormJSON);
|
|
2387
2386
|
this.context = this.configurations.context;
|
|
2388
2387
|
this.baseServerUrl =
|
|
@@ -2398,13 +2397,16 @@ class EqpDynamicModuleComponent {
|
|
|
2398
2397
|
// prende il form e imposta la viewmode corretta
|
|
2399
2398
|
await this.getFormByID();
|
|
2400
2399
|
}
|
|
2401
|
-
this.loader = true;
|
|
2402
2400
|
}
|
|
2403
2401
|
ngAfterViewInit() {
|
|
2404
|
-
if (this.starterViewMode ==
|
|
2402
|
+
if (this.starterViewMode == DynamicModuleViewModeEnum$1.COMPILE) {
|
|
2405
2403
|
// da vedere in getFormByID
|
|
2406
2404
|
setTimeout(() => this.onAddViewEditRecord(null), 1000);
|
|
2407
2405
|
}
|
|
2406
|
+
else {
|
|
2407
|
+
this.viewMode = this.starterViewMode;
|
|
2408
|
+
this.loader = true;
|
|
2409
|
+
}
|
|
2408
2410
|
}
|
|
2409
2411
|
getFormByID(id = this.formID) {
|
|
2410
2412
|
const dynamicModuleParams = new Array();
|
|
@@ -2417,7 +2419,7 @@ class EqpDynamicModuleComponent {
|
|
|
2417
2419
|
this.lastform = res;
|
|
2418
2420
|
this.form = res;
|
|
2419
2421
|
this.getRecordsByFormID();
|
|
2420
|
-
// if (this.starterViewMode ==
|
|
2422
|
+
// if (this.starterViewMode == DynamicModuleViewModeEnum.COMPILE) {
|
|
2421
2423
|
// this.onAddViewEditRecord(null);
|
|
2422
2424
|
// }
|
|
2423
2425
|
// this.viewMode = this.starterViewMode;
|
|
@@ -2510,13 +2512,15 @@ class EqpDynamicModuleComponent {
|
|
|
2510
2512
|
this.selectedRecord.ID = res.ID;
|
|
2511
2513
|
this.selectedRecord.EntID = res.EntID;
|
|
2512
2514
|
this.selectedRecord.userID = res.userID;
|
|
2513
|
-
this.viewMode =
|
|
2515
|
+
this.viewMode = DynamicModuleViewModeEnum$1.COMPILE;
|
|
2516
|
+
this.loader = true;
|
|
2514
2517
|
});
|
|
2515
2518
|
});
|
|
2516
2519
|
}
|
|
2517
2520
|
else {
|
|
2518
2521
|
this.selectedRecord = JSON.parse(JSON.stringify(event.record));
|
|
2519
|
-
this.viewMode =
|
|
2522
|
+
this.viewMode = DynamicModuleViewModeEnum$1.COMPILE;
|
|
2523
|
+
this.loader = true;
|
|
2520
2524
|
}
|
|
2521
2525
|
}
|
|
2522
2526
|
else {
|
|
@@ -2530,11 +2534,12 @@ class EqpDynamicModuleComponent {
|
|
|
2530
2534
|
this.form = res;
|
|
2531
2535
|
this.selectedRecord = null;
|
|
2532
2536
|
this.onlyView = false;
|
|
2533
|
-
this.viewMode =
|
|
2537
|
+
this.viewMode = DynamicModuleViewModeEnum$1.COMPILE;
|
|
2538
|
+
this.loader = true;
|
|
2534
2539
|
}, (err) => { });
|
|
2535
2540
|
// this.selectedRecord = null;
|
|
2536
2541
|
// this.onlyView = false;
|
|
2537
|
-
// this.viewMode =
|
|
2542
|
+
// this.viewMode = DynamicModuleViewModeEnum.COMPILE;
|
|
2538
2543
|
}
|
|
2539
2544
|
}
|
|
2540
2545
|
/**
|
|
@@ -2563,12 +2568,14 @@ class EqpDynamicModuleComponent {
|
|
|
2563
2568
|
this.utilityHelperService.RunEndPointCall(this.endPointConfiguration.Records.SaveEndPoint, dynamicModuleParams, (res) => {
|
|
2564
2569
|
this.getRecordsByFormID();
|
|
2565
2570
|
this.afterSaveRecord.emit(event);
|
|
2566
|
-
this.viewMode =
|
|
2571
|
+
this.viewMode = DynamicModuleViewModeEnum$1.LIST;
|
|
2572
|
+
this.loader = true;
|
|
2567
2573
|
});
|
|
2568
2574
|
}
|
|
2569
2575
|
else {
|
|
2570
2576
|
this.saveRecord.emit(event);
|
|
2571
|
-
this.viewMode =
|
|
2577
|
+
this.viewMode = DynamicModuleViewModeEnum$1.LIST;
|
|
2578
|
+
this.loader = true;
|
|
2572
2579
|
}
|
|
2573
2580
|
}
|
|
2574
2581
|
/**
|
|
@@ -2630,10 +2637,10 @@ class EqpDynamicModuleComponent {
|
|
|
2630
2637
|
}
|
|
2631
2638
|
}
|
|
2632
2639
|
EqpDynamicModuleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: EqpDynamicModuleComponent, deps: [{ token: UtilityHelperService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2633
|
-
EqpDynamicModuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: EqpDynamicModuleComponent, selector: "eqp-dynamic-module", inputs: { configurations: "configurations", formID: "formID", starterViewMode: "starterViewMode", userID: "userID", showTitle: "showTitle",
|
|
2640
|
+
EqpDynamicModuleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.8", type: EqpDynamicModuleComponent, selector: "eqp-dynamic-module", inputs: { configurations: "configurations", formID: "formID", starterViewMode: "starterViewMode", userID: "userID", showTitle: "showTitle", showBackButton: "showBackButton", showSaveButton: "showSaveButton", values: "values", FormJSON: "FormJSON", defaultListActions: "defaultListActions" }, outputs: { saveRecord: "saveRecord", deleteRecord: "deleteRecord", duplicateRecord: "duplicateRecord", SaveJSON: "SaveJSON", afterSaveRecord: "afterSaveRecord", afterDeleteRecord: "afterDeleteRecord", afterDuplicateRecord: "afterDuplicateRecord" }, ngImport: i0, template: "<eqp-dynamic-module-spinner></eqp-dynamic-module-spinner>\r\n<add-form-record\r\n *ngIf=\"loader && viewMode == DynamicModuleViewModeEnum.COMPILE\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n>\r\n</add-form-record>\r\n\r\n<list-form-record\r\n *ngIf=\"loader && viewMode == DynamicModuleViewModeEnum.LIST && dynamicModuleListConfig.values\"\r\n [form]=\"lastform\"\r\n\r\n [configurations]=\"dynamicModuleListConfig\"\r\n \r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (onDuplicateRecord)=\"onDuplicateRecord($event)\"\r\n>\r\n</list-form-record>\r\n\r\n<repair-form-fields\r\n *ngIf=\"loader && viewMode == DynamicModuleViewModeEnum.REPAIR\"\r\n\r\n [configurations]=\"dynamicModuleRepairConfig\"\r\n \r\n (onSaveJson)=\"onSaveJson($event)\"\r\n>\r\n</repair-form-fields>\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: ["configurations", "form"], outputs: ["onAddViewEditRecord", "onDeleteRecord", "onDuplicateRecord"] }, { kind: "component", type: AddFormRecordComponent, selector: "add-form-record", inputs: ["configurations", "form", "record", "onlyView"], outputs: ["saveRecordEvent"] }, { kind: "component", type: SpinnerComponent, selector: "eqp-dynamic-module-spinner" }, { kind: "component", type: RepairFormFieldsComponent, selector: "repair-form-fields", inputs: ["configurations"], outputs: ["onSaveJson"] }] });
|
|
2634
2641
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImport: i0, type: EqpDynamicModuleComponent, decorators: [{
|
|
2635
2642
|
type: Component,
|
|
2636
|
-
args: [{ selector: "eqp-dynamic-module", template: "<eqp-dynamic-module-spinner></eqp-dynamic-module-spinner>\r\n<add-form-record\r\n *ngIf=\"viewMode ==
|
|
2643
|
+
args: [{ selector: "eqp-dynamic-module", template: "<eqp-dynamic-module-spinner></eqp-dynamic-module-spinner>\r\n<add-form-record\r\n *ngIf=\"loader && viewMode == DynamicModuleViewModeEnum.COMPILE\"\r\n [form]=\"form\"\r\n [record]=\"selectedRecord\"\r\n [onlyView]=\"onlyView\"\r\n\r\n [configurations]=\"dynamicModuleCompileConfig\"\r\n\r\n (saveRecordEvent)=\"onSaveRecord($event)\"\r\n>\r\n</add-form-record>\r\n\r\n<list-form-record\r\n *ngIf=\"loader && viewMode == DynamicModuleViewModeEnum.LIST && dynamicModuleListConfig.values\"\r\n [form]=\"lastform\"\r\n\r\n [configurations]=\"dynamicModuleListConfig\"\r\n \r\n (onAddViewEditRecord)=\"onAddViewEditRecord($event)\"\r\n (onDeleteRecord)=\"onDeleteRecord($event)\"\r\n (onDuplicateRecord)=\"onDuplicateRecord($event)\"\r\n>\r\n</list-form-record>\r\n\r\n<repair-form-fields\r\n *ngIf=\"loader && viewMode == DynamicModuleViewModeEnum.REPAIR\"\r\n\r\n [configurations]=\"dynamicModuleRepairConfig\"\r\n \r\n (onSaveJson)=\"onSaveJson($event)\"\r\n>\r\n</repair-form-fields>\r\n", styles: ["::ng-deep mat-form-field{width:100%}\n"] }]
|
|
2637
2644
|
}], ctorParameters: function () { return [{ type: UtilityHelperService }]; }, propDecorators: { configurations: [{
|
|
2638
2645
|
type: Input
|
|
2639
2646
|
}], formID: [{
|
|
@@ -2644,7 +2651,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
|
|
|
2644
2651
|
type: Input
|
|
2645
2652
|
}], showTitle: [{
|
|
2646
2653
|
type: Input
|
|
2647
|
-
}],
|
|
2654
|
+
}], showBackButton: [{
|
|
2648
2655
|
type: Input
|
|
2649
2656
|
}], showSaveButton: [{
|
|
2650
2657
|
type: Input
|
|
@@ -2652,6 +2659,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.8", ngImpor
|
|
|
2652
2659
|
type: Input
|
|
2653
2660
|
}], FormJSON: [{
|
|
2654
2661
|
type: Input
|
|
2662
|
+
}], defaultListActions: [{
|
|
2663
|
+
type: Input
|
|
2655
2664
|
}], saveRecord: [{
|
|
2656
2665
|
type: Output
|
|
2657
2666
|
}], deleteRecord: [{
|
|
@@ -2878,7 +2887,7 @@ class DynamicModuleGeneralConfig {
|
|
|
2878
2887
|
/**
|
|
2879
2888
|
* imposta la modalità di lavoro del componente COMPILE/LIST/REPAIR
|
|
2880
2889
|
*/
|
|
2881
|
-
// starterViewMode:
|
|
2890
|
+
// starterViewMode: DynamicModuleViewModeEnum = DynamicModuleViewModeEnum.LIST;
|
|
2882
2891
|
/**
|
|
2883
2892
|
* Specifica del form da visualizzare DynaForms.ID
|
|
2884
2893
|
*/
|
|
@@ -4689,7 +4698,7 @@ class DynamicModuleFieldComponent {
|
|
|
4689
4698
|
ngOnInit() {
|
|
4690
4699
|
this.configList.values = this.record[this.field.Name];
|
|
4691
4700
|
this.configList.showTitle = true;
|
|
4692
|
-
this.configList.defaultListActions = new
|
|
4701
|
+
this.configList.defaultListActions = new DynamicModuleListFormRecordActionsDefault();
|
|
4693
4702
|
}
|
|
4694
4703
|
/**
|
|
4695
4704
|
* Metodo invocato al cambio del valore di ogni proprietà dell'oggetto record.
|
|
@@ -4884,12 +4893,12 @@ class DynamicModuleConfig {
|
|
|
4884
4893
|
}
|
|
4885
4894
|
}
|
|
4886
4895
|
|
|
4887
|
-
var
|
|
4888
|
-
(function (
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
})(
|
|
4896
|
+
var DynamicModuleViewModeEnum;
|
|
4897
|
+
(function (DynamicModuleViewModeEnum) {
|
|
4898
|
+
DynamicModuleViewModeEnum[DynamicModuleViewModeEnum["COMPILE"] = 1] = "COMPILE";
|
|
4899
|
+
DynamicModuleViewModeEnum[DynamicModuleViewModeEnum["LIST"] = 2] = "LIST";
|
|
4900
|
+
DynamicModuleViewModeEnum[DynamicModuleViewModeEnum["REPAIR"] = 3] = "REPAIR";
|
|
4901
|
+
})(DynamicModuleViewModeEnum || (DynamicModuleViewModeEnum = {}));
|
|
4893
4902
|
|
|
4894
4903
|
/**
|
|
4895
4904
|
* Rappresenta l'entità su cui vengono eseguite le operazioni di salvataggio.
|
|
@@ -4923,5 +4932,5 @@ class TextareaField extends BaseField {
|
|
|
4923
4932
|
* Generated bundle index. Do not edit.
|
|
4924
4933
|
*/
|
|
4925
4934
|
|
|
4926
|
-
export { ActionOnRecord, AddFormFieldComponent, AddFormRecordComponent, ArrayValidators, AttachmentField, AttachmentFieldTemplateComponent, AvailableFileExtensions, AvailableImageExtensions, BaseField, BaseObj, BoolPresentantioEnum, BooleanField, BooleanFieldTemplateComponent, ButtonImage, ColSpanSizesEnum, Context, ContextUser, DateField, DateFieldTemplateComponent, DateTimeTypeEnum, DynRecord,
|
|
4935
|
+
export { ActionOnRecord, AddFormFieldComponent, AddFormRecordComponent, ArrayValidators, AttachmentField, AttachmentFieldTemplateComponent, AvailableFileExtensions, AvailableImageExtensions, BaseField, BaseObj, BoolPresentantioEnum, BooleanField, BooleanFieldTemplateComponent, ButtonImage, ColSpanSizesEnum, Context, ContextUser, DateField, DateFieldTemplateComponent, DateTimeTypeEnum, DynRecord, DynamicModuleCompileConfig, DynamicModuleConfig, DynamicModuleConfiguratorConfig, DynamicModuleConfiguratorSpecificConfig, DynamicModuleFieldComponent, DynamicModuleGeneralConfig, DynamicModuleListConfig, DynamicModuleListFormRecordActionsDefault, DynamicModuleRepairConfig, DynamicModuleViewModeEnum, EndPointConfiguration, EndPointData, EndPointDataParams, Entity, EqpDynamicModuleComponent, EqpDynamicModuleConfiguratorComponent, EqpDynamicModuleDialogService, EqpDynamicModuleModule, FieldTypeEnum, Form, FormFieldGroup, FormScalarTypeEnum, FormTypeEnum, ImageField, ImageFieldTemplateComponent, ListFormRecordComponent, ListPresentationEnum, ListValueField, ListValueFieldTemplateComponent, LookupField, NumericField, NumericFieldTemplateComponent, ParamTypeEnum, Record, RepairFormFieldsComponent, RequestMethodEnum, SpinnerService, TelRegex, TextField, TextFieldTemplateComponent, TextMaskEnum, TextareaField, TextareaFieldTemplateComponent, UrlRegex, UtilityHelperService };
|
|
4927
4936
|
//# sourceMappingURL=eqproject-eqp-dynamic-module.mjs.map
|