@progress/kendo-angular-intl 4.0.0-next.202204060817 → 4.0.1-dev.202206071423
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/bundles/kendo-angular-intl.umd.js +1 -1
- package/date.pipe.d.ts +41 -0
- package/error-solutions.d.ts +10 -0
- package/esm2015/date.pipe.js +62 -0
- package/esm2015/error-solutions.js +19 -0
- package/esm2015/intl-members.js +95 -0
- package/esm2015/intl.module.js +30 -0
- package/esm2015/intl.service.js +249 -0
- package/esm2015/kendo-angular-intl.js +8 -0
- package/esm2015/locale-data.interface.js +5 -0
- package/esm2015/main.js +10 -0
- package/esm2015/number.pipe.js +55 -0
- package/esm2015/package-metadata.js +15 -0
- package/fesm2015/kendo-angular-intl.js +502 -0
- package/intl-members.d.ts +71 -0
- package/intl.module.d.ts +16 -0
- package/intl.service.d.ts +298 -0
- package/kendo-angular-intl.d.ts +9 -0
- package/locale-data.interface.d.ts +392 -0
- package/main.d.ts +10 -0
- package/number.pipe.d.ts +41 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +14 -17
package/number.pipe.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PipeTransform } from '@angular/core';
|
|
6
|
+
import { IntlService } from './intl.service';
|
|
7
|
+
import { NumberFormatOptions } from '@progress/kendo-intl';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* Formats a number value to a string based on the requested format.
|
|
11
|
+
* This pipe uses the [`IntlService`]({% slug api_intl_intlservice %}).
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ng-template-no-run
|
|
15
|
+
* <ul>
|
|
16
|
+
* <li>{{decimal | kendoNumber:'c' }}</li>
|
|
17
|
+
* <li>{{stringNumber | kendoNumber:'p' }}</li>
|
|
18
|
+
* <li>{{int | kendoNumber:'##.00' }}</li>
|
|
19
|
+
* </ul>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare class NumberPipe implements PipeTransform {
|
|
23
|
+
private intlService;
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
constructor(intlService: IntlService);
|
|
28
|
+
/**
|
|
29
|
+
* Converts a `Number` object into a string based on the specified format.
|
|
30
|
+
* If no format is provided, the value is formatted as decimal number using the
|
|
31
|
+
* [`"n"`](https://github.com/telerik/kendo-intl/blob/master/docs/num-formatting/index.md#standard) format.
|
|
32
|
+
*
|
|
33
|
+
* @param value - The numer that will be formatted.
|
|
34
|
+
* @param format - The format string or options.
|
|
35
|
+
* @param localeId - (Optional) The locale ID that will be used in place of the default one.
|
|
36
|
+
* @return - The formatted number.
|
|
37
|
+
*/
|
|
38
|
+
transform(value: any, format?: string | NumberFormatOptions, localeId?: string): any;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberPipe, never>;
|
|
40
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberPipe, "kendoNumber">;
|
|
41
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare const packageMetadata: PackageMetadata;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-intl",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.1-dev.202206071423",
|
|
4
4
|
"description": "Kendo UI Internationalization for Angular components",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -21,21 +21,20 @@
|
|
|
21
21
|
"@progress": {
|
|
22
22
|
"friendlyName": "Internationalization"
|
|
23
23
|
},
|
|
24
|
-
"
|
|
25
|
-
"schematics",
|
|
24
|
+
"assets": [
|
|
26
25
|
"locales"
|
|
27
26
|
],
|
|
28
27
|
"sideEffects": [
|
|
29
28
|
"./locales/**/*"
|
|
30
29
|
],
|
|
31
30
|
"dependencies": {
|
|
32
|
-
"@
|
|
33
|
-
"
|
|
34
|
-
"
|
|
31
|
+
"@progress/kendo-schematics": "^3.0.0",
|
|
32
|
+
"@progress/kendo-intl": "^3.0.2",
|
|
33
|
+
"tslib": "^2.3.1"
|
|
35
34
|
},
|
|
36
35
|
"peerDependencies": {
|
|
37
|
-
"@angular/common": "
|
|
38
|
-
"@angular/core": "
|
|
36
|
+
"@angular/common": "12 - 14",
|
|
37
|
+
"@angular/core": "12 - 14",
|
|
39
38
|
"@progress/kendo-licensing": "^1.0.2",
|
|
40
39
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
41
40
|
},
|
|
@@ -67,18 +66,16 @@
|
|
|
67
66
|
"release": {
|
|
68
67
|
"debug": false,
|
|
69
68
|
"branchTags": {
|
|
70
|
-
"develop": "dev"
|
|
71
|
-
"ng12-update": "next"
|
|
69
|
+
"develop": "dev"
|
|
72
70
|
},
|
|
73
71
|
"fallbackTags": {
|
|
74
|
-
"dev": "latest"
|
|
75
|
-
"next": "latest"
|
|
72
|
+
"dev": "latest"
|
|
76
73
|
},
|
|
77
|
-
"analyzeCommits": "@
|
|
78
|
-
"generateNotes": "@
|
|
79
|
-
"getLastRelease": "@
|
|
80
|
-
"verifyConditions": "@
|
|
81
|
-
"verifyRelease": "@
|
|
74
|
+
"analyzeCommits": "@progress/semantic-prerelease/analyzeCommits",
|
|
75
|
+
"generateNotes": "@progress/semantic-prerelease/generateNotes",
|
|
76
|
+
"getLastRelease": "@progress/semantic-prerelease/getLastRelease",
|
|
77
|
+
"verifyConditions": "@progress/semantic-prerelease/verifyConditions",
|
|
78
|
+
"verifyRelease": "@progress/semantic-prerelease/verifyRelease"
|
|
82
79
|
},
|
|
83
80
|
"main": "bundles/kendo-angular-intl.umd.js",
|
|
84
81
|
"module": "fesm2015/kendo-angular-intl.js",
|