@covalent/core 2.0.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/breadcrumbs/covalent-core-breadcrumbs.metadata.json +1 -1
  2. package/bundles/covalent-core-breadcrumbs.umd.js +1 -1
  3. package/bundles/covalent-core-breadcrumbs.umd.min.js +1 -1
  4. package/bundles/covalent-core-breadcrumbs.umd.min.js.map +1 -1
  5. package/bundles/covalent-core-chips.umd.js +1 -1
  6. package/bundles/covalent-core-chips.umd.min.js +1 -1
  7. package/bundles/covalent-core-chips.umd.min.js.map +1 -1
  8. package/bundles/covalent-core-common.umd.js +251 -84
  9. package/bundles/covalent-core-common.umd.js.map +1 -1
  10. package/bundles/covalent-core-common.umd.min.js +1 -1
  11. package/bundles/covalent-core-common.umd.min.js.map +1 -1
  12. package/bundles/covalent-core-data-table.umd.js +4 -4
  13. package/bundles/covalent-core-data-table.umd.js.map +1 -1
  14. package/bundles/covalent-core-data-table.umd.min.js +1 -1
  15. package/bundles/covalent-core-data-table.umd.min.js.map +1 -1
  16. package/bundles/covalent-core-dialogs.umd.js +2 -2
  17. package/bundles/covalent-core-dialogs.umd.min.js +1 -1
  18. package/bundles/covalent-core-dialogs.umd.min.js.map +1 -1
  19. package/bundles/covalent-core-expansion-panel.umd.js +1 -1
  20. package/bundles/covalent-core-expansion-panel.umd.min.js +1 -1
  21. package/bundles/covalent-core-expansion-panel.umd.min.js.map +1 -1
  22. package/bundles/covalent-core-json-formatter.umd.js +1 -1
  23. package/bundles/covalent-core-json-formatter.umd.min.js +1 -1
  24. package/bundles/covalent-core-json-formatter.umd.min.js.map +1 -1
  25. package/bundles/covalent-core-layout.umd.js +8 -7
  26. package/bundles/covalent-core-layout.umd.js.map +1 -1
  27. package/bundles/covalent-core-layout.umd.min.js +1 -1
  28. package/bundles/covalent-core-layout.umd.min.js.map +1 -1
  29. package/bundles/covalent-core-loading.umd.js +1 -1
  30. package/bundles/covalent-core-loading.umd.min.js +1 -1
  31. package/bundles/covalent-core-loading.umd.min.js.map +1 -1
  32. package/bundles/covalent-core-menu.umd.js +1 -1
  33. package/bundles/covalent-core-menu.umd.min.js +1 -1
  34. package/bundles/covalent-core-menu.umd.min.js.map +1 -1
  35. package/bundles/covalent-core-message.umd.js +1 -1
  36. package/bundles/covalent-core-message.umd.min.js +1 -1
  37. package/bundles/covalent-core-message.umd.min.js.map +1 -1
  38. package/bundles/covalent-core-paging.umd.js +1 -1
  39. package/bundles/covalent-core-paging.umd.min.js +1 -1
  40. package/bundles/covalent-core-paging.umd.min.js.map +1 -1
  41. package/bundles/covalent-core-search.umd.js +5 -4
  42. package/bundles/covalent-core-search.umd.js.map +1 -1
  43. package/bundles/covalent-core-search.umd.min.js +1 -1
  44. package/bundles/covalent-core-search.umd.min.js.map +1 -1
  45. package/bundles/covalent-core-sidesheet.umd.js +137 -0
  46. package/bundles/covalent-core-sidesheet.umd.js.map +1 -0
  47. package/bundles/covalent-core-sidesheet.umd.min.js +2 -0
  48. package/bundles/covalent-core-sidesheet.umd.min.js.map +1 -0
  49. package/bundles/covalent-core-steps.umd.js +5 -5
  50. package/bundles/covalent-core-steps.umd.min.js +1 -1
  51. package/bundles/covalent-core-steps.umd.min.js.map +1 -1
  52. package/bundles/covalent-core-tab-select.umd.js +3 -2
  53. package/bundles/covalent-core-tab-select.umd.js.map +1 -1
  54. package/bundles/covalent-core-tab-select.umd.min.js +1 -1
  55. package/bundles/covalent-core-tab-select.umd.min.js.map +1 -1
  56. package/bundles/covalent-core.umd.js +220 -62
  57. package/bundles/covalent-core.umd.js.map +1 -1
  58. package/bundles/covalent-core.umd.min.js +1 -1
  59. package/bundles/covalent-core.umd.min.js.map +1 -1
  60. package/chips/covalent-core-chips.metadata.json +1 -1
  61. package/common/covalent-core-common.d.ts +4 -3
  62. package/common/covalent-core-common.metadata.json +1 -1
  63. package/common/directives/fullscreen/fullscreen.directive.d.ts +22 -0
  64. package/covalent-core.d.ts +8 -7
  65. package/covalent-core.metadata.json +1 -1
  66. package/data-table/README.md +2 -2
  67. package/data-table/covalent-core-data-table.metadata.json +1 -1
  68. package/dialogs/covalent-core-dialogs.metadata.json +1 -1
  69. package/esm2015/breadcrumbs/breadcrumb/breadcrumb.component.js +1 -1
  70. package/esm2015/chips/chips.component.js +1 -1
  71. package/esm2015/common/common.module.js +8 -26
  72. package/esm2015/common/covalent-core-common.js +5 -4
  73. package/esm2015/common/directives/fullscreen/fullscreen.directive.js +136 -0
  74. package/esm2015/covalent-core.js +9 -8
  75. package/esm2015/data-table/data-table-cell/data-table-cell.component.js +1 -1
  76. package/esm2015/data-table/data-table-column/data-table-column.component.js +1 -1
  77. package/esm2015/data-table/data-table.component.js +3 -3
  78. package/esm2015/dialogs/dialog.component.js +1 -1
  79. package/esm2015/dialogs/prompt-dialog/prompt-dialog.component.js +1 -1
  80. package/esm2015/expansion-panel/expansion-panel.component.js +1 -1
  81. package/esm2015/json-formatter/json-formatter.component.js +1 -1
  82. package/esm2015/layout/layout-card-over/layout-card-over.component.js +1 -1
  83. package/esm2015/layout/layout-manage-list/layout-manage-list.component.js +1 -1
  84. package/esm2015/layout/layout-nav/layout-nav.component.js +1 -1
  85. package/esm2015/layout/layout-nav-list/layout-nav-list.component.js +1 -1
  86. package/esm2015/layout/layout.component.js +1 -1
  87. package/esm2015/layout/navigation-drawer/navigation-drawer.component.js +12 -3
  88. package/esm2015/loading/loading.component.js +1 -1
  89. package/esm2015/menu/menu.component.js +1 -1
  90. package/esm2015/message/message.component.js +1 -1
  91. package/esm2015/paging/paging-bar.component.js +1 -1
  92. package/esm2015/search/search-box/search-box.component.js +3 -3
  93. package/esm2015/search/search-input/search-input.component.js +10 -3
  94. package/esm2015/sidesheet/covalent-core-sidesheet.js +9 -0
  95. package/esm2015/sidesheet/index.js +6 -0
  96. package/esm2015/sidesheet/public-api.js +7 -0
  97. package/esm2015/sidesheet/sidesheet.component.js +70 -0
  98. package/esm2015/sidesheet/sidesheet.module.js +33 -0
  99. package/esm2015/steps/nav/nav-step-link/nav-step-link.component.js +1 -1
  100. package/esm2015/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +1 -1
  101. package/esm2015/steps/step-body/step-body.component.js +1 -1
  102. package/esm2015/steps/step-header/step-header.component.js +1 -1
  103. package/esm2015/steps/steps.component.js +1 -1
  104. package/esm2015/tab-select/tab-select.component.js +4 -3
  105. package/esm5/breadcrumbs/breadcrumb/breadcrumb.component.js +1 -1
  106. package/esm5/chips/chips.component.js +1 -1
  107. package/esm5/common/common.module.js +8 -26
  108. package/esm5/common/covalent-core-common.js +5 -4
  109. package/esm5/common/directives/fullscreen/fullscreen.directive.js +184 -0
  110. package/esm5/covalent-core.js +9 -8
  111. package/esm5/data-table/data-table-cell/data-table-cell.component.js +1 -1
  112. package/esm5/data-table/data-table-column/data-table-column.component.js +1 -1
  113. package/esm5/data-table/data-table.component.js +3 -3
  114. package/esm5/dialogs/dialog.component.js +1 -1
  115. package/esm5/dialogs/prompt-dialog/prompt-dialog.component.js +1 -1
  116. package/esm5/expansion-panel/expansion-panel.component.js +1 -1
  117. package/esm5/json-formatter/json-formatter.component.js +1 -1
  118. package/esm5/layout/layout-card-over/layout-card-over.component.js +1 -1
  119. package/esm5/layout/layout-manage-list/layout-manage-list.component.js +1 -1
  120. package/esm5/layout/layout-nav/layout-nav.component.js +1 -1
  121. package/esm5/layout/layout-nav-list/layout-nav-list.component.js +1 -1
  122. package/esm5/layout/layout.component.js +1 -1
  123. package/esm5/layout/navigation-drawer/navigation-drawer.component.js +12 -3
  124. package/esm5/loading/loading.component.js +1 -1
  125. package/esm5/menu/menu.component.js +1 -1
  126. package/esm5/message/message.component.js +1 -1
  127. package/esm5/paging/paging-bar.component.js +1 -1
  128. package/esm5/search/search-box/search-box.component.js +3 -3
  129. package/esm5/search/search-input/search-input.component.js +10 -3
  130. package/esm5/sidesheet/covalent-core-sidesheet.js +9 -0
  131. package/esm5/sidesheet/index.js +6 -0
  132. package/esm5/sidesheet/public-api.js +7 -0
  133. package/esm5/sidesheet/sidesheet.component.js +88 -0
  134. package/esm5/sidesheet/sidesheet.module.js +37 -0
  135. package/esm5/steps/nav/nav-step-link/nav-step-link.component.js +1 -1
  136. package/esm5/steps/nav/nav-steps-horizontal/nav-steps-horizontal.component.js +1 -1
  137. package/esm5/steps/step-body/step-body.component.js +1 -1
  138. package/esm5/steps/step-header/step-header.component.js +1 -1
  139. package/esm5/steps/steps.component.js +1 -1
  140. package/esm5/tab-select/tab-select.component.js +4 -3
  141. package/expansion-panel/covalent-core-expansion-panel.metadata.json +1 -1
  142. package/fesm2015/covalent-core-breadcrumbs.js +1 -1
  143. package/fesm2015/covalent-core-chips.js +1 -1
  144. package/fesm2015/covalent-core-common.js +114 -26
  145. package/fesm2015/covalent-core-common.js.map +1 -1
  146. package/fesm2015/covalent-core-data-table.js +4 -4
  147. package/fesm2015/covalent-core-data-table.js.map +1 -1
  148. package/fesm2015/covalent-core-dialogs.js +2 -2
  149. package/fesm2015/covalent-core-expansion-panel.js +1 -1
  150. package/fesm2015/covalent-core-json-formatter.js +1 -1
  151. package/fesm2015/covalent-core-layout.js +8 -7
  152. package/fesm2015/covalent-core-layout.js.map +1 -1
  153. package/fesm2015/covalent-core-loading.js +1 -1
  154. package/fesm2015/covalent-core-menu.js +1 -1
  155. package/fesm2015/covalent-core-message.js +1 -1
  156. package/fesm2015/covalent-core-paging.js +1 -1
  157. package/fesm2015/covalent-core-search.js +5 -4
  158. package/fesm2015/covalent-core-search.js.map +1 -1
  159. package/fesm2015/covalent-core-sidesheet.js +110 -0
  160. package/fesm2015/covalent-core-sidesheet.js.map +1 -0
  161. package/fesm2015/covalent-core-steps.js +5 -5
  162. package/fesm2015/covalent-core-tab-select.js +3 -2
  163. package/fesm2015/covalent-core-tab-select.js.map +1 -1
  164. package/fesm2015/covalent-core.js +149 -58
  165. package/fesm2015/covalent-core.js.map +1 -1
  166. package/fesm5/covalent-core-breadcrumbs.js +1 -1
  167. package/fesm5/covalent-core-chips.js +1 -1
  168. package/fesm5/covalent-core-common.js +161 -27
  169. package/fesm5/covalent-core-common.js.map +1 -1
  170. package/fesm5/covalent-core-data-table.js +4 -4
  171. package/fesm5/covalent-core-data-table.js.map +1 -1
  172. package/fesm5/covalent-core-dialogs.js +2 -2
  173. package/fesm5/covalent-core-expansion-panel.js +1 -1
  174. package/fesm5/covalent-core-json-formatter.js +1 -1
  175. package/fesm5/covalent-core-layout.js +8 -7
  176. package/fesm5/covalent-core-layout.js.map +1 -1
  177. package/fesm5/covalent-core-loading.js +1 -1
  178. package/fesm5/covalent-core-menu.js +1 -1
  179. package/fesm5/covalent-core-message.js +1 -1
  180. package/fesm5/covalent-core-paging.js +1 -1
  181. package/fesm5/covalent-core-search.js +5 -4
  182. package/fesm5/covalent-core-search.js.map +1 -1
  183. package/fesm5/covalent-core-sidesheet.js +126 -0
  184. package/fesm5/covalent-core-sidesheet.js.map +1 -0
  185. package/fesm5/covalent-core-steps.js +5 -5
  186. package/fesm5/covalent-core-tab-select.js +3 -2
  187. package/fesm5/covalent-core-tab-select.js.map +1 -1
  188. package/fesm5/covalent-core.js +196 -59
  189. package/fesm5/covalent-core.js.map +1 -1
  190. package/json-formatter/covalent-core-json-formatter.metadata.json +1 -1
  191. package/layout/README.md +5 -2
  192. package/layout/covalent-core-layout.metadata.json +1 -1
  193. package/layout/navigation-drawer/navigation-drawer.component.d.ts +7 -0
  194. package/layout/navigation-drawer/navigation-drawer.component.scss +7 -0
  195. package/loading/covalent-core-loading.metadata.json +1 -1
  196. package/menu/covalent-core-menu.metadata.json +1 -1
  197. package/message/covalent-core-message.metadata.json +1 -1
  198. package/package.json +1 -1
  199. package/paging/covalent-core-paging.metadata.json +1 -1
  200. package/search/covalent-core-search.metadata.json +1 -1
  201. package/search/search-box/search-box.component.scss +6 -0
  202. package/search/search-input/README.md +5 -2
  203. package/search/search-input/search-input.component.d.ts +6 -0
  204. package/search/search-input/search-input.component.scss +33 -0
  205. package/sidesheet/README.md +68 -0
  206. package/sidesheet/covalent-core-sidesheet.d.ts +4 -0
  207. package/sidesheet/covalent-core-sidesheet.metadata.json +1 -0
  208. package/sidesheet/index.d.ts +1 -0
  209. package/sidesheet/package.json +13 -0
  210. package/sidesheet/public-api.d.ts +2 -0
  211. package/sidesheet/sidesheet.component.d.ts +13 -0
  212. package/sidesheet/sidesheet.component.scss +96 -0
  213. package/sidesheet/sidesheet.module.d.ts +2 -0
  214. package/steps/covalent-core-steps.metadata.json +1 -1
  215. package/tab-select/covalent-core-tab-select.metadata.json +1 -1
  216. package/tab-select/tab-select.component.scss +3 -0
  217. package/theming/prebuilt/blue-grey-deep-orange.css +89 -86
  218. package/theming/prebuilt/blue-grey-deep-orange.css.map +1 -1
  219. package/theming/prebuilt/blue-orange.css +89 -86
  220. package/theming/prebuilt/blue-orange.css.map +1 -1
  221. package/theming/prebuilt/indigo-pink.css +89 -86
  222. package/theming/prebuilt/indigo-pink.css.map +1 -1
  223. package/theming/prebuilt/orange-light-blue.css +89 -86
  224. package/theming/prebuilt/orange-light-blue.css.map +1 -1
  225. package/theming/prebuilt/teal-orange.css +89 -86
  226. package/theming/prebuilt/teal-orange.css.map +1 -1
@@ -47,6 +47,248 @@
47
47
  return TdAutoTrimDirective;
48
48
  }());
49
49
 
50
+ /*! *****************************************************************************
51
+ Copyright (c) Microsoft Corporation. All rights reserved.
52
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
53
+ this file except in compliance with the License. You may obtain a copy of the
54
+ License at http://www.apache.org/licenses/LICENSE-2.0
55
+
56
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
57
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
58
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
59
+ MERCHANTABLITY OR NON-INFRINGEMENT.
60
+
61
+ See the Apache Version 2.0 License for specific language governing permissions
62
+ and limitations under the License.
63
+ ***************************************************************************** */
64
+ /* global Reflect, Promise */
65
+ var extendStatics = function (d, b) {
66
+ extendStatics = Object.setPrototypeOf ||
67
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
68
+ function (d, b) { for (var p in b)
69
+ if (b.hasOwnProperty(p))
70
+ d[p] = b[p]; };
71
+ return extendStatics(d, b);
72
+ };
73
+ function __extends(d, b) {
74
+ extendStatics(d, b);
75
+ function __() { this.constructor = d; }
76
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
77
+ }
78
+ function __values(o) {
79
+ var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
80
+ if (m)
81
+ return m.call(o);
82
+ return {
83
+ next: function () {
84
+ if (o && i >= o.length)
85
+ o = void 0;
86
+ return { value: o && o[i++], done: !o };
87
+ }
88
+ };
89
+ }
90
+ function __read(o, n) {
91
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
92
+ if (!m)
93
+ return o;
94
+ var i = m.call(o), r, ar = [], e;
95
+ try {
96
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
97
+ ar.push(r.value);
98
+ }
99
+ catch (error) {
100
+ e = { error: error };
101
+ }
102
+ finally {
103
+ try {
104
+ if (r && !r.done && (m = i["return"]))
105
+ m.call(i);
106
+ }
107
+ finally {
108
+ if (e)
109
+ throw e.error;
110
+ }
111
+ }
112
+ return ar;
113
+ }
114
+ function __spread() {
115
+ for (var ar = [], i = 0; i < arguments.length; i++)
116
+ ar = ar.concat(__read(arguments[i]));
117
+ return ar;
118
+ }
119
+
120
+ /**
121
+ * @fileoverview added by tsickle
122
+ * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
123
+ */
124
+ var TdFullscreenDirective = /** @class */ (function () {
125
+ function TdFullscreenDirective(_document, _el) {
126
+ this._document = _document;
127
+ this._el = _el;
128
+ this.fullScreenIsActive = false;
129
+ }
130
+ /**
131
+ * @param {?} event
132
+ * @return {?}
133
+ */
134
+ TdFullscreenDirective.prototype.fsChangeHandler = /**
135
+ * @param {?} event
136
+ * @return {?}
137
+ */
138
+ function (event) {
139
+ this.fullScreenIsActive = event.srcElement === this._getFullScreenElement();
140
+ };
141
+ /**
142
+ * @return {?}
143
+ */
144
+ TdFullscreenDirective.prototype.toggleFullScreen = /**
145
+ * @return {?}
146
+ */
147
+ function () {
148
+ this._getFullScreenElement() === this._el.nativeElement ? this.exitFullScreen() : this.enterFullScreen();
149
+ };
150
+ /**
151
+ * @return {?}
152
+ */
153
+ TdFullscreenDirective.prototype.enterFullScreen = /**
154
+ * @return {?}
155
+ */
156
+ function () {
157
+ var e_1, _a;
158
+ var nativeElement = this._el.nativeElement;
159
+ /** @type {?} */
160
+ var enterFullScreenMap = {
161
+ requestFullscreen: function () { return nativeElement.requestFullscreen(); },
162
+ // Chrome
163
+ webkitRequestFullscreen: function () { return nativeElement.webkitRequestFullscreen(); },
164
+ // Safari
165
+ mozRequestFullScreen: function () { return nativeElement.mozRequestFullScreen(); },
166
+ // Firefox
167
+ msRequestFullscreen: function () { return nativeElement.msRequestFullscreen(); },
168
+ };
169
+ try {
170
+ for (var _b = __values(Object.keys(enterFullScreenMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
171
+ var handler = _c.value;
172
+ if (nativeElement[handler]) {
173
+ enterFullScreenMap[handler]();
174
+ }
175
+ }
176
+ }
177
+ catch (e_1_1) {
178
+ e_1 = { error: e_1_1 };
179
+ }
180
+ finally {
181
+ try {
182
+ if (_c && !_c.done && (_a = _b.return))
183
+ _a.call(_b);
184
+ }
185
+ finally {
186
+ if (e_1)
187
+ throw e_1.error;
188
+ }
189
+ }
190
+ };
191
+ /**
192
+ * @return {?}
193
+ */
194
+ TdFullscreenDirective.prototype.exitFullScreen = /**
195
+ * @return {?}
196
+ */
197
+ function () {
198
+ var e_2, _a;
199
+ var _b = this, _document = _b._document, nativeElement = _b._el.nativeElement;
200
+ /** @type {?} */
201
+ var exitFullScreenMap = {
202
+ exitFullscreen: function () { return _document.exitFullscreen(); },
203
+ // Chrome
204
+ webkitExitFullscreen: function () { return _document.webkitExitFullscreen(); },
205
+ // Safari
206
+ mozCancelFullScreen: function () { return _document.mozCancelFullScreen(); },
207
+ // Firefox
208
+ msExitFullscreen: function () { return _document.msExitFullscreen(); },
209
+ };
210
+ try {
211
+ for (var _c = __values(Object.keys(exitFullScreenMap)), _d = _c.next(); !_d.done; _d = _c.next()) {
212
+ var handler = _d.value;
213
+ if (_document[handler] && this._getFullScreenElement() === nativeElement) {
214
+ exitFullScreenMap[handler]();
215
+ }
216
+ }
217
+ }
218
+ catch (e_2_1) {
219
+ e_2 = { error: e_2_1 };
220
+ }
221
+ finally {
222
+ try {
223
+ if (_d && !_d.done && (_a = _c.return))
224
+ _a.call(_c);
225
+ }
226
+ finally {
227
+ if (e_2)
228
+ throw e_2.error;
229
+ }
230
+ }
231
+ };
232
+ /**
233
+ * @return {?}
234
+ */
235
+ TdFullscreenDirective.prototype._getFullScreenElement = /**
236
+ * @return {?}
237
+ */
238
+ function () {
239
+ var e_3, _a;
240
+ var _document = this._document;
241
+ /** @type {?} */
242
+ var tdFullScreenElementMap = {
243
+ fullscreenElement: function () { return _document.fullscreenElement; },
244
+ // Chrome, Opera
245
+ webkitFullscreenElement: function () { return _document.webkitFullscreenElement; },
246
+ // Safari
247
+ mozFullscreenElement: function () { return _document.mozFullscreenElement; },
248
+ // Firefox
249
+ msFullscreenElement: function () { return _document.msFullscreenElement; },
250
+ };
251
+ try {
252
+ for (var _b = __values(Object.keys(tdFullScreenElementMap)), _c = _b.next(); !_c.done; _c = _b.next()) {
253
+ var props = _c.value;
254
+ if (_document[props]) {
255
+ return _document[props];
256
+ }
257
+ }
258
+ }
259
+ catch (e_3_1) {
260
+ e_3 = { error: e_3_1 };
261
+ }
262
+ finally {
263
+ try {
264
+ if (_c && !_c.done && (_a = _b.return))
265
+ _a.call(_b);
266
+ }
267
+ finally {
268
+ if (e_3)
269
+ throw e_3.error;
270
+ }
271
+ }
272
+ };
273
+ TdFullscreenDirective.decorators = [
274
+ { type: core.Directive, args: [{
275
+ selector: '[tdFullScreen]',
276
+ exportAs: 'tdFullScreen',
277
+ },] }
278
+ ];
279
+ /** @nocollapse */
280
+ TdFullscreenDirective.ctorParameters = function () {
281
+ return [
282
+ { type: undefined, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
283
+ { type: core.ElementRef }
284
+ ];
285
+ };
286
+ TdFullscreenDirective.propDecorators = {
287
+ fsChangeHandler: [{ type: core.HostListener, args: ['document:fullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:webkitfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:mozfullscreenchange', ['$event'],] }, { type: core.HostListener, args: ['document:msfullscreenchange', ['$event'],] }]
288
+ };
289
+ return TdFullscreenDirective;
290
+ }());
291
+
50
292
  /**
51
293
  * @fileoverview added by tsickle
52
294
  * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
@@ -1361,9 +1603,7 @@
1361
1603
  * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
1362
1604
  */
1363
1605
  /** @type {?} */
1364
- var TD_FORMS = [
1365
- TdAutoTrimDirective,
1366
- ];
1606
+ var TD_DIRECTIVES = [TdAutoTrimDirective, TdFullscreenDirective];
1367
1607
  // Validators
1368
1608
  /** @type {?} */
1369
1609
  var TD_VALIDATORS = [];
@@ -1382,26 +1622,10 @@
1382
1622
  }
1383
1623
  CovalentCommonModule.decorators = [
1384
1624
  { type: core.NgModule, args: [{
1385
- imports: [
1386
- forms.FormsModule,
1387
- common.CommonModule,
1388
- ],
1389
- declarations: [
1390
- TD_FORMS,
1391
- TD_PIPES,
1392
- TD_VALIDATORS,
1393
- ],
1394
- exports: [
1395
- forms.FormsModule,
1396
- common.CommonModule,
1397
- TD_FORMS,
1398
- TD_PIPES,
1399
- TD_VALIDATORS,
1400
- ],
1401
- providers: [
1402
- RouterPathService,
1403
- IconService,
1404
- ],
1625
+ imports: [forms.FormsModule, common.CommonModule],
1626
+ declarations: [TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1627
+ exports: [forms.FormsModule, common.CommonModule, TD_DIRECTIVES, TD_PIPES, TD_VALIDATORS],
1628
+ providers: [RouterPathService, IconService],
1405
1629
  },] }
1406
1630
  ];
1407
1631
  return CovalentCommonModule;
@@ -1734,64 +1958,6 @@
1734
1958
  ], { params: { duration: 500, delay: '0', ease: 'ease-out' } }),
1735
1959
  ]);
1736
1960
 
1737
- /*! *****************************************************************************
1738
- Copyright (c) Microsoft Corporation. All rights reserved.
1739
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
1740
- this file except in compliance with the License. You may obtain a copy of the
1741
- License at http://www.apache.org/licenses/LICENSE-2.0
1742
-
1743
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1744
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
1745
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
1746
- MERCHANTABLITY OR NON-INFRINGEMENT.
1747
-
1748
- See the Apache Version 2.0 License for specific language governing permissions
1749
- and limitations under the License.
1750
- ***************************************************************************** */
1751
- /* global Reflect, Promise */
1752
- var extendStatics = function (d, b) {
1753
- extendStatics = Object.setPrototypeOf ||
1754
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1755
- function (d, b) { for (var p in b)
1756
- if (b.hasOwnProperty(p))
1757
- d[p] = b[p]; };
1758
- return extendStatics(d, b);
1759
- };
1760
- function __extends(d, b) {
1761
- extendStatics(d, b);
1762
- function __() { this.constructor = d; }
1763
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1764
- }
1765
- function __read(o, n) {
1766
- var m = typeof Symbol === "function" && o[Symbol.iterator];
1767
- if (!m)
1768
- return o;
1769
- var i = m.call(o), r, ar = [], e;
1770
- try {
1771
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
1772
- ar.push(r.value);
1773
- }
1774
- catch (error) {
1775
- e = { error: error };
1776
- }
1777
- finally {
1778
- try {
1779
- if (r && !r.done && (m = i["return"]))
1780
- m.call(i);
1781
- }
1782
- finally {
1783
- if (e)
1784
- throw e.error;
1785
- }
1786
- }
1787
- return ar;
1788
- }
1789
- function __spread() {
1790
- for (var ar = [], i = 0; i < arguments.length; i++)
1791
- ar = ar.concat(__read(arguments[i]));
1792
- return ar;
1793
- }
1794
-
1795
1961
  /**
1796
1962
  * @fileoverview added by tsickle
1797
1963
  * @suppress {checkTypes,extraRequire,missingReturn,uselessCode} checked by tsc
@@ -2097,9 +2263,10 @@
2097
2263
  exports.TdDigitsPipe = TdDigitsPipe;
2098
2264
  exports.TdTruncatePipe = TdTruncatePipe;
2099
2265
  exports.TdDecimalBytesPipe = TdDecimalBytesPipe;
2100
- exports.ɵa = TdTimeUntilPipe;
2101
- exports.ɵc = IconService;
2102
- exports.ɵb = RouterPathService;
2266
+ exports.ɵa = TdFullscreenDirective;
2267
+ exports.ɵb = TdTimeUntilPipe;
2268
+ exports.ɵd = IconService;
2269
+ exports.ɵc = RouterPathService;
2103
2270
 
2104
2271
  Object.defineProperty(exports, '__esModule', { value: true });
2105
2272