@switch (view()) { @case ('loading') {

Caricamento del configuratore…

} @case ('error') {

Non è stato possibile caricare il configuratore.

} @default {

Passo {{ currentNumber() }} di {{ totalSteps() }} @if (position() === 'result') { — Risultato } @else if (step(); as s) { — {{ s.title }} }

@if (position() !== 'result') { @if (step(); as s) {

{{ s.title }}

@if (s.description) {

{{ s.description }}

} @if (formError(); as message) { } @for (q of questions(); track q.id) { @let error = errors()[q.id]; @switch (q.type) { @case ('single') {
{{ q.label }} @if (!q.required) { (facoltativa) } @if (q.help) {

{{ q.help }}

}
@for (o of q.options; track o.value; let first = $first) { }
@if (error) {

{{ error }}

}
} @case ('multi') {
{{ q.label }} (una o più risposte) @if (q.help) {

{{ q.help }}

}
@for (o of q.options; track o.value; let first = $first) { }
@if (error) {

{{ error }}

}
} @case ('number') {

@if (q.help) { {{ q.help }}. } Da {{ grouped.format(q.min) }} a {{ grouped.format(q.max) }} {{ q.unit }}.

{{ q.unit }}
@if (error) {

{{ error }}

}
} @case ('province') {
@if (q.help) {

{{ q.help }}

} @if (error) {

{{ error }}

}
} } }
@if (stepIndex() > 0) { }
} } @else if (result(); as r) {

La soluzione consigliata

{{ r.solution.title }}

{{ r.solution.description }}

@if (r.size) {

Taglia indicativa: {{ r.size.label }}

} @if (r.estimates.investmentCents !== null || r.estimates.annualSavingsCents !== null || r.estimates.paybackYears !== null) {
@if (r.estimates.investmentCents !== null) {
Investimento indicativo
{{ euro(r.estimates.investmentCents) }}
} @if (r.estimates.annualSavingsCents !== null) {
Risparmio annuo stimato
{{ euro(r.estimates.annualSavingsCents) }}
} @if (r.estimates.paybackYears !== null) {
Tempo di rientro
{{ decimal.format(r.estimates.paybackYears) }} {{ r.estimates.paybackYears === 1 ? 'anno' : 'anni' }}
}
} @if (r.warnings.length) {

Da tenere presente

    @for (w of r.warnings; track $index) {
  • {{ w }}
  • }
} @if (r.details.length) {
Come abbiamo calcolato
@for (d of r.details; track $index) {
{{ d.label }}
{{ d.value }}
}
}

Incentivi

{{ r.incentivesNote }}

{{ r.disclaimer }}

@if (r.products.length) { }

Ricevi un preventivo gratuito

Un nostro tecnico verifica la stima e ti ricontatta, senza impegno.

@if (submitError(); as message) { }
@if (messageError(); as m) {

{{ m }}

}
Consensi @if (privacyError()) {

Il consenso è necessario per inviare la richiesta.

}
} @else {

Calcolo del risultato…

@if (formError(); as message) {
} }
} }