UNPKG

angular-split-ng6

Version:

Copy of angular-split but with aszechlicki fix, and some other errors patched for angular 6.

1 lines 24 kB
!function(global,factory){"object"==typeof exports&&"undefined"!=typeof module?factory(exports,require("@angular/core"),require("@angular/common"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["exports","@angular/core","@angular/common","rxjs","rxjs/operators"],factory):factory((global.ng=global.ng||{},global.ng.angularSplit={}),global.ng.core,global.ng.common,global.rxjs,global.rxjs.operators)}(this,function(exports,core,common,rxjs,operators){"use strict";var SplitComponent=function(){function SplitComponent(ngZone,elRef,cdRef,renderer){this.ngZone=ngZone,this.elRef=elRef,this.cdRef=cdRef,this.renderer=renderer,this._direction="horizontal",this._useTransition=!1,this._disabled=!1,this._width=null,this._height=null,this._gutterSize=11,this._gutterColor="",this._gutterImageH="",this._gutterImageV="",this._dir="ltr",this.dragStart=new core.EventEmitter(!1),this.dragProgress=new core.EventEmitter(!1),this.dragEnd=new core.EventEmitter(!1),this.gutterClick=new core.EventEmitter(!1),this.transitionEndInternal=new rxjs.Subject,this.transitionEnd=this.transitionEndInternal.asObservable().pipe(operators.debounceTime(20)),this.isViewInitialized=!1,this.displayedAreas=[],this.isDragging=!1,this.draggingWithoutMove=!1,this.currentGutterNum=0,this.hidedAreas=[],this.dragListeners=[],this.dragStartValues={sizePixelContainer:0,sizePixelA:0,sizePixelB:0,sizePercentA:0,sizePercentB:0}}return Object.defineProperty(SplitComponent.prototype,"direction",{get:function(){return this._direction},set:function(v){var _this=this;v="vertical"===v?"vertical":"horizontal",this._direction=v,this.displayedAreas.concat(this.hidedAreas).forEach(function(area){area.comp.setStyleVisibleAndDir(area.comp.visible,_this.isDragging,_this.direction)}),this.build(!1,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"useTransition",{get:function(){return this._useTransition},set:function(v){v="boolean"==typeof v?v:"false"!==v,this._useTransition=v},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"disabled",{get:function(){return this._disabled},set:function(v){v="boolean"==typeof v?v:"false"!==v,this._disabled=v,this.cdRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"width",{get:function(){return this._width},set:function(v){v=Number(v),this._width=!isNaN(v)&&v>0?v:null,this.build(!1,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"height",{get:function(){return this._height},set:function(v){v=Number(v),this._height=!isNaN(v)&&v>0?v:null,this.build(!1,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"gutterSize",{get:function(){return this._gutterSize},set:function(v){v=Number(v),this._gutterSize=!isNaN(v)&&v>0?v:11,this.build(!1,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"gutterColor",{get:function(){return this._gutterColor},set:function(v){this._gutterColor="string"==typeof v&&""!==v?v:"",this.cdRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"gutterImageH",{get:function(){return this._gutterImageH},set:function(v){this._gutterImageH="string"==typeof v&&""!==v?v:"",this.cdRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"gutterImageV",{get:function(){return this._gutterImageV},set:function(v){this._gutterImageV="string"==typeof v&&""!==v?v:"",this.cdRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"dir",{get:function(){return this._dir},set:function(v){v="rtl"===v?"rtl":"ltr",this._dir=v},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"cssFlexdirection",{get:function(){return"horizontal"===this.direction?"row":"column"},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"cssWidth",{get:function(){return this.width?this.width+"px":"100%"},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"cssHeight",{get:function(){return this.height?this.height+"px":"100%"},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"cssMinwidth",{get:function(){return"horizontal"===this.direction?this.getNbGutters()*this.gutterSize+"px":null},enumerable:!0,configurable:!0}),Object.defineProperty(SplitComponent.prototype,"cssMinheight",{get:function(){return"vertical"===this.direction?this.getNbGutters()*this.gutterSize+"px":null},enumerable:!0,configurable:!0}),SplitComponent.prototype.ngAfterViewInit=function(){this.isViewInitialized=!0},SplitComponent.prototype.startDragging=function(startEvent,gutterOrder,gutterNum){var _this=this;if(startEvent.preventDefault(),this.currentGutterNum=gutterNum,this.draggingWithoutMove=!0,this.ngZone.runOutsideAngular(function(){_this.dragListeners.push(_this.renderer.listen("document","mouseup",function(e){return _this.stopDragging()})),_this.dragListeners.push(_this.renderer.listen("document","touchend",function(e){return _this.stopDragging()})),_this.dragListeners.push(_this.renderer.listen("document","touchcancel",function(e){return _this.stopDragging()}))}),!this.disabled){var areaA=this.displayedAreas.find(function(a){return a.order===gutterOrder-1}),areaB=this.displayedAreas.find(function(a){return a.order===gutterOrder+1});if(areaA&&areaB){var prop="horizontal"===this.direction?"offsetWidth":"offsetHeight";this.dragStartValues.sizePixelContainer=this.elRef.nativeElement[prop],this.dragStartValues.sizePixelA=areaA.comp.getSizePixel(prop),this.dragStartValues.sizePixelB=areaB.comp.getSizePixel(prop),this.dragStartValues.sizePercentA=areaA.size,this.dragStartValues.sizePercentB=areaB.size;var start;if(startEvent instanceof MouseEvent)start={x:startEvent.screenX,y:startEvent.screenY};else{if(!(startEvent instanceof TouchEvent))return;start={x:startEvent.touches[0].screenX,y:startEvent.touches[0].screenY}}this.ngZone.runOutsideAngular(function(){_this.dragListeners.push(_this.renderer.listen("document","mousemove",function(e){return _this.dragEvent(e,start,areaA,areaB)})),_this.dragListeners.push(_this.renderer.listen("document","touchmove",function(e){return _this.dragEvent(e,start,areaA,areaB)}))}),areaA.comp.lockEvents(),areaB.comp.lockEvents(),this.isDragging=!0,this.notify("start")}}},SplitComponent.prototype.notify=function(type){var areasSize=this.displayedAreas.map(function(a){return 100*a.size});switch(type){case"start":return this.dragStart.emit({gutterNum:this.currentGutterNum,sizes:areasSize});case"progress":return this.dragProgress.emit({gutterNum:this.currentGutterNum,sizes:areasSize});case"end":return this.dragEnd.emit({gutterNum:this.currentGutterNum,sizes:areasSize});case"click":return this.gutterClick.emit({gutterNum:this.currentGutterNum,sizes:areasSize});case"transitionEnd":return this.transitionEndInternal.next(areasSize)}},SplitComponent.prototype.ngOnDestroy=function(){this.stopDragging()},SplitComponent.prototype.addArea=function(comp){var newArea={comp:comp,order:0,size:0};!0===comp.visible?this.displayedAreas.push(newArea):this.hidedAreas.push(newArea),comp.setStyleVisibleAndDir(comp.visible,this.isDragging,this.direction),this.build(!0,!0)},SplitComponent.prototype.removeArea=function(comp){if(this.displayedAreas.some(function(a){return a.comp===comp})){area=this.displayedAreas.find(function(a){return a.comp===comp});this.displayedAreas.splice(this.displayedAreas.indexOf(area),1),this.build(!0,!0)}else if(this.hidedAreas.some(function(a){return a.comp===comp})){var area=this.hidedAreas.find(function(a){return a.comp===comp});this.hidedAreas.splice(this.hidedAreas.indexOf(area),1)}},SplitComponent.prototype.updateArea=function(comp,resetOrders,resetSizes){this.displayedAreas.find(function(a){return a.comp===comp})&&this.build(resetOrders,resetSizes)},SplitComponent.prototype.showArea=function(comp){var area=this.hidedAreas.find(function(a){return a.comp===comp});if(area){comp.setStyleVisibleAndDir(comp.visible,this.isDragging,this.direction);var areas=this.hidedAreas.splice(this.hidedAreas.indexOf(area),1);(_a=this.displayedAreas).push.apply(_a,areas),this.build(!0,!0)}var _a},SplitComponent.prototype.hideArea=function(comp){var area=this.displayedAreas.find(function(a){return a.comp===comp});if(area){comp.setStyleVisibleAndDir(comp.visible,this.isDragging,this.direction);var areas=this.displayedAreas.splice(this.displayedAreas.indexOf(area),1);areas.forEach(function(area){area.order=0,area.size=0}),(_a=this.hidedAreas).push.apply(_a,areas),this.build(!0,!0)}var _a},SplitComponent.prototype.getNbGutters=function(){return this.displayedAreas.length-1},SplitComponent.prototype.build=function(resetOrders,resetSizes){var _this=this;if(this.stopDragging(),!0===resetOrders&&(this.displayedAreas.every(function(a){return null!==a.comp.order})&&this.displayedAreas.sort(function(a,b){return a.comp.order-b.comp.order}),this.displayedAreas.forEach(function(area,i){area.order=2*i,area.comp.setStyleOrder(area.order)})),!0===resetSizes){var totalUserSize=this.displayedAreas.reduce(function(total,s){return s.comp.size?total+s.comp.size:total},0);if(this.displayedAreas.every(function(a){return null!==a.comp.size})&&totalUserSize>.999&&totalUserSize<1.001)this.displayedAreas.forEach(function(area){area.size=area.comp.size});else{var size_1=1/this.displayedAreas.length;this.displayedAreas.forEach(function(area){area.size=size_1})}}var percentToDispatch=0,containerSizePixel=this.getNbGutters()*this.gutterSize;if(containerSizePixel="horizontal"===this.direction?this.width?this.width:this.elRef.nativeElement.offsetWidth:this.height?this.height:this.elRef.nativeElement.offsetHeight,this.displayedAreas.forEach(function(area){area.size*containerSizePixel<_this.gutterSize&&(percentToDispatch+=area.size,area.size=0)}),percentToDispatch>0&&this.displayedAreas.length>0){var nbAreasNotZero=this.displayedAreas.filter(function(a){return 0!==a.size}).length;if(nbAreasNotZero>0){var percentToAdd_1=percentToDispatch/nbAreasNotZero;this.displayedAreas.filter(function(a){return 0!==a.size}).forEach(function(area){area.size+=percentToAdd_1})}else this.displayedAreas[this.displayedAreas.length-1].size=1}this.refreshStyleSizes(),this.cdRef.markForCheck()},SplitComponent.prototype.refreshStyleSizes=function(){var _this=this,sumGutterSize=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(function(area){area.comp.setStyleFlexbasis("calc( "+100*area.size+"% - "+area.size*sumGutterSize+"px )",_this.isDragging)})},SplitComponent.prototype.dragEvent=function(event,start,areaA,areaB){if(this.isDragging){var end;if(event instanceof MouseEvent)end={x:event.screenX,y:event.screenY};else{if(!(event instanceof TouchEvent))return;end={x:event.touches[0].screenX,y:event.touches[0].screenY}}this.draggingWithoutMove=!1,this.drag(start,end,areaA,areaB)}},SplitComponent.prototype.drag=function(start,end,areaA,areaB){var devicePixelRatio=window.devicePixelRatio||1,offsetPixel="horizontal"===this.direction?start.x-end.x:start.y-end.y;offsetPixel/=devicePixelRatio,"rtl"===this.dir&&(offsetPixel=-offsetPixel);var newSizePixelA=this.dragStartValues.sizePixelA-offsetPixel,newSizePixelB=this.dragStartValues.sizePixelB+offsetPixel;newSizePixelA<this.gutterSize&&newSizePixelB<this.gutterSize||(newSizePixelA<this.gutterSize?(newSizePixelB+=newSizePixelA,newSizePixelA=0):newSizePixelB<this.gutterSize&&(newSizePixelA+=newSizePixelB,newSizePixelB=0),0===newSizePixelA?(areaB.size+=areaA.size,areaA.size=0):0===newSizePixelB?(areaA.size+=areaB.size,areaB.size=0):0===this.dragStartValues.sizePercentA?(areaB.size=this.dragStartValues.sizePercentB/this.dragStartValues.sizePixelB*newSizePixelB,areaA.size=this.dragStartValues.sizePercentB-areaB.size):0===this.dragStartValues.sizePercentB?(areaA.size=this.dragStartValues.sizePercentA/this.dragStartValues.sizePixelA*newSizePixelA,areaB.size=this.dragStartValues.sizePercentA-areaA.size):(areaA.size=this.dragStartValues.sizePercentA/this.dragStartValues.sizePixelA*newSizePixelA,areaB.size=this.dragStartValues.sizePercentA+this.dragStartValues.sizePercentB-areaA.size),this.refreshStyleSizes(),this.notify("progress"))},SplitComponent.prototype.stopDragging=function(){if(!1!==this.isDragging||!1!==this.draggingWithoutMove){for(this.displayedAreas.forEach(function(area){area.comp.unlockEvents()});this.dragListeners.length>0;){var fct=this.dragListeners.pop();fct&&fct()}!0===this.draggingWithoutMove?this.notify("click"):this.notify("end"),this.isDragging=!1,this.draggingWithoutMove=!1}},SplitComponent.decorators=[{type:core.Component,args:[{selector:"split",changeDetection:core.ChangeDetectionStrategy.OnPush,styles:["\n :host {\n display: flex;\n flex-wrap: nowrap;\n justify-content: flex-start;\n align-items: stretch;\n overflow: hidden;\n /* \n Important to keep following rules even if overrided later by 'HostBinding' \n because if [width] & [height] not provided, when build() is executed,\n 'HostBinding' hasn't been applied yet so code:\n this.elRef.nativeElement[\"offsetHeight\"] gives wrong value! \n */\n width: 100%;\n height: 100%; \n }\n\n split-gutter {\n flex-grow: 0;\n flex-shrink: 0;\n background-position: center center;\n background-repeat: no-repeat;\n }\n "],template:'\n <ng-content></ng-content>\n <ng-template ngFor let-area [ngForOf]="displayedAreas" let-index="index" let-last="last">\n <split-gutter *ngIf="last === false" \n [order]="index*2+1"\n [direction]="direction"\n [useTransition]="useTransition"\n [size]="gutterSize"\n [color]="gutterColor"\n [imageH]="gutterImageH"\n [imageV]="gutterImageV"\n [disabled]="disabled"\n (mousedown)="startDragging($event, index*2+1, index+1)"\n (touchstart)="startDragging($event, index*2+1, index+1)"></split-gutter>\n </ng-template>'}]}],SplitComponent.ctorParameters=function(){return[{type:core.NgZone},{type:core.ElementRef},{type:core.ChangeDetectorRef},{type:core.Renderer2}]},SplitComponent.propDecorators={direction:[{type:core.Input}],useTransition:[{type:core.Input}],disabled:[{type:core.Input}],width:[{type:core.Input}],height:[{type:core.Input}],gutterSize:[{type:core.Input}],gutterColor:[{type:core.Input}],gutterImageH:[{type:core.Input}],gutterImageV:[{type:core.Input}],dir:[{type:core.Input}],dragStart:[{type:core.Output}],dragProgress:[{type:core.Output}],dragEnd:[{type:core.Output}],gutterClick:[{type:core.Output}],transitionEnd:[{type:core.Output}],cssFlexdirection:[{type:core.HostBinding,args:["style.flex-direction"]}],cssWidth:[{type:core.HostBinding,args:["style.width"]}],cssHeight:[{type:core.HostBinding,args:["style.height"]}],cssMinwidth:[{type:core.HostBinding,args:["style.min-width"]}],cssMinheight:[{type:core.HostBinding,args:["style.min-height"]}]},SplitComponent}(),SplitAreaDirective=function(){function SplitAreaDirective(ngZone,elRef,renderer,split){this.ngZone=ngZone,this.elRef=elRef,this.renderer=renderer,this.split=split,this._order=null,this._size=null,this._minSize=0,this._visible=!0,this.transitionListener=null,this.lockListeners=[]}return Object.defineProperty(SplitAreaDirective.prototype,"order",{get:function(){return this._order},set:function(v){v=Number(v),this._order=isNaN(v)?null:v,this.split.updateArea(this,!0,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(SplitAreaDirective.prototype,"size",{get:function(){return this._size},set:function(v){v=Number(v),this._size=!isNaN(v)&&v>=0&&v<=100?v/100:null,this.split.updateArea(this,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(SplitAreaDirective.prototype,"minSize",{get:function(){return this._minSize},set:function(v){v=Number(v),this._minSize=!isNaN(v)&&v>0&&v<100?v/100:0,this.split.updateArea(this,!1,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(SplitAreaDirective.prototype,"visible",{get:function(){return this._visible},set:function(v){v="boolean"==typeof v?v:"false"!==v,this._visible=v,this.visible?this.split.showArea(this):this.split.hideArea(this)},enumerable:!0,configurable:!0}),SplitAreaDirective.prototype.ngOnInit=function(){var _this=this;this.split.addArea(this),this.renderer.setStyle(this.elRef.nativeElement,"flex-grow","0"),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink","0"),this.ngZone.runOutsideAngular(function(){_this.transitionListener=_this.renderer.listen(_this.elRef.nativeElement,"transitionend",function(e){return _this.onTransitionEnd(e)})})},SplitAreaDirective.prototype.getSizePixel=function(prop){return this.elRef.nativeElement[prop]},SplitAreaDirective.prototype.setStyleVisibleAndDir=function(isVisible,isDragging,direction){!1===isVisible?(this.setStyleFlexbasis("0",isDragging),this.renderer.setStyle(this.elRef.nativeElement,"overflow-x","hidden"),this.renderer.setStyle(this.elRef.nativeElement,"overflow-y","hidden"),"vertical"===direction&&this.renderer.setStyle(this.elRef.nativeElement,"max-width","0")):(this.renderer.setStyle(this.elRef.nativeElement,"overflow-x","hidden"),this.renderer.setStyle(this.elRef.nativeElement,"overflow-y","auto"),this.renderer.removeStyle(this.elRef.nativeElement,"max-width")),"horizontal"===direction?(this.renderer.setStyle(this.elRef.nativeElement,"height","100%"),this.renderer.removeStyle(this.elRef.nativeElement,"width")):(this.renderer.setStyle(this.elRef.nativeElement,"width","100%"),this.renderer.removeStyle(this.elRef.nativeElement,"height"))},SplitAreaDirective.prototype.setStyleOrder=function(value){this.renderer.setStyle(this.elRef.nativeElement,"order",value)},SplitAreaDirective.prototype.setStyleFlexbasis=function(value,isDragging){!1===this.split.isViewInitialized||!0===isDragging?this.setStyleTransition(!1):this.setStyleTransition(this.split.useTransition),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",value)},SplitAreaDirective.prototype.setStyleTransition=function(useTransition){useTransition?this.renderer.setStyle(this.elRef.nativeElement,"transition","flex-basis 0.3s"):this.renderer.removeStyle(this.elRef.nativeElement,"transition")},SplitAreaDirective.prototype.onTransitionEnd=function(event){"flex-basis"===event.propertyName&&this.split.notify("transitionEnd")},SplitAreaDirective.prototype.lockEvents=function(){var _this=this;this.ngZone.runOutsideAngular(function(){_this.lockListeners.push(_this.renderer.listen(_this.elRef.nativeElement,"selectstart",function(e){return!1})),_this.lockListeners.push(_this.renderer.listen(_this.elRef.nativeElement,"dragstart",function(e){return!1}))})},SplitAreaDirective.prototype.unlockEvents=function(){for(;this.lockListeners.length>0;){var fct=this.lockListeners.pop();fct&&fct()}},SplitAreaDirective.prototype.ngOnDestroy=function(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)},SplitAreaDirective.decorators=[{type:core.Directive,args:[{selector:"split-area"}]}],SplitAreaDirective.ctorParameters=function(){return[{type:core.NgZone},{type:core.ElementRef},{type:core.Renderer2},{type:SplitComponent}]},SplitAreaDirective.propDecorators={order:[{type:core.Input}],size:[{type:core.Input}],minSize:[{type:core.Input}],visible:[{type:core.Input}]},SplitAreaDirective}(),SplitGutterDirective=function(){function SplitGutterDirective(elRef,renderer){this.elRef=elRef,this.renderer=renderer,this._direction="vertical",this._size=0,this._color="",this._imageH="",this._imageV="",this._disabled=!1}return Object.defineProperty(SplitGutterDirective.prototype,"order",{set:function(v){this.renderer.setStyle(this.elRef.nativeElement,"order",v)},enumerable:!0,configurable:!0}),Object.defineProperty(SplitGutterDirective.prototype,"direction",{get:function(){return this._direction},set:function(v){this._direction=v,this.refreshStyle()},enumerable:!0,configurable:!0}),Object.defineProperty(SplitGutterDirective.prototype,"useTransition",{set:function(v){v?this.renderer.setStyle(this.elRef.nativeElement,"transition","flex-basis 0.3s"):this.renderer.removeStyle(this.elRef.nativeElement,"transition")},enumerable:!0,configurable:!0}),Object.defineProperty(SplitGutterDirective.prototype,"size",{get:function(){return this._size},set:function(v){this._size=v,this.refreshStyle()},enumerable:!0,configurable:!0}),Object.defineProperty(SplitGutterDirective.prototype,"color",{get:function(){return this._color},set:function(v){this._color=v,this.refreshStyle()},enumerable:!0,configurable:!0}),Object.defineProperty(SplitGutterDirective.prototype,"imageH",{get:function(){return this._imageH},set:function(v){this._imageH=v,this.refreshStyle()},enumerable:!0,configurable:!0}),Object.defineProperty(SplitGutterDirective.prototype,"imageV",{get:function(){return this._imageV},set:function(v){this._imageV=v,this.refreshStyle()},enumerable:!0,configurable:!0}),Object.defineProperty(SplitGutterDirective.prototype,"disabled",{get:function(){return this._disabled},set:function(v){this._disabled=v,this.refreshStyle()},enumerable:!0,configurable:!0}),SplitGutterDirective.prototype.refreshStyle=function(){this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",this.size+"px"),this.renderer.setStyle(this.elRef.nativeElement,"height","vertical"===this.direction?this.size+"px":"100%"),this.renderer.setStyle(this.elRef.nativeElement,"background-color",""!==this.color?this.color:"#eeeeee");var state=!0===this.disabled?"disabled":this.direction;this.renderer.setStyle(this.elRef.nativeElement,"background-image",this.getImage(state)),this.renderer.setStyle(this.elRef.nativeElement,"cursor",this.getCursor(state))},SplitGutterDirective.prototype.getCursor=function(state){switch(state){case"horizontal":return"col-resize";case"vertical":return"row-resize";case"disabled":return"default"}},SplitGutterDirective.prototype.getImage=function(state){switch(state){case"horizontal":return""!==this.imageH?this.imageH:defaultImageH;case"vertical":return""!==this.imageV?this.imageV:defaultImageV;case"disabled":return""}},SplitGutterDirective.decorators=[{type:core.Directive,args:[{selector:"split-gutter"}]}],SplitGutterDirective.ctorParameters=function(){return[{type:core.ElementRef},{type:core.Renderer2}]},SplitGutterDirective.propDecorators={order:[{type:core.Input}],direction:[{type:core.Input}],useTransition:[{type:core.Input}],size:[{type:core.Input}],color:[{type:core.Input}],imageH:[{type:core.Input}],imageV:[{type:core.Input}],disabled:[{type:core.Input}]},SplitGutterDirective}(),defaultImageH='url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==")',defaultImageV='url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC")',AngularSplitModule=function(){function AngularSplitModule(){}return AngularSplitModule.forRoot=function(){return{ngModule:AngularSplitModule,providers:[]}},AngularSplitModule.forChild=function(){return{ngModule:AngularSplitModule,providers:[]}},AngularSplitModule.decorators=[{type:core.NgModule,args:[{imports:[common.CommonModule],declarations:[SplitComponent,SplitAreaDirective,SplitGutterDirective],exports:[SplitComponent,SplitAreaDirective]}]}],AngularSplitModule}();exports.AngularSplitModule=AngularSplitModule,exports.SplitComponent=SplitComponent,exports.SplitAreaDirective=SplitAreaDirective,exports.ɵa=SplitGutterDirective,Object.defineProperty(exports,"__esModule",{value:!0})});