@fluxhub/fluxhub-lib 1.0.0
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 +13749 -0
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -0
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -0
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -0
- package/esm2015/fluxhub-fluxhub-lib.js +14 -0
- package/esm2015/lib/auth_guard.js +142 -0
- package/esm2015/lib/controls/fhautocomplete.js +410 -0
- package/esm2015/lib/controls/fhcombobox.js +385 -0
- package/esm2015/lib/controls/fhconfirm.js +74 -0
- package/esm2015/lib/controls/fhcurrencyfield.js +206 -0
- package/esm2015/lib/controls/fhcurrencyformatter.js +59 -0
- package/esm2015/lib/controls/fhcurrencypipe.js +53 -0
- package/esm2015/lib/controls/fhdatepicker.js +217 -0
- package/esm2015/lib/controls/fhgrid.js +1524 -0
- package/esm2015/lib/controls/fhgrid_win_help.js +79 -0
- package/esm2015/lib/controls/fhlist.js +363 -0
- package/esm2015/lib/controls/fhlogpanel.js +29 -0
- package/esm2015/lib/controls/fhmdreader.js +51 -0
- package/esm2015/lib/controls/fhnumeric.js +216 -0
- package/esm2015/lib/controls/fhreplacelinebreak.js +21 -0
- package/esm2015/lib/controls/fhrichtext.js +151 -0
- package/esm2015/lib/controls/fhtimepicker.js +332 -0
- package/esm2015/lib/controls/fhupload.js +297 -0
- package/esm2015/lib/controls/fhuploadpanel.js +249 -0
- package/esm2015/lib/controls/fhuserfield.js +186 -0
- package/esm2015/lib/controls/fhuserpicker.js +329 -0
- package/esm2015/lib/controls/fhwinpicklist.js +380 -0
- package/esm2015/lib/controls/grid_editors/approvabuttons.js +121 -0
- package/esm2015/lib/controls/grid_editors/currency.component.js +30 -0
- package/esm2015/lib/controls/grid_editors/date-component.component.js +162 -0
- package/esm2015/lib/controls/grid_editors/dt.js +26 -0
- package/esm2015/lib/controls/grid_editors/dt_pick.js +186 -0
- package/esm2015/lib/controls/grid_editors/numeric-editor.component.js +151 -0
- package/esm2015/lib/controls/grid_editors/select-editor.component.js +185 -0
- package/esm2015/lib/controls/grid_editors/textarea-editor.component.js +147 -0
- package/esm2015/lib/controls/material.module.js +50 -0
- package/esm2015/lib/controls/onlynumber.directive.js +69 -0
- package/esm2015/lib/controls/pipes/keep-html.pipe.js +34 -0
- package/esm2015/lib/controls/utility.js +626 -0
- package/esm2015/lib/controls/win_ask_number.js +97 -0
- package/esm2015/lib/controls/win_ask_text.js +102 -0
- package/esm2015/lib/controls/win_ask_textbig.js +99 -0
- package/esm2015/lib/controls/win_combo_select.js +92 -0
- package/esm2015/lib/controls/win_list_pick.js +99 -0
- package/esm2015/lib/controls/win_mappa.js +145 -0
- package/esm2015/lib/controls/win_output.js +92 -0
- package/esm2015/lib/controls/win_time_slider.js +123 -0
- package/esm2015/lib/controls/win_wait.js +83 -0
- package/esm2015/lib/fluxhub-lib.module.js +121 -0
- package/esm2015/lib/models/FSInput.js +25 -0
- package/esm2015/lib/models/FSResult.js +23 -0
- package/esm2015/lib/models/QGParam.js +34 -0
- package/esm2015/lib/models/QGResult.js +22 -0
- package/esm2015/lib/models/QParam.js +27 -0
- package/esm2015/lib/models/QResult.js +23 -0
- package/esm2015/lib/services/app.service.js +135 -0
- package/esm2015/lib/services/app_maker.service.js +93 -0
- package/esm2015/lib/services/dofile.service.js +96 -0
- package/esm2015/lib/services/doquery.service.js +148 -0
- package/esm2015/lib/services/doquery_odbc.service.js +96 -0
- package/esm2015/lib/services/dowkf.service.js +96 -0
- package/esm2015/lib/services/grid.service.js +96 -0
- package/esm2015/lib/services/login.service.js +310 -0
- package/esm2015/lib/services/utility.service.js +640 -0
- package/esm2015/lib/wkf_engine/win_assegna.js +140 -0
- package/esm2015/lib/wkf_engine/win_commenti.js +345 -0
- package/esm2015/lib/wkf_engine/win_commento_sel_notif.js +122 -0
- package/esm2015/lib/wkf_engine/win_conferma.js +129 -0
- package/esm2015/lib/wkf_engine/win_info_doc.js +128 -0
- package/esm2015/lib/wkf_engine/win_log.js +348 -0
- package/esm2015/lib/wkf_engine/win_recupera.js +133 -0
- package/esm2015/lib/wkf_engine/win_riassegna_select_level.js +149 -0
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +132 -0
- package/esm2015/lib/wkf_engine/win_salva_annulla.js +67 -0
- package/esm2015/lib/wkf_engine/win_select_canale.js +94 -0
- package/esm2015/lib/wkf_engine/win_select_level.js +169 -0
- package/esm2015/lib/wkf_engine/win_uploads.js +322 -0
- package/esm2015/lib/wkf_engine/wkfapp.js +841 -0
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +1759 -0
- package/esm2015/public_api.js +79 -0
- package/esm5/fluxhub-fluxhub-lib.js +14 -0
- package/esm5/lib/auth_guard.js +140 -0
- package/esm5/lib/controls/fhautocomplete.js +451 -0
- package/esm5/lib/controls/fhcombobox.js +433 -0
- package/esm5/lib/controls/fhconfirm.js +75 -0
- package/esm5/lib/controls/fhcurrencyfield.js +244 -0
- package/esm5/lib/controls/fhcurrencyformatter.js +68 -0
- package/esm5/lib/controls/fhcurrencypipe.js +68 -0
- package/esm5/lib/controls/fhdatepicker.js +245 -0
- package/esm5/lib/controls/fhgrid.js +1698 -0
- package/esm5/lib/controls/fhgrid_win_help.js +50 -0
- package/esm5/lib/controls/fhlist.js +395 -0
- package/esm5/lib/controls/fhlogpanel.js +16 -0
- package/esm5/lib/controls/fhmdreader.js +45 -0
- package/esm5/lib/controls/fhnumeric.js +244 -0
- package/esm5/lib/controls/fhreplacelinebreak.js +29 -0
- package/esm5/lib/controls/fhrichtext.js +163 -0
- package/esm5/lib/controls/fhtimepicker.js +381 -0
- package/esm5/lib/controls/fhupload.js +304 -0
- package/esm5/lib/controls/fhuploadpanel.js +221 -0
- package/esm5/lib/controls/fhuserfield.js +197 -0
- package/esm5/lib/controls/fhuserpicker.js +264 -0
- package/esm5/lib/controls/fhwinpicklist.js +333 -0
- package/esm5/lib/controls/grid_editors/approvabuttons.js +120 -0
- package/esm5/lib/controls/grid_editors/currency.component.js +41 -0
- package/esm5/lib/controls/grid_editors/date-component.component.js +147 -0
- package/esm5/lib/controls/grid_editors/dt.js +23 -0
- package/esm5/lib/controls/grid_editors/dt_pick.js +204 -0
- package/esm5/lib/controls/grid_editors/numeric-editor.component.js +186 -0
- package/esm5/lib/controls/grid_editors/select-editor.component.js +169 -0
- package/esm5/lib/controls/grid_editors/textarea-editor.component.js +135 -0
- package/esm5/lib/controls/material.module.js +54 -0
- package/esm5/lib/controls/onlynumber.directive.js +73 -0
- package/esm5/lib/controls/pipes/keep-html.pipe.js +37 -0
- package/esm5/lib/controls/utility.js +767 -0
- package/esm5/lib/controls/win_ask_number.js +97 -0
- package/esm5/lib/controls/win_ask_text.js +102 -0
- package/esm5/lib/controls/win_ask_textbig.js +99 -0
- package/esm5/lib/controls/win_combo_select.js +84 -0
- package/esm5/lib/controls/win_list_pick.js +88 -0
- package/esm5/lib/controls/win_mappa.js +119 -0
- package/esm5/lib/controls/win_output.js +89 -0
- package/esm5/lib/controls/win_time_slider.js +96 -0
- package/esm5/lib/controls/win_wait.js +75 -0
- package/esm5/lib/fluxhub-lib.module.js +128 -0
- package/esm5/lib/models/FSInput.js +27 -0
- package/esm5/lib/models/FSResult.js +25 -0
- package/esm5/lib/models/QGParam.js +36 -0
- package/esm5/lib/models/QGResult.js +26 -0
- package/esm5/lib/models/QParam.js +29 -0
- package/esm5/lib/models/QResult.js +25 -0
- package/esm5/lib/services/app.service.js +153 -0
- package/esm5/lib/services/app_maker.service.js +107 -0
- package/esm5/lib/services/dofile.service.js +110 -0
- package/esm5/lib/services/doquery.service.js +167 -0
- package/esm5/lib/services/doquery_odbc.service.js +110 -0
- package/esm5/lib/services/dowkf.service.js +110 -0
- package/esm5/lib/services/grid.service.js +110 -0
- package/esm5/lib/services/login.service.js +346 -0
- package/esm5/lib/services/utility.service.js +781 -0
- package/esm5/lib/wkf_engine/win_assegna.js +121 -0
- package/esm5/lib/wkf_engine/win_commenti.js +333 -0
- package/esm5/lib/wkf_engine/win_commento_sel_notif.js +109 -0
- package/esm5/lib/wkf_engine/win_conferma.js +107 -0
- package/esm5/lib/wkf_engine/win_info_doc.js +65 -0
- package/esm5/lib/wkf_engine/win_log.js +332 -0
- package/esm5/lib/wkf_engine/win_recupera.js +123 -0
- package/esm5/lib/wkf_engine/win_riassegna_select_level.js +141 -0
- package/esm5/lib/wkf_engine/win_riassegna_select_user.js +113 -0
- package/esm5/lib/wkf_engine/win_salva_annulla.js +64 -0
- package/esm5/lib/wkf_engine/win_select_canale.js +78 -0
- package/esm5/lib/wkf_engine/win_select_level.js +163 -0
- package/esm5/lib/wkf_engine/win_uploads.js +288 -0
- package/esm5/lib/wkf_engine/wkfapp.js +909 -0
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +1930 -0
- package/esm5/public_api.js +79 -0
- package/fesm2015/fluxhub-fluxhub-lib.js +12868 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -0
- package/fesm5/fluxhub-fluxhub-lib.js +13485 -0
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -0
- package/fluxhub-fluxhub-lib.d.ts +8 -0
- package/fluxhub-fluxhub-lib.metadata.json +1 -0
- package/lib/auth_guard.d.ts +22 -0
- package/lib/controls/fhautocomplete.d.ts +48 -0
- package/lib/controls/fhcombobox.d.ts +42 -0
- package/lib/controls/fhconfirm.d.ts +16 -0
- package/lib/controls/fhcurrencyfield.d.ts +30 -0
- package/lib/controls/fhcurrencyformatter.d.ts +11 -0
- package/lib/controls/fhcurrencypipe.d.ts +8 -0
- package/lib/controls/fhdatepicker.d.ts +32 -0
- package/lib/controls/fhgrid.d.ts +150 -0
- package/lib/controls/fhgrid_win_help.d.ts +12 -0
- package/lib/controls/fhlist.d.ts +36 -0
- package/lib/controls/fhlogpanel.d.ts +2 -0
- package/lib/controls/fhmdreader.d.ts +10 -0
- package/lib/controls/fhnumeric.d.ts +32 -0
- package/lib/controls/fhreplacelinebreak.d.ts +4 -0
- package/lib/controls/fhrichtext.d.ts +23 -0
- package/lib/controls/fhtimepicker.d.ts +48 -0
- package/lib/controls/fhupload.d.ts +44 -0
- package/lib/controls/fhuploadpanel.d.ts +31 -0
- package/lib/controls/fhuserfield.d.ts +26 -0
- package/lib/controls/fhuserpicker.d.ts +35 -0
- package/lib/controls/fhwinpicklist.d.ts +41 -0
- package/lib/controls/grid_editors/approvabuttons.d.ts +15 -0
- package/lib/controls/grid_editors/currency.component.d.ts +6 -0
- package/lib/controls/grid_editors/date-component.component.d.ts +20 -0
- package/lib/controls/grid_editors/dt.d.ts +7 -0
- package/lib/controls/grid_editors/dt_pick.d.ts +27 -0
- package/lib/controls/grid_editors/numeric-editor.component.d.ts +20 -0
- package/lib/controls/grid_editors/select-editor.component.d.ts +22 -0
- package/lib/controls/grid_editors/textarea-editor.component.d.ts +17 -0
- package/lib/controls/material.module.d.ts +2 -0
- package/lib/controls/onlynumber.directive.d.ts +6 -0
- package/lib/controls/pipes/keep-html.pipe.d.ts +7 -0
- package/lib/controls/utility.d.ts +35 -0
- package/lib/controls/win_ask_number.d.ts +18 -0
- package/lib/controls/win_ask_text.d.ts +18 -0
- package/lib/controls/win_ask_textbig.d.ts +17 -0
- package/lib/controls/win_combo_select.d.ts +16 -0
- package/lib/controls/win_list_pick.d.ts +19 -0
- package/lib/controls/win_mappa.d.ts +23 -0
- package/lib/controls/win_output.d.ts +17 -0
- package/lib/controls/win_time_slider.d.ts +18 -0
- package/lib/controls/win_wait.d.ts +16 -0
- package/lib/fluxhub-lib.module.d.ts +4 -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 +58 -0
- package/lib/services/app_maker.service.d.ts +17 -0
- package/lib/services/dofile.service.d.ts +17 -0
- package/lib/services/doquery.service.d.ts +27 -0
- package/lib/services/doquery_odbc.service.d.ts +17 -0
- package/lib/services/dowkf.service.d.ts +17 -0
- package/lib/services/grid.service.d.ts +17 -0
- package/lib/services/login.service.d.ts +33 -0
- package/lib/services/utility.service.d.ts +35 -0
- package/lib/wkf_engine/win_assegna.d.ts +23 -0
- package/lib/wkf_engine/win_commenti.d.ts +35 -0
- package/lib/wkf_engine/win_commento_sel_notif.d.ts +19 -0
- package/lib/wkf_engine/win_conferma.d.ts +22 -0
- package/lib/wkf_engine/win_info_doc.d.ts +17 -0
- package/lib/wkf_engine/win_log.d.ts +35 -0
- package/lib/wkf_engine/win_recupera.d.ts +18 -0
- package/lib/wkf_engine/win_riassegna_select_level.d.ts +20 -0
- package/lib/wkf_engine/win_riassegna_select_user.d.ts +23 -0
- package/lib/wkf_engine/win_salva_annulla.d.ts +13 -0
- package/lib/wkf_engine/win_select_canale.d.ts +16 -0
- package/lib/wkf_engine/win_select_level.d.ts +19 -0
- package/lib/wkf_engine/win_uploads.d.ts +40 -0
- package/lib/wkf_engine/wkfapp.d.ts +64 -0
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +141 -0
- package/package.json +85 -0
- package/public_api.d.ts +70 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ToastrService } from 'ngx-toastr';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { QueryService } from '../services/doquery.service';
|
|
4
|
+
import { MatDialogRef } from '@angular/material';
|
|
5
|
+
export declare class FHUserPickerComponent implements OnInit {
|
|
6
|
+
private _dataService;
|
|
7
|
+
dialogRef: MatDialogRef<FHUserPickerComponent>;
|
|
8
|
+
private toastr;
|
|
9
|
+
width: string;
|
|
10
|
+
myData: any[];
|
|
11
|
+
selectedAdd: any;
|
|
12
|
+
selectedRemove: any;
|
|
13
|
+
usersResourse: any[];
|
|
14
|
+
selection: string;
|
|
15
|
+
option: boolean;
|
|
16
|
+
selval: string;
|
|
17
|
+
errorMsg: string;
|
|
18
|
+
valDef: string;
|
|
19
|
+
fltr_user: string;
|
|
20
|
+
risorseID: any;
|
|
21
|
+
users_list: Array<any>;
|
|
22
|
+
users_list_sel: Array<any>;
|
|
23
|
+
single_sel: boolean;
|
|
24
|
+
vis_buttons: boolean;
|
|
25
|
+
all_users: boolean;
|
|
26
|
+
user_sel: Array<any>;
|
|
27
|
+
filtra(): void;
|
|
28
|
+
ngOnInit(): void;
|
|
29
|
+
constructor(_dataService: QueryService, dialogRef: MatDialogRef<FHUserPickerComponent>, toastr: ToastrService);
|
|
30
|
+
do_add(): void;
|
|
31
|
+
do_rem(): void;
|
|
32
|
+
addTo(item: any): void;
|
|
33
|
+
removeTo(item: any): void;
|
|
34
|
+
getSelArr(): Array<any>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ToastrService } from 'ngx-toastr';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { QueryService } from '../services/doquery.service';
|
|
4
|
+
import { MatDialogRef } from '@angular/material';
|
|
5
|
+
export declare class FHPickListComponent implements OnInit {
|
|
6
|
+
dialogRef: MatDialogRef<FHPickListComponent>;
|
|
7
|
+
private _dataService;
|
|
8
|
+
private toastr;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
width: string;
|
|
11
|
+
myData: any[];
|
|
12
|
+
selectedAdd: any;
|
|
13
|
+
selectedRemove: any;
|
|
14
|
+
usersResourse: any[];
|
|
15
|
+
selection: string;
|
|
16
|
+
option: boolean;
|
|
17
|
+
selval: string;
|
|
18
|
+
errorMsg: string;
|
|
19
|
+
valDef: string;
|
|
20
|
+
fltr_user: string;
|
|
21
|
+
risorseID: any;
|
|
22
|
+
value_list: Array<any>;
|
|
23
|
+
value_list_all: Array<any>;
|
|
24
|
+
value_list_sel: Array<any>;
|
|
25
|
+
single_sel: boolean;
|
|
26
|
+
vis_buttons: boolean;
|
|
27
|
+
limit_size: boolean;
|
|
28
|
+
value_sel: Array<any>;
|
|
29
|
+
filtra(): void;
|
|
30
|
+
types: any[];
|
|
31
|
+
values: any[];
|
|
32
|
+
fill_list(k: string, arrs: Array<any>): void;
|
|
33
|
+
constructor(dialogRef: MatDialogRef<FHPickListComponent>, _dataService: QueryService, toastr: ToastrService);
|
|
34
|
+
do_add(): void;
|
|
35
|
+
do_rem(): void;
|
|
36
|
+
addTo(item: any): void;
|
|
37
|
+
removeTo(item: any): void;
|
|
38
|
+
getSelStr(): string;
|
|
39
|
+
getSelArr(): Array<any>;
|
|
40
|
+
ok(): void;
|
|
41
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ICellEditorAngularComp } from 'ag-grid-angular';
|
|
3
|
+
export declare class ApprovaGridComponent implements ICellEditorAngularComp, AfterViewInit {
|
|
4
|
+
private params;
|
|
5
|
+
private val_app;
|
|
6
|
+
container: any;
|
|
7
|
+
ok(): void;
|
|
8
|
+
ko(): void;
|
|
9
|
+
nd(): void;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
agInit(params: any): void;
|
|
12
|
+
getValue(): any;
|
|
13
|
+
isPopup(): boolean;
|
|
14
|
+
onKeyDown(event: any): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ICellEditorAngularComp } from 'ag-grid-angular';
|
|
3
|
+
import { UtilityService } from '../../services/utility.service';
|
|
4
|
+
export declare class DateComponent implements ICellEditorAngularComp, AfterViewInit {
|
|
5
|
+
private uti_s;
|
|
6
|
+
params: any;
|
|
7
|
+
date: Date;
|
|
8
|
+
date_zz: Date;
|
|
9
|
+
date_v: Date;
|
|
10
|
+
label: string;
|
|
11
|
+
container: any;
|
|
12
|
+
appdt: any;
|
|
13
|
+
constructor(uti_s: UtilityService);
|
|
14
|
+
setDt(): void;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
agInit(par: any): void;
|
|
17
|
+
getValue(): any;
|
|
18
|
+
isPopup(): boolean;
|
|
19
|
+
onKeyDown(event: any): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { MyDatePicker } from 'mydatepicker';
|
|
2
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import { IMyDpOptions } from "mydatepicker";
|
|
4
|
+
export declare class DtPick implements OnInit {
|
|
5
|
+
label: string;
|
|
6
|
+
required: boolean;
|
|
7
|
+
show_buttons: boolean;
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
min_date: Date;
|
|
10
|
+
max_date: Date;
|
|
11
|
+
change: EventEmitter<any>;
|
|
12
|
+
dtc: MyDatePicker;
|
|
13
|
+
myDatePickerOptions: IMyDpOptions;
|
|
14
|
+
constructor();
|
|
15
|
+
date_sel: any;
|
|
16
|
+
setFocus(): void;
|
|
17
|
+
dt_ch(): void;
|
|
18
|
+
add_year(): void;
|
|
19
|
+
ini_year(): void;
|
|
20
|
+
fin_year(): void;
|
|
21
|
+
getValue(): any;
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
getCopyOfOptions(): IMyDpOptions;
|
|
24
|
+
setLimits(): void;
|
|
25
|
+
setToday(): void;
|
|
26
|
+
setValue(d: Date): void;
|
|
27
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ICellEditorAngularComp } from 'ag-grid-angular';
|
|
3
|
+
import { UtilityService } from '../../services/utility.service';
|
|
4
|
+
export declare class NumericEditorComponent implements ICellEditorAngularComp, AfterViewInit {
|
|
5
|
+
private uti_s;
|
|
6
|
+
private params;
|
|
7
|
+
value: string;
|
|
8
|
+
private cancelBeforeStart;
|
|
9
|
+
input: any;
|
|
10
|
+
constructor(uti_s: UtilityService);
|
|
11
|
+
agInit(params: any): void;
|
|
12
|
+
getValue(): any;
|
|
13
|
+
isCancelBeforeStart(): boolean;
|
|
14
|
+
isCancelAfterEnd(): boolean;
|
|
15
|
+
onKeyDown(event: any): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
private getCharCodeFromEvent(event);
|
|
18
|
+
private isCharNumeric(charStr);
|
|
19
|
+
private isKeyPressedNumeric(event);
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { QueryService } from '../../services/doquery.service';
|
|
2
|
+
import { AfterViewInit } from '@angular/core';
|
|
3
|
+
import { ICellEditorAngularComp } from 'ag-grid-angular';
|
|
4
|
+
export declare class ComboBoxEditor implements ICellEditorAngularComp, AfterViewInit {
|
|
5
|
+
private _dataService;
|
|
6
|
+
params: any;
|
|
7
|
+
selval: String;
|
|
8
|
+
date_zz: String;
|
|
9
|
+
date_v: String;
|
|
10
|
+
sql: String;
|
|
11
|
+
label: string;
|
|
12
|
+
container: any;
|
|
13
|
+
appdt: any;
|
|
14
|
+
constructor(_dataService: QueryService);
|
|
15
|
+
setDt(): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
myData: any[];
|
|
18
|
+
agInit(params: any): void;
|
|
19
|
+
getValue(): any;
|
|
20
|
+
isPopup(): boolean;
|
|
21
|
+
onKeyDown(event: any): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ICellEditorAngularComp } from 'ag-grid-angular';
|
|
3
|
+
export declare class TextAreaEditor implements ICellEditorAngularComp, AfterViewInit {
|
|
4
|
+
params: any;
|
|
5
|
+
text: String;
|
|
6
|
+
date_zz: String;
|
|
7
|
+
date_v: String;
|
|
8
|
+
label: string;
|
|
9
|
+
container: any;
|
|
10
|
+
appdt: any;
|
|
11
|
+
setDt(): void;
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
agInit(params: any): void;
|
|
14
|
+
getValue(): any;
|
|
15
|
+
isPopup(): boolean;
|
|
16
|
+
onKeyDown(event: any): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
+
export declare class EscapeHtmlPipe implements PipeTransform {
|
|
4
|
+
private sanitizer;
|
|
5
|
+
constructor(sanitizer: DomSanitizer);
|
|
6
|
+
transform(content: any): any;
|
|
7
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AppService } from '../services/app.service';
|
|
2
|
+
import { QParam } from '../models/QParam';
|
|
3
|
+
export declare class FHUtility {
|
|
4
|
+
private app_s;
|
|
5
|
+
constructor(app_s: AppService);
|
|
6
|
+
newGuid(): string;
|
|
7
|
+
array_move(arr: any, old_index: any, new_index: any): any;
|
|
8
|
+
format_currency(value: number | string, fractionSize?: number, DECIMAL_SEPARATOR?: string, THOUSANDS_SEPARATOR?: string, PADDING?: string): string;
|
|
9
|
+
number2bool(n: number): boolean;
|
|
10
|
+
bool2number(n: boolean): number;
|
|
11
|
+
round(value: any, exp: any): number;
|
|
12
|
+
string2date(dt: string, f: number): Date;
|
|
13
|
+
sql_number(a: number): string;
|
|
14
|
+
compare_date(dt: Date, dt1: Date): boolean;
|
|
15
|
+
sql_date(dt: Date): string;
|
|
16
|
+
DateAdd(timeU: string, byMany: number, dateObj: Date): any;
|
|
17
|
+
date2String(dt: Date): string;
|
|
18
|
+
datetime2String(dt: Date): string;
|
|
19
|
+
formatDecimal(value: number | string, fractionSize?: number): string;
|
|
20
|
+
format2cifre(n: number): String;
|
|
21
|
+
datetime2GanttString(dt: Date): string;
|
|
22
|
+
check2int(b: boolean): number;
|
|
23
|
+
setSelectionRange(input: any, selectionStart: any, selectionEnd: any): void;
|
|
24
|
+
print_param(p: QParam): void;
|
|
25
|
+
sql_date_time(dt: Date): string;
|
|
26
|
+
descriMese(date: Date): string;
|
|
27
|
+
addDays(date: Date, n: number): Date;
|
|
28
|
+
toMoney(n: any, decimals: any, decimal_sep: any, thousands_sep: any): string;
|
|
29
|
+
format_euro(v: number): string;
|
|
30
|
+
pad(num: any, totalStringSize: any): string;
|
|
31
|
+
encrypt(s: any): string;
|
|
32
|
+
decrypt(s: any): string;
|
|
33
|
+
string_sqlvalue(s: string): string;
|
|
34
|
+
hasRole(s: string, b_check_admin?: Boolean): Boolean;
|
|
35
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
export declare class WinAskNumberComponent implements OnInit {
|
|
5
|
+
private dialogRef;
|
|
6
|
+
private toastr;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
title: string;
|
|
9
|
+
label: string;
|
|
10
|
+
valore: string;
|
|
11
|
+
valore_min: number;
|
|
12
|
+
valore_max: number;
|
|
13
|
+
constructor(dialogRef: MatDialogRef<WinAskNumberComponent>, toastr: ToastrService);
|
|
14
|
+
show(): void;
|
|
15
|
+
hide(): void;
|
|
16
|
+
do_check(): void;
|
|
17
|
+
chiudi(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
export declare class WinAskTextComponent implements OnInit {
|
|
5
|
+
private dialogRef;
|
|
6
|
+
private toastr;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
title: string;
|
|
9
|
+
label: string;
|
|
10
|
+
valore: string;
|
|
11
|
+
min_chars: number;
|
|
12
|
+
max_chars: number;
|
|
13
|
+
constructor(dialogRef: MatDialogRef<WinAskTextComponent>, toastr: ToastrService);
|
|
14
|
+
show(): void;
|
|
15
|
+
hide(): void;
|
|
16
|
+
do_check(): void;
|
|
17
|
+
chiudi(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
export declare class WinAskTextBigComponent implements OnInit {
|
|
5
|
+
private dialogRef;
|
|
6
|
+
private toastr;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
title: string;
|
|
9
|
+
label: string;
|
|
10
|
+
valore: string;
|
|
11
|
+
min_chars: number;
|
|
12
|
+
constructor(dialogRef: MatDialogRef<WinAskTextBigComponent>, toastr: ToastrService);
|
|
13
|
+
show(): void;
|
|
14
|
+
hide(): void;
|
|
15
|
+
do_check(): void;
|
|
16
|
+
chiudi(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FHComboboxComponent } from './fhcombobox';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { MatDialogRef } from '@angular/material';
|
|
4
|
+
import { ToastrService } from 'ngx-toastr';
|
|
5
|
+
import { AppService } from "../services/app.service";
|
|
6
|
+
export declare class FHWinComboSelect implements OnInit {
|
|
7
|
+
dialogRef: MatDialogRef<FHWinComboSelect>;
|
|
8
|
+
private toastr;
|
|
9
|
+
private m_appService;
|
|
10
|
+
label: string;
|
|
11
|
+
cmb_sel: FHComboboxComponent;
|
|
12
|
+
constructor(dialogRef: MatDialogRef<FHWinComboSelect>, toastr: ToastrService, m_appService: AppService);
|
|
13
|
+
set_selection(lab: string, myD: Array<any>): void;
|
|
14
|
+
ok(): void;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { AppService } from "../services/app.service";
|
|
5
|
+
import { FHListComponent } from './fhlist';
|
|
6
|
+
export declare class FHListPick implements OnInit {
|
|
7
|
+
dialogRef: MatDialogRef<FHListPick>;
|
|
8
|
+
private toastr;
|
|
9
|
+
private m_appService;
|
|
10
|
+
label: string;
|
|
11
|
+
sql: string;
|
|
12
|
+
types: string[];
|
|
13
|
+
values: string[];
|
|
14
|
+
cmb_sel: FHListComponent;
|
|
15
|
+
constructor(dialogRef: MatDialogRef<FHListPick>, toastr: ToastrService, m_appService: AppService);
|
|
16
|
+
doFill(): void;
|
|
17
|
+
ok(): void;
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { AppService } from "../services/app.service";
|
|
5
|
+
import { AgmInfoWindow } from '@agm/core';
|
|
6
|
+
export declare class win_mappa implements OnInit {
|
|
7
|
+
dialogRef: MatDialogRef<win_mappa>;
|
|
8
|
+
private toastr;
|
|
9
|
+
private m_appService;
|
|
10
|
+
title: string;
|
|
11
|
+
sql_dett: string;
|
|
12
|
+
descri: string;
|
|
13
|
+
lat: number;
|
|
14
|
+
long: number;
|
|
15
|
+
zoom: number;
|
|
16
|
+
info_w: AgmInfoWindow;
|
|
17
|
+
infoWindowOpened: any;
|
|
18
|
+
markers: any[];
|
|
19
|
+
apri_Scheda(s_id: string): void;
|
|
20
|
+
clickedMarker(label: string, infoWindow: any, index: number): void;
|
|
21
|
+
constructor(dialogRef: MatDialogRef<win_mappa>, toastr: ToastrService, m_appService: AppService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
export declare class WinOutputComponent implements OnInit {
|
|
5
|
+
private dialogRef;
|
|
6
|
+
private toastr;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
title: string;
|
|
9
|
+
label: string;
|
|
10
|
+
valore: string;
|
|
11
|
+
min_chars: number;
|
|
12
|
+
max_chars: number;
|
|
13
|
+
constructor(dialogRef: MatDialogRef<WinOutputComponent>, toastr: ToastrService);
|
|
14
|
+
show(): void;
|
|
15
|
+
hide(): void;
|
|
16
|
+
chiudi(): void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { AppService } from "../services/app.service";
|
|
5
|
+
import { UtilityService } from '../services/utility.service';
|
|
6
|
+
export declare class win_time_slider implements OnInit {
|
|
7
|
+
dialogRef: MatDialogRef<win_time_slider>;
|
|
8
|
+
private toastr;
|
|
9
|
+
private m_appService;
|
|
10
|
+
private uti_s;
|
|
11
|
+
res: string;
|
|
12
|
+
h: number;
|
|
13
|
+
m: number;
|
|
14
|
+
constructor(dialogRef: MatDialogRef<win_time_slider>, toastr: ToastrService, m_appService: AppService, uti_s: UtilityService);
|
|
15
|
+
change(): void;
|
|
16
|
+
ok(): void;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material';
|
|
3
|
+
import { ToastrService } from 'ngx-toastr';
|
|
4
|
+
import { AppService } from "../services/app.service";
|
|
5
|
+
import { FHListComponent } from './fhlist';
|
|
6
|
+
export declare class WinWait implements OnInit {
|
|
7
|
+
dialogRef: MatDialogRef<WinWait>;
|
|
8
|
+
private toastr;
|
|
9
|
+
private m_appService;
|
|
10
|
+
label: string;
|
|
11
|
+
progress_p: number;
|
|
12
|
+
cmb_sel: FHListComponent;
|
|
13
|
+
constructor(dialogRef: MatDialogRef<WinWait>, toastr: ToastrService, m_appService: AppService);
|
|
14
|
+
update_progess(p: any): void;
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal State
|
|
3
|
+
*
|
|
4
|
+
* Declare your custom state key any type here.
|
|
5
|
+
*/
|
|
6
|
+
export declare type InternalStateType = {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
appName: string;
|
|
9
|
+
darkMode: boolean;
|
|
10
|
+
defaultLang: string;
|
|
11
|
+
topnavTitle: string;
|
|
12
|
+
sidenavOpen: boolean;
|
|
13
|
+
sidenavMode: string;
|
|
14
|
+
sidenavCollapse: boolean;
|
|
15
|
+
pageFullscreen: boolean;
|
|
16
|
+
pageFooter: boolean;
|
|
17
|
+
initial: boolean;
|
|
18
|
+
wkf_obj: any;
|
|
19
|
+
wkf_doc_info: any;
|
|
20
|
+
grid_obj: any;
|
|
21
|
+
appo_dialog: any;
|
|
22
|
+
m_notif: any;
|
|
23
|
+
style_search_home: string;
|
|
24
|
+
mobile: boolean;
|
|
25
|
+
body_height: string;
|
|
26
|
+
body_height1: string;
|
|
27
|
+
body_height2: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* App service
|
|
31
|
+
*/
|
|
32
|
+
export declare class AppService {
|
|
33
|
+
cloneState(): InternalStateType;
|
|
34
|
+
reloadState(state: InternalStateType): void;
|
|
35
|
+
getState(prop?: any): InternalStateType;
|
|
36
|
+
setState(prop: string, value: any): any;
|
|
37
|
+
API_ENDPOINT: string;
|
|
38
|
+
PORTAL_TITLE: string;
|
|
39
|
+
COMPANY_KEY: string;
|
|
40
|
+
COMPANY_SITE_ROOT: string;
|
|
41
|
+
SQL_SERVER_LANG: string;
|
|
42
|
+
LOCAL_PATH: string;
|
|
43
|
+
LOGIN_EXT: number;
|
|
44
|
+
LDAP_AUTH: number;
|
|
45
|
+
CHANGE_PASSWORD: number;
|
|
46
|
+
COLOR_SEARCH: string;
|
|
47
|
+
LOGOUT_URL_EXT: string;
|
|
48
|
+
GRID_ENDPOINT: string;
|
|
49
|
+
UPLOAD_ENDPOINT: string;
|
|
50
|
+
LOGIN_ENDPOINT: string;
|
|
51
|
+
APPMAKER_ENDPOINT: string;
|
|
52
|
+
FILE_ENDPOINT: string;
|
|
53
|
+
ODBC_ENDPOINT: string;
|
|
54
|
+
QUERY_ENDPOINT: string;
|
|
55
|
+
WKF_ENDPOINT: string;
|
|
56
|
+
PASSRECOVERY_ENDPOINT: string;
|
|
57
|
+
private state;
|
|
58
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import 'rxjs/Rx';
|
|
2
|
+
import { Http, Headers } from '@angular/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { AppService } from './app.service';
|
|
5
|
+
import { QParam } from '../models/QParam';
|
|
6
|
+
import { QResult } from '../models/QResult';
|
|
7
|
+
export declare class AppMakerService {
|
|
8
|
+
private http;
|
|
9
|
+
private app_s;
|
|
10
|
+
headers: Headers;
|
|
11
|
+
constructor(http: Http, app_s: AppService);
|
|
12
|
+
url: string;
|
|
13
|
+
doQuery(queryp: QParam): Observable<QResult>;
|
|
14
|
+
private extractData(res);
|
|
15
|
+
private handleError(error);
|
|
16
|
+
downloadfile(runname: string): Observable<Blob>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Observable } from 'rxjs/Observable';
|
|
2
|
+
import 'rxjs/Rx';
|
|
3
|
+
import { Http, Headers } from '@angular/http';
|
|
4
|
+
import { AppService } from './app.service';
|
|
5
|
+
import { FSInput } from '../models/FSInput';
|
|
6
|
+
import { FSResult } from '../models/FSResult';
|
|
7
|
+
export declare class FileService {
|
|
8
|
+
private http;
|
|
9
|
+
private app_s;
|
|
10
|
+
headers: Headers;
|
|
11
|
+
constructor(http: Http, app_s: AppService);
|
|
12
|
+
private url;
|
|
13
|
+
doQuery(queryp: FSInput): Observable<FSResult>;
|
|
14
|
+
private extractData(res);
|
|
15
|
+
private handleError(error);
|
|
16
|
+
downloadfile(runname: string): Observable<Blob>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Observable } from 'rxjs/Observable';
|
|
2
|
+
import 'rxjs/Rx';
|
|
3
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
4
|
+
import { ToastrService } from 'ngx-toastr';
|
|
5
|
+
import { AppService } from './app.service';
|
|
6
|
+
import { UtilityService } from './utility.service';
|
|
7
|
+
import { QResult } from '../models/QResult';
|
|
8
|
+
import { QParam } from '../models/QParam';
|
|
9
|
+
export declare class QueryService {
|
|
10
|
+
private http;
|
|
11
|
+
private toastr;
|
|
12
|
+
private app_s;
|
|
13
|
+
private uti_s;
|
|
14
|
+
headers: HttpHeaders;
|
|
15
|
+
url: string;
|
|
16
|
+
constructor(http: HttpClient, toastr: ToastrService, app_s: AppService, uti_s: UtilityService);
|
|
17
|
+
init_header(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Perform a query on the server
|
|
20
|
+
*
|
|
21
|
+
* @param queryp the query object
|
|
22
|
+
* @param displayError whether to show a toaster with the error message in the UI
|
|
23
|
+
* @return Observable with result, throws an error if response invalid or not ok
|
|
24
|
+
*/
|
|
25
|
+
doQuery(queryp: QParam, displayError?: boolean): Observable<QResult>;
|
|
26
|
+
downloadfile(runname: string): Observable<Blob>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Observable } from 'rxjs/Observable';
|
|
2
|
+
import 'rxjs/Rx';
|
|
3
|
+
import { Http, Headers } from '@angular/http';
|
|
4
|
+
import { AppService } from './app.service';
|
|
5
|
+
import { QParam } from '../models/QParam';
|
|
6
|
+
import { QResult } from '../models/QResult';
|
|
7
|
+
export declare class OdbcService {
|
|
8
|
+
private http;
|
|
9
|
+
private app_s;
|
|
10
|
+
headers: Headers;
|
|
11
|
+
constructor(http: Http, app_s: AppService);
|
|
12
|
+
url: string;
|
|
13
|
+
doQuery(queryp: QParam): Observable<QResult>;
|
|
14
|
+
private extractData(res);
|
|
15
|
+
private handleError(error);
|
|
16
|
+
downloadfile(runname: string): Observable<Blob>;
|
|
17
|
+
}
|