@angular/cdk 2.0.0-beta.11 → 2.0.0-beta.12

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 (306) hide show
  1. package/_a11y.scss +23 -0
  2. package/_overlay.scss +93 -0
  3. package/a11y/index.metadata.json +2 -1
  4. package/a11y/typings/a11y-module.d.ts +2 -0
  5. package/a11y/typings/focus-monitor.d.ts +1 -1
  6. package/a11y/typings/index.d.ts +1 -1
  7. package/a11y/typings/index.metadata.json +1 -1
  8. package/a11y/typings/{public_api.d.ts → public-api.d.ts} +8 -2
  9. package/a11y-prebuilt.css +1 -0
  10. package/a11y.metadata.json +2 -1
  11. package/bidi/index.metadata.json +2 -1
  12. package/bidi/typings/bidi-module.d.ts +2 -0
  13. package/bidi/typings/index.d.ts +1 -1
  14. package/bidi/typings/index.metadata.json +1 -1
  15. package/bidi/typings/public-api.d.ts +10 -0
  16. package/bidi.metadata.json +2 -1
  17. package/bundles/cdk-a11y.umd.js +1368 -1357
  18. package/bundles/cdk-a11y.umd.js.map +1 -1
  19. package/bundles/cdk-a11y.umd.min.js +2 -2
  20. package/bundles/cdk-a11y.umd.min.js.map +1 -1
  21. package/bundles/cdk-bidi.umd.js +42 -40
  22. package/bundles/cdk-bidi.umd.js.map +1 -1
  23. package/bundles/cdk-bidi.umd.min.js +2 -2
  24. package/bundles/cdk-bidi.umd.min.js.map +1 -1
  25. package/bundles/cdk-coercion.umd.js +12 -0
  26. package/bundles/cdk-coercion.umd.js.map +1 -1
  27. package/bundles/cdk-coercion.umd.min.js +2 -2
  28. package/bundles/cdk-coercion.umd.min.js.map +1 -1
  29. package/bundles/cdk-collections.umd.js +113 -11
  30. package/bundles/cdk-collections.umd.js.map +1 -1
  31. package/bundles/cdk-collections.umd.min.js +2 -2
  32. package/bundles/cdk-collections.umd.min.js.map +1 -1
  33. package/bundles/cdk-keycodes.umd.js.map +1 -1
  34. package/bundles/cdk-keycodes.umd.min.js +1 -1
  35. package/bundles/cdk-keycodes.umd.min.js.map +1 -1
  36. package/bundles/cdk-layout.umd.js +235 -0
  37. package/bundles/cdk-layout.umd.js.map +1 -0
  38. package/bundles/cdk-layout.umd.min.js +9 -0
  39. package/bundles/cdk-layout.umd.min.js.map +1 -0
  40. package/bundles/cdk-observers.umd.js +41 -40
  41. package/bundles/cdk-observers.umd.js.map +1 -1
  42. package/bundles/cdk-observers.umd.min.js +2 -2
  43. package/bundles/cdk-observers.umd.min.js.map +1 -1
  44. package/bundles/cdk-overlay.umd.js +306 -265
  45. package/bundles/cdk-overlay.umd.js.map +1 -1
  46. package/bundles/cdk-overlay.umd.min.js +2 -2
  47. package/bundles/cdk-overlay.umd.min.js.map +1 -1
  48. package/bundles/cdk-platform.umd.js +19 -17
  49. package/bundles/cdk-platform.umd.js.map +1 -1
  50. package/bundles/cdk-platform.umd.min.js +2 -2
  51. package/bundles/cdk-platform.umd.min.js.map +1 -1
  52. package/bundles/cdk-portal.umd.js +71 -37
  53. package/bundles/cdk-portal.umd.js.map +1 -1
  54. package/bundles/cdk-portal.umd.min.js +2 -2
  55. package/bundles/cdk-portal.umd.min.js.map +1 -1
  56. package/bundles/cdk-rxjs.umd.js +13 -4
  57. package/bundles/cdk-rxjs.umd.js.map +1 -1
  58. package/bundles/cdk-rxjs.umd.min.js +2 -2
  59. package/bundles/cdk-rxjs.umd.min.js.map +1 -1
  60. package/bundles/cdk-scrolling.umd.js +89 -54
  61. package/bundles/cdk-scrolling.umd.js.map +1 -1
  62. package/bundles/cdk-scrolling.umd.min.js +2 -2
  63. package/bundles/cdk-scrolling.umd.min.js.map +1 -1
  64. package/bundles/cdk-stepper.umd.js +115 -90
  65. package/bundles/cdk-stepper.umd.js.map +1 -1
  66. package/bundles/cdk-stepper.umd.min.js +2 -2
  67. package/bundles/cdk-stepper.umd.min.js.map +1 -1
  68. package/bundles/cdk-table.umd.js +261 -218
  69. package/bundles/cdk-table.umd.js.map +1 -1
  70. package/bundles/cdk-table.umd.min.js +2 -2
  71. package/bundles/cdk-table.umd.min.js.map +1 -1
  72. package/bundles/cdk.umd.js +1 -1
  73. package/bundles/cdk.umd.js.map +1 -1
  74. package/bundles/cdk.umd.min.js +2 -2
  75. package/bundles/cdk.umd.min.js.map +1 -1
  76. package/cdk.metadata.json +2 -1
  77. package/coercion/index.metadata.json +2 -1
  78. package/coercion/typings/array.d.ts +9 -0
  79. package/coercion/typings/index.d.ts +1 -1
  80. package/coercion/typings/index.metadata.json +1 -1
  81. package/{typings/coercion/public_api.d.ts → coercion/typings/public-api.d.ts} +1 -0
  82. package/coercion.metadata.json +2 -1
  83. package/collections/index.metadata.json +2 -1
  84. package/collections/typings/index.d.ts +2 -1
  85. package/collections/typings/index.metadata.json +1 -1
  86. package/{typings/collections/public_api.d.ts → collections/typings/public-api.d.ts} +1 -0
  87. package/collections/typings/selection.d.ts +13 -3
  88. package/collections/typings/unique-selection-dispatcher.d.ts +40 -0
  89. package/collections.metadata.json +2 -1
  90. package/esm2015/a11y.js +1252 -1250
  91. package/esm2015/a11y.js.map +1 -1
  92. package/esm2015/bidi.js +1 -1
  93. package/esm2015/bidi.js.map +1 -1
  94. package/esm2015/cdk.js +1 -1
  95. package/esm2015/cdk.js.map +1 -1
  96. package/esm2015/coercion.js +11 -1
  97. package/esm2015/coercion.js.map +1 -1
  98. package/esm2015/collections.js +93 -8
  99. package/esm2015/collections.js.map +1 -1
  100. package/esm2015/keycodes.js.map +1 -1
  101. package/esm2015/layout.js +226 -0
  102. package/esm2015/layout.js.map +1 -0
  103. package/esm2015/observers.js +8 -7
  104. package/esm2015/observers.js.map +1 -1
  105. package/esm2015/overlay.js +157 -136
  106. package/esm2015/overlay.js.map +1 -1
  107. package/esm2015/platform.js +1 -1
  108. package/esm2015/platform.js.map +1 -1
  109. package/esm2015/portal.js +30 -1
  110. package/esm2015/portal.js.map +1 -1
  111. package/esm2015/rxjs.js +5 -1
  112. package/esm2015/rxjs.js.map +1 -1
  113. package/esm2015/scrolling.js +39 -8
  114. package/esm2015/scrolling.js.map +1 -1
  115. package/esm2015/stepper.js +27 -5
  116. package/esm2015/stepper.js.map +1 -1
  117. package/esm2015/table.js +68 -29
  118. package/esm2015/table.js.map +1 -1
  119. package/esm5/a11y.es5.js +1372 -1357
  120. package/esm5/a11y.es5.js.map +1 -1
  121. package/esm5/bidi.es5.js +45 -40
  122. package/esm5/bidi.es5.js.map +1 -1
  123. package/esm5/cdk.es5.js +4 -1
  124. package/esm5/cdk.es5.js.map +1 -1
  125. package/esm5/coercion.es5.js +14 -1
  126. package/esm5/coercion.es5.js.map +1 -1
  127. package/esm5/collections.es5.js +110 -8
  128. package/esm5/collections.es5.js.map +1 -1
  129. package/esm5/keycodes.es5.js +2 -0
  130. package/esm5/keycodes.es5.js.map +1 -1
  131. package/esm5/layout.es5.js +234 -0
  132. package/esm5/layout.es5.js.map +1 -0
  133. package/esm5/observers.es5.js +44 -40
  134. package/esm5/observers.es5.js.map +1 -1
  135. package/esm5/overlay.es5.js +304 -259
  136. package/esm5/overlay.es5.js.map +1 -1
  137. package/esm5/platform.es5.js +22 -17
  138. package/esm5/platform.es5.js.map +1 -1
  139. package/esm5/portal.es5.js +81 -44
  140. package/esm5/portal.es5.js.map +1 -1
  141. package/esm5/rxjs.es5.js +12 -1
  142. package/esm5/rxjs.es5.js.map +1 -1
  143. package/esm5/scrolling.es5.js +89 -51
  144. package/esm5/scrolling.es5.js.map +1 -1
  145. package/esm5/stepper.es5.js +119 -91
  146. package/esm5/stepper.es5.js.map +1 -1
  147. package/esm5/table.es5.js +265 -218
  148. package/esm5/table.es5.js.map +1 -1
  149. package/keycodes/index.metadata.json +2 -1
  150. package/keycodes/typings/index.d.ts +1 -1
  151. package/keycodes/typings/{public_api.d.ts → public-api.d.ts} +0 -0
  152. package/keycodes.metadata.json +2 -1
  153. package/layout/index.d.ts +8 -0
  154. package/layout/index.metadata.json +12 -0
  155. package/layout/package.json +7 -0
  156. package/layout/typings/breakpoints-observer.d.ts +37 -0
  157. package/layout/typings/breakpoints.d.ts +18 -0
  158. package/layout/typings/index.d.ts +4 -0
  159. package/layout/typings/index.metadata.json +1 -0
  160. package/layout/typings/media-matcher.d.ts +15 -0
  161. package/layout/typings/public-api.d.ts +5 -0
  162. package/layout.d.ts +8 -0
  163. package/layout.metadata.json +12 -0
  164. package/observers/index.metadata.json +2 -1
  165. package/observers/typings/index.d.ts +1 -1
  166. package/observers/typings/index.metadata.json +1 -1
  167. package/observers/typings/observe-content.d.ts +3 -3
  168. package/observers/typings/{public_api.d.ts → public-api.d.ts} +0 -0
  169. package/observers.metadata.json +2 -1
  170. package/overlay/index.metadata.json +2 -1
  171. package/overlay/typings/index.d.ts +2 -2
  172. package/overlay/typings/index.metadata.json +1 -1
  173. package/overlay/typings/overlay-config.d.ts +1 -1
  174. package/overlay/typings/overlay-directives.d.ts +3 -3
  175. package/overlay/typings/overlay-module.d.ts +11 -0
  176. package/overlay/typings/overlay-ref.d.ts +6 -6
  177. package/overlay/typings/overlay.d.ts +2 -2
  178. package/overlay/typings/position/connected-position-strategy.d.ts +5 -0
  179. package/overlay/typings/position/position-strategy.d.ts +2 -0
  180. package/overlay/typings/{public_api.d.ts → public-api.d.ts} +1 -4
  181. package/overlay/typings/scroll/scroll-strategy.d.ts +1 -1
  182. package/overlay-prebuilt.css +1 -0
  183. package/overlay.metadata.json +2 -1
  184. package/package.json +3 -3
  185. package/platform/index.metadata.json +2 -1
  186. package/platform/typings/index.d.ts +1 -1
  187. package/platform/typings/index.metadata.json +1 -1
  188. package/platform/typings/platform-module.d.ts +2 -0
  189. package/platform/typings/public-api.d.ts +10 -0
  190. package/platform.metadata.json +2 -1
  191. package/portal/index.metadata.json +2 -1
  192. package/portal/typings/index.d.ts +1 -1
  193. package/portal/typings/index.metadata.json +1 -1
  194. package/portal/typings/{public_api.d.ts → public-api.d.ts} +1 -0
  195. package/portal.metadata.json +2 -1
  196. package/rxjs/index.metadata.json +2 -1
  197. package/rxjs/typings/index.d.ts +1 -1
  198. package/rxjs/typings/index.metadata.json +1 -1
  199. package/rxjs/typings/{public_api.d.ts → public-api.d.ts} +0 -0
  200. package/rxjs/typings/rx-operators.d.ts +7 -0
  201. package/rxjs.metadata.json +2 -1
  202. package/scrolling/index.metadata.json +2 -1
  203. package/scrolling/typings/index.d.ts +1 -1
  204. package/scrolling/typings/index.metadata.json +1 -1
  205. package/scrolling/typings/public-api.d.ts +11 -0
  206. package/scrolling/typings/scrolling-module.d.ts +2 -0
  207. package/scrolling/typings/viewport-ruler.d.ts +20 -6
  208. package/scrolling.metadata.json +2 -1
  209. package/stepper/index.metadata.json +2 -1
  210. package/stepper/typings/index.d.ts +1 -1
  211. package/stepper/typings/index.metadata.json +1 -1
  212. package/stepper/typings/public-api.d.ts +11 -0
  213. package/stepper/typings/stepper-module.d.ts +2 -0
  214. package/stepper/typings/stepper.d.ts +8 -4
  215. package/stepper.metadata.json +2 -1
  216. package/table/index.metadata.json +2 -1
  217. package/table/typings/index.d.ts +1 -1
  218. package/table/typings/index.metadata.json +1 -1
  219. package/table/typings/public-api.d.ts +13 -0
  220. package/table/typings/row.d.ts +11 -3
  221. package/table/typings/table-errors.d.ts +10 -0
  222. package/table/typings/table-module.d.ts +2 -0
  223. package/table/typings/table.d.ts +17 -8
  224. package/table.metadata.json +2 -1
  225. package/typings/a11y/a11y-module.d.ts +2 -0
  226. package/typings/a11y/focus-monitor.d.ts +1 -1
  227. package/typings/a11y/index.d.ts +1 -1
  228. package/typings/a11y/index.metadata.json +1 -1
  229. package/typings/a11y/{public_api.d.ts → public-api.d.ts} +8 -2
  230. package/typings/bidi/bidi-module.d.ts +2 -0
  231. package/typings/bidi/index.d.ts +1 -1
  232. package/typings/bidi/index.metadata.json +1 -1
  233. package/typings/bidi/public-api.d.ts +10 -0
  234. package/typings/coercion/array.d.ts +9 -0
  235. package/typings/coercion/index.d.ts +1 -1
  236. package/typings/coercion/index.metadata.json +1 -1
  237. package/{coercion/typings/public_api.d.ts → typings/coercion/public-api.d.ts} +1 -0
  238. package/typings/collections/index.d.ts +2 -1
  239. package/typings/collections/index.metadata.json +1 -1
  240. package/{collections/typings/public_api.d.ts → typings/collections/public-api.d.ts} +1 -0
  241. package/typings/collections/selection.d.ts +13 -3
  242. package/typings/collections/unique-selection-dispatcher.d.ts +40 -0
  243. package/typings/index.d.ts +1 -1
  244. package/typings/index.metadata.json +1 -1
  245. package/typings/keycodes/index.d.ts +1 -1
  246. package/typings/keycodes/{public_api.d.ts → public-api.d.ts} +0 -0
  247. package/typings/layout/breakpoints-observer.d.ts +37 -0
  248. package/typings/layout/breakpoints.d.ts +18 -0
  249. package/typings/layout/index.d.ts +4 -0
  250. package/typings/layout/index.metadata.json +1 -0
  251. package/typings/layout/media-matcher.d.ts +15 -0
  252. package/typings/layout/public-api.d.ts +5 -0
  253. package/typings/observers/index.d.ts +1 -1
  254. package/typings/observers/index.metadata.json +1 -1
  255. package/typings/observers/observe-content.d.ts +3 -3
  256. package/typings/observers/{public_api.d.ts → public-api.d.ts} +0 -0
  257. package/typings/overlay/index.d.ts +2 -2
  258. package/typings/overlay/index.metadata.json +1 -1
  259. package/typings/overlay/overlay-config.d.ts +1 -1
  260. package/typings/overlay/overlay-directives.d.ts +3 -3
  261. package/typings/overlay/overlay-module.d.ts +11 -0
  262. package/typings/overlay/overlay-ref.d.ts +6 -6
  263. package/typings/overlay/overlay.d.ts +2 -2
  264. package/typings/overlay/position/connected-position-strategy.d.ts +5 -0
  265. package/typings/overlay/position/position-strategy.d.ts +2 -0
  266. package/typings/overlay/{public_api.d.ts → public-api.d.ts} +1 -4
  267. package/typings/overlay/scroll/scroll-strategy.d.ts +1 -1
  268. package/typings/platform/index.d.ts +1 -1
  269. package/typings/platform/index.metadata.json +1 -1
  270. package/typings/platform/platform-module.d.ts +2 -0
  271. package/typings/platform/public-api.d.ts +10 -0
  272. package/typings/portal/index.d.ts +1 -1
  273. package/typings/portal/index.metadata.json +1 -1
  274. package/typings/portal/{public_api.d.ts → public-api.d.ts} +1 -0
  275. package/typings/{public_api.d.ts → public-api.d.ts} +0 -0
  276. package/typings/rxjs/index.d.ts +1 -1
  277. package/typings/rxjs/index.metadata.json +1 -1
  278. package/typings/rxjs/{public_api.d.ts → public-api.d.ts} +0 -0
  279. package/typings/rxjs/rx-operators.d.ts +7 -0
  280. package/typings/scrolling/index.d.ts +1 -1
  281. package/typings/scrolling/index.metadata.json +1 -1
  282. package/typings/scrolling/public-api.d.ts +11 -0
  283. package/typings/scrolling/scrolling-module.d.ts +2 -0
  284. package/typings/scrolling/viewport-ruler.d.ts +20 -6
  285. package/typings/stepper/index.d.ts +1 -1
  286. package/typings/stepper/index.metadata.json +1 -1
  287. package/typings/stepper/public-api.d.ts +11 -0
  288. package/typings/stepper/stepper-module.d.ts +2 -0
  289. package/typings/stepper/stepper.d.ts +8 -4
  290. package/typings/table/index.d.ts +1 -1
  291. package/typings/table/index.metadata.json +1 -1
  292. package/typings/table/public-api.d.ts +13 -0
  293. package/typings/table/row.d.ts +11 -3
  294. package/typings/table/table-errors.d.ts +10 -0
  295. package/typings/table/table-module.d.ts +2 -0
  296. package/typings/table/table.d.ts +17 -8
  297. package/bidi/typings/public_api.d.ts +0 -4
  298. package/platform/typings/public_api.d.ts +0 -4
  299. package/scrolling/typings/public_api.d.ts +0 -5
  300. package/stepper/typings/public_api.d.ts +0 -5
  301. package/table/typings/public_api.d.ts +0 -7
  302. package/typings/bidi/public_api.d.ts +0 -4
  303. package/typings/platform/public_api.d.ts +0 -4
  304. package/typings/scrolling/public_api.d.ts +0 -5
  305. package/typings/stepper/public_api.d.ts +0 -5
  306. package/typings/table/public_api.d.ts +0 -7
package/esm5/table.es5.js CHANGED
@@ -1,4 +1,3 @@
1
- import * as tslib_1 from "tslib";
2
1
  /**
3
2
  * @license
4
3
  * Copyright Google Inc. All Rights Reserved.
@@ -6,14 +5,17 @@ import * as tslib_1 from "tslib";
6
5
  * Use of this source code is governed by an MIT-style license that can be
7
6
  * found in the LICENSE file at https://angular.io/license
8
7
  */
9
- import { CommonModule } from '@angular/common';
10
8
  import { Attribute, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ContentChildren, Directive, ElementRef, Input, IterableDiffers, NgModule, Renderer2, TemplateRef, ViewChild, ViewContainerRef, ViewEncapsulation, isDevMode } from '@angular/core';
9
+ import { __extends } from 'tslib';
10
+ import * as tslib_1 from 'tslib';
11
11
  import { takeUntil } from 'rxjs/operator/takeUntil';
12
12
  import { BehaviorSubject } from 'rxjs/BehaviorSubject';
13
13
  import { Subject } from 'rxjs/Subject';
14
+ import { CommonModule } from '@angular/common';
14
15
  import { DataSource } from '@angular/cdk/collections';
16
+
15
17
  /**
16
- * The row template that can be used by the md-table. Should not be used outside of the
18
+ * The row template that can be used by the mat-table. Should not be used outside of the
17
19
  * material library.
18
20
  */
19
21
  var CDK_ROW_TEMPLATE = "<ng-container cdkCellOutlet></ng-container>";
@@ -39,7 +41,7 @@ var BaseRowDef = (function () {
39
41
  // Create a new columns differ if one does not yet exist. Initialize it based on initial value
40
42
  // of the columns property or an empty array if none is provided.
41
43
  var /** @type {?} */ columns = changes['columns'].currentValue || [];
42
- if (!this._columnsDiffer && columns) {
44
+ if (!this._columnsDiffer) {
43
45
  this._columnsDiffer = this._differs.find(columns).create();
44
46
  this._columnsDiffer.diff(columns);
45
47
  }
@@ -59,7 +61,7 @@ var BaseRowDef = (function () {
59
61
  * Captures the header row's template and other header properties such as the columns to display.
60
62
  */
61
63
  var CdkHeaderRowDef = (function (_super) {
62
- tslib_1.__extends(CdkHeaderRowDef, _super);
64
+ __extends(CdkHeaderRowDef, _super);
63
65
  /**
64
66
  * @param {?} template
65
67
  * @param {?} _differs
@@ -67,27 +69,28 @@ var CdkHeaderRowDef = (function (_super) {
67
69
  function CdkHeaderRowDef(template, _differs) {
68
70
  return _super.call(this, template, _differs) || this;
69
71
  }
72
+ CdkHeaderRowDef.decorators = [
73
+ { type: Directive, args: [{
74
+ selector: '[cdkHeaderRowDef]',
75
+ inputs: ['columns: cdkHeaderRowDef'],
76
+ },] },
77
+ ];
78
+ /**
79
+ * @nocollapse
80
+ */
81
+ CdkHeaderRowDef.ctorParameters = function () { return [
82
+ { type: TemplateRef, },
83
+ { type: IterableDiffers, },
84
+ ]; };
70
85
  return CdkHeaderRowDef;
71
86
  }(BaseRowDef));
72
- CdkHeaderRowDef.decorators = [
73
- { type: Directive, args: [{
74
- selector: '[cdkHeaderRowDef]',
75
- inputs: ['columns: cdkHeaderRowDef'],
76
- },] },
77
- ];
78
- /**
79
- * @nocollapse
80
- */
81
- CdkHeaderRowDef.ctorParameters = function () { return [
82
- { type: TemplateRef, },
83
- { type: IterableDiffers, },
84
- ]; };
85
87
  /**
86
88
  * Data row definition for the CDK table.
87
- * Captures the header row's template and other row properties such as the columns to display.
89
+ * Captures the header row's template and other row properties such as the columns to display and
90
+ * a when predicate that describes when this row should be used.
88
91
  */
89
92
  var CdkRowDef = (function (_super) {
90
- tslib_1.__extends(CdkRowDef, _super);
93
+ __extends(CdkRowDef, _super);
91
94
  /**
92
95
  * @param {?} template
93
96
  * @param {?} _differs
@@ -95,21 +98,21 @@ var CdkRowDef = (function (_super) {
95
98
  function CdkRowDef(template, _differs) {
96
99
  return _super.call(this, template, _differs) || this;
97
100
  }
101
+ CdkRowDef.decorators = [
102
+ { type: Directive, args: [{
103
+ selector: '[cdkRowDef]',
104
+ inputs: ['columns: cdkRowDefColumns', 'when: cdkRowDefWhen'],
105
+ },] },
106
+ ];
107
+ /**
108
+ * @nocollapse
109
+ */
110
+ CdkRowDef.ctorParameters = function () { return [
111
+ { type: TemplateRef, },
112
+ { type: IterableDiffers, },
113
+ ]; };
98
114
  return CdkRowDef;
99
115
  }(BaseRowDef));
100
- CdkRowDef.decorators = [
101
- { type: Directive, args: [{
102
- selector: '[cdkRowDef]',
103
- inputs: ['columns: cdkRowDefColumns'],
104
- },] },
105
- ];
106
- /**
107
- * @nocollapse
108
- */
109
- CdkRowDef.ctorParameters = function () { return [
110
- { type: TemplateRef, },
111
- { type: IterableDiffers, },
112
- ]; };
113
116
  /**
114
117
  * Outlet for rendering cells inside of a row or header row.
115
118
  * \@docs-private
@@ -122,65 +125,66 @@ var CdkCellOutlet = (function () {
122
125
  this._viewContainer = _viewContainer;
123
126
  CdkCellOutlet.mostRecentCellOutlet = this;
124
127
  }
128
+ CdkCellOutlet.decorators = [
129
+ { type: Directive, args: [{ selector: '[cdkCellOutlet]' },] },
130
+ ];
131
+ /**
132
+ * @nocollapse
133
+ */
134
+ CdkCellOutlet.ctorParameters = function () { return [
135
+ { type: ViewContainerRef, },
136
+ ]; };
125
137
  return CdkCellOutlet;
126
138
  }());
127
- CdkCellOutlet.decorators = [
128
- { type: Directive, args: [{ selector: '[cdkCellOutlet]' },] },
129
- ];
130
- /**
131
- * @nocollapse
132
- */
133
- CdkCellOutlet.ctorParameters = function () { return [
134
- { type: ViewContainerRef, },
135
- ]; };
136
139
  /**
137
140
  * Header template container that contains the cell outlet. Adds the right class and role.
138
141
  */
139
142
  var CdkHeaderRow = (function () {
140
143
  function CdkHeaderRow() {
141
144
  }
145
+ CdkHeaderRow.decorators = [
146
+ { type: Component, args: [{selector: 'cdk-header-row',
147
+ template: CDK_ROW_TEMPLATE,
148
+ host: {
149
+ 'class': 'cdk-header-row',
150
+ 'role': 'row',
151
+ },
152
+ changeDetection: ChangeDetectionStrategy.OnPush,
153
+ encapsulation: ViewEncapsulation.None,
154
+ preserveWhitespaces: false,
155
+ },] },
156
+ ];
157
+ /**
158
+ * @nocollapse
159
+ */
160
+ CdkHeaderRow.ctorParameters = function () { return []; };
142
161
  return CdkHeaderRow;
143
162
  }());
144
- CdkHeaderRow.decorators = [
145
- { type: Component, args: [{ selector: 'cdk-header-row',
146
- template: CDK_ROW_TEMPLATE,
147
- host: {
148
- 'class': 'cdk-header-row',
149
- 'role': 'row',
150
- },
151
- changeDetection: ChangeDetectionStrategy.OnPush,
152
- encapsulation: ViewEncapsulation.None,
153
- preserveWhitespaces: false,
154
- },] },
155
- ];
156
- /**
157
- * @nocollapse
158
- */
159
- CdkHeaderRow.ctorParameters = function () { return []; };
160
163
  /**
161
164
  * Data row template container that contains the cell outlet. Adds the right class and role.
162
165
  */
163
166
  var CdkRow = (function () {
164
167
  function CdkRow() {
165
168
  }
169
+ CdkRow.decorators = [
170
+ { type: Component, args: [{selector: 'cdk-row',
171
+ template: CDK_ROW_TEMPLATE,
172
+ host: {
173
+ 'class': 'cdk-row',
174
+ 'role': 'row',
175
+ },
176
+ changeDetection: ChangeDetectionStrategy.OnPush,
177
+ encapsulation: ViewEncapsulation.None,
178
+ preserveWhitespaces: false,
179
+ },] },
180
+ ];
181
+ /**
182
+ * @nocollapse
183
+ */
184
+ CdkRow.ctorParameters = function () { return []; };
166
185
  return CdkRow;
167
186
  }());
168
- CdkRow.decorators = [
169
- { type: Component, args: [{ selector: 'cdk-row',
170
- template: CDK_ROW_TEMPLATE,
171
- host: {
172
- 'class': 'cdk-row',
173
- 'role': 'row',
174
- },
175
- changeDetection: ChangeDetectionStrategy.OnPush,
176
- encapsulation: ViewEncapsulation.None,
177
- preserveWhitespaces: false,
178
- },] },
179
- ];
180
- /**
181
- * @nocollapse
182
- */
183
- CdkRow.ctorParameters = function () { return []; };
187
+
184
188
  /**
185
189
  * Cell definition for a CDK table.
186
190
  * Captures the template of a column's data row cell as well as cell-specific properties.
@@ -192,17 +196,17 @@ var CdkCellDef = (function () {
192
196
  function CdkCellDef(template) {
193
197
  this.template = template;
194
198
  }
199
+ CdkCellDef.decorators = [
200
+ { type: Directive, args: [{ selector: '[cdkCellDef]' },] },
201
+ ];
202
+ /**
203
+ * @nocollapse
204
+ */
205
+ CdkCellDef.ctorParameters = function () { return [
206
+ { type: TemplateRef, },
207
+ ]; };
195
208
  return CdkCellDef;
196
209
  }());
197
- CdkCellDef.decorators = [
198
- { type: Directive, args: [{ selector: '[cdkCellDef]' },] },
199
- ];
200
- /**
201
- * @nocollapse
202
- */
203
- CdkCellDef.ctorParameters = function () { return [
204
- { type: TemplateRef, },
205
- ]; };
206
210
  /**
207
211
  * Header cell definition for a CDK table.
208
212
  * Captures the template of a column's header cell and as well as cell-specific properties.
@@ -214,17 +218,17 @@ var CdkHeaderCellDef = (function () {
214
218
  function CdkHeaderCellDef(template) {
215
219
  this.template = template;
216
220
  }
221
+ CdkHeaderCellDef.decorators = [
222
+ { type: Directive, args: [{ selector: '[cdkHeaderCellDef]' },] },
223
+ ];
224
+ /**
225
+ * @nocollapse
226
+ */
227
+ CdkHeaderCellDef.ctorParameters = function () { return [
228
+ { type: TemplateRef, },
229
+ ]; };
217
230
  return CdkHeaderCellDef;
218
231
  }());
219
- CdkHeaderCellDef.decorators = [
220
- { type: Directive, args: [{ selector: '[cdkHeaderCellDef]' },] },
221
- ];
222
- /**
223
- * @nocollapse
224
- */
225
- CdkHeaderCellDef.ctorParameters = function () { return [
226
- { type: TemplateRef, },
227
- ]; };
228
232
  /**
229
233
  * Column definition for the CDK table.
230
234
  * Defines a set of cells available for a table column.
@@ -249,20 +253,20 @@ var CdkColumnDef = (function () {
249
253
  enumerable: true,
250
254
  configurable: true
251
255
  });
256
+ CdkColumnDef.decorators = [
257
+ { type: Directive, args: [{ selector: '[cdkColumnDef]' },] },
258
+ ];
259
+ /**
260
+ * @nocollapse
261
+ */
262
+ CdkColumnDef.ctorParameters = function () { return []; };
263
+ CdkColumnDef.propDecorators = {
264
+ 'name': [{ type: Input, args: ['cdkColumnDef',] },],
265
+ 'cell': [{ type: ContentChild, args: [CdkCellDef,] },],
266
+ 'headerCell': [{ type: ContentChild, args: [CdkHeaderCellDef,] },],
267
+ };
252
268
  return CdkColumnDef;
253
269
  }());
254
- CdkColumnDef.decorators = [
255
- { type: Directive, args: [{ selector: '[cdkColumnDef]' },] },
256
- ];
257
- /**
258
- * @nocollapse
259
- */
260
- CdkColumnDef.ctorParameters = function () { return []; };
261
- CdkColumnDef.propDecorators = {
262
- 'name': [{ type: Input, args: ['cdkColumnDef',] },],
263
- 'cell': [{ type: ContentChild, args: [CdkCellDef,] },],
264
- 'headerCell': [{ type: ContentChild, args: [CdkHeaderCellDef,] },],
265
- };
266
270
  /**
267
271
  * Header cell template container that adds the right classes and role.
268
272
  */
@@ -275,25 +279,25 @@ var CdkHeaderCell = (function () {
275
279
  function CdkHeaderCell(columnDef, elementRef, renderer) {
276
280
  renderer.addClass(elementRef.nativeElement, "cdk-column-" + columnDef.cssClassFriendlyName);
277
281
  }
282
+ CdkHeaderCell.decorators = [
283
+ { type: Directive, args: [{
284
+ selector: 'cdk-header-cell',
285
+ host: {
286
+ 'class': 'cdk-header-cell',
287
+ 'role': 'columnheader',
288
+ },
289
+ },] },
290
+ ];
291
+ /**
292
+ * @nocollapse
293
+ */
294
+ CdkHeaderCell.ctorParameters = function () { return [
295
+ { type: CdkColumnDef, },
296
+ { type: ElementRef, },
297
+ { type: Renderer2, },
298
+ ]; };
278
299
  return CdkHeaderCell;
279
300
  }());
280
- CdkHeaderCell.decorators = [
281
- { type: Directive, args: [{
282
- selector: 'cdk-header-cell',
283
- host: {
284
- 'class': 'cdk-header-cell',
285
- 'role': 'columnheader',
286
- },
287
- },] },
288
- ];
289
- /**
290
- * @nocollapse
291
- */
292
- CdkHeaderCell.ctorParameters = function () { return [
293
- { type: CdkColumnDef, },
294
- { type: ElementRef, },
295
- { type: Renderer2, },
296
- ]; };
297
301
  /**
298
302
  * Cell template container that adds the right classes and role.
299
303
  */
@@ -306,25 +310,26 @@ var CdkCell = (function () {
306
310
  function CdkCell(columnDef, elementRef, renderer) {
307
311
  renderer.addClass(elementRef.nativeElement, "cdk-column-" + columnDef.cssClassFriendlyName);
308
312
  }
313
+ CdkCell.decorators = [
314
+ { type: Directive, args: [{
315
+ selector: 'cdk-cell',
316
+ host: {
317
+ 'class': 'cdk-cell',
318
+ 'role': 'gridcell',
319
+ },
320
+ },] },
321
+ ];
322
+ /**
323
+ * @nocollapse
324
+ */
325
+ CdkCell.ctorParameters = function () { return [
326
+ { type: CdkColumnDef, },
327
+ { type: ElementRef, },
328
+ { type: Renderer2, },
329
+ ]; };
309
330
  return CdkCell;
310
331
  }());
311
- CdkCell.decorators = [
312
- { type: Directive, args: [{
313
- selector: 'cdk-cell',
314
- host: {
315
- 'class': 'cdk-cell',
316
- 'role': 'gridcell',
317
- },
318
- },] },
319
- ];
320
- /**
321
- * @nocollapse
322
- */
323
- CdkCell.ctorParameters = function () { return [
324
- { type: CdkColumnDef, },
325
- { type: ElementRef, },
326
- { type: Renderer2, },
327
- ]; };
332
+
328
333
  /**
329
334
  * Returns an error to be thrown when attempting to find an unexisting column.
330
335
  * \@docs-private
@@ -343,6 +348,23 @@ function getTableUnknownColumnError(id) {
343
348
  function getTableDuplicateColumnNameError(name) {
344
349
  return Error("cdk-table: Duplicate column definition name provided: \"" + name + "\".");
345
350
  }
351
+ /**
352
+ * Returns an error to be thrown when there are multiple rows that are missing a when function.
353
+ * \@docs-private
354
+ * @return {?}
355
+ */
356
+ function getTableMultipleDefaultRowDefsError() {
357
+ return Error("cdk-table: There can only be one default row without a when predicate function.");
358
+ }
359
+ /**
360
+ * Returns an error to be thrown when there are no matching row defs for a particular set of data.
361
+ * \@docs-private
362
+ * @return {?}
363
+ */
364
+ function getTableMissingMatchingRowDefError() {
365
+ return Error("cdk-table: Could not find a matching row definition for the provided row data.");
366
+ }
367
+
346
368
  /**
347
369
  * Provides a handle for the table to grab the view container's ng-container to insert data rows.
348
370
  * \@docs-private
@@ -354,17 +376,17 @@ var RowPlaceholder = (function () {
354
376
  function RowPlaceholder(viewContainer) {
355
377
  this.viewContainer = viewContainer;
356
378
  }
379
+ RowPlaceholder.decorators = [
380
+ { type: Directive, args: [{ selector: '[rowPlaceholder]' },] },
381
+ ];
382
+ /**
383
+ * @nocollapse
384
+ */
385
+ RowPlaceholder.ctorParameters = function () { return [
386
+ { type: ViewContainerRef, },
387
+ ]; };
357
388
  return RowPlaceholder;
358
389
  }());
359
- RowPlaceholder.decorators = [
360
- { type: Directive, args: [{ selector: '[rowPlaceholder]' },] },
361
- ];
362
- /**
363
- * @nocollapse
364
- */
365
- RowPlaceholder.ctorParameters = function () { return [
366
- { type: ViewContainerRef, },
367
- ]; };
368
390
  /**
369
391
  * Provides a handle for the table to grab the view container's ng-container to insert the header.
370
392
  * \@docs-private
@@ -376,19 +398,19 @@ var HeaderRowPlaceholder = (function () {
376
398
  function HeaderRowPlaceholder(viewContainer) {
377
399
  this.viewContainer = viewContainer;
378
400
  }
401
+ HeaderRowPlaceholder.decorators = [
402
+ { type: Directive, args: [{ selector: '[headerRowPlaceholder]' },] },
403
+ ];
404
+ /**
405
+ * @nocollapse
406
+ */
407
+ HeaderRowPlaceholder.ctorParameters = function () { return [
408
+ { type: ViewContainerRef, },
409
+ ]; };
379
410
  return HeaderRowPlaceholder;
380
411
  }());
381
- HeaderRowPlaceholder.decorators = [
382
- { type: Directive, args: [{ selector: '[headerRowPlaceholder]' },] },
383
- ];
384
- /**
385
- * @nocollapse
386
- */
387
- HeaderRowPlaceholder.ctorParameters = function () { return [
388
- { type: ViewContainerRef, },
389
- ]; };
390
412
  /**
391
- * The table template that can be used by the md-table. Should not be used outside of the
413
+ * The table template that can be used by the mat-table. Should not be used outside of the
392
414
  * material library.
393
415
  */
394
416
  var CDK_TABLE_TEMPLATE = "\n <ng-container headerRowPlaceholder></ng-container>\n <ng-container rowPlaceholder></ng-container>";
@@ -418,7 +440,7 @@ var CdkTable = (function () {
418
440
  /**
419
441
  * Map of all the user's defined columns (header and data cell template) identified by name.
420
442
  */
421
- this._columnDefinitionsByName = new Map();
443
+ this._columnDefsByName = new Map();
422
444
  /**
423
445
  * Stream containing the latest information on what rows are being displayed on screen.
424
446
  * Can be used by the data source to as a heuristic of what data should be provided.
@@ -482,8 +504,8 @@ var CdkTable = (function () {
482
504
  */
483
505
  CdkTable.prototype.ngAfterContentInit = function () {
484
506
  var _this = this;
485
- this._cacheColumnDefinitionsByName();
486
- this._columnDefinitions.changes.subscribe(function () { return _this._cacheColumnDefinitionsByName(); });
507
+ this._cacheColumnDefsByName();
508
+ this._columnDefs.changes.subscribe(function () { return _this._cacheColumnDefsByName(); });
487
509
  this._renderHeaderRow();
488
510
  };
489
511
  /**
@@ -491,6 +513,11 @@ var CdkTable = (function () {
491
513
  */
492
514
  CdkTable.prototype.ngAfterContentChecked = function () {
493
515
  this._renderUpdatedColumns();
516
+ var /** @type {?} */ defaultRowDefs = this._rowDefs.filter(function (def) { return !def.when; });
517
+ if (defaultRowDefs.length > 1) {
518
+ throw getTableMultipleDefaultRowDefsError();
519
+ }
520
+ this._defaultRowDef = defaultRowDefs[0];
494
521
  if (this.dataSource && !this._renderChangeSubscription) {
495
522
  this._observeRenderChanges();
496
523
  }
@@ -511,14 +538,14 @@ var CdkTable = (function () {
511
538
  * Update the map containing the content's column definitions.
512
539
  * @return {?}
513
540
  */
514
- CdkTable.prototype._cacheColumnDefinitionsByName = function () {
541
+ CdkTable.prototype._cacheColumnDefsByName = function () {
515
542
  var _this = this;
516
- this._columnDefinitionsByName.clear();
517
- this._columnDefinitions.forEach(function (columnDef) {
518
- if (_this._columnDefinitionsByName.has(columnDef.name)) {
543
+ this._columnDefsByName.clear();
544
+ this._columnDefs.forEach(function (columnDef) {
545
+ if (_this._columnDefsByName.has(columnDef.name)) {
519
546
  throw getTableDuplicateColumnNameError(columnDef.name);
520
547
  }
521
- _this._columnDefinitionsByName.set(columnDef.name, columnDef);
548
+ _this._columnDefsByName.set(columnDef.name, columnDef);
522
549
  });
523
550
  };
524
551
  /**
@@ -529,8 +556,8 @@ var CdkTable = (function () {
529
556
  CdkTable.prototype._renderUpdatedColumns = function () {
530
557
  var _this = this;
531
558
  // Re-render the rows when the row definition columns change.
532
- this._rowDefinitions.forEach(function (rowDefinition) {
533
- if (!!rowDefinition.getColumnsDiff()) {
559
+ this._rowDefs.forEach(function (def) {
560
+ if (!!def.getColumnsDiff()) {
534
561
  // Reset the data to an empty array so that renderRowChanges will re-render all new rows.
535
562
  _this._dataDiffer.diff([]);
536
563
  _this._rowPlaceholder.viewContainer.clear();
@@ -538,7 +565,7 @@ var CdkTable = (function () {
538
565
  }
539
566
  });
540
567
  // Re-render the header row if there is a difference in its columns.
541
- if (this._headerDefinition.getColumnsDiff()) {
568
+ if (this._headerDef.getColumnsDiff()) {
542
569
  this._headerRowPlaceholder.viewContainer.clear();
543
570
  this._renderHeaderRow();
544
571
  }
@@ -583,7 +610,7 @@ var CdkTable = (function () {
583
610
  * @return {?}
584
611
  */
585
612
  CdkTable.prototype._renderHeaderRow = function () {
586
- var /** @type {?} */ cells = this._getHeaderCellTemplatesForRow(this._headerDefinition);
613
+ var /** @type {?} */ cells = this._getHeaderCellTemplatesForRow(this._headerDef);
587
614
  if (!cells.length) {
588
615
  return;
589
616
  }
@@ -591,7 +618,7 @@ var CdkTable = (function () {
591
618
  // one CdkCellOutlet was instantiated as a result
592
619
  // of `createEmbeddedView`.
593
620
  this._headerRowPlaceholder.viewContainer
594
- .createEmbeddedView(this._headerDefinition.template, { cells: cells });
621
+ .createEmbeddedView(this._headerDef.template, { cells: cells });
595
622
  cells.forEach(function (cell) {
596
623
  CdkCellOutlet.mostRecentCellOutlet._viewContainer.createEmbeddedView(cell.template, {});
597
624
  });
@@ -622,6 +649,25 @@ var CdkTable = (function () {
622
649
  });
623
650
  this._updateRowContext();
624
651
  };
652
+ /**
653
+ * Finds the matching row definition that should be used for this row data. If there is only
654
+ * one row definition, it is returned. Otherwise, find the row definition that has a when
655
+ * predicate that returns true with the data. If none return true, return the default row
656
+ * definition.
657
+ * @param {?} data
658
+ * @param {?} i
659
+ * @return {?}
660
+ */
661
+ CdkTable.prototype._getRowDef = function (data, i) {
662
+ if (this._rowDefs.length == 1) {
663
+ return this._rowDefs.first;
664
+ }
665
+ var /** @type {?} */ rowDef = this._rowDefs.find(function (def) { return def.when && def.when(data, i); }) || this._defaultRowDef;
666
+ if (!rowDef) {
667
+ throw getTableMissingMatchingRowDefError();
668
+ }
669
+ return rowDef;
670
+ };
625
671
  /**
626
672
  * Create the embedded view for the data row template and place it in the correct index location
627
673
  * within the data row view container.
@@ -630,10 +676,7 @@ var CdkTable = (function () {
630
676
  * @return {?}
631
677
  */
632
678
  CdkTable.prototype._insertRow = function (rowData, index) {
633
- // TODO(andrewseguin): Add when predicates to the row definitions
634
- // to find the right template to used based on
635
- // the data rather than choosing the first row definition.
636
- var /** @type {?} */ row = this._rowDefinitions.first;
679
+ var /** @type {?} */ row = this._getRowDef(rowData, index);
637
680
  // Row context that will be provided to both the created embedded row view and its cells.
638
681
  var /** @type {?} */ context = { $implicit: rowData };
639
682
  // TODO(andrewseguin): add some code to enforce that exactly one
@@ -676,7 +719,7 @@ var CdkTable = (function () {
676
719
  return [];
677
720
  }
678
721
  return headerDef.columns.map(function (columnId) {
679
- var /** @type {?} */ column = _this._columnDefinitionsByName.get(columnId);
722
+ var /** @type {?} */ column = _this._columnDefsByName.get(columnId);
680
723
  if (!column) {
681
724
  throw getTableUnknownColumnError(columnId);
682
725
  }
@@ -695,45 +738,47 @@ var CdkTable = (function () {
695
738
  return [];
696
739
  }
697
740
  return rowDef.columns.map(function (columnId) {
698
- var /** @type {?} */ column = _this._columnDefinitionsByName.get(columnId);
741
+ var /** @type {?} */ column = _this._columnDefsByName.get(columnId);
699
742
  if (!column) {
700
743
  throw getTableUnknownColumnError(columnId);
701
744
  }
702
745
  return column.cell;
703
746
  });
704
747
  };
748
+ CdkTable.decorators = [
749
+ { type: Component, args: [{selector: 'cdk-table',
750
+ exportAs: 'cdkTable',
751
+ template: CDK_TABLE_TEMPLATE,
752
+ host: {
753
+ 'class': 'cdk-table',
754
+ },
755
+ encapsulation: ViewEncapsulation.None,
756
+ preserveWhitespaces: false,
757
+ changeDetection: ChangeDetectionStrategy.OnPush,
758
+ },] },
759
+ ];
760
+ /**
761
+ * @nocollapse
762
+ */
763
+ CdkTable.ctorParameters = function () { return [
764
+ { type: IterableDiffers, },
765
+ { type: ChangeDetectorRef, },
766
+ { type: ElementRef, },
767
+ { type: Renderer2, },
768
+ { type: undefined, decorators: [{ type: Attribute, args: ['role',] },] },
769
+ ]; };
770
+ CdkTable.propDecorators = {
771
+ 'trackBy': [{ type: Input },],
772
+ 'dataSource': [{ type: Input },],
773
+ '_rowPlaceholder': [{ type: ViewChild, args: [RowPlaceholder,] },],
774
+ '_headerRowPlaceholder': [{ type: ViewChild, args: [HeaderRowPlaceholder,] },],
775
+ '_columnDefs': [{ type: ContentChildren, args: [CdkColumnDef,] },],
776
+ '_headerDef': [{ type: ContentChild, args: [CdkHeaderRowDef,] },],
777
+ '_rowDefs': [{ type: ContentChildren, args: [CdkRowDef,] },],
778
+ };
705
779
  return CdkTable;
706
780
  }());
707
- CdkTable.decorators = [
708
- { type: Component, args: [{ selector: 'cdk-table',
709
- template: CDK_TABLE_TEMPLATE,
710
- host: {
711
- 'class': 'cdk-table',
712
- },
713
- encapsulation: ViewEncapsulation.None,
714
- preserveWhitespaces: false,
715
- changeDetection: ChangeDetectionStrategy.OnPush,
716
- },] },
717
- ];
718
- /**
719
- * @nocollapse
720
- */
721
- CdkTable.ctorParameters = function () { return [
722
- { type: IterableDiffers, },
723
- { type: ChangeDetectorRef, },
724
- { type: ElementRef, },
725
- { type: Renderer2, },
726
- { type: undefined, decorators: [{ type: Attribute, args: ['role',] },] },
727
- ]; };
728
- CdkTable.propDecorators = {
729
- 'trackBy': [{ type: Input },],
730
- 'dataSource': [{ type: Input },],
731
- '_rowPlaceholder': [{ type: ViewChild, args: [RowPlaceholder,] },],
732
- '_headerRowPlaceholder': [{ type: ViewChild, args: [HeaderRowPlaceholder,] },],
733
- '_columnDefinitions': [{ type: ContentChildren, args: [CdkColumnDef,] },],
734
- '_headerDefinition': [{ type: ContentChild, args: [CdkHeaderRowDef,] },],
735
- '_rowDefinitions': [{ type: ContentChildren, args: [CdkRowDef,] },],
736
- };
781
+
737
782
  var EXPORTED_DECLARATIONS = [
738
783
  CdkTable,
739
784
  CdkRowDef,
@@ -752,21 +797,23 @@ var EXPORTED_DECLARATIONS = [
752
797
  var CdkTableModule = (function () {
753
798
  function CdkTableModule() {
754
799
  }
800
+ CdkTableModule.decorators = [
801
+ { type: NgModule, args: [{
802
+ imports: [CommonModule],
803
+ exports: [EXPORTED_DECLARATIONS],
804
+ declarations: [EXPORTED_DECLARATIONS]
805
+ },] },
806
+ ];
807
+ /**
808
+ * @nocollapse
809
+ */
810
+ CdkTableModule.ctorParameters = function () { return []; };
755
811
  return CdkTableModule;
756
812
  }());
757
- CdkTableModule.decorators = [
758
- { type: NgModule, args: [{
759
- imports: [CommonModule],
760
- exports: [EXPORTED_DECLARATIONS],
761
- declarations: [EXPORTED_DECLARATIONS]
762
- },] },
763
- ];
764
- /**
765
- * @nocollapse
766
- */
767
- CdkTableModule.ctorParameters = function () { return []; };
813
+
768
814
  /**
769
815
  * Generated bundle index. Do not edit.
770
816
  */
771
- export { DataSource, CdkTableModule, RowPlaceholder, HeaderRowPlaceholder, CDK_TABLE_TEMPLATE, CdkTable, CdkCellDef, CdkHeaderCellDef, CdkColumnDef, CdkHeaderCell, CdkCell, CDK_ROW_TEMPLATE, BaseRowDef, CdkHeaderRowDef, CdkRowDef, CdkCellOutlet, CdkHeaderRow, CdkRow };
817
+
818
+ export { DataSource, RowPlaceholder, HeaderRowPlaceholder, CDK_TABLE_TEMPLATE, CdkTable, CdkCellDef, CdkHeaderCellDef, CdkColumnDef, CdkHeaderCell, CdkCell, CDK_ROW_TEMPLATE, BaseRowDef, CdkHeaderRowDef, CdkRowDef, CdkCellOutlet, CdkHeaderRow, CdkRow, CdkTableModule };
772
819
  //# sourceMappingURL=table.es5.js.map