@fluxhub/fluxhub-lib 1.0.338 → 1.0.339
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 +43 -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 +12 -12
- package/esm5/lib/controls/fhgrid.js +39 -37
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +12 -12
- package/fesm2015/fluxhub-fluxhub-lib.js +43 -41
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +43 -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
|
@@ -6620,6 +6620,39 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
6620
6620
|
// this.gridOptions.api.setDatasource(this.dataSource);
|
|
6621
6621
|
})
|
|
6622
6622
|
};
|
|
6623
|
+
this.getContextMenuItems_n_e = (/**
|
|
6624
|
+
* @return {?}
|
|
6625
|
+
*/
|
|
6626
|
+
function () { return [
|
|
6627
|
+
'autoSizeAll',
|
|
6628
|
+
'expandAll',
|
|
6629
|
+
'contractAll',
|
|
6630
|
+
'copy',
|
|
6631
|
+
'copyWithHeaders',
|
|
6632
|
+
'paste'
|
|
6633
|
+
]; });
|
|
6634
|
+
this.getContextMenuItems_e = (/**
|
|
6635
|
+
* @return {?}
|
|
6636
|
+
*/
|
|
6637
|
+
function () { return [
|
|
6638
|
+
'autoSizeAll',
|
|
6639
|
+
'expandAll',
|
|
6640
|
+
'contractAll',
|
|
6641
|
+
'copy',
|
|
6642
|
+
'copyWithHeaders',
|
|
6643
|
+
'paste',
|
|
6644
|
+
// 'resetColumns',
|
|
6645
|
+
{
|
|
6646
|
+
name: "Esporta",
|
|
6647
|
+
action: (/**
|
|
6648
|
+
* @return {?}
|
|
6649
|
+
*/
|
|
6650
|
+
function () {
|
|
6651
|
+
_this.export_excel();
|
|
6652
|
+
}),
|
|
6653
|
+
icon: '<img src="assets/icons/square-o/xlsx.svg"/>'
|
|
6654
|
+
},
|
|
6655
|
+
]; });
|
|
6623
6656
|
this.gridOptions = (/** @type {?} */ ({
|
|
6624
6657
|
debug: false,
|
|
6625
6658
|
headerHeight: this.header_h,
|
|
@@ -6950,41 +6983,6 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
6950
6983
|
}
|
|
6951
6984
|
}));
|
|
6952
6985
|
};
|
|
6953
|
-
/**
|
|
6954
|
-
* @return {?}
|
|
6955
|
-
*/
|
|
6956
|
-
FHGridComponent.prototype.getContextMenuItems = /**
|
|
6957
|
-
* @return {?}
|
|
6958
|
-
*/
|
|
6959
|
-
function () {
|
|
6960
|
-
var _this = this;
|
|
6961
|
-
/** @type {?} */
|
|
6962
|
-
var result = [
|
|
6963
|
-
'autoSizeAll',
|
|
6964
|
-
'expandAll',
|
|
6965
|
-
'contractAll',
|
|
6966
|
-
'copy',
|
|
6967
|
-
'copyWithHeaders',
|
|
6968
|
-
'paste',
|
|
6969
|
-
// 'resetColumns',
|
|
6970
|
-
'toolPanel',
|
|
6971
|
-
{
|
|
6972
|
-
name: "Esporta",
|
|
6973
|
-
action: (/**
|
|
6974
|
-
* @return {?}
|
|
6975
|
-
*/
|
|
6976
|
-
function () {
|
|
6977
|
-
_this.onBtExport();
|
|
6978
|
-
}), icon: '<img src="assets/icons/square-o/xlsx.svg"/>'
|
|
6979
|
-
},
|
|
6980
|
-
];
|
|
6981
|
-
if (!this.abilita_export)
|
|
6982
|
-
result = new Array('autoSizeAll', 'expandAll', 'contractAll', 'copy', 'copyWithHeaders', 'paste',
|
|
6983
|
-
// 'resetColumns',
|
|
6984
|
-
'toolPanel');
|
|
6985
|
-
// console.log(result);
|
|
6986
|
-
return result;
|
|
6987
|
-
};
|
|
6988
6986
|
/**
|
|
6989
6987
|
* @private
|
|
6990
6988
|
* @return {?}
|
|
@@ -8060,7 +8058,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
8060
8058
|
FHGridComponent.decorators = [
|
|
8061
8059
|
{ type: Component, args: [{
|
|
8062
8060
|
selector: 'FHGrid',
|
|
8063
|
-
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]=\"
|
|
8061
|
+
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",
|
|
8064
8062
|
styles: ["\n\n "]
|
|
8065
8063
|
}] }
|
|
8066
8064
|
];
|
|
@@ -15932,6 +15930,15 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
15932
15930
|
if (data != null)
|
|
15933
15931
|
if (data.result_msg == "OK") ;
|
|
15934
15932
|
}));
|
|
15933
|
+
p = new QParam();
|
|
15934
|
+
p.sql = "exec_app_workflow";
|
|
15935
|
+
p.values = [this.app_info.codice_documento, this.id_documento, '' + this.clevel.livello, '' + this.nlevel.livello, this.user_idp];
|
|
15936
|
+
this.m_wkf.doQuery(p).subscribe((/**
|
|
15937
|
+
* @param {?} data
|
|
15938
|
+
* @return {?}
|
|
15939
|
+
*/
|
|
15940
|
+
function (data) {
|
|
15941
|
+
}));
|
|
15935
15942
|
//myRPC.query("UPDATE_FLAG_CARICO",new Array("0",id_applicativo, id_documento,''));
|
|
15936
15943
|
if (this.m_danotificare != "") {
|
|
15937
15944
|
/** @type {?} */
|
|
@@ -15943,15 +15950,6 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
15943
15950
|
this.m_danotificare = this.m_danotificare + ",";
|
|
15944
15951
|
this.m_danotificare = this.m_danotificare + this.user_idp;
|
|
15945
15952
|
}
|
|
15946
|
-
p = new QParam();
|
|
15947
|
-
p.sql = "exec_app_workflow";
|
|
15948
|
-
p.values = [this.app_info.codice_documento, this.id_documento, '' + this.clevel.livello, '' + this.nlevel.livello, this.user_idp];
|
|
15949
|
-
this.m_wkf.doQuery(p).subscribe((/**
|
|
15950
|
-
* @param {?} data
|
|
15951
|
-
* @return {?}
|
|
15952
|
-
*/
|
|
15953
|
-
function (data) {
|
|
15954
|
-
}));
|
|
15955
15953
|
if (this.nlevel.approvazione_email == 1) ;
|
|
15956
15954
|
else {
|
|
15957
15955
|
/** @type {?} */
|