2025-12-27 20:35:02 +03:30
|
|
|
import { Maybe } from '@/core';
|
|
|
|
|
import { NgTemplateOutlet } from '@angular/common';
|
2026-06-11 16:13:48 +03:30
|
|
|
import { Component, ContentChild, EventEmitter, Input, Output, TemplateRef } from '@angular/core';
|
2025-12-27 20:35:02 +03:30
|
|
|
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[];
|
2026-06-11 16:13:48 +03:30
|
|
|
@Output() onBackClick = new EventEmitter<void>();
|
2025-12-27 20:35:02 +03:30
|
|
|
@ContentChild('actions', { static: true }) actions?: Maybe<TemplateRef<any>>;
|
|
|
|
|
constructor() {}
|
|
|
|
|
}
|