{"version":3,"file":"table.es5.js","sources":["../../packages/cdk/esm5/table/row.js","../../packages/cdk/esm5/table/cell.js","../../packages/cdk/esm5/table/table-errors.js","../../packages/cdk/esm5/table/table.js","../../packages/cdk/esm5/table/table-module.js","../../packages/cdk/esm5/table/index.js"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport * as tslib_1 from \"tslib\";\nimport { ChangeDetectionStrategy, Component, Directive, IterableDiffers, TemplateRef, ViewContainerRef, ViewEncapsulation, } from '@angular/core';\n/**\n * The row template that can be used by the mat-table. Should not be used outside of the\n * material library.\n */\nexport var CDK_ROW_TEMPLATE = \"\";\n/**\n * Base class for the CdkHeaderRowDef and CdkRowDef that handles checking their columns inputs\n * for changes and notifying the table.\n * @abstract\n */\nvar BaseRowDef = (function () {\n /**\n * @param {?} template\n * @param {?} _differs\n */\n function BaseRowDef(template, _differs) {\n this.template = template;\n this._differs = _differs;\n }\n /**\n * @param {?} changes\n * @return {?}\n */\n BaseRowDef.prototype.ngOnChanges = function (changes) {\n // Create a new columns differ if one does not yet exist. Initialize it based on initial value\n // of the columns property or an empty array if none is provided.\n var /** @type {?} */ columns = changes['columns'].currentValue || [];\n if (!this._columnsDiffer) {\n this._columnsDiffer = this._differs.find(columns).create();\n this._columnsDiffer.diff(columns);\n }\n };\n /**\n * Returns the difference between the current columns and the columns from the last diff, or null\n * if there is no difference.\n * @return {?}\n */\n BaseRowDef.prototype.getColumnsDiff = function () {\n return this._columnsDiffer.diff(this.columns);\n };\n return BaseRowDef;\n}());\nexport { BaseRowDef };\nfunction BaseRowDef_tsickle_Closure_declarations() {\n /**\n * The columns to be displayed on this row.\n * @type {?}\n */\n BaseRowDef.prototype.columns;\n /**\n * Differ used to check if any changes were made to the columns.\n * @type {?}\n */\n BaseRowDef.prototype._columnsDiffer;\n /** @type {?} */\n BaseRowDef.prototype.template;\n /** @type {?} */\n BaseRowDef.prototype._differs;\n}\n/**\n * Header row definition for the CDK table.\n * Captures the header row's template and other header properties such as the columns to display.\n */\nvar CdkHeaderRowDef = (function (_super) {\n tslib_1.__extends(CdkHeaderRowDef, _super);\n /**\n * @param {?} template\n * @param {?} _differs\n */\n function CdkHeaderRowDef(template, _differs) {\n return _super.call(this, template, _differs) || this;\n }\n CdkHeaderRowDef.decorators = [\n { type: Directive, args: [{\n selector: '[cdkHeaderRowDef]',\n inputs: ['columns: cdkHeaderRowDef'],\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkHeaderRowDef.ctorParameters = function () { return [\n { type: TemplateRef, },\n { type: IterableDiffers, },\n ]; };\n return CdkHeaderRowDef;\n}(BaseRowDef));\nexport { CdkHeaderRowDef };\nfunction CdkHeaderRowDef_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkHeaderRowDef.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkHeaderRowDef.ctorParameters;\n}\n/**\n * Data row definition for the CDK table.\n * Captures the header row's template and other row properties such as the columns to display and\n * a when predicate that describes when this row should be used.\n */\nvar CdkRowDef = (function (_super) {\n tslib_1.__extends(CdkRowDef, _super);\n /**\n * @param {?} template\n * @param {?} _differs\n */\n function CdkRowDef(template, _differs) {\n return _super.call(this, template, _differs) || this;\n }\n CdkRowDef.decorators = [\n { type: Directive, args: [{\n selector: '[cdkRowDef]',\n inputs: ['columns: cdkRowDefColumns', 'when: cdkRowDefWhen'],\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkRowDef.ctorParameters = function () { return [\n { type: TemplateRef, },\n { type: IterableDiffers, },\n ]; };\n return CdkRowDef;\n}(BaseRowDef));\nexport { CdkRowDef };\nfunction CdkRowDef_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkRowDef.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkRowDef.ctorParameters;\n /**\n * Function that should return true if this row template should be used for the provided row data\n * and index. If left undefined, this row will be considered the default row template to use when\n * no other when functions return true for the data.\n * For every row, there must be at least one when function that passes or an undefined to default.\n * @type {?}\n */\n CdkRowDef.prototype.when;\n}\n/**\n * Outlet for rendering cells inside of a row or header row.\n * \\@docs-private\n */\nvar CdkCellOutlet = (function () {\n /**\n * @param {?} _viewContainer\n */\n function CdkCellOutlet(_viewContainer) {\n this._viewContainer = _viewContainer;\n CdkCellOutlet.mostRecentCellOutlet = this;\n }\n CdkCellOutlet.decorators = [\n { type: Directive, args: [{ selector: '[cdkCellOutlet]' },] },\n ];\n /**\n * @nocollapse\n */\n CdkCellOutlet.ctorParameters = function () { return [\n { type: ViewContainerRef, },\n ]; };\n return CdkCellOutlet;\n}());\nexport { CdkCellOutlet };\nfunction CdkCellOutlet_tsickle_Closure_declarations() {\n /**\n * Static property containing the latest constructed instance of this class.\n * Used by the CDK table when each CdkHeaderRow and CdkRow component is created using\n * createEmbeddedView. After one of these components are created, this property will provide\n * a handle to provide that component's cells and context. After init, the CdkCellOutlet will\n * construct the cells with the provided context.\n * @type {?}\n */\n CdkCellOutlet.mostRecentCellOutlet;\n /** @type {?} */\n CdkCellOutlet.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkCellOutlet.ctorParameters;\n /**\n * The ordered list of cells to render within this outlet's view container\n * @type {?}\n */\n CdkCellOutlet.prototype.cells;\n /**\n * The data context to be provided to each cell\n * @type {?}\n */\n CdkCellOutlet.prototype.context;\n /** @type {?} */\n CdkCellOutlet.prototype._viewContainer;\n}\n/**\n * Header template container that contains the cell outlet. Adds the right class and role.\n */\nvar CdkHeaderRow = (function () {\n function CdkHeaderRow() {\n }\n CdkHeaderRow.decorators = [\n { type: Component, args: [{selector: 'cdk-header-row',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'cdk-header-row',\n 'role': 'row',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkHeaderRow.ctorParameters = function () { return []; };\n return CdkHeaderRow;\n}());\nexport { CdkHeaderRow };\nfunction CdkHeaderRow_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkHeaderRow.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkHeaderRow.ctorParameters;\n}\n/**\n * Data row template container that contains the cell outlet. Adds the right class and role.\n */\nvar CdkRow = (function () {\n function CdkRow() {\n }\n CdkRow.decorators = [\n { type: Component, args: [{selector: 'cdk-row',\n template: CDK_ROW_TEMPLATE,\n host: {\n 'class': 'cdk-row',\n 'role': 'row',\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkRow.ctorParameters = function () { return []; };\n return CdkRow;\n}());\nexport { CdkRow };\nfunction CdkRow_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkRow.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkRow.ctorParameters;\n}\n//# sourceMappingURL=row.js.map","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { ContentChild, Directive, ElementRef, Input, Renderer2, TemplateRef } from '@angular/core';\n/**\n * Cell definition for a CDK table.\n * Captures the template of a column's data row cell as well as cell-specific properties.\n */\nvar CdkCellDef = (function () {\n /**\n * @param {?} template\n */\n function CdkCellDef(template) {\n this.template = template;\n }\n CdkCellDef.decorators = [\n { type: Directive, args: [{ selector: '[cdkCellDef]' },] },\n ];\n /**\n * @nocollapse\n */\n CdkCellDef.ctorParameters = function () { return [\n { type: TemplateRef, },\n ]; };\n return CdkCellDef;\n}());\nexport { CdkCellDef };\nfunction CdkCellDef_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkCellDef.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkCellDef.ctorParameters;\n /** @type {?} */\n CdkCellDef.prototype.template;\n}\n/**\n * Header cell definition for a CDK table.\n * Captures the template of a column's header cell and as well as cell-specific properties.\n */\nvar CdkHeaderCellDef = (function () {\n /**\n * @param {?} template\n */\n function CdkHeaderCellDef(template) {\n this.template = template;\n }\n CdkHeaderCellDef.decorators = [\n { type: Directive, args: [{ selector: '[cdkHeaderCellDef]' },] },\n ];\n /**\n * @nocollapse\n */\n CdkHeaderCellDef.ctorParameters = function () { return [\n { type: TemplateRef, },\n ]; };\n return CdkHeaderCellDef;\n}());\nexport { CdkHeaderCellDef };\nfunction CdkHeaderCellDef_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkHeaderCellDef.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkHeaderCellDef.ctorParameters;\n /** @type {?} */\n CdkHeaderCellDef.prototype.template;\n}\n/**\n * Column definition for the CDK table.\n * Defines a set of cells available for a table column.\n */\nvar CdkColumnDef = (function () {\n function CdkColumnDef() {\n }\n Object.defineProperty(CdkColumnDef.prototype, \"name\", {\n /**\n * Unique name for this column.\n * @return {?}\n */\n get: function () { return this._name; },\n /**\n * @param {?} name\n * @return {?}\n */\n set: function (name) {\n this._name = name;\n this.cssClassFriendlyName = name.replace(/[^a-z0-9_-]/ig, '-');\n },\n enumerable: true,\n configurable: true\n });\n CdkColumnDef.decorators = [\n { type: Directive, args: [{ selector: '[cdkColumnDef]' },] },\n ];\n /**\n * @nocollapse\n */\n CdkColumnDef.ctorParameters = function () { return []; };\n CdkColumnDef.propDecorators = {\n 'name': [{ type: Input, args: ['cdkColumnDef',] },],\n 'cell': [{ type: ContentChild, args: [CdkCellDef,] },],\n 'headerCell': [{ type: ContentChild, args: [CdkHeaderCellDef,] },],\n };\n return CdkColumnDef;\n}());\nexport { CdkColumnDef };\nfunction CdkColumnDef_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkColumnDef.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkColumnDef.ctorParameters;\n /** @type {?} */\n CdkColumnDef.propDecorators;\n /** @type {?} */\n CdkColumnDef.prototype._name;\n /**\n * \\@docs-private\n * @type {?}\n */\n CdkColumnDef.prototype.cell;\n /**\n * \\@docs-private\n * @type {?}\n */\n CdkColumnDef.prototype.headerCell;\n /**\n * Transformed version of the column name that can be used as part of a CSS classname. Excludes\n * all non-alphanumeric characters and the special characters '-' and '_'. Any characters that\n * do not match are replaced by the '-' character.\n * @type {?}\n */\n CdkColumnDef.prototype.cssClassFriendlyName;\n}\n/**\n * Header cell template container that adds the right classes and role.\n */\nvar CdkHeaderCell = (function () {\n /**\n * @param {?} columnDef\n * @param {?} elementRef\n * @param {?} renderer\n */\n function CdkHeaderCell(columnDef, elementRef, renderer) {\n renderer.addClass(elementRef.nativeElement, \"cdk-column-\" + columnDef.cssClassFriendlyName);\n }\n CdkHeaderCell.decorators = [\n { type: Directive, args: [{\n selector: 'cdk-header-cell',\n host: {\n 'class': 'cdk-header-cell',\n 'role': 'columnheader',\n },\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkHeaderCell.ctorParameters = function () { return [\n { type: CdkColumnDef, },\n { type: ElementRef, },\n { type: Renderer2, },\n ]; };\n return CdkHeaderCell;\n}());\nexport { CdkHeaderCell };\nfunction CdkHeaderCell_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkHeaderCell.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkHeaderCell.ctorParameters;\n}\n/**\n * Cell template container that adds the right classes and role.\n */\nvar CdkCell = (function () {\n /**\n * @param {?} columnDef\n * @param {?} elementRef\n * @param {?} renderer\n */\n function CdkCell(columnDef, elementRef, renderer) {\n renderer.addClass(elementRef.nativeElement, \"cdk-column-\" + columnDef.cssClassFriendlyName);\n }\n CdkCell.decorators = [\n { type: Directive, args: [{\n selector: 'cdk-cell',\n host: {\n 'class': 'cdk-cell',\n 'role': 'gridcell',\n },\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkCell.ctorParameters = function () { return [\n { type: CdkColumnDef, },\n { type: ElementRef, },\n { type: Renderer2, },\n ]; };\n return CdkCell;\n}());\nexport { CdkCell };\nfunction CdkCell_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkCell.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkCell.ctorParameters;\n}\n//# sourceMappingURL=cell.js.map","/**\n * Returns an error to be thrown when attempting to find an unexisting column.\n * \\@docs-private\n * @param {?} id Id whose lookup failed.\n * @return {?}\n */\nexport function getTableUnknownColumnError(id) {\n return Error(\"cdk-table: Could not find column with id \\\"\" + id + \"\\\".\");\n}\n/**\n * Returns an error to be thrown when two column definitions have the same name.\n * \\@docs-private\n * @param {?} name\n * @return {?}\n */\nexport function getTableDuplicateColumnNameError(name) {\n return Error(\"cdk-table: Duplicate column definition name provided: \\\"\" + name + \"\\\".\");\n}\n/**\n * Returns an error to be thrown when there are multiple rows that are missing a when function.\n * \\@docs-private\n * @return {?}\n */\nexport function getTableMultipleDefaultRowDefsError() {\n return Error(\"cdk-table: There can only be one default row without a when predicate function.\");\n}\n/**\n * Returns an error to be thrown when there are no matching row defs for a particular set of data.\n * \\@docs-private\n * @return {?}\n */\nexport function getTableMissingMatchingRowDefError() {\n return Error(\"cdk-table: Could not find a matching row definition for the provided row data.\");\n}\n//# sourceMappingURL=table-errors.js.map","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { Attribute, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ContentChildren, Directive, ElementRef, Input, isDevMode, IterableDiffers, Renderer2, ViewChild, ViewContainerRef, ViewEncapsulation, } from '@angular/core';\nimport { CdkCellOutlet, CdkHeaderRowDef, CdkRowDef } from './row';\nimport { takeUntil } from 'rxjs/operator/takeUntil';\nimport { BehaviorSubject } from 'rxjs/BehaviorSubject';\nimport { Subject } from 'rxjs/Subject';\nimport { CdkColumnDef } from './cell';\nimport { getTableDuplicateColumnNameError, getTableMissingMatchingRowDefError, getTableMultipleDefaultRowDefsError, getTableUnknownColumnError } from './table-errors';\n/**\n * Provides a handle for the table to grab the view container's ng-container to insert data rows.\n * \\@docs-private\n */\nvar RowPlaceholder = (function () {\n /**\n * @param {?} viewContainer\n */\n function RowPlaceholder(viewContainer) {\n this.viewContainer = viewContainer;\n }\n RowPlaceholder.decorators = [\n { type: Directive, args: [{ selector: '[rowPlaceholder]' },] },\n ];\n /**\n * @nocollapse\n */\n RowPlaceholder.ctorParameters = function () { return [\n { type: ViewContainerRef, },\n ]; };\n return RowPlaceholder;\n}());\nexport { RowPlaceholder };\nfunction RowPlaceholder_tsickle_Closure_declarations() {\n /** @type {?} */\n RowPlaceholder.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n RowPlaceholder.ctorParameters;\n /** @type {?} */\n RowPlaceholder.prototype.viewContainer;\n}\n/**\n * Provides a handle for the table to grab the view container's ng-container to insert the header.\n * \\@docs-private\n */\nvar HeaderRowPlaceholder = (function () {\n /**\n * @param {?} viewContainer\n */\n function HeaderRowPlaceholder(viewContainer) {\n this.viewContainer = viewContainer;\n }\n HeaderRowPlaceholder.decorators = [\n { type: Directive, args: [{ selector: '[headerRowPlaceholder]' },] },\n ];\n /**\n * @nocollapse\n */\n HeaderRowPlaceholder.ctorParameters = function () { return [\n { type: ViewContainerRef, },\n ]; };\n return HeaderRowPlaceholder;\n}());\nexport { HeaderRowPlaceholder };\nfunction HeaderRowPlaceholder_tsickle_Closure_declarations() {\n /** @type {?} */\n HeaderRowPlaceholder.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n HeaderRowPlaceholder.ctorParameters;\n /** @type {?} */\n HeaderRowPlaceholder.prototype.viewContainer;\n}\n/**\n * The table template that can be used by the mat-table. Should not be used outside of the\n * material library.\n */\nexport var CDK_TABLE_TEMPLATE = \"\\n \\n \";\n/**\n * A data table that connects with a data source to retrieve data of type `T` and renders\n * a header row and data rows. Updates the rows when new data is provided by the data source.\n */\nvar CdkTable = (function () {\n /**\n * @param {?} _differs\n * @param {?} _changeDetectorRef\n * @param {?} elementRef\n * @param {?} renderer\n * @param {?} role\n */\n function CdkTable(_differs, _changeDetectorRef, elementRef, renderer, role) {\n this._differs = _differs;\n this._changeDetectorRef = _changeDetectorRef;\n /**\n * Subject that emits when the component has been destroyed.\n */\n this._onDestroy = new Subject();\n /**\n * Latest data provided by the data source through the connect interface.\n */\n this._data = [];\n /**\n * Map of all the user's defined columns (header and data cell template) identified by name.\n */\n this._columnDefsByName = new Map();\n /**\n * Stream containing the latest information on what rows are being displayed on screen.\n * Can be used by the data source to as a heuristic of what data should be provided.\n */\n this.viewChange = new BehaviorSubject({ start: 0, end: Number.MAX_VALUE });\n if (!role) {\n renderer.setAttribute(elementRef.nativeElement, 'role', 'grid');\n }\n }\n Object.defineProperty(CdkTable.prototype, \"trackBy\", {\n /**\n * @return {?}\n */\n get: function () { return this._trackByFn; },\n /**\n * Tracking function that will be used to check the differences in data changes. Used similarly\n * to `ngFor` `trackBy` function. Optimize row operations by identifying a row based on its data\n * relative to the function to know if a row should be added/removed/moved.\n * Accepts a function that takes two parameters, `index` and `item`.\n * @param {?} fn\n * @return {?}\n */\n set: function (fn) {\n if (isDevMode() &&\n fn != null && typeof fn !== 'function' && (console) && (console.warn)) {\n console.warn(\"trackBy must be a function, but received \" + JSON.stringify(fn) + \".\");\n }\n this._trackByFn = fn;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CdkTable.prototype, \"dataSource\", {\n /**\n * Provides a stream containing the latest data array to render. Influenced by the table's\n * stream of view window (what rows are currently on screen).\n * @return {?}\n */\n get: function () { return this._dataSource; },\n /**\n * @param {?} dataSource\n * @return {?}\n */\n set: function (dataSource) {\n if (this._dataSource !== dataSource) {\n this._switchDataSource(dataSource);\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @return {?}\n */\n CdkTable.prototype.ngOnInit = function () {\n // TODO(andrewseguin): Setup a listener for scrolling, emit the calculated view to viewChange\n this._dataDiffer = this._differs.find([]).create(this._trackByFn);\n };\n /**\n * @return {?}\n */\n CdkTable.prototype.ngAfterContentInit = function () {\n var _this = this;\n this._cacheColumnDefsByName();\n this._columnDefs.changes.subscribe(function () { return _this._cacheColumnDefsByName(); });\n this._renderHeaderRow();\n };\n /**\n * @return {?}\n */\n CdkTable.prototype.ngAfterContentChecked = function () {\n this._renderUpdatedColumns();\n var /** @type {?} */ defaultRowDefs = this._rowDefs.filter(function (def) { return !def.when; });\n if (defaultRowDefs.length > 1) {\n throw getTableMultipleDefaultRowDefsError();\n }\n this._defaultRowDef = defaultRowDefs[0];\n if (this.dataSource && !this._renderChangeSubscription) {\n this._observeRenderChanges();\n }\n };\n /**\n * @return {?}\n */\n CdkTable.prototype.ngOnDestroy = function () {\n this._rowPlaceholder.viewContainer.clear();\n this._headerRowPlaceholder.viewContainer.clear();\n this._onDestroy.next();\n this._onDestroy.complete();\n if (this.dataSource) {\n this.dataSource.disconnect(this);\n }\n };\n /**\n * Update the map containing the content's column definitions.\n * @return {?}\n */\n CdkTable.prototype._cacheColumnDefsByName = function () {\n var _this = this;\n this._columnDefsByName.clear();\n this._columnDefs.forEach(function (columnDef) {\n if (_this._columnDefsByName.has(columnDef.name)) {\n throw getTableDuplicateColumnNameError(columnDef.name);\n }\n _this._columnDefsByName.set(columnDef.name, columnDef);\n });\n };\n /**\n * Check if the header or rows have changed what columns they want to display. If there is a diff,\n * then re-render that section.\n * @return {?}\n */\n CdkTable.prototype._renderUpdatedColumns = function () {\n var _this = this;\n // Re-render the rows when the row definition columns change.\n this._rowDefs.forEach(function (def) {\n if (!!def.getColumnsDiff()) {\n // Reset the data to an empty array so that renderRowChanges will re-render all new rows.\n _this._dataDiffer.diff([]);\n _this._rowPlaceholder.viewContainer.clear();\n _this._renderRowChanges();\n }\n });\n // Re-render the header row if there is a difference in its columns.\n if (this._headerDef.getColumnsDiff()) {\n this._headerRowPlaceholder.viewContainer.clear();\n this._renderHeaderRow();\n }\n };\n /**\n * Switch to the provided data source by resetting the data and unsubscribing from the current\n * render change subscription if one exists. If the data source is null, interpret this by\n * clearing the row placeholder. Otherwise start listening for new data.\n * @param {?} dataSource\n * @return {?}\n */\n CdkTable.prototype._switchDataSource = function (dataSource) {\n this._data = [];\n if (this.dataSource) {\n this.dataSource.disconnect(this);\n }\n // Stop listening for data from the previous data source.\n if (this._renderChangeSubscription) {\n this._renderChangeSubscription.unsubscribe();\n this._renderChangeSubscription = null;\n }\n // Remove the table's rows if there is now no data source\n if (!dataSource) {\n this._rowPlaceholder.viewContainer.clear();\n }\n this._dataSource = dataSource;\n };\n /**\n * Set up a subscription for the data provided by the data source.\n * @return {?}\n */\n CdkTable.prototype._observeRenderChanges = function () {\n var _this = this;\n this._renderChangeSubscription = takeUntil.call(this.dataSource.connect(this), this._onDestroy)\n .subscribe(function (data) {\n _this._data = data;\n _this._renderRowChanges();\n });\n };\n /**\n * Create the embedded view for the header template and place it in the header row view container.\n * @return {?}\n */\n CdkTable.prototype._renderHeaderRow = function () {\n var /** @type {?} */ cells = this._getHeaderCellTemplatesForRow(this._headerDef);\n if (!cells.length) {\n return;\n }\n // TODO(andrewseguin): add some code to enforce that exactly\n // one CdkCellOutlet was instantiated as a result\n // of `createEmbeddedView`.\n this._headerRowPlaceholder.viewContainer\n .createEmbeddedView(this._headerDef.template, { cells: cells });\n cells.forEach(function (cell) {\n CdkCellOutlet.mostRecentCellOutlet._viewContainer.createEmbeddedView(cell.template, {});\n });\n this._changeDetectorRef.markForCheck();\n };\n /**\n * Check for changes made in the data and render each change (row added/removed/moved).\n * @return {?}\n */\n CdkTable.prototype._renderRowChanges = function () {\n var _this = this;\n var /** @type {?} */ changes = this._dataDiffer.diff(this._data);\n if (!changes) {\n return;\n }\n var /** @type {?} */ viewContainer = this._rowPlaceholder.viewContainer;\n changes.forEachOperation(function (item, adjustedPreviousIndex, currentIndex) {\n if (item.previousIndex == null) {\n _this._insertRow(_this._data[currentIndex], currentIndex);\n }\n else if (currentIndex == null) {\n viewContainer.remove(adjustedPreviousIndex);\n }\n else {\n var /** @type {?} */ view = viewContainer.get(adjustedPreviousIndex);\n viewContainer.move(/** @type {?} */ ((view)), currentIndex);\n }\n });\n this._updateRowContext();\n };\n /**\n * Finds the matching row definition that should be used for this row data. If there is only\n * one row definition, it is returned. Otherwise, find the row definition that has a when\n * predicate that returns true with the data. If none return true, return the default row\n * definition.\n * @param {?} data\n * @param {?} i\n * @return {?}\n */\n CdkTable.prototype._getRowDef = function (data, i) {\n if (this._rowDefs.length == 1) {\n return this._rowDefs.first;\n }\n var /** @type {?} */ rowDef = this._rowDefs.find(function (def) { return def.when && def.when(data, i); }) || this._defaultRowDef;\n if (!rowDef) {\n throw getTableMissingMatchingRowDefError();\n }\n return rowDef;\n };\n /**\n * Create the embedded view for the data row template and place it in the correct index location\n * within the data row view container.\n * @param {?} rowData\n * @param {?} index\n * @return {?}\n */\n CdkTable.prototype._insertRow = function (rowData, index) {\n var /** @type {?} */ row = this._getRowDef(rowData, index);\n // Row context that will be provided to both the created embedded row view and its cells.\n var /** @type {?} */ context = { $implicit: rowData };\n // TODO(andrewseguin): add some code to enforce that exactly one\n // CdkCellOutlet was instantiated as a result of `createEmbeddedView`.\n this._rowPlaceholder.viewContainer.createEmbeddedView(row.template, context, index);\n // Insert empty cells if there is no data to improve rendering time.\n var /** @type {?} */ cells = rowData ? this._getCellTemplatesForRow(row) : [];\n cells.forEach(function (cell) {\n CdkCellOutlet.mostRecentCellOutlet._viewContainer.createEmbeddedView(cell.template, context);\n });\n this._changeDetectorRef.markForCheck();\n };\n /**\n * Updates the context for each row to reflect any data changes that may have caused\n * rows to be added, removed, or moved. The view container contains the same context\n * that was provided to each of its cells.\n * @return {?}\n */\n CdkTable.prototype._updateRowContext = function () {\n var /** @type {?} */ viewContainer = this._rowPlaceholder.viewContainer;\n for (var /** @type {?} */ index = 0, /** @type {?} */ count = viewContainer.length; index < count; index++) {\n var /** @type {?} */ viewRef = (viewContainer.get(index));\n viewRef.context.index = index;\n viewRef.context.count = count;\n viewRef.context.first = index === 0;\n viewRef.context.last = index === count - 1;\n viewRef.context.even = index % 2 === 0;\n viewRef.context.odd = !viewRef.context.even;\n }\n };\n /**\n * Returns the cell template definitions to insert into the header\n * as defined by its list of columns to display.\n * @param {?} headerDef\n * @return {?}\n */\n CdkTable.prototype._getHeaderCellTemplatesForRow = function (headerDef) {\n var _this = this;\n if (!headerDef.columns) {\n return [];\n }\n return headerDef.columns.map(function (columnId) {\n var /** @type {?} */ column = _this._columnDefsByName.get(columnId);\n if (!column) {\n throw getTableUnknownColumnError(columnId);\n }\n return column.headerCell;\n });\n };\n /**\n * Returns the cell template definitions to insert in the provided row\n * as defined by its list of columns to display.\n * @param {?} rowDef\n * @return {?}\n */\n CdkTable.prototype._getCellTemplatesForRow = function (rowDef) {\n var _this = this;\n if (!rowDef.columns) {\n return [];\n }\n return rowDef.columns.map(function (columnId) {\n var /** @type {?} */ column = _this._columnDefsByName.get(columnId);\n if (!column) {\n throw getTableUnknownColumnError(columnId);\n }\n return column.cell;\n });\n };\n CdkTable.decorators = [\n { type: Component, args: [{selector: 'cdk-table',\n exportAs: 'cdkTable',\n template: CDK_TABLE_TEMPLATE,\n host: {\n 'class': 'cdk-table',\n },\n encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n changeDetection: ChangeDetectionStrategy.OnPush,\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkTable.ctorParameters = function () { return [\n { type: IterableDiffers, },\n { type: ChangeDetectorRef, },\n { type: ElementRef, },\n { type: Renderer2, },\n { type: undefined, decorators: [{ type: Attribute, args: ['role',] },] },\n ]; };\n CdkTable.propDecorators = {\n 'trackBy': [{ type: Input },],\n 'dataSource': [{ type: Input },],\n '_rowPlaceholder': [{ type: ViewChild, args: [RowPlaceholder,] },],\n '_headerRowPlaceholder': [{ type: ViewChild, args: [HeaderRowPlaceholder,] },],\n '_columnDefs': [{ type: ContentChildren, args: [CdkColumnDef,] },],\n '_headerDef': [{ type: ContentChild, args: [CdkHeaderRowDef,] },],\n '_rowDefs': [{ type: ContentChildren, args: [CdkRowDef,] },],\n };\n return CdkTable;\n}());\nexport { CdkTable };\nfunction CdkTable_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkTable.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkTable.ctorParameters;\n /** @type {?} */\n CdkTable.propDecorators;\n /**\n * Subject that emits when the component has been destroyed.\n * @type {?}\n */\n CdkTable.prototype._onDestroy;\n /**\n * Latest data provided by the data source through the connect interface.\n * @type {?}\n */\n CdkTable.prototype._data;\n /**\n * Subscription that listens for the data provided by the data source.\n * @type {?}\n */\n CdkTable.prototype._renderChangeSubscription;\n /**\n * Map of all the user's defined columns (header and data cell template) identified by name.\n * @type {?}\n */\n CdkTable.prototype._columnDefsByName;\n /**\n * Differ used to find the changes in the data provided by the data source.\n * @type {?}\n */\n CdkTable.prototype._dataDiffer;\n /**\n * Stores the row definition that does not have a when predicate.\n * @type {?}\n */\n CdkTable.prototype._defaultRowDef;\n /** @type {?} */\n CdkTable.prototype._trackByFn;\n /** @type {?} */\n CdkTable.prototype._dataSource;\n /**\n * Stream containing the latest information on what rows are being displayed on screen.\n * Can be used by the data source to as a heuristic of what data should be provided.\n * @type {?}\n */\n CdkTable.prototype.viewChange;\n /** @type {?} */\n CdkTable.prototype._rowPlaceholder;\n /** @type {?} */\n CdkTable.prototype._headerRowPlaceholder;\n /**\n * The column definitions provided by the user that contain what the header and cells should\n * render for each column.\n * @type {?}\n */\n CdkTable.prototype._columnDefs;\n /**\n * Template definition used as the header container.\n * @type {?}\n */\n CdkTable.prototype._headerDef;\n /**\n * Set of template definitions that used as the data row containers.\n * @type {?}\n */\n CdkTable.prototype._rowDefs;\n /** @type {?} */\n CdkTable.prototype._differs;\n /** @type {?} */\n CdkTable.prototype._changeDetectorRef;\n}\n//# sourceMappingURL=table.js.map","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { HeaderRowPlaceholder, RowPlaceholder, CdkTable } from './table';\nimport { CdkCellOutlet, CdkHeaderRow, CdkHeaderRowDef, CdkRow, CdkRowDef } from './row';\nimport { CdkColumnDef, CdkHeaderCellDef, CdkHeaderCell, CdkCell, CdkCellDef } from './cell';\nvar /** @type {?} */ EXPORTED_DECLARATIONS = [\n CdkTable,\n CdkRowDef,\n CdkCellDef,\n CdkCellOutlet,\n CdkHeaderCellDef,\n CdkColumnDef,\n CdkCell,\n CdkRow,\n CdkHeaderCell,\n CdkHeaderRow,\n CdkHeaderRowDef,\n RowPlaceholder,\n HeaderRowPlaceholder,\n];\nvar CdkTableModule = (function () {\n function CdkTableModule() {\n }\n CdkTableModule.decorators = [\n { type: NgModule, args: [{\n imports: [CommonModule],\n exports: [EXPORTED_DECLARATIONS],\n declarations: [EXPORTED_DECLARATIONS]\n },] },\n ];\n /**\n * @nocollapse\n */\n CdkTableModule.ctorParameters = function () { return []; };\n return CdkTableModule;\n}());\nexport { CdkTableModule };\nfunction CdkTableModule_tsickle_Closure_declarations() {\n /** @type {?} */\n CdkTableModule.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n CdkTableModule.ctorParameters;\n}\n//# sourceMappingURL=table-module.js.map","/**\n * Generated bundle index. Do not edit.\n */\nexport { DataSource, RowPlaceholder, HeaderRowPlaceholder, CDK_TABLE_TEMPLATE, CdkTable, CdkCellDef, CdkHeaderCellDef, CdkColumnDef, CdkHeaderCell, CdkCell, CDK_ROW_TEMPLATE, BaseRowDef, CdkHeaderRowDef, CdkRowDef, CdkCellOutlet, CdkHeaderRow, CdkRow, CdkTableModule } from './public-api';\n//# sourceMappingURL=index.js.map"],"names":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;;;;;AASA;;;;AAIA,AAAO,IAAI,gBAAgB,GAAG,6CAA6C,CAAC;;;;;;AAM5E,IAAI,UAAU,IAAI,YAAY;;;;;IAK1B,SAAS,UAAU,CAAC,QAAQ,EAAE,QAAQ,EAAE;QACpC,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