@fluxhub/fluxhub-lib 1.0.524 → 1.0.526

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.
@@ -13402,7 +13402,7 @@ class win_log {
13402
13402
  this.modeler = new NavigatedViewer({
13403
13403
  container: '#canvas',
13404
13404
  width: '97%',
13405
- height: this.m_appService.getState().body_height2,
13405
+ height: '100%',
13406
13406
  readonly: true,
13407
13407
  });
13408
13408
  this.load_graph();
@@ -13613,8 +13613,8 @@ win_log.decorators = [
13613
13613
 
13614
13614
  <mat-tab-group #zz style="width:100%">
13615
13615
 
13616
- <mat-tab label="DIAGRAMMA" style="width:100%;height:100%" *ngIf="b_flussook">
13617
- <mat-toolbar color="primary" style="width:90%;"><div fxFlex="20">WORKFLOW</div>
13616
+ <mat-tab label="DIAGRAMMA" style="width:100%;overflow:auto;" *ngIf="b_flussook" [style.height]="(m_appService.getState().body_h-120)+'px'" >
13617
+ <mat-toolbar color="primary" style="width:90%;"><div >WORKFLOW</div>
13618
13618
  <div fxLayout="row" fxLayoutAlign="center end" fxFlex="90" >
13619
13619
 
13620
13620
  <button mat-flat-button color="accent" (click)="dialogRef.close('')">
@@ -13623,13 +13623,13 @@ win_log.decorators = [
13623
13623
  </button>
13624
13624
  </div>
13625
13625
  </mat-toolbar>
13626
- <div [style.height]="(m_appService.getState().body_h-190)+'px'" style="overflow:auto;" >
13626
+ <div [style.height]="(m_appService.getState().body_h-150)+'px'" >
13627
13627
  <div style="width:100%;height:100%" id="canvas"></div>
13628
13628
  </div>
13629
13629
 
13630
13630
  </mat-tab>
13631
13631
 
13632
- <mat-tab label="LOGS">
13632
+ <mat-tab label="LOGS" style="width:100%;overflow:auto;" [style.height]="(m_appService.getState().body_h-120)+'px'">
13633
13633
  <mat-toolbar color="primary" style="width:90%;"><div fxFlex="20"> {{title}}</div>
13634
13634
  <div fxLayout="row" fxLayoutAlign="center end" fxFlex="90" >
13635
13635
  <button mat-flat-button color="accent" (click)="ins()" *ngIf="!b_edit && commenti_insert">
@@ -13643,7 +13643,7 @@ win_log.decorators = [
13643
13643
  </div>
13644
13644
  </mat-toolbar>
13645
13645
  <br>
13646
- <div [style.height]="(m_appService.getState().body_h-190)+'px'" style="overflow:auto;width:90%">
13646
+ <div [style.height]="(m_appService.getState().body_h-150)+'px'" style="overflow:auto;width:90%">
13647
13647
 
13648
13648
  <section class="bs" *ngIf="b_edit">
13649
13649
  <br>
@@ -16151,7 +16151,9 @@ class dati_aggiuntivi {
16151
16151
  */
16152
16152
  open_wkf(inser_c = false) {
16153
16153
  /** @type {?} */
16154
- let dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: "95%" });
16154
+ let s_h = (this.app_s.getState().body_h - 10) + 'px';
16155
+ /** @type {?} */
16156
+ let dialogRef = this.m_dialog.open(win_log, { 'disableClose': true, width: "95%", height: s_h });
16155
16157
  dialogRef.componentInstance.subject = this.app_info.descrizione_breve + ", <OP>: " + this.m_obj.codice + " " + this.getTitle();
16156
16158
  if (this.m_obj.lettori != null)
16157
16159
  dialogRef.componentInstance.lettori = this.m_obj.lettori;
@@ -19659,8 +19661,13 @@ class FHHelpButton {
19659
19661
  if (data != null)
19660
19662
  if (data.result_msg == "OK") {
19661
19663
  if (data.result_data.length > 0) {
19664
+ if (data.result_data[0].url == null) {
19665
+ this._toast.error('help non disponibile: ' + this.key);
19666
+ return;
19667
+ }
19662
19668
  if (data.result_data[0].url == '') {
19663
19669
  this._toast.error('help non disponibile: ' + this.key);
19670
+ return;
19664
19671
  }
19665
19672
  if (data.result_data[0].t == 'L')
19666
19673
  window.open(data.result_data[0].url);