@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
|
@@ -971,9 +971,12 @@ var NumericEditorComponent = /** @class */ (function () {
|
|
|
971
971
|
};
|
|
972
972
|
// dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
|
|
973
973
|
NumericEditorComponent.prototype.ngAfterViewInit = function () {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
974
|
+
var _this = this;
|
|
975
|
+
setTimeout(function () {
|
|
976
|
+
//console.log(this.input.element.nativeElement);
|
|
977
|
+
// this.input.first.nativeElement.focus();
|
|
978
|
+
_this.input.element.nativeElement.focus();
|
|
979
|
+
});
|
|
977
980
|
// this.input.element.nativeElement.setSelectionRange(0, this.input.element.nativeElement.value.length)
|
|
978
981
|
/*if (this.input.nativeElement.classList.contains('ng-untouched')) {
|
|
979
982
|
this.input.invokeElementMethod(this.input.nativeElement, 'focus', []);
|
|
@@ -1040,15 +1043,18 @@ var win_time_slider = /** @class */ (function () {
|
|
|
1040
1043
|
}
|
|
1041
1044
|
this.dialogRef.close(this.res);
|
|
1042
1045
|
};
|
|
1043
|
-
win_time_slider.prototype.
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1046
|
+
win_time_slider.prototype.ngAfterViewInit = function () {
|
|
1047
|
+
var _this = this;
|
|
1048
|
+
setTimeout(function () {
|
|
1049
|
+
if (_this.m_appService.getState().appo_dialog != null)
|
|
1050
|
+
if (_this.m_appService.getState().appo_dialog.val != null) {
|
|
1051
|
+
var a = _this.m_appService.getState().appo_dialog.val.split(':');
|
|
1052
|
+
_this.h = parseInt(a[0]);
|
|
1053
|
+
_this.m = parseInt(a[1]);
|
|
1054
|
+
_this.res = _this.m_appService.getState().appo_dialog.val;
|
|
1055
|
+
return;
|
|
1056
|
+
}
|
|
1057
|
+
});
|
|
1052
1058
|
};
|
|
1053
1059
|
win_time_slider.ctorParameters = function () { return [
|
|
1054
1060
|
{ type: MatDialogRef },
|
|
@@ -1434,7 +1440,7 @@ var FHTimePickerComponent = /** @class */ (function (_super) {
|
|
|
1434
1440
|
FHTimePickerComponent.prototype.getMinutes = function () {
|
|
1435
1441
|
return this.m;
|
|
1436
1442
|
};
|
|
1437
|
-
FHTimePickerComponent.prototype.
|
|
1443
|
+
FHTimePickerComponent.prototype.ngAfterViewInit = function () {
|
|
1438
1444
|
};
|
|
1439
1445
|
FHTimePickerComponent.prototype.sc = function () {
|
|
1440
1446
|
var value = this.getValue();
|
|
@@ -1550,7 +1556,7 @@ var FHConfirmComponent = /** @class */ (function () {
|
|
|
1550
1556
|
FHConfirmComponent.prototype.setMsg = function (texto) {
|
|
1551
1557
|
this.msg = texto;
|
|
1552
1558
|
};
|
|
1553
|
-
FHConfirmComponent.prototype.
|
|
1559
|
+
FHConfirmComponent.prototype.ngAfterViewInit = function () {
|
|
1554
1560
|
};
|
|
1555
1561
|
FHConfirmComponent.ctorParameters = function () { return [
|
|
1556
1562
|
{ type: MatDialogRef },
|
|
@@ -1760,22 +1766,23 @@ var FHListComponent = /** @class */ (function () {
|
|
|
1760
1766
|
this.setByDescri(this.valDef);
|
|
1761
1767
|
};
|
|
1762
1768
|
FHListComponent.prototype.ngAfterViewInit = function () {
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1769
|
+
var _this = this;
|
|
1770
|
+
setTimeout(function () {
|
|
1771
|
+
// console.log("ngAfterViewInit"); console.log(this.init_fill);
|
|
1772
|
+
if (_this.init_fill == true) {
|
|
1773
|
+
if (_this.sql == '') {
|
|
1774
|
+
//this.errorMsg="QUERY NON CONFIGURATA";
|
|
1775
|
+
return;
|
|
1776
|
+
}
|
|
1777
|
+
_this.fillCombo();
|
|
1768
1778
|
}
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
.emit();
|
|
1777
|
-
};
|
|
1778
|
-
FHListComponent.prototype.ngOnInit = function () {
|
|
1779
|
+
else {
|
|
1780
|
+
_this.errorMsg = "";
|
|
1781
|
+
}
|
|
1782
|
+
_this
|
|
1783
|
+
.initend
|
|
1784
|
+
.emit();
|
|
1785
|
+
});
|
|
1779
1786
|
};
|
|
1780
1787
|
FHListComponent.prototype.sc = function () {
|
|
1781
1788
|
this
|
|
@@ -1857,7 +1864,7 @@ var WinWait = /** @class */ (function () {
|
|
|
1857
1864
|
if (p == 100)
|
|
1858
1865
|
this.dialogRef.close();
|
|
1859
1866
|
};
|
|
1860
|
-
WinWait.prototype.
|
|
1867
|
+
WinWait.prototype.ngAfterViewInit = function () {
|
|
1861
1868
|
};
|
|
1862
1869
|
WinWait.ctorParameters = function () { return [
|
|
1863
1870
|
{ type: MatDialogRef },
|
|
@@ -2129,22 +2136,22 @@ var FHComboboxComponent = /** @class */ (function () {
|
|
|
2129
2136
|
this.setByDescri(this.valDef);
|
|
2130
2137
|
};
|
|
2131
2138
|
FHComboboxComponent.prototype.ngAfterViewInit = function () {
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
+
var _this = this;
|
|
2140
|
+
setTimeout(function () {
|
|
2141
|
+
if (_this.init_fill == true) {
|
|
2142
|
+
if (_this.sql == '') {
|
|
2143
|
+
//this.errorMsg="QUERY NON CONFIGURATA";
|
|
2144
|
+
return;
|
|
2145
|
+
}
|
|
2146
|
+
_this.fillCombo();
|
|
2139
2147
|
}
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
.emit();
|
|
2148
|
+
else {
|
|
2149
|
+
_this.errorMsg = "";
|
|
2150
|
+
}
|
|
2151
|
+
_this
|
|
2152
|
+
.initend
|
|
2153
|
+
.emit();
|
|
2154
|
+
});
|
|
2148
2155
|
};
|
|
2149
2156
|
FHComboboxComponent.prototype.sc = function () {
|
|
2150
2157
|
this
|
|
@@ -2331,45 +2338,47 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
2331
2338
|
this.cmb_tipo.sql = this.tipo;
|
|
2332
2339
|
this.cmb_tipo.fillCombo();
|
|
2333
2340
|
};
|
|
2334
|
-
FHUploadComponent.prototype.
|
|
2341
|
+
FHUploadComponent.prototype.ngAfterViewInit = function () {
|
|
2335
2342
|
var _this = this;
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
_this.
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
if (_this.dialogRef
|
|
2345
|
-
_this.dialogRef.componentInstance
|
|
2346
|
-
|
|
2343
|
+
setTimeout(function () {
|
|
2344
|
+
var uo = {};
|
|
2345
|
+
uo.headers = [{ name: 'Authorization', value: 'Bearer ' + localStorage.getItem(_this.app_s.COMPANY_KEY + "token") }];
|
|
2346
|
+
// console.log('ngAfterViewInit!!');
|
|
2347
|
+
_this.uploader.setOptions(uo);
|
|
2348
|
+
_this.uploader.onCompleteAll = function () {
|
|
2349
|
+
_this.loading = false;
|
|
2350
|
+
_this.upload_ended.emit();
|
|
2351
|
+
if (_this.dialogRef != null)
|
|
2352
|
+
if (_this.dialogRef.componentInstance != null) {
|
|
2353
|
+
_this.dialogRef.componentInstance.update_progess(100);
|
|
2354
|
+
_this.dialogRef = null;
|
|
2355
|
+
}
|
|
2356
|
+
};
|
|
2357
|
+
_this.uploader.onErrorItem = function (a, b, c, d) {
|
|
2358
|
+
_this.toastr.error(b);
|
|
2359
|
+
};
|
|
2360
|
+
_this.uploader.onAfterAddingFile = function (fileItem) {
|
|
2361
|
+
_this.ch(fileItem);
|
|
2362
|
+
};
|
|
2363
|
+
_this.uploader.onProgressItem = function (fileItem, progress) {
|
|
2364
|
+
// console.log(fileItem);
|
|
2365
|
+
// console.log(progress);
|
|
2366
|
+
_this.loading = true;
|
|
2367
|
+
if (_this.dialogRef != null)
|
|
2368
|
+
if (_this.dialogRef.componentInstance != null)
|
|
2369
|
+
_this.dialogRef.componentInstance.update_progess(progress);
|
|
2370
|
+
};
|
|
2371
|
+
_this.uploader.onWhenAddingFileFailed = function (item, filter, options) {
|
|
2372
|
+
switch (filter.name) {
|
|
2373
|
+
case 'fileSize':
|
|
2374
|
+
var ar = Math.round(item.size / 1024 / 1024);
|
|
2375
|
+
_this.toastr.error(_this.limit_string.split('<size>').join('' + ar));
|
|
2376
|
+
break;
|
|
2377
|
+
default:
|
|
2378
|
+
_this.toastr.error("Errore: " + filter.name);
|
|
2347
2379
|
}
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
_this.toastr.error(b);
|
|
2351
|
-
};
|
|
2352
|
-
this.uploader.onAfterAddingFile = function (fileItem) {
|
|
2353
|
-
_this.ch(fileItem);
|
|
2354
|
-
};
|
|
2355
|
-
this.uploader.onProgressItem = function (fileItem, progress) {
|
|
2356
|
-
// console.log(fileItem);
|
|
2357
|
-
// console.log(progress);
|
|
2358
|
-
_this.loading = true;
|
|
2359
|
-
if (_this.dialogRef != null)
|
|
2360
|
-
if (_this.dialogRef.componentInstance != null)
|
|
2361
|
-
_this.dialogRef.componentInstance.update_progess(progress);
|
|
2362
|
-
};
|
|
2363
|
-
this.uploader.onWhenAddingFileFailed = function (item, filter, options) {
|
|
2364
|
-
switch (filter.name) {
|
|
2365
|
-
case 'fileSize':
|
|
2366
|
-
var ar = Math.round(item.size / 1024 / 1024);
|
|
2367
|
-
_this.toastr.error(_this.limit_string.split('<size>').join('' + ar));
|
|
2368
|
-
break;
|
|
2369
|
-
default:
|
|
2370
|
-
_this.toastr.error("Errore: " + filter.name);
|
|
2371
|
-
}
|
|
2372
|
-
};
|
|
2380
|
+
};
|
|
2381
|
+
});
|
|
2373
2382
|
};
|
|
2374
2383
|
FHUploadComponent.prototype.download_all = function () {
|
|
2375
2384
|
window.open(this.app_s.COMPANY_SITE_ROOT + '/uploads/' + this.App + '/' + this.K + '/' + this.file_name);
|
|
@@ -2784,7 +2793,7 @@ var WinAskTextBigComponent = /** @class */ (function () {
|
|
|
2784
2793
|
this.show_ok = true;
|
|
2785
2794
|
this.min_chars = 3;
|
|
2786
2795
|
}
|
|
2787
|
-
WinAskTextBigComponent.prototype.
|
|
2796
|
+
WinAskTextBigComponent.prototype.ngAfterViewInit = function () {
|
|
2788
2797
|
};
|
|
2789
2798
|
WinAskTextBigComponent.prototype.close = function () { this.dialogRef.close(null); };
|
|
2790
2799
|
WinAskTextBigComponent.prototype.show = function () {
|
|
@@ -2865,7 +2874,7 @@ var FHWinComboSelect = /** @class */ (function () {
|
|
|
2865
2874
|
this.cmb_sel.getObj().nota = this.nota_val;
|
|
2866
2875
|
this.dialogRef.close(this.cmb_sel.getObj());
|
|
2867
2876
|
};
|
|
2868
|
-
FHWinComboSelect.prototype.
|
|
2877
|
+
FHWinComboSelect.prototype.ngAfterViewInit = function () {
|
|
2869
2878
|
};
|
|
2870
2879
|
FHWinComboSelect.ctorParameters = function () { return [
|
|
2871
2880
|
{ type: MatDialogRef },
|
|
@@ -3028,19 +3037,23 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
3028
3037
|
}
|
|
3029
3038
|
});
|
|
3030
3039
|
};
|
|
3031
|
-
FHUploadPanelComponent.prototype.
|
|
3040
|
+
FHUploadPanelComponent.prototype.ngAfterViewInit = function () {
|
|
3032
3041
|
var _this = this;
|
|
3033
|
-
setTimeout(function () {
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
.
|
|
3039
|
-
.
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3042
|
+
setTimeout(function () {
|
|
3043
|
+
setTimeout(function () {
|
|
3044
|
+
_this.b_initt = true;
|
|
3045
|
+
}, 700);
|
|
3046
|
+
_this.upc.single = false;
|
|
3047
|
+
_this.b_mobile = _this._appservice.getState().pageFullscreen;
|
|
3048
|
+
console.log('this.m_p_tipo ', _this.m_p_tipo);
|
|
3049
|
+
_this
|
|
3050
|
+
.upc
|
|
3051
|
+
.init(_this.App, _this.K, 'Descrizione Allegato', _this.m_p_tipo, _this.m_programma_da_eseguire);
|
|
3052
|
+
if (_this.m_p_tipo.indexOf('SELECT_') > -1) {
|
|
3053
|
+
_this.multi_list = true;
|
|
3054
|
+
}
|
|
3055
|
+
_this.ref_allegato();
|
|
3056
|
+
});
|
|
3044
3057
|
};
|
|
3045
3058
|
FHUploadPanelComponent.prototype.init = function (p_app, p_k, p_tipo, programma_da_eseguire) {
|
|
3046
3059
|
if (p_tipo === void 0) { p_tipo = ""; }
|
|
@@ -3051,7 +3064,7 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
3051
3064
|
this.b_edit_loaded = false;
|
|
3052
3065
|
this.m_p_tipo = p_tipo;
|
|
3053
3066
|
this.m_programma_da_eseguire = programma_da_eseguire;
|
|
3054
|
-
this.
|
|
3067
|
+
this.ngAfterViewInit();
|
|
3055
3068
|
};
|
|
3056
3069
|
FHUploadPanelComponent.prototype.ref_allegato = function () {
|
|
3057
3070
|
var _this = this;
|
|
@@ -3228,7 +3241,7 @@ var win_grid_help = /** @class */ (function () {
|
|
|
3228
3241
|
this.title = "";
|
|
3229
3242
|
}
|
|
3230
3243
|
win_grid_help.prototype.close = function () { this.dialogRef.close(null); };
|
|
3231
|
-
win_grid_help.prototype.
|
|
3244
|
+
win_grid_help.prototype.ngAfterViewInit = function () {
|
|
3232
3245
|
};
|
|
3233
3246
|
win_grid_help.ctorParameters = function () { return [
|
|
3234
3247
|
{ type: MatDialogRef },
|
|
@@ -3255,7 +3268,7 @@ var WinAskTextComponent = /** @class */ (function () {
|
|
|
3255
3268
|
this.min_chars = 3;
|
|
3256
3269
|
this.max_chars = 50;
|
|
3257
3270
|
}
|
|
3258
|
-
WinAskTextComponent.prototype.
|
|
3271
|
+
WinAskTextComponent.prototype.ngAfterViewInit = function () {
|
|
3259
3272
|
};
|
|
3260
3273
|
WinAskTextComponent.prototype.close = function () { this.dialogRef.close(null); };
|
|
3261
3274
|
WinAskTextComponent.prototype.show = function () {
|
|
@@ -3444,7 +3457,7 @@ var win_riassegna_select_level = /** @class */ (function () {
|
|
|
3444
3457
|
}
|
|
3445
3458
|
this.dialogRef.close({ lvl_sel: lvl, result: 'ok' });
|
|
3446
3459
|
};
|
|
3447
|
-
win_riassegna_select_level.prototype.
|
|
3460
|
+
win_riassegna_select_level.prototype.ngAfterViewInit = function () {
|
|
3448
3461
|
};
|
|
3449
3462
|
win_riassegna_select_level.ctorParameters = function () { return [
|
|
3450
3463
|
{ type: MatDialogRef },
|
|
@@ -3507,40 +3520,42 @@ var FHUserPickerComponent = /** @class */ (function () {
|
|
|
3507
3520
|
}
|
|
3508
3521
|
}
|
|
3509
3522
|
};
|
|
3510
|
-
FHUserPickerComponent.prototype.
|
|
3523
|
+
FHUserPickerComponent.prototype.ngAfterViewInit = function () {
|
|
3511
3524
|
var _this = this;
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
var p = new QParam();
|
|
3515
|
-
p.sql = "SELECT_ALL_USERS";
|
|
3516
|
-
p.types = [];
|
|
3517
|
-
p.values = [];
|
|
3518
|
-
this
|
|
3519
|
-
._dataService
|
|
3520
|
-
.doQuery(p)
|
|
3521
|
-
.subscribe(function (data) {
|
|
3525
|
+
setTimeout(function () {
|
|
3526
|
+
if (_this.all_users) {
|
|
3522
3527
|
var ok_op = false;
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
+
var p = new QParam();
|
|
3529
|
+
p.sql = "SELECT_ALL_USERS";
|
|
3530
|
+
p.types = [];
|
|
3531
|
+
p.values = [];
|
|
3532
|
+
_this
|
|
3533
|
+
._dataService
|
|
3534
|
+
.doQuery(p)
|
|
3535
|
+
.subscribe(function (data) {
|
|
3536
|
+
var ok_op = false;
|
|
3537
|
+
if (data != null)
|
|
3538
|
+
if (data.result_msg == "OK") {
|
|
3539
|
+
_this.users_list = data.result_data;
|
|
3540
|
+
_this.filtra();
|
|
3541
|
+
ok_op = true;
|
|
3542
|
+
}
|
|
3543
|
+
if (!ok_op) {
|
|
3528
3544
|
}
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
}
|
|
3545
|
+
}, function (err) {
|
|
3546
|
+
_this.errorMsg = "ERRORE DI CONNESSIONE CON IL SERVER.RITENTARE PIU' TARDI";
|
|
3547
|
+
});
|
|
3548
|
+
}
|
|
3549
|
+
else {
|
|
3550
|
+
if (_this.user_sel != null)
|
|
3551
|
+
if (_this.user_sel.length > 0)
|
|
3552
|
+
return;
|
|
3553
|
+
_this.users_list_sel = new Array();
|
|
3554
|
+
if (_this.users_list != null)
|
|
3555
|
+
for (var i = 0; i < _this.users_list.length; i++)
|
|
3556
|
+
_this.users_list_sel.push(_this.users_list[i]);
|
|
3557
|
+
}
|
|
3558
|
+
});
|
|
3544
3559
|
};
|
|
3545
3560
|
FHUserPickerComponent.prototype.close = function () { this.dialogRef.close(null); };
|
|
3546
3561
|
FHUserPickerComponent.prototype.do_add = function () {
|
|
@@ -3669,7 +3684,7 @@ var win_riassegna_select_user = /** @class */ (function () {
|
|
|
3669
3684
|
o.result = "ok";
|
|
3670
3685
|
this.dialogRef.close(o);
|
|
3671
3686
|
};
|
|
3672
|
-
win_riassegna_select_user.prototype.
|
|
3687
|
+
win_riassegna_select_user.prototype.ngAfterViewInit = function () {
|
|
3673
3688
|
};
|
|
3674
3689
|
win_riassegna_select_user.ctorParameters = function () { return [
|
|
3675
3690
|
{ type: MatDialogRef },
|
|
@@ -3714,9 +3729,12 @@ var FHUserFieldComponent = /** @class */ (function () {
|
|
|
3714
3729
|
this.onTouched = function () {
|
|
3715
3730
|
};
|
|
3716
3731
|
}
|
|
3717
|
-
FHUserFieldComponent.prototype.
|
|
3718
|
-
|
|
3719
|
-
|
|
3732
|
+
FHUserFieldComponent.prototype.ngAfterViewInit = function () {
|
|
3733
|
+
var _this = this;
|
|
3734
|
+
setTimeout(function () {
|
|
3735
|
+
if (_this.required)
|
|
3736
|
+
_this.label = _this.label + ' *';
|
|
3737
|
+
});
|
|
3720
3738
|
};
|
|
3721
3739
|
FHUserFieldComponent.prototype.getUsersNc = function () {
|
|
3722
3740
|
var s_nc = '';
|
|
@@ -3988,7 +4006,7 @@ var win_sostituisci_utente = /** @class */ (function () {
|
|
|
3988
4006
|
o.result = "ok";
|
|
3989
4007
|
this.dialogRef.close(o);
|
|
3990
4008
|
};
|
|
3991
|
-
win_sostituisci_utente.prototype.
|
|
4009
|
+
win_sostituisci_utente.prototype.ngAfterViewInit = function () {
|
|
3992
4010
|
};
|
|
3993
4011
|
win_sostituisci_utente.ctorParameters = function () { return [
|
|
3994
4012
|
{ type: MatDialogRef },
|
|
@@ -5607,12 +5625,15 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
5607
5625
|
return item.data.codice;
|
|
5608
5626
|
return "NA";
|
|
5609
5627
|
};
|
|
5610
|
-
FHGridComponent.prototype.
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5628
|
+
FHGridComponent.prototype.ngAfterViewInit = function () {
|
|
5629
|
+
var _this = this;
|
|
5630
|
+
setTimeout(function () {
|
|
5631
|
+
if (_this.end_point == null)
|
|
5632
|
+
_this.end_point = _this.m_appService.API_ENDPOINT + _this.m_appService.GRID_ENDPOINT;
|
|
5633
|
+
if (localStorage.getItem(_this.grid_key + '_FILTER_UP') != null)
|
|
5634
|
+
_this.ric_libera = localStorage.getItem(_this.grid_key + '_FILTER_UP');
|
|
5635
|
+
_this.onResize();
|
|
5636
|
+
});
|
|
5616
5637
|
};
|
|
5617
5638
|
FHGridComponent.prototype.okr = function (event) {
|
|
5618
5639
|
//console.log(event.column.colDef.field);
|
|
@@ -6663,24 +6684,22 @@ var FHAutoCompleteComponent = /** @class */ (function (_super) {
|
|
|
6663
6684
|
this.setByDescri(this.valDef);
|
|
6664
6685
|
}
|
|
6665
6686
|
};
|
|
6666
|
-
FHAutoCompleteComponent.prototype.
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6687
|
+
FHAutoCompleteComponent.prototype.ngAfterViewInit = function () {
|
|
6688
|
+
var _this = this;
|
|
6689
|
+
setTimeout(function () {
|
|
6690
|
+
if (_this.init_fill) {
|
|
6691
|
+
if (_this.sql == '') {
|
|
6692
|
+
return;
|
|
6693
|
+
}
|
|
6694
|
+
_this.fillCombo();
|
|
6673
6695
|
}
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
}
|
|
6681
|
-
this
|
|
6682
|
-
.initend
|
|
6683
|
-
.emit();
|
|
6696
|
+
else {
|
|
6697
|
+
_this.errorMsg = "";
|
|
6698
|
+
}
|
|
6699
|
+
_this
|
|
6700
|
+
.initend
|
|
6701
|
+
.emit();
|
|
6702
|
+
});
|
|
6684
6703
|
};
|
|
6685
6704
|
/// override some FHValueAccessor implementation
|
|
6686
6705
|
/**
|
|
@@ -7073,8 +7092,11 @@ var FHDatePickerComponent = /** @class */ (function (_super) {
|
|
|
7073
7092
|
return null;
|
|
7074
7093
|
return this.date_sel.toDate();
|
|
7075
7094
|
};
|
|
7076
|
-
FHDatePickerComponent.prototype.
|
|
7077
|
-
this
|
|
7095
|
+
FHDatePickerComponent.prototype.ngAfterViewInit = function () {
|
|
7096
|
+
var _this = this;
|
|
7097
|
+
setTimeout(function () {
|
|
7098
|
+
_this.setLimits();
|
|
7099
|
+
});
|
|
7078
7100
|
// this.myDatePickerOptions.componentDisabled=!this.enabled;
|
|
7079
7101
|
};
|
|
7080
7102
|
FHDatePickerComponent.prototype.setLimits = function () {
|
|
@@ -7173,10 +7195,6 @@ var ApprovaGridComponent = /** @class */ (function () {
|
|
|
7173
7195
|
this.val_app = -1;
|
|
7174
7196
|
this.params.api.stopEditing();
|
|
7175
7197
|
};
|
|
7176
|
-
// dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
|
|
7177
|
-
ApprovaGridComponent.prototype.ngAfterViewInit = function () {
|
|
7178
|
-
// this.container.element.nativeElement.focus();
|
|
7179
|
-
};
|
|
7180
7198
|
ApprovaGridComponent.prototype.agInit = function (params) {
|
|
7181
7199
|
this.params = params;
|
|
7182
7200
|
};
|
|
@@ -7246,8 +7264,11 @@ var FHCurrencyFormatterDirective = /** @class */ (function () {
|
|
|
7246
7264
|
this.currencyPipe = currencyPipe;
|
|
7247
7265
|
this.el = this.elementRef.nativeElement;
|
|
7248
7266
|
}
|
|
7249
|
-
FHCurrencyFormatterDirective.prototype.
|
|
7250
|
-
|
|
7267
|
+
FHCurrencyFormatterDirective.prototype.ngAfterViewInit = function () {
|
|
7268
|
+
var _this = this;
|
|
7269
|
+
setTimeout(function () {
|
|
7270
|
+
_this.el.value = _this.currencyPipe.transform(_this.el.value);
|
|
7271
|
+
});
|
|
7251
7272
|
};
|
|
7252
7273
|
FHCurrencyFormatterDirective.prototype.onFocus = function (value) {
|
|
7253
7274
|
this.el.value = this.currencyPipe.parse(value); // opossite of transform
|
|
@@ -7318,7 +7339,7 @@ var win_mappa = /** @class */ (function () {
|
|
|
7318
7339
|
this.infoWindowOpened.close();
|
|
7319
7340
|
this.infoWindowOpened = infoWindow;
|
|
7320
7341
|
};
|
|
7321
|
-
win_mappa.prototype.
|
|
7342
|
+
win_mappa.prototype.ngAfterViewInit = function () {
|
|
7322
7343
|
};
|
|
7323
7344
|
win_mappa.ctorParameters = function () { return [
|
|
7324
7345
|
{ type: MatDialogRef },
|
|
@@ -7351,7 +7372,7 @@ var TextAreaEditor = /** @class */ (function () {
|
|
|
7351
7372
|
TextAreaEditor.prototype.ngAfterViewInit = function () {
|
|
7352
7373
|
var _this = this;
|
|
7353
7374
|
// console.log(this.appdt.nativeElement);
|
|
7354
|
-
setTimeout(function () { return _this.appdt.nativeElement.focus(); }
|
|
7375
|
+
setTimeout(function () { return _this.appdt.nativeElement.focus(); });
|
|
7355
7376
|
};
|
|
7356
7377
|
TextAreaEditor.prototype.agInit = function (params) {
|
|
7357
7378
|
this.params = params;
|
|
@@ -7423,11 +7444,6 @@ var ComboBoxEditor = /** @class */ (function () {
|
|
|
7423
7444
|
// 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");
|
|
7424
7445
|
this.date_zz = this.selval;
|
|
7425
7446
|
};
|
|
7426
|
-
// dont use afterGuiAttached for post gui events - hook into ngAfterViewInit instead for this
|
|
7427
|
-
ComboBoxEditor.prototype.ngAfterViewInit = function () {
|
|
7428
|
-
// console.log(this.appdt.nativeElement);
|
|
7429
|
-
// setTimeout(()=>this.appdt.nativeElement.click(),500);
|
|
7430
|
-
};
|
|
7431
7447
|
ComboBoxEditor.prototype.agInit = function (params) {
|
|
7432
7448
|
var _this = this;
|
|
7433
7449
|
this.params = params;
|
|
@@ -7539,7 +7555,7 @@ var FHPickListComponent = /** @class */ (function () {
|
|
|
7539
7555
|
this.values = [];
|
|
7540
7556
|
this.value_sel = new Array();
|
|
7541
7557
|
}
|
|
7542
|
-
FHPickListComponent.prototype.
|
|
7558
|
+
FHPickListComponent.prototype.ngAfterViewInit = function () {
|
|
7543
7559
|
};
|
|
7544
7560
|
FHPickListComponent.prototype.filtra = function () {
|
|
7545
7561
|
this.value_list_sel = new Array();
|
|
@@ -7759,7 +7775,7 @@ var WinAskNumberComponent = /** @class */ (function () {
|
|
|
7759
7775
|
this.valore_min = 1;
|
|
7760
7776
|
this.valore_max = 1000000;
|
|
7761
7777
|
}
|
|
7762
|
-
WinAskNumberComponent.prototype.
|
|
7778
|
+
WinAskNumberComponent.prototype.ngAfterViewInit = function () {
|
|
7763
7779
|
};
|
|
7764
7780
|
WinAskNumberComponent.prototype.show = function () {
|
|
7765
7781
|
};
|
|
@@ -7823,7 +7839,7 @@ var FHMdReader = /** @class */ (function () {
|
|
|
7823
7839
|
this.highlighted = true;
|
|
7824
7840
|
}
|
|
7825
7841
|
};
|
|
7826
|
-
FHMdReader.prototype.
|
|
7842
|
+
FHMdReader.prototype.ngAfterViewInit = function () {
|
|
7827
7843
|
};
|
|
7828
7844
|
FHMdReader.ctorParameters = function () { return [
|
|
7829
7845
|
{ type: HighlightService }
|
|
@@ -7889,7 +7905,7 @@ var FHLogPanelComponent = /** @class */ (function () {
|
|
|
7889
7905
|
FHLogPanelComponent.prototype.reload = function () {
|
|
7890
7906
|
this.datagrid.doFill("[applicativo]='" + this.m_app + "' and [iddocumento]='" + this.m_k + "'");
|
|
7891
7907
|
};
|
|
7892
|
-
FHLogPanelComponent.prototype.
|
|
7908
|
+
FHLogPanelComponent.prototype.ngAfterViewInit = function () {
|
|
7893
7909
|
};
|
|
7894
7910
|
FHLogPanelComponent.ctorParameters = function () { return [
|
|
7895
7911
|
{ type: UtilityService }
|
|
@@ -8018,13 +8034,16 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
|
|
|
8018
8034
|
FHCurrencyFieldComponent.prototype.setFocus = function () {
|
|
8019
8035
|
this.el.nativeElement.focus();
|
|
8020
8036
|
};
|
|
8021
|
-
FHCurrencyFieldComponent.prototype.
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8037
|
+
FHCurrencyFieldComponent.prototype.ngAfterViewInit = function () {
|
|
8038
|
+
var _this = this;
|
|
8039
|
+
setTimeout(function () {
|
|
8040
|
+
if (_this.required)
|
|
8041
|
+
_this.el.nativeElement.required = _this.required;
|
|
8042
|
+
_this.el.nativeElement.disabled = !_this.enabled;
|
|
8043
|
+
if (_this.value == null)
|
|
8044
|
+
_this.value = 0;
|
|
8045
|
+
_this.formattedAmount = _this.transform(_this.value, _this.decimal);
|
|
8046
|
+
});
|
|
8028
8047
|
};
|
|
8029
8048
|
__decorate([
|
|
8030
8049
|
ViewChild('el'),
|
|
@@ -8111,39 +8130,42 @@ var FHRichText = /** @class */ (function () {
|
|
|
8111
8130
|
FHRichText.prototype.onBlur = function (o) {
|
|
8112
8131
|
this.blur.emit(o);
|
|
8113
8132
|
};
|
|
8114
|
-
FHRichText.prototype.
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
|
|
8119
|
-
|
|
8120
|
-
|
|
8121
|
-
|
|
8122
|
-
|
|
8123
|
-
|
|
8124
|
-
|
|
8125
|
-
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
|
|
8129
|
-
|
|
8130
|
-
|
|
8131
|
-
|
|
8132
|
-
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8138
|
-
|
|
8139
|
-
|
|
8140
|
-
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8133
|
+
FHRichText.prototype.ngAfterViewInit = function () {
|
|
8134
|
+
var _this = this;
|
|
8135
|
+
setTimeout(function () {
|
|
8136
|
+
_this.config = { height: _this.height };
|
|
8137
|
+
if (_this.enabled) {
|
|
8138
|
+
_this.config.toolbarGroups = [
|
|
8139
|
+
{ name: 'document', groups: ['mode', 'document', 'doctools'] },
|
|
8140
|
+
{ name: 'clipboard', groups: ['clipboard', 'undo'] },
|
|
8141
|
+
{ name: 'editing', groups: ['find', 'selection', 'spellchecker'] },
|
|
8142
|
+
{ name: 'basicstyles', groups: ['basicstyles', 'cleanup'] },
|
|
8143
|
+
{ name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] },
|
|
8144
|
+
{ name: 'links' },
|
|
8145
|
+
{ name: 'insert' },
|
|
8146
|
+
{ name: 'styles' },
|
|
8147
|
+
{ name: 'colors' },
|
|
8148
|
+
{ name: 'tools' },
|
|
8149
|
+
{ name: 'others' },
|
|
8150
|
+
{ name: 'about' }
|
|
8151
|
+
];
|
|
8152
|
+
}
|
|
8153
|
+
else {
|
|
8154
|
+
_this.config.allowedContent = true;
|
|
8155
|
+
_this.config.toolbarGroups = [];
|
|
8156
|
+
}
|
|
8157
|
+
/*
|
|
8158
|
+
var element = document.querySelector( '.cke_top' );
|
|
8159
|
+
console.log("Just to do some debugging we check " + element);
|
|
8160
|
+
var myEl = this.ced.toolbarButtons
|
|
8161
|
+
myEl.toggle();
|
|
8162
|
+
element = document.querySelector( '.cke_bottom' );
|
|
8163
|
+
myEl = ced.element( element );
|
|
8164
|
+
myEl.toggle();
|
|
8165
|
+
|
|
8166
|
+
var myEl2 = angular.element( document.querySelector( '.test' ) );
|
|
8167
|
+
myEl2.toggleClass("invisible")*/
|
|
8168
|
+
});
|
|
8147
8169
|
};
|
|
8148
8170
|
FHRichText.prototype.writeValue = function (value) {
|
|
8149
8171
|
this.value = value;
|
|
@@ -8203,7 +8225,7 @@ var WinOutputComponent = /** @class */ (function () {
|
|
|
8203
8225
|
this.min_chars = 3;
|
|
8204
8226
|
this.max_chars = 50;
|
|
8205
8227
|
}
|
|
8206
|
-
WinOutputComponent.prototype.
|
|
8228
|
+
WinOutputComponent.prototype.ngAfterViewInit = function () {
|
|
8207
8229
|
};
|
|
8208
8230
|
WinOutputComponent.prototype.close = function () { this.dialogRef.close(null); };
|
|
8209
8231
|
WinOutputComponent.prototype.show = function () {
|
|
@@ -8350,14 +8372,17 @@ var FHNumericFieldComponent = /** @class */ (function () {
|
|
|
8350
8372
|
FHNumericFieldComponent.prototype.setFocus = function () {
|
|
8351
8373
|
this.el.nativeElement.focus();
|
|
8352
8374
|
};
|
|
8353
|
-
FHNumericFieldComponent.prototype.
|
|
8354
|
-
|
|
8355
|
-
|
|
8356
|
-
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8375
|
+
FHNumericFieldComponent.prototype.ngAfterViewInit = function () {
|
|
8376
|
+
var _this = this;
|
|
8377
|
+
setTimeout(function () {
|
|
8378
|
+
if (_this.required)
|
|
8379
|
+
_this.el.nativeElement.required = _this.required;
|
|
8380
|
+
_this.el.nativeElement.disabled = !_this.enabled;
|
|
8381
|
+
if (_this.value == null)
|
|
8382
|
+
_this.value = 0;
|
|
8383
|
+
// console.log('tttttttttttt',this.decimal);
|
|
8384
|
+
_this.formattedAmount = _this.transform(_this.value, _this.decimal);
|
|
8385
|
+
});
|
|
8361
8386
|
};
|
|
8362
8387
|
FHNumericFieldComponent.ctorParameters = function () { return [
|
|
8363
8388
|
{ type: UtilityService }
|
|
@@ -8443,7 +8468,7 @@ var FHListPick = /** @class */ (function () {
|
|
|
8443
8468
|
return;
|
|
8444
8469
|
this.dialogRef.close(this.cmb_sel.getObjects());
|
|
8445
8470
|
};
|
|
8446
|
-
FHListPick.prototype.
|
|
8471
|
+
FHListPick.prototype.ngAfterViewInit = function () {
|
|
8447
8472
|
};
|
|
8448
8473
|
FHListPick.ctorParameters = function () { return [
|
|
8449
8474
|
{ type: MatDialogRef },
|
|
@@ -8477,7 +8502,7 @@ var win_salva_annulla = /** @class */ (function () {
|
|
|
8477
8502
|
win_salva_annulla.prototype.esci_senza_salv = function () {
|
|
8478
8503
|
this.dialogRef.close("esci_senza_salv");
|
|
8479
8504
|
};
|
|
8480
|
-
win_salva_annulla.prototype.
|
|
8505
|
+
win_salva_annulla.prototype.ngAfterViewInit = function () {
|
|
8481
8506
|
};
|
|
8482
8507
|
win_salva_annulla.ctorParameters = function () { return [
|
|
8483
8508
|
{ type: MatDialogRef },
|
|
@@ -8538,7 +8563,7 @@ var win_assegna = /** @class */ (function () {
|
|
|
8538
8563
|
o.arrsel = this.up.getSelArr();
|
|
8539
8564
|
this.dialogRef.close(o);
|
|
8540
8565
|
};
|
|
8541
|
-
win_assegna.prototype.
|
|
8566
|
+
win_assegna.prototype.ngAfterViewInit = function () {
|
|
8542
8567
|
};
|
|
8543
8568
|
win_assegna.ctorParameters = function () { return [
|
|
8544
8569
|
{ type: MatDialogRef },
|
|
@@ -8595,7 +8620,7 @@ var win_conferma = /** @class */ (function () {
|
|
|
8595
8620
|
win_conferma.prototype.close = function () {
|
|
8596
8621
|
this.dialogRef.close("abort");
|
|
8597
8622
|
};
|
|
8598
|
-
win_conferma.prototype.
|
|
8623
|
+
win_conferma.prototype.ngAfterViewInit = function () {
|
|
8599
8624
|
};
|
|
8600
8625
|
win_conferma.ctorParameters = function () { return [
|
|
8601
8626
|
{ type: MatDialogRef },
|
|
@@ -8634,7 +8659,7 @@ var win_select_canale = /** @class */ (function () {
|
|
|
8634
8659
|
}
|
|
8635
8660
|
this.dialogRef.close(this.selval);
|
|
8636
8661
|
};
|
|
8637
|
-
win_select_canale.prototype.
|
|
8662
|
+
win_select_canale.prototype.ngAfterViewInit = function () {
|
|
8638
8663
|
};
|
|
8639
8664
|
win_select_canale.ctorParameters = function () { return [
|
|
8640
8665
|
{ type: MatDialogRef },
|
|
@@ -8734,7 +8759,7 @@ var win_select_level = /** @class */ (function () {
|
|
|
8734
8759
|
}
|
|
8735
8760
|
this.dialogRef.close(this.selval);
|
|
8736
8761
|
};
|
|
8737
|
-
win_select_level.prototype.
|
|
8762
|
+
win_select_level.prototype.ngAfterViewInit = function () {
|
|
8738
8763
|
};
|
|
8739
8764
|
win_select_level.ctorParameters = function () { return [
|
|
8740
8765
|
{ type: MatDialogRef },
|
|
@@ -8769,10 +8794,13 @@ var win_uploads = /** @class */ (function () {
|
|
|
8769
8794
|
this.sovrascrivi_path = '';
|
|
8770
8795
|
}
|
|
8771
8796
|
win_uploads.prototype.close = function () { this.dialogRef.close(null); };
|
|
8772
|
-
win_uploads.prototype.
|
|
8773
|
-
|
|
8774
|
-
|
|
8775
|
-
|
|
8797
|
+
win_uploads.prototype.ngAfterViewInit = function () {
|
|
8798
|
+
var _this = this;
|
|
8799
|
+
setTimeout(function () {
|
|
8800
|
+
_this.App = _this.app_s.getState().wkf_doc_info.uiid_app;
|
|
8801
|
+
_this.K = _this.app_s.getState().wkf_doc_info.uiid_doc;
|
|
8802
|
+
_this.init(_this.App, _this.K);
|
|
8803
|
+
});
|
|
8776
8804
|
};
|
|
8777
8805
|
win_uploads.prototype.init = function (p_app, p_k) {
|
|
8778
8806
|
this.App = p_app;
|
|
@@ -8835,7 +8863,7 @@ var win_commento_sel_notif = /** @class */ (function () {
|
|
|
8835
8863
|
o.arrsel = this.up.getSelArr();
|
|
8836
8864
|
this.dialogRef.close(o);
|
|
8837
8865
|
};
|
|
8838
|
-
win_commento_sel_notif.prototype.
|
|
8866
|
+
win_commento_sel_notif.prototype.ngAfterViewInit = function () {
|
|
8839
8867
|
};
|
|
8840
8868
|
win_commento_sel_notif.ctorParameters = function () { return [
|
|
8841
8869
|
{ type: MatDialogRef },
|
|
@@ -9157,7 +9185,7 @@ var win_commenti = /** @class */ (function () {
|
|
|
9157
9185
|
}
|
|
9158
9186
|
});
|
|
9159
9187
|
};
|
|
9160
|
-
win_commenti.prototype.
|
|
9188
|
+
win_commenti.prototype.ngAfterViewInit = function () {
|
|
9161
9189
|
};
|
|
9162
9190
|
win_commenti.prototype.ins = function () {
|
|
9163
9191
|
this.nota = '';
|
|
@@ -9212,7 +9240,7 @@ var win_info_doc = /** @class */ (function () {
|
|
|
9212
9240
|
this.uiid_doc = this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
9213
9241
|
this.canale = this.m_appService.getState().wkf_doc_info.canale;
|
|
9214
9242
|
};
|
|
9215
|
-
win_info_doc.prototype.
|
|
9243
|
+
win_info_doc.prototype.ngAfterViewInit = function () {
|
|
9216
9244
|
};
|
|
9217
9245
|
win_info_doc.ctorParameters = function () { return [
|
|
9218
9246
|
{ type: MatDialogRef },
|
|
@@ -9328,7 +9356,7 @@ var win_log = /** @class */ (function () {
|
|
|
9328
9356
|
this.b_ins = true;
|
|
9329
9357
|
this.title = 'INSERISCI COMMENTO';
|
|
9330
9358
|
};
|
|
9331
|
-
win_log.prototype.
|
|
9359
|
+
win_log.prototype.ngAfterViewInit = function () {
|
|
9332
9360
|
var _this = this;
|
|
9333
9361
|
setTimeout(function () {
|
|
9334
9362
|
_this.ric_all();
|
|
@@ -10006,7 +10034,7 @@ var FHGridJSONComponent = /** @class */ (function () {
|
|
|
10006
10034
|
return item.data.codice;
|
|
10007
10035
|
return "NA";
|
|
10008
10036
|
};
|
|
10009
|
-
FHGridJSONComponent.prototype.
|
|
10037
|
+
FHGridJSONComponent.prototype.ngAfterViewInit = function () {
|
|
10010
10038
|
// this.onResize();
|
|
10011
10039
|
};
|
|
10012
10040
|
FHGridJSONComponent.prototype.okr = function (event) {
|
|
@@ -11997,8 +12025,11 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11997
12025
|
});
|
|
11998
12026
|
});
|
|
11999
12027
|
};
|
|
12000
|
-
dati_aggiuntivi.prototype.
|
|
12001
|
-
this
|
|
12028
|
+
dati_aggiuntivi.prototype.ngAfterViewInit = function () {
|
|
12029
|
+
var _this = this;
|
|
12030
|
+
setTimeout(function () {
|
|
12031
|
+
_this.init_engine();
|
|
12032
|
+
});
|
|
12002
12033
|
};
|
|
12003
12034
|
dati_aggiuntivi.prototype.setta_info_app = function (o) {
|
|
12004
12035
|
this.app_info = o;
|
|
@@ -12073,7 +12104,7 @@ var wkf_header_bar = /** @class */ (function () {
|
|
|
12073
12104
|
this.dt_agg.open_upload(); };
|
|
12074
12105
|
wkf_header_bar.prototype.open_wkf = function () { if (this.dt_agg != null)
|
|
12075
12106
|
this.dt_agg.open_wkf(); };
|
|
12076
|
-
wkf_header_bar.prototype.
|
|
12107
|
+
wkf_header_bar.prototype.ngAfterViewInit = function () {
|
|
12077
12108
|
};
|
|
12078
12109
|
wkf_header_bar.ctorParameters = function () { return [
|
|
12079
12110
|
{ type: AppService }
|
|
@@ -12169,26 +12200,28 @@ var FormBuilderComponent = /** @class */ (function () {
|
|
|
12169
12200
|
}
|
|
12170
12201
|
});
|
|
12171
12202
|
};
|
|
12172
|
-
FormBuilderComponent.prototype.
|
|
12203
|
+
FormBuilderComponent.prototype.ngAfterViewInit = function () {
|
|
12173
12204
|
var _this = this;
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12205
|
+
setTimeout(function () {
|
|
12206
|
+
try {
|
|
12207
|
+
_this.dragula.createGroup('bag-items', {
|
|
12208
|
+
revertOnSpill: true
|
|
12209
|
+
});
|
|
12210
|
+
}
|
|
12211
|
+
catch (e) {
|
|
12212
|
+
console.log(e);
|
|
12213
|
+
}
|
|
12214
|
+
_this.dragula
|
|
12215
|
+
.drag.call(function (value) {
|
|
12216
|
+
_this.change.emit();
|
|
12217
|
+
_this.edit_obj = null;
|
|
12218
|
+
});
|
|
12219
|
+
_this.dragula
|
|
12220
|
+
.drop
|
|
12221
|
+
.call(function (value) {
|
|
12222
|
+
_this.change.emit();
|
|
12223
|
+
_this.edit_obj = null;
|
|
12177
12224
|
});
|
|
12178
|
-
}
|
|
12179
|
-
catch (e) {
|
|
12180
|
-
console.log(e);
|
|
12181
|
-
}
|
|
12182
|
-
this.dragula
|
|
12183
|
-
.drag.call(function (value) {
|
|
12184
|
-
_this.change.emit();
|
|
12185
|
-
_this.edit_obj = null;
|
|
12186
|
-
});
|
|
12187
|
-
this.dragula
|
|
12188
|
-
.drop
|
|
12189
|
-
.call(function (value) {
|
|
12190
|
-
_this.change.emit();
|
|
12191
|
-
_this.edit_obj = null;
|
|
12192
12225
|
});
|
|
12193
12226
|
};
|
|
12194
12227
|
FormBuilderComponent.ctorParameters = function () { return [
|
|
@@ -12241,7 +12274,7 @@ var FormExecuterComponent = /** @class */ (function () {
|
|
|
12241
12274
|
FormExecuterComponent.prototype.setStyles = function (o) {
|
|
12242
12275
|
return { width: '90%', padding: '15px', margin: '15px', border: '1px solid #3db3cd', 'background-color': "#ECF0F1" };
|
|
12243
12276
|
};
|
|
12244
|
-
FormExecuterComponent.prototype.
|
|
12277
|
+
FormExecuterComponent.prototype.ngAfterViewInit = function () {
|
|
12245
12278
|
};
|
|
12246
12279
|
FormExecuterComponent.ctorParameters = function () { return [
|
|
12247
12280
|
{ type: UtilityService },
|
|
@@ -12276,7 +12309,7 @@ var WinAskButtonsComponent = /** @class */ (function () {
|
|
|
12276
12309
|
this.title = "";
|
|
12277
12310
|
this.button_config = [];
|
|
12278
12311
|
}
|
|
12279
|
-
WinAskButtonsComponent.prototype.
|
|
12312
|
+
WinAskButtonsComponent.prototype.ngAfterViewInit = function () {
|
|
12280
12313
|
};
|
|
12281
12314
|
WinAskButtonsComponent.prototype.open = function (o) {
|
|
12282
12315
|
this.dialogRef.close(o);
|
|
@@ -12331,7 +12364,7 @@ var win_show_image = /** @class */ (function () {
|
|
|
12331
12364
|
this.imageIndex = 0;
|
|
12332
12365
|
this.images = [];
|
|
12333
12366
|
}
|
|
12334
|
-
win_show_image.prototype.
|
|
12367
|
+
win_show_image.prototype.ngAfterViewInit = function () {
|
|
12335
12368
|
};
|
|
12336
12369
|
win_show_image.ctorParameters = function () { return [
|
|
12337
12370
|
{ type: MatDialogRef }
|
|
@@ -12399,10 +12432,13 @@ var FHViewerComponent = /** @class */ (function () {
|
|
|
12399
12432
|
this.notfullScreenEvent = new EventEmitter();
|
|
12400
12433
|
this.fullScreenEvent = new EventEmitter();
|
|
12401
12434
|
}
|
|
12402
|
-
FHViewerComponent.prototype.
|
|
12403
|
-
var
|
|
12404
|
-
|
|
12405
|
-
|
|
12435
|
+
FHViewerComponent.prototype.ngAfterViewInit = function () {
|
|
12436
|
+
var _this = this;
|
|
12437
|
+
setTimeout(function () {
|
|
12438
|
+
var merged = _this.mergeConfig(DEFAULT_CONFIG, _this.moduleConfig);
|
|
12439
|
+
_this.config = _this.mergeConfig(merged, _this.config);
|
|
12440
|
+
_this.triggerConfigBinding();
|
|
12441
|
+
});
|
|
12406
12442
|
};
|
|
12407
12443
|
FHViewerComponent.prototype.nextImage = function ($event) {
|
|
12408
12444
|
console.log('this.src.length ', this.src.length);
|
|
@@ -12658,8 +12694,11 @@ var fhimagepreview = /** @class */ (function () {
|
|
|
12658
12694
|
//this.photo_c.toggleFullscreen()
|
|
12659
12695
|
this.already_open = true;
|
|
12660
12696
|
};
|
|
12661
|
-
fhimagepreview.prototype.
|
|
12662
|
-
this
|
|
12697
|
+
fhimagepreview.prototype.ngAfterViewInit = function () {
|
|
12698
|
+
var _this = this;
|
|
12699
|
+
setTimeout(function () {
|
|
12700
|
+
_this.init();
|
|
12701
|
+
});
|
|
12663
12702
|
};
|
|
12664
12703
|
fhimagepreview.prototype.openFullscreen = function () {
|
|
12665
12704
|
console.log('cc', this.photo_c.imgx);
|
|
@@ -12805,7 +12844,7 @@ var fhimagepreview = /** @class */ (function () {
|
|
|
12805
12844
|
fhimagepreview = __decorate([
|
|
12806
12845
|
Component({
|
|
12807
12846
|
selector: 'fh-image-viewer',
|
|
12808
|
-
template: "\n
|
|
12847
|
+
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",
|
|
12809
12848
|
styles: ["\n\n "]
|
|
12810
12849
|
})
|
|
12811
12850
|
], fhimagepreview);
|
|
@@ -12905,7 +12944,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
|
|
|
12905
12944
|
}
|
|
12906
12945
|
});
|
|
12907
12946
|
};
|
|
12908
|
-
FHFieldPickListComponent.prototype.
|
|
12947
|
+
FHFieldPickListComponent.prototype.ngAfterViewInit = function () {
|
|
12909
12948
|
};
|
|
12910
12949
|
FHFieldPickListComponent.ctorParameters = function () { return [
|
|
12911
12950
|
{ type: MatDialog }
|
|
@@ -13042,16 +13081,19 @@ var win_manage_values = /** @class */ (function () {
|
|
|
13042
13081
|
};
|
|
13043
13082
|
win_manage_values.prototype.ok = function () {
|
|
13044
13083
|
};
|
|
13045
|
-
win_manage_values.prototype.
|
|
13046
|
-
|
|
13047
|
-
|
|
13048
|
-
|
|
13049
|
-
|
|
13050
|
-
|
|
13051
|
-
|
|
13052
|
-
|
|
13053
|
-
|
|
13054
|
-
|
|
13084
|
+
win_manage_values.prototype.ngAfterViewInit = function () {
|
|
13085
|
+
var _this = this;
|
|
13086
|
+
setTimeout(function () {
|
|
13087
|
+
_this.nValori = new Object();
|
|
13088
|
+
//this.nValori.valore=0;
|
|
13089
|
+
_this.nValori.descrizione = '';
|
|
13090
|
+
_this.nValori.v1 = null;
|
|
13091
|
+
_this.nValori.v2 = null;
|
|
13092
|
+
_this.nValori.id_valore = -1;
|
|
13093
|
+
_this.nValori.v3 = null;
|
|
13094
|
+
_this.nValori.lingua = null;
|
|
13095
|
+
_this.ref_user_list();
|
|
13096
|
+
});
|
|
13055
13097
|
};
|
|
13056
13098
|
win_manage_values.ctorParameters = function () { return [
|
|
13057
13099
|
{ type: MatDialogRef },
|
|
@@ -13087,14 +13129,17 @@ var FHTableManager = /** @class */ (function () {
|
|
|
13087
13129
|
}
|
|
13088
13130
|
});
|
|
13089
13131
|
};
|
|
13090
|
-
FHTableManager.prototype.
|
|
13091
|
-
|
|
13092
|
-
|
|
13093
|
-
|
|
13094
|
-
|
|
13095
|
-
|
|
13096
|
-
|
|
13097
|
-
|
|
13132
|
+
FHTableManager.prototype.ngAfterViewInit = function () {
|
|
13133
|
+
var _this = this;
|
|
13134
|
+
setTimeout(function () {
|
|
13135
|
+
if (_this.application == "")
|
|
13136
|
+
return;
|
|
13137
|
+
_this.cmb_sel.sql = "SELECT_TABLE_MANAGEMENT";
|
|
13138
|
+
_this.cmb_sel.types = ['string'];
|
|
13139
|
+
_this.cmb_sel.values = [_this.application];
|
|
13140
|
+
_this.cmb_sel.fillCombo();
|
|
13141
|
+
_this.b_init = true;
|
|
13142
|
+
});
|
|
13098
13143
|
};
|
|
13099
13144
|
FHTableManager.ctorParameters = function () { return [
|
|
13100
13145
|
{ type: QueryService },
|
|
@@ -13187,8 +13232,11 @@ var win_manage_roles = /** @class */ (function () {
|
|
|
13187
13232
|
}
|
|
13188
13233
|
});
|
|
13189
13234
|
};
|
|
13190
|
-
win_manage_roles.prototype.
|
|
13191
|
-
this
|
|
13235
|
+
win_manage_roles.prototype.ngAfterViewInit = function () {
|
|
13236
|
+
var _this = this;
|
|
13237
|
+
setTimeout(function () {
|
|
13238
|
+
_this.ref_user_list();
|
|
13239
|
+
});
|
|
13192
13240
|
};
|
|
13193
13241
|
win_manage_roles.ctorParameters = function () { return [
|
|
13194
13242
|
{ type: MatDialogRef },
|
|
@@ -13228,14 +13276,17 @@ var FHRoleManager = /** @class */ (function () {
|
|
|
13228
13276
|
}
|
|
13229
13277
|
});
|
|
13230
13278
|
};
|
|
13231
|
-
FHRoleManager.prototype.
|
|
13232
|
-
|
|
13233
|
-
|
|
13234
|
-
|
|
13235
|
-
|
|
13236
|
-
|
|
13237
|
-
|
|
13238
|
-
|
|
13279
|
+
FHRoleManager.prototype.ngAfterViewInit = function () {
|
|
13280
|
+
var _this = this;
|
|
13281
|
+
setTimeout(function () {
|
|
13282
|
+
if (_this.application == "")
|
|
13283
|
+
return;
|
|
13284
|
+
_this.cmb_sel.sql = "SELECT_APP_USER_MANAGEMENT";
|
|
13285
|
+
_this.cmb_sel.types = ['string'];
|
|
13286
|
+
_this.cmb_sel.values = [_this.application];
|
|
13287
|
+
_this.cmb_sel.fillCombo();
|
|
13288
|
+
_this.b_init = true;
|
|
13289
|
+
});
|
|
13239
13290
|
};
|
|
13240
13291
|
FHRoleManager.ctorParameters = function () { return [
|
|
13241
13292
|
{ type: QueryService },
|
|
@@ -13511,22 +13562,22 @@ var FHComboboxComponentFilter = /** @class */ (function () {
|
|
|
13511
13562
|
this.setByDescri(this.valDef);
|
|
13512
13563
|
};
|
|
13513
13564
|
FHComboboxComponentFilter.prototype.ngAfterViewInit = function () {
|
|
13514
|
-
|
|
13515
|
-
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
|
|
13565
|
+
var _this = this;
|
|
13566
|
+
setTimeout(function () {
|
|
13567
|
+
if (_this.init_fill == true) {
|
|
13568
|
+
if (_this.sql == '') {
|
|
13569
|
+
//this.errorMsg="QUERY NON CONFIGURATA";
|
|
13570
|
+
return;
|
|
13571
|
+
}
|
|
13572
|
+
_this.fillCombo();
|
|
13521
13573
|
}
|
|
13522
|
-
|
|
13523
|
-
|
|
13524
|
-
|
|
13525
|
-
|
|
13526
|
-
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
.emit();
|
|
13574
|
+
else {
|
|
13575
|
+
_this.errorMsg = "";
|
|
13576
|
+
}
|
|
13577
|
+
_this
|
|
13578
|
+
.initend
|
|
13579
|
+
.emit();
|
|
13580
|
+
});
|
|
13530
13581
|
};
|
|
13531
13582
|
FHComboboxComponentFilter.prototype.sc = function () {
|
|
13532
13583
|
this
|
|
@@ -13698,7 +13749,7 @@ var win_insert_commento = /** @class */ (function () {
|
|
|
13698
13749
|
this.b_edit = false;
|
|
13699
13750
|
this.title = 'COMMENTI';
|
|
13700
13751
|
};
|
|
13701
|
-
win_insert_commento.prototype.
|
|
13752
|
+
win_insert_commento.prototype.ngAfterViewInit = function () {
|
|
13702
13753
|
};
|
|
13703
13754
|
win_insert_commento.prototype.ins = function () {
|
|
13704
13755
|
this.nota = '';
|
|
@@ -13749,24 +13800,26 @@ var win_user_info = /** @class */ (function () {
|
|
|
13749
13800
|
this.isadmin = this.appService.user_isadmin;
|
|
13750
13801
|
}
|
|
13751
13802
|
win_user_info.prototype.close = function () { this.dialogRef.close(null); };
|
|
13752
|
-
win_user_info.prototype.
|
|
13803
|
+
win_user_info.prototype.ngAfterViewInit = function () {
|
|
13753
13804
|
var _this = this;
|
|
13754
|
-
|
|
13755
|
-
if (
|
|
13756
|
-
if (
|
|
13757
|
-
|
|
13758
|
-
|
|
13759
|
-
|
|
13760
|
-
|
|
13761
|
-
|
|
13762
|
-
|
|
13763
|
-
|
|
13764
|
-
if (data
|
|
13765
|
-
if (data.
|
|
13766
|
-
|
|
13767
|
-
|
|
13805
|
+
setTimeout(function () {
|
|
13806
|
+
if (_this.isadmin == '1')
|
|
13807
|
+
if (_this.appService.dev_mode != null)
|
|
13808
|
+
if (_this.appService.dev_mode == '1')
|
|
13809
|
+
_this.dev_mode = true;
|
|
13810
|
+
var p = new QParam();
|
|
13811
|
+
p.sql = "SELECT_ALLEGATI_DOCUMENTO";
|
|
13812
|
+
p.types = ['string', 'string'];
|
|
13813
|
+
p.values = ['FOTO_UTENTI', _this.appService.user];
|
|
13814
|
+
_this._dataService.doQuery(p).subscribe(function (data) {
|
|
13815
|
+
if (data != null)
|
|
13816
|
+
if (data.result_msg == "OK") {
|
|
13817
|
+
if (data.result_data.length > 0) {
|
|
13818
|
+
_this.b_filef = true;
|
|
13819
|
+
_this.foto_ut = _this.appService.COMPANY_SITE_ROOT + '/uploads/' + data.result_data[0].App + '/' + data.result_data[0].K + '/' + data.result_data[0].Filename;
|
|
13820
|
+
}
|
|
13768
13821
|
}
|
|
13769
|
-
|
|
13822
|
+
});
|
|
13770
13823
|
});
|
|
13771
13824
|
};
|
|
13772
13825
|
win_user_info.prototype.upd_dev = function (dv) {
|
|
@@ -13869,7 +13922,7 @@ var FHHelpButton = /** @class */ (function () {
|
|
|
13869
13922
|
], FHHelpButton.prototype, "key", void 0);
|
|
13870
13923
|
FHHelpButton = __decorate([
|
|
13871
13924
|
Component({
|
|
13872
|
-
selector: 'FHHelpButton', template: "\n\n\n
|
|
13925
|
+
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 ",
|
|
13873
13926
|
styles: ["\n\n\n "]
|
|
13874
13927
|
}),
|
|
13875
13928
|
__metadata("design:paramtypes", [QueryService, ToastrService])
|
|
@@ -14120,15 +14173,6 @@ var FHGuard = /** @class */ (function () {
|
|
|
14120
14173
|
return FHGuard;
|
|
14121
14174
|
}());
|
|
14122
14175
|
|
|
14123
|
-
var dt = /** @class */ (function () {
|
|
14124
|
-
function dt(y, m, d) {
|
|
14125
|
-
this.year = y;
|
|
14126
|
-
this.month = m;
|
|
14127
|
-
this.day = d;
|
|
14128
|
-
}
|
|
14129
|
-
return dt;
|
|
14130
|
-
}());
|
|
14131
|
-
|
|
14132
14176
|
/*
|
|
14133
14177
|
* Public API Surface of fluxhub-lib
|
|
14134
14178
|
*/
|
|
@@ -14137,5 +14181,5 @@ var dt = /** @class */ (function () {
|
|
|
14137
14181
|
* Generated bundle index. Do not edit.
|
|
14138
14182
|
*/
|
|
14139
14183
|
|
|
14140
|
-
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,
|
|
14184
|
+
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 };
|
|
14141
14185
|
//# sourceMappingURL=fluxhub-fluxhub-lib.js.map
|