angular-ecmascript-intl
Advanced tools
Comparing version
@@ -6,5 +6,5 @@ import { PipeTransform } from '@angular/core'; | ||
export declare class IntlCountryPipe implements PipeTransform { | ||
readonly locale?: string | string[] | null | undefined; | ||
readonly defaultOptions?: Omit<IntlCountryPipeOptions, "locale"> | null | undefined; | ||
constructor(locale?: string | string[] | null | undefined, defaultOptions?: Omit<IntlCountryPipeOptions, "locale"> | null | undefined); | ||
readonly locale?: (string | string[] | null) | undefined; | ||
readonly defaultOptions?: (Omit<IntlCountryPipeOptions, "locale"> | null) | undefined; | ||
constructor(locale?: (string | string[] | null) | undefined, defaultOptions?: (Omit<IntlCountryPipeOptions, "locale"> | null) | undefined); | ||
transform(value: string | null | undefined, options?: IntlCountryPipeOptions): string | null; | ||
@@ -11,0 +11,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<IntlCountryPipe, [{ optional: true; }, { optional: true; }]>; |
@@ -7,5 +7,5 @@ import { PipeTransform } from '@angular/core'; | ||
export declare class IntlCurrencyPipe implements PipeTransform { | ||
readonly locale?: string | string[] | null | undefined; | ||
readonly defaultOptions?: Omit<IntlCurrencyPipeOptions, "locale"> | null | undefined; | ||
constructor(locale?: string | string[] | null | undefined, defaultOptions?: Omit<IntlCurrencyPipeOptions, "locale"> | null | undefined); | ||
readonly locale?: (string | string[] | null) | undefined; | ||
readonly defaultOptions?: (Omit<IntlCurrencyPipeOptions, "locale"> | null) | undefined; | ||
constructor(locale?: (string | string[] | null) | undefined, defaultOptions?: (Omit<IntlCurrencyPipeOptions, "locale"> | null) | undefined); | ||
transform(value: number | string | null | undefined, currency: string, options?: IntlCurrencyPipeOptions): string | null; | ||
@@ -12,0 +12,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<IntlCurrencyPipe, [{ optional: true; }, { optional: true; }]>; |
@@ -6,5 +6,5 @@ import { PipeTransform } from '@angular/core'; | ||
export declare class IntlDatePipe implements PipeTransform { | ||
readonly locale?: string | string[] | null | undefined; | ||
readonly defaultOptions?: Omit<IntlDatePipeOptions, "locale"> | null | undefined; | ||
constructor(locale?: string | string[] | null | undefined, defaultOptions?: Omit<IntlDatePipeOptions, "locale"> | null | undefined); | ||
readonly locale?: (string | string[] | null) | undefined; | ||
readonly defaultOptions?: (Omit<IntlDatePipeOptions, "locale"> | null) | undefined; | ||
constructor(locale?: (string | string[] | null) | undefined, defaultOptions?: (Omit<IntlDatePipeOptions, "locale"> | null) | undefined); | ||
transform(value: string | number | Date | null | undefined, options?: IntlDatePipeOptions): string | null; | ||
@@ -11,0 +11,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<IntlDatePipe, [{ optional: true; }, { optional: true; }]>; |
@@ -7,5 +7,5 @@ import { PipeTransform } from '@angular/core'; | ||
export declare class IntlDecimalPipe implements PipeTransform { | ||
readonly locale?: string | string[] | null | undefined; | ||
readonly defaultOptions?: Omit<IntlDecimalPipeOptions, "locale"> | null | undefined; | ||
constructor(locale?: string | string[] | null | undefined, defaultOptions?: Omit<IntlDecimalPipeOptions, "locale"> | null | undefined); | ||
readonly locale?: (string | string[] | null) | undefined; | ||
readonly defaultOptions?: (Omit<IntlDecimalPipeOptions, "locale"> | null) | undefined; | ||
constructor(locale?: (string | string[] | null) | undefined, defaultOptions?: (Omit<IntlDecimalPipeOptions, "locale"> | null) | undefined); | ||
transform(value: number | string | null | undefined, options?: IntlDecimalPipeOptions): string | null; | ||
@@ -12,0 +12,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<IntlDecimalPipe, [{ optional: true; }, { optional: true; }]>; |
@@ -6,5 +6,5 @@ import { PipeTransform } from '@angular/core'; | ||
export declare class IntlLanguagePipe implements PipeTransform { | ||
readonly locale?: string | string[] | null | undefined; | ||
readonly defaultOptions?: Omit<IntlLanguagePipeOptions, "locale"> | null | undefined; | ||
constructor(locale?: string | string[] | null | undefined, defaultOptions?: Omit<IntlLanguagePipeOptions, "locale"> | null | undefined); | ||
readonly locale?: (string | string[] | null) | undefined; | ||
readonly defaultOptions?: (Omit<IntlLanguagePipeOptions, "locale"> | null) | undefined; | ||
constructor(locale?: (string | string[] | null) | undefined, defaultOptions?: (Omit<IntlLanguagePipeOptions, "locale"> | null) | undefined); | ||
transform(value: string | null | undefined, options?: IntlLanguagePipeOptions): string | null; | ||
@@ -11,0 +11,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<IntlLanguagePipe, [{ optional: true; }, { optional: true; }]>; |
@@ -6,5 +6,5 @@ import { PipeTransform } from '@angular/core'; | ||
export declare class IntlListPipe implements PipeTransform { | ||
readonly locale?: string | string[] | null | undefined; | ||
readonly defaultOptions?: Omit<IntlListPipeOptions, "locale"> | null | undefined; | ||
constructor(locale?: string | string[] | null | undefined, defaultOptions?: Omit<IntlListPipeOptions, "locale"> | null | undefined); | ||
readonly locale?: (string | string[] | null) | undefined; | ||
readonly defaultOptions?: (Omit<IntlListPipeOptions, "locale"> | null) | undefined; | ||
constructor(locale?: (string | string[] | null) | undefined, defaultOptions?: (Omit<IntlListPipeOptions, "locale"> | null) | undefined); | ||
transform(value: Iterable<string> | null | undefined, options?: IntlListPipeOptions): string | null; | ||
@@ -11,0 +11,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<IntlListPipe, [{ optional: true; }, { optional: true; }]>; |
@@ -7,5 +7,5 @@ import { PipeTransform } from '@angular/core'; | ||
export declare class IntlPercentPipe implements PipeTransform { | ||
readonly locale?: string | string[] | null | undefined; | ||
readonly defaultOptions?: Omit<IntlPercentPipeOptions, "locale"> | null | undefined; | ||
constructor(locale?: string | string[] | null | undefined, defaultOptions?: Omit<IntlPercentPipeOptions, "locale"> | null | undefined); | ||
readonly locale?: (string | string[] | null) | undefined; | ||
readonly defaultOptions?: (Omit<IntlPercentPipeOptions, "locale"> | null) | undefined; | ||
constructor(locale?: (string | string[] | null) | undefined, defaultOptions?: (Omit<IntlPercentPipeOptions, "locale"> | null) | undefined); | ||
transform(value: number | string | null | undefined, options?: IntlPercentPipeOptions): string | null; | ||
@@ -12,0 +12,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<IntlPercentPipe, [{ optional: true; }, { optional: true; }]>; |
@@ -7,6 +7,6 @@ import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core'; | ||
#private; | ||
readonly locales?: string | string[] | null | undefined; | ||
readonly defaultOptions?: Omit<IntlRelativeTimePipeOptions, "locale"> | null | undefined; | ||
readonly locales?: (string | string[] | null) | undefined; | ||
readonly defaultOptions?: (Omit<IntlRelativeTimePipeOptions, "locale"> | null) | undefined; | ||
readonly cdr?: ChangeDetectorRef | undefined; | ||
constructor(locales?: string | string[] | null | undefined, defaultOptions?: Omit<IntlRelativeTimePipeOptions, "locale"> | null | undefined, cdr?: ChangeDetectorRef | undefined); | ||
constructor(locales?: (string | string[] | null) | undefined, defaultOptions?: (Omit<IntlRelativeTimePipeOptions, "locale"> | null) | undefined, cdr?: ChangeDetectorRef | undefined); | ||
transform(value: string | number | Date | null | undefined, options?: IntlRelativeTimePipeOptions): string | null; | ||
@@ -13,0 +13,0 @@ ngOnDestroy(): void; |
@@ -7,5 +7,5 @@ import { PipeTransform } from '@angular/core'; | ||
export declare class IntlUnitPipe implements PipeTransform { | ||
readonly locale?: string | string[] | null | undefined; | ||
readonly defaultOptions?: Omit<IntlUnitPipeOptions, "locale"> | null | undefined; | ||
constructor(locale?: string | string[] | null | undefined, defaultOptions?: Omit<IntlUnitPipeOptions, "locale"> | null | undefined); | ||
readonly locale?: (string | string[] | null) | undefined; | ||
readonly defaultOptions?: (Omit<IntlUnitPipeOptions, "locale"> | null) | undefined; | ||
constructor(locale?: (string | string[] | null) | undefined, defaultOptions?: (Omit<IntlUnitPipeOptions, "locale"> | null) | undefined); | ||
transform(value: number | string | null | undefined, unit: string | undefined, options?: IntlUnitPipeOptions): string | null; | ||
@@ -12,0 +12,0 @@ static ɵfac: i0.ɵɵFactoryDeclaration<IntlUnitPipe, [{ optional: true; }, { optional: true; }]>; |
{ | ||
"name": "angular-ecmascript-intl", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "Contains Angular pipes to transform internationalization data using Intl.* browser APIs", | ||
@@ -19,4 +19,4 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@angular/common": ">=18", | ||
"@angular/core": ">=18" | ||
"@angular/common": ">=19", | ||
"@angular/core": ">=19" | ||
}, | ||
@@ -47,4 +47,2 @@ "dependencies": { | ||
"types": "./index.d.ts", | ||
"esm2022": "./esm2022/angular-ecmascript-intl.mjs", | ||
"esm": "./esm2022/angular-ecmascript-intl.mjs", | ||
"default": "./fesm2022/angular-ecmascript-intl.mjs" | ||
@@ -51,0 +49,0 @@ } |
@@ -301,3 +301,4 @@ # Angular ECMAScript Intl | ||
| Angular | angular-ecmascript-intl | | ||
| ------- | ----------------------- | | ||
|---------|-------------------------| | ||
| 19 | 5.x | | ||
| 18 | 4.x | | ||
@@ -304,0 +305,0 @@ | 17 | 3.x | |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
311
0.32%86096
-48.78%28
-46.15%711
-45.43%