@fluxhub/fluxhub-lib 11.0.12 → 11.0.14
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 +66 -8
- 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 +8 -4
- package/esm2015/lib/controls/win_pick_list.js +82 -18
- package/fesm2015/fluxhub-fluxhub-lib.js +87 -19
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +2 -1
- package/lib/controls/win_pick_list.d.ts +4 -1
- package/package.json +1 -1
|
@@ -2328,14 +2328,17 @@
|
|
|
2328
2328
|
this.width = "100%";
|
|
2329
2329
|
this.selectedAdd = null;
|
|
2330
2330
|
this.selectedRemove = null;
|
|
2331
|
+
this.option = 0;
|
|
2331
2332
|
this.selval = "-1";
|
|
2332
2333
|
this.errorMsg = "";
|
|
2333
2334
|
this.valDef = "-1";
|
|
2334
2335
|
this.fltr_user = "";
|
|
2336
|
+
this.fltr_user_rem = "";
|
|
2335
2337
|
this.value_list = new Array();
|
|
2336
2338
|
this.single_sel = false;
|
|
2337
2339
|
this.vis_buttons = true;
|
|
2338
2340
|
this.limit_size = false;
|
|
2341
|
+
this.value_sel_ric = new Array();
|
|
2339
2342
|
this.value_list_sel = new Array();
|
|
2340
2343
|
this.types = [];
|
|
2341
2344
|
this.values = [];
|
|
@@ -2378,12 +2381,60 @@
|
|
|
2378
2381
|
// this.value_list=[];
|
|
2379
2382
|
this.selectedAdd = null;
|
|
2380
2383
|
this.filtra();
|
|
2384
|
+
this.filtra_rem();
|
|
2381
2385
|
};
|
|
2382
2386
|
fh_win_picklist.prototype.rem_all = function () {
|
|
2383
|
-
|
|
2384
|
-
this.
|
|
2387
|
+
var _this = this;
|
|
2388
|
+
this.value_sel_ric.map(function (v) { _this.value_list.push(v); });
|
|
2389
|
+
var arrx = [];
|
|
2390
|
+
for (var i = 0; i < this.value_sel.length; i++) {
|
|
2391
|
+
var b_found_a = false;
|
|
2392
|
+
for (var z = 0; z < this.value_sel_ric.length; z++)
|
|
2393
|
+
if (this.value_sel_ric[z].descrizione_valore ==
|
|
2394
|
+
this.value_sel[i].descrizione_valore) {
|
|
2395
|
+
b_found_a = true;
|
|
2396
|
+
break;
|
|
2397
|
+
}
|
|
2398
|
+
if (!b_found_a)
|
|
2399
|
+
arrx.push(this.value_sel[i]);
|
|
2400
|
+
}
|
|
2401
|
+
this.value_sel = JSON.parse(JSON.stringify(arrx));
|
|
2402
|
+
this.value_sel_ric = [];
|
|
2385
2403
|
this.selectedAdd = null;
|
|
2386
2404
|
this.filtra();
|
|
2405
|
+
this.filtra_rem();
|
|
2406
|
+
};
|
|
2407
|
+
fh_win_picklist.prototype.filtra_rem = function () {
|
|
2408
|
+
console.log('fltr_user_rem ');
|
|
2409
|
+
this.value_sel_ric = new Array();
|
|
2410
|
+
// console.log('filtra() '+this.fltr_user.toUpperCase());
|
|
2411
|
+
if (this.fltr_user_rem == "") {
|
|
2412
|
+
for (var i = 0; i < this.value_sel.length; i++) {
|
|
2413
|
+
this.value_sel_ric.push(this.value_sel[i]);
|
|
2414
|
+
if (i == 50 && this.limit_size)
|
|
2415
|
+
return;
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
else {
|
|
2419
|
+
for (var i = 0; i < this.value_sel.length; i++)
|
|
2420
|
+
if (this.value_sel[i].descrizione_valore
|
|
2421
|
+
.toUpperCase()
|
|
2422
|
+
.indexOf(this.fltr_user_rem.toUpperCase()) != -1) {
|
|
2423
|
+
console.log('entro !!');
|
|
2424
|
+
var b_found_a = false;
|
|
2425
|
+
for (var z = 0; z < this.value_sel_ric.length; z++)
|
|
2426
|
+
if (this.value_sel_ric[z].descrizione_valore ==
|
|
2427
|
+
this.value_sel[i].descrizione_valore) {
|
|
2428
|
+
b_found_a = true;
|
|
2429
|
+
break;
|
|
2430
|
+
}
|
|
2431
|
+
console.log('entro !! ', b_found_a);
|
|
2432
|
+
if (!b_found_a)
|
|
2433
|
+
this.value_sel_ric.push(this.value_sel[i]);
|
|
2434
|
+
if (this.value_sel_ric.length == 50 && this.limit_size)
|
|
2435
|
+
return;
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2387
2438
|
};
|
|
2388
2439
|
fh_win_picklist.prototype.filtra = function () {
|
|
2389
2440
|
this.value_list_sel = new Array();
|
|
@@ -2491,6 +2542,7 @@
|
|
|
2491
2542
|
break;
|
|
2492
2543
|
}
|
|
2493
2544
|
this.filtra();
|
|
2545
|
+
this.filtra_rem();
|
|
2494
2546
|
};
|
|
2495
2547
|
fh_win_picklist.prototype.do_add = function () {
|
|
2496
2548
|
if (this.selectedAdd == null) {
|
|
@@ -2510,6 +2562,7 @@
|
|
|
2510
2562
|
this.value_sel.push(this.selectedAdd);
|
|
2511
2563
|
this.selectedAdd = null;
|
|
2512
2564
|
this.filtra();
|
|
2565
|
+
this.filtra_rem();
|
|
2513
2566
|
if (this.single_sel)
|
|
2514
2567
|
this.ok();
|
|
2515
2568
|
};
|
|
@@ -2528,14 +2581,15 @@
|
|
|
2528
2581
|
this.value_list.push(this.selectedRemove);
|
|
2529
2582
|
this.selectedRemove = null;
|
|
2530
2583
|
this.filtra();
|
|
2584
|
+
this.filtra_rem();
|
|
2531
2585
|
};
|
|
2532
2586
|
fh_win_picklist.prototype.addTo = function (item) {
|
|
2533
|
-
this.option =
|
|
2587
|
+
this.option = 1;
|
|
2534
2588
|
this.selectedAdd = item;
|
|
2535
2589
|
this.selectedRemove = null;
|
|
2536
2590
|
};
|
|
2537
2591
|
fh_win_picklist.prototype.removeTo = function (item) {
|
|
2538
|
-
this.option =
|
|
2592
|
+
this.option = 2;
|
|
2539
2593
|
this.selectedAdd = null;
|
|
2540
2594
|
this.selectedRemove = item;
|
|
2541
2595
|
};
|
|
@@ -2568,7 +2622,7 @@
|
|
|
2568
2622
|
fh_win_picklist.decorators = [
|
|
2569
2623
|
{ type: i0.Component, args: [{
|
|
2570
2624
|
selector: "FHPickList",
|
|
2571
|
-
template: "\n <div fxLayout=\"column\" fxLayoutGap=\"15px\" style=\"min-width:1000px\" fxFlex>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div fxLayout=\"column\" fxFlex=\"45\">\n <div style=\"width:100%;height:450px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\">\n <thead>\n <tr>\n <th>{{'VALORI SELEZIONABILI' |
|
|
2625
|
+
template: "\n <div fxLayout=\"column\" fxLayoutGap=\"15px\" style=\"min-width:1000px\" fxFlex>\n <div fxLayout=\"row\" fxLayoutGap=\"10px\">\n <div fxLayout=\"column\" fxFlex=\"45\">\n <div style=\"width:100%;height:450px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\">\n <thead>\n <tr>\n <th>{{'VALORI SELEZIONABILI' |translate}}</th>\n </tr>\n </thead>\n\n <tbody>\n <tr style=\"background-color:#FFF !important\">\n <td>\n <input\n [(ngModel)]=\"fltr_user\"\n (ngModelChange)=\"filtra()\"\n style=\"padding:8px;margin:15px auto;width:100%;\"\n placeholder=\"Ricerca...\"\n />\n </td>\n </tr>\n <tr\n *ngFor=\"\n let u of value_list_sel;\n let odd = odd;\n let even = even\n \"\n\n (click)=\"addTo(u)\"\n (dblclick)=\"do_add()\"\n class=\"selector\"\n\n [ngClass]=\"{ active: selectedAdd == u }\"\n >\n <td [ngClass]=\"{ odd: odd, even: even }\" style=\"cursor:pointer\">{{ u.descrizione_valore }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div\n fxLayout=\"column\" fxFlex=\"10\" fxLayoutAlign=\"center center\"\n style=\"height: 450px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);\"\n >\n <div fxLayoutAlign=\"center center\" fxLayout=\"column\"\n\n >\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_add()\"\n [disabled]=\"option!=1\"\n >\n >\n </button>\n <br />\n <button\n mat-flat-button\n color=\"primary\"\n (click)=\"do_rem()\"\n [disabled]=\"option!=2\"\n >\n <\n </button> <br *ngIf=\"!single_sel\" /><br *ngIf=\"!single_sel\"/> <br *ngIf=\"!single_sel\"/>\n <button *ngIf=\"!single_sel\"\n mat-flat-button\n color=\"primary\"\n (click)=\"add_all()\" matTooltip=\"Seleziona Tutto\"\n [disabled]=\"value_list_sel.length==0\"\n >\n >>\n </button> <br *ngIf=\"!single_sel\"/>\n <button *ngIf=\"!single_sel\"\n mat-flat-button\n color=\"primary\" matTooltip=\"Deseleziona Tutto\"\n (click)=\"rem_all()\"\n [disabled]=\"value_sel.length==0\"\n >\n <<\n </button>\n </div>\n </div>\n\n <div fxLayout=\"column\" fxFlex=\"45\">\n <div style=\"width:100%;height:450px;overflow:auto;\">\n <table style=\"width: 100%\" class=\"fh_table sel_r\">\n <thead>\n <tr>\n <th>{{'VALORI SELEZIONATI'|translate}}</th>\n </tr>\n </thead>\n <tbody>\n <tr style=\"background-color:#FFF !important\">\n <td>\n <input\n [(ngModel)]=\"fltr_user_rem\"\n (ngModelChange)=\"filtra_rem()\"\n style=\"padding:8px;margin:15px auto;width:100%;\"\n placeholder=\"Ricerca...\"\n />\n </td>\n </tr>\n <tr\n *ngFor=\"let u of value_sel_ric; let odd = odd; let even = even\"\n (mouseover)=\"selectedRemove = u\"\n [ngClass]=\"{ odd: odd, even: even }\"\n (click)=\"removeTo(u)\"\n (dblclick)=\"do_rem()\"\n class=\"selector\"\n [ngClass]=\"{ active: selectedRemove == u }\"\n >\n <td [ngClass]=\"{ odd: odd, even: even }\" style=\"cursor:pointer\">{{ u.descrizione_valore }}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <br /><br />\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" fxLayoutGap=\"5px\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">Ok</button\n > \n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"dialogRef.close()\"\n >\n {{'Annulla'|translate }}\n </button>\n </div>\n </div>\n ",
|
|
2572
2626
|
styles: ["\n .mat-dialog-content\u00A0{\u00A0\u00A0max-height:\u00A0unset\u00A0!important;\u00A0}\n .selector {\n cursor: hand;\n }\n "]
|
|
2573
2627
|
},] }
|
|
2574
2628
|
];
|
|
@@ -5563,6 +5617,7 @@
|
|
|
5563
5617
|
this.dclicked = new i0.EventEmitter();
|
|
5564
5618
|
this.columndclicked = new i0.EventEmitter();
|
|
5565
5619
|
this.cell_clicked = new i0.EventEmitter();
|
|
5620
|
+
this.selection_change = new i0.EventEmitter();
|
|
5566
5621
|
this.custom_export = false;
|
|
5567
5622
|
this.toolbar_type = "NONE";
|
|
5568
5623
|
this.toolbar_wkfapp = null;
|
|
@@ -7195,8 +7250,10 @@
|
|
|
7195
7250
|
FHGridComponent.prototype.onCellFocused = function (event) {
|
|
7196
7251
|
//console.log('onCellFocused: (' + event.rowIndex + ',' + event.colIndex + ')');
|
|
7197
7252
|
};
|
|
7198
|
-
FHGridComponent.prototype.onSelectionChanged = function () {
|
|
7199
|
-
|
|
7253
|
+
FHGridComponent.prototype.onSelectionChanged = function (event) {
|
|
7254
|
+
var rowCount = this.getGridApi().getSelectedNodes().length;
|
|
7255
|
+
this.selection_change.emit(rowCount);
|
|
7256
|
+
console.log('selectionChanged');
|
|
7200
7257
|
};
|
|
7201
7258
|
FHGridComponent.prototype.onBeforeFilterChanged = function () {
|
|
7202
7259
|
// console.log('beforeFilterChanged');
|
|
@@ -7325,7 +7382,7 @@
|
|
|
7325
7382
|
FHGridComponent.decorators = [
|
|
7326
7383
|
{ type: i0.Component, args: [{
|
|
7327
7384
|
selector: "FHGrid",
|
|
7328
|
-
template: "<div fxLayout=\"column\" fxFlexFill>\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutAlign=\"center start\"\n fxLayoutGap=\"3px\"\n style=\"min-height: 55px;\"\n [hidden]=\"!show_buttons\"\n >\n \n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\n <div>\n <h5>{{num_r}} {{label_elementi | translate}}</h5>\n </div>\n \n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <input\n matInput\n [placeholder]=\"trova_label | translate\"\n (keydown)=\"keyDownFunctioncl($event)\"\n [(ngModel)]=\"ric_libera\"\n [matTooltip]=\"search_field_tooltip\"\n style=\"\n width: 160px;\n border: 1px solid;\n min-height: 30px;\n \"\n />\n </div>\n\n <div\n matTooltip=\"REMOVE FILTER\"\n matTooltipPosition=\"above\"\n *ngIf=\"show_pulisci_filtri\"\n >\n <button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\n <mat-icon>filter_none</mat-icon> \n </button>\n </div>\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"autoSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>swap_horiz</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"fitSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>keyboard_tab</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"Refresh()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>autorenew</mat-icon>\n </button>\n </div>\n <FHFilterComboBox\n fxHide [label]=\"'Configurazioni Salvate' | translate\"\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (selchange)=\"ch_config()\"\n (fillend)=\"fe_cfg()\"\n #gf\n init_fill=\"false\"\n ></FHFilterComboBox>\n <div\n matTooltip=\"Modifica Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"edit_config()\">save</mat-icon>\n </button>\n </div>\n <div\n matTooltip=\"Elimina Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\n </button>\n </div>\n <div\n fxHide\n fxShow.gt-sm\n matTooltip=\"Crea Nuova Preferenza\"\n matTooltipPosition=\"above\"\n >\n <button\n mat-icon-button\n style=\"color: rgb(16, 98, 16);\"\n *ngIf=\"show_buttons && !pref_hidden\"\n >\n <mat-icon (click)=\"insert_config()\">library_add</mat-icon>\n </button>\n </div>\n\n <mat-slide-toggle\n fxHide\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (click)=\"ck_flag()\"\n #toggle_mantieni\n >\n {{mantieni_impostazioni}}\n </mat-slide-toggle>\n\n \n <div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"help_window()\"\n color=\"primary\"\n *ngIf=\"show_buttons && show_help\"\n >\n <mat-icon>help</mat-icon>\n </button>\n </div>\n \n\n <img\n *ngIf=\"enable_export && enable_export_pdf\"\n matTooltip=\"EXPORT PDF\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/pdf.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"print()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n\n <img *ngIf=\"enable_export && enable_export_xls\"\n matTooltip=\"EXPORT EXCEL\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/xlsx.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"export_excel()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n <div *ngIf=\"flt_aggiuntivo.length!=0\"> </div>\n <mat-form-field *ngIf=\"flt_aggiuntivo.length!=0\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ flt_aggiuntivo_label|translate }}</mat-label>\n <mat-select\n\n [(ngModel)]=\"flt_aggiuntivo_value\"\n (selectionChange)=\"sc()\"\n >\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of flt_aggiuntivo\">{{\n app.descrizione_valore | translate\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n \n <mat-spinner diameter=\"25\" *ngIf=\"loading_fulltext\"></mat-spinner>\n\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n\n [style.width]=\"width_max\"\n *ngIf=\"enabled\"\n >\n\n <FHGridToolBar\n (command)=\"docmd($event)\"\n [type]=\"toolbar_type\"\n [show_link]=\"show_link\"\n [show_help]=\"show_help_bar\"\n [help_label]=\"help_label_bar\"\n [custom_commands]=\"toolbar_custom_commands\"\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\n [elimina_label]=\"elimina_label\"\n [b_wait]=\"b_wait\"\n [sRow]=\"sRow\"\n ></FHGridToolBar>\n </div>\n </div>\n\n\n <div fxLayout=\"row\" style=\"width: 100%;\" [fxFlex]=\"show_buttons ? 100:95\">\n <ag-grid-angular\n ref-agGrid\n style=\"width: 100%; height: 100%;\"\n id=\"myGrid\"\n (cellDoubleClicked)=\"onColumnEvent($event)\"\n (cellClicked)=\"onCellClicked($event)\"\n [headerHeight]=\"header_h\"\n [groupHeaderHeight]=\"header_h\"\n class=\"ag-theme-balham\"\n [singleClickEdit]=\"true\"\n [gridOptions]=\"gridOptions\"\n [columnDefs]=\"columnDefs\"\n [rowData]=\"rowData\"\n [rowSelection]=\"selection_mode\"\n [tooltipShowDelay]=\"tooltipShowDelay\"\n [getContextMenuItems]=\"enable_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\n (filterModified)=\"onFilterModified()\"\n (rowDoubleClicked)=\"onRowDClicked($event)\"\n (rowClicked)=\"onRowClicked($event)\"\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\n (columnResized)=\"oncolumnEverythingChanged($event)\"\n (columnMoved)=\"oncolumnEverythingChanged($event)\"\n (cellValueChanged)=\"okr($event)\"\n (sortChanged)=\"onAfterSortChanged()\"\n [paginationPageSize]=\"num_per_pag\"\n (gridReady)=\"onReady($event)\"\n >\n </ag-grid-angular>\n </div>\n</div>\n",
|
|
7385
|
+
template: "<div fxLayout=\"column\" fxFlexFill>\n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutAlign=\"center start\"\n fxLayoutGap=\"3px\"\n style=\"min-height: 55px;\"\n [hidden]=\"!show_buttons\"\n >\n \n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\">\n <div>\n <h5>{{num_r}} {{label_elementi | translate}}</h5>\n </div>\n \n\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\">\n <input\n matInput\n [placeholder]=\"trova_label | translate\"\n (keydown)=\"keyDownFunctioncl($event)\"\n [(ngModel)]=\"ric_libera\"\n [matTooltip]=\"search_field_tooltip\"\n style=\"\n width: 160px;\n border: 1px solid;\n min-height: 30px;\n \"\n />\n </div>\n\n <div\n matTooltip=\"REMOVE FILTER\"\n matTooltipPosition=\"above\"\n *ngIf=\"show_pulisci_filtri\"\n >\n <button mat-flat-button (click)=\"pulisci_filtri()\" color=\"warn\">\n <mat-icon>filter_none</mat-icon> \n </button>\n </div>\n <div matTooltip=\"AUTO SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"autoSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>swap_horiz</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"FIT SIZE\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"fitSizeAll()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>keyboard_tab</mat-icon>\n </button>\n </div>\n <div fxHide fxShow.gt-sm matTooltip=\"Refresh\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"Refresh()\"\n color=\"primary\"\n *ngIf=\"show_buttons\"\n >\n <mat-icon>autorenew</mat-icon>\n </button>\n </div>\n <FHFilterComboBox\n fxHide [label]=\"'Configurazioni Salvate' | translate\"\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (selchange)=\"ch_config()\"\n (fillend)=\"fe_cfg()\"\n #gf\n init_fill=\"false\"\n ></FHFilterComboBox>\n <div\n matTooltip=\"Modifica Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"edit_config()\">save</mat-icon>\n </button>\n </div>\n <div\n matTooltip=\"Elimina Preferenza\"\n matTooltipPosition=\"above\"\n *ngIf=\"curr_config!='-1'\"\n >\n <button\n mat-icon-button\n *ngIf=\"show_buttons && !pref_hidden\"\n style=\"color: rgb(248, 105, 10);\"\n >\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\n </button>\n </div>\n <div\n fxHide\n fxShow.gt-sm\n matTooltip=\"Crea Nuova Preferenza\"\n matTooltipPosition=\"above\"\n >\n <button\n mat-icon-button\n style=\"color: rgb(16, 98, 16);\"\n *ngIf=\"show_buttons && !pref_hidden\"\n >\n <mat-icon (click)=\"insert_config()\">library_add</mat-icon>\n </button>\n </div>\n\n <mat-slide-toggle\n fxHide\n fxShow.gt-sm\n [hidden]=\"!show_buttons || pref_hidden\"\n (click)=\"ck_flag()\"\n #toggle_mantieni\n >\n {{mantieni_impostazioni}}\n </mat-slide-toggle>\n\n \n <div fxHide fxShow.gt-sm matTooltip=\"HELP\" matTooltipPosition=\"above\">\n <button\n mat-flat-button\n (click)=\"help_window()\"\n color=\"primary\"\n *ngIf=\"show_buttons && show_help\"\n >\n <mat-icon>help</mat-icon>\n </button>\n </div>\n \n\n <img\n *ngIf=\"enable_export && enable_export_pdf\"\n matTooltip=\"EXPORT PDF\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/pdf.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"print()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n\n <img *ngIf=\"enable_export && enable_export_xls\"\n matTooltip=\"EXPORT EXCEL\"\n matTooltipPosition=\"above\"\n src=\"assets/icons/square-o/xlsx.svg\"\n style=\"width: 24px; height: 24px; cursor: pointer\"\n (click)=\"export_excel()\"\n alt=\"Export Excel\"\n width=\"24\" height=\"24\"\n />\n\n <div *ngIf=\"flt_aggiuntivo.length!=0\"> </div>\n <mat-form-field *ngIf=\"flt_aggiuntivo.length!=0\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ flt_aggiuntivo_label|translate }}</mat-label>\n <mat-select\n\n [(ngModel)]=\"flt_aggiuntivo_value\"\n (selectionChange)=\"sc()\"\n >\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of flt_aggiuntivo\">{{\n app.descrizione_valore | translate\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n \n <mat-spinner diameter=\"25\" *ngIf=\"loading_fulltext\"></mat-spinner>\n\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n\n [style.width]=\"width_max\"\n *ngIf=\"enabled\"\n >\n\n <FHGridToolBar\n (command)=\"docmd($event)\"\n [type]=\"toolbar_type\"\n [show_link]=\"show_link\"\n [show_help]=\"show_help_bar\"\n [help_label]=\"help_label_bar\"\n [custom_commands]=\"toolbar_custom_commands\"\n [toolbar_wkfapp]=\"toolbar_wkfapp\"\n [elimina_label]=\"elimina_label\"\n [b_wait]=\"b_wait\"\n [sRow]=\"sRow\"\n ></FHGridToolBar>\n </div>\n </div>\n\n\n <div fxLayout=\"row\" style=\"width: 100%;\" [fxFlex]=\"show_buttons ? 100:95\">\n <ag-grid-angular\n ref-agGrid\n style=\"width: 100%; height: 100%;\"\n id=\"myGrid\"\n (cellDoubleClicked)=\"onColumnEvent($event)\"\n (cellClicked)=\"onCellClicked($event)\"\n [headerHeight]=\"header_h\"\n [groupHeaderHeight]=\"header_h\"\n class=\"ag-theme-balham\"\n [singleClickEdit]=\"true\"\n [gridOptions]=\"gridOptions\"\n [columnDefs]=\"columnDefs\"\n [rowData]=\"rowData\"\n [rowSelection]=\"selection_mode\"\n [tooltipShowDelay]=\"tooltipShowDelay\"\n [getContextMenuItems]=\"enable_export ? getContextMenuItems_e:getContextMenuItems_n_e\"\n (filterModified)=\"onFilterModified()\"\n (rowDoubleClicked)=\"onRowDClicked($event)\"\n (rowClicked)=\"onRowClicked($event)\"\n (columnVisible)=\"oncolumnEverythingChanged($event)\"\n (columnResized)=\"oncolumnEverythingChanged($event)\"\n (columnMoved)=\"oncolumnEverythingChanged($event)\"\n (cellValueChanged)=\"okr($event)\"\n (sortChanged)=\"onAfterSortChanged()\"\n (selectionChanged)=\"onSelectionChanged($event)\"\n [paginationPageSize]=\"num_per_pag\"\n (gridReady)=\"onReady($event)\"\n >\n </ag-grid-angular>\n </div>\n</div>\n",
|
|
7329
7386
|
styles: [""]
|
|
7330
7387
|
},] }
|
|
7331
7388
|
];
|
|
@@ -7398,6 +7455,7 @@
|
|
|
7398
7455
|
dclicked: [{ type: i0.Output }],
|
|
7399
7456
|
columndclicked: [{ type: i0.Output }],
|
|
7400
7457
|
cell_clicked: [{ type: i0.Output }],
|
|
7458
|
+
selection_change: [{ type: i0.Output }],
|
|
7401
7459
|
custom_export: [{ type: i0.Input }],
|
|
7402
7460
|
toolbar_type: [{ type: i0.Input }],
|
|
7403
7461
|
toolbar_wkfapp: [{ type: i0.Input }],
|