@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.
@@ -116,14 +116,14 @@
116
116
  <tbody>
117
117
 
118
118
  <tr *ngFor="let u of myData;let odd=odd; let even=even;" [ngClass]="{ odd: odd, even: even }">
119
- <td style="width:20px" *ngIf="!single_sel">
119
+ <td style="width:20px;" valign="middle" *ngIf="!single_sel">
120
120
  <mat-slide-toggle (change)="upd_f(u,$event)" [disabled]="!enabled"
121
121
  [(ngModel)]="u.checked"></mat-slide-toggle>
122
122
  </td>
123
- <td>{{u.descrizione_valore}}</td>
124
- <td style="width:20px;text-align: middle" *ngIf="single_sel" >
123
+ <td valign="middle">{{u.descrizione_valore}}</td>
124
+ <td valign="middle" style="width:20px;text-align: middle" *ngIf="single_sel" >
125
125
 
126
- <button mat-raised-button color="primary" (click)="upd_f(u,$event)" [disabled]="!enabled" ><mat-icon>send</mat-icon>   {{'SEL' | translate}}</button>   
126
+ <button mat-raised-button color="primary" (click)="upd_f(u,$event)" [disabled]="!enabled" ><mat-icon>send</mat-icon></button>   
127
127
 
128
128
 
129
129
  </td>
@@ -1519,7 +1519,7 @@
1519
1519
  <script src="../js/libs/htmlparser.js"></script>
1520
1520
  <script src="../js/libs/deep-iterator.js"></script>
1521
1521
  <script>
1522
- var COMPONENT_TEMPLATE = '<div><table class="fh_table" style="width:100%;"> <thead> <tr> <th *ngIf="!single_sel"></th> <th> {{label}} </th> <th *ngIf="single_sel"></th> </tr> </thead> <tbody> <tr *ngFor="let u of myData;let odd=odd; let even=even;" [ngClass]="{ odd: odd, even: even }"> <td style="width:20px" *ngIf="!single_sel"> <mat-slide-toggle (change)="upd_f(u,$event)" [disabled]="!enabled" [(ngModel)]="u.checked"></mat-slide-toggle> </td> <td>{{u.descrizione_valore}}</td> <td style="width:20px;text-align: middle" *ngIf="single_sel" > <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; </td> </tr> </tbody></table></div>'
1522
+ var COMPONENT_TEMPLATE = '<div><table class="fh_table" style="width:100%;"> <thead> <tr> <th *ngIf="!single_sel"></th> <th> {{label}} </th> <th *ngIf="single_sel"></th> </tr> </thead> <tbody> <tr *ngFor="let u of myData;let odd=odd; let even=even;" [ngClass]="{ odd: odd, even: even }"> <td style="width:20px;" valign="middle" *ngIf="!single_sel"> <mat-slide-toggle (change)="upd_f(u,$event)" [disabled]="!enabled" [(ngModel)]="u.checked"></mat-slide-toggle> </td> <td valign="middle">{{u.descrizione_valore}}</td> <td valign="middle" style="width:20px;text-align: middle" *ngIf="single_sel" > <button mat-raised-button color="primary" (click)="upd_f(u,$event)" [disabled]="!enabled" ><mat-icon>send</mat-icon></button>&nbsp;&nbsp;&nbsp; </td> </tr> </tbody></table></div>'
1523
1523
  var COMPONENTS = [{'name': 'ApprovaGridComponent', 'selector': 'approva-cell'},{'name': 'ComboBoxEditor', 'selector': 'editor-cell'},{'name': 'CurrencyComponent', 'selector': 'currency-cell'},{'name': 'DateComponent', 'selector': 'editor-cell'},{'name': 'DtPick', 'selector': 'DtPicker'},{'name': 'FHAutoCompleteComponent', 'selector': 'FHAutoComplete'},{'name': 'FHComboboxComponent', 'selector': 'FHComboBox'},{'name': 'FHConfirmComponent', 'selector': ''},{'name': 'FHCurrencyFieldComponent', 'selector': 'FHCurrencyField'},{'name': 'FHDatePickerComponent', 'selector': 'FHDatePicker'},{'name': 'FHFieldPickListComponent', 'selector': 'FHFieldPickList'},{'name': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'name': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'name': 'fhimagepreview', 'selector': 'fh-image-viewer'},{'name': 'FHListComponent', 'selector': 'FHList'},{'name': 'FHListPick', 'selector': 'fhwincomboselect'},{'name': 'FHLogPanelComponent', 'selector': 'FHLogPanel'},{'name': 'FHMdReader', 'selector': 'FHMdReader'},{'name': 'FHNumericFieldComponent', 'selector': 'FHNumericField'},{'name': 'FHPickListComponent', 'selector': 'FHPickList'},{'name': 'FHRichText', 'selector': 'FHRichText'},{'name': 'FHTimePickerComponent', 'selector': 'FHTimePicker'},{'name': 'FHUploadComponent', 'selector': 'FHUpload'},{'name': 'FHUploadPanelComponent', 'selector': 'FHUploadPanel'},{'name': 'FHUserFieldComponent', 'selector': 'FHUserField'},{'name': 'FHUserPickerComponent', 'selector': 'FHPickUsers'},{'name': 'FHViewerComponent', 'selector': 'image-viewer'},{'name': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'name': 'FormBuilderComponent', 'selector': 'FHFormBuilder'},{'name': 'FormExecuterComponent', 'selector': 'FHFormExecuter'},{'name': 'FSInput', 'selector': ''},{'name': 'FSResult', 'selector': ''},{'name': 'NumericEditorComponent', 'selector': 'numeric-cell'},{'name': 'QGParam', 'selector': ''},{'name': 'QGResult', 'selector': ''},{'name': 'QParam', 'selector': ''},{'name': 'QResult', 'selector': ''},{'name': 'TextAreaEditor', 'selector': 'editor-cell'},{'name': 'win_assegna', 'selector': ''},{'name': 'win_commenti', 'selector': ''},{'name': 'win_commento_sel_notif', 'selector': ''},{'name': 'win_conferma', 'selector': ''},{'name': 'win_grid_help', 'selector': ''},{'name': 'win_info_doc', 'selector': ''},{'name': 'win_log', 'selector': ''},{'name': 'win_mappa', 'selector': ''},{'name': 'win_recupera_doc', 'selector': ''},{'name': 'win_riassegna_select_level', 'selector': ''},{'name': 'win_riassegna_select_user', 'selector': ''},{'name': 'win_salva_annulla', 'selector': ''},{'name': 'win_select_canale', 'selector': ''},{'name': 'win_select_level', 'selector': ''},{'name': 'win_show_image', 'selector': ''},{'name': 'win_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'},{'name': 'WinAskButtonsComponent', 'selector': 'app-win_ask_buttons'},{'name': 'WinAskNumberComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextBigComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextComponent', 'selector': 'app-win_ask_text'},{'name': 'WinOutputComponent', 'selector': 'app-win_output'},{'name': 'WinWait', 'selector': 'fhwincomboselect'},{'name': 'wkf_header_bar', 'selector': 'wkf_header_bar'}];
1524
1524
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
1525
1525
  var ACTUAL_COMPONENT = {'name': 'FHListComponent'};
@@ -167,7 +167,7 @@
167
167
 
168
168
  &lt;div style&#x3D;&quot;width:100%&quot; *ngIf&#x3D;&quot;vis_buttons&quot; fxLayout&#x3D;&quot;row&quot; fxLayoutAlign&#x3D;&quot;center center&quot;&gt;
169
169
  &lt;button mat-raised-button color&#x3D;&quot;primary&quot; (click)&#x3D;&quot;dialogRef.close(this.user_sel)&quot;&gt;Ok&lt;/button&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
170
- &lt;button mat-raised-button (click)&#x3D;&quot;dialogRef.close(false)&quot;&gt;Annulla&lt;/button&gt;
170
+ &lt;button mat-raised-button (click)&#x3D;&quot;dialogRef.close()&quot;&gt;Annulla&lt;/button&gt;
171
171
  &lt;/div&gt;
172
172
  &lt;/mat-dialog-actions&gt;
173
173
 
@@ -1048,7 +1048,7 @@
1048
1048
  <script src="../js/libs/htmlparser.js"></script>
1049
1049
  <script src="../js/libs/deep-iterator.js"></script>
1050
1050
  <script>
1051
- var COMPONENT_TEMPLATE = '<div><mat-dialog-content> <br><br> <div fxLayout="row"> <div fxLayout="column" fxFlex="40"> <div style="width:100%;height:420px;overflow:auto;"> <table style="width: 100%" class="fh_table"> <thead> <tr> <th colspan="2">UTENTI SELEZIONABILI</th> </tr> </thead> <tbody> <tr><td colspan="2"> <input [(ngModel)]="fltr_user" (ngModelChange)="filtra()" style=\'padding:8px;margin:15px auto;width:100%;\' placeholder=\'Ricerca...\'> </td></tr> <tr *ngFor="let u of users_list_sel;let odd=odd; let even=even;" (mouseover)="selectedAdd=u" [ngClass]="{ odd: odd, even: even }" (click)="addTo(u)" (dblclick)="do_add()" class="selector" [ngClass]="{ \'active\': selectedAdd == u }"> <td style="width: 80%">{{u.nc}}</td> <td style="width: 20%">{{u.canale}}</td> </tr> </tbody> </table> </div> </div> <div fxLayout="column" fxFlex="20" 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);"> <div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);"> <button mat-raised-button (click)="do_add()" [disabled]="!option"> <mat-icon>arrow_forward</mat-icon> </button> <br><br> <button mat-raised-button (click)="do_rem()" [disabled]="option"> <mat-icon>delete</mat-icon> </button> </div> </div> <div fxLayout="column" fxFlex="40"> <div style="width:100%;height:420px;overflow:auto;"> <table style="width: 100%" class="fh_table"> <thead> <tr> <th colspan="2">UTENTI SELEZIONATI</th> </tr> </thead> <tbody> <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" [ngClass]="{ \'active\': selectedRemove == u }"> <td style="width: 80%">{{u.nc}}</td> <td style="width: 20%">{{u.canale}}</td> </tr> </tbody> </table> </div> </div> </div></mat-dialog-content><mat-dialog-actions> <div style="width:100%" *ngIf="vis_buttons" fxLayout="row" fxLayoutAlign="center center"> <button mat-raised-button color="primary" (click)="dialogRef.close(this.user_sel)">Ok</button>&nbsp;&nbsp;&nbsp; <button mat-raised-button (click)="dialogRef.close(false)">Annulla</button> </div></mat-dialog-actions></div>'
1051
+ var COMPONENT_TEMPLATE = '<div><mat-dialog-content> <br><br> <div fxLayout="row"> <div fxLayout="column" fxFlex="40"> <div style="width:100%;height:420px;overflow:auto;"> <table style="width: 100%" class="fh_table"> <thead> <tr> <th colspan="2">UTENTI SELEZIONABILI</th> </tr> </thead> <tbody> <tr><td colspan="2"> <input [(ngModel)]="fltr_user" (ngModelChange)="filtra()" style=\'padding:8px;margin:15px auto;width:100%;\' placeholder=\'Ricerca...\'> </td></tr> <tr *ngFor="let u of users_list_sel;let odd=odd; let even=even;" (mouseover)="selectedAdd=u" [ngClass]="{ odd: odd, even: even }" (click)="addTo(u)" (dblclick)="do_add()" class="selector" [ngClass]="{ \'active\': selectedAdd == u }"> <td style="width: 80%">{{u.nc}}</td> <td style="width: 20%">{{u.canale}}</td> </tr> </tbody> </table> </div> </div> <div fxLayout="column" fxFlex="20" 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);"> <div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);"> <button mat-raised-button (click)="do_add()" [disabled]="!option"> <mat-icon>arrow_forward</mat-icon> </button> <br><br> <button mat-raised-button (click)="do_rem()" [disabled]="option"> <mat-icon>delete</mat-icon> </button> </div> </div> <div fxLayout="column" fxFlex="40"> <div style="width:100%;height:420px;overflow:auto;"> <table style="width: 100%" class="fh_table"> <thead> <tr> <th colspan="2">UTENTI SELEZIONATI</th> </tr> </thead> <tbody> <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" [ngClass]="{ \'active\': selectedRemove == u }"> <td style="width: 80%">{{u.nc}}</td> <td style="width: 20%">{{u.canale}}</td> </tr> </tbody> </table> </div> </div> </div></mat-dialog-content><mat-dialog-actions> <div style="width:100%" *ngIf="vis_buttons" fxLayout="row" fxLayoutAlign="center center"> <button mat-raised-button color="primary" (click)="dialogRef.close(this.user_sel)">Ok</button>&nbsp;&nbsp;&nbsp; <button mat-raised-button (click)="dialogRef.close()">Annulla</button> </div></mat-dialog-actions></div>'
1052
1052
  var COMPONENTS = [{'name': 'ApprovaGridComponent', 'selector': 'approva-cell'},{'name': 'ComboBoxEditor', 'selector': 'editor-cell'},{'name': 'CurrencyComponent', 'selector': 'currency-cell'},{'name': 'DateComponent', 'selector': 'editor-cell'},{'name': 'DtPick', 'selector': 'DtPicker'},{'name': 'FHAutoCompleteComponent', 'selector': 'FHAutoComplete'},{'name': 'FHComboboxComponent', 'selector': 'FHComboBox'},{'name': 'FHConfirmComponent', 'selector': ''},{'name': 'FHCurrencyFieldComponent', 'selector': 'FHCurrencyField'},{'name': 'FHDatePickerComponent', 'selector': 'FHDatePicker'},{'name': 'FHFieldPickListComponent', 'selector': 'FHFieldPickList'},{'name': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'name': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'name': 'fhimagepreview', 'selector': 'fh-image-viewer'},{'name': 'FHListComponent', 'selector': 'FHList'},{'name': 'FHListPick', 'selector': 'fhwincomboselect'},{'name': 'FHLogPanelComponent', 'selector': 'FHLogPanel'},{'name': 'FHMdReader', 'selector': 'FHMdReader'},{'name': 'FHNumericFieldComponent', 'selector': 'FHNumericField'},{'name': 'FHPickListComponent', 'selector': 'FHPickList'},{'name': 'FHRichText', 'selector': 'FHRichText'},{'name': 'FHTimePickerComponent', 'selector': 'FHTimePicker'},{'name': 'FHUploadComponent', 'selector': 'FHUpload'},{'name': 'FHUploadPanelComponent', 'selector': 'FHUploadPanel'},{'name': 'FHUserFieldComponent', 'selector': 'FHUserField'},{'name': 'FHUserPickerComponent', 'selector': 'FHPickUsers'},{'name': 'FHViewerComponent', 'selector': 'image-viewer'},{'name': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'name': 'FormBuilderComponent', 'selector': 'FHFormBuilder'},{'name': 'FormExecuterComponent', 'selector': 'FHFormExecuter'},{'name': 'FSInput', 'selector': ''},{'name': 'FSResult', 'selector': ''},{'name': 'NumericEditorComponent', 'selector': 'numeric-cell'},{'name': 'QGParam', 'selector': ''},{'name': 'QGResult', 'selector': ''},{'name': 'QParam', 'selector': ''},{'name': 'QResult', 'selector': ''},{'name': 'TextAreaEditor', 'selector': 'editor-cell'},{'name': 'win_assegna', 'selector': ''},{'name': 'win_commenti', 'selector': ''},{'name': 'win_commento_sel_notif', 'selector': ''},{'name': 'win_conferma', 'selector': ''},{'name': 'win_grid_help', 'selector': ''},{'name': 'win_info_doc', 'selector': ''},{'name': 'win_log', 'selector': ''},{'name': 'win_mappa', 'selector': ''},{'name': 'win_recupera_doc', 'selector': ''},{'name': 'win_riassegna_select_level', 'selector': ''},{'name': 'win_riassegna_select_user', 'selector': ''},{'name': 'win_salva_annulla', 'selector': ''},{'name': 'win_select_canale', 'selector': ''},{'name': 'win_select_level', 'selector': ''},{'name': 'win_show_image', 'selector': ''},{'name': 'win_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'},{'name': 'WinAskButtonsComponent', 'selector': 'app-win_ask_buttons'},{'name': 'WinAskNumberComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextBigComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextComponent', 'selector': 'app-win_ask_text'},{'name': 'WinOutputComponent', 'selector': 'app-win_output'},{'name': 'WinWait', 'selector': 'fhwincomboselect'},{'name': 'wkf_header_bar', 'selector': 'wkf_header_bar'}];
1053
1053
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
1054
1054
  var ACTUAL_COMPONENT = {'name': 'FHUserPickerComponent'};