@fluxhub/fluxhub-lib 9.0.20 → 9.0.22
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 +27 -5
- 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 -3
- package/esm2015/lib/controls/win_combo_select.js +24 -7
- package/esm5/lib/controls/fhgrid.js +8 -3
- package/esm5/lib/controls/win_combo_select.js +24 -7
- package/fesm2015/fluxhub-fluxhub-lib.js +29 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +29 -7
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +1 -0
- package/lib/controls/win_combo_select.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3007,13 +3007,28 @@
|
|
|
3007
3007
|
}());
|
|
3008
3008
|
|
|
3009
3009
|
var FHWinComboSelect = /** @class */ (function () {
|
|
3010
|
-
function FHWinComboSelect(dialogRef, toastr) {
|
|
3010
|
+
function FHWinComboSelect(dialogRef, toastr, data) {
|
|
3011
3011
|
this.dialogRef = dialogRef;
|
|
3012
3012
|
this.toastr = toastr;
|
|
3013
|
+
this.data = data;
|
|
3013
3014
|
this.label = "";
|
|
3014
3015
|
this.width = "100%";
|
|
3015
3016
|
this.nota = false;
|
|
3016
3017
|
this.nota_val = "";
|
|
3018
|
+
if (data == null)
|
|
3019
|
+
return;
|
|
3020
|
+
if (data != null) {
|
|
3021
|
+
var lab = '';
|
|
3022
|
+
var arrd = [];
|
|
3023
|
+
var nota = false;
|
|
3024
|
+
if (data.label != null)
|
|
3025
|
+
lab = data.label;
|
|
3026
|
+
if (data.arr_option != null)
|
|
3027
|
+
arrd = data.arr_option;
|
|
3028
|
+
if (data.nota != null)
|
|
3029
|
+
nota = data.nota;
|
|
3030
|
+
this.set_selection(lab, arrd, nota);
|
|
3031
|
+
}
|
|
3017
3032
|
}
|
|
3018
3033
|
FHWinComboSelect.prototype.close = function () { this.dialogRef.close(null); };
|
|
3019
3034
|
FHWinComboSelect.prototype.set_selection = function (lab, myD, nota) {
|
|
@@ -3035,7 +3050,8 @@
|
|
|
3035
3050
|
};
|
|
3036
3051
|
FHWinComboSelect.ctorParameters = function () { return [
|
|
3037
3052
|
{ type: dialog.MatDialogRef },
|
|
3038
|
-
{ type: ngxToastr.ToastrService }
|
|
3053
|
+
{ type: ngxToastr.ToastrService },
|
|
3054
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
3039
3055
|
]; };
|
|
3040
3056
|
__decorate([
|
|
3041
3057
|
core.ViewChild('cmb_sel'),
|
|
@@ -3046,7 +3062,8 @@
|
|
|
3046
3062
|
selector: 'fhwincomboselect',
|
|
3047
3063
|
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"close()\" /> </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <div fxLayout=\"column\">\n <mat-dialog-content style=\"font-size: 12px;\" >\n\n <div fxLayout=\"column\">\n <h3>\n {{label | uppercase}}\n </h3>\n <FHComboBox #cmb_sel [init_fill]=\"false\"></FHComboBox>\n <mat-form-field *ngIf=\"nota\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Nota</mat-label>\n <textarea matInput [(ngModel)]=\"nota_val\" rows=\"12\"></textarea>\n </mat-form-field>\n </div>\n </mat-dialog-content>\n\n\n <mat-dialog-actions fxFlex=\"100\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">OK</button> \n <button mat-flat-button color=\"warn\" (click)=\"close()\">ANNULLA</button>\n </mat-dialog-actions>\n </div>\n "
|
|
3048
3064
|
}),
|
|
3049
|
-
|
|
3065
|
+
__param(2, core.Inject(dialog.MAT_DIALOG_DATA)),
|
|
3066
|
+
__metadata("design:paramtypes", [dialog.MatDialogRef, ngxToastr.ToastrService, Object])
|
|
3050
3067
|
], FHWinComboSelect);
|
|
3051
3068
|
return FHWinComboSelect;
|
|
3052
3069
|
}());
|
|
@@ -5164,7 +5181,8 @@
|
|
|
5164
5181
|
this.system_dest = 1;
|
|
5165
5182
|
this.header_h = 35;
|
|
5166
5183
|
this.init_fill = true;
|
|
5167
|
-
this.no_pref =
|
|
5184
|
+
this.no_pref = false;
|
|
5185
|
+
this.pref_hidden = true;
|
|
5168
5186
|
this.autosize_at_ini = true;
|
|
5169
5187
|
this.label_elementi = " Elementi";
|
|
5170
5188
|
this.trova_label = "TROVA";
|
|
@@ -6501,6 +6519,10 @@
|
|
|
6501
6519
|
core.Input(),
|
|
6502
6520
|
__metadata("design:type", Boolean)
|
|
6503
6521
|
], FHGridComponent.prototype, "no_pref", void 0);
|
|
6522
|
+
__decorate([
|
|
6523
|
+
core.Input(),
|
|
6524
|
+
__metadata("design:type", Boolean)
|
|
6525
|
+
], FHGridComponent.prototype, "pref_hidden", void 0);
|
|
6504
6526
|
__decorate([
|
|
6505
6527
|
core.Input(),
|
|
6506
6528
|
__metadata("design:type", Boolean)
|
|
@@ -6594,7 +6616,7 @@
|
|
|
6594
6616
|
FHGridComponent = __decorate([
|
|
6595
6617
|
core.Component({
|
|
6596
6618
|
selector: 'FHGrid',
|
|
6597
|
-
template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutAlign=\"center start\" fxLayoutGap=\"3px\" style=\"min-height: 55px\" [hidden]=\"!show_buttons\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\" >\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 fxLayout=\"row\" fxLayoutAlign=\"start center\">\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 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 ||
|
|
6619
|
+
template: "\r\n<div fxLayout=\"column\" fxFlexFill>\r\n\r\n <div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutAlign=\"center start\" fxLayoutGap=\"3px\" style=\"min-height: 55px\" [hidden]=\"!show_buttons\">\r\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" fxLayoutAlign=\"start center\" >\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 fxLayout=\"row\" fxLayoutAlign=\"start center\">\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 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 || pref_hidden' (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 && !pref_hidden\"\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 <div matTooltip=\"Elimina Preferenza\" matTooltipPosition=\"above\" *ngIf=\"curr_config!='-1'\">\r\n <button mat-icon-button *ngIf=\"show_buttons && !pref_hidden\"\r\n style=\"color:rgb(248, 105, 10)\">\r\n <mat-icon (click)=\"elimina_config()\">delete</mat-icon>\r\n </button>\r\n\r\n </div>\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 && !pref_hidden\">\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 || pref_hidden' (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\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0\" *ngIf=\"abilita_export\" matTooltip=\"EXPORT PDF\" matTooltipPosition=\"above\">\r\n <img src=\"assets/icons/square-o/pdf.svg\" style=\"width:24px;height: 24px;cursor:pointer;\" (click)=\"print()\" alt=\"Export Excel\">\r\n </div>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"0\" *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>\r\n <div fxLayout=\"row\" fxLayoutAlign=\"end center\" style=\"width: 100%;\" *ngIf=\"enabled\">\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",
|
|
6598
6620
|
styles: ["\n\n "]
|
|
6599
6621
|
}),
|
|
6600
6622
|
__metadata("design:paramtypes", [GridService, ngxToastr.ToastrService, QueryService, AppService, ng2SlimLoadingBar.SlimLoadingBarService, dialog.MatDialog, UtilityService, OfficeAutomatorService, FileService])
|