@firestitch/date
Advanced tools
Comparing version 18.0.1 to 18.0.2
@@ -9,2 +9,3 @@ import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy, OnInit } from '@angular/core'; | ||
showTime: boolean; | ||
suffix: boolean; | ||
format: string; | ||
@@ -37,3 +38,3 @@ showTooltip: boolean; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<FsDateAgoComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FsDateAgoComponent, "fs-date-ago", never, { "date": { "alias": "date"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "format": { "alias": "format"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "tooltipDateFormat": { "alias": "tooltipDateFormat"; "required": false; }; }, {}, never, never, false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<FsDateAgoComponent, "fs-date-ago", never, { "date": { "alias": "date"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "suffix": { "alias": "suffix"; "required": false; }; "format": { "alias": "format"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "tooltipDateFormat": { "alias": "tooltipDateFormat"; "required": false; }; }, {}, never, never, false, never>; | ||
} |
@@ -1,1 +0,17 @@ | ||
export declare function duration(time: any, options?: any): string; | ||
interface DurationOptions { | ||
seconds?: boolean; | ||
minutes?: boolean; | ||
hours?: boolean; | ||
days?: boolean; | ||
months?: boolean; | ||
years?: boolean; | ||
suffix?: any; | ||
maxOutputs?: number; | ||
abr?: boolean; | ||
unit?: string; | ||
precision?: number; | ||
pad?: boolean; | ||
thousandsSeperator?: boolean; | ||
} | ||
export declare function duration(time: any, _options?: DurationOptions | string): string; | ||
export {}; |
@@ -1,2 +0,4 @@ | ||
import { Observable } from 'rxjs'; | ||
export declare function parseDuration(value: String): Observable<Object>; | ||
export declare function parseDuration(value: string): { | ||
error?: string; | ||
time?: number; | ||
}; |
{ | ||
"name": "@firestitch/date", | ||
"version": "18.0.1", | ||
"version": "18.0.2", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
307555
2546