upsi dupsi, da sind noch die componenten 🤡

This commit is contained in:
Marcel-Anker
2025-11-02 18:42:40 +01:00
parent c2d5868dba
commit 5cf71a43ed
13 changed files with 137 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
@for (row of seatsPerRow(); track $index) {
<app-seat-row class="flex justify-center" [rowSeatList]="row"></app-seat-row>
}

View File

@@ -0,0 +1,13 @@
import {Component, input} from '@angular/core';
import {Sitzplatz} from '@infinimotion/model-frontend';
import {TheaterSeatState} from '../model/theater-seat-state.model';
@Component({
selector: 'app-theater-layout',
standalone: false,
templateUrl: './theater-layout.component.html',
styleUrl: './theater-layout.component.css'
})
export class TheaterLayoutComponent {
seatsPerRow = input.required<{ seat: Sitzplatz, state: TheaterSeatState }[][]>();
}