@fluxhub/fluxhub-lib 19.0.199 → 19.0.201

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.
@@ -9854,6 +9854,7 @@ class FHGridComponent {
9854
9854
  }
9855
9855
  show_pulisci_filtri = false;
9856
9856
  autoSizeAll() {
9857
+ console.log('autoSizeAll called');
9857
9858
  if (this.gridOptions == null)
9858
9859
  return;
9859
9860
  if (this.gridApi == null)
@@ -9875,6 +9876,7 @@ class FHGridComponent {
9875
9876
  this.save_cfg();
9876
9877
  }
9877
9878
  fitSizeAll() {
9879
+ console.log('fitSizeAll called');
9878
9880
  if (this.gridApi)
9879
9881
  this.gridApi.sizeColumnsToFit();
9880
9882
  this.save_cfg();
@@ -10090,6 +10092,9 @@ class FHGridComponent {
10090
10092
  this.inittedSize = true;
10091
10093
  setTimeout(() => {
10092
10094
  this.autoSizeAll();
10095
+ setTimeout(() => {
10096
+ this.autoSizeAll();
10097
+ }, 1000);
10093
10098
  }, 200);
10094
10099
  }
10095
10100
  res_columns(forza = false) {
@@ -35477,7 +35482,7 @@ class FHHomeLauncherComponent {
35477
35482
  }
35478
35483
  if (r.invisible)
35479
35484
  continue;
35480
- current.apps.push({ id: r.id, title: r.name, link: r.url });
35485
+ current.apps.push({ id: r.id, title: r.name, link: r.url, appIcon: r.app_icon || "" });
35481
35486
  }
35482
35487
  const cats = grouped.filter((c) => c.apps.length > 0);
35483
35488
  for (const c of cats)
@@ -35579,8 +35584,10 @@ class FHHomeLauncherComponent {
35579
35584
  >
35580
35585
  <span class="app-box-top">
35581
35586
  <span class="app-box-icon">
35582
- <img *ngIf="cat.logoUrl; else boxIco" [src]="cat.logoUrl" [alt]="cat.title" />
35583
- <ng-template #boxIco><i class="material-symbols-outlined">{{ boxIcon }}</i></ng-template>
35587
+ <!-- priorità: icona specifica dell'app (applications.icon) > logo categoria > boxIcon default -->
35588
+ <i *ngIf="app.appIcon" class="material-symbols-outlined">{{ app.appIcon }}</i>
35589
+ <img *ngIf="!app.appIcon && cat.logoUrl" [src]="cat.logoUrl" [alt]="cat.title" />
35590
+ <i *ngIf="!app.appIcon && !cat.logoUrl" class="material-symbols-outlined">{{ boxIcon }}</i>
35584
35591
  </span>
35585
35592
  <span class="app-box-arrow"><i class="material-symbols-outlined">arrow_forward</i></span>
35586
35593
  </span>
@@ -35645,8 +35652,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
35645
35652
  >
35646
35653
  <span class="app-box-top">
35647
35654
  <span class="app-box-icon">
35648
- <img *ngIf="cat.logoUrl; else boxIco" [src]="cat.logoUrl" [alt]="cat.title" />
35649
- <ng-template #boxIco><i class="material-symbols-outlined">{{ boxIcon }}</i></ng-template>
35655
+ <!-- priorità: icona specifica dell'app (applications.icon) > logo categoria > boxIcon default -->
35656
+ <i *ngIf="app.appIcon" class="material-symbols-outlined">{{ app.appIcon }}</i>
35657
+ <img *ngIf="!app.appIcon && cat.logoUrl" [src]="cat.logoUrl" [alt]="cat.title" />
35658
+ <i *ngIf="!app.appIcon && !cat.logoUrl" class="material-symbols-outlined">{{ boxIcon }}</i>
35650
35659
  </span>
35651
35660
  <span class="app-box-arrow"><i class="material-symbols-outlined">arrow_forward</i></span>
35652
35661
  </span>