@ni/nimble-angular 19.1.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/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/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/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 +9 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './public-api';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmktbmltYmxlLWFuZ3VsYXItbWFwcGluZy1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmkvbmltYmxlLWFuZ3VsYXIvbWFwcGluZy9iYXNlL25pLW5pbWJsZS1hbmd1bGFyLW1hcHBpbmctYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Base class for mapping configuration elements
|
|
5
|
+
*/
|
|
6
|
+
export class NimbleMappingDirective {
|
|
7
|
+
constructor(renderer, elementRef) {
|
|
8
|
+
this.renderer = renderer;
|
|
9
|
+
this.elementRef = elementRef;
|
|
10
|
+
}
|
|
11
|
+
get key() {
|
|
12
|
+
return this.elementRef.nativeElement.key;
|
|
13
|
+
}
|
|
14
|
+
set key(value) {
|
|
15
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
NimbleMappingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
NimbleMappingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingDirective, inputs: { key: "key" }, ngImport: i0 });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingDirective, decorators: [{
|
|
21
|
+
type: Directive
|
|
22
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { key: [{
|
|
23
|
+
type: Input
|
|
24
|
+
}] } });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLW1hcHBpbmctYmFzZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci9tYXBwaW5nL2Jhc2UvbmltYmxlLW1hcHBpbmctYmFzZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7O0FBR3hFOztHQUVHO0FBRUgsTUFBTSxPQUFPLHNCQUFzQjtJQVMvQixZQUFzQyxRQUFtQixFQUFxQixVQUFrQztRQUExRSxhQ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yLnNldFByb3BlcnR5KHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCAna2V5JywgdmFsdWUpO1xuICAgIH1cblxuICAgIHB1YmxpYyBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgcmVhZG9ubHkgcmVuZGVyZXI6IFJlbmRlcmVyMiwgcHJvdGVjdGVkIHJlYWRvbmx5IGVsZW1lbnRSZWY6IEVsZW1lbnRSZWY8TWFwcGluZzxUPj4pIHt9XG59XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './nimble-mapping-base.directive';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pL25pbWJsZS1hbmd1bGFyL21hcHBpbmcvYmFzZS9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUNBQWlDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL25pbWJsZS1tYXBwaW5nLWJhc2UuZGlyZWN0aXZlJztcbiJdfQ==
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
2
3
|
import { mappingIconTag } from '@ni/nimble-components/dist/esm/mapping/icon';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export { mappingIconTag };
|
|
5
6
|
/**
|
|
6
7
|
* Directive to provide Angular integration for the mapping icon element used by the icon column.
|
|
7
8
|
*/
|
|
8
|
-
export class NimbleMappingIconDirective {
|
|
9
|
+
export class NimbleMappingIconDirective extends NimbleMappingDirective {
|
|
9
10
|
constructor(renderer, elementRef) {
|
|
11
|
+
super(renderer, elementRef);
|
|
10
12
|
this.renderer = renderer;
|
|
11
13
|
this.elementRef = elementRef;
|
|
12
14
|
}
|
|
13
|
-
get key() {
|
|
14
|
-
return this.elementRef.nativeElement.key;
|
|
15
|
-
}
|
|
16
|
-
set key(value) {
|
|
17
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
18
|
-
}
|
|
19
15
|
get text() {
|
|
20
16
|
return this.elementRef.nativeElement.text;
|
|
21
17
|
}
|
|
@@ -36,19 +32,17 @@ export class NimbleMappingIconDirective {
|
|
|
36
32
|
}
|
|
37
33
|
}
|
|
38
34
|
NimbleMappingIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingIconDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
-
NimbleMappingIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingIconDirective, selector: "nimble-mapping-icon", inputs: {
|
|
35
|
+
NimbleMappingIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingIconDirective, selector: "nimble-mapping-icon", inputs: { text: "text", icon: "icon", severity: "severity" }, usesInheritance: true, ngImport: i0 });
|
|
40
36
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingIconDirective, decorators: [{
|
|
41
37
|
type: Directive,
|
|
42
38
|
args: [{
|
|
43
39
|
selector: 'nimble-mapping-icon'
|
|
44
40
|
}]
|
|
45
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
46
|
-
type: Input
|
|
47
|
-
}], text: [{
|
|
41
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
48
42
|
type: Input
|
|
49
43
|
}], icon: [{
|
|
50
44
|
type: Input
|
|
51
45
|
}], severity: [{
|
|
52
46
|
type: Input
|
|
53
47
|
}] } });
|
|
54
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLW1hcHBpbmctaWNvbi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci9tYXBwaW5nL2ljb24vbmltYmxlLW1hcHBpbmctaWNvbi5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFDeEUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDekUsT0FBTyxFQUFvQixjQUFjLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQzs7QUFLL0YsT0FBTyxFQUFFLGNBQWMsRUFBRSxDQUFDO0FBRTFCOztHQUVHO0FBSUgsTUFBTSxPQUFPLDBCQUEyQixTQUFRLHNCQUFrQztJQXlCOUUsWUFBc0MsUUFBbUIsRUFBcUIsVUFBbUM7UUFDN0csS0FBSyxDQUFDLFFBQVEsRUFBRSxVQUFVLENBQUMsQ0FBQztRQURNLGFBQVEsR0FBUixRQUFRLENBQVc7UUFBcUIsZUFBVSxHQUFWLFVBQVUsQ0FBeUI7SUFFakgsQ0FBQztJQTFCRCxJQUFXLElBQUk7UUFDWCxPQUFPLElBQUksQ0FBQyxVQUFVLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQztJQUM5QyxDQUFDO0lBRUQsSUFBb0IsSUFBSSxDQUFDLEtBQXlCO1FBQzlDLElBQUksQ0FBQyxRQUFRLENBQUMsV0FBVyxDQ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Sh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ3RleHQnLCB2YWx1ZSk7XG4gICAgfVxuXG4gICAgcHVibGljIGdldCBpY29uKCk6IHN0cmluZyB8IHVuZGVmaW5lZCB7XG4gICAgICAgIHJldHVybiB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC5pY29uO1xuICAgIH1cblxuICAgIEBJbnB1dCgpIHB1YmxpYyBzZXQgaWNvbih2YWx1ZTogc3RyaW5nIHwgdW5kZWZpbmVkKSB7XG4gICAgICAgIHRoaXMucmVuZGVyZXIuc2V0UHJvcGVydHkodGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsICdpY29uJywgdmFsdWUpO1xuICAgIH1cblxuICAgIHB1YmxpYyBnZXQgc2V2ZXJpdHkoKTogSWNvblNldmVyaXR5IHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LnNldmVyaXR5O1xuICAgIH1cblxuICAgIEBJbnB1dCgpIHB1YmxpYyBzZXQgc2V2ZXJpdHkodmFsdWU6IEljb25TZXZlcml0eSkge1xuICAgICAgICB0aGlzLnJlbmRlcmVyLnNldFByb3BlcnR5KHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCAnc2V2ZXJpdHknLCB2YWx1ZSk7XG4gICAgfVxuXG4gICAgcHVibGljIGNvbnN0cnVjdG9yKHByb3RlY3RlZCByZWFkb25seSByZW5kZXJlcjogUmVuZGVyZXIyLCBwcm90ZWN0ZWQgcmVhZG9ubHkgZWxlbWVudFJlZjogRWxlbWVudFJlZjxNYXBwaW5nSWNvbj4pIHtcbiAgICAgICAgc3VwZXIocmVuZGVyZXIsIGVsZW1lbnRSZWYpO1xuICAgIH1cbn0iXX0=
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
2
3
|
import { mappingSpinnerTag } from '@ni/nimble-components/dist/esm/mapping/spinner';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export { mappingSpinnerTag };
|
|
5
6
|
/**
|
|
6
7
|
* Directive to provide Angular integration for the mapping spinner element used by the spinner column.
|
|
7
8
|
*/
|
|
8
|
-
export class NimbleMappingSpinnerDirective {
|
|
9
|
+
export class NimbleMappingSpinnerDirective extends NimbleMappingDirective {
|
|
9
10
|
constructor(renderer, elementRef) {
|
|
11
|
+
super(renderer, elementRef);
|
|
10
12
|
this.renderer = renderer;
|
|
11
13
|
this.elementRef = elementRef;
|
|
12
14
|
}
|
|
13
|
-
get key() {
|
|
14
|
-
return this.elementRef.nativeElement.key;
|
|
15
|
-
}
|
|
16
|
-
set key(value) {
|
|
17
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
18
|
-
}
|
|
19
15
|
get text() {
|
|
20
16
|
return this.elementRef.nativeElement.text;
|
|
21
17
|
}
|
|
@@ -24,15 +20,13 @@ export class NimbleMappingSpinnerDirective {
|
|
|
24
20
|
}
|
|
25
21
|
}
|
|
26
22
|
NimbleMappingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingSpinnerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
-
NimbleMappingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingSpinnerDirective, selector: "nimble-mapping-spinner", inputs: {
|
|
23
|
+
NimbleMappingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingSpinnerDirective, selector: "nimble-mapping-spinner", inputs: { text: "text" }, usesInheritance: true, ngImport: i0 });
|
|
28
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingSpinnerDirective, decorators: [{
|
|
29
25
|
type: Directive,
|
|
30
26
|
args: [{
|
|
31
27
|
selector: 'nimble-mapping-spinner'
|
|
32
28
|
}]
|
|
33
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
34
|
-
type: Input
|
|
35
|
-
}], text: [{
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
36
30
|
type: Input
|
|
37
31
|
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLW1hcHBpbmctc3Bpbm5lci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci9tYXBwaW5nL3NwaW5uZXIvbmltYmxlLW1hcHBpbmctc3Bpbm5lci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFDeEUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDekUsT0FBTyxFQUF1QixpQkFBaUIsRUFBRSxNQUFNLGdEQUFnRCxDQUFDOztBQUl4RyxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsQ0FBQztBQUU3Qjs7R0FFRztBQUlILE1BQU0sT0FBTyw2QkFBOEIsU0FBUSxzQkFBa0M7SUFTakYsWUFBc0MsUUFBbUIsRUFBcUIsVUFBc0M7UUFDaEgsS0FBSyxDQUFDLFFBQVEsRUFBRSxVQUFVLENBQUMsQ0FBQztRQURNLGFBQVEsR0F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YWcgfTtcblxuLyoqXG4gKiBEaXJlY3RpdmUgdG8gcHJvdmlkZSBBbmd1bGFyIGludGVncmF0aW9uIGZvciB0aGUgbWFwcGluZyBzcGlubmVyIGVsZW1lbnQgdXNlZCBieSB0aGUgc3Bpbm5lciBjb2x1bW4uXG4gKi9cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAnbmltYmxlLW1hcHBpbmctc3Bpbm5lcidcbn0pXG5leHBvcnQgY2xhc3MgTmltYmxlTWFwcGluZ1NwaW5uZXJEaXJlY3RpdmUgZXh0ZW5kcyBOaW1ibGVNYXBwaW5nRGlyZWN0aXZlPE1hcHBpbmdLZXk+IHtcbiAgICBwdWJsaWMgZ2V0IHRleHQoKTogc3RyaW5nIHwgdW5kZWZpbmVkIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LnRleHQ7XG4gICAgfVxuXG4gICAgQElucHV0KCkgcHVibGljIHNldCB0ZXh0KHZhbHVlOiBzdHJpbmcgfCB1bmRlZmluZWQpIHtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRQcm9wZXJ0eSh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ3RleHQnLCB2YWx1ZSk7XG4gICAgfVxuXG4gICAgcHVibGljIGNvbnN0cnVjdG9yKHByb3RlY3RlZCByZWFkb25seSByZW5kZXJlcjogUmVuZGVyZXIyLCBwcm90ZWN0ZWQgcmVhZG9ubHkgZWxlbWVudFJlZjogRWxlbWVudFJlZjxNYXBwaW5nU3Bpbm5lcj4pIHtcbiAgICAgICAgc3VwZXIocmVuZGVyZXIsIGVsZW1lbnRSZWYpO1xuICAgIH1cbn0iXX0=
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
2
3
|
import { mappingTextTag } from '@ni/nimble-components/dist/esm/mapping/text';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export { mappingTextTag };
|
|
5
6
|
/**
|
|
6
7
|
* Directive to provide Angular integration for the mapping text element used by the enum-text column.
|
|
7
8
|
*/
|
|
8
|
-
export class NimbleMappingTextDirective {
|
|
9
|
+
export class NimbleMappingTextDirective extends NimbleMappingDirective {
|
|
9
10
|
constructor(renderer, elementRef) {
|
|
11
|
+
super(renderer, elementRef);
|
|
10
12
|
this.renderer = renderer;
|
|
11
13
|
this.elementRef = elementRef;
|
|
12
14
|
}
|
|
13
|
-
get key() {
|
|
14
|
-
return this.elementRef.nativeElement.key;
|
|
15
|
-
}
|
|
16
|
-
set key(value) {
|
|
17
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
18
|
-
}
|
|
19
15
|
get text() {
|
|
20
16
|
return this.elementRef.nativeElement.text;
|
|
21
17
|
}
|
|
@@ -24,15 +20,13 @@ export class NimbleMappingTextDirective {
|
|
|
24
20
|
}
|
|
25
21
|
}
|
|
26
22
|
NimbleMappingTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
-
NimbleMappingTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingTextDirective, selector: "nimble-mapping-text", inputs: {
|
|
23
|
+
NimbleMappingTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingTextDirective, selector: "nimble-mapping-text", inputs: { text: "text" }, usesInheritance: true, ngImport: i0 });
|
|
28
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingTextDirective, decorators: [{
|
|
29
25
|
type: Directive,
|
|
30
26
|
args: [{
|
|
31
27
|
selector: 'nimble-mapping-text'
|
|
32
28
|
}]
|
|
33
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
34
|
-
type: Input
|
|
35
|
-
}], text: [{
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
36
30
|
type: Input
|
|
37
31
|
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLW1hcHBpbmctdGV4dC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci9tYXBwaW5nL3RleHQvbmltYmxlLW1hcHBpbmctdGV4dC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFDeEUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDekUsT0FBTyxFQUFvQixjQUFjLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQzs7QUFJL0YsT0FBTyxFQUFFLGNBQWMsRUFBRSxDQUFDO0FBRTFCOztHQUVHO0FBSUgsTUFBTSxPQUFPLDBCQUEyQixTQUFRLHNCQUFrQztJQVM5RSxZQUFzQyxRQUFtQixFQUFxQixVQUFtQztRQUM3RyxLQUFLLENBQUMsUUFBUSxFQUFFLFVBQVUsQ0FBQyxDQUFDO1FBRE0sYUFBUSxHQUFSLFFBQVEsQ0FBVztRQUFxQixlQUFVLEdBQVYsVUFBVSxDQUF5QjtJQUVqSCxDQUFDO0lBVkQsSUFBVyxJQUFJO1FBQ1gsT0FB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gZWxlbWVudCB1c2VkIGJ5IHRoZSBlbnVtLXRleHQgY29sdW1uLlxuICovXG5ARGlyZWN0aXZlKHtcbiAgICBzZWxlY3RvcjogJ25pbWJsZS1tYXBwaW5nLXRleHQnXG59KVxuZXhwb3J0IGNsYXNzIE5pbWJsZU1hcHBpbmdUZXh0RGlyZWN0aXZlIGV4dGVuZHMgTmltYmxlTWFwcGluZ0RpcmVjdGl2ZTxNYXBwaW5nS2V5PiB7XG4gICAgcHVibGljIGdldCB0ZXh0KCk6IHN0cmluZyB8IHVuZGVmaW5lZCB7XG4gICAgICAgIHJldHVybiB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudC50ZXh0O1xuICAgIH1cblxuICAgIEBJbnB1dCgpIHB1YmxpYyBzZXQgdGV4dCh2YWx1ZTogc3RyaW5nIHwgdW5kZWZpbmVkKSB7XG4gICAgICAgIHRoaXMucmVuZGVyZXIuc2V0UHJvcGVydHkodGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQsICd0ZXh0JywgdmFsdWUpO1xuICAgIH1cblxuICAgIHB1YmxpYyBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgcmVhZG9ubHkgcmVuZGVyZXI6IFJlbmRlcmVyMiwgcHJvdGVjdGVkIHJlYWRvbmx5IGVsZW1lbnRSZWY6IEVsZW1lbnRSZWY8TWFwcGluZ1RleHQ+KSB7XG4gICAgICAgIHN1cGVyKHJlbmRlcmVyLCBlbGVtZW50UmVmKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
2
3
|
import { mappingUserTag } from '@ni/nimble-components/dist/esm/mapping/user';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export { mappingUserTag };
|
|
5
6
|
/**
|
|
6
7
|
* Directive to provide Angular integration for the mapping user element used by the rich-text-mention-users element.
|
|
7
8
|
*/
|
|
8
|
-
export class NimbleMappingUserDirective {
|
|
9
|
+
export class NimbleMappingUserDirective extends NimbleMappingDirective {
|
|
9
10
|
constructor(renderer, elementRef) {
|
|
11
|
+
super(renderer, elementRef);
|
|
10
12
|
this.renderer = renderer;
|
|
11
13
|
this.elementRef = elementRef;
|
|
12
14
|
}
|
|
13
|
-
get key() {
|
|
14
|
-
return this.elementRef.nativeElement.key;
|
|
15
|
-
}
|
|
16
|
-
set key(value) {
|
|
17
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
18
|
-
}
|
|
19
15
|
get displayName() {
|
|
20
16
|
return this.elementRef.nativeElement.displayName;
|
|
21
17
|
}
|
|
@@ -24,16 +20,14 @@ export class NimbleMappingUserDirective {
|
|
|
24
20
|
}
|
|
25
21
|
}
|
|
26
22
|
NimbleMappingUserDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingUserDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
-
NimbleMappingUserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingUserDirective, selector: "nimble-mapping-user", inputs: {
|
|
23
|
+
NimbleMappingUserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingUserDirective, selector: "nimble-mapping-user", inputs: { displayName: ["display-name", "displayName"] }, usesInheritance: true, ngImport: i0 });
|
|
28
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingUserDirective, decorators: [{
|
|
29
25
|
type: Directive,
|
|
30
26
|
args: [{
|
|
31
27
|
selector: 'nimble-mapping-user'
|
|
32
28
|
}]
|
|
33
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
34
|
-
type: Input
|
|
35
|
-
}], displayName: [{
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { displayName: [{
|
|
36
30
|
type: Input,
|
|
37
31
|
args: ['display-name']
|
|
38
32
|
}] } });
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLW1hcHBpbmctdXNlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaS9uaW1ibGUtYW5ndWxhci9tYXBwaW5nL3VzZXIvbmltYmxlLW1hcHBpbmctdXNlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBYyxLQUFLLEVBQWEsTUFBTSxlQUFlLENBQUM7QUFDeEUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0saUNBQWlDLENBQUM7QUFDekUsT0FBTyxFQUFvQixjQUFjLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQzs7QUFJL0YsT0FBTyxFQUFFLGNBQWMsRUFBRSxDQUFDO0FBRTFCOztHQUVHO0FBSUgsTUFBTSxPQUFPLDBCQUEyQixTQUFRLHNCQUFzQztJQVNsRixZQUFzQyxRQUFtQixFQUFxQixVQUFtQztRQUM3RyxLQUFLLENBQUMsUUFBUSxFQUFFLFVBQVUsQ0FBQyxDQUFDO1FBRE0sYUFBUSxHQUFSLFFBQVEsQ0FBVztRQUFxQixlQUFVLEdBQVYsVUFBVSxDQUF5QjtJQUVqSCxDQUFDO0lBVkQsSUFBVyxXQUFXO1FBQ2xCLE9BQU8sSUFBSSxDQUFDLFVBQVUsQ0FBQyxhQUFhLENBQUMsV0FBVyxDQUFDO0lBQ3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dGV4dC1tZW50aW9uLXVzZXJzIGVsZW1lbnQuXG4gKi9cbkBEaXJlY3RpdmUoe1xuICAgIHNlbGVjdG9yOiAnbmltYmxlLW1hcHBpbmctdXNlcidcbn0pXG5leHBvcnQgY2xhc3MgTmltYmxlTWFwcGluZ1VzZXJEaXJlY3RpdmUgZXh0ZW5kcyBOaW1ibGVNYXBwaW5nRGlyZWN0aXZlPE1hcHBpbmdVc2VyS2V5PiB7XG4gICAgcHVibGljIGdldCBkaXNwbGF5TmFtZSgpOiBzdHJpbmcgfCB1bmRlZmluZWQge1xuICAgICAgICByZXR1cm4gdGhpcy5lbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuZGlzcGxheU5hbWU7XG4gICAgfVxuXG4gICAgQElucHV0KCdkaXNwbGF5LW5hbWUnKSBwdWJsaWMgc2V0IGRpc3BsYXlOYW1lKHZhbHVlOiBzdHJpbmcgfCB1bmRlZmluZWQpIHtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRQcm9wZXJ0eSh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ2Rpc3BsYXlOYW1lJywgdmFsdWUpO1xuICAgIH1cblxuICAgIHB1YmxpYyBjb25zdHJ1Y3Rvcihwcm90ZWN0ZWQgcmVhZG9ubHkgcmVuZGVyZXI6IFJlbmRlcmVyMiwgcHJvdGVjdGVkIHJlYWRvbmx5IGVsZW1lbnRSZWY6IEVsZW1lbnRSZWY8TWFwcGluZ1VzZXI+KSB7XG4gICAgICAgIHN1cGVyKHJlbmRlcmVyLCBlbGVtZW50UmVmKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Base class for mapping configuration elements
|
|
6
|
+
*/
|
|
7
|
+
class NimbleMappingDirective {
|
|
8
|
+
constructor(renderer, elementRef) {
|
|
9
|
+
this.renderer = renderer;
|
|
10
|
+
this.elementRef = elementRef;
|
|
11
|
+
}
|
|
12
|
+
get key() {
|
|
13
|
+
return this.elementRef.nativeElement.key;
|
|
14
|
+
}
|
|
15
|
+
set key(value) {
|
|
16
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
NimbleMappingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
NimbleMappingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingDirective, inputs: { key: "key" }, ngImport: i0 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingDirective, decorators: [{
|
|
22
|
+
type: Directive
|
|
23
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { key: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}] } });
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Generated bundle index. Do not edit.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
export { NimbleMappingDirective };
|
|
32
|
+
//# sourceMappingURL=ni-nimble-angular-mapping-base.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-base.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/base/nimble-mapping-base.directive.ts","../../../../projects/ni/nimble-angular/mapping/base/ni-nimble-angular-mapping-base.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { Mapping } from '@ni/nimble-components/dist/esm/mapping/base';\n\n/**\n * Base class for mapping configuration elements\n */\n@Directive()\nexport class NimbleMappingDirective<T> {\n public get key(): T | undefined {\n return this.elementRef.nativeElement.key;\n }\n\n @Input() public set key(value: T | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<Mapping<T>>) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAGA;;AAEG;MAEU,sBAAsB,CAAA;IAS/B,WAAsC,CAAA,QAAmB,EAAqB,UAAkC,EAAA;AAA1E,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAwB;KAAI;AARpH,IAAA,IAAW,GAAG,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;KAC5C;IAED,IAAoB,GAAG,CAAC,KAAoB,EAAA;AACxC,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;KAC1E;;oHAPQ,sBAAsB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;wGAAtB,sBAAsB,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,KAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC,SAAS;yHAMc,GAAG,EAAA,CAAA;sBAAtB,KAAK;;;ACZV;;AAEG;;;;"}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
3
4
|
export { mappingIconTag } from '@ni/nimble-components/dist/esm/mapping/icon';
|
|
4
5
|
import { CommonModule } from '@angular/common';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Directive to provide Angular integration for the mapping icon element used by the icon column.
|
|
8
9
|
*/
|
|
9
|
-
class NimbleMappingIconDirective {
|
|
10
|
+
class NimbleMappingIconDirective extends NimbleMappingDirective {
|
|
10
11
|
constructor(renderer, elementRef) {
|
|
12
|
+
super(renderer, elementRef);
|
|
11
13
|
this.renderer = renderer;
|
|
12
14
|
this.elementRef = elementRef;
|
|
13
15
|
}
|
|
14
|
-
get key() {
|
|
15
|
-
return this.elementRef.nativeElement.key;
|
|
16
|
-
}
|
|
17
|
-
set key(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
19
|
-
}
|
|
20
16
|
get text() {
|
|
21
17
|
return this.elementRef.nativeElement.text;
|
|
22
18
|
}
|
|
@@ -37,15 +33,13 @@ class NimbleMappingIconDirective {
|
|
|
37
33
|
}
|
|
38
34
|
}
|
|
39
35
|
NimbleMappingIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingIconDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
-
NimbleMappingIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingIconDirective, selector: "nimble-mapping-icon", inputs: {
|
|
36
|
+
NimbleMappingIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingIconDirective, selector: "nimble-mapping-icon", inputs: { text: "text", icon: "icon", severity: "severity" }, usesInheritance: true, ngImport: i0 });
|
|
41
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingIconDirective, decorators: [{
|
|
42
38
|
type: Directive,
|
|
43
39
|
args: [{
|
|
44
40
|
selector: 'nimble-mapping-icon'
|
|
45
41
|
}]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
47
|
-
type: Input
|
|
48
|
-
}], text: [{
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
49
43
|
type: Input
|
|
50
44
|
}], icon: [{
|
|
51
45
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-mapping-icon.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/icon/nimble-mapping-icon.directive.ts","../../../../projects/ni/nimble-angular/mapping/icon/nimble-mapping-icon.module.ts","../../../../projects/ni/nimble-angular/mapping/icon/ni-nimble-angular-mapping-icon.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type MappingIcon, mappingIconTag } from '@ni/nimble-components/dist/esm/mapping/icon';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\nimport type { IconSeverity } from '@ni/nimble-components/dist/esm/icon-base/types';\n\nexport type { MappingIcon };\nexport { mappingIconTag };\n\n/**\n * Directive to provide Angular integration for the mapping icon element used by the icon column.\n */\n@Directive({\n selector: 'nimble-mapping-icon'\n})\nexport class NimbleMappingIconDirective
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-icon.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/icon/nimble-mapping-icon.directive.ts","../../../../projects/ni/nimble-angular/mapping/icon/nimble-mapping-icon.module.ts","../../../../projects/ni/nimble-angular/mapping/icon/ni-nimble-angular-mapping-icon.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';\nimport { type MappingIcon, mappingIconTag } from '@ni/nimble-components/dist/esm/mapping/icon';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\nimport type { IconSeverity } from '@ni/nimble-components/dist/esm/icon-base/types';\n\nexport type { MappingIcon };\nexport { mappingIconTag };\n\n/**\n * Directive to provide Angular integration for the mapping icon element used by the icon column.\n */\n@Directive({\n selector: 'nimble-mapping-icon'\n})\nexport class NimbleMappingIconDirective extends NimbleMappingDirective<MappingKey> {\n public get text(): string | undefined {\n return this.elementRef.nativeElement.text;\n }\n\n @Input() public set text(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'text', value);\n }\n\n public get icon(): string | undefined {\n return this.elementRef.nativeElement.icon;\n }\n\n @Input() public set icon(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'icon', value);\n }\n\n public get severity(): IconSeverity {\n return this.elementRef.nativeElement.severity;\n }\n\n @Input() public set severity(value: IconSeverity) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<MappingIcon>) {\n super(renderer, elementRef);\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleMappingIconDirective } from './nimble-mapping-icon.directive';\n\nimport '@ni/nimble-components/dist/esm/mapping/icon';\n\n@NgModule({\n declarations: [NimbleMappingIconDirective],\n imports: [CommonModule],\n exports: [NimbleMappingIconDirective]\n})\nexport class NimbleMappingIconModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AASA;;AAEG;AAIG,MAAO,0BAA2B,SAAQ,sBAAkC,CAAA;IAyB9E,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;AAC7G,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AADM,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;A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} from '@ni/nimble-angular/mapping/base';
|
|
3
4
|
export { mappingSpinnerTag } from '@ni/nimble-components/dist/esm/mapping/spinner';
|
|
4
5
|
import { CommonModule } from '@angular/common';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Directive to provide Angular integration for the mapping spinner element used by the spinner column.
|
|
8
9
|
*/
|
|
9
|
-
class NimbleMappingSpinnerDirective {
|
|
10
|
+
class NimbleMappingSpinnerDirective extends NimbleMappingDirective {
|
|
10
11
|
constructor(renderer, elementRef) {
|
|
12
|
+
super(renderer, elementRef);
|
|
11
13
|
this.renderer = renderer;
|
|
12
14
|
this.elementRef = elementRef;
|
|
13
15
|
}
|
|
14
|
-
get key() {
|
|
15
|
-
return this.elementRef.nativeElement.key;
|
|
16
|
-
}
|
|
17
|
-
set key(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
19
|
-
}
|
|
20
16
|
get text() {
|
|
21
17
|
return this.elementRef.nativeElement.text;
|
|
22
18
|
}
|
|
@@ -25,15 +21,13 @@ class NimbleMappingSpinnerDirective {
|
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
NimbleMappingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingSpinnerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
NimbleMappingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingSpinnerDirective, selector: "nimble-mapping-spinner", inputs: {
|
|
24
|
+
NimbleMappingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingSpinnerDirective, selector: "nimble-mapping-spinner", inputs: { text: "text" }, usesInheritance: true, ngImport: i0 });
|
|
29
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingSpinnerDirective, decorators: [{
|
|
30
26
|
type: Directive,
|
|
31
27
|
args: [{
|
|
32
28
|
selector: 'nimble-mapping-spinner'
|
|
33
29
|
}]
|
|
34
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
35
|
-
type: Input
|
|
36
|
-
}], text: [{
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
37
31
|
type: Input
|
|
38
32
|
}] } });
|
|
39
33
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-mapping-spinner.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/spinner/nimble-mapping-spinner.directive.ts","../../../../projects/ni/nimble-angular/mapping/spinner/nimble-mapping-spinner.module.ts","../../../../projects/ni/nimble-angular/mapping/spinner/ni-nimble-angular-mapping-spinner.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type MappingSpinner, mappingSpinnerTag } from '@ni/nimble-components/dist/esm/mapping/spinner';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingSpinner };\nexport { mappingSpinnerTag };\n\n/**\n * Directive to provide Angular integration for the mapping spinner element used by the spinner column.\n */\n@Directive({\n selector: 'nimble-mapping-spinner'\n})\nexport class NimbleMappingSpinnerDirective
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-spinner.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/spinner/nimble-mapping-spinner.directive.ts","../../../../projects/ni/nimble-angular/mapping/spinner/nimble-mapping-spinner.module.ts","../../../../projects/ni/nimble-angular/mapping/spinner/ni-nimble-angular-mapping-spinner.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';\nimport { type MappingSpinner, mappingSpinnerTag } from '@ni/nimble-components/dist/esm/mapping/spinner';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingSpinner };\nexport { mappingSpinnerTag };\n\n/**\n * Directive to provide Angular integration for the mapping spinner element used by the spinner column.\n */\n@Directive({\n selector: 'nimble-mapping-spinner'\n})\nexport class NimbleMappingSpinnerDirective extends NimbleMappingDirective<MappingKey> {\n public get text(): string | undefined {\n return this.elementRef.nativeElement.text;\n }\n\n @Input() public set text(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'text', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<MappingSpinner>) {\n super(renderer, elementRef);\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleMappingSpinnerDirective } from './nimble-mapping-spinner.directive';\n\nimport '@ni/nimble-components/dist/esm/mapping/spinner';\n\n@NgModule({\n declarations: [NimbleMappingSpinnerDirective],\n imports: [CommonModule],\n exports: [NimbleMappingSpinnerDirective]\n})\nexport class NimbleMappingSpinnerModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;AAIG,MAAO,6BAA8B,SAAQ,sBAAkC,CAAA;IASjF,WAAsC,CAAA,QAAmB,EAAqB,UAAsC,EAAA;AAChH,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AADM,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAA4B;KAEnH;AAVD,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC;KAC7C;IAED,IAAoB,IAAI,CAAC,KAAyB,EAAA;AAC9C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,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QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,6BAA6B,CAAC;oBAC7C,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,6BAA6B,CAAC;iBAC3C,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
3
4
|
export { mappingTextTag } from '@ni/nimble-components/dist/esm/mapping/text';
|
|
4
5
|
import { CommonModule } from '@angular/common';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Directive to provide Angular integration for the mapping text element used by the enum-text column.
|
|
8
9
|
*/
|
|
9
|
-
class NimbleMappingTextDirective {
|
|
10
|
+
class NimbleMappingTextDirective extends NimbleMappingDirective {
|
|
10
11
|
constructor(renderer, elementRef) {
|
|
12
|
+
super(renderer, elementRef);
|
|
11
13
|
this.renderer = renderer;
|
|
12
14
|
this.elementRef = elementRef;
|
|
13
15
|
}
|
|
14
|
-
get key() {
|
|
15
|
-
return this.elementRef.nativeElement.key;
|
|
16
|
-
}
|
|
17
|
-
set key(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
19
|
-
}
|
|
20
16
|
get text() {
|
|
21
17
|
return this.elementRef.nativeElement.text;
|
|
22
18
|
}
|
|
@@ -25,15 +21,13 @@ class NimbleMappingTextDirective {
|
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
NimbleMappingTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
NimbleMappingTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingTextDirective, selector: "nimble-mapping-text", inputs: {
|
|
24
|
+
NimbleMappingTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingTextDirective, selector: "nimble-mapping-text", inputs: { text: "text" }, usesInheritance: true, ngImport: i0 });
|
|
29
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingTextDirective, decorators: [{
|
|
30
26
|
type: Directive,
|
|
31
27
|
args: [{
|
|
32
28
|
selector: 'nimble-mapping-text'
|
|
33
29
|
}]
|
|
34
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
35
|
-
type: Input
|
|
36
|
-
}], text: [{
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
37
31
|
type: Input
|
|
38
32
|
}] } });
|
|
39
33
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-mapping-text.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/text/nimble-mapping-text.directive.ts","../../../../projects/ni/nimble-angular/mapping/text/nimble-mapping-text.module.ts","../../../../projects/ni/nimble-angular/mapping/text/ni-nimble-angular-mapping-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type MappingText, mappingTextTag } from '@ni/nimble-components/dist/esm/mapping/text';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingText, MappingKey };\nexport { mappingTextTag };\n\n/**\n * Directive to provide Angular integration for the mapping text element used by the enum-text column.\n */\n@Directive({\n selector: 'nimble-mapping-text'\n})\nexport class NimbleMappingTextDirective
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-text.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/text/nimble-mapping-text.directive.ts","../../../../projects/ni/nimble-angular/mapping/text/nimble-mapping-text.module.ts","../../../../projects/ni/nimble-angular/mapping/text/ni-nimble-angular-mapping-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';\nimport { type MappingText, mappingTextTag } from '@ni/nimble-components/dist/esm/mapping/text';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingText, MappingKey };\nexport { mappingTextTag };\n\n/**\n * Directive to provide Angular integration for the mapping text element used by the enum-text column.\n */\n@Directive({\n selector: 'nimble-mapping-text'\n})\nexport class NimbleMappingTextDirective extends NimbleMappingDirective<MappingKey> {\n public get text(): string | undefined {\n return this.elementRef.nativeElement.text;\n }\n\n @Input() public set text(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'text', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<MappingText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleMappingTextDirective } from './nimble-mapping-text.directive';\n\nimport '@ni/nimble-components/dist/esm/mapping/text';\n\n@NgModule({\n declarations: [NimbleMappingTextDirective],\n imports: [CommonModule],\n exports: [NimbleMappingTextDirective]\n})\nexport class NimbleMappingTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;AAIG,MAAO,0BAA2B,SAAQ,sBAAkC,CAAA;IAS9E,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;AAC7G,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;AADM,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;KAEhH;AAVD,IAAA,IAAW,IAA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AAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAHtB,YAAY,CAAA,EAAA,CAAA,CAAA;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;iBACxC,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
3
4
|
export { mappingUserTag } from '@ni/nimble-components/dist/esm/mapping/user';
|
|
4
5
|
import { CommonModule } from '@angular/common';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Directive to provide Angular integration for the mapping user element used by the rich-text-mention-users element.
|
|
8
9
|
*/
|
|
9
|
-
class NimbleMappingUserDirective {
|
|
10
|
+
class NimbleMappingUserDirective extends NimbleMappingDirective {
|
|
10
11
|
constructor(renderer, elementRef) {
|
|
12
|
+
super(renderer, elementRef);
|
|
11
13
|
this.renderer = renderer;
|
|
12
14
|
this.elementRef = elementRef;
|
|
13
15
|
}
|
|
14
|
-
get key() {
|
|
15
|
-
return this.elementRef.nativeElement.key;
|
|
16
|
-
}
|
|
17
|
-
set key(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
19
|
-
}
|
|
20
16
|
get displayName() {
|
|
21
17
|
return this.elementRef.nativeElement.displayName;
|
|
22
18
|
}
|
|
@@ -25,15 +21,13 @@ class NimbleMappingUserDirective {
|
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
NimbleMappingUserDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingUserDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
NimbleMappingUserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingUserDirective, selector: "nimble-mapping-user", inputs: {
|
|
24
|
+
NimbleMappingUserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingUserDirective, selector: "nimble-mapping-user", inputs: { displayName: ["display-name", "displayName"] }, usesInheritance: true, ngImport: i0 });
|
|
29
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingUserDirective, decorators: [{
|
|
30
26
|
type: Directive,
|
|
31
27
|
args: [{
|
|
32
28
|
selector: 'nimble-mapping-user'
|
|
33
29
|
}]
|
|
34
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
35
|
-
type: Input
|
|
36
|
-
}], displayName: [{
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { displayName: [{
|
|
37
31
|
type: Input,
|
|
38
32
|
args: ['display-name']
|
|
39
33
|
}] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-mapping-user.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/user/nimble-mapping-user.directive.ts","../../../../projects/ni/nimble-angular/mapping/user/nimble-mapping-user.module.ts","../../../../projects/ni/nimble-angular/mapping/user/ni-nimble-angular-mapping-user.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type MappingUser, mappingUserTag } from '@ni/nimble-components/dist/esm/mapping/user';\nimport type { MappingUserKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingUser, MappingUserKey };\nexport { mappingUserTag };\n\n/**\n * Directive to provide Angular integration for the mapping user element used by the rich-text-mention-users element.\n */\n@Directive({\n selector: 'nimble-mapping-user'\n})\nexport class NimbleMappingUserDirective
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-user.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/user/nimble-mapping-user.directive.ts","../../../../projects/ni/nimble-angular/mapping/user/nimble-mapping-user.module.ts","../../../../projects/ni/nimble-angular/mapping/user/ni-nimble-angular-mapping-user.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';\nimport { type MappingUser, mappingUserTag } from '@ni/nimble-components/dist/esm/mapping/user';\nimport type { MappingUserKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingUser, MappingUserKey };\nexport { mappingUserTag };\n\n/**\n * Directive to provide Angular integration for the mapping user element used by the rich-text-mention-users element.\n */\n@Directive({\n selector: 'nimble-mapping-user'\n})\nexport class NimbleMappingUserDirective extends NimbleMappingDirective<MappingUserKey> {\n public get displayName(): string | undefined {\n return this.elementRef.nativeElement.displayName;\n }\n\n @Input('display-name') public set displayName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'displayName', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<MappingUser>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleMappingUserDirective } from './nimble-mapping-user.directive';\n\nimport '@ni/nimble-components/dist/esm/mapping/user';\n\n@NgModule({\n declarations: [NimbleMappingUserDirective],\n imports: [CommonModule],\n exports: [NimbleMappingUserDirective]\n})\nexport class NimbleMappingUserModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;AAIG,MAA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A,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;AAE3B,uBAAA,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;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;iBACxC,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Base class for mapping configuration elements
|
|
6
|
+
*/
|
|
7
|
+
class NimbleMappingDirective {
|
|
8
|
+
constructor(renderer, elementRef) {
|
|
9
|
+
this.renderer = renderer;
|
|
10
|
+
this.elementRef = elementRef;
|
|
11
|
+
}
|
|
12
|
+
get key() {
|
|
13
|
+
return this.elementRef.nativeElement.key;
|
|
14
|
+
}
|
|
15
|
+
set key(value) {
|
|
16
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
NimbleMappingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
NimbleMappingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingDirective, inputs: { key: "key" }, ngImport: i0 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingDirective, decorators: [{
|
|
22
|
+
type: Directive
|
|
23
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { key: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}] } });
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Generated bundle index. Do not edit.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
export { NimbleMappingDirective };
|
|
32
|
+
//# sourceMappingURL=ni-nimble-angular-mapping-base.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-base.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/base/nimble-mapping-base.directive.ts","../../../../projects/ni/nimble-angular/mapping/base/ni-nimble-angular-mapping-base.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { Mapping } from '@ni/nimble-components/dist/esm/mapping/base';\n\n/**\n * Base class for mapping configuration elements\n */\n@Directive()\nexport class NimbleMappingDirective<T> {\n public get key(): T | undefined {\n return this.elementRef.nativeElement.key;\n }\n\n @Input() public set key(value: T | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<Mapping<T>>) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAGA;;AAEG;MAEU,sBAAsB,CAAA;IAS/B,WAAsC,CAAA,QAAmB,EAAqB,UAAkC,EAAA;QAA1E,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAwB;KAAI;AARpH,IAAA,IAAW,GAAG,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;KAC5C;IAED,IAAoB,GAAG,CAAC,KAAoB,EAAA;AACxC,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;KAC1E;;oHAPQ,sBAAsB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;wGAAtB,sBAAsB,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,KAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC,SAAS;yHAMc,GAAG,EAAA,CAAA;sBAAtB,KAAK;;;ACZV;;AAEG;;;;"}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
3
4
|
export { mappingIconTag } from '@ni/nimble-components/dist/esm/mapping/icon';
|
|
4
5
|
import { CommonModule } from '@angular/common';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Directive to provide Angular integration for the mapping icon element used by the icon column.
|
|
8
9
|
*/
|
|
9
|
-
class NimbleMappingIconDirective {
|
|
10
|
+
class NimbleMappingIconDirective extends NimbleMappingDirective {
|
|
10
11
|
constructor(renderer, elementRef) {
|
|
12
|
+
super(renderer, elementRef);
|
|
11
13
|
this.renderer = renderer;
|
|
12
14
|
this.elementRef = elementRef;
|
|
13
15
|
}
|
|
14
|
-
get key() {
|
|
15
|
-
return this.elementRef.nativeElement.key;
|
|
16
|
-
}
|
|
17
|
-
set key(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
19
|
-
}
|
|
20
16
|
get text() {
|
|
21
17
|
return this.elementRef.nativeElement.text;
|
|
22
18
|
}
|
|
@@ -37,15 +33,13 @@ class NimbleMappingIconDirective {
|
|
|
37
33
|
}
|
|
38
34
|
}
|
|
39
35
|
NimbleMappingIconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingIconDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
-
NimbleMappingIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingIconDirective, selector: "nimble-mapping-icon", inputs: {
|
|
36
|
+
NimbleMappingIconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingIconDirective, selector: "nimble-mapping-icon", inputs: { text: "text", icon: "icon", severity: "severity" }, usesInheritance: true, ngImport: i0 });
|
|
41
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingIconDirective, decorators: [{
|
|
42
38
|
type: Directive,
|
|
43
39
|
args: [{
|
|
44
40
|
selector: 'nimble-mapping-icon'
|
|
45
41
|
}]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
47
|
-
type: Input
|
|
48
|
-
}], text: [{
|
|
42
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
49
43
|
type: Input
|
|
50
44
|
}], icon: [{
|
|
51
45
|
type: Input
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-mapping-icon.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/icon/nimble-mapping-icon.directive.ts","../../../../projects/ni/nimble-angular/mapping/icon/nimble-mapping-icon.module.ts","../../../../projects/ni/nimble-angular/mapping/icon/ni-nimble-angular-mapping-icon.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type MappingIcon, mappingIconTag } from '@ni/nimble-components/dist/esm/mapping/icon';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\nimport type { IconSeverity } from '@ni/nimble-components/dist/esm/icon-base/types';\n\nexport type { MappingIcon };\nexport { mappingIconTag };\n\n/**\n * Directive to provide Angular integration for the mapping icon element used by the icon column.\n */\n@Directive({\n selector: 'nimble-mapping-icon'\n})\nexport class NimbleMappingIconDirective
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-icon.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/icon/nimble-mapping-icon.directive.ts","../../../../projects/ni/nimble-angular/mapping/icon/nimble-mapping-icon.module.ts","../../../../projects/ni/nimble-angular/mapping/icon/ni-nimble-angular-mapping-icon.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';\nimport { type MappingIcon, mappingIconTag } from '@ni/nimble-components/dist/esm/mapping/icon';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\nimport type { IconSeverity } from '@ni/nimble-components/dist/esm/icon-base/types';\n\nexport type { MappingIcon };\nexport { mappingIconTag };\n\n/**\n * Directive to provide Angular integration for the mapping icon element used by the icon column.\n */\n@Directive({\n selector: 'nimble-mapping-icon'\n})\nexport class NimbleMappingIconDirective extends NimbleMappingDirective<MappingKey> {\n public get text(): string | undefined {\n return this.elementRef.nativeElement.text;\n }\n\n @Input() public set text(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'text', value);\n }\n\n public get icon(): string | undefined {\n return this.elementRef.nativeElement.icon;\n }\n\n @Input() public set icon(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'icon', value);\n }\n\n public get severity(): IconSeverity {\n return this.elementRef.nativeElement.severity;\n }\n\n @Input() public set severity(value: IconSeverity) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<MappingIcon>) {\n super(renderer, elementRef);\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleMappingIconDirective } from './nimble-mapping-icon.directive';\n\nimport '@ni/nimble-components/dist/esm/mapping/icon';\n\n@NgModule({\n declarations: [NimbleMappingIconDirective],\n imports: [CommonModule],\n exports: [NimbleMappingIconDirective]\n})\nexport class NimbleMappingIconModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AASA;;AAEG;AAIG,MAAO,0BAA2B,SAAQ,sBAAkC,CAAA;IAyB9E,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;AAC7G,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QADM,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;KAEhH;AA1BD,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC;KAC7C;IAED,IAAoB,IAAI,CAAC,KAAyB,EAAA;AAC9C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;KAC3E;AAED,IAAA,IAAW,IAAI,GAAA;AACX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AAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,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;AAE3B,uBAAA,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;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;;;;"}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
3
4
|
export { mappingSpinnerTag } from '@ni/nimble-components/dist/esm/mapping/spinner';
|
|
4
5
|
import { CommonModule } from '@angular/common';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Directive to provide Angular integration for the mapping spinner element used by the spinner column.
|
|
8
9
|
*/
|
|
9
|
-
class NimbleMappingSpinnerDirective {
|
|
10
|
+
class NimbleMappingSpinnerDirective extends NimbleMappingDirective {
|
|
10
11
|
constructor(renderer, elementRef) {
|
|
12
|
+
super(renderer, elementRef);
|
|
11
13
|
this.renderer = renderer;
|
|
12
14
|
this.elementRef = elementRef;
|
|
13
15
|
}
|
|
14
|
-
get key() {
|
|
15
|
-
return this.elementRef.nativeElement.key;
|
|
16
|
-
}
|
|
17
|
-
set key(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
19
|
-
}
|
|
20
16
|
get text() {
|
|
21
17
|
return this.elementRef.nativeElement.text;
|
|
22
18
|
}
|
|
@@ -25,15 +21,13 @@ class NimbleMappingSpinnerDirective {
|
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
NimbleMappingSpinnerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingSpinnerDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
NimbleMappingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingSpinnerDirective, selector: "nimble-mapping-spinner", inputs: {
|
|
24
|
+
NimbleMappingSpinnerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingSpinnerDirective, selector: "nimble-mapping-spinner", inputs: { text: "text" }, usesInheritance: true, ngImport: i0 });
|
|
29
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingSpinnerDirective, decorators: [{
|
|
30
26
|
type: Directive,
|
|
31
27
|
args: [{
|
|
32
28
|
selector: 'nimble-mapping-spinner'
|
|
33
29
|
}]
|
|
34
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
35
|
-
type: Input
|
|
36
|
-
}], text: [{
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
37
31
|
type: Input
|
|
38
32
|
}] } });
|
|
39
33
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-mapping-spinner.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/spinner/nimble-mapping-spinner.directive.ts","../../../../projects/ni/nimble-angular/mapping/spinner/nimble-mapping-spinner.module.ts","../../../../projects/ni/nimble-angular/mapping/spinner/ni-nimble-angular-mapping-spinner.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type MappingSpinner, mappingSpinnerTag } from '@ni/nimble-components/dist/esm/mapping/spinner';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingSpinner };\nexport { mappingSpinnerTag };\n\n/**\n * Directive to provide Angular integration for the mapping spinner element used by the spinner column.\n */\n@Directive({\n selector: 'nimble-mapping-spinner'\n})\nexport class NimbleMappingSpinnerDirective
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-spinner.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/spinner/nimble-mapping-spinner.directive.ts","../../../../projects/ni/nimble-angular/mapping/spinner/nimble-mapping-spinner.module.ts","../../../../projects/ni/nimble-angular/mapping/spinner/ni-nimble-angular-mapping-spinner.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';\nimport { type MappingSpinner, mappingSpinnerTag } from '@ni/nimble-components/dist/esm/mapping/spinner';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingSpinner };\nexport { mappingSpinnerTag };\n\n/**\n * Directive to provide Angular integration for the mapping spinner element used by the spinner column.\n */\n@Directive({\n selector: 'nimble-mapping-spinner'\n})\nexport class NimbleMappingSpinnerDirective extends NimbleMappingDirective<MappingKey> {\n public get text(): string | undefined {\n return this.elementRef.nativeElement.text;\n }\n\n @Input() public set text(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'text', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<MappingSpinner>) {\n super(renderer, elementRef);\n }\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleMappingSpinnerDirective } from './nimble-mapping-spinner.directive';\n\nimport '@ni/nimble-components/dist/esm/mapping/spinner';\n\n@NgModule({\n declarations: [NimbleMappingSpinnerDirective],\n imports: [CommonModule],\n exports: [NimbleMappingSpinnerDirective]\n})\nexport class NimbleMappingSpinnerModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;AAIG,MAAO,6BAA8B,SAAQ,sBAAkC,CAAA;IASjF,WAAsC,CAAA,QAAmB,EAAqB,UAAsC,EAAA;AAChH,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QADM,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAA4B;KAEnH;AAVD,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC;KAC7C;IAED,IAAoB,IAAI,CAAC,KAAyB,EAAA;AAC9C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;KAC3E;;2HAPQ,6BAA6B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;+GAA7B,6BAA6B,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAHzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,wBAAwB;AACrC,iBAAA,CAAA;yHAMuB,IAAI,EAAA,CAAA;sBAAvB,KAAK;;;MCRG,0BAA0B,CAAA;;wHAA1B,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAA1B,0BAAA,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;AAE9B,0BAAA,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;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;;;;"}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
3
4
|
export { mappingTextTag } from '@ni/nimble-components/dist/esm/mapping/text';
|
|
4
5
|
import { CommonModule } from '@angular/common';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Directive to provide Angular integration for the mapping text element used by the enum-text column.
|
|
8
9
|
*/
|
|
9
|
-
class NimbleMappingTextDirective {
|
|
10
|
+
class NimbleMappingTextDirective extends NimbleMappingDirective {
|
|
10
11
|
constructor(renderer, elementRef) {
|
|
12
|
+
super(renderer, elementRef);
|
|
11
13
|
this.renderer = renderer;
|
|
12
14
|
this.elementRef = elementRef;
|
|
13
15
|
}
|
|
14
|
-
get key() {
|
|
15
|
-
return this.elementRef.nativeElement.key;
|
|
16
|
-
}
|
|
17
|
-
set key(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
19
|
-
}
|
|
20
16
|
get text() {
|
|
21
17
|
return this.elementRef.nativeElement.text;
|
|
22
18
|
}
|
|
@@ -25,15 +21,13 @@ class NimbleMappingTextDirective {
|
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
NimbleMappingTextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingTextDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
NimbleMappingTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingTextDirective, selector: "nimble-mapping-text", inputs: {
|
|
24
|
+
NimbleMappingTextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingTextDirective, selector: "nimble-mapping-text", inputs: { text: "text" }, usesInheritance: true, ngImport: i0 });
|
|
29
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingTextDirective, decorators: [{
|
|
30
26
|
type: Directive,
|
|
31
27
|
args: [{
|
|
32
28
|
selector: 'nimble-mapping-text'
|
|
33
29
|
}]
|
|
34
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
35
|
-
type: Input
|
|
36
|
-
}], text: [{
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { text: [{
|
|
37
31
|
type: Input
|
|
38
32
|
}] } });
|
|
39
33
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-mapping-text.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/text/nimble-mapping-text.directive.ts","../../../../projects/ni/nimble-angular/mapping/text/nimble-mapping-text.module.ts","../../../../projects/ni/nimble-angular/mapping/text/ni-nimble-angular-mapping-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type MappingText, mappingTextTag } from '@ni/nimble-components/dist/esm/mapping/text';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingText, MappingKey };\nexport { mappingTextTag };\n\n/**\n * Directive to provide Angular integration for the mapping text element used by the enum-text column.\n */\n@Directive({\n selector: 'nimble-mapping-text'\n})\nexport class NimbleMappingTextDirective
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-text.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/text/nimble-mapping-text.directive.ts","../../../../projects/ni/nimble-angular/mapping/text/nimble-mapping-text.module.ts","../../../../projects/ni/nimble-angular/mapping/text/ni-nimble-angular-mapping-text.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';\nimport { type MappingText, mappingTextTag } from '@ni/nimble-components/dist/esm/mapping/text';\nimport type { MappingKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingText, MappingKey };\nexport { mappingTextTag };\n\n/**\n * Directive to provide Angular integration for the mapping text element used by the enum-text column.\n */\n@Directive({\n selector: 'nimble-mapping-text'\n})\nexport class NimbleMappingTextDirective extends NimbleMappingDirective<MappingKey> {\n public get text(): string | undefined {\n return this.elementRef.nativeElement.text;\n }\n\n @Input() public set text(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'text', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<MappingText>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleMappingTextDirective } from './nimble-mapping-text.directive';\n\nimport '@ni/nimble-components/dist/esm/mapping/text';\n\n@NgModule({\n declarations: [NimbleMappingTextDirective],\n imports: [CommonModule],\n exports: [NimbleMappingTextDirective]\n})\nexport class NimbleMappingTextModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;AAIG,MAAO,0BAA2B,SAAQ,sBAAkC,CAAA;IAS9E,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;AAC7G,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QADM,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;KAEhH;AAVD,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC;KAC7C;IAED,IAAoB,IAAI,CAAC,KAAyB,EAAA;AAC9C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;KAC3E;;wHAPQ,0BAA0B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAA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,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, Input, NgModule } from '@angular/core';
|
|
3
|
+
import { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';
|
|
3
4
|
export { mappingUserTag } from '@ni/nimble-components/dist/esm/mapping/user';
|
|
4
5
|
import { CommonModule } from '@angular/common';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Directive to provide Angular integration for the mapping user element used by the rich-text-mention-users element.
|
|
8
9
|
*/
|
|
9
|
-
class NimbleMappingUserDirective {
|
|
10
|
+
class NimbleMappingUserDirective extends NimbleMappingDirective {
|
|
10
11
|
constructor(renderer, elementRef) {
|
|
12
|
+
super(renderer, elementRef);
|
|
11
13
|
this.renderer = renderer;
|
|
12
14
|
this.elementRef = elementRef;
|
|
13
15
|
}
|
|
14
|
-
get key() {
|
|
15
|
-
return this.elementRef.nativeElement.key;
|
|
16
|
-
}
|
|
17
|
-
set key(value) {
|
|
18
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);
|
|
19
|
-
}
|
|
20
16
|
get displayName() {
|
|
21
17
|
return this.elementRef.nativeElement.displayName;
|
|
22
18
|
}
|
|
@@ -25,15 +21,13 @@ class NimbleMappingUserDirective {
|
|
|
25
21
|
}
|
|
26
22
|
}
|
|
27
23
|
NimbleMappingUserDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingUserDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
NimbleMappingUserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingUserDirective, selector: "nimble-mapping-user", inputs: {
|
|
24
|
+
NimbleMappingUserDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleMappingUserDirective, selector: "nimble-mapping-user", inputs: { displayName: ["display-name", "displayName"] }, usesInheritance: true, ngImport: i0 });
|
|
29
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleMappingUserDirective, decorators: [{
|
|
30
26
|
type: Directive,
|
|
31
27
|
args: [{
|
|
32
28
|
selector: 'nimble-mapping-user'
|
|
33
29
|
}]
|
|
34
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: {
|
|
35
|
-
type: Input
|
|
36
|
-
}], displayName: [{
|
|
30
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { displayName: [{
|
|
37
31
|
type: Input,
|
|
38
32
|
args: ['display-name']
|
|
39
33
|
}] } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ni-nimble-angular-mapping-user.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/user/nimble-mapping-user.directive.ts","../../../../projects/ni/nimble-angular/mapping/user/nimble-mapping-user.module.ts","../../../../projects/ni/nimble-angular/mapping/user/ni-nimble-angular-mapping-user.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type MappingUser, mappingUserTag } from '@ni/nimble-components/dist/esm/mapping/user';\nimport type { MappingUserKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingUser, MappingUserKey };\nexport { mappingUserTag };\n\n/**\n * Directive to provide Angular integration for the mapping user element used by the rich-text-mention-users element.\n */\n@Directive({\n selector: 'nimble-mapping-user'\n})\nexport class NimbleMappingUserDirective
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-mapping-user.mjs","sources":["../../../../projects/ni/nimble-angular/mapping/user/nimble-mapping-user.directive.ts","../../../../projects/ni/nimble-angular/mapping/user/nimble-mapping-user.module.ts","../../../../projects/ni/nimble-angular/mapping/user/ni-nimble-angular-mapping-user.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { NimbleMappingDirective } from '@ni/nimble-angular/mapping/base';\nimport { type MappingUser, mappingUserTag } from '@ni/nimble-components/dist/esm/mapping/user';\nimport type { MappingUserKey } from '@ni/nimble-components/dist/esm/mapping/base/types';\n\nexport type { MappingUser, MappingUserKey };\nexport { mappingUserTag };\n\n/**\n * Directive to provide Angular integration for the mapping user element used by the rich-text-mention-users element.\n */\n@Directive({\n selector: 'nimble-mapping-user'\n})\nexport class NimbleMappingUserDirective extends NimbleMappingDirective<MappingUserKey> {\n public get displayName(): string | undefined {\n return this.elementRef.nativeElement.displayName;\n }\n\n @Input('display-name') public set displayName(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'displayName', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<MappingUser>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleMappingUserDirective } from './nimble-mapping-user.directive';\n\nimport '@ni/nimble-components/dist/esm/mapping/user';\n\n@NgModule({\n declarations: [NimbleMappingUserDirective],\n imports: [CommonModule],\n exports: [NimbleMappingUserDirective]\n})\nexport class NimbleMappingUserModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;AAIG,MAAO,0BAA2B,SAAQ,sBAAsC,CAAA;IASlF,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;AAC7G,QAAA,KAAK,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAC;QADM,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;KAEhH;AAVD,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC;KACpD;IAED,IAA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SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,YAHtB,YAAY,CAAA,EAAA,CAAA,CAAA;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,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",
|