diff --git a/package.json b/package.json index 9b2a2b6..a3cf95a 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "angular-messages": "^1.6.5", "angular-resource": "^1.6.5", "angular-strap": "^2.3.12", + "angular2-text-mask": "^8.0.2", "base64util": "^1.0.2", "bootbox": "^4.4.0", "bootstrap": "4.0.0-alpha.6", diff --git a/src/scheduler/schedule.module.ts b/src/scheduler/schedule.module.ts index 423eaae..4edf4c3 100644 --- a/src/scheduler/schedule.module.ts +++ b/src/scheduler/schedule.module.ts @@ -9,6 +9,7 @@ import { RestangularModule } from 'ngx-restangular'; import { NgLoggerModule, Level } from '@nsalaun/ng-logger'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { ToastrModule } from 'ngx-toastr'; +import { TextMaskModule } from 'angular2-text-mask'; import { ScheduleService } from './schedule.service'; import { ScheduleDeleteModalComponent } from './scheduleDeleteModal.component'; @@ -33,7 +34,8 @@ export function accountIdServiceFactory(i: any) { NgLoggerModule, RestangularModule, ToastrModule, - NgbModule + NgbModule, + TextMaskModule ], providers: [ ScheduleService, diff --git a/src/scheduler/scheduleForm.component.ts b/src/scheduler/scheduleForm.component.ts index 8d1ea33..179d740 100644 --- a/src/scheduler/scheduleForm.component.ts +++ b/src/scheduler/scheduleForm.component.ts @@ -15,8 +15,7 @@ import { Schedule } from './schedule';