@ni/nimble-angular 1.0.0-beta.13 → 1.0.0-beta.133

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 (161) hide show
  1. package/README.md +51 -20
  2. package/bundles/ni-nimble-angular.umd.js +1384 -0
  3. package/bundles/ni-nimble-angular.umd.js.map +1 -0
  4. package/directives/button/nimble-button.directive.d.ts +21 -0
  5. package/directives/button/nimble-button.module.d.ts +3 -0
  6. package/directives/button/nimble-button.module.ngfactory.d.ts +3 -0
  7. package/directives/checkbox/nimble-checkbox-control-value-accessor.directive.d.ts +9 -0
  8. package/directives/checkbox/nimble-checkbox.directive.d.ts +7 -0
  9. package/directives/checkbox/nimble-checkbox.module.d.ts +3 -0
  10. package/directives/checkbox/nimble-checkbox.module.ngfactory.d.ts +3 -0
  11. package/directives/drawer/nimble-drawer.directive.d.ts +25 -0
  12. package/directives/drawer/nimble-drawer.module.d.ts +3 -0
  13. package/directives/drawer/nimble-drawer.module.ngfactory.d.ts +3 -0
  14. package/directives/listbox-option/nimble-listbox-option.directive.d.ts +16 -0
  15. package/directives/listbox-option/nimble-listbox-option.module.d.ts +3 -0
  16. package/directives/listbox-option/nimble-listbox-option.module.ngfactory.d.ts +3 -0
  17. package/directives/menu/nimble-menu.directive.d.ts +7 -0
  18. package/directives/menu/nimble-menu.module.d.ts +3 -0
  19. package/directives/menu/nimble-menu.module.ngfactory.d.ts +3 -0
  20. package/directives/menu-item/nimble-menu-item.directive.d.ts +14 -0
  21. package/directives/menu-item/nimble-menu-item.module.d.ts +3 -0
  22. package/directives/menu-item/nimble-menu-item.module.ngfactory.d.ts +3 -0
  23. package/directives/number-field/nimble-number-field-control-value-accessor.directive.d.ts +9 -0
  24. package/directives/number-field/nimble-number-field.directive.d.ts +22 -0
  25. package/directives/number-field/nimble-number-field.module.d.ts +3 -0
  26. package/directives/number-field/nimble-number-field.module.ngfactory.d.ts +3 -0
  27. package/directives/select/nimble-select-control-value-accessor.directive.d.ts +11 -0
  28. package/directives/select/nimble-select.directive.d.ts +7 -0
  29. package/directives/select/nimble-select.module.d.ts +3 -0
  30. package/directives/select/nimble-select.module.ngfactory.d.ts +3 -0
  31. package/directives/tab/nimble-tab.directive.d.ts +14 -0
  32. package/directives/tab/nimble-tab.module.d.ts +3 -0
  33. package/directives/tab/nimble-tab.module.ngfactory.d.ts +3 -0
  34. package/directives/tab-panel/nimble-tab-panel.directive.d.ts +7 -0
  35. package/directives/tab-panel/nimble-tab-panel.module.d.ts +3 -0
  36. package/directives/tab-panel/nimble-tab-panel.module.ngfactory.d.ts +3 -0
  37. package/directives/tabs/nimble-tabs.directive.d.ts +15 -0
  38. package/directives/tabs/nimble-tabs.module.d.ts +3 -0
  39. package/directives/tabs/nimble-tabs.module.ngfactory.d.ts +3 -0
  40. package/directives/tabs-toolbar/nimble-tabs-toolbar.directive.d.ts +7 -0
  41. package/directives/tabs-toolbar/nimble-tabs-toolbar.module.d.ts +3 -0
  42. package/directives/tabs-toolbar/nimble-tabs-toolbar.module.ngfactory.d.ts +3 -0
  43. package/directives/text-field/nimble-text-field-control-value-accessor.directive.d.ts +9 -0
  44. package/directives/text-field/nimble-text-field.directive.d.ts +19 -0
  45. package/directives/text-field/nimble-text-field.module.d.ts +3 -0
  46. package/directives/text-field/nimble-text-field.module.ngfactory.d.ts +3 -0
  47. package/directives/theme-provider/nimble-theme-provider.directive.d.ts +16 -0
  48. package/directives/theme-provider/nimble-theme-provider.module.d.ts +3 -0
  49. package/directives/theme-provider/nimble-theme-provider.module.ngfactory.d.ts +3 -0
  50. package/directives/tree-item/nimble-tree-item.directive.d.ts +20 -0
  51. package/directives/tree-item/nimble-tree-item.module.d.ts +3 -0
  52. package/directives/tree-item/nimble-tree-item.module.ngfactory.d.ts +3 -0
  53. package/directives/tree-view/nimble-tree-view.directive.d.ts +16 -0
  54. package/directives/tree-view/nimble-tree-view.module.d.ts +3 -0
  55. package/directives/tree-view/nimble-tree-view.module.ngfactory.d.ts +3 -0
  56. package/directives/utilities/template-value-helpers.d.ts +20 -0
  57. package/esm2015/directives/button/nimble-button.directive.js +46 -0
  58. package/esm2015/directives/button/nimble-button.directive.ngsummary.json +1 -0
  59. package/esm2015/directives/button/nimble-button.module.js +14 -0
  60. package/esm2015/directives/button/nimble-button.module.ngfactory.js +12 -0
  61. package/esm2015/directives/button/nimble-button.module.ngsummary.json +1 -0
  62. package/esm2015/directives/checkbox/nimble-checkbox-control-value-accessor.directive.js +24 -0
  63. package/esm2015/directives/checkbox/nimble-checkbox-control-value-accessor.directive.ngsummary.json +1 -0
  64. package/esm2015/directives/checkbox/nimble-checkbox.directive.js +12 -0
  65. package/esm2015/directives/checkbox/nimble-checkbox.directive.ngsummary.json +1 -0
  66. package/esm2015/directives/checkbox/nimble-checkbox.module.js +15 -0
  67. package/esm2015/directives/checkbox/nimble-checkbox.module.ngfactory.js +12 -0
  68. package/esm2015/directives/checkbox/nimble-checkbox.module.ngsummary.json +1 -0
  69. package/esm2015/directives/drawer/nimble-drawer.directive.js +60 -0
  70. package/esm2015/directives/drawer/nimble-drawer.directive.ngsummary.json +1 -0
  71. package/esm2015/directives/drawer/nimble-drawer.module.js +14 -0
  72. package/esm2015/directives/drawer/nimble-drawer.module.ngfactory.js +12 -0
  73. package/esm2015/directives/drawer/nimble-drawer.module.ngsummary.json +1 -0
  74. package/esm2015/directives/listbox-option/nimble-listbox-option.directive.js +34 -0
  75. package/esm2015/directives/listbox-option/nimble-listbox-option.directive.ngsummary.json +1 -0
  76. package/esm2015/directives/listbox-option/nimble-listbox-option.module.js +14 -0
  77. package/esm2015/directives/listbox-option/nimble-listbox-option.module.ngfactory.js +12 -0
  78. package/esm2015/directives/listbox-option/nimble-listbox-option.module.ngsummary.json +1 -0
  79. package/esm2015/directives/menu/nimble-menu.directive.js +12 -0
  80. package/esm2015/directives/menu/nimble-menu.directive.ngsummary.json +1 -0
  81. package/esm2015/directives/menu/nimble-menu.module.js +14 -0
  82. package/esm2015/directives/menu/nimble-menu.module.ngfactory.js +12 -0
  83. package/esm2015/directives/menu/nimble-menu.module.ngsummary.json +1 -0
  84. package/esm2015/directives/menu-item/nimble-menu-item.directive.js +30 -0
  85. package/esm2015/directives/menu-item/nimble-menu-item.directive.ngsummary.json +1 -0
  86. package/esm2015/directives/menu-item/nimble-menu-item.module.js +14 -0
  87. package/esm2015/directives/menu-item/nimble-menu-item.module.ngfactory.js +12 -0
  88. package/esm2015/directives/menu-item/nimble-menu-item.module.ngsummary.json +1 -0
  89. package/esm2015/directives/number-field/nimble-number-field-control-value-accessor.directive.js +24 -0
  90. package/esm2015/directives/number-field/nimble-number-field-control-value-accessor.directive.ngsummary.json +1 -0
  91. package/esm2015/directives/number-field/nimble-number-field.directive.js +61 -0
  92. package/esm2015/directives/number-field/nimble-number-field.directive.ngsummary.json +1 -0
  93. package/esm2015/directives/number-field/nimble-number-field.module.js +15 -0
  94. package/esm2015/directives/number-field/nimble-number-field.module.ngfactory.js +12 -0
  95. package/esm2015/directives/number-field/nimble-number-field.module.ngsummary.json +1 -0
  96. package/esm2015/directives/select/nimble-select-control-value-accessor.directive.js +26 -0
  97. package/esm2015/directives/select/nimble-select-control-value-accessor.directive.ngsummary.json +1 -0
  98. package/esm2015/directives/select/nimble-select.directive.js +12 -0
  99. package/esm2015/directives/select/nimble-select.directive.ngsummary.json +1 -0
  100. package/esm2015/directives/select/nimble-select.module.js +15 -0
  101. package/esm2015/directives/select/nimble-select.module.ngfactory.js +12 -0
  102. package/esm2015/directives/select/nimble-select.module.ngsummary.json +1 -0
  103. package/esm2015/directives/tab/nimble-tab.directive.js +30 -0
  104. package/esm2015/directives/tab/nimble-tab.directive.ngsummary.json +1 -0
  105. package/esm2015/directives/tab/nimble-tab.module.js +14 -0
  106. package/esm2015/directives/tab/nimble-tab.module.ngfactory.js +12 -0
  107. package/esm2015/directives/tab/nimble-tab.module.ngsummary.json +1 -0
  108. package/esm2015/directives/tab-panel/nimble-tab-panel.directive.js +12 -0
  109. package/esm2015/directives/tab-panel/nimble-tab-panel.directive.ngsummary.json +1 -0
  110. package/esm2015/directives/tab-panel/nimble-tab-panel.module.js +14 -0
  111. package/esm2015/directives/tab-panel/nimble-tab-panel.module.ngfactory.js +12 -0
  112. package/esm2015/directives/tab-panel/nimble-tab-panel.module.ngsummary.json +1 -0
  113. package/esm2015/directives/tabs/nimble-tabs.directive.js +37 -0
  114. package/esm2015/directives/tabs/nimble-tabs.directive.ngsummary.json +1 -0
  115. package/esm2015/directives/tabs/nimble-tabs.module.js +14 -0
  116. package/esm2015/directives/tabs/nimble-tabs.module.ngfactory.js +12 -0
  117. package/esm2015/directives/tabs/nimble-tabs.module.ngsummary.json +1 -0
  118. package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.directive.js +12 -0
  119. package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.directive.ngsummary.json +1 -0
  120. package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.module.js +14 -0
  121. package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.module.ngfactory.js +12 -0
  122. package/esm2015/directives/tabs-toolbar/nimble-tabs-toolbar.module.ngsummary.json +1 -0
  123. package/esm2015/directives/text-field/nimble-text-field-control-value-accessor.directive.js +29 -0
  124. package/esm2015/directives/text-field/nimble-text-field-control-value-accessor.directive.ngsummary.json +1 -0
  125. package/esm2015/directives/text-field/nimble-text-field.directive.js +42 -0
  126. package/esm2015/directives/text-field/nimble-text-field.directive.ngsummary.json +1 -0
  127. package/esm2015/directives/text-field/nimble-text-field.module.js +15 -0
  128. package/esm2015/directives/text-field/nimble-text-field.module.ngfactory.js +12 -0
  129. package/esm2015/directives/text-field/nimble-text-field.module.ngsummary.json +1 -0
  130. package/esm2015/directives/theme-provider/nimble-theme-provider.directive.js +31 -0
  131. package/esm2015/directives/theme-provider/nimble-theme-provider.directive.ngsummary.json +1 -0
  132. package/esm2015/directives/theme-provider/nimble-theme-provider.module.js +14 -0
  133. package/esm2015/directives/theme-provider/nimble-theme-provider.module.ngfactory.js +12 -0
  134. package/esm2015/directives/theme-provider/nimble-theme-provider.module.ngsummary.json +1 -0
  135. package/esm2015/directives/tree-item/nimble-tree-item.directive.js +54 -0
  136. package/esm2015/directives/tree-item/nimble-tree-item.directive.ngsummary.json +1 -0
  137. package/esm2015/directives/tree-item/nimble-tree-item.module.js +14 -0
  138. package/esm2015/directives/tree-item/nimble-tree-item.module.ngfactory.js +12 -0
  139. package/esm2015/directives/tree-item/nimble-tree-item.module.ngsummary.json +1 -0
  140. package/esm2015/directives/tree-view/nimble-tree-view.directive.js +33 -0
  141. package/esm2015/directives/tree-view/nimble-tree-view.directive.ngsummary.json +1 -0
  142. package/esm2015/directives/tree-view/nimble-tree-view.module.js +14 -0
  143. package/esm2015/directives/tree-view/nimble-tree-view.module.ngfactory.js +12 -0
  144. package/esm2015/directives/tree-view/nimble-tree-view.module.ngsummary.json +1 -0
  145. package/esm2015/directives/utilities/template-value-helpers.js +37 -0
  146. package/esm2015/directives/utilities/template-value-helpers.ngsummary.json +1 -0
  147. package/esm2015/ni-nimble-angular.js +5 -0
  148. package/esm2015/ni-nimble-angular.ngsummary.json +1 -0
  149. package/esm2015/public-api.js +41 -0
  150. package/esm2015/public-api.ngsummary.json +1 -0
  151. package/esm2015/testing/async-helpers.js +12 -0
  152. package/esm2015/testing/async-helpers.ngsummary.json +1 -0
  153. package/fesm2015/ni-nimble-angular.js +822 -0
  154. package/fesm2015/ni-nimble-angular.js.map +1 -0
  155. package/ni-nimble-angular.d.ts +4 -0
  156. package/ni-nimble-angular.metadata.json +1 -0
  157. package/package.json +11 -18
  158. package/public-api.d.ts +37 -0
  159. package/testing/async-helpers.d.ts +11 -0
  160. package/.eslintrc.js +0 -38
  161. package/karma.conf.js +0 -46
@@ -0,0 +1,1384 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ni/nimble-components/dist/esm/button/types'), 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/types'), require('@ni/nimble-components/dist/esm/text-field'), require('@ni/nimble-components/dist/esm/theme-provider/types'), 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'), require('@ni/nimble-components/dist/esm/testing/async-helpers')) :
3
+ typeof define === 'function' && define.amd ? define('@ni/nimble-angular', ['exports', '@angular/core', '@ni/nimble-components/dist/esm/button/types', '@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/types', '@ni/nimble-components/dist/esm/text-field', '@ni/nimble-components/dist/esm/theme-provider/types', '@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', '@ni/nimble-components/dist/esm/testing/async-helpers'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.ni = global.ni || {}, global.ni['nimble-angular'] = {}), global.ng.core, global.types, global.ng.common, null, global.ng.forms, null, global.types$1, null, null, null, null, null, null, null, null, null, null, global.types$2, null, global.types$3, null, null, global.types$4, null, global.asyncHelpers));
5
+ }(this, (function (exports, core, types, common, button, forms, checkbox, types$1, drawer, listboxOption, menu, menuItem, numberField, select, tab, tabPanel, tabs, tabsToolbar, types$2, textField, types$3, themeProvider, treeItem, types$4, treeView, asyncHelpers) { 'use strict';
6
+
7
+ /**
8
+ * Conversion helpers for values coming from template attributes or property bindings
9
+ */
10
+ /**
11
+ * Converts values from templates (empty string or null) or boolean bindings to a boolean property representation
12
+ */
13
+ var toBooleanProperty = function (value) {
14
+ if (value === false || value === null) {
15
+ return false;
16
+ }
17
+ // For boolean attributes the empty string value is true
18
+ return true;
19
+ };
20
+ /**
21
+ * Converts values from templates (empty string or null) or boolean bindings to an Aria boolean
22
+ * attribute representation (the strings "true" or "false")
23
+ */
24
+ var toBooleanAriaAttribute = function (value) {
25
+ if (value === false || value === null) {
26
+ return 'false';
27
+ }
28
+ // For boolean attributes the empty string value is true
29
+ return 'true';
30
+ };
31
+ /**
32
+ * Converts values from templates (number representation as a string) or number bindings to a number property representation
33
+ */
34
+ var toNumberProperty = function (value) {
35
+ // Angular: https://github.com/angular/angular/blob/2664bc2b3ef4ee5fd671f915828cfcc274a36c77/packages/forms/src/directives/number_value_accessor.ts#L67
36
+ // And Fast: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-element/src/components/attributes.ts#L100
37
+ // Handle numeric conversions from the view differently
38
+ // Since Number(val) https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-number-constructor-number-value
39
+ // and val * 1 https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-applystringornumericbinaryoperator
40
+ // Are identical (use ToNumeric algorithm), went with Number() for clarity
41
+ return Number(value);
42
+ };
43
+
44
+ /**
45
+ * Directive to provide Angular integration for the button.
46
+ */
47
+ var NimbleButtonDirective = /** @class */ (function () {
48
+ function NimbleButtonDirective(renderer, elementRef) {
49
+ this.renderer = renderer;
50
+ this.elementRef = elementRef;
51
+ }
52
+ Object.defineProperty(NimbleButtonDirective.prototype, "appearance", {
53
+ get: function () {
54
+ return this.elementRef.nativeElement.appearance;
55
+ },
56
+ set: function (value) {
57
+ this.renderer.setProperty(this.elementRef.nativeElement, 'appearance', value);
58
+ },
59
+ enumerable: false,
60
+ configurable: true
61
+ });
62
+ Object.defineProperty(NimbleButtonDirective.prototype, "disabled", {
63
+ get: function () {
64
+ return this.elementRef.nativeElement.disabled;
65
+ },
66
+ set: function (value) {
67
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
68
+ },
69
+ enumerable: false,
70
+ configurable: true
71
+ });
72
+ Object.defineProperty(NimbleButtonDirective.prototype, "type", {
73
+ get: function () {
74
+ return this.elementRef.nativeElement.type;
75
+ },
76
+ set: function (value) {
77
+ this.renderer.setProperty(this.elementRef.nativeElement, 'type', value);
78
+ },
79
+ enumerable: false,
80
+ configurable: true
81
+ });
82
+ return NimbleButtonDirective;
83
+ }());
84
+ NimbleButtonDirective.decorators = [
85
+ { type: core.Directive, args: [{
86
+ selector: 'nimble-button'
87
+ },] }
88
+ ];
89
+ NimbleButtonDirective.ctorParameters = function () { return [
90
+ { type: core.Renderer2 },
91
+ { type: core.ElementRef }
92
+ ]; };
93
+ NimbleButtonDirective.propDecorators = {
94
+ appearance: [{ type: core.Input }],
95
+ disabled: [{ type: core.Input }],
96
+ type: [{ type: core.Input }]
97
+ };
98
+
99
+ var NimbleButtonModule = /** @class */ (function () {
100
+ function NimbleButtonModule() {
101
+ }
102
+ return NimbleButtonModule;
103
+ }());
104
+ NimbleButtonModule.decorators = [
105
+ { type: core.NgModule, args: [{
106
+ declarations: [NimbleButtonDirective],
107
+ imports: [common.CommonModule],
108
+ exports: [NimbleButtonDirective]
109
+ },] }
110
+ ];
111
+
112
+ /*! *****************************************************************************
113
+ Copyright (c) Microsoft Corporation.
114
+
115
+ Permission to use, copy, modify, and/or distribute this software for any
116
+ purpose with or without fee is hereby granted.
117
+
118
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
119
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
120
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
121
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
122
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
123
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
124
+ PERFORMANCE OF THIS SOFTWARE.
125
+ ***************************************************************************** */
126
+ /* global Reflect, Promise */
127
+ var extendStatics = function (d, b) {
128
+ extendStatics = Object.setPrototypeOf ||
129
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
130
+ function (d, b) { for (var p in b)
131
+ if (Object.prototype.hasOwnProperty.call(b, p))
132
+ d[p] = b[p]; };
133
+ return extendStatics(d, b);
134
+ };
135
+ function __extends(d, b) {
136
+ if (typeof b !== "function" && b !== null)
137
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
138
+ extendStatics(d, b);
139
+ function __() { this.constructor = d; }
140
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
141
+ }
142
+ var __assign = function () {
143
+ __assign = Object.assign || function __assign(t) {
144
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
145
+ s = arguments[i];
146
+ for (var p in s)
147
+ if (Object.prototype.hasOwnProperty.call(s, p))
148
+ t[p] = s[p];
149
+ }
150
+ return t;
151
+ };
152
+ return __assign.apply(this, arguments);
153
+ };
154
+ function __rest(s, e) {
155
+ var t = {};
156
+ for (var p in s)
157
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
158
+ t[p] = s[p];
159
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
160
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
161
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
162
+ t[p[i]] = s[p[i]];
163
+ }
164
+ return t;
165
+ }
166
+ function __decorate(decorators, target, key, desc) {
167
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
168
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
169
+ r = Reflect.decorate(decorators, target, key, desc);
170
+ else
171
+ for (var i = decorators.length - 1; i >= 0; i--)
172
+ if (d = decorators[i])
173
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
174
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
175
+ }
176
+ function __param(paramIndex, decorator) {
177
+ return function (target, key) { decorator(target, key, paramIndex); };
178
+ }
179
+ function __metadata(metadataKey, metadataValue) {
180
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
181
+ return Reflect.metadata(metadataKey, metadataValue);
182
+ }
183
+ function __awaiter(thisArg, _arguments, P, generator) {
184
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
185
+ return new (P || (P = Promise))(function (resolve, reject) {
186
+ function fulfilled(value) { try {
187
+ step(generator.next(value));
188
+ }
189
+ catch (e) {
190
+ reject(e);
191
+ } }
192
+ function rejected(value) { try {
193
+ step(generator["throw"](value));
194
+ }
195
+ catch (e) {
196
+ reject(e);
197
+ } }
198
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
199
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
200
+ });
201
+ }
202
+ function __generator(thisArg, body) {
203
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
204
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
205
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
206
+ function verb(n) { return function (v) { return step([n, v]); }; }
207
+ function step(op) {
208
+ if (f)
209
+ throw new TypeError("Generator is already executing.");
210
+ while (_)
211
+ try {
212
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
213
+ return t;
214
+ if (y = 0, t)
215
+ op = [op[0] & 2, t.value];
216
+ switch (op[0]) {
217
+ case 0:
218
+ case 1:
219
+ t = op;
220
+ break;
221
+ case 4:
222
+ _.label++;
223
+ return { value: op[1], done: false };
224
+ case 5:
225
+ _.label++;
226
+ y = op[1];
227
+ op = [0];
228
+ continue;
229
+ case 7:
230
+ op = _.ops.pop();
231
+ _.trys.pop();
232
+ continue;
233
+ default:
234
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
235
+ _ = 0;
236
+ continue;
237
+ }
238
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
239
+ _.label = op[1];
240
+ break;
241
+ }
242
+ if (op[0] === 6 && _.label < t[1]) {
243
+ _.label = t[1];
244
+ t = op;
245
+ break;
246
+ }
247
+ if (t && _.label < t[2]) {
248
+ _.label = t[2];
249
+ _.ops.push(op);
250
+ break;
251
+ }
252
+ if (t[2])
253
+ _.ops.pop();
254
+ _.trys.pop();
255
+ continue;
256
+ }
257
+ op = body.call(thisArg, _);
258
+ }
259
+ catch (e) {
260
+ op = [6, e];
261
+ y = 0;
262
+ }
263
+ finally {
264
+ f = t = 0;
265
+ }
266
+ if (op[0] & 5)
267
+ throw op[1];
268
+ return { value: op[0] ? op[1] : void 0, done: true };
269
+ }
270
+ }
271
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
272
+ if (k2 === undefined)
273
+ k2 = k;
274
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
275
+ }) : (function (o, m, k, k2) {
276
+ if (k2 === undefined)
277
+ k2 = k;
278
+ o[k2] = m[k];
279
+ });
280
+ function __exportStar(m, o) {
281
+ for (var p in m)
282
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
283
+ __createBinding(o, m, p);
284
+ }
285
+ function __values(o) {
286
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
287
+ if (m)
288
+ return m.call(o);
289
+ if (o && typeof o.length === "number")
290
+ return {
291
+ next: function () {
292
+ if (o && i >= o.length)
293
+ o = void 0;
294
+ return { value: o && o[i++], done: !o };
295
+ }
296
+ };
297
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
298
+ }
299
+ function __read(o, n) {
300
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
301
+ if (!m)
302
+ return o;
303
+ var i = m.call(o), r, ar = [], e;
304
+ try {
305
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
306
+ ar.push(r.value);
307
+ }
308
+ catch (error) {
309
+ e = { error: error };
310
+ }
311
+ finally {
312
+ try {
313
+ if (r && !r.done && (m = i["return"]))
314
+ m.call(i);
315
+ }
316
+ finally {
317
+ if (e)
318
+ throw e.error;
319
+ }
320
+ }
321
+ return ar;
322
+ }
323
+ /** @deprecated */
324
+ function __spread() {
325
+ for (var ar = [], i = 0; i < arguments.length; i++)
326
+ ar = ar.concat(__read(arguments[i]));
327
+ return ar;
328
+ }
329
+ /** @deprecated */
330
+ function __spreadArrays() {
331
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
332
+ s += arguments[i].length;
333
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
334
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
335
+ r[k] = a[j];
336
+ return r;
337
+ }
338
+ function __spreadArray(to, from, pack) {
339
+ if (pack || arguments.length === 2)
340
+ for (var i = 0, l = from.length, ar; i < l; i++) {
341
+ if (ar || !(i in from)) {
342
+ if (!ar)
343
+ ar = Array.prototype.slice.call(from, 0, i);
344
+ ar[i] = from[i];
345
+ }
346
+ }
347
+ return to.concat(ar || Array.prototype.slice.call(from));
348
+ }
349
+ function __await(v) {
350
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
351
+ }
352
+ function __asyncGenerator(thisArg, _arguments, generator) {
353
+ if (!Symbol.asyncIterator)
354
+ throw new TypeError("Symbol.asyncIterator is not defined.");
355
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
356
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
357
+ function verb(n) { if (g[n])
358
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
359
+ function resume(n, v) { try {
360
+ step(g[n](v));
361
+ }
362
+ catch (e) {
363
+ settle(q[0][3], e);
364
+ } }
365
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
366
+ function fulfill(value) { resume("next", value); }
367
+ function reject(value) { resume("throw", value); }
368
+ function settle(f, v) { if (f(v), q.shift(), q.length)
369
+ resume(q[0][0], q[0][1]); }
370
+ }
371
+ function __asyncDelegator(o) {
372
+ var i, p;
373
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
374
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
375
+ }
376
+ function __asyncValues(o) {
377
+ if (!Symbol.asyncIterator)
378
+ throw new TypeError("Symbol.asyncIterator is not defined.");
379
+ var m = o[Symbol.asyncIterator], i;
380
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
381
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
382
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
383
+ }
384
+ function __makeTemplateObject(cooked, raw) {
385
+ if (Object.defineProperty) {
386
+ Object.defineProperty(cooked, "raw", { value: raw });
387
+ }
388
+ else {
389
+ cooked.raw = raw;
390
+ }
391
+ return cooked;
392
+ }
393
+ ;
394
+ var __setModuleDefault = Object.create ? (function (o, v) {
395
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
396
+ }) : function (o, v) {
397
+ o["default"] = v;
398
+ };
399
+ function __importStar(mod) {
400
+ if (mod && mod.__esModule)
401
+ return mod;
402
+ var result = {};
403
+ if (mod != null)
404
+ for (var k in mod)
405
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
406
+ __createBinding(result, mod, k);
407
+ __setModuleDefault(result, mod);
408
+ return result;
409
+ }
410
+ function __importDefault(mod) {
411
+ return (mod && mod.__esModule) ? mod : { default: mod };
412
+ }
413
+ function __classPrivateFieldGet(receiver, state, kind, f) {
414
+ if (kind === "a" && !f)
415
+ throw new TypeError("Private accessor was defined without a getter");
416
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
417
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
418
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
419
+ }
420
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
421
+ if (kind === "m")
422
+ throw new TypeError("Private method is not writable");
423
+ if (kind === "a" && !f)
424
+ throw new TypeError("Private accessor was defined without a setter");
425
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
426
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
427
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
428
+ }
429
+
430
+ /**
431
+ * Extension of Angular's CheckboxControlValueAccessor to target the Nimble checkbox control.
432
+ *
433
+ * Directive decorator based on CheckboxControlValueAccessor decorator
434
+ * https://github.com/angular/angular/blob/master/packages/forms/src/directives/checkbox_value_accessor.ts#L42
435
+ */
436
+ var NimbleCheckboxControlValueAccessorDirective = /** @class */ (function (_super) {
437
+ __extends(NimbleCheckboxControlValueAccessorDirective, _super);
438
+ function NimbleCheckboxControlValueAccessorDirective() {
439
+ return _super !== null && _super.apply(this, arguments) || this;
440
+ }
441
+ return NimbleCheckboxControlValueAccessorDirective;
442
+ }(forms.CheckboxControlValueAccessor));
443
+ NimbleCheckboxControlValueAccessorDirective.decorators = [
444
+ { type: core.Directive, args: [{
445
+ selector: 'nimble-checkbox[formControlName],nimble-checkbox[formControl],nimble-checkbox[ngModel]',
446
+ // The following host metadata is duplicated from CheckboxControlValueAccessor
447
+ // eslint-disable-next-line @angular-eslint/no-host-metadata-property
448
+ host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },
449
+ providers: [{
450
+ provide: forms.NG_VALUE_ACCESSOR,
451
+ useExisting: core.forwardRef(function () { return NimbleCheckboxControlValueAccessorDirective; }),
452
+ multi: true
453
+ }]
454
+ },] }
455
+ ];
456
+
457
+ /**
458
+ * Directive to provide Angular integration for the checkbox.
459
+ */
460
+ var NimbleCheckboxDirective = /** @class */ (function () {
461
+ function NimbleCheckboxDirective() {
462
+ }
463
+ return NimbleCheckboxDirective;
464
+ }());
465
+ NimbleCheckboxDirective.decorators = [
466
+ { type: core.Directive, args: [{
467
+ selector: 'nimble-checkbox'
468
+ },] }
469
+ ];
470
+
471
+ var NimbleCheckboxModule = /** @class */ (function () {
472
+ function NimbleCheckboxModule() {
473
+ }
474
+ return NimbleCheckboxModule;
475
+ }());
476
+ NimbleCheckboxModule.decorators = [
477
+ { type: core.NgModule, args: [{
478
+ declarations: [NimbleCheckboxDirective, NimbleCheckboxControlValueAccessorDirective],
479
+ imports: [common.CommonModule],
480
+ exports: [NimbleCheckboxDirective, NimbleCheckboxControlValueAccessorDirective]
481
+ },] }
482
+ ];
483
+
484
+ /**
485
+ * Directive to provide Angular integration for the drawer.
486
+ */
487
+ var NimbleDrawerDirective = /** @class */ (function () {
488
+ function NimbleDrawerDirective(renderer, elementRef) {
489
+ this.renderer = renderer;
490
+ this.elementRef = elementRef;
491
+ this.stateChange = new core.EventEmitter();
492
+ }
493
+ Object.defineProperty(NimbleDrawerDirective.prototype, "location", {
494
+ get: function () {
495
+ return this.elementRef.nativeElement.location;
496
+ },
497
+ set: function (value) {
498
+ this.renderer.setProperty(this.elementRef.nativeElement, 'location', value);
499
+ },
500
+ enumerable: false,
501
+ configurable: true
502
+ });
503
+ Object.defineProperty(NimbleDrawerDirective.prototype, "state", {
504
+ get: function () {
505
+ return this.elementRef.nativeElement.state;
506
+ },
507
+ set: function (value) {
508
+ this.renderer.setProperty(this.elementRef.nativeElement, 'state', value);
509
+ },
510
+ enumerable: false,
511
+ configurable: true
512
+ });
513
+ Object.defineProperty(NimbleDrawerDirective.prototype, "modal", {
514
+ get: function () {
515
+ return this.elementRef.nativeElement.modal;
516
+ },
517
+ set: function (value) {
518
+ this.renderer.setProperty(this.elementRef.nativeElement, 'modal', toBooleanProperty(value));
519
+ },
520
+ enumerable: false,
521
+ configurable: true
522
+ });
523
+ NimbleDrawerDirective.prototype.show = function () {
524
+ this.state = types$1.DrawerState.Opening;
525
+ };
526
+ NimbleDrawerDirective.prototype.hide = function () {
527
+ this.state = types$1.DrawerState.Closing;
528
+ };
529
+ NimbleDrawerDirective.prototype.onStateChanged = function ($event) {
530
+ if ($event.target === this.elementRef.nativeElement) {
531
+ this.stateChange.emit(this.state);
532
+ }
533
+ };
534
+ return NimbleDrawerDirective;
535
+ }());
536
+ NimbleDrawerDirective.decorators = [
537
+ { type: core.Directive, args: [{
538
+ selector: 'nimble-drawer'
539
+ },] }
540
+ ];
541
+ NimbleDrawerDirective.ctorParameters = function () { return [
542
+ { type: core.Renderer2 },
543
+ { type: core.ElementRef }
544
+ ]; };
545
+ NimbleDrawerDirective.propDecorators = {
546
+ location: [{ type: core.Input }],
547
+ state: [{ type: core.Input }],
548
+ modal: [{ type: core.Input }],
549
+ stateChange: [{ type: core.Output }],
550
+ onStateChanged: [{ type: core.HostListener, args: ['state-change', ['$event'],] }]
551
+ };
552
+
553
+ var NimbleDrawerModule = /** @class */ (function () {
554
+ function NimbleDrawerModule() {
555
+ }
556
+ return NimbleDrawerModule;
557
+ }());
558
+ NimbleDrawerModule.decorators = [
559
+ { type: core.NgModule, args: [{
560
+ declarations: [NimbleDrawerDirective],
561
+ imports: [common.CommonModule],
562
+ exports: [NimbleDrawerDirective]
563
+ },] }
564
+ ];
565
+
566
+ /**
567
+ * Extension of Angular's SelectControlValueAccessor to target the Nimble select control.
568
+ *
569
+ * @see NimbleSelectOptionDirective
570
+ *
571
+ * Directive decorator based on SelectControlValueAccessor decorator
572
+ * https://github.com/angular/angular/blob/master/packages/forms/src/directives/select_control_value_accessor.ts#L85
573
+ */
574
+ var NimbleSelectControlValueAccessorDirective = /** @class */ (function (_super) {
575
+ __extends(NimbleSelectControlValueAccessorDirective, _super);
576
+ function NimbleSelectControlValueAccessorDirective() {
577
+ return _super !== null && _super.apply(this, arguments) || this;
578
+ }
579
+ return NimbleSelectControlValueAccessorDirective;
580
+ }(forms.SelectControlValueAccessor));
581
+ NimbleSelectControlValueAccessorDirective.decorators = [
582
+ { type: core.Directive, args: [{
583
+ selector: 'nimble-select:not([multiple])[formControlName],nimble-select:not([multiple])[formControl],nimble-select:not([multiple])[ngModel]',
584
+ // The following host metadata is duplicated from SelectControlValueAccessor
585
+ // eslint-disable-next-line @angular-eslint/no-host-metadata-property
586
+ host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },
587
+ providers: [{
588
+ provide: forms.NG_VALUE_ACCESSOR,
589
+ useExisting: core.forwardRef(function () { return NimbleSelectControlValueAccessorDirective; }),
590
+ multi: true
591
+ }]
592
+ },] }
593
+ ];
594
+
595
+ /**
596
+ * Directive to provide Angular integration for the listbox option.
597
+ */
598
+ var NimbleListboxOptionDirective = /** @class */ (function (_super) {
599
+ __extends(NimbleListboxOptionDirective, _super);
600
+ function NimbleListboxOptionDirective(elementRef, renderer, select) {
601
+ var _this = _super.call(this, elementRef, renderer, select) || this;
602
+ _this.elementRef = elementRef;
603
+ _this.renderer = renderer;
604
+ return _this;
605
+ }
606
+ Object.defineProperty(NimbleListboxOptionDirective.prototype, "disabled", {
607
+ get: function () {
608
+ return this.elementRef.nativeElement.disabled;
609
+ },
610
+ set: function (value) {
611
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
612
+ },
613
+ enumerable: false,
614
+ configurable: true
615
+ });
616
+ return NimbleListboxOptionDirective;
617
+ }(forms.NgSelectOption));
618
+ NimbleListboxOptionDirective.decorators = [
619
+ { type: core.Directive, args: [{
620
+ selector: 'nimble-listbox-option'
621
+ },] }
622
+ ];
623
+ NimbleListboxOptionDirective.ctorParameters = function () { return [
624
+ { type: core.ElementRef },
625
+ { type: core.Renderer2 },
626
+ { type: NimbleSelectControlValueAccessorDirective, decorators: [{ type: core.Inject, args: [NimbleSelectControlValueAccessorDirective,] }, { type: core.Optional }, { type: core.Host }] }
627
+ ]; };
628
+ NimbleListboxOptionDirective.propDecorators = {
629
+ disabled: [{ type: core.Input }]
630
+ };
631
+
632
+ var NimbleListboxOptionModule = /** @class */ (function () {
633
+ function NimbleListboxOptionModule() {
634
+ }
635
+ return NimbleListboxOptionModule;
636
+ }());
637
+ NimbleListboxOptionModule.decorators = [
638
+ { type: core.NgModule, args: [{
639
+ declarations: [NimbleListboxOptionDirective],
640
+ imports: [common.CommonModule],
641
+ exports: [NimbleListboxOptionDirective]
642
+ },] }
643
+ ];
644
+
645
+ /**
646
+ * Directive to provide Angular integration for the menu.
647
+ */
648
+ var NimbleMenuDirective = /** @class */ (function () {
649
+ function NimbleMenuDirective() {
650
+ }
651
+ return NimbleMenuDirective;
652
+ }());
653
+ NimbleMenuDirective.decorators = [
654
+ { type: core.Directive, args: [{
655
+ selector: 'nimble-menu'
656
+ },] }
657
+ ];
658
+
659
+ var NimbleMenuModule = /** @class */ (function () {
660
+ function NimbleMenuModule() {
661
+ }
662
+ return NimbleMenuModule;
663
+ }());
664
+ NimbleMenuModule.decorators = [
665
+ { type: core.NgModule, args: [{
666
+ declarations: [NimbleMenuDirective],
667
+ imports: [common.CommonModule],
668
+ exports: [NimbleMenuDirective]
669
+ },] }
670
+ ];
671
+
672
+ /**
673
+ * Directive to provide Angular integration for the menu.
674
+ */
675
+ var NimbleMenuItemDirective = /** @class */ (function () {
676
+ function NimbleMenuItemDirective(renderer, elementRef) {
677
+ this.renderer = renderer;
678
+ this.elementRef = elementRef;
679
+ }
680
+ Object.defineProperty(NimbleMenuItemDirective.prototype, "disabled", {
681
+ get: function () {
682
+ return this.elementRef.nativeElement.disabled;
683
+ },
684
+ set: function (value) {
685
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
686
+ },
687
+ enumerable: false,
688
+ configurable: true
689
+ });
690
+ return NimbleMenuItemDirective;
691
+ }());
692
+ NimbleMenuItemDirective.decorators = [
693
+ { type: core.Directive, args: [{
694
+ selector: 'nimble-menu-item'
695
+ },] }
696
+ ];
697
+ NimbleMenuItemDirective.ctorParameters = function () { return [
698
+ { type: core.Renderer2 },
699
+ { type: core.ElementRef }
700
+ ]; };
701
+ NimbleMenuItemDirective.propDecorators = {
702
+ disabled: [{ type: core.Input }]
703
+ };
704
+
705
+ var NimbleMenuItemModule = /** @class */ (function () {
706
+ function NimbleMenuItemModule() {
707
+ }
708
+ return NimbleMenuItemModule;
709
+ }());
710
+ NimbleMenuItemModule.decorators = [
711
+ { type: core.NgModule, args: [{
712
+ declarations: [NimbleMenuItemDirective],
713
+ imports: [common.CommonModule],
714
+ exports: [NimbleMenuItemDirective]
715
+ },] }
716
+ ];
717
+
718
+ /**
719
+ * Extension of Angular's NumberValueAccessor to target the number-based inputs.
720
+ *
721
+ * Directive decorator based on NumberValueAccessor decorator
722
+ * https://github.com/angular/angular/blob/master/packages/forms/src/directives/number_value_accessor.ts#L43
723
+ */
724
+ var NimbleNumberFieldControlValueAccessorDirective = /** @class */ (function (_super) {
725
+ __extends(NimbleNumberFieldControlValueAccessorDirective, _super);
726
+ function NimbleNumberFieldControlValueAccessorDirective() {
727
+ return _super !== null && _super.apply(this, arguments) || this;
728
+ }
729
+ return NimbleNumberFieldControlValueAccessorDirective;
730
+ }(forms.NumberValueAccessor));
731
+ NimbleNumberFieldControlValueAccessorDirective.decorators = [
732
+ { type: core.Directive, args: [{
733
+ selector: 'nimble-number-field[formControlName],nimble-number-field[formControl],nimble-number-field[ngModel]',
734
+ // The following host metadata is duplicated from NumberValueAccessor
735
+ // eslint-disable-next-line @angular-eslint/no-host-metadata-property
736
+ host: { '(input)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },
737
+ providers: [{
738
+ provide: forms.NG_VALUE_ACCESSOR,
739
+ useExisting: core.forwardRef(function () { return NimbleNumberFieldControlValueAccessorDirective; }),
740
+ multi: true
741
+ }]
742
+ },] }
743
+ ];
744
+
745
+ /**
746
+ * Directive to provide Angular integration for the number field.
747
+ */
748
+ var NimbleNumberFieldDirective = /** @class */ (function () {
749
+ function NimbleNumberFieldDirective(renderer, elementRef) {
750
+ this.renderer = renderer;
751
+ this.elementRef = elementRef;
752
+ }
753
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "readOnly", {
754
+ get: function () {
755
+ return this.elementRef.nativeElement.readOnly;
756
+ },
757
+ // readOnly property maps to the readonly attribute
758
+ // https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/number-field/number-field.ts#L38
759
+ // eslint-disable-next-line @angular-eslint/no-input-rename
760
+ set: function (value) {
761
+ this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
762
+ },
763
+ enumerable: false,
764
+ configurable: true
765
+ });
766
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "min", {
767
+ get: function () {
768
+ return this.elementRef.nativeElement.min;
769
+ },
770
+ set: function (value) {
771
+ this.renderer.setProperty(this.elementRef.nativeElement, 'min', toNumberProperty(value));
772
+ },
773
+ enumerable: false,
774
+ configurable: true
775
+ });
776
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "max", {
777
+ get: function () {
778
+ return this.elementRef.nativeElement.max;
779
+ },
780
+ set: function (value) {
781
+ this.renderer.setProperty(this.elementRef.nativeElement, 'max', toNumberProperty(value));
782
+ },
783
+ enumerable: false,
784
+ configurable: true
785
+ });
786
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "step", {
787
+ get: function () {
788
+ return this.elementRef.nativeElement.step;
789
+ },
790
+ set: function (value) {
791
+ this.renderer.setProperty(this.elementRef.nativeElement, 'step', toNumberProperty(value));
792
+ },
793
+ enumerable: false,
794
+ configurable: true
795
+ });
796
+ Object.defineProperty(NimbleNumberFieldDirective.prototype, "placeholder", {
797
+ get: function () {
798
+ return this.elementRef.nativeElement.placeholder;
799
+ },
800
+ set: function (value) {
801
+ this.renderer.setProperty(this.elementRef.nativeElement, 'placeholder', value);
802
+ },
803
+ enumerable: false,
804
+ configurable: true
805
+ });
806
+ return NimbleNumberFieldDirective;
807
+ }());
808
+ NimbleNumberFieldDirective.decorators = [
809
+ { type: core.Directive, args: [{
810
+ selector: 'nimble-number-field'
811
+ },] }
812
+ ];
813
+ NimbleNumberFieldDirective.ctorParameters = function () { return [
814
+ { type: core.Renderer2 },
815
+ { type: core.ElementRef }
816
+ ]; };
817
+ NimbleNumberFieldDirective.propDecorators = {
818
+ readOnly: [{ type: core.Input, args: ['readonly',] }],
819
+ min: [{ type: core.Input }],
820
+ max: [{ type: core.Input }],
821
+ step: [{ type: core.Input }],
822
+ placeholder: [{ type: core.Input }]
823
+ };
824
+
825
+ var NimbleNumberFieldModule = /** @class */ (function () {
826
+ function NimbleNumberFieldModule() {
827
+ }
828
+ return NimbleNumberFieldModule;
829
+ }());
830
+ NimbleNumberFieldModule.decorators = [
831
+ { type: core.NgModule, args: [{
832
+ declarations: [NimbleNumberFieldDirective, NimbleNumberFieldControlValueAccessorDirective],
833
+ imports: [common.CommonModule],
834
+ exports: [NimbleNumberFieldDirective, NimbleNumberFieldControlValueAccessorDirective]
835
+ },] }
836
+ ];
837
+
838
+ /**
839
+ * Directive for Nimble select control Angular integration
840
+ */
841
+ var NimbleSelectDirective = /** @class */ (function () {
842
+ function NimbleSelectDirective() {
843
+ }
844
+ return NimbleSelectDirective;
845
+ }());
846
+ NimbleSelectDirective.decorators = [
847
+ { type: core.Directive, args: [{
848
+ selector: 'nimble-select',
849
+ },] }
850
+ ];
851
+
852
+ var NimbleSelectModule = /** @class */ (function () {
853
+ function NimbleSelectModule() {
854
+ }
855
+ return NimbleSelectModule;
856
+ }());
857
+ NimbleSelectModule.decorators = [
858
+ { type: core.NgModule, args: [{
859
+ declarations: [NimbleSelectDirective, NimbleSelectControlValueAccessorDirective],
860
+ imports: [common.CommonModule],
861
+ exports: [NimbleSelectDirective, NimbleSelectControlValueAccessorDirective]
862
+ },] }
863
+ ];
864
+
865
+ /**
866
+ * Directive to provide Angular integration for the tab element.
867
+ */
868
+ var NimbleTabDirective = /** @class */ (function () {
869
+ function NimbleTabDirective(renderer, elementRef) {
870
+ this.renderer = renderer;
871
+ this.elementRef = elementRef;
872
+ }
873
+ Object.defineProperty(NimbleTabDirective.prototype, "disabled", {
874
+ get: function () {
875
+ return this.elementRef.nativeElement.disabled;
876
+ },
877
+ set: function (value) {
878
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
879
+ },
880
+ enumerable: false,
881
+ configurable: true
882
+ });
883
+ return NimbleTabDirective;
884
+ }());
885
+ NimbleTabDirective.decorators = [
886
+ { type: core.Directive, args: [{
887
+ selector: 'nimble-tab'
888
+ },] }
889
+ ];
890
+ NimbleTabDirective.ctorParameters = function () { return [
891
+ { type: core.Renderer2 },
892
+ { type: core.ElementRef }
893
+ ]; };
894
+ NimbleTabDirective.propDecorators = {
895
+ disabled: [{ type: core.Input }]
896
+ };
897
+
898
+ var NimbleTabModule = /** @class */ (function () {
899
+ function NimbleTabModule() {
900
+ }
901
+ return NimbleTabModule;
902
+ }());
903
+ NimbleTabModule.decorators = [
904
+ { type: core.NgModule, args: [{
905
+ declarations: [NimbleTabDirective],
906
+ imports: [common.CommonModule],
907
+ exports: [NimbleTabDirective]
908
+ },] }
909
+ ];
910
+
911
+ /**
912
+ * Directive to provide Angular integration for the tab panel.
913
+ */
914
+ var NimbleTabPanelDirective = /** @class */ (function () {
915
+ function NimbleTabPanelDirective() {
916
+ }
917
+ return NimbleTabPanelDirective;
918
+ }());
919
+ NimbleTabPanelDirective.decorators = [
920
+ { type: core.Directive, args: [{
921
+ selector: 'nimble-tab-panel'
922
+ },] }
923
+ ];
924
+
925
+ var NimbleTabPanelModule = /** @class */ (function () {
926
+ function NimbleTabPanelModule() {
927
+ }
928
+ return NimbleTabPanelModule;
929
+ }());
930
+ NimbleTabPanelModule.decorators = [
931
+ { type: core.NgModule, args: [{
932
+ declarations: [NimbleTabPanelDirective],
933
+ imports: [common.CommonModule],
934
+ exports: [NimbleTabPanelDirective]
935
+ },] }
936
+ ];
937
+
938
+ /**
939
+ * Directive to provide Angular integration for the tabs element.
940
+ */
941
+ var NimbleTabsDirective = /** @class */ (function () {
942
+ function NimbleTabsDirective(renderer, elementRef) {
943
+ this.renderer = renderer;
944
+ this.elementRef = elementRef;
945
+ this.activeidChange = new core.EventEmitter();
946
+ }
947
+ Object.defineProperty(NimbleTabsDirective.prototype, "activeid", {
948
+ get: function () {
949
+ return this.elementRef.nativeElement.activeid;
950
+ },
951
+ set: function (value) {
952
+ this.renderer.setProperty(this.elementRef.nativeElement, 'activeid', value);
953
+ },
954
+ enumerable: false,
955
+ configurable: true
956
+ });
957
+ NimbleTabsDirective.prototype.onChange = function ($event) {
958
+ if ($event.target === this.elementRef.nativeElement) {
959
+ this.activeidChange.emit(this.activeid);
960
+ }
961
+ };
962
+ return NimbleTabsDirective;
963
+ }());
964
+ NimbleTabsDirective.decorators = [
965
+ { type: core.Directive, args: [{
966
+ selector: 'nimble-tabs'
967
+ },] }
968
+ ];
969
+ NimbleTabsDirective.ctorParameters = function () { return [
970
+ { type: core.Renderer2 },
971
+ { type: core.ElementRef }
972
+ ]; };
973
+ NimbleTabsDirective.propDecorators = {
974
+ activeid: [{ type: core.Input }],
975
+ activeidChange: [{ type: core.Output }],
976
+ onChange: [{ type: core.HostListener, args: ['change', ['$event'],] }]
977
+ };
978
+
979
+ var NimbleTabsModule = /** @class */ (function () {
980
+ function NimbleTabsModule() {
981
+ }
982
+ return NimbleTabsModule;
983
+ }());
984
+ NimbleTabsModule.decorators = [
985
+ { type: core.NgModule, args: [{
986
+ declarations: [NimbleTabsDirective],
987
+ imports: [common.CommonModule],
988
+ exports: [NimbleTabsDirective]
989
+ },] }
990
+ ];
991
+
992
+ /**
993
+ * Directive to provide Angular integration for the tabs toolbar.
994
+ */
995
+ var NimbleTabsToolbarDirective = /** @class */ (function () {
996
+ function NimbleTabsToolbarDirective() {
997
+ }
998
+ return NimbleTabsToolbarDirective;
999
+ }());
1000
+ NimbleTabsToolbarDirective.decorators = [
1001
+ { type: core.Directive, args: [{
1002
+ selector: 'nimble-tabs-toolbar'
1003
+ },] }
1004
+ ];
1005
+
1006
+ var NimbleTabsToolbarModule = /** @class */ (function () {
1007
+ function NimbleTabsToolbarModule() {
1008
+ }
1009
+ return NimbleTabsToolbarModule;
1010
+ }());
1011
+ NimbleTabsToolbarModule.decorators = [
1012
+ { type: core.NgModule, args: [{
1013
+ declarations: [NimbleTabsToolbarDirective],
1014
+ imports: [common.CommonModule],
1015
+ exports: [NimbleTabsToolbarDirective]
1016
+ },] }
1017
+ ];
1018
+
1019
+ /**
1020
+ * Extension of Angular's DefaultValueAccessor to target the text-based inputs.
1021
+ *
1022
+ * Directive decorator based on DefaultValueAccessor decorator
1023
+ * https://github.com/angular/angular/blob/master/packages/forms/src/directives/default_value_accessor.ts#L72
1024
+ */
1025
+ var NimbleTextFieldControlValueAccessorDirective = /** @class */ (function (_super) {
1026
+ __extends(NimbleTextFieldControlValueAccessorDirective, _super);
1027
+ function NimbleTextFieldControlValueAccessorDirective() {
1028
+ return _super !== null && _super.apply(this, arguments) || this;
1029
+ }
1030
+ return NimbleTextFieldControlValueAccessorDirective;
1031
+ }(forms.DefaultValueAccessor));
1032
+ NimbleTextFieldControlValueAccessorDirective.decorators = [
1033
+ { type: core.Directive, args: [{
1034
+ selector: 'nimble-text-field[formControlName],nimble-text-field[formControl],nimble-text-field[ngModel]',
1035
+ // The following host metadata is duplicated from DefaultValueAccessor
1036
+ // eslint-disable-next-line @angular-eslint/no-host-metadata-property
1037
+ host: {
1038
+ '(input)': '$any(this)._handleInput($event.target.value)',
1039
+ '(blur)': 'onTouched()',
1040
+ '(compositionstart)': '$any(this)._compositionStart()',
1041
+ '(compositionend)': '$any(this)._compositionEnd($event.target.value)'
1042
+ },
1043
+ providers: [{
1044
+ provide: forms.NG_VALUE_ACCESSOR,
1045
+ useExisting: core.forwardRef(function () { return NimbleTextFieldControlValueAccessorDirective; }),
1046
+ multi: true
1047
+ }]
1048
+ },] }
1049
+ ];
1050
+
1051
+ /**
1052
+ * Directive to provide Angular integration for the text field
1053
+ */
1054
+ var NimbleTextFieldDirective = /** @class */ (function () {
1055
+ function NimbleTextFieldDirective(renderer, elementRef) {
1056
+ this.renderer = renderer;
1057
+ this.elementRef = elementRef;
1058
+ }
1059
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "readOnly", {
1060
+ get: function () {
1061
+ return this.elementRef.nativeElement.readOnly;
1062
+ },
1063
+ // readOnly property maps to the readonly attribute
1064
+ // See: https://github.com/microsoft/fast/blob/46bb6d9aab2c37105f4434db3795e176c2354a4f/packages/web-components/fast-foundation/src/text-field/text-field.ts#L33
1065
+ // eslint-disable-next-line @angular-eslint/no-input-rename
1066
+ set: function (value) {
1067
+ this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
1068
+ },
1069
+ enumerable: false,
1070
+ configurable: true
1071
+ });
1072
+ Object.defineProperty(NimbleTextFieldDirective.prototype, "type", {
1073
+ get: function () {
1074
+ return this.elementRef.nativeElement.type;
1075
+ },
1076
+ set: function (value) {
1077
+ this.renderer.setProperty(this.elementRef.nativeElement, 'type', value);
1078
+ },
1079
+ enumerable: false,
1080
+ configurable: true
1081
+ });
1082
+ return NimbleTextFieldDirective;
1083
+ }());
1084
+ NimbleTextFieldDirective.decorators = [
1085
+ { type: core.Directive, args: [{
1086
+ selector: 'nimble-text-field'
1087
+ },] }
1088
+ ];
1089
+ NimbleTextFieldDirective.ctorParameters = function () { return [
1090
+ { type: core.Renderer2 },
1091
+ { type: core.ElementRef }
1092
+ ]; };
1093
+ NimbleTextFieldDirective.propDecorators = {
1094
+ readOnly: [{ type: core.Input, args: ['readonly',] }],
1095
+ type: [{ type: core.Input }]
1096
+ };
1097
+
1098
+ var NimbleTextFieldModule = /** @class */ (function () {
1099
+ function NimbleTextFieldModule() {
1100
+ }
1101
+ return NimbleTextFieldModule;
1102
+ }());
1103
+ NimbleTextFieldModule.decorators = [
1104
+ { type: core.NgModule, args: [{
1105
+ declarations: [NimbleTextFieldDirective, NimbleTextFieldControlValueAccessorDirective],
1106
+ imports: [common.CommonModule],
1107
+ exports: [NimbleTextFieldDirective, NimbleTextFieldControlValueAccessorDirective]
1108
+ },] }
1109
+ ];
1110
+
1111
+ /**
1112
+ * Directive for Angular integration for the theme provider
1113
+ */
1114
+ var NimbleThemeProviderDirective = /** @class */ (function () {
1115
+ function NimbleThemeProviderDirective(renderer, elementRef) {
1116
+ this.renderer = renderer;
1117
+ this.elementRef = elementRef;
1118
+ }
1119
+ Object.defineProperty(NimbleThemeProviderDirective.prototype, "theme", {
1120
+ get: function () {
1121
+ return this.elementRef.nativeElement.theme;
1122
+ },
1123
+ set: function (value) {
1124
+ this.renderer.setProperty(this.elementRef.nativeElement, 'theme', value);
1125
+ },
1126
+ enumerable: false,
1127
+ configurable: true
1128
+ });
1129
+ return NimbleThemeProviderDirective;
1130
+ }());
1131
+ NimbleThemeProviderDirective.decorators = [
1132
+ { type: core.Directive, args: [{
1133
+ selector: 'nimble-theme-provider'
1134
+ },] }
1135
+ ];
1136
+ NimbleThemeProviderDirective.ctorParameters = function () { return [
1137
+ { type: core.Renderer2 },
1138
+ { type: core.ElementRef }
1139
+ ]; };
1140
+ NimbleThemeProviderDirective.propDecorators = {
1141
+ theme: [{ type: core.Input }]
1142
+ };
1143
+
1144
+ var NimbleThemeProviderModule = /** @class */ (function () {
1145
+ function NimbleThemeProviderModule() {
1146
+ }
1147
+ return NimbleThemeProviderModule;
1148
+ }());
1149
+ NimbleThemeProviderModule.decorators = [
1150
+ { type: core.NgModule, args: [{
1151
+ declarations: [NimbleThemeProviderDirective],
1152
+ imports: [common.CommonModule],
1153
+ exports: [NimbleThemeProviderDirective]
1154
+ },] }
1155
+ ];
1156
+
1157
+ /**
1158
+ * Directive to provide Angular integration for the tree item.
1159
+ */
1160
+ var NimbleTreeItemDirective = /** @class */ (function () {
1161
+ function NimbleTreeItemDirective(renderer, elementRef) {
1162
+ this.renderer = renderer;
1163
+ this.elementRef = elementRef;
1164
+ this.expandedChange = new core.EventEmitter();
1165
+ }
1166
+ Object.defineProperty(NimbleTreeItemDirective.prototype, "disabled", {
1167
+ get: function () {
1168
+ return this.elementRef.nativeElement.disabled;
1169
+ },
1170
+ set: function (value) {
1171
+ this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
1172
+ },
1173
+ enumerable: false,
1174
+ configurable: true
1175
+ });
1176
+ Object.defineProperty(NimbleTreeItemDirective.prototype, "expanded", {
1177
+ get: function () {
1178
+ return this.elementRef.nativeElement.expanded;
1179
+ },
1180
+ set: function (value) {
1181
+ this.renderer.setProperty(this.elementRef.nativeElement, 'expanded', toBooleanProperty(value));
1182
+ },
1183
+ enumerable: false,
1184
+ configurable: true
1185
+ });
1186
+ Object.defineProperty(NimbleTreeItemDirective.prototype, "selected", {
1187
+ get: function () {
1188
+ return this.elementRef.nativeElement.selected;
1189
+ },
1190
+ set: function (value) {
1191
+ this.renderer.setProperty(this.elementRef.nativeElement, 'selected', toBooleanProperty(value));
1192
+ // Needed because fast-foundation TreeView sets initial selection with an aria-selected query
1193
+ this.renderer.setAttribute(this.elementRef.nativeElement, 'selected', toBooleanAriaAttribute(value));
1194
+ },
1195
+ enumerable: false,
1196
+ configurable: true
1197
+ });
1198
+ NimbleTreeItemDirective.prototype.onExpandedChange = function ($event) {
1199
+ if ($event.target === this.elementRef.nativeElement) {
1200
+ this.expandedChange.emit(this.expanded);
1201
+ }
1202
+ };
1203
+ return NimbleTreeItemDirective;
1204
+ }());
1205
+ NimbleTreeItemDirective.decorators = [
1206
+ { type: core.Directive, args: [{
1207
+ selector: 'nimble-tree-item'
1208
+ },] }
1209
+ ];
1210
+ NimbleTreeItemDirective.ctorParameters = function () { return [
1211
+ { type: core.Renderer2 },
1212
+ { type: core.ElementRef }
1213
+ ]; };
1214
+ NimbleTreeItemDirective.propDecorators = {
1215
+ disabled: [{ type: core.Input }],
1216
+ expanded: [{ type: core.Input }],
1217
+ selected: [{ type: core.Input }],
1218
+ expandedChange: [{ type: core.Output }],
1219
+ onExpandedChange: [{ type: core.HostListener, args: ['expanded-change', ['$event'],] }]
1220
+ };
1221
+
1222
+ var NimbleTreeItemModule = /** @class */ (function () {
1223
+ function NimbleTreeItemModule() {
1224
+ }
1225
+ return NimbleTreeItemModule;
1226
+ }());
1227
+ NimbleTreeItemModule.decorators = [
1228
+ { type: core.NgModule, args: [{
1229
+ declarations: [NimbleTreeItemDirective],
1230
+ imports: [common.CommonModule],
1231
+ exports: [NimbleTreeItemDirective]
1232
+ },] }
1233
+ ];
1234
+
1235
+ /**
1236
+ * Directive to provide Angular integration for the tree view.
1237
+ */
1238
+ var NimbleTreeViewDirective = /** @class */ (function () {
1239
+ function NimbleTreeViewDirective(renderer, elementRef) {
1240
+ this.renderer = renderer;
1241
+ this.elementRef = elementRef;
1242
+ }
1243
+ Object.defineProperty(NimbleTreeViewDirective.prototype, "selectionMode", {
1244
+ get: function () {
1245
+ return this.elementRef.nativeElement.selectionMode;
1246
+ },
1247
+ // selectionMode property intentionally maps to the selection-mode attribute
1248
+ // eslint-disable-next-line @angular-eslint/no-input-rename
1249
+ set: function (value) {
1250
+ this.renderer.setProperty(this.elementRef.nativeElement, 'selectionMode', value);
1251
+ },
1252
+ enumerable: false,
1253
+ configurable: true
1254
+ });
1255
+ return NimbleTreeViewDirective;
1256
+ }());
1257
+ NimbleTreeViewDirective.decorators = [
1258
+ { type: core.Directive, args: [{
1259
+ selector: 'nimble-tree-view'
1260
+ },] }
1261
+ ];
1262
+ NimbleTreeViewDirective.ctorParameters = function () { return [
1263
+ { type: core.Renderer2 },
1264
+ { type: core.ElementRef }
1265
+ ]; };
1266
+ NimbleTreeViewDirective.propDecorators = {
1267
+ selectionMode: [{ type: core.Input, args: ['selection-mode',] }]
1268
+ };
1269
+
1270
+ var NimbleTreeViewModule = /** @class */ (function () {
1271
+ function NimbleTreeViewModule() {
1272
+ }
1273
+ return NimbleTreeViewModule;
1274
+ }());
1275
+ NimbleTreeViewModule.decorators = [
1276
+ { type: core.NgModule, args: [{
1277
+ declarations: [NimbleTreeViewDirective],
1278
+ imports: [common.CommonModule],
1279
+ exports: [NimbleTreeViewDirective]
1280
+ },] }
1281
+ ];
1282
+
1283
+ /**
1284
+ * Immediately processes all updates in queue.
1285
+ *
1286
+ * Useful for synchronously testing Nimble elements. Call this in fakeAsync tests to
1287
+ * immediately resolve tasks which otherwise would require waiting for an animation
1288
+ * frame. This should also be called after every fakeAsync test to clear the internal
1289
+ * process queue and allow subsequent tests to run normally.
1290
+ */
1291
+ var waitForUpdatesAsync = asyncHelpers.waitForUpdatesAsync;
1292
+
1293
+ /*
1294
+ * Public API Surface of nimble-angular
1295
+ */
1296
+
1297
+ /**
1298
+ * Generated bundle index. Do not edit.
1299
+ */
1300
+
1301
+ Object.defineProperty(exports, 'ButtonAppearance', {
1302
+ enumerable: true,
1303
+ get: function () {
1304
+ return types.ButtonAppearance;
1305
+ }
1306
+ });
1307
+ Object.defineProperty(exports, 'DrawerLocation', {
1308
+ enumerable: true,
1309
+ get: function () {
1310
+ return types$1.DrawerLocation;
1311
+ }
1312
+ });
1313
+ Object.defineProperty(exports, 'DrawerState', {
1314
+ enumerable: true,
1315
+ get: function () {
1316
+ return types$1.DrawerState;
1317
+ }
1318
+ });
1319
+ Object.defineProperty(exports, 'TextFieldType', {
1320
+ enumerable: true,
1321
+ get: function () {
1322
+ return types$2.TextFieldType;
1323
+ }
1324
+ });
1325
+ Object.defineProperty(exports, 'NimbleTheme', {
1326
+ enumerable: true,
1327
+ get: function () {
1328
+ return types$3.NimbleTheme;
1329
+ }
1330
+ });
1331
+ Object.defineProperty(exports, 'TreeViewSelectionMode', {
1332
+ enumerable: true,
1333
+ get: function () {
1334
+ return types$4.TreeViewSelectionMode;
1335
+ }
1336
+ });
1337
+ Object.defineProperty(exports, 'processUpdates', {
1338
+ enumerable: true,
1339
+ get: function () {
1340
+ return asyncHelpers.processUpdates;
1341
+ }
1342
+ });
1343
+ exports.NimbleButtonDirective = NimbleButtonDirective;
1344
+ exports.NimbleButtonModule = NimbleButtonModule;
1345
+ exports.NimbleCheckboxControlValueAccessorDirective = NimbleCheckboxControlValueAccessorDirective;
1346
+ exports.NimbleCheckboxDirective = NimbleCheckboxDirective;
1347
+ exports.NimbleCheckboxModule = NimbleCheckboxModule;
1348
+ exports.NimbleDrawerDirective = NimbleDrawerDirective;
1349
+ exports.NimbleDrawerModule = NimbleDrawerModule;
1350
+ exports.NimbleListboxOptionDirective = NimbleListboxOptionDirective;
1351
+ exports.NimbleListboxOptionModule = NimbleListboxOptionModule;
1352
+ exports.NimbleMenuDirective = NimbleMenuDirective;
1353
+ exports.NimbleMenuItemDirective = NimbleMenuItemDirective;
1354
+ exports.NimbleMenuItemModule = NimbleMenuItemModule;
1355
+ exports.NimbleMenuModule = NimbleMenuModule;
1356
+ exports.NimbleNumberFieldControlValueAccessorDirective = NimbleNumberFieldControlValueAccessorDirective;
1357
+ exports.NimbleNumberFieldDirective = NimbleNumberFieldDirective;
1358
+ exports.NimbleNumberFieldModule = NimbleNumberFieldModule;
1359
+ exports.NimbleSelectControlValueAccessorDirective = NimbleSelectControlValueAccessorDirective;
1360
+ exports.NimbleSelectDirective = NimbleSelectDirective;
1361
+ exports.NimbleSelectModule = NimbleSelectModule;
1362
+ exports.NimbleTabDirective = NimbleTabDirective;
1363
+ exports.NimbleTabModule = NimbleTabModule;
1364
+ exports.NimbleTabPanelDirective = NimbleTabPanelDirective;
1365
+ exports.NimbleTabPanelModule = NimbleTabPanelModule;
1366
+ exports.NimbleTabsDirective = NimbleTabsDirective;
1367
+ exports.NimbleTabsModule = NimbleTabsModule;
1368
+ exports.NimbleTabsToolbarDirective = NimbleTabsToolbarDirective;
1369
+ exports.NimbleTabsToolbarModule = NimbleTabsToolbarModule;
1370
+ exports.NimbleTextFieldControlValueAccessorDirective = NimbleTextFieldControlValueAccessorDirective;
1371
+ exports.NimbleTextFieldDirective = NimbleTextFieldDirective;
1372
+ exports.NimbleTextFieldModule = NimbleTextFieldModule;
1373
+ exports.NimbleThemeProviderDirective = NimbleThemeProviderDirective;
1374
+ exports.NimbleThemeProviderModule = NimbleThemeProviderModule;
1375
+ exports.NimbleTreeItemDirective = NimbleTreeItemDirective;
1376
+ exports.NimbleTreeItemModule = NimbleTreeItemModule;
1377
+ exports.NimbleTreeViewDirective = NimbleTreeViewDirective;
1378
+ exports.NimbleTreeViewModule = NimbleTreeViewModule;
1379
+ exports.waitForUpdatesAsync = waitForUpdatesAsync;
1380
+
1381
+ Object.defineProperty(exports, '__esModule', { value: true });
1382
+
1383
+ })));
1384
+ //# sourceMappingURL=ni-nimble-angular.umd.js.map