@if (iconOverrides && iconOverrides[state]) { } @else { @switch (state) { @case ('number') { } @default { @if (state === 'done') { {{_intl.completedLabel}} } @else if (state === 'edit') { {{_intl.editableLabel}} } } } }
@if (_templateLabel(); as templateLabel) {
} @else if (_stringLabel()) {
{{label}}
} @if (_hasOptionalLabel()) {
{{_intl.optionalLabel}}
} @if (_hasErrorLabel()) {
{{errorMessage}}
}