@fluxhub/fluxhub-lib 1.0.605 → 1.0.607

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.
@@ -2860,6 +2860,8 @@ class FHComboboxComponent {
2860
2860
  fillCombo() {
2861
2861
  // console.log(this.init_fill);
2862
2862
  // if(!this.init_fill){this.init_fill=true;return;}
2863
+ if (this.sql == null)
2864
+ this.sql = '';
2863
2865
  if (this.sql.indexOf('|') != -1 && this.sql.indexOf('$') != -1) {
2864
2866
  this.set_options(this.sql);
2865
2867
  return;
@@ -4407,6 +4409,7 @@ FHUploadPanelComponent.decorators = [
4407
4409
  <td style="text-align:center">{{app.Filesize}}</td>
4408
4410
  <td>
4409
4411
  <div fxLayout="row">
4412
+ <div *ngIf="enabled">
4410
4413
  <a mat-icon-button matTooltip="Modifica Descrizione" *ngIf="app.can_delete" (click)="edit_descri(app)">
4411
4414
  <mat-icon>edit</mat-icon>
4412
4415
  </a>
@@ -4414,7 +4417,7 @@ FHUploadPanelComponent.decorators = [
4414
4417
  <a mat-icon-button [matTooltip]="'Modifica Descrizione consentita solo a: '+app.nc" *ngIf="!app.can_delete" [disabled]="true" >
4415
4418
  <mat-icon>edit</mat-icon>
4416
4419
  </a>
4417
-
4420
+ </div>
4418
4421
  <div [innerHTML]="app.descrizione_vis" style="width:100%">
4419
4422
  </div>
4420
4423
  </div></td>
@@ -4492,6 +4495,7 @@ FHUploadPanelComponent.decorators = [
4492
4495
  <td style="text-align:center">{{app.Filesize}}</td>
4493
4496
  <td>
4494
4497
  <div fxLayout="row">
4498
+ <div *ngIf="enabled">
4495
4499
  <a mat-icon-button matTooltip="Modifica Descrizione" *ngIf="app.can_delete" (click)="edit_descri(app)">
4496
4500
  <mat-icon>edit</mat-icon>
4497
4501
  </a>
@@ -4499,7 +4503,7 @@ FHUploadPanelComponent.decorators = [
4499
4503
  <a mat-icon-button [matTooltip]="'Modifica Descrizione consentita solo a: '+app.nc" *ngIf="!app.can_delete" [disabled]="true" >
4500
4504
  <mat-icon>edit</mat-icon>
4501
4505
  </a>
4502
-
4506
+ </div>
4503
4507
  <div [innerHTML]="app.descrizione_vis" style="width:100%">
4504
4508
  </div>
4505
4509
  </div></td>
@@ -18469,7 +18473,7 @@ FHFieldPickListComponent.decorators = [
18469
18473
  { type: Component, args: [{
18470
18474
  providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
18471
18475
  selector: 'FHFieldPickList', template: `
18472
- <div fxLayout="row" style="width: 100%" fxLayoutAlign="start start" [hidden]="hidden"><div style="width: 100%">
18476
+ <div fxLayout="row" style="width: 100%" fxLayoutAlign="start center" [hidden]="hidden"><div style="width: 100%">
18473
18477
  <mat-form-field appearance="outline" floatLabel="always"><mat-label>{{label}}</mat-label>
18474
18478
  <input type="text" #el1 matInput [readonly]="!enabled || only_in_list" [(ngModel)]="value">
18475
18479
  </mat-form-field></div>&nbsp;&nbsp;
@@ -19142,6 +19146,8 @@ class FHComboboxComponentFilter {
19142
19146
  // console.log(this.init_fill);
19143
19147
  // if(!this.init_fill){this.init_fill=true;return;}
19144
19148
  // console.log("fillcombo "+this.sql);
19149
+ if (this.sql == null)
19150
+ this.sql = '';
19145
19151
  if (this.sql.indexOf('|') != -1 && this.sql.indexOf('$') != -1) {
19146
19152
  this.set_options(this.sql);
19147
19153
  return;
@@ -19414,7 +19420,7 @@ class FHComboboxComponentFilter {
19414
19420
  FHComboboxComponentFilter.decorators = [
19415
19421
  { type: Component, args: [{
19416
19422
  selector: 'FHFilterComboBox', template: `
19417
- <mat-form-field [hidden]="!enabled || hidden">
19423
+ <mat-form-field [hidden]="!enabled || hidden">
19418
19424
  <mat-select #cmb [(ngModel)]="selval" (selectionChange)="sc()" [required]="required" [placeholder]="label">
19419
19425
  <mat-option value="-1">{{sel_label}}</mat-option>
19420
19426
  <mat-option value="{{app.valore}}" *ngFor="let app of myData">{{app.descrizione_valore}}</mat-option>