@esfaenza/admin-module 19.2.27 → 19.2.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.
@@ -982,8 +982,8 @@ class AdmTopActivitiesComponent {
982
982
  let reference = (searchViewOverride ?? this.searchView).items[0];
983
983
  this.TopNodes = reference.topnodes;
984
984
  this.TopSessions = reference.topsessions;
985
- this.DirInfos = dirInfos.cluster ? dirInfos : null;
986
- this.DirInfosGlobal = !dirInfos.cluster ? dirInfos : null;
985
+ this.DirInfos = dirInfos?.cluster ? dirInfos : null;
986
+ this.DirInfosGlobal = !dirInfos?.cluster ? dirInfos : null;
987
987
  if (!reference.actsessions || reference.actsessions.length == 0) {
988
988
  this.TopActiveSessions = null;
989
989
  return;
@@ -1668,7 +1668,7 @@ class AdmSystemParametersComponent {
1668
1668
  }
1669
1669
  else {
1670
1670
  this.init(null);
1671
- this.location.replaceState(`/pages/${this.mod}/profiler`);
1671
+ this.location.replaceState(`/pages/${this.mod}/syspars`);
1672
1672
  this.route.snapshot.queryParams = [];
1673
1673
  await firstValueFrom(this.localStorage.removeItem("HotSysParConfiggato"));
1674
1674
  }
@@ -1699,6 +1699,7 @@ class AdmSystemParametersComponent {
1699
1699
  this.POSTGetItems(this.searchView);
1700
1700
  }
1701
1701
  async POSTGetItems(data) {
1702
+ this.lastSelectedLevel = this.searchView.filterlevel;
1702
1703
  this.searchView = await this.adms.getSystemParameters(this.be, data);
1703
1704
  this.searchView.searchinprogress = false;
1704
1705
  this.localStorage.setItem("HotSysParConfiggato", this.searchView).subscribe();
@@ -1724,11 +1725,11 @@ class AdmSystemParametersComponent {
1724
1725
  });
1725
1726
  }
1726
1727
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AdmSystemParametersComponent, deps: [{ token: i1.LocalizationService }, { token: i3.PreferencesService }, { token: i5.Location }, { token: i1$1.InterComService }, { token: i4.ActivatedRoute }, { token: AdminModuleBaseService }, { token: i1$1.MessageService }, { token: i1$1.UtilityService }, { token: ADM_MODULE_PATH }], target: i0.ɵɵFactoryTarget.Component }); }
1727
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: AdmSystemParametersComponent, isStandalone: false, selector: "adm_syspars", viewQueries: [{ propertyName: "editConfigForm", first: true, predicate: ["editConfigForm"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"card app-overflow-visible\" widget>\r\n <div class=\"card-header\">\r\n <span class=\"text-uppercase\">{{'Parametri di sistema' | localize : lc}}</span>\r\n </div>\r\n <div class=\"card-body widget-body\">\r\n <div class=\"col-md-12 bottom-15\">\r\n <form role=\"form\">\r\n <div class=\"row app-first-filter-line\">\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-input [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterparameter\" name=\"filterparameter\" [Placeholder]=\"'Nome parametro' | localize : lc\"></form-input>\r\n </div>\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-select [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterlevel\" name=\"filterlevel\" [Placeholder]=\"'Livello' | localize : lc\" [Source]=\"LevelsSource\"></form-select>\r\n </div>\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\" style=\"display: flex; height: 38px;\" *ngIf=\"searchView.filterlevel == 'SYS'\">\r\n <form-checkbox [FormLayout]=\"false\" [SliderMode]=\"true\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterglobal\" name=\"filterglobal\"></form-checkbox>&nbsp;\r\n <span class=\"app-pointer app-padding-top-5 app-padding-left-5\" (click)=\"searchView.filterglobal = !searchView.filterglobal\">{{'Globale' | localize: lc}}</span>\r\n </div>\r\n <button class=\"input-group-addon btn app-btn-search app-margin-top-20\" (click)=\"sendSearch()\" type=\"submit\"><i class=\"far fa-search\"></i></button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <p *ngIf=\"!searchView\"><em>{{'Carico Parametri di sistema' | localize : lc}}...</em></p>\r\n <div *ngIf=\"searchView\">\r\n <es-table [(ngModel)]=\"searchView\" (onSearchRequest)=\"sendSearch($event);\">\r\n <ng-template #header>\r\n <th *ac=\"'P:mdm_op'\" class=\"app-col-min\"></th>\r\n <th *ac=\"'P:mdm_op'\" class=\"app-col-min\"></th>\r\n <th class=\"app-nowrap\">{{'Nome parametro' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Valore' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Default' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Descrizione' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Valore Default' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile a livello di Sessione' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile a livello di Sistema' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificato' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Aggiustato' | localize : lc}}</th>\r\n </ng-template>\r\n <ng-template #body let-item>\r\n <td *ac=\"'P:mdm_op'\" class=\"app-no-wrap app-right-0 app-padding-top-8\">\r\n <a class=\"app-link far fa-edit\" (click)=\"setupEdit(item); dlgEdit.show();\" *ngIf=\"!item.isreadonly && ((lastSelectedLevel == 'SYS' && item.syseditable) || (lastSelectedLevel == 'SES' && item.seseditable))\"></a>\r\n </td>\r\n <td *ac=\"'P:mdm_op'\" class=\"app-no-wrap app-right-0 app-padding-top-8\">\r\n <a class=\"app-link far fa-refresh\" (click)=\"setupReset(item);\" *ngIf=\"!item.isreadonly && ((lastSelectedLevel == 'SYS' && item.syseditable) || (lastSelectedLevel == 'SES' && item.seseditable))\"></a>\r\n </td>\r\n <td class=\"app-nowrap\"><strong>{{item.parametername}}</strong></td>\r\n <td class=\"app-nowrap\">{{item.value}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.isdefault\" [class.text-danger]=\"!item.isdefault\">\r\n {{ item.isdefault ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.parameterdescription}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"!item.isreadonly\" [class.text-danger]=\"item.isreadonly\">\r\n {{ !item.isreadonly ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.defaultvalue}}</td>\r\n\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.syseditable\" [class.text-danger]=\"!item.syseditable\">\r\n {{ item.syseditable ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.seseditable\" [class.text-danger]=\"!item.seseditable\">\r\n {{ item.seseditable ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.modified}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.adjusted\" [class.text-danger]=\"!item.adjusted\">\r\n {{ item.adjusted ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n </ng-template>\r\n </es-table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div esModal #dlgEdit=\"es-modal\" class=\"modal fade\" role=\"dialog\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-lg\" emaDraggable>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">{{ 'Modifica parametro' | localize : lc }}</h5>\r\n <button type=\"button\" class=\"close pull-right\" (click)=\"dlgEdit.hide()\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">&times;</span>\r\n </button>\r\n </div>\r\n <form novalidate #editConfigForm=\"ngForm\" (ngSubmit)=\"editConfigForm.valid && submitForm() && dlgEdit.hide()\">\r\n <div class=\"modal-body\" *ngIf=\"ParOnEdit\">\r\n <form-input [LabelInputRatio]=\"'3 9'\" [Label]=\"'Nome parametro' | localize : lc\" [(ngModel)]=\"ParOnEdit.parametername\" [disabled]=\"true\" name=\"parametername\"></form-input>\r\n <form-input [LabelInputRatio]=\"'3 9'\" [Label]=\"'Valore' | localize : lc\" [(ngModel)]=\"ParOnEdit.value\" name=\"value\" [Last]=\"lastSelectedLevel == 'SES'\"></form-input>\r\n\r\n <ng-container *ngIf=\"lastSelectedLevel == 'SYS'\">\r\n <form-checkbox [LabelInputRatio]=\"'3 9'\" [Label]=\"'File Configurazione' | localize : lc\" [(ngModel)]=\"ParOnEdit.configfile\" name=\"configfile\"></form-checkbox>\r\n <form-checkbox [LabelInputRatio]=\"'3 9'\" [Label]=\"'Memoria' | localize : lc\" [(ngModel)]=\"ParOnEdit.memory\" name=\"memory\"></form-checkbox>\r\n <form-multiselect [LabelInputRatio]=\"'3 9'\" [Label]=\"'Applica solo a' | localize : lc\" [Source]=\"AvailableInstances\" name=\"instanceids\" [(ngModel)]=\"ParOnEdit.instanceids\" [Last]=\"true\"> </form-multiselect>\r\n </ng-container>\r\n\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary app-margin-right-10\" (click)=\"dlgEdit.hide()\">{{'Annulla' | localize : lc}}</button>\r\n <button type=\"submit\" contextAware class=\"btn btn-primary\">{{'Conferma' | localize : lc}}</button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n</div>", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i7.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i8.EsTableComponent, selector: "es-table", inputs: ["EsThTdProvider", "CornerMenuOptions", "ColumnsResizable", "ColumnsPinnable", "AutoUpdate", "Height", "EmptySpaceBackgroundColor", "EsTableHandledSearch", "MaxHeight", "ContainerClass", "XLSXExport", "CSVExport", "AllSearch", "HighCellDensity", "Selection", "ShowLoadingOnBootstrap", "Removal", "RemovalCondition", "Export", "ShiftClick", "CountLabel", "HidePaging", "HidePagingCount", "HidePagingButtons", "ContextMenu", "ExportFileName", "TableClass", "ExportFunction", "ExportOnlyVisibleColumns", "HasHeaderGroup", "HasSecondaryHeaderGroup", "HeaderHidden", "BodyHidden", "SelectionDisabled", "SingleSelection", "RowClassAssigner", "OrderByColumn", "MultipleOrderingDirectives", "HiddenColumns", "ColumnsOrdering", "SearchView", "SelectAll", "UseArrayModePaging", "DynamicRowColumnsDefinition", "DynamicOperations", "Hierarchy", "ParentKey", "OwnKey", "StartsExpanded", "SavePreferences", "DefaultAlignment", "PagingStyle", "RowGroupingPagingStyle", "ItemSourceProperty", "UseSelectionCache", "ShowItemGroupsColumns", "Editable", "RangeSelection", "SearchThrottle", "ArraymodeItemsPerPage"], outputs: ["onOrderChanged", "onSearchRequest", "onSelectionChanged", "onRemoval", "onAbortRemoval", "onModelChange", "onOpenContextMenu", "onCornerAction", "onDynamicOperation"] }, { kind: "component", type: i9.EsFormInputComponent, selector: "form-input", inputs: ["minlength", "maxlength", "pattern", "Password"], outputs: ["onSuffixAction", "onPrefixAction"] }, { kind: "component", type: i9.EsFormSelectComponent, selector: "form-select" }, { kind: "component", type: i9.EsFormCheckboxComponent, selector: "form-checkbox", inputs: ["SliderMode"] }, { kind: "component", type: i9.EsFormMultiselectComponent, selector: "form-multiselect", inputs: ["display", "InOutFormat", "FloatingLabel", "MaxShownElements"] }, { kind: "directive", type: i10.Draggable, selector: "[emaDraggable]", inputs: ["emaDraggable"] }, { kind: "directive", type: i10.Widget, selector: "[widget]" }, { kind: "directive", type: i10.EsModalDirective, selector: "[esModal]", exportAs: ["es-modal"] }, { kind: "pipe", type: i1.LocalizePipe, name: "localize" }], viewProviders: [{ provide: LocalizationService, useClass: AdmSystemParametersLoc }] }); }
1728
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: AdmSystemParametersComponent, isStandalone: false, selector: "adm_syspars", viewQueries: [{ propertyName: "editConfigForm", first: true, predicate: ["editConfigForm"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"card app-overflow-visible\" widget>\r\n <div class=\"card-header\">\r\n <span class=\"text-uppercase\">{{'Parametri di sistema' | localize : lc}}</span>\r\n </div>\r\n <div class=\"card-body widget-body\">\r\n <div class=\"col-md-12 bottom-15\">\r\n <form role=\"form\">\r\n <div class=\"row app-first-filter-line\">\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-input [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterparameter\" name=\"filterparameter\" [Placeholder]=\"'Nome parametro' | localize : lc\"></form-input>\r\n </div>\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-select [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterlevel\" name=\"filterlevel\" [Placeholder]=\"'Livello' | localize : lc\" [Source]=\"LevelsSource\"></form-select>\r\n </div>\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\" style=\"display: flex; height: 38px;\" *ngIf=\"searchView.filterlevel == 'SYS'\">\r\n <form-checkbox [FormLayout]=\"false\" [SliderMode]=\"true\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterglobal\" name=\"filterglobal\"></form-checkbox>&nbsp;\r\n <span class=\"app-pointer app-padding-top-5 app-padding-left-5\" (click)=\"searchView.filterglobal = !searchView.filterglobal\">{{'Globale' | localize: lc}}</span>\r\n </div>\r\n <button class=\"input-group-addon btn app-btn-search app-margin-top-20\" (click)=\"sendSearch()\" type=\"submit\"><i class=\"far fa-search\"></i></button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <p *ngIf=\"!searchView\"><em>{{'Carico Parametri di sistema' | localize : lc}}...</em></p>\r\n <div *ngIf=\"searchView\">\r\n <es-table [(ngModel)]=\"searchView\" (onSearchRequest)=\"sendSearch($event);\">\r\n <ng-template #header>\r\n <th class=\"app-col-min\"></th>\r\n <th class=\"app-col-min\"></th>\r\n <th class=\"app-nowrap\">{{'Nome parametro' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Valore' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Default' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Descrizione' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Valore Default' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile a livello di Sessione' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile a livello di Sistema' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificato' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Aggiustato' | localize : lc}}</th>\r\n </ng-template>\r\n \r\n <ng-template #body let-item>\r\n <td class=\"app-no-wrap app-right-0 app-padding-top-8\">\r\n <a class=\"app-link far fa-edit\" (click)=\"setupEdit(item); dlgEdit.show();\" *ngIf=\"!item.isreadonly && ((lastSelectedLevel == 'SYS' && item.syseditable) || (lastSelectedLevel == 'SES' && item.seseditable))\"></a>\r\n </td>\r\n <td class=\"app-no-wrap app-right-0 app-padding-top-8\">\r\n <a class=\"app-link far fa-refresh\" (click)=\"setupReset(item);\" *ngIf=\"!item.isreadonly && ((lastSelectedLevel == 'SYS' && item.syseditable) || (lastSelectedLevel == 'SES' && item.seseditable))\"></a>\r\n </td>\r\n <td class=\"app-nowrap\"><strong>{{item.parametername}}</strong></td>\r\n <td class=\"app-nowrap\">{{item.value}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.isdefault\" [class.text-danger]=\"!item.isdefault\">\r\n {{ item.isdefault ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.parameterdescription}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"!item.isreadonly\" [class.text-danger]=\"item.isreadonly\">\r\n {{ !item.isreadonly ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.defaultvalue}}</td>\r\n\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.seseditable\" [class.text-danger]=\"!item.seseditable\">\r\n {{ item.seseditable ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.syseditable\" [class.text-danger]=\"!item.syseditable\">\r\n {{ item.syseditable ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n\r\n <td class=\"app-nowrap\">{{item.modified}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.adjusted\" [class.text-danger]=\"!item.adjusted\">\r\n {{ item.adjusted ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n </ng-template>\r\n </es-table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div esModal #dlgEdit=\"es-modal\" class=\"modal fade\" role=\"dialog\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-lg\" emaDraggable>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">{{ 'Modifica parametro' | localize : lc }}</h5>\r\n <button type=\"button\" class=\"close pull-right\" (click)=\"dlgEdit.hide()\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">&times;</span>\r\n </button>\r\n </div>\r\n <form novalidate #editConfigForm=\"ngForm\" (ngSubmit)=\"editConfigForm.valid && submitForm() && dlgEdit.hide()\">\r\n <div class=\"modal-body\" *ngIf=\"ParOnEdit\">\r\n <form-input [LabelInputRatio]=\"'3 9'\" [Label]=\"'Nome parametro' | localize : lc\" [(ngModel)]=\"ParOnEdit.parametername\" [disabled]=\"true\" name=\"parametername\"></form-input>\r\n <form-input [LabelInputRatio]=\"'3 9'\" [Label]=\"'Valore' | localize : lc\" [(ngModel)]=\"ParOnEdit.value\" name=\"value\" [Last]=\"lastSelectedLevel == 'SES'\"></form-input>\r\n\r\n <ng-container *ngIf=\"lastSelectedLevel == 'SYS'\">\r\n <form-checkbox [LabelInputRatio]=\"'3 9'\" [Label]=\"'File Configurazione' | localize : lc\" [(ngModel)]=\"ParOnEdit.configfile\" name=\"configfile\"></form-checkbox>\r\n <form-checkbox [LabelInputRatio]=\"'3 9'\" [Label]=\"'Memoria' | localize : lc\" [(ngModel)]=\"ParOnEdit.memory\" name=\"memory\"></form-checkbox>\r\n <form-multiselect [LabelInputRatio]=\"'3 9'\" [Label]=\"'Applica solo a' | localize : lc\" [Source]=\"AvailableInstances\" name=\"instanceids\" [(ngModel)]=\"ParOnEdit.instanceids\" [Last]=\"true\"> </form-multiselect>\r\n </ng-container>\r\n\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary app-margin-right-10\" (click)=\"dlgEdit.hide()\">{{'Annulla' | localize : lc}}</button>\r\n <button type=\"submit\" contextAware class=\"btn btn-primary\">{{'Conferma' | localize : lc}}</button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n</div>", dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i7.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i7.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i8.EsTableComponent, selector: "es-table", inputs: ["EsThTdProvider", "CornerMenuOptions", "ColumnsResizable", "ColumnsPinnable", "AutoUpdate", "Height", "EmptySpaceBackgroundColor", "EsTableHandledSearch", "MaxHeight", "ContainerClass", "XLSXExport", "CSVExport", "AllSearch", "HighCellDensity", "Selection", "ShowLoadingOnBootstrap", "Removal", "RemovalCondition", "Export", "ShiftClick", "CountLabel", "HidePaging", "HidePagingCount", "HidePagingButtons", "ContextMenu", "ExportFileName", "TableClass", "ExportFunction", "ExportOnlyVisibleColumns", "HasHeaderGroup", "HasSecondaryHeaderGroup", "HeaderHidden", "BodyHidden", "SelectionDisabled", "SingleSelection", "RowClassAssigner", "OrderByColumn", "MultipleOrderingDirectives", "HiddenColumns", "ColumnsOrdering", "SearchView", "SelectAll", "UseArrayModePaging", "DynamicRowColumnsDefinition", "DynamicOperations", "Hierarchy", "ParentKey", "OwnKey", "StartsExpanded", "SavePreferences", "DefaultAlignment", "PagingStyle", "RowGroupingPagingStyle", "ItemSourceProperty", "UseSelectionCache", "ShowItemGroupsColumns", "Editable", "RangeSelection", "SearchThrottle", "ArraymodeItemsPerPage"], outputs: ["onOrderChanged", "onSearchRequest", "onSelectionChanged", "onRemoval", "onAbortRemoval", "onModelChange", "onOpenContextMenu", "onCornerAction", "onDynamicOperation"] }, { kind: "component", type: i9.EsFormInputComponent, selector: "form-input", inputs: ["minlength", "maxlength", "pattern", "Password"], outputs: ["onSuffixAction", "onPrefixAction"] }, { kind: "component", type: i9.EsFormSelectComponent, selector: "form-select" }, { kind: "component", type: i9.EsFormCheckboxComponent, selector: "form-checkbox", inputs: ["SliderMode"] }, { kind: "component", type: i9.EsFormMultiselectComponent, selector: "form-multiselect", inputs: ["display", "InOutFormat", "FloatingLabel", "MaxShownElements"] }, { kind: "directive", type: i10.Draggable, selector: "[emaDraggable]", inputs: ["emaDraggable"] }, { kind: "directive", type: i10.Widget, selector: "[widget]" }, { kind: "directive", type: i10.EsModalDirective, selector: "[esModal]", exportAs: ["es-modal"] }, { kind: "pipe", type: i1.LocalizePipe, name: "localize" }], viewProviders: [{ provide: LocalizationService, useClass: AdmSystemParametersLoc }] }); }
1728
1729
  }
1729
1730
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: AdmSystemParametersComponent, decorators: [{
1730
1731
  type: Component,
1731
- args: [{ selector: "adm_syspars", viewProviders: [{ provide: LocalizationService, useClass: AdmSystemParametersLoc }], standalone: false, template: "<div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"card app-overflow-visible\" widget>\r\n <div class=\"card-header\">\r\n <span class=\"text-uppercase\">{{'Parametri di sistema' | localize : lc}}</span>\r\n </div>\r\n <div class=\"card-body widget-body\">\r\n <div class=\"col-md-12 bottom-15\">\r\n <form role=\"form\">\r\n <div class=\"row app-first-filter-line\">\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-input [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterparameter\" name=\"filterparameter\" [Placeholder]=\"'Nome parametro' | localize : lc\"></form-input>\r\n </div>\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-select [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterlevel\" name=\"filterlevel\" [Placeholder]=\"'Livello' | localize : lc\" [Source]=\"LevelsSource\"></form-select>\r\n </div>\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\" style=\"display: flex; height: 38px;\" *ngIf=\"searchView.filterlevel == 'SYS'\">\r\n <form-checkbox [FormLayout]=\"false\" [SliderMode]=\"true\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterglobal\" name=\"filterglobal\"></form-checkbox>&nbsp;\r\n <span class=\"app-pointer app-padding-top-5 app-padding-left-5\" (click)=\"searchView.filterglobal = !searchView.filterglobal\">{{'Globale' | localize: lc}}</span>\r\n </div>\r\n <button class=\"input-group-addon btn app-btn-search app-margin-top-20\" (click)=\"sendSearch()\" type=\"submit\"><i class=\"far fa-search\"></i></button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <p *ngIf=\"!searchView\"><em>{{'Carico Parametri di sistema' | localize : lc}}...</em></p>\r\n <div *ngIf=\"searchView\">\r\n <es-table [(ngModel)]=\"searchView\" (onSearchRequest)=\"sendSearch($event);\">\r\n <ng-template #header>\r\n <th *ac=\"'P:mdm_op'\" class=\"app-col-min\"></th>\r\n <th *ac=\"'P:mdm_op'\" class=\"app-col-min\"></th>\r\n <th class=\"app-nowrap\">{{'Nome parametro' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Valore' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Default' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Descrizione' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Valore Default' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile a livello di Sessione' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile a livello di Sistema' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificato' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Aggiustato' | localize : lc}}</th>\r\n </ng-template>\r\n <ng-template #body let-item>\r\n <td *ac=\"'P:mdm_op'\" class=\"app-no-wrap app-right-0 app-padding-top-8\">\r\n <a class=\"app-link far fa-edit\" (click)=\"setupEdit(item); dlgEdit.show();\" *ngIf=\"!item.isreadonly && ((lastSelectedLevel == 'SYS' && item.syseditable) || (lastSelectedLevel == 'SES' && item.seseditable))\"></a>\r\n </td>\r\n <td *ac=\"'P:mdm_op'\" class=\"app-no-wrap app-right-0 app-padding-top-8\">\r\n <a class=\"app-link far fa-refresh\" (click)=\"setupReset(item);\" *ngIf=\"!item.isreadonly && ((lastSelectedLevel == 'SYS' && item.syseditable) || (lastSelectedLevel == 'SES' && item.seseditable))\"></a>\r\n </td>\r\n <td class=\"app-nowrap\"><strong>{{item.parametername}}</strong></td>\r\n <td class=\"app-nowrap\">{{item.value}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.isdefault\" [class.text-danger]=\"!item.isdefault\">\r\n {{ item.isdefault ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.parameterdescription}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"!item.isreadonly\" [class.text-danger]=\"item.isreadonly\">\r\n {{ !item.isreadonly ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.defaultvalue}}</td>\r\n\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.syseditable\" [class.text-danger]=\"!item.syseditable\">\r\n {{ item.syseditable ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.seseditable\" [class.text-danger]=\"!item.seseditable\">\r\n {{ item.seseditable ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.modified}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.adjusted\" [class.text-danger]=\"!item.adjusted\">\r\n {{ item.adjusted ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n </ng-template>\r\n </es-table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div esModal #dlgEdit=\"es-modal\" class=\"modal fade\" role=\"dialog\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-lg\" emaDraggable>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">{{ 'Modifica parametro' | localize : lc }}</h5>\r\n <button type=\"button\" class=\"close pull-right\" (click)=\"dlgEdit.hide()\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">&times;</span>\r\n </button>\r\n </div>\r\n <form novalidate #editConfigForm=\"ngForm\" (ngSubmit)=\"editConfigForm.valid && submitForm() && dlgEdit.hide()\">\r\n <div class=\"modal-body\" *ngIf=\"ParOnEdit\">\r\n <form-input [LabelInputRatio]=\"'3 9'\" [Label]=\"'Nome parametro' | localize : lc\" [(ngModel)]=\"ParOnEdit.parametername\" [disabled]=\"true\" name=\"parametername\"></form-input>\r\n <form-input [LabelInputRatio]=\"'3 9'\" [Label]=\"'Valore' | localize : lc\" [(ngModel)]=\"ParOnEdit.value\" name=\"value\" [Last]=\"lastSelectedLevel == 'SES'\"></form-input>\r\n\r\n <ng-container *ngIf=\"lastSelectedLevel == 'SYS'\">\r\n <form-checkbox [LabelInputRatio]=\"'3 9'\" [Label]=\"'File Configurazione' | localize : lc\" [(ngModel)]=\"ParOnEdit.configfile\" name=\"configfile\"></form-checkbox>\r\n <form-checkbox [LabelInputRatio]=\"'3 9'\" [Label]=\"'Memoria' | localize : lc\" [(ngModel)]=\"ParOnEdit.memory\" name=\"memory\"></form-checkbox>\r\n <form-multiselect [LabelInputRatio]=\"'3 9'\" [Label]=\"'Applica solo a' | localize : lc\" [Source]=\"AvailableInstances\" name=\"instanceids\" [(ngModel)]=\"ParOnEdit.instanceids\" [Last]=\"true\"> </form-multiselect>\r\n </ng-container>\r\n\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary app-margin-right-10\" (click)=\"dlgEdit.hide()\">{{'Annulla' | localize : lc}}</button>\r\n <button type=\"submit\" contextAware class=\"btn btn-primary\">{{'Conferma' | localize : lc}}</button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n</div>" }]
1732
+ args: [{ selector: "adm_syspars", viewProviders: [{ provide: LocalizationService, useClass: AdmSystemParametersLoc }], standalone: false, template: "<div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"card app-overflow-visible\" widget>\r\n <div class=\"card-header\">\r\n <span class=\"text-uppercase\">{{'Parametri di sistema' | localize : lc}}</span>\r\n </div>\r\n <div class=\"card-body widget-body\">\r\n <div class=\"col-md-12 bottom-15\">\r\n <form role=\"form\">\r\n <div class=\"row app-first-filter-line\">\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-input [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterparameter\" name=\"filterparameter\" [Placeholder]=\"'Nome parametro' | localize : lc\"></form-input>\r\n </div>\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-select [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterlevel\" name=\"filterlevel\" [Placeholder]=\"'Livello' | localize : lc\" [Source]=\"LevelsSource\"></form-select>\r\n </div>\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\" style=\"display: flex; height: 38px;\" *ngIf=\"searchView.filterlevel == 'SYS'\">\r\n <form-checkbox [FormLayout]=\"false\" [SliderMode]=\"true\" [Validation]=\"false\" [(ngModel)]=\"searchView.filterglobal\" name=\"filterglobal\"></form-checkbox>&nbsp;\r\n <span class=\"app-pointer app-padding-top-5 app-padding-left-5\" (click)=\"searchView.filterglobal = !searchView.filterglobal\">{{'Globale' | localize: lc}}</span>\r\n </div>\r\n <button class=\"input-group-addon btn app-btn-search app-margin-top-20\" (click)=\"sendSearch()\" type=\"submit\"><i class=\"far fa-search\"></i></button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <p *ngIf=\"!searchView\"><em>{{'Carico Parametri di sistema' | localize : lc}}...</em></p>\r\n <div *ngIf=\"searchView\">\r\n <es-table [(ngModel)]=\"searchView\" (onSearchRequest)=\"sendSearch($event);\">\r\n <ng-template #header>\r\n <th class=\"app-col-min\"></th>\r\n <th class=\"app-col-min\"></th>\r\n <th class=\"app-nowrap\">{{'Nome parametro' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Valore' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Default' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Descrizione' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Valore Default' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile a livello di Sessione' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificabile a livello di Sistema' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Modificato' | localize : lc}}</th>\r\n <th class=\"app-nowrap\">{{'Aggiustato' | localize : lc}}</th>\r\n </ng-template>\r\n \r\n <ng-template #body let-item>\r\n <td class=\"app-no-wrap app-right-0 app-padding-top-8\">\r\n <a class=\"app-link far fa-edit\" (click)=\"setupEdit(item); dlgEdit.show();\" *ngIf=\"!item.isreadonly && ((lastSelectedLevel == 'SYS' && item.syseditable) || (lastSelectedLevel == 'SES' && item.seseditable))\"></a>\r\n </td>\r\n <td class=\"app-no-wrap app-right-0 app-padding-top-8\">\r\n <a class=\"app-link far fa-refresh\" (click)=\"setupReset(item);\" *ngIf=\"!item.isreadonly && ((lastSelectedLevel == 'SYS' && item.syseditable) || (lastSelectedLevel == 'SES' && item.seseditable))\"></a>\r\n </td>\r\n <td class=\"app-nowrap\"><strong>{{item.parametername}}</strong></td>\r\n <td class=\"app-nowrap\">{{item.value}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.isdefault\" [class.text-danger]=\"!item.isdefault\">\r\n {{ item.isdefault ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.parameterdescription}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"!item.isreadonly\" [class.text-danger]=\"item.isreadonly\">\r\n {{ !item.isreadonly ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n <td class=\"app-nowrap\">{{item.defaultvalue}}</td>\r\n\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.seseditable\" [class.text-danger]=\"!item.seseditable\">\r\n {{ item.seseditable ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.syseditable\" [class.text-danger]=\"!item.syseditable\">\r\n {{ item.syseditable ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n\r\n <td class=\"app-nowrap\">{{item.modified}}</td>\r\n <td class=\"app-nowrap\" [class.text-success]=\"item.adjusted\" [class.text-danger]=\"!item.adjusted\">\r\n {{ item.adjusted ? ('S\u00EC' | localize : lc) : ('No' | localize : lc) }}\r\n </td>\r\n </ng-template>\r\n </es-table>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div esModal #dlgEdit=\"es-modal\" class=\"modal fade\" role=\"dialog\" aria-hidden=\"true\">\r\n <div class=\"modal-dialog modal-lg\" emaDraggable>\r\n <div class=\"modal-content\">\r\n <div class=\"modal-header\">\r\n <h5 class=\"modal-title pull-left\">{{ 'Modifica parametro' | localize : lc }}</h5>\r\n <button type=\"button\" class=\"close pull-right\" (click)=\"dlgEdit.hide()\" aria-label=\"Close\">\r\n <span aria-hidden=\"true\">&times;</span>\r\n </button>\r\n </div>\r\n <form novalidate #editConfigForm=\"ngForm\" (ngSubmit)=\"editConfigForm.valid && submitForm() && dlgEdit.hide()\">\r\n <div class=\"modal-body\" *ngIf=\"ParOnEdit\">\r\n <form-input [LabelInputRatio]=\"'3 9'\" [Label]=\"'Nome parametro' | localize : lc\" [(ngModel)]=\"ParOnEdit.parametername\" [disabled]=\"true\" name=\"parametername\"></form-input>\r\n <form-input [LabelInputRatio]=\"'3 9'\" [Label]=\"'Valore' | localize : lc\" [(ngModel)]=\"ParOnEdit.value\" name=\"value\" [Last]=\"lastSelectedLevel == 'SES'\"></form-input>\r\n\r\n <ng-container *ngIf=\"lastSelectedLevel == 'SYS'\">\r\n <form-checkbox [LabelInputRatio]=\"'3 9'\" [Label]=\"'File Configurazione' | localize : lc\" [(ngModel)]=\"ParOnEdit.configfile\" name=\"configfile\"></form-checkbox>\r\n <form-checkbox [LabelInputRatio]=\"'3 9'\" [Label]=\"'Memoria' | localize : lc\" [(ngModel)]=\"ParOnEdit.memory\" name=\"memory\"></form-checkbox>\r\n <form-multiselect [LabelInputRatio]=\"'3 9'\" [Label]=\"'Applica solo a' | localize : lc\" [Source]=\"AvailableInstances\" name=\"instanceids\" [(ngModel)]=\"ParOnEdit.instanceids\" [Last]=\"true\"> </form-multiselect>\r\n </ng-container>\r\n\r\n </div>\r\n <div class=\"modal-footer\">\r\n <button type=\"button\" class=\"btn btn-secondary app-margin-right-10\" (click)=\"dlgEdit.hide()\">{{'Annulla' | localize : lc}}</button>\r\n <button type=\"submit\" contextAware class=\"btn btn-primary\">{{'Conferma' | localize : lc}}</button>\r\n </div>\r\n </form>\r\n </div>\r\n </div>\r\n</div>" }]
1732
1733
  }], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i3.PreferencesService }, { type: i5.Location }, { type: i1$1.InterComService }, { type: i4.ActivatedRoute }, { type: AdminModuleBaseService }, { type: i1$1.MessageService }, { type: i1$1.UtilityService }, { type: undefined, decorators: [{
1733
1734
  type: Inject,
1734
1735
  args: [ADM_MODULE_PATH]