@cauca-911/material 21.2.5 → 21.2.6

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.
@@ -3275,7 +3275,12 @@ function PageTitleComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (
3275
3275
  i0.ɵɵadvance();
3276
3276
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.baseCrumb()));
3277
3277
  } }
3278
- function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
3278
+ function PageTitleComponent_Conditional_4_For_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
3279
+ i0.ɵɵelementStart(0, "span");
3280
+ i0.ɵɵtext(1, "/");
3281
+ i0.ɵɵelementEnd();
3282
+ } }
3283
+ function PageTitleComponent_Conditional_4_For_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
3279
3284
  i0.ɵɵelementStart(0, "a", 5);
3280
3285
  i0.ɵɵtext(1);
3281
3286
  i0.ɵɵpipe(2, "translate");
@@ -3286,10 +3291,10 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template(rf, ctx)
3286
3291
  i0.ɵɵadvance();
3287
3292
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, location_r2.title));
3288
3293
  } }
3289
- function PageTitleComponent_Conditional_4_For_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
3294
+ function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
3290
3295
  const _r3 = i0.ɵɵgetCurrentView();
3291
3296
  i0.ɵɵelementStart(0, "span", 7);
3292
- i0.ɵɵlistener("click", function PageTitleComponent_Conditional_4_For_3_Conditional_3_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r3); const location_r2 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(location_r2.action()); });
3297
+ i0.ɵɵlistener("click", function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r3); const location_r2 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(location_r2.action()); });
3293
3298
  i0.ɵɵtext(1);
3294
3299
  i0.ɵɵpipe(2, "translate");
3295
3300
  i0.ɵɵelementEnd();
@@ -3298,7 +3303,7 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_3_Template(rf, ctx)
3298
3303
  i0.ɵɵadvance();
3299
3304
  i0.ɵɵtextInterpolate(location_r2.translate ? i0.ɵɵpipeBind1(2, 1, location_r2.title) : location_r2.title);
3300
3305
  } }
3301
- function PageTitleComponent_Conditional_4_For_3_Conditional_4_Template(rf, ctx) { if (rf & 1) {
3306
+ function PageTitleComponent_Conditional_4_For_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
3302
3307
  i0.ɵɵelementStart(0, "span", 3);
3303
3308
  i0.ɵɵtext(1);
3304
3309
  i0.ɵɵelementEnd();
@@ -3308,14 +3313,15 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_4_Template(rf, ctx)
3308
3313
  i0.ɵɵtextInterpolate(location_r2.title);
3309
3314
  } }
3310
3315
  function PageTitleComponent_Conditional_4_For_3_Template(rf, ctx) { if (rf & 1) {
3311
- i0.ɵɵelementStart(0, "span");
3312
- i0.ɵɵtext(1, "/");
3313
- i0.ɵɵelementEnd();
3314
- i0.ɵɵconditionalCreate(2, PageTitleComponent_Conditional_4_For_3_Conditional_2_Template, 3, 5, "a", 5)(3, PageTitleComponent_Conditional_4_For_3_Conditional_3_Template, 3, 3, "span", 6)(4, PageTitleComponent_Conditional_4_For_3_Conditional_4_Template, 2, 1, "span", 3);
3316
+ i0.ɵɵconditionalCreate(0, PageTitleComponent_Conditional_4_For_3_Conditional_0_Template, 2, 0, "span");
3317
+ i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_For_3_Conditional_1_Template, 3, 5, "a", 5)(2, PageTitleComponent_Conditional_4_For_3_Conditional_2_Template, 3, 3, "span", 6)(3, PageTitleComponent_Conditional_4_For_3_Conditional_3_Template, 2, 1, "span", 3);
3315
3318
  } if (rf & 2) {
3316
3319
  const location_r2 = ctx.$implicit;
3317
- i0.ɵɵadvance(2);
3318
- i0.ɵɵconditional(location_r2.link ? 2 : location_r2.action ? 3 : 4);
3320
+ const $index_r4 = ctx.$index;
3321
+ const ctx_r0 = i0.ɵɵnextContext(2);
3322
+ i0.ɵɵconditional(ctx_r0.baseCrumb() && $index_r4 === 0 ? 0 : -1);
3323
+ i0.ɵɵadvance();
3324
+ i0.ɵɵconditional(location_r2.link ? 1 : location_r2.action ? 2 : 3);
3319
3325
  } }
3320
3326
  function PageTitleComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
3321
3327
  i0.ɵɵelementStart(0, "span");
@@ -3325,7 +3331,7 @@ function PageTitleComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (
3325
3331
  function PageTitleComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
3326
3332
  i0.ɵɵelementStart(0, "div", 2);
3327
3333
  i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template, 3, 3, "div", 3);
3328
- i0.ɵɵrepeaterCreate(2, PageTitleComponent_Conditional_4_For_3_Template, 5, 1, null, null, i0.ɵɵrepeaterTrackByIdentity);
3334
+ i0.ɵɵrepeaterCreate(2, PageTitleComponent_Conditional_4_For_3_Template, 4, 2, null, null, i0.ɵɵrepeaterTrackByIdentity);
3329
3335
  i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Conditional_4_Template, 2, 0, "span");
3330
3336
  i0.ɵɵelementStart(5, "span", 4);
3331
3337
  i0.ɵɵtext(6);
@@ -3375,7 +3381,7 @@ class PageTitleComponent {
3375
3381
  }
3376
3382
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageTitleComponent, [{
3377
3383
  type: Component,
3378
- args: [{ selector: 'cauca-page-title', changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, RouterModule], template: "<div class=\"title-section\">\n\n <h4 class=\"title-label\">{{caption() | translate }}</h4>\n\n @if (displayBreadcrumb()) {\n <div class=\"breadcrumb\">\n\n @if (baseCrumb()) {\n <div class=\"basecrumb\">{{baseCrumb()|translate}}</div>\n }\n\n @for(location of breadcrumbLocation(); track location) {\n <span>/</span>\n @if (location.link) {\n <a class=\"basecrumb\" [href]=\"location.link\" [routerLink]=\"location.link\">{{location.title| translate }}</a>\n } @else if (location.action) {\n <span class=\"basecrumb crumb-link\" (click)=\"location.action()\">{{ location.translate ? (location.title | translate) : location.title}}</span>\n } @else {\n <span class=\"basecrumb\">{{location.title}}</span>\n }\n }\n @if (baseCrumb() || breadcrumbLocation()?.length) {\n <span>/</span>\n }\n <span class=\"breadcrumb-current\">{{ mustTranslateBreadcrumb() ? (currentBreadcrumb() | translate) : currentBreadcrumb() }}</span>\n\n </div>\n }\n\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"] }]
3384
+ args: [{ selector: 'cauca-page-title', changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, RouterModule], template: "<div class=\"title-section\">\n\n <h4 class=\"title-label\">{{caption() | translate }}</h4>\n\n @if (displayBreadcrumb()) {\n <div class=\"breadcrumb\">\n\n @if (baseCrumb()) {\n <div class=\"basecrumb\">{{baseCrumb()|translate}}</div>\n }\n\n @for(location of breadcrumbLocation(); track location) {\n @if (baseCrumb() && $index === 0) {\n <span>/</span>\n }\n @if (location.link) {\n <a class=\"basecrumb\" [href]=\"location.link\" [routerLink]=\"location.link\">{{location.title| translate }}</a>\n } @else if (location.action) {\n <span class=\"basecrumb crumb-link\" (click)=\"location.action()\">{{ location.translate ? (location.title | translate) : location.title}}</span>\n } @else {\n <span class=\"basecrumb\">{{location.title}}</span>\n }\n }\n @if (baseCrumb() || breadcrumbLocation()?.length) {\n <span>/</span>\n }\n <span class=\"breadcrumb-current\">{{ mustTranslateBreadcrumb() ? (currentBreadcrumb() | translate) : currentBreadcrumb() }}</span>\n\n </div>\n }\n\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"] }]
3379
3385
  }], 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 }] }] }); })();
3380
3386
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 14 }); })();
3381
3387