@let parent = parents.at(-1);
@if (parent) {
@if (parent.from.icon) {}
@if (parent.from.text$) {{{ parent.from.text$ | async }}}
@if (content.length > 0) {
}
} @else {
@for (section of content; track $index; let index = $index) {
@if (section.type === 'toolbar') {
@if (index > 0 && content[index - 1].type !== 'toolbar') {
}
@if (section.title) {
}
} @else {
}
}
}
@for (item of items; track item.id; let index = $index) {
}
@if (item.separator) {
} @else if (item.sectionTitle) {
@if (item.icon) {}
@if (item.text$) {{{ item.text$ | async }}}
} @else {
@if (item.icon) {}
@if (item.text$) {{{ item.text$ | async }}}
@if (item.selected) {}
}