@ni/nimble-angular 19.4.0 → 20.0.0
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/esm2020/pipes/duration.pipe.mjs +4 -3
- package/esm2020/pipes/number-text.pipe.mjs +30 -0
- package/esm2020/pipes/public-api.mjs +5 -2
- package/fesm2015/ni-nimble-angular-pipes.mjs +35 -15
- package/fesm2015/ni-nimble-angular-pipes.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-pipes.mjs +32 -15
- package/fesm2020/ni-nimble-angular-pipes.mjs.map +1 -1
- package/package.json +2 -2
- package/pipes/duration.pipe.d.ts +1 -1
- package/pipes/number-text.pipe.d.ts +17 -0
- package/pipes/public-api.d.ts +4 -1
- package/esm2020/pipes/nimble-pipes.module.mjs +0 -18
- package/pipes/nimble-pipes.module.d.ts +0 -8
|
@@ -17,14 +17,15 @@ export class DurationPipe {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
DurationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
20
|
-
DurationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, name: "duration" });
|
|
20
|
+
DurationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, isStandalone: true, name: "duration" });
|
|
21
21
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, decorators: [{
|
|
22
22
|
type: Pipe,
|
|
23
23
|
args: [{
|
|
24
|
-
name: 'duration'
|
|
24
|
+
name: 'duration',
|
|
25
|
+
standalone: true
|
|
25
26
|
}]
|
|
26
27
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
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B8IG51bGwgfCB1bmRlZmluZWQpOiBzdHJpbmcge1xuICAgICAgICBjb25zdCBtaWxsaXNlY29uZHMgPSB0aGlzLnBhcnNlRHVyYXRpb24odGltZUluTWlsbGlzZWNvbmRzKTtcbiAgICAgICAgcmV0dXJuIHRoaXMuZHVyYXRpb25Gb3JtYXR0ZXIuZm9ybWF0KG1pbGxpc2Vjb25kcyk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBwYXJzZUR1cmF0aW9uKGR1cmF0aW9uOiBzdHJpbmcgfCBudW1iZXIgfCBudWxsIHwgdW5kZWZpbmVkKTogbnVtYmVyIHwgbnVsbCB8IHVuZGVmaW5lZCB7XG4gICAgICAgIHJldHVybiB0eXBlb2YgZHVyYXRpb24gPT09ICdzdHJpbmcnID8gcGFyc2VGbG9hdChkdXJhdGlvbikgOiBkdXJhdGlvbjtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Inject, LOCALE_ID, Pipe } from '@angular/core';
|
|
2
|
+
import { NumberTextUnitFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/models/number-text-unit-format';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* A pipe that transforms a number into a string with optional unit
|
|
6
|
+
*/
|
|
7
|
+
export class NumberTextPipe {
|
|
8
|
+
constructor(locale) {
|
|
9
|
+
this.locale = locale;
|
|
10
|
+
}
|
|
11
|
+
transform(value, options) {
|
|
12
|
+
if (!this.numberTextUnitFormat?.optionsMatch(options)) {
|
|
13
|
+
this.numberTextUnitFormat = new NumberTextUnitFormat(this.locale, options);
|
|
14
|
+
}
|
|
15
|
+
return this.numberTextUnitFormat.format(value);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
NumberTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberTextPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
19
|
+
NumberTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumberTextPipe, isStandalone: true, name: "numberText" });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberTextPipe, decorators: [{
|
|
21
|
+
type: Pipe,
|
|
22
|
+
args: [{
|
|
23
|
+
name: 'numberText',
|
|
24
|
+
standalone: true
|
|
25
|
+
}]
|
|
26
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
27
|
+
type: Inject,
|
|
28
|
+
args: [LOCALE_ID]
|
|
29
|
+
}] }]; } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLXRleHQucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL3BpcGVzL251bWJlci10ZXh0LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUN2RSxPQUFPLEVBQUUsb0JBQW9CLEVBQStCLE1BQU0sd0ZBQXdGLENBQUM7O0FBRTNKOztHQUVHO0FBS0gsTUFBTSxPQUFPLGNBQWM7SUFNdkIsWUFBdUQsTUFBYztRQUFkLFdBQU0sR0FBTixNQUFNLENBQVE7SUFBRyxDQUFDO0lBRWxFLFNBQVMsQ0FBQyxLQUFhLEVBQUUsT0FBcUM7UUFDakUsSUFBSSxDQUFDLElBQUksQ0FBQyxvQkFBb0IsRUFBRSxZQUFZLENBQUMsT0FBTyxDQUFDLEVBQUU7WUFDbkQsSUFBSSxDQUFDLG9CQUFvQixHQUFHLElBQUksb0JBQW9CL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1Y3RvcihASW5qZWN0KExPQ0FMRV9JRCkgcHJpdmF0ZSByZWFkb25seSBsb2NhbGU6IHN0cmluZykge31cblxuICAgIHB1YmxpYyB0cmFuc2Zvcm0odmFsdWU6IG51bWJlciwgb3B0aW9ucz86IE51bWJlclRleHRVbml0Rm9ybWF0T3B0aW9ucyk6IHN0cmluZyB7XG4gICAgICAgIGlmICghdGhpcy5udW1iZXJUZXh0VW5pdEZvcm1hdD8ub3B0aW9uc01hdGNoKG9wdGlvbnMpKSB7XG4gICAgICAgICAgICB0aGlzLm51bWJlclRleHRVbml0Rm9ybWF0ID0gbmV3IE51bWJlclRleHRVbml0Rm9ybWF0KHRoaXMubG9jYWxlLCBvcHRpb25zKTtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdGhpcy5udW1iZXJUZXh0VW5pdEZvcm1hdC5mb3JtYXQodmFsdWUpO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export * from './duration.pipe';
|
|
2
|
-
export * from './
|
|
3
|
-
|
|
2
|
+
export * from './number-text.pipe';
|
|
3
|
+
export { byteUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-unit-scale';
|
|
4
|
+
export { byte1024UnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-1024-unit-scale';
|
|
5
|
+
export { voltUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/volt-unit-scale';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL3BpcGVzL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpRkFBaUYsQ0FBQztBQUNoSCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzRkFBc0YsQ0FBQztBQUN6SCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUZBQWlGLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2R1cmF0aW9uLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9udW1iZXItdGV4dC5waXBlJztcbmV4cG9ydCB7IGJ5dGVVbml0U2NhbGUgfSBmcm9tICdAbmkvbmltYmxlLWNvbXBvbmVudHMvZGlzdC9lc20vdXRpbGl0aWVzL3VuaXQtZm9ybWF0L3VuaXQtc2NhbGUvYnl0ZS11bml0LXNjYWxlJztcbmV4cG9ydCB7IGJ5dGUxMDI0VW5pdFNjYWxlIH0gZnJvbSAnQG5pL25pbWJsZS1jb21wb25lbnRzL2Rpc3QvZXNtL3V0aWxpdGllcy91bml0LWZvcm1hdC91bml0LXNjYWxlL2J5dGUtMTAyNC11bml0LXNjYWxlJztcbmV4cG9ydCB7IHZvbHRVbml0U2NhbGUgfSBmcm9tICdAbmkvbmltYmxlLWNvbXBvbmVudHMvZGlzdC9lc20vdXRpbGl0aWVzL3VuaXQtZm9ybWF0L3VuaXQtc2NhbGUvdm9sdC11bml0LXNjYWxlJztcbiJdfQ==
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { LOCALE_ID, Pipe, Inject
|
|
2
|
+
import { LOCALE_ID, Pipe, Inject } from '@angular/core';
|
|
3
3
|
import { DurationFormatter } from '@ni/nimble-components/dist/esm/table-column/duration-text/models/duration-formatter';
|
|
4
|
-
import {
|
|
4
|
+
import { NumberTextUnitFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/models/number-text-unit-format';
|
|
5
|
+
export { byteUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-unit-scale';
|
|
6
|
+
export { byte1024UnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-1024-unit-scale';
|
|
7
|
+
export { voltUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/volt-unit-scale';
|
|
5
8
|
|
|
6
9
|
/**
|
|
7
10
|
* A pipe that transforms a number of milliseconds (string/number) into a string formatted like "1 day, 2 hr, 3 min, 4.567 sec"
|
|
@@ -19,11 +22,12 @@ class DurationPipe {
|
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
DurationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
22
|
-
DurationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, name: "duration" });
|
|
25
|
+
DurationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, isStandalone: true, name: "duration" });
|
|
23
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, decorators: [{
|
|
24
27
|
type: Pipe,
|
|
25
28
|
args: [{
|
|
26
|
-
name: 'duration'
|
|
29
|
+
name: 'duration',
|
|
30
|
+
standalone: true
|
|
27
31
|
}]
|
|
28
32
|
}], ctorParameters: function () {
|
|
29
33
|
return [{ type: undefined, decorators: [{
|
|
@@ -32,23 +36,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
32
36
|
}] }];
|
|
33
37
|
} });
|
|
34
38
|
|
|
35
|
-
|
|
39
|
+
/**
|
|
40
|
+
* A pipe that transforms a number into a string with optional unit
|
|
41
|
+
*/
|
|
42
|
+
class NumberTextPipe {
|
|
43
|
+
constructor(locale) {
|
|
44
|
+
this.locale = locale;
|
|
45
|
+
}
|
|
46
|
+
transform(value, options) {
|
|
47
|
+
var _a;
|
|
48
|
+
if (!((_a = this.numberTextUnitFormat) === null || _a === void 0 ? void 0 : _a.optionsMatch(options))) {
|
|
49
|
+
this.numberTextUnitFormat = new NumberTextUnitFormat(this.locale, options);
|
|
50
|
+
}
|
|
51
|
+
return this.numberTextUnitFormat.format(value);
|
|
52
|
+
}
|
|
36
53
|
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
type: NgModule,
|
|
54
|
+
NumberTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberTextPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
55
|
+
NumberTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumberTextPipe, isStandalone: true, name: "numberText" });
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberTextPipe, decorators: [{
|
|
57
|
+
type: Pipe,
|
|
42
58
|
args: [{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
exports: [DurationPipe]
|
|
59
|
+
name: 'numberText',
|
|
60
|
+
standalone: true
|
|
46
61
|
}]
|
|
47
|
-
}]
|
|
62
|
+
}], ctorParameters: function () {
|
|
63
|
+
return [{ type: undefined, decorators: [{
|
|
64
|
+
type: Inject,
|
|
65
|
+
args: [LOCALE_ID]
|
|
66
|
+
}] }];
|
|
67
|
+
} });
|
|
48
68
|
|
|
49
69
|
/**
|
|
50
70
|
* Generated bundle index. Do not edit.
|
|
51
71
|
*/
|
|
52
72
|
|
|
53
|
-
export { DurationPipe,
|
|
73
|
+
export { DurationPipe, NumberTextPipe };
|
|
54
74
|
//# sourceMappingURL=ni-nimble-angular-pipes.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-pipes.mjs","sources":["../../../../projects/ni/nimble-angular/pipes/duration.pipe.ts","../../../../projects/ni/nimble-angular/pipes/
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-pipes.mjs","sources":["../../../../projects/ni/nimble-angular/pipes/duration.pipe.ts","../../../../projects/ni/nimble-angular/pipes/number-text.pipe.ts","../../../../projects/ni/nimble-angular/pipes/ni-nimble-angular-pipes.ts"],"sourcesContent":["import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\nimport { DurationFormatter } from '@ni/nimble-components/dist/esm/table-column/duration-text/models/duration-formatter';\n\n/**\n * A pipe that transforms a number of milliseconds (string/number) into a string formatted like \"1 day, 2 hr, 3 min, 4.567 sec\"\n */\n@Pipe({\n name: 'duration',\n standalone: true\n})\nexport class DurationPipe implements PipeTransform {\n private readonly durationFormatter;\n\n public constructor(@Inject(LOCALE_ID) locale: string) {\n this.durationFormatter = new DurationFormatter(locale);\n }\n\n public transform(timeInMilliseconds: string | number | null | undefined): string {\n const milliseconds = this.parseDuration(timeInMilliseconds);\n return this.durationFormatter.format(milliseconds);\n }\n\n private parseDuration(duration: string | number | null | undefined): number | null | undefined {\n return typeof duration === 'string' ? parseFloat(duration) : duration;\n }\n}\n","import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\nimport { NumberTextUnitFormat, NumberTextUnitFormatOptions } from '@ni/nimble-components/dist/esm/table-column/number-text/models/number-text-unit-format';\n\n/**\n * A pipe that transforms a number into a string with optional unit\n */\n@Pipe({\n name: 'numberText',\n standalone: true\n})\nexport class NumberTextPipe implements PipeTransform {\n /**\n * @internal\n */\n public numberTextUnitFormat?: NumberTextUnitFormat;\n\n public constructor(@Inject(LOCALE_ID) private readonly locale: string) {}\n\n public transform(value: number, options?: NumberTextUnitFormatOptions): string {\n if (!this.numberTextUnitFormat?.optionsMatch(options)) {\n this.numberTextUnitFormat = new NumberTextUnitFormat(this.locale, options);\n }\n return this.numberTextUnitFormat.format(value);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAGA;;AAEG;MAKU,YAAY,CAAA;AAGrB,IAAA,WAAA,CAAsC,MAAc,EAAA;QAChD,IAAI,CAAC,iBAAiB,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC;KAC1D;AAEM,IAAA,SAAS,CAAC,kBAAsD,EAAA;QACnE,MAAM,YAAY,GAAG,IAAI,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;QAC5D,OAAO,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;KACtD;AAEO,IAAA,aAAa,CAAC,QAA4C,EAAA;AAC9D,QAAA,OAAO,OAAO,QAAQ,KAAK,QAAQ,GAAG,UAAU,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;KACzE;;AAdQ,YAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,YAAY,kBAGM,SAAS,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;wGAH3B,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;iBACnB,CAAA;;;8BAIuB,MAAM;+BAAC,SAAS,CAAA;;;;ACVxC;;AAEG;MAKU,cAAc,CAAA;AAMvB,IAAA,WAAA,CAAuD,MAAc,EAAA;AAAd,QAAA,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;KAAI;IAElE,SAAS,CAAC,KAAa,EAAE,OAAqC,EAAA;;AACjE,QAAA,IAAI,EAAC,CAAA,EAAA,GAAA,IAAI,CAAC,oBAAoB,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,YAAY,CAAC,OAAO,CAAC,CAAA,EAAE;AACnD,YAAA,IAAI,CAAC,oBAAoB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC9E,SAAA;QACD,OAAO,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KAClD;;AAbQ,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,kBAMI,SAAS,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;0GAN3B,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,CAAA;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,YAAY;AAClB,oBAAA,UAAU,EAAE,IAAI;iBACnB,CAAA;;;8BAOuB,MAAM;+BAAC,SAAS,CAAA;;;;AChBxC;;AAEG;;;;"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { LOCALE_ID, Pipe, Inject
|
|
2
|
+
import { LOCALE_ID, Pipe, Inject } from '@angular/core';
|
|
3
3
|
import { DurationFormatter } from '@ni/nimble-components/dist/esm/table-column/duration-text/models/duration-formatter';
|
|
4
|
-
import {
|
|
4
|
+
import { NumberTextUnitFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/models/number-text-unit-format';
|
|
5
|
+
export { byteUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-unit-scale';
|
|
6
|
+
export { byte1024UnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-1024-unit-scale';
|
|
7
|
+
export { voltUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/volt-unit-scale';
|
|
5
8
|
|
|
6
9
|
/**
|
|
7
10
|
* A pipe that transforms a number of milliseconds (string/number) into a string formatted like "1 day, 2 hr, 3 min, 4.567 sec"
|
|
@@ -19,34 +22,48 @@ class DurationPipe {
|
|
|
19
22
|
}
|
|
20
23
|
}
|
|
21
24
|
DurationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
22
|
-
DurationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, name: "duration" });
|
|
25
|
+
DurationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, isStandalone: true, name: "duration" });
|
|
23
26
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DurationPipe, decorators: [{
|
|
24
27
|
type: Pipe,
|
|
25
28
|
args: [{
|
|
26
|
-
name: 'duration'
|
|
29
|
+
name: 'duration',
|
|
30
|
+
standalone: true
|
|
27
31
|
}]
|
|
28
32
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
29
33
|
type: Inject,
|
|
30
34
|
args: [LOCALE_ID]
|
|
31
35
|
}] }]; } });
|
|
32
36
|
|
|
33
|
-
|
|
37
|
+
/**
|
|
38
|
+
* A pipe that transforms a number into a string with optional unit
|
|
39
|
+
*/
|
|
40
|
+
class NumberTextPipe {
|
|
41
|
+
constructor(locale) {
|
|
42
|
+
this.locale = locale;
|
|
43
|
+
}
|
|
44
|
+
transform(value, options) {
|
|
45
|
+
if (!this.numberTextUnitFormat?.optionsMatch(options)) {
|
|
46
|
+
this.numberTextUnitFormat = new NumberTextUnitFormat(this.locale, options);
|
|
47
|
+
}
|
|
48
|
+
return this.numberTextUnitFormat.format(value);
|
|
49
|
+
}
|
|
34
50
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
type: NgModule,
|
|
51
|
+
NumberTextPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberTextPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
52
|
+
NumberTextPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NumberTextPipe, isStandalone: true, name: "numberText" });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NumberTextPipe, decorators: [{
|
|
54
|
+
type: Pipe,
|
|
40
55
|
args: [{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
exports: [DurationPipe]
|
|
56
|
+
name: 'numberText',
|
|
57
|
+
standalone: true
|
|
44
58
|
}]
|
|
45
|
-
}]
|
|
59
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
60
|
+
type: Inject,
|
|
61
|
+
args: [LOCALE_ID]
|
|
62
|
+
}] }]; } });
|
|
46
63
|
|
|
47
64
|
/**
|
|
48
65
|
* Generated bundle index. Do not edit.
|
|
49
66
|
*/
|
|
50
67
|
|
|
51
|
-
export { DurationPipe,
|
|
68
|
+
export { DurationPipe, NumberTextPipe };
|
|
52
69
|
//# sourceMappingURL=ni-nimble-angular-pipes.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-pipes.mjs","sources":["../../../../projects/ni/nimble-angular/pipes/duration.pipe.ts","../../../../projects/ni/nimble-angular/pipes/
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-pipes.mjs","sources":["../../../../projects/ni/nimble-angular/pipes/duration.pipe.ts","../../../../projects/ni/nimble-angular/pipes/number-text.pipe.ts","../../../../projects/ni/nimble-angular/pipes/ni-nimble-angular-pipes.ts"],"sourcesContent":["import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\nimport { DurationFormatter } from '@ni/nimble-components/dist/esm/table-column/duration-text/models/duration-formatter';\n\n/**\n * A pipe that transforms a number of milliseconds (string/number) into a string formatted like \"1 day, 2 hr, 3 min, 4.567 sec\"\n */\n@Pipe({\n name: 'duration',\n standalone: true\n})\nexport class DurationPipe implements PipeTransform {\n private readonly durationFormatter;\n\n public constructor(@Inject(LOCALE_ID) locale: string) {\n this.durationFormatter = new DurationFormatter(locale);\n }\n\n public transform(timeInMilliseconds: string | number | null | undefined): string {\n const milliseconds = this.parseDuration(timeInMilliseconds);\n return this.durationFormatter.format(milliseconds);\n }\n\n private parseDuration(duration: string | number | null | undefined): number | null | undefined {\n return typeof duration === 'string' ? parseFloat(duration) : duration;\n }\n}\n","import { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\nimport { NumberTextUnitFormat, NumberTextUnitFormatOptions } from '@ni/nimble-components/dist/esm/table-column/number-text/models/number-text-unit-format';\n\n/**\n * A pipe that transforms a number into a string with optional unit\n */\n@Pipe({\n name: 'numberText',\n standalone: true\n})\nexport class NumberTextPipe implements PipeTransform {\n /**\n * @internal\n */\n public numberTextUnitFormat?: NumberTextUnitFormat;\n\n public constructor(@Inject(LOCALE_ID) private readonly locale: string) {}\n\n public transform(value: number, options?: NumberTextUnitFormatOptions): string {\n if (!this.numberTextUnitFormat?.optionsMatch(options)) {\n this.numberTextUnitFormat = new NumberTextUnitFormat(this.locale, options);\n }\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CAAC,KAAa,EAAE,OAAqC,EAAA;QACjE,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE,YAAY,CAAC,OAAO,CAAC,EAAE;AACnD,YAAA,IAAI,CAAC,oBAAoB,GAAG,IAAI,oBAAoB,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC9E,SAAA;QACD,OAAO,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KAClD;;AAbQ,cAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,kBAMI,SAAS,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;0GAN3B,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,CAAA;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,YAAY;AAClB,oBAAA,UAAU,EAAE,IAAI;AACnB,iBAAA,CAAA;;0BAOuB,MAAM;2BAAC,SAAS,CAAA;;;AChBxC;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-angular",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20.0.0",
|
|
4
4
|
"description": "Angular components for the NI Nimble Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
"@angular/forms": "^15.2.10",
|
|
269
269
|
"@angular/localize": "^15.2.10",
|
|
270
270
|
"@angular/router": "^15.2.10",
|
|
271
|
-
"@ni/nimble-components": "^21.0
|
|
271
|
+
"@ni/nimble-components": "^21.1.0"
|
|
272
272
|
},
|
|
273
273
|
"dependencies": {
|
|
274
274
|
"tslib": "^2.2.0"
|
package/pipes/duration.pipe.d.ts
CHANGED
|
@@ -9,5 +9,5 @@ export declare class DurationPipe implements PipeTransform {
|
|
|
9
9
|
transform(timeInMilliseconds: string | number | null | undefined): string;
|
|
10
10
|
private parseDuration;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DurationPipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<DurationPipe, "duration",
|
|
12
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<DurationPipe, "duration", true>;
|
|
13
13
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { NumberTextUnitFormat, NumberTextUnitFormatOptions } from '@ni/nimble-components/dist/esm/table-column/number-text/models/number-text-unit-format';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* A pipe that transforms a number into a string with optional unit
|
|
6
|
+
*/
|
|
7
|
+
export declare class NumberTextPipe implements PipeTransform {
|
|
8
|
+
private readonly locale;
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
numberTextUnitFormat?: NumberTextUnitFormat;
|
|
13
|
+
constructor(locale: string);
|
|
14
|
+
transform(value: number, options?: NumberTextUnitFormatOptions): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumberTextPipe, never>;
|
|
16
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NumberTextPipe, "numberText", true>;
|
|
17
|
+
}
|
package/pipes/public-api.d.ts
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
export * from './duration.pipe';
|
|
2
|
-
export * from './
|
|
2
|
+
export * from './number-text.pipe';
|
|
3
|
+
export { byteUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-unit-scale';
|
|
4
|
+
export { byte1024UnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-1024-unit-scale';
|
|
5
|
+
export { voltUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/volt-unit-scale';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { DurationPipe } from './duration.pipe';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class NimblePipesModule {
|
|
6
|
-
}
|
|
7
|
-
NimblePipesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimblePipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
-
NimblePipesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NimblePipesModule, declarations: [DurationPipe], imports: [CommonModule], exports: [DurationPipe] });
|
|
9
|
-
NimblePipesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimblePipesModule, imports: [CommonModule] });
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimblePipesModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [DurationPipe],
|
|
14
|
-
imports: [CommonModule],
|
|
15
|
-
exports: [DurationPipe]
|
|
16
|
-
}]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXBpcGVzLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL3BpcGVzL25pbWJsZS1waXBlcy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDOztBQU8vQyxNQUFNLE9BQU8saUJBQWlCOzsrR0FBakIsaUJBQWlCO2dIQUFqQixpQkFBaUIsaUJBSlgsWUFBWSxhQUNqQixZQUFZLGFBQ1osWUFBWTtnSEFFYixpQkFBaUIsWUFIaEIsWUFBWTs0RkFHYixpQkFBaUI7a0JBTDdCLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUFFLENBQUMsWUFBWSxDQUFDO29CQUM1QixPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztpQkFDMUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IER1cmF0aW9uUGlwZSB9IGZyb20gJy4vZHVyYXRpb24ucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbRHVyYXRpb25QaXBlXSxcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgICBleHBvcnRzOiBbRHVyYXRpb25QaXBlXVxufSlcbmV4cG9ydCBjbGFzcyBOaW1ibGVQaXBlc01vZHVsZSB7IH1cbiJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./duration.pipe";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
export declare class NimblePipesModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NimblePipesModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NimblePipesModule, [typeof i1.DurationPipe], [typeof i2.CommonModule], [typeof i1.DurationPipe]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<NimblePipesModule>;
|
|
8
|
-
}
|