@fluxhub/fluxhub-lib 1.1.1 → 9.0.1
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 +388 -345
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/app_manager/fhrolemanager.js +11 -9
- package/esm2015/lib/controls/app_manager/fhtablevaluesmanager.js +11 -9
- package/esm2015/lib/controls/app_manager/win_manage_roles.js +5 -3
- package/esm2015/lib/controls/app_manager/win_manage_values.js +13 -11
- package/esm2015/lib/controls/fhautocomplete.js +15 -18
- package/esm2015/lib/controls/fhcombobox.js +15 -16
- package/esm2015/lib/controls/fhconfirm.js +2 -2
- package/esm2015/lib/controls/fhcurrencyfield.js +10 -8
- package/esm2015/lib/controls/fhcurrencyformatter.js +6 -4
- package/esm2015/lib/controls/fhdatepicker.js +5 -3
- package/esm2015/lib/controls/fhfieldpicklist.js +2 -2
- package/esm2015/lib/controls/fhgrid.js +9 -7
- package/esm2015/lib/controls/fhgrid_json.js +2 -2
- package/esm2015/lib/controls/fhgrid_win_help.js +2 -2
- package/esm2015/lib/controls/fhhelpbutton.js +2 -2
- package/esm2015/lib/controls/fhimagepreview.js +7 -5
- package/esm2015/lib/controls/fhlist.js +16 -16
- package/esm2015/lib/controls/fhlogpanel.js +2 -2
- package/esm2015/lib/controls/fhmdreader.js +2 -2
- package/esm2015/lib/controls/fhnumeric.js +11 -9
- package/esm2015/lib/controls/fhrichtext.js +36 -34
- package/esm2015/lib/controls/fhtimepicker.js +2 -2
- package/esm2015/lib/controls/fhupload.js +40 -38
- package/esm2015/lib/controls/fhuploadpanel.js +18 -14
- package/esm2015/lib/controls/fhuserfield.js +6 -4
- package/esm2015/lib/controls/fhuserpicker.js +34 -32
- package/esm2015/lib/controls/fhwinpicklist.js +2 -2
- package/esm2015/lib/controls/grid_editors/approvabuttons.js +1 -5
- package/esm2015/lib/controls/grid_editors/fhcombobox_filter.js +15 -16
- package/esm2015/lib/controls/grid_editors/numeric-editor.component.js +6 -4
- package/esm2015/lib/controls/grid_editors/select-editor.component.js +1 -6
- package/esm2015/lib/controls/grid_editors/textarea-editor.component.js +2 -2
- package/esm2015/lib/controls/image-viewer/image-viewer.component.js +7 -5
- package/esm2015/lib/controls/win_ask_buttons.js +2 -2
- package/esm2015/lib/controls/win_ask_number.js +2 -2
- package/esm2015/lib/controls/win_ask_text.js +2 -2
- package/esm2015/lib/controls/win_ask_textbig.js +2 -2
- package/esm2015/lib/controls/win_combo_select.js +2 -2
- package/esm2015/lib/controls/win_list_pick.js +2 -2
- package/esm2015/lib/controls/win_mappa.js +2 -2
- package/esm2015/lib/controls/win_output.js +2 -2
- package/esm2015/lib/controls/win_show_image.js +2 -2
- package/esm2015/lib/controls/win_time_slider.js +12 -10
- package/esm2015/lib/controls/win_user_info.js +19 -17
- package/esm2015/lib/controls/win_wait.js +2 -2
- package/esm2015/lib/fluxhub-lib.module.js +1 -1
- package/esm2015/lib/form_builder/form_builder.js +21 -19
- package/esm2015/lib/form_builder/form_executer.js +2 -2
- package/esm2015/lib/wkf_engine/win_assegna.js +2 -2
- package/esm2015/lib/wkf_engine/win_commenti.js +2 -2
- package/esm2015/lib/wkf_engine/win_commento_sel_notif.js +2 -2
- package/esm2015/lib/wkf_engine/win_conferma.js +2 -2
- package/esm2015/lib/wkf_engine/win_info_doc.js +2 -2
- package/esm2015/lib/wkf_engine/win_insert_commento.js +2 -2
- package/esm2015/lib/wkf_engine/win_log.js +2 -2
- package/esm2015/lib/wkf_engine/win_riassegna_select_level.js +2 -2
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +2 -2
- package/esm2015/lib/wkf_engine/win_salva_annulla.js +2 -2
- package/esm2015/lib/wkf_engine/win_select_canale.js +2 -2
- package/esm2015/lib/wkf_engine/win_select_level.js +2 -2
- package/esm2015/lib/wkf_engine/win_sostituisci_utente.js +2 -2
- package/esm2015/lib/wkf_engine/win_uploads.js +7 -5
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +2 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +5 -3
- package/esm2015/public_api.js +1 -2
- package/esm5/lib/controls/app_manager/fhrolemanager.js +12 -9
- package/esm5/lib/controls/app_manager/fhtablevaluesmanager.js +12 -9
- package/esm5/lib/controls/app_manager/win_manage_roles.js +6 -3
- package/esm5/lib/controls/app_manager/win_manage_values.js +14 -11
- package/esm5/lib/controls/fhautocomplete.js +16 -18
- package/esm5/lib/controls/fhcombobox.js +16 -16
- package/esm5/lib/controls/fhconfirm.js +2 -2
- package/esm5/lib/controls/fhcurrencyfield.js +11 -8
- package/esm5/lib/controls/fhcurrencyformatter.js +7 -4
- package/esm5/lib/controls/fhdatepicker.js +6 -3
- package/esm5/lib/controls/fhfieldpicklist.js +2 -2
- package/esm5/lib/controls/fhgrid.js +10 -7
- package/esm5/lib/controls/fhgrid_json.js +2 -2
- package/esm5/lib/controls/fhgrid_win_help.js +2 -2
- package/esm5/lib/controls/fhhelpbutton.js +2 -2
- package/esm5/lib/controls/fhimagepreview.js +7 -4
- package/esm5/lib/controls/fhlist.js +17 -16
- package/esm5/lib/controls/fhlogpanel.js +2 -2
- package/esm5/lib/controls/fhmdreader.js +2 -2
- package/esm5/lib/controls/fhnumeric.js +12 -9
- package/esm5/lib/controls/fhrichtext.js +37 -34
- package/esm5/lib/controls/fhtimepicker.js +2 -2
- package/esm5/lib/controls/fhupload.js +40 -38
- package/esm5/lib/controls/fhuploadpanel.js +18 -14
- package/esm5/lib/controls/fhuserfield.js +7 -4
- package/esm5/lib/controls/fhuserpicker.js +34 -32
- package/esm5/lib/controls/fhwinpicklist.js +2 -2
- package/esm5/lib/controls/grid_editors/approvabuttons.js +1 -5
- package/esm5/lib/controls/grid_editors/fhcombobox_filter.js +16 -16
- package/esm5/lib/controls/grid_editors/numeric-editor.component.js +7 -4
- package/esm5/lib/controls/grid_editors/select-editor.component.js +1 -6
- package/esm5/lib/controls/grid_editors/textarea-editor.component.js +2 -2
- package/esm5/lib/controls/image-viewer/image-viewer.component.js +8 -5
- package/esm5/lib/controls/win_ask_buttons.js +2 -2
- package/esm5/lib/controls/win_ask_number.js +2 -2
- package/esm5/lib/controls/win_ask_text.js +2 -2
- package/esm5/lib/controls/win_ask_textbig.js +2 -2
- package/esm5/lib/controls/win_combo_select.js +2 -2
- package/esm5/lib/controls/win_list_pick.js +2 -2
- package/esm5/lib/controls/win_mappa.js +2 -2
- package/esm5/lib/controls/win_output.js +2 -2
- package/esm5/lib/controls/win_show_image.js +2 -2
- package/esm5/lib/controls/win_time_slider.js +13 -10
- package/esm5/lib/controls/win_user_info.js +19 -17
- package/esm5/lib/controls/win_wait.js +2 -2
- package/esm5/lib/fluxhub-lib.module.js +1 -1
- package/esm5/lib/form_builder/form_builder.js +21 -19
- package/esm5/lib/form_builder/form_executer.js +2 -2
- package/esm5/lib/wkf_engine/win_assegna.js +2 -2
- package/esm5/lib/wkf_engine/win_commenti.js +2 -2
- package/esm5/lib/wkf_engine/win_commento_sel_notif.js +2 -2
- package/esm5/lib/wkf_engine/win_conferma.js +2 -2
- package/esm5/lib/wkf_engine/win_info_doc.js +2 -2
- package/esm5/lib/wkf_engine/win_insert_commento.js +2 -2
- package/esm5/lib/wkf_engine/win_log.js +2 -2
- package/esm5/lib/wkf_engine/win_riassegna_select_level.js +2 -2
- package/esm5/lib/wkf_engine/win_riassegna_select_user.js +2 -2
- package/esm5/lib/wkf_engine/win_salva_annulla.js +2 -2
- package/esm5/lib/wkf_engine/win_select_canale.js +2 -2
- package/esm5/lib/wkf_engine/win_select_level.js +2 -2
- package/esm5/lib/wkf_engine/win_sostituisci_utente.js +2 -2
- package/esm5/lib/wkf_engine/win_uploads.js +8 -5
- package/esm5/lib/wkf_engine/wkf_header_bar.js +2 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +6 -3
- package/esm5/public_api.js +1 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +369 -345
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +389 -345
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/app_manager/fhrolemanager.d.ts +3 -3
- package/lib/controls/app_manager/fhtablevaluesmanager.d.ts +3 -3
- package/lib/controls/app_manager/win_manage_roles.d.ts +3 -3
- package/lib/controls/app_manager/win_manage_values.d.ts +3 -3
- package/lib/controls/fhautocomplete.d.ts +3 -3
- package/lib/controls/fhcombobox.d.ts +2 -3
- package/lib/controls/fhconfirm.d.ts +3 -3
- package/lib/controls/fhcurrencyfield.d.ts +3 -3
- package/lib/controls/fhcurrencyformatter.d.ts +3 -3
- package/lib/controls/fhdatepicker.d.ts +3 -3
- package/lib/controls/fhfieldpicklist.d.ts +3 -3
- package/lib/controls/fhgrid.d.ts +3 -3
- package/lib/controls/fhgrid_json.d.ts +1 -1
- package/lib/controls/fhgrid_win_help.d.ts +3 -3
- package/lib/controls/fhimagepreview.d.ts +3 -3
- package/lib/controls/fhlist.d.ts +2 -3
- package/lib/controls/fhlogpanel.d.ts +3 -3
- package/lib/controls/fhmdreader.d.ts +3 -3
- package/lib/controls/fhnumeric.d.ts +3 -3
- package/lib/controls/fhrichtext.d.ts +3 -3
- package/lib/controls/fhtimepicker.d.ts +3 -3
- package/lib/controls/fhupload.d.ts +3 -3
- package/lib/controls/fhuploadpanel.d.ts +3 -3
- package/lib/controls/fhuserfield.d.ts +3 -3
- package/lib/controls/fhuserpicker.d.ts +3 -3
- package/lib/controls/fhwinpicklist.d.ts +3 -3
- package/lib/controls/grid_editors/approvabuttons.d.ts +1 -3
- package/lib/controls/grid_editors/fhcombobox_filter.d.ts +2 -3
- package/lib/controls/grid_editors/select-editor.component.d.ts +1 -3
- package/lib/controls/image-viewer/image-viewer.component.d.ts +3 -3
- package/lib/controls/win_ask_buttons.d.ts +3 -3
- package/lib/controls/win_ask_number.d.ts +3 -3
- package/lib/controls/win_ask_text.d.ts +3 -3
- package/lib/controls/win_ask_textbig.d.ts +3 -3
- package/lib/controls/win_combo_select.d.ts +3 -3
- package/lib/controls/win_list_pick.d.ts +3 -3
- package/lib/controls/win_mappa.d.ts +3 -3
- package/lib/controls/win_output.d.ts +3 -3
- package/lib/controls/win_show_image.d.ts +3 -3
- package/lib/controls/win_time_slider.d.ts +3 -3
- package/lib/controls/win_user_info.d.ts +3 -3
- package/lib/controls/win_wait.d.ts +3 -3
- package/lib/form_builder/form_builder.d.ts +3 -3
- package/lib/form_builder/form_executer.d.ts +3 -3
- package/lib/wkf_engine/win_assegna.d.ts +3 -3
- package/lib/wkf_engine/win_commenti.d.ts +3 -3
- package/lib/wkf_engine/win_commento_sel_notif.d.ts +3 -3
- package/lib/wkf_engine/win_conferma.d.ts +3 -3
- package/lib/wkf_engine/win_info_doc.d.ts +3 -3
- package/lib/wkf_engine/win_insert_commento.d.ts +3 -3
- package/lib/wkf_engine/win_log.d.ts +3 -3
- package/lib/wkf_engine/win_riassegna_select_level.d.ts +3 -3
- package/lib/wkf_engine/win_riassegna_select_user.d.ts +3 -3
- package/lib/wkf_engine/win_salva_annulla.d.ts +3 -3
- package/lib/wkf_engine/win_select_canale.d.ts +3 -3
- package/lib/wkf_engine/win_select_level.d.ts +3 -3
- package/lib/wkf_engine/win_sostituisci_utente.d.ts +3 -3
- package/lib/wkf_engine/win_uploads.d.ts +3 -3
- package/lib/wkf_engine/wkf_header_bar.d.ts +3 -3
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +0 -1
- package/esm2015/lib/controls/grid_editors/dt.js +0 -8
- package/esm5/lib/controls/grid_editors/dt.js +0 -10
- package/lib/controls/grid_editors/dt.d.ts +0 -7
|
@@ -1105,9 +1105,12 @@
|
|
|
1105
1105
|
};
|
|
1106
1106
|
// dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
|
|
1107
1107
|
NumericEditorComponent.prototype.ngAfterViewInit = function () {
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1108
|
+
var _this = this;
|
|
1109
|
+
setTimeout(function () {
|
|
1110
|
+
//console.log(this.input.element.nativeElement);
|
|
1111
|
+
// this.input.first.nativeElement.focus();
|
|
1112
|
+
_this.input.element.nativeElement.focus();
|
|
1113
|
+
});
|
|
1111
1114
|
// this.input.element.nativeElement.setSelectionRange(0, this.input.element.nativeElement.value.length)
|
|
1112
1115
|
/*if (this.input.nativeElement.classList.contains('ng-untouched')) {
|
|
1113
1116
|
this.input.invokeElementMethod(this.input.nativeElement, 'focus', []);
|
|
@@ -1174,15 +1177,18 @@
|
|
|
1174
1177
|
}
|
|
1175
1178
|
this.dialogRef.close(this.res);
|
|
1176
1179
|
};
|
|
1177
|
-
win_time_slider.prototype.
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1180
|
+
win_time_slider.prototype.ngAfterViewInit = function () {
|
|
1181
|
+
var _this = this;
|
|
1182
|
+
setTimeout(function () {
|
|
1183
|
+
if (_this.m_appService.getState().appo_dialog != null)
|
|
1184
|
+
if (_this.m_appService.getState().appo_dialog.val != null) {
|
|
1185
|
+
var a = _this.m_appService.getState().appo_dialog.val.split(':');
|
|
1186
|
+
_this.h = parseInt(a[0]);
|
|
1187
|
+
_this.m = parseInt(a[1]);
|
|
1188
|
+
_this.res = _this.m_appService.getState().appo_dialog.val;
|
|
1189
|
+
return;
|
|
1190
|
+
}
|
|
1191
|
+
});
|
|
1186
1192
|
};
|
|
1187
1193
|
win_time_slider.ctorParameters = function () { return [
|
|
1188
1194
|
{ type: dialog.MatDialogRef },
|
|
@@ -1568,7 +1574,7 @@
|
|
|
1568
1574
|
FHTimePickerComponent.prototype.getMinutes = function () {
|
|
1569
1575
|
return this.m;
|
|
1570
1576
|
};
|
|
1571
|
-
FHTimePickerComponent.prototype.
|
|
1577
|
+
FHTimePickerComponent.prototype.ngAfterViewInit = function () {
|
|
1572
1578
|
};
|
|
1573
1579
|
FHTimePickerComponent.prototype.sc = function () {
|
|
1574
1580
|
var value = this.getValue();
|
|
@@ -1684,7 +1690,7 @@
|
|
|
1684
1690
|
FHConfirmComponent.prototype.setMsg = function (texto) {
|
|
1685
1691
|
this.msg = texto;
|
|
1686
1692
|
};
|
|
1687
|
-
FHConfirmComponent.prototype.
|
|
1693
|
+
FHConfirmComponent.prototype.ngAfterViewInit = function () {
|
|
1688
1694
|
};
|
|
1689
1695
|
FHConfirmComponent.ctorParameters = function () { return [
|
|
1690
1696
|
{ type: dialog.MatDialogRef },
|
|
@@ -1894,22 +1900,23 @@
|
|
|
1894
1900
|
this.setByDescri(this.valDef);
|
|
1895
1901
|
};
|
|
1896
1902
|
FHListComponent.prototype.ngAfterViewInit = function () {
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1903
|
+
var _this = this;
|
|
1904
|
+
setTimeout(function () {
|
|
1905
|
+
// console.log("ngAfterViewInit"); console.log(this.init_fill);
|
|
1906
|
+
if (_this.init_fill == true) {
|
|
1907
|
+
if (_this.sql == '') {
|
|
1908
|
+
//this.errorMsg="QUERY NON CONFIGURATA";
|
|
1909
|
+
return;
|
|
1910
|
+
}
|
|
1911
|
+
_this.fillCombo();
|
|
1902
1912
|
}
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
.emit();
|
|
1911
|
-
};
|
|
1912
|
-
FHListComponent.prototype.ngOnInit = function () {
|
|
1913
|
+
else {
|
|
1914
|
+
_this.errorMsg = "";
|
|
1915
|
+
}
|
|
1916
|
+
_this
|
|
1917
|
+
.initend
|
|
1918
|
+
.emit();
|
|
1919
|
+
});
|
|
1913
1920
|
};
|
|
1914
1921
|
FHListComponent.prototype.sc = function () {
|
|
1915
1922
|
this
|
|
@@ -1991,7 +1998,7 @@
|
|
|
1991
1998
|
if (p == 100)
|
|
1992
1999
|
this.dialogRef.close();
|
|
1993
2000
|
};
|
|
1994
|
-
WinWait.prototype.
|
|
2001
|
+
WinWait.prototype.ngAfterViewInit = function () {
|
|
1995
2002
|
};
|
|
1996
2003
|
WinWait.ctorParameters = function () { return [
|
|
1997
2004
|
{ type: dialog.MatDialogRef },
|
|
@@ -2263,22 +2270,22 @@
|
|
|
2263
2270
|
this.setByDescri(this.valDef);
|
|
2264
2271
|
};
|
|
2265
2272
|
FHComboboxComponent.prototype.ngAfterViewInit = function () {
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
+
var _this = this;
|
|
2274
|
+
setTimeout(function () {
|
|
2275
|
+
if (_this.init_fill == true) {
|
|
2276
|
+
if (_this.sql == '') {
|
|
2277
|
+
//this.errorMsg="QUERY NON CONFIGURATA";
|
|
2278
|
+
return;
|
|
2279
|
+
}
|
|
2280
|
+
_this.fillCombo();
|
|
2273
2281
|
}
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
.emit();
|
|
2282
|
+
else {
|
|
2283
|
+
_this.errorMsg = "";
|
|
2284
|
+
}
|
|
2285
|
+
_this
|
|
2286
|
+
.initend
|
|
2287
|
+
.emit();
|
|
2288
|
+
});
|
|
2282
2289
|
};
|
|
2283
2290
|
FHComboboxComponent.prototype.sc = function () {
|
|
2284
2291
|
this
|
|
@@ -2465,45 +2472,47 @@
|
|
|
2465
2472
|
this.cmb_tipo.sql = this.tipo;
|
|
2466
2473
|
this.cmb_tipo.fillCombo();
|
|
2467
2474
|
};
|
|
2468
|
-
FHUploadComponent.prototype.
|
|
2475
|
+
FHUploadComponent.prototype.ngAfterViewInit = function () {
|
|
2469
2476
|
var _this = this;
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
_this.
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
if (_this.dialogRef
|
|
2479
|
-
_this.dialogRef.componentInstance
|
|
2480
|
-
|
|
2477
|
+
setTimeout(function () {
|
|
2478
|
+
var uo = {};
|
|
2479
|
+
uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(_this.app_s.COMPANY_KEY + "token") }];
|
|
2480
|
+
// console.log('ngAfterViewInit!!');
|
|
2481
|
+
_this.uploader.setOptions(uo);
|
|
2482
|
+
_this.uploader.onCompleteAll = function () {
|
|
2483
|
+
_this.loading = false;
|
|
2484
|
+
_this.upload_ended.emit();
|
|
2485
|
+
if (_this.dialogRef != null)
|
|
2486
|
+
if (_this.dialogRef.componentInstance != null) {
|
|
2487
|
+
_this.dialogRef.componentInstance.update_progess(100);
|
|
2488
|
+
_this.dialogRef = null;
|
|
2489
|
+
}
|
|
2490
|
+
};
|
|
2491
|
+
_this.uploader.onErrorItem = function (a, b, c, d) {
|
|
2492
|
+
_this.toastr.error(b);
|
|
2493
|
+
};
|
|
2494
|
+
_this.uploader.onAfterAddingFile = function (fileItem) {
|
|
2495
|
+
_this.ch(fileItem);
|
|
2496
|
+
};
|
|
2497
|
+
_this.uploader.onProgressItem = function (fileItem, progress) {
|
|
2498
|
+
// console.log(fileItem);
|
|
2499
|
+
// console.log(progress);
|
|
2500
|
+
_this.loading = true;
|
|
2501
|
+
if (_this.dialogRef != null)
|
|
2502
|
+
if (_this.dialogRef.componentInstance != null)
|
|
2503
|
+
_this.dialogRef.componentInstance.update_progess(progress);
|
|
2504
|
+
};
|
|
2505
|
+
_this.uploader.onWhenAddingFileFailed = function (item, filter, options) {
|
|
2506
|
+
switch (filter.name) {
|
|
2507
|
+
case 'fileSize':
|
|
2508
|
+
var ar = Math.round(item.size / 1024 / 1024);
|
|
2509
|
+
_this.toastr.error(_this.limit_string.split('<size>').join('' + ar));
|
|
2510
|
+
break;
|
|
2511
|
+
default:
|
|
2512
|
+
_this.toastr.error("Errore: " + filter.name);
|
|
2481
2513
|
}
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
_this.toastr.error(b);
|
|
2485
|
-
};
|
|
2486
|
-
this.uploader.onAfterAddingFile = function (fileItem) {
|
|
2487
|
-
_this.ch(fileItem);
|
|
2488
|
-
};
|
|
2489
|
-
this.uploader.onProgressItem = function (fileItem, progress) {
|
|
2490
|
-
// console.log(fileItem);
|
|
2491
|
-
// console.log(progress);
|
|
2492
|
-
_this.loading = true;
|
|
2493
|
-
if (_this.dialogRef != null)
|
|
2494
|
-
if (_this.dialogRef.componentInstance != null)
|
|
2495
|
-
_this.dialogRef.componentInstance.update_progess(progress);
|
|
2496
|
-
};
|
|
2497
|
-
this.uploader.onWhenAddingFileFailed = function (item, filter, options) {
|
|
2498
|
-
switch (filter.name) {
|
|
2499
|
-
case 'fileSize':
|
|
2500
|
-
var ar = Math.round(item.size / 1024 / 1024);
|
|
2501
|
-
_this.toastr.error(_this.limit_string.split('<size>').join('' + ar));
|
|
2502
|
-
break;
|
|
2503
|
-
default:
|
|
2504
|
-
_this.toastr.error("Errore: " + filter.name);
|
|
2505
|
-
}
|
|
2506
|
-
};
|
|
2514
|
+
};
|
|
2515
|
+
});
|
|
2507
2516
|
};
|
|
2508
2517
|
FHUploadComponent.prototype.download_all = function () {
|
|
2509
2518
|
window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + this.App + '/' + this.K + '/' + this.file_name);
|
|
@@ -2918,7 +2927,7 @@
|
|
|
2918
2927
|
this.show_ok = true;
|
|
2919
2928
|
this.min_chars = 3;
|
|
2920
2929
|
}
|
|
2921
|
-
WinAskTextBigComponent.prototype.
|
|
2930
|
+
WinAskTextBigComponent.prototype.ngAfterViewInit = function () {
|
|
2922
2931
|
};
|
|
2923
2932
|
WinAskTextBigComponent.prototype.close = function () { this.dialogRef.close(null); };
|
|
2924
2933
|
WinAskTextBigComponent.prototype.show = function () {
|
|
@@ -2999,7 +3008,7 @@
|
|
|
2999
3008
|
this.cmb_sel.getObj().nota = this.nota_val;
|
|
3000
3009
|
this.dialogRef.close(this.cmb_sel.getObj());
|
|
3001
3010
|
};
|
|
3002
|
-
FHWinComboSelect.prototype.
|
|
3011
|
+
FHWinComboSelect.prototype.ngAfterViewInit = function () {
|
|
3003
3012
|
};
|
|
3004
3013
|
FHWinComboSelect.ctorParameters = function () { return [
|
|
3005
3014
|
{ type: dialog.MatDialogRef },
|
|
@@ -3162,19 +3171,23 @@
|
|
|
3162
3171
|
}
|
|
3163
3172
|
});
|
|
3164
3173
|
};
|
|
3165
|
-
FHUploadPanelComponent.prototype.
|
|
3174
|
+
FHUploadPanelComponent.prototype.ngAfterViewInit = function () {
|
|
3166
3175
|
var _this = this;
|
|
3167
|
-
setTimeout(function () {
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
.
|
|
3173
|
-
.
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3176
|
+
setTimeout(function () {
|
|
3177
|
+
setTimeout(function () {
|
|
3178
|
+
_this.b_initt = true;
|
|
3179
|
+
}, 700);
|
|
3180
|
+
_this.upc.single = false;
|
|
3181
|
+
_this.b_mobile = _this._appservice.getState().pageFullscreen;
|
|
3182
|
+
console.log('this.m_p_tipo ', _this.m_p_tipo);
|
|
3183
|
+
_this
|
|
3184
|
+
.upc
|
|
3185
|
+
.init(_this.App, _this.K, 'Descrizione Allegato', _this.m_p_tipo, _this.m_programma_da_eseguire);
|
|
3186
|
+
if (_this.m_p_tipo.indexOf('SELECT_') > -1) {
|
|
3187
|
+
_this.multi_list = true;
|
|
3188
|
+
}
|
|
3189
|
+
_this.ref_allegato();
|
|
3190
|
+
});
|
|
3178
3191
|
};
|
|
3179
3192
|
FHUploadPanelComponent.prototype.init = function (p_app, p_k, p_tipo, programma_da_eseguire) {
|
|
3180
3193
|
if (p_tipo === void 0) { p_tipo = ""; }
|
|
@@ -3185,7 +3198,7 @@
|
|
|
3185
3198
|
this.b_edit_loaded = false;
|
|
3186
3199
|
this.m_p_tipo = p_tipo;
|
|
3187
3200
|
this.m_programma_da_eseguire = programma_da_eseguire;
|
|
3188
|
-
this.
|
|
3201
|
+
this.ngAfterViewInit();
|
|
3189
3202
|
};
|
|
3190
3203
|
FHUploadPanelComponent.prototype.ref_allegato = function () {
|
|
3191
3204
|
var _this = this;
|
|
@@ -3362,7 +3375,7 @@
|
|
|
3362
3375
|
this.title = "";
|
|
3363
3376
|
}
|
|
3364
3377
|
win_grid_help.prototype.close = function () { this.dialogRef.close(null); };
|
|
3365
|
-
win_grid_help.prototype.
|
|
3378
|
+
win_grid_help.prototype.ngAfterViewInit = function () {
|
|
3366
3379
|
};
|
|
3367
3380
|
win_grid_help.ctorParameters = function () { return [
|
|
3368
3381
|
{ type: dialog.MatDialogRef },
|
|
@@ -3389,7 +3402,7 @@
|
|
|
3389
3402
|
this.min_chars = 3;
|
|
3390
3403
|
this.max_chars = 50;
|
|
3391
3404
|
}
|
|
3392
|
-
WinAskTextComponent.prototype.
|
|
3405
|
+
WinAskTextComponent.prototype.ngAfterViewInit = function () {
|
|
3393
3406
|
};
|
|
3394
3407
|
WinAskTextComponent.prototype.close = function () { this.dialogRef.close(null); };
|
|
3395
3408
|
WinAskTextComponent.prototype.show = function () {
|
|
@@ -3578,7 +3591,7 @@
|
|
|
3578
3591
|
}
|
|
3579
3592
|
this.dialogRef.close({ lvl_sel: lvl, result: 'ok' });
|
|
3580
3593
|
};
|
|
3581
|
-
win_riassegna_select_level.prototype.
|
|
3594
|
+
win_riassegna_select_level.prototype.ngAfterViewInit = function () {
|
|
3582
3595
|
};
|
|
3583
3596
|
win_riassegna_select_level.ctorParameters = function () { return [
|
|
3584
3597
|
{ type: dialog.MatDialogRef },
|
|
@@ -3641,40 +3654,42 @@
|
|
|
3641
3654
|
}
|
|
3642
3655
|
}
|
|
3643
3656
|
};
|
|
3644
|
-
FHUserPickerComponent.prototype.
|
|
3657
|
+
FHUserPickerComponent.prototype.ngAfterViewInit = function () {
|
|
3645
3658
|
var _this = this;
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
var p = new QParam();
|
|
3649
|
-
p.sql = "SELECT_ALL_USERS";
|
|
3650
|
-
p.types = [];
|
|
3651
|
-
p.values = [];
|
|
3652
|
-
this
|
|
3653
|
-
._dataService
|
|
3654
|
-
.doQuery(p)
|
|
3655
|
-
.subscribe(function (data) {
|
|
3659
|
+
setTimeout(function () {
|
|
3660
|
+
if (_this.all_users) {
|
|
3656
3661
|
var ok_op = false;
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
+
var p = new QParam();
|
|
3663
|
+
p.sql = "SELECT_ALL_USERS";
|
|
3664
|
+
p.types = [];
|
|
3665
|
+
p.values = [];
|
|
3666
|
+
_this
|
|
3667
|
+
._dataService
|
|
3668
|
+
.doQuery(p)
|
|
3669
|
+
.subscribe(function (data) {
|
|
3670
|
+
var ok_op = false;
|
|
3671
|
+
if (data != null)
|
|
3672
|
+
if (data.result_msg == "OK") {
|
|
3673
|
+
_this.users_list = data.result_data;
|
|
3674
|
+
_this.filtra();
|
|
3675
|
+
ok_op = true;
|
|
3676
|
+
}
|
|
3677
|
+
if (!ok_op) {
|
|
3662
3678
|
}
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
}
|
|
3679
|
+
}, function (err) {
|
|
3680
|
+
_this.errorMsg = "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI";
|
|
3681
|
+
});
|
|
3682
|
+
}
|
|
3683
|
+
else {
|
|
3684
|
+
if (_this.user_sel != null)
|
|
3685
|
+
if (_this.user_sel.length > 0)
|
|
3686
|
+
return;
|
|
3687
|
+
_this.users_list_sel = new Array();
|
|
3688
|
+
if (_this.users_list != null)
|
|
3689
|
+
for (var i = 0; i < _this.users_list.length; i++)
|
|
3690
|
+
_this.users_list_sel.push(_this.users_list[i]);
|
|
3691
|
+
}
|
|
3692
|
+
});
|
|
3678
3693
|
};
|
|
3679
3694
|
FHUserPickerComponent.prototype.close = function () { this.dialogRef.close(null); };
|
|
3680
3695
|
FHUserPickerComponent.prototype.do_add = function () {
|
|
@@ -3803,7 +3818,7 @@
|
|
|
3803
3818
|
o.result = "ok";
|
|
3804
3819
|
this.dialogRef.close(o);
|
|
3805
3820
|
};
|
|
3806
|
-
win_riassegna_select_user.prototype.
|
|
3821
|
+
win_riassegna_select_user.prototype.ngAfterViewInit = function () {
|
|
3807
3822
|
};
|
|
3808
3823
|
win_riassegna_select_user.ctorParameters = function () { return [
|
|
3809
3824
|
{ type: dialog.MatDialogRef },
|
|
@@ -3848,9 +3863,12 @@
|
|
|
3848
3863
|
this.onTouched = function () {
|
|
3849
3864
|
};
|
|
3850
3865
|
}
|
|
3851
|
-
FHUserFieldComponent.prototype.
|
|
3852
|
-
|
|
3853
|
-
|
|
3866
|
+
FHUserFieldComponent.prototype.ngAfterViewInit = function () {
|
|
3867
|
+
var _this = this;
|
|
3868
|
+
setTimeout(function () {
|
|
3869
|
+
if (_this.required)
|
|
3870
|
+
_this.label = _this.label + ' *';
|
|
3871
|
+
});
|
|
3854
3872
|
};
|
|
3855
3873
|
FHUserFieldComponent.prototype.getUsersNc = function () {
|
|
3856
3874
|
var s_nc = '';
|
|
@@ -4122,7 +4140,7 @@
|
|
|
4122
4140
|
o.result = "ok";
|
|
4123
4141
|
this.dialogRef.close(o);
|
|
4124
4142
|
};
|
|
4125
|
-
win_sostituisci_utente.prototype.
|
|
4143
|
+
win_sostituisci_utente.prototype.ngAfterViewInit = function () {
|
|
4126
4144
|
};
|
|
4127
4145
|
win_sostituisci_utente.ctorParameters = function () { return [
|
|
4128
4146
|
{ type: dialog.MatDialogRef },
|
|
@@ -5741,12 +5759,15 @@
|
|
|
5741
5759
|
return item.data.codice;
|
|
5742
5760
|
return "NA";
|
|
5743
5761
|
};
|
|
5744
|
-
FHGridComponent.prototype.
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5748
|
-
|
|
5749
|
-
|
|
5762
|
+
FHGridComponent.prototype.ngAfterViewInit = function () {
|
|
5763
|
+
var _this = this;
|
|
5764
|
+
setTimeout(function () {
|
|
5765
|
+
if (_this.end_point == null)
|
|
5766
|
+
_this.end_point = _this.m_appService.API_ENDPOINT + _this.m_appService.GRID_ENDPOINT;
|
|
5767
|
+
if (localStorage.getItem(_this.grid_key + '_FILTER_UP') != null)
|
|
5768
|
+
_this.ric_libera = localStorage.getItem(_this.grid_key + '_FILTER_UP');
|
|
5769
|
+
_this.onResize();
|
|
5770
|
+
});
|
|
5750
5771
|
};
|
|
5751
5772
|
FHGridComponent.prototype.okr = function (event) {
|
|
5752
5773
|
//console.log(event.column.colDef.field);
|
|
@@ -6797,24 +6818,22 @@
|
|
|
6797
6818
|
this.setByDescri(this.valDef);
|
|
6798
6819
|
}
|
|
6799
6820
|
};
|
|
6800
|
-
FHAutoCompleteComponent.prototype.
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6821
|
+
FHAutoCompleteComponent.prototype.ngAfterViewInit = function () {
|
|
6822
|
+
var _this = this;
|
|
6823
|
+
setTimeout(function () {
|
|
6824
|
+
if (_this.init_fill) {
|
|
6825
|
+
if (_this.sql == '') {
|
|
6826
|
+
return;
|
|
6827
|
+
}
|
|
6828
|
+
_this.fillCombo();
|
|
6807
6829
|
}
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
}
|
|
6815
|
-
this
|
|
6816
|
-
.initend
|
|
6817
|
-
.emit();
|
|
6830
|
+
else {
|
|
6831
|
+
_this.errorMsg = "";
|
|
6832
|
+
}
|
|
6833
|
+
_this
|
|
6834
|
+
.initend
|
|
6835
|
+
.emit();
|
|
6836
|
+
});
|
|
6818
6837
|
};
|
|
6819
6838
|
/// override some FHValueAccessor implementation
|
|
6820
6839
|
/**
|
|
@@ -7207,8 +7226,11 @@
|
|
|
7207
7226
|
return null;
|
|
7208
7227
|
return this.date_sel.toDate();
|
|
7209
7228
|
};
|
|
7210
|
-
FHDatePickerComponent.prototype.
|
|
7211
|
-
this
|
|
7229
|
+
FHDatePickerComponent.prototype.ngAfterViewInit = function () {
|
|
7230
|
+
var _this = this;
|
|
7231
|
+
setTimeout(function () {
|
|
7232
|
+
_this.setLimits();
|
|
7233
|
+
});
|
|
7212
7234
|
// this.myDatePickerOptions.componentDisabled=!this.enabled;
|
|
7213
7235
|
};
|
|
7214
7236
|
FHDatePickerComponent.prototype.setLimits = function () {
|
|
@@ -7307,10 +7329,6 @@
|
|
|
7307
7329
|
this.val_app = -1;
|
|
7308
7330
|
this.params.api.stopEditing();
|
|
7309
7331
|
};
|
|
7310
|
-
// dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
|
|
7311
|
-
ApprovaGridComponent.prototype.ngAfterViewInit = function () {
|
|
7312
|
-
// this.container.element.nativeElement.focus();
|
|
7313
|
-
};
|
|
7314
7332
|
ApprovaGridComponent.prototype.agInit = function (params) {
|
|
7315
7333
|
this.params = params;
|
|
7316
7334
|
};
|
|
@@ -7380,8 +7398,11 @@
|
|
|
7380
7398
|
this.currencyPipe = currencyPipe;
|
|
7381
7399
|
this.el = this.elementRef.nativeElement;
|
|
7382
7400
|
}
|
|
7383
|
-
FHCurrencyFormatterDirective.prototype.
|
|
7384
|
-
|
|
7401
|
+
FHCurrencyFormatterDirective.prototype.ngAfterViewInit = function () {
|
|
7402
|
+
var _this = this;
|
|
7403
|
+
setTimeout(function () {
|
|
7404
|
+
_this.el.value = _this.currencyPipe.transform(_this.el.value);
|
|
7405
|
+
});
|
|
7385
7406
|
};
|
|
7386
7407
|
FHCurrencyFormatterDirective.prototype.onFocus = function (value) {
|
|
7387
7408
|
this.el.value = this.currencyPipe.parse(value); // opossite of transform
|
|
@@ -7452,7 +7473,7 @@
|
|
|
7452
7473
|
this.infoWindowOpened.close();
|
|
7453
7474
|
this.infoWindowOpened = infoWindow;
|
|
7454
7475
|
};
|
|
7455
|
-
win_mappa.prototype.
|
|
7476
|
+
win_mappa.prototype.ngAfterViewInit = function () {
|
|
7456
7477
|
};
|
|
7457
7478
|
win_mappa.ctorParameters = function () { return [
|
|
7458
7479
|
{ type: dialog.MatDialogRef },
|
|
@@ -7485,7 +7506,7 @@
|
|
|
7485
7506
|
TextAreaEditor.prototype.ngAfterViewInit = function () {
|
|
7486
7507
|
var _this = this;
|
|
7487
7508
|
// console.log(this.appdt.nativeElement);
|
|
7488
|
-
setTimeout(function () { return _this.appdt.nativeElement.focus(); }
|
|
7509
|
+
setTimeout(function () { return _this.appdt.nativeElement.focus(); });
|
|
7489
7510
|
};
|
|
7490
7511
|
TextAreaEditor.prototype.agInit = function (params) {
|
|
7491
7512
|
this.params = params;
|
|
@@ -7557,11 +7578,6 @@
|
|
|
7557
7578
|
// 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");
|
|
7558
7579
|
this.date_zz = this.selval;
|
|
7559
7580
|
};
|
|
7560
|
-
// dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
|
|
7561
|
-
ComboBoxEditor.prototype.ngAfterViewInit = function () {
|
|
7562
|
-
// console.log(this.appdt.nativeElement);
|
|
7563
|
-
// setTimeout(()=>this.appdt.nativeElement.click(),500);
|
|
7564
|
-
};
|
|
7565
7581
|
ComboBoxEditor.prototype.agInit = function (params) {
|
|
7566
7582
|
var _this = this;
|
|
7567
7583
|
this.params = params;
|
|
@@ -7673,7 +7689,7 @@
|
|
|
7673
7689
|
this.values = [];
|
|
7674
7690
|
this.value_sel = new Array();
|
|
7675
7691
|
}
|
|
7676
|
-
FHPickListComponent.prototype.
|
|
7692
|
+
FHPickListComponent.prototype.ngAfterViewInit = function () {
|
|
7677
7693
|
};
|
|
7678
7694
|
FHPickListComponent.prototype.filtra = function () {
|
|
7679
7695
|
this.value_list_sel = new Array();
|
|
@@ -7893,7 +7909,7 @@
|
|
|
7893
7909
|
this.valore_min = 1;
|
|
7894
7910
|
this.valore_max = 1000000;
|
|
7895
7911
|
}
|
|
7896
|
-
WinAskNumberComponent.prototype.
|
|
7912
|
+
WinAskNumberComponent.prototype.ngAfterViewInit = function () {
|
|
7897
7913
|
};
|
|
7898
7914
|
WinAskNumberComponent.prototype.show = function () {
|
|
7899
7915
|
};
|
|
@@ -7957,7 +7973,7 @@
|
|
|
7957
7973
|
this.highlighted = true;
|
|
7958
7974
|
}
|
|
7959
7975
|
};
|
|
7960
|
-
FHMdReader.prototype.
|
|
7976
|
+
FHMdReader.prototype.ngAfterViewInit = function () {
|
|
7961
7977
|
};
|
|
7962
7978
|
FHMdReader.ctorParameters = function () { return [
|
|
7963
7979
|
{ type: HighlightService }
|
|
@@ -8023,7 +8039,7 @@
|
|
|
8023
8039
|
FHLogPanelComponent.prototype.reload = function () {
|
|
8024
8040
|
this.datagrid.doFill("[applicativo]='" + this.m_app + "' and [iddocumento]='" + this.m_k + "'");
|
|
8025
8041
|
};
|
|
8026
|
-
FHLogPanelComponent.prototype.
|
|
8042
|
+
FHLogPanelComponent.prototype.ngAfterViewInit = function () {
|
|
8027
8043
|
};
|
|
8028
8044
|
FHLogPanelComponent.ctorParameters = function () { return [
|
|
8029
8045
|
{ type: UtilityService }
|
|
@@ -8152,13 +8168,16 @@
|
|
|
8152
8168
|
FHCurrencyFieldComponent.prototype.setFocus = function () {
|
|
8153
8169
|
this.el.nativeElement.focus();
|
|
8154
8170
|
};
|
|
8155
|
-
FHCurrencyFieldComponent.prototype.
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8171
|
+
FHCurrencyFieldComponent.prototype.ngAfterViewInit = function () {
|
|
8172
|
+
var _this = this;
|
|
8173
|
+
setTimeout(function () {
|
|
8174
|
+
if (_this.required)
|
|
8175
|
+
_this.el.nativeElement.required = _this.required;
|
|
8176
|
+
_this.el.nativeElement.disabled = !_this.enabled;
|
|
8177
|
+
if (_this.value == null)
|
|
8178
|
+
_this.value = 0;
|
|
8179
|
+
_this.formattedAmount = _this.transform(_this.value, _this.decimal);
|
|
8180
|
+
});
|
|
8162
8181
|
};
|
|
8163
8182
|
__decorate([
|
|
8164
8183
|
core.ViewChild('el'),
|
|
@@ -8245,39 +8264,42 @@
|
|
|
8245
8264
|
FHRichText.prototype.onBlur = function (o) {
|
|
8246
8265
|
this.blur.emit(o);
|
|
8247
8266
|
};
|
|
8248
|
-
FHRichText.prototype.
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
8258
|
-
|
|
8259
|
-
|
|
8260
|
-
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8267
|
-
|
|
8268
|
-
|
|
8269
|
-
|
|
8270
|
-
|
|
8271
|
-
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8279
|
-
|
|
8280
|
-
|
|
8267
|
+
FHRichText.prototype.ngAfterViewInit = function () {
|
|
8268
|
+
var _this = this;
|
|
8269
|
+
setTimeout(function () {
|
|
8270
|
+
_this.config = { height: _this.height };
|
|
8271
|
+
if (_this.enabled) {
|
|
8272
|
+
_this.config.toolbarGroups = [
|
|
8273
|
+
{ name: 'document', groups: ['mode', 'document', 'doctools'] },
|
|
8274
|
+
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
|
|
8275
|
+
{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
|
|
8276
|
+
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
|
|
8277
|
+
{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
|
|
8278
|
+
{ name: 'links' },
|
|
8279
|
+
{ name: 'insert' },
|
|
8280
|
+
{ name: 'styles' },
|
|
8281
|
+
{ name: 'colors' },
|
|
8282
|
+
{ name: 'tools' },
|
|
8283
|
+
{ name: 'others' },
|
|
8284
|
+
{ name: 'about' }
|
|
8285
|
+
];
|
|
8286
|
+
}
|
|
8287
|
+
else {
|
|
8288
|
+
_this.config.allowedContent = true;
|
|
8289
|
+
_this.config.toolbarGroups = [];
|
|
8290
|
+
}
|
|
8291
|
+
/*
|
|
8292
|
+
var element = document.querySelector( '.cke_top' );
|
|
8293
|
+
console.log("Just to do some debugging we check " + element);
|
|
8294
|
+
var myEl = this.ced.toolbarButtons
|
|
8295
|
+
myEl.toggle();
|
|
8296
|
+
element = document.querySelector( '.cke_bottom' );
|
|
8297
|
+
myEl = ced.element( element );
|
|
8298
|
+
myEl.toggle();
|
|
8299
|
+
|
|
8300
|
+
var myEl2 = angular.element( document.querySelector( '.test' ) );
|
|
8301
|
+
myEl2.toggleClass("invisible")*/
|
|
8302
|
+
});
|
|
8281
8303
|
};
|
|
8282
8304
|
FHRichText.prototype.writeValue = function (value) {
|
|
8283
8305
|
this.value = value;
|
|
@@ -8337,7 +8359,7 @@
|
|
|
8337
8359
|
this.min_chars = 3;
|
|
8338
8360
|
this.max_chars = 50;
|
|
8339
8361
|
}
|
|
8340
|
-
WinOutputComponent.prototype.
|
|
8362
|
+
WinOutputComponent.prototype.ngAfterViewInit = function () {
|
|
8341
8363
|
};
|
|
8342
8364
|
WinOutputComponent.prototype.close = function () { this.dialogRef.close(null); };
|
|
8343
8365
|
WinOutputComponent.prototype.show = function () {
|
|
@@ -8484,14 +8506,17 @@
|
|
|
8484
8506
|
FHNumericFieldComponent.prototype.setFocus = function () {
|
|
8485
8507
|
this.el.nativeElement.focus();
|
|
8486
8508
|
};
|
|
8487
|
-
FHNumericFieldComponent.prototype.
|
|
8488
|
-
|
|
8489
|
-
|
|
8490
|
-
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8509
|
+
FHNumericFieldComponent.prototype.ngAfterViewInit = function () {
|
|
8510
|
+
var _this = this;
|
|
8511
|
+
setTimeout(function () {
|
|
8512
|
+
if (_this.required)
|
|
8513
|
+
_this.el.nativeElement.required = _this.required;
|
|
8514
|
+
_this.el.nativeElement.disabled = !_this.enabled;
|
|
8515
|
+
if (_this.value == null)
|
|
8516
|
+
_this.value = 0;
|
|
8517
|
+
// console.log('tttttttttttt',this.decimal);
|
|
8518
|
+
_this.formattedAmount = _this.transform(_this.value, _this.decimal);
|
|
8519
|
+
});
|
|
8495
8520
|
};
|
|
8496
8521
|
FHNumericFieldComponent.ctorParameters = function () { return [
|
|
8497
8522
|
{ type: UtilityService }
|
|
@@ -8577,7 +8602,7 @@
|
|
|
8577
8602
|
return;
|
|
8578
8603
|
this.dialogRef.close(this.cmb_sel.getObjects());
|
|
8579
8604
|
};
|
|
8580
|
-
FHListPick.prototype.
|
|
8605
|
+
FHListPick.prototype.ngAfterViewInit = function () {
|
|
8581
8606
|
};
|
|
8582
8607
|
FHListPick.ctorParameters = function () { return [
|
|
8583
8608
|
{ type: dialog.MatDialogRef },
|
|
@@ -8611,7 +8636,7 @@
|
|
|
8611
8636
|
win_salva_annulla.prototype.esci_senza_salv = function () {
|
|
8612
8637
|
this.dialogRef.close("esci_senza_salv");
|
|
8613
8638
|
};
|
|
8614
|
-
win_salva_annulla.prototype.
|
|
8639
|
+
win_salva_annulla.prototype.ngAfterViewInit = function () {
|
|
8615
8640
|
};
|
|
8616
8641
|
win_salva_annulla.ctorParameters = function () { return [
|
|
8617
8642
|
{ type: dialog.MatDialogRef },
|
|
@@ -8672,7 +8697,7 @@
|
|
|
8672
8697
|
o.arrsel = this.up.getSelArr();
|
|
8673
8698
|
this.dialogRef.close(o);
|
|
8674
8699
|
};
|
|
8675
|
-
win_assegna.prototype.
|
|
8700
|
+
win_assegna.prototype.ngAfterViewInit = function () {
|
|
8676
8701
|
};
|
|
8677
8702
|
win_assegna.ctorParameters = function () { return [
|
|
8678
8703
|
{ type: dialog.MatDialogRef },
|
|
@@ -8729,7 +8754,7 @@
|
|
|
8729
8754
|
win_conferma.prototype.close = function () {
|
|
8730
8755
|
this.dialogRef.close("abort");
|
|
8731
8756
|
};
|
|
8732
|
-
win_conferma.prototype.
|
|
8757
|
+
win_conferma.prototype.ngAfterViewInit = function () {
|
|
8733
8758
|
};
|
|
8734
8759
|
win_conferma.ctorParameters = function () { return [
|
|
8735
8760
|
{ type: dialog.MatDialogRef },
|
|
@@ -8768,7 +8793,7 @@
|
|
|
8768
8793
|
}
|
|
8769
8794
|
this.dialogRef.close(this.selval);
|
|
8770
8795
|
};
|
|
8771
|
-
win_select_canale.prototype.
|
|
8796
|
+
win_select_canale.prototype.ngAfterViewInit = function () {
|
|
8772
8797
|
};
|
|
8773
8798
|
win_select_canale.ctorParameters = function () { return [
|
|
8774
8799
|
{ type: dialog.MatDialogRef },
|
|
@@ -8868,7 +8893,7 @@
|
|
|
8868
8893
|
}
|
|
8869
8894
|
this.dialogRef.close(this.selval);
|
|
8870
8895
|
};
|
|
8871
|
-
win_select_level.prototype.
|
|
8896
|
+
win_select_level.prototype.ngAfterViewInit = function () {
|
|
8872
8897
|
};
|
|
8873
8898
|
win_select_level.ctorParameters = function () { return [
|
|
8874
8899
|
{ type: dialog.MatDialogRef },
|
|
@@ -8903,10 +8928,13 @@
|
|
|
8903
8928
|
this.sovrascrivi_path = '';
|
|
8904
8929
|
}
|
|
8905
8930
|
win_uploads.prototype.close = function () { this.dialogRef.close(null); };
|
|
8906
|
-
win_uploads.prototype.
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8931
|
+
win_uploads.prototype.ngAfterViewInit = function () {
|
|
8932
|
+
var _this = this;
|
|
8933
|
+
setTimeout(function () {
|
|
8934
|
+
_this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
|
|
8935
|
+
_this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
|
|
8936
|
+
_this.init(_this.App, _this.K);
|
|
8937
|
+
});
|
|
8910
8938
|
};
|
|
8911
8939
|
win_uploads.prototype.init = function (p_app, p_k) {
|
|
8912
8940
|
this.App = p_app;
|
|
@@ -8969,7 +8997,7 @@
|
|
|
8969
8997
|
o.arrsel = this.up.getSelArr();
|
|
8970
8998
|
this.dialogRef.close(o);
|
|
8971
8999
|
};
|
|
8972
|
-
win_commento_sel_notif.prototype.
|
|
9000
|
+
win_commento_sel_notif.prototype.ngAfterViewInit = function () {
|
|
8973
9001
|
};
|
|
8974
9002
|
win_commento_sel_notif.ctorParameters = function () { return [
|
|
8975
9003
|
{ type: dialog.MatDialogRef },
|
|
@@ -9291,7 +9319,7 @@
|
|
|
9291
9319
|
}
|
|
9292
9320
|
});
|
|
9293
9321
|
};
|
|
9294
|
-
win_commenti.prototype.
|
|
9322
|
+
win_commenti.prototype.ngAfterViewInit = function () {
|
|
9295
9323
|
};
|
|
9296
9324
|
win_commenti.prototype.ins = function () {
|
|
9297
9325
|
this.nota = '';
|
|
@@ -9346,7 +9374,7 @@
|
|
|
9346
9374
|
this.uiid_doc = this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
9347
9375
|
this.canale = this.m_appService.getState().wkf_doc_info.canale;
|
|
9348
9376
|
};
|
|
9349
|
-
win_info_doc.prototype.
|
|
9377
|
+
win_info_doc.prototype.ngAfterViewInit = function () {
|
|
9350
9378
|
};
|
|
9351
9379
|
win_info_doc.ctorParameters = function () { return [
|
|
9352
9380
|
{ type: dialog.MatDialogRef },
|
|
@@ -9462,7 +9490,7 @@
|
|
|
9462
9490
|
this.b_ins = true;
|
|
9463
9491
|
this.title = 'INSERISCI COMMENTO';
|
|
9464
9492
|
};
|
|
9465
|
-
win_log.prototype.
|
|
9493
|
+
win_log.prototype.ngAfterViewInit = function () {
|
|
9466
9494
|
var _this = this;
|
|
9467
9495
|
setTimeout(function () {
|
|
9468
9496
|
_this.ric_all();
|
|
@@ -10140,7 +10168,7 @@
|
|
|
10140
10168
|
return item.data.codice;
|
|
10141
10169
|
return "NA";
|
|
10142
10170
|
};
|
|
10143
|
-
FHGridJSONComponent.prototype.
|
|
10171
|
+
FHGridJSONComponent.prototype.ngAfterViewInit = function () {
|
|
10144
10172
|
// this.onResize();
|
|
10145
10173
|
};
|
|
10146
10174
|
FHGridJSONComponent.prototype.okr = function (event) {
|
|
@@ -12131,8 +12159,11 @@
|
|
|
12131
12159
|
});
|
|
12132
12160
|
});
|
|
12133
12161
|
};
|
|
12134
|
-
dati_aggiuntivi.prototype.
|
|
12135
|
-
this
|
|
12162
|
+
dati_aggiuntivi.prototype.ngAfterViewInit = function () {
|
|
12163
|
+
var _this = this;
|
|
12164
|
+
setTimeout(function () {
|
|
12165
|
+
_this.init_engine();
|
|
12166
|
+
});
|
|
12136
12167
|
};
|
|
12137
12168
|
dati_aggiuntivi.prototype.setta_info_app = function (o) {
|
|
12138
12169
|
this.app_info = o;
|
|
@@ -12207,7 +12238,7 @@
|
|
|
12207
12238
|
this.dt_agg.open_upload(); };
|
|
12208
12239
|
wkf_header_bar.prototype.open_wkf = function () { if (this.dt_agg != null)
|
|
12209
12240
|
this.dt_agg.open_wkf(); };
|
|
12210
|
-
wkf_header_bar.prototype.
|
|
12241
|
+
wkf_header_bar.prototype.ngAfterViewInit = function () {
|
|
12211
12242
|
};
|
|
12212
12243
|
wkf_header_bar.ctorParameters = function () { return [
|
|
12213
12244
|
{ type: AppService }
|
|
@@ -12303,26 +12334,28 @@
|
|
|
12303
12334
|
}
|
|
12304
12335
|
});
|
|
12305
12336
|
};
|
|
12306
|
-
FormBuilderComponent.prototype.
|
|
12337
|
+
FormBuilderComponent.prototype.ngAfterViewInit = function () {
|
|
12307
12338
|
var _this = this;
|
|
12308
|
-
|
|
12309
|
-
|
|
12310
|
-
|
|
12339
|
+
setTimeout(function () {
|
|
12340
|
+
try {
|
|
12341
|
+
_this.dragula.createGroup('bag-items', {
|
|
12342
|
+
revertOnSpill: true
|
|
12343
|
+
});
|
|
12344
|
+
}
|
|
12345
|
+
catch (e) {
|
|
12346
|
+
console.log(e);
|
|
12347
|
+
}
|
|
12348
|
+
_this.dragula
|
|
12349
|
+
.drag.call(function (value) {
|
|
12350
|
+
_this.change.emit();
|
|
12351
|
+
_this.edit_obj = null;
|
|
12352
|
+
});
|
|
12353
|
+
_this.dragula
|
|
12354
|
+
.drop
|
|
12355
|
+
.call(function (value) {
|
|
12356
|
+
_this.change.emit();
|
|
12357
|
+
_this.edit_obj = null;
|
|
12311
12358
|
});
|
|
12312
|
-
}
|
|
12313
|
-
catch (e) {
|
|
12314
|
-
console.log(e);
|
|
12315
|
-
}
|
|
12316
|
-
this.dragula
|
|
12317
|
-
.drag.call(function (value) {
|
|
12318
|
-
_this.change.emit();
|
|
12319
|
-
_this.edit_obj = null;
|
|
12320
|
-
});
|
|
12321
|
-
this.dragula
|
|
12322
|
-
.drop
|
|
12323
|
-
.call(function (value) {
|
|
12324
|
-
_this.change.emit();
|
|
12325
|
-
_this.edit_obj = null;
|
|
12326
12359
|
});
|
|
12327
12360
|
};
|
|
12328
12361
|
FormBuilderComponent.ctorParameters = function () { return [
|
|
@@ -12375,7 +12408,7 @@
|
|
|
12375
12408
|
FormExecuterComponent.prototype.setStyles = function (o) {
|
|
12376
12409
|
return { width: '90%', padding: '15px', margin: '15px', border: '1px solid #3db3cd', 'background-color': "#ECF0F1" };
|
|
12377
12410
|
};
|
|
12378
|
-
FormExecuterComponent.prototype.
|
|
12411
|
+
FormExecuterComponent.prototype.ngAfterViewInit = function () {
|
|
12379
12412
|
};
|
|
12380
12413
|
FormExecuterComponent.ctorParameters = function () { return [
|
|
12381
12414
|
{ type: UtilityService },
|
|
@@ -12410,7 +12443,7 @@
|
|
|
12410
12443
|
this.title = "";
|
|
12411
12444
|
this.button_config = [];
|
|
12412
12445
|
}
|
|
12413
|
-
WinAskButtonsComponent.prototype.
|
|
12446
|
+
WinAskButtonsComponent.prototype.ngAfterViewInit = function () {
|
|
12414
12447
|
};
|
|
12415
12448
|
WinAskButtonsComponent.prototype.open = function (o) {
|
|
12416
12449
|
this.dialogRef.close(o);
|
|
@@ -12465,7 +12498,7 @@
|
|
|
12465
12498
|
this.imageIndex = 0;
|
|
12466
12499
|
this.images = [];
|
|
12467
12500
|
}
|
|
12468
|
-
win_show_image.prototype.
|
|
12501
|
+
win_show_image.prototype.ngAfterViewInit = function () {
|
|
12469
12502
|
};
|
|
12470
12503
|
win_show_image.ctorParameters = function () { return [
|
|
12471
12504
|
{ type: dialog.MatDialogRef }
|
|
@@ -12533,10 +12566,13 @@
|
|
|
12533
12566
|
this.notfullScreenEvent = new core.EventEmitter();
|
|
12534
12567
|
this.fullScreenEvent = new core.EventEmitter();
|
|
12535
12568
|
}
|
|
12536
|
-
FHViewerComponent.prototype.
|
|
12537
|
-
var
|
|
12538
|
-
|
|
12539
|
-
|
|
12569
|
+
FHViewerComponent.prototype.ngAfterViewInit = function () {
|
|
12570
|
+
var _this = this;
|
|
12571
|
+
setTimeout(function () {
|
|
12572
|
+
var merged = _this.mergeConfig(DEFAULT_CONFIG, _this.moduleConfig);
|
|
12573
|
+
_this.config = _this.mergeConfig(merged, _this.config);
|
|
12574
|
+
_this.triggerConfigBinding();
|
|
12575
|
+
});
|
|
12540
12576
|
};
|
|
12541
12577
|
FHViewerComponent.prototype.nextImage = function ($event) {
|
|
12542
12578
|
console.log('this.src.length ', this.src.length);
|
|
@@ -12792,8 +12828,11 @@
|
|
|
12792
12828
|
//this.photo_c.toggleFullscreen()
|
|
12793
12829
|
this.already_open = true;
|
|
12794
12830
|
};
|
|
12795
|
-
fhimagepreview.prototype.
|
|
12796
|
-
this
|
|
12831
|
+
fhimagepreview.prototype.ngAfterViewInit = function () {
|
|
12832
|
+
var _this = this;
|
|
12833
|
+
setTimeout(function () {
|
|
12834
|
+
_this.init();
|
|
12835
|
+
});
|
|
12797
12836
|
};
|
|
12798
12837
|
fhimagepreview.prototype.openFullscreen = function () {
|
|
12799
12838
|
console.log('cc', this.photo_c.imgx);
|
|
@@ -12939,7 +12978,7 @@
|
|
|
12939
12978
|
fhimagepreview = __decorate([
|
|
12940
12979
|
core.Component({
|
|
12941
12980
|
selector: 'fh-image-viewer',
|
|
12942
|
-
template: "\n
|
|
12981
|
+
template: "\n\n <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>\n\n",
|
|
12943
12982
|
styles: ["\n\n "]
|
|
12944
12983
|
})
|
|
12945
12984
|
], fhimagepreview);
|
|
@@ -13039,7 +13078,7 @@
|
|
|
13039
13078
|
}
|
|
13040
13079
|
});
|
|
13041
13080
|
};
|
|
13042
|
-
FHFieldPickListComponent.prototype.
|
|
13081
|
+
FHFieldPickListComponent.prototype.ngAfterViewInit = function () {
|
|
13043
13082
|
};
|
|
13044
13083
|
FHFieldPickListComponent.ctorParameters = function () { return [
|
|
13045
13084
|
{ type: dialog.MatDialog }
|
|
@@ -13176,16 +13215,19 @@
|
|
|
13176
13215
|
};
|
|
13177
13216
|
win_manage_values.prototype.ok = function () {
|
|
13178
13217
|
};
|
|
13179
|
-
win_manage_values.prototype.
|
|
13180
|
-
|
|
13181
|
-
|
|
13182
|
-
|
|
13183
|
-
|
|
13184
|
-
|
|
13185
|
-
|
|
13186
|
-
|
|
13187
|
-
|
|
13188
|
-
|
|
13218
|
+
win_manage_values.prototype.ngAfterViewInit = function () {
|
|
13219
|
+
var _this = this;
|
|
13220
|
+
setTimeout(function () {
|
|
13221
|
+
_this.nValori = new Object();
|
|
13222
|
+
//this.nValori.valore=0;
|
|
13223
|
+
_this.nValori.descrizione = '';
|
|
13224
|
+
_this.nValori.v1 = null;
|
|
13225
|
+
_this.nValori.v2 = null;
|
|
13226
|
+
_this.nValori.id_valore = -1;
|
|
13227
|
+
_this.nValori.v3 = null;
|
|
13228
|
+
_this.nValori.lingua = null;
|
|
13229
|
+
_this.ref_user_list();
|
|
13230
|
+
});
|
|
13189
13231
|
};
|
|
13190
13232
|
win_manage_values.ctorParameters = function () { return [
|
|
13191
13233
|
{ type: dialog.MatDialogRef },
|
|
@@ -13221,14 +13263,17 @@
|
|
|
13221
13263
|
}
|
|
13222
13264
|
});
|
|
13223
13265
|
};
|
|
13224
|
-
FHTableManager.prototype.
|
|
13225
|
-
|
|
13226
|
-
|
|
13227
|
-
|
|
13228
|
-
|
|
13229
|
-
|
|
13230
|
-
|
|
13231
|
-
|
|
13266
|
+
FHTableManager.prototype.ngAfterViewInit = function () {
|
|
13267
|
+
var _this = this;
|
|
13268
|
+
setTimeout(function () {
|
|
13269
|
+
if (_this.application == "")
|
|
13270
|
+
return;
|
|
13271
|
+
_this.cmb_sel.sql = "SELECT_TABLE_MANAGEMENT";
|
|
13272
|
+
_this.cmb_sel.types = ['string'];
|
|
13273
|
+
_this.cmb_sel.values = [_this.application];
|
|
13274
|
+
_this.cmb_sel.fillCombo();
|
|
13275
|
+
_this.b_init = true;
|
|
13276
|
+
});
|
|
13232
13277
|
};
|
|
13233
13278
|
FHTableManager.ctorParameters = function () { return [
|
|
13234
13279
|
{ type: QueryService },
|
|
@@ -13321,8 +13366,11 @@
|
|
|
13321
13366
|
}
|
|
13322
13367
|
});
|
|
13323
13368
|
};
|
|
13324
|
-
win_manage_roles.prototype.
|
|
13325
|
-
this
|
|
13369
|
+
win_manage_roles.prototype.ngAfterViewInit = function () {
|
|
13370
|
+
var _this = this;
|
|
13371
|
+
setTimeout(function () {
|
|
13372
|
+
_this.ref_user_list();
|
|
13373
|
+
});
|
|
13326
13374
|
};
|
|
13327
13375
|
win_manage_roles.ctorParameters = function () { return [
|
|
13328
13376
|
{ type: dialog.MatDialogRef },
|
|
@@ -13362,14 +13410,17 @@
|
|
|
13362
13410
|
}
|
|
13363
13411
|
});
|
|
13364
13412
|
};
|
|
13365
|
-
FHRoleManager.prototype.
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
|
|
13370
|
-
|
|
13371
|
-
|
|
13372
|
-
|
|
13413
|
+
FHRoleManager.prototype.ngAfterViewInit = function () {
|
|
13414
|
+
var _this = this;
|
|
13415
|
+
setTimeout(function () {
|
|
13416
|
+
if (_this.application == "")
|
|
13417
|
+
return;
|
|
13418
|
+
_this.cmb_sel.sql = "SELECT_APP_USER_MANAGEMENT";
|
|
13419
|
+
_this.cmb_sel.types = ['string'];
|
|
13420
|
+
_this.cmb_sel.values = [_this.application];
|
|
13421
|
+
_this.cmb_sel.fillCombo();
|
|
13422
|
+
_this.b_init = true;
|
|
13423
|
+
});
|
|
13373
13424
|
};
|
|
13374
13425
|
FHRoleManager.ctorParameters = function () { return [
|
|
13375
13426
|
{ type: QueryService },
|
|
@@ -13645,22 +13696,22 @@
|
|
|
13645
13696
|
this.setByDescri(this.valDef);
|
|
13646
13697
|
};
|
|
13647
13698
|
FHComboboxComponentFilter.prototype.ngAfterViewInit = function () {
|
|
13648
|
-
|
|
13649
|
-
|
|
13650
|
-
|
|
13651
|
-
|
|
13652
|
-
|
|
13653
|
-
|
|
13654
|
-
|
|
13699
|
+
var _this = this;
|
|
13700
|
+
setTimeout(function () {
|
|
13701
|
+
if (_this.init_fill == true) {
|
|
13702
|
+
if (_this.sql == '') {
|
|
13703
|
+
//this.errorMsg="QUERY NON CONFIGURATA";
|
|
13704
|
+
return;
|
|
13705
|
+
}
|
|
13706
|
+
_this.fillCombo();
|
|
13655
13707
|
}
|
|
13656
|
-
|
|
13657
|
-
|
|
13658
|
-
|
|
13659
|
-
|
|
13660
|
-
|
|
13661
|
-
|
|
13662
|
-
|
|
13663
|
-
.emit();
|
|
13708
|
+
else {
|
|
13709
|
+
_this.errorMsg = "";
|
|
13710
|
+
}
|
|
13711
|
+
_this
|
|
13712
|
+
.initend
|
|
13713
|
+
.emit();
|
|
13714
|
+
});
|
|
13664
13715
|
};
|
|
13665
13716
|
FHComboboxComponentFilter.prototype.sc = function () {
|
|
13666
13717
|
this
|
|
@@ -13832,7 +13883,7 @@
|
|
|
13832
13883
|
this.b_edit = false;
|
|
13833
13884
|
this.title = 'COMMENTI';
|
|
13834
13885
|
};
|
|
13835
|
-
win_insert_commento.prototype.
|
|
13886
|
+
win_insert_commento.prototype.ngAfterViewInit = function () {
|
|
13836
13887
|
};
|
|
13837
13888
|
win_insert_commento.prototype.ins = function () {
|
|
13838
13889
|
this.nota = '';
|
|
@@ -13883,24 +13934,26 @@
|
|
|
13883
13934
|
this.isadmin = this.appService.user_isadmin;
|
|
13884
13935
|
}
|
|
13885
13936
|
win_user_info.prototype.close = function () { this.dialogRef.close(null); };
|
|
13886
|
-
win_user_info.prototype.
|
|
13937
|
+
win_user_info.prototype.ngAfterViewInit = function () {
|
|
13887
13938
|
var _this = this;
|
|
13888
|
-
|
|
13889
|
-
if (
|
|
13890
|
-
if (
|
|
13891
|
-
|
|
13892
|
-
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
if (data
|
|
13899
|
-
if (data.
|
|
13900
|
-
|
|
13901
|
-
|
|
13939
|
+
setTimeout(function () {
|
|
13940
|
+
if (_this.isadmin == '1')
|
|
13941
|
+
if (_this.appService.dev_mode != null)
|
|
13942
|
+
if (_this.appService.dev_mode == '1')
|
|
13943
|
+
_this.dev_mode = true;
|
|
13944
|
+
var p = new QParam();
|
|
13945
|
+
p.sql = "SELECT_ALLEGATI_DOCUMENTO";
|
|
13946
|
+
p.types = ['string', 'string'];
|
|
13947
|
+
p.values = ['FOTO_UTENTI', _this.appService.user];
|
|
13948
|
+
_this._dataService.doQuery(p).subscribe(function (data) {
|
|
13949
|
+
if (data != null)
|
|
13950
|
+
if (data.result_msg == "OK") {
|
|
13951
|
+
if (data.result_data.length > 0) {
|
|
13952
|
+
_this.b_filef = true;
|
|
13953
|
+
_this.foto_ut = _this.appService.COMPANY_SITE_ROOT + '/uploads/' + data.result_data[0].App + '/' + data.result_data[0].K + '/' + data.result_data[0].Filename;
|
|
13954
|
+
}
|
|
13902
13955
|
}
|
|
13903
|
-
|
|
13956
|
+
});
|
|
13904
13957
|
});
|
|
13905
13958
|
};
|
|
13906
13959
|
win_user_info.prototype.upd_dev = function (dv) {
|
|
@@ -14003,7 +14056,7 @@
|
|
|
14003
14056
|
], FHHelpButton.prototype, "key", void 0);
|
|
14004
14057
|
FHHelpButton = __decorate([
|
|
14005
14058
|
core.Component({
|
|
14006
|
-
selector: 'FHHelpButton', template: "\n\n\n
|
|
14059
|
+
selector: 'FHHelpButton', template: "\n\n\n\n <div style=\"cursor:pointer\" ><mat-icon [style.color]=\"color\" [style.background-color]=\"bk_color\" [hidden]=\"hidden\" (click)=\"open_help()\">info</mat-icon></div>\n\n\n\n ",
|
|
14007
14060
|
styles: ["\n\n\n "]
|
|
14008
14061
|
}),
|
|
14009
14062
|
__metadata("design:paramtypes", [QueryService, ngxToastr.ToastrService])
|
|
@@ -14254,15 +14307,6 @@
|
|
|
14254
14307
|
return FHGuard;
|
|
14255
14308
|
}());
|
|
14256
14309
|
|
|
14257
|
-
var dt = /** @class */ (function () {
|
|
14258
|
-
function dt(y, m, d) {
|
|
14259
|
-
this.year = y;
|
|
14260
|
-
this.month = m;
|
|
14261
|
-
this.day = d;
|
|
14262
|
-
}
|
|
14263
|
-
return dt;
|
|
14264
|
-
}());
|
|
14265
|
-
|
|
14266
14310
|
exports.AppMakerService = AppMakerService;
|
|
14267
14311
|
exports.AppService = AppService;
|
|
14268
14312
|
exports.ApprovaGridComponent = ApprovaGridComponent;
|
|
@@ -14322,7 +14366,6 @@
|
|
|
14322
14366
|
exports.WinWait = WinWait;
|
|
14323
14367
|
exports.WkfService = WkfService;
|
|
14324
14368
|
exports.dati_aggiuntivi = dati_aggiuntivi;
|
|
14325
|
-
exports.dt = dt;
|
|
14326
14369
|
exports.fhimagepreview = fhimagepreview;
|
|
14327
14370
|
exports.win_insert_commento = win_insert_commento;
|
|
14328
14371
|
exports.win_mappa = win_mappa;
|