text: require('../../jqwidgets-scripts/jqwidgets/jqxcore');
  require('../../jqwidgets-scripts/jqwidgets/jqxbuttons');
  require('../../jqwidgets-scripts/jqwidgets/jqxslider');
  !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/forms")):"function"==typeof define&&define.amd?define("jqwidgets-ng/jqxslider",["exports","@angular/core","@angular/forms"],e):e(((t=t||self)["jqwidgets-ng"]=t["jqwidgets-ng"]||{},t["jqwidgets-ng"].jqxslider={}),t.ng.core,t.ng.forms)}(this,function(t,e,i){"use strict";function o(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 p=t.length-1;p>=0;p--)(n=t[p])&&(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}function n(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function r(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var o,n,r=i.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(p){n={error:p}}finally{try{o&&!o.done&&(i=r["return"])&&i.call(r)}finally{if(n)throw n.error}}return s}var s=function(){},p=s,d={provide:i.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return h}),multi:!0},h=function(){function t(t){this.autoCreate=!0,this.properties=["buttonsPosition","disabled","height","layout","mode","minorTicksFrequency","minorTickSize","max","min","orientation","rangeSlider","rtl","step","showTicks","showMinorTicks","showTickLabels","showButtons","showRange","template","theme","ticksPosition","ticksFrequency","tickSize","tickLabelFormatFunction","tooltip","tooltipHideDelay","tooltipPosition","tooltipFormatFunction","value","values","width"],this.onTouchedCallback=s,this.onChangeCallback=s,this.onChange=new e.EventEmitter,this.onSlide=new e.EventEmitter,this.onSlideStart=new e.EventEmitter,this.onSlideEnd=new e.EventEmitter,this.elementRef=t}return t.prototype.ngOnInit=function(){this.autoCreate&&this.createComponent()},t.prototype.ngOnChanges=function(t){if(this.host)for(var e=0;e<this.properties.length;e++){var i="attr"+this.properties[e].substring(0,1).toUpperCase()+this.properties[e].substring(1),o=!1;if(this[i]!==undefined){if("object"==typeof this[i]){if(this[i]instanceof Array&&(o=this.arraysEqual(this[i],this.host.jqxSlider(this.properties[e]))),o)return!1;this.host.jqxSlider(this.properties[e],this[i]);continue}this[i]!==this.host.jqxSlider(this.properties[e])&&this.host.jqxSlider(this.properties[e],this[i])}}},t.prototype.arraysEqual=function(t,e){if(t&&!e||!t&&e)return!1;if(t.length!=e.length)return!1;for(var i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0},t.prototype.manageAttributes=function(){for(var t={},e=0;e<this.properties.length;e++){var i="attr"+this.properties[e].substring(0,1).toUpperCase()+this.properties[e].substring(1);this[i]!==undefined&&(t[this.properties[e]]=this[i])}return t},t.prototype.moveClasses=function(t,e){var i,o=t.classList;o.length>0&&(i=e.classList).add.apply(i,function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(r(arguments[e]));return t}(o)),t.className=""},t.prototype.moveStyles=function(t,e){var i=t.style.cssText;e.style.cssText=i,t.style.cssText=""},t.prototype.createComponent=function(t){this.host||(t?JQXLite.extend(t,this.manageAttributes()):t=this.manageAttributes(),this.host=JQXLite(this.elementRef.nativeElement.firstChild),this.moveClasses(this.elementRef.nativeElement,this.host[0]),this.moveStyles(this.elementRef.nativeElement,this.host[0]),this.__wireEvents__(),this.widgetObject=jqwidgets.createInstance(this.host,"jqxSlider",t))},t.prototype.createWidget=function(t){this.createComponent(t)},t.prototype.__updateRect__=function(){this.host&&this.host.css({width:this.attrWidth,height:this.attrHeight})},Object.defineProperty(t.prototype,"ngValue",{get:function(){return this.widgetObject?this.host.val():""},set:function(t){this.widgetObject&&this.onChangeCallback(t)},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.widgetObject&&this.onChangeCallback(this.host.val())},t.prototype.registerOnChange=function(t){this.onChangeCallback=t},t.prototype.registerOnTouched=function(t){this.onTouchedCallback=t},t.prototype.setOptions=function(t){this.host.jqxSlider("setOptions",t)},t.prototype.buttonsPosition=function(t){if(t===undefined)return this.host.jqxSlider("buttonsPosition");this.host.jqxSlider("buttonsPosition",t)},t.prototype.disabled=function(t){if(t===undefined)return this.host.jqxSlider("disabled");this.host.jqxSlider("disabled",t)},t.prototype.height=function(t){if(t===undefined)return this.host.jqxSlider("height");this.host.jqxSlider("height",t)},t.prototype.layout=function(t){if(t===undefined)return this.host.jqxSlider("layout");this.host.jqxSlider("layout",t)},t.prototype.mode=function(t){if(t===undefined)return this.host.jqxSlider("mode");this.host.jqxSlider("mode",t)},t.prototype.minorTicksFrequency=function(t){if(t===undefined)return this.host.jqxSlider("minorTicksFrequency");this.host.jqxSlider("minorTicksFrequency",t)},t.prototype.minorTickSize=function(t){if(t===undefined)return this.host.jqxSlider("minorTickSize");this.host.jqxSlider("minorTickSize",t)},t.prototype.max=function(t){if(t===undefined)return this.host.jqxSlider("max");this.host.jqxSlider("max",t)},t.prototype.min=function(t){if(t===undefined)return this.host.jqxSlider("min");this.host.jqxSlider("min",t)},t.prototype.orientation=function(t){if(t===undefined)return this.host.jqxSlider("orientation");this.host.jqxSlider("orientation",t)},t.prototype.rangeSlider=function(t){if(t===undefined)return this.host.jqxSlider("rangeSlider");this.host.jqxSlider("rangeSlider",t)},t.prototype.rtl=function(t){if(t===undefined)return this.host.jqxSlider("rtl");this.host.jqxSlider("rtl",t)},t.prototype.step=function(t){if(t===undefined)return this.host.jqxSlider("step");this.host.jqxSlider("step",t)},t.prototype.showTicks=function(t){if(t===undefined)return this.host.jqxSlider("showTicks");this.host.jqxSlider("showTicks",t)},t.prototype.showMinorTicks=function(t){if(t===undefined)return this.host.jqxSlider("showMinorTicks");this.host.jqxSlider("showMinorTicks",t)},t.prototype.showTickLabels=function(t){if(t===undefined)return this.host.jqxSlider("showTickLabels");this.host.jqxSlider("showTickLabels",t)},t.prototype.showButtons=function(t){if(t===undefined)return this.host.jqxSlider("showButtons");this.host.jqxSlider("showButtons",t)},t.prototype.showRange=function(t){if(t===undefined)return this.host.jqxSlider("showRange");this.host.jqxSlider("showRange",t)},t.prototype.template=function(t){if(t===undefined)return this.host.jqxSlider("template");this.host.jqxSlider("template",t)},t.prototype.theme=function(t){if(t===undefined)return this.host.jqxSlider("theme");this.host.jqxSlider("theme",t)},t.prototype.ticksPosition=function(t){if(t===undefined)return this.host.jqxSlider("ticksPosition");this.host.jqxSlider("ticksPosition",t)},t.prototype.ticksFrequency=function(t){if(t===undefined)return this.host.jqxSlider("ticksFrequency");this.host.jqxSlider("ticksFrequency",t)},t.prototype.tickSize=function(t){if(t===undefined)return this.host.jqxSlider("tickSize");this.host.jqxSlider("tickSize",t)},t.prototype.tickLabelFormatFunction=function(t){if(t===undefined)return this.host.jqxSlider("tickLabelFormatFunction");this.host.jqxSlider("tickLabelFormatFunction",t)},t.prototype.tooltip=function(t){if(t===undefined)return this.host.jqxSlider("tooltip");this.host.jqxSlider("tooltip",t)},t.prototype.tooltipHideDelay=function(t){if(t===undefined)return this.host.jqxSlider("tooltipHideDelay");this.host.jqxSlider("tooltipHideDelay",t)},t.prototype.tooltipPosition=function(t){if(t===undefined)return this.host.jqxSlider("tooltipPosition");this.host.jqxSlider("tooltipPosition",t)},t.prototype.tooltipFormatFunction=function(t){if(t===undefined)return this.host.jqxSlider("tooltipFormatFunction");this.host.jqxSlider("tooltipFormatFunction",t)},t.prototype.value=function(t){if(t===undefined)return this.host.jqxSlider("value");this.host.jqxSlider("value",t)},t.prototype.values=function(t){if(t===undefined)return this.host.jqxSlider("values");this.host.jqxSlider("values",t)},t.prototype.width=function(t){if(t===undefined)return this.host.jqxSlider("width");this.host.jqxSlider("width",t)},t.prototype.destroy=function(){this.host.jqxSlider("destroy")},t.prototype.decrementValue=function(){this.host.jqxSlider("decrementValue")},t.prototype.disable=function(){this.host.jqxSlider("disable")},t.prototype.enable=function(){this.host.jqxSlider("enable")},t.prototype.focus=function(){this.host.jqxSlider("focus")},t.prototype.getValue=function(){return this.host.jqxSlider("getValue")},t.prototype.incrementValue=function(){this.host.jqxSlider("incrementValue")},t.prototype.setValue=function(t){this.host.jqxSlider("setValue",t)},t.prototype.val=function(t){return t!==undefined?this.host.jqxSlider("val",t):this.host.jqxSlider("val")},t.prototype.__wireEvents__=function(){var t=this;this.host.on("change",function(e){t.onChange.emit(e),t.onChangeCallback(t.host.val())}),this.host.on("slide",function(e){t.onSlide.emit(e)}),this.host.on("slideStart",function(e){t.onSlideStart.emit(e)}),this.host.on("slideEnd",function(e){t.onSlideEnd.emit(e)})},o([e.Input("buttonsPosition"),n("design:type",String)],t.prototype,"attrButtonsPosition",void 0),o([e.Input("disabled"),n("design:type",Boolean)],t.prototype,"attrDisabled",void 0),o([e.Input("layout"),n("design:type",String)],t.prototype,"attrLayout",void 0),o([e.Input("mode"),n("design:type",String)],t.prototype,"attrMode",void 0),o([e.Input("minorTicksFrequency"),n("design:type",Number)],t.prototype,"attrMinorTicksFrequency",void 0),o([e.Input("minorTickSize"),n("design:type",Number)],t.prototype,"attrMinorTickSize",void 0),o([e.Input("max"),n("design:type",Number)],t.prototype,"attrMax",void 0),o([e.Input("min"),n("design:type",Number)],t.prototype,"attrMin",void 0),o([e.Input("orientation"),n("design:type",String)],t.prototype,"attrOrientation",void 0),o([e.Input("rangeSlider"),n("design:type",Boolean)],t.prototype,"attrRangeSlider",void 0),o([e.Input("rtl"),n("design:type",Boolean)],t.prototype,"attrRtl",void 0),o([e.Input("step"),n("design:type",Number)],t.prototype,"attrStep",void 0),o([e.Input("showTicks"),n("design:type",Boolean)],t.prototype,"attrShowTicks",void 0),o([e.Input("showMinorTicks"),n("design:type",Boolean)],t.prototype,"attrShowMinorTicks",void 0),o([e.Input("showTickLabels"),n("design:type",Boolean)],t.prototype,"attrShowTickLabels",void 0),o([e.Input("showButtons"),n("design:type",Boolean)],t.prototype,"attrShowButtons",void 0),o([e.Input("showRange"),n("design:type",Boolean)],t.prototype,"attrShowRange",void 0),o([e.Input("template"),n("design:type",String)],t.prototype,"attrTemplate",void 0),o([e.Input("theme"),n("design:type",String)],t.prototype,"attrTheme",void 0),o([e.Input("ticksPosition"),n("design:type",String)],t.prototype,"attrTicksPosition",void 0),o([e.Input("ticksFrequency"),n("design:type",Number)],t.prototype,"attrTicksFrequency",void 0),o([e.Input("tickSize"),n("design:type",Number)],t.prototype,"attrTickSize",void 0),o([e.Input("tickLabelFormatFunction"),n("design:type",Function)],t.prototype,"attrTickLabelFormatFunction",void 0),o([e.Input("tooltip"),n("design:type",Boolean)],t.prototype,"attrTooltip",void 0),o([e.Input("tooltipHideDelay"),n("design:type",Number)],t.prototype,"attrTooltipHideDelay",void 0),o([e.Input("tooltipPosition"),n("design:type",String)],t.prototype,"attrTooltipPosition",void 0),o([e.Input("tooltipFormatFunction"),n("design:type",Function)],t.prototype,"attrTooltipFormatFunction",void 0),o([e.Input("value"),n("design:type",Object)],t.prototype,"attrValue",void 0),o([e.Input("values"),n("design:type",Array)],t.prototype,"attrValues",void 0),o([e.Input("width"),n("design:type",Object)],t.prototype,"attrWidth",void 0),o([e.Input("height"),n("design:type",Object)],t.prototype,"attrHeight",void 0),o([e.Input("auto-create"),n("design:type",Boolean)],t.prototype,"autoCreate",void 0),o([e.Output(),n("design:type",Object)],t.prototype,"onChange",void 0),o([e.Output(),n("design:type",Object)],t.prototype,"onSlide",void 0),o([e.Output(),n("design:type",Object)],t.prototype,"onSlideStart",void 0),o([e.Output(),n("design:type",Object)],t.prototype,"onSlideEnd",void 0),t=o([e.Component({selector:"jqxSlider",template:"<div><ng-content></ng-content></div>",providers:[d],changeDetection:e.ChangeDetectionStrategy.OnPush}),n("design:paramtypes",[e.ElementRef])],t)}(),u=function(){function t(){}return t=o([e.NgModule({imports:[i.FormsModule],declarations:[h],exports:[h]})],t)}();t.jqxSliderComponent=h,t.jqxSliderModule=u,t.ɵ0=p,Object.defineProperty(t,"__esModule",{value:!0})});
  //# sourceMappingURL=jqwidgets-ng-jqxslider.umd.min.js.map