@fluxhub/fluxhub-lib 10.0.519 → 10.0.520
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 +1842 -0
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgridn.js +1823 -0
- package/esm2015/lib/fluxhub-lib.module.js +4 -1
- package/esm2015/lib/services/app_maker.service.js +1 -1
- package/esm2015/lib/services/login.service.js +1 -1
- package/esm2015/public_api.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +1806 -1
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgridn.d.ts +186 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { GridService } from "../services/grid.service";
|
|
2
|
+
import { SlimLoadingBarService } from "ng2-slim-loading-bar";
|
|
3
|
+
import { Clipboard } from '@angular/cdk/clipboard';
|
|
4
|
+
import { AppService } from "../services/app.service";
|
|
5
|
+
import { EventEmitter, AfterViewInit } from "@angular/core";
|
|
6
|
+
import { QueryService } from "../services/doquery.service";
|
|
7
|
+
import "ag-grid-enterprise";
|
|
8
|
+
import { GridOptions, GridApi } from "ag-grid-community";
|
|
9
|
+
import { FHComboboxComponent } from "./fhcombobox";
|
|
10
|
+
import { ToastrService } from "ngx-toastr";
|
|
11
|
+
import { UtilityService } from "../services/utility.service";
|
|
12
|
+
import { wkfapp } from "../wkf_engine/wkfapp";
|
|
13
|
+
import { FileService } from "../services/dofile.service";
|
|
14
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
15
|
+
import { MatSlideToggle } from "@angular/material/slide-toggle";
|
|
16
|
+
export declare class FHGridComponentN implements AfterViewInit {
|
|
17
|
+
private _gridservice;
|
|
18
|
+
private _toast;
|
|
19
|
+
private _dataService;
|
|
20
|
+
m_appService: AppService;
|
|
21
|
+
private slimLoadingBarService;
|
|
22
|
+
private m_dialog;
|
|
23
|
+
private uti_s;
|
|
24
|
+
private _fileService;
|
|
25
|
+
private clipboard;
|
|
26
|
+
width_max: string;
|
|
27
|
+
browser: string;
|
|
28
|
+
getBrowserName(): "edge" | "opera" | "chrome" | "ie" | "firefox" | "safari" | "other";
|
|
29
|
+
tooltipShowDelay: number;
|
|
30
|
+
elimina_label: string;
|
|
31
|
+
export_field_aggiuntivi: string;
|
|
32
|
+
end_point: string;
|
|
33
|
+
tbl_name: string;
|
|
34
|
+
columnDefs: any[];
|
|
35
|
+
num_per_pag: number;
|
|
36
|
+
grid_key: string;
|
|
37
|
+
enabled: Boolean;
|
|
38
|
+
show_link: boolean;
|
|
39
|
+
show_help_bar: boolean;
|
|
40
|
+
help_label_bar: string;
|
|
41
|
+
auto_load: boolean;
|
|
42
|
+
auto_height: boolean;
|
|
43
|
+
enable_export: boolean;
|
|
44
|
+
enabled_pag: boolean;
|
|
45
|
+
show_help: boolean;
|
|
46
|
+
show_num_elem: boolean;
|
|
47
|
+
system_dest: number;
|
|
48
|
+
header_h: number;
|
|
49
|
+
selection_mode: string;
|
|
50
|
+
init_fill: boolean;
|
|
51
|
+
no_pref: boolean;
|
|
52
|
+
pref_hidden: boolean;
|
|
53
|
+
enable_export_pdf: boolean;
|
|
54
|
+
enable_export_xls: boolean;
|
|
55
|
+
enable_copy: boolean;
|
|
56
|
+
full_text_added_columns: string[];
|
|
57
|
+
autosize_at_ini: boolean;
|
|
58
|
+
event: any;
|
|
59
|
+
label_elementi: string;
|
|
60
|
+
trova_label: string;
|
|
61
|
+
mantieni_impostazioni: string;
|
|
62
|
+
curr_filter: string;
|
|
63
|
+
show_buttons: boolean;
|
|
64
|
+
fill_end: EventEmitter<any>;
|
|
65
|
+
cell_edited: EventEmitter<any>;
|
|
66
|
+
clicked: EventEmitter<any>;
|
|
67
|
+
dclicked: EventEmitter<any>;
|
|
68
|
+
columndclicked: EventEmitter<any>;
|
|
69
|
+
cell_clicked: EventEmitter<any>;
|
|
70
|
+
custom_export: boolean;
|
|
71
|
+
toolbar_type: string;
|
|
72
|
+
toolbar_wkfapp: wkfapp;
|
|
73
|
+
toolbar_custom_commands: any[];
|
|
74
|
+
command: EventEmitter<any>;
|
|
75
|
+
docmd(o: any): void;
|
|
76
|
+
private b_ensure;
|
|
77
|
+
ensure_visible(): void;
|
|
78
|
+
gf: FHComboboxComponent;
|
|
79
|
+
toggle_mantieni: MatSlideToggle;
|
|
80
|
+
ck_flag(): void;
|
|
81
|
+
curr_config: string;
|
|
82
|
+
refresh_all_rows(): void;
|
|
83
|
+
ch_config(): void;
|
|
84
|
+
elimina_config(): void;
|
|
85
|
+
edit_config(): void;
|
|
86
|
+
refresh_access(wkfx: wkfapp): void;
|
|
87
|
+
getGridApi(): GridApi;
|
|
88
|
+
getGridOptions(): GridOptions;
|
|
89
|
+
private win_opt;
|
|
90
|
+
insert_config(): void;
|
|
91
|
+
init_end: EventEmitter<any>;
|
|
92
|
+
off_set: number;
|
|
93
|
+
private first_ref;
|
|
94
|
+
private b_restored;
|
|
95
|
+
str_curr_q_p: string;
|
|
96
|
+
p_fi: any;
|
|
97
|
+
dataSource: {
|
|
98
|
+
getRows: (params: any) => void;
|
|
99
|
+
};
|
|
100
|
+
getContextMenuItems_n_e: () => string[];
|
|
101
|
+
getContextMenuItems_e: () => (string | {
|
|
102
|
+
name: string;
|
|
103
|
+
action: () => void;
|
|
104
|
+
icon: string;
|
|
105
|
+
})[];
|
|
106
|
+
private onBtExport;
|
|
107
|
+
export_excel(type?: string): void;
|
|
108
|
+
check_end(format: any): void;
|
|
109
|
+
gridOptions: GridOptions;
|
|
110
|
+
last_copy: string;
|
|
111
|
+
setHeaderHeight(n: number): void;
|
|
112
|
+
private getRowNodeId;
|
|
113
|
+
private showGrid;
|
|
114
|
+
rowData: any[];
|
|
115
|
+
private rowCount;
|
|
116
|
+
agGrid: any;
|
|
117
|
+
b_init: boolean;
|
|
118
|
+
b_init1: boolean;
|
|
119
|
+
private errorMsg;
|
|
120
|
+
private innerWidth;
|
|
121
|
+
private size;
|
|
122
|
+
ngAfterViewInit(): void;
|
|
123
|
+
okr(event: any): void;
|
|
124
|
+
help_window(): void;
|
|
125
|
+
onResize(event?: any): void;
|
|
126
|
+
show_pulisci_filtri: boolean;
|
|
127
|
+
autoSizeAll(): void;
|
|
128
|
+
fitSizeAll(): void;
|
|
129
|
+
selectCount(): number;
|
|
130
|
+
getquerySelected(f: any, t: any): string;
|
|
131
|
+
selectAllFiltered(): void;
|
|
132
|
+
deselectAllFiltered(): void;
|
|
133
|
+
pulisci_filtri(resetr?: boolean): void;
|
|
134
|
+
constructor(_gridservice: GridService, _toast: ToastrService, _dataService: QueryService, m_appService: AppService, slimLoadingBarService: SlimLoadingBarService, m_dialog: MatDialog, uti_s: UtilityService, _fileService: FileService, clipboard: Clipboard);
|
|
135
|
+
uiid_stampa: string;
|
|
136
|
+
xxopx: number;
|
|
137
|
+
dialogRef_W: any;
|
|
138
|
+
print(): void;
|
|
139
|
+
private init_conf;
|
|
140
|
+
private createColumnDefs;
|
|
141
|
+
num_r: Number;
|
|
142
|
+
ready: Boolean;
|
|
143
|
+
ckk_ed: Boolean;
|
|
144
|
+
myData: Array<any>;
|
|
145
|
+
private ckk;
|
|
146
|
+
set_init_size(): void;
|
|
147
|
+
res_columns(forza?: boolean): void;
|
|
148
|
+
getRows(): Array<any>;
|
|
149
|
+
sortAndFilter(sortModel: any, filterModel: any): void;
|
|
150
|
+
private ref_dt;
|
|
151
|
+
updateRow(): void;
|
|
152
|
+
private onModelUpdated;
|
|
153
|
+
private gridApi;
|
|
154
|
+
onReady(event: any): void;
|
|
155
|
+
init_grid(): void;
|
|
156
|
+
private save_cfg;
|
|
157
|
+
fe_cfg(): void;
|
|
158
|
+
b_iniended: boolean;
|
|
159
|
+
onready_go(): void;
|
|
160
|
+
ric_libera: string;
|
|
161
|
+
private init_filters;
|
|
162
|
+
keyDownFunctioncl(event: any): void;
|
|
163
|
+
private free_search;
|
|
164
|
+
onCellClicked(event: any): void;
|
|
165
|
+
private onCellValueChanged;
|
|
166
|
+
private onCellDoubleClicked;
|
|
167
|
+
private onCellFocused;
|
|
168
|
+
private onSelectionChanged;
|
|
169
|
+
private onBeforeFilterChanged;
|
|
170
|
+
oncolumnEverythingChanged(event: any): void;
|
|
171
|
+
onFilterModified(): void;
|
|
172
|
+
onBeforeSortChanged(): void;
|
|
173
|
+
onAfterSortChanged(): void;
|
|
174
|
+
onVirtualRowRemoved($event: any): void;
|
|
175
|
+
onRowClicked($event: any): void;
|
|
176
|
+
sRow: any;
|
|
177
|
+
onRowDClicked($event: any): void;
|
|
178
|
+
private onQuickFilterChanged;
|
|
179
|
+
onColumnEvent($event: any): void;
|
|
180
|
+
fix_flt: String;
|
|
181
|
+
fix_flt_temp: String;
|
|
182
|
+
doFill(flt: String, reset_prec?: Boolean, over_fixed?: Boolean): void;
|
|
183
|
+
doFill_Temp(flt: String, reset_prec?: Boolean): void;
|
|
184
|
+
Refresh(): void;
|
|
185
|
+
RefreshOnlyMemory(): void;
|
|
186
|
+
}
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export { LocalDBService } from './lib/services/localstorage.service';
|
|
|
22
22
|
export { FHGuard } from './lib/auth_guard';
|
|
23
23
|
export { FHGridJSONComponent } from './lib/controls/fhgrid_json';
|
|
24
24
|
export { FHGridComponent } from './lib/controls/fhgrid';
|
|
25
|
+
export { FHGridComponentN } from './lib/controls/fhgridn';
|
|
25
26
|
export { ApprovaGridComponent } from './lib/controls/grid_editors/approvabuttons';
|
|
26
27
|
export { CurrencyComponent } from './lib/controls/grid_editors/currency.component';
|
|
27
28
|
export { NumericEditorComponent } from './lib/controls/grid_editors/numeric-editor.component';
|