UNPKG

@progress/kendo-angular-intl

Version:

Kendo UI Internationalization for Angular 2 components

31 lines (30 loc) 948 B
import { NgModule } from '@angular/core'; import { DatePipe } from './date.pipe'; import { NumberPipe } from './number.pipe'; import { IntlService } from './intl.service'; import { CldrIntlService } from './cldr-intl.service'; var pipes = [ DatePipe, NumberPipe ]; /** * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }}docs/ts/latest/guide/ngmodule.html) * definition for the Intl services. */ var IntlModule = /** @class */ (function () { function IntlModule() { } IntlModule.decorators = [ { type: NgModule, args: [{ declarations: [pipes], exports: [pipes], providers: [ { provide: IntlService, useClass: CldrIntlService } ] },] }, ]; /** @nocollapse */ IntlModule.ctorParameters = function () { return []; }; return IntlModule; }()); export { IntlModule };