@ni/nimble-angular 1.0.0-beta.124 → 1.0.0-beta.128

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 (116) hide show
  1. package/bundles/ni-nimble-angular.umd.js +636 -373
  2. package/bundles/ni-nimble-angular.umd.js.map +1 -1
  3. package/directives/button/nimble-button.directive.d.ts +9 -2
  4. package/directives/drawer/nimble-drawer.directive.d.ts +11 -7
  5. package/directives/listbox-option/nimble-listbox-option.directive.d.ts +6 -3
  6. package/directives/menu-item/nimble-menu-item.directive.d.ts +7 -1
  7. package/directives/{control-value-accessor/nimble-number-control-value-accessor.directive.d.ts → number-field/nimble-number-field-control-value-accessor.directive.d.ts} +1 -1
  8. package/directives/number-field/nimble-number-field.directive.d.ts +15 -5
  9. package/directives/tab/nimble-tab.directive.d.ts +7 -1
  10. package/directives/tabs/nimble-tabs.directive.d.ts +7 -5
  11. package/directives/{control-value-accessor/nimble-default-control-value-accessor.directive.d.ts → text-field/nimble-text-field-control-value-accessor.directive.d.ts} +1 -1
  12. package/directives/text-field/nimble-text-field.directive.d.ts +7 -1
  13. package/directives/theme-provider/nimble-theme-provider.directive.d.ts +7 -1
  14. package/directives/tree-item/nimble-tree-item.directive.d.ts +11 -7
  15. package/directives/tree-view/nimble-tree-view.directive.d.ts +6 -1
  16. package/directives/utilities/template-value-helpers.d.ts +18 -0
  17. package/esm2015/directives/button/nimble-button.directive.js +25 -4
  18. package/esm2015/directives/button/nimble-button.directive.ngsummary.json +1 -1
  19. package/esm2015/directives/drawer/nimble-drawer.directive.js +29 -13
  20. package/esm2015/directives/drawer/nimble-drawer.directive.ngsummary.json +1 -1
  21. package/esm2015/directives/listbox-option/nimble-listbox-option.directive.js +15 -6
  22. package/esm2015/directives/listbox-option/nimble-listbox-option.directive.ngsummary.json +1 -1
  23. package/esm2015/directives/menu-item/nimble-menu-item.directive.js +18 -3
  24. package/esm2015/directives/menu-item/nimble-menu-item.directive.ngsummary.json +1 -1
  25. package/esm2015/directives/number-field/nimble-number-field-control-value-accessor.directive.js +24 -0
  26. package/esm2015/directives/{control-value-accessor/nimble-number-control-value-accessor.directive.ngsummary.json → number-field/nimble-number-field-control-value-accessor.directive.ngsummary.json} +1 -1
  27. package/esm2015/directives/number-field/nimble-number-field.directive.js +46 -7
  28. package/esm2015/directives/number-field/nimble-number-field.directive.ngsummary.json +1 -1
  29. package/esm2015/directives/number-field/nimble-number-field.module.js +5 -6
  30. package/esm2015/directives/number-field/nimble-number-field.module.ngfactory.js +2 -3
  31. package/esm2015/directives/number-field/nimble-number-field.module.ngsummary.json +1 -1
  32. package/esm2015/directives/tab/nimble-tab.directive.js +18 -3
  33. package/esm2015/directives/tab/nimble-tab.directive.ngsummary.json +1 -1
  34. package/esm2015/directives/tabs/nimble-tabs.directive.js +18 -8
  35. package/esm2015/directives/tabs/nimble-tabs.directive.ngsummary.json +1 -1
  36. package/esm2015/directives/text-field/nimble-text-field-control-value-accessor.directive.js +29 -0
  37. package/esm2015/directives/{control-value-accessor/nimble-default-control-value-accessor.directive.ngsummary.json → text-field/nimble-text-field-control-value-accessor.directive.ngsummary.json} +1 -1
  38. package/esm2015/directives/text-field/nimble-text-field.directive.js +18 -3
  39. package/esm2015/directives/text-field/nimble-text-field.directive.ngsummary.json +1 -1
  40. package/esm2015/directives/text-field/nimble-text-field.module.js +5 -6
  41. package/esm2015/directives/text-field/nimble-text-field.module.ngfactory.js +2 -3
  42. package/esm2015/directives/text-field/nimble-text-field.module.ngsummary.json +1 -1
  43. package/esm2015/directives/theme-provider/nimble-theme-provider.directive.js +17 -3
  44. package/esm2015/directives/theme-provider/nimble-theme-provider.directive.ngsummary.json +1 -1
  45. package/esm2015/directives/tree-item/nimble-tree-item.directive.js +32 -12
  46. package/esm2015/directives/tree-item/nimble-tree-item.directive.ngsummary.json +1 -1
  47. package/esm2015/directives/tree-view/nimble-tree-view.directive.js +17 -3
  48. package/esm2015/directives/tree-view/nimble-tree-view.directive.ngsummary.json +1 -1
  49. package/esm2015/directives/utilities/template-value-helpers.js +32 -0
  50. package/esm2015/directives/utilities/template-value-helpers.ngsummary.json +1 -0
  51. package/esm2015/ni-nimble-angular.ngsummary.json +1 -1
  52. package/esm2015/public-api.js +37 -18
  53. package/esm2015/public-api.ngsummary.json +1 -1
  54. package/fesm2015/ni-nimble-angular.js +497 -297
  55. package/fesm2015/ni-nimble-angular.js.map +1 -1
  56. package/ni-nimble-angular.metadata.json +1 -1
  57. package/package.json +2 -2
  58. package/public-api.d.ts +36 -17
  59. package/directives/button/index.d.ts +0 -2
  60. package/directives/checkbox/index.d.ts +0 -3
  61. package/directives/control-value-accessor/index.d.ts +0 -3
  62. package/directives/control-value-accessor/nimble-control-value-accessor.module.d.ts +0 -2
  63. package/directives/control-value-accessor/nimble-control-value-accessor.module.ngfactory.d.ts +0 -3
  64. package/directives/drawer/index.d.ts +0 -2
  65. package/directives/listbox-option/index.d.ts +0 -2
  66. package/directives/menu/index.d.ts +0 -2
  67. package/directives/menu-item/index.d.ts +0 -2
  68. package/directives/number-field/index.d.ts +0 -2
  69. package/directives/select/index.d.ts +0 -3
  70. package/directives/tab/index.d.ts +0 -2
  71. package/directives/tab-panel/index.d.ts +0 -2
  72. package/directives/tabs/index.d.ts +0 -2
  73. package/directives/tabs-toolbar/index.d.ts +0 -2
  74. package/directives/text-field/index.d.ts +0 -2
  75. package/directives/theme-provider/index.d.ts +0 -2
  76. package/directives/tree-item/index.d.ts +0 -2
  77. package/directives/tree-view/index.d.ts +0 -2
  78. package/esm2015/directives/button/index.js +0 -3
  79. package/esm2015/directives/button/index.ngsummary.json +0 -1
  80. package/esm2015/directives/checkbox/index.js +0 -4
  81. package/esm2015/directives/checkbox/index.ngsummary.json +0 -1
  82. package/esm2015/directives/control-value-accessor/index.js +0 -4
  83. package/esm2015/directives/control-value-accessor/index.ngsummary.json +0 -1
  84. package/esm2015/directives/control-value-accessor/nimble-control-value-accessor.module.js +0 -14
  85. package/esm2015/directives/control-value-accessor/nimble-control-value-accessor.module.ngfactory.js +0 -12
  86. package/esm2015/directives/control-value-accessor/nimble-control-value-accessor.module.ngsummary.json +0 -1
  87. package/esm2015/directives/control-value-accessor/nimble-default-control-value-accessor.directive.js +0 -29
  88. package/esm2015/directives/control-value-accessor/nimble-number-control-value-accessor.directive.js +0 -24
  89. package/esm2015/directives/drawer/index.js +0 -3
  90. package/esm2015/directives/drawer/index.ngsummary.json +0 -1
  91. package/esm2015/directives/listbox-option/index.js +0 -3
  92. package/esm2015/directives/listbox-option/index.ngsummary.json +0 -1
  93. package/esm2015/directives/menu/index.js +0 -3
  94. package/esm2015/directives/menu/index.ngsummary.json +0 -1
  95. package/esm2015/directives/menu-item/index.js +0 -3
  96. package/esm2015/directives/menu-item/index.ngsummary.json +0 -1
  97. package/esm2015/directives/number-field/index.js +0 -3
  98. package/esm2015/directives/number-field/index.ngsummary.json +0 -1
  99. package/esm2015/directives/select/index.js +0 -4
  100. package/esm2015/directives/select/index.ngsummary.json +0 -1
  101. package/esm2015/directives/tab/index.js +0 -3
  102. package/esm2015/directives/tab/index.ngsummary.json +0 -1
  103. package/esm2015/directives/tab-panel/index.js +0 -3
  104. package/esm2015/directives/tab-panel/index.ngsummary.json +0 -1
  105. package/esm2015/directives/tabs/index.js +0 -3
  106. package/esm2015/directives/tabs/index.ngsummary.json +0 -1
  107. package/esm2015/directives/tabs-toolbar/index.js +0 -3
  108. package/esm2015/directives/tabs-toolbar/index.ngsummary.json +0 -1
  109. package/esm2015/directives/text-field/index.js +0 -3
  110. package/esm2015/directives/text-field/index.ngsummary.json +0 -1
  111. package/esm2015/directives/theme-provider/index.js +0 -3
  112. package/esm2015/directives/theme-provider/index.ngsummary.json +0 -1
  113. package/esm2015/directives/tree-item/index.js +0 -3
  114. package/esm2015/directives/tree-item/index.ngsummary.json +0 -1
  115. package/esm2015/directives/tree-view/index.js +0 -3
  116. package/esm2015/directives/tree-view/index.ngsummary.json +0 -1
@@ -1,55 +1,97 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@ni/nimble-components/dist/esm/theme-provider/themes'), require('@ni/nimble-components/dist/esm/theme-provider'), require('@angular/forms'), require('@ni/nimble-components/dist/esm/text-field'), require('@ni/nimble-components/dist/esm/number-field'), require('@ni/nimble-components/dist/esm/select'), require('@ni/nimble-components/dist/esm/listbox-option'), require('@ni/nimble-components/dist/esm/button'), require('@ni/nimble-components/dist/esm/tree-view/types'), require('@ni/nimble-components/dist/esm/tree-view'), require('@ni/nimble-components/dist/esm/tree-item'), require('@ni/nimble-components/dist/esm/checkbox'), require('@ni/nimble-components/dist/esm/drawer/types'), require('@ni/nimble-components/dist/esm/drawer'), require('@ni/nimble-components/dist/esm/menu'), require('@ni/nimble-components/dist/esm/menu-item'), require('@ni/nimble-components/dist/esm/tabs'), require('@ni/nimble-components/dist/esm/tab'), require('@ni/nimble-components/dist/esm/tab-panel'), require('@ni/nimble-components/dist/esm/tabs-toolbar')) :
3
- typeof define === 'function' && define.amd ? define('@ni/nimble-angular', ['exports', '@angular/core', '@angular/common', '@ni/nimble-components/dist/esm/theme-provider/themes', '@ni/nimble-components/dist/esm/theme-provider', '@angular/forms', '@ni/nimble-components/dist/esm/text-field', '@ni/nimble-components/dist/esm/number-field', '@ni/nimble-components/dist/esm/select', '@ni/nimble-components/dist/esm/listbox-option', '@ni/nimble-components/dist/esm/button', '@ni/nimble-components/dist/esm/tree-view/types', '@ni/nimble-components/dist/esm/tree-view', '@ni/nimble-components/dist/esm/tree-item', '@ni/nimble-components/dist/esm/checkbox', '@ni/nimble-components/dist/esm/drawer/types', '@ni/nimble-components/dist/esm/drawer', '@ni/nimble-components/dist/esm/menu', '@ni/nimble-components/dist/esm/menu-item', '@ni/nimble-components/dist/esm/tabs', '@ni/nimble-components/dist/esm/tab', '@ni/nimble-components/dist/esm/tab-panel', '@ni/nimble-components/dist/esm/tabs-toolbar'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ni = global.ni || {}, global.ni['nimble-angular'] = {}), global.ng.core, global.ng.common, global.themes, null, global.ng.forms, null, null, null, null, null, global.types, null, null, null, global.types$1));
5
- }(this, (function (exports, core, common, themes, themeProvider, forms, textField, numberField, select, listboxOption, button, types, treeView, treeItem, checkbox, types$1) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@ni/nimble-components/dist/esm/button'), require('@angular/forms'), require('@ni/nimble-components/dist/esm/checkbox'), require('@ni/nimble-components/dist/esm/drawer/types'), require('@ni/nimble-components/dist/esm/drawer'), require('@ni/nimble-components/dist/esm/listbox-option'), require('@ni/nimble-components/dist/esm/menu'), require('@ni/nimble-components/dist/esm/menu-item'), require('@ni/nimble-components/dist/esm/number-field'), require('@ni/nimble-components/dist/esm/select'), require('@ni/nimble-components/dist/esm/tab'), require('@ni/nimble-components/dist/esm/tab-panel'), require('@ni/nimble-components/dist/esm/tabs'), require('@ni/nimble-components/dist/esm/tabs-toolbar'), require('@ni/nimble-components/dist/esm/text-field'), require('@ni/nimble-components/dist/esm/theme-provider/themes'), require('@ni/nimble-components/dist/esm/theme-provider'), require('@ni/nimble-components/dist/esm/tree-item'), require('@ni/nimble-components/dist/esm/tree-view/types'), require('@ni/nimble-components/dist/esm/tree-view')) :
3
+ typeof define === 'function' && define.amd ? define('@ni/nimble-angular', ['exports', '@angular/core', '@angular/common', '@ni/nimble-components/dist/esm/button', '@angular/forms', '@ni/nimble-components/dist/esm/checkbox', '@ni/nimble-components/dist/esm/drawer/types', '@ni/nimble-components/dist/esm/drawer', '@ni/nimble-components/dist/esm/listbox-option', '@ni/nimble-components/dist/esm/menu', '@ni/nimble-components/dist/esm/menu-item', '@ni/nimble-components/dist/esm/number-field', '@ni/nimble-components/dist/esm/select', '@ni/nimble-components/dist/esm/tab', '@ni/nimble-components/dist/esm/tab-panel', '@ni/nimble-components/dist/esm/tabs', '@ni/nimble-components/dist/esm/tabs-toolbar', '@ni/nimble-components/dist/esm/text-field', '@ni/nimble-components/dist/esm/theme-provider/themes', '@ni/nimble-components/dist/esm/theme-provider', '@ni/nimble-components/dist/esm/tree-item', '@ni/nimble-components/dist/esm/tree-view/types', '@ni/nimble-components/dist/esm/tree-view'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ni = global.ni || {}, global.ni['nimble-angular'] = {}), global.ng.core, global.ng.common, null, global.ng.forms, null, global.types, null, null, null, null, null, null, null, null, null, null, null, global.themes, null, null, global.types$1));
5
+ }(this, (function (exports, core, common, button, forms, checkbox, types, drawer, listboxOption, menu, menuItem, numberField, select, tab, tabPanel, tabs, tabsToolbar, textField, themes, themeProvider, treeItem, types$1) { 'use strict';
6
6
 
7
7
  /**
8
- * Directive for Angular integration for the theme provider
8
+ * Conversion helpers for values coming from Angular templates via
9
+ * strings specified in templates or via property bindings
9
10
  */
10
- var NimbleThemeProviderDirective = /** @class */ (function () {
11
- function NimbleThemeProviderDirective() {
11
+ /**
12
+ * Converts values from templates (empty string or null) or boolean bindings to a boolean property representation
13
+ */
14
+ var toBooleanProperty = function (value) {
15
+ if (value === false || value === null) {
16
+ return false;
12
17
  }
13
- return NimbleThemeProviderDirective;
18
+ // For boolean attributes the empty string value is true
19
+ return true;
20
+ };
21
+ /**
22
+ * Converts values from templates (empty string or null) or boolean bindings to an Aria boolean
23
+ * attribute representation (the strings "true" or "false")
24
+ */
25
+ var toBooleanAriaAttribute = function (value) {
26
+ if (value === false || value === null) {
27
+ return 'false';
28
+ }
29
+ // For boolean attributes the empty string value is true
30
+ return 'true';
31
+ };
32
+ /**
33
+ * Converts values from templates (number representation as a string) or number bindings to a number property representation
34
+ */
35
+ var toNumberProperty = function (value) {
36
+ return Number(value);
37
+ };
38
+
39
+ /**
40
+ * Directive to provide Angular integration for the button.
41
+ */
42
+ var NimbleButtonDirective = /** @class */ (function () {
43
+ function NimbleButtonDirective(renderer, elementRef) {
44
+ this.renderer = renderer;
45
+ this.elementRef = elementRef;
46
+ }
47
+ Object.defineProperty(NimbleButtonDirective.prototype, "appearance", {
48
+ get: function () {
49
+ return this.elementRef.nativeElement.appearance;
50
+ },
51
+ set: function (value) {
52
+ this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
53
+ },
54
+ enumerable: false,
55
+ configurable: true
56
+ });
57
+ Object.defineProperty(NimbleButtonDirective.prototype, "disabled", {
58
+ get: function () {
59
+ return this.elementRef.nativeElement.disabled;
60
+ },
61
+ set: function (value) {
62
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
63
+ },
64
+ enumerable: false,
65
+ configurable: true
66
+ });
67
+ return NimbleButtonDirective;
14
68
  }());
15
- NimbleThemeProviderDirective.decorators = [
69
+ NimbleButtonDirective.decorators = [
16
70
  { type: core.Directive, args: [{
17
- selector: 'nimble-theme-provider'
71
+ selector: 'nimble-button'
18
72
  },] }
19
73
  ];
20
- NimbleThemeProviderDirective.propDecorators = {
21
- theme: [{ type: core.HostBinding, args: ['attr.theme',] }, { type: core.Input }]
74
+ NimbleButtonDirective.ctorParameters = function () { return [
75
+ { type: core.Renderer2 },
76
+ { type: core.ElementRef }
77
+ ]; };
78
+ NimbleButtonDirective.propDecorators = {
79
+ appearance: [{ type: core.Input }],
80
+ disabled: [{ type: core.Input }]
22
81
  };
23
82
 
24
- var NimbleThemeProviderModule = /** @class */ (function () {
25
- function NimbleThemeProviderModule() {
83
+ var NimbleButtonModule = /** @class */ (function () {
84
+ function NimbleButtonModule() {
26
85
  }
27
- return NimbleThemeProviderModule;
86
+ return NimbleButtonModule;
28
87
  }());
29
- NimbleThemeProviderModule.decorators = [
88
+ NimbleButtonModule.decorators = [
30
89
  { type: core.NgModule, args: [{
31
- declarations: [NimbleThemeProviderDirective],
90
+ declarations: [NimbleButtonDirective],
32
91
  imports: [common.CommonModule],
33
- exports: [NimbleThemeProviderDirective]
34
- },] }
35
- ];
36
-
37
- /**
38
- * Directive to provide Angular integration for the text field
39
- */
40
- var NimbleTextFieldDirective = /** @class */ (function () {
41
- function NimbleTextFieldDirective() {
42
- }
43
- return NimbleTextFieldDirective;
44
- }());
45
- NimbleTextFieldDirective.decorators = [
46
- { type: core.Directive, args: [{
47
- selector: 'nimble-text-field'
92
+ exports: [NimbleButtonDirective]
48
93
  },] }
49
94
  ];
50
- NimbleTextFieldDirective.propDecorators = {
51
- readonly: [{ type: core.HostBinding, args: ['attr.readonly',] }, { type: core.Input }]
52
- };
53
95
 
54
96
  /*! *****************************************************************************
55
97
  Copyright (c) Microsoft Corporation.
@@ -370,137 +412,138 @@
370
412
  }
371
413
 
372
414
  /**
373
- * Extension of Angular's DefaultValueAccessor to target the text-based inputs.
415
+ * Extension of Angular's CheckboxControlValueAccessor to target the Nimble checkbox control.
374
416
  *
375
- * Directive decorator based on DefaultValueAccessor decorator
376
- * https://github.com/angular/angular/blob/master/packages/forms/src/directives/default_value_accessor.ts#L72
417
+ * Directive decorator based on CheckboxControlValueAccessor decorator
418
+ * https://github.com/angular/angular/blob/master/packages/forms/src/directives/checkbox_value_accessor.ts#L42
377
419
  */
378
- var NimbleDefaultControlValueAccessorDirective = /** @class */ (function (_super) {
379
- __extends(NimbleDefaultControlValueAccessorDirective, _super);
380
- function NimbleDefaultControlValueAccessorDirective() {
420
+ var NimbleCheckboxControlValueAccessorDirective = /** @class */ (function (_super) {
421
+ __extends(NimbleCheckboxControlValueAccessorDirective, _super);
422
+ function NimbleCheckboxControlValueAccessorDirective() {
381
423
  return _super !== null && _super.apply(this, arguments) || this;
382
424
  }
383
- return NimbleDefaultControlValueAccessorDirective;
384
- }(forms.DefaultValueAccessor));
385
- NimbleDefaultControlValueAccessorDirective.decorators = [
425
+ return NimbleCheckboxControlValueAccessorDirective;
426
+ }(forms.CheckboxControlValueAccessor));
427
+ NimbleCheckboxControlValueAccessorDirective.decorators = [
386
428
  { type: core.Directive, args: [{
387
- selector: 'nimble-text-field[formControlName],nimble-text-field[formControl],nimble-text-field[ngModel]',
388
- // The following host metadata is duplicated from DefaultValueAccessor
429
+ selector: 'nimble-checkbox[formControlName],nimble-checkbox[formControl],nimble-checkbox[ngModel]',
430
+ // The following host metadata is duplicated from CheckboxControlValueAccessor
389
431
  // eslint-disable-next-line @angular-eslint/no-host-metadata-property
390
- host: {
391
- '(input)': '$any(this)._handleInput($event.target.value)',
392
- '(blur)': 'onTouched()',
393
- '(compositionstart)': '$any(this)._compositionStart()',
394
- '(compositionend)': '$any(this)._compositionEnd($event.target.value)'
395
- },
432
+ host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },
396
433
  providers: [{
397
434
  provide: forms.NG_VALUE_ACCESSOR,
398
- useExisting: core.forwardRef(function () { return NimbleDefaultControlValueAccessorDirective; }),
435
+ useExisting: core.forwardRef(function () { return NimbleCheckboxControlValueAccessorDirective; }),
399
436
  multi: true
400
437
  }]
401
438
  },] }
402
439
  ];
403
440
 
404
441
  /**
405
- * Extension of Angular's NumberValueAccessor to target the number-based inputs.
406
- *
407
- * Directive decorator based on NumberValueAccessor decorator
408
- * https://github.com/angular/angular/blob/master/packages/forms/src/directives/number_value_accessor.ts#L43
442
+ * Directive to provide Angular integration for the checkbox.
409
443
  */
410
- var NimbleNumberControlValueAccessorDirective = /** @class */ (function (_super) {
411
- __extends(NimbleNumberControlValueAccessorDirective, _super);
412
- function NimbleNumberControlValueAccessorDirective() {
413
- return _super !== null && _super.apply(this, arguments) || this;
444
+ var NimbleCheckboxDirective = /** @class */ (function () {
445
+ function NimbleCheckboxDirective() {
414
446
  }
415
- return NimbleNumberControlValueAccessorDirective;
416
- }(forms.NumberValueAccessor));
417
- NimbleNumberControlValueAccessorDirective.decorators = [
447
+ return NimbleCheckboxDirective;
448
+ }());
449
+ NimbleCheckboxDirective.decorators = [
418
450
  { type: core.Directive, args: [{
419
- selector: 'nimble-number-field[formControlName],nimble-number-field[formControl],nimble-number-field[ngModel]',
420
- // The following host metadata is duplicated from NumberValueAccessor
421
- // eslint-disable-next-line @angular-eslint/no-host-metadata-property
422
- host: { '(input)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },
423
- providers: [{
424
- provide: forms.NG_VALUE_ACCESSOR,
425
- useExisting: core.forwardRef(function () { return NimbleNumberControlValueAccessorDirective; }),
426
- multi: true
427
- }]
451
+ selector: 'nimble-checkbox'
428
452
  },] }
429
453
  ];
430
454
 
431
- var NimbleControlValueAccessorModule = /** @class */ (function () {
432
- function NimbleControlValueAccessorModule() {
455
+ var NimbleCheckboxModule = /** @class */ (function () {
456
+ function NimbleCheckboxModule() {
433
457
  }
434
- return NimbleControlValueAccessorModule;
458
+ return NimbleCheckboxModule;
435
459
  }());
436
- NimbleControlValueAccessorModule.decorators = [
460
+ NimbleCheckboxModule.decorators = [
437
461
  { type: core.NgModule, args: [{
438
- declarations: [NimbleDefaultControlValueAccessorDirective, NimbleNumberControlValueAccessorDirective],
462
+ declarations: [NimbleCheckboxDirective, NimbleCheckboxControlValueAccessorDirective],
439
463
  imports: [common.CommonModule],
440
- exports: [NimbleDefaultControlValueAccessorDirective, NimbleNumberControlValueAccessorDirective]
441
- },] }
442
- ];
443
-
444
- var NimbleTextFieldModule = /** @class */ (function () {
445
- function NimbleTextFieldModule() {
446
- }
447
- return NimbleTextFieldModule;
448
- }());
449
- NimbleTextFieldModule.decorators = [
450
- { type: core.NgModule, args: [{
451
- declarations: [NimbleTextFieldDirective],
452
- imports: [common.CommonModule, NimbleControlValueAccessorModule],
453
- providers: [],
454
- exports: [NimbleTextFieldDirective, NimbleControlValueAccessorModule]
464
+ exports: [NimbleCheckboxDirective, NimbleCheckboxControlValueAccessorDirective]
455
465
  },] }
456
466
  ];
457
467
 
458
468
  /**
459
- * Directive to provide Angular integration for the number field.
469
+ * Directive to provide Angular integration for the drawer.
460
470
  */
461
- var NimbleNumberFieldDirective = /** @class */ (function () {
462
- function NimbleNumberFieldDirective() {
471
+ var NimbleDrawerDirective = /** @class */ (function () {
472
+ function NimbleDrawerDirective(renderer, elementRef) {
473
+ this.renderer = renderer;
474
+ this.elementRef = elementRef;
475
+ this.stateChange = new core.EventEmitter();
463
476
  }
464
- return NimbleNumberFieldDirective;
477
+ Object.defineProperty(NimbleDrawerDirective.prototype, "location", {
478
+ get: function () {
479
+ return this.elementRef.nativeElement.location;
480
+ },
481
+ set: function (value) {
482
+ this.renderer.setProperty(this.elementRef.nativeElement, 'location', value);
483
+ },
484
+ enumerable: false,
485
+ configurable: true
486
+ });
487
+ Object.defineProperty(NimbleDrawerDirective.prototype, "state", {
488
+ get: function () {
489
+ return this.elementRef.nativeElement.state;
490
+ },
491
+ set: function (value) {
492
+ this.renderer.setProperty(this.elementRef.nativeElement, 'state', value);
493
+ },
494
+ enumerable: false,
495
+ configurable: true
496
+ });
497
+ Object.defineProperty(NimbleDrawerDirective.prototype, "modal", {
498
+ get: function () {
499
+ return this.elementRef.nativeElement.modal;
500
+ },
501
+ set: function (value) {
502
+ this.renderer.setProperty(this.elementRef.nativeElement, 'modal', toBooleanProperty(value));
503
+ },
504
+ enumerable: false,
505
+ configurable: true
506
+ });
507
+ NimbleDrawerDirective.prototype.show = function () {
508
+ this.state = types.DrawerState.Opening;
509
+ };
510
+ NimbleDrawerDirective.prototype.hide = function () {
511
+ this.state = types.DrawerState.Closing;
512
+ };
513
+ NimbleDrawerDirective.prototype.onStateChanged = function ($event) {
514
+ if ($event.target === this.elementRef.nativeElement) {
515
+ this.stateChange.emit(this.state);
516
+ }
517
+ };
518
+ return NimbleDrawerDirective;
465
519
  }());
466
- NimbleNumberFieldDirective.decorators = [
520
+ NimbleDrawerDirective.decorators = [
467
521
  { type: core.Directive, args: [{
468
- selector: 'nimble-number-field'
522
+ selector: 'nimble-drawer'
469
523
  },] }
470
524
  ];
471
- NimbleNumberFieldDirective.propDecorators = {
472
- readonly: [{ type: core.HostBinding, args: ['attr.readonly',] }, { type: core.Input }],
473
- min: [{ type: core.HostBinding, args: ['attr.min',] }, { type: core.Input }],
474
- max: [{ type: core.HostBinding, args: ['attr.max',] }, { type: core.Input }],
475
- step: [{ type: core.HostBinding, args: ['attr.step',] }, { type: core.Input }],
476
- placeholder: [{ type: core.HostBinding, args: ['attr.placeholder',] }, { type: core.Input }]
525
+ NimbleDrawerDirective.ctorParameters = function () { return [
526
+ { type: core.Renderer2 },
527
+ { type: core.ElementRef }
528
+ ]; };
529
+ NimbleDrawerDirective.propDecorators = {
530
+ location: [{ type: core.Input }],
531
+ state: [{ type: core.Input }],
532
+ modal: [{ type: core.Input }],
533
+ stateChange: [{ type: core.Output }],
534
+ onStateChanged: [{ type: core.HostListener, args: ['state-change', ['$event'],] }]
477
535
  };
478
536
 
479
- var NimbleNumberFieldModule = /** @class */ (function () {
480
- function NimbleNumberFieldModule() {
537
+ var NimbleDrawerModule = /** @class */ (function () {
538
+ function NimbleDrawerModule() {
481
539
  }
482
- return NimbleNumberFieldModule;
540
+ return NimbleDrawerModule;
483
541
  }());
484
- NimbleNumberFieldModule.decorators = [
542
+ NimbleDrawerModule.decorators = [
485
543
  { type: core.NgModule, args: [{
486
- declarations: [NimbleNumberFieldDirective],
487
- imports: [common.CommonModule, NimbleControlValueAccessorModule],
488
- providers: [],
489
- exports: [NimbleNumberFieldDirective, NimbleControlValueAccessorModule]
490
- },] }
491
- ];
492
-
493
- /**
494
- * Directive for Nimble select control Angular integration
495
- */
496
- var NimbleSelectDirective = /** @class */ (function () {
497
- function NimbleSelectDirective() {
498
- }
499
- return NimbleSelectDirective;
500
- }());
501
- NimbleSelectDirective.decorators = [
502
- { type: core.Directive, args: [{
503
- selector: 'nimble-select',
544
+ declarations: [NimbleDrawerDirective],
545
+ imports: [common.CommonModule],
546
+ exports: [NimbleDrawerDirective]
504
547
  },] }
505
548
  ];
506
549
 
@@ -533,27 +576,27 @@
533
576
  },] }
534
577
  ];
535
578
 
536
- var NimbleSelectModule = /** @class */ (function () {
537
- function NimbleSelectModule() {
538
- }
539
- return NimbleSelectModule;
540
- }());
541
- NimbleSelectModule.decorators = [
542
- { type: core.NgModule, args: [{
543
- declarations: [NimbleSelectDirective, NimbleSelectControlValueAccessorDirective],
544
- imports: [common.CommonModule],
545
- exports: [NimbleSelectDirective, NimbleSelectControlValueAccessorDirective]
546
- },] }
547
- ];
548
-
549
579
  /**
550
580
  * Directive to provide Angular integration for the listbox option.
551
581
  */
552
582
  var NimbleListboxOptionDirective = /** @class */ (function (_super) {
553
583
  __extends(NimbleListboxOptionDirective, _super);
554
- function NimbleListboxOptionDirective(element, renderer, select) {
555
- return _super.call(this, element, renderer, select) || this;
584
+ function NimbleListboxOptionDirective(elementRef, renderer, select) {
585
+ var _this = _super.call(this, elementRef, renderer, select) || this;
586
+ _this.elementRef = elementRef;
587
+ _this.renderer = renderer;
588
+ return _this;
556
589
  }
590
+ Object.defineProperty(NimbleListboxOptionDirective.prototype, "disabled", {
591
+ get: function () {
592
+ return this.elementRef.nativeElement.disabled;
593
+ },
594
+ set: function (value) {
595
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
596
+ },
597
+ enumerable: false,
598
+ configurable: true
599
+ });
557
600
  return NimbleListboxOptionDirective;
558
601
  }(forms.NgSelectOption));
559
602
  NimbleListboxOptionDirective.decorators = [
@@ -567,7 +610,7 @@
567
610
  { type: NimbleSelectControlValueAccessorDirective, decorators: [{ type: core.Optional }, { type: core.Host }] }
568
611
  ]; };
569
612
  NimbleListboxOptionDirective.propDecorators = {
570
- disabled: [{ type: core.HostBinding, args: ['attr.disabled',] }, { type: core.Input }]
613
+ disabled: [{ type: core.Input }]
571
614
  };
572
615
 
573
616
  var NimbleListboxOptionModule = /** @class */ (function () {
@@ -584,400 +627,621 @@
584
627
  ];
585
628
 
586
629
  /**
587
- * Directive to provide Angular integration for the button.
630
+ * Directive to provide Angular integration for the menu.
588
631
  */
589
- var NimbleButtonDirective = /** @class */ (function () {
590
- function NimbleButtonDirective() {
632
+ var NimbleMenuDirective = /** @class */ (function () {
633
+ function NimbleMenuDirective() {
591
634
  }
592
- return NimbleButtonDirective;
635
+ return NimbleMenuDirective;
593
636
  }());
594
- NimbleButtonDirective.decorators = [
637
+ NimbleMenuDirective.decorators = [
595
638
  { type: core.Directive, args: [{
596
- selector: 'nimble-button'
639
+ selector: 'nimble-menu'
597
640
  },] }
598
641
  ];
599
- NimbleButtonDirective.propDecorators = {
600
- disabled: [{ type: core.HostBinding, args: ['disabled',] }, { type: core.Input }],
601
- appearance: [{ type: core.HostBinding, args: ['appearance',] }, { type: core.Input }]
602
- };
603
642
 
604
- var NimbleButtonModule = /** @class */ (function () {
605
- function NimbleButtonModule() {
643
+ var NimbleMenuModule = /** @class */ (function () {
644
+ function NimbleMenuModule() {
606
645
  }
607
- return NimbleButtonModule;
646
+ return NimbleMenuModule;
608
647
  }());
609
- NimbleButtonModule.decorators = [
648
+ NimbleMenuModule.decorators = [
610
649
  { type: core.NgModule, args: [{
611
- declarations: [NimbleButtonDirective],
650
+ declarations: [NimbleMenuDirective],
612
651
  imports: [common.CommonModule],
613
- exports: [NimbleButtonDirective]
652
+ exports: [NimbleMenuDirective]
614
653
  },] }
615
654
  ];
616
655
 
617
656
  /**
618
- * Directive to provide Angular integration for the tree view.
657
+ * Directive to provide Angular integration for the menu.
619
658
  */
620
- var NimbleTreeViewDirective = /** @class */ (function () {
621
- function NimbleTreeViewDirective() {
659
+ var NimbleMenuItemDirective = /** @class */ (function () {
660
+ function NimbleMenuItemDirective(renderer, elementRef) {
661
+ this.renderer = renderer;
662
+ this.elementRef = elementRef;
622
663
  }
623
- return NimbleTreeViewDirective;
664
+ Object.defineProperty(NimbleMenuItemDirective.prototype, "disabled", {
665
+ get: function () {
666
+ return this.elementRef.nativeElement.disabled;
667
+ },
668
+ set: function (value) {
669
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
670
+ },
671
+ enumerable: false,
672
+ configurable: true
673
+ });
674
+ return NimbleMenuItemDirective;
624
675
  }());
625
- NimbleTreeViewDirective.decorators = [
676
+ NimbleMenuItemDirective.decorators = [
626
677
  { type: core.Directive, args: [{
627
- selector: 'nimble-tree-view'
678
+ selector: 'nimble-menu-item'
628
679
  },] }
629
680
  ];
630
- NimbleTreeViewDirective.propDecorators = {
631
- selectionMode: [{ type: core.HostBinding, args: ['attr.selection-mode',] }, { type: core.Input }]
681
+ NimbleMenuItemDirective.ctorParameters = function () { return [
682
+ { type: core.Renderer2 },
683
+ { type: core.ElementRef }
684
+ ]; };
685
+ NimbleMenuItemDirective.propDecorators = {
686
+ disabled: [{ type: core.Input }]
632
687
  };
633
688
 
634
- var NimbleTreeViewModule = /** @class */ (function () {
635
- function NimbleTreeViewModule() {
689
+ var NimbleMenuItemModule = /** @class */ (function () {
690
+ function NimbleMenuItemModule() {
636
691
  }
637
- return NimbleTreeViewModule;
692
+ return NimbleMenuItemModule;
638
693
  }());
639
- NimbleTreeViewModule.decorators = [
694
+ NimbleMenuItemModule.decorators = [
640
695
  { type: core.NgModule, args: [{
641
- declarations: [NimbleTreeViewDirective],
696
+ declarations: [NimbleMenuItemDirective],
642
697
  imports: [common.CommonModule],
643
- exports: [NimbleTreeViewDirective]
698
+ exports: [NimbleMenuItemDirective]
644
699
  },] }
645
700
  ];
646
701
 
647
702
  /**
648
- * Directive to provide Angular integration for the tree item.
703
+ * Extension of Angular's NumberValueAccessor to target the number-based inputs.
704
+ *
705
+ * Directive decorator based on NumberValueAccessor decorator
706
+ * https://github.com/angular/angular/blob/master/packages/forms/src/directives/number_value_accessor.ts#L43
649
707
  */
650
- var NimbleTreeItemDirective = /** @class */ (function () {
651
- function NimbleTreeItemDirective(treeItemReference) {
652
- this.treeItemReference = treeItemReference;
653
- this.expandedChange = new core.EventEmitter();
708
+ var NimbleNumberFieldControlValueAccessorDirective = /** @class */ (function (_super) {
709
+ __extends(NimbleNumberFieldControlValueAccessorDirective, _super);
710
+ function NimbleNumberFieldControlValueAccessorDirective() {
711
+ return _super !== null && _super.apply(this, arguments) || this;
654
712
  }
655
- NimbleTreeItemDirective.prototype.onExpandedChange = function ($event) {
656
- var treeItemElement = this.treeItemReference.nativeElement;
657
- if ($event.target === treeItemElement) {
658
- this.expanded = treeItemElement.expanded;
659
- this.expandedChange.emit(treeItemElement.expanded);
660
- }
661
- };
662
- return NimbleTreeItemDirective;
663
- }());
664
- NimbleTreeItemDirective.decorators = [
713
+ return NimbleNumberFieldControlValueAccessorDirective;
714
+ }(forms.NumberValueAccessor));
715
+ NimbleNumberFieldControlValueAccessorDirective.decorators = [
665
716
  { type: core.Directive, args: [{
666
- selector: 'nimble-tree-item'
717
+ selector: 'nimble-number-field[formControlName],nimble-number-field[formControl],nimble-number-field[ngModel]',
718
+ // The following host metadata is duplicated from NumberValueAccessor
719
+ // eslint-disable-next-line @angular-eslint/no-host-metadata-property
720
+ host: { '(input)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },
721
+ providers: [{
722
+ provide: forms.NG_VALUE_ACCESSOR,
723
+ useExisting: core.forwardRef(function () { return NimbleNumberFieldControlValueAccessorDirective; }),
724
+ multi: true
725
+ }]
667
726
  },] }
668
727
  ];
669
- NimbleTreeItemDirective.ctorParameters = function () { return [
728
+
729
+ /**
730
+ * Directive to provide Angular integration for the number field.
731
+ */
732
+ var NimbleNumberFieldDirective = /** @class */ (function () {
733
+ function NimbleNumberFieldDirective(renderer, elementRef) {
734
+ this.renderer = renderer;
735
+ this.elementRef = elementRef;
736
+ }
737
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "readOnly", {
738
+ get: function () {
739
+ return this.elementRef.nativeElement.readOnly;
740
+ },
741
+ set: function (value) {
742
+ this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
743
+ },
744
+ enumerable: false,
745
+ configurable: true
746
+ });
747
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "min", {
748
+ get: function () {
749
+ return this.elementRef.nativeElement.min;
750
+ },
751
+ set: function (value) {
752
+ this.renderer.setProperty(this.elementRef.nativeElement, 'min', toNumberProperty(value));
753
+ },
754
+ enumerable: false,
755
+ configurable: true
756
+ });
757
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "max", {
758
+ get: function () {
759
+ return this.elementRef.nativeElement.max;
760
+ },
761
+ set: function (value) {
762
+ this.renderer.setProperty(this.elementRef.nativeElement, 'max', toNumberProperty(value));
763
+ },
764
+ enumerable: false,
765
+ configurable: true
766
+ });
767
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "step", {
768
+ get: function () {
769
+ return this.elementRef.nativeElement.step;
770
+ },
771
+ set: function (value) {
772
+ this.renderer.setProperty(this.elementRef.nativeElement, 'step', toNumberProperty(value));
773
+ },
774
+ enumerable: false,
775
+ configurable: true
776
+ });
777
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "placeholder", {
778
+ get: function () {
779
+ return this.elementRef.nativeElement.placeholder;
780
+ },
781
+ set: function (value) {
782
+ this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
783
+ },
784
+ enumerable: false,
785
+ configurable: true
786
+ });
787
+ return NimbleNumberFieldDirective;
788
+ }());
789
+ NimbleNumberFieldDirective.decorators = [
790
+ { type: core.Directive, args: [{
791
+ selector: 'nimble-number-field'
792
+ },] }
793
+ ];
794
+ NimbleNumberFieldDirective.ctorParameters = function () { return [
795
+ { type: core.Renderer2 },
670
796
  { type: core.ElementRef }
671
797
  ]; };
672
- NimbleTreeItemDirective.propDecorators = {
673
- disabled: [{ type: core.HostBinding, args: ['disabled',] }, { type: core.Input }],
674
- expanded: [{ type: core.HostBinding, args: ['expanded',] }, { type: core.Input }],
675
- selected: [{ type: core.HostBinding, args: ['selected',] }, { type: core.HostBinding, args: ['attr.aria-selected', // Needed because fast-foundation TreeView sets initial selection with an aria-selected query
676
- ] }, { type: core.Input }],
677
- expandedChange: [{ type: core.Output }],
678
- onExpandedChange: [{ type: core.HostListener, args: ['expanded-change', ['$event'],] }]
798
+ NimbleNumberFieldDirective.propDecorators = {
799
+ readOnly: [{ type: core.Input }],
800
+ min: [{ type: core.Input }],
801
+ max: [{ type: core.Input }],
802
+ step: [{ type: core.Input }],
803
+ placeholder: [{ type: core.Input }]
679
804
  };
680
805
 
681
- var NimbleTreeItemModule = /** @class */ (function () {
682
- function NimbleTreeItemModule() {
806
+ var NimbleNumberFieldModule = /** @class */ (function () {
807
+ function NimbleNumberFieldModule() {
683
808
  }
684
- return NimbleTreeItemModule;
809
+ return NimbleNumberFieldModule;
685
810
  }());
686
- NimbleTreeItemModule.decorators = [
811
+ NimbleNumberFieldModule.decorators = [
687
812
  { type: core.NgModule, args: [{
688
- declarations: [NimbleTreeItemDirective],
813
+ declarations: [NimbleNumberFieldDirective, NimbleNumberFieldControlValueAccessorDirective],
689
814
  imports: [common.CommonModule],
690
- exports: [NimbleTreeItemDirective]
815
+ exports: [NimbleNumberFieldDirective, NimbleNumberFieldControlValueAccessorDirective]
691
816
  },] }
692
817
  ];
693
818
 
694
819
  /**
695
- * Directive to provide Angular integration for the checkbox.
820
+ * Directive for Nimble select control Angular integration
696
821
  */
697
- var NimbleCheckboxDirective = /** @class */ (function () {
698
- function NimbleCheckboxDirective() {
822
+ var NimbleSelectDirective = /** @class */ (function () {
823
+ function NimbleSelectDirective() {
699
824
  }
700
- return NimbleCheckboxDirective;
825
+ return NimbleSelectDirective;
701
826
  }());
702
- NimbleCheckboxDirective.decorators = [
827
+ NimbleSelectDirective.decorators = [
703
828
  { type: core.Directive, args: [{
704
- selector: 'nimble-checkbox'
829
+ selector: 'nimble-select',
830
+ },] }
831
+ ];
832
+
833
+ var NimbleSelectModule = /** @class */ (function () {
834
+ function NimbleSelectModule() {
835
+ }
836
+ return NimbleSelectModule;
837
+ }());
838
+ NimbleSelectModule.decorators = [
839
+ { type: core.NgModule, args: [{
840
+ declarations: [NimbleSelectDirective, NimbleSelectControlValueAccessorDirective],
841
+ imports: [common.CommonModule],
842
+ exports: [NimbleSelectDirective, NimbleSelectControlValueAccessorDirective]
705
843
  },] }
706
844
  ];
707
845
 
708
846
  /**
709
- * Extension of Angular's CheckboxControlValueAccessor to target the Nimble checkbox control.
710
- *
711
- * Directive decorator based on CheckboxControlValueAccessor decorator
712
- * https://github.com/angular/angular/blob/master/packages/forms/src/directives/checkbox_value_accessor.ts#L42
847
+ * Directive to provide Angular integration for the tab element.
713
848
  */
714
- var NimbleCheckboxControlValueAccessorDirective = /** @class */ (function (_super) {
715
- __extends(NimbleCheckboxControlValueAccessorDirective, _super);
716
- function NimbleCheckboxControlValueAccessorDirective() {
717
- return _super !== null && _super.apply(this, arguments) || this;
849
+ var NimbleTabDirective = /** @class */ (function () {
850
+ function NimbleTabDirective(renderer, elementRef) {
851
+ this.renderer = renderer;
852
+ this.elementRef = elementRef;
718
853
  }
719
- return NimbleCheckboxControlValueAccessorDirective;
720
- }(forms.CheckboxControlValueAccessor));
721
- NimbleCheckboxControlValueAccessorDirective.decorators = [
854
+ Object.defineProperty(NimbleTabDirective.prototype, "disabled", {
855
+ get: function () {
856
+ return this.elementRef.nativeElement.disabled;
857
+ },
858
+ set: function (value) {
859
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
860
+ },
861
+ enumerable: false,
862
+ configurable: true
863
+ });
864
+ return NimbleTabDirective;
865
+ }());
866
+ NimbleTabDirective.decorators = [
722
867
  { type: core.Directive, args: [{
723
- selector: 'nimble-checkbox[formControlName],nimble-checkbox[formControl],nimble-checkbox[ngModel]',
724
- // The following host metadata is duplicated from CheckboxControlValueAccessor
725
- // eslint-disable-next-line @angular-eslint/no-host-metadata-property
726
- host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },
727
- providers: [{
728
- provide: forms.NG_VALUE_ACCESSOR,
729
- useExisting: core.forwardRef(function () { return NimbleCheckboxControlValueAccessorDirective; }),
730
- multi: true
731
- }]
868
+ selector: 'nimble-tab'
732
869
  },] }
733
870
  ];
871
+ NimbleTabDirective.ctorParameters = function () { return [
872
+ { type: core.Renderer2 },
873
+ { type: core.ElementRef }
874
+ ]; };
875
+ NimbleTabDirective.propDecorators = {
876
+ disabled: [{ type: core.Input }]
877
+ };
734
878
 
735
- var NimbleCheckboxModule = /** @class */ (function () {
736
- function NimbleCheckboxModule() {
879
+ var NimbleTabModule = /** @class */ (function () {
880
+ function NimbleTabModule() {
737
881
  }
738
- return NimbleCheckboxModule;
882
+ return NimbleTabModule;
739
883
  }());
740
- NimbleCheckboxModule.decorators = [
884
+ NimbleTabModule.decorators = [
741
885
  { type: core.NgModule, args: [{
742
- declarations: [NimbleCheckboxDirective, NimbleCheckboxControlValueAccessorDirective],
886
+ declarations: [NimbleTabDirective],
743
887
  imports: [common.CommonModule],
744
- exports: [NimbleCheckboxDirective, NimbleCheckboxControlValueAccessorDirective]
888
+ exports: [NimbleTabDirective]
745
889
  },] }
746
890
  ];
747
891
 
748
892
  /**
749
- * Directive to provide Angular integration for the drawer.
893
+ * Directive to provide Angular integration for the tab panel.
750
894
  */
751
- var NimbleDrawerDirective = /** @class */ (function () {
752
- function NimbleDrawerDirective(drawerReference) {
753
- this.drawerReference = drawerReference;
754
- this.location = types$1.DrawerLocation.Left;
755
- this.state = types$1.DrawerState.Closed;
756
- this.modal = true;
757
- this.stateChange = new core.EventEmitter();
895
+ var NimbleTabPanelDirective = /** @class */ (function () {
896
+ function NimbleTabPanelDirective() {
758
897
  }
759
- NimbleDrawerDirective.prototype.show = function () {
760
- this.state = types$1.DrawerState.Opening;
761
- };
762
- NimbleDrawerDirective.prototype.hide = function () {
763
- this.state = types$1.DrawerState.Closing;
764
- };
765
- NimbleDrawerDirective.prototype.onStateChanged = function ($event) {
766
- var drawer = this.drawerReference.nativeElement;
767
- if ($event.target === drawer) {
768
- this.state = drawer.state;
769
- this.stateChange.emit(this.state);
770
- }
771
- };
772
- return NimbleDrawerDirective;
898
+ return NimbleTabPanelDirective;
773
899
  }());
774
- NimbleDrawerDirective.decorators = [
900
+ NimbleTabPanelDirective.decorators = [
775
901
  { type: core.Directive, args: [{
776
- selector: 'nimble-drawer'
902
+ selector: 'nimble-tab-panel'
777
903
  },] }
778
904
  ];
779
- NimbleDrawerDirective.ctorParameters = function () { return [
780
- { type: core.ElementRef }
781
- ]; };
782
- NimbleDrawerDirective.propDecorators = {
783
- location: [{ type: core.HostBinding, args: ['location',] }, { type: core.Input }],
784
- state: [{ type: core.HostBinding, args: ['state',] }, { type: core.Input }],
785
- modal: [{ type: core.HostBinding, args: ['modal',] }, { type: core.Input }],
786
- stateChange: [{ type: core.Output }],
787
- onStateChanged: [{ type: core.HostListener, args: ['state-change', ['$event'],] }]
788
- };
789
905
 
790
- var NimbleDrawerModule = /** @class */ (function () {
791
- function NimbleDrawerModule() {
906
+ var NimbleTabPanelModule = /** @class */ (function () {
907
+ function NimbleTabPanelModule() {
792
908
  }
793
- return NimbleDrawerModule;
909
+ return NimbleTabPanelModule;
794
910
  }());
795
- NimbleDrawerModule.decorators = [
911
+ NimbleTabPanelModule.decorators = [
796
912
  { type: core.NgModule, args: [{
797
- declarations: [NimbleDrawerDirective],
913
+ declarations: [NimbleTabPanelDirective],
798
914
  imports: [common.CommonModule],
799
- exports: [NimbleDrawerDirective]
915
+ exports: [NimbleTabPanelDirective]
800
916
  },] }
801
917
  ];
802
918
 
803
919
  /**
804
- * Directive to provide Angular integration for the menu.
920
+ * Directive to provide Angular integration for the tabs element.
805
921
  */
806
- var NimbleMenuDirective = /** @class */ (function () {
807
- function NimbleMenuDirective() {
922
+ var NimbleTabsDirective = /** @class */ (function () {
923
+ function NimbleTabsDirective(renderer, elementRef) {
924
+ this.renderer = renderer;
925
+ this.elementRef = elementRef;
926
+ this.activeidChange = new core.EventEmitter();
808
927
  }
809
- return NimbleMenuDirective;
928
+ Object.defineProperty(NimbleTabsDirective.prototype, "activeid", {
929
+ get: function () {
930
+ return this.elementRef.nativeElement.activeid;
931
+ },
932
+ set: function (value) {
933
+ this.renderer.setProperty(this.elementRef.nativeElement, 'activeid', value);
934
+ },
935
+ enumerable: false,
936
+ configurable: true
937
+ });
938
+ NimbleTabsDirective.prototype.onChange = function ($event) {
939
+ if ($event.target === this.elementRef.nativeElement) {
940
+ this.activeidChange.emit(this.activeid);
941
+ }
942
+ };
943
+ return NimbleTabsDirective;
810
944
  }());
811
- NimbleMenuDirective.decorators = [
945
+ NimbleTabsDirective.decorators = [
812
946
  { type: core.Directive, args: [{
813
- selector: 'nimble-menu'
947
+ selector: 'nimble-tabs'
814
948
  },] }
815
949
  ];
950
+ NimbleTabsDirective.ctorParameters = function () { return [
951
+ { type: core.Renderer2 },
952
+ { type: core.ElementRef }
953
+ ]; };
954
+ NimbleTabsDirective.propDecorators = {
955
+ activeid: [{ type: core.Input }],
956
+ activeidChange: [{ type: core.Output }],
957
+ onChange: [{ type: core.HostListener, args: ['change', ['$event'],] }]
958
+ };
816
959
 
817
- var NimbleMenuModule = /** @class */ (function () {
818
- function NimbleMenuModule() {
960
+ var NimbleTabsModule = /** @class */ (function () {
961
+ function NimbleTabsModule() {
819
962
  }
820
- return NimbleMenuModule;
963
+ return NimbleTabsModule;
821
964
  }());
822
- NimbleMenuModule.decorators = [
965
+ NimbleTabsModule.decorators = [
823
966
  { type: core.NgModule, args: [{
824
- declarations: [NimbleMenuDirective],
967
+ declarations: [NimbleTabsDirective],
825
968
  imports: [common.CommonModule],
826
- exports: [NimbleMenuDirective]
969
+ exports: [NimbleTabsDirective]
827
970
  },] }
828
971
  ];
829
972
 
830
973
  /**
831
- * Directive to provide Angular integration for the menu.
974
+ * Directive to provide Angular integration for the tabs toolbar.
832
975
  */
833
- var NimbleMenuItemDirective = /** @class */ (function () {
834
- function NimbleMenuItemDirective() {
976
+ var NimbleTabsToolbarDirective = /** @class */ (function () {
977
+ function NimbleTabsToolbarDirective() {
835
978
  }
836
- return NimbleMenuItemDirective;
979
+ return NimbleTabsToolbarDirective;
837
980
  }());
838
- NimbleMenuItemDirective.decorators = [
981
+ NimbleTabsToolbarDirective.decorators = [
839
982
  { type: core.Directive, args: [{
840
- selector: 'nimble-menu-item'
983
+ selector: 'nimble-tabs-toolbar'
841
984
  },] }
842
985
  ];
843
- NimbleMenuItemDirective.propDecorators = {
844
- disabled: [{ type: core.HostBinding, args: ['disabled',] }, { type: core.Input }]
845
- };
846
986
 
847
- var NimbleMenuItemModule = /** @class */ (function () {
848
- function NimbleMenuItemModule() {
987
+ var NimbleTabsToolbarModule = /** @class */ (function () {
988
+ function NimbleTabsToolbarModule() {
849
989
  }
850
- return NimbleMenuItemModule;
990
+ return NimbleTabsToolbarModule;
851
991
  }());
852
- NimbleMenuItemModule.decorators = [
992
+ NimbleTabsToolbarModule.decorators = [
853
993
  { type: core.NgModule, args: [{
854
- declarations: [NimbleMenuItemDirective],
994
+ declarations: [NimbleTabsToolbarDirective],
855
995
  imports: [common.CommonModule],
856
- exports: [NimbleMenuItemDirective]
996
+ exports: [NimbleTabsToolbarDirective]
857
997
  },] }
858
998
  ];
859
999
 
860
1000
  /**
861
- * Directive to provide Angular integration for the tabs element.
1001
+ * Extension of Angular's DefaultValueAccessor to target the text-based inputs.
1002
+ *
1003
+ * Directive decorator based on DefaultValueAccessor decorator
1004
+ * https://github.com/angular/angular/blob/master/packages/forms/src/directives/default_value_accessor.ts#L72
862
1005
  */
863
- var NimbleTabsDirective = /** @class */ (function () {
864
- function NimbleTabsDirective(tabs) {
865
- this.tabs = tabs;
866
- this.activeidChange = new core.EventEmitter();
1006
+ var NimbleTextFieldControlValueAccessorDirective = /** @class */ (function (_super) {
1007
+ __extends(NimbleTextFieldControlValueAccessorDirective, _super);
1008
+ function NimbleTextFieldControlValueAccessorDirective() {
1009
+ return _super !== null && _super.apply(this, arguments) || this;
867
1010
  }
868
- NimbleTabsDirective.prototype.onChange = function () {
869
- this.activeidChange.emit(this.tabs.nativeElement.activeid);
870
- };
871
- return NimbleTabsDirective;
1011
+ return NimbleTextFieldControlValueAccessorDirective;
1012
+ }(forms.DefaultValueAccessor));
1013
+ NimbleTextFieldControlValueAccessorDirective.decorators = [
1014
+ { type: core.Directive, args: [{
1015
+ selector: 'nimble-text-field[formControlName],nimble-text-field[formControl],nimble-text-field[ngModel]',
1016
+ // The following host metadata is duplicated from DefaultValueAccessor
1017
+ // eslint-disable-next-line @angular-eslint/no-host-metadata-property
1018
+ host: {
1019
+ '(input)': '$any(this)._handleInput($event.target.value)',
1020
+ '(blur)': 'onTouched()',
1021
+ '(compositionstart)': '$any(this)._compositionStart()',
1022
+ '(compositionend)': '$any(this)._compositionEnd($event.target.value)'
1023
+ },
1024
+ providers: [{
1025
+ provide: forms.NG_VALUE_ACCESSOR,
1026
+ useExisting: core.forwardRef(function () { return NimbleTextFieldControlValueAccessorDirective; }),
1027
+ multi: true
1028
+ }]
1029
+ },] }
1030
+ ];
1031
+
1032
+ /**
1033
+ * Directive to provide Angular integration for the text field
1034
+ */
1035
+ var NimbleTextFieldDirective = /** @class */ (function () {
1036
+ function NimbleTextFieldDirective(renderer, elementRef) {
1037
+ this.renderer = renderer;
1038
+ this.elementRef = elementRef;
1039
+ }
1040
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "readOnly", {
1041
+ get: function () {
1042
+ return this.elementRef.nativeElement.readOnly;
1043
+ },
1044
+ set: function (value) {
1045
+ this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
1046
+ },
1047
+ enumerable: false,
1048
+ configurable: true
1049
+ });
1050
+ return NimbleTextFieldDirective;
872
1051
  }());
873
- NimbleTabsDirective.decorators = [
1052
+ NimbleTextFieldDirective.decorators = [
874
1053
  { type: core.Directive, args: [{
875
- selector: 'nimble-tabs'
1054
+ selector: 'nimble-text-field'
876
1055
  },] }
877
1056
  ];
878
- NimbleTabsDirective.ctorParameters = function () { return [
1057
+ NimbleTextFieldDirective.ctorParameters = function () { return [
1058
+ { type: core.Renderer2 },
879
1059
  { type: core.ElementRef }
880
1060
  ]; };
881
- NimbleTabsDirective.propDecorators = {
882
- activeid: [{ type: core.HostBinding, args: ['attr.activeid',] }, { type: core.Input }],
883
- activeidChange: [{ type: core.Output }],
884
- onChange: [{ type: core.HostListener, args: ['change',] }]
1061
+ NimbleTextFieldDirective.propDecorators = {
1062
+ readOnly: [{ type: core.Input }]
885
1063
  };
886
1064
 
887
- var NimbleTabsModule = /** @class */ (function () {
888
- function NimbleTabsModule() {
1065
+ var NimbleTextFieldModule = /** @class */ (function () {
1066
+ function NimbleTextFieldModule() {
889
1067
  }
890
- return NimbleTabsModule;
1068
+ return NimbleTextFieldModule;
891
1069
  }());
892
- NimbleTabsModule.decorators = [
1070
+ NimbleTextFieldModule.decorators = [
893
1071
  { type: core.NgModule, args: [{
894
- declarations: [NimbleTabsDirective],
1072
+ declarations: [NimbleTextFieldDirective, NimbleTextFieldControlValueAccessorDirective],
895
1073
  imports: [common.CommonModule],
896
- exports: [NimbleTabsDirective]
1074
+ exports: [NimbleTextFieldDirective, NimbleTextFieldControlValueAccessorDirective]
897
1075
  },] }
898
1076
  ];
899
1077
 
900
1078
  /**
901
- * Directive to provide Angular integration for the tab element.
1079
+ * Directive for Angular integration for the theme provider
902
1080
  */
903
- var NimbleTabDirective = /** @class */ (function () {
904
- function NimbleTabDirective() {
1081
+ var NimbleThemeProviderDirective = /** @class */ (function () {
1082
+ function NimbleThemeProviderDirective(renderer, elementRef) {
1083
+ this.renderer = renderer;
1084
+ this.elementRef = elementRef;
905
1085
  }
906
- return NimbleTabDirective;
1086
+ Object.defineProperty(NimbleThemeProviderDirective.prototype, "theme", {
1087
+ get: function () {
1088
+ return this.elementRef.nativeElement.theme;
1089
+ },
1090
+ set: function (value) {
1091
+ this.renderer.setProperty(this.elementRef.nativeElement, 'theme', value);
1092
+ },
1093
+ enumerable: false,
1094
+ configurable: true
1095
+ });
1096
+ return NimbleThemeProviderDirective;
907
1097
  }());
908
- NimbleTabDirective.decorators = [
1098
+ NimbleThemeProviderDirective.decorators = [
909
1099
  { type: core.Directive, args: [{
910
- selector: 'nimble-tab'
1100
+ selector: 'nimble-theme-provider'
911
1101
  },] }
912
1102
  ];
913
- NimbleTabDirective.propDecorators = {
914
- disabled: [{ type: core.HostBinding, args: ['attr.disabled',] }, { type: core.Input }]
1103
+ NimbleThemeProviderDirective.ctorParameters = function () { return [
1104
+ { type: core.Renderer2 },
1105
+ { type: core.ElementRef }
1106
+ ]; };
1107
+ NimbleThemeProviderDirective.propDecorators = {
1108
+ theme: [{ type: core.Input }]
915
1109
  };
916
1110
 
917
- var NimbleTabModule = /** @class */ (function () {
918
- function NimbleTabModule() {
1111
+ var NimbleThemeProviderModule = /** @class */ (function () {
1112
+ function NimbleThemeProviderModule() {
919
1113
  }
920
- return NimbleTabModule;
1114
+ return NimbleThemeProviderModule;
921
1115
  }());
922
- NimbleTabModule.decorators = [
1116
+ NimbleThemeProviderModule.decorators = [
923
1117
  { type: core.NgModule, args: [{
924
- declarations: [NimbleTabDirective],
1118
+ declarations: [NimbleThemeProviderDirective],
925
1119
  imports: [common.CommonModule],
926
- exports: [NimbleTabDirective]
1120
+ exports: [NimbleThemeProviderDirective]
927
1121
  },] }
928
1122
  ];
929
1123
 
930
1124
  /**
931
- * Directive to provide Angular integration for the tab panel.
1125
+ * Directive to provide Angular integration for the tree item.
932
1126
  */
933
- var NimbleTabPanelDirective = /** @class */ (function () {
934
- function NimbleTabPanelDirective() {
1127
+ var NimbleTreeItemDirective = /** @class */ (function () {
1128
+ function NimbleTreeItemDirective(renderer, elementRef) {
1129
+ this.renderer = renderer;
1130
+ this.elementRef = elementRef;
1131
+ this.expandedChange = new core.EventEmitter();
935
1132
  }
936
- return NimbleTabPanelDirective;
1133
+ Object.defineProperty(NimbleTreeItemDirective.prototype, "disabled", {
1134
+ get: function () {
1135
+ return this.elementRef.nativeElement.disabled;
1136
+ },
1137
+ set: function (value) {
1138
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
1139
+ },
1140
+ enumerable: false,
1141
+ configurable: true
1142
+ });
1143
+ Object.defineProperty(NimbleTreeItemDirective.prototype, "expanded", {
1144
+ get: function () {
1145
+ return this.elementRef.nativeElement.expanded;
1146
+ },
1147
+ set: function (value) {
1148
+ this.renderer.setProperty(this.elementRef.nativeElement, 'expanded', toBooleanProperty(value));
1149
+ },
1150
+ enumerable: false,
1151
+ configurable: true
1152
+ });
1153
+ Object.defineProperty(NimbleTreeItemDirective.prototype, "selected", {
1154
+ get: function () {
1155
+ return this.elementRef.nativeElement.selected;
1156
+ },
1157
+ set: function (value) {
1158
+ this.renderer.setProperty(this.elementRef.nativeElement, 'selected', toBooleanProperty(value));
1159
+ // Needed because fast-foundation TreeView sets initial selection with an aria-selected query
1160
+ this.renderer.setAttribute(this.elementRef.nativeElement, 'selected', toBooleanAriaAttribute(value));
1161
+ },
1162
+ enumerable: false,
1163
+ configurable: true
1164
+ });
1165
+ NimbleTreeItemDirective.prototype.onExpandedChange = function ($event) {
1166
+ if ($event.target === this.elementRef.nativeElement) {
1167
+ this.expandedChange.emit(this.expanded);
1168
+ }
1169
+ };
1170
+ return NimbleTreeItemDirective;
937
1171
  }());
938
- NimbleTabPanelDirective.decorators = [
1172
+ NimbleTreeItemDirective.decorators = [
939
1173
  { type: core.Directive, args: [{
940
- selector: 'nimble-tab-panel'
1174
+ selector: 'nimble-tree-item'
941
1175
  },] }
942
1176
  ];
1177
+ NimbleTreeItemDirective.ctorParameters = function () { return [
1178
+ { type: core.Renderer2 },
1179
+ { type: core.ElementRef }
1180
+ ]; };
1181
+ NimbleTreeItemDirective.propDecorators = {
1182
+ disabled: [{ type: core.Input }],
1183
+ expanded: [{ type: core.Input }],
1184
+ selected: [{ type: core.Input }],
1185
+ expandedChange: [{ type: core.Output }],
1186
+ onExpandedChange: [{ type: core.HostListener, args: ['expanded-change', ['$event'],] }]
1187
+ };
943
1188
 
944
- var NimbleTabPanelModule = /** @class */ (function () {
945
- function NimbleTabPanelModule() {
1189
+ var NimbleTreeItemModule = /** @class */ (function () {
1190
+ function NimbleTreeItemModule() {
946
1191
  }
947
- return NimbleTabPanelModule;
1192
+ return NimbleTreeItemModule;
948
1193
  }());
949
- NimbleTabPanelModule.decorators = [
1194
+ NimbleTreeItemModule.decorators = [
950
1195
  { type: core.NgModule, args: [{
951
- declarations: [NimbleTabPanelDirective],
1196
+ declarations: [NimbleTreeItemDirective],
952
1197
  imports: [common.CommonModule],
953
- exports: [NimbleTabPanelDirective]
1198
+ exports: [NimbleTreeItemDirective]
954
1199
  },] }
955
1200
  ];
956
1201
 
957
1202
  /**
958
- * Directive to provide Angular integration for the tabs toolbar.
1203
+ * Directive to provide Angular integration for the tree view.
959
1204
  */
960
- var NimbleTabsToolbarDirective = /** @class */ (function () {
961
- function NimbleTabsToolbarDirective() {
1205
+ var NimbleTreeViewDirective = /** @class */ (function () {
1206
+ function NimbleTreeViewDirective(renderer, elementRef) {
1207
+ this.renderer = renderer;
1208
+ this.elementRef = elementRef;
962
1209
  }
963
- return NimbleTabsToolbarDirective;
1210
+ Object.defineProperty(NimbleTreeViewDirective.prototype, "selectionMode", {
1211
+ get: function () {
1212
+ return this.elementRef.nativeElement.selectionMode;
1213
+ },
1214
+ set: function (value) {
1215
+ this.renderer.setProperty(this.elementRef.nativeElement, 'selectionMode', value);
1216
+ },
1217
+ enumerable: false,
1218
+ configurable: true
1219
+ });
1220
+ return NimbleTreeViewDirective;
964
1221
  }());
965
- NimbleTabsToolbarDirective.decorators = [
1222
+ NimbleTreeViewDirective.decorators = [
966
1223
  { type: core.Directive, args: [{
967
- selector: 'nimble-tabs-toolbar'
1224
+ selector: 'nimble-tree-view'
968
1225
  },] }
969
1226
  ];
1227
+ NimbleTreeViewDirective.ctorParameters = function () { return [
1228
+ { type: core.Renderer2 },
1229
+ { type: core.ElementRef }
1230
+ ]; };
1231
+ NimbleTreeViewDirective.propDecorators = {
1232
+ selectionMode: [{ type: core.Input }]
1233
+ };
970
1234
 
971
- var NimbleTabsToolbarModule = /** @class */ (function () {
972
- function NimbleTabsToolbarModule() {
1235
+ var NimbleTreeViewModule = /** @class */ (function () {
1236
+ function NimbleTreeViewModule() {
973
1237
  }
974
- return NimbleTabsToolbarModule;
1238
+ return NimbleTreeViewModule;
975
1239
  }());
976
- NimbleTabsToolbarModule.decorators = [
1240
+ NimbleTreeViewModule.decorators = [
977
1241
  { type: core.NgModule, args: [{
978
- declarations: [NimbleTabsToolbarDirective],
1242
+ declarations: [NimbleTreeViewDirective],
979
1243
  imports: [common.CommonModule],
980
- exports: [NimbleTabsToolbarDirective]
1244
+ exports: [NimbleTreeViewDirective]
981
1245
  },] }
982
1246
  ];
983
1247
 
@@ -989,28 +1253,28 @@
989
1253
  * Generated bundle index. Do not edit.
990
1254
  */
991
1255
 
992
- Object.defineProperty(exports, 'NimbleTheme', {
1256
+ Object.defineProperty(exports, 'DrawerLocation', {
993
1257
  enumerable: true,
994
1258
  get: function () {
995
- return themes.NimbleTheme;
1259
+ return types.DrawerLocation;
996
1260
  }
997
1261
  });
998
- Object.defineProperty(exports, 'SelectionMode', {
1262
+ Object.defineProperty(exports, 'DrawerState', {
999
1263
  enumerable: true,
1000
1264
  get: function () {
1001
- return types.SelectionMode;
1265
+ return types.DrawerState;
1002
1266
  }
1003
1267
  });
1004
- Object.defineProperty(exports, 'DrawerLocation', {
1268
+ Object.defineProperty(exports, 'NimbleTheme', {
1005
1269
  enumerable: true,
1006
1270
  get: function () {
1007
- return types$1.DrawerLocation;
1271
+ return themes.NimbleTheme;
1008
1272
  }
1009
1273
  });
1010
- Object.defineProperty(exports, 'DrawerState', {
1274
+ Object.defineProperty(exports, 'SelectionMode', {
1011
1275
  enumerable: true,
1012
1276
  get: function () {
1013
- return types$1.DrawerState;
1277
+ return types$1.SelectionMode;
1014
1278
  }
1015
1279
  });
1016
1280
  exports.NimbleButtonDirective = NimbleButtonDirective;
@@ -1018,8 +1282,6 @@
1018
1282
  exports.NimbleCheckboxControlValueAccessorDirective = NimbleCheckboxControlValueAccessorDirective;
1019
1283
  exports.NimbleCheckboxDirective = NimbleCheckboxDirective;
1020
1284
  exports.NimbleCheckboxModule = NimbleCheckboxModule;
1021
- exports.NimbleControlValueAccessorModule = NimbleControlValueAccessorModule;
1022
- exports.NimbleDefaultControlValueAccessorDirective = NimbleDefaultControlValueAccessorDirective;
1023
1285
  exports.NimbleDrawerDirective = NimbleDrawerDirective;
1024
1286
  exports.NimbleDrawerModule = NimbleDrawerModule;
1025
1287
  exports.NimbleListboxOptionDirective = NimbleListboxOptionDirective;
@@ -1028,7 +1290,7 @@
1028
1290
  exports.NimbleMenuItemDirective = NimbleMenuItemDirective;
1029
1291
  exports.NimbleMenuItemModule = NimbleMenuItemModule;
1030
1292
  exports.NimbleMenuModule = NimbleMenuModule;
1031
- exports.NimbleNumberControlValueAccessorDirective = NimbleNumberControlValueAccessorDirective;
1293
+ exports.NimbleNumberFieldControlValueAccessorDirective = NimbleNumberFieldControlValueAccessorDirective;
1032
1294
  exports.NimbleNumberFieldDirective = NimbleNumberFieldDirective;
1033
1295
  exports.NimbleNumberFieldModule = NimbleNumberFieldModule;
1034
1296
  exports.NimbleSelectControlValueAccessorDirective = NimbleSelectControlValueAccessorDirective;
@@ -1042,6 +1304,7 @@
1042
1304
  exports.NimbleTabsModule = NimbleTabsModule;
1043
1305
  exports.NimbleTabsToolbarDirective = NimbleTabsToolbarDirective;
1044
1306
  exports.NimbleTabsToolbarModule = NimbleTabsToolbarModule;
1307
+ exports.NimbleTextFieldControlValueAccessorDirective = NimbleTextFieldControlValueAccessorDirective;
1045
1308
  exports.NimbleTextFieldDirective = NimbleTextFieldDirective;
1046
1309
  exports.NimbleTextFieldModule = NimbleTextFieldModule;
1047
1310
  exports.NimbleThemeProviderDirective = NimbleThemeProviderDirective;