@syncfusion/ej2-react-inputs
Version:
A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users. for React
12 lines (11 loc) • 12.7 kB
JavaScript
/*!
* filename: ej2-react-inputs.umd.min.js
* version : 29.1.39
* 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(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("@syncfusion/ej2-inputs"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-inputs","@syncfusion/ej2-react-base"],e):e((t=t||self).ej={},t.React,t.ej2Inputs,t.ej2ReactBase)}(this,function(e,t,n,o){"use strict";r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var r,i,s=function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},s=(i=n.TextBox,s(c,i),c.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));i.prototype.render.call(this),this.initRenderCalled=!0},c);function c(t){t=i.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(s,[o.ComponentBase,t.Component]);a=function(t,e){return(a=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var a,l,p=function(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},p=(l=n.TextArea,p(u,l),u.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("textarea",this.getDefaultAttributes()),this.portals));l.prototype.render.call(this),this.initRenderCalled=!0},u);function u(t){t=l.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(p,[o.ComponentBase,t.Component]);h=function(t,e){return(h=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var h,f,d=function(t,e){function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},d=(f=n.NumericTextBox,d(m,f),m.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));f.prototype.render.call(this),this.initRenderCalled=!0},m);function m(t){t=f.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(d,[o.ComponentBase,t.Component]);y=function(t,e){return(y=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var y,_,R=function(t,e){function n(){this.constructor=t}y(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},R=(_=n.MaskedTextBox,R(C,_),C.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));_.prototype.render.call(this),this.initRenderCalled=!0},C);function C(t){t=_.call(this,t)||this;return t.controlAttributes=["name"],t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(R,[o.ComponentBase,t.Component]);O=function(t,e){return(O=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var O,P,M=function(t,e){function n(){this.constructor=t}O(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},M=(P=n.Slider,M(j,P),j.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));P.prototype.render.call(this),this.initRenderCalled=!0},j);function j(t){t=P.call(this,t)||this;return t.controlAttributes=["name"],t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(M,[o.ComponentBase,t.Component]);b=function(t,e){return(b=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var b,k,g=function(t,e){function n(){this.constructor=t}b(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},U=(k=o.ComplexBase,g(D,k),D.moduleName="uploadedFiles",D);function D(){return null!==k&&k.apply(this,arguments)||this}x=o.ComplexBase,g(v,x),v.propertyName="files",v.moduleName="files";var x,g=v;function v(){return null!==x&&x.apply(this,arguments)||this}S=function(t,e){return(S=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var S,A,N=function(t,e){function n(){this.constructor=t}S(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},N=(A=n.Uploader,N(q,A),q.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));A.prototype.render.call(this),this.initRenderCalled=!0},q);function q(t){t=A.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.directivekeys={files:"uploadedFiles"},t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}o.applyMixins(N,[o.ComponentBase,t.Component]);z=function(t,e){return(z=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var z,w,G=function(t,e){function n(){this.constructor=t}z(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},G=(w=n.ColorPicker,G(H,w),H.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));w.prototype.render.call(this),this.initRenderCalled=!0},H);function H(t){t=w.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(G,[o.ComponentBase,t.Component]);J=function(t,e){return(J=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var J,T,K=function(t,e){function n(){this.constructor=t}J(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},K=(T=n.Signature,K(L,T),L.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("canvas",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));T.prototype.render.call(this),this.initRenderCalled=!0},L);function L(t){t=T.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(K,[o.ComponentBase,t.Component]);Q=function(t,e){return(Q=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var Q,F,V=function(t,e){function n(){this.constructor=t}Q(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},V=(F=n.Rating,V(W,F),W.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("input",this.getDefaultAttributes()),this.portals));F.prototype.render.call(this),this.initRenderCalled=!0},W);function W(t){t=F.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!1,t.isReactMock=!0,t.portals=[],t}o.applyMixins(V,[o.ComponentBase,t.Component]);X=function(t,e){return(X=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var X,B,Y=function(t,e){function n(){this.constructor=t}X(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Y=(B=n.OtpInput,Y(Z,B),Z.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));B.prototype.render.call(this),this.initRenderCalled=!0},Z);function Z(t){t=B.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(Y,[o.ComponentBase,t.Component]);$=function(t,e){return($=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var $,E,tt=function(t,e){function n(){this.constructor=t}$(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},tt=(E=n.SmartTextArea,tt(et,E),et.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement(t.Fragment,null,[].concat(t.createElement("textarea",this.getDefaultAttributes()),this.portals));E.prototype.render.call(this),this.initRenderCalled=!0},et);function et(t){t=E.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(tt,[o.ComponentBase,t.Component]);nt=function(t,e){return(nt=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(t,e){t.__proto__=e}:function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}))(t,e)};var nt,I,ot=function(t,e){function n(){this.constructor=t}nt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ot=(I=n.SpeechToText,ot(rt,I),rt.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));I.prototype.render.call(this),this.initRenderCalled=!0},rt);function rt(t){t=I.call(this,t)||this;return t.initRenderCalled=!1,t.checkInjectedModules=!1,t.statelessTemplateProps=null,t.templateProps=null,t.immediateRender=!0,t.isReactMock=!0,t.portals=[],t}o.applyMixins(ot,[o.ComponentBase,t.Component]),Object.keys(n).forEach(function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})}),e.ColorPickerComponent=G,e.FilesDirective=g,e.MaskedTextBoxComponent=R,e.NumericTextBoxComponent=d,e.OtpInputComponent=Y,e.RatingComponent=V,e.SignatureComponent=K,e.SliderComponent=M,e.SmartTextAreaComponent=tt,e.SpeechToTextComponent=ot,e.TextAreaComponent=p,e.TextBoxComponent=s,e.UploadedFilesDirective=U,e.UploaderComponent=N,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-react-inputs.umd.min.js.map