import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@angular/router";
export class PageTitleComponent {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PageTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: PageTitleComponent, selector: "app-page-title", inputs: { title: "title", titleIcon: "titleIcon", subTitle: "subTitle", subTitleUrl: "subTitleUrl" }, host: { classAttribute: "d-flex" }, ngImport: i0, template: "<i *ngIf=\"titleIcon\"\r\n   class=\"flex-shrink mr-1 my-1 ec-icon ec-icon-md {{titleIcon}}\"></i>\r\n<div class=\"text-truncate\">\r\n   <h1 *ngIf=\"title\"\r\n       class=\"text-title-1 mb-0 py-1 text-truncate\"\r\n       title=\"{{title}}\">{{title}}</h1>\r\n   <p *ngIf=\"subTitle && !subTitleUrl\"\r\n      class=\"text-caption-1 mb-0 mt-n1 text-truncate\">{{subTitle}}</p>\r\n   <a *ngIf=\"subTitle && subTitleUrl\"\r\n      id=\"subTitle_link\"\r\n      class=\"d-block text-truncate mb-0 mt-n1 font-size-small\"\r\n      routerLink=\"{{subTitleUrl}}\"\r\n      target=\"_self\">\r\n      {{subTitle}}\r\n   </a>\r\n</div>", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PageTitleComponent, decorators: [{
            type: Component,
            args: [{ selector: 'app-page-title', host: {
                        class: 'd-flex'
                    }, template: "<i *ngIf=\"titleIcon\"\r\n   class=\"flex-shrink mr-1 my-1 ec-icon ec-icon-md {{titleIcon}}\"></i>\r\n<div class=\"text-truncate\">\r\n   <h1 *ngIf=\"title\"\r\n       class=\"text-title-1 mb-0 py-1 text-truncate\"\r\n       title=\"{{title}}\">{{title}}</h1>\r\n   <p *ngIf=\"subTitle && !subTitleUrl\"\r\n      class=\"text-caption-1 mb-0 mt-n1 text-truncate\">{{subTitle}}</p>\r\n   <a *ngIf=\"subTitle && subTitleUrl\"\r\n      id=\"subTitle_link\"\r\n      class=\"d-block text-truncate mb-0 mt-n1 font-size-small\"\r\n      routerLink=\"{{subTitleUrl}}\"\r\n      target=\"_self\">\r\n      {{subTitle}}\r\n   </a>\r\n</div>" }]
        }], propDecorators: { title: [{
                type: Input
            }], titleIcon: [{
                type: Input
            }], subTitle: [{
                type: Input
            }], subTitleUrl: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS10aXRsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb21wb25lbnRzL3NyYy9saWIvc2hhcmVkL3BhZ2UvcGFnZS10aXRsZS9wYWdlLXRpdGxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvc3JjL2xpYi9zaGFyZWQvcGFnZS9wYWdlLXRpdGxlL3BhZ2UtdGl0bGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7QUFTakQsTUFBTSxPQUFPLGtCQUFrQjsrR0FBbEIsa0JBQWtCO21HQUFsQixrQkFBa0IsZ01DVC9CLHduQkFlTTs7NEZETk8sa0JBQWtCO2tCQVA5QixTQUF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