@syncfusion/ej2-react-buttons
Advanced tools
Comparing version 1.0.19 to 1.0.22
/*! | ||
* filename: ej2-react-buttons.umd.min.js | ||
* version : 1.0.19 | ||
* version : 1.0.22 | ||
* Copyright Syncfusion Inc. 2001 - 2017. All rights reserved. | ||
@@ -11,3 +11,3 @@ * Use of this code is subject to the terms of our license. | ||
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("react"),require("@syncfusion/ej2-buttons"),require("@syncfusion/ej2-react-base"));else if("function"==typeof define&&define.amd)define(["react","@syncfusion/ej2-buttons","@syncfusion/ej2-react-base"],e);else{var n="object"==typeof exports?e(require("react"),require("@syncfusion/ej2-buttons"),require("@syncfusion/ej2-react-base")):e(t.react,t["@syncfusion/ej2-buttons"],t["@syncfusion/ej2-react-base"]);for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){var r,o;r=[n,e,n(1),n(6),n(8),n(4)],void 0!==(o=function(t,e,n,r,o,i){"use strict";function s(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),s(n),s(r),s(o),s(i)}.apply(e,r))&&(t.exports=o)},function(t,e,n){var r,o;r=[n,e,n(2)],void 0!==(o=function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n)}.apply(e,r))&&(t.exports=o)},function(t,e,n){var r,o,i=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();r=[n,e,n(3),n(4),n(5)],void 0!==(o=function(t,e,n,r,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return i(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("button",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(r.Button);e.ButtonComponent=s,o.applyMixins(s,[o.ComponentBase,n.PureComponent])}.apply(e,r))&&(t.exports=o)},function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){var r,o;r=[n,e,n(7)],void 0!==(o=function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n)}.apply(e,r))&&(t.exports=o)},function(t,e,n){var r,o,i=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();r=[n,e,n(3),n(4),n(5)],void 0!==(o=function(t,e,n,r,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return i(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("input",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(r.CheckBox);e.CheckBoxComponent=s,o.applyMixins(s,[o.ComponentBase,n.PureComponent])}.apply(e,r))&&(t.exports=o)},function(t,e,n){var r,o;r=[n,e,n(9)],void 0!==(o=function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}(n)}.apply(e,r))&&(t.exports=o)},function(t,e,n){var r,o,i=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();r=[n,e,n(3),n(4),n(5)],void 0!==(o=function(t,e,n,r,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=e,n}return i(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("input",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(r.RadioButton);e.RadioButtonComponent=s,o.applyMixins(s,[o.ComponentBase,n.PureComponent])}.apply(e,r))&&(t.exports=o)}])}); | ||
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@syncfusion/ej2-buttons"),require("@syncfusion/ej2-react-base"));else if("function"==typeof define&&define.amd)define(["@syncfusion/ej2-buttons","@syncfusion/ej2-react-base"],t);else{var n="object"==typeof exports?t(require("@syncfusion/ej2-buttons"),require("@syncfusion/ej2-react-base")):t(e["@syncfusion/ej2-buttons"],e["@syncfusion/ej2-react-base"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var r,o;r=[n,t,n(1),n(16),n(18),n(14)],void 0!==(o=function(e,t,n,r,o,i){"use strict";function u(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),u(n),u(r),u(o),u(i)}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r,o;r=[n,t,n(2)],void 0!==(o=function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n)}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r,o,i=this&&this.__extends||function(){var e=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])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();r=[n,t,n(3),n(14),n(15)],void 0!==(o=function(e,t,n,r,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=t,n}return i(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("button",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.Button);t.ButtonComponent=u,o.applyMixins(u,[o.ComponentBase,n.PureComponent])}.apply(t,r))&&(e.exports=o)},function(e,t,n){(function(t){"use strict";"production"===t.env.NODE_ENV?e.exports=n(5):e.exports=n(10)}).call(t,n(4))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(s===setTimeout)return setTimeout(e,0);if((s===n||!s)&&setTimeout)return s=setTimeout,setTimeout(e,0);try{return s(e,0)}catch(t){try{return s.call(null,e,0)}catch(t){return s.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function u(){h&&y&&(h=!1,y.length?d=y.concat(d):m=-1,d.length&&a())}function a(){if(!h){var e=o(u);h=!0;for(var t=d.length;t;){for(y=d,d=[];++m<t;)y&&y[m].run();m=-1,t=d.length}y=null,h=!1,i(e)}}function c(e,t){this.fun=e,this.array=t}function l(){}var s,f,p=e.exports={};!function(){try{s="function"==typeof setTimeout?setTimeout:n}catch(e){s=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var y,d=[],h=!1,m=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];d.push(new c(e,t)),1!==d.length||h||o(a)},c.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=l,p.addListener=l,p.once=l,p.off=l,p.removeListener=l,p.removeAllListeners=l,p.emit=l,p.prependListener=l,p.prependOnceListener=l,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw t=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."),t.name="Invariant Violation",t.framesToPop=1,t}function o(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||_}function i(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||_}function u(){}function a(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||_}function c(e,t,n,r,o,i,u){return{$$typeof:C,type:e,key:t,ref:n,props:u,_owner:i}}function l(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function s(e,t,n,r){if(A.length){var o=A.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function f(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function p(e,t,n,o){var i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||"object"===i&&e.$$typeof===P)return n(o,e,""===t?"."+y(e,0):t),1;var u=0;if(t=""===t?".":t+":",Array.isArray(e))for(var a=0;a<e.length;a++){i=e[a];var c=t+y(i,a);u+=p(i,c,n,o)}else if("function"==typeof(c=S&&e[S]||e["@@iterator"]))for(e=c.call(e),a=0;!(i=e.next()).done;)i=i.value,c=t+y(i,a++),u+=p(i,c,n,o);else"object"===i&&(n=""+e,r("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return u}function y(e,t){return"object"==typeof e&&null!==e&&null!=e.key?l(e.key):t.toString(36)}function d(e,t){e.func.call(e.context,t,e.count++)}function h(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?m(e,r,n,b.thatReturnsArgument):null!=e&&(c.isValidElement(e)&&(e=c.cloneAndReplaceKey(e,o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(R,"$&/")+"/")+n)),r.push(e))}function m(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(R,"$&/")+"/"),t=s(t,i,r,o),null==e||p(e,"",h,t),f(t)}var v=n(6),g=n(7);n(8);var b=n(9),_={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};o.prototype.isReactComponent={},o.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&r("85"),this.updater.enqueueSetState(this,e,t,"setState")},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},u.prototype=o.prototype;var O=i.prototype=new u;O.constructor=i,v(O,o.prototype),O.isPureReactComponent=!0;var E=a.prototype=new u;E.constructor=a,v(E,o.prototype),E.unstable_isAsyncReactComponent=!0,E.render=function(){return this.props.children};var w={Component:o,PureComponent:i,AsyncComponent:a},k={current:null},j=Object.prototype.hasOwnProperty,C="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,x={key:!0,ref:!0,__self:!0,__source:!0};c.createElement=function(e,t,n){var r,o={},i=null,u=null,a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),a=void 0===t.__self?null:t.__self,l=void 0===t.__source?null:t.__source,t)j.call(t,r)&&!x.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){for(var f=Array(s),p=0;p<s;p++)f[p]=arguments[p+2];o.children=f}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===o[r]&&(o[r]=s[r]);return c(e,i,u,a,l,k.current,o)},c.createFactory=function(e){var t=c.createElement.bind(null,e);return t.type=e,t},c.cloneAndReplaceKey=function(e,t){return c(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},c.cloneElement=function(e,t,n){var r=v({},e.props),o=e.key,i=e.ref,u=e._self,a=e._source,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(f in t)j.call(t,f)&&!x.hasOwnProperty(f)&&(r[f]=void 0===t[f]&&void 0!==s?s[f]:t[f])}var f=arguments.length-2;if(1===f)r.children=n;else if(1<f){s=Array(f);for(var p=0;p<f;p++)s[p]=arguments[p+2];r.children=s}return c(e.type,o,i,u,a,l,r)},c.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===C};var S="function"==typeof Symbol&&Symbol.iterator,P="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,R=/\/+/g,A=[],D={forEach:function(e,t,n){if(null==e)return e;t=s(null,null,t,n),null==e||p(e,"",d,t),f(t)},map:function(e,t,n){if(null==e)return e;var r=[];return m(e,r,null,t,n),r},count:function(e){return null==e?0:p(e,"",b.thatReturnsNull,null)},toArray:function(e){var t=[];return m(e,t,null,b.thatReturnsArgument),t}};e.exports={Children:{map:D.map,forEach:D.forEach,count:D.count,toArray:D.toArray,only:function(e){return c.isValidElement(e)||r("143"),e}},Component:w.Component,PureComponent:w.PureComponent,unstable_AsyncComponent:w.AsyncComponent,createElement:c.createElement,cloneElement:c.cloneElement,isValidElement:c.isValidElement,createFactory:c.createFactory,version:"16.0.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:k,assign:v}}},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var u,a,c=n(e),l=1;l<arguments.length;l++){u=Object(arguments[l]);for(var s in u)o.call(u,s)&&(c[s]=u[s]);if(r){a=r(u);for(var f=0;f<a.length;f++)i.call(u,a[f])&&(c[a[f]]=u[a[f]])}}return c}},function(e,t,n){(function(t){"use strict";var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(4))},function(e,t,n){(function(t){"use strict";function n(e,t,n,o,i,u,a,c){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,i,u,a,c],f=0;l=new Error(t.replace(/%s/g,function(){return s[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var r=function(e){};"production"!==t.env.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(4))},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){(function(t){"use strict";"production"!==t.env.NODE_ENV&&function(){function t(e,t){var n=e.constructor;L(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op.\n\nPlease check the code for the %s component.",t,t,n&&(n.displayName||n.name)||"ReactClass")}function r(e,t,n){this.props=e,this.context=t,this.refs=F,this.updater=n||z}function o(e,t,n){this.props=e,this.context=t,this.refs=F,this.updater=n||z}function i(){}function u(e,t,n){this.props=e,this.context=t,this.refs=F,this.updater=n||z}function a(e){if(oe.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function c(e){if(oe.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function l(e,t){var n=function(){Z||(Z=!0,ie(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function s(e,t){var n=function(){ee||(ee=!0,ie(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}function f(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function p(e){return(""+e).replace(Se,"$&/")}function y(e,t,n,r){if(Re.length){var o=Re.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function d(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,Re.length<Pe&&Re.push(e)}function h(e,t,n,r){var o=typeof e;if("undefined"!==o&&"boolean"!==o||(e=null),null===e||"string"===o||"number"===o||"object"===o&&e.$$typeof===ke)return n(r,e,""===t?je+v(e,0):t),1;var i,u,a=0,c=""===t?je:t+Ce;if(Array.isArray(e))for(var l=0;l<e.length;l++)i=e[l],u=c+v(i,l),a+=h(i,u,n,r);else{var s=Ee&&e[Ee]||e[we];if("function"==typeof s){s===e.entries&&(be(xe,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",Oe()),xe=!0);for(var f,p=s.call(e),y=0;!(f=p.next()).done;)i=f.value,u=c+v(i,y++),a+=h(i,u,n,r)}else if("object"===o){var d="";d=" If you meant to render a collection of children, use an array instead."+Oe();var m=""+e;q(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===m?"object with keys {"+Object.keys(e).join(", ")+"}":m,d)}}return a}function m(e,t,n){return null==e?0:h(e,"",t,n)}function v(e,t){return"object"==typeof e&&null!==e&&null!=e.key?f(e.key):t.toString(36)}function g(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function b(e,t,n){if(null==e)return e;var r=y(null,null,t,n);m(e,g,r),d(r)}function _(e,t,n){var r=e.result,o=e.keyPrefix,i=e.func,u=e.context,a=i.call(u,t,e.count++);Array.isArray(a)?O(a,r,n,V.thatReturnsArgument):null!=a&&(le.isValidElement(a)&&(a=le.cloneAndReplaceKey(a,o+(!a.key||t&&t.key===a.key?"":p(a.key)+"/")+n)),r.push(a))}function O(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var u=y(t,i,r,o);m(e,_,u),d(u)}function E(e,t,n){if(null==e)return e;var r=[];return O(e,r,null,t,n),r}function w(e,t){return m(e,V.thatReturnsNull,null)}function k(e){var t=[];return O(e,t,null,V.thatReturnsArgument),t}function j(e){return le.isValidElement(e)||q(!1,"React.Children.only expected to receive a single React element child."),e}function C(e){if("function"==typeof e.getName){return e.getName()}if("number"==typeof e.tag){var t=e,n=t.type;if("string"==typeof n)return n;if("function"==typeof n)return n.displayName||n.name}return null}function x(){if(re.current){var e=Ve(re.current);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function S(e){if(null!==e&&void 0!==e&&void 0!==e.__source){var t=e.__source;return"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+"."}return""}function P(e){var t=x();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}function R(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=P(t);if(!Ke[n]){Ke[n]=!0;var r="";e&&e._owner&&e._owner!==re.current&&(r=" It was passed a child from "+Ve(e._owner)+"."),Be=e,Fe(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',n,r,We()),Be=null}}}function A(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];le.isValidElement(r)&&R(r,t)}else if(le.isValidElement(e))e._store&&(e._store.validated=!0);else if(e){var o=ze&&e[ze]||e[Ye];if("function"==typeof o&&o!==e.entries)for(var i,u=o.call(e);!(i=u.next()).done;)le.isValidElement(i.value)&&R(i.value,t)}}function D(e){var t=e.type;if("function"==typeof t){var n=t.displayName||t.name,r=t.propTypes;r&&(Be=e,Me(r,e.props,"prop",n,We),Be=null),"function"==typeof t.getDefaultProps&&Fe(t.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function I(e){var t=Function.prototype.toString,n=RegExp("^"+t.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var r=t.call(e);return n.test(r)}catch(e){return!1}}function N(e){var t=pe(e);if(t){var n=t.childIDs;ye(e),n.forEach(N)}}function T(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function M(e){var t=it.getDisplayName(e),n=it.getElement(e),r=it.getOwnerID(e),o=void 0;return r&&(o=it.getDisplayName(r)),Ge(n,"ReactComponentTreeHook: Missing React element for debugID %s when building stack",e),Ne(t||"",n&&n._source,o||"")}var U=n(6),$=n(11),F=n(7),q=n(8),V=n(9),B=n(12),L=$,W={isMounted:function(e){return!1},enqueueForceUpdate:function(e,n,r){t(e,"forceUpdate")},enqueueReplaceState:function(e,n,r,o){t(e,"replaceState")},enqueueSetState:function(e,n,r,o){t(e,"setState")}},z=W,Y=function(){},K=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.warn(i);try{throw new Error(i)}catch(e){}};Y=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];K.apply(void 0,[t].concat(r))}};var H=Y;r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&q(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var J={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(var G in J)J.hasOwnProperty(G)&&function(e,t){Object.defineProperty(r.prototype,e,{get:function(){H(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}(G,J[G]);i.prototype=r.prototype;var Q=o.prototype=new i;Q.constructor=o,U(Q,r.prototype),Q.isPureReactComponent=!0;var X=u.prototype=new i;X.constructor=u,U(X,r.prototype),X.unstable_isAsyncReactComponent=!0,X.render=function(){return this.props.children};var Z,ee,te={Component:r,PureComponent:o,AsyncComponent:u},ne={current:null},re=ne,oe=Object.prototype.hasOwnProperty,ie=$,ue="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ae={key:!0,ref:!0,__self:!0,__source:!0},ce=function(e,t,n,r,o,i,u){var a={$$typeof:ue,type:e,key:t,ref:n,props:u,_owner:i};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};ce.createElement=function(e,t,n){var r,o={},i=null,u=null,f=null,p=null;if(null!=t){a(t)&&(u=t.ref),c(t)&&(i=""+t.key),f=void 0===t.__self?null:t.__self,p=void 0===t.__source?null:t.__source;for(r in t)oe.call(t,r)&&!ae.hasOwnProperty(r)&&(o[r]=t[r])}var y=arguments.length-2;if(1===y)o.children=n;else if(y>1){for(var d=Array(y),h=0;h<y;h++)d[h]=arguments[h+2];Object.freeze&&Object.freeze(d),o.children=d}if(e&&e.defaultProps){var m=e.defaultProps;for(r in m)void 0===o[r]&&(o[r]=m[r])}if((i||u)&&(void 0===o.$$typeof||o.$$typeof!==ue)){var v="function"==typeof e?e.displayName||e.name||"Unknown":e;i&&l(o,v),u&&s(o,v)}return ce(e,i,u,f,p,re.current,o)},ce.createFactory=function(e){var t=ce.createElement.bind(null,e);return t.type=e,t},ce.cloneAndReplaceKey=function(e,t){return ce(e.type,t,e.ref,e._self,e._source,e._owner,e.props)},ce.cloneElement=function(e,t,n){var r,o=U({},e.props),i=e.key,u=e.ref,l=e._self,s=e._source,f=e._owner;if(null!=t){a(t)&&(u=t.ref,f=re.current),c(t)&&(i=""+t.key);var p;e.type&&e.type.defaultProps&&(p=e.type.defaultProps);for(r in t)oe.call(t,r)&&!ae.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==p?o[r]=p[r]:o[r]=t[r])}var y=arguments.length-2;if(1===y)o.children=n;else if(y>1){for(var d=Array(y),h=0;h<y;h++)d[h]=arguments[h+2];o.children=d}return ce(e.type,i,u,l,s,f,o)},ce.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ue};var le=ce,se={};se.getCurrentStack=null,se.getStackAddendum=function(){var e=se.getCurrentStack;return e?e():null};var fe,pe,ye,de,he,me,ve,ge=se,be=$,_e=ge,Oe=_e.getStackAddendum,Ee="function"==typeof Symbol&&Symbol.iterator,we="@@iterator",ke="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,je=".",Ce=":",xe=!1,Se=/\/+/g,Pe=10,Re=[],Ae={forEach:b,map:E,count:w,toArray:k},De=Ae,Ie=j,Ne=function(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")},Te=C,Me=B,Ue=H,$e=ge,Fe=$,qe=Ne,Ve=Te,Be=null,Le=function(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"},We=function(){var e="";if(Be){var t=Le(Be),n=Be._owner;e+=qe(t,Be._source,n&&Ve(n))}return e+=$e.getStackAddendum()||""},ze="function"==typeof Symbol&&Symbol.iterator,Ye="@@iterator",Ke={},He={createElement:function(e,t,n){var r="string"==typeof e||"function"==typeof e;if(!r){var o="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(o+=" You likely forgot to export your component from the file it's defined in.");var i=S(t);o+=i||x(),o+=$e.getStackAddendum()||"",Fe(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==e?e:typeof e,o)}var u=le.createElement.apply(this,arguments);if(null==u)return u;if(r)for(var a=2;a<arguments.length;a++)A(arguments[a],e);return D(u),u},createFactory:function(e){var t=He.createElement.bind(null,e);return t.type=e,Object.defineProperty(t,"type",{enumerable:!1,get:function(){return Ue(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},cloneElement:function(e,t,n){for(var r=le.cloneElement.apply(this,arguments),o=2;o<arguments.length;o++)A(arguments[o],r.type);return D(r),r}},Je=He,Ge=$,Qe="function"==typeof Array.from&&"function"==typeof Map&&I(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&I(Map.prototype.keys)&&"function"==typeof Set&&I(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&I(Set.prototype.keys);if(Qe){var Xe=new Map,Ze=new Set;fe=function(e,t){Xe.set(e,t)},pe=function(e){return Xe.get(e)},ye=function(e){Xe.delete(e)},de=function(){return Array.from(Xe.keys())},he=function(e){Ze.add(e)},me=function(e){Ze.delete(e)},ve=function(){return Array.from(Ze.keys())}}else{var et={},tt={},nt=function(e){return"."+e},rt=function(e){return parseInt(e.substr(1),10)};fe=function(e,t){var n=nt(e);et[n]=t},pe=function(e){var t=nt(e);return et[t]},ye=function(e){var t=nt(e);delete et[t]},de=function(){return Object.keys(et).map(rt)},he=function(e){var t=nt(e);tt[t]=!0},me=function(e){var t=nt(e);delete tt[t]},ve=function(){return Object.keys(tt).map(rt)}}var ot=[],it={onSetChildren:function(e,t){var n=pe(e);n||q(!1,"Item must have been set"),n.childIDs=t;for(var r=0;r<t.length;r++){var o=t[r],i=pe(o);i||q(!1,"Expected hook events to fire for the child before its parent includes it in onSetChildren()."),null==i.childIDs&&"object"==typeof i.element&&null!=i.element&&q(!1,"Expected onSetChildren() to fire for a container child before its parent includes it in onSetChildren()."),i.isMounted||q(!1,"Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren()."),null==i.parentID&&(i.parentID=e),i.parentID!==e&&q(!1,"Expected onBeforeMountComponent() parent and onSetChildren() to be consistent (%s has parents %s and %s).",o,i.parentID,e)}},onBeforeMountComponent:function(e,t,n){fe(e,{element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0})},onBeforeUpdateComponent:function(e,t){var n=pe(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=pe(e);t||q(!1,"Item must have been set"),t.isMounted=!0,0===t.parentID&&he(e)},onUpdateComponent:function(e){var t=pe(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=pe(e);if(t){t.isMounted=!1;0===t.parentID&&me(e)}ot.push(e)},purgeUnmountedComponents:function(){if(!it._preventPurging){for(var e=0;e<ot.length;e++){N(ot[e])}ot.length=0}},isMounted:function(e){var t=pe(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(){var e="",t=re.current;return t&&("number"==typeof t.tag&&q(!1,"Fiber owners should not show up in Stack stack traces."),"number"==typeof t._debugID&&(e+=it.getStackAddendumByID(t._debugID))),e},getStackAddendumByID:function(e){for(var t="";e;)t+=M(e),e=it.getParentID(e);return t},getChildIDs:function(e){var t=pe(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=it.getElement(e);return t?T(t):null},getElement:function(e){var t=pe(e);return t?t.element:null},getOwnerID:function(e){var t=it.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=pe(e);return t?t.parentID:null},getSource:function(e){var t=pe(e),n=t?t.element:null;return null!=n?n._source:null},getText:function(e){var t=it.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=pe(e);return t?t.updateCount:0},getRootIDs:ve,getRegisteredIDs:de},ut=it,at=le.createElement,ct=le.createFactory,lt=le.cloneElement,st=Je;at=st.createElement,ct=st.createFactory,lt=st.cloneElement;var ft={Children:{map:De.map,forEach:De.forEach,count:De.count,toArray:De.toArray,only:Ie},Component:te.Component,PureComponent:te.PureComponent,unstable_AsyncComponent:te.AsyncComponent,createElement:at,cloneElement:lt,isValidElement:le.isValidElement,createFactory:ct,version:"16.0.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:re,assign:U}};U(ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,{ReactComponentTreeHook:ut,ReactDebugCurrentFrame:ge});var pt=ft;e.exports=pt}()}).call(t,n(4))},function(e,t,n){(function(t){"use strict";var r=n(9),o=r;if("production"!==t.env.NODE_ENV){var i=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];i.apply(void 0,[t].concat(r))}}}e.exports=o}).call(t,n(4))},function(e,t,n){(function(t){"use strict";function r(e,n,r,c,l){if("production"!==t.env.NODE_ENV)for(var s in e)if(e.hasOwnProperty(s)){var f;try{o("function"==typeof e[s],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",c||"React class",r,s,typeof e[s]),f=e[s](n,s,c,r,null,u)}catch(e){f=e}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",r,s,typeof f),f instanceof Error&&!(f.message in a)){a[f.message]=!0;var p=l?l():"";i(!1,"Failed %s type: %s%s",r,f.message,null!=p?p:"")}}}if("production"!==t.env.NODE_ENV)var o=n(8),i=n(11),u=n(13),a={};e.exports=r}).call(t,n(4))},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){var r,o;r=[n,t,n(17)],void 0!==(o=function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n)}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r,o,i=this&&this.__extends||function(){var e=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])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();r=[n,t,n(3),n(14),n(15)],void 0!==(o=function(e,t,n,r,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=t,n}return i(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("input",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.CheckBox);t.CheckBoxComponent=u,o.applyMixins(u,[o.ComponentBase,n.PureComponent])}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r,o;r=[n,t,n(19)],void 0!==(o=function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n)}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r,o,i=this&&this.__extends||function(){var e=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])};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();r=[n,t,n(3),n(14),n(15)],void 0!==(o=function(e,t,n,r,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var u=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.state=t,n}return i(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("input",this.getDefaultAttributes(),this.props.children);e.prototype.render.call(this),this.initRenderCalled=!0},t}(r.RadioButton);t.RadioButtonComponent=u,o.applyMixins(u,[o.ComponentBase,n.PureComponent])}.apply(t,r))&&(e.exports=o)}])}); | ||
//# sourceMappingURL=ej2-react-buttons.umd.min.js.map |
{ | ||
"name": "@syncfusion/ej2-react-buttons", | ||
"version": "1.0.19", | ||
"version": "1.0.22", | ||
"description": "Essential JS 2 Button Components for React", | ||
@@ -20,8 +20,6 @@ "author": "Syncfusion Inc.", | ||
"awesome-typescript-loader": "^3.1.3", | ||
"react": "^15.5.4", | ||
"react-dom": "^15.5.4", | ||
"source-map-loader": "^0.2.1", | ||
"@syncfusion/ej2-base": "^1.0.19", | ||
"@syncfusion/ej2-react-base": "^1.0.14", | ||
"@syncfusion/ej2-buttons": "^1.0.19" | ||
"@syncfusion/ej2-base": "^1.0.22", | ||
"@syncfusion/ej2-react-base": "^1.0.22", | ||
"@syncfusion/ej2-buttons": "^1.0.22" | ||
}, | ||
@@ -28,0 +26,0 @@ "devDependencies": { |
@@ -7,5 +7,7 @@ # Overview | ||
* [Button Demo](http://ej2.syncfusion.com/react/demos/#/button/default) | ||
* [Button Documentation](http://ej2.syncfusion.com/react/documentation/button/getting-started.html) | ||
* [CheckBox Demo](http://ej2.syncfusion.com/react/demos/#/button/check-box) | ||
* [CheckBox Documentation](http://ej2.syncfusion.com/react/documentation/check-box/getting-started.html) | ||
* [Button Demo](http://ej2.syncfusion.com/react/demos/#/material/button/default) | ||
* [Button Documentation](http://ej2.syncfusion.com/react/documentation/button) | ||
* [CheckBox Demo](http://ej2.syncfusion.com/react/demos/#/material/button/check-box) | ||
* [CheckBox Documentation](http://ej2.syncfusion.com/react/documentation/check-box) | ||
* [RadioButton Demo](http://ej2.syncfusion.com/react/demos/#/material/button/radio-button) | ||
* [RadioButton Documentation](http://ej2.syncfusion.com/react/documentation/radio-button) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2591366
5
20474
+ Addedreact@16.0.0(transitive)
+ Addedreact-dom@16.0.0(transitive)
- Removedreact@^15.5.4
- Removedreact-dom@^15.5.4
- Removedcreate-react-class@15.7.0(transitive)
- Removedreact@15.7.0(transitive)
- Removedreact-dom@15.7.0(transitive)
Updated@syncfusion/ej2-base@^1.0.22