@syncfusion/ej2-react-dropdowns
Version:
Essential JS 2 DropDown Components for React
12 lines (11 loc) • 7.63 kB
JavaScript
/*!
* filename: ej2-react-dropdowns.umd.min.js
* version : 29.1.33
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-dropdowns"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-dropdowns","@syncfusion/ej2-react-base"],t):t((e=e||self).ej={},e.React,e.ej2Dropdowns,e.ej2ReactBase)}(this,function(t,e,n,o){"use strict";r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};var r,i,s=function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=(i=n.DropDownList,s(a,i),a.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));i.prototype.render.call(this),this.initRenderCalled=!0},a);function a(e){e=i.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=["headerTemplate","valueTemplate","itemTemplate"],e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}o.applyMixins(s,[o.ComponentBase,e.Component]);c=function(e,t){return(c=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};var c,p,l=function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},l=(p=n.ComboBox,l(u,p),u.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));p.prototype.render.call(this),this.initRenderCalled=!0},u);function u(e){e=p.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=["headerTemplate","itemTemplate"],e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}o.applyMixins(l,[o.ComponentBase,e.Component]);d=function(e,t){return(d=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};var d,f,h=function(e,t){function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},h=(f=n.AutoComplete,h(m,f),m.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));f.prototype.render.call(this),this.initRenderCalled=!0},m);function m(e){e=f.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=["headerTemplate","itemTemplate"],e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}o.applyMixins(h,[o.ComponentBase,e.Component]);y=function(e,t){return(y=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};var y,_,R=function(e,t){function n(){this.constructor=e}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},R=(_=n.MultiSelect,R(C,_),C.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));_.prototype.render.call(this),this.initRenderCalled=!0},C);function C(e){e=_.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=["headerTemplate","valueTemplate","itemTemplate"],e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}o.applyMixins(R,[o.ComponentBase,e.Component]);j=function(e,t){return(j=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};var j,M,b=function(e,t){function n(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},b=(M=n.ListBox,b(O,M),O.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));M.prototype.render.call(this),this.initRenderCalled=!0},O);function O(e){e=M.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}o.applyMixins(b,[o.ComponentBase,e.Component]);P=function(e,t){return(P=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};var P,g,k=function(e,t){function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},k=(g=n.DropDownTree,k(w,g),w.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,[].concat(e.createElement("input",this.getDefaultAttributes()),this.portals));g.prototype.render.call(this),this.initRenderCalled=!0},w);function w(e){e=g.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}o.applyMixins(k,[o.ComponentBase,e.Component]);T=function(e,t){return(T=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}))(e,t)};var T,v,A=function(e,t){function n(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},A=(v=n.Mention,A(D,v),D.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));v.prototype.render.call(this),this.initRenderCalled=!0},D);function D(e){e=v.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.statelessTemplateProps=["itemTemplate"],e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}o.applyMixins(A,[o.ComponentBase,e.Component]),Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return o.Inject}}),t.AutoCompleteComponent=h,t.ComboBoxComponent=l,t.DropDownListComponent=s,t.DropDownTreeComponent=k,t.ListBoxComponent=b,t.MentionComponent=A,t.MultiSelectComponent=R,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-react-dropdowns.umd.min.js.map