@ni/nimble-angular 19.0.0 → 19.2.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/mapping/base/ni-nimble-angular-mapping-base.mjs +5 -0
- package/esm2020/mapping/base/nimble-mapping-base.directive.mjs +25 -0
- package/esm2020/mapping/base/public-api.mjs +2 -0
- package/esm2020/mapping/icon/nimble-mapping-icon.directive.mjs +6 -12
- package/esm2020/mapping/spinner/nimble-mapping-spinner.directive.mjs +6 -12
- package/esm2020/mapping/text/nimble-mapping-text.directive.mjs +6 -12
- package/esm2020/mapping/user/nimble-mapping-user.directive.mjs +6 -12
- 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-mapping-base.mjs +32 -0
- package/fesm2015/ni-nimble-angular-mapping-base.mjs.map +1 -0
- package/fesm2015/ni-nimble-angular-mapping-icon.mjs +5 -11
- package/fesm2015/ni-nimble-angular-mapping-icon.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-mapping-spinner.mjs +5 -11
- package/fesm2015/ni-nimble-angular-mapping-spinner.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-mapping-text.mjs +5 -11
- package/fesm2015/ni-nimble-angular-mapping-text.mjs.map +1 -1
- package/fesm2015/ni-nimble-angular-mapping-user.mjs +5 -11
- package/fesm2015/ni-nimble-angular-mapping-user.mjs.map +1 -1
- 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-mapping-base.mjs +32 -0
- package/fesm2020/ni-nimble-angular-mapping-base.mjs.map +1 -0
- package/fesm2020/ni-nimble-angular-mapping-icon.mjs +5 -11
- package/fesm2020/ni-nimble-angular-mapping-icon.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-mapping-spinner.mjs +5 -11
- package/fesm2020/ni-nimble-angular-mapping-spinner.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-mapping-text.mjs +5 -11
- package/fesm2020/ni-nimble-angular-mapping-text.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular-mapping-user.mjs +5 -11
- package/fesm2020/ni-nimble-angular-mapping-user.mjs.map +1 -1
- 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/mapping/base/index.d.ts +5 -0
- package/mapping/base/nimble-mapping-base.directive.d.ts +15 -0
- package/mapping/base/public-api.d.ts +1 -0
- package/mapping/icon/nimble-mapping-icon.directive.d.ts +3 -4
- package/mapping/spinner/nimble-mapping-spinner.directive.d.ts +3 -4
- package/mapping/text/nimble-mapping-text.directive.d.ts +3 -4
- package/mapping/user/nimble-mapping-user.directive.d.ts +3 -4
- package/package.json +25 -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,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,EAAA,KAAA,EAAA,EAAA,CAAA,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ACrC,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 NimbleUnitVoltModule { }","/**\n * Generated bundle index. Do not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;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import type { Mapping } from '@ni/nimble-components/dist/esm/mapping/base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Base class for mapping configuration elements
|
|
6
|
+
*/
|
|
7
|
+
export declare class NimbleMappingDirective<T> {
|
|
8
|
+
protected readonly renderer: Renderer2;
|
|
9
|
+
protected readonly elementRef: ElementRef<Mapping<T>>;
|
|
10
|
+
get key(): T | undefined;
|
|
11
|
+
set key(value: T | undefined);
|
|
12
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<Mapping<T>>);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleMappingDirective<any>, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleMappingDirective<any>, never, never, { "key": "key"; }, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './nimble-mapping-base.directive';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
2
3
|
import { type MappingIcon, mappingIconTag } from '@ni/nimble-components/dist/esm/mapping/icon';
|
|
3
4
|
import type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';
|
|
4
5
|
import type { IconSeverity } from '@ni/nimble-components/dist/esm/icon-base/types';
|
|
@@ -8,11 +9,9 @@ export { mappingIconTag };
|
|
|
8
9
|
/**
|
|
9
10
|
* Directive to provide Angular integration for the mapping icon element used by the icon column.
|
|
10
11
|
*/
|
|
11
|
-
export declare class NimbleMappingIconDirective {
|
|
12
|
+
export declare class NimbleMappingIconDirective extends NimbleMappingDirective<MappingKey> {
|
|
12
13
|
protected readonly renderer: Renderer2;
|
|
13
14
|
protected readonly elementRef: ElementRef<MappingIcon>;
|
|
14
|
-
get key(): MappingKey | undefined;
|
|
15
|
-
set key(value: MappingKey | undefined);
|
|
16
15
|
get text(): string | undefined;
|
|
17
16
|
set text(value: string | undefined);
|
|
18
17
|
get icon(): string | undefined;
|
|
@@ -21,5 +20,5 @@ export declare class NimbleMappingIconDirective {
|
|
|
21
20
|
set severity(value: IconSeverity);
|
|
22
21
|
constructor(renderer: Renderer2, elementRef: ElementRef<MappingIcon>);
|
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleMappingIconDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleMappingIconDirective, "nimble-mapping-icon", never, { "
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleMappingIconDirective, "nimble-mapping-icon", never, { "text": "text"; "icon": "icon"; "severity": "severity"; }, {}, never, never, false, never>;
|
|
25
24
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
2
3
|
import { type MappingSpinner, mappingSpinnerTag } from '@ni/nimble-components/dist/esm/mapping/spinner';
|
|
3
4
|
import type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -7,14 +8,12 @@ export { mappingSpinnerTag };
|
|
|
7
8
|
/**
|
|
8
9
|
* Directive to provide Angular integration for the mapping spinner element used by the spinner column.
|
|
9
10
|
*/
|
|
10
|
-
export declare class NimbleMappingSpinnerDirective {
|
|
11
|
+
export declare class NimbleMappingSpinnerDirective extends NimbleMappingDirective<MappingKey> {
|
|
11
12
|
protected readonly renderer: Renderer2;
|
|
12
13
|
protected readonly elementRef: ElementRef<MappingSpinner>;
|
|
13
|
-
get key(): MappingKey | undefined;
|
|
14
|
-
set key(value: MappingKey | undefined);
|
|
15
14
|
get text(): string | undefined;
|
|
16
15
|
set text(value: string | undefined);
|
|
17
16
|
constructor(renderer: Renderer2, elementRef: ElementRef<MappingSpinner>);
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleMappingSpinnerDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleMappingSpinnerDirective, "nimble-mapping-spinner", never, { "
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleMappingSpinnerDirective, "nimble-mapping-spinner", never, { "text": "text"; }, {}, never, never, false, never>;
|
|
20
19
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
2
3
|
import { type MappingText, mappingTextTag } from '@ni/nimble-components/dist/esm/mapping/text';
|
|
3
4
|
import type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -7,14 +8,12 @@ export { mappingTextTag };
|
|
|
7
8
|
/**
|
|
8
9
|
* Directive to provide Angular integration for the mapping text element used by the enum-text column.
|
|
9
10
|
*/
|
|
10
|
-
export declare class NimbleMappingTextDirective {
|
|
11
|
+
export declare class NimbleMappingTextDirective extends NimbleMappingDirective<MappingKey> {
|
|
11
12
|
protected readonly renderer: Renderer2;
|
|
12
13
|
protected readonly elementRef: ElementRef<MappingText>;
|
|
13
|
-
get key(): MappingKey | undefined;
|
|
14
|
-
set key(value: MappingKey | undefined);
|
|
15
14
|
get text(): string | undefined;
|
|
16
15
|
set text(value: string | undefined);
|
|
17
16
|
constructor(renderer: Renderer2, elementRef: ElementRef<MappingText>);
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleMappingTextDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleMappingTextDirective, "nimble-mapping-text", never, { "
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleMappingTextDirective, "nimble-mapping-text", never, { "text": "text"; }, {}, never, never, false, never>;
|
|
20
19
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
2
3
|
import { type MappingUser, mappingUserTag } from '@ni/nimble-components/dist/esm/mapping/user';
|
|
3
4
|
import type { MappingUserKey } from '@ni/nimble-components/dist/esm/mapping/base/types';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -7,14 +8,12 @@ export { mappingUserTag };
|
|
|
7
8
|
/**
|
|
8
9
|
* Directive to provide Angular integration for the mapping user element used by the rich-text-mention-users element.
|
|
9
10
|
*/
|
|
10
|
-
export declare class NimbleMappingUserDirective {
|
|
11
|
+
export declare class NimbleMappingUserDirective extends NimbleMappingDirective<MappingUserKey> {
|
|
11
12
|
protected readonly renderer: Renderer2;
|
|
12
13
|
protected readonly elementRef: ElementRef<MappingUser>;
|
|
13
|
-
get key(): MappingUserKey | undefined;
|
|
14
|
-
set key(value: MappingUserKey | undefined);
|
|
15
14
|
get displayName(): string | undefined;
|
|
16
15
|
set displayName(value: string | undefined);
|
|
17
16
|
constructor(renderer: Renderer2, elementRef: ElementRef<MappingUser>);
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleMappingUserDirective, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleMappingUserDirective, "nimble-mapping-user", never, { "
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleMappingUserDirective, "nimble-mapping-user", never, { "displayName": "display-name"; }, {}, never, never, false, never>;
|
|
20
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-angular",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.2.0",
|
|
4
4
|
"description": "Angular components for the NI Nimble Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -69,6 +69,14 @@
|
|
|
69
69
|
"node": "./fesm2015/ni-nimble-angular-label-provider-table.mjs",
|
|
70
70
|
"default": "./fesm2020/ni-nimble-angular-label-provider-table.mjs"
|
|
71
71
|
},
|
|
72
|
+
"./mapping/base": {
|
|
73
|
+
"types": "./mapping/base/index.d.ts",
|
|
74
|
+
"esm2020": "./esm2020/mapping/base/ni-nimble-angular-mapping-base.mjs",
|
|
75
|
+
"es2020": "./fesm2020/ni-nimble-angular-mapping-base.mjs",
|
|
76
|
+
"es2015": "./fesm2015/ni-nimble-angular-mapping-base.mjs",
|
|
77
|
+
"node": "./fesm2015/ni-nimble-angular-mapping-base.mjs",
|
|
78
|
+
"default": "./fesm2020/ni-nimble-angular-mapping-base.mjs"
|
|
79
|
+
},
|
|
72
80
|
"./mapping/icon": {
|
|
73
81
|
"types": "./mapping/icon/index.d.ts",
|
|
74
82
|
"esm2020": "./esm2020/mapping/icon/ni-nimble-angular-mapping-icon.mjs",
|
|
@@ -236,6 +244,22 @@
|
|
|
236
244
|
"es2015": "./fesm2015/ni-nimble-angular-table-testing.mjs",
|
|
237
245
|
"node": "./fesm2015/ni-nimble-angular-table-testing.mjs",
|
|
238
246
|
"default": "./fesm2020/ni-nimble-angular-table-testing.mjs"
|
|
247
|
+
},
|
|
248
|
+
"./unit/byte": {
|
|
249
|
+
"types": "./unit/byte/index.d.ts",
|
|
250
|
+
"esm2020": "./esm2020/unit/byte/ni-nimble-angular-unit-byte.mjs",
|
|
251
|
+
"es2020": "./fesm2020/ni-nimble-angular-unit-byte.mjs",
|
|
252
|
+
"es2015": "./fesm2015/ni-nimble-angular-unit-byte.mjs",
|
|
253
|
+
"node": "./fesm2015/ni-nimble-angular-unit-byte.mjs",
|
|
254
|
+
"default": "./fesm2020/ni-nimble-angular-unit-byte.mjs"
|
|
255
|
+
},
|
|
256
|
+
"./unit/volt": {
|
|
257
|
+
"types": "./unit/volt/index.d.ts",
|
|
258
|
+
"esm2020": "./esm2020/unit/volt/ni-nimble-angular-unit-volt.mjs",
|
|
259
|
+
"es2020": "./fesm2020/ni-nimble-angular-unit-volt.mjs",
|
|
260
|
+
"es2015": "./fesm2015/ni-nimble-angular-unit-volt.mjs",
|
|
261
|
+
"node": "./fesm2015/ni-nimble-angular-unit-volt.mjs",
|
|
262
|
+
"default": "./fesm2020/ni-nimble-angular-unit-volt.mjs"
|
|
239
263
|
}
|
|
240
264
|
},
|
|
241
265
|
"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
|
+
}
|