@cauca-911/material 21.1.4 → 21.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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, NgModule, 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, contentChildren, 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';
@@ -175,7 +175,7 @@ class DesktopTimePickerComponent {
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$c = (a0, a1) => ({ all: a0, someOptions: a1 });
178
+ const _c0$d = (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$c, ctx_r1.disabled.hours, ctx_r1.disabled.someHours))("options", ctx_r1.hours)("value", ctx_r1.selectedHour);
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);
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$c, ctx_r1.disabled.minutes, ctx_r1.disabled.someMinutes))("options", ctx_r1.minutes)("value", ctx_r1.selectedMinute);
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);
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$c, ctx_r1.disabled.seconds, ctx_r1.disabled.someSeconds))("options", ctx_r1.seconds)("value", ctx_r1.selectedSecond);
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);
238
238
  } }
239
239
  function DialogDateTimePickerComponent_Conditional_4_Conditional_7_Template(rf, ctx) { if (rf & 1) {
240
240
  const _r7 = i0.ɵɵgetCurrentView();
@@ -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$b = a0 => ({ itemName: a0 });
1578
+ const _c0$c = 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,7 +1635,7 @@ 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$b, ctx.itemName)));
1638
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, "deleteDialog.message", i0.ɵɵpureFunction1(5, _c0$c, 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, [{
@@ -1644,7 +1644,7 @@ class DeleteDialogComponent {
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$a = a0 => ({ itemName: a0 });
1647
+ const _c0$b = a0 => ({ itemName: a0 });
1648
1648
  class ErrorDialogComponent {
1649
1649
  constructor() {
1650
1650
  this.dialogRef = inject(MatDialogRef);
@@ -1677,7 +1677,7 @@ 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$a, ctx.itemName)));
1680
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(8, 4, "errorDialog.messageError", i0.ɵɵpureFunction1(7, _c0$b, 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, [{
@@ -1824,7 +1824,7 @@ class LoadingStateService {
1824
1824
  type: Injectable
1825
1825
  }], null, null); })();
1826
1826
 
1827
- const _c0$9 = ["*"];
1827
+ const _c0$a = ["*"];
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$9, 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$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) {
1869
1869
  i0.ɵɵprojectionDef();
1870
1870
  i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "mat-icon");
1871
1871
  i0.ɵɵtext(3);
@@ -2361,7 +2361,7 @@ class PasswordValidator {
2361
2361
  }
2362
2362
  }
2363
2363
 
2364
- const _c0$8 = ["*"];
2364
+ const _c0$9 = ["*"];
2365
2365
  function PasswordSelectionComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
2366
2366
  i0.ɵɵelement(0, "cauca-password-criteria-viewer", 5);
2367
2367
  } if (rf & 2) {
@@ -2446,7 +2446,7 @@ class PasswordSelectionComponent {
2446
2446
  multi: true,
2447
2447
  useExisting: forwardRef(() => PasswordSelectionComponent),
2448
2448
  },
2449
- ])], ngContentSelectors: _c0$8, 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) {
2449
+ ])], 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) {
2450
2450
  i0.ɵɵprojectionDef();
2451
2451
  i0.ɵɵelementStart(0, "form", 0)(1, "div", 1);
2452
2452
  i0.ɵɵelement(2, "cauca-password-input", 2)(3, "cauca-password-input", 3);
@@ -2534,7 +2534,7 @@ class DateRangePickerComponent {
2534
2534
  }], () => [], { range: [{ type: i0.Input, args: [{ isSignal: true, alias: "range", required: false }] }, { type: i0.Output, args: ["rangeChange"] }] }); })();
2535
2535
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateRangePickerComponent, { className: "DateRangePickerComponent", filePath: "lib/components/inputs/date-range-picker/date-range-picker.component.ts", lineNumber: 19 }); })();
2536
2536
 
2537
- const _c0$7 = ["auto"];
2537
+ const _c0$8 = ["auto"];
2538
2538
  const _c1$1 = ["chipInput"];
2539
2539
  const _c2$1 = a0 => ({ data: a0 });
2540
2540
  function DropdownChipAutocompleteComponent_For_4_Conditional_2_Template(rf, ctx) { if (rf & 1) {
@@ -2766,7 +2766,7 @@ class DropdownChipAutocompleteComponent {
2766
2766
  let _t;
2767
2767
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.optionTemplate = _t.first);
2768
2768
  } }, viewQuery: function DropdownChipAutocompleteComponent_Query(rf, ctx) { if (rf & 1) {
2769
- i0.ɵɵviewQuery(_c0$7, 5)(_c1$1, 5)(MatAutocompleteTrigger, 5);
2769
+ i0.ɵɵviewQuery(_c0$8, 5)(_c1$1, 5)(MatAutocompleteTrigger, 5);
2770
2770
  } if (rf & 2) {
2771
2771
  let _t;
2772
2772
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.matAutocomplete = _t.first);
@@ -2966,7 +2966,7 @@ class ColorPickerComponent {
2966
2966
  }], () => [], { valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] }); })();
2967
2967
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ColorPickerComponent, { className: "ColorPickerComponent", filePath: "lib/components/inputs/color-picker/color-picker.component.ts", lineNumber: 23 }); })();
2968
2968
 
2969
- const _c0$6 = ["singleSelect"];
2969
+ const _c0$7 = ["singleSelect"];
2970
2970
  const _c1 = ["*"];
2971
2971
  const _c2 = () => [];
2972
2972
  function SelectWithSearchComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
@@ -3053,7 +3053,7 @@ class SelectWithSearchComponent {
3053
3053
  }
3054
3054
  static { this.ɵfac = function SelectWithSearchComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectWithSearchComponent)(); }; }
3055
3055
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SelectWithSearchComponent, selectors: [["cauca-select-with-search"]], viewQuery: function SelectWithSearchComponent_Query(rf, ctx) { if (rf & 1) {
3056
- i0.ɵɵviewQuery(_c0$6, 7);
3056
+ i0.ɵɵviewQuery(_c0$7, 7);
3057
3057
  } if (rf & 2) {
3058
3058
  let _t;
3059
3059
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.singleSelect = _t.first);
@@ -3091,13 +3091,13 @@ class SelectWithSearchComponent {
3091
3091
  }] }); })();
3092
3092
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectWithSearchComponent, { className: "SelectWithSearchComponent", filePath: "lib/components/inputs/select-with-search/select-with-search.component.ts", lineNumber: 23 }); })();
3093
3093
 
3094
- const _c0$5 = ["*"];
3094
+ const _c0$6 = ["*"];
3095
3095
  class GroupContainerComponent {
3096
3096
  constructor() {
3097
3097
  this.caption = input(...(ngDevMode ? [undefined, { debugName: "caption" }] : []));
3098
3098
  }
3099
3099
  static { this.ɵfac = function GroupContainerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GroupContainerComponent)(); }; }
3100
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GroupContainerComponent, selectors: [["cauca-group-container"]], inputs: { caption: [1, "caption"] }, ngContentSelectors: _c0$5, 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) {
3100
+ 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) {
3101
3101
  i0.ɵɵprojectionDef();
3102
3102
  i0.ɵɵdomElementStart(0, "div", 0)(1, "div", 1);
3103
3103
  i0.ɵɵtext(2);
@@ -3117,7 +3117,7 @@ class GroupContainerComponent {
3117
3117
  }], null, { caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }] }); })();
3118
3118
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GroupContainerComponent, { className: "GroupContainerComponent", filePath: "lib/components/layout/group-container/group-container.component.ts", lineNumber: 12 }); })();
3119
3119
 
3120
- const _c0$4 = ["*"];
3120
+ const _c0$5 = ["*"];
3121
3121
  function MainSectionComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
3122
3122
  i0.ɵɵdomElementStart(0, "div", 1);
3123
3123
  i0.ɵɵtext(1);
@@ -3133,7 +3133,7 @@ class MainSectionComponent {
3133
3133
  this.title = input('', ...(ngDevMode ? [{ debugName: "title" }] : []));
3134
3134
  }
3135
3135
  static { this.ɵfac = function MainSectionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MainSectionComponent)(); }; }
3136
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MainSectionComponent, selectors: [["cauca-main-section"]], inputs: { title: [1, "title"] }, ngContentSelectors: _c0$4, decls: 4, vars: 1, consts: [[1, "section"], [1, "section-description", "subtitle1"], [1, "section-fields"]], template: function MainSectionComponent_Template(rf, ctx) { if (rf & 1) {
3136
+ 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) {
3137
3137
  i0.ɵɵprojectionDef();
3138
3138
  i0.ɵɵdomElementStart(0, "div", 0);
3139
3139
  i0.ɵɵconditionalCreate(1, MainSectionComponent_Conditional_1_Template, 3, 3, "div", 1);
@@ -3151,13 +3151,13 @@ class MainSectionComponent {
3151
3151
  }], null, { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }] }); })();
3152
3152
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MainSectionComponent, { className: "MainSectionComponent", filePath: "lib/components/layout/sections/main-section/main-section.component.ts", lineNumber: 11 }); })();
3153
3153
 
3154
- const _c0$3 = ["*"];
3154
+ const _c0$4 = ["*"];
3155
3155
  class SectionColumnComponent {
3156
3156
  constructor() {
3157
3157
  this.showBigGap = input(false, ...(ngDevMode ? [{ debugName: "showBigGap" }] : []));
3158
3158
  }
3159
3159
  static { this.ɵfac = function SectionColumnComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SectionColumnComponent)(); }; }
3160
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SectionColumnComponent, selectors: [["cauca-section-column"]], inputs: { showBigGap: [1, "showBigGap"] }, ngContentSelectors: _c0$3, decls: 2, vars: 2, consts: [[1, "section-columns"]], template: function SectionColumnComponent_Template(rf, ctx) { if (rf & 1) {
3160
+ 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) {
3161
3161
  i0.ɵɵprojectionDef();
3162
3162
  i0.ɵɵdomElementStart(0, "div", 0);
3163
3163
  i0.ɵɵprojection(1);
@@ -3370,7 +3370,7 @@ class PageTitleComponent {
3370
3370
  }], 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 }] }] }); })();
3371
3371
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 14 }); })();
3372
3372
 
3373
- const _c0$2 = ["*"];
3373
+ const _c0$3 = ["*"];
3374
3374
  class ExpandablePanelComponent {
3375
3375
  constructor() {
3376
3376
  this.isCollapsed = model(false, ...(ngDevMode ? [{ debugName: "isCollapsed" }] : []));
@@ -3382,7 +3382,7 @@ class ExpandablePanelComponent {
3382
3382
  this.isCollapsed.update(value => !value);
3383
3383
  }
3384
3384
  static { this.ɵfac = function ExpandablePanelComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExpandablePanelComponent)(); }; }
3385
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExpandablePanelComponent, selectors: [["cauca-expandable-panel"]], inputs: { isCollapsed: [1, "isCollapsed"], caption: [1, "caption"], subCaption: [1, "subCaption"], contentPosition: [1, "contentPosition"] }, outputs: { isCollapsed: "isCollapsedChange" }, ngContentSelectors: _c0$2, decls: 12, vars: 8, consts: [[1, "expansion-button", 3, "click"], [1, "expansion-button-text"], [1, "primary"], [1, "body2"], [1, "expansion-panel"], [1, "expansion-panel-content"]], template: function ExpandablePanelComponent_Template(rf, ctx) { if (rf & 1) {
3385
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExpandablePanelComponent, selectors: [["cauca-expandable-panel"]], inputs: { isCollapsed: [1, "isCollapsed"], caption: [1, "caption"], subCaption: [1, "subCaption"], contentPosition: [1, "contentPosition"] }, outputs: { isCollapsed: "isCollapsedChange" }, ngContentSelectors: _c0$3, decls: 12, vars: 8, consts: [[1, "expansion-button", 3, "click"], [1, "expansion-button-text"], [1, "primary"], [1, "body2"], [1, "expansion-panel"], [1, "expansion-panel-content"]], template: function ExpandablePanelComponent_Template(rf, ctx) { if (rf & 1) {
3386
3386
  i0.ɵɵprojectionDef();
3387
3387
  i0.ɵɵelementStart(0, "section")(1, "div", 0);
3388
3388
  i0.ɵɵlistener("click", function ExpandablePanelComponent_Template_div_click_1_listener() { return ctx.changeState(); });
@@ -3416,6 +3416,93 @@ class ExpandablePanelComponent {
3416
3416
  }], null, { isCollapsed: [{ type: i0.Input, args: [{ isSignal: true, alias: "isCollapsed", required: false }] }, { type: i0.Output, args: ["isCollapsedChange"] }], caption: [{ type: i0.Input, args: [{ isSignal: true, alias: "caption", required: false }] }], subCaption: [{ type: i0.Input, args: [{ isSignal: true, alias: "subCaption", required: false }] }], contentPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "contentPosition", required: false }] }] }); })();
3417
3417
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ExpandablePanelComponent, { className: "ExpandablePanelComponent", filePath: "lib/components/layout/expandable-panel/expandable-panel.component.ts", lineNumber: 11 }); })();
3418
3418
 
3419
+ const _c0$2 = ["*"];
3420
+ class ExpandablePanelAccordionComponent {
3421
+ constructor() {
3422
+ this.initialOpenIndex = input(0, ...(ngDevMode ? [{ debugName: "initialOpenIndex" }] : []));
3423
+ this.panels = contentChildren(ExpandablePanelComponent, { ...(ngDevMode ? { debugName: "panels" } : {}), descendants: true });
3424
+ this.synchronizingPanels = false;
3425
+ effect((onCleanup) => {
3426
+ const panels = this.panels();
3427
+ const initialOpenIndex = this.initialOpenIndex();
3428
+ const subscriptions = this.subscribeToPanelStateChanges(panels);
3429
+ queueMicrotask(() => this.initializePanels(panels, initialOpenIndex));
3430
+ onCleanup(() => subscriptions.forEach((subscription) => subscription.unsubscribe()));
3431
+ });
3432
+ }
3433
+ initializePanels(panels, initialOpenIndex) {
3434
+ if (!panels.length || !this.supportsAccordionState(panels)) {
3435
+ return;
3436
+ }
3437
+ const expandedPanel = panels.find((panel) => !this.readCollapsedState(panel));
3438
+ if (expandedPanel) {
3439
+ this.setExpandedPanel(panels, expandedPanel);
3440
+ return;
3441
+ }
3442
+ if (initialOpenIndex === null) {
3443
+ return;
3444
+ }
3445
+ const panelToOpen = panels.at(initialOpenIndex);
3446
+ if (panelToOpen) {
3447
+ this.setExpandedPanel(panels, panelToOpen);
3448
+ }
3449
+ }
3450
+ onPanelStateChange(panels, panelIndex, isCollapsed) {
3451
+ if (this.synchronizingPanels || isCollapsed) {
3452
+ return;
3453
+ }
3454
+ const panelToOpen = panels[panelIndex];
3455
+ if (panelToOpen) {
3456
+ this.setExpandedPanel(panels, panelToOpen);
3457
+ }
3458
+ }
3459
+ setExpandedPanel(panels, panelToOpen) {
3460
+ this.synchronizingPanels = true;
3461
+ try {
3462
+ for (const panel of panels) {
3463
+ this.writeCollapsedState(panel, panel !== panelToOpen);
3464
+ }
3465
+ }
3466
+ finally {
3467
+ this.synchronizingPanels = false;
3468
+ }
3469
+ }
3470
+ subscribeToPanelStateChanges(panels) {
3471
+ if (!this.supportsAccordionState(panels)) {
3472
+ return [];
3473
+ }
3474
+ return panels.map((panel, index) => panel.isCollapsed.subscribe((isCollapsed) => this.onPanelStateChange(panels, index, isCollapsed)));
3475
+ }
3476
+ supportsAccordionState(panels) {
3477
+ return panels.every((panel) => this.isModelSignalLike(panel.isCollapsed));
3478
+ }
3479
+ readCollapsedState(panel) {
3480
+ return panel.isCollapsed();
3481
+ }
3482
+ writeCollapsedState(panel, isCollapsed) {
3483
+ panel.isCollapsed.set(isCollapsed);
3484
+ }
3485
+ isModelSignalLike(value) {
3486
+ return typeof value === 'function'
3487
+ && typeof value.set === 'function'
3488
+ && typeof value.subscribe === 'function';
3489
+ }
3490
+ static { this.ɵfac = function ExpandablePanelAccordionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ExpandablePanelAccordionComponent)(); }; }
3491
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ExpandablePanelAccordionComponent, selectors: [["cauca-expandable-panel-accordion"]], contentQueries: function ExpandablePanelAccordionComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
3492
+ i0.ɵɵcontentQuerySignal(dirIndex, ctx.panels, ExpandablePanelComponent, 5);
3493
+ } if (rf & 2) {
3494
+ i0.ɵɵqueryAdvance();
3495
+ } }, inputs: { initialOpenIndex: [1, "initialOpenIndex"] }, ngContentSelectors: _c0$2, decls: 1, vars: 0, template: function ExpandablePanelAccordionComponent_Template(rf, ctx) { if (rf & 1) {
3496
+ i0.ɵɵprojectionDef();
3497
+ i0.ɵɵprojection(0);
3498
+ } }, styles: ["[_nghost-%COMP%]{display:block}"], changeDetection: 0 }); }
3499
+ }
3500
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExpandablePanelAccordionComponent, [{
3501
+ type: Component,
3502
+ args: [{ selector: 'cauca-expandable-panel-accordion', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<ng-content />", styles: [":host{display:block}\n"] }]
3503
+ }], () => [], { initialOpenIndex: [{ type: i0.Input, args: [{ isSignal: true, alias: "initialOpenIndex", required: false }] }], panels: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => ExpandablePanelComponent), { ...{ descendants: true }, isSignal: true }] }] }); })();
3504
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ExpandablePanelAccordionComponent, { className: "ExpandablePanelAccordionComponent", filePath: "lib/components/layout/expandable-panel-accordion/expandable-panel-accordion.component.ts", lineNumber: 11 }); })();
3505
+
3419
3506
  class MenuExpandablePanelItemComponent {
3420
3507
  constructor() {
3421
3508
  this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
@@ -3774,6 +3861,32 @@ class FormErrorModule {
3774
3861
  ReactiveFormsModule], exports: [HasErrorDirective,
3775
3862
  HasErrorRootDirective] }); })();
3776
3863
 
3864
+ class Iso8601TimeSpanPipe {
3865
+ transform(value) {
3866
+ if (!value) {
3867
+ return '';
3868
+ }
3869
+ const match = /^P(?:([0-9]+)D)?(?:T(?:([0-9]+)H)?(?:([0-9]+)M)?(?:([0-9]+(?:\.\d+)?)S)?)?$/i.exec(value.trim());
3870
+ if (!match) {
3871
+ return value;
3872
+ }
3873
+ const days = Number(match[1] ?? '0');
3874
+ const hours = Number(match[2] ?? '0') + (days * 24);
3875
+ const minutes = Number(match[3] ?? '0');
3876
+ const seconds = Math.floor(Number(match[4] ?? '0'));
3877
+ return `${hours.toString().padStart(2, '0')}:${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;
3878
+ }
3879
+ static { this.ɵfac = function Iso8601TimeSpanPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Iso8601TimeSpanPipe)(); }; }
3880
+ static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "Iso8601TimeSpan", type: Iso8601TimeSpanPipe, pure: true }); }
3881
+ }
3882
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Iso8601TimeSpanPipe, [{
3883
+ type: Pipe,
3884
+ args: [{
3885
+ name: 'Iso8601TimeSpan',
3886
+ standalone: true,
3887
+ }]
3888
+ }], null, null); })();
3889
+
3777
3890
  function provideCaucaMaterial() {
3778
3891
  return [
3779
3892
  provideNativeDateAdapter(),
@@ -4145,5 +4258,5 @@ class CaucaSlideshowComponent {
4145
4258
  * Generated bundle index. Do not edit.
4146
4259
  */
4147
4260
 
4148
- export { AutoTrimAndLowerDirective, BadgeComponent, BasicButtonComponent, BreadcrumbLocation, BreadcrumbService, ButtonComponent, CaucaDateTimePickerComponent, CaucaInputFileComponent, CaucaInputMultipleLangueComponent, CaucaMaterialComponent, CaucaMaterialService, CaucaSimpleDialogComponent, CaucaSlideshowComponent, ColorPickerComponent, ConfirmationResult, DateRangePickerComponent, DialogService, DropdownChipAutocompleteComponent, ExpandablePanelComponent, FabButtonComponent, FlatButtonComponent, FormErrorModule, GroupContainerComponent, HasErrorDirective, HasErrorRootDirective, IconButtonComponent, IconComponent, LinkButtonComponent, ListPaginatorComponent, LoadingErrorComponent, LoadingSpinnerIndicatorComponent, LoadingStateService, MainSectionComponent, MenuExpandablePanelComponent, MenuExpandablePanelItemComponent, MenuItemComponent, PageTitleComponent, PasswordCriteriaViewerComponent, PasswordInputComponent, PasswordSelectionComponent, RaisedButtonComponent, RefreshButtonComponent, RoundButtonComponent, SavingConfirmedBoxComponent, SavingErrorBoxComponent, SectionColumnComponent, SectionFieldComponent, SelectWithSearchComponent, SnackBarComponent, StrokedButtonComponent, provideCaucaMaterial };
4261
+ 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, StrokedButtonComponent, provideCaucaMaterial };
4149
4262
  //# sourceMappingURL=cauca-911-material.mjs.map