@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
|
@@ -6301,6 +6301,39 @@ class FHGridComponent {
|
|
|
6301
6301
|
// this.gridOptions.api.setDatasource(this.dataSource);
|
|
6302
6302
|
})
|
|
6303
6303
|
};
|
|
6304
|
+
this.getContextMenuItems_n_e = (/**
|
|
6305
|
+
* @return {?}
|
|
6306
|
+
*/
|
|
6307
|
+
() => [
|
|
6308
|
+
'autoSizeAll',
|
|
6309
|
+
'expandAll',
|
|
6310
|
+
'contractAll',
|
|
6311
|
+
'copy',
|
|
6312
|
+
'copyWithHeaders',
|
|
6313
|
+
'paste'
|
|
6314
|
+
]);
|
|
6315
|
+
this.getContextMenuItems_e = (/**
|
|
6316
|
+
* @return {?}
|
|
6317
|
+
*/
|
|
6318
|
+
() => [
|
|
6319
|
+
'autoSizeAll',
|
|
6320
|
+
'expandAll',
|
|
6321
|
+
'contractAll',
|
|
6322
|
+
'copy',
|
|
6323
|
+
'copyWithHeaders',
|
|
6324
|
+
'paste',
|
|
6325
|
+
// 'resetColumns',
|
|
6326
|
+
{
|
|
6327
|
+
name: "Esporta",
|
|
6328
|
+
action: (/**
|
|
6329
|
+
* @return {?}
|
|
6330
|
+
*/
|
|
6331
|
+
() => {
|
|
6332
|
+
this.export_excel();
|
|
6333
|
+
}),
|
|
6334
|
+
icon: '<img src="assets/icons/square-o/xlsx.svg"/>'
|
|
6335
|
+
},
|
|
6336
|
+
]);
|
|
6304
6337
|
this.gridOptions = (/** @type {?} */ ({
|
|
6305
6338
|
debug: false,
|
|
6306
6339
|
headerHeight: this.header_h,
|
|
@@ -6604,37 +6637,6 @@ class FHGridComponent {
|
|
|
6604
6637
|
}
|
|
6605
6638
|
}));
|
|
6606
6639
|
}
|
|
6607
|
-
/**
|
|
6608
|
-
* @return {?}
|
|
6609
|
-
*/
|
|
6610
|
-
getContextMenuItems() {
|
|
6611
|
-
/** @type {?} */
|
|
6612
|
-
let result = [
|
|
6613
|
-
'autoSizeAll',
|
|
6614
|
-
'expandAll',
|
|
6615
|
-
'contractAll',
|
|
6616
|
-
'copy',
|
|
6617
|
-
'copyWithHeaders',
|
|
6618
|
-
'paste',
|
|
6619
|
-
// 'resetColumns',
|
|
6620
|
-
'toolPanel',
|
|
6621
|
-
{
|
|
6622
|
-
name: "Esporta",
|
|
6623
|
-
action: (/**
|
|
6624
|
-
* @return {?}
|
|
6625
|
-
*/
|
|
6626
|
-
() => {
|
|
6627
|
-
this.onBtExport();
|
|
6628
|
-
}), icon: '<img src="assets/icons/square-o/xlsx.svg"/>'
|
|
6629
|
-
},
|
|
6630
|
-
];
|
|
6631
|
-
if (!this.abilita_export)
|
|
6632
|
-
result = new Array('autoSizeAll', 'expandAll', 'contractAll', 'copy', 'copyWithHeaders', 'paste',
|
|
6633
|
-
// 'resetColumns',
|
|
6634
|
-
'toolPanel');
|
|
6635
|
-
// console.log(result);
|
|
6636
|
-
return result;
|
|
6637
|
-
}
|
|
6638
6640
|
/**
|
|
6639
6641
|
* @private
|
|
6640
6642
|
* @return {?}
|
|
@@ -7490,7 +7492,7 @@ class FHGridComponent {
|
|
|
7490
7492
|
FHGridComponent.decorators = [
|
|
7491
7493
|
{ type: Component, args: [{
|
|
7492
7494
|
selector: 'FHGrid',
|
|
7493
|
-
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]=\"
|
|
7495
|
+
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",
|
|
7494
7496
|
styles: [`
|
|
7495
7497
|
|
|
7496
7498
|
`]
|
|
@@ -15230,6 +15232,15 @@ class dati_aggiuntivi {
|
|
|
15230
15232
|
if (data != null)
|
|
15231
15233
|
if (data.result_msg == "OK") ;
|
|
15232
15234
|
}));
|
|
15235
|
+
p = new QParam();
|
|
15236
|
+
p.sql = "exec_app_workflow";
|
|
15237
|
+
p.values = [this.app_info.codice_documento, this.id_documento, '' + this.clevel.livello, '' + this.nlevel.livello, this.user_idp];
|
|
15238
|
+
this.m_wkf.doQuery(p).subscribe((/**
|
|
15239
|
+
* @param {?} data
|
|
15240
|
+
* @return {?}
|
|
15241
|
+
*/
|
|
15242
|
+
data => {
|
|
15243
|
+
}));
|
|
15233
15244
|
//myRPC.query("UPDATE_FLAG_CARICO",new Array("0",id_applicativo, id_documento,''));
|
|
15234
15245
|
if (this.m_danotificare != "") {
|
|
15235
15246
|
/** @type {?} */
|
|
@@ -15241,15 +15252,6 @@ class dati_aggiuntivi {
|
|
|
15241
15252
|
this.m_danotificare = this.m_danotificare + ",";
|
|
15242
15253
|
this.m_danotificare = this.m_danotificare + this.user_idp;
|
|
15243
15254
|
}
|
|
15244
|
-
p = new QParam();
|
|
15245
|
-
p.sql = "exec_app_workflow";
|
|
15246
|
-
p.values = [this.app_info.codice_documento, this.id_documento, '' + this.clevel.livello, '' + this.nlevel.livello, this.user_idp];
|
|
15247
|
-
this.m_wkf.doQuery(p).subscribe((/**
|
|
15248
|
-
* @param {?} data
|
|
15249
|
-
* @return {?}
|
|
15250
|
-
*/
|
|
15251
|
-
data => {
|
|
15252
|
-
}));
|
|
15253
15255
|
if (this.nlevel.approvazione_email == 1) ;
|
|
15254
15256
|
else {
|
|
15255
15257
|
/** @type {?} */
|
|
@@ -15356,6 +15358,8 @@ class dati_aggiuntivi {
|
|
|
15356
15358
|
}
|
|
15357
15359
|
}
|
|
15358
15360
|
}
|
|
15361
|
+
else
|
|
15362
|
+
this.goto_edit_doc();
|
|
15359
15363
|
}
|
|
15360
15364
|
/**
|
|
15361
15365
|
* @param {?} mit
|