@ni/nimble-angular 19.0.0 → 19.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/esm2020/unit/byte/ni-nimble-angular-unit-byte.mjs +5 -0
- package/esm2020/unit/byte/nimble-unit-byte.directive.mjs +31 -0
- package/esm2020/unit/byte/nimble-unit-byte.module.mjs +19 -0
- package/esm2020/unit/byte/public-api.mjs +3 -0
- package/esm2020/unit/volt/ni-nimble-angular-unit-volt.mjs +5 -0
- package/esm2020/unit/volt/nimble-unit-volt.directive.mjs +18 -0
- package/esm2020/unit/volt/nimble-unit-volt.module.mjs +19 -0
- package/esm2020/unit/volt/public-api.mjs +3 -0
- package/fesm2015/ni-nimble-angular-unit-byte.mjs +52 -0
- package/fesm2015/ni-nimble-angular-unit-byte.mjs.map +1 -0
- package/fesm2015/ni-nimble-angular-unit-volt.mjs +39 -0
- package/fesm2015/ni-nimble-angular-unit-volt.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular-unit-byte.mjs +52 -0
- package/fesm2020/ni-nimble-angular-unit-byte.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular-unit-volt.mjs +39 -0
- package/fesm2020/ni-nimble-angular-unit-volt.mjs.map +1 -0
- package/package.json +17 -1
- package/unit/byte/index.d.ts +5 -0
- package/unit/byte/nimble-unit-byte.directive.d.ts +18 -0
- package/unit/byte/nimble-unit-byte.module.d.ts +9 -0
- package/unit/byte/public-api.d.ts +2 -0
- package/unit/volt/index.d.ts +5 -0
- package/unit/volt/nimble-unit-volt.directive.d.ts +11 -0
- package/unit/volt/nimble-unit-volt.module.d.ts +9 -0
- package/unit/volt/public-api.d.ts +2 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmktbmltYmxlLWFuZ3VsYXItdW5pdC1ieXRlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmkvbmltYmxlLWFuZ3VsYXIvdW5pdC9ieXRlL25pLW5pbWJsZS1hbmd1bGFyLXVuaXQtYnl0ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';
|
|
3
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export { unitByteTag };
|
|
6
|
+
/**
|
|
7
|
+
* Directive to provide Angular integration for the byte unit element used by the number-text column.
|
|
8
|
+
*/
|
|
9
|
+
export class NimbleUnitByteDirective {
|
|
10
|
+
constructor(renderer, elementRef) {
|
|
11
|
+
this.renderer = renderer;
|
|
12
|
+
this.elementRef = elementRef;
|
|
13
|
+
}
|
|
14
|
+
get binary() {
|
|
15
|
+
return this.elementRef.nativeElement.binary;
|
|
16
|
+
}
|
|
17
|
+
set binary(value) {
|
|
18
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
NimbleUnitByteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
+
NimbleUnitByteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleUnitByteDirective, selector: "nimble-unit-byte", inputs: { binary: "binary" }, ngImport: i0 });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteDirective, decorators: [{
|
|
24
|
+
type: Directive,
|
|
25
|
+
args: [{
|
|
26
|
+
selector: 'nimble-unit-byte'
|
|
27
|
+
}]
|
|
28
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { binary: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}] } });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXVuaXQtYnl0ZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci91bml0L2J5dGUvbmltYmxlLXVuaXQtYnl0ZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFDeEUsT0FBTyxFQUFpQixXQUFXLEVBQUUsTUFBTSwwQ0FBMEMsQ0FBQztBQUN0RixPQUFPLEVBQUUsaUJBQWlCLEVBQWdDLE1BQU0sdUNBQXVDLENBQUM7O0FBR3hHLE9BQU8sRUFBRSxXQUFXLEVBQUUsQ0FBQztBQUV2Qjs7R0FFRztBQUlILE1BQU0sT0FBTyx1QkFBdUI7SUFTaEMsWUFBc0MsUUFBbUIsRUFBcUIsVUFBZ0M7UUFBeEUsYUFBUSxHQUFSLFFBQVEsQ0FBVztRQUFxQixlQUFVLEdBQV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aGUgbnVtYmVyLXRleHQgY29sdW1uLlxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ25pbWJsZS11bml0LWJ5dGUnXG59KVxuZXhwb3J0IGNsYXNzIE5pbWJsZVVuaXRCeXRlRGlyZWN0aXZlIHtcbiAgICBwdWJsaWMgZ2V0IGJpbmFyeSgpOiBib29sZWFuIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmJpbmFyeTtcbiAgICB9XG5cbiAgICBASW5wdXQoKSBwdWJsaWMgc2V0IGJpbmFyeSh2YWx1ZTogQm9vbGVhblZhbHVlT3JBdHRyaWJ1dGUpIHtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRQcm9wZXJ0eSh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ2JpbmFyeScsIHRvQm9vbGVhblByb3BlcnR5KHZhbHVlKSk7XG4gICAgfVxuXG4gICAgcHVibGljIGNvbnN0cnVjdG9yKHByb3RlY3RlZCByZWFkb25seSByZW5kZXJlcjogUmVuZGVyZXIyLCBwcm90ZWN0ZWQgcmVhZG9ubHkgZWxlbWVudFJlZjogRWxlbWVudFJlZjxVbml0Qnl0ZT4pIHt9XG59Il19
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NimbleUnitByteDirective } from './nimble-unit-byte.directive';
|
|
4
|
+
import '@ni/nimble-components/dist/esm/unit/byte';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class NimbleUnitByteModule {
|
|
7
|
+
}
|
|
8
|
+
NimbleUnitByteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
NimbleUnitByteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, declarations: [NimbleUnitByteDirective], imports: [CommonModule], exports: [NimbleUnitByteDirective] });
|
|
10
|
+
NimbleUnitByteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, imports: [CommonModule] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [NimbleUnitByteDirective],
|
|
15
|
+
imports: [CommonModule],
|
|
16
|
+
exports: [NimbleUnitByteDirective]
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXVuaXQtYnl0ZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci91bml0L2J5dGUvbmltYmxlLXVuaXQtYnl0ZS5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFFdkUsT0FBTywwQ0FBMEMsQ0FBQzs7QUFPbEQsTUFBTSxPQUFPLG9CQUFvQjs7a0hBQXBCLG9CQUFvQjttSEFBcEIsb0JBQW9CLGlCQUpkLHVCQUF1QixhQUM1QixZQUFZLGFBQ1osdUJBQXVCO21IQUV4QixvQkFBb0IsWUFIbkIsWUFBWTs0RkFHYixvQkFBb0I7a0JBTGhDLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUFFLENBQUMsdUJBQXVCLENBQUM7b0JBQ3ZDLE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztvQkFDdkIsT0FBTyxFQUFFLENBQUMsdUJBQXVCLENBQUM7aUJBQ3JDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOaW1ibGVVbml0Qnl0ZURpcmVjdGl2ZSB9IGZyb20gJy4vbmltYmxlLXVuaXQtYnl0ZS5kaXJlY3RpdmUnO1xuXG5pbXBvcnQgJ0BuaS9uaW1ibGUtY29tcG9uZW50cy9kaXN0L2VzbS91bml0L2J5dGUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW05pbWJsZVVuaXRCeXRlRGlyZWN0aXZlXSxcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgICBleHBvcnRzOiBbTmltYmxlVW5pdEJ5dGVEaXJlY3RpdmVdXG59KVxuZXhwb3J0IGNsYXNzIE5pbWJsZVVuaXRCeXRlTW9kdWxlIHsgfSJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './nimble-unit-byte.directive';
|
|
2
|
+
export * from './nimble-unit-byte.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL3VuaXQvYnl0ZS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbmltYmxlLXVuaXQtYnl0ZS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9uaW1ibGUtdW5pdC1ieXRlLm1vZHVsZSc7Il19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmktbmltYmxlLWFuZ3VsYXItdW5pdC12b2x0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmkvbmltYmxlLWFuZ3VsYXIvdW5pdC92b2x0L25pLW5pbWJsZS1hbmd1bGFyLXVuaXQtdm9sdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { unitVoltTag } from '@ni/nimble-components/dist/esm/unit/volt';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export { unitVoltTag };
|
|
5
|
+
/**
|
|
6
|
+
* Directive to provide Angular integration for the volt unit element used by the number-text column.
|
|
7
|
+
*/
|
|
8
|
+
export class NimbleUnitVoltDirective {
|
|
9
|
+
}
|
|
10
|
+
NimbleUnitVoltDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
NimbleUnitVoltDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleUnitVoltDirective, selector: "nimble-unit-volt", ngImport: i0 });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltDirective, decorators: [{
|
|
13
|
+
type: Directive,
|
|
14
|
+
args: [{
|
|
15
|
+
selector: 'nimble-unit-volt'
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXVuaXQtdm9sdC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci91bml0L3ZvbHQvbmltYmxlLXVuaXQtdm9sdC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQWlCLFdBQVcsRUFBRSxNQUFNLDBDQUEwQyxDQUFDOztBQUd0RixPQUFPLEVBQUUsV0FBVyxFQUFFLENBQUM7QUFFdkI7O0dBRUc7QUFJSCxNQUFNLE9BQU8sdUJBQXVCOztxSEFBdkIsdUJBQXVCO3lHQUF2Qix1QkFBdUI7NEZBQXZCLHVCQUF1QjtrQkFIbkMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsa0JBQWtCO2lCQUMvQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgdHlwZSBVbml0Vm9sdCwgdW5pdFZvbHRUYWcgfSBmcm9tICdAbmkvbmltYmxlLWNvbXBvbmVudHMvZGlzdC9lc20vdW5pdC92b2x0JztcblxuZXhwb3J0IHR5cGUgeyBVbml0Vm9sdCB9O1xuZXhwb3J0IHsgdW5pdFZvbHRUYWcgfTtcblxuLyoqXG4gKiBEaXJlY3RpdmUgdG8gcHJvdmlkZSBBbmd1bGFyIGludGVncmF0aW9uIGZvciB0aGUgdm9sdCB1bml0IGVsZW1lbnQgdXNlZCBieSB0aGUgbnVtYmVyLXRleHQgY29sdW1uLlxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ25pbWJsZS11bml0LXZvbHQnXG59KVxuZXhwb3J0IGNsYXNzIE5pbWJsZVVuaXRWb2x0RGlyZWN0aXZlIHtcbn0iXX0=
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { NimbleUnitVoltDirective } from './nimble-unit-volt.directive';
|
|
4
|
+
import '@ni/nimble-components/dist/esm/unit/volt';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class NimbleUnitVoltModule {
|
|
7
|
+
}
|
|
8
|
+
NimbleUnitVoltModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
+
NimbleUnitVoltModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, declarations: [NimbleUnitVoltDirective], imports: [CommonModule], exports: [NimbleUnitVoltDirective] });
|
|
10
|
+
NimbleUnitVoltModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, imports: [CommonModule] });
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [NimbleUnitVoltDirective],
|
|
15
|
+
imports: [CommonModule],
|
|
16
|
+
exports: [NimbleUnitVoltDirective]
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLXVuaXQtdm9sdC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci91bml0L3ZvbHQvbmltYmxlLXVuaXQtdm9sdC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLHVCQUF1QixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFFdkUsT0FBTywwQ0FBMEMsQ0FBQzs7QUFPbEQsTUFBTSxPQUFPLG9CQUFvQjs7a0hBQXBCLG9CQUFvQjttSEFBcEIsb0JBQW9CLGlCQUpkLHVCQUF1QixhQUM1QixZQUFZLGFBQ1osdUJBQXVCO21IQUV4QixvQkFBb0IsWUFIbkIsWUFBWTs0RkFHYixvQkFBb0I7a0JBTGhDLFFBQVE7bUJBQUM7b0JBQ04sWUFBWSxFQUFFLENBQUMsdUJBQXVCLENBQUM7b0JBQ3ZDLE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztvQkFDdkIsT0FBTyxFQUFFLENBQUMsdUJBQXVCLENBQUM7aUJBQ3JDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOaW1ibGVVbml0Vm9sdERpcmVjdGl2ZSB9IGZyb20gJy4vbmltYmxlLXVuaXQtdm9sdC5kaXJlY3RpdmUnO1xuXG5pbXBvcnQgJ0BuaS9uaW1ibGUtY29tcG9uZW50cy9kaXN0L2VzbS91bml0L3ZvbHQnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW05pbWJsZVVuaXRWb2x0RGlyZWN0aXZlXSxcbiAgICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgICBleHBvcnRzOiBbTmltYmxlVW5pdFZvbHREaXJlY3RpdmVdXG59KVxuZXhwb3J0IGNsYXNzIE5pbWJsZVVuaXRWb2x0TW9kdWxlIHsgfSJdfQ==
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export * from './nimble-unit-volt.directive';
|
|
2
|
+
export * from './nimble-unit-volt.module';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL3VuaXQvdm9sdC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbmltYmxlLXVuaXQtdm9sdC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9uaW1ibGUtdW5pdC12b2x0Lm1vZHVsZSc7Il19
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
export { unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';
|
|
4
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Directive to provide Angular integration for the byte unit element used by the number-text column.
|
|
9
|
+
*/
|
|
10
|
+
class NimbleUnitByteDirective {
|
|
11
|
+
constructor(renderer, elementRef) {
|
|
12
|
+
this.renderer = renderer;
|
|
13
|
+
this.elementRef = elementRef;
|
|
14
|
+
}
|
|
15
|
+
get binary() {
|
|
16
|
+
return this.elementRef.nativeElement.binary;
|
|
17
|
+
}
|
|
18
|
+
set binary(value) {
|
|
19
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
NimbleUnitByteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
NimbleUnitByteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleUnitByteDirective, selector: "nimble-unit-byte", inputs: { binary: "binary" }, ngImport: i0 });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteDirective, decorators: [{
|
|
25
|
+
type: Directive,
|
|
26
|
+
args: [{
|
|
27
|
+
selector: 'nimble-unit-byte'
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { binary: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}] } });
|
|
32
|
+
|
|
33
|
+
class NimbleUnitByteModule {
|
|
34
|
+
}
|
|
35
|
+
NimbleUnitByteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
+
NimbleUnitByteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, declarations: [NimbleUnitByteDirective], imports: [CommonModule], exports: [NimbleUnitByteDirective] });
|
|
37
|
+
NimbleUnitByteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, imports: [CommonModule] });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, decorators: [{
|
|
39
|
+
type: NgModule,
|
|
40
|
+
args: [{
|
|
41
|
+
declarations: [NimbleUnitByteDirective],
|
|
42
|
+
imports: [CommonModule],
|
|
43
|
+
exports: [NimbleUnitByteDirective]
|
|
44
|
+
}]
|
|
45
|
+
}] });
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Generated bundle index. Do not edit.
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
export { NimbleUnitByteDirective, NimbleUnitByteModule };
|
|
52
|
+
//# sourceMappingURL=ni-nimble-angular-unit-byte.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-unit-byte.mjs","sources":["../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.directive.ts","../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.module.ts","../../../../projects/ni/nimble-angular/unit/byte/ni-nimble-angular-unit-byte.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type UnitByte, unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';\nimport { toBooleanProperty, type BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';\n\nexport type { UnitByte };\nexport { unitByteTag };\n\n/**\n * Directive to provide Angular integration for the byte unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-byte'\n})\nexport class NimbleUnitByteDirective {\n public get binary(): boolean {\n return this.elementRef.nativeElement.binary;\n }\n\n @Input() public set binary(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<UnitByte>) {}\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitByteDirective } from './nimble-unit-byte.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/byte';\n\n@NgModule({\n declarations: [NimbleUnitByteDirective],\n imports: [CommonModule],\n exports: [NimbleUnitByteDirective]\n})\nexport class NimbleUnitByteModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAOA;;AAEG;MAIU,uBAAuB,CAAA;IAShC,WAAsC,CAAA,QAAmB,EAAqB,UAAgC,EAAA;AAAxE,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAsB;KAAI;AARlH,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;KAC/C;IAED,IAAoB,MAAM,CAAC,KAA8B,EAAA;AACrD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,QAAQ,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;KAChG;;qHAPQ,uBAAuB,EAAA,IAAA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vB,OAAO,EAAE,CAAC,uBAAuB,CAAC;iBACrC,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { unitVoltTag } from '@ni/nimble-components/dist/esm/unit/volt';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Directive to provide Angular integration for the volt unit element used by the number-text column.
|
|
8
|
+
*/
|
|
9
|
+
class NimbleUnitVoltDirective {
|
|
10
|
+
}
|
|
11
|
+
NimbleUnitVoltDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
+
NimbleUnitVoltDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleUnitVoltDirective, selector: "nimble-unit-volt", ngImport: i0 });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltDirective, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: 'nimble-unit-volt'
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
|
|
20
|
+
class NimbleUnitVoltModule {
|
|
21
|
+
}
|
|
22
|
+
NimbleUnitVoltModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
NimbleUnitVoltModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, declarations: [NimbleUnitVoltDirective], imports: [CommonModule], exports: [NimbleUnitVoltDirective] });
|
|
24
|
+
NimbleUnitVoltModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, imports: [CommonModule] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [NimbleUnitVoltDirective],
|
|
29
|
+
imports: [CommonModule],
|
|
30
|
+
exports: [NimbleUnitVoltDirective]
|
|
31
|
+
}]
|
|
32
|
+
}] });
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Generated bundle index. Do not edit.
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
export { NimbleUnitVoltDirective, NimbleUnitVoltModule };
|
|
39
|
+
//# sourceMappingURL=ni-nimble-angular-unit-volt.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-unit-volt.mjs","sources":["../../../../projects/ni/nimble-angular/unit/volt/nimble-unit-volt.directive.ts","../../../../projects/ni/nimble-angular/unit/volt/nimble-unit-volt.module.ts","../../../../projects/ni/nimble-angular/unit/volt/ni-nimble-angular-unit-volt.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { type UnitVolt, unitVoltTag } from '@ni/nimble-components/dist/esm/unit/volt';\n\nexport type { UnitVolt };\nexport { unitVoltTag };\n\n/**\n * Directive to provide Angular integration for the volt unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-volt'\n})\nexport class NimbleUnitVoltDirective {\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitVoltDirective } from './nimble-unit-volt.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/volt';\n\n@NgModule({\n declarations: [NimbleUnitVoltDirective],\n imports: [CommonModule],\n exports: [NimbleUnitVoltDirective]\n})\nexport class NimbleU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AA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
export { unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';
|
|
4
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Directive to provide Angular integration for the byte unit element used by the number-text column.
|
|
9
|
+
*/
|
|
10
|
+
class NimbleUnitByteDirective {
|
|
11
|
+
constructor(renderer, elementRef) {
|
|
12
|
+
this.renderer = renderer;
|
|
13
|
+
this.elementRef = elementRef;
|
|
14
|
+
}
|
|
15
|
+
get binary() {
|
|
16
|
+
return this.elementRef.nativeElement.binary;
|
|
17
|
+
}
|
|
18
|
+
set binary(value) {
|
|
19
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
NimbleUnitByteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
NimbleUnitByteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleUnitByteDirective, selector: "nimble-unit-byte", inputs: { binary: "binary" }, ngImport: i0 });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteDirective, decorators: [{
|
|
25
|
+
type: Directive,
|
|
26
|
+
args: [{
|
|
27
|
+
selector: 'nimble-unit-byte'
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { binary: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}] } });
|
|
32
|
+
|
|
33
|
+
class NimbleUnitByteModule {
|
|
34
|
+
}
|
|
35
|
+
NimbleUnitByteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
36
|
+
NimbleUnitByteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, declarations: [NimbleUnitByteDirective], imports: [CommonModule], exports: [NimbleUnitByteDirective] });
|
|
37
|
+
NimbleUnitByteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, imports: [CommonModule] });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, decorators: [{
|
|
39
|
+
type: NgModule,
|
|
40
|
+
args: [{
|
|
41
|
+
declarations: [NimbleUnitByteDirective],
|
|
42
|
+
imports: [CommonModule],
|
|
43
|
+
exports: [NimbleUnitByteDirective]
|
|
44
|
+
}]
|
|
45
|
+
}] });
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Generated bundle index. Do not edit.
|
|
49
|
+
*/
|
|
50
|
+
|
|
51
|
+
export { NimbleUnitByteDirective, NimbleUnitByteModule };
|
|
52
|
+
//# sourceMappingURL=ni-nimble-angular-unit-byte.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-unit-byte.mjs","sources":["../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.directive.ts","../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.module.ts","../../../../projects/ni/nimble-angular/unit/byte/ni-nimble-angular-unit-byte.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type UnitByte, unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';\nimport { toBooleanProperty, type BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';\n\nexport type { UnitByte };\nexport { unitByteTag };\n\n/**\n * Directive to provide Angular integration for the byte unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-byte'\n})\nexport class NimbleUnitByteDirective {\n public get binary(): boolean {\n return this.elementRef.nativeElement.binary;\n }\n\n @Input() public set binary(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<UnitByte>) {}\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitByteDirective } from './nimble-unit-byte.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/byte';\n\n@NgModule({\n declarations: [NimbleUnitByteDirective],\n imports: [CommonModule],\n exports: [NimbleUnitByteDirective]\n})\nexport class NimbleUnitByteModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAOA;;AAEG;MAIU,uBAAuB,CAAA;IAShC,WAAsC,CAAA,QAAmB,EAAqB,UAAgC,EAAA;QAAxE,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAsB;KAAI;AARlH,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;KAC/C;IAED,IAAoB,MAAM,CAAC,KAA8B,EAAA;AACrD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,QAAQ,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAC,CAAC;KAChG;;qHAPQ,uBAAuB,EAAA,IAAA,EAAA,CAAA,E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,EAAE,CAAC,uBAAuB,CAAC;AACrC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { unitVoltTag } from '@ni/nimble-components/dist/esm/unit/volt';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Directive to provide Angular integration for the volt unit element used by the number-text column.
|
|
8
|
+
*/
|
|
9
|
+
class NimbleUnitVoltDirective {
|
|
10
|
+
}
|
|
11
|
+
NimbleUnitVoltDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
+
NimbleUnitVoltDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleUnitVoltDirective, selector: "nimble-unit-volt", ngImport: i0 });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltDirective, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: 'nimble-unit-volt'
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
|
|
20
|
+
class NimbleUnitVoltModule {
|
|
21
|
+
}
|
|
22
|
+
NimbleUnitVoltModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
NimbleUnitVoltModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, declarations: [NimbleUnitVoltDirective], imports: [CommonModule], exports: [NimbleUnitVoltDirective] });
|
|
24
|
+
NimbleUnitVoltModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, imports: [CommonModule] });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, decorators: [{
|
|
26
|
+
type: NgModule,
|
|
27
|
+
args: [{
|
|
28
|
+
declarations: [NimbleUnitVoltDirective],
|
|
29
|
+
imports: [CommonModule],
|
|
30
|
+
exports: [NimbleUnitVoltDirective]
|
|
31
|
+
}]
|
|
32
|
+
}] });
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Generated bundle index. Do not edit.
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
export { NimbleUnitVoltDirective, NimbleUnitVoltModule };
|
|
39
|
+
//# sourceMappingURL=ni-nimble-angular-unit-volt.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-unit-volt.mjs","sources":["../../../../projects/ni/nimble-angular/unit/volt/nimble-unit-volt.directive.ts","../../../../projects/ni/nimble-angular/unit/volt/nimble-unit-volt.module.ts","../../../../projects/ni/nimble-angular/unit/volt/ni-nimble-angular-unit-volt.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { type UnitVolt, unitVoltTag } from '@ni/nimble-components/dist/esm/unit/volt';\n\nexport type { UnitVolt };\nexport { unitVoltTag };\n\n/**\n * Directive to provide Angular integration for the volt unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-volt'\n})\nexport class NimbleUnitVoltDirective {\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitVoltDirective } from './nimble-unit-volt.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/volt';\n\n@NgModule({\n declarations: [NimbleUnitVoltDirective],\n imports: [CommonModule],\n exports: [NimbleUnitVoltDirective]\n})\nexport class NimbleUnit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iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-angular",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.1.0",
|
|
4
4
|
"description": "Angular components for the NI Nimble Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -236,6 +236,22 @@
|
|
|
236
236
|
"es2015": "./fesm2015/ni-nimble-angular-table-testing.mjs",
|
|
237
237
|
"node": "./fesm2015/ni-nimble-angular-table-testing.mjs",
|
|
238
238
|
"default": "./fesm2020/ni-nimble-angular-table-testing.mjs"
|
|
239
|
+
},
|
|
240
|
+
"./unit/byte": {
|
|
241
|
+
"types": "./unit/byte/index.d.ts",
|
|
242
|
+
"esm2020": "./esm2020/unit/byte/ni-nimble-angular-unit-byte.mjs",
|
|
243
|
+
"es2020": "./fesm2020/ni-nimble-angular-unit-byte.mjs",
|
|
244
|
+
"es2015": "./fesm2015/ni-nimble-angular-unit-byte.mjs",
|
|
245
|
+
"node": "./fesm2015/ni-nimble-angular-unit-byte.mjs",
|
|
246
|
+
"default": "./fesm2020/ni-nimble-angular-unit-byte.mjs"
|
|
247
|
+
},
|
|
248
|
+
"./unit/volt": {
|
|
249
|
+
"types": "./unit/volt/index.d.ts",
|
|
250
|
+
"esm2020": "./esm2020/unit/volt/ni-nimble-angular-unit-volt.mjs",
|
|
251
|
+
"es2020": "./fesm2020/ni-nimble-angular-unit-volt.mjs",
|
|
252
|
+
"es2015": "./fesm2015/ni-nimble-angular-unit-volt.mjs",
|
|
253
|
+
"node": "./fesm2015/ni-nimble-angular-unit-volt.mjs",
|
|
254
|
+
"default": "./fesm2020/ni-nimble-angular-unit-volt.mjs"
|
|
239
255
|
}
|
|
240
256
|
},
|
|
241
257
|
"peerDependencies": {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { type UnitByte, unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';
|
|
3
|
+
import { type BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type { UnitByte };
|
|
6
|
+
export { unitByteTag };
|
|
7
|
+
/**
|
|
8
|
+
* Directive to provide Angular integration for the byte unit element used by the number-text column.
|
|
9
|
+
*/
|
|
10
|
+
export declare class NimbleUnitByteDirective {
|
|
11
|
+
protected readonly renderer: Renderer2;
|
|
12
|
+
protected readonly elementRef: ElementRef<UnitByte>;
|
|
13
|
+
get binary(): boolean;
|
|
14
|
+
set binary(value: BooleanValueOrAttribute);
|
|
15
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<UnitByte>);
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleUnitByteDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleUnitByteDirective, "nimble-unit-byte", never, { "binary": "binary"; }, {}, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import '@ni/nimble-components/dist/esm/unit/byte';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./nimble-unit-byte.directive";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
export declare class NimbleUnitByteModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleUnitByteModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleUnitByteModule, [typeof i1.NimbleUnitByteDirective], [typeof i2.CommonModule], [typeof i1.NimbleUnitByteDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleUnitByteModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type UnitVolt, unitVoltTag } from '@ni/nimble-components/dist/esm/unit/volt';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type { UnitVolt };
|
|
4
|
+
export { unitVoltTag };
|
|
5
|
+
/**
|
|
6
|
+
* Directive to provide Angular integration for the volt unit element used by the number-text column.
|
|
7
|
+
*/
|
|
8
|
+
export declare class NimbleUnitVoltDirective {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleUnitVoltDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleUnitVoltDirective, "nimble-unit-volt", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import '@ni/nimble-components/dist/esm/unit/volt';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./nimble-unit-volt.directive";
|
|
4
|
+
import * as i2 from "@angular/common";
|
|
5
|
+
export declare class NimbleUnitVoltModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleUnitVoltModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleUnitVoltModule, [typeof i1.NimbleUnitVoltDirective], [typeof i2.CommonModule], [typeof i1.NimbleUnitVoltDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleUnitVoltModule>;
|
|
9
|
+
}
|