ngx-color-picker
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -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(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var i={};return e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=9)}([function(e,i){e.exports=t},function(t,e,i){"use strict";var n=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=i(0),s=i(3),a=function(){function t(){}return t.prototype.hsla2hsva=function(t){var e=Math.min(t.h,1),i=Math.min(t.s,1),n=Math.min(t.l,1),o=Math.min(t.a,1);if(0===n)return new s.Hsva(e,0,0,o);var r=n+i*(1-Math.abs(2*n-1))/2;return new s.Hsva(e,2*(r-n)/r,r,o)},t.prototype.hsva2hsla=function(t){var e=t.h,i=t.s,n=t.v,o=t.a;if(0===n)return new s.Hsla(e,0,0,o);if(0===i&&1===n)return new s.Hsla(e,1,1,o);var r=n*(2-i)/2;return new s.Hsla(e,n*i/(1-Math.abs(2*r-1)),r,o)},t.prototype.rgbaToHsva=function(t){var e,i,n=Math.min(t.r,1),o=Math.min(t.g,1),r=Math.min(t.b,1),a=Math.min(t.a,1),p=Math.max(n,o,r),l=Math.min(n,o,r),c=p,h=p-l;if(i=0===p?0:h/p,p===l)e=0;else{switch(p){case n:e=(o-r)/h+(o<r?6:0);break;case o:e=(r-n)/h+2;break;case r:e=(n-o)/h+4}e/=6}return new s.Hsva(e,i,c,a)},t.prototype.hsvaToRgba=function(t){var e,i,n,o=t.h,r=t.s,a=t.v,p=t.a,l=Math.floor(6*o),c=6*o-l,h=a*(1-r),d=a*(1-c*r),u=a*(1-(1-c)*r);switch(l%6){case 0:e=a,i=u,n=h;break;case 1:e=d,i=a,n=h;break;case 2:e=h,i=a,n=u;break;case 3:e=h,i=d,n=a;break;case 4:e=u,i=h,n=a;break;case 5:e=a,i=h,n=d}return new s.Rgba(e,i,n,p)},t.prototype.stringToHsva=function(t,e){void 0===t&&(t=""),void 0===e&&(e=!1);var i=[{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?i.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],16)/255)}}):i.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 n=null;for(var o in i)if(i.hasOwnProperty(o)){var r=i[o],a=r.re.exec(t),p=a&&r.parse(a);if(p)return p instanceof s.Rgba?n=this.rgbaToHsva(p):p instanceof s.Hsla&&(n=this.hsla2hsva(p)),n}return n},t.prototype.outputFormat=function(t,e,i){if(t.a<1)switch(e){case"hsla":var n=this.hsva2hsla(t),o=new s.Hsla(Math.round(360*n.h),Math.round(100*n.s),Math.round(100*n.l),Math.round(100*n.a)/100);return"hsla("+o.h+","+o.s+"%,"+o.l+"%,"+o.a+")";default:if(i&&"hex"===e)return this.hexText(this.denormalizeRGBA(this.hsvaToRgba(t)),i);var r=this.denormalizeRGBA(this.hsvaToRgba(t));return"rgba("+r.r+","+r.g+","+r.b+","+Math.round(100*r.a)/100+")"}else switch(e){case"hsla":var n=this.hsva2hsla(t),o=new s.Hsla(Math.round(360*n.h),Math.round(100*n.s),Math.round(100*n.l),Math.round(100*n.a)/100);return"hsl("+o.h+","+o.s+"%,"+o.l+"%)";case"rgba":var r=this.denormalizeRGBA(this.hsvaToRgba(t));return"rgb("+r.r+","+r.g+","+r.b+")";default:return this.hexText(this.denormalizeRGBA(this.hsvaToRgba(t)),i)}},t.prototype.hexText=function(t,e){var i="#"+(1<<24|t.r<<16|t.g<<8|t.b).toString(16).substr(1);return i[1]!==i[2]||i[3]!==i[4]||i[5]!==i[6]||1!==t.a||e||(i="#"+i[1]+i[3]+i[5]),e&&(i+=(256|Math.round(255*t.a)).toString(16).substr(1)),i},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}();a=n([r.Injectable(),o("design:paramtypes",[])],a),e.ColorPickerService=a},function(t,e,i){"use strict";var n=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=i(0),s=i(1),a=i(3),p=i(4),l=function(){function t(t,e,i){this.el=t,this.cdr=e,this.service=i,this.dialogArrowSize=10,this.dialogArrowOffset=15}return t.prototype.setDialog=function(t,e,i,n,o,r,s,a,p,l,c,h,d,u,g,v,f,A,x,b,m){this.directiveInstance=t,this.initialColor=i,this.directiveElementRef=e,this.cpPosition=n,this.cpPositionOffset=parseInt(o),r||(this.dialogArrowOffset=0),this.cpOutputFormat=s,this.cpPresetLabel=a,this.cpPresetColors=p,this.cpCancelButton=l,this.cpCancelButtonClass=c,this.cpCancelButtonText=h,this.cpOKButton=d,this.cpOKButtonClass=u,this.cpOKButtonText=g,this.cpHeight=parseInt(v),this.cpWidth=parseInt(f),this.cpWidth||(this.cpWidth=e.nativeElement.offsetWidth),this.cpIgnoredElements=A,this.cpDialogDisplay=x,"inline"===this.cpDialogDisplay&&(this.dialogArrowOffset=0,this.dialogArrowSize=0),this.cpSaveClickOutside=b,this.cpAlphaChannel=m},t.prototype.ngOnInit=function(){var t=this,e=this.alphaSlider.nativeElement.offsetWidth,i=this.hueSlider.nativeElement.offsetWidth;this.sliderDimMax=new p.SliderDimension(i,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.setInitialColor(t),this.setColorFromString(t,e),this.openColorPicker()},t.prototype.cancelColor=function(){this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker())},t.prototype.oKColor=function(){"popup"===this.cpDialogDisplay&&this.closeColorPicker()},t.prototype.setColorFromString=function(t,e){void 0===e&&(e=!0);var i;"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))},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.cpSaveClickOutside||(this.setColorFromString(this.initialColor,!1),this.directiveInstance.colorChanged(this.initialColor)),this.closeColorPicker())},t.prototype.openColorPicker=function(){this.show||(this.setDialogPosition(),this.show=!0,this.directiveInstance.toggle(!0),document.addEventListener("mousedown",this.listenerMouseDown),window.addEventListener("resize",this.listenerResize))},t.prototype.closeColorPicker=function(){this.show&&(this.show=!1,this.directiveInstance.toggle(!1),document.removeEventListener("mousedown",this.listenerMouseDown),window.removeEventListener("resize",this.listenerResize))},t.prototype.onResize=function(){"fixed"===this.position&&this.setDialogPosition()},t.prototype.setDialogPosition=function(){for(var t=this.dialogElement.nativeElement.offsetHeight,e=this.directiveElementRef.nativeElement,i="static",n=null;null!==e&&"HTML"!==e.tagName&&(i=window.getComputedStyle(e).getPropertyValue("position"),"static"!==i&&null===n&&(n=e),"fixed"!==i);)e=e.parentNode;if("fixed"!==i){var o=this.createBox(this.directiveElementRef.nativeElement,!0);null===n&&(n=e);var r=this.createBox(n,!0);this.top=o.top-r.top,this.left=o.left-r.left}else{var o=this.createBox(this.directiveElementRef.nativeElement,!1);this.top=o.top,this.left=o.left,this.position="fixed"}"left"===this.cpPosition?(this.top+=o.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*o.width-this.dialogArrowOffset,this.arrowTop=t-1):"bottom"===this.cpPosition?(this.top+=o.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*o.width-this.dialogArrowOffset):(this.top+=o.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=o.width+this.dialogArrowSize)},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()},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()},t.prototype.setHue=function(t){this.hsva.h=t.v/t.rg,this.update()},t.prototype.setAlpha=function(t){this.hsva.a=t.v/t.rg,this.update()},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()},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()},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()},t.prototype.setSaturationAndBrightness=function(t){this.hsva.s=t.s/t.rgX,this.hsva.v=t.v/t.rgY,this.update()},t.prototype.formatPolicy=function(){return this.format=(this.format+1)%3,0===this.format&&this.hsva.a<1&&"hex6"===this.cpAlphaChannel&&this.format++,this.format},t.prototype.update=function(t){if(void 0===t&&(t=!0),this.sliderDimMax){var e=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)));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(i.r,i.g,i.b,Math.round(100*i.a)/100),this.hexText=this.service.hexText(i,"hex8"===this.cpAlphaChannel),this.alphaSliderColor="rgb("+i.r+","+i.g+","+i.b+")",this.hueSliderColor="rgb("+n.r+","+n.g+","+n.b+")",0===this.format&&this.hsva.a<1&&"hex6"===this.cpAlphaChannel&&this.format++;var o=this.outputColor;this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,"hex8"===this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",!1),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&&o!==this.outputColor&&this.directiveInstance.colorChanged(this.outputColor)}},t.prototype.isDescendant=function(t,e){for(var i=e.parentNode;null!==i;){if(i===t)return!0;i=i.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}},t}();n([r.ViewChild("hueSlider"),o("design:type",Object)],l.prototype,"hueSlider",void 0),n([r.ViewChild("alphaSlider"),o("design:type",Object)],l.prototype,"alphaSlider",void 0),n([r.ViewChild("dialogPopup"),o("design:type",Object)],l.prototype,"dialogElement",void 0),l=n([r.Component({selector:"color-picker",template:i(8),styles:[i(7)]}),o("design:paramtypes",[r.ElementRef,r.ChangeDetectorRef,s.ColorPickerService])],l),e.ColorPickerComponent=l},function(t,e,i){"use strict";var n=function(){function t(t,e,i,n){this.h=t,this.s=e,this.v=i,this.a=n}return t}();e.Hsva=n;var o=function(){function t(t,e,i,n){this.h=t,this.s=e,this.l=i,this.a=n}return t}();e.Hsla=o;var r=function(){function t(t,e,i,n){this.r=t,this.g=e,this.b=i,this.a=n}return t}();e.Rgba=r},function(t,e,i){"use strict";var n=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=i(0),s=function(){function t(){this.newValue=new r.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})}},t}();n([r.Output("newValue"),o("design:type",Object)],s.prototype,"newValue",void 0),n([r.Input("text"),o("design:type",Object)],s.prototype,"text",void 0),n([r.Input("rg"),o("design:type",Number)],s.prototype,"rg",void 0),s=n([r.Directive({selector:"[text]",host:{"(input)":"changeInput($event.target.value)"}})],s),e.TextDirective=s;var a=function(){function t(t){var e=this;this.el=t,this.newValue=new r.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,i=this.el.nativeElement.offsetWidth,n=Math.max(0,Math.min(this.getX(t),i)),o=Math.max(0,Math.min(this.getY(t),e));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:n/i,v:1-o/e,rgX:this.rgX,rgY:this.rgY}):void 0===this.rgX&&void 0!==this.rgY?this.newValue.emit({v:o/e,rg:this.rgY}):this.newValue.emit({v:n/i,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)},t.prototype.stop=function(){document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop)},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},t}();n([r.Output("newValue"),o("design:type",Object)],a.prototype,"newValue",void 0),n([r.Input("slider"),o("design:type",String)],a.prototype,"slider",void 0),n([r.Input("rgX"),o("design:type",Number)],a.prototype,"rgX",void 0),n([r.Input("rgY"),o("design:type",Number)],a.prototype,"rgY",void 0),a=n([r.Directive({selector:"[slider]",host:{"(mousedown)":"start($event)","(touchstart)":"start($event)"}}),o("design:paramtypes",[r.ElementRef])],a),e.SliderDirective=a;var p=function(){function t(t,e,i,n){this.h=t,this.s=e,this.v=i,this.a=n}return t}();e.SliderPosition=p;var l=function(){function t(t,e,i,n){this.h=t,this.s=e,this.v=i,this.a=n}return t}();e.SliderDimension=l},function(t,e,i){"use strict";var n=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},o=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=i(0),s=i(1),a=i(2),p=function(){function t(t,e,i,n){this.vcRef=t,this.el=e,this.service=i,this.cfr=n,this.colorPickerChange=new r.EventEmitter(!0),this.cpToggleChange=new r.EventEmitter(!0),this.cpPosition="right",this.cpPositionOffset="0%",this.cpPositionRelativeToArrow=!1,this.cpOutputFormat="hex",this.cpPresetLabel="Preset colors",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.cpFallbackColor="#fff",this.cpHeight="auto",this.cpWidth="230px",this.cpIgnoredElements=[],this.cpDialogDisplay="popup",this.cpSaveClickOutside=!0,this.cpAlphaChannel="hex6",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(){var t=this.service.stringToHsva(this.colorPicker);null===t&&(t=this.service.stringToHsva(this.colorPicker,!0)),null==t&&(t=this.service.stringToHsva(this.cpFallbackColor)),this.colorPickerChange.emit(this.service.outputFormat(t,this.cpOutputFormat,"hex8"===this.cpAlphaChannel))},t.prototype.onClick=function(){var t=this;0===this.cpIgnoredElements.filter(function(e){return e===t.el.nativeElement}).length&&this.openDialog()},t.prototype.openDialog=function(){if(this.created)this.dialog&&this.dialog.openDialog(this.colorPicker);else{this.created=!0;var t=this.cfr.resolveComponentFactory(a.ColorPickerComponent),e=r.ReflectiveInjector.fromResolvedProviders([],this.vcRef.parentInjector),i=this.vcRef.createComponent(t,0,e,[]);i.instance.setDialog(this,this.el,this.colorPicker,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpOutputFormat,this.cpPresetLabel,this.cpPresetColors,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpHeight,this.cpWidth,this.cpIgnoredElements,this.cpDialogDisplay,this.cpSaveClickOutside,this.cpAlphaChannel),this.dialog=i.instance}},t.prototype.colorChanged=function(t,e){void 0===e&&(e=!0),this.ignoreChanges=e,this.colorPickerChange.emit(t)},t.prototype.changeInput=function(t){this.dialog.setColorFromString(t,!0)},t.prototype.toggle=function(t){this.cpToggleChange.emit(t)},t}();n([r.Input("colorPicker"),o("design:type",String)],p.prototype,"colorPicker",void 0),n([r.Output("colorPickerChange"),o("design:type",Object)],p.prototype,"colorPickerChange",void 0),n([r.Input("cpToggle"),o("design:type",Boolean)],p.prototype,"cpToggle",void 0),n([r.Output("cpToggleChange"),o("design:type",Object)],p.prototype,"cpToggleChange",void 0),n([r.Input("cpPosition"),o("design:type",String)],p.prototype,"cpPosition",void 0),n([r.Input("cpPositionOffset"),o("design:type",String)],p.prototype,"cpPositionOffset",void 0),n([r.Input("cpPositionRelativeToArrow"),o("design:type",Boolean)],p.prototype,"cpPositionRelativeToArrow",void 0),n([r.Input("cpOutputFormat"),o("design:type",String)],p.prototype,"cpOutputFormat",void 0),n([r.Input("cpPresetLabel"),o("design:type",String)],p.prototype,"cpPresetLabel",void 0),n([r.Input("cpPresetColors"),o("design:type",Array)],p.prototype,"cpPresetColors",void 0),n([r.Input("cpCancelButton"),o("design:type",Boolean)],p.prototype,"cpCancelButton",void 0),n([r.Input("cpCancelButtonClass"),o("design:type",String)],p.prototype,"cpCancelButtonClass",void 0),n([r.Input("cpCancelButtonText"),o("design:type",String)],p.prototype,"cpCancelButtonText",void 0),n([r.Input("cpOKButton"),o("design:type",Boolean)],p.prototype,"cpOKButton",void 0),n([r.Input("cpOKButtonClass"),o("design:type",String)],p.prototype,"cpOKButtonClass",void 0),n([r.Input("cpOKButtonText"),o("design:type",String)],p.prototype,"cpOKButtonText",void 0),n([r.Input("cpFallbackColor"),o("design:type",String)],p.prototype,"cpFallbackColor",void 0),n([r.Input("cpHeight"),o("design:type",String)],p.prototype,"cpHeight",void 0),n([r.Input("cpWidth"),o("design:type",String)],p.prototype,"cpWidth",void 0),n([r.Input("cpIgnoredElements"),o("design:type",Object)],p.prototype,"cpIgnoredElements",void 0),n([r.Input("cpDialogDisplay"),o("design:type",String)],p.prototype,"cpDialogDisplay",void 0),n([r.Input("cpSaveClickOutside"),o("design:type",Boolean)],p.prototype,"cpSaveClickOutside",void 0),n([r.Input("cpAlphaChannel"),o("design:type",String)],p.prototype,"cpAlphaChannel",void 0),p=n([r.Directive({selector:"[colorPicker]",host:{"(input)":"changeInput($event.target.value)","(click)":"onClick()"}}),o("design:paramtypes",[r.ViewContainerRef,r.ElementRef,s.ColorPickerService,r.ComponentFactoryResolver])],p),e.ColorPickerDirective=p},function(t,e,i){"use strict";function n(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}n(i(2)),n(i(5)),n(i(10)),n(i(1)),n(i(3)),n(i(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 overflow: hidden;\n cursor: default;\n width: 230px;\n height: auto;\n border: #777 solid 1px;\n left: 30px;\n top: 250px;\n position: absolute;\n z-index: 1000;\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 -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 cursor: pointer;\n display: inline-block;\n width: 18px;\n height: 18px;\n margin: 4px 6px 8px 6px;\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 .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: 231px; }\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/4s2j9aa+P+gGaMcZrb1M/tdrvf7/d2v99P9/t93O/3cbvdxu12G9frdVwul3E+n8c///nP+2+//Xb66aefxl//+tfx5z//2YK5Al2rgvf4UsbpdGrB52bAvArXpuzjmiqAVSGz5eDmGYXzhbAZmCrnmzddpUU+8Y1dAOYeXCtDUwVwV7YCGH6uAmyMcZ9l5vkUaBPGMUZ7/J5w/792/fvv9Xq93263dr/fTxPECeME8nK5jM/Pz/HTTz/dv337dvrll1/GP/7xj/G3v/1t/OUvfwkVswongjdOp9PzH3U3D3zmWGnZVXn4jCqs7wC2BKP4/8tAzkZsoWx6XrqeHZymvp4ABCBJhTQwKfDT8gzrZCIqi5AhiACjBfEB2rP8/X63MM7f6/V6v9/v7Xa7bYC83W7jcrlsVHIq5ffv30+//fbb+OWXX8ZPP/00/v73v4+ff/75JSvbeu+bL2WMMaFbAl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q7yjgl+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: flex;\n padding: 4px 8px; }\n .color-picker .box .left {\n position: relative;\n padding: 16px 8px; }\n .color-picker .box .right {\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 .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 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 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 flex: 1 1 auto;\n border: #a9a9a9 solid 1px;\n padding: 1px; }\n .color-picker .hex-text .box div {\n flex: 1 1 auto;\n text-align: center;\n color: #555;\n float: left;\n clear: left; }\n'},function(t,e){t.exports='<div class="color-picker" [hidden]="!show" [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)" 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 </div>\n <div class="right">\n <div *ngIf="cpAlphaChannel===\'disabled\'" style="height: 18px;"></div>\n \n <div [slider] [rgX]="1" (newValue)="setHue($event)" class="hue" #hueSlider>\n <div [style.left.px]="slider.h" class="cursor"></div>\n </div>\n \n <div [hidden]="cpAlphaChannel===\'disabled\'" [slider] [style.background-color]="alphaSliderColor" [rgX]="1" (newValue)="setAlpha($event)" class="alpha" #alphaSlider>\n <div [style.left.px]="slider.a" class="cursor"></div>\n </div>\n </div>\n </div>\n\n <div [hidden]="format!=2" 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)="setAlpha($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 [hidden]="format!=1" 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)="setAlpha($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 [hidden]="format!=0" class="hex-text">\n <div class="box">\n <input [text] (newValue)="setColorFromString($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 && cpPresetColors.length" class="preset-area">\n <hr>\n\n <div class="preset-label">{{cpPresetLabel}}</div>\n\n <div *ngFor="let color of cpPresetColors" class="preset-color" [style.backgroundColor]="color" (click)="setColorFromString(color)"></div>\n </div>\n\n <div *ngIf="cpOKButton || cpCancelButton" class="button-area">\n <button *ngIf="cpOKButton" type="button" class="{{cpOKButtonClass}}" (click)="oKColor()">{{cpOKButtonText}}</button>\n <button *ngIf="cpCancelButton" type="button" class="{{cpCancelButtonClass}}" (click)="cancelColor()">{{cpCancelButtonText}}</button>\n </div>\n \n</div>\n'},function(t,e,i){"use strict";!function(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}(i(6))},function(t,e,i){"use strict";var n=this&&this.__decorate||function(t,e,i,n){var o,r=arguments.length,s=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(r<3?o(s):r>3?o(e,i,s):o(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},o=i(0),r=i(11),s=i(4),a=i(1),p=i(2),l=i(5),c=function(){function t(){}return t}();c=n([o.NgModule({imports:[r.CommonModule],providers:[a.ColorPickerService],declarations:[p.ColorPickerComponent,l.ColorPickerDirective,s.TextDirective,s.SliderDirective],exports:[l.ColorPickerDirective],entryComponents:[p.ColorPickerComponent]})],c),e.ColorPickerModule=c},function(t,i){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(o){if(i[o])return i[o].exports;var n=i[o]={i:o,l:!1,exports:{}};return t[o].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var i={};return e.m=t,e.c=i,e.i=function(t){return t},e.d=function(t,i,o){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=9)}([function(e,i){e.exports=t},function(t,e,i){"use strict";var o=this&&this.__decorate||function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=i(0),s=i(3),a=function(){function t(){}return t.prototype.hsla2hsva=function(t){var e=Math.min(t.h,1),i=Math.min(t.s,1),o=Math.min(t.l,1),n=Math.min(t.a,1);if(0===o)return new s.Hsva(e,0,0,n);var r=o+i*(1-Math.abs(2*o-1))/2;return new s.Hsva(e,2*(r-o)/r,r,n)},t.prototype.hsva2hsla=function(t){var e=t.h,i=t.s,o=t.v,n=t.a;if(0===o)return new s.Hsla(e,0,0,n);if(0===i&&1===o)return new s.Hsla(e,1,1,n);var r=o*(2-i)/2;return new s.Hsla(e,o*i/(1-Math.abs(2*r-1)),r,n)},t.prototype.rgbaToHsva=function(t){var e,i,o=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(o,n,r),l=Math.min(o,n,r),c=p,h=p-l;if(i=0===p?0:h/p,p===l)e=0;else{switch(p){case o:e=(n-r)/h+(n<r?6:0);break;case n:e=(r-o)/h+2;break;case r:e=(o-n)/h+4}e/=6}return new s.Hsva(e,i,c,a)},t.prototype.hsvaToRgba=function(t){var e,i,o,n=t.h,r=t.s,a=t.v,p=t.a,l=Math.floor(6*n),c=6*n-l,h=a*(1-r),d=a*(1-c*r),u=a*(1-(1-c)*r);switch(l%6){case 0:e=a,i=u,o=h;break;case 1:e=d,i=a,o=h;break;case 2:e=h,i=a,o=u;break;case 3:e=h,i=d,o=a;break;case 4:e=u,i=h,o=a;break;case 5:e=a,i=h,o=d}return new s.Rgba(e,i,o,p)},t.prototype.stringToHsva=function(t,e){void 0===t&&(t=""),void 0===e&&(e=!1);var i=[{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?i.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],16)/255)}}):i.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 o=null;for(var n in i)if(i.hasOwnProperty(n)){var r=i[n],a=r.re.exec(t),p=a&&r.parse(a);if(p)return p instanceof s.Rgba?o=this.rgbaToHsva(p):p instanceof s.Hsla&&(o=this.hsla2hsva(p)),o}return o},t.prototype.outputFormat=function(t,e,i){if(t.a<1)switch(e){case"hsla":var o=this.hsva2hsla(t),n=new s.Hsla(Math.round(360*o.h),Math.round(100*o.s),Math.round(100*o.l),Math.round(100*o.a)/100);return"hsla("+n.h+","+n.s+"%,"+n.l+"%,"+n.a+")";default:if(i&&"hex"===e)return this.hexText(this.denormalizeRGBA(this.hsvaToRgba(t)),i);var r=this.denormalizeRGBA(this.hsvaToRgba(t));return"rgba("+r.r+","+r.g+","+r.b+","+Math.round(100*r.a)/100+")"}else switch(e){case"hsla":var o=this.hsva2hsla(t),n=new s.Hsla(Math.round(360*o.h),Math.round(100*o.s),Math.round(100*o.l),Math.round(100*o.a)/100);return"hsl("+n.h+","+n.s+"%,"+n.l+"%)";case"rgba":var r=this.denormalizeRGBA(this.hsvaToRgba(t));return"rgb("+r.r+","+r.g+","+r.b+")";default:return this.hexText(this.denormalizeRGBA(this.hsvaToRgba(t)),i)}},t.prototype.hexText=function(t,e){var i="#"+(1<<24|t.r<<16|t.g<<8|t.b).toString(16).substr(1);return i[1]!==i[2]||i[3]!==i[4]||i[5]!==i[6]||1!==t.a||e||(i="#"+i[1]+i[3]+i[5]),e&&(i+=(256|Math.round(255*t.a)).toString(16).substr(1)),i},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}();a=o([r.Injectable(),n("design:paramtypes",[])],a),e.ColorPickerService=a},function(t,e,i){"use strict";var o=this&&this.__decorate||function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=i(0),s=i(1),a=i(3),p=i(4),l=function(){function t(t,e,i){this.el=t,this.cdr=e,this.service=i,this.dialogArrowSize=10,this.dialogArrowOffset=15}return t.prototype.setDialog=function(t,e,i,o,n,r,s,a,p,l,c,h,d,u,g,v,f,A,x,b,m){this.directiveInstance=t,this.initialColor=i,this.directiveElementRef=e,this.cpPosition=o,this.cpPositionOffset=parseInt(n),r||(this.dialogArrowOffset=0),this.cpOutputFormat=s,this.cpPresetLabel=a,this.cpPresetColors=p,this.cpCancelButton=l,this.cpCancelButtonClass=c,this.cpCancelButtonText=h,this.cpOKButton=d,this.cpOKButtonClass=u,this.cpOKButtonText=g,this.cpHeight=parseInt(v),this.cpWidth=parseInt(f),this.cpWidth||(this.cpWidth=e.nativeElement.offsetWidth),this.cpIgnoredElements=A,this.cpDialogDisplay=x,"inline"===this.cpDialogDisplay&&(this.dialogArrowOffset=0,this.dialogArrowSize=0),this.cpSaveClickOutside=b,this.cpAlphaChannel=m},t.prototype.ngOnInit=function(){var t=this,e=this.alphaSlider.nativeElement.offsetWidth,i=this.hueSlider.nativeElement.offsetWidth;this.sliderDimMax=new p.SliderDimension(i,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.setInitialColor(t),this.setColorFromString(t,e),this.openColorPicker()},t.prototype.cancelColor=function(){this.setColorFromString(this.initialColor,!0),"popup"===this.cpDialogDisplay&&(this.directiveInstance.colorChanged(this.initialColor,!0),this.closeColorPicker())},t.prototype.oKColor=function(){"popup"===this.cpDialogDisplay&&this.closeColorPicker(),this.outputColor&&this.directiveInstance.colorSelected(this.outputColor)},t.prototype.setColorFromString=function(t,e){void 0===e&&(e=!0);var i;"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))},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.cpSaveClickOutside||(this.setColorFromString(this.initialColor,!1),this.directiveInstance.colorChanged(this.initialColor)),this.closeColorPicker())},t.prototype.openColorPicker=function(){this.show||(this.setDialogPosition(),this.show=!0,this.directiveInstance.toggle(!0),document.addEventListener("mousedown",this.listenerMouseDown),window.addEventListener("resize",this.listenerResize))},t.prototype.closeColorPicker=function(){this.show&&(this.show=!1,this.directiveInstance.toggle(!1),document.removeEventListener("mousedown",this.listenerMouseDown),window.removeEventListener("resize",this.listenerResize))},t.prototype.onResize=function(){"fixed"===this.position&&this.setDialogPosition()},t.prototype.setDialogPosition=function(){for(var t=this.dialogElement.nativeElement.offsetHeight,e=this.directiveElementRef.nativeElement,i="static",o=null;null!==e&&"HTML"!==e.tagName&&(i=window.getComputedStyle(e).getPropertyValue("position"),"static"!==i&&null===o&&(o=e),"fixed"!==i);)e=e.parentNode;if("fixed"!==i){var n=this.createBox(this.directiveElementRef.nativeElement,!0);null===o&&(o=e);var r=this.createBox(o,!0);this.top=n.top-r.top,this.left=n.left-r.left}else{var n=this.createBox(this.directiveElementRef.nativeElement,!1);this.top=n.top,this.left=n.left,this.position="fixed"}"left"===this.cpPosition?(this.top+=n.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*n.width-this.dialogArrowOffset,this.arrowTop=t-1):"bottom"===this.cpPosition?(this.top+=n.height+this.dialogArrowSize,this.left+=this.cpPositionOffset/100*n.width-this.dialogArrowOffset):(this.top+=n.height*this.cpPositionOffset/100-this.dialogArrowOffset,this.left+=n.width+this.dialogArrowSize)},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()},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()},t.prototype.setHue=function(t){this.hsva.h=t.v/t.rg,this.update()},t.prototype.setAlpha=function(t){this.hsva.a=t.v/t.rg,this.update()},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()},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()},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()},t.prototype.setSaturationAndBrightness=function(t){this.hsva.s=t.s/t.rgX,this.hsva.v=t.v/t.rgY,this.update()},t.prototype.formatPolicy=function(){return this.format=(this.format+1)%3,0===this.format&&this.hsva.a<1&&"hex6"===this.cpAlphaChannel&&this.format++,this.format},t.prototype.update=function(t){if(void 0===t&&(t=!0),this.sliderDimMax){var e=this.service.hsva2hsla(this.hsva),i=this.service.denormalizeRGBA(this.service.hsvaToRgba(this.hsva)),o=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(i.r,i.g,i.b,Math.round(100*i.a)/100),this.hexText=this.service.hexText(i,"hex8"===this.cpAlphaChannel),this.alphaSliderColor="rgb("+i.r+","+i.g+","+i.b+")",this.hueSliderColor="rgb("+o.r+","+o.g+","+o.b+")",0===this.format&&this.hsva.a<1&&"hex6"===this.cpAlphaChannel&&this.format++;var n=this.outputColor;this.outputColor=this.service.outputFormat(this.hsva,this.cpOutputFormat,"hex8"===this.cpAlphaChannel),this.selectedColor=this.service.outputFormat(this.hsva,"rgba",!1),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 i=e.parentNode;null!==i;){if(i===t)return!0;i=i.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}},t}();o([r.ViewChild("hueSlider"),n("design:type",Object)],l.prototype,"hueSlider",void 0),o([r.ViewChild("alphaSlider"),n("design:type",Object)],l.prototype,"alphaSlider",void 0),o([r.ViewChild("dialogPopup"),n("design:type",Object)],l.prototype,"dialogElement",void 0),l=o([r.Component({selector:"color-picker",template:i(8),styles:[i(7)]}),n("design:paramtypes",[r.ElementRef,r.ChangeDetectorRef,s.ColorPickerService])],l),e.ColorPickerComponent=l},function(t,e,i){"use strict";var o=function(){function t(t,e,i,o){this.h=t,this.s=e,this.v=i,this.a=o}return t}();e.Hsva=o;var n=function(){function t(t,e,i,o){this.h=t,this.s=e,this.l=i,this.a=o}return t}();e.Hsla=n;var r=function(){function t(t,e,i,o){this.r=t,this.g=e,this.b=i,this.a=o}return t}();e.Rgba=r},function(t,e,i){"use strict";var o=this&&this.__decorate||function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=i(0),s=function(){function t(){this.newValue=new r.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})}},t}();o([r.Output("newValue"),n("design:type",Object)],s.prototype,"newValue",void 0),o([r.Input("text"),n("design:type",Object)],s.prototype,"text",void 0),o([r.Input("rg"),n("design:type",Number)],s.prototype,"rg",void 0),s=o([r.Directive({selector:"[text]",host:{"(input)":"changeInput($event.target.value)"}})],s),e.TextDirective=s;var a=function(){function t(t){var e=this;this.el=t,this.newValue=new r.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,i=this.el.nativeElement.offsetWidth,o=Math.max(0,Math.min(this.getX(t),i)),n=Math.max(0,Math.min(this.getY(t),e));void 0!==this.rgX&&void 0!==this.rgY?this.newValue.emit({s:o/i,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:o/i,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)},t.prototype.stop=function(){document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop)},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},t}();o([r.Output("newValue"),n("design:type",Object)],a.prototype,"newValue",void 0),o([r.Input("slider"),n("design:type",String)],a.prototype,"slider",void 0),o([r.Input("rgX"),n("design:type",Number)],a.prototype,"rgX",void 0),o([r.Input("rgY"),n("design:type",Number)],a.prototype,"rgY",void 0),a=o([r.Directive({selector:"[slider]",host:{"(mousedown)":"start($event)","(touchstart)":"start($event)"}}),n("design:paramtypes",[r.ElementRef])],a),e.SliderDirective=a;var p=function(){function t(t,e,i,o){this.h=t,this.s=e,this.v=i,this.a=o}return t}();e.SliderPosition=p;var l=function(){function t(t,e,i,o){this.h=t,this.s=e,this.v=i,this.a=o}return t}();e.SliderDimension=l},function(t,e,i){"use strict";var o=this&&this.__decorate||function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},n=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},r=i(0),s=i(1),a=i(2),p=function(){function t(t,e,i,o){this.vcRef=t,this.el=e,this.service=i,this.cfr=o,this.colorPickerChange=new r.EventEmitter(!0),this.colorPickerSelect=new r.EventEmitter(!0),this.cpToggleChange=new r.EventEmitter(!0),this.cpPosition="right",this.cpPositionOffset="0%",this.cpPositionRelativeToArrow=!1,this.cpOutputFormat="hex",this.cpPresetLabel="Preset colors",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.cpFallbackColor="#fff",this.cpHeight="auto",this.cpWidth="230px",this.cpIgnoredElements=[],this.cpDialogDisplay="popup",this.cpSaveClickOutside=!0,this.cpAlphaChannel="hex6",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(){var t=this.service.stringToHsva(this.colorPicker);null===t&&(t=this.service.stringToHsva(this.colorPicker,!0)),null==t&&(t=this.service.stringToHsva(this.cpFallbackColor)),this.colorPickerChange.emit(this.service.outputFormat(t,this.cpOutputFormat,"hex8"===this.cpAlphaChannel))},t.prototype.onClick=function(){var t=this;0===this.cpIgnoredElements.filter(function(e){return e===t.el.nativeElement}).length&&this.openDialog()},t.prototype.openDialog=function(){if(this.created)this.dialog&&this.dialog.openDialog(this.colorPicker);else{this.created=!0;var t=this.cfr.resolveComponentFactory(a.ColorPickerComponent),e=r.ReflectiveInjector.fromResolvedProviders([],this.vcRef.parentInjector),i=this.vcRef.createComponent(t,0,e,[]);i.instance.setDialog(this,this.el,this.colorPicker,this.cpPosition,this.cpPositionOffset,this.cpPositionRelativeToArrow,this.cpOutputFormat,this.cpPresetLabel,this.cpPresetColors,this.cpCancelButton,this.cpCancelButtonClass,this.cpCancelButtonText,this.cpOKButton,this.cpOKButtonClass,this.cpOKButtonText,this.cpHeight,this.cpWidth,this.cpIgnoredElements,this.cpDialogDisplay,this.cpSaveClickOutside,this.cpAlphaChannel),this.dialog=i.instance}},t.prototype.colorChanged=function(t,e){void 0===e&&(e=!0),this.ignoreChanges=e,this.colorPickerChange.emit(t)},t.prototype.colorSelected=function(t){this.colorPickerSelect.emit(t)},t.prototype.changeInput=function(t){this.dialog.setColorFromString(t,!0)},t.prototype.toggle=function(t){this.cpToggleChange.emit(t)},t}();o([r.Input("colorPicker"),n("design:type",String)],p.prototype,"colorPicker",void 0),o([r.Output("colorPickerChange"),n("design:type",Object)],p.prototype,"colorPickerChange",void 0),o([r.Output("colorPickerSelect"),n("design:type",Object)],p.prototype,"colorPickerSelect",void 0),o([r.Input("cpToggle"),n("design:type",Boolean)],p.prototype,"cpToggle",void 0),o([r.Output("cpToggleChange"),n("design:type",Object)],p.prototype,"cpToggleChange",void 0),o([r.Input("cpPosition"),n("design:type",String)],p.prototype,"cpPosition",void 0),o([r.Input("cpPositionOffset"),n("design:type",String)],p.prototype,"cpPositionOffset",void 0),o([r.Input("cpPositionRelativeToArrow"),n("design:type",Boolean)],p.prototype,"cpPositionRelativeToArrow",void 0),o([r.Input("cpOutputFormat"),n("design:type",String)],p.prototype,"cpOutputFormat",void 0),o([r.Input("cpPresetLabel"),n("design:type",String)],p.prototype,"cpPresetLabel",void 0),o([r.Input("cpPresetColors"),n("design:type",Array)],p.prototype,"cpPresetColors",void 0),o([r.Input("cpCancelButton"),n("design:type",Boolean)],p.prototype,"cpCancelButton",void 0),o([r.Input("cpCancelButtonClass"),n("design:type",String)],p.prototype,"cpCancelButtonClass",void 0),o([r.Input("cpCancelButtonText"),n("design:type",String)],p.prototype,"cpCancelButtonText",void 0),o([r.Input("cpOKButton"),n("design:type",Boolean)],p.prototype,"cpOKButton",void 0),o([r.Input("cpOKButtonClass"),n("design:type",String)],p.prototype,"cpOKButtonClass",void 0),o([r.Input("cpOKButtonText"),n("design:type",String)],p.prototype,"cpOKButtonText",void 0),o([r.Input("cpFallbackColor"),n("design:type",String)],p.prototype,"cpFallbackColor",void 0),o([r.Input("cpHeight"),n("design:type",String)],p.prototype,"cpHeight",void 0),o([r.Input("cpWidth"),n("design:type",String)],p.prototype,"cpWidth",void 0),o([r.Input("cpIgnoredElements"),n("design:type",Object)],p.prototype,"cpIgnoredElements",void 0),o([r.Input("cpDialogDisplay"),n("design:type",String)],p.prototype,"cpDialogDisplay",void 0),o([r.Input("cpSaveClickOutside"),n("design:type",Boolean)],p.prototype,"cpSaveClickOutside",void 0),o([r.Input("cpAlphaChannel"),n("design:type",String)],p.prototype,"cpAlphaChannel",void 0),p=o([r.Directive({selector:"[colorPicker]",host:{"(input)":"changeInput($event.target.value)","(click)":"onClick()"}}),n("design:paramtypes",[r.ViewContainerRef,r.ElementRef,s.ColorPickerService,r.ComponentFactoryResolver])],p),e.ColorPickerDirective=p},function(t,e,i){"use strict";function o(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}o(i(2)),o(i(5)),o(i(10)),o(i(1)),o(i(3)),o(i(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 overflow: hidden;\n cursor: default;\n width: 230px;\n height: auto;\n border: #777 solid 1px;\n left: 30px;\n top: 250px;\n position: absolute;\n z-index: 1000;\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 -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 cursor: pointer;\n display: inline-block;\n width: 18px;\n height: 18px;\n margin: 4px 6px 8px 6px;\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 .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: 231px; }\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,iVBORw0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q+0bncz4oz73/+Y6LbKw1o/5B7eOf1Rl/0du9B9tn/9bvrf/j+v0h6ttn2tp/r/4819y4/zv5391uvzzfwDifz6phT1MPgAAAABJRU5ErkJggg=="); }\n .color-picker .box {\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 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 .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 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 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 flex: 1 1 auto;\n border: #a9a9a9 solid 1px;\n padding: 1px; }\n .color-picker .hex-text .box div {\n flex: 1 1 auto;\n text-align: center;\n color: #555;\n float: left;\n clear: left; }\n'},function(t,e){t.exports='<div class="color-picker" [hidden]="!show" [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)" 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 </div>\n <div class="right">\n <div *ngIf="cpAlphaChannel===\'disabled\'" style="height: 18px;"></div>\n \n <div [slider] [rgX]="1" (newValue)="setHue($event)" class="hue" #hueSlider>\n <div [style.left.px]="slider.h" class="cursor"></div>\n </div>\n \n <div [hidden]="cpAlphaChannel===\'disabled\'" [slider] [style.background-color]="alphaSliderColor" [rgX]="1" (newValue)="setAlpha($event)" class="alpha" #alphaSlider>\n <div [style.left.px]="slider.a" class="cursor"></div>\n </div>\n </div>\n </div>\n\n <div [hidden]="format!=2" 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)="setAlpha($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 [hidden]="format!=1" 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)="setAlpha($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 [hidden]="format!=0" class="hex-text">\n <div class="box">\n <input [text] (newValue)="setColorFromString($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 && cpPresetColors.length" class="preset-area">\n <hr>\n\n <div class="preset-label">{{cpPresetLabel}}</div>\n\n <div *ngFor="let color of cpPresetColors" class="preset-color" [style.backgroundColor]="color" (click)="setColorFromString(color)"></div>\n </div>\n\n <div *ngIf="cpOKButton || cpCancelButton" class="button-area">\n <button *ngIf="cpOKButton" type="button" class="{{cpOKButtonClass}}" (click)="oKColor()">{{cpOKButtonText}}</button>\n <button *ngIf="cpCancelButton" type="button" class="{{cpCancelButtonClass}}" (click)="cancelColor()">{{cpCancelButtonText}}</button>\n </div>\n \n</div>\n'},function(t,e,i){"use strict";!function(t){for(var i in t)e.hasOwnProperty(i)||(e[i]=t[i])}(i(6))},function(t,e,i){"use strict";var o=this&&this.__decorate||function(t,e,i,o){var n,r=arguments.length,s=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,o);else for(var a=t.length-1;a>=0;a--)(n=t[a])&&(s=(r<3?n(s):r>3?n(e,i,s):n(e,i))||s);return r>3&&s&&Object.defineProperty(e,i,s),s},n=i(0),r=i(11),s=i(4),a=i(1),p=i(2),l=i(5),c=function(){function t(){}return t}();c=o([n.NgModule({imports:[r.CommonModule],providers:[a.ColorPickerService],declarations:[p.ColorPickerComponent,l.ColorPickerDirective,s.TextDirective,s.SliderDirective],exports:[l.ColorPickerDirective],entryComponents:[p.ColorPickerComponent]})],c),e.ColorPickerModule=c},function(t,i){t.exports=e}])}); |
@@ -98,2 +98,5 @@ "use strict"; | ||
} | ||
if (this.outputColor) { | ||
this.directiveInstance.colorSelected(this.outputColor); | ||
} | ||
}; | ||
@@ -100,0 +103,0 @@ ColorPickerComponent.prototype.setColorFromString = function (value, emit) { |
@@ -10,2 +10,3 @@ import { OnInit, OnChanges, EventEmitter, ElementRef, ViewContainerRef, ComponentFactoryResolver } from '@angular/core'; | ||
colorPickerChange: EventEmitter<string>; | ||
colorPickerSelect: EventEmitter<string>; | ||
cpToggle: boolean; | ||
@@ -41,4 +42,5 @@ cpToggleChange: EventEmitter<boolean>; | ||
colorChanged(value: string, ignore?: boolean): void; | ||
colorSelected(value: string): void; | ||
changeInput(value: string): void; | ||
toggle(value: boolean): void; | ||
} |
@@ -12,2 +12,3 @@ "use strict"; | ||
this.colorPickerChange = new core_1.EventEmitter(true); | ||
this.colorPickerSelect = new core_1.EventEmitter(true); | ||
this.cpToggleChange = new core_1.EventEmitter(true); | ||
@@ -90,2 +91,5 @@ this.cpPosition = 'right'; | ||
}; | ||
ColorPickerDirective.prototype.colorSelected = function (value) { | ||
this.colorPickerSelect.emit(value); | ||
}; | ||
ColorPickerDirective.prototype.changeInput = function (value) { | ||
@@ -118,2 +122,3 @@ this.dialog.setColorFromString(value, true); | ||
'colorPickerChange': [{ type: core_1.Output, args: ['colorPickerChange',] },], | ||
'colorPickerSelect': [{ type: core_1.Output, args: ['colorPickerSelect',] },], | ||
'cpToggle': [{ type: core_1.Input, args: ['cpToggle',] },], | ||
@@ -120,0 +125,0 @@ 'cpToggleChange': [{ type: core_1.Output, args: ['cpToggleChange',] },], |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"ColorPickerDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[colorPicker]","host":{"(input)":"changeInput($event.target.value)","(click)":"onClick()","$quoted$":["(input)","(click)"]}}]}],"members":{"colorPicker":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["colorPicker"]}]}],"colorPickerChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["colorPickerChange"]}]}],"cpToggle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpToggle"]}]}],"cpToggleChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["cpToggleChange"]}]}],"cpPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPosition"]}]}],"cpPositionOffset":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPositionOffset"]}]}],"cpPositionRelativeToArrow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPositionRelativeToArrow"]}]}],"cpOutputFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOutputFormat"]}]}],"cpPresetLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPresetLabel"]}]}],"cpPresetColors":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPresetColors"]}]}],"cpCancelButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButton"]}]}],"cpCancelButtonClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButtonClass"]}]}],"cpCancelButtonText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButtonText"]}]}],"cpOKButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButton"]}]}],"cpOKButtonClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButtonClass"]}]}],"cpOKButtonText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButtonText"]}]}],"cpFallbackColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpFallbackColor"]}]}],"cpHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpHeight"]}]}],"cpWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpWidth"]}]}],"cpIgnoredElements":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpIgnoredElements"]}]}],"cpDialogDisplay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpDialogDisplay"]}]}],"cpSaveClickOutside":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpSaveClickOutside"]}]}],"cpAlphaChannel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpAlphaChannel"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"./color-picker.service","name":"ColorPickerService"},{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"openDialog":[{"__symbolic":"method"}],"colorChanged":[{"__symbolic":"method"}],"changeInput":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ColorPickerDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[colorPicker]","host":{"(input)":"changeInput($event.target.value)","(click)":"onClick()"}}]}],"members":{"colorPicker":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["colorPicker"]}]}],"colorPickerChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["colorPickerChange"]}]}],"cpToggle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpToggle"]}]}],"cpToggleChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["cpToggleChange"]}]}],"cpPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPosition"]}]}],"cpPositionOffset":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPositionOffset"]}]}],"cpPositionRelativeToArrow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPositionRelativeToArrow"]}]}],"cpOutputFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOutputFormat"]}]}],"cpPresetLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPresetLabel"]}]}],"cpPresetColors":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPresetColors"]}]}],"cpCancelButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButton"]}]}],"cpCancelButtonClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButtonClass"]}]}],"cpCancelButtonText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButtonText"]}]}],"cpOKButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButton"]}]}],"cpOKButtonClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButtonClass"]}]}],"cpOKButtonText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButtonText"]}]}],"cpFallbackColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpFallbackColor"]}]}],"cpHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpHeight"]}]}],"cpWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpWidth"]}]}],"cpIgnoredElements":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpIgnoredElements"]}]}],"cpDialogDisplay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpDialogDisplay"]}]}],"cpSaveClickOutside":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpSaveClickOutside"]}]}],"cpAlphaChannel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpAlphaChannel"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"./color-picker.service","name":"ColorPickerService"},{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"openDialog":[{"__symbolic":"method"}],"colorChanged":[{"__symbolic":"method"}],"changeInput":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"ColorPickerDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[colorPicker]","host":{"(input)":"changeInput($event.target.value)","(click)":"onClick()","$quoted$":["(input)","(click)"]}}]}],"members":{"colorPicker":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["colorPicker"]}]}],"colorPickerChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["colorPickerChange"]}]}],"colorPickerSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["colorPickerSelect"]}]}],"cpToggle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpToggle"]}]}],"cpToggleChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["cpToggleChange"]}]}],"cpPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPosition"]}]}],"cpPositionOffset":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPositionOffset"]}]}],"cpPositionRelativeToArrow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPositionRelativeToArrow"]}]}],"cpOutputFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOutputFormat"]}]}],"cpPresetLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPresetLabel"]}]}],"cpPresetColors":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPresetColors"]}]}],"cpCancelButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButton"]}]}],"cpCancelButtonClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButtonClass"]}]}],"cpCancelButtonText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButtonText"]}]}],"cpOKButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButton"]}]}],"cpOKButtonClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButtonClass"]}]}],"cpOKButtonText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButtonText"]}]}],"cpFallbackColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpFallbackColor"]}]}],"cpHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpHeight"]}]}],"cpWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpWidth"]}]}],"cpIgnoredElements":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpIgnoredElements"]}]}],"cpDialogDisplay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpDialogDisplay"]}]}],"cpSaveClickOutside":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpSaveClickOutside"]}]}],"cpAlphaChannel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpAlphaChannel"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"./color-picker.service","name":"ColorPickerService"},{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"openDialog":[{"__symbolic":"method"}],"colorChanged":[{"__symbolic":"method"}],"colorSelected":[{"__symbolic":"method"}],"changeInput":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ColorPickerDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[colorPicker]","host":{"(input)":"changeInput($event.target.value)","(click)":"onClick()"}}]}],"members":{"colorPicker":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["colorPicker"]}]}],"colorPickerChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["colorPickerChange"]}]}],"colorPickerSelect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["colorPickerSelect"]}]}],"cpToggle":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpToggle"]}]}],"cpToggleChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"},"arguments":["cpToggleChange"]}]}],"cpPosition":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPosition"]}]}],"cpPositionOffset":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPositionOffset"]}]}],"cpPositionRelativeToArrow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPositionRelativeToArrow"]}]}],"cpOutputFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOutputFormat"]}]}],"cpPresetLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPresetLabel"]}]}],"cpPresetColors":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpPresetColors"]}]}],"cpCancelButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButton"]}]}],"cpCancelButtonClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButtonClass"]}]}],"cpCancelButtonText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpCancelButtonText"]}]}],"cpOKButton":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButton"]}]}],"cpOKButtonClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButtonClass"]}]}],"cpOKButtonText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpOKButtonText"]}]}],"cpFallbackColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpFallbackColor"]}]}],"cpHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpHeight"]}]}],"cpWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpWidth"]}]}],"cpIgnoredElements":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpIgnoredElements"]}]}],"cpDialogDisplay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpDialogDisplay"]}]}],"cpSaveClickOutside":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpSaveClickOutside"]}]}],"cpAlphaChannel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"},"arguments":["cpAlphaChannel"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"},{"__symbolic":"reference","module":"./color-picker.service","name":"ColorPickerService"},{"__symbolic":"reference","module":"@angular/core","name":"ComponentFactoryResolver"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnInit":[{"__symbolic":"method"}],"onClick":[{"__symbolic":"method"}],"openDialog":[{"__symbolic":"method"}],"colorChanged":[{"__symbolic":"method"}],"colorSelected":[{"__symbolic":"method"}],"changeInput":[{"__symbolic":"method"}],"toggle":[{"__symbolic":"method"}]}}}}] |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"main": "bundles/ngx-color-picker.umd.js", | ||
@@ -39,4 +39,3 @@ "module": "./dist/index.js", | ||
}, | ||
"dependencies": { | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -43,0 +42,0 @@ "@angular/common": "^4.0.0", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
421261
2634