@fluxhub/fluxhub-lib 19.0.239 → 19.0.240
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.
|
@@ -38892,6 +38892,334 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
38892
38892
|
type: Output
|
|
38893
38893
|
}] } });
|
|
38894
38894
|
|
|
38895
|
+
/**
|
|
38896
|
+
* Anteprima di una mail archiviata (Mail Archiver).
|
|
38897
|
+
*
|
|
38898
|
+
* L'archivio conserva l'`.eml` originale, che non si mostra a video: la resa la
|
|
38899
|
+
* produce l'utility `mail_reader` lanciata con `exec_app`, che restituisce l'HTML
|
|
38900
|
+
* sullo stdout. Nessun file finisce nella docroot — le mail archiviate sarebbero
|
|
38901
|
+
* altrimenti scaricabili senza autenticazione.
|
|
38902
|
+
*/
|
|
38903
|
+
class FHMailPreviewComponent {
|
|
38904
|
+
dialogRef;
|
|
38905
|
+
fileService;
|
|
38906
|
+
sanitizer;
|
|
38907
|
+
appService;
|
|
38908
|
+
data;
|
|
38909
|
+
titolo = 'Anteprima mail';
|
|
38910
|
+
html = null;
|
|
38911
|
+
errore = '';
|
|
38912
|
+
caricamento = true;
|
|
38913
|
+
scaricando = false;
|
|
38914
|
+
allegati = [];
|
|
38915
|
+
buttons = [];
|
|
38916
|
+
aggiornaPulsanti() {
|
|
38917
|
+
this.buttons = [
|
|
38918
|
+
{
|
|
38919
|
+
text: this.scaricando ? 'SCARICAMENTO...' : 'SCARICA .EML',
|
|
38920
|
+
type: 'stroked',
|
|
38921
|
+
color: 'primary',
|
|
38922
|
+
returnValue: 'download',
|
|
38923
|
+
icon: 'download',
|
|
38924
|
+
minWidth: 150,
|
|
38925
|
+
// senza file archiviato, o mentre sta gia scaricando, non c'e niente da premere
|
|
38926
|
+
disabled: this.scaricando || !this.data?.archived_file_path,
|
|
38927
|
+
},
|
|
38928
|
+
{ text: 'CHIUDI', type: 'flat', color: 'primary', returnValue: 'close', minWidth: 110 },
|
|
38929
|
+
];
|
|
38930
|
+
}
|
|
38931
|
+
constructor(dialogRef, fileService, sanitizer, appService, data) {
|
|
38932
|
+
this.dialogRef = dialogRef;
|
|
38933
|
+
this.fileService = fileService;
|
|
38934
|
+
this.sanitizer = sanitizer;
|
|
38935
|
+
this.appService = appService;
|
|
38936
|
+
this.data = data;
|
|
38937
|
+
if (data?.subject)
|
|
38938
|
+
this.titolo = data.subject;
|
|
38939
|
+
this.aggiornaPulsanti();
|
|
38940
|
+
}
|
|
38941
|
+
ngOnInit() {
|
|
38942
|
+
const percorso = this.data?.archived_file_path;
|
|
38943
|
+
if (!percorso) {
|
|
38944
|
+
this.errore = 'Il messaggio non ha un file archiviato associato.';
|
|
38945
|
+
this.caricamento = false;
|
|
38946
|
+
return;
|
|
38947
|
+
}
|
|
38948
|
+
// Lo snapshot JSON delle vecchie archiviazioni non e una mail: mail_reader
|
|
38949
|
+
// fallirebbe, ed e piu onesto dirlo che mostrare un errore di parsing.
|
|
38950
|
+
if (!percorso.toLowerCase().endsWith('.eml')) {
|
|
38951
|
+
this.errore =
|
|
38952
|
+
'Questa mail e stata archiviata prima che venisse conservato il messaggio ' +
|
|
38953
|
+
'originale: in archivio c\'e solo lo snapshot dei dati, non l\'.eml.';
|
|
38954
|
+
this.caricamento = false;
|
|
38955
|
+
return;
|
|
38956
|
+
}
|
|
38957
|
+
this.caricaAllegati(percorso);
|
|
38958
|
+
const p = new FSInput();
|
|
38959
|
+
p.command = 'exec_app';
|
|
38960
|
+
p.p1 = 'mail_reader';
|
|
38961
|
+
// --senza-allegati: l'elenco lo disegna il portale, cliccabile. Dentro
|
|
38962
|
+
// l'iframe sarebbe un doppione e per giunta inerte.
|
|
38963
|
+
// gli argomenti si separano con '|': exec_app li spezza e li passa quotati
|
|
38964
|
+
p.p2 = percorso + '|--html|--senza-allegati|--base64';
|
|
38965
|
+
this.fileService.doQuery(p).subscribe({
|
|
38966
|
+
next: (r) => {
|
|
38967
|
+
this.caricamento = false;
|
|
38968
|
+
const risposta = String(r?.msg ?? '').trim();
|
|
38969
|
+
if (r?.result_msg !== 'OK') {
|
|
38970
|
+
this.errore = risposta || 'Chiamata a mail_reader non riuscita.';
|
|
38971
|
+
return;
|
|
38972
|
+
}
|
|
38973
|
+
// L'exec_app di questo portale non cattura lo stderr e non guarda l'exit
|
|
38974
|
+
// code: restituisce sempre OK. Un fallimento arriva quindi come risposta
|
|
38975
|
+
// vuota, oppure marcato [KO] sullo stdout da mail_reader.
|
|
38976
|
+
if (!risposta) {
|
|
38977
|
+
this.errore =
|
|
38978
|
+
'mail_reader non ha restituito nulla. Di solito significa che non e ' +
|
|
38979
|
+
'installato in utility_apps\\mail_reader oppure che manca il runtime ' +
|
|
38980
|
+
'.NET 8 sul server: exec_app non riporta questi errori.';
|
|
38981
|
+
return;
|
|
38982
|
+
}
|
|
38983
|
+
if (risposta.startsWith('[KO]')) {
|
|
38984
|
+
this.errore = risposta.substring(4).trim();
|
|
38985
|
+
return;
|
|
38986
|
+
}
|
|
38987
|
+
try {
|
|
38988
|
+
const testo = this.daBase64(risposta);
|
|
38989
|
+
// bypassSecurityTrust: il contenuto e gia sanificato da mail_reader E
|
|
38990
|
+
// finisce in un iframe sandbox, che e il controllo che conta davvero.
|
|
38991
|
+
this.html = this.sanitizer.bypassSecurityTrustHtml(testo);
|
|
38992
|
+
}
|
|
38993
|
+
catch {
|
|
38994
|
+
this.errore = 'Risposta di mail_reader non decodificabile.';
|
|
38995
|
+
}
|
|
38996
|
+
},
|
|
38997
|
+
error: (e) => {
|
|
38998
|
+
this.caricamento = false;
|
|
38999
|
+
this.errore = e?.message || 'Chiamata a mail_reader non riuscita.';
|
|
39000
|
+
},
|
|
39001
|
+
});
|
|
39002
|
+
}
|
|
39003
|
+
/**
|
|
39004
|
+
* Elenco degli allegati per la barra cliccabile. Chiamata separata e leggera:
|
|
39005
|
+
* restituisce solo nomi e pesi, non i byte, che si leggono al momento del
|
|
39006
|
+
* download — un allegato da 20 MB non va tirato giu per disegnare un pulsante.
|
|
39007
|
+
*/
|
|
39008
|
+
caricaAllegati(percorso) {
|
|
39009
|
+
const p = new FSInput();
|
|
39010
|
+
p.command = 'exec_app';
|
|
39011
|
+
p.p1 = 'mail_reader';
|
|
39012
|
+
p.p2 = percorso + '|--allegati-json';
|
|
39013
|
+
this.fileService.doQuery(p).subscribe({
|
|
39014
|
+
next: (r) => {
|
|
39015
|
+
const risposta = String(r?.msg ?? '').trim();
|
|
39016
|
+
if (r?.result_msg !== 'OK' || !risposta || risposta.startsWith('[KO]'))
|
|
39017
|
+
return;
|
|
39018
|
+
try {
|
|
39019
|
+
this.allegati = (JSON.parse(risposta) || []).map((a) => ({ ...a, inCorso: false }));
|
|
39020
|
+
}
|
|
39021
|
+
catch {
|
|
39022
|
+
// la barra allegati non e essenziale: se non si legge, si tira dritto
|
|
39023
|
+
}
|
|
39024
|
+
},
|
|
39025
|
+
error: () => { },
|
|
39026
|
+
});
|
|
39027
|
+
}
|
|
39028
|
+
scaricaAllegato(a) {
|
|
39029
|
+
if (a.inCorso)
|
|
39030
|
+
return;
|
|
39031
|
+
a.inCorso = true;
|
|
39032
|
+
const p = new FSInput();
|
|
39033
|
+
p.command = 'exec_app';
|
|
39034
|
+
p.p1 = 'mail_reader';
|
|
39035
|
+
p.p2 = this.data.archived_file_path + '|--allegato|' + a.Indice;
|
|
39036
|
+
this.fileService.doQuery(p).subscribe({
|
|
39037
|
+
next: (r) => {
|
|
39038
|
+
a.inCorso = false;
|
|
39039
|
+
const risposta = String(r?.msg ?? '').trim();
|
|
39040
|
+
if (r?.result_msg !== 'OK' || !risposta || risposta.startsWith('[KO]')) {
|
|
39041
|
+
this.errore = risposta.startsWith('[KO]')
|
|
39042
|
+
? risposta.substring(4).trim()
|
|
39043
|
+
: risposta || 'Allegato non recuperato.';
|
|
39044
|
+
return;
|
|
39045
|
+
}
|
|
39046
|
+
try {
|
|
39047
|
+
const byte = Uint8Array.from(atob(risposta), (c) => c.charCodeAt(0));
|
|
39048
|
+
this.salvaFile(byte, a.NomeFile || 'allegato', a.TipoMime || 'application/octet-stream');
|
|
39049
|
+
}
|
|
39050
|
+
catch {
|
|
39051
|
+
this.errore = 'Allegato non decodificabile.';
|
|
39052
|
+
}
|
|
39053
|
+
},
|
|
39054
|
+
error: (e) => {
|
|
39055
|
+
a.inCorso = false;
|
|
39056
|
+
this.errore = e?.message || 'Scaricamento allegato non riuscito.';
|
|
39057
|
+
},
|
|
39058
|
+
});
|
|
39059
|
+
}
|
|
39060
|
+
peso(byteCount) {
|
|
39061
|
+
if (byteCount >= 1048576)
|
|
39062
|
+
return (byteCount / 1048576).toFixed(1) + ' MB';
|
|
39063
|
+
if (byteCount >= 1024)
|
|
39064
|
+
return Math.round(byteCount / 1024) + ' KB';
|
|
39065
|
+
return byteCount + ' B';
|
|
39066
|
+
}
|
|
39067
|
+
/** atob non regge gli accenti: si passa dai byte, non dai caratteri. */
|
|
39068
|
+
daBase64(b64) {
|
|
39069
|
+
const binario = atob(b64);
|
|
39070
|
+
const byte = Uint8Array.from(binario, (c) => c.charCodeAt(0));
|
|
39071
|
+
return new TextDecoder('utf-8').decode(byte);
|
|
39072
|
+
}
|
|
39073
|
+
onBeforeClose(event) {
|
|
39074
|
+
event.preventDefault();
|
|
39075
|
+
if (event.returnValue === 'download') {
|
|
39076
|
+
this.scarica();
|
|
39077
|
+
return; // il dialog resta aperto: il download non e' un'uscita
|
|
39078
|
+
}
|
|
39079
|
+
this.dialogRef.close(null);
|
|
39080
|
+
}
|
|
39081
|
+
/**
|
|
39082
|
+
* Scarica l'.eml originale. Passa da mail_reader --originale invece che da un
|
|
39083
|
+
* link diretto: il file sta fuori dalla docroot apposta, e servirlo via URL lo
|
|
39084
|
+
* renderebbe scaricabile senza autenticazione.
|
|
39085
|
+
*/
|
|
39086
|
+
scarica() {
|
|
39087
|
+
if (this.scaricando)
|
|
39088
|
+
return;
|
|
39089
|
+
this.scaricando = true;
|
|
39090
|
+
this.aggiornaPulsanti();
|
|
39091
|
+
const p = new FSInput();
|
|
39092
|
+
p.command = 'exec_app';
|
|
39093
|
+
p.p1 = 'mail_reader';
|
|
39094
|
+
p.p2 = this.data.archived_file_path + '|--originale';
|
|
39095
|
+
this.fileService.doQuery(p).subscribe({
|
|
39096
|
+
next: (r) => {
|
|
39097
|
+
this.scaricando = false;
|
|
39098
|
+
this.aggiornaPulsanti();
|
|
39099
|
+
const risposta = String(r?.msg ?? '').trim();
|
|
39100
|
+
if (r?.result_msg !== 'OK' || !risposta || risposta.startsWith('[KO]')) {
|
|
39101
|
+
this.errore = risposta.startsWith('[KO]')
|
|
39102
|
+
? risposta.substring(4).trim()
|
|
39103
|
+
: risposta || 'mail_reader non ha restituito il file.';
|
|
39104
|
+
return;
|
|
39105
|
+
}
|
|
39106
|
+
try {
|
|
39107
|
+
const byte = Uint8Array.from(atob(risposta), (c) => c.charCodeAt(0));
|
|
39108
|
+
this.salvaFile(byte, this.data.archived_file_name || 'messaggio.eml');
|
|
39109
|
+
}
|
|
39110
|
+
catch {
|
|
39111
|
+
this.errore = 'Il file restituito non e decodificabile.';
|
|
39112
|
+
}
|
|
39113
|
+
},
|
|
39114
|
+
error: (e) => {
|
|
39115
|
+
this.scaricando = false;
|
|
39116
|
+
this.aggiornaPulsanti();
|
|
39117
|
+
this.errore = e?.message || 'Scaricamento non riuscito.';
|
|
39118
|
+
},
|
|
39119
|
+
});
|
|
39120
|
+
}
|
|
39121
|
+
salvaFile(byte, nome, mime = 'message/rfc822') {
|
|
39122
|
+
const url = URL.createObjectURL(new Blob([byte], { type: mime }));
|
|
39123
|
+
const a = document.createElement('a');
|
|
39124
|
+
a.href = url;
|
|
39125
|
+
a.download = nome;
|
|
39126
|
+
document.body.appendChild(a);
|
|
39127
|
+
a.click();
|
|
39128
|
+
document.body.removeChild(a);
|
|
39129
|
+
// senza revoke il Blob resta in memoria per tutta la sessione
|
|
39130
|
+
setTimeout(() => URL.revokeObjectURL(url), 1000);
|
|
39131
|
+
}
|
|
39132
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHMailPreviewComponent, deps: [{ token: i1$2.MatDialogRef }, { token: FileService }, { token: i1.DomSanitizer }, { token: AppService }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
39133
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: FHMailPreviewComponent, isStandalone: true, selector: "FHMailPreview", ngImport: i0, template: `
|
|
39134
|
+
<fh-dialog-base [title]="titolo" [buttons]="buttons" (beforeClose)="onBeforeClose($event)">
|
|
39135
|
+
<div dialog-content>
|
|
39136
|
+
<div class="stato" *ngIf="caricamento">Lettura della mail archiviata...</div>
|
|
39137
|
+
|
|
39138
|
+
<div class="errore" *ngIf="errore">
|
|
39139
|
+
<strong>Anteprima non disponibile</strong>
|
|
39140
|
+
<div>{{ errore }}</div>
|
|
39141
|
+
</div>
|
|
39142
|
+
|
|
39143
|
+
<!-- Fuori dall'iframe apposta: dentro e sandbox="", quindi un click li
|
|
39144
|
+
non potrebbe richiamare nulla del portale. -->
|
|
39145
|
+
<div class="allegati" *ngIf="allegati.length">
|
|
39146
|
+
<span class="et">Allegati</span>
|
|
39147
|
+
<button
|
|
39148
|
+
*ngFor="let a of allegati"
|
|
39149
|
+
type="button"
|
|
39150
|
+
class="chip"
|
|
39151
|
+
[disabled]="a.inCorso"
|
|
39152
|
+
(click)="scaricaAllegato(a)"
|
|
39153
|
+
[title]="a.NomeFile">
|
|
39154
|
+
<i class="material-symbols-outlined">{{ a.inCorso ? 'hourglass_top' : 'download' }}</i>
|
|
39155
|
+
<span class="nome">{{ a.NomeFile }}</span>
|
|
39156
|
+
<span class="peso">{{ peso(a.Dimensione) }}</span>
|
|
39157
|
+
</button>
|
|
39158
|
+
</div>
|
|
39159
|
+
|
|
39160
|
+
<!-- sandbox SENZA allow-scripts e SENZA allow-same-origin: il markup delle
|
|
39161
|
+
mail e ostile per natura, mail_reader lo ripulisce ma la garanzia vera
|
|
39162
|
+
e l'isolamento del browser. Mai [innerHTML] qui. -->
|
|
39163
|
+
<iframe
|
|
39164
|
+
*ngIf="html && !errore"
|
|
39165
|
+
class="mail"
|
|
39166
|
+
sandbox=""
|
|
39167
|
+
referrerpolicy="no-referrer"
|
|
39168
|
+
[srcdoc]="html"
|
|
39169
|
+
title="Contenuto della mail archiviata">
|
|
39170
|
+
</iframe>
|
|
39171
|
+
</div>
|
|
39172
|
+
</fh-dialog-base>
|
|
39173
|
+
`, isInline: true, styles: [":host ::ng-deep .mat-mdc-dialog-content,:host ::ng-deep mat-dialog-content{flex:1 1 auto!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:0!important}:host ::ng-deep .mat-mdc-dialog-content>div{flex:1 1 auto!important;min-height:0!important}:host{display:block;height:100%}[dialog-content]{display:flex;flex-direction:column;height:100%;min-height:0}.mail{flex:1 1 auto;width:100%;min-height:0;border:1px solid #dfe5e1;border-radius:6px;background:#fff}.stato{padding:24px;text-align:center;color:#6b7a72;font-size:13px}.allegati{flex:0 0 auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #e2e8e4}.allegati .et{font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#6b7a72}.chip{display:inline-flex;align-items:center;gap:6px;max-width:340px;padding:5px 11px;border:1px solid #c9d4cd;border-radius:999px;background:#fff;color:#16211c;font:inherit;font-size:12.5px;cursor:pointer;transition:background .12s ease,border-color .12s ease}.chip:hover:not(:disabled){background:#eef7ea;border-color:#63b345}.chip:disabled{opacity:.6;cursor:default}.chip i{font-size:16px;color:#3f7029;flex:0 0 auto}.chip .nome{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip .peso{flex:0 0 auto;color:#6b7a72;font-size:11px}.errore{margin:10px 0;padding:10px 12px;border:1px solid #e6b3b0;border-left:3px solid #b3261e;border-radius:6px;background:#fdf1f0;color:#7a1c17;font-size:13px}.errore strong{display:block;margin-bottom:3px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "component", type: DialogBaseComponent, selector: "fh-dialog-base", inputs: ["title", "buttons", "showCloseButton", "canValidate", "buttonsAlignment"], outputs: ["buttonClick", "beforeClose"] }] });
|
|
39174
|
+
}
|
|
39175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: FHMailPreviewComponent, decorators: [{
|
|
39176
|
+
type: Component,
|
|
39177
|
+
args: [{ selector: 'FHMailPreview', standalone: true, imports: [CommonModule, MatDialogModule, DialogBaseComponent], template: `
|
|
39178
|
+
<fh-dialog-base [title]="titolo" [buttons]="buttons" (beforeClose)="onBeforeClose($event)">
|
|
39179
|
+
<div dialog-content>
|
|
39180
|
+
<div class="stato" *ngIf="caricamento">Lettura della mail archiviata...</div>
|
|
39181
|
+
|
|
39182
|
+
<div class="errore" *ngIf="errore">
|
|
39183
|
+
<strong>Anteprima non disponibile</strong>
|
|
39184
|
+
<div>{{ errore }}</div>
|
|
39185
|
+
</div>
|
|
39186
|
+
|
|
39187
|
+
<!-- Fuori dall'iframe apposta: dentro e sandbox="", quindi un click li
|
|
39188
|
+
non potrebbe richiamare nulla del portale. -->
|
|
39189
|
+
<div class="allegati" *ngIf="allegati.length">
|
|
39190
|
+
<span class="et">Allegati</span>
|
|
39191
|
+
<button
|
|
39192
|
+
*ngFor="let a of allegati"
|
|
39193
|
+
type="button"
|
|
39194
|
+
class="chip"
|
|
39195
|
+
[disabled]="a.inCorso"
|
|
39196
|
+
(click)="scaricaAllegato(a)"
|
|
39197
|
+
[title]="a.NomeFile">
|
|
39198
|
+
<i class="material-symbols-outlined">{{ a.inCorso ? 'hourglass_top' : 'download' }}</i>
|
|
39199
|
+
<span class="nome">{{ a.NomeFile }}</span>
|
|
39200
|
+
<span class="peso">{{ peso(a.Dimensione) }}</span>
|
|
39201
|
+
</button>
|
|
39202
|
+
</div>
|
|
39203
|
+
|
|
39204
|
+
<!-- sandbox SENZA allow-scripts e SENZA allow-same-origin: il markup delle
|
|
39205
|
+
mail e ostile per natura, mail_reader lo ripulisce ma la garanzia vera
|
|
39206
|
+
e l'isolamento del browser. Mai [innerHTML] qui. -->
|
|
39207
|
+
<iframe
|
|
39208
|
+
*ngIf="html && !errore"
|
|
39209
|
+
class="mail"
|
|
39210
|
+
sandbox=""
|
|
39211
|
+
referrerpolicy="no-referrer"
|
|
39212
|
+
[srcdoc]="html"
|
|
39213
|
+
title="Contenuto della mail archiviata">
|
|
39214
|
+
</iframe>
|
|
39215
|
+
</div>
|
|
39216
|
+
</fh-dialog-base>
|
|
39217
|
+
`, styles: [":host ::ng-deep .mat-mdc-dialog-content,:host ::ng-deep mat-dialog-content{flex:1 1 auto!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;padding:0!important}:host ::ng-deep .mat-mdc-dialog-content>div{flex:1 1 auto!important;min-height:0!important}:host{display:block;height:100%}[dialog-content]{display:flex;flex-direction:column;height:100%;min-height:0}.mail{flex:1 1 auto;width:100%;min-height:0;border:1px solid #dfe5e1;border-radius:6px;background:#fff}.stato{padding:24px;text-align:center;color:#6b7a72;font-size:13px}.allegati{flex:0 0 auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #e2e8e4}.allegati .et{font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#6b7a72}.chip{display:inline-flex;align-items:center;gap:6px;max-width:340px;padding:5px 11px;border:1px solid #c9d4cd;border-radius:999px;background:#fff;color:#16211c;font:inherit;font-size:12.5px;cursor:pointer;transition:background .12s ease,border-color .12s ease}.chip:hover:not(:disabled){background:#eef7ea;border-color:#63b345}.chip:disabled{opacity:.6;cursor:default}.chip i{font-size:16px;color:#3f7029;flex:0 0 auto}.chip .nome{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chip .peso{flex:0 0 auto;color:#6b7a72;font-size:11px}.errore{margin:10px 0;padding:10px 12px;border:1px solid #e6b3b0;border-left:3px solid #b3261e;border-radius:6px;background:#fdf1f0;color:#7a1c17;font-size:13px}.errore strong{display:block;margin-bottom:3px}\n"] }]
|
|
39218
|
+
}], ctorParameters: () => [{ type: i1$2.MatDialogRef }, { type: FileService }, { type: i1.DomSanitizer }, { type: AppService }, { type: undefined, decorators: [{
|
|
39219
|
+
type: Inject,
|
|
39220
|
+
args: [MAT_DIALOG_DATA]
|
|
39221
|
+
}] }] });
|
|
39222
|
+
|
|
38895
39223
|
/**
|
|
38896
39224
|
* Client del layer AI di FluxHub.
|
|
38897
39225
|
*
|
|
@@ -39725,5 +40053,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
|
|
|
39725
40053
|
* Generated bundle index. Do not edit.
|
|
39726
40054
|
*/
|
|
39727
40055
|
|
|
39728
|
-
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, BpmnEditorComponent, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, DialogBaseComponent, FHAiAssistantComponent, FHAiChatComponent, FHAiService, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHHomeDocsComponent, FHHomeLauncherComponent, FHHomeStatsComponent, FHHomeTodoComponent, FHIconPickerComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMailArchivedComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHToolBarCustomAction, FHToolbarCommandType, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowTasksPanel, FHWorkflowView, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent, createButtonCommand, createCheckboxCommand, createSpacerCommand, createTableManagerCommand, fh_win_translate };
|
|
40056
|
+
export { AppMakerService, AppService, ApprovaGridComponent, AuthHttpRequestInterceptor, AuthenticationService, BpmnEditorComponent, CheckboxEditorComponent, ComboBoxEditorComponent, CurrencyComponent, DialogBaseComponent, FHAiAssistantComponent, FHAiChatComponent, FHAiService, FHAutoCompleteComponent, FHCheckBoxComponent, FHColorPickerComponent, FHComboboxComponent, FHConfirmValues, FHCurrencyFormatterDirective, FHCurrencyPipe, FHDatePickerComponent, FHDateRangePickerComponent, FHFieldPickListComponent, FHFilterComboboxComponent, FHFormBuilderComponent, FHFormExecuterComponent, FHFormToolBarComponent, FHGridComponent, FHGridJSONComponent, FHGridToolBarComponent, FHGuard, FHHelpButtonComponent, FHHomeDocsComponent, FHHomeLauncherComponent, FHHomeStatsComponent, FHHomeTodoComponent, FHIconPickerComponent, FHImageViewerComponent, FHListComponent, FHLogPanelComponent, FHMailArchivedComponent, FHMailPreviewComponent, FHMultiComboboxComponent, FHNotesPanelComponent, FHNumericFieldComponent, FHPickFieldComponent, FHPickUsersComponent, FHRichTextComponent, FHRoleManagerComponent, FHTableManagerComponent, FHTextAreaComponent, FHTextInputComponent, FHTimePickerComponent, FHToolBarCustomAction, FHToolbarCommandType, FHUploadComponent, FHUploadPanelComponent, FHUploadPanelS3Component, FHUploadS3Component, FHUserFieldComponent, FHWinAppLogsComponent, FHWinAskBigTextComponent, FHWinAskButtonsComponent, FHWinAskNumberComponent, FHWinAskRichTextComponent, FHWinAskTextComponent, FHWinAutoComplete, FHWinComboComponent, FHWinConfirmComponent, FHWinErrorComponent, FHWinGridSelection, FHWinInfoComponent, FHWinListComponent, FHWinMappaComponent, FHWinOutputComponent, FHWinPicklistComponent, FHWinSalvaAnnulla, FHWinSelectByGridComponent, FHWinShowEmail, FHWinShowEmailS3, FHWinShowImage, FHWinShowLog, FHWinShowLogDett, FHWinTimeSlider, FHWinUploadComponent, FHWinUserInfo, FHWinUserPickerComponent, FHWinWaitComponent, FHWorkflowForm, FHWorkflowHeaderBar, FHWorkflowTasksPanel, FHWorkflowView, FSInput, FSResult, FileService, GridService, LocalDBService, MonthYearPickerComponent, NumericEditorComponent, OdbcService, OfficeAutomatorService, OfficeOperation, OfficeResult, QGParam, QGResult, QParam, QResult, QueryOpenService, QueryService, RegistrationService, ReplaceLineBreaks, SafePipe, TextAreaEditorComponent, UtilityService, WkfService, YearPickerComponent, createButtonCommand, createCheckboxCommand, createSpacerCommand, createTableManagerCommand, fh_win_translate };
|
|
39729
40057
|
//# sourceMappingURL=fluxhub-fluxhub-lib.mjs.map
|