intelica-library-project 20.0.27 → 20.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2466,14 +2466,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImpo
|
|
|
2466
2466
|
|
|
2467
2467
|
class TitleComponent {
|
|
2468
2468
|
title = input('', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
2469
|
+
subtitle = input(undefined, ...(ngDevMode ? [{ debugName: "subtitle" }] : []));
|
|
2470
|
+
showBack = input(true, ...(ngDevMode ? [{ debugName: "showBack" }] : []));
|
|
2469
2471
|
back = output();
|
|
2470
2472
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: TitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2471
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
2473
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.23", type: TitleComponent, isStandalone: true, selector: "intelica-title", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, subtitle: { classPropertyName: "subtitle", publicName: "subtitle", isSignal: true, isRequired: false, transformFunction: null }, showBack: { classPropertyName: "showBack", publicName: "showBack", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { back: "back" }, ngImport: i0, template: "<div class=\"ptSectionTitle\">\n @if (showBack()) {\n <div class=\"ptSectionTitle__icon\">\n <p-button class=\"prButton\" icon=\"icon icon-nav-left\" (onClick)=\"back.emit()\" />\n </div>\n }\n <div class=\"ptSectionTitle__content\">\n <div class=\"aTittle ptSectionTitle__title\">\n {{ title() }}\n </div>\n @if (subtitle()) {\n <div class=\"ptSectionTitle__subtitle\">\n {{ subtitle() }}\n </div>\n }\n </div>\n</div>", dependencies: [{ kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }] });
|
|
2472
2474
|
}
|
|
2473
2475
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.23", ngImport: i0, type: TitleComponent, decorators: [{
|
|
2474
2476
|
type: Component,
|
|
2475
|
-
args: [{ selector: 'intelica-title', imports: [Button], template: "<div class=\"ptSectionTitle\">\n <div class=\"ptSectionTitle__icon\">\n <p-button class=\"prButton\" icon=\"icon icon-nav-left\" (onClick)=\"back.emit()\" />\n </div>\n <div class=\"ptSectionTitle__content\">\n <div class=\"ptSectionTitle__title\">\n {{ title() }}\n </div>\n </div>\n</div>" }]
|
|
2476
|
-
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], back: [{ type: i0.Output, args: ["back"] }] } });
|
|
2477
|
+
args: [{ selector: 'intelica-title', imports: [Button], template: "<div class=\"ptSectionTitle\">\n @if (showBack()) {\n <div class=\"ptSectionTitle__icon\">\n <p-button class=\"prButton\" icon=\"icon icon-nav-left\" (onClick)=\"back.emit()\" />\n </div>\n }\n <div class=\"ptSectionTitle__content\">\n <div class=\"aTittle ptSectionTitle__title\">\n {{ title() }}\n </div>\n @if (subtitle()) {\n <div class=\"ptSectionTitle__subtitle\">\n {{ subtitle() }}\n </div>\n }\n </div>\n</div>" }]
|
|
2478
|
+
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], subtitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "subtitle", required: false }] }], showBack: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBack", required: false }] }], back: [{ type: i0.Output, args: ["back"] }] } });
|
|
2477
2479
|
|
|
2478
2480
|
class Shared {
|
|
2479
2481
|
http = inject(HttpClient);
|