@if (isAllowedToBeSeen && show) { @if (textIndent) { @if (displayValue && !hideValue) { } @if (button) { } @if (formGroup && control) { @if (control.type === "INPUT") { } @if (control.type === "TOGGLE") { } @if (control.type === "SELECT") { } @if (control.type === "TEXT") { } @if (control.type === "BUTTON") { } } @else if (control) { @if (control.type === "BUTTON") { } } } @if (formGroup) { @if (control?.type === "RANGE") { } }
@if (displayName) { {{ displayName }} } @if (control.options) { @for (option of control.options; track option) { {{ option.name }} } } {{ control.valueConverter ? (formGroup.controls[controlName].value | converter: control.valueConverter) : formGroup.controls[controlName].value }} @if (control.button?.icon) { {{ control.button.name }} } @if (control.button?.icon) { {{ control.button.name }} }
@if (control.properties.unit) { {{ control.properties.tickMin | unitvalue: control.properties.unit }} } @else { {{ control.properties.tickMin | converter: (control.properties.tickFormatter ? control.properties.tickFormatter : null) }} } @if (control.properties.unit) { {{ control.properties.tickMax | unitvalue: control.properties.unit }} } @else { {{ control.properties.tickMax | converter: (control.properties.tickFormatter ? control.properties.tickFormatter : null) }} }
}