@tilde-nlp/ngx-common 8.0.2 → 8.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import * as i8 from '@angular/material/icon';
|
|
|
2
2
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
3
3
|
import { DomSanitizer, Title } from '@angular/platform-browser';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { OnInit, EventEmitter, PipeTransform,
|
|
5
|
+
import { OnInit, EventEmitter, PipeTransform, ElementRef, ViewContainerRef, Renderer2, AfterViewInit, OnDestroy, ChangeDetectorRef, AfterContentInit, QueryList, OnChanges, SimpleChanges, InjectionToken, TemplateRef, Provider } from '@angular/core';
|
|
6
6
|
import * as rxjs from 'rxjs';
|
|
7
7
|
import { Observable, Subscription, Subject } from 'rxjs';
|
|
8
8
|
import { HttpClient } from '@angular/common/http';
|
|
9
9
|
import * as i3 from '@ngx-translate/core';
|
|
10
|
-
import { TranslateService,
|
|
10
|
+
import { TranslateService, MissingTranslationHandler, MissingTranslationHandlerParams } from '@ngx-translate/core';
|
|
11
11
|
import * as i2 from '@angular/common';
|
|
12
12
|
import * as i5 from '@angular/material/tooltip';
|
|
13
13
|
import * as i4 from '@angular/material/button';
|
|
@@ -496,8 +496,6 @@ interface DateAgo {
|
|
|
496
496
|
|
|
497
497
|
declare class DateAgoPipe implements PipeTransform {
|
|
498
498
|
private readonly translate;
|
|
499
|
-
private readonly translatePipe;
|
|
500
|
-
private readonly _ref;
|
|
501
499
|
private readonly settings;
|
|
502
500
|
readonly defaultSettings: DateAgoSettings;
|
|
503
501
|
get intervals(): DateAgoInterval[];
|
|
@@ -505,16 +503,16 @@ declare class DateAgoPipe implements PipeTransform {
|
|
|
505
503
|
get localizationPrefix(): string;
|
|
506
504
|
get justNowKey(): string;
|
|
507
505
|
get justNowSeconds(): number;
|
|
508
|
-
constructor(translate: TranslateService,
|
|
506
|
+
constructor(translate: TranslateService, settings: DateAgoSettings);
|
|
509
507
|
transform(value: Date, enableMultiplePostfix?: boolean): string;
|
|
510
508
|
calculateDateAgo(value: Date, enableMultiplePostfix: boolean): DateAgo | null;
|
|
511
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateAgoPipe, [null,
|
|
509
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateAgoPipe, [null, { optional: true; }]>;
|
|
512
510
|
static ɵpipe: i0.ɵɵPipeDeclaration<DateAgoPipe, "dateAgo", false>;
|
|
513
511
|
}
|
|
514
512
|
|
|
515
513
|
declare class DateAgoModule {
|
|
516
514
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateAgoModule, never>;
|
|
517
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DateAgoModule, [typeof DateAgoPipe], [typeof i2.CommonModule
|
|
515
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DateAgoModule, [typeof DateAgoPipe], [typeof i2.CommonModule], [typeof DateAgoPipe]>;
|
|
518
516
|
static ɵinj: i0.ɵɵInjectorDeclaration<DateAgoModule>;
|
|
519
517
|
}
|
|
520
518
|
|