@if (!manualSaveOnly()) {
}
@for (tab of toolbarTabs; track tab) {
}
@if (activeToolbarTab() === '开始') {
@for (theme of themePresets; track theme.id) {
}
} @else if (activeToolbarTab() === '切换') {
@for (transition of transitions; track transition.value) {
}
} @else if (activeToolbarTab() === '动画') {
@for (animation of animations; track animation.value) {
}
} @else {
@if (selectedSlide(); as slide) {
}
@for (shape of slide.shapes; track shape.id) {
@if (!shape.deleted) {
}
}
}
0"
[style.z-index]="shape.editorKind === 'ink' ? 4 : null"
[class.is-selected]="selectedShapeId() === shape.id"
[class.is-editing]="editingShapeId() === shape.id"
[ngStyle]="shapeStyle(shape, presentation)"
(click)="selectShape(shape, $event)"
(pointerdown)="onShapePointerDown(shape, $event)"
(dblclick)="beginTextEdit(shape, $event)"
>
@if (shape.kind === 'line') {
}
@if (shape.kind === 'image' && shape.imageSrc) {
}
@if (shape.kind === 'table' && shape.table) {
} @else if (editable() && shape.editable && editingShapeId() === shape.id) {
} @else if (shape.paragraphs.length) {
@if (selectedShapeId() === shape.id && editable() && shape.editable) {
@for (paragraph of shape.paragraphs; track $index) {
}
@if (paragraph.bullet) {
{{ paragraph.bullet }}
}
@for (run of paragraph.runs; track $index) {
{{ run.text }}
}
}