blob: c8d66bdb472e72d95909c977b5a26209c4fb9701 [file] [log] [blame]
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/common"),require("@angular/material/divider"),require("@angular/core")):"function"==typeof define&&define.amd?define("@covalent/core/sidesheet",["exports","@angular/common","@angular/material/divider","@angular/core"],t):t((e.covalent=e.covalent||{},e.covalent.core=e.covalent.core||{},e.covalent.core.sidesheet={}),e.ng.common,e.ng.material.divider,e.ng.core)}(this,function(e,t,i,n){"use strict";var o=(s.decorators=[{type:n.Directive,args:[{selector:"td-sidesheet-content"}]}],s);function s(){}var d=(r.decorators=[{type:n.Directive,args:[{selector:"td-sidesheet-title"}]}],r);function r(){}var a=(c.decorators=[{type:n.Directive,args:[{selector:"td-sidesheet-actions",host:{"[class.align-end]":'align === "end"',"[class.align-start]":'align === "start"'}}]}],c.propDecorators={align:[{type:n.Input}]},c);function c(){this.align="start"}var l=(h.decorators=[{type:n.Component,args:[{selector:"td-sidesheet-header",template:'<ng-content select="td-sidesheet-title"></ng-content>\n<ng-content select="[mat-icon-button][td-sidesheet-header-action]"></ng-content>'}]}],h);function h(){}var p=(g.decorators=[{type:n.Component,args:[{selector:"td-sidesheet",template:'<ng-content select="td-sidesheet-header"></ng-content>\n<ng-template [ngIf]="headerExists">\n <mat-divider></mat-divider>\n</ng-template>\n<div class="td-sidesheet-content-wrapper">\n <ng-content></ng-content>\n</div>\n<ng-template [ngIf]="actionsExist">\n <mat-divider></mat-divider>\n</ng-template>\n<ng-content select="td-sidesheet-actions"></ng-content>',encapsulation:n.ViewEncapsulation.None,styles:["td-sidesheet,td-sidesheet td-sidesheet-header{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex}td-sidesheet{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:0;width:100%;min-height:100%;height:100%}td-sidesheet td-sidesheet-header{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;max-width:100%;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;width:100%;padding:20px 16px;font-size:18px}td-sidesheet .mat-divider-horizontal{position:static!important}td-sidesheet td-sidesheet-title{-webkit-box-flex:1;-ms-flex:1;flex:1}td-sidesheet td-sidesheet-header .mat-button-focus-overlay{background-color:transparent!important}td-sidesheet td-sidesheet-header .mat-icon-button{width:24px;height:24px;line-height:21px}td-sidesheet td-sidesheet-actions{padding:8px;display:block}td-sidesheet .td-sidesheet-content-wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative;overflow-y:auto}td-sidesheet td-sidesheet-content{display:block;padding:16px}td-sidesheet-content>:first-child,td-sidesheet>:first-child{margin-top:0}td-sidesheet-content>:last-child,td-sidesheet>:last-child{margin-bottom:0}"]}]}],g.propDecorators={headerExists:[{type:n.ContentChild,args:[l]}],actionsExist:[{type:n.ContentChild,args:[a]}]},g);function g(){}var m=[p,l,o,d,a],x=(f.decorators=[{type:n.NgModule,args:[{imports:[t.CommonModule,i.MatDividerModule],declarations:[m],exports:[m]}]}],f);function f(){}e.CovalentSidesheetModule=x,e.TdSidesheetContentDirective=o,e.TdSidesheetTitleDirective=d,e.TdSidesheetActionsDirective=a,e.TdSidesheetHeaderComponent=l,e.TdSidesheetComponent=p,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=covalent-core-sidesheet.umd.min.js.map