@ni/nimble-angular 24.0.8 → 24.1.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/esm2022/pipes/public-api.mjs +3 -1
- package/esm2022/unit/celsius/ni-nimble-angular-unit-celsius.mjs +5 -0
- package/esm2022/unit/celsius/nimble-unit-celsius.directive.mjs +18 -0
- package/esm2022/unit/celsius/nimble-unit-celsius.module.mjs +19 -0
- package/esm2022/unit/celsius/public-api.mjs +3 -0
- package/esm2022/unit/fahrenheit/ni-nimble-angular-unit-fahrenheit.mjs +5 -0
- package/esm2022/unit/fahrenheit/nimble-unit-fahrenheit.directive.mjs +18 -0
- package/esm2022/unit/fahrenheit/nimble-unit-fahrenheit.module.mjs +19 -0
- package/esm2022/unit/fahrenheit/public-api.mjs +3 -0
- package/fesm2022/ni-nimble-angular-pipes.mjs +2 -0
- package/fesm2022/ni-nimble-angular-pipes.mjs.map +1 -1
- package/fesm2022/ni-nimble-angular-unit-celsius.mjs +39 -0
- package/fesm2022/ni-nimble-angular-unit-celsius.mjs.map +1 -0
- package/fesm2022/ni-nimble-angular-unit-fahrenheit.mjs +39 -0
- package/fesm2022/ni-nimble-angular-unit-fahrenheit.mjs.map +1 -0
- package/package.json +14 -2
- package/pipes/public-api.d.ts +2 -0
- package/unit/celsius/index.d.ts +5 -0
- package/unit/celsius/nimble-unit-celsius.directive.d.ts +11 -0
- package/unit/celsius/nimble-unit-celsius.module.d.ts +9 -0
- package/unit/celsius/public-api.d.ts +2 -0
- package/unit/fahrenheit/index.d.ts +5 -0
- package/unit/fahrenheit/nimble-unit-fahrenheit.directive.d.ts +11 -0
- package/unit/fahrenheit/nimble-unit-fahrenheit.module.d.ts +9 -0
- package/unit/fahrenheit/public-api.d.ts +2 -0
|
@@ -2,5 +2,7 @@ export * from './duration.pipe';
|
|
|
2
2
|
export * from './number-text.pipe';
|
|
3
3
|
export { byteUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-unit-scale';
|
|
4
4
|
export { byte1024UnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-1024-unit-scale';
|
|
5
|
+
export { celsiusUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/celsius-unit-scale';
|
|
6
|
+
export { fahrenheitUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/fahrenheit-unit-scale';
|
|
5
7
|
export { voltUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/volt-unit-scale';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL25pbWJsZS1hbmd1bGFyL3BpcGVzL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpRkFBaUYsQ0FBQztBQUNoSCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzRkFBc0YsQ0FBQztBQUN6SCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxvRkFBb0YsQ0FBQztBQUN0SCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx1RkFBdUYsQ0FBQztBQUM1SCxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUZBQWlGLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2R1cmF0aW9uLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9udW1iZXItdGV4dC5waXBlJztcbmV4cG9ydCB7IGJ5dGVVbml0U2NhbGUgfSBmcm9tICdAbmkvbmltYmxlLWNvbXBvbmVudHMvZGlzdC9lc20vdXRpbGl0aWVzL3VuaXQtZm9ybWF0L3VuaXQtc2NhbGUvYnl0ZS11bml0LXNjYWxlJztcbmV4cG9ydCB7IGJ5dGUxMDI0VW5pdFNjYWxlIH0gZnJvbSAnQG5pL25pbWJsZS1jb21wb25lbnRzL2Rpc3QvZXNtL3V0aWxpdGllcy91bml0LWZvcm1hdC91bml0LXNjYWxlL2J5dGUtMTAyNC11bml0LXNjYWxlJztcbmV4cG9ydCB7IGNlbHNpdXNVbml0U2NhbGUgfSBmcm9tICdAbmkvbmltYmxlLWNvbXBvbmVudHMvZGlzdC9lc20vdXRpbGl0aWVzL3VuaXQtZm9ybWF0L3VuaXQtc2NhbGUvY2Vsc2l1cy11bml0LXNjYWxlJztcbmV4cG9ydCB7IGZhaHJlbmhlaXRVbml0U2NhbGUgfSBmcm9tICdAbmkvbmltYmxlLWNvbXBvbmVudHMvZGlzdC9lc20vdXRpbGl0aWVzL3VuaXQtZm9ybWF0L3VuaXQtc2NhbGUvZmFocmVuaGVpdC11bml0LXNjYWxlJztcbmV4cG9ydCB7IHZvbHRVbml0U2NhbGUgfSBmcm9tICdAbmkvbmltYmxlLWNvbXBvbmVudHMvZGlzdC9lc20vdXRpbGl0aWVzL3VuaXQtZm9ybWF0L3VuaXQtc2NhbGUvdm9sdC11bml0LXNjYWxlJztcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmktbmltYmxlLWFuZ3VsYXItdW5pdC1jZWxzaXVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbmltYmxlLWFuZ3VsYXIvdW5pdC9jZWxzaXVzL25pLW5pbWJsZS1hbmd1bGFyLXVuaXQtY2Vsc2l1cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { unitCelsiusTag } from '@ni/nimble-components/dist/esm/unit/celsius';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export { unitCelsiusTag };
|
|
5
|
+
/**
|
|
6
|
+
* Directive to provide Angular integration for the Celsius unit element used by the number-text column.
|
|
7
|
+
*/
|
|
8
|
+
export class NimbleUnitCelsiusDirective {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleUnitCelsiusDirective, selector: "nimble-unit-celsius", ngImport: i0 }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusDirective, decorators: [{
|
|
13
|
+
type: Directive,
|
|
14
|
+
args: [{
|
|
15
|
+
selector: 'nimble-unit-celsius'
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXVuaXQtY2Vsc2l1cy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi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|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NimbleUnitCelsiusDirective } from './nimble-unit-celsius.directive';
|
|
4
|
+
import '@ni/nimble-components/dist/esm/unit/celsius';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class NimbleUnitCelsiusModule {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusModule, declarations: [NimbleUnitCelsiusDirective], imports: [CommonModule], exports: [NimbleUnitCelsiusDirective] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusModule, imports: [CommonModule] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [NimbleUnitCelsiusDirective],
|
|
15
|
+
imports: [CommonModule],
|
|
16
|
+
exports: [NimbleUnitCelsiusDirective]
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXVuaXQtY2Vsc2l1cy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9uaW1ibGUtYW5ndWxhci91bml0L2NlbHNpdXMvbmltYmxlLXVuaXQtY2Vsc2l1cy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5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G9ydCBjbGFzcyBOaW1ibGVVbml0Q2Vsc2l1c01vZHVsZSB7IH0iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './nimble-unit-celsius.directive';
|
|
2
|
+
export * from './nimble-unit-celsius.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL25pbWJsZS1hbmd1bGFyL3VuaXQvY2Vsc2l1cy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyw4QkFBOEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbmltYmxlLXVuaXQtY2Vsc2l1cy5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9uaW1ibGUtdW5pdC1jZWxzaXVzLm1vZHVsZSc7Il19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmktbmltYmxlLWFuZ3VsYXItdW5pdC1mYWhyZW5oZWl0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbmltYmxlLWFuZ3VsYXIvdW5pdC9mYWhyZW5oZWl0L25pLW5pbWJsZS1hbmd1bGFyLXVuaXQtZmFocmVuaGVpdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { unitFahrenheitTag } from '@ni/nimble-components/dist/esm/unit/fahrenheit';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export { unitFahrenheitTag };
|
|
5
|
+
/**
|
|
6
|
+
* Directive to provide Angular integration for the Fahrenheit unit element used by the number-text column.
|
|
7
|
+
*/
|
|
8
|
+
export class NimbleUnitFahrenheitDirective {
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
10
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleUnitFahrenheitDirective, selector: "nimble-unit-fahrenheit", ngImport: i0 }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitDirective, decorators: [{
|
|
13
|
+
type: Directive,
|
|
14
|
+
args: [{
|
|
15
|
+
selector: 'nimble-unit-fahrenheit'
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXVuaXQtZmFocmVuaGVpdC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9uaW1ibGUtYW5ndWxhci91bml0L2ZhaHJlbmhlaXQvbmltYmxlLXVuaXQtZmFocmVuaGVpdC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFB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} from './nimble-unit-fahrenheit.directive';
|
|
4
|
+
import '@ni/nimble-components/dist/esm/unit/fahrenheit';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class NimbleUnitFahrenheitModule {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitModule, declarations: [NimbleUnitFahrenheitDirective], imports: [CommonModule], exports: [NimbleUnitFahrenheitDirective] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitModule, imports: [CommonModule] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [NimbleUnitFahrenheitDirective],
|
|
15
|
+
imports: [CommonModule],
|
|
16
|
+
exports: [NimbleUnitFahrenheitDirective]
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXVuaXQtZmFocmVuaGVpdC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9uaW1ibGUtYW5ndWxhci91bml0L2ZhaHJlbmhlaXQvbmltYmxlLXVuaXQtZmFocmVuaGVpdC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQW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aGVpdE1vZHVsZSB7IH0iXX0=
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './nimble-unit-fahrenheit.directive';
|
|
2
|
+
export * from './nimble-unit-fahrenheit.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL25pbWJsZS1hbmd1bGFyL3VuaXQvZmFocmVuaGVpdC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbmltYmxlLXVuaXQtZmFocmVuaGVpdC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9uaW1ibGUtdW5pdC1mYWhyZW5oZWl0Lm1vZHVsZSc7Il19
|
|
@@ -4,6 +4,8 @@ import { DurationFormatter } from '@ni/nimble-components/dist/esm/table-column/d
|
|
|
4
4
|
import { NumberTextUnitFormat } from '@ni/nimble-components/dist/esm/table-column/number-text/models/number-text-unit-format';
|
|
5
5
|
export { byteUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-unit-scale';
|
|
6
6
|
export { byte1024UnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-1024-unit-scale';
|
|
7
|
+
export { celsiusUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/celsius-unit-scale';
|
|
8
|
+
export { fahrenheitUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/fahrenheit-unit-scale';
|
|
7
9
|
export { voltUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/volt-unit-scale';
|
|
8
10
|
|
|
9
11
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-pipes.mjs","sources":["../../../nimble-angular/pipes/duration.pipe.ts","../../../nimble-angular/pipes/number-text.pipe.ts","../../../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":"
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-pipes.mjs","sources":["../../../nimble-angular/pipes/duration.pipe.ts","../../../nimble-angular/pipes/number-text.pipe.ts","../../../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,E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,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,IAAA,SAAA,IAAA,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,EAAA;6GAN3B,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,CAAA,EAAA;;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;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { unitCelsiusTag } from '@ni/nimble-components/dist/esm/unit/celsius';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Directive to provide Angular integration for the Celsius unit element used by the number-text column.
|
|
8
|
+
*/
|
|
9
|
+
class NimbleUnitCelsiusDirective {
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleUnitCelsiusDirective, selector: "nimble-unit-celsius", ngImport: i0 }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusDirective, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: 'nimble-unit-celsius'
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
|
|
20
|
+
class NimbleUnitCelsiusModule {
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
22
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusModule, declarations: [NimbleUnitCelsiusDirective], imports: [CommonModule], exports: [NimbleUnitCelsiusDirective] }); }
|
|
23
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusModule, imports: [CommonModule] }); }
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitCelsiusModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [NimbleUnitCelsiusDirective],
|
|
29
|
+
imports: [CommonModule],
|
|
30
|
+
exports: [NimbleUnitCelsiusDirective]
|
|
31
|
+
}]
|
|
32
|
+
}] });
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Generated bundle index. Do not edit.
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
export { NimbleUnitCelsiusDirective, NimbleUnitCelsiusModule };
|
|
39
|
+
//# sourceMappingURL=ni-nimble-angular-unit-celsius.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-unit-celsius.mjs","sources":["../../../nimble-angular/unit/celsius/nimble-unit-celsius.directive.ts","../../../nimble-angular/unit/celsius/nimble-unit-celsius.module.ts","../../../nimble-angular/unit/celsius/ni-nimble-angular-unit-celsius.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { type UnitCelsius, unitCelsiusTag } from '@ni/nimble-components/dist/esm/unit/celsius';\n\nexport type { UnitCelsius };\nexport { unitCelsiusTag };\n\n/**\n * Directive to provide Angular integration for the Celsius unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-celsius'\n})\nexport class NimbleUnitCelsiusDirective {\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitCelsiusDirective } from './nimble-unit-celsius.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/celsius';\n\n@NgModule({\n declarations: [NimbleUnitCelsiusDirective],\n imports: [CommonModule],\n exports: [NimbleUnitCelsiusDirective]\n})\nexport class NimbleUnitCelsiusModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAMA;;AAEG;MAIU,0BAA0B,CAAA;+GAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAA1B,0BAA0B,EAAA,QAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAHtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,qBAAqB;AAClC,iBAAA,CAAA;;;MCAY,uBAAuB,CAAA;+GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAJjB,YAAA,EAAA,CAAA,0BAA0B,CAC/B,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,0BAA0B,CAAA,EAAA,CAAA,CAAA,EAAA;AAE3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAHtB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGb,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBALnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,0BAA0B,CAAC;oBAC1C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,0BAA0B,CAAC;AACxC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { unitFahrenheitTag } from '@ni/nimble-components/dist/esm/unit/fahrenheit';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Directive to provide Angular integration for the Fahrenheit unit element used by the number-text column.
|
|
8
|
+
*/
|
|
9
|
+
class NimbleUnitFahrenheitDirective {
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NimbleUnitFahrenheitDirective, selector: "nimble-unit-fahrenheit", ngImport: i0 }); }
|
|
12
|
+
}
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitDirective, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: 'nimble-unit-fahrenheit'
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
|
|
20
|
+
class NimbleUnitFahrenheitModule {
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
22
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitModule, declarations: [NimbleUnitFahrenheitDirective], imports: [CommonModule], exports: [NimbleUnitFahrenheitDirective] }); }
|
|
23
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitModule, imports: [CommonModule] }); }
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NimbleUnitFahrenheitModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [NimbleUnitFahrenheitDirective],
|
|
29
|
+
imports: [CommonModule],
|
|
30
|
+
exports: [NimbleUnitFahrenheitDirective]
|
|
31
|
+
}]
|
|
32
|
+
}] });
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Generated bundle index. Do not edit.
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
export { NimbleUnitFahrenheitDirective, NimbleUnitFahrenheitModule };
|
|
39
|
+
//# sourceMappingURL=ni-nimble-angular-unit-fahrenheit.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-unit-fahrenheit.mjs","sources":["../../../nimble-angular/unit/fahrenheit/nimble-unit-fahrenheit.directive.ts","../../../nimble-angular/unit/fahrenheit/nimble-unit-fahrenheit.module.ts","../../../nimble-angular/unit/fahrenheit/ni-nimble-angular-unit-fahrenheit.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { type UnitFahrenheit, unitFahrenheitTag } from '@ni/nimble-components/dist/esm/unit/fahrenheit';\n\nexport type { UnitFahrenheit };\nexport { unitFahrenheitTag };\n\n/**\n * Directive to provide Angular integration for the Fahrenheit unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-fahrenheit'\n})\nexport class NimbleUnitFahrenheitDirective {\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitFahrenheitDirective } from './nimble-unit-fahrenheit.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/fahrenheit';\n\n@NgModule({\n declarations: [NimbleUnitFahrenheitDirective],\n imports: [CommonModule],\n exports: [NimbleUnitFahrenheitDirective]\n})\nexport class NimbleUnitFahrenheitModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAMA;;AAEG;MAIU,6BAA6B,CAAA;+GAA7B,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAA7B,6BAA6B,EAAA,QAAA,EAAA,wBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAHzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,wBAAwB;AACrC,iBAAA,CAAA;;;MCAY,0BAA0B,CAAA;+GAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAA1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,EAJpB,YAAA,EAAA,CAAA,6BAA6B,CAClC,EAAA,OAAA,EAAA,CAAA,YAAY,aACZ,6BAA6B,CAAA,EAAA,CAAA,CAAA,EAAA;AAE9B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,YAHzB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGb,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBALtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,6BAA6B,CAAC;oBAC7C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,6BAA6B,CAAC;AAC3C,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-angular",
|
|
3
|
-
"version": "24.0
|
|
3
|
+
"version": "24.1.0",
|
|
4
4
|
"description": "Angular components for the NI Nimble Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -186,6 +186,18 @@
|
|
|
186
186
|
"esm": "./esm2022/unit/byte/ni-nimble-angular-unit-byte.mjs",
|
|
187
187
|
"default": "./fesm2022/ni-nimble-angular-unit-byte.mjs"
|
|
188
188
|
},
|
|
189
|
+
"./unit/celsius": {
|
|
190
|
+
"types": "./unit/celsius/index.d.ts",
|
|
191
|
+
"esm2022": "./esm2022/unit/celsius/ni-nimble-angular-unit-celsius.mjs",
|
|
192
|
+
"esm": "./esm2022/unit/celsius/ni-nimble-angular-unit-celsius.mjs",
|
|
193
|
+
"default": "./fesm2022/ni-nimble-angular-unit-celsius.mjs"
|
|
194
|
+
},
|
|
195
|
+
"./unit/fahrenheit": {
|
|
196
|
+
"types": "./unit/fahrenheit/index.d.ts",
|
|
197
|
+
"esm2022": "./esm2022/unit/fahrenheit/ni-nimble-angular-unit-fahrenheit.mjs",
|
|
198
|
+
"esm": "./esm2022/unit/fahrenheit/ni-nimble-angular-unit-fahrenheit.mjs",
|
|
199
|
+
"default": "./fesm2022/ni-nimble-angular-unit-fahrenheit.mjs"
|
|
200
|
+
},
|
|
189
201
|
"./unit/volt": {
|
|
190
202
|
"types": "./unit/volt/index.d.ts",
|
|
191
203
|
"esm2022": "./esm2022/unit/volt/ni-nimble-angular-unit-volt.mjs",
|
|
@@ -211,7 +223,7 @@
|
|
|
211
223
|
"@angular/forms": "^16.2.12",
|
|
212
224
|
"@angular/localize": "^16.2.12",
|
|
213
225
|
"@angular/router": "^16.2.12",
|
|
214
|
-
"@ni/nimble-components": "^28.2.
|
|
226
|
+
"@ni/nimble-components": "^28.2.1"
|
|
215
227
|
},
|
|
216
228
|
"dependencies": {
|
|
217
229
|
"tslib": "^2.2.0"
|
package/pipes/public-api.d.ts
CHANGED
|
@@ -2,4 +2,6 @@ export * from './duration.pipe';
|
|
|
2
2
|
export * from './number-text.pipe';
|
|
3
3
|
export { byteUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-unit-scale';
|
|
4
4
|
export { byte1024UnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/byte-1024-unit-scale';
|
|
5
|
+
export { celsiusUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/celsius-unit-scale';
|
|
6
|
+
export { fahrenheitUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/fahrenheit-unit-scale';
|
|
5
7
|
export { voltUnitScale } from '@ni/nimble-components/dist/esm/utilities/unit-format/unit-scale/volt-unit-scale';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type UnitCelsius, unitCelsiusTag } from '@ni/nimble-components/dist/esm/unit/celsius';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type { UnitCelsius };
|
|
4
|
+
export { unitCelsiusTag };
|
|
5
|
+
/**
|
|
6
|
+
* Directive to provide Angular integration for the Celsius unit element used by the number-text column.
|
|
7
|
+
*/
|
|
8
|
+
export declare class NimbleUnitCelsiusDirective {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleUnitCelsiusDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleUnitCelsiusDirective, "nimble-unit-celsius", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import '@ni/nimble-components/dist/esm/unit/celsius';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./nimble-unit-celsius.directive";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
export declare class NimbleUnitCelsiusModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleUnitCelsiusModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleUnitCelsiusModule, [typeof i1.NimbleUnitCelsiusDirective], [typeof i2.CommonModule], [typeof i1.NimbleUnitCelsiusDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleUnitCelsiusModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type UnitFahrenheit, unitFahrenheitTag } from '@ni/nimble-components/dist/esm/unit/fahrenheit';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type { UnitFahrenheit };
|
|
4
|
+
export { unitFahrenheitTag };
|
|
5
|
+
/**
|
|
6
|
+
* Directive to provide Angular integration for the Fahrenheit unit element used by the number-text column.
|
|
7
|
+
*/
|
|
8
|
+
export declare class NimbleUnitFahrenheitDirective {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleUnitFahrenheitDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleUnitFahrenheitDirective, "nimble-unit-fahrenheit", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import '@ni/nimble-components/dist/esm/unit/fahrenheit';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./nimble-unit-fahrenheit.directive";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
export declare class NimbleUnitFahrenheitModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleUnitFahrenheitModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleUnitFahrenheitModule, [typeof i1.NimbleUnitFahrenheitDirective], [typeof i2.CommonModule], [typeof i1.NimbleUnitFahrenheitDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleUnitFahrenheitModule>;
|
|
9
|
+
}
|