mirror of https://github.com/abpframework/abp.git
8 changed files with 32 additions and 84 deletions
@ -1,15 +0,0 @@ |
|||||
<div class="mb-3"> |
|
||||
<input |
|
||||
class="form-check-input" |
|
||||
type="checkbox" |
|
||||
[(ngModel)]="value" |
|
||||
[id]="checkboxId" |
|
||||
[readonly]="checkboxReadonly" |
|
||||
[ngClass]="checkboxClass" |
|
||||
[ngStyle]="checkboxStyle" |
|
||||
(blur)="onBlur.next()" |
|
||||
(focus)="onFocus.next()" |
|
||||
> |
|
||||
<label class="form-check-label" *ngIf="label" [ngClass]="labelClass" [for]="checkboxId" > {{label | abpLocalization}} </label> |
|
||||
|
|
||||
</div> |
|
||||
@ -1,22 +0,0 @@ |
|||||
import { ComponentFixture, TestBed } from '@angular/core/testing'; |
|
||||
|
|
||||
import { CheckboxComponent } from './checkbox.component'; |
|
||||
|
|
||||
describe('CheckboxComponent', () => { |
|
||||
let component: CheckboxComponent; |
|
||||
let fixture: ComponentFixture<CheckboxComponent>; |
|
||||
|
|
||||
beforeEach(async () => { |
|
||||
await TestBed.configureTestingModule({ |
|
||||
declarations: [CheckboxComponent], |
|
||||
}).compileComponents(); |
|
||||
|
|
||||
fixture = TestBed.createComponent(CheckboxComponent); |
|
||||
component = fixture.componentInstance; |
|
||||
fixture.detectChanges(); |
|
||||
}); |
|
||||
|
|
||||
it('should create', () => { |
|
||||
expect(component).toBeTruthy(); |
|
||||
}); |
|
||||
}); |
|
||||
@ -1,15 +0,0 @@ |
|||||
<div class="mb-3"> |
|
||||
<label class="form-label" *ngIf="label" [ngClass]="labelClass" [for]="inputId" > {{label | abpLocalization}} </label> |
|
||||
<input |
|
||||
class="form-control" |
|
||||
type="text" |
|
||||
[id]="inputId" |
|
||||
[placeholder]="inputPlaceholder" |
|
||||
[readonly]="inputReadonly" |
|
||||
[ngClass]="inputClass" |
|
||||
[ngStyle]="inputStyle" |
|
||||
(blur)="onBlur.next()" |
|
||||
(focus)="onFocus.next()" |
|
||||
[(ngModel)]="value"> |
|
||||
</div> |
|
||||
|
|
||||
@ -1,22 +0,0 @@ |
|||||
import { ComponentFixture, TestBed } from '@angular/core/testing'; |
|
||||
|
|
||||
import { FormInputComponent } from './form-input.component'; |
|
||||
|
|
||||
describe('FormInputComponent', () => { |
|
||||
let component: FormInputComponent; |
|
||||
let fixture: ComponentFixture<FormInputComponent>; |
|
||||
|
|
||||
beforeEach(async () => { |
|
||||
await TestBed.configureTestingModule({ |
|
||||
declarations: [FormInputComponent], |
|
||||
}).compileComponents(); |
|
||||
|
|
||||
fixture = TestBed.createComponent(FormInputComponent); |
|
||||
component = fixture.componentInstance; |
|
||||
fixture.detectChanges(); |
|
||||
}); |
|
||||
|
|
||||
it('should create', () => { |
|
||||
expect(component).toBeTruthy(); |
|
||||
}); |
|
||||
}); |
|
||||
Loading…
Reference in new issue