UNPKG

ngx-numeral

Version:

An Angular pipe module for interfacing the Awesome Numeraljs library.

34 lines (33 loc) 1.33 kB
import { NgModule } from "@angular/core"; import { NumeralPipe, DEFAULT_NUMERAL } from "./ngx-numeral.pipe"; import * as i0 from "@angular/core"; var DECLARATIONS = [ NumeralPipe, ]; var NumeralModule = /** @class */ (function () { function NumeralModule() { } NumeralModule.forRoot = function () { return { ngModule: NumeralModule, providers: [ { provide: DEFAULT_NUMERAL, useValue: 0 } ] }; }; NumeralModule.ɵfac = function NumeralModule_Factory(t) { return new (t || NumeralModule)(); }; NumeralModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NumeralModule }); NumeralModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({}); return NumeralModule; }()); export { NumeralModule }; (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumeralModule, [{ type: NgModule, args: [{ declarations: DECLARATIONS, exports: DECLARATIONS, }] }], null, null); })(); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NumeralModule, { declarations: [NumeralPipe], exports: [NumeralPipe] }); })(); export { NumeralPipe, DEFAULT_NUMERAL } from "./ngx-numeral.pipe"; export * from "./numeraljs";