@fluxhub/fluxhub-lib 10.0.737 → 10.0.739
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 +24 -8
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/wkf_engine/win_log.js +3 -3
- package/esm2015/lib/wkf_engine_v2/win_commenti.js +4 -2
- package/esm2015/lib/wkf_engine_v2/win_log.js +4 -2
- package/esm2015/lib/wkf_engine_v2/wkf_header_bar.js +5 -3
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +13 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine_v2/win_commenti.d.ts +1 -0
- package/lib/wkf_engine_v2/win_log.d.ts +1 -0
- package/lib/wkf_engine_v2/wkf_header_bar.d.ts +1 -0
- package/lib/wkf_engine_v2/wkfdatiaggiuntivi.d.ts +3 -2
- package/package.json +1 -1
|
@@ -15299,7 +15299,7 @@ class win_log {
|
|
|
15299
15299
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
15300
15300
|
"|" +
|
|
15301
15301
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
15302
|
-
this.m_file.doQuery(px).subscribe();
|
|
15302
|
+
this.m_file.doQuery(px, false).subscribe();
|
|
15303
15303
|
this.b_edit = false;
|
|
15304
15304
|
if (sdest != "")
|
|
15305
15305
|
this.sendEMail_ex(this.m_appService.getState().wkf_doc_info.curr_user, sdest, this.subject
|
|
@@ -15331,7 +15331,7 @@ class win_log {
|
|
|
15331
15331
|
this.m_appService.getState().wkf_doc_info.uiid_app +
|
|
15332
15332
|
"|" +
|
|
15333
15333
|
this.m_appService.getState().wkf_doc_info.uiid_doc;
|
|
15334
|
-
this.m_file.doQuery(px).subscribe();
|
|
15334
|
+
this.m_file.doQuery(px, false).subscribe();
|
|
15335
15335
|
this.b_edit = false;
|
|
15336
15336
|
if (sdest != "")
|
|
15337
15337
|
this.sendEMail_ex(this.m_appService.getState().wkf_doc_info.curr_user, sdest, this.subject
|
|
@@ -22037,10 +22037,11 @@ class win_commenti_v2 {
|
|
|
22037
22037
|
this.subject = "";
|
|
22038
22038
|
this.link = "";
|
|
22039
22039
|
this.codice_doc = "";
|
|
22040
|
+
this.op = "";
|
|
22040
22041
|
this.refresh_list();
|
|
22041
22042
|
}
|
|
22042
22043
|
close() {
|
|
22043
|
-
this.dialogRef.close(
|
|
22044
|
+
this.dialogRef.close(this.op);
|
|
22044
22045
|
}
|
|
22045
22046
|
init_v() {
|
|
22046
22047
|
if (this.notifica_commenti > 0 && this.notifica_commenti_obbl == 1) {
|
|
@@ -22192,6 +22193,7 @@ class win_commenti_v2 {
|
|
|
22192
22193
|
];
|
|
22193
22194
|
let ok_op = false;
|
|
22194
22195
|
this._dataService.doQuery(p).subscribe((data) => {
|
|
22196
|
+
this.op = 'i';
|
|
22195
22197
|
let ok_op = false;
|
|
22196
22198
|
if (data != null)
|
|
22197
22199
|
if (data.result_msg == "OK") {
|
|
@@ -22809,6 +22811,7 @@ class win_log_v2 {
|
|
|
22809
22811
|
this.ossv = false;
|
|
22810
22812
|
this.not_comm = false;
|
|
22811
22813
|
this.not_comm_disabled = false;
|
|
22814
|
+
this.op = '';
|
|
22812
22815
|
this.b_flussook = true;
|
|
22813
22816
|
this.logs = new Array();
|
|
22814
22817
|
this.notifica_commenti = 1;
|
|
@@ -22831,7 +22834,7 @@ class win_log_v2 {
|
|
|
22831
22834
|
this.refresh_list();
|
|
22832
22835
|
}
|
|
22833
22836
|
close() {
|
|
22834
|
-
this.dialogRef.close(
|
|
22837
|
+
this.dialogRef.close(this.op);
|
|
22835
22838
|
}
|
|
22836
22839
|
init_v() {
|
|
22837
22840
|
if (this.notifica_commenti > 0 && this.notifica_commenti_obbl == 1) {
|
|
@@ -23085,6 +23088,7 @@ class win_log_v2 {
|
|
|
23085
23088
|
let ok_op = false;
|
|
23086
23089
|
if (data != null)
|
|
23087
23090
|
if (data.result_msg == "OK") {
|
|
23091
|
+
this.op = 'i';
|
|
23088
23092
|
this.toastr.info(this._tsr.instant("INFO"), this._tsr.instant("COMMENTO INSERITO"), {
|
|
23089
23093
|
timeOut: 1000,
|
|
23090
23094
|
progressBar: true,
|
|
@@ -25328,7 +25332,7 @@ class dati_aggiuntivi_v2 {
|
|
|
25328
25332
|
}
|
|
25329
25333
|
this.salva();
|
|
25330
25334
|
}
|
|
25331
|
-
open_wkf(inser_c = false, edit_c = true) {
|
|
25335
|
+
open_wkf(em, inser_c = false, edit_c = true) {
|
|
25332
25336
|
console.log('inser_c = false,edit_c=true ', inser_c, edit_c);
|
|
25333
25337
|
let s_h = this.app_s.getState().body_h - 40 + "px";
|
|
25334
25338
|
let dialogRef = this.m_dialog.open(win_log_v2, {
|
|
@@ -25364,10 +25368,15 @@ class dati_aggiuntivi_v2 {
|
|
|
25364
25368
|
dialogRef.componentInstance.init_v();
|
|
25365
25369
|
});
|
|
25366
25370
|
dialogRef.afterClosed().subscribe((result) => {
|
|
25371
|
+
if (result == null)
|
|
25372
|
+
if (result == 'i') {
|
|
25373
|
+
console.log('inserito commento');
|
|
25374
|
+
em.emit();
|
|
25375
|
+
}
|
|
25367
25376
|
this.r_count();
|
|
25368
25377
|
});
|
|
25369
25378
|
}
|
|
25370
|
-
open_commenti() {
|
|
25379
|
+
open_commenti(em) {
|
|
25371
25380
|
let dialogRef = this.m_dialog.open(win_commenti_v2, {
|
|
25372
25381
|
disableClose: true,
|
|
25373
25382
|
width: "90%",
|
|
@@ -25398,6 +25407,11 @@ class dati_aggiuntivi_v2 {
|
|
|
25398
25407
|
dialogRef.componentInstance.init_v();
|
|
25399
25408
|
});
|
|
25400
25409
|
dialogRef.afterClosed().subscribe((result) => {
|
|
25410
|
+
if (result != null)
|
|
25411
|
+
if (result == 'i') {
|
|
25412
|
+
em.emit();
|
|
25413
|
+
console.log('emetto insert');
|
|
25414
|
+
}
|
|
25401
25415
|
this.r_count();
|
|
25402
25416
|
});
|
|
25403
25417
|
}
|
|
@@ -26279,6 +26293,7 @@ class wkf_header_bar_v2 {
|
|
|
26279
26293
|
this.admin_role = '[ZZZ_DIS_CC]';
|
|
26280
26294
|
this.sovra_path = '';
|
|
26281
26295
|
this.command = new EventEmitter();
|
|
26296
|
+
this.comment_inserted = new EventEmitter();
|
|
26282
26297
|
this.button_clicked = new EventEmitter();
|
|
26283
26298
|
}
|
|
26284
26299
|
exec_command(command) {
|
|
@@ -26301,11 +26316,11 @@ class wkf_header_bar_v2 {
|
|
|
26301
26316
|
open_info() { this.button_clicked.emit('open_info'); if (this.dt_agg != null)
|
|
26302
26317
|
this.dt_agg.open_info(); }
|
|
26303
26318
|
open_commenti() { this.button_clicked.emit('open_commenti'); if (this.dt_agg != null)
|
|
26304
|
-
this.dt_agg.open_commenti(); }
|
|
26319
|
+
this.dt_agg.open_commenti(this.comment_inserted); }
|
|
26305
26320
|
open_upload() { this.button_clicked.emit('open_upload'); if (this.dt_agg != null)
|
|
26306
26321
|
this.dt_agg.open_upload(this.sovra_path, this.admin_role); }
|
|
26307
26322
|
open_wkf() { console.log('this.edit_comments_in_logs ', this.edit_comments_in_logs); this.button_clicked.emit('open_wkf'); if (this.dt_agg != null)
|
|
26308
|
-
this.dt_agg.open_wkf(false, this.edit_comments_in_logs); }
|
|
26323
|
+
this.dt_agg.open_wkf(this.comment_inserted, false, this.edit_comments_in_logs); }
|
|
26309
26324
|
ngAfterViewInit() {
|
|
26310
26325
|
setTimeout(() => {
|
|
26311
26326
|
this.back_lbl = this._trs.instant('Indietro');
|
|
@@ -26504,6 +26519,7 @@ wkf_header_bar_v2.propDecorators = {
|
|
|
26504
26519
|
admin_role: [{ type: Input }],
|
|
26505
26520
|
sovra_path: [{ type: Input }],
|
|
26506
26521
|
command: [{ type: Output }],
|
|
26522
|
+
comment_inserted: [{ type: Output }],
|
|
26507
26523
|
button_clicked: [{ type: Output }]
|
|
26508
26524
|
};
|
|
26509
26525
|
|