@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.
- package/_a11y.scss +23 -0
- package/_overlay.scss +93 -0
- package/a11y/index.metadata.json +2 -1
- package/a11y/typings/a11y-module.d.ts +2 -0
- package/a11y/typings/focus-monitor.d.ts +1 -1
- package/a11y/typings/index.d.ts +1 -1
- package/a11y/typings/index.metadata.json +1 -1
- package/a11y/typings/{public_api.d.ts → public-api.d.ts} +8 -2
- package/a11y-prebuilt.css +1 -0
- package/a11y.metadata.json +2 -1
- package/bidi/index.metadata.json +2 -1
- package/bidi/typings/bidi-module.d.ts +2 -0
- package/bidi/typings/index.d.ts +1 -1
- package/bidi/typings/index.metadata.json +1 -1
- package/bidi/typings/public-api.d.ts +10 -0
- package/bidi.metadata.json +2 -1
- package/bundles/cdk-a11y.umd.js +1368 -1357
- package/bundles/cdk-a11y.umd.js.map +1 -1
- package/bundles/cdk-a11y.umd.min.js +2 -2
- package/bundles/cdk-a11y.umd.min.js.map +1 -1
- package/bundles/cdk-bidi.umd.js +42 -40
- package/bundles/cdk-bidi.umd.js.map +1 -1
- package/bundles/cdk-bidi.umd.min.js +2 -2
- package/bundles/cdk-bidi.umd.min.js.map +1 -1
- package/bundles/cdk-coercion.umd.js +12 -0
- package/bundles/cdk-coercion.umd.js.map +1 -1
- package/bundles/cdk-coercion.umd.min.js +2 -2
- package/bundles/cdk-coercion.umd.min.js.map +1 -1
- package/bundles/cdk-collections.umd.js +113 -11
- package/bundles/cdk-collections.umd.js.map +1 -1
- package/bundles/cdk-collections.umd.min.js +2 -2
- package/bundles/cdk-collections.umd.min.js.map +1 -1
- package/bundles/cdk-keycodes.umd.js.map +1 -1
- package/bundles/cdk-keycodes.umd.min.js +1 -1
- package/bundles/cdk-keycodes.umd.min.js.map +1 -1
- package/bundles/cdk-layout.umd.js +235 -0
- package/bundles/cdk-layout.umd.js.map +1 -0
- package/bundles/cdk-layout.umd.min.js +9 -0
- package/bundles/cdk-layout.umd.min.js.map +1 -0
- package/bundles/cdk-observers.umd.js +41 -40
- package/bundles/cdk-observers.umd.js.map +1 -1
- package/bundles/cdk-observers.umd.min.js +2 -2
- package/bundles/cdk-observers.umd.min.js.map +1 -1
- package/bundles/cdk-overlay.umd.js +306 -265
- package/bundles/cdk-overlay.umd.js.map +1 -1
- package/bundles/cdk-overlay.umd.min.js +2 -2
- package/bundles/cdk-overlay.umd.min.js.map +1 -1
- package/bundles/cdk-platform.umd.js +19 -17
- package/bundles/cdk-platform.umd.js.map +1 -1
- package/bundles/cdk-platform.umd.min.js +2 -2
- package/bundles/cdk-platform.umd.min.js.map +1 -1
- package/bundles/cdk-portal.umd.js +71 -37
- package/bundles/cdk-portal.umd.js.map +1 -1
- package/bundles/cdk-portal.umd.min.js +2 -2
- package/bundles/cdk-portal.umd.min.js.map +1 -1
- package/bundles/cdk-rxjs.umd.js +13 -4
- package/bundles/cdk-rxjs.umd.js.map +1 -1
- package/bundles/cdk-rxjs.umd.min.js +2 -2
- package/bundles/cdk-rxjs.umd.min.js.map +1 -1
- package/bundles/cdk-scrolling.umd.js +89 -54
- package/bundles/cdk-scrolling.umd.js.map +1 -1
- package/bundles/cdk-scrolling.umd.min.js +2 -2
- package/bundles/cdk-scrolling.umd.min.js.map +1 -1
- package/bundles/cdk-stepper.umd.js +115 -90
- package/bundles/cdk-stepper.umd.js.map +1 -1
- package/bundles/cdk-stepper.umd.min.js +2 -2
- package/bundles/cdk-stepper.umd.min.js.map +1 -1
- package/bundles/cdk-table.umd.js +261 -218
- package/bundles/cdk-table.umd.js.map +1 -1
- package/bundles/cdk-table.umd.min.js +2 -2
- package/bundles/cdk-table.umd.min.js.map +1 -1
- package/bundles/cdk.umd.js +1 -1
- package/bundles/cdk.umd.js.map +1 -1
- package/bundles/cdk.umd.min.js +2 -2
- package/bundles/cdk.umd.min.js.map +1 -1
- package/cdk.metadata.json +2 -1
- package/coercion/index.metadata.json +2 -1
- package/coercion/typings/array.d.ts +9 -0
- package/coercion/typings/index.d.ts +1 -1
- package/coercion/typings/index.metadata.json +1 -1
- package/{typings/coercion/public_api.d.ts → coercion/typings/public-api.d.ts} +1 -0
- package/coercion.metadata.json +2 -1
- package/collections/index.metadata.json +2 -1
- package/collections/typings/index.d.ts +2 -1
- package/collections/typings/index.metadata.json +1 -1
- package/{typings/collections/public_api.d.ts → collections/typings/public-api.d.ts} +1 -0
- package/collections/typings/selection.d.ts +13 -3
- package/collections/typings/unique-selection-dispatcher.d.ts +40 -0
- package/collections.metadata.json +2 -1
- package/esm2015/a11y.js +1252 -1250
- package/esm2015/a11y.js.map +1 -1
- package/esm2015/bidi.js +1 -1
- package/esm2015/bidi.js.map +1 -1
- package/esm2015/cdk.js +1 -1
- package/esm2015/cdk.js.map +1 -1
- package/esm2015/coercion.js +11 -1
- package/esm2015/coercion.js.map +1 -1
- package/esm2015/collections.js +93 -8
- package/esm2015/collections.js.map +1 -1
- package/esm2015/keycodes.js.map +1 -1
- package/esm2015/layout.js +226 -0
- package/esm2015/layout.js.map +1 -0
- package/esm2015/observers.js +8 -7
- package/esm2015/observers.js.map +1 -1
- package/esm2015/overlay.js +157 -136
- package/esm2015/overlay.js.map +1 -1
- package/esm2015/platform.js +1 -1
- package/esm2015/platform.js.map +1 -1
- package/esm2015/portal.js +30 -1
- package/esm2015/portal.js.map +1 -1
- package/esm2015/rxjs.js +5 -1
- package/esm2015/rxjs.js.map +1 -1
- package/esm2015/scrolling.js +39 -8
- package/esm2015/scrolling.js.map +1 -1
- package/esm2015/stepper.js +27 -5
- package/esm2015/stepper.js.map +1 -1
- package/esm2015/table.js +68 -29
- package/esm2015/table.js.map +1 -1
- package/esm5/a11y.es5.js +1372 -1357
- package/esm5/a11y.es5.js.map +1 -1
- package/esm5/bidi.es5.js +45 -40
- package/esm5/bidi.es5.js.map +1 -1
- package/esm5/cdk.es5.js +4 -1
- package/esm5/cdk.es5.js.map +1 -1
- package/esm5/coercion.es5.js +14 -1
- package/esm5/coercion.es5.js.map +1 -1
- package/esm5/collections.es5.js +110 -8
- package/esm5/collections.es5.js.map +1 -1
- package/esm5/keycodes.es5.js +2 -0
- package/esm5/keycodes.es5.js.map +1 -1
- package/esm5/layout.es5.js +234 -0
- package/esm5/layout.es5.js.map +1 -0
- package/esm5/observers.es5.js +44 -40
- package/esm5/observers.es5.js.map +1 -1
- package/esm5/overlay.es5.js +304 -259
- package/esm5/overlay.es5.js.map +1 -1
- package/esm5/platform.es5.js +22 -17
- package/esm5/platform.es5.js.map +1 -1
- package/esm5/portal.es5.js +81 -44
- package/esm5/portal.es5.js.map +1 -1
- package/esm5/rxjs.es5.js +12 -1
- package/esm5/rxjs.es5.js.map +1 -1
- package/esm5/scrolling.es5.js +89 -51
- package/esm5/scrolling.es5.js.map +1 -1
- package/esm5/stepper.es5.js +119 -91
- package/esm5/stepper.es5.js.map +1 -1
- package/esm5/table.es5.js +265 -218
- package/esm5/table.es5.js.map +1 -1
- package/keycodes/index.metadata.json +2 -1
- package/keycodes/typings/index.d.ts +1 -1
- package/keycodes/typings/{public_api.d.ts → public-api.d.ts} +0 -0
- package/keycodes.metadata.json +2 -1
- package/layout/index.d.ts +8 -0
- package/layout/index.metadata.json +12 -0
- package/layout/package.json +7 -0
- package/layout/typings/breakpoints-observer.d.ts +37 -0
- package/layout/typings/breakpoints.d.ts +18 -0
- package/layout/typings/index.d.ts +4 -0
- package/layout/typings/index.metadata.json +1 -0
- package/layout/typings/media-matcher.d.ts +15 -0
- package/layout/typings/public-api.d.ts +5 -0
- package/layout.d.ts +8 -0
- package/layout.metadata.json +12 -0
- package/observers/index.metadata.json +2 -1
- package/observers/typings/index.d.ts +1 -1
- package/observers/typings/index.metadata.json +1 -1
- package/observers/typings/observe-content.d.ts +3 -3
- package/observers/typings/{public_api.d.ts → public-api.d.ts} +0 -0
- package/observers.metadata.json +2 -1
- package/overlay/index.metadata.json +2 -1
- package/overlay/typings/index.d.ts +2 -2
- package/overlay/typings/index.metadata.json +1 -1
- package/overlay/typings/overlay-config.d.ts +1 -1
- package/overlay/typings/overlay-directives.d.ts +3 -3
- package/overlay/typings/overlay-module.d.ts +11 -0
- package/overlay/typings/overlay-ref.d.ts +6 -6
- package/overlay/typings/overlay.d.ts +2 -2
- package/overlay/typings/position/connected-position-strategy.d.ts +5 -0
- package/overlay/typings/position/position-strategy.d.ts +2 -0
- package/overlay/typings/{public_api.d.ts → public-api.d.ts} +1 -4
- package/overlay/typings/scroll/scroll-strategy.d.ts +1 -1
- package/overlay-prebuilt.css +1 -0
- package/overlay.metadata.json +2 -1
- package/package.json +3 -3
- package/platform/index.metadata.json +2 -1
- package/platform/typings/index.d.ts +1 -1
- package/platform/typings/index.metadata.json +1 -1
- package/platform/typings/platform-module.d.ts +2 -0
- package/platform/typings/public-api.d.ts +10 -0
- package/platform.metadata.json +2 -1
- package/portal/index.metadata.json +2 -1
- package/portal/typings/index.d.ts +1 -1
- package/portal/typings/index.metadata.json +1 -1
- package/portal/typings/{public_api.d.ts → public-api.d.ts} +1 -0
- package/portal.metadata.json +2 -1
- package/rxjs/index.metadata.json +2 -1
- package/rxjs/typings/index.d.ts +1 -1
- package/rxjs/typings/index.metadata.json +1 -1
- package/rxjs/typings/{public_api.d.ts → public-api.d.ts} +0 -0
- package/rxjs/typings/rx-operators.d.ts +7 -0
- package/rxjs.metadata.json +2 -1
- package/scrolling/index.metadata.json +2 -1
- package/scrolling/typings/index.d.ts +1 -1
- package/scrolling/typings/index.metadata.json +1 -1
- package/scrolling/typings/public-api.d.ts +11 -0
- package/scrolling/typings/scrolling-module.d.ts +2 -0
- package/scrolling/typings/viewport-ruler.d.ts +20 -6
- package/scrolling.metadata.json +2 -1
- package/stepper/index.metadata.json +2 -1
- package/stepper/typings/index.d.ts +1 -1
- package/stepper/typings/index.metadata.json +1 -1
- package/stepper/typings/public-api.d.ts +11 -0
- package/stepper/typings/stepper-module.d.ts +2 -0
- package/stepper/typings/stepper.d.ts +8 -4
- package/stepper.metadata.json +2 -1
- package/table/index.metadata.json +2 -1
- package/table/typings/index.d.ts +1 -1
- package/table/typings/index.metadata.json +1 -1
- package/table/typings/public-api.d.ts +13 -0
- package/table/typings/row.d.ts +11 -3
- package/table/typings/table-errors.d.ts +10 -0
- package/table/typings/table-module.d.ts +2 -0
- package/table/typings/table.d.ts +17 -8
- package/table.metadata.json +2 -1
- package/typings/a11y/a11y-module.d.ts +2 -0
- package/typings/a11y/focus-monitor.d.ts +1 -1
- package/typings/a11y/index.d.ts +1 -1
- package/typings/a11y/index.metadata.json +1 -1
- package/typings/a11y/{public_api.d.ts → public-api.d.ts} +8 -2
- package/typings/bidi/bidi-module.d.ts +2 -0
- package/typings/bidi/index.d.ts +1 -1
- package/typings/bidi/index.metadata.json +1 -1
- package/typings/bidi/public-api.d.ts +10 -0
- package/typings/coercion/array.d.ts +9 -0
- package/typings/coercion/index.d.ts +1 -1
- package/typings/coercion/index.metadata.json +1 -1
- package/{coercion/typings/public_api.d.ts → typings/coercion/public-api.d.ts} +1 -0
- package/typings/collections/index.d.ts +2 -1
- package/typings/collections/index.metadata.json +1 -1
- package/{collections/typings/public_api.d.ts → typings/collections/public-api.d.ts} +1 -0
- package/typings/collections/selection.d.ts +13 -3
- package/typings/collections/unique-selection-dispatcher.d.ts +40 -0
- package/typings/index.d.ts +1 -1
- package/typings/index.metadata.json +1 -1
- package/typings/keycodes/index.d.ts +1 -1
- package/typings/keycodes/{public_api.d.ts → public-api.d.ts} +0 -0
- package/typings/layout/breakpoints-observer.d.ts +37 -0
- package/typings/layout/breakpoints.d.ts +18 -0
- package/typings/layout/index.d.ts +4 -0
- package/typings/layout/index.metadata.json +1 -0
- package/typings/layout/media-matcher.d.ts +15 -0
- package/typings/layout/public-api.d.ts +5 -0
- package/typings/observers/index.d.ts +1 -1
- package/typings/observers/index.metadata.json +1 -1
- package/typings/observers/observe-content.d.ts +3 -3
- package/typings/observers/{public_api.d.ts → public-api.d.ts} +0 -0
- package/typings/overlay/index.d.ts +2 -2
- package/typings/overlay/index.metadata.json +1 -1
- package/typings/overlay/overlay-config.d.ts +1 -1
- package/typings/overlay/overlay-directives.d.ts +3 -3
- package/typings/overlay/overlay-module.d.ts +11 -0
- package/typings/overlay/overlay-ref.d.ts +6 -6
- package/typings/overlay/overlay.d.ts +2 -2
- package/typings/overlay/position/connected-position-strategy.d.ts +5 -0
- package/typings/overlay/position/position-strategy.d.ts +2 -0
- package/typings/overlay/{public_api.d.ts → public-api.d.ts} +1 -4
- package/typings/overlay/scroll/scroll-strategy.d.ts +1 -1
- package/typings/platform/index.d.ts +1 -1
- package/typings/platform/index.metadata.json +1 -1
- package/typings/platform/platform-module.d.ts +2 -0
- package/typings/platform/public-api.d.ts +10 -0
- package/typings/portal/index.d.ts +1 -1
- package/typings/portal/index.metadata.json +1 -1
- package/typings/portal/{public_api.d.ts → public-api.d.ts} +1 -0
- package/typings/{public_api.d.ts → public-api.d.ts} +0 -0
- package/typings/rxjs/index.d.ts +1 -1
- package/typings/rxjs/index.metadata.json +1 -1
- package/typings/rxjs/{public_api.d.ts → public-api.d.ts} +0 -0
- package/typings/rxjs/rx-operators.d.ts +7 -0
- package/typings/scrolling/index.d.ts +1 -1
- package/typings/scrolling/index.metadata.json +1 -1
- package/typings/scrolling/public-api.d.ts +11 -0
- package/typings/scrolling/scrolling-module.d.ts +2 -0
- package/typings/scrolling/viewport-ruler.d.ts +20 -6
- package/typings/stepper/index.d.ts +1 -1
- package/typings/stepper/index.metadata.json +1 -1
- package/typings/stepper/public-api.d.ts +11 -0
- package/typings/stepper/stepper-module.d.ts +2 -0
- package/typings/stepper/stepper.d.ts +8 -4
- package/typings/table/index.d.ts +1 -1
- package/typings/table/index.metadata.json +1 -1
- package/typings/table/public-api.d.ts +13 -0
- package/typings/table/row.d.ts +11 -3
- package/typings/table/table-errors.d.ts +10 -0
- package/typings/table/table-module.d.ts +2 -0
- package/typings/table/table.d.ts +17 -8
- package/bidi/typings/public_api.d.ts +0 -4
- package/platform/typings/public_api.d.ts +0 -4
- package/scrolling/typings/public_api.d.ts +0 -5
- package/stepper/typings/public_api.d.ts +0 -5
- package/table/typings/public_api.d.ts +0 -7
- package/typings/bidi/public_api.d.ts +0 -4
- package/typings/platform/public_api.d.ts +0 -4
- package/typings/scrolling/public_api.d.ts +0 -5
- package/typings/stepper/public_api.d.ts +0 -5
- package/typings/table/public_api.d.ts +0 -7
package/esm5/table.es5.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.es5.js","sources":["../../../src/cdk/table/index.ts","../../../src/cdk/table/public_api.ts","../../../src/cdk/table/table.ts","../../../src/cdk/table/table-errors.ts","../../../src/cdk/table/cell.ts","../../../src/cdk/table/row.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport {DataSource,CdkTableModule,RowPlaceholder,HeaderRowPlaceholder,CDK_TABLE_TEMPLATE,CdkTable,CdkCellDef,CdkHeaderCellDef,CdkColumnDef,CdkHeaderCell,CdkCell,CDK_ROW_TEMPLATE,BaseRowDef,CdkHeaderRowDef,CdkRowDef,CdkCellOutletRowContext,CdkCellOutlet,CdkHeaderRow,CdkRow} from './public_api';\n","/**\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 */\n\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';\n\nexport {RowPlaceholder,HeaderRowPlaceholder,CDK_TABLE_TEMPLATE,CdkTable} from './table';\nexport {CdkCellDef,CdkHeaderCellDef,CdkColumnDef,CdkHeaderCell,CdkCell} from './cell';\nexport {CDK_ROW_TEMPLATE,BaseRowDef,CdkHeaderRowDef,CdkRowDef,CdkCellOutletRowContext,CdkCellOutlet,CdkHeaderRow,CdkRow} from './row';\n\n/** Re-export DataSource for a more intuitive experience for users of just the table. */\nexport {DataSource} from '@angular/cdk/collections';\n\nconst /** @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];\nexport class CdkTableModule { static decorators: DecoratorInvocation[] = [\n{ type: NgModule, args: [{\n imports: [CommonModule],\n exports: [EXPORTED_DECLARATIONS],\n declarations: [EXPORTED_DECLARATIONS]\n\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction CdkTableModule_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkTableModule.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkTableModule.ctorParameters;\n}\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","/**\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 */\n\n\nimport {\n Attribute,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n ContentChildren,\n Directive,\n ElementRef,\n EmbeddedViewRef,\n Input,\n isDevMode,\n IterableChangeRecord,\n IterableDiffer,\n IterableDiffers,\n NgIterable,\n QueryList,\n Renderer2,\n TrackByFunction,\n ViewChild,\n ViewContainerRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {CollectionViewer, DataSource} from '@angular/cdk/collections';\nimport {CdkCellOutlet, CdkCellOutletRowContext, CdkHeaderRowDef, CdkRowDef} from './row';\nimport {takeUntil} from 'rxjs/operator/takeUntil';\nimport {BehaviorSubject} from 'rxjs/BehaviorSubject';\nimport {Subscription} from 'rxjs/Subscription';\nimport {Subject} from 'rxjs/Subject';\nimport {CdkCellDef, CdkColumnDef, CdkHeaderCellDef} from './cell';\nimport {getTableDuplicateColumnNameError, 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 */\nexport class RowPlaceholder {\n/**\n * @param {?} viewContainer\n */\nconstructor(public viewContainer: ViewContainerRef) { }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{selector: '[rowPlaceholder]'}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction RowPlaceholder_tsickle_Closure_declarations() {\n/** @type {?} */\nRowPlaceholder.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nRowPlaceholder.ctorParameters;\n/** @type {?} */\nRowPlaceholder.prototype.viewContainer;\n}\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 */\nexport class HeaderRowPlaceholder {\n/**\n * @param {?} viewContainer\n */\nconstructor(public viewContainer: ViewContainerRef) { }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{selector: '[headerRowPlaceholder]'}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\nfunction HeaderRowPlaceholder_tsickle_Closure_declarations() {\n/** @type {?} */\nHeaderRowPlaceholder.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nHeaderRowPlaceholder.ctorParameters;\n/** @type {?} */\nHeaderRowPlaceholder.prototype.viewContainer;\n}\n\n/**\n * The table template that can be used by the md-table. Should not be used outside of the\n * material library.\n */\nexport const CDK_TABLE_TEMPLATE = `\n <ng-container headerRowPlaceholder></ng-container>\n <ng-container rowPlaceholder></ng-container>`;\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 */\nexport class CdkTable<T> implements CollectionViewer {\n/**\n * Subject that emits when the component has been destroyed.\n */\nprivate _onDestroy = new Subject<void>();\n/**\n * Latest data provided by the data source through the connect interface.\n */\nprivate _data: NgIterable<T> = [];\n/**\n * Subscription that listens for the data provided by the data source.\n */\nprivate _renderChangeSubscription: Subscription | null;\n/**\n * Map of all the user's defined columns (header and data cell template) identified by name.\n */\nprivate _columnDefinitionsByName = new Map<string, CdkColumnDef>();\n/**\n * Differ used to find the changes in the data provided by the data source.\n */\nprivate _dataDiffer: IterableDiffer<T>;\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 */\nset trackBy(fn: TrackByFunction<T>) {\n if (isDevMode() &&\n fn != null && typeof fn !== 'function' && /** @type {?} */((\n <any>console)) && /** @type {?} */(( <any>console.warn))) {\n console.warn(`trackBy must be a function, but received ${JSON.stringify(fn)}.`);\n }\n this._trackByFn = fn;\n }\n/**\n * @return {?}\n */\nget trackBy(): TrackByFunction<T> { return this._trackByFn; }\nprivate _trackByFn: TrackByFunction<T>;\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 */\nget dataSource(): DataSource<T> { return this._dataSource; }\n/**\n * @param {?} dataSource\n * @return {?}\n */\nset dataSource(dataSource: DataSource<T>) {\n if (this._dataSource !== dataSource) {\n this._switchDataSource(dataSource);\n }\n }\nprivate _dataSource: DataSource<T>;\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 */\nviewChange =\n new BehaviorSubject<{start: number, end: number}>({start: 0, end: Number.MAX_VALUE});\n\n // Placeholders within the table's template where the header and data rows will be inserted.\n _rowPlaceholder: RowPlaceholder;\n _headerRowPlaceholder: HeaderRowPlaceholder;\n/**\n * The column definitions provided by the user that contain what the header and cells should\n * render for each column.\n */\n_columnDefinitions: QueryList<CdkColumnDef>;\n/**\n * Template used as the header container.\n */\n_headerDefinition: CdkHeaderRowDef;\n/**\n * Set of templates that used as the data row containers.\n */\n_rowDefinitions: QueryList<CdkRowDef>;\n/**\n * @param {?} _differs\n * @param {?} _changeDetectorRef\n * @param {?} elementRef\n * @param {?} renderer\n * @param {?} role\n */\nconstructor(private readonly _differs: IterableDiffers,\nprivate readonly _changeDetectorRef: ChangeDetectorRef,\n elementRef: ElementRef,\n renderer: Renderer2,\n role: string) {\n if (!role) {\n renderer.setAttribute(elementRef.nativeElement, 'role', 'grid');\n }\n }\n/**\n * @return {?}\n */\nngOnInit() {\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 */\nngAfterContentInit() {\n this._cacheColumnDefinitionsByName();\n this._columnDefinitions.changes.subscribe(() => this._cacheColumnDefinitionsByName());\n this._renderHeaderRow();\n }\n/**\n * @return {?}\n */\nngAfterContentChecked() {\n this._renderUpdatedColumns();\n if (this.dataSource && !this._renderChangeSubscription) {\n this._observeRenderChanges();\n }\n }\n/**\n * @return {?}\n */\nngOnDestroy() {\n this._rowPlaceholder.viewContainer.clear();\n this._headerRowPlaceholder.viewContainer.clear();\n this._onDestroy.next();\n this._onDestroy.complete();\n\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 */\nprivate _cacheColumnDefinitionsByName() {\n this._columnDefinitionsByName.clear();\n this._columnDefinitions.forEach(columnDef => {\n if (this._columnDefinitionsByName.has(columnDef.name)) {\n throw getTableDuplicateColumnNameError(columnDef.name);\n }\n this._columnDefinitionsByName.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 */\nprivate _renderUpdatedColumns() {\n // Re-render the rows when the row definition columns change.\n this._rowDefinitions.forEach(rowDefinition => {\n if (!!rowDefinition.getColumnsDiff()) {\n // Reset the data to an empty array so that renderRowChanges will re-render all new rows.\n this._dataDiffer.diff([]);\n\n this._rowPlaceholder.viewContainer.clear();\n this._renderRowChanges();\n }\n });\n\n // Re-render the header row if there is a difference in its columns.\n if (this._headerDefinition.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 */\nprivate _switchDataSource(dataSource: DataSource<T>) {\n this._data = [];\n\n if (this.dataSource) {\n this.dataSource.disconnect(this);\n }\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\n // Remove the table's rows if there is now no data source\n if (!dataSource) {\n this._rowPlaceholder.viewContainer.clear();\n }\n\n this._dataSource = dataSource;\n }\n/**\n * Set up a subscription for the data provided by the data source.\n * @return {?}\n */\nprivate _observeRenderChanges() {\n this._renderChangeSubscription = takeUntil.call(this.dataSource.connect(this), this._onDestroy)\n .subscribe(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 */\nprivate _renderHeaderRow() {\n const /** @type {?} */ cells = this._getHeaderCellTemplatesForRow(this._headerDefinition);\n if (!cells.length) { 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._headerDefinition.template, {cells});\n\n cells.forEach(cell => {\n CdkCellOutlet.mostRecentCellOutlet._viewContainer.createEmbeddedView(cell.template, {});\n });\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 */\nprivate _renderRowChanges() {\n const /** @type {?} */ changes = this._dataDiffer.diff(this._data);\n if (!changes) { return; }\n\n const /** @type {?} */ viewContainer = this._rowPlaceholder.viewContainer;\n changes.forEachOperation(\n (item: IterableChangeRecord<any>, adjustedPreviousIndex: number, currentIndex: number) => {\n if (item.previousIndex == null) {\n this._insertRow(this._data[currentIndex], currentIndex);\n } else if (currentIndex == null) {\n viewContainer.remove(adjustedPreviousIndex);\n } else {\n const /** @type {?} */ view = viewContainer.get(adjustedPreviousIndex);\n viewContainer.move( /** @type {?} */((view)), currentIndex);\n }\n });\n\n this._updateRowContext();\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 */\nprivate _insertRow(rowData: T, index: number) {\n // TODO(andrewseguin): Add when predicates to the row definitions\n // to find the right template to used based on\n // the data rather than choosing the first row definition.\n const /** @type {?} */ row = this._rowDefinitions.first;\n\n // Row context that will be provided to both the created embedded row view and its cells.\n const /** @type {?} */ context: CdkCellOutletRowContext<T> = {$implicit: rowData};\n\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\n // Insert empty cells if there is no data to improve rendering time.\n const /** @type {?} */ cells = rowData ? this._getCellTemplatesForRow(row) : [];\n\n cells.forEach(cell => {\n CdkCellOutlet.mostRecentCellOutlet._viewContainer.createEmbeddedView(cell.template, context);\n });\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 */\nprivate _updateRowContext() {\n const /** @type {?} */ viewContainer = this._rowPlaceholder.viewContainer;\n for (let /** @type {?} */ index = 0, /** @type {?} */ count = viewContainer.length; index < count; index++) {\n const /** @type {?} */ viewRef = /** @type {?} */(( viewContainer.get(index) as EmbeddedViewRef<CdkCellOutletRowContext<T>>));\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 */\nprivate _getHeaderCellTemplatesForRow(headerDef: CdkHeaderRowDef): CdkHeaderCellDef[] {\n if (!headerDef.columns) { return []; }\n return headerDef.columns.map(columnId => {\n const /** @type {?} */ column = this._columnDefinitionsByName.get(columnId);\n\n if (!column) {\n throw getTableUnknownColumnError(columnId);\n }\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 */\nprivate _getCellTemplatesForRow(rowDef: CdkRowDef): CdkCellDef[] {\n if (!rowDef.columns) { return []; }\n return rowDef.columns.map(columnId => {\n const /** @type {?} */ column = this._columnDefinitionsByName.get(columnId);\n\n if (!column) {\n throw getTableUnknownColumnError(columnId);\n }\n\n return column.cell;\n });\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n moduleId: module.id,\n selector: 'cdk-table',\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 */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: IterableDiffers, },\n{type: ChangeDetectorRef, },\n{type: ElementRef, },\n{type: Renderer2, },\n{type: undefined, decorators: [{ type: Attribute, args: ['role', ] }, ]},\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'trackBy': [{ type: Input },],\n'dataSource': [{ type: Input },],\n'_rowPlaceholder': [{ type: ViewChild, args: [RowPlaceholder, ] },],\n'_headerRowPlaceholder': [{ type: ViewChild, args: [HeaderRowPlaceholder, ] },],\n'_columnDefinitions': [{ type: ContentChildren, args: [CdkColumnDef, ] },],\n'_headerDefinition': [{ type: ContentChild, args: [CdkHeaderRowDef, ] },],\n'_rowDefinitions': [{ type: ContentChildren, args: [CdkRowDef, ] },],\n};\n}\n\nfunction CdkTable_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkTable.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkTable.ctorParameters;\n/** @type {?} */\nCdkTable.propDecorators;\n/**\n * Subject that emits when the component has been destroyed.\n * @type {?}\n */\nCdkTable.prototype._onDestroy;\n/**\n * Latest data provided by the data source through the connect interface.\n * @type {?}\n */\nCdkTable.prototype._data;\n/**\n * Subscription that listens for the data provided by the data source.\n * @type {?}\n */\nCdkTable.prototype._renderChangeSubscription;\n/**\n * Map of all the user's defined columns (header and data cell template) identified by name.\n * @type {?}\n */\nCdkTable.prototype._columnDefinitionsByName;\n/**\n * Differ used to find the changes in the data provided by the data source.\n * @type {?}\n */\nCdkTable.prototype._dataDiffer;\n/** @type {?} */\nCdkTable.prototype._trackByFn;\n/** @type {?} */\nCdkTable.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 */\nCdkTable.prototype.viewChange;\n/** @type {?} */\nCdkTable.prototype._rowPlaceholder;\n/** @type {?} */\nCdkTable.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 */\nCdkTable.prototype._columnDefinitions;\n/**\n * Template used as the header container.\n * @type {?}\n */\nCdkTable.prototype._headerDefinition;\n/**\n * Set of templates that used as the data row containers.\n * @type {?}\n */\nCdkTable.prototype._rowDefinitions;\n/** @type {?} */\nCdkTable.prototype._differs;\n/** @type {?} */\nCdkTable.prototype._changeDetectorRef;\n}\n\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","\n/**\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: string) {\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: string) {\n return Error(`cdk-table: Duplicate column definition name provided: \"${name}\".`);\n}\n","/**\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 */\n\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 */\nexport class CdkCellDef {\n/**\n * @param {?} template\n */\nconstructor(public template: TemplateRef<any>) { }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{selector: '[cdkCellDef]'}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: TemplateRef, },\n];\n}\n\nfunction CdkCellDef_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkCellDef.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkCellDef.ctorParameters;\n/** @type {?} */\nCdkCellDef.prototype.template;\n}\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 */\nexport class CdkHeaderCellDef {\n/**\n * @param {?} template\n */\nconstructor(public template: TemplateRef<any>) { }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{selector: '[cdkHeaderCellDef]'}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: TemplateRef, },\n];\n}\n\nfunction CdkHeaderCellDef_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkHeaderCellDef.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkHeaderCellDef.ctorParameters;\n/** @type {?} */\nCdkHeaderCellDef.prototype.template;\n}\n\n/**\n * Column definition for the CDK table.\n * Defines a set of cells available for a table column.\n */\nexport class CdkColumnDef {\n/**\n * Unique name for this column.\n * @return {?}\n */\nget name(): string { return this._name; }\n/**\n * @param {?} name\n * @return {?}\n */\nset name(name: string) {\n this._name = name;\n this.cssClassFriendlyName = name.replace(/[^a-z0-9_-]/ig, '-');\n }\n _name: string;\n/**\n * \\@docs-private\n */\ncell: CdkCellDef;\n/**\n * \\@docs-private\n */\nheaderCell: CdkHeaderCellDef;\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 */\ncssClassFriendlyName: string;\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{selector: '[cdkColumnDef]'}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\nstatic propDecorators: {[key: string]: DecoratorInvocation[]} = {\n'name': [{ type: Input, args: ['cdkColumnDef', ] },],\n'cell': [{ type: ContentChild, args: [CdkCellDef, ] },],\n'headerCell': [{ type: ContentChild, args: [CdkHeaderCellDef, ] },],\n};\n}\n\nfunction CdkColumnDef_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkColumnDef.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkColumnDef.ctorParameters;\n/** @type {?} */\nCdkColumnDef.propDecorators;\n/** @type {?} */\nCdkColumnDef.prototype._name;\n/**\n * \\@docs-private\n * @type {?}\n */\nCdkColumnDef.prototype.cell;\n/**\n * \\@docs-private\n * @type {?}\n */\nCdkColumnDef.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 */\nCdkColumnDef.prototype.cssClassFriendlyName;\n}\n\n/**\n * Header cell template container that adds the right classes and role.\n */\nexport class CdkHeaderCell {\n/**\n * @param {?} columnDef\n * @param {?} elementRef\n * @param {?} renderer\n */\nconstructor(columnDef: CdkColumnDef, elementRef: ElementRef, renderer: Renderer2) {\n renderer.addClass(elementRef.nativeElement, `cdk-column-${columnDef.cssClassFriendlyName}`);\n }\nstatic decorators: DecoratorInvocation[] = [\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 */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: CdkColumnDef, },\n{type: ElementRef, },\n{type: Renderer2, },\n];\n}\n\nfunction CdkHeaderCell_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkHeaderCell.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkHeaderCell.ctorParameters;\n}\n\n/**\n * Cell template container that adds the right classes and role.\n */\nexport class CdkCell {\n/**\n * @param {?} columnDef\n * @param {?} elementRef\n * @param {?} renderer\n */\nconstructor(columnDef: CdkColumnDef, elementRef: ElementRef, renderer: Renderer2) {\n renderer.addClass(elementRef.nativeElement, `cdk-column-${columnDef.cssClassFriendlyName}`);\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: 'cdk-cell',\n host: {\n 'class': 'cdk-cell',\n 'role': 'gridcell',\n },\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: CdkColumnDef, },\n{type: ElementRef, },\n{type: Renderer2, },\n];\n}\n\nfunction CdkCell_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkCell.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkCell.ctorParameters;\n}\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n","/**\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 */\n\n\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n IterableChanges,\n IterableDiffer,\n IterableDiffers,\n SimpleChanges,\n TemplateRef,\n ViewContainerRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {CdkCellDef} from './cell';\n/**\n * The row template that can be used by the md-table. Should not be used outside of the\n * material library.\n */\nexport const CDK_ROW_TEMPLATE = `<ng-container cdkCellOutlet></ng-container>`;\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 */\nexport abstract class BaseRowDef {\n/**\n * The columns to be displayed on this row.\n */\ncolumns: string[];\n/**\n * Differ used to check if any changes were made to the columns.\n */\nprotected _columnsDiffer: IterableDiffer<any>;\n/**\n * @param {?} template\n * @param {?} _differs\n */\nconstructor(public template: TemplateRef<any>,\n protected _differs: IterableDiffers) { }\n/**\n * @param {?} changes\n * @return {?}\n */\nngOnChanges(changes: SimpleChanges): void {\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 const /** @type {?} */ columns = changes['columns'].currentValue || [];\n if (!this._columnsDiffer && columns) {\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 */\ngetColumnsDiff(): IterableChanges<any> | null {\n return this._columnsDiffer.diff(this.columns);\n }\n}\n\nfunction BaseRowDef_tsickle_Closure_declarations() {\n/**\n * The columns to be displayed on this row.\n * @type {?}\n */\nBaseRowDef.prototype.columns;\n/**\n * Differ used to check if any changes were made to the columns.\n * @type {?}\n */\nBaseRowDef.prototype._columnsDiffer;\n/** @type {?} */\nBaseRowDef.prototype.template;\n/** @type {?} */\nBaseRowDef.prototype._differs;\n}\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 */\nexport class CdkHeaderRowDef extends BaseRowDef {\n/**\n * @param {?} template\n * @param {?} _differs\n */\nconstructor(template: TemplateRef<any>, _differs: IterableDiffers) {\n super(template, _differs);\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: '[cdkHeaderRowDef]',\n inputs: ['columns: cdkHeaderRowDef'],\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: TemplateRef, },\n{type: IterableDiffers, },\n];\n}\n\nfunction CdkHeaderRowDef_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkHeaderRowDef.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkHeaderRowDef.ctorParameters;\n}\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.\n */\nexport class CdkRowDef extends BaseRowDef {\n/**\n * @param {?} template\n * @param {?} _differs\n */\nconstructor(template: TemplateRef<any>, _differs: IterableDiffers) {\n super(template, _differs);\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{\n selector: '[cdkRowDef]',\n inputs: ['columns: cdkRowDefColumns'],\n}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: TemplateRef, },\n{type: IterableDiffers, },\n];\n}\n\nfunction CdkRowDef_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkRowDef.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkRowDef.ctorParameters;\n}\n\n\n/** Context provided to the row cells */\nexport interface CdkCellOutletRowContext<T> {\n /** Data for the row that this cell is located within. */\n $implicit: T;\n\n /** Index location of the row that this cell is located within. */\n index?: number;\n\n /** Length of the number of total rows. */\n count?: number;\n\n /** True if this cell is contained in the first row. */\n first?: boolean;\n\n /** True if this cell is contained in the last row. */\n last?: boolean;\n\n /** True if this cell is contained in a row with an even-numbered index. */\n even?: boolean;\n\n /** True if this cell is contained in a row with an odd-numbered index. */\n odd?: boolean;\n}\n/**\n * Outlet for rendering cells inside of a row or header row.\n * \\@docs-private\n */\nexport class CdkCellOutlet {\n/**\n * The ordered list of cells to render within this outlet's view container\n */\ncells: CdkCellDef[];\n/**\n * The data context to be provided to each cell\n */\ncontext: any;\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 */\nstatic mostRecentCellOutlet: CdkCellOutlet;\n/**\n * @param {?} _viewContainer\n */\nconstructor(public _viewContainer: ViewContainerRef) {\n CdkCellOutlet.mostRecentCellOutlet = this;\n }\nstatic decorators: DecoratorInvocation[] = [\n{ type: Directive, args: [{selector: '[cdkCellOutlet]'}, ] },\n];\n/**\n * @nocollapse\n */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n{type: ViewContainerRef, },\n];\n}\n\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 */\nCdkCellOutlet.mostRecentCellOutlet;\n/** @type {?} */\nCdkCellOutlet.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkCellOutlet.ctorParameters;\n/**\n * The ordered list of cells to render within this outlet's view container\n * @type {?}\n */\nCdkCellOutlet.prototype.cells;\n/**\n * The data context to be provided to each cell\n * @type {?}\n */\nCdkCellOutlet.prototype.context;\n/** @type {?} */\nCdkCellOutlet.prototype._viewContainer;\n}\n\n/**\n * Header template container that contains the cell outlet. Adds the right class and role.\n */\nexport class CdkHeaderRow { static decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n moduleId: module.id,\n 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 */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction CdkHeaderRow_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkHeaderRow.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkHeaderRow.ctorParameters;\n}\n\n/**\n * Data row template container that contains the cell outlet. Adds the right class and role.\n */\nexport class CdkRow { static decorators: DecoratorInvocation[] = [\n{ type: Component, args: [{\n moduleId: module.id,\n 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 */\nstatic ctorParameters: () => ({type: any, decorators?: DecoratorInvocation[]}|null)[] = () => [\n];\n}\n\nfunction CdkRow_tsickle_Closure_declarations() {\n/** @type {?} */\nCdkRow.decorators;\n/**\n * @nocollapse\n * @type {?}\n */\nCdkRow.ctorParameters;\n}\n\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AKsBA;;;;AAIA,AAAC,MAAA,gBAAA,GAAA,CAAD,2CAAA,CAAC,CAAA;;;;;;AAMD,AAAA,MAAA,UAAA,CAAA;;;;;IAaA,WAAA,CANqB,QAA0B,EACvB,QAA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,EACE,CAAA,YAAE,CAAY;gBAAvB,OAAO,EACE,CAAA,qBAAE,CAAqB;gBAAhC,YAAY,EACE,CAAA,qBAAE,CAAqB;aACtC,EACC,EAAG;CAAJ,CACC;;;;AAED,cAAD,CAAA,cAAC,GAAA,MAAA,EAEA,CAN+B,AAShC,AAQC;;AD5DD;;GAEG,AAEH,AAAsS;;"}
|
|
1
|
+
{"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 = \"<ng-container cdkCellOutlet></ng-container>\";\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 <ng-container headerRowPlaceholder></ng-container>\\n <ng-container rowPlaceholder></ng-container>\";\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_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AC;oBAChC,YAAY,EAAE,CAAC,qBAAqB,CAAC;iBACxC,EAAE,EAAE;KAChB,CAAC;;;;IAIF,cAAc,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC3D,OAAO,cAAc,CAAC;CACzB,EAAE,CAAC,CAAC,AACL,AACA,AAQC,AACD;;ACrDA;;GAEG,AACH,AAAiS,AACjS;;"}
|
|
File without changes
|
package/keycodes.metadata.json
CHANGED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
import { NgZone, OnDestroy } from '@angular/core';
|
|
9
|
+
import { MediaMatcher } from './media-matcher';
|
|
10
|
+
import { Observable } from 'rxjs/Observable';
|
|
11
|
+
/** The current state of a layout breakpoint. */
|
|
12
|
+
export interface BreakpointState {
|
|
13
|
+
matches: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Utility for checking the matching state of @media queries.
|
|
17
|
+
*/
|
|
18
|
+
export declare class BreakpointObserver implements OnDestroy {
|
|
19
|
+
private mediaMatcher;
|
|
20
|
+
private zone;
|
|
21
|
+
/** A map of all media queries currently being listened for. */
|
|
22
|
+
private _queries;
|
|
23
|
+
/** A subject for all other observables to takeUntil based on. */
|
|
24
|
+
private _destroySubject;
|
|
25
|
+
constructor(mediaMatcher: MediaMatcher, zone: NgZone);
|
|
26
|
+
/** Completes the active subject, signalling to all other observables to complete. */
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
/** Whether the query currently is matched. */
|
|
29
|
+
isMatched(value: string | string[]): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Gets an observable of results for the given queries that will emit new results for any changes
|
|
32
|
+
* in matching of the given queries.
|
|
33
|
+
*/
|
|
34
|
+
observe(value: string | string[]): Observable<BreakpointState>;
|
|
35
|
+
/** Registers a specific query to be listened for. */
|
|
36
|
+
private _registerQuery(query);
|
|
37
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
export declare const Breakpoints: {
|
|
9
|
+
Handset: string;
|
|
10
|
+
Tablet: string;
|
|
11
|
+
Web: string;
|
|
12
|
+
HandsetPortrait: string;
|
|
13
|
+
TabletPortrait: string;
|
|
14
|
+
WebPortrait: string;
|
|
15
|
+
HandsetLandscape: string;
|
|
16
|
+
TabletLandscape: string;
|
|
17
|
+
WebLandscape: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"__symbolic":"module","version":3,"metadata":{"LayoutModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","name":"BreakpointObserver"},{"__symbolic":"reference","name":"MediaMatcher"}],"imports":[{"__symbolic":"reference","module":"@angular/cdk/platform","name":"PlatformModule"}]}]}],"members":{}},"BreakpointObserver":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MediaMatcher"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"isMatched":[{"__symbolic":"method"}],"observe":[{"__symbolic":"method"}],"_registerQuery":[{"__symbolic":"method"}]}},"BreakpointState":{"__symbolic":"interface"},"Breakpoints":{"Handset":"(max-width: 599px) and (orientation: portrait), (max-width: 959px) and (orientation: landscape)","Tablet":"(min-width: 600px) and (max-width: 839px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279px) and (orientation: landscape)","Web":"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)","HandsetPortrait":"(max-width: 599px) and (orientation: portrait)","TabletPortrait":"(min-width: 600px) and (max-width: 839px) and (orientation: portrait)","WebPortrait":"(min-width: 840px) and (orientation: portrait)","HandsetLandscape":"(max-width: 959px) and (orientation: landscape)","TabletLandscape":"(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)","WebLandscape":"(min-width: 1280px) and (orientation: landscape)"},"MediaMatcher":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/cdk/platform","name":"Platform"}]}],"matchMedia":[{"__symbolic":"method"}]}}},"origins":{"LayoutModule":"./public-api","BreakpointObserver":"./breakpoints-observer","BreakpointState":"./breakpoints-observer","Breakpoints":"./breakpoints","MediaMatcher":"./media-matcher"},"importAs":"@angular/cdk/layout"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Platform } from '@angular/cdk/platform';
|
|
2
|
+
/**
|
|
3
|
+
* A utility for calling matchMedia queries.
|
|
4
|
+
*/
|
|
5
|
+
export declare class MediaMatcher {
|
|
6
|
+
private platform;
|
|
7
|
+
/** The internal matchMedia method to return back a MediaQueryList like object. */
|
|
8
|
+
private _matchMedia;
|
|
9
|
+
constructor(platform: Platform);
|
|
10
|
+
/**
|
|
11
|
+
* Confirms the layout engine will trigger for the selector query provided and returns the
|
|
12
|
+
* MediaQueryList for the query provided.
|
|
13
|
+
*/
|
|
14
|
+
matchMedia(query: string): MediaQueryList;
|
|
15
|
+
}
|
package/layout.d.ts
ADDED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","version":3,"metadata":{"
|
|
1
|
+
{"__symbolic":"module","version":3,"metadata":{"MatMutationObserverFactory":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"create":[{"__symbolic":"method"}]}},"ObserveContent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[cdkObserveContent]","exportAs":"cdkObserveContent"}]}],"members":{"event":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["cdkObserveContent"]}]}],"debounce":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"MatMutationObserverFactory"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"}]}],"ngAfterContentInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ObserversModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"exports":[{"__symbolic":"reference","name":"ObserveContent"}],"declarations":[{"__symbolic":"reference","name":"ObserveContent"}],"providers":[{"__symbolic":"reference","name":"MatMutationObserverFactory"}]}]}],"members":{}}},"origins":{"MatMutationObserverFactory":"./observe-content","ObserveContent":"./observe-content","ObserversModule":"./observe-content"},"importAs":"@angular/cdk/observers"}
|
|
@@ -10,8 +10,8 @@ import { ElementRef, EventEmitter, OnDestroy, AfterContentInit, NgZone } from '@
|
|
|
10
10
|
* Factory that creates a new MutationObserver and allows us to stub it out in unit tests.
|
|
11
11
|
* @docs-private
|
|
12
12
|
*/
|
|
13
|
-
export declare class
|
|
14
|
-
create(callback:
|
|
13
|
+
export declare class MatMutationObserverFactory {
|
|
14
|
+
create(callback: MutationCallback): MutationObserver | null;
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* Directive that triggers a callback whenever the content of
|
|
@@ -28,7 +28,7 @@ export declare class ObserveContent implements AfterContentInit, OnDestroy {
|
|
|
28
28
|
private _debouncer;
|
|
29
29
|
/** Debounce interval for emitting the changes. */
|
|
30
30
|
debounce: number;
|
|
31
|
-
constructor(_mutationObserverFactory:
|
|
31
|
+
constructor(_mutationObserverFactory: MatMutationObserverFactory, _elementRef: ElementRef, _ngZone: NgZone);
|
|
32
32
|
ngAfterContentInit(): void;
|
|
33
33
|
ngOnDestroy(): void;
|
|
34
34
|
}
|
|
File without changes
|
package/observers.metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
|
-
export * from './
|
|
4
|
+
export * from './public-api';
|
|
5
5
|
export { OVERLAY_CONTAINER_PROVIDER as ɵb, OVERLAY_CONTAINER_PROVIDER_FACTORY as ɵa } from './overlay-container';
|
|
6
|
-
export {
|
|
6
|
+
export { MAT_CONNECTED_OVERLAY_SCROLL_STRATEGY as ɵc, MAT_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER as ɵe, MAT_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER_FACTORY as ɵd } from './overlay-directives';
|
|
7
7
|
export { OverlayPositionBuilder as ɵf } from './position/overlay-position-builder';
|