@cauca-911/material 20.0.10 → 20.0.13

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, Component, EventEmitter, Output, Input, signal, inject, HostListener, Injector, ElementRef, forwardRef, input, computed, output, Directive, ChangeDetectionStrategy, Inject, HostBinding, model, TemplateRef, Optional, Self, ContentChild, ViewChild } from '@angular/core';
2
+ import { Injectable, Component, EventEmitter, Output, Input, signal, inject, HostListener, Injector, ElementRef, forwardRef, input, computed, output, ChangeDetectionStrategy, Inject, HostBinding, model, TemplateRef, Optional, Self, ContentChild, ViewChild } 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$6 from '@angular/material/dialog';
@@ -13,7 +13,7 @@ import * as i2$1 from '@angular/material/datepicker';
13
13
  import { MatDatepickerModule } from '@angular/material/datepicker';
14
14
  import * as i1$2 from '@angular/material/list';
15
15
  import { MatListModule } from '@angular/material/list';
16
- import { CaucaCoreForChildModule, TranslateService as TranslateService$1, CaucaCoreService } from '@cauca-911/core';
16
+ import { CaucaCoreForChildModule, toLowerCaseAndWithoutDiacritics, TranslateService as TranslateService$1, CaucaCoreService } from '@cauca-911/core';
17
17
  import * as i2 from '@angular/material/button';
18
18
  import { MatButtonModule, MatButton, MatIconButton } from '@angular/material/button';
19
19
  import * as i1$3 from '@angular/common';
@@ -718,47 +718,6 @@ class CaucaDateTimePickerComponent {
718
718
  }] }); })();
719
719
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaDateTimePickerComponent, { className: "CaucaDateTimePickerComponent", filePath: "lib/cauca-date-time-picker/cauca-date-time-picker.component.ts", lineNumber: 33 }); })();
720
720
 
721
- class BaseButton {
722
- constructor() {
723
- this.colorOnHover = input(undefined, ...(ngDevMode ? [{ debugName: "colorOnHover" }] : []));
724
- this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
725
- this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
726
- this.iconAlignment = input('left', ...(ngDevMode ? [{ debugName: "iconAlignment" }] : []));
727
- this.isDisabled = input(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
728
- this.isInProgress = input(false, ...(ngDevMode ? [{ debugName: "isInProgress" }] : []));
729
- this.iconColor = computed(() => this.isHovered() ? this.colorOnHover() || this.color() : this.color(), ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
730
- this.showIcon = computed(() => !!this.icon() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
731
- this.iconToShow = computed(() => this.isInProgress() ? 'update' : this.icon(), ...(ngDevMode ? [{ debugName: "iconToShow" }] : []));
732
- this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "buttonDisabled" }] : []));
733
- this.buttonClick = output();
734
- this.isHovered = signal(false, ...(ngDevMode ? [{ debugName: "isHovered" }] : []));
735
- }
736
- onMouseEnter() {
737
- this.isHovered.set(true);
738
- }
739
- onMouseLeave() {
740
- this.isHovered.set(false);
741
- }
742
- static { this.ɵfac = function BaseButton_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BaseButton)(); }; }
743
- static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: BaseButton, inputs: { colorOnHover: [1, "colorOnHover"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: [1, "isInProgress"] }, outputs: { buttonClick: "buttonClick" } }); }
744
- }
745
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseButton, [{
746
- type: Directive
747
- }], null, null); })();
748
- class BaseButtonWithLabel extends BaseButton {
749
- constructor() {
750
- super(...arguments);
751
- this.translateLabel = input(true, ...(ngDevMode ? [{ debugName: "translateLabel" }] : []));
752
- this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
753
- this.small = input(false, ...(ngDevMode ? [{ debugName: "small" }] : []));
754
- }
755
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵBaseButtonWithLabel_BaseFactory; return function BaseButtonWithLabel_Factory(__ngFactoryType__) { return (ɵBaseButtonWithLabel_BaseFactory || (ɵBaseButtonWithLabel_BaseFactory = i0.ɵɵgetInheritedFactory(BaseButtonWithLabel)))(__ngFactoryType__ || BaseButtonWithLabel); }; })(); }
756
- static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: BaseButtonWithLabel, inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], small: [1, "small"] }, features: [i0.ɵɵInheritDefinitionFeature] }); }
757
- }
758
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseButtonWithLabel, [{
759
- type: Directive
760
- }], null, null); })();
761
-
762
721
  function BasicButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
763
722
  i0.ɵɵelementStart(0, "mat-icon");
764
723
  i0.ɵɵtext(1);
@@ -792,9 +751,32 @@ function BasicButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
792
751
  i0.ɵɵadvance();
793
752
  i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
794
753
  } }
795
- class BasicButtonComponent extends BaseButtonWithLabel {
796
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵBasicButtonComponent_BaseFactory; return function BasicButtonComponent_Factory(__ngFactoryType__) { return (ɵBasicButtonComponent_BaseFactory || (ɵBasicButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BasicButtonComponent)))(__ngFactoryType__ || BasicButtonComponent); }; })(); }
797
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BasicButtonComponent, selectors: [["cauca-basic-button"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 6, consts: [["mat-button", "", "onclick", "this.blur()", 3, "click", "ngClass", "color", "disabled"], [3, "button-spin"]], template: function BasicButtonComponent_Template(rf, ctx) { if (rf & 1) {
754
+ class BasicButtonComponent {
755
+ constructor() {
756
+ this.translateLabel = input(true, ...(ngDevMode ? [{ debugName: "translateLabel" }] : []));
757
+ this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
758
+ this.small = input(false, ...(ngDevMode ? [{ debugName: "small" }] : []));
759
+ this.colorOnHover = input(undefined, ...(ngDevMode ? [{ debugName: "colorOnHover" }] : []));
760
+ this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
761
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
762
+ this.iconAlignment = input('left', ...(ngDevMode ? [{ debugName: "iconAlignment" }] : []));
763
+ this.isDisabled = input(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
764
+ this.isInProgress = input(false, ...(ngDevMode ? [{ debugName: "isInProgress" }] : []));
765
+ this.iconColor = computed(() => this.isHovered() ? this.colorOnHover() || this.color() : this.color(), ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
766
+ this.showIcon = computed(() => !!this.icon() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
767
+ this.iconToShow = computed(() => this.isInProgress() ? 'update' : this.icon(), ...(ngDevMode ? [{ debugName: "iconToShow" }] : []));
768
+ this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "buttonDisabled" }] : []));
769
+ this.buttonClick = output();
770
+ this.isHovered = signal(false, ...(ngDevMode ? [{ debugName: "isHovered" }] : []));
771
+ }
772
+ onMouseEnter() {
773
+ this.isHovered.set(true);
774
+ }
775
+ onMouseLeave() {
776
+ this.isHovered.set(false);
777
+ }
778
+ static { this.ɵfac = function BasicButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BasicButtonComponent)(); }; }
779
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BasicButtonComponent, selectors: [["cauca-basic-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], small: [1, "small"], colorOnHover: [1, "colorOnHover"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: [1, "isInProgress"] }, outputs: { buttonClick: "buttonClick" }, decls: 5, vars: 6, consts: [["mat-button", "", "onclick", "this.blur()", 3, "click", "ngClass", "color", "disabled"], [3, "button-spin"]], template: function BasicButtonComponent_Template(rf, ctx) { if (rf & 1) {
798
780
  i0.ɵɵelementStart(0, "button", 0);
799
781
  i0.ɵɵlistener("click", function BasicButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
800
782
  i0.ɵɵconditionalCreate(1, BasicButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
@@ -815,7 +797,7 @@ class BasicButtonComponent extends BaseButtonWithLabel {
815
797
  type: Component,
816
798
  args: [{ selector: 'cauca-basic-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatIcon, MatButton, TranslateModule, NgClass], template: "<button mat-button [ngClass]=\"small() ? 'small-button' : ''\" [color]=\"color()\" onclick=\"this.blur()\" [disabled]=\"buttonDisabled()\" (click)=\"buttonClick.emit()\">\r\n @if(showIcon() && iconAlignment() === 'left') { <mat-icon [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n @if (translateLabel()) {{{label()|translate}}} @else {{{label()}}}\r\n @if(showIcon() && iconAlignment() === 'right') { <mat-icon [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n</button>", styles: [".mdc-button.mat-white,.mat-stroked-button.mat-white{color:#fff;border-color:#fff}.mdc-button.mat-white:hover,.mat-mdc-outlined-button.mat-white:hover{background-color:transparent}mat-icon{color:inherit}\n"] }]
817
799
  }], null, null); })();
818
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BasicButtonComponent, { className: "BasicButtonComponent", filePath: "lib/buttons/basic-button/basic-button.component.ts", lineNumber: 16 }); })();
800
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BasicButtonComponent, { className: "BasicButtonComponent", filePath: "lib/buttons/basic-button/basic-button.component.ts", lineNumber: 15 }); })();
819
801
 
820
802
  function FabButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
821
803
  i0.ɵɵelementStart(0, "mat-icon");
@@ -828,13 +810,32 @@ function FabButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
828
810
  i0.ɵɵadvance();
829
811
  i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
830
812
  } }
831
- class FabButtonComponent extends BaseButtonWithLabel {
813
+ class FabButtonComponent {
832
814
  constructor() {
833
- super(...arguments);
834
815
  this.iconColor = computed(() => this.color() === 'primary' ? 'white' : undefined, ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
816
+ this.translateLabel = input(true, ...(ngDevMode ? [{ debugName: "translateLabel" }] : []));
817
+ this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
818
+ this.small = input(false, ...(ngDevMode ? [{ debugName: "small" }] : []));
819
+ this.colorOnHover = input(undefined, ...(ngDevMode ? [{ debugName: "colorOnHover" }] : []));
820
+ this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
821
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
822
+ this.iconAlignment = input('left', ...(ngDevMode ? [{ debugName: "iconAlignment" }] : []));
823
+ this.isDisabled = input(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
824
+ this.isInProgress = input(false, ...(ngDevMode ? [{ debugName: "isInProgress" }] : []));
825
+ this.showIcon = computed(() => !!this.icon() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
826
+ this.iconToShow = computed(() => this.isInProgress() ? 'update' : this.icon(), ...(ngDevMode ? [{ debugName: "iconToShow" }] : []));
827
+ this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "buttonDisabled" }] : []));
828
+ this.buttonClick = output();
829
+ this.isHovered = signal(false, ...(ngDevMode ? [{ debugName: "isHovered" }] : []));
835
830
  }
836
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵFabButtonComponent_BaseFactory; return function FabButtonComponent_Factory(__ngFactoryType__) { return (ɵFabButtonComponent_BaseFactory || (ɵFabButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FabButtonComponent)))(__ngFactoryType__ || FabButtonComponent); }; })(); }
837
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FabButtonComponent, selectors: [["cauca-fab-button"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mat-fab", "", "onclick", "this.blur()", 3, "click", "color", "disabled"], [3, "color", "button-spin"]], template: function FabButtonComponent_Template(rf, ctx) { if (rf & 1) {
831
+ onMouseEnter() {
832
+ this.isHovered.set(true);
833
+ }
834
+ onMouseLeave() {
835
+ this.isHovered.set(false);
836
+ }
837
+ static { this.ɵfac = function FabButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FabButtonComponent)(); }; }
838
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FabButtonComponent, selectors: [["cauca-fab-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], small: [1, "small"], colorOnHover: [1, "colorOnHover"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: [1, "isInProgress"] }, outputs: { buttonClick: "buttonClick" }, decls: 2, vars: 3, consts: [["mat-fab", "", "onclick", "this.blur()", 3, "click", "color", "disabled"], [3, "color", "button-spin"]], template: function FabButtonComponent_Template(rf, ctx) { if (rf & 1) {
838
839
  i0.ɵɵelementStart(0, "button", 0);
839
840
  i0.ɵɵlistener("click", function FabButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
840
841
  i0.ɵɵconditionalCreate(1, FabButtonComponent_Conditional_1_Template, 2, 5, "mat-icon", 1);
@@ -849,7 +850,7 @@ class FabButtonComponent extends BaseButtonWithLabel {
849
850
  type: Component,
850
851
  args: [{ selector: 'cauca-fab-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButtonModule, MatIconModule], template: "<button mat-fab [color]=\"color()\" onclick=\"this.blur()\" [disabled]=\"buttonDisabled()\" (click)=\"buttonClick.emit()\">\r\n @if (showIcon()) { <mat-icon [style.color]=\"iconColor()\" [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n</button>", styles: [".mdc-button.mat-white,.mat-mdc-fab{color:#fff;border-color:#fff}.mdc-button.mat-white:hover,.mat-mdc-outlined-button.mat-white:hover{background-color:transparent}mat-icon{color:inherit}\n"] }]
851
852
  }], null, null); })();
852
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FabButtonComponent, { className: "FabButtonComponent", filePath: "lib/buttons/fab-button/fab-button.component.ts", lineNumber: 14 }); })();
853
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FabButtonComponent, { className: "FabButtonComponent", filePath: "lib/buttons/fab-button/fab-button.component.ts", lineNumber: 13 }); })();
853
854
 
854
855
  function FlatButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
855
856
  i0.ɵɵelementStart(0, "mat-icon");
@@ -884,9 +885,32 @@ function FlatButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
884
885
  i0.ɵɵadvance();
885
886
  i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
886
887
  } }
887
- class FlatButtonComponent extends BaseButtonWithLabel {
888
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵFlatButtonComponent_BaseFactory; return function FlatButtonComponent_Factory(__ngFactoryType__) { return (ɵFlatButtonComponent_BaseFactory || (ɵFlatButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FlatButtonComponent)))(__ngFactoryType__ || FlatButtonComponent); }; })(); }
889
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlatButtonComponent, selectors: [["cauca-flat-button"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 6, consts: [["mat-flat-button", "", "onclick", "this.blur()", 3, "click", "ngClass", "color", "disabled"], [3, "button-spin"]], template: function FlatButtonComponent_Template(rf, ctx) { if (rf & 1) {
888
+ class FlatButtonComponent {
889
+ constructor() {
890
+ this.translateLabel = input(true, ...(ngDevMode ? [{ debugName: "translateLabel" }] : []));
891
+ this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
892
+ this.small = input(false, ...(ngDevMode ? [{ debugName: "small" }] : []));
893
+ this.colorOnHover = input(undefined, ...(ngDevMode ? [{ debugName: "colorOnHover" }] : []));
894
+ this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
895
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
896
+ this.iconAlignment = input('left', ...(ngDevMode ? [{ debugName: "iconAlignment" }] : []));
897
+ this.isDisabled = input(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
898
+ this.isInProgress = input(false, ...(ngDevMode ? [{ debugName: "isInProgress" }] : []));
899
+ this.iconColor = computed(() => this.isHovered() ? this.colorOnHover() || this.color() : this.color(), ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
900
+ this.showIcon = computed(() => !!this.icon() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
901
+ this.iconToShow = computed(() => this.isInProgress() ? 'update' : this.icon(), ...(ngDevMode ? [{ debugName: "iconToShow" }] : []));
902
+ this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "buttonDisabled" }] : []));
903
+ this.buttonClick = output();
904
+ this.isHovered = signal(false, ...(ngDevMode ? [{ debugName: "isHovered" }] : []));
905
+ }
906
+ onMouseEnter() {
907
+ this.isHovered.set(true);
908
+ }
909
+ onMouseLeave() {
910
+ this.isHovered.set(false);
911
+ }
912
+ static { this.ɵfac = function FlatButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FlatButtonComponent)(); }; }
913
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlatButtonComponent, selectors: [["cauca-flat-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], small: [1, "small"], colorOnHover: [1, "colorOnHover"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: [1, "isInProgress"] }, outputs: { buttonClick: "buttonClick" }, decls: 5, vars: 6, consts: [["mat-flat-button", "", "onclick", "this.blur()", 3, "click", "ngClass", "color", "disabled"], [3, "button-spin"]], template: function FlatButtonComponent_Template(rf, ctx) { if (rf & 1) {
890
914
  i0.ɵɵelementStart(0, "button", 0);
891
915
  i0.ɵɵlistener("click", function FlatButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
892
916
  i0.ɵɵconditionalCreate(1, FlatButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
@@ -907,11 +931,31 @@ class FlatButtonComponent extends BaseButtonWithLabel {
907
931
  type: Component,
908
932
  args: [{ selector: 'cauca-flat-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatIcon, MatButton, TranslateModule, NgClass], template: "<button mat-flat-button [ngClass]=\"small() ? 'small-button' : ''\" [color]=\"color()\" onclick=\"this.blur()\" [disabled]=\"buttonDisabled()\" (click)=\"buttonClick.emit();\">\r\n @if(showIcon() && iconAlignment() === 'left') { <mat-icon [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n @if (translateLabel()) {{{label()|translate}}} @else {{{label()}}}\r\n @if(showIcon() && iconAlignment() === 'right') { <mat-icon [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n</button>", styles: [".mdc-button.mat-white,.mat-stroked-button.mat-white{color:#fff;border-color:#fff}.mdc-button.mat-white:hover,.mat-mdc-outlined-button.mat-white:hover{background-color:transparent}mat-icon{color:inherit}\n"] }]
909
933
  }], null, null); })();
910
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FlatButtonComponent, { className: "FlatButtonComponent", filePath: "lib/buttons/flat-button/flat-button.component.ts", lineNumber: 16 }); })();
934
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FlatButtonComponent, { className: "FlatButtonComponent", filePath: "lib/buttons/flat-button/flat-button.component.ts", lineNumber: 15 }); })();
911
935
 
912
- class IconButtonComponent extends BaseButton {
913
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵIconButtonComponent_BaseFactory; return function IconButtonComponent_Factory(__ngFactoryType__) { return (ɵIconButtonComponent_BaseFactory || (ɵIconButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(IconButtonComponent)))(__ngFactoryType__ || IconButtonComponent); }; })(); }
914
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: IconButtonComponent, selectors: [["cauca-icon-button"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 6, consts: [["mat-icon-button", "", "onclick", "this.blur()", 3, "mouseenter", "mouseleave", "click", "disabled"]], template: function IconButtonComponent_Template(rf, ctx) { if (rf & 1) {
936
+ class IconButtonComponent {
937
+ constructor() {
938
+ this.colorOnHover = input(undefined, ...(ngDevMode ? [{ debugName: "colorOnHover" }] : []));
939
+ this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
940
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
941
+ this.iconAlignment = input('left', ...(ngDevMode ? [{ debugName: "iconAlignment" }] : []));
942
+ this.isDisabled = input(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
943
+ this.isInProgress = input(false, ...(ngDevMode ? [{ debugName: "isInProgress" }] : []));
944
+ this.iconColor = computed(() => this.isHovered() ? this.colorOnHover() || this.color() : this.color(), ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
945
+ this.showIcon = computed(() => !!this.icon() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
946
+ this.iconToShow = computed(() => this.isInProgress() ? 'update' : this.icon(), ...(ngDevMode ? [{ debugName: "iconToShow" }] : []));
947
+ this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "buttonDisabled" }] : []));
948
+ this.buttonClick = output();
949
+ this.isHovered = signal(false, ...(ngDevMode ? [{ debugName: "isHovered" }] : []));
950
+ }
951
+ onMouseEnter() {
952
+ this.isHovered.set(true);
953
+ }
954
+ onMouseLeave() {
955
+ this.isHovered.set(false);
956
+ }
957
+ static { this.ɵfac = function IconButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || IconButtonComponent)(); }; }
958
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: IconButtonComponent, selectors: [["cauca-icon-button"]], inputs: { colorOnHover: [1, "colorOnHover"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: [1, "isInProgress"] }, outputs: { buttonClick: "buttonClick" }, decls: 3, vars: 6, consts: [["mat-icon-button", "", "onclick", "this.blur()", 3, "mouseenter", "mouseleave", "click", "disabled"]], template: function IconButtonComponent_Template(rf, ctx) { if (rf & 1) {
915
959
  i0.ɵɵelementStart(0, "button", 0);
916
960
  i0.ɵɵlistener("mouseenter", function IconButtonComponent_Template_button_mouseenter_0_listener() { return ctx.onMouseEnter(); })("mouseleave", function IconButtonComponent_Template_button_mouseleave_0_listener() { return ctx.onMouseLeave(); })("click", function IconButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
917
961
  i0.ɵɵelementStart(1, "mat-icon");
@@ -1199,14 +1243,33 @@ function MenuItemComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
1199
1243
  i0.ɵɵadvance();
1200
1244
  i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
1201
1245
  } }
1202
- class MenuItemComponent extends BaseButtonWithLabel {
1246
+ class MenuItemComponent {
1203
1247
  constructor() {
1204
- super(...arguments);
1205
1248
  this.translateLabel = input(false, ...(ngDevMode ? [{ debugName: "translateLabel" }] : []));
1206
1249
  this.trigger = input(...(ngDevMode ? [undefined, { debugName: "trigger" }] : []));
1250
+ this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
1251
+ this.small = input(false, ...(ngDevMode ? [{ debugName: "small" }] : []));
1252
+ this.colorOnHover = input(undefined, ...(ngDevMode ? [{ debugName: "colorOnHover" }] : []));
1253
+ this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
1254
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
1255
+ this.iconAlignment = input('left', ...(ngDevMode ? [{ debugName: "iconAlignment" }] : []));
1256
+ this.isDisabled = input(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
1257
+ this.isInProgress = input(false, ...(ngDevMode ? [{ debugName: "isInProgress" }] : []));
1258
+ this.iconColor = computed(() => this.isHovered() ? this.colorOnHover() || this.color() : this.color(), ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
1259
+ this.showIcon = computed(() => !!this.icon() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
1260
+ this.iconToShow = computed(() => this.isInProgress() ? 'update' : this.icon(), ...(ngDevMode ? [{ debugName: "iconToShow" }] : []));
1261
+ this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "buttonDisabled" }] : []));
1262
+ this.buttonClick = output();
1263
+ this.isHovered = signal(false, ...(ngDevMode ? [{ debugName: "isHovered" }] : []));
1264
+ }
1265
+ onMouseEnter() {
1266
+ this.isHovered.set(true);
1267
+ }
1268
+ onMouseLeave() {
1269
+ this.isHovered.set(false);
1207
1270
  }
1208
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMenuItemComponent_BaseFactory; return function MenuItemComponent_Factory(__ngFactoryType__) { return (ɵMenuItemComponent_BaseFactory || (ɵMenuItemComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MenuItemComponent)))(__ngFactoryType__ || MenuItemComponent); }; })(); }
1209
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuItemComponent, selectors: [["cauca-menu-item"]], inputs: { translateLabel: [1, "translateLabel"], trigger: [1, "trigger"] }, features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 6, consts: [["mat-menu-item", "", 1, "change-password-menu-item", 3, "mouseenter", "mouseleave", "click", "ngClass", "matMenuTriggerFor", "disabled"], [3, "color", "button-spin"]], template: function MenuItemComponent_Template(rf, ctx) { if (rf & 1) {
1271
+ static { this.ɵfac = function MenuItemComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuItemComponent)(); }; }
1272
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuItemComponent, selectors: [["cauca-menu-item"]], inputs: { translateLabel: [1, "translateLabel"], trigger: [1, "trigger"], label: [1, "label"], small: [1, "small"], colorOnHover: [1, "colorOnHover"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: [1, "isInProgress"] }, outputs: { buttonClick: "buttonClick" }, decls: 5, vars: 6, consts: [["mat-menu-item", "", 1, "change-password-menu-item", 3, "mouseenter", "mouseleave", "click", "ngClass", "matMenuTriggerFor", "disabled"], [3, "color", "button-spin"]], template: function MenuItemComponent_Template(rf, ctx) { if (rf & 1) {
1210
1273
  i0.ɵɵelementStart(0, "button", 0);
1211
1274
  i0.ɵɵlistener("mouseenter", function MenuItemComponent_Template_button_mouseenter_0_listener() { return ctx.onMouseEnter(); })("mouseleave", function MenuItemComponent_Template_button_mouseleave_0_listener() { return ctx.onMouseLeave(); })("click", function MenuItemComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
1212
1275
  i0.ɵɵconditionalCreate(1, MenuItemComponent_Conditional_1_Template, 2, 5, "mat-icon", 1);
@@ -1227,7 +1290,7 @@ class MenuItemComponent extends BaseButtonWithLabel {
1227
1290
  type: Component,
1228
1291
  args: [{ selector: 'cauca-menu-item', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatMenuItem, TranslateModule, MatIcon, MatMenuTrigger, NgClass], template: "<button (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" mat-menu-item [ngClass]=\"small() ? 'small-button' : ''\" class=\"change-password-menu-item\" [matMenuTriggerFor]=\"trigger()\" [disabled]=\"buttonDisabled()\" (click)=\"buttonClick.emit()\">\r\n @if(showIcon() && iconAlignment() === 'left') { <mat-icon [style.color]=\"iconColor()\" [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n @if (translateLabel()) {{{label()|translate}}} @else {{{label()}}}\r\n @if(showIcon() && iconAlignment() === 'right') { <mat-icon [style.color]=\"iconColor()\" [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n</button>\r\n", styles: [".mat-mdc-menu-item .mat-icon-no-color{color:#0000008f}mat-icon{color:inherit}\n"] }]
1229
1292
  }], null, null); })();
1230
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuItemComponent, { className: "MenuItemComponent", filePath: "lib/buttons/menu-item/menu-item.component.ts", lineNumber: 16 }); })();
1293
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuItemComponent, { className: "MenuItemComponent", filePath: "lib/buttons/menu-item/menu-item.component.ts", lineNumber: 15 }); })();
1231
1294
 
1232
1295
  function RaisedButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
1233
1296
  i0.ɵɵelementStart(0, "mat-icon");
@@ -1262,9 +1325,32 @@ function RaisedButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
1262
1325
  i0.ɵɵadvance();
1263
1326
  i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
1264
1327
  } }
1265
- class RaisedButtonComponent extends BaseButtonWithLabel {
1266
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵRaisedButtonComponent_BaseFactory; return function RaisedButtonComponent_Factory(__ngFactoryType__) { return (ɵRaisedButtonComponent_BaseFactory || (ɵRaisedButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RaisedButtonComponent)))(__ngFactoryType__ || RaisedButtonComponent); }; })(); }
1267
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RaisedButtonComponent, selectors: [["cauca-raised-button"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 5, vars: 6, consts: [["mat-raised-button", "", "onclick", "this.blur()", 3, "click", "ngClass", "color", "disabled"], [3, "button-spin"]], template: function RaisedButtonComponent_Template(rf, ctx) { if (rf & 1) {
1328
+ class RaisedButtonComponent {
1329
+ constructor() {
1330
+ this.translateLabel = input(true, ...(ngDevMode ? [{ debugName: "translateLabel" }] : []));
1331
+ this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
1332
+ this.small = input(false, ...(ngDevMode ? [{ debugName: "small" }] : []));
1333
+ this.colorOnHover = input(undefined, ...(ngDevMode ? [{ debugName: "colorOnHover" }] : []));
1334
+ this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
1335
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
1336
+ this.iconAlignment = input('left', ...(ngDevMode ? [{ debugName: "iconAlignment" }] : []));
1337
+ this.isDisabled = input(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
1338
+ this.isInProgress = input(false, ...(ngDevMode ? [{ debugName: "isInProgress" }] : []));
1339
+ this.iconColor = computed(() => this.isHovered() ? this.colorOnHover() || this.color() : this.color(), ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
1340
+ this.showIcon = computed(() => !!this.icon() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
1341
+ this.iconToShow = computed(() => this.isInProgress() ? 'update' : this.icon(), ...(ngDevMode ? [{ debugName: "iconToShow" }] : []));
1342
+ this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "buttonDisabled" }] : []));
1343
+ this.buttonClick = output();
1344
+ this.isHovered = signal(false, ...(ngDevMode ? [{ debugName: "isHovered" }] : []));
1345
+ }
1346
+ onMouseEnter() {
1347
+ this.isHovered.set(true);
1348
+ }
1349
+ onMouseLeave() {
1350
+ this.isHovered.set(false);
1351
+ }
1352
+ static { this.ɵfac = function RaisedButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RaisedButtonComponent)(); }; }
1353
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RaisedButtonComponent, selectors: [["cauca-raised-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], small: [1, "small"], colorOnHover: [1, "colorOnHover"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: [1, "isInProgress"] }, outputs: { buttonClick: "buttonClick" }, decls: 5, vars: 6, consts: [["mat-raised-button", "", "onclick", "this.blur()", 3, "click", "ngClass", "color", "disabled"], [3, "button-spin"]], template: function RaisedButtonComponent_Template(rf, ctx) { if (rf & 1) {
1268
1354
  i0.ɵɵelementStart(0, "button", 0);
1269
1355
  i0.ɵɵlistener("click", function RaisedButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
1270
1356
  i0.ɵɵconditionalCreate(1, RaisedButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
@@ -1285,7 +1371,7 @@ class RaisedButtonComponent extends BaseButtonWithLabel {
1285
1371
  type: Component,
1286
1372
  args: [{ selector: 'cauca-raised-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, MatIconModule, TranslateModule, NgClass], template: "<button mat-raised-button [ngClass]=\"small() ? 'small-button' : ''\" [color]=\"color()\" onclick=\"this.blur()\" [disabled]=\"buttonDisabled()\" (click)=\"buttonClick.emit()\">\r\n @if (showIcon() && iconAlignment() === 'left') { <mat-icon [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n @if (translateLabel()) {{{label()|translate}}} @else {{{label()}}}\r\n @if (showIcon() && iconAlignment() === 'right') { <mat-icon [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n</button>", styles: [".mdc-button.mat-white,.mat-stroked-button.mat-white{color:#fff;border-color:#fff}.mdc-button.mat-white:hover,.mat-mdc-outlined-button.mat-white:hover{background-color:transparent}mat-icon{color:inherit}\n"] }]
1287
1373
  }], null, null); })();
1288
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RaisedButtonComponent, { className: "RaisedButtonComponent", filePath: "lib/buttons/raised-button/raised-button.component.ts", lineNumber: 16 }); })();
1374
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RaisedButtonComponent, { className: "RaisedButtonComponent", filePath: "lib/buttons/raised-button/raised-button.component.ts", lineNumber: 15 }); })();
1289
1375
 
1290
1376
  class RefreshButtonComponent {
1291
1377
  constructor() {
@@ -1328,9 +1414,32 @@ function RoundButtonComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
1328
1414
  const ctx_r0 = i0.ɵɵnextContext();
1329
1415
  i0.ɵɵtextInterpolate(ctx_r0.label());
1330
1416
  } }
1331
- class RoundButtonComponent extends BaseButtonWithLabel {
1332
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵRoundButtonComponent_BaseFactory; return function RoundButtonComponent_Factory(__ngFactoryType__) { return (ɵRoundButtonComponent_BaseFactory || (ɵRoundButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RoundButtonComponent)))(__ngFactoryType__ || RoundButtonComponent); }; })(); }
1333
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RoundButtonComponent, selectors: [["cauca-round-button"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [["onclick", "this.blur()", 3, "mouseenter", "mouseleave", "click", "disabled"]], template: function RoundButtonComponent_Template(rf, ctx) { if (rf & 1) {
1417
+ class RoundButtonComponent {
1418
+ constructor() {
1419
+ this.translateLabel = input(true, ...(ngDevMode ? [{ debugName: "translateLabel" }] : []));
1420
+ this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
1421
+ this.small = input(false, ...(ngDevMode ? [{ debugName: "small" }] : []));
1422
+ this.colorOnHover = input(undefined, ...(ngDevMode ? [{ debugName: "colorOnHover" }] : []));
1423
+ this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
1424
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
1425
+ this.iconAlignment = input('left', ...(ngDevMode ? [{ debugName: "iconAlignment" }] : []));
1426
+ this.isDisabled = input(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
1427
+ this.isInProgress = input(false, ...(ngDevMode ? [{ debugName: "isInProgress" }] : []));
1428
+ this.iconColor = computed(() => this.isHovered() ? this.colorOnHover() || this.color() : this.color(), ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
1429
+ this.showIcon = computed(() => !!this.icon() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
1430
+ this.iconToShow = computed(() => this.isInProgress() ? 'update' : this.icon(), ...(ngDevMode ? [{ debugName: "iconToShow" }] : []));
1431
+ this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "buttonDisabled" }] : []));
1432
+ this.buttonClick = output();
1433
+ this.isHovered = signal(false, ...(ngDevMode ? [{ debugName: "isHovered" }] : []));
1434
+ }
1435
+ onMouseEnter() {
1436
+ this.isHovered.set(true);
1437
+ }
1438
+ onMouseLeave() {
1439
+ this.isHovered.set(false);
1440
+ }
1441
+ static { this.ɵfac = function RoundButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RoundButtonComponent)(); }; }
1442
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RoundButtonComponent, selectors: [["cauca-round-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], small: [1, "small"], colorOnHover: [1, "colorOnHover"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: [1, "isInProgress"] }, outputs: { buttonClick: "buttonClick" }, decls: 3, vars: 2, consts: [["onclick", "this.blur()", 3, "mouseenter", "mouseleave", "click", "disabled"]], template: function RoundButtonComponent_Template(rf, ctx) { if (rf & 1) {
1334
1443
  i0.ɵɵdomElementStart(0, "button", 0);
1335
1444
  i0.ɵɵdomListener("mouseenter", function RoundButtonComponent_Template_button_mouseenter_0_listener() { return ctx.onMouseEnter(); })("mouseleave", function RoundButtonComponent_Template_button_mouseleave_0_listener() { return ctx.onMouseLeave(); })("click", function RoundButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
1336
1445
  i0.ɵɵconditionalCreate(1, RoundButtonComponent_Conditional_1_Template, 2, 3)(2, RoundButtonComponent_Conditional_2_Template, 1, 1);
@@ -1345,7 +1454,7 @@ class RoundButtonComponent extends BaseButtonWithLabel {
1345
1454
  type: Component,
1346
1455
  args: [{ selector: 'cauca-round-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule], template: "<button (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" onclick=\"this.blur()\" (click)=\"buttonClick.emit();\" [disabled]=\"buttonDisabled()\">\r\n @if (translateLabel()) {{{label()|translate}}} @else {{{label()}}}\r\n</button>", styles: ["button{border-radius:100px;background-color:inherit;outline:none;border-width:0px;height:40px;width:40px;cursor:pointer}:host{display:flex}.mdc-button.mat-white,.mat-stroked-button.mat-white{color:#fff;border-color:#fff}.mdc-button.mat-white:hover,.mat-mdc-outlined-button.mat-white:hover{background-color:transparent}mat-icon{color:#006496}.mat-mdc-button-disabled .mat-icon{color:#12101461}\n"] }]
1347
1456
  }], null, null); })();
1348
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RoundButtonComponent, { className: "RoundButtonComponent", filePath: "lib/buttons/round-button/round-button.component.ts", lineNumber: 13 }); })();
1457
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RoundButtonComponent, { className: "RoundButtonComponent", filePath: "lib/buttons/round-button/round-button.component.ts", lineNumber: 12 }); })();
1349
1458
 
1350
1459
  function StrokedButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
1351
1460
  i0.ɵɵelementStart(0, "mat-icon");
@@ -1386,9 +1495,32 @@ function StrokedButtonComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
1386
1495
  i0.ɵɵadvance();
1387
1496
  i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
1388
1497
  } }
1389
- class StrokedButtonComponent extends BaseButtonWithLabel {
1390
- static { this.ɵfac = /*@__PURE__*/ (() => { let ɵStrokedButtonComponent_BaseFactory; return function StrokedButtonComponent_Factory(__ngFactoryType__) { return (ɵStrokedButtonComponent_BaseFactory || (ɵStrokedButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(StrokedButtonComponent)))(__ngFactoryType__ || StrokedButtonComponent); }; })(); }
1391
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StrokedButtonComponent, selectors: [["cauca-stroked-button"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 8, consts: [["mat-stroked-button", "", "onclick", "this.blur()", 3, "click", "ngClass", "color", "disabled"], [3, "button-spin"]], template: function StrokedButtonComponent_Template(rf, ctx) { if (rf & 1) {
1498
+ class StrokedButtonComponent {
1499
+ constructor() {
1500
+ this.translateLabel = input(true, ...(ngDevMode ? [{ debugName: "translateLabel" }] : []));
1501
+ this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
1502
+ this.small = input(false, ...(ngDevMode ? [{ debugName: "small" }] : []));
1503
+ this.colorOnHover = input(undefined, ...(ngDevMode ? [{ debugName: "colorOnHover" }] : []));
1504
+ this.color = input(undefined, ...(ngDevMode ? [{ debugName: "color" }] : []));
1505
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
1506
+ this.iconAlignment = input('left', ...(ngDevMode ? [{ debugName: "iconAlignment" }] : []));
1507
+ this.isDisabled = input(false, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
1508
+ this.isInProgress = input(false, ...(ngDevMode ? [{ debugName: "isInProgress" }] : []));
1509
+ this.iconColor = computed(() => this.isHovered() ? this.colorOnHover() || this.color() : this.color(), ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
1510
+ this.showIcon = computed(() => !!this.icon() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "showIcon" }] : []));
1511
+ this.iconToShow = computed(() => this.isInProgress() ? 'update' : this.icon(), ...(ngDevMode ? [{ debugName: "iconToShow" }] : []));
1512
+ this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress(), ...(ngDevMode ? [{ debugName: "buttonDisabled" }] : []));
1513
+ this.buttonClick = output();
1514
+ this.isHovered = signal(false, ...(ngDevMode ? [{ debugName: "isHovered" }] : []));
1515
+ }
1516
+ onMouseEnter() {
1517
+ this.isHovered.set(true);
1518
+ }
1519
+ onMouseLeave() {
1520
+ this.isHovered.set(false);
1521
+ }
1522
+ static { this.ɵfac = function StrokedButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StrokedButtonComponent)(); }; }
1523
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StrokedButtonComponent, selectors: [["cauca-stroked-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], small: [1, "small"], colorOnHover: [1, "colorOnHover"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: [1, "isInProgress"] }, outputs: { buttonClick: "buttonClick" }, decls: 4, vars: 8, consts: [["mat-stroked-button", "", "onclick", "this.blur()", 3, "click", "ngClass", "color", "disabled"], [3, "button-spin"]], template: function StrokedButtonComponent_Template(rf, ctx) { if (rf & 1) {
1392
1524
  i0.ɵɵelementStart(0, "button", 0);
1393
1525
  i0.ɵɵlistener("click", function StrokedButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
1394
1526
  i0.ɵɵconditionalCreate(1, StrokedButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
@@ -1410,7 +1542,7 @@ class StrokedButtonComponent extends BaseButtonWithLabel {
1410
1542
  type: Component,
1411
1543
  args: [{ selector: 'cauca-stroked-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, MatIconModule, TranslateModule, NgClass], template: "<button mat-stroked-button [ngClass]=\"small() ? 'small-button' : ''\" [color]=\"color()\" onclick=\"this.blur()\" [disabled]=\"buttonDisabled()\" (click)=\"buttonClick.emit()\" [class.icon-only]=\"!label()\">\r\n @if(showIcon() && iconAlignment() === 'left') { <mat-icon [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n @if (label()) { @if (translateLabel()) {{{label()|translate}}} @else {{{label()}}} }\r\n @if(showIcon() && iconAlignment() === 'right') { <mat-icon [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon> }\r\n</button>", styles: [".mdc-button.mat-white,.mat-stroked-button.mat-white{color:#fff;border-color:#fff}.mdc-button.mat-white:hover,.mat-mdc-outlined-button.mat-white:hover{background-color:transparent}.icon-only{width:36px;height:36px;min-width:38px;padding:0}.icon-only mat-icon{margin:0}mat-icon{color:inherit}\n"] }]
1412
1544
  }], null, null); })();
1413
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(StrokedButtonComponent, { className: "StrokedButtonComponent", filePath: "lib/buttons/stroked-button/stroked-button.component.ts", lineNumber: 16 }); })();
1545
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(StrokedButtonComponent, { className: "StrokedButtonComponent", filePath: "lib/buttons/stroked-button/stroked-button.component.ts", lineNumber: 15 }); })();
1414
1546
 
1415
1547
  class AlertDialogComponent {
1416
1548
  constructor(dialogRef, data, breakdownObserver) {
@@ -2825,14 +2957,11 @@ class DropdownChipAutocompleteComponent {
2825
2957
  }
2826
2958
  }
2827
2959
  filterSelectedItem() {
2828
- const searchValue = this.toLowerCaseAndWithoutDiacritics((this.searchValue ?? ''));
2960
+ const searchValue = toLowerCaseAndWithoutDiacritics(this.searchValue);
2829
2961
  const filtered = this.listAutoComplete.filter((item) => !this.selectedValues.includes(item[this.keyValue])
2830
- && this.toLowerCaseAndWithoutDiacritics(item[this.displayValue] ?? '').includes(searchValue));
2962
+ && toLowerCaseAndWithoutDiacritics(item[this.displayValue]).includes(searchValue));
2831
2963
  return filtered;
2832
2964
  }
2833
- toLowerCaseAndWithoutDiacritics(value) {
2834
- return value.normalize('NFD').replace(/\p{Diacritic}/gu, '').toLowerCase();
2835
- }
2836
2965
  static { this.ɵfac = function DropdownChipAutocompleteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DropdownChipAutocompleteComponent)(i0.ɵɵdirectiveInject(i1$7.NgControl, 10), i0.ɵɵdirectiveInject(i1$7.NgForm, 8), i0.ɵɵdirectiveInject(i1$7.FormGroupDirective, 8), i0.ɵɵdirectiveInject(i0.ElementRef)); }; }
2837
2966
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DropdownChipAutocompleteComponent, selectors: [["cauca-dropdown-chip-autocomplete"]], contentQueries: function DropdownChipAutocompleteComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
2838
2967
  i0.ɵɵcontentQuery(dirIndex, TemplateRef, 5);
@@ -2955,7 +3084,7 @@ class DropdownChipAutocompleteComponent {
2955
3084
  }], placeholder: [{
2956
3085
  type: Input
2957
3086
  }] }); })();
2958
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DropdownChipAutocompleteComponent, { className: "DropdownChipAutocompleteComponent", filePath: "lib/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.ts", lineNumber: 45 }); })();
3087
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DropdownChipAutocompleteComponent, { className: "DropdownChipAutocompleteComponent", filePath: "lib/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.ts", lineNumber: 46 }); })();
2959
3088
 
2960
3089
  const _c0$5 = ["*"];
2961
3090
  class GroupContainerComponent {