Socket
Socket
Sign inDemoInstall

ngx-color-picker

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-color-picker - npm Package Compare versions

Comparing version 4.5.1 to 4.5.2

2

bundles/ngx-color-picker.umd.min.js

@@ -1,1 +0,1 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-color-picker",["@angular/core","@angular/common"],e):"object"==typeof exports?exports["ngx-color-picker"]=e(require("@angular/core"),require("@angular/common")):t["ngx-color-picker"]=e(t["@angular/core"],t["@angular/common"])}(this,function(t,e){return function(t){function e(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var o={};return e.m=t,e.c=o,e.i=function(t){return t},e.d=function(t,o,i){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=9)}([function(e,o){e.exports=t},function(t,e,o){"use strict";var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(0),s=o(3),a=function(){function t(){this.active=null}return t.prototype.setActive=function(t){this.active&&this.active!==t&&"inline"!==this.active.cpDialogDisplay&&this.active.closeColorPicker(),this.active=t},t.prototype.hsla2hsva=function(t){var e=Math.min(t.h,1),o=Math.min(t.s,1),i=Math.min(t.l,1),n=Math.min(t.a,1);if(0===i)return new s.Hsva(e,0,0,n);var r=i+o*(1-Math.abs(2*i-1))/2;return new s.Hsva(e,2*(r-i)/r,r,n)},t.prototype.hsva2hsla=function(t){var e=t.h,o=t.s,i=t.v,n=t.a;if(0===i)return new s.Hsla(e,0,0,n);if(0===o&&1===i)return new s.Hsla(e,1,1,n);var r=i*(2-o)/2;return new s.Hsla(e,i*o/(1-Math.abs(2*r-1)),r,n)},t.prototype.rgbaToHsva=function(t){var e,o,i=Math.min(t.r,1),n=Math.min(t.g,1),r=Math.min(t.b,1),a=Math.min(t.a,1),p=Math.max(i,n,r),l=Math.min(i,n,r),c=p,d=p-l;if(o=0===p?0:d/p,p===l)e=0;else{switch(p){case i:e=(n-r)/d+(n<r?6:0);break;case n:e=(r-i)/d+2;break;case r:e=(i-n)/d+4}e/=6}return new s.Hsva(e,o,c,a)},t.prototype.hsvaToRgba=function(t){var e,o,i,n=t.h,r=t.s,a=t.v,p=t.a,l=Math.floor(6*n),c=6*n-l,d=a*(1-r),h=a*(1-c*r),u=a*(1-(1-c)*r);switch(l%6){case 0:e=a,o=u,i=d;break;case 1:e=h,o=a,i=d;break;case 2:e=d,o=a,i=u;break;case 3:e=d,o=h,i=a;break;case 4:e=u,o=d,i=a;break;case 5:e=a,o=d,i=h}return new s.Rgba(e,o,i,p)},t.prototype.stringToHsva=function(t,e){void 0===t&&(t=""),void 0===e&&(e=!1);var o=[{re:/(rgb)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*%?,\s*(\d{1,3})\s*%?(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return new s.Rgba(parseInt(t[2])/255,parseInt(t[3])/255,parseInt(t[4])/255,isNaN(parseFloat(t[5]))?1:parseFloat(t[5]))}},{re:/(hsl)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return new s.Hsla(parseInt(t[2])/360,parseInt(t[3])/100,parseInt(t[4])/100,isNaN(parseFloat(t[5]))?1:parseFloat(t[5]))}}];e?o.push({re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})?$/,parse:function(t){return new s.Rgba(parseInt(t[1],16)/255,parseInt(t[2],16)/255,parseInt(t[3],16)/255,parseInt(t[4]||"FF",16)/255)}}):o.push({re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})$/,parse:function(t){return new s.Rgba(parseInt(t[1],16)/255,parseInt(t[2],16)/255,parseInt(t[3],16)/255,1)}},{re:/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])$/,parse:function(t){return new s.Rgba(parseInt(t[1]+t[1],16)/255,parseInt(t[2]+t[2],16)/255,parseInt(t[3]+t[3],16)/255,1)}}),t=(t||"").toLowerCase();var i=null;for(var n in o)if(o.hasOwnProperty(n)){var r=o[n],a=r.re.exec(t),p=a&&r.parse(a);if(p)return p instanceof s.Rgba?i=this.rgbaToHsva(p):p instanceof s.Hsla&&(i=this.hsla2hsva(p)),i}return i},t.prototype.outputFormat=function(t,e,o){switch(e){case"hsla":var i=this.hsva2hsla(t),n=new s.Hsla(Math.round(360*i.h),Math.round(100*i.s),Math.round(100*i.l),Math.round(100*i.a)/100);return t.a<1||"always"===o?"hsla("+n.h+","+n.s+"%,"+n.l+"%,"+n.a+")":"hsl("+n.h+","+n.s+"%,"+n.l+"%)";case"rgba":var r=this.denormalizeRGBA(this.hsvaToRgba(t));return t.a<1||"always"===o?"rgba("+r.r+","+r.g+","+r.b+","+Math.round(100*r.a)/100+")":"rgb("+r.r+","+r.g+","+r.b+")";default:return this.hexText(this.denormalizeRGBA(this.hsvaToRgba(t)),"always"===o||"hex8"===o)}},t.prototype.hexText=function(t,e){var o="#"+(1<<24|t.r<<16|t.g<<8|t.b).toString(16).substr(1);return e&&(o+=(256|Math.round(255*t.a)).toString(16).substr(1)),o},t.prototype.denormalizeRGBA=function(t){return new s.Rgba(Math.round(255*t.r),Math.round(255*t.g),Math.round(255*t.b),t.a)},t=i([r.Injectable(),n("design:paramtypes",[])],t)}();e.ColorPickerService=a},function(t,e,o){"use strict";var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(0),s=o(1),a=o(3),p=o(4),l=function(){function t(t,e,o){this.el=t,this.cdr=e,this.service=o,this.dialogArrowSize=10,this.dialogArrowOffset=15,this.useRootViewContainer=!1,this.isIE10=!1}return t.prototype.setDialog=function(t,e,o,i,n,r,s,a,l,c,d,h,u,g,v,f,A,C,b,x,m,y,w,k,B,V,R,I,S){this.directiveInstance=t,this.initialColor=o,this.directiveElementRef=e,this.cpPosition=i,this.cpPositionOffset=parseInt(n),r||(this.dialogArrowOffset=0),this.cpOutputFormat=s,this.cpPresetLabel=a,this.cpPresetEmptyMessage=l,this.cpPresetEmptyMessageClass=c,this.cpPresetColors=d,this.cpMaxPresetColorsLength=h,this.cpCancelButton=u,this.cpCancelButtonClass=g,this.cpCancelButtonText=v,this.cpOKButton=f,this.cpOKButtonClass=A,this.cpOKButtonText=C,this.cpAddColorButton=b,this.cpAddColorButtonClass=x,this.cpAddColorButtonText=m,this.cpRemoveColorButtonClass=y,this.width=this.cpWidth=parseInt(k),this.height=this.cpHeight=parseInt(w),this.cpIgnoredElements=B,this.cpDialogDisplay=V,"inline"===this.cpDialogDisplay&&(this.dialogArrowOffset=0,this.dialogArrowSize=0),this.cpSaveClickOutside=R,this.cpAlphaChannel=I,this.useRootViewContainer=S,"hex"===s&&"always"!==I&&"hex8"!==I&&(this.cpAlphaChannel="disabled"),this.isIE10=10===p.detectIE()},t.prototype.ngOnInit=function(){var t=this,e=this.alphaSlider.nativeElement.offsetWidth,o=this.hueSlider.nativeElement.offsetWidth;this.sliderDimMax=new p.SliderDimension(o,this.cpWidth,130,e),this.slider=new p.SliderPosition(0,0,0,0),"rgba"===this.cpOutputFormat?this.format=1:"hsla"===this.cpOutputFormat?this.format=2:this.format=0,this.listenerMouseDown=function(e){t.onMouseDown(e)},this.listenerResize=function(){t.onResize()},this.openDialog(this.initialColor,!1)},t.prototype.ngAfterViewInit=function(){if(230!=this.cpWidth){var t=this.alphaSlider.nativeElement.offsetWidth,e=this.hueSlider.nativeElement.offsetWidth;this.sliderDimMax=new p.SliderDimension(e,this.cpWidth,130,t),this.update(!1),this.cdr.detectChanges()}},t.prototype.setInitialColor=function(t){this.initialColor=t},t.prototype.setPresetConfig=function(t,e){this.cpPresetLabel=t,this.cpPresetColors=e},t.prototype.openDialog=function(t,e){void 0===e&&(e=!0),this.service.setActive(this),this.width||(this.cpWidth=this.directiveElementRef.nativeElement.offsetWidth),this.setInitialColor(t),this.setColorFromString(t,e),this.openColorPicker()},t.prototype.cancelColor=function(t){t&&t.stopPropagation&&t.stopPropagation(),this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker()),this.directiveInstance.colorCanceled()},t.prototype.oKColor=function(t){t&&t.stopPropagation&&t.stopPropagation(),"popup"===this.cpDialogDisplay&&this.closeColorPicker(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor)},t.prototype.setColorFromString=function(t,e){void 0===e&&(e=!0);var o;"always"===this.cpAlphaChannel||"hex8"===this.cpAlphaChannel?(o=this.service.stringToHsva(t,!0))||this.hsva||(o=this.service.stringToHsva(t,!1)):o=this.service.stringToHsva(t,!1),o&&(this.hsva=o,this.update(e))},t.prototype.addPresetColor=function(t){this.cpPresetColors.filter(function(e){return e===t}).length||(this.cpPresetColors=this.cpPresetColors.concat(t),this.directiveInstance.presetColorsChanged(this.cpPresetColors))},t.prototype.removePresetColor=function(t){this.cpPresetColors=this.cpPresetColors.filter(function(e){return e!==t}),this.directiveInstance.presetColorsChanged(this.cpPresetColors)},t.prototype.onDragEnd=function(t){this.directiveInstance.sliderDragEnd({slider:t,color:this.outputColor})},t.prototype.onDragStart=function(t){this.directiveInstance.sliderDragStart({slider:t,color:this.outputColor})},t.prototype.onMouseDown=function(t){this.isDescendant(this.el.nativeElement,t.target)||t.target==this.directiveElementRef.nativeElement||0!==this.cpIgnoredElements.filter(function(e){return e===t.target}).length||"popup"!==this.cpDialogDisplay||this.isIE10||(this.cpSaveClickOutside||(this.setColorFromString(this.initialColor,!1),this.directiveInstance.colorChanged(this.initialColor)),this.closeColorPicker())},t.prototype.openColorPicker=function(){var t=this;this.show||(this.show=!0,this.hidden=!0,setTimeout(function(){t.setDialogPosition(),t.hidden=!1,t.cdr.detectChanges()},0),this.directiveInstance.toggle(!0),this.isIE10||document.addEventListener("mousedown",this.listenerMouseDown),window.addEventListener("resize",this.listenerResize))},t.prototype.closeColorPicker=function(){this.show&&(this.show=!1,this.directiveInstance.toggle(!1),this.isIE10||document.removeEventListener("mousedown",this.listenerMouseDown),window.removeEventListener("resize",this.listenerResize),this.cdr.destroyed||this.cdr.detectChanges())},t.prototype.onResize=function(){"fixed"===this.position?this.setDialogPosition():"inline"!==this.cpDialogDisplay&&this.closeColorPicker()},t.prototype.setDialogPosition=function(){if("inline"===this.cpDialogDisplay)return void(this.position="relative");for(var t=this.dialogElement.nativeElement.offsetHeight,e=this.directiveElementRef.nativeElement.parentNode,o="static",i="",n=null,r=null,s=null;null!==e&&"HTML"!==e.tagName;){if(s=window.getComputedStyle(e),o=s.getPropertyValue("position"),i=s.getPropertyValue("transform"),"static"!==o&&null===n&&(n=e),i&&"none"!==i&&null===r&&(r=e),"fixed"===o){n=r;break}e=e.parentNode}var a=this.createBox(this.directiveElementRef.nativeElement,"fixed"!==o);if("fixed"===o&&!n||this.useRootViewContainer)this.top=a.top,this.left=a.left;else{null===n&&(n=e);var p=this.createBox(n,"fixed"!==o);this.top=a.top-p.top,this.left=a.left-p.left}"fixed"===o&&(this.position="fixed"),"left"===this.cpPosition?(this.top+=a.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left-=this.cpWidth+this.dialogArrowSize-2):"top"===this.cpPosition?(this.top-=t+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*a.width-this.dialogArrowOffset,this.arrowTop=t-1):"bottom"===this.cpPosition?(this.top+=a.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*a.width-this.dialogArrowOffset):(this.top+=a.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=a.width+this.dialogArrowSize-2)},t.prototype.setSaturation=function(t){var e=this.service.hsva2hsla(this.hsva);e.s=t.v/t.rg,this.hsva=this.service.hsla2hsva(e),this.update(),this.directiveInstance.inputChanged({input:"saturation",value:e.s,color:this.outputColor})},t.prototype.setLightness=function(t){var e=this.service.hsva2hsla(this.hsva);e.l=t.v/t.rg,this.hsva=this.service.hsla2hsva(e),this.update(),this.directiveInstance.inputChanged({input:"lightness",value:e.l,color:this.outputColor})},t.prototype.setHue=function(t){this.hsva.h=t.v/t.rg,this.update(),this.directiveInstance.sliderChanged({slider:"hue",value:this.hsva.h,color:this.outputColor})},t.prototype.setAlpha=function(t){this.hsva.a=t.v/t.rg,this.update(),this.directiveInstance.sliderChanged({slider:"alpha",value:this.hsva.a,color:this.outputColor})},t.prototype.setR=function(t){var e=this.service.hsvaToRgba(this.hsva);e.r=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.update(),this.directiveInstance.inputChanged({input:"red",value:e.r,color:this.outputColor})},t.prototype.setG=function(t){var e=this.service.hsvaToRgba(this.hsva);e.g=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.update(),this.directiveInstance.inputChanged({input:"green",value:e.g,color:this.outputColor})},t.prototype.setB=function(t){var e=this.service.hsvaToRgba(this.hsva);e.b=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.update(),this.directiveInstance.inputChanged({input:"blue",value:e.b,color:this.outputColor})},t.prototype.setA=function(t){this.hsva.a=t.v/t.rg,this.update(),this.directiveInstance.inputChanged({input:"alpha",value:this.hsva.a,color:this.outputColor})},t.prototype.setHex=function(t){this.setColorFromString(t),this.directiveInstance.inputChanged({input:"hex",value:t,color:this.outputColor})},t.prototype.setSaturationAndBrightness=function(t){this.hsva.s=t.s/t.rgX,this.hsva.v=t.v/t.rgY,this.update(),this.directiveInstance.sliderChanged({slider:"lightness",value:this.hsva.v,color:this.outputColor}),this.directiveInstance.sliderChanged({slider:"saturation",value:this.hsva.s,color:this.outputColor})},t.prototype.formatPolicy=function(){return this.format=(this.format+1)%3,this.format},t.prototype.update=function(t){if(void 0===t&&(t=!0),this.sliderDimMax){var e=this.service.hsva2hsla(this.hsva),o=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),i=this.service.denormalizeRGBA(this.service.hsvaToRgba(new a.Hsva(this.hsva.h,1,1,1)));this.hslaText=new a.Hsla(Math.round(360*e.h),Math.round(100*e.s),Math.round(100*e.l),Math.round(100*e.a)/100),this.rgbaText=new a.Rgba(o.r,o.g,o.b,Math.round(100*o.a)/100),this.hexText=this.service.hexText(o,"always"===this.cpAlphaChannel||"hex8"===this.cpAlphaChannel),this.alphaSliderColor="rgb("+o.r+","+o.g+","+o.b+")",this.hueSliderColor="rgb("+i.r+","+i.g+","+i.b+")";var n=this.outputColor;this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",null),this.slider=new p.SliderPosition(this.hsva.h*this.sliderDimMax.h-8,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-8),t&&n!==this.outputColor&&this.directiveInstance.colorChanged(this.outputColor)}},t.prototype.isDescendant=function(t,e){for(var o=e.parentNode;null!==o;){if(o===t)return!0;o=o.parentNode}return!1},t.prototype.createBox=function(t,e){return{top:t.getBoundingClientRect().top+(e?window.pageYOffset:0),left:t.getBoundingClientRect().left+(e?window.pageXOffset:0),width:t.offsetWidth,height:t.offsetHeight}},i([r.ViewChild("hueSlider"),n("design:type",Object)],t.prototype,"hueSlider",void 0),i([r.ViewChild("alphaSlider"),n("design:type",Object)],t.prototype,"alphaSlider",void 0),i([r.ViewChild("dialogPopup"),n("design:type",Object)],t.prototype,"dialogElement",void 0),t=i([r.Component({selector:"color-picker",template:o(8),styles:[o(7)]}),n("design:paramtypes",[r.ElementRef,r.ChangeDetectorRef,s.ColorPickerService])],t)}();e.ColorPickerComponent=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e,o,i){this.h=t,this.s=e,this.v=o,this.a=i}return t}();e.Hsva=i;var n=function(){function t(t,e,o,i){this.h=t,this.s=e,this.l=o,this.a=i}return t}();e.Hsla=n;var r=function(){function t(t,e,o,i){this.r=t,this.g=e,this.b=o,this.a=i}return t}();e.Rgba=r},function(t,e,o){"use strict";function i(){var t="";"undefined"!=typeof navigator&&(t=navigator.userAgent.toLowerCase());var e=t.indexOf("msie ");return e>0&&parseInt(t.substring(e+5,t.indexOf(".",e)),10)}var n=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=function(){function t(){this.newValue=new s.EventEmitter}return t.prototype.changeInput=function(t){if(void 0===this.rg)this.newValue.emit(t);else{var e=parseFloat(t);!isNaN(e)&&e>=0&&e<=this.rg&&this.newValue.emit({v:e,rg:this.rg})}},n([s.Output("newValue"),r("design:type",Object)],t.prototype,"newValue",void 0),n([s.Input("text"),r("design:type",Object)],t.prototype,"text",void 0),n([s.Input("rg"),r("design:type",Number)],t.prototype,"rg",void 0),t=n([s.Directive({selector:"[text]",host:{"(input)":"changeInput($event.target.value)"}})],t)}();e.TextDirective=a;var p=function(){function t(t){var e=this;this.el=t,this.newValue=new s.EventEmitter,this.dragStart=new s.EventEmitter,this.dragEnd=new s.EventEmitter,this.listenerMove=function(t){e.move(t)},this.listenerStop=function(){e.stop()}}return t.prototype.setCursor=function(t){var e=this.el.nativeElement.offsetHeight,o=this.el.nativeElement.offsetWidth,i=Math.max(0,Math.min(this.getX(t),o)),n=Math.max(0,Math.min(this.getY(t),e));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:i/o,v:1-n/e,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:n/e,rg:this.rgY}):this.newValue.emit({v:i/o,rg:this.rgX})},t.prototype.move=function(t){t.preventDefault(),this.setCursor(t)},t.prototype.start=function(t){this.setCursor(t),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),this.dragStart.emit()},t.prototype.stop=function(){document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),this.dragEnd.emit()},t.prototype.getX=function(t){return(void 0!==t.pageX?t.pageX:t.touches[0].pageX)-this.el.nativeElement.getBoundingClientRect().left-window.pageXOffset},t.prototype.getY=function(t){return(void 0!==t.pageY?t.pageY:t.touches[0].pageY)-this.el.nativeElement.getBoundingClientRect().top-window.pageYOffset},n([s.Output("newValue"),r("design:type",Object)],t.prototype,"newValue",void 0),n([s.Output("dragStart"),r("design:type",Object)],t.prototype,"dragStart",void 0),n([s.Output("dragEnd"),r("design:type",Object)],t.prototype,"dragEnd",void 0),n([s.Input("slider"),r("design:type",String)],t.prototype,"slider",void 0),n([s.Input("rgX"),r("design:type",Number)],t.prototype,"rgX",void 0),n([s.Input("rgY"),r("design:type",Number)],t.prototype,"rgY",void 0),t=n([s.Directive({selector:"[slider]",host:{"(mousedown)":"start($event)","(touchstart)":"start($event)"}}),r("design:paramtypes",[s.ElementRef])],t)}();e.SliderDirective=p;var l=function(){function t(t,e,o,i){this.h=t,this.s=e,this.v=o,this.a=i}return t}();e.SliderPosition=l;var c=function(){function t(t,e,o,i){this.h=t,this.s=e,this.v=o,this.a=i}return t}();e.SliderDimension=c,e.detectIE=i},function(t,e,o){"use strict";var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(0),s=o(1),a=o(2),p=function(){function t(t,e,o,i,n,s){this.injector=t,this.cfr=e,this.appRef=o,this.vcRef=i,this.elRef=n,this.service=s,this.cpPosition="right",this.cpPositionOffset="0%",this.cpPositionRelativeToArrow=!1,this.cpOutputFormat="hex",this.cpPresetLabel="Preset colors",this.cpPresetEmptyMessage="No colors added",this.cpPresetEmptyMessageClass="preset-empty-message",this.cpMaxPresetColorsLength=6,this.cpCancelButton=!1,this.cpCancelButtonClass="cp-cancel-button-class",this.cpCancelButtonText="Cancel",this.cpOKButton=!1,this.cpOKButtonClass="cp-ok-button-class",this.cpOKButtonText="OK",this.cpAddColorButton=!1,this.cpAddColorButtonClass="cp-add-color-button-class",this.cpAddColorButtonText="Add color",this.cpRemoveColorButtonClass="cp-remove-color-button-class",this.cpFallbackColor="#fff",this.cpHeight="auto",this.cpWidth="230px",this.cpIgnoredElements=[],this.cpDialogDisplay="popup",this.cpSaveClickOutside=!0,this.cpAlphaChannel="enabled",this.cpUseRootViewContainer=!1,this.cpInputChange=new r.EventEmitter(!0),this.cpToggleChange=new r.EventEmitter(!0),this.cpSliderChange=new r.EventEmitter(!0),this.cpSliderDragEnd=new r.EventEmitter(!0),this.cpSliderDragStart=new r.EventEmitter(!0),this.colorPickerCancel=new r.EventEmitter(!0),this.colorPickerSelect=new r.EventEmitter(!0),this.colorPickerChange=new r.EventEmitter(!1),this.presetColorsChange=new r.EventEmitter(!0),this.ignoreChanges=!1,this.created=!1}return t.prototype.ngOnChanges=function(t){t.cpToggle&&(t.cpToggle.currentValue&&this.openDialog(),!t.cpToggle.currentValue&&this.dialog&&this.dialog.closeColorPicker()),t.colorPicker&&(this.dialog&&!this.ignoreChanges&&("inline"===this.cpDialogDisplay&&this.dialog.setInitialColor(t.colorPicker.currentValue),this.dialog.setColorFromString(t.colorPicker.currentValue,!1)),this.ignoreChanges=!1),(t.cpPresetLabel||t.cpPresetColors)&&this.dialog&&this.dialog.setPresetConfig(this.cpPresetLabel,this.cpPresetColors)},t.prototype.ngOnInit=function(){this.colorPicker=this.colorPicker||this.cpFallbackColor||"rgba(0, 0, 0, 1)"},t.prototype.ngOnDestroy=function(){void 0!==this.cmpRef&&this.cmpRef.destroy()},t.prototype.openDialog=function(){if(this.colorPicker=this.colorPicker||this.cpFallbackColor||"rgba(0, 0, 0, 1)",this.created)this.dialog&&this.dialog.openDialog(this.colorPicker);else{this.created=!0;var t=this.vcRef;if(this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay){var e=this.appRef.componentTypes[0],o=this.injector.get(e);t=o.vcRef||o.viewContainerRef||this.vcRef,t===this.vcRef&&console.warn("You are using cpUseRootViewContainer, but the root component is not exposing viewContainerRef!Please expose it by adding 'public vcRef: ViewContainerRef' to the constructor.")}var i=this.cfr.resolveComponentFactory(a.ColorPickerComponent),n=r.ReflectiveInjector.fromResolvedProviders([],t.parentInjector);this.cmpRef=t.createComponent(i,0,n,[]),this.cmpRef.instance.setDialog(this,this.elRef,this.colorPicker,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpOutputFormat,this.cpPresetLabel,this.cpPresetEmptyMessage,this.cpPresetEmptyMessageClass,this.cpPresetColors,this.cpMaxPresetColorsLength,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpAddColorButton,this.cpAddColorButtonClass,this.cpAddColorButtonText,this.cpRemoveColorButtonClass,this.cpHeight,this.cpWidth,this.cpIgnoredElements,this.cpDialogDisplay,this.cpSaveClickOutside,this.cpAlphaChannel,this.cpUseRootViewContainer),this.dialog=this.cmpRef.instance,this.vcRef!==t&&this.cmpRef.changeDetectorRef.detectChanges()}},t.prototype.toggle=function(t){this.cpToggleChange.emit(t)},t.prototype.colorChanged=function(t,e){void 0===e&&(e=!0),this.ignoreChanges=e,this.colorPickerChange.emit(t)},t.prototype.colorCanceled=function(){this.colorPickerCancel.emit()},t.prototype.colorSelected=function(t){this.colorPickerSelect.emit(t)},t.prototype.presetColorsChanged=function(t){this.presetColorsChange.emit(t)},t.prototype.inputFocus=function(){var t=this;0===this.cpIgnoredElements.filter(function(e){return e===t.elRef.nativeElement}).length&&this.openDialog()},t.prototype.inputChange=function(t){this.dialog?this.dialog.setColorFromString(t,!0):(this.colorPicker=t||this.cpFallbackColor||"rgba(0, 0, 0, 1)",this.colorPickerChange.emit(this.colorPicker))},t.prototype.inputChanged=function(t){this.cpInputChange.emit(t)},t.prototype.sliderChanged=function(t){this.cpSliderChange.emit(t)},t.prototype.sliderDragEnd=function(t){this.cpSliderDragEnd.emit(t)},t.prototype.sliderDragStart=function(t){this.cpSliderDragStart.emit(t)},i([r.Input("colorPicker"),n("design:type",String)],t.prototype,"colorPicker",void 0),i([r.Input("cpToggle"),n("design:type",Boolean)],t.prototype,"cpToggle",void 0),i([r.Input("cpPosition"),n("design:type",String)],t.prototype,"cpPosition",void 0),i([r.Input("cpPositionOffset"),n("design:type",String)],t.prototype,"cpPositionOffset",void 0),i([r.Input("cpPositionRelativeToArrow"),n("design:type",Boolean)],t.prototype,"cpPositionRelativeToArrow",void 0),i([r.Input("cpOutputFormat"),n("design:type",String)],t.prototype,"cpOutputFormat",void 0),i([r.Input("cpPresetLabel"),n("design:type",String)],t.prototype,"cpPresetLabel",void 0),i([r.Input("cpPresetEmptyMessage"),n("design:type",String)],t.prototype,"cpPresetEmptyMessage",void 0),i([r.Input("cpPresetEmptyMessageClass"),n("design:type",String)],t.prototype,"cpPresetEmptyMessageClass",void 0),i([r.Input("cpPresetColors"),n("design:type",Array)],t.prototype,"cpPresetColors",void 0),i([r.Input("cpMaxPresetColorsLength"),n("design:type",Number)],t.prototype,"cpMaxPresetColorsLength",void 0),i([r.Input("cpCancelButton"),n("design:type",Boolean)],t.prototype,"cpCancelButton",void 0),i([r.Input("cpCancelButtonClass"),n("design:type",String)],t.prototype,"cpCancelButtonClass",void 0),i([r.Input("cpCancelButtonText"),n("design:type",String)],t.prototype,"cpCancelButtonText",void 0),i([r.Input("cpOKButton"),n("design:type",Boolean)],t.prototype,"cpOKButton",void 0),i([r.Input("cpOKButtonClass"),n("design:type",String)],t.prototype,"cpOKButtonClass",void 0),i([r.Input("cpOKButtonText"),n("design:type",String)],t.prototype,"cpOKButtonText",void 0),i([r.Input("cpAddColorButton"),n("design:type",Boolean)],t.prototype,"cpAddColorButton",void 0),i([r.Input("cpAddColorButtonClass"),n("design:type",String)],t.prototype,"cpAddColorButtonClass",void 0),i([r.Input("cpAddColorButtonText"),n("design:type",String)],t.prototype,"cpAddColorButtonText",void 0),i([r.Input("cpRemoveColorButtonClass"),n("design:type",String)],t.prototype,"cpRemoveColorButtonClass",void 0),i([r.Input("cpFallbackColor"),n("design:type",String)],t.prototype,"cpFallbackColor",void 0),i([r.Input("cpHeight"),n("design:type",String)],t.prototype,"cpHeight",void 0),i([r.Input("cpWidth"),n("design:type",String)],t.prototype,"cpWidth",void 0),i([r.Input("cpIgnoredElements"),n("design:type",Object)],t.prototype,"cpIgnoredElements",void 0),i([r.Input("cpDialogDisplay"),n("design:type",String)],t.prototype,"cpDialogDisplay",void 0),i([r.Input("cpSaveClickOutside"),n("design:type",Boolean)],t.prototype,"cpSaveClickOutside",void 0),i([r.Input("cpAlphaChannel"),n("design:type",String)],t.prototype,"cpAlphaChannel",void 0),i([r.Input("cpUseRootViewContainer"),n("design:type",Boolean)],t.prototype,"cpUseRootViewContainer",void 0),i([r.Output("cpInputChange"),n("design:type",Object)],t.prototype,"cpInputChange",void 0),i([r.Output("cpToggleChange"),n("design:type",Object)],t.prototype,"cpToggleChange",void 0),i([r.Output("cpSliderChange"),n("design:type",Object)],t.prototype,"cpSliderChange",void 0),i([r.Output("cpSliderDragEnd"),n("design:type",Object)],t.prototype,"cpSliderDragEnd",void 0),i([r.Output("cpSliderDragStart"),n("design:type",Object)],t.prototype,"cpSliderDragStart",void 0),i([r.Output("colorPickerCancel"),n("design:type",Object)],t.prototype,"colorPickerCancel",void 0),i([r.Output("colorPickerSelect"),n("design:type",Object)],t.prototype,"colorPickerSelect",void 0),i([r.Output("colorPickerChange"),n("design:type",Object)],t.prototype,"colorPickerChange",void 0),i([r.Output("cpPresetColorsChange"),n("design:type",Object)],t.prototype,"presetColorsChange",void 0),t=i([r.Directive({selector:"[colorPicker]",host:{"(click)":"inputFocus()","(focus)":"inputFocus()","(input)":"inputChange($event.target.value)"}}),n("design:paramtypes",[r.Injector,r.ComponentFactoryResolver,r.ApplicationRef,r.ViewContainerRef,r.ElementRef,s.ColorPickerService])],t)}();e.ColorPickerDirective=p},function(t,e,o){"use strict";function i(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),i(o(2)),i(o(5)),i(o(10)),i(o(1)),i(o(3)),i(o(4))},function(t,e){t.exports='/*\n * Styles for Color Picker\n *\n * Alberto Pujante\n *\n * @licence: http://opensource.org/licenses/MIT\n */\n.color-picker * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n font-size: 11px; }\n\n.color-picker {\n cursor: default;\n width: 230px;\n height: auto;\n border: #777 solid 1px;\n position: absolute;\n z-index: 100000;\n background-color: #fff;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n .color-picker i {\n cursor: default;\n position: relative; }\n .color-picker input {\n text-align: center;\n font-size: 13px;\n height: 26px;\n min-width: 0;\n -moz-appearance: textfield; }\n .color-picker input:invalid {\n box-shadow: none; }\n .color-picker input:-moz-submit-invalid {\n box-shadow: none; }\n .color-picker input:-moz-ui-invalid {\n box-shadow: none; }\n .color-picker input::-webkit-inner-spin-button, .color-picker input::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0; }\n .color-picker .button-area {\n padding: 0 16px 16px 16px;\n text-align: right; }\n .color-picker .preset-area {\n padding: 4px 15px; }\n .color-picker .preset-area .preset-label {\n width: 100%;\n padding: 4px;\n font-size: 11px;\n text-align: left;\n color: #555; }\n .color-picker .preset-area .preset-color {\n -moz-border-radius: 25%;\n -webkit-border-radius: 25%;\n border-radius: 25%;\n -khtml-border-radius: 25%;\n border: #a9a9a9 solid 1px;\n cursor: pointer;\n display: inline-block;\n height: 18px;\n margin: 4px 6px 8px 6px;\n position: relative;\n width: 18px; }\n .color-picker .preset-area .preset-empty-message {\n font-style: italic;\n margin-bottom: 8px;\n margin-top: 4px;\n min-height: 18px;\n text-align: center; }\n .color-picker .arrow {\n height: 0;\n width: 0;\n border-style: solid;\n position: absolute;\n z-index: 999999; }\n .color-picker .arrow-right {\n border-width: 5px 10px;\n border-color: transparent #777 transparent transparent;\n top: 10px;\n left: -20px; }\n .color-picker .arrow-left {\n border-width: 5px 10px;\n border-color: transparent transparent transparent #777;\n top: 10px;\n left: 100%; }\n .color-picker .arrow-bottom {\n border-width: 10px 5px;\n border-color: transparent transparent #777 transparent;\n top: -20px;\n left: 10px; }\n .color-picker .arrow-top {\n border-width: 10px 5px;\n border-color: #777 transparent transparent transparent;\n left: 10px; }\n .color-picker div.cursor-sv {\n cursor: default;\n position: relative;\n -moz-border-radius: 50%;\n -webkit-border-radius: 50%;\n border-radius: 50%;\n -khtml-border-radius: 50%;\n width: 15px;\n height: 15px;\n border: #ddd solid 1px; }\n .color-picker div.cursor {\n cursor: default;\n position: relative;\n -moz-border-radius: 50%;\n -webkit-border-radius: 50%;\n border-radius: 50%;\n -khtml-border-radius: 50%;\n width: 16px;\n height: 16px;\n border: #222 solid 2px; }\n .color-picker .saturation-lightness {\n cursor: pointer;\n width: 100%;\n height: 130px;\n border: none;\n background-size: 100% 100%;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+TvKNcf/wdhTLPcv9qU2wZd74uth0t1821jkIZLPcsI/6nWa4XvutquU0Z85mnx80S/ZzgpnLnOtHNt7/ofx1TKXcSNzN/7qbMQ3ju7rNQmMYYd/4s2j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iHoSzvQpopKIFS3sE1HfBWlHXd0H7LnArqvougMtljHBgZnh3Eoz/BKjLML4Z2Aq0+hEJr9jaVUBbvNzCIUiroC7AWmmFw4o5AK3MtB5VypZMSFgs05JyGVwlwBqsEGAAa2ZU1CjUexXGsE4rKriilBvFzOKKo3AuAroE6QFQU3u8YpNXwS5k+1TZt5UrwouN4KiUEw+k3ZWDp1RXHNRqXb21Ts39945yZSg3VnZFNQ9CF3XeZyr5DgBXKiwCMa2MxeTDYXgP1Fsf9QNKZc0k81RJk3r6EQ3rCmBVyLL75EjZ1pIVDHoFtiOAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg=="); }\n .color-picker .box {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-flex;\n display: -ms-flexbox;\n display: flex;\n padding: 4px 8px; }\n .color-picker .box .left {\n position: relative;\n padding: 16px 8px; }\n .color-picker .box .right {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n padding: 12px 8px; }\n .color-picker .hue {\n cursor: pointer;\n width: 100%;\n height: 16px;\n border: none;\n margin-bottom: 16px;\n background-size: 100% 100%;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC"); }\n .color-picker .alpha {\n cursor: pointer;\n width: 100%;\n height: 16px;\n border: none;\n background-size: 100% 100%;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg=="); }\n .color-picker .selected-color {\n width: 40px;\n height: 40px;\n top: 16px;\n left: 8px;\n position: absolute;\n -moz-border-radius: 50%;\n -webkit-border-radius: 50%;\n border-radius: 50%;\n -khtml-border-radius: 50%;\n border: 1px solid #a9a9a9; }\n .color-picker .selected-color-background {\n width: 40px;\n height: 40px;\n -moz-border-radius: 50%;\n -webkit-border-radius: 50%;\n border-radius: 50%;\n -khtml-border-radius: 50%;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC"); }\n .color-picker .type-policy {\n position: absolute;\n top: 215px;\n right: 12px;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 8px 16px;\n -moz-background-size: 8px 16px;\n -webkit-background-size: 8px 16px;\n -o-background-size: 8px 16px;\n width: 16px;\n height: 24px; }\n .color-picker .hsla-text, .color-picker .rgba-text {\n width: 100%;\n font-size: 11px;\n padding: 4px 8px; }\n .color-picker .hsla-text .box, .color-picker .rgba-text .box {\n padding: 0 24px 8px 8px; }\n .color-picker .hsla-text .box input, .color-picker .rgba-text .box input {\n min-width: 0;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0;\n float: left;\n margin-right: 8px;\n border: #a9a9a9 solid 1px;\n padding: 1px; }\n .color-picker .hsla-text .box input:last-child, .color-picker .rgba-text .box input:last-child {\n margin-right: 0; }\n .color-picker .hsla-text .box div, .color-picker .rgba-text .box div {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n text-align: center;\n color: #555;\n margin-right: 8px; }\n .color-picker .hsla-text .box div:last-child, .color-picker .rgba-text .box div:last-child {\n margin-right: 0; }\n .color-picker .hex-text {\n width: 100%;\n font-size: 11px;\n padding: 4px 8px; }\n .color-picker .hex-text .box {\n padding: 0 24px 8px 8px; }\n .color-picker .hex-text .box input {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n border: #a9a9a9 solid 1px;\n padding: 1px; }\n .color-picker .hex-text .box div {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n text-align: center;\n color: #555;\n float: left;\n clear: left; }\n .color-picker .cp-add-color-button-class {\n background: transparent;\n border: 0;\n cursor: pointer;\n display: inline;\n margin-left: -3px;\n margin-top: 3px;\n padding: 0;\n position: absolute; }\n .color-picker .cp-add-color-button-class:hover {\n text-decoration: underline; }\n .color-picker .cp-add-color-button-class:disabled {\n color: #999;\n cursor: not-allowed; }\n .color-picker .cp-add-color-button-class:disabled:hover {\n text-decoration: none; }\n .color-picker .cp-remove-color-button-class {\n background: #fff;\n border-radius: 50%;\n box-shadow: 1px 1px 5px #333;\n cursor: pointer;\n display: block;\n height: 10px;\n position: absolute;\n right: -5px;\n text-align: center;\n top: -5px;\n width: 10px; }\n .color-picker .cp-remove-color-button-class:before {\n bottom: 3.5px;\n content: \'x\';\n display: inline-block;\n font-size: 10px;\n position: relative; }\n'},function(t,e){t.exports='<div class="color-picker" [style.visibility]="hidden || !show ? \'hidden\' : \'visible\'" [style.height.px]="cpHeight" [style.width.px]="cpWidth" [style.top.px]="top" [style.left.px]="left" [style.position]="position" #dialogPopup>\n <div *ngIf="cpDialogDisplay==\'popup\'" class="arrow arrow-{{cpPosition}}" [style.top.px]="arrowTop"></div>\n\n <div [slider] [style.background-color]="hueSliderColor" [rgX]="1" [rgY]="1" (newValue)="setSaturationAndBrightness($event)" (dragStart)="onDragStart(\'saturation-lightness\')" (dragEnd)="onDragEnd(\'saturation-lightness\')" class="saturation-lightness">\n <div [style.left.px]="slider.s" [style.top.px]="slider.v" class="cursor"></div>\n </div>\n <div class="box">\n <div class="left">\n <div class="selected-color-background"></div>\n <div [style.background-color]="selectedColor" class="selected-color"></div>\n <button \n *ngIf="cpAddColorButton" \n class="{{cpAddColorButtonClass}}" \n (click)="addPresetColor(selectedColor)" \n [disabled]="cpPresetColors && cpPresetColors.length >= cpMaxPresetColorsLength">\n {{cpAddColorButtonText}}\n </button>\n </div>\n <div class="right">\n <div *ngIf="cpAlphaChannel===\'disabled\'" style="height: 16px;"></div>\n\n <div [slider] [rgX]="1" (newValue)="setHue($event)" (dragStart)="onDragStart(\'hue\')" (dragEnd)="onDragEnd(\'hue\')" class="hue" #hueSlider>\n <div [style.left.px]="slider.h" class="cursor"></div>\n </div>\n\n <div [style.display]="cpAlphaChannel === \'disabled\' ? \'none\' : \'block\'" [slider] [style.background-color]="alphaSliderColor" [rgX]="1" (newValue)="setAlpha($event)" (dragStart)="onDragStart(\'alpha\')" (dragEnd)="onDragEnd(\'alpha\')" class="alpha" #alphaSlider>\n <div [style.left.px]="slider.a" class="cursor"></div>\n </div>\n </div>\n </div>\n\n <div [style.display]="format !== 2 ? \'none\' : \'block\'" class="hsla-text">\n <div class="box">\n <input [text] type="number" pattern="[0-9]*" min="0" max="360" [rg]="360" (newValue)="setHue($event)" [value]="hslaText.h"/>\n <input [text] type="number" pattern="[0-9]*" min="0" max="100" [rg]="100" (newValue)="setSaturation($event)" [value]="hslaText.s"/>\n <input [text] type="number" pattern="[0-9]*" min="0" max="100" [rg]="100" (newValue)="setLightness($event)" [value]="hslaText.l"/>\n <input *ngIf="cpAlphaChannel!==\'disabled\'" [text] type="number" pattern="[0-9]+([\\.,][0-9]{1,2})?" min="0" max="1" step="0.1" [rg]="1" (newValue)="setA($event)" [value]="hslaText.a"/>\n </div>\n <div class="box">\n <div>H</div><div>S</div><div>L</div><div *ngIf="cpAlphaChannel!==\'disabled\'">A</div>\n </div>\n </div>\n\n <div [style.display]="format !== 1 ? \'none\' : \'block\'" class="rgba-text">\n <div class="box">\n <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setR($event)" [value]="rgbaText.r"/>\n <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setG($event)" [value]="rgbaText.g"/>\n <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setB($event)" [value]="rgbaText.b"/>\n <input *ngIf="cpAlphaChannel!==\'disabled\'" [text] type="number" pattern="[0-9]+([\\.,][0-9]{1,2})?" min="0" max="1" step="0.1" [rg]="1" (newValue)="setA($event)" [value]="rgbaText.a"/>\n </div>\n <div class="box">\n <div>R</div><div>G</div><div>B</div><div *ngIf="cpAlphaChannel!==\'disabled\'" >A</div>\n </div>\n </div>\n\n <div [style.display]="format !== 0 ? \'none\' : \'block\'" class="hex-text">\n <div class="box">\n <input [text] (newValue)="setHex($event)" [value]="hexText"/>\n </div>\n <div class="box">\n <div>Hex</div>\n </div>\n </div>\n\n <div (click)="formatPolicy()" class="type-policy"></div>\n\n <div *ngIf="cpPresetColors" class="preset-area">\n <hr>\n\n <div class="preset-label">{{cpPresetLabel}}</div>\n <div *ngIf="cpPresetColors.length">\n <div *ngFor="let color of cpPresetColors" class="preset-color" [style.backgroundColor]="color" (click)="setColorFromString(color)">\n <span *ngIf="cpAddColorButton" class="{{cpRemoveColorButtonClass}}" (click)="removePresetColor(color)"></span>\n </div>\n </div>\n\n <div *ngIf="!cpPresetColors.length && cpAddColorButton" class="{{cpPresetEmptyMessageClass}}">{{cpPresetEmptyMessage}}</div>\n </div>\n\n <div *ngIf="cpOKButton || cpCancelButton" class="button-area">\n <button *ngIf="cpOKButton" type="button" class="{{cpOKButtonClass}}" (click)="oKColor($event)">{{cpOKButtonText}}</button>\n <button *ngIf="cpCancelButton" type="button" class="{{cpCancelButtonClass}}" (click)="cancelColor($event)">{{cpCancelButtonText}}</button>\n </div>\n\n</div>\n'},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(6))},function(t,e,o){"use strict";var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),r=o(11),s=o(4),a=o(1),p=o(2),l=o(5),c=function(){function t(){}return t=i([n.NgModule({imports:[r.CommonModule],providers:[a.ColorPickerService],declarations:[p.ColorPickerComponent,l.ColorPickerDirective,s.TextDirective,s.SliderDirective],exports:[l.ColorPickerDirective],entryComponents:[p.ColorPickerComponent]})],t)}();e.ColorPickerModule=c},function(t,o){t.exports=e}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("ngx-color-picker",["@angular/core","@angular/common"],e):"object"==typeof exports?exports["ngx-color-picker"]=e(require("@angular/core"),require("@angular/common")):t["ngx-color-picker"]=e(t["@angular/core"],t["@angular/common"])}(this,function(t,e){return function(t){function e(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var o={};return e.m=t,e.c=o,e.i=function(t){return t},e.d=function(t,o,i){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=9)}([function(e,o){e.exports=t},function(t,e,o){"use strict";var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(0),s=o(3),a=function(){function t(){this.active=null}return t.prototype.setActive=function(t){this.active&&this.active!==t&&"inline"!==this.active.cpDialogDisplay&&this.active.closeColorPicker(),this.active=t},t.prototype.hsla2hsva=function(t){var e=Math.min(t.h,1),o=Math.min(t.s,1),i=Math.min(t.l,1),n=Math.min(t.a,1);if(0===i)return new s.Hsva(e,0,0,n);var r=i+o*(1-Math.abs(2*i-1))/2;return new s.Hsva(e,2*(r-i)/r,r,n)},t.prototype.hsva2hsla=function(t){var e=t.h,o=t.s,i=t.v,n=t.a;if(0===i)return new s.Hsla(e,0,0,n);if(0===o&&1===i)return new s.Hsla(e,1,1,n);var r=i*(2-o)/2;return new s.Hsla(e,i*o/(1-Math.abs(2*r-1)),r,n)},t.prototype.rgbaToHsva=function(t){var e,o,i=Math.min(t.r,1),n=Math.min(t.g,1),r=Math.min(t.b,1),a=Math.min(t.a,1),p=Math.max(i,n,r),l=Math.min(i,n,r),c=p,d=p-l;if(o=0===p?0:d/p,p===l)e=0;else{switch(p){case i:e=(n-r)/d+(n<r?6:0);break;case n:e=(r-i)/d+2;break;case r:e=(i-n)/d+4}e/=6}return new s.Hsva(e,o,c,a)},t.prototype.hsvaToRgba=function(t){var e,o,i,n=t.h,r=t.s,a=t.v,p=t.a,l=Math.floor(6*n),c=6*n-l,d=a*(1-r),h=a*(1-c*r),u=a*(1-(1-c)*r);switch(l%6){case 0:e=a,o=u,i=d;break;case 1:e=h,o=a,i=d;break;case 2:e=d,o=a,i=u;break;case 3:e=d,o=h,i=a;break;case 4:e=u,o=d,i=a;break;case 5:e=a,o=d,i=h}return new s.Rgba(e,o,i,p)},t.prototype.stringToHsva=function(t,e){void 0===t&&(t=""),void 0===e&&(e=!1);var o=[{re:/(rgb)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*%?,\s*(\d{1,3})\s*%?(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return new s.Rgba(parseInt(t[2])/255,parseInt(t[3])/255,parseInt(t[4])/255,isNaN(parseFloat(t[5]))?1:parseFloat(t[5]))}},{re:/(hsl)a?\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return new s.Hsla(parseInt(t[2])/360,parseInt(t[3])/100,parseInt(t[4])/100,isNaN(parseFloat(t[5]))?1:parseFloat(t[5]))}}];e?o.push({re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})?$/,parse:function(t){return new s.Rgba(parseInt(t[1],16)/255,parseInt(t[2],16)/255,parseInt(t[3],16)/255,parseInt(t[4]||"FF",16)/255)}}):o.push({re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})$/,parse:function(t){return new s.Rgba(parseInt(t[1],16)/255,parseInt(t[2],16)/255,parseInt(t[3],16)/255,1)}},{re:/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])$/,parse:function(t){return new s.Rgba(parseInt(t[1]+t[1],16)/255,parseInt(t[2]+t[2],16)/255,parseInt(t[3]+t[3],16)/255,1)}}),t=(t||"").toLowerCase();var i=null;for(var n in o)if(o.hasOwnProperty(n)){var r=o[n],a=r.re.exec(t),p=a&&r.parse(a);if(p)return p instanceof s.Rgba?i=this.rgbaToHsva(p):p instanceof s.Hsla&&(i=this.hsla2hsva(p)),i}return i},t.prototype.outputFormat=function(t,e,o){switch(e){case"hsla":var i=this.hsva2hsla(t),n=new s.Hsla(Math.round(360*i.h),Math.round(100*i.s),Math.round(100*i.l),Math.round(100*i.a)/100);return t.a<1||"always"===o?"hsla("+n.h+","+n.s+"%,"+n.l+"%,"+n.a+")":"hsl("+n.h+","+n.s+"%,"+n.l+"%)";case"rgba":var r=this.denormalizeRGBA(this.hsvaToRgba(t));return t.a<1||"always"===o?"rgba("+r.r+","+r.g+","+r.b+","+Math.round(100*r.a)/100+")":"rgb("+r.r+","+r.g+","+r.b+")";default:return this.hexText(this.denormalizeRGBA(this.hsvaToRgba(t)),"always"===o||"hex8"===o)}},t.prototype.hexText=function(t,e){var o="#"+(1<<24|t.r<<16|t.g<<8|t.b).toString(16).substr(1);return e&&(o+=(256|Math.round(255*t.a)).toString(16).substr(1)),o},t.prototype.denormalizeRGBA=function(t){return new s.Rgba(Math.round(255*t.r),Math.round(255*t.g),Math.round(255*t.b),t.a)},t=i([r.Injectable(),n("design:paramtypes",[])],t)}();e.ColorPickerService=a},function(t,e,o){"use strict";var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(0),s=o(1),a=o(3),p=o(4),l=function(){function t(t,e,o){this.el=t,this.cdr=e,this.service=o,this.dialogArrowSize=10,this.dialogArrowOffset=15,this.useRootViewContainer=!1,this.isIE10=!1}return t.prototype.setDialog=function(t,e,o,i,n,r,s,a,l,c,d,h,u,g,v,f,A,C,b,x,m,y,w,k,B,V,R,I,S){this.directiveInstance=t,this.initialColor=o,this.directiveElementRef=e,this.cpPosition=i,this.cpPositionOffset=parseInt(n),r||(this.dialogArrowOffset=0),this.cpOutputFormat=s,this.cpPresetLabel=a,this.cpPresetEmptyMessage=l,this.cpPresetEmptyMessageClass=c,this.cpPresetColors=d,this.cpMaxPresetColorsLength=h,this.cpCancelButton=u,this.cpCancelButtonClass=g,this.cpCancelButtonText=v,this.cpOKButton=f,this.cpOKButtonClass=A,this.cpOKButtonText=C,this.cpAddColorButton=b,this.cpAddColorButtonClass=x,this.cpAddColorButtonText=m,this.cpRemoveColorButtonClass=y,this.width=this.cpWidth=parseInt(k),this.height=this.cpHeight=parseInt(w),this.cpIgnoredElements=B,this.cpDialogDisplay=V,"inline"===this.cpDialogDisplay&&(this.dialogArrowOffset=0,this.dialogArrowSize=0),this.cpSaveClickOutside=R,this.cpAlphaChannel=I,this.useRootViewContainer=S,"hex"===s&&"always"!==I&&"hex8"!==I&&(this.cpAlphaChannel="disabled"),this.isIE10=10===p.detectIE()},t.prototype.ngOnInit=function(){var t=this,e=this.alphaSlider.nativeElement.offsetWidth,o=this.hueSlider.nativeElement.offsetWidth;this.sliderDimMax=new p.SliderDimension(o,this.cpWidth,130,e),this.slider=new p.SliderPosition(0,0,0,0),"rgba"===this.cpOutputFormat?this.format=1:"hsla"===this.cpOutputFormat?this.format=2:this.format=0,this.listenerMouseDown=function(e){t.onMouseDown(e)},this.listenerResize=function(){t.onResize()},this.openDialog(this.initialColor,!1)},t.prototype.ngAfterViewInit=function(){if(230!=this.cpWidth){var t=this.alphaSlider.nativeElement.offsetWidth,e=this.hueSlider.nativeElement.offsetWidth;this.sliderDimMax=new p.SliderDimension(e,this.cpWidth,130,t),this.update(!1),this.cdr.detectChanges()}},t.prototype.setInitialColor=function(t){this.initialColor=t},t.prototype.setPresetConfig=function(t,e){this.cpPresetLabel=t,this.cpPresetColors=e},t.prototype.openDialog=function(t,e){void 0===e&&(e=!0),this.service.setActive(this),this.width||(this.cpWidth=this.directiveElementRef.nativeElement.offsetWidth),this.setInitialColor(t),this.setColorFromString(t,e),this.openColorPicker()},t.prototype.cancelColor=function(t){t&&t.stopPropagation&&t.stopPropagation(),this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker()),this.directiveInstance.colorCanceled()},t.prototype.oKColor=function(t){t&&t.stopPropagation&&t.stopPropagation(),"popup"===this.cpDialogDisplay&&this.closeColorPicker(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor)},t.prototype.setColorFromString=function(t,e,o){void 0===e&&(e=!0),void 0===o&&(o=!0);var i;"always"===this.cpAlphaChannel||"hex8"===this.cpAlphaChannel?(i=this.service.stringToHsva(t,!0))||this.hsva||(i=this.service.stringToHsva(t,!1)):i=this.service.stringToHsva(t,!1),i&&(this.hsva=i,this.update(e,o))},t.prototype.addPresetColor=function(t){this.cpPresetColors.filter(function(e){return e===t}).length||(this.cpPresetColors=this.cpPresetColors.concat(t),this.directiveInstance.presetColorsChanged(this.cpPresetColors))},t.prototype.removePresetColor=function(t){this.cpPresetColors=this.cpPresetColors.filter(function(e){return e!==t}),this.directiveInstance.presetColorsChanged(this.cpPresetColors)},t.prototype.onDragEnd=function(t){this.directiveInstance.sliderDragEnd({slider:t,color:this.outputColor})},t.prototype.onDragStart=function(t){this.directiveInstance.sliderDragStart({slider:t,color:this.outputColor})},t.prototype.onMouseDown=function(t){this.isDescendant(this.el.nativeElement,t.target)||t.target==this.directiveElementRef.nativeElement||0!==this.cpIgnoredElements.filter(function(e){return e===t.target}).length||"popup"!==this.cpDialogDisplay||this.isIE10||(this.cpSaveClickOutside||(this.setColorFromString(this.initialColor,!1),this.directiveInstance.colorChanged(this.initialColor)),this.closeColorPicker())},t.prototype.openColorPicker=function(){var t=this;this.show||(this.show=!0,this.hidden=!0,setTimeout(function(){t.setDialogPosition(),t.hidden=!1,t.cdr.detectChanges()},0),this.directiveInstance.toggle(!0),this.isIE10||document.addEventListener("mousedown",this.listenerMouseDown),window.addEventListener("resize",this.listenerResize))},t.prototype.closeColorPicker=function(){this.show&&(this.show=!1,this.directiveInstance.toggle(!1),this.isIE10||document.removeEventListener("mousedown",this.listenerMouseDown),window.removeEventListener("resize",this.listenerResize),this.cdr.destroyed||this.cdr.detectChanges())},t.prototype.onResize=function(){"fixed"===this.position?this.setDialogPosition():"inline"!==this.cpDialogDisplay&&this.closeColorPicker()},t.prototype.setDialogPosition=function(){if("inline"===this.cpDialogDisplay)return void(this.position="relative");for(var t=this.dialogElement.nativeElement.offsetHeight,e=this.directiveElementRef.nativeElement.parentNode,o="static",i="",n=null,r=null,s=null;null!==e&&"HTML"!==e.tagName;){if(s=window.getComputedStyle(e),o=s.getPropertyValue("position"),i=s.getPropertyValue("transform"),"static"!==o&&null===n&&(n=e),i&&"none"!==i&&null===r&&(r=e),"fixed"===o){n=r;break}e=e.parentNode}var a=this.createBox(this.directiveElementRef.nativeElement,"fixed"!==o);if("fixed"===o&&!n||this.useRootViewContainer)this.top=a.top,this.left=a.left;else{null===n&&(n=e);var p=this.createBox(n,"fixed"!==o);this.top=a.top-p.top,this.left=a.left-p.left}"fixed"===o&&(this.position="fixed"),"left"===this.cpPosition?(this.top+=a.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left-=this.cpWidth+this.dialogArrowSize-2):"top"===this.cpPosition?(this.top-=t+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*a.width-this.dialogArrowOffset,this.arrowTop=t-1):"bottom"===this.cpPosition?(this.top+=a.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*a.width-this.dialogArrowOffset):(this.top+=a.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=a.width+this.dialogArrowSize-2)},t.prototype.setSaturation=function(t){var e=this.service.hsva2hsla(this.hsva);e.s=t.v/t.rg,this.hsva=this.service.hsla2hsva(e),this.update(),this.directiveInstance.inputChanged({input:"saturation",value:e.s,color:this.outputColor})},t.prototype.setLightness=function(t){var e=this.service.hsva2hsla(this.hsva);e.l=t.v/t.rg,this.hsva=this.service.hsla2hsva(e),this.update(),this.directiveInstance.inputChanged({input:"lightness",value:e.l,color:this.outputColor})},t.prototype.setHue=function(t){this.hsva.h=t.v/t.rg,this.update(),this.directiveInstance.sliderChanged({slider:"hue",value:this.hsva.h,color:this.outputColor})},t.prototype.setAlpha=function(t){this.hsva.a=t.v/t.rg,this.update(),this.directiveInstance.sliderChanged({slider:"alpha",value:this.hsva.a,color:this.outputColor})},t.prototype.setR=function(t){var e=this.service.hsvaToRgba(this.hsva);e.r=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.update(),this.directiveInstance.inputChanged({input:"red",value:e.r,color:this.outputColor})},t.prototype.setG=function(t){var e=this.service.hsvaToRgba(this.hsva);e.g=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.update(),this.directiveInstance.inputChanged({input:"green",value:e.g,color:this.outputColor})},t.prototype.setB=function(t){var e=this.service.hsvaToRgba(this.hsva);e.b=t.v/t.rg,this.hsva=this.service.rgbaToHsva(e),this.update(),this.directiveInstance.inputChanged({input:"blue",value:e.b,color:this.outputColor})},t.prototype.setA=function(t){this.hsva.a=t.v/t.rg,this.update(),this.directiveInstance.inputChanged({input:"alpha",value:this.hsva.a,color:this.outputColor})},t.prototype.setHex=function(t){null===t?this.update():(this.setColorFromString(t,!0,!1),this.directiveInstance.inputChanged({input:"hex",value:t,color:this.outputColor}))},t.prototype.setSaturationAndBrightness=function(t){this.hsva.s=t.s/t.rgX,this.hsva.v=t.v/t.rgY,this.update(),this.directiveInstance.sliderChanged({slider:"lightness",value:this.hsva.v,color:this.outputColor}),this.directiveInstance.sliderChanged({slider:"saturation",value:this.hsva.s,color:this.outputColor})},t.prototype.formatPolicy=function(){return this.format=(this.format+1)%3,this.format},t.prototype.update=function(t,e){if(void 0===t&&(t=!0),void 0===e&&(e=!0),this.sliderDimMax){var o=this.service.hsva2hsla(this.hsva),i=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),n=this.service.denormalizeRGBA(this.service.hsvaToRgba(new a.Hsva(this.hsva.h,1,1,1)));e&&(this.hslaText=new a.Hsla(Math.round(360*o.h),Math.round(100*o.s),Math.round(100*o.l),Math.round(100*o.a)/100),this.rgbaText=new a.Rgba(i.r,i.g,i.b,Math.round(100*i.a)/100),this.hexText=this.service.hexText(i,"always"===this.cpAlphaChannel||"hex8"===this.cpAlphaChannel)),this.alphaSliderColor="rgb("+i.r+","+i.g+","+i.b+")",this.hueSliderColor="rgb("+n.r+","+n.g+","+n.b+")";var r=this.outputColor;this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",null),this.slider=new p.SliderPosition(this.hsva.h*this.sliderDimMax.h-8,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-8),t&&r!==this.outputColor&&this.directiveInstance.colorChanged(this.outputColor)}},t.prototype.isDescendant=function(t,e){for(var o=e.parentNode;null!==o;){if(o===t)return!0;o=o.parentNode}return!1},t.prototype.createBox=function(t,e){return{top:t.getBoundingClientRect().top+(e?window.pageYOffset:0),left:t.getBoundingClientRect().left+(e?window.pageXOffset:0),width:t.offsetWidth,height:t.offsetHeight}},i([r.ViewChild("hueSlider"),n("design:type",Object)],t.prototype,"hueSlider",void 0),i([r.ViewChild("alphaSlider"),n("design:type",Object)],t.prototype,"alphaSlider",void 0),i([r.ViewChild("dialogPopup"),n("design:type",Object)],t.prototype,"dialogElement",void 0),t=i([r.Component({selector:"color-picker",template:o(8),styles:[o(7)]}),n("design:paramtypes",[r.ElementRef,r.ChangeDetectorRef,s.ColorPickerService])],t)}();e.ColorPickerComponent=l},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(t,e,o,i){this.h=t,this.s=e,this.v=o,this.a=i}return t}();e.Hsva=i;var n=function(){function t(t,e,o,i){this.h=t,this.s=e,this.l=o,this.a=i}return t}();e.Hsla=n;var r=function(){function t(t,e,o,i){this.r=t,this.g=e,this.b=o,this.a=i}return t}();e.Rgba=r},function(t,e,o){"use strict";function i(){var t="";"undefined"!=typeof navigator&&(t=navigator.userAgent.toLowerCase());var e=t.indexOf("msie ");return e>0&&parseInt(t.substring(e+5,t.indexOf(".",e)),10)}var n=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var s=o(0),a=function(){function t(){this.newValue=new s.EventEmitter}return t.prototype.changeInput=function(t){if(void 0===this.rg)this.newValue.emit(t);else{var e=parseFloat(t);!isNaN(e)&&e>=0&&e<=this.rg&&this.newValue.emit({v:e,rg:this.rg})}},n([s.Output("newValue"),r("design:type",Object)],t.prototype,"newValue",void 0),n([s.Input("text"),r("design:type",Object)],t.prototype,"text",void 0),n([s.Input("rg"),r("design:type",Number)],t.prototype,"rg",void 0),t=n([s.Directive({selector:"[text]",host:{"(input)":"changeInput($event.target.value)"}})],t)}();e.TextDirective=a;var p=function(){function t(t){var e=this;this.el=t,this.newValue=new s.EventEmitter,this.dragStart=new s.EventEmitter,this.dragEnd=new s.EventEmitter,this.listenerMove=function(t){e.move(t)},this.listenerStop=function(){e.stop()}}return t.prototype.setCursor=function(t){var e=this.el.nativeElement.offsetHeight,o=this.el.nativeElement.offsetWidth,i=Math.max(0,Math.min(this.getX(t),o)),n=Math.max(0,Math.min(this.getY(t),e));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:i/o,v:1-n/e,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:n/e,rg:this.rgY}):this.newValue.emit({v:i/o,rg:this.rgX})},t.prototype.move=function(t){t.preventDefault(),this.setCursor(t)},t.prototype.start=function(t){this.setCursor(t),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),this.dragStart.emit()},t.prototype.stop=function(){document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),this.dragEnd.emit()},t.prototype.getX=function(t){return(void 0!==t.pageX?t.pageX:t.touches[0].pageX)-this.el.nativeElement.getBoundingClientRect().left-window.pageXOffset},t.prototype.getY=function(t){return(void 0!==t.pageY?t.pageY:t.touches[0].pageY)-this.el.nativeElement.getBoundingClientRect().top-window.pageYOffset},n([s.Output("newValue"),r("design:type",Object)],t.prototype,"newValue",void 0),n([s.Output("dragStart"),r("design:type",Object)],t.prototype,"dragStart",void 0),n([s.Output("dragEnd"),r("design:type",Object)],t.prototype,"dragEnd",void 0),n([s.Input("slider"),r("design:type",String)],t.prototype,"slider",void 0),n([s.Input("rgX"),r("design:type",Number)],t.prototype,"rgX",void 0),n([s.Input("rgY"),r("design:type",Number)],t.prototype,"rgY",void 0),t=n([s.Directive({selector:"[slider]",host:{"(mousedown)":"start($event)","(touchstart)":"start($event)"}}),r("design:paramtypes",[s.ElementRef])],t)}();e.SliderDirective=p;var l=function(){function t(t,e,o,i){this.h=t,this.s=e,this.v=o,this.a=i}return t}();e.SliderPosition=l;var c=function(){function t(t,e,o,i){this.h=t,this.s=e,this.v=o,this.a=i}return t}();e.SliderDimension=c,e.detectIE=i},function(t,e,o){"use strict";var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(e,"__esModule",{value:!0});var r=o(0),s=o(1),a=o(2),p=function(){function t(t,e,o,i,n,s){this.injector=t,this.cfr=e,this.appRef=o,this.vcRef=i,this.elRef=n,this.service=s,this.cpPosition="right",this.cpPositionOffset="0%",this.cpPositionRelativeToArrow=!1,this.cpOutputFormat="hex",this.cpPresetLabel="Preset colors",this.cpPresetEmptyMessage="No colors added",this.cpPresetEmptyMessageClass="preset-empty-message",this.cpMaxPresetColorsLength=6,this.cpCancelButton=!1,this.cpCancelButtonClass="cp-cancel-button-class",this.cpCancelButtonText="Cancel",this.cpOKButton=!1,this.cpOKButtonClass="cp-ok-button-class",this.cpOKButtonText="OK",this.cpAddColorButton=!1,this.cpAddColorButtonClass="cp-add-color-button-class",this.cpAddColorButtonText="Add color",this.cpRemoveColorButtonClass="cp-remove-color-button-class",this.cpFallbackColor="#fff",this.cpHeight="auto",this.cpWidth="230px",this.cpIgnoredElements=[],this.cpDialogDisplay="popup",this.cpSaveClickOutside=!0,this.cpAlphaChannel="enabled",this.cpUseRootViewContainer=!1,this.cpInputChange=new r.EventEmitter(!0),this.cpToggleChange=new r.EventEmitter(!0),this.cpSliderChange=new r.EventEmitter(!0),this.cpSliderDragEnd=new r.EventEmitter(!0),this.cpSliderDragStart=new r.EventEmitter(!0),this.colorPickerCancel=new r.EventEmitter(!0),this.colorPickerSelect=new r.EventEmitter(!0),this.colorPickerChange=new r.EventEmitter(!1),this.presetColorsChange=new r.EventEmitter(!0),this.ignoreChanges=!1,this.created=!1}return t.prototype.ngOnChanges=function(t){t.cpToggle&&(t.cpToggle.currentValue&&this.openDialog(),!t.cpToggle.currentValue&&this.dialog&&this.dialog.closeColorPicker()),t.colorPicker&&(this.dialog&&!this.ignoreChanges&&("inline"===this.cpDialogDisplay&&this.dialog.setInitialColor(t.colorPicker.currentValue),this.dialog.setColorFromString(t.colorPicker.currentValue,!1)),this.ignoreChanges=!1),(t.cpPresetLabel||t.cpPresetColors)&&this.dialog&&this.dialog.setPresetConfig(this.cpPresetLabel,this.cpPresetColors)},t.prototype.ngOnInit=function(){this.colorPicker=this.colorPicker||this.cpFallbackColor||"rgba(0, 0, 0, 1)"},t.prototype.ngOnDestroy=function(){void 0!==this.cmpRef&&this.cmpRef.destroy()},t.prototype.openDialog=function(){if(this.colorPicker=this.colorPicker||this.cpFallbackColor||"rgba(0, 0, 0, 1)",this.created)this.dialog&&this.dialog.openDialog(this.colorPicker);else{this.created=!0;var t=this.vcRef;if(this.cpUseRootViewContainer&&"inline"!==this.cpDialogDisplay){var e=this.appRef.componentTypes[0],o=this.injector.get(e);t=o.vcRef||o.viewContainerRef||this.vcRef,t===this.vcRef&&console.warn("You are using cpUseRootViewContainer, but the root component is not exposing viewContainerRef!Please expose it by adding 'public vcRef: ViewContainerRef' to the constructor.")}var i=this.cfr.resolveComponentFactory(a.ColorPickerComponent),n=r.ReflectiveInjector.fromResolvedProviders([],t.parentInjector);this.cmpRef=t.createComponent(i,0,n,[]),this.cmpRef.instance.setDialog(this,this.elRef,this.colorPicker,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpOutputFormat,this.cpPresetLabel,this.cpPresetEmptyMessage,this.cpPresetEmptyMessageClass,this.cpPresetColors,this.cpMaxPresetColorsLength,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpAddColorButton,this.cpAddColorButtonClass,this.cpAddColorButtonText,this.cpRemoveColorButtonClass,this.cpHeight,this.cpWidth,this.cpIgnoredElements,this.cpDialogDisplay,this.cpSaveClickOutside,this.cpAlphaChannel,this.cpUseRootViewContainer),this.dialog=this.cmpRef.instance,this.vcRef!==t&&this.cmpRef.changeDetectorRef.detectChanges()}},t.prototype.toggle=function(t){this.cpToggleChange.emit(t)},t.prototype.colorChanged=function(t,e){void 0===e&&(e=!0),this.ignoreChanges=e,this.colorPickerChange.emit(t)},t.prototype.colorCanceled=function(){this.colorPickerCancel.emit()},t.prototype.colorSelected=function(t){this.colorPickerSelect.emit(t)},t.prototype.presetColorsChanged=function(t){this.presetColorsChange.emit(t)},t.prototype.inputFocus=function(){var t=this;0===this.cpIgnoredElements.filter(function(e){return e===t.elRef.nativeElement}).length&&this.openDialog()},t.prototype.inputChange=function(t){this.dialog?this.dialog.setColorFromString(t,!0):(this.colorPicker=t||this.cpFallbackColor||"rgba(0, 0, 0, 1)",this.colorPickerChange.emit(this.colorPicker))},t.prototype.inputChanged=function(t){this.cpInputChange.emit(t)},t.prototype.sliderChanged=function(t){this.cpSliderChange.emit(t)},t.prototype.sliderDragEnd=function(t){this.cpSliderDragEnd.emit(t)},t.prototype.sliderDragStart=function(t){this.cpSliderDragStart.emit(t)},i([r.Input("colorPicker"),n("design:type",String)],t.prototype,"colorPicker",void 0),i([r.Input("cpToggle"),n("design:type",Boolean)],t.prototype,"cpToggle",void 0),i([r.Input("cpPosition"),n("design:type",String)],t.prototype,"cpPosition",void 0),i([r.Input("cpPositionOffset"),n("design:type",String)],t.prototype,"cpPositionOffset",void 0),i([r.Input("cpPositionRelativeToArrow"),n("design:type",Boolean)],t.prototype,"cpPositionRelativeToArrow",void 0),i([r.Input("cpOutputFormat"),n("design:type",String)],t.prototype,"cpOutputFormat",void 0),i([r.Input("cpPresetLabel"),n("design:type",String)],t.prototype,"cpPresetLabel",void 0),i([r.Input("cpPresetEmptyMessage"),n("design:type",String)],t.prototype,"cpPresetEmptyMessage",void 0),i([r.Input("cpPresetEmptyMessageClass"),n("design:type",String)],t.prototype,"cpPresetEmptyMessageClass",void 0),i([r.Input("cpPresetColors"),n("design:type",Array)],t.prototype,"cpPresetColors",void 0),i([r.Input("cpMaxPresetColorsLength"),n("design:type",Number)],t.prototype,"cpMaxPresetColorsLength",void 0),i([r.Input("cpCancelButton"),n("design:type",Boolean)],t.prototype,"cpCancelButton",void 0),i([r.Input("cpCancelButtonClass"),n("design:type",String)],t.prototype,"cpCancelButtonClass",void 0),i([r.Input("cpCancelButtonText"),n("design:type",String)],t.prototype,"cpCancelButtonText",void 0),i([r.Input("cpOKButton"),n("design:type",Boolean)],t.prototype,"cpOKButton",void 0),i([r.Input("cpOKButtonClass"),n("design:type",String)],t.prototype,"cpOKButtonClass",void 0),i([r.Input("cpOKButtonText"),n("design:type",String)],t.prototype,"cpOKButtonText",void 0),i([r.Input("cpAddColorButton"),n("design:type",Boolean)],t.prototype,"cpAddColorButton",void 0),i([r.Input("cpAddColorButtonClass"),n("design:type",String)],t.prototype,"cpAddColorButtonClass",void 0),i([r.Input("cpAddColorButtonText"),n("design:type",String)],t.prototype,"cpAddColorButtonText",void 0),i([r.Input("cpRemoveColorButtonClass"),n("design:type",String)],t.prototype,"cpRemoveColorButtonClass",void 0),i([r.Input("cpFallbackColor"),n("design:type",String)],t.prototype,"cpFallbackColor",void 0),i([r.Input("cpHeight"),n("design:type",String)],t.prototype,"cpHeight",void 0),i([r.Input("cpWidth"),n("design:type",String)],t.prototype,"cpWidth",void 0),i([r.Input("cpIgnoredElements"),n("design:type",Object)],t.prototype,"cpIgnoredElements",void 0),i([r.Input("cpDialogDisplay"),n("design:type",String)],t.prototype,"cpDialogDisplay",void 0),i([r.Input("cpSaveClickOutside"),n("design:type",Boolean)],t.prototype,"cpSaveClickOutside",void 0),i([r.Input("cpAlphaChannel"),n("design:type",String)],t.prototype,"cpAlphaChannel",void 0),i([r.Input("cpUseRootViewContainer"),n("design:type",Boolean)],t.prototype,"cpUseRootViewContainer",void 0),i([r.Output("cpInputChange"),n("design:type",Object)],t.prototype,"cpInputChange",void 0),i([r.Output("cpToggleChange"),n("design:type",Object)],t.prototype,"cpToggleChange",void 0),i([r.Output("cpSliderChange"),n("design:type",Object)],t.prototype,"cpSliderChange",void 0),i([r.Output("cpSliderDragEnd"),n("design:type",Object)],t.prototype,"cpSliderDragEnd",void 0),i([r.Output("cpSliderDragStart"),n("design:type",Object)],t.prototype,"cpSliderDragStart",void 0),i([r.Output("colorPickerCancel"),n("design:type",Object)],t.prototype,"colorPickerCancel",void 0),i([r.Output("colorPickerSelect"),n("design:type",Object)],t.prototype,"colorPickerSelect",void 0),i([r.Output("colorPickerChange"),n("design:type",Object)],t.prototype,"colorPickerChange",void 0),i([r.Output("cpPresetColorsChange"),n("design:type",Object)],t.prototype,"presetColorsChange",void 0),t=i([r.Directive({selector:"[colorPicker]",host:{"(click)":"inputFocus()","(focus)":"inputFocus()","(input)":"inputChange($event.target.value)"}}),n("design:paramtypes",[r.Injector,r.ComponentFactoryResolver,r.ApplicationRef,r.ViewContainerRef,r.ElementRef,s.ColorPickerService])],t)}();e.ColorPickerDirective=p},function(t,e,o){"use strict";function i(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}Object.defineProperty(e,"__esModule",{value:!0}),i(o(2)),i(o(5)),i(o(10)),i(o(1)),i(o(3)),i(o(4))},function(t,e){t.exports='/*\n * Styles for Color Picker\n *\n * Alberto Pujante\n *\n * @licence: http://opensource.org/licenses/MIT\n */\n.color-picker * {\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n margin: 0;\n font-size: 11px; }\n\n.color-picker {\n cursor: default;\n width: 230px;\n height: auto;\n border: #777 solid 1px;\n position: absolute;\n z-index: 100000;\n background-color: #fff;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n .color-picker i {\n cursor: default;\n position: relative; }\n .color-picker input {\n text-align: center;\n font-size: 13px;\n height: 26px;\n min-width: 0;\n -moz-appearance: textfield; }\n .color-picker input:invalid {\n box-shadow: none; }\n .color-picker input:-moz-submit-invalid {\n box-shadow: none; }\n .color-picker input:-moz-ui-invalid {\n box-shadow: none; }\n .color-picker input::-webkit-inner-spin-button, .color-picker input::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0; }\n .color-picker .button-area {\n padding: 0 16px 16px 16px;\n text-align: right; }\n .color-picker .preset-area {\n padding: 4px 15px; }\n .color-picker .preset-area .preset-label {\n width: 100%;\n padding: 4px;\n font-size: 11px;\n text-align: left;\n color: #555; }\n .color-picker .preset-area .preset-color {\n -moz-border-radius: 25%;\n -webkit-border-radius: 25%;\n border-radius: 25%;\n -khtml-border-radius: 25%;\n border: #a9a9a9 solid 1px;\n cursor: pointer;\n display: inline-block;\n height: 18px;\n margin: 4px 6px 8px 6px;\n position: relative;\n width: 18px; }\n .color-picker .preset-area .preset-empty-message {\n font-style: italic;\n margin-bottom: 8px;\n margin-top: 4px;\n min-height: 18px;\n text-align: center; }\n .color-picker .arrow {\n height: 0;\n width: 0;\n border-style: solid;\n position: absolute;\n z-index: 999999; }\n .color-picker .arrow-right {\n border-width: 5px 10px;\n border-color: transparent #777 transparent transparent;\n top: 10px;\n left: -20px; }\n .color-picker .arrow-left {\n border-width: 5px 10px;\n border-color: transparent transparent transparent #777;\n top: 10px;\n left: 100%; }\n .color-picker .arrow-bottom {\n border-width: 10px 5px;\n border-color: transparent transparent #777 transparent;\n top: -20px;\n left: 10px; }\n .color-picker .arrow-top {\n border-width: 10px 5px;\n border-color: #777 transparent transparent transparent;\n left: 10px; }\n .color-picker div.cursor-sv {\n cursor: default;\n position: relative;\n -moz-border-radius: 50%;\n -webkit-border-radius: 50%;\n border-radius: 50%;\n -khtml-border-radius: 50%;\n width: 15px;\n height: 15px;\n border: #ddd solid 1px; }\n .color-picker div.cursor {\n cursor: default;\n position: relative;\n -moz-border-radius: 50%;\n -webkit-border-radius: 50%;\n border-radius: 50%;\n -khtml-border-radius: 50%;\n width: 16px;\n height: 16px;\n border: #222 solid 2px; }\n .color-picker .saturation-lightness {\n cursor: pointer;\n width: 100%;\n height: 130px;\n border: none;\n background-size: 100% 100%;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwksPWR6lgAAIABJREFUeNrtnVuT47gRrAHN+P//Or/61Y5wONZ7mZ1u3XAeLMjJZGZVgdKsfc5xR3S0RIIUW+CHzCpc2McYo7XGv3ex7UiZd57rjyzzv+v+33X/R/+3r/f7vR386Y+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C85dgfDVeguPDfITrIBLsLrcgdh3CFgFZjaKJ4Iv3F8ANEqvuxR1tVKOgLoCa1jxboBAkj6v7j/icFbA7f4rfRnQDLRViG13i0vqBQrYVqBbADZT0ZpiHoSzvQpopKIFS3sE1HfBWlHXd0H7LnArqvougMtljHBgZnh3Eoz/BKjLML4Z2Aq0+hEJr9jaVUBbvNzCIUiroC7AWmmFw4o5AK3MtB5VypZMSFgs05JyGVwlwBqsEGAAa2ZU1CjUexXGsE4rKriilBvFzOKKo3AuAroE6QFQU3u8YpNXwS5k+1TZt5UrwouN4KiUEw+k3ZWDp1RXHNRqXb21Ts39945yZSg3VnZFNQ9CF3XeZyr5DgBXKiwCMa2MxeTDYXgP1Fsf9QNKZc0k81RJk3r6EQ3rCmBVyLL75EjZ1pIVDHoFtiOAHoB0BdTVylqBsKKKS+AeBXJVLY+CXASuGvO/Auq7GuEjDfGKg1oKa1z/dmmi9I9SUGNhl0AtfulHAawoYrnSkmNXAVuGEhrEVXvUF+A5Ct2PqNOjDetyna4CmeUolmeXLN4Aq7C5Sj10Q7yjgl+t6CNxSRHmI5X+CpwreYB3Qfdqna4q21KdBuc4GoZsn49ZOOiVinwHqK9WzjvgeweEh2AU5+vtxZ9Cd9Wqkh49V18E5oj6vVyn0RStAyGIO5edXRKd5B0VGVXq2yr3xYp+5Ut+C4QJ4P1N339pQMjRejj4vb/Dcr6rQc3O/0rjmtZpeYCBiCHfCemRbNhbK/pNUPc3wfKy5f2D7OlL3/uPhve/oU4T0F8f+VNM2vyoiv0jK+KHQfdHq+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg=="); }\n .color-picker .box {\n display: -webkit-box;\n display: -webkit-flex;\n display: -moz-flex;\n display: -ms-flexbox;\n display: flex;\n padding: 4px 8px; }\n .color-picker .box .left {\n position: relative;\n padding: 16px 8px; }\n .color-picker .box .right {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n padding: 12px 8px; }\n .color-picker .hue {\n cursor: pointer;\n width: 100%;\n height: 16px;\n border: none;\n margin-bottom: 16px;\n background-size: 100% 100%;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC"); }\n .color-picker .alpha {\n cursor: pointer;\n width: 100%;\n height: 16px;\n border: none;\n background-size: 100% 100%;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg=="); }\n .color-picker .selected-color {\n width: 40px;\n height: 40px;\n top: 16px;\n left: 8px;\n position: absolute;\n -moz-border-radius: 50%;\n -webkit-border-radius: 50%;\n border-radius: 50%;\n -khtml-border-radius: 50%;\n border: 1px solid #a9a9a9; }\n .color-picker .selected-color-background {\n width: 40px;\n height: 40px;\n -moz-border-radius: 50%;\n -webkit-border-radius: 50%;\n border-radius: 50%;\n -khtml-border-radius: 50%;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC"); }\n .color-picker .type-policy {\n position: absolute;\n top: 215px;\n right: 12px;\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n background-size: 8px 16px;\n -moz-background-size: 8px 16px;\n -webkit-background-size: 8px 16px;\n -o-background-size: 8px 16px;\n width: 16px;\n height: 24px; }\n .color-picker .hsla-text, .color-picker .rgba-text {\n width: 100%;\n font-size: 11px;\n padding: 4px 8px; }\n .color-picker .hsla-text .box, .color-picker .rgba-text .box {\n padding: 0 24px 8px 8px; }\n .color-picker .hsla-text .box input, .color-picker .rgba-text .box input {\n min-width: 0;\n -webkit-flex: 1;\n -ms-flex: 1;\n flex: 1;\n margin: 0;\n float: left;\n margin-right: 8px;\n border: #a9a9a9 solid 1px;\n padding: 1px; }\n .color-picker .hsla-text .box input:last-child, .color-picker .rgba-text .box input:last-child {\n margin-right: 0; }\n .color-picker .hsla-text .box div, .color-picker .rgba-text .box div {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n text-align: center;\n color: #555;\n margin-right: 8px; }\n .color-picker .hsla-text .box div:last-child, .color-picker .rgba-text .box div:last-child {\n margin-right: 0; }\n .color-picker .hex-text {\n width: 100%;\n font-size: 11px;\n padding: 4px 8px; }\n .color-picker .hex-text .box {\n padding: 0 24px 8px 8px; }\n .color-picker .hex-text .box input {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n border: #a9a9a9 solid 1px;\n padding: 1px; }\n .color-picker .hex-text .box div {\n -webkit-flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n text-align: center;\n color: #555;\n float: left;\n clear: left; }\n .color-picker .cp-add-color-button-class {\n background: transparent;\n border: 0;\n cursor: pointer;\n display: inline;\n margin-left: -3px;\n margin-top: 3px;\n padding: 0;\n position: absolute; }\n .color-picker .cp-add-color-button-class:hover {\n text-decoration: underline; }\n .color-picker .cp-add-color-button-class:disabled {\n color: #999;\n cursor: not-allowed; }\n .color-picker .cp-add-color-button-class:disabled:hover {\n text-decoration: none; }\n .color-picker .cp-remove-color-button-class {\n background: #fff;\n border-radius: 50%;\n box-shadow: 1px 1px 5px #333;\n cursor: pointer;\n display: block;\n height: 10px;\n position: absolute;\n right: -5px;\n text-align: center;\n top: -5px;\n width: 10px; }\n .color-picker .cp-remove-color-button-class:before {\n bottom: 3.5px;\n content: \'x\';\n display: inline-block;\n font-size: 10px;\n position: relative; }\n'},function(t,e){t.exports='<div class="color-picker" [style.visibility]="hidden || !show ? \'hidden\' : \'visible\'" [style.height.px]="cpHeight" [style.width.px]="cpWidth" [style.top.px]="top" [style.left.px]="left" [style.position]="position" #dialogPopup>\n <div *ngIf="cpDialogDisplay==\'popup\'" class="arrow arrow-{{cpPosition}}" [style.top.px]="arrowTop"></div>\n\n <div [slider] [style.background-color]="hueSliderColor" [rgX]="1" [rgY]="1" (newValue)="setSaturationAndBrightness($event)" (dragStart)="onDragStart(\'saturation-lightness\')" (dragEnd)="onDragEnd(\'saturation-lightness\')" class="saturation-lightness">\n <div [style.left.px]="slider.s" [style.top.px]="slider.v" class="cursor"></div>\n </div>\n <div class="box">\n <div class="left">\n <div class="selected-color-background"></div>\n <div [style.background-color]="selectedColor" class="selected-color"></div>\n <button\n *ngIf="cpAddColorButton"\n class="{{cpAddColorButtonClass}}"\n (click)="addPresetColor(selectedColor)"\n [disabled]="cpPresetColors && cpPresetColors.length >= cpMaxPresetColorsLength">\n {{cpAddColorButtonText}}\n </button>\n </div>\n <div class="right">\n <div *ngIf="cpAlphaChannel===\'disabled\'" style="height: 16px;"></div>\n\n <div [slider] [rgX]="1" (newValue)="setHue($event)" (dragStart)="onDragStart(\'hue\')" (dragEnd)="onDragEnd(\'hue\')" class="hue" #hueSlider>\n <div [style.left.px]="slider.h" class="cursor"></div>\n </div>\n\n <div [style.display]="cpAlphaChannel === \'disabled\' ? \'none\' : \'block\'" [slider] [style.background-color]="alphaSliderColor" [rgX]="1" (newValue)="setAlpha($event)" (dragStart)="onDragStart(\'alpha\')" (dragEnd)="onDragEnd(\'alpha\')" class="alpha" #alphaSlider>\n <div [style.left.px]="slider.a" class="cursor"></div>\n </div>\n </div>\n </div>\n\n <div [style.display]="format !== 2 ? \'none\' : \'block\'" class="hsla-text">\n <div class="box">\n <input [text] type="number" pattern="[0-9]*" min="0" max="360" [rg]="360" (newValue)="setHue($event)" [value]="hslaText.h"/>\n <input [text] type="number" pattern="[0-9]*" min="0" max="100" [rg]="100" (newValue)="setSaturation($event)" [value]="hslaText.s"/>\n <input [text] type="number" pattern="[0-9]*" min="0" max="100" [rg]="100" (newValue)="setLightness($event)" [value]="hslaText.l"/>\n <input *ngIf="cpAlphaChannel!==\'disabled\'" [text] type="number" pattern="[0-9]+([\\.,][0-9]{1,2})?" min="0" max="1" step="0.1" [rg]="1" (newValue)="setA($event)" [value]="hslaText.a"/>\n </div>\n <div class="box">\n <div>H</div><div>S</div><div>L</div><div *ngIf="cpAlphaChannel!==\'disabled\'">A</div>\n </div>\n </div>\n\n <div [style.display]="format !== 1 ? \'none\' : \'block\'" class="rgba-text">\n <div class="box">\n <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setR($event)" [value]="rgbaText.r"/>\n <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setG($event)" [value]="rgbaText.g"/>\n <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setB($event)" [value]="rgbaText.b"/>\n <input *ngIf="cpAlphaChannel!==\'disabled\'" [text] type="number" pattern="[0-9]+([\\.,][0-9]{1,2})?" min="0" max="1" step="0.1" [rg]="1" (newValue)="setA($event)" [value]="rgbaText.a"/>\n </div>\n <div class="box">\n <div>R</div><div>G</div><div>B</div><div *ngIf="cpAlphaChannel!==\'disabled\'" >A</div>\n </div>\n </div>\n\n <div [style.display]="format !== 0 ? \'none\' : \'block\'" class="hex-text">\n <div class="box">\n <input [text] (blur)="setHex(null)" (newValue)="setHex($event)" [value]="hexText"/>\n </div>\n <div class="box">\n <div>Hex</div>\n </div>\n </div>\n\n <div (click)="formatPolicy()" class="type-policy"></div>\n\n <div *ngIf="cpPresetColors" class="preset-area">\n <hr>\n\n <div class="preset-label">{{cpPresetLabel}}</div>\n <div *ngIf="cpPresetColors.length">\n <div *ngFor="let color of cpPresetColors" class="preset-color" [style.backgroundColor]="color" (click)="setColorFromString(color)">\n <span *ngIf="cpAddColorButton" class="{{cpRemoveColorButtonClass}}" (click)="removePresetColor(color)"></span>\n </div>\n </div>\n\n <div *ngIf="!cpPresetColors.length && cpAddColorButton" class="{{cpPresetEmptyMessageClass}}">{{cpPresetEmptyMessage}}</div>\n </div>\n\n <div *ngIf="cpOKButton || cpCancelButton" class="button-area">\n <button *ngIf="cpOKButton" type="button" class="{{cpOKButtonClass}}" (click)="oKColor($event)">{{cpOKButtonText}}</button>\n <button *ngIf="cpCancelButton" type="button" class="{{cpCancelButtonClass}}" (click)="cancelColor($event)">{{cpCancelButtonText}}</button>\n </div>\n\n</div>\n'},function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var o in t)e.hasOwnProperty(o)||(e[o]=t[o])}(o(6))},function(t,e,o){"use strict";var i=this&&this.__decorate||function(t,e,o,i){var n,r=arguments.length,s=r<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,o,i);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,o,s):n(e,o))||s);return r>3&&s&&Object.defineProperty(e,o,s),s};Object.defineProperty(e,"__esModule",{value:!0});var n=o(0),r=o(11),s=o(4),a=o(1),p=o(2),l=o(5),c=function(){function t(){}return t=i([n.NgModule({imports:[r.CommonModule],providers:[a.ColorPickerService],declarations:[p.ColorPickerComponent,l.ColorPickerDirective,s.TextDirective,s.SliderDirective],exports:[l.ColorPickerDirective],entryComponents:[p.ColorPickerComponent]})],t)}();e.ColorPickerModule=c},function(t,o){t.exports=e}])});

@@ -73,3 +73,3 @@ import { ElementRef, OnInit, AfterViewInit, ChangeDetectorRef } from '@angular/core';

oKColor(event: Event): void;
setColorFromString(value: string, emit?: boolean): void;
setColorFromString(value: string, emit?: boolean, update?: boolean): void;
addPresetColor(value: string): void;

@@ -124,5 +124,5 @@ removePresetColor(value: string): void;

formatPolicy(): number;
update(emit?: boolean): void;
update(emit?: boolean, update?: boolean): void;
isDescendant(parent: any, child: any): boolean;
createBox(element: any, offset: boolean): any;
}

@@ -125,4 +125,5 @@ "use strict";

};
ColorPickerComponent.prototype.setColorFromString = function (value, emit) {
ColorPickerComponent.prototype.setColorFromString = function (value, emit, update) {
if (emit === void 0) { emit = true; }
if (update === void 0) { update = true; }
var hsva;

@@ -140,3 +141,3 @@ if (this.cpAlphaChannel === 'always' || this.cpAlphaChannel === 'hex8') {

this.hsva = hsva;
this.update(emit);
this.update(emit, update);
}

@@ -331,4 +332,9 @@ };

ColorPickerComponent.prototype.setHex = function (val) {
this.setColorFromString(val);
this.directiveInstance.inputChanged({ input: 'hex', value: val, color: this.outputColor });
if (val === null) {
this.update();
}
else {
this.setColorFromString(val, true, false);
this.directiveInstance.inputChanged({ input: 'hex', value: val, color: this.outputColor });
}
};

@@ -346,4 +352,5 @@ ColorPickerComponent.prototype.setSaturationAndBrightness = function (val) {

};
ColorPickerComponent.prototype.update = function (emit) {
ColorPickerComponent.prototype.update = function (emit, update) {
if (emit === void 0) { emit = true; }
if (update === void 0) { update = true; }
if (this.sliderDimMax) {

@@ -353,5 +360,7 @@ var hsla = this.service.hsva2hsla(this.hsva);

var hueRgba = this.service.denormalizeRGBA(this.service.hsvaToRgba(new formats_1.Hsva(this.hsva.h, 1, 1, 1)));
this.hslaText = new formats_1.Hsla(Math.round((hsla.h) * 360), Math.round(hsla.s * 100), Math.round(hsla.l * 100), Math.round(hsla.a * 100) / 100);
this.rgbaText = new formats_1.Rgba(rgba.r, rgba.g, rgba.b, Math.round(rgba.a * 100) / 100);
this.hexText = this.service.hexText(rgba, this.cpAlphaChannel === 'always' || this.cpAlphaChannel === 'hex8');
if (update) {
this.hslaText = new formats_1.Hsla(Math.round((hsla.h) * 360), Math.round(hsla.s * 100), Math.round(hsla.l * 100), Math.round(hsla.a * 100) / 100);
this.rgbaText = new formats_1.Rgba(rgba.r, rgba.g, rgba.b, Math.round(rgba.a * 100) / 100);
this.hexText = this.service.hexText(rgba, this.cpAlphaChannel === 'always' || this.cpAlphaChannel === 'hex8');
}
this.alphaSliderColor = 'rgb(' + rgba.r + ',' + rgba.g + ',' + rgba.b + ')';

@@ -389,3 +398,3 @@ this.hueSliderColor = 'rgb(' + hueRgba.r + ',' + hueRgba.g + ',' + hueRgba.b + ')';

selector: 'color-picker',
template: '<div class="color-picker" [style.visibility]="hidden || !show ? \'hidden\' : \'visible\'" [style.height.px]="cpHeight" [style.width.px]="cpWidth" [style.top.px]="top" [style.left.px]="left" [style.position]="position" #dialogPopup><div *ngIf="cpDialogDisplay==\'popup\'" class="arrow arrow-{{cpPosition}}" [style.top.px]="arrowTop"></div><div [slider] [style.background-color]="hueSliderColor" [rgX]="1" [rgY]="1" (newValue)="setSaturationAndBrightness($event)" (dragStart)="onDragStart(\'saturation-lightness\')" (dragEnd)="onDragEnd(\'saturation-lightness\')" class="saturation-lightness"><div [style.left.px]="slider.s" [style.top.px]="slider.v" class="cursor"></div></div><div class="box"><div class="left"><div class="selected-color-background"></div><div [style.background-color]="selectedColor" class="selected-color"></div><button *ngIf="cpAddColorButton" class="{{cpAddColorButtonClass}}" (click)="addPresetColor(selectedColor)" [disabled]="cpPresetColors && cpPresetColors.length >= cpMaxPresetColorsLength">{{cpAddColorButtonText}}</button></div><div class="right"><div *ngIf="cpAlphaChannel===\'disabled\'" style="height: 16px"></div><div [slider] [rgX]="1" (newValue)="setHue($event)" (dragStart)="onDragStart(\'hue\')" (dragEnd)="onDragEnd(\'hue\')" class="hue" #hueSlider><div [style.left.px]="slider.h" class="cursor"></div></div><div [style.display]="cpAlphaChannel === \'disabled\' ? \'none\' : \'block\'" [slider] [style.background-color]="alphaSliderColor" [rgX]="1" (newValue)="setAlpha($event)" (dragStart)="onDragStart(\'alpha\')" (dragEnd)="onDragEnd(\'alpha\')" class="alpha" #alphaSlider><div [style.left.px]="slider.a" class="cursor"></div></div></div></div><div [style.display]="format !== 2 ? \'none\' : \'block\'" class="hsla-text"><div class="box"><input [text] type="number" pattern="[0-9]*" min="0" max="360" [rg]="360" (newValue)="setHue($event)" [value]="hslaText.h"> <input [text] type="number" pattern="[0-9]*" min="0" max="100" [rg]="100" (newValue)="setSaturation($event)" [value]="hslaText.s"> <input [text] type="number" pattern="[0-9]*" min="0" max="100" [rg]="100" (newValue)="setLightness($event)" [value]="hslaText.l"> <input *ngIf="cpAlphaChannel!==\'disabled\'" [text] type="number" pattern="[0-9]+([\.,][0-9]{1,2})?" min="0" max="1" step="0.1" [rg]="1" (newValue)="setA($event)" [value]="hslaText.a"></div><div class="box"><div>H</div><div>S</div><div>L</div><div *ngIf="cpAlphaChannel!==\'disabled\'">A</div></div></div><div [style.display]="format !== 1 ? \'none\' : \'block\'" class="rgba-text"><div class="box"><input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setR($event)" [value]="rgbaText.r"> <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setG($event)" [value]="rgbaText.g"> <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setB($event)" [value]="rgbaText.b"> <input *ngIf="cpAlphaChannel!==\'disabled\'" [text] type="number" pattern="[0-9]+([\.,][0-9]{1,2})?" min="0" max="1" step="0.1" [rg]="1" (newValue)="setA($event)" [value]="rgbaText.a"></div><div class="box"><div>R</div><div>G</div><div>B</div><div *ngIf="cpAlphaChannel!==\'disabled\'">A</div></div></div><div [style.display]="format !== 0 ? \'none\' : \'block\'" class="hex-text"><div class="box"><input [text] (newValue)="setHex($event)" [value]="hexText"></div><div class="box"><div>Hex</div></div></div><div (click)="formatPolicy()" class="type-policy"></div><div *ngIf="cpPresetColors" class="preset-area"><hr><div class="preset-label">{{cpPresetLabel}}</div><div *ngIf="cpPresetColors.length"><div *ngFor="let color of cpPresetColors" class="preset-color" [style.backgroundColor]="color" (click)="setColorFromString(color)"><span *ngIf="cpAddColorButton" class="{{cpRemoveColorButtonClass}}" (click)="removePresetColor(color)"></span></div></div><div *ngIf="!cpPresetColors.length && cpAddColorButton" class="{{cpPresetEmptyMessageClass}}">{{cpPresetEmptyMessage}}</div></div><div *ngIf="cpOKButton || cpCancelButton" class="button-area"><button *ngIf="cpOKButton" type="button" class="{{cpOKButtonClass}}" (click)="oKColor($event)">{{cpOKButtonText}}</button> <button *ngIf="cpCancelButton" type="button" class="{{cpCancelButtonClass}}" (click)="cancelColor($event)">{{cpCancelButtonText}}</button></div></div>',
template: '<div class="color-picker" [style.visibility]="hidden || !show ? \'hidden\' : \'visible\'" [style.height.px]="cpHeight" [style.width.px]="cpWidth" [style.top.px]="top" [style.left.px]="left" [style.position]="position" #dialogPopup><div *ngIf="cpDialogDisplay==\'popup\'" class="arrow arrow-{{cpPosition}}" [style.top.px]="arrowTop"></div><div [slider] [style.background-color]="hueSliderColor" [rgX]="1" [rgY]="1" (newValue)="setSaturationAndBrightness($event)" (dragStart)="onDragStart(\'saturation-lightness\')" (dragEnd)="onDragEnd(\'saturation-lightness\')" class="saturation-lightness"><div [style.left.px]="slider.s" [style.top.px]="slider.v" class="cursor"></div></div><div class="box"><div class="left"><div class="selected-color-background"></div><div [style.background-color]="selectedColor" class="selected-color"></div><button *ngIf="cpAddColorButton" class="{{cpAddColorButtonClass}}" (click)="addPresetColor(selectedColor)" [disabled]="cpPresetColors && cpPresetColors.length >= cpMaxPresetColorsLength">{{cpAddColorButtonText}}</button></div><div class="right"><div *ngIf="cpAlphaChannel===\'disabled\'" style="height: 16px"></div><div [slider] [rgX]="1" (newValue)="setHue($event)" (dragStart)="onDragStart(\'hue\')" (dragEnd)="onDragEnd(\'hue\')" class="hue" #hueSlider><div [style.left.px]="slider.h" class="cursor"></div></div><div [style.display]="cpAlphaChannel === \'disabled\' ? \'none\' : \'block\'" [slider] [style.background-color]="alphaSliderColor" [rgX]="1" (newValue)="setAlpha($event)" (dragStart)="onDragStart(\'alpha\')" (dragEnd)="onDragEnd(\'alpha\')" class="alpha" #alphaSlider><div [style.left.px]="slider.a" class="cursor"></div></div></div></div><div [style.display]="format !== 2 ? \'none\' : \'block\'" class="hsla-text"><div class="box"><input [text] type="number" pattern="[0-9]*" min="0" max="360" [rg]="360" (newValue)="setHue($event)" [value]="hslaText.h"> <input [text] type="number" pattern="[0-9]*" min="0" max="100" [rg]="100" (newValue)="setSaturation($event)" [value]="hslaText.s"> <input [text] type="number" pattern="[0-9]*" min="0" max="100" [rg]="100" (newValue)="setLightness($event)" [value]="hslaText.l"> <input *ngIf="cpAlphaChannel!==\'disabled\'" [text] type="number" pattern="[0-9]+([\.,][0-9]{1,2})?" min="0" max="1" step="0.1" [rg]="1" (newValue)="setA($event)" [value]="hslaText.a"></div><div class="box"><div>H</div><div>S</div><div>L</div><div *ngIf="cpAlphaChannel!==\'disabled\'">A</div></div></div><div [style.display]="format !== 1 ? \'none\' : \'block\'" class="rgba-text"><div class="box"><input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setR($event)" [value]="rgbaText.r"> <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setG($event)" [value]="rgbaText.g"> <input [text] type="number" pattern="[0-9]*" min="0" max="255" [rg]="255" (newValue)="setB($event)" [value]="rgbaText.b"> <input *ngIf="cpAlphaChannel!==\'disabled\'" [text] type="number" pattern="[0-9]+([\.,][0-9]{1,2})?" min="0" max="1" step="0.1" [rg]="1" (newValue)="setA($event)" [value]="rgbaText.a"></div><div class="box"><div>R</div><div>G</div><div>B</div><div *ngIf="cpAlphaChannel!==\'disabled\'">A</div></div></div><div [style.display]="format !== 0 ? \'none\' : \'block\'" class="hex-text"><div class="box"><input [text] (blur)="setHex(null)" (newValue)="setHex($event)" [value]="hexText"></div><div class="box"><div>Hex</div></div></div><div (click)="formatPolicy()" class="type-policy"></div><div *ngIf="cpPresetColors" class="preset-area"><hr><div class="preset-label">{{cpPresetLabel}}</div><div *ngIf="cpPresetColors.length"><div *ngFor="let color of cpPresetColors" class="preset-color" [style.backgroundColor]="color" (click)="setColorFromString(color)"><span *ngIf="cpAddColorButton" class="{{cpRemoveColorButtonClass}}" (click)="removePresetColor(color)"></span></div></div><div *ngIf="!cpPresetColors.length && cpAddColorButton" class="{{cpPresetEmptyMessageClass}}">{{cpPresetEmptyMessage}}</div></div><div *ngIf="cpOKButton || cpCancelButton" class="button-area"><button *ngIf="cpOKButton" type="button" class="{{cpOKButtonClass}}" (click)="oKColor($event)">{{cpOKButtonText}}</button> <button *ngIf="cpCancelButton" type="button" class="{{cpCancelButtonClass}}" (click)="cancelColor($event)">{{cpCancelButtonText}}</button></div></div>',
styles: ['.color-picker *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;font-size:11px}.color-picker{cursor:default;width:230px;height:auto;border:1px solid #777;position:absolute;z-index:100000;background-color:#fff;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.color-picker i{cursor:default;position:relative}.color-picker input{text-align:center;font-size:13px;height:26px;min-width:0;-moz-appearance:textfield}.color-picker input:invalid{box-shadow:none}.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input:-moz-ui-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.color-picker .button-area{padding:0 16px 16px;text-align:right}.color-picker .preset-area{padding:4px 15px}.color-picker .preset-area .preset-label{width:100%;padding:4px;font-size:11px;text-align:left;color:#555}.color-picker .preset-area .preset-color{-moz-border-radius:25%;-webkit-border-radius:25%;border-radius:25%;-khtml-border-radius:25%;border:1px solid #a9a9a9;cursor:pointer;display:inline-block;height:18px;margin:4px 6px 8px;position:relative;width:18px}.color-picker .preset-area .preset-empty-message{font-style:italic;margin-bottom:8px;margin-top:4px;min-height:18px;text-align:center}.color-picker .arrow{height:0;width:0;border-style:solid;position:absolute;z-index:999999}.color-picker .arrow-right{border-width:5px 10px;border-color:transparent #777 transparent transparent;top:10px;left:-20px}.color-picker .arrow-left{border-width:5px 10px;border-color:transparent transparent transparent #777;top:10px;left:100%}.color-picker .arrow-bottom{border-width:10px 5px;border-color:transparent transparent #777;top:-20px;left:10px}.color-picker .arrow-top{border-width:10px 5px;border-color:#777 transparent transparent;left:10px}.color-picker div.cursor-sv{cursor:default;position:relative;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;-khtml-border-radius:50%;width:15px;height:15px;border:1px solid #ddd}.color-picker .selected-color,.color-picker div.cursor{-moz-border-radius:50%;-webkit-border-radius:50%;-khtml-border-radius:50%}.color-picker div.cursor{cursor:default;position:relative;border-radius:50%;width:16px;height:16px;border:2px solid #222}.color-picker .saturation-lightness{cursor:pointer;width:100%;height:130px;border:none;background-size:100% 100%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAACCCAYAAABSD7T3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB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AAABJRU5ErkJggg==)}.color-picker .alpha,.color-picker .hue{width:100%;height:16px;border:none;background-size:100% 100%;cursor:pointer}.color-picker .box{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;padding:4px 8px}.color-picker .box .left{position:relative;padding:16px 8px}.color-picker .box .right{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;padding:12px 8px}.color-picker .hue{margin-bottom:16px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwkUFWbCCAAAAFxJREFUaN7t0kEKg0AQAME2x83/n2qu5qCgD1iDhCoYdpnbQC9bbY1qVO/jvc6k3ad91s7/7F1/csgPrujuQ17BDYSFsBAWwgJhISyEBcJCWAgLhIWwEBYIi2f7Ar/1TCgFH2X9AAAAAElFTkSuQmCC)}.color-picker .alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAAAQCAYAAAD06IYnAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AIWDwYQlZMa3gAAAWVJREFUaN7tmEGO6jAQRCsOArHgBpyAJYGjcGocxAm4A2IHpmoWE0eBH+ezmFlNvU06shJ3W6VEelWMUQAIIF9f6qZpimsA1LYtS2uF51/u27YVAFZVRUkEoGHdPV/sIcbIEIIkUdI/9Xa7neyv61+SWFUVAVCSct00TWn2fv6u3+Ecfd3tXzy/0+nEUu+SPjo/kqzrmiQpScN6v98XewfA8/lMkiLJ2WxGSUopcT6fM6U0NX9/frfbjev1WtfrlZfLhYfDQQHG/AIOlnGwjINlHCxjHCzjYJm/TJWdCwquJXseFFzGwDNNeiKMOJTO8xQdDQaeB29+K9efeLaBo9J7vdvtJj1RjFFjfiv7qv95tjx/7leSQgh93e1ffMeIp6O+YQjho/N791t1XVOSSI7N//K+4/GoxWLBx+PB5/Op5XLJ+/3OlJJWqxU3m83ovv5iGf8KjYNlHCxjHCzjYBkHy5gf5gusvQU7U37jTAAAAABJRU5ErkJggg==)}.color-picker .selected-color{width:40px;height:40px;top:16px;left:8px;position:absolute;border-radius:50%;border:1px solid #a9a9a9}.color-picker .selected-color-background{width:40px;height:40px;-moz-border-radius:50%;-webkit-border-radius:50%;border-radius:50%;-khtml-border-radius:50%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAh0lEQVRYR+2W0QlAMQgD60zdfwOdqa8TmI/wQMr5K0I5bZLIzLOa2nt37VVVbd+dDx5obgCC3KBLwJ2ff4PnVidkf+ucIhw80HQaCLo3DMH3CRK3iFsmAWVl6hPNDwt8EvNE5q+YuEXcMgkonVM6SdyCoEvAnZ8v1Hjx817MilmxSUB5rdLJDycZgUAZUch/AAAAAElFTkSuQmCC)}.color-picker .type-policy{position:absolute;top:215px;right:12px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAACewAAAnsB01CO3AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIASURBVEiJ7ZY9axRRFIafsxMStrLQJpAgpBFhi+C9w1YSo00I6RZ/g9vZpBf/QOr4GyRgkSKNSrAadsZqQGwCkuAWyRZJsySwvhZ7N/vhzrgbLH3Ld8597jlzz50zJokyxXH8DqDVar0qi6v8BbItqSGpEcfxdlmsFWXkvX8AfAVWg3UKPEnT9GKujMzsAFgZsVaCN1VTQd77XUnrgE1kv+6935268WRpzrnHZvYRWC7YvC3pRZZl3wozqtVqiyH9IgjAspkd1Gq1xUJQtVrdB9ZKIAOthdg/Qc65LUk7wNIMoCVJO865rYFhkqjX6/d7vV4GPJwBMqofURS5JEk6FYBer/eeYb/Mo9WwFnPOvQbeAvfuAAK4BN4sAJtAG/gJIElmNuiJyba3EGNmZiPeZuEVmVell/Y/6N+CzDn3AXhEOOo7Hv/3BeAz8IzQkMPnJbuPx1wC+yYJ7/0nYIP5S/0FHKdp+rwCEEXRS/rf5Hl1Gtb2M0iSpCOpCZzPATmX1EySpHMLAsiy7MjMDoHrGSDXZnaYZdnRwBh7J91utwmczAA6CbG3GgPleX4jqUH/a1CktqRGnuc3hSCAMB32gKspkCtgb3KCQMmkjeP4WNJThrNNZval1WptTIsv7JtQ4tmIdRa8qSoEpWl6YWZNoAN0zKxZNPehpLSBZv2t+Q0CJ9lLnARQLAAAAABJRU5ErkJggg==);background-repeat:no-repeat;background-position:center;background-size:8px 16px;-moz-background-size:8px 16px;-webkit-background-size:8px 16px;-o-background-size:8px 16px;width:16px;height:24px}.color-picker .hsla-text,.color-picker .rgba-text{width:100%;font-size:11px;padding:4px 8px}.color-picker .hsla-text .box,.color-picker .rgba-text .box{padding:0 24px 8px 8px}.color-picker .hsla-text .box input,.color-picker .rgba-text .box input{min-width:0;-webkit-flex:1;-ms-flex:1;flex:1;margin:0 8px 0 0;float:left;border:1px solid #a9a9a9;padding:1px}.color-picker .hsla-text .box input:last-child,.color-picker .rgba-text .box input:last-child{margin-right:0}.color-picker .hsla-text .box div,.color-picker .rgba-text .box div{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center;color:#555;margin-right:8px}.color-picker .hsla-text .box div:last-child,.color-picker .rgba-text .box div:last-child{margin-right:0}.color-picker .hex-text{width:100%;font-size:11px;padding:4px 8px}.color-picker .hex-text .box{padding:0 24px 8px 8px}.color-picker .hex-text .box input{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;border:1px solid #a9a9a9;padding:1px}.color-picker .hex-text .box div{-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;text-align:center;color:#555;float:left;clear:left}.color-picker .cp-add-color-button-class{background:0 0;border:0;cursor:pointer;display:inline;margin-left:-3px;margin-top:3px;padding:0;position:absolute}.color-picker .cp-add-color-button-class:hover{text-decoration:underline}.color-picker .cp-add-color-button-class:disabled{color:#999;cursor:not-allowed}.color-picker .cp-add-color-button-class:disabled:hover{text-decoration:none}.color-picker .cp-remove-color-button-class{background:#fff;border-radius:50%;box-shadow:1px 1px 5px #333;cursor:pointer;display:block;height:10px;position:absolute;right:-5px;text-align:center;top:-5px;width:10px}.color-picker .cp-remove-color-button-class:before{bottom:3.5px;content:\'x\';display:inline-block;font-size:10px;position:relative}']

@@ -392,0 +401,0 @@ },] },

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "4.5.1",
"version": "4.5.2",
"main": "bundles/ngx-color-picker.umd.js",

@@ -9,0 +9,0 @@ "module": "./dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc