@fluxhub/fluxhub-lib 10.0.738 → 10.0.740
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 +23 -7
- 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_v2/win_commenti.js +10 -8
- 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 +28 -12
- 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
|
@@ -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") {
|
|
@@ -22327,12 +22329,12 @@ win_commenti_v2.decorators = [
|
|
|
22327
22329
|
<table style="min-width: 100%" class="fh_table">
|
|
22328
22330
|
<thead>
|
|
22329
22331
|
<tr>
|
|
22330
|
-
<th>{{'Ver' | translate}}</th>
|
|
22332
|
+
<th width="20">{{'Ver' | translate}}</th>
|
|
22331
22333
|
<th>{{'Commento' | translate}}</th>
|
|
22332
22334
|
<th width="15%">{{'Autore' | translate}}</th>
|
|
22333
22335
|
<th width="15%">{{'Data' | translate}}</th>
|
|
22334
|
-
<th></th>
|
|
22335
|
-
<th></th>
|
|
22336
|
+
<th width="20"></th>
|
|
22337
|
+
<th width="20"></th>
|
|
22336
22338
|
</tr>
|
|
22337
22339
|
</thead>
|
|
22338
22340
|
<tbody>
|
|
@@ -22345,18 +22347,18 @@ win_commenti_v2.decorators = [
|
|
|
22345
22347
|
"
|
|
22346
22348
|
[ngClass]="{ odd: odd, even: even }"
|
|
22347
22349
|
>
|
|
22348
|
-
<td>{{app.v}}</td>
|
|
22350
|
+
<td align="center">{{app.v}}</td>
|
|
22349
22351
|
<td [innerHTML]="app.v_commento"></td>
|
|
22350
22352
|
<td>{{ app.COGNOME + " " + app.NOME }}</td>
|
|
22351
22353
|
<td>{{ app.data_creazione | date: "dd/MM/yyyy HH:mm:ss" }}</td>
|
|
22352
|
-
<td>
|
|
22354
|
+
<td align="center">
|
|
22353
22355
|
<mat-icon
|
|
22354
22356
|
[matTooltip]="app.dest_notif"
|
|
22355
22357
|
*ngIf="app.dest_notif != null && app.dest_notif != ''"
|
|
22356
22358
|
>mail</mat-icon
|
|
22357
22359
|
>
|
|
22358
22360
|
</td>
|
|
22359
|
-
<td>
|
|
22361
|
+
<td align="center">
|
|
22360
22362
|
<mat-icon
|
|
22361
22363
|
*ngIf="
|
|
22362
22364
|
i == 0 &&
|
|
@@ -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
|
|