@cauca-911/material 20.0.0 → 20.0.1
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 +66 -61
- package/fesm2022/cauca-911-material.mjs.map +1 -1
- package/index.d.ts +10 -10
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { Injectable, Component, inject, EventEmitter, Input, Output, ViewChild,
|
|
|
3
3
|
import * as i1 from '@ngx-translate/core';
|
|
4
4
|
import { TranslateModule, TranslatePipe } from '@ngx-translate/core';
|
|
5
5
|
import * as i1$1 from '@angular/common';
|
|
6
|
-
import { CommonModule, DatePipe, NgClass
|
|
6
|
+
import { CommonModule, DatePipe, NgClass } from '@angular/common';
|
|
7
7
|
import * as i2$2 from '@angular/forms';
|
|
8
8
|
import { UntypedFormControl, Validators, FormsModule, ReactiveFormsModule, NgControl, FormControlName, ControlContainer, FormControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
9
9
|
import * as i2 from '@angular/material/button';
|
|
@@ -1565,7 +1565,7 @@ function BasicButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
1565
1565
|
} }
|
|
1566
1566
|
class BasicButtonComponent extends BaseButtonWithLabel {
|
|
1567
1567
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵBasicButtonComponent_BaseFactory; return function BasicButtonComponent_Factory(__ngFactoryType__) { return (ɵBasicButtonComponent_BaseFactory || (ɵBasicButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BasicButtonComponent)))(__ngFactoryType__ || BasicButtonComponent); }; })(); }
|
|
1568
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BasicButtonComponent, selectors: [["
|
|
1568
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BasicButtonComponent, selectors: [["app-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) {
|
|
1569
1569
|
i0.ɵɵelementStart(0, "button", 0);
|
|
1570
1570
|
i0.ɵɵlistener("click", function BasicButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
1571
1571
|
i0.ɵɵconditionalCreate(1, BasicButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
|
|
@@ -1584,7 +1584,7 @@ class BasicButtonComponent extends BaseButtonWithLabel {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BasicButtonComponent, [{
|
|
1586
1586
|
type: Component,
|
|
1587
|
-
args: [{ selector: '
|
|
1587
|
+
args: [{ selector: 'app-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"] }]
|
|
1588
1588
|
}], null, null); })();
|
|
1589
1589
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BasicButtonComponent, { className: "BasicButtonComponent", filePath: "lib/buttons/basic-button/basic-button.component.ts", lineNumber: 16 }); })();
|
|
1590
1590
|
|
|
@@ -1605,7 +1605,7 @@ class FabButtonComponent extends BaseButtonWithLabel {
|
|
|
1605
1605
|
this.iconColor = computed(() => this.color() === 'primary' ? 'white' : undefined, ...(ngDevMode ? [{ debugName: "iconColor" }] : []));
|
|
1606
1606
|
}
|
|
1607
1607
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵFabButtonComponent_BaseFactory; return function FabButtonComponent_Factory(__ngFactoryType__) { return (ɵFabButtonComponent_BaseFactory || (ɵFabButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FabButtonComponent)))(__ngFactoryType__ || FabButtonComponent); }; })(); }
|
|
1608
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FabButtonComponent, selectors: [["
|
|
1608
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FabButtonComponent, selectors: [["app-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) {
|
|
1609
1609
|
i0.ɵɵelementStart(0, "button", 0);
|
|
1610
1610
|
i0.ɵɵlistener("click", function FabButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
1611
1611
|
i0.ɵɵconditionalCreate(1, FabButtonComponent_Conditional_1_Template, 2, 5, "mat-icon", 1);
|
|
@@ -1618,7 +1618,7 @@ class FabButtonComponent extends BaseButtonWithLabel {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FabButtonComponent, [{
|
|
1620
1620
|
type: Component,
|
|
1621
|
-
args: [{ selector: '
|
|
1621
|
+
args: [{ selector: 'app-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"] }]
|
|
1622
1622
|
}], null, null); })();
|
|
1623
1623
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FabButtonComponent, { className: "FabButtonComponent", filePath: "lib/buttons/fab-button/fab-button.component.ts", lineNumber: 14 }); })();
|
|
1624
1624
|
|
|
@@ -1657,7 +1657,7 @@ function FlatButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
1657
1657
|
} }
|
|
1658
1658
|
class FlatButtonComponent extends BaseButtonWithLabel {
|
|
1659
1659
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵFlatButtonComponent_BaseFactory; return function FlatButtonComponent_Factory(__ngFactoryType__) { return (ɵFlatButtonComponent_BaseFactory || (ɵFlatButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FlatButtonComponent)))(__ngFactoryType__ || FlatButtonComponent); }; })(); }
|
|
1660
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlatButtonComponent, selectors: [["
|
|
1660
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FlatButtonComponent, selectors: [["app-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) {
|
|
1661
1661
|
i0.ɵɵelementStart(0, "button", 0);
|
|
1662
1662
|
i0.ɵɵlistener("click", function FlatButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
1663
1663
|
i0.ɵɵconditionalCreate(1, FlatButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
|
|
@@ -1676,13 +1676,13 @@ class FlatButtonComponent extends BaseButtonWithLabel {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FlatButtonComponent, [{
|
|
1678
1678
|
type: Component,
|
|
1679
|
-
args: [{ selector: '
|
|
1679
|
+
args: [{ selector: 'app-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"] }]
|
|
1680
1680
|
}], null, null); })();
|
|
1681
1681
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(FlatButtonComponent, { className: "FlatButtonComponent", filePath: "lib/buttons/flat-button/flat-button.component.ts", lineNumber: 16 }); })();
|
|
1682
1682
|
|
|
1683
1683
|
class IconButtonComponent extends BaseButton {
|
|
1684
1684
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵIconButtonComponent_BaseFactory; return function IconButtonComponent_Factory(__ngFactoryType__) { return (ɵIconButtonComponent_BaseFactory || (ɵIconButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(IconButtonComponent)))(__ngFactoryType__ || IconButtonComponent); }; })(); }
|
|
1685
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: IconButtonComponent, selectors: [["
|
|
1685
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: IconButtonComponent, selectors: [["app-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) {
|
|
1686
1686
|
i0.ɵɵelementStart(0, "button", 0);
|
|
1687
1687
|
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(); });
|
|
1688
1688
|
i0.ɵɵelementStart(1, "mat-icon");
|
|
@@ -1699,11 +1699,11 @@ class IconButtonComponent extends BaseButton {
|
|
|
1699
1699
|
}
|
|
1700
1700
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconButtonComponent, [{
|
|
1701
1701
|
type: Component,
|
|
1702
|
-
args: [{ selector: '
|
|
1702
|
+
args: [{ selector: 'app-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"] }]
|
|
1703
1703
|
}], null, null); })();
|
|
1704
1704
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(IconButtonComponent, { className: "IconButtonComponent", filePath: "lib/buttons/icon-button/icon-button.component.ts", lineNumber: 14 }); })();
|
|
1705
1705
|
|
|
1706
|
-
function
|
|
1706
|
+
function ButtonComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1707
1707
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
1708
1708
|
i0.ɵɵtext(1);
|
|
1709
1709
|
i0.ɵɵelementEnd();
|
|
@@ -1713,11 +1713,11 @@ function ButtonComponent_button_0_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1713
1713
|
i0.ɵɵadvance();
|
|
1714
1714
|
i0.ɵɵtextInterpolate(ctx_r1.inProgress ? "update" : ctx_r1.icon);
|
|
1715
1715
|
} }
|
|
1716
|
-
function
|
|
1716
|
+
function ButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
1717
1717
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
1718
1718
|
i0.ɵɵelementStart(0, "button", 6);
|
|
1719
|
-
i0.ɵɵlistener("click", function
|
|
1720
|
-
i0.ɵɵ
|
|
1719
|
+
i0.ɵɵlistener("click", function ButtonComponent_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.buttonClick.emit()); });
|
|
1720
|
+
i0.ɵɵconditionalCreate(1, ButtonComponent_Conditional_0_Conditional_1_Template, 2, 3, "mat-icon", 7);
|
|
1721
1721
|
i0.ɵɵelementStart(2, "span");
|
|
1722
1722
|
i0.ɵɵtext(3);
|
|
1723
1723
|
i0.ɵɵelementEnd()();
|
|
@@ -1725,11 +1725,11 @@ function ButtonComponent_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
1725
1725
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
1726
1726
|
i0.ɵɵproperty("ngClass", ctx_r1.class)("disabled", ctx_r1.disable || ctx_r1.inProgress)("color", ctx_r1.color);
|
|
1727
1727
|
i0.ɵɵadvance();
|
|
1728
|
-
i0.ɵɵ
|
|
1728
|
+
i0.ɵɵconditional(ctx_r1.inProgress || ctx_r1.icon ? 1 : -1);
|
|
1729
1729
|
i0.ɵɵadvance(2);
|
|
1730
1730
|
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
1731
1731
|
} }
|
|
1732
|
-
function
|
|
1732
|
+
function ButtonComponent_Conditional_1_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1733
1733
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
1734
1734
|
i0.ɵɵtext(1);
|
|
1735
1735
|
i0.ɵɵelementEnd();
|
|
@@ -1739,11 +1739,11 @@ function ButtonComponent_button_1_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1739
1739
|
i0.ɵɵadvance();
|
|
1740
1740
|
i0.ɵɵtextInterpolate(ctx_r1.inProgress ? "update" : ctx_r1.icon);
|
|
1741
1741
|
} }
|
|
1742
|
-
function
|
|
1742
|
+
function ButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1743
1743
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
1744
1744
|
i0.ɵɵelementStart(0, "button", 8);
|
|
1745
|
-
i0.ɵɵlistener("click", function
|
|
1746
|
-
i0.ɵɵ
|
|
1745
|
+
i0.ɵɵlistener("click", function ButtonComponent_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.buttonClick.emit()); });
|
|
1746
|
+
i0.ɵɵconditionalCreate(1, ButtonComponent_Conditional_1_Conditional_1_Template, 2, 3, "mat-icon", 7);
|
|
1747
1747
|
i0.ɵɵelementStart(2, "span");
|
|
1748
1748
|
i0.ɵɵtext(3);
|
|
1749
1749
|
i0.ɵɵelementEnd()();
|
|
@@ -1751,11 +1751,11 @@ function ButtonComponent_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1751
1751
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
1752
1752
|
i0.ɵɵproperty("ngClass", ctx_r1.class)("disabled", ctx_r1.disable || ctx_r1.inProgress)("color", ctx_r1.color);
|
|
1753
1753
|
i0.ɵɵadvance();
|
|
1754
|
-
i0.ɵɵ
|
|
1754
|
+
i0.ɵɵconditional(ctx_r1.inProgress || ctx_r1.icon ? 1 : -1);
|
|
1755
1755
|
i0.ɵɵadvance(2);
|
|
1756
1756
|
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
1757
1757
|
} }
|
|
1758
|
-
function
|
|
1758
|
+
function ButtonComponent_Conditional_2_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1759
1759
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
1760
1760
|
i0.ɵɵtext(1);
|
|
1761
1761
|
i0.ɵɵelementEnd();
|
|
@@ -1765,11 +1765,11 @@ function ButtonComponent_button_2_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1765
1765
|
i0.ɵɵadvance();
|
|
1766
1766
|
i0.ɵɵtextInterpolate(ctx_r1.inProgress ? "update" : ctx_r1.icon);
|
|
1767
1767
|
} }
|
|
1768
|
-
function
|
|
1768
|
+
function ButtonComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
1769
1769
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
1770
1770
|
i0.ɵɵelementStart(0, "button", 9);
|
|
1771
|
-
i0.ɵɵlistener("click", function
|
|
1772
|
-
i0.ɵɵ
|
|
1771
|
+
i0.ɵɵlistener("click", function ButtonComponent_Conditional_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.buttonClick.emit()); });
|
|
1772
|
+
i0.ɵɵconditionalCreate(1, ButtonComponent_Conditional_2_Conditional_1_Template, 2, 3, "mat-icon", 7);
|
|
1773
1773
|
i0.ɵɵelementStart(2, "span");
|
|
1774
1774
|
i0.ɵɵtext(3);
|
|
1775
1775
|
i0.ɵɵelementEnd()();
|
|
@@ -1777,11 +1777,11 @@ function ButtonComponent_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1777
1777
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
1778
1778
|
i0.ɵɵproperty("ngClass", ctx_r1.class)("disabled", ctx_r1.disable || ctx_r1.inProgress)("color", ctx_r1.color);
|
|
1779
1779
|
i0.ɵɵadvance();
|
|
1780
|
-
i0.ɵɵ
|
|
1780
|
+
i0.ɵɵconditional(ctx_r1.inProgress || ctx_r1.icon ? 1 : -1);
|
|
1781
1781
|
i0.ɵɵadvance(2);
|
|
1782
1782
|
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
1783
1783
|
} }
|
|
1784
|
-
function
|
|
1784
|
+
function ButtonComponent_Conditional_3_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1785
1785
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
1786
1786
|
i0.ɵɵtext(1);
|
|
1787
1787
|
i0.ɵɵelementEnd();
|
|
@@ -1791,11 +1791,11 @@ function ButtonComponent_button_3_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1791
1791
|
i0.ɵɵadvance();
|
|
1792
1792
|
i0.ɵɵtextInterpolate(ctx_r1.inProgress ? "update" : ctx_r1.icon);
|
|
1793
1793
|
} }
|
|
1794
|
-
function
|
|
1794
|
+
function ButtonComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
1795
1795
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
1796
1796
|
i0.ɵɵelementStart(0, "button", 10);
|
|
1797
|
-
i0.ɵɵlistener("click", function
|
|
1798
|
-
i0.ɵɵ
|
|
1797
|
+
i0.ɵɵlistener("click", function ButtonComponent_Conditional_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.buttonClick.emit()); });
|
|
1798
|
+
i0.ɵɵconditionalCreate(1, ButtonComponent_Conditional_3_Conditional_1_Template, 2, 3, "mat-icon", 7);
|
|
1799
1799
|
i0.ɵɵelementStart(2, "span");
|
|
1800
1800
|
i0.ɵɵtext(3);
|
|
1801
1801
|
i0.ɵɵelementEnd()();
|
|
@@ -1803,11 +1803,11 @@ function ButtonComponent_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
1803
1803
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
1804
1804
|
i0.ɵɵproperty("ngClass", ctx_r1.class)("disabled", ctx_r1.disable || ctx_r1.inProgress)("color", ctx_r1.color);
|
|
1805
1805
|
i0.ɵɵadvance();
|
|
1806
|
-
i0.ɵɵ
|
|
1806
|
+
i0.ɵɵconditional(ctx_r1.inProgress || ctx_r1.icon ? 1 : -1);
|
|
1807
1807
|
i0.ɵɵadvance(2);
|
|
1808
1808
|
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
1809
1809
|
} }
|
|
1810
|
-
function
|
|
1810
|
+
function ButtonComponent_Conditional_4_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1811
1811
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
1812
1812
|
i0.ɵɵtext(1);
|
|
1813
1813
|
i0.ɵɵelementEnd();
|
|
@@ -1817,19 +1817,19 @@ function ButtonComponent_button_4_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1817
1817
|
i0.ɵɵadvance();
|
|
1818
1818
|
i0.ɵɵtextInterpolate(ctx_r1.inProgress ? "update" : ctx_r1.icon);
|
|
1819
1819
|
} }
|
|
1820
|
-
function
|
|
1820
|
+
function ButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1821
1821
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
1822
1822
|
i0.ɵɵelementStart(0, "button", 11);
|
|
1823
|
-
i0.ɵɵlistener("click", function
|
|
1824
|
-
i0.ɵɵ
|
|
1823
|
+
i0.ɵɵlistener("click", function ButtonComponent_Conditional_4_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.buttonClick.emit()); });
|
|
1824
|
+
i0.ɵɵconditionalCreate(1, ButtonComponent_Conditional_4_Conditional_1_Template, 2, 3, "mat-icon", 7);
|
|
1825
1825
|
i0.ɵɵelementEnd();
|
|
1826
1826
|
} if (rf & 2) {
|
|
1827
1827
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
1828
1828
|
i0.ɵɵproperty("ngClass", ctx_r1.class)("disabled", ctx_r1.disable || ctx_r1.inProgress)("color", ctx_r1.color);
|
|
1829
1829
|
i0.ɵɵadvance();
|
|
1830
|
-
i0.ɵɵ
|
|
1830
|
+
i0.ɵɵconditional(ctx_r1.inProgress || ctx_r1.icon ? 1 : -1);
|
|
1831
1831
|
} }
|
|
1832
|
-
function
|
|
1832
|
+
function ButtonComponent_Conditional_5_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1833
1833
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
1834
1834
|
i0.ɵɵtext(1);
|
|
1835
1835
|
i0.ɵɵelementEnd();
|
|
@@ -1839,11 +1839,11 @@ function ButtonComponent_button_5_mat_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1839
1839
|
i0.ɵɵadvance();
|
|
1840
1840
|
i0.ɵɵtextInterpolate(ctx_r1.inProgress ? "update" : ctx_r1.icon);
|
|
1841
1841
|
} }
|
|
1842
|
-
function
|
|
1842
|
+
function ButtonComponent_Conditional_5_Template(rf, ctx) { if (rf & 1) {
|
|
1843
1843
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
1844
1844
|
i0.ɵɵelementStart(0, "button", 12);
|
|
1845
|
-
i0.ɵɵlistener("click", function
|
|
1846
|
-
i0.ɵɵ
|
|
1845
|
+
i0.ɵɵlistener("click", function ButtonComponent_Conditional_5_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.buttonClick.emit()); });
|
|
1846
|
+
i0.ɵɵconditionalCreate(1, ButtonComponent_Conditional_5_Conditional_1_Template, 2, 3, "mat-icon", 7);
|
|
1847
1847
|
i0.ɵɵelementStart(2, "span");
|
|
1848
1848
|
i0.ɵɵtext(3);
|
|
1849
1849
|
i0.ɵɵelementEnd()();
|
|
@@ -1851,7 +1851,7 @@ function ButtonComponent_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
1851
1851
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
1852
1852
|
i0.ɵɵproperty("ngClass", ctx_r1.class)("disabled", ctx_r1.disable || ctx_r1.inProgress)("color", ctx_r1.color);
|
|
1853
1853
|
i0.ɵɵadvance();
|
|
1854
|
-
i0.ɵɵ
|
|
1854
|
+
i0.ɵɵconditional(ctx_r1.inProgress || ctx_r1.icon ? 1 : -1);
|
|
1855
1855
|
i0.ɵɵadvance(2);
|
|
1856
1856
|
i0.ɵɵtextInterpolate(ctx_r1.label);
|
|
1857
1857
|
} }
|
|
@@ -1867,25 +1867,30 @@ class ButtonComponent {
|
|
|
1867
1867
|
this.buttonClick = new EventEmitter();
|
|
1868
1868
|
}
|
|
1869
1869
|
static { this.ɵfac = function ButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ButtonComponent)(); }; }
|
|
1870
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["app-button"]], inputs: { class: "class", inProgress: "inProgress", disable: "disable", label: "label", icon: "icon", color: "color", type: "type" }, outputs: { buttonClick: "buttonClick" }, decls: 6, vars: 6, consts: [["mat-button", "",
|
|
1871
|
-
i0.ɵɵ
|
|
1870
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["app-button"]], inputs: { class: "class", inProgress: "inProgress", disable: "disable", label: "label", icon: "icon", color: "color", type: "type" }, outputs: { buttonClick: "buttonClick" }, decls: 6, vars: 6, consts: [["mat-button", "", 1, "button-basic", 3, "ngClass", "disabled", "color"], ["matButton", "elevated", 1, "button-raised", 3, "ngClass", "disabled", "color"], ["matButton", "outlined", 1, "button-stroked", 3, "ngClass", "disabled", "color"], ["matButton", "filled", 1, "button-flat", 3, "ngClass", "disabled", "color"], ["matIconButton", "", 1, "button-icon", 3, "ngClass", "disabled", "color"], ["matFab", "", 1, "button-icon", 3, "ngClass", "disabled", "color"], ["mat-button", "", 1, "button-basic", 3, "click", "ngClass", "disabled", "color"], [3, "button-spin"], ["matButton", "elevated", 1, "button-raised", 3, "click", "ngClass", "disabled", "color"], ["matButton", "outlined", 1, "button-stroked", 3, "click", "ngClass", "disabled", "color"], ["matButton", "filled", 1, "button-flat", 3, "click", "ngClass", "disabled", "color"], ["matIconButton", "", 1, "button-icon", 3, "click", "ngClass", "disabled", "color"], ["matFab", "", 1, "button-icon", 3, "click", "ngClass", "disabled", "color"]], template: function ButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1871
|
+
i0.ɵɵconditionalCreate(0, ButtonComponent_Conditional_0_Template, 4, 5, "button", 0);
|
|
1872
|
+
i0.ɵɵconditionalCreate(1, ButtonComponent_Conditional_1_Template, 4, 5, "button", 1);
|
|
1873
|
+
i0.ɵɵconditionalCreate(2, ButtonComponent_Conditional_2_Template, 4, 5, "button", 2);
|
|
1874
|
+
i0.ɵɵconditionalCreate(3, ButtonComponent_Conditional_3_Template, 4, 5, "button", 3);
|
|
1875
|
+
i0.ɵɵconditionalCreate(4, ButtonComponent_Conditional_4_Template, 2, 4, "button", 4);
|
|
1876
|
+
i0.ɵɵconditionalCreate(5, ButtonComponent_Conditional_5_Template, 4, 5, "button", 5);
|
|
1872
1877
|
} if (rf & 2) {
|
|
1873
|
-
i0.ɵɵ
|
|
1878
|
+
i0.ɵɵconditional(ctx.type === "basic" ? 0 : -1);
|
|
1874
1879
|
i0.ɵɵadvance();
|
|
1875
|
-
i0.ɵɵ
|
|
1880
|
+
i0.ɵɵconditional(ctx.type === "raised" ? 1 : -1);
|
|
1876
1881
|
i0.ɵɵadvance();
|
|
1877
|
-
i0.ɵɵ
|
|
1882
|
+
i0.ɵɵconditional(ctx.type === "stroked" ? 2 : -1);
|
|
1878
1883
|
i0.ɵɵadvance();
|
|
1879
|
-
i0.ɵɵ
|
|
1884
|
+
i0.ɵɵconditional(ctx.type === "flat" ? 3 : -1);
|
|
1880
1885
|
i0.ɵɵadvance();
|
|
1881
|
-
i0.ɵɵ
|
|
1886
|
+
i0.ɵɵconditional(ctx.type === "icon" ? 4 : -1);
|
|
1882
1887
|
i0.ɵɵadvance();
|
|
1883
|
-
i0.ɵɵ
|
|
1884
|
-
} }, dependencies: [MatIconModule, i2$1.MatIcon, MatButtonModule, i2.MatButton, i2.MatIconButton, i2.MatFabButton, NgClass
|
|
1888
|
+
i0.ɵɵconditional(ctx.type === "fab" ? 5 : -1);
|
|
1889
|
+
} }, dependencies: [MatIconModule, i2$1.MatIcon, MatButtonModule, i2.MatButton, i2.MatIconButton, i2.MatFabButton, NgClass], styles: ["@keyframes _ngcontent-%COMP%_spinner{to{transform:rotate(360deg)}}.button-spin[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spinner 1s linear infinite}"] }); }
|
|
1885
1890
|
}
|
|
1886
1891
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
|
|
1887
1892
|
type: Component,
|
|
1888
|
-
args: [{ selector: 'app-button', imports: [MatIconModule, MatButtonModule, NgClass
|
|
1893
|
+
args: [{ selector: 'app-button', imports: [MatIconModule, MatButtonModule, NgClass], template: "@if (type === 'basic') {\n <button [ngClass]=\"class\" mat-button (click)=\"buttonClick.emit()\" [disabled]=\"disable || inProgress\" [color]=\"color\" class=\"button-basic\">\n @if (inProgress || icon) {\n <mat-icon [class.button-spin]=\"inProgress\">{{ inProgress ? 'update' : icon }}</mat-icon>\n }\n <span>{{label}}</span>\n </button>\n}\n\n@if (type === 'raised') {\n <button [ngClass]=\"class\" matButton=\"elevated\" (click)=\"buttonClick.emit()\" [disabled]=\"disable || inProgress\" [color]=\"color\" class=\"button-raised\">\n @if (inProgress || icon) {\n <mat-icon [class.button-spin]=\"inProgress\">{{ inProgress ? 'update' : icon }}</mat-icon>\n }\n <span>{{label}}</span>\n </button>\n}\n\n@if (type === 'stroked') {\n <button [ngClass]=\"class\" matButton=\"outlined\" (click)=\"buttonClick.emit()\" [disabled]=\"disable || inProgress\" [color]=\"color\" class=\"button-stroked\">\n @if (inProgress || icon) {\n <mat-icon [class.button-spin]=\"inProgress\">{{ inProgress ? 'update' : icon }}</mat-icon>\n }\n <span>{{label}}</span>\n </button>\n}\n\n@if (type === 'flat') {\n <button [ngClass]=\"class\" matButton=\"filled\" (click)=\"buttonClick.emit()\" [disabled]=\"disable || inProgress\" [color]=\"color\" class=\"button-flat\">\n @if (inProgress || icon) {\n <mat-icon [class.button-spin]=\"inProgress\">{{ inProgress ? 'update' : icon }}</mat-icon>\n }\n <span>{{label}}</span>\n </button>\n}\n\n@if (type === 'icon') {\n <button [ngClass]=\"class\" matIconButton (click)=\"buttonClick.emit()\" [disabled]=\"disable || inProgress\" [color]=\"color\" class=\"button-icon\">\n @if (inProgress || icon) {\n <mat-icon [class.button-spin]=\"inProgress\">{{ inProgress ? 'update' : icon }}</mat-icon>\n }\n </button>\n}\n\n@if (type === 'fab') {\n <button [ngClass]=\"class\" matFab (click)=\"buttonClick.emit()\" [disabled]=\"disable || inProgress\" [color]=\"color\" class=\"button-icon\">\n @if (inProgress || icon) {\n <mat-icon [class.button-spin]=\"inProgress\">{{ inProgress ? 'update' : icon }}</mat-icon>\n }\n <span>{{label}}</span>\n </button>\n}", styles: ["@keyframes spinner{to{transform:rotate(360deg)}}.button-spin{animation:spinner 1s linear infinite}\n"] }]
|
|
1889
1894
|
}], null, { class: [{
|
|
1890
1895
|
type: Input
|
|
1891
1896
|
}], inProgress: [{
|
|
@@ -1915,7 +1920,7 @@ class LinkButtonComponent {
|
|
|
1915
1920
|
this.clipboard.copy(link);
|
|
1916
1921
|
}
|
|
1917
1922
|
static { this.ɵfac = function LinkButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LinkButtonComponent)(i0.ɵɵdirectiveInject(i1$3.Clipboard)); }; }
|
|
1918
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkButtonComponent, selectors: [["
|
|
1923
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LinkButtonComponent, selectors: [["app-link-button"]], inputs: { segments: [1, "segments"] }, decls: 2, vars: 3, consts: [["icon", "link", "type", "stroked", "color", "primary", 1, "link-button", 3, "buttonClick", "label"]], template: function LinkButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1919
1924
|
i0.ɵɵelementStart(0, "app-button", 0);
|
|
1920
1925
|
i0.ɵɵpipe(1, "translate");
|
|
1921
1926
|
i0.ɵɵlistener("buttonClick", function LinkButtonComponent_Template_app_button_buttonClick_0_listener() { return ctx.copyLink(); });
|
|
@@ -1926,7 +1931,7 @@ class LinkButtonComponent {
|
|
|
1926
1931
|
}
|
|
1927
1932
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LinkButtonComponent, [{
|
|
1928
1933
|
type: Component,
|
|
1929
|
-
args: [{ selector: '
|
|
1934
|
+
args: [{ selector: 'app-link-button', changeDetection: ChangeDetectionStrategy.OnPush, imports: [ButtonComponent, TranslatePipe], template: "<app-button class=\"link-button\" icon=\"link\" type=\"stroked\" color=\"primary\" (buttonClick)=\"copyLink()\" [label]=\"'copyLink'|translate\" />", styles: [".link-button{text-decoration:dashed}\n"] }]
|
|
1930
1935
|
}], () => [{ type: i1$3.Clipboard }], null); })();
|
|
1931
1936
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LinkButtonComponent, { className: "LinkButtonComponent", filePath: "lib/buttons/link-button/link-button.component.ts", lineNumber: 14 }); })();
|
|
1932
1937
|
|
|
@@ -1972,7 +1977,7 @@ class MenuItemComponent extends BaseButtonWithLabel {
|
|
|
1972
1977
|
this.trigger = input(...(ngDevMode ? [undefined, { debugName: "trigger" }] : []));
|
|
1973
1978
|
}
|
|
1974
1979
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵMenuItemComponent_BaseFactory; return function MenuItemComponent_Factory(__ngFactoryType__) { return (ɵMenuItemComponent_BaseFactory || (ɵMenuItemComponent_BaseFactory = i0.ɵɵgetInheritedFactory(MenuItemComponent)))(__ngFactoryType__ || MenuItemComponent); }; })(); }
|
|
1975
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuItemComponent, selectors: [["
|
|
1980
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuItemComponent, selectors: [["app-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) {
|
|
1976
1981
|
i0.ɵɵelementStart(0, "button", 0);
|
|
1977
1982
|
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(); });
|
|
1978
1983
|
i0.ɵɵconditionalCreate(1, MenuItemComponent_Conditional_1_Template, 2, 5, "mat-icon", 1);
|
|
@@ -1991,7 +1996,7 @@ class MenuItemComponent extends BaseButtonWithLabel {
|
|
|
1991
1996
|
}
|
|
1992
1997
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuItemComponent, [{
|
|
1993
1998
|
type: Component,
|
|
1994
|
-
args: [{ selector: '
|
|
1999
|
+
args: [{ selector: 'app-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"] }]
|
|
1995
2000
|
}], null, null); })();
|
|
1996
2001
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuItemComponent, { className: "MenuItemComponent", filePath: "lib/buttons/menu-item/menu-item.component.ts", lineNumber: 16 }); })();
|
|
1997
2002
|
|
|
@@ -2030,7 +2035,7 @@ function RaisedButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
2030
2035
|
} }
|
|
2031
2036
|
class RaisedButtonComponent extends BaseButtonWithLabel {
|
|
2032
2037
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵRaisedButtonComponent_BaseFactory; return function RaisedButtonComponent_Factory(__ngFactoryType__) { return (ɵRaisedButtonComponent_BaseFactory || (ɵRaisedButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RaisedButtonComponent)))(__ngFactoryType__ || RaisedButtonComponent); }; })(); }
|
|
2033
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RaisedButtonComponent, selectors: [["
|
|
2038
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RaisedButtonComponent, selectors: [["app-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) {
|
|
2034
2039
|
i0.ɵɵelementStart(0, "button", 0);
|
|
2035
2040
|
i0.ɵɵlistener("click", function RaisedButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
2036
2041
|
i0.ɵɵconditionalCreate(1, RaisedButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
|
|
@@ -2049,7 +2054,7 @@ class RaisedButtonComponent extends BaseButtonWithLabel {
|
|
|
2049
2054
|
}
|
|
2050
2055
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RaisedButtonComponent, [{
|
|
2051
2056
|
type: Component,
|
|
2052
|
-
args: [{ selector: '
|
|
2057
|
+
args: [{ selector: 'app-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"] }]
|
|
2053
2058
|
}], null, null); })();
|
|
2054
2059
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RaisedButtonComponent, { className: "RaisedButtonComponent", filePath: "lib/buttons/raised-button/raised-button.component.ts", lineNumber: 16 }); })();
|
|
2055
2060
|
|
|
@@ -2062,7 +2067,7 @@ class RefreshButtonComponent {
|
|
|
2062
2067
|
this.refreshEvent.emit();
|
|
2063
2068
|
}
|
|
2064
2069
|
static { this.ɵfac = function RefreshButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || RefreshButtonComponent)(); }; }
|
|
2065
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RefreshButtonComponent, selectors: [["
|
|
2070
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RefreshButtonComponent, selectors: [["app-refresh-button"]], inputs: { inProgress: "inProgress" }, outputs: { refreshEvent: "refreshEvent" }, decls: 2, vars: 3, consts: [["icon", "refresh", "type", "stroked", "color", "primary", 1, "refresh-button", 3, "buttonClick", "label"]], template: function RefreshButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2066
2071
|
i0.ɵɵelementStart(0, "app-button", 0);
|
|
2067
2072
|
i0.ɵɵpipe(1, "translate");
|
|
2068
2073
|
i0.ɵɵlistener("buttonClick", function RefreshButtonComponent_Template_app_button_buttonClick_0_listener() { return ctx.refresh(); });
|
|
@@ -2073,7 +2078,7 @@ class RefreshButtonComponent {
|
|
|
2073
2078
|
}
|
|
2074
2079
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RefreshButtonComponent, [{
|
|
2075
2080
|
type: Component,
|
|
2076
|
-
args: [{ selector: '
|
|
2081
|
+
args: [{ selector: 'app-refresh-button', imports: [ButtonComponent, TranslatePipe], changeDetection: ChangeDetectionStrategy.OnPush, template: "<app-button class=\"refresh-button\" icon=\"refresh\" type=\"stroked\" color=\"primary\" (buttonClick)=\"refresh()\" [label]=\"'refresh' | translate\" />" }]
|
|
2077
2082
|
}], null, { inProgress: [{
|
|
2078
2083
|
type: Input
|
|
2079
2084
|
}], refreshEvent: [{
|
|
@@ -2096,7 +2101,7 @@ function RoundButtonComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
2096
2101
|
} }
|
|
2097
2102
|
class RoundButtonComponent extends BaseButtonWithLabel {
|
|
2098
2103
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵRoundButtonComponent_BaseFactory; return function RoundButtonComponent_Factory(__ngFactoryType__) { return (ɵRoundButtonComponent_BaseFactory || (ɵRoundButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RoundButtonComponent)))(__ngFactoryType__ || RoundButtonComponent); }; })(); }
|
|
2099
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RoundButtonComponent, selectors: [["
|
|
2104
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RoundButtonComponent, selectors: [["app-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) {
|
|
2100
2105
|
i0.ɵɵdomElementStart(0, "button", 0);
|
|
2101
2106
|
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(); });
|
|
2102
2107
|
i0.ɵɵconditionalCreate(1, RoundButtonComponent_Conditional_1_Template, 2, 3)(2, RoundButtonComponent_Conditional_2_Template, 1, 1);
|
|
@@ -2109,7 +2114,7 @@ class RoundButtonComponent extends BaseButtonWithLabel {
|
|
|
2109
2114
|
}
|
|
2110
2115
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RoundButtonComponent, [{
|
|
2111
2116
|
type: Component,
|
|
2112
|
-
args: [{ selector: '
|
|
2117
|
+
args: [{ selector: 'app-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"] }]
|
|
2113
2118
|
}], null, null); })();
|
|
2114
2119
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RoundButtonComponent, { className: "RoundButtonComponent", filePath: "lib/buttons/round-button/round-button.component.ts", lineNumber: 13 }); })();
|
|
2115
2120
|
|
|
@@ -2154,7 +2159,7 @@ function StrokedButtonComponent_Conditional_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
2154
2159
|
} }
|
|
2155
2160
|
class StrokedButtonComponent extends BaseButtonWithLabel {
|
|
2156
2161
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵStrokedButtonComponent_BaseFactory; return function StrokedButtonComponent_Factory(__ngFactoryType__) { return (ɵStrokedButtonComponent_BaseFactory || (ɵStrokedButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(StrokedButtonComponent)))(__ngFactoryType__ || StrokedButtonComponent); }; })(); }
|
|
2157
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StrokedButtonComponent, selectors: [["
|
|
2162
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: StrokedButtonComponent, selectors: [["app-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) {
|
|
2158
2163
|
i0.ɵɵelementStart(0, "button", 0);
|
|
2159
2164
|
i0.ɵɵlistener("click", function StrokedButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
2160
2165
|
i0.ɵɵconditionalCreate(1, StrokedButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1);
|
|
@@ -2174,7 +2179,7 @@ class StrokedButtonComponent extends BaseButtonWithLabel {
|
|
|
2174
2179
|
}
|
|
2175
2180
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StrokedButtonComponent, [{
|
|
2176
2181
|
type: Component,
|
|
2177
|
-
args: [{ selector: '
|
|
2182
|
+
args: [{ selector: 'app-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"] }]
|
|
2178
2183
|
}], null, null); })();
|
|
2179
2184
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(StrokedButtonComponent, { className: "StrokedButtonComponent", filePath: "lib/buttons/stroked-button/stroked-button.component.ts", lineNumber: 16 }); })();
|
|
2180
2185
|
|