@fluxhub/fluxhub-lib 9.0.1 → 9.0.3
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 +146 -87
- 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 +4 -2
- package/esm2015/lib/controls/app_manager/fhtablevaluesmanager.js +4 -2
- package/esm2015/lib/controls/fhfieldpicklist.js +11 -9
- package/esm2015/lib/controls/fhgrid.js +11 -5
- package/esm2015/lib/controls/fhgrid_json.js +5 -3
- package/esm2015/lib/controls/fhupload.js +4 -2
- package/esm2015/lib/controls/fhuploadpanel.js +9 -5
- package/esm2015/lib/controls/fhuserfield.js +7 -5
- package/esm2015/lib/form_builder/form_builder.js +5 -3
- package/esm2015/lib/services/office_automator.service.js +4 -2
- package/esm2015/lib/wkf_engine/win_commenti.js +11 -7
- package/esm2015/lib/wkf_engine/win_insert_commento.js +4 -2
- package/esm2015/lib/wkf_engine/win_log.js +11 -7
- package/esm2015/lib/wkf_engine/wkfapp.js +21 -11
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +35 -25
- package/esm5/lib/controls/app_manager/fhrolemanager.js +5 -2
- package/esm5/lib/controls/app_manager/fhtablevaluesmanager.js +5 -2
- package/esm5/lib/controls/fhfieldpicklist.js +11 -9
- package/esm5/lib/controls/fhgrid.js +11 -5
- package/esm5/lib/controls/fhgrid_json.js +5 -3
- package/esm5/lib/controls/fhupload.js +4 -2
- package/esm5/lib/controls/fhuploadpanel.js +11 -7
- package/esm5/lib/controls/fhuserfield.js +7 -5
- package/esm5/lib/form_builder/form_builder.js +5 -3
- package/esm5/lib/services/office_automator.service.js +4 -2
- package/esm5/lib/wkf_engine/win_commenti.js +11 -7
- package/esm5/lib/wkf_engine/win_insert_commento.js +4 -2
- package/esm5/lib/wkf_engine/win_log.js +11 -7
- package/esm5/lib/wkf_engine/wkfapp.js +29 -19
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +38 -27
- package/fesm2015/fluxhub-fluxhub-lib.js +131 -75
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +146 -87
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -2411,7 +2411,9 @@ var FHUploadComponent = /** @class */ (function () {
|
|
|
2411
2411
|
};
|
|
2412
2412
|
if (this.dialogRef == null) {
|
|
2413
2413
|
this.dialogRef = this.dialog.open(WinWait, { 'disableClose': true });
|
|
2414
|
-
|
|
2414
|
+
setTimeout(function () {
|
|
2415
|
+
_this.dialogRef.componentInstance.label = _this.label_attendere;
|
|
2416
|
+
});
|
|
2415
2417
|
this.dialogRef.afterClosed().subscribe(function (result) {
|
|
2416
2418
|
if (result != "") {
|
|
2417
2419
|
}
|
|
@@ -2943,11 +2945,13 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
2943
2945
|
.subscribe(function (data) {
|
|
2944
2946
|
if (data != null)
|
|
2945
2947
|
if (data.result_msg == "OK") {
|
|
2946
|
-
var
|
|
2948
|
+
var dialogRef_1 = _this
|
|
2947
2949
|
.dialog
|
|
2948
2950
|
.open(FHWinComboSelect);
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
+
setTimeout(function () {
|
|
2952
|
+
dialogRef_1.componentInstance.set_selection("Tipologia Allegato", data.result_data);
|
|
2953
|
+
});
|
|
2954
|
+
dialogRef_1
|
|
2951
2955
|
.afterClosed()
|
|
2952
2956
|
.subscribe(function (result) {
|
|
2953
2957
|
if (result != null) {
|
|
@@ -2974,9 +2978,11 @@ var FHUploadPanelComponent = /** @class */ (function () {
|
|
|
2974
2978
|
var dialogRef = this
|
|
2975
2979
|
.dialog
|
|
2976
2980
|
.open(WinAskTextBigComponent);
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2981
|
+
setTimeout(function () {
|
|
2982
|
+
dialogRef.componentInstance.label = "Descrizione Allegato";
|
|
2983
|
+
dialogRef.componentInstance.valore = ax.descrizione;
|
|
2984
|
+
dialogRef.componentInstance.min_chars = 0;
|
|
2985
|
+
});
|
|
2980
2986
|
dialogRef
|
|
2981
2987
|
.afterClosed()
|
|
2982
2988
|
.subscribe(function (result) {
|
|
@@ -3886,10 +3892,12 @@ var FHUserFieldComponent = /** @class */ (function () {
|
|
|
3886
3892
|
var dialogRef = this.dialog.open(FHUserPickerComponent, {
|
|
3887
3893
|
disableClose: true, width: "700px", height: "550px"
|
|
3888
3894
|
});
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3895
|
+
setTimeout(function () {
|
|
3896
|
+
dialogRef.componentInstance.user_sel = _this.selectedUser;
|
|
3897
|
+
dialogRef.componentInstance.users_list = Object.assign([], _this.all_user);
|
|
3898
|
+
dialogRef.componentInstance.single_sel = !_this.multi;
|
|
3899
|
+
dialogRef.componentInstance.filtra();
|
|
3900
|
+
});
|
|
3893
3901
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
3894
3902
|
if (result == null)
|
|
3895
3903
|
return;
|
|
@@ -4123,7 +4131,9 @@ var wkfapp = /** @class */ (function () {
|
|
|
4123
4131
|
wkfapp.prototype.recupera_richiesta = function () {
|
|
4124
4132
|
var _this = this;
|
|
4125
4133
|
var dialogRef = this.dialog.open(win_recupera_doc, { 'disableClose': true });
|
|
4126
|
-
|
|
4134
|
+
setTimeout(function () {
|
|
4135
|
+
dialogRef.componentInstance.init_w(_this.id_applicativo);
|
|
4136
|
+
});
|
|
4127
4137
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
4128
4138
|
if (result == 'ok')
|
|
4129
4139
|
_this.get_grid().doFill('');
|
|
@@ -4146,10 +4156,12 @@ var wkfapp = /** @class */ (function () {
|
|
|
4146
4156
|
.subscribe(function (data) {
|
|
4147
4157
|
if (data != null)
|
|
4148
4158
|
if (data.result_msg == "OK") {
|
|
4149
|
-
var
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4159
|
+
var dialogRef_1 = _this.dialog.open(win_sostituisci_utente, { 'disableClose': true, 'width': '450px' });
|
|
4160
|
+
setTimeout(function () {
|
|
4161
|
+
dialogRef_1.componentInstance.up.all_user = data.result_data;
|
|
4162
|
+
dialogRef_1.componentInstance.title = "Sostituzione utente: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
|
|
4163
|
+
});
|
|
4164
|
+
dialogRef_1.afterClosed().subscribe(function (result) {
|
|
4153
4165
|
if (result != null)
|
|
4154
4166
|
if (result.result != null)
|
|
4155
4167
|
if (result.result == 'ok') {
|
|
@@ -4189,17 +4201,19 @@ var wkfapp = /** @class */ (function () {
|
|
|
4189
4201
|
if (data != null)
|
|
4190
4202
|
if (data.result_msg == "OK") {
|
|
4191
4203
|
_this.livs_adm = data.result_data;
|
|
4192
|
-
var
|
|
4204
|
+
var s_i_1 = new Array();
|
|
4193
4205
|
var ap_lvl = "";
|
|
4194
4206
|
for (var i = 0; i < _this.livs_adm.length; i++)
|
|
4195
4207
|
if (ap_lvl.indexOf(String(_this.livs_adm[i].livello)) == -1) {
|
|
4196
4208
|
ap_lvl = ap_lvl + String(_this.livs_adm[i].livello) + "|";
|
|
4197
|
-
|
|
4209
|
+
s_i_1.push(_this.livs_adm[i]);
|
|
4198
4210
|
}
|
|
4199
|
-
var
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4211
|
+
var dialogRef_2 = _this.dialog.open(win_riassegna_select_level, { 'disableClose': true });
|
|
4212
|
+
setTimeout(function () {
|
|
4213
|
+
dialogRef_2.componentInstance.setStepCombo(s_i_1);
|
|
4214
|
+
dialogRef_2.componentInstance.title = "Riassegnazione documento: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
|
|
4215
|
+
});
|
|
4216
|
+
dialogRef_2.afterClosed().subscribe(function (result) {
|
|
4203
4217
|
if (result != null)
|
|
4204
4218
|
if (result.result != null)
|
|
4205
4219
|
if (result.result == 'ok') {
|
|
@@ -4223,8 +4237,10 @@ var wkfapp = /** @class */ (function () {
|
|
|
4223
4237
|
if (arrAutori[i].idp != null && arrAutori[i].username == null)
|
|
4224
4238
|
arrAutori[i].username = arrAutori[i].idp;
|
|
4225
4239
|
}
|
|
4226
|
-
|
|
4227
|
-
|
|
4240
|
+
setTimeout(function () {
|
|
4241
|
+
dialogRef.componentInstance.arrAutori = arrAutori;
|
|
4242
|
+
dialogRef.componentInstance.title = "Riassegnazione documento: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
|
|
4243
|
+
});
|
|
4228
4244
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
4229
4245
|
if (result != null)
|
|
4230
4246
|
if (result.result != null)
|
|
@@ -4391,11 +4407,13 @@ var wkfapp = /** @class */ (function () {
|
|
|
4391
4407
|
.subscribe(function (data) {
|
|
4392
4408
|
if (data != null)
|
|
4393
4409
|
if (data.result_msg == "OK") {
|
|
4394
|
-
var
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4410
|
+
var dialogRef_3 = _this.dialog.open(win_riassegna_select_user, { 'disableClose': true, width: '850px' });
|
|
4411
|
+
setTimeout(function () {
|
|
4412
|
+
dialogRef_3.componentInstance.arrAutori = data.result_data;
|
|
4413
|
+
dialogRef_3.componentInstance.title = "Impersona Utente";
|
|
4414
|
+
dialogRef_3.componentInstance.commento_hidden = true;
|
|
4415
|
+
});
|
|
4416
|
+
dialogRef_3.afterClosed().subscribe(function (result) {
|
|
4399
4417
|
if (result != null)
|
|
4400
4418
|
if (result.result != null)
|
|
4401
4419
|
if (result.result == 'ok') {
|
|
@@ -4844,7 +4862,9 @@ var OfficeAutomatorService = /** @class */ (function () {
|
|
|
4844
4862
|
this.eprog += 10;
|
|
4845
4863
|
if (this.eprog >= 100)
|
|
4846
4864
|
this.eprog = 95;
|
|
4847
|
-
|
|
4865
|
+
setTimeout(function () {
|
|
4866
|
+
dialogRef_W.componentInstance.update_progess(_this.eprog);
|
|
4867
|
+
});
|
|
4848
4868
|
setTimeout(function () {
|
|
4849
4869
|
_this.progress_update(dialogRef_W);
|
|
4850
4870
|
}, 2000);
|
|
@@ -5435,8 +5455,10 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
5435
5455
|
FHGridComponent.prototype.insert_config = function () {
|
|
5436
5456
|
var _this = this;
|
|
5437
5457
|
this.win_opt = this.m_dialog.open(WinAskTextComponent, { 'disableClose': true });
|
|
5438
|
-
|
|
5439
|
-
|
|
5458
|
+
setTimeout(function () {
|
|
5459
|
+
_this.win_opt.componentInstance.title = 'Salva Configurazione';
|
|
5460
|
+
_this.win_opt.componentInstance.label = 'Nome';
|
|
5461
|
+
});
|
|
5440
5462
|
this.win_opt.afterClosed().subscribe(function (result) {
|
|
5441
5463
|
if (result)
|
|
5442
5464
|
if (result != null) {
|
|
@@ -5757,7 +5779,9 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
5757
5779
|
this.dialogRef_W = this.m_dialog.open(WinWait, {
|
|
5758
5780
|
disableClose: true
|
|
5759
5781
|
});
|
|
5760
|
-
|
|
5782
|
+
setTimeout(function () {
|
|
5783
|
+
_this.dialogRef_W.componentInstance.label = "EXPORT IN CORSO";
|
|
5784
|
+
});
|
|
5761
5785
|
var cmds = [];
|
|
5762
5786
|
var str_fields = "";
|
|
5763
5787
|
var p_col = this.gridOptions.columnApi.getColumnState();
|
|
@@ -5782,7 +5806,9 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
5782
5806
|
cmds.push(this.officeService.operation("GB_CREA_TABELLA_FROM_DB", "select " + str_fields + " from " + this.tbl_name + " " + this.str_curr_q_p, "3", this.xxopx++));
|
|
5783
5807
|
cmds.push(this.officeService.operation("GB_XLS_SAVE", this.m_appService.LOCAL_PATH + "grid_reports\\" + this.uiid_stampa + "_" + this.m_appService.user + format, "", this.xxopx++));
|
|
5784
5808
|
this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe(function (data) {
|
|
5785
|
-
|
|
5809
|
+
setTimeout(function () {
|
|
5810
|
+
_this.dialogRef_W.componentInstance.update_progess(100);
|
|
5811
|
+
});
|
|
5786
5812
|
var p = new FSInput();
|
|
5787
5813
|
p.p1 =
|
|
5788
5814
|
_this.m_appService.LOCAL_PATH + "grid_reports\\" + _this.uiid_stampa + "_" + _this.m_appService.user +
|
|
@@ -9038,11 +9064,13 @@ var win_commenti = /** @class */ (function () {
|
|
|
9038
9064
|
win_commenti.prototype.select_destinatari_grp = function () {
|
|
9039
9065
|
var _this = this;
|
|
9040
9066
|
var dialo = this.m_dialogRef.open(FHListPick, { 'disableClose': true });
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9067
|
+
setTimeout(function () {
|
|
9068
|
+
dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
|
|
9069
|
+
dialo.componentInstance.types = ['string'];
|
|
9070
|
+
dialo.componentInstance.values = [_this.m_appService.getState().wkf_doc_info.uiid_app];
|
|
9071
|
+
dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
|
|
9072
|
+
dialo.componentInstance.doFill();
|
|
9073
|
+
});
|
|
9046
9074
|
dialo.afterClosed().subscribe(function (result) {
|
|
9047
9075
|
if (result != null) {
|
|
9048
9076
|
if (result == '')
|
|
@@ -9078,7 +9106,9 @@ var win_commenti = /** @class */ (function () {
|
|
|
9078
9106
|
var ok_op = false;
|
|
9079
9107
|
this._dataService.doQuery(p).subscribe(function (data) {
|
|
9080
9108
|
var dialo = _this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
|
|
9081
|
-
|
|
9109
|
+
setTimeout(function () {
|
|
9110
|
+
dialo.componentInstance.init_arr(data.result_data);
|
|
9111
|
+
});
|
|
9082
9112
|
dialo.afterClosed().subscribe(function (result) {
|
|
9083
9113
|
// this.selectedOption = result;
|
|
9084
9114
|
if (result != null) {
|
|
@@ -9420,7 +9450,9 @@ var win_log = /** @class */ (function () {
|
|
|
9420
9450
|
var ok_op = false;
|
|
9421
9451
|
this._dataService.doQuery(p).subscribe(function (data) {
|
|
9422
9452
|
var dialo = _this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
|
|
9423
|
-
|
|
9453
|
+
setTimeout(function () {
|
|
9454
|
+
dialo.componentInstance.init_arr(data.result_data);
|
|
9455
|
+
});
|
|
9424
9456
|
dialo.afterClosed().subscribe(function (result) {
|
|
9425
9457
|
if (result != null) {
|
|
9426
9458
|
var s_users = "";
|
|
@@ -9437,11 +9469,13 @@ var win_log = /** @class */ (function () {
|
|
|
9437
9469
|
win_log.prototype.select_destinatari_grp = function () {
|
|
9438
9470
|
var _this = this;
|
|
9439
9471
|
var dialo = this.m_dialogRef.open(FHListPick, { 'disableClose': true });
|
|
9440
|
-
|
|
9441
|
-
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9472
|
+
setTimeout(function () {
|
|
9473
|
+
dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
|
|
9474
|
+
dialo.componentInstance.types = ['string'];
|
|
9475
|
+
dialo.componentInstance.values = [_this.m_appService.getState().wkf_doc_info.uiid_app];
|
|
9476
|
+
dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
|
|
9477
|
+
dialo.componentInstance.doFill();
|
|
9478
|
+
});
|
|
9445
9479
|
dialo.afterClosed().subscribe(function (result) {
|
|
9446
9480
|
if (result != null) {
|
|
9447
9481
|
if (result == '')
|
|
@@ -9921,8 +9955,10 @@ var FHGridJSONComponent = /** @class */ (function () {
|
|
|
9921
9955
|
FHGridJSONComponent.prototype.insert_config = function () {
|
|
9922
9956
|
var _this = this;
|
|
9923
9957
|
this.win_opt = this.m_dialog.open(WinAskTextComponent, { 'disableClose': true });
|
|
9924
|
-
|
|
9925
|
-
|
|
9958
|
+
setTimeout(function () {
|
|
9959
|
+
_this.win_opt.componentInstance.title = 'Salva Configurazione';
|
|
9960
|
+
_this.win_opt.componentInstance.label = 'Nome';
|
|
9961
|
+
});
|
|
9926
9962
|
this.win_opt.afterClosed().subscribe(function (result) {
|
|
9927
9963
|
if (result)
|
|
9928
9964
|
if (result != null) {
|
|
@@ -11071,11 +11107,13 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11071
11107
|
return 0;
|
|
11072
11108
|
});
|
|
11073
11109
|
;
|
|
11074
|
-
var
|
|
11110
|
+
var dialogRef_1 = this.m_dialog.open(win_assegna, {
|
|
11075
11111
|
disableClose: true
|
|
11076
11112
|
});
|
|
11077
|
-
|
|
11078
|
-
|
|
11113
|
+
setTimeout(function () {
|
|
11114
|
+
dialogRef_1.componentInstance.comm_notrequired = _this.nlevel.commenti_opzionali;
|
|
11115
|
+
});
|
|
11116
|
+
dialogRef_1.afterClosed().subscribe(function (result) {
|
|
11079
11117
|
if (result == "") {
|
|
11080
11118
|
_this.edit_b(true);
|
|
11081
11119
|
if (_this.respingi_enabled)
|
|
@@ -11441,17 +11479,19 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11441
11479
|
if (inser_c === void 0) { inser_c = false; }
|
|
11442
11480
|
var s_h = (this.app_s.getState().body_h - 40) + 'px';
|
|
11443
11481
|
var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: s_h });
|
|
11444
|
-
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
|
-
|
|
11448
|
-
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
|
|
11452
|
-
|
|
11453
|
-
|
|
11454
|
-
|
|
11482
|
+
setTimeout(function () {
|
|
11483
|
+
dialogRef.componentInstance.subject = _this.app_info.descrizione_breve + ", <OP>: " + _this.m_obj.codice + " " + _this.getTitle();
|
|
11484
|
+
if (_this.m_obj.lettori != null)
|
|
11485
|
+
dialogRef.componentInstance.lettori = _this.m_obj.lettori;
|
|
11486
|
+
else
|
|
11487
|
+
dialogRef.componentInstance.lettori = '';
|
|
11488
|
+
dialogRef.componentInstance.link = _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit";
|
|
11489
|
+
dialogRef.componentInstance.codice_doc = _this.m_obj.codice;
|
|
11490
|
+
dialogRef.componentInstance.notifica_commenti = _this.app_info.notifica_commenti;
|
|
11491
|
+
dialogRef.componentInstance.notifica_commenti_obbl = _this.app_info.notifica_commenti_obbl;
|
|
11492
|
+
dialogRef.componentInstance.commenti_insert = inser_c;
|
|
11493
|
+
dialogRef.componentInstance.init_v();
|
|
11494
|
+
});
|
|
11455
11495
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11456
11496
|
_this.r_count();
|
|
11457
11497
|
});
|
|
@@ -11459,16 +11499,18 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11459
11499
|
dati_aggiuntivi.prototype.open_commenti = function () {
|
|
11460
11500
|
var _this = this;
|
|
11461
11501
|
var dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true, width: "90%" });
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11502
|
+
setTimeout(function () {
|
|
11503
|
+
dialogRef.componentInstance.subject = _this.app_info.descrizione_breve + ", <OP>: " + _this.m_obj.codice + " " + _this.getTitle();
|
|
11504
|
+
if (_this.m_obj.lettori != null)
|
|
11505
|
+
dialogRef.componentInstance.lettori = _this.m_obj.lettori;
|
|
11506
|
+
else
|
|
11507
|
+
dialogRef.componentInstance.lettori = '';
|
|
11508
|
+
dialogRef.componentInstance.link = _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit";
|
|
11509
|
+
dialogRef.componentInstance.codice_doc = _this.m_obj.codice;
|
|
11510
|
+
dialogRef.componentInstance.notifica_commenti = _this.app_info.notifica_commenti;
|
|
11511
|
+
dialogRef.componentInstance.notifica_commenti_obbl = _this.app_info.notifica_commenti_obbl;
|
|
11512
|
+
dialogRef.componentInstance.init_v();
|
|
11513
|
+
});
|
|
11472
11514
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11473
11515
|
_this.r_count();
|
|
11474
11516
|
});
|
|
@@ -11477,7 +11519,9 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11477
11519
|
var _this = this;
|
|
11478
11520
|
if (sovra_path === void 0) { sovra_path = ''; }
|
|
11479
11521
|
var dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%" });
|
|
11480
|
-
|
|
11522
|
+
setTimeout(function () {
|
|
11523
|
+
dialogRef.componentInstance.sovrascrivi_path = sovra_path;
|
|
11524
|
+
});
|
|
11481
11525
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11482
11526
|
_this.r_count();
|
|
11483
11527
|
});
|
|
@@ -11714,10 +11758,13 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11714
11758
|
}
|
|
11715
11759
|
};
|
|
11716
11760
|
dati_aggiuntivi.prototype.open_info = function () {
|
|
11761
|
+
var _this = this;
|
|
11717
11762
|
var dialogRef = this.m_dialog.open(win_info_doc, {
|
|
11718
11763
|
disableClose: true
|
|
11719
11764
|
});
|
|
11720
|
-
|
|
11765
|
+
setTimeout(function () {
|
|
11766
|
+
dialogRef.componentInstance.hide_richiedente = _this.hide_richiedente;
|
|
11767
|
+
});
|
|
11721
11768
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11722
11769
|
// this.selectedOption = result;
|
|
11723
11770
|
});
|
|
@@ -12187,8 +12234,10 @@ var FormBuilderComponent = /** @class */ (function () {
|
|
|
12187
12234
|
FormBuilderComponent.prototype.del_item = function (uiid_obj) {
|
|
12188
12235
|
var _this = this;
|
|
12189
12236
|
var dialogRef = this._dialog.open(FHConfirmComponent, { 'disableClose': true });
|
|
12190
|
-
|
|
12191
|
-
|
|
12237
|
+
setTimeout(function () {
|
|
12238
|
+
dialogRef.componentInstance.title = 'Confirm';
|
|
12239
|
+
dialogRef.componentInstance.msg = "Remove Element?";
|
|
12240
|
+
});
|
|
12192
12241
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
12193
12242
|
if (result) {
|
|
12194
12243
|
for (var i = 0; i < _this.items.length; i++)
|
|
@@ -12923,14 +12972,16 @@ var FHFieldPickListComponent = /** @class */ (function () {
|
|
|
12923
12972
|
var dialogRef = this.m_dialog.open(FHListPick, {
|
|
12924
12973
|
disableClose: true
|
|
12925
12974
|
});
|
|
12926
|
-
|
|
12927
|
-
|
|
12928
|
-
|
|
12929
|
-
|
|
12930
|
-
|
|
12931
|
-
|
|
12932
|
-
|
|
12933
|
-
|
|
12975
|
+
setTimeout(function () {
|
|
12976
|
+
dialogRef.componentInstance.single_sel = _this.single_sel;
|
|
12977
|
+
dialogRef.componentInstance.sel_values = _this.value;
|
|
12978
|
+
dialogRef.componentInstance.separator = _this.separator;
|
|
12979
|
+
dialogRef.componentInstance.label = _this.label;
|
|
12980
|
+
dialogRef.componentInstance.sql = _this.sql;
|
|
12981
|
+
dialogRef.componentInstance.types = _this.types;
|
|
12982
|
+
dialogRef.componentInstance.values = _this.values;
|
|
12983
|
+
dialogRef.componentInstance.doFill();
|
|
12984
|
+
});
|
|
12934
12985
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
12935
12986
|
if (result != null && result != '') {
|
|
12936
12987
|
_this.value = '';
|
|
@@ -13120,10 +13171,13 @@ var FHTableManager = /** @class */ (function () {
|
|
|
13120
13171
|
this.b_init = false;
|
|
13121
13172
|
}
|
|
13122
13173
|
FHTableManager.prototype.edit_values = function () {
|
|
13174
|
+
var _this = this;
|
|
13123
13175
|
if (this.cmb_sel.getValue() == "-1")
|
|
13124
13176
|
return;
|
|
13125
13177
|
var dialogRef = this._dialog.open(win_manage_values, { width: '90%', height: '550px' });
|
|
13126
|
-
|
|
13178
|
+
setTimeout(function () {
|
|
13179
|
+
dialogRef.componentInstance.id_tipo = Number(_this.cmb_sel.getValue());
|
|
13180
|
+
});
|
|
13127
13181
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
13128
13182
|
if (result) {
|
|
13129
13183
|
}
|
|
@@ -13267,10 +13321,13 @@ var FHRoleManager = /** @class */ (function () {
|
|
|
13267
13321
|
this.b_init = false;
|
|
13268
13322
|
}
|
|
13269
13323
|
FHRoleManager.prototype.edit_values = function () {
|
|
13324
|
+
var _this = this;
|
|
13270
13325
|
if (this.cmb_sel.getValue() == "-1")
|
|
13271
13326
|
return;
|
|
13272
13327
|
var dialogRef = this._dialog.open(win_manage_roles, { width: '90%', height: '550px' });
|
|
13273
|
-
|
|
13328
|
+
setTimeout(function () {
|
|
13329
|
+
dialogRef.componentInstance.role_id = Number(_this.cmb_sel.getValue());
|
|
13330
|
+
});
|
|
13274
13331
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
13275
13332
|
if (result) {
|
|
13276
13333
|
}
|
|
@@ -13698,7 +13755,9 @@ var win_insert_commento = /** @class */ (function () {
|
|
|
13698
13755
|
var ok_op = false;
|
|
13699
13756
|
this._dataService.doQuery(p).subscribe(function (data) {
|
|
13700
13757
|
var dialo = _this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
|
|
13701
|
-
|
|
13758
|
+
setTimeout(function () {
|
|
13759
|
+
dialo.componentInstance.init_arr(data.result_data);
|
|
13760
|
+
});
|
|
13702
13761
|
dialo.afterClosed().subscribe(function (result) {
|
|
13703
13762
|
// this.selectedOption = result;
|
|
13704
13763
|
if (result != null) {
|