@fluxhub/fluxhub-lib 19.0.56 → 19.0.58

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.
@@ -42,7 +42,7 @@ import * as i8$1 from 'ngx-flexible-layout/flex';
42
42
  import * as i3$3 from '@angular/material/progress-bar';
43
43
  import { MatProgressBarModule } from '@angular/material/progress-bar';
44
44
  import * as i10$1 from 'ngx-flexible-layout/extended';
45
- import { MAT_MOMENT_DATE_ADAPTER_OPTIONS, MomentDateAdapter, MAT_MOMENT_DATE_FORMATS, provideMomentDateAdapter } from '@angular/material-moment-adapter';
45
+ import { MAT_MOMENT_DATE_ADAPTER_OPTIONS, MomentDateAdapter, provideMomentDateAdapter, MAT_MOMENT_DATE_FORMATS } from '@angular/material-moment-adapter';
46
46
  import * as i3$4 from '@angular/material/core';
47
47
  import { MAT_DATE_LOCALE, DateAdapter, MAT_DATE_FORMATS } from '@angular/material/core';
48
48
  import 'moment/locale/it';
@@ -731,15 +731,9 @@ class UtilityService {
731
731
  else
732
732
  return dt + '';
733
733
  }
734
- var mm = dt.getMonth() + 1; // getMonth() is zero-based
735
- var dd = dt.getDate();
736
- return [
737
- (dd > 9 ? '' : '0') + dd,
738
- '/',
739
- (mm > 9 ? '' : '0') + mm,
740
- '/',
741
- dt.getFullYear(),
742
- ].join('');
734
+ const mm = String(dt.getMonth() + 1).padStart(2, '0'); // mese sempre 2 cifre
735
+ const dd = String(dt.getDate()).padStart(2, '0'); // giorno sempre 2 cifre
736
+ return `${dd}/${mm}/${dt.getFullYear()}`;
743
737
  }
744
738
  text2Html(s) {
745
739
  if (s == null)
@@ -3859,7 +3853,7 @@ class FHTableManagerComponent {
3859
3853
  });
3860
3854
  }
3861
3855
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FHTableManagerComponent, deps: [{ token: QueryService }, { token: AppService }, { token: i1$2.MatDialog }], target: i0.ɵɵFactoryTarget.Component });
3862
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FHTableManagerComponent, isStandalone: true, selector: "FHTableManagerComponent", inputs: { application: "application" }, viewQueries: [{ propertyName: "cmb_sel", first: true, predicate: ["cmb_sel"], descendants: true }], ngImport: i0, template: `
3856
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FHTableManagerComponent, isStandalone: true, selector: "FHTableManager", inputs: { application: "application" }, viewQueries: [{ propertyName: "cmb_sel", first: true, predicate: ["cmb_sel"], descendants: true }], ngImport: i0, template: `
3863
3857
  <div
3864
3858
  [hidden]="!b_init"
3865
3859
  fxLayout="row"
@@ -3879,7 +3873,7 @@ class FHTableManagerComponent {
3879
3873
  }
3880
3874
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FHTableManagerComponent, decorators: [{
3881
3875
  type: Component,
3882
- args: [{ selector: "FHTableManagerComponent", template: `
3876
+ args: [{ selector: "FHTableManager", template: `
3883
3877
  <div
3884
3878
  [hidden]="!b_init"
3885
3879
  fxLayout="row"
@@ -5336,6 +5330,17 @@ const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$a = {
5336
5330
  useExisting: forwardRef(() => FHDatePickerComponent),
5337
5331
  multi: true,
5338
5332
  };
5333
+ const CUSTOM_DATE_FORMATS = {
5334
+ parse: {
5335
+ dateInput: 'DD/MM/YYYY',
5336
+ },
5337
+ display: {
5338
+ dateInput: 'DD/MM/YYYY',
5339
+ monthYearLabel: 'MMM YYYY',
5340
+ dateA11yLabel: 'LL',
5341
+ monthYearA11yLabel: 'MMMM YYYY',
5342
+ },
5343
+ };
5339
5344
  class FHDatePickerComponent {
5340
5345
  uti_s;
5341
5346
  _apps;
@@ -5556,18 +5561,13 @@ class FHDatePickerComponent {
5556
5561
  }
5557
5562
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FHDatePickerComponent, deps: [{ token: UtilityService }, { token: AppService }, { token: i3$4.DateAdapter }], target: i0.ɵɵFactoryTarget.Component });
5558
5563
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FHDatePickerComponent, isStandalone: true, selector: "FHDatePicker", inputs: { label: "label", error: "error", required: "required", show_buttons: "show_buttons", hidden: "hidden", enabled: "enabled", min_date: "min_date", max_date: "max_date" }, outputs: { change: "change", init_end: "init_end" }, providers: [
5559
- // The locale would typically be provided on the root module of your application. We do it at
5560
- // the component level here, due to limitations of our example generation script.
5561
5564
  { provide: MAT_DATE_LOCALE, useValue: 'it-IT' },
5562
- // `MomentDateAdapter` and `MAT_MOMENT_DATE_FORMATS` can be automatically provided by importing
5563
- // `MatMomentDateModule` in your applications root module. We provide it at the component level
5564
- // here, due to limitations of our example generation script.
5565
5565
  {
5566
5566
  provide: DateAdapter,
5567
5567
  useClass: MomentDateAdapter,
5568
5568
  deps: [MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS],
5569
5569
  },
5570
- { provide: MAT_DATE_FORMATS, useValue: MAT_MOMENT_DATE_FORMATS },
5570
+ { provide: MAT_DATE_FORMATS, useValue: CUSTOM_DATE_FORMATS },
5571
5571
  CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$a
5572
5572
  ], viewQueries: [{ propertyName: "pickerId", first: true, predicate: ["pickerId"], descendants: true }], ngImport: i0, template: `
5573
5573
 
@@ -5645,18 +5645,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
5645
5645
  MatDatepickerModule,
5646
5646
  MatInputModule
5647
5647
  ], providers: [
5648
- // The locale would typically be provided on the root module of your application. We do it at
5649
- // the component level here, due to limitations of our example generation script.
5650
5648
  { provide: MAT_DATE_LOCALE, useValue: 'it-IT' },
5651
- // `MomentDateAdapter` and `MAT_MOMENT_DATE_FORMATS` can be automatically provided by importing
5652
- // `MatMomentDateModule` in your applications root module. We provide it at the component level
5653
- // here, due to limitations of our example generation script.
5654
5649
  {
5655
5650
  provide: DateAdapter,
5656
5651
  useClass: MomentDateAdapter,
5657
5652
  deps: [MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS],
5658
5653
  },
5659
- { provide: MAT_DATE_FORMATS, useValue: MAT_MOMENT_DATE_FORMATS },
5654
+ { provide: MAT_DATE_FORMATS, useValue: CUSTOM_DATE_FORMATS },
5660
5655
  CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$a
5661
5656
  ], template: `
5662
5657
 
@@ -7471,7 +7466,7 @@ class FHGridToolBarComponent {
7471
7466
  </div>
7472
7467
  <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
7473
7468
  <div *ngIf="app.type == 'table_manager'">
7474
- <FHTableManagerComponent [application]="app.default_value"></FHTableManagerComponent>
7469
+ <FHTableManager [application]="app.default_value"></FHTableManager>
7475
7470
  </div>
7476
7471
  </div>
7477
7472
  </div>
@@ -7549,7 +7544,7 @@ class FHGridToolBarComponent {
7549
7544
  ></FHCheckBox>
7550
7545
  </div>
7551
7546
  <div style="width:100%">
7552
- <FHTableManagerComponent *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManagerComponent>
7547
+ <FHTableManager *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManager>
7553
7548
  </div>
7554
7549
  </ng-container>
7555
7550
  </div>&nbsp;&nbsp;
@@ -7627,7 +7622,7 @@ class FHGridToolBarComponent {
7627
7622
  </div>
7628
7623
  <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
7629
7624
  <div *ngIf="app.type == 'table_manager'">
7630
- <FHTableManagerComponent [application]="app.default_value"></FHTableManagerComponent>
7625
+ <FHTableManager [application]="app.default_value"></FHTableManager>
7631
7626
  </div>
7632
7627
  </div>
7633
7628
  <div [hidden]="!b_wait"><mat-spinner diameter="25"></mat-spinner></div>
@@ -7678,19 +7673,53 @@ class FHGridToolBarComponent {
7678
7673
  </div>
7679
7674
  <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
7680
7675
  <div *ngIf="app.type == 'table_manager'">
7681
- <FHTableManagerComponent [application]="app.default_value"></FHTableManagerComponent>
7676
+ <FHTableManager [application]="app.default_value"></FHTableManager>
7682
7677
  </div>
7683
7678
  </div>
7684
7679
  <div [hidden]="!b_wait"><mat-spinner diameter="25"></mat-spinner></div>
7685
7680
  </div>
7686
7681
  <div
7687
7682
  *ngIf="type == 'CUSTOM_MENU'"
7688
- fxLayoutGap="3px"
7683
+ fxLayoutGap="10px"
7689
7684
  fxLayout="row"
7690
7685
  fxFlex="100"
7691
7686
  style="height: 70px;"
7692
7687
  fxLayoutAlign="end center"
7693
7688
  >
7689
+ <div *ngIf="custom_commands_primary!=null" fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="end center">
7690
+ <div *ngFor="let app of custom_commands_primary">
7691
+ <div *ngIf="app.type == 'button' || app.type == null">
7692
+ <button [hidden]="app.hidden!=null && app.hidden"
7693
+ mat-flat-button *ngIf="app.label"
7694
+ [color]="app.color"
7695
+ (click)="exec_command(app.command)"
7696
+ >
7697
+ <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
7698
+ >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}
7699
+ </button>
7700
+ <button [hidden]="app.hidden!=null && app.hidden"
7701
+ mat-flat-button *ngIf="!app.label"
7702
+ [color]="app.color"
7703
+ (click)="exec_command(app.command)"
7704
+ >
7705
+ <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
7706
+ >
7707
+ </button>
7708
+ </div>
7709
+ <div *ngIf="app.type == 'checkbox'" style="font-size:12px">
7710
+ <FHCheckBox
7711
+
7712
+ (change)="selx(app.command, $event)"
7713
+ [label]="app.label | translate"
7714
+ [(ngModel)]="app.default_value"
7715
+ ></FHCheckBox>
7716
+ </div>
7717
+ <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
7718
+ <div *ngIf="app.type == 'table_manager'">
7719
+ <FHTableManager [application]="app.default_value"></FHTableManager>
7720
+ </div>
7721
+ </div>
7722
+ </div>
7694
7723
  <button
7695
7724
  mat-flat-button
7696
7725
  color="primary"
@@ -7737,7 +7766,7 @@ class FHGridToolBarComponent {
7737
7766
  </div>
7738
7767
  <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
7739
7768
  <div *ngIf="app.type == 'table_manager'">
7740
- <FHTableManagerComponent [application]="app.default_value"></FHTableManagerComponent>
7769
+ <FHTableManager [application]="app.default_value"></FHTableManager>
7741
7770
  </div>
7742
7771
  </div></div>
7743
7772
  </mat-menu>
@@ -7764,7 +7793,7 @@ class FHGridToolBarComponent {
7764
7793
 
7765
7794
  <div [hidden]="!b_wait"><mat-spinner diameter="25"></mat-spinner></div>
7766
7795
  </div>
7767
- `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i5$3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i11.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i6$3.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i6$3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i6$3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: FHCheckBoxComponent, selector: "FHCheckBox", inputs: ["hidden", "label", "enabled", "required"], outputs: ["change", "click"] }, { kind: "component", type: FHTableManagerComponent, selector: "FHTableManagerComponent", inputs: ["application"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10$1.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }] });
7796
+ `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3$2.TranslatePipe, name: "translate" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatToolbarModule }, { kind: "component", type: i5$3.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i11.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i8$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatMenuModule }, { kind: "component", type: i6$3.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i6$3.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i6$3.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i6$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: FHCheckBoxComponent, selector: "FHCheckBox", inputs: ["hidden", "label", "enabled", "required"], outputs: ["change", "click"] }, { kind: "component", type: FHTableManagerComponent, selector: "FHTableManager", inputs: ["application"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i5.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "ngmodule", type: FlexLayoutModule }, { kind: "directive", type: i8$1.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i8$1.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i8$1.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i10$1.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }] });
7768
7797
  }
7769
7798
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FHGridToolBarComponent, decorators: [{
7770
7799
  type: Component,
@@ -7860,7 +7889,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
7860
7889
  </div>
7861
7890
  <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
7862
7891
  <div *ngIf="app.type == 'table_manager'">
7863
- <FHTableManagerComponent [application]="app.default_value"></FHTableManagerComponent>
7892
+ <FHTableManager [application]="app.default_value"></FHTableManager>
7864
7893
  </div>
7865
7894
  </div>
7866
7895
  </div>
@@ -7938,7 +7967,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
7938
7967
  ></FHCheckBox>
7939
7968
  </div>
7940
7969
  <div style="width:100%">
7941
- <FHTableManagerComponent *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManagerComponent>
7970
+ <FHTableManager *ngIf="app.type == 'table_manager'" style="width:180px" [application]="app.default_value"></FHTableManager>
7942
7971
  </div>
7943
7972
  </ng-container>
7944
7973
  </div>&nbsp;&nbsp;
@@ -8016,7 +8045,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
8016
8045
  </div>
8017
8046
  <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
8018
8047
  <div *ngIf="app.type == 'table_manager'">
8019
- <FHTableManagerComponent [application]="app.default_value"></FHTableManagerComponent>
8048
+ <FHTableManager [application]="app.default_value"></FHTableManager>
8020
8049
  </div>
8021
8050
  </div>
8022
8051
  <div [hidden]="!b_wait"><mat-spinner diameter="25"></mat-spinner></div>
@@ -8067,19 +8096,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
8067
8096
  </div>
8068
8097
  <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
8069
8098
  <div *ngIf="app.type == 'table_manager'">
8070
- <FHTableManagerComponent [application]="app.default_value"></FHTableManagerComponent>
8099
+ <FHTableManager [application]="app.default_value"></FHTableManager>
8071
8100
  </div>
8072
8101
  </div>
8073
8102
  <div [hidden]="!b_wait"><mat-spinner diameter="25"></mat-spinner></div>
8074
8103
  </div>
8075
8104
  <div
8076
8105
  *ngIf="type == 'CUSTOM_MENU'"
8077
- fxLayoutGap="3px"
8106
+ fxLayoutGap="10px"
8078
8107
  fxLayout="row"
8079
8108
  fxFlex="100"
8080
8109
  style="height: 70px;"
8081
8110
  fxLayoutAlign="end center"
8082
8111
  >
8112
+ <div *ngIf="custom_commands_primary!=null" fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="end center">
8113
+ <div *ngFor="let app of custom_commands_primary">
8114
+ <div *ngIf="app.type == 'button' || app.type == null">
8115
+ <button [hidden]="app.hidden!=null && app.hidden"
8116
+ mat-flat-button *ngIf="app.label"
8117
+ [color]="app.color"
8118
+ (click)="exec_command(app.command)"
8119
+ >
8120
+ <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
8121
+ >&nbsp;&nbsp;&nbsp;{{ app.label | translate }}
8122
+ </button>
8123
+ <button [hidden]="app.hidden!=null && app.hidden"
8124
+ mat-flat-button *ngIf="!app.label"
8125
+ [color]="app.color"
8126
+ (click)="exec_command(app.command)"
8127
+ >
8128
+ <mat-icon *ngIf="app.icon != null">{{ app.icon }}</mat-icon
8129
+ >
8130
+ </button>
8131
+ </div>
8132
+ <div *ngIf="app.type == 'checkbox'" style="font-size:12px">
8133
+ <FHCheckBox
8134
+
8135
+ (change)="selx(app.command, $event)"
8136
+ [label]="app.label | translate"
8137
+ [(ngModel)]="app.default_value"
8138
+ ></FHCheckBox>
8139
+ </div>
8140
+ <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
8141
+ <div *ngIf="app.type == 'table_manager'">
8142
+ <FHTableManager [application]="app.default_value"></FHTableManager>
8143
+ </div>
8144
+ </div>
8145
+ </div>
8083
8146
  <button
8084
8147
  mat-flat-button
8085
8148
  color="primary"
@@ -8126,7 +8189,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
8126
8189
  </div>
8127
8190
  <div *ngIf="app.type == 'spacer'" style="width:60px"></div>
8128
8191
  <div *ngIf="app.type == 'table_manager'">
8129
- <FHTableManagerComponent [application]="app.default_value"></FHTableManagerComponent>
8192
+ <FHTableManager [application]="app.default_value"></FHTableManager>
8130
8193
  </div>
8131
8194
  </div></div>
8132
8195
  </mat-menu>
@@ -12565,12 +12628,13 @@ class FHViewerComponent {
12565
12628
  return result;
12566
12629
  }
12567
12630
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FHViewerComponent, deps: [{ token: "config", optional: true }, { token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
12568
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FHViewerComponent, isStandalone: true, selector: "image-viewer", inputs: { src: "src", index: "index", preview: "preview", config: "config" }, outputs: { indexChange: "indexChange", configChange: "configChange", customEvent: "customEvent", notfullScreenEvent: "notfullScreenEvent", fullScreenEvent: "fullScreenEvent" }, host: { listeners: { "window:keyup.ArrowRight": "nextImage($event)", "window:keyup.ArrowLeft": "prevImage($event)" } }, viewQueries: [{ propertyName: "imgx", first: true, predicate: ["imgx"], descendants: true }], ngImport: i0, template: "<div\n #imgx\n class=\"img-container\"\n [style.backgroundColor]=\"config.containerBackgroundColor\"\n (wheel)=\"scrollZoom($event)\"\n (dragover)=\"onDragOver($event)\"\n *ngIf=\"src != null\"\n>\n <img\n [src]=\"src[index]\"\n [style.transform]=\"style.transform | safe: 'style'\"\n [style.msTransform]=\"style.transform | safe: 'style'\"\n style=\"min-height: 280px;\"\n [style.webkitTransform]=\"style.transform | safe: 'style'\"\n [style.oTransform]=\"style.transform | safe: 'style'\"\n alt=\"Image not found...\"\n (dragstart)=\"onDragStart($event)\"\n (load)=\"onLoad()\"\n (loadstart)=\"onLoadStart()\"\n />\n <!-- Div below will be used to hide the 'ghost' image when dragging -->\n <div></div>\n <div class=\"spinner-container\" *ngIf=\"loading\">\n <div class=\"spinner\"></div>\n </div>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.rotateCounterClockwise && !preview\"\n (click)=\"rotateCounterClockwise()\"\n >\n <span [class]=\"config.btnIcons.rotateCounterClockwise\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.rotateClockwise && !preview\"\n (click)=\"rotateClockwise()\"\n >\n <span [class]=\"config.btnIcons.rotateClockwise\"></span>\n </button>\n\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.zoomOut && !preview\"\n (click)=\"zoomOut()\"\n >\n <span [class]=\"config.btnIcons.zoomOut\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.zoomIn && !preview\"\n (click)=\"zoomIn()\"\n >\n <span [class]=\"config.btnIcons.zoomIn\"></span>\n </button>\n\n <button\n type=\"button\"\n id=\"ngx-fs-btn\"\n [class]=\"config.btnClass\"\n (click)=\"toggleFullscreen()\"\n *ngIf=\"config.allowFullscreen\"\n >\n <span [class]=\"config.btnIcons.fullscreen\"></span>\n </button>\n\n <div class=\"nav-button-container\" *ngIf=\"src.length > 1\">\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n (click)=\"prevImage($event)\"\n [disabled]=\"index === 0\"\n >\n <span [class]=\"config.btnIcons.prev\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n (click)=\"nextImage($event)\"\n [disabled]=\"index === src.length - 1\"\n >\n <span [class]=\"config.btnIcons.next\"></span>\n </button>\n </div>\n</div>\n", styles: [".img-container{height:100%;width:100%;overflow:hidden;position:relative}.img-container img{z-index:2;margin:0 auto;display:block;max-width:100%;max-height:100%}.img-container button{z-index:99;position:absolute;right:15px}.img-container button:not(:disabled){cursor:pointer}.img-container>button:nth-of-type(1):not(#ngx-fs-btn){bottom:15px}.img-container>button:nth-of-type(2):not(#ngx-fs-btn){bottom:65px}.img-container>button:nth-of-type(3):not(#ngx-fs-btn){bottom:115px}.img-container>button:nth-of-type(4):not(#ngx-fs-btn){bottom:165px}.img-container>button:nth-of-type(5):not(#ngx-fs-btn){bottom:215px}.img-container>button:nth-of-type(6):not(#ngx-fs-btn){bottom:265px}.img-container>button:nth-of-type(7):not(#ngx-fs-btn){bottom:315px}#ngx-fs-btn{top:15px}button.default{height:40px;width:40px;border:1px solid #555;border-radius:50%;background-color:#fff;opacity:.7;transition:opacity .2s}button.default:hover{opacity:1}button.default:disabled{opacity:.25}.nav-button-container>button{position:relative;right:0;margin:0 10px}.nav-button-container{text-align:center;position:absolute;z-index:98;bottom:10px;left:0;right:0}.spinner-container{position:absolute;inset:0;width:60px;height:60px;margin:auto;padding:10px;background-color:#0006;border-radius:25%}.spinner{border-width:7px;border-style:solid;border-color:#ccc;border-bottom-color:#222;border-radius:50%;height:100%;width:100%;box-sizing:border-box;-webkit-animation:rotation 2s linear infinite;-moz-animation:rotation 2s linear infinite;-o-animation:rotation 2s linear infinite;animation:rotation 2s linear infinite}@keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-moz-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-o-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}\n"], dependencies: [{ kind: "pipe", type: SafePipe, name: "safe" }] });
12631
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: FHViewerComponent, isStandalone: true, selector: "image-viewer", inputs: { src: "src", index: "index", preview: "preview", config: "config" }, outputs: { indexChange: "indexChange", configChange: "configChange", customEvent: "customEvent", notfullScreenEvent: "notfullScreenEvent", fullScreenEvent: "fullScreenEvent" }, host: { listeners: { "window:keyup.ArrowRight": "nextImage($event)", "window:keyup.ArrowLeft": "prevImage($event)" } }, viewQueries: [{ propertyName: "imgx", first: true, predicate: ["imgx"], descendants: true }], ngImport: i0, template: "<div\n #imgx\n class=\"img-container\"\n [style.backgroundColor]=\"config.containerBackgroundColor\"\n (wheel)=\"scrollZoom($event)\"\n (dragover)=\"onDragOver($event)\"\n *ngIf=\"src != null\"\n>\n <img\n [src]=\"src[index]\"\n [style.transform]=\"style.transform | safe: 'style'\"\n [style.msTransform]=\"style.transform | safe: 'style'\"\n style=\"min-height: 280px;\"\n [style.webkitTransform]=\"style.transform | safe: 'style'\"\n [style.oTransform]=\"style.transform | safe: 'style'\"\n alt=\"Image not found...\"\n (dragstart)=\"onDragStart($event)\"\n (load)=\"onLoad()\"\n (loadstart)=\"onLoadStart()\"\n />\n <!-- Div below will be used to hide the 'ghost' image when dragging -->\n <div></div>\n <div class=\"spinner-container\" *ngIf=\"loading\">\n <div class=\"spinner\"></div>\n </div>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.rotateCounterClockwise && !preview\"\n (click)=\"rotateCounterClockwise()\"\n >\n <span [class]=\"config.btnIcons.rotateCounterClockwise\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.rotateClockwise && !preview\"\n (click)=\"rotateClockwise()\"\n >\n <span [class]=\"config.btnIcons.rotateClockwise\"></span>\n </button>\n\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.zoomOut && !preview\"\n (click)=\"zoomOut()\"\n >\n <span [class]=\"config.btnIcons.zoomOut\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.zoomIn && !preview\"\n (click)=\"zoomIn()\"\n >\n <span [class]=\"config.btnIcons.zoomIn\"></span>\n </button>\n\n <button\n type=\"button\"\n id=\"ngx-fs-btn\"\n [class]=\"config.btnClass\"\n (click)=\"toggleFullscreen()\"\n *ngIf=\"config.allowFullscreen\"\n >\n <span [class]=\"config.btnIcons.fullscreen\"></span>\n </button>\n\n <div class=\"nav-button-container\" *ngIf=\"src.length > 1\">\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n (click)=\"prevImage($event)\"\n [disabled]=\"index === 0\"\n >\n <span [class]=\"config.btnIcons.prev\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n (click)=\"nextImage($event)\"\n [disabled]=\"index === src.length - 1\"\n >\n <span [class]=\"config.btnIcons.next\"></span>\n </button>\n </div>\n</div>\n", styles: [".img-container{height:100%;width:100%;overflow:hidden;position:relative}.img-container img{z-index:2;margin:0 auto;display:block;max-width:100%;max-height:100%}.img-container button{z-index:99;position:absolute;right:15px}.img-container button:not(:disabled){cursor:pointer}.img-container>button:nth-of-type(1):not(#ngx-fs-btn){bottom:15px}.img-container>button:nth-of-type(2):not(#ngx-fs-btn){bottom:65px}.img-container>button:nth-of-type(3):not(#ngx-fs-btn){bottom:115px}.img-container>button:nth-of-type(4):not(#ngx-fs-btn){bottom:165px}.img-container>button:nth-of-type(5):not(#ngx-fs-btn){bottom:215px}.img-container>button:nth-of-type(6):not(#ngx-fs-btn){bottom:265px}.img-container>button:nth-of-type(7):not(#ngx-fs-btn){bottom:315px}#ngx-fs-btn{top:15px}button.default{height:40px;width:40px;border:1px solid #555;border-radius:50%;background-color:#fff;opacity:.7;transition:opacity .2s}button.default:hover{opacity:1}button.default:disabled{opacity:.25}.nav-button-container>button{position:relative;right:0;margin:0 10px}.nav-button-container{text-align:center;position:absolute;z-index:98;bottom:10px;left:0;right:0}.spinner-container{position:absolute;inset:0;width:60px;height:60px;margin:auto;padding:10px;background-color:#0006;border-radius:25%}.spinner{border-width:7px;border-style:solid;border-color:#ccc;border-bottom-color:#222;border-radius:50%;height:100%;width:100%;box-sizing:border-box;-webkit-animation:rotation 2s linear infinite;-moz-animation:rotation 2s linear infinite;-o-animation:rotation 2s linear infinite;animation:rotation 2s linear infinite}@keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-moz-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-o-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}\n"], dependencies: [{ kind: "pipe", type: SafePipe, name: "safe" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
12569
12632
  }
12570
12633
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: FHViewerComponent, decorators: [{
12571
12634
  type: Component,
12572
- args: [{ selector: "image-viewer", imports: [
12573
- SafePipe
12635
+ args: [{ selector: "image-viewer", standalone: true, imports: [
12636
+ SafePipe,
12637
+ CommonModule
12574
12638
  ], template: "<div\n #imgx\n class=\"img-container\"\n [style.backgroundColor]=\"config.containerBackgroundColor\"\n (wheel)=\"scrollZoom($event)\"\n (dragover)=\"onDragOver($event)\"\n *ngIf=\"src != null\"\n>\n <img\n [src]=\"src[index]\"\n [style.transform]=\"style.transform | safe: 'style'\"\n [style.msTransform]=\"style.transform | safe: 'style'\"\n style=\"min-height: 280px;\"\n [style.webkitTransform]=\"style.transform | safe: 'style'\"\n [style.oTransform]=\"style.transform | safe: 'style'\"\n alt=\"Image not found...\"\n (dragstart)=\"onDragStart($event)\"\n (load)=\"onLoad()\"\n (loadstart)=\"onLoadStart()\"\n />\n <!-- Div below will be used to hide the 'ghost' image when dragging -->\n <div></div>\n <div class=\"spinner-container\" *ngIf=\"loading\">\n <div class=\"spinner\"></div>\n </div>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.rotateCounterClockwise && !preview\"\n (click)=\"rotateCounterClockwise()\"\n >\n <span [class]=\"config.btnIcons.rotateCounterClockwise\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.rotateClockwise && !preview\"\n (click)=\"rotateClockwise()\"\n >\n <span [class]=\"config.btnIcons.rotateClockwise\"></span>\n </button>\n\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.zoomOut && !preview\"\n (click)=\"zoomOut()\"\n >\n <span [class]=\"config.btnIcons.zoomOut\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n *ngIf=\"config.btnShow.zoomIn && !preview\"\n (click)=\"zoomIn()\"\n >\n <span [class]=\"config.btnIcons.zoomIn\"></span>\n </button>\n\n <button\n type=\"button\"\n id=\"ngx-fs-btn\"\n [class]=\"config.btnClass\"\n (click)=\"toggleFullscreen()\"\n *ngIf=\"config.allowFullscreen\"\n >\n <span [class]=\"config.btnIcons.fullscreen\"></span>\n </button>\n\n <div class=\"nav-button-container\" *ngIf=\"src.length > 1\">\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n (click)=\"prevImage($event)\"\n [disabled]=\"index === 0\"\n >\n <span [class]=\"config.btnIcons.prev\"></span>\n </button>\n <button\n type=\"button\"\n [class]=\"config.btnClass\"\n (click)=\"nextImage($event)\"\n [disabled]=\"index === src.length - 1\"\n >\n <span [class]=\"config.btnIcons.next\"></span>\n </button>\n </div>\n</div>\n", styles: [".img-container{height:100%;width:100%;overflow:hidden;position:relative}.img-container img{z-index:2;margin:0 auto;display:block;max-width:100%;max-height:100%}.img-container button{z-index:99;position:absolute;right:15px}.img-container button:not(:disabled){cursor:pointer}.img-container>button:nth-of-type(1):not(#ngx-fs-btn){bottom:15px}.img-container>button:nth-of-type(2):not(#ngx-fs-btn){bottom:65px}.img-container>button:nth-of-type(3):not(#ngx-fs-btn){bottom:115px}.img-container>button:nth-of-type(4):not(#ngx-fs-btn){bottom:165px}.img-container>button:nth-of-type(5):not(#ngx-fs-btn){bottom:215px}.img-container>button:nth-of-type(6):not(#ngx-fs-btn){bottom:265px}.img-container>button:nth-of-type(7):not(#ngx-fs-btn){bottom:315px}#ngx-fs-btn{top:15px}button.default{height:40px;width:40px;border:1px solid #555;border-radius:50%;background-color:#fff;opacity:.7;transition:opacity .2s}button.default:hover{opacity:1}button.default:disabled{opacity:.25}.nav-button-container>button{position:relative;right:0;margin:0 10px}.nav-button-container{text-align:center;position:absolute;z-index:98;bottom:10px;left:0;right:0}.spinner-container{position:absolute;inset:0;width:60px;height:60px;margin:auto;padding:10px;background-color:#0006;border-radius:25%}.spinner{border-width:7px;border-style:solid;border-color:#ccc;border-bottom-color:#222;border-radius:50%;height:100%;width:100%;box-sizing:border-box;-webkit-animation:rotation 2s linear infinite;-moz-animation:rotation 2s linear infinite;-o-animation:rotation 2s linear infinite;animation:rotation 2s linear infinite}@keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-webkit-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-moz-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-o-keyframes rotation{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}\n"] }]
12575
12639
  }], ctorParameters: () => [{ type: undefined, decorators: [{
12576
12640
  type: Optional
@@ -17416,7 +17480,7 @@ class FHUploadPanelComponent {
17416
17480
  (click)="download_all(app)"
17417
17481
  class="fh_icon_button"
17418
17482
  >
17419
- <mat-icon>cloud_download</mat-icon>
17483
+ <mat-icon>file_download</mat-icon>
17420
17484
  </button>
17421
17485
  </td>
17422
17486
  <td
@@ -17624,7 +17688,7 @@ class FHUploadPanelComponent {
17624
17688
  (click)="download_all(app)"
17625
17689
  class="fh_icon_button"
17626
17690
  >
17627
- <mat-icon>cloud_download</mat-icon>
17691
+ <mat-icon>file_download</mat-icon>
17628
17692
  </button>
17629
17693
  </td>
17630
17694
  <td
@@ -17914,7 +17978,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
17914
17978
  (click)="download_all(app)"
17915
17979
  class="fh_icon_button"
17916
17980
  >
17917
- <mat-icon>cloud_download</mat-icon>
17981
+ <mat-icon>file_download</mat-icon>
17918
17982
  </button>
17919
17983
  </td>
17920
17984
  <td
@@ -18122,7 +18186,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
18122
18186
  (click)="download_all(app)"
18123
18187
  class="fh_icon_button"
18124
18188
  >
18125
- <mat-icon>cloud_download</mat-icon>
18189
+ <mat-icon>file_download</mat-icon>
18126
18190
  </button>
18127
18191
  </td>
18128
18192
  <td
@@ -19466,7 +19530,7 @@ class FHUploadPanelS3Component {
19466
19530
  matTooltip="Download File"
19467
19531
  (click)="download_all(app)" class="fh_icon_button"
19468
19532
  >
19469
- <mat-icon>cloud_download</mat-icon>
19533
+ <mat-icon>file_download</mat-icon>
19470
19534
  </button>
19471
19535
  </td>
19472
19536
 
@@ -19596,7 +19660,7 @@ class FHUploadPanelS3Component {
19596
19660
  matTooltip="Download File"
19597
19661
  (click)="download_all(app)" class="fh_icon_button"
19598
19662
  >
19599
- <mat-icon>cloud_download</mat-icon>
19663
+ <mat-icon>file_download</mat-icon>
19600
19664
  </button>
19601
19665
  </td>
19602
19666
 
@@ -19794,7 +19858,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
19794
19858
  matTooltip="Download File"
19795
19859
  (click)="download_all(app)" class="fh_icon_button"
19796
19860
  >
19797
- <mat-icon>cloud_download</mat-icon>
19861
+ <mat-icon>file_download</mat-icon>
19798
19862
  </button>
19799
19863
  </td>
19800
19864
 
@@ -19924,7 +19988,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImpo
19924
19988
  matTooltip="Download File"
19925
19989
  (click)="download_all(app)" class="fh_icon_button"
19926
19990
  >
19927
- <mat-icon>cloud_download</mat-icon>
19991
+ <mat-icon>file_download</mat-icon>
19928
19992
  </button>
19929
19993
  </td>
19930
19994