text: require('../../jqwidgets-scripts/jqwidgets/jqxcore');
  require('../../jqwidgets-scripts/jqwidgets/globalization/globalize');
  require('../../jqwidgets-scripts/jqwidgets/jqxbuttons');
  require('../../jqwidgets-scripts/jqwidgets/jqxtooltip');
  require('../../jqwidgets-scripts/jqwidgets/jqxdatetimeinput');
  require('../../jqwidgets-scripts/jqwidgets/jqxcalendar');
  !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/jqxdatetimeinput",["exports","@angular/core","@angular/forms"],e):e((t["jqwidgets-ng"]=t["jqwidgets-ng"]||{},t["jqwidgets-ng"].jqxdatetimeinput={}),t.ng.core,t.ng.forms)}(this,function(t,e,n){"use strict";function r(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),s=[];try{for(;(void 0===e||0<e--)&&!(o=r.next()).done;)s.push(o.value)}catch(a){i={error:a}}finally{try{o&&!o.done&&(n=r["return"])&&n.call(r)}finally{if(i)throw i.error}}return s}var o=function(){},i={provide:n.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return s}),multi:!0},s=function(){function t(t){this.autoCreate=!0,this.properties=["animationType","allowNullDate","allowKeyboardDelete","clearString","culture","closeDelay","closeCalendarAfterSelection","dropDownHorizontalAlignment","dropDownVerticalAlignment","disabled","enableBrowserBoundsDetection","enableAbsoluteSelection","firstDayOfWeek","formatString","height","min","max","openDelay","placeHolder","popupZIndex","rtl","readonly","showFooter","selectionMode","showWeekNumbers","showTimeButton","showCalendarButton","theme","template","textAlign","todayString","value","width"],this.onTouchedCallback=o,this.onChangeCallback=o,this.onChange=new e.EventEmitter,this.onClose=new e.EventEmitter,this.onOpen=new e.EventEmitter,this.onTextchanged=new e.EventEmitter,this.onValueChanged=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 n="attr"+this.properties[e].substring(0,1).toUpperCase()+this.properties[e].substring(1),o=!1;if(this[n]!==undefined){if("object"==typeof this[n]){if(this[n]instanceof Array&&(o=this.arraysEqual(this[n],this.host.jqxDateTimeInput(this.properties[e]))),o)return!1;this.host.jqxDateTimeInput(this.properties[e],this[n]);continue}this[n]!==this.host.jqxDateTimeInput(this.properties[e])&&this.host.jqxDateTimeInput(this.properties[e],this[n])}}},t.prototype.arraysEqual=function(t,e){if(t&&!e||!t&&e)return!1;if(t.length!=e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0},t.prototype.manageAttributes=function(){for(var t={},e=0;e<this.properties.length;e++){var n="attr"+this.properties[e].substring(0,1).toUpperCase()+this.properties[e].substring(1);this[n]!==undefined&&(t[this.properties[e]]=this[n])}return t},t.prototype.moveClasses=function(t,e){var n,o=t.classList;0<o.length&&(n=e.classList).add.apply(n,function i(){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 n=t.style.cssText;e.style.cssText=n,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.widgetObject=jqwidgets.createInstance(this.host,"jqxDateTimeInput",t),this.host=this.widgetObject.host,this.__wireEvents__())},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.jqxDateTimeInput("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.jqxDateTimeInput("setOptions",t)},t.prototype.animationType=function(t){if(t===undefined)return this.host.jqxDateTimeInput("animationType");this.host.jqxDateTimeInput("animationType",t)},t.prototype.allowNullDate=function(t){if(t===undefined)return this.host.jqxDateTimeInput("allowNullDate");this.host.jqxDateTimeInput("allowNullDate",t)},t.prototype.allowKeyboardDelete=function(t){if(t===undefined)return this.host.jqxDateTimeInput("allowKeyboardDelete");this.host.jqxDateTimeInput("allowKeyboardDelete",t)},t.prototype.clearString=function(t){if(t===undefined)return this.host.jqxDateTimeInput("clearString");this.host.jqxDateTimeInput("clearString",t)},t.prototype.culture=function(t){if(t===undefined)return this.host.jqxDateTimeInput("culture");this.host.jqxDateTimeInput("culture",t)},t.prototype.closeDelay=function(t){if(t===undefined)return this.host.jqxDateTimeInput("closeDelay");this.host.jqxDateTimeInput("closeDelay",t)},t.prototype.closeCalendarAfterSelection=function(t){if(t===undefined)return this.host.jqxDateTimeInput("closeCalendarAfterSelection");this.host.jqxDateTimeInput("closeCalendarAfterSelection",t)},t.prototype.dropDownHorizontalAlignment=function(t){if(t===undefined)return this.host.jqxDateTimeInput("dropDownHorizontalAlignment");this.host.jqxDateTimeInput("dropDownHorizontalAlignment",t)},t.prototype.dropDownVerticalAlignment=function(t){if(t===undefined)return this.host.jqxDateTimeInput("dropDownVerticalAlignment");this.host.jqxDateTimeInput("dropDownVerticalAlignment",t)},t.prototype.disabled=function(t){if(t===undefined)return this.host.jqxDateTimeInput("disabled");this.host.jqxDateTimeInput("disabled",t)},t.prototype.enableBrowserBoundsDetection=function(t){if(t===undefined)return this.host.jqxDateTimeInput("enableBrowserBoundsDetection");this.host.jqxDateTimeInput("enableBrowserBoundsDetection",t)},t.prototype.enableAbsoluteSelection=function(t){if(t===undefined)return this.host.jqxDateTimeInput("enableAbsoluteSelection");this.host.jqxDateTimeInput("enableAbsoluteSelection",t)},t.prototype.firstDayOfWeek=function(t){if(t===undefined)return this.host.jqxDateTimeInput("firstDayOfWeek");this.host.jqxDateTimeInput("firstDayOfWeek",t)},t.prototype.formatString=function(t){if(t===undefined)return this.host.jqxDateTimeInput("formatString");this.host.jqxDateTimeInput("formatString",t)},t.prototype.height=function(t){if(t===undefined)return this.host.jqxDateTimeInput("height");this.host.jqxDateTimeInput("height",t)},t.prototype.min=function(t){if(t===undefined)return this.host.jqxDateTimeInput("min");this.host.jqxDateTimeInput("min",t)},t.prototype.max=function(t){if(t===undefined)return this.host.jqxDateTimeInput("max");this.host.jqxDateTimeInput("max",t)},t.prototype.openDelay=function(t){if(t===undefined)return this.host.jqxDateTimeInput("openDelay");this.host.jqxDateTimeInput("openDelay",t)},t.prototype.placeHolder=function(t){if(t===undefined)return this.host.jqxDateTimeInput("placeHolder");this.host.jqxDateTimeInput("placeHolder",t)},t.prototype.popupZIndex=function(t){if(t===undefined)return this.host.jqxDateTimeInput("popupZIndex");this.host.jqxDateTimeInput("popupZIndex",t)},t.prototype.rtl=function(t){if(t===undefined)return this.host.jqxDateTimeInput("rtl");this.host.jqxDateTimeInput("rtl",t)},t.prototype.readonly=function(t){if(t===undefined)return this.host.jqxDateTimeInput("readonly");this.host.jqxDateTimeInput("readonly",t)},t.prototype.showFooter=function(t){if(t===undefined)return this.host.jqxDateTimeInput("showFooter");this.host.jqxDateTimeInput("showFooter",t)},t.prototype.selectionMode=function(t){if(t===undefined)return this.host.jqxDateTimeInput("selectionMode");this.host.jqxDateTimeInput("selectionMode",t)},t.prototype.showWeekNumbers=function(t){if(t===undefined)return this.host.jqxDateTimeInput("showWeekNumbers");this.host.jqxDateTimeInput("showWeekNumbers",t)},t.prototype.showTimeButton=function(t){if(t===undefined)return this.host.jqxDateTimeInput("showTimeButton");this.host.jqxDateTimeInput("showTimeButton",t)},t.prototype.showCalendarButton=function(t){if(t===undefined)return this.host.jqxDateTimeInput("showCalendarButton");this.host.jqxDateTimeInput("showCalendarButton",t)},t.prototype.theme=function(t){if(t===undefined)return this.host.jqxDateTimeInput("theme");this.host.jqxDateTimeInput("theme",t)},t.prototype.template=function(t){if(t===undefined)return this.host.jqxDateTimeInput("template");this.host.jqxDateTimeInput("template",t)},t.prototype.textAlign=function(t){if(t===undefined)return this.host.jqxDateTimeInput("textAlign");this.host.jqxDateTimeInput("textAlign",t)},t.prototype.todayString=function(t){if(t===undefined)return this.host.jqxDateTimeInput("todayString");this.host.jqxDateTimeInput("todayString",t)},t.prototype.value=function(t){if(t===undefined)return this.host.jqxDateTimeInput("value");this.host.jqxDateTimeInput("value",t)},t.prototype.width=function(t){if(t===undefined)return this.host.jqxDateTimeInput("width");this.host.jqxDateTimeInput("width",t)},t.prototype.close=function(){this.host.jqxDateTimeInput("close")},t.prototype.destroy=function(){this.host.jqxDateTimeInput("destroy")},t.prototype.focus=function(){this.host.jqxDateTimeInput("focus")},t.prototype.getRange=function(){return this.host.jqxDateTimeInput("getRange")},t.prototype.getText=function(){return this.host.jqxDateTimeInput("getText")},t.prototype.getDate=function(){return this.host.jqxDateTimeInput("getDate")},t.prototype.getMaxDate=function(){return this.host.jqxDateTimeInput("getMaxDate")},t.prototype.getMinDate=function(){return this.host.jqxDateTimeInput("getMinDate")},t.prototype.open=function(){this.host.jqxDateTimeInput("open")},t.prototype.setRange=function(t,e){this.host.jqxDateTimeInput("setRange",t,e)},t.prototype.setMinDate=function(t){this.host.jqxDateTimeInput("setMinDate",t)},t.prototype.setMaxDate=function(t){this.host.jqxDateTimeInput("setMaxDate",t)},t.prototype.setDate=function(t){this.host.jqxDateTimeInput("setDate",t)},t.prototype.val=function(t,e){return t!==undefined?this.host.jqxDateTimeInput("val",t,e):this.host.jqxDateTimeInput("val")},t.prototype.__wireEvents__=function(){var e=this;this.host.on("change",function(t){e.onChange.emit(t),e.onChangeCallback(e.host.val())}),this.host.on("close",function(t){e.onClose.emit(t)}),this.host.on("open",function(t){e.onOpen.emit(t)}),this.host.on("textchanged",function(t){e.onTextchanged.emit(t)}),this.host.on("valueChanged",function(t){e.onValueChanged.emit(t),e.onChangeCallback(e.host.val())}),this.host.on("keyup",function(){e.onChangeCallback(e.host.val())})},t.decorators=[{type:e.Component,args:[{selector:"jqxDateTimeInput",template:'<input [(ngModel)]="ngValue">',providers:[i],changeDetection:e.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:e.ElementRef}]},t.propDecorators={attrAnimationType:[{type:e.Input,args:["animationType"]}],attrAllowNullDate:[{type:e.Input,args:["allowNullDate"]}],attrAllowKeyboardDelete:[{type:e.Input,args:["allowKeyboardDelete"]}],attrClearString:[{type:e.Input,args:["clearString"]}],attrCulture:[{type:e.Input,args:["culture"]}],attrCloseDelay:[{type:e.Input,args:["closeDelay"]}],attrCloseCalendarAfterSelection:[{type:e.Input,args:["closeCalendarAfterSelection"]}],attrDropDownHorizontalAlignment:[{type:e.Input,args:["dropDownHorizontalAlignment"]}],attrDropDownVerticalAlignment:[{type:e.Input,args:["dropDownVerticalAlignment"]}],attrDisabled:[{type:e.Input,args:["disabled"]}],attrEnableBrowserBoundsDetection:[{type:e.Input,args:["enableBrowserBoundsDetection"]}],attrEnableAbsoluteSelection:[{type:e.Input,args:["enableAbsoluteSelection"]}],attrFirstDayOfWeek:[{type:e.Input,args:["firstDayOfWeek"]}],attrFormatString:[{type:e.Input,args:["formatString"]}],attrMin:[{type:e.Input,args:["min"]}],attrMax:[{type:e.Input,args:["max"]}],attrOpenDelay:[{type:e.Input,args:["openDelay"]}],attrPlaceHolder:[{type:e.Input,args:["placeHolder"]}],attrPopupZIndex:[{type:e.Input,args:["popupZIndex"]}],attrRtl:[{type:e.Input,args:["rtl"]}],attrReadonly:[{type:e.Input,args:["readonly"]}],attrShowFooter:[{type:e.Input,args:["showFooter"]}],attrSelectionMode:[{type:e.Input,args:["selectionMode"]}],attrShowWeekNumbers:[{type:e.Input,args:["showWeekNumbers"]}],attrShowTimeButton:[{type:e.Input,args:["showTimeButton"]}],attrShowCalendarButton:[{type:e.Input,args:["showCalendarButton"]}],attrTheme:[{type:e.Input,args:["theme"]}],attrTemplate:[{type:e.Input,args:["template"]}],attrTextAlign:[{type:e.Input,args:["textAlign"]}],attrTodayString:[{type:e.Input,args:["todayString"]}],attrValue:[{type:e.Input,args:["value"]}],attrWidth:[{type:e.Input,args:["width"]}],attrHeight:[{type:e.Input,args:["height"]}],autoCreate:[{type:e.Input,args:["auto-create"]}],onChange:[{type:e.Output}],onClose:[{type:e.Output}],onOpen:[{type:e.Output}],onTextchanged:[{type:e.Output}],onValueChanged:[{type:e.Output}]},t}(),a=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[n.FormsModule],declarations:[s],exports:[s]}]}],t}();t.jqxDateTimeInputComponent=s,t.jqxDateTimeInputModule=a,Object.defineProperty(t,"__esModule",{value:!0})});
  //# sourceMappingURL=jqwidgets-ng-jqxdatetimeinput.umd.min.js.map