@fluxhub/fluxhub-lib 1.0.116 → 1.0.118

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.
@@ -4393,7 +4393,7 @@
4393
4393
  <script src="../js/libs/htmlparser.js"></script>
4394
4394
  <script src="../js/libs/deep-iterator.js"></script>
4395
4395
  <script>
4396
- var COMPONENT_TEMPLATE = '<div><div fxLayout="column" fxLayoutAlign="stretch" fxFlexFill> <div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="start center" style="min-height: 55px" > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div> <h5>{{num_r}}&nbsp;{{label_elementi}}</h5> </div> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input matInput [placeholder]="trova_label" (keydown)="keyDownFunctioncl($event)" [(ngModel)]="ric_libera" style="width:200px;border:1px solid;min-height:30px"> <button [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="!this.m_appService.getState( ).mobile && show_pulisci_filtri" mat-raised-button (click)="pulisci_filtri()" color="warn"> <mat-icon>clear</mat-icon>&nbsp;&nbsp;REMOVE FILTER </button> <button [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="show_buttons && !this.m_appService.getState( ).mobile" mat-raised-button (click)="autoSizeAll()" color="accent"> <mat-icon>photo_size_select_small</mat-icon>&nbsp;&nbsp;AUTO SIZE </button> <button [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="show_buttons && !this.m_appService.getState( ).mobile" mat-raised-button (click)="fitSizeAll()" color="accent"> <mat-icon>aspect_ratio</mat-icon>&nbsp;&nbsp;FIT SIZE </button> <FHComboBox [hidden]=\'this.m_appService.getState().pageFullscreen\' (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> <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> &nbsp; <button *ngIf="show_buttons && !this.m_appService.getState( ).mobile && show_help" mat-raised-button (click)="help_window()" color="accent"> <mat-icon>help</mat-icon>&nbsp;&nbsp;HELP&nbsp;&nbsp;&nbsp; </button> <div fxLayout="row" fxLayoutAlign="end center" fxFlex> <FHGridToolBar (command)="docmd($event)" [type]="toolbar_type" [is_Ins]="toolbar_is_Ins" [is_Supervisor]="toolbar_is_Supervisor" [imp]="toolbar_imp" [custom_commands]="toolbar_custom_commands" [is_Admin]="toolbar_is_Admin" ></FHGridToolBar> </div> <h5 *ngIf="!this.m_appService.getState().pageFullscreen && !show_buttons && !this.m_appService.getState( ).mobile && show_num_elem">{{num_r+\' Elementi\'}}</h5></div> <div fxLayout="row" fxLayoutAlign="stretch" fxFlex="95"><ag-grid-angular ref-agGrid style="width:100%;height:100%;" (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></div></div>'
4396
+ var COMPONENT_TEMPLATE = '<div><div fxLayout="column" fxLayoutAlign="stretch" fxFlexFill> <div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="start center" style="min-height: 55px" > &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div> <h5>{{num_r}}&nbsp;{{label_elementi}}</h5> </div> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input matInput [placeholder]="trova_label" (keydown)="keyDownFunctioncl($event)" [(ngModel)]="ric_libera" style="min-width:100px;max-width:180px;border:1px solid;min-height:30px"> <div matTooltip="REMOVE FILTER" matTooltipPosition="above" [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="!this.m_appService.getState( ).mobile && show_pulisci_filtri" > <button mat-raised-button (click)="pulisci_filtri()" color="warn"> <mat-icon>filter_none</mat-icon>&nbsp; </button> </div> <div matTooltip="AUTO SIZE" matTooltipPosition="above" [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> </button> </div> <div matTooltip="FIT SIZE" matTooltipPosition="above" [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> </button> </div> <FHComboBox [hidden]=\'this.m_appService.getState().pageFullscreen\' (selchange)="ch_config()" (fillend)="fe_cfg()" #gf init_fill="false"></FHComboBox> <div matTooltip="Modifica Preferenza" matTooltipPosition="above" [hidden]=\'this.m_appService.getState().pageFullscreen\' *ngIf="curr_config!=\'-1\'"> <button mat-icon-button style="color:rgb(248, 105, 10)"> <mat-icon (click)="edit_config()">save</mat-icon> </button> </div> <div matTooltip="Crea Nuova Preferenza" matTooltipPosition="above" [hidden]=\'this.m_appService.getState().pageFullscreen\'> <button 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> &nbsp; <div matTooltip="HELP" matTooltipPosition="above"*ngIf="show_buttons && !this.m_appService.getState( ).mobile && show_help" > <button mat-raised-button (click)="help_window()" color="accent"> <mat-icon>help</mat-icon> </button></div> <div fxLayout="row" fxLayoutAlign="end center" fxFlex> <FHGridToolBar (command)="docmd($event)" [type]="toolbar_type" [is_Ins]="toolbar_is_Ins" [is_Supervisor]="toolbar_is_Supervisor" [imp]="toolbar_imp" [custom_commands]="toolbar_custom_commands" [is_Admin]="toolbar_is_Admin" ></FHGridToolBar> </div> <h5 *ngIf="!this.m_appService.getState().pageFullscreen && !show_buttons && !this.m_appService.getState( ).mobile && show_num_elem">{{num_r+\' Elementi\'}}</h5></div> <div fxLayout="row" fxLayoutAlign="stretch" fxFlex="95"><ag-grid-angular ref-agGrid style="width:100%;height:100%;" (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></div></div>'
4397
4397
  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': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'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'}];
4398
4398
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
4399
4399
  var ACTUAL_COMPONENT = {'name': 'FHGridComponent'};
@@ -120,7 +120,7 @@
120
120
 
121
121
  &lt;button mat-raised-button (click)&#x3D;&quot;new_doc()&quot; color&#x3D;&quot;primary&quot;&gt;
122
122
  &lt;mat-icon&gt;note_add&lt;/mat-icon&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{&#x27;INSERISCI&#x27; | translate}}
123
- &lt;/button&gt;&lt;
123
+ &lt;/button&gt;
124
124
 
125
125
  &lt;button mat-raised-button (click)&#x3D;&quot;del_doc()&quot; color&#x3D;&quot;warn&quot;&gt;
126
126
  &lt;mat-icon&gt;delete&lt;/mat-icon&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{&#x27;ELIMINA&#x27; | translate}}
@@ -735,7 +735,7 @@
735
735
  <script src="../js/libs/htmlparser.js"></script>
736
736
  <script src="../js/libs/deep-iterator.js"></script>
737
737
  <script>
738
- var COMPONENT_TEMPLATE = '<div><div *ngIf="type==\'WKF\'" fxLayoutGap="3px" fxLayout="row" fxFlex="100" fxLayoutAlign="end center" style="background-color: #CC0000"> <mat-toolbar> <div fxLayout="row" fxLayoutGap="3px"> <button mat-raised-button (click)="insert_doc()" *ngIf="is_Ins" color="primary"><mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\'INSERISCI\' | translate}}</button>&nbsp;&nbsp;&nbsp; <button mat-raised-button color="warn" mat-button [matMenuTriggerFor]="gest_menu" *ngIf="is_Supervisor">{{\'Gestione\' | translate}}</button> <mat-menu #gest_menu="matMenu" > <button mat-menu-item (click)="annulla_richiesta()"> {{\'ANNULLA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="recupera_richiesta()"> {{\'RECUPERA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="riassegna_richiesta()"> {{\'RIASSEGNA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="test_utente()" *ngIf="is_Admin"> {{\'TEST UTENTE\' | translate}} </button> </mat-menu> <button mat-raised-button (click)="annulla_imp()" *ngIf="imp!=\'\'"> {{imp}} </button> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div> </div> </mat-toolbar></div><div *ngIf="type==\'INSERT_DELETE\'" fxLayoutGap="3px" fxLayout="row"> <mat-toolbar> <div fxLayout="row" fxLayoutGap="3px"> <button mat-raised-button (click)="new_doc()" color="primary"> <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\'INSERISCI\' | translate}} </button>< <button mat-raised-button (click)="del_doc()" color="warn"> <mat-icon>delete</mat-icon>&nbsp;&nbsp;&nbsp;{{\'ELIMINA\' | translate}} </button> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div> </div> </mat-toolbar></div><div *ngIf="type==\'CUSTOM\'" fxLayoutGap="3px" fxLayout="row"> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div></div></div>'
738
+ var COMPONENT_TEMPLATE = '<div><div *ngIf="type==\'WKF\'" fxLayoutGap="3px" fxLayout="row" fxFlex="100" fxLayoutAlign="end center" style="background-color: #CC0000"> <mat-toolbar> <div fxLayout="row" fxLayoutGap="3px"> <button mat-raised-button (click)="insert_doc()" *ngIf="is_Ins" color="primary"><mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\'INSERISCI\' | translate}}</button>&nbsp;&nbsp;&nbsp; <button mat-raised-button color="warn" mat-button [matMenuTriggerFor]="gest_menu" *ngIf="is_Supervisor">{{\'Gestione\' | translate}}</button> <mat-menu #gest_menu="matMenu" > <button mat-menu-item (click)="annulla_richiesta()"> {{\'ANNULLA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="recupera_richiesta()"> {{\'RECUPERA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="riassegna_richiesta()"> {{\'RIASSEGNA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="test_utente()" *ngIf="is_Admin"> {{\'TEST UTENTE\' | translate}} </button> </mat-menu> <button mat-raised-button (click)="annulla_imp()" *ngIf="imp!=\'\'"> {{imp}} </button> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div> </div> </mat-toolbar></div><div *ngIf="type==\'INSERT_DELETE\'" fxLayoutGap="3px" fxLayout="row"> <mat-toolbar> <div fxLayout="row" fxLayoutGap="3px"> <button mat-raised-button (click)="new_doc()" color="primary"> <mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{\'INSERISCI\' | translate}} </button> <button mat-raised-button (click)="del_doc()" color="warn"> <mat-icon>delete</mat-icon>&nbsp;&nbsp;&nbsp;{{\'ELIMINA\' | translate}} </button> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div> </div> </mat-toolbar></div><div *ngIf="type==\'CUSTOM\'" fxLayoutGap="3px" fxLayout="row"> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div></div></div>'
739
739
  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': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'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'}];
740
740
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
741
741
  var ACTUAL_COMPONENT = {'name': 'FHGridToolBarComponent'};