@cauca-911/material 20.2.15 → 20.2.16
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.
|
@@ -3420,7 +3420,7 @@ function PageTitleComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (
|
|
|
3420
3420
|
i0.ɵɵadvance();
|
|
3421
3421
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.baseCrumb()));
|
|
3422
3422
|
} }
|
|
3423
|
-
function
|
|
3423
|
+
function PageTitleComponent_Conditional_4_Conditional_2_For_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
3424
3424
|
i0.ɵɵelementStart(0, "a", 5);
|
|
3425
3425
|
i0.ɵɵtext(1);
|
|
3426
3426
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -3431,10 +3431,10 @@ function PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_2_Temp
|
|
|
3431
3431
|
i0.ɵɵadvance();
|
|
3432
3432
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, location_r2.title));
|
|
3433
3433
|
} }
|
|
3434
|
-
function
|
|
3434
|
+
function PageTitleComponent_Conditional_4_Conditional_2_For_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
3435
3435
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
3436
3436
|
i0.ɵɵelementStart(0, "span", 7);
|
|
3437
|
-
i0.ɵɵlistener("click", function
|
|
3437
|
+
i0.ɵɵlistener("click", function PageTitleComponent_Conditional_4_Conditional_2_For_1_Conditional_3_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r3); const location_r2 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(location_r2.action()); });
|
|
3438
3438
|
i0.ɵɵtext(1);
|
|
3439
3439
|
i0.ɵɵpipe(2, "translate");
|
|
3440
3440
|
i0.ɵɵelementEnd();
|
|
@@ -3443,7 +3443,7 @@ function PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_3_Temp
|
|
|
3443
3443
|
i0.ɵɵadvance();
|
|
3444
3444
|
i0.ɵɵtextInterpolate(location_r2.translate ? i0.ɵɵpipeBind1(2, 1, location_r2.title) : location_r2.title);
|
|
3445
3445
|
} }
|
|
3446
|
-
function
|
|
3446
|
+
function PageTitleComponent_Conditional_4_Conditional_2_For_1_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
3447
3447
|
i0.ɵɵelementStart(0, "span", 3);
|
|
3448
3448
|
i0.ɵɵtext(1);
|
|
3449
3449
|
i0.ɵɵelementEnd();
|
|
@@ -3452,34 +3452,32 @@ function PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_4_Temp
|
|
|
3452
3452
|
i0.ɵɵadvance();
|
|
3453
3453
|
i0.ɵɵtextInterpolate(location_r2.title);
|
|
3454
3454
|
} }
|
|
3455
|
-
function
|
|
3455
|
+
function PageTitleComponent_Conditional_4_Conditional_2_For_1_Template(rf, ctx) { if (rf & 1) {
|
|
3456
3456
|
i0.ɵɵelementStart(0, "span");
|
|
3457
3457
|
i0.ɵɵtext(1, "/");
|
|
3458
3458
|
i0.ɵɵelementEnd();
|
|
3459
|
-
i0.ɵɵconditionalCreate(2,
|
|
3459
|
+
i0.ɵɵconditionalCreate(2, PageTitleComponent_Conditional_4_Conditional_2_For_1_Conditional_2_Template, 3, 5, "a", 5)(3, PageTitleComponent_Conditional_4_Conditional_2_For_1_Conditional_3_Template, 3, 3, "span", 6)(4, PageTitleComponent_Conditional_4_Conditional_2_For_1_Conditional_4_Template, 2, 1, "span", 3);
|
|
3460
3460
|
} if (rf & 2) {
|
|
3461
3461
|
const location_r2 = ctx.$implicit;
|
|
3462
3462
|
i0.ɵɵadvance(2);
|
|
3463
3463
|
i0.ɵɵconditional(location_r2.link ? 2 : location_r2.action ? 3 : 4);
|
|
3464
3464
|
} }
|
|
3465
3465
|
function PageTitleComponent_Conditional_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
3466
|
-
i0.ɵɵ
|
|
3467
|
-
i0.ɵɵ
|
|
3468
|
-
i0.ɵɵ
|
|
3469
|
-
i0.ɵɵ
|
|
3470
|
-
i0.ɵɵpipe(5, "translate");
|
|
3466
|
+
i0.ɵɵrepeaterCreate(0, PageTitleComponent_Conditional_4_Conditional_2_For_1_Template, 5, 1, null, null, i0.ɵɵrepeaterTrackByIdentity);
|
|
3467
|
+
i0.ɵɵelementStart(2, "span", 4);
|
|
3468
|
+
i0.ɵɵtext(3);
|
|
3469
|
+
i0.ɵɵpipe(4, "translate");
|
|
3471
3470
|
i0.ɵɵelementEnd();
|
|
3472
3471
|
} if (rf & 2) {
|
|
3473
3472
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3474
|
-
i0.ɵɵadvance();
|
|
3475
3473
|
i0.ɵɵrepeater(ctx_r0.breadcrumbLocation());
|
|
3476
3474
|
i0.ɵɵadvance(3);
|
|
3477
|
-
i0.ɵɵtextInterpolate(ctx_r0.mustTranslateBreadcrumb() ? i0.ɵɵpipeBind1(
|
|
3475
|
+
i0.ɵɵtextInterpolate(ctx_r0.mustTranslateBreadcrumb() ? i0.ɵɵpipeBind1(4, 1, ctx_r0.currentBreadcrumb()) : ctx_r0.currentBreadcrumb());
|
|
3478
3476
|
} }
|
|
3479
3477
|
function PageTitleComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
3480
3478
|
i0.ɵɵelementStart(0, "div", 2);
|
|
3481
3479
|
i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template, 3, 3, "div", 3);
|
|
3482
|
-
i0.ɵɵconditionalCreate(2, PageTitleComponent_Conditional_4_Conditional_2_Template,
|
|
3480
|
+
i0.ɵɵconditionalCreate(2, PageTitleComponent_Conditional_4_Conditional_2_Template, 5, 3);
|
|
3483
3481
|
i0.ɵɵelementEnd();
|
|
3484
3482
|
} if (rf & 2) {
|
|
3485
3483
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -3520,7 +3518,7 @@ class PageTitleComponent {
|
|
|
3520
3518
|
}
|
|
3521
3519
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageTitleComponent, [{
|
|
3522
3520
|
type: Component,
|
|
3523
|
-
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 }\r\n @if (!showOnlyBasecrumb()) {
|
|
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 }\r\n @if (!showOnlyBasecrumb()) {\r\n @for(location of breadcrumbLocation(); track location) {\r\n <span>/</span>\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 }\r\n\r\n <span class=\"breadcrumb-current\">{{ mustTranslateBreadcrumb() ? (currentBreadcrumb() | translate) : currentBreadcrumb() }}</span>\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"] }]
|
|
3524
3522
|
}], null, { caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], showBreadcrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBreadcrumb", required: false }] }], showOnlyBasecrumb: [{ type: i0.Input, args: [{ isSignal: true, alias: "showOnlyBasecrumb", 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 }] }] }); })();
|
|
3525
3523
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 13 }); })();
|
|
3526
3524
|
|