UNPKG

@angular/material

Version:
10 lines (9 loc) 22.1 kB
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/cdk/a11y"),require("@angular/cdk/overlay"),require("@angular/common"),require("@angular/core"),require("@angular/material/core"),require("@angular/cdk/scrolling"),require("@angular/cdk/platform"),require("@angular/cdk/bidi"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes"),require("rxjs/observable/merge"),require("rxjs/operators/filter"),require("rxjs/operators/take"),require("rxjs/operators/startWith"),require("rxjs/operators/takeUntil"),require("rxjs/operators/debounceTime"),require("rxjs/operators/map"),require("rxjs/Subject"),require("rxjs/Observable"),require("@angular/animations")):"function"==typeof define&&define.amd?define(["exports","@angular/cdk/a11y","@angular/cdk/overlay","@angular/common","@angular/core","@angular/material/core","@angular/cdk/scrolling","@angular/cdk/platform","@angular/cdk/bidi","@angular/cdk/coercion","@angular/cdk/keycodes","rxjs/observable/merge","rxjs/operators/filter","rxjs/operators/take","rxjs/operators/startWith","rxjs/operators/takeUntil","rxjs/operators/debounceTime","rxjs/operators/map","rxjs/Subject","rxjs/Observable","@angular/animations"],t):t((e.ng=e.ng||{},e.ng.material=e.ng.material||{},e.ng.material.sidenav=e.ng.material.sidenav||{}),e.ng.cdk.a11y,e.ng.cdk.overlay,e.ng.common,e.ng.core,e.ng.material.core,e.ng.cdk.scrolling,e.ng.cdk.platform,e.ng.cdk.bidi,e.ng.cdk.coercion,e.ng.cdk.keycodes,e.Rx.Observable,e.Rx.operators,e.Rx.operators,e.Rx.operators,e.Rx.operators,e.Rx.operators,e.Rx.operators,e.Rx,e.Rx,e.ng.animations)}(this,function(e,t,n,r,o,i,a,s,c,d,p,l,u,h,m,f,g,_,b,y,w){"use strict";function v(e,t){function n(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function x(e){throw Error("A drawer was already declared for 'position=\""+e+"\"'")}var k=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},C={transformDrawer:w.trigger("transform",[w.state("open, open-instant",w.style({transform:"translate3d(0, 0, 0)",visibility:"visible"})),w.state("void",w.style({visibility:"hidden"})),w.transition("void => open-instant",w.animate("0ms")),w.transition("void <=> open, open-instant => void",w.animate("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},D=function(){function e(e,t){this.type=e,this.animationFinished=t}return e}(),O=new o.InjectionToken("MAT_DRAWER_DEFAULT_AUTOSIZE"),S=function(){function e(e,t){this._changeDetectorRef=e,this._container=t,this._margins={left:null,right:null}}return e.prototype.ngAfterContentInit=function(){var e=this;this._container._contentMargins.subscribe(function(t){e._margins=t,e._changeDetectorRef.markForCheck()})},e.decorators=[{type:o.Component,args:[{selector:"mat-drawer-content",template:"<ng-content></ng-content>",host:{class:"mat-drawer-content","[style.margin-left.px]":"_margins.left","[style.margin-right.px]":"_margins.right"},changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,preserveWhitespaces:!1}]}],e.ctorParameters=function(){return[{type:o.ChangeDetectorRef},{type:j,decorators:[{type:o.Inject,args:[o.forwardRef(function(){return j})]}]}]},e}(),E=function(){function e(e,t,n,r,i){var a=this;this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=n,this._platform=r,this._doc=i,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._animationStarted=new o.EventEmitter,this._animationState="void",this.openedChange=new o.EventEmitter(!0),this.onOpen=this._openedStream,this.onClose=this._closedStream,this.onPositionChanged=new o.EventEmitter,this.onAlignChanged=new o.EventEmitter,this._modeChanged=new b.Subject,this._opened=!1,this.openedChange.subscribe(function(e){e?(a._doc&&(a._elementFocusedBeforeDrawerWasOpened=a._doc.activeElement),a._isFocusTrapEnabled&&a._focusTrap&&a._trapFocus()):a._restoreFocus()})}return Object.defineProperty(e.prototype,"position",{get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onAlignChanged.emit(),this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"align",{get:function(){return this.position},set:function(e){this.position=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(e){this._mode=e,this._modeChanged.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClose",{get:function(){return this._disableClose},set:function(e){this._disableClose=d.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(u.filter(function(e){return e}),_.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(u.filter(function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")}),_.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(u.filter(function(e){return!e}),_.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(u.filter(function(e){return e.fromState!==e.toState&&"void"===e.toState}),_.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_isFocusTrapEnabled",{get:function(){return this.opened&&"side"!==this.mode},enumerable:!0,configurable:!0}),e.prototype._trapFocus=function(){var e=this;this._focusTrap.focusInitialElementWhenReady().then(function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()})},e.prototype._restoreFocus=function(){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null},e.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._focusTrap.enabled=this._isFocusTrapEnabled},e.prototype.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)},e.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy()},Object.defineProperty(e.prototype,"opened",{get:function(){return this._opened},set:function(e){this.toggle(d.coerceBooleanProperty(e))},enumerable:!0,configurable:!0}),e.prototype.open=function(e){return this.toggle(!0,e)},e.prototype.close=function(){return this.toggle(!1)},e.prototype.toggle=function(e,t){var n=this;return void 0===e&&(e=!this.opened),void 0===t&&(t="program"),this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=t):(this._animationState="void",this._restoreFocus()),this._focusTrap&&(this._focusTrap.enabled=this._isFocusTrapEnabled),new Promise(function(e){n.openedChange.pipe(h.take(1)).subscribe(function(t){e(new D(t?"open":"close",!0))})})},e.prototype.handleKeydown=function(e){e.keyCode!==p.ESCAPE||this.disableClose||(this.close(),e.stopPropagation())},e.prototype._onAnimationStart=function(e){this._animationStarted.emit(e)},e.prototype._onAnimationEnd=function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&this.openedChange.emit(this._opened)},Object.defineProperty(e.prototype,"_width",{get:function(){return this._elementRef.nativeElement?this._elementRef.nativeElement.offsetWidth||0:0},enumerable:!0,configurable:!0}),e.decorators=[{type:o.Component,args:[{selector:"mat-drawer",exportAs:"matDrawer",template:"<ng-content></ng-content>",animations:[C.transformDrawer],host:{class:"mat-drawer","[@transform]":"_animationState","(@transform.start)":"_onAnimationStart($event)","(@transform.done)":"_onAnimationEnd($event)","(keydown)":"handleKeydown($event)","[attr.align]":"null","[class.mat-drawer-end]":'position === "end"',"[class.mat-drawer-over]":'mode === "over"',"[class.mat-drawer-push]":'mode === "push"',"[class.mat-drawer-side]":'mode === "side"',tabIndex:"-1"},changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,preserveWhitespaces:!1}]}],e.ctorParameters=function(){return[{type:o.ElementRef},{type:t.FocusTrapFactory},{type:t.FocusMonitor},{type:s.Platform},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[r.DOCUMENT]}]}]},e.propDecorators={position:[{type:o.Input}],align:[{type:o.Input}],mode:[{type:o.Input}],disableClose:[{type:o.Input}],openedChange:[{type:o.Output}],_openedStream:[{type:o.Output,args:["opened"]}],openedStart:[{type:o.Output}],_closedStream:[{type:o.Output,args:["closed"]}],closedStart:[{type:o.Output}],onOpen:[{type:o.Output,args:["open"]}],onClose:[{type:o.Output,args:["close"]}],onPositionChanged:[{type:o.Output,args:["positionChanged"]}],onAlignChanged:[{type:o.Output,args:["align-changed"]}],opened:[{type:o.Input}]},e}(),j=function(){function e(e,t,n,r,i){void 0===i&&(i=!1);var a=this;this._dir=e,this._element=t,this._ngZone=n,this._changeDetectorRef=r,this.backdropClick=new o.EventEmitter,this._destroyed=new b.Subject,this._doCheckSubject=new b.Subject,this._contentMargins=new b.Subject,e&&e.change.pipe(f.takeUntil(this._destroyed)).subscribe(function(){a._validateDrawers(),a._updateContentMargins()}),this._autosize=i}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autosize",{get:function(){return this._autosize},set:function(e){this._autosize=d.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var e=this;this._drawers.changes.pipe(m.startWith(null)).subscribe(function(){e._validateDrawers(),e._drawers.forEach(function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)}),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e._updateContentMargins(),e._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(g.debounceTime(10),f.takeUntil(this._destroyed)).subscribe(function(){return e._updateContentMargins()})},e.prototype.ngOnDestroy=function(){this._doCheckSubject.complete(),this._destroyed.next(),this._destroyed.complete()},e.prototype.open=function(){this._drawers.forEach(function(e){return e.open()})},e.prototype.close=function(){this._drawers.forEach(function(e){return e.close()})},e.prototype.ngDoCheck=function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return e._doCheckSubject.next()})},e.prototype._watchDrawerToggle=function(e){var t=this;e._animationStarted.pipe(f.takeUntil(this._drawers.changes),u.filter(function(e){return e.fromState!==e.toState})).subscribe(function(e){"open-instant"!==e.toState&&t._element.nativeElement.classList.add("mat-drawer-transition"),t._updateContentMargins(),t._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(f.takeUntil(this._drawers.changes)).subscribe(function(){return t._setContainerClass(e.opened)})},e.prototype._watchDrawerPosition=function(e){var t=this;e&&e.onPositionChanged.pipe(f.takeUntil(this._drawers.changes)).subscribe(function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(h.take(1)).subscribe(function(){t._validateDrawers()})})},e.prototype._watchDrawerMode=function(e){var t=this;e&&e._modeChanged.pipe(f.takeUntil(l.merge(this._drawers.changes,this._destroyed))).subscribe(function(){t._updateContentMargins(),t._changeDetectorRef.markForCheck()})},e.prototype._setContainerClass=function(e){e?this._element.nativeElement.classList.add("mat-drawer-opened"):this._element.nativeElement.classList.remove("mat-drawer-opened")},e.prototype._validateDrawers=function(){var e=this;this._start=this._end=null,this._drawers.forEach(function(t){"end"==t.position?(null!=e._end&&x("end"),e._end=t):(null!=e._start&&x("start"),e._start=t)}),this._right=this._left=null,this._dir&&"ltr"!=this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)},e.prototype._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode},e.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},e.prototype._closeModalDrawer=function(){[this._start,this._end].filter(function(e){return e&&!e.disableClose&&"side"!==e.mode}).forEach(function(e){return e.close()})},e.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&"side"!=this._start.mode||this._isDrawerOpen(this._end)&&"side"!=this._end.mode},e.prototype._isDrawerOpen=function(e){return null!=e&&e.opened},e.prototype._updateContentMargins=function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){var r=this._left._width;t+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var r=this._right._width;n+=r,t-=r}this._ngZone.run(function(){return e._contentMargins.next({left:t,right:n})})},e.decorators=[{type:o.Component,args:[{selector:"mat-drawer-container",exportAs:"matDrawerContainer",template:'<div class="mat-drawer-backdrop" (click)="_onBackdropClicked()" [class.mat-drawer-shown]="_isShowingBackdrop()"></div><ng-content select="mat-drawer"></ng-content><ng-content select="mat-drawer-content"></ng-content><mat-drawer-content *ngIf="!_content" cdkScrollable><ng-content></ng-content></mat-drawer-content>',styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-sidenav-fixed{position:fixed}"],host:{class:"mat-drawer-container"},changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,preserveWhitespaces:!1}]}],e.ctorParameters=function(){return[{type:c.Directionality,decorators:[{type:o.Optional}]},{type:o.ElementRef},{type:o.NgZone},{type:o.ChangeDetectorRef},{type:void 0,decorators:[{type:o.Inject,args:[O]}]}]},e.propDecorators={_drawers:[{type:o.ContentChildren,args:[E]}],_content:[{type:o.ContentChild,args:[S]}],autosize:[{type:o.Input}],backdropClick:[{type:o.Output}],scrollable:[{type:o.ViewChild,args:[a.CdkScrollable]}]},e}(),P=function(e){function t(t,n){return e.call(this,t,n)||this}return v(t,e),t.decorators=[{type:o.Component,args:[{selector:"mat-sidenav-content",template:"<ng-content></ng-content>",host:{class:"mat-drawer-content mat-sidenav-content","[style.margin-left.px]":"_margins.left","[style.margin-right.px]":"_margins.right"},changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:o.ChangeDetectorRef},{type:R,decorators:[{type:o.Inject,args:[o.forwardRef(function(){return R})]}]}]},t}(S),M=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._fixedInViewport=!1,t._fixedTopGap=0,t._fixedBottomGap=0,t}return v(t,e),Object.defineProperty(t.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=d.coerceBooleanProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=d.coerceNumberProperty(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=d.coerceNumberProperty(e)},enumerable:!0,configurable:!0}),t.decorators=[{type:o.Component,args:[{selector:"mat-sidenav",exportAs:"matSidenav",template:"<ng-content></ng-content>",animations:[C.transformDrawer],host:{class:"mat-drawer mat-sidenav",tabIndex:"-1","[@transform]":"_animationState","(@transform.start)":"_onAnimationStart($event)","(@transform.done)":"_onAnimationEnd($event)","(keydown)":"handleKeydown($event)","[attr.align]":"null","[class.mat-drawer-end]":'position === "end"',"[class.mat-drawer-over]":'mode === "over"',"[class.mat-drawer-push]":'mode === "push"',"[class.mat-drawer-side]":'mode === "side"',"[class.mat-sidenav-fixed]":"fixedInViewport","[style.top.px]":"fixedInViewport ? fixedTopGap : null","[style.bottom.px]":"fixedInViewport ? fixedBottomGap : null"},changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[]},t.propDecorators={fixedInViewport:[{type:o.Input}],fixedTopGap:[{type:o.Input}],fixedBottomGap:[{type:o.Input}]},t}(E),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return v(t,e),t.decorators=[{type:o.Component,args:[{selector:"mat-sidenav-container",exportAs:"matSidenavContainer",template:'<div class="mat-drawer-backdrop" (click)="_onBackdropClicked()" [class.mat-drawer-shown]="_isShowingBackdrop()"></div><ng-content select="mat-sidenav"></ng-content><ng-content select="mat-sidenav-content"></ng-content><mat-sidenav-content *ngIf="!_content" cdkScrollable><ng-content></ng-content></mat-sidenav-content>',styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-sidenav-fixed{position:fixed}"],host:{class:"mat-drawer-container mat-sidenav-container"},changeDetection:o.ChangeDetectionStrategy.OnPush,encapsulation:o.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[]},t.propDecorators={_drawers:[{type:o.ContentChildren,args:[M]}],_content:[{type:o.ContentChild,args:[P]}]},t}(j),T=function(){function e(){}return e.decorators=[{type:o.NgModule,args:[{imports:[r.CommonModule,i.MatCommonModule,t.A11yModule,n.OverlayModule,a.ScrollDispatchModule,s.PlatformModule],exports:[i.MatCommonModule,E,j,S,M,R,P],declarations:[E,j,S,M,R,P],providers:[{provide:O,useValue:!1}]}]}],e.ctorParameters=function(){return[]},e}();e.MatSidenavModule=T,e.throwMatDuplicatedDrawerError=x,e.MatDrawerToggleResult=D,e.MAT_DRAWER_DEFAULT_AUTOSIZE=O,e.MatDrawerContent=S,e.MatDrawer=E,e.MatDrawerContainer=j,e.MatSidenavContent=P,e.MatSidenav=M,e.MatSidenavContainer=R,e.matDrawerAnimations=C,Object.defineProperty(e,"__esModule",{value:!0})}); //# sourceMappingURL=material-sidenav.umd.min.js.map