dolfo-angular 1.216.0 → 1.217.0
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.
|
@@ -1385,7 +1385,7 @@ class ButtonComponent {
|
|
|
1385
1385
|
color;
|
|
1386
1386
|
loading = false;
|
|
1387
1387
|
size;
|
|
1388
|
-
textButton;
|
|
1388
|
+
textButton = false;
|
|
1389
1389
|
onClick = new EventEmitter();
|
|
1390
1390
|
onBlur = new EventEmitter();
|
|
1391
1391
|
onFocus = new EventEmitter();
|
|
@@ -1398,7 +1398,7 @@ class ButtonComponent {
|
|
|
1398
1398
|
this.btn.nativeElement.focus();
|
|
1399
1399
|
};
|
|
1400
1400
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1401
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: ButtonComponent, isStandalone: false, selector: "dolfo-button", inputs: { type: "type", disabled: ["disabled", "disabled", booleanAttribute], color: "color", loading: "loading", size: "size", textButton: "textButton" }, outputs: { onClick: "onClick", onBlur: "onBlur", onFocus: "onFocus" }, viewQueries: [{ propertyName: "btn", first: true, predicate: ["btn"], descendants: true }], ngImport: i0, template: `<button #btn [type]="type" [disabled]="disabled || loading" (click)="doClick($event)" [class]="'color-' + (color || 'primary')" (focus)="onFocus.emit($event)" (blur)="onFocus.emit($event)" [class.size-sm]="size === 'small'" [class.size-lg]="size === 'large'" [class.text]="textButton">
|
|
1401
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.5", type: ButtonComponent, isStandalone: false, selector: "dolfo-button", inputs: { type: "type", disabled: ["disabled", "disabled", booleanAttribute], color: "color", loading: "loading", size: "size", textButton: ["textButton", "textButton", booleanAttribute] }, outputs: { onClick: "onClick", onBlur: "onBlur", onFocus: "onFocus" }, viewQueries: [{ propertyName: "btn", first: true, predicate: ["btn"], descendants: true }], ngImport: i0, template: `<button #btn [type]="type" [disabled]="disabled || loading" (click)="doClick($event)" [class]="'color-' + (color || 'primary')" (focus)="onFocus.emit($event)" (blur)="onFocus.emit($event)" [class.size-sm]="size === 'small'" [class.size-lg]="size === 'large'" [class.text]="textButton">
|
|
1402
1402
|
@if(loading){
|
|
1403
1403
|
<dolfo-icon name="spinner8"></dolfo-icon>
|
|
1404
1404
|
}
|
|
@@ -1433,7 +1433,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
1433
1433
|
}], size: [{
|
|
1434
1434
|
type: Input
|
|
1435
1435
|
}], textButton: [{
|
|
1436
|
-
type: Input
|
|
1436
|
+
type: Input,
|
|
1437
|
+
args: [{ transform: booleanAttribute }]
|
|
1437
1438
|
}], onClick: [{
|
|
1438
1439
|
type: Output
|
|
1439
1440
|
}], onBlur: [{
|