@fluxhub/fluxhub-lib 1.0.262 → 1.0.264

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.
@@ -34,7 +34,7 @@ import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteM
34
34
  import { __read, __assign, __extends } from 'tslib';
35
35
  import { DomSanitizer } from '@angular/platform-browser';
36
36
  import { ActivatedRoute, Router } from '@angular/router';
37
- import { Injectable, Component, Pipe, Directive, Inject, PLATFORM_ID, Input, Output, EventEmitter, ViewChild, forwardRef, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
37
+ import { Injectable, Component, Directive, Pipe, Inject, PLATFORM_ID, Input, Output, EventEmitter, ViewChild, forwardRef, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
38
38
  import { Http } from '@angular/http';
39
39
  import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
40
40
  import { ToastrService } from 'ngx-toastr';
@@ -5304,14 +5304,6 @@ wkfapp = /** @class */ (function () {
5304
5304
  if (arrAutori[i].idp != null && arrAutori[i].username == null)
5305
5305
  arrAutori[i].username = arrAutori[i].idp;
5306
5306
  }
5307
- dialogRef.componentInstance.commento_hidden = false;
5308
- dialogRef.componentInstance.comm_notrequired = false;
5309
- if (this.os_r.commenti_opzionali != null)
5310
- if (this.os_r.commenti_opzionali != 0) {
5311
- dialogRef.componentInstance.commento_hidden = true;
5312
- dialogRef.componentInstance.comm_notrequired = true;
5313
- }
5314
- console.log('dialogRef.componentInstance ', dialogRef.componentInstance);
5315
5307
  dialogRef.componentInstance.arrAutori = arrAutori;
5316
5308
  dialogRef.componentInstance.title = "Riassegnazione documento: " + this.get_grid().sRow.codice + " - " + this.get_grid().sRow.oggetto;
5317
5309
  dialogRef.afterClosed().subscribe((/**
@@ -11245,7 +11237,7 @@ var win_assegna = /** @class */ (function () {
11245
11237
  };
11246
11238
  win_assegna.decorators = [
11247
11239
  { type: Component, args: [{
11248
- template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\">\n\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br *ngIf=\"!comm_notrequired\"><br *ngIf=\"!comm_notrequired\"><br *ngIf=\"!comm_notrequired\">\n <mat-form-field [hidden]=\"comm_notrequired\">\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(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-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
11240
+ template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n <div mat-dialog-content style=\"min-width:700px\">\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <div *ngIf=\"!comm_notrequired\">\n <br><br><br>\n <mat-form-field>\n <textarea matInput placeholder=\"Commento {{nota_commento}}\" [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button>&nbsp;&nbsp;&nbsp;\n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
11249
11241
  }] }
11250
11242
  ];
11251
11243
  /** @nocollapse */
@@ -15093,7 +15085,7 @@ var dati_aggiuntivi = /** @class */ (function () {
15093
15085
  }
15094
15086
  else {
15095
15087
  this.app_s.getState().wkf_doc_info.title = 'Assegnazione';
15096
- if (this.clevel.commenti_opzionali == 1)
15088
+ if (this.nlevel.commenti_opzionali == 1)
15097
15089
  this.app_s.getState().wkf_doc_info.comm_notrequired = true;
15098
15090
  else
15099
15091
  this.app_s.getState().wkf_doc_info.comm_notrequired = false;
@@ -15115,6 +15107,11 @@ var dati_aggiuntivi = /** @class */ (function () {
15115
15107
  var dialogRef = this.m_dialog.open(win_assegna, {
15116
15108
  disableClose: true
15117
15109
  });
15110
+ if (this.nlevel.commenti_opzionali == 1)
15111
+ dialogRef.componentInstance.comm_notrequired = true;
15112
+ else
15113
+ dialogRef.componentInstance.comm_notrequired = false;
15114
+ console.log('dialogRef.componentInstance.comm_notrequired ', dialogRef.componentInstance.comm_notrequired);
15118
15115
  dialogRef.afterClosed().subscribe((/**
15119
15116
  * @param {?} result
15120
15117
  * @return {?}