@syncfusion/ej2-react-documenteditor 21.1.35 → 21.1.38
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 +27 -0
- package/dist/ej2-react-documenteditor.min.js +2 -2
- package/dist/ej2-react-documenteditor.umd.min.js +2 -2
- package/dist/ej2-react-documenteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-documenteditor.es2015.js +2 -0
- package/dist/es6/ej2-react-documenteditor.es2015.js.map +1 -1
- package/package.json +8 -8
- package/src/document-editor/documenteditor.component.d.ts +1 -0
- package/src/document-editor/documenteditor.component.js +1 -0
- package/src/document-editor-container/documenteditorcontainer.component.d.ts +1 -0
- package/src/document-editor-container/documenteditorcontainer.component.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,33 @@
|
|
|
4
4
|
|
|
5
5
|
### Document Editor
|
|
6
6
|
|
|
7
|
+
#### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- `#SF-440282` - Resolved an error while trying to change font for whole document.
|
|
10
|
+
- `#SF-441499` - Resolved the script error while opening Document.
|
|
11
|
+
- `#SF-438842` - Header/Footer area are now resized based on the inserted image.
|
|
12
|
+
- `#SF-441437` - Resolved the dropdown form field items expanding issue.
|
|
13
|
+
|
|
14
|
+
#### New Features
|
|
15
|
+
|
|
16
|
+
- `#I418721` - Added API to auto resize when the Document editor became visible.
|
|
17
|
+
|
|
18
|
+
## 21.1.37 (2023-03-29)
|
|
19
|
+
|
|
20
|
+
### Document Editor
|
|
21
|
+
|
|
22
|
+
#### Bug Fixes
|
|
23
|
+
|
|
24
|
+
- `#I438125` - Resolved the header issue when editing in different section format.
|
|
25
|
+
- `#I439280` - Selection is now working properly in the paragraph with indentation.
|
|
26
|
+
- `#I436536`, `#I435119` - Table and paragraph is not overlapped while loading the attached document.
|
|
27
|
+
- `#I436445` - Resolved the overlapping issue while opening the document.
|
|
28
|
+
- `#I446019` - Resolved the issue in opening "Dotx" format document.
|
|
29
|
+
|
|
30
|
+
## 21.1.35 (2023-03-23)
|
|
31
|
+
|
|
32
|
+
### Document Editor
|
|
33
|
+
|
|
7
34
|
#### Breaking Changes
|
|
8
35
|
|
|
9
36
|
- 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).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-documenteditor.min.js
|
|
3
|
-
* version : 21.1.
|
|
3
|
+
* version : 21.1.38
|
|
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.
|
|
3
|
+
* version : 21.1.38
|
|
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,
|
|
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,SAAU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AcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,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,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;;
|
|
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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-1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-react-documenteditor@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-react-documenteditor@
|
|
3
|
+
"_id": "@syncfusion/ej2-react-documenteditor@21.1.37",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-goLUwoQDkjZ3C8GE3AXvy7XGsh0bHQJHL1LH6mICEqB6dUXYUJqA+y056YQriZe9P0goW5EvI8/lTxMHNCaXzQ==",
|
|
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-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-documenteditor/-/ej2-react-documenteditor-21.1.37.tgz",
|
|
23
|
+
"_shasum": "ed9043502606e61de8bf212b924b39bc8cd12c10",
|
|
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.
|
|
35
|
-
"@syncfusion/ej2-documenteditor": "21.1.
|
|
36
|
-
"@syncfusion/ej2-react-base": "~21.1.
|
|
34
|
+
"@syncfusion/ej2-base": "~21.1.38",
|
|
35
|
+
"@syncfusion/ej2-documenteditor": "21.1.38",
|
|
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.
|
|
56
|
+
"version": "21.1.38",
|
|
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;
|