@fluxhub/fluxhub-lib 19.0.59 → 19.0.60

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.
@@ -4133,7 +4133,12 @@ class FHWinConfirmComponent {
4133
4133
  this.toast.error(this.insert_comment_msg);
4134
4134
  return;
4135
4135
  }
4136
- this.dialogRef.close(true);
4136
+ if (!this.b_commento) {
4137
+ this.dialogRef.close(true);
4138
+ }
4139
+ else {
4140
+ this.dialogRef.close({ result: true, comment: this.commento });
4141
+ }
4137
4142
  }
4138
4143
  constructor(dialogRef, app_s, conf, toast) {
4139
4144
  this.dialogRef = dialogRef;
@@ -4213,6 +4218,7 @@ class FHWinConfirmComponent {
4213
4218
  label="{{ commento_mgs | translate }}"
4214
4219
  [required]="true"
4215
4220
  [(ngModel)]="commento"
4221
+ [rows]="8"
4216
4222
  ></FHTextArea>
4217
4223
  </div>
4218
4224
  <br><br>
@@ -4227,7 +4233,7 @@ class FHWinConfirmComponent {
4227
4233
  <button *ngIf="!noCancel"
4228
4234
  mat-flat-button
4229
4235
  #btn_annulla
4230
- (click)="dialogRef.close(false)"
4236
+ (click)="dialogRef.close(null)"
4231
4237
  color="warn"
4232
4238
  >
4233
4239
  {{ annulla_mgs | translate }}
@@ -4282,6 +4288,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
4282
4288
  label="{{ commento_mgs | translate }}"
4283
4289
  [required]="true"
4284
4290
  [(ngModel)]="commento"
4291
+ [rows]="8"
4285
4292
  ></FHTextArea>
4286
4293
  </div>
4287
4294
  <br><br>
@@ -4296,7 +4303,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
4296
4303
  <button *ngIf="!noCancel"
4297
4304
  mat-flat-button
4298
4305
  #btn_annulla
4299
- (click)="dialogRef.close(false)"
4306
+ (click)="dialogRef.close(null)"
4300
4307
  color="warn"
4301
4308
  >
4302
4309
  {{ annulla_mgs | translate }}
@@ -7524,18 +7531,19 @@ class FHGridToolBarComponent {
7524
7531
  </button>
7525
7532
  </div>
7526
7533
  <mat-menu #gest_menu_custom="matMenu">
7527
- <div fxLayout="row" style="width:300px" fxLayoutAlign="center center">&nbsp;&nbsp;
7528
- <div fxLayout="column" fxLayoutGap="8px" fxFlex="100" fxLayoutAlign="center start">
7534
+ <div style="padding-top: 10px;">
7535
+ <div fxLayout="column" fxFlex="100" fxLayoutGap="6px" fxLayoutAlign="center center">
7536
+
7529
7537
  <ng-container *ngFor="let app of custom_commands">
7530
7538
 
7531
- <div style="width:100%"><button *ngIf="app.type == 'button'" [hidden]="app.hidden"
7539
+ <div style="width:100%;text-align:center"><button *ngIf="app.type == 'button'" [hidden]="app.hidden"
7532
7540
  mat-flat-button style="width:90%"
7533
7541
  [color]="app.color"
7534
7542
  (click)="exec_command(app.command)"
7535
7543
  >
7536
7544
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon>&nbsp;{{ app.label | translate }}
7537
7545
  </button></div>
7538
- <div style="width:100%">
7546
+ <div style="width:100%;text-align:center">
7539
7547
  <FHCheckBox
7540
7548
  *ngIf="app.type == 'checkbox'"
7541
7549
  (change)="selx(app.command, $event)"
@@ -7547,8 +7555,8 @@ class FHGridToolBarComponent {
7547
7555
  <FHTableManager *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManager>
7548
7556
  </div>
7549
7557
  </ng-container>
7550
- </div>&nbsp;&nbsp;
7551
7558
  </div>
7559
+ </div>
7552
7560
  </mat-menu>
7553
7561
  </div>
7554
7562
 
@@ -7947,18 +7955,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
7947
7955
  </button>
7948
7956
  </div>
7949
7957
  <mat-menu #gest_menu_custom="matMenu">
7950
- <div fxLayout="row" style="width:300px" fxLayoutAlign="center center">&nbsp;&nbsp;
7951
- <div fxLayout="column" fxLayoutGap="8px" fxFlex="100" fxLayoutAlign="center start">
7958
+ <div style="padding-top: 10px;">
7959
+ <div fxLayout="column" fxFlex="100" fxLayoutGap="6px" fxLayoutAlign="center center">
7960
+
7952
7961
  <ng-container *ngFor="let app of custom_commands">
7953
7962
 
7954
- <div style="width:100%"><button *ngIf="app.type == 'button'" [hidden]="app.hidden"
7963
+ <div style="width:100%;text-align:center"><button *ngIf="app.type == 'button'" [hidden]="app.hidden"
7955
7964
  mat-flat-button style="width:90%"
7956
7965
  [color]="app.color"
7957
7966
  (click)="exec_command(app.command)"
7958
7967
  >
7959
7968
  <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon>&nbsp;{{ app.label | translate }}
7960
7969
  </button></div>
7961
- <div style="width:100%">
7970
+ <div style="width:100%;text-align:center">
7962
7971
  <FHCheckBox
7963
7972
  *ngIf="app.type == 'checkbox'"
7964
7973
  (change)="selx(app.command, $event)"
@@ -7970,8 +7979,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
7970
7979
  <FHTableManager *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManager>
7971
7980
  </div>
7972
7981
  </ng-container>
7973
- </div>&nbsp;&nbsp;
7974
7982
  </div>
7983
+ </div>
7975
7984
  </mat-menu>
7976
7985
  </div>
7977
7986