text: !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/common"),require("@angular/core"),require("@angular/material/grid-list")):"function"==typeof define&&define.amd?define("@angular/components-examples/material/grid-list",["exports","@angular/common","@angular/core","@angular/material/grid-list"],t):t(((e=e||self).ng=e.ng||{},e.ng.componentsExamples=e.ng.componentsExamples||{},e.ng.componentsExamples.material=e.ng.componentsExamples.material||{},e.ng.componentsExamples.material.gridList={}),e.ng.common,e.ng.core,e.ng.material.gridList)}(this,(function(e,t,n,o){"use strict";function r(e,t){if(1&e&&(n.ɵɵelementStart(0,"mat-grid-tile",2),n.ɵɵtext(1),n.ɵɵelementEnd()),2&e){var o=t.$implicit;n.ɵɵstyleProp("background",o.color),n.ɵɵproperty("colspan",o.cols)("rowspan",o.rows),n.ɵɵadvance(1),n.ɵɵtextInterpolate1(" ",o.text," ")}}var i=function(){function e(){this.tiles=[{text:"One",cols:3,rows:1,color:"lightblue"},{text:"Two",cols:1,rows:2,color:"lightgreen"},{text:"Three",cols:1,rows:1,color:"lightpink"},{text:"Four",cols:2,rows:1,color:"#DDBDF1"}]}return e.ɵfac=function t(n){return new(n||e)},e.ɵcmp=n.ɵɵdefineComponent({type:e,selectors:[["grid-list-dynamic-example"]],decls:2,vars:1,consts:[["cols","4","rowHeight","100px"],[3,"colspan","rowspan","background",4,"ngFor","ngForOf"],[3,"colspan","rowspan"]],template:function e(t,o){1&t&&(n.ɵɵelementStart(0,"mat-grid-list",0),n.ɵɵtemplate(1,r,2,5,"mat-grid-tile",1),n.ɵɵelementEnd()),2&t&&(n.ɵɵadvance(1),n.ɵɵproperty("ngForOf",o.tiles))},directives:[o.MatGridList,t.NgForOf,o.MatGridTile],encapsulation:2}),e}(),l=function(){function e(){}return e.ɵfac=function t(n){return new(n||e)},e.ɵcmp=n.ɵɵdefineComponent({type:e,selectors:[["grid-list-overview-example"]],decls:9,vars:0,consts:[["cols","2","rowHeight","2:1"]],template:function e(t,o){1&t&&(n.ɵɵelementStart(0,"mat-grid-list",0),n.ɵɵelementStart(1,"mat-grid-tile"),n.ɵɵtext(2,"1"),n.ɵɵelementEnd(),n.ɵɵelementStart(3,"mat-grid-tile"),n.ɵɵtext(4,"2"),n.ɵɵelementEnd(),n.ɵɵelementStart(5,"mat-grid-tile"),n.ɵɵtext(6,"3"),n.ɵɵelementEnd(),n.ɵɵelementStart(7,"mat-grid-tile"),n.ɵɵtext(8,"4"),n.ɵɵelementEnd(),n.ɵɵelementEnd())},directives:[o.MatGridList,o.MatGridTile],styles:["mat-grid-tile[_ngcontent-%COMP%] {\n  background: lightblue;\n}"]}),e}(),a=function(){function e(){}return e.ɵmod=n.ɵɵdefineNgModule({type:e}),e.ɵinj=n.ɵɵdefineInjector({factory:function t(n){return new(n||e)},imports:[[t.CommonModule,o.MatGridListModule]]}),e}();("undefined"==typeof ngJitMode||ngJitMode)&&n.ɵɵsetNgModuleScope(a,{declarations:[i,l],imports:[t.CommonModule,o.MatGridListModule],exports:[i,l]}),e.GridListDynamicExample=i,e.GridListExamplesModule=a,e.GridListOverviewExample=l,Object.defineProperty(e,"__esModule",{value:!0})}));