@cauca-911/material 21.0.1-beta.3 → 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.
|
@@ -3395,23 +3395,26 @@ class SectionFieldComponent {
|
|
|
3395
3395
|
}], null, { autoTranslateLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoTranslateLabel", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], values: [{ type: i0.Input, args: [{ isSignal: true, alias: "values", required: false }] }], fieldName: [{ type: i0.Input, args: [{ isSignal: true, alias: "fieldName", required: false }] }], showLink: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLink", required: false }] }], linkClick: [{ type: i0.Output, args: ["linkClick"] }], splitEqually: [{ type: i0.Input, args: [{ isSignal: true, alias: "splitEqually", required: false }] }] }); })();
|
|
3396
3396
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionFieldComponent, { className: "SectionFieldComponent", filePath: "lib/components/layout/sections/section-field/section-field.component.ts", lineNumber: 12 }); })();
|
|
3397
3397
|
|
|
3398
|
+
function PageTitleComponent_Conditional_4_Conditional_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
3399
|
+
i0.ɵɵelementStart(0, "span");
|
|
3400
|
+
i0.ɵɵtext(1, "/");
|
|
3401
|
+
i0.ɵɵelementEnd();
|
|
3402
|
+
} }
|
|
3398
3403
|
function PageTitleComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
3399
|
-
i0.ɵɵelementStart(0, "div",
|
|
3404
|
+
i0.ɵɵelementStart(0, "div", 4);
|
|
3400
3405
|
i0.ɵɵtext(1);
|
|
3401
3406
|
i0.ɵɵpipe(2, "translate");
|
|
3402
3407
|
i0.ɵɵelementEnd();
|
|
3408
|
+
i0.ɵɵconditionalCreate(3, PageTitleComponent_Conditional_4_Conditional_1_Conditional_3_Template, 2, 0, "span");
|
|
3403
3409
|
} if (rf & 2) {
|
|
3404
3410
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3405
3411
|
i0.ɵɵadvance();
|
|
3406
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2,
|
|
3412
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r0.baseCrumb()));
|
|
3413
|
+
i0.ɵɵadvance(2);
|
|
3414
|
+
i0.ɵɵconditional(ctx_r0.breadcrumbLocation().length > 0 || ctx_r0.currentBreadcrumb() ? 3 : -1);
|
|
3407
3415
|
} }
|
|
3408
3416
|
function PageTitleComponent_Conditional_4_For_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
3409
|
-
i0.ɵɵelementStart(0, "
|
|
3410
|
-
i0.ɵɵtext(1, "/");
|
|
3411
|
-
i0.ɵɵelementEnd();
|
|
3412
|
-
} }
|
|
3413
|
-
function PageTitleComponent_Conditional_4_For_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
3414
|
-
i0.ɵɵelementStart(0, "a", 4);
|
|
3417
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
3415
3418
|
i0.ɵɵtext(1);
|
|
3416
3419
|
i0.ɵɵpipe(2, "translate");
|
|
3417
3420
|
i0.ɵɵelementEnd();
|
|
@@ -3421,10 +3424,10 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_1_Template(rf, ctx)
|
|
|
3421
3424
|
i0.ɵɵadvance();
|
|
3422
3425
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, location_r2.title));
|
|
3423
3426
|
} }
|
|
3424
|
-
function
|
|
3427
|
+
function PageTitleComponent_Conditional_4_For_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
3425
3428
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
3426
|
-
i0.ɵɵelementStart(0, "span",
|
|
3427
|
-
i0.ɵɵlistener("click", function
|
|
3429
|
+
i0.ɵɵelementStart(0, "span", 7);
|
|
3430
|
+
i0.ɵɵlistener("click", function PageTitleComponent_Conditional_4_For_3_Conditional_1_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r3); const location_r2 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(location_r2.action()); });
|
|
3428
3431
|
i0.ɵɵtext(1);
|
|
3429
3432
|
i0.ɵɵpipe(2, "translate");
|
|
3430
3433
|
i0.ɵɵelementEnd();
|
|
@@ -3433,8 +3436,8 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template(rf, ctx)
|
|
|
3433
3436
|
i0.ɵɵadvance();
|
|
3434
3437
|
i0.ɵɵtextInterpolate(location_r2.translate ? i0.ɵɵpipeBind1(2, 1, location_r2.title) : location_r2.title);
|
|
3435
3438
|
} }
|
|
3436
|
-
function
|
|
3437
|
-
i0.ɵɵelementStart(0, "span",
|
|
3439
|
+
function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
3440
|
+
i0.ɵɵelementStart(0, "span", 4);
|
|
3438
3441
|
i0.ɵɵtext(1);
|
|
3439
3442
|
i0.ɵɵelementEnd();
|
|
3440
3443
|
} if (rf & 2) {
|
|
@@ -3442,39 +3445,38 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_3_Template(rf, ctx)
|
|
|
3442
3445
|
i0.ɵɵadvance();
|
|
3443
3446
|
i0.ɵɵtextInterpolate(location_r2.title);
|
|
3444
3447
|
} }
|
|
3448
|
+
function PageTitleComponent_Conditional_4_For_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
3449
|
+
i0.ɵɵelementStart(0, "span");
|
|
3450
|
+
i0.ɵɵtext(1, "/");
|
|
3451
|
+
i0.ɵɵelementEnd();
|
|
3452
|
+
} }
|
|
3445
3453
|
function PageTitleComponent_Conditional_4_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
3446
|
-
i0.ɵɵconditionalCreate(0, PageTitleComponent_Conditional_4_For_3_Conditional_0_Template, 2,
|
|
3447
|
-
i0.ɵɵconditionalCreate(
|
|
3454
|
+
i0.ɵɵconditionalCreate(0, PageTitleComponent_Conditional_4_For_3_Conditional_0_Template, 3, 5, "a", 5)(1, PageTitleComponent_Conditional_4_For_3_Conditional_1_Template, 3, 3, "span", 6)(2, PageTitleComponent_Conditional_4_For_3_Conditional_2_Template, 2, 1, "span", 4);
|
|
3455
|
+
i0.ɵɵconditionalCreate(3, PageTitleComponent_Conditional_4_For_3_Conditional_3_Template, 2, 0, "span");
|
|
3448
3456
|
} if (rf & 2) {
|
|
3449
3457
|
const location_r2 = ctx.$implicit;
|
|
3450
|
-
const ɵ$
|
|
3458
|
+
const ɵ$index_19_r4 = ctx.$index;
|
|
3459
|
+
const ɵ$count_19_r5 = ctx.$count;
|
|
3451
3460
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3452
|
-
i0.ɵɵconditional(
|
|
3453
|
-
i0.ɵɵadvance();
|
|
3454
|
-
i0.ɵɵconditional(
|
|
3455
|
-
} }
|
|
3456
|
-
function PageTitleComponent_Conditional_4_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
3457
|
-
i0.ɵɵelementStart(0, "span");
|
|
3458
|
-
i0.ɵɵtext(1, "/");
|
|
3459
|
-
i0.ɵɵelementEnd();
|
|
3461
|
+
i0.ɵɵconditional(location_r2.link ? 0 : location_r2.action ? 1 : 2);
|
|
3462
|
+
i0.ɵɵadvance(3);
|
|
3463
|
+
i0.ɵɵconditional(!(ɵ$index_19_r4 === ɵ$count_19_r5 - 1) || ctx_r0.currentBreadcrumb() ? 3 : -1);
|
|
3460
3464
|
} }
|
|
3461
3465
|
function PageTitleComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
3462
|
-
i0.ɵɵ
|
|
3463
|
-
i0.ɵɵ
|
|
3464
|
-
i0.ɵɵ
|
|
3465
|
-
i0.ɵɵpipe(3, "translate");
|
|
3466
|
+
i0.ɵɵelementStart(0, "span", 3);
|
|
3467
|
+
i0.ɵɵtext(1);
|
|
3468
|
+
i0.ɵɵpipe(2, "translate");
|
|
3466
3469
|
i0.ɵɵelementEnd();
|
|
3467
3470
|
} if (rf & 2) {
|
|
3468
3471
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3469
|
-
i0.ɵɵ
|
|
3470
|
-
i0.ɵɵ
|
|
3471
|
-
i0.ɵɵtextInterpolate(ctx_r0.mustTranslateBreadcrumb() ? i0.ɵɵpipeBind1(3, 2, ctx_r0.currentBreadcrumb()) : ctx_r0.currentBreadcrumb());
|
|
3472
|
+
i0.ɵɵadvance();
|
|
3473
|
+
i0.ɵɵtextInterpolate(ctx_r0.mustTranslateBreadcrumb() ? i0.ɵɵpipeBind1(2, 1, ctx_r0.currentBreadcrumb()) : ctx_r0.currentBreadcrumb());
|
|
3472
3474
|
} }
|
|
3473
3475
|
function PageTitleComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
3474
3476
|
i0.ɵɵelementStart(0, "div", 2);
|
|
3475
|
-
i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template,
|
|
3477
|
+
i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template, 4, 4);
|
|
3476
3478
|
i0.ɵɵrepeaterCreate(2, PageTitleComponent_Conditional_4_For_3_Template, 4, 2, null, null, i0.ɵɵrepeaterTrackByIdentity);
|
|
3477
|
-
i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Conditional_4_Template,
|
|
3479
|
+
i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Conditional_4_Template, 3, 3, "span", 3);
|
|
3478
3480
|
i0.ɵɵelementEnd();
|
|
3479
3481
|
} if (rf & 2) {
|
|
3480
3482
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -3483,7 +3485,7 @@ function PageTitleComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
3483
3485
|
i0.ɵɵadvance();
|
|
3484
3486
|
i0.ɵɵrepeater(ctx_r0.breadcrumbLocation());
|
|
3485
3487
|
i0.ɵɵadvance(2);
|
|
3486
|
-
i0.ɵɵconditional(ctx_r0.currentBreadcrumb()
|
|
3488
|
+
i0.ɵɵconditional(ctx_r0.currentBreadcrumb() ? 4 : -1);
|
|
3487
3489
|
} }
|
|
3488
3490
|
class PageTitleComponent {
|
|
3489
3491
|
constructor() {
|
|
@@ -3500,7 +3502,7 @@ class PageTitleComponent {
|
|
|
3500
3502
|
this.breadcrumbService = inject(BreadcrumbService, { optional: true });
|
|
3501
3503
|
}
|
|
3502
3504
|
static { this.ɵfac = function PageTitleComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageTitleComponent)(); }; }
|
|
3503
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PageTitleComponent, selectors: [["cauca-page-title"]], inputs: { caption: [1, "caption"], showBreadcrumb: [1, "showBreadcrumb"], location: [1, "location"], breadcrumb: [1, "breadcrumb"], baseCrumb: [1, "baseCrumb"], translateBreadcrumb: [1, "translateBreadcrumb"] }, decls: 5, vars: 4, consts: [[1, "title-section"], [1, "title-label"], [1, "breadcrumb"], [1, "basecrumb"], [1, "basecrumb", 3, "href", "routerLink"], [1, "basecrumb", "crumb-link"], [1, "basecrumb", "crumb-link", 3, "click"]
|
|
3505
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PageTitleComponent, selectors: [["cauca-page-title"]], inputs: { caption: [1, "caption"], showBreadcrumb: [1, "showBreadcrumb"], location: [1, "location"], breadcrumb: [1, "breadcrumb"], baseCrumb: [1, "baseCrumb"], translateBreadcrumb: [1, "translateBreadcrumb"] }, decls: 5, vars: 4, consts: [[1, "title-section"], [1, "title-label"], [1, "breadcrumb"], [1, "breadcrumb-current"], [1, "basecrumb"], [1, "basecrumb", 3, "href", "routerLink"], [1, "basecrumb", "crumb-link"], [1, "basecrumb", "crumb-link", 3, "click"]], template: function PageTitleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3504
3506
|
i0.ɵɵelementStart(0, "div", 0)(1, "h4", 1);
|
|
3505
3507
|
i0.ɵɵtext(2);
|
|
3506
3508
|
i0.ɵɵpipe(3, "translate");
|
|
@@ -3516,7 +3518,7 @@ class PageTitleComponent {
|
|
|
3516
3518
|
}
|
|
3517
3519
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageTitleComponent, [{
|
|
3518
3520
|
type: Component,
|
|
3519
|
-
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\r\n @for(location of breadcrumbLocation(); track location) {\r\n @if (
|
|
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"] }]
|
|
3520
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 }] }] }); })();
|
|
3521
3523
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 13 }); })();
|
|
3522
3524
|
|