2 lines
20 KiB
JavaScript
2 lines
20 KiB
JavaScript
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("rxjs"),require("rxjs/operators"),require("@angular/core"),require("@angular/common"),require("perfect-scrollbar"),require("resize-observer-polyfill")):"function"==typeof define&&define.amd?define("ngx-perfect-scrollbar",["exports","rxjs","rxjs/operators","@angular/core","@angular/common","perfect-scrollbar","resize-observer-polyfill"],e):e((t=t||self)["ngx-perfect-scrollbar"]={},t.rxjs,t.rxjs.operators,t.ng.core,t.ng.common,t.PerfectScrollbar,t.ResizeObserver)}(this,(function(t,e,i,o,s,r,n){"use strict";r=r&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var a=new o.InjectionToken("PERFECT_SCROLLBAR_CONFIG"),l=function(t,e,i,o){this.x=t,this.y=e,this.w=i,this.h=o},p=function(t,e){this.x=t,this.y=e},c=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"],h=function(){function t(t){void 0===t&&(t={}),this.assign(t)}return t.prototype.assign=function(t){for(var e in void 0===t&&(t={}),t)this[e]=t[e]},t}(),f=function(){function t(t,i,s,r,n){this.zone=t,this.differs=i,this.elementRef=s,this.platformId=r,this.defaults=n,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new e.Subject,this.disabled=!1,this.psScrollY=new o.EventEmitter,this.psScrollX=new o.EventEmitter,this.psScrollUp=new o.EventEmitter,this.psScrollDown=new o.EventEmitter,this.psScrollLeft=new o.EventEmitter,this.psScrollRight=new o.EventEmitter,this.psYReachEnd=new o.EventEmitter,this.psYReachStart=new o.EventEmitter,this.psXReachEnd=new o.EventEmitter,this.psXReachStart=new o.EventEmitter}return t.prototype.ngOnInit=function(){var t=this;if(!this.disabled&&s.isPlatformBrowser(this.platformId)){var o=new h(this.defaults);o.assign(this.config),this.zone.runOutsideAngular((function(){t.instance=new r(t.elementRef.nativeElement,o)})),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular((function(){t.ro=new n((function(){t.update()})),t.elementRef.nativeElement.children[0]&&t.ro.observe(t.elementRef.nativeElement.children[0]),t.ro.observe(t.elementRef.nativeElement)})),this.zone.runOutsideAngular((function(){c.forEach((function(o){var s=o.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}));e.fromEvent(t.elementRef.nativeElement,s).pipe(i.auditTime(20),i.takeUntil(t.ngDestroy)).subscribe((function(e){t[o].emit(e)}))}))}))}},t.prototype.ngOnDestroy=function(){var t=this;s.isPlatformBrowser(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&"undefined"!=typeof window&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular((function(){t.instance&&t.instance.destroy()})),this.instance=null)},t.prototype.ngDoCheck=function(){!this.disabled&&this.configDiff&&s.isPlatformBrowser(this.platformId)&&(this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit()))},t.prototype.ngOnChanges=function(t){t.disabled&&!t.disabled.isFirstChange()&&s.isPlatformBrowser(this.platformId)&&t.disabled.currentValue!==t.disabled.previousValue&&(!0===t.disabled.currentValue?this.ngOnDestroy():!1===t.disabled.currentValue&&this.ngOnInit())},t.prototype.ps=function(){return this.instance},t.prototype.update=function(){var t=this;"undefined"!=typeof window&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout((function(){if(!t.disabled&&t.configDiff)try{t.zone.runOutsideAngular((function(){t.instance&&t.instance.update()}))}catch(t){}}),0))},t.prototype.geometry=function(t){return void 0===t&&(t="scroll"),new l(this.elementRef.nativeElement[t+"Left"],this.elementRef.nativeElement[t+"Top"],this.elementRef.nativeElement[t+"Width"],this.elementRef.nativeElement[t+"Height"])},t.prototype.position=function(t){return void 0===t&&(t=!1),!t&&this.instance?new p(this.instance.reach.x||0,this.instance.reach.y||0):new p(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)},t.prototype.scrollable=function(t){void 0===t&&(t="any");var e=this.elementRef.nativeElement;return"any"===t?e.classList.contains("ps--active-x")||e.classList.contains("ps--active-y"):"both"===t?e.classList.contains("ps--active-x")&&e.classList.contains("ps--active-y"):e.classList.contains("ps--active-"+t)},t.prototype.scrollTo=function(t,e,i){this.disabled||(null==e&&null==i?this.animateScrolling("scrollTop",t,i):(null!=t&&this.animateScrolling("scrollLeft",t,i),null!=e&&this.animateScrolling("scrollTop",e,i)))},t.prototype.scrollToX=function(t,e){this.animateScrolling("scrollLeft",t,e)},t.prototype.scrollToY=function(t,e){this.animateScrolling("scrollTop",t,e)},t.prototype.scrollToTop=function(t,e){this.animateScrolling("scrollTop",t||0,e)},t.prototype.scrollToLeft=function(t,e){this.animateScrolling("scrollLeft",t||0,e)},t.prototype.scrollToRight=function(t,e){var i=this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth;this.animateScrolling("scrollLeft",i-(t||0),e)},t.prototype.scrollToBottom=function(t,e){var i=this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight;this.animateScrolling("scrollTop",i-(t||0),e)},t.prototype.scrollToElement=function(t,e,i){if("string"==typeof t&&(t=this.elementRef.nativeElement.querySelector(t)),t){var o=t.getBoundingClientRect(),s=this.elementRef.nativeElement.getBoundingClientRect();if(this.elementRef.nativeElement.classList.contains("ps--active-x")){var r=this.elementRef.nativeElement.scrollLeft,n=o.left-s.left+r;this.animateScrolling("scrollLeft",n+(e||0),i)}if(this.elementRef.nativeElement.classList.contains("ps--active-y")){r=this.elementRef.nativeElement.scrollTop,n=o.top-s.top+r;this.animateScrolling("scrollTop",n+(e||0),i)}}},t.prototype.animateScrolling=function(t,e,i){var o=this;if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),i&&"undefined"!=typeof window){if(e!==this.elementRef.nativeElement[t]){var s=0,r=0,n=performance.now(),a=this.elementRef.nativeElement[t],l=(a-e)/2,p=function(c){r+=Math.PI/(i/(c-n)),s=Math.round(e+l+l*Math.cos(r)),o.elementRef.nativeElement[t]===a&&(r>=Math.PI?o.animateScrolling(t,e,0):(o.elementRef.nativeElement[t]=s,a=o.elementRef.nativeElement[t],n=c,o.animation=window.requestAnimationFrame(p)))};window.requestAnimationFrame(p)}}else this.elementRef.nativeElement[t]=e},t}();f.decorators=[{type:o.Directive,args:[{selector:"[perfectScrollbar]",exportAs:"ngxPerfectScrollbar"}]}],f.ctorParameters=function(){return[{type:o.NgZone},{type:o.KeyValueDiffers},{type:o.ElementRef},{type:Object,decorators:[{type:o.Inject,args:[o.PLATFORM_ID]}]},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[a]}]}]},f.propDecorators={disabled:[{type:o.Input}],config:[{type:o.Input,args:["perfectScrollbar"]}],psScrollY:[{type:o.Output}],psScrollX:[{type:o.Output}],psScrollUp:[{type:o.Output}],psScrollDown:[{type:o.Output}],psScrollLeft:[{type:o.Output}],psScrollRight:[{type:o.Output}],psYReachEnd:[{type:o.Output}],psYReachStart:[{type:o.Output}],psXReachEnd:[{type:o.Output}],psXReachStart:[{type:o.Output}]};var u=function(){function t(t,i,s){this.zone=t,this.cdRef=i,this.platformId=s,this.states={},this.indicatorX=!1,this.indicatorY=!1,this.interaction=!1,this.scrollPositionX=0,this.scrollPositionY=0,this.scrollDirectionX=0,this.scrollDirectionY=0,this.usePropagationX=!1,this.usePropagationY=!1,this.allowPropagationX=!1,this.allowPropagationY=!1,this.stateTimeout=null,this.ngDestroy=new e.Subject,this.stateUpdate=new e.Subject,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new o.EventEmitter,this.psScrollX=new o.EventEmitter,this.psScrollUp=new o.EventEmitter,this.psScrollDown=new o.EventEmitter,this.psScrollLeft=new o.EventEmitter,this.psScrollRight=new o.EventEmitter,this.psYReachEnd=new o.EventEmitter,this.psYReachStart=new o.EventEmitter,this.psXReachEnd=new o.EventEmitter,this.psXReachStart=new o.EventEmitter}return t.prototype.ngOnInit=function(){var t=this;s.isPlatformBrowser(this.platformId)&&(this.stateUpdate.pipe(i.takeUntil(this.ngDestroy),i.distinctUntilChanged((function(e,i){return e===i&&!t.stateTimeout}))).subscribe((function(e){t.stateTimeout&&"undefined"!=typeof window&&(window.clearTimeout(t.stateTimeout),t.stateTimeout=null),"x"===e||"y"===e?(t.interaction=!1,"x"===e?(t.indicatorX=!1,t.states.left=!1,t.states.right=!1,t.autoPropagation&&t.usePropagationX&&(t.allowPropagationX=!1)):"y"===e&&(t.indicatorY=!1,t.states.top=!1,t.states.bottom=!1,t.autoPropagation&&t.usePropagationY&&(t.allowPropagationY=!1))):("left"===e||"right"===e?(t.states.left=!1,t.states.right=!1,t.states[e]=!0,t.autoPropagation&&t.usePropagationX&&(t.indicatorX=!0)):"top"!==e&&"bottom"!==e||(t.states.top=!1,t.states.bottom=!1,t.states[e]=!0,t.autoPropagation&&t.usePropagationY&&(t.indicatorY=!0)),t.autoPropagation&&"undefined"!=typeof window&&(t.stateTimeout=window.setTimeout((function(){t.indicatorX=!1,t.indicatorY=!1,t.stateTimeout=null,t.interaction&&(t.states.left||t.states.right)&&(t.allowPropagationX=!0),t.interaction&&(t.states.top||t.states.bottom)&&(t.allowPropagationY=!0),t.cdRef.markForCheck()}),500))),t.cdRef.markForCheck(),t.cdRef.detectChanges()})),this.zone.runOutsideAngular((function(){if(t.directiveRef){var o=t.directiveRef.elementRef.nativeElement;e.fromEvent(o,"wheel").pipe(i.takeUntil(t.ngDestroy)).subscribe((function(e){if(!t.disabled&&t.autoPropagation){var i=e.deltaX,o=e.deltaY;t.checkPropagation(e,i,o)}})),e.fromEvent(o,"touchmove").pipe(i.takeUntil(t.ngDestroy)).subscribe((function(e){if(!t.disabled&&t.autoPropagation){var i=e.touches[0].clientX,o=e.touches[0].clientY,s=i-t.scrollPositionX,r=o-t.scrollPositionY;t.checkPropagation(e,s,r),t.scrollPositionX=i,t.scrollPositionY=o}})),e.merge(e.fromEvent(o,"ps-scroll-x").pipe(i.mapTo("x")),e.fromEvent(o,"ps-scroll-y").pipe(i.mapTo("y")),e.fromEvent(o,"ps-x-reach-end").pipe(i.mapTo("right")),e.fromEvent(o,"ps-y-reach-end").pipe(i.mapTo("bottom")),e.fromEvent(o,"ps-x-reach-start").pipe(i.mapTo("left")),e.fromEvent(o,"ps-y-reach-start").pipe(i.mapTo("top"))).pipe(i.takeUntil(t.ngDestroy)).subscribe((function(e){t.disabled||!t.autoPropagation&&!t.scrollIndicators||t.stateUpdate.next(e)}))}})),window.setTimeout((function(){c.forEach((function(e){t.directiveRef&&(t.directiveRef[e]=t[e])}))}),0))},t.prototype.ngOnDestroy=function(){s.isPlatformBrowser(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&"undefined"!=typeof window&&window.clearTimeout(this.stateTimeout))},t.prototype.ngDoCheck=function(){if(s.isPlatformBrowser(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){var t=this.directiveRef.elementRef.nativeElement;this.usePropagationX=t.classList.contains("ps--active-x"),this.usePropagationY=t.classList.contains("ps--active-y")}},t.prototype.checkPropagation=function(t,e,i){this.interaction=!0;var o=e<0?-1:1,s=i<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==o)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==s))&&(t.preventDefault(),t.stopPropagation()),e&&(this.scrollDirectionX=o),i&&(this.scrollDirectionY=s),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()},t}();u.decorators=[{type:o.Component,args:[{selector:"perfect-scrollbar",exportAs:"ngxPerfectScrollbar",template:'<div style="position: static;" [class.ps]="usePSClass" [perfectScrollbar]="config" [disabled]="disabled">\n <div class="ps-content">\n <ng-content></ng-content>\n </div>\n\n <div *ngIf="scrollIndicators" class="ps-overlay" [class.ps-at-top]="states.top" [class.ps-at-left]="states.left" [class.ps-at-right]="states.right" [class.ps-at-bottom]="states.bottom">\n <div class="ps-indicator-top" [class.ps-indicator-show]="indicatorY && interaction"></div>\n <div class="ps-indicator-left" [class.ps-indicator-show]="indicatorX && interaction"></div>\n <div class="ps-indicator-right" [class.ps-indicator-show]="indicatorX && interaction"></div>\n <div class="ps-indicator-bottom" [class.ps-indicator-show]="indicatorY && interaction"></div>\n </div>\n</div>\n',encapsulation:o.ViewEncapsulation.None,styles:["perfect-scrollbar{display:block;height:100%;max-height:100%;max-width:100%;overflow:hidden;position:relative;width:100%}perfect-scrollbar[hidden]{display:none}perfect-scrollbar[fxflex]{display:flex;flex-direction:column;height:auto;min-height:0;min-width:0}perfect-scrollbar[fxflex]>.ps{-webkit-box-flex:1;flex:1 1 auto;height:auto;min-height:0;min-width:0;width:auto}perfect-scrollbar[fxlayout]>.ps,perfect-scrollbar[fxlayout]>.ps>.ps-content{-webkit-box-align:inherit;-webkit-box-flex:1;-webkit-box-pack:inherit;align-content:inherit;align-items:inherit;display:flex;flex:1 1 auto;flex-direction:inherit;height:100%;justify-content:inherit;width:100%},perfect-scrollbar[fxlayout=row]>.ps,perfect-scrollbar[fxlayout=row]>.ps>.ps-content{flex-direction:row!important}perfect-scrollbar[fxlayout=column]>.ps,perfect-scrollbar[fxlayout=column]>.ps>.ps-content{flex-direction:column!important}perfect-scrollbar>.ps{display:block;height:100%;max-height:100%;max-width:100%;position:static;width:100%}perfect-scrollbar>.ps textarea{-ms-overflow-style:scrollbar}perfect-scrollbar>.ps>.ps-overlay{bottom:0;display:block;left:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{opacity:0;position:absolute;transition:opacity .3s ease-in-out}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{left:0;min-height:24px;min-width:100%}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left,perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{min-height:100%;min-width:24px;top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-top{top:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-left{left:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-right{right:0}perfect-scrollbar>.ps>.ps-overlay .ps-indicator-bottom{bottom:0}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y{cursor:default;left:auto!important;right:0!important;top:0!important;transition:width .2s linear,opacity .2s linear,background-color .2s linear;width:10px}perfect-scrollbar>.ps.ps--active-y>.ps__rail-y.ps--clicking,perfect-scrollbar>.ps.ps--active-y>.ps__rail-y:hover{width:15px}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x{bottom:0!important;cursor:default;height:10px;left:0!important;top:auto!important;transition:height .2s linear,opacity .2s linear,background-color .2s linear}perfect-scrollbar>.ps.ps--active-x>.ps__rail-x.ps--clicking,perfect-scrollbar>.ps.ps--active-x>.ps__rail-x:hover{height:15px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-y{margin:0 0 10px}perfect-scrollbar>.ps.ps--active-x.ps--active-y>.ps__rail-x{margin:0 10px 0 0}perfect-scrollbar>.ps.ps--scrolling-x>.ps__rail-x,perfect-scrollbar>.ps.ps--scrolling-y>.ps__rail-y{background-color:#eee;opacity:.9}perfect-scrollbar.ps-show-always>.ps.ps--active-x>.ps__rail-x,perfect-scrollbar.ps-show-always>.ps.ps--active-y>.ps__rail-y{opacity:.6}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-top) .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-y>.ps-overlay:not(.ps-at-bottom) .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-left) .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active>.ps.ps--active-x>.ps-overlay:not(.ps-at-right) .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,100%,.5) 0,hsla(0,0%,100%,0));opacity:1}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top{background:linear-gradient(180deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom{background:linear-gradient(0deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left{background:linear-gradient(90deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right{background:linear-gradient(270deg,hsla(0,0%,66.7%,.5) 0,hsla(0,0%,66.7%,0))}perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-left .ps-indicator-left.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-x>.ps-overlay.ps-at-right .ps-indicator-right.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-bottom .ps-indicator-bottom.ps-indicator-show,perfect-scrollbar.ps-show-active.ps-show-limits>.ps.ps--active-y>.ps-overlay.ps-at-top .ps-indicator-top.ps-indicator-show{opacity:1}",".ps{-ms-overflow-style:none;-ms-touch-action:auto;overflow:hidden!important;overflow-anchor:none;touch-action:auto}.ps__rail-x{bottom:0;height:15px}.ps__rail-x,.ps__rail-y{-webkit-transition:background-color .2s linear,opacity .2s linear;display:none;opacity:0;position:absolute;transition:background-color .2s linear,opacity .2s linear}.ps__rail-y{right:0;width:15px}.ps--active-x>.ps__rail-x,.ps--active-y>.ps__rail-y{background-color:transparent;display:block}.ps--focus>.ps__rail-x,.ps--focus>.ps__rail-y,.ps--scrolling-x>.ps__rail-x,.ps--scrolling-y>.ps__rail-y,.ps:hover>.ps__rail-x,.ps:hover>.ps__rail-y{opacity:.6}.ps .ps__rail-x.ps--clicking,.ps .ps__rail-x:focus,.ps .ps__rail-x:hover,.ps .ps__rail-y.ps--clicking,.ps .ps__rail-y:focus,.ps .ps__rail-y:hover{background-color:#eee;opacity:.9}.ps__thumb-x{-webkit-transition:background-color .2s linear,height .2s ease-in-out;bottom:2px;height:6px;transition:background-color .2s linear,height .2s ease-in-out}.ps__thumb-x,.ps__thumb-y{background-color:#aaa;border-radius:6px;position:absolute}.ps__thumb-y{-webkit-transition:background-color .2s linear,width .2s ease-in-out;right:2px;transition:background-color .2s linear,width .2s ease-in-out;width:6px}.ps__rail-x.ps--clicking .ps__thumb-x,.ps__rail-x:focus>.ps__thumb-x,.ps__rail-x:hover>.ps__thumb-x{background-color:#999;height:11px}.ps__rail-y.ps--clicking .ps__thumb-y,.ps__rail-y:focus>.ps__thumb-y,.ps__rail-y:hover>.ps__thumb-y{background-color:#999;width:11px}@supports (-ms-overflow-style:none){.ps{overflow:auto!important}}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.ps{overflow:auto!important}}"]}]}],u.ctorParameters=function(){return[{type:o.NgZone},{type:o.ChangeDetectorRef},{type:Object,decorators:[{type:o.Inject,args:[o.PLATFORM_ID]}]}]},u.propDecorators={disabled:[{type:o.Input}],usePSClass:[{type:o.Input}],autoPropagation:[{type:o.HostBinding,args:["class.ps-show-limits"]},{type:o.Input}],scrollIndicators:[{type:o.HostBinding,args:["class.ps-show-active"]},{type:o.Input}],config:[{type:o.Input}],psScrollY:[{type:o.Output}],psScrollX:[{type:o.Output}],psScrollUp:[{type:o.Output}],psScrollDown:[{type:o.Output}],psScrollLeft:[{type:o.Output}],psScrollRight:[{type:o.Output}],psYReachEnd:[{type:o.Output}],psYReachStart:[{type:o.Output}],psXReachEnd:[{type:o.Output}],psXReachStart:[{type:o.Output}],directiveRef:[{type:o.ViewChild,args:[f,{static:!0}]}]};var d=function(t,e){var i=this;this.renderer=t,["ps__child","ps__child--consume"].forEach((function(t){i.renderer.addClass(null==e?void 0:e.nativeElement,t)}))};d.decorators=[{type:o.Directive,args:[{selector:"[forceNativeScrolling]"}]}],d.ctorParameters=function(){return[{type:o.Renderer2},{type:o.ElementRef}]};var m=function(){};m.decorators=[{type:o.NgModule,args:[{imports:[s.CommonModule],declarations:[u,f,d],exports:[s.CommonModule,u,f,d]}]}],t.Geometry=l,t.PERFECT_SCROLLBAR_CONFIG=a,t.PerfectScrollbarComponent=u,t.PerfectScrollbarConfig=h,t.PerfectScrollbarDirective=f,t.PerfectScrollbarModule=m,t.Position=p,t.ɵa=d,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
//# sourceMappingURL=ngx-perfect-scrollbar.umd.min.js.map
|