@fluxhub/fluxhub-lib 10.0.52 → 10.0.53
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 +5 -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/lib/controls/app_manager/fhrolemanager.d.ts +16 -0
- package/lib/controls/app_manager/fhtablevaluesmanager.d.ts +16 -0
- package/lib/controls/app_manager/win_manage_roles.d.ts +27 -0
- package/lib/controls/app_manager/win_manage_values.d.ts +27 -0
- package/lib/controls/fhautocomplete.d.ts +66 -0
- package/lib/controls/fhcheckbox.d.ts +22 -0
- package/lib/controls/fhcombobox.d.ts +57 -0
- package/lib/controls/fhconfirm.d.ts +28 -0
- package/lib/controls/fhcurrencyfield.d.ts +37 -0
- package/lib/controls/fhcurrencyformatter.d.ts +11 -0
- package/lib/controls/fhcurrencypipe.d.ts +8 -0
- package/lib/controls/fhdatepicker.d.ts +40 -0
- package/lib/controls/fhfieldpicklist.d.ts +29 -0
- package/lib/controls/fhformtoolbar.d.ts +24 -0
- package/lib/controls/fhgrid.d.ts +173 -0
- package/lib/controls/fhgrid_json.d.ts +143 -0
- package/lib/controls/fhgrid_toolbar.d.ts +20 -0
- package/lib/controls/fhgrid_win_help.d.ts +13 -0
- package/lib/controls/fhgridcolumn.d.ts +18 -0
- package/lib/controls/fhhelpbutton.d.ts +12 -0
- package/lib/controls/fhimagepreview.d.ts +75 -0
- package/lib/controls/fhlist.d.ts +38 -0
- package/lib/controls/fhlogpanel.d.ts +31 -0
- package/lib/controls/fhmdreader.d.ts +10 -0
- package/lib/controls/fhnumeric.d.ts +37 -0
- package/lib/controls/fhpickfield.d.ts +32 -0
- package/lib/controls/fhreplacelinebreak.d.ts +4 -0
- package/lib/controls/fhrichtext.d.ts +58 -0
- package/lib/controls/fhtextarea.d.ts +24 -0
- package/lib/controls/fhtextinput.d.ts +24 -0
- package/lib/controls/fhtimepicker.d.ts +64 -0
- package/lib/controls/fhupload.d.ts +67 -0
- package/lib/controls/fhupload_s3.d.ts +67 -0
- package/lib/controls/fhuploadpanel.d.ts +51 -0
- package/lib/controls/fhuploadpanel_s3.d.ts +54 -0
- package/lib/controls/fhuserfield.d.ts +34 -0
- package/lib/controls/fhuserpicker.d.ts +33 -0
- package/lib/controls/fhwinpicklist.d.ts +43 -0
- package/lib/controls/grid_editors/approvabuttons.d.ts +13 -0
- package/lib/controls/grid_editors/checkbox-editor.component.d.ts +11 -0
- package/lib/controls/grid_editors/currency.component.d.ts +6 -0
- package/lib/controls/grid_editors/fhcombobox_filter.d.ts +45 -0
- package/lib/controls/grid_editors/numeric-editor.component.d.ts +20 -0
- package/lib/controls/grid_editors/select-editor.component.d.ts +20 -0
- package/lib/controls/grid_editors/textarea-editor.component.d.ts +17 -0
- package/lib/controls/image-viewer/image-viewer-config.model.d.ts +34 -0
- package/lib/controls/image-viewer/image-viewer.component.d.ts +53 -0
- package/lib/controls/image-viewer/save_pipe.d.ts +7 -0
- package/lib/controls/onlynumber.directive.d.ts +6 -0
- package/lib/controls/utils/MomentDateAdapter.d.ts +33 -0
- package/lib/controls/win_app_logs.d.ts +21 -0
- package/lib/controls/win_ask_buttons.d.ts +11 -0
- package/lib/controls/win_ask_number.d.ts +19 -0
- package/lib/controls/win_ask_text.d.ts +21 -0
- package/lib/controls/win_ask_textbig.d.ts +22 -0
- package/lib/controls/win_combo_select.d.ts +19 -0
- package/lib/controls/win_list_pick.d.ts +27 -0
- package/lib/controls/win_mappa.d.ts +24 -0
- package/lib/controls/win_output.d.ts +18 -0
- package/lib/controls/win_show_email.d.ts +17 -0
- package/lib/controls/win_show_email_s3.d.ts +20 -0
- package/lib/controls/win_show_image.d.ts +9 -0
- package/lib/controls/win_show_log_dett.d.ts +11 -0
- package/lib/controls/win_time_slider.d.ts +19 -0
- package/lib/controls/win_user_info.d.ts +23 -0
- package/lib/controls/win_wait.d.ts +14 -0
- package/lib/form_builder/form_builder.d.ts +27 -0
- package/lib/form_builder/form_executer.d.ts +23 -0
- package/lib/models/FHConfirmValues.d.ts +9 -0
- package/lib/models/FSInput.d.ts +5 -0
- package/lib/models/FSResult.d.ts +5 -0
- package/lib/models/QGParam.d.ts +10 -0
- package/lib/models/QGResult.d.ts +6 -0
- package/lib/models/QParam.d.ts +6 -0
- package/lib/models/QResult.d.ts +5 -0
- package/lib/services/app.service.d.ts +83 -0
- package/lib/services/app_maker.service.d.ts +17 -0
- package/lib/services/dofile.service.d.ts +15 -0
- package/lib/services/doquery.service.d.ts +24 -0
- package/lib/services/doquery_odbc.service.d.ts +15 -0
- package/lib/services/dowkf.service.d.ts +15 -0
- package/lib/services/grid.service.d.ts +15 -0
- package/lib/services/localstorage.service.d.ts +10 -0
- package/lib/services/login.service.d.ts +32 -0
- package/lib/services/office_automator.service.d.ts +31 -0
- package/lib/services/prismservice.d.ts +17 -0
- package/lib/services/utility.service.d.ts +53 -0
- package/lib/wkf_engine/win_assegna.d.ts +24 -0
- package/lib/wkf_engine/win_commenti.d.ts +43 -0
- package/lib/wkf_engine/win_commento_sel_notif.d.ts +19 -0
- package/lib/wkf_engine/win_conferma.d.ts +23 -0
- package/lib/wkf_engine/win_info_doc.d.ts +22 -0
- package/lib/wkf_engine/win_insert_commento.d.ts +34 -0
- package/lib/wkf_engine/win_log.d.ts +51 -0
- package/lib/wkf_engine/win_recupera.d.ts +19 -0
- package/lib/wkf_engine/win_riassegna_select_level.d.ts +22 -0
- package/lib/wkf_engine/win_riassegna_select_user.d.ts +23 -0
- package/lib/wkf_engine/win_salva_annulla.d.ts +19 -0
- package/lib/wkf_engine/win_select_canale.d.ts +17 -0
- package/lib/wkf_engine/win_select_level.d.ts +21 -0
- package/lib/wkf_engine/win_sostituisci_utente.d.ts +23 -0
- package/lib/wkf_engine/win_uploads.d.ts +25 -0
- package/lib/wkf_engine/wkf_header_bar.d.ts +22 -0
- package/lib/wkf_engine/wkfapp.d.ts +75 -0
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +145 -0
- package/package.json +6 -6
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
|
+
import { QueryService } from "../../services/doquery.service";
|
|
3
|
+
import { AppService } from "../../services/app.service";
|
|
4
|
+
import { FHComboboxComponent } from "../fhcombobox";
|
|
5
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
6
|
+
export declare class FHRoleManager implements AfterViewInit {
|
|
7
|
+
private _dataService;
|
|
8
|
+
private app;
|
|
9
|
+
private _dialog;
|
|
10
|
+
application: string;
|
|
11
|
+
b_init: boolean;
|
|
12
|
+
cmb_sel: FHComboboxComponent;
|
|
13
|
+
constructor(_dataService: QueryService, app: AppService, _dialog: MatDialog);
|
|
14
|
+
edit_values(): void;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
|
+
import { QueryService } from "../../services/doquery.service";
|
|
3
|
+
import { AppService } from "../../services/app.service";
|
|
4
|
+
import { FHComboboxComponent } from "../fhcombobox";
|
|
5
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
6
|
+
export declare class FHTableManager implements AfterViewInit {
|
|
7
|
+
private _dataService;
|
|
8
|
+
private app;
|
|
9
|
+
private _dialog;
|
|
10
|
+
application: string;
|
|
11
|
+
b_init: boolean;
|
|
12
|
+
cmb_sel: FHComboboxComponent;
|
|
13
|
+
constructor(_dataService: QueryService, app: AppService, _dialog: MatDialog);
|
|
14
|
+
edit_values(): void;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { ToastrService } from "ngx-toastr";
|
|
4
|
+
import { AppService } from "../../services/app.service";
|
|
5
|
+
import { QueryService } from "../../services/doquery.service";
|
|
6
|
+
import { FHAutoCompleteComponent } from "../fhautocomplete";
|
|
7
|
+
export declare class win_manage_roles implements AfterViewInit {
|
|
8
|
+
dialogRef: MatDialogRef<win_manage_roles>;
|
|
9
|
+
private toastr;
|
|
10
|
+
private _dataService;
|
|
11
|
+
label: string;
|
|
12
|
+
sql: string;
|
|
13
|
+
types: string[];
|
|
14
|
+
values: string[];
|
|
15
|
+
single_sel: boolean;
|
|
16
|
+
sel_values: string;
|
|
17
|
+
m_appService: AppService;
|
|
18
|
+
constructor(dialogRef: MatDialogRef<win_manage_roles>, toastr: ToastrService, _appService: AppService, _dataService: QueryService);
|
|
19
|
+
ok(): void;
|
|
20
|
+
role_id: number;
|
|
21
|
+
autoc: FHAutoCompleteComponent;
|
|
22
|
+
add_assoc(): void;
|
|
23
|
+
delete_uassoc(u: any): void;
|
|
24
|
+
ref_user_list(): void;
|
|
25
|
+
users: any[];
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { ToastrService } from "ngx-toastr";
|
|
4
|
+
import { AppService } from "../../services/app.service";
|
|
5
|
+
import { QueryService } from "../../services/doquery.service";
|
|
6
|
+
export declare class win_manage_values implements AfterViewInit {
|
|
7
|
+
dialogRef: MatDialogRef<win_manage_values>;
|
|
8
|
+
private toastr;
|
|
9
|
+
private m_appService;
|
|
10
|
+
private _dataService;
|
|
11
|
+
label: string;
|
|
12
|
+
sql: string;
|
|
13
|
+
types: string[];
|
|
14
|
+
values: string[];
|
|
15
|
+
single_sel: boolean;
|
|
16
|
+
sel_values: string;
|
|
17
|
+
constructor(dialogRef: MatDialogRef<win_manage_values>, toastr: ToastrService, m_appService: AppService, _dataService: QueryService);
|
|
18
|
+
delete_uassoc(u: any): void;
|
|
19
|
+
update_tassoc_ins(u: any): void;
|
|
20
|
+
update_tassoc(u: any): void;
|
|
21
|
+
valoris: Array<any>;
|
|
22
|
+
id_tipo: Number;
|
|
23
|
+
nValori: any;
|
|
24
|
+
ref_user_list(): void;
|
|
25
|
+
ok(): void;
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, AfterViewInit } from "@angular/core";
|
|
2
|
+
import { QueryService } from "../services/doquery.service";
|
|
3
|
+
import { MatAutocomplete } from "@angular/material/autocomplete";
|
|
4
|
+
import { OdbcService } from "../services/doquery_odbc.service";
|
|
5
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
6
|
+
export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
|
|
7
|
+
export declare class FHAutoCompleteComponent implements AfterViewInit, ControlValueAccessor {
|
|
8
|
+
private _dataService;
|
|
9
|
+
private _dataService_odbc;
|
|
10
|
+
init_fill: boolean;
|
|
11
|
+
sql: string;
|
|
12
|
+
label: string;
|
|
13
|
+
types: string[];
|
|
14
|
+
values: any[];
|
|
15
|
+
hidden: boolean;
|
|
16
|
+
id_loading: boolean;
|
|
17
|
+
db_type: string;
|
|
18
|
+
enabled: boolean;
|
|
19
|
+
required: boolean;
|
|
20
|
+
only_from_list: boolean;
|
|
21
|
+
fillend: EventEmitter<any>;
|
|
22
|
+
selchange: EventEmitter<any>;
|
|
23
|
+
change: EventEmitter<any>;
|
|
24
|
+
initend: EventEmitter<any>;
|
|
25
|
+
focusout: EventEmitter<any>;
|
|
26
|
+
descri_val: String;
|
|
27
|
+
sItem: string;
|
|
28
|
+
searchItemsFiltered: Array<any>;
|
|
29
|
+
searchp: ElementRef;
|
|
30
|
+
auto: MatAutocomplete;
|
|
31
|
+
myData: any[];
|
|
32
|
+
is_loaded: boolean;
|
|
33
|
+
selval: any;
|
|
34
|
+
errorMsg: string;
|
|
35
|
+
valDef: string;
|
|
36
|
+
table_hidden: boolean;
|
|
37
|
+
constructor(_dataService: QueryService, _dataService_odbc: OdbcService);
|
|
38
|
+
fi_search(): void;
|
|
39
|
+
fo_search(o: any): void;
|
|
40
|
+
onChange_up(e: any): void;
|
|
41
|
+
selectedSearchItem(event: any): void;
|
|
42
|
+
ch($event: any): void;
|
|
43
|
+
myListFormatter(data: any): string;
|
|
44
|
+
resetValue(b_res_valdef?: boolean): void;
|
|
45
|
+
reset(): void;
|
|
46
|
+
doFill(): void;
|
|
47
|
+
fillCombo(): void;
|
|
48
|
+
resetD(o: any): void;
|
|
49
|
+
setByDescri(desc_val: string): void;
|
|
50
|
+
last_v: string;
|
|
51
|
+
last_val_rec(): void;
|
|
52
|
+
setByValue(desc_val: string): void;
|
|
53
|
+
setValue(desc_val: string): void;
|
|
54
|
+
getDescri(): string;
|
|
55
|
+
getData(campo: any): string;
|
|
56
|
+
getObj(): any;
|
|
57
|
+
getValue(): string;
|
|
58
|
+
protected getModelValue(): string;
|
|
59
|
+
set_options(s: String): void;
|
|
60
|
+
ngAfterViewInit(): void;
|
|
61
|
+
writeValue(value: string): void;
|
|
62
|
+
onChange: (_: any) => void;
|
|
63
|
+
onTouched: () => void;
|
|
64
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
65
|
+
registerOnTouched(fn: () => void): void;
|
|
66
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter, AfterViewInit } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
|
|
4
|
+
export declare class FHCheckBox implements AfterViewInit, ControlValueAccessor {
|
|
5
|
+
hidden: boolean;
|
|
6
|
+
label: string;
|
|
7
|
+
enabled: boolean;
|
|
8
|
+
required: boolean;
|
|
9
|
+
change: EventEmitter<any>;
|
|
10
|
+
click: EventEmitter<any>;
|
|
11
|
+
value_b: boolean;
|
|
12
|
+
onCl(): void;
|
|
13
|
+
modelch(): void;
|
|
14
|
+
constructor();
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
protected getModelValue(): number;
|
|
17
|
+
writeValue(value: number): void;
|
|
18
|
+
onChange: (_: any) => void;
|
|
19
|
+
onTouched: () => void;
|
|
20
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
21
|
+
registerOnTouched(fn: () => void): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, AfterViewInit } from "@angular/core";
|
|
2
|
+
import { QueryService } from "../services/doquery.service";
|
|
3
|
+
import { OdbcService } from "../services/doquery_odbc.service";
|
|
4
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
5
|
+
export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
|
|
6
|
+
export declare class FHComboboxComponent implements AfterViewInit, ControlValueAccessor {
|
|
7
|
+
private _dataService;
|
|
8
|
+
private _dataService_odbc;
|
|
9
|
+
init_fill: boolean;
|
|
10
|
+
sql: string;
|
|
11
|
+
types: string[];
|
|
12
|
+
values: string[];
|
|
13
|
+
hidden: boolean;
|
|
14
|
+
label: string;
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
required: boolean;
|
|
17
|
+
sel_label: string;
|
|
18
|
+
tooltip: string;
|
|
19
|
+
smtr: ElementRef;
|
|
20
|
+
fillend: EventEmitter<any>;
|
|
21
|
+
selchange: EventEmitter<any>;
|
|
22
|
+
initend: EventEmitter<any>;
|
|
23
|
+
myData: any[];
|
|
24
|
+
valDef: string;
|
|
25
|
+
selval: string;
|
|
26
|
+
errorMsg: string;
|
|
27
|
+
db_type: string;
|
|
28
|
+
dis_value: string;
|
|
29
|
+
is_loaded: boolean;
|
|
30
|
+
constructor(_dataService: QueryService, _dataService_odbc: OdbcService);
|
|
31
|
+
setValue(desc_val: string): void;
|
|
32
|
+
private update_dis;
|
|
33
|
+
resetValue(): void;
|
|
34
|
+
focus(): void;
|
|
35
|
+
reset(): void;
|
|
36
|
+
fillCombo(): void;
|
|
37
|
+
add_option(o: any): void;
|
|
38
|
+
resetD(o: any): void;
|
|
39
|
+
setByDescri(desc_val: string): void;
|
|
40
|
+
setByIndex(ind: number): void;
|
|
41
|
+
getObj(): any;
|
|
42
|
+
descri_val: string;
|
|
43
|
+
setByValue(desc_val: string): void;
|
|
44
|
+
getDescri(): string;
|
|
45
|
+
getValue(): string;
|
|
46
|
+
getData(campo: any): any;
|
|
47
|
+
set_options(s: String): void;
|
|
48
|
+
doFill(): void;
|
|
49
|
+
ngAfterViewInit(): void;
|
|
50
|
+
sc(): void;
|
|
51
|
+
protected getModelValue(): string;
|
|
52
|
+
writeValue(value: string): void;
|
|
53
|
+
onChange: (_: any) => void;
|
|
54
|
+
onTouched: () => void;
|
|
55
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
56
|
+
registerOnTouched(fn: () => void): void;
|
|
57
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import { AppService } from "../services/app.service";
|
|
4
|
+
import { FHConfirmValues } from "../models/FHConfirmValues";
|
|
5
|
+
import { ToastrService } from "ngx-toastr";
|
|
6
|
+
/**
|
|
7
|
+
* A Sample of how simple it is to create a new window, with its own injects.
|
|
8
|
+
*/
|
|
9
|
+
export declare class FHConfirmComponent implements AfterViewInit {
|
|
10
|
+
dialogRef: MatDialogRef<FHConfirmComponent>;
|
|
11
|
+
private app_s;
|
|
12
|
+
conf: FHConfirmValues;
|
|
13
|
+
private toast;
|
|
14
|
+
title: string;
|
|
15
|
+
msg: string;
|
|
16
|
+
commento: string;
|
|
17
|
+
b_commento: boolean;
|
|
18
|
+
confirm_mgs: string;
|
|
19
|
+
annulla_mgs: string;
|
|
20
|
+
commento_mgs: string;
|
|
21
|
+
insert_comment_msg: string;
|
|
22
|
+
ok(): void;
|
|
23
|
+
constructor(dialogRef: MatDialogRef<FHConfirmComponent>, app_s: AppService, conf: FHConfirmValues, toast: ToastrService);
|
|
24
|
+
close(): void;
|
|
25
|
+
setTitle(texto: any): void;
|
|
26
|
+
setMsg(texto: any): void;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, ElementRef } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
|
|
4
|
+
export declare class FHCurrencyFieldComponent implements AfterViewInit, ControlValueAccessor {
|
|
5
|
+
el: ElementRef;
|
|
6
|
+
decimal: number;
|
|
7
|
+
label: string;
|
|
8
|
+
required: boolean;
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
hidden: boolean;
|
|
11
|
+
color: string;
|
|
12
|
+
m_color: String;
|
|
13
|
+
label_width: string;
|
|
14
|
+
change: EventEmitter<any>;
|
|
15
|
+
focus: EventEmitter<any>;
|
|
16
|
+
focus_out: EventEmitter<any>;
|
|
17
|
+
enter_pressed: EventEmitter<any>;
|
|
18
|
+
private innerValue;
|
|
19
|
+
kd(event: any): void;
|
|
20
|
+
getStyle_color(): String;
|
|
21
|
+
getStyle_mw(): string;
|
|
22
|
+
constructor();
|
|
23
|
+
set_color(color: String): void;
|
|
24
|
+
chg(): void;
|
|
25
|
+
writeValue(value: any): void;
|
|
26
|
+
onChange: (_: any) => void;
|
|
27
|
+
onTouched: () => void;
|
|
28
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
29
|
+
registerOnTouched(fn: () => void): void;
|
|
30
|
+
formattedAmount: string;
|
|
31
|
+
value: any;
|
|
32
|
+
transformAmount(element: any): void;
|
|
33
|
+
transform(value: number | string, fractionSize?: number): string;
|
|
34
|
+
focus_e(): void;
|
|
35
|
+
setFocus(): void;
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FHCurrencyPipe } from "./fhcurrencypipe";
|
|
2
|
+
import { ElementRef, AfterViewInit } from "@angular/core";
|
|
3
|
+
export declare class FHCurrencyFormatterDirective implements AfterViewInit {
|
|
4
|
+
private elementRef;
|
|
5
|
+
private currencyPipe;
|
|
6
|
+
private el;
|
|
7
|
+
constructor(elementRef: ElementRef, currencyPipe: FHCurrencyPipe);
|
|
8
|
+
ngAfterViewInit(): void;
|
|
9
|
+
onFocus(value: any): void;
|
|
10
|
+
onBlur(value: any): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
export declare class FHCurrencyPipe implements PipeTransform {
|
|
3
|
+
private DECIMAL_SEPARATOR;
|
|
4
|
+
private THOUSANDS_SEPARATOR;
|
|
5
|
+
constructor();
|
|
6
|
+
transform(value: number | string, fractionSize?: number): string;
|
|
7
|
+
parse(value: string, fractionSize?: number): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, AfterViewInit } from "@angular/core";
|
|
2
|
+
import { UtilityService } from "../services/utility.service";
|
|
3
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
4
|
+
import { DateAdapter } from "@angular/material/core";
|
|
5
|
+
export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
|
|
6
|
+
export declare class FHDatePickerComponent implements AfterViewInit, ControlValueAccessor {
|
|
7
|
+
private dateAdapter;
|
|
8
|
+
private uti_s;
|
|
9
|
+
label: string;
|
|
10
|
+
required: boolean;
|
|
11
|
+
show_buttons: boolean;
|
|
12
|
+
enabled: boolean;
|
|
13
|
+
min_date: Date;
|
|
14
|
+
max_date: Date;
|
|
15
|
+
change: EventEmitter<any>;
|
|
16
|
+
pickerId: ElementRef;
|
|
17
|
+
checkInput(ob: any): void;
|
|
18
|
+
dt_chg(event: any): void;
|
|
19
|
+
chxx(e: any): void;
|
|
20
|
+
ch(event?: any): void;
|
|
21
|
+
constructor(dateAdapter: DateAdapter<Date>, uti_s: UtilityService);
|
|
22
|
+
v_view: string;
|
|
23
|
+
date_sel: any;
|
|
24
|
+
v_date_sel: String;
|
|
25
|
+
setFocus(): void;
|
|
26
|
+
dt_ch(): void;
|
|
27
|
+
add_year(): void;
|
|
28
|
+
ini_year(): void;
|
|
29
|
+
fin_year(): void;
|
|
30
|
+
getValue(): Date;
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
setLimits(): void;
|
|
33
|
+
setToday(): void;
|
|
34
|
+
setValue(d: any): void;
|
|
35
|
+
writeValue(value: any): void;
|
|
36
|
+
onChange: (_: any) => void;
|
|
37
|
+
onTouched: () => void;
|
|
38
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
39
|
+
registerOnTouched(fn: () => void): void;
|
|
40
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
|
+
import { ControlValueAccessor } from "@angular/forms";
|
|
3
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
4
|
+
export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR: any;
|
|
5
|
+
export declare class FHFieldPickListComponent implements AfterViewInit, ControlValueAccessor {
|
|
6
|
+
private m_dialog;
|
|
7
|
+
sql: string;
|
|
8
|
+
types: string[];
|
|
9
|
+
values: string[];
|
|
10
|
+
hidden: boolean;
|
|
11
|
+
only_in_list: boolean;
|
|
12
|
+
single_sel: boolean;
|
|
13
|
+
label: string;
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
required: boolean;
|
|
16
|
+
db_type: string;
|
|
17
|
+
separator: string;
|
|
18
|
+
value: string;
|
|
19
|
+
constructor(m_dialog: MatDialog);
|
|
20
|
+
resetValue(): void;
|
|
21
|
+
writeValue(value: any): void;
|
|
22
|
+
onChange: (_: any) => void;
|
|
23
|
+
onTouched: () => void;
|
|
24
|
+
registerOnChange(fn: (_: any) => void): void;
|
|
25
|
+
registerOnTouched(fn: () => void): void;
|
|
26
|
+
focus(): void;
|
|
27
|
+
open_pick_list(): void;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
export declare class FHFormToolBarComponent {
|
|
4
|
+
private _dialog;
|
|
5
|
+
editable: boolean;
|
|
6
|
+
show_save: boolean;
|
|
7
|
+
is_editing: boolean;
|
|
8
|
+
App: string;
|
|
9
|
+
K: string;
|
|
10
|
+
mgs_back: string;
|
|
11
|
+
mgs_edit: string;
|
|
12
|
+
mgs_save: string;
|
|
13
|
+
b_commento: boolean;
|
|
14
|
+
custom_commands: any[];
|
|
15
|
+
constructor(_dialog: MatDialog);
|
|
16
|
+
logs(): void;
|
|
17
|
+
exec_command(command: any): void;
|
|
18
|
+
command: EventEmitter<any>;
|
|
19
|
+
edit(): void;
|
|
20
|
+
back_ask_save(): void;
|
|
21
|
+
back(): void;
|
|
22
|
+
save(): void;
|
|
23
|
+
set_editing(b_edit: boolean): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { SlimLoadingBarService } from "ng2-slim-loading-bar";
|
|
2
|
+
import { AppService } from "../services/app.service";
|
|
3
|
+
import { EventEmitter, AfterViewInit } from "@angular/core";
|
|
4
|
+
import { QueryService } from "../services/doquery.service";
|
|
5
|
+
import { GridService } from "../services/grid.service";
|
|
6
|
+
import "ag-grid-enterprise";
|
|
7
|
+
import { GridOptions, GridApi } from "ag-grid-community";
|
|
8
|
+
import { FHComboboxComponent } from "./fhcombobox";
|
|
9
|
+
import { ToastrService } from "ngx-toastr";
|
|
10
|
+
import { UtilityService } from "../services/utility.service";
|
|
11
|
+
import { wkfapp } from "../wkf_engine/wkfapp";
|
|
12
|
+
import { OfficeAutomatorService } from "../services/office_automator.service";
|
|
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 FHGridComponent 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 officeService;
|
|
25
|
+
private _fileService;
|
|
26
|
+
end_point: string;
|
|
27
|
+
tbl_name: string;
|
|
28
|
+
columnDefs: any[];
|
|
29
|
+
count_tbl_name: string;
|
|
30
|
+
num_per_pag: number;
|
|
31
|
+
grid_key: string;
|
|
32
|
+
sort_field: string;
|
|
33
|
+
fields: string;
|
|
34
|
+
filters: string;
|
|
35
|
+
enabled: Boolean;
|
|
36
|
+
auto_load: boolean;
|
|
37
|
+
auto_height: boolean;
|
|
38
|
+
abilita_export: boolean;
|
|
39
|
+
enabled_pag: boolean;
|
|
40
|
+
show_help: boolean;
|
|
41
|
+
show_num_elem: boolean;
|
|
42
|
+
system_dest: number;
|
|
43
|
+
header_h: number;
|
|
44
|
+
init_fill: boolean;
|
|
45
|
+
no_pref: boolean;
|
|
46
|
+
pref_hidden: boolean;
|
|
47
|
+
autosize_at_ini: boolean;
|
|
48
|
+
event: any;
|
|
49
|
+
label_elementi: string;
|
|
50
|
+
trova_label: string;
|
|
51
|
+
mantieni_impostazioni: string;
|
|
52
|
+
curr_filter: string;
|
|
53
|
+
show_buttons: boolean;
|
|
54
|
+
fill_end: EventEmitter<any>;
|
|
55
|
+
cell_edited: EventEmitter<any>;
|
|
56
|
+
clicked: EventEmitter<any>;
|
|
57
|
+
dclicked: EventEmitter<any>;
|
|
58
|
+
columndclicked: EventEmitter<any>;
|
|
59
|
+
cell_clicked: EventEmitter<any>;
|
|
60
|
+
custom_export: boolean;
|
|
61
|
+
toolbar_type: string;
|
|
62
|
+
toolbar_wkfapp: wkfapp;
|
|
63
|
+
toolbar_custom_commands: any[];
|
|
64
|
+
command: EventEmitter<any>;
|
|
65
|
+
docmd(o: any): void;
|
|
66
|
+
private b_ensure;
|
|
67
|
+
ensure_visible(): void;
|
|
68
|
+
gf: FHComboboxComponent;
|
|
69
|
+
toggle_mantieni: MatSlideToggle;
|
|
70
|
+
ck_flag(): void;
|
|
71
|
+
curr_config: string;
|
|
72
|
+
refresh_all_rows(): void;
|
|
73
|
+
ch_config(): void;
|
|
74
|
+
elimina_config(): void;
|
|
75
|
+
edit_config(): void;
|
|
76
|
+
refresh_access(wkfx: wkfapp): void;
|
|
77
|
+
getGridApi(): GridApi;
|
|
78
|
+
getGridOptions(): GridOptions;
|
|
79
|
+
private win_opt;
|
|
80
|
+
insert_config(): void;
|
|
81
|
+
calcola_filtro(obj_filtro: any, filter_v: any, key: any, add_end?: boolean): any;
|
|
82
|
+
init_end: EventEmitter<any>;
|
|
83
|
+
off_set: number;
|
|
84
|
+
private first_ref;
|
|
85
|
+
private b_restored;
|
|
86
|
+
str_curr_q_p: string;
|
|
87
|
+
dataSource: {
|
|
88
|
+
getRows: (params: any) => void;
|
|
89
|
+
};
|
|
90
|
+
getContextMenuItems_n_e: () => string[];
|
|
91
|
+
getContextMenuItems_e: () => (string | {
|
|
92
|
+
name: string;
|
|
93
|
+
action: () => void;
|
|
94
|
+
icon: string;
|
|
95
|
+
})[];
|
|
96
|
+
private onBtExport;
|
|
97
|
+
gridOptions: GridOptions;
|
|
98
|
+
setHeaderHeight(n: number): void;
|
|
99
|
+
private getRowNodeId;
|
|
100
|
+
private showGrid;
|
|
101
|
+
rowData: any[];
|
|
102
|
+
private rowCount;
|
|
103
|
+
agGrid: any;
|
|
104
|
+
b_init: boolean;
|
|
105
|
+
b_init1: boolean;
|
|
106
|
+
private errorMsg;
|
|
107
|
+
private innerWidth;
|
|
108
|
+
private size;
|
|
109
|
+
ngAfterViewInit(): void;
|
|
110
|
+
okr(event: any): void;
|
|
111
|
+
help_window(): void;
|
|
112
|
+
onResize(event?: any): void;
|
|
113
|
+
show_pulisci_filtri: boolean;
|
|
114
|
+
autoSizeAll(): void;
|
|
115
|
+
fitSizeAll(): void;
|
|
116
|
+
selectCount(): number;
|
|
117
|
+
getquerySelected(f: any, t: any): string;
|
|
118
|
+
selectAllFiltered(): void;
|
|
119
|
+
deselectAllFiltered(): void;
|
|
120
|
+
pulisci_filtri(resetr?: boolean): void;
|
|
121
|
+
constructor(_gridservice: GridService, _toast: ToastrService, _dataService: QueryService, m_appService: AppService, slimLoadingBarService: SlimLoadingBarService, m_dialog: MatDialog, uti_s: UtilityService, officeService: OfficeAutomatorService, _fileService: FileService);
|
|
122
|
+
uiid_stampa: string;
|
|
123
|
+
xxopx: number;
|
|
124
|
+
dialogRef_W: any;
|
|
125
|
+
export_excel(format?: string): void;
|
|
126
|
+
print(): void;
|
|
127
|
+
private init_conf;
|
|
128
|
+
private createColumnDefs;
|
|
129
|
+
num_r: Number;
|
|
130
|
+
ready: Boolean;
|
|
131
|
+
ckk_ed: Boolean;
|
|
132
|
+
myData: Array<any>;
|
|
133
|
+
private ckk;
|
|
134
|
+
res_columns(forza?: boolean): void;
|
|
135
|
+
getRows(): Array<any>;
|
|
136
|
+
sortAndFilter(sortModel: any, filterModel: any): void;
|
|
137
|
+
private ref_dt;
|
|
138
|
+
updateRow(): void;
|
|
139
|
+
private onModelUpdated;
|
|
140
|
+
private gridApi;
|
|
141
|
+
onReady(event: any): void;
|
|
142
|
+
init_grid(): void;
|
|
143
|
+
private save_cfg;
|
|
144
|
+
fe_cfg(): void;
|
|
145
|
+
b_iniended: boolean;
|
|
146
|
+
onready_go(): void;
|
|
147
|
+
ric_libera: string;
|
|
148
|
+
private init_filters;
|
|
149
|
+
keyDownFunctioncl(event: any): void;
|
|
150
|
+
private free_search;
|
|
151
|
+
onCellClicked(event: any): void;
|
|
152
|
+
private onCellValueChanged;
|
|
153
|
+
private onCellDoubleClicked;
|
|
154
|
+
private onCellFocused;
|
|
155
|
+
private onSelectionChanged;
|
|
156
|
+
private onBeforeFilterChanged;
|
|
157
|
+
oncolumnEverythingChanged(event: any): void;
|
|
158
|
+
onFilterModified(): void;
|
|
159
|
+
onBeforeSortChanged(): void;
|
|
160
|
+
onAfterSortChanged(): void;
|
|
161
|
+
onVirtualRowRemoved($event: any): void;
|
|
162
|
+
onRowClicked($event: any): void;
|
|
163
|
+
sRow: any;
|
|
164
|
+
onRowDClicked($event: any): void;
|
|
165
|
+
private onQuickFilterChanged;
|
|
166
|
+
onColumnEvent($event: any): void;
|
|
167
|
+
fix_flt: String;
|
|
168
|
+
fix_flt_temp: String;
|
|
169
|
+
doFill(flt: String, reset_prec?: Boolean, over_fixed?: Boolean): void;
|
|
170
|
+
doFill_Temp(flt: String, reset_prec?: Boolean): void;
|
|
171
|
+
Refresh(): void;
|
|
172
|
+
RefreshOnlyMemory(): void;
|
|
173
|
+
}
|