@fluxhub/fluxhub-lib 1.0.111 → 1.0.113

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.
@@ -4182,7 +4182,7 @@
4182
4182
  <script src="../js/libs/htmlparser.js"></script>
4183
4183
  <script src="../js/libs/deep-iterator.js"></script>
4184
4184
  <script>
4185
- var COMPONENT_TEMPLATE = '<div><table [hidden]=\'!show_buttons\' style="width: 100%;height: 15%;"> <tr> <td [hidden]=\'this.m_appService.getState().pageFullscreen\'><h5>{{num_r+label_elementi}}</h5> </td> <td style="vertical-align:bottom"> <mat-form-field> <input matInput [placeholder]="trova_label" (keydown)="keyDownFunctioncl($event)" [(ngModel)]="ric_libera" style="width:200px"> </mat-form-field> </td> <td [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="!this.m_appService.getState( ).mobile"> <button *ngIf="show_pulisci_filtri" mat-raised-button (click)="pulisci_filtri()" color="warn"> <mat-icon>clear</mat-icon>&nbsp;&nbsp;REMOVE FILTER </button> </td> <td [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="show_buttons && !this.m_appService.getState( ).mobile"> <button mat-raised-button (click)="autoSizeAll()" color="accent"> <mat-icon>photo_size_select_small</mat-icon>&nbsp;&nbsp;AUTO SIZE </button> </td> <td [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="show_buttons && !this.m_appService.getState( ).mobile"> <button mat-raised-button (click)="fitSizeAll()" color="accent"> <mat-icon>aspect_ratio</mat-icon>&nbsp;&nbsp;FIT SIZE </button> <td *ngIf="show_buttons && !this.m_appService.getState( ).mobile"> <div fxLayout="row" fxLayoutAlign="center center"> <FHComboBox (selchange)="ch_config()" (fillend)="fe_cfg()" #gf init_fill="false"></FHComboBox> <div matTooltip="Modifica Preferenza" matTooltipPosition="above"> <button [hidden]=\'this.m_appService.getState().pageFullscreen\' mat-icon-button *ngIf="curr_config!=\'-1\'" style="color:rgb(248, 105, 10)"> <mat-icon (click)="edit_config()">save</mat-icon> </button> </div> &nbsp; <div matTooltip="Crea Nuova Preferenza" matTooltipPosition="above"> <button [hidden]=\'this.m_appService.getState().pageFullscreen\' mat-icon-button style="color:rgb(16, 98, 16)"> <mat-icon (click)="insert_config()">library_add</mat-icon> </button> </div> <mat-slide-toggle [hidden]=\'this.m_appService.getState().pageFullscreen\' (click)="ck_flag()" #toggle_mantieni> {{mantieni_impostazioni}} </mat-slide-toggle> </div> </td> <td style="width: 100%;text-align: right;" [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="show_buttons && !this.m_appService.getState( ).mobile"> <button *ngIf="show_help" mat-raised-button (click)="help_window()" color="accent"> <mat-icon>help</mat-icon>&nbsp;&nbsp;HELP </button> </td> </tr></table><div [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="!show_buttons && !this.m_appService.getState( ).mobile && show_num_elem"><h5>{{num_r+\' Elementi\'}}</h5></div><ag-grid-angular ref-agGrid style="width:100%;height:85%;" (cellDoubleClicked)="onColumnEvent($event)" (cellClicked)="onCellClicked($event)" [headerHeight]="header_h" [groupHeaderHeight]="header_h" class="ag-theme-balham" [singleClickEdit]="true" [gridOptions]="gridOptions" [columnDefs]="columnDefs" [rowData]="rowData" enableColResize enableServerSideSorting enableServerSideFilter enableColResize (afterFilterChanged)="onAfterFilterChanged()" (filterModified)="onFilterModified()" (rowDoubleClicked)="onRowDClicked($event)" (rowClicked)="onRowClicked($event)" (columnVisible)="oncolumnEverythingChanged($event)" (columnResized)="oncolumnEverythingChanged($event)" (columnMoved)="oncolumnEverythingChanged($event)" (cellValueChanged)="okr($event)" (sortChanged)="onAfterSortChanged()" [paginationPageSize]="num_per_pag" (gridReady)="onReady($event)"></ag-grid-angular></div>'
4185
+ var COMPONENT_TEMPLATE = '<div><table [hidden]=\'!show_buttons\' style="width: 100%;height: 15%;"> <tr> <td [hidden]=\'this.m_appService.getState().pageFullscreen\'><h5>{{num_r+label_elementi}}</h5> </td> <td style="vertical-align:middle"> <input matInput [placeholder]="trova_label" (keydown)="keyDownFunctioncl($event)" [(ngModel)]="ric_libera" style="width:200px"> </td> <td [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="!this.m_appService.getState( ).mobile"> <button *ngIf="show_pulisci_filtri" mat-raised-button (click)="pulisci_filtri()" color="warn"> <mat-icon>clear</mat-icon>&nbsp;&nbsp;REMOVE FILTER </button> </td> <td [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="show_buttons && !this.m_appService.getState( ).mobile"> <button mat-raised-button (click)="autoSizeAll()" color="accent"> <mat-icon>photo_size_select_small</mat-icon>&nbsp;&nbsp;AUTO SIZE </button> </td> <td [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="show_buttons && !this.m_appService.getState( ).mobile"> <button mat-raised-button (click)="fitSizeAll()" color="accent"> <mat-icon>aspect_ratio</mat-icon>&nbsp;&nbsp;FIT SIZE </button> <td *ngIf="show_buttons && !this.m_appService.getState( ).mobile"> <div fxLayout="row" fxLayoutAlign="center center"> <FHComboBox (selchange)="ch_config()" (fillend)="fe_cfg()" #gf init_fill="false"></FHComboBox> <div matTooltip="Modifica Preferenza" matTooltipPosition="above"> <button [hidden]=\'this.m_appService.getState().pageFullscreen\' mat-icon-button *ngIf="curr_config!=\'-1\'" style="color:rgb(248, 105, 10)"> <mat-icon (click)="edit_config()">save</mat-icon> </button> </div> &nbsp; <div matTooltip="Crea Nuova Preferenza" matTooltipPosition="above"> <button [hidden]=\'this.m_appService.getState().pageFullscreen\' mat-icon-button style="color:rgb(16, 98, 16)"> <mat-icon (click)="insert_config()">library_add</mat-icon> </button> </div> <mat-slide-toggle [hidden]=\'this.m_appService.getState().pageFullscreen\' (click)="ck_flag()" #toggle_mantieni> {{mantieni_impostazioni}} </mat-slide-toggle> </div> </td> <td style="width: 100%;text-align: right;" [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="show_buttons && !this.m_appService.getState( ).mobile"> <button *ngIf="show_help" mat-raised-button (click)="help_window()" color="accent"> <mat-icon>help</mat-icon>&nbsp;&nbsp;HELP </button> </td> </tr></table><div [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="!show_buttons && !this.m_appService.getState( ).mobile && show_num_elem"><h5>{{num_r+\' Elementi\'}}</h5></div><ag-grid-angular ref-agGrid style="width:100%;height:85%;" (cellDoubleClicked)="onColumnEvent($event)" (cellClicked)="onCellClicked($event)" [headerHeight]="header_h" [groupHeaderHeight]="header_h" class="ag-theme-balham" [singleClickEdit]="true" [gridOptions]="gridOptions" [columnDefs]="columnDefs" [rowData]="rowData" enableColResize enableServerSideSorting enableServerSideFilter enableColResize (afterFilterChanged)="onAfterFilterChanged()" (filterModified)="onFilterModified()" (rowDoubleClicked)="onRowDClicked($event)" (rowClicked)="onRowClicked($event)" (columnVisible)="oncolumnEverythingChanged($event)" (columnResized)="oncolumnEverythingChanged($event)" (columnMoved)="oncolumnEverythingChanged($event)" (cellValueChanged)="okr($event)" (sortChanged)="onAfterSortChanged()" [paginationPageSize]="num_per_pag" (gridReady)="onReady($event)"></ag-grid-angular></div>'
4186
4186
  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': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'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': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'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': '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': '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_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'}];
4187
4187
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
4188
4188
  var ACTUAL_COMPONENT = {'name': 'FHGridComponent'};
@@ -131,17 +131,21 @@
131
131
  &lt;table&gt;
132
132
  &lt;thead&gt;
133
133
  &lt;tr class&#x3D;&quot;header&quot;&gt;
134
- &lt;th style&#x3D;&quot;width:25%;&quot;&gt;Nome&lt;/th&gt;
135
- &lt;th style&#x3D;&quot;width:15%;text-align:center&quot;&gt;Dim.&lt;/th&gt;
136
- &lt;th style&#x3D;&quot;width:35%;&quot;&gt;Descrizione&lt;/th&gt;
137
- &lt;th style&#x3D;&quot;width:15%;text-align:center&quot;&gt;Data&lt;/th&gt;
138
- &lt;th style&#x3D;&quot;width:15%;&quot;&gt;&lt;/th&gt;
139
- &lt;th *ngIf&#x3D;&quot;enabled&quot; class&#x3D;&quot;actions&quot;&gt;&lt;/th&gt;
134
+ &lt;th style&#x3D;&quot;width:40px&quot;&gt;&lt;/th&gt;
135
+ &lt;th style&#x3D;&quot;width:50%&quot;&gt;Nome&lt;/th&gt;
136
+ &lt;th style&#x3D;&quot;width:60px;text-align:center&quot;&gt;Dim.&lt;/th&gt;
137
+ &lt;th style&#x3D;&quot;width:50%&quot;&gt;Descrizione&lt;/th&gt;
138
+ &lt;th style&#x3D;&quot;width:240px;text-align:center&quot;&gt;Data&lt;/th&gt;
139
+ &lt;th style&#x3D;&quot;width:40px&quot; class&#x3D;&quot;actions&quot;&gt;&lt;/th&gt;
140
+ &lt;th *ngIf&#x3D;&quot;enabled&quot; style&#x3D;&quot;width:40px&quot; class&#x3D;&quot;actions&quot;&gt;&lt;/th&gt;
140
141
  &lt;/tr&gt;
141
142
  &lt;/thead&gt;
142
143
  &lt;tbody&gt;
143
144
 
144
145
  &lt;tr *ngFor&#x3D;&quot;let app of arr_g&quot; style&#x3D;&quot;font-size: 12px;&quot;&gt;
146
+ &lt;td style&#x3D;&quot;text-align:center;vertical-align: middle;width:36px;height:36px;&quot;&gt;
147
+ &lt;div style&#x3D;&quot;text-align:center;vertical-align: middle;width:28px;height:28px;&quot;&gt;
148
+ &lt;img src&#x3D;&quot;assets/icons/square-o/{{app.icon}}&quot; style&#x3D;&quot;width:28px;height:28px;&quot;&gt;&lt;/div&gt; &lt;/td&gt;
145
149
  &lt;td&gt;{{app.Filename}}&lt;/td&gt;
146
150
  &lt;td style&#x3D;&quot;text-align:center&quot;&gt;{{app.Filesize}}&lt;/td&gt;
147
151
  &lt;td&gt;{{app.descrizione}}&lt;/td&gt;
@@ -1204,7 +1208,7 @@
1204
1208
  <script src="../js/libs/htmlparser.js"></script>
1205
1209
  <script src="../js/libs/deep-iterator.js"></script>
1206
1210
  <script>
1207
- var COMPONENT_TEMPLATE = '<div><mat-toolbar color="primary">{{title}} <div style="width:100%;text-align: right;"> </div></mat-toolbar><div mat-dialog-content style="min-width:800px"> <br> <div *ngIf="enabled"> <input matInput type="text" name="descrizione" [(ngModel)]="descrizione" placeholder="{{label}}"> <input type="file" ng2FileSelect [uploader]="uploader" multiple (change)="ch()"/> <!--<button mat-raised-button *ngIf="b_edit_loaded" (click)="download_all()">{{label_b}}</button>--> </div> <br> <br> <table> <thead> <tr class="header"> <th style="width:25%;">Nome</th> <th style="width:15%;text-align:center">Dim.</th> <th style="width:35%;">Descrizione</th> <th style="width:15%;text-align:center">Data</th> <th style="width:15%;"></th> <th *ngIf="enabled" class="actions"></th> </tr> </thead> <tbody> <tr *ngFor="let app of arr_g" style="font-size: 12px;"> <td>{{app.Filename}}</td> <td style="text-align:center">{{app.Filesize}}</td> <td>{{app.descrizione}}</td> <td style="text-align:center">{{app.dt_ins}} - {{app.dt_ins | date: \'dd/MM/yyyy HH:MM:SS\'}}</td> <td style="text-align:center"> <button mat-icon-button matTooltip="Download File" (click)="download_all(app)"> <mat-icon>save_alt</mat-icon> </button> </td> <td style="text-align:center"><a mat-icon-button *ngIf="enabled" (click)="delete(app)"> <mat-icon>delete</mat-icon> </a></td> </tr> </table></div><div style="width:100%;text-align:center;"> <button mat-raised-button (click)="dialogRef.close(\'Option 1\')">CHIUDI</button></div><div *ngIf="!b_ini" style="color:#ff0000"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div></div>'
1211
+ var COMPONENT_TEMPLATE = '<div><mat-toolbar color="primary">{{title}} <div style="width:100%;text-align: right;"> </div></mat-toolbar><div mat-dialog-content style="min-width:800px"> <br> <div *ngIf="enabled"> <input matInput type="text" name="descrizione" [(ngModel)]="descrizione" placeholder="{{label}}"> <input type="file" ng2FileSelect [uploader]="uploader" multiple (change)="ch()"/> <!--<button mat-raised-button *ngIf="b_edit_loaded" (click)="download_all()">{{label_b}}</button>--> </div> <br> <br> <table> <thead> <tr class="header"> <th style="width:40px"></th> <th style="width:50%">Nome</th> <th style="width:60px;text-align:center">Dim.</th> <th style="width:50%">Descrizione</th> <th style="width:240px;text-align:center">Data</th> <th style="width:40px" class="actions"></th> <th *ngIf="enabled" style="width:40px" class="actions"></th> </tr> </thead> <tbody> <tr *ngFor="let app of arr_g" style="font-size: 12px;"> <td style="text-align:center;vertical-align: middle;width:36px;height:36px;"> <div style="text-align:center;vertical-align: middle;width:28px;height:28px;"> <img src="assets/icons/square-o/{{app.icon}}" style="width:28px;height:28px;"></div> </td> <td>{{app.Filename}}</td> <td style="text-align:center">{{app.Filesize}}</td> <td>{{app.descrizione}}</td> <td style="text-align:center">{{app.dt_ins}} - {{app.dt_ins | date: \'dd/MM/yyyy HH:MM:SS\'}}</td> <td style="text-align:center"> <button mat-icon-button matTooltip="Download File" (click)="download_all(app)"> <mat-icon>save_alt</mat-icon> </button> </td> <td style="text-align:center"><a mat-icon-button *ngIf="enabled" (click)="delete(app)"> <mat-icon>delete</mat-icon> </a></td> </tr> </table></div><div style="width:100%;text-align:center;"> <button mat-raised-button (click)="dialogRef.close(\'Option 1\')">CHIUDI</button></div><div *ngIf="!b_ini" style="color:#ff0000"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div></div>'
1208
1212
  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': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'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': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'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': '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': '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_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'}];
1209
1213
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
1210
1214
  var ACTUAL_COMPONENT = {'name': 'win_uploads'};