@cauca-911/material 20.0.13 → 20.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/cauca-911-material.mjs +113 -245
- package/fesm2022/cauca-911-material.mjs.map +1 -1
- package/index.d.ts +146 -251
- package/package.json +1 -1
|
@@ -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, 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, Directive, 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';
|
|
@@ -134,7 +134,7 @@ class MobileTimePickerComponent {
|
|
|
134
134
|
}], valueChange: [{
|
|
135
135
|
type: Output
|
|
136
136
|
}] }); })();
|
|
137
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MobileTimePickerComponent, { className: "MobileTimePickerComponent", filePath: "lib/cauca-date-time-picker/components/mobile-time-picker/mobile-time-picker.component.ts", lineNumber: 18 }); })();
|
|
137
|
+
(() => { (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: 18 }); })();
|
|
138
138
|
|
|
139
139
|
function DesktopTimePickerComponent_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
140
140
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -179,7 +179,7 @@ class DesktopTimePickerComponent {
|
|
|
179
179
|
}], valueChange: [{
|
|
180
180
|
type: Output
|
|
181
181
|
}] }); })();
|
|
182
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DesktopTimePickerComponent, { className: "DesktopTimePickerComponent", filePath: "lib/cauca-date-time-picker/components/desktop-time-picker/desktop-time-picker.component.ts", lineNumber: 12 }); })();
|
|
182
|
+
(() => { (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: 12 }); })();
|
|
183
183
|
|
|
184
184
|
const _c0$b = (a0, a1) => ({ all: a0, someOptions: a1 });
|
|
185
185
|
function DialogDateTimePickerComponent_Conditional_4_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -523,7 +523,7 @@ class DialogDateTimePickerComponent {
|
|
|
523
523
|
type: HostListener,
|
|
524
524
|
args: ['window:resize', ['$event']]
|
|
525
525
|
}] }); })();
|
|
526
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DialogDateTimePickerComponent, { className: "DialogDateTimePickerComponent", filePath: "lib/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.ts", lineNumber: 30 }); })();
|
|
526
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DialogDateTimePickerComponent, { className: "DialogDateTimePickerComponent", filePath: "lib/components/cauca-date-time-picker/components/dialog-date-time-picker/dialog-date-time-picker.component.ts", lineNumber: 30 }); })();
|
|
527
527
|
|
|
528
528
|
function CaucaDateTimePickerComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
529
529
|
i0.ɵɵelementStart(0, "mat-label");
|
|
@@ -716,7 +716,48 @@ class CaucaDateTimePickerComponent {
|
|
|
716
716
|
}], value: [{
|
|
717
717
|
type: Input
|
|
718
718
|
}] }); })();
|
|
719
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaDateTimePickerComponent, { className: "CaucaDateTimePickerComponent", filePath: "lib/cauca-date-time-picker/cauca-date-time-picker.component.ts", lineNumber: 33 }); })();
|
|
719
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaDateTimePickerComponent, { className: "CaucaDateTimePickerComponent", filePath: "lib/components/cauca-date-time-picker/cauca-date-time-picker.component.ts", lineNumber: 33 }); })();
|
|
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); })();
|
|
720
761
|
|
|
721
762
|
function BasicButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
722
763
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
@@ -751,32 +792,9 @@ function BasicButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
751
792
|
i0.ɵɵadvance();
|
|
752
793
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
753
794
|
} }
|
|
754
|
-
class BasicButtonComponent {
|
|
755
|
-
|
|
756
|
-
|
|
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) {
|
|
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) {
|
|
780
798
|
i0.ɵɵelementStart(0, "button", 0);
|
|
781
799
|
i0.ɵɵlistener("click", function BasicButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
782
800
|
i0.ɵɵconditionalCreate(1, BasicButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
|
|
@@ -797,7 +815,7 @@ class BasicButtonComponent {
|
|
|
797
815
|
type: Component,
|
|
798
816
|
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"] }]
|
|
799
817
|
}], null, null); })();
|
|
800
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BasicButtonComponent, { className: "BasicButtonComponent", filePath: "lib/buttons/basic-button/basic-button.component.ts", lineNumber:
|
|
818
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BasicButtonComponent, { className: "BasicButtonComponent", filePath: "lib/components/buttons/basic-button/basic-button.component.ts", lineNumber: 16 }); })();
|
|
801
819
|
|
|
802
820
|
function FabButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
803
821
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
@@ -810,32 +828,13 @@ function FabButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
810
828
|
i0.ɵɵadvance();
|
|
811
829
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
812
830
|
} }
|
|
813
|
-
class FabButtonComponent {
|
|
831
|
+
class FabButtonComponent extends BaseButtonWithLabel {
|
|
814
832
|
constructor() {
|
|
833
|
+
super(...arguments);
|
|
815
834
|
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" }] : []));
|
|
830
835
|
}
|
|
831
|
-
|
|
832
|
-
|
|
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) {
|
|
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) {
|
|
839
838
|
i0.ɵɵelementStart(0, "button", 0);
|
|
840
839
|
i0.ɵɵlistener("click", function FabButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
841
840
|
i0.ɵɵconditionalCreate(1, FabButtonComponent_Conditional_1_Template, 2, 5, "mat-icon", 1);
|
|
@@ -850,7 +849,7 @@ class FabButtonComponent {
|
|
|
850
849
|
type: Component,
|
|
851
850
|
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"] }]
|
|
852
851
|
}], null, null); })();
|
|
853
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FabButtonComponent, { className: "FabButtonComponent", filePath: "lib/buttons/fab-button/fab-button.component.ts", lineNumber:
|
|
852
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FabButtonComponent, { className: "FabButtonComponent", filePath: "lib/components/buttons/fab-button/fab-button.component.ts", lineNumber: 14 }); })();
|
|
854
853
|
|
|
855
854
|
function FlatButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
856
855
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
@@ -885,32 +884,9 @@ function FlatButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
885
884
|
i0.ɵɵadvance();
|
|
886
885
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
887
886
|
} }
|
|
888
|
-
class FlatButtonComponent {
|
|
889
|
-
|
|
890
|
-
|
|
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) {
|
|
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) {
|
|
914
890
|
i0.ɵɵelementStart(0, "button", 0);
|
|
915
891
|
i0.ɵɵlistener("click", function FlatButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
916
892
|
i0.ɵɵconditionalCreate(1, FlatButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
|
|
@@ -931,31 +907,11 @@ class FlatButtonComponent {
|
|
|
931
907
|
type: Component,
|
|
932
908
|
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"] }]
|
|
933
909
|
}], null, null); })();
|
|
934
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FlatButtonComponent, { className: "FlatButtonComponent", filePath: "lib/buttons/flat-button/flat-button.component.ts", lineNumber:
|
|
910
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FlatButtonComponent, { className: "FlatButtonComponent", filePath: "lib/components/buttons/flat-button/flat-button.component.ts", lineNumber: 16 }); })();
|
|
935
911
|
|
|
936
|
-
class IconButtonComponent {
|
|
937
|
-
|
|
938
|
-
|
|
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) {
|
|
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) {
|
|
959
915
|
i0.ɵɵelementStart(0, "button", 0);
|
|
960
916
|
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(); });
|
|
961
917
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
@@ -974,7 +930,7 @@ class IconButtonComponent {
|
|
|
974
930
|
type: Component,
|
|
975
931
|
args: [{ selector: 'cauca-icon-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatIconButton, MatIcon], template: "<button (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" mat-icon-button onclick=\"this.blur()\" (click)=\"buttonClick.emit();\" [disabled]=\"buttonDisabled()\">\r\n <mat-icon [style.color]=\"iconColor()\" [class.button-spin]=\"isInProgress()\">{{iconToShow()}}</mat-icon>\r\n</button>", styles: [":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"] }]
|
|
976
932
|
}], null, null); })();
|
|
977
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconButtonComponent, { className: "IconButtonComponent", filePath: "lib/buttons/icon-button/icon-button.component.ts", lineNumber: 14 }); })();
|
|
933
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconButtonComponent, { className: "IconButtonComponent", filePath: "lib/components/buttons/icon-button/icon-button.component.ts", lineNumber: 14 }); })();
|
|
978
934
|
|
|
979
935
|
function ButtonComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
980
936
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
@@ -1181,7 +1137,7 @@ class ButtonComponent {
|
|
|
1181
1137
|
}], buttonClick: [{
|
|
1182
1138
|
type: Output
|
|
1183
1139
|
}] }); })();
|
|
1184
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "lib/button/button.component.ts", lineNumber: 12 }); })();
|
|
1140
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent", filePath: "lib/components/button/button.component.ts", lineNumber: 12 }); })();
|
|
1185
1141
|
|
|
1186
1142
|
class LinkButtonComponent {
|
|
1187
1143
|
constructor(clipboard) {
|
|
@@ -1206,7 +1162,7 @@ class LinkButtonComponent {
|
|
|
1206
1162
|
type: Component,
|
|
1207
1163
|
args: [{ selector: 'cauca-link-button', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonComponent, TranslatePipe], template: "<cauca-button class=\"link-button\" icon=\"link\" type=\"stroked\" color=\"primary\" (buttonClick)=\"copyLink()\" [label]=\"'copyLink'|translate\" />", styles: [".link-button{text-decoration:dashed}\n"] }]
|
|
1208
1164
|
}], () => [{ type: i1$5.Clipboard }], null); })();
|
|
1209
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LinkButtonComponent, { className: "LinkButtonComponent", filePath: "lib/buttons/link-button/link-button.component.ts", lineNumber: 14 }); })();
|
|
1165
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LinkButtonComponent, { className: "LinkButtonComponent", filePath: "lib/components/buttons/link-button/link-button.component.ts", lineNumber: 14 }); })();
|
|
1210
1166
|
|
|
1211
1167
|
function MenuItemComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1212
1168
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
@@ -1243,33 +1199,14 @@ function MenuItemComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
1243
1199
|
i0.ɵɵadvance();
|
|
1244
1200
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
1245
1201
|
} }
|
|
1246
|
-
class MenuItemComponent {
|
|
1202
|
+
class MenuItemComponent extends BaseButtonWithLabel {
|
|
1247
1203
|
constructor() {
|
|
1204
|
+
super(...arguments);
|
|
1248
1205
|
this.translateLabel = input(false, ...(ngDevMode ? [{ debugName: "translateLabel" }] : []));
|
|
1249
1206
|
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);
|
|
1270
1207
|
}
|
|
1271
|
-
static { this.ɵfac = function MenuItemComponent_Factory(__ngFactoryType__) { return
|
|
1272
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuItemComponent, selectors: [["cauca-menu-item"]], inputs: { translateLabel: [1, "translateLabel"], trigger: [1, "trigger"]
|
|
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) {
|
|
1273
1210
|
i0.ɵɵelementStart(0, "button", 0);
|
|
1274
1211
|
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(); });
|
|
1275
1212
|
i0.ɵɵconditionalCreate(1, MenuItemComponent_Conditional_1_Template, 2, 5, "mat-icon", 1);
|
|
@@ -1290,7 +1227,7 @@ class MenuItemComponent {
|
|
|
1290
1227
|
type: Component,
|
|
1291
1228
|
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"] }]
|
|
1292
1229
|
}], null, null); })();
|
|
1293
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuItemComponent, { className: "MenuItemComponent", filePath: "lib/buttons/menu-item/menu-item.component.ts", lineNumber:
|
|
1230
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuItemComponent, { className: "MenuItemComponent", filePath: "lib/components/buttons/menu-item/menu-item.component.ts", lineNumber: 16 }); })();
|
|
1294
1231
|
|
|
1295
1232
|
function RaisedButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1296
1233
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
@@ -1325,32 +1262,9 @@ function RaisedButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
1325
1262
|
i0.ɵɵadvance();
|
|
1326
1263
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
1327
1264
|
} }
|
|
1328
|
-
class RaisedButtonComponent {
|
|
1329
|
-
|
|
1330
|
-
|
|
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) {
|
|
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) {
|
|
1354
1268
|
i0.ɵɵelementStart(0, "button", 0);
|
|
1355
1269
|
i0.ɵɵlistener("click", function RaisedButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
1356
1270
|
i0.ɵɵconditionalCreate(1, RaisedButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
|
|
@@ -1371,7 +1285,7 @@ class RaisedButtonComponent {
|
|
|
1371
1285
|
type: Component,
|
|
1372
1286
|
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"] }]
|
|
1373
1287
|
}], null, null); })();
|
|
1374
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RaisedButtonComponent, { className: "RaisedButtonComponent", filePath: "lib/buttons/raised-button/raised-button.component.ts", lineNumber:
|
|
1288
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RaisedButtonComponent, { className: "RaisedButtonComponent", filePath: "lib/components/buttons/raised-button/raised-button.component.ts", lineNumber: 16 }); })();
|
|
1375
1289
|
|
|
1376
1290
|
class RefreshButtonComponent {
|
|
1377
1291
|
constructor() {
|
|
@@ -1399,7 +1313,7 @@ class RefreshButtonComponent {
|
|
|
1399
1313
|
}], refreshEvent: [{
|
|
1400
1314
|
type: Output
|
|
1401
1315
|
}] }); })();
|
|
1402
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RefreshButtonComponent, { className: "RefreshButtonComponent", filePath: "lib/buttons/refresh-button/refresh-button.component.ts", lineNumber: 12 }); })();
|
|
1316
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RefreshButtonComponent, { className: "RefreshButtonComponent", filePath: "lib/components/buttons/refresh-button/refresh-button.component.ts", lineNumber: 12 }); })();
|
|
1403
1317
|
|
|
1404
1318
|
function RoundButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1405
1319
|
i0.ɵɵtext(0);
|
|
@@ -1414,32 +1328,9 @@ function RoundButtonComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1414
1328
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
1415
1329
|
i0.ɵɵtextInterpolate(ctx_r0.label());
|
|
1416
1330
|
} }
|
|
1417
|
-
class RoundButtonComponent {
|
|
1418
|
-
|
|
1419
|
-
|
|
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) {
|
|
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) {
|
|
1443
1334
|
i0.ɵɵdomElementStart(0, "button", 0);
|
|
1444
1335
|
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(); });
|
|
1445
1336
|
i0.ɵɵconditionalCreate(1, RoundButtonComponent_Conditional_1_Template, 2, 3)(2, RoundButtonComponent_Conditional_2_Template, 1, 1);
|
|
@@ -1454,7 +1345,7 @@ class RoundButtonComponent {
|
|
|
1454
1345
|
type: Component,
|
|
1455
1346
|
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"] }]
|
|
1456
1347
|
}], null, null); })();
|
|
1457
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RoundButtonComponent, { className: "RoundButtonComponent", filePath: "lib/buttons/round-button/round-button.component.ts", lineNumber:
|
|
1348
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RoundButtonComponent, { className: "RoundButtonComponent", filePath: "lib/components/buttons/round-button/round-button.component.ts", lineNumber: 13 }); })();
|
|
1458
1349
|
|
|
1459
1350
|
function StrokedButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1460
1351
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
@@ -1495,32 +1386,9 @@ function StrokedButtonComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
1495
1386
|
i0.ɵɵadvance();
|
|
1496
1387
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
1497
1388
|
} }
|
|
1498
|
-
class StrokedButtonComponent {
|
|
1499
|
-
|
|
1500
|
-
|
|
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) {
|
|
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) {
|
|
1524
1392
|
i0.ɵɵelementStart(0, "button", 0);
|
|
1525
1393
|
i0.ɵɵlistener("click", function StrokedButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
1526
1394
|
i0.ɵɵconditionalCreate(1, StrokedButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
|
|
@@ -1542,7 +1410,7 @@ class StrokedButtonComponent {
|
|
|
1542
1410
|
type: Component,
|
|
1543
1411
|
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"] }]
|
|
1544
1412
|
}], null, null); })();
|
|
1545
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(StrokedButtonComponent, { className: "StrokedButtonComponent", filePath: "lib/buttons/stroked-button/stroked-button.component.ts", lineNumber:
|
|
1413
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(StrokedButtonComponent, { className: "StrokedButtonComponent", filePath: "lib/components/buttons/stroked-button/stroked-button.component.ts", lineNumber: 16 }); })();
|
|
1546
1414
|
|
|
1547
1415
|
class AlertDialogComponent {
|
|
1548
1416
|
constructor(dialogRef, data, breakdownObserver) {
|
|
@@ -1588,7 +1456,7 @@ class AlertDialogComponent {
|
|
|
1588
1456
|
type: Inject,
|
|
1589
1457
|
args: [MAT_DIALOG_DATA]
|
|
1590
1458
|
}] }, { type: i2$2.BreakpointObserver }], null); })();
|
|
1591
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AlertDialogComponent, { className: "AlertDialogComponent", filePath: "lib/dialogs/alert-dialog/alert-dialog.component.ts", lineNumber: 17 }); })();
|
|
1459
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AlertDialogComponent, { className: "AlertDialogComponent", filePath: "lib/components/dialogs/alert-dialog/alert-dialog.component.ts", lineNumber: 17 }); })();
|
|
1592
1460
|
|
|
1593
1461
|
class ConfirmDialogComponent {
|
|
1594
1462
|
constructor(dialogRef, data, breakdownObserver) {
|
|
@@ -1648,7 +1516,7 @@ class ConfirmDialogComponent {
|
|
|
1648
1516
|
type: Inject,
|
|
1649
1517
|
args: [MAT_DIALOG_DATA]
|
|
1650
1518
|
}] }, { type: i2$2.BreakpointObserver }], null); })();
|
|
1651
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConfirmDialogComponent, { className: "ConfirmDialogComponent", filePath: "lib/dialogs/confirm-dialog/confirm-dialog.component.ts", lineNumber: 19 }); })();
|
|
1519
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConfirmDialogComponent, { className: "ConfirmDialogComponent", filePath: "lib/components/dialogs/confirm-dialog/confirm-dialog.component.ts", lineNumber: 19 }); })();
|
|
1652
1520
|
|
|
1653
1521
|
function TextInputDialogComponent_Conditional_11_Template(rf, ctx) { if (rf & 1) {
|
|
1654
1522
|
i0.ɵɵelement(0, "textarea", 5);
|
|
@@ -1775,7 +1643,7 @@ class TextInputDialogComponent {
|
|
|
1775
1643
|
type: Inject,
|
|
1776
1644
|
args: [MAT_DIALOG_DATA]
|
|
1777
1645
|
}] }], null); })();
|
|
1778
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextInputDialogComponent, { className: "TextInputDialogComponent", filePath: "lib/dialogs/text-input-dialog/text-input-dialog.component.ts", lineNumber: 19 }); })();
|
|
1646
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TextInputDialogComponent, { className: "TextInputDialogComponent", filePath: "lib/components/dialogs/text-input-dialog/text-input-dialog.component.ts", lineNumber: 19 }); })();
|
|
1779
1647
|
|
|
1780
1648
|
class DeleteDialogData {
|
|
1781
1649
|
constructor() {
|
|
@@ -1856,7 +1724,7 @@ class DeleteDialogComponent {
|
|
|
1856
1724
|
type: Inject,
|
|
1857
1725
|
args: [MAT_DIALOG_DATA]
|
|
1858
1726
|
}] }, { type: i2$2.BreakpointObserver }], null); })();
|
|
1859
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DeleteDialogComponent, { className: "DeleteDialogComponent", filePath: "lib/dialogs/delete-dialog/delete-dialog.component.ts", lineNumber: 18 }); })();
|
|
1727
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DeleteDialogComponent, { className: "DeleteDialogComponent", filePath: "lib/components/dialogs/delete-dialog/delete-dialog.component.ts", lineNumber: 18 }); })();
|
|
1860
1728
|
|
|
1861
1729
|
const _c0$9 = a0 => ({ itemName: a0 });
|
|
1862
1730
|
class ErrorDialogComponent {
|
|
@@ -1901,7 +1769,7 @@ class ErrorDialogComponent {
|
|
|
1901
1769
|
type: Inject,
|
|
1902
1770
|
args: [MAT_DIALOG_DATA]
|
|
1903
1771
|
}] }, { type: i2$2.BreakpointObserver }], null); })();
|
|
1904
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ErrorDialogComponent, { className: "ErrorDialogComponent", filePath: "lib/dialogs/error-dialog/error-dialog.component.ts", lineNumber: 17 }); })();
|
|
1772
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ErrorDialogComponent, { className: "ErrorDialogComponent", filePath: "lib/components/dialogs/error-dialog/error-dialog.component.ts", lineNumber: 17 }); })();
|
|
1905
1773
|
|
|
1906
1774
|
class DialogService {
|
|
1907
1775
|
constructor() {
|
|
@@ -2084,7 +1952,7 @@ class SnackBarComponent {
|
|
|
2084
1952
|
}], buttonClick: [{
|
|
2085
1953
|
type: Output
|
|
2086
1954
|
}] }); })();
|
|
2087
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SnackBarComponent, { className: "SnackBarComponent", filePath: "lib/misc/snack-bar/snack-bar.component.ts", lineNumber: 14 }); })();
|
|
1955
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SnackBarComponent, { className: "SnackBarComponent", filePath: "lib/components/misc/snack-bar/snack-bar.component.ts", lineNumber: 14 }); })();
|
|
2088
1956
|
|
|
2089
1957
|
function LoadingErrorComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
2090
1958
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -2117,7 +1985,7 @@ class LoadingErrorComponent {
|
|
|
2117
1985
|
}], null, { retryRequest: [{
|
|
2118
1986
|
type: Output
|
|
2119
1987
|
}] }); })();
|
|
2120
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingErrorComponent, { className: "LoadingErrorComponent", filePath: "lib/misc/loading-error/loading-error.component.ts", lineNumber: 13 }); })();
|
|
1988
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingErrorComponent, { className: "LoadingErrorComponent", filePath: "lib/components/misc/loading-error/loading-error.component.ts", lineNumber: 13 }); })();
|
|
2121
1989
|
|
|
2122
1990
|
function LoadingSpinnerIndicatorComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
2123
1991
|
i0.ɵɵelement(0, "mat-progress-spinner", 0);
|
|
@@ -2141,7 +2009,7 @@ class LoadingSpinnerIndicatorComponent {
|
|
|
2141
2009
|
type: Component,
|
|
2142
2010
|
args: [{ selector: 'cauca-loading-spinner-indicator', standalone: true, imports: [MatProgressSpinner], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (loadingState.showLoadingIndicator()) {\r\n <mat-progress-spinner mode=\"indeterminate\" [diameter]=\"diameter()\" />\r\n}\r\n" }]
|
|
2143
2011
|
}], null, null); })();
|
|
2144
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingSpinnerIndicatorComponent, { className: "LoadingSpinnerIndicatorComponent", filePath: "lib/misc/loading-spinner-indicator/loading-spinner-indicator.component.ts", lineNumber: 13 }); })();
|
|
2012
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingSpinnerIndicatorComponent, { className: "LoadingSpinnerIndicatorComponent", filePath: "lib/components/misc/loading-spinner-indicator/loading-spinner-indicator.component.ts", lineNumber: 13 }); })();
|
|
2145
2013
|
|
|
2146
2014
|
class BadgeComponent {
|
|
2147
2015
|
constructor() {
|
|
@@ -2170,7 +2038,7 @@ class BadgeComponent {
|
|
|
2170
2038
|
type: Component,
|
|
2171
2039
|
args: [{ selector: 'cauca-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule, MatChipsModule, MatIcon], template: "<mat-chip highlighted disableRipple [color]=\"color()\">\n <div class=\"mat-chip-content\">\n <mat-icon>{{icon()}}</mat-icon>\n <div class=\"chip-label\">{{label() | translate}}</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"] }]
|
|
2172
2040
|
}], null, null); })();
|
|
2173
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BadgeComponent, { className: "BadgeComponent", filePath: "lib/presenters/badge/badge.component.ts", lineNumber: 14 }); })();
|
|
2041
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BadgeComponent, { className: "BadgeComponent", filePath: "lib/components/presenters/badge/badge.component.ts", lineNumber: 14 }); })();
|
|
2174
2042
|
|
|
2175
2043
|
function IconComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
2176
2044
|
i0.ɵɵelementStart(0, "div", 0);
|
|
@@ -2233,7 +2101,7 @@ class IconComponent {
|
|
|
2233
2101
|
}], null, { icon: [{
|
|
2234
2102
|
type: Input
|
|
2235
2103
|
}] }); })();
|
|
2236
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconComponent, { className: "IconComponent", filePath: "lib/presenters/icon/icon.component.ts", lineNumber: 23 }); })();
|
|
2104
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconComponent, { className: "IconComponent", filePath: "lib/components/presenters/icon/icon.component.ts", lineNumber: 23 }); })();
|
|
2237
2105
|
|
|
2238
2106
|
function ListPaginatorComponent_For_4_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
2239
2107
|
i0.ɵɵelementStart(0, "div", 5);
|
|
@@ -2358,7 +2226,7 @@ class ListPaginatorComponent {
|
|
|
2358
2226
|
}], null, { pageChange: [{
|
|
2359
2227
|
type: Output
|
|
2360
2228
|
}] }); })();
|
|
2361
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ListPaginatorComponent, { className: "ListPaginatorComponent", filePath: "lib/list-paginator/list-paginator.component.ts", lineNumber: 12 }); })();
|
|
2229
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ListPaginatorComponent, { className: "ListPaginatorComponent", filePath: "lib/components/list-paginator/list-paginator.component.ts", lineNumber: 12 }); })();
|
|
2362
2230
|
|
|
2363
2231
|
function PasswordCriteriaComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
2364
2232
|
i0.ɵɵelementStart(0, "mat-icon", 0);
|
|
@@ -2400,7 +2268,7 @@ class PasswordCriteriaComponent {
|
|
|
2400
2268
|
type: Component,
|
|
2401
2269
|
args: [{ selector: 'cauca-password-criteria', standalone: true, imports: [MatIconModule, TranslateModule, NgClass], template: "@if (condition()) {\r\n<mat-icon [ngClass]=\"disabled() ? 'disabled' : ''\" class=\"green\">check_circle</mat-icon>\r\n}@else {\r\n<mat-icon [ngClass]=\"disabled() ? 'disabled' : ''\" class=\"red\">cancel</mat-icon>\r\n}\r\n<label [ngClass]=\"disabled() ? 'disabled' : ''\" class=\"body2\" translate>{{label()}}</label>", styles: [":host{display:flex;align-items:center;gap:8px}mat-icon{flex-shrink:0}.green{fill:#81c784;color:#81c784}.red{fill:#e57373;color:#e57373}label{color:#000}.disabled{opacity:.5}\n"] }]
|
|
2402
2270
|
}], null, null); })();
|
|
2403
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PasswordCriteriaComponent, { className: "PasswordCriteriaComponent", filePath: "lib/inputs/password/password-criteria/password-criteria.component.ts", lineNumber: 13 }); })();
|
|
2271
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PasswordCriteriaComponent, { className: "PasswordCriteriaComponent", filePath: "lib/components/inputs/password/password-criteria/password-criteria.component.ts", lineNumber: 13 }); })();
|
|
2404
2272
|
|
|
2405
2273
|
class PasswordCriteriaViewerComponent {
|
|
2406
2274
|
constructor() {
|
|
@@ -2426,7 +2294,7 @@ class PasswordCriteriaViewerComponent {
|
|
|
2426
2294
|
type: Component,
|
|
2427
2295
|
args: [{ selector: 'cauca-password-criteria-viewer', standalone: true, imports: [PasswordCriteriaComponent], template: "<cauca-password-criteria [disabled]=\"disabled()\" label=\"passwordEdition.minimumCharacters\" [condition]=\"passwordValidation().hasMinimumCharacters\"/>\r\n<cauca-password-criteria [disabled]=\"disabled()\" label=\"passwordEdition.minimumOneNumeric\" [condition]=\"passwordValidation().hasMinimumNumeric\"/>\r\n<cauca-password-criteria [disabled]=\"disabled()\" label=\"passwordEdition.minimumOneSpecialCharacter\" [condition]=\"passwordValidation().hasSpecialCharacter\"/>\r\n<cauca-password-criteria [disabled]=\"disabled()\" label=\"passwordEdition.needLowerAndUppercase\" [condition]=\"passwordValidation().hasLowerAndUppercase\"/>\r\n<cauca-password-criteria [disabled]=\"disabled()\" label=\"passwordEdition.equalPasswords\" [condition]=\"passwordValidation().hasIdenticalPassword\"/>", styles: [":host{display:flex;flex-direction:column}:host>*{flex-grow:1}\n"] }]
|
|
2428
2296
|
}], null, null); })();
|
|
2429
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PasswordCriteriaViewerComponent, { className: "PasswordCriteriaViewerComponent", filePath: "lib/inputs/password/password-criteria-viewer/password-criteria-viewer.component.ts", lineNumber: 13 }); })();
|
|
2297
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PasswordCriteriaViewerComponent, { className: "PasswordCriteriaViewerComponent", filePath: "lib/components/inputs/password/password-criteria-viewer/password-criteria-viewer.component.ts", lineNumber: 13 }); })();
|
|
2430
2298
|
|
|
2431
2299
|
function PasswordInputComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
2432
2300
|
i0.ɵɵelementStart(0, "mat-label");
|
|
@@ -2525,7 +2393,7 @@ class PasswordInputComponent {
|
|
|
2525
2393
|
},
|
|
2526
2394
|
], template: "<mat-form-field subscriptSizing=\"dynamic\">\r\n @if(translateLabel()) {<mat-label>{{label() | translate}}</mat-label>}\r\n @else {<mat-label>{{label()}}</mat-label>}\r\n <input (keydown.enter)=\"enterKeyDown.emit()\" [autocomplete]=\"autocomplete()\" #password class=\"password\"\r\n [type]=\"inputType()\" [formControl]=\"passwordControl\" matInput [required]=\"required()\"\r\n [placeholder]=\"translatePlaceholder() ? (placeholder() | translate) : placeholder()\" />\r\n <mat-icon [ngClass]=\"disabled() ? 'disabled' : ''\" style=\"cursor: pointer\" matSuffix\r\n (click)=\"showPassword.set(!showPassword())\">\r\n {{ password.type === \"password\" ? \"visibility_off\" : \"visibility\" }}\r\n </mat-icon>\r\n</mat-form-field>", styles: [":host{width:100%}mat-form-field{width:100%}.disabled{opacity:.5}\n"] }]
|
|
2527
2395
|
}], () => [], null); })();
|
|
2528
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PasswordInputComponent, { className: "PasswordInputComponent", filePath: "lib/inputs/password/password-input/password-input.component.ts", lineNumber: 23 }); })();
|
|
2396
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PasswordInputComponent, { className: "PasswordInputComponent", filePath: "lib/components/inputs/password/password-input/password-input.component.ts", lineNumber: 23 }); })();
|
|
2529
2397
|
|
|
2530
2398
|
class PasswordValidation {
|
|
2531
2399
|
constructor(hasMinimumCharacters = false, hasMinimumNumeric = false, hasLowerAndUppercase = false, hasSpecialCharacter = false, hasIdenticalPassword = false) {
|
|
@@ -2682,7 +2550,7 @@ class PasswordSelectionComponent {
|
|
|
2682
2550
|
type: HostBinding,
|
|
2683
2551
|
args: ['style.form.width']
|
|
2684
2552
|
}] }); })();
|
|
2685
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PasswordSelectionComponent, { className: "PasswordSelectionComponent", filePath: "lib/inputs/password/password-selection/password-selection.component.ts", lineNumber: 26 }); })();
|
|
2553
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PasswordSelectionComponent, { className: "PasswordSelectionComponent", filePath: "lib/components/inputs/password/password-selection/password-selection.component.ts", lineNumber: 26 }); })();
|
|
2686
2554
|
|
|
2687
2555
|
class DateRangePickerComponent {
|
|
2688
2556
|
constructor() {
|
|
@@ -2736,7 +2604,7 @@ class DateRangePickerComponent {
|
|
|
2736
2604
|
type: Component,
|
|
2737
2605
|
args: [{ selector: 'cauca-date-range-picker', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatFormFieldModule, MatDatepickerModule, ReactiveFormsModule, MatIcon, TranslateModule], providers: [provideNativeDateAdapter()], template: "<mat-form-field class=\"full-width-field\" subscriptSizing=\"dynamic\">\r\n <mat-datepicker-toggle matPrefix (click)=\"clear()\" onkeypress=\"clear()\">\r\n <mat-icon matDatepickerToggleIcon>clear</mat-icon>\r\n </mat-datepicker-toggle>\r\n <mat-label>{{'dateRangeSelectorLabel'|translate}}</mat-label>\r\n <mat-date-range-input [formGroup]=\"form\" [rangePicker]=\"campaignOnePicker\">\r\n <input matStartDate formControlName=\"from\" [readOnly]=\"true\">\r\n <input matEndDate formControlName=\"to\" [readOnly]=\"true\">\r\n </mat-date-range-input>\r\n <mat-datepicker-toggle matIconSuffix [for]=\"campaignOnePicker\">\r\n </mat-datepicker-toggle>\r\n <mat-date-range-picker #campaignOnePicker></mat-date-range-picker>\r\n </mat-form-field>" }]
|
|
2738
2606
|
}], () => [], null); })();
|
|
2739
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateRangePickerComponent, { className: "DateRangePickerComponent", filePath: "lib/inputs/date-range-picker/date-range-picker.component.ts", lineNumber: 19 }); })();
|
|
2607
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DateRangePickerComponent, { className: "DateRangePickerComponent", filePath: "lib/components/inputs/date-range-picker/date-range-picker.component.ts", lineNumber: 19 }); })();
|
|
2740
2608
|
|
|
2741
2609
|
const _c0$6 = ["auto"];
|
|
2742
2610
|
const _c1$1 = ["chipInput"];
|
|
@@ -3084,7 +2952,7 @@ class DropdownChipAutocompleteComponent {
|
|
|
3084
2952
|
}], placeholder: [{
|
|
3085
2953
|
type: Input
|
|
3086
2954
|
}] }); })();
|
|
3087
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DropdownChipAutocompleteComponent, { className: "DropdownChipAutocompleteComponent", filePath: "lib/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.ts", lineNumber: 46 }); })();
|
|
2955
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DropdownChipAutocompleteComponent, { className: "DropdownChipAutocompleteComponent", filePath: "lib/components/inputs/dropdown-chip-autocomplete/dropdown-chip-autocomplete.component.ts", lineNumber: 46 }); })();
|
|
3088
2956
|
|
|
3089
2957
|
const _c0$5 = ["*"];
|
|
3090
2958
|
class GroupContainerComponent {
|
|
@@ -3110,7 +2978,7 @@ class GroupContainerComponent {
|
|
|
3110
2978
|
type: Component,
|
|
3111
2979
|
args: [{ selector: 'cauca-group-container', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [TranslateModule], template: "<div class=\"group-container\">\r\n <div class=\"group-container-title subtitle1\">{{caption()|translate}}</div>\r\n <div class=\"group-container-content\">\r\n <ng-content />\r\n </div>\r\n</div>\r\n", styles: [".group-container{display:flex;align-items:flex-start;align-self:stretch}.group-container-title{display:flex;width:300px;max-width:300px;padding:16px 0;flex-direction:column;align-items:flex-start}.group-container-content{display:flex;flex-direction:column;align-items:stretch;flex:1;padding:16px}\n"] }]
|
|
3112
2980
|
}], null, null); })();
|
|
3113
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GroupContainerComponent, { className: "GroupContainerComponent", filePath: "lib/layout/group-container/group-container.component.ts", lineNumber: 12 }); })();
|
|
2981
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GroupContainerComponent, { className: "GroupContainerComponent", filePath: "lib/components/layout/group-container/group-container.component.ts", lineNumber: 12 }); })();
|
|
3114
2982
|
|
|
3115
2983
|
const _c0$4 = ["*"];
|
|
3116
2984
|
function MainSectionComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -3144,7 +3012,7 @@ class MainSectionComponent {
|
|
|
3144
3012
|
type: Component,
|
|
3145
3013
|
args: [{ selector: 'cauca-main-section', imports: [TranslateModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"section\">\r\n @if (title()) {\r\n <div class=\"section-description subtitle1\">{{title()|translate}}</div>\r\n }\r\n <div class=\"section-fields\"><ng-content /></div>\r\n</div>", styles: [".section{display:flex;padding:24px 16px;flex-direction:column;justify-content:center;align-items:flex-start;flex:1 0 0;max-width:1200px}.section-description{display:flex;flex-direction:column;align-items:flex-start;flex:1 0 0;padding-bottom:24px}.section-fields{display:flex;align-items:flex-start;gap:8px;align-self:stretch}.section-fields>*{flex:1 0 0}\n"] }]
|
|
3146
3014
|
}], null, null); })();
|
|
3147
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MainSectionComponent, { className: "MainSectionComponent", filePath: "lib/layout/sections/main-section/main-section.component.ts", lineNumber: 11 }); })();
|
|
3015
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MainSectionComponent, { className: "MainSectionComponent", filePath: "lib/components/layout/sections/main-section/main-section.component.ts", lineNumber: 11 }); })();
|
|
3148
3016
|
|
|
3149
3017
|
const _c0$3 = ["*"];
|
|
3150
3018
|
class SectionColumnComponent {
|
|
@@ -3165,7 +3033,7 @@ class SectionColumnComponent {
|
|
|
3165
3033
|
type: Component,
|
|
3166
3034
|
args: [{ selector: 'cauca-section-column', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"section-columns\" [class.big-gap]=\"showBigGap()\">\r\n <ng-content></ng-content>\r\n</div>", styles: [":host{flex:1 0 0;display:flex;flex-direction:column;align-items:stretch}.section-columns{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1 0 0}.big-gap{gap:16px}\n"] }]
|
|
3167
3035
|
}], null, null); })();
|
|
3168
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionColumnComponent, { className: "SectionColumnComponent", filePath: "lib/layout/sections/section-column/section-column.component.ts", lineNumber: 10 }); })();
|
|
3036
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionColumnComponent, { className: "SectionColumnComponent", filePath: "lib/components/layout/sections/section-column/section-column.component.ts", lineNumber: 10 }); })();
|
|
3169
3037
|
|
|
3170
3038
|
function SectionFieldComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
3171
3039
|
i0.ɵɵtext(0);
|
|
@@ -3249,7 +3117,7 @@ class SectionFieldComponent {
|
|
|
3249
3117
|
type: Component,
|
|
3250
3118
|
args: [{ selector: 'cauca-section-field', imports: [TranslateModule, MatIcon], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"section-fields-line\" [class.multi-line]=\"useMultipleValues()\">\r\n <div class=\"option-label body1\" [class.link]=\"showLink()\">\r\n @if(autoTranslateLabel()) {\r\n {{label()|translate}}\r\n } @else {\r\n {{label()}}\r\n }\r\n @if (showLink()) {\r\n <mat-icon class=\"icon-link\" (click)=\"linkClick.emit()\" onkeypress=\"linkClick.emit()\">link</mat-icon>\r\n }:\r\n </div>\r\n <div class=\"option-value body2\" [class.no-flex]=\"!splitEqually()\">\r\n @if (useMultipleValues()) {\r\n @for(item of values(); track item) {\r\n <span>{{fieldName() ? item[fieldName()] : item }}</span>\r\n }\r\n } @else {\r\n {{value()}}\r\n }\r\n </div>\r\n</div>", styles: [":host{flex:1 0 0;display:flex;flex-direction:column;align-items:stretch;width:100%}.section-fields-line{display:flex;align-items:center;gap:8px;align-self:stretch;white-space:nowrap}.section-fields-line>*{flex:1 0 0}.option-value{display:flex;flex-direction:column;align-items:flex-start;gap:8px;flex:1 0 0;white-space:wrap;word-break:break-all}.option-value.no-flex{flex:unset}.multi-line{align-items:flex-start}.icon-link{cursor:pointer}.link{display:flex}\n"] }]
|
|
3251
3119
|
}], null, null); })();
|
|
3252
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionFieldComponent, { className: "SectionFieldComponent", filePath: "lib/layout/sections/section-field/section-field.component.ts", lineNumber: 12 }); })();
|
|
3120
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SectionFieldComponent, { className: "SectionFieldComponent", filePath: "lib/components/layout/sections/section-field/section-field.component.ts", lineNumber: 12 }); })();
|
|
3253
3121
|
|
|
3254
3122
|
class BreadcrumbService {
|
|
3255
3123
|
constructor() {
|
|
@@ -3379,7 +3247,7 @@ class PageTitleComponent {
|
|
|
3379
3247
|
type: Component,
|
|
3380
3248
|
args: [{ selector: 'cauca-page-title', 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 <span>/</span>\n }\n\n @for(location of breadcrumbLocation(); track location) {\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 <span>/</span>\n }\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"] }]
|
|
3381
3249
|
}], null, null); })();
|
|
3382
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/layout/page-title/page-title.component.ts", lineNumber: 13 }); })();
|
|
3250
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PageTitleComponent, { className: "PageTitleComponent", filePath: "lib/components/layout/page-title/page-title.component.ts", lineNumber: 13 }); })();
|
|
3383
3251
|
|
|
3384
3252
|
function SavingConfirmedBoxComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
3385
3253
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -3408,7 +3276,7 @@ class SavingConfirmedBoxComponent {
|
|
|
3408
3276
|
type: Component,
|
|
3409
3277
|
args: [{ selector: 'cauca-saving-confirmed-box', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [SnackBarComponent, TranslateModule], template: "@if (show()) {\r\n <cauca-snackbar\r\n caption=\"savingSuccessNotification.title\"\r\n type=\"success\"\r\n variant=\"standard\"\r\n [showButton]=\"false\"\r\n [showCloseButton]=\"true\"\r\n (closeClick)=\"show.set(false)\">\r\n {{'savingSuccessNotification.message' | translate}}\r\n </cauca-snackbar>\r\n}" }]
|
|
3410
3278
|
}], null, null); })();
|
|
3411
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SavingConfirmedBoxComponent, { className: "SavingConfirmedBoxComponent", filePath: "lib/notifications/saving-confirmed-box/saving-confirmed-box.component.ts", lineNumber: 13 }); })();
|
|
3279
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SavingConfirmedBoxComponent, { className: "SavingConfirmedBoxComponent", filePath: "lib/components/notifications/saving-confirmed-box/saving-confirmed-box.component.ts", lineNumber: 13 }); })();
|
|
3412
3280
|
|
|
3413
3281
|
function SavingErrorBoxComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
3414
3282
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -3440,7 +3308,7 @@ class SavingErrorBoxComponent {
|
|
|
3440
3308
|
type: Component,
|
|
3441
3309
|
args: [{ selector: 'cauca-saving-error-box', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [SnackBarComponent, TranslateModule], template: "@if (show()) {\r\n <cauca-snackbar\r\n caption=\"generalError.savingErrorAlertTitle\"\r\n type=\"error\"\r\n variant=\"standard\"\r\n [showButton]=\"false\"\r\n [showCloseButton]=\"true\"\r\n (closeClick)=\"show.set(false)\">\r\n {{error() | translate}}\r\n </cauca-snackbar>\r\n}" }]
|
|
3442
3310
|
}], null, null); })();
|
|
3443
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SavingErrorBoxComponent, { className: "SavingErrorBoxComponent", filePath: "lib/notifications/saving-error-box/saving-error-box.component.ts", lineNumber: 13 }); })();
|
|
3311
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SavingErrorBoxComponent, { className: "SavingErrorBoxComponent", filePath: "lib/components/notifications/saving-error-box/saving-error-box.component.ts", lineNumber: 13 }); })();
|
|
3444
3312
|
|
|
3445
3313
|
function CaucaSimpleDialogComponent_div_4_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
3446
3314
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -3492,7 +3360,7 @@ class CaucaSimpleDialogComponent {
|
|
|
3492
3360
|
type: Component,
|
|
3493
3361
|
args: [{ selector: 'cauca-simple-dialog', imports: [CommonModule, 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<div mat-dialog-actions *ngIf=\"data.buttons\">\n <button *ngFor=\"let label of data.buttons; let i = index\" mat-raised-button (click)=\"onClick(i)\">{{label}}</button>\n</div>", styles: ["div[mat-dialog-actions]{margin-top:20px;text-align:center}\n"] }]
|
|
3494
3362
|
}], null, null); })();
|
|
3495
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaSimpleDialogComponent, { className: "CaucaSimpleDialogComponent", filePath: "lib/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.ts", lineNumber: 13 }); })();
|
|
3363
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaSimpleDialogComponent, { className: "CaucaSimpleDialogComponent", filePath: "lib/components/deprecated-components/cauca-simple-dialog/cauca-simple-dialog.component.ts", lineNumber: 13 }); })();
|
|
3496
3364
|
|
|
3497
3365
|
const _c0$2 = ["file"];
|
|
3498
3366
|
function CaucaInputFileComponent_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -3633,7 +3501,7 @@ class CaucaInputFileComponent {
|
|
|
3633
3501
|
}], text: [{
|
|
3634
3502
|
type: Input
|
|
3635
3503
|
}] }); })();
|
|
3636
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaInputFileComponent, { className: "CaucaInputFileComponent", filePath: "lib/deprecated-components/cauca-input-file/cauca-input-file.component.ts", lineNumber: 14 }); })();
|
|
3504
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaInputFileComponent, { className: "CaucaInputFileComponent", filePath: "lib/components/deprecated-components/cauca-input-file/cauca-input-file.component.ts", lineNumber: 14 }); })();
|
|
3637
3505
|
|
|
3638
3506
|
function CaucaInputMultipleLangueComponent_mat_tab_1_mat_error_3_Template(rf, ctx) { if (rf & 1) {
|
|
3639
3507
|
i0.ɵɵelementStart(0, "mat-error");
|
|
@@ -3711,7 +3579,7 @@ class CaucaInputMultipleLangueComponent {
|
|
|
3711
3579
|
}], () => [], { value: [{
|
|
3712
3580
|
type: Input
|
|
3713
3581
|
}] }); })();
|
|
3714
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaInputMultipleLangueComponent, { className: "CaucaInputMultipleLangueComponent", filePath: "lib/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.ts", lineNumber: 16 }); })();
|
|
3582
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaInputMultipleLangueComponent, { className: "CaucaInputMultipleLangueComponent", filePath: "lib/components/deprecated-components/cauca-input-multiple-langue/cauca-input-multiple-langue.component.ts", lineNumber: 16 }); })();
|
|
3715
3583
|
|
|
3716
3584
|
function CaucaMenuVerticalComponent_h4_0_div_2_fa_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
3717
3585
|
i0.ɵɵelement(0, "fa-icon", 8);
|
|
@@ -3875,7 +3743,7 @@ class CaucaMenuVerticalComponent {
|
|
|
3875
3743
|
}], menuItems: [{
|
|
3876
3744
|
type: Input
|
|
3877
3745
|
}] }); })();
|
|
3878
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaMenuVerticalComponent, { className: "CaucaMenuVerticalComponent", filePath: "lib/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.ts", lineNumber: 18 }); })();
|
|
3746
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaMenuVerticalComponent, { className: "CaucaMenuVerticalComponent", filePath: "lib/components/deprecated-components/cauca-menu-vertical/cauca-menu-vertical.component.ts", lineNumber: 18 }); })();
|
|
3879
3747
|
|
|
3880
3748
|
const _c0$1 = [[["", "header", ""]], [["", "beforeMenu", ""]], [["", "afterMenu", ""]], [["", "footer", ""]]];
|
|
3881
3749
|
const _c1 = ["[header]", "[beforeMenu]", "[afterMenu]", "[footer]"];
|
|
@@ -4016,7 +3884,7 @@ class CaucaMenuSidebarComponent {
|
|
|
4016
3884
|
type: HostListener,
|
|
4017
3885
|
args: ['window:resize', ['$event']]
|
|
4018
3886
|
}] }); })();
|
|
4019
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaMenuSidebarComponent, { className: "CaucaMenuSidebarComponent", filePath: "lib/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.ts", lineNumber: 15 }); })();
|
|
3887
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaMenuSidebarComponent, { className: "CaucaMenuSidebarComponent", filePath: "lib/components/deprecated-components/cauca-menu-sidebar/cauca-menu-sidebar.component.ts", lineNumber: 15 }); })();
|
|
4020
3888
|
|
|
4021
3889
|
const _c0 = ["container"];
|
|
4022
3890
|
function CaucaSlideshowComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -4152,7 +4020,7 @@ class CaucaSlideshowComponent {
|
|
|
4152
4020
|
}], images: [{
|
|
4153
4021
|
type: Input
|
|
4154
4022
|
}] }); })();
|
|
4155
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaSlideshowComponent, { className: "CaucaSlideshowComponent", filePath: "lib/deprecated-components/cauca-slideshow/cauca-slideshow.component.ts", lineNumber: 35 }); })();
|
|
4023
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CaucaSlideshowComponent, { className: "CaucaSlideshowComponent", filePath: "lib/components/deprecated-components/cauca-slideshow/cauca-slideshow.component.ts", lineNumber: 35 }); })();
|
|
4156
4024
|
|
|
4157
4025
|
class MenuItem {
|
|
4158
4026
|
constructor(label, path, icon = '') {
|