UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

16 lines (15 loc) 765 B
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core'; import dayjs from 'dayjs'; import { TranslateService } from '../../translate/public-api'; import * as i0 from "@angular/core"; export declare class RelativeTimeComponent implements OnInit, OnDestroy { private readonly cdr; private readonly translate; private readonly destroy$; constructor(cdr: ChangeDetectorRef, translate: TranslateService); time: dayjs.ConfigType; ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<RelativeTimeComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<RelativeTimeComponent, "acl-relative-time", never, { "time": { "alias": "time"; "required": false; }; }, {}, never, never, true, never>; }