@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
|
@@ -2545,7 +2545,9 @@
|
|
|
2545
2545
|
};
|
|
2546
2546
|
if (this.dialogRef == null) {
|
|
2547
2547
|
this.dialogRef = this.dialog.open(WinWait, { 'disableClose': true });
|
|
2548
|
-
|
|
2548
|
+
setTimeout(function () {
|
|
2549
|
+
_this.dialogRef.componentInstance.label = _this.label_attendere;
|
|
2550
|
+
});
|
|
2549
2551
|
this.dialogRef.afterClosed().subscribe(function (result) {
|
|
2550
2552
|
if (result != "") {
|
|
2551
2553
|
}
|
|
@@ -3077,11 +3079,13 @@
|
|
|
3077
3079
|
.subscribe(function (data) {
|
|
3078
3080
|
if (data != null)
|
|
3079
3081
|
if (data.result_msg == "OK") {
|
|
3080
|
-
var
|
|
3082
|
+
var dialogRef_1 = _this
|
|
3081
3083
|
.dialog
|
|
3082
3084
|
.open(FHWinComboSelect);
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
+
setTimeout(function () {
|
|
3086
|
+
dialogRef_1.componentInstance.set_selection("Tipologia Allegato", data.result_data);
|
|
3087
|
+
});
|
|
3088
|
+
dialogRef_1
|
|
3085
3089
|
.afterClosed()
|
|
3086
3090
|
.subscribe(function (result) {
|
|
3087
3091
|
if (result != null) {
|
|
@@ -3108,9 +3112,11 @@
|
|
|
3108
3112
|
var dialogRef = this
|
|
3109
3113
|
.dialog
|
|
3110
3114
|
.open(WinAskTextBigComponent);
|
|
3111
|
-
|
|
3112
|
-
|
|
3113
|
-
|
|
3115
|
+
setTimeout(function () {
|
|
3116
|
+
dialogRef.componentInstance.label = "Descrizione Allegato";
|
|
3117
|
+
dialogRef.componentInstance.valore = ax.descrizione;
|
|
3118
|
+
dialogRef.componentInstance.min_chars = 0;
|
|
3119
|
+
});
|
|
3114
3120
|
dialogRef
|
|
3115
3121
|
.afterClosed()
|
|
3116
3122
|
.subscribe(function (result) {
|
|
@@ -4020,10 +4026,12 @@
|
|
|
4020
4026
|
var dialogRef = this.dialog.open(FHUserPickerComponent, {
|
|
4021
4027
|
disableClose: true, width: "700px", height: "550px"
|
|
4022
4028
|
});
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4029
|
+
setTimeout(function () {
|
|
4030
|
+
dialogRef.componentInstance.user_sel = _this.selectedUser;
|
|
4031
|
+
dialogRef.componentInstance.users_list = Object.assign([], _this.all_user);
|
|
4032
|
+
dialogRef.componentInstance.single_sel = !_this.multi;
|
|
4033
|
+
dialogRef.componentInstance.filtra();
|
|
4034
|
+
});
|
|
4027
4035
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
4028
4036
|
if (result == null)
|
|
4029
4037
|
return;
|
|
@@ -4257,7 +4265,9 @@
|
|
|
4257
4265
|
wkfapp.prototype.recupera_richiesta = function () {
|
|
4258
4266
|
var _this = this;
|
|
4259
4267
|
var dialogRef = this.dialog.open(win_recupera_doc, { 'disableClose': true });
|
|
4260
|
-
|
|
4268
|
+
setTimeout(function () {
|
|
4269
|
+
dialogRef.componentInstance.init_w(_this.id_applicativo);
|
|
4270
|
+
});
|
|
4261
4271
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
4262
4272
|
if (result == 'ok')
|
|
4263
4273
|
_this.get_grid().doFill('');
|
|
@@ -4280,10 +4290,12 @@
|
|
|
4280
4290
|
.subscribe(function (data) {
|
|
4281
4291
|
if (data != null)
|
|
4282
4292
|
if (data.result_msg == "OK") {
|
|
4283
|
-
var
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4293
|
+
var dialogRef_1 = _this.dialog.open(win_sostituisci_utente, { 'disableClose': true, 'width': '450px' });
|
|
4294
|
+
setTimeout(function () {
|
|
4295
|
+
dialogRef_1.componentInstance.up.all_user = data.result_data;
|
|
4296
|
+
dialogRef_1.componentInstance.title = "Sostituzione utente: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
|
|
4297
|
+
});
|
|
4298
|
+
dialogRef_1.afterClosed().subscribe(function (result) {
|
|
4287
4299
|
if (result != null)
|
|
4288
4300
|
if (result.result != null)
|
|
4289
4301
|
if (result.result == 'ok') {
|
|
@@ -4323,17 +4335,19 @@
|
|
|
4323
4335
|
if (data != null)
|
|
4324
4336
|
if (data.result_msg == "OK") {
|
|
4325
4337
|
_this.livs_adm = data.result_data;
|
|
4326
|
-
var
|
|
4338
|
+
var s_i_1 = new Array();
|
|
4327
4339
|
var ap_lvl = "";
|
|
4328
4340
|
for (var i = 0; i < _this.livs_adm.length; i++)
|
|
4329
4341
|
if (ap_lvl.indexOf(String(_this.livs_adm[i].livello)) == -1) {
|
|
4330
4342
|
ap_lvl = ap_lvl + String(_this.livs_adm[i].livello) + "|";
|
|
4331
|
-
|
|
4343
|
+
s_i_1.push(_this.livs_adm[i]);
|
|
4332
4344
|
}
|
|
4333
|
-
var
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4345
|
+
var dialogRef_2 = _this.dialog.open(win_riassegna_select_level, { 'disableClose': true });
|
|
4346
|
+
setTimeout(function () {
|
|
4347
|
+
dialogRef_2.componentInstance.setStepCombo(s_i_1);
|
|
4348
|
+
dialogRef_2.componentInstance.title = "Riassegnazione documento: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
|
|
4349
|
+
});
|
|
4350
|
+
dialogRef_2.afterClosed().subscribe(function (result) {
|
|
4337
4351
|
if (result != null)
|
|
4338
4352
|
if (result.result != null)
|
|
4339
4353
|
if (result.result == 'ok') {
|
|
@@ -4357,8 +4371,10 @@
|
|
|
4357
4371
|
if (arrAutori[i].idp != null && arrAutori[i].username == null)
|
|
4358
4372
|
arrAutori[i].username = arrAutori[i].idp;
|
|
4359
4373
|
}
|
|
4360
|
-
|
|
4361
|
-
|
|
4374
|
+
setTimeout(function () {
|
|
4375
|
+
dialogRef.componentInstance.arrAutori = arrAutori;
|
|
4376
|
+
dialogRef.componentInstance.title = "Riassegnazione documento: " + _this.get_grid().sRow.codice + " - " + _this.get_grid().sRow.oggetto;
|
|
4377
|
+
});
|
|
4362
4378
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
4363
4379
|
if (result != null)
|
|
4364
4380
|
if (result.result != null)
|
|
@@ -4525,11 +4541,13 @@
|
|
|
4525
4541
|
.subscribe(function (data) {
|
|
4526
4542
|
if (data != null)
|
|
4527
4543
|
if (data.result_msg == "OK") {
|
|
4528
|
-
var
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4544
|
+
var dialogRef_3 = _this.dialog.open(win_riassegna_select_user, { 'disableClose': true, width: '850px' });
|
|
4545
|
+
setTimeout(function () {
|
|
4546
|
+
dialogRef_3.componentInstance.arrAutori = data.result_data;
|
|
4547
|
+
dialogRef_3.componentInstance.title = "Impersona Utente";
|
|
4548
|
+
dialogRef_3.componentInstance.commento_hidden = true;
|
|
4549
|
+
});
|
|
4550
|
+
dialogRef_3.afterClosed().subscribe(function (result) {
|
|
4533
4551
|
if (result != null)
|
|
4534
4552
|
if (result.result != null)
|
|
4535
4553
|
if (result.result == 'ok') {
|
|
@@ -4978,7 +4996,9 @@
|
|
|
4978
4996
|
this.eprog += 10;
|
|
4979
4997
|
if (this.eprog >= 100)
|
|
4980
4998
|
this.eprog = 95;
|
|
4981
|
-
|
|
4999
|
+
setTimeout(function () {
|
|
5000
|
+
dialogRef_W.componentInstance.update_progess(_this.eprog);
|
|
5001
|
+
});
|
|
4982
5002
|
setTimeout(function () {
|
|
4983
5003
|
_this.progress_update(dialogRef_W);
|
|
4984
5004
|
}, 2000);
|
|
@@ -5569,8 +5589,10 @@
|
|
|
5569
5589
|
FHGridComponent.prototype.insert_config = function () {
|
|
5570
5590
|
var _this = this;
|
|
5571
5591
|
this.win_opt = this.m_dialog.open(WinAskTextComponent, { 'disableClose': true });
|
|
5572
|
-
|
|
5573
|
-
|
|
5592
|
+
setTimeout(function () {
|
|
5593
|
+
_this.win_opt.componentInstance.title = 'Salva Configurazione';
|
|
5594
|
+
_this.win_opt.componentInstance.label = 'Nome';
|
|
5595
|
+
});
|
|
5574
5596
|
this.win_opt.afterClosed().subscribe(function (result) {
|
|
5575
5597
|
if (result)
|
|
5576
5598
|
if (result != null) {
|
|
@@ -5891,7 +5913,9 @@
|
|
|
5891
5913
|
this.dialogRef_W = this.m_dialog.open(WinWait, {
|
|
5892
5914
|
disableClose: true
|
|
5893
5915
|
});
|
|
5894
|
-
|
|
5916
|
+
setTimeout(function () {
|
|
5917
|
+
_this.dialogRef_W.componentInstance.label = "EXPORT IN CORSO";
|
|
5918
|
+
});
|
|
5895
5919
|
var cmds = [];
|
|
5896
5920
|
var str_fields = "";
|
|
5897
5921
|
var p_col = this.gridOptions.columnApi.getColumnState();
|
|
@@ -5916,7 +5940,9 @@
|
|
|
5916
5940
|
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++));
|
|
5917
5941
|
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++));
|
|
5918
5942
|
this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe(function (data) {
|
|
5919
|
-
|
|
5943
|
+
setTimeout(function () {
|
|
5944
|
+
_this.dialogRef_W.componentInstance.update_progess(100);
|
|
5945
|
+
});
|
|
5920
5946
|
var p = new FSInput();
|
|
5921
5947
|
p.p1 =
|
|
5922
5948
|
_this.m_appService.LOCAL_PATH + "grid_reports\\" + _this.uiid_stampa + "_" + _this.m_appService.user +
|
|
@@ -9172,11 +9198,13 @@
|
|
|
9172
9198
|
win_commenti.prototype.select_destinatari_grp = function () {
|
|
9173
9199
|
var _this = this;
|
|
9174
9200
|
var dialo = this.m_dialogRef.open(FHListPick, { 'disableClose': true });
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9201
|
+
setTimeout(function () {
|
|
9202
|
+
dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
|
|
9203
|
+
dialo.componentInstance.types = ['string'];
|
|
9204
|
+
dialo.componentInstance.values = [_this.m_appService.getState().wkf_doc_info.uiid_app];
|
|
9205
|
+
dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
|
|
9206
|
+
dialo.componentInstance.doFill();
|
|
9207
|
+
});
|
|
9180
9208
|
dialo.afterClosed().subscribe(function (result) {
|
|
9181
9209
|
if (result != null) {
|
|
9182
9210
|
if (result == '')
|
|
@@ -9212,7 +9240,9 @@
|
|
|
9212
9240
|
var ok_op = false;
|
|
9213
9241
|
this._dataService.doQuery(p).subscribe(function (data) {
|
|
9214
9242
|
var dialo = _this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
|
|
9215
|
-
|
|
9243
|
+
setTimeout(function () {
|
|
9244
|
+
dialo.componentInstance.init_arr(data.result_data);
|
|
9245
|
+
});
|
|
9216
9246
|
dialo.afterClosed().subscribe(function (result) {
|
|
9217
9247
|
// this.selectedOption = result;
|
|
9218
9248
|
if (result != null) {
|
|
@@ -9554,7 +9584,9 @@
|
|
|
9554
9584
|
var ok_op = false;
|
|
9555
9585
|
this._dataService.doQuery(p).subscribe(function (data) {
|
|
9556
9586
|
var dialo = _this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
|
|
9557
|
-
|
|
9587
|
+
setTimeout(function () {
|
|
9588
|
+
dialo.componentInstance.init_arr(data.result_data);
|
|
9589
|
+
});
|
|
9558
9590
|
dialo.afterClosed().subscribe(function (result) {
|
|
9559
9591
|
if (result != null) {
|
|
9560
9592
|
var s_users = "";
|
|
@@ -9571,11 +9603,13 @@
|
|
|
9571
9603
|
win_log.prototype.select_destinatari_grp = function () {
|
|
9572
9604
|
var _this = this;
|
|
9573
9605
|
var dialo = this.m_dialogRef.open(FHListPick, { 'disableClose': true });
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9606
|
+
setTimeout(function () {
|
|
9607
|
+
dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
|
|
9608
|
+
dialo.componentInstance.types = ['string'];
|
|
9609
|
+
dialo.componentInstance.values = [_this.m_appService.getState().wkf_doc_info.uiid_app];
|
|
9610
|
+
dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
|
|
9611
|
+
dialo.componentInstance.doFill();
|
|
9612
|
+
});
|
|
9579
9613
|
dialo.afterClosed().subscribe(function (result) {
|
|
9580
9614
|
if (result != null) {
|
|
9581
9615
|
if (result == '')
|
|
@@ -10055,8 +10089,10 @@
|
|
|
10055
10089
|
FHGridJSONComponent.prototype.insert_config = function () {
|
|
10056
10090
|
var _this = this;
|
|
10057
10091
|
this.win_opt = this.m_dialog.open(WinAskTextComponent, { 'disableClose': true });
|
|
10058
|
-
|
|
10059
|
-
|
|
10092
|
+
setTimeout(function () {
|
|
10093
|
+
_this.win_opt.componentInstance.title = 'Salva Configurazione';
|
|
10094
|
+
_this.win_opt.componentInstance.label = 'Nome';
|
|
10095
|
+
});
|
|
10060
10096
|
this.win_opt.afterClosed().subscribe(function (result) {
|
|
10061
10097
|
if (result)
|
|
10062
10098
|
if (result != null) {
|
|
@@ -11205,11 +11241,13 @@
|
|
|
11205
11241
|
return 0;
|
|
11206
11242
|
});
|
|
11207
11243
|
;
|
|
11208
|
-
var
|
|
11244
|
+
var dialogRef_1 = this.m_dialog.open(win_assegna, {
|
|
11209
11245
|
disableClose: true
|
|
11210
11246
|
});
|
|
11211
|
-
|
|
11212
|
-
|
|
11247
|
+
setTimeout(function () {
|
|
11248
|
+
dialogRef_1.componentInstance.comm_notrequired = _this.nlevel.commenti_opzionali;
|
|
11249
|
+
});
|
|
11250
|
+
dialogRef_1.afterClosed().subscribe(function (result) {
|
|
11213
11251
|
if (result == "") {
|
|
11214
11252
|
_this.edit_b(true);
|
|
11215
11253
|
if (_this.respingi_enabled)
|
|
@@ -11575,17 +11613,19 @@
|
|
|
11575
11613
|
if (inser_c === void 0) { inser_c = false; }
|
|
11576
11614
|
var s_h = (this.app_s.getState().body_h - 40) + 'px';
|
|
11577
11615
|
var dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: s_h });
|
|
11578
|
-
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
|
|
11582
|
-
|
|
11583
|
-
|
|
11584
|
-
|
|
11585
|
-
|
|
11586
|
-
|
|
11587
|
-
|
|
11588
|
-
|
|
11616
|
+
setTimeout(function () {
|
|
11617
|
+
dialogRef.componentInstance.subject = _this.app_info.descrizione_breve + ", <OP>: " + _this.m_obj.codice + " " + _this.getTitle();
|
|
11618
|
+
if (_this.m_obj.lettori != null)
|
|
11619
|
+
dialogRef.componentInstance.lettori = _this.m_obj.lettori;
|
|
11620
|
+
else
|
|
11621
|
+
dialogRef.componentInstance.lettori = '';
|
|
11622
|
+
dialogRef.componentInstance.link = _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit";
|
|
11623
|
+
dialogRef.componentInstance.codice_doc = _this.m_obj.codice;
|
|
11624
|
+
dialogRef.componentInstance.notifica_commenti = _this.app_info.notifica_commenti;
|
|
11625
|
+
dialogRef.componentInstance.notifica_commenti_obbl = _this.app_info.notifica_commenti_obbl;
|
|
11626
|
+
dialogRef.componentInstance.commenti_insert = inser_c;
|
|
11627
|
+
dialogRef.componentInstance.init_v();
|
|
11628
|
+
});
|
|
11589
11629
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11590
11630
|
_this.r_count();
|
|
11591
11631
|
});
|
|
@@ -11593,16 +11633,18 @@
|
|
|
11593
11633
|
dati_aggiuntivi.prototype.open_commenti = function () {
|
|
11594
11634
|
var _this = this;
|
|
11595
11635
|
var dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true, width: "90%" });
|
|
11596
|
-
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11636
|
+
setTimeout(function () {
|
|
11637
|
+
dialogRef.componentInstance.subject = _this.app_info.descrizione_breve + ", <OP>: " + _this.m_obj.codice + " " + _this.getTitle();
|
|
11638
|
+
if (_this.m_obj.lettori != null)
|
|
11639
|
+
dialogRef.componentInstance.lettori = _this.m_obj.lettori;
|
|
11640
|
+
else
|
|
11641
|
+
dialogRef.componentInstance.lettori = '';
|
|
11642
|
+
dialogRef.componentInstance.link = _this.app_s.COMPANY_SITE_ROOT + '#/' + _this.app_info.modulo_swf + '/' + _this.id_applicativo + "/" + _this.id_documento + "/edit";
|
|
11643
|
+
dialogRef.componentInstance.codice_doc = _this.m_obj.codice;
|
|
11644
|
+
dialogRef.componentInstance.notifica_commenti = _this.app_info.notifica_commenti;
|
|
11645
|
+
dialogRef.componentInstance.notifica_commenti_obbl = _this.app_info.notifica_commenti_obbl;
|
|
11646
|
+
dialogRef.componentInstance.init_v();
|
|
11647
|
+
});
|
|
11606
11648
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11607
11649
|
_this.r_count();
|
|
11608
11650
|
});
|
|
@@ -11611,7 +11653,9 @@
|
|
|
11611
11653
|
var _this = this;
|
|
11612
11654
|
if (sovra_path === void 0) { sovra_path = ''; }
|
|
11613
11655
|
var dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%" });
|
|
11614
|
-
|
|
11656
|
+
setTimeout(function () {
|
|
11657
|
+
dialogRef.componentInstance.sovrascrivi_path = sovra_path;
|
|
11658
|
+
});
|
|
11615
11659
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11616
11660
|
_this.r_count();
|
|
11617
11661
|
});
|
|
@@ -11848,10 +11892,13 @@
|
|
|
11848
11892
|
}
|
|
11849
11893
|
};
|
|
11850
11894
|
dati_aggiuntivi.prototype.open_info = function () {
|
|
11895
|
+
var _this = this;
|
|
11851
11896
|
var dialogRef = this.m_dialog.open(win_info_doc, {
|
|
11852
11897
|
disableClose: true
|
|
11853
11898
|
});
|
|
11854
|
-
|
|
11899
|
+
setTimeout(function () {
|
|
11900
|
+
dialogRef.componentInstance.hide_richiedente = _this.hide_richiedente;
|
|
11901
|
+
});
|
|
11855
11902
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11856
11903
|
// this.selectedOption = result;
|
|
11857
11904
|
});
|
|
@@ -12321,8 +12368,10 @@
|
|
|
12321
12368
|
FormBuilderComponent.prototype.del_item = function (uiid_obj) {
|
|
12322
12369
|
var _this = this;
|
|
12323
12370
|
var dialogRef = this._dialog.open(FHConfirmComponent, { 'disableClose': true });
|
|
12324
|
-
|
|
12325
|
-
|
|
12371
|
+
setTimeout(function () {
|
|
12372
|
+
dialogRef.componentInstance.title = 'Confirm';
|
|
12373
|
+
dialogRef.componentInstance.msg = "Remove Element?";
|
|
12374
|
+
});
|
|
12326
12375
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
12327
12376
|
if (result) {
|
|
12328
12377
|
for (var i = 0; i < _this.items.length; i++)
|
|
@@ -13057,14 +13106,16 @@
|
|
|
13057
13106
|
var dialogRef = this.m_dialog.open(FHListPick, {
|
|
13058
13107
|
disableClose: true
|
|
13059
13108
|
});
|
|
13060
|
-
|
|
13061
|
-
|
|
13062
|
-
|
|
13063
|
-
|
|
13064
|
-
|
|
13065
|
-
|
|
13066
|
-
|
|
13067
|
-
|
|
13109
|
+
setTimeout(function () {
|
|
13110
|
+
dialogRef.componentInstance.single_sel = _this.single_sel;
|
|
13111
|
+
dialogRef.componentInstance.sel_values = _this.value;
|
|
13112
|
+
dialogRef.componentInstance.separator = _this.separator;
|
|
13113
|
+
dialogRef.componentInstance.label = _this.label;
|
|
13114
|
+
dialogRef.componentInstance.sql = _this.sql;
|
|
13115
|
+
dialogRef.componentInstance.types = _this.types;
|
|
13116
|
+
dialogRef.componentInstance.values = _this.values;
|
|
13117
|
+
dialogRef.componentInstance.doFill();
|
|
13118
|
+
});
|
|
13068
13119
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
13069
13120
|
if (result != null && result != '') {
|
|
13070
13121
|
_this.value = '';
|
|
@@ -13254,10 +13305,13 @@
|
|
|
13254
13305
|
this.b_init = false;
|
|
13255
13306
|
}
|
|
13256
13307
|
FHTableManager.prototype.edit_values = function () {
|
|
13308
|
+
var _this = this;
|
|
13257
13309
|
if (this.cmb_sel.getValue() == "-1")
|
|
13258
13310
|
return;
|
|
13259
13311
|
var dialogRef = this._dialog.open(win_manage_values, { width: '90%', height: '550px' });
|
|
13260
|
-
|
|
13312
|
+
setTimeout(function () {
|
|
13313
|
+
dialogRef.componentInstance.id_tipo = Number(_this.cmb_sel.getValue());
|
|
13314
|
+
});
|
|
13261
13315
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
13262
13316
|
if (result) {
|
|
13263
13317
|
}
|
|
@@ -13401,10 +13455,13 @@
|
|
|
13401
13455
|
this.b_init = false;
|
|
13402
13456
|
}
|
|
13403
13457
|
FHRoleManager.prototype.edit_values = function () {
|
|
13458
|
+
var _this = this;
|
|
13404
13459
|
if (this.cmb_sel.getValue() == "-1")
|
|
13405
13460
|
return;
|
|
13406
13461
|
var dialogRef = this._dialog.open(win_manage_roles, { width: '90%', height: '550px' });
|
|
13407
|
-
|
|
13462
|
+
setTimeout(function () {
|
|
13463
|
+
dialogRef.componentInstance.role_id = Number(_this.cmb_sel.getValue());
|
|
13464
|
+
});
|
|
13408
13465
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
13409
13466
|
if (result) {
|
|
13410
13467
|
}
|
|
@@ -13832,7 +13889,9 @@
|
|
|
13832
13889
|
var ok_op = false;
|
|
13833
13890
|
this._dataService.doQuery(p).subscribe(function (data) {
|
|
13834
13891
|
var dialo = _this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
|
|
13835
|
-
|
|
13892
|
+
setTimeout(function () {
|
|
13893
|
+
dialo.componentInstance.init_arr(data.result_data);
|
|
13894
|
+
});
|
|
13836
13895
|
dialo.afterClosed().subscribe(function (result) {
|
|
13837
13896
|
// this.selectedOption = result;
|
|
13838
13897
|
if (result != null) {
|