@fluxhub/fluxhub-lib 9.0.116 → 9.0.118
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 +15 -6
- 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_assegna.js +1 -2
- package/esm2015/lib/wkf_engine/win_conferma.js +16 -8
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -2
- package/esm5/lib/wkf_engine/win_assegna.js +1 -2
- package/esm5/lib/wkf_engine/win_conferma.js +16 -8
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +4 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +15 -6
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +15 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/win_conferma.d.ts +2 -1
- package/package.json +1 -1
|
@@ -9342,7 +9342,6 @@ var win_assegna = /** @class */ (function () {
|
|
|
9342
9342
|
this.nota = data.commento_default;
|
|
9343
9343
|
if (data.comm_notrequired != null)
|
|
9344
9344
|
this.comm_notrequired = data.comm_notrequired;
|
|
9345
|
-
this.m_appService.temp_var4 = '';
|
|
9346
9345
|
}
|
|
9347
9346
|
}
|
|
9348
9347
|
win_assegna.prototype.close = function () { this.dialogRef.close(null); };
|
|
@@ -9391,11 +9390,12 @@ var win_assegna = /** @class */ (function () {
|
|
|
9391
9390
|
}());
|
|
9392
9391
|
|
|
9393
9392
|
var win_conferma = /** @class */ (function () {
|
|
9394
|
-
function win_conferma(dialogRef, m_appService, toastr, _dataService) {
|
|
9393
|
+
function win_conferma(dialogRef, m_appService, toastr, _dataService, data) {
|
|
9395
9394
|
this.dialogRef = dialogRef;
|
|
9396
9395
|
this.m_appService = m_appService;
|
|
9397
9396
|
this.toastr = toastr;
|
|
9398
9397
|
this._dataService = _dataService;
|
|
9398
|
+
this.data = data;
|
|
9399
9399
|
this.utenti = "";
|
|
9400
9400
|
this.lbl = "";
|
|
9401
9401
|
this.nota = "";
|
|
@@ -9404,13 +9404,18 @@ var win_conferma = /** @class */ (function () {
|
|
|
9404
9404
|
this.comm_notrequired = 0;
|
|
9405
9405
|
this.mobile = false;
|
|
9406
9406
|
this.comm_notrequired = this.m_appService.getState().wkf_doc_info.comm_notrequired;
|
|
9407
|
-
console.log(' this.comm_notrequired ', this.comm_notrequired);
|
|
9408
9407
|
this.title = this.m_appService.getState().wkf_doc_info.title;
|
|
9409
9408
|
this.lbl = this.m_appService.getState().wkf_doc_info.lbl;
|
|
9410
9409
|
this.utenti = this.m_appService.getState().wkf_doc_info.utenti;
|
|
9411
9410
|
if (this.comm_notrequired == 2)
|
|
9412
9411
|
this.nota_commento = " (COMMENTO NON OBBLIGATORIO)";
|
|
9413
9412
|
this.mobile = this.m_appService.getState().pageFullscreen;
|
|
9413
|
+
if (data != null) {
|
|
9414
|
+
if (data.commento_default != null)
|
|
9415
|
+
this.nota = data.commento_default;
|
|
9416
|
+
if (data.comm_notrequired != null)
|
|
9417
|
+
this.comm_notrequired = data.comm_notrequired;
|
|
9418
|
+
}
|
|
9414
9419
|
}
|
|
9415
9420
|
win_conferma.prototype.ok = function () {
|
|
9416
9421
|
if (this.comm_notrequired == 0)
|
|
@@ -9432,13 +9437,15 @@ var win_conferma = /** @class */ (function () {
|
|
|
9432
9437
|
{ type: MatDialogRef },
|
|
9433
9438
|
{ type: AppService },
|
|
9434
9439
|
{ type: ToastrService },
|
|
9435
|
-
{ type: QueryService }
|
|
9440
|
+
{ type: QueryService },
|
|
9441
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
9436
9442
|
]; };
|
|
9437
9443
|
win_conferma = __decorate([
|
|
9438
9444
|
Component({
|
|
9439
9445
|
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"close()\" /> </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <mat-toolbar>\n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{lbl}}</div>\n <div *ngIf=\"!mobile\">{{lbl}}</div>\n\n\n </mat-toolbar>\n <br>\n <div mat-dialog-content style=\"min-width:800px;font-size: 15px;\">\n <div *ngIf=\"mobile && utenti?.toLocaleLowerCase().indexOf('system')==-1\" style=\"font-size:10px\">Assegnata a: {{utenti}}</div>\n <h3 *ngIf=\"!mobile && utenti?.toLocaleLowerCase().indexOf('system')==-1\">Assegnata a: {{utenti}}</h3>\n <br>\n <mat-form-field [hidden]=\"comm_notrequired==1\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"close()\">ANNULLA</button>\n </div>\n\n "
|
|
9440
9446
|
}),
|
|
9441
|
-
|
|
9447
|
+
__param(4, Inject(MAT_DIALOG_DATA)),
|
|
9448
|
+
__metadata("design:paramtypes", [MatDialogRef, AppService, ToastrService, QueryService, Object])
|
|
9442
9449
|
], win_conferma);
|
|
9443
9450
|
return win_conferma;
|
|
9444
9451
|
}());
|
|
@@ -11803,8 +11810,9 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11803
11810
|
this.app_s.getState().wkf_doc_info.utenti = sp;
|
|
11804
11811
|
this.app_s.getState().wkf_doc_info.comm_notrequired = this.nlevel.commenti_opzionali;
|
|
11805
11812
|
var dialogRef = this.m_dialog.open(win_conferma, {
|
|
11806
|
-
disableClose: true
|
|
11813
|
+
disableClose: true, data: { commento_default: this.app_s.temp_var4, comm_notrequired: this.nlevel.commenti_opzionali }
|
|
11807
11814
|
});
|
|
11815
|
+
this.app_s.temp_var4 = '';
|
|
11808
11816
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11809
11817
|
if (result == "abort") {
|
|
11810
11818
|
_this.edit_b(true);
|
|
@@ -11835,6 +11843,7 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
11835
11843
|
var dialogRef = this.m_dialog.open(win_assegna, {
|
|
11836
11844
|
disableClose: true, data: { commento_default: this.app_s.temp_var4, comm_notrequired: this.nlevel.commenti_opzionali }
|
|
11837
11845
|
});
|
|
11846
|
+
this.app_s.temp_var4 = '';
|
|
11838
11847
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
11839
11848
|
if (result == "" || result == null) {
|
|
11840
11849
|
_this.edit_b(true);
|