@fluxhub/fluxhub-lib 1.0.505 → 1.0.507
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +28 -10
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +2 -2
- package/esm2015/lib/controls/fhgrid_toolbar.js +2 -2
- package/esm2015/lib/wkf_engine/wkfapp.js +23 -10
- package/esm5/lib/controls/fhgrid.js +2 -2
- package/esm5/lib/controls/fhgrid_toolbar.js +2 -2
- package/esm5/lib/wkf_engine/wkfapp.js +27 -9
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +28 -10
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkfapp.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5501,7 +5501,7 @@ class wkfapp {
|
|
|
5501
5501
|
}
|
|
5502
5502
|
this.sendEMail_ex(this.user_idp, a_datanot, this.titolo_email + "L'utente " + this.user_cognome + ' ' + this.user_nome + " ti ha riassegnato il documento: " + this.get_grid().sRow.codice, "Commento:\n\n" + this.nota_wax, this.id_applicativo, this.get_grid().sRow.uiid, this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_root + '/' + this.id_applicativo + "/" + this.get_grid().sRow.uiid + "/edit", this.get_grid().sRow.uiid, this.nota_wax);
|
|
5503
5503
|
/** @type {?} */
|
|
5504
|
-
|
|
5504
|
+
let p = new QParam();
|
|
5505
5505
|
p.sql = "INSERT_COMMENTO_RIASS";
|
|
5506
5506
|
p.types = ['string', 'string', 'string', 'string', 'string', 'int', 'int'];
|
|
5507
5507
|
p.values = [this.id_applicativo, this.get_grid().sRow.uiid, "Documento riassegnato a " + a_utif, this.user_idp, this.os_r.descri_livello, this.get_grid().sRow.stato, this.os_r.livello];
|
|
@@ -5530,8 +5530,7 @@ class wkfapp {
|
|
|
5530
5530
|
ccan = this.wax[0].gruppo_parallelo;
|
|
5531
5531
|
}
|
|
5532
5532
|
console.log('riassegnazione canale: ', ccan);
|
|
5533
|
-
|
|
5534
|
-
var p = new QParam();
|
|
5533
|
+
p = new QParam();
|
|
5535
5534
|
p.sql = "UPDATE_RIASS_DOCUMENTO";
|
|
5536
5535
|
p.types = ['string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', 'string', ccan];
|
|
5537
5536
|
p.values = [this.os_r.livello, this.os_r.descri_livello, a_let, a_aut, this.os_r.descri_livello, a_pers_inti, a_partecipanti, this.get_grid().sRow.id_applicativo, this.get_grid().sRow.uiid];
|
|
@@ -5554,8 +5553,7 @@ class wkfapp {
|
|
|
5554
5553
|
err => {
|
|
5555
5554
|
console.log("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
|
|
5556
5555
|
}));
|
|
5557
|
-
|
|
5558
|
-
var p = new QParam();
|
|
5556
|
+
p = new QParam();
|
|
5559
5557
|
p.sql = "INSERT_WKF_COMMENTO";
|
|
5560
5558
|
p.types = ['string', 'string', 'string', 'string', 'string'];
|
|
5561
5559
|
p.values = [this.id_applicativo, this.get_grid().sRow.uiid, 'Documento riassegnato, commento:\n' + this.nota_wax, this.user_idp, ''];
|
|
@@ -5577,8 +5575,7 @@ class wkfapp {
|
|
|
5577
5575
|
console.log("ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI");
|
|
5578
5576
|
}));
|
|
5579
5577
|
if (this.wax.length > 0) {
|
|
5580
|
-
|
|
5581
|
-
var p = new QParam();
|
|
5578
|
+
p = new QParam();
|
|
5582
5579
|
p.sql = "UPDATE_RIASSEGNA_TODO";
|
|
5583
5580
|
p.types = ['string', 'string'];
|
|
5584
5581
|
p.values = [this.wax[0].idp, this.get_grid().sRow.uiid];
|
|
@@ -5940,6 +5937,22 @@ class wkfapp {
|
|
|
5940
5937
|
*/
|
|
5941
5938
|
() => { this.run_grid(); }), 500);
|
|
5942
5939
|
}
|
|
5940
|
+
/**
|
|
5941
|
+
* @private
|
|
5942
|
+
* @return {?}
|
|
5943
|
+
*/
|
|
5944
|
+
self_ok() {
|
|
5945
|
+
if (this.get_grid() != null) {
|
|
5946
|
+
this.get_grid().refresh_access(this);
|
|
5947
|
+
return;
|
|
5948
|
+
}
|
|
5949
|
+
setTimeout((/**
|
|
5950
|
+
* @return {?}
|
|
5951
|
+
*/
|
|
5952
|
+
() => {
|
|
5953
|
+
this.self_ok();
|
|
5954
|
+
}), 500);
|
|
5955
|
+
}
|
|
5943
5956
|
/**
|
|
5944
5957
|
* @private
|
|
5945
5958
|
* @return {?}
|
|
@@ -5950,7 +5963,7 @@ class wkfapp {
|
|
|
5950
5963
|
if (this.app_s.getState().wkf_obj != null)
|
|
5951
5964
|
if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
|
|
5952
5965
|
this.restore_state_wkf();
|
|
5953
|
-
this.
|
|
5966
|
+
this.self_ok();
|
|
5954
5967
|
this.run_grid();
|
|
5955
5968
|
return;
|
|
5956
5969
|
}
|
|
@@ -6065,7 +6078,7 @@ class wkfapp {
|
|
|
6065
6078
|
}
|
|
6066
6079
|
}
|
|
6067
6080
|
console.log('REFRESH ACCESS!');
|
|
6068
|
-
this.
|
|
6081
|
+
this.self_ok();
|
|
6069
6082
|
}
|
|
6070
6083
|
}));
|
|
6071
6084
|
}
|
|
@@ -7939,7 +7952,7 @@ class FHGridComponent {
|
|
|
7939
7952
|
FHGridComponent.decorators = [
|
|
7940
7953
|
{ type: Component, args: [{
|
|
7941
7954
|
selector: 'FHGrid',
|
|
7942
|
-
template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"3px\" style=\"min-height: 55px\" [hidden]=\"!show_buttons\">\r\n \r\n <div>\r\n\t\t \t\t<h5>{{num_r}} {{label_elementi}}</h5>\r\n </div>\r\n \r\n\r\n\t\t\t<div>\t<input matInput [placeholder]=\"trova_label\" (keydown)=\"keyDownFunctioncl($event)\" [(ngModel)]=\"ric_libera\"\r\n\t\t\t\t\t\t\t style=\"min-width:100px;max-width:180px;border:1px solid;min-height:30px\"></div>\r\n <div matTooltip=\"REMOVE FILTER\" matTooltipPosition=\"above\" *ngIf=\"show_pulisci_filtri\" >\r\n \t\t\t<button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\r\n\t\t\t\t<mat-icon>filter_none</mat-icon> \r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n \t\t\t<button mat-flat-button (click)=\"autoSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>compare_arrows</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\r\n\t \t\t<button mat-flat-button (click)=\"fitSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>keyboard_tab</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"Refresh()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n <FHFilterComboBox fxHide fxShow.gt-sm [hidden]='!show_buttons' (selchange)=\"ch_config()\" (fillend)=\"fe_cfg()\" #gf init_fill=\"false\"></FHFilterComboBox>\r\n\t\t\t\t<div matTooltip=\"Modifica Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n\t\t\t\t\t<button mat-icon-button *ngIf=\"show_buttons\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"color:rgb(248, 105, 10)\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"edit_config()\">save</mat-icon>\r\n </button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div fxHide fxShow.gt-sm matTooltip=\"Crea Nuova Preferenza\" matTooltipPosition=\"above\">\r\n\t\t\t\t\t<button mat-icon-button style=\"color:rgb(16, 98, 16)\" *ngIf=\"show_buttons\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"insert_config()\">library_add</mat-icon>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n <mat-slide-toggle fxHide fxShow.gt-sm [hidden]='!show_buttons' (click)=\"ck_flag()\" #toggle_mantieni>\r\n\t\t\t\t\t{{mantieni_impostazioni}}\r\n\t\t\t\t</mat-slide-toggle>\r\n\r\n\r\n \t \t<div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"help_window()\" color=\"primary\" *ngIf=\"show_buttons && show_help\" >\r\n\t\t\t<mat-icon>help</mat-icon>\r\n </button></div> \r\n <div *ngIf=\"abilita_export\" matTooltip=\"EXPORT EXCEL\" matTooltipPosition=\"above\">\r\n <img src=\"assets/icons/square-o/xlsx.svg\" style=\"width:24px;height: 24px;cursor:pointer;\" (click)=\"export_excel()\" alt=\"Export Excel\">\r\n </div>\r\n\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\"
|
|
7955
|
+
template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"3px\" style=\"min-height: 55px\" [hidden]=\"!show_buttons\">\r\n \r\n <div>\r\n\t\t \t\t<h5>{{num_r}} {{label_elementi}}</h5>\r\n </div>\r\n \r\n\r\n\t\t\t<div>\t<input matInput [placeholder]=\"trova_label\" (keydown)=\"keyDownFunctioncl($event)\" [(ngModel)]=\"ric_libera\"\r\n\t\t\t\t\t\t\t style=\"min-width:100px;max-width:180px;border:1px solid;min-height:30px\"></div>\r\n <div matTooltip=\"REMOVE FILTER\" matTooltipPosition=\"above\" *ngIf=\"show_pulisci_filtri\" >\r\n \t\t\t<button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\r\n\t\t\t\t<mat-icon>filter_none</mat-icon> \r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\r\n \t\t\t<button mat-flat-button (click)=\"autoSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>compare_arrows</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\r\n\t \t\t<button mat-flat-button (click)=\"fitSizeAll()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n\t\t\t\t<mat-icon>keyboard_tab</mat-icon>\r\n\t\t\t</button>\r\n </div>\r\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"Refresh()\" color=\"primary\"\r\n *ngIf=\"show_buttons\">\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </div>\r\n <FHFilterComboBox fxHide fxShow.gt-sm [hidden]='!show_buttons' (selchange)=\"ch_config()\" (fillend)=\"fe_cfg()\" #gf init_fill=\"false\"></FHFilterComboBox>\r\n\t\t\t\t<div matTooltip=\"Modifica Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n\t\t\t\t\t<button mat-icon-button *ngIf=\"show_buttons\"\r\n\t\t\t\t\t\t\t\t\tstyle=\"color:rgb(248, 105, 10)\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"edit_config()\">save</mat-icon>\r\n </button>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t\t<div fxHide fxShow.gt-sm matTooltip=\"Crea Nuova Preferenza\" matTooltipPosition=\"above\">\r\n\t\t\t\t\t<button mat-icon-button style=\"color:rgb(16, 98, 16)\" *ngIf=\"show_buttons\">\r\n\t\t\t\t\t\t<mat-icon (click)=\"insert_config()\">library_add</mat-icon>\r\n\t\t\t\t\t</button>\r\n\t\t\t\t</div>\r\n\r\n <mat-slide-toggle fxHide fxShow.gt-sm [hidden]='!show_buttons' (click)=\"ck_flag()\" #toggle_mantieni>\r\n\t\t\t\t\t{{mantieni_impostazioni}}\r\n\t\t\t\t</mat-slide-toggle>\r\n\r\n\r\n \t \t<div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\r\n <button mat-flat-button (click)=\"help_window()\" color=\"primary\" *ngIf=\"show_buttons && show_help\" >\r\n\t\t\t<mat-icon>help</mat-icon>\r\n </button></div> \r\n <div *ngIf=\"abilita_export\" matTooltip=\"EXPORT EXCEL\" matTooltipPosition=\"above\">\r\n <img src=\"assets/icons/square-o/xlsx.svg\" style=\"width:24px;height: 24px;cursor:pointer;\" (click)=\"export_excel()\" alt=\"Export Excel\">\r\n </div>\r\n\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" width=\"100%\" style=\"background-color: maroon\">\r\n <FHGridToolBar (command)=\"docmd($event)\" [type]=\"toolbar_type\"\r\n\r\n [custom_commands]=\"toolbar_custom_commands\"\r\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\r\n\r\n ></FHGridToolBar>\r\n\t\t</div>\r\n </div>\r\n\r\n <div fxLayout=\"row\" style=\"width:100%\" [fxFlex]=\"show_buttons ? 100:95\">\r\n<ag-grid-angular\r\n ref-agGrid\r\n style=\"width: 100%; height: 100%;\"\r\n id=\"myGrid\"\r\n\t\t\t\t\t\t\t\t (cellDoubleClicked)=\"onColumnEvent($event)\"\r\n (cellClicked)=\"onCellClicked($event)\"\r\n\t\t\t\t\t\t\t\t [headerHeight]=\"header_h\"\r\n [groupHeaderHeight]=\"header_h\"\r\n\r\n\t\t\t\t\t\t\t\t class=\"ag-theme-balham\"\r\n [singleClickEdit]=\"true\"\r\n [gridOptions]=\"gridOptions\"\r\n [columnDefs]=\"columnDefs\"\r\n\t\t\t\t\t\t\t\t [rowData]=\"rowData\"\r\n [getContextMenuItems]=\"abilita_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\r\n\r\n (filterModified)=\"onFilterModified()\"\r\n\t\t\t\t\t\t\t\t (rowDoubleClicked)=\"onRowDClicked($event)\"\r\n\t\t\t\t\t\t\t\t (rowClicked)=\"onRowClicked($event)\"\r\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnResized)=\"oncolumnEverythingChanged($event)\"\r\n\t\t\t\t\t\t\t\t (columnMoved)=\"oncolumnEverythingChanged($event)\"\r\n (cellValueChanged)=\"okr($event)\"\r\n\t\t\t\t\t\t\t\t (sortChanged)=\"onAfterSortChanged()\"\r\n [paginationPageSize]=\"num_per_pag\"\r\n (gridReady)=\"onReady($event)\">\r\n</ag-grid-angular>\r\n</div>\r\n</div>\r\n",
|
|
7943
7956
|
styles: [`
|
|
7944
7957
|
|
|
7945
7958
|
`]
|
|
@@ -15149,7 +15162,7 @@ FHGridToolBarComponent.decorators = [
|
|
|
15149
15162
|
</div>
|
|
15150
15163
|
</mat-toolbar>
|
|
15151
15164
|
</div>
|
|
15152
|
-
<div *ngIf="type=='WKF'" fxLayoutGap="3px" fxLayout="row"
|
|
15165
|
+
<div *ngIf="type=='WKF'" fxLayoutGap="3px" fxLayout="row" fxLayoutAlign="end center" style="background-color: #CC0000">
|
|
15153
15166
|
|
|
15154
15167
|
<mat-toolbar>
|
|
15155
15168
|
<div fxLayout="row" fxLayoutGap="3px">
|