@cauca-911/material 21.0.1-beta.2 → 21.0.1-beta.3
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.
- package/fesm2022/cauca-911-material.mjs +35 -37
- package/fesm2022/cauca-911-material.mjs.map +1 -1
- package/package.json +1 -1
- package/LICENSE +0 -21
|
@@ -3395,26 +3395,23 @@ 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
|
-
} }
|
|
3403
3398
|
function PageTitleComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
3404
|
-
i0.ɵɵelementStart(0, "div",
|
|
3399
|
+
i0.ɵɵelementStart(0, "div", 3);
|
|
3405
3400
|
i0.ɵɵtext(1);
|
|
3406
3401
|
i0.ɵɵpipe(2, "translate");
|
|
3407
3402
|
i0.ɵɵelementEnd();
|
|
3408
|
-
i0.ɵɵconditionalCreate(3, PageTitleComponent_Conditional_4_Conditional_1_Conditional_3_Template, 2, 0, "span");
|
|
3409
3403
|
} if (rf & 2) {
|
|
3410
3404
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3411
3405
|
i0.ɵɵadvance();
|
|
3412
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2,
|
|
3413
|
-
i0.ɵɵadvance(2);
|
|
3414
|
-
i0.ɵɵconditional(ctx_r0.breadcrumbLocation().length > 0 || ctx_r0.currentBreadcrumb() && ctx_r0.currentBreadcrumb().trim() !== "" ? 3 : -1);
|
|
3406
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.baseCrumb()));
|
|
3415
3407
|
} }
|
|
3416
3408
|
function PageTitleComponent_Conditional_4_For_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
3417
|
-
i0.ɵɵelementStart(0, "
|
|
3409
|
+
i0.ɵɵelementStart(0, "span");
|
|
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);
|
|
3418
3415
|
i0.ɵɵtext(1);
|
|
3419
3416
|
i0.ɵɵpipe(2, "translate");
|
|
3420
3417
|
i0.ɵɵelementEnd();
|
|
@@ -3424,10 +3421,10 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_0_Template(rf, ctx)
|
|
|
3424
3421
|
i0.ɵɵadvance();
|
|
3425
3422
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, location_r2.title));
|
|
3426
3423
|
} }
|
|
3427
|
-
function
|
|
3424
|
+
function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
3428
3425
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
3429
|
-
i0.ɵɵelementStart(0, "span",
|
|
3430
|
-
i0.ɵɵlistener("click", function
|
|
3426
|
+
i0.ɵɵelementStart(0, "span", 6);
|
|
3427
|
+
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()); });
|
|
3431
3428
|
i0.ɵɵtext(1);
|
|
3432
3429
|
i0.ɵɵpipe(2, "translate");
|
|
3433
3430
|
i0.ɵɵelementEnd();
|
|
@@ -3436,8 +3433,8 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_1_Template(rf, ctx)
|
|
|
3436
3433
|
i0.ɵɵadvance();
|
|
3437
3434
|
i0.ɵɵtextInterpolate(location_r2.translate ? i0.ɵɵpipeBind1(2, 1, location_r2.title) : location_r2.title);
|
|
3438
3435
|
} }
|
|
3439
|
-
function
|
|
3440
|
-
i0.ɵɵelementStart(0, "span",
|
|
3436
|
+
function PageTitleComponent_Conditional_4_For_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
3437
|
+
i0.ɵɵelementStart(0, "span", 3);
|
|
3441
3438
|
i0.ɵɵtext(1);
|
|
3442
3439
|
i0.ɵɵelementEnd();
|
|
3443
3440
|
} if (rf & 2) {
|
|
@@ -3445,38 +3442,39 @@ function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template(rf, ctx)
|
|
|
3445
3442
|
i0.ɵɵadvance();
|
|
3446
3443
|
i0.ɵɵtextInterpolate(location_r2.title);
|
|
3447
3444
|
} }
|
|
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
|
-
} }
|
|
3453
3445
|
function PageTitleComponent_Conditional_4_For_3_Template(rf, ctx) { if (rf & 1) {
|
|
3454
|
-
i0.ɵɵconditionalCreate(0, PageTitleComponent_Conditional_4_For_3_Conditional_0_Template,
|
|
3455
|
-
i0.ɵɵconditionalCreate(3, PageTitleComponent_Conditional_4_For_3_Conditional_3_Template, 2,
|
|
3446
|
+
i0.ɵɵconditionalCreate(0, PageTitleComponent_Conditional_4_For_3_Conditional_0_Template, 2, 0, "span");
|
|
3447
|
+
i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_For_3_Conditional_1_Template, 3, 5, "a", 4)(2, PageTitleComponent_Conditional_4_For_3_Conditional_2_Template, 3, 3, "span", 5)(3, PageTitleComponent_Conditional_4_For_3_Conditional_3_Template, 2, 1, "span", 3);
|
|
3456
3448
|
} if (rf & 2) {
|
|
3457
3449
|
const location_r2 = ctx.$implicit;
|
|
3458
|
-
const ɵ$
|
|
3459
|
-
const ɵ$count_19_r5 = ctx.$count;
|
|
3450
|
+
const ɵ$index_15_r4 = ctx.$index;
|
|
3460
3451
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3461
|
-
i0.ɵɵconditional(
|
|
3462
|
-
i0.ɵɵadvance(
|
|
3463
|
-
i0.ɵɵconditional(
|
|
3452
|
+
i0.ɵɵconditional(ctx_r0.baseCrumb() || !(ɵ$index_15_r4 === 0) ? 0 : -1);
|
|
3453
|
+
i0.ɵɵadvance();
|
|
3454
|
+
i0.ɵɵconditional(location_r2.link ? 1 : location_r2.action ? 2 : 3);
|
|
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();
|
|
3464
3460
|
} }
|
|
3465
3461
|
function PageTitleComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
3466
|
-
i0.ɵɵ
|
|
3467
|
-
i0.ɵɵ
|
|
3468
|
-
i0.ɵɵ
|
|
3462
|
+
i0.ɵɵconditionalCreate(0, PageTitleComponent_Conditional_4_Conditional_4_Conditional_0_Template, 2, 0, "span");
|
|
3463
|
+
i0.ɵɵelementStart(1, "span", 7);
|
|
3464
|
+
i0.ɵɵtext(2);
|
|
3465
|
+
i0.ɵɵpipe(3, "translate");
|
|
3469
3466
|
i0.ɵɵelementEnd();
|
|
3470
3467
|
} if (rf & 2) {
|
|
3471
3468
|
const ctx_r0 = i0.ɵɵnextContext(2);
|
|
3472
|
-
i0.ɵɵ
|
|
3473
|
-
i0.ɵɵ
|
|
3469
|
+
i0.ɵɵconditional(ctx_r0.baseCrumb() || ctx_r0.breadcrumbLocation().length > 0 ? 0 : -1);
|
|
3470
|
+
i0.ɵɵadvance(2);
|
|
3471
|
+
i0.ɵɵtextInterpolate(ctx_r0.mustTranslateBreadcrumb() ? i0.ɵɵpipeBind1(3, 2, ctx_r0.currentBreadcrumb()) : ctx_r0.currentBreadcrumb());
|
|
3474
3472
|
} }
|
|
3475
3473
|
function PageTitleComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
3476
3474
|
i0.ɵɵelementStart(0, "div", 2);
|
|
3477
|
-
i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template,
|
|
3475
|
+
i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template, 3, 3, "div", 3);
|
|
3478
3476
|
i0.ɵɵrepeaterCreate(2, PageTitleComponent_Conditional_4_For_3_Template, 4, 2, null, null, i0.ɵɵrepeaterTrackByIdentity);
|
|
3479
|
-
i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Conditional_4_Template,
|
|
3477
|
+
i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Conditional_4_Template, 4, 4);
|
|
3480
3478
|
i0.ɵɵelementEnd();
|
|
3481
3479
|
} if (rf & 2) {
|
|
3482
3480
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -3502,7 +3500,7 @@ class PageTitleComponent {
|
|
|
3502
3500
|
this.breadcrumbService = inject(BreadcrumbService, { optional: true });
|
|
3503
3501
|
}
|
|
3504
3502
|
static { this.ɵfac = function PageTitleComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageTitleComponent)(); }; }
|
|
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, "
|
|
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"], [1, "breadcrumb-current"]], template: function PageTitleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3506
3504
|
i0.ɵɵelementStart(0, "div", 0)(1, "h4", 1);
|
|
3507
3505
|
i0.ɵɵtext(2);
|
|
3508
3506
|
i0.ɵɵpipe(3, "translate");
|
|
@@ -3518,7 +3516,7 @@ class PageTitleComponent {
|
|
|
3518
3516
|
}
|
|
3519
3517
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageTitleComponent, [{
|
|
3520
3518
|
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
|
|
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 (baseCrumb() || !$first) {\r\n <span>/</span>\r\n }\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 @if (currentBreadcrumb() && currentBreadcrumb().trim() !== '') {\r\n @if (baseCrumb() || breadcrumbLocation().length > 0) {\r\n <span>/</span>\r\n }\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
3520
|
}], 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
3521
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 13 }); })();
|
|
3524
3522
|
|