@syncfusion/ej2-react-image-editor
Advanced tools
Comparing version 27.1.53 to 27.1.57
/*! | ||
* filename: ej2-react-image-editor.umd.min.js | ||
* version : 27.1.53 | ||
* version : 27.1.57 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -10,3 +10,3 @@ * Use of this code is subject to the terms of our license. | ||
*/ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-image-editor"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-image-editor","@syncfusion/ej2-react-base"],t):t((e=e||self).ej={},e.React,e.ej2ImageEditor,e.ej2ReactBase)}(this,function(t,e,n,r){"use strict";o=function(e,t){return(o=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 o,i,s=function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},s=(i=n.ImageEditor,s(c,i),c.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return e.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));i.prototype.render.call(this),this.initRenderCalled=!0},c);function c(e){e=i.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!1,e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.portals=[],e}r.applyMixins(s,[r.ComponentBase,e.Component]),Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),t.ImageEditorComponent=s,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-image-editor"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-image-editor","@syncfusion/ej2-react-base"],t):t((e=e||self).ej={},e.React,e.ej2ImageEditor,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.ImageEditor,s(c,i),c.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));i.prototype.render.call(this),this.initRenderCalled=!0},c);function c(e){e=i.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(s,[o.ComponentBase,e.Component]),Object.keys(n).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}),t.ImageEditorComponent=s,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=ej2-react-image-editor.umd.min.js.map |
@@ -20,5 +20,7 @@ import { createElement, Component } from 'react'; | ||
this.immediateRender = false; | ||
this.isReactMock = true; | ||
this.portals = []; | ||
} | ||
render() { | ||
this.isReactMock = false; | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
@@ -25,0 +27,0 @@ super.render(); |
{ | ||
"_from": "@syncfusion/ej2-react-image-editor@*", | ||
"_id": "@syncfusion/ej2-react-image-editor@27.1.52", | ||
"_id": "@syncfusion/ej2-react-image-editor@27.1.53", | ||
"_inBundle": false, | ||
"_integrity": "sha512-TjtBAnkpje6I1uZ8UsjBFx/cBjP5zbQu/Z0V2y/E7bn6RUto0yelMg7kLX19ME4lA9/zbPuaD/h+Pvzf8IXGow==", | ||
"_integrity": "sha512-RqacimM/xxoTzrFnvLRq0MyFASd7feVxMG0WI4iLbFt3fkj/PBMtHYmctbrvoQzkPgGiPf5SFwGMfDq/GIcT2g==", | ||
"_location": "/@syncfusion/ej2-react-image-editor", | ||
@@ -22,4 +22,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-image-editor/-/ej2-react-image-editor-27.1.52.tgz", | ||
"_shasum": "644579662d2f62ddc052d902fa245e26f3e72971", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-image-editor/-/ej2-react-image-editor-27.1.53.tgz", | ||
"_shasum": "5c057b2a80f64a982d622816c94d914e3ac7fe79", | ||
"_spec": "@syncfusion/ej2-react-image-editor@*", | ||
@@ -35,4 +35,4 @@ "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~27.1.53", | ||
"@syncfusion/ej2-image-editor": "27.1.53", | ||
"@syncfusion/ej2-base": "~27.1.55", | ||
"@syncfusion/ej2-image-editor": "27.1.57", | ||
"@syncfusion/ej2-react-base": "~27.1.50" | ||
@@ -60,4 +60,4 @@ }, | ||
}, | ||
"version": "27.1.53", | ||
"version": "27.1.57", | ||
"sideEffects": false | ||
} |
@@ -24,2 +24,3 @@ import * as React from 'react'; | ||
private immediateRender; | ||
private isReactMock; | ||
props: Readonly<{ | ||
@@ -26,0 +27,0 @@ children?: React.ReactNode | React.ReactNode[]; |
@@ -32,2 +32,3 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.immediateRender = false; | ||
_this.isReactMock = true; | ||
_this.portals = []; | ||
@@ -37,2 +38,3 @@ return _this; | ||
ImageEditorComponent.prototype.render = function () { | ||
this.isReactMock = false; | ||
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) { | ||
@@ -39,0 +41,0 @@ _super.prototype.render.call(this); |
Sorry, the diff of this file is too big to display
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
934697
2095
248
4
7
1
38
+ Added@syncfusion/ej2-image-editor@27.1.57(transitive)
- Removed@syncfusion/ej2-image-editor@27.1.53(transitive)