@if (!host.schemaReady) { } @for (section of host.parameterDisplaySections; track section.key) { @if (section.group; as group) {
{{ group.legend }}
@for (item of group.items; track item.path) { @if (item.field; as field) {
{{ field.label }} @if (field.type === 'boolean') { } @else if (!host.isReadonly) { } @else if (field.expandable) { }
@if (field.type !== 'boolean') { {{ shownValue(field) }} }
} @else { @if (item.richContentField; as contentField) {
{{ contentField.label }}
@if (!host.isReadonly) { } @else if (contentField.expandable) { }
@if (!contentField.parts.length) { - } @else { @for (part of contentField.parts; track $index) { @if (part.isDynamicInput) { {{ host.formatDynamicInputToken(part.text) }} } @else { {{ part.text }} } } }
} @if (item.optionalGroupField; as optionalGroup) { } @if (item.arrayField; as arrayField) { } } }
} @else if (section.item; as item) {
@if (item.field; as field) {
{{ field.label }} @if (field.type === 'boolean') { } @else if (!host.isReadonly) { } @else if (field.expandable) { }
@if (field.type !== 'boolean') { {{ shownValue(field) }} }
} @else { @if (item.richContentField; as contentField) {
{{ contentField.label }}
@if (!host.isReadonly) { } @else if (contentField.expandable) { }
@if (!contentField.parts.length) { - } @else { @for (part of contentField.parts; track $index) { @if (part.isDynamicInput) { {{ host.formatDynamicInputToken(part.text) }} } @else { {{ part.text }} } } }
} @if (item.optionalGroupField; as optionalGroup) { } @if (item.arrayField; as arrayField) { } }
} }
@if (host.localEditorOpen) {
Edit {{ host.localEditorLabel }}
@if (host.localEditorBindableAsInput && host.localEditorPath !== 'name') {
@if (host.localEditorUseInput) {
This field will be provided by node input{{ host.localEditorBindableInputName ? (' "' + host.localEditorBindableInputName + '"') : '' }}.
}
} @if (host.localEditorFromGlobal) {
@if (!host.localEditorGlobalInputs.length) {
This flow declares no global inputs yet. Add one to the flow to use it here.
}
} @if (!host.localEditorFromGlobal) {
@if (host.localEditorUseInput && host.localEditorPath !== 'name') { } @else if (host.localEditorLoading) { } @else if (host.localEditorType === 'boolean') { } @else if (host.localEditorWidget === 'textarea') { } @else if (host.localEditorHasRetriever && !host.localEditorFreeText) { } @else { } @if (host.showLocalEditorDefault()) { }
@if (host.localEditorError(); as error) { {{ error }} } @else if (host.localEditorDefaultHint(); as hint) { {{ hint }} } @if (host.localEditorTip) { {{ host.localEditorTip }} }
}
}