@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.
Files changed (238) hide show
  1. package/bundles/fluxhub-fluxhub-lib.umd.js +13749 -0
  2. package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -0
  3. package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -0
  4. package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -0
  5. package/esm2015/fluxhub-fluxhub-lib.js +14 -0
  6. package/esm2015/lib/auth_guard.js +142 -0
  7. package/esm2015/lib/controls/fhautocomplete.js +410 -0
  8. package/esm2015/lib/controls/fhcombobox.js +385 -0
  9. package/esm2015/lib/controls/fhconfirm.js +74 -0
  10. package/esm2015/lib/controls/fhcurrencyfield.js +206 -0
  11. package/esm2015/lib/controls/fhcurrencyformatter.js +59 -0
  12. package/esm2015/lib/controls/fhcurrencypipe.js +53 -0
  13. package/esm2015/lib/controls/fhdatepicker.js +217 -0
  14. package/esm2015/lib/controls/fhgrid.js +1524 -0
  15. package/esm2015/lib/controls/fhgrid_win_help.js +79 -0
  16. package/esm2015/lib/controls/fhlist.js +363 -0
  17. package/esm2015/lib/controls/fhlogpanel.js +29 -0
  18. package/esm2015/lib/controls/fhmdreader.js +51 -0
  19. package/esm2015/lib/controls/fhnumeric.js +216 -0
  20. package/esm2015/lib/controls/fhreplacelinebreak.js +21 -0
  21. package/esm2015/lib/controls/fhrichtext.js +151 -0
  22. package/esm2015/lib/controls/fhtimepicker.js +332 -0
  23. package/esm2015/lib/controls/fhupload.js +297 -0
  24. package/esm2015/lib/controls/fhuploadpanel.js +249 -0
  25. package/esm2015/lib/controls/fhuserfield.js +186 -0
  26. package/esm2015/lib/controls/fhuserpicker.js +329 -0
  27. package/esm2015/lib/controls/fhwinpicklist.js +380 -0
  28. package/esm2015/lib/controls/grid_editors/approvabuttons.js +121 -0
  29. package/esm2015/lib/controls/grid_editors/currency.component.js +30 -0
  30. package/esm2015/lib/controls/grid_editors/date-component.component.js +162 -0
  31. package/esm2015/lib/controls/grid_editors/dt.js +26 -0
  32. package/esm2015/lib/controls/grid_editors/dt_pick.js +186 -0
  33. package/esm2015/lib/controls/grid_editors/numeric-editor.component.js +151 -0
  34. package/esm2015/lib/controls/grid_editors/select-editor.component.js +185 -0
  35. package/esm2015/lib/controls/grid_editors/textarea-editor.component.js +147 -0
  36. package/esm2015/lib/controls/material.module.js +50 -0
  37. package/esm2015/lib/controls/onlynumber.directive.js +69 -0
  38. package/esm2015/lib/controls/pipes/keep-html.pipe.js +34 -0
  39. package/esm2015/lib/controls/utility.js +626 -0
  40. package/esm2015/lib/controls/win_ask_number.js +97 -0
  41. package/esm2015/lib/controls/win_ask_text.js +102 -0
  42. package/esm2015/lib/controls/win_ask_textbig.js +99 -0
  43. package/esm2015/lib/controls/win_combo_select.js +92 -0
  44. package/esm2015/lib/controls/win_list_pick.js +99 -0
  45. package/esm2015/lib/controls/win_mappa.js +145 -0
  46. package/esm2015/lib/controls/win_output.js +92 -0
  47. package/esm2015/lib/controls/win_time_slider.js +123 -0
  48. package/esm2015/lib/controls/win_wait.js +83 -0
  49. package/esm2015/lib/fluxhub-lib.module.js +121 -0
  50. package/esm2015/lib/models/FSInput.js +25 -0
  51. package/esm2015/lib/models/FSResult.js +23 -0
  52. package/esm2015/lib/models/QGParam.js +34 -0
  53. package/esm2015/lib/models/QGResult.js +22 -0
  54. package/esm2015/lib/models/QParam.js +27 -0
  55. package/esm2015/lib/models/QResult.js +23 -0
  56. package/esm2015/lib/services/app.service.js +135 -0
  57. package/esm2015/lib/services/app_maker.service.js +93 -0
  58. package/esm2015/lib/services/dofile.service.js +96 -0
  59. package/esm2015/lib/services/doquery.service.js +148 -0
  60. package/esm2015/lib/services/doquery_odbc.service.js +96 -0
  61. package/esm2015/lib/services/dowkf.service.js +96 -0
  62. package/esm2015/lib/services/grid.service.js +96 -0
  63. package/esm2015/lib/services/login.service.js +310 -0
  64. package/esm2015/lib/services/utility.service.js +640 -0
  65. package/esm2015/lib/wkf_engine/win_assegna.js +140 -0
  66. package/esm2015/lib/wkf_engine/win_commenti.js +345 -0
  67. package/esm2015/lib/wkf_engine/win_commento_sel_notif.js +122 -0
  68. package/esm2015/lib/wkf_engine/win_conferma.js +129 -0
  69. package/esm2015/lib/wkf_engine/win_info_doc.js +128 -0
  70. package/esm2015/lib/wkf_engine/win_log.js +348 -0
  71. package/esm2015/lib/wkf_engine/win_recupera.js +133 -0
  72. package/esm2015/lib/wkf_engine/win_riassegna_select_level.js +149 -0
  73. package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +132 -0
  74. package/esm2015/lib/wkf_engine/win_salva_annulla.js +67 -0
  75. package/esm2015/lib/wkf_engine/win_select_canale.js +94 -0
  76. package/esm2015/lib/wkf_engine/win_select_level.js +169 -0
  77. package/esm2015/lib/wkf_engine/win_uploads.js +322 -0
  78. package/esm2015/lib/wkf_engine/wkfapp.js +841 -0
  79. package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +1759 -0
  80. package/esm2015/public_api.js +79 -0
  81. package/esm5/fluxhub-fluxhub-lib.js +14 -0
  82. package/esm5/lib/auth_guard.js +140 -0
  83. package/esm5/lib/controls/fhautocomplete.js +451 -0
  84. package/esm5/lib/controls/fhcombobox.js +433 -0
  85. package/esm5/lib/controls/fhconfirm.js +75 -0
  86. package/esm5/lib/controls/fhcurrencyfield.js +244 -0
  87. package/esm5/lib/controls/fhcurrencyformatter.js +68 -0
  88. package/esm5/lib/controls/fhcurrencypipe.js +68 -0
  89. package/esm5/lib/controls/fhdatepicker.js +245 -0
  90. package/esm5/lib/controls/fhgrid.js +1698 -0
  91. package/esm5/lib/controls/fhgrid_win_help.js +50 -0
  92. package/esm5/lib/controls/fhlist.js +395 -0
  93. package/esm5/lib/controls/fhlogpanel.js +16 -0
  94. package/esm5/lib/controls/fhmdreader.js +45 -0
  95. package/esm5/lib/controls/fhnumeric.js +244 -0
  96. package/esm5/lib/controls/fhreplacelinebreak.js +29 -0
  97. package/esm5/lib/controls/fhrichtext.js +163 -0
  98. package/esm5/lib/controls/fhtimepicker.js +381 -0
  99. package/esm5/lib/controls/fhupload.js +304 -0
  100. package/esm5/lib/controls/fhuploadpanel.js +221 -0
  101. package/esm5/lib/controls/fhuserfield.js +197 -0
  102. package/esm5/lib/controls/fhuserpicker.js +264 -0
  103. package/esm5/lib/controls/fhwinpicklist.js +333 -0
  104. package/esm5/lib/controls/grid_editors/approvabuttons.js +120 -0
  105. package/esm5/lib/controls/grid_editors/currency.component.js +41 -0
  106. package/esm5/lib/controls/grid_editors/date-component.component.js +147 -0
  107. package/esm5/lib/controls/grid_editors/dt.js +23 -0
  108. package/esm5/lib/controls/grid_editors/dt_pick.js +204 -0
  109. package/esm5/lib/controls/grid_editors/numeric-editor.component.js +186 -0
  110. package/esm5/lib/controls/grid_editors/select-editor.component.js +169 -0
  111. package/esm5/lib/controls/grid_editors/textarea-editor.component.js +135 -0
  112. package/esm5/lib/controls/material.module.js +54 -0
  113. package/esm5/lib/controls/onlynumber.directive.js +73 -0
  114. package/esm5/lib/controls/pipes/keep-html.pipe.js +37 -0
  115. package/esm5/lib/controls/utility.js +767 -0
  116. package/esm5/lib/controls/win_ask_number.js +97 -0
  117. package/esm5/lib/controls/win_ask_text.js +102 -0
  118. package/esm5/lib/controls/win_ask_textbig.js +99 -0
  119. package/esm5/lib/controls/win_combo_select.js +84 -0
  120. package/esm5/lib/controls/win_list_pick.js +88 -0
  121. package/esm5/lib/controls/win_mappa.js +119 -0
  122. package/esm5/lib/controls/win_output.js +89 -0
  123. package/esm5/lib/controls/win_time_slider.js +96 -0
  124. package/esm5/lib/controls/win_wait.js +75 -0
  125. package/esm5/lib/fluxhub-lib.module.js +128 -0
  126. package/esm5/lib/models/FSInput.js +27 -0
  127. package/esm5/lib/models/FSResult.js +25 -0
  128. package/esm5/lib/models/QGParam.js +36 -0
  129. package/esm5/lib/models/QGResult.js +26 -0
  130. package/esm5/lib/models/QParam.js +29 -0
  131. package/esm5/lib/models/QResult.js +25 -0
  132. package/esm5/lib/services/app.service.js +153 -0
  133. package/esm5/lib/services/app_maker.service.js +107 -0
  134. package/esm5/lib/services/dofile.service.js +110 -0
  135. package/esm5/lib/services/doquery.service.js +167 -0
  136. package/esm5/lib/services/doquery_odbc.service.js +110 -0
  137. package/esm5/lib/services/dowkf.service.js +110 -0
  138. package/esm5/lib/services/grid.service.js +110 -0
  139. package/esm5/lib/services/login.service.js +346 -0
  140. package/esm5/lib/services/utility.service.js +781 -0
  141. package/esm5/lib/wkf_engine/win_assegna.js +121 -0
  142. package/esm5/lib/wkf_engine/win_commenti.js +333 -0
  143. package/esm5/lib/wkf_engine/win_commento_sel_notif.js +109 -0
  144. package/esm5/lib/wkf_engine/win_conferma.js +107 -0
  145. package/esm5/lib/wkf_engine/win_info_doc.js +65 -0
  146. package/esm5/lib/wkf_engine/win_log.js +332 -0
  147. package/esm5/lib/wkf_engine/win_recupera.js +123 -0
  148. package/esm5/lib/wkf_engine/win_riassegna_select_level.js +141 -0
  149. package/esm5/lib/wkf_engine/win_riassegna_select_user.js +113 -0
  150. package/esm5/lib/wkf_engine/win_salva_annulla.js +64 -0
  151. package/esm5/lib/wkf_engine/win_select_canale.js +78 -0
  152. package/esm5/lib/wkf_engine/win_select_level.js +163 -0
  153. package/esm5/lib/wkf_engine/win_uploads.js +288 -0
  154. package/esm5/lib/wkf_engine/wkfapp.js +909 -0
  155. package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +1930 -0
  156. package/esm5/public_api.js +79 -0
  157. package/fesm2015/fluxhub-fluxhub-lib.js +12868 -0
  158. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -0
  159. package/fesm5/fluxhub-fluxhub-lib.js +13485 -0
  160. package/fesm5/fluxhub-fluxhub-lib.js.map +1 -0
  161. package/fluxhub-fluxhub-lib.d.ts +8 -0
  162. package/fluxhub-fluxhub-lib.metadata.json +1 -0
  163. package/lib/auth_guard.d.ts +22 -0
  164. package/lib/controls/fhautocomplete.d.ts +48 -0
  165. package/lib/controls/fhcombobox.d.ts +42 -0
  166. package/lib/controls/fhconfirm.d.ts +16 -0
  167. package/lib/controls/fhcurrencyfield.d.ts +30 -0
  168. package/lib/controls/fhcurrencyformatter.d.ts +11 -0
  169. package/lib/controls/fhcurrencypipe.d.ts +8 -0
  170. package/lib/controls/fhdatepicker.d.ts +32 -0
  171. package/lib/controls/fhgrid.d.ts +150 -0
  172. package/lib/controls/fhgrid_win_help.d.ts +12 -0
  173. package/lib/controls/fhlist.d.ts +36 -0
  174. package/lib/controls/fhlogpanel.d.ts +2 -0
  175. package/lib/controls/fhmdreader.d.ts +10 -0
  176. package/lib/controls/fhnumeric.d.ts +32 -0
  177. package/lib/controls/fhreplacelinebreak.d.ts +4 -0
  178. package/lib/controls/fhrichtext.d.ts +23 -0
  179. package/lib/controls/fhtimepicker.d.ts +48 -0
  180. package/lib/controls/fhupload.d.ts +44 -0
  181. package/lib/controls/fhuploadpanel.d.ts +31 -0
  182. package/lib/controls/fhuserfield.d.ts +26 -0
  183. package/lib/controls/fhuserpicker.d.ts +35 -0
  184. package/lib/controls/fhwinpicklist.d.ts +41 -0
  185. package/lib/controls/grid_editors/approvabuttons.d.ts +15 -0
  186. package/lib/controls/grid_editors/currency.component.d.ts +6 -0
  187. package/lib/controls/grid_editors/date-component.component.d.ts +20 -0
  188. package/lib/controls/grid_editors/dt.d.ts +7 -0
  189. package/lib/controls/grid_editors/dt_pick.d.ts +27 -0
  190. package/lib/controls/grid_editors/numeric-editor.component.d.ts +20 -0
  191. package/lib/controls/grid_editors/select-editor.component.d.ts +22 -0
  192. package/lib/controls/grid_editors/textarea-editor.component.d.ts +17 -0
  193. package/lib/controls/material.module.d.ts +2 -0
  194. package/lib/controls/onlynumber.directive.d.ts +6 -0
  195. package/lib/controls/pipes/keep-html.pipe.d.ts +7 -0
  196. package/lib/controls/utility.d.ts +35 -0
  197. package/lib/controls/win_ask_number.d.ts +18 -0
  198. package/lib/controls/win_ask_text.d.ts +18 -0
  199. package/lib/controls/win_ask_textbig.d.ts +17 -0
  200. package/lib/controls/win_combo_select.d.ts +16 -0
  201. package/lib/controls/win_list_pick.d.ts +19 -0
  202. package/lib/controls/win_mappa.d.ts +23 -0
  203. package/lib/controls/win_output.d.ts +17 -0
  204. package/lib/controls/win_time_slider.d.ts +18 -0
  205. package/lib/controls/win_wait.d.ts +16 -0
  206. package/lib/fluxhub-lib.module.d.ts +4 -0
  207. package/lib/models/FSInput.d.ts +5 -0
  208. package/lib/models/FSResult.d.ts +5 -0
  209. package/lib/models/QGParam.d.ts +10 -0
  210. package/lib/models/QGResult.d.ts +6 -0
  211. package/lib/models/QParam.d.ts +6 -0
  212. package/lib/models/QResult.d.ts +5 -0
  213. package/lib/services/app.service.d.ts +58 -0
  214. package/lib/services/app_maker.service.d.ts +17 -0
  215. package/lib/services/dofile.service.d.ts +17 -0
  216. package/lib/services/doquery.service.d.ts +27 -0
  217. package/lib/services/doquery_odbc.service.d.ts +17 -0
  218. package/lib/services/dowkf.service.d.ts +17 -0
  219. package/lib/services/grid.service.d.ts +17 -0
  220. package/lib/services/login.service.d.ts +33 -0
  221. package/lib/services/utility.service.d.ts +35 -0
  222. package/lib/wkf_engine/win_assegna.d.ts +23 -0
  223. package/lib/wkf_engine/win_commenti.d.ts +35 -0
  224. package/lib/wkf_engine/win_commento_sel_notif.d.ts +19 -0
  225. package/lib/wkf_engine/win_conferma.d.ts +22 -0
  226. package/lib/wkf_engine/win_info_doc.d.ts +17 -0
  227. package/lib/wkf_engine/win_log.d.ts +35 -0
  228. package/lib/wkf_engine/win_recupera.d.ts +18 -0
  229. package/lib/wkf_engine/win_riassegna_select_level.d.ts +20 -0
  230. package/lib/wkf_engine/win_riassegna_select_user.d.ts +23 -0
  231. package/lib/wkf_engine/win_salva_annulla.d.ts +13 -0
  232. package/lib/wkf_engine/win_select_canale.d.ts +16 -0
  233. package/lib/wkf_engine/win_select_level.d.ts +19 -0
  234. package/lib/wkf_engine/win_uploads.d.ts +40 -0
  235. package/lib/wkf_engine/wkfapp.d.ts +64 -0
  236. package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +141 -0
  237. package/package.json +85 -0
  238. package/public_api.d.ts +70 -0
@@ -0,0 +1,22 @@
1
+ import { CanActivate, Router, RouterStateSnapshot, ActivatedRouteSnapshot } from "@angular/router";
2
+ import { Observable } from "rxjs";
3
+ import { Http } from "@angular/http";
4
+ import { SlimLoadingBarService } from "ng2-slim-loading-bar";
5
+ import { ToastrService } from "ngx-toastr";
6
+ import { AuthenticationService } from "./services/login.service";
7
+ import { QueryService } from "./services/doquery.service";
8
+ import { AppService } from "./services/app.service";
9
+ export declare class FHGuard implements CanActivate {
10
+ private http;
11
+ auth: AuthenticationService;
12
+ toast: ToastrService;
13
+ querys: QueryService;
14
+ appService: AppService;
15
+ private slimLoadingBarService;
16
+ private app_s;
17
+ constructor(http: Http, auth: AuthenticationService, router: Router, toast: ToastrService, querys: QueryService, appService: AppService, slimLoadingBarService: SlimLoadingBarService, app_s: AppService);
18
+ url: string;
19
+ routingDestination: string;
20
+ arr_accessi: Array<any>;
21
+ canActivate(next: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean> | Promise<boolean> | boolean;
22
+ }
@@ -0,0 +1,48 @@
1
+ import { OnInit, ElementRef, EventEmitter } from '@angular/core';
2
+ import { QueryService } from '../services/doquery.service';
3
+ import { MatAutocomplete } from '@angular/material';
4
+ import { OdbcService } from '../services/doquery_odbc.service';
5
+ export declare class FHAutoCompleteComponent implements OnInit {
6
+ private _dataService;
7
+ private _dataService_odbc;
8
+ init_fill: boolean;
9
+ sql: string;
10
+ label: string;
11
+ types: string[];
12
+ values: string[];
13
+ db_type: string;
14
+ enabled: boolean;
15
+ only_from_list: boolean;
16
+ fillend: EventEmitter<any>;
17
+ selchange: EventEmitter<any>;
18
+ initend: EventEmitter<any>;
19
+ focusout: EventEmitter<any>;
20
+ sItem: string;
21
+ searchItemsFiltered: Array<any>;
22
+ searchp: ElementRef;
23
+ auto: MatAutocomplete;
24
+ fi_search(): void;
25
+ fo_search(): void;
26
+ onChange(e: any): void;
27
+ selectedSearchItem(event: any): void;
28
+ myData: any[];
29
+ is_loaded: boolean;
30
+ selval: any;
31
+ errorMsg: string;
32
+ valDef: string;
33
+ table_hidden: boolean;
34
+ myListFormatter(data: any): string;
35
+ constructor(_dataService: QueryService, _dataService_odbc: OdbcService);
36
+ resetValue(): void;
37
+ reset(): void;
38
+ fillCombo(): void;
39
+ resetD(o: any): void;
40
+ setByDescri(desc_val: string): void;
41
+ setByValue(desc_val: string): void;
42
+ getDescri(): string;
43
+ getData(campo: any): string;
44
+ getObj(): any;
45
+ getValue(): string;
46
+ set_options(s: String): void;
47
+ ngOnInit(): void;
48
+ }
@@ -0,0 +1,42 @@
1
+ import { OnInit, ElementRef, EventEmitter } from '@angular/core';
2
+ import { QueryService } from '../services/doquery.service';
3
+ import { OdbcService } from '../services/doquery_odbc.service';
4
+ export declare class FHComboboxComponent implements OnInit {
5
+ private _dataService;
6
+ private _dataService_odbc;
7
+ init_fill: boolean;
8
+ sql: string;
9
+ types: string[];
10
+ values: string[];
11
+ label: string;
12
+ width: string;
13
+ enabled: boolean;
14
+ sel_label: string;
15
+ smtr: ElementRef;
16
+ fillend: EventEmitter<any>;
17
+ selchange: EventEmitter<any>;
18
+ initend: EventEmitter<any>;
19
+ myData: any[];
20
+ valDef: string;
21
+ selval: string;
22
+ errorMsg: string;
23
+ db_type: string;
24
+ constructor(_dataService: QueryService, _dataService_odbc: OdbcService);
25
+ resetValue(): void;
26
+ focus(): void;
27
+ reset(): void;
28
+ fillCombo(): void;
29
+ resetD(o: any): void;
30
+ setByDescri(desc_val: string): void;
31
+ setByIndex(ind: number): void;
32
+ getObj(): any;
33
+ setByValue(desc_val: string): void;
34
+ getDescri(): string;
35
+ getValue(): string;
36
+ getData(campo: any): any;
37
+ add_option(o: any): void;
38
+ set_options(s: String): void;
39
+ ngAfterViewInit(): void;
40
+ ngOnInit(): void;
41
+ sc(): void;
42
+ }
@@ -0,0 +1,16 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material';
3
+ import { AppService } from '../services/app.service';
4
+ /**
5
+ * A Sample of how simple it is to create a new window, with its own injects.
6
+ */
7
+ export declare class FHConfirmComponent implements OnInit {
8
+ dialogRef: MatDialogRef<FHConfirmComponent>;
9
+ private app_s;
10
+ title: string;
11
+ msg: string;
12
+ constructor(dialogRef: MatDialogRef<FHConfirmComponent>, app_s: AppService);
13
+ setTitle(texto: any): void;
14
+ setMsg(texto: any): void;
15
+ ngOnInit(): void;
16
+ }
@@ -0,0 +1,30 @@
1
+ import { OnInit, 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 OnInit, ControlValueAccessor {
5
+ el: ElementRef;
6
+ decimal: number;
7
+ label: string;
8
+ required: boolean;
9
+ enabled: boolean;
10
+ hidden: boolean;
11
+ m_color: String;
12
+ change: EventEmitter<any>;
13
+ private innerValue;
14
+ getStyle(): String;
15
+ constructor();
16
+ set_backcolor(color: String): void;
17
+ chg(): void;
18
+ writeValue(value: any): void;
19
+ onChange: (_: any) => void;
20
+ onTouched: () => void;
21
+ registerOnChange(fn: (_: any) => void): void;
22
+ registerOnTouched(fn: () => void): void;
23
+ formattedAmount: string;
24
+ value: any;
25
+ transformAmount(element: any): void;
26
+ transform(value: number | string, fractionSize?: number): string;
27
+ removeCurrencyPipeFormat(element: any): void;
28
+ setFocus(): void;
29
+ ngOnInit(): void;
30
+ }
@@ -0,0 +1,11 @@
1
+ import { FHCurrencyPipe } from './fhcurrencypipe';
2
+ import { ElementRef, OnInit } from "@angular/core";
3
+ export declare class FHCurrencyFormatterDirective implements OnInit {
4
+ private elementRef;
5
+ private currencyPipe;
6
+ private el;
7
+ constructor(elementRef: ElementRef, currencyPipe: FHCurrencyPipe);
8
+ ngOnInit(): 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,32 @@
1
+ import { OnInit, EventEmitter, ElementRef } from '@angular/core';
2
+ import { DateAdapter } from '@angular/material';
3
+ import { UtilityService } from '../services/utility.service';
4
+ export declare class FHDatePickerComponent implements OnInit {
5
+ private dateAdapter;
6
+ private uti_s;
7
+ label: string;
8
+ required: boolean;
9
+ show_buttons: boolean;
10
+ enabled: boolean;
11
+ min_date: Date;
12
+ max_date: Date;
13
+ change: EventEmitter<any>;
14
+ pickerId: ElementRef;
15
+ dt_chg(s: String): void;
16
+ chxx(e: any): void;
17
+ ch(event: any): void;
18
+ constructor(dateAdapter: DateAdapter<Date>, uti_s: UtilityService);
19
+ v_view: string;
20
+ date_sel: Date;
21
+ v_date_sel: String;
22
+ setFocus(): void;
23
+ dt_ch(): void;
24
+ add_year(): void;
25
+ ini_year(): void;
26
+ fin_year(): void;
27
+ getValue(): Date;
28
+ ngOnInit(): void;
29
+ setLimits(): void;
30
+ setToday(): void;
31
+ setValue(d: any): void;
32
+ }
@@ -0,0 +1,150 @@
1
+ import { MatDialog, MatSlideToggle, MatDialogRef } from '@angular/material';
2
+ import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
3
+ import { AppService } from '../services/app.service';
4
+ import { EventEmitter, OnInit } from '@angular/core';
5
+ import { QueryService } from '../services/doquery.service';
6
+ import { GridService } from '../services/grid.service';
7
+ import { GridOptions } from 'ag-grid';
8
+ import "ag-grid-enterprise";
9
+ import { FHComboboxComponent } from './fhcombobox';
10
+ import { WinAskTextComponent } from './win_ask_text';
11
+ import { ToastrService } from 'ngx-toastr';
12
+ import { UtilityService } from '../services/utility.service';
13
+ export declare class FHGridComponent implements OnInit {
14
+ private _gridservice;
15
+ private _toast;
16
+ private _dataService;
17
+ m_appService: AppService;
18
+ private slimLoadingBarService;
19
+ private m_dialog;
20
+ private uti_s;
21
+ end_point: string;
22
+ tbl_name: string;
23
+ columnDefs: any[];
24
+ count_tbl_name: string;
25
+ num_per_pag: number;
26
+ grid_key: string;
27
+ sort_field: string;
28
+ fields: string;
29
+ filters: string;
30
+ auto_height: boolean;
31
+ abilita_export: boolean;
32
+ enabled_pag: boolean;
33
+ show_help: boolean;
34
+ show_num_elem: boolean;
35
+ system_dest: number;
36
+ header_h: number;
37
+ g_width: string;
38
+ g_height: string;
39
+ init_fill: boolean;
40
+ event: any;
41
+ label_elementi: string;
42
+ trova_label: string;
43
+ mantieni_impostazioni: string;
44
+ curr_filter: string;
45
+ show_buttons: boolean;
46
+ fill_end: EventEmitter<any>;
47
+ cell_edited: EventEmitter<any>;
48
+ clicked: EventEmitter<any>;
49
+ dclicked: EventEmitter<any>;
50
+ columndclicked: EventEmitter<any>;
51
+ cell_clicked: EventEmitter<any>;
52
+ b_ensure: boolean;
53
+ ensure_visible(): void;
54
+ gf: FHComboboxComponent;
55
+ toggle_mantieni: MatSlideToggle;
56
+ ck_flag(): void;
57
+ curr_config: string;
58
+ refresh_all_rows(): void;
59
+ ch_config(): void;
60
+ edit_config(): void;
61
+ getGridApi(): any;
62
+ win_opt: MatDialogRef<WinAskTextComponent>;
63
+ insert_config(): void;
64
+ init_end: EventEmitter<any>;
65
+ off_set: number;
66
+ first_ref: Boolean;
67
+ email: string;
68
+ b_restored: boolean;
69
+ str_curr_q_p: string;
70
+ dataSource: {
71
+ getRows: (params: any) => void;
72
+ };
73
+ getContextMenuItems(): (string | {
74
+ name: string;
75
+ action: () => void;
76
+ })[];
77
+ onBtExport(): void;
78
+ gridOptions: GridOptions;
79
+ setHeaderHeight(n: number): void;
80
+ getRowNodeId(item: any): any;
81
+ private showGrid;
82
+ rowData: any[];
83
+ private rowCount;
84
+ agGrid: any;
85
+ b_init: boolean;
86
+ b_init1: boolean;
87
+ errorMsg: string;
88
+ private innerWidth;
89
+ private size;
90
+ ngOnInit(): void;
91
+ okr(event: any): void;
92
+ help_window(): void;
93
+ onResize(event?: any): void;
94
+ show_pulisci_filtri: boolean;
95
+ autoSizeAll(): void;
96
+ fitSizeAll(): void;
97
+ selectCount(): number;
98
+ getquerySelected(f: any, t: any): string;
99
+ selectAllFiltered(): void;
100
+ deselectAllFiltered(): void;
101
+ pulisci_filtri(resetr?: boolean): void;
102
+ constructor(_gridservice: GridService, _toast: ToastrService, _dataService: QueryService, m_appService: AppService, slimLoadingBarService: SlimLoadingBarService, m_dialog: MatDialog, uti_s: UtilityService);
103
+ private init_conf();
104
+ private createColumnDefs(em);
105
+ num_r: Number;
106
+ ready: Boolean;
107
+ ckk_ed: Boolean;
108
+ myData: Array<any>;
109
+ private ckk();
110
+ res_columns(forza?: boolean): void;
111
+ getRows(): Array<any>;
112
+ sortAndFilter(sortModel: any, filterModel: any): void;
113
+ private ref_dt();
114
+ updateRow(): void;
115
+ private onModelUpdated();
116
+ onReady(event: any): void;
117
+ save_cfg(): void;
118
+ fe_cfg(): void;
119
+ b_iniended: boolean;
120
+ onready_go(): void;
121
+ ric_libera: string;
122
+ private init_filters();
123
+ keyDownFunctioncl(event: any): void;
124
+ free_search(): void;
125
+ private testom;
126
+ private myModalNormal;
127
+ onCellClicked(event: any): void;
128
+ onCellValueChanged(event: any): void;
129
+ onCellDoubleClicked(event: any): void;
130
+ onCellFocused(event: any): void;
131
+ onSelectionChanged(): void;
132
+ onBeforeFilterChanged(): void;
133
+ oncolumnEverythingChanged(event: any): void;
134
+ onAfterFilterChanged(): void;
135
+ onFilterModified(): void;
136
+ onBeforeSortChanged(): void;
137
+ onAfterSortChanged(): void;
138
+ onVirtualRowRemoved($event: any): void;
139
+ onRowClicked($event: any): void;
140
+ sRow: any;
141
+ onRowDClicked($event: any): void;
142
+ private onQuickFilterChanged($event);
143
+ onColumnEvent($event: any): void;
144
+ fix_flt: String;
145
+ fix_flt_temp: String;
146
+ doFill(flt: String, reset_prec?: Boolean, over_fixed?: Boolean): void;
147
+ doFill_Temp(flt: String, reset_prec?: Boolean): void;
148
+ Refresh(): void;
149
+ RefreshOnlyMemory(): void;
150
+ }
@@ -0,0 +1,12 @@
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
+ export declare class win_grid_help implements OnInit {
6
+ dialogRef: MatDialogRef<win_grid_help>;
7
+ private toastr;
8
+ private m_appService;
9
+ title: string;
10
+ constructor(dialogRef: MatDialogRef<win_grid_help>, toastr: ToastrService, m_appService: AppService);
11
+ ngOnInit(): void;
12
+ }
@@ -0,0 +1,36 @@
1
+ import { OnInit, ElementRef, EventEmitter } from '@angular/core';
2
+ import { QueryService } from '../services/doquery.service';
3
+ export declare class FHListComponent implements OnInit {
4
+ private _dataService;
5
+ init_fill: boolean;
6
+ sql: string;
7
+ types: string[];
8
+ values: string[];
9
+ label: string;
10
+ enabled: boolean;
11
+ smtr: ElementRef;
12
+ fillend: EventEmitter<any>;
13
+ selchange: EventEmitter<any>;
14
+ initend: EventEmitter<any>;
15
+ myData: any[];
16
+ selval: string;
17
+ errorMsg: string;
18
+ valDef: string;
19
+ upd_f(u: any, b: any): void;
20
+ constructor(_dataService: QueryService);
21
+ resetValue(): void;
22
+ reset(): void;
23
+ fillCombo(): void;
24
+ setByDescri(desc_val: string): void;
25
+ setByIndex(ind: number): void;
26
+ setByValue(desc_val: string): void;
27
+ getDescri(): string;
28
+ getObjects(): Array<any>;
29
+ getValue(): string;
30
+ getData(campo: any): any;
31
+ add_option(o: any): void;
32
+ set_options(s: String): void;
33
+ ngAfterViewInit(): void;
34
+ ngOnInit(): void;
35
+ sc(): void;
36
+ }
@@ -0,0 +1,2 @@
1
+ export declare class FHLogPanelComponent {
2
+ }
@@ -0,0 +1,10 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { QueryService } from '../services/doquery.service';
3
+ import { OdbcService } from '../services/doquery_odbc.service';
4
+ export declare class FHMdReader implements OnInit {
5
+ private _dataService;
6
+ private _dataService_odbc;
7
+ path_md: string;
8
+ constructor(_dataService: QueryService, _dataService_odbc: OdbcService);
9
+ ngOnInit(): void;
10
+ }
@@ -0,0 +1,32 @@
1
+ import { OnInit, EventEmitter, ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { UtilityService } from '../services/utility.service';
4
+ export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC: any;
5
+ export declare class FHNumericFieldComponent implements OnInit, ControlValueAccessor {
6
+ private uti_s;
7
+ el: ElementRef;
8
+ decimal: number;
9
+ label: string;
10
+ required: boolean;
11
+ enabled: boolean;
12
+ hidden: boolean;
13
+ m_color: string;
14
+ change: EventEmitter<any>;
15
+ private innerValue;
16
+ getStyle(): string;
17
+ constructor(uti_s: UtilityService);
18
+ set_backcolor(color: string): void;
19
+ chgf: boolean;
20
+ chg(): void;
21
+ writeValue(value: number): void;
22
+ onChange: (_: any) => void;
23
+ onTouched: () => void;
24
+ registerOnChange(fn: (_: any) => void): void;
25
+ registerOnTouched(fn: () => void): void;
26
+ formattedAmount: string;
27
+ value: any;
28
+ transform(value: number | string, fractionSize?: number): string;
29
+ removeCurrencyPipeFormat(element: any): void;
30
+ setFocus(): void;
31
+ ngOnInit(): void;
32
+ }
@@ -0,0 +1,4 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ export declare class ReplaceLineBreaks implements PipeTransform {
3
+ transform(value: string): string;
4
+ }
@@ -0,0 +1,23 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { CKEditorComponent } from 'ng2-ckeditor/lib/src/ckeditor.component';
4
+ export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT: any;
5
+ export declare class FHRichText implements OnInit, ControlValueAccessor {
6
+ enabled: boolean;
7
+ value: string;
8
+ height: string;
9
+ change: EventEmitter<any>;
10
+ focus: EventEmitter<any>;
11
+ blur: EventEmitter<any>;
12
+ ced: CKEditorComponent;
13
+ config: any;
14
+ constructor();
15
+ onFocus(o: any): void;
16
+ onBlur(o: any): void;
17
+ ngOnInit(): void;
18
+ writeValue(value: any): void;
19
+ onChange: (_: any) => void;
20
+ onTouched: () => void;
21
+ registerOnChange(fn: (_: any) => void): void;
22
+ registerOnTouched(fn: () => void): void;
23
+ }
@@ -0,0 +1,48 @@
1
+ import { ToastrService } from 'ngx-toastr';
2
+ import { AppService } from '../services/app.service';
3
+ import { MatDialog } from '@angular/material';
4
+ import { OnInit, EventEmitter } from '@angular/core';
5
+ import { QueryService } from '../services/doquery.service';
6
+ import { UtilityService } from '../services/utility.service';
7
+ export declare class FHTimePickerComponent implements OnInit {
8
+ private _dataService;
9
+ private dialog;
10
+ private m_appService;
11
+ private toastr;
12
+ private uti_s;
13
+ uph(): void;
14
+ doh(): void;
15
+ upm(): void;
16
+ dom(): void;
17
+ onFu(): void;
18
+ onMi(): void;
19
+ maxore: number;
20
+ label: string;
21
+ enabled: boolean;
22
+ show_picker: boolean;
23
+ selchange: EventEmitter<any>;
24
+ h: number;
25
+ m: number;
26
+ onKeyDown(event: any): void;
27
+ onKeyDown1(event: any): void;
28
+ private isCharNumeric(charStr);
29
+ private getCharCodeFromEvent(event);
30
+ private isKeyPressedNumeric(event);
31
+ constructor(_dataService: QueryService, dialog: MatDialog, m_appService: AppService, toastr: ToastrService, uti_s: UtilityService);
32
+ resetValue(): void;
33
+ res: string;
34
+ annulla(): void;
35
+ ok(): void;
36
+ change(): void;
37
+ setByDescri(desc_val: string): void;
38
+ isValidVal(): boolean;
39
+ setByValue(desc_val: string): void;
40
+ getDescri(): string;
41
+ getData(campo: any): string;
42
+ getObj(): any;
43
+ getValue(): string;
44
+ getHours(): number;
45
+ getMinutes(): number;
46
+ ngOnInit(): void;
47
+ sc(): void;
48
+ }
@@ -0,0 +1,44 @@
1
+ import { AppService } from '../services/app.service';
2
+ import { ToastrService } from 'ngx-toastr';
3
+ import { QueryService } from '../services/doquery.service';
4
+ import { OnInit, EventEmitter } from '@angular/core';
5
+ import { FileUploader } from "ng2-file-upload";
6
+ import { MatDialog, MatDialogRef } from '@angular/material';
7
+ import { WinWait } from './win_wait';
8
+ export declare class FHUploadComponent implements OnInit {
9
+ private _dataService;
10
+ private toastr;
11
+ private dialog;
12
+ private app_s;
13
+ enabled: boolean;
14
+ single: boolean;
15
+ descri_obb: boolean;
16
+ programma_da_eseguire: string;
17
+ label_attendere: string;
18
+ fixed_label: string;
19
+ limit_string: string;
20
+ allegato_inserito: string;
21
+ inserire_descrizione: string;
22
+ change: EventEmitter<any>;
23
+ upload_ended: EventEmitter<any>;
24
+ loading: boolean;
25
+ App: string;
26
+ K: string;
27
+ label_b: string;
28
+ descrizione: string;
29
+ file_name: string;
30
+ label: string;
31
+ username: string;
32
+ progress_p: number;
33
+ b_edit_loaded: boolean;
34
+ tipo: string;
35
+ b_ini: boolean;
36
+ dialogRef: MatDialogRef<WinWait, any>;
37
+ ngOnInit(): void;
38
+ uploader: FileUploader;
39
+ constructor(_dataService: QueryService, toastr: ToastrService, dialog: MatDialog, app_s: AppService);
40
+ download_all(): void;
41
+ ch(): void;
42
+ init(p_app: string, p_k: string, p_label: string, p_tipo?: string, programma_da_eseguire?: string): void;
43
+ ref_allegato(): void;
44
+ }
@@ -0,0 +1,31 @@
1
+ import { MatDialog } from '@angular/material';
2
+ import { ToastrService } from 'ngx-toastr';
3
+ import { FHUploadComponent } from './fhupload';
4
+ import { QueryService } from '../services/doquery.service';
5
+ import { OnInit, EventEmitter } from '@angular/core';
6
+ import { AppService } from '../services/app.service';
7
+ export declare class FHUploadPanelComponent implements OnInit {
8
+ private _appservice;
9
+ private _dataService;
10
+ private toastr;
11
+ private dialog;
12
+ private app_s;
13
+ enabled: boolean;
14
+ label: string;
15
+ sovrascrivi_path: string;
16
+ change: EventEmitter<any>;
17
+ upc: FHUploadComponent;
18
+ App: string;
19
+ K: string;
20
+ arr_g: Array<any>;
21
+ b_edit_loaded: boolean;
22
+ b_False: boolean;
23
+ b_mobile: boolean;
24
+ b_ini: boolean;
25
+ download_all(ax: any): void;
26
+ delete(ax: any): void;
27
+ constructor(_appservice: AppService, _dataService: QueryService, toastr: ToastrService, dialog: MatDialog, app_s: AppService);
28
+ ngOnInit(): void;
29
+ init(p_app: string, p_k: string): void;
30
+ ref_allegato(): void;
31
+ }
@@ -0,0 +1,26 @@
1
+ import { ToastrService } from 'ngx-toastr';
2
+ import { OnInit, EventEmitter } from '@angular/core';
3
+ import { QueryService } from '../services/doquery.service';
4
+ import { MatDialog } from '@angular/material';
5
+ export declare const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_UF: any;
6
+ export declare class FHUserFieldComponent implements OnInit {
7
+ private dataservice;
8
+ private dialog;
9
+ private toast;
10
+ label: string;
11
+ required: boolean;
12
+ enabled: boolean;
13
+ hidden: boolean;
14
+ change: EventEmitter<any>;
15
+ ngOnInit(): void;
16
+ selectedUser: any;
17
+ constructor(dataservice: QueryService, dialog: MatDialog, toast: ToastrService);
18
+ writeValue(value: string): void;
19
+ setByUsername(username: string): void;
20
+ open_pick(): void;
21
+ annulla(): void;
22
+ onChange: (_: any) => void;
23
+ onTouched: () => void;
24
+ registerOnChange(fn: (_: any) => void): void;
25
+ registerOnTouched(fn: () => void): void;
26
+ }