@rangertechnologies/ngnxt
Version:
This library was used for creating dymanic UI based on the input JSON/data
15 lines (14 loc) • 754 B
TypeScript
import { PipeTransform } from '@angular/core';
import 'moment/locale/ar-sa';
import 'moment/locale/en-gb';
import * as i0 from "@angular/core";
export declare class NxtDatePipe implements PipeTransform {
transform(value: any, typeOrFormat?: 'date' | 'datetime' | 'month' | 'time' | string, languageCode?: string, dateFormatType?: 'hijri' | 'gregorian'): string;
/** SKS29OCT25 Map Angular-style date aliases to Moment formats */
private mapAngularFormat;
/** SKS29OCT25 Convert digits to Arabic numerals */
private toArabicNumbers;
static ɵfac: i0.ɵɵFactoryDeclaration<NxtDatePipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<NxtDatePipe, "NxtDate", true>;
static ɵprov: i0.ɵɵInjectableDeclaration<NxtDatePipe>;
}