@fluxhub/fluxhub-lib 1.0.270 → 1.0.271

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.
@@ -34,7 +34,7 @@ import { DomSanitizer } from '@angular/platform-browser';
34
34
  import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
35
35
  import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
36
36
  import { ActivatedRoute, Router } from '@angular/router';
37
- import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, Output, EventEmitter, forwardRef, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
37
+ import { Injectable, Component, Inject, PLATFORM_ID, Directive, Pipe, Input, Output, EventEmitter, forwardRef, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
38
38
  import { Http } from '@angular/http';
39
39
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
40
40
  import { ToastrService } from 'ngx-toastr';
@@ -2942,7 +2942,7 @@ var FHListComponent = /** @class */ (function () {
2942
2942
  };
2943
2943
  FHListComponent.decorators = [
2944
2944
  { type: Component, args: [{
2945
- selector: 'FHList', template: "\n\n\n <table class=\"fh_table\" style=\"width:100%;\">\n <thead>\n <tr>\n <th *ngIf=\"!single_sel\"></th>\n <th>\n {{label}}\n\n </th>\n <th *ngIf=\"single_sel\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let u of myData;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"width:20px\" *ngIf=\"!single_sel\">\n <mat-slide-toggle (change)=\"upd_f(u,$event)\" [disabled]=\"!enabled\"\n [(ngModel)]=\"u.checked\"></mat-slide-toggle>\n </td>\n <td>{{u.descrizione_valore}}</td>\n <td style=\"width:20px;text-align: middle\" *ngIf=\"single_sel\" >\n\n <button mat-raised-button color=\"primary\" (click)=\"upd_f(u,$event)\" [disabled]=\"!enabled\" ><mat-icon>send</mat-icon>&nbsp;&nbsp;&nbsp;{{'SEL' | translate}}</button>&nbsp;&nbsp;&nbsp;\n\n \n </td>\n </tr>\n </tbody>\n </table>\n \n \n\n ",
2945
+ selector: 'FHList', template: "\n\n\n <table class=\"fh_table\" style=\"width:100%;\">\n <thead>\n <tr>\n <th *ngIf=\"!single_sel\"></th>\n <th>\n {{label}}\n\n </th>\n <th *ngIf=\"single_sel\"></th>\n </tr>\n </thead>\n <tbody>\n\n <tr *ngFor=\"let u of myData;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"width:20px;\" valign=\"middle\" *ngIf=\"!single_sel\">\n <mat-slide-toggle (change)=\"upd_f(u,$event)\" [disabled]=\"!enabled\"\n [(ngModel)]=\"u.checked\"></mat-slide-toggle>\n </td>\n <td valign=\"middle\">{{u.descrizione_valore}}</td>\n <td valign=\"middle\" style=\"width:20px;text-align: middle\" *ngIf=\"single_sel\" >\n\n <button mat-raised-button color=\"primary\" (click)=\"upd_f(u,$event)\" [disabled]=\"!enabled\" ><mat-icon>send</mat-icon></button>&nbsp;&nbsp;&nbsp;\n\n \n </td>\n </tr>\n </tbody>\n </table>\n \n \n\n ",
2946
2946
  styles: ["\n\n\n "]
2947
2947
  }] }
2948
2948
  ];
@@ -4982,7 +4982,7 @@ var FHUserPickerComponent = /** @class */ (function () {
4982
4982
  FHUserPickerComponent.decorators = [
4983
4983
  { type: Component, args: [{
4984
4984
  selector: 'FHPickUsers',
4985
- template: "\n <mat-dialog-content>\n <br><br>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"40\">\n\n\n <div style=\"width:100%;height:420px;overflow:auto;\">\n \n <table style=\"width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr><td colspan=\"2\"> <input [(ngModel)]=\"fltr_user\" (ngModelChange)=\"filtra()\"\n style='padding:8px;margin:15px auto;width:100%;' placeholder='Ricerca...'>\n </td></tr>\n <tr *ngFor=\"let u of users_list_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedAdd=u\"\n [ngClass]=\"{ odd: odd, even: even }\" (click)=\"addTo(u)\" (dblclick)=\"do_add()\" class=\"selector\" \n [ngClass]=\"{ 'active': selectedAdd == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n </tr>\n </tbody>\n </table>\n \n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"20\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\">\n <div style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\">\n <button mat-raised-button (click)=\"do_add()\" [disabled]=\"!option\">\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br><br>\n <button mat-raised-button (click)=\"do_rem()\" [disabled]=\"option\">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONATI</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let u of user_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedRemove=u\" [ngClass]=\"{ odd: odd, even: even }\" (click)=\"removeTo(u)\" (dblclick)=\"do_rem()\" class=\"selector\"\n [ngClass]=\"{ 'active': selectedRemove == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n \n </mat-dialog-content>\n <mat-dialog-actions>\n\n <div style=\"width:100%\" *ngIf=\"vis_buttons\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-raised-button color=\"primary\" (click)=\"dialogRef.close(this.user_sel)\">Ok</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button (click)=\"dialogRef.close(false)\">Annulla</button>\n </div>\n </mat-dialog-actions>\n\n ",
4985
+ template: "\n <mat-dialog-content>\n <br><br>\n <div fxLayout=\"row\">\n <div fxLayout=\"column\" fxFlex=\"40\">\n\n\n <div style=\"width:100%;height:420px;overflow:auto;\">\n \n <table style=\"width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONABILI</th>\n </tr>\n </thead>\n\n <tbody>\n <tr><td colspan=\"2\"> <input [(ngModel)]=\"fltr_user\" (ngModelChange)=\"filtra()\"\n style='padding:8px;margin:15px auto;width:100%;' placeholder='Ricerca...'>\n </td></tr>\n <tr *ngFor=\"let u of users_list_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedAdd=u\"\n [ngClass]=\"{ odd: odd, even: even }\" (click)=\"addTo(u)\" (dblclick)=\"do_add()\" class=\"selector\" \n [ngClass]=\"{ 'active': selectedAdd == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n </tr>\n </tbody>\n </table>\n \n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"20\"\n style=\"height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\">\n <div style=\"position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\">\n <button mat-raised-button (click)=\"do_add()\" [disabled]=\"!option\">\n <mat-icon>arrow_forward</mat-icon>\n </button>\n <br><br>\n <button mat-raised-button (click)=\"do_rem()\" [disabled]=\"option\">\n <mat-icon>delete</mat-icon>\n </button>\n </div>\n </div>\n <div fxLayout=\"column\" fxFlex=\"40\">\n <div style=\"width:100%;height:420px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th colspan=\"2\">UTENTI SELEZIONATI</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let u of user_sel;let odd=odd; let even=even;\" (mouseover)=\"selectedRemove=u\" [ngClass]=\"{ odd: odd, even: even }\" (click)=\"removeTo(u)\" (dblclick)=\"do_rem()\" class=\"selector\"\n [ngClass]=\"{ 'active': selectedRemove == u }\">\n <td style=\"width: 80%\">{{u.nc}}</td>\n <td style=\"width: 20%\">{{u.canale}}</td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n \n </mat-dialog-content>\n <mat-dialog-actions>\n\n <div style=\"width:100%\" *ngIf=\"vis_buttons\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-raised-button color=\"primary\" (click)=\"dialogRef.close(this.user_sel)\">Ok</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button (click)=\"dialogRef.close()\">Annulla</button>\n </div>\n </mat-dialog-actions>\n\n ",
4986
4986
  styles: ["\n \n "]
4987
4987
  }] }
4988
4988
  ];