Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-react-base

Package Overview
Dependencies
Maintainers
2
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-react-base - npm Package Compare versions

Comparing version 15.4.20 to 15.4.23

CHANGELOG.md

4

dist/ej2-react-base.umd.min.js
/*!
* filename: ej2-react-base.umd.min.js
* version : 15.4.20
* version : 15.4.23
* 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("react-dom"),require("@syncfusion/ej2-base"));else if("function"==typeof define&&define.amd)define(["react","react-dom","@syncfusion/ej2-base"],e);else{var r="object"==typeof exports?e(require("react"),require("react-dom"),require("@syncfusion/ej2-base")):e(t.react,t["react-dom"],t["@syncfusion/ej2-base"]);for(var o in r)("object"==typeof exports?exports:t)[o]=r[o]}}(this,function(t,e,r){return function(t){function e(o){if(r[o])return r[o].exports;var n=r[o]={exports:{},id:o,loaded:!1};return t[o].call(n.exports,n,n.exports,e),n.loaded=!0,n.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){var o,n;o=[r,e,r(1),r(5),r(6),r(7)],void 0!==(n=function(t,e,r,o,n,i){"use strict";function s(t){for(var r in t)e.hasOwnProperty(r)||(e[r]=t[r])}Object.defineProperty(e,"__esModule",{value:!0}),s(r),s(o),s(n),s(i)}.apply(e,o))&&(t.exports=n)},function(t,e,r){var o,n,i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();o=[r,e,r(2),r(3),r(4)],void 0!==(n=function(t,e,r,o,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s=["alt","className","disabled","form","id","readOnly","style","tabIndex","title","type","onClick","onFocus","onBlur"],p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.componentWillMount=function(){var t=Object.keys(this.props);this.htmlattributes={};for(var e=s.concat(this.controlAttributes||[]),r=0,o=t;r<o.length;r++){var n=o[r];-1===n.indexOf("data-")&&-1===n.indexOf("aria-")&&-1===e.indexOf(n)||(this.htmlattributes[n]=this.props[n])}},e.prototype.componentDidMount=function(){this.refreshChild(!0);var t=o.findDOMNode(this);this.appendTo(t)},e.prototype.componentWillReceiveProps=function(t){this.setState(t),this.setProperties(t),this.refreshChild(!1,t)},e.prototype.getDefaultAttributes=function(){return this.htmlattributes},e.prototype.refreshChild=function(t,e){if(this.checkInjectedModules){for(var r=this.getInjectedModules()||[],o=this.getInjectedServices()||[],n=0,i=o;n<i.length;n++){var s=i[n];-1===r.indexOf(s)&&r.push(s)}this.injectedModules=r}if(this.directivekeys){var p=this.validateChildren({},this.directivekeys,e||this.props);if(p){if(!t&&this.skipRefresh)for(var c=0,u=this.skipRefresh;c<u.length;c++){var f=u[c];delete p[f]}this.setProperties(p,t)}}},e.prototype.componentWillUnmount=function(){this.destroy()},e.prototype.validateChildren=function(t,e,o){for(var n=!1,i=r.Children.toArray(o.children),s=0,p=i;s<p.length;s++){var c=p[s],u=this.getChildType(c),f=e[u];if(u&&e){var a=this.getChildProps(r.Children.toArray(c.props.children),f);a.length&&(n=!0,t[c.type.propertyName||u]=a)}}return n?t:null},e.prototype.getChildType=function(t){return t.type&&t.type.isDirective?t.type.moduleName||"":""},e.prototype.getChildProps=function(t,e){for(var r=[],o=0,i=t;o<i.length;o++){var s=i[o],p=!1,c=void 0;"string"==typeof e?(p=!0,c=e):c=Object.keys(e)[0];var u=s.props;this.getChildType(s)===c&&(p||!u.children?r.push(u):r.push(this.validateChildren(n.extend({},u),e[c],u)||u))}return r},e.prototype.getInjectedServices=function(){for(var t=r.Children.toArray(this.props.children),e=0,o=t;e<o.length;e++){var n=o[e];if(n.type.isService)return n.props.services}return[]},e}(r.PureComponent);e.ComponentBase=p}.apply(e,o))&&(t.exports=n)},function(e,r){e.exports=t},function(t,r){t.exports=e},function(t,e){t.exports=r},function(t,e,r){var o,n;o=[r,e],void 0!==(n=function(t,e){"use strict";function r(t,e){e.forEach(function(e){Object.getOwnPropertyNames(e.prototype).forEach(function(r){t.prototype[r]=e.prototype[r]})})}Object.defineProperty(e,"__esModule",{value:!0}),e.applyMixins=r}.apply(e,o))&&(t.exports=n)},function(t,e,r){var o,n,i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();o=[r,e,r(2)],void 0!==(n=function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(){return null},e.isDirective=!0,e}(r.PureComponent);e.ComplexBase=o}.apply(e,o))&&(t.exports=n)},function(t,e,r){var o,n,i=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}();o=[r,e,r(2)],void 0!==(n=function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(){return null},e.isService=!0,e}(r.PureComponent);e.Inject=o}.apply(e,o))&&(t.exports=n)}])});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("react-dom"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","react","react-dom","@syncfusion/ej2-base"],e):e(t.ej={},t.React,t.ReactDOM,t.ej2Base)}(this,function(t,e,r,o){"use strict";var n=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),i=["alt","className","disabled","form","id","readOnly","style","tabIndex","title","type","onClick","onFocus","onBlur"],p=function(t){function p(){return null!==t&&t.apply(this,arguments)||this}return n(p,t),p.prototype.componentWillMount=function(){var t=Object.keys(this.props);this.htmlattributes={};for(var e=i.concat(this.controlAttributes||[]),r=0,o=t;r<o.length;r++){var n=o[r];-1===n.indexOf("data-")&&-1===n.indexOf("aria-")&&-1===e.indexOf(n)||(this.htmlattributes[n]=this.props[n])}},p.prototype.componentDidMount=function(){this.refreshChild(!0);var t=r.findDOMNode(this);this.appendTo(t)},p.prototype.componentWillReceiveProps=function(t){this.setState(t),this.setProperties(t),this.refreshChild(!1,t)},p.prototype.getDefaultAttributes=function(){return this.htmlattributes},p.prototype.refreshChild=function(t,e){if(this.checkInjectedModules){for(var r=this.getInjectedModules()||[],o=0,n=this.getInjectedServices()||[];o<n.length;o++){var i=n[o];-1===r.indexOf(i)&&r.push(i)}this.injectedModules=r}if(this.directivekeys){var p=this.validateChildren({},this.directivekeys,e||this.props);if(p){if(!t&&this.skipRefresh)for(var s=0,c=this.skipRefresh;s<c.length;s++){delete p[c[s]]}this.setProperties(p,t)}}},p.prototype.componentWillUnmount=function(){this.destroy()},p.prototype.validateChildren=function(t,r,o){for(var n=!1,i=0,p=e.Children.toArray(o.children);i<p.length;i++){var s=p[i],c=this.getChildType(s),u=r[c];if(c&&r){var f=this.getChildProps(e.Children.toArray(s.props.children),u);f.length&&(n=!0,t[s.type.propertyName||c]=f)}}return n?t:null},p.prototype.getChildType=function(t){return t.type&&t.type.isDirective?t.type.moduleName||"":""},p.prototype.getChildProps=function(t,e){for(var r=[],n=0,i=t;n<i.length;n++){var p=i[n],s=!1,c=void 0;"string"==typeof e?(s=!0,c=e):c=Object.keys(e)[0];var u=p.props;this.getChildType(p)===c&&(s||!u.children?r.push(u):r.push(this.validateChildren(o.extend({},u),e[c],u)||u))}return r},p.prototype.getInjectedServices=function(){for(var t=0,r=e.Children.toArray(this.props.children);t<r.length;t++){var o=r[t];if(o.type.isService)return o.props.services}return[]},p}(e.PureComponent),s=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return s(e,t),e.prototype.render=function(){return null},e.isDirective=!0,e}(e.PureComponent),u=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])};return function(e,r){function o(){this.constructor=e}t(e,r),e.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)}}(),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.render=function(){return null},e.isService=!0,e}(e.PureComponent);t.ComponentBase=p,t.applyMixins=function(t,e){e.forEach(function(e){Object.getOwnPropertyNames(e.prototype).forEach(function(r){t.prototype[r]=e.prototype[r]})})},t.ComplexBase=c,t.Inject=f,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-react-base.umd.min.js.map
{
"name": "@syncfusion/ej2-react-base",
"version": "15.4.20",
"version": "15.4.23",
"description": "Essential JS 2 React Base",

@@ -20,3 +20,4 @@ "author": "Syncfusion Inc.",

},
"module": "dist/es6/index.js",
"main": "./dist/ej2-react-base.umd.min.js",
"module": "./dist/es6/ej2-react-base.es5.js",
"readme": "ReadMe.md",

@@ -28,3 +29,3 @@ "dependencies": {

"source-map-loader": "^0.2.1",
"@syncfusion/ej2-base": "^15.4.20"
"@syncfusion/ej2-base": "^15.4.23"
},

@@ -31,0 +32,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc