{"version":3,"file":"toolbar.es5.js","sources":["../../packages/material/esm5/toolbar/toolbar.js","../../packages/material/esm5/toolbar/toolbar-module.js","../../packages/material/esm5/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 * as tslib_1 from \"tslib\";\nimport { ChangeDetectionStrategy, Component, Directive, ElementRef, Renderer2, ViewEncapsulation, } from '@angular/core';\nimport { mixinColor } from '@angular/material/core';\nvar MatToolbarRow = (function () {\n function MatToolbarRow() {\n }\n MatToolbarRow.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 */\n MatToolbarRow.ctorParameters = function () { return []; };\n return MatToolbarRow;\n}());\nexport { MatToolbarRow };\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 */\nvar MatToolbarBase = (function () {\n /**\n * @param {?} _renderer\n * @param {?} _elementRef\n */\n function MatToolbarBase(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n }\n return MatToolbarBase;\n}());\nexport { MatToolbarBase };\nfunction MatToolbarBase_tsickle_Closure_declarations() {\n /** @type {?} */\n MatToolbarBase.prototype._renderer;\n /** @type {?} */\n MatToolbarBase.prototype._elementRef;\n}\nexport var /** @type {?} */ _MatToolbarMixinBase = mixinColor(MatToolbarBase);\nvar MatToolbar = (function (_super) {\n tslib_1.__extends(MatToolbar, _super);\n /**\n * @param {?} renderer\n * @param {?} elementRef\n */\n function MatToolbar(renderer, elementRef) {\n return _super.call(this, renderer, elementRef) || this;\n }\n MatToolbar.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 */\n MatToolbar.ctorParameters = function () { return [\n { type: Renderer2, },\n { type: ElementRef, },\n ]; };\n return MatToolbar;\n}(_MatToolbarMixinBase));\nexport { MatToolbar };\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';\nvar MatToolbarModule = (function () {\n function MatToolbarModule() {\n }\n MatToolbarModule.decorators = [\n { type: NgModule, args: [{\n imports: [MatCommonModule],\n exports: [MatToolbar, MatToolbarRow, MatCommonModule],\n declarations: [MatToolbar, MatToolbarRow],\n },] },\n ];\n /**\n * @nocollapse\n */\n MatToolbarModule.ctorParameters = function () { return []; };\n return MatToolbarModule;\n}());\nexport { MatToolbarModule };\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":["tslib_1.__extends"],"mappings":";;;;;;;;;;;;AAUA,IAAI,aAAa,IAAI,YAAY;IAC7B,SAAS,aAAa,GAAG;KACxB;IACD,aAAa,CAAC,UAAU,GAAG;QACvB,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;oBACd,QAAQ,EAAE,iBAAiB;oBAC3B,QAAQ,EAAE,eAAe;oBACzB,IAAI,EAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE;iBACvC,EAAE,EAAE;KAChB,CAAC;;;;IAIF,aAAa,CAAC,cAAc,GAAG,YAAY,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC1D,OAAO,aAAa,CAAC;CACxB,EAAE,CAAC,CAAC;AACL,AACA,AASA;;;AAGA,IAAI,cAAc,IAAI,YAAY;;;;;IAK9B,SAAS,cAAc,CAAC,SAAS,EAAE,WAAW,EAAE;QAC5C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;KAClC;IACD,OAAO,cAAc,CAAC;CACzB,EAAE,CAAC,CAAC;AACL,AACA,AAMA,AAAO,IAAqB,oBAAoB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AAC9E,IAAI,UAAU,IAAI,UAAU,MAAM,EAAE;IAChCA,SAAiB,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;;;;;IAKtC,SAAS,UAAU,CAAC,QAAQ,EAAE,UAAU,EAAE;QACtC,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,CAAC,IAAI,IAAI,CAAC;KAC1D;IACD,UAAU,CAAC,UAAU,GAAG;QACpB,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC,QAAQ,EAAE,aAAa;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