Introduces OrderComponent, PerformanceInfoComponent, and ShoppingCartComponent for the ticket purchase flow. Updates theater-overlay to display seat selection alongside order details and performance info. Refactors seat and performance data loading, improves UI structure, and enhances movie info display components for consistency.
18 lines
436 B
TypeScript
18 lines
436 B
TypeScript
import { Component, input, output } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-menu-header',
|
|
standalone: false,
|
|
templateUrl: './menu-header.component.html',
|
|
styleUrl: './menu-header.component.css'
|
|
})
|
|
export class MenuHeaderComponent {
|
|
title = input.required<string>();
|
|
icon = input<string>();
|
|
|
|
searchBar = input<boolean>(false);
|
|
movieSearchResult = output<string>();
|
|
|
|
backToSchedule = input<boolean>(false);
|
|
}
|