Files
psp_panel/src/app/shared/components/innerPagesHeader/inner-pages-header.component.ts
T
ahasani b4cd4c05f2 feat: enhance inner pages header with back button functionality and emit event on back click
fix: update total price info handling in correction form and ensure accurate calculations

refactor: streamline sale invoice single view component by extracting info card into a separate component

style: adjust button sizes in payment forms for better UI consistency

feat: implement season picker navigation controls to prevent out-of-bounds selection

fix: improve price formatting utility to handle undefined values gracefully

chore: update environment configuration for API base URL

feat: add navigation service to manage routing history and back navigation
2026-06-11 16:13:48 +03:30

19 lines
713 B
TypeScript

import { Maybe } from '@/core';
import { NgTemplateOutlet } from '@angular/common';
import { Component, ContentChild, EventEmitter, Input, Output, TemplateRef } from '@angular/core';
import { RouterLink, UrlTree } from '@angular/router';
import { Button } from 'primeng/button';
@Component({
selector: 'app-inner-pages-header',
templateUrl: './inner-pages-header.component.html',
imports: [Button, RouterLink, NgTemplateOutlet],
})
export class InnerPagesHeaderComponent {
@Input() pageTitle!: string;
@Input() backRoute?: UrlTree | string | any[];
@Output() onBackClick = new EventEmitter<void>();
@ContentChild('actions', { static: true }) actions?: Maybe<TemplateRef<any>>;
constructor() {}
}