@cauca-911/material 21.0.1-beta.2 → 21.0.1-beta.4
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.
|
@@ -3411,7 +3411,7 @@ function PageTitleComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (
|
|
|
3411
3411
|
i0.ɵɵadvance();
|
|
3412
3412
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r0.baseCrumb()));
|
|
3413
3413
|
i0.ɵɵadvance(2);
|
|
3414
|
-
i0.ɵɵconditional(ctx_r0.breadcrumbLocation().length > 0 || ctx_r0.currentBreadcrumb()
|
|
3414
|
+
i0.ɵɵconditional(ctx_r0.breadcrumbLocation().length > 0 || ctx_r0.currentBreadcrumb() ? 3 : -1);
|
|
3415
3415
|
} }
|
|
3416
3416
|
function PageTitleComponent_Conditional_4_For_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
3417
3417
|
i0.ɵɵelementStart(0, "a", 5);
|
|
@@ -3460,7 +3460,7 @@ function PageTitleComponent_Conditional_4_For_3_Template(rf, ctx) { if (rf & 1)
|
|
|
3460
3460
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3461
3461
|
i0.ɵɵconditional(location_r2.link ? 0 : location_r2.action ? 1 : 2);
|
|
3462
3462
|
i0.ɵɵadvance(3);
|
|
3463
|
-
i0.ɵɵconditional(!(ɵ$index_19_r4 === ɵ$count_19_r5 - 1) || ctx_r0.currentBreadcrumb()
|
|
3463
|
+
i0.ɵɵconditional(!(ɵ$index_19_r4 === ɵ$count_19_r5 - 1) || ctx_r0.currentBreadcrumb() ? 3 : -1);
|
|
3464
3464
|
} }
|
|
3465
3465
|
function PageTitleComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
3466
3466
|
i0.ɵɵelementStart(0, "span", 3);
|
|
@@ -3485,7 +3485,7 @@ function PageTitleComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
3485
3485
|
i0.ɵɵadvance();
|
|
3486
3486
|
i0.ɵɵrepeater(ctx_r0.breadcrumbLocation());
|
|
3487
3487
|
i0.ɵɵadvance(2);
|
|
3488
|
-
i0.ɵɵconditional(ctx_r0.currentBreadcrumb()
|
|
3488
|
+
i0.ɵɵconditional(ctx_r0.currentBreadcrumb() ? 4 : -1);
|
|
3489
3489
|
} }
|
|
3490
3490
|
class PageTitleComponent {
|
|
3491
3491
|
constructor() {
|
|
@@ -3518,7 +3518,7 @@ class PageTitleComponent {
|
|
|
3518
3518
|
}
|
|
3519
3519
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageTitleComponent, [{
|
|
3520
3520
|
type: Component,
|
|
3521
|
-
args: [{ selector: 'cauca-page-title', imports: [TranslateModule, RouterModule], template: "<div class=\"title-section\">\r\n\r\n <h4 class=\"title-label\">{{caption() | translate }}</h4>\r\n\r\n @if (displayBreadcrumb()) {\r\n <div class=\"breadcrumb\">\r\n\r\n @if (baseCrumb()) {\r\n <div class=\"basecrumb\">{{baseCrumb()|translate}}</div>\r\n @if (breadcrumbLocation().length > 0 ||
|
|
3521
|
+
args: [{ selector: 'cauca-page-title', imports: [TranslateModule, RouterModule], template: "<div class=\"title-section\">\r\n\r\n <h4 class=\"title-label\">{{caption() | translate }}</h4>\r\n\r\n @if (displayBreadcrumb()) {\r\n <div class=\"breadcrumb\">\r\n\r\n @if (baseCrumb()) {\r\n <div class=\"basecrumb\">{{baseCrumb()|translate}}</div>\r\n @if (breadcrumbLocation().length > 0 || currentBreadcrumb()) {\r\n <span>/</span>\r\n }\r\n }\r\n\r\n @for(location of breadcrumbLocation(); track location) {\r\n @if (location.link) {\r\n <a class=\"basecrumb\" [href]=\"location.link\" [routerLink]=\"location.link\">{{location.title| translate }}</a>\r\n } @else if (location.action) {\r\n <span class=\"basecrumb crumb-link\" (click)=\"location.action()\">{{ location.translate ? (location.title | translate) : location.title}}</span>\r\n } @else {\r\n <span class=\"basecrumb\">{{location.title}}</span>\r\n }\r\n @if (!$last || currentBreadcrumb()) {\r\n <span>/</span>\r\n }\r\n }\r\n\r\n @if (currentBreadcrumb()) {\r\n <span class=\"breadcrumb-current\">{{ mustTranslateBreadcrumb() ? (currentBreadcrumb() | translate) : currentBreadcrumb() }}</span>\r\n }\r\n\r\n </div>\r\n }\r\n\r\n</div>", styles: [".title-section{display:flex;gap:8px;flex-direction:column;align-items:flex-start;align-self:stretch;margin-bottom:24px}.breadcrumb{display:flex;align-items:center;gap:8px}h4{padding:0}a{text-decoration:none}a:visited{color:inherit}.basecrumb{color:#12101499}.crumb-link{cursor:pointer}@media(max-width:500px){.title-section{padding:16px}}\n"] }]
|
|
3522
3522
|
}], null, { caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], showBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBreadcrumb", required: false }] }], location: [{ type: i0.Input, args: [{ isSignal: true, alias: "location", required: false }] }], breadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "breadcrumb", required: false }] }], baseCrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "baseCrumb", required: false }] }], translateBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "translateBreadcrumb", required: false }] }] }); })();
|
|
3523
3523
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 13 }); })();
|
|
3524
3524
|
|