@fluxhub/fluxhub-lib 1.1.0 → 9.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 (206) hide show
  1. package/bundles/fluxhub-fluxhub-lib.umd.js +69 -335
  2. package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
  3. package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
  4. package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
  5. package/esm2015/lib/controls/app_manager/fhrolemanager.js +2 -2
  6. package/esm2015/lib/controls/app_manager/fhtablevaluesmanager.js +2 -2
  7. package/esm2015/lib/controls/app_manager/win_manage_roles.js +2 -2
  8. package/esm2015/lib/controls/app_manager/win_manage_values.js +2 -2
  9. package/esm2015/lib/controls/fhautocomplete.js +3 -3
  10. package/esm2015/lib/controls/fhcombobox.js +1 -4
  11. package/esm2015/lib/controls/fhconfirm.js +2 -2
  12. package/esm2015/lib/controls/fhcurrencyfield.js +2 -2
  13. package/esm2015/lib/controls/fhcurrencyformatter.js +3 -3
  14. package/esm2015/lib/controls/fhdatepicker.js +2 -2
  15. package/esm2015/lib/controls/fhfieldpicklist.js +2 -2
  16. package/esm2015/lib/controls/fhgrid.js +2 -2
  17. package/esm2015/lib/controls/fhgrid_json.js +2 -2
  18. package/esm2015/lib/controls/fhgrid_win_help.js +2 -2
  19. package/esm2015/lib/controls/fhhelpbutton.js +2 -2
  20. package/esm2015/lib/controls/fhimagepreview.js +4 -4
  21. package/esm2015/lib/controls/fhlist.js +1 -3
  22. package/esm2015/lib/controls/fhlogpanel.js +2 -2
  23. package/esm2015/lib/controls/fhmdreader.js +2 -2
  24. package/esm2015/lib/controls/fhnumeric.js +2 -2
  25. package/esm2015/lib/controls/fhrichtext.js +2 -2
  26. package/esm2015/lib/controls/fhtimepicker.js +2 -2
  27. package/esm2015/lib/controls/fhupload.js +3 -3
  28. package/esm2015/lib/controls/fhuploadpanel.js +3 -3
  29. package/esm2015/lib/controls/fhuserfield.js +2 -2
  30. package/esm2015/lib/controls/fhuserpicker.js +2 -2
  31. package/esm2015/lib/controls/fhwinpicklist.js +2 -2
  32. package/esm2015/lib/controls/grid_editors/approvabuttons.js +1 -5
  33. package/esm2015/lib/controls/grid_editors/fhcombobox_filter.js +1 -4
  34. package/esm2015/lib/controls/grid_editors/select-editor.component.js +1 -6
  35. package/esm2015/lib/controls/image-viewer/image-viewer.component.js +2 -2
  36. package/esm2015/lib/controls/win_ask_buttons.js +2 -2
  37. package/esm2015/lib/controls/win_ask_number.js +2 -2
  38. package/esm2015/lib/controls/win_ask_text.js +2 -2
  39. package/esm2015/lib/controls/win_ask_textbig.js +2 -2
  40. package/esm2015/lib/controls/win_combo_select.js +2 -2
  41. package/esm2015/lib/controls/win_list_pick.js +2 -2
  42. package/esm2015/lib/controls/win_mappa.js +2 -2
  43. package/esm2015/lib/controls/win_output.js +2 -2
  44. package/esm2015/lib/controls/win_show_image.js +2 -2
  45. package/esm2015/lib/controls/win_time_slider.js +2 -2
  46. package/esm2015/lib/controls/win_user_info.js +2 -2
  47. package/esm2015/lib/controls/win_wait.js +2 -2
  48. package/esm2015/lib/fluxhub-lib.module.js +6 -9
  49. package/esm2015/lib/form_builder/form_builder.js +2 -2
  50. package/esm2015/lib/form_builder/form_executer.js +2 -2
  51. package/esm2015/lib/wkf_engine/win_assegna.js +2 -2
  52. package/esm2015/lib/wkf_engine/win_commenti.js +2 -2
  53. package/esm2015/lib/wkf_engine/win_commento_sel_notif.js +2 -2
  54. package/esm2015/lib/wkf_engine/win_conferma.js +2 -2
  55. package/esm2015/lib/wkf_engine/win_info_doc.js +2 -2
  56. package/esm2015/lib/wkf_engine/win_insert_commento.js +2 -2
  57. package/esm2015/lib/wkf_engine/win_log.js +2 -2
  58. package/esm2015/lib/wkf_engine/win_riassegna_select_level.js +2 -2
  59. package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +2 -2
  60. package/esm2015/lib/wkf_engine/win_salva_annulla.js +2 -2
  61. package/esm2015/lib/wkf_engine/win_select_canale.js +2 -2
  62. package/esm2015/lib/wkf_engine/win_select_level.js +2 -2
  63. package/esm2015/lib/wkf_engine/win_sostituisci_utente.js +2 -2
  64. package/esm2015/lib/wkf_engine/win_uploads.js +2 -2
  65. package/esm2015/lib/wkf_engine/wkf_header_bar.js +2 -2
  66. package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
  67. package/esm2015/public_api.js +1 -4
  68. package/esm5/lib/controls/app_manager/fhrolemanager.js +2 -2
  69. package/esm5/lib/controls/app_manager/fhtablevaluesmanager.js +2 -2
  70. package/esm5/lib/controls/app_manager/win_manage_roles.js +2 -2
  71. package/esm5/lib/controls/app_manager/win_manage_values.js +2 -2
  72. package/esm5/lib/controls/fhautocomplete.js +3 -3
  73. package/esm5/lib/controls/fhcombobox.js +1 -4
  74. package/esm5/lib/controls/fhconfirm.js +2 -2
  75. package/esm5/lib/controls/fhcurrencyfield.js +2 -2
  76. package/esm5/lib/controls/fhcurrencyformatter.js +3 -3
  77. package/esm5/lib/controls/fhdatepicker.js +2 -2
  78. package/esm5/lib/controls/fhfieldpicklist.js +2 -2
  79. package/esm5/lib/controls/fhgrid.js +2 -2
  80. package/esm5/lib/controls/fhgrid_json.js +2 -2
  81. package/esm5/lib/controls/fhgrid_win_help.js +2 -2
  82. package/esm5/lib/controls/fhhelpbutton.js +2 -2
  83. package/esm5/lib/controls/fhimagepreview.js +3 -3
  84. package/esm5/lib/controls/fhlist.js +1 -3
  85. package/esm5/lib/controls/fhlogpanel.js +2 -2
  86. package/esm5/lib/controls/fhmdreader.js +2 -2
  87. package/esm5/lib/controls/fhnumeric.js +2 -2
  88. package/esm5/lib/controls/fhrichtext.js +2 -2
  89. package/esm5/lib/controls/fhtimepicker.js +2 -2
  90. package/esm5/lib/controls/fhupload.js +3 -3
  91. package/esm5/lib/controls/fhuploadpanel.js +3 -3
  92. package/esm5/lib/controls/fhuserfield.js +2 -2
  93. package/esm5/lib/controls/fhuserpicker.js +2 -2
  94. package/esm5/lib/controls/fhwinpicklist.js +2 -2
  95. package/esm5/lib/controls/grid_editors/approvabuttons.js +1 -5
  96. package/esm5/lib/controls/grid_editors/fhcombobox_filter.js +1 -4
  97. package/esm5/lib/controls/grid_editors/select-editor.component.js +1 -6
  98. package/esm5/lib/controls/image-viewer/image-viewer.component.js +2 -2
  99. package/esm5/lib/controls/win_ask_buttons.js +2 -2
  100. package/esm5/lib/controls/win_ask_number.js +2 -2
  101. package/esm5/lib/controls/win_ask_text.js +2 -2
  102. package/esm5/lib/controls/win_ask_textbig.js +2 -2
  103. package/esm5/lib/controls/win_combo_select.js +2 -2
  104. package/esm5/lib/controls/win_list_pick.js +2 -2
  105. package/esm5/lib/controls/win_mappa.js +2 -2
  106. package/esm5/lib/controls/win_output.js +2 -2
  107. package/esm5/lib/controls/win_show_image.js +2 -2
  108. package/esm5/lib/controls/win_time_slider.js +2 -2
  109. package/esm5/lib/controls/win_user_info.js +2 -2
  110. package/esm5/lib/controls/win_wait.js +2 -2
  111. package/esm5/lib/fluxhub-lib.module.js +6 -9
  112. package/esm5/lib/form_builder/form_builder.js +2 -2
  113. package/esm5/lib/form_builder/form_executer.js +2 -2
  114. package/esm5/lib/wkf_engine/win_assegna.js +2 -2
  115. package/esm5/lib/wkf_engine/win_commenti.js +2 -2
  116. package/esm5/lib/wkf_engine/win_commento_sel_notif.js +2 -2
  117. package/esm5/lib/wkf_engine/win_conferma.js +2 -2
  118. package/esm5/lib/wkf_engine/win_info_doc.js +2 -2
  119. package/esm5/lib/wkf_engine/win_insert_commento.js +2 -2
  120. package/esm5/lib/wkf_engine/win_log.js +2 -2
  121. package/esm5/lib/wkf_engine/win_riassegna_select_level.js +2 -2
  122. package/esm5/lib/wkf_engine/win_riassegna_select_user.js +2 -2
  123. package/esm5/lib/wkf_engine/win_salva_annulla.js +2 -2
  124. package/esm5/lib/wkf_engine/win_select_canale.js +2 -2
  125. package/esm5/lib/wkf_engine/win_select_level.js +2 -2
  126. package/esm5/lib/wkf_engine/win_sostituisci_utente.js +2 -2
  127. package/esm5/lib/wkf_engine/win_uploads.js +2 -2
  128. package/esm5/lib/wkf_engine/wkf_header_bar.js +2 -2
  129. package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -2
  130. package/esm5/public_api.js +1 -4
  131. package/fesm2015/fluxhub-fluxhub-lib.js +67 -388
  132. package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
  133. package/fesm5/fluxhub-fluxhub-lib.js +66 -330
  134. package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
  135. package/fluxhub-fluxhub-lib.metadata.json +1 -1
  136. package/lib/controls/app_manager/fhrolemanager.d.ts +3 -3
  137. package/lib/controls/app_manager/fhtablevaluesmanager.d.ts +3 -3
  138. package/lib/controls/app_manager/win_manage_roles.d.ts +3 -3
  139. package/lib/controls/app_manager/win_manage_values.d.ts +3 -3
  140. package/lib/controls/fhautocomplete.d.ts +3 -3
  141. package/lib/controls/fhcombobox.d.ts +2 -3
  142. package/lib/controls/fhconfirm.d.ts +3 -3
  143. package/lib/controls/fhcurrencyfield.d.ts +3 -3
  144. package/lib/controls/fhcurrencyformatter.d.ts +3 -3
  145. package/lib/controls/fhdatepicker.d.ts +3 -3
  146. package/lib/controls/fhfieldpicklist.d.ts +3 -3
  147. package/lib/controls/fhgrid.d.ts +3 -3
  148. package/lib/controls/fhgrid_json.d.ts +1 -1
  149. package/lib/controls/fhgrid_win_help.d.ts +3 -3
  150. package/lib/controls/fhimagepreview.d.ts +3 -3
  151. package/lib/controls/fhlist.d.ts +2 -3
  152. package/lib/controls/fhlogpanel.d.ts +3 -3
  153. package/lib/controls/fhmdreader.d.ts +3 -3
  154. package/lib/controls/fhnumeric.d.ts +3 -3
  155. package/lib/controls/fhrichtext.d.ts +3 -3
  156. package/lib/controls/fhtimepicker.d.ts +3 -3
  157. package/lib/controls/fhupload.d.ts +3 -3
  158. package/lib/controls/fhuploadpanel.d.ts +3 -3
  159. package/lib/controls/fhuserfield.d.ts +3 -3
  160. package/lib/controls/fhuserpicker.d.ts +3 -3
  161. package/lib/controls/fhwinpicklist.d.ts +3 -3
  162. package/lib/controls/grid_editors/approvabuttons.d.ts +1 -3
  163. package/lib/controls/grid_editors/fhcombobox_filter.d.ts +2 -3
  164. package/lib/controls/grid_editors/select-editor.component.d.ts +1 -3
  165. package/lib/controls/image-viewer/image-viewer.component.d.ts +3 -3
  166. package/lib/controls/win_ask_buttons.d.ts +3 -3
  167. package/lib/controls/win_ask_number.d.ts +3 -3
  168. package/lib/controls/win_ask_text.d.ts +3 -3
  169. package/lib/controls/win_ask_textbig.d.ts +3 -3
  170. package/lib/controls/win_combo_select.d.ts +3 -3
  171. package/lib/controls/win_list_pick.d.ts +3 -3
  172. package/lib/controls/win_mappa.d.ts +3 -3
  173. package/lib/controls/win_output.d.ts +3 -3
  174. package/lib/controls/win_show_image.d.ts +3 -3
  175. package/lib/controls/win_time_slider.d.ts +3 -3
  176. package/lib/controls/win_user_info.d.ts +3 -3
  177. package/lib/controls/win_wait.d.ts +3 -3
  178. package/lib/form_builder/form_builder.d.ts +3 -3
  179. package/lib/form_builder/form_executer.d.ts +3 -3
  180. package/lib/wkf_engine/win_assegna.d.ts +3 -3
  181. package/lib/wkf_engine/win_commenti.d.ts +3 -3
  182. package/lib/wkf_engine/win_commento_sel_notif.d.ts +3 -3
  183. package/lib/wkf_engine/win_conferma.d.ts +3 -3
  184. package/lib/wkf_engine/win_info_doc.d.ts +3 -3
  185. package/lib/wkf_engine/win_insert_commento.d.ts +3 -3
  186. package/lib/wkf_engine/win_log.d.ts +3 -3
  187. package/lib/wkf_engine/win_riassegna_select_level.d.ts +3 -3
  188. package/lib/wkf_engine/win_riassegna_select_user.d.ts +3 -3
  189. package/lib/wkf_engine/win_salva_annulla.d.ts +3 -3
  190. package/lib/wkf_engine/win_select_canale.d.ts +3 -3
  191. package/lib/wkf_engine/win_select_level.d.ts +3 -3
  192. package/lib/wkf_engine/win_sostituisci_utente.d.ts +3 -3
  193. package/lib/wkf_engine/win_uploads.d.ts +3 -3
  194. package/lib/wkf_engine/wkf_header_bar.d.ts +3 -3
  195. package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +1 -1
  196. package/package.json +1 -1
  197. package/public_api.d.ts +0 -3
  198. package/esm2015/lib/controls/grid_editors/date-component.component.js +0 -119
  199. package/esm2015/lib/controls/grid_editors/dt.js +0 -8
  200. package/esm2015/lib/controls/grid_editors/dt_pick.js +0 -184
  201. package/esm5/lib/controls/grid_editors/date-component.component.js +0 -83
  202. package/esm5/lib/controls/grid_editors/dt.js +0 -10
  203. package/esm5/lib/controls/grid_editors/dt_pick.js +0 -162
  204. package/lib/controls/grid_editors/date-component.component.d.ts +0 -20
  205. package/lib/controls/grid_editors/dt.d.ts +0 -7
  206. package/lib/controls/grid_editors/dt_pick.d.ts +0 -27
@@ -18,7 +18,6 @@ import { MatAutocomplete, MatAutocompleteModule } from '@angular/material/autoco
18
18
  import * as momentNs from 'moment';
19
19
  import { isMoment } from 'moment';
20
20
  import { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE, MatNativeDateModule } from '@angular/material/core';
21
- import { MyDatePicker, MyDatePickerModule } from 'mydatepicker';
22
21
  import { isPlatformBrowser, CommonModule } from '@angular/common';
23
22
  import 'clipboard';
24
23
  import 'prismjs';
@@ -989,121 +988,6 @@ NumericEditorComponent = __decorate([
989
988
  __metadata("design:paramtypes", [UtilityService])
990
989
  ], NumericEditorComponent);
991
990
 
992
- let DateComponent = class DateComponent {
993
- constructor(uti_s) {
994
- this.uti_s = uti_s;
995
- this.label = "";
996
- }
997
- setDt() {
998
- // console.log(this.date_zz.getFullYear().toString()+"-"+this.uti_s.format2cifre(this.date_zz.getMonth()+1)+"-"+this.uti_s.format2cifre(this.date_zz.getDate())+"T00:00:00");
999
- this.date_zz = (this.appdt.getValue());
1000
- this.params.api.stopEditing();
1001
- }
1002
- // dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
1003
- ngAfterViewInit() {
1004
- // this.container.element.nativeElement.focus();
1005
- this.appdt.setFocus();
1006
- }
1007
- agInit(par) {
1008
- this.params = par;
1009
- if (par.value == null) {
1010
- this.date = null;
1011
- this.date_zz = null;
1012
- return;
1013
- } //new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);this.appdt.setValue(this.date);this.date_zz= new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);return;}
1014
- if (new Date(par.value).getFullYear() == 1970) {
1015
- this.date = null;
1016
- this.date_zz = null;
1017
- return;
1018
- }
1019
- if (par.value.indexOf('--') != -1) {
1020
- this.date = null;
1021
- this.date_zz = null;
1022
- return;
1023
- } //this.date= new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);this.appdt.setValue(this.date);this.date_zz= new Date(new Date().getFullYear(),new Date().getMonth(),new Date().getDate(),0,0,0);return;}
1024
- this.date = new Date(par.value);
1025
- /* let a:Date=new Date();
1026
- a.setDate(a.getDate()+1);
1027
- if(this.date<a)this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate()); */
1028
- this.appdt.setValue(this.date);
1029
- this.date_zz = new Date(par.value);
1030
- }
1031
- getValue() {
1032
- // var dt:Date=new Date(Date.UTC(this.date_zz.getFullYear()-1900,this.date_zz.getMonth(),this.date_zz.getDate()));
1033
- // console.log(this.date_zz.getFullYear().toString()+"-"+this.uti_s.format2cifre(this.date_zz.getMonth()+1)+"-"+this.uti_s.format2cifre(this.date_zz.getDate())+"T00:00:00");
1034
- if (this.date_zz == null)
1035
- return null;
1036
- return this.date_zz.getFullYear().toString() + "-" + this.uti_s.format2cifre(this.date_zz.getMonth() + 1) + "-" + this.uti_s.format2cifre(this.date_zz.getDate()) + "T00:00:00"; //this.date_zz.toJSON();
1037
- }
1038
- isPopup() {
1039
- return true;
1040
- }
1041
- onKeyDown(event) {
1042
- let key = event.which || event.keyCode;
1043
- if (key == 37 || // left
1044
- key == 39) { // right
1045
- // this.toggleMood();
1046
- event.stopPropagation();
1047
- }
1048
- }
1049
- };
1050
- DateComponent.ctorParameters = () => [
1051
- { type: UtilityService }
1052
- ];
1053
- __decorate([
1054
- ViewChild('container', { read: ViewContainerRef }),
1055
- __metadata("design:type", Object)
1056
- ], DateComponent.prototype, "container", void 0);
1057
- __decorate([
1058
- ViewChild('appdt'),
1059
- __metadata("design:type", Object)
1060
- ], DateComponent.prototype, "appdt", void 0);
1061
- DateComponent = __decorate([
1062
- Component({
1063
- selector: 'editor-cell',
1064
- template: `
1065
- <div #container fxLayout="row" class="mood" tabindex="0" (keydown)="onKeyDown($event)">
1066
-
1067
- <DtPicker [(ngModel)]="date" #appdt
1068
- [show_buttons]="false" ngDefaultControl
1069
-
1070
- >
1071
- </DtPicker>
1072
- <button mat-flat-button color="primary" (click)="setDt()">CONFERMA</button>
1073
-
1074
- </div>
1075
-
1076
-
1077
- `,
1078
- styles: [`
1079
- .mood {
1080
- border-radius: 15px;
1081
- border: 1px solid grey;
1082
- background: #e6e6e6;
1083
- padding: 15px;
1084
- text-align: center;
1085
- display: inline-block;
1086
- outline: none
1087
- }
1088
-
1089
- .default {
1090
- padding-left: 10px;
1091
- padding-right: 10px;
1092
- border: 1px solid transparent;
1093
- padding: 4px;
1094
- }
1095
-
1096
- .selected {
1097
- padding-left: 10px;
1098
- padding-right: 10px;
1099
- border: 1px solid lightgreen;
1100
- padding: 4px;
1101
- }
1102
- `]
1103
- }),
1104
- __metadata("design:paramtypes", [UtilityService])
1105
- ], DateComponent);
1106
-
1107
991
  let win_time_slider = class win_time_slider {
1108
992
  constructor(dialogRef, toastr, m_appService, uti_s) {
1109
993
  this.dialogRef = dialogRef;
@@ -1129,7 +1013,7 @@ let win_time_slider = class win_time_slider {
1129
1013
  }
1130
1014
  this.dialogRef.close(this.res);
1131
1015
  }
1132
- ngOnInit() {
1016
+ ngAfterViewInit() {
1133
1017
  if (this.m_appService.getState().appo_dialog != null)
1134
1018
  if (this.m_appService.getState().appo_dialog.val != null) {
1135
1019
  let a = this.m_appService.getState().appo_dialog.val.split(':');
@@ -1553,7 +1437,7 @@ let FHTimePickerComponent = FHTimePickerComponent_1 = class FHTimePickerComponen
1553
1437
  getMinutes() {
1554
1438
  return this.m;
1555
1439
  }
1556
- ngOnInit() {
1440
+ ngAfterViewInit() {
1557
1441
  }
1558
1442
  sc() {
1559
1443
  const value = this.getValue();
@@ -1705,7 +1589,7 @@ let FHConfirmComponent = class FHConfirmComponent {
1705
1589
  setMsg(texto) {
1706
1590
  this.msg = texto;
1707
1591
  }
1708
- ngOnInit() {
1592
+ ngAfterViewInit() {
1709
1593
  }
1710
1594
  };
1711
1595
  FHConfirmComponent.ctorParameters = () => [
@@ -1939,8 +1823,6 @@ let FHListComponent = class FHListComponent {
1939
1823
  .initend
1940
1824
  .emit();
1941
1825
  }
1942
- ngOnInit() {
1943
- }
1944
1826
  sc() {
1945
1827
  this
1946
1828
  .selchange
@@ -2057,7 +1939,7 @@ let WinWait = class WinWait {
2057
1939
  if (p == 100)
2058
1940
  this.dialogRef.close();
2059
1941
  }
2060
- ngOnInit() {
1942
+ ngAfterViewInit() {
2061
1943
  }
2062
1944
  };
2063
1945
  WinWait.ctorParameters = () => [
@@ -2336,9 +2218,6 @@ let FHComboboxComponent = class FHComboboxComponent {
2336
2218
  this.setByDescri(this.valDef);
2337
2219
  }
2338
2220
  ngAfterViewInit() {
2339
- // console.log("ngAfterViewInit"); console.log(this.init_fill);
2340
- }
2341
- ngOnInit() {
2342
2221
  if (this.init_fill == true) {
2343
2222
  if (this.sql == '') {
2344
2223
  //this.errorMsg="QUERY NON CONFIGURATA";
@@ -2547,10 +2426,10 @@ let FHUploadComponent = class FHUploadComponent {
2547
2426
  this.cmb_tipo.sql = this.tipo;
2548
2427
  this.cmb_tipo.fillCombo();
2549
2428
  }
2550
- ngOnInit() {
2429
+ ngAfterViewInit() {
2551
2430
  let uo = {};
2552
2431
  uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(this.app_s.COMPANY_KEY + "token") }];
2553
- // console.log('ngOnInit!!');
2432
+ // console.log('ngAfterViewInit!!');
2554
2433
  this.uploader.setOptions(uo);
2555
2434
  this.uploader.onCompleteAll = () => {
2556
2435
  this.loading = false;
@@ -3015,7 +2894,7 @@ let WinAskTextBigComponent = class WinAskTextBigComponent {
3015
2894
  this.show_ok = true;
3016
2895
  this.min_chars = 3;
3017
2896
  }
3018
- ngOnInit() {
2897
+ ngAfterViewInit() {
3019
2898
  }
3020
2899
  close() { this.dialogRef.close(null); }
3021
2900
  show() {
@@ -3112,7 +2991,7 @@ let FHWinComboSelect = class FHWinComboSelect {
3112
2991
  this.cmb_sel.getObj().nota = this.nota_val;
3113
2992
  this.dialogRef.close(this.cmb_sel.getObj());
3114
2993
  }
3115
- ngOnInit() {
2994
+ ngAfterViewInit() {
3116
2995
  }
3117
2996
  };
3118
2997
  FHWinComboSelect.ctorParameters = () => [
@@ -3295,7 +3174,7 @@ let FHUploadPanelComponent = class FHUploadPanelComponent {
3295
3174
  }
3296
3175
  });
3297
3176
  }
3298
- ngOnInit() {
3177
+ ngAfterViewInit() {
3299
3178
  setTimeout(() => { this.b_initt = true; }, 700);
3300
3179
  this.upc.single = false;
3301
3180
  this.b_mobile = this._appservice.getState().pageFullscreen;
@@ -3315,7 +3194,7 @@ let FHUploadPanelComponent = class FHUploadPanelComponent {
3315
3194
  this.b_edit_loaded = false;
3316
3195
  this.m_p_tipo = p_tipo;
3317
3196
  this.m_programma_da_eseguire = programma_da_eseguire;
3318
- this.ngOnInit();
3197
+ this.ngAfterViewInit();
3319
3198
  }
3320
3199
  ref_allegato() {
3321
3200
  if (this.App == null)
@@ -3680,7 +3559,7 @@ let win_grid_help = class win_grid_help {
3680
3559
  this.title = "";
3681
3560
  }
3682
3561
  close() { this.dialogRef.close(null); }
3683
- ngOnInit() {
3562
+ ngAfterViewInit() {
3684
3563
  }
3685
3564
  };
3686
3565
  win_grid_help.ctorParameters = () => [
@@ -3737,7 +3616,7 @@ let WinAskTextComponent = class WinAskTextComponent {
3737
3616
  this.min_chars = 3;
3738
3617
  this.max_chars = 50;
3739
3618
  }
3740
- ngOnInit() {
3619
+ ngAfterViewInit() {
3741
3620
  }
3742
3621
  close() { this.dialogRef.close(null); }
3743
3622
  show() {
@@ -3967,7 +3846,7 @@ let win_riassegna_select_level = class win_riassegna_select_level {
3967
3846
  }
3968
3847
  this.dialogRef.close({ lvl_sel: lvl, result: 'ok' });
3969
3848
  }
3970
- ngOnInit() {
3849
+ ngAfterViewInit() {
3971
3850
  }
3972
3851
  };
3973
3852
  win_riassegna_select_level.ctorParameters = () => [
@@ -4055,7 +3934,7 @@ let FHUserPickerComponent = class FHUserPickerComponent {
4055
3934
  }
4056
3935
  }
4057
3936
  }
4058
- ngOnInit() {
3937
+ ngAfterViewInit() {
4059
3938
  if (this.all_users) {
4060
3939
  let ok_op = false;
4061
3940
  var p = new QParam();
@@ -4293,7 +4172,7 @@ let win_riassegna_select_user = class win_riassegna_select_user {
4293
4172
  o.result = "ok";
4294
4173
  this.dialogRef.close(o);
4295
4174
  }
4296
- ngOnInit() {
4175
+ ngAfterViewInit() {
4297
4176
  }
4298
4177
  };
4299
4178
  win_riassegna_select_user.ctorParameters = () => [
@@ -4359,7 +4238,7 @@ let FHUserFieldComponent = class FHUserFieldComponent {
4359
4238
  this.onTouched = () => {
4360
4239
  };
4361
4240
  }
4362
- ngOnInit() {
4241
+ ngAfterViewInit() {
4363
4242
  if (this.required)
4364
4243
  this.label = this.label + ' *';
4365
4244
  }
@@ -4663,7 +4542,7 @@ let win_sostituisci_utente = class win_sostituisci_utente {
4663
4542
  o.result = "ok";
4664
4543
  this.dialogRef.close(o);
4665
4544
  }
4666
- ngOnInit() {
4545
+ ngAfterViewInit() {
4667
4546
  }
4668
4547
  };
4669
4548
  win_sostituisci_utente.ctorParameters = () => [
@@ -6273,7 +6152,7 @@ let FHGridComponent = class FHGridComponent {
6273
6152
  return item.data.codice;
6274
6153
  return "NA";
6275
6154
  }
6276
- ngOnInit() {
6155
+ ngAfterViewInit() {
6277
6156
  if (this.end_point == null)
6278
6157
  this.end_point = this.m_appService.API_ENDPOINT + this.m_appService.GRID_ENDPOINT;
6279
6158
  if (localStorage.getItem(this.grid_key + '_FILTER_UP') != null)
@@ -7310,8 +7189,8 @@ let FHAutoCompleteComponent = FHAutoCompleteComponent_1 = class FHAutoCompleteCo
7310
7189
  this.setByDescri(this.valDef);
7311
7190
  }
7312
7191
  }
7313
- ngOnInit() {
7314
- // console.log('ngOnInit INIT'); console.log(this.init_fill);
7192
+ ngAfterViewInit() {
7193
+ // console.log('ngAfterViewInit INIT'); console.log(this.init_fill);
7315
7194
  // console.log("TIPO "+typeof(this.init_fill));
7316
7195
  if (this.init_fill) {
7317
7196
  if (this.sql == '') {
@@ -7734,7 +7613,7 @@ let FHDatePickerComponent = FHDatePickerComponent_1 = class FHDatePickerComponen
7734
7613
  return null;
7735
7614
  return this.date_sel.toDate();
7736
7615
  }
7737
- ngOnInit() {
7616
+ ngAfterViewInit() {
7738
7617
  this.setLimits();
7739
7618
  // this.myDatePickerOptions.componentDisabled=!this.enabled;
7740
7619
  }
@@ -7866,10 +7745,6 @@ let ApprovaGridComponent = class ApprovaGridComponent {
7866
7745
  this.val_app = -1;
7867
7746
  this.params.api.stopEditing();
7868
7747
  }
7869
- // dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
7870
- ngAfterViewInit() {
7871
- // this.container.element.nativeElement.focus();
7872
- }
7873
7748
  agInit(params) {
7874
7749
  this.params = params;
7875
7750
  }
@@ -7965,7 +7840,7 @@ let FHCurrencyFormatterDirective = class FHCurrencyFormatterDirective {
7965
7840
  this.currencyPipe = currencyPipe;
7966
7841
  this.el = this.elementRef.nativeElement;
7967
7842
  }
7968
- ngOnInit() {
7843
+ ngAfterViewInit() {
7969
7844
  this.el.value = this.currencyPipe.transform(this.el.value);
7970
7845
  }
7971
7846
  onFocus(value) {
@@ -8036,7 +7911,7 @@ let win_mappa = class win_mappa {
8036
7911
  this.infoWindowOpened.close();
8037
7912
  this.infoWindowOpened = infoWindow;
8038
7913
  }
8039
- ngOnInit() {
7914
+ ngAfterViewInit() {
8040
7915
  }
8041
7916
  };
8042
7917
  win_mappa.ctorParameters = () => [
@@ -8214,11 +8089,6 @@ let ComboBoxEditor = class ComboBoxEditor {
8214
8089
  // console.log(this.date_zz.getFullYear().toString()+"-"+this.uti_s.format2cifre(this.date_zz.getMonth()+1)+"-"+this.uti_s.format2cifre(this.date_zz.getDate())+"T00:00:00");
8215
8090
  this.date_zz = this.selval;
8216
8091
  }
8217
- // dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
8218
- ngAfterViewInit() {
8219
- // console.log(this.appdt.nativeElement);
8220
- // setTimeout(()=>this.appdt.nativeElement.click(),500);
8221
- }
8222
8092
  agInit(params) {
8223
8093
  this.params = params;
8224
8094
  var p = new QParam();
@@ -8342,186 +8212,6 @@ ReplaceLineBreaks = __decorate([
8342
8212
  Pipe({ name: 'replaceLineBreaks' })
8343
8213
  ], ReplaceLineBreaks);
8344
8214
 
8345
- let DtPick = class DtPick {
8346
- constructor() {
8347
- this.label = '';
8348
- this.required = false;
8349
- this.show_buttons = false;
8350
- this.enabled = true;
8351
- this.min_date = null;
8352
- this.max_date = null;
8353
- this.change = new EventEmitter();
8354
- this.myDatePickerOptions = {
8355
- // other options...
8356
- width: '150px',
8357
- dateFormat: 'dd/mm/yyyy',
8358
- dayLabels: { su: 'Dom', mo: 'Lun', tu: 'Mar', we: 'Mer', th: 'Gio', fr: 'Ven', sa: 'Sab' },
8359
- monthLabels: {
8360
- 1: 'Gen',
8361
- 2: 'Feb',
8362
- 3: 'Mar',
8363
- 4: 'Apr',
8364
- 5: 'Mag',
8365
- 6: 'Giu',
8366
- 7: 'Lug',
8367
- 8: 'Ago',
8368
- 9: 'Set',
8369
- 10: 'Ott',
8370
- 11: 'Nov',
8371
- 12: 'Dic'
8372
- }
8373
- };
8374
- this.date_sel = null;
8375
- }
8376
- setFocus() {
8377
- this.dtc.setFocusToInputBox();
8378
- }
8379
- dt_ch() {
8380
- setTimeout(() => {
8381
- this.change.emit();
8382
- }, 50);
8383
- }
8384
- add_year() {
8385
- this.date_sel = {
8386
- date: {
8387
- year: this.date_sel.date.year + 1,
8388
- month: this.date_sel.date.month,
8389
- day: this.date_sel.date.day
8390
- }
8391
- };
8392
- this.change.emit();
8393
- }
8394
- ini_year() {
8395
- this.date_sel = { date: { year: new Date().getFullYear(), month: 1, day: 1 } };
8396
- this.change.emit();
8397
- }
8398
- fin_year() {
8399
- this.date_sel = { date: { year: new Date().getFullYear(), month: 12, day: 31 } };
8400
- this.change.emit();
8401
- }
8402
- getValue() {
8403
- /*
8404
- console.log(this.date_sel);
8405
- console.log(this.date_sel.date.year);
8406
- console.log( this.date_sel.date.month-1);
8407
- console.log( this.date_sel.date.day);*/
8408
- if (this.date_sel == null)
8409
- return null;
8410
- return new Date(this.date_sel.date.year, this.date_sel.date.month - 1, this.date_sel.date.day);
8411
- }
8412
- ngOnInit() {
8413
- this.setLimits();
8414
- // this.myDatePickerOptions.componentDisabled=!this.enabled;
8415
- }
8416
- getCopyOfOptions() {
8417
- return JSON.parse(JSON.stringify(this.myDatePickerOptions));
8418
- }
8419
- setLimits() {
8420
- let copy = this.getCopyOfOptions();
8421
- if (this.min_date != null) {
8422
- this.min_date.setDate(this.min_date.getDate() - 1);
8423
- copy.disableUntil = {
8424
- year: this.min_date.getFullYear(),
8425
- month: this.min_date.getMonth() + 1,
8426
- day: this.min_date.getDate()
8427
- };
8428
- }
8429
- ;
8430
- if (this.max_date != null) {
8431
- this.max_date.setDate(this.max_date.getDate() + 1);
8432
- copy.disableSince = {
8433
- year: this.max_date.getFullYear(),
8434
- month: this.max_date.getMonth() + 1,
8435
- day: this.max_date.getDate()
8436
- };
8437
- }
8438
- ;
8439
- this.myDatePickerOptions = copy;
8440
- }
8441
- setToday() {
8442
- this.date_sel = {
8443
- date: {
8444
- year: new Date().getFullYear(),
8445
- month: new Date().getMonth() + 1,
8446
- day: new Date().getDate()
8447
- }
8448
- };
8449
- }
8450
- setValue(d) {
8451
- //console.log('setValue');
8452
- //console.log(d);
8453
- if (d == null) {
8454
- this.date_sel = null;
8455
- return;
8456
- }
8457
- this.date_sel = { date: { year: d.getFullYear(), month: d.getMonth() + 1, day: d.getDate() } };
8458
- }
8459
- };
8460
- __decorate([
8461
- Input(),
8462
- __metadata("design:type", String)
8463
- ], DtPick.prototype, "label", void 0);
8464
- __decorate([
8465
- Input(),
8466
- __metadata("design:type", Boolean)
8467
- ], DtPick.prototype, "required", void 0);
8468
- __decorate([
8469
- Input(),
8470
- __metadata("design:type", Boolean)
8471
- ], DtPick.prototype, "show_buttons", void 0);
8472
- __decorate([
8473
- Input(),
8474
- __metadata("design:type", Boolean)
8475
- ], DtPick.prototype, "enabled", void 0);
8476
- __decorate([
8477
- Input(),
8478
- __metadata("design:type", Date)
8479
- ], DtPick.prototype, "min_date", void 0);
8480
- __decorate([
8481
- Input(),
8482
- __metadata("design:type", Date)
8483
- ], DtPick.prototype, "max_date", void 0);
8484
- __decorate([
8485
- Output(),
8486
- __metadata("design:type", EventEmitter)
8487
- ], DtPick.prototype, "change", void 0);
8488
- __decorate([
8489
- ViewChild('appdt'),
8490
- __metadata("design:type", MyDatePicker)
8491
- ], DtPick.prototype, "dtc", void 0);
8492
- DtPick = __decorate([
8493
- Component({
8494
- selector: 'DtPicker',
8495
- template: `
8496
- <div [hidden]="!show_buttons||!enabled">
8497
- <button mat-flat-button style="background-color: #F5F5F5" (click)="add_year()">+1 Anno</button>
8498
- <button mat-flat-button style="background-color: #F5F5F5" (click)="ini_year()">Inizio Anno</button>
8499
- <button mat-flat-button style="background-color: #F5F5F5" (click)="fin_year()">Fine Anno</button>
8500
- </div>
8501
-
8502
- <div class="lb_small_grigia">{{label}}</div>
8503
- <my-date-picker (dateChanged)="dt_ch()" #appdt [options]="myDatePickerOptions" *ngIf="enabled"
8504
- [(ngModel)]="date_sel"></my-date-picker>
8505
-
8506
- <div *ngIf="!enabled" class="label_dis">
8507
- {{this.date_sel?.date.day}}/{{this.date_sel?.date.month}}/{{this.date_sel?.date.year}}
8508
- </div>
8509
- `,
8510
- styles: [`
8511
- .lb_small_grigia {
8512
- font-size: 12px;
8513
- color: #B8B8B8;
8514
- }
8515
-
8516
- .label_dis {
8517
- font-size: 14px;
8518
- font-weight: bold;
8519
- }
8520
- `]
8521
- }),
8522
- __metadata("design:paramtypes", [])
8523
- ], DtPick);
8524
-
8525
8215
  let FHPickListComponent = class FHPickListComponent {
8526
8216
  constructor(dialogRef, _dataService, toastr) {
8527
8217
  this.dialogRef = dialogRef;
@@ -8544,7 +8234,7 @@ let FHPickListComponent = class FHPickListComponent {
8544
8234
  this.values = [];
8545
8235
  this.value_sel = new Array();
8546
8236
  }
8547
- ngOnInit() {
8237
+ ngAfterViewInit() {
8548
8238
  }
8549
8239
  filtra() {
8550
8240
  this.value_list_sel = new Array();
@@ -8835,7 +8525,7 @@ let WinAskNumberComponent = class WinAskNumberComponent {
8835
8525
  this.valore_min = 1;
8836
8526
  this.valore_max = 1000000;
8837
8527
  }
8838
- ngOnInit() {
8528
+ ngAfterViewInit() {
8839
8529
  }
8840
8530
  show() {
8841
8531
  }
@@ -8914,7 +8604,7 @@ let FHMdReader = class FHMdReader {
8914
8604
  this.highlighted = true;
8915
8605
  }
8916
8606
  }
8917
- ngOnInit() {
8607
+ ngAfterViewInit() {
8918
8608
  }
8919
8609
  };
8920
8610
  FHMdReader.ctorParameters = () => [
@@ -8984,7 +8674,7 @@ let FHLogPanelComponent = class FHLogPanelComponent {
8984
8674
  reload() {
8985
8675
  this.datagrid.doFill("[applicativo]='" + this.m_app + "' and [iddocumento]='" + this.m_k + "'");
8986
8676
  }
8987
- ngOnInit() {
8677
+ ngAfterViewInit() {
8988
8678
  }
8989
8679
  };
8990
8680
  FHLogPanelComponent.ctorParameters = () => [
@@ -9130,7 +8820,7 @@ let FHCurrencyFieldComponent = class FHCurrencyFieldComponent {
9130
8820
  setFocus() {
9131
8821
  this.el.nativeElement.focus();
9132
8822
  }
9133
- ngOnInit() {
8823
+ ngAfterViewInit() {
9134
8824
  if (this.required)
9135
8825
  this.el.nativeElement.required = this.required;
9136
8826
  this.el.nativeElement.disabled = !this.enabled;
@@ -9237,7 +8927,7 @@ let FHRichText = class FHRichText {
9237
8927
  onBlur(o) {
9238
8928
  this.blur.emit(o);
9239
8929
  }
9240
- ngOnInit() {
8930
+ ngAfterViewInit() {
9241
8931
  this.config = { height: this.height };
9242
8932
  if (this.enabled) {
9243
8933
  this.config.toolbarGroups = [
@@ -9342,7 +9032,7 @@ let WinOutputComponent = class WinOutputComponent {
9342
9032
  this.min_chars = 3;
9343
9033
  this.max_chars = 50;
9344
9034
  }
9345
- ngOnInit() {
9035
+ ngAfterViewInit() {
9346
9036
  }
9347
9037
  close() { this.dialogRef.close(null); }
9348
9038
  show() {
@@ -9502,7 +9192,7 @@ let FHNumericFieldComponent = class FHNumericFieldComponent {
9502
9192
  setFocus() {
9503
9193
  this.el.nativeElement.focus();
9504
9194
  }
9505
- ngOnInit() {
9195
+ ngAfterViewInit() {
9506
9196
  if (this.required)
9507
9197
  this.el.nativeElement.required = this.required;
9508
9198
  this.el.nativeElement.disabled = !this.enabled;
@@ -9605,7 +9295,7 @@ let FHListPick = class FHListPick {
9605
9295
  return;
9606
9296
  this.dialogRef.close(this.cmb_sel.getObjects());
9607
9297
  }
9608
- ngOnInit() {
9298
+ ngAfterViewInit() {
9609
9299
  }
9610
9300
  };
9611
9301
  FHListPick.ctorParameters = () => [
@@ -9656,7 +9346,7 @@ let win_salva_annulla = class win_salva_annulla {
9656
9346
  esci_senza_salv() {
9657
9347
  this.dialogRef.close("esci_senza_salv");
9658
9348
  }
9659
- ngOnInit() {
9349
+ ngAfterViewInit() {
9660
9350
  }
9661
9351
  };
9662
9352
  win_salva_annulla.ctorParameters = () => [
@@ -9728,7 +9418,7 @@ let win_assegna = class win_assegna {
9728
9418
  o.arrsel = this.up.getSelArr();
9729
9419
  this.dialogRef.close(o);
9730
9420
  }
9731
- ngOnInit() {
9421
+ ngAfterViewInit() {
9732
9422
  }
9733
9423
  };
9734
9424
  win_assegna.ctorParameters = () => [
@@ -9808,7 +9498,7 @@ let win_conferma = class win_conferma {
9808
9498
  close() {
9809
9499
  this.dialogRef.close("abort");
9810
9500
  }
9811
- ngOnInit() {
9501
+ ngAfterViewInit() {
9812
9502
  }
9813
9503
  };
9814
9504
  win_conferma.ctorParameters = () => [
@@ -9873,7 +9563,7 @@ let win_select_canale = class win_select_canale {
9873
9563
  }
9874
9564
  this.dialogRef.close(this.selval);
9875
9565
  }
9876
- ngOnInit() {
9566
+ ngAfterViewInit() {
9877
9567
  }
9878
9568
  };
9879
9569
  win_select_canale.ctorParameters = () => [
@@ -9999,7 +9689,7 @@ let win_select_level = class win_select_level {
9999
9689
  }
10000
9690
  this.dialogRef.close(this.selval);
10001
9691
  }
10002
- ngOnInit() {
9692
+ ngAfterViewInit() {
10003
9693
  }
10004
9694
  };
10005
9695
  win_select_level.ctorParameters = () => [
@@ -10058,7 +9748,7 @@ let win_uploads = class win_uploads {
10058
9748
  this.sovrascrivi_path = '';
10059
9749
  }
10060
9750
  close() { this.dialogRef.close(null); }
10061
- ngOnInit() {
9751
+ ngAfterViewInit() {
10062
9752
  this.App = this.app_s.getState().wkf_doc_info.uiid_app;
10063
9753
  this.K = this.app_s.getState().wkf_doc_info.uiid_doc;
10064
9754
  this.init(this.App, this.K);
@@ -10144,7 +9834,7 @@ let win_commento_sel_notif = class win_commento_sel_notif {
10144
9834
  o.arrsel = this.up.getSelArr();
10145
9835
  this.dialogRef.close(o);
10146
9836
  }
10147
- ngOnInit() {
9837
+ ngAfterViewInit() {
10148
9838
  }
10149
9839
  };
10150
9840
  win_commento_sel_notif.ctorParameters = () => [
@@ -10476,7 +10166,7 @@ let win_commenti = class win_commenti {
10476
10166
  }
10477
10167
  });
10478
10168
  }
10479
- ngOnInit() {
10169
+ ngAfterViewInit() {
10480
10170
  }
10481
10171
  ins() {
10482
10172
  this.nota = '';
@@ -10599,7 +10289,7 @@ let win_info_doc = class win_info_doc {
10599
10289
  this.uiid_doc = this.m_appService.getState().wkf_doc_info.uiid_doc;
10600
10290
  this.canale = this.m_appService.getState().wkf_doc_info.canale;
10601
10291
  }
10602
- ngOnInit() {
10292
+ ngAfterViewInit() {
10603
10293
  }
10604
10294
  };
10605
10295
  win_info_doc.ctorParameters = () => [
@@ -10782,7 +10472,7 @@ let win_log = class win_log {
10782
10472
  this.b_ins = true;
10783
10473
  this.title = 'INSERISCI COMMENTO';
10784
10474
  }
10785
- ngOnInit() {
10475
+ ngAfterViewInit() {
10786
10476
  setTimeout(() => {
10787
10477
  this.ric_all();
10788
10478
  }, 200);
@@ -11511,7 +11201,7 @@ let FHGridJSONComponent = class FHGridJSONComponent {
11511
11201
  return item.data.codice;
11512
11202
  return "NA";
11513
11203
  }
11514
- ngOnInit() {
11204
+ ngAfterViewInit() {
11515
11205
  // this.onResize();
11516
11206
  }
11517
11207
  okr(event) {
@@ -13587,7 +13277,7 @@ class dati_aggiuntivi {
13587
13277
  });
13588
13278
  });
13589
13279
  }
13590
- ngOnInit() {
13280
+ ngAfterViewInit() {
13591
13281
  this.init_engine();
13592
13282
  }
13593
13283
  setta_info_app(o) {
@@ -13662,7 +13352,7 @@ let wkf_header_bar = class wkf_header_bar {
13662
13352
  this.dt_agg.open_upload(); }
13663
13353
  open_wkf() { if (this.dt_agg != null)
13664
13354
  this.dt_agg.open_wkf(); }
13665
- ngOnInit() {
13355
+ ngAfterViewInit() {
13666
13356
  }
13667
13357
  };
13668
13358
  wkf_header_bar.ctorParameters = () => [
@@ -13776,7 +13466,7 @@ let FormBuilderComponent = class FormBuilderComponent {
13776
13466
  }
13777
13467
  });
13778
13468
  }
13779
- ngOnInit() {
13469
+ ngAfterViewInit() {
13780
13470
  try {
13781
13471
  this.dragula.createGroup('bag-items', {
13782
13472
  revertOnSpill: true
@@ -13961,7 +13651,7 @@ let FormExecuterComponent = class FormExecuterComponent {
13961
13651
  setStyles(o) {
13962
13652
  return { width: '90%', padding: '15px', margin: '15px', border: '1px solid #3db3cd', 'background-color': "#ECF0F1" };
13963
13653
  }
13964
- ngOnInit() {
13654
+ ngAfterViewInit() {
13965
13655
  }
13966
13656
  };
13967
13657
  FormExecuterComponent.ctorParameters = () => [
@@ -14049,7 +13739,7 @@ let WinAskButtonsComponent = class WinAskButtonsComponent {
14049
13739
  this.title = "";
14050
13740
  this.button_config = [];
14051
13741
  }
14052
- ngOnInit() {
13742
+ ngAfterViewInit() {
14053
13743
  }
14054
13744
  open(o) {
14055
13745
  this.dialogRef.close(o);
@@ -14120,7 +13810,7 @@ let win_show_image = class win_show_image {
14120
13810
  this.imageIndex = 0;
14121
13811
  this.images = [];
14122
13812
  }
14123
- ngOnInit() {
13813
+ ngAfterViewInit() {
14124
13814
  }
14125
13815
  };
14126
13816
  win_show_image.ctorParameters = () => [
@@ -14196,7 +13886,7 @@ let FHViewerComponent = class FHViewerComponent {
14196
13886
  this.notfullScreenEvent = new EventEmitter();
14197
13887
  this.fullScreenEvent = new EventEmitter();
14198
13888
  }
14199
- ngOnInit() {
13889
+ ngAfterViewInit() {
14200
13890
  const merged = this.mergeConfig(DEFAULT_CONFIG, this.moduleConfig);
14201
13891
  this.config = this.mergeConfig(merged, this.config);
14202
13892
  this.triggerConfigBinding();
@@ -14454,7 +14144,7 @@ let fhimagepreview = class fhimagepreview {
14454
14144
  //this.photo_c.toggleFullscreen()
14455
14145
  this.already_open = true;
14456
14146
  }
14457
- ngOnInit() {
14147
+ ngAfterViewInit() {
14458
14148
  this.init();
14459
14149
  }
14460
14150
  openFullscreen() {
@@ -14595,9 +14285,9 @@ fhimagepreview = __decorate([
14595
14285
  Component({
14596
14286
  selector: 'fh-image-viewer',
14597
14287
  template: `
14598
-
14288
+
14599
14289
  <image-viewer [hidden]="!m_init" (init)="init()" [preview]="m_preview" (notfullScreenEvent)="closeFullscreen()" (fullScreenEvent)="raise_fullScreenEvent()" [config]="config_photo_big" #photo_c [src]="_u?.image_thumbnail" index="0"></image-viewer>
14600
-
14290
+
14601
14291
  `,
14602
14292
  styles: [`
14603
14293
 
@@ -14696,7 +14386,7 @@ let FHFieldPickListComponent = class FHFieldPickListComponent {
14696
14386
  }
14697
14387
  });
14698
14388
  }
14699
- ngOnInit() {
14389
+ ngAfterViewInit() {
14700
14390
  }
14701
14391
  };
14702
14392
  FHFieldPickListComponent.ctorParameters = () => [
@@ -14837,7 +14527,7 @@ let win_manage_values = class win_manage_values {
14837
14527
  }
14838
14528
  ok() {
14839
14529
  }
14840
- ngOnInit() {
14530
+ ngAfterViewInit() {
14841
14531
  this.nValori = new Object();
14842
14532
  //this.nValori.valore=0;
14843
14533
  this.nValori.descrizione = '';
@@ -14951,7 +14641,7 @@ let FHTableManager = class FHTableManager {
14951
14641
  }
14952
14642
  });
14953
14643
  }
14954
- ngOnInit() {
14644
+ ngAfterViewInit() {
14955
14645
  if (this.application == "")
14956
14646
  return;
14957
14647
  this.cmb_sel.sql = "SELECT_TABLE_MANAGEMENT";
@@ -15063,7 +14753,7 @@ let win_manage_roles = class win_manage_roles {
15063
14753
  }
15064
14754
  });
15065
14755
  }
15066
- ngOnInit() {
14756
+ ngAfterViewInit() {
15067
14757
  this.ref_user_list();
15068
14758
  }
15069
14759
  };
@@ -15159,7 +14849,7 @@ let FHRoleManager = class FHRoleManager {
15159
14849
  }
15160
14850
  });
15161
14851
  }
15162
- ngOnInit() {
14852
+ ngAfterViewInit() {
15163
14853
  if (this.application == "")
15164
14854
  return;
15165
14855
  this.cmb_sel.sql = "SELECT_APP_USER_MANAGEMENT";
@@ -15455,9 +15145,6 @@ let FHComboboxComponentFilter = class FHComboboxComponentFilter {
15455
15145
  this.setByDescri(this.valDef);
15456
15146
  }
15457
15147
  ngAfterViewInit() {
15458
- // console.log("ngAfterViewInit"); console.log(this.init_fill);
15459
- }
15460
- ngOnInit() {
15461
15148
  if (this.init_fill == true) {
15462
15149
  if (this.sql == '') {
15463
15150
  //this.errorMsg="QUERY NON CONFIGURATA";
@@ -15649,7 +15336,7 @@ let win_insert_commento = class win_insert_commento {
15649
15336
  this.b_edit = false;
15650
15337
  this.title = 'COMMENTI';
15651
15338
  }
15652
- ngOnInit() {
15339
+ ngAfterViewInit() {
15653
15340
  }
15654
15341
  ins() {
15655
15342
  this.nota = '';
@@ -15723,7 +15410,7 @@ let win_user_info = class win_user_info {
15723
15410
  this.isadmin = this.appService.user_isadmin;
15724
15411
  }
15725
15412
  close() { this.dialogRef.close(null); }
15726
- ngOnInit() {
15413
+ ngAfterViewInit() {
15727
15414
  if (this.isadmin == '1')
15728
15415
  if (this.appService.dev_mode != null)
15729
15416
  if (this.appService.dev_mode == '1')
@@ -15904,7 +15591,7 @@ FHHelpButton = __decorate([
15904
15591
  selector: 'FHHelpButton', template: `
15905
15592
 
15906
15593
 
15907
-
15594
+
15908
15595
  <div style="cursor:pointer" ><mat-icon [style.color]="color" [style.background-color]="bk_color" [hidden]="hidden" (click)="open_help()">info</mat-icon></div>
15909
15596
 
15910
15597
 
@@ -15966,22 +15653,22 @@ FluxhubLibModule = FluxhubLibModule_1 = __decorate([
15966
15653
  MatPaginatorModule,
15967
15654
  MatSortModule,
15968
15655
  MatTableModule,
15969
- MatNativeDateModule, MyDatePickerModule, FileUploadModule, AgGridModule.withComponents([NumericEditorComponent, DateComponent]), CommonModule, DragulaModule, FormsModule,
15656
+ MatNativeDateModule, FileUploadModule, AgGridModule.withComponents([NumericEditorComponent]), CommonModule, DragulaModule, FormsModule,
15970
15657
  AgmCoreModule.forRoot({
15971
15658
  apiKey: 'AIzaSyD3-g3b_QqxUruxBY4PGJKaH2fubIVXvN4'
15972
15659
  }),
15973
15660
  FlexLayoutModule, MarkdownModule, CKEditorModule],
15974
15661
  exports: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, fhimagepreview, win_show_image, WinAskButtonsComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent,
15975
- FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
15662
+ FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
15976
15663
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
15977
- ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
15664
+ ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
15978
15665
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent, wkf_header_bar,
15979
15666
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, FHGridJSONComponent, win_salva_annulla, FormBuilderComponent, FormExecuterComponent, FHTableManager],
15980
15667
  declarations: [FHHelpButton, win_user_info, win_insert_commento, FHRoleManager, FHFieldPickListComponent, SafePipe, FHViewerComponent,
15981
15668
  fhimagepreview, win_show_image, WinAskButtonsComponent, FHGridToolBarComponent, win_time_slider, DecimalMask, FHTimePickerComponent, CurrencyComponent, FHUploadPanelComponent, FHUploadComponent, wkf_header_bar,
15982
- FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, DateComponent, NumericEditorComponent,
15669
+ FHGridComponent, FHComboboxComponent, FHConfirmComponent, FHAutoCompleteComponent, FHDatePickerComponent, NumericEditorComponent,
15983
15670
  FHUserPickerComponent, ApprovaGridComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, win_mappa, win_grid_help, TextAreaEditor,
15984
- ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, DtPick, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
15671
+ ComboBoxEditor, FHListComponent, FHWinComboSelect, ReplaceLineBreaks, WinAskTextComponent, FHPickListComponent, WinAskNumberComponent,
15985
15672
  FHMdReader, FHLogPanelComponent, WinAskTextBigComponent, FHCurrencyFieldComponent, FHRichText, WinOutputComponent, FHNumericFieldComponent,
15986
15673
  FHListPick, WinWait, FHUserFieldComponent, FSInput, FSResult, QGParam, QGResult, QParam, QResult, win_salva_annulla, win_assegna,
15987
15674
  win_conferma, win_select_canale, win_select_level, win_uploads, win_commenti, win_info_doc, win_log, win_recupera_doc, win_riassegna_select_level,
@@ -16155,14 +15842,6 @@ FHGuard = __decorate([
16155
15842
  __metadata("design:paramtypes", [HttpClient, AuthenticationService, Router, ToastrService, QueryService, SlimLoadingBarService, AppService])
16156
15843
  ], FHGuard);
16157
15844
 
16158
- class dt {
16159
- constructor(y, m, d) {
16160
- this.year = y;
16161
- this.month = m;
16162
- this.day = d;
16163
- }
16164
- }
16165
-
16166
15845
  /*
16167
15846
  * Public API Surface of fluxhub-lib
16168
15847
  */
@@ -16171,5 +15850,5 @@ class dt {
16171
15850
  * Generated bundle index. Do not edit.
16172
15851
  */
16173
15852
 
16174
- export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, DateComponent, DtPick, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WinAskButtonsComponent, WinAskNumberComponent, WinAskTextBigComponent, WinAskTextComponent, WinOutputComponent, WinWait, WkfService, dati_aggiuntivi, dt, fhimagepreview, win_insert_commento, win_mappa, win_salva_annulla, win_show_image, win_time_slider, win_user_info, wkf_header_bar, wkfapp, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵb, win_riassegna_select_user as ɵba, win_sostituisci_utente as ɵbb, win_commento_sel_notif as ɵbc, win_manage_values as ɵbd, win_manage_roles as ɵbe, FHComboboxComponentFilter as ɵbf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
15853
+ export { AppMakerService, AppService, ApprovaGridComponent, AuthenticationService, ComboBoxEditor, CurrencyComponent, FHAutoCompleteComponent, FHComboboxComponent, FHConfirmComponent, FHCurrencyFieldComponent, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHFieldPickListComponent, FHGridComponent, FHGridJSONComponent, FHGuard, FHListComponent, FHListPick, FHLogPanelComponent, FHMdReader, FHNumericFieldComponent, FHPickListComponent, FHRichText, FHRoleManager, FHTableManager, FHTimePickerComponent, FHUploadComponent, FHUploadPanelComponent, FHUserFieldComponent, FHUserPickerComponent, FHWinComboSelect, FSInput, FSResult, FileService, FluxhubLibModule, FormBuilderComponent, FormExecuterComponent, GridService, LocalDBService, NumericEditorComponent, OdbcService, OfficeAutomatorService, QGParam, QGResult, QParam, QResult, QueryService, ReplaceLineBreaks, TextAreaEditor, UtilityService, WinAskButtonsComponent, WinAskNumberComponent, WinAskTextBigComponent, WinAskTextComponent, WinOutputComponent, WinWait, WkfService, dati_aggiuntivi, fhimagepreview, win_insert_commento, win_mappa, win_salva_annulla, win_show_image, win_time_slider, win_user_info, wkf_header_bar, wkfapp, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2 as ɵa, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1 as ɵb, win_riassegna_select_user as ɵba, win_sostituisci_utente as ɵbb, win_commento_sel_notif as ɵbc, win_manage_values as ɵbd, win_manage_roles as ɵbe, FHComboboxComponentFilter as ɵbf, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC as ɵc, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_RT as ɵd, CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR as ɵe, FHHelpButton as ɵf, SafePipe as ɵg, DecimalMask as ɵh, FHValueAccessor as ɵi, MOMENT_DATE_FORMATS as ɵj, MomentDateAdapter as ɵk, win_grid_help as ɵl, HighlightService as ɵm, FHViewerComponent as ɵn, FHGridToolBarComponent as ɵp, win_assegna as ɵq, win_conferma as ɵr, win_select_canale as ɵs, win_select_level as ɵt, win_uploads as ɵu, win_commenti as ɵv, win_info_doc as ɵw, win_log as ɵx, win_recupera_doc as ɵy, win_riassegna_select_level as ɵz };
16175
15854
  //# sourceMappingURL=fluxhub-fluxhub-lib.js.map