@fluxhub/fluxhub-lib 9.0.1 → 9.0.2
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
|
@@ -2505,7 +2505,9 @@ let FHUploadComponent = class FHUploadComponent {
|
|
|
2505
2505
|
};
|
|
2506
2506
|
if (this.dialogRef == null) {
|
|
2507
2507
|
this.dialogRef = this.dialog.open(WinWait, { 'disableClose': true });
|
|
2508
|
-
|
|
2508
|
+
setTimeout(() => {
|
|
2509
|
+
this.dialogRef.componentInstance.label = this.label_attendere;
|
|
2510
|
+
});
|
|
2509
2511
|
this.dialogRef.afterClosed().subscribe(result => {
|
|
2510
2512
|
if (result != "") {
|
|
2511
2513
|
}
|
|
@@ -3095,7 +3097,9 @@ let FHUploadPanelComponent = class FHUploadPanelComponent {
|
|
|
3095
3097
|
let dialogRef = this
|
|
3096
3098
|
.dialog
|
|
3097
3099
|
.open(FHWinComboSelect);
|
|
3098
|
-
|
|
3100
|
+
setTimeout(() => {
|
|
3101
|
+
dialogRef.componentInstance.set_selection("Tipologia Allegato", data.result_data);
|
|
3102
|
+
});
|
|
3099
3103
|
dialogRef
|
|
3100
3104
|
.afterClosed()
|
|
3101
3105
|
.subscribe(result => {
|
|
@@ -3122,9 +3126,11 @@ let FHUploadPanelComponent = class FHUploadPanelComponent {
|
|
|
3122
3126
|
let dialogRef = this
|
|
3123
3127
|
.dialog
|
|
3124
3128
|
.open(WinAskTextBigComponent);
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3129
|
+
setTimeout(() => {
|
|
3130
|
+
dialogRef.componentInstance.label = "Descrizione Allegato";
|
|
3131
|
+
dialogRef.componentInstance.valore = ax.descrizione;
|
|
3132
|
+
dialogRef.componentInstance.min_chars = 0;
|
|
3133
|
+
});
|
|
3128
3134
|
dialogRef
|
|
3129
3135
|
.afterClosed()
|
|
3130
3136
|
.subscribe(result => {
|
|
@@ -4406,10 +4412,12 @@ let FHUserFieldComponent = class FHUserFieldComponent {
|
|
|
4406
4412
|
let dialogRef = this.dialog.open(FHUserPickerComponent, {
|
|
4407
4413
|
disableClose: true, width: "700px", height: "550px"
|
|
4408
4414
|
});
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4415
|
+
setTimeout(() => {
|
|
4416
|
+
dialogRef.componentInstance.user_sel = this.selectedUser;
|
|
4417
|
+
dialogRef.componentInstance.users_list = Object.assign([], this.all_user);
|
|
4418
|
+
dialogRef.componentInstance.single_sel = !this.multi;
|
|
4419
|
+
dialogRef.componentInstance.filtra();
|
|
4420
|
+
});
|
|
4413
4421
|
dialogRef.afterClosed().subscribe(result => {
|
|
4414
4422
|
if (result == null)
|
|
4415
4423
|
return;
|
|
@@ -4694,7 +4702,9 @@ class wkfapp {
|
|
|
4694
4702
|
}
|
|
4695
4703
|
recupera_richiesta() {
|
|
4696
4704
|
let dialogRef = this.dialog.open(win_recupera_doc, { 'disableClose': true });
|
|
4697
|
-
|
|
4705
|
+
setTimeout(() => {
|
|
4706
|
+
dialogRef.componentInstance.init_w(this.id_applicativo);
|
|
4707
|
+
});
|
|
4698
4708
|
dialogRef.afterClosed().subscribe(result => {
|
|
4699
4709
|
if (result == 'ok')
|
|
4700
4710
|
this.get_grid().doFill('');
|
|
@@ -4717,8 +4727,10 @@ class wkfapp {
|
|
|
4717
4727
|
if (data != null)
|
|
4718
4728
|
if (data.result_msg == "OK") {
|
|
4719
4729
|
let dialogRef = this.dialog.open(win_sostituisci_utente, { 'disableClose': true, 'width': '450px' });
|
|
4720
|
-
|
|
4721
|
-
|
|
4730
|
+
setTimeout(() => {
|
|
4731
|
+
dialogRef.componentInstance.up.all_user = data.result_data;
|
|
4732
|
+
dialogRef.componentInstance.title = "Sostituzione utente: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
|
|
4733
|
+
});
|
|
4722
4734
|
dialogRef.afterClosed().subscribe(result => {
|
|
4723
4735
|
if (result != null)
|
|
4724
4736
|
if (result.result != null)
|
|
@@ -4766,8 +4778,10 @@ class wkfapp {
|
|
|
4766
4778
|
s_i.push(this.livs_adm[i]);
|
|
4767
4779
|
}
|
|
4768
4780
|
let dialogRef = this.dialog.open(win_riassegna_select_level, { 'disableClose': true });
|
|
4769
|
-
|
|
4770
|
-
|
|
4781
|
+
setTimeout(() => {
|
|
4782
|
+
dialogRef.componentInstance.setStepCombo(s_i);
|
|
4783
|
+
dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
|
|
4784
|
+
});
|
|
4771
4785
|
dialogRef.afterClosed().subscribe(result => {
|
|
4772
4786
|
if (result != null)
|
|
4773
4787
|
if (result.result != null)
|
|
@@ -4791,8 +4805,10 @@ class wkfapp {
|
|
|
4791
4805
|
if (arrAutori[i].idp != null && arrAutori[i].username == null)
|
|
4792
4806
|
arrAutori[i].username = arrAutori[i].idp;
|
|
4793
4807
|
}
|
|
4794
|
-
|
|
4795
|
-
|
|
4808
|
+
setTimeout(() => {
|
|
4809
|
+
dialogRef.componentInstance.arrAutori = arrAutori;
|
|
4810
|
+
dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
|
|
4811
|
+
});
|
|
4796
4812
|
dialogRef.afterClosed().subscribe(result => {
|
|
4797
4813
|
if (result != null)
|
|
4798
4814
|
if (result.result != null)
|
|
@@ -4957,9 +4973,11 @@ class wkfapp {
|
|
|
4957
4973
|
if (data != null)
|
|
4958
4974
|
if (data.result_msg == "OK") {
|
|
4959
4975
|
let dialogRef = this.dialog.open(win_riassegna_select_user, { 'disableClose': true, width: '850px' });
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4976
|
+
setTimeout(() => {
|
|
4977
|
+
dialogRef.componentInstance.arrAutori = data.result_data;
|
|
4978
|
+
dialogRef.componentInstance.title = "Impersona Utente";
|
|
4979
|
+
dialogRef.componentInstance.commento_hidden = true;
|
|
4980
|
+
});
|
|
4963
4981
|
dialogRef.afterClosed().subscribe(result => {
|
|
4964
4982
|
if (result != null)
|
|
4965
4983
|
if (result.result != null)
|
|
@@ -5397,7 +5415,9 @@ let OfficeAutomatorService = class OfficeAutomatorService {
|
|
|
5397
5415
|
this.eprog += 10;
|
|
5398
5416
|
if (this.eprog >= 100)
|
|
5399
5417
|
this.eprog = 95;
|
|
5400
|
-
|
|
5418
|
+
setTimeout(() => {
|
|
5419
|
+
dialogRef_W.componentInstance.update_progess(this.eprog);
|
|
5420
|
+
});
|
|
5401
5421
|
setTimeout(() => {
|
|
5402
5422
|
this.progress_update(dialogRef_W);
|
|
5403
5423
|
}, 2000);
|
|
@@ -5981,8 +6001,10 @@ let FHGridComponent = class FHGridComponent {
|
|
|
5981
6001
|
}
|
|
5982
6002
|
insert_config() {
|
|
5983
6003
|
this.win_opt = this.m_dialog.open(WinAskTextComponent, { 'disableClose': true });
|
|
5984
|
-
|
|
5985
|
-
|
|
6004
|
+
setTimeout(() => {
|
|
6005
|
+
this.win_opt.componentInstance.title = 'Salva Configurazione';
|
|
6006
|
+
this.win_opt.componentInstance.label = 'Nome';
|
|
6007
|
+
});
|
|
5986
6008
|
this.win_opt.afterClosed().subscribe(result => {
|
|
5987
6009
|
if (result)
|
|
5988
6010
|
if (result != null) {
|
|
@@ -6296,7 +6318,9 @@ let FHGridComponent = class FHGridComponent {
|
|
|
6296
6318
|
this.dialogRef_W = this.m_dialog.open(WinWait, {
|
|
6297
6319
|
disableClose: true
|
|
6298
6320
|
});
|
|
6299
|
-
|
|
6321
|
+
setTimeout(() => {
|
|
6322
|
+
this.dialogRef_W.componentInstance.label = "EXPORT IN CORSO";
|
|
6323
|
+
});
|
|
6300
6324
|
let cmds = [];
|
|
6301
6325
|
let str_fields = "";
|
|
6302
6326
|
let p_col = this.gridOptions.columnApi.getColumnState();
|
|
@@ -6321,7 +6345,9 @@ let FHGridComponent = class FHGridComponent {
|
|
|
6321
6345
|
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++));
|
|
6322
6346
|
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++));
|
|
6323
6347
|
this.officeService.runCommands(this.uiid_stampa, cmds, this.dialogRef_W).subscribe((data) => {
|
|
6324
|
-
|
|
6348
|
+
setTimeout(() => {
|
|
6349
|
+
this.dialogRef_W.componentInstance.update_progess(100);
|
|
6350
|
+
});
|
|
6325
6351
|
let p = new FSInput();
|
|
6326
6352
|
p.p1 =
|
|
6327
6353
|
this.m_appService.LOCAL_PATH + "grid_reports\\" + this.uiid_stampa + "_" + this.m_appService.user +
|
|
@@ -10054,11 +10080,13 @@ let win_commenti = class win_commenti {
|
|
|
10054
10080
|
}
|
|
10055
10081
|
select_destinatari_grp() {
|
|
10056
10082
|
let dialo = this.m_dialogRef.open(FHListPick, { 'disableClose': true });
|
|
10057
|
-
|
|
10058
|
-
|
|
10059
|
-
|
|
10060
|
-
|
|
10061
|
-
|
|
10083
|
+
setTimeout(() => {
|
|
10084
|
+
dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
|
|
10085
|
+
dialo.componentInstance.types = ['string'];
|
|
10086
|
+
dialo.componentInstance.values = [this.m_appService.getState().wkf_doc_info.uiid_app];
|
|
10087
|
+
dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
|
|
10088
|
+
dialo.componentInstance.doFill();
|
|
10089
|
+
});
|
|
10062
10090
|
dialo.afterClosed().subscribe(result => {
|
|
10063
10091
|
if (result != null) {
|
|
10064
10092
|
if (result == '')
|
|
@@ -10093,7 +10121,9 @@ let win_commenti = class win_commenti {
|
|
|
10093
10121
|
let ok_op = false;
|
|
10094
10122
|
this._dataService.doQuery(p).subscribe(data => {
|
|
10095
10123
|
let dialo = this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
|
|
10096
|
-
|
|
10124
|
+
setTimeout(() => {
|
|
10125
|
+
dialo.componentInstance.init_arr(data.result_data);
|
|
10126
|
+
});
|
|
10097
10127
|
dialo.afterClosed().subscribe(result => {
|
|
10098
10128
|
// this.selectedOption = result;
|
|
10099
10129
|
if (result != null) {
|
|
@@ -10562,7 +10592,9 @@ let win_log = class win_log {
|
|
|
10562
10592
|
let ok_op = false;
|
|
10563
10593
|
this._dataService.doQuery(p).subscribe(data => {
|
|
10564
10594
|
let dialo = this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
|
|
10565
|
-
|
|
10595
|
+
setTimeout(() => {
|
|
10596
|
+
dialo.componentInstance.init_arr(data.result_data);
|
|
10597
|
+
});
|
|
10566
10598
|
dialo.afterClosed().subscribe(result => {
|
|
10567
10599
|
if (result != null) {
|
|
10568
10600
|
let s_users = "";
|
|
@@ -10578,11 +10610,13 @@ let win_log = class win_log {
|
|
|
10578
10610
|
}
|
|
10579
10611
|
select_destinatari_grp() {
|
|
10580
10612
|
let dialo = this.m_dialogRef.open(FHListPick, { 'disableClose': true });
|
|
10581
|
-
|
|
10582
|
-
|
|
10583
|
-
|
|
10584
|
-
|
|
10585
|
-
|
|
10613
|
+
setTimeout(() => {
|
|
10614
|
+
dialo.componentInstance.title = 'Selezione almeno un gruppo da notificare';
|
|
10615
|
+
dialo.componentInstance.types = ['string'];
|
|
10616
|
+
dialo.componentInstance.values = [this.m_appService.getState().wkf_doc_info.uiid_app];
|
|
10617
|
+
dialo.componentInstance.sql = "SELECT_GRP_APP_USERS";
|
|
10618
|
+
dialo.componentInstance.doFill();
|
|
10619
|
+
});
|
|
10586
10620
|
dialo.afterClosed().subscribe(result => {
|
|
10587
10621
|
if (result != null) {
|
|
10588
10622
|
if (result == '')
|
|
@@ -11119,8 +11153,10 @@ let FHGridJSONComponent = class FHGridJSONComponent {
|
|
|
11119
11153
|
}
|
|
11120
11154
|
insert_config() {
|
|
11121
11155
|
this.win_opt = this.m_dialog.open(WinAskTextComponent, { 'disableClose': true });
|
|
11122
|
-
|
|
11123
|
-
|
|
11156
|
+
setTimeout(() => {
|
|
11157
|
+
this.win_opt.componentInstance.title = 'Salva Configurazione';
|
|
11158
|
+
this.win_opt.componentInstance.label = 'Nome';
|
|
11159
|
+
});
|
|
11124
11160
|
this.win_opt.afterClosed().subscribe(result => {
|
|
11125
11161
|
if (result)
|
|
11126
11162
|
if (result != null) {
|
|
@@ -12378,7 +12414,9 @@ class dati_aggiuntivi {
|
|
|
12378
12414
|
let dialogRef = this.m_dialog.open(win_assegna, {
|
|
12379
12415
|
disableClose: true
|
|
12380
12416
|
});
|
|
12381
|
-
|
|
12417
|
+
setTimeout(() => {
|
|
12418
|
+
dialogRef.componentInstance.comm_notrequired = this.nlevel.commenti_opzionali;
|
|
12419
|
+
});
|
|
12382
12420
|
dialogRef.afterClosed().subscribe(result => {
|
|
12383
12421
|
if (result == "") {
|
|
12384
12422
|
this.edit_b(true);
|
|
@@ -12736,40 +12774,46 @@ class dati_aggiuntivi {
|
|
|
12736
12774
|
open_wkf(inser_c = false) {
|
|
12737
12775
|
let s_h = (this.app_s.getState().body_h - 40) + 'px';
|
|
12738
12776
|
let dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: s_h });
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
12777
|
+
setTimeout(() => {
|
|
12778
|
+
dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
|
|
12779
|
+
if (this.m_obj.lettori != null)
|
|
12780
|
+
dialogRef.componentInstance.lettori = this.m_obj.lettori;
|
|
12781
|
+
else
|
|
12782
|
+
dialogRef.componentInstance.lettori = '';
|
|
12783
|
+
dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
|
|
12784
|
+
dialogRef.componentInstance.codice_doc = this.m_obj.codice;
|
|
12785
|
+
dialogRef.componentInstance.notifica_commenti = this.app_info.notifica_commenti;
|
|
12786
|
+
dialogRef.componentInstance.notifica_commenti_obbl = this.app_info.notifica_commenti_obbl;
|
|
12787
|
+
dialogRef.componentInstance.commenti_insert = inser_c;
|
|
12788
|
+
dialogRef.componentInstance.init_v();
|
|
12789
|
+
});
|
|
12750
12790
|
dialogRef.afterClosed().subscribe(result => {
|
|
12751
12791
|
this.r_count();
|
|
12752
12792
|
});
|
|
12753
12793
|
}
|
|
12754
12794
|
open_commenti() {
|
|
12755
12795
|
let dialogRef = this.m_dialog.open(win_commenti, { 'disableClose': true, width: "90%" });
|
|
12756
|
-
|
|
12757
|
-
|
|
12758
|
-
|
|
12759
|
-
|
|
12760
|
-
|
|
12761
|
-
|
|
12762
|
-
|
|
12763
|
-
|
|
12764
|
-
|
|
12765
|
-
|
|
12796
|
+
setTimeout(() => {
|
|
12797
|
+
dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
|
|
12798
|
+
if (this.m_obj.lettori != null)
|
|
12799
|
+
dialogRef.componentInstance.lettori = this.m_obj.lettori;
|
|
12800
|
+
else
|
|
12801
|
+
dialogRef.componentInstance.lettori = '';
|
|
12802
|
+
dialogRef.componentInstance.link = this.app_s.COMPANY_SITE_ROOT + '#/' + this.app_info.modulo_swf + '/' + this.id_applicativo + "/" + this.id_documento + "/edit";
|
|
12803
|
+
dialogRef.componentInstance.codice_doc = this.m_obj.codice;
|
|
12804
|
+
dialogRef.componentInstance.notifica_commenti = this.app_info.notifica_commenti;
|
|
12805
|
+
dialogRef.componentInstance.notifica_commenti_obbl = this.app_info.notifica_commenti_obbl;
|
|
12806
|
+
dialogRef.componentInstance.init_v();
|
|
12807
|
+
});
|
|
12766
12808
|
dialogRef.afterClosed().subscribe(result => {
|
|
12767
12809
|
this.r_count();
|
|
12768
12810
|
});
|
|
12769
12811
|
}
|
|
12770
12812
|
open_upload(sovra_path = '') {
|
|
12771
12813
|
let dialogRef = this.m_dialog.open(win_uploads, { 'disableClose': true, width: "90%" });
|
|
12772
|
-
|
|
12814
|
+
setTimeout(() => {
|
|
12815
|
+
dialogRef.componentInstance.sovrascrivi_path = sovra_path;
|
|
12816
|
+
});
|
|
12773
12817
|
dialogRef.afterClosed().subscribe(result => {
|
|
12774
12818
|
this.r_count();
|
|
12775
12819
|
});
|
|
@@ -13003,7 +13047,9 @@ class dati_aggiuntivi {
|
|
|
13003
13047
|
let dialogRef = this.m_dialog.open(win_info_doc, {
|
|
13004
13048
|
disableClose: true
|
|
13005
13049
|
});
|
|
13006
|
-
|
|
13050
|
+
setTimeout(() => {
|
|
13051
|
+
dialogRef.componentInstance.hide_richiedente = this.hide_richiedente;
|
|
13052
|
+
});
|
|
13007
13053
|
dialogRef.afterClosed().subscribe(result => {
|
|
13008
13054
|
// this.selectedOption = result;
|
|
13009
13055
|
});
|
|
@@ -13484,8 +13530,10 @@ let FormBuilderComponent = class FormBuilderComponent {
|
|
|
13484
13530
|
}
|
|
13485
13531
|
del_item(uiid_obj) {
|
|
13486
13532
|
let dialogRef = this._dialog.open(FHConfirmComponent, { 'disableClose': true });
|
|
13487
|
-
|
|
13488
|
-
|
|
13533
|
+
setTimeout(() => {
|
|
13534
|
+
dialogRef.componentInstance.title = 'Confirm';
|
|
13535
|
+
dialogRef.componentInstance.msg = "Remove Element?";
|
|
13536
|
+
});
|
|
13489
13537
|
dialogRef.afterClosed().subscribe(result => {
|
|
13490
13538
|
if (result) {
|
|
13491
13539
|
for (let i = 0; i < this.items.length; i++)
|
|
@@ -14402,14 +14450,16 @@ let FHFieldPickListComponent = class FHFieldPickListComponent {
|
|
|
14402
14450
|
let dialogRef = this.m_dialog.open(FHListPick, {
|
|
14403
14451
|
disableClose: true
|
|
14404
14452
|
});
|
|
14405
|
-
|
|
14406
|
-
|
|
14407
|
-
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
|
|
14412
|
-
|
|
14453
|
+
setTimeout(() => {
|
|
14454
|
+
dialogRef.componentInstance.single_sel = this.single_sel;
|
|
14455
|
+
dialogRef.componentInstance.sel_values = this.value;
|
|
14456
|
+
dialogRef.componentInstance.separator = this.separator;
|
|
14457
|
+
dialogRef.componentInstance.label = this.label;
|
|
14458
|
+
dialogRef.componentInstance.sql = this.sql;
|
|
14459
|
+
dialogRef.componentInstance.types = this.types;
|
|
14460
|
+
dialogRef.componentInstance.values = this.values;
|
|
14461
|
+
dialogRef.componentInstance.doFill();
|
|
14462
|
+
});
|
|
14413
14463
|
dialogRef.afterClosed().subscribe(result => {
|
|
14414
14464
|
if (result != null && result != '') {
|
|
14415
14465
|
this.value = '';
|
|
@@ -14674,7 +14724,9 @@ let FHTableManager = class FHTableManager {
|
|
|
14674
14724
|
if (this.cmb_sel.getValue() == "-1")
|
|
14675
14725
|
return;
|
|
14676
14726
|
let dialogRef = this._dialog.open(win_manage_values, { width: '90%', height: '550px' });
|
|
14677
|
-
|
|
14727
|
+
setTimeout(() => {
|
|
14728
|
+
dialogRef.componentInstance.id_tipo = Number(this.cmb_sel.getValue());
|
|
14729
|
+
});
|
|
14678
14730
|
dialogRef.afterClosed().subscribe(result => {
|
|
14679
14731
|
if (result) {
|
|
14680
14732
|
}
|
|
@@ -14886,7 +14938,9 @@ let FHRoleManager = class FHRoleManager {
|
|
|
14886
14938
|
if (this.cmb_sel.getValue() == "-1")
|
|
14887
14939
|
return;
|
|
14888
14940
|
let dialogRef = this._dialog.open(win_manage_roles, { width: '90%', height: '550px' });
|
|
14889
|
-
|
|
14941
|
+
setTimeout(() => {
|
|
14942
|
+
dialogRef.componentInstance.role_id = Number(this.cmb_sel.getValue());
|
|
14943
|
+
});
|
|
14890
14944
|
dialogRef.afterClosed().subscribe(result => {
|
|
14891
14945
|
if (result) {
|
|
14892
14946
|
}
|
|
@@ -15336,7 +15390,9 @@ let win_insert_commento = class win_insert_commento {
|
|
|
15336
15390
|
let ok_op = false;
|
|
15337
15391
|
this._dataService.doQuery(p).subscribe(data => {
|
|
15338
15392
|
let dialo = this.m_dialogRef.open(win_commento_sel_notif, { 'disableClose': true });
|
|
15339
|
-
|
|
15393
|
+
setTimeout(() => {
|
|
15394
|
+
dialo.componentInstance.init_arr(data.result_data);
|
|
15395
|
+
});
|
|
15340
15396
|
dialo.afterClosed().subscribe(result => {
|
|
15341
15397
|
// this.selectedOption = result;
|
|
15342
15398
|
if (result != null) {
|