@cauca-911/material 21.2.6 → 21.2.8

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.
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, ChangeDetectionStrategy, Component, input, output, signal, inject, HostListener, model, computed, Injector, ElementRef, Directive, forwardRef, TemplateRef, Input, Optional, Self, ContentChild, ViewChild, resource, effect, contentChildren, NgModule, Pipe, EventEmitter, Output } from '@angular/core';
2
+ import { Injectable, ChangeDetectionStrategy, Component, input, output, signal, inject, HostListener, model, computed, Injector, ElementRef, Directive, forwardRef, TemplateRef, Input, Optional, Self, ContentChild, ViewChild, resource, effect, DestroyRef, contentChild, contentChildren, ViewEncapsulation, NgModule, Pipe, EventEmitter, Output } from '@angular/core';
3
3
  import * as i1 from '@ngx-translate/core';
4
4
  import { TranslateModule, TranslatePipe, TranslateService } from '@ngx-translate/core';
5
5
  import * as i1$5 from '@angular/material/dialog';
@@ -24,7 +24,7 @@ import * as i1$6 from '@angular/forms';
24
24
  import { Validators, NgControl, FormControlName, ControlContainer, FormControl, NG_VALUE_ACCESSOR, UntypedFormBuilder, ReactiveFormsModule, FormsModule, FormGroup, NgForm, FormGroupDirective, FormControlDirective, UntypedFormControl } from '@angular/forms';
25
25
  import { Clipboard } from '@angular/cdk/clipboard';
26
26
  import { MatMenuItem, MatMenuTrigger } from '@angular/material/menu';
27
- import { firstValueFrom, of, tap, mergeMap, catchError, finalize, throwError, filter, Subject, startWith, map, ReplaySubject, switchMap, EMPTY, combineLatest, distinctUntilChanged } from 'rxjs';
27
+ import { firstValueFrom, of, tap, mergeMap, catchError, finalize, throwError, filter, Subject, startWith, map, fromEvent, ReplaySubject, switchMap, EMPTY, combineLatest, distinctUntilChanged } from 'rxjs';
28
28
  import { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';
29
29
  import { BreakpointObserver } from '@angular/cdk/layout';
30
30
  import * as i4 from '@angular/cdk/text-field';
@@ -42,7 +42,7 @@ import { MatSelectModule } from '@angular/material/select';
42
42
  import * as i5 from 'ngx-mat-select-search';
43
43
  import { NgxMatSelectSearchModule } from 'ngx-mat-select-search';
44
44
  import * as i1$9 from '@angular/router';
45
- import { RouterModule, Router } from '@angular/router';
45
+ import { Router, RouterModule } from '@angular/router';
46
46
  import { MatTabGroup, MatTab } from '@angular/material/tabs';
47
47
 
48
48
  class CaucaMaterialService {
@@ -130,7 +130,7 @@ class MobileTimePickerComponent {
130
130
  MatIconModule,
131
131
  MatFormFieldModule,
132
132
  MatInputModule
133
- ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-icon-button (click)=\"valueUp()\">\n <mat-icon>keyboard_arrow_up</mat-icon>\n</button>\n<div>\n{{(value() < 10 ? '0' : '' ) + value()}}\n</div>\n<button mat-icon-button (click)=\"valueDown()\">\n <mat-icon>keyboard_arrow_down</mat-icon>\n</button>\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center;height:70px;font-family:var(--mat-form-field-container-text-font)}.mat-mdc-icon-button{height:24px;width:24px;line-height:24px;padding:0}\n"] }]
133
+ ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button mat-icon-button (click)=\"valueUp()\">\r\n <mat-icon>keyboard_arrow_up</mat-icon>\r\n</button>\r\n<div>\r\n{{(value() < 10 ? '0' : '' ) + value()}}\r\n</div>\r\n<button mat-icon-button (click)=\"valueDown()\">\r\n <mat-icon>keyboard_arrow_down</mat-icon>\r\n</button>\r\n", styles: [":host{display:flex;flex-direction:column;align-items:center;justify-content:center;height:70px;font-family:var(--mat-form-field-container-text-font)}.mat-mdc-icon-button{height:24px;width:24px;line-height:24px;padding:0}\n"] }]
134
134
  }], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] }); })();
135
135
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MobileTimePickerComponent, { className: "MobileTimePickerComponent", filePath: "lib/components/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.ts", lineNumber: 19 }); })();
136
136
 
@@ -171,11 +171,11 @@ class DesktopTimePickerComponent {
171
171
  type: Component,
172
172
  args: [{ selector: 'cauca-desktop-time-picker', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
173
173
  MatListModule
174
- ], template: "<mat-list [disabled]=\"disabled()?.all\">\n @for (option of options(); track option) {\n <mat-list-item [activated]=\"value() === option\" [disabled]=\"disabled()?.someOptions?.includes(option)\"\n (click)=\"valueChange.emit(option)\">{{(option < 10 ? '0' : '' ) + option}}</mat-list-item>\n }\n</mat-list>", styles: ["mat-list{width:50px;padding:0}mat-list .mat-mdc-list-item:not(.mat-mdc-list-item-interactive){cursor:pointer}>div::-webkit-scrollbar{display:none}::ng-deep .mdc-list-item__primary-text{font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}::ng-deep .mdc-list-item--activated{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color)}::ng-deep .mdc-list-item--activated .mdc-list-item__primary-text{color:var(--mat-datepicker-calendar-date-selected-state-text-color)}\n"] }]
174
+ ], template: "<mat-list [disabled]=\"disabled()?.all\">\r\n @for (option of options(); track option) {\r\n <mat-list-item [activated]=\"value() === option\" [disabled]=\"disabled()?.someOptions?.includes(option)\"\r\n (click)=\"valueChange.emit(option)\">{{(option < 10 ? '0' : '' ) + option}}</mat-list-item>\r\n }\r\n</mat-list>", styles: ["mat-list{width:50px;padding:0}mat-list .mat-mdc-list-item:not(.mat-mdc-list-item-interactive){cursor:pointer}>div::-webkit-scrollbar{display:none}::ng-deep .mdc-list-item__primary-text{font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}::ng-deep .mdc-list-item--activated{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color)}::ng-deep .mdc-list-item--activated .mdc-list-item__primary-text{color:var(--mat-datepicker-calendar-date-selected-state-text-color)}\n"] }]
175
175
  }], null, { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }] }); })();
176
176
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DesktopTimePickerComponent, { className: "DesktopTimePickerComponent", filePath: "lib/components/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.ts", lineNumber: 13 }); })();
177
177
 
178
- const _c0$d = (a0, a1) => ({ all: a0, someOptions: a1 });
178
+ const _c0$e = (a0, a1) => ({ all: a0, someOptions: a1 });
179
179
  function DialogDateTimePickerComponent_Conditional_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
180
180
  const _r1 = i0.ɵɵgetCurrentView();
181
181
  i0.ɵɵelementStart(0, "div", 8)(1, "cauca-desktop-time-picker", 13);
@@ -184,7 +184,7 @@ function DialogDateTimePickerComponent_Conditional_4_Conditional_0_Template(rf,
184
184
  } if (rf & 2) {
185
185
  const ctx_r1 = i0.ɵɵnextContext(2);
186
186
  i0.ɵɵadvance();
187
- i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0$d, ctx_r1.disabled.hours, ctx_r1.disabled.someHours))("options", ctx_r1.hours)("value", ctx_r1.selectedHour);
187
+ i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0$e, ctx_r1.disabled.hours, ctx_r1.disabled.someHours))("options", ctx_r1.hours)("value", ctx_r1.selectedHour);
188
188
  } }
189
189
  function DialogDateTimePickerComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
190
190
  const _r3 = i0.ɵɵgetCurrentView();
@@ -209,7 +209,7 @@ function DialogDateTimePickerComponent_Conditional_4_Conditional_3_Template(rf,
209
209
  } if (rf & 2) {
210
210
  const ctx_r1 = i0.ɵɵnextContext(2);
211
211
  i0.ɵɵadvance();
212
- i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0$d, ctx_r1.disabled.minutes, ctx_r1.disabled.someMinutes))("options", ctx_r1.minutes)("value", ctx_r1.selectedMinute);
212
+ i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0$e, ctx_r1.disabled.minutes, ctx_r1.disabled.someMinutes))("options", ctx_r1.minutes)("value", ctx_r1.selectedMinute);
213
213
  } }
214
214
  function DialogDateTimePickerComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
215
215
  const _r5 = i0.ɵɵgetCurrentView();
@@ -234,7 +234,7 @@ function DialogDateTimePickerComponent_Conditional_4_Conditional_6_Template(rf,
234
234
  } if (rf & 2) {
235
235
  const ctx_r1 = i0.ɵɵnextContext(2);
236
236
  i0.ɵɵadvance();
237
- i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0$d, ctx_r1.disabled.seconds, ctx_r1.disabled.someSeconds))("options", ctx_r1.seconds)("value", ctx_r1.selectedSecond);
237
+ i0.ɵɵproperty("disabled", i0.ɵɵpureFunction2(3, _c0$e, ctx_r1.disabled.seconds, ctx_r1.disabled.someSeconds))("options", ctx_r1.seconds)("value", ctx_r1.selectedSecond);
238
238
  } }
239
239
  function DialogDateTimePickerComponent_Conditional_4_Conditional_7_Template(rf, ctx) { if (rf & 1) {
240
240
  const _r7 = i0.ɵɵgetCurrentView();
@@ -519,7 +519,7 @@ class DialogDateTimePickerComponent {
519
519
  MatListModule,
520
520
  MobileTimePickerComponent,
521
521
  DesktopTimePickerComponent
522
- ], providers: [provideNativeDateAdapter()], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div mat-dialog-content>\n <div [ngClass]=\"showSeconds() ? 'show-seconds' : 'hide-seconds'\" class=\"date-time-picker\">\n <div class=\"calendar\">\n <mat-calendar\n [minDate]=\"minimumDate\"\n [maxDate]=\"maximumDate\"\n [selected]=\"selectedDate\"\n (selectedChange)=\"dateChanged($event)\"\n ></mat-calendar>\n </div>\n\n @if (showTime()) {\n @if (!showMobileUi) {\n <div class=\"hours\">\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.hours, someOptions: disabled.someHours}\" (valueChange)=\"hourChanged($event)\" [options]=\"hours\" [value]=\"selectedHour\"/>\n </div>\n }\n @if (showMobileUi) {\n <div class=\"hours\">\n <cauca-mobile-time-picker (valueChange)=\"hourChanged($event)\" [options]=\"hours\" [value]=\"selectedHour\" />\n </div>\n }\n\n @if (showMobileUi) {\n <div class=\"hour-and-minute-separator\">:</div>\n }\n\n @if (!showMobileUi) {\n <div class=\"minutes\">\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.minutes, someOptions: disabled.someMinutes}\" (valueChange)=\"minuteChanged($event)\" [options]=\"minutes\" [value]=\"selectedMinute\"/>\n </div>\n }\n @if (showMobileUi) {\n <div class=\"minutes\">\n <cauca-mobile-time-picker (valueChange)=\"minuteChanged($event)\" [options]=\"minutes\" [value]=\"selectedMinute\" />\n </div>\n }\n\n @if (showSeconds() && showMobileUi) {\n <div class=\"minute-and-second-separator\">:</div>\n }\n @if (showSeconds() && !showMobileUi) {\n <div class=\"seconds\">\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.seconds, someOptions: disabled.someSeconds}\" (valueChange)=\"secondChanged($event)\" [options]=\"seconds\" [value]=\"selectedSecond\"/>\n </div>\n }\n @if (showSeconds() && showMobileUi) {\n <div class=\"seconds\">\n <cauca-mobile-time-picker (valueChange)=\"secondChanged($event)\" [options]=\"seconds\" [value]=\"selectedSecond\" />\n </div>\n }\n }\n </div>\n</div>\n\n<div mat-dialog-actions align=\"end\">\n @if (showClearButton) {\n <button mat-stroked-button (click)=\"clear()\">\n @if (showButtonIcons) {\n <mat-icon>clear</mat-icon>\n }\n {{'material.clear' | translate}}\n </button>\n }\n <button color=\"primary\" mat-stroked-button (click)=\"cancel()\">\n @if (showButtonIcons) {\n <mat-icon>cancel</mat-icon>\n }\n {{'material.cancel' | translate}}\n </button>\n <button color=\"primary\" mat-raised-button cdkFocusInitial (click)=\"confirm()\">\n @if (showButtonIcons) {\n <mat-icon>check</mat-icon>\n }\n {{'material.ok' | translate}}\n </button>\n</div>", styles: ["div[mat-dialog-actions]{padding:8px;border-top:1px solid #ccc}div[mat-dialog-actions] button{margin:2px}.date-time-picker{display:grid;grid-template-areas:\"calendar hours minutes seconds\";height:350px;overflow:hidden;justify-content:center}.date-time-picker>div{overflow:auto;flex:1;max-width:50px;scrollbar-width:none;border-left:1px solid #ccc}.date-time-picker>div:first-child{flex:4;max-width:290px;border-left:none}.date-time-picker>div:first-child mat-calendar{width:290px;height:350px}.date-time-picker>div::-webkit-scrollbar{display:none}.date-time-picker ::ng-deep .mdc-list-item__primary-text{font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.date-time-picker ::ng-deep .mdc-list-item--activated{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color)}.date-time-picker ::ng-deep .mdc-list-item--activated .mdc-list-item__primary-text{color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.calendar{grid-area:calendar}.hours{grid-area:hours}.minutes{grid-area:minutes}.seconds{grid-area:seconds}.hour-and-minute-separator{grid-area:hour-and-minute-separator;display:flex;align-items:center;justify-content:center;font-weight:700}.minute-and-second-separator{grid-area:minute-and-second-separator;display:flex;align-items:center;justify-content:center;font-weight:700}@media only screen and (max-width:555px){.show-seconds{grid-template-areas:\"calendar calendar calendar calendar calendar calendar calendar\" \". hours hour-and-minute-separator minutes minute-and-second-separator seconds .\";grid-template-columns:auto 40px 2px 40px 2px 40px auto}.hide-seconds{grid-template-areas:\"calendar calendar calendar calendar calendar\" \". hours hour-and-minute-separator minutes .\";grid-template-columns:auto 40px 2px 40px auto}.date-time-picker{grid-template-rows:auto auto;height:450px}.date-time-picker>div{border-left:none}.date-time-picker>div:not(:first-child){height:70px}.date-time-picker>div:first-child{overflow:initial;flex:4;max-width:290px;border-left:none}}\n"] }]
522
+ ], providers: [provideNativeDateAdapter()], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div mat-dialog-content>\r\n <div [ngClass]=\"showSeconds() ? 'show-seconds' : 'hide-seconds'\" class=\"date-time-picker\">\r\n <div class=\"calendar\">\r\n <mat-calendar\r\n [minDate]=\"minimumDate\"\r\n [maxDate]=\"maximumDate\"\r\n [selected]=\"selectedDate\"\r\n (selectedChange)=\"dateChanged($event)\"\r\n ></mat-calendar>\r\n </div>\r\n\r\n @if (showTime()) {\r\n @if (!showMobileUi) {\r\n <div class=\"hours\">\r\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.hours, someOptions: disabled.someHours}\" (valueChange)=\"hourChanged($event)\" [options]=\"hours\" [value]=\"selectedHour\"/>\r\n </div>\r\n }\r\n @if (showMobileUi) {\r\n <div class=\"hours\">\r\n <cauca-mobile-time-picker (valueChange)=\"hourChanged($event)\" [options]=\"hours\" [value]=\"selectedHour\" />\r\n </div>\r\n }\r\n\r\n @if (showMobileUi) {\r\n <div class=\"hour-and-minute-separator\">:</div>\r\n }\r\n\r\n @if (!showMobileUi) {\r\n <div class=\"minutes\">\r\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.minutes, someOptions: disabled.someMinutes}\" (valueChange)=\"minuteChanged($event)\" [options]=\"minutes\" [value]=\"selectedMinute\"/>\r\n </div>\r\n }\r\n @if (showMobileUi) {\r\n <div class=\"minutes\">\r\n <cauca-mobile-time-picker (valueChange)=\"minuteChanged($event)\" [options]=\"minutes\" [value]=\"selectedMinute\" />\r\n </div>\r\n }\r\n\r\n @if (showSeconds() && showMobileUi) {\r\n <div class=\"minute-and-second-separator\">:</div>\r\n }\r\n @if (showSeconds() && !showMobileUi) {\r\n <div class=\"seconds\">\r\n <cauca-desktop-time-picker [disabled]=\"{all: disabled.seconds, someOptions: disabled.someSeconds}\" (valueChange)=\"secondChanged($event)\" [options]=\"seconds\" [value]=\"selectedSecond\"/>\r\n </div>\r\n }\r\n @if (showSeconds() && showMobileUi) {\r\n <div class=\"seconds\">\r\n <cauca-mobile-time-picker (valueChange)=\"secondChanged($event)\" [options]=\"seconds\" [value]=\"selectedSecond\" />\r\n </div>\r\n }\r\n }\r\n </div>\r\n</div>\r\n\r\n<div mat-dialog-actions align=\"end\">\r\n @if (showClearButton) {\r\n <button mat-stroked-button (click)=\"clear()\">\r\n @if (showButtonIcons) {\r\n <mat-icon>clear</mat-icon>\r\n }\r\n {{'material.clear' | translate}}\r\n </button>\r\n }\r\n <button color=\"primary\" mat-stroked-button (click)=\"cancel()\">\r\n @if (showButtonIcons) {\r\n <mat-icon>cancel</mat-icon>\r\n }\r\n {{'material.cancel' | translate}}\r\n </button>\r\n <button color=\"primary\" mat-raised-button cdkFocusInitial (click)=\"confirm()\">\r\n @if (showButtonIcons) {\r\n <mat-icon>check</mat-icon>\r\n }\r\n {{'material.ok' | translate}}\r\n </button>\r\n</div>", styles: ["div[mat-dialog-actions]{padding:8px;border-top:1px solid #ccc}div[mat-dialog-actions] button{margin:2px}.date-time-picker{display:grid;grid-template-areas:\"calendar hours minutes seconds\";height:350px;overflow:hidden;justify-content:center}.date-time-picker>div{overflow:auto;flex:1;max-width:50px;scrollbar-width:none;border-left:1px solid #ccc}.date-time-picker>div:first-child{flex:4;max-width:290px;border-left:none}.date-time-picker>div:first-child mat-calendar{width:290px;height:350px}.date-time-picker>div::-webkit-scrollbar{display:none}.date-time-picker ::ng-deep .mdc-list-item__primary-text{font-family:var(--mat-datepicker-calendar-text-font);font-size:var(--mat-datepicker-calendar-text-size)}.date-time-picker ::ng-deep .mdc-list-item--activated{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color)}.date-time-picker ::ng-deep .mdc-list-item--activated .mdc-list-item__primary-text{color:var(--mat-datepicker-calendar-date-selected-state-text-color)}.calendar{grid-area:calendar}.hours{grid-area:hours}.minutes{grid-area:minutes}.seconds{grid-area:seconds}.hour-and-minute-separator{grid-area:hour-and-minute-separator;display:flex;align-items:center;justify-content:center;font-weight:700}.minute-and-second-separator{grid-area:minute-and-second-separator;display:flex;align-items:center;justify-content:center;font-weight:700}@media only screen and (max-width:555px){.show-seconds{grid-template-areas:\"calendar calendar calendar calendar calendar calendar calendar\" \". hours hour-and-minute-separator minutes minute-and-second-separator seconds .\";grid-template-columns:auto 40px 2px 40px 2px 40px auto}.hide-seconds{grid-template-areas:\"calendar calendar calendar calendar calendar\" \". hours hour-and-minute-separator minutes .\";grid-template-columns:auto 40px 2px 40px auto}.date-time-picker{grid-template-rows:auto auto;height:450px}.date-time-picker>div{border-left:none}.date-time-picker>div:not(:first-child){height:70px}.date-time-picker>div:first-child{overflow:initial;flex:4;max-width:290px;border-left:none}}\n"] }]
523
523
  }], () => [], { onResize: [{
524
524
  type: HostListener,
525
525
  args: ['window:resize', ['$event']]
@@ -677,7 +677,7 @@ class CaucaDateTimePickerComponent {
677
677
  multi: true,
678
678
  useExisting: CaucaDateTimePickerComponent,
679
679
  }
680
- ], template: "<mat-form-field [subscriptSizing]=\"subscriptSizing()\">\n @if (label()) {\n <mat-label>{{ translateLabel() ? (label() | translate) : label() }}{{isRequired() ? '*' : ''}}</mat-label>\n }\n <input (focusout)=\"onTouched()\" matInput [value]=\"stringDate()\" readonly=\"readonly\">\n <button matSuffix mat-icon-button (click)=\"showDialog()\">\n <mat-icon>calendar_month</mat-icon>\n </button>\n</mat-form-field>", styles: [":host{display:block}mat-form-field{width:100%}\n"] }]
680
+ ], template: "<mat-form-field [subscriptSizing]=\"subscriptSizing()\">\r\n @if (label()) {\r\n <mat-label>{{ translateLabel() ? (label() | translate) : label() }}{{isRequired() ? '*' : ''}}</mat-label>\r\n }\r\n <input (focusout)=\"onTouched()\" matInput [value]=\"stringDate()\" readonly=\"readonly\">\r\n <button matSuffix mat-icon-button (click)=\"showDialog()\">\r\n <mat-icon>calendar_month</mat-icon>\r\n </button>\r\n</mat-form-field>", styles: [":host{display:block}mat-form-field{width:100%}\n"] }]
681
681
  }], null, { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], subscriptSizing: [{ type: i0.Input, args: [{ isSignal: true, alias: "subscriptSizing", required: false }] }], showTime: [{ type: i0.Input, args: [{ isSignal: true, alias: "showTime", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], translateLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "translateLabel", required: false }] }], stepHours: [{ type: i0.Input, args: [{ isSignal: true, alias: "stepHours", required: false }] }], stepMinutes: [{ type: i0.Input, args: [{ isSignal: true, alias: "stepMinutes", required: false }] }], stepSecondes: [{ type: i0.Input, args: [{ isSignal: true, alias: "stepSecondes", required: false }] }], minimumDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimumDate", required: false }] }], maximumDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "maximumDate", required: false }] }], showSeconds: [{ type: i0.Input, args: [{ isSignal: true, alias: "showSeconds", required: false }] }], showFormat: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFormat", required: false }] }], showClearButton: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClearButton", required: false }] }], showButtonIcons: [{ type: i0.Input, args: [{ isSignal: true, alias: "showButtonIcons", required: false }] }], selectedChange: [{ type: i0.Output, args: ["selectedChange"] }] }); })();
682
682
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaDateTimePickerComponent, { className: "CaucaDateTimePickerComponent", filePath: "lib/components/cauca-date-time-picker/cauca-date-time-picker.component.ts", lineNumber: 34 }); })();
683
683
 
@@ -1082,7 +1082,7 @@ class ButtonComponent {
1082
1082
  }
1083
1083
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
1084
1084
  type: Component,
1085
- args: [{ selector: 'cauca-button', imports: [MatIconModule, MatButtonModule, NgClass], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (type() === 'basic') {\n <button [ngClass]=\"class()\" mat-button (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-basic\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}\n\n@if (type() === 'raised') {\n <button [ngClass]=\"class()\" matButton=\"elevated\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-raised\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}\n\n@if (type() === 'stroked') {\n <button [ngClass]=\"class()\" matButton=\"outlined\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-stroked\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}\n\n@if (type() === 'flat') {\n <button [ngClass]=\"class()\" matButton=\"filled\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-flat\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}\n\n@if (type() === 'icon') {\n <button [ngClass]=\"class()\" matIconButton (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-icon\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n </button>\n}\n\n@if (type() === 'fab') {\n <button [ngClass]=\"class()\" matFab (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-icon\">\n @if (inProgress() || icon()) {\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\n }\n <span>{{label()}}</span>\n </button>\n}", styles: ["@keyframes spinner{to{transform:rotate(360deg)}}.button-spin{animation:spinner 1s linear infinite}\n"] }]
1085
+ args: [{ selector: 'cauca-button', imports: [MatIconModule, MatButtonModule, NgClass], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (type() === 'basic') {\r\n <button [ngClass]=\"class()\" mat-button (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-basic\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}\r\n\r\n@if (type() === 'raised') {\r\n <button [ngClass]=\"class()\" matButton=\"elevated\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-raised\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}\r\n\r\n@if (type() === 'stroked') {\r\n <button [ngClass]=\"class()\" matButton=\"outlined\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-stroked\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}\r\n\r\n@if (type() === 'flat') {\r\n <button [ngClass]=\"class()\" matButton=\"filled\" (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-flat\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}\r\n\r\n@if (type() === 'icon') {\r\n <button [ngClass]=\"class()\" matIconButton (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-icon\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n </button>\r\n}\r\n\r\n@if (type() === 'fab') {\r\n <button [ngClass]=\"class()\" matFab (click)=\"buttonClick.emit()\" [disabled]=\"disable() || inProgress()\" [color]=\"color()\" class=\"button-icon\">\r\n @if (inProgress() || icon()) {\r\n <mat-icon [class.button-spin]=\"inProgress()\">{{ inProgress() ? 'update' : icon() }}</mat-icon>\r\n }\r\n <span>{{label()}}</span>\r\n </button>\r\n}", styles: ["@keyframes spinner{to{transform:rotate(360deg)}}.button-spin{animation:spinner 1s linear infinite}\n"] }]
1086
1086
  }], null, { class: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], inProgress: [{ type: i0.Input, args: [{ isSignal: true, alias: "inProgress", required: false }] }], disable: [{ type: i0.Input, args: [{ isSignal: true, alias: "disable", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], buttonClick: [{ type: i0.Output, args: ["buttonClick"] }] }); })();
1087
1087
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "lib/components/button/button.component.ts", lineNumber: 13 }); })();
1088
1088
 
@@ -1393,7 +1393,7 @@ class AlertDialogComponent {
1393
1393
  }
1394
1394
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlertDialogComponent, [{
1395
1395
  type: Component,
1396
- args: [{ selector: 'cauca-alert-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, RaisedButtonComponent, IconButtonComponent, MatDialogModule], template: "<div mat-dialog-title>\n <div class=\"h6\">{{ title | translate }}</div>\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\" />\n</div>\n<div class=\"alert-dialog-content\" mat-dialog-content>\n <p>{{ message | translate }}</p>\n</div>\n<mat-dialog-actions align=\"end\">\n <cauca-raised-button id=\"okButton\" label=\"ok\" color=\"primary\" (buttonClick)=\"closeClick()\" />\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.alert-dialog-content{white-space:pre-wrap}\n"] }]
1396
+ args: [{ selector: 'cauca-alert-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, RaisedButtonComponent, IconButtonComponent, MatDialogModule], template: "<div mat-dialog-title>\r\n <div class=\"h6\">{{ title | translate }}</div>\r\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\" />\r\n</div>\r\n<div class=\"alert-dialog-content\" mat-dialog-content>\r\n <p>{{ message | translate }}</p>\r\n</div>\r\n<mat-dialog-actions align=\"end\">\r\n <cauca-raised-button id=\"okButton\" label=\"ok\" color=\"primary\" (buttonClick)=\"closeClick()\" />\r\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.alert-dialog-content{white-space:pre-wrap}\n"] }]
1397
1397
  }], () => [], null); })();
1398
1398
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AlertDialogComponent, { className: "AlertDialogComponent", filePath: "lib/components/dialogs/alert-dialog/alert-dialog.component.ts", lineNumber: 18 }); })();
1399
1399
 
@@ -1449,7 +1449,7 @@ class ConfirmDialogComponent {
1449
1449
  }
1450
1450
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfirmDialogComponent, [{
1451
1451
  type: Component,
1452
- args: [{ selector: 'cauca-confirm-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, MatDialogModule, RaisedButtonComponent, StrokedButtonComponent, IconButtonComponent], template: "<div mat-dialog-title>\n <div class=\"h6 title\">{{ title | translate: options.titleArgs }}</div>\n <cauca-icon-button id=\"close-button\" (buttonClick)=\"cancelClick()\" icon=\"close\" />\n </div>\n <div mat-dialog-content>\n <p class=\"message\">{{ message | translate: options.messageArgs }}</p>\n </div>\n <mat-dialog-actions align=\"end\" class=\"action-buttons\">\n <cauca-stroked-button class=\"no-button\" [label]=\"options.noText\" [color]=\"options.noColor\" (buttonClick)=\"noClick()\" />\n <cauca-raised-button class=\"yes-button\" [label]=\"options.yesText\" [color]=\"options.yesColor\" (buttonClick)=\"yesClick()\" />\n </mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.yes-button{padding-left:8px}.message{white-space:pre-wrap}.title{padding-top:8px}.action-buttons{display:flex;align-items:center;flex-direction:row;gap:8px}\n"] }]
1452
+ args: [{ selector: 'cauca-confirm-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, MatDialogModule, RaisedButtonComponent, StrokedButtonComponent, IconButtonComponent], template: "<div mat-dialog-title>\r\n <div class=\"h6 title\">{{ title | translate: options.titleArgs }}</div>\r\n <cauca-icon-button id=\"close-button\" (buttonClick)=\"cancelClick()\" icon=\"close\" />\r\n </div>\r\n <div mat-dialog-content>\r\n <p class=\"message\">{{ message | translate: options.messageArgs }}</p>\r\n </div>\r\n <mat-dialog-actions align=\"end\" class=\"action-buttons\">\r\n <cauca-stroked-button class=\"no-button\" [label]=\"options.noText\" [color]=\"options.noColor\" (buttonClick)=\"noClick()\" />\r\n <cauca-raised-button class=\"yes-button\" [label]=\"options.yesText\" [color]=\"options.yesColor\" (buttonClick)=\"yesClick()\" />\r\n </mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.yes-button{padding-left:8px}.message{white-space:pre-wrap}.title{padding-top:8px}.action-buttons{display:flex;align-items:center;flex-direction:row;gap:8px}\n"] }]
1453
1453
  }], () => [], null); })();
1454
1454
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConfirmDialogComponent, { className: "ConfirmDialogComponent", filePath: "lib/components/dialogs/confirm-dialog/confirm-dialog.component.ts", lineNumber: 20 }); })();
1455
1455
 
@@ -1575,7 +1575,7 @@ class TextInputDialogComponent {
1575
1575
  }], () => [], null); })();
1576
1576
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextInputDialogComponent, { className: "TextInputDialogComponent", filePath: "lib/components/dialogs/text-input-dialog/text-input-dialog.component.ts", lineNumber: 20 }); })();
1577
1577
 
1578
- const _c0$c = a0 => ({ itemName: a0 });
1578
+ const _c0$d = a0 => ({ itemName: a0 });
1579
1579
  const _c1$2 = a0 => ({ itemType: a0 });
1580
1580
  function DeleteDialogComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
1581
1581
  i0.ɵɵelementStart(0, "div", 1);
@@ -1635,16 +1635,16 @@ class DeleteDialogComponent {
1635
1635
  i0.ɵɵadvance();
1636
1636
  i0.ɵɵconditional(ctx.itemGenderIsFemale ? 1 : 2);
1637
1637
  i0.ɵɵadvance(5);
1638
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, "deleteDialog.message", i0.ɵɵpureFunction1(5, _c0$c, ctx.itemName)));
1638
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, "deleteDialog.message", i0.ɵɵpureFunction1(5, _c0$d, ctx.itemName)));
1639
1639
  } }, dependencies: [MatDialogModule, i1$5.MatDialogTitle, i1$5.MatDialogActions, i1$5.MatDialogContent, TranslateModule, StrokedButtonComponent, IconButtonComponent, RaisedButtonComponent, i1.TranslatePipe], styles: ["@media(max-width:500px){ .dialog-global-style{max-width:100vw!important}} .dialog-global-style{margin:auto!important}[_nghost-%COMP%] > div[_ngcontent-%COMP%]:first-child{display:flex;align-items:center}[_nghost-%COMP%] > div[_ngcontent-%COMP%]:first-child div[_ngcontent-%COMP%]:first-child{flex:1}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{column-gap:8px}"], changeDetection: 0 }); }
1640
1640
  }
1641
1641
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DeleteDialogComponent, [{
1642
1642
  type: Component,
1643
- args: [{ selector: 'cauca-delete-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, TranslateModule, StrokedButtonComponent, IconButtonComponent, RaisedButtonComponent], template: "<div mat-dialog-title>\n @if (itemGenderIsFemale)\n {\n <div class=\"h6 title\">{{ ('deleteDialog.titleFemale' | translate:{itemType}) }}</div>\n } @else\n {\n <div class=\"h6 title\">{{ ('deleteDialog.titleMale' | translate:{itemType}) }}</div>\n }\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\" />\n</div>\n<div mat-dialog-content>\n <p>{{('deleteDialog.message' | translate:{itemName})}}</p>\n</div>\n<mat-dialog-actions align=\"end\">\n <cauca-stroked-button id=\"cancelButton\" label=\"cancel\" color=\"primary\" (buttonClick)=\"closeClick()\"/>\n <cauca-raised-button id=\"deleteButton\" label=\"delete\" color=\"warn\" (buttonClick)=\"deleteClick()\" />\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.mat-mdc-dialog-actions{column-gap:8px}\n"] }]
1643
+ args: [{ selector: 'cauca-delete-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, TranslateModule, StrokedButtonComponent, IconButtonComponent, RaisedButtonComponent], template: "<div mat-dialog-title>\r\n @if (itemGenderIsFemale)\r\n {\r\n <div class=\"h6 title\">{{ ('deleteDialog.titleFemale' | translate:{itemType}) }}</div>\r\n } @else\r\n {\r\n <div class=\"h6 title\">{{ ('deleteDialog.titleMale' | translate:{itemType}) }}</div>\r\n }\r\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\" />\r\n</div>\r\n<div mat-dialog-content>\r\n <p>{{('deleteDialog.message' | translate:{itemName})}}</p>\r\n</div>\r\n<mat-dialog-actions align=\"end\">\r\n <cauca-stroked-button id=\"cancelButton\" label=\"cancel\" color=\"primary\" (buttonClick)=\"closeClick()\"/>\r\n <cauca-raised-button id=\"deleteButton\" label=\"delete\" color=\"warn\" (buttonClick)=\"deleteClick()\" />\r\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}.mat-mdc-dialog-actions{column-gap:8px}\n"] }]
1644
1644
  }], () => [], null); })();
1645
1645
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DeleteDialogComponent, { className: "DeleteDialogComponent", filePath: "lib/components/dialogs/delete-dialog/delete-dialog.component.ts", lineNumber: 19 }); })();
1646
1646
 
1647
- const _c0$b = a0 => ({ itemName: a0 });
1647
+ const _c0$c = a0 => ({ itemName: a0 });
1648
1648
  class ErrorDialogComponent {
1649
1649
  constructor() {
1650
1650
  this.dialogRef = inject(MatDialogRef);
@@ -1677,12 +1677,12 @@ class ErrorDialogComponent {
1677
1677
  i0.ɵɵadvance(2);
1678
1678
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "errorDialog.titleError"));
1679
1679
  i0.ɵɵadvance(5);
1680
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(8, 4, "errorDialog.messageError", i0.ɵɵpureFunction1(7, _c0$b, ctx.itemName)));
1680
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(8, 4, "errorDialog.messageError", i0.ɵɵpureFunction1(7, _c0$c, ctx.itemName)));
1681
1681
  } }, dependencies: [MatDialogModule, i1$5.MatDialogTitle, i1$5.MatDialogActions, i1$5.MatDialogContent, TranslateModule, RaisedButtonComponent, IconButtonComponent, i1.TranslatePipe], styles: ["@media(max-width:500px){ .dialog-global-style{max-width:100vw!important}} .dialog-global-style{margin:auto!important}[_nghost-%COMP%] > div[_ngcontent-%COMP%]:first-child{display:flex;align-items:center}[_nghost-%COMP%] > div[_ngcontent-%COMP%]:first-child div[_ngcontent-%COMP%]:first-child{flex:1}"], changeDetection: 0 }); }
1682
1682
  }
1683
1683
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorDialogComponent, [{
1684
1684
  type: Component,
1685
- args: [{ selector: 'cauca-error-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, TranslateModule, RaisedButtonComponent, IconButtonComponent], template: "<div mat-dialog-title>\n <div class=\"h6\">{{('errorDialog.titleError' | translate)}}</div>\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\"/>\n</div>\n<div mat-dialog-content>\n <p>{{('errorDialog.messageError' | translate:{itemName})}}</p>\n</div>\n<mat-dialog-actions align=\"end\">\n <cauca-raised-button id=\"okButton\" label=\"ok\" color=\"warn\" (buttonClick)=\"closeClick()\"/>\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}\n"] }]
1685
+ args: [{ selector: 'cauca-error-dialog', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, TranslateModule, RaisedButtonComponent, IconButtonComponent], template: "<div mat-dialog-title>\r\n <div class=\"h6\">{{('errorDialog.titleError' | translate)}}</div>\r\n <cauca-icon-button id=\"closeButton\" (buttonClick)=\"closeClick()\" icon=\"close\"/>\r\n</div>\r\n<div mat-dialog-content>\r\n <p>{{('errorDialog.messageError' | translate:{itemName})}}</p>\r\n</div>\r\n<mat-dialog-actions align=\"end\">\r\n <cauca-raised-button id=\"okButton\" label=\"ok\" color=\"warn\" (buttonClick)=\"closeClick()\"/>\r\n</mat-dialog-actions>", styles: ["@media(max-width:500px){::ng-deep .dialog-global-style{max-width:100vw!important}}::ng-deep .dialog-global-style{margin:auto!important}:host>div:first-child{display:flex;align-items:center}:host>div:first-child div:first-child{flex:1}\n"] }]
1686
1686
  }], () => [], null); })();
1687
1687
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ErrorDialogComponent, { className: "ErrorDialogComponent", filePath: "lib/components/dialogs/error-dialog/error-dialog.component.ts", lineNumber: 18 }); })();
1688
1688
 
@@ -1824,7 +1824,7 @@ class LoadingStateService {
1824
1824
  type: Injectable
1825
1825
  }], null, null); })();
1826
1826
 
1827
- const _c0$a = ["*"];
1827
+ const _c0$b = ["*"];
1828
1828
  function SnackBarComponent_Conditional_10_Template(rf, ctx) { if (rf & 1) {
1829
1829
  const _r1 = i0.ɵɵgetCurrentView();
1830
1830
  i0.ɵɵelementStart(0, "cauca-stroked-button", 7);
@@ -1865,7 +1865,7 @@ class SnackBarComponent {
1865
1865
  this.buttonClick = output();
1866
1866
  }
1867
1867
  static { this.ɵfac = function SnackBarComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SnackBarComponent)(); }; }
1868
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SnackBarComponent, selectors: [["cauca-snackbar"]], inputs: { icon: [1, "icon"], caption: [1, "caption"], showCloseButton: [1, "showCloseButton"], type: [1, "type"], variant: [1, "variant"], buttonSpecificColor: [1, "buttonSpecificColor"], buttonIcon: [1, "buttonIcon"], inProgress: [1, "inProgress"], showButton: [1, "showButton"], buttonLabel: [1, "buttonLabel"] }, outputs: { closeClick: "closeClick", buttonClick: "buttonClick" }, ngContentSelectors: _c0$a, decls: 12, vars: 8, consts: [[1, "container"], [1, "icon-container"], [1, "text-container"], [1, "title", "alert-title"], [1, "message", "body2"], ["onkeypress", "buttonClick.emit()", 3, "color", "label", "isInProgress", "icon"], ["icon", "close", "onkeypress", "closeClick.emit()"], ["onkeypress", "buttonClick.emit()", 3, "click", "color", "label", "isInProgress", "icon"], ["icon", "close", "onkeypress", "closeClick.emit()", 3, "click"]], template: function SnackBarComponent_Template(rf, ctx) { if (rf & 1) {
1868
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SnackBarComponent, selectors: [["cauca-snackbar"]], inputs: { icon: [1, "icon"], caption: [1, "caption"], showCloseButton: [1, "showCloseButton"], type: [1, "type"], variant: [1, "variant"], buttonSpecificColor: [1, "buttonSpecificColor"], buttonIcon: [1, "buttonIcon"], inProgress: [1, "inProgress"], showButton: [1, "showButton"], buttonLabel: [1, "buttonLabel"] }, outputs: { closeClick: "closeClick", buttonClick: "buttonClick" }, ngContentSelectors: _c0$b, decls: 12, vars: 8, consts: [[1, "container"], [1, "icon-container"], [1, "text-container"], [1, "title", "alert-title"], [1, "message", "body2"], ["onkeypress", "buttonClick.emit()", 3, "color", "label", "isInProgress", "icon"], ["icon", "close", "onkeypress", "closeClick.emit()"], ["onkeypress", "buttonClick.emit()", 3, "click", "color", "label", "isInProgress", "icon"], ["icon", "close", "onkeypress", "closeClick.emit()", 3, "click"]], template: function SnackBarComponent_Template(rf, ctx) { if (rf & 1) {
1869
1869
  i0.ɵɵprojectionDef();
1870
1870
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "mat-icon");
1871
1871
  i0.ɵɵtext(3);
@@ -1987,7 +1987,7 @@ class BadgeComponent {
1987
1987
  }
1988
1988
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BadgeComponent, [{
1989
1989
  type: Component,
1990
- args: [{ selector: 'cauca-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, MatChipsModule, MatIcon], template: "<mat-chip highlighted disableRipple [color]=\"color()\" [style.backgroundColor]=\"customColor()\" >\n <div class=\"mat-chip-content\">\n <mat-icon [style.color]=\"customTextColor()\">{{icon()}}</mat-icon>\n <div class=\"chip-label\" [style.textTransform]=\"textTransform()\" [style.color]=\"customTextColor()\">{{autoTranslate() ? (label() | translate) : label()}}</div>\n </div>\n</mat-chip>", styles: [".mat-chip-content{display:flex;justify-content:space-between;align-items:center;gap:8px}mat-icon{color:inherit}\n"] }]
1990
+ args: [{ selector: 'cauca-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, MatChipsModule, MatIcon], template: "<mat-chip highlighted disableRipple [color]=\"color()\" [style.backgroundColor]=\"customColor()\" >\r\n <div class=\"mat-chip-content\">\r\n <mat-icon [style.color]=\"customTextColor()\">{{icon()}}</mat-icon>\r\n <div class=\"chip-label\" [style.textTransform]=\"textTransform()\" [style.color]=\"customTextColor()\">{{autoTranslate() ? (label() | translate) : label()}}</div>\r\n </div>\r\n</mat-chip>", styles: [".mat-chip-content{display:flex;justify-content:space-between;align-items:center;gap:8px}mat-icon{color:inherit}\n"] }]
1991
1991
  }], null, { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: true }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], customColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "customColor", required: false }] }], customTextColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "customTextColor", required: false }] }], textTransform: [{ type: i0.Input, args: [{ isSignal: true, alias: "textTransform", required: false }] }], autoTranslate: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoTranslate", required: false }] }] }); })();
1992
1992
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BadgeComponent, { className: "BadgeComponent", filePath: "lib/components/presenters/badge/badge.component.ts", lineNumber: 14 }); })();
1993
1993
 
@@ -2035,17 +2035,17 @@ class IconComponent {
2035
2035
  }
2036
2036
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconComponent, [{
2037
2037
  type: Component,
2038
- args: [{ selector: 'cauca-icon', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [FontAwesomeModule], template: `
2039
- @if (isFontAwesome() && faIcon().length > 0) {
2040
- <div class="icon">
2041
- <fa-icon [icon]="faIcon()"></fa-icon>
2042
- </div>
2043
- }
2044
- @if (!isFontAwesome() && image()) {
2045
- <div class="icon">
2046
- <img [src]="image()" alt="icon" />
2047
- </div>
2048
- }
2038
+ args: [{ selector: 'cauca-icon', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [FontAwesomeModule], template: `
2039
+ @if (isFontAwesome() && faIcon().length > 0) {
2040
+ <div class="icon">
2041
+ <fa-icon [icon]="faIcon()"></fa-icon>
2042
+ </div>
2043
+ }
2044
+ @if (!isFontAwesome() && image()) {
2045
+ <div class="icon">
2046
+ <img [src]="image()" alt="icon" />
2047
+ </div>
2048
+ }
2049
2049
  `, styles: ["img{max-height:40px;height:40px}fa-icon{max-height:40px;height:40px}\n"] }]
2050
2050
  }], null, { icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }] }); })();
2051
2051
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconComponent, { className: "IconComponent", filePath: "lib/components/presenters/icon/icon.component.ts", lineNumber: 23 }); })();
@@ -2370,7 +2370,7 @@ class PasswordValidator {
2370
2370
  }
2371
2371
  }
2372
2372
 
2373
- const _c0$9 = ["*"];
2373
+ const _c0$a = ["*"];
2374
2374
  function PasswordSelectionComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
2375
2375
  i0.ɵɵelement(0, "cauca-password-criteria-viewer", 5);
2376
2376
  } if (rf & 2) {
@@ -2455,7 +2455,7 @@ class PasswordSelectionComponent {
2455
2455
  multi: true,
2456
2456
  useExisting: forwardRef(() => PasswordSelectionComponent),
2457
2457
  },
2458
- ])], ngContentSelectors: _c0$9, decls: 8, vars: 12, consts: [[3, "formGroup"], [1, "passwords"], ["formControlName", "password", 3, "autocomplete", "label", "translateLabel", "required"], ["formControlName", "confirmation", 3, "autocomplete", "label", "translateLabel", "required"], [1, "errors"], [3, "disabled", "passwordValidation"]], template: function PasswordSelectionComponent_Template(rf, ctx) { if (rf & 1) {
2458
+ ])], ngContentSelectors: _c0$a, decls: 8, vars: 12, consts: [[3, "formGroup"], [1, "passwords"], ["formControlName", "password", 3, "autocomplete", "label", "translateLabel", "required"], ["formControlName", "confirmation", 3, "autocomplete", "label", "translateLabel", "required"], [1, "errors"], [3, "disabled", "passwordValidation"]], template: function PasswordSelectionComponent_Template(rf, ctx) { if (rf & 1) {
2459
2459
  i0.ɵɵprojectionDef();
2460
2460
  i0.ɵɵelementStart(0, "form", 0)(1, "div", 1);
2461
2461
  i0.ɵɵelement(2, "cauca-password-input", 2)(3, "cauca-password-input", 3);
@@ -2543,7 +2543,7 @@ class DateRangePickerComponent {
2543
2543
  }], () => [], { range: [{ type: i0.Input, args: [{ isSignal: true, alias: "range", required: false }] }, { type: i0.Output, args: ["rangeChange"] }] }); })();
2544
2544
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateRangePickerComponent, { className: "DateRangePickerComponent", filePath: "lib/components/inputs/date-range-picker/date-range-picker.component.ts", lineNumber: 19 }); })();
2545
2545
 
2546
- const _c0$8 = ["auto"];
2546
+ const _c0$9 = ["auto"];
2547
2547
  const _c1$1 = ["chipInput"];
2548
2548
  const _c2$1 = a0 => ({ data: a0 });
2549
2549
  function DropdownChipAutocompleteComponent_For_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
@@ -2775,7 +2775,7 @@ class DropdownChipAutocompleteComponent {
2775
2775
  let _t;
2776
2776
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.optionTemplate = _t.first);
2777
2777
  } }, viewQuery: function DropdownChipAutocompleteComponent_Query(rf, ctx) { if (rf & 1) {
2778
- i0.ɵɵviewQuery(_c0$8, 5)(_c1$1, 5)(MatAutocompleteTrigger, 5);
2778
+ i0.ɵɵviewQuery(_c0$9, 5)(_c1$1, 5)(MatAutocompleteTrigger, 5);
2779
2779
  } if (rf & 2) {
2780
2780
  let _t;
2781
2781
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.matAutocomplete = _t.first);
@@ -2843,7 +2843,7 @@ class DropdownChipAutocompleteComponent {
2843
2843
  ], host: {
2844
2844
  '[id]': 'id',
2845
2845
  '[class.floating]': 'shouldLabelFloat',
2846
- }, template: "<div role=\"group\" class=\"dropdown-chip-autocomplete-container\">\n\n <mat-chip-grid #chipGrid [disabled]=\"disabled\">\n\n @for (key of value; track key) {\n <mat-chip highlighted [disabled]=\"disabled\" (removed)=\"removeSelectedItem(key)\" color=\"primary\">\n {{getValueDisplay(key)}}\n @if (allowRemove()) {\n <mat-icon matChipRemove>cancel</mat-icon>\n }\n </mat-chip>\n }\n\n <div class=\"input-wrapper\">\n <input\n #chipInput\n [(ngModel)]=\"searchValue\"\n [matAutocomplete]=\"auto\"\n [matChipInputFor]=\"chipGrid\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\n @if (value.length > 0 && canRemoveAll()) {\n <mat-icon matPrefix class=\"clearAll\" (click)=\"onClearAll();\">clear</mat-icon>\n }\n <mat-icon matSuffix>arrow_drop_down</mat-icon>\n </div>\n </mat-chip-grid>\n\n <mat-autocomplete #auto=\"matAutocomplete\" panelWidth=\"500px\" [class.full-width-field]=\"optionTemplate\" (optionSelected)=\"selectItemOnAutocomplete($event)\">\n @for (item of filteredListAutoComplete | async; track item) {\n <mat-option [value]=\"item[keyValue()]\" class=\"full-width-option\">\n @if (optionTemplate) {\n <ng-container *ngTemplateOutlet=\"optionTemplate; context: {data: item}\" />\n } @else {\n {{item[displayValue()]}}\n }\n </mat-option>\n }\n </mat-autocomplete>\n</div>\n\n", styles: ["span{opacity:0;transition:opacity .2s}:host.floating span{opacity:1}:host{cursor:pointer}:host mat-icon{align-self:center;color:var(--mat-select-enabled-arrow-color)}:host input.mat-mdc-chip-input{flex:1}.input-wrapper{flex:1;display:flex;flex-direction:row;gap:8px;align-items:center;flex-wrap:nowrap}.input-wrapper>input{flex:1;min-width:150px}.input-wrapper>mat-icon{flex-shrink:0}\n"] }]
2846
+ }, template: "<div role=\"group\" class=\"dropdown-chip-autocomplete-container\">\r\n\r\n <mat-chip-grid #chipGrid [disabled]=\"disabled\">\r\n\r\n @for (key of value; track key) {\r\n <mat-chip highlighted [disabled]=\"disabled\" (removed)=\"removeSelectedItem(key)\" color=\"primary\">\r\n {{getValueDisplay(key)}}\r\n @if (allowRemove()) {\r\n <mat-icon matChipRemove>cancel</mat-icon>\r\n }\r\n </mat-chip>\r\n }\r\n\r\n <div class=\"input-wrapper\">\r\n <input\r\n #chipInput\r\n [(ngModel)]=\"searchValue\"\r\n [matAutocomplete]=\"auto\"\r\n [matChipInputFor]=\"chipGrid\"\r\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\r\n @if (value.length > 0 && canRemoveAll()) {\r\n <mat-icon matPrefix class=\"clearAll\" (click)=\"onClearAll();\">clear</mat-icon>\r\n }\r\n <mat-icon matSuffix>arrow_drop_down</mat-icon>\r\n </div>\r\n </mat-chip-grid>\r\n\r\n <mat-autocomplete #auto=\"matAutocomplete\" panelWidth=\"500px\" [class.full-width-field]=\"optionTemplate\" (optionSelected)=\"selectItemOnAutocomplete($event)\">\r\n @for (item of filteredListAutoComplete | async; track item) {\r\n <mat-option [value]=\"item[keyValue()]\" class=\"full-width-option\">\r\n @if (optionTemplate) {\r\n <ng-container *ngTemplateOutlet=\"optionTemplate; context: {data: item}\" />\r\n } @else {\r\n {{item[displayValue()]}}\r\n }\r\n </mat-option>\r\n }\r\n </mat-autocomplete>\r\n</div>\r\n\r\n", styles: ["span{opacity:0;transition:opacity .2s}:host.floating span{opacity:1}:host{cursor:pointer}:host mat-icon{align-self:center;color:var(--mat-select-enabled-arrow-color)}:host input.mat-mdc-chip-input{flex:1}.input-wrapper{flex:1;display:flex;flex-direction:row;gap:8px;align-items:center;flex-wrap:nowrap}.input-wrapper>input{flex:1;min-width:150px}.input-wrapper>mat-icon{flex-shrink:0}\n"] }]
2847
2847
  }], () => [], { matAutocomplete: [{
2848
2848
  type: ViewChild,
2849
2849
  args: ['auto']
@@ -2975,7 +2975,7 @@ class ColorPickerComponent {
2975
2975
  }], () => [], { valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] }); })();
2976
2976
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ColorPickerComponent, { className: "ColorPickerComponent", filePath: "lib/components/inputs/color-picker/color-picker.component.ts", lineNumber: 23 }); })();
2977
2977
 
2978
- const _c0$7 = ["singleSelect"];
2978
+ const _c0$8 = ["singleSelect"];
2979
2979
  const _c1 = ["*"];
2980
2980
  const _c2 = () => [];
2981
2981
  function SelectWithSearchComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
@@ -3062,7 +3062,7 @@ class SelectWithSearchComponent {
3062
3062
  }
3063
3063
  static { this.ɵfac = function SelectWithSearchComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectWithSearchComponent)(); }; }
3064
3064
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectWithSearchComponent, selectors: [["cauca-select-with-search"]], viewQuery: function SelectWithSearchComponent_Query(rf, ctx) { if (rf & 1) {
3065
- i0.ɵɵviewQuery(_c0$7, 7);
3065
+ i0.ɵɵviewQuery(_c0$8, 7);
3066
3066
  } if (rf & 2) {
3067
3067
  let _t;
3068
3068
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.singleSelect = _t.first);
@@ -3093,20 +3093,20 @@ class SelectWithSearchComponent {
3093
3093
  }
3094
3094
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectWithSearchComponent, [{
3095
3095
  type: Component,
3096
- args: [{ selector: 'cauca-select-with-search', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatSelectModule, TranslateModule, MatFormFieldModule, ReactiveFormsModule, FormsModule, NgxMatSelectSearchModule], template: "<mat-form-field class=\"full-width-field header dense\" subscriptSizing=\"dynamic\">\n <ng-content></ng-content>\n <mat-label>{{ label() | translate }}</mat-label>\n <mat-select [value]=\"value()\" (valueChange)=\"onSelectionChange($event)\" [disabled]=\"disableControl()\" [class.readonly-field]=\"disableControl()\" [multiple]=\"allowMultiSelection()\" >\n @if (enableSearch()) {\n <mat-option>\n <ngx-mat-select-search [formControl]=\"optionFilterControl\" [placeholderLabel]=\"'search' | translate\"\n [noEntriesFoundLabel]=\"'noResult' | translate\">\n </ngx-mat-select-search>\n </mat-option>\n }\n @for (option of filteredOptions.value() || []; track option) {\n <mat-option [value]=\"option.id\">\n {{option.name}}\n </mat-option>\n }\n </mat-select>\n\n</mat-form-field>" }]
3096
+ args: [{ selector: 'cauca-select-with-search', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatSelectModule, TranslateModule, MatFormFieldModule, ReactiveFormsModule, FormsModule, NgxMatSelectSearchModule], template: "<mat-form-field class=\"full-width-field header dense\" subscriptSizing=\"dynamic\">\r\n <ng-content></ng-content>\r\n <mat-label>{{ label() | translate }}</mat-label>\r\n <mat-select [value]=\"value()\" (valueChange)=\"onSelectionChange($event)\" [disabled]=\"disableControl()\" [class.readonly-field]=\"disableControl()\" [multiple]=\"allowMultiSelection()\" >\r\n @if (enableSearch()) {\r\n <mat-option>\r\n <ngx-mat-select-search [formControl]=\"optionFilterControl\" [placeholderLabel]=\"'search' | translate\"\r\n [noEntriesFoundLabel]=\"'noResult' | translate\">\r\n </ngx-mat-select-search>\r\n </mat-option>\r\n }\r\n @for (option of filteredOptions.value() || []; track option) {\r\n <mat-option [value]=\"option.id\">\r\n {{option.name}}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n\r\n</mat-form-field>" }]
3097
3097
  }], () => [], { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: true }] }], selectFirstOptionByDefault: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectFirstOptionByDefault", required: false }] }], isDisabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "isDisabled", required: false }] }], allowMultiSelection: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowMultiSelection", required: false }] }], showClearOption: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClearOption", required: false }] }], enableSearch: [{ type: i0.Input, args: [{ isSignal: true, alias: "enableSearch", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }], singleSelect: [{
3098
3098
  type: ViewChild,
3099
3099
  args: ['singleSelect', { static: true }]
3100
3100
  }] }); })();
3101
3101
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectWithSearchComponent, { className: "SelectWithSearchComponent", filePath: "lib/components/inputs/select-with-search/select-with-search.component.ts", lineNumber: 23 }); })();
3102
3102
 
3103
- const _c0$6 = ["*"];
3103
+ const _c0$7 = ["*"];
3104
3104
  class GroupContainerComponent {
3105
3105
  constructor() {
3106
3106
  this.caption = input(...(ngDevMode ? [undefined, { debugName: "caption" }] : []));
3107
3107
  }
3108
3108
  static { this.ɵfac = function GroupContainerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GroupContainerComponent)(); }; }
3109
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GroupContainerComponent, selectors: [["cauca-group-container"]], inputs: { caption: [1, "caption"] }, ngContentSelectors: _c0$6, decls: 6, vars: 3, consts: [[1, "group-container"], [1, "group-container-title", "subtitle1"], [1, "group-container-content"]], template: function GroupContainerComponent_Template(rf, ctx) { if (rf & 1) {
3109
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GroupContainerComponent, selectors: [["cauca-group-container"]], inputs: { caption: [1, "caption"] }, ngContentSelectors: _c0$7, decls: 6, vars: 3, consts: [[1, "group-container"], [1, "group-container-title", "subtitle1"], [1, "group-container-content"]], template: function GroupContainerComponent_Template(rf, ctx) { if (rf & 1) {
3110
3110
  i0.ɵɵprojectionDef();
3111
3111
  i0.ɵɵdomElementStart(0, "div", 0)(1, "div", 1);
3112
3112
  i0.ɵɵtext(2);
@@ -3126,7 +3126,7 @@ class GroupContainerComponent {
3126
3126
  }], null, { caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }] }); })();
3127
3127
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GroupContainerComponent, { className: "GroupContainerComponent", filePath: "lib/components/layout/group-container/group-container.component.ts", lineNumber: 12 }); })();
3128
3128
 
3129
- const _c0$5 = ["*"];
3129
+ const _c0$6 = ["*"];
3130
3130
  function MainSectionComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
3131
3131
  i0.ɵɵdomElementStart(0, "div", 1);
3132
3132
  i0.ɵɵtext(1);
@@ -3142,7 +3142,7 @@ class MainSectionComponent {
3142
3142
  this.title = input('', ...(ngDevMode ? [{ debugName: "title" }] : []));
3143
3143
  }
3144
3144
  static { this.ɵfac = function MainSectionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MainSectionComponent)(); }; }
3145
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MainSectionComponent, selectors: [["cauca-main-section"]], inputs: { title: [1, "title"] }, ngContentSelectors: _c0$5, decls: 4, vars: 1, consts: [[1, "section"], [1, "section-description", "subtitle1"], [1, "section-fields"]], template: function MainSectionComponent_Template(rf, ctx) { if (rf & 1) {
3145
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MainSectionComponent, selectors: [["cauca-main-section"]], inputs: { title: [1, "title"] }, ngContentSelectors: _c0$6, decls: 4, vars: 1, consts: [[1, "section"], [1, "section-description", "subtitle1"], [1, "section-fields"]], template: function MainSectionComponent_Template(rf, ctx) { if (rf & 1) {
3146
3146
  i0.ɵɵprojectionDef();
3147
3147
  i0.ɵɵdomElementStart(0, "div", 0);
3148
3148
  i0.ɵɵconditionalCreate(1, MainSectionComponent_Conditional_1_Template, 3, 3, "div", 1);
@@ -3160,13 +3160,13 @@ class MainSectionComponent {
3160
3160
  }], null, { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }] }); })();
3161
3161
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MainSectionComponent, { className: "MainSectionComponent", filePath: "lib/components/layout/sections/main-section/main-section.component.ts", lineNumber: 11 }); })();
3162
3162
 
3163
- const _c0$4 = ["*"];
3163
+ const _c0$5 = ["*"];
3164
3164
  class SectionColumnComponent {
3165
3165
  constructor() {
3166
3166
  this.showBigGap = input(false, ...(ngDevMode ? [{ debugName: "showBigGap" }] : []));
3167
3167
  }
3168
3168
  static { this.ɵfac = function SectionColumnComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SectionColumnComponent)(); }; }
3169
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SectionColumnComponent, selectors: [["cauca-section-column"]], inputs: { showBigGap: [1, "showBigGap"] }, ngContentSelectors: _c0$4, decls: 2, vars: 2, consts: [[1, "section-columns"]], template: function SectionColumnComponent_Template(rf, ctx) { if (rf & 1) {
3169
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SectionColumnComponent, selectors: [["cauca-section-column"]], inputs: { showBigGap: [1, "showBigGap"] }, ngContentSelectors: _c0$5, decls: 2, vars: 2, consts: [[1, "section-columns"]], template: function SectionColumnComponent_Template(rf, ctx) { if (rf & 1) {
3170
3170
  i0.ɵɵprojectionDef();
3171
3171
  i0.ɵɵdomElementStart(0, "div", 0);
3172
3172
  i0.ɵɵprojection(1);
@@ -3266,88 +3266,109 @@ class SectionFieldComponent {
3266
3266
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionFieldComponent, { className: "SectionFieldComponent", filePath: "lib/components/layout/sections/section-field/section-field.component.ts", lineNumber: 12 }); })();
3267
3267
 
3268
3268
  function PageTitleComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
3269
- i0.ɵɵelementStart(0, "div", 3);
3269
+ const _r1 = i0.ɵɵgetCurrentView();
3270
+ i0.ɵɵelementStart(0, "div", 3)(1, "cauca-button", 4);
3271
+ i0.ɵɵlistener("buttonClick", function PageTitleComponent_Conditional_4_Conditional_1_Template_cauca_button_buttonClick_1_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.backToLastBreadcrumbLink()); });
3272
+ i0.ɵɵelementEnd();
3273
+ i0.ɵɵelementStart(2, "span", 5);
3274
+ i0.ɵɵtext(3);
3275
+ i0.ɵɵpipe(4, "translate");
3276
+ i0.ɵɵelementEnd()();
3277
+ } if (rf & 2) {
3278
+ const ctx_r1 = i0.ɵɵnextContext(2);
3279
+ i0.ɵɵadvance(3);
3280
+ i0.ɵɵtextInterpolate(ctx_r1.mustTranslateBreadcrumb() ? i0.ɵɵpipeBind1(4, 1, ctx_r1.currentBreadcrumb()) : ctx_r1.currentBreadcrumb());
3281
+ } }
3282
+ function PageTitleComponent_Conditional_4_Conditional_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
3283
+ i0.ɵɵelementStart(0, "div", 6);
3270
3284
  i0.ɵɵtext(1);
3271
3285
  i0.ɵɵpipe(2, "translate");
3272
3286
  i0.ɵɵelementEnd();
3273
3287
  } if (rf & 2) {
3274
- const ctx_r0 = i0.ɵɵnextContext(2);
3288
+ const ctx_r1 = i0.ɵɵnextContext(3);
3275
3289
  i0.ɵɵadvance();
3276
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.baseCrumb()));
3290
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r1.baseCrumb()));
3277
3291
  } }
3278
- function PageTitleComponent_Conditional_4_For_3_Conditional_0_Template(rf, ctx) { if (rf & 1) {
3292
+ function PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_0_Template(rf, ctx) { if (rf & 1) {
3279
3293
  i0.ɵɵelementStart(0, "span");
3280
3294
  i0.ɵɵtext(1, "/");
3281
3295
  i0.ɵɵelementEnd();
3282
3296
  } }
3283
- function PageTitleComponent_Conditional_4_For_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
3284
- i0.ɵɵelementStart(0, "a", 5);
3297
+ function PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
3298
+ i0.ɵɵelementStart(0, "a", 7);
3285
3299
  i0.ɵɵtext(1);
3286
3300
  i0.ɵɵpipe(2, "translate");
3287
3301
  i0.ɵɵelementEnd();
3288
3302
  } if (rf & 2) {
3289
- const location_r2 = i0.ɵɵnextContext().$implicit;
3290
- i0.ɵɵproperty("href", location_r2.link, i0.ɵɵsanitizeUrl)("routerLink", location_r2.link);
3303
+ const location_r3 = i0.ɵɵnextContext().$implicit;
3304
+ i0.ɵɵproperty("href", location_r3.link, i0.ɵɵsanitizeUrl)("routerLink", location_r3.link);
3291
3305
  i0.ɵɵadvance();
3292
- i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, location_r2.title));
3306
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, location_r3.title));
3293
3307
  } }
3294
- function PageTitleComponent_Conditional_4_For_3_Conditional_2_Template(rf, ctx) { if (rf & 1) {
3295
- const _r3 = i0.ɵɵgetCurrentView();
3296
- i0.ɵɵelementStart(0, "span", 7);
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()); });
3308
+ function PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_2_Template(rf, ctx) { if (rf & 1) {
3309
+ const _r4 = i0.ɵɵgetCurrentView();
3310
+ i0.ɵɵelementStart(0, "span", 9);
3311
+ i0.ɵɵlistener("click", function PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_2_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r4); const location_r3 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(location_r3.action()); });
3298
3312
  i0.ɵɵtext(1);
3299
3313
  i0.ɵɵpipe(2, "translate");
3300
3314
  i0.ɵɵelementEnd();
3301
3315
  } if (rf & 2) {
3302
- const location_r2 = i0.ɵɵnextContext().$implicit;
3316
+ const location_r3 = i0.ɵɵnextContext().$implicit;
3303
3317
  i0.ɵɵadvance();
3304
- i0.ɵɵtextInterpolate(location_r2.translate ? i0.ɵɵpipeBind1(2, 1, location_r2.title) : location_r2.title);
3318
+ i0.ɵɵtextInterpolate(location_r3.translate ? i0.ɵɵpipeBind1(2, 1, location_r3.title) : location_r3.title);
3305
3319
  } }
3306
- function PageTitleComponent_Conditional_4_For_3_Conditional_3_Template(rf, ctx) { if (rf & 1) {
3307
- i0.ɵɵelementStart(0, "span", 3);
3320
+ function PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
3321
+ i0.ɵɵelementStart(0, "span", 6);
3308
3322
  i0.ɵɵtext(1);
3309
3323
  i0.ɵɵelementEnd();
3310
3324
  } if (rf & 2) {
3311
- const location_r2 = i0.ɵɵnextContext().$implicit;
3325
+ const location_r3 = i0.ɵɵnextContext().$implicit;
3312
3326
  i0.ɵɵadvance();
3313
- i0.ɵɵtextInterpolate(location_r2.title);
3327
+ i0.ɵɵtextInterpolate(location_r3.title);
3314
3328
  } }
3315
- function PageTitleComponent_Conditional_4_For_3_Template(rf, ctx) { if (rf & 1) {
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);
3329
+ function PageTitleComponent_Conditional_4_Conditional_2_For_2_Template(rf, ctx) { if (rf & 1) {
3330
+ i0.ɵɵconditionalCreate(0, PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_0_Template, 2, 0, "span");
3331
+ i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_1_Template, 3, 5, "a", 7)(2, PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_2_Template, 3, 3, "span", 8)(3, PageTitleComponent_Conditional_4_Conditional_2_For_2_Conditional_3_Template, 2, 1, "span", 6);
3318
3332
  } if (rf & 2) {
3319
- const location_r2 = ctx.$implicit;
3320
- const $index_r4 = ctx.$index;
3321
- const ctx_r0 = i0.ɵɵnextContext(2);
3322
- i0.ɵɵconditional(ctx_r0.baseCrumb() && $index_r4 === 0 ? 0 : -1);
3333
+ const location_r3 = ctx.$implicit;
3334
+ const $index_r5 = ctx.$index;
3335
+ const ctx_r1 = i0.ɵɵnextContext(3);
3336
+ i0.ɵɵconditional(ctx_r1.baseCrumb() && $index_r5 === 0 ? 0 : -1);
3323
3337
  i0.ɵɵadvance();
3324
- i0.ɵɵconditional(location_r2.link ? 1 : location_r2.action ? 2 : 3);
3338
+ i0.ɵɵconditional(location_r3.link ? 1 : location_r3.action ? 2 : 3);
3325
3339
  } }
3326
- function PageTitleComponent_Conditional_4_Conditional_4_Template(rf, ctx) { if (rf & 1) {
3340
+ function PageTitleComponent_Conditional_4_Conditional_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
3327
3341
  i0.ɵɵelementStart(0, "span");
3328
3342
  i0.ɵɵtext(1, "/");
3329
3343
  i0.ɵɵelementEnd();
3330
3344
  } }
3331
- function PageTitleComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
3332
- i0.ɵɵelementStart(0, "div", 2);
3333
- i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template, 3, 3, "div", 3);
3334
- i0.ɵɵrepeaterCreate(2, PageTitleComponent_Conditional_4_For_3_Template, 4, 2, null, null, i0.ɵɵrepeaterTrackByIdentity);
3335
- i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Conditional_4_Template, 2, 0, "span");
3336
- i0.ɵɵelementStart(5, "span", 4);
3337
- i0.ɵɵtext(6);
3338
- i0.ɵɵpipe(7, "translate");
3339
- i0.ɵɵelementEnd()();
3345
+ function PageTitleComponent_Conditional_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
3346
+ i0.ɵɵconditionalCreate(0, PageTitleComponent_Conditional_4_Conditional_2_Conditional_0_Template, 3, 3, "div", 6);
3347
+ i0.ɵɵrepeaterCreate(1, PageTitleComponent_Conditional_4_Conditional_2_For_2_Template, 4, 2, null, null, i0.ɵɵrepeaterTrackByIdentity);
3348
+ i0.ɵɵconditionalCreate(3, PageTitleComponent_Conditional_4_Conditional_2_Conditional_3_Template, 2, 0, "span");
3349
+ i0.ɵɵelementStart(4, "span", 5);
3350
+ i0.ɵɵtext(5);
3351
+ i0.ɵɵpipe(6, "translate");
3352
+ i0.ɵɵelementEnd();
3340
3353
  } if (rf & 2) {
3341
- let tmp_3_0;
3342
- const ctx_r0 = i0.ɵɵnextContext();
3343
- i0.ɵɵadvance();
3344
- i0.ɵɵconditional(ctx_r0.baseCrumb() ? 1 : -1);
3354
+ let tmp_4_0;
3355
+ const ctx_r1 = i0.ɵɵnextContext(2);
3356
+ i0.ɵɵconditional(ctx_r1.baseCrumb() ? 0 : -1);
3345
3357
  i0.ɵɵadvance();
3346
- i0.ɵɵrepeater(ctx_r0.breadcrumbLocation());
3358
+ i0.ɵɵrepeater(ctx_r1.breadcrumbLocation());
3347
3359
  i0.ɵɵadvance(2);
3348
- i0.ɵɵconditional(ctx_r0.baseCrumb() || ((tmp_3_0 = ctx_r0.breadcrumbLocation()) == null ? null : tmp_3_0.length) ? 4 : -1);
3360
+ i0.ɵɵconditional(ctx_r1.baseCrumb() || ((tmp_4_0 = ctx_r1.breadcrumbLocation()) == null ? null : tmp_4_0.length) ? 3 : -1);
3349
3361
  i0.ɵɵadvance(2);
3350
- i0.ɵɵtextInterpolate(ctx_r0.mustTranslateBreadcrumb() ? i0.ɵɵpipeBind1(7, 3, ctx_r0.currentBreadcrumb()) : ctx_r0.currentBreadcrumb());
3362
+ i0.ɵɵtextInterpolate(ctx_r1.mustTranslateBreadcrumb() ? i0.ɵɵpipeBind1(6, 3, ctx_r1.currentBreadcrumb()) : ctx_r1.currentBreadcrumb());
3363
+ } }
3364
+ function PageTitleComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
3365
+ i0.ɵɵelementStart(0, "div", 2);
3366
+ i0.ɵɵconditionalCreate(1, PageTitleComponent_Conditional_4_Conditional_1_Template, 5, 3, "div", 3)(2, PageTitleComponent_Conditional_4_Conditional_2_Template, 7, 5);
3367
+ i0.ɵɵelementEnd();
3368
+ } if (rf & 2) {
3369
+ const ctx_r1 = i0.ɵɵnextContext();
3370
+ i0.ɵɵadvance();
3371
+ i0.ɵɵconditional(ctx_r1.displayCompactBreadcrumb() ? 1 : 2);
3351
3372
  } }
3352
3373
  class PageTitleComponent {
3353
3374
  constructor() {
@@ -3357,33 +3378,294 @@ class PageTitleComponent {
3357
3378
  this.breadcrumb = input('', ...(ngDevMode ? [{ debugName: "breadcrumb" }] : []));
3358
3379
  this.baseCrumb = input('', ...(ngDevMode ? [{ debugName: "baseCrumb" }] : []));
3359
3380
  this.translateBreadcrumb = input(true, ...(ngDevMode ? [{ debugName: "translateBreadcrumb" }] : []));
3381
+ this.isMobile = input(false, ...(ngDevMode ? [{ debugName: "isMobile" }] : []));
3360
3382
  this.displayBreadcrumb = computed(() => this.showBreadcrumb() || this.breadcrumbService?.showBreadcrumb(), ...(ngDevMode ? [{ debugName: "displayBreadcrumb" }] : []));
3361
3383
  this.breadcrumbLocation = computed(() => this.breadcrumbService?.location() || this.location() || [], ...(ngDevMode ? [{ debugName: "breadcrumbLocation" }] : []));
3362
3384
  this.currentBreadcrumb = computed(() => this.breadcrumbService?.breadcrumb() || this.breadcrumb() || '', ...(ngDevMode ? [{ debugName: "currentBreadcrumb" }] : []));
3363
3385
  this.mustTranslateBreadcrumb = computed(() => this.breadcrumbService?.translateBreadcrumb() || this.translateBreadcrumb(), ...(ngDevMode ? [{ debugName: "mustTranslateBreadcrumb" }] : []));
3364
3386
  this.hasBreadcrumb = computed(() => this.currentBreadcrumb() !== '', ...(ngDevMode ? [{ debugName: "hasBreadcrumb" }] : []));
3387
+ this.hasLinkedBreadcrumb = computed(() => this.breadcrumbLocation().some((location) => !!location.link), ...(ngDevMode ? [{ debugName: "hasLinkedBreadcrumb" }] : []));
3388
+ this.displayCompactBreadcrumb = computed(() => this.isMobile() && this.hasLinkedBreadcrumb(), ...(ngDevMode ? [{ debugName: "displayCompactBreadcrumb" }] : []));
3365
3389
  this.breadcrumbService = inject(BreadcrumbService, { optional: true });
3390
+ this.router = inject(Router);
3391
+ }
3392
+ backToLastBreadcrumbLink() {
3393
+ const target = [...this.breadcrumbLocation()].reverse().find((location) => !!location.link);
3394
+ if (target?.link) {
3395
+ this.router.navigateByUrl(target.link);
3396
+ }
3366
3397
  }
3367
3398
  static { this.ɵfac = function PageTitleComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageTitleComponent)(); }; }
3368
- 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, "breadcrumb-current"], [1, "basecrumb", 3, "href", "routerLink"], [1, "basecrumb", "crumb-link"], [1, "basecrumb", "crumb-link", 3, "click"]], template: function PageTitleComponent_Template(rf, ctx) { if (rf & 1) {
3399
+ 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"], isMobile: [1, "isMobile"] }, decls: 5, vars: 4, consts: [[1, "title-section"], [1, "title-label"], [1, "breadcrumb"], [1, "breadcrumb-compact"], ["type", "icon", "icon", "arrow_back", "color", "primary", 3, "buttonClick"], [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) {
3369
3400
  i0.ɵɵelementStart(0, "div", 0)(1, "h4", 1);
3370
3401
  i0.ɵɵtext(2);
3371
3402
  i0.ɵɵpipe(3, "translate");
3372
3403
  i0.ɵɵelementEnd();
3373
- i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Template, 8, 5, "div", 2);
3404
+ i0.ɵɵconditionalCreate(4, PageTitleComponent_Conditional_4_Template, 3, 1, "div", 2);
3374
3405
  i0.ɵɵelementEnd();
3375
3406
  } if (rf & 2) {
3376
3407
  i0.ɵɵadvance(2);
3377
3408
  i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, ctx.caption()));
3378
3409
  i0.ɵɵadvance(2);
3379
3410
  i0.ɵɵconditional(ctx.displayBreadcrumb() ? 4 : -1);
3380
- } }, dependencies: [TranslateModule, RouterModule, i1$9.RouterLink, i1.TranslatePipe], styles: [".title-section[_ngcontent-%COMP%]{display:flex;gap:8px;flex-direction:column;align-items:flex-start;align-self:stretch;margin-bottom:24px}.breadcrumb[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}h4[_ngcontent-%COMP%]{padding:0}a[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:visited{color:inherit}.basecrumb[_ngcontent-%COMP%]{color:#12101499}.crumb-link[_ngcontent-%COMP%]{cursor:pointer}@media(max-width:500px){.title-section[_ngcontent-%COMP%]{padding:16px}}"], changeDetection: 0 }); }
3411
+ } }, dependencies: [TranslateModule, RouterModule, i1$9.RouterLink, ButtonComponent, i1.TranslatePipe], styles: [".title-section[_ngcontent-%COMP%]{display:flex;gap:8px;flex-direction:column;align-items:flex-start;align-self:stretch;margin-bottom:24px}.breadcrumb[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.breadcrumb-compact[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px}h4[_ngcontent-%COMP%]{padding:0}a[_ngcontent-%COMP%]{text-decoration:none}a[_ngcontent-%COMP%]:visited{color:inherit}.basecrumb[_ngcontent-%COMP%]{color:#12101499}.crumb-link[_ngcontent-%COMP%]{cursor:pointer}@media(max-width:500px){.title-section[_ngcontent-%COMP%]{padding:16px}}"], changeDetection: 0 }); }
3381
3412
  }
3382
3413
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageTitleComponent, [{
3383
3414
  type: Component,
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"] }]
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 }] }] }); })();
3386
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 14 }); })();
3415
+ args: [{ selector: 'cauca-page-title', changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, RouterModule, ButtonComponent], 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 @if (displayCompactBreadcrumb()) {\r\n <div class=\"breadcrumb-compact\">\r\n <cauca-button type=\"icon\" icon=\"arrow_back\" (buttonClick)=\"backToLastBreadcrumbLink()\" color=\"primary\" />\r\n <span class=\"breadcrumb-current\">{{ mustTranslateBreadcrumb() ? (currentBreadcrumb() | translate) : currentBreadcrumb() }}</span>\r\n </div>\r\n } @else {\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() && $index === 0) {\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 @if (baseCrumb() || breadcrumbLocation()?.length) {\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}.breadcrumb-compact{display:flex;align-items:center;gap:4px}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"] }]
3416
+ }], 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 }] }], isMobile: [{ type: i0.Input, args: [{ isSignal: true, alias: "isMobile", required: false }] }] }); })();
3417
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 16 }); })();
3418
+
3419
+ const _c0$4 = ["*"];
3420
+ class ResponsiveTabGroupWrapperComponent {
3421
+ constructor() {
3422
+ this.mobile = input(false, ...(ngDevMode ? [{ debugName: "mobile" }] : []));
3423
+ this.destroyRef = inject(DestroyRef);
3424
+ this.elementRef = inject(ElementRef);
3425
+ this.tabGroup = contentChild.required(MatTabGroup);
3426
+ this.tabs = contentChildren(MatTab, { ...(ngDevMode ? { debugName: "tabs" } : {}), descendants: true });
3427
+ this.swipeThreshold = 48;
3428
+ this.swipePreviewThreshold = 16;
3429
+ this.swipePreviewMaxOffsetPx = 300;
3430
+ this.touchStartX = null;
3431
+ this.touchStartY = null;
3432
+ this.previousSelectedIndex = 0;
3433
+ }
3434
+ ngAfterViewInit() {
3435
+ const tabGroup = this.tabGroup();
3436
+ this.getTabGroupElement()?.classList.add('cauca-responsive-tab-group-content');
3437
+ this.previousSelectedIndex = tabGroup.selectedIndex ?? 0;
3438
+ this.applyNavigationDirectionClass('forward');
3439
+ this.bindHeaderPaginationControls();
3440
+ this.subscribeToSelectedIndexChanges(tabGroup);
3441
+ queueMicrotask(() => this.scheduleHeaderPaginationStateSync());
3442
+ }
3443
+ onWindowResize() {
3444
+ this.scheduleHeaderPaginationStateSync();
3445
+ }
3446
+ onTouchStart(event) {
3447
+ if (!this.isSwipeEnabled() || !this.isTouchInsideTabBody(event) || event.touches.length !== 1) {
3448
+ return;
3449
+ }
3450
+ const touch = event.touches[0];
3451
+ this.clearSwipePreview();
3452
+ this.touchStartX = touch.clientX;
3453
+ this.touchStartY = touch.clientY;
3454
+ }
3455
+ onTouchMove(event) {
3456
+ if (!this.isSwipeEnabled() || this.touchStartX === null || this.touchStartY === null || event.touches.length !== 1) {
3457
+ return;
3458
+ }
3459
+ const touch = event.touches[0];
3460
+ const deltaX = touch.clientX - this.touchStartX;
3461
+ const deltaY = touch.clientY - this.touchStartY;
3462
+ if (Math.abs(deltaX) < this.swipePreviewThreshold || Math.abs(deltaX) <= Math.abs(deltaY)) {
3463
+ return;
3464
+ }
3465
+ if (deltaX < 0 && this.isLastTabSelected()) {
3466
+ return;
3467
+ }
3468
+ if (deltaX > 0 && this.isFirstTabSelected()) {
3469
+ return;
3470
+ }
3471
+ this.applySwipePreview(deltaX);
3472
+ }
3473
+ onTouchEnd(event) {
3474
+ if (!this.isSwipeEnabled() || this.touchStartX === null || this.touchStartY === null || event.changedTouches.length !== 1) {
3475
+ this.resetTouchState();
3476
+ return;
3477
+ }
3478
+ const touch = event.changedTouches[0];
3479
+ const deltaX = touch.clientX - this.touchStartX;
3480
+ const deltaY = touch.clientY - this.touchStartY;
3481
+ this.resetTouchState();
3482
+ if (Math.abs(deltaX) < this.swipeThreshold || Math.abs(deltaX) <= Math.abs(deltaY)) {
3483
+ return;
3484
+ }
3485
+ if (deltaX < 0) {
3486
+ this.goToNextTab();
3487
+ return;
3488
+ }
3489
+ this.goToPreviousTab();
3490
+ }
3491
+ onTouchCancel() {
3492
+ this.clearSwipePreview();
3493
+ this.resetTouchState();
3494
+ }
3495
+ subscribeToSelectedIndexChanges(tabGroup) {
3496
+ tabGroup.selectedIndexChange
3497
+ .pipe(takeUntilDestroyed(this.destroyRef))
3498
+ .subscribe((selectedIndex) => {
3499
+ const direction = selectedIndex >= this.previousSelectedIndex ? 'forward' : 'backward';
3500
+ this.clearSwipePreview();
3501
+ this.applyNavigationDirectionClass(direction);
3502
+ this.previousSelectedIndex = selectedIndex;
3503
+ this.scheduleHeaderPaginationStateSync();
3504
+ });
3505
+ }
3506
+ goToNextTab() {
3507
+ const tabGroup = this.tabGroup();
3508
+ this.clearSwipePreview();
3509
+ this.applyNavigationDirectionClass('forward');
3510
+ tabGroup.selectedIndex = Math.min((tabGroup.selectedIndex ?? 0) + 1, this.getTabCount() - 1);
3511
+ }
3512
+ goToPreviousTab() {
3513
+ const tabGroup = this.tabGroup();
3514
+ this.clearSwipePreview();
3515
+ this.applyNavigationDirectionClass('backward');
3516
+ tabGroup.selectedIndex = Math.max((tabGroup.selectedIndex ?? 0) - 1, 0);
3517
+ }
3518
+ resetTouchState() {
3519
+ this.touchStartX = null;
3520
+ this.touchStartY = null;
3521
+ }
3522
+ bindHeaderPaginationControls() {
3523
+ const { previousButton, nextButton } = this.getHeaderPaginationButtons();
3524
+ if (!previousButton || !nextButton) {
3525
+ return;
3526
+ }
3527
+ fromEvent(previousButton, 'pointerdown', { capture: true })
3528
+ .pipe(takeUntilDestroyed(this.destroyRef))
3529
+ .subscribe((event) => this.handleHeaderPaginationPointerDown('before', event));
3530
+ fromEvent(nextButton, 'pointerdown', { capture: true })
3531
+ .pipe(takeUntilDestroyed(this.destroyRef))
3532
+ .subscribe((event) => this.handleHeaderPaginationPointerDown('after', event));
3533
+ }
3534
+ handleHeaderPaginationPointerDown(direction, event) {
3535
+ if (!this.isSwipeEnabled()) {
3536
+ return;
3537
+ }
3538
+ if (event.button !== 0) {
3539
+ return;
3540
+ }
3541
+ event.preventDefault();
3542
+ event.stopImmediatePropagation();
3543
+ if (direction === 'before') {
3544
+ if (!this.isFirstTabSelected()) {
3545
+ this.goToPreviousTab();
3546
+ }
3547
+ return;
3548
+ }
3549
+ if (!this.isLastTabSelected()) {
3550
+ this.goToNextTab();
3551
+ }
3552
+ }
3553
+ syncHeaderPaginationState() {
3554
+ const { previousButton, nextButton } = this.getHeaderPaginationButtons();
3555
+ if (!previousButton || !nextButton) {
3556
+ return;
3557
+ }
3558
+ if (!this.isSwipeEnabled()) {
3559
+ this.setHeaderPaginationDisabled(previousButton, false);
3560
+ this.setHeaderPaginationDisabled(nextButton, false);
3561
+ return;
3562
+ }
3563
+ this.setHeaderPaginationDisabled(previousButton, this.isFirstTabSelected());
3564
+ this.setHeaderPaginationDisabled(nextButton, this.isLastTabSelected());
3565
+ }
3566
+ scheduleHeaderPaginationStateSync() {
3567
+ requestAnimationFrame(() => this.syncHeaderPaginationState());
3568
+ }
3569
+ setHeaderPaginationDisabled(button, disabled) {
3570
+ button.classList.toggle('mat-mdc-tab-header-pagination-disabled', disabled);
3571
+ button.setAttribute('aria-disabled', String(disabled));
3572
+ button.tabIndex = disabled ? -1 : 0;
3573
+ }
3574
+ isFirstTabSelected() {
3575
+ return (this.tabGroup().selectedIndex ?? 0) <= 0;
3576
+ }
3577
+ isLastTabSelected() {
3578
+ return (this.tabGroup().selectedIndex ?? 0) >= this.getTabCount() - 1;
3579
+ }
3580
+ getTabCount() {
3581
+ const projectedTabCount = this.tabs().length;
3582
+ if (projectedTabCount > 0) {
3583
+ return projectedTabCount;
3584
+ }
3585
+ return this.tabGroup()._tabs?.length ?? 0;
3586
+ }
3587
+ isSwipeEnabled() {
3588
+ if (this.mobile()) {
3589
+ return true;
3590
+ }
3591
+ return globalThis.window !== undefined && globalThis.matchMedia('(pointer: coarse)').matches;
3592
+ }
3593
+ isTouchInsideTabBody(event) {
3594
+ const target = event.target;
3595
+ return target instanceof Element && target.closest('.mat-mdc-tab-body-wrapper') !== null;
3596
+ }
3597
+ getTabGroupElement() {
3598
+ return this.elementRef.nativeElement.querySelector('mat-tab-group');
3599
+ }
3600
+ applyNavigationDirectionClass(direction) {
3601
+ const tabGroupElement = this.getTabGroupElement();
3602
+ if (!tabGroupElement) {
3603
+ return;
3604
+ }
3605
+ tabGroupElement.classList.toggle('cauca-responsive-tab-direction-forward', direction === 'forward');
3606
+ tabGroupElement.classList.toggle('cauca-responsive-tab-direction-backward', direction === 'backward');
3607
+ }
3608
+ applySwipePreview(deltaX) {
3609
+ const tabGroupElement = this.getTabGroupElement();
3610
+ if (!tabGroupElement) {
3611
+ return;
3612
+ }
3613
+ const normalizedProgress = Math.max(0, Math.min(1, (Math.abs(deltaX) - this.swipePreviewThreshold) / (this.swipeThreshold - this.swipePreviewThreshold)));
3614
+ const translateX = Math.sign(-deltaX) * normalizedProgress * this.swipePreviewMaxOffsetPx;
3615
+ tabGroupElement.classList.add('cauca-responsive-tab-preview-active');
3616
+ tabGroupElement.style.setProperty('--cauca-responsive-tab-preview-translate-x', `${translateX}px`);
3617
+ }
3618
+ clearSwipePreview() {
3619
+ const tabGroupElement = this.getTabGroupElement();
3620
+ if (!tabGroupElement) {
3621
+ return;
3622
+ }
3623
+ tabGroupElement.classList.remove('cauca-responsive-tab-preview-active');
3624
+ tabGroupElement.style.removeProperty('--cauca-responsive-tab-preview-translate-x');
3625
+ }
3626
+ getHeaderPaginationButtons() {
3627
+ return {
3628
+ previousButton: this.elementRef.nativeElement.querySelector('.mat-mdc-tab-header-pagination-before'),
3629
+ nextButton: this.elementRef.nativeElement.querySelector('.mat-mdc-tab-header-pagination-after'),
3630
+ };
3631
+ }
3632
+ static { this.ɵfac = function ResponsiveTabGroupWrapperComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ResponsiveTabGroupWrapperComponent)(); }; }
3633
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ResponsiveTabGroupWrapperComponent, selectors: [["cauca-responsive-tab-group-wrapper"]], contentQueries: function ResponsiveTabGroupWrapperComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
3634
+ i0.ɵɵcontentQuerySignal(dirIndex, ctx.tabGroup, MatTabGroup, 5)(dirIndex, ctx.tabs, MatTab, 5);
3635
+ } if (rf & 2) {
3636
+ i0.ɵɵqueryAdvance(2);
3637
+ } }, hostAttrs: [1, "cauca-responsive-tab-group-shell"], hostVars: 2, hostBindings: function ResponsiveTabGroupWrapperComponent_HostBindings(rf, ctx) { if (rf & 1) {
3638
+ i0.ɵɵlistener("resize", function ResponsiveTabGroupWrapperComponent_resize_HostBindingHandler() { return ctx.onWindowResize(); }, i0.ɵɵresolveWindow)("touchstart", function ResponsiveTabGroupWrapperComponent_touchstart_HostBindingHandler($event) { return ctx.onTouchStart($event); })("touchmove", function ResponsiveTabGroupWrapperComponent_touchmove_HostBindingHandler($event) { return ctx.onTouchMove($event); })("touchend", function ResponsiveTabGroupWrapperComponent_touchend_HostBindingHandler($event) { return ctx.onTouchEnd($event); })("touchcancel", function ResponsiveTabGroupWrapperComponent_touchcancel_HostBindingHandler() { return ctx.onTouchCancel(); });
3639
+ } if (rf & 2) {
3640
+ i0.ɵɵclassProp("cauca-responsive-tab-group-shell-mobile", ctx.mobile());
3641
+ } }, inputs: { mobile: [1, "mobile"] }, ngContentSelectors: _c0$4, decls: 1, vars: 0, template: function ResponsiveTabGroupWrapperComponent_Template(rf, ctx) { if (rf & 1) {
3642
+ i0.ɵɵprojectionDef();
3643
+ i0.ɵɵprojection(0);
3644
+ } }, styles: ["cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content{overflow-y:hidden;padding:16px}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-body-wrapper{overflow:hidden}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-body-content{padding:0;height:100%;display:flex;overflow:hidden}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content{padding:0}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-label-container{overflow-x:hidden;overflow-y:hidden}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination[aria-disabled=false]{opacity:1;pointer-events:auto}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination{display:flex;opacity:1}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination[aria-disabled=true]{opacity:.45;pointer-events:none}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-list{flex-grow:1;width:100%;transform:none!important}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-labels{flex:1 1 auto;width:100%}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab{display:none}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab.mdc-tab--active{display:inline-flex;flex:1 1 auto;max-width:100%;justify-content:center}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{transition:transform .1s linear}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content.cauca-responsive-tab-direction-forward .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:cauca-responsive-tab-underline-forward .4s ease-out;transform-origin:left center}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content.cauca-responsive-tab-direction-backward .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:cauca-responsive-tab-underline-backward .4s ease-out;transform-origin:right center}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content.cauca-responsive-tab-preview-active .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:none;transform:translate(var(--cauca-responsive-tab-preview-translate-x, 0px))}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-body-content{touch-action:pan-y}@media(max-width:768px){cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content{padding:0}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-label-container{overflow-x:hidden;overflow-y:hidden}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination[aria-disabled=false]{opacity:1;pointer-events:auto}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination{display:flex;opacity:1}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination[aria-disabled=true]{opacity:.45;pointer-events:none}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-list{flex-grow:1;width:100%;transform:none!important}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-labels{flex:1 1 auto;width:100%}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab{display:none}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab.mdc-tab--active{display:inline-flex;flex:1 1 auto;max-width:100%;justify-content:center}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{transition:transform .1s linear}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content.cauca-responsive-tab-direction-forward .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:cauca-responsive-tab-underline-forward .4s ease-out;transform-origin:left center}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content.cauca-responsive-tab-direction-backward .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:cauca-responsive-tab-underline-backward .4s ease-out;transform-origin:right center}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content.cauca-responsive-tab-preview-active .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:none;transform:translate(var(--cauca-responsive-tab-preview-translate-x, 0px))}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-body-content{touch-action:pan-y}}@keyframes cauca-responsive-tab-underline-forward{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes cauca-responsive-tab-underline-backward{0%{transform:scaleX(0)}to{transform:scaleX(1)}}\n"], encapsulation: 2, changeDetection: 0 }); }
3645
+ }
3646
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResponsiveTabGroupWrapperComponent, [{
3647
+ type: Component,
3648
+ args: [{ selector: 'cauca-responsive-tab-group-wrapper', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
3649
+ class: 'cauca-responsive-tab-group-shell',
3650
+ '[class.cauca-responsive-tab-group-shell-mobile]': 'mobile()'
3651
+ }, template: "<ng-content />\r\n", styles: ["cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content{overflow-y:hidden;padding:16px}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-body-wrapper{overflow:hidden}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-body-content{padding:0;height:100%;display:flex;overflow:hidden}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content{padding:0}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-label-container{overflow-x:hidden;overflow-y:hidden}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination[aria-disabled=false]{opacity:1;pointer-events:auto}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination{display:flex;opacity:1}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination[aria-disabled=true]{opacity:.45;pointer-events:none}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-list{flex-grow:1;width:100%;transform:none!important}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-labels{flex:1 1 auto;width:100%}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab{display:none}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab.mdc-tab--active{display:inline-flex;flex:1 1 auto;max-width:100%;justify-content:center}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{transition:transform .1s linear}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content.cauca-responsive-tab-direction-forward .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:cauca-responsive-tab-underline-forward .4s ease-out;transform-origin:left center}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content.cauca-responsive-tab-direction-backward .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:cauca-responsive-tab-underline-backward .4s ease-out;transform-origin:right center}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content.cauca-responsive-tab-preview-active .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:none;transform:translate(var(--cauca-responsive-tab-preview-translate-x, 0px))}cauca-responsive-tab-group-wrapper.cauca-responsive-tab-group-shell-mobile .cauca-responsive-tab-group-content .mat-mdc-tab-body-content{touch-action:pan-y}@media(max-width:768px){cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content{padding:0}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-label-container{overflow-x:hidden;overflow-y:hidden}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination[aria-disabled=false]{opacity:1;pointer-events:auto}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination{display:flex;opacity:1}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-header-pagination[aria-disabled=true]{opacity:.45;pointer-events:none}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-list{flex-grow:1;width:100%;transform:none!important}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-labels{flex:1 1 auto;width:100%}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab{display:none}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab.mdc-tab--active{display:inline-flex;flex:1 1 auto;max-width:100%;justify-content:center}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{transition:transform .1s linear}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content.cauca-responsive-tab-direction-forward .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:cauca-responsive-tab-underline-forward .4s ease-out;transform-origin:left center}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content.cauca-responsive-tab-direction-backward .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:cauca-responsive-tab-underline-backward .4s ease-out;transform-origin:right center}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content.cauca-responsive-tab-preview-active .mat-mdc-tab.mdc-tab--active .mdc-tab-indicator__content--underline{animation:none;transform:translate(var(--cauca-responsive-tab-preview-translate-x, 0px))}cauca-responsive-tab-group-wrapper .cauca-responsive-tab-group-content .mat-mdc-tab-body-content{touch-action:pan-y}}@keyframes cauca-responsive-tab-underline-forward{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes cauca-responsive-tab-underline-backward{0%{transform:scaleX(0)}to{transform:scaleX(1)}}\n"] }]
3652
+ }], null, { mobile: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobile", required: false }] }], tabGroup: [{ type: i0.ContentChild, args: [i0.forwardRef(() => MatTabGroup), { isSignal: true }] }], tabs: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => MatTab), { ...{ descendants: true }, isSignal: true }] }], onWindowResize: [{
3653
+ type: HostListener,
3654
+ args: ['window:resize']
3655
+ }], onTouchStart: [{
3656
+ type: HostListener,
3657
+ args: ['touchstart', ['$event']]
3658
+ }], onTouchMove: [{
3659
+ type: HostListener,
3660
+ args: ['touchmove', ['$event']]
3661
+ }], onTouchEnd: [{
3662
+ type: HostListener,
3663
+ args: ['touchend', ['$event']]
3664
+ }], onTouchCancel: [{
3665
+ type: HostListener,
3666
+ args: ['touchcancel']
3667
+ }] }); })();
3668
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ResponsiveTabGroupWrapperComponent, { className: "ResponsiveTabGroupWrapperComponent", filePath: "lib/components/layout/responsive-tab-group-wrapper/responsive-tab-group-wrapper.component.ts", lineNumber: 18 }); })();
3387
3669
 
3388
3670
  const _c0$3 = ["*"];
3389
3671
  class ExpandablePanelComponent {
@@ -4014,7 +4296,7 @@ class CaucaSimpleDialogComponent {
4014
4296
  }
4015
4297
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaSimpleDialogComponent, [{
4016
4298
  type: Component,
4017
- args: [{ selector: 'cauca-simple-dialog', imports: [MatDialogTitle, MatDialogContent, MatDialogActions, MatButtonModule], template: "<h1 mat-dialog-title>{{data.title}}</h1>\n<div mat-dialog-content>\n <div [innerHTML]=\"data.message\"></div>\n</div>\n@if (data.buttons) {\n <div mat-dialog-actions>\n @for (label of data.buttons; track label; let i = $index) {\n <button mat-raised-button (click)=\"onClick(i)\">{{label}}</button>\n }\n </div>\n}", styles: ["div[mat-dialog-actions]{margin-top:20px;text-align:center}\n"] }]
4299
+ args: [{ selector: 'cauca-simple-dialog', imports: [MatDialogTitle, MatDialogContent, MatDialogActions, MatButtonModule], template: "<h1 mat-dialog-title>{{data.title}}</h1>\r\n<div mat-dialog-content>\r\n <div [innerHTML]=\"data.message\"></div>\r\n</div>\r\n@if (data.buttons) {\r\n <div mat-dialog-actions>\r\n @for (label of data.buttons; track label; let i = $index) {\r\n <button mat-raised-button (click)=\"onClick(i)\">{{label}}</button>\r\n }\r\n </div>\r\n}", styles: ["div[mat-dialog-actions]{margin-top:20px;text-align:center}\n"] }]
4018
4300
  }], null, null); })();
4019
4301
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaSimpleDialogComponent, { className: "CaucaSimpleDialogComponent", filePath: "lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.ts", lineNumber: 13 }); })();
4020
4302
 
@@ -4137,7 +4419,7 @@ class CaucaInputFileComponent {
4137
4419
  }
4138
4420
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaInputFileComponent, [{
4139
4421
  type: Component,
4140
- args: [{ selector: 'cauca-input-file', imports: [MatButtonModule, MatIcon], template: "<button mat-raised-button (click)=\"openDialog($event)\">\n @if (icon) {\n <mat-icon>{{icon}}</mat-icon>\n }\n @if (text) {\n <span>{{text}}</span>\n }\n</button>\n@if (multiple) {\n <input #file type=\"file\" (change)=\"onSelectFile($event)\" [accept]=\"accept\" multiple=\"multiple\" />\n} @else {\n <input #file type=\"file\" (change)=\"onSelectFile($event)\" [accept]=\"accept\" />\n}\n\n", styles: [":host input{display:none}\n"] }]
4422
+ args: [{ selector: 'cauca-input-file', imports: [MatButtonModule, MatIcon], template: "<button mat-raised-button (click)=\"openDialog($event)\">\r\n @if (icon) {\r\n <mat-icon>{{icon}}</mat-icon>\r\n }\r\n @if (text) {\r\n <span>{{text}}</span>\r\n }\r\n</button>\r\n@if (multiple) {\r\n <input #file type=\"file\" (change)=\"onSelectFile($event)\" [accept]=\"accept\" multiple=\"multiple\" />\r\n} @else {\r\n <input #file type=\"file\" (change)=\"onSelectFile($event)\" [accept]=\"accept\" />\r\n}\r\n\r\n", styles: [":host input{display:none}\n"] }]
4141
4423
  }], null, { file: [{
4142
4424
  type: ViewChild,
4143
4425
  args: ['file', { static: false }]
@@ -4226,7 +4508,7 @@ class CaucaInputMultipleLangueComponent {
4226
4508
  }
4227
4509
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaInputMultipleLangueComponent, [{
4228
4510
  type: Component,
4229
- args: [{ selector: 'cauca-input-multiple-langue', imports: [MatTabGroup, MatTab, MatInput, MatFormFieldModule, ReactiveFormsModule, TranslateModule], template: "<mat-tab-group [selectedIndex]=\"selectedIndex\" (selectedIndexChange)=\"onTagChanged($event)\">\n @for (lang of labels; track lang; let i = $index) {\n <mat-tab [label]=\"lang\">\n <mat-form-field hideRequiredMarker=\"never\">\n <input matInput [placeholder]=\"lang\" [formControl]=\"forms[i]\" required=\"required\">\n @if (forms[i].invalid) {\n <mat-error>{{getErrorMessage(i) | translate}}</mat-error>\n }\n </mat-form-field>\n </mat-tab>\n }\n</mat-tab-group>", styles: [".mat-mdc-form-field{width:100%}\n"] }]
4511
+ args: [{ selector: 'cauca-input-multiple-langue', imports: [MatTabGroup, MatTab, MatInput, MatFormFieldModule, ReactiveFormsModule, TranslateModule], template: "<mat-tab-group [selectedIndex]=\"selectedIndex\" (selectedIndexChange)=\"onTagChanged($event)\">\r\n @for (lang of labels; track lang; let i = $index) {\r\n <mat-tab [label]=\"lang\">\r\n <mat-form-field hideRequiredMarker=\"never\">\r\n <input matInput [placeholder]=\"lang\" [formControl]=\"forms[i]\" required=\"required\">\r\n @if (forms[i].invalid) {\r\n <mat-error>{{getErrorMessage(i) | translate}}</mat-error>\r\n }\r\n </mat-form-field>\r\n </mat-tab>\r\n }\r\n</mat-tab-group>", styles: [".mat-mdc-form-field{width:100%}\n"] }]
4230
4512
  }], () => [], { value: [{
4231
4513
  type: Input
4232
4514
  }] }); })();
@@ -4309,7 +4591,7 @@ class CaucaSlideshowComponent {
4309
4591
  }
4310
4592
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CaucaSlideshowComponent, [{
4311
4593
  type: Component,
4312
- args: [{ selector: 'cauca-slideshow', imports: [], template: "<div #container class=\"slideshow\">\n @for (url of images; track url; let index = $index) {\n <div [class.active]=\"index === selectedIndex\" [class.entering]=\"states[index] === 'in'\" [class.leaving]=\"states[index] === 'out'\">\n <img [src]=\"url\" />\n </div>\n }\n</div>", styles: [".slideshow{margin:0 auto;position:relative;overflow:hidden}.slideshow>div{width:100%;height:100%;position:absolute;transition:transform .5s ease-in,opacity .5s ease-in;transform:translate(100%);opacity:0}.slideshow>div.active{transform:translate(0);opacity:1}.slideshow>div.leaving{transform:translate(-100%);opacity:0}.slideshow>div.entering{transform:translate(0);opacity:1}img{max-height:100%;max-width:100%;margin:0 auto;display:block}\n"] }]
4594
+ args: [{ selector: 'cauca-slideshow', imports: [], template: "<div #container class=\"slideshow\">\r\n @for (url of images; track url; let index = $index) {\r\n <div [class.active]=\"index === selectedIndex\" [class.entering]=\"states[index] === 'in'\" [class.leaving]=\"states[index] === 'out'\">\r\n <img [src]=\"url\" />\r\n </div>\r\n }\r\n</div>", styles: [".slideshow{margin:0 auto;position:relative;overflow:hidden}.slideshow>div{width:100%;height:100%;position:absolute;transition:transform .5s ease-in,opacity .5s ease-in;transform:translate(100%);opacity:0}.slideshow>div.active{transform:translate(0);opacity:1}.slideshow>div.leaving{transform:translate(-100%);opacity:0}.slideshow>div.entering{transform:translate(0);opacity:1}img{max-height:100%;max-width:100%;margin:0 auto;display:block}\n"] }]
4313
4595
  }], null, { container: [{
4314
4596
  type: ViewChild,
4315
4597
  args: ['container', { static: true }]
@@ -4330,5 +4612,5 @@ class CaucaSlideshowComponent {
4330
4612
  * Generated bundle index. Do not edit.
4331
4613
  */
4332
4614
 
4333
- export { AutoTrimAndLowerDirective, BadgeComponent, BasicButtonComponent, BreadcrumbLocation, BreadcrumbService, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ColorPickerComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, ExpandablePanelAccordionComponent, ExpandablePanelComponent, FabButtonComponent, FlatButtonComponent, FormErrorModule, GroupContainerComponent, HasErrorDirective, HasErrorRootDirective, IconButtonComponent, IconComponent, Iso8601TimeSpanPipe, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuExpandablePanelComponent, MenuExpandablePanelItemComponent, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SelectWithSearchComponent, SnackBarComponent, StatusMessageComponent, StrokedButtonComponent, provideCaucaMaterial };
4615
+ export { AutoTrimAndLowerDirective, BadgeComponent, BasicButtonComponent, BreadcrumbLocation, BreadcrumbService, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ColorPickerComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, ExpandablePanelAccordionComponent, ExpandablePanelComponent, FabButtonComponent, FlatButtonComponent, FormErrorModule, GroupContainerComponent, HasErrorDirective, HasErrorRootDirective, IconButtonComponent, IconComponent, Iso8601TimeSpanPipe, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuExpandablePanelComponent, MenuExpandablePanelItemComponent, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, ResponsiveTabGroupWrapperComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SelectWithSearchComponent, SnackBarComponent, StatusMessageComponent, StrokedButtonComponent, provideCaucaMaterial };
4334
4616
  //# sourceMappingURL=cauca-911-material.mjs.map