require("../../jqwidgets/jqxcore"),require("../../jqwidgets/jqxdata"),require("../../jqwidgets/jqxbuttons"),require("../../jqwidgets/jqxscrollbar"),require("../../jqwidgets/jqxlistbox"),require("../../jqwidgets/jqxdragdrop"),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],e):e(t.react_jqxlistbox={},t.React)}(this,function(t,e){"use strict";var o=function(t,e){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o])})(t,e)};n=e.PureComponent,o(i=c,r=n),i.prototype=null===r?Object.create(r):(s.prototype=r.prototype,new s),c.getDerivedStateFromProps=function(t,e){return Object.is||(Object.is=function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}),Object.is(t,e.lastProps)?null:{lastProps:t}},c.prototype.componentDidMount=function(){var t=this._manageProps();this._jqx(this._componentSelector).jqxListBox(t),this._wireEvents()},c.prototype.componentDidUpdate=function(){var t=this._manageProps();this.setOptions(t),this._wireEvents()},c.prototype.render=function(){return e.createElement("div",{id:this._id,className:this.props.className,style:this.props.style},this.props.children)},c.prototype.setOptions=function(t){this._jqx(this._componentSelector).jqxListBox(t)},c.prototype.getOptions=function(t){return this._jqx(this._componentSelector).jqxListBox(t)},c.prototype.addItem=function(t){return this._jqx(this._componentSelector).jqxListBox("addItem",t)},c.prototype.beginUpdate=function(){this._jqx(this._componentSelector).jqxListBox("beginUpdate")},c.prototype.clear=function(){this._jqx(this._componentSelector).jqxListBox("clear")},c.prototype.clearSelection=function(){this._jqx(this._componentSelector).jqxListBox("clearSelection")},c.prototype.checkIndex=function(t){this._jqx(this._componentSelector).jqxListBox("checkIndex",t)},c.prototype.checkItem=function(t){this._jqx(this._componentSelector).jqxListBox("checkItem",t)},c.prototype.checkAll=function(){this._jqx(this._componentSelector).jqxListBox("checkAll")},c.prototype.clearFilter=function(){this._jqx(this._componentSelector).jqxListBox("clearFilter")},c.prototype.destroy=function(){this._jqx(this._componentSelector).jqxListBox("destroy")},c.prototype.disableItem=function(t){this._jqx(this._componentSelector).jqxListBox("disableItem",t)},c.prototype.disableAt=function(t){this._jqx(this._componentSelector).jqxListBox("disableAt",t)},c.prototype.enableItem=function(t){this._jqx(this._componentSelector).jqxListBox("enableItem",t)},c.prototype.enableAt=function(t){this._jqx(this._componentSelector).jqxListBox("enableAt",t)},c.prototype.ensureVisible=function(t){this._jqx(this._componentSelector).jqxListBox("ensureVisible",t)},c.prototype.endUpdate=function(){this._jqx(this._componentSelector).jqxListBox("endUpdate")},c.prototype.focus=function(){this._jqx(this._componentSelector).jqxListBox("focus")},c.prototype.getItems=function(){return this._jqx(this._componentSelector).jqxListBox("getItems")},c.prototype.getSelectedItems=function(){return this._jqx(this._componentSelector).jqxListBox("getSelectedItems")},c.prototype.getCheckedItems=function(){return this._jqx(this._componentSelector).jqxListBox("getCheckedItems")},c.prototype.getItem=function(t){return this._jqx(this._componentSelector).jqxListBox("getItem",t)},c.prototype.getItemByValue=function(t){return this._jqx(this._componentSelector).jqxListBox("getItemByValue",t)},c.prototype.getSelectedItem=function(){return this._jqx(this._componentSelector).jqxListBox("getSelectedItem")},c.prototype.getSelectedIndex=function(){return this._jqx(this._componentSelector).jqxListBox("getSelectedIndex")},c.prototype.insertAt=function(t,e){this._jqx(this._componentSelector).jqxListBox("insertAt",t,e)},c.prototype.invalidate=function(){this._jqx(this._componentSelector).jqxListBox("invalidate")},c.prototype.indeterminateItem=function(t){this._jqx(this._componentSelector).jqxListBox("indeterminateItem",t)},c.prototype.indeterminateIndex=function(t){this._jqx(this._componentSelector).jqxListBox("indeterminateIndex",t)},c.prototype.loadFromSelect=function(t){this._jqx(this._componentSelector).jqxListBox("loadFromSelect",t)},c.prototype.removeItem=function(t){this._jqx(this._componentSelector).jqxListBox("removeItem",t)},c.prototype.removeAt=function(t){this._jqx(this._componentSelector).jqxListBox("removeAt",t)},c.prototype.renderWidget=function(){this._jqx(this._componentSelector).jqxListBox("render")},c.prototype.refresh=function(){this._jqx(this._componentSelector).jqxListBox("refresh")},c.prototype.selectItem=function(t){this._jqx(this._componentSelector).jqxListBox("selectItem",t)},c.prototype.selectIndex=function(t){this._jqx(this._componentSelector).jqxListBox("selectIndex",t)},c.prototype.updateItem=function(t,e){this._jqx(this._componentSelector).jqxListBox("updateItem",t,e)},c.prototype.updateAt=function(t,e){this._jqx(this._componentSelector).jqxListBox("updateAt",t,e)},c.prototype.unselectIndex=function(t){this._jqx(this._componentSelector).jqxListBox("unselectIndex",t)},c.prototype.unselectItem=function(t){this._jqx(this._componentSelector).jqxListBox("unselectItem",t)},c.prototype.uncheckIndex=function(t){this._jqx(this._componentSelector).jqxListBox("uncheckIndex",t)},c.prototype.uncheckItem=function(t){this._jqx(this._componentSelector).jqxListBox("uncheckItem",t)},c.prototype.uncheckAll=function(){this._jqx(this._componentSelector).jqxListBox("uncheckAll")},c.prototype.val=function(t){if(!t)return this._jqx(this._componentSelector).jqxListBox("val");this._jqx(this._componentSelector).jqxListBox("val",t)},c.prototype._manageProps=function(){var t,e=["autoHeight","allowDrag","allowDrop","checkboxes","disabled","displayMember","dropAction","dragStart","dragEnd","enableHover","enableSelection","equalItemsWidth","filterable","filterHeight","filterDelay","filterPlaceHolder","height","hasThreeStates","itemHeight","incrementalSearch","incrementalSearchDelay","multiple","multipleextended","renderer","rendered","rtl","selectedIndex","selectedIndexes","source","scrollBarSize","searchMode","theme","valueMember","width"],o={};for(t in this.props)-1!==e.indexOf(t)&&(o[t]=this.props[t]);return o},c.prototype._wireEvents=function(){for(var t in this.props){var e;0===t.indexOf("on")&&(e=(e=t.slice(2)).charAt(0).toLowerCase()+e.slice(1),this._jqx(this._componentSelector).off(e),this._jqx(this._componentSelector).on(e,this.props[t]))}};var n,i,r=c;function s(){this.constructor=i}function c(t){var e=n.call(this,t)||this;return e._jqx=x,e._id="JqxListBox"+e._jqx.generateID(),e._componentSelector="#"+e._id,e.state={lastProps:t},e}var p=window.jqx,x=window.JQXLite;t.default=r,t.jqx=p,t.JQXLite=x,Object.defineProperty(t,"__esModule",{value:!0})});