@syncfusion/ej2-react-documenteditor 21.1.37 → 21.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -6,25 +6,52 @@
6
6
 
7
7
  #### Bug Fixes
8
8
 
9
- - `#I438125` - Resolved the header issue when editing in different section format.
10
- - `#I439280` - Selection is now working properly in the paragraph with indentation.
11
- - `#I436536`, `#I435119` - Table and paragraph is not overlapped while loading the attached document.
12
- - `#I436445` - Resolved the overlapping issue while opening the document.
13
- - `#I446019` - Resolved the issue in opening "Dotx" format document.
9
+ - `#SF-442240` - Resolved the space issue while opening document.
10
+ - `#SF-446434` - Resolved the border rendering issue in first page.
11
+ - `#SF-442538` - Resolved the list number issue when updating table of contents.
12
+ - `#SF-443314` - Resolved the script errors while delete the content with track changes enabled.
13
+ - `#SF-444283` - Resolved the script error while loading mail merged document.
14
+ - `#SF-448042` - Resolved the Blank page created while printing with A5 paper.
15
+ - `#SF-434487` - Improved the cache logic in spell check for text with special character.
16
+
17
+ - `#SF-442240` - Resolved the space issue while opening document.
18
+ - `#SF-446434` - Resolved the border rendering issue in first page.
19
+ - `#SF-442538` - Resolved the list number issue when updating table of contents.
20
+ - `#SF-443314` - Resolved the script errors while delete the content with track changes enabled.
21
+ - `#SF-444283` - Resolved the script error while loading mail merged document.
22
+ - `#SF-448042` - Resolved the Blank page created while printing with A5 paper.
23
+ - `#SF-441437` - Resolved the dropdown form field items expanding issue.
14
24
 
15
- - `#425697` - Resolved the positioning and line spacing issue in shape document
25
+ #### New Features
16
26
 
17
- #### Breaking Changes
27
+ - `#SF-438580` - Added support for the event `beforeAcceptRejectChanges` to prevent accepting or rejecting tracked changes.
18
28
 
19
- - Starting from version v21.1.x, the SFDT file generated in Word Processor component is optimized by default to reduce the file size. Hence, the optimized SFDT files can't be directly manipulated as JSON string. Please refer the [documentation](https://ej2.syncfusion.com/react/documentation/document-editor/how-to/optimize-sfdt).
29
+ ## 21.1.38 (2023-04-04)
30
+
31
+ ### Document Editor
32
+
33
+ #### Bug Fixes
34
+
35
+ - `#SF-440282` - Resolved an error while trying to change font for whole document.
36
+ - `#SF-441499` - Resolved the script error while opening Document.
37
+ - `#SF-438842` - Header/Footer area are now resized based on the inserted image.
38
+ - `#SF-441437` - Resolved the dropdown form field items expanding issue.
20
39
 
21
40
  #### New Features
22
41
 
23
- - `#I249004`, `#I250933`, `#I256703`, `#I286287`, `#I290760`, `#I301513`, `#I313194`, `#I314827`, `#I316496`, `#I317964`, `#I320201`, `#I320872`, `#I327636`, `#I331310`, `#I333899`, `#I334058`, `#I334929`, `#I337202`, `#I341931`, `#I341953`, `#I345929`, `#I348344`, `#I349206`, `#I349683`, `#I349895`, `#I354081`, `#I356432` - Added support for continuous section break in DocumentEditor.
24
- - `#I422408`, `#I435125` - Optimized SFDT file to reduce the file size relative to a Docx file.
25
- - `#I330729`, `#I256794` - Added support to display bookmark start and end in DocumentEditor.
26
- - `#I333042`, `#I349829` - Added support disable the auto focus to DocumentEditor.
27
- - `#I175038` - Added API to modify the predefine styles in DocumentEditor.
42
+ - `#I418721` - Added API to auto resize when the Document editor became visible.
43
+
44
+ ## 21.1.37 (2023-03-29)
45
+
46
+ ### Document Editor
47
+
48
+ #### Bug Fixes
49
+
50
+ - `#I438125` - Resolved the header issue when editing in different section format.
51
+ - `#I439280` - Selection is now working properly in the paragraph with indentation.
52
+ - `#I436536`, `#I435119` - Table and paragraph is not overlapped while loading the attached document.
53
+ - `#I436445` - Resolved the overlapping issue while opening the document.
54
+ - `#I446019` - Resolved the issue in opening "Dotx" format document.
28
55
 
29
56
  ## 21.1.35 (2023-03-23)
30
57
 
@@ -34,6 +61,8 @@
34
61
 
35
62
  - Starting from version v21.1.x, the SFDT file generated in Word Processor component is optimized by default to reduce the file size. Hence, the optimized SFDT files can't be directly manipulated as JSON string. Please refer the [documentation](https://ej2.syncfusion.com/documentation/document-editor/how-to/optimize-sfdt).
36
63
 
64
+ - Starting from version v21.1.x, the SFDT file generated in Word Processor component is optimized by default to reduce the file size. Hence, the optimized SFDT files can't be directly manipulated as JSON string. Please refer the [documentation](https://ej2.syncfusion.com/react/documentation/document-editor/how-to/optimize-sfdt).
65
+
37
66
  #### Bug Fixes
38
67
 
39
68
  - `#425697` - Resolved the positioning and line spacing issue in shape document
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-documenteditor.min.js
3
- * version : 21.1.37
3
+ * version : 21.1.39
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionDocumenteditor"),require("SyncfusionReactBase"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionDocumenteditor","SyncfusionReactBase","React"],e):"object"==typeof exports?exports.SyncfusionReactDocumenteditor=e(require("SyncfusionDocumenteditor"),require("SyncfusionReactBase"),require("React")):t.SyncfusionReactDocumenteditor=e(t.SyncfusionDocumenteditor,t.SyncfusionReactBase,t.React)}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=7)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";var r=n(5);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(6);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(n.n(i),this&&this.__extends||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 e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DocumentEditorContainer);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(n.n(i),this&&this.__extends||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 e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DocumentEditor);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);n.d(e,"DocumentEditorComponent",function(){return r.a});var o=n(3);n.d(e,"DocumentEditorContainerComponent",function(){return o.a});var i=n(1);n.n(i);n.o(i,"Inject")&&n.d(e,"Inject",function(){return i.Inject});var c=n(0);n.n(c);for(var u in c)["DocumentEditorComponent","DocumentEditorContainerComponent","Inject","default"].indexOf(u)<0&&function(t){n.d(e,t,function(){return c[t]})}(u)}])});
10
+ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("SyncfusionDocumenteditor"),require("SyncfusionReactBase"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionDocumenteditor","SyncfusionReactBase","React"],e):"object"==typeof exports?exports.SyncfusionReactDocumenteditor=e(require("SyncfusionDocumenteditor"),require("SyncfusionReactBase"),require("React")):t.SyncfusionReactDocumenteditor=e(t.SyncfusionDocumenteditor,t.SyncfusionReactBase,t.React)}(this,function(t,e,n){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=7)}([function(e,n){e.exports=t},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e,n){"use strict";var r=n(5);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";var r=n(6);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(n.n(i),this&&this.__extends||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 e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DocumentEditorContainer);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n(2),o=(n.n(r),n(0)),i=(n.n(o),n(1)),c=(n.n(i),this&&this.__extends||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 e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return c(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.DocumentEditor);n.i(i.applyMixins)(u,[i.ComponentBase,r.Component])},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4);n.d(e,"DocumentEditorComponent",function(){return r.a});var o=n(3);n.d(e,"DocumentEditorContainerComponent",function(){return o.a});var i=n(1);n.n(i);n.o(i,"Inject")&&n.d(e,"Inject",function(){return i.Inject});var c=n(0);n.n(c);for(var u in c)["DocumentEditorComponent","DocumentEditorContainerComponent","Inject","default"].indexOf(u)<0&&function(t){n.d(e,t,function(){return c[t]})}(u)}])});
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-documenteditor.umd.min.js
3
- * version : 21.1.37
3
+ * version : 21.1.39
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-documenteditor"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-documenteditor","@syncfusion/ej2-react-base"],t):t(e.ej={},e.React,e.ej2Documenteditor,e.ej2ReactBase)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(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])})(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)}}(),i=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return o(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DocumentEditor);r.applyMixins(i,[r.ComponentBase,t.Component]);var c=function(){var e=function(t,n){return(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])})(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)}}(),s=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.immediateRender=!0,n.portals=[],n}return c(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DocumentEditorContainer);r.applyMixins(s,[r.ComponentBase,t.Component]),e.Inject=r.Inject,e.DocumentEditorComponent=i,e.DocumentEditorContainerComponent=s,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("@syncfusion/ej2-documenteditor"),require("@syncfusion/ej2-react-base")):"function"==typeof define&&define.amd?define(["exports","react","@syncfusion/ej2-documenteditor","@syncfusion/ej2-react-base"],t):t(e.ej={},e.React,e.ej2Documenteditor,e.ej2ReactBase)}(this,function(e,t,n,r){"use strict";var o=function(){var e=function(t,n){return(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])})(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)}}(),i=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return o(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DocumentEditor);r.applyMixins(i,[r.ComponentBase,t.Component]);var c=function(){var e=function(t,n){return(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])})(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)}}(),s=function(e){function n(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!0,n.portals=[],n}return c(n,e),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return t.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},n}(n.DocumentEditorContainer);r.applyMixins(s,[r.ComponentBase,t.Component]),e.Inject=r.Inject,e.DocumentEditorComponent=i,e.DocumentEditorContainerComponent=s,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-react-documenteditor.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-documenteditor.umd.min.js","sources":["../src/document-editor/documenteditor.component.js","../src/document-editor-container/documenteditorcontainer.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Document Editor Component\n * ```ts\n * <DocumentEditorComponent></DocumentEditorComponent>\n * ```\n */\nvar DocumentEditorComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorComponent, _super);\n function DocumentEditorComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DocumentEditorComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return DocumentEditorComponent;\n}(DocumentEditor));\nexport { DocumentEditorComponent };\napplyMixins(DocumentEditorComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Document Editor Container\n * ```ts\n * <DocumentEditorContainer></DocumentEditorContainer>\n * ```\n */\nvar DocumentEditorContainerComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorContainerComponent, _super);\n function DocumentEditorContainerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DocumentEditorContainerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return DocumentEditorContainerComponent;\n}(DocumentEditorContainer));\nexport { DocumentEditorContainerComponent };\napplyMixins(DocumentEditorContainerComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","DocumentEditorComponent","_super","props","_this","call","initRenderCalled","checkInjectedModules","statelessTemplateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","DocumentEditor","ej2ReactBase","ComponentBase","React.Component","DocumentEditorContainerComponent","DocumentEditorContainer"],"mappings":"6YAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxCK,EAAyC,SAAUC,GAEnD,SAASD,EAAwBE,GAC7B,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAMxC,OALAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,uBAAyB,KAC/BJ,EAAMK,iBAAkB,EACxBL,EAAMM,WACCN,EAWX,OAnBAlB,EAAUe,EAAyBC,GAUnCD,EAAwBF,UAAUY,OAAS,WACvC,KAAMd,KAAKe,UAAYf,KAA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eC"}
1
+ {"version":3,"file":"ej2-react-documenteditor.umd.min.js","sources":["../src/document-editor/documenteditor.component.js","../src/document-editor-container/documenteditorcontainer.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Document Editor Component\n * ```ts\n * <DocumentEditorComponent></DocumentEditorComponent>\n * ```\n */\nvar DocumentEditorComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorComponent, _super);\n function DocumentEditorComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DocumentEditorComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return DocumentEditorComponent;\n}(DocumentEditor));\nexport { DocumentEditorComponent };\napplyMixins(DocumentEditorComponent, [ComponentBase, React.Component]);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Document Editor Container\n * ```ts\n * <DocumentEditorContainer></DocumentEditorContainer>\n * ```\n */\nvar DocumentEditorContainerComponent = /** @class */ (function (_super) {\n __extends(DocumentEditorContainerComponent, _super);\n function DocumentEditorContainerComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = true;\n _this.portals = [];\n return _this;\n }\n DocumentEditorContainerComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return DocumentEditorContainerComponent;\n}(DocumentEditorContainer));\nexport { DocumentEditorContainerComponent };\napplyMixins(DocumentEditorContainerComponent, [ComponentBase, React.Component]);\n"],"names":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","DocumentEditorComponent","_super","props","_this","call","initRenderCalled","checkInjectedModules","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","DocumentEditor","ej2ReactBase","ComponentBase","React.Component","DocumentEditorContainerComponent","DocumentEditorContainer"],"mappings":"6YAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAA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,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxC4B,EAAkD,SAAUtB,GAE5D,SAASsB,EAAiCrB,GACtC,IAAIC,EAAQF,EAAOG,KAAKR,KAAMM,IAAUN,KAOxC,OANAO,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,uBAAyB,KAC/BJ,EAAMK,cAAgB,KACtBL,EAAMM,iBAAkB,EACxBN,EAAMO,WACCP,EAWX,OApBAlB,EAAUsC,EAAkCtB,GAW5CsB,EAAiCzB,UAAUa,OAAS,WAChD,KAAMf,KAAKgB,UAAYhB,KAAKS,kBAAqBT,KAAKiB,aAAgBjB,KAAKkB,oBAKvE,OAAOC,gBAAoB,MAAOnB,KAAKoB,0BAA2BC,OAAOrB,KAAKM,MAAMgB,SAAUtB,KAAKc,UAJnGT,EAAOH,UAAUa,OAAOP,KAAKR,MAC7BA,KAAKS,kBAAmB,GAMzBkB,GACTC,2BACFJ,cACYG,GAAmCF,gBAAeC"}
@@ -14,6 +14,7 @@ class DocumentEditorComponent extends DocumentEditor {
14
14
  this.initRenderCalled = false;
15
15
  this.checkInjectedModules = true;
16
16
  this.statelessTemplateProps = null;
17
+ this.templateProps = null;
17
18
  this.immediateRender = true;
18
19
  this.portals = [];
19
20
  }
@@ -41,6 +42,7 @@ class DocumentEditorContainerComponent extends DocumentEditorContainer {
41
42
  this.initRenderCalled = false;
42
43
  this.checkInjectedModules = true;
43
44
  this.statelessTemplateProps = null;
45
+ this.templateProps = null;
44
46
  this.immediateRender = true;
45
47
  this.portals = [];
46
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-documenteditor.es2015.js","sources":["../src/es6/document-editor/documenteditor.component.js","../src/es6/document-editor-container/documenteditorcontainer.component.js"],"sourcesContent":["import * as React from 'react';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Document Editor Component\n * ```ts\n * <DocumentEditorComponent></DocumentEditorComponent>\n * ```\n */\nexport class DocumentEditorComponent extends DocumentEditor {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(DocumentEditorComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Document Editor Container\n * ```ts\n * <DocumentEditorContainer></DocumentEditorContainer>\n * ```\n */\nexport class DocumentEditorContainerComponent extends DocumentEditorContainer {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(DocumentEditorContainerComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AAGA;;;;;;AAMA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;IACxD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,E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AAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,gCAAgC,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;;"}
1
+ {"version":3,"file":"ej2-react-documenteditor.es2015.js","sources":["../src/es6/document-editor/documenteditor.component.js","../src/es6/document-editor-container/documenteditorcontainer.component.js"],"sourcesContent":["import * as React from 'react';\nimport { DocumentEditor } from '@syncfusion/ej2-documenteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Document Editor Component\n * ```ts\n * <DocumentEditorComponent></DocumentEditorComponent>\n * ```\n */\nexport class DocumentEditorComponent extends DocumentEditor {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(DocumentEditorComponent, [ComponentBase, React.Component]);\n","import * as React from 'react';\nimport { DocumentEditorContainer } from '@syncfusion/ej2-documenteditor';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * Represents react Document Editor Container\n * ```ts\n * <DocumentEditorContainer></DocumentEditorContainer>\n * ```\n */\nexport class DocumentEditorContainerComponent extends DocumentEditorContainer {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = true;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(DocumentEditorContainerComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;AAGA;;;;;;AAMA,AAAO,MAAM,uBAAuB,SAAS,cAAc,CAAC;IACxD,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,uBAAuB,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;AC1BvE;;;;;;AAMA,AAAO,MAAM,gCAAgC,SAAS,uBAAuB,CAAC;IAC1E,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,sBAAsB,GAAG,IAAI,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,OAAOD,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;SAChH;KACJ;CACJ;AACD,WAAW,CAAC,gCAAgC,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-documenteditor@*",
3
- "_id": "@syncfusion/ej2-react-documenteditor@19.61.0",
3
+ "_id": "@syncfusion/ej2-react-documenteditor@21.1.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-3UdXKJ6qvPwHpbFeD4FepEV4EQX7swDwvsGlVxGJdb2FEBjasLlj2XoqcI7Jmeieg0EAFhf9wGPSbLg+BmNDWQ==",
5
+ "_integrity": "sha512-rsK9jw+1cBH//Uq8tgcI8ejcN96sheGSVfWpHQQ91t/wyx4vOpZICin3OQxU6mSPX5Rq09myigyXBfMVigdeDA==",
6
6
  "_location": "/@syncfusion/ej2-react-documenteditor",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-documenteditor/-/ej2-react-documenteditor-19.61.0.tgz",
23
- "_shasum": "a9bb81fa9f67d77656de6de6dfa21f13ac121105",
22
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-documenteditor/-/ej2-react-documenteditor-21.1.38.tgz",
23
+ "_shasum": "c9d34897a2c48f6b335869c7c5021781b714a97d",
24
24
  "_spec": "@syncfusion/ej2-react-documenteditor@*",
25
25
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
26
26
  "author": {
@@ -31,9 +31,9 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~21.1.37",
35
- "@syncfusion/ej2-documenteditor": "21.1.37",
36
- "@syncfusion/ej2-react-base": "~21.1.37"
34
+ "@syncfusion/ej2-base": "~21.1.39",
35
+ "@syncfusion/ej2-documenteditor": "21.1.39",
36
+ "@syncfusion/ej2-react-base": "~21.1.38"
37
37
  },
38
38
  "deprecated": false,
39
39
  "description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs. for React",
@@ -53,6 +53,6 @@
53
53
  "type": "git",
54
54
  "url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
55
55
  },
56
- "version": "21.1.37",
56
+ "version": "21.1.39",
57
57
  "sideEffects": false
58
58
  }
@@ -16,6 +16,7 @@ export declare class DocumentEditorComponent extends DocumentEditor {
16
16
  initRenderCalled: boolean;
17
17
  private checkInjectedModules;
18
18
  private statelessTemplateProps;
19
+ private templateProps;
19
20
  private immediateRender;
20
21
  props: Readonly<{
21
22
  children?: React.ReactNode | React.ReactNode[];
@@ -27,6 +27,7 @@ var DocumentEditorComponent = /** @class */ (function (_super) {
27
27
  _this.initRenderCalled = false;
28
28
  _this.checkInjectedModules = true;
29
29
  _this.statelessTemplateProps = null;
30
+ _this.templateProps = null;
30
31
  _this.immediateRender = true;
31
32
  _this.portals = [];
32
33
  return _this;
@@ -16,6 +16,7 @@ export declare class DocumentEditorContainerComponent extends DocumentEditorCont
16
16
  initRenderCalled: boolean;
17
17
  private checkInjectedModules;
18
18
  private statelessTemplateProps;
19
+ private templateProps;
19
20
  private immediateRender;
20
21
  props: Readonly<{
21
22
  children?: React.ReactNode | React.ReactNode[];
@@ -27,6 +27,7 @@ var DocumentEditorContainerComponent = /** @class */ (function (_super) {
27
27
  _this.initRenderCalled = false;
28
28
  _this.checkInjectedModules = true;
29
29
  _this.statelessTemplateProps = null;
30
+ _this.templateProps = null;
30
31
  _this.immediateRender = true;
31
32
  _this.portals = [];
32
33
  return _this;