@fluxhub/fluxhub-lib 19.0.146 → 19.0.148

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.
Files changed (46) hide show
  1. package/fesm2022/fluxhub-fluxhub-lib.mjs +3824 -4724
  2. package/fesm2022/fluxhub-fluxhub-lib.mjs.map +1 -1
  3. package/lib/controls/dialog-base/dialog-base.component.d.ts +122 -0
  4. package/lib/controls/fh-win-app-logs.d.ts +6 -3
  5. package/lib/controls/fh-win-ask-buttons.d.ts +4 -0
  6. package/lib/controls/fh-win-ask-richtext.d.ts +7 -29
  7. package/lib/controls/fh-win-ask-text.d.ts +10 -4
  8. package/lib/controls/fh-win-ask-textbig.d.ts +6 -4
  9. package/lib/controls/fh-win-asknumber.d.ts +7 -4
  10. package/lib/controls/fh-win-auto-complete.d.ts +6 -3
  11. package/lib/controls/fh-win-combo-select.d.ts +6 -3
  12. package/lib/controls/fh-win-confirm.d.ts +7 -5
  13. package/lib/controls/fh-win-error.d.ts +4 -5
  14. package/lib/controls/fh-win-grid-selection.d.ts +4 -0
  15. package/lib/controls/fh-win-info.d.ts +4 -5
  16. package/lib/controls/fh-win-list-pick.d.ts +6 -3
  17. package/lib/controls/fh-win-mappa.d.ts +5 -1
  18. package/lib/controls/fh-win-output.d.ts +6 -2
  19. package/lib/controls/fh-win-select-by-grid.d.ts +4 -0
  20. package/lib/controls/fh-win-show-email-s3.d.ts +6 -2
  21. package/lib/controls/fh-win-show-email.d.ts +7 -3
  22. package/lib/controls/fh-win-show-image.d.ts +4 -0
  23. package/lib/controls/fh-win-show-log-details.d.ts +5 -1
  24. package/lib/controls/fh-win-show-log-info-details.d.ts +5 -1
  25. package/lib/controls/fh-win-show-logs.d.ts +7 -5
  26. package/lib/controls/fh-win-time-slider.d.ts +6 -2
  27. package/lib/controls/fh-win-upload.d.ts +5 -1
  28. package/lib/controls/fh-win-user-info.d.ts +6 -2
  29. package/lib/controls/fh-win-user-picker.d.ts +6 -2
  30. package/lib/controls/fh-win-wait.d.ts +4 -0
  31. package/lib/wkf_engine_v2/win-assign-to.d.ts +5 -1
  32. package/lib/wkf_engine_v2/win-assign.d.ts +5 -1
  33. package/lib/wkf_engine_v2/win-comment-select-notif.d.ts +5 -1
  34. package/lib/wkf_engine_v2/win-comments.d.ts +5 -1
  35. package/lib/wkf_engine_v2/win-confirm.d.ts +4 -0
  36. package/lib/wkf_engine_v2/win-info-doc.d.ts +5 -1
  37. package/lib/wkf_engine_v2/win-log.d.ts +7 -3
  38. package/lib/wkf_engine_v2/win-reassign-select-level.d.ts +5 -1
  39. package/lib/wkf_engine_v2/win-reassign-select-user.d.ts +5 -1
  40. package/lib/wkf_engine_v2/win-recover.d.ts +6 -2
  41. package/lib/wkf_engine_v2/win-replace-user.d.ts +5 -1
  42. package/lib/wkf_engine_v2/win-save-cancel.d.ts +5 -1
  43. package/lib/wkf_engine_v2/win-select-channel.d.ts +5 -1
  44. package/lib/wkf_engine_v2/win-select-level.d.ts +6 -2
  45. package/lib/wkf_engine_v2/win-uploads.d.ts +5 -1
  46. package/package.json +1 -1
@@ -0,0 +1,122 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Interfaccia per la configurazione dei pulsanti della dialog
6
+ */
7
+ export interface DialogButton {
8
+ /** Testo del pulsante */
9
+ text: string;
10
+ /** Icona Material (opzionale) */
11
+ icon?: string;
12
+ /** Colore del pulsante: 'primary' | 'accent' | 'warn' | undefined */
13
+ color?: 'primary' | 'accent' | 'warn';
14
+ /** Tipo di pulsante: 'raised' | 'stroked' | 'flat' | 'icon' */
15
+ type?: 'raised' | 'stroked' | 'flat' | 'icon';
16
+ /** Valore da restituire quando il pulsante viene cliccato */
17
+ returnValue?: any;
18
+ /** CSS class personalizzata per il pulsante */
19
+ cssClass?: string;
20
+ /** Se true, il pulsante viene allineato a sinistra (es. pulsante Elimina) */
21
+ alignLeft?: boolean;
22
+ /** Se true, il pulsante è disabilitato */
23
+ disabled?: boolean;
24
+ /** Larghezza minima del pulsante in pixel (se 0 o non specificato, non viene applicata) */
25
+ minWidth?: number;
26
+ }
27
+ /**
28
+ * Evento emesso prima della chiusura della dialog
29
+ */
30
+ export interface DialogBeforeCloseEvent {
31
+ /** Valore di ritorno dal pulsante cliccato */
32
+ returnValue: any;
33
+ /** Funzione per impedire la chiusura della dialog */
34
+ preventDefault: () => void;
35
+ }
36
+ /**
37
+ * Componente base riutilizzabile per le dialog
38
+ *
39
+ * Esempio di utilizzo:
40
+ * ```typescript
41
+ * const dialogRef = this.dialog.open(MyDialogComponent, {
42
+ * width: '900px',
43
+ * maxWidth: '95vw',
44
+ * maxHeight: '85vh',
45
+ * data: { ... }
46
+ * });
47
+ * ```
48
+ *
49
+ * Nel template del componente:
50
+ * ```html
51
+ * <fh-dialog-base
52
+ * [title]="'Titolo Dialog'"
53
+ * [buttons]="buttons"
54
+ * [canValidate]="canSave"
55
+ * (beforeClose)="onBeforeClose($event)"
56
+ * (buttonClick)="onButtonClick($event)">
57
+ *
58
+ * <!-- Contenuto proiettato -->
59
+ * <div dialog-content>
60
+ * <p>Contenuto della dialog</p>
61
+ * </div>
62
+ * </fh-dialog-base>
63
+ * ```
64
+ */
65
+ export declare class DialogBaseComponent {
66
+ dialogRef: MatDialogRef<DialogBaseComponent>;
67
+ /**
68
+ * Titolo della dialog
69
+ */
70
+ title: string;
71
+ /**
72
+ * Configurazione dei pulsanti
73
+ */
74
+ buttons: DialogButton[];
75
+ /**
76
+ * Mostra il pulsante X di chiusura nell'header
77
+ */
78
+ showCloseButton: boolean;
79
+ /**
80
+ * Funzione di validazione personalizzata
81
+ * Restituisce true se la validazione è OK, false altrimenti
82
+ * Usato per disabilitare i pulsanti che hanno requireValidation = true
83
+ */
84
+ canValidate: (() => boolean) | boolean;
85
+ /**
86
+ * Evento emesso quando viene cliccato un pulsante
87
+ * Payload: returnValue del pulsante
88
+ */
89
+ buttonClick: EventEmitter<any>;
90
+ /**
91
+ * Evento emesso prima della chiusura della dialog
92
+ * Permette di validare e impedire la chiusura chiamando preventDefault()
93
+ */
94
+ beforeClose: EventEmitter<DialogBeforeCloseEvent>;
95
+ constructor(dialogRef: MatDialogRef<DialogBaseComponent>);
96
+ /**
97
+ * Gestisce il click sul pulsante X di chiusura
98
+ */
99
+ onCloseClick(): void;
100
+ /**
101
+ * Gestisce il click su un pulsante della dialog
102
+ */
103
+ onButtonClick(button: DialogButton): void;
104
+ /**
105
+ * Chiude la dialog dopo aver validato
106
+ */
107
+ private closeDialog;
108
+ /**
109
+ * Verifica se la validazione è OK
110
+ */
111
+ isValid(): boolean;
112
+ /**
113
+ * Ottiene i pulsanti allineati a sinistra
114
+ */
115
+ getLeftButtons(): DialogButton[];
116
+ /**
117
+ * Ottiene i pulsanti allineati a destra
118
+ */
119
+ getRightButtons(): DialogButton[];
120
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogBaseComponent, never>;
121
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogBaseComponent, "fh-dialog-base", never, { "title": { "alias": "title"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canValidate": { "alias": "canValidate"; "required": false; }; }, { "buttonClick": "buttonClick"; "beforeClose": "beforeClose"; }, never, ["[dialog-content]"], true, never>;
122
+ }
@@ -4,6 +4,7 @@ import { MatDialog, MatDialogRef } from '@angular/material/dialog';
4
4
  import { AppService } from '../services/app.service';
5
5
  import { UtilityService } from '../services/utility.service';
6
6
  import { FHGridComponent } from './fh-grid';
7
+ import { DialogButton, DialogBeforeCloseEvent } from './dialog-base/dialog-base.component';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class FHWinAppLogsComponent implements AfterViewInit {
9
10
  dialogRef: MatDialogRef<FHWinAppLogsComponent>;
@@ -16,12 +17,14 @@ export declare class FHWinAppLogsComponent implements AfterViewInit {
16
17
  title: string;
17
18
  data: any;
18
19
  b_commento: boolean;
19
- close(): void;
20
+ buttons: DialogButton[];
21
+ columnDefs: any[];
22
+ commento_label: string;
20
23
  ngAfterViewInit(): void;
21
24
  cce(event: any): void;
22
- commento_label: string;
23
25
  constructor(dialogRef: MatDialogRef<FHWinAppLogsComponent>, m_dialogRef: MatDialog, m_appService: AppService, m_translateService: TranslateService, uti: UtilityService, datax: any);
24
- columnDefs: any[];
26
+ private updateButtons;
27
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
25
28
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAppLogsComponent, never>;
26
29
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinAppLogsComponent, "ng-component", never, {}, {}, never, never, true, never>;
27
30
  }
@@ -1,5 +1,6 @@
1
1
  import { AfterViewInit } from "@angular/core";
2
2
  import { MatDialogRef } from "@angular/material/dialog";
3
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class FHWinAskButtonsComponent implements AfterViewInit {
5
6
  dialogRef: MatDialogRef<FHWinAskButtonsComponent>;
@@ -8,7 +9,10 @@ export declare class FHWinAskButtonsComponent implements AfterViewInit {
8
9
  title: string;
9
10
  button_config: Array<any>;
10
11
  show_close: boolean;
12
+ buttons: DialogButton[];
11
13
  constructor(dialogRef: MatDialogRef<FHWinAskButtonsComponent>, data: any);
14
+ private updateButtons;
15
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
12
16
  open(o: any): void;
13
17
  close(): void;
14
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAskButtonsComponent, never>;
@@ -1,36 +1,12 @@
1
1
  import { AfterViewInit } from "@angular/core";
2
2
  import { MatDialogRef } from "@angular/material/dialog";
3
3
  import { ToastrService } from "ngx-toastr";
4
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FHWinAskRichTextComponent implements AfterViewInit {
6
7
  private dialogRef;
7
8
  private toastr;
8
9
  data: any;
9
- config: {
10
- modules: {
11
- toolbar: ({
12
- size: (string | boolean)[];
13
- }[] | {
14
- header: (number | boolean)[];
15
- }[] | ({
16
- color: never[];
17
- background?: undefined;
18
- } | {
19
- background: never[];
20
- color?: undefined;
21
- })[] | {
22
- font: never[];
23
- }[] | {
24
- align: never[];
25
- }[] | (string | {
26
- list: string;
27
- indent?: undefined;
28
- } | {
29
- indent: string;
30
- list?: undefined;
31
- })[])[];
32
- };
33
- };
34
10
  ngAfterViewInit(): void;
35
11
  title: string;
36
12
  label: string;
@@ -39,12 +15,14 @@ export declare class FHWinAskRichTextComponent implements AfterViewInit {
39
15
  show_annulla: boolean;
40
16
  show_ok: boolean;
41
17
  min_chars: number;
42
- close(): void;
43
- constructor(dialogRef: MatDialogRef<FHWinAskRichTextComponent>, toastr: ToastrService, data: any);
18
+ buttons: DialogButton[];
19
+ constructor(dialogRef: MatDialogRef<FHWinAskRichTextComponent>, toastr: ToastrService | null, data: any);
20
+ private updateButtons;
21
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
44
22
  show(): void;
45
23
  hide(): void;
46
- do_check(): void;
24
+ close(): void;
47
25
  chiudi(): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAskRichTextComponent, never>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAskRichTextComponent, [null, { optional: true; }, null]>;
49
27
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinAskRichTextComponent, "app-win_ask_richtext", never, {}, {}, never, never, true, never>;
50
28
  }
@@ -1,6 +1,7 @@
1
1
  import { AfterViewInit } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { ToastrService } from 'ngx-toastr';
4
+ import { DialogButton, DialogBeforeCloseEvent } from './dialog-base/dialog-base.component';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FHWinAskTextComponent implements AfterViewInit {
6
7
  private dialogRef;
@@ -14,12 +15,17 @@ export declare class FHWinAskTextComponent implements AfterViewInit {
14
15
  min_chars: number;
15
16
  max_chars: number;
16
17
  readonly: boolean;
17
- close(): void;
18
- constructor(dialogRef: MatDialogRef<FHWinAskTextComponent>, toastr: ToastrService, data: any);
18
+ show_annulla: boolean;
19
+ show_ok: boolean;
20
+ buttons: DialogButton[];
21
+ constructor(dialogRef: MatDialogRef<FHWinAskTextComponent>, toastr: ToastrService | null, data: any);
22
+ private updateButtons;
23
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
24
+ triggerOk(): void;
19
25
  show(): void;
20
26
  hide(): void;
21
- do_check(): void;
27
+ close(): void;
22
28
  chiudi(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAskTextComponent, never>;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAskTextComponent, [null, { optional: true; }, null]>;
24
30
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinAskTextComponent, "app-win_ask_text", never, {}, {}, never, never, true, never>;
25
31
  }
@@ -1,6 +1,7 @@
1
1
  import { AfterViewInit } from "@angular/core";
2
2
  import { MatDialogRef } from "@angular/material/dialog";
3
3
  import { ToastrService } from "ngx-toastr";
4
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FHWinAskBigTextComponent implements AfterViewInit {
6
7
  private dialogRef;
@@ -15,12 +16,13 @@ export declare class FHWinAskBigTextComponent implements AfterViewInit {
15
16
  show_ok: boolean;
16
17
  min_chars: number;
17
18
  error_msg: string | null;
18
- close(): void;
19
- constructor(dialogRef: MatDialogRef<FHWinAskBigTextComponent>, toastr: ToastrService, data: any);
19
+ buttons: DialogButton[];
20
+ constructor(dialogRef: MatDialogRef<FHWinAskBigTextComponent>, toastr: ToastrService | null, data: any);
21
+ private updateButtons;
22
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
20
23
  show(): void;
21
24
  hide(): void;
22
- do_check(): void;
23
25
  chiudi(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAskBigTextComponent, never>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAskBigTextComponent, [null, { optional: true; }, null]>;
25
27
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinAskBigTextComponent, "app-win_ask_text", never, {}, {}, never, never, true, never>;
26
28
  }
@@ -1,6 +1,7 @@
1
1
  import { AfterViewInit } from "@angular/core";
2
2
  import { MatDialogRef } from "@angular/material/dialog";
3
3
  import { ToastrService } from "ngx-toastr";
4
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FHWinAskNumberComponent implements AfterViewInit {
6
7
  private dialogRef;
@@ -13,12 +14,14 @@ export declare class FHWinAskNumberComponent implements AfterViewInit {
13
14
  value_min: number;
14
15
  value_max: number;
15
16
  decimal_n: number;
16
- constructor(dialogRef: MatDialogRef<FHWinAskNumberComponent>, toastr: ToastrService, data: any);
17
+ buttons: DialogButton[];
18
+ constructor(dialogRef: MatDialogRef<FHWinAskNumberComponent>, toastr: ToastrService | null, data: any);
19
+ private updateButtons;
20
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
17
21
  show(): void;
18
22
  close(): void;
19
23
  hide(): void;
20
- do_check(): void;
21
24
  chiudi(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAskNumberComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<FHWinAskNumberComponent, "app-win_ask_text", never, {}, {}, never, never, true, never>;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAskNumberComponent, [null, { optional: true; }, null]>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<FHWinAskNumberComponent, "app-win_ask_number", never, {}, {}, never, never, true, never>;
24
27
  }
@@ -2,6 +2,7 @@ import { AfterViewInit } from "@angular/core";
2
2
  import { MatDialogRef } from "@angular/material/dialog";
3
3
  import { ToastrService } from "ngx-toastr";
4
4
  import { FHComboboxComponent } from "./fh-combobox";
5
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class FHWinAutoComplete implements AfterViewInit {
7
8
  dialogRef: MatDialogRef<FHWinAutoComplete>;
@@ -12,12 +13,14 @@ export declare class FHWinAutoComplete implements AfterViewInit {
12
13
  width: string;
13
14
  nota: boolean;
14
15
  nota_val: string;
16
+ buttons: DialogButton[];
15
17
  cmb_sel?: FHComboboxComponent;
16
- constructor(dialogRef: MatDialogRef<FHWinAutoComplete>, toastr: ToastrService, data: any);
18
+ constructor(dialogRef: MatDialogRef<FHWinAutoComplete>, toastr: ToastrService | null, data: any);
19
+ private updateButtons;
20
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
17
21
  close(): void;
18
22
  set_selection(lab: string, myD: Array<any>, nota?: boolean): void;
19
- ok(): void;
20
23
  ngAfterViewInit(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAutoComplete, never>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<FHWinAutoComplete, [null, { optional: true; }, null]>;
22
25
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinAutoComplete, "FHWinAutoComplete", never, {}, {}, never, never, true, never>;
23
26
  }
@@ -2,6 +2,7 @@ import { AfterViewInit } from "@angular/core";
2
2
  import { MatDialogRef } from "@angular/material/dialog";
3
3
  import { ToastrService } from "ngx-toastr";
4
4
  import { FHComboboxComponent } from "./fh-combobox";
5
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class FHWinComboComponent implements AfterViewInit {
7
8
  dialogRef: MatDialogRef<FHWinComboComponent>;
@@ -11,12 +12,14 @@ export declare class FHWinComboComponent implements AfterViewInit {
11
12
  width: string;
12
13
  nota: boolean;
13
14
  nota_val: string;
15
+ buttons: DialogButton[];
14
16
  cmb_sel?: FHComboboxComponent;
15
- constructor(dialogRef: MatDialogRef<FHWinComboComponent>, toastr: ToastrService, data: any);
17
+ constructor(dialogRef: MatDialogRef<FHWinComboComponent>, toastr: ToastrService | null, data: any);
18
+ private updateButtons;
19
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
16
20
  close(): void;
17
21
  set_selection(lab: string, myD: Array<any>, nota?: boolean): void;
18
- ok(): void;
19
22
  ngAfterViewInit(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<FHWinComboComponent, never>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<FHWinComboComponent, [null, { optional: true; }, null]>;
21
24
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinComboComponent, "FHWinComboComponent", never, {}, {}, never, never, true, never>;
22
25
  }
@@ -1,8 +1,9 @@
1
- import { AfterViewInit, ElementRef } from '@angular/core';
1
+ import { AfterViewInit } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { ToastrService } from 'ngx-toastr';
4
4
  import { FHConfirmValues } from '../models/FHConfirmValues';
5
5
  import { AppService } from '../services/app.service';
6
+ import { DialogButton, DialogBeforeCloseEvent } from './dialog-base/dialog-base.component';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class FHWinConfirmComponent implements AfterViewInit {
8
9
  dialogRef: MatDialogRef<FHWinConfirmComponent>;
@@ -18,13 +19,14 @@ export declare class FHWinConfirmComponent implements AfterViewInit {
18
19
  annulla_mgs: string;
19
20
  commento_mgs: string;
20
21
  insert_comment_msg: string;
21
- ok(): void;
22
- constructor(dialogRef: MatDialogRef<FHWinConfirmComponent>, app_s: AppService, conf: FHConfirmValues, toast: ToastrService);
22
+ buttons: DialogButton[];
23
+ constructor(dialogRef: MatDialogRef<FHWinConfirmComponent>, app_s: AppService, conf: FHConfirmValues, toast: ToastrService | null);
24
+ private updateButtons;
25
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
23
26
  close(): void;
24
27
  setTitle(texto: string): void;
25
28
  setMsg(texto: string): void;
26
- btn_annulla?: ElementRef | null;
27
29
  ngAfterViewInit(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<FHWinConfirmComponent, never>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<FHWinConfirmComponent, [null, null, null, { optional: true; }]>;
29
31
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinConfirmComponent, "ng-component", never, {}, {}, never, never, true, never>;
30
32
  }
@@ -1,16 +1,15 @@
1
- import { ElementRef } from "@angular/core";
2
1
  import { MatDialogRef } from "@angular/material/dialog";
2
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class FHWinErrorComponent {
5
5
  dialogRef: MatDialogRef<FHWinErrorComponent>;
6
6
  data: any;
7
- b_edit: boolean;
8
7
  msg_dialog: string;
9
8
  title: string;
10
- close(): void;
11
- ta: ElementRef | undefined;
9
+ buttons: DialogButton[];
12
10
  constructor(dialogRef: MatDialogRef<FHWinErrorComponent>, data: any);
13
- ngAfterViewInit(): void;
11
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
12
+ close(): void;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWinErrorComponent, never>;
15
14
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinErrorComponent, "fh-win-error", never, {}, {}, never, never, true, never>;
16
15
  }
@@ -2,6 +2,7 @@ import { AfterViewInit } from "@angular/core";
2
2
  import { MatDialogRef } from "@angular/material/dialog";
3
3
  import { AppService } from "../services/app.service";
4
4
  import { FHGridComponent } from "./fh-grid";
5
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class FHWinGridSelection implements AfterViewInit {
7
8
  dialogRef: MatDialogRef<FHWinGridSelection>;
@@ -18,6 +19,7 @@ export declare class FHWinGridSelection implements AfterViewInit {
18
19
  groupColumnSize: number;
19
20
  rowData: any[];
20
21
  singleRowSel: any[];
22
+ buttons: DialogButton[];
21
23
  dtm: FHGridComponent | undefined;
22
24
  cellClick($event: any): void;
23
25
  dblClick($event: any): void;
@@ -29,6 +31,8 @@ export declare class FHWinGridSelection implements AfterViewInit {
29
31
  autoSizeAll(): void;
30
32
  fitSizeAll(): void;
31
33
  constructor(dialogRef: MatDialogRef<FHWinGridSelection>, m_AppService: AppService, data: any);
34
+ private updateButtons;
35
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
32
36
  ie(): void;
33
37
  ok(): void;
34
38
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWinGridSelection, never>;
@@ -1,16 +1,15 @@
1
- import { ElementRef } from "@angular/core";
2
1
  import { MatDialogRef } from "@angular/material/dialog";
2
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class FHWinInfoComponent {
5
5
  dialogRef: MatDialogRef<FHWinInfoComponent>;
6
6
  data: any;
7
- b_edit: boolean;
8
7
  msg_dialog: string;
9
8
  title: string;
10
- close(): void;
11
- ta: ElementRef | undefined;
9
+ buttons: DialogButton[];
12
10
  constructor(dialogRef: MatDialogRef<FHWinInfoComponent>, data: any);
13
- ngAfterViewInit(): void;
11
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
12
+ close(): void;
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWinInfoComponent, never>;
15
14
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinInfoComponent, "fh-win-info", never, {}, {}, never, never, true, never>;
16
15
  }
@@ -3,6 +3,7 @@ import { MatDialogRef } from "@angular/material/dialog";
3
3
  import { ToastrService } from "ngx-toastr";
4
4
  import { FHListComponent } from "./fh-list";
5
5
  import { AppService } from "../services/app.service";
6
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class FHWinListComponent implements AfterViewInit {
8
9
  appService: AppService;
@@ -20,13 +21,15 @@ export declare class FHWinListComponent implements AfterViewInit {
20
21
  sel_values: string;
21
22
  required: boolean;
22
23
  options: null;
24
+ buttons: DialogButton[];
23
25
  cmb_sel: FHListComponent | null;
24
- constructor(appService: AppService, dialogRef: MatDialogRef<FHWinListComponent>, toastr: ToastrService, data: any);
26
+ constructor(appService: AppService, dialogRef: MatDialogRef<FHWinListComponent>, toastr: ToastrService | null, data: any);
27
+ private updateButtons;
28
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
25
29
  close(): void;
26
30
  doFill(): void;
27
- ok(): void;
28
31
  ok_single(): void;
29
32
  ngAfterViewInit(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<FHWinListComponent, never>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<FHWinListComponent, [null, null, { optional: true; }, null]>;
31
34
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinListComponent, "FHWinListComponent", never, {}, {}, never, never, true, never>;
32
35
  }
@@ -3,6 +3,7 @@ import { MapInfoWindow, MapMarker } from '@angular/google-maps';
3
3
  import { MatDialogRef } from "@angular/material/dialog";
4
4
  import { ToastrService } from "ngx-toastr";
5
5
  import { AppService } from "../services/app.service";
6
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class FHWinMappaComponent implements AfterViewInit {
8
9
  dialogRef: MatDialogRef<FHWinMappaComponent>;
@@ -11,7 +12,6 @@ export declare class FHWinMappaComponent implements AfterViewInit {
11
12
  data: any;
12
13
  title: string;
13
14
  sql_dett: string;
14
- close(): void;
15
15
  open_only_one: boolean;
16
16
  descri: string;
17
17
  zoom: number;
@@ -21,9 +21,13 @@ export declare class FHWinMappaComponent implements AfterViewInit {
21
21
  infoWindowOpened: null;
22
22
  markers: any[];
23
23
  height: number;
24
+ buttons: DialogButton[];
24
25
  apri_Scheda(s_id: string): void;
25
26
  clickedMarker(label: any, marker: MapMarker, ind: MapInfoWindow): void;
26
27
  constructor(dialogRef: MatDialogRef<FHWinMappaComponent>, toastr: ToastrService, m_appService: AppService, data: any);
28
+ private updateButtons;
29
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
30
+ close(): void;
27
31
  ngAfterViewInit(): void;
28
32
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWinMappaComponent, never>;
29
33
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinMappaComponent, "ng-component", never, {}, {}, never, never, true, never>;
@@ -4,6 +4,7 @@ import { AppService } from '../services/app.service';
4
4
  import { Clipboard } from '@angular/cdk/clipboard';
5
5
  import { ToastrService } from 'ngx-toastr';
6
6
  import { TranslateService } from '@ngx-translate/core';
7
+ import { DialogButton, DialogBeforeCloseEvent } from './dialog-base/dialog-base.component';
7
8
  import * as i0 from "@angular/core";
8
9
  export declare class FHWinOutputComponent implements AfterViewInit {
9
10
  private dialogRef;
@@ -13,13 +14,16 @@ export declare class FHWinOutputComponent implements AfterViewInit {
13
14
  private _tsr;
14
15
  data: any;
15
16
  ngAfterViewInit(): void;
16
- close(): void;
17
- copia(): void;
18
17
  title: string;
19
18
  label: string;
20
19
  value: string;
21
20
  showCopy: boolean;
21
+ buttons: DialogButton[];
22
22
  constructor(dialogRef: MatDialogRef<FHWinOutputComponent>, appService: AppService, clipboard: Clipboard, toastr: ToastrService, _tsr: TranslateService, data: any);
23
+ private updateButtons;
24
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
25
+ copia(): void;
26
+ close(): void;
23
27
  show(): void;
24
28
  hide(): void;
25
29
  chiudi(): void;
@@ -6,6 +6,7 @@ import { AppService } from '../services/app.service';
6
6
  import { QueryService } from '../services/doquery.service';
7
7
  import { FHGridComponent } from './fh-grid';
8
8
  import { TranslateService } from '@ngx-translate/core';
9
+ import { DialogButton, DialogBeforeCloseEvent } from './dialog-base/dialog-base.component';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class FHWinSelectByGridComponent implements AfterViewInit {
11
12
  dialogRef: MatDialogRef<FHWinSelectByGridComponent>;
@@ -16,6 +17,7 @@ export declare class FHWinSelectByGridComponent implements AfterViewInit {
16
17
  private _trs;
17
18
  rowData: any;
18
19
  gridApi: any;
20
+ buttons: DialogButton[];
19
21
  onReady(event: any): void;
20
22
  selection_mode: any;
21
23
  cmd_wkf_prog(o: any): void;
@@ -42,6 +44,8 @@ export declare class FHWinSelectByGridComponent implements AfterViewInit {
42
44
  grid_config_key: string;
43
45
  tbl_flt: string;
44
46
  constructor(dialogRef: MatDialogRef<FHWinSelectByGridComponent>, _dataService: QueryService, toastr: ToastrService, apps: AppService, data: any, _trs: TranslateService);
47
+ private updateButtons;
48
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
45
49
  option: number;
46
50
  init: boolean;
47
51
  fe(): void;
@@ -1,6 +1,7 @@
1
1
  import { MatDialogRef } from '@angular/material/dialog';
2
2
  import { AppService } from '../services/app.service';
3
3
  import { FileService } from '../services/dofile.service';
4
+ import { DialogButton, DialogBeforeCloseEvent } from './dialog-base/dialog-base.component';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FHWinShowEmailS3 {
6
7
  dialogRef: MatDialogRef<FHWinShowEmailS3>;
@@ -8,16 +9,19 @@ export declare class FHWinShowEmailS3 {
8
9
  m_appService: AppService;
9
10
  data: any;
10
11
  allegati: never[];
11
- init_w(): void;
12
12
  App: string;
13
13
  K: string;
14
- open_all(u: any): void;
15
14
  email_obj: any;
16
15
  title: string;
17
16
  web_url: string;
18
17
  local_dir: string;
19
18
  ant_preview: string;
19
+ buttons: DialogButton[];
20
20
  constructor(dialogRef: MatDialogRef<FHWinShowEmailS3>, _fileservice: FileService, m_appService: AppService, data: any);
21
+ private updateButtons;
22
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
23
+ init_w(): void;
24
+ open_all(u: any): void;
21
25
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWinShowEmailS3, never>;
22
26
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinShowEmailS3, "ng-component", never, {}, {}, never, never, true, never>;
23
27
  }
@@ -1,6 +1,7 @@
1
1
  import { MatDialogRef } from '@angular/material/dialog';
2
2
  import { AppService } from '../services/app.service';
3
3
  import { FileService } from '../services/dofile.service';
4
+ import { DialogButton, DialogBeforeCloseEvent } from './dialog-base/dialog-base.component';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class FHWinShowEmail {
6
7
  dialogRef: MatDialogRef<FHWinShowEmail>;
@@ -8,15 +9,18 @@ export declare class FHWinShowEmail {
8
9
  m_appService: AppService;
9
10
  data: any;
10
11
  allegati: never[];
11
- init_w(): void;
12
12
  App: string;
13
13
  K: string;
14
14
  Filename: string;
15
- open_eml(): void;
16
- open_all(u: any): void;
17
15
  email_obj: any;
18
16
  title: string;
17
+ buttons: DialogButton[];
19
18
  constructor(dialogRef: MatDialogRef<FHWinShowEmail>, _fileservice: FileService, m_appService: AppService, data: any);
19
+ private updateButtons;
20
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
21
+ init_w(): void;
22
+ open_eml(): void;
23
+ open_all(u: any): void;
20
24
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWinShowEmail, never>;
21
25
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinShowEmail, "ng-component", never, {}, {}, never, never, true, never>;
22
26
  }
@@ -1,11 +1,15 @@
1
1
  import { AfterViewInit } from "@angular/core";
2
2
  import { MatDialogRef } from "@angular/material/dialog";
3
+ import { DialogButton, DialogBeforeCloseEvent } from "./dialog-base/dialog-base.component";
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class FHWinShowImage implements AfterViewInit {
5
6
  dialogRef: MatDialogRef<FHWinShowImage>;
6
7
  imageIndex: number;
7
8
  images: never[];
9
+ buttons: DialogButton[];
8
10
  constructor(dialogRef: MatDialogRef<FHWinShowImage>);
11
+ private updateButtons;
12
+ onBeforeClose(event: DialogBeforeCloseEvent): void;
9
13
  ngAfterViewInit(): void;
10
14
  static ɵfac: i0.ɵɵFactoryDeclaration<FHWinShowImage, never>;
11
15
  static ɵcmp: i0.ɵɵComponentDeclaration<FHWinShowImage, "ng-component", never, {}, {}, never, never, true, never>;