@syncfusion/ej2-react-buttons
Advanced tools
Comparing version 17.2.48-beta to 17.2.49-beta
@@ -54,3 +54,3 @@ # Changelog | ||
- Flat button text is not visible in bootstrap theme issue is fixed. | ||
- Flat button text is not visible in bootstrap theme issue is fixed.. | ||
@@ -57,0 +57,0 @@ ## 16.4.40-beta (2018-12-10) |
@@ -1,11 +0,2 @@ | ||
/*! | ||
* filename: ej2-react-buttons.umd.min.js | ||
* version : 17.2.48-beta | ||
* Copyright Syncfusion Inc. 2001 - 2019. 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-buttons"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-buttons","@syncfusion/ej2-react-base"],e):e(t.ej={},t.React,t.ej2Buttons,t.ej2ReactBase)}(this,function(t,e,n,r){"use strict";var o=function(){var t=function(e,n){return(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])})(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)}}(),i=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n}return o(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return e.createElement("button",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Button);r.applyMixins(i,[r.ComponentBase,e.PureComponent]);var c=function(){var t=function(e,n){return(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])})(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)}}(),u=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n}return c(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return e.createElement("input",this.getDefaultAttributes());t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.CheckBox);r.applyMixins(u,[r.ComponentBase,e.PureComponent]);var p=function(){var t=function(e,n){return(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])})(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)}}(),s=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n}return p(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return e.createElement("input",this.getDefaultAttributes());t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.RadioButton);r.applyMixins(s,[r.ComponentBase,e.PureComponent]);var a=function(){var t=function(e,n){return(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])})(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)}}(),f=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n}return a(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return e.createElement("input",this.getDefaultAttributes());t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Switch);r.applyMixins(f,[r.ComponentBase,e.PureComponent]);var l=function(){var t=function(e,n){return(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])})(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)}}(),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.moduleName="chip",e}(r.ComplexBase),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.propertyName="chips",e.moduleName="chips",e}(r.ComplexBase),y=function(){var t=function(e,n){return(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])})(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)}}(),_=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={chips:"chip"},n.immediateRender=!1,n}return y(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return e.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.ChipList);r.applyMixins(_,[r.ComponentBase,e.PureComponent]),t.ButtonComponent=i,t.CheckBoxComponent=u,t.RadioButtonComponent=s,t.SwitchComponent=f,t.ChipDirective=h,t.ChipsDirective=d,t.ChipListComponent=_,Object.keys(n).forEach(function(e){t[e]=n[e]}),Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("@syncfusion/ej2-buttons"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-buttons","@syncfusion/ej2-react-base"],e):e(t.ej={},t.React,t.ej2Buttons,t.ej2ReactBase)}(this,function(t,e,n,r){"use strict";var o=function(){var t=function(e,n){return(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])})(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)}}(),i=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return o(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("button",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Button);r.applyMixins(i,[r.ComponentBase,e.Component]);var c=function(){var t=function(e,n){return(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])})(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)}}(),s=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return c(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,e.createElement("input",this.getDefaultAttributes()),e.createElement(e.Fragment,null,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.CheckBox);r.applyMixins(s,[r.ComponentBase,e.Component]);var a=function(){var t=function(e,n){return(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])})(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)}}(),p=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return a(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,e.createElement("input",this.getDefaultAttributes()),e.createElement(e.Fragment,null,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.RadioButton);r.applyMixins(p,[r.ComponentBase,e.Component]);var u=function(){var t=function(e,n){return(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])})(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)}}(),l=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.immediateRender=!0,n.portals=[],n}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement(e.Fragment,null,e.createElement("input",this.getDefaultAttributes()),e.createElement(e.Fragment,null,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.Switch);r.applyMixins(l,[r.ComponentBase,e.Component]);var f=function(){var t=function(e,n){return(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])})(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)}}(),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.moduleName="chip",e}(r.ComplexBase),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.propertyName="chips",e.moduleName="chips",e}(r.ComplexBase),y=function(){var t=function(e,n){return(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])})(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)}}(),m=function(t){function n(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!1,n.directivekeys={chips:"chip"},n.immediateRender=!1,n.portals=[],n}return y(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(n.ChipList);r.applyMixins(m,[r.ComponentBase,e.Component]),t.ButtonComponent=i,t.CheckBoxComponent=s,t.RadioButtonComponent=p,t.SwitchComponent=l,t.ChipDirective=h,t.ChipsDirective=d,t.ChipListComponent=m,Object.keys(n).forEach(function(e){t[e]=n[e]}),Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-react-buttons.umd.min.js.map |
@@ -1,2 +0,2 @@ | ||
import { PureComponent, createElement } from 'react'; | ||
import { Component, Fragment, createElement } from 'react'; | ||
import { Button, CheckBox, ChipList, RadioButton, Switch } from '@syncfusion/ej2-buttons'; | ||
@@ -17,5 +17,6 @@ import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base'; | ||
this.immediateRender = true; | ||
this.portals = []; | ||
} | ||
render() { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
super.render(); | ||
@@ -25,7 +26,7 @@ this.initRenderCalled = true; | ||
else { | ||
return createElement('button', this.getDefaultAttributes(), this.props.children); | ||
return createElement('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals)); | ||
} | ||
} | ||
} | ||
applyMixins(ButtonComponent, [ComponentBase, PureComponent]); | ||
applyMixins(ButtonComponent, [ComponentBase, Component]); | ||
@@ -44,5 +45,6 @@ /** | ||
this.immediateRender = true; | ||
this.portals = []; | ||
} | ||
render() { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
super.render(); | ||
@@ -52,7 +54,7 @@ this.initRenderCalled = true; | ||
else { | ||
return createElement('input', this.getDefaultAttributes()); | ||
return createElement(Fragment, null, createElement("input", this.getDefaultAttributes()), createElement(Fragment, null, this.portals)); | ||
} | ||
} | ||
} | ||
applyMixins(CheckBoxComponent, [ComponentBase, PureComponent]); | ||
applyMixins(CheckBoxComponent, [ComponentBase, Component]); | ||
@@ -71,5 +73,6 @@ /** | ||
this.immediateRender = true; | ||
this.portals = []; | ||
} | ||
render() { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
super.render(); | ||
@@ -79,7 +82,7 @@ this.initRenderCalled = true; | ||
else { | ||
return createElement('input', this.getDefaultAttributes()); | ||
return createElement(Fragment, null, createElement("input", this.getDefaultAttributes()), createElement(Fragment, null, this.portals)); | ||
} | ||
} | ||
} | ||
applyMixins(RadioButtonComponent, [ComponentBase, PureComponent]); | ||
applyMixins(RadioButtonComponent, [ComponentBase, Component]); | ||
@@ -98,5 +101,6 @@ /** | ||
this.immediateRender = true; | ||
this.portals = []; | ||
} | ||
render() { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
super.render(); | ||
@@ -106,7 +110,7 @@ this.initRenderCalled = true; | ||
else { | ||
return createElement('input', this.getDefaultAttributes()); | ||
return createElement(Fragment, null, createElement("input", this.getDefaultAttributes()), createElement(Fragment, null, this.portals)); | ||
} | ||
} | ||
} | ||
applyMixins(SwitchComponent, [ComponentBase, PureComponent]); | ||
applyMixins(SwitchComponent, [ComponentBase, Component]); | ||
@@ -145,5 +149,6 @@ /** | ||
this.immediateRender = false; | ||
this.portals = []; | ||
} | ||
render() { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
super.render(); | ||
@@ -153,7 +158,7 @@ this.initRenderCalled = true; | ||
else { | ||
return createElement('div', this.getDefaultAttributes(), this.props.children); | ||
return createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals)); | ||
} | ||
} | ||
} | ||
applyMixins(ChipListComponent, [ComponentBase, PureComponent]); | ||
applyMixins(ChipListComponent, [ComponentBase, Component]); | ||
@@ -160,0 +165,0 @@ export { ButtonComponent, CheckBoxComponent, RadioButtonComponent, SwitchComponent, ChipDirective, ChipsDirective, ChipListComponent }; |
132
package.json
{ | ||
"_from": "@syncfusion/ej2-react-buttons@*", | ||
"_id": "@syncfusion/ej2-react-buttons@17.1.1", | ||
"_inBundle": false, | ||
"_integrity": "sha512-wZELF+PuoeSyli2q1lcGFzpQj3YfJ8cCp4YbYunkpLHFvuNZRMxHUy1aCULUW/QZRUCcw3YczNQPZnL8VJb6ug==", | ||
"_location": "/@syncfusion/ej2-react-buttons", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "range", | ||
"registry": true, | ||
"raw": "@syncfusion/ej2-react-buttons@*", | ||
"name": "@syncfusion/ej2-react-buttons", | ||
"escapedName": "@syncfusion%2fej2-react-buttons", | ||
"scope": "@syncfusion", | ||
"rawSpec": "*", | ||
"saveSpec": null, | ||
"fetchSpec": "*" | ||
}, | ||
"_requiredBy": [ | ||
"/" | ||
], | ||
"_resolved": "http://nexus.syncfusion.com/repository/ej2-production/@syncfusion/ej2-react-buttons/-/ej2-react-buttons-17.1.1.tgz", | ||
"_shasum": "4e365d00d21a67fb72640c60c2e6689a3a525e28", | ||
"_spec": "@syncfusion/ej2-react-buttons@*", | ||
"_where": "/jenkins/workspace/ation_hotfix_16.4.0.42_Vol4-CJVRBFC7Z7RSISPRJNEMNQSRMCB6XTG67IJD6R2DVNXFIKQEITTQ/packages/included", | ||
"author": { | ||
"name": "Syncfusion Inc." | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/syncfusion/ej2-react-ui-components/issues" | ||
}, | ||
"bundleDependencies": false, | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "17.2.48-beta", | ||
"@syncfusion/ej2-buttons": "17.2.48-beta", | ||
"@syncfusion/ej2-react-base": "17.2.48-beta" | ||
}, | ||
"deprecated": false, | ||
"description": "A package of feature-rich Essential JS 2 components such as Button, CheckBox, RadioButton and Switch. for React", | ||
"devDependencies": {}, | ||
"es2015": "dist/es6/ej2-react-buttons.es2015.js", | ||
"homepage": "https://github.com/syncfusion/ej2-react-ui-components#readme", | ||
"keywords": [ | ||
"ej2", | ||
"syncfusion", | ||
"ej2-buttons", | ||
"button", | ||
"ej2 button", | ||
"checkbox", | ||
"ej2 checkbox", | ||
"checkboxes", | ||
"radio button", | ||
"radiobutton", | ||
"radiobuttons", | ||
"ej2 radiobutton", | ||
"switch", | ||
"ej2 switch", | ||
"primary button", | ||
"flat button", | ||
"round button", | ||
"icon button", | ||
"togglebutton", | ||
"toggle button", | ||
"form control", | ||
"form controls", | ||
"input", | ||
"react", | ||
"reactjs", | ||
"ej2-react-buttons", | ||
"react-button", | ||
"react-checkbox", | ||
"react-radiobutton", | ||
"react-switch" | ||
], | ||
"license": "SEE LICENSE IN license", | ||
"main": "./dist/ej2-react-buttons.umd.min.js", | ||
"module": "./index.js", | ||
"name": "@syncfusion/ej2-react-buttons", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/syncfusion/ej2-react-ui-components.git" | ||
}, | ||
"version": "17.2.48-beta", | ||
"sideEffects": false | ||
"version": "17.2.49-beta", | ||
"description": "A package of feature-rich Essential JS 2 components such as Button, CheckBox, RadioButton and Switch. for React", | ||
"author": "Syncfusion Inc.", | ||
"license": "SEE LICENSE IN license", | ||
"keywords": [ | ||
"ej2", | ||
"syncfusion", | ||
"ej2-buttons", | ||
"button", | ||
"ej2 button", | ||
"checkbox", | ||
"ej2 checkbox", | ||
"checkboxes", | ||
"radio button", | ||
"radiobutton", | ||
"radiobuttons", | ||
"ej2 radiobutton", | ||
"switch", | ||
"ej2 switch", | ||
"primary button", | ||
"flat button", | ||
"round button", | ||
"icon button", | ||
"togglebutton", | ||
"toggle button", | ||
"form control", | ||
"form controls", | ||
"input", | ||
"react", | ||
"reactjs", | ||
"ej2-react-buttons", | ||
"react-button", | ||
"react-checkbox", | ||
"react-radiobutton", | ||
"react-switch" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/syncfusion/ej2-react-ui-components.git" | ||
}, | ||
"main": "./dist/ej2-react-buttons.umd.min.js", | ||
"module": "./index.js", | ||
"es2015": "dist/es6/ej2-react-buttons.es2015.js", | ||
"readme": "ReadMe.md", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "17.2.49-beta", | ||
"@syncfusion/ej2-react-base": "17.2.49-beta", | ||
"@syncfusion/ej2-buttons": "17.2.49-beta" | ||
}, | ||
"devDependencies": {} | ||
} |
@@ -24,2 +24,3 @@ import * as React from 'react'; | ||
context: Object; | ||
portals: any; | ||
isReactComponent: Object; | ||
@@ -26,0 +27,0 @@ refs: { |
@@ -30,6 +30,7 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.immediateRender = true; | ||
_this.portals = []; | ||
return _this; | ||
} | ||
ButtonComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
_super.prototype.render.call(this); | ||
@@ -39,3 +40,3 @@ this.initRenderCalled = true; | ||
else { | ||
return React.createElement('button', this.getDefaultAttributes(), this.props.children); | ||
return React.createElement('button', this.getDefaultAttributes(), [].concat(this.props.children, this.portals)); | ||
} | ||
@@ -46,2 +47,2 @@ }; | ||
export { ButtonComponent }; | ||
applyMixins(ButtonComponent, [ComponentBase, React.PureComponent]); | ||
applyMixins(ButtonComponent, [ComponentBase, React.Component]); |
@@ -24,2 +24,3 @@ import * as React from 'react'; | ||
context: Object; | ||
portals: any; | ||
isReactComponent: Object; | ||
@@ -26,0 +27,0 @@ refs: { |
@@ -30,6 +30,7 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.immediateRender = true; | ||
_this.portals = []; | ||
return _this; | ||
} | ||
CheckBoxComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
_super.prototype.render.call(this); | ||
@@ -39,3 +40,3 @@ this.initRenderCalled = true; | ||
else { | ||
return React.createElement('input', this.getDefaultAttributes()); | ||
return React.createElement(React.Fragment, null, React.createElement("input", this.getDefaultAttributes()), React.createElement(React.Fragment, null, this.portals)); | ||
} | ||
@@ -46,2 +47,2 @@ }; | ||
export { CheckBoxComponent }; | ||
applyMixins(CheckBoxComponent, [ComponentBase, React.PureComponent]); | ||
applyMixins(CheckBoxComponent, [ComponentBase, React.Component]); |
@@ -27,2 +27,3 @@ import * as React from 'react'; | ||
context: Object; | ||
portals: any; | ||
isReactComponent: Object; | ||
@@ -29,0 +30,0 @@ refs: { |
@@ -31,6 +31,7 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.immediateRender = false; | ||
_this.portals = []; | ||
return _this; | ||
} | ||
ChipListComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
_super.prototype.render.call(this); | ||
@@ -40,3 +41,3 @@ this.initRenderCalled = true; | ||
else { | ||
return React.createElement('div', this.getDefaultAttributes(), this.props.children); | ||
return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals)); | ||
} | ||
@@ -47,2 +48,2 @@ }; | ||
export { ChipListComponent }; | ||
applyMixins(ChipListComponent, [ComponentBase, React.PureComponent]); | ||
applyMixins(ChipListComponent, [ComponentBase, React.Component]); |
@@ -24,2 +24,3 @@ import * as React from 'react'; | ||
context: Object; | ||
portals: any; | ||
isReactComponent: Object; | ||
@@ -26,0 +27,0 @@ refs: { |
@@ -30,6 +30,7 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.immediateRender = true; | ||
_this.portals = []; | ||
return _this; | ||
} | ||
RadioButtonComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
_super.prototype.render.call(this); | ||
@@ -39,3 +40,3 @@ this.initRenderCalled = true; | ||
else { | ||
return React.createElement('input', this.getDefaultAttributes()); | ||
return React.createElement(React.Fragment, null, React.createElement("input", this.getDefaultAttributes()), React.createElement(React.Fragment, null, this.portals)); | ||
} | ||
@@ -46,2 +47,2 @@ }; | ||
export { RadioButtonComponent }; | ||
applyMixins(RadioButtonComponent, [ComponentBase, React.PureComponent]); | ||
applyMixins(RadioButtonComponent, [ComponentBase, React.Component]); |
@@ -24,2 +24,3 @@ import * as React from 'react'; | ||
context: Object; | ||
portals: any; | ||
isReactComponent: Object; | ||
@@ -26,0 +27,0 @@ refs: { |
@@ -30,6 +30,7 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.immediateRender = true; | ||
_this.portals = []; | ||
return _this; | ||
} | ||
SwitchComponent.prototype.render = function () { | ||
if ((this.element && !this.initRenderCalled) || this.refreshing) { | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
_super.prototype.render.call(this); | ||
@@ -39,3 +40,3 @@ this.initRenderCalled = true; | ||
else { | ||
return React.createElement('input', this.getDefaultAttributes()); | ||
return React.createElement(React.Fragment, null, React.createElement("input", this.getDefaultAttributes()), React.createElement(React.Fragment, null, this.portals)); | ||
} | ||
@@ -46,2 +47,2 @@ }; | ||
export { SwitchComponent }; | ||
applyMixins(SwitchComponent, [ComponentBase, React.PureComponent]); | ||
applyMixins(SwitchComponent, [ComponentBase, React.Component]); |
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
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
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
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
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
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
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
2922351
92043
1
3
6
+ Added@syncfusion/ej2-base@17.2.49-beta(transitive)
+ Added@syncfusion/ej2-buttons@17.2.49-beta(transitive)
+ Added@syncfusion/ej2-icons@17.2.49-beta(transitive)
+ Added@syncfusion/ej2-react-base@17.2.49-beta(transitive)
- Removed@syncfusion/ej2-base@17.2.48-beta(transitive)
- Removed@syncfusion/ej2-buttons@17.2.48-beta(transitive)
- Removed@syncfusion/ej2-icons@17.2.48-beta(transitive)
- Removed@syncfusion/ej2-react-base@17.2.48-beta(transitive)