@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.
Files changed (59) hide show
  1. package/esm2020/mapping/base/ni-nimble-angular-mapping-base.mjs +5 -0
  2. package/esm2020/mapping/base/nimble-mapping-base.directive.mjs +25 -0
  3. package/esm2020/mapping/base/public-api.mjs +2 -0
  4. package/esm2020/mapping/icon/nimble-mapping-icon.directive.mjs +6 -12
  5. package/esm2020/mapping/spinner/nimble-mapping-spinner.directive.mjs +6 -12
  6. package/esm2020/mapping/text/nimble-mapping-text.directive.mjs +6 -12
  7. package/esm2020/mapping/user/nimble-mapping-user.directive.mjs +6 -12
  8. package/esm2020/unit/byte/ni-nimble-angular-unit-byte.mjs +5 -0
  9. package/esm2020/unit/byte/nimble-unit-byte.directive.mjs +31 -0
  10. package/esm2020/unit/byte/nimble-unit-byte.module.mjs +19 -0
  11. package/esm2020/unit/byte/public-api.mjs +3 -0
  12. package/esm2020/unit/volt/ni-nimble-angular-unit-volt.mjs +5 -0
  13. package/esm2020/unit/volt/nimble-unit-volt.directive.mjs +18 -0
  14. package/esm2020/unit/volt/nimble-unit-volt.module.mjs +19 -0
  15. package/esm2020/unit/volt/public-api.mjs +3 -0
  16. package/fesm2015/ni-nimble-angular-mapping-base.mjs +32 -0
  17. package/fesm2015/ni-nimble-angular-mapping-base.mjs.map +1 -0
  18. package/fesm2015/ni-nimble-angular-mapping-icon.mjs +5 -11
  19. package/fesm2015/ni-nimble-angular-mapping-icon.mjs.map +1 -1
  20. package/fesm2015/ni-nimble-angular-mapping-spinner.mjs +5 -11
  21. package/fesm2015/ni-nimble-angular-mapping-spinner.mjs.map +1 -1
  22. package/fesm2015/ni-nimble-angular-mapping-text.mjs +5 -11
  23. package/fesm2015/ni-nimble-angular-mapping-text.mjs.map +1 -1
  24. package/fesm2015/ni-nimble-angular-mapping-user.mjs +5 -11
  25. package/fesm2015/ni-nimble-angular-mapping-user.mjs.map +1 -1
  26. package/fesm2015/ni-nimble-angular-unit-byte.mjs +52 -0
  27. package/fesm2015/ni-nimble-angular-unit-byte.mjs.map +1 -0
  28. package/fesm2015/ni-nimble-angular-unit-volt.mjs +39 -0
  29. package/fesm2015/ni-nimble-angular-unit-volt.mjs.map +1 -0
  30. package/fesm2020/ni-nimble-angular-mapping-base.mjs +32 -0
  31. package/fesm2020/ni-nimble-angular-mapping-base.mjs.map +1 -0
  32. package/fesm2020/ni-nimble-angular-mapping-icon.mjs +5 -11
  33. package/fesm2020/ni-nimble-angular-mapping-icon.mjs.map +1 -1
  34. package/fesm2020/ni-nimble-angular-mapping-spinner.mjs +5 -11
  35. package/fesm2020/ni-nimble-angular-mapping-spinner.mjs.map +1 -1
  36. package/fesm2020/ni-nimble-angular-mapping-text.mjs +5 -11
  37. package/fesm2020/ni-nimble-angular-mapping-text.mjs.map +1 -1
  38. package/fesm2020/ni-nimble-angular-mapping-user.mjs +5 -11
  39. package/fesm2020/ni-nimble-angular-mapping-user.mjs.map +1 -1
  40. package/fesm2020/ni-nimble-angular-unit-byte.mjs +52 -0
  41. package/fesm2020/ni-nimble-angular-unit-byte.mjs.map +1 -0
  42. package/fesm2020/ni-nimble-angular-unit-volt.mjs +39 -0
  43. package/fesm2020/ni-nimble-angular-unit-volt.mjs.map +1 -0
  44. package/mapping/base/index.d.ts +5 -0
  45. package/mapping/base/nimble-mapping-base.directive.d.ts +15 -0
  46. package/mapping/base/public-api.d.ts +1 -0
  47. package/mapping/icon/nimble-mapping-icon.directive.d.ts +3 -4
  48. package/mapping/spinner/nimble-mapping-spinner.directive.d.ts +3 -4
  49. package/mapping/text/nimble-mapping-text.directive.d.ts +3 -4
  50. package/mapping/user/nimble-mapping-user.directive.d.ts +3 -4
  51. package/package.json +25 -1
  52. package/unit/byte/index.d.ts +5 -0
  53. package/unit/byte/nimble-unit-byte.directive.d.ts +18 -0
  54. package/unit/byte/nimble-unit-byte.module.d.ts +9 -0
  55. package/unit/byte/public-api.d.ts +2 -0
  56. package/unit/volt/index.d.ts +5 -0
  57. package/unit/volt/nimble-unit-volt.directive.d.ts +11 -0
  58. package/unit/volt/nimble-unit-volt.module.d.ts +9 -0
  59. package/unit/volt/public-api.d.ts +2 -0
@@ -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: { key: "key", text: "text" }, ngImport: i0 });
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: { key: [{
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 {\n public get key(): MappingKey | undefined {\n return this.elementRef.nativeElement.key;\n }\n\n @Input() public set key(value: MappingKey | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);\n }\n\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}\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":";;;;;AAOA;;AAEG;MAIU,0BAA0B,CAAA;IAiBnC,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;AAA3E,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;KAAI;AAhBrH,IAAA,IAAW,GAAG,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;KAC5C;IAED,IAAoB,GAAG,CAAC,KAA6B,EAAA;AACjD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;KAC1E;AAED,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;;wHAfQ,0BAA0B,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;4GAA1B,0BAA0B,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,EAAA,GAAA,EAAA,KAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAHtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,qBAAqB;iBAClC,CAAA;yHAMuB,GAAG,EAAA,CAAA;sBAAtB,KAAK;gBAQc,IAAI,EAAA,CAAA;sBAAvB,KAAK;;;MCfG,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,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;iBACxC,CAAA;;;ACVD;;AAEG;;;;"}
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,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC;KAC7C;IAED,IAAoB,IA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B,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: { key: "key", displayName: ["display-name", "displayName"] }, ngImport: i0 });
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: { key: [{
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 {\n public get key(): MappingUserKey | undefined {\n return this.elementRef.nativeElement.key;\n }\n\n @Input() public set key(value: MappingUserKey | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);\n }\n\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}\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":";;;;;AAOA;;AAEG;MAIU,0BAA0B,CAAA;IAiBnC,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;AAA3E,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;KAAI;AAhBrH,IAAA,IAAW,GAAG,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;KAC5C;IAED,IAAoB,GAAG,CAAC,KAAiC,EAAA;AACrD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;KAC1E;AAED,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC;KACpD;IAED,IAAkC,WAAW,CAAC,KAAyB,EAAA;AACnE,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;KAClF;;wHAfQ,0BAA0B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAA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AAY,CAAC;oBACvB,OAAO,EAAE,CAAC,0BAA0B,CAAC;iBACxC,CAAA;;;ACVD;;AAEG;;;;"}
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,EAA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AAA,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,52 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, Input, NgModule } from '@angular/core';
3
+ export { unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';
4
+ import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
5
+ import { CommonModule } from '@angular/common';
6
+
7
+ /**
8
+ * Directive to provide Angular integration for the byte unit element used by the number-text column.
9
+ */
10
+ class NimbleUnitByteDirective {
11
+ constructor(renderer, elementRef) {
12
+ this.renderer = renderer;
13
+ this.elementRef = elementRef;
14
+ }
15
+ get binary() {
16
+ return this.elementRef.nativeElement.binary;
17
+ }
18
+ set binary(value) {
19
+ this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));
20
+ }
21
+ }
22
+ NimbleUnitByteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
23
+ NimbleUnitByteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleUnitByteDirective, selector: "nimble-unit-byte", inputs: { binary: "binary" }, ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{
27
+ selector: 'nimble-unit-byte'
28
+ }]
29
+ }], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i0.ElementRef }]; }, propDecorators: { binary: [{
30
+ type: Input
31
+ }] } });
32
+
33
+ class NimbleUnitByteModule {
34
+ }
35
+ NimbleUnitByteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
36
+ NimbleUnitByteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, declarations: [NimbleUnitByteDirective], imports: [CommonModule], exports: [NimbleUnitByteDirective] });
37
+ NimbleUnitByteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, imports: [CommonModule] });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitByteModule, decorators: [{
39
+ type: NgModule,
40
+ args: [{
41
+ declarations: [NimbleUnitByteDirective],
42
+ imports: [CommonModule],
43
+ exports: [NimbleUnitByteDirective]
44
+ }]
45
+ }] });
46
+
47
+ /**
48
+ * Generated bundle index. Do not edit.
49
+ */
50
+
51
+ export { NimbleUnitByteDirective, NimbleUnitByteModule };
52
+ //# sourceMappingURL=ni-nimble-angular-unit-byte.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-nimble-angular-unit-byte.mjs","sources":["../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.directive.ts","../../../../projects/ni/nimble-angular/unit/byte/nimble-unit-byte.module.ts","../../../../projects/ni/nimble-angular/unit/byte/ni-nimble-angular-unit-byte.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type UnitByte, unitByteTag } from '@ni/nimble-components/dist/esm/unit/byte';\nimport { toBooleanProperty, type BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';\n\nexport type { UnitByte };\nexport { unitByteTag };\n\n/**\n * Directive to provide Angular integration for the byte unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-byte'\n})\nexport class NimbleUnitByteDirective {\n public get binary(): boolean {\n return this.elementRef.nativeElement.binary;\n }\n\n @Input() public set binary(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'binary', toBooleanProperty(value));\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<UnitByte>) {}\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitByteDirective } from './nimble-unit-byte.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/byte';\n\n@NgModule({\n declarations: [NimbleUnitByteDirective],\n imports: [CommonModule],\n exports: [NimbleUnitByteDirective]\n})\nexport class NimbleUnitByteModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAOA;;AAEG;MAIU,uBAAuB,CAAA;IAShC,WAAsC,CAAA,QAAmB,EAAqB,UAAgC,EAAA;AAAxE,QAAA,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAAqB,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAsB;KAAI;AARlH,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,CAAC;KAC/C;IAED,IAAoB,MAAM,CAAC,KAA8B,EAAA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AA,CAAA;4FAGb,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,uBAAuB,CAAC;iBACrC,CAAA;;;ACVD;;AAEG;;;;"}
@@ -0,0 +1,39 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive, NgModule } from '@angular/core';
3
+ export { unitVoltTag } from '@ni/nimble-components/dist/esm/unit/volt';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ /**
7
+ * Directive to provide Angular integration for the volt unit element used by the number-text column.
8
+ */
9
+ class NimbleUnitVoltDirective {
10
+ }
11
+ NimbleUnitVoltDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
12
+ NimbleUnitVoltDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: NimbleUnitVoltDirective, selector: "nimble-unit-volt", ngImport: i0 });
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltDirective, decorators: [{
14
+ type: Directive,
15
+ args: [{
16
+ selector: 'nimble-unit-volt'
17
+ }]
18
+ }] });
19
+
20
+ class NimbleUnitVoltModule {
21
+ }
22
+ NimbleUnitVoltModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
23
+ NimbleUnitVoltModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, declarations: [NimbleUnitVoltDirective], imports: [CommonModule], exports: [NimbleUnitVoltDirective] });
24
+ NimbleUnitVoltModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, imports: [CommonModule] });
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NimbleUnitVoltModule, decorators: [{
26
+ type: NgModule,
27
+ args: [{
28
+ declarations: [NimbleUnitVoltDirective],
29
+ imports: [CommonModule],
30
+ exports: [NimbleUnitVoltDirective]
31
+ }]
32
+ }] });
33
+
34
+ /**
35
+ * Generated bundle index. Do not edit.
36
+ */
37
+
38
+ export { NimbleUnitVoltDirective, NimbleUnitVoltModule };
39
+ //# sourceMappingURL=ni-nimble-angular-unit-volt.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ni-nimble-angular-unit-volt.mjs","sources":["../../../../projects/ni/nimble-angular/unit/volt/nimble-unit-volt.directive.ts","../../../../projects/ni/nimble-angular/unit/volt/nimble-unit-volt.module.ts","../../../../projects/ni/nimble-angular/unit/volt/ni-nimble-angular-unit-volt.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { type UnitVolt, unitVoltTag } from '@ni/nimble-components/dist/esm/unit/volt';\n\nexport type { UnitVolt };\nexport { unitVoltTag };\n\n/**\n * Directive to provide Angular integration for the volt unit element used by the number-text column.\n */\n@Directive({\n selector: 'nimble-unit-volt'\n})\nexport class NimbleUnitVoltDirective {\n}","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleUnitVoltDirective } from './nimble-unit-volt.directive';\n\nimport '@ni/nimble-components/dist/esm/unit/volt';\n\n@NgModule({\n declarations: [NimbleUnitVoltDirective],\n imports: [CommonModule],\n exports: [NimbleUnitVoltDirective]\n})\nexport class NimbleUnitVoltModule { }","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAMA;;AAEG;MAIU,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAA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+ */
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: { key: "key", text: "text", icon: "icon", severity: "severity" }, ngImport: i0 });
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: { key: [{
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 {\n public get key(): MappingKey | undefined {\n return this.elementRef.nativeElement.key;\n }\n\n @Input() public set key(value: MappingKey | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);\n }\n\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}","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":";;;;;AAQA;;AAEG;MAIU,0BAA0B,CAAA;IAiCnC,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;QAA3E,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;KAAI;AAhCrH,IAAA,IAAW,GAAG,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;KAC5C;IAED,IAAoB,GAAG,CAAC,KAA6B,EAAA;AACjD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;KAC1E;AAED,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,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,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC;KACjD;IAED,IAAoB,QAAQ,CAAC,KAAmB,EAAA;AAC5C,QAAA,IAA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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,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
+ {"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,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,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A,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: { key: "key", text: "text" }, ngImport: i0 });
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: { key: [{
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 {\n public get key(): MappingKey | undefined {\n return this.elementRef.nativeElement.key;\n }\n\n @Input() public set key(value: MappingKey | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);\n }\n\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}","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":";;;;;AAOA;;AAEG;MAIU,6BAA6B,CAAA;IAiBtC,WAAsC,CAAA,QAAmB,EAAqB,UAAsC,EAAA;QAA9E,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAA4B;KAAI;AAhBxH,IAAA,IAAW,GAAG,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;KAC5C;IAED,IAAoB,GAAG,CAAC,KAA6B,EAAA;AACjD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;KAC1E;AAED,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,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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
+ {"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: { key: "key", text: "text" }, ngImport: i0 });
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: { key: [{
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 {\n public get key(): MappingKey | undefined {\n return this.elementRef.nativeElement.key;\n }\n\n @Input() public set key(value: MappingKey | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);\n }\n\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}\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":";;;;;AAOA;;AAEG;MAIU,0BAA0B,CAAA;IAiBnC,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;QAA3E,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;KAAI;AAhBrH,IAAA,IAAW,GAAG,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC;KAC5C;IAED,IAAoB,GAAG,CAAC,KAA6B,EAAA;AACjD,QAAA,IAAI,CAAC,QAAQ,CAAC,WA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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
+ {"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,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;4GAA1B,0BAA0B,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAHtC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,qBAAqB;AAClC,iBAAA,CAAA;yHAMuB,IAAI,EAAA,CAAA;sBAAvB,KAAK;;;MCRG,uBAAuB,CAAA;;qHAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,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 { 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: { key: "key", displayName: ["display-name", "displayName"] }, ngImport: i0 });
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: { key: [{
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 {\n public get key(): MappingUserKey | undefined {\n return this.elementRef.nativeElement.key;\n }\n\n @Input() public set key(value: MappingUserKey | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'key', value);\n }\n\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}\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":";;;;;AAOA;;AAEG;MAIU,0BAA0B,CAAA;IAiBnC,WAAsC,CAAA,QAAmB,EAAqB,UAAmC,EAAA;QAA3E,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;QAAqB,IAAU,CAAA,UAAA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AAA,EAAA,EAAA,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
+ {"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,IAAkC,WAAW,CAAC,KAAyB,EAAA;AACnE,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;KAClF;;wHAPQ,0BAA0B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAA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