@cauca-911/material 18.0.1-beta5 → 18.0.1-beta6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, computed, input, output } from '@angular/core';
|
|
1
|
+
import { ChangeDetectionStrategy, Component, computed, Input, input, output } from '@angular/core';
|
|
2
2
|
import { MatButton, } from '@angular/material/button';
|
|
3
3
|
import { MatIconModule } from '@angular/material/icon';
|
|
4
4
|
import { TranslateModule } from '@ngx-translate/core';
|
|
@@ -11,7 +11,7 @@ function RaisedButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
11
11
|
i0.ɵɵelementEnd();
|
|
12
12
|
} if (rf & 2) {
|
|
13
13
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
14
|
-
i0.ɵɵclassProp("button-spin", ctx_r0.isInProgress
|
|
14
|
+
i0.ɵɵclassProp("button-spin", ctx_r0.isInProgress);
|
|
15
15
|
i0.ɵɵadvance();
|
|
16
16
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
17
17
|
} }
|
|
@@ -34,7 +34,7 @@ function RaisedButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
34
34
|
i0.ɵɵelementEnd();
|
|
35
35
|
} if (rf & 2) {
|
|
36
36
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
37
|
-
i0.ɵɵclassProp("button-spin", ctx_r0.isInProgress
|
|
37
|
+
i0.ɵɵclassProp("button-spin", ctx_r0.isInProgress);
|
|
38
38
|
i0.ɵɵadvance();
|
|
39
39
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
40
40
|
} }
|
|
@@ -46,14 +46,14 @@ export class RaisedButtonComponent {
|
|
|
46
46
|
this.icon = input();
|
|
47
47
|
this.iconAlignment = input('left');
|
|
48
48
|
this.isDisabled = input(false);
|
|
49
|
-
this.isInProgress =
|
|
50
|
-
this.showIcon = computed(() => !!this.icon() || this.isInProgress
|
|
51
|
-
this.iconToShow = computed(() => this.isInProgress
|
|
52
|
-
this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress
|
|
49
|
+
this.isInProgress = false;
|
|
50
|
+
this.showIcon = computed(() => !!this.icon() || this.isInProgress);
|
|
51
|
+
this.iconToShow = computed(() => this.isInProgress ? 'update' : this.icon());
|
|
52
|
+
this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress);
|
|
53
53
|
this.buttonClick = output();
|
|
54
54
|
}
|
|
55
55
|
static { this.ɵfac = function RaisedButtonComponent_Factory(t) { return new (t || RaisedButtonComponent)(); }; }
|
|
56
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RaisedButtonComponent, selectors: [["app-raised-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress:
|
|
56
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RaisedButtonComponent, selectors: [["app-raised-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: "isInProgress" }, outputs: { buttonClick: "buttonClick" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 5, vars: 5, consts: [["mat-raised-button", "", "onclick", "this.blur()", 3, "click", "color", "disabled"], [3, "button-spin"]], template: function RaisedButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
57
57
|
i0.ɵɵelementStart(0, "button", 0);
|
|
58
58
|
i0.ɵɵlistener("click", function RaisedButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
59
59
|
i0.ɵɵtemplate(1, RaisedButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1)(2, RaisedButtonComponent_Conditional_2_Template, 2, 3)(3, RaisedButtonComponent_Conditional_3_Template, 1, 1)(4, RaisedButtonComponent_Conditional_4_Template, 2, 3, "mat-icon", 1);
|
|
@@ -70,7 +70,9 @@ export class RaisedButtonComponent {
|
|
|
70
70
|
}
|
|
71
71
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RaisedButtonComponent, [{
|
|
72
72
|
type: Component,
|
|
73
|
-
args: [{ selector: 'app-raised-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, MatIconModule, TranslateModule], template: "<button mat-raised-button [color]=\"color()\" onclick=\"this.blur()\" [disabled]=\"buttonDisabled()\" (click)=\"buttonClick.emit()\">\r\n @if (showIcon() && iconAlignment() === 'left') { <mat-icon [class.button-spin]=\"isInProgress
|
|
74
|
-
}], null,
|
|
73
|
+
args: [{ selector: 'app-raised-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, MatIconModule, TranslateModule], template: "<button mat-raised-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}\n"] }]
|
|
74
|
+
}], null, { isInProgress: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}] }); })();
|
|
75
77
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RaisedButtonComponent, { className: "RaisedButtonComponent", filePath: "lib\\buttons\\raised-button\\raised-button.component.ts", lineN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dWJsaWMgYnV0dG9uQ2xpY2s6IE91dHB1dEVtaXR0ZXJSZWY8dm9pZD4gPSBvdXRwdXQoKTtcclxufVxyXG4iLCI8YnV0dG9uIG1hdC1yYWlzZWQtYnV0dG9uIFtjb2xvcl09XCJjb2xvcigpXCIgb25jbGljaz1cInRoaXMuYmx1cigpXCIgW2Rpc2FibGVkXT1cImJ1dHRvbkRpc2FibGVkKClcIiAoY2xpY2spPVwiYnV0dG9uQ2xpY2suZW1pdCgpXCI+XHJcbiAgICBAaWYgKHNob3dJY29uKCkgJiYgaWNvbkFsaWdubWVudCgpID09PSAnbGVmdCcpIHsgPG1hdC1pY29uIFtjbGFzcy5idXR0b24tc3Bpbl09XCJpc0luUHJvZ3Jlc3NcIj57e2ljb25Ub1Nob3coKX19PC9tYXQtaWNvbj4gfVxyXG4gICAgQGlmICh0cmFuc2xhdGVMYWJlbCgpKSB7e3tsYWJlbCgpfHRyYW5zbGF0ZX19fSBAZWxzZSB7e3tsYWJlbCgpfX19XHJcbiAgICBAaWYgKHNob3dJY29uKCkgJiYgaWNvbkFsaWdubWVudCgpID09PSAncmlnaHQnKSB7IDxtYXQtaWNvbiBbY2xhc3MuYnV0dG9uLXNwaW5dPVwiaXNJblByb2dyZXNzXCI+e3tpY29uVG9TaG93KCl9fTwvbWF0LWljb24+IH1cclxuPC9idXR0b24+Il19
|
|
@@ -1061,7 +1061,7 @@ function RaisedButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1061
1061
|
i0.ɵɵelementEnd();
|
|
1062
1062
|
} if (rf & 2) {
|
|
1063
1063
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
1064
|
-
i0.ɵɵclassProp("button-spin", ctx_r0.isInProgress
|
|
1064
|
+
i0.ɵɵclassProp("button-spin", ctx_r0.isInProgress);
|
|
1065
1065
|
i0.ɵɵadvance();
|
|
1066
1066
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
1067
1067
|
} }
|
|
@@ -1084,7 +1084,7 @@ function RaisedButtonComponent_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
1084
1084
|
i0.ɵɵelementEnd();
|
|
1085
1085
|
} if (rf & 2) {
|
|
1086
1086
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
1087
|
-
i0.ɵɵclassProp("button-spin", ctx_r0.isInProgress
|
|
1087
|
+
i0.ɵɵclassProp("button-spin", ctx_r0.isInProgress);
|
|
1088
1088
|
i0.ɵɵadvance();
|
|
1089
1089
|
i0.ɵɵtextInterpolate(ctx_r0.iconToShow());
|
|
1090
1090
|
} }
|
|
@@ -1096,14 +1096,14 @@ class RaisedButtonComponent {
|
|
|
1096
1096
|
this.icon = input();
|
|
1097
1097
|
this.iconAlignment = input('left');
|
|
1098
1098
|
this.isDisabled = input(false);
|
|
1099
|
-
this.isInProgress =
|
|
1100
|
-
this.showIcon = computed(() => !!this.icon() || this.isInProgress
|
|
1101
|
-
this.iconToShow = computed(() => this.isInProgress
|
|
1102
|
-
this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress
|
|
1099
|
+
this.isInProgress = false;
|
|
1100
|
+
this.showIcon = computed(() => !!this.icon() || this.isInProgress);
|
|
1101
|
+
this.iconToShow = computed(() => this.isInProgress ? 'update' : this.icon());
|
|
1102
|
+
this.buttonDisabled = computed(() => this.isDisabled() || this.isInProgress);
|
|
1103
1103
|
this.buttonClick = output();
|
|
1104
1104
|
}
|
|
1105
1105
|
static { this.ɵfac = function RaisedButtonComponent_Factory(t) { return new (t || RaisedButtonComponent)(); }; }
|
|
1106
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RaisedButtonComponent, selectors: [["app-raised-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress:
|
|
1106
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RaisedButtonComponent, selectors: [["app-raised-button"]], inputs: { translateLabel: [1, "translateLabel"], label: [1, "label"], color: [1, "color"], icon: [1, "icon"], iconAlignment: [1, "iconAlignment"], isDisabled: [1, "isDisabled"], isInProgress: "isInProgress" }, outputs: { buttonClick: "buttonClick" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 5, vars: 5, consts: [["mat-raised-button", "", "onclick", "this.blur()", 3, "click", "color", "disabled"], [3, "button-spin"]], template: function RaisedButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1107
1107
|
i0.ɵɵelementStart(0, "button", 0);
|
|
1108
1108
|
i0.ɵɵlistener("click", function RaisedButtonComponent_Template_button_click_0_listener() { return ctx.buttonClick.emit(); });
|
|
1109
1109
|
i0.ɵɵtemplate(1, RaisedButtonComponent_Conditional_1_Template, 2, 3, "mat-icon", 1)(2, RaisedButtonComponent_Conditional_2_Template, 2, 3)(3, RaisedButtonComponent_Conditional_3_Template, 1, 1)(4, RaisedButtonComponent_Conditional_4_Template, 2, 3, "mat-icon", 1);
|
|
@@ -1120,8 +1120,10 @@ class RaisedButtonComponent {
|
|
|
1120
1120
|
}
|
|
1121
1121
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RaisedButtonComponent, [{
|
|
1122
1122
|
type: Component,
|
|
1123
|
-
args: [{ selector: 'app-raised-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, MatIconModule, TranslateModule], template: "<button mat-raised-button [color]=\"color()\" onclick=\"this.blur()\" [disabled]=\"buttonDisabled()\" (click)=\"buttonClick.emit()\">\r\n @if (showIcon() && iconAlignment() === 'left') { <mat-icon [class.button-spin]=\"isInProgress
|
|
1124
|
-
}], null,
|
|
1123
|
+
args: [{ selector: 'app-raised-button', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatButton, MatIconModule, TranslateModule], template: "<button mat-raised-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}\n"] }]
|
|
1124
|
+
}], null, { isInProgress: [{
|
|
1125
|
+
type: Input
|
|
1126
|
+
}] }); })();
|
|
1125
1127
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RaisedButtonComponent, { className: "RaisedButtonComponent", filePath: "lib\\buttons\\raised-button\\raised-button.component.ts", lineNumber: 14 }); })();
|
|
1126
1128
|
|
|
1127
1129
|
class IconButtonComponent extends BaseButton {
|