@fluxhub/fluxhub-lib 1.0.338 → 1.0.340
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 +45 -45
- 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 +39 -33
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +14 -12
- package/esm5/lib/controls/fhgrid.js +39 -37
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +14 -12
- package/fesm2015/fluxhub-fluxhub-lib.js +45 -41
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +45 -45
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +2 -1
- package/package.json +1 -1
|
@@ -6641,6 +6641,39 @@
|
|
|
6641
6641
|
// this.gridOptions.api.setDatasource(this.dataSource);
|
|
6642
6642
|
})
|
|
6643
6643
|
};
|
|
6644
|
+
this.getContextMenuItems_n_e = (/**
|
|
6645
|
+
* @return {?}
|
|
6646
|
+
*/
|
|
6647
|
+
function () { return [
|
|
6648
|
+
'autoSizeAll',
|
|
6649
|
+
'expandAll',
|
|
6650
|
+
'contractAll',
|
|
6651
|
+
'copy',
|
|
6652
|
+
'copyWithHeaders',
|
|
6653
|
+
'paste'
|
|
6654
|
+
]; });
|
|
6655
|
+
this.getContextMenuItems_e = (/**
|
|
6656
|
+
* @return {?}
|
|
6657
|
+
*/
|
|
6658
|
+
function () { return [
|
|
6659
|
+
'autoSizeAll',
|
|
6660
|
+
'expandAll',
|
|
6661
|
+
'contractAll',
|
|
6662
|
+
'copy',
|
|
6663
|
+
'copyWithHeaders',
|
|
6664
|
+
'paste',
|
|
6665
|
+
// 'resetColumns',
|
|
6666
|
+
{
|
|
6667
|
+
name: "Esporta",
|
|
6668
|
+
action: (/**
|
|
6669
|
+
* @return {?}
|
|
6670
|
+
*/
|
|
6671
|
+
function () {
|
|
6672
|
+
_this.export_excel();
|
|
6673
|
+
}),
|
|
6674
|
+
icon: '<img src="assets/icons/square-o/xlsx.svg"/>'
|
|
6675
|
+
},
|
|
6676
|
+
]; });
|
|
6644
6677
|
this.gridOptions = (/** @type {?} */ ({
|
|
6645
6678
|
debug: false,
|
|
6646
6679
|
headerHeight: this.header_h,
|
|
@@ -6971,41 +7004,6 @@
|
|
|
6971
7004
|
}
|
|
6972
7005
|
}));
|
|
6973
7006
|
};
|
|
6974
|
-
/**
|
|
6975
|
-
* @return {?}
|
|
6976
|
-
*/
|
|
6977
|
-
FHGridComponent.prototype.getContextMenuItems = /**
|
|
6978
|
-
* @return {?}
|
|
6979
|
-
*/
|
|
6980
|
-
function () {
|
|
6981
|
-
var _this = this;
|
|
6982
|
-
/** @type {?} */
|
|
6983
|
-
var result = [
|
|
6984
|
-
'autoSizeAll',
|
|
6985
|
-
'expandAll',
|
|
6986
|
-
'contractAll',
|
|
6987
|
-
'copy',
|
|
6988
|
-
'copyWithHeaders',
|
|
6989
|
-
'paste',
|
|
6990
|
-
// 'resetColumns',
|
|
6991
|
-
'toolPanel',
|
|
6992
|
-
{
|
|
6993
|
-
name: "Esporta",
|
|
6994
|
-
action: (/**
|
|
6995
|
-
* @return {?}
|
|
6996
|
-
*/
|
|
6997
|
-
function () {
|
|
6998
|
-
_this.onBtExport();
|
|
6999
|
-
}), icon: '<img src="assets/icons/square-o/xlsx.svg"/>'
|
|
7000
|
-
},
|
|
7001
|
-
];
|
|
7002
|
-
if (!this.abilita_export)
|
|
7003
|
-
result = new Array('autoSizeAll', 'expandAll', 'contractAll', 'copy', 'copyWithHeaders', 'paste',
|
|
7004
|
-
// 'resetColumns',
|
|
7005
|
-
'toolPanel');
|
|
7006
|
-
// console.log(result);
|
|
7007
|
-
return result;
|
|
7008
|
-
};
|
|
7009
7007
|
/**
|
|
7010
7008
|
* @private
|
|
7011
7009
|
* @return {?}
|
|
@@ -8081,7 +8079,7 @@
|
|
|
8081
8079
|
FHGridComponent.decorators = [
|
|
8082
8080
|
{ type: core.Component, args: [{
|
|
8083
8081
|
selector: 'FHGrid',
|
|
8084
|
-
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-raised-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-raised-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-raised-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\r\n <FHComboBox fxHide fxShow.gt-sm [hidden]='!show_buttons' (selchange)=\"ch_config()\" (fillend)=\"fe_cfg()\" #gf init_fill=\"false\"></FHComboBox>\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-raised-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\" fxFlex>\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=\"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]=\"
|
|
8082
|
+
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-raised-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-raised-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-raised-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\r\n <FHComboBox fxHide fxShow.gt-sm [hidden]='!show_buttons' (selchange)=\"ch_config()\" (fillend)=\"fe_cfg()\" #gf init_fill=\"false\"></FHComboBox>\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-raised-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\" fxFlex>\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=\"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\t\t\t\t\t\t\t\t (afterFilterChanged)=\"onAfterFilterChanged()\"\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",
|
|
8085
8083
|
styles: ["\n\n "]
|
|
8086
8084
|
}] }
|
|
8087
8085
|
];
|
|
@@ -15953,6 +15951,15 @@
|
|
|
15953
15951
|
if (data != null)
|
|
15954
15952
|
if (data.result_msg == "OK") ;
|
|
15955
15953
|
}));
|
|
15954
|
+
p = new QParam();
|
|
15955
|
+
p.sql = "exec_app_workflow";
|
|
15956
|
+
p.values = [this.app_info.codice_documento, this.id_documento, '' + this.clevel.livello, '' + this.nlevel.livello, this.user_idp];
|
|
15957
|
+
this.m_wkf.doQuery(p).subscribe((/**
|
|
15958
|
+
* @param {?} data
|
|
15959
|
+
* @return {?}
|
|
15960
|
+
*/
|
|
15961
|
+
function (data) {
|
|
15962
|
+
}));
|
|
15956
15963
|
//myRPC.query("UPDATE_FLAG_CARICO",new Array("0",id_applicativo, id_documento,''));
|
|
15957
15964
|
if (this.m_danotificare != "") {
|
|
15958
15965
|
/** @type {?} */
|
|
@@ -15964,15 +15971,6 @@
|
|
|
15964
15971
|
this.m_danotificare = this.m_danotificare + ",";
|
|
15965
15972
|
this.m_danotificare = this.m_danotificare + this.user_idp;
|
|
15966
15973
|
}
|
|
15967
|
-
p = new QParam();
|
|
15968
|
-
p.sql = "exec_app_workflow";
|
|
15969
|
-
p.values = [this.app_info.codice_documento, this.id_documento, '' + this.clevel.livello, '' + this.nlevel.livello, this.user_idp];
|
|
15970
|
-
this.m_wkf.doQuery(p).subscribe((/**
|
|
15971
|
-
* @param {?} data
|
|
15972
|
-
* @return {?}
|
|
15973
|
-
*/
|
|
15974
|
-
function (data) {
|
|
15975
|
-
}));
|
|
15976
15974
|
if (this.nlevel.approvazione_email == 1) ;
|
|
15977
15975
|
else {
|
|
15978
15976
|
/** @type {?} */
|
|
@@ -16079,6 +16077,8 @@
|
|
|
16079
16077
|
}
|
|
16080
16078
|
}
|
|
16081
16079
|
}
|
|
16080
|
+
else
|
|
16081
|
+
this.goto_edit_doc();
|
|
16082
16082
|
};
|
|
16083
16083
|
/**
|
|
16084
16084
|
* @param {?} mit
|