@fluxhub/fluxhub-lib 22.0.2 → 22.0.4
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.
|
@@ -2036,6 +2036,7 @@ class FHWinSearchListComponent {
|
|
|
2036
2036
|
listMinHeight = null;
|
|
2037
2037
|
searchInput;
|
|
2038
2038
|
list;
|
|
2039
|
+
head;
|
|
2039
2040
|
/** un solo pulsante: la scelta chiude la dialog, come nel pannello di una combo */
|
|
2040
2041
|
buttons = [
|
|
2041
2042
|
{ text: 'ANNULLA', type: 'stroked', returnValue: undefined },
|
|
@@ -2056,14 +2057,17 @@ class FHWinSearchListComponent {
|
|
|
2056
2057
|
this.active = i >= 0 ? i : -1;
|
|
2057
2058
|
}
|
|
2058
2059
|
ngAfterViewInit() {
|
|
2060
|
+
// chi scrolla e' il wrapper di DialogBase (genitore di [dialog-content])
|
|
2061
|
+
const sc = this.list?.nativeElement.parentElement?.parentElement;
|
|
2062
|
+
if (sc)
|
|
2063
|
+
this.stickHead(sc);
|
|
2059
2064
|
setTimeout(() => {
|
|
2060
2065
|
this.searchInput?.nativeElement.focus();
|
|
2061
2066
|
const el = this.list?.nativeElement;
|
|
2062
2067
|
if (!el)
|
|
2063
2068
|
return;
|
|
2064
|
-
//
|
|
2065
|
-
//
|
|
2066
|
-
const sc = el.parentElement?.parentElement;
|
|
2069
|
+
// si blocca solo la parte visibile della lista, non tutta (altrimenti filtrando
|
|
2070
|
+
// resterebbe una scrollbar su spazio vuoto)
|
|
2067
2071
|
// (misure di layout, non getBoundingClientRect: la dialog sta ancora animando la scala)
|
|
2068
2072
|
if (sc) {
|
|
2069
2073
|
const overflow = Math.max(0, sc.scrollHeight - sc.clientHeight);
|
|
@@ -2072,6 +2076,22 @@ class FHWinSearchListComponent {
|
|
|
2072
2076
|
this.scrollToActive('center');
|
|
2073
2077
|
});
|
|
2074
2078
|
}
|
|
2079
|
+
/**
|
|
2080
|
+
* Incolla la ricerca al bordo del wrapper che scrolla, annullandone il padding.
|
|
2081
|
+
* Il padding si legge a runtime perche' cambia da portale a portale; inline con
|
|
2082
|
+
* !important perche' i portali forzano con !important il margin-top del primo figlio.
|
|
2083
|
+
*/
|
|
2084
|
+
stickHead(sc) {
|
|
2085
|
+
const head = this.head?.nativeElement;
|
|
2086
|
+
if (!head)
|
|
2087
|
+
return;
|
|
2088
|
+
const cs = getComputedStyle(sc);
|
|
2089
|
+
const pt = parseFloat(cs.paddingTop) || 0;
|
|
2090
|
+
const pl = parseFloat(cs.paddingLeft) || 0;
|
|
2091
|
+
const pr = parseFloat(cs.paddingRight) || 0;
|
|
2092
|
+
head.style.setProperty('margin', `${-pt}px ${-pr}px 0 ${-pl}px`, 'important');
|
|
2093
|
+
head.style.setProperty('top', `${-pt}px`, 'important');
|
|
2094
|
+
}
|
|
2075
2095
|
isSelected(r) {
|
|
2076
2096
|
const s = this.data.selected;
|
|
2077
2097
|
if (r.empty)
|
|
@@ -2159,15 +2179,15 @@ class FHWinSearchListComponent {
|
|
|
2159
2179
|
this.ref.close(valore);
|
|
2160
2180
|
}
|
|
2161
2181
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FHWinSearchListComponent, deps: [{ token: i1$2.MatDialogRef }, { token: MAT_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
2162
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FHWinSearchListComponent, isStandalone: true, selector: "FHWinSearchList", viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true }], ngImport: i0, template: `
|
|
2182
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FHWinSearchListComponent, isStandalone: true, selector: "FHWinSearchList", viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true }, { propertyName: "head", first: true, predicate: ["head"], descendants: true }], ngImport: i0, template: `
|
|
2163
2183
|
<fh-dialog-base
|
|
2164
2184
|
[title]="data.title || ''"
|
|
2165
2185
|
[buttons]="buttons"
|
|
2166
2186
|
[showCloseButton]="true"
|
|
2167
2187
|
>
|
|
2168
|
-
<div dialog-content>
|
|
2188
|
+
<div dialog-content class="fh-sl-root">
|
|
2169
2189
|
<!-- sticky: chi scrolla e' il wrapper di DialogBase, la ricerca deve restare in cima -->
|
|
2170
|
-
<div class="fh-sl-head">
|
|
2190
|
+
<div class="fh-sl-head" #head>
|
|
2171
2191
|
<div class="fh-sl-search">
|
|
2172
2192
|
<mat-icon>search</mat-icon>
|
|
2173
2193
|
<input
|
|
@@ -2213,6 +2233,9 @@ class FHWinSearchListComponent {
|
|
|
2213
2233
|
(click)="choose(r.valore)"
|
|
2214
2234
|
>
|
|
2215
2235
|
<span class="fh-sl-text">
|
|
2236
|
+
@if (r.empty && !r.parts[0].t) {
|
|
2237
|
+
{{ '(nessuna selezione)' | translate }}
|
|
2238
|
+
}
|
|
2216
2239
|
@for (p of r.parts; track $index) {
|
|
2217
2240
|
@if (p.m) {
|
|
2218
2241
|
<mark>{{ p.t }}</mark>
|
|
@@ -2235,7 +2258,7 @@ class FHWinSearchListComponent {
|
|
|
2235
2258
|
</div>
|
|
2236
2259
|
</div>
|
|
2237
2260
|
</fh-dialog-base>
|
|
2238
|
-
`, isInline: true, styles: [":host{--fh-sl-accent: var(--mat-sys-primary, #3f51b5)}.fh-sl-head{position:sticky;top
|
|
2261
|
+
`, isInline: true, styles: [":host{--fh-sl-accent: var(--mat-sys-primary, #3f51b5)}.fh-sl-root{max-height:none!important;overflow:visible!important}.fh-sl-head{position:sticky;top:0;z-index:1;margin:0 -10px;padding:8px 10px;background:var(--mat-sys-surface, #fff);box-shadow:0 6px 6px -6px #0000002e}.fh-sl-search{display:flex;align-items:center;gap:8px;height:40px;border:1px solid rgba(0,0,0,.25);border-radius:8px;padding:0 6px 0 10px;transition:border-color .15s,box-shadow .15s}.fh-sl-search:focus-within{border-color:var(--fh-sl-accent);box-shadow:0 0 0 1px var(--fh-sl-accent)}.fh-sl-search input{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:14px;background:transparent;color:inherit}.fh-sl-search mat-icon{color:#00000080;font-size:20px;width:20px;height:20px}.fh-sl-search:focus-within>mat-icon{color:var(--fh-sl-accent)}.fh-sl-clear{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:50%;background:transparent;cursor:pointer;padding:0}.fh-sl-clear:hover{background:#0000000f}.fh-sl-count{flex-shrink:0;font-size:12px;color:#00000080;white-space:nowrap}.fh-sl-count:last-child{padding-right:6px}.fh-sl-list{display:flex;flex-direction:column;padding-top:4px;box-sizing:border-box}.fh-sl-item{display:flex;align-items:center;gap:8px;text-align:left;border:0;border-radius:6px;background:transparent;color:inherit;padding:9px 10px;font:inherit;font-size:13px;line-height:1.4;cursor:pointer;scroll-margin-top:90px;scroll-margin-bottom:8px}.fh-sl-item+.fh-sl-item{margin-top:1px}.fh-sl-text{flex:1;min-width:0}.fh-sl-item.active{background:#0000000d}.fh-sl-item.sel{background:color-mix(in srgb,var(--fh-sl-accent) 12%,transparent);font-weight:600}.fh-sl-item.sel.active{background:color-mix(in srgb,var(--fh-sl-accent) 18%,transparent)}.fh-sl-check{flex-shrink:0;color:var(--fh-sl-accent);font-size:20px;width:20px;height:20px}.fh-sl-item--empty{font-style:italic;color:#0009}.fh-sl-item mark{background:color-mix(in srgb,#ffc107 45%,transparent);color:inherit;border-radius:2px}.fh-sl-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 6px;color:#0000008c;font-size:13px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: TranslateModule }, { kind: "component", type: DialogBaseComponent, selector: "fh-dialog-base", inputs: ["title", "buttons", "showCloseButton", "canValidate", "buttonsAlignment"], outputs: ["buttonClick", "beforeClose"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
2239
2262
|
}
|
|
2240
2263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FHWinSearchListComponent, decorators: [{
|
|
2241
2264
|
type: Component,
|
|
@@ -2252,9 +2275,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
2252
2275
|
[buttons]="buttons"
|
|
2253
2276
|
[showCloseButton]="true"
|
|
2254
2277
|
>
|
|
2255
|
-
<div dialog-content>
|
|
2278
|
+
<div dialog-content class="fh-sl-root">
|
|
2256
2279
|
<!-- sticky: chi scrolla e' il wrapper di DialogBase, la ricerca deve restare in cima -->
|
|
2257
|
-
<div class="fh-sl-head">
|
|
2280
|
+
<div class="fh-sl-head" #head>
|
|
2258
2281
|
<div class="fh-sl-search">
|
|
2259
2282
|
<mat-icon>search</mat-icon>
|
|
2260
2283
|
<input
|
|
@@ -2300,6 +2323,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
2300
2323
|
(click)="choose(r.valore)"
|
|
2301
2324
|
>
|
|
2302
2325
|
<span class="fh-sl-text">
|
|
2326
|
+
@if (r.empty && !r.parts[0].t) {
|
|
2327
|
+
{{ '(nessuna selezione)' | translate }}
|
|
2328
|
+
}
|
|
2303
2329
|
@for (p of r.parts; track $index) {
|
|
2304
2330
|
@if (p.m) {
|
|
2305
2331
|
<mark>{{ p.t }}</mark>
|
|
@@ -2322,7 +2348,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
2322
2348
|
</div>
|
|
2323
2349
|
</div>
|
|
2324
2350
|
</fh-dialog-base>
|
|
2325
|
-
`, changeDetection: ChangeDetectionStrategy.Eager, styles: [":host{--fh-sl-accent: var(--mat-sys-primary, #3f51b5)}.fh-sl-head{position:sticky;top
|
|
2351
|
+
`, changeDetection: ChangeDetectionStrategy.Eager, styles: [":host{--fh-sl-accent: var(--mat-sys-primary, #3f51b5)}.fh-sl-root{max-height:none!important;overflow:visible!important}.fh-sl-head{position:sticky;top:0;z-index:1;margin:0 -10px;padding:8px 10px;background:var(--mat-sys-surface, #fff);box-shadow:0 6px 6px -6px #0000002e}.fh-sl-search{display:flex;align-items:center;gap:8px;height:40px;border:1px solid rgba(0,0,0,.25);border-radius:8px;padding:0 6px 0 10px;transition:border-color .15s,box-shadow .15s}.fh-sl-search:focus-within{border-color:var(--fh-sl-accent);box-shadow:0 0 0 1px var(--fh-sl-accent)}.fh-sl-search input{flex:1;min-width:0;border:0;outline:0;font:inherit;font-size:14px;background:transparent;color:inherit}.fh-sl-search mat-icon{color:#00000080;font-size:20px;width:20px;height:20px}.fh-sl-search:focus-within>mat-icon{color:var(--fh-sl-accent)}.fh-sl-clear{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;border-radius:50%;background:transparent;cursor:pointer;padding:0}.fh-sl-clear:hover{background:#0000000f}.fh-sl-count{flex-shrink:0;font-size:12px;color:#00000080;white-space:nowrap}.fh-sl-count:last-child{padding-right:6px}.fh-sl-list{display:flex;flex-direction:column;padding-top:4px;box-sizing:border-box}.fh-sl-item{display:flex;align-items:center;gap:8px;text-align:left;border:0;border-radius:6px;background:transparent;color:inherit;padding:9px 10px;font:inherit;font-size:13px;line-height:1.4;cursor:pointer;scroll-margin-top:90px;scroll-margin-bottom:8px}.fh-sl-item+.fh-sl-item{margin-top:1px}.fh-sl-text{flex:1;min-width:0}.fh-sl-item.active{background:#0000000d}.fh-sl-item.sel{background:color-mix(in srgb,var(--fh-sl-accent) 12%,transparent);font-weight:600}.fh-sl-item.sel.active{background:color-mix(in srgb,var(--fh-sl-accent) 18%,transparent)}.fh-sl-check{flex-shrink:0;color:var(--fh-sl-accent);font-size:20px;width:20px;height:20px}.fh-sl-item--empty{font-style:italic;color:#0009}.fh-sl-item mark{background:color-mix(in srgb,#ffc107 45%,transparent);color:inherit;border-radius:2px}.fh-sl-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:28px 6px;color:#0000008c;font-size:13px}\n"] }]
|
|
2326
2352
|
}], ctorParameters: () => [{ type: i1$2.MatDialogRef }, { type: undefined, decorators: [{
|
|
2327
2353
|
type: Inject,
|
|
2328
2354
|
args: [MAT_DIALOG_DATA]
|
|
@@ -2332,6 +2358,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
2332
2358
|
}], list: [{
|
|
2333
2359
|
type: ViewChild,
|
|
2334
2360
|
args: ['list']
|
|
2361
|
+
}], head: [{
|
|
2362
|
+
type: ViewChild,
|
|
2363
|
+
args: ['head']
|
|
2335
2364
|
}] } });
|
|
2336
2365
|
|
|
2337
2366
|
class OdbcService {
|
|
@@ -41353,6 +41382,7 @@ const KNOWN_EXT = '3G2|3GA|3GP|7Z|AA|AAC|AC|ACCDB|ACCDT|ADN|AI|AIF|AIFC|AIFF|AIT
|
|
|
41353
41382
|
* Colonne attese dalla query (vista `v_fh_mail_archiver`):
|
|
41354
41383
|
* id, received_at, subject, sender_name, sender_email, client_name,
|
|
41355
41384
|
* contatti, pratiche, rilevanza, has_attachments, archived_at, archived_by
|
|
41385
|
+
* e, con `mostraNota`, anche `note` (la nota scritta archiviando la mail).
|
|
41356
41386
|
*/
|
|
41357
41387
|
class FHMailArchivedComponent {
|
|
41358
41388
|
_dataService;
|
|
@@ -41403,6 +41433,13 @@ class FHMailArchivedComponent {
|
|
|
41403
41433
|
colContatti = 'Referenti';
|
|
41404
41434
|
colPratiche = 'Pratiche';
|
|
41405
41435
|
colRilevanza = 'Ril.';
|
|
41436
|
+
/**
|
|
41437
|
+
* Mostra la nota di archiviazione al posto della colonna Cliente. Pensato per gli
|
|
41438
|
+
* elenchi gia' circoscritti a un cliente (scheda account, pratica), dove il cliente
|
|
41439
|
+
* e' lo stesso su ogni riga. La query deve restituire anche `note`.
|
|
41440
|
+
*/
|
|
41441
|
+
mostraNota = false;
|
|
41442
|
+
colNota = 'Nota';
|
|
41406
41443
|
/**
|
|
41407
41444
|
* Riga aperta. L'anteprima della mail la gestisce il portale: passa dalla utility
|
|
41408
41445
|
* mail_reader via exec_app, che e idraulica del singolo server e non ha senso
|
|
@@ -41467,7 +41504,7 @@ class FHMailArchivedComponent {
|
|
|
41467
41504
|
return '★'.repeat(v) + '☆'.repeat(5 - v);
|
|
41468
41505
|
}
|
|
41469
41506
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FHMailArchivedComponent, deps: [{ token: QueryService }], target: i0.ɵɵFactoryTarget.Component });
|
|
41470
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FHMailArchivedComponent, isStandalone: true, selector: "FHMailArchived", inputs: { accent: "accent", accentDark: "accentDark", sql: "sql", valoreBase: "valoreBase", valore: "valore", filtri: "filtri", limite: "limite", autoLoad: "autoLoad", title: "title", icon: "icon", tuttiLabel: "tuttiLabel", cercaLabel: "cercaLabel", cercaPlaceholder: "cercaPlaceholder", apriTooltip: "apriTooltip", senzaOggetto: "senzaOggetto", emptyTitle: "emptyTitle", emptySub: "emptySub", troncatoLabel: "troncatoLabel", dateFormat: "dateFormat", colData: "colData", colOggetto: "colOggetto", colCliente: "colCliente", colContatti: "colContatti", colPratiche: "colPratiche", colRilevanza: "colRilevanza" }, outputs: { apriMail: "apriMail" }, host: { properties: { "style.--fh-ma-accent": "this._a", "style.--fh-ma-accent-dark": "this._ad" } }, ngImport: i0, template: `
|
|
41507
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FHMailArchivedComponent, isStandalone: true, selector: "FHMailArchived", inputs: { accent: "accent", accentDark: "accentDark", sql: "sql", valoreBase: "valoreBase", valore: "valore", filtri: "filtri", limite: "limite", autoLoad: "autoLoad", title: "title", icon: "icon", tuttiLabel: "tuttiLabel", cercaLabel: "cercaLabel", cercaPlaceholder: "cercaPlaceholder", apriTooltip: "apriTooltip", senzaOggetto: "senzaOggetto", emptyTitle: "emptyTitle", emptySub: "emptySub", troncatoLabel: "troncatoLabel", dateFormat: "dateFormat", colData: "colData", colOggetto: "colOggetto", colCliente: "colCliente", colContatti: "colContatti", colPratiche: "colPratiche", colRilevanza: "colRilevanza", mostraNota: "mostraNota", colNota: "colNota" }, outputs: { apriMail: "apriMail" }, host: { properties: { "style.--fh-ma-accent": "this._a", "style.--fh-ma-accent-dark": "this._ad" } }, ngImport: i0, template: `
|
|
41471
41508
|
<div class="ma-panel">
|
|
41472
41509
|
<div class="ma-head">
|
|
41473
41510
|
<div class="ma-title">
|
|
@@ -41514,7 +41551,11 @@ class FHMailArchivedComponent {
|
|
|
41514
41551
|
<tr>
|
|
41515
41552
|
<th class="c-data">{{ colData }}</th>
|
|
41516
41553
|
<th>{{ colOggetto }}</th>
|
|
41517
|
-
|
|
41554
|
+
@if (mostraNota) {
|
|
41555
|
+
<th class="c-nota">{{ colNota }}</th>
|
|
41556
|
+
} @else {
|
|
41557
|
+
<th>{{ colCliente }}</th>
|
|
41558
|
+
}
|
|
41518
41559
|
<th>{{ colContatti }}</th>
|
|
41519
41560
|
<th class="c-prat">{{ colPratiche }}</th>
|
|
41520
41561
|
<th class="c-ril">{{ colRilevanza }}</th>
|
|
@@ -41537,7 +41578,11 @@ class FHMailArchivedComponent {
|
|
|
41537
41578
|
</span>
|
|
41538
41579
|
<span class="ma-mit mono">{{ r.sender_email }}</span>
|
|
41539
41580
|
</td>
|
|
41540
|
-
|
|
41581
|
+
@if (mostraNota) {
|
|
41582
|
+
<td class="c-nota">{{ r.note || '-' }}</td>
|
|
41583
|
+
} @else {
|
|
41584
|
+
<td>{{ r.client_name || '-' }}</td>
|
|
41585
|
+
}
|
|
41541
41586
|
<td class="ma-piccolo">{{ r.contatti || '-' }}</td>
|
|
41542
41587
|
<td class="c-prat mono">{{ r.pratiche || '-' }}</td>
|
|
41543
41588
|
<td
|
|
@@ -41576,7 +41621,7 @@ class FHMailArchivedComponent {
|
|
|
41576
41621
|
@if (errorMsg) {
|
|
41577
41622
|
<p class="ma-err">{{ errorMsg }}</p>
|
|
41578
41623
|
}
|
|
41579
|
-
`, isInline: true, styles: [":host{display:block}.ma-panel{background:#fff;border:1px solid rgba(22,18,18,.1);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;height:100%;box-sizing:border-box}.ma-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid rgba(22,18,18,.06);margin-bottom:8px}.ma-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#161212;display:flex;align-items:center;gap:8px}.ma-title i{font-size:18px;color:var(--fh-ma-accent, #63b345)}.ma-count{font-family:ui-monospace,Consolas,monospace;font-size:11px;font-weight:700;letter-spacing:0;color:var(--fh-ma-accent-dark, #3f7029)}.ma-filtri{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ma-sel,.ma-val{font-family:Inter,sans-serif;font-size:12.5px;padding:5px 8px;border:1px solid #c9d4cd;border-radius:5px;background:#fff;color:#161212}.ma-val{min-width:190px}.ma-btn{font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:5px 12px;border:1px solid var(--fh-ma-accent, #63b345);border-radius:5px;background:var(--fh-ma-accent, #63b345);color:#fff;cursor:pointer}.ma-btn:hover{background:var(--fh-ma-accent-dark, #3f7029);border-color:var(--fh-ma-accent-dark, #3f7029)}.ma-sel:focus-visible,.ma-val:focus-visible,.ma-btn:focus-visible,.ma-tab tbody tr:focus-visible{outline:2px solid var(--fh-ma-accent, #63b345);outline-offset:1px}.ma-body{flex:1 1 auto;min-height:0;overflow:auto}.ma-tab{width:100%;border-collapse:collapse;font-family:Inter,sans-serif;font-size:13px}.ma-tab th{position:sticky;top:0;z-index:1;background:#f1f5f3;text-align:left;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#6b7a72;padding:6px 8px;border-bottom:1px solid #dfe5e1;white-space:nowrap}.ma-tab td{padding:7px 8px;border-bottom:1px solid #eef2ef;vertical-align:top;color:#443d3d;overflow-wrap:anywhere}.ma-tab tbody tr{cursor:pointer;transition:background .12s ease}.ma-tab tbody tr:hover{background:var(--fh-ma-accent-soft, rgba(99, 179, 69, .08))}.mono{font-family:ui-monospace,Consolas,monospace;font-size:11.5px}.c-data{width:92px;white-space:nowrap;color:#6b7a72}.c-prat{width:130px}.c-ril{width:62px;white-space:nowrap}.ma-ogg{display:block;font-weight:600;color:#161212}.ma-clip{font-size:14px;vertical-align:-2px;color:#8c8585}.ma-mit{display:block;margin-top:1px;color:#8c8585}.ma-piccolo{font-size:11.5px;color:#6b7a72}.ma-stelle{color:#161212;letter-spacing:1px}.ma-tetto{margin:8px 0 0;padding:6px 10px;border-radius:5px;background:#fdf8e8;border:1px solid #e6cf8a;color:#6b5200;font-size:11.5px}.ma-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:34px 0;text-align:center}.ma-empty-i{font-size:30px;color:var(--fh-ma-accent-faint, rgba(99, 179, 69, .45))}.ma-empty-t{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:700;color:#5c5454}.ma-empty-s{font-family:Inter,sans-serif;font-size:12px;color:#877d7d}.ma-err{color:#c00;font-size:11px;margin:6px 0 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.SelectControlValueAccessor, selector: "select:not([multiple]):not([ngNoCva])[formControlName],select:not([multiple]):not([ngNoCva])[formControl],select:not([multiple]):not([ngNoCva])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i10.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
41624
|
+
`, isInline: true, styles: [":host{display:block}.ma-panel{background:#fff;border:1px solid rgba(22,18,18,.1);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;height:100%;box-sizing:border-box}.ma-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid rgba(22,18,18,.06);margin-bottom:8px}.ma-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#161212;display:flex;align-items:center;gap:8px}.ma-title i{font-size:18px;color:var(--fh-ma-accent, #63b345)}.ma-count{font-family:ui-monospace,Consolas,monospace;font-size:11px;font-weight:700;letter-spacing:0;color:var(--fh-ma-accent-dark, #3f7029)}.ma-filtri{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ma-sel,.ma-val{font-family:Inter,sans-serif;font-size:12.5px;padding:5px 8px;border:1px solid #c9d4cd;border-radius:5px;background:#fff;color:#161212}.ma-val{min-width:190px}.ma-btn{font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:5px 12px;border:1px solid var(--fh-ma-accent, #63b345);border-radius:5px;background:var(--fh-ma-accent, #63b345);color:#fff;cursor:pointer}.ma-btn:hover{background:var(--fh-ma-accent-dark, #3f7029);border-color:var(--fh-ma-accent-dark, #3f7029)}.ma-sel:focus-visible,.ma-val:focus-visible,.ma-btn:focus-visible,.ma-tab tbody tr:focus-visible{outline:2px solid var(--fh-ma-accent, #63b345);outline-offset:1px}.ma-body{flex:1 1 auto;min-height:0;overflow:auto}.ma-tab{width:100%;border-collapse:collapse;font-family:Inter,sans-serif;font-size:13px}.ma-tab th{position:sticky;top:0;z-index:1;background:#f1f5f3;text-align:left;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#6b7a72;padding:6px 8px;border-bottom:1px solid #dfe5e1;white-space:nowrap}.ma-tab td{padding:7px 8px;border-bottom:1px solid #eef2ef;vertical-align:top;color:#443d3d;overflow-wrap:anywhere}.ma-tab tbody tr{cursor:pointer;transition:background .12s ease}.ma-tab tbody tr:hover{background:var(--fh-ma-accent-soft, rgba(99, 179, 69, .08))}.mono{font-family:ui-monospace,Consolas,monospace;font-size:11.5px}.c-data{width:92px;white-space:nowrap;color:#6b7a72}.c-prat{width:130px}.c-nota{width:32%;white-space:pre-line}.c-ril{width:62px;white-space:nowrap}.ma-ogg{display:block;font-weight:600;color:#161212}.ma-clip{font-size:14px;vertical-align:-2px;color:#8c8585}.ma-mit{display:block;margin-top:1px;color:#8c8585}.ma-piccolo{font-size:11.5px;color:#6b7a72}.ma-stelle{color:#161212;letter-spacing:1px}.ma-tetto{margin:8px 0 0;padding:6px 10px;border-radius:5px;background:#fdf8e8;border:1px solid #e6cf8a;color:#6b5200;font-size:11.5px}.ma-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:34px 0;text-align:center}.ma-empty-i{font-size:30px;color:var(--fh-ma-accent-faint, rgba(99, 179, 69, .45))}.ma-empty-t{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:700;color:#5c5454}.ma-empty-s{font-family:Inter,sans-serif;font-size:12px;color:#877d7d}.ma-err{color:#c00;font-size:11px;margin:6px 0 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.SelectControlValueAccessor, selector: "select:not([multiple]):not([ngNoCva])[formControlName],select:not([multiple]):not([ngNoCva])[formControl],select:not([multiple]):not([ngNoCva])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "pipe", type: i10.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.Eager });
|
|
41580
41625
|
}
|
|
41581
41626
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FHMailArchivedComponent, decorators: [{
|
|
41582
41627
|
type: Component,
|
|
@@ -41627,7 +41672,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
41627
41672
|
<tr>
|
|
41628
41673
|
<th class="c-data">{{ colData }}</th>
|
|
41629
41674
|
<th>{{ colOggetto }}</th>
|
|
41630
|
-
|
|
41675
|
+
@if (mostraNota) {
|
|
41676
|
+
<th class="c-nota">{{ colNota }}</th>
|
|
41677
|
+
} @else {
|
|
41678
|
+
<th>{{ colCliente }}</th>
|
|
41679
|
+
}
|
|
41631
41680
|
<th>{{ colContatti }}</th>
|
|
41632
41681
|
<th class="c-prat">{{ colPratiche }}</th>
|
|
41633
41682
|
<th class="c-ril">{{ colRilevanza }}</th>
|
|
@@ -41650,7 +41699,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
41650
41699
|
</span>
|
|
41651
41700
|
<span class="ma-mit mono">{{ r.sender_email }}</span>
|
|
41652
41701
|
</td>
|
|
41653
|
-
|
|
41702
|
+
@if (mostraNota) {
|
|
41703
|
+
<td class="c-nota">{{ r.note || '-' }}</td>
|
|
41704
|
+
} @else {
|
|
41705
|
+
<td>{{ r.client_name || '-' }}</td>
|
|
41706
|
+
}
|
|
41654
41707
|
<td class="ma-piccolo">{{ r.contatti || '-' }}</td>
|
|
41655
41708
|
<td class="c-prat mono">{{ r.pratiche || '-' }}</td>
|
|
41656
41709
|
<td
|
|
@@ -41689,7 +41742,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
41689
41742
|
@if (errorMsg) {
|
|
41690
41743
|
<p class="ma-err">{{ errorMsg }}</p>
|
|
41691
41744
|
}
|
|
41692
|
-
`, changeDetection: ChangeDetectionStrategy.Eager, styles: [":host{display:block}.ma-panel{background:#fff;border:1px solid rgba(22,18,18,.1);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;height:100%;box-sizing:border-box}.ma-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid rgba(22,18,18,.06);margin-bottom:8px}.ma-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#161212;display:flex;align-items:center;gap:8px}.ma-title i{font-size:18px;color:var(--fh-ma-accent, #63b345)}.ma-count{font-family:ui-monospace,Consolas,monospace;font-size:11px;font-weight:700;letter-spacing:0;color:var(--fh-ma-accent-dark, #3f7029)}.ma-filtri{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ma-sel,.ma-val{font-family:Inter,sans-serif;font-size:12.5px;padding:5px 8px;border:1px solid #c9d4cd;border-radius:5px;background:#fff;color:#161212}.ma-val{min-width:190px}.ma-btn{font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:5px 12px;border:1px solid var(--fh-ma-accent, #63b345);border-radius:5px;background:var(--fh-ma-accent, #63b345);color:#fff;cursor:pointer}.ma-btn:hover{background:var(--fh-ma-accent-dark, #3f7029);border-color:var(--fh-ma-accent-dark, #3f7029)}.ma-sel:focus-visible,.ma-val:focus-visible,.ma-btn:focus-visible,.ma-tab tbody tr:focus-visible{outline:2px solid var(--fh-ma-accent, #63b345);outline-offset:1px}.ma-body{flex:1 1 auto;min-height:0;overflow:auto}.ma-tab{width:100%;border-collapse:collapse;font-family:Inter,sans-serif;font-size:13px}.ma-tab th{position:sticky;top:0;z-index:1;background:#f1f5f3;text-align:left;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#6b7a72;padding:6px 8px;border-bottom:1px solid #dfe5e1;white-space:nowrap}.ma-tab td{padding:7px 8px;border-bottom:1px solid #eef2ef;vertical-align:top;color:#443d3d;overflow-wrap:anywhere}.ma-tab tbody tr{cursor:pointer;transition:background .12s ease}.ma-tab tbody tr:hover{background:var(--fh-ma-accent-soft, rgba(99, 179, 69, .08))}.mono{font-family:ui-monospace,Consolas,monospace;font-size:11.5px}.c-data{width:92px;white-space:nowrap;color:#6b7a72}.c-prat{width:130px}.c-ril{width:62px;white-space:nowrap}.ma-ogg{display:block;font-weight:600;color:#161212}.ma-clip{font-size:14px;vertical-align:-2px;color:#8c8585}.ma-mit{display:block;margin-top:1px;color:#8c8585}.ma-piccolo{font-size:11.5px;color:#6b7a72}.ma-stelle{color:#161212;letter-spacing:1px}.ma-tetto{margin:8px 0 0;padding:6px 10px;border-radius:5px;background:#fdf8e8;border:1px solid #e6cf8a;color:#6b5200;font-size:11.5px}.ma-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:34px 0;text-align:center}.ma-empty-i{font-size:30px;color:var(--fh-ma-accent-faint, rgba(99, 179, 69, .45))}.ma-empty-t{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:700;color:#5c5454}.ma-empty-s{font-family:Inter,sans-serif;font-size:12px;color:#877d7d}.ma-err{color:#c00;font-size:11px;margin:6px 0 0}\n"] }]
|
|
41745
|
+
`, changeDetection: ChangeDetectionStrategy.Eager, styles: [":host{display:block}.ma-panel{background:#fff;border:1px solid rgba(22,18,18,.1);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;height:100%;box-sizing:border-box}.ma-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid rgba(22,18,18,.06);margin-bottom:8px}.ma-title{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#161212;display:flex;align-items:center;gap:8px}.ma-title i{font-size:18px;color:var(--fh-ma-accent, #63b345)}.ma-count{font-family:ui-monospace,Consolas,monospace;font-size:11px;font-weight:700;letter-spacing:0;color:var(--fh-ma-accent-dark, #3f7029)}.ma-filtri{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ma-sel,.ma-val{font-family:Inter,sans-serif;font-size:12.5px;padding:5px 8px;border:1px solid #c9d4cd;border-radius:5px;background:#fff;color:#161212}.ma-val{min-width:190px}.ma-btn{font-family:Inter,sans-serif;font-size:12px;font-weight:600;padding:5px 12px;border:1px solid var(--fh-ma-accent, #63b345);border-radius:5px;background:var(--fh-ma-accent, #63b345);color:#fff;cursor:pointer}.ma-btn:hover{background:var(--fh-ma-accent-dark, #3f7029);border-color:var(--fh-ma-accent-dark, #3f7029)}.ma-sel:focus-visible,.ma-val:focus-visible,.ma-btn:focus-visible,.ma-tab tbody tr:focus-visible{outline:2px solid var(--fh-ma-accent, #63b345);outline-offset:1px}.ma-body{flex:1 1 auto;min-height:0;overflow:auto}.ma-tab{width:100%;border-collapse:collapse;font-family:Inter,sans-serif;font-size:13px}.ma-tab th{position:sticky;top:0;z-index:1;background:#f1f5f3;text-align:left;font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#6b7a72;padding:6px 8px;border-bottom:1px solid #dfe5e1;white-space:nowrap}.ma-tab td{padding:7px 8px;border-bottom:1px solid #eef2ef;vertical-align:top;color:#443d3d;overflow-wrap:anywhere}.ma-tab tbody tr{cursor:pointer;transition:background .12s ease}.ma-tab tbody tr:hover{background:var(--fh-ma-accent-soft, rgba(99, 179, 69, .08))}.mono{font-family:ui-monospace,Consolas,monospace;font-size:11.5px}.c-data{width:92px;white-space:nowrap;color:#6b7a72}.c-prat{width:130px}.c-nota{width:32%;white-space:pre-line}.c-ril{width:62px;white-space:nowrap}.ma-ogg{display:block;font-weight:600;color:#161212}.ma-clip{font-size:14px;vertical-align:-2px;color:#8c8585}.ma-mit{display:block;margin-top:1px;color:#8c8585}.ma-piccolo{font-size:11.5px;color:#6b7a72}.ma-stelle{color:#161212;letter-spacing:1px}.ma-tetto{margin:8px 0 0;padding:6px 10px;border-radius:5px;background:#fdf8e8;border:1px solid #e6cf8a;color:#6b5200;font-size:11.5px}.ma-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:34px 0;text-align:center}.ma-empty-i{font-size:30px;color:var(--fh-ma-accent-faint, rgba(99, 179, 69, .45))}.ma-empty-t{font-family:Plus Jakarta Sans,sans-serif;font-size:13px;font-weight:700;color:#5c5454}.ma-empty-s{font-family:Inter,sans-serif;font-size:12px;color:#877d7d}.ma-err{color:#c00;font-size:11px;margin:6px 0 0}\n"] }]
|
|
41693
41746
|
}], ctorParameters: () => [{ type: QueryService }], propDecorators: { accent: [{
|
|
41694
41747
|
type: Input
|
|
41695
41748
|
}], accentDark: [{
|
|
@@ -41746,6 +41799,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
41746
41799
|
type: Input
|
|
41747
41800
|
}], colRilevanza: [{
|
|
41748
41801
|
type: Input
|
|
41802
|
+
}], mostraNota: [{
|
|
41803
|
+
type: Input
|
|
41804
|
+
}], colNota: [{
|
|
41805
|
+
type: Input
|
|
41749
41806
|
}], apriMail: [{
|
|
41750
41807
|
type: Output
|
|
41751
41808
|
}] } });
|