@fluxhub/fluxhub-lib 9.0.114 → 9.0.116
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 +19 -11
- 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/wkf_engine/win_assegna.js +17 -8
- package/esm2015/lib/wkf_engine/win_insert_commento.js +1 -1
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +6 -6
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -5
- package/esm5/lib/wkf_engine/win_assegna.js +17 -8
- package/esm5/lib/wkf_engine/win_insert_commento.js +1 -1
- package/esm5/lib/wkf_engine/wkf_header_bar.js +2 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +6 -7
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -13
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +19 -11
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/win_assegna.d.ts +2 -1
- package/package.json +1 -1
|
@@ -10305,18 +10305,18 @@ win_salva_annulla = __decorate([
|
|
|
10305
10305
|
], win_salva_annulla);
|
|
10306
10306
|
|
|
10307
10307
|
let win_assegna = class win_assegna {
|
|
10308
|
-
constructor(dialogRef, m_appService, toastr, _dataService) {
|
|
10308
|
+
constructor(dialogRef, m_appService, toastr, _dataService, data) {
|
|
10309
10309
|
this.dialogRef = dialogRef;
|
|
10310
10310
|
this.m_appService = m_appService;
|
|
10311
10311
|
this.toastr = toastr;
|
|
10312
10312
|
this._dataService = _dataService;
|
|
10313
|
+
this.data = data;
|
|
10313
10314
|
this.lbl = "";
|
|
10314
10315
|
this.nota = "";
|
|
10315
10316
|
this.nota_commento = "";
|
|
10316
10317
|
this.title = "ASSEGNA DOCUMENTO";
|
|
10317
10318
|
this.comm_notrequired = 0;
|
|
10318
10319
|
this.comm_notrequired = this.m_appService.getState().wkf_doc_info.comm_notrequired;
|
|
10319
|
-
console.log(' this.comm_notrequired ', this.comm_notrequired);
|
|
10320
10320
|
this.title = this.m_appService.getState().wkf_doc_info.title;
|
|
10321
10321
|
this.lbl = this.m_appService.getState().wkf_doc_info.lbl;
|
|
10322
10322
|
this.arrAutori = this.m_appService.getState().wkf_doc_info.arrAutori;
|
|
@@ -10326,6 +10326,13 @@ let win_assegna = class win_assegna {
|
|
|
10326
10326
|
}
|
|
10327
10327
|
if (this.comm_notrequired == 2)
|
|
10328
10328
|
this.nota_commento = " (COMMENTO NON OBBLIGATORIO)";
|
|
10329
|
+
if (data != null) {
|
|
10330
|
+
if (data.commento_default != null)
|
|
10331
|
+
this.nota = data.commento_default;
|
|
10332
|
+
if (data.comm_notrequired != null)
|
|
10333
|
+
this.comm_notrequired = data.comm_notrequired;
|
|
10334
|
+
this.m_appService.temp_var4 = '';
|
|
10335
|
+
}
|
|
10329
10336
|
}
|
|
10330
10337
|
close() { this.dialogRef.close(null); }
|
|
10331
10338
|
ok() {
|
|
@@ -10356,7 +10363,8 @@ win_assegna.ctorParameters = () => [
|
|
|
10356
10363
|
{ type: MatDialogRef },
|
|
10357
10364
|
{ type: AppService },
|
|
10358
10365
|
{ type: ToastrService },
|
|
10359
|
-
{ type: QueryService }
|
|
10366
|
+
{ type: QueryService },
|
|
10367
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
10360
10368
|
];
|
|
10361
10369
|
__decorate([
|
|
10362
10370
|
ViewChild('up'),
|
|
@@ -10390,7 +10398,8 @@ win_assegna = __decorate([
|
|
|
10390
10398
|
|
|
10391
10399
|
`
|
|
10392
10400
|
}),
|
|
10393
|
-
|
|
10401
|
+
__param(4, Inject(MAT_DIALOG_DATA)),
|
|
10402
|
+
__metadata("design:paramtypes", [MatDialogRef, AppService, ToastrService, QueryService, Object])
|
|
10394
10403
|
], win_assegna);
|
|
10395
10404
|
|
|
10396
10405
|
let win_conferma = class win_conferma {
|
|
@@ -13215,11 +13224,10 @@ class dati_aggiuntivi {
|
|
|
13215
13224
|
return 0;
|
|
13216
13225
|
});
|
|
13217
13226
|
;
|
|
13227
|
+
if (this.app_s.temp_var4 == null)
|
|
13228
|
+
this.app_s.temp_var4 = '';
|
|
13218
13229
|
let dialogRef = this.m_dialog.open(win_assegna, {
|
|
13219
|
-
disableClose: true
|
|
13220
|
-
});
|
|
13221
|
-
setTimeout(() => {
|
|
13222
|
-
dialogRef.componentInstance.comm_notrequired = this.nlevel.commenti_opzionali;
|
|
13230
|
+
disableClose: true, data: { commento_default: this.app_s.temp_var4, comm_notrequired: this.nlevel.commenti_opzionali }
|
|
13223
13231
|
});
|
|
13224
13232
|
dialogRef.afterClosed().subscribe(result => {
|
|
13225
13233
|
if (result == "" || result == null) {
|
|
@@ -14279,12 +14287,12 @@ wkf_header_bar = __decorate([
|
|
|
14279
14287
|
|
|
14280
14288
|
<div fxLayout="row" fxLayout.xs="column" fxLayoutGap="16px" fxLayoutGap.xs="3px">
|
|
14281
14289
|
<div fxLayout="row" >
|
|
14282
|
-
<button mat-flat-button (click)="open_info()" *ngIf="!m_appService.getState().pageFullscreen"> <mat-icon>info_outline</mat-icon> Info Doc</button>
|
|
14283
|
-
<button mat-flat-button [color]="(dt_agg?.comm_c?dt_agg?.comm_c:0>0)?'accent':''" [matBadge]="dt_agg?.comm_c?dt_agg?.comm_c:0" matBadgePosition="before" matBadgeColor="primary" (click)="open_commenti()"> <mat-icon>insert_comment</mat-icon>Commenti</button> </div> <div fxLayout="row">
|
|
14284
|
-
<button mat-flat-button [color]="(dt_agg?.all_c?dt_agg?.all_c:0>0)?'accent':''" [matBadge]="dt_agg?.all_c?dt_agg?.all_c:0" matBadgePosition="before" matBadgeColor="primary" (click)="open_upload()"> <mat-icon>attach_file</mat-icon>Allegati</button>
|
|
14285
|
-
|
|
14290
|
+
<button mat-flat-button (click)="open_info()" *ngIf="!m_appService.getState().pageFullscreen"> <mat-icon>info_outline</mat-icon> Info Doc</button>
|
|
14291
|
+
<button mat-flat-button [color]="(dt_agg?.comm_c?dt_agg?.comm_c:0>0)?'accent':''" [matBadge]="dt_agg?.comm_c?dt_agg?.comm_c:0" matBadgePosition="before" matBadgeColor="primary" (click)="open_commenti()"> <mat-icon>insert_comment</mat-icon>Commenti</button> </div> <div fxLayout="row">
|
|
14292
|
+
<button mat-flat-button [color]="(dt_agg?.all_c?dt_agg?.all_c:0>0)?'accent':''" [matBadge]="dt_agg?.all_c?dt_agg?.all_c:0" matBadgePosition="before" matBadgeColor="primary" (click)="open_upload()"> <mat-icon>attach_file</mat-icon>Allegati</button>
|
|
14293
|
+
<button mat-flat-button (click)="open_wkf()" *ngIf="!m_appService.getState().pageFullscreen"> <mat-icon>transfer_within_a_station</mat-icon>Workflow</button></div>
|
|
14294
|
+
</div>
|
|
14286
14295
|
</div>
|
|
14287
|
-
</div>
|
|
14288
14296
|
`
|
|
14289
14297
|
}),
|
|
14290
14298
|
__metadata("design:paramtypes", [AppService])
|