text: require('../../jqwidgets/jqxcore');
  require('../../jqwidgets/jqxtooltip');
  require('../../jqwidgets/jqxpasswordinput');
  !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/jqxpasswordinput",["exports","@angular/core","@angular/forms"],e):e((t["jqwidgets-ng"]=t["jqwidgets-ng"]||{},t["jqwidgets-ng"].jqxpasswordinput={}),t.ng.core,t.ng.forms)}(this,function(t,e,s){"use strict";function r(t,e){var s="function"==typeof Symbol&&t[Symbol.iterator];if(!s)return t;var n,o,r=s.call(t),i=[];try{for(;(void 0===e||0<e--)&&!(n=r.next()).done;)i.push(n.value)}catch(h){o={error:h}}finally{try{n&&!n.done&&(s=r["return"])&&s.call(r)}finally{if(o)throw o.error}}return i}var n=function(){},o={provide:s.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return i}),multi:!0},i=function(){function t(t){this.autoCreate=!0,this.properties=["disabled","height","localization","maxLength","placeHolder","passwordStrength","rtl","strengthColors","showStrength","showStrengthPosition","strengthTypeRenderer","showPasswordIcon","theme","width"],this.onTouchedCallback=n,this.onChangeCallback=n,this.onChange=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 s="attr"+this.properties[e].substring(0,1).toUpperCase()+this.properties[e].substring(1),n=!1;if(this[s]!==undefined){if("object"==typeof this[s]){if(this[s]instanceof Array&&(n=this.arraysEqual(this[s],this.host.jqxPasswordInput(this.properties[e]))),n)return!1;this.host.jqxPasswordInput(this.properties[e],this[s]);continue}this[s]!==this.host.jqxPasswordInput(this.properties[e])&&this.host.jqxPasswordInput(this.properties[e],this[s])}}},t.prototype.arraysEqual=function(t,e){if(t&&!e||!t&&e)return!1;if(t.length!=e.length)return!1;for(var s=0;s<t.length;s++)if(t[s]!==e[s])return!1;return!0},t.prototype.manageAttributes=function(){for(var t={},e=0;e<this.properties.length;e++){var s="attr"+this.properties[e].substring(0,1).toUpperCase()+this.properties[e].substring(1);this[s]!==undefined&&(t[this.properties[e]]=this[s])}return t},t.prototype.moveClasses=function(t,e){var s,n=t.classList;0<n.length&&(s=e.classList).add.apply(s,function o(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(r(arguments[e]));return t}(n)),t.className=""},t.prototype.moveStyles=function(t,e){var s=t.style.cssText;e.style.cssText=s,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,"jqxPasswordInput",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.host.jqxPasswordInput("val",t)},t.prototype.registerOnChange=function(t){this.onChangeCallback=t},t.prototype.registerOnTouched=function(t){this.onTouchedCallback=t},t.prototype.setOptions=function(t){this.host.jqxPasswordInput("setOptions",t)},t.prototype.disabled=function(t){if(t===undefined)return this.host.jqxPasswordInput("disabled");this.host.jqxPasswordInput("disabled",t)},t.prototype.height=function(t){if(t===undefined)return this.host.jqxPasswordInput("height");this.host.jqxPasswordInput("height",t)},t.prototype.localization=function(t){if(t===undefined)return this.host.jqxPasswordInput("localization");this.host.jqxPasswordInput("localization",t)},t.prototype.maxLength=function(t){if(t===undefined)return this.host.jqxPasswordInput("maxLength");this.host.jqxPasswordInput("maxLength",t)},t.prototype.placeHolder=function(t){if(t===undefined)return this.host.jqxPasswordInput("placeHolder");this.host.jqxPasswordInput("placeHolder",t)},t.prototype.passwordStrength=function(t){if(t===undefined)return this.host.jqxPasswordInput("passwordStrength");this.host.jqxPasswordInput("passwordStrength",t)},t.prototype.rtl=function(t){if(t===undefined)return this.host.jqxPasswordInput("rtl");this.host.jqxPasswordInput("rtl",t)},t.prototype.strengthColors=function(t){if(t===undefined)return this.host.jqxPasswordInput("strengthColors");this.host.jqxPasswordInput("strengthColors",t)},t.prototype.showStrength=function(t){if(t===undefined)return this.host.jqxPasswordInput("showStrength");this.host.jqxPasswordInput("showStrength",t)},t.prototype.showStrengthPosition=function(t){if(t===undefined)return this.host.jqxPasswordInput("showStrengthPosition");this.host.jqxPasswordInput("showStrengthPosition",t)},t.prototype.strengthTypeRenderer=function(t){if(t===undefined)return this.host.jqxPasswordInput("strengthTypeRenderer");this.host.jqxPasswordInput("strengthTypeRenderer",t)},t.prototype.showPasswordIcon=function(t){if(t===undefined)return this.host.jqxPasswordInput("showPasswordIcon");this.host.jqxPasswordInput("showPasswordIcon",t)},t.prototype.theme=function(t){if(t===undefined)return this.host.jqxPasswordInput("theme");this.host.jqxPasswordInput("theme",t)},t.prototype.width=function(t){if(t===undefined)return this.host.jqxPasswordInput("width");this.host.jqxPasswordInput("width",t)},t.prototype.render=function(){this.host.jqxPasswordInput("render")},t.prototype.refresh=function(){this.host.jqxPasswordInput("refresh")},t.prototype.val=function(t){return t!==undefined?this.host.jqxPasswordInput("val",t):this.host.jqxPasswordInput("val")},t.prototype.__wireEvents__=function(){var e=this;this.host.on("change",function(t){e.onChange.emit(t)})},t.decorators=[{type:e.Component,args:[{selector:"jqxPasswordInput",template:'<input type="password" [(ngModel)]="ngValue">',providers:[o],changeDetection:e.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:e.ElementRef}]},t.propDecorators={attrDisabled:[{type:e.Input,args:["disabled"]}],attrLocalization:[{type:e.Input,args:["localization"]}],attrMaxLength:[{type:e.Input,args:["maxLength"]}],attrPlaceHolder:[{type:e.Input,args:["placeHolder"]}],attrPasswordStrength:[{type:e.Input,args:["passwordStrength"]}],attrRtl:[{type:e.Input,args:["rtl"]}],attrStrengthColors:[{type:e.Input,args:["strengthColors"]}],attrShowStrength:[{type:e.Input,args:["showStrength"]}],attrShowStrengthPosition:[{type:e.Input,args:["showStrengthPosition"]}],attrStrengthTypeRenderer:[{type:e.Input,args:["strengthTypeRenderer"]}],attrShowPasswordIcon:[{type:e.Input,args:["showPasswordIcon"]}],attrTheme:[{type:e.Input,args:["theme"]}],attrWidth:[{type:e.Input,args:["width"]}],attrHeight:[{type:e.Input,args:["height"]}],autoCreate:[{type:e.Input,args:["auto-create"]}],onChange:[{type:e.Output}]},t}(),h=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[s.FormsModule],declarations:[i],exports:[i]}]}],t}();t.jqxPasswordInputComponent=i,t.jqxPasswordInputModule=h,Object.defineProperty(t,"__esModule",{value:!0})});
  