{"version":3,"file":"toolbar.js","sources":["../../packages/material/toolbar/toolbar.js","../../packages/material/toolbar/toolbar-module.js","../../packages/material/toolbar/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 { ChangeDetectionStrategy, Component, Directive, ElementRef, Renderer2, ViewEncapsulation, } from '@angular/core';\nimport { mixinColor } from '@angular/material/core';\nexport class MatToolbarRow {\n}\nMatToolbarRow.decorators = [\n { type: Directive, args: [{\n selector: 'mat-toolbar-row',\n exportAs: 'matToolbarRow',\n host: { 'class': 'mat-toolbar-row' },\n },] },\n];\n/**\n * @nocollapse\n */\nMatToolbarRow.ctorParameters = () => [];\nfunction MatToolbarRow_tsickle_Closure_declarations() {\n /** @type {?} */\n MatToolbarRow.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n MatToolbarRow.ctorParameters;\n}\n/**\n * \\@docs-private\n */\nexport class MatToolbarBase {\n /**\n * @param {?} _renderer\n * @param {?} _elementRef\n */\n constructor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n }\n}\nfunction MatToolbarBase_tsickle_Closure_declarations() {\n /** @type {?} */\n MatToolbarBase.prototype._renderer;\n /** @type {?} */\n MatToolbarBase.prototype._elementRef;\n}\nexport const /** @type {?} */ _MatToolbarMixinBase = mixinColor(MatToolbarBase);\nexport class MatToolbar extends _MatToolbarMixinBase {\n /**\n * @param {?} renderer\n * @param {?} elementRef\n */\n constructor(renderer, elementRef) {\n super(renderer, elementRef);\n }\n}\nMatToolbar.decorators = [\n { type: Component, args: [{selector: 'mat-toolbar',\n exportAs: 'matToolbar',\n template: \"
\",\n styles: [\".mat-toolbar{display:flex;box-sizing:border-box;width:100%;padding:0 16px;flex-direction:column}.mat-toolbar .mat-toolbar-row{display:flex;box-sizing:border-box;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar{min-height:64px}.mat-toolbar-row{height:64px}@media (max-width:600px){.mat-toolbar{min-height:56px}.mat-toolbar-row{height:56px}}\"],\n inputs: ['color'],\n host: {\n 'class': 'mat-toolbar',\n 'role': 'toolbar'\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n preserveWhitespaces: false,\n },] },\n];\n/**\n * @nocollapse\n */\nMatToolbar.ctorParameters = () => [\n { type: Renderer2, },\n { type: ElementRef, },\n];\nfunction MatToolbar_tsickle_Closure_declarations() {\n /** @type {?} */\n MatToolbar.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n MatToolbar.ctorParameters;\n}\n//# sourceMappingURL=toolbar.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 { NgModule } from '@angular/core';\nimport { MatCommonModule } from '@angular/material/core';\nimport { MatToolbar, MatToolbarRow } from './toolbar';\nexport class MatToolbarModule {\n}\nMatToolbarModule.decorators = [\n { type: NgModule, args: [{\n imports: [MatCommonModule],\n exports: [MatToolbar, MatToolbarRow, MatCommonModule],\n declarations: [MatToolbar, MatToolbarRow],\n },] },\n];\n/**\n * @nocollapse\n */\nMatToolbarModule.ctorParameters = () => [];\nfunction MatToolbarModule_tsickle_Closure_declarations() {\n /** @type {?} */\n MatToolbarModule.decorators;\n /**\n * @nocollapse\n * @type {?}\n */\n MatToolbarModule.ctorParameters;\n}\n//# sourceMappingURL=toolbar-module.js.map","/**\n * Generated bundle index. Do not edit.\n */\nexport { MatToolbarModule, MatToolbarRow, MatToolbarBase, _MatToolbarMixinBase, MatToolbar } from './public-api';\n//# sourceMappingURL=index.js.map"],"names":[],"mappings":";;;;;;;;;;AASO,MAAM,aAAa,CAAC;CAC1B;AACD,aAAa,CAAC,UAAU,GAAG;IACvB,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;gBACd,QAAQ,EAAE,iBAAiB;gBAC3B,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